On Tuesday, 22 Apr 2014 at 12:55, Neal Becker wrote: > I have an align environment: > > #+begin_latex > \begin{align*} > \Lambda= & \max_{k,l}\left| > \sum_{i=0}^{M-1}r_{i+l}x_{i}^{*}e^{j2\pi\Delta_{f}ki}+\sum_{i=M}^{2M-1}r_{i+l}x_{i}^{*}e^{j2\pi\Delta_{f}ki}+\cdots\right| > \\ > \approx & \max_{k,l}\left| > \sum_{m}e^{j2\pi\Delta_{f}kmM}\sum_{i=mM}^{(m+1)M-1}r_{i+l}x_{i}^{*}\right| > \end{align*} > #+end_latex > > That exports fine to latex, but not html. Is there a way to do this? The attached works for me. You can have conditional code on the latex src block to generate raw latex when exporting to latex and an image when exporting to html. Check out http://thread.gmane.org/gmane.emacs.orgmode/74474/focus=74762 HTH, eric -- : Eric S Fraga (0xFFFCF67D), Emacs 24.4.50.2, Org release_8.2.5h-1027-g4c0a29