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:
enter image description here



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.










share|improve this question


























    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:
    enter image description here



    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.










    share|improve this question
























      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:
      enter image description here



      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.










      share|improve this question













      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:
      enter image description here



      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






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked yesterday









      RobEva

      582




      582






















          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}


          enter image description here



          Explanation: pgfmanual p. 194-195



          enter image description here






          share|improve this answer























          • I'm glad there already exists a fix. Thank you!
            – RobEva
            yesterday











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "85"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














           

          draft saved


          draft discarded


















          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

























          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}


          enter image description here



          Explanation: pgfmanual p. 194-195



          enter image description here






          share|improve this answer























          • I'm glad there already exists a fix. Thank you!
            – RobEva
            yesterday















          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}


          enter image description here



          Explanation: pgfmanual p. 194-195



          enter image description here






          share|improve this answer























          • I'm glad there already exists a fix. Thank you!
            – RobEva
            yesterday













          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}


          enter image description here



          Explanation: pgfmanual p. 194-195



          enter image description here






          share|improve this answer














          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}


          enter image description here



          Explanation: pgfmanual p. 194-195



          enter image description here







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited yesterday

























          answered yesterday









          marmot

          76.7k487161




          76.7k487161












          • 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




          I'm glad there already exists a fix. Thank you!
          – RobEva
          yesterday


















           

          draft saved


          draft discarded



















































           


          draft saved


          draft discarded














          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





















































          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







          Popular posts from this blog

          android studio warns about leanback feature tag usage required on manifest while using Unity exported app?

          SQL update select statement

          'app-layout' is not a known element: how to share Component with different Modules