My code are follows:
\documentclass[10pt]{book}
\usepackage[T1]{fontenc}
\usepackage{newtxmath,newtxtext}
\usepackage{linguex}%
\usepackage{tikz}%
\usetikzlibrary{decorations.text,calc,arrows.meta}%
\usepackage{tikz-qtree}%
\usepackage{adjustbox}
%\usepackage{showframe}
\begin{document}
\ex.
\Tree [.CauseP [.DP \edge[roof]; {`the zog'} ] [ [.{\scshape
cause} ] [ [.{\scshape past} ] [.vP \edge[roof]; {`dissolved the
house'} ]]] ]
Throughout this monograph, I will
focus on the reusable linguistic ingredients of the system and how
they are efficiently deployed in the recursive combinatorics in
building propositions. Reusability (and by extension polysemy)
will be a seen as a design feature of the system rather than a
bug. As a methodological principle, then, I will be guided by the
fact of polysemous items and seek analytic unities to underlie
them.
\ex. \textit{Achievements and accomplishments with result states}\\
%\begin{tikzpicture}[baseline=(current bounding box.north)]
\begin{adjustbox}{max width=0.91\textwidth}
\Tree [.InitP [.{\textsc{initiator}} ] [ [.Init ] [.ProcP
[.{\textsc{undergoer}} ] [ [.Proc ] [.ResP
[.{\textsc{resultee}} ] [ [.Res ] [.XP \edge[roof];
{\sc ground/final state} ] ] ] ] ] ] ]
%\end{tikzpicture}
\end{adjustbox}
\end{document}
and the output came as:
Is this possible to make the diagonal lines to be straight as marked in the below picture?
Diagonal line should be straight in all Trees. Please suggest...
forest
: tex.stackexchange.com/questions/391820/… – Torbjørn T. Dec 13 '17 at 13:20nice empty nodes
and an adjustment to the edge angles is all that's needed for a Forest solution in this case. There is probably a better link, but I've posted an illustration here rather than trying to find it :-). – cfr Dec 13 '17 at 23:43\sc
is deprecated by more than a couple of decades and ought not be used with LaTeX 2e. – cfr Dec 13 '17 at 23:44forest
solution, I think A nice empty node with nice nodes in forest? is appropriate. But since this question is abouttikz-qtree
specifically, I think it's a duplicate of "Kinks" in long tikz-qtree branches. – Alan Munn Dec 14 '17 at 1:12