如何添加\和在php中为LaTeX输出多个作者

时间:2014-05-12 16:29:50

标签: php latex author ieee

PHP代码:它只能是单一作者。

if ($field == 'author') {
        $newVal = "";
        foreach (@split("\n", $value) as $refEntry) {
            if (strlen(trim($refEntry)) > 0) {
                $newVal .= "\IEEEauthorblockN{{$refEntry}}\n";
            }
        }
        $value = $newVal;

如何在php中编辑代码,如下面的乳胶脚本,可以有\和?

\author{\IEEEauthorblockN{Authors Name/s per 1st Affiliation (Author)}
\IEEEauthorblockA{line 1 (of Affiliation): dept. name of organization\\
line 2: name of organization, acronyms acceptable\\
line 3: City, Country\\
line 4: Email: name@xyz.com}
\and
\IEEEauthorblockN{Authors Name/s per 2nd Affiliation (Author)}
\IEEEauthorblockA{line 1 (of Affiliation): dept. name of organization\\
line 2: name of organization, acronyms acceptable\\
line 3: City, Country\\
line 4: Email: name@xyz.com}
}

0 个答案:

没有答案