Hi everyone,
I have a problem when generating the general Inndex of my masther-thesis.
I have inserted some scientific articles as a pdf by linking them, but the different sections (intro, experimental, discussion, conclusions ...) do not appear in the general index.
How could I manually enter these sections in the general index?
Which order I need to introduce? (in the preamble or in red-code?)
LyX ⇒ How to introduce new Sections in the general Index
How to introduce new Sections in the general Index
Last edited by Edulis on Sat May 28, 2011 8:20 am, edited 1 time in total.
NEW: TikZ book now 40% off at Amazon.com for a short time.

How to introduce new Sections in the general Index
OK,
I just solved the problem:
How to add new sections to the General Index, sub ...
For example, when you have a section not numbered (like "Section*"), or do not appear anywhere. Introduce in the text next to section unnumbered this red-tex-code:
\addcontentsline{toc}{section}{whatever you want to appear}
In my case, as I have a pdf link, I've introduce all the codes one after another before the pdf link (in the general index all of them show the same page, but at least appear). I've written:
...what does the {toc} code means?
I just solved the problem:
How to add new sections to the General Index, sub ...
For example, when you have a section not numbered (like "Section*"), or do not appear anywhere. Introduce in the text next to section unnumbered this red-tex-code:
\addcontentsline{toc}{section}{whatever you want to appear}
In my case, as I have a pdf link, I've introduce all the codes one after another before the pdf link (in the general index all of them show the same page, but at least appear). I've written:
Code: Select all
\addcontentsline{toc}{section}{Introduction}
\addcontentsline{toc}{section}{Experimental}
\addcontentsline{toc}{subsection}{Instrumental}
(...)
Last edited by Stefan Kottwitz on Fri May 27, 2011 10:06 pm, edited 1 time in total.
- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
How to introduce new Sections in the general Index
Hi Edulis,
Stefan
toc is an abbreviation for table of contents. It means that the contents line will be written to the file with the extension .toc. Similarly, lof stands for list of figures and lot for list of tables.Edulis wrote:...what does the {toc} code means?
Stefan
LaTeX.org admin