summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/cmdstring/README
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/cmdstring/README
Initial commit
Diffstat (limited to 'macros/latex/contrib/cmdstring/README')
-rw-r--r--macros/latex/contrib/cmdstring/README14
1 files changed, 14 insertions, 0 deletions
diff --git a/macros/latex/contrib/cmdstring/README b/macros/latex/contrib/cmdstring/README
new file mode 100644
index 0000000000..30586634e2
--- /dev/null
+++ b/macros/latex/contrib/cmdstring/README
@@ -0,0 +1,14 @@
+For programmers, it is quite common to use the name of a macro (for
+instance `foo' for the macro \foo, in other words, the letters f, o,
+and o). For this purpose, it is customary to call \string which does
+this sort of things... except that it prepends the escape character,
+controlled by the counter \escapechar, in front of the name. The
+traditional way of getting rid of it, is to set \escapechar to -1
+(without forgetting to restore the proper value at the end of the
+process) or to make use of \@gobble. The former has the drawback not
+to be expandible while the second isn't completely reliable. Here we
+extend the expandible methods to make it reliable.
+
+This material is subject to the LaTeX Project Public License.
+See http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html
+for the details of that license.