Fonts & Character SetsSteep accents over capitals in XeLaTeX

Information and discussion about fonts and character sets (e.g. how to use language specific characters)
Post Reply
woj-k
Posts: 15
Joined: Wed Jul 28, 2010 7:25 pm

Steep accents over capitals in XeLaTeX

Post by woj-k »

Hi everyone,

I am using XeLaTeX and Gentium Plus. I need to print lowercase-uppercase pairs of letters, some of which bear acute accents. However, acute accents are steeper on lowercase letters than they are on capitals. I understand why this is desirable in normal text, but in a table with the steep and shallow versions right next to each other, the output is rather lopsided. How can I force a particular instance of the accent to be steep over the capital?

Although I'm on XeLaTeX, for various reasons I would appreciate solutions with pure-ASCII source code (if such exist).

Code: Select all

\documentclass{article}
\usepackage{fontspec}
\setmainfont{Gentium Plus}
\begin{document}
\'C \'c

\'Z \'z etc.
\end{document}
Thanks!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
Post Reply