I want something like this:
Section Name(this is of section environment)
Centered Displayed Formula (also of section environment)
Beginning of Theorem (this is of theorem environment)
but it won't compile. it would compile if i change the Displayed Formula into an "Inline" formula, but that's not what i want.
i could make the
Centered Displayed Formula
"standard" environment instead of "section" environment, but then I would have to manually increase the font of the formula every single time, which doesn't seem very sophisticated.
I uploaded the lyx file that wouldn't compile. as you can see, if you change the formula into "inline" then it compiles, but that's not what I want

thanks in advance!