Am Donnerstag 07 August 2014, 14:37:32 schrieb Hofstede, M.C.J.: > Dear fellow LYX-users, > > I'm using LYX to write my Master's Thesis and since I don't have the > experience to build a proper format myself I thought I would use a > template. The template I use is the standard thesis template that comes > with LYX 2.0/2.1 (I use the latter). However, contrary to what the template > does, I want to have an Abstract and Preface before the Table of Contents. > I want all these three parts (abstract, preface and TOC) to have roman > numbering and the parts after the TOC to have new arabic page numbering. > This is what I've tried so far; > > 1. When I simply insert 2 branches with child documents for the abstract > and preface, they don't get numbering. 2. When I copy/paste the part of > the template where the documents starts the actual chapters to just before > the TOC and include the abstract and preface there, the abstract en preface > get arabic numbering starting at 3. The TOC has roman numbering and the > numbering resets to arabic when the chapters start. 3. When I insert TeX > codes to indicate that I want to start roman/arabic numbering , that works > fine, but not for the TOC. The TOC gets seperate roman numbering and within > the TOC, it is indicated that my abstract starts on page 3, while the page > itself shows "I". > > Does anyone know how I can accoplish this within the template?
Do this: * Put branches with the respective child documents (Abstract, Preface) before the TOC * At the very beginning of the main document, insert \frontmatter in ERT * After the TOC, insert \mainmatter in ERT * In the preamble, remove the \frontmatter decaration in the redefinition of \tableofcontents. See the attached, modified main document of the template. Jürgen > Thank you for your attention and kind regards, > > Martijn
thesis.lyx
Description: application/lyx
