I'd like to know how to skip a line after a theorem declaration. The code below does what I want, but with an extra dot after the theorem declaration.
Code: Select all
\newtheorem{teo}{Theorem}
\begin{teo}
.\\
Some text here.
\end{teo}
Thanks,
Code: Select all
\newtheorem{teo}{Theorem}
\begin{teo}
.\\
Some text here.
\end{teo}
NEW: TikZ book now 40% off at Amazon.com for a short time.
Code: Select all
\documentclass{article}
\usepackage{amsthm}
\newtheoremstyle{mystyle}%
{3pt}%
{3pt}%
{\itshape}%
{}
{\bfseries}
{.}
{\newline}%
{}%
\theoremstyle{mystyle}
\newtheorem{teo}{Theorem}
\begin{document}
\begin{teo}
The body of the theorem.
\end{teo}
\end{document}
gmedina wrote:Hi,
with the help of the amsthm package you could define a new style for theorem-like environments that behaves as desired. Take a look at the following simple example:
...
Of course, feel free to adapt the example to suit your needs. Please refer to the package documentation for further information.
NEW: TikZ book now 40% off at Amazon.com for a short time.