For my second volume of thesis, I added a mark on the odd pages to facilitate consultations in the volume.

I am not a great specialist in latex or tikz but initially I made boxes of 5.94 cm (297 cm / 5 part) which descends each of 5.94 cm to have part thumb that do not overlap.

However, for printing, I have to add printing marks and bleed. So I used the crop package to add these marks.

However, I encounter two problems which are probably linked

  • The north-east coordinate used by tikz takes into account the new page defined by the crop package. Suddenly, the box is not completely in the north east corner;
  • The box defined by tikz does not protrude above to have a bleed. At first I thought I would use yshift, but this poses a problem for the size of my boxes which are no longer equal…

Do you have a solution for these two problems? I hope to have been clear, Thank you,





    \ifx\\#1\\% optional argument not present?

%%% Paramètre des entêtes
% Ces lignes permettent de mettre en minuscule. A placer avant les style
        \ifnum\value{chapter}>0 %si chapitre* alors apparaît quand même a conditer de mettre \addcontentsline{toc}{chapter}{titre}\markboth{titre}{} apres le titre
        \ \thechapter.\ #1}{}}
\renewcommand{\sectionmark}[1]{\markright{\thesection.{}\ #1}}

% auxiliary counter


%permet de mettre les parties dans le cartouche
\usetikzlibrary{tikzmark,calc,arrows,shapes,decorations.pathreplacing,pgfplots.groupplots, matrix}
\tikzset{every picture/.style={remember picture}}

%paramètre des entêtes du corps du texte
    \fancyhf{}%on vide l'en-tête
    \fancyfoot[LE,RO]{\emph{\textendash\space\thepage\space\textendash}} %met le numéro de page en bas 
    \fancyhead[RO]{%permet de mettre les parties dans le cartouche
        \begin{tikzpicture}[overlay, remember picture]%
        minimum height=5.94cm,
        text width=5.94cm,
        outer sep=-1mm,
        text width=1.85cm,
        anchor=north east,
        minimum height=5.94cm,
        at ($(current page.north east) + (0  mm, -5.94*\thepartshift cm) $)

%permet de mettre chiffre romain pour partie 



    \part{The First Part}
    \part{The Second Part}
    \part{The Third Part}
    \part{The Fourth Part}
    \part{The Last Part}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.