Formatting Annotations with LaTeX

Formatting Annotations with LaTeX2021-09-17T14:34:32-07:00
  1. Home
  2. Help
  3. Annotating with Hypothesis
  4. Formatting Annotations with LaTeX

The Hypothesis editor supports LaTeX formatting markup, allowing the use of advanced math and scientific typography within annotations.

Also see our articles on using Markdown, and embedding links, images, and videos.

If you’re wondering what LaTeX is or what it’s used for, here’s a pretty good primer.

We use the KaTeX library to render LaTeX. Here is a full list of supported functions and notation.

To use LaTeX formatting in Hypothesis, simply begin and end the markup with two dollar-signs ($$). For example: $$\sum_{\mathclap{1\le i\le n}} x_{i}$$

You can also use the editor toolbar:

  1. Click the ∑ icon and note the prompt to Insert LaTeX
  2. Enter your LaTeX markup between the double-dollar-signs
  3. Click the Preview link to view how the markup will be rendered

Related Articles

In order to support easy reuse, revision, remixing, and redistribution, the entire Hypothesis Help knowledge base by Hypothesis is dedicated to the public domain via CC CC0 1.0. While we appreciate attribution and links back to Hypothesis from anywhere these works are published, they are not required. Learn more about how we made the decision to put our guidance in the public domain and let us know how you are putting Hypothesis Help to good use.