TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm currently using tikz to draw an arrow with two lines using this style:

doublearrow/.style={draw, color=black!75, draw=black!50, thick, double distance=2pt, ->, >=stealth}}

The documentation does not say if it's possible to have an arrow with three lines. I've seen it in papers before and I guess it is probably also done with Tikz as the arrow tips are the same. Any idea how to do it?

share|improve this question

migrated from stackoverflow.com Apr 12 '11 at 17:13

This question came from our site for professional and enthusiast programmers.

    
Found the answer: Draw an arrow path with a double line and at the same place draw a path with one line and voila - "triple" lined arrow. triplearrow/.style={draw=black!75, color=black!75, thick, double distance=4pt, <-, >=stealth}, thirdline/.style={draw=black!75, color=black!75, thick, <-, >=stealth}} – Tobias Apr 11 '11 at 18:23
    
It's a bit buried in the code, but the accepted answer to the following question contains code in TikZ for triple (and quadruple) arrows: tex.stackexchange.com/q/5309/86 – Loop Space Apr 12 '11 at 18:03
    
@Tobias: Could you either post your solution as an answer and accept it or remove the question altogether. Otherwise it will spook around as unanswered forever. – Martin Scharrer Apr 12 '11 at 19:15

[Converting the OPs comment into an answer]

Found the answer: Draw an arrow path with a double line and at the same place draw a path with one line and voila - "triple" lined arrow.

triplearrow/.style={
  draw=black!75,
  color=black!75,
  thick,
  double distance=4pt, 
  <-, 
  >=stealth}, 
thirdline/.style={draw=black!75, color=black!75, thick, <-, >=stealth}}
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.