Hi,

I would really like to have some kind of general "environment" paragraph style, so I could insert uncommon environments in a pseudo- lyx style. E.g., if I have only one or two theorems in my article (and I don't want to use an existing style which includes theorems), I don't want to design a new layout file just for that.

My idea was that the text in the paragraph would be the name of the environment, and that one used indentation (environment depth) on the paragraphs that should be part of the environment. But perhaps there are better idea. Right now I have to resort to ERT for the \begin{X} and \end{X}, and the problem apart from being ugly is that X and X should match and that have to be done manually.

I almost succeeded once, but I never figured out how to end the environment, since I didn't know how to remember its name. Have anyone implemented something useful in this direction?


A suggestion for the future would be to have layout files for latex packages too. Then I could write a layout file for the theorem package, and in the document settings just add the theorem layout/ package, and the document class would be independent of that. (As it is now, if I want to be able to use package X in articles, reports, books and slides, I have to make layout files article_X, report_X, book_X and slide_X, which is cumbersome).

regards, Peter

____________________ ____________ _______ _____ ____ __ __ _  _   _

      peter ljunglöf, göteborgs universitet



Reply via email to