- I'm using Linux Libertine font (from system) with
XeTeX.
- In the body, I'm using
OldStyle
numerals while I wantLining
numerals in the tables. - I'm typesetting tables that have some cells with
\bfseries
text.
However, the \addfontfeature
setting is only applied to regular text, but not text that is set in \bfseries
.
MWE
\documentclass{scrartcl}
\usepackage{array,booktabs,fontspec}
\setmainfont[Ligatures={Common},Numbers={OldStyle}]{Linux Libertine O}
\begin{document}
\begin{table}
\addfontfeature{Numbers={Lining}}
\begin{tabular}{>{\bfseries}ll} \toprule
3 & 3 \\ \bottomrule
\end{tabular}
\end{table}
\end{document}
This yields:
fontspec
documentation (p 19)?v2.2b
. I read section7.2
there but it didn't help, neither would I be able to solve my problem with7.3
in the current one.