TeX - LaTeX Asked on August 30, 2021
How can I use small capitals to write the TABLE
s in contentsname
and addcontentsline
?
documentclass{book}
renewcommand{contentsname}{TABLE of contents}
begin{document}
tableofcontentsaddcontentsline{toc}{chapter}{TABLE of contents}
chapter{text}
section{text}
text
end{document}
Of course, textsc{Table}
should give the desired result... but unfortunately it doesn't.
That's discernible from this 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}
tableofcontentsaddcontentsline{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 :
Correct answer by Partha D. on August 30, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP