From b83e40cafc2d8b440489311729d1e34d4aba372f Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 23 Nov 2013 23:59:23 +0000 Subject: boites (23nov13) git-svn-id: svn://tug.org/texlive/trunk@32221 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/boites/Makefile | 10 ++ Master/texmf-dist/doc/latex/boites/README | 82 ++++++++++------- Master/texmf-dist/doc/latex/boites/README.docu | 10 +- Master/texmf-dist/doc/latex/boites/README.md | 1 + .../doc/latex/boites/boites_exemples.pdf | Bin 24392 -> 0 bytes .../doc/latex/boites/boites_exemples.tex | 68 -------------- Master/texmf-dist/doc/latex/boites/demo.pdf | Bin 0 -> 239967 bytes Master/texmf-dist/doc/latex/boites/demo.tex | 102 +++++++++++++++++++++ 8 files changed, 166 insertions(+), 107 deletions(-) create mode 100644 Master/texmf-dist/doc/latex/boites/Makefile create mode 120000 Master/texmf-dist/doc/latex/boites/README.md delete mode 100644 Master/texmf-dist/doc/latex/boites/boites_exemples.pdf delete mode 100644 Master/texmf-dist/doc/latex/boites/boites_exemples.tex create mode 100644 Master/texmf-dist/doc/latex/boites/demo.pdf create mode 100644 Master/texmf-dist/doc/latex/boites/demo.tex (limited to 'Master/texmf-dist/doc/latex/boites') diff --git a/Master/texmf-dist/doc/latex/boites/Makefile b/Master/texmf-dist/doc/latex/boites/Makefile new file mode 100644 index 00000000000..dace93059c1 --- /dev/null +++ b/Master/texmf-dist/doc/latex/boites/Makefile @@ -0,0 +1,10 @@ +LATEX = latex --interaction=nonstopmode +EXAMPLES = boites_examples +DVIPS = dvips + +all: + $(LATEX) $(EXAMPLES).tex + $(DVIPS) -o $(EXAMPLES).ps $(EXAMPLES).dvi + +clean: + rm -f *.dvi *.ps *.aux *.log *\~ \ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/boites/README b/Master/texmf-dist/doc/latex/boites/README index edff10820c6..fb555baf29c 100644 --- a/Master/texmf-dist/doc/latex/boites/README +++ b/Master/texmf-dist/doc/latex/boites/README @@ -1,63 +1,77 @@ -boites.sty (boxes that may break across pages) +boites +====== + +`boites` is a LaTeX package to typeset boxes that may break across pages. + +License +------- + (c) 1998-1999 Vincent Zoonekynd + Distributed under the GNU Public Licence -* DESCRIPTION +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.) +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. +See also the +[`framed`](http://github.github.com/github-flavored-markdown/sample_content.html) +package. -* USAGE +Usage +----- In the preamble: - \usepackage{boites,boites_examples,graphicx} + \usepackage{boites,boites_examples,graphicx} Before using the various environments: - \bkcounttrue: the lines will be numbered - \bkcountfalse: the lines will not be numbered + `\bkcounttrue`: the lines will be numbered + + `\bkcountfalse`: the lines will not be numbered Boxed text with a title: - \begin{boiteepaisseavecuntitre} - ... - \end{boiteepaisseavecuntitre} + \begin{boiteepaisseavecuntitre} + ... + \end{boiteepaisseavecuntitre} -Text with a double vertical line on the left and a number -(17, in this example): +Text with a double vertical line on the left and a number (17, in this +example): - \begin{boitenumeroteeavecunedoublebarre}{17} - ... - \end{boitenumeroteeavecunedoublebarre} + \begin{boitenumeroteeavecunedoublebarre}{17} + ... + \end{boitenumeroteeavecunedoublebarre} Text with a wavy line on the left: - \begin{boiteavecunelignequiondulesurlecote} - ... - \end{boiteavecunelignequiondulesurlecote} + \begin{boiteavecunelignequiondulesurlecote} + ... + \end{boiteavecunelignequiondulesurlecote} Shaded box: - \begin{boitecoloriee} - ... - \end{boitecoloriee} + \begin{boitecoloriee} + ... + \end{boitecoloriee} -If you wish other kinds of boxes, have a look at boites_examples.sty +If you wish other kinds of boxes, have a look at `boites_examples.sty` and feel free to adapt the macros. -* FEATURES: +Features +-------- -- These environments may be nested. -- They may appear in a multicols environment. -- Floating material, footnotes, marginpars appearing inside - them will be lost. + * These environments may be nested. + * They may appear in a multicols environment. + * Floating material, footnotes, marginpars appearing inside + them will be lost. -* HISTORY: +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) + * 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/README.docu b/Master/texmf-dist/doc/latex/boites/README.docu index a9936cdc777..b38da6e5f6e 100644 --- a/Master/texmf-dist/doc/latex/boites/README.docu +++ b/Master/texmf-dist/doc/latex/boites/README.docu @@ -2,22 +2,22 @@ Combined documentation (english and french): ============================================ - pdflatex boites.dtx + pdflatex boites.dtx Single documentation ==================== - tex boites.dtx + tex boites.dtx English ------- - pdflatex boites-en.drv + pdflatex boites-en.drv French ------- - pdflatex boites-fr.drv + pdflatex boites-fr.drv - RN / 2009-05-07 +RN / 2009-05-07 diff --git a/Master/texmf-dist/doc/latex/boites/README.md b/Master/texmf-dist/doc/latex/boites/README.md new file mode 120000 index 00000000000..100b93820ad --- /dev/null +++ b/Master/texmf-dist/doc/latex/boites/README.md @@ -0,0 +1 @@ +README \ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/boites/boites_exemples.pdf b/Master/texmf-dist/doc/latex/boites/boites_exemples.pdf deleted file mode 100644 index e6c42b7189d..00000000000 Binary files a/Master/texmf-dist/doc/latex/boites/boites_exemples.pdf and /dev/null differ diff --git a/Master/texmf-dist/doc/latex/boites/boites_exemples.tex b/Master/texmf-dist/doc/latex/boites/boites_exemples.tex deleted file mode 100644 index 719099c18c9..00000000000 --- a/Master/texmf-dist/doc/latex/boites/boites_exemples.tex +++ /dev/null @@ -1,68 +0,0 @@ -\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: diff --git a/Master/texmf-dist/doc/latex/boites/demo.pdf b/Master/texmf-dist/doc/latex/boites/demo.pdf new file mode 100644 index 00000000000..47349d4fed0 Binary files /dev/null and b/Master/texmf-dist/doc/latex/boites/demo.pdf differ diff --git a/Master/texmf-dist/doc/latex/boites/demo.tex b/Master/texmf-dist/doc/latex/boites/demo.tex new file mode 100644 index 00000000000..91511f9c575 --- /dev/null +++ b/Master/texmf-dist/doc/latex/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: -- cgit v1.2.3