CTAN Comprehensive TeX Archive Network

version – Conditionally include text

De­fines macros \in­clude­ver­sion{NAME} and \ex­clude­ver­sion{NAME}, each of which de­fines an en­vi­ron­ment NAME whose text is to be in­cluded or ex­cluded from com­pi­la­tion.

Although the com­mand syn­tax is very sim­i­lar to that of com­ment, com­ment.sty is to be pre­ferred to ver­sion.sty for doc­u­ments where sig­nif­i­cant chunks of text may be ex­cluded.

Sources/macros/latex/contrib/version
Doc­u­men­ta­tion
Ver­sion2.0
Li­censesFree li­cense not oth­er­wise listed
Main­tainerDon­ald Arse­neau
Stephen Bel­lan­toni
Con­tained inTeX Live as ver­sion
MiKTeX as ltxmisc
TopicsCon­di­tional com­pi­la­tion
See alsooptional
verbatim
versions
comment

Down­load the con­tents of this pack­age in one zip archive (298.2k).

Com­mu­nity Com­ments

Load­ing...

An­nounce­ments

Here you can see a re­spec­tive di­a­gram in newer browsers.

more

Guest Book Sitemap Contact Contact Author