Hongyi Zhao <[email protected]> writes:

> With the point inside the math environment, I run the `Preview for
> environment' with `C-c C-p C-e', I will meet the following error:
> preview-environment: No enclosing outer environment found. I attached
> the screenshot here, just FYI.
>
> Any hints for this problem?

Yes, that's because the array environment is an "inner" environment
(`preview-inner-environments') meaning it cannot be previewed on its own
but only as part of the surrounding math environment.  But you don't
have a surrounding math environment, just $...$.  So use a math or
displaymath environment instead.

Bye,
Tassilo

Reply via email to