The meaning tag has no wiki summary.
10
votes
2answers
149 views
The different meanings of LaTeX's \stop command
we know that
\stop
will cause LaTeX to stop parsing and output what it has processed up to this command.
But then I discovered another way to use it, as demonstrated in this minimum working ...
5
votes
1answer
223 views
xstring character comparison and \meaning
\documentclass[pdftex,a4paper,12pt,oneside]{book}%
\usepackage{xstring}
\begin{document}
\newcommand{\tmpa}{}
\newcommand{\tmpb}{}
\newcommand{\tmpc}{}
\renewcommand{\tmpc}{abcdefg} \noindent ...
14
votes
2answers
295 views
Every possible \meaning that a token can have
In the context of a debugging package that I am writing, I need to analyse an arbitrary token in the input stream. What are the possible outcomes of \meaning<token>?
Macro: (\protected) ...
23
votes
2answers
1k views
Introspection and reflection with LaTeX/TeX macros
Below is a short program that can use \meaning and \string to let a combination of LaTeX and TeX commands to print out the listing of macros. Unsurprisingly (nothing can surprise me with TeX any ...