Re: [問題] 有關中文變粗體

看板LaTeX (論文排版)作者 (小豪)時間5年前 (2018/08/25 23:12), 編輯推噓0(002)
留言2則, 1人參與, 5年前最新討論串5/11 (看更多)
※ 引述《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} % 改目錄 [\tocNumSpaceC@Before] {\tocStyleChapterAboveApp} {\tocStyleChapterFont\makebox[\tocNumSpaceC@Total][l]{\thecontentslabel@chapter@app}} {\tocStyleChapterFont} {\tocStyleChapterFiller} \@mainmattertrue % \appendix 置於 \backmatter 之後 }{}{} \renewcommand\appendixname{附錄} \tableofcontents 請問 sppmg 是如上的 \titlecontents{chapter} 對吧,我不大懂當中參數的意思, 可以請您以一個範例,簡單說明參數的意思嗎?謝謝。 -- -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 123.204.173.55 ※ 文章網址: https://www.ptt.cc/bbs/LaTeX/M.1535209951.A.207.html

08/26 15:59, 5年前 , 1F
呃,你就清掉我的參數,照手冊打。我只是要說你
08/26 15:59, 1F

08/26 16:00, 5年前 , 2F
\apptocmd 漏了 \titlecontents
08/26 16:00, 2F
文章代碼(AID): #1RWN7V87 (LaTeX)
討論串 (同標題文章)
文章代碼(AID): #1RWN7V87 (LaTeX)