CTAN Comprehensive TeX Archive Network

CTAN update: xpunctuate

Date: August 14, 2023 7:20:20 PM CEST
Philip G. Ratcliffe submitted an update to the xpunctuate package. Version: 2.0 2023-08-13 License: lppl1.3c Summary description: Process trailing punctuation which may be redundant Announcement text:
Overhauled all user commands, introduced \NewDocumentCommand, added \xspaceafter.
The package’s Catalogue entry can be viewed at https://ctan.org/pkg/xpunctuate The package’s files themselves can be inspected at https://mirrors.ctan.org/macros/latex/contrib/xpunctuate/
Thanks for the upload. For the CTAN Team Petra Rübe-Pugliese
CTAN is run entirely by volunteers and supported by TeX user groups. Please join a user group or donate to one, see https://ctan.org/lugs

xpunctuate – Process trailing punctuation which may be redundant

The package provides commands enabling the user (or package writer) to insert punctuation after a 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.

It also provides \xperiodafter, \xcommaafter, \xperiodcommaafter and \xspaceafter, which all take one argument, the word or phrase to be punctuated. These then avoid problems with the spacing of periods and commas after emphasised words.

Packagexpunctuate
Version2.0 2023-08-13
Copyright2012–2023 Philip G. Ratcliffe
MaintainerPhilip G. Ratcliffe

Announcements

more

Guest Book Sitemap Contact Contact Author