blob: 193e52ad9f2472a3279d6cbe6e4899a1e653dde0 (
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
54
55
|
This is the README file for gastex package.
GasTeX: Graphs and Automata Simplified in TeX
GasTeX is a set of LaTeX macros which allow to draw very easily graphs,
automata, nets, diagrams, etc... under the picture environment of LaTeX.
Author:
-------
Paul Gastin <http://www.lsv.fr/~gastin>
Copyright: 2021 by Paul Gastin
----------
This program can be redistributed and/or modified under the terms
of the LaTeX Project Public License Distributed from CTAN:
https://www.ctan.org/license/lppl1.3
Installation:
-------------
In order to use gastex you only need two files:
- gastex.sty which contains the definition of all the LaTeX macros. This file
could be in your working folder or where other .sty files are, e.g.,
.../texmf-dist/tex/latex/gastex/gastex.sty
or
.../texmf-local/tex/latex/gastex/gastex.sty
- gastex.pro which contains all the postscript procedures. This file
could be in your working folder or where other .pro files are, e.g.,
.../texmf-dist/dvips/gastex/gastex.pro
or
.../texmf-local/dvips/gastex/gastex.pro
Usage: latex+dvips(+ps2pdf) filename.tex
------
- Compile the source file with latex (not pdflatex) and generate the ps file
with dvips. One may then use ps2pdf to get a pdf file.
Usage: pdflatex --shell-escape filename.tex
------
- Requires the package auto-pst-pdf.
Remarks:
--------
- gastex mainly generates postscript code so the pictures cannot be seen
with a dvi-viewer. One has to generate a ps file (latex+dvips) or a pdf
file (latex+dvips+ps2pdf or pdflatex --shell-escape) and view it with a
ps-viewer or a pdf-viewer.
Documentation and examples:
---------------------------
- See http://www.lsv.fr/~gastin/gastex/index.html
- See also gastex-doc.tex for a quick startup guide on how to use gastex
with pdflatex and a few examples.
- Comments in the file gastex.sty also provide documentation for all macros.
Enjoy!
|