diff options
Diffstat (limited to 'tools/french.sty')
-rw-r--r-- | tools/french.sty | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/tools/french.sty b/tools/french.sty new file mode 100644 index 0000000..9e67a50 --- /dev/null +++ b/tools/french.sty @@ -0,0 +1,28 @@ +\ProvidesPackage{french} +%~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~% +% Packages % +%~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~% + +\RequirePackage[utf8]{inputenc} % Sensible text encoding +\RequirePackage[T1]{fontenc} % French compatibility +\RequirePackage[french]{babel} % French document environment +\RequirePackage[french]{cleveref} % To make eqation reference better + + + + +%~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~% +% French Table Naming % +%~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~% +% Sets the "Table - xx" to "Tableau - xx" +\renewcommand{\frenchtablename}{Tableau} +\renewcommand{\thetable}{\thesection-\arabic{table}} + +%~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~% +% French Table Naming % +%~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~% +% Sets "Appendix" to "Annexe" +\addto\captionsfrench{ + \renewcommand\appendixname{Annexe} + \renewcommand\appendixpagename{Annexe} +} |