summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-main.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-main.tex')
-rw-r--r--Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-main.tex225
1 files changed, 191 insertions, 34 deletions
diff --git a/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-main.tex b/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-main.tex
index 992375bc778..e0e49b657d9 100644
--- a/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-main.tex
+++ b/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-main.tex
@@ -1,8 +1,12 @@
-% Copyright 2003 by Till Tantau <tantau@cs.tu-berlin.de>.
+% Copyright 2006 by Till Tantau
%
-% This program can be redistributed and/or modified under the terms
-% of the LaTeX Project Public License Distributed from CTAN
-% archives in directory macros/latex/base/lppl.txt.
+% This file may be distributed and/or modified
+%
+% 1. under the LaTeX Project Public License and/or
+% 2. under the GNU Free Documentation License.
+%
+% See the file doc/generic/pgf/licenses/LICENSE for more details.
+
% pgf version is defined in \pgfversion in file
% generic/pgf/utilities/pgfrcs.code.tex
@@ -12,13 +16,9 @@
\usepackage[version=0.96]{pgf}
\usepackage{tikz}
-\usepackage{pgflibraryarrows}
-\usepackage{pgflibraryshapes}
-\usepackage{pgflibrarysnakes}
-\usepackage{pgflibraryautomata}
-\usepackage{pgflibraryplotmarks}
-\usepackage{pgflibrarytikzbackgrounds}
-\usepackage{pgflibrarytikztrees}
+
+\usetikzlibrary{arrows,patterns,plotmarks,shapes,snakes,er,3d,automata,backgrounds,topaths,trees,petri,mindmap}
+
\usepackage[left=2.25cm,right=2.25cm,top=2.5cm,bottom=2.5cm,nohead]{geometry}
\usepackage{amsmath,amssymb}
\usepackage{xxcolor}
@@ -36,7 +36,7 @@
\renewcommand*\l@subsubsection{\@dottedtocline{3}{4.3em}{3.2em}}
\makeatother
-%\includeonly{pgfmanual-en-tikz-shapes}
+%\includeonly{pgfmanual-en-tutorial-nodes}
% Global styles:
\tikzstyle{every plot}=[prefix=plots/pgf-]
@@ -46,9 +46,13 @@
\index{Options for packages|see{Package options}}
\index{File|see{Packages and files}}
\index{Layout|see{Page layout}}
+\index{Node|see{Predefined node}}
\begin{document}
+%\include{pgfmanual-en-license}
+%\end{document}
+
{
\parindent0pt
\vbox{}
@@ -57,7 +61,7 @@
\tikzname\ and \pgfname
\Large
-Manual for Version \pgfversion
+Manual for version \pgfversion
\vskip 3cm
@@ -86,16 +90,43 @@ Manual for Version \pgfversion
\vskip0pt plus 1fill
Für meinen Vater, damit er noch viele schöne \TeX-Graphiken erschaffen kann.
\vskip0pt plus 3fill
+
+ \parindent=0pt
+ Copyright 2006 by Till Tantau
+
+ \medskip
+ Permission is granted to copy, distribute and/or modify \emph{the documentation}
+ under the terms of the \textsc{gnu} Free Documentation License, Version 1.2
+ or any later version published by the Free Software Foundation;
+ with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
+ A copy of the license is included in the section entitled \textsc{gnu}
+ Free Documentation License.
+
+ \medskip
+ Permission is granted to copy, distribute and/or modify \emph{the
+ code of the package} under the terms of the \textsc{gnu} Public License, Version 2
+ or any later version published by the Free Software Foundation.
+ A copy of the license is included in the section entitled \textsc{gnu}
+ Public License.
+
+ \medskip
+ Permission is also granted to distribute and/or modify \emph{both
+ the documentation and the code} under the conditions of the LaTeX
+ Project Public License, either version 1.3 of this license or (at
+ your option) any later version. A copy of the license is included in
+ the section entitled \LaTeX\ Project Public License.
+
\vbox{}
\clearpage
}
-\title{The \tikzname\ and \pgfname\ Packages\\
- Manual for Version \pgfversion\\[1mm]
+\title{\bfseries The \tikzname\ and {\Large PGF} Packages\\
+ \large Manual for version \pgfversion\\[1mm]
\large\href{http://sourceforge.net/projects/pgf}{\texttt{http://sourceforge.net/projects/pgf}}}
\author{Till Tantau\\
- \href{mailto:tantau@users.sourceforge.net}{\texttt{tantau@users.sourceforge.net}}}
+ \normalsize Institut f\"ur Theoretische Informatik\\[-1mm]
+ \normalsize Universit\"at zu L\"ubeck}
\maketitle
@@ -103,17 +134,18 @@ Manual for Version \pgfversion
\clearpage
-\part{Getting Started}
-This part is intended to help you get started with the \pgfname\
-package. First, the installation process is explained; however, the
-system will typically be already installed on your system, so this can
-often be skipped. Next, a short tutorial is given that explains the
-most often used commands and concepts of \tikzname, without going into
-any of the glorious details. At the end of this section you will find
-some, hopefully useful, hints on how to create ``good'' graphics in
-general. The information in this section is not specific to
-\pgfname.
+\include{pgfmanual-en-introduction}
+
+
+\part{Tutorials and Guidelines}
+
+To help you get started with \tikzname, instead of a long installation
+and configuration section, this manual starts with tutorials. They
+explain all the basic and some of the more advanced features of the
+system, without going into all the details. This part also contains
+some guidelines on how you should proceed when creating graphics using
+\tikzname.
\vskip3cm
@@ -122,10 +154,46 @@ general. The information in this section is not specific to
(0,0) -- (0,2) -- (1,3.25) -- (2,2) -- (2,0) -- (0,2) -- (2,2) -- (0,0) -- (2,0);
\end{codeexample}
-\include{pgfmanual-en-introduction}
-\include{pgfmanual-en-installation}
\include{pgfmanual-en-tutorial}
+\include{pgfmanual-en-tutorial-nodes}
\include{pgfmanual-en-guidelines}
+
+
+
+\part{Installation and Configuration}
+
+This part explains how the system is installed. Typically, someone has
+already done so for your system, so this part can be skipped; but if
+this is not the case and you are the poor fellow who has to do the
+installation, read the present part.
+
+
+\vskip2cm
+
+\begin{codeexample}[graphic=white]
+\begin{tikzpicture}[->,>=stealth',shorten >=1pt,auto,node distance=2.8cm,semithick]
+ \tikzstyle{every state}=[fill=red,draw=none,text=white]
+
+ \node[initial,state] (A) {$q_a$};
+ \node[state] (B) [above right of=A] {$q_b$};
+ \node[state] (D) [below right of=A] {$q_d$};
+ \node[state] (C) [below right of=B] {$q_c$};
+ \node[state] (E) [below of=D] {$q_e$};
+
+ \path (A) edge node {0,1,L} (B)
+ edge node {1,1,R} (C)
+ (B) edge [loop above] node {1,1,L} (B)
+ edge node {0,1,L} (C)
+ (C) edge node {0,1,L} (D)
+ edge [bend left] node {1,0,R} (E)
+ (D) edge [loop below] node {1,1,R} (D)
+ edge node {0,1,R} (A)
+ (E) edge [bend left] node {1,0,R} (A);
+\end{tikzpicture}
+\end{codeexample}
+
+\include{pgfmanual-en-installation}
+\include{pgfmanual-en-license}
\include{pgfmanual-en-drivers}
@@ -178,18 +246,107 @@ general. The information in this section is not specific to
-\part{Libraries and Utilities}
+\part{Libraries}
\label{part-libraries}
-In this part the library and utility packages are documented. The
-library packages provide additional predefined graphic objects like
-new arrow heads, or new plot marks. These are not loaded by default
-since many users will not need them.
+In this part the library packages are documented. They
+provide additional predefined graphic objects like new arrow heads or
+new plot marks. These are not loaded by default since many users will
+not need them.
+
+\medskip
+\noindent
+\begin{codeexample}[graphic=white]
+\tikzstyle{level 1}=
+ [level distance=4.5mm, trunk, line width=1ex ,sibling angle=60]
+\tikzstyle{level 2}=
+ [level distance=3.5mm, trunk!80!leaf a,line width=.8ex,sibling angle=56]
+\tikzstyle{level 3}=
+ [level distance=2.75mm,trunk!60!leaf a,line width=.6ex,sibling angle=52]
+\tikzstyle{level 4}=
+ [level distance=2mm, trunk!40!leaf a,line width=.4ex,sibling angle=48]
+\tikzstyle{level 5}=
+ [level distance=1mm, trunk!20!leaf a,line width=.3ex,sibling angle=44]
+\tikzstyle{level 6}=
+ [level distance=1.75mm,leaf a, line width=.2ex,sibling angle=40]
+
+\pgfarrowsdeclare{leaf}{leaf}
+{\pgfarrowsleftextend{-2pt} \pgfarrowsrightextend{1pt}}
+{
+ \pgfpathmoveto{\pgfpoint{-2pt}{0pt}}
+ \pgfpatharc{150}{30}{1.8pt}
+ \pgfpatharc{-30}{-150}{1.8pt}
+ \pgfusepathqfill
+}
+
+
+\newcommand{\tcslogo}[5]
+{
+ \colorlet{border}{#1}
+ \colorlet{trunk}{#2}
+ \colorlet{leaf a}{#3}
+ \colorlet{leaf b}{#4}
+ \begin{tikzpicture}
+ \scriptsize\scshape
+ \draw[border,line width=1ex,yshift=.3cm,
+ yscale=1.45,xscale=1.05,looseness=1.42]
+ (1,0) to [out=90, in=0] (0,1) to [out=180,in=90] (-1,0)
+ to [out=-90,in=-180] (0,-1) to [out=0, in=-90] (1,0) -- cycle;
+
+ \coordinate (root) [grow cyclic,rotate=90]
+ child {
+ child [cap=round] foreach \a in {0,1} {
+ child foreach \b in {0,1} {
+ child foreach \c in {0,1} {
+ child foreach \d in {0,1} {
+ child foreach \leafcolor in {leaf a,leaf b}
+ { edge from parent [color=\leafcolor,-#5] }
+ }
+ }
+ }
+ } edge from parent [shorten >=-1pt,serif cm-,cap=butt]
+ };
+
+ \node [text centered,text width=2cm,below] at (0pt,-.5ex)
+ { \textcolor{border}{T}heoretical \\
+ \textcolor{border}{C}omputer \\
+ \textcolor{border}{S}cience };
+ \end{tikzpicture}
+}
+\begin{minipage}{3cm}
+ \tcslogo{green!80!black}{green!25!black}{green}{green!80}{leaf}\\
+ \tcslogo{green!50!black}{black}{green!80!black}{red!80!green}{leaf}\\
+ \tcslogo{red!75!black}{red!25!black}{red!75!black}{orange}{leaf}\\
+ \tcslogo{black!50}{black}{black!50}{black!25}{}
+\end{minipage}
+\end{codeexample}
+
+\include{pgfmanual-en-library-arrows}
+\include{pgfmanual-en-library-automata}
+\include{pgfmanual-en-library-backgrounds}
+\include{pgfmanual-en-library-er}
+\include{pgfmanual-en-library-mindmaps}
+\include{pgfmanual-en-library-patterns}
+\include{pgfmanual-en-library-petri}
+\include{pgfmanual-en-library-plot-handlers}
+\include{pgfmanual-en-library-plot-marks}
+\include{pgfmanual-en-library-shapes}
+\include{pgfmanual-en-library-snakes}
+%\include{pgfmanual-en-library-3d}
+\include{pgfmanual-en-library-edges}
+\include{pgfmanual-en-library-trees}
+
+
+
+
+\part{Utilities}
+\label{part-utilities}
The utility packages are not directly involved in creating graphics,
but you may find them useful nonetheless. All of them either directly
depend on \pgfname\ or they are designed to work well together with
\pgfname\ even though they can be used in a stand-alone way.
+
\vskip2cm
\medskip
\noindent
@@ -214,7 +371,6 @@ depend on \pgfname\ or they are designed to work well together with
\end{tikzpicture}
\end{codeexample}
-\include{pgfmanual-en-libraries}
\include{pgfmanual-en-pgffor}
\include{pgfmanual-en-pages}
\include{pgfmanual-en-xxcolor}
@@ -261,6 +417,7 @@ depend on \pgfname\ or they are designed to work well together with
\include{pgfmanual-en-base-arrows}
\include{pgfmanual-en-base-nodes}
\include{pgfmanual-en-base-transformations}
+\include{pgfmanual-en-base-patterns}
\include{pgfmanual-en-base-images}
\include{pgfmanual-en-base-shadings}
\include{pgfmanual-en-base-plots}