From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ken Okada Subject: Re: (no subject) Date: Thu, 30 Jan 2014 16:17:11 +0900 Message-ID: <86ppnalz0o.wl%keno.ss57@gmail.com> References: <86sis6mj3b.wl%keno.ss57@gmail.com> <87ha8mcol3.fsf@bzg.ath.cx> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43942) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8lsO-00067J-Fu for emacs-orgmode@gnu.org; Thu, 30 Jan 2014 02:17:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W8lsJ-0004yr-2H for emacs-orgmode@gnu.org; Thu, 30 Jan 2014 02:17:28 -0500 In-Reply-To: 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@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: John Hendy Cc: Bastien , emacs-orgmode John, Thanks for advising. On Org 7.8.11, placement=[l] and placement={l} parameter does not make sense for tables as I tried. I tried to install the current version. (There was a compile error arising from the fact that BSD make is not GNU make, but it's no matter.) A simple example for :center nil works well. For main org file I have to do more work... not about centering. However there seems not to be a parameter for flush right. At present this is not a serious problem because :center nil works well, so we can control directory with #+LATEX: \begin ... and \end . But it's tiresome. I also feel something about the difference between the way to designate centering and flush left/right. For HTML export we use :align parameter; for LaTeX, :center parameter, which only allows us to control centering or not. :align parameter is used for alignment of contents of table. I'm confused. I guess there's a problem about backward compatibility or something. As you wrote there's a way to change default behaviour, but I feel centering is confortable in the most typesetting *with Org*. I think such searching result is due to the default behaviour of LaTeX. File local option switching the behaviour would be useful, I think. Best regards, Ken Okada At Wed, 29 Jan 2014 18:22:38 -0600, John Hendy wrote: > > On Wed, Jan 29, 2014 at 6:15 PM, Bastien wrote: > > > > Hi Ken, > > > > Ken Okada writes: > > > > > I have a question. By default tables are centered in LaTeX export. > > > Sometimes I prefere to make it flush left or right. I thought this was > > > done with, for example, > > > > > > #+ATTR_LATEX: :center nil > > > | a | b | > > > | 1 | 2 | > > > > The use of the :center parameter suggests you consulted a recent > > version of the documentation, for Org >=8.0. > > > > This is how it works for Org 8.0 and above: > > > > #+ATTR_LATEX: :environment longtable :align l|lp{3cm}r|l > > | a | b | c | > > | 1 | 2 | 3 | > > > > If you can, please upgrade. Otherwise, someone needs to check the > > documentation for Org 7.8.11... > > Bastien beat me to it. Yes, the example syntax is for Org > 8.0. > Here's a version of the manual for v7.9: > - http://www.gnu.org/software/emacs/manual/html_mono/org.html#Tables-in-LaTeX-export > > I'm not sure what the proper argument is and can't test since I'm on > the current version of Org from git. You might take a look at the > placement= argument? > > I'm having a tough time finding info on LaTeX with what makes a table > left or right aligned (not the columns, but the table itself). Most of > the hits are on how to *center* the table, which seems to suggest they > will be left aligned by default. > > Sorry not to be of better help -- I think Bastien's suggestion to > upgrade to 8.0 is the right move. A lot of the mailing list has likely > made the move and thus it's hard to troubleshoot versions with the old > exporter syntax. > > > Best regards, > John > > > > > HTH, > > > > -- > > Bastien > >