Code: Select all
\newwatermark*[allpages,color=red!50,angle=45,scale=2,xpos=0,ypos=0]
{
% What I would like, but generates error
% \verb|Copyright (2018) name@gmail.com|
% Poor workaround:
$\mathrm{Copyright (2018) name@gmail.com}$
}
Code: Select all
\newwatermark*[allpages,color=red!50,angle=45,scale=2,xpos=0,ypos=0]
{
% What I would like, but generates error
% \verb|Copyright (2018) name@gmail.com|
% Poor workaround:
$\mathrm{Copyright (2018) name@gmail.com}$
}
NEW: TikZ book now 40% off at Amazon.com for a short time.
\verb
command and the verbatim
environment must be able to be rendered immediately; they cannot appear in footnotes, headers, section headings, captions, and so forth.\texttt
command. By the way, next time give a minimum working example so we don't have to spend ten minutes trying to figure out which package provides the newwatermark
command.Code: Select all
\documentclass{article}
\usepackage{textcomp}
\usepackage{xcolor}
\usepackage{xwatermark}
\newwatermark*[allpages,color=red!50,angle=45,scale=2,xpos=0,ypos=0]
{% Better?
Copyright \copyright 2018 \href{mailto:name@gmail.com}{\texttt{name@gmail.com}}
}
\begin{document}
hello
\end{document}
Sorry. I thought someone would know off the top of his head, I would have been happy with just try "texttt".By the way, next time give a minimum working example so we don't have to spend ten minutes trying to figure out which package provides the newwatermark command.
NEW: TikZ book now 40% off at Amazon.com for a short time.