I've been reading the documentation and stuff that I've found on the web 
related to developing customized formats, but am still unclear about many 
things. I'd like to follow up on this post as a way to get some help on the 
things that are of highest priority at the moment. 

Again, I compose in Scrivener, export to LaTeX, and import into LyX. I'd like 
to be able to apply my customizations to multiple documents. I'll be using an 
article class. And again, what I want is simple: Title bold in a font only a 
little large than text, sometimes centered, sometimes at the left margin; 
headings bold at the left margin in a font the same size as text; ability to 
switch between footnotes and endnotes.

On Dec 7, 2011, at 2:43 PM, Guenter Milde wrote:

> * Maybe a LaTeX document class works with some minor configuration that can
>  be done in the document preamble.
> 
>  You need to find it and read the documentation
>  start the LaTeX document with
>  \documentclass{<the-nice-class-i-found> and now there is 
>  a choice:
> 
>  a) import and do the configuration to each
>     imported document under Document>Settings.

Nope. Don't wanna do that. I'd want to be able to use my customizations across 
multiple documents. 

>  b) write a LyX module (document class extension) with your
>     configuration and load it under Document settings (again for each
>     imported document)
> 
>     + you have more config choices than with just a preamble.tex file
>     + you can combine one module with several base classes
>     + you can split your configuration into several modules and combine
>       them at will.
>     - you need to learn both, LaTeX and LyX layout/module syntax
>       (see Help>LaTeX Configuration)

I think this is what I want to do, butI'am not sure, in spite of my reading, 
how to start. My understanding is that modules are similar to layouts except 
that they have a different extension and can be used across documents. I've 
pretty much settled on the KOMA-script classes, specifically for now the 
article class. I've copied the layout for it to the layouts folder in my user 
directory. I'm assuming I can use it as a base for creating the modules I'd 
like to have. 

I've looked at the code in several layouts. I find it more difficult to 
understand than LaTeX code; I can see that something is a command, but I have 
no idea what the command does. If I understand I imagine composing modules for 
modifying KOMA-script titles and headings would be pretty simple, but I don't 
understand.

I'm guessing that the commands listed and defined in section 5.3 of the 
Customizing LyX guide are the ones that I would use. But it's not obvious to me 
which ones I would use for modifying KOMA-script titling and section heading.

I'm taking it that creating a LyX module or layout does not involve any use of 
LATeX commands, but would studying the KOMA-script article class help me 
understand what I need to do to create a module to get the results I want.

Sorry to be such a difficult student, but pointers would be appreciated.

Sincerely,
------------------------------------------------------------------------------------------
Eric Weir
Decatur, GA
[email protected]

"A man should be in the world as though he were not in it 
so that it will be no worse because of his life." 

- Wendell Berry 

Reply via email to