On Tuesday 01 June 2010 11:35:33 Will wrote: > I am trying to modify the book class for my thesis. I have a LaTeX class > file which basically woks, but there are a few suboptimal interactions with > LyX right now that I would like to correct (so I could give the *.cls and > *.layout files to other students writing theses at my school). > > I have one side question first. Is there an introduction to how to write > new layouts posted anywhere on the internet?
http://www.troubleshooters.com/linux/lyx/index.htm This is the overall jump page to many LyX documents, quite a few dealing with making layout files. .cls files are not covered, nor are they necessary to do what's covered by this series of pages. > The only layout documentation > I have been able to find describes how to modify an existing layout to use > a new LaTeX *.cls or *.sty file and advises users to look at previous > layout files for examples (which I find frustrating). > > The main thing I want to do is add an abstract in front of my title page. > Right now I modify the \maketitle command to include the abstract before > the title page. I define abstractText{} which contains the text for the > abstract. I have to put this in the preamble right now because of the way > LyX formats the LaTeX (it puts \maketitle before \abstractText{} if I try > to put \abstractText{} into the main document). I would like to be able > to type the abstract text into the main document using an environment > selected from the environment drop down box. <warning type="broken record"> It's my strong belief that the frontmatter of a large document should be fine- tuned, finger-painted, ERT, etc. I wouldn't use the \maketitle command at all, but instead would just put the right stuff where it belongs. I believe that the frontmatter is typically a one-off affair that needn't be consistent throughout, whereas the mainmatter must be consistent throughout, which is why I use almost no ERT in the mainmatter. YMMV. </warning> StevET Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt
