Re: Split a cell

2006-07-17 Thread Helge Hafting
On Fri, Jul 07, 2006 at 04:33:38PM +0200, Julio Rojas wrote:
> The real problem is that I need a cell to use two rows. I know how to join
> to cells horizontally, but it doesn't seem there's a way to join two cell
> vertically.
>
This isn't supported, but there are some workarounds:

* Table cells can have multiple lines in them, if it is
  fixed-width column.  This way, you can pretend to have
  one cell spanning two rows while the "two rows" really
  is one row where all the other cells are two-liners.
  Obviously, this works only if you don't need a 
  separating line between those two fake rows.

* Table cells can contain almost anything, including such things
  as minipages or embedded tables.  This is often useable
  for tweaking the layout.  You still have a hard time if you need
  lines though.

* Make the oddball table in xfig, as an external inset.
  Xfig is a vector drawing program in which you can draw
  any table layout with lines and everything.  Xfig is
  nice in that in can be set to use "latex fonts" so
  the table that really is a figure in disguise won't
  stand out as such.  Take care to use the same line width
  as LyX tables uses too.  I think it is 0.4 pt.

* There are latex packages for this, which LyX doesn't support
  directly.  Use them and write the entire table in ERT if need be.
  To avoid rewriting the entire table, export to latex and
  cut&paste from that latex file into your ERT. Then modify
  with whatever latex commands it takes to join cells over several
  rows.

Helge Hafting


Re: Split a cell

2006-07-08 Thread Rich Shepard

On Sat, 8 Jul 2006, Georg Baum wrote:


I suspect yes, since I frequently need to combine rows. From a users point
of view it is really strange that you can combine columns, but can't
combine rows.


  Good point, Georg. I frequently need to combine columns, but have not yet
needed to combine rows. But, for symmetry and completeness, I see the value
of adding the ability to the table dialog box.

Rich

--
Richard B. Shepard, Ph.D.   |The Environmental Permitting
Applied Ecosystem Services, Inc.(TM)|Accelerator
 Voice: 503-667-4517  Fax: 503-667-8863


Re: Split a cell

2006-07-08 Thread Georg Baum
Am Freitag, 7. Juli 2006 18:47 schrieb Rich Shepard:

>I've never used it so I have no experience of the difficulty. But, I 
also
> assume that it's used infrequently enough to not warrant the effort to
> incorporate it directly into LyX. Am I incorrect on my assumption?

I suspect yes, since I frequently need to combine rows. From a users point 
of view it is really strange that you can combine columns, but can't 
combine rows.

>Each of us probably uses different packages more frequently than 
others
> would. Perhaps because we tend to use one document class more than other
> classes, or the type of writing we do needs different typesetting 
features
> or abilities. Perhaps I'm just an oddball curmudgeon, but there's so 
much
> flexibility in LaTeX that I don't think it should all be incorporated 
into
> LyX. Focus on the 85% that most of us use most of the time and let us 
learn
> to add the other 15% that fit our individual needs.

True.


Georg



Re: Split a cell

2006-07-07 Thread Rich Shepard

On Fri, 7 Jul 2006, Georg Baum wrote:


So it would really be useful to have native multirow support, but the day
has only so many hours and the number of LyX developers is small.


Georg,

  I've never used it so I have no experience of the difficulty. But, I also
assume that it's used infrequently enough to not warrant the effort to
incorporate it directly into LyX. Am I incorrect on my assumption?

  Each of us probably uses different packages more frequently than others
would. Perhaps because we tend to use one document class more than other
classes, or the type of writing we do needs different typesetting features
or abilities. Perhaps I'm just an oddball curmudgeon, but there's so much
flexibility in LaTeX that I don't think it should all be incorporated into
LyX. Focus on the 85% that most of us use most of the time and let us learn
to add the other 15% that fit our individual needs.

Rich

