Skip to content

How to best deal with ordering of multiple wires? #6

Answered by tobiasBora
JonathanGitGood asked this question in Q&A
Discussion options

You must be logged in to vote

Ok, in this specific example, to stretch columns you need to unfold the definition of \rightManyDots as the columns are actually defined here, or add an empty column above as the size must be written above the first column. But I think I managed to get a nice version without changing any of these by using:

  • angle anchors to specify a more precise anchor, e.g. at -40° instead of south
  • invisible nodes to have even spacing (this also answers your question) via \zxX[opacity=0]{\alpha}

This way I can get:

via

\documentclass[]{article}
\usepackage{amsmath}
\usepackage{zx-calculus}

\begin{document}
\begin{align*}
\begin{ZX}[
    /utils/exec={
        \def\Zalpha{
            \zxZ{\alpha}\ar[t…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@JonathanGitGood
Comment options

@tobiasBora
Comment options

Answer selected by JonathanGitGood
@JonathanGitGood
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants