0

When using \paragraph{}, the first line is not indented by default. How can I change the setting so the default will be indented?

Update: Here is an example of what I want to do. I have

    \documentclass{article}
\usepackage[utf8]{inputenc}

\begin{document}

Indented paragraph.
\paragraph{Paragraph Title is not indented} Blah blah...

\end{document}

I want to indent the title of this section-paragraph, same as a standard paragraph.

  • You give no context of your setup, so we can only assume you're using the default. In the default paragraph is inline (no line break after Title) so how does indentation even make sense in this context. If you're not using the default setup, you now know why we always ask for a minimal (but complete) example showing what you're doing and what setup you're using. – daleif Jul 25 '19 at 17:26
  • Sorry, you're right, I haven't given any setup. Yes, I want to indent the Title. – Kaave Hosseini Jul 25 '19 at 17:31
  • Then give us some setup, I still do not understand what you're trying to do? If you just want an unnumbered headline the why noyæt use one of the starred sections? – daleif Jul 25 '19 at 17:33
  • I've updated the post. @daleif – Kaave Hosseini Jul 25 '19 at 18:01
  • 1
    OK, then explain why you want it to be indented? Paragraph is already adding vertical space before it, so it makes no sense to indent it as well, that just looks strange and superfluous – daleif Jul 25 '19 at 18:03
0

It is very simple with titlesec:

 \documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{titlesec}
\titlespacing{\paragraph}{\parindent}{*1.5}{0.75em}

\begin{document}

Blah blah... Some text. Some other text. Some more text. Some more text. Some other text. Some more text. Some more text.
Indented paragraph.
\paragraph{Paragraph Title is indented.} Blah blah... Some text. Some other text. Some more text. Some more text. Some other text. Some more text. Some more text.

\end{document} 

enter image description here

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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