From 46d85b2b8e0282e241f8a41c6c0cd190c495eab0 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Sat, 4 Jan 2020 03:01:09 +0000 Subject: CTAN sync 202001040301 --- macros/latex/contrib/fbox/doc/fbox.pdf | Bin 36174 -> 43022 bytes macros/latex/contrib/fbox/doc/fbox.tex | 88 ++++++++++++++++++++++++++++++++- 2 files changed, 86 insertions(+), 2 deletions(-) (limited to 'macros/latex/contrib/fbox/doc') diff --git a/macros/latex/contrib/fbox/doc/fbox.pdf b/macros/latex/contrib/fbox/doc/fbox.pdf index 59716e6127..43ff42d426 100644 Binary files a/macros/latex/contrib/fbox/doc/fbox.pdf and b/macros/latex/contrib/fbox/doc/fbox.pdf differ diff --git a/macros/latex/contrib/fbox/doc/fbox.tex b/macros/latex/contrib/fbox/doc/fbox.tex index 2d931756de..1f18a9de8b 100644 --- a/macros/latex/contrib/fbox/doc/fbox.tex +++ b/macros/latex/contrib/fbox/doc/fbox.tex @@ -1,4 +1,4 @@ -%% $Id: fbox.tex 947 2019-03-08 17:06:20Z herbert $ +%% $Id: fbox.tex 1128 2020-01-03 20:57:59Z herbert $ % \listfiles\setcounter{errorcontextlines}{100} \documentclass[paper=a4,fontsize=11pt,DIV=13,parskip=half-, @@ -35,6 +35,9 @@ \def\Loption#1{\texttt{#1}\index{#1@\texttt{#1} package option}} \let\Ldim\Lcs +\def\demoText{DuckDuckGo! Time to spread the word!\par +Equipped with the talking points above, you’re ready to help anyone search and browse protected.} + %\usepackage[bibstyle=dtk]{biblatex} %\addbibresource{\jobname.bib} @@ -59,7 +62,7 @@ \def\setVersion#1{\setVVersion#1!!} \def\setVVersion#1=#2!!{\def\fboxVersion{#2}} -\setVersion{version = 0.03}% +\setVersion{version = 0.04}% \title{Package \texttt{fbox} \\--\\ \normalsize \fboxVersion\ (\today)} \author{Herbert Voß\thanks{\url{hvoss@tug.org}\newline Thanks to Rolf Niepraschk}} @@ -72,12 +75,22 @@ argument: \begin{verbatim} \fbox*[]{} +\fparbox*[]{} \end{verbatim} The star version does not put any horizontal space before or behind the argument if no optional argument \texttt{l} or \texttt{r} is given. The non star version always inserts \Ldim{fboxsep}. +\Lcs{fparbox} uses the current \Ldim{linewidth} minus two times the box sep and boxrule width. +It does \emph{not} a test for an existing paragraph indenting. It has do be done by the +user, e.g.: + +\begin{verbatim} +\noindent +\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 @@ -151,4 +164,75 @@ for the frame parts. A missing or an empty argument is the same as the default +\begin{LTXexample} +\fparbox{\demoText} +\end{LTXexample} + +\begin{LTXexample} +\fparbox[]{\demoText} +\end{LTXexample} + +\begin{LTXexample} +\fparbox[rbt]{\demoText} +\fparbox[brt]{\demoText} +\fparbox[bRT]{\demoText} +\end{LTXexample} + +\begin{LTXexample} +\fparbox*[rbt]{\demoText} +\fparbox*[brt]{\demoText} +\fparbox*[bRT]{\demoText} +\end{LTXexample} + +\begin{LTXexample} +\fparbox[lT]{\demoText} +\end{LTXexample} + +\begin{LTXexample} +\fparbox*[lT]{\demoText} +\end{LTXexample} + +\begin{LTXexample} +\fparbox[bT]{\demoText} +\end{LTXexample} + +\begin{LTXexample} +\fparbox*[bT]{\demoText} +\end{LTXexample} + +\begin{LTXexample} +\fparbox[Br]{\demoText} +\end{LTXexample} + +\begin{LTXexample} +\fparbox*[Br]{\demoText} +\end{LTXexample} + +\begin{LTXexample} +\setlength\fboxrule{5pt} +\fparbox[bT]{\demoText} +\end{LTXexample} + +\begin{LTXexample} +\setlength\fboxrule{5pt} +\fparbox*[bT]{\demoText} +\end{LTXexample} + + +\begin{LTXexample} +\setlength\fboxrule{5pt} +\fparbox[Br]{\demoText} +\end{LTXexample} + +\begin{LTXexample} +\setlength\fboxrule{5pt} +\fparbox*[Br]{\demoText} +\end{LTXexample} + + + + + + + \end{document} \ No newline at end of file -- cgit v1.2.3