作者:
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} 對吧,我不大懂當中參數的意思,
可以請您以一個範例,簡單說明參數的意思嗎?謝謝。