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}.
591
questions
0
votes
0
answers
18
views
How do I get auto indentation of text that is after MLA sections?
I'm trying to make an MLA template that can automatically have text that goes after sections be indented .5 inches, but even when I manually indent, nothing works.
\documentclass[12pt, letterpaper]{...
0
votes
1
answer
56
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
44
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....
0
votes
0
answers
20
views
How can I adjust the spacing between the number and the title of each level in TOC to create automatically a nested list?
In this code, I have defined custom sectioning formats using the titlesec package. However, I'm having trouble adjusting the spacing between the section numbers and titles, especially when the section ...
3
votes
2
answers
114
views
Best Practices for Integrating Computer Algebra Systems (CAS) into LaTeX Documents
I am currently working on enhancing my LaTeX documents to involve complex mathematical equations. Managing these equations manually often leads to errors, especially when changing dependent equations ...
1
vote
1
answer
53
views
Getting Date from week number automatically for a specific year
Is there a way to automatically output the date based on the week number?
More precisely: I enter the week number for a specific year and as an output I get the date from Monday to Sunday?
There are ...
0
votes
0
answers
51
views
Custom table of contents for Theorems in LaTeX Document
I'm creating a LaTeX document (on Overleaf) filled with mathematical theorems and proofs. To quickly overview which theorems have been proven, I need a custom table of contents (TOC) that organizes ...
1
vote
1
answer
64
views
Custom .bib file (fields, data types) with different styling (bibliography style)
I have wanted to start quite an ambitious project, namely a custom resume template that can easily be adapted. I want to automate the following:
As such, I thought it would be nice to have a custom ....
2
votes
1
answer
146
views
Cooking Recipe with a timeline
I love cooking large menus whenever we have family or friends visiting us but I tend to struggle with my time management in terms of preparation for different courses.
This is why I thought of ...
0
votes
0
answers
28
views
Autogenerate cwl file from sty using cli in Windows
I want to automatically generate .cwl files anytime the .sty package content changes, without any IDE opened.
I know how to create a folder monitor using FolderChangesView, but I have a problem with ...
0
votes
0
answers
32
views
TikZ: collecting defined coordinates in a list
I want to collect previously defined coordinates in a list and print them later in a \foreach-loop for debugging purposes.
The following MWE shows the list \points which ideally should be defined and ...
0
votes
1
answer
25
views
How to replace section/chapter/subsection depending on the current location? [duplicate]
I would like to refer to the current 'unit' in a section/subsection agnostic way. In other words, I'd like to use \unitname in the following way:
\section{Foo}
In this \unitname...
\subsection{Bar}
In ...
0
votes
1
answer
38
views
Collapsing appendices chapters automatically in Texmaker
I'm wondering if it's possible to collapse automatically the appendices chapters in Texmaker when I open the software.
Example: I'd like to start Texmaker from the state in the second figure belove ...
2
votes
0
answers
40
views
When generating files with docstrip, can I insert the output file name anywhere besides preamble and postamble?
I'm generating source files from a .dtx file using docstrip. I would like the literal file name to be placed in the argument to a \ProvidesFile command.
Right now I'm doing it something like this:
%&...
0
votes
0
answers
125
views
Python from LaTeX: Strange Networkx/Graphviz error
It is hard to give a minimal example, because Python3 with some packages is needed. I want to call Python from LaTeX, here is an example how I want to do it (--shell-escape is needed):
\documentclass[]...