9.85.1 Top new questions this week

9.85.1.1 Seeking Enhancements and Solutions for Dynamic LaTeX Command Substitution
9.85.1.2 Split string in characters and merge with formatting
9.85.1.3 What are pdftex `\pdfmatch` rules for expansion and use of special classes?
9.85.1.4 Custom non-sequential enumeration
9.85.1.5 Modular and re-usable (tikz) pictures
9.85.1.6 How to avoid resetting macro definitions within a group/environment
9.85.1.7 Reducing space before and after matrices
9.85.1.1 Seeking Enhancements and Solutions for Dynamic LaTeX Command Substitution

https://tex.stackexchange.com/landing/r/digest?cta=question&id=705664

I am engaging with the community to seek insights and possible solutions for a LaTeX macro customisation. Thi is inspired by a discussion in this thread, which explores the possibility of dynamically ... 
[expl3] [parsing]
 
asked by KevinHeart https://tex.stackexchange.com/landing/r/digest?cta=user&id=309031 Score of 7
answered by Alan Xiang https://tex.stackexchange.com/landing/r/digest?cta=user&id=219915 Score of 3
9.85.1.2 Split string in characters and merge with formatting

https://tex.stackexchange.com/landing/r/digest?cta=question&id=705443

How can I create a macro 
\split{ABC} 
that outputs 
where the formatting of the characters are made with another macro, i.e. 
\formatchar{A} 
where 
\def\formatchar#1{{\color{red}#1}} 
for any string ... 
[strings]
 
asked by mf67 https://tex.stackexchange.com/landing/r/digest?cta=user&id=175045 Score of 7
answered by egreg https://tex.stackexchange.com/landing/r/digest?cta=user&id=4427 Score of 5
9.85.1.3 What are pdftex `\pdfmatch` rules for expansion and use of special classes?

https://tex.stackexchange.com/landing/r/digest?cta=question&id=705544

pdftex has a command that's potentially useful to me for searching and for splitting strings:  \pdfmatch.  However, I've found few working examples on the internet.  I do have the basic use figured ... 
[pdftex] [strmatch] [regex]
 
asked by Dan Levin https://tex.stackexchange.com/landing/r/digest?cta=user&id=84933 Score of 6
answered by David Carlisle https://tex.stackexchange.com/landing/r/digest?cta=user&id=1090 Score of 3
9.85.1.4 Custom non-sequential enumeration

https://tex.stackexchange.com/landing/r/digest?cta=question&id=705622

I would like to have my \item enumerated in a special order, non-sequential. In the example below (which is my current project) there are always exactly 3 \items. 
(To handle user errors where the \... 
[enumitem]
 
asked by mf67 https://tex.stackexchange.com/landing/r/digest?cta=user&id=175045 Score of 5
answered by Werner https://tex.stackexchange.com/landing/r/digest?cta=user&id=5764 Score of 5
9.85.1.5 Modular and re-usable (tikz) pictures

https://tex.stackexchange.com/landing/r/digest?cta=question&id=705458

The (tikz-based) pictures I create are often modular. Therefore it would be ideal to use the same source for different variants of of picture. 
Ideally this would be based on standalone, since this is ... 
[standalone]
 
asked by Flow https://tex.stackexchange.com/landing/r/digest?cta=user&id=1280 Score of 5
answered by cfr https://tex.stackexchange.com/landing/r/digest?cta=user&id=39222 Score of 7
9.85.1.6 How to avoid resetting macro definitions within a group/environment

https://tex.stackexchange.com/landing/r/digest?cta=question&id=705441

Here's the question: why does the following code reset the meaning of the \pgPtList control sequence when the group ends? 
\documentclass[12pt]{article} 
\begin{document} 
\begingroup 
\gdef\... 
[macros] [grouping]
 
asked by Kellen Brosnahan https://tex.stackexchange.com/landing/r/digest?cta=user&id=311046 Score of 5
answered by cfr https://tex.stackexchange.com/landing/r/digest?cta=user&id=39222 Score of 5
9.85.1.7 Reducing space before and after matrices

https://tex.stackexchange.com/landing/r/digest?cta=question&id=705425

I find the extra space added before and after matrices quite ugly: 
\documentclass{article} 
\usepackage{amsmath} 
\begin{document} 
$f\begin{pmatrix} 
1&2\\ 
3&4 
\end{pmatrix}.$ 
\end{... 
[spacing] [environments] [matrices]
 
asked by Zuy https://tex.stackexchange.com/landing/r/digest?cta=user&id=209090 Score of 5
answered by egreg https://tex.stackexchange.com/landing/r/digest?cta=user&id=4427 Score of 4