简体   繁体   English

使用Babel源代码块将组织模式表转换为LaTeX代码

[英]Convert a org-mode table to LaTeX code with babel source block

As asked, how can I directly convert a org-mode table to LaTeX with babel source block, and show the 如所要求的,我如何使用babel源代码块将组织模式表直接转换为LaTeX,并显示

\begin{tabluar}
...
\end{tabluar}

as the results? 作为结果? Because I want to use the LaTeX code in org-mode. 因为我想在组织模式下使用LaTeX代码。

Can anyone help me? 谁能帮我?

My suggestion would be: 我的建议是:

  • Write your table in orgmode orgmode写表
  • Select the table 选择表
  • Enter to the export menu ( Cc Ce ) 进入导出菜单Cc Ce
  • Choose export subtree ( Cs ) 选择导出子树Cs
  • And finally, export to a LaTeX buffer ( l L ) 最后,导出到LaTeX缓冲区l L

This process would open in your emacs session a (temporary) buffer with the code you need (plus extra stuff from the preamble and the section where the table was written). 此过程将在emacs会话中打开一个具有所需代码的(临时)缓冲区(加上前导和表的编写部分中的其他内容)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM