diff options
author | Karl Berry <karl@freefriends.org> | 2022-01-04 22:30:53 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-01-04 22:30:53 +0000 |
commit | 2826ceba9c796e6ec935ff71098328b0042b3ff3 (patch) | |
tree | 254ae6dcd883e55308b733164f8e0445590e3ea6 /Master/texmf-dist/doc/latex/tkz-base/TKZdoc-base-example.tex | |
parent | 3886457c768d0a6fd86ca3aa7139026e39ef5724 (diff) |
tkz-base (4jan22)
git-svn-id: svn://tug.org/texlive/trunk@61495 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/tkz-base/TKZdoc-base-example.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/tkz-base/TKZdoc-base-example.tex | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/tkz-base/TKZdoc-base-example.tex b/Master/texmf-dist/doc/latex/tkz-base/TKZdoc-base-example.tex new file mode 100644 index 00000000000..a9faf42a9c0 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tkz-base/TKZdoc-base-example.tex @@ -0,0 +1,26 @@ +\section{Here are a few examples} + +Here is a very simple example that shows you that once the reference is defined, it is easy to work with the tools of my module. It is however possible to use the Tikz tools, but in this case you have to go back to the original coordinate system. + +\subsection{Recipe by month} + +\begin{tkzexample}[vbox,small] +\begin{tikzpicture} + \tkzInit[xmax=12,ymin=1000,ymax=11000,ystep=1000] + \tkzClip[space=2] + \tkzAxeX[label=month,below=10pt] + \tkzAxeY[label=Recipe] + \tkzDefPoint(1,2000){A} + \tkzDefPoint(2,3000){B} + \tkzDefPoint(4,2500){C} + \tkzDefPoint(5,4200){D} + \tkzDrawSegments[color=brown!50](A,B B,C C,D) + \tkzDrawMarks[mark=ball](A,B,C,D) + \tkzText[draw,color = red,fill = red!10,text width=3cm](5,6000)% + {\begin{center}\color{blue}% + Recipe by month\end{center}% + } +\end{tikzpicture} +\end{tkzexample} + +\endinput |