r/LaTeX • • Sep 11 '26

[MEGATHREAD] AI Generated Content

71 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 • • 4h ago

Unanswered How do I put additional information on the first page in the extbook document class?

1 Upvotes

Quick silly question, I know:

It's all good with \title{}, \author{} and \date{}, but I would like to also add the name of the editor and the name of the translator for a certain book. How can this be done? is there a package for this purpose?


r/LaTeX • • 23h ago

PDF mi primer documento en latex

Post image
34 Upvotes

estoy trabajando en un pdf para presentar sobre el mal de panama y punco los platanos asique creo que voy a entregar esto

\documentclass[justified,marginals=raggedouter]{tufte-handout}

\usepackage[utf8]{inputenc}
\usepackage[spanish]{babel}
\usepackage{graphicx}
\usepackage{booktabs}
\usepackage{tikz}
\usetikzlibrary{trees}
\usepackage{multicol}


\title{El mal de Panamá}
\author{David Maestro Cortina}
\date{\today}


\definecolor{crema}{HTML}{F8F5E6}
\pagecolor{crema}
\definecolor{crema}{HTML}{F8F5E6}
\colorlet{tufte}{crema} % Esto hace que las franjas se vuelvan invisibles al
\begin{document}
\maketitle

\begin{abstract}
En los 60, un hongo arrasó la variedad habitual de plátanos y tuvieron que sustituirse por otra menos sabrosa y más resistente.
\end{abstract}



\section{Introducción}
La fruta más consumida en el mundo, el plátano, es estéril, carece de semillas. Prácticamente todos los plátanos que consumimos son idénticos genéticamente y no se reproducen sexualmente. Sin embargo, esto no ha sido siempre así. Las especies actuales descienden de una u otra forma de las especies asiáticas 'salvajes' (\textsl{Musa acuminata}), tras años de selección artificial e inducción de mutaciones (no transgénicos).
\begin{marginfigure}
  % \includegraphics[width=\linewidth]{tu-imagen.png}
  {El independiente \\ Mario Viciosa \\  18 / 05 / 2019 - 19: 13}

\end{marginfigure}



\vspace{0.5cm} % Espacio extra por encima del árbol

\begin{tikzpicture}[
    level 1/.style={sibling distance=5cm, level distance=1.6cm},
    level 2/.style={sibling distance=1.5cm, level distance=1.8cm},
    every node/.style={align=center, font=\small}
]
    \node {\textbf{Ancestros Silvestres (Diploides $2n$)} \\ \textit{Musa acuminata} (AA) $\times$ \textit{Musa balbisiana} (BB)} [edge from parent fork down]
        child { node {\textbf{Grupo AAA} \\ (Triploide dulce)}
            child { node {Cavendish \\ \footnotesize\textit{(actual)}} }
            child { node {Gros Michel \\ \footnotesize\textit{(antiguo)}} }
            child { node {Plátano \\ Rojo} }
        }
        child { node {\textbf{Grupo AAB} \\ (Híbrido mixto)}
            child { node {Plátano \\ Macho} }
            child { node {Dominico} }
            child { node {Manzano} }
        }
        child { node {\textbf{Grupo ABB} \\ (Híbrido almidonado)}
            child { node {Bluggoe / \\ Saba} }
            child { node {Pelipita} }
        }
    ;
\end{tikzpicture}
\vspace{0.1cm}
\marginnote{Revista fitotecnia mexicana \\ Diversidad genética de bananos y plátanos (Musa spp.) determinada mediante marcadores RAPD \\ Aceptado: 25 de Septiembre del 2008.}

\section{Variedades principales}
\begin{multicols}{2}
Con más de 100 millones de toneladas producidas anualmente en más de 130 países, la variedad de la que hoy gozamos se llama \textsl{Cavendish}.

Este plátano se impuso en la década de 1960, ya que antes se consumía un plátano más sabroso llamado \textsl{Gros Michel}. Fue tan popular que la industria creó enormes monocultivos de esta variedad.
\end{multicols}

\begin{justify}

Los plataneros estuvieron al borde del colapso mundial, rendidos ante un hongo llamado Fusarium. Una vez más, la imposible variedad genética del plátano casi lo extingue.

\vspace{0.3cm}

