\documentclass[a4paper]{article}
\usepackage{lmodern}
\usepackage{amssymb,amsmath}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{hyperref}
\usepackage{qtree}

\begin{document}
\thispagestyle{empty}

\Tree [.S [.NP LaTeX ] [.VP [.V is ] [.NP fun ] ] ]

\end{document}