Skip to main content

Questions tagged [expl3]

{expl3} is the programming "language" written for the LaTeX3 project. It is a library of common functions for storing and manipulating data and performing higher-level logical tasks than commonly provided for in TeX and LaTeX.

1 vote
0 answers
6 views

Small bugs with a lightweight xcoffins-based mdframed alternative

I've recently tried to add page-break support to a lightweight xcoffins-based mdframes alternative I've made that started off with Put an xcoffin around an environment's content It essentially ...
tecosaur's user avatar
  • 1,063
1 vote
2 answers
69 views

How to create a command to plot a series of square lattices on a given line?

As the figure below, for a fixed line on a square-lattice layer with the scale of 30*30, it y-coordinate is 12, then I'd like to plot squares on the x-coordinates of 1,6-13,21,28-30, 13 square dots in ...
Meiu's user avatar
  • 558
2 votes
1 answer
108 views

Why would anyone use `\obeyedline`, what meaning should it have in the latest textlive distirbution?

Can anyone check with a grep (sorry I am on windows) what packages use obeyedline? I picked up a strange bug with l3doc and some code of mine which I cannot provide a minimal, as the code is really ...
yannisl's user avatar
  • 118k
1 vote
2 answers
124 views

Uppercase & abbreviation dot in a field - string manipulation

I use a custom driver that contains the nameaddon field. Below a wme: \begin{filecontents}[overwrite]{\jobname.bib} @customa{test, author = {Author}, nameaddon = {nameaddon}, title = {Title}, } \...
matteofg's user avatar
  • 175
2 votes
2 answers
62 views

Supplying data to hyperref's pdfauthor: different command types give different results

The hyperref package allows a list of authors to be assigned to the pdfauthor option. For example, this works for me \hypersetup{ pdfauthor={Me, Bobby McGee} } The two authors are recognised in the ...
Blair's user avatar
  • 407
1 vote
0 answers
22 views

Rounding dimensions to specific decimal places [duplicate]

In How to typeout dimensions in mm?, a custom command is suggested to typeset dimensions in a given unit. Sometimes, it is desirable to typeset the length to one or two decimal places I want an output ...
Al-Motasem Aldaoudeyeh's user avatar
1 vote
0 answers
52 views

Recreate the functions environment from the l3doc class file

I am reviewing the l3doc.cls class file and I was very interested in recreating the functions margin environment as shown in the diagram below: Note that I am only interested in the section that says ...
azetina's user avatar
  • 29.1k
1 vote
2 answers
67 views

Count sections inside collected environment

Here's what I'm trying to do: I am trying to write an environment to conditionally hide its contents if a global bool is set. Sections inside the environment should still increase the section counter, ...
d8xa's user avatar
  • 110
1 vote
1 answer
100 views

LaTeX3: detecting default command inputs once stored in sequences

I don't understand how to identify elements in a sequence that have a default value assigned by a document command. For example, \documentclass{article} \ExplSyntaxOn \seq_new:N \l_blair_person_seq \...
Blair's user avatar
  • 407
5 votes
2 answers
259 views

Expand a `.cs` defined by key inside the function

I have a prop list in which I save items using the \addtoprop command and then loop through the prop list and print it with the \foreachinprop command. The \foreachinprop command has several keys, but ...
Pablo González L's user avatar
1 vote
2 answers
68 views

Function to output array in itemize

I tried to create a single function that would output inline and function return arrays represented as clists in itemize. I didn't succeed to create such function, only separate ones. This function ...
Intolighter's user avatar
2 votes
1 answer
111 views

Add `.meta` key to existing keys (l3keys)

I have two list environments called myenv and myenv* where only the first one has four levels, the keys for the first one are stored in { mymodule / level-1 }, ...,{ mymodule /level-4 } and for the ...
Pablo González L's user avatar
3 votes
2 answers
196 views

Creating a property list. I'm new to expl3

I try to learn expl3. I try to create a property list. The values should be numbered sequentially, but somehow I always save only the last value. I would expect as output: Test [1][2][3][2][1] (One,1)...
Viggo's user avatar
  • 65
3 votes
1 answer
84 views

Customize minipage to support spaces below it

I'm trying to create a custom minipage environment that allows spaces above and below it. I manage to control the spaces above using the @minipage shitch, but I can't find the modification to achieve ...
Pablo González L's user avatar
2 votes
1 answer
91 views

expl3 \seq_set_split:Nnn in a \foreach loop

I'm trying to run \foreach over a nested list. For each iteration the value of the loop variable will be a list separated by semi-colons. To split the values I'm using \set_seq_list. It works when not ...
user1850133's user avatar
  • 1,028

15 30 50 per page
1
2 3 4 5
103