2010-02-24 63 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