BN.com Gift Guide

The LaTeX Graphics Companion / Edition 2

Paperback (Print)
Used and New from Other Sellers
Used and New from Other Sellers
from $33.59
Usually ships in 1-2 business days
(Save 48%)
Other sellers (Paperback)
  • All (11) from $33.59   
  • New (7) from $48.52   
  • Used (4) from $33.59   

Overview

Published Aug 2, 2007 by Addison-Wesley Professional. Part of the Tools and Techniques for Computer Typesetting series. The series editor may be contacted at frank.mittelbach@latex-project.org. The LATEX typesetting system remains a popular choice for typesetting a wide variety of documents, from papers, journal articles, and presentations, to books--especially those that include technical text or demand high-quality composition. This book is the most comprehensive guide to making illustrations in LATEX documents, and it has been completely revised and expanded to include the latest developments in LATEX graphics. The authors describe the most widely used packages and provide hundreds of solutions to the most commonly encountered LATEX illustration problems.

This book will show you how to

  • Incorporate graphics files into a LATEX document
  • Program technical diagrams using several languages, including METAPOST, PSTricks, and XY-pic
  • Use color in your LATEX projects, including presentations
  • Create special-purpose graphics, such as high-qualitymusic scores and games diagrams
  • Produce complex graphics for a variety of scientific and engineering disciplines

New to this edition:

  • Updated and expanded coverage of the PSTricks and METAPOST languages
  • Detailed explanations of major new packages for graphing and 3-D figures
  • Comprehensive description of the xcolor package
  • Making presentations with the beamer class
  • The latest versions of gaming and scientific packages

There are more than 1100 fully tested examples that illustrate the text and solve graphical problems and tasks--all ready to run!

All the packages and examples featured in this book are freely downloadable from the Comprehensive TEX Archive Network (CTAN).

The LATEX Graphics Companion, Second Edition , is more than ever an indispensable reference for anyone wishing to incorporate graphics into LATEX. As befits the subject, the book has been typeset with LATEX in a two-color design.

Read More Show Less

Product Details

  • ISBN-13: 9780321508928
  • Publisher: Addison-Wesley
  • Publication date: 8/16/2007
  • Series: Tools and Techniques for Computer Typesetting Series
  • Edition description: New Edition
  • Edition number: 2
  • Pages: 976
  • Sales rank: 913,157
  • Product dimensions: 7.37 (w) x 9.26 (h) x 1.41 (d)

Meet the Author

Michel Goossens is at present responsible for scientific text processing at CERN, the European Laboratory for Particle Physics, in Geneva, Switzerland. He is a coauthor of The LaTeX Companion, Second Edition, The LaTeX Graphics Companion, Second Edition, and The LaTeX Web Companion, and also is a past president of the TUG and GUTenberg TeX Users Groups.
Michel began working at CERN after earning a Ph.D. in physics at Brussels University. At CERN, he soon realized the importance of good documentation and, since the middle 1980s, has been deeply involved with LaTeX. At the same time he has followed closely the development of other generic markup languages and was among the first users of SGML, HTML (invented at CERN), and later XML.

Frank Mittelbach is manager and technical director of the LaTeX3 Project, in which capacity he oversaw the release of LaTeX 2e and more than 15 subsequent releases of this software. In 1989 he joined Electronic Data Systems (EDS), working in a newly formed group for document processing using TeX and other tools. In his current position, he is responsible for concepts and implementation for remote monitoring and management of distributed systems and networks. Frank is a coauthor of The LaTeX Companion, Second Edition, and The LaTeX Graphics Companion, Second Edition, as well as the editor of the book series in which they appear, Tools and Techniques for Computer Typesetting.
Frank studied mathematics and computer science at the Johannes-Gutenberg University, Mainz. His interest in the automated formatting of complex documents in general, and in LaTeX in particular, goes back to his university days and has become a major interest, perhaps a vocation, and certainly it is now his "second job." He is author or coauthor of many and varied LaTeX extension packages, such as AMS-LaTeX, doc, multicol, and NFSS: the New Font Selection Scheme. In 1990 Frank presented the paper E-TeX: Guidelines for further TeX extensions, which explained the most critical shortcomings of TeX and argued the need for its further development and for research into the many open questions of automated typesetting. This was the first time the topic of change or extension had been openly discussed within the TeX community and, after getting some early opposition, it helped to spawn several important projects, such as eTEX, Omega, and NTS. He is now interested in bringing together the fruits of these TeX extension developments to get a stable, well-maintained, and widely available successor of TeX on which a future LaTeX3 can be based.

Sebastian Rahtz is information manager for Oxford University Computing Services. He is a coauthor of The LaTeX Graphics Companion, Second Edition, and The LaTeX Web Companion.
Sebastian started life in classics, moved to archaeology, and thence to computing. During the 1980s he taught humanities and archaeological computing at Southampton University, where he also came across TeX. The infection grew strong, and he spent most of the 1990s in TeX-related matters, working latterly for Elsevier Science in production support and in LaTeX to SGML conversion. During that time he was heavily involved in the international and UK TeX Users Groups in many capacities, and worked on a variety of LaTeX packages, most notably hyperref. His allegiance today has largely moved to XML, in which capacity he is Oxford's representative on the Board of the Text Encoding Initiative, but he retains a soft spot for the funny backslash and curly bracket language.

Denis Roegel is associate professor in computer science at the University of Nancy. He has been involved in LaTeX for the past 15 years and has a special interest in technical graphics.
Denis discovered computers in the early 1980s, and after studying mathematics and physics, he earned an engineering degree from the École Supérieure d'Électricité and a Ph.D. in computer science from the Université Henri Poincaré in Nancy. He later was a postdoctoral fellow at the State University of New York at Stony Brook.

Herbert Voß is a teacher of mathematics, physics and computer science at a German high school and a lecturer at the Free University of Berlin. For the past three years, he has been heavily involved in maintaining PSTricks and using PostScript from within LaTeX.
Herbert studied Electrical Engineering and Power Electronics in Hannover and Berlin. His first experience with a computer was in 1970 with an IBM machine and Algol60. The first text-processing program he used, in 1982, was Wordstar on a microcomputer with an 8080 chip. From this time on, he also was heavily involved in programming for various projects with Turbo Pascal. He came back to PostScript and LaTeX at the end of the 90s.

Read More Show Less

Read an Excerpt

More than a decade has passed since the publication of the first edition of The LATEX Graphics Companion, and there have been many changes and new developments since 1996.

The second edition has seen a major change in the authorship: Frank, Michel and Sebastian have been joined by Denis and Herbert as authors, enriching the book with their knowledge and experience in individual subject areas.

As in the first edition, this book describes techniques and tricks of extended LATEX typesetting in the area of graphics and fonts. We examine how to draw pictures with LATEX and how to incorporate graphics files into a LATEX document. We explain how to program pictures using METAFONT and METAPOST, as well as how to achieve special effects with small fragments of embedded PostScript. We look in detail at a whole range of tools for building graphics in TEX itself.

TEX is the world's première markup-based typesetting system, and PostScript (on which PDF is based) is the leading language for describing the printed page. We describe how they can produce evenmore beautiful resultswhen they work together. TEX's mathematical capability, its paragraph building, its hyphenation, and its programmable extensibility can cooperate with the graphical flexibility and font-handling capabilities of PostScript and PDF to provide a rich partnership for both author and typesetter.

