emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Lawrence Bottorff <borgauf@gmail.com>
To: emacs-orgmode Mailinglist <emacs-orgmode@gnu.org>
Subject: Re: Latex equation numbering on left instead of right
Date: Mon, 15 Aug 2016 07:06:16 -0400	[thread overview]
Message-ID: <CAFAhFSWQxQLVLxMwExndqSHp5K5gv14NY4TdE=eeA3qVzC5avg@mail.gmail.com> (raw)
In-Reply-To: <CAFAhFSVozz529GQ_Tr=C30QDQjF_WZjE8_DxBGjFhg7D0_bKOA@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1579 bytes --]

Okay, an Emacs StackExchange person said I'd have to alter the actual
HTML/CSS, that adding #+LaTeX_CLASS_OPTIONS: [oneside,reqno] would not help
the HTML output -- and it doesn't. I did find the HTML section

<script type="text/x-mathjax-config">
    MathJax.Hub.Config({
        displayAlign: "left",
        displayIndent: "5em",

        "HTML-CSS": { scale: 100,
                        linebreaks: { automatic: "false" },
                        webFont: "Neo-Euler"
                       },
        SVG: {scale: 100,
              linebreaks: { automatic: "false" },
              font: "Neo-Euler"},
        NativeMML: {scale: 100},
        TeX: { equationNumbers: {autoNumber: "AMS"},
               MultLineWidth: "85%",
               TagSide: "right",
               TagIndent: ".8em"
             }
});
</script>

where the TagSide "left" can be changed after output by hand to "right",
and that solves the problem. So how would I tell org-mode to make this
change? Is there any control over MathJax from Emacs variables or my
org-mode file?

On Sun, Aug 14, 2016 at 7:25 PM, Lawrence Bottorff <borgauf@gmail.com>
wrote:

> I've got this
>
> \begin{align}
> n &= 0 \\
> n &= m + 1
> \end{align}
>
> in an org-mode buffer. When I produce a Latex output, the numbering n = 0
>     (1) etc. is properly placed on the right. But an HTML output places the
> numbering on the left. What do I need to do to have both HTML and Latex
> output place the equation numbering off to the right? One Latex tip was to
> include \documentclass[12pt,oneside,reqno]{amsart} where t
>

[-- Attachment #2: Type: text/html, Size: 2497 bytes --]

  reply	other threads:[~2016-08-15 11:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-14 23:25 Latex equation numbering on left instead of right Lawrence Bottorff
2016-08-15 11:06 ` Lawrence Bottorff [this message]
2016-08-15 13:38   ` Nick Dokos

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='CAFAhFSWQxQLVLxMwExndqSHp5K5gv14NY4TdE=eeA3qVzC5avg@mail.gmail.com' \
    --to=borgauf@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).