for typsetting particles from physics the hepnames package is often used. After an upgrade to a win10 PC, I found that the symbols are not printing anymore - no error messages.
I use pdfLatex and found relating topics for
- luatex : How do I get the XITS font to work with unicode-math and hepnames in lualatex
- xetex : How can I set the \boldmath font with unicode-math?
Here is my minimal example:
\documentclass{report}
\usepackage{hepnames}
\begin{document}
\begin{itemize}
\item $\Pneutron$ should give $\mathrm{n}$ %does not print
\item $\Pfermion$ should give an $f$ %prints
\item $\APnue$ should give $\bar{\nu}$ %does not print
\end{itemize}
\end{document}
This is likely related to the italic font style. Using
\usepackage[italic]{hepnames}
will print all of the above examples.
This is however hardly a good fix for the package and will typeset all particle symbols in italic. Unfortunately pdflatex does not throw an error or a warning during compilation.
Any suggestions?
Best, Marc


hepnamesdoesn't 'know'upas a shape – Joseph Wright Apr 28 '20 at 08:51