Questions tagged [arrayjob]

The {arrayjob} pack­age pro­vides ar­ray data struc­tures in (La)TeX, in the mean­ing of the clas­si­cal pro­ce­du­ral pro­gram­ming lan­guages like For­tran, Ada or C, and macros to ma­nip­u­late them. https://ctan.org/pkg/arrayjob

Filter by
Sorted by
Tagged with
0
votes
2answers
34 views

Getting length of arrayjob array

I would like to get the length of an arrajob array, something which the package sadly does not provide. Currently I have to manually adjust a length variable whenever I add or remove elements from an ...
6
votes
4answers
312 views

TikZ: Get colour from an array and use it for drawing

Using the arrayjob package, I am able to extract strings from an array and, for example, get TikZ to print that text: \documentclass{standalone} \usepackage{tikz} \usepackage{arrayjob} \newarray\...
8
votes
3answers
201 views

User friendly array definition macro

I am working on a custom documentclass where there may be one or multiple authors in a document. Normally, one would simply specify \author{} and call some additional macros to set some special values,...
0
votes
2answers
45 views

How to \includepdf with filename from array?

i'm currently writing an application template. For the appendix i need to be able to include some pdf docs. The name of theese docs are store in an array. So i need to be able to includepdf where the ...
1
vote
1answer
48 views

Expanding a command when assigning values to an array

I'll explain what I mean with an example. \documentclass{article} \usepackage{arrayjobx} \newcounter{foo} \setcounter{foo}{0} \renewcommand{\bar}{\addtocounter{foo}{1}Some text} \newarray\baz % ------...
2
votes
1answer
91 views

Counting days and years in personal journal

The code below is taken from this post. Is it possible to create a sequence/array that contains all the different years, and another that contains how many entries per year there are? \documentclass{...
4
votes
2answers
98 views

Implementing a keyword / token / tag system

I want to have a keyword / tag / label / token system for my documents. There will be a hard coded list of allowed keywords and all theorems/examples/exercises will (optionally) be tagged with one of ...