Pushouts and pullbacks
How do I typeset that little symbol which indicates that a commutative square is a pushout or pullback square? I usually draw my diagrams in XY-pic, so I'd be most interested in how to do it there.
Added: The desired effect is a diagram like

Edit:
The problem is in typesetting the actual symbol, the XY-pic user's guide says how to place it.
math-mode diagrams xy-pic
|
show 2 more comments
How do I typeset that little symbol which indicates that a commutative square is a pushout or pullback square? I usually draw my diagrams in XY-pic, so I'd be most interested in how to do it there.
Added: The desired effect is a diagram like

Edit:
The problem is in typesetting the actual symbol, the XY-pic user's guide says how to place it.
math-mode diagrams xy-pic
Could you please add what that symbol looks like.
– Caramdir
Aug 5 '10 at 14:48
@Caramdir: take a look at my answer to see what it looks like.
– Loop Space
Aug 5 '10 at 15:06
To clarify: do you want to know what the symbol is, or how to place it correctly in the diagram? (I must admit that I wouldn't regard this as a symbol in the same way that I wouldn't regard an arrow as a symbol.)
– Loop Space
Aug 5 '10 at 15:29
1
@Caramdir: I didn't want to add the diagram until K.J.Moi had enough reputation to add a diagram as (from other experience) that might limit K.J.Moi's ability to edit the question.
– Loop Space
Aug 5 '10 at 15:34
1
Sorry. How much reputation is needed to add a picture?
– Caramdir
Aug 5 '10 at 15:37
|
show 2 more comments
How do I typeset that little symbol which indicates that a commutative square is a pushout or pullback square? I usually draw my diagrams in XY-pic, so I'd be most interested in how to do it there.
Added: The desired effect is a diagram like

Edit:
The problem is in typesetting the actual symbol, the XY-pic user's guide says how to place it.
math-mode diagrams xy-pic
How do I typeset that little symbol which indicates that a commutative square is a pushout or pullback square? I usually draw my diagrams in XY-pic, so I'd be most interested in how to do it there.
Added: The desired effect is a diagram like

Edit:
The problem is in typesetting the actual symbol, the XY-pic user's guide says how to place it.
math-mode diagrams xy-pic
math-mode diagrams xy-pic
edited Mar 15 '12 at 16:29
diabonas
21.5k386131
21.5k386131
asked Aug 5 '10 at 14:43
K.J. MoiK.J. Moi
7615
7615
Could you please add what that symbol looks like.
– Caramdir
Aug 5 '10 at 14:48
@Caramdir: take a look at my answer to see what it looks like.
– Loop Space
Aug 5 '10 at 15:06
To clarify: do you want to know what the symbol is, or how to place it correctly in the diagram? (I must admit that I wouldn't regard this as a symbol in the same way that I wouldn't regard an arrow as a symbol.)
– Loop Space
Aug 5 '10 at 15:29
1
@Caramdir: I didn't want to add the diagram until K.J.Moi had enough reputation to add a diagram as (from other experience) that might limit K.J.Moi's ability to edit the question.
– Loop Space
Aug 5 '10 at 15:34
1
Sorry. How much reputation is needed to add a picture?
– Caramdir
Aug 5 '10 at 15:37
|
show 2 more comments
Could you please add what that symbol looks like.
– Caramdir
Aug 5 '10 at 14:48
@Caramdir: take a look at my answer to see what it looks like.
– Loop Space
Aug 5 '10 at 15:06
To clarify: do you want to know what the symbol is, or how to place it correctly in the diagram? (I must admit that I wouldn't regard this as a symbol in the same way that I wouldn't regard an arrow as a symbol.)
– Loop Space
Aug 5 '10 at 15:29
1
@Caramdir: I didn't want to add the diagram until K.J.Moi had enough reputation to add a diagram as (from other experience) that might limit K.J.Moi's ability to edit the question.
– Loop Space
Aug 5 '10 at 15:34
1
Sorry. How much reputation is needed to add a picture?
– Caramdir
Aug 5 '10 at 15:37
Could you please add what that symbol looks like.
– Caramdir
Aug 5 '10 at 14:48
Could you please add what that symbol looks like.
– Caramdir
Aug 5 '10 at 14:48
@Caramdir: take a look at my answer to see what it looks like.
– Loop Space
Aug 5 '10 at 15:06
@Caramdir: take a look at my answer to see what it looks like.
– Loop Space
Aug 5 '10 at 15:06
To clarify: do you want to know what the symbol is, or how to place it correctly in the diagram? (I must admit that I wouldn't regard this as a symbol in the same way that I wouldn't regard an arrow as a symbol.)
– Loop Space
Aug 5 '10 at 15:29
To clarify: do you want to know what the symbol is, or how to place it correctly in the diagram? (I must admit that I wouldn't regard this as a symbol in the same way that I wouldn't regard an arrow as a symbol.)
– Loop Space
Aug 5 '10 at 15:29
1
1
@Caramdir: I didn't want to add the diagram until K.J.Moi had enough reputation to add a diagram as (from other experience) that might limit K.J.Moi's ability to edit the question.
– Loop Space
Aug 5 '10 at 15:34
@Caramdir: I didn't want to add the diagram until K.J.Moi had enough reputation to add a diagram as (from other experience) that might limit K.J.Moi's ability to edit the question.
– Loop Space
Aug 5 '10 at 15:34
1
1
Sorry. How much reputation is needed to add a picture?
– Caramdir
Aug 5 '10 at 15:37
Sorry. How much reputation is needed to add a picture?
– Caramdir
Aug 5 '10 at 15:37
|
show 2 more comments
4 Answers
4
active
oldest
votes
Put these guys in your preamble:
newcommand{po}{ar@{}[dr]|{text{pigpenfont R}}}
newcommand{pb}{ar@{}[dr]|{text{pigpenfont J}}}
This uses the package pigpen for the symbols in the middle. The ar@{} specifies an invisible arrow, and |{-} smacks some text in the middle of it. Whenever you want a pushout (or pullback) you put po (or pb) in the upper left of your square. Here is some sample code:
xymatrix{Xar[r]ar[d]_{i_0}po &astar[d]\
Xtimes Iar[r]&CX}
and here is the picture:

