The LaTeX Graphics Companion, 2/e (Paperback)
暫譯: LaTeX 圖形伴侶(第二版)

Michel Goossens, Frank Mittelbach, Sebastian Rahtz, Denis Roegel, Herbert Voss

  • 出版商: Addison Wesley
  • 出版日期: 2007-09-01
  • 售價: $2,400
  • 貴賓價: 9.5$2,280
  • 語言: 英文
  • 頁數: 976
  • 裝訂: Paperback
  • ISBN: 0321508920
  • ISBN-13: 9780321508928
  • 立即出貨(限量)

買這商品的人也買了...

相關主題

商品描述

Description

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.

 

  

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

商品描述(中文翻譯)

描述

LATEX 排版系統仍然是排版各種文件的熱門選擇,從論文、期刊文章和簡報到書籍,特別是那些包含技術文本或需要高品質排版的書籍。本書是製作 LATEX 文件插圖的最全面指南,並已完全修訂和擴展,以包括 LATEX 圖形的最新發展。作者描述了最常用的套件,並提供了數百個解決最常見的 LATEX 插圖問題的方案。

本書將教您如何:

- 將圖形文件納入 LATEX 文件
- 使用多種語言編程技術圖表,包括 METAPOST、PSTricks 和 XY-pic
- 在您的 LATEX 項目中使用顏色,包括簡報
- 創建特殊用途的圖形,例如高品質的樂譜和遊戲圖表
- 為各種科學和工程學科製作複雜的圖形

本版的新內容:

- 更新和擴展了 PSTricks 和 METAPOST 語言的涵蓋範圍
- 對主要新套件進行詳細解釋,用於圖形和 3-D 圖形
- 對 xcolor 套件進行全面描述
- 使用 beamer 類製作簡報
- 最新版本的遊戲和科學套件

本書中有超過 1100 個經過全面測試的示例,說明文本並解決圖形問題和任務,所有示例均可直接運行!

本書中所有的套件和示例均可從綜合 TEX 存檔網絡 (CTAN) 免費下載。

《LATEX 圖形伴侶,第二版》對於任何希望將圖形納入 LATEX 的人來說,都是不可或缺的參考資料。正如主題所適合的,該書以 LATEX 進行排版,並採用雙色設計。

目錄

圖表清單 xvii
表格清單 xxii
前言 xxv

為什麼選擇 LATEX,為什麼選擇 PostScript? xxvi
本書的安排 xxvii
排版慣例 xxix
使用示例 xxxi
尋找所有這些套件和程序 xxxiii

第一章:使用 LATEX 的圖形 1

1.1 圖形系統和排版 2
1.2 繪圖類型 3
1.3 TEX 的介面 6
1.4 圖形語言 10
1.5 選擇套件 21

第二章:標準 LATEX 介面 23

2.1 圖形文件的包含 23
2.2 操作圖形對象 36
2.3 線圖 42

第三章:METAFONT 和 METAPOST:TEX 的伴侶 51

3.1 META 語言 52
3.2 METAPOST 和 METAFONT 之間的差異 60
3.3 運行 META 程序 68
3.4 一些基本的 METAPOST 函式庫 74
3.5 METAOBJ 套件 80
3.6 TEX 介面:獲得兩全其美 120
3.7 從 METAPOST 到 METAPOST 137
3.8 METAPOST 的未來 138

第四章:METAPOST 應用 141

4.1 繪圖工具包 141
4.2 用圖表表示數據 157
4.3 圖表 176
4.4 幾何 189
4.5 科學和工程應用 196
4.6 3-D 擴展 207

第五章:在 LATEX 中利用 PostScript:PSTricks 213

5.1 PSTricks 的組件 214
5.2 設置關鍵字、長度和坐標 217
5.3 pspicture 環境 220
5.4 坐標系統 223
5.5 網格 224
5.6 線和多邊形 231
5.7 圓、橢圓和曲線 240
5.8 點和符號 249
5.9 填充區域 253
5.10 箭頭 259
5.11 標籤 265
5.12 方框 269
5.13 用戶樣式和對象 279
5.14 坐標 296
5.15 PSTricks 核心 302

第六章:主要的 PSTricks 套件 313

6.1 pst-plot--繪製函數和數據 313
6.2 pst-node--節點和連接 334
6.3 pst-tree--排版樹 366
6.4 pst-fill--填充和鋪設 383
6.5 pst-3d--陰影、傾斜和三維表示 388
6.6 pst-3d plot--函數和數據的 3-D 平行投影 400
6.7 其他 PSTricks 套件的簡要概述 417
6.8 PSTricks 命令和關鍵字的總結 459

第七章:XY-pic 套件 467

7.1 介紹 XY-pic 467
7.2 基本結構 469
7.3 擴展 474
7.4 特徵 478
7.5 進一步的示例 509

第八章:科學、技術和醫學中的應用 511

8.1 科學文本的排版規則 512
8.2 排版化學公式 518
8.3 生物信息學中的對齊和拓撲圖 547
8.4 繪製費曼圖 555
8.5 排版時序圖 572
8.6 電子學和光學電路 576

第九章:準備樂譜 587

9.1 使用 TEX 繪製樂譜--概述 589
9.2 使用 MusiXTEX 590
9.3 abc2mtex--輕鬆編寫旋律 600
9.4 MusiXTEX 的預處理器 615
9.5 PMX 預處理器 618
9.6 M-Tx--音樂從 TeXt 651
9.7 音樂雕刻家 LilyPond 661
9.8 TEXmuse--TEX 和 METAFONT 的協作 666

第十章:玩遊戲 667

10.1 國際象棋 668
10.2 象棋 687
10.3 圍棋 690
10.4 西洋雙陸棋 696
10.5 紙牌遊戲 698
10.6 各種形式的填字遊戲 702
10.7 數獨 709

第十一章:色彩的世界 713

11.1 色彩介紹 714
11.2 LATEX 中的顏色--color 和 xcolor 套件 719
11.3 為表格上色 737
11.4 LATEX 中的彩色幻燈片--beamer 類 752

附錄 A:從變數生成 PDF