[OS X TeX] Named theorem
Themis Matsoukas
matsoukas at psu.edu
Fri Jul 28 02:28:50 CEST 2006
On Jul 27, 2006, at 7:53 PM, Alain Schremmer wrote:
> From page 139, Companion 2ed,
>
> \usepackage{amsthm}
> \theoremstyle{definition}
> \newtheorem{thm}{Theorem}
>
> \begin{thm}
> a theorem
> \end{thm}
>
> \begin{thm}[Schremmer]
> This is it theorem
> \end{thm}
>
> \begin{thm}
> another theorem
> \end{thm}
>
> should do it but when I try, (Schremmer) is not boldfaced like
> Theorem 2 as it is in the Companion.
1. Remove \usepackage{amsthm} and \theoremstyle{definition}, and
you'll get what you want. This will cause the theorem to be
italicized but you can correct this by starting it with \em.
or
2. keep your packages but say \begin{thm}[\textbf{Schremmer}] to get
Schremmer in boldface.
Themis
------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
& FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
More information about the macostex-archives
mailing list