LaTeX forum ⇒ Text FormattingUnderfull \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, ...)
Posts: 2
Joined: Thu Nov 07, 2019 2:06 am

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

Postby Victor » Thu Nov 07, 2019 2:28 am

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})
  1. \clearpage
  2. \section*{Pourquoi sont-ils persécutés ?}
  4. Lorem ipsum dolor sit amet, consectetur...


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

Postby Stefan Kottwitz » Thu Nov 07, 2019 8:26 am

Hi Victor,

welcome to the forum!

You can use for example sectsty to fix it:

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

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

Site admin

Return to “Text Formatting”

Who is online

Users browsing this forum: No registered users and 3 guests