blob: 7223652463f696d3157ed7ce93452f56c1d2b30b (
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
56
57
|
% PSTricks examples.tex
\documentclass[11pt]{article}
\usepackage[dvipsnames]{xcolor}
\usepackage{times}
\input mode
\usepackage{rotating}
\usepackage{graphicx}
\usepackage{boxdims}
%\usepackage{upgreek}
\usepackage{siunitx}
\usepackage{amssymb}
\input header
\global\psttrue
\begin{document}
\hfill
{\large\bf Examples:
\input{Version.tex}}
\hfill\break
This is a collection of diagrams the author has had occasion to produce
using m4 circuit macros and others, and dpic or gpic.
Some lists of elements from the manual Circuit\_macros.pdf are included.
However, producing diagrams starting from a list of elements is like
writing poetry starting from a list of words, so a variety of small and
medium circuits and other diagrams are included here in the expectation
that you might wish to adapt some of them to your purposes. In some
cases there are other or better m4 or pic constructs for producing
the same drawings, but names of the actual source-files are shown
for reference.
Some of the later examples test the boundaries of what can be done
when employing a ``little language'' like pic. Most of the examples
can be processed using either dpic~-p, dpic~-g, or, with exceptions,
gpic~-t, but the possibility of other postprocessing has meant that
sometimes the source is slightly more complicated than it would be if
only one workflow had been assumed. The most simplicity and elegance
are achieved by sticking to one pic interpreter and one postprocessor.
Color and other embellishments are not included in the standards
documents for circuit elements but examples of their use to call
attention to particular elements are included.
There are a few files in the examples directory that are not included
in this document. To produce .pdf from {\sl file}.m4, for example,
type ``make {\sl file}.pdf''.
Type ``make'' in the extras directory to see more.
\input files
Type ``make'' in the extras directory to see more.
\endinput
|