[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Feature request: enable toggling of \centering in Latex figure e

From: Nicolas Goaziou
Subject: Re: [O] Feature request: enable toggling of \centering in Latex figure export
Date: Mon, 25 Jul 2016 23:34:02 +0200


Spencer Hill <address@hidden> 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.


Nicolas Goaziou

reply via email to

[Prev in Thread] Current Thread [Next in Thread]