Here is a fragment from MacLane's classic book "Categories for the working mathematician":
Here is another one that's a bit more complicated:
Is there a package that allows to (hopefully easily) typeset things of this kind?
PS: I've been using several packages for making commutative diagrams (amscd, tikz-cd), which is enough for a lot of stuff in category theory. But the picture above isn't really a "commutative diagram", it's something else. I don't even know how to call it, so looking it up on the web is kind of problematic. Thanks.
Best Answer
Here is my version also using
tikz-cd
: