3,008 reputation
103263
bio website
location
age
visits member for 3 years, 2 months
seen 2 days ago

May
6
comment Define variables holding a percentage
@PredragPunosevac I tried your \directlua{tex.print(string.format("%.2f",2*(1234.56+9786.45)))}, but the compilation raised one error Undefined control sequence...
May
6
comment Define variables holding a percentage
@PaulGessler Yes...
May
6
revised Define variables holding a percentage
added 12 characters in body
May
6
asked Define variables holding a percentage
May
5
accepted Define numeric variables
May
5
comment Define numeric variables
That works... just another question: how much space does the second \ of \x\ add after a number? is it exactly equivalent to a normal space after a number?
May
5
comment Define numeric variables
Thank you... I see how you define x and y, and what if I still want to define a newcommand z which is x+y? How to write this definition?
May
5
accepted pdflatex, dvips: cannot determine size of graphic in … (no Bound ingBox)
May
5
comment Define numeric variables
I just amended the OP...
May
5
revised Define numeric variables
added 22 characters in body
May
5
comment Define numeric variables
OK, I don't need the floating point values...
May
5
comment Define numeric variables
Well, I made the OP a little bit more complicated...
May
5
revised Define numeric variables
added 84 characters in body
May
5
asked Define numeric variables
Apr
26
awarded  Yearling
Apr
2
awarded  Famous Question
Apr
1
awarded  Famous Question
Mar
23
awarded  Nice Question
Mar
19
awarded  Popular Question
Mar
9
awarded  Famous Question