All Questions
2 questions
1
vote
1
answer
54
views
How to use integer from one command into another?
I have following way to get number of spaces in a string
\ExplSyntaxOn
\NewDocumentCommand{\HowManySpaces}{ m }{
\seq_set_split:Nnn \l_tmpa_seq { } { #1 }
\int_eval:n {(\seq_count:N \l_tmpa_seq) ...
2
votes
1
answer
80
views
How can I include external macros for every line of the source code?
An answer to my last question gave a solution for hooking a small command onto line breaks in the TeX source.
\documentclass{memoir}
\usepackage[spacing, tracking]{microtype}
\usepackage{libertine}
\...