TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

So far my list looks like this:

enter image description here

I want to get rid of "item 1" and have a blank there. Except when I delete "item 1" my sublist moves up like so:

enter image description here

How can I format my list so that I can have a blank instead of "item 1"?

My latex code:

\begin{enumerate}    

\item item 1

  \begin{enumerate}
    \item sub list 1
    \item sub list 2
    \item sub list 3

  \end{enumerate}

\end{enumerate}
share|improve this question
    
related: Moving an enumerate up – barbara beeton Feb 4 at 20:03
    
How about using \hfill? – Ari Brodsky Feb 4 at 23:54
up vote 3 down vote accepted

enter image description here

You only need to remove spaces before nested enumerate.

\documentclass{article}

\usepackage[a4paper,showframe]{geometry}

\begin{document}
\begin{enumerate}
  \item%
  \begin{enumerate}
    \item sub list 1
    \item sub list 2
    \item sub list 3
  \end{enumerate}
\end{enumerate}
\end{document}

Edit: Mico noted , that I misunderstand the question :-( His and Boris solution is than correct, not mine. As an alternative to \quad you can use invisible character ~:

\documentclass{article}
\usepackage{amsmath}
\usepackage[a4paper,showframe]{geometry}

\begin{document}
\begin{enumerate}
\item ~
  \begin{enumerate}
  \item sub list 1
  \item sub list 2
  \item sub list 3
  \end{enumerate}
\end{enumerate}
    \end{document}

which gives what you like to obtain:

enter image description here

share|improve this answer
    
I think the OP wants to preserve the empty line after "1.". Your answer currently does not. – Mico Feb 4 at 19:28
    
Probably, then I misunderstand the question. I read it again, you have right! – Zarko Feb 4 at 19:33

Try this:

\begin{enumerate}
\item \leavevmode
  \begin{enumerate}
  \item sub list 1
  \item sub list 2
  \item sub list 3
  \end{enumerate}
\end{enumerate}

(see The TeXbook for the discussion of \leavevmode for switching from the 'vertical mode')

enter image description here

share|improve this answer
    
Hmmm. Please post the complete mwe – Boris Feb 4 at 19:31
2  
I'd recommend \mbox{} instead. It's true that \leavevmode is useful in some cases, but it should not land in the body of the document if possible. Explicitly, I mean, not from within a macro. – egreg Feb 4 at 21:23

Just replace item \#1 with \quad. :-)

\documentclass{article}

\begin{document}

\begin{enumerate}    
\item \quad
  \begin{enumerate}
    \item sub list 1
    \item sub list 2
    \item sub list 3
  \end{enumerate}
\end{enumerate}

\end{document}
share|improve this answer
    
I'm sorry, I misunderstand the question. See edit of my answer. I erase my previous comment! – Zarko Feb 4 at 19:39

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.