Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
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
-3\,i\pi
{\it Total\_profit}\,{\it Rate}
{\frac {\Gamma \left( x \right) }{\gamma}}+{\frac {\psi}{\beta}}
See Also
latex, latex/functions
Download Help Document