diff options
author | Karl Berry <karl@freefriends.org> | 2019-03-09 22:23:51 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-03-09 22:23:51 +0000 |
commit | ba84528a3a5f16f49cbebd96d07bf2688718823b (patch) | |
tree | f76b7283b519aece04375cfb3f12460adde18979 /Master | |
parent | 180098c3636d91bf83d8030e58c50a33d3db2ddb (diff) |
fbox (9mar19)
git-svn-id: svn://tug.org/texlive/trunk@50305 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/latex/fbox/CHANGELOG | 1 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/fbox/README.md | 21 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/fbox/fbox.pdf | bin | 0 -> 34505 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/fbox/fbox.tex | 130 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/fbox/fbox.sty | 82 | ||||
-rwxr-xr-x | Master/tlpkg/bin/tlpkg-ctan-check | 2 | ||||
-rwxr-xr-x | Master/tlpkg/libexec/ctan2tds | 1 | ||||
-rw-r--r-- | Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc | 1 | ||||
-rw-r--r-- | Master/tlpkg/tlpsrc/fbox.tlpsrc | 0 |
9 files changed, 237 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/latex/fbox/CHANGELOG b/Master/texmf-dist/doc/latex/fbox/CHANGELOG new file mode 100644 index 00000000000..a79a8d21b21 --- /dev/null +++ b/Master/texmf-dist/doc/latex/fbox/CHANGELOG @@ -0,0 +1 @@ +0.01 2019-03-08 - first CTAN version diff --git a/Master/texmf-dist/doc/latex/fbox/README.md b/Master/texmf-dist/doc/latex/fbox/README.md new file mode 100644 index 00000000000..50147f1126e --- /dev/null +++ b/Master/texmf-dist/doc/latex/fbox/README.md @@ -0,0 +1,21 @@ +# fbox.sty + +Redefines the macro \fbox{...} from standard +LaTeX to \fbox[optarg]{...} +optarg can be any combination of l, r, b, and t. For +example: \fbox[lt]{foo} or \fbox[Tlr]{...} + +Using uppercase letters or a combination of +lowercase and uppercase is also possible. + + +%% It may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3c +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3c or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. + + +hvoss@tug.org
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/fbox/fbox.pdf b/Master/texmf-dist/doc/latex/fbox/fbox.pdf Binary files differnew file mode 100644 index 00000000000..f331925e7a0 --- /dev/null +++ b/Master/texmf-dist/doc/latex/fbox/fbox.pdf diff --git a/Master/texmf-dist/doc/latex/fbox/fbox.tex b/Master/texmf-dist/doc/latex/fbox/fbox.tex new file mode 100644 index 00000000000..1a7f4c1a955 --- /dev/null +++ b/Master/texmf-dist/doc/latex/fbox/fbox.tex @@ -0,0 +1,130 @@ +%% $Id: fbox.tex 946 2019-03-08 12:08:22Z herbert $ +% +\listfiles\setcounter{errorcontextlines}{100} +\documentclass[paper=a4,fontsize=11pt,DIV=13,parskip=half-, + captions=tableabove,twoside=on]{scrartcl} +\usepackage{fontspec} +\setmainfont{AccanthisADFStdNo3}[ + UprightFont =*-Regular, + BoldFont =*-Bold, + ItalicFont =*-Italic, + BoldItalicFont=*-BoldItalic, + RawFeature = -rlig, +] +\setsansfont{GilliusADF}[ + UprightFont =*-Regular, + BoldFont =*-Bold, + ItalicFont =*-Italic, + BoldItalicFont=*-BoldItalic, + RawFeature = -rlig, +] +\setmonofont{Anonymous Pro}[Scale=MatchLowercase,FakeStretch=0.9] + +\usepackage[english]{babel} +\usepackage{scrlayer-scrpage} +\usepackage{showexpl} +\usepackage{listings} +\lstset{basicstyle=\ttfamily\small,language=[LaTeX]TeX,rframe=} + +\def\Lfile#1{\texttt{#1}\index{#1 file@\texttt{#1} file}} +\def\Lext#1{\texttt{.#1}\index{#1 file extension@\texttt{.#1} file extension}} +\def\Lcs#1{\texttt{\textbackslash#1}\index{#1@\texttt{\textbackslash#1}}} +\def\Lenv#1{\texttt{#1}\index{#1 environment@\texttt{#1} environment}} +\def\Lpack#1{\texttt{#1}\index{#1 package@\texttt{#1} package}} +\def\Lprog#1{\texttt{#1}\index{#1 program@\texttt{#1} program}} +\def\Loption#1{\texttt{#1}\index{#1@\texttt{#1} package option}} + +%\usepackage[bibstyle=dtk]{biblatex} +%\addbibresource{\jobname.bib} + +\usepackage{url} +\usepackage[colorlinks,linktocpage]{hyperref} + +\makeatletter% from: doc.sty +\newcommand*\GetFileInfo[1]{% + \def\filename{#1}% + \def\@tempb##1 ##2 ##3\relax##4\relax{% + \def\filedate{##1}% + \def\fileversion{##2}% + \def\fileinfo{##3}}% + \edef\@tempa{\csname ver@#1\endcsname}% + \expandafter\@tempb\@tempa\relax? ? \relax\relax} +\makeatother + +%\GetFileInfo{xltabular.sty} +\usepackage{xspace} +\usepackage{fbox} + +\def\setVersion#1{\setVVersion#1!!} +\def\setVVersion#1=#2!!{\def\fboxVersion{#2}} + +\setVersion{version = 0.01}% + +\title{Package \texttt{fbox} \\--\\ \normalsize \fboxVersion\ (\today)} +\author{Herbert Voß\thanks{\url{hvoss@tug.org}\newline Thanks to Rolf Niepraschk}} +\begin{document} +\maketitle +%\tableofcontents + +This package redefines the \LaTeX-macro \Lcs{fbox} to allow an optional +argument: + +\begin{verbatim} +\fbox[<optargs>]{<contents>} +\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. + + +\begin{LTXexample} +\fbox{foo gar baz} +\end{LTXexample} + +\begin{LTXexample} +\fbox[]{foo gar baz} +\end{LTXexample} + +\begin{LTXexample} +\fbox[rbt]{foo gar baz} +\fbox[brt]{foo gar baz} +\fbox[bRT]{foo gar baz} +\end{LTXexample} + +\begin{LTXexample} +\fbox[lT]{foo gar baz} +\end{LTXexample} + +\begin{LTXexample} +\fbox[bT]{foo gar baz} +\end{LTXexample} + +\begin{LTXexample} +\fbox[Br]{foo gar baz} +\end{LTXexample} + +\begin{LTXexample} +\setlength\fboxrule{5pt} +\fbox[bT]{foo gar baz} +\end{LTXexample} + +\begin{LTXexample} +\setlength\fboxrule{5pt} +\fbox[Br]{foo gar baz} +\end{LTXexample} + + + + +\end{document} + + + +folium = { + de = {"f", "ff"}, + en = {"f", "ff"}, + fr = {"sq","sqq"}, +} diff --git a/Master/texmf-dist/tex/latex/fbox/fbox.sty b/Master/texmf-dist/tex/latex/fbox/fbox.sty new file mode 100644 index 00000000000..b3227b36caa --- /dev/null +++ b/Master/texmf-dist/tex/latex/fbox/fbox.sty @@ -0,0 +1,82 @@ +%% This is file `fbox.sty', +%% +%% Copyright (C) 2019 +%% Herbert Voss <hvoss@tug.org> +%% +%% It may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3c +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3c or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. +% +% $Id: fbox.sty 946 2019-03-08 12:08:22Z herbert $ +% +% ------------------------------------- +\ProvidesPackage{fbox}[2019/03/00 v. 0.01 allow parts of the frame (hv)] +% +\let\orig@fbox\fbox +\def\fb@lowerc@se#1{\lowercase{\edef\@tempa{#1}}} +% +\long\def\fbox{\@ifnextchar[\FBox@i\orig@fbox} +% +\def\FBox@i[#1]{% + \ifx\relax#1\relax + \@tempcntb=15 + \else + \@tempcntb=\z@ + \fb@lowerc@se{#1}% + \expandafter\FBox@ii\@tempa\@nil\relax + \fi + \FBox@iii +} +\def\FBox@ii#1#2\@nil{% + \ifx#1t\advance\@tempcntb by 8% top + \else + \ifx#1l\advance\@tempcntb by 4% left + \else + \ifx#1r\advance\@tempcntb by 2% right + \else + \ifx#1b\advance\@tempcntb by 1% bottom + \fi\fi\fi\fi + \if\relax#2\relax\def\next{}\else\def\next{\FBox@ii#2\@nil}\fi + \next +} +\def\FBox@iii#1{% + \leavevmode + \setbox\@tempboxa\hbox{% + \color@begingroup + \kern\fboxsep{#1}\kern\fboxsep + \color@endgroup}% + \@FrameB@x\relax} +% +\def\@FrameB@x#1{% + \@tempdima\fboxrule + \advance\@tempdima\fboxsep + \advance\@tempdima\dp\@tempboxa + \hbox{% + \lower\@tempdima\hbox{% + \vbox{% + \ifnum\the\@tempcntb>8\relax + \advance\@tempcntb by -8 + \hrule\@height\fboxrule % top + \fi + \hbox{% + \ifnum\@tempcntb>3 + \advance\@tempcntb by -4 + \vrule\@width\fboxrule + \fi % left + #1% + \vbox{% + \vskip\fboxsep + \box\@tempboxa + \vskip\fboxsep}% + #1% + \ifnum\@tempcntb>1\vrule\@width\fboxrule\fi}% right + \ifodd\@tempcntb\hrule\@height\fboxrule\fi}% bottom + }% + }% +} + +\endinput
\ No newline at end of file diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check index a2edbcf3559..efe38f709aa 100755 --- a/Master/tlpkg/bin/tlpkg-ctan-check +++ b/Master/tlpkg/bin/tlpkg-ctan-check @@ -271,7 +271,7 @@ my @TLP_working = qw( facsimile factura facture facture-belge-simple-sans-tva faktor fancybox fancyhandout fancyhdr fancyhdr-it fancylabel fancynum fancypar fancyref fancyslides fancytabs fancytooltips fancyvrb fandol - FAQ-en fascicules fast-diagram fbb fbithesis fbs + FAQ-en fascicules fast-diagram fbb fbithesis fbox fbs fc fcavtex fcltxdoc fcolumn fdsymbol fduthesis featpost fei fenixpar fetamont fetchcls feupphdteses feyn feynmf feynmp-auto ffslides fge fgruler diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds index bceec56f506..3c322f10239 100755 --- a/Master/tlpkg/libexec/ctan2tds +++ b/Master/tlpkg/libexec/ctan2tds @@ -453,6 +453,7 @@ chomp ($Build = `cd $Master/../Build/source && pwd`); 'faq-en', "die 'skipping, use FAQ-en'", 'faq-fr', "die 'skipping, nonfree'", 'fax', "die 'skipping, nosell license'", + 'fbox', "&MAKEflatten", 'fc', "&MAKEflatten", 'fc-arith', "die 'skipping, per author request'", 'fc_arith', "die 'skipping, per author request'", diff --git a/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc b/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc index 82f789de9ec..4c8e0d7f02c 100644 --- a/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc +++ b/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc @@ -414,6 +414,7 @@ depend fancypar depend fancyslides depend fancytabs depend fancytooltips +depend fbox depend fcolumn depend fetchcls depend ffslides diff --git a/Master/tlpkg/tlpsrc/fbox.tlpsrc b/Master/tlpkg/tlpsrc/fbox.tlpsrc new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/Master/tlpkg/tlpsrc/fbox.tlpsrc |