# How to include a Lenny face in a LaTeX document? e.g. ( ͡° ͜ʖ ͡°)

How would one include a "classic" Lenny face in a LaTeX document?

A paper is due tomorrow and I am curious. e.g. ( ͡° ͜ʖ ͡°)

I have attempted to use the verbatim environment but it has proved fruitless.

• related: Silly typesetting question – JMP May 9 '16 at 5:41
• I attempted following the techniques described, as was looking for a close to "automatic" solution. @wilx 's comment seemed to be the only one fitting that bill, but the results were... less than optimal – pixatlazaki May 9 '16 at 6:08
• I'm very curious of the context in which you need to use the face. Can you share with us the related text in the paper? – Elmo May 14 '16 at 17:42
• As an aside, I'll be especially be happy if someone could use LaTeX/TeX to make a "Jenny face"!! – amWhy Aug 19 '18 at 19:35

If you use a Unicode aware TeX dialect like XeLaTeX it is just to paste the text and make sure the chosen font contains the characters.

\documentclass{article}
\usepackage{fontspec}
\setmainfont{DejaVu Sans}

\begin{document}
( ͡° ͜ʖ ͡°)
\end{document}


Staightforward with a stack.

\documentclass{article}
\usepackage{stackengine,graphicx,trimclip,scalerel}
\begin{document}
\savestack\eye{\rotatebox{90}{$^\circ\mkern-6mu\raisebox{1pt}{)}$}}
\savestack\nose{\raisebox{3pt}{\scalebox{1}[-1]{\clipbox{0pt 1pt 0pt 0pt}{?}}}}
\savestack\mouth{\rotatebox{90}{(}}
\scaleleftright{(}{\stackanchor[2pt]{\eye \nose \eye}{\mouth}}{)}
\end{document}


From there to a macro follows directly:

\documentclass{article}
\usepackage{stackengine,graphicx,trimclip,scalerel}
\savestack\eye{\rotatebox{90}{$^\circ\mkern-6mu\raisebox{1pt}{)}$}}
\savestack\nose{\raisebox{3pt}{\scalebox{1}[-1]{\clipbox{0pt 1pt 0pt 0pt}{?}}}}
\savestack\mouth{\rotatebox{90}{(}}
\newcommand\Lenny{\scaleleftright{(}{\stackanchor[2pt]{\eye \nose \eye}{\mouth}}{)}}
\begin{document}
This is my Lenny face: \Lenny
\end{document}


And here is a variant that won't distort line spacing:

\documentclass{article}
\usepackage[nopar]{lipsum}
\usepackage{stackengine,graphicx,trimclip,scalerel}
\savestack\eye{\rotatebox{90}{$^\circ\mkern-6mu\raisebox{1pt}{)}$}}
\savestack\nose{\raisebox{3pt}{\scalebox{1}[-1]{\clipbox{0pt 1pt 0pt 0pt}{?}}}}
\savestack\mouth{\rotatebox{90}{(}}
\newcommand\Lenny{(\scalerel{\stackanchor[2pt]{\eye \nose \eye}{\mouth}}{)}}
\begin{document}
\lipsum[2] \Lenny{} \lipsum[3]
\end{document}


Finally, a more proportioned variation, that can present Lenny from different font families (by way of optional argument):

\documentclass{article}
\usepackage[nopar]{lipsum}
\usepackage{stackengine,graphicx,trimclip,scalerel}
\newcommand\Lenny[1][]{\bgroup#1%
\savestack\eye{\rotatebox{90}{\footnotesize$^\circ\mkern-6mu\raisebox{1pt}{)}$}}%
\savestack\nose{\raisebox{4pt}{\scalebox{1}[-1.3]{\clipbox{0pt 1.5pt 0pt 0pt}{?}}}}%
\savestack\mouth{\rotatebox{90}{(}}%
(\kern-1pt\scalerel{\stackanchor[1.0pt]{$\eye\nose\!\eye$}{\mouth}}{\kern-1pt)}%
\egroup%
}
\begin{document}
{\tiny rmfamily sffamily mirrored-ttfamily}\par
\scalebox{-1}[1]{\Lenny[\ttfamily]}
\end{document}


• Thank you so much @KolaB. I actually received the Populist badge yesterday for this answer, because as of then, the criteria were satisfied. I will find out today if it is taken away, with additional voting or not. – Steven B. Segletes May 10 '16 at 19:23
• That's great answer as well, isn't it? Congratulations :) – Au101 May 13 '16 at 5:29
• The top "face" has the most potential from what I see here among all answers, to make into a "Jenny face"! – amWhy Aug 19 '18 at 19:37
• @amWhy Is it any coincidence that I have two daughters named "Jenny"? Jennifer and Jenia. – Steven B. Segletes Aug 19 '18 at 20:42

With some help from Detexify, I got this first approximation:

\documentclass{article}
\usepackage{tipa}
\usepackage{amsmath}

\begin{document}
$\overset\frown{\smash(^\circ} \underset\smile{\ \text\textinvglotstop} \overset\frown{\ ^\circ} )$
\end{document}


\documentclass{article}
\usepackage{tipa,relsize,amsmath,graphicx}
\def\Lenny{\raisebox{-.8ex}{\resizebox{2.5em}{1.2em}{%
${\overset{\left(^{\overset{\frown}{\circ}}\!\! % {_{{\overset{{\text{\scriptsize\textinvglotstop}}}{\mathlarger\smile}}}}\!\!\!% ^{\overset{\frown}{\circ}}\!\right)}{}}$}}}
\begin{document}
I am Lenny \Lenny
\end{document}


You can use the following code (based on an example by David Griffiths):

\documentclass{report}
\usepackage{graphicx}
\def\len{{\mbox{$\resizebox{.31in}{.08in}{\includegraphics{len}}$}}}
\begin{document}

Here's a sample:
$\resizebox{.31in}{.08in}{\includegraphics{len}}$

Can I put it into a line of type?  $\resizebox{.43in}{.11in}{\includegraphics{len}}$
How about using the macro: \len

$$1 + \len = 0$$
\end{document}


here is the image I used:

• So Lenny changes 0 to $\infty$? :) – dejongbrent May 11 '16 at 2:32
• I think there's something wrong with your font's hinting... – Cole Johnson May 12 '16 at 5:25