TOC font changes, adding dots between heading and page
Hi all, Im trying to tweak a few things in my Table of contents. 1) I need to change how Lyx makes all new sections(ie chapter, list of tables, list of figures, etc) in bold font and the corresponding listed page number is in bold as well. I need to make the whole thing in normal font. 2) I need to have the dots that go from section to page number ie: 1.1Background... 1 Apply to all items in the table of contents. Right now, the main chapter titles do not have these dots, nor do items such as list of tables, list of figures etc. Only subsections within each chapter have them, and I need to include them for all entries. 3) Finally, I need to change the title to Table of Contents, not contents I am using Lyx 1.44 on a mac with the report class. Thanks, Charles
Re: TOC font changes, adding dots between heading and page
Lyx Physicst wrote: Hi all, Im trying to tweak a few things in my Table of contents. 1) I need to change how Lyx makes all new sections(ie chapter, list of tables, list of figures, etc) in bold font and the corresponding listed page number is in bold as well. I need to make the whole thing in normal font. 2) I need to have the dots that go from section to page number ie: 1.1Background... 1 Apply to all items in the table of contents. Right now, the main chapter titles do not have these dots, nor do items such as list of tables, list of figures etc. Only subsections within each chapter have them, and I need to include them for all entries. 3) Finally, I need to change the title to Table of Contents, not contents I am using Lyx 1.44 on a mac with the report class. Thanks, Charles Over use of dotted lines is very ugly and a bad habit left from MsWord. You seem to be a tweaker and you should borrow / buy the LaTeX Companion. It is a big expensive book but a good investment. Cheers, Charles -- http://www.kde-france.org
Re: TOC font changes, adding dots between heading and page
On 7/20/07, Charles de Miramon [EMAIL PROTECTED] wrote: Lyx Physicst wrote: Hi all, Im trying to tweak a few things in my Table of contents. 1) I need to change how Lyx makes all new sections(ie chapter, list of tables, list of figures, etc) in bold font and the corresponding listed page number is in bold as well. I need to make the whole thing in normal font. 2) I need to have the dots that go from section to page number ie: 1.1Background... 1 Apply to all items in the table of contents. Right now, the main chapter titles do not have these dots, nor do items such as list of tables, list of figures etc. Only subsections within each chapter have them, and I need to include them for all entries. 3) Finally, I need to change the title to Table of Contents, not contents I am using Lyx 1.44 on a mac with the report class. Thanks, Charles Over use of dotted lines is very ugly and a bad habit left from MsWord. You seem to be a tweaker and you should borrow / buy the LaTeX Companion. It is a big expensive book but a good investment. Cheers, Charles -- http://www.kde-france.org Charles, I agree that is ugly and if it were up to me I wouldnt use it. But the editors at my graduate school are making me change the default Lyx format to their standards and that uses dots for all the sections All of these changes are their doing, not mine. I think it looks great as is...
Re: TOC font changes, adding dots between heading and page
On 7/20/07, Bob Lounsbury [EMAIL PROTECTED] wrote: On 7/20/07, Lyx Physicst [EMAIL PROTECTED] wrote: On 7/20/07, Charles de Miramon [EMAIL PROTECTED] wrote: Lyx Physicst wrote: Hi all, Im trying to tweak a few things in my Table of contents. 1) I need to change how Lyx makes all new sections(ie chapter, list of tables, list of figures, etc) in bold font and the corresponding listed page number is in bold as well. I need to make the whole thing in normal font. 2) I need to have the dots that go from section to page number ie: 1.1Background... 1 Apply to all items in the table of contents. Right now, the main chapter titles do not have these dots, nor do items such as list of tables, list of figures etc. Only subsections within each chapter have them, and I need to include them for all entries. 3) Finally, I need to change the title to Table of Contents, not contents I am using Lyx 1.44 on a mac with the report class. Thanks, Charles Over use of dotted lines is very ugly and a bad habit left from MsWord. You seem to be a tweaker and you should borrow / buy the LaTeX Companion. It is a big expensive book but a good investment. Cheers, Charles -- http://www.kde-france.org Charles, I agree that is ugly and if it were up to me I wouldnt use it. But the editors at my graduate school are making me change the default Lyx format to their standards and that uses dots for all the sections All of these changes are their doing, not mine. I think it looks great as is... The tocloft package will do everything that you need. Grab the package documentation and read through it. It took me quite a while to figure out how to add dotted leaders to chapters or sections. This was a requirement for my thesis also. I've attached a simple example of how to add dotted leaders and change the name of the table of contents. Consult the tocloft documentation for the other requirements. Cheers, Bob Lounsbury Thanks bob, that got the name change and the dots correct, but for some reason my List of Tables and List of Figures got dropped from the Table of contents when I added your tex into my preamble... Is there any reason for this, or do I need to add something else? Charles
Re: TOC font changes, adding dots between heading and page
On 7/20/07, Lyx Physicst [EMAIL PROTECTED] wrote: Thanks bob, that got the name change and the dots correct, but for some reason my List of Tables and List of Figures got dropped from the Table of contents when I added your tex into my preamble... Is there any reason for this, or do I need to add something else? Charles I don't know the reason, but you can add the Table of Contents, List of Figures, List of Figures, and BibTeX bibliography to the Table of contents using \usepackage{tocbibind} in the preamble. Or if you just want to add one or the other then you can add \addcontentsline{toc}{chapter}{List of Figures} next to the List of Figures callout in ERT. Bob
Re: TOC font changes, adding dots between heading and page
On 7/20/07, Lyx Physicst [EMAIL PROTECTED] wrote: On 7/20/07, Charles de Miramon [EMAIL PROTECTED] wrote: Lyx Physicst wrote: Hi all, Im trying to tweak a few things in my Table of contents. 1) I need to change how Lyx makes all new sections(ie chapter, list of tables, list of figures, etc) in bold font and the corresponding listed page number is in bold as well. I need to make the whole thing in normal font. 2) I need to have the dots that go from section to page number ie: 1.1Background... 1 Apply to all items in the table of contents. Right now, the main chapter titles do not have these dots, nor do items such as list of tables, list of figures etc. Only subsections within each chapter have them, and I need to include them for all entries. 3) Finally, I need to change the title to Table of Contents, not contents I am using Lyx 1.44 on a mac with the report class. Thanks, Charles Over use of dotted lines is very ugly and a bad habit left from MsWord. You seem to be a tweaker and you should borrow / buy the LaTeX Companion. It is a big expensive book but a good investment. Cheers, Charles -- http://www.kde-france.org Charles, I agree that is ugly and if it were up to me I wouldnt use it. But the editors at my graduate school are making me change the default Lyx format to their standards and that uses dots for all the sections All of these changes are their doing, not mine. I think it looks great as is... The tocloft package will do everything that you need. Grab the package documentation and read through it. It took me quite a while to figure out how to add dotted leaders to chapters or sections. This was a requirement for my thesis also. I've attached a simple example of how to add dotted leaders and change the name of the table of contents. Consult the tocloft documentation for the other requirements. Cheers, Bob Lounsbury newfile1-1.4.4.lyx Description: application/lyx
Re: TOC font changes, adding dots between heading and page
On 7/20/07, Bob Lounsbury [EMAIL PROTECTED] wrote: On 7/20/07, Lyx Physicst [EMAIL PROTECTED] wrote: Thanks bob, that got the name change and the dots correct, but for some reason my List of Tables and List of Figures got dropped from the Table of contents when I added your tex into my preamble... Is there any reason for this, or do I need to add something else? Charles I don't know the reason, but you can add the Table of Contents, List of Figures, List of Figures, and BibTeX bibliography to the Table of contents using \usepackage{tocbibind} in the preamble. Or if you just want to add one or the other then you can add \addcontentsline{toc}{chapter}{List of Figures} next to the List of Figures callout in ERT. Bob So I did that, and it worked. But now my page numbers are off... For the first sections(acknowlegments, list of tables, list of figures, abbreviations, etc) I have roman numerals counting. Then the counter starts at 1 once the text of Chapter one starts. Well now my roman numerals are off by one page. It says the LOT starts at vi, but it really starts at vii and so all the other ones are off by one... Is this due to the tocloft package?
Re: TOC font changes, adding dots between heading and page
On Friday 20 July 2007 11:33, Charles de Miramon wrote: That's right, and before you buy LaTeX Companion, you should learn TeX so that LaTeX Companion makes sense. I recommend these two: http://www.ctan.org/tex-archive/info/impatient/book.pdf http://www.troubleshooters.com/linux/lyx/lyx_latex_tex.htm SteveT
Re: TOC font changes, adding dots between heading and page
On 7/20/07, Lyx Physicst [EMAIL PROTECTED] wrote: I don't know the reason, but you can add the Table of Contents, List of Figures, List of Figures, and BibTeX bibliography to the Table of contents using \usepackage{tocbibind} in the preamble. Or if you just want to add one or the other then you can add \addcontentsline{toc}{chapter}{List of Figures} next to the List of Figures callout in ERT. Bob So I did that, and it worked. But now my page numbers are off... For the first sections(acknowlegments, list of tables, list of figures, abbreviations, etc) I have roman numerals counting. Then the counter starts at 1 once the text of Chapter one starts. Well now my roman numerals are off by one page. It says the LOT starts at vi, but it really starts at vii and so all the other ones are off by one... Is this due to the tocloft package? I'm not following. Have you separated your addcontentsline commands? Here's an example as you've described number acknowledgments, lof, and lot in roman and the chapter 1 in arabic. There is no page number issue. Bob newfile1-1.4.4.lyx Description: application/lyx
Re: TOC font changes, adding dots between heading and page
On 7/20/07, Bob Lounsbury [EMAIL PROTECTED] wrote: On 7/20/07, Lyx Physicst [EMAIL PROTECTED] wrote: I don't know the reason, but you can add the Table of Contents, List of Figures, List of Figures, and BibTeX bibliography to the Table of contents using \usepackage{tocbibind} in the preamble. Or if you just want to add one or the other then you can add \addcontentsline{toc}{chapter}{List of Figures} next to the List of Figures callout in ERT. Bob So I did that, and it worked. But now my page numbers are off... For the first sections(acknowlegments, list of tables, list of figures, abbreviations, etc) I have roman numerals counting. Then the counter starts at 1 once the text of Chapter one starts. Well now my roman numerals are off by one page. It says the LOT starts at vi, but it really starts at vii and so all the other ones are off by one... Is this due to the tocloft package? I'm not following. Have you separated your addcontentsline commands? Here's an example as you've described number acknowledgments, lof, and lot in roman and the chapter 1 in arabic. There is no page number issue. Bob Yes, your sample is correct in how I would like it. But, my TOC is two pages long, so the counter skips the second page of the TOC and labels it as the first page of the LOT(the next section) So my TOC is on page v and vi, and the LOT starts at vii, but is being listed as starting at vi. I hope I explained it better..
Re: TOC font changes, adding dots between heading and page
On 7/20/07, Lyx Physicst [EMAIL PROTECTED] wrote: On 7/20/07, Bob Lounsbury [EMAIL PROTECTED] wrote: On 7/20/07, Lyx Physicst [EMAIL PROTECTED] wrote: I don't know the reason, but you can add the Table of Contents, List of Figures, List of Figures, and BibTeX bibliography to the Table of contents using \usepackage{tocbibind} in the preamble. Or if you just want to add one or the other then you can add \addcontentsline{toc}{chapter}{List of Figures} next to the List of Figures callout in ERT. Bob So I did that, and it worked. But now my page numbers are off... For the first sections(acknowlegments, list of tables, list of figures, abbreviations, etc) I have roman numerals counting. Then the counter starts at 1 once the text of Chapter one starts. Well now my roman numerals are off by one page. It says the LOT starts at vi, but it really starts at vii and so all the other ones are off by one... Is this due to the tocloft package? I'm not following. Have you separated your addcontentsline commands? Here's an example as you've described number acknowledgments, lof, and lot in roman and the chapter 1 in arabic. There is no page number issue. Bob Yes, your sample is correct in how I would like it. But, my TOC is two pages long, so the counter skips the second page of the TOC and labels it as the first page of the LOT(the next section) So my TOC is on page v and vi, and the LOT starts at vii, but is being listed as starting at vi. I hope I explained it better.. That makes sense, but I can't reproduce it. I added chapters and sections such that the TOC was two pages long and the numbering was still correct. Something else must be going on or conflicting. Maybe, you could send a minimal example. Bob
TOC font changes, adding dots between heading and page
Hi all, Im trying to tweak a few things in my Table of contents. 1) I need to change how Lyx makes all new sections(ie chapter, list of tables, list of figures, etc) in bold font and the corresponding listed page number is in bold as well. I need to make the whole thing in normal font. 2) I need to have the dots that go from section to page number ie: 1.1Background... 1 Apply to all items in the table of contents. Right now, the main chapter titles do not have these dots, nor do items such as list of tables, list of figures etc. Only subsections within each chapter have them, and I need to include them for all entries. 3) Finally, I need to change the title to Table of Contents, not contents I am using Lyx 1.44 on a mac with the report class. Thanks, Charles
Re: TOC font changes, adding dots between heading and page
Lyx Physicst wrote: Hi all, Im trying to tweak a few things in my Table of contents. 1) I need to change how Lyx makes all new sections(ie chapter, list of tables, list of figures, etc) in bold font and the corresponding listed page number is in bold as well. I need to make the whole thing in normal font. 2) I need to have the dots that go from section to page number ie: 1.1Background... 1 Apply to all items in the table of contents. Right now, the main chapter titles do not have these dots, nor do items such as list of tables, list of figures etc. Only subsections within each chapter have them, and I need to include them for all entries. 3) Finally, I need to change the title to Table of Contents, not contents I am using Lyx 1.44 on a mac with the report class. Thanks, Charles Over use of dotted lines is very ugly and a bad habit left from MsWord. You seem to be a tweaker and you should borrow / buy the LaTeX Companion. It is a big expensive book but a good investment. Cheers, Charles -- http://www.kde-france.org
Re: TOC font changes, adding dots between heading and page
On 7/20/07, Charles de Miramon [EMAIL PROTECTED] wrote: Lyx Physicst wrote: Hi all, Im trying to tweak a few things in my Table of contents. 1) I need to change how Lyx makes all new sections(ie chapter, list of tables, list of figures, etc) in bold font and the corresponding listed page number is in bold as well. I need to make the whole thing in normal font. 2) I need to have the dots that go from section to page number ie: 1.1Background... 1 Apply to all items in the table of contents. Right now, the main chapter titles do not have these dots, nor do items such as list of tables, list of figures etc. Only subsections within each chapter have them, and I need to include them for all entries. 3) Finally, I need to change the title to Table of Contents, not contents I am using Lyx 1.44 on a mac with the report class. Thanks, Charles Over use of dotted lines is very ugly and a bad habit left from MsWord. You seem to be a tweaker and you should borrow / buy the LaTeX Companion. It is a big expensive book but a good investment. Cheers, Charles -- http://www.kde-france.org Charles, I agree that is ugly and if it were up to me I wouldnt use it. But the editors at my graduate school are making me change the default Lyx format to their standards and that uses dots for all the sections All of these changes are their doing, not mine. I think it looks great as is...
Re: TOC font changes, adding dots between heading and page
On 7/20/07, Bob Lounsbury [EMAIL PROTECTED] wrote: On 7/20/07, Lyx Physicst [EMAIL PROTECTED] wrote: On 7/20/07, Charles de Miramon [EMAIL PROTECTED] wrote: Lyx Physicst wrote: Hi all, Im trying to tweak a few things in my Table of contents. 1) I need to change how Lyx makes all new sections(ie chapter, list of tables, list of figures, etc) in bold font and the corresponding listed page number is in bold as well. I need to make the whole thing in normal font. 2) I need to have the dots that go from section to page number ie: 1.1Background... 1 Apply to all items in the table of contents. Right now, the main chapter titles do not have these dots, nor do items such as list of tables, list of figures etc. Only subsections within each chapter have them, and I need to include them for all entries. 3) Finally, I need to change the title to Table of Contents, not contents I am using Lyx 1.44 on a mac with the report class. Thanks, Charles Over use of dotted lines is very ugly and a bad habit left from MsWord. You seem to be a tweaker and you should borrow / buy the LaTeX Companion. It is a big expensive book but a good investment. Cheers, Charles -- http://www.kde-france.org Charles, I agree that is ugly and if it were up to me I wouldnt use it. But the editors at my graduate school are making me change the default Lyx format to their standards and that uses dots for all the sections All of these changes are their doing, not mine. I think it looks great as is... The tocloft package will do everything that you need. Grab the package documentation and read through it. It took me quite a while to figure out how to add dotted leaders to chapters or sections. This was a requirement for my thesis also. I've attached a simple example of how to add dotted leaders and change the name of the table of contents. Consult the tocloft documentation for the other requirements. Cheers, Bob Lounsbury Thanks bob, that got the name change and the dots correct, but for some reason my List of Tables and List of Figures got dropped from the Table of contents when I added your tex into my preamble... Is there any reason for this, or do I need to add something else? Charles
Re: TOC font changes, adding dots between heading and page
On 7/20/07, Lyx Physicst [EMAIL PROTECTED] wrote: Thanks bob, that got the name change and the dots correct, but for some reason my List of Tables and List of Figures got dropped from the Table of contents when I added your tex into my preamble... Is there any reason for this, or do I need to add something else? Charles I don't know the reason, but you can add the Table of Contents, List of Figures, List of Figures, and BibTeX bibliography to the Table of contents using \usepackage{tocbibind} in the preamble. Or if you just want to add one or the other then you can add \addcontentsline{toc}{chapter}{List of Figures} next to the List of Figures callout in ERT. Bob
Re: TOC font changes, adding dots between heading and page
On 7/20/07, Lyx Physicst [EMAIL PROTECTED] wrote: On 7/20/07, Charles de Miramon [EMAIL PROTECTED] wrote: Lyx Physicst wrote: Hi all, Im trying to tweak a few things in my Table of contents. 1) I need to change how Lyx makes all new sections(ie chapter, list of tables, list of figures, etc) in bold font and the corresponding listed page number is in bold as well. I need to make the whole thing in normal font. 2) I need to have the dots that go from section to page number ie: 1.1Background... 1 Apply to all items in the table of contents. Right now, the main chapter titles do not have these dots, nor do items such as list of tables, list of figures etc. Only subsections within each chapter have them, and I need to include them for all entries. 3) Finally, I need to change the title to Table of Contents, not contents I am using Lyx 1.44 on a mac with the report class. Thanks, Charles Over use of dotted lines is very ugly and a bad habit left from MsWord. You seem to be a tweaker and you should borrow / buy the LaTeX Companion. It is a big expensive book but a good investment. Cheers, Charles -- http://www.kde-france.org Charles, I agree that is ugly and if it were up to me I wouldnt use it. But the editors at my graduate school are making me change the default Lyx format to their standards and that uses dots for all the sections All of these changes are their doing, not mine. I think it looks great as is... The tocloft package will do everything that you need. Grab the package documentation and read through it. It took me quite a while to figure out how to add dotted leaders to chapters or sections. This was a requirement for my thesis also. I've attached a simple example of how to add dotted leaders and change the name of the table of contents. Consult the tocloft documentation for the other requirements. Cheers, Bob Lounsbury newfile1-1.4.4.lyx Description: application/lyx
Re: TOC font changes, adding dots between heading and page
On 7/20/07, Bob Lounsbury [EMAIL PROTECTED] wrote: On 7/20/07, Lyx Physicst [EMAIL PROTECTED] wrote: Thanks bob, that got the name change and the dots correct, but for some reason my List of Tables and List of Figures got dropped from the Table of contents when I added your tex into my preamble... Is there any reason for this, or do I need to add something else? Charles I don't know the reason, but you can add the Table of Contents, List of Figures, List of Figures, and BibTeX bibliography to the Table of contents using \usepackage{tocbibind} in the preamble. Or if you just want to add one or the other then you can add \addcontentsline{toc}{chapter}{List of Figures} next to the List of Figures callout in ERT. Bob So I did that, and it worked. But now my page numbers are off... For the first sections(acknowlegments, list of tables, list of figures, abbreviations, etc) I have roman numerals counting. Then the counter starts at 1 once the text of Chapter one starts. Well now my roman numerals are off by one page. It says the LOT starts at vi, but it really starts at vii and so all the other ones are off by one... Is this due to the tocloft package?
Re: TOC font changes, adding dots between heading and page
On Friday 20 July 2007 11:33, Charles de Miramon wrote: That's right, and before you buy LaTeX Companion, you should learn TeX so that LaTeX Companion makes sense. I recommend these two: http://www.ctan.org/tex-archive/info/impatient/book.pdf http://www.troubleshooters.com/linux/lyx/lyx_latex_tex.htm SteveT
Re: TOC font changes, adding dots between heading and page
On 7/20/07, Lyx Physicst [EMAIL PROTECTED] wrote: I don't know the reason, but you can add the Table of Contents, List of Figures, List of Figures, and BibTeX bibliography to the Table of contents using \usepackage{tocbibind} in the preamble. Or if you just want to add one or the other then you can add \addcontentsline{toc}{chapter}{List of Figures} next to the List of Figures callout in ERT. Bob So I did that, and it worked. But now my page numbers are off... For the first sections(acknowlegments, list of tables, list of figures, abbreviations, etc) I have roman numerals counting. Then the counter starts at 1 once the text of Chapter one starts. Well now my roman numerals are off by one page. It says the LOT starts at vi, but it really starts at vii and so all the other ones are off by one... Is this due to the tocloft package? I'm not following. Have you separated your addcontentsline commands? Here's an example as you've described number acknowledgments, lof, and lot in roman and the chapter 1 in arabic. There is no page number issue. Bob newfile1-1.4.4.lyx Description: application/lyx
Re: TOC font changes, adding dots between heading and page
On 7/20/07, Bob Lounsbury [EMAIL PROTECTED] wrote: On 7/20/07, Lyx Physicst [EMAIL PROTECTED] wrote: I don't know the reason, but you can add the Table of Contents, List of Figures, List of Figures, and BibTeX bibliography to the Table of contents using \usepackage{tocbibind} in the preamble. Or if you just want to add one or the other then you can add \addcontentsline{toc}{chapter}{List of Figures} next to the List of Figures callout in ERT. Bob So I did that, and it worked. But now my page numbers are off... For the first sections(acknowlegments, list of tables, list of figures, abbreviations, etc) I have roman numerals counting. Then the counter starts at 1 once the text of Chapter one starts. Well now my roman numerals are off by one page. It says the LOT starts at vi, but it really starts at vii and so all the other ones are off by one... Is this due to the tocloft package? I'm not following. Have you separated your addcontentsline commands? Here's an example as you've described number acknowledgments, lof, and lot in roman and the chapter 1 in arabic. There is no page number issue. Bob Yes, your sample is correct in how I would like it. But, my TOC is two pages long, so the counter skips the second page of the TOC and labels it as the first page of the LOT(the next section) So my TOC is on page v and vi, and the LOT starts at vii, but is being listed as starting at vi. I hope I explained it better..
Re: TOC font changes, adding dots between heading and page
On 7/20/07, Lyx Physicst [EMAIL PROTECTED] wrote: On 7/20/07, Bob Lounsbury [EMAIL PROTECTED] wrote: On 7/20/07, Lyx Physicst [EMAIL PROTECTED] wrote: I don't know the reason, but you can add the Table of Contents, List of Figures, List of Figures, and BibTeX bibliography to the Table of contents using \usepackage{tocbibind} in the preamble. Or if you just want to add one or the other then you can add \addcontentsline{toc}{chapter}{List of Figures} next to the List of Figures callout in ERT. Bob So I did that, and it worked. But now my page numbers are off... For the first sections(acknowlegments, list of tables, list of figures, abbreviations, etc) I have roman numerals counting. Then the counter starts at 1 once the text of Chapter one starts. Well now my roman numerals are off by one page. It says the LOT starts at vi, but it really starts at vii and so all the other ones are off by one... Is this due to the tocloft package? I'm not following. Have you separated your addcontentsline commands? Here's an example as you've described number acknowledgments, lof, and lot in roman and the chapter 1 in arabic. There is no page number issue. Bob Yes, your sample is correct in how I would like it. But, my TOC is two pages long, so the counter skips the second page of the TOC and labels it as the first page of the LOT(the next section) So my TOC is on page v and vi, and the LOT starts at vii, but is being listed as starting at vi. I hope I explained it better.. That makes sense, but I can't reproduce it. I added chapters and sections such that the TOC was two pages long and the numbering was still correct. Something else must be going on or conflicting. Maybe, you could send a minimal example. Bob
TOC font changes, adding dots between heading and page
Hi all, Im trying to tweak a few things in my Table of contents. 1) I need to change how Lyx makes all new sections(ie chapter, list of tables, list of figures, etc) in bold font and the corresponding listed page number is in bold as well. I need to make the whole thing in normal font. 2) I need to have the dots that go from section to page number ie: 1.1Background... 1 Apply to all items in the table of contents. Right now, the main chapter titles do not have these dots, nor do items such as list of tables, list of figures etc. Only subsections within each chapter have them, and I need to include them for all entries. 3) Finally, I need to change the title to Table of Contents, not contents I am using Lyx 1.44 on a mac with the report class. Thanks, Charles
Re: TOC font changes, adding dots between heading and page
Lyx Physicst wrote: > Hi all, Im trying to tweak a few things in my Table of contents. 1) I need > to change how Lyx makes all new sections(ie chapter, list of tables, list > of > figures, etc) in bold font and the corresponding listed page number is in > bold as well. I need to make the whole thing in normal font. 2) I need > to have the dots that go from section to page number ie: > 1.1Background... 1 > Apply to all items in the table of contents. Right now, the main chapter > titles do not have these dots, nor do items such as list of tables, list > of > figures etc. Only subsections within each chapter have them, and I need > to > include them for all entries. 3) Finally, I need to change the title to > Table of Contents, not contents > I am using Lyx 1.44 on a mac with the report class. Thanks, > Charles Over use of dotted lines is very ugly and a bad habit left from MsWord. You seem to be a tweaker and you should borrow / buy the LaTeX Companion. It is a big expensive book but a good investment. Cheers, Charles -- http://www.kde-france.org
Re: TOC font changes, adding dots between heading and page
On 7/20/07, Charles de Miramon <[EMAIL PROTECTED]> wrote: Lyx Physicst wrote: > Hi all, Im trying to tweak a few things in my Table of contents. 1) I need > to change how Lyx makes all new sections(ie chapter, list of tables, list > of > figures, etc) in bold font and the corresponding listed page number is in > bold as well. I need to make the whole thing in normal font. 2) I need > to have the dots that go from section to page number ie: > 1.1Background... 1 > Apply to all items in the table of contents. Right now, the main chapter > titles do not have these dots, nor do items such as list of tables, list > of > figures etc. Only subsections within each chapter have them, and I need > to > include them for all entries. 3) Finally, I need to change the title to > Table of Contents, not contents > I am using Lyx 1.44 on a mac with the report class. Thanks, > Charles Over use of dotted lines is very ugly and a bad habit left from MsWord. You seem to be a tweaker and you should borrow / buy the LaTeX Companion. It is a big expensive book but a good investment. Cheers, Charles -- http://www.kde-france.org Charles, I agree that is ugly and if it were up to me I wouldnt use it. But the editors at my graduate school are making me change the default Lyx format to their standards and that uses dots for all the sections All of these changes are their doing, not mine. I think it looks great as is...
Re: TOC font changes, adding dots between heading and page
On 7/20/07, Bob Lounsbury <[EMAIL PROTECTED]> wrote: On 7/20/07, Lyx Physicst <[EMAIL PROTECTED]> wrote: > On 7/20/07, Charles de Miramon <[EMAIL PROTECTED]> wrote: > > > > Lyx Physicst wrote: > > > > > Hi all, Im trying to tweak a few things in my Table of contents. 1) I > > need > > > to change how Lyx makes all new sections(ie chapter, list of tables, > > list > > > of > > > figures, etc) in bold font and the corresponding listed page number is > > in > > > bold as well. I need to make the whole thing in normal font. 2) I > > need > > > to have the dots that go from section to page number ie: > > > 1.1Background... 1 > > > Apply to all items in the table of contents. Right now, the main > > chapter > > > titles do not have these dots, nor do items such as list of tables, list > > > of > > > figures etc. Only subsections within each chapter have them, and I need > > > to > > > include them for all entries. 3) Finally, I need to change the title to > > > Table of Contents, not contents > > > I am using Lyx 1.44 on a mac with the report class. Thanks, > > > Charles > > > > Over use of dotted lines is very ugly and a bad habit left from MsWord. > > > > You seem to be a tweaker and you should borrow / buy the LaTeX Companion. > > It > > is a big expensive book but a good investment. > > > > Cheers, > > Charles > > -- > > http://www.kde-france.org > > > > Charles, I agree that is ugly and if it were up to me I wouldnt use it. > But the editors at my graduate school are making me change the default Lyx > format to their standards and that uses dots for all the sections All > of these changes are their doing, not mine. I think it looks great as is... The tocloft package will do everything that you need. Grab the package documentation and read through it. It took me quite a while to figure out how to add dotted leaders to chapters or sections. This was a requirement for my thesis also. I've attached a simple example of how to add dotted leaders and change the name of the table of contents. Consult the tocloft documentation for the other requirements. Cheers, Bob Lounsbury Thanks bob, that got the name change and the dots correct, but for some reason my List of Tables and List of Figures got dropped from the Table of contents when I added your tex into my preamble... Is there any reason for this, or do I need to add something else? Charles
Re: TOC font changes, adding dots between heading and page
On 7/20/07, Lyx Physicst <[EMAIL PROTECTED]> wrote: Thanks bob, that got the name change and the dots correct, but for some reason my List of Tables and List of Figures got dropped from the Table of contents when I added your tex into my preamble... Is there any reason for this, or do I need to add something else? Charles I don't know the reason, but you can add the Table of Contents, List of Figures, List of Figures, and BibTeX bibliography to the Table of contents using \usepackage{tocbibind} in the preamble. Or if you just want to add one or the other then you can add \addcontentsline{toc}{chapter}{List of Figures} next to the List of Figures callout in ERT. Bob
Re: TOC font changes, adding dots between heading and page
On 7/20/07, Lyx Physicst <[EMAIL PROTECTED]> wrote: On 7/20/07, Charles de Miramon <[EMAIL PROTECTED]> wrote: > > Lyx Physicst wrote: > > > Hi all, Im trying to tweak a few things in my Table of contents. 1) I > need > > to change how Lyx makes all new sections(ie chapter, list of tables, > list > > of > > figures, etc) in bold font and the corresponding listed page number is > in > > bold as well. I need to make the whole thing in normal font. 2) I > need > > to have the dots that go from section to page number ie: > > 1.1Background... 1 > > Apply to all items in the table of contents. Right now, the main > chapter > > titles do not have these dots, nor do items such as list of tables, list > > of > > figures etc. Only subsections within each chapter have them, and I need > > to > > include them for all entries. 3) Finally, I need to change the title to > > Table of Contents, not contents > > I am using Lyx 1.44 on a mac with the report class. Thanks, > > Charles > > Over use of dotted lines is very ugly and a bad habit left from MsWord. > > You seem to be a tweaker and you should borrow / buy the LaTeX Companion. > It > is a big expensive book but a good investment. > > Cheers, > Charles > -- > http://www.kde-france.org > > Charles, I agree that is ugly and if it were up to me I wouldnt use it. But the editors at my graduate school are making me change the default Lyx format to their standards and that uses dots for all the sections All of these changes are their doing, not mine. I think it looks great as is... The tocloft package will do everything that you need. Grab the package documentation and read through it. It took me quite a while to figure out how to add dotted leaders to chapters or sections. This was a requirement for my thesis also. I've attached a simple example of how to add dotted leaders and change the name of the table of contents. Consult the tocloft documentation for the other requirements. Cheers, Bob Lounsbury newfile1-1.4.4.lyx Description: application/lyx
Re: TOC font changes, adding dots between heading and page
On 7/20/07, Bob Lounsbury <[EMAIL PROTECTED]> wrote: On 7/20/07, Lyx Physicst <[EMAIL PROTECTED]> wrote: > Thanks bob, that got the name change and the dots correct, but for some > reason my List of Tables and List of Figures got dropped from the Table of > contents when I added your tex into my preamble... Is there any reason for > this, or do I need to add something else? > Charles I don't know the reason, but you can add the Table of Contents, List of Figures, List of Figures, and BibTeX bibliography to the Table of contents using \usepackage{tocbibind} in the preamble. Or if you just want to add one or the other then you can add \addcontentsline{toc}{chapter}{List of Figures} next to the List of Figures callout in ERT. Bob So I did that, and it worked. But now my page numbers are off... For the first sections(acknowlegments, list of tables, list of figures, abbreviations, etc) I have roman numerals counting. Then the counter starts at 1 once the text of Chapter one starts. Well now my roman numerals are off by one page. It says the LOT starts at vi, but it really starts at vii and so all the other ones are off by one... Is this due to the tocloft package?
Re: TOC font changes, adding dots between heading and page
On Friday 20 July 2007 11:33, Charles de Miramon wrote: That's right, and before you buy LaTeX Companion, you should learn TeX so that LaTeX Companion makes sense. I recommend these two: http://www.ctan.org/tex-archive/info/impatient/book.pdf http://www.troubleshooters.com/linux/lyx/lyx_latex_tex.htm SteveT
Re: TOC font changes, adding dots between heading and page
On 7/20/07, Lyx Physicst <[EMAIL PROTECTED]> wrote: > I don't know the reason, but you can add the Table of Contents, List > of Figures, List of Figures, and BibTeX bibliography to the Table of > contents using > > \usepackage{tocbibind} > > in the preamble. Or if you just want to add one or the other then you can add > > \addcontentsline{toc}{chapter}{List of Figures} > > next to the List of Figures callout in ERT. > > Bob > So I did that, and it worked. But now my page numbers are off... For the first sections(acknowlegments, list of tables, list of figures, abbreviations, etc) I have roman numerals counting. Then the counter starts at 1 once the text of Chapter one starts. Well now my roman numerals are off by one page. It says the LOT starts at vi, but it really starts at vii and so all the other ones are off by one... Is this due to the tocloft package? I'm not following. Have you separated your addcontentsline commands? Here's an example as you've described number acknowledgments, lof, and lot in roman and the chapter 1 in arabic. There is no page number issue. Bob newfile1-1.4.4.lyx Description: application/lyx
Re: TOC font changes, adding dots between heading and page
On 7/20/07, Bob Lounsbury <[EMAIL PROTECTED]> wrote: On 7/20/07, Lyx Physicst <[EMAIL PROTECTED]> wrote: > > I don't know the reason, but you can add the Table of Contents, List > > of Figures, List of Figures, and BibTeX bibliography to the Table of > > contents using > > > > \usepackage{tocbibind} > > > > in the preamble. Or if you just want to add one or the other then you can > add > > > > \addcontentsline{toc}{chapter}{List of Figures} > > > > next to the List of Figures callout in ERT. > > > > Bob > > > > So I did that, and it worked. But now my page numbers are off... For the > first sections(acknowlegments, list of tables, list of figures, > abbreviations, etc) I have roman numerals counting. Then the counter starts > at 1 once the text of Chapter one starts. Well now my roman numerals are > off by one page. It says the LOT starts at vi, but it really starts at vii > and so all the other ones are off by one... Is this due to the tocloft > package? I'm not following. Have you separated your addcontentsline commands? Here's an example as you've described number acknowledgments, lof, and lot in roman and the chapter 1 in arabic. There is no page number issue. Bob Yes, your sample is correct in how I would like it. But, my TOC is two pages long, so the counter "skips" the second page of the TOC and labels it as the first page of the LOT(the next section) So my TOC is on page v and vi, and the LOT starts at vii, but is being listed as starting at vi. I hope I explained it better..
Re: TOC font changes, adding dots between heading and page
On 7/20/07, Lyx Physicst <[EMAIL PROTECTED]> wrote: On 7/20/07, Bob Lounsbury <[EMAIL PROTECTED]> wrote: > On 7/20/07, Lyx Physicst <[EMAIL PROTECTED]> wrote: > > > I don't know the reason, but you can add the Table of Contents, List > > > of Figures, List of Figures, and BibTeX bibliography to the Table of > > > contents using > > > > > > \usepackage{tocbibind} > > > > > > in the preamble. Or if you just want to add one or the other then you can > > add > > > > > > \addcontentsline{toc}{chapter}{List of Figures} > > > > > > next to the List of Figures callout in ERT. > > > > > > Bob > > > > > > > So I did that, and it worked. But now my page numbers are off... For the > > first sections(acknowlegments, list of tables, list of figures, > > abbreviations, etc) I have roman numerals counting. Then the counter starts > > at 1 once the text of Chapter one starts. Well now my roman numerals are > > off by one page. It says the LOT starts at vi, but it really starts at vii > > and so all the other ones are off by one... Is this due to the tocloft > > package? > > > I'm not following. Have you separated your addcontentsline commands? > > Here's an example as you've described number acknowledgments, lof, and > lot in roman and the chapter 1 in arabic. There is no page number > issue. > > Bob Yes, your sample is correct in how I would like it. But, my TOC is two pages long, so the counter "skips" the second page of the TOC and labels it as the first page of the LOT(the next section) So my TOC is on page v and vi, and the LOT starts at vii, but is being listed as starting at vi. I hope I explained it better.. That makes sense, but I can't reproduce it. I added chapters and sections such that the TOC was two pages long and the numbering was still correct. Something else must be going on or conflicting. Maybe, you could send a minimal example. Bob