[O] [BUG] centering export of babel results

2012-11-17 Thread Andreas Leha
Hi all,

There is a bug in the newly introduced centering-instead-of-center
feature when it comes to babel results.

Here is the problem (already *unintentionally* centered):
#+begin_src R :exports results :colnames yes
  data.frame(a=1:2, b=3:4)
#+end_src

#+results:
| a | b |
|---+---|
| 1 | 3 |
| 2 | 4 |

This remains *unintentionally* centered.

Regards,
Andreas




Re: [O] [BUG] centering export of babel results

2012-11-17 Thread Andreas Leha
Andreas Leha andreas.l...@med.uni-goettingen.de writes:

 Hi all,

 There is a bug in the newly introduced centering-instead-of-center
 feature when it comes to babel results.

 Here is the problem (already *unintentionally* centered):
 #+begin_src R :exports results :colnames yes
   data.frame(a=1:2, b=3:4)
 #+end_src

 #+results:
 | a | b |
 |---+---|
 | 1 | 3 |
 | 2 | 4 |

 This remains *unintentionally* centered.

 Regards,
 Andreas

I should have added, that a simple work-around would be sth like


Here is the problem (already *unintentionally* centered):
#+LaTeX: { \\%}
#+begin_src R :exports results :colnames yes
  data.frame(a=1:2, b=3:4)
#+end_src

#+results:
| a | b |
|---+---|
| 1 | 3 |
| 2 | 4 |
#+LaTeX: }

This remains *unintentionally* centered.

Regards,
Andreas




Re: [O] [BUG] centering export of babel results

2012-11-17 Thread Myles English

Hi Andreas,

Andreas Leha writes:

 Andreas Leha andreas.l...@med.uni-goettingen.de writes:

 Hi all,

 There is a bug in the newly introduced centering-instead-of-center
 feature when it comes to babel results.

Thanks for reporting it.

 Here is the problem (already *unintentionally* centered):

I don't know how to intentionally uncenter tables.

 #+begin_src R :exports results :colnames yes data.frame(a=1:2, b=3:4)
 #+end_src

 #+results:
 | a | b |
 |---+---|
 | 1 | 3 |
 | 2 | 4 |

 This remains *unintentionally* centered.

 Regards,
 Andreas

 I should have added, that a simple work-around would be sth like


 Here is the problem (already *unintentionally* centered):
 #+LaTeX: { \\%}
 #+begin_src R :exports results :colnames yes
   data.frame(a=1:2, b=3:4)
 #+end_src

 #+results:
 | a | b |
 |---+---|
 | 1 | 3 |
 | 2 | 4 |
 #+LaTeX: }

 This remains *unintentionally* centered.

I have just sent a patch to the mailing list to fix the problem you
hinted at.

Myles