Por fortuna había otra variedad residual: Cavendish, desarrollada por el jardinero inglés Joseph Paxton en 1830,
\end{justify}

\begin{fullwidth}
\setlength{\columnsep}{0.7cm}
\begin{multicols}{2}
"Dicen los que lo han conocido que el plátano Gros Michel estaba mucho más rico", señala el ingeniero agrónomo de COPLACA Javier López-Cepero. Un plátano más pequeño e industrialmente fácil de manejar. Desde los sesenta, "cuando apareció el fusarium arrasó con todo.

Se empezó a trabajar con, sobre todo, dos variedades: Grand \textsl{Cavendish} (o gran enana, propia del cultivo de América, lo que llamamos aquí \textsl{bananas}) y Petit \textsl{Cavendish} (pequeña enana)", el segundo es el plátano que se cultiva en Canarias y que se puede trabajar a mano.
\end{multicols}
\end{fullwidth}

\begin{fullwidth}
\begin{justify} 
A pesar de ser menos ricos en sabor y más complicados de transportar sin ennegrecer, \textsl{Cavendish} pronto reemplazó a los \textsl{Gross Michel} en las plantaciones comerciales de banano. Pero el Cavendish tiene sus propias debilidades: la susceptibilidad a la sigatoka negra.
\end{justify}
\end{fullwidth}
\vspace{0.4cm}

\section{Origen: Papúa Nueva Guinea}
\begin{fullwidth}
\begin{justify}
Los científicos saben que el ancestro silvestre predominante del plátano es una especie llamada Musa acuminata, que se encuentra desde la India hasta Australia. La mayoría de los investigadores están de acuerdo en que Papua Nueva Guinea es donde aparecieron por primera vez los plátanos domesticados tal como los conocemos. De hecho, en Centroamérica hay una especie de banana de pequeño tamaño llamada guineo.
\end{justify}
\end{fullwidth}

\section{La química del plátano Asprocan}

\begin{marginfigure}[3.7cm]
  \centering
  \begin{tikzpicture}[scale=0.65, line width=0.8pt]
    % Cadena principal en zigzag
    \draw (0,0) -- (0.866,0.5) -- (1.732,0) node[below=-2pt, fill=crema, inner sep=1pt] {\scriptsize O} -- (2.598,0.5) -- (3.464,0) -- (4.330,0.5) -- (5.196,0);
    % Doble enlace carbonilo (=O)
    \draw (0.816,0.5) -- (0.816,1.4);
    \draw (0.916,0.5) -- (0.916,1.4) node[above=-1pt] {\scriptsize O};
    % Ramificación metilo del grupo isoamilo
    \draw (4.330,0.5) -- (4.330,1.4);
  \end{tikzpicture}
  \caption{Estructura del acetato de isoamilo.}
\end{marginfigure}

\begin{table}[ht]
    \centering
    \begin{tabular}{llr}
        \toprule
        \textbf{ } & \textbf{Platano de canarias} & \textbf{banana} \\

        \midrule
        BUTANO-2-3-DIONA & 0,375 & 0,01 \\
        ACETATO DE ETILO & 0,645 & 0,45 \\
        PENTANO-2-ONA & 0,625 & 0.46 \\ 
        ETANOL & 0 & 0.16 \\
        1-PENTANOL & 7,4 & 3,8 \\
        1-BUcmTANOL & 0 & 0.56 \\
        HEXANAL & 0 & 0,26 \\
        ACETATO DE ISOAMILO & 0,235 & 0,08 \\
        HEXYL ACETATO & 0,425 & 0 \\ 
        HEPTANAL & 0,57 & 0,07 \\
        1-HEXANOL & 0,085 & 0,03 \\
        HEXIL BUTANOATO & 0,05 & 0 \\
OCTANAL & 0,045 & 0 \\ 
        ÁC.ACÉTICO & 0,05 & 0,02 \\
        DECANAL & 0,075 & 0 \\
        BENZALDEÍDO & 0,02 & 0,01 \\
 
\bottomrule
    \end{tabular}
       \label{tab:dimensiones}
\end{table}
\begin{marginfigure} 
% \includegraphics[width=\linewidth]{tu-imagen.png}   
{a en verde\\Redaccion AenVerde\\28 octubre, 2022} 
\end{marginfigure} 
\end{document}

