New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[doc] Replace \diameter representing radius with \r #905
Conversation
to
with >
, 2) \diameter representing radius with \r
to
with >
, 2) \diameter representing radius with \rto
with >
, b) \diameter representing radius with \r
What you found is already handled in the second commit of current pr, b983e77. |
To 1. |
Ah yes. I should have found this by myself. I've opened #906 to discuss this issue. After #906 get resolved, the first two commits of current pr are then avoidable. |
@Mo-Gul @muzimuzhi I noticed that |
@AndreC75, |
the arrows
|
They are the same by default, but are different if
And
Also see this example.\documentclass{article}
\usepackage{graphicx}
\usepackage{tikz}
\begin{document}
\tikzset{nodes={font=\ttfamily\tiny}}
Default\par
% Default arrow tips like `to` does not respect arrow options like `scale`, hence I have to use `\scalebox` to enlarge it.
\scalebox{3}{\begin{tikzpicture}
\foreach \i[count=\xi] in {>, to, To} {
\draw[-\i, yshift=\xi*-.3cm] (0, 0) -- (1, 0) node[right] {\i};
}
\end{tikzpicture}}
\usetikzlibrary{arrows.meta}
With \texttt{arrows.meta} loaded\par
\scalebox{3}{\begin{tikzpicture}
\foreach \i[count=\xi] in {>, to, Classical TikZ Rightarrow, To, Computer Modern Rightarrow} {
\draw[-\i, yshift=\xi*-.3cm] (0, 0) -- (1, 0) node[right] {\i};
}
\end{tikzpicture}}
\end{document}
I agree. Though using |
@muzimuzhi The tutorials are also an opportunity to discover new features. I prefer to put |
ef7335d
to
1802b9b
Compare
Changes in force pushed commits:
|
@hmenke Has added a 0e9f8a6 to replace I'm OK with either
Hence there is a gap, not sure if that would confuse new users. |
@muzimuzhi @hmenke In my opinion, since in the original there is a predefined arrow |
Please resolve the merge conflicts. |
@hmenke What's your (current) opinion about arrow tip staff? |
I've already replaced |
- In drawing code `... circle (\diameter)`, \diameter actually specifies the radius of circle. Hence I replaced it with \r. - Reported by https://tex.stackexchange.com/q/557016/.
6f04119
to
eb2ab92
Compare
OK. e671fd1, which changed arrow tips, is reverted and the whole branch is rebased. |
to
with >
, b) \diameter representing radius with \r
Replace
-to
with-To
in Section 3. Tutorial: A Petri-Net for HagenArrow tipto
is from deprecated libraryarrows
, which is notdocumented in latest pgfmanual anymore. Use undocumented setting
in tutorial sections will confuse careful new users, see Archive old manuals? #903.
Hence I replace
-to
with->
.Replace
\diameter
used in... circle (\diameter)
with\r
.Note: Although
... circle (<radius>)
is an old syntax (mentionedin the last two paragraphs of pgfmanual 3.1.5b, sec. 14.6), I didn't
replace it with
... circle[radius=<radius>]
.A simple
grep
shows there are ~200 usages of... circle (<radius>)
throughout the pgfmanual, and since this syntax is more convenient,
I don't have a strong opinion to replace all of them.