-
Notifications
You must be signed in to change notification settings - Fork 99
/
cover.tex
75 lines (59 loc) · 2.81 KB
/
cover.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
\documentclass[b5paper,12pt]{article}
\usepackage[margin=0in]{geometry}
\usepackage[cm-default]{fontspec}
%% \usepackage{xunicode}
\usepackage{xcolor}
\usepackage{fontspec}
\usepackage[slantfont,boldfont,CJKaddspaces,CJKchecksingle,CJKnumber,fallback]{xeCJK}
\XeTeXlinebreaklocale "zh"
\XeTeXlinebreakskip = 0pt plus 1pt
\defaultfontfeatures{Mapping=tex-text}
\setCJKmainfont[BoldFont={Adobe Heiti Std},ItalicFont={Adobe Fangsong Std},BoldItalicFont={Adobe Kaiti Std}]{Adobe Song Std}
\setCJKsansfont[BoldFont={Adobe Heiti Std},ItalicFont={Adobe Fangsong Std},BoldItalicFont={Adobe Kaiti Std}]{Adobe Song Std}
\setCJKmonofont{Adobe Ming Std}
\setCJKromanfont[BoldFont={Adobe Heiti Std},ItalicFont={Adobe Fangsong Std},BoldItalicFont={Adobe Kaiti Std}]{Adobe Song Std}
\setmainfont{Adobe Garamond Pro}
\setsansfont{Myriad Pro}
\setmonofont{Courier Std}
\setromanfont{Adobe Garamond Pro}
\usepackage{graphicx}
\usepackage{pstricks}
\definecolor{pink}{rgb}{1,0.7,0.7}
\definecolor{main}{rgb}{0.55,0.78,0.29}
\let\psgrid\relax
\begin{document}
\thispagestyle{empty}
\noindent
\begin{pspicture}(\linewidth,\pdfpageheight)
\psgrid
\psline[linewidth=3mm,linecolor=main](0,0.99\pdfpageheight)(\linewidth,0.99\pdfpageheight)
\rput(0.5\linewidth,0.96\pdfpageheight){\textsf{\textbf{\fontsize{14pt}{14pt}\selectfont Node.js Taiwan 社群強力推薦}}}
\rput(\linewidth,\pdfpageheight)
{\pspolygon*(-3.6,0)(-1.4,0)(0,-1.4)(0,-3.6)}
\rput(\linewidth,\pdfpageheight)
{\rput{-45}(-1,-1){\Large\textbf{\white 實戰}}}
\rput(\linewidth,\pdfpageheight)
{\rput{-45}(-1.5,-1.5){\Large\textbf{\white 程式設計}}}
\psframe[linecolor=main,fillcolor=main,fillstyle=solid](0,13.5)(\linewidth,17.5)
\psline[linewidth=0.3in,linecolor=main](0,12.7)(\linewidth,12.7)
\rput[l](1.5,17.5){\textsl{\fontsize{36pt}{36pt}\selectfont The}}
\rput[l](3.6,15.4){\fontsize{96pt}{96pt}\selectfont Node.js}
\rput[l](3.5,15.5){\fontsize{96pt}{96pt}\selectfont\white Node.js}
\rput[l](12,13.6){\textsl{\fontsize{36pt}{36pt}\selectfont Little Book}}
\rput[l](0.75\linewidth,11){\textsf{\textbf{\fontsize{36pt}{36pt}\selectfont 中文版}}}
\rput[b](0.75\linewidth,19)
{\includegraphics[scale=1]{images/nodejs}}
\rput[b](0.18\linewidth,6.5)
{\includegraphics[scale=2.5]{images/professional}}
\rput[rb](0.95\linewidth,5){
\minipage{\linewidth}\raggedleft\huge{\textsf{\textbf{\fontsize{14pt}{28pt}\selectfont
適用最新版 Node.js 0.6.7\\
本書由 Node.js Taiwan 社群程式設計師編寫\\
最快樂的 Node.js 入門學習指南
}}}\endminipage}
\rput[b](3.6,1)
{\includegraphics[scale=0.4]{images/tree}}
\rput[b](3.4,0.3){\textsf{\textbf{\fontsize{28pt}{28pt}\selectfont ContPub Press}}}
\rput[b](0.85\linewidth,0.2){\textsl{\fontsize{22pt}{22pt}\selectfont Node.js Taiwan}}
\end{pspicture}
\end{document}