summaryrefslogtreecommitdiff
path: root/graphics/pgf/contrib/tzplot/tzplot-doc.tex
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/pgf/contrib/tzplot/tzplot-doc.tex')
-rw-r--r--graphics/pgf/contrib/tzplot/tzplot-doc.tex159
1 files changed, 98 insertions, 61 deletions
diff --git a/graphics/pgf/contrib/tzplot/tzplot-doc.tex b/graphics/pgf/contrib/tzplot/tzplot-doc.tex
index 1a5fbb62dc..b9bbb136ac 100644
--- a/graphics/pgf/contrib/tzplot/tzplot-doc.tex
+++ b/graphics/pgf/contrib/tzplot/tzplot-doc.tex
@@ -5,9 +5,9 @@
% arara: xelatex: {shell: yes, synctex: yes}
% arara: xelatex: {shell: yes, synctex: yes}
-%% 2022/02/28 v2.0
-\def\tmpdate{2022/02/28}
-\def\tmpversion{2.0}
+%% 2022/09/28 v2.1
+\def\tmpdate{\today}
+\def\tmpversion{2.1}
\def\printtodos{}
\def\printtmptest{}
@@ -27,7 +27,7 @@ tzplot-doc-C1-v\tmpversion, % connecting points -- Part III
tzplot-doc-C2-v\tmpversion, % polygons and angles -- Part III
tzplot-doc-D-v\tmpversion, % plotting graphs -- Part IV
tzplot-doc-E-v\tmpversion, % misc : final chapter : (-- Part V: not yet)
-%%%tzplot-eco-v\tmpversion, % economics
+%tzplot-eco-v\tmpversion, % economics
}}
%------------------------------------------------------
@@ -51,6 +51,11 @@ tzplot-doc-E-v\tmpversion, % misc : final chapter : (-- Part V: not yet)
%\settocdepth{subsubsection}
%\setlength\cftsubsubsectionindent{4.5em}
+%% us date
+\usepackage{datetime}
+\usdate \let\mytoday\today
+\AtBeginDocument{\let\today\mytoday}
+
\hypersetup{pdfborder={0 0 0}} % to suppress the hyperlink red box
%%====================================== (ndh)
@@ -100,11 +105,11 @@ tzplot-doc-E-v\tmpversion, % misc : final chapter : (-- Part V: not yet)
\usepackage[normalem]{ulem} % [normalem] to correct the pdf bookmark broken characters
\usepackage{idxlayout}
-\usepackage{tabu,tabu-fix}
+%\usepackage{tabu,tabu-fix}
\usepackage{tcolorbox}
-\tcbuselibrary{minted,listings,breakable}
+\tcbuselibrary{minted,xparse,listings,breakable}
\tcbset{%
listing engine=minted,breakable,
after={\par\vspace{.5\baselineskip}\noindent}
@@ -117,21 +122,31 @@ tzplot-doc-E-v\tmpversion, % misc : final chapter : (-- Part V: not yet)
center upper,
center lower,
sidebyside gap=5pt,
- listing options={%
- style=tcblatex,
- keywordstyle=\color{blue},
- commentstyle=\color{black!20!green},
- morekeyword={
- tzline,tzlines,tzdot,tzdots,
- tznode,tznodes
- },
- }
+ minted style=igor, %tango, **igor, xcode, ***manni, *autumn, colorful,
+% listing options={%
+% style=tcblatex,
+% keywordstyle=\color{blue},
+% commentstyle=\color{black!20!green},
+% morekeywords={
+% tzline,tzlines,tzdot,tzdots,
+% tznode,tznodes
+% },
+% }, % end of listing options
}
-\newtcblisting{tzdef}[1]{colback=blue!5!white,listing only,#1}
-\newtcblisting{tzsty}[1]{colback=green!5!white,listing only,#1}
-\newtcblisting{tztikz}[1]{colback=white,colframe=gray!15,listing only,#1}
-\newtcblisting{tzcode}[2][]{righthand width=\expandafter#2\linewidth,#1}
+%\newtcblisting{tzdef}[1]{colback=blue!5!white,listing only,#1}
+%\newtcblisting{tzsty}[1]{colback=green!5!white,listing only,#1}
+%\newtcblisting{tztikz}[1]{colback=white,colframe=gray!15,listing only,#1}
+%\newtcblisting{tzcode}[2][]{righthand width=\expandafter#2\linewidth,#1}
+
+\DeclareTCBListing{tzdef}{ !O{} }
+ {colback=blue!5!white,listing only,#1}
+\DeclareTCBListing{tzsty}{ !O{} }
+ {colback=green!5!white,listing only,#1}
+\DeclareTCBListing{tztikz}{ !O{} }
+ {colback=white,colframe=gray!15,listing only,#1}
+\DeclareTCBListing{tzcode}{ !G{1} !O{} }
+ {righthand width=\expandafter#1\linewidth,#2}
\NewDocumentEnvironment{mytcblisting}{O{}}
{ \medskip
@@ -282,6 +297,8 @@ tzplot-doc-E-v\tmpversion, % misc : final chapter : (-- Part V: not yet)
\firmlists
+\renewcommand\cleardoublepage{\clearpage}
+
%=============================================================
\begin{document}
@@ -336,44 +353,64 @@ projection, ticks, intersections, tangent lines
\addcontentsline{toc}{chapter}{Version history}
\begin{itemize}
-%%%\item v\tmpversion (\tmpdate)
-%%% \begin{itemize}
-%%% \item
-%%% \item
-%%% \item
-%%% \end{itemize}
-\item v2.0 (2022/02/28)
+%\item v\tmpversion (\tmpdate)
+% \begin{itemize}
+% \item Uploaded to CTAN
+% \item document done
+% \end{itemize}
+\item v\tmpversion (2022/09/28)
\begin{itemize}
\item Uploaded to CTAN
\item document done
\end{itemize}
-\item v1.98 (2022/02/27)
+\item v2.1 (2022/09/24)
\begin{itemize}
- \item added |\tzpointangle|
- \item added |\tzfnarealine(')|, |\settzfnarealinestyle|
+% \item corrected typos in the document
+ \item fixed bugs: |\tzplot|, |\tzplotcurve|, |\tzslope|
+ \item redesigned |\tzaxes| to have one path with ``liftpen" for naming paths
+ \item redesigned |\tzaxesL| to have one path with ``liftpen" for naming paths
+ \item redisigned |\tzslopeat| and |\tzslope|
+ \item added the swap versions |\tzslopeat'| and |\tzslope'|
+ \item added |\tznormal(*)(')|, |\tznormalat(*)(')|, |\settznormalepsilon| and |\settznormallayer|
\end{itemize}
-\item v1.97 (2022/02/26)
+\item v2.1 (2022/04/15)
\begin{itemize}
- \item corrected |\tzpdfN|: bug fix
- \item redesigned |\tzfnarea| (renamed from |\tzfnArea|)
- \item added |\settzfnarearlayer|
+ \item modified |\tzaxisx| and |\tzaxisy| to add the option |"<path name>"|
+ \item added |\tzdistance| to calculate the distance between two coordinates
+ % (2022/04/23)
\end{itemize}
-\item v1.96 (2022/02/25)
- \begin{itemize}
- \item modified |\tzanglemark|, |\tzrightanglemark|
- \item added |\settzAAlinestyle| and |\settzRAlinestyle|
- \item added |\settzAAradius|, |\settzRAsize|
- \item predefined coordinates |(tzAAmid)|, |(tzRAvertext)|
- \item corrected |\tzdefLFn|, |\tzdefLFnofy|, |\tzLfn|, |\tzLFnofy|
- \item added |error message|: infinite slope error (for |LFn...| things)
- \end{itemize}
-\item v1.95 (2022/02/24)
+\item v2.0 (2022/02/28)
\begin{itemize}
- \item documented
- \item redefined |\tzedge(+)| and |\tzedges(+)| to make them consistent with \Tikz\ way
- \item added aliases: |\tzbox|, |\tzboxring|, |\tzcirclering|
- \item renamed |\tzangleONE|, |\tzangleTWO|, |\tzanglresult|
+ \item Uploaded to CTAN
+% \item document done
\end{itemize}
+%%%\item v1.98 (2022/02/27)
+%%% \begin{itemize}
+%%% \item added |\tzpointangle|
+%%% \item added |\tzfnarealine(')|, |\settzfnarealinestyle|
+%%% \end{itemize}
+%%%\item v1.97 (2022/02/26)
+%%% \begin{itemize}
+%%% \item corrected |\tzpdfN|: bug fix
+%%% \item redesigned |\tzfnarea| (renamed from |\tzfnArea|)
+%%% \item added |\settzfnarearlayer|
+%%% \end{itemize}
+%%%\item v1.96 (2022/02/25)
+%%% \begin{itemize}
+%%% \item modified |\tzanglemark|, |\tzrightanglemark|
+%%% \item added |\settzAAlinestyle| and |\settzRAlinestyle|
+%%% \item added |\settzAAradius|, |\settzRAsize|
+%%% \item predefined coordinates |(tzAAmid)|, |(tzRAvertex)|
+%%% \item corrected |\tzdefLFn|, |\tzdefLFnofy|, |\tzLfn|, |\tzLFnofy|
+%%% \item added |error message|: infinite slope error (for |LFn...| things)
+%%% \end{itemize}
+%%%\item v1.95 (2022/02/24)
+%%% \begin{itemize}
+%%% \item documented
+%%% \item redefined |\tzedge(+)| and |\tzedges(+)| to make them consistent with \Tikz\ way
+%%% \item added aliases: |\tzbox|, |\tzboxring|, |\tzcirclering|
+%%% \item renamed |\tzangleONE|, |\tzangleTWO|, |\tzanglresult|
+%%% \end{itemize}
%%%\item v1.94 (2022/02/22)
%%% \begin{itemize}
%%% \item added |\tzprojs(*)|, |\tzprojsx(*)|, |\tzprojsy(*)| (semicolon versions)
@@ -505,20 +542,20 @@ projection, ticks, intersections, tangent lines
\item added aliases: |\let\tzrectangle\tzframe| and |\let\tzoval\tzellipse|
\end{itemize}
\item v1.0 (2021/02/28) uploaded to CTAN
-\item v0.999a (2021/02/27)
- \begin{itemize}
- \item writing document
- \item some |\tz<...>AtBegin| and |\tz<...>AtEnd| not documented
- \end{itemize}
-\item v0.999 (2021/02/24)
- \begin{itemize}
- \item fixed the title. ``Plot Graphs with \Tikz\ Abbreviations"
- \item changed the default |\tzpathstyle| and |\tzlinkstyle| from `|--|' to `|to|' (no harm)
- \item added |\tzpathlayer| and |\settzpathlayer|, for later use. (currently not used)
- \item removed explanation of the option |<+or++>| in the document (considering to remove later)
- \item changed the delimiter |<path style>| to |[<path style>]| in |\tzpath| and |\tzlink(s)| (critical change)
- \item added |text opacity=1| everywhere |fill opacity=.3| is used
- \end{itemize}
+%%%\item v0.999a (2021/02/27)
+%%% \begin{itemize}
+%%% \item writing document
+%%% \item some |\tz<...>AtBegin| and |\tz<...>AtEnd| not documented
+%%% \end{itemize}
+%%%\item v0.999 (2021/02/24)
+%%% \begin{itemize}
+%%% \item fixed the title. ``Plot Graphs with \Tikz\ Abbreviations"
+%%% \item changed the default |\tzpathstyle| and |\tzlinkstyle| from `|--|' to `|to|' (no harm)
+%%% \item added |\tzpathlayer| and |\settzpathlayer|, for later use. (currently not used)
+%%% \item removed explanation of the option |<+or++>| in the document (considering to remove later)
+%%% \item changed the delimiter |<path style>| to |[<path style>]| in |\tzpath| and |\tzlink(s)| (critical change)
+%%% \item added |text opacity=1| everywhere |fill opacity=.3| is used
+%%% \end{itemize}
%%%\item v0.99j (2021/02/18)
%%% \begin{itemize}
%%% \item added |\tzplotcurve*| to show dots