tikzlings
tikzlings copied to clipboard
Options for signpost
Consider the two examples.
\documentclass{article}
\usepackage{tikzlings-owls,tikzducks}
\begin{document}
\begin{tikzpicture}[scale=5.5]
\owl[
signpost={\centering\begin{minipage}{5cm}\centering
\large Prochain(e) camp(agne) \\ 8 au 16~août 2020
\end{minipage}}]
\end{tikzpicture}
\begin{tikzpicture}[scale=5.5]
\owl
\duck[
xshift=-12.5,
yshift=5,
invisible,
signpost={\centering\begin{minipage}{5cm}\centering
\large Prochain(e) camp(agne) \\ 8 au 16~août 2020
\end{minipage}}]
\end{tikzpicture}
\end{document}
In the fist one, we use the default position for the signpost. But that does not produce a very good result. In the second one, we use a hidden duck to set correctly the position of the signpost. But it is not a beautiful hack.
Should it be possible to have xshiftsign and yshiftpost, and, also, maybe, a rotatesign ?
Thanks for opening this issue! Maybe such options to shift and rotate would be good for all addons, not just the signpost. When I have some time I have to investigate how to best do this with respect to setting the rotation point etc.
In the mean time, I suggest to place the signpost independently from the owl:
\documentclass{article}
\usepackage{tikzlings-owls}
\begin{document}
\begin{tikzpicture}[scale=5.5]
\owl
\thing[
signpost={%
\centering\begin{minipage}{5cm}
\centering\large
Prochain(e) camp(agne) \\ 8 au 16~août 2020
\end{minipage}
},
scale=0.6,
xshift=20,
yshift=15,
]
\end{tikzpicture}
\end{document}