1
Good answer. I think you should say that these commands should be in the preamble instead of header, though. Header sounds more like the top of a page.
– Matthew Leingang
Apr 29 '11 at 16:33
add a comment |
I'm posting this more so that people know what K.J. Moi is talking about! Here's how to do it in TikZ:
documentclass{article}
usepackage{tikz}
usetikzlibrary{calc}
begin{document}
begin{tikzpicture}[>=latex]
node (w) at (0,0) {(W)};
node (x) at (0,-2) {(X)};
node (y) at (2,0) {(Y)};
node (z) at (2,-2) {(Z)};
draw[->] (w) -- (y);
draw[->] (w) -- (x);
draw[->] (x) -- (z);
draw[->] (y) -- (z);
begin{scope}[shift=($(w)!.5!(z)$)]
draw +(-.5,0) -- +(0,0) -- +(0,.5);
fill +(-.25,.25) circle (.05);
end{scope}
end{tikzpicture}
end{document}
And here's the output:

(pdf, and this is not to be confused with these instructions for opening a door)
So strictly speaking, it's not a symbol itself but a couple of lines set into the diagram. I don't know how to do this in XY as I'm a die-hard practitioner of TikZ, but hopefully seeing the picture will help others figure it out for you!
(Note that there are probably slicker ways of doing it in TikZ as well, I was going for speed here as I guessed not everyone would know what a pullback diagram is!)
(Edited to add the dot and to shift the symbol a bit closer towards the Z; I'm not sure exactly how far it should be shifted, but the .5 in the expression ($(w)!.5!(z)$) controls how far between the W and Z the point of the symbol lies; bigger numbers shift it to towards Z.)
I guess there are different ways of doing this but I'm used to seeing the "corner" you put in closer to the Z in the diagram and a dot placed in the middle of the "corner".
– K.J. Moi
Aug 5 '10 at 15:24
@K.J. Moi: Right, I've added the dot and shifted it towards the Z. If it still isn't right, you'll have to give me an example!
– Loop Space
Aug 5 '10 at 17:35
Andrew - +1 for the door opening instructions alone!
– David Roberts
Dec 14 '10 at 6:26
@David: did you not see that when I first posted it?
– Loop Space
Dec 14 '10 at 21:04
Little late to tell you so, but no.
– David Roberts
Jan 5 '11 at 11:37
add a comment |
Use the Comprehensive LaTeX Symbol List to find it or use the Detexify tool.
You may use the symbols lrcorner, ulcorner, llcorner or urcorner of the amssymb package.
A dot might be put into the corner for instance by $rlap{$cdot$}lrcorner$. Or use mathrlap as suggested in the comments.
Here's a possible definition for that symbol:
newcommand*{corner}{mbox{LARGE{$mathrlap{cdot}lrcorner$}}}
Insert small spacing if you would like to adjust the position of the dot within the corner symbol.
Here's a complete minimal example producing a complete matrix:
documentclass{article}
usepackage{amssymb}
usepackage{mathtools}
usepackage{xypic}
newcommand*{corner}{mbox{LARGE{$mathrlap{cdot}lrcorner$}}}
begin{document}
xymatrix{%
ar @{} [dr] | corner A ar[r] ar[d] &B ar[d] \
C ar[r] & D
}
end{document}

I suspect that the problem is less in defining the symbol itself as to placing it in the correct place in the diagram. See my answer for what it should look like (but my answer uses TikZ and the questioner asked for xy so the question itself is still open!).
– Loop Space
Aug 5 '10 at 15:07
I understood it as how to typeset the symbol, not how to place it. Though xy commands would be able to place it somewhere. I added symbols of amssymb.
– Stefan Kottwitz♦
Aug 5 '10 at 15:16
I guess that needs clarifying - I'll comment on the original question.
– Loop Space
Aug 5 '10 at 15:28
Those corner commands look good. There is still the problem of placing the dot in the middle. On page 98 of the comprehensive symbol list the symbol{pigpenfont J}is pretty much what I want. I've seen this symbol used a lot, so I'd be surprised if there isn't some easier way.
– K.J. Moi
Aug 5 '10 at 16:04
There is a problem with usingrlapin math mode but <a href="math.arizona.edu/~aprl/publications/mathclap/…> is a way around it. Using the new macros on p.4 the codexymatrix{ar @{} [dr] |{text{LARGE{$mathrlap{cdot}lrcorner$}}} A ar[r] ar[d] &B ar[d] C ar[r] & D}gives decent output. The input however is far from decent, so I really hope someone knows of a better way.
– K.J. Moi
Aug 5 '10 at 16:34
|
show 2 more comments
The following solution is from the tikzcd documentation, Version 0.9e October 30, 2014:
begin{tikzcd}
A arrow[r] arrow[d]
arrow[dr, phantom, "ulcorner", very near start]
& B arrow[d] \
C arrow[r]
& D
end{tikzcd}

You can change the corner to lrcorner.
I had success visualizing a pushout withbegin{tikzcd} A arrow[r] arrow[d] & B arrow[d] \ C arrow[r] & D arrow[ul, phantom, "ulcorner", very near start] end{tikzcd}
– ComFreek
Mar 26 at 13:32
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
});
}
});
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%2f1144%2fpushouts-and-pullbacks%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
Put these guys in your preamble:
newcommand{po}{ar@{}[dr]|{text{pigpenfont R}}}
newcommand{pb}{ar@{}[dr]|{text{pigpenfont J}}}
This uses the package pigpen for the symbols in the middle. The ar@{} specifies an invisible arrow, and |{-} smacks some text in the middle of it. Whenever you want a pushout (or pullback) you put po (or pb) in the upper left of your square. Here is some sample code:
xymatrix{Xar[r]ar[d]_{i_0}po &astar[d]\
Xtimes Iar[r]&CX}
and here is the picture:

