1,195 reputation
220
bio website
location
age
visits member for 2 years, 1 month
seen Nov 12 at 23:01

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.
Nov
5
revised Expansion for Macro to pass to scaleBox
added 1121 characters in body
Nov
5
comment Expansion for Macro to pass to scaleBox
@DavidCarlisle: I am trying to write a small package to solve my old problem tex.stackexchange.com/a/125722/19326. The idea is to automatically do some calculation and retireve the result to pass it to a scaling package like scalebox or adjustbox. I need csname for the retrival.
Nov
5
asked Expansion for Macro to pass to scaleBox
Sep
29
awarded  Yearling
Aug
15
awarded  Popular Question
Jul
17
awarded  Popular Question
Jul
7
comment Font size for TikZ picture datavisualization
@PaulGessler since I did have to turn in my works and had other pressing issues I do not recall having found a solution, usually I post it back here. While the question has become irrelevant for me a solution still is apreciated.
Jul
2
awarded  Curious
Apr
3
awarded  Popular Question
Mar
20
comment glossaries special sorting for one glossary
thank you very much for this new feature, while I already turned in the thesis for which I required this (and worked arround it by adding sort keys by hand), this will come in handy
Mar
20
accepted glossaries special sorting for one glossary
Sep
29
awarded  Yearling
Sep
23
comment How to put symbol around the equal sign?
I suggest modifying egregs command to this form: \newcommand{\eq}[2]{\mathrel{\operatorname*{=}_{#1}^{#2}}} which allows empty strings as its arguments in case one wants text only above or below the operator