summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/newverbs/README
blob: 3012c3c67d95e131593e9dd1bf4e795c97c25349 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
The 'newverbs' LaTeX package
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Copyright (c) 2010-2019 by Martin Scharrer <martin@scharrer-online.de>
Code repository: https://bitbucket.org/martin_scharrer/newverbs

This package allows the definition of \verb variants which add TeX code before
and after the verbatim text (e.g. quotes or \fbox{}).  When used together with
the 'shortvrb' package it allows the definition of short verbatim characters
which use this variants instead of the normal \verb.

Another feature is provided using the macros `\collectverb` and `\Collectverb`
which allow other macros to collect an argument verbatim to either typeset or
write it into an auxiliary file, respectively.
A `\Verbdef` macro is provided to define verbatim text to a macro which can be 
used for writing the text to auxiliary files.
This differs from the `\verbdef` macro from the `verbdef` package which define
macros with a typesetable version of the verbatim text which cannot be written
to auxiliary files.