{programming} is about how (La)TeX can be used as a programming language.

learn more… | top users | synonyms

7
votes
0answers
69 views

Table of contents with xtemplate (expl3)

Every time I typeset some book or articles, I start to renew sectioning commands (\part, \section, some \@-commands and so on), \maketitle, \tableofcontents commands by copy-pasting it to my class and ...
5
votes
0answers
207 views

Is it possible to produce a context free grammar for Tikz path? node?

Even further, I would be happy to see a definition of the tikz language in the usual manner programming languages such as Java and Pascal are defined. The reason I ask is that I keep getting ...
3
votes
0answers
23 views

Can I force a pre-process action on all commands or environments without having to redefine them all manually?

I am trying to preserve a history of the latex commands and environment initializations I use in a typeset html or pdf file. Is there a way where I can force a pre-process action on all commands ...
1
vote
0answers
55 views

How to Extract Elements?

I could not find the right answer on the following question: If we have finite vector (a_{1},a_{2},...,a_{n}), how to extract any element from it, for example a_{5}? To say more clearly, I need an ...
1
vote
0answers
102 views

How to make listing program ConTeXt at LaTeX ?

I want make listing program Context at LaTeX, my MWE like this : \documentclass[]{article} \usepackage{listings} \usepackage[dvipsnames]{xcolor} \lstset { frame=single, framesep=\fboxsep, ...
1
vote
0answers
235 views

Dynamic programming of cheapest cost in LaTeX

From How can I automate the generation of this dynamic-programming graph?, Jubobs helped develop a foreach scheme to draw the paths. I was wondering if LaTeX can find the cheapest path by ...
0
votes
0answers
9 views

Automatically removing, after compilation, parts of text enclosed in certain strings

Is it possible to create a macro, such that everything that is between the string composed of the characters "whitespace", "{", "L" and the string composed of "L", "]", "whitespace" is not displayed, ...
0
votes
0answers
99 views

Are there any tools for Image -> LaTeX?

Are there any existing tools which take as input: TypeSet Math Formula output: LaTeX code which produces something similar to the existing math formula? Googling "inverse LaTex" gets answers about ...
0
votes
0answers
57 views

Command showing note page of the next frame

This question is based when I read the answer of... Note page showing the next frame I was wondering if it is possible just to define a command like \insertslideintonotes{<scale>} which then ...
0
votes
0answers
87 views

modify files and convert them to pdf

Say I have a bunch of word documents, powerpoint and excel files. I have some cover photo. I want to convert the files to pdf, add the cover photo and footer to the bottom of each page hello world ...
0
votes
0answers
270 views

Creating a Multiple Choice Math Test with LaTeX and Automating It

I have decided to write an application which can manage test questions related to Mathematics. This application will use LaTeX as an intermediate format between questions and PDF output. Questions ...
0
votes
0answers
106 views

New header for moderncv classic style

I would like to achive a header like this for the moderncv classic style. Edit: For convenience I modified the header from the link to be in english. The thing on the left is a header with a table ...
0
votes
0answers
97 views

Software/Programm: latex-based math trainer

I need some help, because I searched the internet for quite a long time, but I wasn't successfull in getting a solution: I'm looking for a program/software, which helps me to practice math, which is ...
0
votes
0answers
113 views

I need some help debugging this LaTeX macro - TeX “skips past” a bunch of code?

I'm trying to test and debug a collection of LaTeX macros that I've been working on, and I have run into a problem that has me totally stumped. Essentially, the problem is that at a certain point in a ...