The LaTeX Graphics Companion: Illustrating Documents with TeX and Postscript / Edition 1

The LaTeX Graphics Companion: Illustrating Documents with TeX and Postscript / Edition 1

by Michel Goossens, Sebastian Rahtz, Frank Mittelbach, Frank Mittelbach
     
 

ISBN-10: 0201854694

ISBN-13: 9780201854695

Pub. Date: 04/03/1997

Publisher: Addison Wesley Professional

LaTeX documents, and answers common user questions about graphics and PostScript fonts. It provides the first full description of the standard LaTeX color and graphics packages, and shows how you can combine TeX and PostScript capabilities to produce beautifully illustrated pages. Following the successful format of The LaTeX Companion, this new book will be an

Overview

LaTeX documents, and answers common user questions about graphics and PostScript fonts. It provides the first full description of the standard LaTeX color and graphics packages, and shows how you can combine TeX and PostScript capabilities to produce beautifully illustrated pages. Following the successful format of The LaTeX Companion, this new book will be an invaluable LaTeX resource for incorporating pictures into text.

You will learn how to:

  • Incorporate graphic files into a LaTeX document
  • Program technical diagrams using several different languages
  • Produce color pictures
  • Achieve special effects with fragments of embedded PostScript
  • Make high-quality musical scores and games diagrams

You will find detailed descriptions of:
  • Important packages like XYPIC, PSTricks, and METAPOST
  • The standard LaTeX color and graphics packages
  • PostScript fonts and how to use them in LaTeX
  • The dvips dvi to PostScript driver
  • Ghostscript, the free interpreter that lets you view or print
    PostScript files, even if you do not have a PostScript printer

The authors examine a number of packages that extend or modify LaTeX's basic illustration features, and present hundreds of examples of useful solutions to graphics and font problems. In addition to packages for general drawing, the book also presents specific tools for mathematicians, physicists, chemists, engineers, and for people interested in games and music typesetting.

All the packages and programs described in this book are freely available in public software archives, and the source code for all examples has beenplaced on CTAN, the TeX archives. (Details in Appendix B)



Product Details

ISBN-13:
9780201854695
Publisher:
Addison Wesley Professional
Publication date:
04/03/1997
Series:
Addison-Wesley Series on Tools and Techniques
Edition description:
Older Edition
Pages:
608
Product dimensions:
7.39(w) x 9.27(h) x 0.96(d)

Table of Contents

Preface.
1. Graphics With Latex.
Graphics Systems and Typesetting.
Drawing Types.
Tex's Interfaces.
Methods of integration.
Methods of manipulation.
TeX's graphic hooks.

Graphics Languages.
TeX-based graphics languages.
External graphics languages and drawing programs.

Choosing a Package.

2. The Latexe Graphics Bundle.
Loading the Graphics Packages.
Package device driver options.

Inclusion of Graphics Files.
includegraphics syntax in the graphics package.
includegraphics syntax in the graphicx package.
Setting default key values for the graphicx package.
Declarations guiding the inclusion of images.

Graphical Manipulation of Latex Objects.
Scaling a LaTeX box.
Resizing to a given size.
Rotating a LaTeX box.
Combining effects.
Applications.

Other Packages in the Graphics Bundle.
The epsfig and rotating packages.
The lscape package.
The trig package.
The keyval package.


3. Working With Metafont and Metapost.
The META Language.
Examples of META programs.

Using the META Programs.
Running METAFONT.
Analternative to METAFONT —- METAPOST.

METAPOST Macro Libraries.
Boxing macros.
The METAPOST graph package.

Latex Interfaces to META.
The mfpic package.

Mftoeps: A Direct Link Between METAFONT and Postscript.

4. Harnessing Postscript Inside Latex : The Pstricks Package.
The Components of Pstricks.
Basic Pstricks Concepts.
Commands and arguments.
Setting graphics parameters.
Coordinates and units.
Coloring objects.

The Graphic Objects.
Examples of Basic Graphic Objects.
Mixing Text and Graphics.
Nodes and Their Connections, and Trees.
Matrices —- grid-based nodes.
Tree diagrams.
Specifying tree bounding boxes.

Data Plotting.
Working With a Third Dimension.
Iterating commands.

Customizing and Programming Pstricks.
New PSTricks objects and styles.
PSTricks programming examples.

Other Pstricks Tools.
Driver Configuration for Pstricks.
Summary of Pstricks: Commands and Parameters.
PSTricks basic drawing commands.
PSTricks node-drawing commands.
PSTricks node connection labeling commands.
PSTricks drawing commands comparable to node connectors.
PSTricks tree-drawing commands.
PSTricks plotting commands.
PSTricks 3D commands.


