3

スクリプトによって生成された 2 つの xy-pic ダイアグラムがあります。LaTeXの方程式環境では、次のように書きたいと思います

図 1 = 図 2

ここで、diagram1 と diagram2 は、このスクリプトによって生成された 2 つの別個の xy-pic ダイアグラムであり、2 つが垂直方向に中央揃えされています (および = 記号)。

ダイアグラムを編集してより大きなxy-picダイアグラムとして書き直さずに、これを行う簡単な方法はありますか?

4

1 に答える 1

1

私の理解が正しければ、ミニページを使用して目的を達成できると思います。間隔と幅を調整する必要があるかもしれませんが、私のテストでは次のように機能します。

\begin{minipage}[c]{0.38\textwidth}
\begin{xy}
    (0,-20)="a", (0,0)="b"
    \ar@{<.||}  @<24mm>  "a";"b"
    \ar@^{<.||} @<16mm>  "a";"b"
    \ar@_{<.||} @<8mm>   "a";"b"
    \ar@0{<.||}          "a";"b"
    \ar@1{<.||} @<-8mm>  "a";"b"
    \ar@2{<.||} @<-16mm> "a";"b"
    \ar@3{<.||} @<-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"
    \ar@{<.||}  @<24mm>  "a";"b"
    \ar@^{<.||} @<16mm>  "a";"b"
    \ar@_{<.||} @<8mm>   "a";"b"
    \ar@0{<.||}          "a";"b"
    \ar@1{<.||} @<-8mm>  "a";"b"
    \ar@2{<.||} @<-16mm> "a";"b"
    \ar@3{<.||} @<-24mm> "a";"b"
\end{xy}
\end{minipage}
于 2010-06-24T23:05:11.437 に答える