
Estou tentando colocar várias caixas em um slide com tikz. Se o slide contiver apenas uma caixa, tudo parece estar bem, mas assim que coloco outra caixa, isso muda um pouco a posição da primeira caixa. Todo o posicionamento precisa ser absoluto. Existe alguma chance de fazer isso funcionar?
\documentclass[fleqn]{beamer}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[sumlimits,intlimits]{mathtools}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsthm}
\usepackage{tikz}
\usepackage{enumitem}
%\usepackage[absolute,overlay]{textpos}
\theoremstyle{definition}
\newtheorem*{ddef}{Def.}
\theoremstyle{plain}
\newtheorem*{ther}{Th.}
\theoremstyle{remark}
\newtheorem*{obs}{Observation}
\theoremstyle{definition}
\newtheorem{ex}{Ex.}
\def\d{{\rm d}}
\def\inf{\infty}
\newcommand{\iu}{{i\mkern1mu}}
\setbeamersize{text margin left=0.2cm,text margin right=0.2cm}
\tikzset{
every overlay node/.style={
draw=black,fill=white,rounded corners,anchor=north east,
},
}
\setitemize{label=\usebeamerfont*{itemize item}%
\usebeamercolor[fg]{itemize item}
\usebeamertemplate{itemize item}}
\setlength{\mathindent}{10pt}
% Usage:
% \tikzoverlay at (-1cm,-5cm) {content};
% or
% \tikzoverlay[text width=5cm] at (-1cm,-5cm) {content};
\def\tikzoverlay{%
\tikz[overlay]\node[every overlay node]
}%
\begin{document}
\begin{frame}{Examples}
{\footnotesize
\tikzoverlay[text width=5.3cm] at ([xshift=-0.4cm,yshift=-0.3cm] current page.north east) {
{
\tiny
\begin{itemize}[leftmargin=5mm]
\item $J^\alpha f(t) = \frac{1}{\Gamma(\alpha)}\int_0^t \left( t-u \right)^{\alpha-1}f(u)\,\d u$
\item $D_R^\alpha f(t) = \frac{1}{\Gamma(n-\alpha)}\frac{\d^n}{\d t^n} \int_0^t (t-u)^{n-\alpha-1}f(u)\,\d u$
\item $D_C^\alpha f(t) = \frac{1}{\Gamma(n-\alpha)} \int_0^t (t-u)^{n-\alpha-1} f^{(n)}(u)\,\d u$
\end{itemize}
}
};
\tikzoverlay[text width=4.3cm] at ([xshift=-0.4cm,yshift=-0.3cm] current page.north east) {
{
\tiny
\begin{obs}
$D_R^\alpha t^{\alpha-1}= 0$. Also note, if $\beta\le n-1$, $D_C^\alpha t^\beta \equiv 0$ which is not true about $D_R^\alpha t^\beta$!
\end{obs}
}
};
\end{frame}
\end{document}
Outro problema que estou tendo é que o posicionamento absoluto que estou usando não funciona quando uso o encolhimento no quadro. Existe alguma maneira de realmente fazer posicionamento absoluto no beamer com tikz? (aliás, funciona com redução com textpos, mas textpos, mas textpos parece muito complicado de trabalhar (caixas arredondadas, etc.).