13

I am looking for an ear symbol, much like the \eye in dingbats? Something like

enter image description here

would be perfect.

I want to include it into a text like I did with the eye symbol, using it instead of the "hear":

enter image description here

I could use a normal image and scale it, but it would be easier to use a symbol.

  • 1
    Please post a picture of that ear instead of the link (and maybe add a minimal example document which shows us how you created your screenshot)! Thanks. – LaRiFaRi Oct 1 '14 at 8:14
17

If you are able to use Xe- or LuaLaTeX, you may use the unicode U+1F442 by copy pasting it in your source code or like in my following MWE:

% arara: lualatex

\documentclass{article}
\usepackage{fontspec}

\begin{document}
    \setmainfont{quivira.otf}
    \symbol{"1F442}
    \setmainfont{symbola.ttf}
    \symbol{"1F442}
\end{document}

enter image description here

When you have found your symbol, you may define a macro as

\newcommand*{\ear}{{\fontspec{the_font}\symbol{"1F442}}}

For PDFLaTeX, you will have to search for other LaTeX-symbols in the common way. But I was not lucky here. If you try to add an image, you may look on posts like this.

If my solution works for you, you may possibly want to redefine the eye symbol as well in order to visually fit. This would look like the following:

% arara: lualatex

\documentclass{article}
\usepackage{fontspec}
\newcommand*{\ear}{{\fontspec{symbola.ttf}\symbol{"1F442}}}
\newcommand*{\eye}{{\fontspec{symbola.ttf}\symbol{"1F441}}}

\begin{document}
    \section{Do}
    \eye \hspace{1cm} do

    \noindent\ear
\end{document}

enter image description here

  • Thanks a lot - this worked perfectly after I figured out that the font is called Symbola and. Or symbola - and that after about ten years with Linux and two with Mac. – Rainer Oct 1 '14 at 11:03
16

Here, I just saved your ear image into a file (ear.pdf and/or ear.eps), and used a scaled \includegraphics to insert it. You can vary the size, which I set to a height of 2ex.

\documentclass{article}
\usepackage{graphicx,dingbat}
\def\ear{\includegraphics[height=2ex]{ear}}
\begin{document}
Ear and eye symbols: 

\ear{} and \eye
\end{document}

enter image description here

  • Thanks. Nice approach - but I prefer for my case the previous Unicode approach and LuaLaTeX. – Rainer Oct 1 '14 at 15:25
  • 2
    @Rainer I'm glad you found something that suits your particular need. – Steven B. Segletes Oct 1 '14 at 16:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.