How to Recreate this in LaTeX? (Unsure What the Notation is Called)
How would I produce a diagram like this in LaTeX? It's from my book, and I'd like to be able to answer the questions from the section in this format.
automata
New contributor
add a comment |
How would I produce a diagram like this in LaTeX? It's from my book, and I'd like to be able to answer the questions from the section in this format.
automata
New contributor
Welcome to TeX SX! You can do that very easily withtikz-cd
.
– Bernard
5 hours ago
add a comment |
How would I produce a diagram like this in LaTeX? It's from my book, and I'd like to be able to answer the questions from the section in this format.
automata
New contributor
How would I produce a diagram like this in LaTeX? It's from my book, and I'd like to be able to answer the questions from the section in this format.
automata
automata
New contributor
New contributor
New contributor
asked 5 hours ago
MeaninglessCodeMeaninglessCode
61
61
New contributor
New contributor
Welcome to TeX SX! You can do that very easily withtikz-cd
.
– Bernard
5 hours ago
add a comment |
Welcome to TeX SX! You can do that very easily withtikz-cd
.
– Bernard
5 hours ago
Welcome to TeX SX! You can do that very easily with
tikz-cd
.– Bernard
5 hours ago
Welcome to TeX SX! You can do that very easily with
tikz-cd
.– Bernard
5 hours ago
add a comment |
1 Answer
1
active
oldest
votes
As Bernard says, it can be done with tikz-cd
. (@Bernard: saying something of that sort doesn't mean I didn't know that, of course I did, but it is IMHO nicer to acknowledge comments that go in the same direction as an answer that one is going to post.) You need to move the commas and so on yourself.
documentclass{article}
usepackage{tikz-cd}
usepackage{amsmath}
begin{document}
tikzcdset{every arrow/.append style = {-latex}}
[ begin{tikzcd}
(q_0,111,Z_0) ar[dr] ar[d]& & \
(q_0,111,Z_0) ar[dr] ar[d]& (q_1,111,Z_0)ar[r] & (q_2,111,Z_0) \
(q_0,111,Z_0) ar[dr] ar[d]& (q_1,111,Z_0)ar[r] & (q_2,111,Z_0) ar[d] \
(q_0,111,Z_0) ar[dr] ar[d]& (q_1,111,Z_0) ar[dr] & (q_2,111,Z_0) \
(q_0,111,Z_0) ar[d]& (q_1,111,Z_0)ar[d] & (q_2,111,Z_0) ar[d] \
(q_0,111,Z_0) & (q_1,111,Z_0) & (q_2,111,Z_0) ar[d] \
& & (q_2,111,Z_0) \
end{tikzcd}]
end{document}
Not exactly the same as the one on page 188 of Comp 335 by David Ford down the road from you ? at Concordia Montreal but it proves you can convert pdftex to pdf to png to html to tex to pdfLaTeX to html without a loss in quality or a single pandoc step in sight :-)
– KJO
56 mins ago
@KJO I probably need another day or so to understand this one. ... ;-)
– marmot
46 mins ago
Just that the original written in Montreal Uni was obtained by OP as PDF they converted to PNG on this web page You rewrote the tex ….. and all done by hand or paw
– KJO
37 mins ago
@KJO Claws. Marmots have claws.
– marmot
28 mins ago
OK consider my wrists slapped
– KJO
27 mins ago
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
MeaninglessCode is a new contributor. Be nice, and check out our Code of Conduct.
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%2f483063%2fhow-to-recreate-this-in-latex-unsure-what-the-notation-is-called%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
As Bernard says, it can be done with tikz-cd
. (@Bernard: saying something of that sort doesn't mean I didn't know that, of course I did, but it is IMHO nicer to acknowledge comments that go in the same direction as an answer that one is going to post.) You need to move the commas and so on yourself.
documentclass{article}
usepackage{tikz-cd}
usepackage{amsmath}
begin{document}
tikzcdset{every arrow/.append style = {-latex}}
[ begin{tikzcd}
(q_0,111,Z_0) ar[dr] ar[d]& & \
(q_0,111,Z_0) ar[dr] ar[d]& (q_1,111,Z_0)ar[r] & (q_2,111,Z_0) \
(q_0,111,Z_0) ar[dr] ar[d]& (q_1,111,Z_0)ar[r] & (q_2,111,Z_0) ar[d] \
(q_0,111,Z_0) ar[dr] ar[d]& (q_1,111,Z_0) ar[dr] & (q_2,111,Z_0) \
(q_0,111,Z_0) ar[d]& (q_1,111,Z_0)ar[d] & (q_2,111,Z_0) ar[d] \
(q_0,111,Z_0) & (q_1,111,Z_0) & (q_2,111,Z_0) ar[d] \
& & (q_2,111,Z_0) \
end{tikzcd}]
end{document}
Not exactly the same as the one on page 188 of Comp 335 by David Ford down the road from you ? at Concordia Montreal but it proves you can convert pdftex to pdf to png to html to tex to pdfLaTeX to html without a loss in quality or a single pandoc step in sight :-)
– KJO
56 mins ago
@KJO I probably need another day or so to understand this one. ... ;-)
– marmot
46 mins ago
Just that the original written in Montreal Uni was obtained by OP as PDF they converted to PNG on this web page You rewrote the tex ….. and all done by hand or paw
– KJO
37 mins ago
@KJO Claws. Marmots have claws.
– marmot
28 mins ago
OK consider my wrists slapped
– KJO
27 mins ago
add a comment |
As Bernard says, it can be done with tikz-cd
. (@Bernard: saying something of that sort doesn't mean I didn't know that, of course I did, but it is IMHO nicer to acknowledge comments that go in the same direction as an answer that one is going to post.) You need to move the commas and so on yourself.
documentclass{article}
usepackage{tikz-cd}
usepackage{amsmath}
begin{document}
tikzcdset{every arrow/.append style = {-latex}}
[ begin{tikzcd}
(q_0,111,Z_0) ar[dr] ar[d]& & \
(q_0,111,Z_0) ar[dr] ar[d]& (q_1,111,Z_0)ar[r] & (q_2,111,Z_0) \
(q_0,111,Z_0) ar[dr] ar[d]& (q_1,111,Z_0)ar[r] & (q_2,111,Z_0) ar[d] \
(q_0,111,Z_0) ar[dr] ar[d]& (q_1,111,Z_0) ar[dr] & (q_2,111,Z_0) \
(q_0,111,Z_0) ar[d]& (q_1,111,Z_0)ar[d] & (q_2,111,Z_0) ar[d] \
(q_0,111,Z_0) & (q_1,111,Z_0) & (q_2,111,Z_0) ar[d] \
& & (q_2,111,Z_0) \
end{tikzcd}]
end{document}
Not exactly the same as the one on page 188 of Comp 335 by David Ford down the road from you ? at Concordia Montreal but it proves you can convert pdftex to pdf to png to html to tex to pdfLaTeX to html without a loss in quality or a single pandoc step in sight :-)
– KJO
56 mins ago
@KJO I probably need another day or so to understand this one. ... ;-)
– marmot
46 mins ago
Just that the original written in Montreal Uni was obtained by OP as PDF they converted to PNG on this web page You rewrote the tex ….. and all done by hand or paw
– KJO
37 mins ago
@KJO Claws. Marmots have claws.
– marmot
28 mins ago
OK consider my wrists slapped
– KJO
27 mins ago
add a comment |
As Bernard says, it can be done with tikz-cd
. (@Bernard: saying something of that sort doesn't mean I didn't know that, of course I did, but it is IMHO nicer to acknowledge comments that go in the same direction as an answer that one is going to post.) You need to move the commas and so on yourself.
documentclass{article}
usepackage{tikz-cd}
usepackage{amsmath}
begin{document}
tikzcdset{every arrow/.append style = {-latex}}
[ begin{tikzcd}
(q_0,111,Z_0) ar[dr] ar[d]& & \
(q_0,111,Z_0) ar[dr] ar[d]& (q_1,111,Z_0)ar[r] & (q_2,111,Z_0) \
(q_0,111,Z_0) ar[dr] ar[d]& (q_1,111,Z_0)ar[r] & (q_2,111,Z_0) ar[d] \
(q_0,111,Z_0) ar[dr] ar[d]& (q_1,111,Z_0) ar[dr] & (q_2,111,Z_0) \
(q_0,111,Z_0) ar[d]& (q_1,111,Z_0)ar[d] & (q_2,111,Z_0) ar[d] \
(q_0,111,Z_0) & (q_1,111,Z_0) & (q_2,111,Z_0) ar[d] \
& & (q_2,111,Z_0) \
end{tikzcd}]
end{document}
As Bernard says, it can be done with tikz-cd
. (@Bernard: saying something of that sort doesn't mean I didn't know that, of course I did, but it is IMHO nicer to acknowledge comments that go in the same direction as an answer that one is going to post.) You need to move the commas and so on yourself.
documentclass{article}
usepackage{tikz-cd}
usepackage{amsmath}
begin{document}
tikzcdset{every arrow/.append style = {-latex}}
[ begin{tikzcd}
(q_0,111,Z_0) ar[dr] ar[d]& & \
(q_0,111,Z_0) ar[dr] ar[d]& (q_1,111,Z_0)ar[r] & (q_2,111,Z_0) \
(q_0,111,Z_0) ar[dr] ar[d]& (q_1,111,Z_0)ar[r] & (q_2,111,Z_0) ar[d] \
(q_0,111,Z_0) ar[dr] ar[d]& (q_1,111,Z_0) ar[dr] & (q_2,111,Z_0) \
(q_0,111,Z_0) ar[d]& (q_1,111,Z_0)ar[d] & (q_2,111,Z_0) ar[d] \
(q_0,111,Z_0) & (q_1,111,Z_0) & (q_2,111,Z_0) ar[d] \
& & (q_2,111,Z_0) \
end{tikzcd}]
end{document}
edited 4 hours ago
answered 5 hours ago
marmotmarmot
114k5145276
114k5145276
Not exactly the same as the one on page 188 of Comp 335 by David Ford down the road from you ? at Concordia Montreal but it proves you can convert pdftex to pdf to png to html to tex to pdfLaTeX to html without a loss in quality or a single pandoc step in sight :-)
– KJO
56 mins ago
@KJO I probably need another day or so to understand this one. ... ;-)
– marmot
46 mins ago
Just that the original written in Montreal Uni was obtained by OP as PDF they converted to PNG on this web page You rewrote the tex ….. and all done by hand or paw
– KJO
37 mins ago
@KJO Claws. Marmots have claws.
– marmot
28 mins ago
OK consider my wrists slapped
– KJO
27 mins ago
add a comment |
Not exactly the same as the one on page 188 of Comp 335 by David Ford down the road from you ? at Concordia Montreal but it proves you can convert pdftex to pdf to png to html to tex to pdfLaTeX to html without a loss in quality or a single pandoc step in sight :-)
– KJO
56 mins ago
@KJO I probably need another day or so to understand this one. ... ;-)
– marmot
46 mins ago
Just that the original written in Montreal Uni was obtained by OP as PDF they converted to PNG on this web page You rewrote the tex ….. and all done by hand or paw
– KJO
37 mins ago
@KJO Claws. Marmots have claws.
– marmot
28 mins ago
OK consider my wrists slapped
– KJO
27 mins ago
Not exactly the same as the one on page 188 of Comp 335 by David Ford down the road from you ? at Concordia Montreal but it proves you can convert pdftex to pdf to png to html to tex to pdfLaTeX to html without a loss in quality or a single pandoc step in sight :-)
– KJO
56 mins ago
Not exactly the same as the one on page 188 of Comp 335 by David Ford down the road from you ? at Concordia Montreal but it proves you can convert pdftex to pdf to png to html to tex to pdfLaTeX to html without a loss in quality or a single pandoc step in sight :-)
– KJO
56 mins ago
@KJO I probably need another day or so to understand this one. ... ;-)
– marmot
46 mins ago
@KJO I probably need another day or so to understand this one. ... ;-)
– marmot
46 mins ago
Just that the original written in Montreal Uni was obtained by OP as PDF they converted to PNG on this web page You rewrote the tex ….. and all done by hand or paw
– KJO
37 mins ago
Just that the original written in Montreal Uni was obtained by OP as PDF they converted to PNG on this web page You rewrote the tex ….. and all done by hand or paw
– KJO
37 mins ago
@KJO Claws. Marmots have claws.
– marmot
28 mins ago
@KJO Claws. Marmots have claws.
– marmot
28 mins ago
OK consider my wrists slapped
– KJO
27 mins ago
OK consider my wrists slapped
– KJO
27 mins ago
add a comment |
MeaninglessCode is a new contributor. Be nice, and check out our Code of Conduct.
MeaninglessCode is a new contributor. Be nice, and check out our Code of Conduct.
MeaninglessCode is a new contributor. Be nice, and check out our Code of Conduct.
MeaninglessCode is a new contributor. Be nice, and check out our Code of Conduct.
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.
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%2f483063%2fhow-to-recreate-this-in-latex-unsure-what-the-notation-is-called%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
Welcome to TeX SX! You can do that very easily with
tikz-cd
.– Bernard
5 hours ago