TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I do a boxed minitoc at the beginning of any chapter like this.

It is too hard for me.

share|improve this question
Since you have some responses below that seem to answer your question, please consider marking one of them as ‘Accepted’ by clicking on the tickmark below their vote count (see How do you accept an answer?). This shows which answer helped you most, and it assigns reputation points to the author of the answer (and to you!). It's part of this site's idea to identify good questions and answers through upvotes and acceptance of answers. – Martin Schröder Mar 29 '15 at 19:21

Here's one possibility:



      outer arc=0pt,
        \node[anchor=west,fill=white,inner xsep=6pt] 
          at ([xshift=10pt]frame.north west) 



\chapter{Test chapter one}
\section{Test section one one}
\section{Test section one two}
\section{Test section one three}

\chapter{Test chapter two}
\section{Test section two one}
\section{Test section two two}
\section{Test section two three}
\section{Test section two four}
\section{Test section two five}


The general ToC:

enter image description here

The partial ToC for chapter one:

enter image description here

The partial ToC for chapter two:

enter image description here


  • titlesec was used to change the formatting for the chapter headings.

  • titletoc was used to produce the partial ToCs.

  • tcolorbox was used to produce the frame and title around the partial ToCs.

share|improve this answer
Thank you for your help! – Haouam Aug 2 '14 at 1:26
@Gonzalo Medina When I add \usepackage[unicode,bookmarksnumbered]{hyperref} , minitoc not exactly. How can I use this command? – minthao_2011 Aug 16 '15 at 14:13
@minthao_2011 I don't get any problemas adding the line you mentioned, Please feel free to open a fresh new question. – Gonzalo Medina Aug 16 '15 at 16:56
@GonzaloMedina I done. First, I put the line before \begin{document} – minthao_2011 Aug 17 '15 at 15:13

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.