Debian Codegraph @

texmf-dist/doc/support/texdraw/README

raw
1 TeXdraw distribution
2
3 $Id: README 2.8 2019/04/18 TeXdraw-v2r3 $
4
5 The TeXdraw package consists of a set of macro definitions for the TeX
6 typesetting program. These macros allow the user to produce PostScript
7 drawings from within TeX and LaTeX.
8
9 The main benefits of TeXdraw accrue from the ability to produce drawings
10 from <within> TeX, using TeX fonts for labelling the drawing.
11
12 Basic drawing features include:
13 (1) moves, lines and arrow vectors
14 - selectable gray level, line width, pattern, arrowhead size and type
15 (2) circles, ellipses, arcs, and Bezier curves
16 (3) general fill command to fill a region defined by lines and Bezier
17 curves (selectable gray level)
18 (4) TeX text, including mathematics, can be positioned and superimposed
19 on the drawing
20
21 TeXdraw has been designed to be extensible. Drawing "segments" are
22 relocatable, self-contained units. Using a combination of the begingroup/
23 endgroup mechanism in TeX and the gsave/grestore mechanism in PostScript,
24 drawing segments allow for local changes to the scaling and line
25 parameters. Using TeX's macro definition capability, new drawing commands
26 can be constructed from drawing segments.
27
28 The extensibility features include,
29 (1) relocatable drawing segments to keep changes local
30 (2) local segment scaling
31 (3) saving and restoring positions using symbolic positions
32
33 The distribution as a compressed tar file is available from:
34 http://www-mmsp.ECE.McGill.CA/MMSP/Documents/Software
35
36 =====
37 Peter Kabal [email protected]
38 Department of Electrical & Computer Engineering
39 McGill University
40 Montreal, Quebec
41
42 =====
43 The distribution consists of the TeXdraw macros themselves, files with
44 auxiliary macros, and the TeXdraw manual (PosScript/PDF).
45
46 Distribution Contents:
47 ----------------------
48
49 Miscellaneous:
50 README - this file
51 ChangeLog - log of changes to TeXdraw
52
53 TeXdraw macros (main directory):
54 texdraw.tex - TeXdraw macros for TeX
55 texdraw.sty - LaTeX2e interface to TeXdraw
56 txdtools.tex - TeXdraw toolbox for extending TeXdraw
57 txdps.tex - TeXdraw macros for accessing PostScript macros
58 blockdiagram.tex - Block diagram macros for TeXdraw
59
60 TeXdraw examples (directory examples/):
61 txdexamp.tex - plain TeX code for the examples in the manual
62 txdexamp.latex - LaTeX2e code for the examples in the manual
63
64 TeXdraw documentation (directory manual/):
65 texdraw.ps - PostScript version of the manual
66 texdraw.pdf - PDF version of the manual
67 texdraw.texi - Texinfo source file for the TeXdraw manual
68
69 ===============================================
70 Initial Tests:
71
72 (1) View the PostScript or pdf version of the manual ("texdraw.ps" or
73 "texdraw.pdf") to see the capabilities of TeXdraw.
74 (2) Try TeX'ing the examples file. Assuming plain TeX is invoked with the
75 command "tex" and LaTeX2e is invoked with the command "latex"
76 % tex txdexamp
77 ... or ...
78 % latex texdexamp.latex
79 (3) Printing the examples using the appropriate printer driver program
80 (only dvips can be used with the plain TeX version of the examples),
81 % dvips txdexamp