Text FormattingModifying the section format

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
NELLLY
Posts: 113
Joined: Thu Nov 26, 2009 2:21 am

Modifying the section format

Post by NELLLY »

Many thanks Thorstan. This works perfectly now. Howeveer, when I use

Code: Select all

\titleformat{\section}{\normalfont\bfseries}{\thesection}{1em}{\uppercase}
\titlelabel{\thesection.\quad}
The dot does not appear.
What can I do?

Recommended reading 2024:

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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Modifying the section format

Post by localghost »

According to the manual it should work. I think this is worth a bug report to the maintainer. For the present you can add the period to the title format.

Code: Select all

\titleformat{\section}{\normalfont\Large\bfseries}{\thesection.}{1em}{\uppercase}
Please report new insights as soon as the maintainer has answered.
NELLLY
Posts: 113
Joined: Thu Nov 26, 2009 2:21 am

Re: Modifying the section format

Post by NELLLY »

Many thanks.
Post Reply