Tikz-cd arrow bending and loop for indicating that portion of diagram commutes
up vote
1
down vote
favorite
I am trying to get the arrow from $R$
to $R[x]$
to cooperate with me and go alongside the LHS of the picture.
Here is my MWE:
begin{tikzcd}
& R arrow[d, "f"] arrow[ld, "phi"', hook'] arrow[rd, "phi", hook] arrow["i", hook', bend right=135]{dd} & \
Rleftlbrackfrac{1}{r}rightrbrack arrow[r, "exists!F", two heads, dashed, hook] & {frac{R[x]}{(rx-1)}} arrow[r, "exists!G", two heads, dashed, hook] & Rleftlbrackfrac{1}{r}rightrbrack \
& {R[x]} arrow[u, "pi", two heads] arrow[ru, "g"'] &
end{tikzcd}
I'd also like to know how to get the spiral that indicates that the diagram commutes inside the top left and bottom right triangles. See, for example, the below.
tikz-cd commutative-diagrams
add a comment |
up vote
1
down vote
favorite
I am trying to get the arrow from $R$
to $R[x]$
to cooperate with me and go alongside the LHS of the picture.
Here is my MWE:
begin{tikzcd}
& R arrow[d, "f"] arrow[ld, "phi"', hook'] arrow[rd, "phi", hook] arrow["i", hook', bend right=135]{dd} & \
Rleftlbrackfrac{1}{r}rightrbrack arrow[r, "exists!F", two heads, dashed, hook] & {frac{R[x]}{(rx-1)}} arrow[r, "exists!G", two heads, dashed, hook] & Rleftlbrackfrac{1}{r}rightrbrack \
& {R[x]} arrow[u, "pi", two heads] arrow[ru, "g"'] &
end{tikzcd}
I'd also like to know how to get the spiral that indicates that the diagram commutes inside the top left and bottom right triangles. See, for example, the below.
tikz-cd commutative-diagrams
Could you include a picture of the kind of figure you want to produce?
– zyy
Dec 4 at 17:38
1
I have made this edit for you, @zyy.
– nick5435
Dec 4 at 17:47
Thanks for adding the screen shot. I did not read the question carefully enough, sorry!
– marmot
Dec 4 at 18:11
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I am trying to get the arrow from $R$
to $R[x]$
to cooperate with me and go alongside the LHS of the picture.
Here is my MWE:
begin{tikzcd}
& R arrow[d, "f"] arrow[ld, "phi"', hook'] arrow[rd, "phi", hook] arrow["i", hook', bend right=135]{dd} & \
Rleftlbrackfrac{1}{r}rightrbrack arrow[r, "exists!F", two heads, dashed, hook] & {frac{R[x]}{(rx-1)}} arrow[r, "exists!G", two heads, dashed, hook] & Rleftlbrackfrac{1}{r}rightrbrack \
& {R[x]} arrow[u, "pi", two heads] arrow[ru, "g"'] &
end{tikzcd}
I'd also like to know how to get the spiral that indicates that the diagram commutes inside the top left and bottom right triangles. See, for example, the below.
tikz-cd commutative-diagrams
I am trying to get the arrow from $R$
to $R[x]$
to cooperate with me and go alongside the LHS of the picture.
Here is my MWE:
begin{tikzcd}
& R arrow[d, "f"] arrow[ld, "phi"', hook'] arrow[rd, "phi", hook] arrow["i", hook', bend right=135]{dd} & \
Rleftlbrackfrac{1}{r}rightrbrack arrow[r, "exists!F", two heads, dashed, hook] & {frac{R[x]}{(rx-1)}} arrow[r, "exists!G", two heads, dashed, hook] & Rleftlbrackfrac{1}{r}rightrbrack \
& {R[x]} arrow[u, "pi", two heads] arrow[ru, "g"'] &
end{tikzcd}
I'd also like to know how to get the spiral that indicates that the diagram commutes inside the top left and bottom right triangles. See, for example, the below.
tikz-cd commutative-diagrams
tikz-cd commutative-diagrams
edited Dec 4 at 17:47
asked Dec 4 at 17:17
nick5435
84
84
Could you include a picture of the kind of figure you want to produce?
– zyy
Dec 4 at 17:38
1
I have made this edit for you, @zyy.
– nick5435
Dec 4 at 17:47
Thanks for adding the screen shot. I did not read the question carefully enough, sorry!
– marmot
Dec 4 at 18:11
add a comment |
Could you include a picture of the kind of figure you want to produce?
– zyy
Dec 4 at 17:38
1
I have made this edit for you, @zyy.
– nick5435
Dec 4 at 17:47
Thanks for adding the screen shot. I did not read the question carefully enough, sorry!
– marmot
Dec 4 at 18:11
Could you include a picture of the kind of figure you want to produce?
– zyy
Dec 4 at 17:38
Could you include a picture of the kind of figure you want to produce?
– zyy
Dec 4 at 17:38
1
1
I have made this edit for you, @zyy.
– nick5435
Dec 4 at 17:47
I have made this edit for you, @zyy.
– nick5435
Dec 4 at 17:47
Thanks for adding the screen shot. I did not read the question carefully enough, sorry!
– marmot
Dec 4 at 18:11
Thanks for adding the screen shot. I did not read the question carefully enough, sorry!
– marmot
Dec 4 at 18:11
add a comment |
1 Answer
1
active
oldest
votes
up vote
1
down vote
accepted
After seeing your figure (sorry did not read carefully enough! it is very dark in our burrow;-).
documentclass{article}
usepackage{tikz-cd,amsmath}
usetikzlibrary{arrows.meta,bending}
begin{document}
begin{tikzcd}[execute at end picture={
draw[{Hooks[width=+0pt 10.8,length=+0pt 3.6,harpoon,line cap=round]}->]
(tikzcdmatrixname-1-2) to[out=175,in=185,looseness=3]
node[midway,left]{$i$} (tikzcdmatrixname-3-2);
draw[-{Latex[bend]},thick] ([xshift=-0.35cm,yshift=0.45cm]tikzcdmatrixname-2-2)
arc(0:340:0.2);
draw[-{Latex[bend]},thick] ([xshift=-0.45cm,yshift=-0.45cm]tikzcdmatrixname-2-2)
arc(20:360:0.2);
draw[-{Latex[bend]},thick] ([xshift=0.55cm,yshift=-0.45cm]tikzcdmatrixname-2-2)
arc(20:360:0.2);
}]
& R arrow[d, "f"] arrow[ld, "phi"', hook'] arrow[rd, "phi", hook] & \
Rleftlbrackfrac{1}{r}rightrbrack arrow[r, "exists!F", two heads, dashed, hook] & {frac{R[x]}{(rx-1)}} arrow[r, "exists!G", two heads, dashed, hook] & Rleftlbrackfrac{1}{r}rightrbrack \
& {R[x]} arrow[u, "pi", two heads] arrow[ru, "g"'] &
end{tikzcd}
end{document}
@nick5435 I added a hook (which I looked up intikzlibrarycd.code.tex
). Is this the hook you're after?
– marmot
Dec 4 at 17:39
1
This did the trick:draw[left hook->] (tikzcdmatrixname-1-2) to[out=150,in=185,looseness=3] node[midway,left]{$i$} (tikzcdmatrixname-3-2);}]
Just had to dousetikzlibrary{arrows}
– nick5435
Dec 4 at 17:40
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
After seeing your figure (sorry did not read carefully enough! it is very dark in our burrow;-).
documentclass{article}
usepackage{tikz-cd,amsmath}
usetikzlibrary{arrows.meta,bending}
begin{document}
begin{tikzcd}[execute at end picture={
draw[{Hooks[width=+0pt 10.8,length=+0pt 3.6,harpoon,line cap=round]}->]
(tikzcdmatrixname-1-2) to[out=175,in=185,looseness=3]
node[midway,left]{$i$} (tikzcdmatrixname-3-2);
draw[-{Latex[bend]},thick] ([xshift=-0.35cm,yshift=0.45cm]tikzcdmatrixname-2-2)
arc(0:340:0.2);
draw[-{Latex[bend]},thick] ([xshift=-0.45cm,yshift=-0.45cm]tikzcdmatrixname-2-2)
arc(20:360:0.2);
draw[-{Latex[bend]},thick] ([xshift=0.55cm,yshift=-0.45cm]tikzcdmatrixname-2-2)
arc(20:360:0.2);
}]
& R arrow[d, "f"] arrow[ld, "phi"', hook'] arrow[rd, "phi", hook] & \
Rleftlbrackfrac{1}{r}rightrbrack arrow[r, "exists!F", two heads, dashed, hook] & {frac{R[x]}{(rx-1)}} arrow[r, "exists!G", two heads, dashed, hook] & Rleftlbrackfrac{1}{r}rightrbrack \
& {R[x]} arrow[u, "pi", two heads] arrow[ru, "g"'] &
end{tikzcd}
end{document}
@nick5435 I added a hook (which I looked up intikzlibrarycd.code.tex
). Is this the hook you're after?
– marmot
Dec 4 at 17:39
1
This did the trick:draw[left hook->] (tikzcdmatrixname-1-2) to[out=150,in=185,looseness=3] node[midway,left]{$i$} (tikzcdmatrixname-3-2);}]
Just had to dousetikzlibrary{arrows}
– nick5435
Dec 4 at 17:40
add a comment |
up vote
1
down vote
accepted
After seeing your figure (sorry did not read carefully enough! it is very dark in our burrow;-).
documentclass{article}
usepackage{tikz-cd,amsmath}
usetikzlibrary{arrows.meta,bending}
begin{document}
begin{tikzcd}[execute at end picture={
draw[{Hooks[width=+0pt 10.8,length=+0pt 3.6,harpoon,line cap=round]}->]
(tikzcdmatrixname-1-2) to[out=175,in=185,looseness=3]
node[midway,left]{$i$} (tikzcdmatrixname-3-2);
draw[-{Latex[bend]},thick] ([xshift=-0.35cm,yshift=0.45cm]tikzcdmatrixname-2-2)
arc(0:340:0.2);
draw[-{Latex[bend]},thick] ([xshift=-0.45cm,yshift=-0.45cm]tikzcdmatrixname-2-2)
arc(20:360:0.2);
draw[-{Latex[bend]},thick] ([xshift=0.55cm,yshift=-0.45cm]tikzcdmatrixname-2-2)
arc(20:360:0.2);
}]
& R arrow[d, "f"] arrow[ld, "phi"', hook'] arrow[rd, "phi", hook] & \
Rleftlbrackfrac{1}{r}rightrbrack arrow[r, "exists!F", two heads, dashed, hook] & {frac{R[x]}{(rx-1)}} arrow[r, "exists!G", two heads, dashed, hook] & Rleftlbrackfrac{1}{r}rightrbrack \
& {R[x]} arrow[u, "pi", two heads] arrow[ru, "g"'] &
end{tikzcd}
end{document}
@nick5435 I added a hook (which I looked up intikzlibrarycd.code.tex
). Is this the hook you're after?
– marmot
Dec 4 at 17:39
1
This did the trick:draw[left hook->] (tikzcdmatrixname-1-2) to[out=150,in=185,looseness=3] node[midway,left]{$i$} (tikzcdmatrixname-3-2);}]
Just had to dousetikzlibrary{arrows}
– nick5435
Dec 4 at 17:40
add a comment |
up vote
1
down vote
accepted
up vote
1
down vote
accepted
After seeing your figure (sorry did not read carefully enough! it is very dark in our burrow;-).
documentclass{article}
usepackage{tikz-cd,amsmath}
usetikzlibrary{arrows.meta,bending}
begin{document}
begin{tikzcd}[execute at end picture={
draw[{Hooks[width=+0pt 10.8,length=+0pt 3.6,harpoon,line cap=round]}->]
(tikzcdmatrixname-1-2) to[out=175,in=185,looseness=3]
node[midway,left]{$i$} (tikzcdmatrixname-3-2);
draw[-{Latex[bend]},thick] ([xshift=-0.35cm,yshift=0.45cm]tikzcdmatrixname-2-2)
arc(0:340:0.2);
draw[-{Latex[bend]},thick] ([xshift=-0.45cm,yshift=-0.45cm]tikzcdmatrixname-2-2)
arc(20:360:0.2);
draw[-{Latex[bend]},thick] ([xshift=0.55cm,yshift=-0.45cm]tikzcdmatrixname-2-2)
arc(20:360:0.2);
}]
& R arrow[d, "f"] arrow[ld, "phi"', hook'] arrow[rd, "phi", hook] & \
Rleftlbrackfrac{1}{r}rightrbrack arrow[r, "exists!F", two heads, dashed, hook] & {frac{R[x]}{(rx-1)}} arrow[r, "exists!G", two heads, dashed, hook] & Rleftlbrackfrac{1}{r}rightrbrack \
& {R[x]} arrow[u, "pi", two heads] arrow[ru, "g"'] &
end{tikzcd}
end{document}
After seeing your figure (sorry did not read carefully enough! it is very dark in our burrow;-).
documentclass{article}
usepackage{tikz-cd,amsmath}
usetikzlibrary{arrows.meta,bending}
begin{document}
begin{tikzcd}[execute at end picture={
draw[{Hooks[width=+0pt 10.8,length=+0pt 3.6,harpoon,line cap=round]}->]
(tikzcdmatrixname-1-2) to[out=175,in=185,looseness=3]
node[midway,left]{$i$} (tikzcdmatrixname-3-2);
draw[-{Latex[bend]},thick] ([xshift=-0.35cm,yshift=0.45cm]tikzcdmatrixname-2-2)
arc(0:340:0.2);
draw[-{Latex[bend]},thick] ([xshift=-0.45cm,yshift=-0.45cm]tikzcdmatrixname-2-2)
arc(20:360:0.2);
draw[-{Latex[bend]},thick] ([xshift=0.55cm,yshift=-0.45cm]tikzcdmatrixname-2-2)
arc(20:360:0.2);
}]
& R arrow[d, "f"] arrow[ld, "phi"', hook'] arrow[rd, "phi", hook] & \
Rleftlbrackfrac{1}{r}rightrbrack arrow[r, "exists!F", two heads, dashed, hook] & {frac{R[x]}{(rx-1)}} arrow[r, "exists!G", two heads, dashed, hook] & Rleftlbrackfrac{1}{r}rightrbrack \
& {R[x]} arrow[u, "pi", two heads] arrow[ru, "g"'] &
end{tikzcd}
end{document}
edited Dec 4 at 18:10
answered Dec 4 at 17:35
marmot
82.3k493176
82.3k493176
@nick5435 I added a hook (which I looked up intikzlibrarycd.code.tex
). Is this the hook you're after?
– marmot
Dec 4 at 17:39
1
This did the trick:draw[left hook->] (tikzcdmatrixname-1-2) to[out=150,in=185,looseness=3] node[midway,left]{$i$} (tikzcdmatrixname-3-2);}]
Just had to dousetikzlibrary{arrows}
– nick5435
Dec 4 at 17:40
add a comment |
@nick5435 I added a hook (which I looked up intikzlibrarycd.code.tex
). Is this the hook you're after?
– marmot
Dec 4 at 17:39
1
This did the trick:draw[left hook->] (tikzcdmatrixname-1-2) to[out=150,in=185,looseness=3] node[midway,left]{$i$} (tikzcdmatrixname-3-2);}]
Just had to dousetikzlibrary{arrows}
– nick5435
Dec 4 at 17:40
@nick5435 I added a hook (which I looked up in
tikzlibrarycd.code.tex
). Is this the hook you're after?– marmot
Dec 4 at 17:39
@nick5435 I added a hook (which I looked up in
tikzlibrarycd.code.tex
). Is this the hook you're after?– marmot
Dec 4 at 17:39
1
1
This did the trick:
draw[left hook->] (tikzcdmatrixname-1-2) to[out=150,in=185,looseness=3] node[midway,left]{$i$} (tikzcdmatrixname-3-2);}]
Just had to do usetikzlibrary{arrows}
– nick5435
Dec 4 at 17:40
This did the trick:
draw[left hook->] (tikzcdmatrixname-1-2) to[out=150,in=185,looseness=3] node[midway,left]{$i$} (tikzcdmatrixname-3-2);}]
Just had to do usetikzlibrary{arrows}
– nick5435
Dec 4 at 17:40
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%2f463185%2ftikz-cd-arrow-bending-and-loop-for-indicating-that-portion-of-diagram-commutes%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
Could you include a picture of the kind of figure you want to produce?
– zyy
Dec 4 at 17:38
1
I have made this edit for you, @zyy.
– nick5435
Dec 4 at 17:47
Thanks for adding the screen shot. I did not read the question carefully enough, sorry!
– marmot
Dec 4 at 18:11