Thanks for the help;

The first shows only "Dr" at bottom-left of the graph and the second method
shows on top of the float "Draft[!htp]".  They are close to be working.  The
perfect way is to show "Draft" over-writen on the figure, not at sides.

Zailong

-----Original Message-----
From: Dekel Tsur
To: Zailong Bian; LyX users
Sent: 4/4/01 1:30 PM
Subject: Re: Put "Draft" on every graph?

On Tue, Apr 03, 2001 at 02:30:21PM -0400, Zailong Bian wrote:
> Hi.
> 
> How do you put a word "Draft" in size of 36 points on every graph in a
> document?  These graphes are in figure floats. It is not really
practical to
> add that to the graph individually because there are so many pictures.
It
> is possible to add that to every page, but it would be nice to just
add to
> each graph/float.

You can either redefine the \includegraphics command, or redefine the
figure
float env.
The former is done by butting the following in the preamble:

\let\oldincludegraphics=\includegraphics
\renewcommand{\includegraphics}[1]{%
\fontsize{36}{36}\selectfont\makebox[0pt]{Draft}\oldincludegraphics{#1}}

and the lattwe by putting
\let\oldfigure=\figure
\renewcommand{\figure}{%
\oldfigure\fontsize{36}{36}\selectfont\makebox[0pt]{Draft}}

Reply via email to