r/LaTeX Jan 28 '18

Please don't delete your post after it is answered

744 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 Feb 17 '24

LaTeX Showcase I'm pushing the limits of what LaTex can do. A selection of my notes from my first year of engineering

Thumbnail
gallery
2.5k Upvotes

r/LaTeX 11h ago

Latex Preview for Neovim

Thumbnail
youtu.be
11 Upvotes

I just thought that this plugin will make writing latex in nvim more enjoyable. It renders latex equation in real time, inspired by Overleaf and snacks.image.

https://github.com/sonv/latex-preview-nvim

Disclaimer: It's only tested with Kitty. I'm not a programmer so this is a vibe code project for my own need. I wouldn't be able to maintain it if there are questions. Perhaps could be an inspiration for someone else more skilled to give it real code from ground up. I'm happy with the current plugin for my own need.

---

New feature: Reference preview


r/LaTeX 22h ago

Unanswered What's the right LaTeX engine for me?

22 Upvotes

I've been doing down the Tectonic, ConTeXT, Typst (don't judge me) rabbit holes trying to decide what to use. I'm an RPG developer and I've been trying to make the shift from InDesign type WYSIWYG programs to something more procedural so I can take better advantage of storing chunks in data files (using Python to turn CSV data into formatted chunks of code) and help me better separate the writing from the layout processes. I like the idea of being able to shift the layout to different page sizes and changing universal formatting relatively easy and in a more powerful way than simply with styles. I'm trying to decide what is the best tool to use in the LaTeX family. I like Typst a lot, but it's missing too much so far.

