Search found 8 matches

by ogtifs
Tue Nov 30, 2010 8:27 am
Forum: Graphics, Figures & Tables
Topic: tabulary break across pages
Replies: 1
Views: 1560

Re: tabulary break across pages

I'm currently trying to modify ltxtable.sty to tamper with longtable and tabulary instead of longtable and tabularx. Unfortunately tabularx.sty bears little resemblance to tabulary.sty and I'm well out of my depth. The last thing I want to do is to have to generate HTML instead and create a PDF from ...
by ogtifs
Sat Nov 27, 2010 1:00 am
Forum: Graphics, Figures & Tables
Topic: tabulary break across pages
Replies: 1
Views: 1560

tabulary break across pages

I am trying to create a table that will be longer than one page, with a fixed number of columns whose width is optimal based on the content (the width of which is unknown) - similar to an HTML table. I understand there exists ltxtable which is a combination of tabularx and longtable, but I'm really ...
by ogtifs
Wed Mar 17, 2010 1:54 am
Forum: General
Topic: Box height from given width (TeX?)
Replies: 1
Views: 2490

Box height from given width (TeX?)

Hello
I am interested in developing a package for a specific type of tabular layout which cannot be implemented on top of existing table packages. I expect to start with perlTeX and perhaps eventually remove the dependency if I feel masochistic enough to learn TeX internals.
Central to this plan is ...
by ogtifs
Fri Jan 29, 2010 10:36 pm
Forum: Graphics, Figures & Tables
Topic: tabularx and multicolumn expansion
Replies: 7
Views: 16569

tabularx and multicolumn expansion

If anybody is having this same issue, I have found what is to me a suitable workaround, though it involves heavily restructuring the latex source (hooray for regular expressions). It involves using a nested tabularx with the child's width set to \hsize (the size of the containing X column). In this ...
by ogtifs
Thu Jan 14, 2010 1:13 am
Forum: Graphics, Figures & Tables
Topic: tabularx and multicolumn expansion
Replies: 7
Views: 16569

tabularx and multicolumn expansion

That section describes a procedure for setting the width of an X column as a multiple of the originally calculated \hsize parameter. What I would need here is something like

new_Xcol_width = <current_Xcol_width> + <spanned_lcol_width>

It seems to me the \multicolumn{2}{X}{} statement should be ...
by ogtifs
Sun Jan 10, 2010 11:44 pm
Forum: Graphics, Figures & Tables
Topic: tabularx and multicolumn expansion
Replies: 7
Views: 16569

Re: tabularx and multicolumn expansion

I have examined the PDF manual but have found no documented method of recalculating the \hsize parameter.

I expect my best option is to change to using fixed-width p{} columns instead of l{}. This is sub-optimal because I would have to set the first columns overly wide as text wrapping here is ...
by ogtifs
Sat Jan 09, 2010 10:46 am
Forum: Graphics, Figures & Tables
Topic: tabularx and multicolumn expansion
Replies: 7
Views: 16569

tabularx and multicolumn expansion

I'm sorry if my example was a bit verbose. I don't think I have made my problem clear. Using the multicolumn(with pdflatex from texlive debian unstable) gives me a result something like:

|---|----|----------|
|asd|asdf|contentcon|
|---|----|----------|
|asd|contentcon |
| |tentconten ...
by ogtifs
Mon Dec 28, 2009 3:11 am
Forum: Graphics, Figures & Tables
Topic: tabularx and multicolumn expansion
Replies: 7
Views: 16569

tabularx and multicolumn expansion

I am trying to use LaTeX to produce an auto-sizing table similar to that in HTML. My specific problem is using \multicolumn to span multiple columns - the content appears to be set at the width tabularx has calculated for the first rubber column. MWE:

\begin{tabularx}{\textwidth}{|l|l|X|}

test1 ...