निरंजन
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.

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