diff options
author | Karl Berry <karl@freefriends.org> | 2020-12-06 22:15:49 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-12-06 22:15:49 +0000 |
commit | ee7ad4e344ed96fd200349a08cc117577b65c83e (patch) | |
tree | 4baa405c1ef96a128e552222aa03fd399feb0ef4 /Master/texmf-dist/doc/latex/bookcover/bookcover-example1.tex | |
parent | 3fdb50c0c03b81f4a73e2aded83a4cd2e8b35e86 (diff) |
bookcover (6dec20)
git-svn-id: svn://tug.org/texlive/trunk@57079 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/bookcover/bookcover-example1.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/bookcover/bookcover-example1.tex | 93 |
1 files changed, 40 insertions, 53 deletions
diff --git a/Master/texmf-dist/doc/latex/bookcover/bookcover-example1.tex b/Master/texmf-dist/doc/latex/bookcover/bookcover-example1.tex index 9351a8687ac..da74f6d62b9 100644 --- a/Master/texmf-dist/doc/latex/bookcover/bookcover-example1.tex +++ b/Master/texmf-dist/doc/latex/bookcover/bookcover-example1.tex @@ -1,17 +1,16 @@ -\documentclass[spinewidth=25mm,coverwidth=15cm,coverheight=20cm,flapwidth=6cm]{bookcover} +\documentclass[coverwidth=15cm,coverheight=20cm,spinewidth=25mm, + flapwidth=6cm,wrapwidth=5mm]{bookcover} \newbookcovercomponenttype{center rotate}{ - \parbox[t][\partheight][c]{\partwidth}{ - \begin{center} - \rotatebox[origin=c]{90}{#1} - \end{center}}} + \vfill + \centering + \rotatebox[origin=c]{-90}{#1} + \vfill} \usepackage[outline]{contour}% It doesn't work with xelatex and lualatex \contourlength{1pt} -\definecolor{lightbrown}{RGB}{176,88,0} -\colorlet{title}{yellow!60!black} \usepackage[latin]{babel} -\usepackage{lipsum} +\usepackage{lipsum,microtype} \begin{document} @@ -19,80 +18,68 @@ % Remark \begin{bookcoverelement}{center}{above front} - \textcolor{blue}{A DUST JACKET} + \textcolor{blue}{A dust jacket example} \end{bookcoverelement} -% Black background color on the whole cover +% Background color on the whole cover \begin{bookcoverelement}{color}{bg whole} black \end{bookcoverelement} -% Brown background picture on the whole cover, without the flaps +% Background picture on the whole cover without flaps \begin{bookcoverelement}{picture}{bg whole without flaps} - ./figures/bg.jpg + ./figures/bookcover-bg.jpg \end{bookcoverelement} -% Vertical light brown transparent trails on the back cover by a tikz code -\begin{bookcoverelement}{tikz}{bg back} - \fill[opacity=0.3,color=lightbrown] - (0mm,0mm) rectangle (20mm,210mm) (100mm,0mm) rectangle (150mm,210mm); +% Transparent areas on the back cover +\begin{bookcoverelement}{tikz}{bg back and wrap} + \fill[opacity=0.3,black!50] + (0,0) rectangle (25mm,\partheight) + (part.north east) rectangle ([xshift=-5cm]part.south east); \end{bookcoverelement} -% Vertical light brown transparent trails on the front cover by a tikz code -\begin{bookcoverelement}{tikz}{bg front} - \fill[opacity=0.3,color=lightbrown] - (0mm,0mm) rectangle (50mm,210mm) (130mm,0mm) rectangle (150mm,210mm); +% Transparent areas on the front cover +\begin{bookcoverelement}{tikz}{bg front and wrap} + \fill[opacity=0.3,black!50] + (0,0) rectangle (50mm,\partheight) + (part.north east) rectangle ([xshift=-25mm]part.south east); \end{bookcoverelement} -% Picture on the front, behind the title -\begin{bookcoverelement}{normal}{front} - \vspace{70mm} - \centering - \includegraphics[width=8cm]{./figures/cards.png} +% Picture on the front cover behind the title +\begin{bookcoverelement}{center}{front} + \includegraphics{./figures/bookcover-cards.pdf} \end{bookcoverelement} -% Text on the front cover -\begin{bookcoverelement}{normal}{front} +% Author and title on the front cover +\begin{bookcoverelement}{normal}{front}[,,,5cm] \centering - \vspace{60mm} - \color{title}\sffamily\bfseries - \resizebox*{50mm}{8mm}{\contour{black}{Rose Taylor}} - \par\vspace{20mm} - \resizebox*{90mm}{40mm}{\parbox{35mm}{ - \centering - \contour{black}{PROBABILITY}\\ - \contour{black}{THEORY}\\}} + \color{yellow!60!black}\sffamily\bfseries + \resizebox{!}{5mm}{\contour{black}{Rose Taylor}}\\[26mm] + \resizebox{!}{7mm}{\contour{black}{GAMBLING SYSTEMS}}\\[8mm] + \resizebox{!}{7mm}{\contour{black}{AND STRATEGIES}}\\ \end{bookcoverelement} -% Text on the spine +% Title on the spine \begin{bookcoverelement}{center rotate}{spine} - \contour{black}{% - \color{title}\huge\sffamily\bfseries - Rose Taylor -- Probability Theory} + \color{yellow!60!black}\huge\sffamily\bfseries + \contour{black}{Rose Taylor -- Gambling Systems and Strategies} \end{bookcoverelement} % Text on the back cover -\begin{bookcoverelement}{normal}{back} - \centering - \vspace{20mm} - \parbox{110mm}{\color{white}\lipsum[1]} +\begin{bookcoverelement}{normal}{back}[2cm,2cm,2cm,2cm] + \color{white}\lipsum[1] \end{bookcoverelement} % Text and picture on the front flap -\begin{bookcoverelement}{normal}{front flap} - \centering - \vspace{20mm} - \parbox{40mm}{\color{white}\lipsum[2]} +\begin{bookcoverelement}{normal}{front flap}[1cm,1cm,1cm,2cm] + \color{white}\lipsum[2] \vfill - \includegraphics[width=30mm]{./figures/dice.png} - \vspace{10mm} + {\centering\includegraphics{./figures/bookcover-dice.pdf}\par} \end{bookcoverelement} % Text on the back flap -\begin{bookcoverelement}{normal}{back flap} - \centering - \vspace{20mm} - \parbox{40mm}{\color{white}\lipsum[2]} +\begin{bookcoverelement}{normal}{back flap}[1cm,2cm,1cm,2cm] + \color{white}\lipsum[2] \end{bookcoverelement} \end{bookcover} |