Back to blog

Two-Column Papers & Math PDFs to LaTeX Markdown

Nov 10, 2026PDF to MDPDF to MD

Fix garbled reading order in two-column arXiv/IEEE papers and turn inline and display equations into clean LaTeX ($...$ and $$...$$) ready for Obsidian, Notion, and LLMs.

Anyone who reads research papers, writes literature reviews, or builds a technical knowledge base knows how frustrating academic PDFs are. Papers from arXiv, IEEE, and ACM almost always use two-column layouts packed with inline and display equations, borderless three-line tables, and numbered citations. Copy-pasting or running a basic text extractor usually breaks in three ways:

  1. Columns merge across the page: a sentence in the left column jumps straight into the right column on the same horizontal line;
  2. Equations turn into scattered symbols: summation signs $\sum$, subscripts, superscripts, and fractions land on separate lines;
  3. Running headers and line numbers leak into body text: conference headers, page numbers, and review rulers split paragraphs in half.

This guide shows how to convert academic paper PDFs and math formula PDFs into structured Markdown with clean LaTeX math.

Why AI mode is preset for papers and math

For single-column text reports, our browser-based Free mode reconstructs headings and tables locally without uploading your file. However, a PDF file doesn't store semantic tags like "this is a fraction" or "this is column 1"—it only stores glyph coordinates.

When you open the Academic Paper converter or the PDF Formula converter and pick a file, the primary button defaults to AI Enhanced mode:

  • Layout-aware reading order: detects full-width titles, abstracts, left and right columns, figure captions, and footnotes before assembling paragraphs;
  • Standard LaTeX math: wraps inline symbols in $d_k$ and display equations in $$...$$ blocks;
  • Three-line scientific tables: reconstructs borderless booktabs-style benchmark tables into aligned GFM tables.

Real output example: Attention equation & loss function

Given a PDF page containing the scaled dot-product attention formula and cross-entropy loss:

# Scaled Dot-Product Attention

Queries and keys of dimension $d_k$ are scaled to prevent large dot products.

$$\mathrm{Attention}(Q,K,V)=\mathrm{softmax}\!\left(\frac{QK^\top}{\sqrt{d_k}}\right)V$$

## Cross-Entropy Loss

$$\mathcal{L}(\theta)=-\sum_{i=1}^{C} y_i \log \hat{p}_i$$

In the result panel, you can toggle between Source and Preview to inspect the rendered KaTeX equations side by side with the original PDF.

Three steps to bring papers into Obsidian or LLMs

  1. Open Academic Paper PDF to Markdown (or PDF Formula to LaTeX Markdown for lecture notes and derivations) and drop in your PDF.
  2. Check the page count and credit cost shown right on the button, then click Convert with AI (credits are automatically refunded if a conversion ever fails).
  3. Review the side-by-side comparison on desktop, then Copy or Download the .md file.

Practical tips

  • Trim the References section before prompting an LLM: deleting a 3-page bibliography at the end of the Markdown saves 20–30% of your context window and keeps the model focused on the paper's methods and results.
  • Use full-screen comparison for benchmark tables: click the full-screen icon in the result view to verify ablation numbers against the original PDF page.

Have a paper or problem set on hand? Try the Academic Paper converter or PDF Formula converter. Need to extract data from scanned contracts, invoices, or financial statements? Read our companion guide: How to Extract Scanned PDFs, Invoices, and Tables to Markdown.