ADE*_*Ept 38
我至少知道两种方式:
第一:
$\ddot\smile$
Run Code Online (Sandbox Code Playgroud)
第二:
\usepackage{wasysym}
\smiley
\frownie
Run Code Online (Sandbox Code Playgroud)
或者您可以使用图像(如其他回复中所述).
DaG*_*DaG 17
什么是简单的{\ tt :-)}?
小智 9
如果您使用xelatex或lualatex,则
\documentclass{article}
\usepackage{fontspec}
\setmainfont{Symbola}
\begin{document}
\end{document}
Run Code Online (Sandbox Code Playgroud)
应该以 Symbola 字体生成黑白表情符号,可从http://users.teilar.gr/%7Eg1951d/
或某些 Linux 发行版(例如 Ubuntu)的标准包存储库中获得。MS Windows 表情符号字体也可以用于\fontspec{Segoe UI Emoji}[RawFeature={ccmp,dist}]
代替\fontspec{Symbola}.
不幸的是,标准 lualatex 或 xelatex 不支持颜色(表情符号)字体。harflatex并且luahblatex可以使用排版颜色表情符号
\documentclass{minimal}
\usepackage{harfload}
\usepackage{fontspec}
\begin{document}
\noindent
\fontspec{Noto Color Emoji}[RawFeature={mode=harf}]
?????\quad ?????
\end{document}
Run Code Online (Sandbox Code Playgroud)
harflatex并且luahblatex可以从 TeXLive Contrib 在https://contrib.texlive.info/安装,截至
2019 年 7 月。
以上是从https://tex.stackexchange.com/questions/497403/how-to-use-noto-color-emoji-with-lualatex/500180 和我自己的调查中了解到的。
Unicode的"杂项符号"包括3个简单的表情符号:0x2639- 0x263B.您可以使用可能0x2686- 0x2689为好.
对于更多变化,您将需要使用图像并以某种方式包含它们.
我很好奇导致这个问题的情况:)