Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more

Questions tagged [l3seq]

{l3seq} is about questions regarding the l3seq package that is a part of the LaTeX3 bundle.

Filter by
Sorted by
Tagged with
3 votes
1 answer
83 views

Use l3seq sequence in command requiring \ExplSyntaxOff

I am working with a LaTeX3 template that stores a list of languages in a l3seq sequence g_languages_seq. I want to pass these to polyglossia, so in essence I want to do something like \...
Marek Dědič's user avatar
2 votes
1 answer
44 views

Correct way to set expl3 sequences in the aux file

Consider the following example, in which it (globally) adds an element TEST to the sequence \g__mymodule_test_seq in the .aux file. Then if it is asked to show the sequence content immediately in the ...
Jinwen's user avatar
  • 8,568
3 votes
1 answer
107 views

Can't check if a string(token list) type macro in a sequence in LaTeX3?

This is my first time on TeX Stack Exchange, so please forgive me if I unintentionally offend anyone. Compile Environment(using pdflatex to compile): WSL: x86_64 Linux 5.15.133.1-microsoft-standard-...
zongpingding's user avatar
1 vote
1 answer
69 views

Expl3 - sorting and displaying a seq in Tabularray

I want to print a sequence in a tblr environment. The \sortdata command accepts the list of integers to be sorted as well as an optional argument to specify how it should be printed out. I want to ...
M. Al Jumaily's user avatar
7 votes
2 answers
220 views

Expansion issues again

I seem to keep encountering the same issue. In my attempt to learn more about expansions I have written a program that starts with a sequence of 1s and then after each step increments it to generate a ...
Ted Black's user avatar
  • 453
1 vote
1 answer
55 views

Execute list of commands generated by pairing elements from two \clist s or \seq s

I have hundreds of lines of code of the form \Umathcode`a = 0 \symwmb "1D4B6 and \Umathcode"03B1 = 0 \symrmtl "0000B where, in the latter case, there is a counterpart \def\...
Mike Pugh's user avatar
  • 127
0 votes
1 answer
76 views

Expl3: Expansion of mappings over lists

The package xcolor can "prepare" color definitions in such a way that they're only loaded if they're actually needed, which may be indicated by a later call to e.g. \providecolors{<id-...
steve's user avatar
  • 2,164
2 votes
1 answer
58 views

How to use edef to defines an item from a l3 sequence?

I would like to defines one element from a list with \edef. I wrote the following MWE, which shows that only \def gives a result. However, as i use the result in many complex ways, \def is not an ...
mathteacher's user avatar
2 votes
1 answer
63 views

`\seq_item` doesn't work in `cases` environment

I'm trying to create a macro that can dynamically create a cases environment. Unfortunately, there's a problem I cannot quite comprehend. For some reason, the invocation of \seq_item does not produce ...
user1512263's user avatar
2 votes
2 answers
84 views

Print sequence of property lists as table

I want to define two macros, that together should generate a table for an invoice. Add entries to a sequence. Does not generate any output. % \addentry{description}{quantity}{price} \addentry{Item 1}...
Safron's user avatar
  • 360
1 vote
1 answer
85 views

Custom command with nested sequences and argument with macro

I am trying to create a command that used nested sequences e.g. [[1,2,3],[4,5,6],...] where the brackets represent a sequence The problem I have right now is that I cannot pass a macro as an argument. ...
Nyanyan's user avatar
  • 91
0 votes
1 answer
223 views

Nested sequence containing sequences

I am trying to create a nested sequence where each element is a sequence but for some reason it does not compile and exists with an emergency stop. MWE: \documentclass{article} \usepackage{expl3} \...
Nyanyan's user avatar
  • 91
0 votes
1 answer
58 views

Store l3prop in l3seq

In a .sty file, I defined the following: \seq_new:N \g__test_seq \NewDocumentCommand \TestAdd {m} { \prop_clear_new:N \l__test_prop \prop_set_from_keyval:Nn \l__test_prop { ...
Vary's user avatar
  • 23
2 votes
2 answers
75 views

Keepin key-value pairs in `l3prop` in a way that preserves catcode

This is a follow up to this post. Initially the problem was to store some function's options in some container. Examples of such functions: \includepdf, or \newwatermark. This can be useful if the ...
Erwann's user avatar
  • 2,120
2 votes
1 answer
61 views

Two seemingly identical l3seq cause different behavior passed to function

I have two seq's, one constructed from a clist, another from a prop, whose expansion (with , between items) look the same. They are supposed to contain options to \newwatermark. The use of a prop is ...
Erwann's user avatar
  • 2,120
1 vote
1 answer
82 views

How to generate variable names from sequences

In my code it's need for me generate variables from sequences. For example, I have variable \g__test_bool. For an empty sequence it should be the same. For sequence with a_ item it should be \...
Aleksandr Kozlovskiy's user avatar
2 votes
1 answer
86 views

Is it possible to have a sequence (l3seq) as value in a property list (l3prop)?

This is quite related to expl3: Is it possible to have a property list (l3prop) as value in a property list? Instead I want to have something like \pushmetadata{author}{author1} \pushmetadata{author}{...
jiewuza's user avatar
  • 275
3 votes
2 answers
119 views

Why do parentheses around a sequence not surround the entire sequence?

Sequences in LaTeX3 are proving very difficult to understand. I'm writing small demos to try to learn the various commands. In this demo, I can input a sequence and then print it. However, when I put ...
LaTeXereXeTaL's user avatar
3 votes
1 answer
153 views

expl3 sequence of property lists with parameterized names: spurious space

Edit (context) For a class myclass I'm working on, I want the user be able to specify (the characteristics of) the institute, subinstitute, subsubinstitute, etc. he is affiliated to. Because the ...
Denis Bitouzé's user avatar