summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/contour/dvipsone.cnt
blob: d5052c05858c9f0eda668cf0cb2d7850747a0c98 (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
%%
%% This is file `dvipsone.cnt',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% contour.dtx  (with options: `drv,dvipsone')
%% 
%%   contour package driver file
%% 
%%   Copyright  2004 Harald Harders
%% 
%%   This program can be redistributed and/or modified under the terms
%%   of the LaTeX Project Public License Distributed from CTAN
%%   archives in directory macros/latex/base/lppl.txt; either
%%   version 1 of the License, or any later version.
%% 
%%   h.harders@tu-bs.de
%% 
\ProvidesFile{dvipsone.cnt}
  [2004/11/18  v2.14  Print contoured text (HH, MH)]
\newcommand*\@contour@outline[2]{%
  \rlap{#2}%
  \begingroup
    \setlength\con@length{2\con@length}%
    \setlength\con@length{0.99626400996\con@length}%
    \color{#1}%
    \con@coloroff
    \special{ps:
      gsave
        currentpoint
        newpath
        moveto
        1 setlinejoin
        1 setlinecap
        65693.4 \strip@pt\con@length\space mul setlinewidth
        /cntorigshow /show load def
        /show { false charpath } def
    }%
    \rlap{#2}%
    \special{ps:
        currentpoint
        stroke
        /show /cntorigshow load def
      grestore
      moveto
    }%
  \endgroup
  \mbox{#2}%
}
\endinput
%%
%% End of file `dvipsone.cnt'.