The grind in the figure contain a grid of 2×8 squeezers (2 rows and 8 columns) and I use 4 elements.
How could I tell tikz-timing
to use a grid of 1×4 squeezers?
Below is an example of my code:
\documentclass{standalone}
\usepackage{tikz-timing}
\usetikztiminglibrary{nicetabs}
\begin{document}
\begin{tikztimingtable}
& 4L\\
& 4H\\
& CCCC \\
& [C]CCCC \\
& 2{2C} \\
\extracode
\tablegrid[black!25]
\end{tikztimingtable}
\end{document}
Best Answer
\tablegrid
uses thegrid
command of TikZ, which is controlled by thestep
setting. There is alsoxstep
andystep
if you want to set the grid step size different for each axis. In your case you want to setstep=1
. The default isstep=.5
.