Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

combination/matrix in latex

I am trying the write something below in latex and what I am trying seems not working well.

\documentclass[10pt,english,8pt]{beamer}
\usepackage{amsmath}
\begin{document}

\begin{frame}

\begin{itemize}
    \item Observation equation: 
    
 $\begin{pmatrix}
    PD_{s,t}\\ 
    RR_{s,t} 
\end{pmatrix} = \binom(\gamma_{1}\gamma_{2}) = bla
    
    
\end{itemize}

\end{frame}
\end{document}

enter image description here

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

The syntax \binom(...) is wrong. \binom is a macro with two mandatory arguments, so you need to write \binom{...}{...}.

Some other comments:

  • the closing $ is missing

  • personally I would use the pmatrix in both cases to get a more uniform result

  • combining the 10pt and 8pt class options makes not much sense, they are mutually exclusive. Decide which of the two options you want and then use only this option, not both


\documentclass[english,8pt]{beamer}
\usepackage{amsmath}
\begin{document}

\begin{frame}

\begin{itemize}
    \item Observation equation: 
    
 $\begin{pmatrix}
    PD_{s,t}\\ 
    RR_{s,t} 
\end{pmatrix} = \binom{\gamma_{1}}{\gamma_{2}} = bla
$
    
    
\end{itemize}

\end{frame}
\end{document}

enter image description here

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading