LyX ⇒ Change table of content font in lyx
Change table of content font in lyx
\usepackage{tocloft}
\renewcommand\cftchapfont{\fontsize{14}{16}\selectfont}
\renewcommand\textnormal\cftsecfont{\fontsize{6}{7}\selectfont}
\renewcommand\textnormal\cftsubsecfont{\fontsize{6}{7}\selectfont}
How to get the porper font size ?
- Attachments
-
- My TOC
- 2.jpg (33.14 KiB) Viewed 6029 times
-
- Example TOC
- 1.jpg (27.5 KiB) Viewed 6029 times
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
-
- Site Moderator
- Posts: 542
- Joined: Sat Sep 01, 2012 6:38 am
Re: Change table of content font in lyx
Here is a useful article you could read: http://latex-community.org/home/latex-c ... crossposts
Re: Change table of content font in lyx
-
- Site Moderator
- Posts: 542
- Joined: Sat Sep 01, 2012 6:38 am
Re: Change table of content font in lyx
Did you read the link that I recommended to you? Do you have any questions about it?
I actually did not intend for you to delete the tex.stackexchange question. The main thing to understand is why it is important for you to reference all of the places that you asked the same question. If those spending time to help can see where else you asked the question, they can see what progress has been made so far.
Further, if someone has the same question as you and finds one of your questions from google, maybe in that forum there was no answer but if you linked to your other questions they can follow that link and find an answer that way.
Re: Change table of content font in lyx
-
- Posts: 10
- Joined: Sat Sep 10, 2011 10:59 pm
Change table of content font in lyx
Code: Select all
\renewcommand{\cftsecfont}{\normalfont\small}
\setlength{\cftbeforechapskip}{0.1em}
Code: Select all
\cftchapfont, \cftsubsecfont, \cftbeforechapskip, \cftbeforesecskip
Code: Select all
\small, \footnotesize, \scriptsize
Code: Select all
\cftbefore...skip
And here's the documentation for the package tocloft: http://ctan.math.utah.edu/ctan/tex-arch ... ocloft.pdf