From mboxrd@z Thu Jan 1 00:00:00 1970 From: Curiouslearn Subject: About entering latex code in an org file Date: Fri, 10 Dec 2010 10:17:26 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from [140.186.70.92] (port=53941 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PR4iw-0003Jp-5E for emacs-orgmode@gnu.org; Fri, 10 Dec 2010 10:17:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PR4iu-00083X-45 for emacs-orgmode@gnu.org; Fri, 10 Dec 2010 10:17:30 -0500 Received: from mail-gx0-f180.google.com ([209.85.161.180]:59842) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PR4iu-000836-0n for emacs-orgmode@gnu.org; Fri, 10 Dec 2010 10:17:28 -0500 Received: by gxk19 with SMTP id 19so2381878gxk.39 for ; Fri, 10 Dec 2010 07:17:26 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi, I am new to both emacs and org-mode. Org-mode sounds really cool and I am trying to use it to make notes for a project. I have some latex symbols that I need to enter in the file. As a background: (1) I read in the manual that for latex code I do not need to enclose math inside $ $. (2) I have many words with "_" in the their names, so as mentioned in the manual, I added #+OPTIONS: ^:{} #+OPTIONS: _:{} to my .org file. In fact, the my file is ----------------------------------------------------------------------------------------------------- #+OPTIONS: ^:{} #+OPTIONS: _:{} #+LATEX_HEADER: \setlength{\parskip}{2ex plus 0.5ex minus 0.2ex} #+LATEX_HEADER: \setlength{\parindent}{0in} * TODO Write an aspiration_review function The function should do the following: 1. Investigates if \pi_{g} \geq 0.05 and \bar{\pi} \geq ASP_LEVEL ** Investigate if ----------------------------------------------------------------------------------------------------- The problem is that when I export this using 'C-c C- e l' to latex, some parts that should be enclosed in $ $ sign are not enclosed. This is the relevant line copied and pasted from the exported .tex file \item Investigates if $\pi$$_\{g\}$ \geq 0.05 and \bar{\pi} \geq ASP\_{}LEVEL Can someone please let me know what is happening? Thanks very much for all those who have been working on org-mode.