TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to format paragraph to work as a regular title

\paragraph{title} text goes here

output of that is:

title text goes here

how can I change the output to force line break and use the usal indentation of 1st line?


text goes here


edit1: this is for a thesis and I'm using the document class - book. I don't want to use \subsubsection because this is the structure of the document. I just simply need one level of headers deeper.

And that is why I wanted to use \paragraph as a heading not as paragraph.

edit2: clarification: I'd like paragraph to behave like a header like section subsection subsubsection etc

share|improve this question
The code in my answer also works for the »book« class. You may need an additional \setcounter{secnumdepth}{3} in the preamble to number subsubsections. If you also want numbered paragraphs, you will need \setcounter{secnumdepth}{4}. – Thorsten Donig Nov 8 '10 at 8:12
up vote 16 down vote accepted

You didn't say anything about your document class. So, here comes an example for article that uses the titlesec package.


\titlespacing*{\paragraph}{0pt}{3.25ex plus 1ex minus .2ex}{0.5em}


You can easily adjust the space before and after the heading according to your needs. The package manual has the details. The package also masters page styles so that it might not be necessary to load fancyhdr.

Note that the blindtext package is only used for creating dummy text thus not part of the solution.

share|improve this answer
I didn’t know about blindtext. Quite useful for testing! – Caramdir Nov 7 '10 at 17:13
@Caramdir: There's something about the text used in blindtext that drives me nuts. It is good for testing document structure though. – TH. Nov 8 '10 at 4:45
thumbs up for blindtext! it's great for testing! So using it, i know I got Just what I wanted!! THANK YOU so much! – Splashy Nov 9 '10 at 17:45

With the default settings, your request would render exactly like a \subsubsection*, so maybe you could just use that instead of \paragraph?


share|improve this answer
One could also use \subsubsection (the non-starred variant) and add \setcounter{secnumdepth}{2} to the preamble (the default value for the article class is 3). – lockstep Nov 7 '10 at 17:23
Has also been my first idea because it is simple. But probably the vertical distance between heading and first paragraph is too big and it can't be adjusted. – Thorsten Donig Nov 7 '10 at 18:02
this is idea is simple and is what I had in mind in case i would not solve the issue in any other way. Besides what Thorsten said the problem with this is also the impossibility to use subsubsection in toc and not subsubsection*. Although in toc that would not be a problem it could be tricky in minitoc where you tend to use higher setcounters. (I'm hope i was clear on this last comment) – Splashy Nov 9 '10 at 17:49

This seems like the least hacky approach:

\paragraph*{Some title stuff}\leavevmode\\
blah blah blah

It tests OK with \documentclass{report|book} too.

The * in \paragraph*{} is not essential; it just keeps the heading out of a Table of Contents.

If you want the text indented, you can add a blank line instead of \\.

I got the idea for this from a similar solution to the problem of adding a line break after the label of an item in the description environment.

share|improve this answer
Welcome! Very hacky ... – Kurt Nov 21 '15 at 19:49

Another hacky but easy to understand approach is simply filling the line:


The double newline above is probably required.
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.