[Tex/LaTex] Tikz-timing table dashed vertlines

rulestikz-stylestikz-timing

I'm in a tikztimingtable environment and want to include dashed vertical lines after every period width (the default number/spacing). What I currently have (code below) gives me solid gray lines, but it looks like they're drawn over my clock lines, which means any "glitch" lines in the same location aren't visible.

Is there a way to either ensure the help lines are at the back or make them dashed? (Or would someone be able to point me towards relevant tutorials/documentation for styling the horlines and vertlines?)

\begin{tikztimingtable}
  Clock & 16{C}
  \extracode
    \vertlines[help lines]{}
\end{tikztimingtable}

Best Answer

You can supply drawing options to the \vertlines about opacity (or dashes etc.) to let the background be seen through.

\documentclass{standalone}
\usepackage{tikz-timing}

\begin{document}
\begin{tikztimingtable}
  Clock & 16{C}\\
  \extracode
\vertlines[help lines,opacity=0.3]{}
\end{tikztimingtable}
\end{document}

enter image description here

or you can send the drawing commands to the background. See tikz-timing manual for examples and pgf manual (section 15.3) for documentation on drawing options.

Related Question