Math & ScienceHow do I make a big matrix?

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
Yue
Posts: 30
Joined: Sat May 08, 2010 9:58 pm

How do I make a big matrix?

Post by Yue »

To make a matrix, I usually use the command \begin{pmatrix} \end{pmatrix}. However, when the entries of my matrix have a great height, the entries in the matrix are kinda overlapping each other. When I have a 2x2 matrix and my entries are

Code: Select all

c_{\textbf{k}}^\dagger
, this happens.

Is there any way to make a matrix with larger spaces between the rows?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
Stefan Kottwitz
Site Admin
Posts: 10397
Joined: Mon Mar 10, 2008 9:44 pm

How do I make a big matrix?

Post by Stefan Kottwitz »

Hi Yue,

you could redefine \arraystretch, like:

Code: Select all

\renewcommand{\arraystretch}{2}
This would affect all matrices and arrays, but you could define it locally.

Stefan
LaTeX.org admin
Yue
Posts: 30
Joined: Sat May 08, 2010 9:58 pm

How do I make a big matrix?

Post by Yue »

Stefan_K wrote:Hi Yue,

you could redefine \arraystretch, like:

Code: Select all

\renewcommand{\arraystretch}{2}
This would affect all matrices and arrays, but you could define it locally.

Stefan
I used this and now it seems as though the matrix is not quadratic any more. Is there any similar way to increase the column spacing?
User avatar
Stefan Kottwitz
Site Admin
Posts: 10397
Joined: Mon Mar 10, 2008 9:44 pm

How do I make a big matrix?

Post by Stefan Kottwitz »

Hi Yue,

you could try \arraycolsep, like:

Code: Select all

\setlength{\arraycolsep}{10pt}
Stefan
LaTeX.org admin
Yue
Posts: 30
Joined: Sat May 08, 2010 9:58 pm

Re: How do I make a big matrix?

Post by Yue »

Thx alot!
Post Reply