2

I want to write a matrix but instead of brackets, I want it to be a norm. How do I do this? So instead of [] in a normal matrix, I want || ||.

4
  • 1
    \left\|\begin{matrix}...\end{matrix}\right\| Commented May 3, 2017 at 21:34
  • "[] in a normal matrix" How are you doing that? There's several ways.
    – Teepeemm
    Commented May 3, 2017 at 21:34
  • @David Carlisle thanks that worked sorry I didnt think it was so simply Commented May 3, 2017 at 21:41
  • 3
    You have the Vmatrix environment!
    – Bernard
    Commented May 3, 2017 at 21:46

1 Answer 1

3

You can choose among many different matrix enviornments in LaTeX. Here are your choices:

\documentclass{article}
\usepackage{amsmath}
\usepackage{multicol}
\begin{document}
\centering
\begin{multicols}{3}
  matrix  $\begin{matrix}  a & b \\ c & d \\ \end{matrix}$

  pmatrix $\begin{pmatrix} a & b \\ c & d \\ \end{pmatrix}$

  bmatrix $\begin{bmatrix} a & b \\ c & d \\ \end{bmatrix}$

  Bmatrix $\begin{Bmatrix} a & b \\ c & d \\ \end{Bmatrix}$

  vmatrix $\begin{vmatrix} a & b \\ c & d \\ \end{vmatrix}$

  Vmatrix $\begin{Vmatrix} a & b \\ c & d \\ \end{Vmatrix}$
\end{multicols}
\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 .