我是 LateX 新手,我不知道如何在 LaTeX 中设置这样的边框。请帮帮我,我的论文明天就要交了。:(
答案1
类似这样的事?
\documentclass [a4paper,12pt]{report}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{comicsans}
\usepackage{geometry}
\usepackage[x11names]{xcolor}
\colorlet{rulecolor}{LightSteelBlue3}
\newcommand\colorhrule{\makebox[0pt]{\color{rulecolor}\rule{0.95\paperwidth}{0.6pt}}}
\usepackage{titlesec}
\newpagestyle{title}{%
\sethead{}{}{}
\setfoot{}{}{\raggedleft\rlap{\quad\thepage}}
}%
\begin{document}
\newgeometry{showframe, nomarginpar, nohead, footskip = 6pt, hmargin=25mm, top=15mm, bottom=20mm}
\begin{titlepage}
\thispagestyle{title}
{\color{rulecolor}\smash{\rule[-0.95\paperheight]{0.8pt}{1.05\paperheight}}\hfill\smash{\rule[-0.95\paperheight]{0.8pt}{1.05\paperheight}}}
\begin{center}
\colorhrule\medskip\par
\MakeUppercase{university of nowhere}
\par\colorhrule
\vskip12mm
\MakeUppercase{action potential patterns of a cardiomyocyte}
\par\vfill
{\huge\sffamily\bfseries I}
\par\vskip20mm
A Research Proposal submitted to the\\
Department of Mathematics and Physics
\par\vfill
in Partial Fulfillment\\
of the Requirements for the Degree of\\
Bachelor of Science in Applied Physics
\par\vskip35mm
\colorhrule
\end{center}
\end{titlepage}
\end{document}