emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Latex equation numbering on left instead of right
Date: Mon, 15 Aug 2016 09:38:50 -0400	[thread overview]
Message-ID: <87eg5qw3rp.fsf@alphaville.usersys.redhat.com> (raw)
In-Reply-To: CAFAhFSWQxQLVLxMwExndqSHp5K5gv14NY4TdE=eeA3qVzC5avg@mail.gmail.com

Lawrence Bottorff <borgauf@gmail.com> writes:

> 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
>

Check the variable org-html-mathjax-options.

-- 
Nick

      reply	other threads:[~2016-08-17  2:52 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
2016-08-15 13:38   ` Nick Dokos [this message]

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=87eg5qw3rp.fsf@alphaville.usersys.redhat.com \
    --to=ndokos@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).