在org模式的beamer表示中,我想使用python
或{
会有一个结果向量,我需要在不同的幻灯片上得到单独的向量元素。有没有一种方法可以分解结果向量,这样我就不需要每次都重新计算电子表格了?也许让python只将向量存储为变量,然后使用内联python调用来提取值?在
示例:
#+name: calculation
#+begin_src python :result value
return [1, 2, 3]
#+end_src
*** Slide one
I calculated <how to insert :calculationresult[0]>?
- some
- content
*** Slide two
I calculated <how to insert :calculationresult[1]>?
- more
- content
只是随便看看文档,所以我找到了以下解决方案:
相关问题 更多 >
编程相关推荐