Linked Questions
10 questions linked to/from Delete an element from a comma delimited list
26
votes
2
answers
1k
views
Lisp relics in LaTeXe logo
I always thought TeX's macros are very Lispy like and stumbling across the definition of the LaTeXe logo confirmed it. The macro is defined as follows:
%\LaTeXe The LATEX2" logo as proposed by A-W ...
20
votes
2
answers
8k
views
LaTeX for loop \@for
In user700902's answer to this thread, a for-loop with the syntax \@for is used. How does this syntax work? I tried searching about for-loops on other websites, but I could only find something like ...
6
votes
2
answers
481
views
Deleting an element from a comma separated list
In this answer we learnt how to remove the n-th element from a comma-separated list.
How can I remove an element from a list by its value, rather than its position? For example: if my global variable ...
4
votes
2
answers
1k
views
List delimited by commas (not lines)
Note: Delete an element from a comma delimited list is not a duplicate.
What I want to do is have a list environment of items, like itemize and enumerate, but I want the output to be delimited by ...
6
votes
3
answers
697
views
Robustly add a border to the left of a text spanning several pages
I would like to add a border to the left of some indented text, eventually spanning several pages and nested. My goal is similar to Indentation level inside proof but the solution I found back that ...
4
votes
1
answer
1k
views
How to create a comma-separated list in LaTeX according to the number of elements in another list?
I have been looking for a way to create dynamically a comma-separated list consisting of n entries, all entries equal, defined by \newcommand\mytext{species:} (example) and n being the number of ...
2
votes
3
answers
236
views
Align element (tikzmark) with top of the current line instead of baseline
I'm trying to raise a \tikzmark in order to align it with the top of the current line (for instance to draw a line something like that):
For now I use \raisebox{4mm}{\tikzmark{Hello0}}, but I don't ...
3
votes
1
answer
198
views
Get position of footnote if there are some
Short version: How can I get the position of the red box in order to stop my line before the footnotes when there are some (tcolorbox manages to stop the line at the good position)?
Longer version
In ...
3
votes
1
answer
279
views
Forbid qed symbol to go on next page
I'd like to forbid the \qed symbol to go on the next page in a proof, as the result is ugly:
Any idea how I could solve the problem, ideally by only modifying the proof and/or subproof environments? (...
3
votes
0
answers
244
views
TeX as a programming language: examples and design patterns
I'm looking for simple examples of using TeX as a programming language, not LaTeX, and ideally these examples only use the primitive TeX commands. Why? Because the members of a local computer club ...