Re: [问题] 有关中文变粗体

楼主: hau (小豪)   2018-08-25 23:12:28
※ 引述《hau (小豪)》之铭言:
: ※ 引述《hau (小豪)》之铭言:
: 谢谢网友答复。
: 我加上 \titlecontents 变下面:
: \setCJKmainfont[AutoFakeBold=2.5,AutoFakeSlant=.4]{cwyen.ttf}
: \usepackage{titlesec}
: \usepackage{titletoc}
: \usepackage{CJKnumb}
: \renewcommand{\contentsname}{目录}
: \titlecontents{chapter}[0pt]{\vspace{.5\baselineskip}\nromal}
: {第\CJKnumber{\thecontentslabel}章\quad}{}
: {\hspace{.5em}\titlerule*[10pt]{$\cdot$}\contentspage}
: \titleformat{\chapter}{\lefting\huge\normal}{第\,\CJKnumber{\thechapter}\,章
: }{1em}{}
: \titleformat{\section}{\lefting\LARGE\normal}{\thesection}{1em}{}
\usepackage{etoolbox}
\apptocmd{\appendix}{
\ifzh{
\titleformat{\chapter}{\lefting\Huge\normal}{\appendixname\thechapter}{1em}
{} % 改章首
\titlecontents{chapter} % 改目录
[\[email protected]]
{\tocStyleChapterAboveApp}
{\tocStyleChapterFont\makebox[\[email protected]][l]{\[email protected]@app}}
{\tocStyleChapterFont}
{\tocStyleChapterFiller}
\@mainmattertrue % \appendix 置于 \backmatter 之后
}{}{}
\renewcommand\appendixname{附录}
\tableofcontents
请问 sppmg
是如上的 \titlecontents{chapter} 对吧,我不大懂当中参数的意思,
可以请您以一个范例,简单说明参数的意思吗?谢谢。
作者: sppmg (sppmg)   2018-08-26 15:59:00
呃,你就清掉我的参数,照手册打。我只是要说你\apptocmd 漏了 \titlecontents

Links booklink

Contact Us: admin [ a t ] ucptt.com