I have a column vector multiplies by a row vector. I want to align the row vector with the first entry of the column vector.

I would appreciate any feedback.

  • 2
    It is highly appreciated that if you could come up with a minimum example showing where you got stuck. Oh, welcome to TeX.SX.
    – Jesse
    Commented Apr 8, 2016 at 2:52

3 Answers 3


This should work for simple vectors, but you may need \vphantom instead of \mathstrut for larger entries.



outer product

  • 1
    If you click the check mark, it will remove this question from the unanswered list. Commented Apr 8, 2016 at 15:22

For example like this:

  \vtop{\kern-\ht\strutbox\hbox{$\pmatrix{a\cr b\cr c}$}} \pmatrix{d & e & f}

I'm not sure it's a good idea, but here it is:



\begin{topbmatrix}{c} a\\b\\c \end{topbmatrix}
\begin{topbmatrix}{*{3}{c}} d&e&f \end{topbmatrix}


enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .