Can't get bold versions of fonts for the particle naming package to appear. mwe below. A bit long, to show the permutations.
\documentclass{article}
\usepackage{multicol,color,heppennames}
\usepackage{fontspec}
%
\setmainfont{STIX2Text}[Extension={.otf},
UprightFont={*-Regular},
BoldFont={*-Bold},ItalicFont={*-Italic},
BoldItalicFont={*-BoldItalic}]
%
\usepackage[math-style=ISO,mathrm=sym,mathit=sym,mathsf=sym,mathbf=sym,mathtt=sym]{unicode-math}
\setmathfont{STIX2Math}[Extension={.otf}]
\newcommand{\texcmd}[1]{\textcolor{red}{\texttt{\char`\\#1}}}
\begin{document}
Bold fonts in heppennames/hepparticles fail with \texttt{fontspec/unicode/lualatex}.
Using \texttt{symXXX} works:
$\symup B^\pm$, $B^\pm$, $\symsf B^\pm$,
$\symbfup B^\pm$, $\symbfit B^\pm$, $\symbfsf B^\pm$,
$\symsfit B^\pm$, $\symbfsfit B^\pm$, also greek works:
$\symbf\gamma$, $\symbfup\gamma$,
$\symbf{\widetilde{\chi}^0_1}$, and $\symbfup{\widetilde{\chi}^0_1}$.
No bold $\ell$: $\symbf\ell$ or upright $\ell$: $\symup\ell$. Below
are heppennames/hepparticles versions. Also looks like sans greek is not upright in
heppennames/hepparticles.
\section{\normalfont Normal font}
\begin{multicols}{2}{
\begin{itemize}
\item charged B meson\newline \texcmd{PBpm} $\Rightarrow$ \PBpm
\item photon\newline \texcmd{Pgg} $\Rightarrow$ \Pgg
\item lepton\newline \texcmd{Pl} $\Rightarrow$ \Pl
\item lightest neutralino\newline \texcmd{PSgxzi} $\Rightarrow$ \PSgxzi
\end{itemize}}
\end{multicols}
\section{\normalfont\itshape Italic font}
{\itshape
\begin{multicols}{2}{
\begin{itemize}
\item charged B meson\newline \texcmd{PBpm} $\Rightarrow$ \PBpm
\item photon\newline \texcmd{Pgg} $\Rightarrow$ \Pgg
\item lepton\newline \texcmd{Pl} $\Rightarrow$ \Pl
\item lightest neutralino\newline \texcmd{PSgxzi} $\Rightarrow$ \PSgxzi
\end{itemize}}
\end{multicols}}
\section{\normalfont\sffamily Sans font}
{\sffamily
\begin{multicols}{2}{
\begin{itemize}
\item charged B meson\newline \texcmd{PBpm} $\Rightarrow$ \PBpm
\item photon\newline \texcmd{Pgg} $\Rightarrow$ \Pgg
\item lepton\newline \texcmd{Pl} $\Rightarrow$ \Pl
\item lightest neutralino\newline \texcmd{PSgxzi} $\Rightarrow$ \PSgxzi
\end{itemize}
}\end{multicols}}
\section{Bold font}
{\bfseries
\begin{multicols}{2}{
\begin{itemize}
\item charged B meson\newline \texcmd{PBpm} $\Rightarrow$ \PBpm
\item photon\newline \texcmd{Pgg} $\Rightarrow$ \Pgg
\item lepton\newline \texcmd{Pl} $\Rightarrow$ \Pl
\item lightest neutralino\newline \texcmd{PSgxzi} $\Rightarrow$ \PSgxzi
\end{itemize}
}\end{multicols}}
\section{\itshape Bold italic font}
{\itshape\bfseries
\begin{multicols}{2}{
\begin{itemize}
\item charged B meson\newline \texcmd{PBpm} $\Rightarrow$ \PBpm
\item photon\newline \texcmd{Pgg} $\Rightarrow$ \Pgg
\item lepton\newline \texcmd{Pl} $\Rightarrow$ \Pl
\item lightest neutralino\newline \texcmd{PSgxzi} $\Rightarrow$ \PSgxzi
\end{itemize}
}\end{multicols}}
\section{\sffamily Bold sans font}
{\sffamily\bfseries
\begin{multicols}{2}{
\begin{itemize}
\item charged B meson\newline \texcmd{PBpm} $\Rightarrow$ \PBpm
\item photon\newline \texcmd{Pgg} $\Rightarrow$ \Pgg
\item lepton\newline \texcmd{Pl} $\Rightarrow$ \Pl
\item lightest neutralino\newline \texcmd{PSgxzi} $\Rightarrow$ \PSgxzi
\end{itemize}
}\end{multicols}}
\section{\normalfont\sffamily\itshape Italic sans font}
{\itshape\sffamily
\begin{multicols}{2}{
\begin{itemize}
\item charged B meson\newline \texcmd{PBpm} $\Rightarrow$ \PBpm
\item photon\newline \texcmd{Pgg} $\Rightarrow$ \Pgg
\item lepton\newline \texcmd{Pl} $\Rightarrow$ \Pl
\item lightest neutralino\newline \texcmd{PSgxzi} $\Rightarrow$ \PSgxzi
\end{itemize}
}\end{multicols}}
\section{\sffamily\itshape Bold italic sans font}
{\itshape\sffamily\bfseries
\begin{multicols}{2}{
\begin{itemize}
\item charged B meson\newline\texcmd{PBpm} $\Rightarrow$ \PBpm
\item photon\newline \texcmd{Pgg} $\Rightarrow$ \Pgg
\item lepton\newline \texcmd{Pl} $\Rightarrow$ \Pl
\item lightest neutralino\newline \texcmd{PSgxzi} $\Rightarrow$ \PSgxzi
\end{itemize}
}\end{multicols}}
\end{document}
After modifying some font selection logic (and systematically putting in \symXXX) am here... all but \ell kinda working:



\boldmath, which can’t happen because STIX2 lacks a boldface version. – egreg Feb 11 '18 at 20:44\bfserieshas no influence on math typesetting. – egreg Feb 11 '18 at 22:58\boldmathinternally. You aren't using it explicitly, maybe, but you'd need it to work for what you want here and it can't. More specifically, the package does\g@addto@macro\bfseries{\boldmath}, so that your use of\bfseriesattempts also to switch to theboldversion of maths. But there isn't one. – cfr Feb 12 '18 at 00:32