From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fanpeng Kong Subject: org mode latex export excude title Date: Fri, 30 Dec 2016 23:11:21 +1100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42984) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cMw1z-0001ut-Ry for emacs-orgmode@gnu.org; Fri, 30 Dec 2016 07:11:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cMw1w-0001ES-OG for emacs-orgmode@gnu.org; Fri, 30 Dec 2016 07:11:31 -0500 Received: from mail-pg0-x244.google.com ([2607:f8b0:400e:c05::244]:35682) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cMw1w-0001DV-IY for emacs-orgmode@gnu.org; Fri, 30 Dec 2016 07:11:28 -0500 Received: by mail-pg0-x244.google.com with SMTP id i5so21971501pgh.2 for ; Fri, 30 Dec 2016 04:11:28 -0800 (PST) Received: from Jupiter (78.176.150.122.sta.dodo.net.au. [122.150.176.78]) by smtp.gmail.com with ESMTPSA id p1sm113156828pgc.29.2016.12.30.04.11.25 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 30 Dec 2016 04:11:26 -0800 (PST) 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" To: emacs-orgmode@gnu.org I am trying to use org mode to write a paper. The latex template of the journal restricts the location of `\title{}` command to be after the `\begin{document}`. While by leaving `#+TITLE:` empty and specify `#+OPTIONS: title:nil` in my org file, I can remove the `\maketitle` command in the latex export. However, and empty title `\title{}` is still exported prior to the `\begin{document}`. And it causes problem for the template I am using. Following is an minimal example of the org mode latex export. Is there any way to excude the empty `\title{}` command? \documentclass[10pt]{article} \usepackage{} ... \usepackage{} \date{} \title{} \hypersetup{ } \begin{document} ... \end{document} Any suggestion will be appreciated. And of course, Happy New Year! Cheers Fanpeng