Re: [問題] Appendix編號的問題

看板LaTeX (論文排版)作者 (Myrmarachne)時間16年前 (2009/04/07 17:38), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串3/3 (看更多)
※ 引述《andrew43 (Myrmarachne)》之銘言: 這個板是公開轉信板,可以不要用推回來做正試的回應好嗎? 不然其它介面的 BSS 根本看不到推文內容。 你希望 \section*{Appendix} 之內的 equation 編號重設回由 1 開始嗎? 那就在 \section*{Appendix} 之後再加上 \setcounter{equation}{0} 即可。若要改變編號為其它型式,可以再加上 \renewcommand{\theequation}{\counter-format{equation}} 其中 \counter-format 可以是: * \arabic * \alph \Alph * \roman \Roman * \fnsymbol 之類的。 要了解上述的功能請見 http://www-h.eng.cam.ac.uk/help/tpl/textprocessing/ teTeX/latex/latex2e-html/ltx-3.html 縮一下 http://0rz.tw/5C3fF :推chia1985:這個方法標題可以了^^ 但appendix的方程式編號就沒重設 04/07 10:35 :→chia1985:不知道有沒有辦法讓他跟之前的不要一起記數呢? 04/07 10:36 我不知道 elsart 對於 section 的相關設定,但你可以試試看 \section*{Appendix}\addcontentsline{toc}{section}{Appendix} 也就是直接設立一個沒有編號且名為 Appendix 的 section, 再為它加入 TOC 罷了(看你需不需要 TOC), 但這樣對文稿結構可能會有些不良影響,例如 Appendix 之後有別的 setion。 我覺得,最根本的方式還是引用 titlesec package, 並且在 \appendix 之後 及該 \section 之前重新定義 section 的 format。 ※ 引述《chia1985 (chia)》之銘言: : 我用的documentclass是 : \documentclass{elsart} : 前面五個section打完 再來是appendix : 我希望只要有 "Appendix"就好 跟Reference一樣 : 但如果用 : \section{Appendix} : \appendix : 出來的是 "6 Appendix" : 如果用 : \appendix : \section{Appendix} : 跑出來的就變成 "A Appendix" (我明明只有一個appendix) : 用了 "\addcontentsline{toc}{subsection}{Appendix}" : 這個指令也不行 orz : 希望有高手可以幫我想想看該怎麼處理才好:) -- http://apansharing.blogspot.com/ -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 59.126.46.88 ※ 編輯: andrew43 來自: 59.126.46.88 (04/07 17:45)
文章代碼(AID): #19snyXY4 (LaTeX)
討論串 (同標題文章)
文章代碼(AID): #19snyXY4 (LaTeX)