• an agent reflowed my whole .tex and now the diff is useless
    by /u/Deep_Ad1959 on September 5, 2026 at 12:15 am

    Most of us keeping a thesis in git already write one sentence per line, or hard wrap at a fixed column, mostly so the diff stays readable and you can see the real change instead of a whole paragraph lighting up red. that convention quietly assumed you were the only one touching the file. once i let an agent edit the same .tex, it reflowed everything to its own wrapping, so git showed every line changed even though it had only rewritten two sentences. the one real edit was buried in a wall of whitespace churn. i've tried pinning a latexindent config and telling it not to rewrap. works maybe half the time. feels like the actual problem isn't the content, it's that line-diff granularity was never meant for a co-author that reformats as it goes. for anyone running agents on a real manuscript: do you force a formatter pass to normalize both sides before you diff, or have you given up on reading the source diff and just compare the compiled pdfs? written with ai submitted by /u/Deep_Ad1959 [link] [comments]

  • Looking for LaTeX errors you’ve encountered that were hard to understand/were misleading
    by /u/dahosek on September 4, 2026 at 10:41 pm

    As an example, the error that comes from writing \begin{tblr}{expand=\foo} instead of \begin{tblr}[expand=\foo]{} will be Runaway argument? ! Paragraph ended before \foo was complete. Preferably stuff from core LaTeX, but things from common packages are also welcome. submitted by /u/dahosek [link] [comments]

  • Comparison Chart of Editors and LaTeX Workflows
    by /u/mathlab168 on September 4, 2026 at 11:55 am

    As for WSL2, I finally managed to successfully install Zed on Ubuntu, though it still reports that there is no GPU support. All four editors can call TeXpresso, and I can install other extensions, use the compilation engine from TeXLive, and configure two-way navigation between the TeX editor and the PDF viewer. On which Linux distribution in WSL2 can Zed be successfully installed? submitted by /u/mathlab168 [link] [comments]

  • Which Drawing Tablet to Choose?
    by /u/FormerExample8391 on September 4, 2026 at 8:01 am

    Hi, I write mathematics and physics lectures notes on Mac, using LaTex in Obsidian. Lately, I have found myself wanting to add images and figures similar to these in quality and detail. But, I don't know how to do it without a drawing tablet. Are there any workaround? If not, which drawing tablet would you recommend, and why? https://preview.redd.it/88yi6oc2rgnh1.png?width=481&format=png&auto=webp&s=3d590661552d616be21422499af3b5144ba4c692 https://preview.redd.it/0cjqzvz3rgnh1.png?width=667&format=png&auto=webp&s=b367301cebbf8899cbfd464ddd2c0e1e5ef3c806 submitted by /u/FormerExample8391 [link] [comments]

  • I built another MCP bridge for Overleaf using its web API
    by /u/WangYunze on September 3, 2026 at 10:41 am

    Hello community, this is my first post here. Thank you for reading it! A while back, I wanted an MCP server for Overleaf that works on the normal Community Edition and CEP and can interface with the live editing functions. I couldn't find one, so I built one myself. It's still a very early prototype, so please try it on recoverable projects first and report any bugs you notice. I will do my best to fix it quickly. The unique features of this project are: It uses the web API, not git integration. This allows it to be used with standard Overleaf CE, which doesn't have Git integration. Additionally, it can operate on other functions on Overleaf, not just using it as a file storage It also supports Overleaf CEP, with extra features for review workflows, GitHub integration, sandboxed compiling, and Zotero integration. It automatically detects the server's capabilities and exposes the correct toolset to clients. Running in both stdio and streamable HTTP mode for different client requirements Supported tool sets include: Project tools: list, fetch, create, delete, and clone projects; download a project as a zip; list collaborators. File tools: read, list, create, rename, move, overwrite, patch, and delete files; create/refresh linked files Compile tools: trigger a compile (draft or full), fetch compile logs/errors, download an output file, and get a word count Editing tools: search across a project or within a file, outline a file's structure, and read a specific line range. This gives the AI agents more semantic information on a file Config tools: read/update project config: compiler, root document, main bibliography, spell-check language, and the sandboxed-compile TeX Live image Citation tools: list .bib files and their entries, look up a citation key, find where it's used, and check for broken/duplicate citations. This gives academic writing workflow a dedicated toolset to work with bibliography History tools: list project history, diff a file between versions, restore a file to a prior version, and manage history labels Review tools (CEP only): track changes and comment threads in reviewer mode GitHub tools (CEP only): Read GitHub sync state and trigger a sync Pandoc tools (CEP only): Export a whole project to .docx/Markdown/HTML, and import a .docx/.md file into a project Because I don't have a paid subscription to Overleaf SaaS or a Server Pro license, I can't test some functions with the SaaS, so please assume they might not work. If you have the chance, feel free to test it and let me know! submitted by /u/WangYunze [link] [comments]

  • I built a visual LaTeX editor that keeps the source visible and editable — looking for technical feedback
    by /u/Many-Adhesiveness193 on September 2, 2026 at 11:45 am

    Hi r/LaTeX — I’m the developer of DPaper, and I’d appreciate some honest technical feedback. I’m currently a second-year student at National Taiwan University (NTU). I started building DPaper during my first year while writing a course report in LaTeX. I was learning LaTeX from scratch, so even small formatting changes meant stopping to look up another command. Chat-based AI could generate LaTeX quickly, but describing visual changes through prompts was awkward. There was often a gap between what I meant and what it changed, and the returned source could be difficult to inspect and adjust. DPaper is my attempt at a workflow where visual editing and optional AI assistance still produce visible, editable LaTeX. Current features include: direct controls for sections, math, tables, lists, spacing, and indentation; reusable report templates; floating text and image frames that can be adjusted visually; AI-generated content inserted as editable LaTeX structures; PDF pages reconstructed as a new editable LaTeX representation. tool bar for common structures An important qualification: DPaper does not recover the original .tex source. A PDF no longer contains the original macros, comments, package choices, bibliography setup, or author intent. DPaper approximates the visible layout and creates a new editable starting point. The project is still an alpha. Complex equations, tables, multi-column reading order, custom packages, and scanned PDFs may fail or require manual correction. The demos are working examples, not benchmarks or claims of pixel-perfect reconstruction. The alpha is currently free to try and accepts PDFs of up to three pages. Please do not upload confidential or unpublished documents during this testing stage. GitHub project page: https://github.com/AACHIWRONG/dpaper 6-minute demo: https://youtu.be/UzQsH_3W_r4 Alpha: https://dpaper.vercel.app The GitHub page currently contains the documentation,gif demos, and known limitations. After an initial launch in Taiwan, the alpha received around 1,800 site visits. That showed me there was some interest, but I still do not have enough feedback from experienced LaTeX users—which is why I’m bringing it here. I’m especially interested in three questions: Is PDF-to-editable-LaTeX reconstruction useful to you, or is it solving the wrong problem? What would you need to see before trusting a visual editor to modify your LaTeX? Which type of document would you expect to break this first? I’m the author, so this is self-promotion in the literal sense. I’m posting because I want the idea and its technical boundaries challenged. Critical feedback and difficult test cases are more useful to me than stars. submitted by /u/Many-Adhesiveness193 [link] [comments]

  • LuaLaTeX English with babel, math and Japanese
    by /u/Raccoon-Dentist-Two on September 2, 2026 at 12:19 am

    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. submitted by /u/Raccoon-Dentist-Two [link] [comments]

  • compiles remotely, fails locally, only now the remote end installs new packages on its own
    by /u/Deep_Ad1959 on September 1, 2026 at 7:17 pm

    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? submitted by /u/Deep_Ad1959 [link] [comments]

  • The best way to convert a tex to a word file
    by /u/ShawnXYe on September 1, 2026 at 6:07 pm

    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! submitted by /u/ShawnXYe [link] [comments]

  • LuaLaTeX + View PDF
    by /u/Sharpunk on September 1, 2026 at 2:02 pm

    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 ? submitted by /u/Sharpunk [link] [comments]

  • Free Online Research Journal Club
    by /u/Efficient_Airline_14 on September 1, 2026 at 11:54 am

    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? submitted by /u/Efficient_Airline_14 [link] [comments]

  • [For Hire] Trilingual Scientific Translation (EN/FR/AR) & LaTeX Document Formatting (Paid in USDT/Crypto)
    by /u/ExitLife22 on August 31, 2026 at 10:12 pm

    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. submitted by /u/ExitLife22 [link] [comments]

  • Feedback wanted: A live-preview LaTeX editor that comes bundled with an engine
    by /u/flightcoded on August 31, 2026 at 8:11 am

    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. submitted by /u/flightcoded [link] [comments]

  • VS code and overleaf integration via git?
    by /u/GuySapire on August 30, 2026 at 12:12 pm

    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. submitted by /u/GuySapire [link] [comments]

  • Markdown Cornell Notes
    by /u/super_boogie_crapper on August 30, 2026 at 2:36 am

    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. submitted by /u/super_boogie_crapper [link] [comments]

  • bless my linear algebra teacher for introducing me to LaTeX
    by /u/Efficient_Airline_14 on August 29, 2026 at 4:17 am

    honestly, im gonna dump Word and start writing every document using LaTeX i really love how efficient this format is, Word sucks. submitted by /u/Efficient_Airline_14 [link] [comments]

  • Help with font
    by /u/thexc3r on August 28, 2026 at 10:20 pm

    Can someone identify this math font please submitted by /u/thexc3r [link] [comments]

  • How to remove automatically generated space?
    by /u/_3l1as_ on August 28, 2026 at 8:55 am

    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? https://preview.redd.it/0mjqjbcay2mh1.jpg?width=1080&format=pjpg&auto=webp&s=4f34b585fc0ad2e43e4b420694f445bfeb516fb5 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} submitted by /u/_3l1as_ [link] [comments]

  • Problem with compiler
    by /u/WDSEnjoyer on August 28, 2026 at 6:26 am

    https://preview.redd.it/iintrj5g72mh1.png?width=1920&format=png&auto=webp&s=de09dd7dc0d454321bd86980febf4bce9d46c550 i use texstudio to compile my latex document, and it had error like this. what should i do? submitted by /u/WDSEnjoyer [link] [comments]

  • the % !TEX root magic comment matters way more once something else compiles for you
    by /u/Deep_Ad1959 on August 28, 2026 at 12:18 am

    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 submitted by /u/Deep_Ad1959 [link] [comments]

  • What font do you use in your LaTeX documents?
    by /u/Successful-Life8510 on August 27, 2026 at 9:05 pm

    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? submitted by /u/Successful-Life8510 [link] [comments]

  • Can someone help me identify this font?
    by /u/MurkyUnit3180 on August 27, 2026 at 12:53 pm

    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 submitted by /u/MurkyUnit3180 [link] [comments]

  • Knurl: a native SwiftUI macOS app that finds and installs the missing TeX Live packages for your LaTeX project
    by /u/Agreeable_Mixture242 on August 27, 2026 at 12:11 pm

    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. submitted by /u/Agreeable_Mixture242 [link] [comments]

  • I'm pushing the limits of what LaTex can do. A selection of my notes from my first year of engineering
    by /u/human0006 on February 17, 2024 at 9:05 am

    submitted by /u/human0006 [link] [comments]

  • Please don't delete your post after it is answered
    by /u/JimH10 on January 28, 2018 at 5:40 pm

    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. submitted by /u/JimH10 [link] [comments]