Re: scrbook and width of float

2009-05-15 Thread Johannes Knaus


Am 14.05.2009 um 21:06 schrieb Uwe Stöhr:

Tables cannot be broken horizontally when they are too wide,  
therefore your float is too wide. So you have to assure that the  
table fits the width. I corrected your example see attached.


So, if I understand the whole thing right, if I insert a figure, I can  
set it to 100% col but if I insert a table I can only set the width- 
percentages for each table column not for the whole table. Is that  
right? So if I have a table with let's say 10 columns, I have to set  
each column to 10% of the textwidth? Or is there an easier way?





When you are using figure floats, set the figure width to max. 100  
col% and the float will respect the text column width.







- you are using in your preamble many LaTeX-packages. Do you really  
need all of them? If not it is more safe to use only the packages  
one really needs.


Yes, I really need most of them. But some of them I only left them %ed  
inside the preamble, for my personal reference ;-)


- you have a table within a figure float, but probably only an  
oversight


No, but this is maybe a more general thing. I use tables in my example  
to properly set the stars in a vertical line above each other. I  
didn't know better. In a WYSWYG-Software I would use tabstops to get  
this formatting. But there is no easy way to achieve this in Lyx/ 
Latex, or – well – this may be my oversight.
I use figure floats because these really are – seen from their content  
– figures and not tables.
Do you have an idea how I can get the same formatting without using  
tables?


- figure captions are usually below the image while table captions  
are above the table


Yes, I changed this, as I thought it would be nicer to have all float  
captions above. Or is there a deeper typesetter's-sense of having them  
below for figures?


Thanks a lot for your help and comments, Uwe.

Best regards,
Johannes


--

Sometimes I lie awake at night, and ask, Where have I gone wrong?
Then a voice says to me, This is going to take more than one  
night. (Charlie Brown)





Re: scrbook and width of float

2009-05-15 Thread Uwe Stöhr

Johannes Knaus schrieb:

So, if I understand the whole thing right, if I insert a figure, I can 
set it to 100% col but if I insert a table I can only set the 
width-percentages for each table column not for the whole table. Is that 
right?


Yes.

So if I have a table with let's say 10 columns, I have to set 
each column to 10% of the textwidth? Or is there an easier way?


Yes, but it might be that the lines between the columns also need some space. I don't know an easier 
way, because other methods will only scale the table down so that the character size in the table 
cells is inconsistent with the rest of the document.


For more detailed infos about tables, have a look at the EmbeddedObjects manual. There you also find 
some more details concerning floats and their placement in general.



- you have a table within a figure float, but probably only an oversight


No, but this is maybe a more general thing. I use tables in my example 
to properly set the stars in a vertical line above each other. I didn't 
know better. In a WYSWYG-Software I would use tabstops to get this 
formatting. But there is no easy way to achieve this in Lyx/Latex, or – 
well – this may be my oversight.
I use figure floats because these really are – seen from their content – 
figures and not tables.

Do you have an idea how I can get the same formatting without using tables?


I cannot follow you. What stars do you mean? Why do you need stars in a float and what is your 
desired output (do you have a screenshot or PDF from your WYSIWYG program)?


Yes, I changed this, as I thought it would be nicer to have all float 
captions above. Or is there a deeper typesetter's-sense of having them 
below for figures?


Its the common placement. There might be a deeper sense, but I don't know. But when you open a book 
of your choice, you will see that figure captions are always below the image, while table captions 
are above the table.


regards Uwe


Re: scrbook and width of float

2009-05-15 Thread Johannes Knaus
No, but this is maybe a more general thing. I use tables in my  
example to properly set the stars in a vertical line above each  
other. I didn't know better. In a WYSWYG-Software I would use  
tabstops to get this formatting. But there is no easy way to  
achieve this in Lyx/Latex, or – well – this may be my oversight.
I use figure floats because these really are – seen from their  
content – figures and not tables.
Do you have an idea how I can get the same formatting without using  
tables?


I cannot follow you. What stars do you mean? Why do you need stars  
in a float and what is your desired output (do you have a screenshot  
or PDF from your WYSIWYG program)?


Well, the stars (*) in the LyX-file I posted. Here's a screenshot  
taken from OpenOffice with the tabstop solution:
inline: OOo.png


Regards,
Johannes

Re: scrbook and width of float

2009-05-15 Thread Uwe Stöhr

Johannes Knaus schrieb:

I cannot follow you. What stars do you mean? Why do you need stars in 
a float and what is your desired output (do you have a screenshot or 
PDF from your WYSIWYG program)?


Well, the stars (*) in the LyX-file I posted. Here's a screenshot taken 
from OpenOffice with the tabstop solution:


So you need the stars to form an image? If so, I would create an image using e.g. Inkscape, 
Illustrator, or whatever. Then include it as image.

Without an creating an image, your actual solution is the best that comes into 
my mind.

regards Uwe


Re: scrbook and width of float

2009-05-15 Thread Johannes Knaus


Am 14.05.2009 um 21:06 schrieb Uwe Stöhr:

Tables cannot be broken horizontally when they are too wide,  
therefore your float is too wide. So you have to assure that the  
table fits the width. I corrected your example see attached.


So, if I understand the whole thing right, if I insert a figure, I can  
set it to 100% col but if I insert a table I can only set the width- 
percentages for each table column not for the whole table. Is that  
right? So if I have a table with let's say 10 columns, I have to set  
each column to 10% of the textwidth? Or is there an easier way?





When you are using figure floats, set the figure width to max. 100  
col% and the float will respect the text column width.







- you are using in your preamble many LaTeX-packages. Do you really  
need all of them? If not it is more safe to use only the packages  
one really needs.


Yes, I really need most of them. But some of them I only left them %ed  
inside the preamble, for my personal reference ;-)


- you have a table within a figure float, but probably only an  
oversight


No, but this is maybe a more general thing. I use tables in my example  
to properly set the stars in a vertical line above each other. I  
didn't know better. In a WYSWYG-Software I would use tabstops to get  
this formatting. But there is no easy way to achieve this in Lyx/ 
Latex, or – well – this may be my oversight.
I use figure floats because these really are – seen from their content  
– figures and not tables.
Do you have an idea how I can get the same formatting without using  
tables?


- figure captions are usually below the image while table captions  
are above the table


Yes, I changed this, as I thought it would be nicer to have all float  
captions above. Or is there a deeper typesetter's-sense of having them  
below for figures?


Thanks a lot for your help and comments, Uwe.

Best regards,
Johannes


--

Sometimes I lie awake at night, and ask, Where have I gone wrong?
Then a voice says to me, This is going to take more than one  
night. (Charlie Brown)





Re: scrbook and width of float

2009-05-15 Thread Uwe Stöhr

Johannes Knaus schrieb:

So, if I understand the whole thing right, if I insert a figure, I can 
set it to 100% col but if I insert a table I can only set the 
width-percentages for each table column not for the whole table. Is that 
right?


Yes.

So if I have a table with let's say 10 columns, I have to set 
each column to 10% of the textwidth? Or is there an easier way?


Yes, but it might be that the lines between the columns also need some space. I don't know an easier 
way, because other methods will only scale the table down so that the character size in the table 
cells is inconsistent with the rest of the document.


For more detailed infos about tables, have a look at the EmbeddedObjects manual. There you also find 
some more details concerning floats and their placement in general.



- you have a table within a figure float, but probably only an oversight


No, but this is maybe a more general thing. I use tables in my example 
to properly set the stars in a vertical line above each other. I didn't 
know better. In a WYSWYG-Software I would use tabstops to get this 
formatting. But there is no easy way to achieve this in Lyx/Latex, or – 
well – this may be my oversight.
I use figure floats because these really are – seen from their content – 
figures and not tables.

Do you have an idea how I can get the same formatting without using tables?


I cannot follow you. What stars do you mean? Why do you need stars in a float and what is your 
desired output (do you have a screenshot or PDF from your WYSIWYG program)?


Yes, I changed this, as I thought it would be nicer to have all float 
captions above. Or is there a deeper typesetter's-sense of having them 
below for figures?


Its the common placement. There might be a deeper sense, but I don't know. But when you open a book 
of your choice, you will see that figure captions are always below the image, while table captions 
are above the table.


regards Uwe


Re: scrbook and width of float

2009-05-15 Thread Johannes Knaus
No, but this is maybe a more general thing. I use tables in my  
example to properly set the stars in a vertical line above each  
other. I didn't know better. In a WYSWYG-Software I would use  
tabstops to get this formatting. But there is no easy way to  
achieve this in Lyx/Latex, or – well – this may be my oversight.
I use figure floats because these really are – seen from their  
content – figures and not tables.
Do you have an idea how I can get the same formatting without using  
tables?


I cannot follow you. What stars do you mean? Why do you need stars  
in a float and what is your desired output (do you have a screenshot  
or PDF from your WYSIWYG program)?


Well, the stars (*) in the LyX-file I posted. Here's a screenshot  
taken from OpenOffice with the tabstop solution:
inline: OOo.png


Regards,
Johannes

Re: scrbook and width of float

2009-05-15 Thread Uwe Stöhr

Johannes Knaus schrieb:

I cannot follow you. What stars do you mean? Why do you need stars in 
a float and what is your desired output (do you have a screenshot or 
PDF from your WYSIWYG program)?


Well, the stars (*) in the LyX-file I posted. Here's a screenshot taken 
from OpenOffice with the tabstop solution:


So you need the stars to form an image? If so, I would create an image using e.g. Inkscape, 
Illustrator, or whatever. Then include it as image.

Without an creating an image, your actual solution is the best that comes into 
my mind.

regards Uwe


Re: scrbook and width of float

2009-05-15 Thread Johannes Knaus


Am 14.05.2009 um 21:06 schrieb Uwe Stöhr:

Tables cannot be broken horizontally when they are too wide,  
therefore your float is too wide. So you have to assure that the  
table fits the width. I corrected your example see attached.


So, if I understand the whole thing right, if I insert a figure, I can  
set it to 100% col but if I insert a table I can only set the width- 
percentages for each table column not for the whole table. Is that  
right? So if I have a table with let's say 10 columns, I have to set  
each column to 10% of the textwidth? Or is there an easier way?





When you are using figure floats, set the figure width to max. 100  
col% and the float will respect the text column width.







- you are using in your preamble many LaTeX-packages. Do you really  
need all of them? If not it is more safe to use only the packages  
one really needs.


Yes, I really need most of them. But some of them I only left them %ed  
inside the preamble, for my personal reference ;-)


- you have a table within a figure float, but probably only an  
oversight


No, but this is maybe a more general thing. I use tables in my example  
to properly set the stars in a vertical line above each other. I  
didn't know better. In a WYSWYG-Software I would use tabstops to get  
this formatting. But there is no easy way to achieve this in Lyx/ 
Latex, or – well – this may be my oversight.
I use figure floats because these really are – seen from their content  
– figures and not tables.
Do you have an idea how I can get the same formatting without using  
tables?


- figure captions are usually below the image while table captions  
are above the table


Yes, I changed this, as I thought it would be nicer to have all float  
captions above. Or is there a deeper typesetter's-sense of having them  
below for figures?


Thanks a lot for your help and comments, Uwe.

Best regards,
Johannes


--

Sometimes I lie awake at night, and ask, "Where have I gone wrong?"
Then a voice says to me, "This is going to take more than one  
night." (Charlie Brown)





Re: scrbook and width of float

2009-05-15 Thread Uwe Stöhr

Johannes Knaus schrieb:

So, if I understand the whole thing right, if I insert a figure, I can 
set it to 100% col but if I insert a table I can only set the 
width-percentages for each table column not for the whole table. Is that 
right?


Yes.

So if I have a table with let's say 10 columns, I have to set 
each column to 10% of the textwidth? Or is there an easier way?


Yes, but it might be that the lines between the columns also need some space. I don't know an easier 
way, because other methods will only scale the table down so that the character size in the table 
cells is inconsistent with the rest of the document.


For more detailed infos about tables, have a look at the EmbeddedObjects manual. There you also find 
some more details concerning floats and their placement in general.



- you have a table within a figure float, but probably only an oversight


No, but this is maybe a more general thing. I use tables in my example 
to properly set the stars in a vertical line above each other. I didn't 
know better. In a WYSWYG-Software I would use tabstops to get this 
formatting. But there is no easy way to achieve this in Lyx/Latex, or – 
well – this may be my oversight.
I use figure floats because these really are – seen from their content – 
figures and not tables.

Do you have an idea how I can get the same formatting without using tables?


I cannot follow you. What stars do you mean? Why do you need stars in a float and what is your 
desired output (do you have a screenshot or PDF from your WYSIWYG program)?


Yes, I changed this, as I thought it would be nicer to have all float 
captions above. Or is there a deeper typesetter's-sense of having them 
below for figures?


