On Wed, Nov 30, 2022 at 10:03 PM Rich Shepard <rshep...@appl-ecosys.com> wrote:
> On Wed, 30 Nov 2022, Rich Shepard wrote: > > > The reason is that I somehow put the ToC and lists after the Preface, > too. > > Okay. One more issue: Why does the second page of the Preface have 'List of > Tables' in the header rather than 'Preface'? > > Rich > Hello, DId you use \chapter* for the preface title? The starred version does not affect headers. I saw in the preamble that you sent that you use \pagenumbering{roman}, I'm guessing that means you are unaware of the \frontmatter, \mainmatter, \backmatter commands. These macros are usually defined in book document classes. The purpose of \frontmatter is to make the pages numbered in lower case roman numerals, and the chapters to be unnumbered (even the unstarred version), but the chapters (using \chapter not \chapter*) will appear in in the ToC and will change \chaptermark as usual. I think currently lyx is not supporting \frontmatter, so you will need to use it with ERT, and you should note that because of that chapters in the front matter will be numbered in the GUI but not in the exported pdf. The problem with that is it will affect the numbers in the main matter, that's why i usually write the chapters in the front matter in ERT (i.e i write \chapter{Chapter Name} in ERT). I've provided a minimal example to demonstrate that (note the page numbering although i did not write anything in the preamble, and see which chapters are in the ToC). For more information I suggest you read this page <http://latexref.xyz/_005cfrontmatter-_0026-_005cmainmatter-_0026-_005cbackmatter.html> . Regards, Udi > -- > lyx-users mailing list > lyx-users@lists.lyx.org > http://lists.lyx.org/mailman/listinfo/lyx-users >
newfile8.lyx
Description: application/lyx
-- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users