1

The following MWE doesn’t show a small capital of Ē (http://graphemica.com/Ē)enter image description here

Is there no such letter with the font libertinus or how can I make it happen with LuaLaTeX?

\documentclass{scrbook}
\usepackage{fontspec}
\setsansfont[%
  Numbers     = {Monospaced, OldStyle},
  Scale       = 0.95,
]{Libertinus Sans}
\setmainfont[%
  Numbers     = {Monospaced, OldStyle},
  Scale       = 0.95,
]{Libertinus Serif}

\begin{document}
ēĒasdfjklö\textsc{asdfēĒjklö}asdfjklöēĒ

\sffamily
ēĒasdfjklö\textsc{asdfēĒjklö}asdfjklöēĒ
\end{document}

The workaround with

\usepackage{stackengine} \newcommand\fit[3][.3ex]{\stackengine{#1}{#3}{#2}{O}{c}{F}{T}{S}} \newcommand\macron[1]{\fit{\kern-.2ex\_}{#1}} \newcommand\umlaut[1]{\fit{\kern-.05ex.\kern-.15ex.}{#1}}

works semi-well, since the bar is too long then. enter image description here

10
  • Does \textsc{\=e} work? Sep 14, 2017 at 10:20
  • nope. same result as putting in the character directly. Sep 14, 2017 at 10:22
  • Then maybe this question could help, on how to fudge accents for fonts that don't have them: tex.stackexchange.com/questions/390388/… Sep 14, 2017 at 10:23
  • Apparently, the font has no small caps variant for the “e with macron”.
    – egreg
    Sep 14, 2017 at 10:24
  • 1
    I just see that \char obviously is available in LuaLaTeX for Unicode slots, so \textsc{e\kern-.03em\char"0304} should work just fine
    – Florian
    Sep 14, 2017 at 11:15

0

You must log in to answer this question.

Browse other questions tagged .