Stefan
General ⇒ draftwatermark not on top of pictures
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
draftwatermark not on top of pictures
Stefan
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
draftwatermark not on top of pictures
Stefan
draftwatermark not on top of pictures
here's a not so short MWE which duplicates the issue :
Code: Select all
\RequirePackage[l2tabu,orthodox]{nag}
\documentclass[10pt,letterpaper]{revtex4}
\usepackage[french]{babel}
\usepackage[dvipsnames,table]{xcolor}
\usepackage{blindtext}
% Diagonal warning :
\usepackage{transparent}
\usepackage[printwatermark]{xwatermark}
\newwatermark*[allpages,angle=45,color=red,scale=2.5,textalign=center,height=\paperheight,width=\paperwidth,xpos=0,ypos=0
]{\transparent{0.5} \bfseries\sffamily TOP SECRET!}
\begin{document}
\title{Title}
\maketitle
\section{Section title}
Bla bla\footnote{Bla bla : \url{some_url_link}.}. Bla bla
\newpage
\begin{center}
\textcolor{red}{{\LARGE\bfseries SOLUTION}}
\end{center}
\subsection{sub-title}
\blindtext\blindtext
\subsection{sub-title}
Bla blaBla blaBla blaBla blaBla blaBla blaBla blaBla blaBla blaBla blaBla blaBla blaBla blaBla blaBla blaBla blaBla blaBla blaBla bla :
\begin{equation}
P = \frac{3 G M^2}{8 \pi R^6}.
\end{equation}
Bla blaBla blaBla blaBla blaBla blaBla blaBla blaBla blaBla blaBla blaBla blaBla blaBla blaBla blaBla blaBla blaBla blaBla blaBla bla :
\begin{equation}
P = \frac{3 G M^2}{8 \pi R^6}.
\end{equation}
Bla blaBla blaBla blaBla blaBla blaBla blaBla blaBla blaBla blaBla blaBla blaBla blaBla blaBla blaBla blaBla blaBla blaBla blaBla bla :
\begin{equation}
P = \frac{3 G M^2}{8 \pi R^6}.
\end{equation}
\subsection{sub-title}
\blindtext
\begin{equation}
y = x
\end{equation}
\blindtext
\subsection{sub-title}
Bla blaBla blaBla blaBla blaBla blaBla blaBla blaBla blaBla blaBla blaBla blaBla blaBla blaBla blaBla blaBla blaBla blaBla blaBla bla :
\begin{equation}
P = \frac{3 G M^2}{8 \pi R^6}.
\end{equation}
Bla blaBla blaBla blaBla blaBla blaBla blaBla blaBla blaBla blaBla blaBla blaBla blaBla blaBla blaBla blaBla blaBla blaBla blaBla bla :
\begin{equation}
P = \frac{3 G M^2}{8 \pi R^6}.
\end{equation}
Bla blaBla blaBla blaBla blaBla blaBla blaBla blaBla blaBla blaBla blaBla blaBla blaBla blaBla blaBla blaBla blaBla blaBla blaBla bla :
\begin{equation}
P = \frac{3 G M^2}{8 \pi R^6}.
\end{equation}
Bla bla bla :
\begin{equation}
P = \frac{3 G M^2}{8 \pi R^6}.
\end{equation}
Bla bla bla bla :
\begin{equation}
\frac{1}{2} = \frac{3}{4},
\end{equation}
Bla bla bla.
\blindtext
\begin{equation}
y = x.
\end{equation}
\blindtext
\blindtext
\end{document}You should notice that the footnote number isn't showing. And actually, it can be noticed with the previous "TOP SECRET" sign on page 3 (bottom-left corner, as a pale gray [1] next to the warning !). It should not be there ! Can you see this ?
Maybe it's my LaTeX installation (2015) ?
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
draftwatermark not on top of pictures
\documentclass[10pt,letterpaper,nofootinbib]{revtex4}Does it help?
Stefan
draftwatermark not on top of pictures
However, I'm now getting a lot of new weird errors :
andUndefined control sequence.
while I don't see what undefined command I may use. There's still something very fishy in there !Missing number, treated as zero.
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
draftwatermark not on top of pictures
Stefan
draftwatermark not on top of pictures
I think that the revtex4 class is the source of all my problems. Maybe I should change it, but I like very much the revtex4 styling (section and subsection titles, fonts, size and spacements). This style is very appropriate for the documents I'm working on.
What class should I use instead of revtex4, and what options to get the same output as a revtex4 class document ?
draftwatermark not on top of pictures
here's my log file. I don't know what to do with it, and with all the previous error messages. I don't see what's wrong in my commands.
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm