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

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 ...
A Feldman's user avatar
  • 3,955
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 ...
Martin Heller's user avatar
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 ...
bright-star's user avatar
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 ...
andselisk's user avatar
  • 2,675
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
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 ...
nichas's user avatar
  • 771
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, ...
TeXnician's user avatar
  • 33.7k
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. ...
raedma's user avatar
  • 1,794
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 ...
andselisk's user avatar
  • 2,675
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 ...
Ladomyr's user avatar
  • 73
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 ...
Matthias's user avatar
  • 145
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
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 ...
Benjamijn Flanze's user avatar
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 ...
Richard's user avatar
  • 210
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=...
Hans's user avatar
  • 21

15 30 50 per page
1
2 3 4 5