How to modify a tikz-cd diagram by changing the placement and length of arrows
up vote
3
down vote
favorite
Consider the following code for a commutative diagram, followed by the output.
documentclass{amsart}
usepackage{tikz-cd}
begin{document}
[
begin{tikzcd}
A arrow[r, leftrightarrow, "alpha"] arrow[d, "int^a_b", swap] & Cquad(subseteq S) arrow[d, "int^c_d"]\
B arrow[r, leftrightarrow, "beta", swap] & Dquad(subseteq T)
end{tikzcd}
]
end{document}
I'd appreciate help modifying the output in the following ways.
- The right downward arrow should be moved left so it seems to connect
C
toD
. - The downward arrows should be longer.
- The integral symbols should be longer.
tikz-cd
add a comment |
up vote
3
down vote
favorite
Consider the following code for a commutative diagram, followed by the output.
documentclass{amsart}
usepackage{tikz-cd}
begin{document}
[
begin{tikzcd}
A arrow[r, leftrightarrow, "alpha"] arrow[d, "int^a_b", swap] & Cquad(subseteq S) arrow[d, "int^c_d"]\
B arrow[r, leftrightarrow, "beta", swap] & Dquad(subseteq T)
end{tikzcd}
]
end{document}
I'd appreciate help modifying the output in the following ways.
- The right downward arrow should be moved left so it seems to connect
C
toD
. - The downward arrows should be longer.
- The integral symbols should be longer.
tikz-cd
Why don't you simply use TikZ instead oftikz-cd
?
– Dũng Vũ
Nov 16 at 11:05
@DũngVũ: I guess I could. The only reason I usetikz-cd
is because the package manual contains examples that I can very easily repurpose for my needs. If I can get the same results withtikz
, it would be an acceptable solution.
– Evan Aad
Nov 16 at 11:07
add a comment |
up vote
3
down vote
favorite
up vote
3
down vote
favorite
Consider the following code for a commutative diagram, followed by the output.
documentclass{amsart}
usepackage{tikz-cd}
begin{document}
[
begin{tikzcd}
A arrow[r, leftrightarrow, "alpha"] arrow[d, "int^a_b", swap] & Cquad(subseteq S) arrow[d, "int^c_d"]\
B arrow[r, leftrightarrow, "beta", swap] & Dquad(subseteq T)
end{tikzcd}
]
end{document}
I'd appreciate help modifying the output in the following ways.
- The right downward arrow should be moved left so it seems to connect
C
toD
. - The downward arrows should be longer.
- The integral symbols should be longer.
tikz-cd
Consider the following code for a commutative diagram, followed by the output.
documentclass{amsart}
usepackage{tikz-cd}
begin{document}
[
begin{tikzcd}
A arrow[r, leftrightarrow, "alpha"] arrow[d, "int^a_b", swap] & Cquad(subseteq S) arrow[d, "int^c_d"]\
B arrow[r, leftrightarrow, "beta", swap] & Dquad(subseteq T)
end{tikzcd}
]
end{document}
I'd appreciate help modifying the output in the following ways.
- The right downward arrow should be moved left so it seems to connect
C
toD
. - The downward arrows should be longer.
- The integral symbols should be longer.
tikz-cd
tikz-cd
asked Nov 16 at 10:43
Evan Aad
3,66511328
3,66511328
Why don't you simply use TikZ instead oftikz-cd
?
– Dũng Vũ
Nov 16 at 11:05
@DũngVũ: I guess I could. The only reason I usetikz-cd
is because the package manual contains examples that I can very easily repurpose for my needs. If I can get the same results withtikz
, it would be an acceptable solution.
– Evan Aad
Nov 16 at 11:07
add a comment |
Why don't you simply use TikZ instead oftikz-cd
?
– Dũng Vũ
Nov 16 at 11:05
@DũngVũ: I guess I could. The only reason I usetikz-cd
is because the package manual contains examples that I can very easily repurpose for my needs. If I can get the same results withtikz
, it would be an acceptable solution.
– Evan Aad
Nov 16 at 11:07
Why don't you simply use TikZ instead of
tikz-cd
?– Dũng Vũ
Nov 16 at 11:05
Why don't you simply use TikZ instead of
tikz-cd
?– Dũng Vũ
Nov 16 at 11:05
@DũngVũ: I guess I could. The only reason I use
tikz-cd
is because the package manual contains examples that I can very easily repurpose for my needs. If I can get the same results with tikz
, it would be an acceptable solution.– Evan Aad
Nov 16 at 11:07
@DũngVũ: I guess I could. The only reason I use
tikz-cd
is because the package manual contains examples that I can very easily repurpose for my needs. If I can get the same results with tikz
, it would be an acceptable solution.– Evan Aad
Nov 16 at 11:07
add a comment |
3 Answers
3
active
oldest
votes
up vote
4
down vote
accepted
You can
- put
C
and(subseteq S)
in separate cells, - change the distances between columns and rows,
- add
displaystyle
to the integrals.
to get
documentclass{amsart}
usepackage{tikz-cd}
begin{document}
[
begin{tikzcd}[column sep={8mm,between origins},row sep=1.2cm]
A arrow[rr, leftrightarrow, "alpha"] arrow[d, "displaystyleint^a_b", swap]
&& C arrow[d, "displaystyleint^c_d"] &(subseteq S) \
B arrow[rr, leftrightarrow, "beta", swap] && D &(subseteq T)
end{tikzcd}
]
end{document}
add a comment |
up vote
3
down vote
I am not so skillful in TikZ, but hope that the following solves your first two questions
documentclass{amsart}
usepackage{tikz}
begin{document}
begin{tikzpicture}
draw (0,0) node {$A$};
draw (1.5,0) node {$C$};
draw (0,-1.5) node {$B$};
draw (1.5,-1.5) node {$D$};
draw (2.5,0) node {$(subseteq S)$};
draw (2.5,-1.5) node {$(subseteq T)$};
draw[<->] (0.2,0) -- (1.3,0);
draw[<->] (0.2,-1.5) -- (1.3,-1.5);
draw[->] (0,-0.2) -- (0,-1.3);
draw[->] (1.5,-0.2) -- (1.5,-1.3);
begin{scriptsize}
draw (0.75,0) node[above] {$alpha$};
draw (0.75,-1.5) node[below] {$beta$};
draw (0,-0.75) node[left] {$int_b^a$};
draw (1.5,-0.75) node[right] {$int_d^c$};
end{scriptsize}
end{tikzpicture}
end{document}
For question 3: From my point of view, the integral symbol will look a bit worse if you lengthen the symbol because it doesn't suit the a
, b
, etc. However, if you really want to lengthen the symbol, I suggest enlarging the whole symbol:
documentclass{amsart}
usepackage{tikz}
begin{document}
begin{tikzpicture}
draw (0,0) node {$A$};
draw (1.5,0) node {$C$};
draw (0,-1.5) node {$B$};
draw (1.5,-1.5) node {$D$};
draw (2.5,0) node {$(subseteq S)$};
draw (2.5,-1.5) node {$(subseteq T)$};
draw[<->] (0.2,0) -- (1.3,0);
draw[<->] (0.2,-1.5) -- (1.3,-1.5);
draw[->] (0,-0.2) -- (0,-1.3);
draw[->] (1.5,-0.2) -- (1.5,-1.3);
begin{scriptsize}
draw (0.75,0) node[above] {$alpha$};
draw (0.75,-1.5) node[below] {$beta$};
end{scriptsize}
%begin{small}
draw (0,-0.75) node[left] {$int_b^a$};
draw (1.5,-0.75) node[right] {$int_d^c$};
%end{small}
end{tikzpicture}
end{document}
add a comment |
up vote
2
down vote
- Reposition the arrow using the
shift right
option. (Seetikz-cd
manual.) - Extend the downward pointing arrows using the
row sep
option. (Seetikz-cd
manual.) - Stretch the integral symbols using the
scalerel
package, as discussed here.
Additionally,
- The distance between an arrow and its label can be adjusted using the
outer sep
option, as discussed here. - The arrow tips can be changed using, e.g.,
arrow style=tikz, >=Latex
. (Seetikz-cd
manual.)
The revised code is as follows.
documentclass{amsart}
usepackage{tikz-cd}
usepackage{scalerel}
defstretchint#1{vcenter{hbox{stretchto[440]{displaystyleint}{#1}}}}
begin{document}
[
begin{tikzcd}[row sep = huge, column sep = large, outer sep = 1mm, arrow style=tikz, >=Latex]
A arrow[r, leftrightarrow, "alpha"] arrow[d, "stretchint{3ex}^a_{hspace{-1.5mm}b}", swap] & Cquad(subseteq S) arrow[d, "stretchint{3ex}^c_{hspace{-1.5mm}d}", shift right = .6cm]\
B arrow[r, leftrightarrow, "beta", swap] & Dquad(subseteq T)
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
4
down vote
accepted
You can
- put
C
and(subseteq S)
in separate cells, - change the distances between columns and rows,
- add
displaystyle
to the integrals.
to get
documentclass{amsart}
usepackage{tikz-cd}
begin{document}
[
begin{tikzcd}[column sep={8mm,between origins},row sep=1.2cm]
A arrow[rr, leftrightarrow, "alpha"] arrow[d, "displaystyleint^a_b", swap]
&& C arrow[d, "displaystyleint^c_d"] &(subseteq S) \
B arrow[rr, leftrightarrow, "beta", swap] && D &(subseteq T)
end{tikzcd}
]
end{document}
add a comment |
up vote
4
down vote
accepted
You can
- put
C
and(subseteq S)
in separate cells, - change the distances between columns and rows,
- add
displaystyle
to the integrals.
to get
documentclass{amsart}
usepackage{tikz-cd}
begin{document}
[
begin{tikzcd}[column sep={8mm,between origins},row sep=1.2cm]
A arrow[rr, leftrightarrow, "alpha"] arrow[d, "displaystyleint^a_b", swap]
&& C arrow[d, "displaystyleint^c_d"] &(subseteq S) \
B arrow[rr, leftrightarrow, "beta", swap] && D &(subseteq T)
end{tikzcd}
]
end{document}
add a comment |
up vote
4
down vote
accepted
up vote
4
down vote
accepted
You can
- put
C
and(subseteq S)
in separate cells, - change the distances between columns and rows,
- add
displaystyle
to the integrals.
to get
documentclass{amsart}
usepackage{tikz-cd}
begin{document}
[
begin{tikzcd}[column sep={8mm,between origins},row sep=1.2cm]
A arrow[rr, leftrightarrow, "alpha"] arrow[d, "displaystyleint^a_b", swap]
&& C arrow[d, "displaystyleint^c_d"] &(subseteq S) \
B arrow[rr, leftrightarrow, "beta", swap] && D &(subseteq T)
end{tikzcd}
]
end{document}
You can
- put
C
and(subseteq S)
in separate cells, - change the distances between columns and rows,
- add
displaystyle
to the integrals.
to get
documentclass{amsart}
usepackage{tikz-cd}
begin{document}
[
begin{tikzcd}[column sep={8mm,between origins},row sep=1.2cm]
A arrow[rr, leftrightarrow, "alpha"] arrow[d, "displaystyleint^a_b", swap]
&& C arrow[d, "displaystyleint^c_d"] &(subseteq S) \
B arrow[rr, leftrightarrow, "beta", swap] && D &(subseteq T)
end{tikzcd}
]
end{document}
answered Nov 16 at 13:54
marmot
76.7k487161
76.7k487161
add a comment |
add a comment |
up vote
3
down vote
I am not so skillful in TikZ, but hope that the following solves your first two questions
documentclass{amsart}
usepackage{tikz}
begin{document}
begin{tikzpicture}
draw (0,0) node {$A$};
draw (1.5,0) node {$C$};
draw (0,-1.5) node {$B$};
draw (1.5,-1.5) node {$D$};
draw (2.5,0) node {$(subseteq S)$};
draw (2.5,-1.5) node {$(subseteq T)$};
draw[<->] (0.2,0) -- (1.3,0);
draw[<->] (0.2,-1.5) -- (1.3,-1.5);
draw[->] (0,-0.2) -- (0,-1.3);
draw[->] (1.5,-0.2) -- (1.5,-1.3);
begin{scriptsize}
draw (0.75,0) node[above] {$alpha$};
draw (0.75,-1.5) node[below] {$beta$};
draw (0,-0.75) node[left] {$int_b^a$};
draw (1.5,-0.75) node[right] {$int_d^c$};
end{scriptsize}
end{tikzpicture}
end{document}
For question 3: From my point of view, the integral symbol will look a bit worse if you lengthen the symbol because it doesn't suit the a
, b
, etc. However, if you really want to lengthen the symbol, I suggest enlarging the whole symbol:
documentclass{amsart}
usepackage{tikz}
begin{document}
begin{tikzpicture}
draw (0,0) node {$A$};
draw (1.5,0) node {$C$};
draw (0,-1.5) node {$B$};
draw (1.5,-1.5) node {$D$};
draw (2.5,0) node {$(subseteq S)$};
draw (2.5,-1.5) node {$(subseteq T)$};
draw[<->] (0.2,0) -- (1.3,0);
draw[<->] (0.2,-1.5) -- (1.3,-1.5);
draw[->] (0,-0.2) -- (0,-1.3);
draw[->] (1.5,-0.2) -- (1.5,-1.3);
begin{scriptsize}
draw (0.75,0) node[above] {$alpha$};
draw (0.75,-1.5) node[below] {$beta$};
end{scriptsize}
%begin{small}
draw (0,-0.75) node[left] {$int_b^a$};
draw (1.5,-0.75) node[right] {$int_d^c$};
%end{small}
end{tikzpicture}
end{document}
add a comment |
up vote
3
down vote
I am not so skillful in TikZ, but hope that the following solves your first two questions
documentclass{amsart}
usepackage{tikz}
begin{document}
begin{tikzpicture}
draw (0,0) node {$A$};
draw (1.5,0) node {$C$};
draw (0,-1.5) node {$B$};
draw (1.5,-1.5) node {$D$};
draw (2.5,0) node {$(subseteq S)$};
draw (2.5,-1.5) node {$(subseteq T)$};
draw[<->] (0.2,0) -- (1.3,0);
draw[<->] (0.2,-1.5) -- (1.3,-1.5);
draw[->] (0,-0.2) -- (0,-1.3);
draw[->] (1.5,-0.2) -- (1.5,-1.3);
begin{scriptsize}
draw (0.75,0) node[above] {$alpha$};
draw (0.75,-1.5) node[below] {$beta$};
draw (0,-0.75) node[left] {$int_b^a$};
draw (1.5,-0.75) node[right] {$int_d^c$};
end{scriptsize}
end{tikzpicture}
end{document}
For question 3: From my point of view, the integral symbol will look a bit worse if you lengthen the symbol because it doesn't suit the a
, b
, etc. However, if you really want to lengthen the symbol, I suggest enlarging the whole symbol:
documentclass{amsart}
usepackage{tikz}
begin{document}
begin{tikzpicture}
draw (0,0) node {$A$};
draw (1.5,0) node {$C$};
draw (0,-1.5) node {$B$};
draw (1.5,-1.5) node {$D$};
draw (2.5,0) node {$(subseteq S)$};
draw (2.5,-1.5) node {$(subseteq T)$};
draw[<->] (0.2,0) -- (1.3,0);
draw[<->] (0.2,-1.5) -- (1.3,-1.5);
draw[->] (0,-0.2) -- (0,-1.3);
draw[->] (1.5,-0.2) -- (1.5,-1.3);
begin{scriptsize}
draw (0.75,0) node[above] {$alpha$};
draw (0.75,-1.5) node[below] {$beta$};
end{scriptsize}
%begin{small}
draw (0,-0.75) node[left] {$int_b^a$};
draw (1.5,-0.75) node[right] {$int_d^c$};
%end{small}
end{tikzpicture}
end{document}
add a comment |
up vote
3
down vote
up vote
3
down vote
I am not so skillful in TikZ, but hope that the following solves your first two questions
documentclass{amsart}
usepackage{tikz}
begin{document}
begin{tikzpicture}
draw (0,0) node {$A$};
draw (1.5,0) node {$C$};
draw (0,-1.5) node {$B$};
draw (1.5,-1.5) node {$D$};
draw (2.5,0) node {$(subseteq S)$};
draw (2.5,-1.5) node {$(subseteq T)$};
draw[<->] (0.2,0) -- (1.3,0);
draw[<->] (0.2,-1.5) -- (1.3,-1.5);
draw[->] (0,-0.2) -- (0,-1.3);
draw[->] (1.5,-0.2) -- (1.5,-1.3);
begin{scriptsize}
draw (0.75,0) node[above] {$alpha$};
draw (0.75,-1.5) node[below] {$beta$};
draw (0,-0.75) node[left] {$int_b^a$};
draw (1.5,-0.75) node[right] {$int_d^c$};
end{scriptsize}
end{tikzpicture}
end{document}
For question 3: From my point of view, the integral symbol will look a bit worse if you lengthen the symbol because it doesn't suit the a
, b
, etc. However, if you really want to lengthen the symbol, I suggest enlarging the whole symbol:
documentclass{amsart}
usepackage{tikz}
begin{document}
begin{tikzpicture}
draw (0,0) node {$A$};
draw (1.5,0) node {$C$};
draw (0,-1.5) node {$B$};
draw (1.5,-1.5) node {$D$};
draw (2.5,0) node {$(subseteq S)$};
draw (2.5,-1.5) node {$(subseteq T)$};
draw[<->] (0.2,0) -- (1.3,0);
draw[<->] (0.2,-1.5) -- (1.3,-1.5);
draw[->] (0,-0.2) -- (0,-1.3);
draw[->] (1.5,-0.2) -- (1.5,-1.3);
begin{scriptsize}
draw (0.75,0) node[above] {$alpha$};
draw (0.75,-1.5) node[below] {$beta$};
end{scriptsize}
%begin{small}
draw (0,-0.75) node[left] {$int_b^a$};
draw (1.5,-0.75) node[right] {$int_d^c$};
%end{small}
end{tikzpicture}
end{document}
I am not so skillful in TikZ, but hope that the following solves your first two questions
documentclass{amsart}
usepackage{tikz}
begin{document}
begin{tikzpicture}
draw (0,0) node {$A$};
draw (1.5,0) node {$C$};
draw (0,-1.5) node {$B$};
draw (1.5,-1.5) node {$D$};
draw (2.5,0) node {$(subseteq S)$};
draw (2.5,-1.5) node {$(subseteq T)$};
draw[<->] (0.2,0) -- (1.3,0);
draw[<->] (0.2,-1.5) -- (1.3,-1.5);
draw[->] (0,-0.2) -- (0,-1.3);
draw[->] (1.5,-0.2) -- (1.5,-1.3);
begin{scriptsize}
draw (0.75,0) node[above] {$alpha$};
draw (0.75,-1.5) node[below] {$beta$};
draw (0,-0.75) node[left] {$int_b^a$};
draw (1.5,-0.75) node[right] {$int_d^c$};
end{scriptsize}
end{tikzpicture}
end{document}
For question 3: From my point of view, the integral symbol will look a bit worse if you lengthen the symbol because it doesn't suit the a
, b
, etc. However, if you really want to lengthen the symbol, I suggest enlarging the whole symbol:
documentclass{amsart}
usepackage{tikz}
begin{document}
begin{tikzpicture}
draw (0,0) node {$A$};
draw (1.5,0) node {$C$};
draw (0,-1.5) node {$B$};
draw (1.5,-1.5) node {$D$};
draw (2.5,0) node {$(subseteq S)$};
draw (2.5,-1.5) node {$(subseteq T)$};
draw[<->] (0.2,0) -- (1.3,0);
draw[<->] (0.2,-1.5) -- (1.3,-1.5);
draw[->] (0,-0.2) -- (0,-1.3);
draw[->] (1.5,-0.2) -- (1.5,-1.3);
begin{scriptsize}
draw (0.75,0) node[above] {$alpha$};
draw (0.75,-1.5) node[below] {$beta$};
end{scriptsize}
%begin{small}
draw (0,-0.75) node[left] {$int_b^a$};
draw (1.5,-0.75) node[right] {$int_d^c$};
%end{small}
end{tikzpicture}
end{document}
answered Nov 16 at 11:35
Dũng Vũ
1,09920
1,09920
add a comment |
add a comment |
up vote
2
down vote
- Reposition the arrow using the
shift right
option. (Seetikz-cd
manual.) - Extend the downward pointing arrows using the
row sep
option. (Seetikz-cd
manual.) - Stretch the integral symbols using the
scalerel
package, as discussed here.
Additionally,
- The distance between an arrow and its label can be adjusted using the
outer sep
option, as discussed here. - The arrow tips can be changed using, e.g.,
arrow style=tikz, >=Latex
. (Seetikz-cd
manual.)
The revised code is as follows.
documentclass{amsart}
usepackage{tikz-cd}
usepackage{scalerel}
defstretchint#1{vcenter{hbox{stretchto[440]{displaystyleint}{#1}}}}
begin{document}
[
begin{tikzcd}[row sep = huge, column sep = large, outer sep = 1mm, arrow style=tikz, >=Latex]
A arrow[r, leftrightarrow, "alpha"] arrow[d, "stretchint{3ex}^a_{hspace{-1.5mm}b}", swap] & Cquad(subseteq S) arrow[d, "stretchint{3ex}^c_{hspace{-1.5mm}d}", shift right = .6cm]\
B arrow[r, leftrightarrow, "beta", swap] & Dquad(subseteq T)
end{tikzcd}
]
end{document}
add a comment |
up vote
2
down vote
- Reposition the arrow using the
shift right
option. (Seetikz-cd
manual.) - Extend the downward pointing arrows using the
row sep
option. (Seetikz-cd
manual.) - Stretch the integral symbols using the
scalerel
package, as discussed here.
Additionally,
- The distance between an arrow and its label can be adjusted using the
outer sep
option, as discussed here. - The arrow tips can be changed using, e.g.,
arrow style=tikz, >=Latex
. (Seetikz-cd
manual.)
The revised code is as follows.
documentclass{amsart}
usepackage{tikz-cd}
usepackage{scalerel}
defstretchint#1{vcenter{hbox{stretchto[440]{displaystyleint}{#1}}}}
begin{document}
[
begin{tikzcd}[row sep = huge, column sep = large, outer sep = 1mm, arrow style=tikz, >=Latex]
A arrow[r, leftrightarrow, "alpha"] arrow[d, "stretchint{3ex}^a_{hspace{-1.5mm}b}", swap] & Cquad(subseteq S) arrow[d, "stretchint{3ex}^c_{hspace{-1.5mm}d}", shift right = .6cm]\
B arrow[r, leftrightarrow, "beta", swap] & Dquad(subseteq T)
end{tikzcd}
]
end{document}
add a comment |
up vote
2
down vote
up vote
2
down vote
- Reposition the arrow using the
shift right
option. (Seetikz-cd
manual.) - Extend the downward pointing arrows using the
row sep
option. (Seetikz-cd
manual.) - Stretch the integral symbols using the
scalerel
package, as discussed here.
Additionally,
- The distance between an arrow and its label can be adjusted using the
outer sep
option, as discussed here. - The arrow tips can be changed using, e.g.,
arrow style=tikz, >=Latex
. (Seetikz-cd
manual.)
The revised code is as follows.
documentclass{amsart}
usepackage{tikz-cd}
usepackage{scalerel}
defstretchint#1{vcenter{hbox{stretchto[440]{displaystyleint}{#1}}}}
begin{document}
[
begin{tikzcd}[row sep = huge, column sep = large, outer sep = 1mm, arrow style=tikz, >=Latex]
A arrow[r, leftrightarrow, "alpha"] arrow[d, "stretchint{3ex}^a_{hspace{-1.5mm}b}", swap] & Cquad(subseteq S) arrow[d, "stretchint{3ex}^c_{hspace{-1.5mm}d}", shift right = .6cm]\
B arrow[r, leftrightarrow, "beta", swap] & Dquad(subseteq T)
end{tikzcd}
]
end{document}
- Reposition the arrow using the
shift right
option. (Seetikz-cd
manual.) - Extend the downward pointing arrows using the
row sep
option. (Seetikz-cd
manual.) - Stretch the integral symbols using the
scalerel
package, as discussed here.
Additionally,
- The distance between an arrow and its label can be adjusted using the
outer sep
option, as discussed here. - The arrow tips can be changed using, e.g.,
arrow style=tikz, >=Latex
. (Seetikz-cd
manual.)
The revised code is as follows.
documentclass{amsart}
usepackage{tikz-cd}
usepackage{scalerel}
defstretchint#1{vcenter{hbox{stretchto[440]{displaystyleint}{#1}}}}
begin{document}
[
begin{tikzcd}[row sep = huge, column sep = large, outer sep = 1mm, arrow style=tikz, >=Latex]
A arrow[r, leftrightarrow, "alpha"] arrow[d, "stretchint{3ex}^a_{hspace{-1.5mm}b}", swap] & Cquad(subseteq S) arrow[d, "stretchint{3ex}^c_{hspace{-1.5mm}d}", shift right = .6cm]\
B arrow[r, leftrightarrow, "beta", swap] & Dquad(subseteq T)
end{tikzcd}
]
end{document}
edited Nov 16 at 14:17
answered Nov 16 at 14:04
Evan Aad
3,66511328
3,66511328
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
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f460272%2fhow-to-modify-a-tikz-cd-diagram-by-changing-the-placement-and-length-of-arrows%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
Why don't you simply use TikZ instead of
tikz-cd
?– Dũng Vũ
Nov 16 at 11:05
@DũngVũ: I guess I could. The only reason I use
tikz-cd
is because the package manual contains examples that I can very easily repurpose for my needs. If I can get the same results withtikz
, it would be an acceptable solution.– Evan Aad
Nov 16 at 11:07