TransWikia.com

Tufte-book with tikz-timing resulting in alignment problems

TeX - LaTeX Asked by EEdude on October 1, 2020

I am writing a lecture note and decided to use the tufte-book template for it. I have to include timing diagrams hence using the tikz-timing package. It seems that the combination of these two result in alignment problems in the timing diagram.

A MWE would be like this:

documentclass[a4paper]{tufte-book}
usepackage{tikz-timing}

begin{document}

chapter{Sample Chapter}

section{Sample Section}

begin{table}
  begin{tikztimingtable}
    texttt{Clk} & 105{0.1H 0.1L} 
    texttt{Clk_Divided} & 21{C}
    texttt{nReset} & LL 19{H}
    texttt{Digits} & 3D{0001} 2D{0010} 2D{0100} 2D{1000} 2D{0001} 2D{0010} 2D{0100} 2D{1000} 2D{0001}
  2D{0010}
  end{tikztimingtable}
end{table}

end{document}

The above code produces this layout:

enter image description here

But instead of this the correct timing diagram should look like this:

enter image description here

I would be extremely grateful if someone could provide a workaround for this.

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP