Is there a way to set the width of a wraptable to the width of the tabular that it is containing rather than setting a specified width?
\begin{wraptable}{r}{8cm}
\begin{tabular}{lcc}
\toprule
& Fibonacci Heap & Binary Heap \\ \midrule
\texttt{insert} & \bigO{1} (amortized) & \bigO{\log{n}} \\ \midrule
\texttt{decreaseKey} & \bigO{1} (amortized) & \bigO{n} \\ \midrule
\texttt{deleteMin} & \bigO{1} (amortized) & \bigO{\log{n}} \\ \bottomrule
\end{tabular}
\caption{The runtime efficiency of different Priority Queues}\label{tabular:priorityQueuesRuntime}
\end{wraptable}
Thanks for any help!
PS: don't think about the runtimes of the algorithms (if you can relate to them), they're wrong!
\vspace{-\baselineskip}that aligned the wraptable with the first line of text. Is there any way around that? – Druid Raves - V Feb 10 '18 at 19:29wrapfigadds a gap of\intextsepat the top and bottom (check the manual). I'm not sure what exactly you're looking for, maybe you open up a new question. – Arash Esbati Feb 10 '18 at 21:03