From: Giacomo Boffi <giacomo.boffi@polimi.it>
To: help-gnu-emacs@gnu.org
Subject: Re: bad interaction: beamer, amsmath, preview-latex
Date: Wed, 12 May 2010 14:57:34 +0200 [thread overview]
Message-ID: <86632ttgzl.fsf@aiuole.stru.polimi.it> (raw)
In-Reply-To: 87vdat4e2t.fsf@lola.goethe.zz
David Kastrup <dak@gnu.org> writes:
> Giacomo Boffi <giacomo.boffi@polimi.it> writes:
>
>> _[xposted, followup set to gnu.emacs.help]_
>>
>> i have two files, one (yb.tex) that uses the beamer class and another
>> (nb.tex) that uses the article class
>>
>> when i use preview-latex to generate inline pictures of my equation,
>> in the first case it does not work, while in the second case it works
>> as usual
>
> You'll need some decisions about what kind of previews you want --
> whole slides, just equations or something. And then you need to
> configure preview.sty to deal with what you want. Should be
> described in the manual.
but it's not easy to be spotted...
i used
...
\usepackage[displaymath,textmath,sections]{preview}
\begin{document}
...
but math in ams environments was not rendered in emacs
then i added a preview environment to an AMS display
\begin{preview}
\begin{align*}
\mat{U}\,\vet{x}_{n+1}&=\vet{z}_{n+1}\\
\mat{L}\,\vet{z}_{n+1}&=\vet{w}_{n}
\end{align*}
\end{preview}
i got what i wanted, yes, but i felt that going back to every AMS
environment i used was a little too much, but finally i used
...
\usepackage[displaymath,textmath,sections]{preview}
\PreviewEnvironment{align*} % etc
\begin{document}
...
and now i'm happy
now, if someone (David?) could explain a better solution or, maybe,
give the "preview whole slides" howto...
thank you,
g
--
per crimini come l'umanita'. MMAX, in IPI+IHC
prev parent reply other threads:[~2010-05-12 12:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-12 9:45 bad interaction: beamer, amsmath, preview-latex Giacomo Boffi
2010-05-12 10:19 ` David Kastrup
2010-05-12 12:57 ` Giacomo Boffi [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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86632ttgzl.fsf@aiuole.stru.polimi.it \
--to=giacomo.boffi@polimi.it \
--cc=help-gnu-emacs@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 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.