Standalone LaTeX/TikZ skill for non-tensor paper figures: node/edge macros, lint-on-warning build, golden examples, and negative fixtures.
15 lines
407 B
TeX
15 lines
407 B
TeX
% A second callout in the figure must dirty the build.
|
|
\documentclass[border=2pt]{standalone}
|
|
\usepackage[en]{superfig}
|
|
\sfsetrole{x}{sfTeal}
|
|
\begin{document}\begin{tikzpicture}
|
|
\sfrow{R1}{10mm}
|
|
\sfnode[role=x]{A}{A}{12mm}{8mm}
|
|
\sfrowend
|
|
\sfrow{R2}{10mm}
|
|
\sfnode[role=x]{B}{B}{12mm}{8mm}
|
|
\sfrowend
|
|
\sfcallout{N1}{3cm}{R1}{one}{first}
|
|
\sfcallout{N2}{3cm}{R2}{two}{second}
|
|
\end{tikzpicture}\end{document}
|