Convert Figma logo to code with AI

overleaf logooverleaf

A web-based collaborative LaTeX editor

15,973
1,647
15,973
211

Top Related Projects

15,996

A web-based collaborative LaTeX editor

Themes for Bootstrap

Boost LaTeX typesetting efficiency with preview, compile, autocomplete, colorize, and more.

:octocat: GitHub Action to compile LaTeX documents

Quick Overview

Overleaf is an open-source collaborative LaTeX editor that runs in the browser. It provides a user-friendly interface for writing and compiling LaTeX documents, with real-time collaboration features and integration with various reference management tools.

Pros

  • Real-time collaboration with multiple users
  • Browser-based, eliminating the need for local LaTeX installations
  • Extensive template library for various document types
  • Version control and history tracking

Cons

  • Requires internet connection for full functionality
  • May have performance issues with very large documents
  • Limited customization compared to local LaTeX environments
  • Some advanced LaTeX features may not be fully supported

Getting Started

To set up a local instance of Overleaf for development or self-hosting:

  1. Clone the repository:

    git clone https://github.com/overleaf/overleaf.git
    
  2. Install dependencies:

    cd overleaf
    npm install
    
  3. Set up configuration:

    • Copy config/settings.defaults.js to config/settings.development.js
    • Modify settings as needed (e.g., database connection, storage options)
  4. Start the server:

    npm start
    
  5. Access Overleaf at http://localhost:3000

Note: For production use, refer to the official documentation for more detailed setup instructions and best practices.

Competitor Comparisons

15,996

A web-based collaborative LaTeX editor

Pros of Overleaf

  • More comprehensive and feature-rich, including the full Overleaf web application
  • Includes both server-side and client-side components
  • Better suited for deploying a complete Overleaf instance

Cons of Overleaf

  • Larger codebase, potentially more complex to navigate and contribute to
  • May require more resources to run and maintain
  • Possibly slower development cycle due to its size and complexity

Code Comparison

Overleaf (server-side route handling):

app.get('/project/:project_id/download/zip', function(req, res, next) {
  const project_id = req.params.project_id
  const user_id = AuthenticationController.getLoggedInUserId(req)
  ProjectDownloadsController.downloadProject(req, res, next, project_id, user_id)
})

Overleaf (client-side component):

import React from 'react'
import { EditorLeft } from './editor-left'
import { EditorRight } from './editor-right'

export function Editor() {
  return (
    <div className="editor">
      <EditorLeft />
      <EditorRight />
    </div>
  )
}

Note: The code comparison is hypothetical as Overleaf is a single repository, and there isn't a direct comparison between two distinct repositories named overleaf/overleaf.

Themes for Bootstrap

Pros of Bootswatch

  • Lightweight and focused on theming Bootstrap
  • Easy to implement and customize
  • Wide variety of pre-built themes available

Cons of Bootswatch

  • Limited to Bootstrap styling, not a full-featured editor
  • Less active development and community compared to Overleaf
  • Narrower scope and functionality

Code Comparison

Bootswatch (CSS):

.navbar {
  border-radius: 0;
}
.navbar-default .badge {
  background-color: #fff;
  color: #2C3E50;
}

Overleaf (JavaScript):

EditorManager.prototype.openDoc = function(doc, callback) {
  this.openingDoc(doc);
  this._openNewDocument(doc, callback);
};

Summary

Bootswatch is a collection of free themes for Bootstrap, offering easy customization and implementation. It's lightweight and focused on styling, but has a narrower scope compared to Overleaf.

Overleaf is a full-featured online LaTeX editor with collaborative capabilities, version control, and a wide range of templates. It has a more active development community and broader functionality, but may be more complex for simple styling tasks.

Choose Bootswatch for quick Bootstrap theming, and Overleaf for comprehensive LaTeX document creation and collaboration.

Boost LaTeX typesetting efficiency with preview, compile, autocomplete, colorize, and more.

Pros of LaTeX-Workshop

  • Offline usage: Works locally without internet connection
  • Customizable: Extensive settings and keybindings
  • Free and open-source: No subscription required

Cons of LaTeX-Workshop

  • Setup required: Needs LaTeX distribution and VS Code installation
  • Learning curve: May be challenging for beginners
  • Limited collaboration: Lacks real-time co-authoring features

