Sha256: c8bc46207b80910baa5a8c848cb1bed3a23416e9eaa17e3b27825427678c73d2

Contents?: true

Size: 1.14 KB

Versions: 11

Compression:

Stored size: 1.14 KB

Contents

\documentclass{article}

\makeatletter

\usepackage{calc}
\newlength\onePageWidth
\newlength\onePageHeight
\newlength\spineWidth

% pagesize: 5.25in x 8in
% spinewidth: 9.374mm
\setlength{\onePageWidth}{5.25in}
\setlength{\onePageHeight}{8in}
\setlength{\spineWidth}{9.374mm}

\newlength\geoPaperWidth
\setlength\geoPaperWidth{2\onePageWidth+\spineWidth}
\newlength\frontCoverX
\setlength\frontCoverX{\onePageWidth+\spineWidth}

\usepackage[
  paperwidth=\geoPaperWidth,
  paperheight=\onePageHeight,
  nohead,
  nofoot,
  margin=0pt]{geometry}
\usepackage[cmyk]{xcolor}
\usepackage{graphicx}
\usepackage{eso-pic}
\graphicspath{{./}}

\makeatother

\begin{document}
\mbox{}
%\pagecolor[RGB]{137, 101, 82}
%
\AddToShipoutPictureFG*{\put(\LenToUnit{0mm},\LenToUnit{0mm})%
{\includegraphics[keepaspectratio, height=\paperheight]{cover_back.pdf}}}
%
\AddToShipoutPictureFG*{\put(\LenToUnit{\onePageWidth},\LenToUnit{0mm})%
{\includegraphics[keepaspectratio, height=\paperheight]{cover_spine_L.pdf}}}
%
\AddToShipoutPictureFG*{\put(\LenToUnit{\frontCoverX},\LenToUnit{0mm})%
{\includegraphics[keepaspectratio, height=\paperheight]{cover_front.pdf}}}
%
\end{document}

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
prophecy-0.2.7 lib/prophecy/assets/latex_template/cover_main.tex
prophecy-0.2.6 lib/prophecy/assets/latex_template/cover_main.tex
prophecy-0.2.5 lib/prophecy/assets/latex_template/cover_main.tex
prophecy-0.2.4 lib/prophecy/assets/latex_template/cover_main.tex
prophecy-0.2.3 lib/prophecy/assets/latex_template/cover_main.tex
prophecy-0.2.2 lib/prophecy/assets/latex_template/cover_main.tex
prophecy-0.2.1 lib/prophecy/assets/latex_template/cover_main.tex
prophecy-0.2.0 lib/prophecy/assets/latex_template/cover_main.tex
prophecy-0.1.3 lib/prophecy/assets/latex_template/cover_main.tex
prophecy-0.1.2 lib/prophecy/assets/latex_template/cover_main.tex
prophecy-0.0.1 lib/prophecy/assets/latex_template/cover_main.tex