作者theAPPLE (Dr. Away)
看板LaTeX
标题Re: [问题] 树状图的multiline
时间Mon Feb 7 08:32:25 2011
我来自问自答 Orz
所以把最後一行改成
※ 引述《theAPPLE (Dr. Away)》之铭言:
: 我目前是用PSTricks画树状图
: 比如说家族树中,其中一个子孙的名字很长,我想把它分成两行写
: 请问要怎麽做呢?
\usepackage{pstricks,pst-node,pst-tree}
\pstree[treemode=R,levelsep=15ex,edge=\nccurve,angleB=180]{\Tcircle{R} }{
\Tcircle{D1}
\pstree{ \Tcircle{D2}\ncput{subj} }{
\Tcircle{D2.1}\tlput{head}
\Tcircle{D2.2}\trput{dep}
}
\Tcircle{D3}
\Toval{ \begin{tabular}{c}This is a line\\ another line\end{tabular}}
}
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 77.185.235.149