Re: Lining up text and graphics in tables?

2010-01-13 Thread Daniel Lohmann



Thanks Daniel,

Yeah, I tried a minipage containing three minipages just before I  
wrote the

original email. It walked waay off the right side of the page.

Hmmm, but I didn't try the textwidth and hfill. Where would I place  
the
\textwidth, and how would I back it out once all these triples are  
complete?




Hi Steve,

the width of the minipage can be set up in its settings; the hfill can  
be entered in LyX via Insert-Formatting-Horizontal Space  
However, never mind -- the hfill trick works only with two columns,  
for three we need to do something different.


Attached is a LyX file with three minipages in a row. I have set the  
width of each minipage to 0.3\textwidth (30 textwidth% in the LyX  
minpage settings) and inserted a horizontal space of 0.05\textwidth (5  
textwidth%) in between, so the complete row should sum up to 100  
textwidth%.


The spacing has to be done via ERT, as LyX does not allow to enter  
relative dimensions in the Horizontal Space dialog.


It's pretty obvious -- once you have seen it. Well LyX and LaTeX tend  
to be like that :-)


Have fun,

Daniel



3minipages.lyx
Description: Binary data




Re: Lining up text and graphics in tables?

2010-01-13 Thread Daniel Lohmann



Thanks Daniel,

Yeah, I tried a minipage containing three minipages just before I  
wrote the

original email. It walked waay off the right side of the page.

Hmmm, but I didn't try the textwidth and hfill. Where would I place  
the
\textwidth, and how would I back it out once all these triples are  
complete?




Hi Steve,

the width of the minipage can be set up in its settings; the hfill can  
be entered in LyX via Insert-Formatting-Horizontal Space  
However, never mind -- the hfill trick works only with two columns,  
for three we need to do something different.


Attached is a LyX file with three minipages in a row. I have set the  
width of each minipage to 0.3\textwidth (30 textwidth% in the LyX  
minpage settings) and inserted a horizontal space of 0.05\textwidth (5  
textwidth%) in between, so the complete row should sum up to 100  
textwidth%.


The spacing has to be done via ERT, as LyX does not allow to enter  
relative dimensions in the Horizontal Space dialog.


It's pretty obvious -- once you have seen it. Well LyX and LaTeX tend  
to be like that :-)


Have fun,

Daniel



3minipages.lyx
Description: Binary data




Re: Lining up text and graphics in tables?

2010-01-13 Thread Daniel Lohmann



Thanks Daniel,

Yeah, I tried a minipage containing three minipages just before I  
wrote the

original email. It walked waay off the right side of the page.

Hmmm, but I didn't try the textwidth and hfill. Where would I place  
the
\textwidth, and how would I back it out once all these triples are  
complete?




Hi Steve,

the width of the minipage can be set up in its settings; the hfill can  
be entered in LyX via "Insert->Formatting->Horizontal Space...".  
However, never mind -- the "hfill trick" works only with two columns,  
for three we need to do something different.


Attached is a LyX file with three minipages in a row. I have set the  
width of each minipage to 0.3\textwidth (30 textwidth% in the LyX  
minpage settings) and inserted a horizontal space of 0.05\textwidth (5  
textwidth%) in between, so the complete row should sum up to 100  
textwidth%.


The spacing has to be done via ERT, as LyX does not allow to enter  
relative dimensions in the "Horizontal Space" dialog.


It's pretty obvious -- once you have seen it. Well LyX and LaTeX tend  
to be like that :-)


Have fun,

Daniel



3minipages.lyx
Description: Binary data




Re: Lining up text and graphics in tables?

2010-01-12 Thread Daniel Lohmann


On 12.01.2010, at 07:05, Steve Litt wrote:


Ugh!

I wanted rows with 3 columns. Column 1 is the name of the graphic.  
Column 2 is
the graphic itself. Column 3 is a short explanation of the graphic.  
I used
individual 1 row, 3 column tables to save room and make sure pages  
broke

reasonably.

Trouble is, no matter how I set cell alignment in any of the  
columns, the
graphic always rises to the top, and the text (in other columns/ 
cells mind
you) always starts just below where the graphic ends, thereby  
costing a lot of

space, looking ugly, and causing confusion.

Does anyone have an idea how to get the graphic and text to line up  
correctly,
vertically, within their respective cells? Does anyone have any idea  
what

would cause the behavior I describe?


Hi Steve,

have you tried using minipages instead? In my experience they tend to  
be less fragile than tables. I have never tried 3 columns (just 2 so  
far), but that shouldn't matter. Just insert 3 minipages side by side  
with a width of 33% \textwidth and a \hfill in between.


Daniel 


Re: Lining up text and graphics in tables?

2010-01-12 Thread Steve Litt
On Tuesday 12 January 2010 03:47:03 Daniel Lohmann wrote:
 On 12.01.2010, at 07:05, Steve Litt wrote:
  Ugh!
 
  I wanted rows with 3 columns. Column 1 is the name of the graphic.
  Column 2 is
  the graphic itself. Column 3 is a short explanation of the graphic.
  I used
  individual 1 row, 3 column tables to save room and make sure pages
  broke
  reasonably.
 
  Trouble is, no matter how I set cell alignment in any of the
  columns, the
  graphic always rises to the top, and the text (in other columns/
  cells mind
  you) always starts just below where the graphic ends, thereby
  costing a lot of
  space, looking ugly, and causing confusion.
 
  Does anyone have an idea how to get the graphic and text to line up
  correctly,
  vertically, within their respective cells? Does anyone have any idea
  what
  would cause the behavior I describe?
 
 Hi Steve,
 
 have you tried using minipages instead? In my experience they tend to
 be less fragile than tables. I have never tried 3 columns (just 2 so
 far), but that shouldn't matter. Just insert 3 minipages side by side
 with a width of 33% \textwidth and a \hfill in between.
 
 Daniel

Thanks Daniel,

Yeah, I tried a minipage containing three minipages just before I wrote the 
original email. It walked waay off the right side of the page.

Hmmm, but I didn't try the textwidth and hfill. Where would I place the 
\textwidth, and how would I back it out once all these triples are complete?

Thanks

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: Lining up text and graphics in tables?

2010-01-12 Thread Yago

Hello.

See the attached files lyx and tex. I began with the tex file and then this 
was imported to lyx; this is more easy for me. The command 
\renewcommand{\tablename}{Table} is because I work in spanish language.


Regards.
- Original Message - 
From: Steve Litt sl...@troubleshooters.com

To: lyx-users@lists.lyx.org
Sent: Tuesday, January 12, 2010 7:05 AM
Subject: Lining up text and graphics in tables?



Ugh!

I wanted rows with 3 columns. Column 1 is the name of the graphic. Column 
2 is

the graphic itself. Column 3 is a short explanation of the graphic. I used
individual 1 row, 3 column tables to save room and make sure pages broke
reasonably.

Trouble is, no matter how I set cell alignment in any of the columns, the
graphic always rises to the top, and the text (in other columns/cells mind
you) always starts just below where the graphic ends, thereby costing a 
lot of

space, looking ugly, and causing confusion.

Does anyone have an idea how to get the graphic and text to line up 
correctly,

vertically, within their respective cells? Does anyone have any idea what
would cause the behavior I describe?

Thanks

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



tabla_con_graficos_120110.lyx
Description: application/lyx


tabla_con_graficos_120110.tex
Description: Binary data


Re: Lining up text and graphics in tables?

2010-01-12 Thread Daniel Lohmann


On 12.01.2010, at 07:05, Steve Litt wrote:


Ugh!

I wanted rows with 3 columns. Column 1 is the name of the graphic.  
Column 2 is
the graphic itself. Column 3 is a short explanation of the graphic.  
I used
individual 1 row, 3 column tables to save room and make sure pages  
broke

reasonably.

Trouble is, no matter how I set cell alignment in any of the  
columns, the
graphic always rises to the top, and the text (in other columns/ 
cells mind
you) always starts just below where the graphic ends, thereby  
costing a lot of

space, looking ugly, and causing confusion.

Does anyone have an idea how to get the graphic and text to line up  
correctly,
vertically, within their respective cells? Does anyone have any idea  
what

would cause the behavior I describe?


Hi Steve,

have you tried using minipages instead? In my experience they tend to  
be less fragile than tables. I have never tried 3 columns (just 2 so  
far), but that shouldn't matter. Just insert 3 minipages side by side  
with a width of 33% \textwidth and a \hfill in between.


Daniel 


Re: Lining up text and graphics in tables?

2010-01-12 Thread Steve Litt
On Tuesday 12 January 2010 03:47:03 Daniel Lohmann wrote:
 On 12.01.2010, at 07:05, Steve Litt wrote:
  Ugh!
 
  I wanted rows with 3 columns. Column 1 is the name of the graphic.
  Column 2 is
  the graphic itself. Column 3 is a short explanation of the graphic.
  I used
  individual 1 row, 3 column tables to save room and make sure pages
  broke
  reasonably.
 
  Trouble is, no matter how I set cell alignment in any of the
  columns, the
  graphic always rises to the top, and the text (in other columns/
  cells mind
  you) always starts just below where the graphic ends, thereby
  costing a lot of
  space, looking ugly, and causing confusion.
 
  Does anyone have an idea how to get the graphic and text to line up
  correctly,
  vertically, within their respective cells? Does anyone have any idea
  what
  would cause the behavior I describe?
 
 Hi Steve,
 
 have you tried using minipages instead? In my experience they tend to
 be less fragile than tables. I have never tried 3 columns (just 2 so
 far), but that shouldn't matter. Just insert 3 minipages side by side
 with a width of 33% \textwidth and a \hfill in between.
 
 Daniel

Thanks Daniel,

Yeah, I tried a minipage containing three minipages just before I wrote the 
original email. It walked waay off the right side of the page.

Hmmm, but I didn't try the textwidth and hfill. Where would I place the 
\textwidth, and how would I back it out once all these triples are complete?

Thanks

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: Lining up text and graphics in tables?

2010-01-12 Thread Yago

Hello.

