LaTeX 中的笑脸

LaTeX 中的笑脸

我想在我的 LaTeX 文档中添加表情符号。有没有包含大量不同表情符号的软件包?

mnsymbol和中wasysym,我发现了一些通用符号:

\documentclass{article}
\usepackage{MnSymbol,wasysym}
\begin{document}
wasysym: \smiley{} \frownie{} \blacksmiley{}

MnSymbol: \(\smile{} \frown{}\)
\end{document}

输出

但我不喜欢这个输出。实际上,我正在寻找看起来像 Google Talk、MSN 等中的“默认微笑”的笑脸;)<- 这是我最喜欢的。;)

答案1

为了完整起见(另见https://tex.stackexchange.com/a/59125/83):

Unicode 定义了各种表情符号/表情符号的代码点:U+263A 和 U+2639 处有 ☺ 和 ☹,从 U+1F601 开始还有更多。因此,您只需要一种包含这些字符的字体(DejaVu Sans 包含其中一些,还有其他字体完全支持表情符号),复制并粘贴您的表情符号,然后使用 XeLaTeX 或 LuaLaTeX。例如,

% Compile with xelatex or lualatex and DejaVu Sans installed on your system.
\documentclass{article}
\usepackage{fontspec}
\newfontfamily\DejaSans{DejaVu Sans}

\begin{document}
Some emoticons from Unicode: 

{\DejaSans ☺

答案2

软件包tikzsymbols还提供了一些符号。与 tikz 一样,您可以应用比例和颜色变化。

lanSmiley

\documentclass{article}
\usepackage{tikzsymbols}
\usepackage{textcomp}
\usepackage{parskip}
\begin{document}
This is Max \Strichmaxerl and this is Jane \Strichmaxerl. The met
over a  \Coffeecup of nice and tasty coffee. Later they went for
a \Candle-light dinner. Their love for each other was burning
like \Fire and he asked Jane to \textmarried{} him. 

He was a bit \Sey[][green!60!white] on his wedding day  and had to \Chair
down. His best man told him to be \Cooley and that everything is
going to be just fine with the \Winkey of an eye.

All guests were waiting for the famous words of the \Innocey: You
may now kiss the bride. 

Everybody was very \dSmiley at the reception. Bride and groom were
very excited \Laughey[1.4] thinking about their honeymoon, which they
planned not only to be staying  in \Bed sleeping in ;-)
\end{document}

答案3

bclogo提供这些:( 来自 bclogo 的笑脸 来自手动的

但是,这不适用于 pdfTeX,因为该包使用了pstricks

一般来说,我建议您在网上寻找一些您喜欢的笑脸,然后通过 将它们放入您的文档中includegraphics{}


添加:

marvosym还提供两个笑脸:

\documentclass{article}
\usepackage{marvosym}
\begin{document}
\Smiley{} \Frowny{}
\end{document}

输出

答案4

丁巴特风格的字体?詹姆斯·斯特林的笑脸字体怎么样:

  1. 免费选择非商业用途的采样器
  2. 标准权利商业,全套费用为 5 美元

替代文本

相关内容