I would like to be able to make the label below (which I have made red) have text size equivalent to \tiny
but I can not figure out how to do it? I have not been able to find anyone else trying to change the label text size with tikz-timing
; is it a PGF or tikz problem?
What is the syntax?
I fear this is going to be an obvious misunderstanding of LaTeX, PGF, TikZ, and tikz-timing
. I am a little confused which syntax to use when setting the style of the label.
I don't want to apply the changes to all labels as discussed in the following question: How can I change the font family in pgfplots?
Here is what I am starting with:
\begin{tikztimingtable}
Clock 128\,MHz 0\degr & H 12{2C} G \\ % ends with edge
\color{red} Clock 128\,MHz 90\degr & [C] 12{2C} C \\ % starts with edge
Clock 128\,MHz 180\degr & C 12{2C} G \\ % ends with edge
Clock 128\,MHz 270\degr & 12{2C} C \\
\end{tikztimingtable}
Attempted variations that do not work
\color{red} Clock 128\,MHz 90\degr & [C] 12{2C} C
\color{red} \tiny Clock 128\,MHz 90\degr & [C] 12{2C} C
\color{red} \tiny{Clock 128\,MHz 90\degr} & [C] 12{2C} C
\tikzset{every axis label/.append style={font=\sffamily\footnotesize}}
\color{red} Clock 128\,MHz 90\degr} & [C] 12{2C} C
\color{red} [font=\sffamily\footnotesize}] Clock 128\,MHz 90\degr} & [C] 12{2C} C
\tikzset{every node/.append style={scale=0.3}}
\color{red} Clock 128\,MHz 90\degr} & [C] 12{2C} C
Edit
The following code is what breaks, I am trying to make it a standalone document class; type article works as you observed.
\documentclass[class=minimal,border=10pt]{standalone} %breaks on \tiny
% Error|line 15|!Undefined sequence.<argument> \tinyClock\tiny Clock & [C] 12{2C} C\\
%\documentclass{article} % works with \tiny
%
\usepackage{tikz-timing}
%
%
\begin{document}
%
\begin{tikztimingtable}
Clock & H 12{2C} G \\
\tiny Clock & [C] 12{2C} C \\
Clock & C 12{2C} G \\
Clock & 12{2C} C \\
\end{tikztimingtable}
%
\end{document}