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}Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
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.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis