blob: de9dc263f4bce10075caae7393c1eb74a82d010c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
`xpeek`: Define commands that peek ahead in the input stream
============================================================
The `xpeek` package provides tools to help define commands that,
like [`\xspace`][1], peek at what follows them in the command stream
and choose appropriate behavior.
The code is adapted from an answer posted to [TeX.SX][2] by
Enrico “egreg” Gregorio at <http://tex.stackexchange.com/a/59542/2966>,
with modifications according to suggestions & contributions by
Enrico, Joseph Wright, Bruno Le Floch, & Clemens Niederberger;
see <http://tex.stackexchange.com/q/63568/2966>
and <http://thread.gmane.org/gmane.comp.tex.latex.latex3/2894>.
License
-------
Copyright © 2012 by Joel C. Salomon <joelcsalomon@gmail.com>.
This work consists of the file `xpeek.dtx`,
and the derived files `xpeek.ins`,
`xpeek.pdf`, &
`xpeek.sty`.
It may be distributed and/or modified under the conditions of the
LaTeX Project Public License (LPPL), either version 1.3c of this
license or (at your option) any later version. The latest version
of this license is at <http://www.latex-project.org/lppl.txt>.
This work is “maintained” (_per_ LPPL maintenance status) by
Joel C. Salomon <joelcsalomon@gmail.com>.
[1]: http://ctan.org/pkg/xspace
[2]: http://tex.stackexchange.com
|