Comprehensive TeX Archive Network

Direc­tory macros/latex/contrib/newverbs

The 'newverbs' LaTeX package
Copyright (c) 2010-2012 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.

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

newverbs – De­fine new ver­sions of \verb, in­clud­ing short verb ver­sions

The pack­age al­lows the def­i­ni­tion of \verb vari­ants which add code be­fore and af­ter the ver­ba­tim text (e.g., quotes or sur­round­ing \fbox{}). When used to­gether with the short­vrb pack­age it al­lows the def­i­ni­tion of short ver­ba­tim char­ac­ters which use this pack­age’s vari­ant in­stead of the nor­mal \verb.

In ad­di­tion, it is pos­si­ble to col­lect an ar­gu­ment ver­ba­tim to ei­ther type­set or write it into a file.

The \Verb­def com­mand de­fines ver­ba­tim text to a macro which can later be used to write the ver­ba­tim text to a file.

Li­cense The Project Public Li­cense 1.3
Main­tainerMartin Schar­rer
TDS archivenewverbs.tds.zip
Con­tained inTeX Live as newverbs
MiKTeX as newverbs
Topics ver­ba­tim type­set­ting, etc.
See also shortvrb
Guest Book Sitemap Contact Contact Author