Re: placement of figures/floats

2003-01-16 Thread Olivier Ripoll
Dekel Tsur wrote:

 On Mon, Jan 13, 2003 at 12:37:51AM +0100, Holger Zebner wrote:
  how do I place figures which are included in floats exactly where they
  should be in a text?
  So far, I used to put !h in the extras box of Layout |  Document.
  But figures keep appearing somewhere out of context like one or two
  paragraphs later.
 
  With Lyx Version 1.5-fix I got it made after some time but since I have
  upgraded it doesn't work and when I open my old documents the seem to have
  all problems with floats.

 It is possible to have floats that don't float:
 1. Upgrade to LyX 1.2.3
 2. Click with the right mosue button on the float, and select the
 Here, definitely button.

By the way, I have noticed in 1.2.1 (and 1.2.0) some problems with the choice
bottom. When I choose top, latex more or less works (depends on the number of
floats) but when  choose bottom, latex seems to fail and all my figures go at
the end of the chapter.

Also, how can the order be set in the present dialog box. I'm no latex expert, but
isn't there a difference between tb and bt?

Regards,

Olivier.





Re: placement of figures/floats

2003-01-16 Thread Juergen Spitzmueller
Olivier Ripoll wrote:
 Also, how can the order be set in the present dialog box. I'm no latex
 expert, but isn't there a difference between tb and bt?

No. The order does not matter.

Juergen.



Re: placement of figures/floats

2003-01-16 Thread Jean-Marc Lasgouttes
 Olivier == Olivier Ripoll [EMAIL PROTECTED] writes:

Olivier Also, how can the order be set in the present dialog box. I'm
Olivier no latex expert, but isn't there a difference between tb
Olivier and bt?

Although this is not clear from the docs, reading the source shows that
the order does not matter. Strange but true.

JMarc



RE: placement of figures/floats

