LaTeX/Basics : Différence entre versions
(Page créée avec « {{LaTeX/Usage|code= \documentclass{article} \begin{document} Hello world! \end{document} }} <source lang="latex"> \begin{document} Voici la fonction $\sin x$, la foncti... ») |
|||
| Ligne 21 : | Ligne 21 : | ||
et la fonction tangente <math>\tan (x)</math>… | et la fonction tangente <math>\tan (x)</math>… | ||
{{fin cadre}} | {{fin cadre}} | ||
| + | |||
| + | |||
| + | ===Spaces=== | ||
| + | |||
| + | "Whitespace" characters, such as blank or tab, are treated uniformly as "space" by LaTeX. Several consecutive whitespace characters are treated as one "space". Whitespace at the start of a line is generally ignored, and a single line break is treated as “whitespace.” An empty line between two lines of text defines the end of a paragraph. Several empty lines are treated the same as one empty line. The text below is an example. On the left hand side is the text from the input file, and on the right hand side is the formatted output. | ||
| + | |||
| + | {{LaTeX/Example|code= | ||
| + | It does not matter whether you | ||
| + | enter one or several spaces | ||
| + | after a word. | ||
| + | |||
| + | An empty line starts a new | ||
| + | paragraph. | ||
| + | |render=It does not matter whether you enter one or several spaces after a word. | ||
| + | |||
| + | An empty line starts a new paragraph. | ||
| + | }} | ||
Version du 14 avril 2011 à 12:19
|
\documentclass{article} |
\begin{document} Voici la fonction $\sin x$, la fonction \[\cos x=\sum_{k=0}^{\infty}\frac{(-1)^k}{(2k)!}x^{2k}\] et la fonction $\tan (x)$\ldots \end{document}
va donner le résultat suivant :
Voici la fonction
, la fonction

et la fonction tangente
…
Spaces
"Whitespace" characters, such as blank or tab, are treated uniformly as "space" by LaTeX. Several consecutive whitespace characters are treated as one "space". Whitespace at the start of a line is generally ignored, and a single line break is treated as “whitespace.” An empty line between two lines of text defines the end of a paragraph. Several empty lines are treated the same as one empty line. The text below is an example. On the left hand side is the text from the input file, and on the right hand side is the formatted output.
|
It does not matter whether you |
It does not matter whether you enter one or several spaces after a word. An empty line starts a new paragraph. |