See the attached files lyx and tex. I began with the tex file and then this 
was imported to lyx; this is more easy for me. The command 
\renewcommand{\tablename}{Table} is because I work in spanish language.


Regards.
- Original Message - 
From: Steve Litt sl...@troubleshooters.com

To: lyx-users@lists.lyx.org
Sent: Tuesday, January 12, 2010 7:05 AM
Subject: Lining up text and graphics in tables?



Ugh!

I wanted rows with 3 columns. Column 1 is the name of the graphic. Column 
2 is

the graphic itself. Column 3 is a short explanation of the graphic. I used
individual 1 row, 3 column tables to save room and make sure pages broke
reasonably.

Trouble is, no matter how I set cell alignment in any of the columns, the
graphic always rises to the top, and the text (in other columns/cells mind
you) always starts just below where the graphic ends, thereby costing a 
lot of

space, looking ugly, and causing confusion.

Does anyone have an idea how to get the graphic and text to line up 
correctly,

vertically, within their respective cells? Does anyone have any idea what
would cause the behavior I describe?

Thanks

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



tabla_con_graficos_120110.lyx
Description: application/lyx


tabla_con_graficos_120110.tex
Description: Binary data


Re: Lining up text and graphics in tables?

2010-01-12 Thread Daniel Lohmann


On 12.01.2010, at 07:05, Steve Litt wrote:


Ugh!

I wanted rows with 3 columns. Column 1 is the name of the graphic.  
Column 2 is
the graphic itself. Column 3 is a short explanation of the graphic.  
I used
individual 1 row, 3 column tables to save room and make sure pages  
broke

reasonably.

Trouble is, no matter how I set cell alignment in any of the  
columns, the
graphic always rises to the top, and the text (in other columns/ 
cells mind
you) always starts just below where the graphic ends, thereby  
costing a lot of

space, looking ugly, and causing confusion.

Does anyone have an idea how to get the graphic and text to line up  
correctly,
vertically, within their respective cells? Does anyone have any idea  
what

would cause the behavior I describe?


Hi Steve,

have you tried using minipages instead? In my experience they tend to  
be less fragile than tables. I have never tried 3 columns (just 2 so  
far), but that shouldn't matter. Just insert 3 minipages side by side  
with a width of 33% \textwidth and a \hfill in between.


Daniel 


Re: Lining up text and graphics in tables?

2010-01-12 Thread Steve Litt
On Tuesday 12 January 2010 03:47:03 Daniel Lohmann wrote:
> On 12.01.2010, at 07:05, Steve Litt wrote:
> > Ugh!
> >
> > I wanted rows with 3 columns. Column 1 is the name of the graphic.
> > Column 2 is
> > the graphic itself. Column 3 is a short explanation of the graphic.
> > I used
> > individual 1 row, 3 column tables to save room and make sure pages
> > broke
> > reasonably.
> >
> > Trouble is, no matter how I set cell alignment in any of the
> > columns, the
> > graphic always rises to the top, and the text (in other columns/
> > cells mind
> > you) always starts just below where the graphic ends, thereby
> > costing a lot of
> > space, looking ugly, and causing confusion.
> >
> > Does anyone have an idea how to get the graphic and text to line up
> > correctly,
> > vertically, within their respective cells? Does anyone have any idea
> > what
> > would cause the behavior I describe?
> 
> Hi Steve,
> 
> have you tried using minipages instead? In my experience they tend to
> be less fragile than tables. I have never tried 3 columns (just 2 so
> far), but that shouldn't matter. Just insert 3 minipages side by side
> with a width of 33% \textwidth and a \hfill in between.
> 
> Daniel

Thanks Daniel,

Yeah, I tried a minipage containing three minipages just before I wrote the 
original email. It walked waay off the right side of the page.

Hmmm, but I didn't try the textwidth and hfill. Where would I place the 
\textwidth, and how would I back it out once all these triples are complete?

Thanks

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: Lining up text and graphics in tables?

2010-01-12 Thread Yago

Hello.

See the attached files lyx and tex. I began with the tex file and then this 
was imported to lyx; this is more easy for me. The command 
\renewcommand{\tablename}{Table} is because I work in spanish language.


Regards.
- Original Message - 
From: "Steve Litt" 

To: 
Sent: Tuesday, January 12, 2010 7:05 AM
Subject: Lining up text and graphics in tables?



Ugh!

I wanted rows with 3 columns. Column 1 is the name of the graphic. Column 
2 is

the graphic itself. Column 3 is a short explanation of the graphic. I used
individual 1 row, 3 column tables to save room and make sure pages broke
reasonably.

Trouble is, no matter how I set cell alignment in any of the columns, the
graphic always rises to the top, and the text (in other columns/cells mind
you) always starts just below where the graphic ends, thereby costing a 
lot of

space, looking ugly, and causing confusion.

Does anyone have an idea how to get the graphic and text to line up 
correctly,

vertically, within their respective cells? Does anyone have any idea what
would cause the behavior I describe?

Thanks

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



tabla_con_graficos_120110.lyx
Description: application/lyx


tabla_con_graficos_120110.tex
Description: Binary data