Debian Codegraph @

texmf-dist/doc/latex/circuit-macros/examples/examples.tex

raw
1 % PSTricks examples.tex
2
3 \documentclass[11pt]{article}
4 \usepackage[dvipsnames]{xcolor}
5 \usepackage{times}
6 \input mode
7 \usepackage{rotating}
8 \usepackage{graphicx}
9 \usepackage{boxdims}
10 %\usepackage{upgreek}
11 \usepackage{siunitx}
12 \usepackage{amssymb}
13
14 \input header
15
16 \global\psttrue
17
18 \begin{document}
19 \hfill
20 {\large\bf Examples:
21 \input{Version.tex}}
22 \hfill\break
23
24 This is a collection of diagrams the author has had occasion to produce
25 using m4 circuit macros and others, and dpic or gpic.
26
27 Some lists of elements from the manual Circuit\_macros.pdf are included.
28 Producing diagrams starting from a list of elements is like
29 writing poetry starting from a list of words, so a variety of small and
30 medium circuits and other diagrams is also included here in the expectation
31 that you might wish to adapt some of them to your purposes.
32 There may be other or better m4 or pic constructs for producing
33 the same drawings, but names of the actual source-files are shown
34 for reference.
35
36 Some of the later examples test the boundaries of what can be done
37 when employing a ``little language'' like pic. Most of the examples
38 can be processed using either dpic~-p, dpic~-g, or, with exceptions,
39 gpic~-t, but the possibility of other postprocessing has meant that
40 sometimes the source is slightly more complicated than it would be if
41 only one workflow had been assumed. The most simplicity and elegance
42 are achieved by sticking to one pic interpreter and one postprocessor.
43
44 Color and other embellishments are not included in the standards
45 documents for circuit elements but examples of their use to call
46 attention to particular elements are included.
47
48 The source files can be processed individually.
49 To produce .pdf from {\sl file}.m4, for example,
50 type ``make {\sl file}.pdf''.
51
52 When viewing the results on-screen, be aware that there can be subtle
53 differences in appearance with different viewers, particularly in the
54 weight of thin lines.
55
56 Type ``make'' in the extras directory to see more.
57
58 \input files
59
60 \endinput