Changing line width in tikz makes arrow heads ignore size specification?

Weird lines in Microsoft Word

Why can't I get pgrep output right to variable on bash script?

What do the positive and negative (+/-) transmit and receive pins mean on Ethernet cables?

Magnifying glass in hyperbolic space

PTIJ: Which Dr. Seuss books should one obtain?

What is the period/term used describe Giuseppe Arcimboldo's style of painting?

What is the tangent at a sharp point on a curve?

Error in master's thesis, I do not know what to do

Why is "la Gestapo" feminine?

Unfrosted light bulb

Non-Borel set in arbitrary metric space

How to split IPA spelling into syllables

Why is implicit conversion not ambiguous for non-primitive types?

Why is participating in the European Parliamentary elections used as a threat?

How can I, as DM, avoid the Conga Line of Death occurring when implementing some form of flanking rule?

Highest stage count that are used one right after the other?

Sort with assumptions

What (if any) is the reason to buy in small local stores?

Can you describe someone as luxurious? As in someone who likes luxurious things?

Started in 1987 vs. Starting in 1987

A seasonal riddle

Derivative of an interpolated function

Output visual diagram of picture

Air travel with refrigerated insulin



Changing line width in tikz makes arrow heads ignore size specification?














0















I am having trouble in changing arrowhead parameters in Tikz. The length and width parameters from arrows.meta work as expected until I also specify a line width, then all my arrowhead specifications are ignored and the default size is used.



documentclass[tikz]{standalone}

usepackage{tikz}
usetikzlibrary{arrows.meta}

begin{document}
begin{tikzpicture}
draw[-{Latex[width=2mm,length=3mm]}] (0,0)--(2,0) node[right]{with no line width};
draw[line width=1.5mm,-{latex[width=2mm,length=3mm]}] (0,-1)--(2,-1) node[right]{with specified line width};
end{tikzpicture}
end{document}


The above code renders as follows. Note how the same size parameters are given for both arrows, but they are ignored when the line width is changed.



enter image description here



How can I change the arrow size and line width at the same time?









share



























    0















    I am having trouble in changing arrowhead parameters in Tikz. The length and width parameters from arrows.meta work as expected until I also specify a line width, then all my arrowhead specifications are ignored and the default size is used.



    documentclass[tikz]{standalone}

    usepackage{tikz}
    usetikzlibrary{arrows.meta}

    begin{document}
    begin{tikzpicture}
    draw[-{Latex[width=2mm,length=3mm]}] (0,0)--(2,0) node[right]{with no line width};
    draw[line width=1.5mm,-{latex[width=2mm,length=3mm]}] (0,-1)--(2,-1) node[right]{with specified line width};
    end{tikzpicture}
    end{document}


    The above code renders as follows. Note how the same size parameters are given for both arrows, but they are ignored when the line width is changed.



    enter image description here



    How can I change the arrow size and line width at the same time?









    share

























      0












      0








      0








      I am having trouble in changing arrowhead parameters in Tikz. The length and width parameters from arrows.meta work as expected until I also specify a line width, then all my arrowhead specifications are ignored and the default size is used.



      documentclass[tikz]{standalone}

      usepackage{tikz}
      usetikzlibrary{arrows.meta}

      begin{document}
      begin{tikzpicture}
      draw[-{Latex[width=2mm,length=3mm]}] (0,0)--(2,0) node[right]{with no line width};
      draw[line width=1.5mm,-{latex[width=2mm,length=3mm]}] (0,-1)--(2,-1) node[right]{with specified line width};
      end{tikzpicture}
      end{document}


      The above code renders as follows. Note how the same size parameters are given for both arrows, but they are ignored when the line width is changed.



      enter image description here



      How can I change the arrow size and line width at the same time?









      share














      I am having trouble in changing arrowhead parameters in Tikz. The length and width parameters from arrows.meta work as expected until I also specify a line width, then all my arrowhead specifications are ignored and the default size is used.



      documentclass[tikz]{standalone}

      usepackage{tikz}
      usetikzlibrary{arrows.meta}

      begin{document}
      begin{tikzpicture}
      draw[-{Latex[width=2mm,length=3mm]}] (0,0)--(2,0) node[right]{with no line width};
      draw[line width=1.5mm,-{latex[width=2mm,length=3mm]}] (0,-1)--(2,-1) node[right]{with specified line width};
      end{tikzpicture}
      end{document}


      The above code renders as follows. Note how the same size parameters are given for both arrows, but they are ignored when the line width is changed.



      enter image description here



      How can I change the arrow size and line width at the same time?







      tikz-pgf tikz-arrows





      share












      share










      share



      share










      asked 1 min ago









      PGmathPGmath

      1362




      1362






















          0






          active

          oldest

          votes











          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',
          autoActivateHeartbeat: false,
          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%2f480421%2fchanging-line-width-in-tikz-makes-arrow-heads-ignore-size-specification%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f480421%2fchanging-line-width-in-tikz-makes-arrow-heads-ignore-size-specification%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

          Why does my Macbook overheat and use so much CPU and energy when on YouTube?Why do so many insist on using...

          How to prevent page numbers from appearing on glossaries?How to remove a dot and a page number in the...

          Puerta de Hutt Referencias Enlaces externos Menú de navegación15°58′00″S 5°42′00″O /...