5

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?

3
  • 2
    Are you bound to pdflatex or open to xe-/lualatex?
    – TeXnician
    Aug 5, 2018 at 15:23
  • I am bount to pdflatex
    – DriesDK
    Aug 5, 2018 at 15:25
  • 1
    There is \Yinyang in the marvosym package
    – egreg
    Aug 5, 2018 at 16:04

2 Answers 2

11

to 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}}
2
  • Thanks, I found the yingyang symbol. It was generated by the Bibtex file due to an automatic recognition of a paper.
    – DriesDK
    Aug 5, 2018 at 16:43
  • The issue has been resolved.
    – DriesDK
    Aug 5, 2018 at 16:44
1

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:

Screenshot

EDIT: Just type [… ,rotate=-90] to get your desired yin-yang-character.

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .