diff options
author | Karl Berry <karl@freefriends.org> | 2023-06-26 20:22:20 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-06-26 20:22:20 +0000 |
commit | e92e6687f984158bc9a7cccd93ef88d0f522ac8b (patch) | |
tree | e1c3085fef4fb5007cf501cf27af2cec25970996 /Master/texmf-dist/tex/plain | |
parent | 134e380f56751b8fd3be6a5646ad906ba4f2b550 (diff) |
mlawriter (26jun23)
git-svn-id: svn://tug.org/texlive/trunk@67486 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/plain')
-rw-r--r-- | Master/texmf-dist/tex/plain/mlawriter/mlawriter.tex | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/plain/mlawriter/mlawriter.tex b/Master/texmf-dist/tex/plain/mlawriter/mlawriter.tex new file mode 100644 index 00000000000..0f3e0284d4f --- /dev/null +++ b/Master/texmf-dist/tex/plain/mlawriter/mlawriter.tex @@ -0,0 +1,68 @@ +% -*- mode: TeX -*- +% The MLA style for plain TeX, Version 1.0.1 2023-06-26 +% written by LdBeth +% CC0 1.0 Universal (CC0 1.0) Public Domain Dedication +% letter paper 8.5in * 11in, 1in margin +\hsize = 6.5truein +\vsize = 9truein +\hoffset = 0pt +\voffset = 0pt +% "Times New Roman" font +\font\twelverm = utmr7t at 12pt +\font\twelveit = utmri7t at 12pt +\font\twelvebf = utmb7t at 12pt +\font\twelvesl = utmro7t at 12pt +% page number +\nopagenumbers +\catcode`\@=11 +% headerline +\def\setheader#1{\headline={\hfill #1 \folio}} +% redefine plain TeX headline +\def\makeheadline{\vbox to 0pt{\vskip-.5in + \line{\vbox to12pt{}\the\headline}\vss} + \nointerlineskip} +% miscsettings +%\interlinepenalty5000 +% format date +\def\today{\number\day\space\ifcase\month\or + January\or February\or March\or April\or May\or June\or + July\or August\or September\or October\or November\or December\fi + \space\number\year} +\newskip\@flushglue \@flushglue = 0pt plus 1fil +\def\centering{% + \rightskip\@flushglue\leftskip\@flushglue + \parindent=\z@\parfillskip=\z@skip} +\long\def\settitle#1{% +\begingroup\centering #1\par\endgroup} +% mla macro +\outer\def\mla\name#1 #2\teacher#3\course#4\date#5\title{% + \setheader{#2} + \let\rm=\twelverm \let\bf=\twelvebf + \let\it=\twelveit \let\sl=\twelvesl + % double space, 24 lines per page + \baselineskip = 28pt minus 1pt + \parskip = 0pt + \parindent = .5in + % no hyphenation + \pretolerance = 10000\hbadness = 10000 + \frenchspacing + \raggedright + \rm + \noindent #1 #2\par + \noindent #3\par + \noindent #4\par + \noindent #5\par + \settitle + } +% quote macro +\def\quote{\begingroup\noindent\leftskip = .5in } +\def\endquote{\par\endgroup\noindent} +% bib entry +\def\citepage#1{% +\vfil\eject +\begingroup +\parindent=\z@ +\everypar={\hangindent.5in} +\centerline{#1}} +\def\endcite{\par\endgroup} +\catcode`\@=\active |