Debian Codegraph @

texmf-dist/doc/latex/ledmac/ledarden.tex

raw
1 %%
2 %% This is file `ledarden.tex',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% ledmac.dtx (with options: `arden')
8 %%
9 %% Author: Peter Wilson (Herries Press) herries dot press at earthlink dot net
10 %% Copyright 2003 -- 2005 Peter R. Wilson
11 %%
12 %% This work may be distributed and/or modified under the
13 %% conditions of the LaTeX Project Public License, either
14 %% version 1.3 of this license or (at your option) any
15 %% later version.
16 %% The latest version of the license is in
17 %% http://www.latex-project.org/lppl.txt
18 %% and version 1.3 or later is part of all distributions of
19 %% LaTeX version 2003/06/01 or later.
20 %%
21 %% This work has the LPPL maintenance status "unmaintained".
22 %%
23 %% This work consists of the files listed in the README file.
24 %%
25 %% ledarden.tex
26 \documentclass{article}
27 \usepackage{ledmac}
28
29 \makeatletter
30 \newcommand{\stage}[1]{\rlap{\hbox to \the\linenumsep{%
31 \hfil\llap{[\textit{#1}]}}}}
32
33 \newcommand{\speaker}[1]{\pstart\hangindent2em\hangafter1
34 \leavevmode\textit{#1}\enspace\ignorespaces}
35
36 \newcommand{\exit}[1]{\hfill\stage{#1}}
37
38 % LEDMAC customizations:
39 \noendnotes
40 \setlength{\parindent}{0pt}
41 \setlength{\linenumsep}{.4in}
42 \rightskip\linenumsep
43
44 \renewcommand{\interparanoteglue}{1em plus.5em minus.1em}
45
46 \newcommand{\scf}{\tiny}
47 \let\Afootnoterule=\relax \let\Bfootnoterule=\relax
48
49 \renewcommand{\rightlinenum}{\numlabfont\llap{\the\line@num}}
50 \frenchspacing
51
52 % Footnote formats:
53 % \nonumparafootfmt is a footnote format without line numbers.
54 \newcommand{\nonumparafootfmt}[3]{%
55 \ledsetnormalparstuff
56 \rightskip=0pt
57 \select@lemmafont#1|#2\rbracket\enskip
58 \itshape #3\penalty-10 }
59
60 \newcommand{\newparafootfmt}[3]{%
61 \ledsetnormalparstuff
62 {\notenumfont\printlines#1|}\fullstop\enspace
63 {\select@lemmafont#1|#2}\rbracket\enskip
64 \itshape #3\penalty-10 }
65
66 \newcommand{\newtwocolfootfmt}[3]{%
67 \normal@pars
68 \hsize .48\hsize
69 \tolerance=5000
70 \rightskip=0pt \leftskip=0pt \parindent=5pt
71 \strut\notenumfont\printlines#1|\fullstop\enspace
72 \itshape #2\/\rbracket\penalty100\hskip .5em plus .5em
73 \normalfont #3\strut\goodbreak}
74
75 % Footnote style selections etc. (done last):
76 \footparagraph{A}
77 \foottwocol{B}
78 \let\Afootfmt=\newparafootfmt
79 \let\Bfootfmt=\newtwocolfootfmt
80 \let\collation=\Afootnote
81 \let\note=\Bfootnote
82 \lineation{section}
83 \linenummargin{right}
84 \makeatother
85
86 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
87
88 \begin{document}
89 \pagestyle{empty}
90
91 % Initially, we don't want line numbers.
92 \let\Afootfmt=\nonumparafootfmt
93
94 \beginnumbering
95 \pstart
96 \centerline{[\edtext{SCENE III}{
97 \lemma{Scene III}
98 \collation{Capell; om. Q, F; \textnormal{Scene IV} Pope.}}.---%
99 \edtext{\textit{Venice}}{
100 \collation{om. Q, F; Shylock's house Theobald; The same.
101 A Room in Shylock's House Capell.}}.]}
102 \pend
103 \bigskip
104
105 \pstart
106 \centerline{\textit{Enter} JESSICA \textit{and}
107 [\edtext{LAUNCELOT}{
108 \lemma{Launcelot}
109 \collation{Rowe; om. Q, F.}}] \textit{the clown.}} \pend \bigskip
110
111 \let\Afootfmt=\newparafootfmt % we do want line numbers from now
112
113 \setline{0}%
114
115 \speaker{Jes.}\edtext{I am}{
116 \collation{Q, F; \textnormal{I'm} Pope.}}
117 sorry thou wilt leave my father so,\\
118 Our house is hell, and thou (a merry devil)\\
119 Didst rob it of some taste of tediousness,---\\
120 But fare thee well, there is a ducat for thee,\\
121 And Launcelot, \edtext{soon}{
122 \note{early.}}
123 at supper shalt thou see\\
124 Lorenzo, who is thy new master's guest,\\
125 Give him this letter,---do it secretly,---\\
126 And so farewell: I would not have my father\\
127 See me \edtext{in}{
128 \collation{Q; om. F.}}
129 talk with thee.
130 \pend
131
132 \speaker{Laun.}
133 \edtext{}{\lemma{\textit{Laun.}}\collation{Q2; Clowne. Q, F.}}%
134 \edtext{Adieu!}{
135 \collation{\textnormal{Adiew}, Q, F.}}
136 tears \edtext{exhibit}{
137 \note{Eccles paraphrased ``My tears serve to express what my
138 tongue should, if sorrow would permit it,'' but probably it is
139 Launce\-lot's blunder for prohibit (Halliwell) or inhibit
140 (Clarendon).}}
141 my tongue, most beautiful \edtext{pagan}{
142 \note{This may have a scurrilous undertone: cf. \textit{2 H 4,}
143 {\scf II.} \textrm{ii. 168.}}}%
144 , most sweet \edtext{Jew!}{
145 \collation{\textnormal{Iewe}, Q, F. \quad \textnormal{do]} Q, F;
146 \textnormal{did} F2.}}%
147 ---if a Christian \edtext{do}{
148 \note{Malone upheld the reading of Qq and F by comparing {\scf II.}
149 vi. 23: ``When you shall please to play the thieves for
150 wives''; Launcelot seems fond of hinting at what is going to
151 happen (cf. {\scf II.} v. 22--3). If F2's ``did'' is accepted,
152 \textit{get} is used for beget, as in {\scf III.} v. 9.}}
153 not play the knave and get thee, I am much deceived; but \edtext{adieu!}{
154 \collation{\textnormal{adiew}, Q, F.}}
155 these \edtext{foolish drops do \edtext{something}{
156 \collation{Q; \textnormal{somewhat} F.}}
157 drown my manly spirit}{
158 \lemma{foolish\textnormal{\dots}spirit}
159 \note{``tears do not become a man'' (\textit{AYL.}, {\scf III.}
160 iv. 3); cf. also \textit{H 5,} {\scf IV.} vi. 28--32.}}%
161 : \edtext{adieu!}{
162 \collation{\textnormal{adiew}. Q, F. \quad \textnormal{S. D.]} Q2, F; om. Q;
163 after l. 15 Capell.}}
164 \exit{Exit.}
165 \pend
166
167 \speaker{Jes.}
168 Farewell good Launcelot.\\
169 Alack, what heinous sin is it in me\\
170 To be ashamed to be my father's \edtext{child!}{
171 \collation{\textnormal{child}, Q, F; \textnormal{Child?} Rowe.}}
172 \pend
173 \endnumbering
174
175 \end{document}
176
177 \endinput
178 %%
179 %% End of file `ledarden.tex'.