0
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{equation} A =  \begin{matrix}\begin{pmatrix}
  A_{00} \\
  A_{01} \\
  A_{10} \\
  A_{11}
\end{pmatrix}\end{matrix} \begin{pmatrix}
  A^*_{00} & A^*_{01} & A^*_{10} & A^*_{11}
\end{pmatrix}
\end{equation}
 \end{document}

I want to align the row matrix near the first row of the column vector. How can I do that?

2
  • please always post a full document that shows the problem. Your fragment starts $\begin{equation} which generates a Tex error Sep 12, 2017 at 13:16
  • Maybe you want that, but your readers will be quite puzzled and probably mistake the row vector for an exponent. The right place for the row vector is level with the equal sign.
    – egreg
    Sep 12, 2017 at 13:40

3 Answers 3

2

I would recommend against doing this: your readers will be quite puzzled and probably mistake the row vector as an exponent to the column vector.

\documentclass{article}
\usepackage{amsmath}
\usepackage{delarray} % for the wrong kind of alignment

\begin{document}
\begin{equation}
A = \begin{pmatrix}
  A_{00} \\
  A_{01} \\
  A_{10} \\
  A_{11}
\end{pmatrix}
\begin{pmatrix}
  A^*_{00} & A^*_{01} & A^*_{10} & A^*_{11}
\end{pmatrix}
\end{equation}

\begin{equation}
A =
\begin{gathered}
\begin{array}[t]({@{}c@{}})
  A_{00} \\
  A_{01} \\
  A_{10} \\
  A_{11}
\end{array}
\begin{array}[t]({@{}cccc@{}})
  A^*_{00} & A^*_{01} & A^*_{10} & A^*_{11}
\end{array}
\end{gathered}
\end{equation}

\end{document}

enter image description here

The typesetting in equation (1) is the standard (and non confusing one).

1

For example:

$$
  A = \pmatrix{A_{00}\cr A_{01}\cr A_{02}\cr A_{03}}
      \matrix{\pmatrix{A^*_{00} & A^*_{01} & A^*_{10} & A^*_{11}}\cr\cr\cr\cr}
  \eqno (1)
$$
4
  • 5
    This code will produce errors if added to the example document in the question. Just a warning for the OP and other readers.
    – egreg
    Sep 12, 2017 at 13:39
  • Of course, the example document itself (without this code) produce errors too. :)
    – wipet
    Sep 12, 2017 at 13:43
  • 1
    This answer was flagged as low-quality because of its length and content. Please make a minimal working example (MWE).
    – dexteritas
    Sep 12, 2017 at 14:09
  • @dexteritas This is minimal working example. Apply TeX at these five lines and write \end or \bye in your terminal.
    – wipet
    Sep 12, 2017 at 16:00
1

Like this?

\documentclass{article}
\usepackage{mathtools}

\begin{document}

\begin{equation}
A =\begin{pmatrix} A_{00} \\ A_{01} \\ A_{10} \\ A_{11} \end{pmatrix} \begin{matrix} \begin{pmatrix}  A_{00}^* & A_{01}^* & A_{10}^* & A_{11}^* \end{pmatrix}\\[2.8ex] \\ \\\end{matrix}
\end{equation}

\end{document} 

enter image description here

You must log in to answer this question.

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