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

看板LaTeX (論文排版)作者 (小豪)時間5年前 (2018/08/24 22:28), 編輯推噓0(003)
留言3則, 3人參與, 5年前最新討論串4/11 (看更多)
※ 引述《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}{ \titleformat{\chapter}{\lefting\Huge\normal}{\appendixname\thechapter}{1em} {} }{}{} \renewcommand\appendixname{附錄} \tableofcontents 但是在「目錄」中,附錄的地方出現之前的「第A零章」,怎麼改? -- -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 175.180.207.5 ※ 文章網址: https://www.ptt.cc/bbs/LaTeX/M.1535120902.A.C5D.html

08/25 00:25, 5年前 , 1F
你期待的結果應是怎樣?
08/25 00:25, 1F

08/25 00:48, 5年前 , 2F
目錄的那邊,應該出現「附錄 A」
08/25 00:48, 2F

08/25 14:19, 5年前 , 3F
你 \apptocmd 裡面沒 \titlecontents(參考下我的 code)
08/25 14:19, 3F
文章代碼(AID): #1RW1O6nT (LaTeX)
討論串 (同標題文章)
文章代碼(AID): #1RW1O6nT (LaTeX)