|
|
TikZ single arrow shape
Hi there,
Does anyone feel the same way as I do that the meaning of minium
width/height in the single arrow shape is opposite to that of other
shapes? Here's an example:
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{shapes.arrows}
\begin{document}
\begin{tikzpicture}
\node [single arrow,minimum width=1cm,minimum height=2cm,draw] {};
\end{tikzpicture}
\end{document}
It seems minimum height is controlling the minimum width. How to make
sense of this?
Thanks.
Leo
|
|
0
|
|
|
|
Reply
|
Leo
|
1/6/2010 1:07:00 AM |
|
� (at) Wed, 06 Jan 2010 01:07:00 +0000,
Leo <sdl.web@gmail.com> �crivait (wrote):
> It seems minimum height is controlling the minimum width. How to make
> sense of this?
pgfmanual (v2.00) : p.335.
--
Paul Gaborit - <http://perso.mines-albi.fr/~gaborit/>
|
|
0
|
|
|
|
Reply
|
Paul
|
1/6/2010 2:26:52 PM
|
|
Paul Gaborit <Paul.Gaborit@invalid.invalid> writes:
> � (at) Wed, 06 Jan 2010 01:07:00 +0000,
> Leo <sdl.web@gmail.com> �crivait (wrote):
>
>> It seems minimum height is controlling the minimum width. How to make
>> sense of this?
>
> pgfmanual (v2.00) : p.335.
That's what I get from the manual. But my question is why tikz uses
width for height and height for width? In particular, the shape by
default is drawn with the arrow tip facing horizontally.
Leo
|
|
0
|
|
|
|
Reply
|
Leo
|
1/6/2010 3:26:45 PM
|
|
On 2010-01-06 16:26:45 +0100, Leo <sdl.web@gmail.com> said:
> Paul Gaborit <Paul.Gaborit@invalid.invalid> writes:
>
>> � (at) Wed, 06 Jan 2010 01:07:00 +0000,
>> Leo <sdl.web@gmail.com> �crivait (wrote):
>>
>>> It seems minimum height is controlling the minimum width. How to make
>>> sense of this?
>>
>> pgfmanual (v2.00) : p.335.
>
> That's what I get from the manual. But my question is why tikz uses
> width for height and height for width?
Hi,
It's not a really problem !
1) width is correct because it's use like "line width" exactly is the
head's width.
2) height why not ? the arrow shape have a head !
Best regards
Alain Matthes
|
|
0
|
|
|
|
Reply
|
Alain
|
1/6/2010 3:54:31 PM
|
|
Alain Matthes <alain.matthes@nofree.fr> writes:
> It's not a really problem !
> 1) width is correct because it's use like "line width" exactly is the
> head's width.
> 2) height why not ? the arrow shape have a head !
Thanks for this. That makes sense.
Leo
|
|
0
|
|
|
|
Reply
|
Leo
|
1/6/2010 4:42:09 PM
|
|
|
4 Replies
1101 Views
(page loaded in 0.054 seconds)
Similiar Articles:7/16/2012 9:00:19 AM
|
|
|
|
|
|
|
|
|