First, how do I left align the equation with the text? I'm using \hspace{} and adjusting it with trial and error. Is there a better approach?
Second, how do I place a box -- preferably red -- around a variable in the equation? For example, in the following equation, how would I place a box around the gamma?
Code: Select all
\documentclass[professionalfont]{beamer}
\mode<presentation>
\usetheme{CambridgeUS}
\useoutertheme{miniframes}
\usepackage{amsfonts}
\beamertemplatenavigationsymbolsempty
\begin{document}
\section{Section 1}
\subsection{}
\frame
{
\frametitle{Slide Title}
\begin{equation*}
\hspace{-3.9cm} y_{icb} = \gamma_c + \mu_b + \eta_{t} + \theta_{s(c)} b + \rho Z_c b + X_{icb}\delta + \varepsilon_{icb}
\end{equation*}
\vspace{0.4cm}
\textbf{Fixed effects:} county ($\gamma_c$), birth cohort ($\mu_b$), year recorded ($\eta_{t}$)
\vspace{0.4cm}
\textbf{Linear time trends:} state ($\theta_{s(c)} b$) and county characteristics ($Z_c b$)
}
\end{document}