r/LaTeX • • Sep 11 '26

[MEGATHREAD] AI Generated Content

72 Upvotes

This is a thread for content created in some manner by AI. Any AI-generated content posted outside of this mega thread will be removed. Minor AI assistance should be disclosed in posts outside of this mega thread.


r/LaTeX • • Jan 28 '18

Please don't delete your post after it is answered

771 Upvotes

Not a mod. But I was hoping to raise awareness that if you post a question that gets an answer then other people also benefit from that exchange. We've all googled a LaTeX question and found an old answer, and been glad it is there. Some people lurk here, picking things up over time.

I'm not sure why so many people delete exchanges. There are good reasons to delete things sometimes, but asking for a clarification on a technical point does not seem, at least to me, to be one of them. The only other thing I can think is that those folks think that their question is clogging up the stream. I was hoping with this post to convince them that they are mistaken, and to leave it in place.

In particular, if the answerer spends 15 mins on that answer and you delete the question, then you've been not too kind back to the person who was kind to you.


r/LaTeX • • 15h ago Bravo

A survey of LaTeX math typesetting habits

Thumbnail
gallery
610 Upvotes

I made a small survey of how people actually type LaTeX math: \mathbf{v} or \vec{v}, A^T or A^\top, dx or \mathrm{d}x, \subset or \subseteq, and 40 or so more.

https://akizumifox.github.io/latex-math-habits/

Each question is a table of options with the glyph and the source. Once you answer, you see how everyone else answered, and at the end you get a preamble matching your choices. Anonymous, no login. It went up today, so the counts are still empty.

AI disclosure: the idea is mine; but most of the code were written with Claude.


r/LaTeX • • 2h ago

Discussion AI-generated LaTeX tools

39 Upvotes

Just today there's been two new posts with clearly AI-generated tools. Over the past weeks (months?) it seems like there's a new post every week. It's annoying for several reasons, and these types of posts should not be permitted. Let me explain:

I'm not a fan of AI-generated stuff, at all, but my biggest gripe with these is not that the authors used AI to build something, but rather that they completely lack an understanding and knowledge of what the community uses and needs, as well as the current LaTeX / TeX ecosystem. So, they propose preposterous tools that add nothing at all to the community.

Again, while I'm not a fan of AI-generated stuff, the tokens these people spend could be put to better use if these people took the time to understand the ecosystem, and identify actual gaps that exists, regarding tools, packages, etc..

I know some of you feel the same as I do, but I'm not sure we've ever discussed this issue with the mods. I'd very much like to see some moderation regarding this type of content. My opinion is that these types of post don't explicitly violate rule 2, in the sense that no AI generated images, explanations or bodies of text are being posted.


r/LaTeX • • 1d ago

List of LaTeX packages ranked by how often they are included in arXiv papers

Thumbnail dominikpeters.github.io
204 Upvotes

r/LaTeX • • 3h ago

Self-Promotion I built an open-source tool to audit LaTeX/BibTeX/PDF reference lists for hallucinated "chimera" DOIs and retracted papers

Post image
0 Upvotes

After seeing too many draft manuscripts (especially with AI-assisted lit reviews) where a DOI resolves to a completely different paper than the title/author listed in the bibliography, or points to a retracted study, I built an open-source checker called CiteGuard.

Instead of just checking if a DOI returns HTTP 200, it queries Crossref, DataCite, PubMed, OpenAlex, and arXiv in parallel and checks whether the claimed title, lead author surname, and publication year actually match the official record, plus checks retraction flags and orphan LaTeX `\cite{}` keys.

You can run it locally via CLI with zero external dependencies (MIT):

`pip install citeguard-mcp`

`citeguard audit manuscript.tex` or `citeguard audit references.bib`

There is also a browser version (no login, free for up to 15 references) if you want to drag and drop a PDF, DOCX, `.tex + .bib/.bbl`, or Overleaf `.zip`: https://lucacelebrano.me/citeguard/

GitHub: https://github.com/Lukecele/citeguard-mcp

One honest caveat: it works well for journal articles, conference papers, and preprints, but books, web pages, or reports without DOIs won't resolve in the 5 registries.

If you have a messy `.bib` or `.bbl` file that breaks the parser (weird author suffixes, multi-section references, journal-specific formatting), feel free to drop an example and I'll patch it.


r/LaTeX • • 7h ago

Unanswered Offering help with LaTeX typesetting

0 Upvotes

I’m kind of new to latex and want to learn by helping someone create a report or document. I can assure of the accuracy. I am also open to chemfig, which is used for chemical equations.

