xpunctuate – Process trailing punctuation which may be redundant
The package provides commands that enable the user (or package writer) to insert punctuation after the macro. The method is similar to that of xspace, but goes further.
The package provides the commands \xperiod, \xcomma and \xperiodcomma, which follow a similar procedure to that of \xspace, and insert punctuation if and only if it is necessary.
The LaTeX Project Public License 1.2
|Copyright||2012 Philip G. Ratcliffe
Philip G. Ratcliffe|
|Contained in||TeX Live as xpunctuate|
|MiKTeX as xpunctuate|
support for development of (La)TeX macros
Download the contents of this package in one zip archive (199.5k).
Maybe you are interested in the following packages as well.
- etoolbox: e-TeX tools for LaTeX
- twoopt: Definitions with two optional arguments
- xifthen: Extended conditional commands
- l3regex: Regular expression facilities for LaTeX