1

I'm using diacritics, and notice that pdflatex, lualatex, and xelatex place the diacritics differently. For example, in pdflatex, \d{C} results in a dot precisely under the C, as it should appear. However, the dot is displaced to the left in LuaLaTex, and to the right in XeLaTeX. That's obviously incorrect. This also happens with many other characters.

Also, \textsc{} works perfectly when using pdflatex, but with the other engines, some letters remain lowercase.

Any suggestions on how to fix the problem would be appreciated. I may be using the font/fontspec incorrectly. Here is the header I'm using.

\documentclass[11pt]{memoir} \usepackage[T1]{fontenc} \usepackage{ebgaramond}

ajya23
  • 71

1 Answers1

1

The problem was with the EB Garamond font not containing the characters you need. Switching to another font (for example, \usepackage{newcomputermodern}) will help.

Alternatively, you can use this solution to place a dot below a letter.

Davislor
  • 44,045