如何在 xy-pic 上制作从对象到其自身的更长箭头

如何在 xy-pic 上制作从对象到其自身的更长箭头

我试图控制从物体到其自身(xy-pic)的箭头长度xymatrix:例如 -

在此处输入图片描述

这是我输入时得到的结果*+++[o][F.]{a}\ar@(d,r)

这是我输入时得到的结果*+++++[o][F.]{a}\ar@(d,r)在此处输入图片描述

如果我添加更多,+就会出错....
你知道我怎样才能让箭头更长吗?
我尝试添加@/_{2pc}/,但没有帮助。

我希望能获得更多选项,例如:@(u,d)等等……

以下是整个文件:

% Preview source code

%% LyX 2.1.2 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[english,hebrew]{article}
\usepackage[T1]{fontenc}
\usepackage[cp1255]{inputenc}
\usepackage[all]{xy}

\makeatletter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Textclass specific LaTeX commands.
\usepackage{theorem}
\theorembodyfont{\upshape}
\newtheorem{theorem}{\R{משפט}}[section]
\AtBeginDocument{\make@lr\thetheorem}

% The following chunk fixes export with XeTeX.
% It is needed because polyglossia is used by default
% and \make@lr is only defined by babel.
\@ifundefined{make@lr}
{\def\make@lr#1{\begingroup
    \toks@=\expandafter{#1}%
    \edef\x{\endgroup
  \def\noexpand#1{\noexpand\@number{\the\toks@}}}%
  \x}}{\relax}

\makeatother

\usepackage{babel}
\begin{document}
\L{$\SelectTips{eu}{10}\xymatrix{\\
*+++++[o][F.]{a}\ar`urd[r] & *++[o]{}
}
$}
\end{document}

这是另一个:

% Preview preamble

%% LyX 2.1.2 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[english,hebrew]{article}
\usepackage[T1]{fontenc}
\usepackage[cp1255]{inputenc}
\setlength{\parindent}{0bp}
\usepackage[all]{xy}

\makeatletter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Textclass specific LaTeX commands.
\usepackage{theorem}
\theorembodyfont{\upshape}
\newtheorem{theorem}{\R{משפט}}[section]
\AtBeginDocument{\make@lr\thetheorem}

% The following chunk fixes export with XeTeX.
% It is needed because polyglossia is used by default
% and \make@lr is only defined by babel.
\@ifundefined{make@lr}
{\def\make@lr#1{\begingroup
    \toks@=\expandafter{#1}%
    \edef\x{\endgroup
  \def\noexpand#1{\noexpand\@number{\the\toks@}}}%
  \x}}{\relax}

\makeatother

答案1

我以前遇到过类似的问题,即具有长名称的事物的自同态。我认为它的解决方案就是你正在寻找的解决方案(或者至少是一个很好的尝试),我将箭头的源起点和目标终点移动到名称的边缘。

如果名称足够大而您没有,[]!<5mm,0mm>;[]!<5mm,0mm>您甚至会收到您提到的错误。

\vcenter{\hbox{\xymatrix{
S\ar@(ur,dr)^-{t}
}}}\qquad\vcenter{\hbox{\xymatrix{
\mathcal{B}(S,X)\ar@(ur,dr)[]!<5mm,0mm>;[]!<5mm,0mm>^-{\mathcal{B}(t,X)}
}}}

我相信您可以根据自己的示例采用此解决方案。它看起来是这样的。

相关内容