Text Formatting ⇒ Enumerated Paragraphs
Enumerated Paragraphs
Generally paragraphs are not enumerated in Latex. But it has been a common occurrence especially on govt reports that, within a particular section/subsection, certain points are enumerated with the corresponding section/subsection number prefixed. I would like to know how to do that in Latex --either to treat each of the points as sub(sub)sections without a title, or as paragraphs specially enumerated? Thanks in advance. Which is better and how it is to be done? Thanks in advance.
NEW: TikZ book now 40% off at Amazon.com for a short time.

Re: Enumerated Paragraphs
Hi aram,
Welcome to the LaTeX community!
I am not sure I understand what you mean. Can you elaborate a bit and maybe post an example of what the code and the pdf should look like in the end?
Regards
Welcome to the LaTeX community!
I am not sure I understand what you mean. Can you elaborate a bit and maybe post an example of what the code and the pdf should look like in the end?
Regards
site moderator & package author
Re: Enumerated Paragraphs
What I mean by enumerated paragraphs is that, in a particular section/subsection, a list of short paragraphs which are enumerated but prefixed with the concerned section/subsection number. In some documents say,a statement of some society byelaws they list out a range of short paragraphs(hardly three or four lines in each para). But these paragraphs are actually enumerated lists, the only difference is, the numbers are prefixed by the concerned section/subsection numbers. I hope I have made it clear.
Enumerated Paragraphs
Maybe you should actually use a list then. The enumitem package could help here:aram wrote:[...] these paragraphs are actually enumerated lists, the only difference is, the numbers are prefixed by the concerned section/subsection numbers.
Code: Select all
\documentclass{article}
\usepackage[inline]{enumitem}
\newlist{paragraphs}{itemize*}{1}
\setlist[paragraphs]{
label=(\textbf{\thesection}),
itemjoin=\newline\hspace*{\parindent}
}
\usepackage{lipsum}% dummy text
\begin{document}
\section{Foo}
\begin{paragraphs}
\item \lipsum[2]
\item \lipsum[2]
\end{paragraphs}
\section{Bar}
\begin{paragraphs}
\item \lipsum[2]
\item \lipsum[2]
\end{paragraphs}
\end{document}
site moderator & package author