Initial commit
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
% Copyright (c) 2018-2019,2022 Casper Ti. Vector
|
||||
% Public domain.
|
||||
|
||||
\documentclass[UTF8, zihao = -4]{ctexart}
|
||||
\usepackage{calc, geometry, graphicx}
|
||||
% 如须用 xelatex 编译,请参考 pkuthss.cls 修改字体设置。
|
||||
\usepackage{textcomp, mathptmx}
|
||||
\usepackage[scaled = 0.95]{helvet}
|
||||
\pagestyle{empty}
|
||||
\newlength{\colpad}
|
||||
\newcommand{\colwidth}{0.99\ccwd}
|
||||
|
||||
% 设定论文纸尺寸。
|
||||
\geometry{paperwidth = 460mm, paperheight = 297mm, margin = 0cm}
|
||||
% 设定页面宽度、背面 logo 直径和书脊上下边界宽度。
|
||||
\newcommand{\miniwidth}{210mm}
|
||||
\newcommand{\logowidth}{64mm}
|
||||
\newcommand{\vertmargin}{\fill}
|
||||
% 减号前的值为论文厚度。
|
||||
\setlength{\colpad}{(10mm - \colwidth) / 2}
|
||||
|
||||
\begin{document}
|
||||
\centering
|
||||
\begin{minipage}[b][\textheight][b]{\miniwidth}
|
||||
\vspace*{\fill}\par
|
||||
\centerline{\includegraphics[width = \logowidth]{pkulogo}}\par
|
||||
\vspace*{\fill}\par
|
||||
\end{minipage}
|
||||
\hspace{\colpad}
|
||||
\begin{minipage}[b][\textheight][b]{\colwidth}
|
||||
\bfseries\linespread{1}\selectfont
|
||||
\vspace*{\vertmargin}\par
|
||||
% 标题、年份和学号。
|
||||
测试文档\par\vfill
|
||||
\rotatebox{-90}{2018}\par\vfill\rotatebox{-90}{0123456789}\par
|
||||
\vspace*{\vertmargin}\par
|
||||
\end{minipage}
|
||||
\hspace{\colpad}
|
||||
\begin{minipage}[b][\textheight][b]{\miniwidth}
|
||||
% thesis.pdf 应事先编译好,此处会自动提取其首页。
|
||||
% 因为要插入 pdf 图片,本文档应用 pdflatex 编译。
|
||||
\includegraphics[height = \textheight, page = 1]{thesis}
|
||||
\end{minipage}
|
||||
\end{document}
|
||||
|
||||
% vim:ts=4:sw=4
|
||||
Reference in New Issue
Block a user