From f18fa52d41e3ef33839ba943fe4987a6825ed278 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Tue, 23 Jun 2020 03:01:27 +0000 Subject: CTAN sync 202006230301 --- macros/latex/contrib/fbox/doc/fbox.tex | 53 ++++++++++++++++++++-------------- 1 file changed, 31 insertions(+), 22 deletions(-) (limited to 'macros/latex/contrib/fbox/doc/fbox.tex') diff --git a/macros/latex/contrib/fbox/doc/fbox.tex b/macros/latex/contrib/fbox/doc/fbox.tex index 1f18a9de8b..4cbfc2d36d 100644 --- a/macros/latex/contrib/fbox/doc/fbox.tex +++ b/macros/latex/contrib/fbox/doc/fbox.tex @@ -1,4 +1,4 @@ -%% $Id: fbox.tex 1128 2020-01-03 20:57:59Z herbert $ +%% $Id: fbox.tex 10 2020-06-22 10:15:39Z herbert $ % \listfiles\setcounter{errorcontextlines}{100} \documentclass[paper=a4,fontsize=11pt,DIV=13,parskip=half-, @@ -62,7 +62,7 @@ Equipped with the talking points above, you’re ready to help anyone search and \def\setVersion#1{\setVVersion#1!!} \def\setVVersion#1=#2!!{\def\fboxVersion{#2}} -\setVersion{version = 0.04}% +\setVersion{version = 0.05}% \title{Package \texttt{fbox} \\--\\ \normalsize \fboxVersion\ (\today)} \author{Herbert Voß\thanks{\url{hvoss@tug.org}\newline Thanks to Rolf Niepraschk}} @@ -91,10 +91,15 @@ user, e.g.: \fparbox ... \end{verbatim} -The optional argument can be of any combination of the letters -l, r, b, and t or altenatively L, R, B, and T. This l)eft, r)right, b)ottom, and t)op -for the frame parts. A missing or an empty argument is the same as the default -\Lcs{fbox} from standard \LaTeX. +The optional argument can be +\begin{description} +\item[boxrule] The rule width is predefined to the current value of \Ldim{fboxrule} (0.4pt) +\item[boxsep] The box separation is predefined to the current value of \Ldim{fboxsep} (3pt) +\item[] Any combination of the letters +l, r, b, and t, or altenatively L, R, B, and T for l)eft, r)right, b)ottom, and t)op +of the frame parts. A missing or an empty argument is the same as the default +\Lcs{fbox} command from standard \LaTeX. +\end{description} \begin{LTXexample} @@ -142,24 +147,27 @@ for the frame parts. A missing or an empty argument is the same as the default \end{LTXexample} \begin{LTXexample} -\setlength\fboxrule{5pt} -\fbox[bT]{foo gar baz} +\fbox[bT,boxrule=5pt]{foo gar baz} \end{LTXexample} \begin{LTXexample} -\setlength\fboxrule{5pt} -\fbox*[bT]{foo gar baz} +\fbox*[bT,boxrule=5pt]{foo gar baz} \end{LTXexample} + \begin{LTXexample} -\setlength\fboxrule{5pt} -\fbox[Br]{foo gar baz} +\fbox[Br,boxrule=5pt]{foo gar baz} \end{LTXexample} + \begin{LTXexample} -\setlength\fboxrule{5pt} -\fbox*[Br]{foo gar baz} +\fbox*[boxrule=5pt,Br]{foo gar baz} +\end{LTXexample} + + +\begin{LTXexample} +\fbox*[boxsep=5mm,bT,boxrule=2pt]{foo gar baz} \end{LTXexample} @@ -172,6 +180,7 @@ for the frame parts. A missing or an empty argument is the same as the default \fparbox[]{\demoText} \end{LTXexample} + \begin{LTXexample} \fparbox[rbt]{\demoText} \fparbox[brt]{\demoText} @@ -209,24 +218,24 @@ for the frame parts. A missing or an empty argument is the same as the default \end{LTXexample} \begin{LTXexample} -\setlength\fboxrule{5pt} -\fparbox[bT]{\demoText} +\fparbox[bT,boxrule=5pt]{\demoText} \end{LTXexample} \begin{LTXexample} -\setlength\fboxrule{5pt} -\fparbox*[bT]{\demoText} +\fparbox*[bT,boxrule=5pt,boxsep=6pt]{\demoText} +\end{LTXexample} + +\begin{LTXexample} +\fparbox*[bT,boxrule=3pt,boxsep=10pt]{\demoText} \end{LTXexample} \begin{LTXexample} -\setlength\fboxrule{5pt} -\fparbox[Br]{\demoText} +\fparbox[Br,boxrule=5pt,boxsep=10pt]{\demoText} \end{LTXexample} \begin{LTXexample} -\setlength\fboxrule{5pt} -\fparbox*[Br]{\demoText} +\fparbox*[boxrule=5pt,Br]{\demoText} \end{LTXexample} -- cgit v1.2.3