LaTeX forum ⇒ 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, ...)
ougka
Posts: 43
Joined: Wed Jan 19, 2011 5:02 pm

how do I get a new line after \paragraph

Postby ougka » Tue May 17, 2011 9:56 pm

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!

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

Postby Stefan Kottwitz » Wed May 18, 2011 7:50 am

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
Site admin

ougka
Posts: 43
Joined: Wed Jan 19, 2011 5:02 pm

Postby ougka » Wed May 18, 2011 11:03 am

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

Postby Montag » Wed May 18, 2011 11:16 am

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

Postby ananyab » Thu Aug 23, 2018 4:21 pm

Thank you. paragraph renewcommand is very useful. :)


Return to “Text Formatting”

Who is online

Users browsing this forum: Baidu [Spider] and 4 guests