I was wondering if someone knows if there is a foot/feet symbol available in any of latex packages that I could use in my text? I would appreciate any hint.
I do really mean a foot/feet icon as in the picture below.
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.
Sign up to join this communityWelcome to the TikZ section of TeX.SE!
\documentclass[tikz,border=3.14mm]{standalone}
\usetikzlibrary{decorations.footprints}
\begin{document}
\begin{tikzpicture}[decoration={footprints,foot length=20pt}]
\draw [decorate] (0,0) -- (0,1.5);
\end{tikzpicture}
\end{document}
ADDENDUM: A version for tikzlings. ;-)
\documentclass[tikz,border=3.14mm]{standalone}
\usetikzlibrary{decorations.footprints}
\begin{document}
\begin{tikzpicture}
\foreach \X [count=\Y] in {human,gnome,bird,felis silvestris}
{\begin{scope}[xshift=2.25*\Y*1cm,decoration={footprints,foot length=20pt,foot of=\X}]
\draw [decorate] (0,0) -- (0,1.3);
\node[font=\sffamily] at (0,1.5) {\X};
\end{scope}}
\end{tikzpicture}
\end{document}
2nd ADDENDUM: How to create your custom footprints? I assume you have some black/white picture of a left foot, which you can legally use for that.
pngtopnm pic.png >pic.pnm
.potrace
to make it a vector image, potrace pic.pnm
.inkscape
and save it as tex
, which
yields a document in the pstricks format. Remove the preamble and end.\curveto
to \pgfpathcurveto
, similarly for \lineto
and
\moveto
. And a coordinate (x,y)
needs to become
{\pgfqpoint{xpt}{ypt}}
(the outer braces are important).\newrgbcolor
, \pscustom
and \newpath
statements and extra braces, but end all paths with \pgfpathclose
.Finally wrap this into
\makeatletter
\def\pgf@lib@foot@of@critter{
% Coordinates extracted from
% license... Unknown author.
%
% Flip and rotate
\pgftransformcm{0}{-1}{1}{0}{\pgfqpoint{0pt}{0.8pt}}
\pgftransformscale{0.005}
<result of your conversion>
\makeatother
Of course, you may have to adjust the transformations, e.g. by dialing a different scale factor in \pgftransformscale{0.005}
.
You can then access these foot prints by saying foot of=critter
. I will be happy to supplement this by an explicit example if someone points me to an image of a foot print that is free to use.
potrace
suggestion is similar to this: Adding a signature on an online job application
– Werner
Sep 10 '18 at 18:18
A version for when it's cold in the winter and one needs shoes (a problem unknown to marmots, because they hibernate):
\documentclass{article}
\usepackage{fontawesome5}
\begin{document}
\faIcon{shoe-prints}
\end{document}
\usetikzlibrary{decorations.footprints}
. – user121799 Sep 10 '18 at 15:44