Code: Select all
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{mathtools}
\usepackage[itGreek,upgreek]{pxgreeks} % Upright lower (for vector notation) and slanted upper greeks
% New commands
\newcommand{\bbeta}[1]{\boldsymbol\beta_{\scriptscriptstyle #1}}
\newcommand{\undset}[2]{\underset{\scriptscriptstyle #1}{#2}}
\newcommand{\by}[1]{\mathbf y_{\scriptscriptstyle #1}}
\newcommand{\bx}[1]{\mathbf x_{\scriptscriptstyle #1}}
\newcommand{\bF}{\mathbf F}
\begin{document}
\begin{equation}
\begin{array}{ccl}
\undset{n\times1}{\by{t}} & = & \undset{k \times k}{\bx{t}} \, \undset{k \times 1}{\bbeta{t}} \\[10pt]
\undset{k\times1}{\bbeta{t+1}} & = & \undset{k\times k}{\bF(\bx{t})} \, \undset{k \times 1}{\bbeta{t}}
\end{array}
\end{equation}
\end{document}
- position the undersets at the same height?
- position the subscripts at the same height?
- is there a better way to define the size of the subscript to be by default
\scriptscriptstyle
Thanks in advance,
Best
Oleg