TeX - LaTeX Asked by Musulmon Lolayev on April 12, 2021
documentclass[a4paper,14pt,twoside]{extreport}
begin{document}
tableofcontents
chapter{First chapter}
section{First section}
section{Second section}
chapter{Second chapter}
section{First section}
section{Second section}
end{document}
The result of tableofcontents of standard latex command creates contents like this:
But I like add some extra words (marks) which are in circle before (after) like this:
One possible approach using the tocloft
package:
documentclass[a4paper,14pt,twoside]{extreport}
usepackage{tocloft}
renewcommand*{cftsecpresnum}{S}
begin{document}
tableofcontents
chapter{First chapter}
section{First section}
section{Second section}
chapter{Second chapter}
section{First section}
section{Second section}
end{document}
Correct answer by samcarter_is_at_topanswers.xyz on April 12, 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