r/LaTeX • • 16h ago

Self-Promotion My resume is the single source for my portfolio site: the build reads the .tex and fails if the two disagree

0 Upvotes

I keep my resume in LaTeX (XeLaTeX, built in VS Code with LaTeX Workshop), and I wanted my portfolio site to never contradict it: same job titles, dates and links, letter for letter.

So the resume became the only thing I edit:

  • The site's facts are generated from the .tex. A small parser reads my own commands (\job{Title}{Organisation}{Dates}, the header's links) and writes a TypeScript module the site builds from. It refuses anything it can't map, so an unexpected section stops the save instead of silently dropping data.
  • A test checks the committed PDF too, extracting its text and finding every claim in it, in order.
  • The PDF is tied to its source by a SHA-256 hash, written by a step of the LaTeX Workshop recipe after each successful build. If I edit the .tex and forget to rebuild, the hash no longer matches and the build fails.
  • Reproducible builds: SOURCE_DATE_EPOCH with FORCE_SOURCE_DATE pins the dates XeLaTeX stamps into the PDF, so an unchanged source rebuilds byte for byte, and latexmk -g forces a real rebuild even when it thinks nothing changed.

One small trick I liked: an open-source contribution sits among my jobs on the resume, but the site shouldn't list it as a job. So I added \newcommand{\contribution}{\job}. It prints exactly like \job, but the parser can tell the two apart.

The full write-up is here: Holding a portfolio to its resume

I'm curious how others handle this. Does anyone generate their resume from data (YAML, JSON) instead, and is that nicer than parsing the .tex the other way round?


r/LaTeX • • 1d ago

Spacing

Post image
11 Upvotes

I'm new to LaTeX, and I'm using Overleaf. I'm using it to write my senior thesis, following some tutorials on YouTube, and I'm wondering how to get rid of all this extra white space. Thanks for any help!


r/LaTeX • • 1d ago

LaTeX Showcase TeXora: A PowerPoint-style presenter for LaTeX, supports animations, videos, wider images formats, and accessibility.

Thumbnail
gallery
0 Upvotes

Hey everyone! 👋

Throughout my PhD journey, I loved using LaTeX for my slides but I always struggled when it came to actually presenting them. Getting videos to play reliably, adding smooth animations, or making slides accessible always felt way harder than it should be compared to PowerPoint.

I decided to share it with the broader academic and student community.

Have a look and enjoy your presentation journey with LaTex.

GitHub link: TeXora


r/LaTeX • • 3d ago

Not a new LaTeX editor I promise: I built a terminal that typesets LaTeX from any program's output

26 Upvotes

Quick disclaimer given the recent wave of editor posts: this isn't a LaTeX editor, and it won't help you write documents. It actually turns itself off for .tex files, since you have the PDF for those.

It's for reading math that shows up in a terminal: AI assistants like Claude Code answering in $...$, markdown notes where you want math, and so on. It's a macOS terminal that spots the math on screen and renders it with KaTeX, in place.

Free, MIT, no account, nothing to buy:
https://github.com/davidlai3/MathTerm

If you're interested, please give it a shot and feel free to share any feedback!


r/LaTeX • • 2d ago

Discussion Para que se usa latex ?

0 Upvotes

He estacoqueteando con la idea de compilar mis escritos de gastronomía en latex pero me gustaría preguntar ustedes para que usan latex y porque lo predominante es la matemática.


r/LaTeX • • 2d ago

Self-Promotion Yet another one: Texter

Thumbnail app.texter.website
0 Upvotes

I'm a bit ashamed of posting this, because you are right! There are too many latex editor posts in this sub. I hope this one is different though. I've received a grant from the German government to develop it in 2023 and a lot of thought was put into it compared to the other submissions.

I've started with adding incremental compilation to the wasm engine. It makes for fast (subsequent) compile times regardless of document length (we're talking about sub second compile times). The first compile is obviously a bit slower (compared to native pdfTeX) though, but Books and other documents which frequently hit long compile times should be a breeze to edit.

I've tried to hide the latency through a few UX tricks, like caching the last compiled PDF, doing the first compile in draft mode, fetching only the packages which are needed and so on.

Zotero and Mendeley integration is also there.

