LaTeX Formatting Codes
By default when using the LaTeX command, you are in math mode and Thermo‑Calc automatically interprets the entered text as math. The above link uses the dollar sign ($) in all the examples but this is NOT required. For example, if you enter $E=mc^2$
this is displayed including the $ instead of the equation.
As of Thermo‑Calc 2015a the LTEXT text formatting is replaced by LaTeX. For existing users who may have plots and files that use the LTEXT format, and especially when using Console Mode, the following examples show the command changes from LTEXT and its LaTeX equivalent.
LTEXT vs LaTeX Commands for Labels
Symbol or text format | LTEXT | LaTeX |
---|---|---|
Subscripts in an axis text |
S-A-TEXT Y N Mole-fraction Al^DO2$O^DO3$ |
S-A-TEXT Y N \latex \textsf{Mole-fraction } Al_2O_3 |
Label with subscript |
add .13 .15 n c-ZrO^DO2$ |
add .13 .15 n \latex c-ZrO_2 |
Greek symbol |
ADD .05 .50 N ^GRd$ |
ADD .05 .50 N \latex \delta |