Money doesn't matter. I want to just help and learn in the process.


r/LaTeX • • 7h ago

μT: a terminal LaTeX studio with a live page and no TeX installation

Thumbnail
gallery
0 Upvotes

I have used generative AI in making parts of μT, if that's not your thing, that's fine, but just making it abundantly clear.

I am the author of μT, a terminal LaTeX studio I have been building for a while.

The main goal of μT is to provide terminal power-users with a dedicated LaTeX studio, without all the setup of using Emacs or Vim or whatever, while keeping the whole edit, build and preview loop in one terminal. The editor has LaTeX-aware completion, project-wide labels and citations, a file tree, Git integration, search and replace, and a live PDF page through the Kitty graphics protocol. The engine is embedded, so there is no TeX Live install and no second PDF viewer. TeX files and fonts come from Shelf on first use and are cached after that.

Arabic is supported through XeLaTeX, with shaping and bidi in the editor and in the PDF. The screenshots show the English and Arabic demo papers.

Release: https://github.com/faris0x/muT/releases/tag/v2.0.0

Repository: https://github.com/faris0x/muT

I'd like feedback from people who write large papers and/or work with Arabic. Does the completion index cover the packages you actually use, and what would make the editor fit your workflow better?


r/LaTeX • • 1d ago

Answered Código fuente el LaTeX

0 Upvotes

Soy principiante y necesito ayuda con un documento para mi universidad:

La pregunta es ¿Cómo puedo incluir código de Látex (sin que se compile) y de Python en el documento para hacer demostraciones y presentar funcionalidades de un sistema en el documento que esté creando? Le he preguntado a la inteligencia artificial pero esta me ha enredado un poco.

Agradecería que me ayuden. Muchas gracias!

Post escrito en español. Con gusto leo respuestas de varios idiomas!


r/LaTeX • • 1d ago

Self-Promotion I built a LaTeX editor where Claude Code's edits show up as Keep/Undo changes in the document

Thumbnail
reddit.com
0 Upvotes

r/LaTeX • • 2d ago

Unanswered Greek mythology genealogical tree

6 Upvotes

I am trying to do mainly for fun and for learning mythology the genealogical tree of the greek mythology and serached for a genealogical tree package and found genealogytree and tikz, i have tried genealogytree but it doesn't let me make the child of brother and sister. I know that in "normal" and everyday genealogy tree brothers and sisters don't make childs together but it is so frequent in greek mythology that i'd need another package or way to do it.

I thank you in advance if someone has a solution

Here's the current way i've been trying :

\documentclass[a3paper,landscape]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[french]{babel}
\usepackage[a3paper,landscape,margin=1cm]{geometry}
\usepackage[all]{genealogytree}

\begin{document}
\begin{tikzpicture}
\genealogytree[template=formal graph, level distance=2.5cm]
{
child{
g{Gaïa}
p{Ouranos}
child{
g{Cronos}
p{Rhéa}
child{
g[id=zeus]{Zeus}
child{g{Arès}}
child{g{Héphaïstos}}
child{g{Hébé}}
}
child{g[id=hera]{Héra}}
child{g{Poséidon}}
child{g{Hadès}}
child{g{Déméter}}
child{g{Hestia}}
}
child{g{Océan}}
child{g{Hypérion}}
}
}
\draw[red, very thick] (zeus) to[bend left=10] (hera);
\end{tikzpicture}
\end{document}

r/LaTeX • • 2d ago

TeXLoom: an open source Overleaf alternative with extra features

0 Upvotes

Like many others I've been getting fed up with Overleaf's increasingly stringent free plan limits and so I've spent the last few weeks making TeXLoom (https://texloom.org).

