add article help for python output to org table
This commit is contained in:
@@ -336,6 +336,26 @@ Set caption with \LaTeX{} command
|
||||
}%
|
||||
#+end_export
|
||||
|
||||
*** From Python src block output
|
||||
#+begin_src python :results output table :exports results :hlines yes
|
||||
a = 1.362658
|
||||
b = 'foo'
|
||||
|
||||
result = [
|
||||
None ,
|
||||
['b', f'_{b}_'] ,
|
||||
[r'$R^{2}$',f'{a:.3f}'] ,
|
||||
None ,
|
||||
]
|
||||
print(result)
|
||||
#+end_src
|
||||
|
||||
#+RESULTS:
|
||||
|---------+-------|
|
||||
| b | _foo_ |
|
||||
| $R^{2}$ | 1.363 |
|
||||
|---------+-------|
|
||||
|
||||
** Figures
|
||||
*** svg
|
||||
#+NAME: fig-svg
|
||||
|
||||
Reference in New Issue
Block a user