Re: [O] Org-mode previews: equation numbers

2014-10-02 Thread Eric S Fraga
On Monday, 29 Sep 2014 at 15:23, Adam Sneller wrote:

[...]

 By-the-way, the only way I could get the equation numbers to
 increment upward was to manually include these with \tag{1} and \tag
 {2}. Otherwise, org-mode numbers each equation as a (1). Is there
 some setting that will enable autonumbering?

I would think that this would be difficult, i.e. not possible, to
achieve as each snippet is a separate LaTeX invocation.  My own view is
that numbers don't actually matter during writing as they are all
ephemeral.  It's in the final complete document that they matter.

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 24.3.1, Org release_8.3beta-372-gdd70cf



[O] Org-mode previews: equation numbers

2014-09-29 Thread Adam Sneller
I have noticed that the org-preview-latex-fragment command left-aligns previews 
for display equations. But it looks like margins are calulated so that equation 
numbers line up when display equations are centered (the way they are in 
AUCTeX).

Is it possible to re-align these previews?

Here is some sample code:

   A numbered display equation:

   \begin{equation}
   \frac{\partial u}{\partial t}-\alpha\nabla^2u=0\label{eq:1}\tag{1}
   \end{equation}

   A second numbered equation:

   \begin{equation}
   E=MC^2\label{eq:2}\tag{2}
   \end{equation}

And here is the screenshot of the buffer after running C-c C-x C-l




By-the-way, the only way I could get the equation numbers to increment upward 
was to manually include these with \tag{1} and \tag{2}. Otherwise, org-mode 
numbers each equation as a (1). Is there some setting that will enable 
autonumbering?

Thanks!
-Adam


Adam Sneller
a...@earth2adam.com
(310) 463-0287