| 1 |
%% |
| 2 |
%% This is file `ledfeat.tex', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% ledmac.dtx (with options: `features') |
| 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 |
\documentclass{article} |
| 26 |
\usepackage{ledmac} |
| 27 |
|
| 28 |
\noendnotes % we aren't having any endnotes |
| 29 |
|
| 30 |
\makeatletter |
| 31 |
% I'd like a spaced out colon after the lemma: |
| 32 |
\newcommand{\spacedcolon}{{\rmfamily\thinspace:\thinspace}} |
| 33 |
\renewcommand*{\normalfootfmt}[3]{% |
| 34 |
\ledsetnormalparstuff |
| 35 |
{\notenumfont\printlines#1|}\strut\enspace |
| 36 |
{\select@lemmafont#1|#2}\spacedcolon\enskip#3\strut\par} |
| 37 |
|
| 38 |
% And I'd like the 3-col notes printed with a hanging indent: |
| 39 |
\renewcommand*{\threecolfootfmt}[3]{% |
| 40 |
\normal@pars |
| 41 |
\hsize .3\hsize |
| 42 |
\setlength{\parindent}{0pt} |
| 43 |
\tolerance=5000 % high, but not infinite |
| 44 |
\raggedright |
| 45 |
\hangindent1.5em \hangafter1 |
| 46 |
\leavevmode |
| 47 |
\strut\hbox to 1.5em{\notenumfont\printlines#1|\hfil}\ignorespaces |
| 48 |
{\select@lemmafont#1|#2}\rbracket\enskip |
| 49 |
#3\strut\par\allowbreak} |
| 50 |
|
| 51 |
% And I'd like the 2-col notes printed with a double colon: |
| 52 |
\newcommand*{\doublecolon}{{\rmfamily\thinspace::\thinspace}} |
| 53 |
\renewcommand*{\twocolfootfmt}[3]{% |
| 54 |
\normal@pars |
| 55 |
\hsize .45\hsize |
| 56 |
\setlength{\parindent}{0pt} |
| 57 |
\tolerance=5000 |
| 58 |
\raggedright |
| 59 |
\leavevmode |
| 60 |
\strut{\notenumfont\printlines#1|}\enspace |
| 61 |
{\select@lemmafont#1|#2}\doublecolon\enskip |
| 62 |
#3\strut\par\allowbreak} |
| 63 |
|
| 64 |
% And in the paragraphed footnotes, I'd like a colon too: |
| 65 |
\renewcommand*{\parafootfmt}[3]{% |
| 66 |
\ledsetnormalparstuff |
| 67 |
{\notenumfont\printlines#1|}\enspace |
| 68 |
{\select@lemmafont#1|#2}\spacedcolon\enskip |
| 69 |
#3\penalty-10 } |
| 70 |
\makeatother |
| 71 |
|
| 72 |
% I'd like the line numbers picked out in bold. |
| 73 |
\renewcommand{\notenumfont}{\bfseries} |
| 74 |
\lineation{page} |
| 75 |
\linenummargin{inner} |
| 76 |
\setcounter{firstlinenum}{3} % just because I can |
| 77 |
\setcounter{linenumincrement}{1} |
| 78 |
\foottwocol{A} |
| 79 |
\footthreecol{B} |
| 80 |
\footparagraph{E} |
| 81 |
% I've changed \normalfootfmt, so invoke it again for C and D notes. |
| 82 |
\footnormal{C} |
| 83 |
\footnormal{D} |
| 84 |
|
| 85 |
\begin{document} |
| 86 |
|
| 87 |
\beginnumbering |
| 88 |
|
| 89 |
\pstart |
| 90 |
This is an \edtext{example}{ |
| 91 |
\Afootnote{eximemple C, D.}} |
| 92 |
of some %\footnote{A normal footnote} |
| 93 |
text with \edtext{variant}{ |
| 94 |
\Afootnote{alternative, A, B.}} |
| 95 |
readings recorded as `A' footnotes. From here on, \edtext{though}{ |
| 96 |
\Afootnote{however $\alpha$, $\beta$}}, |
| 97 |
we shall have \edtext{`C'}{ |
| 98 |
\Bfootnote{B, \textit{pace} the text}}. |
| 99 |
\edtext{For spice, let us mark a longer passage, but give a different |
| 100 |
lemma for it, so that we don't get a \edtext{huge}{ |
| 101 |
\Dfootnote{vast E, F; note that this is |
| 102 |
a `D' note to section of text within a longer lemma}} |
| 103 |
amount of text in a note}{\lemma{For spice \dots\ note} |
| 104 |
\Cfootnote{The note here is type `C'}}. |
| 105 |
\edtext{Finally}{ |
| 106 |
\Efootnote{in the end X, Y}}, |
| 107 |
\edtext{we}{ |
| 108 |
\Efootnote{us K}} |
| 109 |
\edtext{shouldn't}{ |
| 110 |
\Efootnote{ought not to L, M}} |
| 111 |
\edtext{forget the}{ |
| 112 |
\Efootnote{omit to mention the \S, \P}} |
| 113 |
\edtext{paragraphed}{ |
| 114 |
\Efootnote{blocked M, N}} |
| 115 |
\edtext{notes}{ |
| 116 |
\Efootnote{variants HH, KK}}, |
| 117 |
which are so \edtext{useful}{ |
| 118 |
\Efootnote{truly useful L, P}} |
| 119 |
when there are \edtext{a great number of}{ |
| 120 |
\Efootnote{many, many (preferably)}} |
| 121 |
short notes to be \edtext{recorded}{ |
| 122 |
\Efootnote{noted: repetition}}. |
| 123 |
\pend |
| 124 |
|
| 125 |
\pstart |
| 126 |
This is a second paragraph, giving more \textit{\edtext{examples}{ |
| 127 |
\Afootnote{eximples L, M.}}} |
| 128 |
of text with \edtext{variant}{ |
| 129 |
\Afootnote{alternative, A, B.}} |
| 130 |
readings recorded as `A' footnotes. From here on, \edtext{though}{ |
| 131 |
\Bfootnote{however $\alpha$, $\beta$}}, |
| 132 |
we shall have \edtext{`B'}{ |
| 133 |
\Bfootnote{B, as correctly stated in the text}} notes in the text. |
| 134 |
\edtext{For spice, let us mark a longer passage, but give a different |
| 135 |
lemma for it, so that we don't get a \textit{\edtext{huge}{ |
| 136 |
\Dfootnote{vast E, F; note that this is |
| 137 |
a `D' note to text within a longer lemma.}}} |
| 138 |
amount of text in a note}{\lemma{For spice, \dots\ note} |
| 139 |
\Cfootnote{This is a rogue note of type `C'.}}. |
| 140 |
\edtext{Finally}{ |
| 141 |
\Bfootnote{In the end X, Y}}, |
| 142 |
\edtext{we}{ |
| 143 |
\Bfootnote{we here K}} |
| 144 |
\edtext{shouldn't}{ |
| 145 |
\Bfootnote{ought not to L, M}} |
| 146 |
\edtext{forget the}{ |
| 147 |
\Bfootnote{omit to mention the \S, \P}} |
| 148 |
\edtext{column}{ |
| 149 |
\Bfootnote{blocked M, N}} |
| 150 |
\edtext{notes}{ |
| 151 |
\Bfootnote{variants H}}, |
| 152 |
which are so \edtext{useful}{ |
| 153 |
\Bfootnote{very, very useful L, P}} |
| 154 |
when there are \edtext{many}{ |
| 155 |
\Bfootnote{lots of Z}} |
| 156 |
short notes to be \edtext{recorded}{ |
| 157 |
\Bfootnote{recorded and put down: M (repetition)}}. |
| 158 |
\pend |
| 159 |
|
| 160 |
\endnumbering |
| 161 |
\end{document} |
| 162 |
\endinput |
| 163 |
%% |
| 164 |
%% End of file `ledfeat.tex'. |