22.07.2013 Views

ntheorem.pdf. - Mirrors.med.harvard.edu

ntheorem.pdf. - Mirrors.med.harvard.edu

ntheorem.pdf. - Mirrors.med.harvard.edu

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

\usepackage[<strong>ntheorem</strong>]{empheq} % this loads amsmath as well<br />

\usepackage[thmmarks,amsmath]{<strong>ntheorem</strong>}<br />

Note that empheq provides an enhanced vertical placement of the endmarks<br />

(see the paragraph on <strong>ntheorem</strong> in the documentation of the empheq package)<br />

in math environments.<br />

4 Examples<br />

The setting is as follows.<br />

• For Theorems:<br />

\theoremstyle{marginbreak}<br />

\theoremheaderfont{\normalfont\bfseries}\theorembodyfont{\slshape}<br />

\theoremsymbol{\ensuremath{\diamondsuit}}<br />

\theoremseparator{:}<br />

\newtheorem{Theorem}{Theorem}<br />

• For Lemmas:<br />

\theoremstyle{changebreak}<br />

\theoremsymbol{\ensuremath{\heartsuit}}<br />

\theoremindent0.5cm<br />

\theoremnumbering{greek}<br />

\newtheorem{Lemma}{Lemma}<br />

• For Corollaries:<br />

\theoremindent0cm<br />

\theoremsymbol{\ensuremath{\spadesuit}}<br />

\theoremnumbering{arabic}<br />

\newtheorem{Corollary}[Theorem]{Corollary}<br />

• For Examples:<br />

\theoremstyle{change}<br />

\theorembodyfont{\upshape}<br />

\theoremsymbol{\ensuremath{\ast}}<br />

\theoremseparator{}<br />

\newtheorem{Example}{Example}<br />

• For Definitions:<br />

\theoremstyle{plain}<br />

\theoremsymbol{\ensuremath{\clubsuit}}<br />

\theoremseparator{.}<br />

\theoremprework{\bigskip\hrule}<br />

\theorempostwork{\hrule\bigskip}<br />

\newtheorem{Definition}{Definition}<br />

17

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!