Re: arrangement issue

2009-05-06 Thread Olivier Ripoll

ami guru wrote:

Hello forum,

I have inserted C++ code snippet inside the float:algorithm block and then i
inserted vertical spaces

And then i inserted float:figure, inserted images.


When i preview the in the pdf format the images show up before the code
snippet. I should be vice versa.

Any idea on that one?


Floats are floating elements. But Lyx let's you choose the default 
behaviour for floats and even each float behaviour.

You may want to try the here definitely or the here if possible
To set this behaviour document-wise, got to
Documents-Settings-Float Placement
To set this only for a given float, right-click onto the Float : 
Algorithm box (resp. Float : Figure) and choose settings. Then 
click the here definitely choice. You can also access this by Float 
Settings... at the bottom of the edit menu when a float is selected.


Best regards,

Olivier

PS: LyX is not a word processor, vertical spaces are most of the time 
not the right way to go.




What am i missing in the process?


Regards
Sajjad





Re: arrangement issue

2009-05-06 Thread Olivier Ripoll

ami guru wrote:

Hello forum,

I have inserted C++ code snippet inside the float:algorithm block and then i
inserted vertical spaces

And then i inserted float:figure, inserted images.


When i preview the in the pdf format the images show up before the code
snippet. I should be vice versa.

Any idea on that one?


Floats are floating elements. But Lyx let's you choose the default 
behaviour for floats and even each float behaviour.

You may want to try the here definitely or the here if possible
To set this behaviour document-wise, got to
Documents-Settings-Float Placement
To set this only for a given float, right-click onto the Float : 
Algorithm box (resp. Float : Figure) and choose settings. Then 
click the here definitely choice. You can also access this by Float 
Settings... at the bottom of the edit menu when a float is selected.


Best regards,

Olivier

PS: LyX is not a word processor, vertical spaces are most of the time 
not the right way to go.




What am i missing in the process?


Regards
Sajjad





Re: arrangement issue

2009-05-06 Thread Olivier Ripoll

ami guru wrote:

Hello forum,

I have inserted C++ code snippet inside the float:algorithm block and then i
inserted vertical spaces

And then i inserted float:figure, inserted images.


When i preview the in the pdf format the images show up before the code
snippet. I should be vice versa.

Any idea on that one?


Floats are "floating" elements. But Lyx let's you choose the default 
behaviour for floats and even each float behaviour.

You may want to try the "here definitely" or the "here if possible"
To set this behaviour document-wise, got to
Documents->Settings->Float Placement
To set this only for a given float, right-click onto the "Float : 
Algorithm" box (resp. "Float : Figure") and choose "settings". Then 
click the "here definitely" choice. You can also access this by "Float 
Settings..." at the bottom of the edit menu when a float is selected.


Best regards,

Olivier

PS: LyX is not a word processor, vertical spaces are most of the time 
not the right way to go.




What am i missing in the process?


Regards
Sajjad





arrangement issue

2009-05-05 Thread ami guru
Hello forum,

I have inserted C++ code snippet inside the float:algorithm block and then i
inserted vertical spaces

And then i inserted float:figure, inserted images.


When i preview the in the pdf format the images show up before the code
snippet. I should be vice versa.

Any idea on that one?

What am i missing in the process?


Regards
Sajjad


Re: arrangement issue

2009-05-05 Thread Rich Shepard

On Tue, 5 May 2009, ami guru wrote:


Any idea on that one?
What am i missing in the process?


  The idea behind a floating image box is that TeX will place it where there
is room and minimal disruption of the text flow. If you want the figure in a
specific location take it out of the float box and fix the location.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


arrangement issue

2009-05-05 Thread ami guru
Hello forum,

I have inserted C++ code snippet inside the float:algorithm block and then i
inserted vertical spaces

And then i inserted float:figure, inserted images.


When i preview the in the pdf format the images show up before the code
snippet. I should be vice versa.

Any idea on that one?

What am i missing in the process?


Regards
Sajjad


Re: arrangement issue

2009-05-05 Thread Rich Shepard

On Tue, 5 May 2009, ami guru wrote:


Any idea on that one?
What am i missing in the process?


  The idea behind a floating image box is that TeX will place it where there
is room and minimal disruption of the text flow. If you want the figure in a
specific location take it out of the float box and fix the location.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


arrangement issue

2009-05-05 Thread ami guru
Hello forum,

I have inserted C++ code snippet inside the float:algorithm block and then i
inserted vertical spaces

And then i inserted float:figure, inserted images.


When i preview the in the pdf format the images show up before the code
snippet. I should be vice versa.

Any idea on that one?

What am i missing in the process?


Regards
Sajjad


Re: arrangement issue

2009-05-05 Thread Rich Shepard

On Tue, 5 May 2009, ami guru wrote:


Any idea on that one?
What am i missing in the process?


  The idea behind a floating image box is that TeX will place it where there
is room and minimal disruption of the text flow. If you want the figure in a
specific location take it out of the float box and fix the location.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863