Text FormattingMakeLowercase in \cftchapfont (tocloft)

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
User avatar
Stefan Kottwitz
Site Admin
Posts: 10326
Joined: Mon Mar 10, 2008 9:44 pm

Re: MakeLowercase in \cftchapfont (tocloft)

Post by Stefan Kottwitz »

Hi Dan,

you didn't mention before that you are using hyperref. The solution above would work without. With hyperref it should work if you just use \lowercase instead of \MakeLowercase in my code suggestion above.

Stefan
LaTeX.org admin

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

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

Dan
Posts: 10
Joined: Wed Feb 04, 2009 3:20 pm

Re: MakeLowercase in \cftchapfont (tocloft)

Post by Dan »

Sorry Stefan, I didn't think it would make a difference.

That works like charm, thank you very much!
phi
Posts: 577
Joined: Tue Oct 21, 2008 8:10 pm

MakeLowercase in \cftchapfont (tocloft)

Post by phi »

Dan wrote:Phi, all that does is change my chapter headings (in the document itself) to my Sans-Serif font, which I'm guessing is a side-effect of using a KOMA-Script class.
Did you try out my example? It should work fine. If you don't like the sans-serif headings, you could say

Code: Select all

\addtokomafont{disposition}{\rmfamily}
Post Reply