diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex')
-rw-r--r-- | Master/texmf-dist/doc/latex/tikz-ext/README.md | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/tikz-ext/tikz-ext-manual-en-calendar.tex | 22 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/tikz-ext/tikz-ext-manual-en-library-paths.ortho.tex | 60 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/tikz-ext/tikz-ext-manual-en-main-body.tex | 26 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/tikz-ext/tikz-ext-manual.bib | 23 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/tikz-ext/tikz-ext-manual.pdf | bin | 525958 -> 534933 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/tikz-ext/tikz-ext-manual.tex | 12 |
7 files changed, 110 insertions, 35 deletions
diff --git a/Master/texmf-dist/doc/latex/tikz-ext/README.md b/Master/texmf-dist/doc/latex/tikz-ext/README.md index bee9e3512a8..33ec46d366e 100644 --- a/Master/texmf-dist/doc/latex/tikz-ext/README.md +++ b/Master/texmf-dist/doc/latex/tikz-ext/README.md @@ -30,7 +30,7 @@ These are * `ext.shapes.circlecrosssplit` * `ext.shapes.heatmark` * `ext.shapes.rectangleroundedcorners` - * `ext.shapes.superellopse` + * `ext.shapes.superellipse` These were developed in response to questions on tex.stackexchange.com. Some of these can be find by searching for my [user id](https://tex.stackexchange.com/search?q=user%3A16595+%22my+library%22).
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/tikz-ext/tikz-ext-manual-en-calendar.tex b/Master/texmf-dist/doc/latex/tikz-ext/tikz-ext-manual-en-calendar.tex index 4f2300a4584..09bd261a217 100644 --- a/Master/texmf-dist/doc/latex/tikz-ext/tikz-ext-manual-en-calendar.tex +++ b/Master/texmf-dist/doc/latex/tikz-ext/tikz-ext-manual-en-calendar.tex @@ -13,7 +13,7 @@ \begin{package}{calendar-ext} This package adds week numbers and more conditionals to the \pgfname\space package |pgfcalendar|. (Despite the code example above, this package is not set up to work with Con\TeX t.) - \inspiration{WeekNum-Q,CalCond-Q}{WeekNum-A,CalCond-A} + \inspiration{WeekNum-Q,CalCond-Q,CalFullWeek-Q}{WeekNum-A,CalCond-A,CalFullWeek-A} \end{package} %This package extends the |pgfcalendar| package. @@ -43,12 +43,30 @@ The following tests are added. This test passes when all \meta{tests} pass. \itemcalendaroption{not}|=|\marg{tests} This test passes when \meta{tests} do not pass. +\itemcalendaroption{week of month}|=|\meta{num} + This test passes when the date is in \meta{num}th week of the month. + The first week of the month start at day~1 and ends with day~7. +\itemcalendaroption{week of month'}|=|\meta{num} + As above but counts from the last day of the month. + For a month with 31~days, this means the ``1st'' week starts at day~25 and ends with day~31. +\itemcalendaroption{calendar week of month}|=|\meta{num} + This test passes when the date is in \meta{num}th calendar week of the month. + The first week starts at the first day of the month and ends at the next Sunday. +\itemcalendaroption{calendar week of month'}|=|\meta{num} + As above but counts from the last day of the month. +\begin{codeexample}[width=5cm,preamble=\usetikzlibrary{ext.calendar-plus}] +\tikz + \calendar[ + dates=2022-10-01 to 2022-10-31, + week list] + if (week of month=2) [red] + if (calendar week of month'=2) [blue]; +\end{codeexample} \itemcalendaroption{yesterday}|=|\marg{tests} This test passes when the previous day passes \meta{tests}. \itemcalendaroption{week}|=|\meta{num} This test passes when the current week of the year equals \marg{num}. \end{itemize} - The shorthands for |d-| and |m-| are slightly changed so that they are expandable. This makes it possible to use these shorthands inside of \pgfname math. The shorthands for the week (see section~\ref{calendar:weeknumbering}) diff --git a/Master/texmf-dist/doc/latex/tikz-ext/tikz-ext-manual-en-library-paths.ortho.tex b/Master/texmf-dist/doc/latex/tikz-ext/tikz-ext-manual-en-library-paths.ortho.tex index a46f6be0234..ba78f47dcbe 100644 --- a/Master/texmf-dist/doc/latex/tikz-ext/tikz-ext-manual-en-library-paths.ortho.tex +++ b/Master/texmf-dist/doc/latex/tikz-ext/tikz-ext-manual-en-library-paths.ortho.tex @@ -33,7 +33,7 @@ the path operations \verb!|-|! and \verb!-|-!. This operation means ``first horizontal, then vertical and then horizontal again''. \end{pathoperation} } -\begin{key}{/tikz/hvvh/ratio=\meta{ratio} (initially 0.5)} +\begin{key}{/tikz/ortho/ratio=\meta{ratio} (initially 0.5)} This sets the ratio for the middle part of the Zig-Zag connection. For values $\meta{ratio} < 0$ and $\meta{ratio} > 1$ the Zig-Zag lines will @@ -47,7 +47,7 @@ the path operations \verb!|-|! and \verb!-|-!. \end{codeexample} \end{key} %TODO: hvvh/distance needs fixing, maybe? -\begin{key}{/tikz/hvvh/distance=\meta{distance}} +\begin{key}{/tikz/ortho/distance=\meta{distance}} This sets the distance between the start point and the middle part of the Zig-Zag connection. @@ -64,7 +64,7 @@ the path operations \verb!|-|! and \verb!-|-!. \end{tikzpicture} \end{codeexample} \end{key} -\begin{key}{/tikz/hvvh/from center=\opt{\meta{true or false}} (default true)} +\begin{key}{/tikz/ortho/from center=\opt{\meta{true or false}} (default true)} When nodes get connected the placement of the middle part of the Zig-Zag and the Zig-Zig (see below) connections will be calculated from the border of these nodes. @@ -79,7 +79,7 @@ these can be configured through the following keys. foreach \p in {0.0, 0.25, 0.5, 0.75, 1.0}{ node [pos=\p] {\p}}; \end{codeexample} -\begin{key}{/tikz/hvvh/spacing=\meta{number} (initially 4)} +\begin{key}{/tikz/ortho/spacing=\meta{number} (initially 4)} Unless $\meta{number} = 0$ is set \begin{itemize} \item |pos = 0| will be at the start,\indexKeyO{pos} @@ -98,63 +98,59 @@ these can be configured through the following keys. \item |pos = .5| will still be in the middle of the middle part of the connection. \end{itemize} \end{key} -\begin{key}{/tikz/hvvh/middle 0 to 1} +\begin{key}{/tikz/ortho/middle 0 to 1} This is an alias for |spacing = 0|. \end{key} \subsection{Zig-Zig} \begin{pathoperation}{r-ud}{\opt{\oarg{options}}\meta{coordinate or cycle}} This operation means ``first up, then horizontal and then down''. - \begin{key}{/tikz/udlr/ud distance=\meta{length} (initially .5cm)} + \begin{key}{/tikz/ortho/ud distance=\meta{length} (initially .5cm)} This sets the distance between the start and the horizontal line to \meta{length}. \end{key} \end{pathoperation} \begin{pathoperation}{r-du}{\opt{\oarg{options}}\meta{coordinate or cycle}} This operation means ``first down, then horizontal and then up''. - \begin{key}{/tikz/udlr/du distance=\meta{length} (initially .5cm)} + \begin{key}{/tikz/ortho/du distance=\meta{length} (initially .5cm)} This sets the distance between the start and the horizontal line to \meta{length}. \end{key} \end{pathoperation} \begin{pathoperation}{r-lr}{\opt{\oarg{options}}\meta{coordinate or cycle}} This operation means ``left down, then vertical and then right''. - \begin{key}{/tikz/udlr/lr distance=\meta{length} (initially .5cm)} + \begin{key}{/tikz/ortho/lr distance=\meta{length} (initially .5cm)} This sets the distance between the start and the vertical line to \meta{length}. \end{key} \end{pathoperation} \begin{pathoperation}{r-rl}{\opt{\oarg{options}}\meta{coordinate or cycle}} This operation means ``first right, then vertical and then down''. - \begin{key}{/tikz/udlr/rl distance=\meta{length} (initially .5cm)} + \begin{key}{/tikz/ortho/rl distance=\meta{length} (initially .5cm)} This sets the distance between the start and the vertical line to \meta{length}. \end{key} \end{pathoperation} All distances can be set with on key. -\begin{key}{/tikz/udlr/distance=\meta{length}} - Sets all distances in the |/tikz/udlr| namespace. -\end{key} - -\begin{key}{/tikz/udlr/from center=\opt{\meta{true or false}} (initially false, default true)} - This is an alias for |/tikz/hvvh/from center|. +\begin{key}{/tikz/ortho/udlr distance=\meta{length}} + Sets all the previous distances to the same value \meta{length}. \end{key} \subsection{Even more Horizontal and Vertical Lines} The following keys can be used to access vertical and horizontal line path operations. \begin{stylekey}{/tikz/horizontal vertical} - This installs \verb!to path = -| (\tikztotarget) \tikztonodes! that can be used with\indexKeyO{to path} - the path operations |to| or |edge|. + This installs \verb!to path = -| (\tikztotarget) \tikztonodes!\indexKeyO{to path} + that can be used with the path operations |to| or |edge|. \end{stylekey} \begin{stylekey}{/tikz/vertical horizontal} - This installs \verb!to path = |- (\tikztotarget) \tikztonodes! that can be used with - the path operations |to| or |edge|. + This installs \verb!to path = |- (\tikztotarget) \tikztonodes! + that can be used with the path operations |to| or |edge|. \end{stylekey} \begin{stylekey}{/tikz/horizontal vertical horizontal} - This installs \verb!to path = -|- (\tikztotarget) \tikztonodes! that can be used with - the path operations |to| or |edge|. + This installs \verb!to path = -|- (\tikztotarget) \tikztonodes! + that can be used with the path operations |to| or |edge|. \end{stylekey} \begin{stylekey}{/tikz/vertical horizontal vertical} - This installs \verb!to path = |-| (\tikztotarget) \tikztonodes! that can be used with - the path operations |to| or |edge|. + This installs \verb!to path = |-| (\tikztotarget) \tikztonodes! + that can be used with the path operations |to| or |edge|. \end{stylekey} When connecting rectangular nodes, these keys could be useful as well. @@ -183,3 +179,21 @@ it connects to the start point in the center (or at its border in case it is a n The optional \meta{length} can be used to shift the line orthogonally to its direction. \end{stylekey} + +\pagebreak +Since all previous key are rather cumbersome, one can install shortcuts for these. +\begin{stylekey}{/tikz/ortho/install shortcuts} +Installs the following shortcuts:\\ +{\ttfamily +\begin{tabular}{l@{\hspace{.5em}${}\to{}$\hspace{.5em}}l} + \pgfmanualbar- & vertical horizontal \\ + -\pgfmanualbar & horizontal vertical \\ + -\pgfmanualbar- & horizontal vertical horizontal \\ + \pgfmanualbar-\pgfmanualbar & vertical horizontal vertical \\ + \pgfmanualbar* & only vertical first \\ + *\pgfmanualbar & only vertical second \\ + \pgfmanualbar* & only vertical first \\ + *\pgfmanualbar & only vertical second +\end{tabular} +} +\end{stylekey} diff --git a/Master/texmf-dist/doc/latex/tikz-ext/tikz-ext-manual-en-main-body.tex b/Master/texmf-dist/doc/latex/tikz-ext/tikz-ext-manual-en-main-body.tex index 1185cdb6d71..fd071e009ea 100644 --- a/Master/texmf-dist/doc/latex/tikz-ext/tikz-ext-manual-en-main-body.tex +++ b/Master/texmf-dist/doc/latex/tikz-ext/tikz-ext-manual-en-main-body.tex @@ -8,7 +8,7 @@ % 2. under the GNU Free Documentation License. % \newcommand*\tikzextname{Ti\textit kZ-Extensions} -\newcommand*\tikzextversion{0.3} +\newcommand*\tikzextversion{0.4} \begin{document} {\colorlet{blue}{black}% links shall be black \title{\bfseries The \tikzextname\space Package\\ @@ -167,6 +167,19 @@ These libraries (should) work with both \pgfname\space and \tikzname. \section*{Changelog}\addcontentsline{toc}{section}{Changelog} \begin{multicols}{2}\raggedright \noindent +Version 0.4 +\begin{itemize} +\item CTAN version of 0.3.1 +\end{itemize} +Version 0.3.1 +\begin{itemize} +\item Fixed |ext.paths.ortho| keys |only vertical first| and |only horizontal first|. +\item Moved all (except the |to path|s) to namespace |/tikz/ortho|. + |/tikz/hvvh| and |/tikz/udlr| are considered deprecated. +\item Fixed |\pgfcalendarjulianyeartoweek|. +\item Added more calendar tests. +\item Added directory structure. +\end{itemize} Version 0.3 \begin{itemize} \item \addShape[circle arrow]{circlearrow} @@ -199,6 +212,17 @@ Version 0.1 \end{multicols} \printindex +\makeatletter +\def\url#1{% + \in@{/16595}{#1}% + \ifin@ + \hyper@linkurl{\expandafter\Hurl\expandafter{\strip@url#1\relax}}{#1}% + \else + \hyper@linkurl{\Hurl{#1}}{#1}% + \fi +} +\def\strip@url#1/16595\relax{#1} +\makeatother \printbibliography[heading=bibintoc] %\typeout{Examples: \the\codeexamplecount}% \end{document}
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/tikz-ext/tikz-ext-manual.bib b/Master/texmf-dist/doc/latex/tikz-ext/tikz-ext-manual.bib index 7bb85bf7b24..5a13e91d41b 100644 --- a/Master/texmf-dist/doc/latex/tikz-ext/tikz-ext-manual.bib +++ b/Master/texmf-dist/doc/latex/tikz-ext/tikz-ext-manual.bib @@ -296,4 +296,27 @@ year = {2013}, } +' +@Online{CalFullWeek-Q, + author = {jd6}, + file = {Snapshot:https\://tex.stackexchange.com/questions/576673/full-weeks-in-tikz-calendar/660335#660335:text/html}, + month = dec, + title = {Full weeks in Tikz Calendar}, + titleaddon = {{TeX} - {LaTeX} Stack Exchange}, + url = {https://tex.stackexchange.com/q/576673/16595}, + urldate = {2022-10-09}, + year = {2020}, +} + +@Online{CalFullWeek-A, + author = {Qrrbrbirlbel}, + file = {Snapshot:https\://tex.stackexchange.com/questions/576673/full-weeks-in-tikz-calendar/660335#660335:text/html}, + month = oct, + title = {Answer to \enquote{Full weeks in Tikz Calendar}}, + titleaddon = {{TeX} - {LaTeX} Stack Exchange}, + url = {https://tex.stackexchange.com/a/660335/16595}, + urldate = {2022-10-09}, + year = {2022}, +} + @Comment{jabref-meta: databaseType:bibtex;} diff --git a/Master/texmf-dist/doc/latex/tikz-ext/tikz-ext-manual.pdf b/Master/texmf-dist/doc/latex/tikz-ext/tikz-ext-manual.pdf Binary files differindex afeef21a22c..f4a31a8c6ad 100644 --- a/Master/texmf-dist/doc/latex/tikz-ext/tikz-ext-manual.pdf +++ b/Master/texmf-dist/doc/latex/tikz-ext/tikz-ext-manual.pdf diff --git a/Master/texmf-dist/doc/latex/tikz-ext/tikz-ext-manual.tex b/Master/texmf-dist/doc/latex/tikz-ext/tikz-ext-manual.tex index 1f2400847a8..253944ca7db 100644 --- a/Master/texmf-dist/doc/latex/tikz-ext/tikz-ext-manual.tex +++ b/Master/texmf-dist/doc/latex/tikz-ext/tikz-ext-manual.tex @@ -11,12 +11,8 @@ % \documentclass[a4paper,doc2,landscape]{ltxdoc} - \input{tikz-ext-manual-en-main-preamble.tex} \usetikzlibrary{external} -%\newif\iftikzextmanualexternalize -%\tikzextmanualexternalizetrue -%\iftikzextmanualexternalize \tikzexternalize[ prefix=tikz/, % mode=convert with system call, @@ -24,9 +20,9 @@ %mode=list only,export=true,% simply skips EVERY picture -> good for debugging the text. ] \tikzexternalenable - \tikzifexternalizing{% - \pgfkeys{/pdflinks/codeexample links=false}% - }{}% -%\fi +% \tikzexternaldisable + \tikzifexternalizing{ + \pgfkeys{/pdflinks/codeexample links=false} + }{} \input{tikz-ext-manual-en-main-body.tex} |