作者andrew43 (讨厌有好心推文後删文者)
看板LaTeX
标题Re: [问题] sectionname?!
时间Tue Sep 16 00:57:55 2014
看一下这篇你就应该会了。
http://tex.stackexchange.com/questions/75168/
get-current-section-name-without-label
原发问者私讯指出这招没用。
可以试试这个
\let\Sectionmark\sectionmark
\def\sectionmark#1{\def\Sectionname{#1}\Sectionmark{#1}}
再在 \titleformat 中加入 \Sectionname 看看。
以上参考於
http://tex.stackexchange.com/questions/62241/
how-to-get-the-current-chapter-name-section-name-subsection-name-etc
※ 引述《s60984 (Angus)》之铭言:
: 想得到「第一小节 统计 参考答案」
: 结果无法编译
: 请问是否有任何可行的方式满足我的要求
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 122.117.37.172
※ 文章网址: http://webptt.com/cn.aspx?n=bbs/LaTeX/M.1410800280.A.C54.html
※ 编辑: andrew43 (122.117.37.172), 09/16/2014 15:15:50