Skip to main content
⚡ Calmops

LaTeX Online Editors: Overleaf, CoCalc, and Cloud-Based Writing

Introduction

Online LaTeX editors eliminate the need to install TeX distributions locally (which can be 3-5GB). They provide instant compilation, real-time collaboration, and access from any device. This guide covers the best options and how to use them effectively.

Overleaf: The Industry Standard

Overleaf is the most widely used online LaTeX editor, with over 12 million users. It’s the default choice for academic writing and collaboration.

Getting Started

  1. Create a free account at overleaf.com
  2. Click “New Project” → choose a template or blank project
  3. Write in the left panel, see the compiled PDF on the right
  4. Share with collaborators via a link

Key Features

Real-time collaboration:

Share → Anyone with the link can edit
Share → Invite specific people by email

Rich template library:

  • IEEE, ACM, Springer journal templates
  • Thesis templates for hundreds of universities
  • CV/resume templates
  • Beamer presentation templates

Git integration (paid plans):

# Clone your Overleaf project locally
git clone https://git.overleaf.com/your-project-id

# Push changes back
git push

Dropbox and GitHub sync (paid plans):

  • Sync your project with a GitHub repository
  • Edit locally in VS Code, compile on Overleaf

Overleaf Keyboard Shortcuts

Shortcut Action
Ctrl+Enter Compile PDF
Ctrl+/ Toggle comment
Ctrl+D Duplicate line
Ctrl+F Find
Ctrl+H Find and replace
Ctrl+Z Undo
F1 Toggle vim mode

Overleaf Pricing

Plan Price Features
Free $0 1 collaborator, 20s compile timeout
Standard $21/month Unlimited collaborators, 4min timeout, GitHub sync
Professional $42/month Priority support, advanced reference manager
Student Discounted Check with your institution

Many universities provide free Overleaf Professional access — check with your library.

Tips for Overleaf

% Use \input{} to split large documents into files
% main.tex
\documentclass{article}
\begin{document}
\input{chapters/introduction}
\input{chapters/methods}
\input{chapters/results}
\end{document}
% Track changes (Overleaf Pro)
% Use the "Track Changes" toggle in the Review panel
% Changes appear highlighted; collaborators can accept/reject

CoCalc: Full Linux Environment

CoCalc provides a complete Linux environment in the browser — not just LaTeX, but Python, R, Jupyter notebooks, and a terminal.

Features

  • Full terminal access (bash, Python, R, etc.)
  • Jupyter notebooks alongside LaTeX
  • Real-time collaboration
  • Time travel (version history)
  • LaTeX with SageMath integration

When to Use CoCalc

  • You need to run Python/R code alongside your LaTeX document
  • You want a full Linux environment without local setup
  • You’re teaching a course that uses multiple tools
# CoCalc terminal — full Linux
$ python3 --version
$ R --version
$ pdflatex --version
$ latexmk -pdf document.tex

Authorea: Integrated with arXiv

Authorea is designed for scientific publishing with direct arXiv and journal submission integration.

Features

  • Direct submission to arXiv, bioRxiv, PLOS, and others
  • Inline commenting and review
  • DOI assignment
  • Data and figure hosting
  • Supports both LaTeX and rich text editing

Best For

  • Preprint submissions (arXiv, bioRxiv)
  • Collaborative scientific papers
  • When you need integrated data/figure hosting

Papeeria: Simple and Fast

Papeeria is a lightweight alternative to Overleaf with a clean interface.

Features

  • Free plan with unlimited projects
  • Real-time collaboration
  • Git integration
  • Fast compilation

Pricing

  • Free: unlimited projects, 1 collaborator
  • Paid: more collaborators, priority compilation

Local Editor + Overleaf Sync

Many users prefer editing locally (VS Code, Emacs, Vim) and syncing to Overleaf:

VS Code + LaTeX Workshop

# Install LaTeX Workshop extension in VS Code
# Install TeX Live or MiKTeX locally

# .vscode/settings.json
{
  "latex-workshop.latex.tools": [
    {
      "name": "latexmk",
      "command": "latexmk",
      "args": ["-pdf", "-interaction=nonstopmode", "%DOC%"]
    }
  ]
}

Overleaf + GitHub Sync

  1. Overleaf → Menu → GitHub → Connect to GitHub
  2. Create a new repository or link existing
  3. Push/pull changes between Overleaf and GitHub
  4. Edit locally, push to GitHub, Overleaf auto-syncs

Choosing the Right Tool

Scenario Recommended
Academic paper with collaborators Overleaf
Thesis writing Overleaf (university plan)
arXiv preprint Authorea or Overleaf
Code + LaTeX together CoCalc
Simple documents, free Papeeria
Power user, local editing VS Code + LaTeX Workshop
Teaching LaTeX Overleaf (free tier)

Common Issues and Solutions

Compilation timeout (free Overleaf)

% Reduce compilation time:
% 1. Use \includeonly{} to compile only specific chapters
\includeonly{chapters/introduction}

% 2. Use draft mode (faster, no images)
\documentclass[draft]{article}

% 3. Cache bibliography
% Use biber instead of bibtex for faster runs

Large files

# Compress images before uploading
convert image.png -quality 80 image_compressed.jpg

# Use PDF images (vector, smaller than PNG for diagrams)
\includegraphics{diagram.pdf}

Collaboration conflicts

# Overleaf handles conflicts automatically
# If two people edit the same line simultaneously,
# Overleaf shows a conflict marker — resolve manually

Resources

Comments