summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/fbox/fbox.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/fbox/fbox.tex')
-rw-r--r--Master/texmf-dist/doc/latex/fbox/fbox.tex26
1 files changed, 19 insertions, 7 deletions
diff --git a/Master/texmf-dist/doc/latex/fbox/fbox.tex b/Master/texmf-dist/doc/latex/fbox/fbox.tex
index 4cbfc2d36d7..fad6aa50049 100644
--- a/Master/texmf-dist/doc/latex/fbox/fbox.tex
+++ b/Master/texmf-dist/doc/latex/fbox/fbox.tex
@@ -1,4 +1,4 @@
-%% $Id: fbox.tex 10 2020-06-22 10:15:39Z herbert $
+%% $Id: fbox.tex 449 2022-02-20 20:50:12Z 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.05}%
+\setVersion{version = 0.06}%
\title{Package \texttt{fbox} \\--\\ \normalsize \fboxVersion\ (\today)}
\author{Herbert Voß\thanks{\url{hvoss@tug.org}\newline Thanks to Rolf Niepraschk}}
@@ -95,6 +95,10 @@ 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[lcolor] Color for the left line (black)
+\item[tcolor] Color for the top line (black)
+\item[rcolor] Color for the right line (black)
+\item[bcolor] Color for the bottom line (black)
\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
@@ -112,12 +116,16 @@ of the frame parts. A missing or an empty argument is the same as the default
\begin{LTXexample}
\fbox[rbt]{foo gar baz}
+\fbox[rbt,boxrule=4pt,rcolor=red,
+ tcolor=green]{foo gar baz}
\fbox[brt]{foo gar baz}
\fbox[bRT]{foo gar baz}
\end{LTXexample}
\begin{LTXexample}
\fbox*[rbt]{foo gar baz}
+\fbox[rbt,boxrule=4pt,rcolor=red,
+ tcolor=green]{foo gar baz}
\fbox*[brt]{foo gar baz}
\fbox*[bRT]{foo gar baz}
\end{LTXexample}
@@ -157,7 +165,7 @@ of the frame parts. A missing or an empty argument is the same as the default
\begin{LTXexample}
-\fbox[Br,boxrule=5pt]{foo gar baz}
+\fbox[Br,boxrule=5pt,bcolor=red]{foo gar baz}
\end{LTXexample}
@@ -167,7 +175,8 @@ of the frame parts. A missing or an empty argument is the same as the default
\begin{LTXexample}
-\fbox*[boxsep=5mm,bT,boxrule=2pt]{foo gar baz}
+\fbox*[boxsep=5mm,bT,tcolor=green,
+ boxrule=2pt]{foo gar baz}
\end{LTXexample}
@@ -182,7 +191,8 @@ of the frame parts. A missing or an empty argument is the same as the default
\begin{LTXexample}
-\fparbox[rbt]{\demoText}
+\fparbox[rbt,bcolor=red,rcolor=blue,
+ tcolor=red]{\demoText}
\fparbox[brt]{\demoText}
\fparbox[bRT]{\demoText}
\end{LTXexample}
@@ -190,7 +200,8 @@ of the frame parts. A missing or an empty argument is the same as the default
\begin{LTXexample}
\fparbox*[rbt]{\demoText}
\fparbox*[brt]{\demoText}
-\fparbox*[bRT]{\demoText}
+\fparbox*[bRT,rcolor=blue,
+ tcolor=green]{\demoText}
\end{LTXexample}
\begin{LTXexample}
@@ -235,7 +246,8 @@ of the frame parts. A missing or an empty argument is the same as the default
\end{LTXexample}
\begin{LTXexample}
-\fparbox*[boxrule=5pt,Br]{\demoText}
+\fparbox*[boxrule=5pt,Br,
+ bcolor=red!40,rcolor=blue!40]{\demoText}
\end{LTXexample}