On 2/26/07, Paul A. Rubin <[EMAIL PROTECTED]> wrote:
> I need to align a table and a graph. The problem is, using as
> reference the line they both are placed, the table grows downwards
> while the graph grows upwards. I have tried with a table without
> changing the end result. Any idea??? I will submit an example of
> what's been happening.
>
>
> ------------------------------------------------------------------------
>

The following is rather tedious, but seems to work (sample attached):

1.  Add \usepackage{multirow} to the preamble.

2.  Build the table and add a single extra column on the right.

3.  Mark all the cells in the extra column "multicolumn" and manually
delete the border lines you do not want.

4.  In the top row, last column, insert \multirow{n}{m}[o]{ in ERT,
followed by the image, followed by a closing brace } in ERT.  The
arguments of multirow are n=# of rows to merge, m=width of the column,
and o=vertical offset (negative to push the image down, positive to pull
it up).

There may well be an easier way (that I don't know).

A simple solution with two minipages side by side is attached.

Paul

Attachment: graph.png
Description: PNG image

Attachment: scorers2.lyx
Description: application/lyx

Reply via email to