diff options
author | Sarah Gosselin <sarah@gosselin.xyz> | 2024-08-31 18:55:10 -0400 |
---|---|---|
committer | Sarah Gosselin <sarah@gosselin.xyz> | 2024-08-31 18:55:10 -0400 |
commit | 97e28a5d19b37d3221340589f3184354f5479dc4 (patch) | |
tree | 862c1692126945a4f718e3e04d0ba42817bca6c4 /french.sty | |
parent | 1393c2e5ba096969a68c800ec593ed9e6bf2294d (diff) |
Remodels the template
Diffstat (limited to 'french.sty')
-rw-r--r-- | french.sty | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/french.sty b/french.sty new file mode 100644 index 0000000..9e67a50 --- /dev/null +++ b/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} +} |