You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Question 2: How to transfer the fixed width and height in tex to the size in asy?
fg:
By obtaining the tex height and width, some calculations may be performed to re pass the new values to the size function in asy.
The areas where tex height and width are needed may include annotations 1, 2, and 3 in the screenshot above.
The text was updated successfully, but these errors were encountered:
Note that the asypictureB package has tools for this. For instance, you can use the macro @the@linewidth inside the asymptote code (which will get preprocessed into the value of the TeX linewidth quantity before the asy code is run). You can also define your own macros, as in this example from the asypictureB documentation:
Again, note that these are capabilities available when using the asypictureB package, which is not the same as the official asymptote package (although both packages call the Asymptote program behind the scenes).
Question 2: How to transfer the fixed width and height in tex to the size in asy?
fg:
By obtaining the tex height and width, some calculations may be performed to re pass the new values to the size function in asy.
The areas where tex height and width are needed may include annotations 1, 2, and 3 in the screenshot above.
The text was updated successfully, but these errors were encountered: