重现格式

重现格式

如果有人能帮助我复制以下标题页就太好了。

我使用 ps-tricks 完成了。但主要问题是下划线不会根据标题的长度而移动,等等。谢谢。

在此处输入图片描述

这是我所做的:

\documentclass[a4 paper]{book}

\usepackage{pstricks-add}
\usepackage[paperheight=297mm,paperwidth=210mm,margin=0mm]{geometry}
\usepackage{graphicx}

\newsavebox\IBox
\sbox\IBox{\includegraphics[scale=0.05]{logo.pdf}}


\begin{document}
\pagestyle{empty}


\begin{figure*}
\centering
\begin{pspicture}(-10.5,-14.5)(10.5,14.5)
\rput(0,12){\usebox\IBox}
\psframe[linewidth=5pt](-10.,-14)(10.,14)
\psframe(-8,-8)(8,6)
\psline(-8,9.5)(8,9.5)
\rput(0,10){\textbf{University of }}}
\rput(0,8){Faculty of}
\rput(0,7){PHD thesis}
\rput(0,3.){{\Huge Thesis Title}}
\psline(-3.5,2.)(3.5,2.)
\rput(0,0.5){Author:}
\rput(0,-1.){{\Large The Author}}
\psline(-5,-1.5)(5,-1.5)
\rput(0,-2.5){Advised by:}
\rput(0,-3){{\Large Dr. Advisor}}
\psline(-4,-4)(4,-4)
\rput(0,-6){May 2020}
\psline(-8,-10)(8,-10)
\rput(0,-11){A copyright message}
\end{pspicture}
\end{figure*}
\end{document}

答案1

我已经使用 PSTricks 很长时间了,后来换成了 TiZ 永远。所以我有一些编辑器宏可以将 PSTricks 代码转换为 TiZ. 我在你的代码上使用它们并为下划线节点添加了一种样式。

\documentclass[a4paper]{book}
\usepackage[paperheight=297mm,paperwidth=210mm,margin=0mm]{geometry}

\usepackage{tikz}
\usetikzlibrary{positioning}

\newsavebox\IBox
\sbox\IBox{\includegraphics[scale=0.05]{example-image-duck.pdf}}% use your logo here


\begin{document}
\pagestyle{empty}\mbox{}\vfill
\begin{center}
\begin{tikzpicture}[underlined/.style={append after command={
([xshift=-1ex,yshift=-1ex]\tikzlastnode.south west) edge[#1] 
([xshift=1ex,yshift=-1ex]\tikzlastnode.south east)}}]
\node at (0,12){\usebox\IBox};
\draw[line width=5pt](-10.,-14) rectangle (10.,14);
\draw (-8,-8)  rectangle (8,6) (-8,9.5) -- (8,9.5) 
(-8,-10) -- (8,-10);
\node[font=\bfseries] at(0,10){University of};
\node at (0,8){Faculty of};
\node at (0,7){PHD thesis};
\node[font=\Huge,underlined] at (0,3.){Thesis Title};
\node at (0,0.5){Author:};
\node[font=\Large,underlined] at (0,-1.){The Author};
\node (ad) at  (0,-2.5) {Advised by:};
\node[below=1em of ad,font=\Large] {Dr.\ Advisor};
\node at (0,-6){May 2020};
\node at (0,-11){A copyright message};
\end{tikzpicture}
\end{center}\vfill\mbox{}\clearpage
\end{document}

在此处输入图片描述

这并没有真正充分体现 Ti 的公正性Z,它可以让事情变得更加简单,但它可以给你提供一些可以调整下划线的东西,并且可以作为基础。

相关内容