The following are the codes.
Code: Select all
\documentclass[12pt]{article}% load the necessary packages\usepackage[paperheight=9in,paperwidth=13.24in,margin=0in]{geometry}\usepackage[dvipsnames,prologue,table]{pstricks}\usepackage{pst-text}\usepackage{pst-grad}\usepackage{graphicx}\usepackage{lipsum}% begin the document and suppress page numbers\begin{document}\pagestyle{empty}% create the box with the front cover picture\newsavebox\IBox\sbox\IBox{\includegraphics[height=9in]{najmi.jpg}}% set up the picture environment\psset{unit=1in}\begin{pspicture}(13.24in,9in)% set up the fonts we use\DeclareFixedFont{\PT}{T1}{ppl}{b}{it}{0.5in}\DeclareFixedFont{\PTsmall}{T1}{ppl}{b}{it}{0.4in}\DeclareFixedFont{\PTsmallest}{T1}{ppl}{b}{it}{0.3in}\DeclareFixedFont{\PTtext}{T1}{ppl}{b}{it}{11pt}\DeclareFixedFont{\Logo}{T1}{pbk}{m}{n}{0.3in}% create a maroon background%\psframe[fillstyle=solid,fillcolor=Blue](0,0)(13.24,9)%\psframe[fillstyle=solid,fillcolor=Maroon](0,0)(13.24,9)% place the front cover picture\rput[lb](7.24,0){\usebox\IBox}% put the text on the front cover\rput[lb](7.74,7){\PTsmall \color{white}{Backpacking without\\Borders}}\rput[lb](8.94,6){\PTsmallest \color{white}{Najmi Zabidi}}\rput[lb](9.04,0.8){\PTsmallest \color{white}{Mypapit Press}}% put the text on the spine (note the rotation over 270 degrees)\rput[b]{270}(6.62,8,0.75){\PTsmallest \color{black}{Backpacking without Borders}}% put the publisher’s logo on the spine\rput[b](6.62,0.75){\color{black}{\fbox{\Logo MP}}}% Create a Box containing the text for the back cover\newsavebox\Blurbbox\sbox\Blurbbox{\begin{minipage}{4.5in}
Code: Select all
\rput[b]{270}(6.62,8,0.75){\PTsmallest \color{black}{Backpacking without Borders}}
Secondly, I commented out the \psframe before so that I can get maroon color, but seems the pdflatex didn't recognize that. Or is it obsolete? Since it mentioned undefined sequence, which AFAIK no such command exist.
Finally, I got problem printing ISBN
Code: Select all
{\psbarcode{1-58880-149}{includetext guardwhitespace}{isbn}}