smi*_*dha 10 emacs latex org-mode org-table
有没有办法'texify'用Emacs的orgtabl模式编写的ASCII表.在此模式下创建表格非常简单.
例如,假设我有这张桌子
|------+-----+-----|
| A | B | C |
|------+-----+-----|
| 2.34 | 2.7 | 8.9 |
| 3.67 | 4.5 | 8.9 |
|------+-----+-----|
Run Code Online (Sandbox Code Playgroud)
如果在EMACS中,我可以突出显示这个区域,并且可以像M-x texify生成该表的乳胶代码那样生成,这样可以省去很多痛苦.
任何非emacs建议也是受欢迎的.
Rém*_*émi 16
你可以使用orgtbl-mode.在你的乳胶缓冲液中,做M-xorgtbl-mode,添加
% BEGIN RECEIVE ORGTBL thenameofthetable
% END RECEIVE ORGTBL thenameofthetable
Run Code Online (Sandbox Code Playgroud)
你想要桌子的地方.
加
#+ORGTBL: SEND thenameofthetable orgtbl-to-latex :splice nil :skip 0
|------+-----+-----|
| A | B | C |
|------+-----+-----|
| 2.34 | 2.7 | 8.9 |
| 3.67 | 4.5 | 8.9 |
|------+-----+-----|
Run Code Online (Sandbox Code Playgroud)
在\ end {document}之后
并C-cC-c在组织模式表上执行
迈克尔霍夫曼已经提出了另一个解决方案:使用组织模式导出功能 C-cC-el