Graphics, Figures & TablesCreating a page in Lyx just big enough to accomodate a table

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
davidpage
Posts: 11
Joined: Sat Jan 16, 2010 12:05 pm

Creating a page in Lyx just big enough to accomodate a table

Post by davidpage »

Using Lyx, I would like to produce a pdf output so that the size of the pdf is just big enough to accommodate my table (instead of a full A4 page). Is it possible? Thanks.
Last edited by davidpage on Sun May 08, 2011 3:13 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Stefan Kottwitz
Site Admin
Posts: 10320
Joined: Mon Mar 10, 2008 9:44 pm

Creating a page in Lyx just big enough to accomodate a table

Post by Stefan Kottwitz »

You could use pdfcrop to automatically crop the white space from final pdf, so the new pdf will have the natural dimensions of the table.

Stefan
LaTeX.org admin
davidpage
Posts: 11
Joined: Sat Jan 16, 2010 12:05 pm

Creating a page in Lyx just big enough to accomodate a table

Post by davidpage »

Thanks for the suggestion. It doesn't seem to work with Windows (at least easily), so I finally used Briss.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10320
Joined: Mon Mar 10, 2008 9:44 pm

Creating a page in Lyx just big enough to accomodate a table

Post by Stefan Kottwitz »

Thanks for the information regarding Briss.

Btw. here's a version of pdfcrop which should run on Windows too: http://www.ctan.org/tex-archive/support/pdfcrop. Perl is required, there's a free version for Windows: http://www.activestate.com/perl.

Stefan
LaTeX.org admin
Post Reply