Install free Cabin Open Type fonts in your home directory. Consider this file to be compiled with XeLaTeX:
\documentclass{article}
\usepackage{fontspec}
\setmainfont{Cabin}
\begin{document}
{\scshape test}
\end{document}
Use MiKTeX on Windows. When the package cabin
is installed, then the small caps are ignored. When it is not installed, then the result is as desired.
When this is compiled on Linux using TeX Live, then the result is always as desired, whether the package is installed or not.
The same problem is with FiraSans
. Any ideas how to solve this?
cabin
package (not including it with\usepackage
, but simply installing it on MiKTeX) makes the Cabin font not work?fontspec
, and instead use the packagecabin
(orFiraSans
) and compile it XeLaTeX, then no problem:\documentclass{article} \usepackage{cabin} \begin{document} {\sffamily\scshape test} \end{document}