Skip to content

Commit 6b469e8

Browse files
author
happi
committed
Update cover assets
1 parent 6e13c0a commit 6b469e8

2 files changed

Lines changed: 12 additions & 9 deletions

File tree

cover.pdf

7 Bytes
Binary file not shown.

resources/book_cover.md

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,34 +5,37 @@ header-includes:
55
- \usepackage{graphicx}
66
- \usepackage{xcolor}
77
- \usepackage{fontspec}
8-
- \setmainfont{Lato}
8+
- \setmainfont[Path=/usr/share/fonts/truetype/ubuntu/,UprightFont=Ubuntu-R.ttf,BoldFont=Ubuntu-B.ttf]{Ubuntu}
99
- \usepackage{tikz}
10+
- \usepackage{shadowtext}
11+
- \shadowoffset{0.7pt}
12+
- \shadowcolor{black!50}
1013
- \usepackage{eso-pic}
1114
- \AddToShipoutPictureBG*{\includegraphics[width=\paperwidth,height=\paperheight]{resources/redcover.jpg}}
1215
---
1316

1417
\begin{tikzpicture}[remember picture, overlay]
1518
% Title
1619
\node at ([yshift=-1.3in]current page.north)
17-
{\fontsize{40}{48}\selectfont\color{white}The};
20+
{\fontsize{40}{48}\selectfont\color{white}\shadowtext{The}};
1821
\node at ([yshift=-2.5in]current page.north)
19-
{\fontsize{72}{84}\selectfont\bfseries\color{white}BEAM};
22+
{\fontsize{72}{84}\selectfont\bfseries\color{white}\shadowtext{BEAM}};
2023
\node at ([yshift=-3.5in]current page.north)
21-
{\fontsize{52}{62}\selectfont\bfseries\color{white}Book};
24+
{\fontsize{52}{62}\selectfont\bfseries\color{white}\shadowtext{Book}};
2225
% Rule
2326
\draw[white, opacity=0.4, line width=0.5pt]
2427
([yshift=-4.1in, xshift=-1.5in]current page.north) --
2528
([yshift=-4.1in, xshift=1.5in]current page.north);
2629
% Subtitle
2730
\node at ([yshift=-4.7in]current page.north)
28-
{\fontsize{15}{22}\selectfont\color{white}Understanding the Erlang};
31+
{\fontsize{15}{22}\selectfont\color{white}\shadowtext{Understanding the Erlang}};
2932
\node at ([yshift=-5.05in]current page.north)
30-
{\fontsize{15}{22}\selectfont\color{white}Runtime System};
33+
{\fontsize{15}{22}\selectfont\color{white}\shadowtext{Runtime System}};
3134
% Author
3235
\node at ([yshift=1.0in]current page.south)
33-
{\fontsize{31}{36}\selectfont\bfseries\color{white}Erik Stenman};
36+
{\fontsize{31}{36}\selectfont\bfseries\color{white}\shadowtext{Erik Stenman}};
3437
% Publisher mark
3538
\node[opacity=0.45, anchor=south east]
36-
at ([xshift=-0.4in, yshift=0.3in]current page.south east)
37-
{\includegraphics[height=0.5in]{resources/hh_publisher_mark.png}};
39+
at ([xshift=-0.3in, yshift=0.3in]current page.south east)
40+
{\includegraphics[height=0.3in]{resources/hh_publisher_mark.png}};
3841
\end{tikzpicture}

0 commit comments

Comments
 (0)