I'm trying to put together a LyX layout for JHEP3.cls. This is fairly widely used in physics, and produces a nice titlepage and toc. It has the peculiarity that all of the titlepage type material (title, authors, abstract, etc.) has to appear /before/ the \begin{document} command. I'd like to be able to edit these things through the main LyX interface, rather than through the preamble window, so I was wondering if there's a way to define a new paragraph style that would put the contents in the preamble, rather than after it.

I've read through section 5.3 of the "Cusotmization" file, looked at a few of the standard layout files, and looked through the forums a bit, but haven't found a way to make this happen. I noticed the "Preamble" command, but it sounds like that only put some fixed text into the preamble, whereas I want to be able to type something e.g. the "JHEP Abstract" environment in LyX and have it appear in \abstract{...} /before/ the \begin{document} command.

Is there any way to make this happen?

-ross

Reply via email to