I just tried this:
\makeatletter
\renewcommand{\fnum@figure}[1]{\textbf{Fig.~\thefigure. }}
\renewcommand{\fnum@table}[1]{Table~\thetable. } % for tables if req.
\makeatother
It works fine... Even in the preamble!
Thanks a lot
Remzi
On Tuesday 20 August 2002 07:28, Remzi Seker wrote:
> Thanks a lot Robert. I have been trying all possible things I have found,
> but frankly I never thought of putting it at the begining of the document
> in ERT! I always used the preamble.
>
> On Tuesday 20 August 2002 07:04, Robert Spee wrote:
> > according to my documentation you should use
> >
> > \renewcommand\figurename{Fig}
> >
> > So, without the extra braces.
> >
> > I tried it (with Lyx 1.1.6fix4 and komascrip class Report) and it works
> > when I put it in ERT in the document, but not when I put in in the
> > Preamble. Don't no wy, but try it somewhere at the beginning of your
> > document.
> >
> > Gr
> >
> > Robert
> >
> > PS. using the extra braces doesn't matter, it works also.
> >
> > > -----Original Message-----
> > > From: Remzi Seker [mailto:[EMAIL PROTECTED]]
> > > Sent: dinsdag 20 augustus 2002 13:44
> > > To: [EMAIL PROTECTED]
> > > Subject: changing figure name
> > >
> > >
> > > Hi,
> > >
> > > I am using koma-script book class for my dissertation.
> > > The figure names should change from Figure 1: to
> > > Fig. 1.
> > >
> > > Now, I tried \renewcommand{\figurename}{Fig}
> > > but nothing happens.
> > >
> > > Thinking Koma might be hard to manipulate (I couldn't locate where the
> > > figure name is assigned inside the class otherwise i would
> > > have changed it,)
> > > I change the document layout to regular book. Nothing happens
> > > again. I tried
> > > report layout as well.
> > >
> > > Can someone please tell me how I can make those changes? Thanks
> > >
> > > Remzi