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

看板LaTeX (論文排版)作者 (小豪)時間5年前 (2018/08/29 00:58), 編輯推噓0(002)
留言2則, 1人參與, 5年前最新討論串10/11 (看更多)
我把 \begin{document} 上面的全部貼上來。 \documentclass[12pt,a4paper,oneside]{book} \newenvironment{indention}[1]{\par \addtolength{\leftskip}{#1} \begingroup}{\endgroup\par} \pagestyle{plain} \usepackage[margin=2cm]{geometry} \usepackage{fontspec} \usepackage{xeCJK} \setCJKmainfont{cwyen.ttf} \setCJKmainfont[AutoFakeBold=2.5,AutoFakeSlant=.4]{cwyen.ttf} \XeTeXlinebreaklocale "zh" \XeTeXlinebreakskip = 0pt plus 1pt \usepackage{amssymb} \usepackage{graphicx} \usepackage{titlesec} \usepackage{titletoc} \usepackage{CJKnumb} \renewcommand{\contentsname}{目錄} \renewcommand{\appendixname}{附錄} \titlecontents{chapter}[0pt]{\vspace{.5\baselineskip}} {第\CJKnumber{\thecontentslabel}章\quad}{} {\hspace{.5em}\titlerule*[10pt]{$\cdot$}\contentspage} \titleformat{\chapter}{\Huge}{第\,\CJKnumber{\thechapter}\,章}{1em}{} \titleformat{\section}{\LARGE}{\thesection}{1em}{} \titleformat{\subsection}{\Large}{\thesubsection}{1em}{} \usepackage{etoolbox} \apptocmd{\appendix} { \titleformat{\chapter}{\Huge}{\appendixname\thechapter}{1em}{} \titlecontents{chapter}[0pt]{\vspace{.5\baselineskip}} {\appendixname\thecontentslabel}{} {\hspace{.5em}\titlerule*[10pt]{$\cdot$}\contentspage} }{}{} \tableofcontents _____________________________________________________________________________ 不清楚哪裡有誤, 目錄的地方附錄是「第A零章」不是「附錄 A」,要改成「附錄 A」 而附錄上面有一行「chapter0pt附錄 3.....................」這行後面還有重疊的字 我不要這行。 話說我編譯完常有: Process started Process exited with error(s) 的字樣,我也不知哪有錯,但編完的結果通常都ok。 -- -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 123.204.173.111 ※ 文章網址: https://www.ptt.cc/bbs/LaTeX/M.1535475512.A.B39.html

08/29 01:40, 5年前 , 1F
照抄,沒有你說的異常情況。aux toc檔都先清一清,log檔
08/29 01:40, 1F

08/29 01:49, 5年前 , 2F
看一下有沒有相關的問題
08/29 01:49, 2F
文章代碼(AID): #1RXNyuiv (LaTeX)
文章代碼(AID): #1RXNyuiv (LaTeX)