On 12/07/2011 05:07 AM, Eric Weir wrote:
On Dec 6, 2011, at 10:10 AM, Richard Heck wrote:
On 12/06/2011 09:43 AM, Eric Weir wrote:
Getting in a little over my head here, but my naive user's sense is a class
would be required. I imagine it's not so easy to create a new class, even
building on an existing class. I wonder if there is a class out there that
would already provide what I'm looking for.
Classes can be difficult or trivial, and if all you need is what you've
said, then it may be pretty trivial. Let's say you're otherwise happy
with the article class. Then the simplest thing to do is copy it over to
ericscls.cls and make the handful of changes you need to have it the way
you want it. Done. For the LyX layout, copy article.layout over to
ericscls.layout.
Thanks for this, too, Richard. Glad to hear it may not be so difficult after
all. A little unclear about the reference to classes and layouts here. Is it,
as Geunter suggested, that customizing a layout is another option, or do
classes need layouts?
Classes are LaTeX things. Every LaTeX document uses some document class
(cls file). Layouts are LyX things. A layout file basically tells LyX
what it needs to know about a document class. E.g., does it have
chapters? If so, how should they appear in LyX? So using a LaTeX class
with LyX means having a LyX layout file for it.
Richard