Theses, Books, Title pages ⇒ Chapter name
-
- Posts: 679
- Joined: Tue Mar 03, 2015 4:01 pm
Chapter name
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!!
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
-
- Posts: 679
- Joined: Tue Mar 03, 2015 4:01 pm
Chapter name
\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
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