Re: Two problems with float:tables

2004-01-02 Thread Paul Smith
I have tried the method suggested by you, but I get compiling errors. 
The LyX file is enclosed.


attached the correct file.
With right mouse button clicking on the
minipage button you can change the width of
the minipage. I set it to 30% of columnwidth.
It works fine now! Thanks, Herbert! I have still a question: how can one 
use LyX to insert the caption inside a minipage?

Paul



Re: Two problems with float:tables

2004-01-02 Thread Herbert Voss
Paul Smith wrote:
I have tried the method suggested by you, but I get compiling errors. 
The LyX file is enclosed.


attached the correct file.
With right mouse button clicking on the
minipage button you can change the width of
the minipage. I set it to 30% of columnwidth.


It works fine now! Thanks, Herbert! I have still a question: how can one 
use LyX to insert the caption inside a minipage?
- Insert-minipage (it is by default 100% of columnwidth
  change it with the above method
- now the cursor is inside the minipage
  change to paragraph layout- Caption
- insert caption as usual
Herbert




Re: Two problems with float:tables

2004-01-02 Thread Paul Smith
- Insert-minipage (it is by default 100% of columnwidth
  change it with the above method
- now the cursor is inside the minipage
  change to paragraph layout- Caption
- insert caption as usual
Thank you very much indeed, Herbert!

Paul


Re: Two problems with float:tables

2004-01-02 Thread Paul Smith
I have tried the method suggested by you, but I get compiling errors. 
The LyX file is enclosed.


attached the correct file.
With right mouse button clicking on the
minipage button you can change the width of
the minipage. I set it to 30% of columnwidth.
It works fine now! Thanks, Herbert! I have still a question: how can one 
use LyX to insert the caption inside a minipage?

Paul



Re: Two problems with float:tables

2004-01-02 Thread Herbert Voss
Paul Smith wrote:
I have tried the method suggested by you, but I get compiling errors. 
The LyX file is enclosed.


attached the correct file.
With right mouse button clicking on the
minipage button you can change the width of
the minipage. I set it to 30% of columnwidth.


It works fine now! Thanks, Herbert! I have still a question: how can one 
use LyX to insert the caption inside a minipage?
- Insert-minipage (it is by default 100% of columnwidth
  change it with the above method
- now the cursor is inside the minipage
  change to paragraph layout- Caption
- insert caption as usual
Herbert




Re: Two problems with float:tables

2004-01-02 Thread Paul Smith
- Insert-minipage (it is by default 100% of columnwidth
  change it with the above method
- now the cursor is inside the minipage
  change to paragraph layout- Caption
- insert caption as usual
Thank you very much indeed, Herbert!

Paul


Re: Two problems with float:tables

2004-01-02 Thread Paul Smith
I have tried the method suggested by you, but I get compiling errors. 
The LyX file is enclosed.


attached the correct file.
With right mouse button clicking on the
minipage button you can change the width of
the minipage. I set it to 30% of columnwidth.
It works fine now! Thanks, Herbert! I have still a question: how can one 
use LyX to insert the caption inside a minipage?

Paul



Re: Two problems with float:tables

2004-01-02 Thread Herbert Voss
Paul Smith wrote:
I have tried the method suggested by you, but I get compiling errors. 
The LyX file is enclosed.


attached the correct file.
With right mouse button clicking on the
minipage button you can change the width of
the minipage. I set it to 30% of columnwidth.


It works fine now! Thanks, Herbert! I have still a question: how can one 
use LyX to insert the caption inside a minipage?
- Insert->minipage (it is by default 100% of columnwidth
  change it with the above method
- now the cursor is inside the minipage
  change to paragraph layout-> Caption
- insert caption as usual
Herbert




Re: Two problems with float:tables

2004-01-02 Thread Paul Smith
- Insert->minipage (it is by default 100% of columnwidth
  change it with the above method
- now the cursor is inside the minipage
  change to paragraph layout-> Caption
- insert caption as usual
Thank you very much indeed, Herbert!

Paul


Re: Two problems with float:tables

2004-01-01 Thread Angus Leeming
Paul Smith wrote:

 Dear All
 
 I am trying to insert a table in a document, but I do not know how
 to:
 
 1.diminish the horizontal length of the caption;

Place the float in a minipage?

 2.force the float to be in the same place in the DVI file as it
 appears in the LyX file.

Then it isn't a 'float'...
...right click on the 'Float: table' button and select 'Here, 
definitely'.

-- 
Angus



Re: Two problems with float:tables

2004-01-01 Thread Herbert Voss
Angus Leeming wrote:

1.diminish the horizontal length of the caption;


Place the float in a minipage?
it is not possible to have a float inside a minipage.
It's the other way round: the caption can be inside
the float.
Herbert




Re: Two problems with float:tables

2004-01-01 Thread Paul Smith
1.diminish the horizontal length of the caption;


Place the float in a minipage?


it is not possible to have a float inside a minipage.
It's the other way round: the caption can be inside
the float.
I thank both (Angus and Herbert) for your help! I have just tried the 
way suggested by Angus (putting the float table inside a minipage) and 
it works fine. Probably, my table is not a pure float, since I have 
selected the here definitely placement.

Paul


Re: Two problems with float:tables

2004-01-01 Thread Herbert Voss
Paul Smith wrote:

I thank both (Angus and Herbert) for your help! I have just tried the 
way suggested by Angus (putting the float table inside a minipage) and 
it works fine. Probably, my table is not a pure float, since I have 
selected the here definitely placement.
This is not a good idea. You need a minipage only for the caption,
not for the float. Otherwise it makes no sense, because the
tabular may be of a larger size than the minipage and then
the tabular is not horizontally centered.
Herbert




Re: Two problems with float:tables

2004-01-01 Thread Herbert Voss
Herbert Voss wrote:
Angus Leeming wrote:

1.diminish the horizontal length of the caption;


Place the float in a minipage?


it is not possible to have a float inside a minipage.
It's the other way round: the caption can be inside
the float.
should be the minipage

Herbert




Re: Two problems with float:tables

2004-01-01 Thread Paul Smith
I thank both (Angus and Herbert) for your help! I have just tried the 
way suggested by Angus (putting the float table inside a minipage) and 
it works fine. Probably, my table is not a pure float, since I have 
selected the here definitely placement.


This is not a good idea. You need a minipage only for the caption,
not for the float. Otherwise it makes no sense, because the
tabular may be of a larger size than the minipage and then
the tabular is not horizontally centered.
Thanks, Herbert!

Paul



Re: Two problems with float:tables

2004-01-01 Thread Paul Smith
This is not a good idea. You need a minipage only for the caption,
not for the float. Otherwise it makes no sense, because the
tabular may be of a larger size than the minipage and then
the tabular is not horizontally centered.
I have tried the method suggested by you, but I get compiling errors. 
The LyX file is enclosed.

Paul

#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass report
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize 12
\spacing single 
\papersize a4paper
\paperpackage a4
\use_geometry 0
\use_amsmath 1
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard


\begin_inset Float table
placement H
wide false
collapsed false

\layout Standard
\noindent \align center 

\begin_inset  Tabular
lyxtabular version=3 rows=8 columns=7
features
column alignment=left valignment=top leftline=true width=0
column alignment=block valignment=top leftline=true width=0
column alignment=block valignment=top leftline=true width=0
column alignment=block valignment=top leftline=true width=0
column alignment=block valignment=top leftline=true width=0
column alignment=block valignment=top leftline=true width=0
column alignment=center valignment=top leftline=true rightline=true 
width=0.5cm
row topline=true
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard


\begin_inset Formula $\qquad\; D_{2}$
\end_inset 


\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

1
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

2
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true 
rightline=true usebox=none
\begin_inset Text

\layout Standard

3
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true 
rightline=true usebox=none
\begin_inset Text

\layout Standard

4
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true 
rightline=true usebox=none
\begin_inset Text

\layout Standard

5
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true 
rightline=true usebox=none
\begin_inset Text

\layout Standard

6
\end_inset 
/cell
/row
row
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard


\begin_inset Formula $D_{1}$
\end_inset 


\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true 
rightline=true usebox=none
\begin_inset Text

\layout Standard

\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true 
rightline=true usebox=none
\begin_inset Text

\layout Standard

\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true 
rightline=true usebox=none
\begin_inset Text

\layout Standard

\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true 
rightline=true usebox=none
\begin_inset Text

\layout Standard

\end_inset 
/cell
/row
row topline=true
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

1
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

2
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

3
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true 
rightline=true usebox=none
\begin_inset Text

\layout Standard

4
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true 
rightline=true usebox=none
\begin_inset Text

\layout Standard

5
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true 
rightline=true usebox=none
\begin_inset Text

\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
textcircled{6}
\end_inset 


\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true 
rightline=true usebox=none
\begin_inset Text

\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
framebox{7}
\end_inset 


\end_inset 
/cell
/row
row topline=true bottomline=true
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

2
\end_inset 
/cell
cell alignment=center valignment=top 

Re: Two problems with float:tables

2004-01-01 Thread Herbert Voss
Paul Smith wrote:
This is not a good idea. You need a minipage only for the caption,
not for the float. Otherwise it makes no sense, because the
tabular may be of a larger size than the minipage and then
the tabular is not horizontally centered.


I have tried the method suggested by you, but I get compiling errors. 
The LyX file is enclosed.
attached the correct file.
With right mouse button clicking on the
minipage button you can change the width of
the minipage. I set it to 30% of columnwidth.
Herbert
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize 12
\spacing single 
\papersize a4paper
\paperpackage a4
\use_geometry 0
\use_amsmath 1
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard

blah
\begin_inset Float table
placement H
wide false
collapsed false

\layout Standard
\noindent \align center 

\begin_inset  Tabular
lyxtabular version=3 rows=8 columns=7
features
column alignment=left valignment=top leftline=true width=0
column alignment=block valignment=top leftline=true width=0
column alignment=block valignment=top leftline=true width=0
column alignment=block valignment=top leftline=true width=0
column alignment=block valignment=top leftline=true width=0
column alignment=block valignment=top leftline=true width=0
column alignment=center valignment=top leftline=true rightline=true 
width=0.5cm
row topline=true
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard


\begin_inset Formula $\qquad\; D_{2}$
\end_inset 


\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

1
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

2
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true 
rightline=true usebox=none
\begin_inset Text

\layout Standard

3
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true 
rightline=true usebox=none
\begin_inset Text

\layout Standard

4
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true 
rightline=true usebox=none
\begin_inset Text

\layout Standard

5
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true 
rightline=true usebox=none
\begin_inset Text

\layout Standard

6
\end_inset 
/cell
/row
row
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard


\begin_inset Formula $D_{1}$
\end_inset 


\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true 
rightline=true usebox=none
\begin_inset Text

\layout Standard

\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true 
rightline=true usebox=none
\begin_inset Text

\layout Standard

\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true 
rightline=true usebox=none
\begin_inset Text

\layout Standard

\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true 
rightline=true usebox=none
\begin_inset Text

\layout Standard

\end_inset 
/cell
/row
row topline=true
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

1
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

2
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

3
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true 
rightline=true usebox=none
\begin_inset Text

\layout Standard

4
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true 
rightline=true usebox=none
\begin_inset Text

\layout Standard

5
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true 
rightline=true usebox=none
\begin_inset Text

\layout Standard


\begin_inset ERT
status Open

\layout Standard

\backslash 
textcircled{6}
\end_inset 


\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true 
rightline=true usebox=none
\begin_inset Text

\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
framebox{7}
\end_inset 


\end_inset 
/cell
/row
row topline=true bottomline=true

Re: Two problems with float:tables

2004-01-01 Thread Angus Leeming
Paul Smith wrote:

 Dear All
 
 I am trying to insert a table in a document, but I do not know how
 to:
 
 1.diminish the horizontal length of the caption;

Place the float in a minipage?

 2.force the float to be in the same place in the DVI file as it
 appears in the LyX file.

Then it isn't a 'float'...
...right click on the 'Float: table' button and select 'Here, 
definitely'.

-- 
Angus



Re: Two problems with float:tables

2004-01-01 Thread Herbert Voss
Angus Leeming wrote:

1.diminish the horizontal length of the caption;


Place the float in a minipage?
it is not possible to have a float inside a minipage.
It's the other way round: the caption can be inside
the float.
Herbert




Re: Two problems with float:tables

2004-01-01 Thread Paul Smith
1.diminish the horizontal length of the caption;


Place the float in a minipage?


it is not possible to have a float inside a minipage.
It's the other way round: the caption can be inside
the float.
I thank both (Angus and Herbert) for your help! I have just tried the 
way suggested by Angus (putting the float table inside a minipage) and 
it works fine. Probably, my table is not a pure float, since I have 
selected the here definitely placement.

Paul


Re: Two problems with float:tables

2004-01-01 Thread Herbert Voss
Paul Smith wrote:

I thank both (Angus and Herbert) for your help! I have just tried the 
way suggested by Angus (putting the float table inside a minipage) and 
it works fine. Probably, my table is not a pure float, since I have 
selected the here definitely placement.
This is not a good idea. You need a minipage only for the caption,
not for the float. Otherwise it makes no sense, because the
tabular may be of a larger size than the minipage and then
the tabular is not horizontally centered.
Herbert




Re: Two problems with float:tables

2004-01-01 Thread Herbert Voss
Herbert Voss wrote:
Angus Leeming wrote:

1.diminish the horizontal length of the caption;


Place the float in a minipage?


it is not possible to have a float inside a minipage.
It's the other way round: the caption can be inside
the float.
should be the minipage

Herbert




Re: Two problems with float:tables

2004-01-01 Thread Paul Smith
I thank both (Angus and Herbert) for your help! I have just tried the 
way suggested by Angus (putting the float table inside a minipage) and 
it works fine. Probably, my table is not a pure float, since I have 
selected the here definitely placement.


This is not a good idea. You need a minipage only for the caption,
not for the float. Otherwise it makes no sense, because the
tabular may be of a larger size than the minipage and then
the tabular is not horizontally centered.
Thanks, Herbert!

Paul



Re: Two problems with float:tables

2004-01-01 Thread Paul Smith
This is not a good idea. You need a minipage only for the caption,
not for the float. Otherwise it makes no sense, because the
tabular may be of a larger size than the minipage and then
the tabular is not horizontally centered.
I have tried the method suggested by you, but I get compiling errors. 
The LyX file is enclosed.

Paul

#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass report
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize 12
\spacing single 
\papersize a4paper
\paperpackage a4
\use_geometry 0
\use_amsmath 1
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard


\begin_inset Float table
placement H
wide false
collapsed false

\layout Standard
\noindent \align center 

\begin_inset  Tabular
lyxtabular version=3 rows=8 columns=7
features
column alignment=left valignment=top leftline=true width=0
column alignment=block valignment=top leftline=true width=0
column alignment=block valignment=top leftline=true width=0
column alignment=block valignment=top leftline=true width=0
column alignment=block valignment=top leftline=true width=0
column alignment=block valignment=top leftline=true width=0
column alignment=center valignment=top leftline=true rightline=true 
width=0.5cm
row topline=true
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard


\begin_inset Formula $\qquad\; D_{2}$
\end_inset 


\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

1
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

2
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true 
rightline=true usebox=none
\begin_inset Text

\layout Standard

3
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true 
rightline=true usebox=none
\begin_inset Text

\layout Standard

4
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true 
rightline=true usebox=none
\begin_inset Text

\layout Standard

5
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true 
rightline=true usebox=none
\begin_inset Text

\layout Standard

6
\end_inset 
/cell
/row
row
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard


\begin_inset Formula $D_{1}$
\end_inset 


\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true 
rightline=true usebox=none
\begin_inset Text

\layout Standard

\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true 
rightline=true usebox=none
\begin_inset Text

\layout Standard

\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true 
rightline=true usebox=none
\begin_inset Text

\layout Standard

\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true 
rightline=true usebox=none
\begin_inset Text

\layout Standard

\end_inset 
/cell
/row
row topline=true
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

1
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

2
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

3
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true 
rightline=true usebox=none
\begin_inset Text

\layout Standard

4
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true 
rightline=true usebox=none
\begin_inset Text

\layout Standard

5
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true 
rightline=true usebox=none
\begin_inset Text

\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
textcircled{6}
\end_inset 


\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true 
rightline=true usebox=none
\begin_inset Text

\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
framebox{7}
\end_inset 


\end_inset 
/cell
/row
row topline=true bottomline=true
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

2
\end_inset 
/cell
cell alignment=center valignment=top 

Re: Two problems with float:tables

2004-01-01 Thread Herbert Voss
Paul Smith wrote:
This is not a good idea. You need a minipage only for the caption,
not for the float. Otherwise it makes no sense, because the
tabular may be of a larger size than the minipage and then
the tabular is not horizontally centered.


I have tried the method suggested by you, but I get compiling errors. 
The LyX file is enclosed.
attached the correct file.
With right mouse button clicking on the
minipage button you can change the width of
the minipage. I set it to 30% of columnwidth.
Herbert
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize 12
\spacing single 
\papersize a4paper
\paperpackage a4
\use_geometry 0
\use_amsmath 1
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard

blah
\begin_inset Float table
placement H
wide false
collapsed false

\layout Standard
\noindent \align center 

\begin_inset  Tabular
lyxtabular version=3 rows=8 columns=7
features
column alignment=left valignment=top leftline=true width=0
column alignment=block valignment=top leftline=true width=0
column alignment=block valignment=top leftline=true width=0
column alignment=block valignment=top leftline=true width=0
column alignment=block valignment=top leftline=true width=0
column alignment=block valignment=top leftline=true width=0
column alignment=center valignment=top leftline=true rightline=true 
width=0.5cm
row topline=true
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard


\begin_inset Formula $\qquad\; D_{2}$
\end_inset 


\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

1
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

2
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true 
rightline=true usebox=none
\begin_inset Text

\layout Standard

3
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true 
rightline=true usebox=none
\begin_inset Text

\layout Standard

4
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true 
rightline=true usebox=none
\begin_inset Text

\layout Standard

5
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true 
rightline=true usebox=none
\begin_inset Text

\layout Standard

6
\end_inset 
/cell
/row
row
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard


\begin_inset Formula $D_{1}$
\end_inset 


\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true 
rightline=true usebox=none
\begin_inset Text

\layout Standard

\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true 
rightline=true usebox=none
\begin_inset Text

\layout Standard

\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true 
rightline=true usebox=none
\begin_inset Text

\layout Standard

\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true 
rightline=true usebox=none
\begin_inset Text

\layout Standard

\end_inset 
/cell
/row
row topline=true
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

1
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

2
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

3
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true 
rightline=true usebox=none
\begin_inset Text

\layout Standard

4
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true 
rightline=true usebox=none
\begin_inset Text

\layout Standard

5
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true 
rightline=true usebox=none
\begin_inset Text

\layout Standard


\begin_inset ERT
status Open

\layout Standard

\backslash 
textcircled{6}
\end_inset 


\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true 
rightline=true usebox=none
\begin_inset Text

\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
framebox{7}
\end_inset 


\end_inset 
/cell
/row
row topline=true bottomline=true

Re: Two problems with float:tables

2004-01-01 Thread Angus Leeming
Paul Smith wrote:

> Dear All
> 
> I am trying to insert a table in a document, but I do not know how
> to:
> 
> 1.diminish the horizontal length of the caption;

Place the float in a minipage?

> 2.force the float to be in the same place in the DVI file as it
> appears in the LyX file.

Then it isn't a 'float'...
...right click on the 'Float: table' button and select 'Here, 
definitely'.

-- 
Angus



Re: Two problems with float:tables

2004-01-01 Thread Herbert Voss
Angus Leeming wrote:

1.diminish the horizontal length of the caption;


Place the float in a minipage?
it is not possible to have a float inside a minipage.
It's the other way round: the caption can be inside
the float.
Herbert




Re: Two problems with float:tables

2004-01-01 Thread Paul Smith
1.diminish the horizontal length of the caption;


Place the float in a minipage?


it is not possible to have a float inside a minipage.
It's the other way round: the caption can be inside
the float.
I thank both (Angus and Herbert) for your help! I have just tried the 
way suggested by Angus (putting the float table inside a minipage) and 
it works fine. Probably, my table is not a pure float, since I have 
selected the "here definitely placement".

Paul


Re: Two problems with float:tables

2004-01-01 Thread Herbert Voss
Paul Smith wrote:

I thank both (Angus and Herbert) for your help! I have just tried the 
way suggested by Angus (putting the float table inside a minipage) and 
it works fine. Probably, my table is not a pure float, since I have 
selected the "here definitely placement".
This is not a good idea. You need a minipage only for the caption,
not for the "float". Otherwise it makes no sense, because the
tabular may be of a larger size than the minipage and then
the tabular is not horizontally centered.
Herbert




Re: Two problems with float:tables

2004-01-01 Thread Herbert Voss
Herbert Voss wrote:
Angus Leeming wrote:

1.diminish the horizontal length of the caption;


Place the float in a minipage?


it is not possible to have a float inside a minipage.
It's the other way round: the caption can be inside
the float.
should be "the minipage"

Herbert




Re: Two problems with float:tables

2004-01-01 Thread Paul Smith
I thank both (Angus and Herbert) for your help! I have just tried the 
way suggested by Angus (putting the float table inside a minipage) and 
it works fine. Probably, my table is not a pure float, since I have 
selected the "here definitely placement".


This is not a good idea. You need a minipage only for the caption,
not for the "float". Otherwise it makes no sense, because the
tabular may be of a larger size than the minipage and then
the tabular is not horizontally centered.
Thanks, Herbert!

Paul



Re: Two problems with float:tables

2004-01-01 Thread Paul Smith
This is not a good idea. You need a minipage only for the caption,
not for the "float". Otherwise it makes no sense, because the
tabular may be of a larger size than the minipage and then
the tabular is not horizontally centered.
I have tried the method suggested by you, but I get compiling errors. 
The LyX file is enclosed.

Paul

#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass report
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize 12
\spacing single 
\papersize a4paper
\paperpackage a4
\use_geometry 0
\use_amsmath 1
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard


\begin_inset Float table
placement H
wide false
collapsed false

\layout Standard
\noindent \align center 

\begin_inset  Tabular











\begin_inset Text

\layout Standard


\begin_inset Formula $\qquad\; D_{2}$
\end_inset 


\end_inset 


\begin_inset Text

\layout Standard

1
\end_inset 


\begin_inset Text

\layout Standard

2
\end_inset 


\begin_inset Text

\layout Standard

3
\end_inset 


\begin_inset Text

\layout Standard

4
\end_inset 


\begin_inset Text

\layout Standard

5
\end_inset 


\begin_inset Text

\layout Standard

6
\end_inset 




\begin_inset Text

\layout Standard


\begin_inset Formula $D_{1}$
\end_inset 


\end_inset 


\begin_inset Text

\layout Standard

\end_inset 


\begin_inset Text

\layout Standard

\end_inset 


\begin_inset Text

\layout Standard

\end_inset 


\begin_inset Text

\layout Standard

\end_inset 


\begin_inset Text

\layout Standard

\end_inset 


\begin_inset Text

\layout Standard

\end_inset 




\begin_inset Text

\layout Standard

1
\end_inset 


\begin_inset Text

\layout Standard

2
\end_inset 


\begin_inset Text

\layout Standard

3
\end_inset 


\begin_inset Text

\layout Standard

4
\end_inset 


\begin_inset Text

\layout Standard

5
\end_inset 


\begin_inset Text

\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
textcircled{6}
\end_inset 


\end_inset 


\begin_inset Text

\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
framebox{7}
\end_inset 


\end_inset 




\begin_inset Text

\layout Standard

2
\end_inset 


\begin_inset Text

\layout Standard

3
\end_inset 


\begin_inset Text

\layout Standard

4
\end_inset 


\begin_inset Text

\layout Standard

5
\end_inset 


\begin_inset Text

\layout Standard

6
\end_inset 


\begin_inset Text

\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
framebox{7}
\end_inset 


\end_inset 


\begin_inset Text

\layout Standard

8
\end_inset 




\begin_inset Text

\layout Standard

3
\end_inset 


\begin_inset Text

\layout Standard

4
\end_inset 


\begin_inset Text

\layout Standard

5
\end_inset 


\begin_inset Text

\layout Standard

6
\end_inset 


\begin_inset Text

\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
framebox{7}
\end_inset 


\end_inset 


\begin_inset Text

\layout Standard

8
\end_inset 


\begin_inset Text

\layout Standard

9
\end_inset 




\begin_inset Text

\layout Standard

4
\end_inset 


\begin_inset Text

\layout Standard

5
\end_inset 


\begin_inset Text

\layout Standard

6
\end_inset 


\begin_inset Text

\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
framebox{7}
\end_inset 


\end_inset 


\begin_inset Text

\layout Standard

8
\end_inset 


\begin_inset Text

\layout Standard

9
\end_inset 


\begin_inset Text

\layout Standard

10
\end_inset 




\begin_inset Text

\layout Standard

5
\end_inset 


\begin_inset Text

\layout Standard

6
\end_inset 


\begin_inset Text

\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
framebox{7}
\end_inset 


\end_inset 


\begin_inset Text

\layout Standard

8
\end_inset 


\begin_inset Text

\layout Standard

9
\end_inset 


\begin_inset Text

\layout Standard

10
\end_inset 


\begin_inset Text

\layout Standard

11
\end_inset 




\begin_inset Text

\layout Standard

6
\end_inset 


\begin_inset Text

\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
framebox{7}
\end_inset 


\end_inset 


\begin_inset Text

\layout Standard

8
\end_inset 


\begin_inset Text

\layout Standard

9
\end_inset 


\begin_inset Text

\layout Standard

10
\end_inset 


\begin_inset Text

\layout Standard

11
\end_inset 


\begin_inset Text

\layout Standard

12
\end_inset 




\end_inset 


\layout Caption


\begin_inset ERT
status Open

\layout Standard

\backslash 
begin{minipage}
\layout Standard
Table for both dice ($D_1$ e $D_2$).
\layout Standard

\backslash 
end{minipage}
\end_inset 


\end_inset 


\the_end


Re: Two problems with float:tables

2004-01-01 Thread Herbert Voss
Paul Smith wrote:
This is not a good idea. You need a minipage only for the caption,
not for the "float". Otherwise it makes no sense, because the
tabular may be of a larger size than the minipage and then
the tabular is not horizontally centered.


I have tried the method suggested by you, but I get compiling errors. 
The LyX file is enclosed.
attached the correct file.
With right mouse button clicking on the
minipage button you can change the width of
the minipage. I set it to 30% of columnwidth.
Herbert
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize 12
\spacing single 
\papersize a4paper
\paperpackage a4
\use_geometry 0
\use_amsmath 1
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard

blah
\begin_inset Float table
placement H
wide false
collapsed false

\layout Standard
\noindent \align center 

\begin_inset  Tabular











\begin_inset Text

\layout Standard


\begin_inset Formula $\qquad\; D_{2}$
\end_inset 


\end_inset 


\begin_inset Text

\layout Standard

1
\end_inset 


\begin_inset Text

\layout Standard

2
\end_inset 


\begin_inset Text

\layout Standard

3
\end_inset 


\begin_inset Text

\layout Standard

4
\end_inset 


\begin_inset Text

\layout Standard

5
\end_inset 


\begin_inset Text

\layout Standard

6
\end_inset 




\begin_inset Text

\layout Standard


\begin_inset Formula $D_{1}$
\end_inset 


\end_inset 


\begin_inset Text

\layout Standard

\end_inset 


\begin_inset Text

\layout Standard

\end_inset 


\begin_inset Text

\layout Standard

\end_inset 


\begin_inset Text

\layout Standard

\end_inset 


\begin_inset Text

\layout Standard

\end_inset 


\begin_inset Text

\layout Standard

\end_inset 




\begin_inset Text

\layout Standard

1
\end_inset 


\begin_inset Text

\layout Standard

2
\end_inset 


\begin_inset Text

\layout Standard

3
\end_inset 


\begin_inset Text

\layout Standard

4
\end_inset 


\begin_inset Text

\layout Standard

5
\end_inset 


\begin_inset Text

\layout Standard


\begin_inset ERT
status Open

\layout Standard

\backslash 
textcircled{6}
\end_inset 


\end_inset 


\begin_inset Text

\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
framebox{7}
\end_inset 


\end_inset 




\begin_inset Text

\layout Standard

2
\end_inset 


\begin_inset Text

\layout Standard

3
\end_inset 


\begin_inset Text

\layout Standard

4
\end_inset 


\begin_inset Text

\layout Standard

5
\end_inset 


\begin_inset Text

\layout Standard

6
\end_inset 


\begin_inset Text

\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
framebox{7}
\end_inset 


\end_inset 


\begin_inset Text

\layout Standard

8
\end_inset 




\begin_inset Text

\layout Standard

3
\end_inset 


\begin_inset Text

\layout Standard

4
\end_inset 


\begin_inset Text

\layout Standard

5
\end_inset 


\begin_inset Text

\layout Standard

6
\end_inset 


\begin_inset Text

\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
framebox{7}
\end_inset 


\end_inset 


\begin_inset Text

\layout Standard

8
\end_inset 


\begin_inset Text

\layout Standard

9
\end_inset 




\begin_inset Text

\layout Standard

4
\end_inset 


\begin_inset Text

\layout Standard

5
\end_inset 


\begin_inset Text

\layout Standard

6
\end_inset 


\begin_inset Text

\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
framebox{7}
\end_inset 


\end_inset 


\begin_inset Text

\layout Standard

8
\end_inset 


\begin_inset Text

\layout Standard

9
\end_inset 


\begin_inset Text

\layout Standard

10
\end_inset 




\begin_inset Text

\layout Standard

5
\end_inset 


\begin_inset Text

\layout Standard

6
\end_inset 


\begin_inset Text

\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
framebox{7}
\end_inset 


\end_inset 


\begin_inset Text

\layout Standard

8
\end_inset 


\begin_inset Text

\layout Standard

9
\end_inset 


\begin_inset Text

\layout Standard

10
\end_inset 


\begin_inset Text

\layout Standard

11
\end_inset 




\begin_inset Text

\layout Standard

6
\end_inset 


\begin_inset Text

\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
framebox{7}
\end_inset 


\end_inset 


\begin_inset Text

\layout Standard

8
\end_inset 


\begin_inset Text

\layout Standard

9
\end_inset 


\begin_inset Text

\layout Standard

10
\end_inset 


\begin_inset Text

\layout Standard

11
\end_inset 


\begin_inset Text

\layout Standard

12
\end_inset 




\end_inset 


\layout Standard
\align center 

\begin_inset Minipage
position 1
inner_position 0
height "0"