我想制作如下图所示的封面,并将其放入 .tex 文件中。此封面本身是在 LaTeX 中制作的,但它与 XeTeX 不兼容,并且它使用至少 3 个不同的文件以及定义等。
因此,我想知道是否可以创建一个全新的 .tex 文件,也许命名为“Titlepage”,这样我就可以只放入主 .tex 文件\include{cover}
而无需其他不必要的麻烦。
有人能帮我解决这个相当“大”的问题吗?我不知道该怎么做。假设横幅图像名为 image.jpg。
我提前非常感谢您。
答案1
\documentclass[11pt,x11names]{report}
\usepackage[left=2.5cm,right=1cm,top=2.5cm,bottom=0cm]{geometry}
\usepackage[dutch]{babel}
\usepackage{graphicx}
\usepackage{tabularx}
\usepackage{tikz}
\renewcommand{\familydefault}{\sfdefault}
\usepackage[scaled=0.92]{helvet}
\begin{document}
\definecolor{blueXIIdark}{cmyk}{1,.8,.30,.05}
\definecolor{blueXIIlight}{cmyk}{.0,.30,1,.00}
%\vspace{5cm}
\begin{tikzpicture}[remember picture,overlay]
\draw ([yshift=-1.8in]current page.north) node[inner sep=0] (a) {\includegraphics[width=\paperwidth]{kleurlabel}};
\node[anchor=east,xshift=-8mm] (example-tabular) at (a.east) {
\begin{tabular}{rr}
\LARGE\color{white}\bfseries Faculteit Geneeskunde en \\
\LARGE\color{white}\bfseries Gezondheidswetenschappen \\
\end{tabular}
};
\end{tikzpicture}
\vspace{8cm}
\Huge\color{blueXIIdark} Here comes the title of the dissertation
\vspace{8.5cm}
\large\color{black}
\begin{tabularx}{\textwidth}{Xr}
& \textbf{\Large Author Name}\vspace{0.8cm}\\
Promotor: & Profefschrift ingediend ter verkrijgen \\
Prof. dr. ir. B. Leader & van de graad van Master of Science\\
& in de geneeskunde\\[2cm]
& Academiejaar 2014--2015
\end{tabularx}
\vspace{1.5cm}
\noindent\makebox[\linewidth]{\color{blueXIIlight}\rule{30cm}{8pt}}
\end{document}
答案2
固定的:
\begin{titlepage}
\definecolor{blueXIIdark}{cmyk}{1,.8,.30,.05}
\definecolor{blueXIIlight}{cmyk}{.0,.30,1,.00}
\vspace{0cm}
\noindent\hspace{-2.6cm}
\begin{tikzpicture}
\draw (0, 0) node[inner sep=0] {\includegraphics[width=\paperwidth]{logobalk}};
% \draw (5.9,0) node (example-tabular) {
%\begin{tabular}{rr}
%\LARGE\color{white}\bfseries Faculteit Geneeskunde en \\
%\LARGE\color{white}\bfseries Gezondheidswetenschappen \\
%\end{tabular}
%};
\end{tikzpicture}
\vfill
\Huge\color{blueXIIdark}\noindent Title\\
\huge\color{blueXIIlight}\noindent Subtitle
\vfill
\large\color{black}
\begin{tabularx}{\textwidth}{Xr}
& \textbf{\Large Author name}\vspace{0.8cm}\\
Promotor: & Eerste bachelor in de geneeskunde \\
Prof. dr. Profdoc & Faculteit Geneeskunde en Gezondheidswetenschappen\\ & Universiteit Gent \\ & Stamnummer xxxxxxxx\vspace{2cm}\\
& Academiejaar 2014--2015
\end{tabularx}
\vspace{2cm}
\noindent\makebox[\linewidth]{\color{blueXIIlight}\rule{30cm}{8pt}}
\end{titlepage}