Different Arrowheads bend differently (Tikz)
up vote
7
down vote
favorite
I have stumbled upon some weird behaviour regarding arcs and arrowheads.
Here is a MWE:
documentclass[tikz]{standalone}
usepackage{tikz}
usepackage{graphicx}
usetikzlibrary{arrows.meta}
defRad{2cm}
begin{document}
begin{tikzpicture}
draw[blue, thick] (0:Rad) arc (0:360:Rad);
draw[orange,->] (90:Rad) arc (90:90-170:Rad);
draw[orange,-{Triangle[length=1mm, width=1mm]}] (90:Rad) arc (90:90+170:Rad);
end{tikzpicture}
end{document}
If you look closely at the outcome, one can notice that the orange arcs bend differently:
I would rather use the triangular arrowheads, but it is the one that bends differently than the actual circle, so I can not use it as it seems to be inaccurate.
I appreciate your help.
tikz-pgf arrows arc
add a comment |
up vote
7
down vote
favorite
I have stumbled upon some weird behaviour regarding arcs and arrowheads.
Here is a MWE:
documentclass[tikz]{standalone}
usepackage{tikz}
usepackage{graphicx}
usetikzlibrary{arrows.meta}
defRad{2cm}
begin{document}
begin{tikzpicture}
draw[blue, thick] (0:Rad) arc (0:360:Rad);
draw[orange,->] (90:Rad) arc (90:90-170:Rad);
draw[orange,-{Triangle[length=1mm, width=1mm]}] (90:Rad) arc (90:90+170:Rad);
end{tikzpicture}
end{document}
If you look closely at the outcome, one can notice that the orange arcs bend differently:
I would rather use the triangular arrowheads, but it is the one that bends differently than the actual circle, so I can not use it as it seems to be inaccurate.
I appreciate your help.
tikz-pgf arrows arc
add a comment |
up vote
7
down vote
favorite
up vote
7
down vote
favorite
I have stumbled upon some weird behaviour regarding arcs and arrowheads.
Here is a MWE:
documentclass[tikz]{standalone}
usepackage{tikz}
usepackage{graphicx}
usetikzlibrary{arrows.meta}
defRad{2cm}
begin{document}
begin{tikzpicture}
draw[blue, thick] (0:Rad) arc (0:360:Rad);
draw[orange,->] (90:Rad) arc (90:90-170:Rad);
draw[orange,-{Triangle[length=1mm, width=1mm]}] (90:Rad) arc (90:90+170:Rad);
end{tikzpicture}
end{document}
If you look closely at the outcome, one can notice that the orange arcs bend differently:
I would rather use the triangular arrowheads, but it is the one that bends differently than the actual circle, so I can not use it as it seems to be inaccurate.
I appreciate your help.
tikz-pgf arrows arc
I have stumbled upon some weird behaviour regarding arcs and arrowheads.
Here is a MWE:
documentclass[tikz]{standalone}
usepackage{tikz}
usepackage{graphicx}
usetikzlibrary{arrows.meta}
defRad{2cm}
begin{document}
begin{tikzpicture}
draw[blue, thick] (0:Rad) arc (0:360:Rad);
draw[orange,->] (90:Rad) arc (90:90-170:Rad);
draw[orange,-{Triangle[length=1mm, width=1mm]}] (90:Rad) arc (90:90+170:Rad);
end{tikzpicture}
end{document}
If you look closely at the outcome, one can notice that the orange arcs bend differently:
I would rather use the triangular arrowheads, but it is the one that bends differently than the actual circle, so I can not use it as it seems to be inaccurate.
I appreciate your help.
tikz-pgf arrows arc
tikz-pgf arrows arc
asked yesterday
RobEva
582
582
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
8
down vote
accepted
All you need to do is to also load bending
to cure this.
documentclass[tikz]{standalone}
usetikzlibrary{arrows.meta,bending}
defRad{2cm}
begin{document}
begin{tikzpicture}
draw[blue, thick] (0:Rad) arc (0:360:Rad);
draw[orange,->] (90:Rad) arc (90:90-170:Rad);
draw[orange,-{Triangle[length=1mm, width=1mm]}] (90:Rad) arc (90:90+170:Rad);
end{tikzpicture}
end{document}
Explanation: pgfmanual p. 194-195
I'm glad there already exists a fix. Thank you!
– RobEva
yesterday
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
8
down vote
accepted
All you need to do is to also load bending
to cure this.
documentclass[tikz]{standalone}
usetikzlibrary{arrows.meta,bending}
defRad{2cm}
begin{document}
begin{tikzpicture}
draw[blue, thick] (0:Rad) arc (0:360:Rad);
draw[orange,->] (90:Rad) arc (90:90-170:Rad);
draw[orange,-{Triangle[length=1mm, width=1mm]}] (90:Rad) arc (90:90+170:Rad);
end{tikzpicture}
end{document}
Explanation: pgfmanual p. 194-195
I'm glad there already exists a fix. Thank you!
– RobEva
yesterday
add a comment |
up vote
8
down vote
accepted
All you need to do is to also load bending
to cure this.
documentclass[tikz]{standalone}
usetikzlibrary{arrows.meta,bending}
defRad{2cm}
begin{document}
begin{tikzpicture}
draw[blue, thick] (0:Rad) arc (0:360:Rad);
draw[orange,->] (90:Rad) arc (90:90-170:Rad);
draw[orange,-{Triangle[length=1mm, width=1mm]}] (90:Rad) arc (90:90+170:Rad);
end{tikzpicture}
end{document}
Explanation: pgfmanual p. 194-195
I'm glad there already exists a fix. Thank you!
– RobEva
yesterday
add a comment |
up vote
8
down vote
accepted
up vote
8
down vote
accepted
All you need to do is to also load bending
to cure this.
documentclass[tikz]{standalone}
usetikzlibrary{arrows.meta,bending}
defRad{2cm}
begin{document}
begin{tikzpicture}
draw[blue, thick] (0:Rad) arc (0:360:Rad);
draw[orange,->] (90:Rad) arc (90:90-170:Rad);
draw[orange,-{Triangle[length=1mm, width=1mm]}] (90:Rad) arc (90:90+170:Rad);
end{tikzpicture}
end{document}
Explanation: pgfmanual p. 194-195
All you need to do is to also load bending
to cure this.
documentclass[tikz]{standalone}
usetikzlibrary{arrows.meta,bending}
defRad{2cm}
begin{document}
begin{tikzpicture}
draw[blue, thick] (0:Rad) arc (0:360:Rad);
draw[orange,->] (90:Rad) arc (90:90-170:Rad);
draw[orange,-{Triangle[length=1mm, width=1mm]}] (90:Rad) arc (90:90+170:Rad);
end{tikzpicture}
end{document}
Explanation: pgfmanual p. 194-195
edited yesterday
answered yesterday
marmot
76.7k487161
76.7k487161
I'm glad there already exists a fix. Thank you!
– RobEva
yesterday
add a comment |
I'm glad there already exists a fix. Thank you!
– RobEva
yesterday
I'm glad there already exists a fix. Thank you!
– RobEva
yesterday
I'm glad there already exists a fix. Thank you!
– RobEva
yesterday
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f460762%2fdifferent-arrowheads-bend-differently-tikz%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown