Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added src/cover.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
31 changes: 31 additions & 0 deletions src/main.tex
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,38 @@

% \includeonly{ch02.tex}

\usepackage{tikz}

% Document
\begin{document}
\begin{sloppypar} %latex中一行文字出现溢出问题的解决方法
%\maketitle

\begin{center}
\thispagestyle{empty}
%\includegraphics[width=\textwidth,height=\textheight,keepaspectratio]{cover.jpg}
\begin{tikzpicture}[remember picture, overlay, inner sep=0pt]
\node at (current page.center)
{\includegraphics[width=\paperwidth, keepaspectratio=false]{cover.jpg}};
\end{tikzpicture}
\newpage
\thispagestyle{empty}
\huge
\textbf{Programming Rust, 2nd Edition}
\\[10pt]
\normalsize
Fast, Safe Systems Development
\\[9pt]
\normalsize
作者: Jim Blandy, Jason Orendorff, Leonora F. S. Tindall
\\[8pt]
\normalsize
译者:\href{https://github.com/MeouSker77/ProgrammingRust}{MeouSker77}
\\[8pt]
\normalsize
版本:\href{https://www.oreilly.com/library/view/programming-rust-2nd/9781492052586/}{2021-06-11}
\end{center}

\frontmatter
\setcounter{secnumdepth}{0}
\pagestyle{front}
Expand Down Expand Up @@ -116,4 +146,5 @@
\include{ch22}
\include{ch23}
\backmatter
\end{sloppypar}
\end{document}
Loading