diff options
author | Karl Berry <karl@freefriends.org> | 2015-09-20 22:31:12 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2015-09-20 22:31:12 +0000 |
commit | 9280f63533af6460c33dbfcf486a5e5368afed53 (patch) | |
tree | 4d9646df783056a13bfdfe201d510c6fe07c5858 /Master/texmf-dist/doc/latex | |
parent | bf941dd6fd9a67534bf00d114908c151b5fd1606 (diff) |
multiexpand (20sep15)
git-svn-id: svn://tug.org/texlive/trunk@38416 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex')
-rw-r--r-- | Master/texmf-dist/doc/latex/multiexpand/README | 31 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/multiexpand/multiexpand.pdf | bin | 375421 -> 0 bytes |
2 files changed, 0 insertions, 31 deletions
diff --git a/Master/texmf-dist/doc/latex/multiexpand/README b/Master/texmf-dist/doc/latex/multiexpand/README deleted file mode 100644 index 160664a37ee..00000000000 --- a/Master/texmf-dist/doc/latex/multiexpand/README +++ /dev/null @@ -1,31 +0,0 @@ -Variations on the `\expandafter` TeX primitive -============================================== -* E-mail: blflatex@gmail.com -* Released under the LaTeX Project Public License v1.3c or later - See http://www.latex-project.org/lppl.txt - -Every TeX programmer knows `\expandafter`, and how messy it can become -when trying to expand several times a very deeply hidden token. For -example, say we want to expand `\C` four times before `\A` and `\B` in -`\A\B\C`. The traditional approach would be to insert 15 `\expandafter` -before `\A` and the same number before `\B`. With this package one can -do either of the following - - \expandafter\A\expandafter\B\romannumeral\multiexpand{4}\C - \expandafter\A\romannumeral\multiexpandafter{4}\B\C - -In one step of expansion (triggered by the `\expandafter`'s), -`\romannumeral\multiexpand{4}` expands the following token 4 times, -whereas `\romannumeral\multiexpandafter{4}` expands the token after -that 4 times. For more complicated cases, use `\MultiExpandAfter`: - - \MultiExpandAfter{2}\a\MultiExpandAfter{3}{% - \MultiExpandAfter{10}\b\MultiExpandAfter{10}\c\d} - -expands `\d` 10 times, then `\c` 8 times, then `\b` once. -The whole process only takes two steps of expansion. - -The package can be built from the file `multiexpand.dtx' by running - - pdflatex multiexpand.dtx - pdflatex multiexpand.dtx diff --git a/Master/texmf-dist/doc/latex/multiexpand/multiexpand.pdf b/Master/texmf-dist/doc/latex/multiexpand/multiexpand.pdf Binary files differdeleted file mode 100644 index 9a87dcd6da0..00000000000 --- a/Master/texmf-dist/doc/latex/multiexpand/multiexpand.pdf +++ /dev/null |