CTAN Comprehensive TeX Archive Network

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).

LicensesThe Project Public License 1.3
Copyright2006 Ulrich Diez
MaintainerUlrich Diez (inactive)
Contained inMiKTeX as labelcas
Label and References
Macro support

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

Community Comments



Here you can see a respective diagram in newer browsers.


Guest Book Sitemap Contact Contact Author