all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Justifying a formula
@ 2017-03-07 20:20 Lawrence Bottorff
  2017-03-08  4:02 ` Nick Dokos
  0 siblings, 1 reply; 2+ messages in thread
From: Lawrence Bottorff @ 2017-03-07 20:20 UTC (permalink / raw)
  To: emacs-orgmode Mailinglist

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

Here's what I have in a buffer:

* This basic pseudo-code tells of an internally-defined variable that
holds, /accumulates/ as the recursion drills down:

\begin{align*}
sumprod(x) \equiv if \; eq(x,NIL) \; then \; 2.list(s,p) \\
 else \\
  \{let \; z = sumprod(cdr(x)) \\
    2.list(car(z) + car(x), car(cdr(z) \cdot car(x))\}
\end{align*}

which produces this as HTML:

sumprod(x) ≡ if eq(x,NIL) then 2.list(s,p)
                                                        else
                         {let z = sumprod(cdr(x))
 2.list(car(z) + car(x), car(cdr(z) ⋅ car(x))}

which seems to be right justified. How can I get normal left justification?

BTW,

#+HTML_MATHJAX: align: left indent: 5em tagside: left font: Neo-Euler

seems to be ignored. Latex seems to have

\usepackage[fleqn]{amsmath}

but I'm assuming org-mode HTML export doesn't really use this. (Actually,
Latex export ignores

#+LaTeX_HEADER: \usepackage{mathtools}
#+LaTeX_HEADER: \usepackage[fleqn]{mathtools}

as well.)

Latest, greatest everything.

LB

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

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

end of thread, other threads:[~2017-03-08  4:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-07 20:20 Justifying a formula Lawrence Bottorff
2017-03-08  4:02 ` Nick Dokos

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.