Does anyone have some Tikz code for a human ear? I need it for a picture, where sound is coming from the left an hitting an ear on the right.
Maybe someone had already needed this.
Not tikz, but...
\documentclass{article}
\usepackage{graphicx,scalerel}
\def\ear{\includegraphics[height=1.8ex]{ear}}
\newcommand\lowparen{\raisebox{\dimexpr-.5\ht\strutbox+.5\dp\strutbox}{)}}
\begin{document}
\scalerel*{%
\scaleto{\lowparen}{2pt}\kern-.1pt%
\scaleto{\lowparen}{3pt}\kern-.3pt%
\scaleto{\lowparen}{4pt}\kern-.5pt%
\scaleto{\lowparen}{5pt}\kern-.7pt%
\scaleto{\lowparen}{6pt}%
}{X}\ear
\end{document}
or reverse the ear:
\documentclass{article}
\usepackage{graphicx,scalerel}
\def\ear{\scalebox{-1}[1]{\includegraphics[height=1.8ex]{ear}}}
\newcommand\lowparen{\raisebox{\dimexpr-.5\ht\strutbox+.5\dp\strutbox}{)}}
\begin{document}
\scalerel*{%
\scaleto{\lowparen}{2pt}\kern-.1pt%
\scaleto{\lowparen}{3pt}\kern-.3pt%
\scaleto{\lowparen}{4pt}\kern-.5pt%
\scaleto{\lowparen}{5pt}\kern-.7pt%
\scaleto{\lowparen}{6pt}%
}{X}\ear
\end{document}
Note: ear.png image obtained from Ear symbol in LaTeX?
\def\soundear{\scalerel*{% \scaleto{\lowparen}{2pt}\kern-.1pt% \scaleto{\lowparen}{3pt}\kern-.3pt% \scaleto{\lowparen}{4pt}\kern-.5pt% \scaleto{\lowparen}{5pt}\kern-.7pt% \scaleto{\lowparen}{6pt}% }{X}\ear}. Then, wherever intikzyou would otherwise place a printing character, you could instead place\soundear. – Steven B. Segletes Oct 04 '17 at 10:57dingbatpackage, but that seems not to me the case. – Steven B. Segletes Jul 06 '21 at 00:29ear.pngfile. – Steven B. Segletes Jul 06 '21 at 00:30