I have a question that maybe it's simple but I can't do by myself. I want to enumerate items (I'm doing with \begin{enumerate}
) but also, want to write paragraphs below each \item
. Something like this:
The methods are:
1. Classic
The best for almost all cases. This is very used and it's the easiest option. We recommend you
to use it too over other options
2. Advanced
The best for advanced users.
Something Word-like text. How can I do it? I tried some packages, cmd's but the paragraphs are always indented.
This is my code:
...
\begin{enumerate}
\itemindent=17.87pt
\item \textbf{Copyrights.}
%Here should be paragraphs without enumerating or indentation.
\item \textbf{Tools}
\end{enumerate}
Hope you can help me.
You can use enumitem
to set an enumerate
with the wide
option, and additionally push back the paragraph indent by \labelwidth.
Below I incorporate these settings in a newly-defined methods
environment, with \newmethod{<method>}
setting the method title (so it can be easily changed in the future).
\documentclass{article}
\usepackage{enumitem}
\usepackage{lipsum}
\newlist{methods}{enumerate}{1}
\setlist[methods]{%
label={\arabic*.},
ref={\arabic*},
wide,
listparindent=-\labelwidth
}
\NewDocumentCommand{\newmethod}{ m }{\item \textbf{#1}}
\begin{document}
\lipsum[1]
The method are:
\begin{methods}
\newmethod{Classic}
The best for almost all cases. This is very used and it's the easiest option.
We recommend you to use it too over other options
\newmethod{Advanced}
The best for advanced users.
\end{methods}
\lipsum[2]
\end{document}