How to draw an diagram with arrows?
Clash Royale CLAN TAG#URR8PPP
up vote
2
down vote
favorite
I want to draw the diagram attached file in latex?
arrows
add a comment |Â
up vote
2
down vote
favorite
I want to draw the diagram attached file in latex?
arrows
You could youre the TikZ package, you will find a short tutorial at the begin of the documentation.
– omisson
1 hour ago
add a comment |Â
up vote
2
down vote
favorite
up vote
2
down vote
favorite
I want to draw the diagram attached file in latex?
arrows
I want to draw the diagram attached file in latex?
arrows
arrows
asked 1 hour ago
Fatma Erol Kaynarca
312
312
You could youre the TikZ package, you will find a short tutorial at the begin of the documentation.
– omisson
1 hour ago
add a comment |Â
You could youre the TikZ package, you will find a short tutorial at the begin of the documentation.
– omisson
1 hour ago
You could youre the TikZ package, you will find a short tutorial at the begin of the documentation.
– omisson
1 hour ago
You could youre the TikZ package, you will find a short tutorial at the begin of the documentation.
– omisson
1 hour ago
add a comment |Â
3 Answers
3
active
oldest
votes
up vote
3
down vote
It's quite easy with tikz-cd
:
documentclassarticle
usepackagetikz-cd
begindocument
begintikzcd
1 ar[r,"a"] ar[rr,bend right,"c"'] & 2 ar[r,"b"] & 3
endtikzcd
enddocument
But, in my humble opinion, I'd vote for picture-mode, for its far more user-friendly syntax:
documentclassarticle
usepackagepict2e
begindocument
setlengthunitlength1cm
beginpicture(2.1,0.75)(0,-0.45)
put(0,0)1
put(0.2,0.1)vector(1,0)0.75
put(0.5,0.15)footnotesize$a$
put(1,0)2
put(1.2,0.1)vector(1,0)0.75
put(1.5,0.15)footnotesize$b$
put(2,0)3
qbezier(0.2,-0.05)(1.05,-0.7)(1.9,-0.05)
put(1.9,-0.05)vector(4,3)0.0001
put(1.0,-0.55)footnotesize$c$
endpicture
enddocument
1
Actually, it's also very easy with plain TikZ (without tikz-cd), but +1 for picture mode ;)
– TeXnician
40 mins ago
@TeXnician Thetikz-cd
answer is so that people can't say I posted a picture mode answer just to gain more rep. I honestly don't know why people think that ;P
– Phelype Oleinik
26 mins ago
add a comment |Â
up vote
2
down vote
For the sake of completeness, here it is a plain TikZ approach
documentclassarticle
usepackagetikz
usetikzlibrarypositioning
begindocument
begintikzpicture[node distance = 2cm, thick]%
node (1) 1;
node (2) [right=of 1] 2;
node (3) [right=of 2] 3;
draw[->] (1) -- node [midway,above] a (2);
draw[->] (1) to [bend right] node [midway,below]c (3);
draw[->] (2) -- node [midway,above] b (3);
endtikzpicture%
enddocument
add a comment |Â
up vote
0
down vote
A pstricks
solution`: the three numbers are defined as nodes, and we link them by node connections.
documentclass[12pt]article
usepackagepst-node, auto-pst-pdf
begindocument
[
Rnode11 hspace3em Rnode22 hspace3em Rnode33
pssetlinewidth=0.6pt, arrows=->, arrowinset=0.12, nodesep=0.6ex, labelsep=2pt, shortput=nab
everypsboxscriptstyle
ncline12^ancline23^b
ncarc[arcangle=-30]13_c
]
enddocument
add a comment |Â
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
3
down vote
It's quite easy with tikz-cd
:
documentclassarticle
usepackagetikz-cd
begindocument
begintikzcd
1 ar[r,"a"] ar[rr,bend right,"c"'] & 2 ar[r,"b"] & 3
endtikzcd
enddocument
But, in my humble opinion, I'd vote for picture-mode, for its far more user-friendly syntax:
documentclassarticle
usepackagepict2e
begindocument
setlengthunitlength1cm
beginpicture(2.1,0.75)(0,-0.45)
put(0,0)1
put(0.2,0.1)vector(1,0)0.75
put(0.5,0.15)footnotesize$a$
put(1,0)2
put(1.2,0.1)vector(1,0)0.75
put(1.5,0.15)footnotesize$b$
put(2,0)3
qbezier(0.2,-0.05)(1.05,-0.7)(1.9,-0.05)
put(1.9,-0.05)vector(4,3)0.0001
put(1.0,-0.55)footnotesize$c$
endpicture
enddocument
1
Actually, it's also very easy with plain TikZ (without tikz-cd), but +1 for picture mode ;)
– TeXnician
40 mins ago
@TeXnician Thetikz-cd
answer is so that people can't say I posted a picture mode answer just to gain more rep. I honestly don't know why people think that ;P
– Phelype Oleinik
26 mins ago
add a comment |Â
up vote
3
down vote
It's quite easy with tikz-cd
:
documentclassarticle
usepackagetikz-cd
begindocument
begintikzcd
1 ar[r,"a"] ar[rr,bend right,"c"'] & 2 ar[r,"b"] & 3
endtikzcd
enddocument
But, in my humble opinion, I'd vote for picture-mode, for its far more user-friendly syntax:
documentclassarticle
usepackagepict2e
begindocument
setlengthunitlength1cm
beginpicture(2.1,0.75)(0,-0.45)
put(0,0)1
put(0.2,0.1)vector(1,0)0.75
put(0.5,0.15)footnotesize$a$
put(1,0)2
put(1.2,0.1)vector(1,0)0.75
put(1.5,0.15)footnotesize$b$
put(2,0)3
qbezier(0.2,-0.05)(1.05,-0.7)(1.9,-0.05)
put(1.9,-0.05)vector(4,3)0.0001
put(1.0,-0.55)footnotesize$c$
endpicture
enddocument
1
Actually, it's also very easy with plain TikZ (without tikz-cd), but +1 for picture mode ;)
– TeXnician
40 mins ago
@TeXnician Thetikz-cd
answer is so that people can't say I posted a picture mode answer just to gain more rep. I honestly don't know why people think that ;P
– Phelype Oleinik
26 mins ago
add a comment |Â
up vote
3
down vote
up vote
3
down vote
It's quite easy with tikz-cd
:
documentclassarticle
usepackagetikz-cd
begindocument
begintikzcd
1 ar[r,"a"] ar[rr,bend right,"c"'] & 2 ar[r,"b"] & 3
endtikzcd
enddocument
But, in my humble opinion, I'd vote for picture-mode, for its far more user-friendly syntax:
documentclassarticle
usepackagepict2e
begindocument
setlengthunitlength1cm
beginpicture(2.1,0.75)(0,-0.45)
put(0,0)1
put(0.2,0.1)vector(1,0)0.75
put(0.5,0.15)footnotesize$a$
put(1,0)2
put(1.2,0.1)vector(1,0)0.75
put(1.5,0.15)footnotesize$b$
put(2,0)3
qbezier(0.2,-0.05)(1.05,-0.7)(1.9,-0.05)
put(1.9,-0.05)vector(4,3)0.0001
put(1.0,-0.55)footnotesize$c$
endpicture
enddocument
It's quite easy with tikz-cd
:
documentclassarticle
usepackagetikz-cd
begindocument
begintikzcd
1 ar[r,"a"] ar[rr,bend right,"c"'] & 2 ar[r,"b"] & 3
endtikzcd
enddocument
But, in my humble opinion, I'd vote for picture-mode, for its far more user-friendly syntax:
documentclassarticle
usepackagepict2e
begindocument
setlengthunitlength1cm
beginpicture(2.1,0.75)(0,-0.45)
put(0,0)1
put(0.2,0.1)vector(1,0)0.75
put(0.5,0.15)footnotesize$a$
put(1,0)2
put(1.2,0.1)vector(1,0)0.75
put(1.5,0.15)footnotesize$b$
put(2,0)3
qbezier(0.2,-0.05)(1.05,-0.7)(1.9,-0.05)
put(1.9,-0.05)vector(4,3)0.0001
put(1.0,-0.55)footnotesize$c$
endpicture
enddocument
answered 45 mins ago


Phelype Oleinik
16.9k33769
16.9k33769
1
Actually, it's also very easy with plain TikZ (without tikz-cd), but +1 for picture mode ;)
– TeXnician
40 mins ago
@TeXnician Thetikz-cd
answer is so that people can't say I posted a picture mode answer just to gain more rep. I honestly don't know why people think that ;P
– Phelype Oleinik
26 mins ago
add a comment |Â
1
Actually, it's also very easy with plain TikZ (without tikz-cd), but +1 for picture mode ;)
– TeXnician
40 mins ago
@TeXnician Thetikz-cd
answer is so that people can't say I posted a picture mode answer just to gain more rep. I honestly don't know why people think that ;P
– Phelype Oleinik
26 mins ago
1
1
Actually, it's also very easy with plain TikZ (without tikz-cd), but +1 for picture mode ;)
– TeXnician
40 mins ago
Actually, it's also very easy with plain TikZ (without tikz-cd), but +1 for picture mode ;)
– TeXnician
40 mins ago
@TeXnician The
tikz-cd
answer is so that people can't say I posted a picture mode answer just to gain more rep. I honestly don't know why people think that ;P– Phelype Oleinik
26 mins ago
@TeXnician The
tikz-cd
answer is so that people can't say I posted a picture mode answer just to gain more rep. I honestly don't know why people think that ;P– Phelype Oleinik
26 mins ago
add a comment |Â
up vote
2
down vote
For the sake of completeness, here it is a plain TikZ approach
documentclassarticle
usepackagetikz
usetikzlibrarypositioning
begindocument
begintikzpicture[node distance = 2cm, thick]%
node (1) 1;
node (2) [right=of 1] 2;
node (3) [right=of 2] 3;
draw[->] (1) -- node [midway,above] a (2);
draw[->] (1) to [bend right] node [midway,below]c (3);
draw[->] (2) -- node [midway,above] b (3);
endtikzpicture%
enddocument
add a comment |Â
up vote
2
down vote
For the sake of completeness, here it is a plain TikZ approach
documentclassarticle
usepackagetikz
usetikzlibrarypositioning
begindocument
begintikzpicture[node distance = 2cm, thick]%
node (1) 1;
node (2) [right=of 1] 2;
node (3) [right=of 2] 3;
draw[->] (1) -- node [midway,above] a (2);
draw[->] (1) to [bend right] node [midway,below]c (3);
draw[->] (2) -- node [midway,above] b (3);
endtikzpicture%
enddocument
add a comment |Â
up vote
2
down vote
up vote
2
down vote
For the sake of completeness, here it is a plain TikZ approach
documentclassarticle
usepackagetikz
usetikzlibrarypositioning
begindocument
begintikzpicture[node distance = 2cm, thick]%
node (1) 1;
node (2) [right=of 1] 2;
node (3) [right=of 2] 3;
draw[->] (1) -- node [midway,above] a (2);
draw[->] (1) to [bend right] node [midway,below]c (3);
draw[->] (2) -- node [midway,above] b (3);
endtikzpicture%
enddocument
For the sake of completeness, here it is a plain TikZ approach
documentclassarticle
usepackagetikz
usetikzlibrarypositioning
begindocument
begintikzpicture[node distance = 2cm, thick]%
node (1) 1;
node (2) [right=of 1] 2;
node (3) [right=of 2] 3;
draw[->] (1) -- node [midway,above] a (2);
draw[->] (1) to [bend right] node [midway,below]c (3);
draw[->] (2) -- node [midway,above] b (3);
endtikzpicture%
enddocument
answered 22 mins ago
Diaa
2,2781642
2,2781642
add a comment |Â
add a comment |Â
up vote
0
down vote
A pstricks
solution`: the three numbers are defined as nodes, and we link them by node connections.
documentclass[12pt]article
usepackagepst-node, auto-pst-pdf
begindocument
[
Rnode11 hspace3em Rnode22 hspace3em Rnode33
pssetlinewidth=0.6pt, arrows=->, arrowinset=0.12, nodesep=0.6ex, labelsep=2pt, shortput=nab
everypsboxscriptstyle
ncline12^ancline23^b
ncarc[arcangle=-30]13_c
]
enddocument
add a comment |Â
up vote
0
down vote
A pstricks
solution`: the three numbers are defined as nodes, and we link them by node connections.
documentclass[12pt]article
usepackagepst-node, auto-pst-pdf
begindocument
[
Rnode11 hspace3em Rnode22 hspace3em Rnode33
pssetlinewidth=0.6pt, arrows=->, arrowinset=0.12, nodesep=0.6ex, labelsep=2pt, shortput=nab
everypsboxscriptstyle
ncline12^ancline23^b
ncarc[arcangle=-30]13_c
]
enddocument
add a comment |Â
up vote
0
down vote
up vote
0
down vote
A pstricks
solution`: the three numbers are defined as nodes, and we link them by node connections.
documentclass[12pt]article
usepackagepst-node, auto-pst-pdf
begindocument
[
Rnode11 hspace3em Rnode22 hspace3em Rnode33
pssetlinewidth=0.6pt, arrows=->, arrowinset=0.12, nodesep=0.6ex, labelsep=2pt, shortput=nab
everypsboxscriptstyle
ncline12^ancline23^b
ncarc[arcangle=-30]13_c
]
enddocument
A pstricks
solution`: the three numbers are defined as nodes, and we link them by node connections.
documentclass[12pt]article
usepackagepst-node, auto-pst-pdf
begindocument
[
Rnode11 hspace3em Rnode22 hspace3em Rnode33
pssetlinewidth=0.6pt, arrows=->, arrowinset=0.12, nodesep=0.6ex, labelsep=2pt, shortput=nab
everypsboxscriptstyle
ncline12^ancline23^b
ncarc[arcangle=-30]13_c
]
enddocument
answered 1 min ago
Bernard
156k764190
156k764190
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%2f452415%2fhow-to-draw-an-diagram-with-arrows%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
You could youre the TikZ package, you will find a short tutorial at the begin of the documentation.
– omisson
1 hour ago