summaryrefslogtreecommitdiff
path: root/graphics/pgf/contrib/tikz-ext/doc/tikz-ext-manual-en-main-body.tex
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/pgf/contrib/tikz-ext/doc/tikz-ext-manual-en-main-body.tex')
-rw-r--r--graphics/pgf/contrib/tikz-ext/doc/tikz-ext-manual-en-main-body.tex127
1 files changed, 127 insertions, 0 deletions
diff --git a/graphics/pgf/contrib/tikz-ext/doc/tikz-ext-manual-en-main-body.tex b/graphics/pgf/contrib/tikz-ext/doc/tikz-ext-manual-en-main-body.tex
new file mode 100644
index 0000000000..10deb02792
--- /dev/null
+++ b/graphics/pgf/contrib/tikz-ext/doc/tikz-ext-manual-en-main-body.tex
@@ -0,0 +1,127 @@
+% !TeX spellcheck = en_US
+% !TeX root = tikz-ext-manual.tex
+% Copyright 2022 by Qrrbrbirlbel
+%
+% This file may be distributed and/or modified
+%
+% 1. under the LaTeX Project Public License and/or
+% 2. under the GNU Free Documentation License.
+%
+\newcommand*\tikzextname{Ti\textit kZ-Extensions}
+\newcommand*\tikzextversion{0.1}
+
+%\includeonly{
+% tikz-ext-manual-en-library-paths.arcto,
+% tikz-ext-manual-en-library-paths.ortho,
+% tikz-ext-manual-en-library-paths.timer,
+% tikz-ext-manual-en-library-patterns.images,
+% tikz-ext-manual-en-library-topaths.arcthrough,
+% tikz-ext-manual-en-library-trans,
+% tikz-ext-manual-en-pgf-trans,
+% tikz-ext-manual-en-library-misc,
+%}
+\begin{document}
+
+\title{\bfseries The \tikzextname\space Package\\
+ \large Manual for version \tikzextversion\\[1mm]
+\large\href{https://github.com/Qrrbrbirlbel/tikz-extensions}{\texttt{https://github.com/Qrrbrbirlbel/tikz-extensions}}
+\author{Qrrbrbirlbel}}
+
+\maketitle
+\label{table-of-contents}
+
+\tableofcontents
+
+
+\include{tikz-ext-manual-en-intro}
+
+\part{\tikzname\space Libraries}
+\label{part:tikz}
+
+These libraries only work with \tikzname.
+\vspace{1em}
+\begin{center}
+\begin{tikzpicture}[
+ very thick,
+ scale=2.7,
+ grow cyclic,
+ level distance=1cm,
+ level/.style={
+ level distance/.expanded=\ifnum#1>1 \tikzleveldistance/1.5\else\tikzleveldistance\fi,
+ nodes/.expanded={\ifodd#1 fill\else fill=none\fi}
+ },
+ level 1/.style={sibling angle=120},
+ level 2/.style={sibling angle=90},
+ level 3/.style={sibling angle=90},
+ level 4/.style={sibling angle=45},
+ nodes={circle,draw,inner sep=+0pt, minimum size=+5pt},
+ ]
+\path[rotate=30]
+ node {}
+ child foreach \cntI in {1,...,3} {
+ node {}
+ child foreach \cntII in {1,...,2} {
+ node {}
+ child foreach \cntIII in {1,...,2} {
+ node {}
+ child foreach \cntIV in {1,...,2} {
+ node {}
+ child foreach \cntV in {1,...,2} {}
+ }
+ }
+ }
+ };
+\end{tikzpicture}
+\end{center}
+
+\include{tikz-ext-manual-en-library-paths.arcto}
+\include{tikz-ext-manual-en-library-paths.ortho}
+\include{tikz-ext-manual-en-library-paths.timer}
+\include{tikz-ext-manual-en-library-patterns.images}
+\include{tikz-ext-manual-en-library-topaths.arcthrough}
+\include{tikz-ext-manual-en-library-trans}
+
+\part{PGF Libraries}
+\label{part:pgf}
+These libraries (should) work with both PGF and \tikzname.
+
+\include{tikz-ext-manual-en-pgf-trans}
+
+\part{Miscellaneous}
+
+\label{part:misc}
+\vfill
+\begin{codeexample}[width=6cm, preamble=\usetikzlibrary{misc}]
+\begin{tikzpicture}[
+ declare function={bigR(\n)=smallR+.05*\n;},
+ declare constant={smallR=1; segments=20;},
+ full arc=segments]
+\foreach \iN[evaluate={\endRadius=bigR(\iN+1);}, use int=0 to segments-1]
+ \filldraw[fill=gray!50] (\iN R:\endRadius)
+ arc [radius=\endRadius, start angle=\iN R, delta angle=+1R] -- (\iN R+1R:smallR)
+ arc [radius=smallR, end angle=\iN R, delta angle=-1R] -- cycle;
+
+\node {$\phi^2$};
+\node at (north west:{sqrt 2 * bigR(segments/2)}) {$\{\Omega\}_{i=1}^n$};
+\node[rotate=-.5R, right] at (-.5R: bigR segments) {$\partial \varphi$};
+
+\tikzset{yshift=-5cm, declare constant={segments=25;}, full arc=segments}
+\filldraw[fill=gray!50] (right:smallR)
+ \foreach \iN[evaluate={\endRadius=bigR(\iN+1);}, use int=0 to segments-1] {
+ -- (\iN R:\endRadius) arc[radius=\endRadius, start angle=\iN R, delta angle=1R]}
+ -- (right:smallR) arc[radius=smallR, start angle=0, delta angle=-360];
+
+\node {$\phi^2$};
+\node at (north west:{sqrt 2 * bigR(segments/2)}) {$\{\Omega\}_{i=1}^n$};
+\node[rotate=-.5R, right] at (-.5R: bigR segments) {$\partial \varphi$};
+\end{tikzpicture}
+\end{codeexample}
+\vfill
+
+\include{tikz-ext-manual-en-library-misc}
+
+%%% END
+\printindex
+
+%\typeout{Examples: \the\codeexamplecount}%
+\end{document} \ No newline at end of file