Debian Codegraph @

texmf-dist/doc/latex/xkeyval/xkvpream.ble

raw
1 %%
2 %% This is file `xkvpream.ble',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% xkeyval.dtx (with options: `preamble')
8 %%
9 %% ---------------------------------------
10 %% Copyright (C) 2004-2022 Hendri Adriaens
11 %% 2025 David Carlisle for latex-package-repositories
12 %% ---------------------------------------
13 %%
14 %% This work may be distributed and/or modified under the
15 %% conditions of the LaTeX Project Public License, either version 1.3
16 %% of this license or (at your option) any later version.
17 %% The latest version of this license is in
18 %% http://www.latex-project.org/lppl.txt
19 %% and version 1.3 or later is part of all distributions of LaTeX
20 %% version 2003/12/01 or later.
21 %%
22 %% This work has the LPPL maintenance status "maintained".
23 %%
24 %% This Current Maintainer of this work is Hendri Adriaens.
25 %%
26 %% This work consists of the file xkeyval.dtx and derived files
27 %% keyval.tex, xkvtxhdr.tex, xkeyval.sty, xkeyval.tex, xkvview.sty,
28 %% xkvltxp.sty, xkvutils.tex, pst-xkey.tex, pst-xkey.sty, xkveca.cls,
29 %% xkvecb.cls, xkvesa.sty, xkvesb.sty, xkvesc.sty, xkvex1.tex,
30 %% xkvex2.tex, xkvex3.tex and xkvex4.tex.
31 %%
32 %% The following files constitute the xkeyval bundle and must be
33 %% distributed as a whole: readme, xkeyval.pdf, keyval.tex,
34 %% pst-xkey.sty, pst-xkey.tex, xkeyval.sty, xkeyval.tex, xkvview.sty,
35 %% xkvltxp.sty, xkvtxhdr.tex, xkvutils.tex, pst-xkey.dtx and xkeyval.dtx.
36 %%
37 \usepackage{url}
38 \usepackage{xkeyval}
39 \usepackage{fourier}
40 \usepackage{xcolor}
41 \usepackage[multiple]{footmisc}
42 \usepackage{pst-text}
43 \usepackage{listings}
44 \lstnewenvironment{command}{%
45 \lstset{columns=flexible,frame=single,backgroundcolor=\color{blue!20},%
46 xleftmargin=\fboxsep,xrightmargin=\fboxsep,escapeinside=`',gobble=1}}{}
47 \lstnewenvironment{example}{%
48 \lstset{basicstyle=\footnotesize\ttfamily,columns=flexible,frame=single,%
49 backgroundcolor=\color{yellow!20},xleftmargin=\fboxsep,%
50 xrightmargin=\fboxsep,gobble=1}}{}
51 \def\mktitledecor{%
52 \rput[tl]{90}(-6.5,-23.56){%
53 \psline[linewidth=1pt](0,1.5)(\paperheight,1.5)%
54 \rput[lB](.075\paperheight,.5){\pscharpath[linecolor=blue!50,%
55 fillcolor=yellow!20,fillstyle=solid,linewidth=.5pt]%
56 {\Huge\bfseries\sffamily xkeyval}%
57 }%
58 \rput[rB](.925\paperheight,.5){\pscharpath[linecolor=blue!50,%
59 fillcolor=yellow!20,fillstyle=solid,linewidth=.5pt]%
60 {\Huge\bfseries Documentation}%
61 }%
62 \psline[linewidth=1pt](0,0)(\paperheight,0)%
63 }%
64 }
65 \makeatletter
66 \def\tableofcontents{\@starttoc{toc}}
67 \def\changes@#1#2#3{\ch@nges #1\@nil{#2}{#3}}
68 \def\ch@nges v#1.#2#3\@nil#4#5{%
69 \ifnum#1#2<20\else % Controls displaying changes; 0 displays all.
70 \protected@edef\@tempa{%
71 \noexpand\glossary{\textbf{v#1.#2#3}\hfill\emph{(#4)}%
72 \levelchar
73 \ifx\saved@macroname\@empty
74 \space\actualchar\generalname
75 \else
76 \expandafter\@gobble\saved@macroname
77 \actualchar\string\verb\quotechar*%
78 \verbatimchar\saved@macroname\verbatimchar
79 \fi
80 :\levelchar #5}}%
81 \@tempa
82 \fi\endgroup\@esphack
83 }
84 \renewenvironment{theglossary}{%
85 \section*{Version history}%
86 This version history displays recent changes only.\par\bigskip
87 \GlossaryParms \let\item\@idxitem \ignorespaces
88 }{}%
89 \def\eTeX{$\m@th\varepsilon$-\TeX}
90 \def\DescribeMacros{\leavevmode\@bsphack
91 \begingroup\MakePrivateLetters\Describe@Macros}
92 \def\Describe@Macros#1{\endgroup\strut
93 \marginpar{\raggedleft
94 \def\@tempa{#1}\count@\z@
95 \XKV@for@o\@tempa\@tempa{%
96 \ifnum\count@>\z@\\\fi\advance\count@\@ne
97 \MacroFont\expandafter\string\@tempa
98 \expandafter\SpecialUsageIndex\expandafter{\@tempa}%
99 }}%
100 \@esphack\ignorespaces
101 }
102 \def\DescribeOption#1{\leavevmode\@bsphack
103 \marginpar{\raggedleft\PrintDescribeOption{#1}}%
104 \SpecialOptionIndex{#1}\@esphack\ignorespaces}
105 \def\PrintDescribeOption#1{\strut\emph{option}\\\MacroFont #1\ }
106 \def\SpecialOptionIndex#1{\@bsphack
107 \index{#1\actualchar{\protect\ttfamily#1}
108 (option)\encapchar usage}%
109 \index{options:\levelchar#1\actualchar{\protect\ttfamily#1}\encapchar
110 usage}\@esphack}
111 \def\DescribeOptions#1{\leavevmode\@bsphack
112 \marginpar{\raggedleft\strut\emph{options}%
113 \@for\@tempa:=#1\do{%
114 \\\strut\MacroFont\@tempa\SpecialOptionIndex\@tempa
115 }}\@esphack\ignorespaces}
116 \makeatother
117 \def\PrintChangesX{%
118 \begingroup
119 \let\efill\relax
120 \PrintChanges
121 \endgroup
122 }
123 \def\PrintIndexX{%
124 \begingroup
125 \setcounter{IndexColumns}{2}
126 \setlength{\columnsep}{18pt}%
127 \setlength{\columnseprule}{.4pt}%
128 \PrintIndex
129 \endgroup
130 }
131 \def\larg#1{{\ttfamily\char`\<}\meta{#1}{\ttfamily\char`\>}}
132 \def\pf#1{\textsf{#1}}
133 \EnableCrossrefs
134 \RecordChanges
135 \CodelineIndex
136 \AtBeginDocument{\hypersetup{linkcolor=black, citecolor=black, urlcolor=black}}
137 \endinput
138 %%
139 %% End of file `xkvpream.ble'.