Paul A. Rubin wrote:
[EMAIL PROTECTED] wrote:

Hi again,

just reread your very first reply, seems I really have to create both the .cls and the .layout myself. Wonder how I missed that...hmm well, it's 1am around here so maybe that explains my dropping iq...

The whole thing is getting too much for lil me since both have a different syntax, don't know whether it's worth the effort anymore...maybe I should just shut up and be satisfied with equation editor and crashing documents *shudder*

Anyways, everything hazy now so will leave it till tomorrow...

Lillian


I'm not sure you need a new class file; if the feature list you posted was exhaustive, you can probably use a standard class (say article) and just modify the layout. Need to contemplate further.

Paul


Upon further review, I *think* you can do what you want with just a layout file (based on the article class). The catch is that you'll need to know some LaTeX to write the layout file. Among the layout file's functions are telling LyX how to render certain environments on the screen (which does *not* affect how they show up in the document), specifying options to be passed to the document class, and specifying "boilerplate" contents of the document preamble. The latter two do affect the document format (but not the display within LyX).

I assume that, when you specify that "heading1" should be left-aligned in red smallcap font, that you mean that (a) it should look that way in the final document and (b) you would like it to look that way, to the extent possible, in the LyX window. The latter is easily set in a layout file. I think the former requires defining a "heading1" command in LaTeX (or redefining an existing heading command). You should be able to set those definitions in the preamble (in which case you can set the layout file to generate the preamble commands).

So what we need now is someone more fluent in LaTeX than I to cobble together the right commands. It might be a good idea for you to repost your list of specifications; the length of this thread may deter responses.

Paul

Reply via email to