I want to use $\bullet$
for the item label. In most LaTeX classes I would use
\usepackage{enumitem}
\setitemize{label=$\bullet$}
However this won't work in beamerarticle
since enumitem
doesn't play nice with everything beamer
-related (see for instance Trouble combining enumitem and beamer)
Here is an example that pdflatex will fail to compile (in TeXLive 2014).
\documentclass{article}
\usepackage{enumitem}
\usepackage{beamerarticle}
\setitemize{label=$\bullet$}
\begin{document}
\begin{description}
\item[first item] blabla
\item[second item] blabla
\end{description}
\end{document}
Note that I don't want to redefine the default description environment in article, only replace the "-" label used in the itemize environment with a $\bullet$.
I also tried
\renewcommand{\labelitemi}{$\bullet$}
but it needs to be put it in every document. There is a conflict with the french option of babel. See for instance:
with test.cls containing
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{test}
\LoadClass{article}
\RequirePackage[french]{babel}
\renewcommand{\labelitemi}{$\bullet$}
\endinput
the following uses the regular "-" for item labels whereas it uses bullets if babel is not loaded with the french option.
\documentclass{test}
\title{Essai}
\begin{document}
\begin{itemize}
\item blabla
\item blabla
\end{itemize}
\end{document}
Any ideas?
Best Answer
With the
french
module forbabel
, you need to do the change\AtBeginDocument
:A complete example:
Your
test.cls
then will be