\documentclass[12pt]{article}
# layer specific implementations of custom macros
# substitution
\renewcommand{\subst}[2]{\enclose{horizontalstrike}{#1}#2}
# mathematical text inserted above baseline
\renewcommand{\upper}[1]{^{\Large{#1}}}}
# struck text
\renewcommand{\str}[1]{\enclose{horizontalstrike}{#1}}
# mathematical text inserted below baseline
\renewcommand{\below}[1]{_{\Large{#1}}}
\begin{document}
$math with macros$
\end{document}$$
\renewcommand{\upper}[1]{^{\Large{#1}}}
x\upper{y}$$
$$\renewcommand{\upper}[1]{^{\Huge{#1}}}x\upper{y}$$
<div style="visibility: hidden; height: 0px">$$
\renewcommand{\upper}[1]{^{\Large{#1}}}
\renewcommand{\lower}[1]{_{\Large{#1}}}$$</div>
<div style="visibility: hidden; height: 0px">$$\require{begingroup}\newcommand{\upper}[1]{^{\Large{#1}}}\newcommand{\lower}[1]{_{\Large{#1}}}$$</div>... (\upper and \lower use \Large here) ...<div style="visibility: hidden; height: 0px">$$\begingroup\renewcommand{\upper}[1]{^{\Huge{#1}}}\renewcommand{\lower}[1]{_{\Huge{#1}}}$$</div>... (\upper and \lower use \Huge here) ...
<div style="visibility: hidden; height: 0px">
$$\endgroup$$</div>... (\upper and \lower use \Large again) ...
--
You received this message because you are subscribed to the Google Groups "MathJax Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mathjax-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.