On Monday 14 May 2007 17:36, NicoWinger wrote: > Hello, > > I'm still creating a document class for the quote guidelines of our > university and a belonging template. Both is nearly finished, but there is > one thing that still bothers me. The cover: There are very strong > requirements for the position of title, name etc.
I'm beginning to sound like a broken record, but in my opinion every book's front matter is a one-off affair and therefore the proper procedure is to fine tune it with ERT, not to find (or create) a document class conforms to your front matter specs. IIRC I used \leftskip and \rightskip to control the margins in the frontmatter. I didn't even use \title or \author -- I just made environments to properly center and size text for title and author, and put the stuff in, separated of course by the proper \vskip commands. Once I was done with the frontmatter, everything was controlled by the document class and I used almost no ERT. > So far I made it with a > table in the template but I would like to create new LaTeX-commands in the > document class for putting every style (Name, Title etc.) at its specified > position on the page with a label (similar to the letter-class). That would > enable the user to create the cover without template setting a style for > any detail. I think that's going to turn out to be a nightmare -- you're basically reengineering and reassembling some very complex LaTeX code provided by your document class (or the parent document class). You can use ERT, using \vskip, \hskip, \vfill and \hfill, to sequentially place every component exactly where you want it. I don't use stuff like \author and \title at all -- I just put in properly sized and centered text. I used to spend a week on every book trying to get my layout file to properly put in everything, and heaven help me if I had one thing that was different. Nowadays, I fine tune my entire frontmatter, and it's a matter of a few hours. SteveT Steve Litt Author: Universal Troubleshooting Process books and courseware http://www.troubleshooters.com/