C.a.R. > Documentation > LateX

 Syntax for LaTeX

C.a.R. uses HotEqn, a free, but not open sourced, software to display math. The syntax is a subset of LaTeX, a standard for mathematical texts.

To display LaTeX, use a text field, an alias for any object, or an expression description. In all these places, LaTeX is allowed. The code must be enclosed by $...$. E.g., you could name a point P subscript 1, setting its alias to $P_1$. Inside the LaTeX text %...% is allowed. The must be an expression, and will be replaced by the value of the expression.

This is a copy of the documentation of HotEqn.

Elements Code Syntax
Operators + - * / = < > # ~ ; : , !
Subscripts _<eqn>
Superscripts ^<eqn>
Fractions \frac<eqn numerator><eqn denominator>
Square Roots \sqrt[[<grp>]]<eqn>
Sums \sum[_<eqn lower limit>][^<eqn upper limit>]
Products \prod[_<eqn lower limit>][^<eqn upper limit>]
Integrals \int[_<eqn lower limit>][^<eqn upper limit>]
\oint[_<
eqn lower limit>][^<eqn upper limit>]
Accents
\acute<eqn>
\bar<eqn>
\dot<eqn>
\ddot<eqn>
\grave<eqn>
\hat<eqn>
\tilde<eqn>
\vec<eqn>
\widehat<eqn>
\widetilde<eqn>
Functions \arccos \arcsin \arctan \arg \cos \cosh \cot \coth \csc \def \deg \det \dim \exp \gcd \hom \ker \lg \ln \log \sec \sin \sinh \tan \tanh
\det[_<eqn limit>]
\gcd[_
<eqn limit>]
\inf[_
<eqn limit>]
\lim[_
<eqn limit>]
\liminf[_
<eqn limit>]
\limsup[_<eqn limit>]
\max[_
<eqn limit>]
\min[_
<eqn limit>]
\Pr[_
<eqn limit>]
\sup[_
<eqn limit>]
Brackets \left<char>
\right<char>
<char>
<char> :=  (  )  [  ]  {  }  |  \|  .(dot)  \langle  \rangle
Overline
Underline
\overline<eqn>
\underline<eqn>
Overbrace
Underbrace
\overbrace<eqn>[^<eqn>]
\underbrace<eqn>[_<eqn>]
Stackrel \stackrel<eqn upper><eqn lower>
Choose
Atop
{ <grp upper> \choose <grp lower>}
{ <grp upper> \atop <grp lower> }
Additional Space \quad \qquad \, \: \; \!
Arrays \begin{array}{<format>} <grp> [& <grp>][\\ <grp>[& <grp>]]\end{array}
\begin{eqnarray} <grp> [& <grp>][\\ <grp>[& <grp>]]\end{eqnarray}
\array{ <grp> [& <grp>][\\ <grp>[& <grp>]]}*)
Text \mbox{<text>}
Framebox \fbox<eqn>
Foreground
Background color
\fgcolor{ rrggbb }<eqn>*)
\bgcolor{ rrggbb }<eqn>*)
Greek symbols \alpha \beta \gamma \delta \epsilon \varepsilon \zeta \eta \theta \vartheta \iota \kappa \lambda \mu \nu \xi \pi \varpi \rho \varrho \sigma \varsigma \tau \upsilon \phi \varphi \chi \psi \omega
\Gamma \Delta \Theta \Lambda \Xi \Pi \Sigma \Upsilon \Phi \Psi \Omega
\sum \prod
Binary symbols \pm \mp \times \div \cdot \cdots \vdots \ldots \ddots \ast \star \dagger \ddagger \amalg \cap \cup \uplus \sqcap \sqcup \vee \wedge \setminus \wr \circ \bullet \diamond \lhd \rhd \unlhd \unrhd \oslash \odot \bigcirc \Box \Diamond \bigtriangleup \bigtriangledown \triangleleft \triangleright \oplus \ominus \otimes
Relationial symbols \le \leq \ll \subset \subseteq \sqsubset \sqsubseteq \in \vdash \models \ge \geq \gg \supset \supseteq \sqsupset \sqsupseteq \ni \dashv \perp \neq \doteq \approx \cong \equiv \propto \prec \preceq \parallel \sim \simeq \asymp \smile \frown \bowtie \succ \succeq \mid
Negation \not<eqn>
Arrows \leftarrow \gets \Leftarrow \rightharpoonup \rightarrow \to\rightharpoondown \Rightarrow \leadsto \leftrightarrow \uparrow \Leftrightarrow \Uparrow \mapsto \downarrow \Downarrow \leftharpoonup \updownarrow \leftharpoondown \Updownarrow \rightleftharpoons \nearrow \longleftarrow \searrow \Longleftarrow \swarrow \longrightarrow \nwarrow \Longrightarrow \longleftrightarrow \Longleftrightarrow \longmapsto \hookrightarrow \hookleftarrow
Other symbols \aleph \forall \hbar \exists \imath \neg \jmath \flat \ell \natural \wp \sharp \Re \angle \Im \backslash \mho \prime \emptyset \triangle \nabla \clubsuit \diamondsuit \partial \heartsuit \top \spadesuit \bot \Join \infty \Laplace \Fourier
Not in Latex \percent \dollar \promille \half \third \quarter \threequartes \twothirds \copyright \trademark \ampersand \paragraph \deltaop

The symbols not in LaTeX are from the Unicode symbol set. They will not work in LaTeX export.

C.a.R. > Documentation > LaTeX