Привет, я использую LyX и \usepackage[Lenny]{fncychap} в преамбуле.
Плитка TOC или Index List написана строчными буквами, но мне нужны заглавные.
какую команду и куда мне нужно написать, чтобы сделать то, что я хочу?
решение1
Использовать tocloft
пакет:
\documentclass{book}
\usepackage[Lenny]{fncychap}
\usepackage{tocloft}
%\renewcommand{\contentsname}{Table of contents} % change "Contents" to "Table of Contents"
\renewcommand{\cfttoctitlefont}{\center\hfill\large\bfseries\MakeUppercase} % change toc title to upper case
\renewcommand{\cftaftertoctitle}{\hfill}
%\renewcommand{\cftchapfont}{\scshape} %For uppercase TOC entries
\begin{document}
\tableofcontents
\chapter{Foo1}
Some text.
\chapter{Foo2}
Some text.
\end{document}