forked from le0pard/postgresql_book
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtitlepages.tex
More file actions
66 lines (61 loc) · 2.15 KB
/
titlepages.tex
File metadata and controls
66 lines (61 loc) · 2.15 KB
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
\usepackage[svgnames]{xcolor}
\ifpdf
\usepackage{pdfcolmk}
\fi
\ifxetex
\usepackage{fontspec}
\fi
\DeclareRobustCommand{\cs}[1]{\texttt{\char`\\#1}}
\newlength{\tpheight}\setlength{\tpheight}{0.9\textheight}
\newlength{\txtheight}\setlength{\txtheight}{0.9\tpheight}
\newlength{\tpwidth}\setlength{\tpwidth}{0.9\textwidth}
\newlength{\txtwidth}\setlength{\txtwidth}{0.9\tpwidth}
\newlength{\drop}
\newenvironment{showtitle}{%
\begin{boxminipage}[c][\tpheight]{\tpwidth}
\centering\begin{vplace}\begin{minipage}[c][\txtheight]{\txtwidth}}%
{\end{minipage}\end{vplace}\end{boxminipage}}
\definecolor{Dark}{gray}{.2}
\definecolor{MedDark}{gray}{.4}
\definecolor{Medium}{gray}{.6}
\definecolor{Light}{gray}{.8}
\newcommand*{\titleGM}{\begingroup% Gentle Madness
\drop = 0.1\txtheight
\vfill
\hbox{%
\hspace*{0.2\txtwidth}%
\rule{1pt}{\txtheight}
\hspace*{0.05\txtwidth}%
%\fbox{%
\parbox[b]{0.75\txtwidth}{
\vbox{%
\vspace{\drop}
{\noindent\HUGE\bfseries Работа с Postgresql}\\[2\baselineskip]
{\Large\itshape настройка, масштабирование}\\[4\baselineskip]
{\Large Алексей Васильев Юрьевич}\par
\vspace{0.5\txtheight}
{\noindent http://leopard.in.ua}\\{\noindent 2011}\\[\baselineskip]
}% end of vbox
}% end of parbox
%}% end of fbox
}% end of hbox
\vfill
\endgroup}
\newcommand*{\titleTMB}{\begingroup% Three Men in a Boat
\drop=0.1\textheight
\centering
\settowidth{\unitlength}{\LARGE Работа с Postgresql: настройка, масштабирование}
\vspace*{\baselineskip}
{\large\scshape Васильев А.Ю.}\\[\baselineskip]
\rule{\unitlength}{1.6pt}\vspace*{-\baselineskip}\vspace*{2pt}
\rule{\unitlength}{0.4pt}\\[\baselineskip]
{\LARGE Работа с Postgresql}\\[\baselineskip]
{\itshape настройка, масштабирование}\\[0.2\baselineskip]
\rule{\unitlength}{0.4pt}\vspace*{-\baselineskip}\vspace{3.2pt}
\rule{\unitlength}{1.6pt}\\[\baselineskip]
{\large\scshape справочное пособие}\par
\vfill
{\large\scshape 2011}\\[\baselineskip]
{\small\scshape Creative Commons Attribution-Noncommercial 2.5}\par
\vspace*{\drop}
\endgroup}