1

How can I use small capitals to write the TABLEs in \contentsname and \addcontentsline?

\documentclass{book}
\renewcommand{\contentsname}{TABLE of contents}
\begin{document}
\tableofcontents\addcontentsline{toc}{chapter}{TABLE of contents}
\chapter{text}
\section{text}
text
\end{document}

1 Answer 1

0

Of course, \textsc{Table} should give the desired result... but unfortunately it doesn't.

That's discernible from this warning warning where the default font (CMR) seems to miss the sc shape.

You may use the times package (or fourier, palatino, bookman, ...)

\documentclass{book}
\usepackage{times}   %% or use {fourier} {palatino} {bookman} ...

\renewcommand{\contentsname}{\textsc{Table} of contents}
\begin{document}
\tableofcontents\addcontentsline{toc}{chapter}{\textsc{Table} of contents}
\chapter{text}
\section{text}
text
\end{document}

to get this kind of results, which I hope, is close to what you want :

3

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .