2010-06-24 26 views
3

我有兩個由腳本生成的xy-pic圖。在膠乳方程環境,我想寫類似LaTeX中兩個單獨的xy-pic圖之間的相等性

diagram1 = diagram2

其中diagram1和diagram2是由該腳本產生的兩個單獨的XY-PIC圖,與兩個垂直居中(以及在=符號)。

有沒有一種簡單的方法來做到這一點,而無需編輯圖表並將其重寫爲更大的xy-pic圖?

回答

1

如果我理解你的話,我認爲你可以使用小型片來完成你想要的東西。您可能需要與間距和寬度對齊,但類似這樣的工作在我的測試中:

\begin{minipage}[c]{0.38\textwidth} 
\begin{xy} 
    (0,-20)="a", (0,0)="b" 
    \[email protected]{<.||} @<24mm> "a";"b" 
    \[email protected]^{<.||} @<16mm> "a";"b" 
    \[email protected]_{<.||} @<8mm> "a";"b" 
    \[email protected]{<.||}   "a";"b" 
    \[email protected]{<.||} @<-8mm> "a";"b" 
    \[email protected]{<.||} @<-16mm> "a";"b" 
    \[email protected]{<.||} @<-24mm> "a";"b" 
\end{xy} 
\end{minipage} 
\hspace{0.03\textwidth} 
\begin{minipage}[c]{0.05\textwidth} 
~~~~~\Large = 
\end{minipage} 
\hspace{0.08\textwidth} 
\begin{minipage}[c]{0.44\textwidth} 
\begin{xy} 
    (0,-20)="a", (0,0)="b" 
    \[email protected]{<.||} @<24mm> "a";"b" 
    \[email protected]^{<.||} @<16mm> "a";"b" 
    \[email protected]_{<.||} @<8mm> "a";"b" 
    \[email protected]{<.||}   "a";"b" 
    \[email protected]{<.||} @<-8mm> "a";"b" 
    \[email protected]{<.||} @<-16mm> "a";"b" 
    \[email protected]{<.||} @<-24mm> "a";"b" 
\end{xy} 
\end{minipage} 
+0

應該這樣做。謝謝! – 2010-06-25 21:17:21

相關問題