diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-12 23:46:03 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-12 23:46:03 +0000 |
commit | 873660d1a83ece926fe7206288dda9c36b349c1b (patch) | |
tree | a48f77125c309a355b5d0eb58d6b24446abe9d62 /Master/texmf-dist/tex/generic/texdraw/texdraw.sty | |
parent | 2939242967231097459df0fc3150fabc2f639111 (diff) |
generic 1
git-svn-id: svn://tug.org/texlive/trunk@613 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/texdraw/texdraw.sty')
-rw-r--r-- | Master/texmf-dist/tex/generic/texdraw/texdraw.sty | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/generic/texdraw/texdraw.sty b/Master/texmf-dist/tex/generic/texdraw/texdraw.sty new file mode 100644 index 00000000000..1ae95b44a97 --- /dev/null +++ b/Master/texmf-dist/tex/generic/texdraw/texdraw.sty @@ -0,0 +1,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} + |