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
2 answers
110 views

How to use math operation in an array index created by the package arrayjob

I want to put each number in the array on a grid using tikz. \documentclass[tikz]{standalone} \usepackage{pgffor} \usepackage{multido} \usetikzlibrary{calc} \usepackage{arrayjob} \newarray\Values \...
Jasmine's user avatar
0 votes
2 answers
127 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 ...
Atai Ambus's user avatar
6 votes
4 answers
779 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\...
optimal benis's user avatar
8 votes
3 answers
244 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,...
bp99's user avatar
  • 605
0 votes
2 answers
86 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 ...
chris_copper's user avatar
1 vote
1 answer
50 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 % ------...
noibe's user avatar
  • 2,064
2 votes
1 answer
105 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{...
noibe's user avatar
  • 2,064
4 votes
2 answers
174 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 ...
magguu's user avatar
  • 917