炸毀 xy-pic 中箭頭上的斜線

炸毀 xy-pic 中箭頭上的斜線

我有一個很大的依賴關係圖,我想將其放入數學論文中。我想要一些箭頭來表示含義,並且我想要劃掉的箭頭來表示特定的非含義。這是其中的一小部分。

\xymatrix{
& \txt{Dedekind} \ar@2[dl] \ar@2[dr]|{\object@{/}}\\
\txt{Noetherian\\ normal} & & \txt{globally\\ perinormal}
}

上面圖表的一小部分意味著每個 Dedekind 域都是諾特正常的,但是那裡存在Dedekind 域是不是全球異常正常。然而,這樣做時,箭頭的交叉斜線相當小。我擔心一個不經意的讀者會認為斜杠是一個錯誤,而且我實際上的意思是所有 Dedekind 域全球異常正常。

如何讓斜線變大?這對於 Xy-pic 來說是可能的嗎?

答案1

我可以推薦使用嗎為了這?

% arara: pdflatex

\documentclass{article}
\usepackage[all,cmtip]{xy}
\usepackage{tikz-cd}
\usetikzlibrary{decorations.markings}
\tikzset{degil/.style={
        decoration={markings,
            mark= at position 0.5 with {
                \node[transform shape] (tempnode) {$\backslash$};}},
        postaction={decorate}}}
\newcommand{\textCDedge}[1]{\begin{tabular}{@{}c@{}}#1\end{tabular}} % you may switch to 'l' or alike later, if you do not like the centred alignment anymore

\begin{document}
\[  
\xymatrix{ & \txt{Dedekind} \ar@2[dl] \ar@2[dr]|{\object@{/}}\\ \txt{Noetherian\\ normal} & & \txt{globally\\ perinormal} }
\]  
\[
\begin{tikzcd}[arrows=Rightarrow]
& \textCDedge{Dedekind} \ar{dl} \ar[degil]{dr}&\\
\textCDedge{Noetherian \\ normal}&& \textCDedge{globally\\perinormal}
\end{tikzcd}
\]
\end{document}

在此輸入影像描述

該軟體包更加現代、強大且更易於閱讀。重寫現有的圖表很容易,因為\ar可以在兩個套件中使用,並且您可以重新定義\txt我的定義\textCDedge

相關內容