1
Good answer. I think you should say that these commands should be in the preamble instead of header, though. Header sounds more like the top of a page.
– Matthew Leingang
Apr 29 '11 at 16:33
add a comment |
Put these guys in your preamble:
newcommand{po}{ar@{}[dr]|{text{pigpenfont R}}}
newcommand{pb}{ar@{}[dr]|{text{pigpenfont J}}}
This uses the package pigpen for the symbols in the middle. The ar@{} specifies an invisible arrow, and |{-} smacks some text in the middle of it. Whenever you want a pushout (or pullback) you put po (or pb) in the upper left of your square. Here is some sample code:
xymatrix{Xar[r]ar[d]_{i_0}po &astar[d]\
Xtimes Iar[r]&CX}
and here is the picture:

1
Good answer. I think you should say that these commands should be in the preamble instead of header, though. Header sounds more like the top of a page.
– Matthew Leingang
Apr 29 '11 at 16:33
add a comment |
Put these guys in your preamble:
newcommand{po}{ar@{}[dr]|{text{pigpenfont R}}}
newcommand{pb}{ar@{}[dr]|{text{pigpenfont J}}}
This uses the package pigpen for the symbols in the middle. The ar@{} specifies an invisible arrow, and |{-} smacks some text in the middle of it. Whenever you want a pushout (or pullback) you put po (or pb) in the upper left of your square. Here is some sample code:
xymatrix{Xar[r]ar[d]_{i_0}po &astar[d]\
Xtimes Iar[r]&CX}
and here is the picture:

Put these guys in your preamble:
newcommand{po}{ar@{}[dr]|{text{pigpenfont R}}}
newcommand{pb}{ar@{}[dr]|{text{pigpenfont J}}}
This uses the package pigpen for the symbols in the middle. The ar@{} specifies an invisible arrow, and |{-} smacks some text in the middle of it. Whenever you want a pushout (or pullback) you put po (or pb) in the upper left of your square. Here is some sample code:
xymatrix{Xar[r]ar[d]_{i_0}po &astar[d]\
Xtimes Iar[r]&CX}
and here is the picture:

edited Feb 26 '17 at 6:15
Werner
450k729981705
450k729981705
answered Apr 28 '11 at 18:50
Eivind DahlEivind Dahl
380211
380211
1
Good answer. I think you should say that these commands should be in the preamble instead of header, though. Header sounds more like the top of a page.
– Matthew Leingang
Apr 29 '11 at 16:33
add a comment |
1
Good answer. I think you should say that these commands should be in the preamble instead of header, though. Header sounds more like the top of a page.
– Matthew Leingang
Apr 29 '11 at 16:33
1
1
Good answer. I think you should say that these commands should be in the preamble instead of header, though. Header sounds more like the top of a page.
– Matthew Leingang
Apr 29 '11 at 16:33
Good answer. I think you should say that these commands should be in the preamble instead of header, though. Header sounds more like the top of a page.
– Matthew Leingang
Apr 29 '11 at 16:33
add a comment |
I'm posting this more so that people know what K.J. Moi is talking about! Here's how to do it in TikZ:
documentclass{article}
usepackage{tikz}
usetikzlibrary{calc}
begin{document}
begin{tikzpicture}[>=latex]
node (w) at (0,0) {(W)};
node (x) at (0,-2) {(X)};
node (y) at (2,0) {(Y)};
node (z) at (2,-2) {(Z)};
draw[->] (w) -- (y);
draw[->] (w) -- (x);
draw[->] (x) -- (z);
draw[->] (y) -- (z);
begin{scope}[shift=($(w)!.5!(z)$)]
draw +(-.5,0) -- +(0,0) -- +(0,.5);
fill +(-.25,.25) circle (.05);
end{scope}
end{tikzpicture}
end{document}
And here's the output:

