0

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 || ||.

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.