I need some advice.
I'm trying to write a book, but I'm not quite sure about the layout that I 
wish  to have for theorems,exercises, etc. 
Right now I use 
{\theorembodyfont{\upshape} \newtheorem{Theor}{Theorem}}

but what if I want to have all the theorems in a colored frames, using the  
framed package, would I not have to change all the theorems in the entire lyx 
file? Perhaps it could be done with sed, but I'd rather just do it in the 
preamble.
The question is then, what strategy should I use to get a very flexible 
theorem "environment" ?
Is creating an environment like this:

\newenvironment{Th}{\begin{Theor}%other fancy stuff} {\end{Theor}}

a good solution?

One option is to first determine the style before I write it, but I'd rather 
just write the text, and afterwards do changes to the style.

Any advice from you is appreciated.
Gunnar.

Reply via email to