Hi again,
this template is sooo coool!! I'm almost done with the fine-tuning, but I cannot get it to do just one thing... Is it possible to include the word "Chapter" (or "Lecture") before the chapter number (both in the chapter headings and TOC)?
Thanks a lot!!
Theses, Books, Title pages ⇒ Chapter name
NEW: TikZ book now 40% off at Amazon.com for a short time.
-
- Posts: 679
- Joined: Tue Mar 03, 2015 4:01 pm
Chapter name
Oh well... I must have done something wrong before, because the good old
works perfectly for the chapter headings...
But I'm still stuck with the TOC... It doesn't change the word "Chapter"!
Thanks to all!!
\renewcommand{\chaptername}{Lecture}
works perfectly for the chapter headings...
But I'm still stuck with the TOC... It doesn't change the word "Chapter"!
Thanks to all!!
Chapter name
Hey,
To add a "Lecture" before the chapter number in the table of contents, open up structure.tex and find these three lines:
replace them with:
Change the cm numbers to position the text as you'd like. Good luck with the book!
Cheers,
Vel
To add a "Lecture" before the chapter number in the table of contents, open up structure.tex and find these three lines:
Code: Select all
\titlecontents{chapter}[1.25cm] % Indentation
{\addvspace{15pt}\large\sffamily\bfseries} % Spacing and font options for chapters
{\color{ocre!60}\contentslabel[\Large\thecontentslabel]{1.25cm}\color{ocre}} % Chapter number
Code: Select all
\titlecontents{chapter}[3cm] % Indentation
{\addvspace{15pt}\large\sffamily\bfseries} % Spacing and font options for chapters
{\color{ocre!60}\contentslabel[\Large Lecture \thecontentslabel]{2.5cm}\color{ocre}} % Chapter number
Cheers,
Vel
Founder and administrator of LaTeXTemplates.com and LaTeXTypesetting.com