• they/it/any

en/de
24
amateur math student
professional slash shipper and shitchoster
average math/programming/game dev enjoyer
proud parent of @JWST-live
asks always welcome :3
mutuals, feel free to dm on discord
might reblog light nsfw, be warned
NerdTests.com says I'm a Highly Dorky High Nerd.  Click here to take the Nerd Test, get geeky images and jokes, and write on the nerd forum!



made a quicksave system in latex with macros 😌
(explanation below)


sometimes in my thesis i will state a theorem early on in a section as the main result of that section, but in order to prove it i need some more lemmas etc. so what i do is i use \quicksavetheoremA right before the first statement of the theorem. that puts the theorem counter (which determines the numbering of theorems, lemmas, definitions, etc) into a variable A, then when i want to prove the theorem, i copy paste its body before the prove and in order for it to have the same numbering as earlier, i set the theorem counter to whatever was in the variable A. but in order to not lose the state of the theorem counter, before i load A i first save into B and then load B after i restated the theorem

no idea if that's a common technique and i just made a post about the equivalent of my discovery that you can put " into python strings by using ' to delimit the string but hey, i thought it's neat :3


You must log in to comment.