![如何在章节标题中添加作者](https://linux22.com/image/243212/%E5%A6%82%E4%BD%95%E5%9C%A8%E7%AB%A0%E8%8A%82%E6%A0%87%E9%A2%98%E4%B8%AD%E6%B7%BB%E5%8A%A0%E4%BD%9C%E8%80%85.png)
我正在使用作为文档类来撰写论文book
。在每个章节标题的下方,我想用小写字母添加对该章节已发表论文的引用。
就像是
**Using Lineage for Sub-image Data Processing** %% chapter title
*Published as Author 1, Author 2, in XXX Journal , 2011*
请指导我如何创建这样的环境。
答案1
\documentclass[a4paper]{book}
\usepackage{xparse}
\NewDocumentCommand{\thesischapter}{o m m}{%
\IfNoValueTF{#1}
{\chapter[#2]{#2\origtitle{#3}}}
{\chapter[#1]{#2\origtitle{#3}}}%
}
\newcommand\origtitle[1]{\\
\parbox{\textwidth}{\normalsize\vspace*{2\baselineskip}#1}}
\begin{document}
\mainmatter
\thesischapter{Using Lineage for Sub-image Data Processing}
{Published as Author 1, Author 2, in XXX Journal , 2011}
Ciao
\chapter{A title}
Ciao
\end{document}