summaryrefslogtreecommitdiff
path: root/info/ptex-manual/ptex-manual.sty
diff options
context:
space:
mode:
Diffstat (limited to 'info/ptex-manual/ptex-manual.sty')
-rw-r--r--info/ptex-manual/ptex-manual.sty4
1 files changed, 3 insertions, 1 deletions
diff --git a/info/ptex-manual/ptex-manual.sty b/info/ptex-manual/ptex-manual.sty
index 686d10998e..10b527e921 100644
--- a/info/ptex-manual/ptex-manual.sty
+++ b/info/ptex-manual/ptex-manual.sty
@@ -19,7 +19,8 @@
\leavevmode\par\nopagebreak}
}{}
-\def\emph#1{{\bfseries\sffamily\gtfamily\mathversion{bold}#1}}
+\let\origemph=\emph
+\def\emph#1{{\bfseries\sffamily\gtfamily\selectfont\mathversion{bold}#1}}
\def\paragraph#1{\par\medskip\par\noindent\emph{■#1}\par\nobreak}
\def\Pkg#1{\textsf{#1}}
@@ -115,6 +116,7 @@
\bigskipamount=\baselineskip
\medskipamount=.5\baselineskip
\smallskipamount=.25\baselineskip
+ \clubpenalty=10000 \widowpenalty=9999
\divide\@tempdima by\dimexpr1zw\relax\@tempcnta=\@tempdima
\leftskip=\dimexpr\textwidth-\@tempcnta zw\relax
\@totalleftmargin\dimexpr\leftskip+0zw