summaryrefslogtreecommitdiff
path: root/graphics/pgf/base/doc/text-en/pgfmanual-en-library-decorations.tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2020-09-29 03:02:54 +0000
committerNorbert Preining <norbert@preining.info>2020-09-29 03:02:54 +0000
commitd043a18e288914d3c46a1b10af1f30ce2df00588 (patch)
tree888d8c0677d7b328602f1ec5c09d324a325043ec /graphics/pgf/base/doc/text-en/pgfmanual-en-library-decorations.tex
parent34310603e5253ef5742542e3f0123b341a70ee20 (diff)
CTAN sync 202009290302
Diffstat (limited to 'graphics/pgf/base/doc/text-en/pgfmanual-en-library-decorations.tex')
-rw-r--r--graphics/pgf/base/doc/text-en/pgfmanual-en-library-decorations.tex28
1 files changed, 25 insertions, 3 deletions
diff --git a/graphics/pgf/base/doc/text-en/pgfmanual-en-library-decorations.tex b/graphics/pgf/base/doc/text-en/pgfmanual-en-library-decorations.tex
index 9c971d5c91..df6960e672 100644
--- a/graphics/pgf/base/doc/text-en/pgfmanual-en-library-decorations.tex
+++ b/graphics/pgf/base/doc/text-en/pgfmanual-en-library-decorations.tex
@@ -1,4 +1,4 @@
-% Copyright 2013 by Mark Wibrow and Till Tantau
+% Copyright 2019 by Mark Wibrow and Till Tantau
%
% This file may be distributed and/or modified
%
@@ -106,6 +106,28 @@ registers while others are stored in macros.
\end{key}
+\subsection{Handling ``Dimension too large'' errors}
+
+In case you should run into a ``Dimension too large error'' when using the
+|decorations| libraries, there is a pretty high chance that you can resolve
+this by using the |fpu| library in combination with
+|/pgf/fpu/install only={reciprocal}|. Please note that this key should only be
+applied locally to avoid other errors (see also at the definition of this key
+on page~\pageref{fpu-install-only}).
+%
+\begin{codeexample}[preamble={\usetikzlibrary{decorations.markings,fpu}}]
+\begin{tikzpicture}
+ \begin{scope}[/pgf/fpu/install only={reciprocal}]
+ \draw[postaction=decorate,decoration={
+ markings,mark=at position 0.52 with {
+ \draw circle[radius=2pt];
+ }},
+ ] plot[smooth,variable=\x,domain=-1:1] (\x*\x*\x,\x*\x);
+ \end{scope}
+\end{tikzpicture}
+\end{codeexample}
+
+
\subsection{Path Morphing Decorations}
\begin{pgflibrary}{decorations.pathmorphing}
@@ -1588,7 +1610,7 @@ shapes. This library is included mostly for historical reasons, using the
\begin{key}{/pgf/decoration/text=\marg{text}}
Set the text this decoration will use. Braces can be used to group
multiple characters together, or commands that should not be expanded
- until they are typset, for example |gr{\"o}{\ss}eren|. You should
+ until they are typeset, for example |gr{\"o}{\ss}eren|. You should
\emph{not} use the formatting delimiters or math mode characters that
the |text along path| decoration supports.
\end{key}
@@ -2026,7 +2048,7 @@ shapes. This library is included mostly for historical reasons, using the
restarted each time the text is repeated. Secondly, the options for
alignment, scaling or fitting the text to the path, fitting the path to
the text, and so on, are computed using the decoration text before the
- decoration starts. If any of these options are given the behaviour of
+ decoration starts. If any of these options are given the behavior of
the |repeat text| key is undefined, but typically it will be ignored.
%
\begin{codeexample}[preamble={\usetikzlibrary{decorations.text}}]