Re: [O] how to pass parameters to latex environment when exporting

2019-06-01 Thread Uwe Brauer
>>> "UB" == Uwe Brauer writes: [Snip]... > But I would like to have > \begin{solution}[5cm] > How can I pass that parameter when exporting? Thanks According to https://emacs.stackexchange.com/questions/34751/org-mode-latex-environment-in-drawer #+ATTR_LATEX: options: [Here]{There

[O] how to pass parameters to latex environment when exporting

2019-06-01 Thread Uwe Brauer
Hi I have the following example of a org file #+begin_solution The result is as follows #+begin_src matlab :results output raw :exports results :eval never-export l=0.33; mypois=poisspdf(0,l); myres=1-poisspdf(0,l)-poisspdf(1,l); disp('\begin{align*}') fprintf('P(X\\geq 1)&=1-P(X=0)-P(X=1)=