So I was transcribing a lecture for a college asignment and when I got to this formula I just don't know how to code it. Do someone know how to code it in Latex? Thanks in advance.

enter image description here

This is the figure I want to code


1 Answer 1


Such diagrams can be produced with tikz-cd, or, practically equivalently the cd library of tikz. You probably want the bounding box to be accurate, too, to which end you may use the bbox library.

\begin{tikzcd}[bezier bounding box]
 A \arrow[r,"f"]& B \arrow[l,"g",out=-15,in=-45]\\

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .