I converted an Excel chart to a PDF file by Save As.. PDF in Excel. It looks good, but there is a lot of whitespace/margin on top and bottom which I need to get rid of. The only way to do so seems to be by using Acrobat professional which I don't have. Is there a free way to do this? I use Windows by the way.
|
|
You can use the commandline tool pdfcrop. For this you need perl. |
|||||||||
|
|
|
This is more of a Superuser question than a Latex question. You could also use Briss which doesn't require Perl. |
|||
|
|
|
For Windows install a Perl, eg from http://www.activestate.com/perl and then you can use Alternatively use the |
|||
|
|
|
You can get the size right in Excel before saving to PDF - see my answer on superuser, copied below for convenience: To avoid the "crop the PDF" step mentioned in several answers (on superuser), you can put the chart on its own Worksheet with an appropriate paper size and zero margins. E.g. in Windows Excel 2007:
If there is no size close enough, or you want to be exact, you'll need to create a custom page size. Unlike Word, Excel doesn't let you do that itself, but rather uses the size from the printer driver.
It may be best not to have an outline around the chart in the PDF itself: you can choose Format Chart Area | Border Color | No Line. |
|||
|
|
|
You might want to consider using the new inkscape pdf import option. It even allows you to edit the picture. Be aware though that the result is not optimal for editing. |
|||
|
|