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 am using itemize and then \item[option] inside it. I thought ‘option’ would end up being in boldface, but it doesn't. I'm using LaTeX. Is there a way to easily modify that without having to write \textbf for each of the options? This is what I want to achieve:

\begin{itemize}
\item[\textbf{title:}]description
\end{itemize}

using this:

\begin{itemize}
\item[title:]description
\end{itemize}

But if I use the second solution, I don't get the same thing as the first one, although I thought an item option would appear in bold without having to type textbf

share|improve this question
2  
Would you please make an example of what you're trying to achieve? –  egreg Jun 10 '12 at 11:08
    
for future reference, have a look at the enumitem package –  cmhughes Jun 10 '12 at 17:36

1 Answer 1

up vote 9 down vote accepted

Use a description environment instead of itemize:

\documentclass{article}
\begin{document}
\begin{description}
  \item[foo] text
  \item[bar] text
\end{description}
\end{document}

output

share|improve this answer
    
What's the difference between itemize and description ? I always used itemize before, and I think it worked, though it's been years so I might be wrong. –  jlo17 Jun 10 '12 at 11:14
    
@jlo17 A description environment is to describe things and an itemize environment is to have bullet points or something similar to mark different items. –  topskip Jun 10 '12 at 11:17
3  
@jlo17 See also the chapter in the wikibook about »List Structures« en.wikibooks.org/wiki/LaTeX/List_Structures –  topskip Jun 10 '12 at 11:18

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.