Questions tagged [empty]
The empty tag has no summary.
9 questions
3 votes
1 answer
71 views
Test whether a macro's argument displays something
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 ...
2 votes
1 answer
57 views
How to check whether a specific item of a l3-sequence is empty (blank) or not?
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 \...
5 votes
2 answers
182 views
Why the token list remains non-blank after I execute `\tl_clear:N`? How to solve it?
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 ...
1 vote
2 answers
169 views
Hide plain content or make it invisible while leaving the structure
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 ...
1 vote
1 answer
215 views
tabularray: Use `caption` package to format table caption while typesetting tables without caption or LOT entry
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, ...
5 votes
2 answers
187 views
Latex3: Passing empty token list to another command and detecting it as empty token list
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 ...
3 votes
1 answer
84 views
ifmtarg testing a macro that is empty?
The following code works as expected: \NewDocumentCommand{\checker}{m}{\@ifmtarg{#1}{empty}{not empty}} \checker{} % Prints "empty" \checker{x} % Prints "not empty" However, how ...
1 vote
1 answer
288 views
unexpected blank page around the end of the PDF file based on Computational Linguistics class file updated
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 ...
2 votes
1 answer
145 views
Fill empty space inside a tcolorbox
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 ...