summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/bookcover/bookcover-example2.tex
blob: 73970450351e58e44a91f45c6c48ff32c5c4cf94 (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
75
76
77
78
79
80
\documentclass[markcolor=black,spinewidth=15mm]{bookcover}
\usepackage[latin]{babel}
\usepackage{lipsum}
\definecolor{amiyellow}{cmyk}{0,0,.6,0}

\begin{document}

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

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

% Yellow triangle on the back cover by tikz code
\bookcovercomponent{tikz}{bg back}{
    \fill[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[amiyellow](0,0)--(0,24.5)--(17,.5)--(17,0)--cycle;}

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

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

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

% Text on the back cover
\bookcovercomponent{normal}{back}{
    \vspace{30mm}
    \centering
    {\large\bfseries Contents}\\[5mm]
    \parbox{126mm}{\lipsum[1-4]}}

\end{bookcover}

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

% Remark
\bookcovercomponent{center}{above front}{
    \textcolor{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\"{u}r Mathematik\\
        and\\
        Mathematical Reviews\\
    \end{center}
    \bigskip
    \begin{center}
        \parbox{126mm}{\lipsum[1]}
    \end{center}}

\end{bookcover}

\end{document}