Its the common placement. There might be a deeper sense, but I don't know. But when you open a book 
of your choice, you will see that figure captions are always below the image, while table captions 
are above the table.


regards Uwe


Re: scrbook and width of float

2009-05-15 Thread Johannes Knaus
No, but this is maybe a more general thing. I use tables in my  
example to properly set the stars in a vertical line above each  
other. I didn't know better. In a WYSWYG-Software I would use  
tabstops to get this formatting. But there is no easy way to  
achieve this in Lyx/Latex, or – well – this may be my oversight.
I use figure floats because these really are – seen from their  
content – figures and not tables.
Do you have an idea how I can get the same formatting without using  
tables?


I cannot follow you. What stars do you mean? Why do you need stars  
in a float and what is your desired output (do you have a screenshot  
or PDF from your WYSIWYG program)?


Well, the stars (*) in the LyX-file I posted. Here's a screenshot  
taken from OpenOffice with the tabstop solution:
<>


Regards,
Johannes

Re: scrbook and width of float

2009-05-15 Thread Uwe Stöhr

Johannes Knaus schrieb:

I cannot follow you. What stars do you mean? Why do you need stars in 
a float and what is your desired output (do you have a screenshot or 
PDF from your WYSIWYG program)?


Well, the stars (*) in the LyX-file I posted. Here's a screenshot taken 
from OpenOffice with the tabstop solution:


So you need the stars to form an image? If so, I would create an image using e.g. Inkscape, 
Illustrator, or whatever. Then include it as image.

Without an creating an image, your actual solution is the best that comes into 
my mind.

regards Uwe


scrbook and width of float

2009-05-14 Thread Johannes Knaus

Hello Lyx Users,

I have a problem regarding the width of floats.
I'm currently writing my thesis using scrbook (DIV=calc option).
When I create a float (happens with all types of floats) and write  
something into it which is wider than the textwidth, it is simply  
cropped at the page border.
How can I set up my floats to generally respect textwidth and if the  
content of the float is wider than textwidth it uses either a smaller  
fontsize or wrapping?


Thanks for your help.

Johannes


Re: scrbook and width of float

2009-05-14 Thread Uwe Stöhr

Johannes Knaus schrieb:

How can I set up my floats to generally respect textwidth and if the 
content of the float is wider than textwidth it uses either a smaller 
fontsize or wrapping?


To be able to help you, can you please provide a _small_ LyX testcase?

regards Uwe


Re: scrbook and width of float

2009-05-14 Thread Johannes Knaus

Oh, of course, here is an example:



testfile.lyx
Description: Binary data




Best regards,
Johannes



Am 14.05.2009 um 18:09 schrieb Uwe Stöhr:


Johannes Knaus schrieb:

How can I set up my floats to generally respect textwidth and if  
the content of the float is wider than textwidth it uses either a  
smaller fontsize or wrapping?


To be able to help you, can you please provide a _small_ LyX testcase?

regards Uwe


--

Sometimes I lie awake at night, and ask, Where have I gone wrong?
Then a voice says to me, This is going to take more than one  
night. (Charlie Brown)





Re: scrbook and width of float

2009-05-14 Thread Uwe Stöhr

Johannes Knaus schrieb:


Oh, of course, here is an example:


Tables cannot be broken horizontally when they are too wide, therefore your float is too wide. So 
you have to assure that the table fits the width. I corrected your example see attached.


When you are using figure floats, set the figure width to max. 100 col% and the float will respect 
the text column width.


Some annotations to your file:

- you are using in your preamble many LaTeX-packages. Do you really need all of them? If not it is 
more safe to use only the packages one really needs.


- you are using in your preamble settings for the LaTeX-package hyperref. Since LyX 1.6.0 LyX 
supports these settings natively, see the document settings under PDF options.


- you have a table within a figure float, but probably only an oversight

- figure captions are usually below the image while table captions are above 
the table

regards Uwe


testfile.lyx
Description: application/lyx


scrbook and width of float

2009-05-14 Thread Johannes Knaus

Hello Lyx Users,

I have a problem regarding the width of floats.
I'm currently writing my thesis using scrbook (DIV=calc option).
When I create a float (happens with all types of floats) and write  
something into it which is wider than the textwidth, it is simply  
cropped at the page border.
How can I set up my floats to generally respect textwidth and if the  
content of the float is wider than textwidth it uses either a smaller  
fontsize or wrapping?


