Hi Seb Seb writes:
> When exporting to LaTeX, is there a mechanism to make the figure > captions as wide as the figure? In pure LaTeX, this can be easily > accomplished by placing the figure inside a minipage environment. > Using a special block, as in: > > \begin{minipage}{0.7\textwidth} > > #+CAPTION: looooooong caption. > [[file_path]] > > \end{minipage} > > fails, as it seems impossible to pass arguments to the special block. > Any tips welcome. If you use the caption package (https://www.ctan.org/pkg/caption), you can indicate in each figure the width of the caption. In this case, you would have to introduce the code using raw latex via the `:caption' property: #+LaTeX_Header: \usepackage{caption} #+ATTR_LaTeX: :caption \captionsetup{width=.3\linewidth}\caption{Lorem ipsum dolor sit amet, consectetuer adipiscing elit} #+ATTR_LaTeX: :width .3\linewidth [[file_path]] Best regards, Juan Manuel