I'm having problem with two separate things.

  1. The first is, that I can't put a watermark over the images. As you can see in the comments, I have tried many different ways, but none of them works correctly or do what I want. And I can't understand why (this is my first document in LaTeX).
  2. The second thing I need to do, is to change a certain page in my document, from Portrait to Landscape. But the thing is, that I want the whole page to change into Landscape. Meaning the Header and Footer too, and thus I don't want to rotate the page. I have also tried different ways but none of them works as wanted.

I have simplified my code so you can only see one page and not the whole document. Can anyone please help me?


\usepackage{graphicx} %Pictures 
\usepackage{fancyhdr} %Header-Footer

\usepackage{pdflscape} %Landscape
\usepackage{lscape} %Landscape

\usepackage[top=2.5cm, bottom=3cm, left=2cm, right=2cm]{geometry} %Page Margins

\usepackage{draftwatermark} %Works but does not set watermarks over image
%\usepackage[printwatermark]{xwatermark} %Doesn't work
\usepackage{xcolor} %Color Manipulation

%\newsavebox\mybox %Doesn't work
%\savebox\mybox{\tikz[color=red,opacity=0.3]\node{DRAFT};} %Doesn't work
%\newwatermark*[ allpages, angle=45, scale=6, xpos=-20, ypos=15]{\usebox\mybox} 

%\SetWatermarkText{\includegraphics{draft.png}} %Doesn't work

\graphicspath{{C:\Path...}} %path for pictures


\fancyhead[R]{Header  \\ Date}
\fancyfoot[R] {\textbf{•}\\ \thepage} % \textbf{•} is empty, therefore No. of page is in 2nd line


%\newwatermark*[page=2-\lastdocpage,color=red!50,angle=45,scale=3,xpos=0,ypos=0]{\textsc{draft}} %Doesn't work

\SetWatermarkText{\textsc{draft}} %Works but does not set watermarks over image as wanted
\SetWatermarkScale{3} %Works but does not set watermarks over image as wanted
\SetWatermarkColor[gray]{0.75} %Works but does not set watermarks over image as wanted

\caption{Caption rotates with image as wanted}

  • For the portrait to landscape change, have a look at the geometry package. It allows to create a new page layout and resetting it. – Huang_d Jun 19 '17 at 10:57
  • @Huang_d from (ftp.cc.uoc.gr/mirrors/CTAN/macros/latex/contrib/geometry/…), I read that papersize-related options and paper size options can’t be changed with geometry package (I also tried it to be sure). But thank's anyway!! – Kypraiou Theodora Jun 19 '17 at 11:39
  • I see. I just remembered it allowed \newgeometry and restoregeometry. Sorry for the misinformation. – Huang_d Jun 19 '17 at 12:21
  • @Huang_d thank you very much for your time!! – Kypraiou Theodora Jun 20 '17 at 9:42

Here is a suggestion using a combination of package typearea from the KOMA-Script bundle and package geometry. Note that you can not use \newgeometry to change the margins of the resulting landscape page. Its bottom margin will be about twice as large as its top margin.

To get the correct head and foot width on the landscape page I would use scrlayer-scrpage instead fancyhdr for header and footer.

Then an additional foreground layer can be defined and added to all layer page styles (@everystyle@) or to a selected one (eg. scrheadings). I presume that the text below the watermark should be still readable, so I use a tikz node with opacity=.3.

  headheight=24pt,footheight=24pt,% as suggested by scrlayer-scrpage
]{typearea}% load this before geometry!!
\usepackage[top=2.5cm, bottom=3cm, hmargin=2cm]{geometry}


\usepackage{tikz}%loads graphicx and xcolor


    [minimum width=\layerwidth,minimum height=\layerheight,text=red,opacity=.3]
\AddLayersToPageStyle{@everystyle@}{watermark.fg}% comment this to remove the watermark

\usepackage{blindtext}% only for dummy text


    \caption{Caption rotates with image as wanted}



enter image description here

  • thank you very much!! It works perfect!! But I have one more question. How can I remove the blank page that was created before the landscaped page? (Of course I didn't create that page and I can't find a way to do that). – Kypraiou Theodora Jun 22 '17 at 9:08
  • Probably the picture is too high to fit on the page. Shrink its height a bit. – esdd Jun 22 '17 at 9:17
  • I tried, but the blank page still exists. I also tried \nopagebreak but as you can image, nothing changed. I have found something about the \afterpage package and I'm trying to find more about it. – Kypraiou Theodora Jun 22 '17 at 9:36
  • I removed the blank page, by deleting \clearpage from \newcommand\switchtolandscape{}. Thank's again!! – Kypraiou Theodora Jun 23 '17 at 8:02

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.