以下是我尝试使用该bookcover
包装遵循的打印机的护封模板:
例如,模板中的数字似乎与 20 毫米环绕、安全边距、翻盖宽度和书脊之间的数字不符。
这是我的代码:
\documentclass[
coverwidth = 216mm,
coverheight = 279mm,
spinewidth = 11mm,
bleedwidth = 20mm,
marklength = 20mm,
flapwidth = 80mm,
wrapwidth = 3mm
% trimmed % Show only trimmed part!
]{bookcover}
\letnamebookcoverpart{xspine}{spine}[0mm,0mm,0mm,0mm]
% The 'xspine' is an arbitrary name, which is the trimmed part of the spine.
% [<left margin>,<top margin>,<right margin>,<bottom margin>] deductions for margins
\letnamebookcoverpart{xfront}{front}[0mm,0mm,0mm,0mm]
\letnamebookcoverpart{xback}{back}[0mm,0mm,0mm,0mm]
\letnamebookcoverpart{xfrontflap}{front flap}[0mm,0mm,0mm,0mm]
\letnamebookcoverpart{xbackflap}{back flap}[0mm,0mm,0mm,0mm]
% Used for title on the spine
\newbookcovercomponenttype{center rotate}{
\vspace{0.5in}
\centering
\rotatebox[origin=c]{-90}{#1}
\vfill}
\usepackage[english]{babel}
\usepackage{microtype}
\begin{document}
\begin{bookcover}
\begin{bookcoverelement}{color}{xspine}
color=lightgray
\end{bookcoverelement}
\begin{bookcoverelement}{color}{xfront}
color=lightgray
\end{bookcoverelement}
\begin{bookcoverelement}{color}{xback}
color=lightgray
\end{bookcoverelement}
\begin{bookcoverelement}{color}{xfrontflap}
color=lightgray
\end{bookcoverelement}
\begin{bookcoverelement}{color}{xbackflap}
color=lightgray
\end{bookcoverelement}
% Picture on the front cover behind the title
\begin{bookcoverelement}{center}{bg front}[-2.5in,-2.35in,,-1.138in]
\resizebox{2in}{!}{\includegraphics{CoverImage.png}}
\end{bookcoverelement}
% Title on the front cover
\begin{bookcoverelement}{normal}{front}[,,,1in]
\centering
\bfseries
\resizebox{7in}{!}{MY CATCHY}\\[8mm]
\resizebox{7in}{!}{TITLE}\\
\end{bookcoverelement}
% Author on the front cover
\begin{bookcoverelement}{normal}{front}[4.75in,,,9.5in]
\centering
\bfseries
\resizebox{2.6739in}{!}{Author One}\\[3.7083mm]
\resizebox{2.6739in}{!}{Author Two}\\
\end{bookcoverelement}
% Title on the spine
\begin{bookcoverelement}{center rotate}{spine}
\LARGE\bfseries
\scalebox{.7}[1.0]{\textit{\textrm{My Catchy Title}}}
\end{bookcoverelement}
\end{bookcover}
\end{document}
模板中 20 毫米的环绕在哪里以及如何解释它?浅蓝色的所有内容都是 5 毫米的安全边距吗?深灰色的测量值是多少以及如何解释它?
在我看来,从左到右,我们应该有 619mm = 20mm + 5mm + 80mm + 5mm + 深灰色 + 5mm + 216mm + 5mm + 11mm + 5mm + 216mm + 5mm + 深灰色 + 5mm + 80mm + 5mm + 20mm,但对于任何深灰色的选择来说,这并不合适。
答案1
\documentclass[
coverwidth = 226mm, % 216mm + 2x5mm
coverheight = 289mm, % 279mm + 2x5mm
spinewidth = 11mm,
bleedwidth = 20mm,
marklength = 0mm,
flapwidth = 90mm, % 80mm + 2x5mm
wrapwidth = 3mm
]{bookcover}
\letnamebookcoverpart{xspine}{spine}[,5mm,,5mm]
\letnamebookcoverpart{xfront}{front}[5mm,5mm,5mm,5mm]
\letnamebookcoverpart{xback}{back}[5mm,5mm,5mm,5mm]
\letnamebookcoverpart{xfrontflap}{front flap}[5mm,5mm,5mm,5mm]
\letnamebookcoverpart{xbackflap}{back flap}[5mm,5mm,5mm,5mm]
\definecolor{bleed}{RGB}{124,180,225}
\definecolor{margin}{RGB}{173,209,236}
\definecolor{wrap}{RGB}{90,103,120}
\definecolor{spine}{RGB}{234,243,251}
\begin{document}
\begin{bookcover}
\begin{bookcoverelement}{color}{bg whole}
color=bleed
\end{bookcoverelement}
\begin{bookcoverelement}{color}{whole}
color=margin
\end{bookcoverelement}
\begin{bookcoverelement}{color}{xspine}
color=spine
\end{bookcoverelement}
\begin{bookcoverelement}{color}{xfront}
color=white
\end{bookcoverelement}
\begin{bookcoverelement}{color}{xback}
color=white
\end{bookcoverelement}
\begin{bookcoverelement}{color}{xfrontflap}
color=white
\end{bookcoverelement}
\begin{bookcoverelement}{color}{xbackflap}
color=white
\end{bookcoverelement}
\begin{bookcoverelement}{color}{back wrap}
color=wrap
\end{bookcoverelement}
\begin{bookcoverelement}{color}{front wrap}
color=wrap
\end{bookcoverelement}
\end{bookcover}
\end{document}