我如何在报告中添加副标题。我如何在日期后添加徽标(图形)。
\documentclass[a4paper,twoside,10pt]{report}
\fancypagestyle{empty}{
\renewcommand{\headrulewidth}{0pt}
\fancyhead[L]{}
\fancyhead[C]{\includegraphics[width=12cm]{logo.jpg}}
}
\begin{document}
\title{(Title)}
\subtitle{( ABC......(new line) Timeperiod: 10.11.-12.11.12)}
\author{(Author)}
\maketitle
\end{document}
答案1
只需创建您自己的封面,删除 \maketitle,或将其更新为类似内容:
\renewcommand\maketitle{%
\begin{center}
\thispagestyle{empty}
\textsc{\LARGE }\\[2cm]
\textsc{\Huge The Title}\\[1cm]
\textsf{\normalsize The Subtitle}\\[1cm]
\textsc{\LARGE\Bla Bla Bla}\\[0.075cm]
\textsf{\small and}\\[0.15cm]
\textsf{\large\Bla Bla}\\[1.5cm]
\textsf{\small by}\\[1.5cm]
\textsc{\large Ya Di Ya Di Ya}\\[0.25cm]
\textsc{\large 1st January 1999}\\[1.75cm]
\includegraphics[width=0.3\textwidth]{logo.png} %Insert Your Image Here.
\end{center}
}
当您实际调用 \maketitle 命令时,将创建如下所示的封面页。
答案2
包裹scrextend
提供扩展的标题页:
\documentclass[a4paper,twoside,10pt]{report}
\usepackage[extendedfeature=title]{scrextend}
\usepackage{mwe}
\begin{document}
\title{(Title)}
\subtitle{( ABC......(new line) Timeperiod: 10.11.-12.11.12)}
\author{(Author)}
\publishers{\includegraphics{example-image}}
\maketitle
\end{document}
结果:
如果第一个标题页应该是封面,您可以添加选项并使用 、 和修改封面titlepage=firstiscover
的边距。请注意,这些是宏而不是长度。\coverpagetopmargin
\coverpagebottommargin
\coverpageleftmargin
\coverpagerightmargin
\documentclass[a4paper,twoside,10pt]{report}
\usepackage[extendedfeature=title,titlepage=firstiscover]{scrextend}
\usepackage{mwe}
\renewcommand*{\coverpagebottommargin}{.3\paperheight}
\begin{document}
\title{(Title)}
\subtitle{( ABC......(new line) Timeperiod: 10.11.-12.11.12)}
\author{(Author)}
\publishers{\includegraphics{example-image}}
\maketitle
\end{document}