summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/bookcover/bookcover-example2.tex
blob: 9444376f895d28537758a14571ed2c5fcdce8a51 (plain)
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
\documentclass[markcolor=black,spinewidth=15mm]{bookcover}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[english]{babel}
\usepackage{url,lipsum}
\definecolor{amiyellow}{cmyk}{0,0,.5,0}
\begin{document}

% The outside of the book cover 
\begin{bookcover}

% Yellow triangle on the back cover by tikz code
\bookcovercomponent{tikz}{bg back}{
    \fill[color=amiyellow](.5,.5)--(17.5,24.5)--(17.5,0)--(.5,0)--cycle;}

% Yellow triangle on the front cover by tikz code
\bookcovercomponent{tikz}{bg front}{
    \fill[color=amiyellow](0,0)--(0,24.5)--(17,.5)--(17,0)--cycle;}

% Yellow background color on the spine
\bookcovercomponent{color}{bg spine}{color=amiyellow}

% Remark
\bookcovercomponent{center}{above front}{
    \color{red}\textsc{Annales Mathematicae et Informaticae} book cover -- outside}

% Text on the spine
\bookcovercomponent{center}{spine}{
    \rotatebox[origin=c]{90}{\footnotesize\bfseries 
        ANNALES MATHEMATICAE ET INFORMATICAE 43.\ (2014)}}

% Text and pictures (summa.pdf, ekflogo.pdf) on the front cover
\bookcovercomponent{normal}{front}{
    \vspace{30.5mm}
    \centering
    {\huge\bfseries ANNALES\\ MATHEMATICAE ET\\ INFORMATICAE\\[13mm]}
    {\large\bfseries TOMUS 43.\ (2014)}\\[10mm]
    \includegraphics{./figures/summa.pdf}
    \vfill
    {\large COMMISSIO REDACTORIUM}\\[3mm]
    \parbox{123mm}{\centering\lipsum[2]\par}
    \vfill
    {\large\bfseries HUNGARIA}
    \vspace{10mm}}

\end{bookcover}

% The inside of the book cover 
\begin{bookcover}

% Remark
\bookcovercomponent{center}{above front}{
    \color{red}\textsc{Annales Mathematicae et Informaticae} book cover -- inside}

% Text on the front cover (it is back of the inside book cover!)
\bookcovercomponent{normal}{front}{
    \vspace{27mm}
    \begin{center}
        \bfseries
        ANNALES MATHEMATICAE ET INFORMATICAE\\[3mm]
        International journal for mathematics and computer science\\[3mm]
        Referred by\\
        Zentralblatt für Mathematik\\
        and\\
        Mathematical Reviews\\
    \end{center}
    \bigskip
    \begin{center}
        \parbox{126mm}{\lipsum[1]}
    \end{center}}

\end{bookcover}

\end{document}