From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Re: Passing font size to exported LaTeX table Date: Tue, 24 May 2011 18:44:19 +0200 Message-ID: <80oc2s3v6k.fsf@somewhere.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hi John, John Hendy wrote: > I can control a table font size directly from the .tex file like so: > > --- > \scriptsize{ > \begin{center} > \begin{tabular}{lllrr} > > table entries here > > \end{tabular} > \end{center} > } > --- > > Any way to pass this from org-mode? Otherwise, I keep changing the org fi= le, > exporting, and then having to add this to the tex file and re-export. > > I tried: > --- > #+begin_latex > \scriptsize{ > #+end_latex > > |org|table|here| > > #+begin_latex > } > #+end_latex > --- > > without success. You put the things in the wrong order: 1. put a group around some LaTeX commands 2. add the macro \scriptsize in it Hence: #+begin_src org #+begin_latex {\scriptsize #+end_latex |org|table|here| #+begin_latex } #+end_latex #+end_src should do it (not tested). Best regards, Seb --=20 S=C3=A9bastien Vauban