Math & Science ⇒ How to change the linespread space in array environment
-
- Posts: 32
- Joined: Sun Mar 01, 2009 8:29 am
How to change the linespread space in array environment
It is a squeeze in the array. How can I add some space into the lines? I try to add one blank line but then there are too much. Thank you.
- Attachments
-
- problempic2.GIF (4.88 KiB) Viewed 13600 times
NEW: TikZ book now 40% off at Amazon.com for a short time.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
How to change the linespread space in array environment
There's a command that determines the row height in array (and tabular) environment.
In the preamble it has global effect. There are some other solutions which do not rely on the array environment (i. e. cases environment).
Best regards
Thorsten¹
Code: Select all
\renewcommand{\arraystretch}{1.2}
Best regards
Thorsten¹
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
-
- Posts: 32
- Joined: Sun Mar 01, 2009 8:29 am
Re: How to change the linespread space in array environment
It works. Thanks. But how about fine-tuneing the vertical space equation and text? Latex adds spaces between the math equation and the ordinary text which is not appropriate in many case. I try to use vspace(), but it does not work(ie, vspace{-0.5in} will make the text move down!!!!). The behavior of Latex seems weird to me. Appreciate your help.
Re: How to change the linespread space in array environment
I would like you to show us examples of this problem in 'many places', because if that is the case then something is wrong
-
- Posts: 105
- Joined: Fri Nov 30, 2007 11:32 pm
How to change the linespread space in array environment
I had a similar question and gmedina suggested using
\setlength{\abovedisplayskip}{<length>} and
\setlenght{\belowdisplayskip}{<length>}
to change the vertical space above and below the display. I do not know how to link to that thread, but a search for the term abovedisplayskip should bring it up.
\setlength{\abovedisplayskip}{<length>} and
\setlenght{\belowdisplayskip}{<length>}
to change the vertical space above and below the display. I do not know how to link to that thread, but a search for the term abovedisplayskip should bring it up.