# amsthm package support

Hello,

First I would like to congratulate the Lyx development team for this amazing
program. I am a master's degree student in mathematics and Lyx is a hand on
the wheel to create mathematical texts, specially for editing complicated
formulas, which, in bare latex, are ugly and unreadable. For instance, I
can't understand anything here:

$\hat{f}_{n}=\int_{\left[0,1\right)}f\cdot\psi_{n}\, d\mu=\sqrt{2^{k}}\int_{\left[\frac{2r-2}{2^{k+1}},\frac{2r-1}{2^{k+1}}\right]}f\, d\lambda-\sqrt{2^{k}}\int_{\left[\frac{2r-1}{2^{k+1}},\frac{2r}{2^{k+1}}\right]}f\, d\lambda\textrm{,}$

The formula generated is very simple, yet it is not possible to see it in
this code. I have been using Lyx for two years now, and currently I am using
it to write my thesis.

As a mathematician, I frequently use the package amsthm and, as far as I
know, unfortunately, Lyx does not support this package. I need to insert
latex code (\begin{theorem}, \end{theorem} and similar) everywhere. Not that
this is too restrictive, but it would be nicer if those commands where
better integrated with Lyx. Since Lyx already provides amsmath and amssymb
packages whenever that option is chosen in Document configurations, I
believe that it should also provide amsthm with them.

Related to this subject, I found this bug report, but there isn't a
description.

http://www.lyx.org/trac/changeset/22460

Cheers,
Gustavo.