Vous êtes sur la page 1sur 5

LaTex

Many word processors / editors allow mathematical formulae to be entered


using a markup language called LaTex. Apple ‘Pages’ application allows
formulae to be entered using both LaTex and MathML markup. To enter a
formula in Pages you must bring up the formula editing window: ‘Insert’ ->
‘Equation’. Then enter the appropriate LaTex command from below. It will be
inserted at the current cursor location.

Here are some common examples.


Unfortunately you can’t change the formula font.

Formula LaTex Meaning


2
3
5 \sqrt[3]5^2 cube root of 5 squared

−22 ÷ 11 -22 \div 11 negative 22 divided by 11


53 \sqrt{53} square root of 53
3
674 \sqrt[3]{674} cube root of 674
5 \frac{5}{7} 5 divided by 7
7
1 \frac{1}{8^2} reciprocal of 8 squared
82
5
7 89 7\sqrt[5]{89} 7 times 5th root of 89
c2 = a2 + b2 c^2 = a^2 + b^2 c squared equals a squared
plus b squared

A⃗ \vec A vector A

an x n \sum_{\color{000000

n=0 }n=0}
^{\color{000000}\inf
ty}
a_n x^n
∑ \sum calculus

[c d]
a b \begin{bmatrix}a & b
\\c & d
\end{bmatrix}
\left(\frac{a^2} a squared divided by b cubed
( b3 )
a2
{b^3}\right)
1 1
x
+ y \frac{\frac{1}{x}+ (1 over x plus 1 over y)
y −z \frac{1}{y}}{y-z} divided by y minus z
∞ \infty
b
\int_{a}^{b}
∫a

lim \lim_{a \rightarrow limit from a to b


a→b
b}
↫↬ \looparrowleft\loopa
rrowright
△ \triangle
≦ \leqq less than or equal to
≤ \le less than or equal to
≧ \geqq greater than or equal to
≥ \ge greater than or equal to
≡ \equiv equivalent to
≠ \ne not equal to
∝ \propto is proportional to
∥ \parallel is parallel to
⊥ \perp is perpendicular to
/⊥ \not\perp is not perpendicular to
∦ \nparallel is not parallel to
϶ \backepsilon
∴ \therefore
∵ \because
◯ \bigcirc
±
\pm plus or minus
∙ \bullet
∡ \measuredangle
∠ \angle
≅ \cong is congruent to
∼ \sim is similar to
∇ \nabla del’ differential operator
AB \overline{\rm AB} line AB
⟺ \iff if and only if
π \pi
∂ \partial partial derivative
∞ \infty
θ \theta
ℝ \mathbb{R} the set of real numbers
ℚ \mathbb{Q} the set of rational numbers
ℤ \mathbb{Z} the set of integers
SVG Formulae
Here are some formulae used in SVG / JavaScript coding.

Convert degrees to radians:

Javascript LaTex Output


π
function deg2rad(deg) {
degree * \frac{\pi}{180} degree *
return deg * Math.PI / 180
180
}
Convert radians to degrees
function rad2deg(rad) {
return rad * 180 / radian * \frac{180}{\pi} 180
radian *

Math.PI π
}
Find length of a line
function
distL(x1,y1,x2,y2) {
var x = x2 − x1
var dx=x2-x1;
var y = y2 − y1
var dy=y2-y1;

return d x 2 + dy 2
Math.sqrt(dx*dx +
dy*dy); \sqrt{dx^2 + dy^2}
}
Here \thickspace is
\thickspace a Here is a RED thickspace
\thickspace \color{red}
\thickspace thickspace
⎰ ⎱ at 50pt !
\lmoustache\thickspace\
rmoustache

Web resources for Pages & LaTex

https://discussions.apple.com/thread/8031093
https://support.apple.com/en-us/HT202501
https://en.wikipedia.org/wiki/LaTeX

https://www.tutorialspoint.com/online_latex_editor.php
https://oeis.org/wiki/List_of_LaTeX_mathematical_symbols

Vous aimerez peut-être aussi