2

I have this code

\textbf{An example of description:}

\begin{description}
\item[enumerate] let you create enumerated lists.
\item[itemize] let you create something
\item[description] let you create something else
\end{description}

All the lines have the same spacing between them.

I would like a bigger spacing line between \textbf{An example of description:} and \item[enumerate] let you create enumerated lists.

I tried

{\setstretch{2.0}
\textbf{An example of description:}

\begin{description}
\item[enumerate] let you create enumerated lists.}
\item[itemize] let you create something
\item[description] let you create something else
\end{description}

and the display is now 2.0 spacing in the whole code, not just the first and second line. Also marks an error strike but still compiles.

How can I indicate that only 2.0 spacing in the first two lines?

3
  • Hi @user459663, have you tried inserting a vertical space \vspace, e.g. \vspace{10mm} where you would like to have the additional vertical space?
    – chrisma
    Commented Dec 4, 2018 at 10:49
  • Hi. No, I haven't tried, actually I think I need an horizontal space instead of vertical line. Commented Dec 4, 2018 at 10:53
  • @chrisma A space line between this lines \textbf{An example of description:} and \item[enumerate] let you create enumerated lists. Commented Dec 4, 2018 at 10:54

1 Answer 1

1

I'm not entirely sure I understand your question, but let me take a guess:

Your original code (without the \setstretch) produces the following output:

enter image description here

Additional vertical spacing between the bold text and the start of the \description environment can be added using \vspace.

\documentclass{article}
\begin{document}

\textbf{An example of description:}

\vspace{3em} %Can be mm, cm etc

\begin{description}
\item[enumerate] let you create enumerated lists.
\item[itemize] let you create something
\item[description] let you create something else
\end{description}

\end{document}

enter image description here

Does this answer your question?

2
  • yes, that's exactly what I wanted, thank you! Commented Dec 4, 2018 at 11:03
  • 1
    Perfect! You can accept the answer using the checkmark on the left side, to indicate that your question was answered :)
    – chrisma
    Commented Dec 4, 2018 at 11:08

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .