Utilisateur:Savant-bot/Histoire de France/Garde
Apparence
% Préambule
\documentclass[12pt,a4paper,openany]{book}
\usepackage{multicol}
\usepackage{lipsum}
\usepackage[francais]{babel}
\usepackage[T1]{fontenc}
\usepackage[utf8x]{inputenc}
\usepackage{graphics}
\usepackage{listings}
\graphicspath{{images/}}
\usepackage{pdfpages}
\usepackage{eso-pic}
\usepackage{sectsty}
\usepackage{numprint}
\usepackage{graphicx}
\usepackage{xcolor}
\usepackage{textcomp}
\usepackage{graphicx}
\usepackage{lettrine}
\usepackage{fancyhdr}
\usepackage{subfig}
\usepackage{floatflt}
\usepackage{url}
\usepackage[tight]{shorttoc}
\usepackage{makeidx}
\usepackage{geometry}
\geometry{hscale=0.81,vscale=0.81,centering}
\pagestyle{fancy}
\setlength\belowcaptionskip{0cm}
\fancypagestyle{livre}{%
\fancyhf{}
\fancyhead[LE]{\thepage\hspace{0.5cm}\leftmark}
\fancyhead[RO]{Histoire de France\hspace{0.5cm}\thepage}
}
\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
\renewcommand{\sectionmark}[1]{\markright{#1}}
\makeatletter
\def\@makechapterhead#1{
\vspace*{20\p@}%
{\parindent \z@ \raggedright \normalfont
\ifnum \c@secnumdepth >\m@ne
\if@mainmatter
\Huge\bfseries \@chapapp\space \thechapter
\par\nobreak
\vskip 20\p@
\fi
\fi
\interlinepenalty\@M
\bfseries \scalebox{1.6}{\begin{minipage}{0.6\textwidth}#1\end{minipage}}\par\nobreak
\vskip 30\p@
}}
\def\@schapter#1{\if@twocolumn
\@topnewpage[\@makeschapterhead{#1}]%
\else
\@makeschapterhead{#1}%
\@afterheading
\fi}
\def\@makeschapterhead#1{%
\vspace*{50\p@}%
{\parindent \z@ \raggedright
\normalfont
\interlinepenalty\@M
\Huge \bfseries #1\par\nobreak
\vskip 30\p@
}}
\renewcommand\section{\@startsection {section}{1}{\z@}%
{-3.5ex \@plus -1ex \@minus -.2ex}%
{1ex \@plus.1ex}%
{\normalfont\bfseries\MakeUppercase}}
\renewcommand\subsection{\@startsection {subsection}{2}{\z@}%
{-3.5ex \@plus -1ex \@minus -.2ex}%
{1.3ex \@plus.1ex}%
{\normalfont\bfseries\MakeUppercase}}
\def\intro#1{\noindent\scalebox{1.15}{\begin{minipage}{0.86\textwidth}#1\end{minipage}}\vspace{0.2cm}}
\def\siecle#1{\textsc{\romannumeral #1}\textsuperscript{e}~siècle}
\newcommand{\sommaire}{\shorttoc{Sommaire}{0}}
\allsectionsfont{\sffamily}
\makeindex
% Début du document
\begin{document}
\frontmatter
\includepdf[pages={1}]{couv.pdf}
\usefont{T1}{put}{m}{n}
\selectfont
% Page vide
\newpage
\null
\thispagestyle{empty}
\newpage
% Page de garde
\thispagestyle{empty}
\null
\vfill
\begin{center}\scalebox{4}{\textbf{\textsc{Histoire de France}}}\end{center}
\vspace{0.5cm}
{
\fontfamily{pag}\selectfont
\scalebox{1.5}{\textbf{\begin{minipage}{0.63\textwidth}\begin{center}de l'Antiquité à nos jours\end{center}\end{minipage}}}
}
\vfill
\begin{figure}[h]
\begin{center}
\includepdf[scale=0.4]{armoiries_rf.pdf}
\end{center}
\end{figure}
\vspace{6cm}
\vfill
\begin{center}
\scalebox{1.2}{\begin{minipage}{0.63\textwidth}\begin{center}Un livre de Wikibooks, la bibliothèque pédagogique libre\\\url{http://fr.wikibooks.org/}\end{center}\end{minipage}}
\end{center}
\vfill
\begin{center}\begin{large}\textbf{2012}\end{large}\end{center}
% Page d'informations
\newpage
\pagestyle{plain}
\null
\vfill
\begin{center}Images de couverture :\\À compléter\\Mis en page avec \LaTeX.\\Version générée automatiquement\\le !date!.\\Pour une version à jour, consultez\\\url{http://fr.wikibooks.org/wiki/Histoire_de_France}\end{center}
\vfill
% Ici débute le livre
\mainmatter