I've been using minipage for text and images in Beamer successfully. But I just came to writing notes to go with the presentation as an article and found that the same code didn't work.
I'm trying to put a table on the left hand side of the page and itemized text on the right.
The text keeps ending up below the table though. Can anyone tell me where I am going wrong?
Thanks...
Code: Select all
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\usepackage[margin=1in]{geometry}
\usepackage{wrapfig}
\begin{document}
Lots of Text
\clearpage
\maketitle
\section{Functional Groups}
\begin{table}[h!]
\begin{minipage}[b]{0.48\linewidth}
\begin{tabular}{| c | c |}
\hline
\textbf{Functional Group} & \textbf{Compound Class \& Example} \\ \hline
Hydroxyl & Alcohols \\
\includegraphics[scale=0.4]{Hydroxyl_Group.png} & \includegraphics[scale=0.18]{Ethanol.png} \\
& Ethanol \\ \hline
Aldehyde & Adehydes \\
\includegraphics[scale=0.3]{Aldehyde_Group.png}
& \includegraphics[scale=0.4]{Acetaldehyde.png}
\\
& Acetaldehyde \\ \hline
\end{tabular}
\end{minipage}
\end{table}
\begin{minipage}[b]{0.48\linewidth}
\begin{itemize}
\item{Polar}
\item{Forms H-bonds with water to help dissolve molecules}
\item{Enable molecules to bond by dehydration synthesis}
\end{itemize}
\begin{itemize}
\item{C=O very reactive.}
\item{Important in building molecules.}
\item{Important in energy releasing reactions.}
\end{itemize}
\end{minipage}
\end{document}