Thanks for your help.

Johannes


Re: scrbook and width of float

2009-05-14 Thread Uwe Stöhr

Johannes Knaus schrieb:

How can I set up my floats to generally respect textwidth and if the 
content of the float is wider than textwidth it uses either a smaller 
fontsize or wrapping?


To be able to help you, can you please provide a _small_ LyX testcase?

regards Uwe


Re: scrbook and width of float

2009-05-14 Thread Johannes Knaus

Oh, of course, here is an example:



testfile.lyx
Description: Binary data




Best regards,
Johannes



Am 14.05.2009 um 18:09 schrieb Uwe Stöhr:


Johannes Knaus schrieb:

How can I set up my floats to generally respect textwidth and if  
the content of the float is wider than textwidth it uses either a  
smaller fontsize or wrapping?


To be able to help you, can you please provide a _small_ LyX testcase?

regards Uwe


--

Sometimes I lie awake at night, and ask, Where have I gone wrong?
Then a voice says to me, This is going to take more than one  
night. (Charlie Brown)





Re: scrbook and width of float

2009-05-14 Thread Uwe Stöhr

Johannes Knaus schrieb:


Oh, of course, here is an example:


Tables cannot be broken horizontally when they are too wide, therefore your float is too wide. So 
you have to assure that the table fits the width. I corrected your example see attached.


When you are using figure floats, set the figure width to max. 100 col% and the float will respect 
the text column width.


Some annotations to your file:

- you are using in your preamble many LaTeX-packages. Do you really need all of them? If not it is 
more safe to use only the packages one really needs.


- you are using in your preamble settings for the LaTeX-package hyperref. Since LyX 1.6.0 LyX 
supports these settings natively, see the document settings under PDF options.


- you have a table within a figure float, but probably only an oversight

- figure captions are usually below the image while table captions are above 
the table

regards Uwe


testfile.lyx
Description: application/lyx


scrbook and width of float

2009-05-14 Thread Johannes Knaus

Hello Lyx Users,

I have a problem regarding the width of floats.
I'm currently writing my thesis using scrbook (DIV=calc option).
When I create a float (happens with all types of floats) and write  
something into it which is wider than the textwidth, it is simply  
cropped at the page border.
How can I set up my floats to generally respect textwidth and if the  
content of the float is wider than textwidth it uses either a smaller  
fontsize or wrapping?


Thanks for your help.

Johannes


Re: scrbook and width of float

2009-05-14 Thread Uwe Stöhr

Johannes Knaus schrieb:

How can I set up my floats to generally respect textwidth and if the 
content of the float is wider than textwidth it uses either a smaller 
fontsize or wrapping?


To be able to help you, can you please provide a _small_ LyX testcase?

regards Uwe


Re: scrbook and width of float

2009-05-14 Thread Johannes Knaus

Oh, of course, here is an example:



testfile.lyx
Description: Binary data




Best regards,
Johannes



Am 14.05.2009 um 18:09 schrieb Uwe Stöhr:


Johannes Knaus schrieb:

How can I set up my floats to generally respect textwidth and if  
the content of the float is wider than textwidth it uses either a  
smaller fontsize or wrapping?


To be able to help you, can you please provide a _small_ LyX testcase?

regards Uwe


--

Sometimes I lie awake at night, and ask, "Where have I gone wrong?"
Then a voice says to me, "This is going to take more than one  
night." (Charlie Brown)





Re: scrbook and width of float

2009-05-14 Thread Uwe Stöhr

Johannes Knaus schrieb:


Oh, of course, here is an example:


Tables cannot be broken horizontally when they are too wide, therefore your float is too wide. So 
you have to assure that the table fits the width. I corrected your example see attached.


When you are using figure floats, set the figure width to max. 100 col% and the float will respect 
the text column width.


Some annotations to your file:

- you are using in your preamble many LaTeX-packages. Do you really need all of them? If not it is 
more safe to use only the packages one really needs.


- you are using in your preamble settings for the LaTeX-package hyperref. Since LyX 1.6.0 LyX 
supports these settings natively, see the document settings under "PDF options".


- you have a table within a figure float, but probably only an oversight

- figure captions are usually below the image while table captions are above 
the table

regards Uwe


testfile.lyx
Description: application/lyx