http://wiki.noordover.org, un wiki dont l'objectif est modeste : permettre d'écrire facilement, en vrac, à un rythme de sénateur, quelques trucs et astuces divers, pour ne pas les oublier et aider éventuellement d'autres personnes.

<texit info> author=MySelf title=MyTitle </texit>

Retour au Sommaire de la section du wiki relative à LaTeX

[[ LaTeX : des exemples ]]

Expressions diverses

Exemple 1

$$f_1(x) = -2 x^3 + x^2 -\dfrac{1}{3} -2 \times \ln(x) + \sqrt{x-2}$$


$$f_1(x) = -2 x^3 + x^2 -\dfrac{1}{3} -2 \times \ln(x) + \sqrt{x-2}$$

Exemple 2

$$\ds\int_{1}^{e} \left(2x+\dfrac{1}{x}\right) dx = \left[x^2+\ln(x)\right]_{1}^{e} = e^2$$


$$\ds\int_{1}^{e} \left(2x+\dfrac{1}{x}\right) dx = \left[x^2+\ln(x)\right]_{1}^{e} = e^2$$

Exemple 3

$$\ds\lim_{x\rightarrow 0} \frac{\sin(x)}{x}=1$$


$$\ds\lim_{x\rightarrow 0} \frac{\sin(x)}{x}=1$$

Exemple 4

$$S=\ds\sum_{k=1}^{n} k = 1 + 2 + 3 + \dots + (n-1) + n = \frac{n(n+1)}{2}$$


$$S=\ds\sum_{k=1}^{n} k = 1 + 2 + 3 + \dots + (n-1) + n = \frac{n(n+1)}{2}$$

Exemple 5

$$n!=\ds\prod_{k=1}^{n} k=1 \times 2 \times 3 \times \dots \times (n-1) \times n$$


$$n!=\ds\prod_{k=1}^{n} k=1 \times 2 \times 3 \times \dots \times (n-1) \times n$$

Environnements pmatrix et vmatrix

Exemple 1

$$M=\begin{pmatrix} 0 & 1 & 1\\ 1 & 0 & 1 \\ 1 & 1 & 0 \end{pmatrix}$$


$$M=\begin{pmatrix} 0 & 1 & 1\\ 1 & 0 & 1 \\ 1 & 1 & 0 \end{pmatrix}$$

Exemple 2

$$\det A = \begin{vmatrix}
a & b  \\
c & d \\
\end{vmatrix}
= a \times d - b \times c$$


$$\det A = \begin{vmatrix}
a & b  \\
c & d \\
\end{vmatrix}
= a \times d - b \times c$$

Environnement array

Exemple 1

$$\left\{ \begin{array}{l} 2x-y=-7 \\ 3x+4y=5 \end{array} \right.$$


$$\left\{ \begin{array}{l} 2x-y=-7 \\ 3x+4y=5 \end{array} \right.$$

Exemple 2

$$\begin{array}{l|rcl}
g : & \R & \longrightarrow & \R \\
  & x & \longmapsto & 4-x^2 \end{array}$$


$$\begin{array}{l|rcl}
g : & \R & \longrightarrow & \R \\
    & x & \longmapsto & 4-x^2 \end{array}$$

Exemple 3

$$\begin{array}{|c|c|c|c|}
\hline
16 & 3 & 2 & 13 \\
\hline
5 & 10 & 11 & 8 \\
\hline
9 & 6 & 7 & 12 \\
\hline
4 & 15 & 14 & 1 \\
\hline
\end{array}$$


$$\begin{array}{|c|c|c|c|}
\hline
16 & 3 & 2 & 13 \\
\hline
5 & 10 & 11 & 8 \\
\hline
9 & 6 & 7 & 12 \\
\hline
4 & 15 & 14 & 1 \\
\hline
\end{array}$$

Environnement tabular

Exemple 1

$$\begin{tabular}{|*{5}{c|}}
\hline
\backslashbox{$x$}{$y$} & 0 & 1 & 2 & 3 \\
\hline
0 & 0 & 1 & 2 & 3 \\
\hline
1 & 1 & 2 & 3 & 4 \\
\hline
2 & 2 & 3 & 4 & 5 \\
\hline
3 & 3 & 4 & 5 & 6 \\
\hline
\end{tabular}$$


$$\begin{tabular}{|*{5}{c|}}
\hline
\backslashbox{$x$}{$y$} & 0 & 1 & 2 & 3 \\
\hline
0 & 0 & 1 & 2 & 3 \\
\hline
1 & 1 & 2 & 3 & 4 \\
\hline
2 & 2 & 3 & 4 & 5 \\
\hline
3 & 3 & 4 & 5 & 6 \\
\hline
\end{tabular}$$


Outils personnels