Math Formulas

Matematicke Vyrazy


There are three environments that put LaTeX in math mode: math, displaymath, and equation. The math environment is for formulas that appear right in the text. The displaymath environment is for formulas that appear on their own line. The equation environment is the same as the displaymath environment except that it adds an equation number in the right margin.

Jsou tri prostredi, ve kterych LaTeX nastavi matematicky mod: math, displaymath, a equation. Prostredi math je vhodne pro vkladani matematickych vyrazu do textu. Prostredi displaymath je pro vyrazy, ktere budou mit svuj vlastni radek. Prostredi equation je v podstate stejne jako displaymath, ale navic vyrazy postupne cisluje (na pravem okraji.

The math environment can be used in both paragraph and LR mode, but the displaymath and equation environments can be used only in paragraph mode. The math and displaymath environments are used so often that they have the following short forms:

Prostredi math lze pouzit jak v obou odstavcovych modech, tak i v LR modu; narozdil od prostredi displaymath a equation, ktera mohou byt pouzita jen v odstavcovych modech. Castsji se pouzivaji prostredi math a displaymath, protoze je lze zapsat zkracenou formou:

\(...\) instead of \begin{math}...\end{math}
\[...\] instead of \begin{displaymath}...\end{displaymath} \(...\) misto \begin{math}...\end{math}
\[...\] misto \begin{displaymath}...\end{displaymath}

In fact, the math environment is so common that it has an even shorter form:

$ ... $ instead of \(...\)

Prostredi math ma jeste kratsi zapis:

$ ... $ misto \(...\)

Subtopics

Podtemata