Thanks to all your help, I'm able to make layout files in my ~/.lyx/layouts 
directory to change just about anything I want in the Lyx environment. But of 
course layout file changes don't change the finished product (.dvi, .ps, .pdf 
etc).

My understanding is I need to make a .sty file to change what I want in the 
finished product. First question: What would be in a myclass.sty file that 
does nothing but change the font size of the Author environment to Giant, 
otherwise keeping the Report text class as-is?

Assuming I can make such a myclass.sty file, my other two questions concern 
what is not said in 6.22. Below I reproduce 6.22, interspersed with my 
twoquestions in angle brackets <>. Thanks in advance. Once I get this figured 
out I'll make a simple tutorial so nobody else will need to ask these silly 
questions again :-)


6.2.2 LaTeX2e sty file

If your new document class is provided as a style file that is used in 
conjunction with an existing, supported document class, start by copying the 
existing class's layout file into your local directory. For the sake of 
example we'll assume that the style file is called myclass.sty and it is 
meant to be used with report.cls which is a standard class. 

<where do I put myclass.sty??>

cp report.layout ~/.lyx/layouts/myclass.layout

Then edit myclass.layout and change the line: 

\DeclareLaTeXClass{report}

to read

\DeclareLaTeXClass[report, myclass.sty]{report (myclass)}

Then add:

Preamble     \usepackage{myclass}EndPreamble

near the top of the file.

<what file? myclass.layout, or something else??>


Reply via email to