Quantcast
Channel: Specifying coordinates in tikzcd arrows with a foreach loop - TeX - LaTeX Stack Exchange
Browsing latest articles
Browse All 3 View Live

Image may be NSFW.
Clik here to view.

Answer by CarLaTeX for Specifying coordinates in tikzcd arrows with a foreach...

Try with a \draw in execute at end picture:\documentclass{article}\usepackage{tikz-cd}\begin{document}\begin{tikzcd}[ every matrix/.append style={name=mymatrix}, execute at end picture={ \foreach \x in...

View Article



Specifying coordinates in tikzcd arrows with a foreach loop

I'm trying to use a foreach loop to draw a whole bunch of arrows in a tikzcd environment by using the foreach loop to specify coordinates but I can't get it to compile. Here's a minimal example of what...

View Article

Image may be NSFW.
Clik here to view.

Answer by Qrrbrbirlbel for Specifying coordinates in tikzcd arrows with a...

This is a classical expansion problem.The \arrow macro just takes everything between [ and ] and stores it as-is in a long list which gets processed much later. At that point \x isn't 2 or 3 anymore.I...

View Article
Browsing latest articles
Browse All 3 View Live




Latest Images