CMU bold small capitals work for me with \usepackage[T1]{fontenc}
but not with \usepackage{fontspec}
. Is there a way to get a separate CMU font that only has small capitals? When I buy fonts they come with separate files for small capitals and that works fine with fontspec
.
Edit
\documentclass{report}
\usepackage{fontspec}
\setmainfont{Latin Modern Roman 10 Regular}[
BoldFeatures = {SmallCapsFont = {CMU Serif Bold}},
SmallCapsFont = Latin Modern Roman Caps]
\begin{document}
Roman. \textbf{Bold.} \textsc{Small capitals.}
\textbf{\textsc{Bold small capitals.}}
\end{document}
fontspec
package.fc-cache command not found
. So at this point it still doesn't work.