I am facing a tricky situation regarding the design of a table of contents that needs to be placed for each chapter of a manuscript.

I am using a style.tex from another user to compile the design of the document and I am not familiarized with all of the instructions.

The issue : I want all the TOC to look like this at the beginning of each chapter : enter image description here

The \minitoc environment is tight and allows for a small portion of text behind it : very convenient.

Unfortunately, some chapters are longer than others therefore they have more section which causes the minitoc to be stretched like this :

enter image description here

I would like to avoid this and obtain systematically the first "style" even if it implies having more blank space below (I can consider putting an). The problem is that I don't know what to modify in order to do so...

I have isolated some important parts of the style.tex related to the design of the pages : maybe it can be useful to help me.


% Table of contents for each chapter

\usepackage[nottoc, notlof, notlot]{tocbibind}


\pagestyle{fancy}                       % Sets fancy header and footer

\fancyhead[LE,RO]{\bfseries\thepage}    % Page number (boldface) in left on even
% pages and right on odd pages
\fancyhead[RE]{\bfseries\nouppercase{\leftmark}}      % Chapter in the right on even pages
\fancyhead[LO]{\bfseries\nouppercase{\rightmark}}     % Section in the left on odd pages

\renewcommand{\headrule}{\color{black} \headruleORIG}


\hrulefill $\:$ {\bf #1}\\


\renewcommand{\minitoc}{\minitocORIG \vspace{1.5em}}

P.S : Before downgrading my post, please suggest how I can improve it to make it clearer since it's a very specific question I am aware that it needs specific details.

Thank you in advance for your help,

Best regards.

  • 1
    You could try changing \vspace{1.5em} to \vfill\par or whatever. But without code we can use to reproduce the problem, it's hard to say what exactly that might do. The code you show has various problems. In particular, it doesn't seem especially suitable for use with memoir as it just overwrites a bunch of what memoir does. Moreover, it uses commands which have been obsolete for several decades in LaTeX. memoir provides its own page layout features etc.
    – cfr
    Commented Jun 11 at 14:37
  • @cfr Thank you : your option worked for me it was sufficient. Yes, I know : I am trying to re-use a specific design that I liked in this stylefile. In the same time, I have to get rid of a lot of unnecessary options ! Thank you.
    – Waxler
    Commented 7 hours ago


You must log in to answer this question.

Browse other questions tagged .