LaTeX forum ⇒ Document Classesdeveloper CV won't work with babel and french

Information and discussion about specific document classes and how to create your own document classes.
MartinRGT
Posts: 1
Joined: Mon May 03, 2021 4:15 pm

developer CV won't work with babel and french

Postby MartinRGT » Mon May 03, 2021 4:36 pm

Hi everyone,
I'm writing my CV with the "Developer CV" class and I would like to make it follow the french typography rules. The problem lies with the \baritem command whitch doesn't work properly when the babel package is used and set to french. Here is an example:

\documentclass[9pt]{developercv}
\begin{document}
\begin{minipage}[t]{0.5\textwidth}
	\vspace{-\baselineskip}
	\begin{barchart}{5.5}
		\baritem{JavaScript}{60}
		\baritem{PHP}{100}
		\baritem{SASS/LESS}{70}
		\baritem{Bootstrap}{70}
		\baritem{Git}{40}
		\baritem{LaTeX}{60}
	\end{barchart}
\end{minipage}
\end{document}


Without the babel package, the \baritem command works, labels and bars are aligned.
But if I try to use the babel package with the french option, the result is diferent:

\documentclass[9pt]{developercv}
\usepackage[french]{babel}
\begin{document}
\begin{minipage}[t]{0.5\textwidth}
	\vspace{-\baselineskip}
	\begin{barchart}{5.5}
		\baritem{JavaScript}{60}
		\baritem{PHP}{100}
		\baritem{SASS/LESS}{70}
		\baritem{Bootstrap}{70}
		\baritem{Git}{40}
		\baritem{LaTeX}{60}
	\end{barchart}
\end{minipage}
\end{document}


Am I doing something wrong? Why does a language package change how a command works?

Thank you for yout help,

Martin

Return to “Document Classes”

Who is online

Users browsing this forum: No registered users and 5 guests