From: Spencer Hill <spencerahill@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Feature request: enable toggling of \centering in Latex figure export
Date: Wed, 29 Jun 2016 19:46:56 -0700 [thread overview]
Message-ID: <CA906073-97E2-4E34-9774-DA82EFAD87CE@gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 860 bytes --]
Hello,
First time contributor. Emacs 24.5.1, Org mode 8.3.4.
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!
Best,
Spencer
Spencer Hill
spencerahill@gmail.com
(913) 515-8527
[-- Attachment #2: Type: text/html, Size: 3696 bytes --]
next reply other threads:[~2016-06-30 2:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-30 2:46 Spencer Hill [this message]
2016-07-25 21:34 ` Feature request: enable toggling of \centering in Latex figure export Nicolas Goaziou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CA906073-97E2-4E34-9774-DA82EFAD87CE@gmail.com \
--to=spencerahill@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).