Drawing a double headed LaTeX arrow
Clash Royale CLAN TAG#URR8PPP
up vote
4
down vote
favorite
To draw a LaTeX arrow I use the following code:
documentclassbeamer
beamertemplatenavigationsymbolsempty
usepackagetikz
usetikzlibraryarrows, arrows.meta
begindocument
beginframe[fragile,t]
frametitle
begintikzpicture[scale=.9, transform shape]
draw [ultra thick, green!40!black, -latex'] (-.72,4.) -- +(-90:1.4);
endtikzpicture
endframe
enddocument
Which gives me the left arrow. To make it a double headed arrow, I use a node to fake the second head, which gives me the right double headed arrow.
begintikzpicture[scale=.9, transform shape]
draw [ultra thick, green, -latex'] (-.72,4.) node [minimum size=.8cm, xshift=0cm, yshift=-.26cm, path picture=draw [ultra thick, green, solid, -latex'] (0,0) -- +(90:.4cm);] -- +(-90:1.4);
endtikzpicture
Is there a way to make a true LaTeX double headed arrow without the use of the node to fake the second head?
tikz-pgf
add a comment |Â
up vote
4
down vote
favorite
To draw a LaTeX arrow I use the following code:
documentclassbeamer
beamertemplatenavigationsymbolsempty
usepackagetikz
usetikzlibraryarrows, arrows.meta
begindocument
beginframe[fragile,t]
frametitle
begintikzpicture[scale=.9, transform shape]
draw [ultra thick, green!40!black, -latex'] (-.72,4.) -- +(-90:1.4);
endtikzpicture
endframe
enddocument
Which gives me the left arrow. To make it a double headed arrow, I use a node to fake the second head, which gives me the right double headed arrow.
begintikzpicture[scale=.9, transform shape]
draw [ultra thick, green, -latex'] (-.72,4.) node [minimum size=.8cm, xshift=0cm, yshift=-.26cm, path picture=draw [ultra thick, green, solid, -latex'] (0,0) -- +(90:.4cm);] -- +(-90:1.4);
endtikzpicture
Is there a way to make a true LaTeX double headed arrow without the use of the node to fake the second head?
tikz-pgf
2
Why don't you uselatex'-latex'
?
– BambOo
Aug 8 at 9:05
Thank you. I tried -latex' -latex' which gave me an error, I did not know that I have to omit the first -
– Hany
Aug 8 at 9:09
2
-
in arrows definitions represents the arrow line, while<
or>
, or whatever style, define the kind of tip and position:<->
two sided arrow,->
from left to right,<-
from right to left.
– Ignasi
Aug 8 at 10:05
add a comment |Â
up vote
4
down vote
favorite
up vote
4
down vote
favorite
To draw a LaTeX arrow I use the following code:
documentclassbeamer
beamertemplatenavigationsymbolsempty
usepackagetikz
usetikzlibraryarrows, arrows.meta
begindocument
beginframe[fragile,t]
frametitle
begintikzpicture[scale=.9, transform shape]
draw [ultra thick, green!40!black, -latex'] (-.72,4.) -- +(-90:1.4);
endtikzpicture
endframe
enddocument
Which gives me the left arrow. To make it a double headed arrow, I use a node to fake the second head, which gives me the right double headed arrow.
begintikzpicture[scale=.9, transform shape]
draw [ultra thick, green, -latex'] (-.72,4.) node [minimum size=.8cm, xshift=0cm, yshift=-.26cm, path picture=draw [ultra thick, green, solid, -latex'] (0,0) -- +(90:.4cm);] -- +(-90:1.4);
endtikzpicture
Is there a way to make a true LaTeX double headed arrow without the use of the node to fake the second head?
tikz-pgf
To draw a LaTeX arrow I use the following code:
documentclassbeamer
beamertemplatenavigationsymbolsempty
usepackagetikz
usetikzlibraryarrows, arrows.meta
begindocument
beginframe[fragile,t]
frametitle
begintikzpicture[scale=.9, transform shape]
draw [ultra thick, green!40!black, -latex'] (-.72,4.) -- +(-90:1.4);
endtikzpicture
endframe
enddocument
Which gives me the left arrow. To make it a double headed arrow, I use a node to fake the second head, which gives me the right double headed arrow.
begintikzpicture[scale=.9, transform shape]
draw [ultra thick, green, -latex'] (-.72,4.) node [minimum size=.8cm, xshift=0cm, yshift=-.26cm, path picture=draw [ultra thick, green, solid, -latex'] (0,0) -- +(90:.4cm);] -- +(-90:1.4);
endtikzpicture
Is there a way to make a true LaTeX double headed arrow without the use of the node to fake the second head?
tikz-pgf
edited Aug 8 at 20:37
Peter Mortensen
48136
48136
asked Aug 8 at 9:01


