作者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