1,242 reputation
320
bio website
location
age
visits member for 2 years, 2 months
seen Dec 11 at 23:59

Nov
25
awarded  Inquisitive
Nov
24
answered Pattern to detect need for recompilation from auxfile
Nov
24
comment Pattern to detect need for recompilation from auxfile
Some explanations about the benefits of rerunfilecheck can be found here tex.stackexchange.com/a/213789/19326
Nov
24
comment Purpose of AtEndDocument{\def}
I am sorry that my question is a bit unclear if you omit the title but I was rather interested in the mechanics of the commands quoted than an allternative. I think this answer would have fitted better to my original question that led me here (tex.stackexchange.com/q/213683/19326). I referenced your awnser in a comment there
Nov
24
comment Purpose of AtEndDocument{\def}
While my latex knowledge is not sufficient enough to fully understand the details, your excellent awnser stating that the redefinitions are applied before the output file is read again clarified it a lot.
Nov
24
accepted Purpose of AtEndDocument{\def}
Nov
24
revised Pattern to detect need for recompilation from auxfile
added 193 characters in body
Nov
24
asked Purpose of AtEndDocument{\def}
Nov
24
comment Pattern to detect need for recompilation from auxfile
Since I found the example I am not sure how to handle this best, delete the question, paste the awnser from the other question, or add a MWE with explanations. I would prefer the last option, however I will have to understand AtEndDocument(\def ... ) first.
Nov
24
revised Pattern to detect need for recompilation from auxfile
added 17 characters in body
Nov
24
revised Pattern to detect need for recompilation from auxfile
added 155 characters in body
Nov
24
comment Pattern to detect need for recompilation from auxfile
+1: While this package seems to provide a solution, I am interested in the pattern I described above, rather than how to use a package that does this based on checksums. While the solution might be the best/easiest to use, I am also interested in an alternative for integration in my package without a dependency and for learning purposes.
Nov
24
asked Pattern to detect need for recompilation from auxfile
Nov
6
comment Automatic scaling of tikz images in floatrow
David Carlisle actually has a slightly simpler solution he gave in chat: chat.stackexchange.com/transcript/message/18495414#18495414, just scale all images to an arbitrary height (but equal), then scale the row. This skips the need to get the height for the first image.
Nov
6
comment Expansion for Macro to pass to scaleBox
Let us continue this discussion in chat.
Nov
6
comment Expansion for Macro to pass to scaleBox
@DavidCarlisle regarding the missing %, I tried it out, the % is the minimum amount to have no extrawhitespace in the output. If I do \getIt\getIt I get two numbers with no space in between, e.g. 1.2349.034 (notice the second decimal dot, with space it would be 1.234 9.034)
Nov
6
comment Expansion for Macro to pass to scaleBox
So is there someway that i can take an arbitrary defined command, execute it once and store its return in a way that it is save to pass to scalebox?
Nov
6
comment Expansion for Macro to pass to scaleBox
@DavidCarlisle I think I still have to get my head around tex, I am thinking a little bit in c-style here so to me int func{return 2;} and int func{int i=getOneSomehow(); return i+1;} are equal in the outcome of the program.
Nov
5
comment Expansion for Macro to pass to scaleBox
@egreg: I am trying to wrap tex.stackexchange.com/a/125722/19326 into a package. The idea is to have an environment where I can do \addImage{someCode} to add an image and \getScale to get the factor by which the image should be scaled so that all pictures fill the row, and have equal height while keeping aspect ratios. I would like these two command so adjustbox scalbox or tikzscale can be used, depending on the situation. Take a look at github.com/coderinside/imageRow tp see what I got so far.
Nov
5
comment Expansion for Macro to pass to scaleBox
WHile this is going the right way, I updated my anwser (see update), basically I try to go with your solution of evaluating my function and then passing the value to scalebox.