# What a copied formula should paste as

A formula copied out of a PDF should paste as one line that a person can read and software can read back. The conventions our copy text follows, with real examples.

Address: https://intex.academy/notes/copy-text

November 17, 2026

Copy text has two readers. The first is a person: a student pasting a formula into notes, a lecturer quoting it in an email. The second is software: a search box, a chat, the formula reader on this site. A good line serves both.

$$\int_{-\infty}^{\infty} e^{-x^{2}} \, \mathrm{d} x = \sqrt{\pi}$$

**Copied** `∫_(−∞)^∞ e^(−x²) dx = √π`

$$\sum_{k = 1}^{n} k = \frac{n(n + 1)}{2}$$

**Copied** `∑_(k=1)^n k = n(n + 1)/2`

$$A = \left( \begin{array}{cc} a & b \\ c & d \end{array} \right)$$

**Copied** `A = (a, b; c, d)`

The conventions are few. A square is a superscript digit. A root keeps its contents in brackets, so it is clear what sits under the sign. A fraction brackets its numerator when it is more than one term, because `a + b/c` means something else. A sum or an integral carries its limits after an underscore and a caret, the way people already type them. A matrix lists its rows, separated by semicolons.

Every character is plain Unicode, so the line survives being pasted almost anywhere. And it reads back: paste it into the [formula reader](https://intex.academy/formula) and it is read as mathematics again, with the same spoken words as the original. Each time this site is built, that round trip is checked for every formula on the [copy page](https://intex.academy/copy).

More notes: [all notes](https://intex.academy/notes/), or follow them with the [Atom feed](https://intex.academy/notes/feed.xml).