Hany
703314
703314
2
Why don't you uselatex'-latex'
?
– BambOo
Aug 8 at 9:05
Thank you. I tried -latex' -latex' which gave me an error, I did not know that I have to omit the first -
– Hany
Aug 8 at 9:09
2
-
in arrows definitions represents the arrow line, while<
or>
, or whatever style, define the kind of tip and position:<->
two sided arrow,->
from left to right,<-
from right to left.
– Ignasi
Aug 8 at 10:05
add a comment |Â
2
Why don't you uselatex'-latex'
?
– BambOo
Aug 8 at 9:05
Thank you. I tried -latex' -latex' which gave me an error, I did not know that I have to omit the first -
– Hany
Aug 8 at 9:09
2
-
in arrows definitions represents the arrow line, while<
or>
, or whatever style, define the kind of tip and position:<->
two sided arrow,->
from left to right,<-
from right to left.
– Ignasi
Aug 8 at 10:05
2
2
Why don't you use
latex'-latex'
?– BambOo
Aug 8 at 9:05
Why don't you use
latex'-latex'
?– BambOo
Aug 8 at 9:05
Thank you. I tried -latex' -latex' which gave me an error, I did not know that I have to omit the first -
– Hany
Aug 8 at 9:09
Thank you. I tried -latex' -latex' which gave me an error, I did not know that I have to omit the first -
– Hany
Aug 8 at 9:09
2
2
-
in arrows definitions represents the arrow line, while <
or >
, or whatever style, define the kind of tip and position: <->
two sided arrow, ->
from left to right, <-
from right to left.– Ignasi
Aug 8 at 10:05
-
in arrows definitions represents the arrow line, while <
or >
, or whatever style, define the kind of tip and position: <->
two sided arrow, ->
from left to right, <-
from right to left.– Ignasi
Aug 8 at 10:05
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
4
down vote
accepted
To provide a complete answer :
You can use the latex'-latex'
style definition.
More documentation is available on arrows definition at section 16.2 page 182 of the pgf
manual.
Thank you very much for your answer. I will read this section thoroughly.
– Hany
Aug 8 at 9:44
add a comment |Â
up vote
5
down vote
I hope this helps:
documentclassbeamer
beamertemplatenavigationsymbolsempty
usepackagetikz
usetikzlibraryarrows, arrows.meta
begindocument
beginframe[fragile,t]
frametitle
begintikzpicture[scale=.9, transform shape]
draw[>=triangle 45, <->] (0,0) -- (2,0);
endtikzpicture
endframe
enddocument
which shall give you
Extra
You could choose to play probably play with draw[>=style options, <->, color options] (0,0) -- (2,0);
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
4
down vote
accepted
To provide a complete answer :
You can use the latex'-latex'
style definition.
More documentation is available on arrows definition at section 16.2 page 182 of the pgf
manual.
Thank you very much for your answer. I will read this section thoroughly.
– Hany
Aug 8 at 9:44
add a comment |Â
up vote
4
down vote
accepted
To provide a complete answer :
You can use the latex'-latex'
style definition.
More documentation is available on arrows definition at section 16.2 page 182 of the pgf
manual.
Thank you very much for your answer. I will read this section thoroughly.
– Hany
Aug 8 at 9:44
add a comment |Â
up vote
4
down vote
accepted
up vote
4
down vote
accepted
To provide a complete answer :
You can use the latex'-latex'
style definition.
More documentation is available on arrows definition at section 16.2 page 182 of the pgf
manual.
To provide a complete answer :
You can use the latex'-latex'
style definition.
More documentation is available on arrows definition at section 16.2 page 182 of the pgf
manual.
answered Aug 8 at 9:21


