I want to use the Cabin fonts (which are available on CTAN). It seems possible to use these fonts with LuaLaTeX, since there are type1 fonts available, and on CTAN it says:

LuaLaTeX and xeLaTeX users who might prefer type1 fonts or who wish to avoid fontspec may use the type1 option.

However, I'm using fontspec, so now I'm confused.

How can I get these fonts to work with LuaLaTex + fontespec ?

  • 3
    cabin.sty has code to make the switch automatically, so just do \usepackage{fontspec}\usepackage[sfdefault]{cabin} (or remove [sfdefault] if you don't want cabin to be your main document font).
    – jon
    Oct 1, 2013 at 17:35
  • @jon and how do I set it for just a small footer? (My main font is actually georgia set by \setmainfont{georgia} Oct 1, 2013 at 19:47

1 Answer 1


For a special footer font, I suppose you'd want to use fontspec directly. I'm not sure what your actual document looks like, but you could use fancyhdr in this case:

\newfontfamily\footerfont{Cabin}% default: Cabin-Regular

\fancyfoot[CO,CE]{\footerfont just a small footer}
\fancyfoot[RO,RE]{this is not in Cabin}


This is not the footer and it's not in Cabin.


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .