Changes to slatex.sty from PR 9657.
svn: r11087
This commit is contained in:
parent
2d042efe7a
commit
d72b44e9f7
|
@ -168,9 +168,15 @@
|
|||
% the following are the default font assignments for
|
||||
% words in code. Change them to suit personal taste
|
||||
|
||||
\def\keywordfont#1{{\bf #1}}
|
||||
\def\variablefont#1{{\it #1\/}}
|
||||
\def\constantfont#1{{\sf #1}}
|
||||
\ifusinglatex
|
||||
\def\keywordfont#1{{\bfseries #1}}
|
||||
\def\variablefont#1{{\itshape #1\/}}
|
||||
\def\constantfont#1{{\sffamily #1}}
|
||||
\else
|
||||
\def\keywordfont#1{{\bf #1}}
|
||||
\def\variablefont#1{{\it #1\/}}
|
||||
\def\constantfont#1{{\sf #1}}
|
||||
\fi
|
||||
\def\datafont#1{\constantfont{#1}}
|
||||
|
||||
\let\schemecodehook\relax
|
||||
|
@ -536,7 +542,14 @@
|
|||
\def\slatexseparateincludes{%
|
||||
\gdef\include##1{{\def\subjobname{##1}%
|
||||
\sch@mefilenamecount=-1
|
||||
\@include##1 }}}
|
||||
\@include##1 }}
|
||||
%
|
||||
% package subfile lets us structure documents; I want SLaTeX to support it
|
||||
%\newcommand\subfile[1]{\begingroup\skip@preamble\input{#1}\endgroup}
|
||||
\gdef\subfile##1{{\def\subjobname{##1}%
|
||||
\sch@mefilenamecount=-1
|
||||
\skip@preamble
|
||||
\input{##1} }}}
|
||||
|
||||
% convenient abbreviations for characters
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user