r/LaTeX Jan 28 '18

Please don't delete your post after it is answered

755 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.6k Upvotes

r/LaTeX 7h ago

The best way to convert a tex to a word file

9 Upvotes

I have a few coauthors who insist on using Word. But I have a draft that is written in LaTeX with quite some formulas, what is the best and fastest way to convert this Tex file into a Word file without destroying the formulas? Thanks in advance!


r/LaTeX 1h ago

LuaLaTeX English with babel, math and Japanese

Upvotes

I've been going in circles looking for how to do this. Is there a guide on how to set the math font plus babel[japanese,english]?

Unicode-math and mathfont are the two prospects that I've seen recommended but I haven't understood the docs well enough to make them work predictably with babel. For instance, the smallcaps sequence sometimes disappears, and sometimes the mathfont reverts to Computer Modern. It feels random but of course it won't be. It might depend on load order. I can't yet tell.

I'm hoping to set a single European typeface (maybe Minion Pro) for both text and math, plus regular+bf Japanese typefaces that is still to be chosen.


r/LaTeX 11h ago

LuaLaTeX + View PDF

2 Upvotes

Hello.

When I use " LuaLaTeX + View PDF " as quick build command, the PDF in the build-in viewer never refresh itself automatically, I need to refresh it manually to see the result.

Is there a way to make the " + View PDF " part work ?


r/LaTeX 6h ago

compiles remotely, fails locally, only now the remote end installs new packages on its own

0 Upvotes

The oldest reproducibility trap in latex is a doc that builds fine on overleaf and then explodes on your local texlive, because overleaf just has everything installed. missing .sty, undefined control sequence, the usual. the fix has always been discipline: pin your packages, keep the environment minimal, actually know what you depend on.

what's new, and kind of worse, is that the remote end doing the compiling isn't a static full install anymore. hand your .tex to one of these agent editors and it'll tlmgr install a package the second it hits an error, because from its side that's the path of least resistance. so the set of packages your document needs isn't fixed, it grows every time the agent digs itself out, and you don't really see it happen.

The way you notice is a build that was green for a while suddenly needs a package you never typed a \usepackage for. compiles everywhere the agent has touched, nowhere else.

so what's the actual move here, diff tlmgr state after each run, freeze the agent to a fixed package set, or just compile in the same container it uses so you never diverge?


r/LaTeX 13h ago

Unanswered Free Online Research Journal Club

0 Upvotes
  • One paper per week
  • Participants read the paper beforehand
  • 10 min: paper overview
  • 15 min: methods/statistics
  • 15 min: results and figures
  • 15 min: limitations/critical discussion
  • 5 min: takeaways

Workshop will be completely free and surround around LaTeX and typst(optional)

What would people be more interested in talking about??

which field would be interesting - mathematics, physics, biology, engineering, computer science?


r/LaTeX 1d ago

[For Hire] Trilingual Scientific Translation (EN/FR/AR) & LaTeX Document Formatting (Paid in USDT/Crypto)

0 Upvotes

Hi everyone,

I hold a Master's degree in Geology (Geo-resources) and offer technical document formatting and scientific translation services for researchers, students, and technical projects.

Services Offered:

  • LaTeX Typesetting: Converting raw Word documents, handwritten notes, or messy manuscripts into publication-ready PDFs (articles, tables, equations, citations).
  • Scientific Translation (EN ↔ FR ↔ AR): High-accuracy technical translation specializing in Earth sciences, mining, raw materials, and energy.
  • Document Cleanup: Fixing broken LaTeX code, overflow tables, and spacing issues.

Pricing: Starting at $10–$15 per task (depending on length and complexity).

Payouts: Exclusively accepting USDT via Binance Pay ID or RedotPay (Visa).

Turnaround: Fast delivery with complete .pdf and editable .tex source files provided.

PM/DM me here with your document details or word count for a quick quote! Sample PDF available upon request.


r/LaTeX 2d ago

Unanswered VS code and overleaf integration via git?

7 Upvotes

Hi,

So I used to edit latex with vim and then I moved to overleaf during a period I was jumping between computers and enjoyed the synchronization.

