[OS X TeX] Named theorem

Victor Ivrii vivrii at gmail.com
Thu Jul 27 21:20:18 EDT 2006


On 7/27/06, Themis Matsoukas <matsoukas at psu.edu> wrote:
> 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.

Nothing is wrong with amtthm; however it knows three theorestyles:

{plain} boldface header, slanted body

{definition} boldface header, roman body

{remark} slanted header, roman body

If it is not enough replace amsthm by ntheorem


>
> or
>
> 2. keep your packages but say \begin{thm}[\textbf{Schremmer}] to get
> Schremmer in boldface.

This would put . (dot) after theorem' number which is not wanted.





-- 
========================
Victor Ivrii, Department of Mathematics, University of Toronto
------------------------- 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 MacOSX-TeX mailing list