Questions tagged [seq]
The seq tag has no usage guidance.
6
questions
1
vote
1
answer
30
views
Consecutive Sequences to Process Macro Inside a Macro
I have a macro which uses inner macros to process pairs of arguments. The essential part can be broken down to
\mymacro{\inside{A}{1};\inside{B}{2},\inside{C}{3}}.
Originally I had all pairs ...
2
votes
1
answer
151
views
Expl3 seq with macros
I use it TeXLive with XeLaTex I had an Expl3 function to insert a character between the characters of each word.
My code:
\documentclass{article}
\usepackage{expl3}
\ExplSyntaxOn
\seq_new:N \...
12
votes
1
answer
258
views
Combine `map` and `use` expl3 macros
I'm trying to build a macro
that processes a comma-separated-list of elements
so that:
\MapAndUse{a,b,c}
would produce:
My first intuition is to use a expl3 combination
of \seq_map* to process each ...
1
vote
1
answer
253
views
Quadratic Sequence tree branching node help
I want to make something like this.
I tried using tree diagrams and got this code,
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[table]{xcolor}
\usepackage{mathtools}
\usepackage{...
2
votes
1
answer
163
views
A sequence was misused, but inlining the function works
I have some code that works but stops working when I try to refactor it into a function. Here is a MWE:
\documentclass{article}
\usepackage{xparse}
\ExplSyntaxOn
\seq_new:N \l_shepi_sub_seq:nnn
\...
2
votes
0
answers
119
views
Want to use expl3 seq variable as an "array" data structure [closed]
The question is: expl3 provides for indexing positions in a seq variable for reading items, is there a way to write to an indexed position? I noticed the question asked by @XZS on July 24, 15 too late,...