Re: [O] Adding [fragile] to a LaTeX Beamer slide

2016-07-07 Thread Florian Lindner
Am 06.07.2016 um 22:49 schrieb Nicolas Goaziou: > Hello, > > Florian Lindner writes: > >> How can I add a fragile option to the frame > > You can set :BEAMER_OPT property accordingly. Great, works: :PROPERTIES: :BEAMER_OPT: fragile :END: Just one more question, btw. When I used this property

Re: [O] Adding [fragile] to a LaTeX Beamer slide

2016-07-06 Thread Nicolas Goaziou
Hello, Florian Lindner writes: > How can I add a fragile option to the frame You can set :BEAMER_OPT property accordingly. > or make the BEGIN_src block use the lstlisting environment? See `org-latex-listings'. Regards, -- Nicolas Goaziou

[O] Adding [fragile] to a LaTeX Beamer slide

2016-07-06 Thread Florian Lindner
Hello, I try to put some source code, using the listings package in my slides: ** Source Code #+BEGIN_LATEX \begin{lstlisting} for (int i = 1; i != 10; ++i) std::cout << i << ": hello, world!" << std::endl; \end{lstlisting} #+END_LATEX Problem is, this, in contrast to #+BEGIN