File: texdraw.sty

package info (click to toggle)
tetex-base 3.0.dfsg.3-5etch1
  • links: PTS
  • area: main
  • in suites: etch
  • size: 239,592 kB
  • ctags: 10,610
  • sloc: xml: 103,461; perl: 9,398; ruby: 2,850; python: 1,551; php: 1,067; sh: 981; lisp: 494; makefile: 371; awk: 88
file content (48 lines) | stat: -rw-r--r-- 1,268 bytes parent folder | download | duplicates (15)
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
% TeXdraw macros

% $Id: texdraw.sty,v 2.3 1995/12/19 texdraw-V2R0 $

%   Copyright (C) 1991-1995  Peter Kabal

% The TeXdraw routines in this file are provided free of charge without
% warranty of any kind.  Note that the TeXdraw routines are copyrighted.
% They may be distributed freely provided that the recipients also
% acquire the right to distribute them freely.  The notices to this
% effect must be preserved when the files are distributed.

%  Peter Kabal
%  Department of Electrical Engineering
%  McGill University
%  3480 University
%  Montreal, Quebec
%  Canada  H3A 2A7

%  kabal@TSP.EE.McGill.CA
 
% ===============================================================

\NeedsTeXFormat{LaTeX2e}

% Pass all options to the graphics package
\DeclareOption*{\PassOptionsToPackage{\CurrentOption}{graphics}}
\ProcessOptions

% Load the graphics package if not already loaded
\RequirePackage{graphics}

% Define the error routine
\def\t@xderror #1{%
   \GenericError{%
      \space\space\space\@spaces\@spaces\@spaces
   }{%
      TeXdraw Error: #1%
   }{%
      See the TeXdraw manual for an explanation.%
   }{\@ehc}%
}

% Load the TeXdraw macros
\input texdraw
\ProvidesPackage{texdraw}[\TeXdrawId]
\newenvironment{texdraw}{\leavevmode\btexdraw}{\etexdraw}