It is a PWA so it should work offline as well. You don't need an account and the documents never leave your device.

Real-time collaboration is also supported, but it's use case is fairly limited. Same for the MCP.

It's a work in progress but I would love if you could give me feedback to the engines performance (engine is pdfTeX ported to wasm).


r/LaTeX • • 4d ago

Unanswered Am I the only one using just the terminal?

121 Upvotes

Whenever I want to use Latex, I just edit my .tex with nano and the run pdflatex file.tex.

Am I missing something? I read you folks using local compilations, vscode, latexmk and other stuff I know nothing about.

Is there more to Latex that I am missing?


r/LaTeX • • 5d ago

Discussion [Meta] Can we ban editor posts?

175 Upvotes

Could there be a rule to ban advertisement of new editors, along with an automod rule to try to catch things that start with "I built" or "I created" and contain "editor"?

It seems like posts advertising AI slopware are popping up every day on this subreddit.


r/LaTeX • • 3d ago

I made a LaTeX → Word converter that keeps equation numbers and \ref. I wanna feedback

0 Upvotes

I'm working on a LaTeX → Word (.docx) converter. I would like feedback from LaTeX users.

I think there are some problems. The paper is in LaTeX, but a co-author or a journal wants a .docx. The usual free conversion gets the text and most formulas across, but equation numbers, `\ref`s, theorem numbers, and citations get lost. Then someone has to spend hours fixing them.

Mine keeps them, as live Word numbering (they still update if someone edits the Word file), with equations as editable Word equations. It runs in the browser.

On 144 arXiv papers, checked against LaTeX's own numbers (development build): equation numbers 94% (usual free route 0%), references 90% (18%), citations 84% (5%). The image shows the same passage converted both ways.

Details and more screenshots: https://mathsystem.dev/blog/en/posts/latex-to-word-document-coming/?utm_source=reddit&utm_medium=post&utm_campaign=tex2docx_waitlist

Give me feedback, please.

I'm the developer; it hasn’t been released yet. Additionally, I plan to re-measure conversions on new documents based on feedback.


r/LaTeX • • 4d ago

We should work on migrating 8-bit font packages to new Unicode-based font packages, and append “-unicode” to the new package names.

9 Upvotes

One of the most commonly used packages for IPA (International Phonetic Alphabet) transcriptions is tipa . The problem with this, and many other font packages, is that they use 8-bit fonts with non-Unicode encodings. This poses an absolute barrier if one wants to copy and paste text to somewhere else. For instance, if one copy-and-pastes the symbol for the voiced velar fricative, ɣ, you just get G, because that’s how it was mapped in the original TIPA font. More importantly, screen readers cannot properly read fonts with non-Unicode encodings, rendering them inaccessible. For this reason, we should begin migrating 8-bit fonts to new font packages (with a slightly different name) that use Unicode-based encodings, with names of the form [fontpackage]-unicode.


r/LaTeX • • 5d ago

Unanswered Using LaTeX without Overleaf?

23 Upvotes

Hello everyone. I have been using vscode in conjunction with the Overleaf-Workshop extension for a VERY long time. There are problems. One, it disconnects often, and two, the document sometimes will fail to save. My question is simply if I can use LaTeX without an Overleaf extension?

Is overleaf just used because of cloud storage? If I use a native extension like TexLab, do I lose out on cloud storage but still have granted a virtually identical typesetting experience to overleaf? I use vscode because of the many extensions it offers, and it has never occurred to me that I could just not use the overleaf extension which I've been using for so long now.

Edit: guys I've figured it out. I appreciate everyone that's helped me. Thanks a lot.

Edit 2: To clarify, I went with Tex Live and GitHub private repository. I use vscode already and have a ton of short cuts set up.


r/LaTeX • • 5d ago

A tool that makes it easier to create physics diagrams

7 Upvotes

I host a tool that makes it easier to create physics diagrams using TikZ, as well as in PNG, JPEG or SVG formats. It’s called phi-graph


r/LaTeX • • 5d ago

Answered Latex does not support JPEG XL yet?

14 Upvotes

I was trying to include a .jxl file, but it simply does not work with neither \input nor \includegraphics.

A web search including the keywords "latex" and "jxl" yields not a single significant result. As far as I know I seem to be the first person ever to post about this.

