I am currently having the following beamer frame but I would like it to be aligned the table next to the problem.
I would like to have the optimization problem to the left and the table to the right. I am not sure how to float the table to right
The code is here http://pastebin.com/CdZnGBc4
\documentclass[t]{beamer}
\usetheme{Madrid}
\usepackage{graphicx}
\usepackage{tikz}
\usetikzlibrary{positioning}
\usepackage{multirow}
\usepackage{color}
\usepackage{tablefootnote}
\usepackage{amssymb}
\usepackage{array}
\usepackage{arydshln}
\begin{document}
\begin{frame}{}{}
\begin{align*}
\max \quad b^T y \\
A^Ty + s &= c \\
s &\geq 0
\end{align*}
\begin{table}[]
\centering
\begin{tabular}{|c|l:c:l:l:l|l|l|l|l|l|}
\hline
obj & \multicolumn{1}{c:}{$0 \hdots 0$} & \multicolumn{4}{c:}{$-x_B^T$} & \multicolumn{5}{l|}{$0 \hdots 0$} \\ \hline
\multirow{4}{*}{\begin{tabular}[c]{@{}c@{}}\\y\\ \\ \\s\end{tabular}} & \multicolumn{1}{c:}{} & \multicolumn{4}{c:}{} & \multicolumn{5}{l|}{}
\\& \multicolumn{1}{c:}{I} & \multicolumn{4}{c:}{$A_B^-T$} & \multicolumn{5}{l|}{$\quad 0$}\\& \multicolumn{1}{c:}{} & \multicolumn{4}{c:}{} & \multicolumn{5}{l|}{}\\ \hdashline%\cline{2-11}
& \multirow{3}{*}{$\quad 0$} & \multicolumn{4}{c:}{\multirow{3}{*}{$-A_N^TA_B^{-T}$}} & \multicolumn{5}{l|}{\multirow{3}{*}{$\quad I$}} \\
& & \multicolumn{4}{c:}{} & \multicolumn{5}{l|}{} \\
& & \multicolumn{4}{c:}{} & \multicolumn{5}{l|}{} \\ \hline
\end{tabular}
\end{table}
\end{frame}
\end{document}
columns
, see tex.stackexchange.com/questions/228271/…. Can you include a MWE in your question?\documentclass
,\begin{document}
and\end{document}
. See minimal working example (MWE) for the long explanation