Below is some code adapted from the mathtools documentation. I'd like to have extensible versions of the \vzigzag command such that the second line in the command below works as expected. What would be the easiest way of accomplishing that?






$E\zigr{a \given b}$ works.

%$E\zigr[\big]{a \given b}$ does not work.  

  • I'm afraid there is no extensible “zig zag” delimiter. – egreg Apr 30 at 20:30
  • @egreg how do I make one? – JPi Apr 30 at 20:45
  • There's one in mathabx, but it doesn't behave. :-( – egreg Apr 30 at 21:03
  • In what sense?? – JPi Apr 30 at 21:09
  • It has a minimum size that's the same as \Big. – egreg Apr 30 at 21:13

Not a very satisfying solution, because the zigzag has a minimum size like \Big.

This uses \lfilet from mathabx.


\DeclareFontShape{U}{mathx}{m}{n}{ <-> s*[0.4]mathx10 }{}




$E\zigr{a \given b}$ (normal)

$E\zigr[\big]{a \given b}$ (big)

$E\zigr[\Big]{a \given b}$ (Big)

$E\zigr[\bigg]{a \given b}$ (bigg)

$E\zigr[\Bigg]{a \given b}$ (Bigg)


enter image description here

  • 1
    Arguably you could add further deviation with \footnotesize{\given} (but it looks frail) – user170109 Apr 30 at 21:42

This is not an answer because I do not really know how the \DeclarePairedDelimiterX magic works, but to tell you that you can draw zigzags of different sizes easily with TikZ.

\draw[line width=0.06em,decorate,decoration={zigzag,segment
\draw[line width=0.08em,decorate,decoration={zigzag,segment
\draw[line width=0.1em,decorate,decoration={zigzag,segment

$(\TikzZigZag\big(\TikzZigZag[1] \bigg(\TikzZigZag[2]$

enter image description here

  • very nice, thank you. – JPi May 1 at 13:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.