TeX - LaTeX Asked on March 8, 2021
I have in bold only Resumen and Abstract. How can I make the rest look in bold?. I’m already getting the chapters and sections in bold. What’s wrong is that List of Symbols, Figures, Abbreviations and tables are not in bold.
in my main.tex:
printunsrtglossary[type=symbols, title = Lista de S'imbolos ]
printunsrtglossary[type=abbreviations,title = Lista de Abreviaturas]
MWE:
documentclass[12pt]{memoir}
letLaTeXStandardTableOfContentstableofcontents
renewcommand{tableofcontents}{%
begingroup%
renewcommand{bfseries}{relax}%
LaTeXStandardTableOfContents%
endgroup%
}%
chapterstyle{dash}
begin{document}
tableofcontents
chapter{First Chapter}
section[First section]{First Section of 1st chapter}
chapter{Second Chapter}
section{First Section of 2nd chapter}
end{document}
The memoir class provides it's own mechanism to style the ToC:
documentclass[12pt]{memoir}
renewcommand*{cftchapterfont}{bfseries}
renewcommand*{cftchapterpagefont}{bfseries}
renewcommand*{cftsectionfont}{bfseries}
renewcommand*{cftsectionpagefont}{bfseries}
chapterstyle{dash}
begin{document}
tableofcontents
chapter{First Chapter}
section[First section]{First Section of 1st chapter}
chapter{Second Chapter}
section{First Section of 2nd chapter}
end{document}
With tocloft
and the book
class:
documentclass[12pt]{book}
usepackage{tocloft}
renewcommand*{cftchapfont}{bfseries}
renewcommand*{cftchappagefont}{bfseries}
renewcommand*{cftsecfont}{bfseries}
renewcommand*{cftsecpagefont}{bfseries}
begin{document}
tableofcontents
chapter{First Chapter}
section[First section]{First Section of 1st chapter}
chapter{Second Chapter}
section{First Section of 2nd chapter}
end{document}
Correct answer by DG' on March 8, 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