5. The Xypic Package.
Introducing Xypic.
A First Example of XYPIC Code.
Basic Constructs.
Initial positions.
Making connections.
Dropping objects.
Entering text in your pictures.

Extensions.
Curves and splines.
Frames and brackets.

Features.
Arrows.
Matrix-like diagrams.
Graphs.
Two-cell diagrams.
Polygons.
Arcs, circles, and ellipses.
Lattices and web structures.
Links and knots.


6. Applications in Chemistry, Physics, and Engineering.
Typographical Rules for Scientific Texts.
Typesetting chemical symbols.

The Xymtex System.
General conventions.
The carom package.

The Ppchtex Package.
Structures.
Definitions.
Bonds.
Combinations.
Chemical equations.
Special features.

Drawing Feynman Diagrams.
Using FeynMF.
Writing FeynMF diagrams.
Extending FeynMF.

Typesetting Timing Diagrams.
Commands in the timing environment.
Customization.

Electronics and Optics Diagrams.
General circuit diagram commands.
Examples.

Using the M4 Macro Processor for Electronics Diagrams.
Basic principles.
Customizing the diagram.


7. Preparing Music Scores.
Using Tex for Scores—-An Overview.
Using Musixtex.
The structure of a MusiXTeX source.
Writing notes.
Note spacing.
A moderately complete example.
Running MusixTeX.

Abc2mtex —-Easy Writing of Tunes.
Writing abc2mtex source.
Running abc2mtex.

MPP, a Musixtex Preprocessor.
Writing MPP-source.
Running MPP.

Midi2tex.
Running midi2tex.


8. Playing Games.
Chess.
A METAFONT chess font.
chess —- a package for typesetting chess.
Extensions to the chess package.
Interfacing chess databases.
Using Adobe's cheq font.

Xiangqi —- Chinese Chess.
Go.
Possible problems.

Backgammon.
Card Games.
Bridge.
Card deals.
Bidding.

Crosswords.
Recent developments.


9. The World of Color.
An Introduction to Color.
Color theories.
Color systems.
Symbolic values of color.
Color harmonies.
Color and readability.

Colors and Latex —-The Color Package.
Supported options.
Using colors.
Page color.
Colored box backgrounds.
Calculating colors.

Coloring Tables.
The colortbl package.
Examples.

Color Slides With Latex : The Seminar Class.
Using the seminar class.
Frame styles.
Interleaving notes and selecting subsets.
Controlling slide size, fonts, and magnification.
Fonts.
The local control file.

Color in the Printing Industry and Separation.
Color separation.
Color separation using LaTeX and dvips.


10. Using Postscript Fonts.
Using Preconfigured Postscript Fonts.
The PSNFSS system.
Fonts, metric files —- the whole lot.
Installing PostScript fonts.

Tex Font Technology.
Types of TeX fonts.
TeX font metric files.
TeX virtual fonts.

Postscript Font Technology.
Types of PostScript fonts.
Adobe Font Metric files.
Encoding of PostScript fonts.
Rendering PostScript fonts.

Classifying Postscript Fonts.
Setting Up New Postscript Fonts.
TeX and encoding.
The TeXBase1 encoding.
Making TeX metrics for PostScript fonts.
AFM to TFM, and VF, conversion tools.
The Y&Y font manipulation tools.
The afm2tfm program.
The fontinst package.

Multiple Master Fonts—-a Case Study.
Generating instance files using Ghostscript.
The Multiple Master setup of this book.


11. Postscript Drivers and Tools.
Introduction to DVI Drivers.
The Dvips Postscript Driver.
Command line and configuration file options.
Paper sizes.
special support.
Font support.
Special hooks.
Debugging.

Postscript Page-Manipulation Tools.
The psutils suite.

Ghostscript, a Postscript Interpreter.
Ghostscript options and initialization.
Ghostscript and fonts.
Using different devices with Ghostscript.
Interactive Ghostscript versions.
Ghostscript applications.

Postscript Font to PK Font Format Conversion.
The ps2pk program.
The gsftopk program.

Generating Images for Web Pages Using Dvips and Ghostscript.
Psfrag —- Adding Labels to Included Pictures.

A. Technical Appendixes.
Emtex \Special Commands.
Tpic \Special Conventions.
The Bm2font Program.
The Dvips Color Separation Header File.
Catalogue of Typefaces With Fontname Abbreviations.
Font Encoding Tables.
Fontinst Reference Information.
Encoding files.
Metric files.
Low-level fontinst commands.

Ghostscript Drivers.

B. Getting All the Goodies.
Connecting to CTAN.
Finding files on the archive.

Getting a Package From the Archive.
List of Packages and Programs.

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >