mirror of
https://github.com/MartinThoma/LaTeX-examples.git
synced 2025-04-19 11:38:05 +02:00
The commands find . -type f -name '*.md' -exec sed --in-place 's/[[:space:]]\+$//' {} \+ and find . -type f -name '*.tex' -exec sed --in-place 's/[[:space:]]\+$//' {} \+ were used to do so.
19 lines
433 B
TeX
19 lines
433 B
TeX
\documentclass{article}
|
|
\usepackage[pdftex,active,tightpage]{preview}
|
|
\setlength\PreviewBorder{2mm}
|
|
|
|
\usepackage{tikz}
|
|
\usetikzlibrary{shapes.multipart}
|
|
|
|
\begin{document}
|
|
\begin{preview}
|
|
\begin{tikzpicture}[stack/.style={rectangle split, rectangle split parts=#1,draw, anchor=center, fill=white}]
|
|
\node[stack=5] {
|
|
\nodepart{two}a
|
|
\nodepart{three}c
|
|
\nodepart{four}c
|
|
\nodepart{five}b
|
|
};
|
|
\end{tikzpicture}
|
|
\end{preview}
|
|
\end{document}
|