I encountered this error while trying to compile my thesis. Before I did not have this error.
Any idea how I can find this Unicode character in my LaTeX document, or solve this issue?
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.
Sign up to join this communityto more easily find it add
\DeclareUnicodeCharacter{262F}{YIN YANG HERE!!!!!}
to your preamble, and search the output for that text. If you want it to display then find a yinyang.pdf image and do something like
\DeclareUnicodeCharacter{262F}{\includegraphics[height=1ex]{yinyang}}
Here is a solution with TikZ:
\documentclass[12pt]{article}
\usepackage{tikz,blindtext}
\newcommand{\yingyang}{\begin{tikzpicture}[scale=.3,baseline=-.1cm]
\draw[thick,fill=black] circle(1);
\fill[white] (0,-.5) circle(.1);
\fill[white] (0,-1) arc(-90:-270:.5) arc(-90:90:.5) arc(90:270:1) -- cycle;
\fill[black] (0,.5) circle(.1);
\end{tikzpicture}
}
\begin{document}
\blindtext\yingyang\blindtext\yingyang
\end{document}
And here is the output:
EDIT: Just type [… ,rotate=-90]
to get your desired yin-yang-character.
\Yinyang
in themarvosym
package