blob: 9aab544ef398fe48f3f855e411e171a29f79235d (
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
|
%%
%% This is file `engpron-tools.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% engpron.dtx (with options: `doc-sty')
%% This is a generated file.
%%
%% Copyright (C) 2003-2008 Y. Henel, le TeXnicien de surface
%% <le.texnicien.de.surface@wanadoo.fr>
%%
%% This file may be distributed and/or modified under the conditions of
%% the LaTeX Project Public License, either version 1.2 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.2 or later is part of all distributions of LaTeX version
%% 1999/12/01 or later.
\def\docdate{2008/08/15}
\ProvidesPackage{engpron-tools}
\RequirePackage[a4paper,%
inner=5cm,%
outer=2cm,%
marginparwidth=5cm]{geometry}
\RequirePackage{fancyvrb}
\AtBeginDocument{\DefineShortVerb{\|}}
\newcommand\BOP{\discretionary{}{}{}}
\newcommand\Option[1]{\textsc{#1}}
\newcommand\Pkg[1]{\textsf{#1}}
\newcommand{\TO}{\textemdash\ \ignorespaces}
\newcommand{\TF}{\unskip\ \textemdash\xspace}
\newcommand{\CAD}{c.-^^e0-d.\xspace}
\newcommand\NOUVEAU[1]{{\slshape #1}}
\newcommand\Sourire{\texttt{\string;-)}}
%%% piqu^^e9 dans doc.sty
\DeclareRobustCommand\meta[1]{%
\ensuremath\langle
\ifmmode \expandafter \nfss@text \fi
{%
\meta@font@select
\edef\meta@hyphen@restore
{\hyphenchar\the\font\the\hyphenchar\font}%
\hyphenchar\font\m@ne
\language\l@nohyphenation
#1\/%
\meta@hyphen@restore
}\ensuremath\rangle
}
\def\meta@font@select{\itshape}
\def\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}
%%% piqu^^e9 dans ltxdoc.cls
\DeclareRobustCommand\cs[1]{\texttt{\char`\\#1}}
\providecommand\marg[1]{%
{\ttfamily\char`\{}\meta{#1}{\ttfamily\char`\}}}
\providecommand\oarg[1]{%
{\ttfamily[}\meta{#1}{\ttfamily]}}
\providecommand\parg[1]{%
{\ttfamily(}\meta{#1}{\ttfamily)}}
%%% red^^e9finitions et d^^e9finitions
\newcommand\PrintDescribeMacro[1]{\cs{#1}}
\newcommand\PrintDescribePoundMacro[1]{\texttt{^^a3#1}}
\def\DescribePoundMacro{\leavevmode\@bsphack
\begingroup\Describe@PoundMacro}
\def\Describe@PoundMacro#1{\endgroup
\marginpar{\raggedleft\PrintDescribePoundMacro{#1}}%
\index{^^a3#1@\PrintDescribePoundMacro{#1}}\@esphack\ignorespaces}
\def\DescribeMacro{\leavevmode\@bsphack
\begingroup\Describe@Macro}
\def\Describe@Macro#1{\endgroup
\marginpar{\raggedleft\PrintDescribeMacro{#1}}%
\index{#1@\PrintDescribeMacro{#1}}\@esphack\ignorespaces}
\newcommand\DescribeOption[1]{\@bsphack
\marginpar{\raggedleft\textsc{#1}}%
\index{#1@\Option{#1} (option)}%
\index{option!\Option{#1}}\@esphack\ignorespaces}
\newcommand\DescribeEnv[1]{\@bsphack
\marginpar{\raggedleft\texttt{#1}}%
\index{#1@\texttt{#1} (environnement)}%
\index{environnement!\texttt{#1}}\@esphack\ignorespaces}
\reversemarginpar
\endinput
%%
%% End of file `engpron-tools.sty'.
|