# Hopf link

> Two circles linked once, each passing over the other at one crossing. A knots example with its complete LaTeX source, ready to copy or open in TeXeR.

A knots example in the TeXeR TikZ library: https://texer.org/library/knots/hopf-link

Package: [knots](https://texer.org/library/knots.md), on CTAN at https://ctan.org/pkg/spath3.

Tags: Hopf link, link

## Source

```latex
\usetikzlibrary{knots}

\begin{tikzpicture}
  \begin{knot}[clip width=5, flip crossing=2]
    \strand[thick, blue!70!black] (0,0) circle (1.2);
    \strand[thick, orange!85!black] (1.4,0) circle (1.2);
  \end{knot}
\end{tikzpicture}
```

## 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}
\usetikzlibrary{knots}

\begin{document}

\begin{tikzpicture}
  \begin{knot}[clip width=5, flip crossing=2]
    \strand[thick, blue!70!black] (0,0) circle (1.2);
    \strand[thick, orange!85!black] (1.4,0) circle (1.2);
  \end{knot}
\end{tikzpicture}
\end{document}
```
