summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/fbox/doc/fbox.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/fbox/doc/fbox.tex')
-rw-r--r--macros/latex/contrib/fbox/doc/fbox.tex53
1 files changed, 31 insertions, 22 deletions
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[<letters>] 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}