\DeclareRobustCommand{\tikzline}[1]{%
\protect\tikz \draw[#1] (0,0) -- (14pt,6pt);}
+\DeclareRobustCommand{\thermocouple}{%
+ \begin{tikzpicture}
+ \draw[red] (0,1pt) -- (10pt,1pt);
+ \draw[purple] (0,3pt) -- (10pt,3pt);
+ \fill[black!20] (10pt,2pt) circle (2pt);
+ \end{tikzpicture}
+}
+
% draw a thermometer in TikZ
% usage: \thermometer{bulb-location}
\newcommand{\thermometer}[1]{
the cantilever deflection (\cref{sec:pyafm:pypiezo}). The
\pypid\ package measures the buffer temperature using a
thermocouple inserted in the fluid cell (\tikzline{purple,<-},
- \cref{sec:pyafm:pypid}).\label{fig:pyafm:stack}}
+ \cref{sec:pyafm:pypid}). I represent the thermocouple with a
+ thermometer icon, because I expect it is more recognizable than
+ \thermocouple.\label{fig:pyafm:stack}}
\end{figure}
\subsection{Pycomedi}