Using a full, updated install of TeXLive 2022 (on Mac OS 13.1 with TeXmaker), the following MWE compiles correctly with LaTeX and XeLaTeX, but somehow the small caps do not work when using LuaLaTeX.




\textsc{testing with small caps!}


Note that the same problem occurs with the sans font (when using \usepackage[sfdefault]{AlegreyaSans}).

Alegreya SC in LaTeX presents a possible workaround, but is it possible to make the typical \textsc{} solution workable?

Is it a problem with my TeXmaker settings?

enter image description here

  • 1
    I get small caps.
    – egreg
    Commented Jan 11, 2023 at 21:29
  • @egreg Thanks, this helps diagnose. It's a November install, so I'll try updating it and seeing what changes.
    – Richard
    Commented Jan 11, 2023 at 21:45
  • You could try \usepackage{fontspec} and \setmainfont{Alegreya}[SmallCapsFont={* SC},ItalicFeatures={SmallCapsFont={Alegreya SC Italic}}]
    – Thérèse
    Commented Jan 11, 2023 at 23:02
  • @egreg Unfortunately an update (including an update on the alegreya package!) still leaves me with the same problem.
    – Richard
    Commented Jan 13, 2023 at 16:02


You must log in to answer this question.

Browse other questions tagged .