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 use itemize environment with the bullet style before each item. I found out that the french option with the babel package seems to define the dash style for the itemize environment. It is not even possible to "overwrite" this definition in the preamble as it is suggested in this answer.

Here is my MWE for you to play around with it:

\documentclass{article}
\usepackage[french]{babel}

\def\labelitemi{$\bullet$}

\begin{document}

\begin{itemize}
\item Blabla
\item Bloblo
\end{itemize}

\end{document}

I can think of some ways to redefine the itemize environment in the preamble to produce the bullet even if the french option is loaded but would you have any "simple" solution to fix this problem without having to redefine the itemize environment?

Remark: I haven't tried with other options but this problem might not be limited to the french option.

share|improve this question
1  
You can use \AtBeginDocument{\renewcommand\labelitemi{$\bullet$}}. –  Gonzalo Medina Jul 11 '13 at 22:05
    
That works great. I'll gladly accept it as an answer! –  Ludovic C. Jul 11 '13 at 22:07
    
Don't forget to ping the users via @GonzaloMedina ... –  percusse Jul 11 '13 at 22:17

1 Answer 1

up vote 3 down vote accepted

With the french module for babel you can use

\AtBeginDocument{\def\labelitemi{$\bullet$}}

A complete example:

\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[french]{babel}

\AtBeginDocument{\def\labelitemi{$\bullet$}}

\begin{document}

\begin{itemize}
\item Blabla
\item Bloblo
\end{itemize}

\end{document}

Using the frenchle module, the author suggests in the documentation the use of \frlabelitems to make the redefinition; however, the execution has also to be delayed with \AtBeginDocument (I couldn't find any reference to this fact in the documentation?):

\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[frenchle]{babel}

\AtBeginDocument{\frlabelitems{\renewcommand{\labelitemi}{$\bullet$}%
\renewcommand{\labelitemii}{**}%
\renewcommand{\labelitemiii}{***}%
\renewcommand{\labelitemiii}{****}%
  }%
}

\begin{document}

\begin{itemize}
\item Blabla
\item Bloblo
\end{itemize}

\end{document}

Using the frenchb module for babel, you can redefine \FrenchLabelItem in the preamble (notice, however, that given the settings in frenchb.ldf, this change will be applied to all four levels of an itemized list):

\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[frenchb]{babel}

\renewcommand*{\FrenchLabelItem}{$\bullet$}

\begin{document}

\begin{itemize}
\item Blabla
\item Bloblo
\end{itemize}

\end{document}
share|improve this answer
    
btw: What is the difference between using \AtBeginDocument or just \def or \renewcommand in the preamble? –  Ludovic C. Jul 11 '13 at 22:33
    
@LudovicC. \AtBeginDocument delays execution to a latter time than most preamble instructions. –  Gonzalo Medina Jul 11 '13 at 22:45

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.