我正在尝试重新创建Dean Serenevy 的 pstricks 标题页。代码如下:
\documentclass{scrarticle}
\usepackage{pstricks}
\pagestyle{empty}
%--------------------------------------------------------------
\begin{document}
%--------------------------------------------------------------
\begin{titlepage}
\psset{unit=1in}
\begin{pspicture}(8.5,11)
\rput[b](3.5,8){\parbox{5in}{\begin{flushright}
\Huge\bfseries\sffamily Title Line 1\\ Title Line 2
\end{flushright}}}
\uput[-90](3.5,8){\color{red}\rule{5in}{1ex}}
\end{pspicture}
\end{titlepage}
\clearpage
%--------------------------------------------------------------
\section*{Introduction}
...
\end{document}
答案1
可以通过简单的文本命令完成:
\documentclass{scrarticle}
\usepackage{xcolor}
%--------------------------------------------------------------
\begin{document}
%--------------------------------------------------------------
\begin{titlepage}
\raggedleft
\Huge\bfseries\sffamily
Title Line 1\\
Title Line 2
\textcolor{red}{\rule{\linewidth}{1ex}}
\end{titlepage}
\section*{Introduction}
...
\end{document}