TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to draw trees in my document. After downloading the qtree.sty file and place it input the working folder, but when I add this: \usepackage{qtree}, LaTeX still complaint:

! LaTeX Error: File `pict2e.sty' not found.

But I do not know where to find pict2e.sty and how to install it.

Is there a better way to install qtree, instead of downloading the file manually? (I am using Ubuntu)

EDIT I have done this job by searching the package of qtree in synaptic package manager.

share|improve this question

closed as too localized by egreg, Torbjørn T., Martin Schröder, cmhughes, Kurt Jan 5 '13 at 22:29

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

pict2eis part of pgf. Using Ubuntu I guess you use TeX Live. I fear you installed with apt-get and do not have the package manager, what would make it very simple for you to install mising packages from CTAN. Take a look on How to install “vanilla” TeXLive on Debian or Ubuntu? an also TeX Live 2011 vs Ubuntu TeX Live. (I am a MiKTeX user, so cannot specifically help.) – Speravir Nov 17 '12 at 3:25
@Speravir looks great to me (as an Ubuntu user), particularly the vanilla link :) – cmhughes Nov 17 '12 at 4:24
See also tex.stackexchange.com/q/73016/86 – Loop Space Nov 17 '12 at 6:37
pict2e is not in fact part of pgf : /usr/local/texlive/2012/texmf-dist/tex/latex/pict2e/pict2e.sty. But independent of this, I would recommend you use tikz-qtree instead of qtree. – Alan Munn Nov 17 '12 at 16:14
have you followed the instructions in the links from the first comment? please confirm :) – cmhughes Dec 1 '12 at 21:46

Browse other questions tagged or ask your own question.