From f743052d85acf7d676d00e1903db1806032ac9f6 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 26 Jan 2014 22:14:21 +0000 Subject: hobby git-svn-id: svn://tug.org/texlive/trunk@32795 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/hobby/README | 14 ++++++++++++++ Master/texmf-dist/doc/latex/hobby/README.txt | 14 -------------- Master/texmf-dist/doc/latex/hobby/hobby.pdf | Bin 0 -> 366952 bytes Master/texmf-dist/doc/latex/hobby/hobby_doc.pdf | Bin 510319 -> 488046 bytes Master/texmf-dist/doc/latex/hobby/hobby_doc.tex | 7 ++++--- 5 files changed, 18 insertions(+), 17 deletions(-) create mode 100644 Master/texmf-dist/doc/latex/hobby/README delete mode 100644 Master/texmf-dist/doc/latex/hobby/README.txt create mode 100644 Master/texmf-dist/doc/latex/hobby/hobby.pdf (limited to 'Master/texmf-dist/doc/latex/hobby') diff --git a/Master/texmf-dist/doc/latex/hobby/README b/Master/texmf-dist/doc/latex/hobby/README new file mode 100644 index 00000000000..d48c4b90e17 --- /dev/null +++ b/Master/texmf-dist/doc/latex/hobby/README @@ -0,0 +1,14 @@ +---------------------------------------------------------------- +hobby --- a TikZ/PGF library for drawing smooth(ish) curves using + Hobby's algorithm (implemented in LaTeX3) +E-mail: stacey@math.ntnu.no +Released under the LaTeX Project Public License v1.3c or later +See http://www.latex-project.org/lppl.txt +---------------------------------------------------------------- + +This package defines a path generation function for TikZ/PGF +which implements Hobby's algorithm for a path built out of Bezier +curves which passes through a given set of points. + +The implementation is in LaTeX3. It can be used as as a TikZ +`to path`. diff --git a/Master/texmf-dist/doc/latex/hobby/README.txt b/Master/texmf-dist/doc/latex/hobby/README.txt deleted file mode 100644 index d48c4b90e17..00000000000 --- a/Master/texmf-dist/doc/latex/hobby/README.txt +++ /dev/null @@ -1,14 +0,0 @@ ----------------------------------------------------------------- -hobby --- a TikZ/PGF library for drawing smooth(ish) curves using - Hobby's algorithm (implemented in LaTeX3) -E-mail: stacey@math.ntnu.no -Released under the LaTeX Project Public License v1.3c or later -See http://www.latex-project.org/lppl.txt ----------------------------------------------------------------- - -This package defines a path generation function for TikZ/PGF -which implements Hobby's algorithm for a path built out of Bezier -curves which passes through a given set of points. - -The implementation is in LaTeX3. It can be used as as a TikZ -`to path`. diff --git a/Master/texmf-dist/doc/latex/hobby/hobby.pdf b/Master/texmf-dist/doc/latex/hobby/hobby.pdf new file mode 100644 index 00000000000..4f581c840cf Binary files /dev/null and b/Master/texmf-dist/doc/latex/hobby/hobby.pdf differ diff --git a/Master/texmf-dist/doc/latex/hobby/hobby_doc.pdf b/Master/texmf-dist/doc/latex/hobby/hobby_doc.pdf index 8a21dc7f065..c3b008ed70e 100644 Binary files a/Master/texmf-dist/doc/latex/hobby/hobby_doc.pdf and b/Master/texmf-dist/doc/latex/hobby/hobby_doc.pdf differ diff --git a/Master/texmf-dist/doc/latex/hobby/hobby_doc.tex b/Master/texmf-dist/doc/latex/hobby/hobby_doc.tex index fa5fa58087c..a00a4d525a0 100644 --- a/Master/texmf-dist/doc/latex/hobby/hobby_doc.tex +++ b/Master/texmf-dist/doc/latex/hobby/hobby_doc.tex @@ -9,6 +9,7 @@ \usepackage{fancyvrb} \usetikzlibrary{hobby,decorations.pathreplacing} \usepackage{listings} +\pgfplotsset{compat=1.9} \lstloadlanguages{[LaTeX]TeX} \lstset{breakatwhitespace=true,breaklines=true,language=TeX} @@ -58,7 +59,7 @@ \providecommand*{\url}{\texttt} \title{The \textsf{Hobby} package} \author{Andrew Stacey \\ \url{stacey@math.ntnu.no}} -\date{v1.2 from 2013/04/12} +\date{\hobbyVersion\ from\ \hobbyDate} \begin{document} \maketitle @@ -82,7 +83,7 @@ The resulting path produced with this ``quick'' version is not as ideal as that As this is intended as a simpler method, it does not (at present) admit the same level of customisation as the full implementation. The ``quick'' algorithm is described in full in Section~\ref{sec:quick}. -The full algorithm is implemented in \LaTeX3 with (almost\footnote{At the moment, \LaTeX3 lacks a \Verb+atan2+ function so \Verb+PGFMath+ is used to remedy that.}) no reference to TikZ or PGF. +The full algorithm is implemented in \LaTeX3 with no reference to TikZ or PGF. It makes extensive use of the \Verb+fp+ and \Verb+prop+ libraries for the computation steps. The TikZ library is simply a wrapper that takes the user's input, converts it into the right format for the \LaTeX3 code, and then calls that code to generate the path. The ``quick'' version does not use \LaTeX3 and relies instead on the \Verb+PGFMath+ library for the computation. @@ -420,7 +421,7 @@ This restores the named path and uses it with \Verb++ applied. This puts in place the code for saving the generated data to the \Verb+aux+ file. On subsequent runs, it uses the saved data rather than the current data. For a curve to make use of this, it has to be named via the \Verb+save Hobby path+ key. -So to regenerate the data, either delete the \Verb+aux+ file or remove the \Verb+save Hobby path+ key for one compilation run. +So to regenerate the data, either delete the \Verb+aux+ file, remove the \Verb+save Hobby path+ key for one compilation run, or issue the command \Verb+\HobbyDisableAux+ which disables writing paths to the \Verb+aux+ file (note that the paths will be regenerated on the run \emph{after} the first run with this command issued). \end{itemize} The options that can be applied are those that affect the rendering of the curve but not its generation. -- cgit v1.2.3