I am working on forest, and this is the part of the tree I have built so far:
\documentclass[twoside]{article}
\usepackage{tipa}
\usepackage{setspace}
\usepackage{upgreek}
\usepackage{float}
\usepackage{libertine}
\usepackage[toc,page]{appendix}
\usepackage{mathrsfs}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{booktabs}
\makeatother
\usepackage{tikz}
\usepackage[linguistics]{forest}
\usetikzlibrary{decorations.pathmorphing}
\usepackage{amsmath,textcomp}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\forestset{%
/tikz/squiggly/.style={decorate, decoration={snake, amplitude=.5mm, segment length=2mm}},
wiggly/.style={edge=squiggly},
move me/.style n args=2{%
before drawing tree={%
x+=#1,
y+=#2,
},
},
}
\usepackage[table]{xcolor}
\let\oldemptyset\emptyset
\let\emptyset\varnothing
\usepackage{lscape}
%\include{SpectorMacros}
%\usepackage{pict2e}
%\usepackage{graphics}
\usepackage{qtree}
%\usepackage{pslatex}
\usepackage{natbib}
\usepackage[hang]{footmisc}
\usepackage{ragged2e}
\usepackage{multicol}
\usepackage{amssymb}
\usepackage{tree-dvips}
%\addtolength{\oddsidemargin}{-.25in}
% \addtolength{\evensidemargin}{-.25in}
% \addtolength{\textwidth}{.50in}
%
% \addtolength{\topmargin}{-.25in}
% \addtolength{\textheight}{.5in}
\usepackage{fullpage}
\usepackage{float}
\restylefloat{table}
%\usepackage[margin=1.25 in]{geometry}
\usepackage[normalem]{ulem}
%\usepackage[T1]{fontenc}
%\usepackage{ae,aecompl}
\usepackage{tcolorbox}
\usepackage{tabu}
\usepackage{pifont}
\usepackage{multirow}
\usepackage[shortlabels]{enumitem}
\usepackage{bold-extra}
\usepackage{tabularx}
\begin{forest}
for tree={
minimum height=0.8cm, % Adjust the height as needed
minimum width=2.1cm, % Adjust the width as needed
where n children=0{
wiggly,
tier=terminus
}{align=center},
}
[Agr
[T
[Asp
[Voice
[$v$
[$\sqrt{\text{WRITE}}$
[\textgamma r{a}f]
]
[$v$
[$\emptyset$]
]
]
[Voice\\{[}{\sc nonact}{]}, edge label = {node [midway] }
[$\emptyset$]
]
]
[Aspect\\{[}$-${\sc pfv}{]}
[$\emptyset$]
]
]
[T\\{[}$+${\sc pst}{]}
[$\emptyset$]
]
]
[{Agr\\{[}$+${\sc auth},$+${\sc part},{\sc -pl}{]}}
[omun]
]
]
\end{forest}
I am trying to create this part of the tree you see in the attached picture. What is the way to add the symbols shown in the picture to the edges? Also, what is the way to make the edges appear in different colors?


\documentclass{}etc. and partly it makes it possible to help because people don't have to know where to findwiggly, for example. (Is this in a TikZ library somewhere? One of thedecorationsones?pathmorphing?pathreplacing? Or is it something you've defined and I can only guess?) – cfr Jul 24 '23 at 15:57edge={blue, thick}for a thick, blue edge. See page 45 offorest's manual for examples. Do the symbols on the edges have a semantics you want reflected in the code? (To me, they mean parallel lines, but that's obviously not the case here.) Note that you really should not be using two-letter font macros such as\scin LaTeX. – cfr Jul 24 '23 at 16:03tabupackage is quite outdated. Do you really need it? (But probably unrelated here.) You also load several packages multiple times. It is a good idea to clean up the preamble from time to time ... – Jasper Habicht Jul 25 '23 at 07:03