BambOo
2,355323
2,355323
Thank you very much for your answer. I will read this section thoroughly.
– Hany
Aug 8 at 9:44
add a comment |Â
Thank you very much for your answer. I will read this section thoroughly.
– Hany
Aug 8 at 9:44
Thank you very much for your answer. I will read this section thoroughly.
– Hany
Aug 8 at 9:44
Thank you very much for your answer. I will read this section thoroughly.
– Hany
Aug 8 at 9:44
add a comment |Â
up vote
5
down vote
I hope this helps:
documentclassbeamer
beamertemplatenavigationsymbolsempty
usepackagetikz
usetikzlibraryarrows, arrows.meta
begindocument
beginframe[fragile,t]
frametitle
begintikzpicture[scale=.9, transform shape]
draw[>=triangle 45, <->] (0,0) -- (2,0);
endtikzpicture
endframe
enddocument
which shall give you
Extra
You could choose to play probably play with draw[>=style options, <->, color options] (0,0) -- (2,0);
add a comment |Â
up vote
5
down vote
I hope this helps:
documentclassbeamer
beamertemplatenavigationsymbolsempty
usepackagetikz
usetikzlibraryarrows, arrows.meta
begindocument
beginframe[fragile,t]
frametitle
begintikzpicture[scale=.9, transform shape]
draw[>=triangle 45, <->] (0,0) -- (2,0);
endtikzpicture
endframe
enddocument
which shall give you
Extra
You could choose to play probably play with draw[>=style options, <->, color options] (0,0) -- (2,0);
add a comment |Â
up vote
5
down vote
up vote
5
down vote
I hope this helps:
documentclassbeamer
beamertemplatenavigationsymbolsempty
usepackagetikz
usetikzlibraryarrows, arrows.meta
begindocument
beginframe[fragile,t]
frametitle
begintikzpicture[scale=.9, transform shape]
draw[>=triangle 45, <->] (0,0) -- (2,0);
endtikzpicture
endframe
enddocument
which shall give you
Extra
You could choose to play probably play with draw[>=style options, <->, color options] (0,0) -- (2,0);
I hope this helps:
documentclassbeamer
beamertemplatenavigationsymbolsempty
usepackagetikz
usetikzlibraryarrows, arrows.meta
begindocument
beginframe[fragile,t]
frametitle
begintikzpicture[scale=.9, transform shape]
draw[>=triangle 45, <->] (0,0) -- (2,0);
endtikzpicture
endframe
enddocument
which shall give you
Extra
You could choose to play probably play with draw[>=style options, <->, color options] (0,0) -- (2,0);
answered Aug 8 at 9:17


Raaja
1,4571522
1,4571522
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f445108%2fdrawing-a-double-headed-latex-arrow%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
2
Why don't you use
latex'-latex'
?– BambOo
Aug 8 at 9:05
Thank you. I tried -latex' -latex' which gave me an error, I did not know that I have to omit the first -
– Hany
Aug 8 at 9:09
2
-
in arrows definitions represents the arrow line, while<
or>
, or whatever style, define the kind of tip and position:<->
two sided arrow,->
from left to right,<-
from right to left.– Ignasi
Aug 8 at 10:05