141 reputation
7
bio website arun.chagantys.org
location India
age 25
visits member for 3 years
seen 2 hours ago

A Computer Science PhD student at Stanford. I do equal parts math, code and LaTeX.


Sep
7
awarded  Popular Question
Jun
13
accepted Tikzmarks being placed arbitrarily when shifting tikzpicture
Jun
13
comment Tikzmarks being placed arbitrarily when shifting tikzpicture
@percusse Hmm... I got the shift trick from tex.stackexchange.com/questions/21359/…. My intention is that I'd like the origin to always be at the center of the page. I'm not using any relative coordinates here either, but I presume you are talking about what's going on inside tikzmark?
Jun
13
asked Tikzmarks being placed arbitrarily when shifting tikzpicture
Jun
12
accepted Finding the depth of nesting in a macro call
Jun
12
comment Finding the depth of nesting in a macro call
Ok, thanks. I'll take \tracingmacros as the general answer, and note the reduced efficacy when used with beamer.
Jun
12
comment Finding the depth of nesting in a macro call
Thanks for the comment about \leavevmode. That was indeed a problem I faced, but I switched to using a \makebox instead for other reasons. After your comment, I'll be sure to define any such macros in the preamble, but for the sake of academic inquiry, my original question still stands: how would you find the "macro expansion call chain" without having a prior knowledge of how each macro is defined? For example, if I did \hphantom{apples}, could I observe exactly how this macro is being expanded in order escape the arguments appropriately?
Jun
12
awarded  Teacher
Jun
12
awarded  Autobiographer
Jun
12
answered Animated equation in Beamer
Jun
12
comment Finding the depth of nesting in a macro call
@percusse Ah, I did not know that happened. Thank you! If only I had known that 2 hours ago...
Jun
12
asked Finding the depth of nesting in a macro call
Jun
11
comment Using the perpendicular coordinate system with tikzmark
@Ignasi Indeed, if the code worked correctly, I should have x over p. I wanted to achieve the same effect without having to define a new node a.
Jun
11
accepted Using the perpendicular coordinate system with tikzmark
Jun
11
comment Using the perpendicular coordinate system with tikzmark
Ah, thanks @Andrew! I tried using parentheses (e.g. ((pic cs:a) -| mark)) to no avail.
Jun
11
awarded  Editor
Jun
11
revised Using the perpendicular coordinate system with tikzmark
Added a picture to show what happens.
Jun
11
asked Using the perpendicular coordinate system with tikzmark
Apr
23
comment Is there a package with standard theorem environments and math functions
Alright. I usually save all these commands into a single file and include them using \input. Is there any reason to prefer a pacakge to this approach?
Apr
23
accepted Is there a package with standard theorem environments and math functions