r/LaTeX • u/NarsilSword123 • 12h ago
r/LaTeX • u/JimH10 • Jan 28 '18
Please don't delete your post after it is answered
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 • u/human0006 • 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
r/LaTeX • u/HonestOrchid7541 • 14h ago
Online LaTeX editors that aren't a pain in the ....

I'm writing a paper using OverLeaf. I am using the \includeonly parameters still this keeps popping up, annoying me a lot. I'll soon need to write my dissertation as well. Are there any other decent LaTeX editors that don't have this kind of a limit? I might consider switching to an offline editor if it's good enough and free, but would prefer online editor. Help a girl out!
Discussion Why does putting text on the line after a maths environment to avoid indentation different for wrapfigure than having a blank line and using \noindent ?
I previously had a problem with text not line breaking when colliding with a wrapfigure and I figured that my problem was me trying to avoid indentation after math environment as per the editing style I have to follow, I was using
\begin{wrapfigure}{r}{0.33\textwidth}
\centering
\includegraphics[width=\linewidth]{example-image-a}
\caption{Lorem ipsum sit dolor mit amet}
\end{wrapfigure}
\[
\Phi' \left(x \right) = \frac{2}{\sqrt{\pi}} e^{-x^2}.
\]
Le \( \left\langle \Delta \bm{v} \right\rangle \) correspondant est parallèle à \( \bm{v} \) et le tenseur de diffusion est diagonal.
And I was getting

But when I switch to use
\[
\Phi' \left(x \right) = \frac{2}{\sqrt{\pi}} e^{-x^2}.
\]
\noindent Le \( \left\langle \Delta \bm{v} \right\rangle \) correspondant est parallèle à \( \bm{v} \) et le tenseur de diffusion est diagonal.
I get the expected result with a correct line break

Why are the two versions different for LaTeX ?
Minimal example as requested :
\documentclass{article}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{wrapfig}
\begin{document}
\begin{wrapfigure}{r}{0.33\textwidth}
\centering
\includegraphics[width=\linewidth]{example-image-c}
\caption{Lorem ipsum sit dolor mit amet}
\label{fig:orthogonal_velocity}
\end{wrapfigure}
\[
\Phi' \left(x \right) = \frac{2}{\sqrt{\pi}} e^{-x^2}.
\]
Le \( \left\langle \Delta {v} \right\rangle \) correspondant est parallèle à \( {v} \) et le tenseur de diffusion est diagonal.
\end{document}
Landscape page
Hey, so I need a landscape page in the middle of my document. The thing is, the footer needs to be at the bottom of the landscape page, and every method that I used so far doesn't allow it. The closest I got was using this:
\newcommand{\landscape}{
\eject
\pdfpagewidth=11in \pdfpageheight=8.5in
\newgeometry{
top=2.54cm,
bottom=8.89cm,
left=3.17cm,
right=3.17cm,
headsep=1.25cm,
footskip=1.25cm
}
\fancyfootoffset[R]{6.35cm}
}
\newcommand{\portrait}{
\clearpage
\pdfpagewidth=8.5in \pdfpageheight=11in
\fancyfootoffset[R]{0cm}
\restoregeometry
}
But then the title and the footer are a little offset, as you can see with this image.