2003-01-16 Thread Reuter, Joseph


 -Original Message-
 From: Holger Zebner [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, January 14, 2003 12:56 PM
 To: Reuter, Joseph; [EMAIL PROTECTED]
 Subject: RE: placement of figures/floats
 
 
 
   how do I place figures which are included in floats exactly
   where they
   should be in a text?
 
 float means you want LaTeX to move the figure to its idea 
 of the best 
 location. If that is not what you want, don't use a float!
 
 I used floats because I want to have a caption under the 
 figure. If I put 
 some text in the caption environment outside of floats I get 
 the error msg: 
 can't use caption outside floats. Is there a way of getting 
 a caption 
 outside of a float?

I asked the search engine at www.tug.org about captions. The packages at 
macros/contrib/supported/nonfloat and macros/contrib/supported/ccaption both have the 
capability to insert captions outside of a float. At worst, you have to insert them 
using ERT.

Joe

__
In theory, theory and practice are the same:
in practice, they're not. 



Re: placement of figures/floats

2003-01-16 Thread Herbert Voss
Reuter, Joseph schrieb:

I asked the search engine at www.tug.org about captions. The packages at macros/contrib/supported/nonfloat and macros/contrib/supported/ccaption both have the capability to insert captions outside of a float. At worst, you have to insert them using ERT.


no, you can define your own LyX paragraph layout
called NonFloatCaption. This one inserts the
\usepackage{nonfloat} into the preamble and
the \figcaption{...} into the exported LaTeX
output. You do not need any ERT!

Herbert


--
http://www.educat.hu-berlin.de/~voss/lyx/




Re: placement of figures/floats

2003-01-16 Thread Olivier Ripoll
Dekel Tsur wrote:

 On Mon, Jan 13, 2003 at 12:37:51AM +0100, Holger Zebner wrote:
  how do I place figures which are included in floats exactly where they
  should be in a text?
  So far, I used to put !h in the extras box of Layout |  Document.
  But figures keep appearing somewhere out of context like one or two
  paragraphs later.
 
  With Lyx Version 1.5-fix I got it made after some time but since I have
  upgraded it doesn't work and when I open my old documents the seem to have
  all problems with floats.

 It is possible to have floats that don't float:
 1. Upgrade to LyX 1.2.3
 2. Click with the right mosue button on the float, and select the
 Here, definitely button.

By the way, I have noticed in 1.2.1 (and 1.2.0) some problems with the choice
bottom. When I choose top, latex more or less works (depends on the number of
floats) but when  choose bottom, latex seems to fail and all my figures go at
the end of the chapter.

Also, how can the order be set in the present dialog box. I'm no latex expert, but
isn't there a difference between tb and bt?

Regards,

Olivier.





Re: placement of figures/floats

2003-01-16 Thread Juergen Spitzmueller
Olivier Ripoll wrote:
 Also, how can the order be set in the present dialog box. I'm no latex
 expert, but isn't there a difference between tb and bt?

No. The order does not matter.

Juergen.



Re: placement of figures/floats

2003-01-16 Thread Jean-Marc Lasgouttes
 Olivier == Olivier Ripoll [EMAIL PROTECTED] writes:

Olivier Also, how can the order be set in the present dialog box. I'm
Olivier no latex expert, but isn't there a difference between tb
Olivier and bt?

Although this is not clear from the docs, reading the source shows that
the order does not matter. Strange but true.

JMarc



RE: placement of figures/floats

2003-01-16 Thread Reuter, Joseph


 -Original Message-
 From: Holger Zebner [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, January 14, 2003 12:56 PM
 To: Reuter, Joseph; [EMAIL PROTECTED]
 Subject: RE: placement of figures/floats
 
 
 
   how do I place figures which are included in floats exactly
   where they
   should be in a text?
 
 float means you want LaTeX to move the figure to its idea 
 of the best 
 location. If that is not what you want, don't use a float!
 
 I used floats because I want to have a caption under the 
 figure. If I put 
 some text in the caption environment outside of floats I get 
 the error msg: 
 can't use caption outside floats. Is there a way of getting 
 a caption 
 outside of a float?

I asked the search engine at www.tug.org about captions. The packages at 
macros/contrib/supported/nonfloat and macros/contrib/supported/ccaption both have the 
capability to insert captions outside of a float. At worst, you have to insert them 
using ERT.

Joe

__
In theory, theory and practice are the same:
in practice, they're not. 



Re: placement of figures/floats

2003-01-16 Thread Herbert Voss
Reuter, Joseph schrieb:

I asked the search engine at www.tug.org about captions. The packages at macros/contrib/supported/nonfloat and macros/contrib/supported/ccaption both have the capability to insert captions outside of a float. At worst, you have to insert them using ERT.


no, you can define your own LyX paragraph layout
called NonFloatCaption. This one inserts the
\usepackage{nonfloat} into the preamble and
the \figcaption{...} into the exported LaTeX
output. You do not need any ERT!

Herbert


--
http://www.educat.hu-berlin.de/~voss/lyx/




Re: placement of figures/floats

2003-01-16 Thread Olivier Ripoll
Dekel Tsur wrote:

> On Mon, Jan 13, 2003 at 12:37:51AM +0100, Holger Zebner wrote:
> > how do I place figures which are included in floats exactly where they
> > should be in a text?
> > So far, I used to put "!h" in the "extras" box of "Layout |  Document".
> > But figures keep appearing somewhere out of context like one or two
> > paragraphs later.
> >
> > With Lyx Version 1.5-fix I got it made after some time but since I have
> > upgraded it doesn't work and when I open my old documents the seem to have
> > all problems with floats.
>
> It is possible to have floats that don't float:
> 1. Upgrade to LyX 1.2.3
> 2. Click with the right mosue button on the float, and select the
> "Here, definitely" button.

By the way, I have noticed in 1.2.1 (and 1.2.0) some problems with the choice
"bottom". When I choose "top", latex more or less works (depends on the number of
floats) but when  choose "bottom", latex seems to fail and all my figures go at
the end of the chapter.

Also, how can the order be set in the present dialog box. I'm no latex expert, but
isn't there a difference between "tb" and "bt"?

Regards,

Olivier.





Re: placement of figures/floats

2003-01-16 Thread Juergen Spitzmueller
Olivier Ripoll wrote:
> Also, how can the order be set in the present dialog box. I'm no latex
> expert, but isn't there a difference between "tb" and "bt"?

No. The order does not matter.

Juergen.



Re: placement of figures/floats

2003-01-16 Thread Jean-Marc Lasgouttes
> "Olivier" == Olivier Ripoll <[EMAIL PROTECTED]> writes:

Olivier> Also, how can the order be set in the present dialog box. I'm
Olivier> no latex expert, but isn't there a difference between "tb"
Olivier> and "bt"?

Although this is not clear from the docs, reading the source shows that
the order does not matter. Strange but true.

JMarc



RE: placement of figures/floats

2003-01-16 Thread Reuter, Joseph


> -Original Message-
> From: Holger Zebner [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, January 14, 2003 12:56 PM
> To: Reuter, Joseph; [EMAIL PROTECTED]
> Subject: RE: placement of figures/floats
> 
> 
> 
> > > how do I place figures which are included in floats exactly
> > > where they
> > > should be in a text?
> >
> >"float" means you want LaTeX to move the figure to its idea 
> of the "best" 
> >location. If that is not what you want, don't use a "float"!
> 
> I used "floats" because I want to have a caption under the 
> figure. If I put 
> some text in the caption environment outside of floats I get 
> the error msg: 
> "can't use caption outside floats". Is there a way of getting 
> a caption 
> outside of a float?

I asked the search engine at www.tug.org about captions. The packages at 
macros/contrib/supported/nonfloat and macros/contrib/supported/ccaption both have the 
capability to insert captions outside of a float. At worst, you have to insert them 
using ERT.

Joe

__
In theory, theory and practice are the same:
in practice, they're not. 



Re: placement of figures/floats

2003-01-16 Thread Herbert Voss
Reuter, Joseph schrieb:

I asked the search engine at www.tug.org about captions. The packages at macros/contrib/supported/nonfloat and macros/contrib/supported/ccaption both have the capability to insert captions outside of a float. At worst, you have to insert them using ERT.


no, you can define your own LyX paragraph layout
called NonFloatCaption. This one inserts the
\usepackage{nonfloat} into the preamble and
the \figcaption{...} into the exported LaTeX
output. You do not need any ERT!

Herbert


--
http://www.educat.hu-berlin.de/~voss/lyx/




RE: placement of figures/floats

2003-01-15 Thread Holger Zebner


 how do I place figures which are included in floats exactly
 where they
 should be in a text?

float means you want LaTeX to move the figure to its idea of the best 
location. If that is not what you want, don't use a float!

I used floats because I want to have a caption under the figure. If I put 
some text in the caption environment outside of floats I get the error msg: 
can't use caption outside floats. Is there a way of getting a caption 
outside of a float?

Holger


OS: SuSu 8.1
TeX: teTeX
Lyx : Version 1.2.1
Adobe Acrobat 5
GIS: GRASS 5.0.0



Re: placement of figures/floats

2003-01-15 Thread Dekel Tsur
On Mon, Jan 13, 2003 at 12:37:51AM +0100, Holger Zebner wrote:
 how do I place figures which are included in floats exactly where they 
 should be in a text?
 So far, I used to put !h in the extras box of Layout |  Document.
 But figures keep appearing somewhere out of context like one or two 
 paragraphs later.
 
 With Lyx Version 1.5-fix I got it made after some time but since I have 
 upgraded it doesn't work and when I open my old documents the seem to have 
 all problems with floats.

It is possible to have floats that don't float:
1. Upgrade to LyX 1.2.3
2. Click with the right mosue button on the float, and select the
Here, definitely button.
If you want ALL your float to have this behavior, without changing each float,
then put H in the Float placement text box in the document dialog,
and add \usepackage{float} to the preamble.

Note that using non-floating floats is a bad idea.
If, for example, your text fills 70% of the page, and you add a non-floating
float whose height is 50% of the page, then the result will be a page break
that will leave an ugly vertical space on the page.



RE: placement of figures/floats

2003-01-15 Thread Holger Zebner


 how do I place figures which are included in floats exactly
 where they
 should be in a text?

float means you want LaTeX to move the figure to its idea of the best 
location. If that is not what you want, don't use a float!

I used floats because I want to have a caption under the figure. If I put 
some text in the caption environment outside of floats I get the error msg: 
can't use caption outside floats. Is there a way of getting a caption 
outside of a float?

Holger


OS: SuSu 8.1
TeX: teTeX
Lyx : Version 1.2.1
Adobe Acrobat 5
GIS: GRASS 5.0.0



Re: placement of figures/floats

2003-01-15 Thread Dekel Tsur
On Mon, Jan 13, 2003 at 12:37:51AM +0100, Holger Zebner wrote:
 how do I place figures which are included in floats exactly where they 
 should be in a text?
 So far, I used to put !h in the extras box of Layout |  Document.
 But figures keep appearing somewhere out of context like one or two 
 paragraphs later.
 
 With Lyx Version 1.5-fix I got it made after some time but since I have 
 upgraded it doesn't work and when I open my old documents the seem to have 
 all problems with floats.

It is possible to have floats that don't float:
1. Upgrade to LyX 1.2.3
2. Click with the right mosue button on the float, and select the
Here, definitely button.
If you want ALL your float to have this behavior, without changing each float,
then put H in the Float placement text box in the document dialog,
and add \usepackage{float} to the preamble.

Note that using non-floating floats is a bad idea.
If, for example, your text fills 70% of the page, and you add a non-floating
float whose height is 50% of the page, then the result will be a page break
that will leave an ugly vertical space on the page.



RE: placement of figures/floats

2003-01-15 Thread Holger Zebner


> how do I place figures which are included in floats exactly
> where they
> should be in a text?

"float" means you want LaTeX to move the figure to its idea of the "best" 
location. If that is not what you want, don't use a "float"!

I used "floats" because I want to have a caption under the figure. If I put 
some text in the caption environment outside of floats I get the error msg: 
"can't use caption outside floats". Is there a way of getting a caption 
outside of a float?

Holger


OS: SuSu 8.1
TeX: teTeX
Lyx : Version 1.2.1
Adobe Acrobat 5
GIS: GRASS 5.0.0



Re: placement of figures/floats

2003-01-15 Thread Dekel Tsur
On Mon, Jan 13, 2003 at 12:37:51AM +0100, Holger Zebner wrote:
> how do I place figures which are included in floats exactly where they 
> should be in a text?
> So far, I used to put "!h" in the "extras" box of "Layout |  Document".
> But figures keep appearing somewhere out of context like one or two 
> paragraphs later.
> 
> With Lyx Version 1.5-fix I got it made after some time but since I have 
> upgraded it doesn't work and when I open my old documents the seem to have 
> all problems with floats.

It is possible to have floats that don't float:
1. Upgrade to LyX 1.2.3
2. Click with the right mosue button on the float, and select the
"Here, definitely" button.
If you want ALL your float to have this behavior, without changing each float,
then put "H" in the Float placement text box in the document dialog,
and add \usepackage{float} to the preamble.

Note that using non-floating floats is a bad idea.
If, for example, your text fills 70% of the page, and you add a non-floating
float whose height is 50% of the page, then the result will be a page break
that will leave an ugly vertical space on the page.



Re: placement of figures/floats

2003-01-12 Thread Paul Medwell
Holger Zebner wrote:

Hello,
how do I place figures which are included in floats exactly where they 
should be in a text?
So far, I used to put !h in the extras box of Layout |  Document.
But figures keep appearing somewhere out of context like one or two 
paragraphs later.

With Lyx Version 1.5-fix I got it made after some time but since I have 
upgraded it doesn't work and when I open my old documents the seem to 
have all problems with floats.

Thanks.
Holger
-

Try right-clicking on the red text that reads float:figure (or 
something to that effect). The Document Defaults will probably be 
selected, un-select this and then choose the one that you want (Here 
Definitely).

Hope this helps.

Paul Medwell




Re: placement of figures/floats

2003-01-12 Thread Paul Medwell
Holger Zebner wrote:

Hello,
how do I place figures which are included in floats exactly where they 
should be in a text?
So far, I used to put !h in the extras box of Layout |  Document.
But figures keep appearing somewhere out of context like one or two 
paragraphs later.

With Lyx Version 1.5-fix I got it made after some time but since I have 
upgraded it doesn't work and when I open my old documents the seem to 
have all problems with floats.

Thanks.
Holger
-

Try right-clicking on the red text that reads float:figure (or 
something to that effect). The Document Defaults will probably be 
selected, un-select this and then choose the one that you want (Here 
Definitely).

Hope this helps.

Paul Medwell




Re: placement of figures/floats

2003-01-12 Thread Paul Medwell
Holger Zebner wrote:

Hello,
how do I place figures which are included in floats exactly where they 
should be in a text?
So far, I used to put "!h" in the "extras" box of "Layout |  Document".
But figures keep appearing somewhere out of context like one or two 
paragraphs later.

With Lyx Version 1.5-fix I got it made after some time but since I have 
upgraded it doesn't work and when I open my old documents the seem to 
have all problems with floats.

Thanks.
Holger
-

Try right-clicking on the red text that reads "float:figure" (or 
something to that effect). The "Document Defaults" will probably be 
selected, un-select this and then choose the one that you want ("Here 
Definitely").

Hope this helps.

Paul Medwell