This happens in the beamer
class only. Does anyone know the reason behind this? I fix it by just setting both widths to 0.49\textwidth
and this works but I'm still curious why this happens and if I maybe do something wrong.
MWE here:
% !TEX TS-program = pdflatex
% !TEX encoding = UTF-8 Unicode
\documentclass{beamer}
\usetheme{Warsaw}
\begin{document}
\begin{frame}
\begin{minipage}{0.50\textwidth}
asdfasdf
\end{minipage}
\begin{minipage}{0.50\textwidth}
asdfasdf
\end{minipage}
\end{frame}
\end{document}
columns
environment that allows to place things next to each other. It might be a cleaner solution for you (see beamer documentation for details).