## LaTeX forum ⇒ Text Formatting ⇒ Underfull \hbox section title with two column setting Topic is solved

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

### Underfull \hbox section title with two column setting  Topic is solved

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] [Expand/Collapse] [Download] ({untitled.tex})
\clearpage\section*{Pourquoi sont-ils persécutés ?} Lorem ipsum dolor sit amet, consectetur...

Stefan Kottwitz
Site Admin
Posts: 9501
Joined: Mon Mar 10, 2008 9:44 pm
Hi Victor,

welcome to the forum!

You can use for example sectsty to fix it:

Code: [Select all] [Expand/Collapse] [Download] ({untitled.tex})
\usepackage{sectsty}\sectionfont{\raggedright}

With a KOMA class, such as scrartcl, I would use a class feature.

Stefan
Site admin

Return to “Text Formatting”

### Who is online

Users browsing this forum: MSN [Bot] and 5 guests