Document ClassesProblem with "avm" Package in Poster

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
man2011
Posts: 43
Joined: Tue Jan 11, 2011 4:19 am

Problem with "avm" Package in Poster

Post by man2011 »

Dear All,
I have a problem with AVM package in beamer class.... the purpose is to create a poster and I want to do the attribute value matrix... the problem the matrix does not look as the one I want....

any help appreciated..

Code: Select all

\documentclass[final]{beamer}
\usepackage[scale=1.24]{beamerposter}
\usepackage{graphicx}			

\usepackage{psfrag}
\usepackage{color}
\usepackage{pst-grad}
\usepackage{latexsym}
\usepackage{calc} 

\newsavebox{\dummybox}
\newsavebox{\postercolumns}


\newcommand{\bb}[1]{\mathbb{#1}}
\newcommand{\cl}[1]{\mathcal{#1}}
\newcommand{\fA}{\mathfrak{A}}
\newcommand{\fB}{\mathfrak{B}}
\newcommand{\Tr}{{\rm Tr}}
\newtheorem{thm}{Theorem}



%%%%%%%%%%%%the following commands for Atribute Value Matrix LFG
\usepackage{avm}
\avmfont{\sc}
\avmoptions{sorted,active}
\avmvalfont{\rm}
\avmsortfont{\scriptsize\it}
%%%%%%%%%%%%%%%% end of the ATM command


\usepackage{tikz}
\tikzstyle{every picture}+=[remember picture]
\usetikzlibrary{shapes,arrows}
\tikzstyle{decision} = [diamond, draw, text width=4.5em, text badly centered, node distance=3cm, inner sep=0pt]
\tikzstyle{block}=[draw opacity=0.7,line width=1.4cm]
\usetikzlibrary{positioning}



\usepackage{multirow}
\usepackage[safe]{tipa}
\usepackage{t4phonet}
\usepackage{ugarite}
\usepackage{accents}
\usepackage{gb4e}
\usepackage{ugarite}
\usepackage{abbrev}
\usepackage[version=3]{mhchem}
\usepackage{amssymb}
\usepackage{stmaryrd}
\usepackage{pstricks}
\usepackage{color}
\usepackage{agrclassmacros}
\usepackage{mathpartir}
\usepackage{ragged2e}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newlength{\sepwid}
\newlength{\onecolwid}
\newlength{\twocolwid}
\newlength{\threecolwid}
\setlength{\paperwidth}{48in}
\setlength{\paperheight}{36in}
\setlength{\sepwid}{0.024\paperwidth}
\setlength{\onecolwid}{0.22\paperwidth}
\setlength{\twocolwid}{0.464\paperwidth}
\setlength{\threecolwid}{0.708\paperwidth}
\setlength{\topmargin}{-0.5in}
\usetheme{confposter}
\usepackage{exscale}




\setbeamercolor{block title}{fg=ngreen,bg=white}
\setbeamercolor{block body}{fg=black,bg=white}
\setbeamercolor{block alerted title}{fg=white,bg=dblue!70}
\setbeamercolor{block alerted body}{fg=black,bg=dblue!10}


\title{Poster}
\author{XXXXXXX}
\institute{XXXXXXXX}


\begin{document}
\begin{frame}[t]
  \begin{columns}[t]												% the [t] option aligns the column's content at the top
    \begin{column}{\sepwid}\end{column}			% empty spacer column
    \begin{column}{\onecolwid}
      \begin{block}{Introduction}
     
      \end{block}

%%%%%%%%beging of the nect block

      \vskip2ex
      \begin{block}{jjjj}

      \end{block}
      \vskip2ex
      \begin{alertblock}{Note}
      \end{alertblock}
    \end{column}

    \begin{column}{\sepwid}\end{column}			% empty spacer column
    \begin{column}{\threecolwid}					  % create a three-column-wide column and then we will split it up later
      \begin{block}{Discussion}



\begin{avm}
$[${}\{ Conj~ ~AND \\ $f_{2}$[{}  pred  & `play< \textsc{subj}, \textsc{obj}>'     \\
     tense &  \textsc{pres}                \\
     subj  &  $f_{4}$[{} pred & `\textsc{ali}'] \\
    obj  &  [{} pred & `\textsc{football}'] ]\}]
\end{avm}

      \end{block}
      \begin{columns}[t,totalwidth=\threecolwid]	% split up that three-column-wide column
        \begin{column}{\onecolwid}
          \setbeamercolor{block title}{fg=red,bg=white}%frame color
          \setbeamercolor{block body}{fg=black,bg=white}%body color
          \begin{block}{Arguement 1}
           here, you can write something
          \end{block}
        \end{column}
        \begin{column}{\onecolwid}
          \setbeamercolor{block alerted title}{fg=black,bg=norange}	% frame color
          \setbeamercolor{block alerted body}{fg=black,bg=white}		% body color
          \begin{alertblock}{Arguement 2}
            here you write something
          \end{alertblock}        
        \end{column}
        \begin{column}{\onecolwid}
          \begin{block}{References}
            Some references and a graphic to show you how it's done:
		      \end{block}
        \end{column}
      \end{columns}
      \vskip2.5ex
    \end{column}
  \begin{column}{\sepwid}\end{column}			% empty spacer column
 \end{columns}
\end{frame}
\end{document}
and this is the simple attribute value matrix tex sample

Code: Select all

\begin{avm}
$[${}\{ Conj~ ~AND \\ $f_{2}$[{}  pred  & `play< \textsc{subj}, \textsc{obj}>'     \\
     tense &  \textsc{pres}                \\
     subj  &  $f_{4}$[{} pred & `\textsc{ali}'] \\
    obj  &  [{} pred & `\textsc{football}'] ]\}]
\end{avm}
te problem is with this [ bracket. this bracket does not become large to fit the data inside it.. only this bracket { ...

how I can make this bbracket [ to become large in this attribute value matrix...

BTW. this attribue value matrix is working well with a normal tex file with documentclass{article} but with this poster template it does not work well

any help?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Post Reply