Skip to content

Commit ca12e37

Browse files
CruiseYoungcruise
and
cruise
authored
add cover (MeouSker77#37)
Co-authored-by: cruise <yangjixiang@yebaojiasu.com>
1 parent 06cb10d commit ca12e37

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed

‎src/cover.jpg

209 KB
Loading

‎src/main.tex

+31
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,38 @@
7878

7979
% \includeonly{ch02.tex}
8080

81+
\usepackage{tikz}
82+
8183
% Document
8284
\begin{document}
85+
\begin{sloppypar} %latex中一行文字出现溢出问题的解决方法
86+
%\maketitle
87+
88+
\begin{center}
89+
\thispagestyle{empty}
90+
%\includegraphics[width=\textwidth,height=\textheight,keepaspectratio]{cover.jpg}
91+
\begin{tikzpicture}[remember picture, overlay, inner sep=0pt]
92+
\node at (current page.center)
93+
{\includegraphics[width=\paperwidth, keepaspectratio=false]{cover.jpg}};
94+
\end{tikzpicture}
95+
\newpage
96+
\thispagestyle{empty}
97+
\huge
98+
\textbf{Programming Rust, 2nd Edition}
99+
\\[10pt]
100+
\normalsize
101+
Fast, Safe Systems Development
102+
\\[9pt]
103+
\normalsize
104+
作者: Jim Blandy, Jason Orendorff, Leonora F. S. Tindall
105+
\\[8pt]
106+
\normalsize
107+
译者:\href{https://github.com/MeouSker77/ProgrammingRust}{MeouSker77}
108+
\\[8pt]
109+
\normalsize
110+
版本:\href{https://www.oreilly.com/library/view/programming-rust-2nd/9781492052586/}{2021-06-11}
111+
\end{center}
112+
83113
\frontmatter
84114
\setcounter{secnumdepth}{0}
85115
\pagestyle{front}
@@ -116,4 +146,5 @@
116146
\include{ch22}
117147
\include{ch23}
118148
\backmatter
149+
\end{sloppypar}
119150
\end{document}

0 commit comments

Comments
 (0)