emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Passing font size to exported LaTeX table


From: Sebastien Vauban
Subject: Re: [O] Passing font size to exported LaTeX table
Date: Tue, 24 May 2011 18:44:19 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (windows-nt)

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 file,
> 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

-- 
Sébastien Vauban




reply via email to

[Prev in Thread] Current Thread [Next in Thread]