\newtheorem
\newtheorem{env_name}{caption}[within]
\newtheorem{env_name}[numbered_like]{caption}
This command defines a theorem-like environment.
\newtheorem{jmeno}{hlavicka}[within]
\newtheorem{jmeno}[numbered_like]{hlavicka}
Tento prikaz definuje ________ prostredi.
- env_name The name of the environment -- a string of letters.
Must not be the name of an existing environment or counter.
- caption The text printed at the beginning of the environment,
right before the number.
- within The name of an already defined counter, usually of a
sectional unit. Provides a means of resetting the new theorem
counter within the sectional unit.
- numbered_like The name of an already defined theorem-like
environment.
The \newtheorem command may have at most one optional argument.
- jmeno - jmeno prostredi - retezec pismen.
Nemusi odpovidat zadnemu z existujicich prostredi nebo citacu.
- hlavicka - text, ktery se vysazi uplne na zacatku prostredi,
jeste pred cislem.
- within - jmeno uz existujiciho citace, obvykle citace nektere sekce.
Umoznuje resetovani noveho prikazoveho citace v sekci.
- numbered_like - jmeno nejakeho uz existujiciho _________ prostredi.
Prikaz \newtheorem muze mit maximalne jeden nepovinny (volitelny) argument.