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
| \documentclass[a5paper,twoside,openright,8pt]{book}
%Codage text
\usepackage[francais]{babel} %Option lingistique
\usepackage[UTF8]{inputenc} %Type d'encodage
\usepackage{helvet}
\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]{myfncychap}
\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{layout}
\usepackage{lipsum} %génere du texte
\renewcommand\thechapter{\Alph{chapter}} %Chapitre A
\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
%\renewcommand{\mtcfont}{\small\cmss}
\renewcommand{\familydefault}{\sfdefault}
\makeindex
\begin{document}
\maketitle
\fancyhead[RE,LO]{} % Haut cote reliure
\fancyhead[C]{\fontfamily{phv}\selectfont{chapter \\ section}} % Haut centre
\fancyhead[LE]{\fontfamily{phv}\selectfont \huge\bfseries{\thechapter - \thepage ~\vrule width 1pt height 1em}} %Haut cote exterieur
\fancyhead[RO]{\fontfamily{phv}\selectfont \huge\bfseries{\vrule width 1pt height 1em~\thechapter - \thepage}} %Haut cote exterieur
\fancyfoot[RE,LO]{}
\fancyfoot[C]{}
\fancyfoot[LE,RO]{}
\pagenumbering{arabic}
\dominitoc
\thumbsoverview{Table of Thumbs}
\newpage
\thispagestyle{empty}%
\addthumbsoverviewtocontents{chapter}{Thumb marks overview}%
\newpage
\null
\newpage
\chapter{Toto}
\addtitlethumb{\Huge{\textbf{Toto}}}{\Huge{\textbf{\Alph{chapter}}}}{white}{gray}{pagesLTS.0}
\minitoc
\index{éàèë}
\newpage %%%%%%%%%%%%%%%
\thispagestyle{empty} % Page %
\null % Blanche %
\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} % Page %
\null % Blanche %
\newpage %%%%%%%%%%%%%%%
\lipsum [10-18]
\chapter{Tata}
\addtitlethumb{\Huge{\textbf{Tata}}}{\Huge{\textbf{\Alph{chapter}}}}{white}{gray}{pagesLTS.0}
\newpage %%%%%%%%%%%%%%%
\thispagestyle{empty} % Page %
\null % Blanche %
\newpage %%%%%%%%%%%%%%%
\lipsum [19-27]
\chapter{Titi}
\addtitlethumb{\Huge{\textbf{Titi}}}{\Huge{\textbf{\Alph{chapter}}}}{white}{gray}{pagesLTS.0}
\newpage %%%%%%%%%%%%%%%
\thispagestyle{empty} % Page %
\null % Blanche %
\newpage %%%%%%%%%%%%%%%
\lipsum [28-36]
\printindex
\tableofcontents
\end{document} |
Partager