
. TikZ and pgf Manual for Version 1.01 \tikzstyle{level 1}=[sibling angle=120] \tikzstyle{level 2}=[sibling angle=60] \tikzstyle{level 3}=[sibling angle=30] \tikzstyle{every node}=[fill] \tikzstyle{edge from parent}=[snake=expanding waves,segment length=1mm,segment angle=10,draw] \tikz [grow cyclic,shape=circle,very thick,level distance=13mm,cap=round] \node {} child [color=\A] foreach \A in {red,green,blue} { node {} child [color=\A!50!\B] foreach \B in {red,green,blue} { node {} child [color=\A!50!\B!50!\C] foreach \C in {black,gray,white} { node {} } } }; . 1 . F¨urmeinen Vater, damit er noch viele sch¨oneTEX-Graphiken erschaffen kann. 2 The TikZ and pgf Packages Manual for Version 1.01 http://sourceforge.net/projects/pgf Till Tantau mailto:[email protected] May 29, 2008 Contents I Getting Started 11 1 Introduction 12 1.1 Structure of the System . 12 1.2 Comparison with Other Graphics Packages . 13 1.3 Utilities: Page Management . 13 1.4 How to Read This Manual . 13 1.5 Getting Help . 14 2 Installation 15 2.1 Package and Driver Versions . 15 2.2 Installing Prebundled Packages . 15 2.2.1 Debian . 15 2.2.2 MiKTeX . 15 2.3 Installation in a texmf Tree . 16 2.3.1 Installation that Keeps Everything Together . 16 2.3.2 Installation that is TDS-Compliant . 16 2.4 Updating the Installation . 16 2.5 License: The GNU Public License, Version 2 . 17 2.5.1 Preamble . 17 2.5.2 Terms and Conditions For Copying, Distribution and Modification . 17 2.5.3 No Warranty . 20 3 Tutorial: A Picture for Karl's Students 21 3.1 Problem Statement . 21 3.2 Setting up the Environment . 21 3.2.1 Setting up the Environment in LATEX............................. 22 3.2.2 Setting up the Environment in Plain TEX.......................... 22 3.3 Straight Path Construction . 23 3.4 Curved Path Construction . 23 3.5 Circle Path Construction . 24 3.6 Rectangle Path Construction . 24 3.7 Grid Path Construction . 24 3.8 Adding a Touch of Style . 25 3.9 Drawing Options . 26 3.10 Arc Path Construction . 26 3 3.11 Clipping a Path . 27 3.12 Parabola and Sine Path Construction . 28 3.13 Filling and Drawing . 28 3.14 Shading . 29 3.15 Specifying Coordinates . 29 3.16 Adding Arrow Tips . 31 3.17 Scoping . 32 3.18 Transformations . 32 3.19 Repeating Things: For-Loops . 33 3.20 Adding Text . 34 3.21 Nodes . 37 4 Guidelines on Graphics 39 4.1 Should You Follow Guidelines? . 39 4.2 Planning the Time Needed for the Creation of Graphics . 39 4.3 Workflow for Creating a Graphic . 40 4.4 Linking Graphics With the Main Text . 40 4.5 Consistency Between Graphics and Text . 41 4.6 Labels in Graphics . 42 4.7 Plots and Charts . 42 4.8 Attention and Distraction . 45 5 Input and Output Formats 47 5.1 Supported Input Formats . 47 5.1.1 Using the LATEX Format . 47 5.1.2 Using the Plain TEX Format . 47 5.1.3 Using the ConTEXt Format . 47 5.2 Supported Output Formats . 47 5.2.1 Selecting the Backend Driver . 48 5.2.2 Producing PDF Output . 48 5.2.3 Producing PostScript Output . 49 5.2.4 Producing HTML / SVG Output . 49 II TikZ ist kein Zeichenprogramm 51 6 Design Principles 52 6.1 Special Syntax For Specifying Points . 52 6.2 Special Syntax For Path Specifications . 52 6.3 Actions on Paths . 53 6.4 Key-Value Syntax for Graphic Parameters . 53 6.5 Special Syntax for Specifying Nodes . 53 6.6 Special Syntax for Specifying Trees . 53 6.7 Grouping of Graphic Parameters . 54 6.8 Coordinate Transformation System . 55 7 Hierarchical Structures: Package, Environments, Scopes, and Styles 56 7.1 Loading the Package . 56 7.2 Creating a Picture . 56 7.2.1 Creating a Picture Using an Environment . 56 7.2.2 Creating a Picture Using a Command . 57 7.2.3 Adding a Background . 58 7.3 Using Scopes to Structure a Picture . 58 7.4 Using Scopes Inside Paths . 59 7.5 Using Styles to Manage How Pictures Look . 59 4 8 Specifying Coordinates 61 8.1 Coordinates and Coordinate Options . 61 8.2 Simple Coordinates . 61 8.3 Polar Coordinates . 61 8.4 Xy- and Xyz-Coordinates . 61 8.5 Node Coordinates . 62 8.5.1 Named Anchor Coordinates . 62 8.5.2 Angle Anchor Coordinates . 62 8.5.3 Anchor-Free Node Coordinates . ..
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages264 Page
-
File Size-