summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/fbox/doc/fbox.tex
blob: 1a7f4c1a955710e79a27bb3a15c3e14df831c58c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
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"},
}