How to copy handwritten math from a PDF as LaTeX
To reuse one equation from a handwritten PDF, transcribe the PDF in Handwriting to Text for Mac. Open the searchable copy, select the equation in Preview, and copy it into your LaTeX document. You can work straight from the notebook PDF.
Transcribe the PDF and copy one equation
Handwriting to Text runs on Apple silicon Macs with macOS 14 or later. Your Mac processes the PDF locally, without uploading it for transcription.
- Open Handwriting to Text and choose High quality from the transcription model picker if it’s available on your Mac. Let the model finish downloading on first use. Fast reads plain text and skips equation reconstruction.
- Click the plus button and select your PDF. When transcription finishes, right-click the document and choose Open PDF. Open the searchable copy in Preview if another viewer is your default.
- Go to the page with the equation. In Preview, choose Tools → Text Selection, drag over just that equation, and choose Edit → Copy. See Apple’s Preview instructions.
- Paste into the source of your LaTeX document. If you’re adding a standalone equation and the pasted text has no math delimiters, wrap it in
\[and\]. If it already has delimiters, use one pair. See Overleaf’s guide to math mode.
Other ways to get LaTeX from handwriting
For one equation: Take a screenshot of the equation, crop it, and upload the PNG, JPG, or WebP to our free Handwriting to LaTeX converter. You can edit and copy the result in your browser.
For PDFs you’re comfortable uploading: Mathpix Snip Web can copy LaTeX from equations in uploaded handwritten PDFs. Mathpix offers free and paid Snip plans. See how Snip Web handles PDFs and its plan limits.
For equations you’re writing by hand now: MyScript Notes (formerly Nebo) lets you write equations in Math objects and copy them as LaTeX. The app has paid plans. See MyScript Notes.