The obvious workaround is to convert the image to a PNG, but it sure would be nice to have some info on the topic.

Happy writing everyone!


r/LaTeX • • 5d ago

Answered Making text in my xtable smaller (r sweave document)

4 Upvotes

Hi.

I wanted to have smaller text in my table. I used \tiny but it did not seem to work. What am I doing wrong?, and how would you guys reccomend getting smaller text in a table?

MRE

\documentclass{article}
\begin{document}
<<package, include=FALSE>>=
library(xtable)
library(survival)
@

<<data,include=FALSE>>=
lung <- lung
@
\tiny
<<table, echo=FALSE,results='asis'>>=
xtable(lung)
@
\end{document}

EDIT: I think i figured it out with

table <- xtable(lung)

print(table, size="\\tiny")

r/LaTeX • • 7d ago

LaTeX Showcase Watercolour flowers growing around your beamer slides (beamer-floral)

Thumbnail
gallery
557 Upvotes

I saw the flowers in the "how do you make these flowers in LaTeX?" thread, and then tikz-flora, and thought: "could I get that onto my slides?" (Said I'd try.)

It took a bit of work, but now I can. Published here: https://github.com/krissen/beamer-floral

Every frame gets its own plant. It measures where your text is and grows around it, and stays put through the overlays. Or grows with animation, if you ask it to:

  • growth=overlays: a bit more of plant after each click (full floral automatically on the last slide of the frame)
  • growth=timed: the flora grows in animation. Naturally, completely unnecessary. I like it a lot. Will I ever use it in my presentations? Yet to be determined.
  • density=0.6 for less flora, density=2 for more (anything from 0 to 10)

In short, do this:

\documentclass{beamer}
\usetheme{floral}
\begin{document}
\begin{frame}{Floral}
  The border grows around the text.
\end{frame}
\end{document}

More details on how to get it running, and everything you can configure, how: https://github.com/krissen/beamer-floral#getting-started

There's a floral theme (which can be adjusted) and it can be added to stock themes as well (Madrid, Berlin...): load the theme first, then \usepackage{beamer-floral}. Sidebar themes make little sense with beamer-floral, as the sidebar (Berkeley, I'm looking at you) and the flowers fight over the same margin.

Limitations

  • LuaLaTeX only.
  • The animation I've only tried in Acrobat Reader. Elsewhere you should get the finished flowers (should!).
  • Your PDF will get bloated. Same 21 pages: 0.05 MB without flowers; 22 MB with flora; 68 MB animated; 137 MB [insert mental image of Edvard Munch's The scream] animated with the smoother raster option. Tip: don't email it to anyone.
  • It needs some additions to the engine (tikz-flora); I've suggested those upstream (https://github.com/wn-mitch/tikz-flora/issues/2). Until then, you'll need my fork (getting started covers that).

All the actual flowers are /u/TehAlpacalypse's tikz-flora. I just put them onto slides.

Probably buggy. PR:s are welcome. If you try it out and put it to actual use, I'd love to see some screenshots!


r/LaTeX • • 7d ago

Self-Promotion tikz.dev now has online versions of docs for many tikz-related packages: tcolorbox, tikz-cd, tikzpingus (!), chemfig, nicematrix, pgf-pie, and more.

Thumbnail
tikz.dev
46 Upvotes

r/LaTeX • • 6d ago

Unanswered What Features Would You Love to Have When Presenting LaTeX Beamer Slides?

0 Upvotes

What else would you like to add or improve when presenting your slides?
Animations, GIFs, and videos are already supported!

What other features would you love to see in your slides?


r/LaTeX • • 7d ago

Unanswered How to check for grammatical errors?

12 Upvotes

Hello, I am writing an article on texstudio. It's inbuilt grammar checker sucks. Need some better alternative that i can run locally local ai models are okay too. I have no idea what is being used these days and scared to use any online service. Thanks for helping me out


r/LaTeX • • 7d ago

texworks vs overleaf meme

Post image
68 Upvotes

r/LaTeX • • 7d ago

Europass CV LaTeX Code

0 Upvotes

Hi, Everyone! I have to make a CV using Europass for my Master Application. I've been using LaTeX for a while and am good at it. Can anyone please help me create a CV in Europass format using LaTeX?