Debian Codegraph @

texmf-dist/source/latex/nnext/nnext.dtx

raw
1 % \iffalse meta-comment
2 %
3 % Copyright (C) 2020 by Nicholas LaCara
4 %
5 % This file may be distributed and/or modified under the
6 % conditions of the LaTeX Project Public License, either
7 % version 1.3 of this license or (at your option) any later
8 % version. The latest version of this license is in:
9 %
10 % http://www.latex-project.org/lppl.txt
11 %
12 % and version 1.3 or later is part of all distributions of
13 % LaTeX version 2005/12/01 or later.
14 %
15 % \fi
16 %
17 % \iffalse
18 %<package>\NeedsTeXFormat{LaTeX2e}[2005/12/01]
19 %<package>\ProvidesPackage{nnext}
20 %<package> [2020/10/06 v0.0 The nnext package]
21 %
22 %<*driver>
23 \documentclass{ltxdoc}
24 \usepackage{url}
25 \usepackage{charter}
26 \usepackage{gb4e}
27 \usepackage{nnext}
28 \EnableCrossrefs
29 \CodelineIndex
30 \RecordChanges
31 \begin{document}
32 \DocInput{nnext.dtx}
33 \end{document}
34 %</driver>
35 % \fi
36 % \CheckSum{0}
37 %
38 % \changes{v0.0}{2020/10/05}{Initial version}
39 %
40 % \GetFileInfo{nnext.sty}
41 % \DoNotIndex{\newcommand,}
42 %
43 % \title{The \textsf{nnext} package}
44 % \author{Nicholas LaCara \\ \texttt{[email protected]}}
45 %
46 % \maketitle
47 %
48 % \abstract{This package is an add-on for the \textsf{gb4e} example package
49 % used in linguistics. It implements the \cmd{\Next}, \cmd{\NNext},
50 % \cmd{\Last}, and \cmd{\LLast} commands from the \textsf{linguex} package or
51 % the \cmd{\nextx}, \cmd{\anextx}, \cmd{\lastx}, \cmd{\blastx}, and
52 % \cmd{\bblastx} commands from the \textsf{expex} package.} The package takes
53 % its name from the distinctively named \cmd{\NNext} command found in
54 % \textsf{linguex}.
55 %
56 % \section{Introduction}
57 %
58 % The popular linguistics example package \textsf{linguex} and the less popular
59 % (though more powerful) package \textsf{expex} allow users to refer to
60 % previously or to-be defined examples through mnemonic commands such as
61 % \cmd{\Next} or \cmd{\nextx}. The popular package \textsf{gb4e} lacks any such
62 % functionality. The goal of this package is to provide this functionality for
63 % \textsf{gb4e} and related packages so that users that need (or want) to use
64 % \textsf{gb4e} but are more comfortable with \textsf{linguex} or
65 % \textsf{expex} can still have access to these macros while using
66 % \textsf{gb4e}.
67 %
68 % This package is currently compatible with the original \textsf{gb4e} package
69 % as well as the modified version \textsf{langsci-gb4e} used by Language
70 % Science Press and with \textsf{gb4e-emulate} by Alan Munn (which reimplements
71 % \textsf{gb4e}'s functionality with the package \textsf{enumitem}).\footnote{%
72 % Unfortunately, \textsf{gb4e-emulate} is not on \textsc{ctan}. It is, however,
73 % available at its GitHub repository: %
74 % \url{https://github.com/amunn/gb4e-emulate}}
75 %
76 % \section{Usage}
77 %
78 % \subsection{Loading the package}
79 %
80 % The package should be loaded in your preamble with |\usepackage{nnext}|. It
81 % should be loaded \emph{after} \textsf{gb4e} (or whichever variant you are
82 % using).
83 %
84 % \subsection{Package options}
85 %
86 % The package has a few options that may be specified when loaded:
87 %
88 % \begin{description}
89 % \item[\texttt{linguex}] This option defines the macros \cmd{\Next},
90 % \cmd{\NNext}, \cmd{\Last}, and \cmd{\LLast}, as found in the
91 % \textsf{linguex} package. It is the default package option and does not
92 % need to be specified.
93 %
94 % \item[\texttt{expex}] This option defines the macros \cmd{\nextx},
95 % \cmd{\anextx}, \cmd{\lastx}, \cmd{\blastx}, and \cmd{\bblastx}, as
96 % found in the \textsf{expex} package.
97 %
98 % \item[\texttt{noparens}] This option disables the use of parentheses around
99 % example numbers that are on by default when \textsf{linguex} emulation
100 % is used. This is the typical behavior for \textsf{gb4e} and
101 % \textsf{expex}.
102 %
103 % \end{description}
104 %
105 % \subsection{Macros}
106 %
107 % \subsubsection{\textsf{linguex} emulation mode (default)}
108 %
109 % If the user loads the package with the \textsf{linguex} option or, indeed,
110 % with no options specified, the package will provide the following macros.
111 %
112 % \begin{itemize}
113 %
114 % \item \DescribeMacro{\Next} The macro \cmd{\Next} will print the next
115 % example number. So, if the previous example was (15), this will
116 % print (16).
117 %
118 % \item \DescribeMacro{\NNext} The macro \cmd{\NNext} will print the
119 % example number after next. So, if the previous example was (15),
120 % this will print (17).
121 %
122 % \item \DescribeMacro{\Last} The macro \cmd{\Last} will print the
123 % previous example number. So, if the previous example was (15),
124 % this will print (15).
125 %
126 % \item \DescribeMacro{\LLast} The macro \cmd{\LLast} will print the
127 % example number before last. So, if the previous example was (15),
128 % this will print (14).
129 %
130 % \end{itemize}
131 %
132 % \noindent Usage of these macros is straightforward. Simply deploy
133 % them in running text, as in the following code:
134 %
135 % \begin{verbatim}
136 % If you want to refer to the next example, type \Next.
137 % If you want to refer to the example after that, type \NNext.
138 %
139 % \begin{exe}
140 % \ex[]{This is an example.}
141 % \ex[*]{This are another example.}
142 % \end{exe}
143 %
144 % \noindent If you want to refer to the previous example,
145 % type \Last. If you want to refer to the example before
146 % that, type \LLast.
147 % \end{verbatim}
148 %
149 %
150 % \noindent This code produces the following output:\medskip
151 %
152 % \framebox{\begin{minipage}{0.9\linewidth}
153 %If you want to refer to the next example, type \Next.
154 %If you want to refer to the example after that, type \NNext.
155 %
156 % \begin{exe}
157 % \ex[]{This is an example.}
158 % \ex[*]{This are another example.}
159 % \end{exe}
160 %
161 %\noindent If you want to refer to the previous example, type \Last.
162 %If you want to refer to the example before that,
163 %type \LLast.
164 %
165 % \end{minipage}}
166 %
167 % \subsubsection{\textsf{expex} emulation mode}
168 %
169 % If the user loads the package with the \textsf{expex} option the package will
170 % provide the following macros.
171 %
172 % \begin{itemize}
173 %
174 % \item \DescribeMacro{\nextx} The macro \cmd{\nextx} will print the next
175 % example number. So, if the previous example was (15), this will
176 % print (16).
177 %
178 % \item \DescribeMacro{\anextx} The macro \cmd{\anextx} will print the
179 % example number after next. So, if the previous example was (15),
180 % this will print (17).
181 %
182 % \item \DescribeMacro{\lastx} The macro \cmd{\lastx} will print the
183 % previous example number. So, if the previous example was (15), this
184 % will print (15).
185 %
186 % \item \DescribeMacro{\blastx} The macro \cmd{\blastx} will print the
187 % example number before last. So, if the previous example was (15),
188 % this will print (14).
189 %
190 % \item \DescribeMacro{\bblastx} The macro \cmd{\bblastx} will print the
191 % example number before last. So, if the previous example was (15),
192 % this will print (13).
193 % \end{itemize}
194 %
195 % \noindent Usage of these macros is straightforward. Simply deploy
196 % them in running text, as in the following code:
197 %
198 % \begin{verbatim}
199 % If you want to refer to the next example, type (\nextx).
200 % If you want to refer to the example after that, type (\anextx).
201 %
202 % \begin{exe}
203 % \ex[]{This is an example.}
204 % \ex[*]{This are another example.}
205 % \end{exe}
206 %
207 % \noindent If you want to refer to the previous example,
208 % type (\lastx). If you want to refer to the example before
209 % that, type (\blastx). If you want to refer to the example
210 % before that, type (\bblastx).
211 % \end{verbatim}
212 %
213 %
214 % \noindent This code produces the following output:\medskip
215 %
216 % \framebox{\begin{minipage}{0.9\linewidth}
217 %If you want to refer to the next example, type \Next.
218 %If you want to refer to the example after that, type \NNext.
219 %
220 % \begin{exe}
221 % \ex[]{This is an example.}
222 % \ex[*]{This are another example.}
223 % \end{exe}
224 %
225 %\noindent If you want to refer to the previous example, type \Last.
226 %If you want to refer to the example before that,
227 %type \LLast. If you want to refer to the example
228 % before that, type (2).
229 %
230 % \end{minipage}}
231 %
232 % \subsection{Class compatibility}
233 %
234 % I have tested the package with a variety of common \LaTeX\ document classes
235 % (including the ams-\LaTeX\ classes, scr* group of classes,
236 % \textsf{tufte-handout}, and the \textsf{exam} class, among several others)
237 % and believe it should be broadly compatible with most people's set-ups (so
238 % far I have only found it to be incompatible with the \textsf{standalone}
239 % class). If you have an issue, drop me an email and I'll see if I can't make
240 % it work for you.
241 %
242 %
243 % \section{Rationale}
244 %
245 % This package is really just a quality-of-life add-on for people using the
246 % \textsf{gb4e} example package.
247 %
248 % The initial motivation for this package came from a colleague who needed to
249 % typeset a document for submission to a publisher but was unable to use
250 % \textsf{linguex} due to constraints imposed by the publisher's class file.
251 % She asked specifically if there was any way to get \textsf{gb4e} to replicate
252 % the functionality of the \textsf{linguex} commands \cmd{\Next}, \cmd{\NNext},
253 % and \cmd{\Last}, among others.
254 %
255 % I figured it wouldn't be too difficult to code up a solution and send it to
256 % her (which I did!), but given that there are likely other people who, due to
257 % various externally imposed requirements, might need to use \textsf{gb4e} when
258 % they are used to another example pacakge, I thought a more robust solution
259 % might be appropriate. This package attempts to provide that.
260 %
261 % I also hope that this package can help people migrate to \textsf{gb4e} from
262 % \textsf{linguex}. There are several benefits to using \textsf{gb4e} over
263 % \textsf{linguex}, including a more robust syntax that is more aligned with
264 % standard \LaTeX\ syntax and less sensitive to code formatting such as
265 % line-breaks. That said, \textsf{gb4e} is a little less user-friendly than
266 % \textsf{linguex}, so I think that providing one of the features that
267 % \textsf{linguex} users expect can help people to migrate if they so choose.
268 %
269 % \section{Some notes for \textsf{linguex} users}
270 %
271 % The \textsf{gb4e} package behaves slightly differently from \textsf{linguex}
272 % in a handful of ways. A few of those differences may impact how you
273 % experience using this package.
274 %
275 % \begin{itemize}
276 %
277 % \item \textsf{gb4e} handles example numbering in footnotes poorly, using
278 % numbering from the main body of the text (\textsf{linguex} uses roman
279 % numerals in footnotes, one of the ways in which it is better). This is
280 % something to keep in mind if you put an example in a footnote.
281 %
282 % \item Relatedly, if you use \textsf{gb4e}'s commands for customizing example
283 % label numbers (\emph{e.g.}, \cmd{\exi} and \cmd{\exr}), the code here will
284 % not use those special labels.
285 %
286 % \end{itemize}
287 %
288 % \StopEventually{\PrintIndex\PrintChanges}
289 %
290 %
291 % \section{Implementation}
292 %
293 % In the following section, I present the fully commented code for the package.
294 %
295 %
296 % \subsection{Dependencies}
297 %
298 % I use the \textsf{xspace} package to make the spacing after example numbers
299 % right when using the \cmd{\Next}, \cmd{\Last}, \emph{etc}., commands. This
300 % mimics the behavior of \textsf{linguex}.
301 %
302 % \begin{macrocode}
303 \RequirePackage{xspace}
304 % \end{macrocode}
305 %
306 % \noindent I also use \textsf{ifthen} for various booleans set by the package
307 % options.
308 %
309 % \begin{macrocode}
310 \RequirePackage{ifthen}
311 % \end{macrocode}
312 %
313 % Because this package is designed to work with a range of \textsf{gb4e}
314 % variants, there is no line in the code for loading \textsf{gb4e}. Documents
315 % loading \textsf{nnext} without loading a \textsf{gb4e} variant will compile
316 % will compile, but using any of the included macros will cause an error.
317 %
318 %
319 % \subsection{Booleans}
320 %
321 % Here I define what the booleans will be. The first will set the
322 % package to emulate linguex's \cmd{\Next}, \cmd{\NNext}, \cmd{\Last}, and
323 % \cmd{\LLast} commands. The boolean is set to `false' initially.
324 %
325 % \begin{macrocode}
326 \newboolean{emulatelinguex}
327 \setboolean{emulatelinguex}{false}
328 % \end{macrocode}
329 %
330 % \noindent The next boolean will set the package to emulate expex's
331 % \cmd{\nextx}, \cmd{\lastx}, \cmd{\blastx}, \cmd{\anextx}, and \cmd{\bblastx}
332 % commands. The boolean is set to `false' initially.
333 %
334 % \begin{macrocode}
335 \newboolean{emulateexpex}
336 \setboolean{emulateexpex}{false}
337 % \end{macrocode}
338 %
339 % \noindent The final boolean will set whether the example numbers in the text
340 % should be set with surrounding parentheses or not. The boolean is set to
341 % `true' initially.
342 %
343 % \begin{macrocode}
344 \newboolean{parentheses}
345 \setboolean{parentheses}{true}
346 % \end{macrocode}
347 %
348 %
349 % \subsection{Package options}
350 %
351 % Here is where various package options are defined. All the package options do
352 % is manipulate the values of the booleans declared in the previous subsection.
353 %
354 % By using the package option \texttt{linguex}, the user sets the
355 % \texttt{emulatelinguex} boolean to `true'.
356 %
357 % \begin{macrocode}
358 \DeclareOption{linguex}{
359 \setboolean{emulatelinguex}{true}
360 }
361 % \end{macrocode}
362 %
363 % \noindent By using the package option \texttt{expex}, the user sets the
364 % \texttt{emulateexpex} boolean to `true' and the \texttt{emulatelinguex} and
365 % \texttt{parentheses} booleans to `false'.
366 %
367 % \begin{macrocode}
368 \DeclareOption{expex}{
369 \setboolean{emulateexpex}{true}
370 \setboolean{emulatelinguex}{false}
371 \setboolean{parentheses}{false}
372 }
373 % \end{macrocode}
374 %
375 % \noindent By using the package option \texttt{noparens}, the user sets the
376 % \texttt{parentheses} boolean to `false'.
377 %
378 % \begin{macrocode}
379 \DeclareOption{noparens}{
380 \setboolean{parentheses}{false}
381 }
382 % \end{macrocode}
383 %
384 % \noindent After defining our package options, we tell \LaTeX\ to use
385 % \textsf{linguex} emulation as the default mode.
386 %
387 % \begin{macrocode}
388 \ExecuteOptions{linguex}
389 \ProcessOptions\relax
390 % \end{macrocode}
391 %
392 %
393 % \subsection{Detecting \textsf{gb4e} variants}
394 %
395 % To make this compatible with different variants of \textsf{gb4e}, we need to
396 % detect which variant of \textsf{gb4e} the user is using, since there is some
397 % variation in what each variant uses for its example counter. Right now, the
398 % code is compatible with the following gb4e-like packages:
399 %
400 % \begin{itemize}
401 % \item \textsf{gb4e}
402 % \item \textsf{langsci-gb4e} (for Language Science Press books)
403 % \item \textsf{gb4e-emulate} (by Alan Munn, which
404 % reimplements \textsf{gb4e} using the package \textsf{enumitem})
405 % \end{itemize}
406 %
407 % The code below checks to see if \textsf{langsci-gb4e} is loaded; if it isn't,
408 % it checks to see if \textsf{gb4e-emulate} is loaded; if it isn't, it checks
409 % to see if \textsf{gb4e} is loaded. If this fails, the package defaults to
410 % using the \texttt{exx} counter from \textsf{gb4e} on the assumption that the
411 % most likely package to be used instead of \textsf{gb4e} is a modded version.
412 % It also prints a warning to the terminal.
413 %
414 % The reason this needs to be done is because each of these packages uses a
415 % different counter for example numbering under the hood:
416 %
417 % \begin{itemize}
418 % \item \textsf{gb4e} uses the counter \texttt{exx}
419 % \item \textsf{langsci-gb4e} uses the counter \texttt{equation}
420 % \item \textsf{gb4e-emulate} uses the counter \texttt{exei}
421 % \end{itemize}
422 %
423 % \begin{macro}{\@countername}
424 % Once the right package is identified, the value of \cmd{\@countername} is
425 % defined to match the counter used by that package. This allows the macros
426 % defined below to get the current value of the example counter at any point in
427 % the document regardless of what example package is being used.
428 %
429 % \begin{macrocode}
430 \@ifpackageloaded{langsci-gb4e}%
431 {\newcommand{\@countername}{equation}}
432 {\@ifpackageloaded{gb4e-emulate}%
433 {\newcommand{\@countername}{exei}}
434 {\@ifpackageloaded{gb4e}%
435 {\newcommand{\@countername}{exx}}
436 {\PackageWarningNoLine{nnext}{No known compatible %
437 example package loaded! Examples may not be correctly %
438 referenced, or there may be fatal errors}%
439 \newcommand{\@countername}{exx}}}}%
440 % \end{macrocode}
441 %
442 % \end{macro}
443 %
444 %
445 % \subsection{Manipulating parentheses}
446 %
447 % \begin{macro}{\@lparens}
448 % \begin{macro}{\@rparens}
449 % \begin{macro}{\@afterspace}
450 %
451 % % \textsf{linguex} and \textsf{expex} behave differently with regard to
452 % % whether the output of reference commands include parentheses:
453 % \textsf{linguex} includes them; \textsf{expex} (like \textsf{gb4e}) does not.
454 % The code here defines whether the macros include parentheses based on the
455 % booleans defined above. It does this by setting the commands \cmd{\@lparens}
456 % and \cmd{\@rparens} to either be parentheses or by defining them to be empty.
457 % It also defines whether there should be space included after the number (as
458 % in \textsf{linguex}) or not (as in \textsf{expex}). It does so, again, by
459 % defining the macro \textsf{\@afterspace} to either to expand to \cmd{\xspace}
460 % or to exapand to nothing. These macros are then used in the
461 % \cmd{\printtmpcounter} macro below.
462 %
463 % \begin{macrocode}
464 \ifthenelse{\boolean{emulatelinguex}%
465 \AND \boolean{parentheses}}{%
466 \newcommand{\@lparens}{(}
467 \newcommand{\@rparens}{)}
468 \newcommand{\@afterspace}{\xspace}}{%
469 \newcommand{\@lparens}{}
470 \newcommand{\@rparens}{}
471 \newcommand{\@afterspace}{}}%
472 % \end{macrocode}
473 %
474 %\end{macro}
475 %\end{macro}
476 %\end{macro}
477 %
478 %
479 % \subsection{Generic macros}
480 %
481 % \textsf{linguex} implements its commands by getting the current value of the
482 % example counter, storing that value in a temporary counter, and then adding
483 % or subtracting from that temporary counter. This is the approach that I take
484 % below. To replicate this functionality with \textsf{gb4e}, we only have to do
485 % this with the counter that it (or its variants) uses
486 %
487 %
488 % \subsubsection{Setting up the temporary counter}
489 %
490 % First, we create a temporary counter, which will be used to store the value
491 % of the next, last, or whichever example number the macro is looking for.
492 %
493 % \begin{macrocode}
494 \newcounter{tmpcounter}
495 % \end{macrocode}
496 %
497 %
498 % \begin{macro}{\settmpcounter}
499 %
500 % Now we define the command \cmd{\settmpcounter}, which gets the value of
501 % the \textsf{gb4e} example counter (the name of which is stored in
502 % \cmd{\@countername}) and sets the value of the temporary counter to this
503 % value plus some integer:
504 %
505 % \begin{macrocode}
506 \newcommand{\settmpcounter}[1]{%
507 \setcounter{tmpcounter}{\value{\@countername}}%
508 \addtocounter{tmpcounter}{#1}}
509 % \end{macrocode}
510 %
511 % \end{macro}
512 %
513 % \begin{macro}{\printtmpcounter}
514 %
515 % Now we define a command for printing the value of temporary counter with or
516 % without parentheses and with or without the trailing space, depending on
517 % whether \textsf{linguex} or \textsf{expex} is being emulated. This relies on
518 % how \cmd{\@lparens}, \cmd{\@rparens}, and \cmd{\@afterspace} were defined
519 % above.
520 %
521 % \begin{macrocode}
522 \newcommand{\printtmpcounter}[1]{\settmpcounter{#1}%
523 \@lparens\thetmpcounter\@rparens\@afterspace}
524 % \end{macrocode}
525 %
526 % \end{macro}
527 %
528 %
529 % \subsubsection{Generic definitions}
530 %
531 % Now we define some generic, under-the-hood macros for commands that add to or
532 % subtract from the temporary counters and print those numbers as though they
533 % were references. These under-the-hood commands will be assigned user-facing
534 % names depending on whether \textsf{linguex} or \textsf{expex} is being
535 % emulated.
536 %
537 % \begin{macro}{\@Next}
538 %
539 % The macro \cmd{\@Next} increments the tempory counter by one, which will be
540 % the value of the next example:
541 %
542 % \begin{macrocode}
543 \newcommand{\@Next}{\printtmpcounter{1}}
544 % \end{macrocode}
545 %
546 % \end{macro}
547 %
548 % \begin{macro}{\@NNext}
549 %
550 % The macro \cmd{\@NNext} increments the tempory counter by two, which will be
551 % the value of the example after next:
552 %
553 % \begin{macrocode}
554 \newcommand{\@NNext}{\printtmpcounter{2}}
555 % \end{macrocode}
556 %
557 % \end{macro}
558 %
559 % \begin{macro}{\@Last}
560 %
561 % The macro \cmd{\@Last} does not change the value of the temporary counter,
562 % since this is the value of the previous example:
563 %
564 % \begin{macrocode}
565 \newcommand{\@Last}{\printtmpcounter{0}}
566 % \end{macrocode}
567 %
568 % \end{macro}
569 %
570 % \begin{macro}{\@LLast}
571 %
572 % The macro \cmd{\@LLast} decreases the tempory counter by one, which will be
573 % the value of the example before last:
574 %
575 % \begin{macrocode}
576 \newcommand{\@LLast}{\printtmpcounter{-1}}
577 % \end{macrocode}
578 %
579 % \end{macro}
580 %
581 % \begin{macro}{\@LLLast}
582 %
583 % The macro \cmd{\@LLLast} decreases the tempory counter by two, which will be
584 % the value of the example before the example before last:
585 %
586 % \begin{macrocode}
587 \newcommand{\@LLLast}{\printtmpcounter{-2}}
588 % \end{macrocode}
589 %
590 % \end{macro}
591 %
592 %
593 % \subsection{Emulate \textsf{linguex}}
594 %
595 % \begin{macro}{\Next}
596 % \begin{macro}{\NNext}
597 % \begin{macro}{\Last}
598 % \begin{macro}{\LLast}
599 %
600 % If the user chooses to emulate the \textsf{linguex} commands, then this
601 % conditional uses the command names from \textsf{linguex} and defines them to
602 % expand to the macros defined in the previous subsection.\bigskip
603 %
604 % \begin{macrocode}
605 \ifthenelse{\boolean{emulatelinguex}}{%
606 \newcommand{\Next}{\@Next}
607 \newcommand{\NNext}{\@NNext}
608 \newcommand{\Last}{\@Last}
609 \newcommand{\LLast}{\@LLast}}{}
610 % \end{macrocode}
611 %
612 % \end{macro}
613 % \end{macro}
614 % \end{macro}
615 % \end{macro}
616 %
617 %
618 % \subsection{Emulate \textsf{expex}}
619 %
620 % \begin{macro}{\nextx}
621 % \begin{macro}{\anextx}
622 % \begin{macro}{\lastx}
623 % \begin{macro}{\blastx}
624 % \begin{macro}{\bblastx}
625 % If the user chooses to emulate the \textsf{linguex} commands, then this
626 % conditional uses the command names from \textsf{linguex} and defines them to
627 % expand to the macros defined in the previous subsection.\bigskip\medskip
628 %
629 % \begin{macrocode}
630 \ifthenelse{\boolean{emulateexpex}}{%
631 \newcommand{\nextx}{\@Next}
632 \newcommand{\anextx}{\@NNext}
633 \newcommand{\lastx}{\@Last}
634 \newcommand{\blastx}{\@LLast}
635 \newcommand{\bblastx}{\@LLLast}}{}
636 % \end{macrocode}
637 % \end{macro}
638 % \end{macro}
639 % \end{macro}
640 % \end{macro}
641 % \end{macro}
642 %
643 % \Finale
644 \endinput