To be able to do justice to the graphics packages that have been further developed since the first edition, we decided to omit a description of PostScript and PDF tools, and of font technologies, from the printed version of this book. This material, which was covered in Chapters 10 and 11 of the first edition, has been substantially expanded and is now freely available (see http://

This volume is not a complete consumer guide to packages. In trying to teach by example, we present hundreds of self-contained code samples of the most useful types of solutions, based on proven and well-known implementations. But, given the space available, we cannot provide a full manual for every package. Our aim is simply to show how easy it is to use a given package and to indicate whether it seems to do what is required—not to dwell on the precise details of syntax or options. Nevertheless, we have described in more detail a few selected tools that we consider especially important.

We assume you know some LATEX; you cannot read this book by itself if you have never used TEX before. We recommend that you start with LATEX: A Document Preparation System, Second Edition (Addison-Wesley, 1994), or the Guide to LATEX, Fourth Edition (Addison-Wesley, 2004), and continue with The LATEX Companion, Second Edition (Addison-Wesley, 2004), to explore some of the many (non-graphical) packages available.

Why LATEX, and why PostScript?

This book is about LATEX, graphics, PostScript, and its child PDF. We believe that the structured approach of a system like LATEX is the best way to use TEX, and LATEX is by far the most widely used TEX format. This means that it attracts contributors who develop new packages, and thus some of what we describe works only in LATEX. We apologize in advance for our LATEX bias to those who appreciate the elegance of the original plain TEX format and its derivatives, and we promise them that most of the packages will work well with any TEX dialect: the delights of systems such as METAPOST, PSTricks, XY-pic, and MusiXTEX are open to all.

We also want to explain why we talk about PostScript so much. This language has been well established for almost two decades as an extremely flexible page-description language, and it remains the tool of choice for professional typesetters. Among the features that make it so attractive are these:

  • The quantity, quality, and flexibility of Type 1 fonts
  • The device-independence and portability of files
  • The quality of graphics and the quantity of drawing packages that generate it
  • The facilities for manipulating text
  • The mature color-printing technology
  • The encapsulation conventions that make it easy to embed PostScript graphics
  • The availability of screen-based implementations (e.g., ghostscript/ghostview)

PostScript has spawned an enterprising child, the PDF (Portable Document Format) language, used by Adobe Acrobat and now well established as an exchange format for documents on the Web. Designed for screen display with hypertext features, PDF offers a new degree of portability and efficiency. Although not the main subject of this book, we nevertheless mention that LATEX can also produce "rich" PDF documents, and versions of TEX (e.g., pdflatex) that produce PDF directly are available.

Again, we apologize to those of you who are disappointed not to read about LATEX's association with Mac's QuickDraw, or the Windows GDI, HPGL, PCL, etc., but with so many packages available, we had to make a choice.

Please note that the absence of a given package or tool in this book in no way implies that we consider it less useful or of inferior quality. We do think, though, that we have included a representative set of tools and packages, and we sincerely hope that you will find here one or more subjects to entertain you.

How this book is arranged

This book is subdivided in two basic ways: by application area and by technique. We suggest that all readers look at Chapter 1 before going any further, because it introduces how we think about graphics and summarizes some techniques developed in later chapters. We also suggest that you read Chapter 2, which covers the LATEX standard graphics package, since the tools for including graphics files will be needed often. Chapter 2 also covers pict2e, a package that reimplements LATEX's picture environment using PostScript, and a further extension curve2e. Together these packages not only do away with most of the limitations inherent in the standard version of LATEX's picture, but also offer new and powerful commands to draw arcs and curves with mininal effort.

We have tried to make it possible to read each of the other chapters separately; you may prefer to go straight to the chapters that cover your subject area or look at those that describe a particular tool. Two chapters each are dedicated to the generic systems METAPOST and PSTricks.

3 METAFONT and METAPOST: TEX's Mates shows how to exploit the power of TEX's META languages (Knuth's METAFONT and its PostScript-based extension METAPOST). After introducing the basic functions, the basic METAPOST libraries are described, as well as available TEX interfaces and miscellaneous tools and utilities.

4 METAPOST Applications introduces the METAPOST toolkit, and explains how to use METAPOST's unparalleled expressive power for describing many types of graphs, diagrams, and geometric constructs. Applications in the areas of science and engineering, 3-D representations, posters, etc. conclude the overview.

5 Harnessing PostScript Inside LATEX: PSTricks walks the reader through the various components of the PSTricks language, looking at such things as defining the coordinate system, lines and polygons, circles, ellipses and curves, arrows, labels, fill areas, and much more.

6 The Main PSTricks Packages takes you even deeper into the world of PSTricks. Armed with the knowledge gained in Chapter 5, the reader will find here detailed descriptions of the most common PSTricks packages—in particular, pst-plot for plotting functions and data; pst-node formastering nodes and their connections; pst-tree for creating tree diagrams; pst-fill for filling and tiling areas; pst-3d for creating 3-Deffects, such as shadows and tilting; and pst-3dplot for handling 3-D functions and data sets. The chapter ends with a summary of PSTricks commands and keywords.

The next four chapters discuss problems in special application areas and survey more packages:

7 The XY-pic Package introduces a package that goes to great lengths to define a notation for many kinds of mathematics diagrams and implements it in a generic and portable way.

8 Applications in Science, Technology, and Medicine looks at chemical formulae and bonds, applications in bioinformatics, Feynman diagrams, timing diagrams, and electronic and optics circuits.

9 Preparing Music Scores first describes the principles of the powerful MusiXTEX package. Then several preprocessors providing a more convenient interface are introduced: abc for folk tunes, PMX for entering polyphonic music, and M-Tx (an offspring of PMX) for dealing with multi-voice lyrics in scores. We also take a short look at LilyPond, a modern music typesetter written in C++, and say a few words about TEXmuse.

10 Playing Games is for those who use LATEX for play as well as for work. It shows you how to describe chess games and typeset chess boards (the usual and oriental variants). This chapter also describes how to handle Go, backgammon, and card games. We conclude with crosswords in various forms and Sudokus, including how to typeset, solve, and generate them.

Our last chapter addresses an area of general interest: color, and some of its common uses in LATEX.

11 The World of Color starts with a short general introduction to color. Next comes an overview of the xcolor package and the colortbl package, that is based on xcolor. The final part discusses the beamer class for producing color slides with LATEX.

Appendix A describes ways to generate PDF from LATEX. Appendix B introduces CTAN and explains how to download the LATEX packages described in this book.

As mentioned earlier, material about PostScript and PDF tools, as well as information about how to use PostScript and OpenType fonts with LATEX, is available as supplementary material (see http://

PostScript Fonts and Beyond describes the ins and outs of using PostScript fonts with LATEX. It also looks at the latest developments on how to integrate OpenType fonts by creating TEX-specific auxiliary files (TEX metrics, virtual fonts, etc.) or by reading the font's characteristics directly in the OpenType source.

PostScript and PDF Tools starts with a short introduction to the PostScript, PDF, and SVG languages. It then describes some freely available programs, in particular dvips and pdflatex to generate PostScript and PDF, ghostscript and ghostview to manipulate and view PostScript and PDF, plus a set of other tools that facilitate handling PostScript and PDF files and conversions.

Finding all those packages and programs

All of the packages and programs described in this book are freely available in public software archives; a few are in the public domain, but most are protected by copyright and available to you under an open-source license. Some programs are available only in source form or work only on certain computer platforms, and you should be prepared for a certain amount of "getting your hands dirty" in some cases. We also cannot guarantee that later versions of packages or programs will give results identical to those in our book. Many of these packages and programs remain under active development, and new or changed versions appear several times a year; we completed this book in spring 2007, and tested the examples with the versions current at that time.

In Appendix B we give full details on how to access CTAN sites and how to download files using the Internet. You can also purchase the TEX Collection DVD from one of the TEX Users Groups. This DVD contains implementations of TEX for various systems, many packages and fonts, in particular it provides you with all the LATEX packages described in this book and The LATEX Companion, Second Edition. Some programs (such as the ones described in the music chapter) are not available on CTAN (or the DVD) and must be downloaded from the location indicated in the text.

Read More Show Less

Table of Contents

List of Figures xvii List of Tables 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

Chapter 1: Graphics with LATEX 1

1.1 Graphics systems and typesetting 2
1.2 Drawing types 3
1.3 TEX's interfaces 6
1.4 Graphics languages 10
1.5 Choosing a package 21

Chapter 2: Standard LATEX Interfaces 23

2.1 Inclusion of graphics files 23
2.2 Manipulating graphical objects 36
2.3 Line graphics 42

Chapter 3: METAFONT and METAPOST: TEX's Mates 51

3.1 The META language 52
3.2 Differences between METAPOST and METAFONT 60
3.3 Running the META programs 68
3.4 Some basic METAPOST libraries 74
3.5 The METAOBJ package 80
3.6 TEX interfaces: getting the best of both worlds 120
3.7 From METAPOST and to METAPOST 137
3.8 The future of METAPOST 138

Chapter 4: METAPOST Applications 141

4.1 A drawing toolkit 141
4.2 Representing data with graphs 157
4.3 Diagrams 176
4.4 Geometry 189
4.5 Science and engineering applications 196
4.6 3-D extensions 207

Chapter 5: Harnessing PostScript Inside LATEX: PSTricks 213

5.1 The components of PSTricks 214
5.2 Setting keywords, lengths, and coordinates 217
5.3 The pspicture environment 220
5.4 The coordinate system 223
5.5 Grids 224
5.6 Lines and polygons 231
5.7 Circles, ellipses, and curves 240
5.8 Dots and symbols 249
5.9 Filling areas 53
5.10 Arrows 259
5.11 Labels 265
5.12 Boxes 269
5.13 User styles and objects 279
5.14 Coordinates 296
5.15 The PSTricks core 302

Chapter 6: The Main PSTricks Packages 313

6.1 pst-plot--Plotting functions and data 313
6.2 pst-node--Nodes and connections 334
6.3 pst-tree--Typesetting trees 366
6.4 pst-fill--Filling and tiling 383
6.5 pst-3d--Shadows, tilting, and three-dimensional representations 388
6.6 pst-3d plot--3-D parallel projections of functions and data 400
6.7 Short overview of other PSTricks packages 417
6.8 Summary of PSTricks commands and keywords 459

Chapter 7: The XY-pic Package 467

7.1 Introducing XY-pic 467
7.2 Basic constructs 469
7.3 Extensions 474
7.4 Features 478
7.5 Further examples 509

Chapter 8: Applications in Science, Technology, and Medicine 511

8.1 Typographical rules for scientific texts 512
8.2 Typesetting chemical formulae 518
8.3 Alignment and topology plots in bioinformatics 547
8.4 Drawing Feynman diagrams 555
8.5 Typesetting timing diagrams 572
8.6 Electronics and optics circuits 576

Chapter 9: PreparingMusic Scores 587

9.1 Using TEX for scores--An overview 589
9.2 Using MusiXTEX 590
9.3 abc2mtex--Easy writing of tunes 600
9.4 Preprocessors for MusiXTEX 615
9.5 The PMX preprocessor 618
9.6 M-Tx--Music fromTeXt 651
9.7 The music engraver LilyPond 661
9.8 TEXmuse--TEX and METAFONT working together 666

Chapter 10: Playing Games 667

10.1 Chess 668
10.2 Xiangqi--Chinese chess 687
10.3 Go 690
10.4 Backgammon 696
10.5 Card games 698
10.6 Crosswords in various forms 702
10.7 Sudokus 709

Chapter 11: The World of Color 713

11.1 An introduction to color 714
11.2 Colors with LATEX--The color and xcolor packages 719
11.3 Coloring tables 737
11.4 Color slides with LATEX--The beamer class 752

Appendix A: Producing PDF from Various Sources 797

A.1 dvipdfm and dvipdfmx 798
A.2 pst-pdf--From PostScript to PDF 800
A.3 Generating PDF from LATEX 803

Apendix B: LATEX Software and User Group Information 809

B.1 Getting help 809
B.2 How to get those TEX files? 810
B.3 Using CTAN 810
B.4 Finding the documentation on your TEX system 815
B.5 TEX user groups 817

Bibliography 819

Indexes 835

General Index 837
METAFONT and METAPOST 879
PSTricks 897
XY-pic 919
People 924
Read More Show Less

Preface

More than a decade has passed since the publication of the first edition of The LATEX Graphics Companion, and there have been many changes and new developments since 1996.

The second edition has seen a major change in the authorship: Frank, Michel and Sebastian have been joined by Denis and Herbert as authors, enriching the book with their knowledge and experience in individual subject areas.

As in the first edition, this book describes techniques and tricks of extended LATEX typesetting in the area of graphics and fonts. We examine how to draw pictures with LATEX and how to incorporate graphics files into a LATEX document. We explain how to program pictures using METAFONT and METAPOST, as well as how to achieve special effects with small fragments of embedded PostScript. We look in detail at a whole range of tools for building graphics in TEX itself.

TEX is the world's première markup-based typesetting system, and PostScript (on which PDF is based) is the leading language for describing the printed page. We describe how they can produce evenmore beautiful resultswhen they work together. TEX's mathematical capability, its paragraph building, its hyphenation, and its programmable extensibility can cooperate with the graphical flexibility and font-handling capabilities of PostScript and PDF to provide a rich partnership for both author and typesetter.

To be able to do justice to the graphics packages that have been further developed since the first edition, we decided to omit a description of PostScript and PDF tools, and of font technologies, from the printed version of this book. This material, which was covered in Chapters 10 and 11 of the first edition, has been substantially expanded and is now freely available (see http://xml.cern.ch/lgc2). It covers DVI-to-PostScript drivers, the free program ghostscript to view PostScript and PDF files, tools for manipulating PostScript and PDF files, and suggestions on how to combine the latest font technologies (PostScript Type 1 and OpenType) with LATEX.

This volume is not a complete consumer guide to packages. In trying to teach by example, we present hundreds of self-contained code samples of the most useful types of solutions, based on proven and well-known implementations. But, given the space available, we cannot provide a full manual for every package. Our aim is simply to show how easy it is to use a given package and to indicate whether it seems to do what is required--not to dwell on the precise details of syntax or options. Nevertheless, we have described in more detail a few selected tools that we consider especially important.

We assume you know some LATEX; you cannot read this book by itself if you have never used TEX before. We recommend that you start with LATEX: A Document Preparation System, Second Edition (Addison-Wesley, 1994), or the Guide to LATEX, Fourth Edition (Addison-Wesley, 2004), and continue with The LATEX Companion, Second Edition (Addison-Wesley, 2004), to explore some of the many (non-graphical) packages available.

Why LATEX, and why PostScript?

This book is about LATEX, graphics, PostScript, and its child PDF. We believe that the structured approach of a system like LATEX is the best way to use TEX, and LATEX is by far the most widely used TEX format. This means that it attracts contributors who develop new packages, and thus some of what we describe works only in LATEX. We apologize in advance for our LATEX bias to those who appreciate the elegance of the original plain TEX format and its derivatives, and we promise them that most of the packages will work well with any TEX dialect: the delights of systems such as METAPOST, PSTricks, XY-pic, and MusiXTEX are open to all.

We also want to explain why we talk about PostScript so much. This language has been well established for almost two decades as an extremely flexible page-description language, and it remains the tool of choice for professional typesetters. Among the features that make it so attractive are these:

  • The quantity, quality, and flexibility of Type 1 fonts
  • The device-independence and portability of files
  • The quality of graphics and the quantity of drawing packages that generate it
  • The facilities for manipulating text
  • The mature color-printing technology
  • The encapsulation conventions that make it easy to embed PostScript graphics
  • The availability of screen-based implementations (e.g., ghostscript/ghostview)

PostScript has spawned an enterprising child, the PDF (Portable Document Format) language, used by Adobe Acrobat and now well established as an exchange format for documents on the Web. Designed for screen display with hypertext features, PDF offers a new degree of portability and efficiency. Although not the main subject of this book, we nevertheless mention that LATEX can also produce "rich" PDF documents, and versions of TEX (e.g., pdflatex) that produce PDF directly are available.

Again, we apologize to those of you who are disappointed not to read about LATEX's association with Mac's QuickDraw, or the Windows GDI, HPGL, PCL, etc., but with so many packages available, we had to make a choice.

Please note that the absence of a given package or tool in this book in no way implies that we consider it less useful or of inferior quality. We do think, though, that we have included a representative set of tools and packages, and we sincerely hope that you will find here one or more subjects to entertain you.

How this book is arranged

This book is subdivided in two basic ways: by application area and by technique. We suggest that all readers look at Chapter 1 before going any further, because it introduces how we think about graphics and summarizes some techniques developed in later chapters. We also suggest that you read Chapter 2, which covers the LATEX standard graphics package, since the tools for including graphics files will be needed often. Chapter 2 also covers pict2e, a package that reimplements LATEX's picture environment using PostScript, and a further extension curve2e. Together these packages not only do away with most of the limitations inherent in the standard version of LATEX's picture, but also offer new and powerful commands to draw arcs and curves with mininal effort.

We have tried to make it possible to read each of the other chapters separately; you may prefer to go straight to the chapters that cover your subject area or look at those that describe a particular tool. Two chapters each are dedicated to the generic systems METAPOST and PSTricks.

3 METAFONT and METAPOST: TEX's Mates shows how to exploit the power of TEX's META languages (Knuth's METAFONT and its PostScript-based extension METAPOST). After introducing the basic functions, the basic METAPOST libraries are described, as well as available TEX interfaces and miscellaneous tools and utilities.

4 METAPOST Applications introduces the METAPOST toolkit, and explains how to use METAPOST's unparalleled expressive power for describing many types of graphs, diagrams, and geometric constructs. Applications in the areas of science and engineering, 3-D representations, posters, etc. conclude the overview.

5 Harnessing PostScript Inside LATEX: PSTricks walks the reader through the various components of the PSTricks language, looking at such things as defining the coordinate system, lines and polygons, circles, ellipses and curves, arrows, labels, fill areas, and much more.

6 The Main PSTricks Packages takes you even deeper into the world of PSTricks. Armed with the knowledge gained in Chapter 5, the reader will find here detailed descriptions of the most common PSTricks packages--in particular, pst-plot for plotting functions and data; pst-node formastering nodes and their connections; pst-tree for creating tree diagrams; pst-fill for filling and tiling areas; pst-3d for creating 3-Deffects, such as shadows and tilting; and pst-3dplot for handling 3-D functions and data sets. The chapter ends with a summary of PSTricks commands and keywords.

The next four chapters discuss problems in special application areas and survey more packages:

7 The XY-pic Package introduces a package that goes to great lengths to define a notation for many kinds of mathematics diagrams and implements it in a generic and portable way.

8 Applications in Science, Technology, and Medicine looks at chemical formulae and bonds, applications in bioinformatics, Feynman diagrams, timing diagrams, and electronic and optics circuits.

9 Preparing Music Scores first describes the principles of the powerful MusiXTEX package. Then several preprocessors providing a more convenient interface are introduced: abc for folk tunes, PMX for entering polyphonic music, and M-Tx (an offspring of PMX) for dealing with multi-voice lyrics in scores. We also take a short look at LilyPond, a modern music typesetter written in C++, and say a few words about TEXmuse.

10 Playing Games is for those who use LATEX for play as well as for work. It shows you how to describe chess games and typeset chess boards (the usual and oriental variants). This chapter also describes how to handle Go, backgammon, and card games. We conclude with crosswords in various forms and Sudokus, including how to typeset, solve, and generate them.

Our last chapter addresses an area of general interest: color, and some of its common uses in LATEX.

11 The World of Color starts with a short general introduction to color. Next comes an overview of the xcolor package and the colortbl package, that is based on xcolor. The final part discusses the beamer class for producing color slides with LATEX.

Appendix A describes ways to generate PDF from LATEX. Appendix B introduces CTAN and explains how to download the LATEX packages described in this book.

As mentioned earlier, material about PostScript and PDF tools, as well as information about how to use PostScript and OpenType fonts with LATEX, is available as supplementary material (see http://xml.cern.ch/lgc2),which covers the following subjects:

PostScript Fonts and Beyond describes the ins and outs of using PostScript fonts with LATEX. It also looks at the latest developments on how to integrate OpenType fonts by creating TEX-specific auxiliary files (TEX metrics, virtual fonts, etc.) or by reading the font's characteristics directly in the OpenType source.

PostScript and PDF Tools starts with a short introduction to the PostScript, PDF, and SVG languages. It then describes some freely available programs, in particular dvips and pdflatex to generate PostScript and PDF, ghostscript and ghostview to manipulate and view PostScript and PDF, plus a set of other tools that facilitate handling PostScript and PDF files and conversions.

Finding all those packages and programs

All of the packages and programs described in this book are freely available in public software archives; a few are in the public domain, but most are protected by copyright and available to you under an open-source license. Some programs are available only in source form or work only on certain computer platforms, and you should be prepared for a certain amount of "getting your hands dirty" in some cases. We also cannot guarantee that later versions of packages or programs will give results identical to those in our book. Many of these packages and programs remain under active development, and new or changed versions appear several times a year; we completed this book in spring 2007, and tested the examples with the versions current at that time.

In Appendix B we give full details on how to access CTAN sites and how to download files using the Internet. You can also purchase the TEX Collection DVD from one of the TEX Users Groups. This DVD contains implementations of TEX for various systems, many packages and fonts, in particular it provides you with all the LATEX packages described in this book and The LATEX Companion, Second Edition. Some programs (such as the ones described in the music chapter) are not available on CTAN (or the DVD) and must be downloaded from the location indicated in the text.

Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)