emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Latex equation numbering on left instead of right
@ 2016-08-14 23:25 Lawrence Bottorff
  2016-08-15 11:06 ` Lawrence Bottorff
  0 siblings, 1 reply; 3+ messages in thread
From: Lawrence Bottorff @ 2016-08-14 23:25 UTC (permalink / raw)
  To: emacs-orgmode Mailinglist

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

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: 544 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Latex equation numbering on left instead of right
  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
  0 siblings, 1 reply; 3+ messages in thread
From: Lawrence Bottorff @ 2016-08-15 11:06 UTC (permalink / raw)
  To: emacs-orgmode Mailinglist

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Latex equation numbering on left instead of right
  2016-08-15 11:06 ` Lawrence Bottorff
@ 2016-08-15 13:38   ` Nick Dokos
  0 siblings, 0 replies; 3+ messages in thread
From: Nick Dokos @ 2016-08-15 13:38 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-08-17  2:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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

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