I need to do this:
Apologies for the non-digital reference. :)
My attempt with pst-asr is the following. I can't figure out what it wrong with it. Can someone help?
% !TEX TS-program = latex
\documentclass[12pt]{article}
\usepackage{pst-node,pst-asr,graphicx}
\newpsstyle{bigsyls}{extragap=.6ex,unitxgap=true,xgap=3.5ex,ts=0p ($\times$),sy=5.5ex ($\sigma$) .7ex,ph=-4.5ex (pf)}
\newpsstyle{dashed}{linestyle=dashed,dash=3pt 2pt}
\newpsstyle{crossing}{xed=true,xedtype=\xedcirc,style=dashed}
\newpsstyle{dotted}{linestyle=dotted,linewidth=1.2pt,dotsep=1.6pt}
\def\feat#1{$\rm [#1]$}
\def\crossing{\pscircle[linestyle=solid,linewidth=.5pt](0,0){.7ex}}%
\newdimen\dimpuba
\newdimen\dimpubb
\def\TO{\quad$\rightarrow$\quad}
\tiershortcuts
\begin{document}
\newtier{dorsal, high, back, low}
\psset{xgap=1.5in, yunit=3em, ts=0 (Pg), sy=1 ((),
dorsal=-1 (Dg), high=-2 ([), back=-2.6 ([),
low=-3.2 ([), sysym=\feat{-cons}, tssym=Place}
\DefList{\dorsalA{0}, \dorsalB{1}, \highoffsetA{-.3}, \highoffsetB{.8},%
\lowoffsetA{0}, \lowoffsetB{1}, \backoffsetA{.3}, \backoffsetB{1.3} }
\asr \X \X |
\@(\dorsalA,dorsal){Dorsal}
\-(0,ts)
\@(\dorsalB,dorsal){Dorsal}
\-(1,ts)
\@[\highoffsetA](\dorsalA,high){\feat{$\alpha$high}}
\-(\dorsalA,dorsal)
\-[xed=true](\dorsalA,dorsal)
\@[\lowoffsetA](\dorsalA,low){\feat{$\beta$low}}
\-(\dorsalA,dorsal)
\-[xed=true](\dorsalA,dorsal)
\@[\backoffsetA](\dorsalA,back){\feat{$\gamma$back}}
\-(\dorsalA, dorsal)
\-[style=dotted](\dorsalB, dorsal)
\@[\highoffsetB](\dorsalB,high){\feat{-$\alpha$high}}
\-(\dorsalB,dorsal)
\-[style=dotted](\dorsalA,dorsal)
\@[\lowoffsetB](\dorsalB,low){\feat{-$\beta$low}}
\-(\dorsalB, dorsal)
\-[style=dotted](\dorsalA,dorsal)
\@[\backoffsetB](\dorsalB,back){\feat{-$\gamma$back}}
\-(\dorsalB, dorsal)
\-[xed=true](\dorsalB,dorsal)
\endasr
\end{document}




pst-asrrequires compilation withlatex+dvipsnotpdflatexbut your first line is telling it to use the latter. – Alan Munn Nov 01 '16 at 21:18% !TEX TS-program = pdflatexto% !TEX TS-program = latex. – Alan Munn Nov 01 '16 at 21:46\feat.\feat{$\alpha$high}expands to$\rm [$\alpha$high]$, where \alpha is typeset outside of math mode. This results in the messageMissing $ inserted. Define\featsimply as\def\feat#1{[#1]}, or better as\newcommand\feat[1]{[#1]}. Then LaTeX can process a few lines more, but then another error occurs. – gernot Nov 02 '16 at 00:26$from inside the argument. This ensures that the-and+(which will also typically be present) are set in math mode. Of course you could also do\feat{$-$voice}as well, but for input simplicity it makes sense in this case to leave math mode in the macro definition. – Alan Munn Nov 02 '16 at 00:44