summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/fonts/scholax/scholax-doc.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/fonts/scholax/scholax-doc.tex')
-rw-r--r--Master/texmf-dist/doc/fonts/scholax/scholax-doc.tex35
1 files changed, 19 insertions, 16 deletions
diff --git a/Master/texmf-dist/doc/fonts/scholax/scholax-doc.tex b/Master/texmf-dist/doc/fonts/scholax/scholax-doc.tex
index ffb3d1fc06f..9ae02ce3707 100644
--- a/Master/texmf-dist/doc/fonts/scholax/scholax-doc.tex
+++ b/Master/texmf-dist/doc/fonts/scholax/scholax-doc.tex
@@ -68,7 +68,7 @@ Slanted and Bold Slanted styles are provided in addition to the basic Regular, B
{\tt scaled, scale:}\\
Rescales every font in the package. E.g.,
\begin{verbatim}
-\usepackage[scaled=1.15}{scholax}
+\usepackage[scaled=1.15]{scholax}
\end{verbatim}
scales everything up by 15\%.
@@ -88,31 +88,34 @@ This option makes use of a new text font family, {\tt thfamily}, amounting to It
There are two ways to make use of \verb|\thfamily| for body text in theorem-like text.
\begin{itemize}
\item
-\textbf{(for {\tt amsthm} only)}---add the option {\tt theoremfont} to {\tt scholax}, which will patch the \verb|\th@plain| command which stores the definition of the plain theorem format, replacing \verb|\itshape| by \verb|\thfamily|. Then, in your document preamble, make the usual theorem specifications, like
+\textbf{(for {\tt amsthm} and {\tt theorem} only)}---add the option {\tt theoremfont} to {\tt scholax}, which will patch the \verb|\th@plain| command which stores the definition of the plain theorem format, replacing \verb|\itshape| by \verb|\thfamily|. Then, in your document preamble, make the usual theorem specifications, like
\begin{verbatim}
\theoremstyle{plain}
\newtheorem{thm}{Theorem}[section]
+etc
\end{verbatim}
\item
-In your document preamble, make a new definition of the plain theorem format. For {\tt amsthm}, this would be like
-\begin{verbatim}
-\newtheoremstyle{plain}
- {\medskipamount} % ABOVESPACE
- {\medskipamount} % BELOWSPACE
- {\thfamily} % BODYFONT <<<<<<<<<NOTE THE CHANGE FROM \itshape
- {} % INDENT (empty value is the same as 0pt)
- {\bfseries} % HEADFONT
- {.} % HEADPUNCT
- {5pt plus 1pt minus 1pt} % HEADSPACE
- {} % CUSTOM-HEAD-SPEC
-\end{verbatim}
-and then proceed as above with
+\textbf{(for {\tt ntheorem} only)} The {\tt theoremfont} option has no effect but will cause no harm.
+%\begin{verbatim}
+%\newtheoremstyle{plain}
+% {\medskipamount} % ABOVESPACE
+% {\medskipamount} % BELOWSPACE
+% {\thfamily} % BODYFONT <<<<<<<<<NOTE THE CHANGE FROM \itshape
+% {} % INDENT (empty value is the same as 0pt)
+% {\bfseries} % HEADFONT
+% {.} % HEADPUNCT
+% {5pt plus 1pt minus 1pt} % HEADSPACE
+% {} % CUSTOM-HEAD-SPEC
+%\end{verbatim}
+Simply replace the theorem specifications described above for the {\tt plain} theorem style with
\begin{verbatim}
\theoremstyle{plain}
+\theorembodyfont{\thfamily}
\newtheorem{thm}{Theorem}[section]
+etc
\end{verbatim}
-If you are using another theorem package (e.g., {\tt ntheorem, theorem}) you will have instead to to add your own descriptors as specified in the its documentation and set the body font to \verb|\thfamily|. The {\tt theoremfont} option is useless in this case.
\end{itemize}
+
After doing this, you should get output like this:
\begin{thm}