next up previous contents index
Next: Simple TeX Commands Up: Pretty Output and Tex Previous: SetOutput[ optionlist,]   Contents   Index


NC enhancement of Mathematica's TeX settings

The Mathematica program provides a command called TeXForm which can be used to output your expression generated by Mathematica into TEX format. We have extended this facility to include basic NC constructs, by adding them via the file NCTeXForm.m. Examples of what this accomplishes are

tp[x] will have the TeX'ed form $ x^T$

aj[x] will have the TeX'ed form $ x^{*}$

rt[x] will have the TeX'ed form $ x^{1 \over 2}$

inv[x] will have the TeX'ed form $ x^{-1}$.


As you might guess if you want to add more its easy. To use this NCTeXForm.m must be loaded; thats all. These are used by NCAlgebra but not NCGB. NCGB $ TeX$ fonts are more advanced than those of NCAlgebra and they are stored in

NC/NCGB/MmmaSource/ToStringForTeX.m



NCAlgebra Project 2002-09-09