9

I'm trying to write an expression in math mode similar to this formula:

enter image description here

My LaTeX expression looks like this:

\min \| \begin{array}{c} ... \end{array} \|

but it happens that the double lines are short:

enter image description here

How can I extend the double vertical bar?

Werner
  • 603,163
lucasn
  • 135

1 Answers1

10

Use the \left ... \right construction. See page 60 and table 3.8 of the Not so short intro. to LaTeX for further details.

\documentclass{article}
\usepackage{amsmath}
\begin{document}
\[
\min \left\| \begin{bmatrix} A\\ \vdots \\ C\end{bmatrix} \right\|
\]
\end{document}

enter image description here

Dror
  • 22,613
percusse
  • 157,807
  • What does one do if one doesn't need the corresponding \left delimiter? LaTeX complains if it is not present. – Abhinav Feb 11 '16 at 21:12
  • What worked for me was to use "\left." on the LHS of the expression and the "\right\rvert" on the RHS. Tony Rollett – Tony Rollett Oct 18 '19 at 13:46