Code Comparison

LaTeX-Workshop (settings.json):

"latex-workshop.latex.tools": [
  {
    "name": "latexmk",
    "command": "latexmk",
    "args": [
      "-synctex=1",
      "-interaction=nonstopmode",
      "-file-line-error",
      "-pdf",
      "%DOC%"
    ]
  }
]

Overleaf (project settings):

compiler: pdflatex
output_format: pdf
spellcheck: enabled
auto_compile: true

The code snippets show configuration differences. LaTeX-Workshop uses a JSON-based settings file for VS Code, while Overleaf uses a simpler YAML format for project settings. LaTeX-Workshop offers more granular control over compilation tools and arguments, whereas Overleaf provides a more streamlined configuration experience.

:octocat: GitHub Action to compile LaTeX documents

Pros of latex-action

  • Lightweight and focused on CI/CD for LaTeX projects
  • Easy integration with GitHub Actions workflows
  • Supports various LaTeX distributions and package managers

Cons of latex-action

  • Limited to LaTeX compilation and lacks collaborative editing features
  • No web-based interface for real-time editing and previewing
  • Requires more setup and configuration compared to Overleaf's all-in-one platform

Code Comparison

latex-action:

- uses: xu-cheng/latex-action@v2
  with:
    root_file: main.tex
    latexmk_use_xelatex: true

Overleaf (server-side rendering):

app.get('/compile', (req, res) => {
  const { texContent } = req.body;
  const result = compileLaTeX(texContent);
  res.json(result);
});

Summary

latex-action is a specialized GitHub Action for LaTeX compilation in CI/CD pipelines, while Overleaf is a comprehensive web-based LaTeX editor and collaboration platform. latex-action offers simplicity and integration with GitHub workflows, but lacks the rich features and user-friendly interface of Overleaf. Choose latex-action for automated LaTeX builds in GitHub projects, and Overleaf for collaborative LaTeX editing and publishing.

Convert Figma logo designs to code with AI

Visual Copilot

Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.

Try Visual Copilot

README


Overleaf

An open-source online real-time collaborative LaTeX editor.

Wiki • Server Pro • Contributing • Mailing List • Authors • License

A screenshot of a project being edited in Overleaf Community Edition

Figure 1: A screenshot of a project being edited in Overleaf Community Edition.

Community Edition

Overleaf is an open-source online real-time collaborative LaTeX editor. We run a hosted version at www.overleaf.com, but you can also run your own local version, and contribute to the development of Overleaf.

Enterprise

If you want help installing and maintaining Overleaf in your lab or workplace, we offer an officially supported version called Overleaf Server Pro. It also includes more features for security (SSO with LDAP or SAML), administration and collaboration (e.g. tracked changes). Find out more!

Keeping up to date

Sign up to the mailing list to get updates on Overleaf releases and development.

Installation

We have detailed installation instructions in the Overleaf Toolkit.

Upgrading

If you are upgrading from a previous version of Overleaf, please see the Release Notes section on the Wiki for all of the versions between your current version and the version you are upgrading to.

Overleaf Docker Image

This repo contains two dockerfiles, Dockerfile-base, which builds the sharelatex/sharelatex-base image, and Dockerfile which builds the sharelatex/sharelatex (or "community") image.

The Base image generally contains the basic dependencies like wget, plus texlive. We split this out because it's a pretty heavy set of dependencies, and it's nice to not have to rebuild all of that every time.

The sharelatex/sharelatex image extends the base image and adds the actual Overleaf code and services.

Use make build-base and make build-community from server-ce/ to build these images.

We use the Phusion base-image (which is extended by our base image) to provide us with a VM-like container in which to run the Overleaf services. Baseimage uses the runit service manager to manage services, and we add our init-scripts from the server-ce/runit folder.

Contributing

Please see the CONTRIBUTING file for information on contributing to the development of Overleaf.

Authors

The Overleaf Team

License

The code in this repository is released under the GNU AFFERO GENERAL PUBLIC LICENSE, version 3. A copy can be found in the LICENSE file.

Copyright (c) Overleaf, 2014-2025.