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.

Sometimes itemize/enumerate environments have some items who are quite short and some items who are longer.

I wish to format such environments into a compact way. For example turning:

* A
* B
* C
* DDDDDDDDDDDDD
* EEEEEEEEE

into:

* A     * B
* C
* DDDDDDDDDDDDD
* EEEEEEEEE

Is there an elegant way to do this?

share|improve this question
2  
My impression is that your readers will be quite confused by this layout. –  egreg Jan 4 at 15:51
    
Sometimes indeed, one should use it with care. However I was wondering if it is technically (easily) possible. An author can still decide after the result is compiled. –  CommuSoft Jan 4 at 15:54
2  
Have a look at tablists –  egreg Jan 4 at 15:57

1 Answer 1

up vote 1 down vote accepted

For a one-off, you can make your own \fakeitem:

enter image description here

\documentclass{article}
\usepackage{enumitem}% http://ctan.org/pkg/enumitem
\newcommand{\fakeitem}{%
  \hspace*{\itemindent}%
  \makebox[\labelwidth][r]{\textbullet}%
  \hspace*{\labelsep}}
\begin{document}
\begin{itemize}
  \item A
  \fakeitem B
  \item C
  \item DDDDDDDDDDD
  \item EEEEEEEE
\end{itemize}

\end{document}

Of course, it really depends on your actual usage how effective this might be.

share|improve this answer

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.