diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/boites')
-rw-r--r-- | Master/texmf-dist/doc/latex/boites/README | 63 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/boites/boites_exemples.tex | 68 |
2 files changed, 131 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/boites/README b/Master/texmf-dist/doc/latex/boites/README new file mode 100644 index 00000000000..edff10820c6 --- /dev/null +++ b/Master/texmf-dist/doc/latex/boites/README @@ -0,0 +1,63 @@ +boites.sty (boxes that may break across pages) +(c) 1998-1999 Vincent Zoonekynd <zoonek@math.jussieu.fr> +Distributed under the GNU Public Licence + +* DESCRIPTION + +These environments allow page breaks inside framed boxes. +They include a few examples (shaded box, box with a wavy +line on its side, etc.) + +See also macros/latex/contrib/other/misc/framed.sty. + +* USAGE + +In the preamble: + + \usepackage{boites,boites_examples,graphicx} + +Before using the various environments: + + \bkcounttrue: the lines will be numbered + \bkcountfalse: the lines will not be numbered + +Boxed text with a title: + + \begin{boiteepaisseavecuntitre} + ... + \end{boiteepaisseavecuntitre} + +Text with a double vertical line on the left and a number +(17, in this example): + + \begin{boitenumeroteeavecunedoublebarre}{17} + ... + \end{boitenumeroteeavecunedoublebarre} + +Text with a wavy line on the left: + + \begin{boiteavecunelignequiondulesurlecote} + ... + \end{boiteavecunelignequiondulesurlecote} + +Shaded box: + + \begin{boitecoloriee} + ... + \end{boitecoloriee} + +If you wish other kinds of boxes, have a look at boites_examples.sty +and feel free to adapt the macros. + +* FEATURES: + +- These environments may be nested. +- They may appear in a multicols environment. +- Floating material, footnotes, marginpars appearing inside + them will be lost. + +* HISTORY: + +1992: original macros (eclbkbox.sty) by Hideki Isozaki +1998: a few modifications to make the macros more configurable, + more comments and inclusion of some examples (Vincent Zoonekynd) diff --git a/Master/texmf-dist/doc/latex/boites/boites_exemples.tex b/Master/texmf-dist/doc/latex/boites/boites_exemples.tex new file mode 100644 index 00000000000..719099c18c9 --- /dev/null +++ b/Master/texmf-dist/doc/latex/boites/boites_exemples.tex @@ -0,0 +1,68 @@ +\documentclass[a4paper,12pt]{article} +\usepackage[latin1]{inputenc} +\usepackage[T1]{fontenc} +\usepackage{boites,boites_exemples} +\usepackage{graphicx,pstricks} +\usepackage{multicol} + +\def\a{Bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla. } +\edef\a{\a\a\a\a\a\par} +\def\b{\a\a\a\a} +\def\test{\begin{breakbox} \b \end{breakbox}} + +\begin{document} + +\bkcounttrue +\begin{breakbox} + \begin{itemize} \item aaa \item bbb \end{itemize} +\end{breakbox} + +\begin{boiteepaisseavecuntitre}{ Coucou ! } \b +\end{boiteepaisseavecuntitre} + +\begin{boitenumeroteeavecunedoublebarre}{3.5} \b +\end{boitenumeroteeavecunedoublebarre} + +\begin{boitenumeroteeavecunedoublebarre}{3.5} + \begin{itemize} \item aaa \item bbb \end{itemize} +\end{boitenumeroteeavecunedoublebarre} + +\begin{boiteavecunelignequiondulesurlecote} \b +\end{boiteavecunelignequiondulesurlecote} + +\bkcounttrue +\begin{boitecoloriee} \b +\end{boitecoloriee} + +\bkcountfalse +\begin{boiteavecunelignequiondulesurlecote} + \a\bigskip + \begin{boiteavecunelignequiondulesurlecote} + \a\bigskip + \begin{boiteavecunelignequiondulesurlecote} + \a\bigskip + \end{boiteavecunelignequiondulesurlecote} + \a + \end{boiteavecunelignequiondulesurlecote} + \a +\end{boiteavecunelignequiondulesurlecote} + +\bkcountfalse +\begin{multicols}{3} + \a + \begin{boiteavecunelignequiondulesurlecote} + \a\a\a + \end{boiteavecunelignequiondulesurlecote} + \a + \begin{boiteavecunelignequiondulesurlecote} + \a\a\a + \end{boiteavecunelignequiondulesurlecote} + \a\a\a\a\a +\end{multicols} + +\end{document} + +%%% Local Variables: +%%% mode: latex +%%% TeX-master: t +%%% End: |