You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The style word ⟨m⟩ letter ⟨n⟩ (e.g. word 1 letter 1) is never actually used (and thus has no effect) although it is documented on page 659 of the 3.1.10 manual. Additionally the style documented as letter ⟨n⟩ is actually called every ⟨n⟩ letter. For my own use case, I could use the character ⟨n⟩ style. So, I have no strong opinion on whether to change the code to reflect the docs or vice versa.
\tikz@lib@dec@te@addoptions{every final letter/.try}%
\fi%
\fi%
\fi%
\fi%
It seems simple enough to change it, if wanted.
Minimal working example (MWE)
\documentclass{minimal}
\usepackage{tikz}
\usetikzlibrary {decorations.text}
\begin{document}
\begin{tikzpicture}[decoration={text effects along path,
text={11 2023},
text effects/.cd,
path from text,
word 2 letter 4/.style={documented but not called},
letter 1/.style={documented but not called, instead we have},
every 1 letter/.style={color=blue},
characters={text along path}}]
\path [decorate] (0,0);
\end{tikzpicture}
\end{document}
The text was updated successfully, but these errors were encountered:
Brief outline of the bug
The style
word ⟨m⟩ letter ⟨n⟩
(e.g.word 1 letter 1
) is never actually used (and thus has no effect) although it is documented on page 659 of the 3.1.10 manual. Additionally the style documented asletter ⟨n⟩
is actually calledevery ⟨n⟩ letter
. For my own use case, I could use thecharacter ⟨n⟩
style. So, I have no strong opinion on whether to change the code to reflect the docs or vice versa.The piece of code calling all the styles is
pgf/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibrarydecorations.text.code.tex
Lines 430 to 451 in a637089
It seems simple enough to change it, if wanted.
Minimal working example (MWE)
The text was updated successfully, but these errors were encountered: