2010-02-24 30 views
2

我使用MultiMarkdown生成了我正在处理的学术论文的LaTeX文件。我使用biblatex的书目,这使得像autociteautocites命令:在MultiMarkDown中强制使用LaTeX命令

This is a true statement.\autocite{source:2007} 

当使用autocites,每个支撑条目被视为一个引用来源,当有对引用多个来源的伟大的工程:

This is another statement.\autocites{othersource}{yetanothersource} 

然而,当继autocites命令文本是另一个括号乳胶命令,biblatex将其视为另一个源,间距:

This is another statement.\autocites{othersource}{yetanothersource} {\itshape The New York Times}… 

结果在脚注中,看起来像这样:

Bib data for othersource; bib data for yetanothersource; \itshape The New York Times 

这是一个问题。一个明显的方法是使用不同的斜体命令,如\emph{The New York Times},但不幸的是MultiMarkdown使用itshape而不是\emph,我不想在MMD的源代码中混淆。

是否有LaTeX序列或代码会强制两个支撑命令序列之间的中断?用\\种作品({yetanothersource}\\{\itshape)强制换行,但会在第一个命令后创建一个新段落。有没有类似于\\,它会告诉LaTex引擎开始分析{itshape}作为新命令,而不是autocite{}的一部分?

+1

会一个'\'在括号之间强制终止? – 2010-02-24 20:44:00

+0

没有。一个'\'转义下面的'{',导致大括号实际输出... – Andrew 2010-02-24 20:46:01

+0

所以它不会最终逃脱以下空间?如果是这样的话,我想你可以试试'\〜'。 – 2010-02-24 20:54:16

回答

2

这是一个绝望的猜测,但你试过\relax

喜欢的东西:

This is another statement.\autocites{othersource}{yetanothersource}\relax {\itshape The New York Times}… 
+0

'\ relax'很棒。 A \本身也有效。 – Andrew 2010-02-24 22:05:48

+1

我想“\”解决方案实际上是“\”(插入一个空格)。 它确实更紧凑,但我相信\放松是“不要做任何事”的“官方”TeX方式。 – 2010-02-26 13:37:54