18 Feb
2019
18 Feb
'19
3:37 a.m.
Hi, When I use definecolor, (how) can I use computations in setting the value of a component? Something like the following... \definecolor[mycolor][r=0.5*0.7] Thanks, ~MHB
9:38 p.m.
On 19/02/19 10:33 AM, Wolfgang Schuster wrote:
Better use \luaexpr. From the manual: The \luaexpr command can also better deal with for instance conditions, where it returns true or false , while \cldcontext would interpret the boolean value as a special signal. Although I think my solution is superior because you can just type \eval{1.0*sin(pi)} instead of \eval{1.0*math.sin(math.pi)}
2167
Age (days ago)
2167
Last active (days ago)
4 comments
3 participants
participants (3)
-
Henri Menke
-
Mohammad Hossein Bateni
-
Wolfgang Schuster