summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/interfaces/interfaces-fancyvrb.sty
blob: 72d299bb72ed4c2acee9d641d88d2436e98466d4 (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
%%
%% This is file `interfaces-fancyvrb.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% interfaces.dtx  (with options: `fancyvrb')
%% 
%% This is a generated file.
%% 
%% interfaces : 2010/10/20 v1.0 - interfaces : interfaces with keys for other packages (FC)
%% 
%% 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
%% 
%% This work consists of the main source file interfaces.dtx
%% and the derived files
%%     interfaces.sty, interfaces.pdf, interfaces.ins,
%%     interfaces-base.sty,
%%     interfaces-LaTeX.sty,
%%     interfaces-tikz.sty,
%%     interfaces-titlesec.sty,
%%     interfaces-hyperref.sty,
%%     interfaces-bookmark.sty,
%%     interfaces-hypbmsec.sty,interfaces-hypbmsec.code.tex,
%%     interfaces-fancyhdr.sty,
%%     interfaces-marks.sty,
%%     interfaces-tocloft.sty,
%%     interfaces-makecell.sty,
%%     interfaces-enumitem.sty,
%%     interfaces-truncate.sty,
%%     interfaces-appendix.sty,
%%     interfaces-embedfile.sty,
%%     interfaces-environ.sty,
%%     interfaces-umrand.sty,
%%     interfaces-scrlfile.sty,
%%     interfaces-pgfkeys.sty,
%%     interfaces-etoolbox.sty,
%%     interfaces-fancyvrb.sty
%% 
%% interfaces: interfaces with keys for other packages (FC)
%% Copyright (C) 2010 by Florent Chervet <florent.chervet@free.fr>
%% 
\ProvidesPackage{interfaces-fancyvrb}
   [2010/08/22 v1.0 Custom verbatim environments (FC)]
\RequirePackage{interfaces-base}
\itf@Check@Package{fancyvrb}
\itf@pgfkeys
\def\itf@tp#1{%
\DefineVerbatimEnvironment{itf:VerbLines}{Verbatim}
   {gobble=#1,frame=lines,framesep=6pt,fontseries=m}
\DefineVerbatimEnvironment{itf:Verb}{Verbatim}
   {gobble=#1,fontseries=m}
\DefineVerbatimEnvironment{itf:Verb*}{Verbatim}
   {gobble=#1,fontseries=m,commandchars=$()}
}
\ltx@ifpackageloaded{doc}
            {\itf@tp{1}}
            {\itf@tp{0}}
\AtBeginDocument{%
\ifdefined\VerbLines\else
\ifdefined\endVerbLines\else
   \letcs\VerbLines{itf:VerbLines}%
   \letcs\endVerbLines{enditf:VerbLines}%
\fi\fi
\ifdefined\Verb\else\ifdefined\endVerb\else
   \letcs\Verb{itf:Verb}%
   \letcs\endVerb{enditf:Verb}%
\fi\fi
\ifcsname Verb*\endcsname\else
\ifcsname endVerb*\endcsname\else
   \csletcs{Verb*}{itf:Verb*}%
   \csletcs{endVerb*}{enditf:Verb*}%
\fi\fi
}
\endinput
%%
%% End of file `interfaces-fancyvrb.sty'.