t**i 发帖数: 688 | 1 I want to write text "DRAFT" on every page of my draft, usually very big and
gray colored and run cross one whole page from the left bottom to upper
right.
Can someone enlighten me with sample code? Thanks. | i***k 发帖数: 15 | 2 Try package draftcopy. Never try it myself, but according to the description
, it should work.
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=watermark | t**i 发帖数: 688 | 3 Now I have been able to define a new command \BackgroundText so that I can
put teh desired text in gray into the background. However, how to have it
automatically written once for every page? Currently, I have to call the
command every time I need it.
\usepackage{color, fancybox}
\definecolor{LightGray}{gray}{0.85}
\newcommand{\BackgroundText}{%
\boxput{\rotatebox{45}{\scalebox{5.5}{%
\textcolor{LightGray}{DRAFT}}}}
}
and
【在 t**i 的大作中提到】 : I want to write text "DRAFT" on every page of my draft, usually very big and : gray colored and run cross one whole page from the left bottom to upper : right. : Can someone enlighten me with sample code? Thanks.
| t**i 发帖数: 688 | 4 FIXED!
\usepackage{eso-pic}
\usepackage{color}
\AddToShipoutPicture{%
\AtTextCenter{%
\makebox(0,0)[c]{\resizebox{\textwidth}{!}{%
\rotatebox{45}{\textsf{\textbf{\textcolor[gray]{0.90}{DRAFT}}}}}}%
}
}
【在 t**i 的大作中提到】 : Now I have been able to define a new command \BackgroundText so that I can : put teh desired text in gray into the background. However, how to have it : automatically written once for every page? Currently, I have to call the : command every time I need it. : \usepackage{color, fancybox} : \definecolor{LightGray}{gray}{0.85} : \newcommand{\BackgroundText}{% : \boxput{\rotatebox{45}{\scalebox{5.5}{% : \textcolor{LightGray}{DRAFT}}}} : }
|
|