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}.
65
questions with no upvoted or accepted answers
12
votes
0
answers
414
views
Tags, like on TeX.SE, but with the ability to show or hide both the tag--document structure and associated text, as in the multiaudience package
The term "tags" can be understood to mean that which is used to organize and make text more understandable (as in TeX.SE).
The term "tags" can also be understood as something used to manipulate the ...
8
votes
0
answers
828
views
Querying a SharePoint list and typesetting the response with LuaLaTeX
I would like to generate some reports from data stored in SharePoint lists. It is possible to query the lists using web services and retrieve the data in a xml data format.
For example, sending a ...
6
votes
0
answers
347
views
Is there a TeX-native way to generate a readable graph from an adjacency matrix?
related questions
This question goes the opposite way from the conversion I would like: Matrix from graph description
This question is almost what I want, but the vertex coordinates are manually ...
5
votes
0
answers
3k
views
Is there a way to make latexmk automatically switch between pdflatex and xelatex?
Assume I have some projects to be compiled with pdflatex, some with xelatex. For now I'm just passing an appropriate key to latexmk command in console, e.g.
latexmk -pdf ToBeCompiledWithPdflatex.tex
...
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 ...
3
votes
0
answers
47
views
List of all lemma in a book to be listed at the end of Book/Document
I am writing a book in latex in memoir class. The book is divided chapter wise and contains definition, lemma, theorems. Can the process of collecting all lemma at the end of the book be automated as ...
3
votes
0
answers
111
views
ConTeXt: Automatically insert a command under certain conditions
This is a follow-up to https://tex.stackexchange.com/a/499481/124577. That answer works great (manually as well as automated), but the author noted in terms of automatization "don't use it".
So, ...
3
votes
0
answers
129
views
arara: load a local batch script or transform the batch script to an own rule
My question is similar to the one here, however it has a little different focus. I am working under Windows using MikTeX 2.9.
I do have several latex projects which are part of a tool documentation. ...
3
votes
0
answers
314
views
Plotting data lines properly annotated with pgfplots
I am plotting a series of rather busy plots consisting of many (5..25) lines of experimental data using pgfplots 1.14 and TikZ 3.0.1a. These curves are often overlapping, coexist near x or y axis, and ...
3
votes
0
answers
60
views
Auto images height to get specified number of pages. Is it possible with LaTeX?
I am a very beginner in LaTeX, and need to know if it is possible to do next.
There is a book, consisting of text and photos, going one by one. Questions:
Is it possible in LaTeX to make images ...
3
votes
0
answers
2k
views
different text alignment on even/odd pages (like raggedouter but for text)
For a poetry book I would like to typeset all text on even pages \raggedleft and all text on odd pages \raggedright, including headings. Poems can span across multiple pages, so the change of text ...
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:
%&...
2
votes
0
answers
233
views
Polynomial long division with complex numbers
I heard of the polynom LaTeX package, which can be used to do polynomial long division in LaTeX documents; I have even used it myself before for normal polynomials with real coefficients.
However, now ...
2
votes
0
answers
28
views
Margin when using auto-scaling of parenthesis: Is there a better way than adjusting for it with "\!"?
Whenever I need larger parenthesis I use \left( \right) which automatically adjusts the size as needed. I know that the optimum would be to always manually choose from \big, \bigg, \Big, ... but for ...
2
votes
0
answers
64
views
Custom command for multiple boxplots
I have to include a lot of boxplots in my document and would like to automate this with a custom command. I'd like to be able to write something like this:
\boxplots[
range={1,2,3,4,5},
questions=...