# Adjunction

> A pair of adjoint functors between two categories, with the turnstile between the arrows. A tikz-cd example with its LaTeX source.

A tikz-cd example in the TeXeR TikZ library: https://texer.org/library/tikz-cd/adjunction

Package: [tikz-cd](https://texer.org/library/tikz-cd.md), on CTAN at https://ctan.org/pkg/tikz-cd.

Tags: adjunction, functors, category theory

## Source

```latex
\usepackage{tikz-cd}

\begin{tikzcd}[column sep=large]
  \mathcal{C} \arrow[r, bend left=35, "F"{name=F}] &
  \mathcal{D} \arrow[l, bend left=35, "G"{name=G}]
  \arrow[phantom, from=F, to=G, "\dashv" rotate=-90]
\end{tikzcd}
```

## As a complete document

The same example in a document that compiles on its own with pdfLaTeX:

```latex
\documentclass[margin=3mm]{standalone}
\usepackage{tikz}
\usepackage{xcolor}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{tikz-cd}

\begin{document}

\begin{tikzcd}[column sep=large]
  \mathcal{C} \arrow[r, bend left=35, "F"{name=F}] &
  \mathcal{D} \arrow[l, bend left=35, "G"{name=G}]
  \arrow[phantom, from=F, to=G, "\dashv" rotate=-90]
\end{tikzcd}
\end{document}
```
