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

learn more… | top users | synonyms

11
votes
0answers
100 views

Text collage (word cloud) in LaTeX? [duplicate]

There are some automatic method (package, class, macro) in LaTeX to do a text collage similar to that showed in the image? If not, is would be possible without too much manual work?. The ...
2
votes
0answers
74 views

Create all queries in separate file like \listoffigure

I would like to print all the queries collect from the article and need to print in article opener page. How do achieve this? My MWE: \documentclass{threecolumn} \begin{document} \jnltype{37} ...
5
votes
1answer
136 views

Author firstname, Initials and Lastname values find and store in LaTeX3

I would like to store each authors firstname, initials and lastname values in newcommands. My MWE is: \documentclass{article} \usepackage{xparse} \makeatletter \def\author#1{\gdef\@author{#1} ...
1
vote
1answer
77 views

Where is the auto correction in TeXnicCenter

I was looking for the auto correction in TeXniCenter, and found a ticket from 2009 here: http://sourceforge.net/p/texniccenter/user-reports/1066/ Tino Weinkauf said: "It is already in our feature ...
1
vote
1answer
72 views

How can I automatically change the font qualities of the first few words of a chapter?

First off, TeX knows about words (since it does different spacing for inter-letter, inter-word, and inter-sentence. There must be a way to tap into this. As for the Q, what I mean is emulating the ...
12
votes
3answers
336 views

Draw Polygonal Number Using PSTricks (or TikZ)

I would like to draw the following using PSTricks (or TikZ): (Found on http://i1.wp.com/mathandmultimedia.com/wp-content/uploads/2012/08/polygonal-numbers.png.) I can do it myself using an ...
4
votes
1answer
156 views

Automatic command insertion for successive capital letters

I work in a field with heavy use of acronyms. To make my documents visually more appealing, I like to use a moderate downscaling of the capital letters. \documentclass{article} ...
6
votes
1answer
189 views

How is automatic indentation done for subfiles with arara and latexindent?

I guess that I have overlooked something, but I can't find a solution to run arara on my subfiles when processing my main file. I would like to autoindent my code but only succeed for the main.tex. I ...
1
vote
1answer
157 views

Automatic vertical alignment of multirow cells

I have this MWE \documentclass{article} \usepackage{multirow} \usepackage{bigstrut} \setlength{\bigstrutjot}{2pt} % height added by \bigstrut \usepackage{tabu} \tabulinesep=1.5pt % ensures some ...
3
votes
1answer
339 views

TikZ: labeling a small arc

How can I automate labeling a small arc? \documentclass[tikz, convert = false]{standalone} \begin{document} \begin{tikzpicture} \draw (0, 0) arc[radius = .25cm, start angle = 0, end angle = 30]; ...
10
votes
1answer
167 views

Adding a dictionary definition

Does anyone know of a package that supports dictionary definitions? I was thinking of something like this: Source: Luscombe et al (2001), Yearbook of Medical Informatics. A) the easiest would ...
5
votes
0answers
110 views

Automating Error Detection of pfdlatex

Background: I have numerous individual files that need to be compiled, so am using a script to do that with the following options: set PDFLATEX_OPTIONS = "\ --file-line-error \ ...
5
votes
1answer
390 views

How to draw rectangle edge label in tikz?

I want to draw something like this. How to get that rectangle edge label? This is the MWE. \documentclass{article} \usepackage{tikz} \usepackage[margin=15mm]{geometry} \usepackage{calc} ...
2
votes
1answer
301 views

How to draw bigger circular states and multiple transitions in automata?

I want to draw something like this. I have three difficulties: How to draw bigger circular states and dashed circular state? How to draw multiple arrows between states? (Ex. In the state "App ...
2
votes
1answer
752 views

How can I do the 'latex bibtex latex latex' compiling using Windows without the command line? [duplicate]

I'm using LaTeX and JabRef on Windows. I set up my bibliography database and cited references in my LaTeX document. However, I do not know how to use the command line on Windows to do the 'latex ...
21
votes
0answers
380 views

Documenting on code revisions

I have made modifications to a few files of a C++ program. I would like to document on these changes in a nice LaTeX report, by showing exactly what I modified and explaining why I did so. Since ...
1
vote
0answers
124 views

How do I Auto-Label Hyperref Fillable Forms \TextField?

Is there any way to put an automatic label into the hyperref package's \TextField parameters field like this: \newcounter{lexemeCounter} ...
3
votes
1answer
1k views

Quick Build commands in WinEdt

I recently switched from TeXMaker to WinEdt. In TeXMaker I was used to customize my 'Quick Build' command in the 'Configure TeXMaker' dialog. In that dialog I was able to choose, for example: ...
3
votes
1answer
155 views

Robust processing of autogenerated LaTeX files that contain many errors

I use knitr to generate pretty reports, with pdflatex as backend. Everything works fine if the R code runs without error. However, if the R code fails, the autogenerated file is sometimes invalid in ...
0
votes
1answer
190 views

Intelligent way to autoref / label enumerations

I want to automatically label and reference a enumeration of functional requirements. The labeling works, but I can't reference the list items via \ref{REQ1} etc. ...
10
votes
2answers
293 views

How to create commands for automating the commenting process on some zones of a picture

I have a lot of comments to make on different pictures, I can do it with the following command for ex: \begin{tikzpicture} \node[anchor=south west,inner sep=0] (image) at (0,0) ...
1
vote
1answer
237 views

Automatic report generation

I am trying to automatically create a curriculum vitae (or any other document if one would prefer) from a datafile that holds all values/entries. Here are my individual files that go into this ...
1
vote
1answer
193 views

Automate Controls for Curves

I am looking to automate (simplify) the path drawn in blue on my MWE. I am trying to avoid nodes if possible as this is nested in a tikzpicture. Ideally I was hoping to simply specify the begin and ...
6
votes
2answers
368 views

Expand command read from file

I have a file, that contains a list of latex commands each command per line. Now I want to read this file line per line and execute/expand the macros automatically. I tried the following but this only ...
8
votes
1answer
495 views

Automated generation of equation key

I am looking for a way to automatically create the legend for an equation (let's say embedded in the align environment). What I'm currently using is a semi automated to fully manual way. Let me ...
7
votes
2answers
89 views

Setting an “attribute” for Theorem to be accessed later

I am writing a math paper with a large number of theorems. I'm looking to have a table summarizing my results, and I'd love it if the table could be generated automatically from my paper. I' looking ...
4
votes
1answer
60 views

Specify number of columns in brqalign

Some time ago David Carlisle wrote an awesome brqalign function in this answer: http://tex.stackexchange.com/a/51543/4011. See the cited code below. How to modify the brqalign environment such that ...
24
votes
4answers
601 views

Smart parentheses?

Is there a way of smartly nesting parentheses and square brackets (in text mode), so that LaTeX detects nesting relations and typesets them accordingly? I'm thinking in something like csquotes does ...
4
votes
3answers
82 views

Automatically construct image file name

I have a lot of images numbered like so: image_0001.png image_0002.png image_0003.png ... I would like to set up a Latex command to include a specific numbered image, for example: ...
3
votes
1answer
214 views

Automatic arrangement of equations with comments

This question led to a new package: conteq I am writing a paper with multiple chains of equations or inequalities, with optional explanations. Depending on the size of the equations, I use one ...
4
votes
2answers
676 views

Implementing a way to show data structures in LaTeX

Is there a way to implement data structures in LaTeX? I am currently taking two classes that require large numbers of heaps (min,max) and queues (FIFO,LIFO) and the like to be drawn after inserting ...
7
votes
1answer
198 views

Incompatibilities with and alternatives to nath

I just discovered the existence of nath to auto-size mathematical expressions. But I also read that it has many incompatibilities and it also doesn't seem to be maintained anymore (last update was ...
2
votes
1answer
64 views

System: XeLaTeX, Circumstance: Automation, PROBLEM: error message “missing \item”

I am currently generating PDF's with variable contents from a template I made. Data is fetched from a database and used to create reports. This has been working greatly until recently I needed to ...
0
votes
2answers
122 views

How can i create multiple documents from one template - depending on special “variables”?

I am currently trying to set up a document template that allows for automated creation of different output files depending on a certain "input". The "input" could be a variable or a certain kind of ...
9
votes
1answer
625 views

Automatic calculation of error in pgfplots

When taking in data through a file (such as table[x index=0, y index=1, y error index=2]{plots/mydata.table};) is it possible to automatically calculate the error bars (instead of putting them in ...
7
votes
1answer
2k views

TeXstudio: how to automate LaTeX biber sequence of compilation

I'm a bit confused about how to configure TeXstudio to use biber. It's not that I can't find a way, I'm just wondering what is the intended way, i.e. coming from WinEdt I'm used to that "Build" or ...
3
votes
1answer
67 views

Add space in `brqalign`

Some time ago David Carlisle wrote an awesome brqalign function in this answer: http://tex.stackexchange.com/a/51543/4011. See the cited code below. How can I add space between the rows of brqalign? ...
4
votes
1answer
111 views

How can I enable non-standard characters such as blanks or german Umlaute (ä,ö,ü) for hyperref labels?

I am trying to write a small package that (as a minor sub-feature) incorporates some usage of hyperref to get internal cross-references. To be precise, I want to do provide functionality like the ...
31
votes
1answer
949 views

Questions on designing a dynamic database of exercises

Almost all packages to handle exercises allow us to attach/retrieve meta-data to/from each exercise. Some things one might want when handling exercises are: Filter exercises according to their ...
5
votes
1answer
2k views

Including many figures from a directory

I have a large number of figures (~300) in a folder called 'allimages'. The figures are numbered fig1.eps, fig2.eps,.....fig300.eps. I want to put all of them in latex such that 6 ...
3
votes
0answers
207 views

Automatically generate workbook from a sort of database

I have already posted a similar question here before, but because it was way too open-like and not defined well, it got closed. I'm giving it another try, this time being a bit more specific. I'm ...
1
vote
1answer
912 views

Run multiple commands in TeXShop typeset [duplicate]

I am a user of biblatex-mla and I wish to run the whole bibliography generation workflow with a single click of "Typeset" in TeXShop. pdflatex filename.tex bibtex filename pdflatex filename.tex How ...
3
votes
1answer
563 views

automatically to apply \enlargethispage{\baselineskip} when single-word-widow occurs

Sometimes I encounter this single word widows instance very often, please find the right hand page, topline scoundrel. My design strategy is to leave enough white space at the bottom margin, so when ...
4
votes
1answer
383 views

Getting TextMate to call biber

I've recently made the switch to biblatex from natbib but one problem I've been unable to resolve is how to make TextMate (which is my preferred editor) call biber instead of bibtex. I've installed ...
11
votes
4answers
1k views

Automating the creation of name badges for an event

We are organizing an event. There will be around 60 participants and I need to prepare name badges (tags) for them. The badge will involve, name surname and affiliation fields which is different for ...
2
votes
1answer
181 views

Automatic new directory for new files

I am looking for some way to have a tidy folder system. My idea is, when I create a new file for latex to automatically create a new folder under the same name inside my working directory and put all ...
15
votes
3answers
680 views

Shortcuts for code in latex

I am tired of writing \frac{\partial something}{\partial something_else}. Can I automate it by defining some sort of shortcut to it, so that when I write \p(x)(y) it will transform to \frac{\partial ...
1
vote
0answers
61 views

Building LaTeX files by one command [duplicate]

Possible Duplicate: Tools for automating document compilation Is there a single command which would run bibtex, makeglossary (pdflatex x N ...) etc. automatically? I could create Makefile ...
10
votes
2answers
798 views

tikz External: \tikzsetnextfilename and \tikzpicturedependsonfile

Consider the following MWE. If \tikzpicturedependsonfile is commented out, the code runs as expected. A.dep is created stating the dependency of A.pdf on A.dat. Now, lets try to add the tikz source ...
5
votes
1answer
195 views

Tool to handle “precompiling the preamble” automatically

On Windows there is a nice little tool called latexdaemon that can handle "precompiling the preamble" (and thus speeding up compilation) automatically. It doesn't require any additional setup: one ...