Text Formattinghow do I get a new line after \paragraph

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
ougka
Posts: 43
Joined: Wed Jan 19, 2011 5:02 pm

how do I get a new line after \paragraph

Post by ougka »

Hello all,

Right now, when i use \paragraph I get the normal text starting right next to the "title" of the paragraph. How do I get a new line after the \paragraph and the text after that being indented just as a \section has normally?

Thanks a lot!

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

Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

how do I get a new line after \paragraph

Post by Stefan Kottwitz »

Hi ougka,

it depends on your document class. Which one are you using? \paragraph has to be redefined.

Alternatively, you could use the titlesec package which provides flexible commands for customizing headings. The standard class examples in the appendix of the titlesec documentation are a good start.

Stefan
LaTeX.org admin
ougka
Posts: 43
Joined: Wed Jan 19, 2011 5:02 pm

Re: how do I get a new line after \paragraph

Post by ougka »

Hello Stephan,

Thanks a lot for your reply. I am using the \documentclass[a4paper,oneside,12pt]{book} class!

Any more specific ideas of how to redefine \paragraph? I would like to avoid using another package for doing this if possible...

Thanks again
Montag
Posts: 340
Joined: Wed Jul 15, 2009 9:25 am

how do I get a new line after \paragraph

Post by Montag »

OS: Win 7 64-bit LaTeX: MikTeX 2.9 64-bit Editor: TXC 1 RC1
ananyab
Posts: 1
Joined: Thu Aug 23, 2018 4:15 pm

how do I get a new line after \paragraph

Post by ananyab »

Thank you. paragraph renewcommand is very useful. :)
Post Reply