在 Orgmode 中自定义多个作者隶属关系,以便使用包身份验证导出乳胶



我的 Orgmode 文档中有这个设置,它不会将作者隶属关系导出到 latex 或 pdf。相反,我得到了一个启发式的"即时"来代替作者我已经将Latex添加到.emacs中的Org -babel-load语言中必须做些什么才能让 babel 评估 Latex 代码块?是否有必须更改的 hyperef 设置?

#+Title: Multiple Author affiliations in OrgMode Latex export 
#+date: 11 Feb 2016
#+latex_class: article
#+latex_class_options: [a4paper]
#+OPTIONS: toc:nil
#+OPTIONS: author:nil
#+latex_header: usepackage{float}
#+latex_header: usepackage{graphicx}
#+latex_header: usepackage{authblk} 
    #+BEGIN_LATEX
    author[1]{Author One}
    author[1]{Author TwoTwo}
    author[1]{Author TwoTwoo}
    author[1,2]{Author TwoTwooo}
    author[1]{Author Three}
    author[1]{Author TwoTw}
    author[1]{Author Four}
    author[1]{Author Fourrr}
    author[2]{Author Fourrrr}
    author[2]{Author Twenty}
    affil[1]{Guided Therapeutics Centre}
    affil[2]{Division of theatre}
    #+END_LATEX

我得到这个pdf

PDF输出

我今天从具有正确解决方案的组织模式邮件列表中收到了此回复2016年2月18日星期四10:05,Prakash Nayak写道:

我的组织模式文档中有此设置,但它不会导出作者隶属于乳胶或 PDF。

我从未使用过authblk,但我想你应该在生成的 \begin{document} 行之前定义作者乳胶。 使用乳胶块(顺便说一下,取决于版本您正在使用的组织,这些语法已更改(,您将生成 LaTeX,它将在公文。

我想你想把每个 \author 和 \affil 行放在页眉:

#+latex_header: author[1]{Author One}
#+latex_header: affil[1]{Guided Therapeutics Centre}

等。

试一试。

最新更新