adapter papier a6
This commit is contained in:
parent
32e7bce359
commit
ee6afcb491
2 changed files with 45 additions and 44 deletions
|
@ -23,14 +23,14 @@
|
|||
\usepackage{geometry}
|
||||
|
||||
\geometry{
|
||||
paper=letterpaper,
|
||||
top=2cm,
|
||||
bottom=2cm,
|
||||
left=2cm,
|
||||
right=2cm,
|
||||
headheight=16pt,
|
||||
footskip=1.4cm,
|
||||
headsep=12pt,
|
||||
paper=a5paper,
|
||||
top=10mm,
|
||||
bottom=5mm,
|
||||
left=5mm,
|
||||
right=5mm,
|
||||
headheight=8pt,
|
||||
footskip=5mm,
|
||||
headsep=8pt,
|
||||
}
|
||||
|
||||
\usepackage{avant}
|
||||
|
@ -53,36 +53,37 @@
|
|||
% styles de titres
|
||||
\titlecontents{part}
|
||||
[0cm]
|
||||
{\addvspace{20pt}\bfseries}
|
||||
{\addvspace{5pt}\bfseries}
|
||||
{}
|
||||
{}
|
||||
{}
|
||||
\titlecontents{chapter}
|
||||
[1cm]
|
||||
{\addvspace{12pt}\large\sffamily\bfseries}
|
||||
{\color{turquoisefonce!60}\contentslabel[\Large\thecontentslabel]{1.25cm}\color{turquoisefonce}}
|
||||
{\color{turquoisefonce}} {\color{turquoisefonce!60}\normalsize\;\titlerule*[.5pc]{.}\;\thecontentspage}
|
||||
{\addvspace{2pt}\large\sffamily\bfseries}
|
||||
{\color{turquoisefonce!80}\contentslabel[\Large\thecontentslabel]{1cm}\color{turquoisefonce}}
|
||||
{}
|
||||
{}
|
||||
\titlecontents{section}
|
||||
[1cm]
|
||||
{\addvspace{4pt}\sffamily\bfseries}
|
||||
{\addvspace{1pt}\sffamily\bfseries}
|
||||
{\contentslabel[\thecontentslabel]{1cm}}
|
||||
{}
|
||||
{\hfill\color{black}\thecontentspage}
|
||||
\titlecontents{subsection}
|
||||
[1cm]
|
||||
{\addvspace{2pt}\sffamily\small}
|
||||
{\addvspace{1pt}\sffamily\small}
|
||||
{\contentslabel[\thecontentslabel]{1cm}}
|
||||
{}
|
||||
{\ \titlerule*[.5pc]{.}\;\thecontentspage}
|
||||
\titlecontents{figure}
|
||||
[1cm]
|
||||
{\addvspace{2pt}\sffamily\small}
|
||||
{\addvspace{1pt}\sffamily\small}
|
||||
{\thecontentslabel\hspace*{1em}}
|
||||
{}
|
||||
{\ \titlerule*[.5pc]{.}\;\thecontentspage}
|
||||
\titlecontents{table}
|
||||
[1]
|
||||
{\addvspace{2pt}\sffamily\small}
|
||||
{\addvspace{1pt}\sffamily\small}
|
||||
{\thecontentslabel\hspace*{1em}}
|
||||
{}
|
||||
{\ \titlerule*[.5pc]{.}\;\thecontentspage}
|
||||
|
@ -90,20 +91,20 @@
|
|||
% styles de titres sur page de partie
|
||||
\titlecontents{lchapter}
|
||||
[0em]
|
||||
{\addvspace{15pt}\large\sffamily\bfseries}
|
||||
{\addvspace{10pt}\large\sffamily\bfseries}
|
||||
{\color{turquoisefonce}\contentslabel[\Large\thecontentslabel]{1cm}\color{turquoisefonce}}
|
||||
{}
|
||||
{\color{turquoisefonce}\normalsize\sffamily\bfseries\;\titlerule*[.5pc]{.}\;\thecontentspage}
|
||||
\titlecontents{lsection}
|
||||
[0em]
|
||||
{\sffamily\small}
|
||||
{\contentslabel[\thecontentslabel]{1cm}}
|
||||
{\contentslabel[\thecontentslabel]{0.5cm}}
|
||||
{}
|
||||
{}
|
||||
\titlecontents{lsubsection}
|
||||
[.5em] % Left indentation
|
||||
{\sffamily\footnotesize} % Spacing and font options for subsections
|
||||
{\contentslabel[\thecontentslabel]{1cm}}
|
||||
{\contentslabel[\thecontentslabel]{0.5cm}}
|
||||
{}
|
||||
{}
|
||||
|
||||
|
@ -195,10 +196,10 @@
|
|||
\begin{tikzpicture}[remember picture,overlay]%
|
||||
\node at (current page.north west){\begin{tikzpicture}[remember picture,overlay]%
|
||||
\fill[turquoisefonce!10](0cm,0cm) rectangle (\paperwidth,-\paperheight);
|
||||
\node[anchor=south east] at (\paperwidth-1cm,-\paperheight+1cm){\parbox[t][][t]{15cm}{
|
||||
\node[anchor=south east] at (\paperwidth-1cm,-\paperheight+1cm){\parbox[t][][t]{11cm}{
|
||||
\printcontents{l}{0}{\setcounter{tocdepth}{1}}
|
||||
}};
|
||||
\node[anchor=north east] at (\paperwidth-1.5cm,-3.25cm){\parbox[t][][t]{18cm}{\strut\raggedleft\color{turquoisefonce!60!white}\fontsize{30}{30}\sffamily\bfseries\thepart.#2}};
|
||||
\node[anchor=north east] at (\paperwidth-1cm,-1cm){\parbox[t][][t]{9cm}{\strut\raggedleft\color{turquoisefonce!60!white}\fontsize{30}{30}\sffamily\bfseries\thepart.#2}};
|
||||
\end{tikzpicture}};
|
||||
\end{tikzpicture}}%
|
||||
\@endpart}
|
||||
|
@ -209,7 +210,7 @@
|
|||
\begin{tikzpicture}[remember picture,overlay]%
|
||||
\node at (current page.north west){\begin{tikzpicture}[remember picture,overlay]%
|
||||
\fill[turquoisefonce!10](0cm,0cm) rectangle (\paperwidth,-\paperheight);
|
||||
\node[anchor=north east] at (\paperwidth-1.5cm,-3.25cm){\parbox[t][][t]{15cm}{\strut\raggedleft\color{turquoisefonce!60!white}\fontsize{30}{30}\sffamily\bfseries#1}};
|
||||
\node[anchor=north east] at (\paperwidth-1.5cm,-3.25cm){\parbox[t][][t]{9cm}{\strut\raggedleft\color{turquoisefonce!60!white}\fontsize{30}{30}\sffamily\bfseries#1}};
|
||||
\end{tikzpicture}};
|
||||
\end{tikzpicture}}
|
||||
\addcontentsline{toc}{part}{\texorpdfstring{%
|
||||
|
@ -241,8 +242,8 @@
|
|||
\node at (current page.north west)
|
||||
{\begin{tikzpicture}[remember picture,overlay]
|
||||
\node[anchor=north west,inner sep=0pt] at (0,0) {\ifusechapterimage\includegraphics[width=\paperwidth]{\thechapterimage}\fi};
|
||||
\draw[anchor=west] (\Gm@lmargin,-9cm) node [line width=2pt,rounded corners=15pt,draw=turquoisefonce,fill=white,fill opacity=0.5,inner sep=15pt]{\strut\makebox[22cm]{}};
|
||||
\draw[anchor=west] (\Gm@lmargin+.3cm,-9cm) node {\huge\sffamily\bfseries\color{black}\thechapter\autodot~#1\strut};
|
||||
\draw[anchor=west] (\Gm@lmargin,-2.25cm) node [line width=2pt,rounded corners=10pt,draw=turquoisefonce,fill=white,fill opacity=0.6,inner sep=15pt]{\strut\makebox[15cm]{}};
|
||||
\draw[anchor=west] (\Gm@lmargin+.5cm,-2.35cm) node {\huge\sffamily\bfseries\color{black}\thechapter\autodot~#1\strut};
|
||||
\end{tikzpicture}};
|
||||
\end{tikzpicture}
|
||||
\else
|
||||
|
@ -250,11 +251,11 @@
|
|||
\node at (current page.north west)
|
||||
{\begin{tikzpicture}[remember picture,overlay]
|
||||
\node[anchor=north west,inner sep=0pt] at (0,0) {\ifusechapterimage\includegraphics[width=\paperwidth]{\thechapterimage}\fi};
|
||||
\draw[anchor=west] (\Gm@lmargin,-9cm) node [line width=2pt,rounded corners=15pt,draw=turquoisefonce,fill=white,fill opacity=0.5,inner sep=15pt]{\strut\makebox[22cm]{}};
|
||||
\draw[anchor=west] (\Gm@lmargin+.3cm,-9cm) node {\huge\sffamily\bfseries\color{black}#1\strut};
|
||||
\draw[anchor=west] (\Gm@lmargin,-2.25cm) node [line width=2pt,rounded corners=10pt,draw=turquoisefonce,fill=white,fill opacity=0.6,inner sep=15pt]{\strut\makebox[11cm]{}};
|
||||
\draw[anchor=west] (\Gm@lmargin+.5cm,-2.35cm) node {\huge\sffamily\bfseries\color{black}#1\strut};
|
||||
\end{tikzpicture}};
|
||||
\end{tikzpicture}
|
||||
\fi\fi\par\vspace*{270\p@}}}
|
||||
\fi\fi\par\vspace*{175\p@}}}
|
||||
|
||||
%-------------------------------------------
|
||||
|
||||
|
@ -262,12 +263,12 @@
|
|||
\begin{tikzpicture}[remember picture,overlay]
|
||||
\node at (current page.north west)
|
||||
{\begin{tikzpicture}[remember picture,overlay]
|
||||
\node[anchor=north west,inner sep=0pt] at (0,0) {\ifusechapterimage\includegraphics[width=\paperwidth]{\thechapterimage}\fi};
|
||||
\draw[anchor=west] (\Gm@lmargin,-5cm) node [line width=2pt,rounded corners=15pt,draw=turquoisefonce,fill=white,fill opacity=0.5,inner sep=15pt]{\strut\makebox[22cm]{}};
|
||||
\draw[anchor=west] (\Gm@lmargin+.3cm,-5cm) node {\huge\sffamily\bfseries\color{black}#1\strut};
|
||||
%\node[anchor=north west,inner sep=0pt] at (0,0) {\ifusechapterimage\includegraphics[width=\paperwidth]{\thechapterimage}\fi};
|
||||
\draw[anchor=west] (\Gm@lmargin,-2.25cm) node [line width=2pt,rounded corners=10pt,draw=turquoisefonce,fill=white,fill opacity=0.6,inner sep=15pt]{\strut\makebox[11cm]{}};
|
||||
\draw[anchor=west] (\Gm@lmargin+.5cm,-2.35cm) node {\huge\sffamily\bfseries\color{black}#1\strut};
|
||||
\end{tikzpicture}};
|
||||
\end{tikzpicture}
|
||||
\par\vspace*{270\p@}}
|
||||
\par\vspace*{135\p@}}
|
||||
\makeatother
|
||||
|
||||
\usepackage{hyperref}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue