# Boxed minitoc with each chapter

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

It is too hard for me.

-
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 at 19:21

Here's one possibility:

\documentclass{book}
\usepackage[explicit]{titlesec}
\usepackage{lmodern}
\usepackage{titletoc}
\usepackage[many]{tcolorbox}

\newcommand\chapnumfont{\fontsize{50}{60}\selectfont}
\newcommand\chapnamefont{\huge}
\newcommand\chaptitlefont{\LARGE}

\makeatletter
\titleformat{\chapter}
{\startcontents\bfseries\sffamily}
{}
{0pt}
{}
[{%
\filleft{\chapnamefont\@chapapp}\\
\begin{minipage}[b]{.75\textwidth}
\begin{tcolorbox}[
width=\linewidth,
enhanced,
top=10pt,
nobeforeafter,
outer arc=0pt,
arc=0pt,
boxrule=0.6pt,
colback=white,
overlay={
\node[anchor=west,fill=white,inner xsep=6pt]
at ([xshift=10pt]frame.north west)
{Sommaire};
}
]
\printcontents{}{1}{}
\end{tcolorbox}%
\end{minipage}%
\begin{minipage}[b]{.25\textwidth}
\filleft
\chapnumfont\thechapter
\end{minipage}\\[10pt]
{\chaptitlefont#1}
}%
]
\titleformat{name=\chapter,numberless}
{\startcontents\bfseries\sffamily\filleft}
{}
{0pt}
{\chaptitlefont#1}
\makeatother

\begin{document}

\tableofcontents

\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}

\end{document}


The general ToC:

The partial ToC for chapter one:

The partial ToC for chapter two:

# Remarks

-
Thank you for your help! –  Haouam Aug 2 '14 at 1:26