Changing line width in tikz makes arrow heads ignore size specification?Tikz - move/reposition arrow...

Friend wants my recommendation but I don't want to give it to him

When is the exact date for EOL of Ubuntu 14.04 LTS?

What is this high flying aircraft over Pennsylvania?

Not hide and seek

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

Why is indicated airspeed rather than ground speed used during the takeoff roll?

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

How can a new country break out from a developed country without war?

Is this Pascal's Matrix?

If the Dominion rule using their Jem'Hadar troops, why is their life expectancy so low?

Reasons for having MCU pin-states default to pull-up/down out of reset

Put the phone down / Put down the phone

"Marked down as someone wanting to sell shares." What does that mean?

Pre-Employment Background Check With Consent For Future Checks

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

Can you take a "free object interaction" while incapacitated?

Output visual diagram of picture

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

Why didn't Voldemort know what Grindelwald looked like?

How do I lift the insulation blower into the attic?

Do native speakers use "ultima" and "proxima" frequently in spoken English?

Weird lines in Microsoft Word

Travelling in US for more than 90 days

Why does the Persian emissary display a string of crowned skulls?



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


Tikz - move/reposition arrow decorations (arrowhead length/size)Rotate a node but not its content: the case of the ellipse decorationHow to define the default vertical distance between nodes?TikZ scaling graphic and adjust node position and keep font sizeNumerical conditional within tikz keys?use circuitikz picture inside tikzpictureTikZ: Drawing an arc from an intersection to an intersectionDrawing rectilinear curves in Tikz, aka an Etch-a-Sketch drawingLine up nested tikz enviroments or how to get rid of thempgfplots quiver arrowhead size













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 5 mins 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

          Paper upload error, “Upload failed: The top margin is 0.715 in on page 3, which is below the required...

          Emraan Hashmi Filmografia | Linki zewnętrzne | Menu nawigacyjneGulshan GroverGulshan...

          How can I write this formula?newline and italics added with leqWhy does widehat behave differently if I...