Clean code to be lesser than 80 chars of width
This commit is contained in:
parent
9c8d1ad2f7
commit
892d36557d
@ -100,9 +100,19 @@
|
|||||||
|
|
||||||
% sizing of the page, depending on the size parameter of the class
|
% sizing of the page, depending on the size parameter of the class
|
||||||
\ifthenelse{ \equal{\size}{a5} }{
|
\ifthenelse{ \equal{\size}{a5} }{
|
||||||
\geometry{a5paper, landscape, includeheadfoot, hmargin=.8cm, vmargin=.8cm, head=14.5pt}
|
\geometry{
|
||||||
|
a5paper,
|
||||||
|
landscape,
|
||||||
|
includeheadfoot,
|
||||||
|
hmargin=.8cm,
|
||||||
|
vmargin=.8cm,
|
||||||
|
head=14.5pt}
|
||||||
}{
|
}{
|
||||||
\geometry{a4paper, includeheadfoot, hmargin=.8cm, vmargin=.8cm, head=14.5pt}
|
\geometry{a4paper,
|
||||||
|
includeheadfoot,
|
||||||
|
hmargin=.8cm,
|
||||||
|
vmargin=.8cm,
|
||||||
|
head=14.5pt}
|
||||||
}
|
}
|
||||||
|
|
||||||
% title, header and footer
|
% title, header and footer
|
||||||
@ -115,7 +125,8 @@
|
|||||||
|
|
||||||
% KOMA-Script version (preferred)
|
% KOMA-Script version (preferred)
|
||||||
\ifthenelse{ \equal{\type}{ds} }{
|
\ifthenelse{ \equal{\type}{ds} }{
|
||||||
\cohead[\textbf{MATHÉMATIQUES}\\\textbf{Devoir surveillé}]{\textbf{MATHÉMATIQUES}\\\textbf{Devoir surveillé}}
|
\cohead[\textbf{MATHÉMATIQUES}\\\textbf{Devoir surveillé}]
|
||||||
|
{\textbf{MATHÉMATIQUES}\\\textbf{Devoir surveillé}}
|
||||||
\lohead[NOM :\\Prénom :]{NOM :\\Prénom :}
|
\lohead[NOM :\\Prénom :]{NOM :\\Prénom :}
|
||||||
\rohead[Le \@date]{Le \@date}
|
\rohead[Le \@date]{Le \@date}
|
||||||
\cehead[]{}
|
\cehead[]{}
|
||||||
@ -123,7 +134,8 @@
|
|||||||
\rehead[]{}
|
\rehead[]{}
|
||||||
}{
|
}{
|
||||||
\ifthenelse{ \equal{\type}{dm} }{
|
\ifthenelse{ \equal{\type}{dm} }{
|
||||||
\cohead[\textbf{MATHÉMATIQUES}\\\textbf{Devoir maison}]{\textbf{MATHÉMATIQUES}\\\textbf{Devoir maison}}
|
\cohead[\textbf{MATHÉMATIQUES}\\\textbf{Devoir maison}]
|
||||||
|
{\textbf{MATHÉMATIQUES}\\\textbf{Devoir maison}}
|
||||||
\lohead[NOM :\\Prénom :]{NOM :\\Prénom :}
|
\lohead[NOM :\\Prénom :]{NOM :\\Prénom :}
|
||||||
\rohead[\@date]{\@date}
|
\rohead[\@date]{\@date}
|
||||||
\cehead[]{}
|
\cehead[]{}
|
||||||
@ -131,7 +143,8 @@
|
|||||||
\rehead[]{}
|
\rehead[]{}
|
||||||
}{
|
}{
|
||||||
\ifthenelse{ \equal{\type}{int} }{
|
\ifthenelse{ \equal{\type}{int} }{
|
||||||
\cohead[\textbf{MATHÉMATIQUES}\\\textbf{Interrogation}]{\textbf{MATHÉMATIQUES}\\\textbf{Interrogation}}
|
\cohead[\textbf{MATHÉMATIQUES}\\\textbf{Interrogation}]
|
||||||
|
{\textbf{MATHÉMATIQUES}\\\textbf{Interrogation}}
|
||||||
\lohead[NOM :\\Prénom :]{NOM :\\Prénom :}
|
\lohead[NOM :\\Prénom :]{NOM :\\Prénom :}
|
||||||
\rohead[\@date]{\@date}
|
\rohead[\@date]{\@date}
|
||||||
\cehead[]{}
|
\cehead[]{}
|
||||||
@ -176,7 +189,8 @@
|
|||||||
|
|
||||||
% print a "Please, turn the page" at bottom right of the page
|
% print a "Please, turn the page" at bottom right of the page
|
||||||
\NewDocumentCommand \turnpage{ }{
|
\NewDocumentCommand \turnpage{ }{
|
||||||
\rofoot[\textit{Tourner la page, svp} \faHandORight]{\textit{Tourner la page, svp} \faHandORight}
|
\rofoot[\textit{Tourner la page, svp} \faHandORight]
|
||||||
|
{\textit{Tourner la page, svp} \faHandORight}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user