Files
vpn-dns-gateway/demo/tikzrefinery/documents/assets/loop-example/loop-boxes.tex
vsun1 27b82c169e
vpn-dns-gateway/pipeline/head This commit looks good
vpn-dns-gateway/pipeline/pr-main This commit looks good
Add frozen TikZRefinery demo baseline and build pipeline
2026-11-25 22:46:33 -05:00

24 lines
691 B
TeX

% TikZ syntax demonstration: three boxes generated by one loop.
% This example explores later syntax coverage, outside the initial explicit subset.
\documentclass{article}
\usepackage[paperwidth=7cm,paperheight=3cm,margin=0.5cm]{geometry}
% TinyTeX latex uses pdfTeX in DVI mode. Select the PGF driver for dvipdfmx.
% PDF-mode compilation retains the normal automatically selected PDF driver.
\ifdefined\pdfoutput
\ifnum\pdfoutput=0
\def\pgfsysdriver{pgfsys-dvipdfmx.def}
\fi
\fi
\usepackage{tikz}
\pagestyle{empty}
\setlength{\parindent}{0pt}
\begin{document}
\begin{tikzpicture}
\foreach \x in {0,2,4} {
\draw (\x,0) rectangle ++(1,1);
}
\end{tikzpicture}
\end{document}