I changed the format of subsubsection
to remove the line breaks after them using titlesec
package and the command
\titleformat{\subsubsection}[runin]{\normalfont\bfseries}{\thesubsubsection.}{3pt}{}
Complete code:
\documentclass{article}
\usepackage{titlesec}
\titleformat{\subsubsection}[runin]{\normalfont\bfseries}{\thesubsubsection.}{3pt}{}
\begin{document}
\section{Section one}
Some text
\subsection{Subsection one one}
Some text
\subsubsection{Subsubsection one one one}
This is subsubsection. Blah blah blah.
\end{document}
This produces the subsubsection title immediately followed by the body.
Now, I want to add a colon (or dash) after the title. e.g.
1.1.1. Subsubsection one one one: This is subsubsection. Blah blah blah.
Is there a way to do this?
Best Answer
Use the optional argument of
titleformat
meant for after code:Code: