\documentclass[a4paper,10pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{boites,boites_exemples}
\usepackage{graphicx,pstricks}
\usepackage{multicol}
\usepackage{lipsum}

\begin{document}

\title{Demonstration of the \texttt{boites} Package}
\date{}
\maketitle

\subsubsection*{Using the \texttt{breakbox} environment and line counting}

\bkcounttrue
\begin{breakbox}
  \begin{itemize}
    \item \lipsum[1]
    \item \lipsum[2]
  \end{itemize}
\end{breakbox}

\subsubsection*{Using the \texttt{boiteepaisseavecuntitre} environment}

\begin{boiteepaisseavecuntitre}{ Coucou ! }
  \lipsum[1-3]
\end{boiteepaisseavecuntitre}

\subsubsection*{Using the \texttt{boitenumeroteeavecunedoublebarre} environment}

\begin{boitenumeroteeavecunedoublebarre}{3.5}
  \lipsum[1-3]
\end{boitenumeroteeavecunedoublebarre}

\subsubsection*{Using the \texttt{boitenumeroteeavecunedoublebarre} environment}

\begin{boitenumeroteeavecunedoublebarre}{3.5}
  \begin{itemize}
    \item \lipsum[1]
    \item \lipsum[2]
  \end{itemize}
\end{boitenumeroteeavecunedoublebarre}

\subsubsection*{Using the \texttt{boiteavecunelignequiondulesurlecote} environment}

\begin{boiteavecunelignequiondulesurlecote}
  \lipsum[1-3]
\end{boiteavecunelignequiondulesurlecote}

\subsubsection*{Using the \texttt{boitecoloriee} environment}

\bkcounttrue
\begin{boitecoloriee}
  \lipsum[1-2]
\end{boitecoloriee}

\subsubsection*{Using small fonts in the \texttt{boitecoloriee} environment}

\bkcounttrue
\begin{boitecoloriee}
  \small
  \lipsum[1-2]
\end{boitecoloriee}

\subsubsection*{Using nested \texttt{boiteavecunelignequiondulesurlecote} environments}

\bkcountfalse
\begin{boiteavecunelignequiondulesurlecote} 
  \lipsum[1]\bigskip
  \begin{boiteavecunelignequiondulesurlecote} 
    \lipsum[2]\bigskip
    \begin{boiteavecunelignequiondulesurlecote} 
      \lipsum[3]\bigskip
    \end{boiteavecunelignequiondulesurlecote}
    \lipsum[4]
  \end{boiteavecunelignequiondulesurlecote}
  \lipsum[5]
\end{boiteavecunelignequiondulesurlecote}

\subsubsection*{Using the \texttt{boiteavecunelignequiondulesurlecote} environment in multiple columns}

\bkcountfalse
\begin{multicols}{3}
  \lipsum[1]
  \begin{boiteavecunelignequiondulesurlecote} 
    \lipsum[2-4]
  \end{boiteavecunelignequiondulesurlecote}
  \lipsum[5]
  \begin{boiteavecunelignequiondulesurlecote} 
    \lipsum[6-8]
  \end{boiteavecunelignequiondulesurlecote}
  \lipsum[9-14]
\end{multicols}

\end{document}

%%% Local Variables: 
%%% mode: latex
%%% TeX-master: t
%%% End: 
