Quantcast
Channel: Using \Alph on \foreach loop argument - TeX - LaTeX Stack Exchange
Browsing all 2 articles
Browse latest View live

Answer by egreg for Using \Alph on \foreach loop argument

\Alph expects as its argument a counter name; in your case LaTeX looks for the inexistent counters named 1, 2 and so on.A way out is to use the internal command that transforms numbers to letters, that...

View Article



Using \Alph on \foreach loop argument

Here's basically what I try to do:\begin{tikzpicture} \foreach \x in {1,2,3,4,5} { \draw (\x,1) node{\Alph{\x}}; }\end{tikzpicture}However if I do that, I getERROR: Missing number, treated as zero.I...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images