的封面 贡萨洛·梅迪纳从这里 :演示文稿 Beamer [标题页] 很漂亮,很明亮,我尝试过像他那样做,但这
\documentclass[a4paper,12pt]{report}
是我的尝试
\PassOptionsToPackage{demo}{graphicx}
\documentclass[a4paper,12pt]{report}
\usepackage{tikz}
\usetikzlibrary{calc}
\newcommand\HRule{\rule{\textwidth}{1pt}}
\begin{document}
\begin{titlepage}
\titlegraphic{\includegraphics[height=1cm,width=2cm]{logo1}}
\titlegraphicii{\includegraphics[height=1cm,width=2cm]{logo2}}
\begin{center}
% Upper part of the page
\textsc{\LARGE University}\\[2.5cm]
\textsc{\Large Project}\\[3cm]
% Title
\HRule \\[0.4cm]
{ \huge \bfseries Title}\\[0.1cm]
{ \large \bfseries subTitle}\\[0.4cm]
\HRule \\[2cm]
\textsc{\normalsize Defended on : December day,year.}\\[1cm]
{\centering\itshape Jury Members\par}
President: president\par\medskip
\begin{tabular}[t]{@{}l@{\hspace{3pt}}p{.32\textwidth}@{}}
Examiners: & examiner 1 \\
& examiner 2 \\
& examiner 3 \\
& examiner 4
\end{tabular}%
\footnotesize
\begin{tabular}[t]{@{}l@{\hspace{3pt}}p{.3\textwidth}@{}}
Supervisor 1: & supervisor \\
Supervisor 2: & supervisor
\end{tabular}%
\end{center}
\end{titlepage}
\end{document}
生产: 我想知道你是否可以帮助我为文档{报告}获取相同的东西
答案1
我不知道你是否正在寻找这样的东西:
代码:
\documentclass[a4paper,12pt]{report}
\usepackage[demo]{graphicx}
\usepackage[framemethod=TikZ]{mdframed}
\newcommand\HRule{\rule{\textwidth}{1pt}}
\newmdenv[%
innertopmargin = 0.8cm,
innerbottommargin = 0.8cm,
backgroundcolor = blue,
linewidth = 0pt,
fontcolor = white
]{mybox}
\begin{document}
\begin{titlepage}
\includegraphics[height=1cm,width=2cm]{logo1}\hfill\includegraphics[height=1cm,width=2cm]{logo2}
\begin{center}
% Upper part of the page
{\LARGE\scshape University\\[2.5cm]}
{\Large\scshape Project\\[3cm]}
% Title
\begin{mybox}
\centering
{\huge\bfseries Title\\[0.1cm]}
{\large\bfseries subTitle}
\end{mybox}
\vspace*{2cm}
{\normalsize\scshape Defended on : December day,year.\\[1cm]}
{\itshape Jury Members\\[1cm]}
{\raggedright President: president\par}
\bigskip
\begin{tabular}[t]{@{}l@{\hspace{3pt}}p{.3\textwidth}@{}}
Examiners: & examiner 1 \\
& examiner 2 \\
& examiner 3 \\
& examiner 4
\end{tabular}\hfill
\begin{tabular}[t]{@{}l@{\hspace{3pt}}p{.2\textwidth}@{}}
Supervisor 1: & supervisor \\
Supervisor 2: & supervisor
\end{tabular}%
\end{center}
\end{titlepage}
\end{document}
有一件事:当改变字体属性时
{\huge\bfseries Title}\\[0.1cm]
这必须写成
{\huge\bfseries Title\\[0.1cm]}
否则段落不会结束,这会影响基线行为。
有关详细信息,请参阅此示例回答我的和相关链接。