--
Richard B. Shepard, Ph.D.   |The Environmental Permitting
Applied Ecosystem Services, Inc.(TM)|Accelerator
 Voice: 503-667-4517  Fax: 503-667-8863


Re: Split a cell

2006-07-07 Thread Georg Baum
Rich Shepard wrote:

>Why? It's available as a package when needed, just like all the other
> packages that some writers occasionally need. For example, in the preamble
> you might include \usepackage{} for various features needed in one
> document, but not all, so it's better that they be handled on an ad hoc
> basis.

Rich, in general I agree, but multirow is a bit special: You have to use
dirty tricks like putting a % in an ERT box in some cells if you want to
use the \multirow command in LyX tables (and don't want to set the whole
tables as ERT).
So it would really be useful to have native multirow support, but the day
has only so many hours and the number of LyX developers is small.


Georg



Re: Split a cell

2006-07-07 Thread Jean-Pierre Chretien

>>Date: Fri, 7 Jul 2006 17:49:31 +0200
>>From: "Julio Rojas" <[EMAIL PROTECTED]>
>>To: "Jean-Pierre Chretien" <[EMAIL PROTECTED]>
>>Subject: Re: Split a cell
>>Cc: lyx-users@lists.lyx.org
>>
>>Thanx... I'll try it, but that can be a nice add-on for LyX 1.4.2
  ^
We, LyX users, have really great developers, but multirow implementation
in the LyX table management will not be there so soon... just take a look here
http://bugzilla.lyx.org/show_bug.cgi?id=1157

-- 
Jean-Pierre



Re: Split a cell

2006-07-07 Thread Rich Shepard

On Fri, 7 Jul 2006, Julio Rojas wrote:


Thanx... I'll try it, but that can be a nice add-on for LyX 1.4.2


Julio,

  Why? It's available as a package when needed, just like all the other
packages that some writers occasionally need. For example, in the preamble
you might include \usepackage{} for various features needed in one document,
but not all, so it's better that they be handled on an ad hoc basis.

Rich

--
Richard B. Shepard, Ph.D.   |The Environmental Permitting
Applied Ecosystem Services, Inc.(TM)|Accelerator
 Voice: 503-667-4517  Fax: 503-667-8863


Re: Split a cell

2006-07-07 Thread Georg Baum
Julio Rojas wrote:

> Thanx... I'll try it, but that can be a nice add-on for LyX 1.4.2

This is not possible because it would need a file format change. If you are
lucky and somebody implements it you will find it in 1.5.0. See also
http://bugzilla.lyx.org/show_bug.cgi?id=1157


Georg



Re: Split a cell

2006-07-07 Thread Julio Rojas

Thanx... I'll try it, but that can be a nice add-on for LyX 1.4.2

On 7/7/06, Jean-Pierre Chretien <[EMAIL PROTECTED]> wrote:



>>Date: Fri, 7 Jul 2006 16:56:20 +0200
>>From: "Julio Rojas" <[EMAIL PROTECTED]>
>>To: lyx-users@lists.lyx.org
>>Subject: Re: Split a cell
>>
>>I'm so sorry, but I don't understand what you mean.
>>
>>On 7/7/06, Jean-Pierre Chretien <[EMAIL PROTECTED]> wrote:
[...]
>>>
>>> The Companion points to the multirow package, which seems a standard
one.

I was a bit elliptic, sorry.

I read in The LaTeX Companion, p135 (in my edition):

« The package file multirow (unknown author) automates the procedure of
constructing tables
with column spanning multiple rows ... »

The \multirow command looks similar to the \multicolumn one.

It is standard (i.e. no need to fetch it on CTAN) because I find it in the
texmf-dist
tree of TeXLive 2005.

I've never used it, but the examples in TLC seem to match your needs.

--
Jean-Pierre






--
-
Julio Rojas
[EMAIL PROTECTED]


Re: Split a cell

2006-07-07 Thread Jean-Pierre Chretien

