blob: 0f3e0284d4faa436f557885033dfb1b1176de604 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
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
|