5

I am writing an scrbook and would like to create a cover consisting of only an image and a shaded text box like the one below.

enter image description here

Does anyone has a recipe for adding a similar cover to this template:

\documentclass[
a4paper, 
10pt,
pagesize,
titlepage=true,
numbers=noenddot,]{scrbook}
\begin{document}
\tableofcontents
\chapter{gg}
\chapter{cc}
\end{document}
  • 2
    Usually a book cover has three parts, front side, back of the book and rear side. For example can you use class coverbook. See for example question tex.stackexchange.com/q/17579/16550 – Kurt Dec 1 '18 at 0:27
5

Welcome to TeX.SE! I don't know if there is a template but you can easily cook up something of that sort.

\documentclass[
a4paper, 
10pt,
pagesize,
titlepage=true,
numbers=noenddot,]{scrbook}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[overlay,remember picture]
\node[rotate=-90] at (current page.center)
{\includegraphics[width=\paperheight,height=\paperwidth]{example-image-duck}};
\node[fill=white,fill opacity=0.5,text opacity=1,font=\bfseries\sffamily,align=left,inner sep=5mm,anchor=north] at 
([yshift=-1cm]current page.north) 
{{\Huge How to hibernate}\\ {\Large A marmot's guide to hibernation}};
\end{tikzpicture}
\clearpage
\tableofcontents
\chapter{gg}
\chapter{cc}
\end{document}

enter image description here

  • 2
    Can you explain me how is it that a marmot can write a book about hibernation when it/s/he is asleep all of that time? – gusbrs Dec 1 '18 at 1:17
  • 3
    @gusbrs This will all be explained in the book. ;-) – marmot Dec 1 '18 at 1:18
  • 2
    :) I can imagine that the last folk that attempted to read it had slept by page 4! (This means the book is a great success of course). – gusbrs Dec 1 '18 at 1:21
  • 2
    Please add text opacity=1 because otherwise the text will be quite "hidden". – TeXnician Dec 1 '18 at 8:24
  • Beautifully elegant and simple!!!! Thanks @marmot – J-Cash Dec 1 '18 at 12:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.