Math & ScienceItemized List within a Theorem Environment

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
thedoctor818
Posts: 92
Joined: Fri Apr 24, 2009 8:02 pm

Itemized List within a Theorem Environment

Post by thedoctor818 »

Hello all,

I am typesetting some math notes, and have the following problem. I am using an itemized list within a theorem environment as follows:

Code: Select all

\begin{thm}
\begin{itemize}
\item $P \imp Q \equiv (\neg Q) \imp (\neg P).$
\item $P \imp Q \not \equiv Q \imp P.$
\end{itemize}
\end{thm}
However, every time I run LaTeX, I get the first item on the same line as the theorem title. I want the first item to be below the heorem title, but am not sure how to fix this. Help please. Thanks.
-Michael D

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

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

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Itemized List within a Theorem Environment

Post by localghost »

By now you should know that a proper minimal example is essential for instant help in such cases. Nobody is motivated to build one just to test possible solutions for your problem.


Thorsten
thedoctor818
Posts: 92
Joined: Fri Apr 24, 2009 8:02 pm

Itemized List within a Theorem Environment

Post by thedoctor818 »

Of course, Thorsten, you are absolutely correct. I must apologize for my lack of a MWE here--and my late posting as well. I have now a fix to the problem, for anyone else who may be interested--and I hope (and please correct me if I am wrong) that it fits the MWE ``model.''

Code: Select all

\documentclass[12pt,a4paper,oneside]{report}
\pagestyle{myheadings}
\usepackage{amsmath,amssymb,amscd,amsthm,amstext}

\newtheorem{thm}{Theorem}
\def	\imp	{\Rightarrow}

\begin{document}
\title{Real Analysis Notes.}
\author{The Doctor.}
\date{\today}
\maketitle

\begin{thm}
\begin{itemize}
\mbox{}
\item $P \imp Q \equiv (\neg Q) \imp (\neg P).$
\item $P \imp Q \not \equiv Q \imp P.$
\end{itemize}
\end{thm}

\end{document}
Merely the ``addition'' of the \mbox was sufficient enough to move the first line of the statement of the theorem to the line below the ``actual'' numbering of said theorem. Again, I apologize for not following this rule here, and hope to do better in future when asking for help.

-MD
-Michael D
]leo[
Posts: 1
Joined: Thu Mar 26, 2015 5:06 pm

Itemized List within a Theorem Environment

Post by ]leo[ »

Another solution is to put an \hfill right after the beginning of the theorem like environment:

Code: Select all

\documentclass[12pt,a4paper,oneside]{report}
\pagestyle{myheadings}
\usepackage{amsmath,amssymb,amscd,amsthm,amstext}

\newtheorem{thm}{Theorem}
\def    \imp    {\Rightarrow}

\begin{document}
\title{Real Analysis Notes.}
\author{The Doctor.}
\date{\today}
\maketitle

\begin{thm}
\hfill
\begin{itemize}
\item $P \imp Q \equiv (\neg Q) \imp (\neg P).$
\item $P \imp Q \not \equiv Q \imp P.$
\end{itemize}
\end{thm}

\end{document}
Post Reply