Text FormattingChapter Font Size and Style

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
costanza
Posts: 4
Joined: Thu Mar 15, 2012 9:51 am

Chapter Font Size and Style

Post by costanza »

I'd like to have my chapters headings formatted this way:

"Chapter 1 - Introduction"
  • on one line
  • not in bold
  • font size 18
Any suggestions would be appreciated.

Recommended reading 2024:

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

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

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

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

Chapter Font Size and Style

Post by localghost »

For the standard classes like »report« take a look at the titlesec package. Other classes like the memoir class have built-in features.


Thorsten
costanza
Posts: 4
Joined: Thu Mar 15, 2012 9:51 am

Re: Chapter Font Size and Style

Post by costanza »

I am reading the instructions for titlesec (thanks for that) but I still cannot figure that out.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

Chapter Font Size and Style

Post by Stefan Kottwitz »

Use the command \titleformat, which is described in the titlesec manual. For a start or for better understanding, have a look at the \titleformat examples which match the headings of the standard classes described in the Appendix, 9.2. Standard Classes.

If you still have problems, perhaps show the code you tried.

Stefan
LaTeX.org admin
Post Reply