CTAN Comprehensive TeX Archive Network

Directory obsolete/macros/latex/contrib/labelcas

README
labelcas
========

This LaTeX2e-package provides macros "\eachlabelcase" and "\lotlabelcase"
as a means of forking depending on whether specific labels are defined in
the current document.

--------------------------------------------------------------------------

Copyright (C) 2006 by Ulrich Diez  <ulrich.diez@alumni.uni-tuebingen.de>

This Work may be distributed and/or modified under the conditions of the
LaTeX Project Public License, either version 1.3 of this license or (at
your option) any later version.  The latest version of this license is in:

                http://www.latex-project.org/lppl.txt

and version 1.3 or later is part of all distributions of LaTeX version
2003/12/01 or later.

This Work has the LPPL maintenance status `author-maintained'.

The author and Current Maintainer of this Work is Ulrich Diez.

This Work consists of the files labelcas.dtx, labelcas.ins, README and the
derived files labelcas.sty and labelcas.pdf.

--------------------------------------------------------------------------

Distributed files include:

   README        -- This file
   labelcas.pdf  -- Preformatted documentation
   labelcas.sty  -- Package-file for inclusion in document-preambles
   labelcas.ins  -- Extracts .sty-file from .dtx-file
   labelcas.dtx  -- Combined source both of .sty-file and documentation

--------------------------------------------------------------------------

Installation:

Place labelcas.ins and labelcas.dtx into directories searched by TeX.
In order to obtain the .sty-file, run TeX or LaTeX2e or pdfTeX or
pdfLaTeX2e on labelcas.ins.
In order to obtain the documentation, place labelcas.sty into a
directory searched by TeX and run (pdf)LaTeX2e on labelcas.dtx.
Index:          makeindex -s gind.ist -o labelcas.ind labelcas.idx
Change-history: makeindex -s gglo.ist -o labelcas.gls labelcas.glo

If you wish to obtain information about usage of the macros while
omitting sections related to package-implementation and change-
history, enable "\OnlyDescription" by activating line 42/removing
the leading percent-char from line 42 in the file labelcas.dtx
before compiling.

Paper-format of the documentation is a4. If you wish to have the
documentation in letter-paper, it should be sufficient to remove
the a4paper-option in line 29 of the file labelcas.dtx before
compiling.

Within the source-code for the documentation, the hyperref-package is
used. If you wish to obtain the documentation without (colorized)
hyperlinks (e.g., for printing), make sure that the hyperref-package
is loaded with the "draft"-option by activating line 34/removing the
leading percent-char from line 34 in the file labelcas.dtx before
compiling.

EOF README

Download the contents of this package in one zip archive (236.7k).

labelcas – Check the existence of labels, and fork accordingly

The package defines two commands:

  • \eachlabelcase, which distinguishes whether a set of labels is defined, and for each label either queues action accordingly, or appends the action to a macro; and
  • \lotlabelcase, which takes a comma-separated list of label names, and distinguishes the resulting action on whether all were defined, whether none were defined, whether not all were defined, or whether the lest is empty (again, the action resulting from \lotlabelcase may be written to a macro).

Packagelabelcas
Version1.12
LicensesThe Project Public License 1.3
Copyright2006 Ulrich Diez
MaintainerUlrich Diez (inactive)
Contained inMiKTeX as labelcas
TopicsMacro support
Obsolete
Label and References
...
Guest Book Sitemap Contact Contact Author