[Top][All Lists]
[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: |
Sat, 28 May 2011 09:17:18 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (windows-nt) |
Hi Thomas and Suvayu,
Thomas S. Dye wrote:
> Suvayu Ali <address@hidden> writes:
>> diff --git a/doc/org.texi b/doc/org.texi
>> index aa34cd3..5fa1e22 100644
>> --- a/doc/org.texi
>> +++ b/doc/org.texi
>> @@ -10160,7 +10160,7 @@ All lines between these markers are exported
>> literally
>> @subsection Tables in @LaTeX{} export
>> @cindex tables, in @LaTeX{} export
>>
>> -For @LaTeX{} export of a table, you can specify a label and a caption
>> +For @LaTeX{} export of a table, you can specify a label, a caption and
>> placement options
>> (@pxref{Images and tables}). You can also use the @code{ATTR_LaTeX} line to
>> request a @code{longtable} environment for the table, so that it may span
>> several pages, or to change the default table environment from @code{table}
>> @@ -10207,7 +10207,20 @@ element. You can use an @code{#+ATTR_LaTeX:} line
>> to specify the various
>> options that can be used in the optional argument of the
>> @code{\includegraphics} macro. To modify the placement option of the
>> @code{figure} environment, add something like @samp{placement=[h!]} to the
>> -Attributes.
>> +Attributes. It is to be noted this option can be used with tables as well.
>> +The options are passed as the placement option to floating environments like
>> address@hidden or @code{table}. One can pass other compatible options as
>> well.
>> +For example the @code{#+ATTR_LaTeX:} line below is exported as the
>> address@hidden environment below it.
>> +
>> address@hidden #+ATTR_LaTeX
>> address@hidden
>> +#+ATTR_LaTeX: placement=[<options>]\footnotesize
>> +
>> +\begin{figure}[<options>]\footnotesize
>> +...
>> +\end{figure}
>> address@hidden example
>>
>> If you would like to let text flow around the image, add the word
>> @samp{wrap}
>> to the @code{#+ATTR_LaTeX:} line, which will make the figure occupy the left
>
> This looks like an improvement to me.
I think so too. The real test will be, though, the day I will search for
additional info about the tables. And the above text seems neat to me.
> I'd be interested to hear what Nick and Seb might have to say. They often
> catch things I miss.
;-)
> If you don't get other comments, I'd encourage you to submit this as a patch
> (I think this requires [PATCH] in the subject line) to see what Carsten and
> crew have to say about it.
>
> Thanks again for finding this solution to specifying the font size for
> floating tables on a table-by-table basis in LaTeX export. I'd been looking
> for your solution, and for Nick's solution that works on a per-document or
> buffer basis, for many months without success.
Thanks to both of you, for closing this loop up to the documentation stuff!
Best regards,
Seb
--
Sébastien Vauban
- Re: [O] Passing font size to exported LaTeX table, (continued)
- Re: [O] Passing font size to exported LaTeX table, Nick Dokos, 2011/05/24
- Re: [O] Passing font size to exported LaTeX table, Thomas S. Dye, 2011/05/25
- Re: [O] Passing font size to exported LaTeX table, suvayu ali, 2011/05/26
- Re: [O] Passing font size to exported LaTeX table, Thomas S. Dye, 2011/05/27
- Re: [O] Passing font size to exported LaTeX table, suvayu ali, 2011/05/27
- Re: [O] Passing font size to exported LaTeX table, Thomas S. Dye, 2011/05/27
- Re: [O] Passing font size to exported LaTeX table, Suvayu Ali, 2011/05/27
- Re: [O] Passing font size to exported LaTeX table, Thomas S. Dye, 2011/05/27
- Re: [O] Passing font size to exported LaTeX table, Suvayu Ali, 2011/05/27
- Re: [O] Passing font size to exported LaTeX table, Thomas S. Dye, 2011/05/27
- Re: [O] Passing font size to exported LaTeX table,
Sebastien Vauban <=
- Re: [O] Passing font size to exported LaTeX table, Suvayu Ali, 2011/05/28
- Re: [O] Passing font size to exported LaTeX table, Nick Dokos, 2011/05/28
- Re: [O] Passing font size to exported LaTeX table, Suvayu Ali, 2011/05/28
- Re: [O] Passing font size to exported LaTeX table, Nick Dokos, 2011/05/24
- Re: [O] Passing font size to exported LaTeX table, Sebastien Vauban, 2011/05/24