From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rares Pop Subject: Re: page setup - PDF Export Date: Fri, 14 May 2010 17:44:00 +0300 Message-ID: References: <878w7nbyob.wl%ucecesf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0540488536==" Return-path: Received: from [140.186.70.92] (port=36029 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OCw7T-0000HM-5O for emacs-orgmode@gnu.org; Fri, 14 May 2010 10:44:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OCw7Q-0005O7-FC for emacs-orgmode@gnu.org; Fri, 14 May 2010 10:44:06 -0400 Received: from mail-ww0-f41.google.com ([74.125.82.41]:53683) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OCw7Q-0005Nn-Ao for emacs-orgmode@gnu.org; Fri, 14 May 2010 10:44:04 -0400 Received: by wwa36 with SMTP id 36so578036wwa.0 for ; Fri, 14 May 2010 07:44:01 -0700 (PDT) In-Reply-To: <878w7nbyob.wl%ucecesf@ucl.ac.uk> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: e.fraga@ucl.ac.uk Cc: emacs-orgmode@gnu.org --===============0540488536== Content-Type: multipart/alternative; boundary=0016368331c6ed7ab504868ee721 --0016368331c6ed7ab504868ee721 Content-Type: text/plain; charset=ISO-8859-1 Thanks Eric, the use of geometry package is working. Thanks a lot, Rares On Thu, May 13, 2010 at 6:37 PM, Eric S Fraga wrote: > On Thu, 13 May 2010 15:15:26 +0300, Rares Pop wrote: > > > > [1 ] > > [1.1 ] > > Hi all, > > > > do you there is a way to modify the page setup parameters (top, bottom, > > left, right) when doing an PDF export. > > There are some predefined templates for A4, A5 format? > > > > I searched the manual and the mailing list and didn't find anything. > > > > Appreciate your help, > > Rares > > PDF export makes use of latex so you need to provide latex > customisations. The easiest (IMO) way to modify margins and paper > size is through the geometry package, as in: > > #+latex_header: \usepackage[margin=5cm]{geometry} > > in the preamble of your org file. > > See the documentation for the latex geometry package (on the web etc) > for full details of everything you can modify! > > HTH, > eric > > -- > Eric S Fraga > GnuPG: 8F5C 279D 3907 E14A 5C29 570D C891 93D8 FFFC F67D > > --0016368331c6ed7ab504868ee721 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thanks Eric,
the use of geometry package is working.

Thanks a lot,
Rares
<= /font>

On Thu, May 13, 2010 at 6:37 PM= , Eric S Fraga <u= cecesf@ucl.ac.uk> wrote:
On Thu, 13 May 20= 10 15:15:26 +0300, Rares Pop <rar= es.pop@gmail.com> wrote:
>
> [1 =A0<multipart/alternative (7bit)>]
> [1.1 =A0<text/plain; ISO-8859-1 (7bit)>]
> Hi all,
>
> do you there is a way to modify the page setup parameters (top, bottom= ,
> left, right) when doing an PDF export.
> There are some predefined templates for A4, A5 format?
>
> I searched the manual and the mailing list and didn't find anythin= g.
>
> Appreciate your help,
> Rares

PDF export makes use of latex so you need to provide latex
customisations. =A0The easiest (IMO) way to modify margins and paper
size is through the geometry package, as in:

#+latex_header: \usepackage[margin=3D5cm]{geometry}

in the preamble of your org file.

See the documentation for the latex geometry package (on the web etc)
for full details of everything you can modify!

HTH,
eric

--
Eric S Fraga
GnuPG: 8F5C 279D 3907 E14A 5C29 =A0570D C891 93D8 FFFC F67D


--0016368331c6ed7ab504868ee721-- --===============0540488536== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============0540488536==--