Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

warning for too small penguins #102

Merged
merged 1 commit into from
Aug 29, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/minimal.tex
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
\pingu[body=patron,body front=patron,feet color=patron, bill color=patron,eyes color=patron,wings wave,devil wings=patron,left eye devil,left eye second color=patron]
\end{tikzpicture}}}\copy0\kern\dimexpr-.5\wd0-6mm\relax%
{\smash{\raisebox{3pt}{\clap{\begin{tikzpicture}
\pingu[body=pingu@black,horse right=tino-brown, horse right mane=tino-hair, devil horns=pingu@black!80!pingu@white,eyes shiny,left wing grab, blush,tie=pink, body type=legacy,feet sit,height=9.5mm,right wing hug,right item angle=25]
\pingu[body=pingu@black,horse right=tino-brown, horse right mane=tino-hair, devil horns=pingu@black!80!pingu@white,eyes shiny,left wing grab, blush,tie=pink, body type=legacy,feet sit,height=10.33mm,right wing hug,right item angle=25]
\end{tikzpicture}}}}}\kern\dimexpr.5\wd0+6mm\relax}%
\end{preview}
\end{document}
1 change: 1 addition & 0 deletions tex/tikzpingus.sty
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,7 @@
\ifpengu@setup@manual@layers@\pgfsetlayers{background,main,middle,foreground}\fi\begingroup
\@pingu@do@back@false
\pgfqkeys{/pingu}{defaults, #1}%
\ifdim\pingu@side@h@half<10.33mm \PackageWarning{\tikzpingus@filename}{Penguins with a height below 10.33mm may have unwanted artifacts.}\fi
\scope[/pingu/@pingu,/pingu/@pingu@main]
\@pingu@drawer@bodytype@
\pingu@body@app
Expand Down