Natural transformation commutative square
How can I create this diagram with xymatrix
?
The result of my try is
[
raise 23pt
vbox{
xymatrixcolsep{2.5pc}
xymatrixrowsep{2.4pc}
xymatrix{
A'ar[d]_{u'}ar[r]^{v}
ar@{-->}[dr]_{alpha}
&Aar[d]^{u}
\
B'ar[r]_{w}
&B
&hskip -30pt,
}
}
]
But the result is an arrow from letters and I need arrow from arrows.
commutative-diagrams xymatrix
New contributor
add a comment |
How can I create this diagram with xymatrix
?
The result of my try is
[
raise 23pt
vbox{
xymatrixcolsep{2.5pc}
xymatrixrowsep{2.4pc}
xymatrix{
A'ar[d]_{u'}ar[r]^{v}
ar@{-->}[dr]_{alpha}
&Aar[d]^{u}
\
B'ar[r]_{w}
&B
&hskip -30pt,
}
}
]
But the result is an arrow from letters and I need arrow from arrows.
commutative-diagrams xymatrix
New contributor
add a comment |
How can I create this diagram with xymatrix
?
The result of my try is
[
raise 23pt
vbox{
xymatrixcolsep{2.5pc}
xymatrixrowsep{2.4pc}
xymatrix{
A'ar[d]_{u'}ar[r]^{v}
ar@{-->}[dr]_{alpha}
&Aar[d]^{u}
\
B'ar[r]_{w}
&B
&hskip -30pt,
}
}
]
But the result is an arrow from letters and I need arrow from arrows.
commutative-diagrams xymatrix
New contributor
How can I create this diagram with xymatrix
?
The result of my try is
[
raise 23pt
vbox{
xymatrixcolsep{2.5pc}
xymatrixrowsep{2.4pc}
xymatrix{
A'ar[d]_{u'}ar[r]^{v}
ar@{-->}[dr]_{alpha}
&Aar[d]^{u}
\
B'ar[r]_{w}
&B
&hskip -30pt,
}
}
]
But the result is an arrow from letters and I need arrow from arrows.
commutative-diagrams xymatrix
commutative-diagrams xymatrix
New contributor
New contributor
edited 2 hours ago
CarLaTeX
29.8k447127
29.8k447127
New contributor
asked 2 hours ago
jhon hass
61
61
New contributor
New contributor
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
Use a 3x3
matrix and then the dashed arrow starts at position (2,1)
and ends at (1,2)
.
You can also control the distance between cols and rows with @C=
and @R=
.
documentclass[margin=2mm]{standalone}
usepackage[all]{xy}
begin{document}
$xymatrix@R=1cm@C=1cm{
A' ar[dd]_{u'} ar[rr]^{v} && A ar[dd]^{u} \
ar@{-->}[ur]_{alpha} && \
B' ar[rr]_{w} && B
}$
end{document}
add a comment |
I would like to show an alternative solution with tikzcd
, because with this package there is no need to add additional columns, you can name the labels and draw arrows between them directly.
documentclass{article}
usepackage{amsmath,amsfonts}
usepackage{tikz-cd}
begin{document}
begin{tikzcd}[
column sep=36pt,
row sep=36pt
]
A' ar[d, swap, "u'"{name=fromhere}]ar[r, "v"{name=tohere}] & Aar[d,"u"] \
B'ar[r,"w", swap] & B
arrow[
dashed,"alpha", from=fromhere, to=tohere, swap, start anchor={east},
end anchor={south}, shorten >=2pt, shorten <=2pt
]
end{tikzcd}
end{document}
If you like the arrow tips similar to the xymatrix
one, you can use Straight Barb
(or any other style from TikZ), this way:
documentclass{article}
usepackage{amsmath,amsfonts}
usepackage{tikz-cd}
usetikzlibrary{arrows.meta}
tikzcdset{arrow style=tikz, diagrams={>={Straight Barb[length=4pt,width=3pt]}}}
begin{document}
begin{tikzcd}[
column sep=36pt,
row sep=36pt
]
A' ar[d, swap, "u'"{name=fromhere}]ar[r, "v"{name=tohere}] & Aar[d,"u"] \
B'ar[r,"w", swap] & B
arrow[
dashed,"alpha", from=fromhere, to=tohere, swap, start anchor={east},
end anchor={south}, shorten >=2pt, shorten <=2pt
]
end{tikzcd}
end{document}
I like, for my opinion, the tip of the vector of xymatrix. But In tikz-cd is there the same tip? I have seen many times the guide, but I have not finded nothing.
– Sebastiano
1 hour ago
@Sebastiano I found something similar in one answer of mine: tex.stackexchange.com/a/457119/101651. See my renewed answer.
– CarLaTeX
54 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
});
}
});
jhon hass 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%2f468577%2fnatural-transformation-commutative-square%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Use a 3x3
matrix and then the dashed arrow starts at position (2,1)
and ends at (1,2)
.
You can also control the distance between cols and rows with @C=
and @R=
.
documentclass[margin=2mm]{standalone}
usepackage[all]{xy}
begin{document}
$xymatrix@R=1cm@C=1cm{
A' ar[dd]_{u'} ar[rr]^{v} && A ar[dd]^{u} \
ar@{-->}[ur]_{alpha} && \
B' ar[rr]_{w} && B
}$
end{document}
add a comment |
Use a 3x3
matrix and then the dashed arrow starts at position (2,1)
and ends at (1,2)
.
You can also control the distance between cols and rows with @C=
and @R=
.
documentclass[margin=2mm]{standalone}
usepackage[all]{xy}
begin{document}
$xymatrix@R=1cm@C=1cm{
A' ar[dd]_{u'} ar[rr]^{v} && A ar[dd]^{u} \
ar@{-->}[ur]_{alpha} && \
B' ar[rr]_{w} && B
}$
end{document}
add a comment |
Use a 3x3
matrix and then the dashed arrow starts at position (2,1)
and ends at (1,2)
.
You can also control the distance between cols and rows with @C=
and @R=
.
documentclass[margin=2mm]{standalone}
usepackage[all]{xy}
begin{document}
$xymatrix@R=1cm@C=1cm{
A' ar[dd]_{u'} ar[rr]^{v} && A ar[dd]^{u} \
ar@{-->}[ur]_{alpha} && \
B' ar[rr]_{w} && B
}$
end{document}
Use a 3x3
matrix and then the dashed arrow starts at position (2,1)
and ends at (1,2)
.
You can also control the distance between cols and rows with @C=
and @R=
.
documentclass[margin=2mm]{standalone}
usepackage[all]{xy}
begin{document}
$xymatrix@R=1cm@C=1cm{
A' ar[dd]_{u'} ar[rr]^{v} && A ar[dd]^{u} \
ar@{-->}[ur]_{alpha} && \
B' ar[rr]_{w} && B
}$
end{document}
answered 2 hours ago
Sigur
24.1k355137
24.1k355137
add a comment |
add a comment |
I would like to show an alternative solution with tikzcd
, because with this package there is no need to add additional columns, you can name the labels and draw arrows between them directly.
documentclass{article}
usepackage{amsmath,amsfonts}
usepackage{tikz-cd}
begin{document}
begin{tikzcd}[
column sep=36pt,
row sep=36pt
]
A' ar[d, swap, "u'"{name=fromhere}]ar[r, "v"{name=tohere}] & Aar[d,"u"] \
B'ar[r,"w", swap] & B
arrow[
dashed,"alpha", from=fromhere, to=tohere, swap, start anchor={east},
end anchor={south}, shorten >=2pt, shorten <=2pt
]
end{tikzcd}
end{document}
If you like the arrow tips similar to the xymatrix
one, you can use Straight Barb
(or any other style from TikZ), this way:
documentclass{article}
usepackage{amsmath,amsfonts}
usepackage{tikz-cd}
usetikzlibrary{arrows.meta}
tikzcdset{arrow style=tikz, diagrams={>={Straight Barb[length=4pt,width=3pt]}}}
begin{document}
begin{tikzcd}[
column sep=36pt,
row sep=36pt
]
A' ar[d, swap, "u'"{name=fromhere}]ar[r, "v"{name=tohere}] & Aar[d,"u"] \
B'ar[r,"w", swap] & B
arrow[
dashed,"alpha", from=fromhere, to=tohere, swap, start anchor={east},
end anchor={south}, shorten >=2pt, shorten <=2pt
]
end{tikzcd}
end{document}
I like, for my opinion, the tip of the vector of xymatrix. But In tikz-cd is there the same tip? I have seen many times the guide, but I have not finded nothing.
– Sebastiano
1 hour ago
@Sebastiano I found something similar in one answer of mine: tex.stackexchange.com/a/457119/101651. See my renewed answer.
– CarLaTeX
54 mins ago
add a comment |
I would like to show an alternative solution with tikzcd
, because with this package there is no need to add additional columns, you can name the labels and draw arrows between them directly.
documentclass{article}
usepackage{amsmath,amsfonts}
usepackage{tikz-cd}
begin{document}
begin{tikzcd}[
column sep=36pt,
row sep=36pt
]
A' ar[d, swap, "u'"{name=fromhere}]ar[r, "v"{name=tohere}] & Aar[d,"u"] \
B'ar[r,"w", swap] & B
arrow[
dashed,"alpha", from=fromhere, to=tohere, swap, start anchor={east},
end anchor={south}, shorten >=2pt, shorten <=2pt
]
end{tikzcd}
end{document}
If you like the arrow tips similar to the xymatrix
one, you can use Straight Barb
(or any other style from TikZ), this way:
documentclass{article}
usepackage{amsmath,amsfonts}
usepackage{tikz-cd}
usetikzlibrary{arrows.meta}
tikzcdset{arrow style=tikz, diagrams={>={Straight Barb[length=4pt,width=3pt]}}}
begin{document}
begin{tikzcd}[
column sep=36pt,
row sep=36pt
]
A' ar[d, swap, "u'"{name=fromhere}]ar[r, "v"{name=tohere}] & Aar[d,"u"] \
B'ar[r,"w", swap] & B
arrow[
dashed,"alpha", from=fromhere, to=tohere, swap, start anchor={east},
end anchor={south}, shorten >=2pt, shorten <=2pt
]
end{tikzcd}
end{document}
I like, for my opinion, the tip of the vector of xymatrix. But In tikz-cd is there the same tip? I have seen many times the guide, but I have not finded nothing.
– Sebastiano
1 hour ago
@Sebastiano I found something similar in one answer of mine: tex.stackexchange.com/a/457119/101651. See my renewed answer.
– CarLaTeX
54 mins ago
add a comment |
I would like to show an alternative solution with tikzcd
, because with this package there is no need to add additional columns, you can name the labels and draw arrows between them directly.
documentclass{article}
usepackage{amsmath,amsfonts}
usepackage{tikz-cd}
begin{document}
begin{tikzcd}[
column sep=36pt,
row sep=36pt
]
A' ar[d, swap, "u'"{name=fromhere}]ar[r, "v"{name=tohere}] & Aar[d,"u"] \
B'ar[r,"w", swap] & B
arrow[
dashed,"alpha", from=fromhere, to=tohere, swap, start anchor={east},
end anchor={south}, shorten >=2pt, shorten <=2pt
]
end{tikzcd}
end{document}
If you like the arrow tips similar to the xymatrix
one, you can use Straight Barb
(or any other style from TikZ), this way:
documentclass{article}
usepackage{amsmath,amsfonts}
usepackage{tikz-cd}
usetikzlibrary{arrows.meta}
tikzcdset{arrow style=tikz, diagrams={>={Straight Barb[length=4pt,width=3pt]}}}
begin{document}
begin{tikzcd}[
column sep=36pt,
row sep=36pt
]
A' ar[d, swap, "u'"{name=fromhere}]ar[r, "v"{name=tohere}] & Aar[d,"u"] \
B'ar[r,"w", swap] & B
arrow[
dashed,"alpha", from=fromhere, to=tohere, swap, start anchor={east},
end anchor={south}, shorten >=2pt, shorten <=2pt
]
end{tikzcd}
end{document}
I would like to show an alternative solution with tikzcd
, because with this package there is no need to add additional columns, you can name the labels and draw arrows between them directly.
documentclass{article}
usepackage{amsmath,amsfonts}
usepackage{tikz-cd}
begin{document}
begin{tikzcd}[
column sep=36pt,
row sep=36pt
]
A' ar[d, swap, "u'"{name=fromhere}]ar[r, "v"{name=tohere}] & Aar[d,"u"] \
B'ar[r,"w", swap] & B
arrow[
dashed,"alpha", from=fromhere, to=tohere, swap, start anchor={east},
end anchor={south}, shorten >=2pt, shorten <=2pt
]
end{tikzcd}
end{document}
If you like the arrow tips similar to the xymatrix
one, you can use Straight Barb
(or any other style from TikZ), this way:
documentclass{article}
usepackage{amsmath,amsfonts}
usepackage{tikz-cd}
usetikzlibrary{arrows.meta}
tikzcdset{arrow style=tikz, diagrams={>={Straight Barb[length=4pt,width=3pt]}}}
begin{document}
begin{tikzcd}[
column sep=36pt,
row sep=36pt
]
A' ar[d, swap, "u'"{name=fromhere}]ar[r, "v"{name=tohere}] & Aar[d,"u"] \
B'ar[r,"w", swap] & B
arrow[
dashed,"alpha", from=fromhere, to=tohere, swap, start anchor={east},
end anchor={south}, shorten >=2pt, shorten <=2pt
]
end{tikzcd}
end{document}
edited 54 mins ago
answered 2 hours ago
CarLaTeX
29.8k447127
29.8k447127
I like, for my opinion, the tip of the vector of xymatrix. But In tikz-cd is there the same tip? I have seen many times the guide, but I have not finded nothing.
– Sebastiano
1 hour ago
@Sebastiano I found something similar in one answer of mine: tex.stackexchange.com/a/457119/101651. See my renewed answer.
– CarLaTeX
54 mins ago
add a comment |
I like, for my opinion, the tip of the vector of xymatrix. But In tikz-cd is there the same tip? I have seen many times the guide, but I have not finded nothing.
– Sebastiano
1 hour ago
@Sebastiano I found something similar in one answer of mine: tex.stackexchange.com/a/457119/101651. See my renewed answer.
– CarLaTeX
54 mins ago
I like, for my opinion, the tip of the vector of xymatrix. But In tikz-cd is there the same tip? I have seen many times the guide, but I have not finded nothing.
– Sebastiano
1 hour ago
I like, for my opinion, the tip of the vector of xymatrix. But In tikz-cd is there the same tip? I have seen many times the guide, but I have not finded nothing.
– Sebastiano
1 hour ago
@Sebastiano I found something similar in one answer of mine: tex.stackexchange.com/a/457119/101651. See my renewed answer.
– CarLaTeX
54 mins ago
@Sebastiano I found something similar in one answer of mine: tex.stackexchange.com/a/457119/101651. See my renewed answer.
– CarLaTeX
54 mins ago
add a comment |
jhon hass is a new contributor. Be nice, and check out our Code of Conduct.
jhon hass is a new contributor. Be nice, and check out our Code of Conduct.
jhon hass is a new contributor. Be nice, and check out our Code of Conduct.
jhon hass 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.
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%2f468577%2fnatural-transformation-commutative-square%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