diff options
author | Karl Berry <karl@freefriends.org> | 2010-01-01 01:30:46 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-01-01 01:30:46 +0000 |
commit | 71b40e8ec749d2bdb93cf522e3dbe5e10ddf8693 (patch) | |
tree | f25f42c276e5e51b984f9695080a5aa8dcdba134 /Master/texmf-dist/tex/latex/engpron/engpron-tools.sty | |
parent | 190be0f375907ce109add95341d6e9b85c60afba (diff) |
engpron ^^ update from non-tds.zip
git-svn-id: svn://tug.org/texlive/trunk@16558 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/engpron/engpron-tools.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/engpron/engpron-tools.sty | 96 |
1 files changed, 96 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/engpron/engpron-tools.sty b/Master/texmf-dist/tex/latex/engpron/engpron-tools.sty new file mode 100644 index 00000000000..9aab544ef39 --- /dev/null +++ b/Master/texmf-dist/tex/latex/engpron/engpron-tools.sty @@ -0,0 +1,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'. |