1,479 reputation
826
bio website
location
age
visits member for 3 years
seen Oct 16 at 19:47

Oct
11
awarded  Yearling
Sep
25
comment How to compute the difference between two time points (e.g., 11:30 am and 01:20 pm => 110 min)?
okay, works great in my actual example. Thanks a lot for helping, David.
Sep
25
comment How to compute the difference between two time points (e.g., 11:30 am and 01:20 pm => 110 min)?
A solution could be to omit the time unit and simply test whether the start date is "larger" than the end date. If so, add 720. But I haven't figured out yet how to test ">="
Sep
25
comment How to compute the difference between two time points (e.g., 11:30 am and 01:20 pm => 110 min)?
The problem seems to be that the p is not matched and thus the 720 not added.
Sep
25
comment How to compute the difference between two time points (e.g., 11:30 am and 01:20 pm => 110 min)?
Hi David, I then used (#1)*60+#2#3\if p#5+720 inside the definition but I end up with -610 min. Do you know why?
Sep
25
comment How to compute the difference between two time points (e.g., 11:30 am and 01:20 pm => 110 min)?
Is it difficult to allow the input to have a half-space between the number and the unit, so 11:30\,am?
Sep
25
comment How to compute the difference between two time points (e.g., 11:30 am and 01:20 pm => 110 min)?
Hi, thanks a lot, David. I just had to put a % after \edef\tmp{ to avoid a small horizontal space to be inserted. Works very well, thanks again.
Sep
25
comment How to compute the difference between two time points (e.g., 11:30 am and 01:20 pm => 110 min)?
I realized a strange error when I use the "duration" command inside a table/environment. I updated the post. Do you see how to avoid this error?
Sep
25
revised How to compute the difference between two time points (e.g., 11:30 am and 01:20 pm => 110 min)?
added 897 characters in body
Sep
25
comment How to compute the difference between two time points (e.g., 11:30 am and 01:20 pm => 110 min)?
excellent, thanks a lot, David!
Sep
25
accepted How to compute the difference between two time points (e.g., 11:30 am and 01:20 pm => 110 min)?
Sep
25
comment How to compute the difference between two time points (e.g., 11:30 am and 01:20 pm => 110 min)?
@StevenB.Segletes Thanks, both are okay, whatever is more convenient.
Sep
25
asked How to compute the difference between two time points (e.g., 11:30 am and 01:20 pm => 110 min)?
Sep
11
accepted Positioning of a (newly defined) symbol *relative* to a textbox
Sep
11
comment Positioning of a (newly defined) symbol *relative* to a textbox
excellent, thanks a lot!
Sep
11
comment Positioning of a (newly defined) symbol *relative* to a textbox
.. yes. I just experimented a bit and it turns out that when I choose the scale any smaller than 1, the chevrons disappear and for scale >= 1, they appear (but are huge of course).
Sep
11
comment Positioning of a (newly defined) symbol *relative* to a textbox
Hi, thanks for helping. I like the idea with the arguments, but I would only need one (not two). I substituted the color into #1 and made the #2 a #1 (and of course removed the {blue} and replaced {2} by {1}), but suddenly the chevrons disappear. Do you know why?
Sep
11
asked Positioning of a (newly defined) symbol *relative* to a textbox
Aug
18
awarded  Notable Question
Aug
1
awarded  Notable Question