GeneralUppercase Accented Characters with titlesec

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
AleCes
Posts: 286
Joined: Sat Nov 13, 2010 9:54 pm

Uppercase Accented Characters with titlesec

Post by AleCes »

Hello,

Customized sections, etc., with titlesec display an odd quirk: uppercase accented characters on the SECOND line increase line spacing. This, however, doesn't occur on the first or third lines, nor in any other part of the text. Take a look for yourself.

Code: Select all

\documentclass[a5paper, openany, 12pt]{book}
\usepackage{berenis}
\usepackage[LY1]{fontenc}
\usepackage[top=1.7cm,headsep=0.3cm,outer=1.9cm,inner=1.9cm,bottom=1.7cm]{geometry}
\usepackage[french]{babel}
\usepackage{titlesec}
\titleformat{\subsection}[block]
{\itshape}
{}
{0pt}
{}
[]

\begin{document}

\chapter{Avant-propos}

\subsection{Ce qu'il a a écrit au Président des États Unis est plus nouveau que le New Deal, plus juste que le Fair Deal des États Unis et aussi vieux que la Constitution des États-Unis. Qu'on le dise aux jeunes.}

Ce qu'il a a écrit au Président des États Unis est plus nouveau que le New Deal, plus juste que le Fair Deal des États Unis et aussi vieux que la Constitution des États-Unis. Qu'on le dise aux jeunes.

\end{document}
Could you please suggest a workaround?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Re: Uppercase Accented Characters with titlesec

Post by Johannes_B »

This question hsa also been asked on the texhax mailing list [1].

http://tug.org/pipermail/texhax/2014-April/021104.html
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
AleCes
Posts: 286
Joined: Sat Nov 13, 2010 9:54 pm

Uppercase Accented Characters with titlesec

Post by AleCes »

Thanks to Uwe Lueck on tug.org for suggesting this workaround:

Code: Select all

\smash{États}
It'd still be interesting though to know why this happens.
Post Reply