Tag Info

New answers tagged

3

Or maybe is something like this what you want: \documentclass{article} \usepackage{amsmath} \begin{document} \[ D = \begin{pmatrix} a & 0 & 0 \\ 0 & b & 0 \\ 0 & 0 & c \end{pmatrix} \Longrightarrow D^3 = \begin{pmatrix} a^3 & 0 & 0 \\ 0 & b^3 & 0 \\ 0 & 0 & c^3 \end{pmatrix} \] \end{document} Is the same ...


2

Is this what you want? \documentclass{article} \begin{document} \[ D = \left( \begin{array}{ccc} a & 0 & 0 \\ 0 & b & 0 \\ 0 & 0 & c \end{array} \right) \Rightarrow D^3 = \left( \begin{array}{ccc} a^3 & 0 & 0 \\ 0 & b^3 & 0 \\ 0 & 0 & c^3 \end{array} \right) \] \end{document}


4

This is a very dirty trick, but it works. It aligns the matrices' elements rather than the delimiters. \documentclass[11pt,a4paper,oneside]{report} \usepackage[pdftex]{graphicx} \usepackage[T1]{fontenc} \usepackage{fouriernc} \usepackage{mathtools} \usepackage{amsfonts,amsmath,amssymb,amsthm} \usepackage[a4paper, hmargin={3.5cm,3cm}, ...


3

matrix of math nodes implements the following node structure \node (<matrixname>-<row #>-<col#>) {$<contents>$}; Here <contents> is replaced with whatever is found as the matrix entry. When the \nodepart is used, it is still in math mode and it trips up the macro. The correct way should have been \node ...


2

Compare your expression with and without amsmath: \documentclass{article} %\usepackage{amsmath} \begin{document} $u_{L}(k) = \sqrt{E}\begin{pmatrix} 0 \\ 1 \\ 0 \\ -1 \end{pmatrix}$ \end{document}


6

Or with tikz \documentclass{article} \usepackage{amsmath,mathrsfs} \usepackage{tikz} \usetikzlibrary{matrix,positioning,fit} \DeclareMathOperator{\Mat}{Mat} \begin{document} \begin{equation*} \Mat_{\mathscr{B},\mathscr{C}}(f)=\Mat_{\mathscr{C}}\bigl(f(\mathscr{B})\bigr)= \begin{tikzpicture} [baseline=(m.center),every left delimiter/.style={xshift=2ex}, ...


14

You can use blkarray: \documentclass{article} \usepackage{amsmath,blkarray,mathrsfs} \DeclareMathOperator{\Mat}{Mat} \begin{document} \[ \Mat_{\mathscr{B},\mathscr{C}}(f)= \Mat_{\mathscr{C}}(f(\mathscr{B}))= \begin{blockarray}{ccccccl} f(e_1) & f(e_2) & & f(e_j) & & f(e_n) \\ \downarrow & \downarrow & & \downarrow & ...



Top 50 recent answers are included