Drawing a diagram in LaTeX
up vote
2
down vote
favorite
How can I draw this diagram in LaTeX?
diagrams
migrated from writing.stackexchange.com 6 hours ago
This question came from our site for the craft of professional writing, including fiction, non-fiction, technical, scholarly, and commercial writing.
add a comment |
up vote
2
down vote
favorite
How can I draw this diagram in LaTeX?
diagrams
migrated from writing.stackexchange.com 6 hours ago
This question came from our site for the craft of professional writing, including fiction, non-fiction, technical, scholarly, and commercial writing.
1
Hi Mohsen! I think you were looking for TeX - LaTeX. Our SE is for questions about writing - novels, etc. Your question doesn't appear to be about writing. I'm flagging your question for a moderator to migrate.
– Galastel
8 hours ago
1
Welcome to TeX.SX! Please help us help you and add a minimal working example (MWE) that illustrates your problem. Reproducing the problem and finding out what the issue is will be much easier when we see compilable code, starting withdocumentclass{...}
and ending withend{document}
. • Note this is a Q&A site, not a please do this for me service. What do you have so far.
– albert
6 hours ago
For the future, you should provide a MWE, I answered only because you're a new user and I think JouleV's answer, as is, doesn't work for multiline nodes.
– CarLaTeX
1 hour ago
add a comment |
up vote
2
down vote
favorite
up vote
2
down vote
favorite
How can I draw this diagram in LaTeX?
diagrams
How can I draw this diagram in LaTeX?
diagrams
diagrams
edited 6 hours ago
Troy
10.4k62265
10.4k62265
asked 8 hours ago
mohsen shekari
141
141
migrated from writing.stackexchange.com 6 hours ago
This question came from our site for the craft of professional writing, including fiction, non-fiction, technical, scholarly, and commercial writing.
migrated from writing.stackexchange.com 6 hours ago
This question came from our site for the craft of professional writing, including fiction, non-fiction, technical, scholarly, and commercial writing.
1
Hi Mohsen! I think you were looking for TeX - LaTeX. Our SE is for questions about writing - novels, etc. Your question doesn't appear to be about writing. I'm flagging your question for a moderator to migrate.
– Galastel
8 hours ago
1
Welcome to TeX.SX! Please help us help you and add a minimal working example (MWE) that illustrates your problem. Reproducing the problem and finding out what the issue is will be much easier when we see compilable code, starting withdocumentclass{...}
and ending withend{document}
. • Note this is a Q&A site, not a please do this for me service. What do you have so far.
– albert
6 hours ago
For the future, you should provide a MWE, I answered only because you're a new user and I think JouleV's answer, as is, doesn't work for multiline nodes.
– CarLaTeX
1 hour ago
add a comment |
1
Hi Mohsen! I think you were looking for TeX - LaTeX. Our SE is for questions about writing - novels, etc. Your question doesn't appear to be about writing. I'm flagging your question for a moderator to migrate.
– Galastel
8 hours ago
1
Welcome to TeX.SX! Please help us help you and add a minimal working example (MWE) that illustrates your problem. Reproducing the problem and finding out what the issue is will be much easier when we see compilable code, starting withdocumentclass{...}
and ending withend{document}
. • Note this is a Q&A site, not a please do this for me service. What do you have so far.
– albert
6 hours ago
For the future, you should provide a MWE, I answered only because you're a new user and I think JouleV's answer, as is, doesn't work for multiline nodes.
– CarLaTeX
1 hour ago
1
1
Hi Mohsen! I think you were looking for TeX - LaTeX. Our SE is for questions about writing - novels, etc. Your question doesn't appear to be about writing. I'm flagging your question for a moderator to migrate.
– Galastel
8 hours ago
Hi Mohsen! I think you were looking for TeX - LaTeX. Our SE is for questions about writing - novels, etc. Your question doesn't appear to be about writing. I'm flagging your question for a moderator to migrate.
– Galastel
8 hours ago
1
1
Welcome to TeX.SX! Please help us help you and add a minimal working example (MWE) that illustrates your problem. Reproducing the problem and finding out what the issue is will be much easier when we see compilable code, starting with
documentclass{...}
and ending with end{document}
. • Note this is a Q&A site, not a please do this for me service. What do you have so far.– albert
6 hours ago
Welcome to TeX.SX! Please help us help you and add a minimal working example (MWE) that illustrates your problem. Reproducing the problem and finding out what the issue is will be much easier when we see compilable code, starting with
documentclass{...}
and ending with end{document}
. • Note this is a Q&A site, not a please do this for me service. What do you have so far.– albert
6 hours ago
For the future, you should provide a MWE, I answered only because you're a new user and I think JouleV's answer, as is, doesn't work for multiline nodes.
– CarLaTeX
1 hour ago
For the future, you should provide a MWE, I answered only because you're a new user and I think JouleV's answer, as is, doesn't work for multiline nodes.
– CarLaTeX
1 hour ago
add a comment |
3 Answers
3
active
oldest
votes
up vote
8
down vote
Welcome to TeX.SX! This is an attempt using simple TikZ.
documentclass{article}
usepackage{tikz}
begin{document}
begin{tikzpicture}[x=1cm,y=0.8cm]
node at (0,0) (a) {1};
node at (1,-1) (b) {2};
node at (0,-2) (c) {3};
node at (-1,-3) (d) {4};
node at (1,-3) (e) {5};
node at (2,-2) (f) {6};
node at (2,0) (g) {7};
node at (3,-1) (h) {8};
node at (3,-3) (i) {9};
node at (4,-2) (j) {10};
draw [->] (a)--(b);
draw [->] (c)--(b);
draw [->] (d)--(c);
draw [->] (c)--(e);
draw [->] (e)--(f);
draw [->] (b)--(f);
draw [->] (b)--(g);
draw [->] (f)--(h);
draw [->] (g)--(h);
draw [->] (f)--(i);
draw [->] (i)--(j);
draw [->] (h)--(j);
end{tikzpicture}
end{document}
The substitution of the numbers are for you (it is easy). (I'm sorry but it is a waste of time to me if I try to replicate your picture.)
You should addalign=center
as a general node style. Otherwise, your solution won't work with multiline nodes.
– CarLaTeX
1 hour ago
add a comment |
up vote
3
down vote
This is a job for tikz-cd
:
documentclass{article}
usepackage{tikz-cd}
usepackage{array}
newcommand{mycell}[1]{begin{array}{c}
#1
end{array}}
begin{document}
[
begin{tikzcd}
&mycell{000 \ 1}ar[dr] & & mycell{111 \ 0}ar[dr]\
&&mycell{111 \ 1}ar[dr]ar[ur] & & mycell{110 \ 0}ar[dr]\
&mycell{011 \ 0}ar[dr]ar[ur] & & mycell{110 \ 1}ar[dr]ar[ur] & & mycell{100\0}\
mycell{001 \ 0}ar[ur] & &mycell{101 \ 1}ar[ur] & & mycell{110 \ 0}ar[ur]\
end{tikzcd}
]
end{document}
I hadn't thought of that, too :-( Very good. I hope to enter my code. It's a little different.
– Sebastiano
5 hours ago
1
@Sebastiano Thank you
– CarLaTeX
3 hours ago
add a comment |
up vote
1
down vote
I was using tikz-cd
with smallmatrix
. Obviously you can change the numbers and set a macro to replace each time the small matrix.
documentclass[a4paper,12pt]{article}
usepackage{tikz-cd}
usepackage{mathtools}
begin{document}
begin{tikzcd}
& begin{smallmatrix} 0 & 0 & 0 \ & 0 & end{smallmatrix} arrow[rd] & & begin{smallmatrix} 1 & 0 & 0 \ & 0 & end{smallmatrix} arrow[rd] & & \
& & begin{smallmatrix} 1 & 1 & 0 \ & 1 & end{smallmatrix} arrow[rd] arrow[ru] & & begin{smallmatrix} 0 & 0 & 0 \ & 1 & end{smallmatrix} arrow[rd] & \
& begin{smallmatrix} 0 & 0 & 0 \ & 1 & end{smallmatrix} arrow[ru] arrow[rd] & & begin{smallmatrix} 0 & 0 & 0 \ & 1 & end{smallmatrix} arrow[ru] arrow[rd] & & begin{smallmatrix} 1 & 0 & 0 \ & 1 & end{smallmatrix} \
begin{smallmatrix} 1 & 1 & 1 \ & 1 & end{smallmatrix} arrow[ru] & & begin{smallmatrix} 0 & 0 & 0 \ & 1 & end{smallmatrix} arrow[ru] & & begin{smallmatrix} 0 & 0 & 0 \ & 0 & end{smallmatrix} arrow[ru] &
end{tikzcd}
end{document}
add a comment |
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
8
down vote
Welcome to TeX.SX! This is an attempt using simple TikZ.
documentclass{article}
usepackage{tikz}
begin{document}
begin{tikzpicture}[x=1cm,y=0.8cm]
node at (0,0) (a) {1};
node at (1,-1) (b) {2};
node at (0,-2) (c) {3};
node at (-1,-3) (d) {4};
node at (1,-3) (e) {5};
node at (2,-2) (f) {6};
node at (2,0) (g) {7};
node at (3,-1) (h) {8};
node at (3,-3) (i) {9};
node at (4,-2) (j) {10};
draw [->] (a)--(b);
draw [->] (c)--(b);
draw [->] (d)--(c);
draw [->] (c)--(e);
draw [->] (e)--(f);
draw [->] (b)--(f);
draw [->] (b)--(g);
draw [->] (f)--(h);
draw [->] (g)--(h);
draw [->] (f)--(i);
draw [->] (i)--(j);
draw [->] (h)--(j);
end{tikzpicture}
end{document}
The substitution of the numbers are for you (it is easy). (I'm sorry but it is a waste of time to me if I try to replicate your picture.)
You should addalign=center
as a general node style. Otherwise, your solution won't work with multiline nodes.
– CarLaTeX
1 hour ago
add a comment |
up vote
8
down vote
Welcome to TeX.SX! This is an attempt using simple TikZ.
documentclass{article}
usepackage{tikz}
begin{document}
begin{tikzpicture}[x=1cm,y=0.8cm]
node at (0,0) (a) {1};
node at (1,-1) (b) {2};
node at (0,-2) (c) {3};
node at (-1,-3) (d) {4};
node at (1,-3) (e) {5};
node at (2,-2) (f) {6};
node at (2,0) (g) {7};
node at (3,-1) (h) {8};
node at (3,-3) (i) {9};
node at (4,-2) (j) {10};
draw [->] (a)--(b);
draw [->] (c)--(b);
draw [->] (d)--(c);
draw [->] (c)--(e);
draw [->] (e)--(f);
draw [->] (b)--(f);
draw [->] (b)--(g);
draw [->] (f)--(h);
draw [->] (g)--(h);
draw [->] (f)--(i);
draw [->] (i)--(j);
draw [->] (h)--(j);
end{tikzpicture}
end{document}
The substitution of the numbers are for you (it is easy). (I'm sorry but it is a waste of time to me if I try to replicate your picture.)
You should addalign=center
as a general node style. Otherwise, your solution won't work with multiline nodes.
– CarLaTeX
1 hour ago
add a comment |
up vote
8
down vote
up vote
8
down vote
Welcome to TeX.SX! This is an attempt using simple TikZ.
documentclass{article}
usepackage{tikz}
begin{document}
begin{tikzpicture}[x=1cm,y=0.8cm]
node at (0,0) (a) {1};
node at (1,-1) (b) {2};
node at (0,-2) (c) {3};
node at (-1,-3) (d) {4};
node at (1,-3) (e) {5};
node at (2,-2) (f) {6};
node at (2,0) (g) {7};
node at (3,-1) (h) {8};
node at (3,-3) (i) {9};
node at (4,-2) (j) {10};
draw [->] (a)--(b);
draw [->] (c)--(b);
draw [->] (d)--(c);
draw [->] (c)--(e);
draw [->] (e)--(f);
draw [->] (b)--(f);
draw [->] (b)--(g);
draw [->] (f)--(h);
draw [->] (g)--(h);
draw [->] (f)--(i);
draw [->] (i)--(j);
draw [->] (h)--(j);
end{tikzpicture}
end{document}
The substitution of the numbers are for you (it is easy). (I'm sorry but it is a waste of time to me if I try to replicate your picture.)
Welcome to TeX.SX! This is an attempt using simple TikZ.
documentclass{article}
usepackage{tikz}
begin{document}
begin{tikzpicture}[x=1cm,y=0.8cm]
node at (0,0) (a) {1};
node at (1,-1) (b) {2};
node at (0,-2) (c) {3};
node at (-1,-3) (d) {4};
node at (1,-3) (e) {5};
node at (2,-2) (f) {6};
node at (2,0) (g) {7};
node at (3,-1) (h) {8};
node at (3,-3) (i) {9};
node at (4,-2) (j) {10};
draw [->] (a)--(b);
draw [->] (c)--(b);
draw [->] (d)--(c);
draw [->] (c)--(e);
draw [->] (e)--(f);
draw [->] (b)--(f);
draw [->] (b)--(g);
draw [->] (f)--(h);
draw [->] (g)--(h);
draw [->] (f)--(i);
draw [->] (i)--(j);
draw [->] (h)--(j);
end{tikzpicture}
end{document}
The substitution of the numbers are for you (it is easy). (I'm sorry but it is a waste of time to me if I try to replicate your picture.)
answered 6 hours ago
JouleV
1,742424
1,742424
You should addalign=center
as a general node style. Otherwise, your solution won't work with multiline nodes.
– CarLaTeX
1 hour ago
add a comment |
You should addalign=center
as a general node style. Otherwise, your solution won't work with multiline nodes.
– CarLaTeX
1 hour ago
You should add
align=center
as a general node style. Otherwise, your solution won't work with multiline nodes.– CarLaTeX
1 hour ago
You should add
align=center
as a general node style. Otherwise, your solution won't work with multiline nodes.– CarLaTeX
1 hour ago
add a comment |
up vote
3
down vote
This is a job for tikz-cd
:
documentclass{article}
usepackage{tikz-cd}
usepackage{array}
newcommand{mycell}[1]{begin{array}{c}
#1
end{array}}
begin{document}
[
begin{tikzcd}
&mycell{000 \ 1}ar[dr] & & mycell{111 \ 0}ar[dr]\
&&mycell{111 \ 1}ar[dr]ar[ur] & & mycell{110 \ 0}ar[dr]\
&mycell{011 \ 0}ar[dr]ar[ur] & & mycell{110 \ 1}ar[dr]ar[ur] & & mycell{100\0}\
mycell{001 \ 0}ar[ur] & &mycell{101 \ 1}ar[ur] & & mycell{110 \ 0}ar[ur]\
end{tikzcd}
]
end{document}
I hadn't thought of that, too :-( Very good. I hope to enter my code. It's a little different.
– Sebastiano
5 hours ago
1
@Sebastiano Thank you
– CarLaTeX
3 hours ago
add a comment |
up vote
3
down vote
This is a job for tikz-cd
:
documentclass{article}
usepackage{tikz-cd}
usepackage{array}
newcommand{mycell}[1]{begin{array}{c}
#1
end{array}}
begin{document}
[
begin{tikzcd}
&mycell{000 \ 1}ar[dr] & & mycell{111 \ 0}ar[dr]\
&&mycell{111 \ 1}ar[dr]ar[ur] & & mycell{110 \ 0}ar[dr]\
&mycell{011 \ 0}ar[dr]ar[ur] & & mycell{110 \ 1}ar[dr]ar[ur] & & mycell{100\0}\
mycell{001 \ 0}ar[ur] & &mycell{101 \ 1}ar[ur] & & mycell{110 \ 0}ar[ur]\
end{tikzcd}
]
end{document}
I hadn't thought of that, too :-( Very good. I hope to enter my code. It's a little different.
– Sebastiano
5 hours ago
1
@Sebastiano Thank you
– CarLaTeX
3 hours ago
add a comment |
up vote
3
down vote
up vote
3
down vote
This is a job for tikz-cd
:
documentclass{article}
usepackage{tikz-cd}
usepackage{array}
newcommand{mycell}[1]{begin{array}{c}
#1
end{array}}
begin{document}
[
begin{tikzcd}
&mycell{000 \ 1}ar[dr] & & mycell{111 \ 0}ar[dr]\
&&mycell{111 \ 1}ar[dr]ar[ur] & & mycell{110 \ 0}ar[dr]\
&mycell{011 \ 0}ar[dr]ar[ur] & & mycell{110 \ 1}ar[dr]ar[ur] & & mycell{100\0}\
mycell{001 \ 0}ar[ur] & &mycell{101 \ 1}ar[ur] & & mycell{110 \ 0}ar[ur]\
end{tikzcd}
]
end{document}
This is a job for tikz-cd
:
documentclass{article}
usepackage{tikz-cd}
usepackage{array}
newcommand{mycell}[1]{begin{array}{c}
#1
end{array}}
begin{document}
[
begin{tikzcd}
&mycell{000 \ 1}ar[dr] & & mycell{111 \ 0}ar[dr]\
&&mycell{111 \ 1}ar[dr]ar[ur] & & mycell{110 \ 0}ar[dr]\
&mycell{011 \ 0}ar[dr]ar[ur] & & mycell{110 \ 1}ar[dr]ar[ur] & & mycell{100\0}\
mycell{001 \ 0}ar[ur] & &mycell{101 \ 1}ar[ur] & & mycell{110 \ 0}ar[ur]\
end{tikzcd}
]
end{document}
answered 5 hours ago
CarLaTeX
28.5k446122
28.5k446122
I hadn't thought of that, too :-( Very good. I hope to enter my code. It's a little different.
– Sebastiano
5 hours ago
1
@Sebastiano Thank you
– CarLaTeX
3 hours ago
add a comment |
I hadn't thought of that, too :-( Very good. I hope to enter my code. It's a little different.
– Sebastiano
5 hours ago
1
@Sebastiano Thank you
– CarLaTeX
3 hours ago
I hadn't thought of that, too :-( Very good. I hope to enter my code. It's a little different.
– Sebastiano
5 hours ago
I hadn't thought of that, too :-( Very good. I hope to enter my code. It's a little different.
– Sebastiano
5 hours ago
1
1
@Sebastiano Thank you
– CarLaTeX
3 hours ago
@Sebastiano Thank you
– CarLaTeX
3 hours ago
add a comment |
up vote
1
down vote
I was using tikz-cd
with smallmatrix
. Obviously you can change the numbers and set a macro to replace each time the small matrix.
documentclass[a4paper,12pt]{article}
usepackage{tikz-cd}
usepackage{mathtools}
begin{document}
begin{tikzcd}
& begin{smallmatrix} 0 & 0 & 0 \ & 0 & end{smallmatrix} arrow[rd] & & begin{smallmatrix} 1 & 0 & 0 \ & 0 & end{smallmatrix} arrow[rd] & & \
& & begin{smallmatrix} 1 & 1 & 0 \ & 1 & end{smallmatrix} arrow[rd] arrow[ru] & & begin{smallmatrix} 0 & 0 & 0 \ & 1 & end{smallmatrix} arrow[rd] & \
& begin{smallmatrix} 0 & 0 & 0 \ & 1 & end{smallmatrix} arrow[ru] arrow[rd] & & begin{smallmatrix} 0 & 0 & 0 \ & 1 & end{smallmatrix} arrow[ru] arrow[rd] & & begin{smallmatrix} 1 & 0 & 0 \ & 1 & end{smallmatrix} \
begin{smallmatrix} 1 & 1 & 1 \ & 1 & end{smallmatrix} arrow[ru] & & begin{smallmatrix} 0 & 0 & 0 \ & 1 & end{smallmatrix} arrow[ru] & & begin{smallmatrix} 0 & 0 & 0 \ & 0 & end{smallmatrix} arrow[ru] &
end{tikzcd}
end{document}
add a comment |
up vote
1
down vote
I was using tikz-cd
with smallmatrix
. Obviously you can change the numbers and set a macro to replace each time the small matrix.
documentclass[a4paper,12pt]{article}
usepackage{tikz-cd}
usepackage{mathtools}
begin{document}
begin{tikzcd}
& begin{smallmatrix} 0 & 0 & 0 \ & 0 & end{smallmatrix} arrow[rd] & & begin{smallmatrix} 1 & 0 & 0 \ & 0 & end{smallmatrix} arrow[rd] & & \
& & begin{smallmatrix} 1 & 1 & 0 \ & 1 & end{smallmatrix} arrow[rd] arrow[ru] & & begin{smallmatrix} 0 & 0 & 0 \ & 1 & end{smallmatrix} arrow[rd] & \
& begin{smallmatrix} 0 & 0 & 0 \ & 1 & end{smallmatrix} arrow[ru] arrow[rd] & & begin{smallmatrix} 0 & 0 & 0 \ & 1 & end{smallmatrix} arrow[ru] arrow[rd] & & begin{smallmatrix} 1 & 0 & 0 \ & 1 & end{smallmatrix} \
begin{smallmatrix} 1 & 1 & 1 \ & 1 & end{smallmatrix} arrow[ru] & & begin{smallmatrix} 0 & 0 & 0 \ & 1 & end{smallmatrix} arrow[ru] & & begin{smallmatrix} 0 & 0 & 0 \ & 0 & end{smallmatrix} arrow[ru] &
end{tikzcd}
end{document}
add a comment |
up vote
1
down vote
up vote
1
down vote
I was using tikz-cd
with smallmatrix
. Obviously you can change the numbers and set a macro to replace each time the small matrix.
documentclass[a4paper,12pt]{article}
usepackage{tikz-cd}
usepackage{mathtools}
begin{document}
begin{tikzcd}
& begin{smallmatrix} 0 & 0 & 0 \ & 0 & end{smallmatrix} arrow[rd] & & begin{smallmatrix} 1 & 0 & 0 \ & 0 & end{smallmatrix} arrow[rd] & & \
& & begin{smallmatrix} 1 & 1 & 0 \ & 1 & end{smallmatrix} arrow[rd] arrow[ru] & & begin{smallmatrix} 0 & 0 & 0 \ & 1 & end{smallmatrix} arrow[rd] & \
& begin{smallmatrix} 0 & 0 & 0 \ & 1 & end{smallmatrix} arrow[ru] arrow[rd] & & begin{smallmatrix} 0 & 0 & 0 \ & 1 & end{smallmatrix} arrow[ru] arrow[rd] & & begin{smallmatrix} 1 & 0 & 0 \ & 1 & end{smallmatrix} \
begin{smallmatrix} 1 & 1 & 1 \ & 1 & end{smallmatrix} arrow[ru] & & begin{smallmatrix} 0 & 0 & 0 \ & 1 & end{smallmatrix} arrow[ru] & & begin{smallmatrix} 0 & 0 & 0 \ & 0 & end{smallmatrix} arrow[ru] &
end{tikzcd}
end{document}
I was using tikz-cd
with smallmatrix
. Obviously you can change the numbers and set a macro to replace each time the small matrix.
documentclass[a4paper,12pt]{article}
usepackage{tikz-cd}
usepackage{mathtools}
begin{document}
begin{tikzcd}
& begin{smallmatrix} 0 & 0 & 0 \ & 0 & end{smallmatrix} arrow[rd] & & begin{smallmatrix} 1 & 0 & 0 \ & 0 & end{smallmatrix} arrow[rd] & & \
& & begin{smallmatrix} 1 & 1 & 0 \ & 1 & end{smallmatrix} arrow[rd] arrow[ru] & & begin{smallmatrix} 0 & 0 & 0 \ & 1 & end{smallmatrix} arrow[rd] & \
& begin{smallmatrix} 0 & 0 & 0 \ & 1 & end{smallmatrix} arrow[ru] arrow[rd] & & begin{smallmatrix} 0 & 0 & 0 \ & 1 & end{smallmatrix} arrow[ru] arrow[rd] & & begin{smallmatrix} 1 & 0 & 0 \ & 1 & end{smallmatrix} \
begin{smallmatrix} 1 & 1 & 1 \ & 1 & end{smallmatrix} arrow[ru] & & begin{smallmatrix} 0 & 0 & 0 \ & 1 & end{smallmatrix} arrow[ru] & & begin{smallmatrix} 0 & 0 & 0 \ & 0 & end{smallmatrix} arrow[ru] &
end{tikzcd}
end{document}
answered 5 hours ago
Sebastiano
8,53341756
8,53341756
add a comment |
add a comment |
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
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
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f463961%2fdrawing-a-diagram-in-latex%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
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
Required, but never shown
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
Required, but never shown
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
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
Hi Mohsen! I think you were looking for TeX - LaTeX. Our SE is for questions about writing - novels, etc. Your question doesn't appear to be about writing. I'm flagging your question for a moderator to migrate.
– Galastel
8 hours ago
1
Welcome to TeX.SX! Please help us help you and add a minimal working example (MWE) that illustrates your problem. Reproducing the problem and finding out what the issue is will be much easier when we see compilable code, starting with
documentclass{...}
and ending withend{document}
. • Note this is a Q&A site, not a please do this for me service. What do you have so far.– albert
6 hours ago
For the future, you should provide a MWE, I answered only because you're a new user and I think JouleV's answer, as is, doesn't work for multiline nodes.
– CarLaTeX
1 hour ago