In my document, I need some extra space between each row of the array
environment. "\renewcommand{\arraystretch}{1.2}" does the trick, but
it affects all the places. My requirement is, need horizontal space
within the "array" environment only. Kindly suggest me regarding this.
Thanks and Regards
Saravanan,M.
You post is somewhat ambiguous. The arraystretch command changed the
_vertical_ alignment (or stretch, rather) between array/tabular rows,
not the horisontal alignment - for that you need different tricks.
Either way, to limit the vertical alignment from a redefined
arraystretch to a specific array (or region in your text), encompass
it with a \begingroup and \endgroup (or {...} within LaTeX2e).
Consider the following minimal example:
\documentclass{book}
\begin{document}
\[
\begingroup % or replace this with {
\renewcommand{\arraystretch}{1.5}
\begin{array}{|c|c|c|}
\hline
A & B & C \\ \hline
D & e & F \\ \hline
\end{array}
\endgroup % or replace this with }
\]
\[
\begin{array}{|c|c|c|}
\hline
A & B & C \\ \hline
D & e & F \\ \hline
\end{array}
\]
\end{document}
You could also view some of the available options offered by die array
package, available from CTAN at
http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=array
Werner