Now I'm getting annoying with the need for internet connection just to edit and I'm really enjoying using VS code (because I also got code related to my projects and it's nice that everything is in the same place), but I'm collaborating with someone using overleaf.

I saw that overleaf has built in git capabilities (that is, not through github) and it looks like it could work for my use case (i'll work on the file offline and push it at the end of the day or maybe twice a day), but I'm worried that I'll erase my collaborator's work, if we ever diverge into two branches.

I know I can look at the history on overleaf and I won't erase completely anything, but I don't want to bother myself with that kind of work.

Does anyone have experience working like this? is this normally working OK or is this a genuine risk I'll erase their work?

I'd also be happy to hear any other recommendations for working on VS code and synchronizing with overleaf!

Thanks in advance.


r/LaTeX 1d ago

Self-Promotion Feedback wanted: A live-preview LaTeX editor that comes bundled with an engine

Post image
0 Upvotes

I've been working on a LaTeX (plus Markdown) editor that comes bundled with an engine (Tectonic, based on XeTeX) and would like your feedback.

Here's Deft. It's somewhat early in development. Bibliography management and PDF-source sync are planned but not there yet.

Would you find a local, live-preview based LaTeX editor (similar to Overleaf's live editor) useful? Also curious about whether anyone wants Markdown and LaTeX in the same editor.

Edit: This is not a WYSIWYG editor by any means. The live preview is only meant to make writing LaTeX a bit more pleasant by rendering some formatting and isn't forced.


r/LaTeX 2d ago

Markdown Cornell Notes

11 Upvotes

https://github.com/forloop11/markdown-cornell-notes

A LaTeX and Markdown build pipeline that generates printable Cornell style note pages for meetings. Each page carries a header with topic, date, attendees, and time, a large notes panel with a cue column beside it, and a summary band below, all left blank for handwriting on the printout.

Header fields live in YAML and note content lives in Markdown, so the LaTeX template itself never needs hand editing. Python generator scripts convert both into TeX fragments, pandoc handles the Markdown to LaTeX conversion, and a single make command produces a PDF named automatically from the topic, date, and location fields. Content is measured and paginated automatically, with optional directives for forcing page breaks and for routing text into the cue column or summary band of a specific page.

The project also includes a Streamlit editor app that places the header form, a CodeMirror Markdown editor, and a live PDF preview side by side in the browser. The editor adds a formatting toolbar, slash command snippets, and autocomplete for asset paths and code fence languages. Its JavaScript bundle is vendored rather than loaded from a CDN so the app works offline, and it relies on native browser spellcheck rather than any app side state.

Built with Python, LaTeX, pandoc, Streamlit, CodeMirror, JavaScript, and Make. Released under the MIT license.


r/LaTeX 3d ago

bless my linear algebra teacher for introducing me to LaTeX

Post image
45 Upvotes

honestly, im gonna dump Word and start writing every document using LaTeX
i really love how efficient this format is, Word sucks.


r/LaTeX 5d ago

Discussion What font do you use in your LaTeX documents?

53 Upvotes

I've recently been having trouble concentrating when reading long LaTeX documents using the default Computer Modern font. I tried Lexend, but it didn't work for me.

What font do you use when writing, editing, and reading long LaTeX documents?


r/LaTeX 4d ago

Unanswered Help with font

Post image
0 Upvotes

Can someone identify this math font please


r/LaTeX 4d ago

Answered How to remove automatically generated space?

3 Upvotes

Hello, i come looking for latex wisdom. Whenever i got an equation environment
at the very end of a theorem environment, a large unaesthetic space is automatically generated (as in the attached photo). It can be removed with a negative \vspace, but I don't like it, because I have to go by "trial and error" to set it just at the right amount. Is there a more elegant, native way to do this?

Edit: source code is something like this, and the problem disappears if the label is taken away

\begin{teo}[name]
    My theorem with my equation
    \begin{equation*}
        Some math    
   \end{equation*}
    \label{mylabel}
\end{teo}
\begin{proof}
…
\end{proof}

r/LaTeX 5d ago

Answered Can someone help me identify this font?

Post image
98 Upvotes

I have tried, eb garamond, times new roman, palatino, tex gyre, Euler math, stix, but none of them matched,

I want to know the math font to be exact


r/LaTeX 5d ago

the % !TEX root magic comment matters way more once something else compiles for you

8 Upvotes

Most of my writing lives in a multi-file setup. one main.tex and a folder of chapter files that each get \input, plus a preamble.sty full of macros I barely remember adding.

For the longest time the only place main-document detection ever bit me was opening a chapter file in a fresh editor and hitting compile out of habit, then drowning in errors because the fragment has no \documentclass. Dropping a % !TEX root line in the fragment mostly fixed that. editor reads the comment, builds the real root, moves on.

what i didn't expect is how much that little convention decides once something other than me is doing the compiling. i've been poking at editors that edit a chapter and then recompile on their own, and the whole thing quietly breaks if the compile step targets the file that just changed instead of the root. best case it compiles the fragment and floods you with errors. worse case, in a project with two \documentclass files lying around, it picks the wrong root and hands you a perfectly clean pdf of the wrong document.

so main-document resolution went from a convenience to the thing that decides whether hands-off compiling is even trustworthy. for the multi-file thesis crowd: do you put % !TEX root in every chapter file, or lean on the editor guessing the root? the guessing is the exact part i've stopped trusting. written with ai

fwiw Sundial compiles LaTeX across the whole workspace in a sandbox, not just the file you have open, and shows inline diffs of what the agent changed before it touches the manuscript, https://s4l.ai/r/wzxb7gxr


r/LaTeX 4d ago

Problem with compiler

2 Upvotes

i use texstudio to compile my latex document, and it had error like this. what should i do?


r/LaTeX 5d ago

Knurl: a native SwiftUI macOS app that finds and installs the missing TeX Live packages for your LaTeX project

Post image
0 Upvotes

Knurl is a small native macOS app (SwiftUI, Universal arm64+x86_64, macOS 15+)

for anyone who writes LaTeX on a Mac. Point it at a .tex project and it maps

every \usepackage to the correct TeX Live package, shows what's missing, and

installs it through tlmgr — only prompting for admin rights when a system-wide

install actually requires it.

- Detects missing TeX Live / BasicTeX and can install BasicTeX

- Glass/modern Sequoia UI, drag-and-drop, live log

- Free, MIT, source on GitHub

Site : https://gilsonolegario.github.io/knurl

Repo: https://github.com/gilsonolegario/knurl

Note: signed with a personal free Apple ID, not notarized, so first launch

needs the usual right-click → Open (or xattr -dr com.apple.quarantine).

Feedback and PRs welcome.


r/LaTeX 6d ago

Unanswered Is there any way I can speed up compilation times on my custom document class?

4 Upvotes

I am making a document class for a ttrpg game, but the example file is starting to get a little slow to compile. I know there are some ways to speed up compilation on the user end, but is there anything else I can do to make it faster by default?

Currently, I have split the project up into several packages which are loaded by the document class depending on the options passed into it. I fear the slow compilation times are due to using quite a few custom tcolorbox styles and icons defined by TikZ.


r/LaTeX 7d ago

My Very First LaTeX Project took me a year and four months

42 Upvotes

I recreated my hardcopy of the ESV Study Bible (for personal use only, observing all copyright protection and fair use to be legal) of all of it's nearly 3000 pages. I learned LaTex as I went!

  • Features: hyperlink navigation system
  • includes all charts (which I redrew with tiki functions) and images. I even added the images that spanned two pages onto a single landscape view
  • includes all margin references, which are hyperlinked
  • included all footnotes, with a color coded template
  • included a topical concordance, with a colored tempate of entries, hyperlinked back to the verse.

This was an amazing project ... I used python to reformat three raw text streams: the margin references, the main text, and the commentary.

I made a private youtube video a few months before it was complete, where most of the progress is shown in the link below.

https://www.youtube.com/watch?v=A7Su4eJp1DY&t=1704s


r/LaTeX 7d ago

Unanswered What are the best alternatives to Overleaf for collaborative LaTeX?

52 Upvotes

I'm fairly new to LaTeX and have been looking into different options for collaborative writing.

Overleaf seems to be the obvious choice, but one of the reasons I started looking around is the cost once you need more than the free plan offers. I'm curious whether there are good alternatives, particularly for university projects, theses and research.

So far I've come across:

Overleaf

  • Easy to get started
  • Good real-time collaboration
  • Large community and lots of documentation
  • Well-established workflow
  • Can get relatively expensive depending on your needs

Inscrive

  • Browser-based collaborative LaTeX editor
  • Unlimited collaborators
  • Integrations with reference managers and GitHub
  • Real-time collaboration
  • EU-hosted with EU sovereign cloud infrastructure (I do like the idea of supporting European alternatives)
  • The free plan seems to offer a lot of value, including unlimited collaborators
  • Pro plan is €7/month

CoCalc

  • LaTeX combined with programming and other technical tools
  • Good for collaborative and technical projects
  • Built-in version history
  • Useful for reproducible research with code, data and LaTeX in the same environment
  • Seems more complex if you only need LaTeX

Local LaTeX + Git

  • Full control and proper version control
  • No dependency on a hosted platform
  • Complete project history and easy rollback to previous versions
  • Each collaborator has a full copy of the repository and its history
  • Works well with different editors and custom workflows
  • More setup and a steeper learning curve for collaboration

I'm sure there are plenty of options I'm missing.

 

For people who use LaTeX regularly:
What do you use for collaborative projects, and why?

I'm particularly interested in the trade-offs around price, ease of use, collaboration, version control, bibliography management, reliability, data integrity and privacy/data hosting.

 

Are there any tools or workflows you would recommend to someone starting today?

And what alternatives should I be looking at that aren't on this list? 

I'm mainly trying to get a feel for what's actually out there, including the downsides. I don't necessarily expect there to be one "best" solution.


r/LaTeX 6d ago

TexLite: A lite web-based latex editor

0 Upvotes

texLite is a lightweight, local-first web workspace for writing, compiling, previewing, and discussing LaTeX documents. It is intended for a small group of trusted users on one server. It uses the LaTeX installation already available on the host instead of shipping a LaTeX container, and keeps the rest of the stack deliberately small. https://github.com/SWUFE-DB-Group/TexLite


r/LaTeX 8d ago

bless my calculus teacher for introducing me to LaTeX

Post image
450 Upvotes

genuenly, im gonna dump Word and start writing every document using LaTeX
i really love how efficient this format is


r/LaTeX 7d ago

Follow, start a small bussiness

0 Upvotes

Good afternoon everyone, here are my services. I know most of you program in LaTeX, but sometimes things are difficult to graph. I can do it for you. Follow me on Instagram