作者andrew43 (Myrmarachne)
看板LaTeX
标题Re: [问题] Appendix编号的问题
时间Tue Apr 7 17:38:38 2009
※ 引述《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)