0

How to input the code in beamer to get the two column vectors as in the screenshotenter image description here

1
\documentclass{article}
\usepackage{mathtools}

\begin{document}
\[
\begin{Bmatrix}
\begin{pmatrix*}[r]
1\\ 0\\ -1
\end{pmatrix*},\begin{pmatrix*}[r]
1\\ 0\\ -1
\end{pmatrix*}
\end{Bmatrix}.
\]
\end{document}

enter image description here

Edit: Above solution works at any document class. For example, at beamer:

\documentclass{beamer}
\usepackage{mathtools}

\begin{document}
\begin{frame}
\frametitle{Two column vectors presented by Beamer}
\[
A=\begin{Bmatrix}
\begin{pmatrix*}[r]
1\\ 0\\ -1
\end{pmatrix*},\begin{pmatrix*}[r]
1\\ 0\\ -1
\end{pmatrix*}
\end{Bmatrix}
\]
\end{frame}
\end{document}

enter image description here

| improve this answer | |
  • This work in any document class. Just replace article with beamer. However, you not provide any your attempt of writing your code ... – Zarko May 29 at 15:37
  • Thanks! I have another question. How to input the code to get the form of $A=some matrix$? – mathbeginner May 29 at 15:55
  • @mathbeginner, as you write in comment. instead of "some matrix" write code of matrix. To make yourself more familiar with writing math in LaTeX, please read some introductory text about this, for example en.wikibooks.org/wiki/LaTeX/Mathematics. – Zarko May 29 at 16:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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