Text Formattingcolumn width using tabular

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
coachbennett1981
Posts: 274
Joined: Fri Feb 05, 2010 10:15 pm

column width using tabular

Post by coachbennett1981 »

I am trying to figure out how to have more column space for table (width). My fractions are overlapping. Here is the code. Thank you for you input..

Code: Select all

\documentclass{exam}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{multicol}

\begin{document}

\begin{center}
	\section*{Common Radian and Angle measures}
		
\begin{table}
\begin{tabular}[h]{|p{3cm}||p{3cm}||p{3cm}|}
			\hline
\textbf{Terminal Side}&\textbf{Radian Measure of an Angle}&\textbf{Degree Measure of an Angle} \\ \hline
$\dfrac{1}{12}$ revolution&$\dfrac{1}{12}\cdot 2\pi=\dfrac{\pi}{6}$&$\dfrac{1}{12}\cdot 360^{\circ}=30^{\circ}$ \\ \hline
				$\dfrac{1}{8}$ revolution&$\dfrac{1}{7}\cdot 2\pi=\dfrac{\pi}{6}$&$\dfrac{1}{12}\cdot 360^{\circ}=30^{\circ}$ \\ \hline
				$\dfrac{1}{6}$ revolution&$\dfrac{1}{6}\cdot 2\pi=\dfrac{\pi}{6}$&$\dfrac{1}{12}\cdot 360^{\circ}=30^{\circ}$ \\ \hline
				$\dfrac{1}{4}$ revolution&$\dfrac{1}{4}\cdot 2\pi=\dfrac{\pi}{6}$&$\dfrac{1}{12}\cdot 360^{\circ}=30^{\circ}$ \\ \hline
				$\dfrac{1}{3}$ revolution&$\dfrac{1}{3}\cdot 2\pi=\dfrac{\pi}{6}$&$\dfrac{1}{12}\cdot 360^{\circ}=30^{\circ}$ \\ \hline
				$\dfrac{1}{2}$ revolution&$\dfrac{1}{2}\cdot 2\pi=\dfrac{\pi}{6}$&$\dfrac{1}{12}\cdot 360^{\circ}=30^{\circ}$ \\ \hline
				$\dfrac{2}{3}$ revolution&$\dfrac{2}{3}\cdot 2\pi=\dfrac{\pi}{6}$&$\dfrac{1}{12}\cdot 360^{\circ}=30^{\circ}$ \\ \hline
				$\dfrac{3}{4}$ revolution&$\dfrac{3}{4}\cdot 2\pi=\dfrac{\pi}{6}$&$\dfrac{1}{12}\cdot 360^{\circ}=30^{\circ}$ \\ \hline
$\dfrac{7}{8}$ revolution&$\dfrac{7}{8}\cdot 2\pi=\dfrac{\pi}{6}$&$\dfrac{1}{12}\cdot 360^{\circ}=30^{\circ}$ \\ \hline
1 revolution&$1\cdot 2\pi=2\pi$&$1\cdot 360^{\circ}=360^{\circ}$ \\ \hline


\end{tabular}
\end{table}
\end{center}

\end{document}


Nick
Last edited by coachbennett1981 on Tue Jan 25, 2011 5:35 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.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

column width using tabular

Post by frabjous »

You could put in something like

Code: Select all

\renewcommand{\arraystretch}{2.7}
right after \begin{table}; increase or decrease the number until you like the result.

I am a bit puzzled as to why you're having this problem to begin with. Looks like a bug with \dfrac to me.
coachbennett1981
Posts: 274
Joined: Fri Feb 05, 2010 10:15 pm

Re: column width using tabular

Post by coachbennett1981 »

Thank you. That worked perfectly.


Nick
Post Reply