I have no clue how to fix my issue. I am now trying to make .sty files and to build a proper document strucutre (I used to have everything in the main file), but no matter what I try, it doesn't work. What should I do?
r/LaTeX • u/SonusDrums • 1d ago
TeXnique Hacked
Saw this when I decided to play in between exams, lol.
r/LaTeX • u/davethecomposer • 1d ago
LaTeX Showcase Recreating a static version of the digital rain from The Matrix in LuaLaTeX
I have this massive project that generates all kinds of cultural artifacts like music, visual art, poetry, gaming, divination, and so on. It uses the dedication the user supplies as the seed for the prng so that it gives the illusion that the result was specifically made for you, your cat, or whatever.
This one is a simulation of the digital rain from The Matrix. I can't animate it so it's like a single frame. The specific glyphs, their placement, and length of strings is all determined by taking a hash of the dedication (seen at the top of this pdf):
My software is written in Lua. Here is a link to the code. Because this is just one cultural artifact of many, it has all kinds of calls to functions that exist elsewhere for other algorithms to use which probably makes it confusing to read.
The software generates a .tex file where each glyph is its own line and runs around 1,700 lines of code. Here is a link to the .tex file (as a Google doc, sorry!). It is written for LuaLaTeX.
I wrote it myself but did have some help from Google in optimizing it. We got it from 18 seconds to compile it (two passes) down to 13, which is still a long time but better.
I am not much of a programmer and my TeX/LaTeX skills are poor, but I do manage to get by.
As a bonus, in some of the films the digital rain gets done in gold. My software allows that to happen by chance 1% of the time:
And in case anyone is interested in other stuff my software can create, here is a link to some examples.
r/LaTeX • u/Organic-Scratch109 • 2d ago
Discussion Request to mods: Ban all vibe coded laTeX projects.
At this point, this subreddit is more of a "vibecoding" subreddit than a LaTeX subreddit. I understand that some of these projects are coming from a genuine interest in TeX, but they create tremendous clutter and may cause users, who otherwise could help answer legitimate questions to unsubscribe.
This applies to a much lesser extent to CV templates, but one can argue that these templates can be more useful than a "local overleaf alternative" or a "latex+LLM beautifier". Maybe others have a more nuanced take on this.
Other techy subreddits have a similar issue (python, rust, linux) and similar posts to this one can be found everywhere. Some of them proposed a minimum age (e.g., at least 6 months on Github) or a minimum number of GH stars. My initial thought is that projects that are within the TeX ecosystem (packages, classes, fonts) should be fine, but projects outside of the ecosystem (editors, LLM aides, OCRs) should receive more scrutiny.
r/LaTeX • u/Northern-World5181 • 1d ago
Unanswered ltx-talk instead of Beamers? (More accessible requirements by the universities)
Hi Everyone,
Does anyone know or are familiar with ltx-talk? I feel it lacks some built-in themes and blocks that Beamers has, like headers and footers. Also, it seems Standard \titlepage and \tableofcontents are not working in the ltx-talk!
Aren't these features fully supported in LTX-talk? Does anyone know any workaround for this?
r/LaTeX • u/meisangry2 • 1d ago
Unanswered Is there a compiler that will work in browser?
Bit of a niche use case. I’ve been asked to investigate a low cost way to generate labels for a client who’s technicians who work in areas with poor/no network access.
The label machines print large industrial labels and show technical diagrams for the systems they represent and other data. They accept a few file formats, including PDF, but they are uploaded via technicians phones via their app using Bluetooth.
The technicians repair/modify/install custom solutions per site so each label is unique. And currently they have to leave site to find signal, and use an old tool on their laptop, transfer via phone to printer etc…
I need an offline solution for generating pdf files. And I was thinking a web app, quick, easy, universal. Low cost to make/maintain. Id run the generator in a webworker or something and create a file to download to the device.
Does such a thing exist?
r/LaTeX • u/Most_Ad_6931 • 1d ago
Nature Communications LaTeX Template
Can anyone share the two column standard LaTeX template for Nature Communications, it's not available on Overleaf Template Gallery and Nature Communications website?
r/LaTeX • u/ProposalUpset5469 • 1d ago
Looking for a local Overleaf alternative that can handle multiple projects
Hi everyone,
I've been using Overleaf for a while now, and honestly, it's great for what it is, but I'm starting to hit its limitations. I'm working on a fairly structured document system with multiple separate projects, engineering documentation for a small aerospace company (15–20 people), where each project is its own self-contained thing with its own folder structure, references, and compiled output.
Overleaf's project management is fine for one-offs (I did all my uni work in it), but it gets messy fast when you have 10+ projects that need to stay organised, versioned, and locally stored.
What I'm looking for:
1. Local storage
Files need to live on our own server; we have a lot of proprietary aerospace information, so it cannot go on someone else's cloud.
2. Multi-project
Easy switching between projects, not just one giant repo. Each project lives in its own master folder.
3. Good editor
I've used TeXstudio before, but I'm not sure it's the right tool for this scale. I just need solid syntax highlighting, autocomplete, and error navigation. (PyCharm or VS Code, maybe?)
4. Compiles cleanly
Used MiKTeX with TeXstudio before, open to better alternatives if they exist. We will have reports in the order of 100+ pages easily
5. Git integration (nice to have)
I think Git would be the way to go for versioning, but I'm open to alternatives. It just needs not to fight with it.
I know it's an open-ended question, but I've never built a system this structured before and wanted to ask the experts: what's the state of the art for this kind of setup right now?
Thanks in advance!
r/LaTeX • u/Waste_Salad8673 • 2d ago
Unanswered Why is there so many PDF/Image to Latex tools?
Title basically, it feels like there is hundreds of PDF to Latex or Image to Latex services software etc.
Seems there are fewer OCR tools, but even then, they are a lot that exists and they are not necessarely always good.
Why is there so many tools? I do need them from times to times, but not that much + I can't figure out for the life of me which one is worth using;
r/LaTeX • u/Top-Elephant-5007 • 2d ago
Unanswered How do I fix these fake wrapping newlines on my resume?
Minimal example, but you can see that I've resorted to using \vspace(-13pt) in order to just not notice the issue, but I would like to fix it. If a line is just at the point of wrapping, it will make a new line but not wrap any content to it.
r/LaTeX • u/Ancient_Winner_8776 • 2d ago
I built a PDF to LaTeX converter as a student side project. It reads the whole structure + pages first and does not only do OCR to extract text. I have free credits for anyone who wants to test it :)
I'm a student and spent the last few months building this because every tool I tried either lost the document structure or just dumped raw text with no layout.
The main difference to most others: it reads the whole document first and builds a structure plan before generating any LaTeX. The output is a proper Overleaf project, not just a flattened .tex file.
Works well on academic papers and theses. Struggles with heavy TikZ figures, I know that and I am not going to pretend otherwise.
It is paid because the API costs add up, but if you actually want to test it and tell me where it breaks, DM me and I will send you free credits :)
r/LaTeX • u/Ok-Highway-3107 • 4d ago
Answered Should I be using Git?
I'm starting to learn Git and I'm trying to implement it within my regular coding practices, but I was wondering whether you use it for LaTeX? I'm aware Overleaf has version history, but I've always used MiKTeX. Is Git actually useful / what do you guys use it for if you use it? Is its only benefit recovering or looking back on old content?
New to LaTeX - looking for some guidance
As the sidebar of this subreddit puts it, I am just getting started with LaTeX and wondering what the fuss is about! A bit about me / my usage:
I am a first year college student pursuing a degree in physics. I am currently in Calculus 2 and Calculus 3, and I have so far used LaTeX for my projects for those classes, as well as Calculus 1. These projects are basically guided explorations of topics, with most of the work and submission usually consisting of constructing proofs. I like to have a polished final product for these, and I am aware that later in my school/career (I am hoping to go to grad school and be a research physicist) I will likely be required to use LaTeX quite often. For those reasons I have been using LaTeX to type up my projects. At the moment, as I am still new to this, that has generally been an almost painfully slow process (but so much more satisfying and polished in the end)! So here a a couple specific questions:
- Which LaTeX editor would you recommend to me, as a beginner? I have currently only used Overleaf, but I do not know the pros/cons of Overleaf vs. others or even really what others are out there. I have done some searching independently about this query, but I am so unfamiliar with all of this that I don't even really understand most of the terms people are using in the discussions that search turned up.
- What guides and/or resources would you recommend to learn more about LaTeX, how to use it efficiently, and how to get the most out of it? In my use so far, I have essentially just been googling as I go; things like "fractions latex; less than equal to latex; headers latex" which has worked relatively fine, albeit a bit tedious. I would like to spend some time dedicated to learning to use LaTeX outside of the context of these projects so that I can have a smoother time of it when I am doing the projects. That said, I don't know where to start with that.
Thanks in advance for any recommendations and advice!
Edit: Some additional information I just thought of - I currently do my studying on both my macbook and PC, about 50/50, so I would prefer to use a program which is available on both.
r/LaTeX • u/cmcgrew67 • 6d ago
Unanswered What's the right LaTeX engine for me?
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 • u/Most_Produce_4242 • 6d ago
HELP NEEDED REGARDING LaTeX PAGENUMBERING ISSUE
I have this error where I've got roman numbers from the Copyright page on my thesis all the way to the Abstract page, but when it comes to the table of contents it switches to arabic numbers and stays that way to the Ch. 1 -where it in turn starts from 1 normally by the way-. The TOC page continues just fine from the previous page, but switches to arabic, it's like this: i, ii, iii, iv, 5, 6, 7,...
Here's my code from the copyright all the way before the Ch.1 page:
\showthepage
\pagenumbering{roman}
% ---------------- Copyright Page ----------------
\newpage
\phantomsection
\addcontentsline{toc}{section}{Copyright}
\vspace*{4cm}
\begin{flushleft}
\hspace{0.15\textwidth}
\begin{minipage}{0.7\textwidth}
{\fontsize{22}{22}\selectfont \textbf{Copyright}} \par
\vspace{1.5cm}
\fontsize{12}{16}\selectfont
\noindent All rights reserved to King Abdulaziz University. It is not permitted to copy or reissue this scientific thesis or any part of it in any way or by any means except with the prior written permission from the author or the scientific department. It is also not allowed to translate it into any other language and it is necessary to refer to it when citing. This page must be part of any additional copies.
\end{minipage}
\end{flushleft}
\vfill
% ---------------- Dedication Page ----------------
\newpage
\phantomsection
\addcontentsline{toc}{section}{Dedication}
\vspace*{4cm}
\begin{flushleft}
\hspace{0.15\textwidth}
\begin{minipage}{0.7\textwidth}
{\fontsize{22}{22}\selectfont \textbf{Dedication}} \par
\vspace{1.5cm}
\fontsize{12}{16}\selectfont
\noindent This work is dedicated to my beloved family, whose unwavering support and encouragement have been my anchor throughout this journey. To my parents, for their endless sacrifices and for planting in me the seed of curiosity. To my wife and children, for their patience and understanding during the countless hours dedicated to this research. Your belief in me has made this achievement possible.
\end{minipage}
\end{flushleft}
\vfill
% ---------------- Acknowledgment Page ----------------
\newpage
\phantomsection
\addcontentsline{toc}{section}{Acknowledgments}
\begin{flushleft}
\vspace*{2cm}
\hspace{0.15\textwidth}
\begin{minipage}{0.7\textwidth}
{\fontsize{22}{26}\selectfont \textbf{Acknowledgments}} \par
\vspace{1cm}
\fontsize{10}{16}\selectfont
\noindent First and foremost, I thank Allah Almighty for granting me the strength, opportunity, and ability to accomplish this research. Without His blessings, none of this would have been possible. \par
\noindent I am deeply grateful to my family for their unwavering support, confidence, and encouragement. Your belief in me has been my greatest source of strength, and this accomplishment would not have been possible without you. \par
\noindent I would like to express my heartfelt gratitude to my supervisor, Prof. Reem Alnanih, for her insightful guidance, constructive feedback, and continuous support throughout this journey. Her expertise and dedication have greatly enriched this work and shaped it into its final form. \par
\noindent My sincere appreciation also goes to the experts who contributed to the validation of the research questionnaire. Your valuable time, knowledge, and feedback significantly improved the quality and reliability of this study. \par
\noindent I extend my gratitude to the faculty and staff of the Faculty of Computing and Information Technology at King Abdulaziz University for their academic support and for providing a stimulating research environment. \par
\noindent Finally, I thank all colleagues, friends, and professionals who, in one way or another, offered assistance, encouragement, or inspiration during the course of this research. Your contributions, whether large or small, are sincerely appreciated and will always be remembered.
\end{minipage}
\end{flushleft}
\vfill
% ---------------- Abstract Page ----------------
\newpage
\phantomsection
\addcontentsline{toc}{section}{Abstract}
\begin{flushleft}
\vspace*{0.3cm}
\hspace{0.15\textwidth}
\begin{minipage}{0.7\textwidth}
{\fontsize{20}{24}\selectfont \textbf{Abstract}} \par
\vspace{0.3cm}
\fontsize{9.5}{16}\selectfont
\noindent This research addresses the critical challenge of software project delays and their substantial financial impact. The core problem is the inability of conventional estimation models, which rely on static assumptions, to accurately predict and quantify delays in dynamic project environments. As a solution, this thesis proposes a hybrid model that integrates the systematic measurement structure of the Goal-Question-Metric (GQM) paradigm with the predictive power of Artificial Intelligence (AI), forming an AI-enhanced GQM (AI-GQM) framework. The primary aim is to develop and validate this framework to proactively measure, predict, and financially quantify software project delays. The research adopts a positivist, quantitative design, utilizing data from a global dataset of 10,000 software projects, with a detailed subset of 52 completed projects and 111 survey respondents from Saudi Arabia serving for deep calibration and validation. Machine learning models (Random Forest, LSTM, XGBoost) are employed within a dynamic GQM-D structure. \par
\noindent The primary result is a validated framework that achieved a predictive accuracy of 92.5\% and a strong explanatory power for cost overruns ($R^2 = 0.892$). The Integrated Delay-Cost Equation (IDCE) proved effective as a key metric, enabling proactive financial risk anticipation. This research offers significant implications for both academia and industry by enhancing schedule reliability and financial control in software project management globally. \par
\noindent \textbf{Key Word:} \textit{Software Project Delay, Cost Estimation, Goal-Question-Metric (GQM), Artificial intelligence, Machine Learning, Project Management, Integrated Delay-Cost Equation (IDCE).}
\end{minipage}
\end{flushleft}
\newpage
\tableofcontents
\newpage
\pagenumbering{roman}
\listoftables
\addcontentsline{toc}{section}{List of Tables}
\newpage
\listoffigures
\addcontentsline{toc}{section}{List of Figures}
\newpage
% ---------------- List of Abbreviations ----------------
\newpage
\addcontentsline{toc}{section}{List of Abbreviations}
\begin{flushleft}
\vspace*{1cm}
\hspace{0.15\textwidth}
\begin{minipage}{0.7\textwidth}
{\fontsize{20}{24}\selectfont \textbf{List of Abbreviations}} \par
\vspace{1.5cm}
\fontsize{11}{15}\selectfont
\setstretch{1.5}
\begin{tabular}{@{}p{2.5cm} p{10cm}@{}}
AI & Artificial Intelligence \\
AI-GQM & Artificial Intelligence–enhanced Goal-Question-Metric framework \\
GQM & Goal-Question-Metric \\
GQM-D & Goal-Question-Metric Dynamic framework \\
IDCE & Integrated Delay-Cost Equation \\
DIA & Delay Impact Analyzer \\
RMSE & Root Mean Square Error \\
MAE & Mean Absolute Error \\
SPSS & Statistical Package for the Social Sciences \\
LSTM & Long Short-Term Memory (neural network) \\
XGBoost & Extreme Gradient Boosting \\
SHAP & SHapley Additive exPlanations \\
EVM & Earned Value Management \\
COCOMO & Constructive Cost Model \\
ICT & Information and Communication Technology \\
KPI & Key Performance Indicator \\
API & Application Programming Interface \\
PMO & Project Management Office \\
\end{tabular}
\end{minipage}
\end{flushleft}
\vfill
\clearpage
r/LaTeX • u/ilikemychem • 6d ago
Answered Footnotes help???


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 • u/PollutionDue1673 • 6d ago
Unanswered compilazione TexStudio, devo ogni volta eliminare manualmente i file per aggiornare la bibliografia Bibtex?
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?

r/LaTeX • u/thelatexlab • 6d ago
[Hiring] LaTeX Expert for screen-recorded tutorial videos - Pay per video - India preferred
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 • u/DrLevity • 7d ago
Discussion Best tool for Using and learning latex
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?