Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

So I am using PSTricks PSTree package to build a tree using TCircle ... now I want to bold out some branches by making the lines of the circle and the connecting lines thicker ... can I do this somehow?

share|improve this question

1 Answer 1

up vote 1 down vote accepted
\documentclass{article}
\pagestyle{empty}
\usepackage{pst-tree}
\def\thickline#1#2{\ncline[linewidth=3pt]{#1}{#2}}
\newpsstyle{thick}{edge=\thickline,linewidth=3pt}
\begin{document}
\pstree{\Toval{root}}{%
  \Tcircle[linewidth=3pt]{A}
  \Tcircle{B}}
\quad
\pstree{\Toval{root}}{%
  \Tcircle[style=thick]{A}
  \Tcircle{B}}

\pstree{\Toval{root}}{%
  \Tcircle{A}
  \Tcircle{B}}
\quad
\pstree[linewidth=3pt]{\Toval{root}}{%
  \Tcircle{A}
  \Tcircle{B}}
\end{document}

enter image description here

share|improve this answer
    
This is exactly it. Thank you. –  Icoo Apr 6 '11 at 16:22

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.