>>Date: Fri, 7 Jul 2006 16:56:20 +0200
>>From: "Julio Rojas" <[EMAIL PROTECTED]>
>>To: lyx-users@lists.lyx.org
>>Subject: Re: Split a cell
>>
>>I'm so sorry, but I don't understand what you mean.
>>
>>On 7/7/06, Jean-Pierre Chretien <[EMAIL PROTECTED]> wrote:
[...]
>>>
>>> The Companion points to the multirow package, which seems a standard one.

I was a bit elliptic, sorry. 

I read in The LaTeX Companion, p135 (in my edition):

« The package file multirow (unknown author) automates the procedure of 
constructing tables
with column spanning multiple rows ... »

The \multirow command looks similar to the \multicolumn one.

It is standard (i.e. no need to fetch it on CTAN) because I find it in the 
texmf-dist
tree of TeXLive 2005.

I've never used it, but the examples in TLC seem to match your needs.

-- 
Jean-Pierre
 



Re: Split a cell

2006-07-07 Thread Julio Rojas

I'm so sorry, but I don't understand what you mean.

On 7/7/06, Jean-Pierre Chretien <[EMAIL PROTECTED]> wrote:



>>Date: Fri, 7 Jul 2006 16:33:38 +0200
>>From: "Julio Rojas" <[EMAIL PROTECTED]>
>>To: LyXFolks 
>>Subject: Re: Split a cell
>>
>>The real problem is that I need a cell to use two rows. I know how to
join
>>to cells horizontally, but it doesn't seem there's a way to join two
cell
>>vertically.

The Companion points to the multirow package, which seems a standard one.


--
Jean-Pierre





--
-
Julio Rojas
[EMAIL PROTECTED]


Re: Split a cell

2006-07-07 Thread Jean-Pierre Chretien

>>Date: Fri, 7 Jul 2006 16:33:38 +0200
>>From: "Julio Rojas" <[EMAIL PROTECTED]>
>>To: LyXFolks 
>>Subject: Re: Split a cell
>>
>>The real problem is that I need a cell to use two rows. I know how to join
>>to cells horizontally, but it doesn't seem there's a way to join two cell
>>vertically.

The Companion points to the multirow package, which seems a standard one.


-- 
Jean-Pierre



Re: Split a cell

2006-07-07 Thread Julio Rojas

The real problem is that I need a cell to use two rows. I know how to join
to cells horizontally, but it doesn't seem there's a way to join two cell
vertically.

On 7/7/06, Rich Shepard <[EMAIL PROTECTED]> wrote:


On Fri, 7 Jul 2006, Julio Rojas wrote:

> How can I split a cell of a table??? I have some weird table to make,
but
> doing tables inside tables is not a really good solution. How can I
split
> evenly a cell???

   I would make the table one column wider, then join the cells in the two
columns that do not need to be split.

Rich

--
Richard B. Shepard, Ph.D.   |The Environmental Permitting
Applied Ecosystem Services, Inc.(TM)|Accelerator
<http://www.appl-ecosys.com> Voice: 503-667-4517  Fax:
503-667-8863





--
-
Julio Rojas
[EMAIL PROTECTED]


Re: Split a cell

2006-07-07 Thread Rich Shepard

On Fri, 7 Jul 2006, Julio Rojas wrote:


How can I split a cell of a table??? I have some weird table to make, but
doing tables inside tables is not a really good solution. How can I split
evenly a cell???


  I would make the table one column wider, then join the cells in the two
columns that do not need to be split.

Rich

--
Richard B. Shepard, Ph.D.   |The Environmental Permitting
Applied Ecosystem Services, Inc.(TM)|Accelerator
<http://www.appl-ecosys.com> Voice: 503-667-4517  Fax: 503-667-8863


Split a cell

2006-07-07 Thread Julio Rojas

How can I split a cell of a table??? I have some weird table to make, but
doing tables inside tables is not a really good solution. How can I split
evenly a cell???

--
-
Julio Rojas
[EMAIL PROTECTED]