MHB How can I make the arrowhead bigger?

  • Thread starter Thread starter Dustinsfl
  • Start date Start date
Click For Summary
To make the arrowhead bigger in TikZ, users can utilize the \usetikzlibrary command and refer to the PGF/TikZ manual, specifically section 30.5.1 on "Arrow Tip Markings." A suggested code snippet demonstrates how to implement larger arrowheads using decorations and markings. Resources such as StackExchange provide additional guidance on this topic. Proper implementation can enhance the visual impact of diagrams created with TikZ.
Dustinsfl
Messages
2,217
Reaction score
5
Code:
\draw[->] (0,0) -- (3,0);

How can I make the arrowhead bigger?
 
Physics news on Phys.org
dwsmith said:
Code:
\draw[->] (0,0) -- (3,0);

How can I make the arrowhead bigger?

Hi dwsmith, :)

Although I have never done this, I think you can do this using the \usetikzlibrary command. Please refer >>this<< for a complete description.

Kind Regards,
Sudharaka.
 
dwsmith said:
How can I make the arrowhead bigger?
Yes, this is awkward in TikZ. The link to StackExchange seems a good resource. This is also described in section 30.5.1 "Arrow Tip Markings" in PGF/TikZ manual for version 2.10. Here is a code from there.

Code:
\begin{tikzpicture}[decoration={
markings,% switch on markings
mark=at position 1cm with {\node[red]{1cm};},
mark=at position .75 with {\arrow[blue,line width=2mm]{>}},
mark=at position -1cm with {\arrowreversed[black]{stealth};}}
]
\draw [help lines] grid (3,2);
\draw [postaction={decorate}] (0,0) -- (3,1) arc (0:180:1.5 and 1);
\end{tikzpicture}
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
5K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 13 ·
Replies
13
Views
3K
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 61 ·
3
Replies
61
Views
4K
  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K