17,876 reputation
353102
bio website docscape.de
location Dortmund, Germany
age 46
visits member for 2 years, 4 months
seen 2 hours ago

TeX enthusiast since almost 25 years and making a living from it since almost 10.

Member of DANTE, the german user group, I organised their user meeting in dortmund in '99.

I'm the author of the hopefully-long-forgotten TeXPower package and a commercial data based publishing system named DocScape which can do wondrous things ;-)

email: Stephan.Lehmke@QuinScape.de


Jul
9
comment TeX-FAQ: Non-letters in macro names - special-command generator
Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format.
Jul
9
comment TeX-FAQ: Non-letters in macro names - special-command generator
Maybe TikZ \foreach defines a group? In this case the definition would be local to the body of \foreach.
Jul
9
comment How do you define a command to select nested groups?
@FK82 Of course you're free to construct lists any way you want. Experience suggests though that it'll be easiest when either following the TeX or the LISP convention ;-)
Jul
9
comment How do you define a command to select nested groups?
Note that a LISP list is also constructed from a binary operator, see S-expression.
Jul
9
comment How do you define a command to select nested groups?
Also, a pair would typically look like \do@pair{<tokens1>}{<tokens2>}
Jul
9
comment How do you define a command to select nested groups?
In general, the typical list implementation in TeX looks something like \do@item{<tokens1>}\do@item{<tokens2>}
Jul
7
comment Without any built-in looping macro, can we just use a recursive macro to get a-b-c-d-e?
@wipet tex.stackexchange.com/revisions/188225/1
Jul
5
comment How can I create lambda expressions?
@Manuel This would mean that \the\numexpr\LambdaFunction{2}{#1+#2}{5}{7}\relax would give 12.
Jul
5
comment Problems with Gnuplot
@Marko Could you post that as an answer?
Jul
5
comment How can I create lambda expressions?
I have the feeling this is of limited use, because in TeX a "functional" programming style requires expandability. If you would modify your question to request an expandable \LambdaFunction, I would set a huge bounty :-) But my gut says it is impossible in TeX.
Jul
1
comment Generating On-Shell Diagrams
@xvtk As you see from the lack of focus in the comments, it is essential that you add more detail to your question. Please edit it according to your comment. Furthermore, you should provide some code as a starting point. If you say "I want to avoid having to manually place each node in its place", maybe you could provide TikZ code for doing it that way and describe in which way you'd want it to change.
Jul
1
comment Generating On-Shell Diagrams
@Manuel Relative is, well, relative.
Jul
1
comment How to ensure that LaTeX-generated pdfs print correctly from print-on-demand services
If you have (access to) Acrobat professional, then you could try to (a) preflight your PDF with it (b) re-save your PDF. If your document passes preflight, then I guess you have at least some case against the printing service. If their ripping software can't handle valid PDF, then their service is flawed. With option (b) you probably get a PDF which is more digestible to their RIP, especially if you "downgrade" the version a bit.
Jun
27
comment Why does the switch to ClearSans font fails in LuaLateX?
Did you forget something in your question title?
Jun
25
comment How can I arrange multiple figures in rows of 3 in a two-column document?
See this question: tex.stackexchange.com/questions/37581/…
Jun
25
comment What does the 'etex' package do, exactly?
Originally, TeX provided a fixed amount of 256 different "dimension registers" (which is what is allocated by \newdimen). The code of the \newdimen macro reflects this by checking that not too many registers are allocated. The current eTeX engine extends this fixed number to 32768, but the code of \newdimen needs to be adapted to the new maximum number by the etex package.
Jun
25
comment Defining a dynamic variable
Have you tried replacing \setVariable{#2} with \renewcommand{\myVariable}{#2} and \printVariable with \myVariable?
Jun
25
comment Creating left-to-right sliding presentation
TBH, it looks a lot like it was made with my old TeXPower package :-)
Jun
25
comment Defining a dynamic variable
I think \newcommand is already what you're looking for :-) If you define a "Variable" with \newcommand{\myvariable}, set and update it with \renewcommand{\myvariable}, you can print it by just saying \myvariable.
Jun
25
comment Using character literals with \ifcase
@DavidCarlisle Only in the most general sense, as Martin's solution is very much geared towards numerals (and numexpressions). It might not be obvious to everybody how to transfer it to arbitrary characters. Btw, I read the question to refer to arbitrary (selections of) characters, not a,b,c specifically.