[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] LaTeX (not Beamer) export options

From: Ken Mankoff
Subject: Re: [O] LaTeX (not Beamer) export options
Date: Mon, 18 Dec 2017 16:56:52 +0100
User-agent: mu4e 0.9.18; emacs 25.3.1

Hi Eric,

On 2017-12-15 at 12:12, Eric S Fraga <address@hidden> wrote:
> On Thursday, 14 Dec 2017 at 18:05, Ken Mankoff wrote:
>> Is there an easy way to specify #+LATEX_HEADER options that will not
>> be used when exporting to Beamer?
> #+latex_header: \ifx\frametitle\undefined\usepackage{somepackage}\fi
> which seems to work.  \usepackage{somepackage} is what you actually want
> when not using beamer.  Replace with your own stuff.  You can make it
> more readable by doing:
> # only for LaTeX and not beamer
> #+latex_header: \ifx\frametitle\undefined
> #+latex_header: \usepackage{somepackage}
> #+latex_header: \usepackage{another}
> #+latex_header: \fi

Thanks for this solution. Unless there is a more formal solution, or until 
someone implements #+LATEX_ONLY_HEADER, this works well. Thank you!


reply via email to

[Prev in Thread] Current Thread [Next in Thread]