TeX - LaTeX Asked on November 23, 2021
Memoir style has fancybreak{@@@} command that take arbitrary arguments. Is it possible to feed it a TikZ picture below and how?
documentclass{memoir}
usepackage{tikz}
usetikzlibrary{knots}
begin{document}
begin{tikzpicture}
draw (0,0)--(1,0);
filldraw (0,0) circle (3pt);
filldraw (1,0) circle (3pt);
end{tikzpicture}
fancybreak{@@@}
end{document}
As per @Ulrike Fischer's comment above, indeed it is very simple!
documentclass{memoir}
usepackage{tikz}
usetikzlibrary{knots}
begin{document}
defdumbell{
begin{tikzpicture}
draw (0,0)--(1,0);
filldraw (0,0) circle (3pt);
filldraw (1,0) circle (3pt);
end{tikzpicture}
}
fancybreak{dumbell}
end{document}
Another great tip by Ulrike!
Answered by user220975 on November 23, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP