Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I have an enumerate list inside an empty description item.

The minimal file is,

\documentclass[11pt]{article}


\begin{document}
\begin{description}
\item [A Label:]

  \begin{enumerate}
  \item A1.
  \item A2.
  \item A3.
  \end{enumerate}
\end{description}



\end{document}

The problem is, A1 comes after the colon (:). As you can see here,

enter image description here

But I want A1 in a new line, with 1. aligned with 2.

I tried putting a \relax in the empty description item. Nothing was improved.

Any suggestion will be appreciated.

share|improve this question

1 Answer 1

up vote 10 down vote accepted

This must be a duplicate but I didn't see a good question to reference after a quick search so the easiest way without doing any complicated redefinitions of latex list code is

  \item [A Label:]\mbox{}\\[-1.5\baselineskip]

where the \mbox forces a paragraph start so the nested list indents normally.

share|improve this answer
    
Thanks. Worked flawlessly. I did some searching before asking the question. I did not find any. –  Masroor Nov 23 '12 at 12:42
    
If I am not mistaken, this approach may separate the two environments (description and enumerate) at a break page, in such a way that A Label: will be placed at the end of the page while the list 1., 2., 3. will move to the next page. What would be a way to avoid this behavior? –  pluton Jan 6 at 2:28
2  
@pluton using \\* rather than \\ would strongly discourage a page break –  David Carlisle Jan 6 at 10:16

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.