为什么添加一棵子树会导致输出被裁剪?

为什么添加一棵子树会导致输出被裁剪?
\documentclass[preview,border=12pt]{standalone}
\usepackage{pst-tree}
\psset{treemode=R,edge=\ncline}

\def\ABCD{%
    \psTree{\Tcircle{A}} 
        \psTree{\Tcircle{B}} 
            \pstree{\Tcircle{C}}{\Tcircle{D}}
            \pstree{\Tcircle{D}}{\Tcircle{C}}
        \endpsTree
        \psTree{\Tcircle{C}} 
            \pstree{\Tcircle{B}}{\Tcircle{D}}
            \pstree{\Tcircle{D}}{\Tcircle{B}}
        \endpsTree
        \psTree{\Tcircle{D}} 
            \pstree{\Tcircle{B}}{\Tcircle{C}}
            \pstree{\Tcircle{C}}{\Tcircle{B}}
        \endpsTree
    \endpsTree
}

\def\BACD{%
    \psTree{\Tcircle{B}} 
        \psTree{\Tcircle{A}} 
            \pstree{\Tcircle{C}}{\Tcircle{D}}
            \pstree{\Tcircle{D}}{\Tcircle{C}}
        \endpsTree
        \psTree{\Tcircle{C}} 
            \pstree{\Tcircle{A}}{\Tcircle{D}}
            \pstree{\Tcircle{D}}{\Tcircle{A}}
        \endpsTree
        \psTree{\Tcircle{D}} 
            \pstree{\Tcircle{A}}{\Tcircle{C}}
            \pstree{\Tcircle{C}}{\Tcircle{A}}
        \endpsTree
    \endpsTree
}

\def\CABD{%
    \psTree{\Tcircle{C}} 
        \psTree{\Tcircle{A}} 
            \pstree{\Tcircle{B}}{\Tcircle{D}}
            \pstree{\Tcircle{D}}{\Tcircle{B}}
        \endpsTree
        \psTree{\Tcircle{B}} 
            \pstree{\Tcircle{A}}{\Tcircle{D}}
            \pstree{\Tcircle{D}}{\Tcircle{A}}
        \endpsTree
        \psTree{\Tcircle{D}} 
            \pstree{\Tcircle{A}}{\Tcircle{B}}
            \pstree{\Tcircle{B}}{\Tcircle{A}}
        \endpsTree
    \endpsTree
}

\def\DABC{%
    \psTree{\Tcircle{D}} 
        \psTree{\Tcircle{A}} 
            \pstree{\Tcircle{B}}{\Tcircle{C}}
            \pstree{\Tcircle{C}}{\Tcircle{B}}
        \endpsTree
        \psTree{\Tcircle{B}} 
            \pstree{\Tcircle{A}}{\Tcircle{C}}
            \pstree{\Tcircle{C}}{\Tcircle{A}}
        \endpsTree
        \psTree{\Tcircle{C}} 
            \pstree{\Tcircle{A}}{\Tcircle{B}}
            \pstree{\Tcircle{B}}{\Tcircle{A}}
        \endpsTree
    \endpsTree
}

\begin{document}
\psTree[thislevelsep=0]{\Tn}
    % commenting one of the following will fix the problem, but why?
    \ABCD
    \BACD
    \CABD
    \DABC
\endpsTree
\end{document}

在此处输入图片描述

为什么添加一棵子树会导致输出被裁剪?

我的批处理文件

rem LatexDviPsPdf.bat

echo off

rem %1 TeX input filename without extension

if exist "%~1.pdf" del "%~1.pdf"

if exist "%~1.tex" latex -shell-escape "%~1.tex"

if exist "%~1.dvi" dvips -t unknown "%~1.dvi"

if exist "%~1.ps" gswin64c -r10000 -dCompatibilityLevel=1.5 -dAutoRotatePages=/None -sDEVICE=pdfwrite -o "%~1.pdf" "%~1.ps"

for %%x in (aux dvi log out ps toc nav snm) do (if exist "%~1.%%x" del "%~1.%%x")

答案1

不是使用该选项。使用您的电话-r10000时我可以重现该问题。gs

相关内容