3

I am trying to print a specific unicode character in LuaLaTeX using

\documentclass{article}
\begin{document}
   \char"2605 \symbol{"2605"} ^^^^2605
\end{document}

However, none of these prints the black star (unicode 2605). The first two commands show nothing while the last one prints a right double quotation mark. Help.

1 Answers1

5

Works with one of the fonts from http://www.fileformat.info/info/unicode/char/2605/fontsupport.htm

\usepackage{fontspec}
\setmainfont{DejaVu Sans}

\begin{document}
   \char"2605 \symbol{"2605} ^^^^2605
\end{document}

enter image description here

muxoveji
  • 639