diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/esvect/esvect.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/esvect/esvect.sty | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/esvect/esvect.sty b/Master/texmf-dist/tex/latex/esvect/esvect.sty new file mode 100644 index 00000000000..40261a84038 --- /dev/null +++ b/Master/texmf-dist/tex/latex/esvect/esvect.sty @@ -0,0 +1,58 @@ +%% +%% This is file `esvect.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% esvect.dtx (with options: `package') +%% +%% esvect package to typeset vectors. +%% +%% See also http://perso.wanadoo.fr/eddie.saudrais (in french) +%% +%% Run LaTeX on escevt.ins to generate files. +%% +%% Install the files: +%% +%% -- esvect.sty and uesvect.fd on TEXINPUT; +%% -- vect5.mf, vect6.mf, vect7.mf, vect8.mf, vect9.mf, vect10.mf on +%% MFINPUT; +%% -- generate tfm files running METAFONT on *.mf files, and put +%% *.tfm files on the right location. +%% +%% Run LaTeX on esvect.dtx to generate +%% documentation. +%% +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{esvect} +\DeclareSymbolFont{esvector} {U}{esvect}{m}{n} +\DeclareMathSymbol{\fldr}{\mathrel}{esvector}{'024} %default +\DeclareOption{a}{\DeclareMathSymbol{\fldr}{\mathrel}{esvector}{'021}} +\DeclareOption{b}{\DeclareMathSymbol{\fldr}{\mathrel}{esvector}{'022}} +\DeclareOption{c}{\DeclareMathSymbol{\fldr}{\mathrel}{esvector}{'023}} +\DeclareOption{d}{\DeclareMathSymbol{\fldr}{\mathrel}{esvector}{'024}} +\DeclareOption{e}{\DeclareMathSymbol{\fldr}{\mathrel}{esvector}{'025}} +\DeclareOption{f}{\DeclareMathSymbol{\fldr}{\mathrel}{esvector}{'026}} +\DeclareOption{g}{\DeclareMathSymbol{\fldr}{\mathrel}{esvector}{'027}} +\DeclareOption{h}{\DeclareMathSymbol{\fldr}{\mathrel}{esvector}{'030}} +\ProcessOptions\relax +\DeclareMathSymbol{\montraita}{\mathrel}{esvector}{'040} +\DeclareMathSymbol{\montraitd}{\mathrel}{esvector}{'043} +\def\relbareda{\mathrel{\mathpalette\mathsm@sh\montraita}} +\def\relbaredd{\mathrel{\mathpalette\mathsm@sh\montraitd}} +\def\vv{\@ifstar{\vvstar}{\vecteur}} +\def\vvstar#1#2{\vecteur{#1}_{\mkern-1mu\relax#2}} +\newcommand{\vecteur}{% + \mathpalette{\overvect@\vectfill@}} +\def\vectfill@{\traitfill@\relbaredd\relbareda\fldr} +\def\traitfill@#1#2#3#4{% + $\m@th\mkern2mu\relax#4#1\mkern-1.5mu%on met \relbaredd au d\'ebut + \cleaders\hbox{$#4\mkern0mu#2\mkern0mu$}\hfill%remplit avec relbareda + \mkern-1.5mu#3$% +} +\def\overvect@#1#2#3{\vbox{\ialign{##\crcr% + \noalign{\kern-.7pt\nointerlineskip}#1#2\crcr% + \noalign{\kern-.3pt\nointerlineskip}$\m@th\hfil#2#3\hfil$\crcr}}} +\endinput +%% +%% End of file `esvect.sty'. |