I would like to define a buffer width variable in an org file and use the value from this variable later, for example, determine the width of images for exporting latex.
Is there any way this can be done?
Can this be done using #+CONSTANTS: :?
Ideally, it should work as follows:
I define an image_width variable in a buffer, e.g.
image_width=10
and use this variable for the parameters #+ATTR_LATEX: for example, #+ATTR_LATEX: :width $image_width .
source share