Make TikZ library use babel to not break with French (#247)

* Make TikZ library use babel to not break with French

Rendering was incorrect when using French babel: `\usepackage[french]{babel}` (and probably other languages). This can be fixed by configuring TikZ to use babel too.

Fix #219

* Configure TikZ to use babel wherever it is used

* Update CHANGELOG
This commit is contained in:
Audric Schiltknecht 2025-07-31 17:59:47 -04:00 committed by GitHub
commit 172f632d5f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 6 additions and 1 deletions

View file

@ -1,4 +1,5 @@
version next
- Fix french babel breaking contemporary style (#219)
- Fix birthdate not showing up in contemporary style (#244)
- Fix Inspire HEP social link (#241)
- Change moderncvcolors.tex to a .sty file for MikTeX compatibility (#199)

View file

@ -17,6 +17,7 @@
% required packages
%-------------------------------------------------------------------------------
\RequirePackage{tikz}
\usetikzlibrary{babel}
%-------------------------------------------------------------------------------

View file

@ -39,7 +39,7 @@
%-------------------------------------------------------------------------------
\RequirePackage{qrcode}
\RequirePackage{tikz}
\usetikzlibrary{tikzmark,fit}
\usetikzlibrary{tikzmark,fit,babel}
%-------------------------------------------------------------------------------

View file

@ -17,6 +17,7 @@
% required packages
%-------------------------------------------------------------------------------
\RequirePackage{tikz}
\usetikzlibrary{babel}
\RequirePackage{etoolbox}
\RequirePackage{xcolor}

View file

@ -230,6 +230,7 @@
% required packages
%-------------------------------------------------------------------------------
\RequirePackage{tikz}
\usetikzlibrary{babel}
\RequirePackage{multirow}
% package arydshln is needed for the dashed lines but is incompatible with fancy style
\if@moderncvbodyv%

View file

@ -17,6 +17,7 @@
% required packages
%-------------------------------------------------------------------------------
\RequirePackage{tikz}
\usetikzlibrary{babel}
%-------------------------------------------------------------------------------
% vertical timeline implementation