是否可以使用 xymatrix 命令来制作光谱序列?由于 xymatrix 具有所有箭头,我真正想问的是是否有命令可以将条目封闭在方框格中。一个简单的示例将是理想的。
编辑:我想实现的一个例子可以在第一页上看到这张纸. 为确保完整性,此处附有图片。
答案1
与论文中的图片相同,但仅使用标准包(特别是pict2e
),而没有 LAmS-TeX。
\documentclass{article}
\usepackage[margin=1cm]{geometry}
\usepackage{pict2e}
\begin{document}
\[
\begin{picture}(200,140)(0,0)
\put( 0, 0){\vector( 1, 0){190}}
\put( 0, 0){\vector( 0, 1){130}}
\multiput( 0, 30)( 0,30){4}{\line( 1, 0){185}}
\multiput( 30, 0)(30, 0){6}{\line( 0, 1){125}}
\put( 23, 99){\vector( 4,-3){104}}
\put( 75, 45){\makebox(0,0){$d_4$}}
\put( 23,101){\vector( 2,-1){44}}
\put( 45,101){\makebox(0,0){$d_2$}}
\put( 15,105){\circle*{3}}
\put( 75, 75){\circle*{3}}
\put(135, 15){\circle*{3}}
\put(195, 0){\makebox(0,0){$s$}}
\put( 0,135){\makebox(0,0){$t$}}
\end{picture}
\]
\[
\begin{picture}(230,110)(0,0)
\put( 0, 0){\vector( 1, 0){220}}
\put( 0, 0){\vector( 0, 1){100}}
\multiput( 0, 30)( 0,30){3}{\line( 1, 0){215}}
\multiput( 30, 0)(30, 0){7}{\line( 0, 1){95}}
\multiput( 23, 41)(60, 0){3}{\line( 2,-1){44}}
\put( 45, 41){\makebox(0,0){$d_2$}}
\put( 15, 15){\makebox(0,0){$1$}}
\put( 75, 15){\makebox(0,0){$x$}}
\put(135, 15){\makebox(0,0){$x^2$}}
\put(195, 15){\makebox(0,0){$x^3$}}
\put( 15, 45){\makebox(0,0){$u$}}
\put( 75, 45){\makebox(0,0){$ux$}}
\put(135, 45){\makebox(0,0){$ux^2$}}
\put(195, 45){\makebox(0,0){$ux^3$}}
\put(225, 0){\makebox(0,0){$s$}}
\put( 0,105){\makebox(0,0){$t$}}
\end{picture}
\]
\[
\begin{picture}(230,170)(0,0)
\put( 0, 0){\vector( 1, 0){220}}
\put( 0, 0){\vector( 0, 1){160}}
\multiput( 0, 30)( 0,30){5}{\line( 1, 0){215}}
\multiput( 30, 0)(30, 0){7}{\line( 0, 1){155}}
\put( 15, 15){\makebox(0,0){$1$}}
\put( 75, 15){\makebox(0,0){$x$}}
\put(135, 15){\makebox(0,0){$x^2$}}
\put(195, 15){\makebox(0,0){$x^3$}}
\put( 15, 75){\makebox(0,0){$y$}}
\put( 75, 75){\makebox(0,0){$xy$}}
\put(135, 75){\makebox(0,0){$x^2y$}}
\put(195, 75){\makebox(0,0){$x^3y$}}
\put( 15,135){\makebox(0,0){$y^2$}}
\put( 75,135){\makebox(0,0){$xy^2$}}
\put(135,135){\makebox(0,0){$x^2y^2$}}
\put(195,135){\makebox(0,0){$x^3y^2$}}
\put( 75,105){\makebox(0,0){$d_2y^2$}}
\put(105, 75){\makebox(0,0){$d_3y^2$}}
\put(135, 45){\makebox(0,0){$d_4y^2$}}
\put(165, 15){\makebox(0,0){$d_5y^2$}}
\put(225, 0){\makebox(0,0){$s$}}
\put( 0,165){\makebox(0,0){$t$}}
\end{picture}
\]
\[
\begin{picture}(200,170)(0,0)
\put( 0, 0){\vector( 1, 0){190}}
\put( 0, 0){\vector( 0, 1){160}}
\multiput( 0, 30)( 0,30){5}{\line( 1, 0){185}}
\multiput( 30, 0)(30, 0){6}{\line( 0, 1){155}}
\put( 15, 15){\makebox(0,0){$1$}}
\put( 15, 45){\makebox(0,0){$a_1$}}
\put( 15,105){\makebox(0,0){$a_3$}}
\put( 15,135){\makebox(0,0){$a_1a_3$}}
\put(165, 15){\makebox(0,0){$1$}}
\put(165, 45){\makebox(0,0){$a_1u$}}
\put(165,105){\makebox(0,0){$a_3u$}}
\put(165,135){\makebox(0,0){$a_1a_3u$}}
\put( 75, 75){\makebox(0,0){$d_2a_3$}}
\put(105, 45){\makebox(0,0){$d_3a_3$}}
\put(135, 15){\makebox(0,0){$d_4a_3$}}
\put(195, 0){\makebox(0,0){$s$}}
\put( 0,165){\makebox(0,0){$t$}}
\end{picture}
\]
\end{document}
(注意:由于分辨率低,图片可能存在一些伪影,但分辨率较高时线条是正确的。)
答案2
我已经向该论文的作者索要了代码。
以下是该论文的全部四张图表:
% arara: pdflatex
\documentclass{article}
\usepackage{fullpage}
\usepackage{lamsarrow}
\usepackage{pb-diagram}
\usepackage{pb-lams}
\newsavebox{\cblob}
\savebox{\cblob}{
\begin{picture}(0,0)(3,0)
\put(0,0){\circle*{3.0}}
\end{picture}
}
\begin{document}
\[
\begin{picture}(200,140)(0,0)
\put( 0, 0){\lamsvector( 1, 0){185}}
\put( 0, 0){\lamsvector( 0, 1){125}}
{\lamstarget{0}
\multiput( 0, 30)( 0,30){4}{\lamsvector( 1, 0){185}}
\multiput( 30, 0)(30, 0){6}{\lamsvector( 0, 1){125}}}
\put( 23, 99){\lamsvector( 4,-3){104}}
\put( 75, 45){\makebox(0,0){$d_4$}}
\put( 23,101){\lamsvector( 2,-1){44}}
\put( 45,101){\makebox(0,0){$d_2$}}
\put( 15,105){\usebox{\cblob}}
\put( 75, 75){\usebox{\cblob}}
\put(135, 15){\usebox{\cblob}}
\put(190, 0){\makebox(0,0){$s$}}
\put( 0,130){\makebox(0,0){$t$}}
\end{picture}
\]
\[
\begin{picture}(230,110)(0,0)
\put( 0, 0){\lamsvector( 1, 0){215}}
\put( 0, 0){\lamsvector( 0, 1){95}}
{\lamstarget{0}
\multiput( 0, 30)( 0,30){3}{\lamsvector( 1, 0){215}}
\multiput( 30, 0)(30, 0){7}{\lamsvector( 0, 1){95}}}
\multiput( 23, 41)(60, 0){3}{\lamsvector( 2,-1){44}}
\put( 45, 41){\makebox(0,0){$d_2$}}
\put( 15, 15){\makebox(0,0){$1$}}
\put( 75, 15){\makebox(0,0){$x$}}
\put(135, 15){\makebox(0,0){$x^2$}}
\put(195, 15){\makebox(0,0){$x^3$}}
\put( 15, 45){\makebox(0,0){$u$}}
\put( 75, 45){\makebox(0,0){$ux$}}
\put(135, 45){\makebox(0,0){$ux^2$}}
\put(195, 45){\makebox(0,0){$ux^3$}}
\put(220, 0){\makebox(0,0){$s$}}
\put( 0,100){\makebox(0,0){$t$}}
\end{picture}
\]
\[
\begin{picture}(230,170)(0,0)
\put( 0, 0){\lamsvector( 1, 0){215}}
\put( 0, 0){\lamsvector( 0, 1){155}}
{\lamstarget{0}
\multiput( 0, 30)( 0,30){5}{\lamsvector( 1, 0){215}}
\multiput( 30, 0)(30, 0){7}{\lamsvector( 0, 1){155}}}
\put( 15, 15){\makebox(0,0){$1$}}
\put( 75, 15){\makebox(0,0){$x$}}
\put(135, 15){\makebox(0,0){$x^2$}}
\put(195, 15){\makebox(0,0){$x^3$}}
\put( 15, 75){\makebox(0,0){$y$}}
\put( 75, 75){\makebox(0,0){$xy$}}
\put(135, 75){\makebox(0,0){$x^2y$}}
\put(195, 75){\makebox(0,0){$x^3y$}}
\put( 15,135){\makebox(0,0){$y^2$}}
\put( 75,135){\makebox(0,0){$xy^2$}}
\put(135,135){\makebox(0,0){$x^2y^2$}}
\put(195,135){\makebox(0,0){$x^3y^2$}}
\put( 75,105){\makebox(0,0){$d_2y^2$}}
\put(105, 75){\makebox(0,0){$d_3y^2$}}
\put(135, 45){\makebox(0,0){$d_4y^2$}}
\put(165, 15){\makebox(0,0){$d_5y^2$}}
\put(220, 0){\makebox(0,0){$s$}}
\put( 0,160){\makebox(0,0){$t$}}
\end{picture}
\]
\[
\begin{picture}(200,170)(0,0)
\put( 0, 0){\lamsvector( 1, 0){185}}
\put( 0, 0){\lamsvector( 0, 1){155}}
{\lamstarget{0}
\multiput( 0, 30)( 0,30){5}{\lamsvector( 1, 0){185}}
\multiput( 30, 0)(30, 0){6}{\lamsvector( 0, 1){155}}}
\put( 15, 15){\makebox(0,0){$1$}}
\put( 15, 45){\makebox(0,0){$a_1$}}
\put( 15,105){\makebox(0,0){$a_3$}}
\put( 15,135){\makebox(0,0){$a_1a_3$}}
\put(165, 15){\makebox(0,0){$1$}}
\put(165, 45){\makebox(0,0){$a_1u$}}
\put(165,105){\makebox(0,0){$a_3u$}}
\put(165,135){\makebox(0,0){$a_1a_3u$}}
\put( 75, 75){\makebox(0,0){$d_2a_3$}}
\put(105, 45){\makebox(0,0){$d_3a_3$}}
\put(135, 15){\makebox(0,0){$d_4a_3$}}
\put(190, 0){\makebox(0,0){$s$}}
\put( 0,160){\makebox(0,0){$t$}}
\end{picture}
\]
\end{document}
他没有使用xy-pic
,但我不认为这是交换图的用例。请看一下,看看这段代码是否有助于您重现此类图像。如果没有,您将不得不告诉我们更多关于您想要实现的目标的信息。
如果你想结合交换图和这样的网格,我绝对建议你看一下tikz-cd