看板 LaTeX 關於我們 聯絡資訊
※ 引述《liveinlow (\( ̄ε ̄ )>)》之銘言: : 各位好 : 想請問一下在編輯書的時候,頁碼前面會有Chapter 1這個東西。 : 然後我把\chaptername換成 {第~\thechapter~章},就會變成 : "第 1 章 1",這樣好像不對耶。。。 : 不知道要format哪一個東西才能定義他的格式呢? : 謝謝 以下應該可以: 綠色那行改這樣試看看。 \renewcommand\chaptername{第} \def\chapternameend{章} \makeatletter \def\@makechapterhead#1{% \vspace*{50\p@}% {\parindent \z@ \raggedright \normalfont \ifnum \c@secnumdepth >\m@ne \if@mainmatter \huge\bfseries \@chapapp\space \thechapter\space \chapternameend \par\nobreak \vskip 20\p@ \fi \fi \interlinepenalty\@M \Huge \bfseries #1\par\nobreak \vskip 40\p@ }} \makeatother -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 114.33.236.100
liveinlow:謝謝你,不過他跑出來變成"第 1",最後那個"章"沒出來/\ 07/01 11:19
※ 編輯: rogerli 來自: 114.33.236.100 (07/01 11:25)
liveinlow:不好意思我是用XeTeX的... 07/01 11:40