Added all the files for lulu.com + A5 booklet
[littlebook.git] / lb-pocket-cover.tex
1 %% -*- mode: latex; mode: reftex; mode: flyspell; coding: utf-8; tex-command: "pdflatex.sh" -*-
2
3 \documentclass[11pt]{article}
4 \usepackage[paperheight=180.98mm,paperwidth=231.29mm,top=0.0cm,bottom=0.0cm,left=0.0cm,right=0.0cm]{geometry}
5 \usepackage[utf8]{inputenc}
6
7 \usepackage[utf8]{inputenc}
8 \usepackage[T1]{fontenc}
9 \usepackage[osf]{libertine}
10 %\usepackage{microtype}
11 \usepackage{tikz}
12
13 \let\ordinal\relax
14 \usepackage[us]{datetime}
15 \newdateformat{dotdate}{\THEYEAR.\twodigit{\THEMONTH}.\twodigit{\THEDAY}}
16
17 \def\construct{none}
18 %% \def\construct{red}
19
20 \begin{document}
21
22 \center
23
24 \vspace*{\stretch{1}}
25
26 \begin{tikzpicture}
27
28 \pgfmathsetlengthmacro{\width}{224.2mm}
29 \pgfmathsetlengthmacro{\height}{0.95\textheight}
30 %\pgfmathsetlengthmacro{\spinewidth}{8.74mm}
31 \pgfmathsetlengthmacro{\spinewidth}{10.74mm} % add 1mm for the fold
32
33 \pgfmathsetlengthmacro\x{(\width-\spinewidth)/2}
34 \pgfmathsetlengthmacro\mx{\width/2}
35 \pgfmathsetlengthmacro\sidewidthx{(\width-\spinewidth)/2}
36 \pgfmathsetlengthmacro\mxl{(\width-\spinewidth)/4}
37 \pgfmathsetlengthmacro\mxr{\width/2 + \spinewidth/2 + (\width-\spinewidth)/4}
38 \pgfmathsetlengthmacro\my{\height/2}
39
40 \draw[draw=\construct] (0,0) rectangle ++(\width,\height);
41 \draw[draw=\construct] (\x,0) rectangle ++(\spinewidth,\height);
42
43 \node[rotate=-90] (spine)
44 % at (\mx,\my)% proto 2023.06.10
45  at (\mx-1mm,\my)
46      {\large The Little Book of Things \hspace*{3cm} Bob Jones};
47
48 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
49
50 \node (cover front) at (\mxr,\my){
51 %
52   \begin{minipage}{80mm}
53     \begin{center}
54
55       \vspace*{18ex}
56
57       {\huge The Little Book\\[0.75ex] of\\[1.75ex] Things}
58
59       \vspace*{8ex}
60
61       {\Large Bob Jones}
62
63       \vspace*{12ex}
64
65 %%       \includegraphics[width=0.8\textwidth] {pics/neocognitron.png}\hspace*{3mm}
66
67       \vspace*{18ex}
68
69     \end{center}
70   \end{minipage}
71 };
72
73 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
74
75 \node (cover back)
76 % at (\mxl,\my) % proto 2023.06.10
77 at (\mxl-2mm,\my)
78 {
79
80   \begin{minipage}{80mm}
81 This book is a short introduction to things for readers with a
82 STEM background. It aims at providing the necessary background to
83 understand landmark things.
84   \end{minipage}
85 };
86
87 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
88
89 \end{tikzpicture}
90
91 \vspace*{\stretch{1}}
92
93 \end{document}