|
|
xvii | |
|
|
xxi | |
Preface |
|
xxv | |
Why LATEX, and why PostScript? |
|
xxvi | |
How this book is arranged |
|
xxvii | |
Typographic conventions |
|
xxix | |
Using the examples |
|
xxxi | |
Finding all those packages and programs |
|
xxxiii | |
|
|
1 | (22) |
|
Graphics systems and typesetting |
|
|
2 | (1) |
|
|
3 | (3) |
|
|
6 | (4) |
|
|
6 | (2) |
|
|
8 | (1) |
|
|
8 | (2) |
|
|
10 | (11) |
|
Generic graphics languages |
|
|
10 | (3) |
|
TEX-based graphics languages |
|
|
13 | (4) |
|
External graphics languages and drawing programs |
|
|
17 | (4) |
|
|
21 | (2) |
|
Standard LATEX Interfaces |
|
|
23 | (28) |
|
Inclusion of graphics files |
|
|
23 | (13) |
|
Options for graphics and graphicx |
|
|
24 | (1) |
|
The \includegraphics syntax in the graphics package |
|
|
25 | (3) |
|
The \includegraphics syntax in the graphics package |
|
|
28 | (4) |
|
Setting default key values for the graphicx package |
|
|
32 | (1) |
|
Declarations guiding the inclusion of images |
|
|
33 | (2) |
|
A caveat: encapsulation is important |
|
|
35 | (1) |
|
Manipulating graphical objects |
|
|
36 | (6) |
|
|
37 | (1) |
|
|
38 | (1) |
|
|
39 | (3) |
|
The epsfig and rotating packages |
|
|
42 | (1) |
|
|
42 | (9) |
|
|
43 | (1) |
|
Standard LATEX and pict2e compared |
|
|
44 | (3) |
|
Slightly beyond standard graphics: curve2e |
|
|
47 | (4) |
|
Metafont and Metapost: TEX's Mates |
|
|
51 | (90) |
|
|
52 | (8) |
|
First examples of Meta programs |
|
|
53 | (4) |
|
|
57 | (3) |
|
Differences between Metrpost and Metrfont |
|
|
60 | (8) |
|
|
60 | (1) |
|
|
61 | (1) |
|
Adding text---some gory details |
|
|
62 | (3) |
|
|
65 | (2) |
|
|
67 | (1) |
|
Running the META programs |
|
|
68 | (6) |
|
|
68 | (3) |
|
|
71 | (2) |
|
|
73 | (1) |
|
Some basic Metapost libraries |
|
|
74 | (6) |
|
|
74 | (1) |
|
|
75 | (5) |
|
|
80 | (40) |
|
|
80 | (1) |
|
|
81 | (1) |
|
|
82 | (2) |
|
|
84 | (11) |
|
|
95 | (5) |
|
Box alignment constructors |
|
|
100 | (4) |
|
Recursive objects and fractals |
|
|
104 | (1) |
|
|
105 | (10) |
|
|
115 | (2) |
|
Tree and matrix connection variants |
|
|
117 | (1) |
|
|
118 | (2) |
|
TEX interfaces: getting the best of both worlds |
|
|
120 | (17) |
|
|
120 | (2) |
|
|
122 | (15) |
|
The mft and mpt pretty-printers |
|
|
137 | (1) |
|
From Metapost and to Metapost |
|
|
137 | (1) |
|
|
138 | (3) |
|
|
141 | (72) |
|
|
141 | (16) |
|
|
142 | (1) |
|
|
143 | (2) |
|
|
145 | (1) |
|
Multipaths and advanced clipping |
|
|
145 | (2) |
|
Patterns, hatchings, and tilings |
|
|
147 | (3) |
|
|
150 | (2) |
|
|
152 | (1) |
|
|
152 | (1) |
|
|
153 | (2) |
|
|
155 | (1) |
|
|
156 | (1) |
|
Representing data with graphs |
|
|
157 | (19) |
|
|
157 | (11) |
|
|
168 | (2) |
|
|
170 | (6) |
|
|
176 | (13) |
|
|
176 | (1) |
|
|
177 | (1) |
|
Block drawing and Bond graphs |
|
|
177 | (1) |
|
Box-line diagrams: the expressg package |
|
|
178 | (3) |
|
|
181 | (7) |
|
|
188 | (1) |
|
|
189 | (7) |
|
|
190 | (2) |
|
|
192 | (2) |
|
Fractals and other complex objects |
|
|
194 | (1) |
|
|
195 | (1) |
|
Science and engineering applications |
|
|
196 | (11) |
|
|
196 | (7) |
|
Mechanics and engineering |
|
|
203 | (1) |
|
|
203 | (1) |
|
|
204 | (3) |
|
|
207 | (6) |
|
|
207 | (1) |
|
Requirements for a 3-D extension |
|
|
207 | (1) |
|
|
208 | (5) |
|
Harnessing PostScript Inside LATEX: PSTricks |
|
|
213 | (100) |
|
The components of PSTricks |
|
|
214 | (3) |
|
|
214 | (1) |
|
Loading the basic packages |
|
|
215 | (1) |
|
|
216 | (1) |
|
Setting keywords, lengths, and coordinates |
|
|
217 | (3) |
|
|
217 | (1) |
|
|
218 | (1) |
|
|
219 | (1) |
|
|
219 | (1) |
|
The pspicture environment |
|
|
220 | (3) |
|
Keywords for the pspicture environment |
|
|
221 | (2) |
|
White space between commands |
|
|
223 | (1) |
|
|
223 | (1) |
|
|
224 | (7) |
|
Keywords of the \psgr id command |
|
|
226 | (2) |
|
Defining and using new grid commands |
|
|
228 | (1) |
|
Embellishing pictures with the help of grids |
|
|
229 | (2) |
|
|
231 | (9) |
|
|
234 | (1) |
|
Keywords for lines and polygons |
|
|
234 | (6) |
|
Circles, ellipses, and curves |
|
|
240 | (9) |
|
|
244 | (3) |
|
|
247 | (2) |
|
|
249 | (4) |
|
|
251 | (2) |
|
|
253 | (6) |
|
|
253 | (4) |
|
|
257 | (2) |
|
|
259 | (6) |
|
|
260 | (4) |
|
Creating your own arrow types |
|
|
264 | (1) |
|
|
265 | (4) |
|
|
266 | (1) |
|
|
266 | (1) |
|
Commands to set labels or objects |
|
|
267 | (2) |
|
|
269 | (10) |
|
Keywords for box commands |
|
|
270 | (1) |
|
Commands for setting boxes |
|
|
271 | (2) |
|
|
273 | (1) |
|
|
274 | (2) |
|
|
276 | (2) |
|
|
278 | (1) |
|
|
279 | (17) |
|
Customizations with \pscustom |
|
|
280 | (16) |
|
|
296 | (6) |
|
|
296 | (1) |
|
Coordinates calculated with PostScript |
|
|
296 | (2) |
|
|
298 | (1) |
|
|
299 | (3) |
|
|
302 | (1) |
|
|
302 | (11) |
|
|
302 | (1) |
|
|
303 | (4) |
|
|
307 | (2) |
|
|
309 | (1) |
|
The ``key/value'' interface |
|
|
310 | (3) |
|
The Main PSTricks Packages |
|
|
313 | (154) |
|
pst-plot---Plotting functions and data |
|
|
313 | (21) |
|
The coordinate system---ticks and labels |
|
|
314 | (9) |
|
Plotting mathematical functions and data files |
|
|
323 | (11) |
|
pst-node---Nodes and connections |
|
|
334 | (32) |
|
|
335 | (5) |
|
|
340 | (7) |
|
|
347 | (1) |
|
|
348 | (9) |
|
Putting labels on node connections |
|
|
357 | (3) |
|
|
360 | (1) |
|
|
361 | (4) |
|
TEX and PostScript: a one-way ticket |
|
|
365 | (1) |
|
pst-tree---Typesetting trees |
|
|
366 | (17) |
|
Tree nodes, predecessors, and successors |
|
|
367 | (3) |
|
|
370 | (9) |
|
|
379 | (3) |
|
|
382 | (1) |
|
pst-fill---Filling and tiling |
|
|
383 | (5) |
|
|
383 | (5) |
|
pst-3d---Shadows, tilting, and three-dimensional representations |
|
|
388 | (12) |
|
|
388 | (1) |
|
|
389 | (3) |
|
Three-dimensional representations |
|
|
392 | (8) |
|
pst-3dplot---3-D parallel projections of functions and data |
|
|
400 | (17) |
|
Commands for 3-D drawings |
|
|
401 | (5) |
|
Plotting mathematical functions and data |
|
|
406 | (4) |
|
|
410 | (7) |
|
Short overview of other PSTricks packages |
|
|
417 | (42) |
|
|
418 | (6) |
|
|
424 | (2) |
|
|
426 | (5) |
|
|
431 | (7) |
|
|
438 | (4) |
|
|
442 | (3) |
|
|
445 | (3) |
|
Shapes and color gradients |
|
|
448 | (2) |
|
|
450 | (9) |
|
Summary of PSTricks commands and keywords |
|
|
459 | (8) |
|
|
467 | (44) |
|
|
467 | (2) |
|
|
469 | (5) |
|
|
469 | (1) |
|
|
470 | (1) |
|
|
471 | (2) |
|
Entering text in your pictures |
|
|
473 | (1) |
|
|
474 | (4) |
|
|
475 | (1) |
|
|
476 | (2) |
|
|
478 | (31) |
|
|
478 | (2) |
|
|
480 | (7) |
|
|
487 | (6) |
|
|
493 | (2) |
|
|
495 | (5) |
|
Arcs, circles, and ellipses |
|
|
500 | (2) |
|
Lattices and web structures |
|
|
502 | (1) |
|
|
503 | (6) |
|
|
509 | (2) |
|
Applications in Science, Technology, and Medicine |
|
|
511 | (76) |
|
Typographical rules for scientific texts |
|
|
512 | (6) |
|
|
513 | (4) |
|
Typesetting chemical symbols |
|
|
517 | (1) |
|
Typesetting chemical formulae |
|
|
518 | (29) |
|
|
520 | (21) |
|
|
541 | (6) |
|
Alignment and topology plots in bioinformatics |
|
|
547 | (8) |
|
Aligning and shading nucleotide and peptide sequences |
|
|
548 | (3) |
|
Membrane protein topology plots |
|
|
551 | (4) |
|
|
555 | (17) |
|
A special font for drawing Feynman diagrams |
|
|
555 | (3) |
|
PostScript for drawing Feynman diagrams |
|
|
558 | (3) |
|
Metafont and Metapost for drawing Feynman diagrams |
|
|
561 | (11) |
|
|
572 | (1) |
|
Typesetting timing diagrams |
|
|
572 | (4) |
|
Commands in the timing environment |
|
|
573 | (3) |
|
|
576 | (1) |
|
Electronics and optics circuits |
|
|
576 | (11) |
|
A special font for drawing electronics and optics diagrams |
|
|
576 | (7) |
|
Using the m4 macro processor for electronics diagrams |
|
|
583 | (3) |
|
Interactive diagram generation |
|
|
586 | (1) |
|
|
587 | (80) |
|
Using TEX for scores---An overview |
|
|
589 | (1) |
|
|
590 | (10) |
|
The structure of a MusiXTEX source |
|
|
591 | (1) |
|
|
591 | (4) |
|
|
595 | (1) |
|
A moderately complete example |
|
|
596 | (1) |
|
|
597 | (3) |
|
abc2mtex---Easy writing of tunes |
|
|
600 | (15) |
|
|
601 | (8) |
|
|
609 | (3) |
|
Easy inclusion of abc files in LATEX documents |
|
|
612 | (3) |
|
Preprocessors for MusiXTEX |
|
|
615 | (3) |
|
|
618 | (33) |
|
General structure of a PMX score |
|
|
619 | (1) |
|
The preamble of a PMX file |
|
|
619 | (2) |
|
|
621 | (1) |
|
Notation to describe a stave |
|
|
622 | (17) |
|
Notation that affects all voices |
|
|
639 | (3) |
|
Some general options and technical adjustments |
|
|
642 | (2) |
|
|
644 | (2) |
|
|
646 | (1) |
|
|
647 | (1) |
|
Creating parts from a score |
|
|
647 | (1) |
|
|
647 | (4) |
|
|
651 | (10) |
|
|
652 | (2) |
|
The body of an M-Tx input file |
|
|
654 | (5) |
|
|
659 | (2) |
|
The music engraver LilyPond |
|
|
661 | (5) |
|
The LilyPond source language |
|
|
661 | (4) |
|
|
665 | (1) |
|
TEXmuse---TEX and Metafont working together |
|
|
666 | (1) |
|
|
667 | (46) |
|
|
668 | (19) |
|
chessboard---Coloring your boards |
|
|
668 | (1) |
|
chessfss---A generic font mechanism for chess |
|
|
669 | (4) |
|
skak---The successor to the chess package |
|
|
673 | (7) |
|
texmate---The power of three |
|
|
680 | (7) |
|
Online resources for chess |
|
|
687 | (1) |
|
|
687 | (3) |
|
|
690 | (6) |
|
|
696 | (2) |
|
|
698 | (4) |
|
|
699 | (3) |
|
Crosswords in various forms |
|
|
702 | (7) |
|
|
705 | (2) |
|
|
707 | (1) |
|
|
707 | (1) |
|
General adjustments to the layout |
|
|
708 | (1) |
|
External puzzle generation |
|
|
709 | (1) |
|
|
709 | (4) |
|
sudoku---Typesetting Sudokus |
|
|
709 | (1) |
|
sudokubundle---Solving and generating Sudokus |
|
|
710 | (3) |
|
|
713 | (84) |
|
|
714 | (5) |
|
|
714 | (1) |
|
|
715 | (1) |
|
|
716 | (1) |
|
|
717 | (1) |
|
|
718 | (1) |
|
Colors with LATEX --- The color and xcolor packages |
|
|
719 | (18) |
|
Options supported by color and xcolor |
|
|
720 | (2) |
|
Using colors within the document |
|
|
722 | (4) |
|
|
726 | (2) |
|
|
728 | (2) |
|
Extended color specification with xcolor |
|
|
730 | (4) |
|
|
734 | (3) |
|
Color blending and masking |
|
|
737 | (1) |
|
|
737 | (15) |
|
|
737 | (5) |
|
|
742 | (10) |
|
Color slides with LATEX --- The beamer class |
|
|
752 | (45) |
|
|
752 | (2) |
|
|
754 | (4) |
|
The structure of a presentation |
|
|
758 | (4) |
|
Hiding and showing material on slides --- overlays |
|
|
762 | (10) |
|
Additional facilities in beamer |
|
|
772 | (7) |
|
Using LATEX structural components in beamer |
|
|
779 | (4) |
|
Using LATEX inline components in beamer |
|
|
783 | (9) |
|
|
792 | (2) |
|
|
794 | (2) |
|
|
796 | (1) |
|
|
796 | (1) |
|
Producing PDF from Various Sources |
|
|
797 | (12) |
|
|
798 | (2) |
|
pst-pdf---From PostScript to PDF |
|
|
800 | (3) |
|
|
800 | (1) |
|
|
800 | (3) |
|
Generating PDF from LATEX |
|
|
803 | (6) |
|
LATEX Software and User Group Information |
|
|
809 | (10) |
|
|
809 | (1) |
|
How to get those TEX files? |
|
|
810 | (1) |
|
|
810 | (5) |
|
Using the TEX file catalogue |
|
|
811 | (2) |
|
Finding files on the archive and transferring them |
|
|
813 | (1) |
|
Getting files from the command line |
|
|
814 | (1) |
|
Finding the documentation on your TEX system |
|
|
815 | (2) |
|
texdoc---Command-line interface for a search by name |
|
|
815 | (1) |
|
texdoctk---Panel interface for a search by subject |
|
|
816 | (1) |
|
|
817 | (2) |
|
|
819 | (16) |
|
|
835 | (89) |
|
|
837 | (42) |
|
|
879 | (18) |
|
|
897 | (22) |
|
|
919 | (5) |
|
|
924 | |