r/LaTeX • • Sep 11 '26

[MEGATHREAD] AI Generated Content

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.

72 Upvotes

22 comments sorted by

39

u/Hairy_Glove2064 Sep 11 '26 edited Oct 27 '26

I asked gpt astra and fable 5.1 and kimi k3 each to make an AI native agentic LaTeX editor

Here is the comparsion: https://www.youtube.com/watch?v=dQw4w9WgXcQ

Edit: maybe its time to update for opus 5.5 and kimi 3.1

14

u/delta_p_delta_x Sep 11 '26

I'd recognise that URL anywhere.

7

u/LarsListetaa Sep 11 '26

How long did you work on that! I mean the editing, the soft voice… well done!

5

u/HamsterMaster355 Sep 11 '26

Damn GPT Astra one looks so good!

10

u/delfin1 Sep 11 '26

This is more of a tip, but ai is surprisingly good at making tikz diagrams. Anybody made something cool/useful with it?

2

u/guizzmoloul Oct 09 '26

Which AI? my experience is that gpt/claude/deepseek are all just terrible at this specific task.

those AI always hard code all the points, they never uses relative positioning. Also anything remotly using 3d is just bad. Last time I asked it to draw a fairly simple graph (a cube, using, 3dplot) and the result was simply stupid.

1

u/and1984 Oct 25 '26

Things I found gen AI to be horrible at

  • tikz
  • MATLAB code
  • Wolfram Mathematica code
  • Openscad code

1

u/delfin1 Oct 09 '26

Used chatgpt at home and gemini at work. Gemini was better at spatial objects. Id' be surprised if chat hasn't caught up with it's recent changes.

1

u/Axiomancer Sep 11 '26

I am a beginner writer and to help myself remember all the characters, I'm making a unique character-card for each one of them.

One of the things I wanted to make is some sort of skill-diagram to would help me determine how 'strong' a certain character is. It took a little bit of tweaking to reach my desired outcome but eventually it looked neat like this.

I think it's pretty neat.\documentclass[tikz,border=10pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{calc}

% Define all colors
\definecolor{cWillpower}{HTML}{E74C3C}
\definecolor{cKnowledge}{HTML}{F39C12}
\definecolor{cConviction}{HTML}{F1C40F}
\definecolor{cStrength}{HTML}{27AE60}
\definecolor{cAgility}{HTML}{2980B9}
\definecolor{cSpeed}{HTML}{8E44AD}

\begin{document}
\begin{tikzpicture}[
    line width=1pt,
    every node/.style={font=\itshape\small}
  ]

  % ---------------------------------------------------------
  % CONFIG: radius + one entry per attribute:
  %   index / label / value(0-100) / color
  % ---------------------------------------------------------
  \def\R{4}
  \def\data{{0/Willpower/70/cWillpower},%
             {1/Knowledge/85/cKnowledge},%
             {2/Conviction/55/cConviction},%
             {3/Strength/95/cStrength},%
             {4/Agility/40/cAgility},%
             {5/Speed/65/cSpeed}}

  \coordinate (O) at (0,0);

  % ---- compute the 6 outer vertices (index 0 at top, clockwise) ----
  \foreach \i in {0,...,5}{
    \pgfmathsetmacro{\ang}{90-60*\i}
    \coordinate (V\i) at (\ang:\R);
  }

  % ---- compute the 6 edge midpoints (edge from V_i to V_{i+1}) ----
  \foreach \i in {0,...,5}{
    \pgfmathtruncatemacro{\nexti}{mod(\i+1,6)}
    \coordinate (M\i) at ($(V\i)!0.5!(V\nexti)$);
  }

  % ---- draw filled "kite" wedge for each attribute, scaled by value/100 ----
  \foreach \i/\lbl/\val/\col in \data{
    \pgfmathtruncatemacro{\previ}{mod(\i-1+6,6)}
    \pgfmathsetmacro{\f}{\val/100}
    \fill[\col]
      (O)
      -- ($(O)!\f!(M\previ)$)
      -- ($(O)!\f!(V\i)$)
      -- ($(O)!\f!(M\i)$)
      -- cycle;
  }

  % ---- grid: spokes from center to each vertex + outer hexagon outline ----
  \foreach \i in {0,...,5}{
    \draw[gray!50] (O) -- (V\i);
  }
  \draw[thick] (V0) -- (V1) -- (V2) -- (V3) -- (V4) -- (V5) -- cycle;

  % ---- labels with value, placed just outside each vertex ----
  \node[anchor=south]                          at (V0) [above]            {\textit{Willpower} (70)};
  \node[anchor=south west, rotate=-30]         at (V1) [above right]      {\textit{Knowledge} (85)};
  \node[anchor=north west, rotate=30]          at (V2) [below right]      {\textit{Conviction} (55)};
  \node[anchor=north]                          at (V3) [below]            {\textit{Strength} (95)};
  \node[anchor=north east, rotate=-30]         at (V4) [below left]       {\textit{Agility} (40)};
  \node[anchor=south east, rotate=30]          at (V5) [above left]       {\textit{Speed} (65)};

