Questions tagged [automation]
{automation} is about automating certain tasks when creating a (La)TeX document, e.g., with the help of {packages}, custom {macros} or {tools} for {compiling}.
603 questions
0 votes
0 answers
26 views
Automatic sorting of symbols (Greek/Latin), indices, and abbreviations in the nomenclature with duplicate check
I’m currently setting up the Nomenclature section in my LaTeX document. Right now, I manually create tables for Latin and Greek symbols, indices, and abbreviations. However, I’d like to automate this. ...
0 votes
2 answers
83 views
automatic checking for input in a .tex file
I need to get a automatic checking if a .tex file has input or not. Now there is always the page with "Anhang" and the page "Anhangsverzeichnis" after compiling the project, also ...
2 votes
1 answer
85 views
Macro for automating marking table in exam.class
We make exams using the exam-class. Sometimes we want to generate a scoretable (not \gradetable) on which we (and the students) can mark the scores achieved for each question and part. At the moment ...
2 votes
1 answer
73 views
How to programatically create macros inside an environment and make them globally accessible?
Consider the following: A custom environment is used to format text. The text data is provided in form of macros, which not only typeset the text, but also create a new macro containing the text ...
2 votes
2 answers
155 views
Fit text on TWO pages by varying font size automatically
I have a section of a document where I just want to print a very long paragraph of continuous text onto two pages in whatever size of font will allow this cleanly, filling both pages. I came across ...
1 vote
0 answers
83 views
Automatically export pdf from overleaf [closed]
I have a large project in overleaf with multiple contributors, and it is connected to git. However, we have not found a way to have an automatic update to the pdf (stored in a Teams channel -- not ...
4 votes
5 answers
325 views
Command that cycles through multiple colors for question boxes [in loop]
I have defined five different colored question boxes using tcolorbox in LaTeX: orange, red, pink, green, and yellow. Currently, I have separate commands for each color (e.g., \questa, \questb, etc.). ...
0 votes
0 answers
162 views
Looking for a Workflow to Hand-Draw Annotations and Embed Them Back into LaTeX
Typing math formulas in LaTeX is now much faster thanks to AI tools like Copilot in VSCode. But when it comes to drawing figures—like diagrams or handwritten notes—it’s still way slower than just ...
3 votes
1 answer
64 views
Generate many separate tex files that contain 2 tables
This code does not generate tex files. \documentclass{article} \usepackage{filecontents} \usepackage{pgffor} % Add this line % Define how many files to generate \newcommand{\numfiles}{3} % Change ...
4 votes
1 answer
542 views
what would I need to build an AI agent to write good latex documents? [closed]
I am initially thinking that I need the documentation and then the documentation of all packages. But here I am asking anyway. Being ambitious enough, I want an agent who I can ask to compare 'similar'...
0 votes
1 answer
282 views
Using LaTeX to Automate Table Creation from Excel
I have several hundred tables to create. I started doing this in Word, but unfortunately, Word gets very bogged down with the number of tables. I thought that perhaps I could create a template in ...
0 votes
2 answers
123 views
How to automatically track all command/environment and its argument types used in the document?
I am currently working on a project where I need to track every command (including primitive, user-defined, and environment commands) in any given TeX documents, along with the number and types of ...
0 votes
0 answers
56 views
Automate highlighting each node one at a time using argument
I have an outline slide in a beamer I want to highlight each box in, one by one. I am currently moving the fill=blue!20 argument around between nodes every time I start a new section but would prefer ...
0 votes
1 answer
172 views
Compilation error: Input index file not found, and biber failed
I am trying to compile a LaTeX document using a Windows batch file that includes creating an index and glossary. However, I encounter the following error messages: Compiling test.tex... Input index ...
0 votes
1 answer
89 views
Help with automatic text formatting in class files!
I'm relatively new to LaTeX (within a year or so). I found an attempt at a legal document file online, and have been modifying it to work as I'd like, and attempting to change the functionality around....