diff options
Diffstat (limited to 'Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-main-body.tex')
-rw-r--r-- | Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-main-body.tex | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-main-body.tex b/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-main-body.tex index 9abbb6f3d57..de2ef33a06e 100644 --- a/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-main-body.tex +++ b/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-main-body.tex @@ -12,6 +12,7 @@ % The titlepage +\pgfmathsetseed{1} \newbox\mybox { \parindent0pt @@ -284,8 +285,8 @@ read the present part. \vskip1cm -\begin{codeexample}[graphic=white] -\begin{tikzpicture}[->,>=stealth',shorten >=1pt,auto,node distance=2.8cm,on grid,semithick, +\begin{codeexample}[graphic=white,preamble={\usetikzlibrary{arrows.meta,automata,positioning,shadows}}] +\begin{tikzpicture}[->,>={Stealth[round]},shorten >=1pt,auto,node distance=2.8cm,on grid,semithick, every state/.style={fill=red,draw=none,circular drop shadow,text=white}] \node[initial,state] (A) {$q_a$}; @@ -331,8 +332,7 @@ read the present part. \bigskip \noindent \vskip3cm -\begin{codeexample}[graphic=white] - +\begin{codeexample}[graphic=white,preamble={\usetikzlibrary{angles,calc,quotes}}] \begin{tikzpicture}[angle radius=.75cm] \node (A) at (-2,0) [red,left] {$A$}; @@ -395,10 +395,13 @@ graph for you. \tikzname\ comes with powerful such algorithms, but you can also implement new algorithms in the Lua programming language. \vskip1cm \ifluatex -\begin{codeexample}[graphic=white] +\begin{codeexample}[ + graphic=white, + preamble={\usetikzlibrary{arrows.meta,graphs,graphdrawing} +\usegdlibrary{layered}}] \tikz [nodes={text height=.7em, text depth=.2em, draw=black!20, thick, fill=white, font=\footnotesize}, - >=spaced stealth', rounded corners, semithick] + >={Stealth[round,sep]}, rounded corners, semithick] \graph [layered layout, level distance=1cm, sibling sep=.5em, sibling distance=1cm] { "5th Edition" -> { "6th Edition", "PWB 1.0" }; "6th Edition" -> { "LSX" [>child anchor=45], "1 BSD", "Mini Unix", "Wollongong", "Interdata" }; @@ -458,7 +461,7 @@ libraries are not loaded by default since many users will not need them. \medskip \noindent -\begin{codeexample}[graphic=white] +\begin{codeexample}[graphic=white,preamble={\usetikzlibrary{arrows,trees}}] \tikzset{ ld/.style={level distance=#1},lw/.style={line width=#1}, level 1/.style={ld=4.5mm, trunk, lw=1ex ,sibling angle=60}, @@ -522,6 +525,7 @@ libraries are not loaded by default since many users will not need them. \include{pgfmanual-en-library-automata} \include{pgfmanual-en-library-babel} \include{pgfmanual-en-library-backgrounds} +\include{pgfmanual-en-library-bbox} \include{pgfmanual-en-library-calc} \include{pgfmanual-en-library-calendar} \include{pgfmanual-en-library-chains} @@ -566,7 +570,7 @@ libraries are not loaded by default since many users will not need them. \bigskip \noindent -\begin{codeexample}[graphic=white] +\begin{codeexample}[graphic=white,preamble={\usetikzlibrary{datavisualization.formats.functions}}] \tikz \datavisualization [scientific axes=clean] [ visualize as smooth line=Gaussian, |