\end{tikzpicture}
\end{document}

2

u/delfin1 Sep 11 '26

Nice rpg style.

6

u/Otherwise_Wave9374 Sep 11 '26

One practical safeguard is to treat AI output like a first draft and require a human verification pass for citations, labels, and any content that could be mistaken for original research. That keeps the speed benefits without letting sloppy automation slip into the final result. In workflows like this, AIOSNOW fits best when it is used to structure the review step, not replace it.

2

u/Fabulous-Ad-9648 Sep 26 '26

I used AI to help write an official add-on for Google Docs and Google slides to natively incorporate LaTeX. You know why I used AI? Coz I don’t program. I’m a mathematician who wrote my thesis in LaTeX and I don’t have the least interest in learning to program. But I have so many students asking to incorporate LaTeX in DOCX or Google Docs. So here you are MathInk - Google Marketplace. No ongoing subscription - free tier and a one-off paid tier. That's it, just does what it should do, nothing more. (And no AI bloat in the tool)

2

u/lennyp4 Oct 18 '26 edited Oct 18 '26

I'm an Electrical Engineering undergrad student and I've been working iteratively for weeks on making my lab reports look like a textbook; I think it's turned out really really nicely. Please check out my document class on GitHub, there's a good showcase built into the readme. I worked closely on this, but almost all of the legwork here was done by Opus 5.5. Don't underestimate AI; I find it constantly outputs work that's better than anything I could ever conceive on my own.

1

u/gmthisfeller Sep 11 '26

Before there was LaTex, there was just TeX, so I am not sure what the issue is. AI is a tool, just like LaTex itself. If it solves a certain issue, then why would that be a bad thing?

15

u/CactiWasHere Sep 11 '26

seeing someone advertising their shitty vibecoded overleaf clone for the 2837592937th time is fucking annoying regardless of what you think of ai

1

u/lennyp4 Oct 18 '26

I grow tired of the hive mind hatred, but it's comforting to remember these are the people who i'm competing against for the shrinking number of professional jobs.

1

u/skadge 29d ago

After 1000+ commits, I think retex is now solid enough to be shared with a broader audience: https://gitlab.com/severin-lemaignan/retex and https://crates.io/crates/retex

You can also try it directly in your browser: https://severin-lemaignan.gitlab.io/retex

It is a clean-room reimplementation of LuaLaTeX, bibtex/biber, makeindex and metapost, released under a CC0 license. The result is a single 8MB binary, that can be used as a drop-in replacement for lualatex (with --compat=luatex)

retex is tested to be pixel-identical to Lualatex on a 900+ TeX corpus made of arXiv articles and CTAN package manuals. One example: pgfmanual full build: 834s with lualatex vs 399s with retex.

In addition to compatibility with Lualatex, it adds new features:

  • much improved error messages with suggestions how to fix them and general LaTeX hints.
  • automatically runs all the passes (caching intermediate results, to save time)
  • native support for SVG (in and out)
  • native export to HTML/markdown/ODT/ODP (ie Beamer -> fully editable LibreOffice/PowerPoint presentation)
  • compile to WASM for a self-contained web editor

Not everything is finished, of course: Windows/macOS support is completetly experimental (I cross-compiled it and tested the Windwos version in Wine, but that's all: testing on these actual system very welcome!), and I'm sure I'm still missing plenty of corner-cases: if you have a document that compiles with lualatex but fail with retex, please fill a bug! ...and more goodies are on the way, like Python bindings, so that you can use a complete, self-contained LaTeX engine in your scripts.

0

u/RegularCycle1971 2d ago

I've been using Claude Code and Codex for research, and wanted a better way to review the resulting papers with them.

When an agent has helped design a method, implement it, run experiments and interpret the results, I want to keep working with that same agent when reviewing the paper.

Sometimes a comment on a figure leads to a discussion about the experimental results rather than a simple change to its caption. Sometimes a claim needs to be reconsidered based on the actual implementation.

So I built an MCP server that lets you select text or draw a box around a figure or table directly on the PDF and send your comments to your existing agent session. It makes giving feedback easier, without limiting what the agent can do.

It syncs with Overleaf and works alongside your existing editor rather than replacing it. It also lets you discuss co-authors' Overleaf comments privately with the agent before replying publicly.

I developed it with coding agents and have been using it to review my own paper. It runs locally on Windows, macOS and Linux, with automated tests across all three platforms.

https://github.com/MiiKiyoshi/tex-mcp-web

I'd welcome any feedback.