Graphics, Figures & TablesVertical Space between Table Rows

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
coachbennett1981
Posts: 274
Joined: Fri Feb 05, 2010 10:15 pm

Vertical Space between Table Rows

Post by coachbennett1981 »

I am trying to get some space between my fractions in the following table. The radical sign is just a bit to high. As you see I tried using vspace, but I that is not doing it. Does anyone have any tricks/suggestions.

Code: Select all

\documentclass[12pt]{article}
\usepackage{amsmath,amssymb,amsfonts}
\begin{document}
\begin{tabular}[h]{|p{2cm}|c|c|}	
		\hline
		&$\cos \theta$& $\sin \theta$ \\ \hline
		$0^{\circ}$&1&1 \\ \hline
		$30^{\circ}$&$\dfrac{\sqrt{3}}{2}$&$\dfrac{1}{2}$ \\ \hline
		\vspace{.25in}
		$45^{\circ}$&$\dfrac{\sqrt{2}}{2}$&$\dfrac{\sqrt{2}}{2}$ \\ \hline
		\vspace{.25in}	
		$60^{\circ}$&$\dfrac{1}{2}$&$\dfrac{\sqrt{3}}{2}$ \\ \hline
		\vspace{.25in}
		$90^{\circ}$&0&1\\ \hline
	\end{tabular}
\end{document}

Thank you for your time

Nick
Last edited by coachbennett1981 on Wed Jun 16, 2010 12:54 pm, edited 1 time in total.

Recommended reading 2024:

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

NEW: TikZ book now 40% off at Amazon.com for a short time.

meho_r
Posts: 823
Joined: Tue Aug 07, 2007 5:28 pm

Vertical Space between Table Rows

Post by meho_r »

Remove \vspace and try redefining \arraystretch, e.g.:

Code: Select all

\renewcommand{\arraystretch}{1.8}
coachbennett1981
Posts: 274
Joined: Fri Feb 05, 2010 10:15 pm

Re: Vertical Space between Table Rows

Post by coachbennett1981 »

Thank you.. That is exactly what I was looking for!
Post Reply