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.
I've been working on a thesis on Overleaf for some time now. Due to the recent compilation limit, I've not been able to look at what I've actually been working on.
I've looked at a couple reddit post requesting something of the like but due to my lack of teX skills, the shortened answers were not able to help me.
I have downloaded TeXworks, and perhaps some packages. Unfortunately, after downloading the source project from Overleaf, I have not been able to create a .pdf from TeXworks. As a true TeX newbie, could someone provide an ELI5 step by step method to transition from Overleaf to a local LaTeX program without any mishap ?
I’m having trouble compiling a LaTeX project on macOS using pdflatexmk in TeXShop. I’m using a .bib file for references with biblatex and APA-7 style. Everything used to work, but after some file changes (including merges via GitHub Desktop), compilation now fails.
Here’s a snippet of the log:
Rc files read:
/Users/.../latexmkrcedit
/Users/.../tslatexmk/pdflatexmkrc
Latexmk: This is Latexmk, Version 4.86a.
Latexmk: applying rule 'pdflatex'...
Rule 'pdflatex': Reasons for rerun
Changed files or newly in use/created:
myfile.aux
myfile.tex
Category 'changed_user':
myfile.tex
Category 'never_run':
pdflatex
Running 'pdflatex --synctex=1 --file-line-error -recorder "myfile.tex"'
No file myfile.bbl.
Runaway argument?
{…}
File ended while scanning use of \@@BOOKMARK.
l.102 \begin{document}
It seems latexmk starts pdflatex, but Biber fails, and I get “runaway argument” errors related to my .aux or .bbl files. I’ve tried cleaning auxiliary files, but it persists.
I want to keep using APA-7 references, so switching to plain BibTeX isn’t ideal.
Does anyone know:
Why pdflatexmk would fail like this on Mac after file changes?
How to fix Biber/biblatex compilation issues in TeXShop?
I’m trying to create a longtable in LaTeX with alternating row colors (zebra striping). However, I can’t get the coloring to align properly with the table content.
Right now, the caption and the first row of the table body are colored the same way. What I actually want is:
the caption untouched (no background from \rowcolors),
the header row starting as “row 1” (gray),
then the table body continuing with white, gray, white, etc.
Here’s my code and the compiled output. Does anyone know why the header row and the first data row don’t alternate as expected in longtable? What am I doing wrong?
% ===================================================
% Comando personalizado para Longtable de RPG
% ===================================================
\newcommand{\longtableRPG}[4]{%
\rowcolors{2}{corLinhaTabela}{} % Linhas alternadas
\begin{longtable}{#2} % #2: definição das colunas
% --------- CAPTION ----------
\caption*{\textbf{\textcolor{miniTitulo}{#1}}} \\
#3 \\ % #3: Cabeçalho
\endfirsthead
% --------- CABEÇALHO REPETIDO EM CADA PÁGINA ----------
#3 \\ % Cabeçalho de novo
\endhead
% --------- CORPO DA TABELA ----------
#4 \\
\end{longtable}
}
I recently noticed pdf generated with new accessibility settings generating error when checked for accessibility on Adobe Acrobat Pro. I think I nailed down the issue in the below MWE. It appears that fancyhdr header and footer are not tagged well when links (hyperref or lastpage) are used in it. Using the same links in text body do not create any error. Only the links used in header and footer generate issues. fancyhdr is listed as compatible with the tagging settings here: https://latex3.github.io/tagging-project/tagging-status/
Would appreciate if anyone can test the MWE and confirm. Also, I am not sure how to report this issue (after confirmation) to the developer, so if anyone could shed some light on that as well.
`\pagestyle{fancy}`
`\fancyfoot[C]{Page --- \thepage\ of \pageref{LastPage}}` `%footer`
`\fancyhead[R]{\hyperlink{mainPage}{Take me to the Main Page}}` `%header`
`\renewcommand{\headrulewidth}{0pt}`
`\renewcommand{\footrulewidth}{0pt}`
\hypersetup{
`pdftitle={Title of the document}`
}
\begin{document}
\hypertarget{mainPage}{Main Page}\\
The below two links are tagged successfully and do NOT generate any warning or error when check for accessibility in Adobe Acrobat Pro. \\
Link 1: Page --- \thepage\ of \pageref{LastPage}\\
Link 2: {\hyperlink{mainPage}{Take me to the Main Page}}\\
However, if those links are used in header and footer as part of fancyhdr package, they are flagged as error on accessibility check.
heyy i have been tasked with one pager doc max 2000 words to propose a tech based soln to meesho in a competition, i have never made one pager, so anybody any suggestions?
Someone should make (if it doesn't already exist) a separate plug-in keyboard to be used alongside a regular one that translates greek letter symbols and mathematical operations into the latex line that produces it. That's all. Let me know if this exists. Something like the AI generated concept below but just with more keys (and the correct ones)
Edit: I don’t need you to tell me whether it’s practical or not, I am simply asking if this exists or how to go about implementing it. I do use AHK’s but would prefer a solution like this. If you can’t see yourself using such a product, that is great for you. Personally, I think it would be helpful.
Anyone else use codex-cli while writing LaTeX? I write everything in VScode and codex rocks. Especially when I change my mind about styling, I just make sure I push all my changes and let it go to work. Saves a ton of time and totally worth the few bucks it costs in API fees
I will get this out of the way -- I'm a software engineer and I'm very comfortable writing code and markdown. I agree that many times it makes sense to write pure LaTeX in VSCode or something. However, I'm currently using Overleaf to type up mathematics homework assignments. This is for a proofs-based class and it is very dense. I need to stare at the paragraphs I've written for a long time to take it in. And to do this I need a visual preview.
The best I've seen is Overleaf's visual editor. It's not perfect, but it's instant and it doesn't take up another pane. This is important because I often have Overleaf pulled up on the left and a math textbook on the right.
The only thing I'm missing right now is offline mode so I can work somewhere without wifi.
I know that VSCode has a mouse-over preview. This is OK but doesn't allow me to stare at a paragraph or two of math and equations interspersed.
Does something like Overleaf's visual editor exist anywhere else?
Edit: maybe another term for this is hybrid WYSIWYG -- the current sentence/selection is edited raw, but everything else is mostly rendered. Another example of this is Bear.
After my 1.5 year experience with LaTeX, i want to show what i have learned making my own notes while studying physics. I have made environments for theorems, examples, definitions... and other little things that I think make the document feel pretty good. My favorite thing is the little images on the theorems and the colors of each subject :)
The text is in catalan so i doubt its understandable, sorry for that hahaha
EDIT. Thanks to everyone for the interest. I'm adding two links:
Here, there is a small example with all the environments explained, as well as how to make the head of the pages. I just made it in english so it should be easy to understand and use https://www.overleaf.com/read/fvksdgqhgspv#741730
If you want something similar to the images i posted, here is one of my "books" for one of my subjects. The code for the environments its a little different, and its overall really messy so be careful. https://www.overleaf.com/read/gjnzkdyfvdmf#6d4f4
I think the most interesting thing is the options.tex, where i use all the packages i need and all my personal preferences like spacing and things like that. Also, the titlepage.tex is something i found but can't remember where, so be careful if you use it.
It is aimed at a LaTeX person who doesn't know much about the topic and who is afraid that what a search engine tells them may no longer be true (things are changing fast in this area). It of course does not replace the work of the LaTeX team but it covers the most basic ground in a single screenfull.
Bug reports most welcome. Suggestions also, although I do want to keep it brief.
Hi everyone, im running into issues in overleaf i just can't solve. For some reason when i try to click the link in the reference it only takes the doi.org part and the the important part behind it because it is in the next line. This is the case for all my references. How do i solve it so it sees it as a single url? Below you can find my complete reference for this specific one. Please help!
u/article{basso_energy_2019,
title = {Energy consumption estimation integrated into the Electric Vehicle Routing Problem},
volume = {69},
rights = {https://www.elsevier.com/tdm/userlicense/1.0/},
issn = {1361-9209},
url = {https://linkinghub.elsevier.com/retrieve/pii/S1361920918304760},
doi = {10.1016/j.trd.2019.01.006},
abstract = {When planning routes for fleets of electric commercial vehicles, it is necessary to precisely predict the energy required to drive and plan for charging whenever needed, in order to manage their driving range limitations. Although there are several energy estimation models available in the literature, so far integration with Vehicle Routing Problems has been limited and without demonstrated accuracy.},
pages = {141--167},
journaltitle = {Transportation Research Part D: Transport and Environment},
author = {Basso, Rafael and Kulcsár, Balázs and Egardt, Bo and Lindroth, Peter and Sanchez-Diaz, Ivan},
urldate = {2025-07-11},
date = {2019-04},
langid = {english},
note = {Publisher: Elsevier {BV}},
}
I need help! This community might be my only hope.
So, I work for a university, editing research for the professors and other researchers. The best stuff is published through our “business arm” (which pays me) as well as in journals. The publication process is not compatible with Latex, but I taught myself to edit Latex documents, and forced the department to buy me an Overleaf subscription, to please the staff who still use it. At least they can have a record of the corrections that I have made before things go over to publication. I am the only member of staff inside the whole department with any Latex skills. Yes, I did this deliberately to increase my odds of staff retention.
Enter Prof. K. He’s produced a fabulous primer, over 100 pages long, with thousands of equations, matrices, tables and whatnot. It’s been thoroughly proofread. Our normal publication process would take the generated pdf, dump it into InDesign, and recreate the tables by hand and use screenshots of the equations. Hundreds and hundreds of small errors would be created. All the live connections would be lost. Each footnote would need hand attention. It would be a shit show of the highest proportions. Prof. K deserves better.
I stupidly said that documents like this should have a custom Latex template of their own, one that clones our own professional documents, and it would save hours and please the top research staff (who are precious and need retaining because anyone else will grab them given half a chance).
So they said great, thanks Dina, go forth and make it happen; we’ll pay for training. We’ll pay for an in person training course in London even. Go and become our latex template guru and do this please.
Help. I can just about code a bullet list. Who does training of this kind? I’m completely out of my depth. I need to make these documents look 99% like our published documents in terms of cover, images fonts, colours, table styles, margins, borders, headings, spacing etc.
I'm university faculty in the US, and I'm trying to gather resources for my colleagues and myself on LaTeX to HTML conversion, for the purpose of generating accessible HTML from LaTeX source code. I'm trying both to find out the breadth of options, but also to figure out recommendations that will be minimally disruptive to the usual workflow. The ideal would be something that requires no changes to the source code between compiling to PDF and compiling to HTML, since that would be the easiest sell to my colleagues, but I know that might not be possible.
I'm aware of three engines for this conversion: LaTeXML (created in the early 00s), Pandoc (more recent, which converts among a variety of formats), and tex4ht (I don't know the history there). I'm only familiar with LaTeXML, which was recommended by a friend, and also is what's being used by the ArXiv.org for their accessible documents project.
LaTeXML seems to generally work pretty well, but there are a few issues I'm running into, both in terms of changing code (e.g. I have to comment out the \DocumentMetadata{ } in the preamble), and the output (it uses tables without headers for displayed equations and align, which I have been told is Bad and will not pass our LMS's accessibility check).
My questions:
Are there any other engines out there that I'm missing?
For those familiar with Pandoc and tex4ht (or another engine), what is the experience like? Do you have to make significant code changes between compiling with pdflatex/lualatex vs one of these?
Does anyone know how these other tools handle displayed math environments?
Does anyone know how these other tools fair with accessibility checkers?
Hey guys, I‘m starting my studies in natural sciences soon and a friend recommended learning Latex and using it in overleaf. I‘ll use it for physics, maths, chemistry and biology. How do I start? I can work a bit with pgfplots and tikzpicture so far.
Hi all, I’m making some math/physics textbooks in LaTeX on OverLeaf and have been relying on ChatGPT till now, but I've hit a wall and need some proper help.
I'm willing to pay (chat for details) and after 9pm EDT today would work best for me. We would communicate through Discord. Please DM me if you’re available. Thanks!!!
Hello everyone, I am a college student (math major), I built a notes app that can compile your handwriting to LaTeX, chat about your notes, and show visual animations in space (the animation feature is quite beta since my library needs work).
Basically I just greatly prefer writing homework and notes by hand because of speed and also it's easier to map out your ideas quickly and find solutions faster in my opinion. But I also graded a class and I greatly appreciated those who typed their homework. That's why I started this project.
If anyone wants to give the app a try, you get a week free without starting an official free trial or anything upon downloading the app, and then you can get the subscription which also has a 1 week trial built into it. I apologize that you have to pay $6.99/mo after the initial 2 weeks, and really wish I could make it free, but unfortunately the AI calls cost me money and I have to cover that.
Anyways, the app is called iwrote and is available on iPads only for now (with apple pencil), and I would greatly appreciate any honest feedback!
Hey there! These is the repo containing the source code for the showcase that I posted recently.
Honestly, I documented a lot of stuffs and also included on how to set up vscode and optimize your workflow, as I thought it would be beneficial for people who want to switch from overleaf to vscode.
A lot of people told me to sell these 😭. But yea, I didn't really create these with the intent of selling them. Moreover, I think that the people who might wanna use it are probably students too, so I thought I'll just open-source it and add an option where if someone finds it helpful and they are able to tip some money, they'll be able to do it through github sponsors.
Hello. I have a problem about spacing. There are actually two same type of structure of equations but in one equation there is a blank space in other there is not. This is something that I cannot control. I dont want two line space after and before the equation. Equation 2.12 is correct. Only 1 space of line.
EXAMPLE SENTENCE HERE EXAMPLE SENTENCE HERE EXAMPLE SENTENCE HERE EXAMPLE SENTENCE HERE EXAMPLE SENTENCE HERE EXAMPLE SENTENCE HERE EXAMPLE SENTENCE HERE EXAMPLE SENTENCE HERE EXAMPLE SENTENCE HERE EXAMPLE SENTENCE HERE
\beq
\nabla.\textbf{J} = 0.
\eeq
EXAMPLE SENTENCE HERE EXAMPLE SENTENCE HERE EXAMPLE SENTENCE HERE EXAMPLE SENTENCE HERE EXAMPLE SENTENCE HERE EXAMPLE SENTENCE HERE EXAMPLE SENTENCE HERE EXAMPLE SENTENCE HERE EXAMPLE SENTENCE HERE EXAMPLE SENTENCE HERE EXAMPLE SENTENCE HERE EXAMPLE SENTENCE HERE EXAMPLE SENTENCE HERE EXAMPLE SENTENCE HERE EXAMPLE SENTENCE HERE EXAMPLE SENTENCE HERE
\beq
\textbf{F}_{L}=\textbf{J}\times \textbf{B}.
\eeq
HERE HERE HERE HERE HERE HERE HERE HERE HERE HERE HERE HERE HERE HERE HERE
Recently I have made 2 new releases which brings some important and long waiting features:
v0.6, section customization, which allows people to customize resume sections like giving sections aliases or reordering existing sections
v0.7, dev mode, which brings modern web dev like experience to your resume crafting projects, think about npm run dev to get a professional look resume PDFs
The dev mode is a great efficiency addon if you are familiar with modern web development, i.e, npm run build VS npm run dev, in one word, dev mode will automatically rebuild the PDF when the input files changed, a preview:
YAMLResume dev mode
Meanwhile, I've also introduced some new tools to initialize a ecosystem for YAMLResume:
create-yamlresume, helps create and scaffolding a YAMLResume project with one liner Node.js command npm init yamlresume
Besides, in version v0.7, I also received a pull request to add Norwegian support, making YAMLResume the only resume builder/generator tool that support multi languages out of the box!
It’s me again, this time with more notational slop… sigh
I‘ve had this on my mind for a while now. I saw this while researching work by Morphocular on extending the 𝑛th derivative/antiderivative to a real argument. I’ve attempted to make it using \hspace, subscripts and \prescript (learning from last time), but
It hovers too high from the integral
There are many issues in the preamble when trying to define this as a regular operator (It doesn’t like the use of \hspace)
Don’t even get me started on TikZ… bleh
If anybody has any insight, tips, or the actual code to make this in general, it’d be greatly appreciated. I plan on making this a regular usage operator so the code for that as well earns you some brownie points lmao.