Skip to main content

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}.

0 votes
0 answers
20 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]{...
Felix Maldonado's user avatar
0 votes
1 answer
59 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 ...
Foad's user avatar
  • 983
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....
LaTeXLawyer's user avatar
0 votes
0 answers
21 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 ...
Antonio Maria Di Mauro's user avatar
3 votes
2 answers
120 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 ...
Foad's user avatar
  • 983
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 ...
No Name's user avatar
  • 31
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 ...
Martin Kunze's user avatar
1 vote
1 answer
68 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 ....
Bart Wolleswinkel's user avatar
2 votes
1 answer
148 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 ...
SignPadDeck's user avatar
0 votes
0 answers
31 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 ...
logocar3's user avatar
  • 131
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 ...
kaat0's user avatar
  • 1
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 ...
marmistrz's user avatar
  • 489
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 ...
Gennaro Arguzzi's user avatar
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: %&...
Matthew Leingang's user avatar
0 votes
0 answers
127 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[]...
Titanlord's user avatar
  • 541
5 votes
2 answers
116 views

Writing a tex package for better auto brackets

The automatic brackets sizing provided by \left ... \right really often produces too large brackets. I want some package that for a given formula finds the right bracket size selected from \big, \Big, ...
Nicolas's user avatar
  • 161
3 votes
1 answer
97 views

Automated labelling and references in enumerate list

I am preparing a syllabus book containing a number of courses. For each course, I have an enumerated list of course objectives. Then I have units/modules under the course that addresses those ...
Subhajit Paul's user avatar
5 votes
2 answers
351 views

Generate the hyphenation of a given list of words

I'm new to LaTeX; is there a way to tell the TeX engine to generate the hyphenation of a given list of words as a text output file? For example: abdomen abduction aberrance ... What I want is ...
giofrida's user avatar
0 votes
0 answers
55 views

How do I make the brackets $\{\}$ appear automatically in a function that I personally defined?

I'm currently writing a big paper and I defined a lot of function to save time, most function are in the math mode (I don't really know if that's important). My question, that while using overleaf, ...
HitMan01's user avatar
1 vote
1 answer
69 views

Enumerate Environment with Item Numbers in Left Margin and Item Textwidth = Page Textwidth

MWE--- \documentclass[12pt]{book} \usepackage{enumitem,lipsum} \begin{document} \thispagestyle{empty} \lipsum[3] \begin{enumerate}[wide,labelwidth=6pt,labelindent=-15pt] \item \lipsum[13] \item \...
DDS's user avatar
  • 9,768
0 votes
0 answers
159 views

Automated BFS drawing with Lua

I tried to learn Lua with TeX. To do so, I tried to implement BFS in such a way, that it can automatically create Tikz pictures. Here is a short example of what I did: \documentclass{article} \...
Titanlord's user avatar
  • 541
3 votes
1 answer
803 views

Automated Dijkstra Visualization

I want to visualize the Dijkstra algorithm for finding the shortest path. I am inspired by this post. Sadly, I am way too bad at LaTeX. My initial idea was doing it with LuaLaTeX using Lua and I was ...
Titanlord's user avatar
  • 541
1 vote
0 answers
178 views

Automatically detect acronyms without \ac or \gls around them

My Situation: I am using glossaries package to manage my acronyms. They are all neatly defined in one file with a list generated automatically. But I have to confess: I was very inconsistent in using \...
Paul Smith's user avatar
6 votes
3 answers
556 views

Automatically Display the First Word of Every Quotation in Small Caps

Consider the code \documentclass[12pt]{book} \usepackage[T1]{fontenc} %\usepackage[sfdefault]{cabin} \newcommand{\longemdash}{{\fontfamily{cmss}\selectfont---}} \newcommand{\emdash}{\nobreak---\...
DDS's user avatar
  • 9,768
3 votes
0 answers
52 views

Numerical precision issues within PFGplotstable

I am creating a table which automatically generates outputs of various quantities of interest for compressible flow. The first column contains Mach numbers, which are used to calculate the quantities ...
aeroben's user avatar
  • 31
0 votes
1 answer
89 views

Cross out a transition of automaton

I have the following automaton. \begin{tikzpicture}[>=latex, >=stealth', auto, node distance=0.5cm and 1.5cm, semithick, initial text=] \node[state, initial] (q0) {$q_{0}$}; \node[state] (...
McDuck's user avatar
  • 63
0 votes
1 answer
36 views

Automatically customizing the front cover of different memoirs

I need to create several memoirs with the same format. For each document I want to customize several features of the front cover, for example the background color. I'm trying to automate the ...
Tonechas's user avatar
  • 976
1 vote
1 answer
164 views

postscript hyperlink url auto-open

I'm trying to add a hyperlink to a PDF by modifying the PostScript. Any possible to open this action link automated or opening postscript or pdf. it will be executed the link. [/Rect [ 0 425 295 445 ] ...
alex's user avatar
  • 11
2 votes
2 answers
129 views

How to draw a border around a subset of nodes?

I need diagrams like this: I've automated the "black" part but could not figure out how to do it with the red border; my current version is this: Here are latex ""code""...
Yang's user avatar
  • 23
4 votes
1 answer
164 views

Auto-capitalise lone "i" in LaTeX

Is there a package or pre-amble command which would auto-capitalise all lone 'i's within the text of a LaTeX document (i use overleaf to compile)? I find it easier to write text without manually ...
Robert Sandler's user avatar

15 30 50 per page
1
2 3 4 5
20