Steve Litt wrote: > > I ran the preceding on my machine's lyx directory and my personal .lyx > directory, and found nothing specifically identifying article.layout. > > Also, I have no idea how to make a myarticle.sty file, and where to put it > when I've made it. What's the simplest myarticle.sty file I could make that > would change something so I know it's having an effect? lyx searchs first in the home ~/.lyx/layout for layout files. at second in /usr/share/lyx/layouts or any other, if you installed it with another dir. put the attached article.layout in there and than copy it cp article.layout myArticle.layout edit in myArticle.layout the first two lines to the following #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass{article (myArticle)} this means that your (special) article class dependes to the latex article class. now run reconfigure and in lyx should all work well, you are able to modify the internal structure of myArticle Herbert -- http://www.educat.hu-berlin.de/~voss/lyx/
#% Do not delete the line below; configure depends on this # \DeclareLaTeXClass{article} # Article textclass definition file. Taken from initial LyX source code # Author : Matthias Ettrich <[EMAIL PROTECTED]> # Transposed by Pascal André <[EMAIL PROTECTED]> # Heavily modifed and enhanced by serveral developers. # Input general definitions Input stdclass.inc Input option.inc Input myArticle.inc # # There are no chapters in an article. NoStyle Chapter NoStyle Chapter* MaxCounter Counter_Section SecNumDepth 3 TocDepth 3 # Change a bit Part and Part* Style Part Align Left AlignPossible Left TopSep 2 BottomSep 1.5 Font Size Larger EndFont End Style Part* Align Left AlignPossible Left TopSep 2 BottomSep 1.5 Font Size Larger EndFont End