From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Stansell Subject: Re: unexpected appearance of x^2 in pdf file Date: Sun, 12 May 2013 15:12:53 +0100 Message-ID: References: <87d2sw7hoa.fsf@gmail.com> <87vc6o4a9z.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:33418) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UbX1F-0006HG-Q1 for emacs-orgmode@gnu.org; Sun, 12 May 2013 10:13:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UbX1C-00069f-GW for emacs-orgmode@gnu.org; Sun, 12 May 2013 10:12:57 -0400 Received: from mail-ie0-x230.google.com ([2607:f8b0:4001:c03::230]:40042) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UbX1C-00069a-8o for emacs-orgmode@gnu.org; Sun, 12 May 2013 10:12:54 -0400 Received: by mail-ie0-f176.google.com with SMTP id at1so10763902iec.35 for ; Sun, 12 May 2013 07:12:53 -0700 (PDT) In-Reply-To: <87vc6o4a9z.fsf@gmail.com> 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: Nicolas Goaziou Cc: emacs-orgmode@gnu.org Nicolas, >> \[ x = y >> +1 \] >> >> \[ x = y >> + 1 \] > > This is to be expected. In the second case, the second line defines > a list item, which has precedence over any LaTeX snippet. Okay, I realised it was switching to the itemise environment, but I didn't know it took precedence over the latex environment. >> \[ x = \begin{array}{cc} >> y & u \\ >> z & v >> \end{array} \] >> >> \[ x = >> \begin{array}{cc} >> y & u \\ >> z & v >> \end{array} \] > > I think this is because of a limitation on the number of lines a LaTeX > snippet can span across (IIRC, 3 is the maximum). Maybe, but I see the same problem with the following two line example \[ x = \begin{array}{cc} z & v \end{array} \] > In both cases, I suggest to use LaTeX environments instead: > > \begin{equation*} > x = y > + 1 > \end{equation*} Yes, I tried that, but as I understand it I need to \usepackage{amsmath} to access the latex equation* environment. But then I get an error about "Command \iint already defined." I tried the solution described at http://www.tex.ac.uk/cgi-bin/texfaq2html?label=alreadydef, but it didn't work for me. Anyway, never mind, these are all quite trivial points. Thanks very much for your help, Paul