diff options
-rw-r--r-- | mla8.tex | 41 |
1 files changed, 39 insertions, 2 deletions
@@ -9,6 +9,43 @@ \font\fourteenit=ptmri7t at 14pt \font\twelveit=ptmri7t at 12pt +%%\font value reference for checks + +{ +\fourteenrm \xdef\fourteenrmid{\the\font} +\fourteenit \xdef\fourteenitid{\the\font} +\fourteenbf \xdef\fourteenbfid{\the\font} +\twelverm \xdef\twelvermid{\the\font} +\twelveit \xdef\twelveitid{\the\font} +\twelvebf \xdef\twelvebfid{\the\font} +} + +%%semantic fonts + +\def\large{% + \edef\curfont{\the\font}% + \ifx\curfont\twelvermid \fourteenrm \fi% + \ifx\curfont\twelvebfid \fourteenbf \fi% + \ifx\curfont\twelveitid \fourteenit \fi% + \baselineskip=28pt% +} + +\def\it{% + \edef\curfont{\the\font}% + \ifx\curfont\twelvermid \twelveit \fi% + \ifx\curfont\fourteenrmid \fourteenit \fi% + \ifx\curfont\twelvebfid \twelveit \fi% + \ifx\curfont\fourteenbfid \fourteenit \fi% +} + +\def\bf{% + \edef\curfont{\the\font}% + \ifx\curfont\twelvermid \twelvebf \fi% + \ifx\curfont\fourteenrmid \fourteenbf \fi% + \ifx\curfont\twelveitid \twelvebf \fi% + \ifx\curfont\fourteenitid \fourteenbf \fi% +} + %math family \font\twelvermop=zptmcm7t at 12pt @@ -50,12 +87,12 @@ \noindent\@date \par } \def\titlespacing{} \def\spaceaftertitle{\def\titlespacing{\bigskip}} %gives the option of adding a large space after the title -\def\title#1{\line{\hfil \fourteenrm \baselineskip=28pt #1 \hfil} \titlespacing} +\def\title#1{\line{\hfil \large #1 \hfil} \titlespacing} %%running header \nopagenumbers -\vsize=9.5in +\vsize=\dimexpr 9.5in \relax \voffset=\dimexpr 12pt - 0.5in \relax \def\firsthead{} %a store for the first page's running header \def\numberfirstpage{\def\firsthead{\@last\ 1}} %optionally enables numbering on first page to same as others |