3

By default these org lines:

my image:
[[./figure1.png]]

are exported into these ones in latex:

\includegraphics[width=.9\linewidth]{./figure1.png}

How can I change the default value of width \width=.9\linewidth?

I know that it is possible to change locally just before each picture, but it is possible to set another default value?

#+ATTR_LATEX: :width 0.98\linewidth
[[./figure1.png]]
3

You can customize this via the variable org-latex-image-default-width.

To set just for the current file, you could put the following at the top of the file:

#+BIND: org-latex-image-default-width 0.98\linewidth

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.