我只有摘要和摘要是粗体。我怎样才能使其余部分显示为粗体?我已经将章节和节显示为粗体。问题是符号列表、图表、缩写和表格没有显示为粗体。
在我的main.tex中:
\printunsrtglossary[type=symbols, title = Lista de S\'imbolos ]
\printunsrtglossary[type=abbreviations,title = Lista de Abreviaturas]
梅威瑟:
\documentclass[12pt]{memoir}
\let\LaTeXStandardTableOfContents\tableofcontents
\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}
答案1
回忆录类提供了自己的机制来设计目录:
\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}
与tocloft
和book
类一起:
\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}