Text FormattingUnderfull \hbox section title with two column setting

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
Victor
Posts: 2
Joined: Thu Nov 07, 2019 2:06 am

Underfull \hbox section title with two column setting

Post by Victor »

Hi everyone!

First of all, I'm new on this forum and have a no experience using LaTeX. Therefore I would like to apologize for any mistakes.

That being said, the subject may not be clear enough thus hopelly this will explain everything : I'm trying to do my own two-columned report with LaTeX. The issue comes while I'm writing the title of a section which is wider than the column itself.

The output is ugly and I have no clue how to solve it.

Code: Select all

\clearpage
\section*{Pourquoi sont-ils persécutés ?}

Lorem ipsum dolor sit amet, consectetur...
Image

Recommended reading 2024:

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

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

User avatar
Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

Underfull \hbox section title with two column setting

Post by Stefan Kottwitz »

Hi Victor,

welcome to the forum!

You can use for example sectsty to fix it:

Code: Select all

\usepackage{sectsty}
\sectionfont{\raggedright}
With a KOMA class, such as scrartcl, I would use a class feature.

Stefan
LaTeX.org admin
Post Reply