I have a quite a big amount of descriptions in my document. At the moment all of them look in the default manner. I use it to define terms with texts or with a list of keywords. Therefore, I often use something like this:
\begin{description}
\item[Term One] Definition for term one.
\item[Term Two] \hfill \begin{itemize}
\item First keyword
\item Second keyword
\end{itemize}
\end{description}
Now the definition of Term One stands on the same line like Term One and the First keyword starts on a new line.
My desired output would be that the definition for Term One begins on a new line and that the First keyword describing Term Two is displayed on a new line. All in all, it should look like:
My problem is that if I use
\usepackage{enumitem}
\setlist[description]{style=nextline}
I get a newline before the first keyword. It would be great if anybody can point out a solution where I do not have to change the code above (deleting the \hfill
is ok).
Best Answer
I hope I understood your question correctly, if so, the following gives you an environment
initemize
which simply negates the additional one-line space given when usingstyle=nextline
: