• No results found

The version package

N/A
N/A
Protected

Academic year: 2021

Share "The version package"

Copied!
2
0
0

Bezig met laden.... (Bekijk nu de volledige tekst)

Hele tekst

(1)

The version package

Donald Arseneau

Stephen Bellantoni

2009/09/15

Version control macros. This package lets you define environments whose contents will be optionally included in or excluded from the text when you run LATEX.

Maybe you should be using one of versions.sty, comment.sty, or optional.sty.

1 Usage:

\includeversion{〈name〉}

After this declaration, contents of the environment 〈name〉, that is, text between \begin{〈name〉} and \end{〈name〉}, will be processed in the normal way. If an environment called 〈name〉 is already defined, that definition is retained; if no such environment exists a simple definition is provided. \excludeversion{〈name〉}

This indicates that text between \begin{〈name〉} and \end{〈name〉} will be totally deleted. Very long sections of excluded text might cause a ‘TEX ca-pacity exceeded’ error. Exclusion ends with the first detected \end{〈name〉}, even if there are additional \begin{〈name〉} declarations in the skipped text; that is, nesting of environments is not permitted. Skipped text may have unbalanced braces, if they would also work in the \includeversion case. \excludeversion[〈text〉]{〈name〉}

This indicates that text between \begin{〈name〉} and \end{〈name〉} will be replaced by the specified 〈text〉.

You can define environments for as many versions as you want. A ‘comment’ environment has already been pre-defined with \excludeversion{comment}; you can override this by declaring \includeversion{comment}.

This manual corresponds to version.sty v2.0, dated 2009/09/15.asnd@triumf.ca

(2)

2 Example:

1 \includeversion{abridged}\excludeversion{unabridged}

2 \excludeversion[(redacted)]{redact} 3 Text for the

4 \begin{abridged}

5 short

6 \end{abridged}

7 \begin{unabridged}

8 long and really longwinded, opaque and boring 9 \end{unabridged}

10 version of the paper. Punctuation works correctly\begin{unabridged}

11 because sphack is used\end{unabridged}.

12 \begin{comment} This is deleted by default. \end{comment}

13 \begin{redact}This information was withdrawn\end{redact}

Referenties

GERELATEERDE DOCUMENTEN

Lasse Lindekilde, Stefan Malthaner, and Francis O’Connor, “Embedded and Peripheral: Rela- tional Patterns of Lone Actor Radicalization” (Forthcoming); Stefan Malthaner et al.,

If the parameter does not match any font family from given declaration files, the \setfonts command acts the same as the \showfonts command: all available families are listed..

[r]

As noted in the introduction, the “acmart” document class can be used to prepare many different kinds of documentation — a double-blind initial submission of a full-length

The “ acmart” document class can be used to prepare articles for any ACM publication — conference or journal, and for any stage of publication, from review to final

As noted in the introduction, the “ acmart” document class can be used to prepare many different kinds of documen- tation — a double-blind initial submission of a full-length

Each stamp in the above table has a name that begins with the #

In Greece, until recently, it was common practice to write down most log-like func- tions as abbreviations of their Greek names. Consequently, high school students and even