
TikZ and pgf Manual for version 0.95 \tikz[rotate=30] \foreach \x / \xcolor in {0/blue,1/cyan,2/green,3/yellow,4/red} \foreach \y / \ycolor in {0/blue,1/cyan,2/green,3/yellow,4/red} \shade[ball color=\xcolor!50!\ycolor] (\x,\y) circle (7.5mm); 1 F¨ur meinen Vater, damit er noch viele sch¨oneTEX-Graphiken erschaffen kann. 2 The TikZ and pgf Packages Manual for Version 0.95 http://latex-beamer.sourceforge.net Till Tantau [email protected] June 12, 2005 Contents 1 Introduction 9 1.1 Structure of the System . 9 1.2 Comparison with Other Graphics Packages . 10 1.3 Supported TEX-Formats . 10 1.4 Utilities: Page Management . 10 1.5 How to Read This Manual . 10 I Getting Started 12 2 Installation 13 2.1 Package and Driver Versions . 13 2.2 Installing Prebundled Packages . 13 2.2.1 Debian . 13 2.2.2 MiKTeX . 13 2.3 Installation in a texmf Tree . 13 2.3.1 Installation for the LATEXFormat ............................. 14 2.3.2 Installation for the TEXFormat.............................. 14 2.4 Updating the Installation . 14 2.5 License: The GNU Public License, Version 2 . 14 2.5.1 Preamble . 14 2.5.2 Terms and Conditions For Copying, Distribution and Modification . 15 2.5.3 No Warranty . 17 3 Tutorial: A Picture for Karl’s Students 18 3.1 Problem Statement . 18 3.2 Setting up the Environment . 18 3.2.1 Setting up the Environment in LATEX........................... 18 3.2.2 Setting up the Environment in Plain TEX........................ 19 3.3 Straight Path Construction . 19 3.4 Curved Path Construction . 20 3.5 Circle Path Contruction . 20 3.6 Rectangle Path Construction . 21 3.7 Grid Path Construction . 21 3.8 Adding a Touch of Style . 22 3.9 Drawing Options . 22 3.10 Arc Path Construction . 23 3.11 Clipping a Path . 24 3.12 Parabola and Sine Path Contruction . 25 3.13 Filling and Drawing . 25 3.14 Shading . 26 3 3.15 Specifying Coordinates . 26 3.16 Adding Arrows . 28 3.17 Scoping . 29 3.18 Transformations . 29 3.19 Repeating Things: For-Loops . 30 3.20 Adding Text . 31 3.21 Nodes................................................. 34 II TikZ ist kein Zeichenprogramm 36 4 Design Principles 37 4.1 Special Syntax For Specifying Points . 37 4.2 Special Syntax For Path Specifications . 37 4.3 Actions on Paths . 37 4.4 Key-Value Syntax for Graphic Parameters . 38 4.5 Special Syntax for Specifcying Nodes . 38 4.6 Grouping of Graphic Parameters . 38 4.7 Coordinate Transformation System . 39 5 Hierarchical Structures: Package, Environments, Scopes, and Styles 40 5.1 Loading the Package . 40 5.2 The Main Picture Environment . 40 5.3 Scopes ................................................ 41 5.4 Path Scopes . 42 5.5 Styles................................................. 42 6 Specifying Coordinates 44 6.1 Coordinates and Coordinate Options . 44 6.2 Simple Coordinates . 44 6.3 Polar Coordinates . 44 6.4 xy-, and xyz-Coordinates . 44 6.5 Node Coordinates . 44 6.5.1 Named Anchor Coordinates . 45 6.5.2 Angle Anchor Coordinates . 45 6.5.3 Anchor-Free Node Coordinates . 45 6.5.4 Intersection Coordinates . 46 6.6 Relative and Incremental Coordinates . 46 7 Syntax for Path Specifications 48 7.1 The Move-To Operation . 49 7.2 The Line-To Operation . 49 7.3 Horizontal/Vertical Line-To Operations . 49 7.4 The Curveto Operation . 49 7.5 The Cycle Operation . 50 7.6 Rounding Corners . 50 7.7 The Rectangle Operation . 51 7.8 The Circle and Ellipse Operations . 51 7.9 The Arc Operation . 51 7.10 The Grid Operation . 52 7.11 The Parabola Operation . 53 7.12 The Sine and Cosine Operation . 53 7.13 The Plot Operation . 54 7.13.1 Plotting Points Given Inline . 54 7.13.2 Plotting Points Read From an External File . 54 7.13.3 Plotting a Function . 55 7.13.4 Placing Marks on the Plot . 57 7.13.5 Smooth Plots, Sharp Plots, and Comb Plots . 57 7.14 The Scoping Operation . 59 4 7.15 The Node Operation . 59 8 Actions on Paths 60 8.1 Specifying Colors . 61 8.2 Drawing a Path . 61 8.2.1 Line Width, Line Cap, and Line Join Options . 62 8.2.2 Dash Patterns . 63 8.2.3 Arrows . 64 8.2.4 Double Lines and Border Lines . 65 8.3 Filling a Path . 65 8.4 Shading.
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages194 Page
-
File Size-