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 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147
|
\documentclass[a5paper,twoside,openright,8pt]{book}
%Codage text
\usepackage[francais]{babel} %Option lingistique
\usepackage[UTF8]{inputenc} %Type d'encodage
\usepackage{ae,lmodern}
\usepackage [OT1]{fontenc} %Mode d'encodage
\usepackage{fancyhdr}
%Paquet pour la page de titre
\usepackage{graphicx}
\usepackage{fullpage}
\usepackage{eso-pic}
%Paquet pour le chapitre
\usepackage[Bjornstrup]{fncychap}
\usepackage[french]{minitoc}
\usepackage{hyperref}
%paquet pour les onglets
\usepackage[thumblink=rule,linefill=dots,height={auto},minheight={47pt},%
width={auto},distance={2mm},topthumbmargin={auto},bottomthumbmargin={auto},%
nophantomsection=false,ignorehoffset=true,ignorevoffset=true,final=true,%
hidethumbs=false,verbose=true]{thumbs}[2012/02/25]% v1.0n
%paquet pour les index
\usepackage{makeidx}
\usepackage{color}
%\graphicspath{{images/}}
%\usepackage{graphics}
%\usepackage{amsmath}
%\usepackage{amssymb}
%\usepackage{longtable}
%\usepackage{pstricks}
\usepackage{lipsum} %génere du texte
\renewcommand\thechapter{\Alph{chapter}} %Chapitre A
\makeindex
\pagestyle{fancy}
\title{gluglu}
\author{moi}
\date{\today}
\makeatletter
\renewcommand{\thepage}{\thechapter-\arabic{page}} % chapter-page numbering
\@addtoreset{page}{chapter}
% reset page number when chapter is stepped
% The next magic makes the page counter be reset to one rather
% than zero
\def\@stpelt#1{\global\csname c@#1\endcsname
\expandafter\ifx \csname#1\endcsname \page
\@ne
\else
\z@ \fi}
\makeatother
\begin{document}
\fontfamily{phv}\selectfont
\fancyhead[RE,LO]{} % Haut cote reliure
\fancyhead[C]{\fontfamily{phv}\selectfont{chapter \\ section}} % Haut centre
\fancyhead[LE,RO]{\fontfamily{phv}\selectfont \huge\bfseries{\thechapter - \thepage}} %Haut cote exterieur
\fancyfoot[RE,LO]{}
\fancyfoot[c]{}
\fancyfoot[LE,RO]{}
%\begin{titlepage}
%\fontfamily{phv}\selectfont
%\vspace*{\stretch{1}}
%\begin{flushright}\LARGE
%Victor Hugo
%\end{flushright}
%\hrule
%\begin{flushleft}\huge\bfseries
%Les misérables
%\end{flushleft}
%\vspace*{\stretch{2}}
%\begin{center}
%Éditions Lavarice
%2009
%\end{center}
%\end{titlepage}
%\begin{titlepage}
%\enlargethispage{2cm}
%\AddToShipoutPicture{
%\AtUpperLeftCorner{1.5cm}{1cm}{\includegraphics[width=4cm]{data/google.jpg}}
%\AtUpperRightCorner{1.5cm}{1cm}{\includegraphics[width=6.5cm]{data/ensi.jpg}}
%}
%\begin{center}
%\vspace*{10cm}
%\textsc{\@title}
%\HRule
%\vspace*{0.5cm}
%\large{\@author}
%\end{center}
%\vspace*{9.2cm}
%\begin{center}
%\makebox[\textwidth]{\includegraphics[width=\paperwidth]{data/footer.jpg}}
%\end{center}
%\end{titlepage}
%\ClearShipoutPicture
%%%%%% Modification de la mise en page %%%%%%
%\setlength{\oddsidemargin}{-18pt}
%\setlength{\headheight}{12pt}
%\setlength{\topmargin}{-1cm}
%\setlength{\headsep}{12pt}
%\setlength{\textheight}{470pt}
%\setlength{\textwidth}{300pt}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\pagenumbering{arabic}
\dominitoc
\thumbsoverview{Table of Thumbs}
\newpage
\thispagestyle{empty}%
\addthumbsoverviewtocontents{chapter}{Thumb marks overview}%
\newpage
{\fontfamily{phv}\selectfont \chapter{Toto}
\addtitlethumb{\Huge{\textbf{Toto}}}{\Huge{\textbf{\Alph{chapter}}}}{white}{gray}{pagesLTS.0}
\minitoc
éàèë
\newpage
\dominitoc
\section{kaka}
\lipsum [1-3]
\section{kuku}
\lipsum[4-6]
\section{kiki}
\lipsum[7-9]
\chapter{Tutu}
\addtitlethumb{\Huge{\textbf{Tutu}}}{\Huge{\textbf{\Alph{chapter}}}}{white}{gray}{pagesLTS.0}
\newpage
\thispagestyle{empty}%
\lipsum [10-18]
\chapter{Tata}
\addtitlethumb{\Huge{\textbf{Tata}}}{\Huge{\textbf{\Alph{chapter}}}}{white}{gray}{pagesLTS.0}
\newpage
\thispagestyle{empty}%
\lipsum [19-27]
\chapter{Titi}
\addtitlethumb{\Huge{\textbf{Titi}}}{\Huge{\textbf{\Alph{chapter}}}}{white}{gray}{pagesLTS.0}
\newpage
\thispagestyle{empty}%
\lipsum [28-36]
\printindex
\tableofcontents
\end{document} |
Partager