(pdf, and this is not to be confused with these instructions for opening a door)
So strictly speaking, it's not a symbol itself but a couple of lines set into the diagram. I don't know how to do this in XY as I'm a die-hard practitioner of TikZ, but hopefully seeing the picture will help others figure it out for you!
(Note that there are probably slicker ways of doing it in TikZ as well, I was going for speed here as I guessed not everyone would know what a pullback diagram is!)
(Edited to add the dot and to shift the symbol a bit closer towards the Z; I'm not sure exactly how far it should be shifted, but the .5 in the expression ($(w)!.5!(z)$) controls how far between the W and Z the point of the symbol lies; bigger numbers shift it to towards Z.)
I guess there are different ways of doing this but I'm used to seeing the "corner" you put in closer to the Z in the diagram and a dot placed in the middle of the "corner".
– K.J. Moi
Aug 5 '10 at 15:24
@K.J. Moi: Right, I've added the dot and shifted it towards the Z. If it still isn't right, you'll have to give me an example!
– Loop Space
Aug 5 '10 at 17:35
Andrew - +1 for the door opening instructions alone!
– David Roberts
Dec 14 '10 at 6:26
@David: did you not see that when I first posted it?
– Loop Space
Dec 14 '10 at 21:04
Little late to tell you so, but no.
– David Roberts
Jan 5 '11 at 11:37
add a comment |
I'm posting this more so that people know what K.J. Moi is talking about! Here's how to do it in TikZ:
documentclass{article}
usepackage{tikz}
usetikzlibrary{calc}
begin{document}
begin{tikzpicture}[>=latex]
node (w) at (0,0) {(W)};
node (x) at (0,-2) {(X)};
node (y) at (2,0) {(Y)};
node (z) at (2,-2) {(Z)};
draw[->] (w) -- (y);
draw[->] (w) -- (x);
draw[->] (x) -- (z);
draw[->] (y) -- (z);
begin{scope}[shift=($(w)!.5!(z)$)]
draw +(-.5,0) -- +(0,0) -- +(0,.5);
fill +(-.25,.25) circle (.05);
end{scope}
end{tikzpicture}
end{document}
And here's the output:

(pdf, and this is not to be confused with these instructions for opening a door)
So strictly speaking, it's not a symbol itself but a couple of lines set into the diagram. I don't know how to do this in XY as I'm a die-hard practitioner of TikZ, but hopefully seeing the picture will help others figure it out for you!
(Note that there are probably slicker ways of doing it in TikZ as well, I was going for speed here as I guessed not everyone would know what a pullback diagram is!)
(Edited to add the dot and to shift the symbol a bit closer towards the Z; I'm not sure exactly how far it should be shifted, but the .5 in the expression ($(w)!.5!(z)$) controls how far between the W and Z the point of the symbol lies; bigger numbers shift it to towards Z.)
I guess there are different ways of doing this but I'm used to seeing the "corner" you put in closer to the Z in the diagram and a dot placed in the middle of the "corner".
– K.J. Moi
Aug 5 '10 at 15:24
@K.J. Moi: Right, I've added the dot and shifted it towards the Z. If it still isn't right, you'll have to give me an example!
– Loop Space
Aug 5 '10 at 17:35
Andrew - +1 for the door opening instructions alone!
– David Roberts
Dec 14 '10 at 6:26
@David: did you not see that when I first posted it?
– Loop Space
Dec 14 '10 at 21:04
Little late to tell you so, but no.
– David Roberts
Jan 5 '11 at 11:37
add a comment |
I'm posting this more so that people know what K.J. Moi is talking about! Here's how to do it in TikZ:
documentclass{article}
usepackage{tikz}
usetikzlibrary{calc}
begin{document}
begin{tikzpicture}[>=latex]
node (w) at (0,0) {(W)};
node (x) at (0,-2) {(X)};
node (y) at (2,0) {(Y)};
node (z) at (2,-2) {(Z)};
draw[->] (w) -- (y);
draw[->] (w) -- (x);
draw[->] (x) -- (z);
draw[->] (y) -- (z);
begin{scope}[shift=($(w)!.5!(z)$)]
draw +(-.5,0) -- +(0,0) -- +(0,.5);
fill +(-.25,.25) circle (.05);
end{scope}
end{tikzpicture}
end{document}
And here's the output:

(pdf, and this is not to be confused with these instructions for opening a door)
So strictly speaking, it's not a symbol itself but a couple of lines set into the diagram. I don't know how to do this in XY as I'm a die-hard practitioner of TikZ, but hopefully seeing the picture will help others figure it out for you!
(Note that there are probably slicker ways of doing it in TikZ as well, I was going for speed here as I guessed not everyone would know what a pullback diagram is!)
(Edited to add the dot and to shift the symbol a bit closer towards the Z; I'm not sure exactly how far it should be shifted, but the .5 in the expression ($(w)!.5!(z)$) controls how far between the W and Z the point of the symbol lies; bigger numbers shift it to towards Z.)
I'm posting this more so that people know what K.J. Moi is talking about! Here's how to do it in TikZ:
documentclass{article}
usepackage{tikz}
usetikzlibrary{calc}
begin{document}
begin{tikzpicture}[>=latex]
node (w) at (0,0) {(W)};
node (x) at (0,-2) {(X)};
node (y) at (2,0) {(Y)};
node (z) at (2,-2) {(Z)};
draw[->] (w) -- (y);
draw[->] (w) -- (x);
draw[->] (x) -- (z);
draw[->] (y) -- (z);
begin{scope}[shift=($(w)!.5!(z)$)]
draw +(-.5,0) -- +(0,0) -- +(0,.5);
fill +(-.25,.25) circle (.05);
end{scope}
end{tikzpicture}
end{document}
And here's the output:

(pdf, and this is not to be confused with these instructions for opening a door)
So strictly speaking, it's not a symbol itself but a couple of lines set into the diagram. I don't know how to do this in XY as I'm a die-hard practitioner of TikZ, but hopefully seeing the picture will help others figure it out for you!
(Note that there are probably slicker ways of doing it in TikZ as well, I was going for speed here as I guessed not everyone would know what a pullback diagram is!)
(Edited to add the dot and to shift the symbol a bit closer towards the Z; I'm not sure exactly how far it should be shifted, but the .5 in the expression ($(w)!.5!(z)$) controls how far between the W and Z the point of the symbol lies; bigger numbers shift it to towards Z.)
edited Mar 8 '12 at 11:41
diabonas
21.5k386131
21.5k386131
answered Aug 5 '10 at 15:05
Loop SpaceLoop Space
113k30309610
113k30309610
I guess there are different ways of doing this but I'm used to seeing the "corner" you put in closer to the Z in the diagram and a dot placed in the middle of the "corner".
– K.J. Moi
Aug 5 '10 at 15:24
@K.J. Moi: Right, I've added the dot and shifted it towards the Z. If it still isn't right, you'll have to give me an example!
– Loop Space
Aug 5 '10 at 17:35
Andrew - +1 for the door opening instructions alone!
– David Roberts
Dec 14 '10 at 6:26
@David: did you not see that when I first posted it?
– Loop Space
Dec 14 '10 at 21:04
Little late to tell you so, but no.
– David Roberts
Jan 5 '11 at 11:37
add a comment |
I guess there are different ways of doing this but I'm used to seeing the "corner" you put in closer to the Z in the diagram and a dot placed in the middle of the "corner".
– K.J. Moi
Aug 5 '10 at 15:24
@K.J. Moi: Right, I've added the dot and shifted it towards the Z. If it still isn't right, you'll have to give me an example!
– Loop Space
Aug 5 '10 at 17:35
Andrew - +1 for the door opening instructions alone!
– David Roberts
Dec 14 '10 at 6:26
@David: did you not see that when I first posted it?
– Loop Space
Dec 14 '10 at 21:04
Little late to tell you so, but no.
– David Roberts
Jan 5 '11 at 11:37
I guess there are different ways of doing this but I'm used to seeing the "corner" you put in closer to the Z in the diagram and a dot placed in the middle of the "corner".
– K.J. Moi
Aug 5 '10 at 15:24
I guess there are different ways of doing this but I'm used to seeing the "corner" you put in closer to the Z in the diagram and a dot placed in the middle of the "corner".
– K.J. Moi
Aug 5 '10 at 15:24
@K.J. Moi: Right, I've added the dot and shifted it towards the Z. If it still isn't right, you'll have to give me an example!
– Loop Space
Aug 5 '10 at 17:35
@K.J. Moi: Right, I've added the dot and shifted it towards the Z. If it still isn't right, you'll have to give me an example!
– Loop Space
Aug 5 '10 at 17:35
Andrew - +1 for the door opening instructions alone!
– David Roberts
Dec 14 '10 at 6:26
Andrew - +1 for the door opening instructions alone!
– David Roberts
Dec 14 '10 at 6:26
@David: did you not see that when I first posted it?
– Loop Space
Dec 14 '10 at 21:04
@David: did you not see that when I first posted it?
– Loop Space
Dec 14 '10 at 21:04
Little late to tell you so, but no.
– David Roberts
Jan 5 '11 at 11:37
Little late to tell you so, but no.
– David Roberts
Jan 5 '11 at 11:37
add a comment |
Use the Comprehensive LaTeX Symbol List to find it or use the Detexify tool.
You may use the symbols lrcorner, ulcorner, llcorner or urcorner of the amssymb package.
A dot might be put into the corner for instance by $rlap{$cdot$}lrcorner$. Or use mathrlap as suggested in the comments.
Here's a possible definition for that symbol:
newcommand*{corner}{mbox{LARGE{$mathrlap{cdot}lrcorner$}}}
Insert small spacing if you would like to adjust the position of the dot within the corner symbol.
Here's a complete minimal example producing a complete matrix:
documentclass{article}
usepackage{amssymb}
usepackage{mathtools}
usepackage{xypic}
newcommand*{corner}{mbox{LARGE{$mathrlap{cdot}lrcorner$}}}
begin{document}
xymatrix{%
ar @{} [dr] | corner A ar[r] ar[d] &B ar[d] \
C ar[r] & D
}
end{document}

I suspect that the problem is less in defining the symbol itself as to placing it in the correct place in the diagram. See my answer for what it should look like (but my answer uses TikZ and the questioner asked for xy so the question itself is still open!).
– Loop Space
Aug 5 '10 at 15:07
I understood it as how to typeset the symbol, not how to place it. Though xy commands would be able to place it somewhere. I added symbols of amssymb.
– Stefan Kottwitz♦
Aug 5 '10 at 15:16
I guess that needs clarifying - I'll comment on the original question.
– Loop Space
Aug 5 '10 at 15:28
Those corner commands look good. There is still the problem of placing the dot in the middle. On page 98 of the comprehensive symbol list the symbol{pigpenfont J}is pretty much what I want. I've seen this symbol used a lot, so I'd be surprised if there isn't some easier way.
– K.J. Moi
Aug 5 '10 at 16:04
There is a problem with usingrlapin math mode but <a href="math.arizona.edu/~aprl/publications/mathclap/…> is a way around it. Using the new macros on p.4 the codexymatrix{ar @{} [dr] |{text{LARGE{$mathrlap{cdot}lrcorner$}}} A ar[r] ar[d] &B ar[d] C ar[r] & D}gives decent output. The input however is far from decent, so I really hope someone knows of a better way.
– K.J. Moi
Aug 5 '10 at 16:34
|
show 2 more comments
Use the Comprehensive LaTeX Symbol List to find it or use the Detexify tool.
You may use the symbols lrcorner, ulcorner, llcorner or urcorner of the amssymb package.
A dot might be put into the corner for instance by $rlap{$cdot$}lrcorner$. Or use mathrlap as suggested in the comments.
Here's a possible definition for that symbol:
newcommand*{corner}{mbox{LARGE{$mathrlap{cdot}lrcorner$}}}
Insert small spacing if you would like to adjust the position of the dot within the corner symbol.
Here's a complete minimal example producing a complete matrix:
documentclass{article}
usepackage{amssymb}
usepackage{mathtools}
usepackage{xypic}
newcommand*{corner}{mbox{LARGE{$mathrlap{cdot}lrcorner$}}}
begin{document}
xymatrix{%
ar @{} [dr] | corner A ar[r] ar[d] &B ar[d] \
C ar[r] & D
}
end{document}

I suspect that the problem is less in defining the symbol itself as to placing it in the correct place in the diagram. See my answer for what it should look like (but my answer uses TikZ and the questioner asked for xy so the question itself is still open!).
– Loop Space
Aug 5 '10 at 15:07
I understood it as how to typeset the symbol, not how to place it. Though xy commands would be able to place it somewhere. I added symbols of amssymb.
– Stefan Kottwitz♦
Aug 5 '10 at 15:16
I guess that needs clarifying - I'll comment on the original question.
– Loop Space
Aug 5 '10 at 15:28
Those corner commands look good. There is still the problem of placing the dot in the middle. On page 98 of the comprehensive symbol list the symbol{pigpenfont J}is pretty much what I want. I've seen this symbol used a lot, so I'd be surprised if there isn't some easier way.
– K.J. Moi
Aug 5 '10 at 16:04
There is a problem with usingrlapin math mode but <a href="math.arizona.edu/~aprl/publications/mathclap/…> is a way around it. Using the new macros on p.4 the codexymatrix{ar @{} [dr] |{text{LARGE{$mathrlap{cdot}lrcorner$}}} A ar[r] ar[d] &B ar[d] C ar[r] & D}gives decent output. The input however is far from decent, so I really hope someone knows of a better way.
– K.J. Moi
Aug 5 '10 at 16:34
|
show 2 more comments
Use the Comprehensive LaTeX Symbol List to find it or use the Detexify tool.
You may use the symbols lrcorner, ulcorner, llcorner or urcorner of the amssymb package.
A dot might be put into the corner for instance by $rlap{$cdot$}lrcorner$. Or use mathrlap as suggested in the comments.
Here's a possible definition for that symbol:
newcommand*{corner}{mbox{LARGE{$mathrlap{cdot}lrcorner$}}}
Insert small spacing if you would like to adjust the position of the dot within the corner symbol.
Here's a complete minimal example producing a complete matrix:
documentclass{article}
usepackage{amssymb}
usepackage{mathtools}
usepackage{xypic}
newcommand*{corner}{mbox{LARGE{$mathrlap{cdot}lrcorner$}}}
begin{document}
xymatrix{%
ar @{} [dr] | corner A ar[r] ar[d] &B ar[d] \
C ar[r] & D
}
end{document}

Use the Comprehensive LaTeX Symbol List to find it or use the Detexify tool.
You may use the symbols lrcorner, ulcorner, llcorner or urcorner of the amssymb package.
A dot might be put into the corner for instance by $rlap{$cdot$}lrcorner$. Or use mathrlap as suggested in the comments.
Here's a possible definition for that symbol:
newcommand*{corner}{mbox{LARGE{$mathrlap{cdot}lrcorner$}}}
Insert small spacing if you would like to adjust the position of the dot within the corner symbol.
Here's a complete minimal example producing a complete matrix:
documentclass{article}
usepackage{amssymb}
usepackage{mathtools}
usepackage{xypic}
newcommand*{corner}{mbox{LARGE{$mathrlap{cdot}lrcorner$}}}
begin{document}
xymatrix{%
ar @{} [dr] | corner A ar[r] ar[d] &B ar[d] \
C ar[r] & D
}
end{document}

edited Feb 26 '17 at 6:14
Werner
450k729981705
450k729981705
answered Aug 5 '10 at 14:52
Stefan Kottwitz♦Stefan Kottwitz
179k65572762
179k65572762
I suspect that the problem is less in defining the symbol itself as to placing it in the correct place in the diagram. See my answer for what it should look like (but my answer uses TikZ and the questioner asked for xy so the question itself is still open!).
– Loop Space
Aug 5 '10 at 15:07
I understood it as how to typeset the symbol, not how to place it. Though xy commands would be able to place it somewhere. I added symbols of amssymb.
– Stefan Kottwitz♦
Aug 5 '10 at 15:16
I guess that needs clarifying - I'll comment on the original question.
– Loop Space
Aug 5 '10 at 15:28
Those corner commands look good. There is still the problem of placing the dot in the middle. On page 98 of the comprehensive symbol list the symbol{pigpenfont J}is pretty much what I want. I've seen this symbol used a lot, so I'd be surprised if there isn't some easier way.
– K.J. Moi
Aug 5 '10 at 16:04
There is a problem with usingrlapin math mode but <a href="math.arizona.edu/~aprl/publications/mathclap/…> is a way around it. Using the new macros on p.4 the codexymatrix{ar @{} [dr] |{text{LARGE{$mathrlap{cdot}lrcorner$}}} A ar[r] ar[d] &B ar[d] C ar[r] & D}gives decent output. The input however is far from decent, so I really hope someone knows of a better way.
– K.J. Moi
Aug 5 '10 at 16:34
|
show 2 more comments
I suspect that the problem is less in defining the symbol itself as to placing it in the correct place in the diagram. See my answer for what it should look like (but my answer uses TikZ and the questioner asked for xy so the question itself is still open!).
– Loop Space
Aug 5 '10 at 15:07
I understood it as how to typeset the symbol, not how to place it. Though xy commands would be able to place it somewhere. I added symbols of amssymb.
– Stefan Kottwitz♦
Aug 5 '10 at 15:16
I guess that needs clarifying - I'll comment on the original question.
– Loop Space
Aug 5 '10 at 15:28
Those corner commands look good. There is still the problem of placing the dot in the middle. On page 98 of the comprehensive symbol list the symbol{pigpenfont J}is pretty much what I want. I've seen this symbol used a lot, so I'd be surprised if there isn't some easier way.
– K.J. Moi
Aug 5 '10 at 16:04
There is a problem with usingrlapin math mode but <a href="math.arizona.edu/~aprl/publications/mathclap/…> is a way around it. Using the new macros on p.4 the codexymatrix{ar @{} [dr] |{text{LARGE{$mathrlap{cdot}lrcorner$}}} A ar[r] ar[d] &B ar[d] C ar[r] & D}gives decent output. The input however is far from decent, so I really hope someone knows of a better way.
– K.J. Moi
Aug 5 '10 at 16:34
I suspect that the problem is less in defining the symbol itself as to placing it in the correct place in the diagram. See my answer for what it should look like (but my answer uses TikZ and the questioner asked for xy so the question itself is still open!).
– Loop Space
Aug 5 '10 at 15:07
I suspect that the problem is less in defining the symbol itself as to placing it in the correct place in the diagram. See my answer for what it should look like (but my answer uses TikZ and the questioner asked for xy so the question itself is still open!).
– Loop Space
Aug 5 '10 at 15:07
I understood it as how to typeset the symbol, not how to place it. Though xy commands would be able to place it somewhere. I added symbols of amssymb.
– Stefan Kottwitz♦
Aug 5 '10 at 15:16
I understood it as how to typeset the symbol, not how to place it. Though xy commands would be able to place it somewhere. I added symbols of amssymb.
– Stefan Kottwitz♦
Aug 5 '10 at 15:16
I guess that needs clarifying - I'll comment on the original question.
– Loop Space
Aug 5 '10 at 15:28
I guess that needs clarifying - I'll comment on the original question.
– Loop Space
Aug 5 '10 at 15:28
Those corner commands look good. There is still the problem of placing the dot in the middle. On page 98 of the comprehensive symbol list the symbol
{pigpenfont J} is pretty much what I want. I've seen this symbol used a lot, so I'd be surprised if there isn't some easier way.– K.J. Moi
Aug 5 '10 at 16:04
Those corner commands look good. There is still the problem of placing the dot in the middle. On page 98 of the comprehensive symbol list the symbol
{pigpenfont J} is pretty much what I want. I've seen this symbol used a lot, so I'd be surprised if there isn't some easier way.– K.J. Moi
Aug 5 '10 at 16:04
There is a problem with using
rlap in math mode but <a href="math.arizona.edu/~aprl/publications/mathclap/…> is a way around it. Using the new macros on p.4 the code xymatrix{ar @{} [dr] |{text{LARGE{$mathrlap{cdot}lrcorner$}}} A ar[r] ar[d] &B ar[d] C ar[r] & D} gives decent output. The input however is far from decent, so I really hope someone knows of a better way.– K.J. Moi
Aug 5 '10 at 16:34
There is a problem with using
rlap in math mode but <a href="math.arizona.edu/~aprl/publications/mathclap/…> is a way around it. Using the new macros on p.4 the code xymatrix{ar @{} [dr] |{text{LARGE{$mathrlap{cdot}lrcorner$}}} A ar[r] ar[d] &B ar[d] C ar[r] & D} gives decent output. The input however is far from decent, so I really hope someone knows of a better way.– K.J. Moi
Aug 5 '10 at 16:34
|
show 2 more comments
The following solution is from the tikzcd documentation, Version 0.9e October 30, 2014:
begin{tikzcd}
A arrow[r] arrow[d]
arrow[dr, phantom, "ulcorner", very near start]
& B arrow[d] \
C arrow[r]
& D
end{tikzcd}

You can change the corner to lrcorner.
I had success visualizing a pushout withbegin{tikzcd} A arrow[r] arrow[d] & B arrow[d] \ C arrow[r] & D arrow[ul, phantom, "ulcorner", very near start] end{tikzcd}
– ComFreek
Mar 26 at 13:32
add a comment |
The following solution is from the tikzcd documentation, Version 0.9e October 30, 2014:
begin{tikzcd}
A arrow[r] arrow[d]
arrow[dr, phantom, "ulcorner", very near start]
& B arrow[d] \
C arrow[r]
& D
end{tikzcd}

You can change the corner to lrcorner.
I had success visualizing a pushout withbegin{tikzcd} A arrow[r] arrow[d] & B arrow[d] \ C arrow[r] & D arrow[ul, phantom, "ulcorner", very near start] end{tikzcd}
– ComFreek
Mar 26 at 13:32
add a comment |
The following solution is from the tikzcd documentation, Version 0.9e October 30, 2014:
begin{tikzcd}
A arrow[r] arrow[d]
arrow[dr, phantom, "ulcorner", very near start]
& B arrow[d] \
C arrow[r]
& D
end{tikzcd}

You can change the corner to lrcorner.
The following solution is from the tikzcd documentation, Version 0.9e October 30, 2014:
begin{tikzcd}
A arrow[r] arrow[d]
arrow[dr, phantom, "ulcorner", very near start]
& B arrow[d] \
C arrow[r]
& D
end{tikzcd}

You can change the corner to lrcorner.
edited Mar 26 at 13:46
ComFreek
5022717
5022717
answered Oct 19 '18 at 14:57
Yan King YinYan King Yin
6191618
6191618
I had success visualizing a pushout withbegin{tikzcd} A arrow[r] arrow[d] & B arrow[d] \ C arrow[r] & D arrow[ul, phantom, "ulcorner", very near start] end{tikzcd}
– ComFreek
Mar 26 at 13:32
add a comment |
I had success visualizing a pushout withbegin{tikzcd} A arrow[r] arrow[d] & B arrow[d] \ C arrow[r] & D arrow[ul, phantom, "ulcorner", very near start] end{tikzcd}
– ComFreek
Mar 26 at 13:32
I had success visualizing a pushout with
begin{tikzcd} A arrow[r] arrow[d] & B arrow[d] \ C arrow[r] & D arrow[ul, phantom, "ulcorner", very near start] end{tikzcd}– ComFreek
Mar 26 at 13:32
I had success visualizing a pushout with
begin{tikzcd} A arrow[r] arrow[d] & B arrow[d] \ C arrow[r] & D arrow[ul, phantom, "ulcorner", very near start] end{tikzcd}– ComFreek
Mar 26 at 13:32
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.
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%2f1144%2fpushouts-and-pullbacks%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 please add what that symbol looks like.
– Caramdir
Aug 5 '10 at 14:48
@Caramdir: take a look at my answer to see what it looks like.
– Loop Space
Aug 5 '10 at 15:06
To clarify: do you want to know what the symbol is, or how to place it correctly in the diagram? (I must admit that I wouldn't regard this as a symbol in the same way that I wouldn't regard an arrow as a symbol.)
– Loop Space
Aug 5 '10 at 15:29
1
@Caramdir: I didn't want to add the diagram until K.J.Moi had enough reputation to add a diagram as (from other experience) that might limit K.J.Moi's ability to edit the question.
– Loop Space
Aug 5 '10 at 15:34
1
Sorry. How much reputation is needed to add a picture?
– Caramdir
Aug 5 '10 at 15:37