Hello,

Spencer Hill <spencerah...@gmail.com> writes:

> MWE:
> #+CAPTION: Figure caption.
> [[file:figure01.pdf]]
>
> Issue:
> When an image is exported to LaTeX as a float, the \centering command
> is hard-coded into the export: see org-latex--inline-image in
> ox-latex.el. This is not the case for tables, for which centering can
> be toggled via #+ATTR_LATEX: centering t. I would like for this same
> centering option to be made available for figure floats also.
>
> Motivation:
> I am attempting to render a .tex file for an article submission to a journal, 
> and the publisher requires the figures to be left-aligned.
>
> It seems like a simple enough patch, but I have 0 elisp experience so
> wouldn't be the person for the job.  Or let me know if I'm missing
> something.  Thanks!

Done in development branch. Please test it and report anything wrong.

Regards,

-- 
Nicolas Goaziou

Reply via email to