Is there a way to make a timing gap using the tikz-timing package or tikz, like the timing gap highlighted in the picture below?

Timing Gap

  • 2
    Welcome to TeX.SE! Please provide us with an MWE, not just a screen shot. – user121799 May 15 '18 at 23:37
  • Just one more thing: an almost identical question (I believe) has been asked here, also without MWE. As you see, there is no answer. So, if you want to have a timely answer (and also avoid that your question is being closed), please consider posting an MWE. – user121799 May 16 '18 at 0:31
  • Yes there is a reference to an web api, with online editor to make this wavedrom, its an open source HTML5 and has the option implemented for gaps, for the tikz-timing, in a quick view I did not find something similar, only dotted separations. Maybe, if you provide the precious and required MWE, some experts can do it using their best tricks in the tikz way ... – J Leon V. May 16 '18 at 3:35

(Because I was a bit bored:) Note, there are bound to be several other ways of doing the same thing, and likely better ways. I define a style for a node, and draw the gap symbol as a path picture. The placement will depend on your diagram. In this case note the timing specification (2L N(A1) 4H N(A2) L) includes two named nodes A1 and A2, and the gap node is placed using those as a reference.

enter image description here


  alias path picture bounding box/.code=%https://tex.stackexchange.com/q/395628
    \pgfnodealias{#1}{path picture bounding box},
    inner sep=0pt,
    minimum size=#1,
    node contents={},
    path picture={
       \tikzset{alias path picture bounding box=@}
       \fill [white] (@.265) to[out=40,in=220] (@.70) -- 
                     (@.85)  to[out=220,in=40] (@.250) -- cycle;
       \draw [very thin] (@.265) to[out=40,in=220] (@.70)
                         (@.85)  to[out=220,in=40] (@.250);
    foo & 2L N(A1)  4H N(A2) L\\
    \node[gap, at={($(A1|-A2)!0.5!(A2)$)}];

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.