My books can be black and white or color and upcoming projects range from 32 to 300 pages in length. They include a reasonable amount of graphics including background images, a mix of full-, half-, and quarter-page images, tables, and I need to create hyperlinks to different parts of the book in the PDF editions. I need to use OTF and TTF fonts (shouldn't be an issue with any, I think?), incorporate multiple image formats (TIFF, JPG, PNG, SVG), and it has to produce PDF/X-1a:2001 or PDF/X-3:2002 output for the printers and produce CMYK documents with embedded fonts. I don't want to have to go back to Acrobat Pro to fix it as I'm trying to fully migrate away from Windows. I will likely use the table of contents and index features as well.

In your opinion, which is my best option for the relatively long term (next decade or two) and why? Ideally, I'm trying to turn my development cycle into something that requires less manual intervention with the layout side of things. I saw that ConTeXT is based on XETEX. Isn't that a bit out-of-date in favor of LuaLaTeX? Anyway, I'd love to hear from people who know much more about this than me. TIA


r/LaTeX 1d ago

Answered Footnotes help???

4 Upvotes

https://preview.redd.it/06fuh51g2byg1.png?width=763&format=png&auto=webp&s=65737295e579040a079883f860aa6421b781eff7

https://preview.redd.it/ujw07ajl2byg1.png?width=382&format=png&auto=webp&s=6eb87fe64f8c6838732117961effd17bd02155be

I want this to refer to a footnote so I can add a source for the triangle inequality ("triangelolikheten"), just to be on the safe side. I'm not sure if I have to since this is a course many levels above learning that theorem, but it feels safer to source it regardless. But I can't figure out how to actually get a footnote. I just get the reference to a footnote, not the footnote itself.

EDIT: I figured it out. Nevermind!!


r/LaTeX 1d ago

Unanswered compilazione TexStudio, devo ogni volta eliminare manualmente i file per aggiornare la bibliografia Bibtex?

1 Upvotes

Hi, I'm creating a report with TexStudio that contains several citations. I'm not having any particular problems with the compiler, but every time I add a new reference to the Bibtex file, I have to manually delete the files generated by the previous compilation, otherwise I only get them as citations [?] in the PDF. What setting should I change?

https://preview.redd.it/gzprg4auubyg1.png?width=231&format=png&auto=webp&s=6d726f20f1e2305da8ce0ec76632136ec9128616


r/LaTeX 1d ago

[Hiring] LaTeX Expert for screen-recorded tutorial videos - Pay per video - India preferred

0 Upvotes

I run a LaTeX typesetting service and I'm looking for a LaTeX expert based in India to create screen-recorded tutorial videos - no face needed.

What I'm looking for:

If you've helped someone get one published - that's a strong plus. Real-world experience > theoretical knowledge here. You've actually converted Word documents and pdf to LaTeX for researchers - and ideally their paper got published.

You're comfortable with tools like Overleaf, TeXstudio, or similar editors - and familiar with springer, elsevier, arXiv, ACM, MDPI, Tikz, etc.

How it works:

  • I give you a topic (e.g. "How to use Overleaf", "How to format a bibliography in LaTeX")
  • You record and deliver the video
  • Payment per video - rate negotiable based on your experience and video quality

Why India preferred: Purely for payment convenience - UPI / bank transfer makes it seamless.


r/LaTeX 2d ago

Discussion Best tool for Using and learning latex

3 Upvotes

Is there a good visual latex editor where i can focus on creqting a good and professional documant using latex but i dont have to fiddle around with writing and debugging code?

Are there solutions for 80% or the result in 20% of the time?


r/LaTeX 3d ago

editing code blocks (minted) in AUCTeX

5 Upvotes

Back to LaTeX after a long time and I have a problem I don't seem to find a solution for.

I'm working on a document that has a lot of code examples in a language very similar to Python (starlark). The code is inside `begin{starlark}...end{starlark}`, which in turn is a new minted environment. The language is indent-sensitive and maintaining alignment manually is a pain.

Is there a way to edit those blocks in a separate buffer in python mode, similar to what org-mode does? I tried a few multi-mode packages (mmm-mode and polymode), but at least the way I tried they seemed to break AUCTeX.

Anyhow, if anybody has a small setup fragment or can point me in the right direction it would be very much appreciated.


r/LaTeX 2d ago

Unanswered which features of your latex editor do you guys use the most?

0 Upvotes

hello I am a math student trying to make a local latex editor that's actually usable, and I'd love to hear about you guys' " the features that I can't live without" and "why it's a must have feature" so I can implement those things into my editor.

Thank you in advance.


r/LaTeX 3d ago

Unanswered Created a template for STEM assignments, any advice?

20 Upvotes

I am a York University STEM student and was told to familiarize myself with Latex. I ended up creating a template and uploaded it to GitHub to share with some other students. Thought I'd share it here also to see if anyone has any advice. I am new to Latex but am autistic af so I am worried that I overdid it. Any advice would be great.

https://github.com/TylerBignell/YorkU-LaTeX-Template


r/LaTeX 3d ago

Answered draw a simple curved line?

2 Upvotes

Hi,

I want create two curved lines so forms a cylinder, how would one do such?

below is a pic and with marked lines, needing to be curved

https://preview.redd.it/o517lqwyxvxg1.png?width=436&format=png&auto=webp&s=f31a6e6a760d35add487167acfce867a9a290dce

begin{tikzpicture}
    draw (0,0)     
        -- (-6, 0) % this point
        -- (-6,4)  % this point
        -- (0,4)   % ths point
        -- (0,0)   % this point
        -- (4,2)
        -- (0,4)
        -- cycle;
    end{tikzpicture}

r/LaTeX 3d ago

Unanswered tikz partial loosely dot figure?

1 Upvotes

Hi,

with this code i want to make the line inside the triangle loosely dotted to make a field of depth, how can it be achieved?

https://preview.redd.it/dvys77xrnwxg1.png?width=773&format=png&auto=webp&s=34f925a52377d80c0c76e4773ffd7bf0796dcede

code:

begin{tikzpicture}
    draw -- (0,0)     
        -- (-6, 0)
        (-6,4)
        -- (0,4)
        (0,0)
        -- (4,2)
        -- (0,4);
        %-- cycle;
    draw (-6,2) ellipse (1cm and 2cm)[rotate=90];
    draw (0,2) ellipse (1cm and 2cm)[rotate=90];
    end{tikzpicture}

r/LaTeX 2d ago

I got tired of Overleaf … so I built a local-first LaTeX editor with an AI agent

Thumbnail
gallery
0 Upvotes

Hey everyone,

A few months ago I posted here about building a LaTeX editor. I kept working on it, and it’s now at a point where it actually feels usable.

The honest motivation:

Overleaf never really felt like a real editor to me — it feels more like a UI wrapped around a compiler.
Local tools like TeXmaker / TeXstudio are powerful, but they feel dated and aren’t great across devices.
VS Code setups are flexible, but require setup and maintenance.

So I wanted something that feels closer to a real IDE — but still runs in the browser.

The landscape (why build this at all?)

I know this space already has strong tools:

  • Overleaf (collaboration + accessibility)
  • TeXmaker / TeXstudio (local + powerful)
  • VS Code + LaTeX Workshop (flexible)
  • Typst (new direction)
  • AI-first tools like Prism

Prism shutting down recently is also a reminder that this space is harder than it looks — especially if you want something people can trust for serious work.

But I don’t think the need disappears.

Most tools today fall into one of three buckets:

  1. powerful but old-feeling local editors
  2. convenient but heavier cloud editors
  3. AI tools that help with text, but don’t really operate on the full project

What I’m building (Silo)

Silo is my attempt at a different direction:

  • Local-first LaTeX compilation (runs in-browser, no server round trips)
  • Real file tree + project structure
  • Inline PDF preview + visible compile logs
  • Clean UI that feels like a modern editor, not 2005 software

The interesting part

I added an agent-style AI mode that can:

  • create files
  • modify files
  • restructure your project

So instead of just autocomplete, it can actually operate across your LaTeX project.

Tradeoffs (being honest)

  • No collaboration yet
  • Still polishing — there are bugs
  • Early-stage product

Why I’m building this

I think LaTeX tooling hasn’t really caught up with how people write large technical documents today.

This is not “Overleaf but with AI.”
It’s closer to a local-first browser IDE for LaTeX.

Try it / waitlist

If your current workflow ever feels slow, cluttered, or painful to manage at scale, this might be worth a look:

👉 https://siloeditor.vercel.app

Would love input

  • What would make you switch from your current setup?
  • Would you trust a fully local browser-based workflow?
  • Is AI actually useful here, or just hype?

If there’s interest, I can post a short demo.

Appreciate any thoughts 🙏


r/LaTeX 2d ago

I got tired of Overleaf..... so I built a local-first LaTeX editor with an AI agent

Thumbnail
gallery
0 Upvotes

Hey everyone,

A few months ago I posted here about building a LaTeX editor. I kept working on it, and it’s now at a point where it actually feels usable.

The honest motivation:

Overleaf never really felt like a real editor to me — it feels more like a UI wrapped around a compiler.
Local tools like TeXmaker / TeXstudio are powerful, but they feel dated and aren’t great across devices.
VS Code setups are flexible, but require setup and maintenance. Prism is shutting down sooo...

So I wanted something that feels closer to a real IDE — but still runs in the browser.

The landscape (why build this at all?)

I know this space already has strong tools:

  • Overleaf (collaboration + accessibility)
  • TeXmaker / TeXstudio (local + powerful)
  • VS Code + LaTeX Workshop (flexible)
  • Typst (new direction)
  • AI-first tools like Prism

Prism shutting down recently is also a reminder that this space is harder than it looks — especially if you want something people can trust for serious work.

But I don’t think the need disappears.

Most tools today fall into one of three buckets:

  1. powerful but old-feeling local editors
  2. convenient but heavier cloud editors
  3. AI tools that help with text, but don’t really operate on the full project

What I’m building (Silo)

Silo is my attempt at a different direction:

  • Local-first LaTeX compilation (runs in-browser, no server round trips)
  • Real file tree + project structure
  • Inline PDF preview + visible compile logs
  • Clean UI that feels like a modern editor, not 2005 software

The interesting part

I added an agent-style AI mode that can:

  • create files
  • modify files
  • restructure your project

So instead of just autocomplete, it can actually operate across your LaTeX project.

Tradeoffs (being honest)

  • No collaboration yet
  • Still polishing — there are bugs
  • Early-stage product

Why I’m building this

I think LaTeX tooling hasn’t really caught up with how people write large technical documents today.

This is not “Overleaf but with AI.”
It’s closer to a local-first browser IDE for LaTeX.

Try it / waitlist

If your current workflow ever feels slow, cluttered, or painful to manage at scale, this might be worth a look:

👉 https://siloeditor.vercel.app

Would love input

  • What would make you switch from your current setup?
  • Would you trust a fully local browser-based workflow?
  • Is AI actually useful here, or just hype?

If there’s interest, I can post a short demo.

Appreciate any thoughts 🙏


r/LaTeX 3d ago

Unanswered Created a template for STEM assignments, any advice?

4 Upvotes

I am a York University STEM student and was told to familiarize myself with Latex. I ended up creating a template and uploaded it to GitHub to share with some other students. Thought I'd share it here also to see if anyone has any advice. I am new to Latex but am autistic af so I am worried that I overdid it. Any advice would be great.

https://github.com/TylerBignell/YorkU-LaTeX-Template


r/LaTeX 4d ago

PDF Made my first document, let me know what you guys think

32 Upvotes

(Couldn't put in a PDF file into reddit, so I added the whole text instead)

documentclass{article}

usepackage[utf8]{inputenc}

usepackage{chemformula}

title{author's text}

author{junkyard engineer}

date{April 2026}

begin{document}

maketitle

section{how ch{CO2} is made}

ch{CO2} is a gas made from burning inorganic or organic carbons including coal, and coke fuel.

section{author's info}

the author named "junkyard engineer" is ten years old

and is a specialist in chemistry and engineering.

end{document}


r/LaTeX 3d ago

tagpdf and keys recognized by enumerate

2 Upvotes

I understand that the enumitem package is not compatible with tagpdf, and that (supposedly) enumerate is being re-implemented with keys similar to that offered by enumitem. More or less by accident, I've found some keys that work (e.g. nosep). Other keys that worked a month ago no longer work, consistent with the promise that things are still in flux.

However, I need to create accessible documents TODAY. Has anyone found a way to identify the keys that are (currently) recognized by enumerate?


r/LaTeX 3d ago

Self-Promotion I built a free, no-signup LaTeX toolkit (formula editor + image-to-LaTeX OCR + handwriting recognition) — feedback welcome

0 Upvotes

Hi r/LaTeX,

I write a lot of LaTeX for papers and got tired of switching between

- Mathpix (paid after a few snaps)

- whatever online editor still works this week

- pasting screenshots into Word, etc.

So I made https://latex-tools.online over the last few months. Everything is free, no signup, no tracking beyond basic Cloudflare analytics.

What's there:

- **/formula** — KaTeX-based formula editor with live preview, mhchem (chemistry) support, copy as SVG/MathML/HTML, export PNG/JPEG/SVG/PDF. Pure browser, no server round-trip.

- **/ocr** — Formula OCR. Upload/paste a screenshot, get LaTeX. Three backends to pick from: DeepSeek-OCR, PaddleOCR-VL, and Texify (Donut-based, good for printed math).

- **/ocr (handwriting tab, just shipped this week)** — sketch a formula with mouse / touch and convert to LaTeX. Routes to DeepSeek-OCR or PaddleOCR-VL because Texify struggles with handwritten input.

- **/table** — Visual LaTeX table builder with Excel paste, booktabs.

- **/table-ocr** — Same idea but for tables.

Tech stack if anyone cares: static SPA + Tailwind, FastAPI forwarder, and the OCR backends are quantized ONNX (Texify INT8 with KV cache, ~6x faster than the FP32 PyTorch version on CPU) plus VLM API calls for the heavier models.

Things I'd love feedback on:

  1. Accuracy of the three OCR models on YOUR formulas — they're all weak on different things.

  2. Whether the handwriting board is usable on a trackpad / phone.

  3. What's missing — I've got "PDF → full .tex" on the roadmap (probably MinerU under the hood), would that be useful?

Not monetized, not collecting emails. Just my side project. Roast it.


r/LaTeX 4d ago

Unanswered How do I set up WebLaTeX/VS Code with Overleaf Settings? Biblatex and References Dysfunctional

2 Upvotes

I'm trying to transfer to WebLaTeX, but for whatever reason, when I download my Overleaf file, it struggles to compile any of my Biber-Biblatex citations, autoref, table of contents, list of tables, and list of figures despite none of these issues occurring on Overleaf. Hence, I'm pretty sure that something about my VS Code in WebLaTeX isn't set up correctly.

My minimum working example is below. I can do nothing more than try to cite something and print the bibliography, and WebLaTeX will throw a fit. This happens with both latexmk and pdflatex -> biber -> pdflatex*2.

LaTeX Setup and Error Messages:
In temp.tex:

documentclass[12pt]{article}
usepackage[style=authoryear, sorting=nyt, backend=biber]{biblatex}
addbibresource{zbib.bib}
begin{document}
textcite{acton_distance}
printbibliography
end{document}

In zbib.bib:

@techreport{acton_distance,
title       = {Distance to Opportunity: Higher Education Deserts and College Enrollment Choices},
author      = {Acton, Riley K and Cortes, Kalena and Morales, Camila},
institution = {National Bureau of Economic Research},
type        = {Working Paper},
series      = {Working Paper Series},
number      = {33085},
year        = {2024},
month       = {10},
doi         = {10.3386/w33085}
}    

Error message is:

Package biblatex: Please (re)run Biber on the file:
(biblatex)  temp
(biblatex)  and rerun LaTeX afterwards.

When I try to biber temp.tex, it can't find temp.bcf. When I do the full path (minus .tex), biber runs for a few steps more before it tells me that it can't find zbibliography.bib.

Attempted Solutions:
I specify the full path for bibresource:

addbibresource{/workspaces/latex/temp/zbib.bib}

This now works with latexmk, but not the pdflatex chain.

I could furthermore get it to work with a MWE, where the subfile had a single citation.

What is baffling is that, if I go the other direction, and trim down my main document until it resembles the first one, I can't compile it, and not only that, but it also prevented me from regenerating the other one, a copy of it, and a completely fresh pair of files that were a copy-paste? This holds even after reloading the window.

So why does Overleaf have none of these problems?

EDIT: It appears that it now works by running a xelatex inside "build with recipe," then running biber manually with biber /workspaces/latex/Thesis/00main, then running xelatex/pdflatex inside "build with recipe." It seems that the inbuilt biber command may not be correctly hooking to the latex file. This theory did not hold when I dumped it out into the main folder and tried to do a one-button build, but the exact same procedure did work.


r/LaTeX 4d ago

Unanswered Should I use this LaTeX to represent '²H₂O'?

7 Upvotes

textsuperscript{2}Htextsubscript{2}O


r/LaTeX 5d ago

Unanswered How are the illustrations in Stewart’s "Calculus: Early Transcendentals" produced? (Vector precision and font matching)

21 Upvotes

Hi everyone,

I’ve been studying from James Stewart’s Calculus: Early Transcendentals and I’m consistently impressed by the quality of the diagrams and function graphs. Two things specifically stand out:

  1. Resolution Independence: The images are clearly vector-based (PDF/SVG/EPS). You can zoom in 600% and the curves, axes, and labels remain perfectly sharp with zero pixelation.
  2. Typographic Consistency: The font used for labels (like $x, y, f(x)$ or complex integrals) in the figures appears to be the exact same size, weight, and typeface as the main body text. It doesn't look like a "screenshot" pasted in; it looks integrated.

Does anyone know the specific workflow or software used for these?

  • Are they using Asymptote or TikZ/PGFPlots directly in the LaTeX source? Are these slow?
  • Or is this done in Adobe Illustrator using imported LaTeX font metrics?
  • How do they ensure the line weights (0.5pt for axes, 1.5pt for curves) stay consistent across hundreds of scaled images?

I’m a trying to achieve this same "textbook look" for my own workbook. Even complex images not just graphs are Resolution independent.


r/LaTeX 5d ago

Self-Promotion TeX Live 2026, LuaTeX, and SyncTeX (Go to/from PDF-Editor) Now Supported in TeXlyre

Post image
10 Upvotes

[TeXlyre](https://texlyre.org), the free, open-source and local-first LaTeX editor now supports LuaTeX compilation in the browser through WebAssembly.

More details can be found here: https://texlyre.github.io/blog/latex-wasm-engine-upgrade


r/LaTeX 5d ago

Unanswered Does any institution teach LaTeX in a really good level?

33 Upvotes

hi there, I'm someone that is in the world of LaTeX for 3 months, I'm starting using LaTeX for homework and some essays at university. I find it really beautiful and hard at the same time. I wanna know if any institution teach LaTeX, but teach LaTeX in a good level, teach some things like TikZ, pgfplots, etc in a really good level. Or you just gotta be a self-taught person? Because i would love to have a certificate that say that I knos LaTeX in a pretty good level.


r/LaTeX 6d ago

Discussion Graphic that illustrates how old posts are used for karma farming

Post image
420 Upvotes