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

看板LaTeX (論文排版)作者 (小豪)時間5年前 (2018/08/24 21:50), 編輯推噓0(001)
留言1則, 1人參與, 5年前最新討論串3/11 (看更多)
※ 引述《hau (小豪)》之銘言: : ※ 引述《hau (小豪)》之銘言: : : 我是用 xelatex : : 並用了圓體 : : \setCJKmainfont{cwyen.ttf} : : 請問怎麼變粗體字?(還是說沒辦法,我只能變換字型) : : 我試過 : : \textbf : : \bold : : \bfseries : : 都不行…… : 最後我用下面這個,成功了 : \setCJKmainfont[AutoFakeBold=2.5,AutoFakeSlant=.4]{cwyen.ttf} : 但是有個問題, : 我當初用 : \chapter{ } : \section{ } : 當中的字也自動變粗體了,\chapter,\section,我不要粗體,怎麼改呢? 謝謝網友答覆。 我用下面這樣 \setCJKmainfont[AutoFakeBold=2.5,AutoFakeSlant=.4]{cwyen.ttf} \usepackage{titlesec} \usepackage{titletoc} \usepackage{CJKnumb} \renewcommand{\contentsname}{目錄} \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 但是在「目錄」中, 「章」的名稱仍然是粗體,「附錄」的地方也是, 請問怎麼改目錄中「章」、「附錄」的字體。 -- -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 175.180.207.5 ※ 文章網址: https://www.ptt.cc/bbs/LaTeX/M.1535118619.A.99B.html

08/24 21:55, 5年前 , 1F
要改目錄中的樣式可用titletoc
08/24 21:55, 1F
文章代碼(AID): #1RW0qRcR (LaTeX)
討論串 (同標題文章)
文章代碼(AID): #1RW0qRcR (LaTeX)