Transcription of Z PGF - TeXdoc
1 TikZTikZ&&PGFPGFM anual for Version .. aManual for Version .. a\begin{tikzpicture}\coordinate(front)at (0,0);\coordinate(horizon)at(0,.31\paper height);\coordinate(bottom)at(0, \paperheight);\coordinate(sky)at(0,.57\p aperheight);\coordinate(left)at( \paperwidth,0);\coordinate(right)at(.51\ paperwidth,0);\shade[bottomcolor=white,t op color=blue!30!black!50]([yshift=-5mm]hor izon-|left)rectangle(sky-|right);\shade[ bottomcolor=black!70!green!25,top color=black!70!green!10](front-|left) -- (horizon-|left)decorate[decoration=rando msteps] {-- (horizon-|right) }-- (front-|right) --cycle;\shade[top color=black!70!green!25,bottomcolor=blac k!25]([yshift=-5mm-1pt]front-|left)recta ngle([yshift=1pt]front-|right);\fill[bla ck!25](bottom-|left)rectangle([yshift=-5 mm]front-|right);\def\nodeshadowed[#1]#2 ;{\node[scale=2,above,#1]{\global\setbox \mybox=\hbox{#2}\copy\mybox};\node[scale =2,above,#1,yscale=-1,scopefading=south, opacity= ]{\box\mybox};}\nodeshadowed[at={(-5,8 )},yslant= ]{\HugeTi\textcolor{orange}{\emph{k}}Z}; \nodeshadowed[at={( 0, )}]{\huge\textcolor{green!}}
2 50!black!50}{\ \nodeshadowed[at={( 5,8 )},yslant= ]{\Huge\textsc{PGF}};\nodeshadowed[at={( 0,5 )}]{ManualforVersion\pgftypesetversion}; \foreach\wherein{-9cm,9cm} {\nodeshadowed[at={(\where,5cm)}] { \tikz\draw[green!20!black,rotate=90,l-sy stem={ruleset={F->FF-[-F+F]+[+F-F]},axio m=F,order=4,step=2pt,randomizesteppercen t=50,angle=30,randomizeanglepercent=5}]l -system; }}\foreach\i in{ , ,..,2}\fill[white,opacity=\i/2,decoratio n=Kochsnowflake,shift=(horizon),shift={( rand 11,rnd 7)},scale=\i,doublecopyshadow={opacity= ,shadowxshift=0pt,shadowyshift=3 \i pt,fill=white,draw=none}]decorate{decora te{decorate{(0,0)- ++(60:1) -- ++(-60:1) --cycle} } };\node(lefttext) ..\node(righttext) ..\fill[decorate,decoration={footprints, footof=gnome},opacity=.5,brown] (rand 8,-rnd 10)to[out=rand 180,in=rand 180] (rand 8,-rnd 10);\end{tikzpicture}F r meinen Vater, damit er noch viele sch ne TEX-Graphiken erschaffen 2007 to 2013 by Till TantauPermission is granted to copy, distribute and/or modifythe documentationunder the terms of thegnuFreeDocumentation License, Version or any later version published by the Free Software Foundation; withno Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
3 A copy of the license is included inthe section entitledgnuFree Documentation is granted to copy, distribute and/or modifythe code of the packageunder the terms of thegnuPublic License, Version 2 or any later version published by the Free Software Foundation. A copy of thelicense is included in the section entitledgnuPublic is also granted to distribute and/or modifyboth the documentation and the codeunder theconditions of the LaTeX Project Public License, either version of this license or (at your option) anylater version. A copy of the license is included in the section entitled LATEX Project Public TikZ andPGFP ackagesManual for version Tantau Institut f r Theoretische InformatikUniversit t zu L beckAugust 29, 2015 Contents1 Layers Below TikZ .. with Other Graphics Packages .. Packages .. to Read This Manual .. and Acknowledgements .. Help ..27I Tutorials and Guidelines282 Tutorial: A Picture for Karl s Statement .. up the Environment .. up the Environment in LATEX.
4 Up the Environment in Plain TEX .. up the Environment in ConTEXt .. Path Construction .. Path Construction .. Path Construction .. Path Construction .. Path Construction .. a Touch of Style .. Options .. Arc Path Construction .. Clipping a Path .. Parabola and Sine Path Construction .. Filling and Drawing .. Shading .. Specifying Coordinates .. Intersecting Paths .. Adding Arrow Tips .. Scoping .. Transformations .. Repeating Things: For-Loops .. Adding Text .. Pics: The Angle Revisited ..45 Editor of this documentation. Parts of this documentation have been written by other authors as indicated in these partsor chapters and in Section Tutorial: A Petri-Net for Statement .. up the Environment .. up the Environment in LATEX .. up the Environment in Plain TEX .. up the Environment in ConTEXt .. to Nodes .. Nodes Using the At Syntax .. Styles .. Size .. Nodes .. Nodes Using Relative Placement .. Labels Next to Nodes.
5 Connecting Nodes .. Adding Labels Next to Lines .. Adding the Snaked Line and Multi-Line Text .. Using Layers: The Background Rectangles .. The Complete Code ..564 Tutorial: Euclid s Amber Version of I, Proposition I .. up the Environment .. LineAB.. Circle AroundA.. Intersection of the Circles .. Complete Code .. I, Proposition II .. Partway Calculations for the Construction ofD.. a Line and a Circle .. Complete Code ..655 Tutorial: Diagrams as Simple the Nodes .. the Nodes Using Positioning Options .. the Nodes Using Matrices .. Diagram as a Graph .. Already Positioned Nodes .. Nodes Using the Graph Command ..726 Tutorial: A Lecture Map for Statement .. to Trees .. the Lecture Map .. the Lecture Annotations .. the Background .. the Calendar .. Complete Code ..867 Guidelines on the Time Needed for the Creation of Graphics .. for Creating a Graphic .. Graphics With the Main Text .. Between Graphics and Text .. in Graphics.
6 And Charts .. and Distraction ..95II Installation and Configuration9748 and Driver Versions .. Prebundled Packages .. in a texmf Tree .. that Keeps Everything Together .. that is TDS-Compliant .. the Installation ..999 Licenses and License Applies? .. GNU Public License, Version 2 .. and Conditions For Copying, Distribution and Modification .. Warranty .. LATEX Project Public License, Version 2006-05-20 .. on Distribution and Modification .. Warranty .. of The Work .. and How to Distribute Works under This License .. This License or Another License .. Recommendation on Modification Without Distribution .. to Use This License .. Derived Works That Are Not Replacements .. Important Recommendations .. Free Documentation License, Version , November 2002 .. and definitions .. Copying .. in Quantity .. Documents .. of Documents .. with independent Works .. Termination .. Future Revisions of this License .. Addendum: How to use this License for your documents.
7 11210 Supported Supported Input Formats: LATEX, Plain TEX, ConTEXt .. Using the LATEX Format .. Using the Plain TEX Format .. Using the ConTEXt Format .. Supported Output Formats .. Selecting the Backend Driver .. Producing PDF Output .. Producing PostScript Output .. Producing SVG Output .. Producing Perfectly Portable DVI Output ..117 III TikZ istkeinZeichenprogramm118511 Design Special Syntax For Specifying Points .. Special Syntax For Path Specifications .. Actions on Paths .. Key-Value Syntax for Graphic Parameters .. Special Syntax for Specifying Nodes .. Special Syntax for Specifying Trees .. Special Syntax for Graphs .. Grouping of Graphic Parameters .. Coordinate Transformation System ..12212 Hierarchical Structures: Package, Environments, Scopes, and Loading the Package and the Libraries .. Creating a Picture .. Creating a Picture Using an Environment .. Creating a Picture Using a Command.
8 Handling Catcodes and the Babel Package .. Adding a Background .. Using Scopes to Structure a Picture .. The Scope Environment .. Shorthand for Scope Environments .. Single Command Scopes .. Using Scopes Inside Paths .. Using Graphic Options .. How Graphic Options Are Processed .. Using Styles to Manage How Pictures Look ..12813 Specifying Overview .. Coordinate Systems .. Canvas, XYZ, and Polar Coordinate Systems .. Barycentric Systems .. Node Coordinate System .. Tangent Coordinate Systems .. Defining New Coordinate Systems .. Coordinates at Intersections .. Intersections of Perpendicular Lines .. Intersections of Arbitrary Paths .. Relative and Incremental Coordinates .. Specifying Relative Coordinates .. Rotational Relative Coordinates .. Relative Coordinates and Scopes .. Coordinate Calculations .. The General Syntax .. The Syntax of Factors .. The Syntax of Partway Modifiers.
9 The Syntax of Distance Modifiers .. The Syntax of Projection Modifiers ..14514 Syntax for Path The Move-To Operation .. The Line-To Operation .. Straight Lines .. Horizontal and Vertical Lines .. The Curve-To Operation .. The Rectangle Operation .. Rounding Corners .. The Circle and Ellipse Operations .. The Arc Operation .. The Grid Operation .. The Parabola Operation .. The Sine and Cosine Operation .. The SVG Operation .. The Plot Operation .. The To Path Operation .. The Foreach Operation .. The Let Operation .. The Scoping Operation .. The Node and Edge Operations .. The Graph Operation .. The Pic Operation .. The PGF-Extra Operation ..16215 Actions on Overview .. Specifying a Color .. Drawing a Path .. Graphic Parameters: Line Width, Line Cap, and Line Join .. Graphic Parameters: Dash Pattern .. Graphic Parameters: Draw Opacity .. Graphic Parameters: Double Lines and Bordered Lines.
10 Adding Arrow Tips to a Path .. Filling a Path .. Graphic Parameters: Fill Pattern .. Graphic Parameters: Interior Rules .. Graphic Parameters: Fill Opacity .. Generalized Filling: Using Arbitrary Pictures to Fill a Path .. Shading a Path .. Establishing a Bounding Box .. Clipping and Fading (Soft Clipping) .. Doing Multiple Actions on a Path .. Decorating and Morphing a Path ..18016 Overview .. Where and When Arrow Tips Are Placed .. Arrow Keys: Configuring the Appearance of a Single Arrow Tip .. Size .. Scaling .. Arc Angles .. Slanting .. Reversing, Halving, Swapping .. Coloring .. Line Styling .. Bending and Flexing .. Arrow Tip Specifications .. Syntax .. Specifying Paddings .. Specifying the Line End .. Defining Shorthands .. Scoping of Arrow Keys .. Reference: Arrow Tips .. Barbed Arrow Tips .. Mathematical Barbed Arrow Tips .. Geometric Arrow Tips .. Caps .. Special Arrow Tips.