答案1
您可以修补\maketitle
:
\documentclass{scrbook}
\usepackage{xpatch}
\makeatletter
% remove author below the title
\xpatchcmd{\maketitle}
{%
{%
\usekomafont{author}{%
\lineskip 0.75em
\begin{tabular}[t]{c}
\@author
\end{tabular}\par
}%
}%
\vskip 1.5em
}
{}{}{\PatchFailed}
% insert author between subject and title
\xpatchcmd{\maketitle}
{%
\ifx\@subject\@empty \else
{\usekomafont{subject}{\@subject\par}}%
\vskip 3em
\fi
}
{%
\ifx\@subject\@empty \else
{\usekomafont{subject}{\@subject\par}}%
\vskip 3em
\fi
{%
\usekomafont{author}{%
\lineskip 0.75em
\begin{tabular}[t]{c}
\@author
\end{tabular}\par
}%
}%
\vskip 1em
}
{}{\PatchFailed}
\makeatother
\begin{document}
\title{My Title}
\subtitle{My Subtitle}
\author{John Doe}
\uppertitleback{Upper Text}
\lowertitleback{Lower Text}
%\date{}
\maketitle
\end{document}
或者您可以使用titlepage
环境。请注意,也可以在标题页背面插入内容。
\documentclass{scrbook}
\begin{document}
\begin{titlepage}
\null\vfill
\begin{center}
{%
\usekomafont{author}{%
\lineskip 0.75em
\begin{tabular}[t]{c}
John Doe% <- author
\end{tabular}\par
}%
}%
\vskip 1em
{%
\usekomafont{title}{\huge
My title% <- title
\par}%
}%
\vskip 1em
{%
\usekomafont{subtitle}{%
My subtitle% <- subtitle
\par}%
}%
\vskip 1.5em
{\usekomafont{date}{\today \par}}%
\vskip 0pt plus 4fill
\end{center}
\clearpage
\thispagestyle{empty}
\noindent\begin{minipage}[t]{\textwidth}
Upper Text% <- upper text
\end{minipage}\par
\vfill
\noindent\begin{minipage}[b]{\textwidth}
Lower Text% <- lower text
\end{minipage}\par
\end{titlepage}
\end{document}
答案2
我刚刚找到了一个快速而肮脏的解决方案:
\documentclass{scrbook}
\begin{document}
\title{My Title}
\subtitle{My Subtitle\vspace{-8\baselineskip}}
\author{John Doe}
\date{}
\maketitle
\end{document}
答案3
\documentclass{scrbook}
\begin{document}
\newcommand*{\myTitle}{Title of Document}
\newcommand*{\mySubtitle}{SubTitle of Document}
\newcommand*{\myAuthor}{FirstName Surname}
\newcommand*{\myDate}{\today}
\title{\myTitle}
\subtitle{\mySubtitle}
\author{\myAuthor}
\date{\myDate}
\maketitle
\begin{titlepage}
\centering
\myAuthor{}\\
% {} is important if you have a text right after the command.
% Otherwise the command will "eat" the blank space.
\myTitle\\
\mySubtitle\\
\myDate
\end{titlepage}
\end{document}
根据 KOMA 课程作者的回答,请参阅这里 (在德国)。