Tufte 类中的章节号前有“章节”

Tufte 类中的章节号前有“章节”

有没有办法在 Tufte 课程的章节号前插入常见的“章节”,例如“第 1 章”等?

答案1

由于tufte课程使用titlesec\titleformat包中,所需要的只是对for进行小幅修改\chapter以包含\chaptertitlename(原始定义可以在文件中找到tufte-common.def):

\documentclass{tufte-book}

\makeatletter
\titleformat{\chapter}%
  [display]% shape
  {\relax\ifthenelse{\NOT\boolean{@tufte@symmetric}}{\begin{fullwidth}}{}}% format applied to label+text
  {\itshape\huge\chaptertitlename~\thechapter}% label
  {0pt}% horizontal separation between label and title body
  {\huge\rmfamily\itshape}% before the title body
  [\ifthenelse{\NOT\boolean{@tufte@symmetric}}{\end{fullwidth}}{}]% after the title body
\makeatother
\setcounter{secnumdepth}{1}

\begin{document}

\chapter{Test Chapter}

\end{document}

在此处输入图片描述

相关内容