I have several paragraph
s each with unique headers of differing lengths:
\documentclass[12pt]{article}
\begin{document}
\subsection{Subsection 1}
\paragraph{Title}
Paragraph text here. Paragraph text here. Paragraph text here. Paragraph text here. Paragraph text here. Paragraph text here. Paragraph text here. Paragraph text here.
\subsection{Subsection 2}
\paragraph{Long Title}
Paragraph text here. Paragraph text here. Paragraph text here. Paragraph text here. Paragraph text here. Paragraph text here. Paragraph text here. Paragraph text here.
\paragraph{Long Long Title}
Paragraph text here. Paragraph text here. Paragraph text here. Paragraph text here. Paragraph text here. Paragraph text here. Paragraph text here. Paragraph text here.
\end{document}
I'm looking for a global setting which will variably format each paragraph's text such as (disregarding the '...'):
Subsection 1
Title Paragraph text here. Paragraph text here. Paragraph text here. Paragraph text here. ........Paragraph text here. Paragraph text here. Paragraph text here. Paragraph text here.
Subsection 2
Long Title Paragraph text here. Paragraph text here. Paragraph text here. Paragraph text .................here. Paragraph text here. Paragraph text here. Paragraph text here. Paragraph .................text here.
Long Long Title Paragraph text here. Paragraph text here. Paragraph text here. Paragraph ..........................text here. Paragraph text here. Paragraph text here. Paragraph text here. ..........................Paragraph text here.
I'm sure there's a enumitem
solution, however I want to stick with using paragraph
s and stay away from enumitem
workarounds. I believe some usage of \hangindent
and/or \hangafter
might work, but I'm not sure how to do so.
paragraph
s and stay away fromenumitem
, or any sort of listing, workarounds.\paragraph
is the wrong markup here, that is a fourth level heading after section,subsection,subsubsection You are missing level three headings (which will show up if you increase secnumdepth or tocdepth so the section hierarchy is used in full)\paragraph
is one of the more misunderstood latex commands:-)