blob: 9e67a50b01f624c851b685031550efec3e2a8966 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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}
}
|