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 6620 times
-
- Example TOC
- 1.jpg (27.5 KiB) Viewed 6620 times
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
-
scottkosty
- 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
-
scottkosty
- 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
-
PhilipPirrip
- 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, \cftbeforesecskipCode: Select all
\small, \footnotesize, \scriptsizeCode: Select all
\cftbefore...skipAnd here's the documentation for the package tocloft: http://ctan.math.utah.edu/ctan/tex-arch ... ocloft.pdf