LaTeX forum ⇒ GeneralUppercase Accented Characters with titlesec Topic is solved

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

Uppercase Accented Characters with titlesec

Postby AleCes » Sat Apr 19, 2014 2:43 pm

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.

  1. \documentclass[a5paper, openany, 12pt]{book}
  2. \usepackage{berenis}
  3. \usepackage[LY1]{fontenc}
  4. \usepackage[top=1.7cm,headsep=0.3cm,outer=1.9cm,inner=1.9cm,bottom=1.7cm]{geometry}
  5. \usepackage[french]{babel}
  6. \usepackage{titlesec}
  7. \titleformat{\subsection}[block]
  8. {\itshape}
  9. {}
  10. {0pt}
  11. {}
  12. []
  13.  
  14. \begin{document}
  15.  
  16. \chapter{Avant-propos}
  17.  
  18. \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.}
  19.  
  20. 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.
  21.  
  22. \end{document}


Could you please suggest a workaround?

User avatar
Johannes_B
Site Moderator
Posts: 4077
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Sat Apr 19, 2014 4:09 pm

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

Postby AleCes » Sun Apr 20, 2014 6:10 pm

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

  1. \smash{États}


It'd still be interesting though to know why this happens.


Return to “General”

Who is online

Users browsing this forum: No registered users and 9 guests