Like Overleaf it offers a browser-based real-time collaborative editor with nothing to install, and you can import an Overleaf project from its .zip. In addition, it offers a desktop version where you can use your own TeX installation, keep files on your hard drive, and so on, while taking advantage of real-time sync with others (there's even a VS Code plugin to see and reply to comments, and the same works in Neovim, Emacs and others).

Other nifty features:

  • Compilation is in the browser on your computer, meaning there are no compile timeouts. (Shell escape, e.g. minted, doesn't work in the browser, but the desktop app can compile such projects with your own TeX, and the PDF still shows up in the browser.)
  • What you'd expect from this type of editor: comments, review, history, etc.
  • Read-only links, template links (each person gets their own copy), and per-person edit links you can revoke.
  • Unlimited collaborators.
  • Each author holds the whole project locally; the server acts as a relay (and optionally as a data store). If you decide not to store anything on the server, syncing happens when your collaborators are online at the same time.
  • It's end-to-end encrypted and there's no need for accounts: you simply share links to projects.
  • Free and open source (AGPL-3.0 license). You can run your own server. If you do want to use my server space, I give you 250 MB free (though I ask for an email address to prevent abuse). More space on my server requires payment, but I'm not doing this to make a profit: the money goes to paying for the server and to getting the Windows and Mac versions of the desktop apps signed.

I think it's ready for the big wide world, I'd welcome any feedback or feature requests.

Some screenshots:

The editor in action
reviews (with an AI collaborator)
History

r/LaTeX • • 3d ago

LaTeX scares me.

Post image
0 Upvotes

r/LaTeX • • 5d ago

Maintaining both HTML and PDF versions of LaTeX documents is now surprisingly easy

79 Upvotes

TL;DR: It is now surprisingly easy to maintain both a web version and a PDF version of your latex content. Here is an example of a website (in french) I maintain this way.

Most of the stuff I see here relating to AI is negative (often for good reason). I wanted to share something that I find genuinely positive about it.

Several times over the past 15 years, I have tried to find a way to maintain both a web version and a PDF version of my courses.

Since I am familiar with Latex, I wanted an automated way to turn the content I write in latex into a properly readable web version.

I had managed to get something somewhat workable using a static site generator and tex4ht, but I always ran into issues with tex4ht not properly handling certain packages, compatibility issues with mathjax and whatnot.

I never managed to get anything I was really satisfied with. With the help of AI, however, it has become surprisingly easy to get something that work well.

Here is what i actually did:

PDFs use lualatex; HTML uses tex4ht, with custom configuration and shared styling. Custom macros have web adaptations where needed, tikz figures become SVG images. AI is not involved in compilation at all. It was just used to build the tools (all the custom web adaptations stuff): ordinary scripts and tex tools run the build.

So, a little PSA for the teachers out there: it is now quite easy to make your courses available in a web format without having to maintain two separate versions of your content. The git repo is accessible via the landing page of the website.


r/LaTeX • • 5d ago

LaTeX2e under Termux

Thumbnail reddit.com
3 Upvotes

r/LaTeX • • 4d ago

Discussion Is Overleaf/Latex worth learning?

Thumbnail reddit.com
0 Upvotes

r/LaTeX • • 5d ago

Volt - Advanced LaTeX profiling.

Thumbnail
youtu.be
6 Upvotes

r/LaTeX • • 5d ago

Lightweight LaTeX editor

0 Upvotes

I need to use LaTeX for my study (Physics) but i genuinely despise the look and feel of TeXMaker and TeXStudio, and i dont like to put my whole work online to use Overleaf, so i made my own LaTeX editor in rust, which in my opinion feels better and most importantly, doesnt look like it was build in the 70s, it also has some unique features that TeXMaker and TeXStudio dont have to my knowledge, like autocompile. I just wanted to share it on here and have you guys opinion on it, its still in the early stages, and for now it is mostly tailored to my own preferences, but im curious if there are other people interested in this. You can find it here https://github.com/Noamdev-Noamdev/folio/releases


r/LaTeX • • 6d ago

Unanswered How can I find Overleaf projects that have been shared with a specific email address?

2 Upvotes

I want to list all Overleaf projects have been shared with a collaborator and that I am also a part of. How can I find Overleaf projects that have been shared with a specific email address?

Searching for an email address does not work:


r/LaTeX • • 6d ago

How do you remove the numbers at the start of the table of contents in documentclass[article]

6 Upvotes

How do you get rid of the numbers in front of each line, including the first ones for the sections? The second ones are fine.

\documentclass{article}

\usepackage{graphicx} % Required for inserting images

\usepackage[left=25mm, right=25mm, top=25mm, bottom=25mm]{geometry}

\usepackage[T1]{fontenc}

\usepackage{mathptmx}

\usepackage[document]{ragged2e}

\newcommand{\mychapter}[2]{

\setcounter{chapter}{#1}

\setcounter{section}{0}

%\setcounter{subsection}{0}

\chapter*{#2}

\addcontentsline{toc}{chapter}{#2}

}

\begin{document}

\tableofcontents

\section{List of Tables}

\section{List of Figures}

\end{document}


r/LaTeX • • 5d ago

Self-Promotion [Open Source] ForjaTeX App Suite — Free, offline-first LaTeX IDE + visual TikZ/PGFPlots studio (Tauri v2 + Rust)

0 Upvotes

Hi everyone!

I've been building a free, open-source (GNU GPL v3.0), offline-first desktop ecosystem for scientific writing in LaTeX called ForjaTeX App Suite, built with Tauri v2 + Rust + React + TypeScript.

My goal was to create a fast, lightweight local alternative to cloud editors that works directly on top of your local TeX distribution (MiKTeX, TeX Live, or Tectonic).

### What's currently available in the suite:

- ForjaTeX App Suite: central launcher/updater that manages the suite apps via GitHub Releases.

- ForjaTeX IDE: full LaTeX editor powered by Monaco Editor, side-by-side PDF preview with SyncTeX, visual wizards (tables, matrices, fonts, images, bibliography), LaTeX-aware spell checker, built-in Git, and optional BYOK AI support.

- ForjaTikZ: interactive visual studio for building **TikZ** diagrams and PGFPlots math graphs (functions, CSV/points, bars, 3D, log scale) with live `.tex` export and `pdflatex` validation.

### OS availability & honest status:

- Windows (`.exe` / `.msi`): tested and ready to use. (Note: as an early-stage independent project, the installers are not code-signed yet, so Windows SmartScreen may show a warning on first launch.)

- Linux (`.deb` / `.AppImage`): automated Linux builds are available on GitHub Releases, however I don't have Linux installed on my computer and haven't been able to test ForjaTeX on Linux yet. If any Linux users here want to give it a try and let me know how it runs (especially with TeX Live / `pdflatex`), I would really appreciate the feedback!

- macOS: support for Mac is planned for the future.

### Links:

- Website: https://forjatex.com.br

- Downloads (GitHub Releases): https://github.com/jeanjpimenta/forjatex-suite/releases

- Source code (GPL v3.0): https://github.com/jeanjpimenta/forjatex-suite

Also, if anyone wants to contribute translations (uses simple JSON files) or suggest features, PRs and issues are very welcome!


r/LaTeX • • 6d ago

[OC] Browser Extension to get folder in overleaf + fuzzy search; Not an editor, AI was used

Post image
0 Upvotes

Hello; overleaf not having folder is really pissing me off, so I with claude solved it finally

The extension is published on chrome, firefox and edge, see links here (bottom of page) https://phitex.org/overleaf; it is open source.

Ignore the instant preview and the compiler feature of this extension, I posted it last time and it got removed (Youtube Link), apparently this isn't allowed. This post is about the folders. Not about the compiler. There is NO editor anywhere. AI was used.

This sub is getting out of control honestly.


r/LaTeX • • 9d ago

Answered My thesis is set to 12 pt, yet it compiles closer to 11 pt. Any ideas as to why?

72 Upvotes

So I've just handed in my thesis, which I had to set to be printed in 12 pt on a4 paper. One of my reviewers noted that it was in 11 pt, which surprised me, but sure enough when I checked against another (simpler) document I made in the same font, the text was bigger.

I tried to debug with Claude, but the AI's only suggestion is that I left behind a stray "\small" somewhere. I have checked and this definitely isn't the case. So I'm turning to human intelligence.

Has anyone ever had this happen to them? My main suspects are packages Microtype and Setspace with one half spacing


r/LaTeX • • 9d ago

Open sourcing my live-preview TeX engine (write-up, benchmarks, VS Code extension and npm library!)

36 Upvotes

A while ago I made a post here on my Rust TeX engine, made for showing changes as fast as possible (https://www.reddit.com/r/LaTeX/comments/1wrvhig/realtime_latex_preview_in_wasm/). The project is now called TeXyoN (after tachyon, a hypothetical faster-than-light particle).

Today, I'm happy to release the source code, as well as a detailed write up with all the decisions I made, performance benchmarks, upstream bugs I found that I’m reporting and answers to some questions I got last time. All of that can be found on my blog: https://yendric.be/introducing-texyon/ (it is quite long, you may pick out the sections that seem interesting). The source code can be found here: https://github.com/texyon-org/texyon (feel free to leave a star :))

Together with the source code release, I'm releasing a vscode extension that demos TeXyoN's capabilities by running the engine natively & locally. It can be found here.

I'm also releasing an npm package that allows the community to create their own interactive TeX experiences in the browser. It compiles TeXyoN to wasm and bundles it with an easy to use API for live preview.

This is the initial release, so bugs are to be expected. Feel free to create issues on the repository. If you're concerned about correctness: I compared full-compile output on more than 9,000 documents against upstream TexLive. More on that is in the blog post.

I hope you enjoy the write-up, as well as using TeXyoN. Curious to hear what you think!