# Math Test

# 1Limit

A limit:
limx→ ∞f(x),
which should appear as x→ ∞ in italics, and «lim» in plain style. Inlined: limx→ ∞f(x).
And why not, a sum:
∑∞i= 1x,
where the sum’s limits should appear below (i= 1) and above (∞) the ∑. Inlined: ∑∞i= 1x. Integral: ∫∞i= 1x.

# 2Numeration

Equations can be numbered, like 1↓.
(1) y=x
And also like 2↓.
(2) x= 3
Notice that eq. 2↑ comes after eq. 1↑.
Some equations can also be numbered, even if they don’t have a label.
(3) x= 2y
Other equations that contain * should not numbered, but perhaps aligned:

left |  | right

Some environments allow for multiple labels:

(4) a | = | b×c
(5) c×d×e | = | i.

Now a random environment:

x

y.

# 3Parentheses

Some delimiters also taken from the Spanish Lyx User’s Guide. An array:
[

12 | 2
3 | 4 ×yx

]
And an inline array [

a | b
c | dio

].
There are also big brackets: (a) [b] {c} ⟨d⟩ |e| ⟨f⟩.
Aligned brackets can be present: (toText). One of them may be omitted: toText).

# 4Fraction

A big recursive fraction:
1(1 +(11 +(11 + 2x)))
A nice fraction: 5⁄6.
A non-diminishing fraction containing alignments:
11 +(11 +x×11 +x).
A similar concept is a binomial coefficient: (A+ 1B). It can be prettily presented:
(AB+ 1).

# 5Roots

A square root: √3. A more complex square root in a fraction:
1(1 +√2(11 +√2)+√12).
Higher order roots: 3√x+y, x+ 1√Weight. In a fraction:
7⁄8√84xs+ 5√(78x+ 45y) ×√Heightsin(x+ 1)+ 5.

# 6Decorations

## 6.1Cases

Used to switch several values.
y=

x | i= 0,
x+ 1 | i< 3

## 6.2Braces

Values can be underbraced or overbraced.
a−b=c+d+e+f.
Underbraces and overbraces can contain text.
a−bover=c+d+eover+funder+g.
They can also be inlined: a+bover.

# 7Spacing

The command `\raisebox` is useful to, surprisingly, raise a little box.
raisedoverloweredand back.
It can also be used just for spacing.
BV.
There are other spacing commands, like `\hspace`: " ", and `\vspace`: " ".

# 8Fonts

Fonts can be switched on and off.
By default, text in formulae is shown italicized. Variable: meters.
Some font styles. Roman: 1mathrm. Sans serif: 2mathsf. Typewriter: 3`mathtt`. Bold: 4mathbf.
Regular text. Normal text: 5textfm. Literal text: 6mbox text. Phonetic alphabet: 7 abcde. Regular text can be embedded into formulae: regular text \command \another command \\no spaces allowed.
Units can be shown with or without a magnitude. Without: km. With: 57km. Fractional units: 20km⁄h. With a fraction before the units: 3⁄2km, 716s.
Some special fonts are supported: ℱ, F, 𝔽, 𝔉.

# 9Macros

Definitions can be added as macros. Then they can be used in formulae: √12. They can accept default parameters. Again, useful in formulae: 4√5.
Other definitions from the preamble can be used: 3√4.
Definitions on the fly are also possible: 7√8, and used with different values: a√b.

# 10Bye-bye

That’s all folks!