Reputation
18,426
Top tag
Next privilege 20,000 Rep.
Access 'trusted user' tools
Badges
3 58 107
Newest
 Enlightened
Impact
~410k people reached

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
2
awarded  Curious
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
answered Defining a dynamic variable
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.
Jun
25
comment Using character literals with \ifcase
Another possibility: Define macros \csname mycase@a\endcsname etc. and then just call \csname mycase@#1\endcsname.
Jun
25
comment How to make a particular sentence bold, large and underlined at the same time
If you find that something which is easy with tools like Word is much harder to do with LaTeX, that's often a sign it's not a good idea in the first place.
Jun
24
comment Does italic math originate from TeX?
I think Knuth was trying to mimic a very specific style used by Addison Wesley for the first volumes of his TAOCP books (before TeX).
Jun
23
comment How secure is sharelatex?
You could both install a Linux system in parallel, for instance in a virtual machine.
Jun
17
awarded  Good Answer
Jun
7
comment White marks around leaders in PDF
This might be a "smoothing" issue. Try to turn off optimization options like "smooth text" in the viewer.