How latex Formats Names - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Programming : Input and Output : Translation : LaTeX : latex/names

How latex Formats Names

Description

• 

When latex processes a Maple object of type string it makes various tests to see if special processing is desirable.  This allows LaTeX to produce standard mathematical output in most situations.

• 

On encountering a string, latex first tests to see if the given string refers to an entry in the table latex/special_names.  If so, that entry's value is used. This is how I is converted to i, Pi to  pi, and so forth.

• 

Next, latex checks to see if the given string is contained in the set latex/greek.  If it is, then a backslash is prepended to its value. This allows names like "alpha" and "beta" to be printed as Greek symbols.

• 

Then, latex checks to see if the given string is contained in the set latex/mathops.  If it is, then a backslash is prepended to its value. This allows function names like "log" and "cos" to be printed correctly without further processing.

• 

The fonts used by latex are controlled by two variables: latex/csname_font, which is initially set to \it, and latex/verbatim_font, which is initially set to \tt. The former is used for printing multi-character strings that do not require back-quoting; the latter is used for those strings that do.

• 

The latex command searches for special function formatting rules before it searches for special name formatting rules.  See latex/functions for more information.

Examples

latex3πI

-3\,i\pi

latexTotal_profitRate

{\it Total\_profit}\,{\it Rate}

latexΓxγ+ψβ

{\frac {\Gamma  \left( x \right) }{\gamma}}+{\frac {\psi}{\beta}}

See Also

latex, latex/functions


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam