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 need to have 2 square bracket matrix on the same equation line. I'm able to do just for a single square bracket matrix (for \xi) with below

 \xi = \left[ \begin{array}{c}
    \xi^1  \\
    \vdots \\
    \xi^L    
       \end{array} \right] 

enter image description here

Anyone can give me a hint how to add the second square bracket matrix (for x)?

share|improve this question
add comment

2 Answers

up vote 6 down vote accepted

it is very recommended to use amsmath whenever one wants to typeset mathematics

\documentclass{minimal}
\usepackage{amsmath}
\begin{document}
\begin{equation}
 \xi = \begin{bmatrix}
       \xi^1  \\
       \vdots \\
       \xi^L
     \end{bmatrix}
\qquad 
\mathbf{x} = \begin{bmatrix}
    x^1  \\
    \vdots \\
    x^L    
     \end{bmatrix}
\end{equation}
\end{document}
share|improve this answer
add comment
\documentclass{article}

\begin{document}

\begin{equation}
 \xi = \left[ \begin{array}{c}
    \xi^1  \\
    \vdots \\
    \xi^L    
       \end{array} \right]; 
\qquad
\mathbf{x} = \left[ \begin{array}{c}
    x^1  \\
    \vdots \\
    x^L    
       \end{array} \right] 
\end{equation}

\end{document}
share|improve this answer
add comment

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.