Re: Labels and short captions

2001-04-12 Thread Martin Adorni

Herbert Voss wrote:
 
 Martin Adorni wrote:
 
  I have a table with a long caption. Because I wanted a shorter caption
  in the List of Tables I decided replace the caption style by:
 
  \caption[shortcaption]{longcaption} In ERT using the LyX-Code layout.
 
  Thereafter I added a label. But when I try to reference to the label I
  get the section number (i.e. 3.4.1). I tried to put the label at
  different places within the caption to get the right numbering but I
  failed. I can't use the caption environment because then Table appears
  twice.
 
 where do you insert the label? before, behind or inside the caption
 command?
 
 Herbert
 
 --
 http:[EMAIL PROTECTED]


John Adcock wrote:
 
 - Original Message -
 From: "Martin Adorni" [EMAIL PROTECTED]
 To: "LyX" [EMAIL PROTECTED]
 Sent: Wednesday, April 11, 2001 12:54 PM
 Subject: Labels and short captions
 
  Hi LyXers,
 
  I have a table with a long caption. Because I wanted a shorter caption
  in the List of Tables I decided replace the caption style by:
 
  \caption[shortcaption]{longcaption} In ERT using the LyX-Code layout.
 
 I do a similar thing in my figures.
 Put the label in the long caption part (you can go insert-label) and it works
 fine.

All right now.

Thanks
Martin



Re: Labels and short captions

2001-04-12 Thread Martin Adorni

Herbert Voss wrote:
 
 Martin Adorni wrote:
 
  I have a table with a long caption. Because I wanted a shorter caption
  in the List of Tables I decided replace the caption style by:
 
  \caption[shortcaption]{longcaption} In ERT using the LyX-Code layout.
 
  Thereafter I added a label. But when I try to reference to the label I
  get the section number (i.e. 3.4.1). I tried to put the label at
  different places within the caption to get the right numbering but I
  failed. I can't use the caption environment because then Table appears
  twice.
 
 where do you insert the label? before, behind or inside the caption
 command?
 
 Herbert
 
 --
 http:[EMAIL PROTECTED]


John Adcock wrote:
 
 - Original Message -
 From: "Martin Adorni" [EMAIL PROTECTED]
 To: "LyX" [EMAIL PROTECTED]
 Sent: Wednesday, April 11, 2001 12:54 PM
 Subject: Labels and short captions
 
  Hi LyXers,
 
  I have a table with a long caption. Because I wanted a shorter caption
  in the List of Tables I decided replace the caption style by:
 
  \caption[shortcaption]{longcaption} In ERT using the LyX-Code layout.
 
 I do a similar thing in my figures.
 Put the label in the long caption part (you can go insert-label) and it works
 fine.

All right now.

Thanks
Martin



Re: Labels and short captions

2001-04-12 Thread Martin Adorni

Herbert Voss wrote:
> 
> Martin Adorni wrote:
> >
> > I have a table with a long caption. Because I wanted a shorter caption
> > in the List of Tables I decided replace the caption style by:
> >
> > \caption[shortcaption]{longcaption} In ERT using the LyX-Code layout.
> >
> > Thereafter I added a label. But when I try to reference to the label I
> > get the section number (i.e. 3.4.1). I tried to put the label at
> > different places within the caption to get the right numbering but I
> > failed. I can't use the caption environment because then Table appears
> > twice.
> 
> where do you insert the label? before, behind or inside the caption
> command?
> 
> Herbert
> 
> --
> http:[EMAIL PROTECTED]


John Adcock wrote:
> 
> - Original Message -
> From: "Martin Adorni" <[EMAIL PROTECTED]>
> To: "LyX" <[EMAIL PROTECTED]>
> Sent: Wednesday, April 11, 2001 12:54 PM
> Subject: Labels and short captions
> 
> > Hi LyXers,
> >
> > I have a table with a long caption. Because I wanted a shorter caption
> > in the List of Tables I decided replace the caption style by:
> >
> > \caption[shortcaption]{longcaption} In ERT using the LyX-Code layout.
> 
> I do a similar thing in my figures.
> Put the label in the long caption part (you can go insert->label) and it works
> fine.

All right now.

Thanks
Martin



Labels and short captions

2001-04-11 Thread Martin Adorni

Hi LyXers,

I have a table with a long caption. Because I wanted a shorter caption
in the List of Tables I decided replace the caption style by:

\caption[shortcaption]{longcaption} In ERT using the LyX-Code layout.

Thereafter I added a label. But when I try to reference to the label I
get the section number (i.e. 3.4.1). I tried to put the label at
different places within the caption to get the right numbering but I
failed. I can't use the caption environment because then Table appears
twice.

Any suggestions (with preferably simple solutions)?

Thanks
Martin

P.S. Working with lyx1.5fix1



Labels and short captions

2001-04-11 Thread Martin Adorni

Hi LyXers,

I have a table with a long caption. Because I wanted a shorter caption
in the List of Tables I decided replace the caption style by:

\caption[shortcaption]{longcaption} In ERT using the LyX-Code layout.

Thereafter I added a label. But when I try to reference to the label I
get the section number (i.e. 3.4.1). I tried to put the label at
different places within the caption to get the right numbering but I
failed. I can't use the caption environment because then Table appears
twice.

Any suggestions (with preferably simple solutions)?

Thanks
Martin

P.S. Working with lyx1.5fix1



Labels and short captions

2001-04-11 Thread Martin Adorni

Hi LyXers,

I have a table with a long caption. Because I wanted a shorter caption
in the List of Tables I decided replace the caption style by:

\caption[shortcaption]{longcaption} In ERT using the LyX-Code layout.

Thereafter I added a label. But when I try to reference to the label I
get the section number (i.e. 3.4.1). I tried to put the label at
different places within the caption to get the right numbering but I
failed. I can't use the caption environment because then Table appears
twice.

Any suggestions (with preferably simple solutions)?

Thanks
Martin

P.S. Working with lyx1.5fix1