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}
Junyong Kim
  • 533
  • 4
  • 13

1 Answers1

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 :

Partha D.
  • 2,250