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
|
% the following are the default font assignments for
|
||||||
% words in code. Change them to suit personal taste
|
% words in code. Change them to suit personal taste
|
||||||
|
|
||||||
\def\keywordfont#1{{\bf #1}}
|
\ifusinglatex
|
||||||
\def\variablefont#1{{\it #1\/}}
|
\def\keywordfont#1{{\bfseries #1}}
|
||||||
\def\constantfont#1{{\sf #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}}
|
\def\datafont#1{\constantfont{#1}}
|
||||||
|
|
||||||
\let\schemecodehook\relax
|
\let\schemecodehook\relax
|
||||||
|
@ -536,7 +542,14 @@
|
||||||
\def\slatexseparateincludes{%
|
\def\slatexseparateincludes{%
|
||||||
\gdef\include##1{{\def\subjobname{##1}%
|
\gdef\include##1{{\def\subjobname{##1}%
|
||||||
\sch@mefilenamecount=-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
|
% convenient abbreviations for characters
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user