निरंजन
How to form a book cover with spine and borders? Spine should have text written vertically on it. [This](https://topanswers.xyz/tex?q=1642#a1884) answer by @samcarter helped me to form the following code.


\documentclass{article}
\usepackage[a3paper]{geometry}
\usepackage{pgfpages}
\usepackage{pdfpages}
\pgfpagesuselayout{2 on 1}
\pagestyle{empty}

\begin{document}
\includepdf[pages=1]{front-cover}
\includepdf[pages=1]{back-cover}
\end{document}


I got this file as my output.

![cover.jpeg](/image?hash=aa6964f5b849cb767a795beea91ac82385dc87bb01c4e18af26f906712e041a7)

Now I want to add the spine and add borders at the left and the right.

Enter question or answer id or url (and optionally further answer ids/urls from the same question) from

Separate each id/url with a space. No need to list your own answers; they will be imported automatically.