GitHub

Write the paper, skip the wait.

A minimalist, open-source LaTeX editor for research papers and résumés. Light on memory, quick to open, and backed by a full TeX Live.

Free, no account needed. On Overleaf?

main.tex

Sparse Attention for Long Documents

Ada Researcher

Abstract

We show that attending to a learned subset of tokens keeps 98% of accuracy at a quarter of the cost on 64k-token documents.

1Introduction

Transformers [1] scale quadratically with length:

softmaxQK⊤√dV(1)

We ask which tokens matter, and find that most do not. Table 1 compares cost and accuracy.

Table 1: Accuracy and cost.
MethodAcc.Cost
Dense85.11.00
Ours84.90.26

Alex Kim

Toronto · alex@example.com · github.com/alexkim

Education

B.S. Computer Science2021 – 2025
University of TorontoGPA 3.9

Experience

Software Engineering InternSummer 2024
ShopifyToronto
  • Cut p95 checkout latency by 40% by caching tax lookups.
  • Shipped a feature flag service used by 30 teams.

Projects

tinygrad-vizPython, WebGL
  • Visualizes autograd graphs live; 1.2k GitHub stars.

Everything a paper needs, nothing it doesn't.

Just your files, the editor and the PDF. No clutter, no compile queue, no project limits.

  • Light on memory

    About 5 MB of JavaScript memory with a paper open and compiled, so it stays quick next to your browser tabs and IDE.

  • Opens in a blink

    The start page is under 30 KB and the whole editor about 170 KB. No spinner, no loading screen.

  • One Compile button

    A full TeX Live with BibTeX, biblatex, TikZ, algorithms and every common package. Nothing to configure.

  • Errors in plain English

    No wall of log. Each problem is explained in a sentence, and a click takes you to the line.

  • Private by default

    Projects live in your browser. Sign in only if you want them on every device.

Bring your Overleaf projects

Files, folders, figures and bibliography come across as they are. Nothing to convert.

  1. Download the sourceIn Overleaf, open the project and choose Menu → Download → Source.
  2. Drop the .zip hereTap here to pick the .zipOr click to choose it. It becomes a new project.
  3. Press CompileYour PDF is ready in a few seconds. Ctrl + S compiles again.

Open source, top to bottom.

Every line of LiteTeX is on GitHub under the MIT license. Read it, fork it, run your own copy, or send a fix. No trackers, no analytics, no lock-in.

View on GitHub
# run the editor locally
git clone https://github.com/kaushik-3009/LiteTex
cd LiteTex && npm install && npm run dev

# or with your own TeX Live, in Docker
docker build -t litetex .
docker run -p 8787:8787 litetex

TypeScript with no framework, CodeMirror 6, PDF.js and TeX Live. About 170 KB of JavaScript for the whole editor.

Projects

Drop an Overleaf .zip hereImport an Overleaf .zip

In Overleaf, open a project, then Menu → Download → Source.

Projects are saved in this browser. Back them up with Download .zip.

Compiler