In TikZ & PGF Manual for Version 2.10-cvs, page 676/880 there is an example as below:
\foreach \x / \y in {1/2,a/b} {``\x\ and \y''}
It is supposed to yield: "1 and 2""a and b". But for me it gives me nothing only a blank page. Do you know the reason?
\foreach
in atikzpicture
?{``\x\ and \y''}
is not a validtikzpicture
draw command, so it yields nothing. You will get the expected output if using it outside thetikzpicture
environment.ikzpicture
, as @Amita mentioned in her/his comment. As example of MWE:\documentclass{article} \usepackage{tikz} \usepackage[active,tightpage]{preview} \setlength\PreviewBorder{1em} \begin{document} \begin{preview} \foreach \x / \y in {1/2,a/b} {``\x\ and \y''} \end{preview} \end{document}