Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I've created a simple attribute-value matrix using a custom style file avm.sty which is explained here. However, it is so narrow that the right bracket overlaps with the text.

\documentclass{article}
\usepackage{avm}
\begin{document}
        \begin{avm} 
    @{0} [ \asort{walk} 
           agent @{1}\\
           path @{2}\\ 
              ] 
        \end{avm}
\end{document}

enter image description here

share|improve this question
2  
where does this avm environment come from? –  percusse Jun 20 at 14:13
    
from the avm.sty package –  LeaRebecca Jun 20 at 14:23
1  
@Sigur: Thanks, I already managed to find out! –  Christian Hupfer Jun 20 at 14:38
1  
Welcome to TeX.SX! –  Andrew Swann Jun 20 at 14:40
1  
@LeaRebecca, your code with that style file does not work here. –  Sigur Jun 20 at 14:42

1 Answer 1

up vote 5 down vote accepted

You are missing some &s to separate the columns. Also you example is missing the \avmoptions{active} for the short input notation:

Sample output

\documentclass{article}

\usepackage{avm}
\avmoptions{active}

\begin{document}

\begin{avm} 
  @{0}
  [ \asort{walk}
    agent & @{1}\\
    path & @{2}\\ 
    ]
\end{avm}

\end{document}

See the accompanying avm-doc.pdf file in the zip file at http://nlp.stanford.edu/manning/tex/ for further examples.

share|improve this answer
    
yay 10 seconds too late :P –  percusse Jun 20 at 15:01

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.