1

If I add something like

\paragraph{Title} Paragraph text

to my LaTeX document, "Title" will have a bold font. I want to change it to \textit. How can I do it for \paragraph{} and \paragraph*{} commands without switching to another document class (maybe using \renewcommand)? I use the report class.

  • Your question is already answered by an existing thread: Redefining commands in Latex (\section in particular). In your case use \makeatletter\renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}{3.25ex \@plus1ex \@minus.2ex}{-1em}{\normalfont\normalsize\itshape}}\makeatother. If you, however, use a non-standard document class this solution will not work. – Martin Scharrer Jan 12 at 18:31
  • @MartinScharrer Thanks for the pointer, but I would not be able to come to the command, which you provided, using that answer. – SergiyKolesnikov Jan 12 at 19:02
3

You can load titlesec and add to your preamble:

\titleformat*{\paragraph}{\itshape\mdseries}

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.