1

I am trying to include Greek letters into a section title. The MWE below produces the output desired, but also the warning

Glyph not defined in PD1 encoding,(hyperref) removing `\textalpha'

and the same for \textgamma but interestingly not for \textbeta. Obviously hyperref is causing the problem, however it is required.


\usepackage{textgreek}
\usepackage{hyperref}

\begin{document}
\section{\textalpha\textbeta\textgamma}
\end{document}

1 Answer 1

4

Use the unicode option:

\documentclass{article}
\usepackage{textgreek}
\usepackage[unicode]{hyperref}

\begin{document}
\section{\textalpha\textbeta\textgamma}
\end{document}

enter image description here

2
  • Is that MWE really defaulting to that section format?
    – Davislor
    Jul 5, 2020 at 5:35
  • 1
    @Davislor the screenshot is from the bookmarks/outline (in sumatra) , to show that hyperref handled everything correctly with the unicode option. Jul 5, 2020 at 6:05

You must log in to answer this question.

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