Skip to main content

Questions tagged [empty]

3 votes
1 answer
71 views

I need a macro that tests whether its argument displays something or not (once expanded). I've read a lot of posts here, I've spent more than ten hours testing several methods I've read here, and I ...
Moïse's user avatar
  • 61
2 votes
1 answer
57 views

Like the title described, I defined a sequence, \seq_set_split:Nnn \l__skyrmion_tmp_seq {;} {;2;3;4} Obviously, \seq_item:Nn \l__skyrmion_tmp_seq {1} is empty (blank), but neither \tl_if_blank nor \...
myhsia's user avatar
  • 2,048
5 votes
2 answers
182 views

Just like the title, I'd like to define a macro \foo for checking whether the token list \l_tmp_a_tl is blank, after I executed the command \tl_clear:N \l_tmp_a_tl, the output of the command \foo ...
myhsia's user avatar
  • 2,048
1 vote
2 answers
169 views

I have a document of exercises ordered with sections/subsections with the solutions below each one. With this I want to create a document exactly the same but instead of the solution, I want that ...
the magic dancer's user avatar
1 vote
1 answer
215 views

I am writing a longer document divided into \frontmatter and \mainmatter using the scrbook class. While both a table caption and a LOT entry should be generated for tables provided in the mainmatter, ...
albert's user avatar
  • 1,027
5 votes
2 answers
187 views

I am sorting some tokens in a token list using the nice features of latex3 (see below command \nom). These tokens can be sometimes empty, and when they are empty they would trigger different ...
wdsgn's user avatar
  • 311
3 votes
1 answer
84 views

The following code works as expected: \NewDocumentCommand{\checker}{m}{\@ifmtarg{#1}{empty}{not empty}} \checker{} % Prints "empty" \checker{x} % Prints "not empty" However, how ...
Vincent's user avatar
  • 6,225
1 vote
1 answer
288 views

The PDF is printed on both sides. The thing is, the compilation produced an unexpected blank page, i.e. p53. The strange thing is that a footnote supposed to be on the last but one page, appears on ...
JC Y's user avatar
  • 35
2 votes
1 answer
145 views

I have two images side by side in a tcolorbox, one horizontal and one vertical with an empty dotted line below each one. I would like to "push down" the line in the second (right) image so ...
miltos's user avatar
  • 2,863