diff options
Diffstat (limited to 'Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-theoremfmt.html')
-rw-r--r-- | Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-theoremfmt.html | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-theoremfmt.html b/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-theoremfmt.html new file mode 100644 index 00000000000..ec873f2af47 --- /dev/null +++ b/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-theoremfmt.html @@ -0,0 +1,29 @@ +<head> +<title>UK TeX FAQ -- question label theoremfmt</title> +</head><body> +<h3>Theorem bodies printed in a roman font</h3> +<p/>If you want to take advantage of the powerful <code>\</code><code>newtheorem</code> command +without the constraint that the contents of the theorem is in a sloped +font (for example, you may want to use it to create remarks, examples, proofs, +...) then you can use the AMSLaTeX <i>amsthm</i> package +(which now supersedes the <i>theorem</i> package previously +recommended in these answers). +Alternatively, the following sets up an environment +<code>remark</code> whose content is in the default roman font. +<blockquote> + +<pre> +\newtheorem{preremark}{Remark} +\newenvironment{remark}% + {\begin{preremark}\upshape}{\end{preremark}} +</pre> +</blockquote><p> +The <i>ntheorem</i> package provides control of the fonts used by +theorems, directly. +<dl> +<dt><tt><i>amsthm.sty</i></tt><dd>Distributed as part of <a href="ftp://cam.ctan.org/tex-archive/macros/latex/required/amslatex.zip">macros/latex/required/amslatex</a> (<a href="ftp://cam.ctan.org/tex-archive/macros/latex/required/amslatex.tar.gz">gzipped tar</a>, <a href="http://www.tex.ac.uk/tex-archive/macros/latex/required/amslatex/">browse</a>) +<dt><tt><i>ntheorem.sty</i></tt><dd><a href="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/ntheorem.zip">macros/latex/contrib/ntheorem</a> (<a href="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/ntheorem.tar.gz">gzipped tar</a>, <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/ntheorem/">browse</a>) +<dt><tt><i>theorem.sty</i></tt><dd>Distributed as part of <a href="ftp://cam.ctan.org/tex-archive/macros/latex/required/tools.zip">macros/latex/required/tools</a> (<a href="ftp://cam.ctan.org/tex-archive/macros/latex/required/tools.tar.gz">gzipped tar</a>, <a href="http://www.tex.ac.uk/tex-archive/macros/latex/required/tools/">browse</a>) +</dl> +<p/><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=theoremfmt">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=theoremfmt</a> +</body> |