summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/boites/demo.tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/boites/demo.tex
Initial commit
Diffstat (limited to 'macros/latex/contrib/boites/demo.tex')
-rw-r--r--macros/latex/contrib/boites/demo.tex102
1 files changed, 102 insertions, 0 deletions
diff --git a/macros/latex/contrib/boites/demo.tex b/macros/latex/contrib/boites/demo.tex
new file mode 100644
index 0000000000..91511f9c57
--- /dev/null
+++ b/macros/latex/contrib/boites/demo.tex
@@ -0,0 +1,102 @@
+\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: