From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: escaping of #+TEXT lines: \vspace vs \vspace* Date: Wed, 23 Mar 2011 09:00:17 +0000 Message-ID: <87mxkmp5y6.fsf@ucl.ac.uk> References: <87lj06fpjr.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=54508 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q2KqQ-0004cF-I8 for emacs-orgmode@gnu.org; Wed, 23 Mar 2011 05:59:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q2KqP-0007SP-7b for emacs-orgmode@gnu.org; Wed, 23 Mar 2011 05:59:14 -0400 Received: from vscani-d2.ucl.ac.uk ([144.82.108.133]:42877) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q2KqP-0007Ra-04 for emacs-orgmode@gnu.org; Wed, 23 Mar 2011 05:59:13 -0400 In-Reply-To: <87lj06fpjr.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Wed, 23 Mar 2011 12:07:04 +0800") 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: Eric Abrahamsen Cc: emacs-orgmode@gnu.org Eric Abrahamsen writes: > Hi, > > In a certain org file I put this line into the export options: > > #+begin_src org-mode > #+TEXT: \vspace*{0.5in} > #+end_src Should this not be #+LATEX: \vspace*{0.5in} instead of TEXT? By the way, if you want such commands to be recognised inline within normal org text, without having to escape them, I do the following: #+latex_header: \newcommand{\Gap}[1]{\vspace*{#1}} and then simply type \Gap{0.5in} whenever you want to invoke this vspace command. One could argue that the latex escaping that org does should include *'ed commands as well... but this may have other repercussions that I am not aware of. -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.5 (release_7.5.97.g078c0)