On Tue, 10 Feb 2009 22:03:26 -0500 rgheck <rgh...@bobjweil.com> wrote:
> Steve Litt wrote: > > On Tuesday 10 February 2009 09:58:42 am Piotr Sulecki wrote: > > > >> rh, > >> > >> 2009/2/10 rgheck <rgh...@bobjweil.com>: > >> > >>>> I'm trying to write a novel in LyX, and I run into some problems > >>>> with sectioning. > >>>> > >>>> The structure I have in mind is, the book would be divided into > >>>> 50+ parts, each part having ten or so short chapters (about > >>>> 50-60 pages per part). [...] > >>>> > >>>> The problem is, while I do want the book parts to be titled, I > >>>> don't want the chapters titled, just numbered. > >>>> [...] > >>>> The real problem is, how do I make the chapters untitled? > >>>> > >>>> I know I can put a single hard space (Ctl-Space) as the > >>>> chapter's title, but > >>>> it's a waste of space on a chapter title page, and it won't look > >>>> right in the TOC. > >>>> > >>> Put a blank ERT where the chapter title goes. > >>> > >> By a blank ERT you mean an '{}' ERT, right? > >> > >> Would this make the chapter start page to consume less vertical > >> space? > >> > >> Besides, it's not really an answer, my original question included > >> the > > following: > > > >>>> Is there any way to do this without using ERT on every single > >>>> chapter heading? > >>>> > > > > I'm pretty sure you can redefine the chapter environment so that > > before invoking the text, you set #1 or whatever the argument's > > called to an empty string. Then you can just use any string in the > > chapter environment, and it won't show up in the ps/pdf environment. > > > > > Yes, that would be possible. But still kind of messy. > > > You can't use an environment on blank spaces (unless they're > > nonbreaking blanks) because LyX doesn't work that way. > > > > > You can if you use the KeepEmpty layout tag. Then you can have empty > paragraphs. Still not ideal. > > rh I'm not sure, but the section on "Changing the chapter headings" here might be what you are looking for: http://theoval.cmp.uea.ac.uk/~nlct/latex/thesis/thesis.html Alan > >