Print

Print


Hello everyone, I am using -p gp.tree.print-style=latex  that I learned from ecj tutorial#4 to print some results into my paper.

After including the packages, a sample result looks like in screenshot, and screenshot2.

The code for screenshot is:

\begin{center}

\begin{minipage}[!ht]{1cm}

\begin{bundle}{\gpbox{L}}\chunk{\begin{bundle}{\gpbox{L}}\chunk{\begin{bundle}{\gpbox{L}}\chunk{\begin{bundle}{\gpbox{P}}\chunk{\gpbox{2}}\chunk{\gpbox{1}}\end{bundle}}\end{bundle}}\end{bundle}}\end{bundle}

\end{minipage}

\end{center}


Obviously there is a huge white space I don't want, so i deleted \begin{center} and \end{center} to see what happens. Then I get screenshot2, which is not an improvement at all.


What is the correct way to print this out? Thanks!