diff options
Diffstat (limited to 'macros/plain/contrib/mlawriter/mlawriter.tex')
-rw-r--r-- | macros/plain/contrib/mlawriter/mlawriter.tex | 28 |
1 files changed, 19 insertions, 9 deletions
diff --git a/macros/plain/contrib/mlawriter/mlawriter.tex b/macros/plain/contrib/mlawriter/mlawriter.tex index 0f3e0284d4..b993465358 100644 --- a/macros/plain/contrib/mlawriter/mlawriter.tex +++ b/macros/plain/contrib/mlawriter/mlawriter.tex @@ -1,5 +1,6 @@ % -*- mode: TeX -*- -% The MLA style for plain TeX, Version 1.0.1 2023-06-26 +% The MLA style for plain TeX, Version 1.1.0 2023-07-05 +% MLA stands for Modern Language Association % written by LdBeth % CC0 1.0 Universal (CC0 1.0) Public Domain Dedication % letter paper 8.5in * 11in, 1in margin @@ -8,10 +9,10 @@ \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 +\font\twelverm = utmr8t at 12pt +\font\twelveit = utmri8t at 12pt +\font\twelvebf = utmb8t at 12pt +\font\twelvesl = utmro8t at 12pt % page number \nopagenumbers \catcode`\@=11 @@ -37,6 +38,7 @@ % mla macro \outer\def\mla\name#1 #2\teacher#3\course#4\date#5\title{% \setheader{#2} + \begingroup \let\rm=\twelverm \let\bf=\twelvebf \let\it=\twelveit \let\sl=\twelvesl % double space, 24 lines per page @@ -45,6 +47,7 @@ \parindent = .5in % no hyphenation \pretolerance = 10000\hbadness = 10000 + \hyphenpenalty= 9999 \exhyphenpenalty= 9999 \frenchspacing \raggedright \rm @@ -54,11 +57,18 @@ \noindent #5\par \settitle } -% quote macro -\def\quote{\begingroup\noindent\leftskip = .5in } -\def\endquote{\par\endgroup\noindent} +\outer\def\endmla{\endgroup} +% quote paragraph macro +\outer\def\quote{\par\begingroup\noindent\leftskip = .5in } +\outer\def\endquote{\par\endgroup\noindent} +% url macro +\def\url{\begingroup\catcode`\/=\active\activ@url} +{\catcode`\/=\active +\global\def\activ@url#1{% +\def/{\char`\/\penalty-100}% +<#1>\endgroup}} % bib entry -\def\citepage#1{% +\outer\def\citepage#1{% \vfil\eject \begingroup \parindent=\z@ |