TexAct: Tex code to format xAct expressions
Authors: Thomas Bäckdahl, José M. Martín-García and Barry Wardell, © 2008-2015 under GPL
The TexAct package produces nice TeX code for tensor expressions.
For any given tensor expression, the command TexPrint produces a single
string with tensors, indices, derivatives, etc formatted as you would write them
in an article. A second command TexBreak allows breaking this string in various lines in a highly flexible way.
From version 0.3.3 this function can also make line-breaks according to the lengths of the actual typeset expressions.
Lists of equations can be typeset with automatic line breaking and alignment. Also new in version 0.3.3 is TexView
that can typeset and display expressions with just one function call.
Formatting of any new expression can
be easily added by defining the corresponding TeX format.
Currently TexAct can format everything in the xTensor and SymManipulator
packages, and will be extended in the future to format objects in other packages.
Download and installation
Current version: 0.3.7 (as of 23 August 2015). It is recommended to download the main xAct bundle, but you can also download the different files separately:
- TexAct.nb: source file with all definitions and comments. Many examples. You need this file if you want to understand and/or modify the internals of the package.
- TexAct.m: package file. This file is automatically generated by Mathematica when TexAct.nb is saved. This is the only essential file.
- TexActDoc.nb: main documentation file. Under construction.
- General Public License
See the Installation notes.