If a url contain special characters (~ and #) using it as
\href{http://people.brunel.ac.uk/~mastmmg/ssguide/set_work.html#4_32}{people.brunel.ac.uk}
works just fine. But, I would like to have macro ...

I am trying to adapt this example How to iterate over a comma separated list? as my base. Except, rather than display all values, I actually want to iterate through all the values and only return / ...

This is a followup to
Difference in compilation time between two slightly different versions.
As became obvious when asking that question, the speed of that compilation is seriously affected by the ...

I would like a new command: \myfunc{string}, where string is something like: "a,b,x,y,x" and the effect of the command should be the following:
\func{a}\func{b}\func{x}\func{y}\func{x}, where \func{} ...

I try to make my own macro for a typesetting an authors block instead of using package authblk. How can I suppress separator near the fist author of the article. Main condition is to use only LaTeX ...

I am using listings to display custom keywords in bold. In my listings, those keywords are sometimes followed by a comma. However, in the example below, any comma following a keyword will prevent the ...

I'd like to automatically generate a comma separated list of all occurrences in my .tex file of a particular command.
Specifically, I want to ensure the correct numbering of chemical structures using ...

In my texts I have to deal with lists, whose items need to be formatted seperatly, i.e.:
\funktion[3][]{T}--\funktion{S}--\funktion[3][7]{D}--\funktion{T}
In \funktion which leads to \emphsubsup the ...

I need to keep a list of files (max of around 500) along with the path.
Based on the fact that each file name and path could be up to 100 characters, should I just save it in a comma separated list ...

How to use { and } as delimiter instead of active caractere in this example ?
I'd like [360] [90] [7,2] as output of foreach command instead of this.
I need a string foreach compatible, splited on ; ...

I'm trying to generate a comma separated list that uses strings that may or may not be empty. For example \mylist{\stringA,\stringB,\stringC} would expand to A, C if B is empty or B, C if A is empty, ...

I'm using the beamer presentation package and trying to combine the examples from this post How to iterate over a comma separated list? with the beamer package.
In modifying the top example, chaning
...

How can I iterate, loop, process, or otherwise do something, with each element from a comma separated list of things?
This question has been asked perhaps many many times, and the are already lots of ...

I need to loop through a comma-separated list, creating them all as keys for a data structure.
I can't think of a way to loop through the keys inside \keys_define:nn, so the only other option I see is ...

I have a comma-separated list, stored in a macro. It is non-empty, and it has commas between the elements but not at the start or end. How can I get:
the first element (a.k.a. the "head")?
the last ...

How can I make a TikZ foreach loop iterate over two lists consecutively? I had hoped that in my code below, the expression \firstlist,\secondlist would evaluate to 2,3,5,7,1,4,6, but it doesn't work. ...

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 ...

I now know that if I want to get for example the 3rd argument passed to a command, I have use #3. My question is if this argument is an array how can I read elements of array without a for loop?
For ...

Title says it all, but here's an example: the KOMA-Script classes provide the option toc which can have multiple values that don't interfere with each other, like values that enable the Bibliography ...

I've looked all over and can't seem to find a succinct answer to this question. Is it possible (and if so, how) to create a command that will iterate through its `arguments' of comma-separated values ...