0% found this document useful (0 votes)
46 views4 pages

LaTeX Math Commands

This document provides an overview of LaTeX math commands used to display mathematical equations and symbols. It lists common commands for fractions, exponents, subscripts, square roots, brackets, and other symbols. It also discusses using character entity references for symbols not available on a standard keyboard in HTML.

Uploaded by

spectramind07
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
46 views4 pages

LaTeX Math Commands

This document provides an overview of LaTeX math commands used to display mathematical equations and symbols. It lists common commands for fractions, exponents, subscripts, square roots, brackets, and other symbols. It also discusses using character entity references for symbols not available on a standard keyboard in HTML.

Uploaded by

spectramind07
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

LaTeX Math Commands used

Display Latex Command

To display any math equation, start the equation with \(


and end match equation with \)
\( math equation \)
Spaces between \( and \) have no meaning, so any
number of spaces can be inserted.

Fraction, a by b \frac{a}{b}

Raise to, a raised to b {a}^{b}

Subscript, if 1 needs to be subscript _{1}

Square-root of p \sqrt{p}

n-th root of p \sqrt[n]{p}

Brackets ( … ) \left( … \right)

Braces { … } \left{ … \right}

Square brackets [ … ] \left[ … \right]

Mod |x| \vert| x \vert|

Sigma ∑ \sum

Plus minus ± \pm

Multiplication sign × \times

Division sign ÷ \div

Not equal to \neq

Greater than or equal to ≥ \geq

Less than or equal to ≤ \leq

Parallel ∥ \parallel

Perpendicular \perp
Intersection ⋂ \cap

Union ∪ \cup

Right Arrow ⇒ \Rightarrow

⇔ \Leftrightarrow

Infinity ∞ \infty

cos, sin \cos, \sin

log \log

Log of a to the base b \log_{b}{a}

Alpha, beta \alpha, \beta

To insert space within an equation, space bar will not


work, spaces have no meaning/effect. Thus, to insert a \;
space, the command is backslash semi-colon.
When you need to type a ‘text phrase’ within a
equation, if you just type it, it will be displayed in italics. \text{type text here}
To display a pure text, within an equation use …
All the above commands can be nested within each other to form complex
equations.
To use commands and learn more usage, you may also use Interactive Latex
Editor at https://arachnoid.com/latex/
To learn more advanced commands like writing of a Matrix, use online resources.

NOTE:
Use LaTeX Math Commands ONLY for equations and NOT for individual
characters e.g. …
… if you need to type ab, then DON’T use \({a}^{b}\). Instead make use of
keyboard superscript and/or subscript.
… if you just need to type 𝛼, DON’T use \(\alpha\), u
… for quadratic, ax2 + bx + c, DON’T use \({ax}^{2} + bx + c\) because a
quadratic can be typed easily without LaTeX.
Use LaTeX Math Commands only when you cannot write the equation
using standard keyboard usage.

NOTE2:
In HTML, sometimes you will need to type symbols that are not available
on keyboard, e,g, ±, ∞, 𝛼, △, ∅, θ, etc. Even simple multiplication sign, × ,
is actually different that letter x.
The best way to type such individual symbols in any HTML document (that
which will be displayed by a browser) is to use Character Entity Reference
available at https://dev.w3.org/html5/html-author/charref
Only a selected few are needed, which can easily be mastered ….

Character HTML Entity

Multiplication sign, × ×

Radical sign, √ √

Plus Minus, ± ±


Alpha, 𝛼 α
Division sign, ÷ ÷
Triangle, △ ▵

Summation sign, ∑ σ


Theta, θ θ
Degree ° °
Perpendicular &
Wider minus sign, – –

Right arrow ➝ →

Implies ⇒
Angle ∠ ∠
Therefore ∴
Because ∵
Less Than equal to, ≤ ≤
Greater than equal to, ≥ ≥
For complete list, refer to: https://dev.w3.org/html5/html-author/charref
This page can be searched by ‘Character Entity Reference’ in google.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy