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.
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.
Convert this picture to the pnm format. For instance, on Linux/Mac
OS you can use pngtopnm pic.png >pic.pnm.
Then use (e.g.) potrace to make it a vector image, potrace pic.pnm.
You can open that with inkscape and save it as tex, which
yields a document in the pstricks format. Remove the preamble and end.
Next you only need to do a regex search and replace that convers
converts \curveto to \pgfpathcurveto, similarly for \lineto and
\moveto. And a coordinate (x,y) needs to become
{\pgfqpoint{xpt}{ypt}} (the outer braces are important).
Then get rid of all \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.
I think this is the most recent siunitx' manual. Here the word percent appears only five times, and I cannot find permille or similar.
A possible answer can be found here, that is, you can put the following declaration in the preamble
\DeclareSIUnit\permille{\text{\textperthousand}}
and then use it just as the \percent macro of siunitx.
\documentclass{article}
\usepackage{textcomp} % to use \textperthousand
\usepackage{siunitx}
\DeclareSIUnit\permille{\text{\textperthousand}}
\begin{document}
In normal text
\SI{10}{\permille}
is the same as
\SI{1}{\percent}.
Also in
\textit{italic
\SI{10}{\permille}
is the same as
\SI{1}{\percent}
}
\end{document}
Best Answer
Welcome to the TikZ section of TeX.SE!
ADDENDUM: A version for tikzlings. ;-)
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 astex
, 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
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 sayingfoot 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.