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 would like to add a bullet in front of every \item[], i.e.

Hello,
\begin{description}
 \item[bla] blubb
\end{description}

becomes

Hello,
bla blubb

I quickly found how to remove them from itemize statements, but not the inverse. So, I would like to know how to prepend every description's item label with something.

share|improve this question

migrated from stackoverflow.com Sep 27 '12 at 1:11

This question came from our site for professional and enthusiast programmers.

2 Answers 2

up vote 10 down vote accepted

It would probably be better if you create your own list type using enumitem's \newlist feature.

If you don't want to do so, here's a hack, but it is somehow maintainable: Use the enumitem package and do the following:

\begin{description}[font=$\bullet$\scshape\bfseries]

That is, you encode the special stuff in the thing that sould be your font, but it works fine, as long as the $\bullet (or equivalent) is in front of the actual description label.

share|improve this answer
1  
The following works really nice when put in the preamble: \usepackage{enumitem}\setlist[description]{font=\textendash\enskip\scshape\bfse‌​ries} –  Marki Aug 9 '11 at 7:04

One quick way is to do it manually for each bullet:

\begin{description}
  \item[$\cdot$ bla1] item 1
  \item[$\bullet$ bla2] item 2
  \item[$\ast$ bla3] item 3
\end{description}

This produces:

share|improve this answer
    
Obviously, that is not what I planned to do :-) –  Marki Aug 8 '11 at 14:17
    
@Marki - there may be a way to do it for each item as a renewcommand, but the quick and dirty way works. Even with a lot of items, you could do a search/replace and put in the $\cdot$ command for each item. But, maybe someone will come along and present a different way to do it. –  Chris Gregg Aug 8 '11 at 14:42
    
Though this was not the OP asked, I thank you @chris Gregg, as it was useful to me ;) –  Sosi May 20 '13 at 10:50
    
Hi, could you build subitem under your prescription? I used "\subitem[$\cdot$ bla1] item 1", it gives me "[. bla1] item1". I do not want the "[]". –  user26143 Sep 4 at 13:17

Your Answer

 
discard

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