Current File : //usr/share/texlive/texmf-dist/doc/latex/xkeyval/xkvpream.ble |
%%
%% This is file `xkvpream.ble',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% xkeyval.dtx (with options: `preamble')
%%
%% ---------------------------------------
%% Copyright (C) 2004-2020 Hendri Adriaens
%% ---------------------------------------
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
%% 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.3 or later is part of all distributions of LaTeX
%% version 2003/12/01 or later.
%%
%% This work has the LPPL maintenance status "maintained".
%%
%% This Current Maintainer of this work is Hendri Adriaens.
%%
%% This work consists of the file xkeyval.dtx and derived files
%% keyval.tex, xkvtxhdr.tex, xkeyval.sty, xkeyval.tex, xkvview.sty,
%% xkvltxp.sty, xkvutils.tex, pst-xkey.tex, pst-xkey.sty, xkveca.cls,
%% xkvecb.cls, xkvesa.sty, xkvesb.sty, xkvesc.sty, xkvex1.tex,
%% xkvex2.tex, xkvex3.tex and xkvex4.tex.
%%
%% The following files constitute the xkeyval bundle and must be
%% distributed as a whole: readme, xkeyval.pdf, keyval.tex,
%% pst-xkey.sty, pst-xkey.tex, xkeyval.sty, xkeyval.tex, xkvview.sty,
%% xkvltxp.sty, xkvtxhdr.tex, xkvutils.tex, pst-xkey.dtx and xkeyval.dtx.
%%
\usepackage{url}
\usepackage{xkeyval}
\usepackage{fourier}
\usepackage{xcolor}
\usepackage[multiple]{footmisc}
\usepackage{pst-text}
\usepackage{listings}
\lstnewenvironment{command}{%
\lstset{columns=flexible,frame=single,backgroundcolor=\color{blue!20},%
xleftmargin=\fboxsep,xrightmargin=\fboxsep,escapeinside=`',gobble=1}}{}
\lstnewenvironment{example}{%
\lstset{basicstyle=\footnotesize\ttfamily,columns=flexible,frame=single,%
backgroundcolor=\color{yellow!20},xleftmargin=\fboxsep,%
xrightmargin=\fboxsep,gobble=1}}{}
\def\mktitledecor{%
\rput[tl]{90}(-6.5,-23.56){%
\psline[linewidth=1pt](0,1.5)(\paperheight,1.5)%
\rput[lB](.075\paperheight,.5){\pscharpath[linecolor=blue!50,%
fillcolor=yellow!20,fillstyle=solid,linewidth=.5pt]%
{\Huge\bfseries\sffamily xkeyval}%
}%
\rput[rB](.925\paperheight,.5){\pscharpath[linecolor=blue!50,%
fillcolor=yellow!20,fillstyle=solid,linewidth=.5pt]%
{\Huge\bfseries Documentation}%
}%
\psline[linewidth=1pt](0,0)(\paperheight,0)%
}%
}
\makeatletter
\def\tableofcontents{\@starttoc{toc}}
\def\changes@#1#2#3{\ch@nges #1\@nil{#2}{#3}}
\def\ch@nges v#1.#2#3\@nil#4#5{%
\ifnum#1#2<20\else % Controls displaying changes; 0 displays all.
\protected@edef\@tempa{%
\noexpand\glossary{\textbf{v#1.#2#3}\hfill\emph{(#4)}%
\levelchar
\ifx\saved@macroname\@empty
\space\actualchar\generalname
\else
\expandafter\@gobble\saved@macroname
\actualchar\string\verb\quotechar*%
\verbatimchar\saved@macroname\verbatimchar
\fi
:\levelchar #5}}%
\@tempa
\fi\endgroup\@esphack
}
\renewenvironment{theglossary}{%
\section*{Version history}%
This version history displays recent changes only.\par\bigskip
\GlossaryParms \let\item\@idxitem \ignorespaces
}{}%
\def\eTeX{$\m@th\varepsilon$-\TeX}
\def\DescribeMacros{\leavevmode\@bsphack
\begingroup\MakePrivateLetters\Describe@Macros}
\def\Describe@Macros#1{\endgroup\strut
\marginpar{\raggedleft
\def\@tempa{#1}\count@\z@
\XKV@for@o\@tempa\@tempa{%
\ifnum\count@>\z@\\\fi\advance\count@\@ne
\MacroFont\expandafter\string\@tempa
\expandafter\SpecialUsageIndex\expandafter{\@tempa}%
}}%
\@esphack\ignorespaces
}
\def\DescribeOption#1{\leavevmode\@bsphack
\marginpar{\raggedleft\PrintDescribeOption{#1}}%
\SpecialOptionIndex{#1}\@esphack\ignorespaces}
\def\PrintDescribeOption#1{\strut\emph{option}\\\MacroFont #1\ }
\def\SpecialOptionIndex#1{\@bsphack
\index{#1\actualchar{\protect\ttfamily#1}
(option)\encapchar usage}%
\index{options:\levelchar#1\actualchar{\protect\ttfamily#1}\encapchar
usage}\@esphack}
\def\DescribeOptions#1{\leavevmode\@bsphack
\marginpar{\raggedleft\strut\emph{options}%
\@for\@tempa:=#1\do{%
\\\strut\MacroFont\@tempa\SpecialOptionIndex\@tempa
}}\@esphack\ignorespaces}
\makeatother
\def\PrintChangesX{%
\begingroup
\let\efill\relax
\PrintChanges
\endgroup
}
\def\PrintIndexX{%
\begingroup
\setcounter{IndexColumns}{2}
\setlength{\columnsep}{18pt}%
\setlength{\columnseprule}{.4pt}%
\PrintIndex
\endgroup
}
\def\larg#1{{\ttfamily\char`\<}\meta{#1}{\ttfamily\char`\>}}
\def\pf#1{\textsf{#1}}
\EnableCrossrefs
\RecordChanges
\CodelineIndex
\endinput
%%
%% End of file `xkvpream.ble'.