Debian Codegraph @

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

raw
1 % The format of this file must be strictly retained (including long lines)
2 % to avoid problems in the generation of examples.html
3 \bfig{
4 \centerline{\getpic{quick}}
5 \caption{The quick-start example from the manual
6 \src{quick.m4}.}
7 }
8
9 \bfig{
10 \centerline{{\small\getpic{Resistors}}}
11 \caption{Resistors, showing some variations and the ebox
12 \src{Resistors.m4}.}
13 }
14
15 \bfig{
16 \centerline{{\small\getpic{Capacitors}}}
17 \caption{Capacitors
18 \src{Capacitors.m4}.}
19 }
20
21 \bfig{
22 \centerline{{\small\getpic{Inductors}}}
23 \caption{Inductors
24 \src{Inductors.m4}.}
25 }
26
27 \bfig{
28 \centerline{\getpic{Diodes}}
29 \caption{Diodes: appending a {\tt K} to the second argument
30 draws an open arrowhead
31 \src{Diodes.m4}.}
32 }
33
34 \bfig{
35 \centerline{\getpic{Emarrows}}
36 \caption{Radiation arrows
37 \src{Emarrows.m4}.}
38 }
39
40 \bfig{
41 \centerline{\getpic{Variable}}
42 \caption{Arrows and marks for showing variability
43 \src{Variable.m4}.}
44 }
45
46 \bfig{
47 \centerline{\getpic{Sources}}
48 \caption{Sources and source-like elements
49 \src{Sources.m4}.}
50 }
51
52 \bfig{
53 \centerline{\getpic{AmpTable}}
54 \caption{Macros {\tt amp}, {\tt delay}, and {\tt integrator}
55 \src{AmpTable.m4}.}
56 }
57
58 \bfig{
59 \centerline{\getpic{Fuses}}
60 \caption{Macros {\tt fuse,} {\tt cbreaker,} and {\tt jumper}
61 \src{Fuses.m4}.}
62 }
63
64 \bfig{
65 \centerline{\getpic{Arresters}}
66 \caption{The {\tt arrester} macro
67 \src{Arresters.m4}.}
68 }
69
70 \bfig{
71 \centerline{\getpic{MoreTable}}
72 \caption{Additional two-terminal elements
73 \src{MoreTable.m4}.}
74 }
75
76 \bfig{
77 \centerline{\getpic{Grounds}}
78 \caption{Ground symbols
79 \src{Grounds.m4}.}
80 }
81
82 \bfig{
83 \centerline{\getpic{Antennas}}
84 \caption{Antenna symbols and the microstrip radial stub
85 \src{Antennas.m4}.}
86 }
87
88 \bfig{
89 \centerline{\getpic{Switches}}
90 \caption{The switch macros; {\tt switch(,,,L|B|D)} is a wrapper
91 for {\tt lswitch}, {\tt bswitch}, and {\tt dswitch}
92 \src{Switches.m4}.}
93 }
94
95 \bfig{
96 {\small\centerline{\getpic{Opamp}} }
97 \caption{The opamp
98 \src{Opamp.m4}.}
99 }
100
101 \bfig{
102 \centerline{\getpic{Audio}}
103 \caption{Audio elements
104 \src{Audio.m4}.}
105 }
106
107 \bfig{
108 {\small\centerline{\getpic{Xform}} }
109 \caption{Some variations of the transformer element, drawing direction down
110 \src{Xform.m4}.}
111 }
112
113 \bfig{
114 \centerline{\getpic{NPDT}}
115 \caption{Double throw with the {\tt NPDT} macro
116 \src{NPDT.m4}.}
117 }
118
119 \bfig{
120 \centerline{\getpic{Contact}}
121 \caption{A non-exhaustive sampling of {\tt contact} macro variations
122 \src{Contact.m4}.}
123 }
124
125 \bfig{
126 \centerline{\getpic{Contacts}}
127 \caption{The {\tt contacts} macro
128 \src{Contacts.m4}.}
129 }
130
131 \bfig{
132 \centerline{\getpic{relaycoil}}
133 \caption{The {\tt relaycoil} macro
134 \src{relaycoil.m4}.}
135 }
136
137 \bfig{
138 \centerline{\getpic{Relay}}
139 \caption{Some variants of {\tt relay}
140 \src{Relay.m4}.}
141 }
142
143 \bfig{
144 \centerline{\getpic{Jack}}
145 \caption{The {\tt jack} and {\tt plug} macros
146 \src{Jack.m4}.}
147 }
148
149 \bfig{
150 \centerline{\getpic{Tstrip}}
151 \caption{The {\tt tstrip}, {\tt ccoax}, and {\tt tbox} macros
152 \src{Tstrip.m4}.}
153 }
154
155 \bfig{
156 \centerline{\getpic{Conn}}
157 \caption{The {\tt tconn} and {\tt Pconn} macros
158 \src{Conn.m4}.}
159 }
160
161 \bfig{
162 \centerline{\getpic{Pconn}}
163 \caption{The {\tt pconnex} macro
164 \src{Pconn.m4}.}
165 }
166
167 \ifmpost\else\bfig{
168 \centerline{\getpic{cbresistor}}
169 \caption{Color-coded through-hole resistors. All are
170 10 percent tolerance except the last,
171 which illustrates 5 percent
172 \src{cbresistor.m4}.}
173 }\fi
174
175 \ifmpost\else\ifpostscript\else\bfig{
176 \centerline{\getpic{EVplugs}}
177 \caption{Electric vehicle charging plug patterns make extensive
178 use of {\sl key=value} pairs to set options
179 \src{EVplugs.m4}.}
180 }\fi\fi
181
182 \bfig{
183 \centerline{\getpic{Headers}}
184 \caption{The {\tt Header} macro
185 \src{Headers.m4}.}
186 }
187
188 \bfig{
189 \centerline{\getpic{Sockets}}
190 \caption{Some connectors with simple geometry and lists of labels
191 \src{Sockets.m4}.}
192 }
193
194 \bfig{
195 \centerline{\getpic{Chips}}
196 \caption{IC package outlines and examples
197 \src{Chips.m4}.}
198 }
199
200 \bfig{
201 \centerline{\getpic{fet}}
202 \caption{FETs, showing programmable components and example customizations
203 \src{fet.m4}.}
204 }
205
206 \bfig{
207 \centerline{\getpic{ujt}}
208 \caption{UJT examples
209 \src{ujt.m4}.}
210 }
211
212 \bfig{
213 \centerline{\getpic{Thyristor}}
214 \caption{Thyristor examples. The thyristor is a 3- or 4-terminal
215 composite element
216 \src{Thyristor.m4}.}
217 }
218
219 \bfig{
220 \centerline{\getpic{Bip}}
221 \caption{Bipolar transistors (drawing direction: up)
222 \src{Bip.m4}.}
223 }
224
225 \bfig{
226 \centerline{\getpic{Tgate}}
227 \caption{The {\tt tgate} and {\tt ptrans} elements
228 \src{Tgate.m4}.}
229 }
230
231 \bfig{
232 \centerline{\getpic{Nport}}
233 \caption{The {\tt nport} and {\tt nterm} macros
234 \src{Nport.m4}.}
235 }
236
237 \bfig{
238 \centerline{\getpic{NLG}}
239 \caption{Some customizations of {\tt nport}
240 \src{NLG.m4}.}
241 }
242
243 \bfig{
244 \centerline{\getpic{Windings}}
245 \caption{The macros
246 {\tt winding(L|R,winding diam,pitch,nturns,core wid, "core color")}
247 and
248 {\tt arcwinding(winding diam, start deg, enddeg, nturns, core centre rad, core wid, "core color")}
249 \src{Windings.m4}.}
250 }
251
252 \bfig{
253 \centerline{\getpic{ex01}}
254 \caption{Two simple labeled circuits
255 \src{ex01.m4}.}
256 }
257
258 \bfig{
259 {\small\centerline{\getpic{Optoiso}} }
260 \caption{Optical isolator: a circuit with right or left orientation
261 \src{Optoiso.m4}.}
262 }
263
264 \bfig{
265 \centerline{\getpic{pwrsupply}}
266 \caption{An elementary power supply circuit with colored elements,
267 and a multiple-winding transformer with 3-phase rectifier
268 \src{pwrsupply.m4}.}
269 }
270
271 \bfig{
272 \centerline{\getpic{PS50}}
273 \caption{An unregulated 50V power supply
274 \src{PS50.m4}.}
275 }
276
277 \bfig{
278 \centerline{\getpic{Reg723}}
279 \caption{A 723 regulator circuit with a heat sink
280 \src{Reg723.m4}.}
281 }
282
283 \bfig{
284 \centerline{\getpic{Mixer}}
285 \caption{A balanced mixer, using {\tt mosfet} and a custom transformer
286 \src{Mixer.m4}.}
287 }
288
289 \bfig{
290 \centerline{\getpic{PushPull}}
291 \caption{A push-pull mixer, showing FETs with multiple gates
292 \src{PushPull.m4}.}
293 }
294
295 \bfig{
296 \centerline{\getpic{Quantum}}
297 \caption{Quantum circuits
298 \src{Quantum.m4}.}
299 }
300
301 \bfig{
302 \centerline{\getpic{Sixpole}}
303 \caption{A six-pole filter
304 \src{Sixpole.m4}.}
305 }
306
307 \bfig{
308 \centerline{\getpic{ex18}}
309 \caption{Precision half-wave rectifier and a tunnel diode circuit
310 (illustrating {\tt opamp, diode, resistor, ground,} and labels)
311 \src{ex18.m4}.}
312 }
313
314 \bfig{
315 \centerline{\getpic{ex10}}
316 \caption{Non-planar graph and bistable circuit
317 (illustrating the {\tt crossover} macro and colored elements)
318 \src{ex10.m4}.}
319 }
320
321 \bfig{
322 \centerline{\getpic{Three}}
323 \caption{Three-phase oscillator
324 \src{Three.m4}.}
325 }
326
327 \bfig{
328 \centerline{\getpic{MC}}
329 \caption{A three-phase switched AC-AC converter and a DC-DC converter
330 \src{MC.m4}.}
331 }
332
333 \bfig{
334 \centerline{\getpic{ex12}}
335 \caption{ A CMOS NAND gate, a test circuit, and an XMOSFET example
336 \src{ex12.m4}.}
337 }
338
339 \bfig{
340 \centerline{\getpic{TTLnand}}
341 \caption{ TTL NAND gate illustrating a transistor with multiple emitters
342 \src{TTLnand.m4}.}
343 }
344
345 \bfig{
346 \centerline{\getpic{I2L}}
347 \caption{ Gate circuit and equivalent embedded $I^2L$ components
348 illustrating multiple collectors
349 \src{I2L.m4}.}
350 }
351
352 \bfig{
353 \centerline{\getpic{Schottky}}
354 \caption{ A 4-input NAND circuit illustrating the {\tt S} (Schottky)
355 option of {\tt bi\_trans}
356 \src{Schottky.m4}.}
357 }
358
359 \bfig{
360 \centerline{\getpic{ex11}}
361 \caption{Transistor radio audio chain
362 \src{ex11.m4}.}
363 }
364
365 \bfig{
366 \centerline{\getpic{LT3724}}
367 \caption{IC controller and auxiliary elements of a step-down converter
368 \src{LT3524.m4}.}
369 }
370
371 \bfig{
372 \centerline{\getpic{ex04}}
373 \caption{Labels on non-manhattan elements
374 \src{ex04.m4}.}
375 }
376
377 \bfig{
378 \centerline{\getpic{Drive}}
379 \caption{Synchronous machine driven by variable-speed drive and rectifier
380 \src{Drive.m4}.}
381 }
382
383 \bfig{
384 \centerline{\getpic{Csource}}
385 \caption{Realization of a controlled source
386 (illustrating stacked element labels)
387 \src{Csource.m4}.}
388 }
389
390 \bfig{
391 \centerline{\getpic{AudioAmp}}
392 \caption{A 50 W audio amplifier
393 \src{AudioAmp.m4}.}
394 }
395
396 \bfig{
397 \centerline{\getpic{ex16}}
398 \caption{A rate $1/2$ binary convolutional coder and its state diagram
399 \src{ex16.m4}.}
400 }
401
402 \bfig{
403 \centerline{\getpic{ex03}}
404 \caption{Digital filter
405 \src{ex03.m4}.}
406 }
407
408 \bfig{
409 \centerline{\getpic{Ladder}}
410 \caption{Ladder-diagram symbols
411 \src{Ladder.m4}.}
412 }
413
414 \bfig{
415 \centerline{\getpic{MotorControl}}
416 \caption{Motor control connections
417 \src{MotorControl.m4}.}
418 }
419
420 \begin{sidewaysfigure} %\rotatebox{90}{% \begin{landscape} %ignore%
421 \bfig{
422 \centerline{\hspace*{2cm}\getpic{Heathkit}}
423 \caption{The power supply of a Heathkit AR-15 (Now, {\em that}
424 was a receiver!) with custom transformer and other elements,
425 drawn on a grid (partially shown) to aid in placement
426 \src{Heathkit.m4}.}
427 }
428 \end{sidewaysfigure} %}% \end{landscape}
429
430 \begin{sidewaysfigure} %\rotatebox{90}{% \begin{landscape} %ignore%
431 \bfig{
432 \centerline{\hspace*{2cm}\getpic{lcct}}
433 \caption{A digital circuit of moderate size,
434 redrawn from M.~P.~Maclenan and G.~M.~Burns,
435 ``An Approach to Drawing Circuit Diagrams for Text Books,''
436 Tugboat (12)1, March 1991, pp.\ 66-69
437 \src{lcct.m4}.}
438 }
439 \end{sidewaysfigure} %}% \end{landscape}
440
441 \ifpostscript\else\bfig{
442 \centerline{\getpic{UNO}}
443 \caption{An Arduino UNO circuit adapted and redrawn
444 \src{UNO.m4}.}
445 }\fi
446
447 \bfig{
448 \centerline{\getpic{ColdControl1}}
449 \caption{Part of a cold room controller, with some custom sensors
450 \src{ColdControl1.m4}.}
451 }
452
453 \bfig{
454 \centerline{\getpic{Tubediags}}
455 \caption{Electron-tube diagrams: a few bottom-view base diagrams,
456 a generic triode test circuit, and a 25-watt audio amplifier adapted
457 from F.~Langford-Smith, {\it Radiotron Designer's Handbook,} fourth
458 edition, Harrison, NJ: Radio Corporation of America, 1952
459 \src{Tubediags.m4}.}
460 }
461
462 \bfig{
463 \centerline{\getpic{sfg}}
464 \caption{Signal-flow graphs
465 \src{sfg.m4}.}
466 }
467
468 \bfig{
469 \centerline{\getpic{Logic}}
470 \caption{Basic logic gates
471 \src{Logic.m4}.}
472 }
473
474 \bfig{
475 \centerline{\getpic{ex08}}
476 \caption{General-purpose latch: a small logic circuit
477 \src{ex08.m4}.}
478 }
479
480 \bfig{
481 \centerline{\getpic{Decoder}}
482 \caption{Decoder logic, constructed using the {\tt for\_} macro
483 \src{Decoder.m4}.}
484 }
485
486 \bfig{
487 \centerline{\getpic{ex21}}
488 \caption{Some flip-flops
489 \src{ex21.m4}.}
490 }
491
492 \bfig{
493 \centerline{\getpic{Multiplexer}}
494 \caption{Multiplexer
495 \src{Multiplexer.m4}.}
496 }
497
498 \bfig{
499 \centerline{\getpic{Demultiplexer}}
500 \caption{Demultiplexer
501 \src{Demultiplexer.m4}.}
502 }
503
504 \bfig{
505 \centerline{\getpic{ShiftR}}
506 \caption{A 5-bit shift register drawn using a custom flip-flop
507 \src{ShiftR.m4}.}
508 }
509
510 \bfig{
511 \centerline{\getpic{Adder}}
512 \caption{A full adder and a cascade of $n$-bit adders
513 \src{Adder.m4}.}
514 }
515
516 \bfig{
517 \centerline{\getpic{CanLogic}}
518 \caption{A way of automatically drawing two-layer logic diagrams
519 \src{CanLogic.m4}.}
520 }
521
522 \bfig{
523 \centerline{\getpic{Alogix}}
524 \caption{The {\tt Autologix(}{\sl Boolean expression};
525 {\sl Boolean expression}... , {\sl options}{\tt )}
526 macro automatically draws Boolean expressions in function notation.
527 The function tree is drawn, then a row or column of inputs, then
528 the connections. The default result is on the left,
529 a custom element at the top, and a tree of gates only is shown
530 on the right.
531 \src{Alogix.m4}.}
532 }
533
534 \bfig{
535 \centerline{\getpic{ABlogix}}
536 \caption{The {\tt Autologix} macro can draw inputs on the left but
537 the added drawing complexity may require hand tuning with
538 second-argument options: {\tt L} puts the inputs on the left,
539 {\tt R} reverses their order, {\tt V} scans the input arguments
540 in reverse order, and {\tt offset=}{\sl value} displaces the array
541 of inputs
542 \src{ABlogix.m4}.}
543 }
544
545 \bfig{
546 \centerline{\getpic{XOR}}
547 \caption{Realizations of the XOR function using {\tt Autologix}
548 \src{XOR.m4}.}
549 }
550
551 \bfig{
552 \centerline{\getpic{OneLine}}
553 \caption{A single-line distribution diagram
554 \src{OneLine.m4}.}
555 }
556
557 \ifmpost\else\ifpostscript\else\bfig{
558 \centerline{\getpic{EEP}}
559 \caption{A further test of single-line diagram macros
560 \src{EEP.m4}.}
561 }\fi\fi
562
563 \ifpostscript\else\bfig{
564 \centerline{\getpic{ex05}}
565 \caption{Use of {\tt darrow} and {\tt Darc}
566 \src{ex05.m4}.}
567 }\fi
568
569 \bfig{
570 \centerline{\getpic{control}}
571 \caption{Control-system block diagrams
572 \src{control.m4}.}
573 }
574
575 \bfig{
576 \centerline{\getpic{Flow}}
577 \caption{A flowchart sampler
578 \src{Flow.m4}.}
579 }
580
581 \bfig{
582 \centerline{\getpic{Btree}}
583 \caption{Trees
584 \src{Btree.m4}.}
585 }
586
587 \bfig{
588 \centerline{\getpic{GrayCode}}
589 \caption{The power of looping and branching:
590 Gray code 10-bit encoder disk pattern and a crossbar switch
591 \src{GrayCode.m4}.}
592 }
593
594 \bfig{
595 \centerline{\getpic{Byte}}
596 \caption{Elementary splines
597 \src{Byte.m4}.}
598 }
599
600 \bfig{
601 \centerline{\getpic{Sevensegment}}
602 \caption{A customizable seven-segment display showing the
603 numbered segments, a custom shape, and the numerals from 0 to 9
604 \src{Sevensegment.m4}.}
605 }
606
607 \bfig{
608 \centerline{\getpic{Rotbox}}
609 \caption{The macro
610 {\tt rotbox(}{\sl wid,ht,type,}{\tt [r|t=}{\sl val}{\tt ])}
611 draws a box in the current direction
612 \src{Rotbox.m4}.}
613 }
614
615 \ifmpost\else\ifpostscript\else\bfig{
616 \centerline{\getpic{Shadowed}}
617 \caption{Embellishments: the top row illustrates
618 {\tt shadowed(box|circle|ellipse|line,[at {\sl position}],{\sl keys})}
619 and the second row
620 {\tt ColoredV(box|circle|ellipse,({\sl r,g,b})|(({\sl colorseq})),{\sl attributes})}
621 \src{Shadowed.m4}.}
622 }\fi\fi
623
624 \bfig{
625 \centerline{\getpic{Loglog}}
626 \caption{A graph and crosshatching example drawn using the pic language
627 \src{Loglog.m4}.}
628 }
629
630 \bfig{
631 \centerline{\getpic{Geometry}}
632 \caption{Some geometrical constructions
633 \src{Geometry.m4}.}
634 }
635
636 \ifmpost\else\ifpostscript\else\bfig{
637 \centerline{\getpic{Smithchart}}
638 \caption{A Smith chart
639 \src{Smithlchart.m4}.}
640 }\fi\fi
641
642 \bfig{
643 \centerline{\getpic{ex09}}
644 \caption{Illustrating the macro
645 {\tt dimension\_(}{\sl linespec}, {\sl offset}, {\sl label},
646 {\tt D|H|W|}{\sl blank width}, {\sl tic offset},{\tt <-|->)}.
647 A negative second argument implies an offset to the right of the
648 {\sl linespec} direction. A {\sl label} starting with {\tt "} or
649 {\tt sprintf} is copied literally. If {\sl label} is an
650 {\tt s\_box(...)} then setting argument 4 to {\tt H}, {\tt W}, or
651 {\tt D} tailors the blank width to the {\tt s\_box} height, width, or
652 diagonal respectively; i.e.,\ {\tt W} is equivalent to
653 {\tt s\_wd+textoffset*2}.
654 The macro {\tt arcdimension\_} is similar but the first argument
655 specifies the arc to be dimensioned and the second argument is
656 the outward radial offset of the dimension arrow arc.
657 \src{ex09.m4}.}
658 }
659
660 \bfig{
661 \centerline{\getpic{Plate}}
662 \caption{Dimensioning with tolerances
663 \src{Plate.m4}.}
664 }
665
666 \bfig{
667 \centerline{\getpic{random}}
668 \caption{Testing random number generation using
669 dpic macro {\tt randn(}{\sl array name, n, mean, std dev}{\tt)}
670 which calls pic built-in {\tt rand()}
671 \src{random.m4}.}
672 }
673
674 \bfig{
675 \centerline{\getpic{exp}}
676 \caption{Test of {\tt project} and other {\tt lib3D}
677 macros, showing the projection of a solid onto
678 the $y_1,z_1$ plane by sighting along the $x_1$ axis.
679 \src{exp.m4}.}
680 }
681
682 \bfig{
683 \centerline{\getpic{graysurf}}
684 \caption{Plotting surfaces using gray scales
685 \src{graysurf.m4}.}
686 }
687
688 \bfig{
689 \centerline{\getpic{shapes}}
690 \caption{Basic shapes
691 \src{shapes.m4}.}
692 }
693
694 \bfig{
695 \centerline{\getpic{csc}}
696 \caption{Conestoga Sailing Club (illustrating the filling of arbitrary
697 shapes) and an antique clock face with shading and rotated text
698 \src{csc.m4}.}
699 }
700
701 \ifpostscript%
702 \bfig{% For psfrag
703 \includegraphics[width=\textwidth]{rose.eps} %\centerline{\getpic{rose}}%ignore%
704 \caption{The left object, used for testing {\tt dpic,} is redrawn from%ignore%
705 a detail of the set design for the musical {\it Dracula.} This %ignore%
706 consumes much \LaTeX\ main memory but can be produced directly %ignore%
707 as pdf using \hbox{\tt dpic -d}, as svg using \hbox{\tt dpic -v}, %ignore%
708 or as postscript using \hbox{\tt dpic -r} since no text formatting%ignore%
709 is required. The right object adjusts the size of dots to produce%ignore%
710 a halftone effect %ignore%
711 \src{rose.m4}.}
712 }
713 \else\ifmpost\else%
714 \bfig{% Not psfrag
715 \includegraphics[width=\textwidth]{rose.pdf} %\centerline{\getpic{rose}}
716 \caption{The left object, used for testing {\tt dpic,} is redrawn from
717 a detail of the set design for the musical {\it Dracula.} This
718 consumes much \LaTeX\ main memory but can be produced directly
719 as pdf using \hbox{\tt dpic -d}, as svg using \hbox{\tt dpic -v},
720 or as postscript using \hbox{\tt dpic -r} since no text formatting
721 is required. The right object adjusts the size of dots to produce
722 a halftone effect
723 \src{rose.m4}.}
724 }
725 \fi\fi
726
727 \bfig{
728 \centerline{\getpic{diamond}}
729 \caption{Variations on M.~Goossens, S.~Rahtz, and F.~Mittelbach,
730 {\em The \LaTeX\ Graphics Companion,} Addison-Wesley 1997, pp.\ 57-58
731 \src{diamond.m4}.}
732 }
733
734 \bfig{
735 \centerline{\getpic{worm}}
736 \caption{An exercise in calculating RGB colours
737 \src{worm.m4}.}
738 }
739
740 \bfig{
741 \centerline{\getpic{Buttons}}
742 \caption{Shading in color
743 \src{Buttons.m4}.}
744 }
745
746 \ifmpost\else\ifpostscript\else\bfig{% Exclude mpost and psfrag
747 \includegraphics[scale=0.7]{keyboard.pdf} %\centerline{\getpic{keyboard}}
748 \caption{This diagram has been produced as svg with dpic -v
749 (then converted to pdf for inclusion in examples.pdf)
750 \src{keyboard.m4}.}
751 }\fi\fi
752
753 \bfig{
754 \centerline{\getpic{Dini}}
755 \caption{Dini surface, an icosahedron, and a sphere with inscribed cylinder
756 \src{Dini.m4}.}
757 }
758
759 \bfig{
760 \centerline{\getpic{Sierpinski}}
761 \caption{The Sierpinski triangle and a Cayley graph:
762 tests of pic macro recursion
763 \src{Sierpinski.m4}.}
764 }
765
766 \bfig{
767 \centerline{\getpic{Escher}}
768 \caption{Penrose stairs and an Escher-like object
769 \src{Escher.m4}.}
770 }
771
772 \bfig{
773 \centerline{\getpic{recycle}}
774 \caption{Modest repetition and partial fill
775 \src{recycle.m4}.}
776 }
777
778 \bfig{
779 \centerline{\getpic{ex15}}
780 \caption{Simple diagrams that are easily drawn by looping
781 \src{ex15.m4}.}
782 }
783
784 \bfig{
785 \centerline{\getpic{Crow}}
786 \caption{Illustrating {\tt shadebox} and a custom crowfoot line termination
787 \src{Crow.m4}.}
788 }
789
790 \ifmpost\else% Tex capacity exceeded at this point under metapost
791 % Overlaying a figure with line graphics depends on the postprocessor:
792 \ifpst% PSTricks
793 \bfig{%
794 \centerline{\getpic{Incleps}}%
795 \caption{Overlaying a figure with line graphics
796 \src{Incleps.m4}.}%
797 }
798 \else\ifpgf% PGF
799 \bfig{%
800 \centerline{\getpic{Incleps}}% %ignore%
801 \caption{Overlaying a figure with line graphics %ignore%
802 \src{Incleps.m4}.}%
803 }
804 \else\ifmpost% MetaPost
805 \bfig{%
806 \centerline{\boxdims{InclA}{%ignore%
807 \includegraphics[width=3in]{../Incl.eps.gz}}%
808 \hspace*{-3in}\includegraphics{Inclpdf.1}}%
809 \caption{Overlaying a figure with line graphics %ignore%
810 \src{Inclpdf.m4}.}
811 }
812 \else\ifpdfl% pdflatex
813 \bfig{%
814 \centerline{\boxdims{InclA}{%ignore%
815 \includegraphics[width=3in]{../Incl}}%
816 \hspace*{-3in}\includegraphics{Incleps}}%
817 \caption{Overlaying a figure with line graphics %ignore%
818 \src{Incleps.m4}.}
819 }
820 \else\ifpostscript\else% Postscript with psfrag (.eps.gz not allowed)
821 \bfig{%
822 \centerline{\boxdims{InclA}{%ignore%
823 \includegraphics[width=3in]{Incl.eps}}% the background picture
824 \hspace*{-3in}\includegraphics{Incleps.eps}}%
825 \caption{Overlaying a figure with line graphics %ignore%
826 \src{Incleps.m4}.}}
827 \fi\fi\fi\fi\fi
828 \fi % ifmpost
829
830 \end{document}