So far everything I found on the matter of borders only applies to the text mode.
I want to be able to do something like
$x_i = y$
so the result will be like the ordinary "xi = z" formula with the border around "i"?
The common answers seems to be the fbox or boxed commands. Yet they render their argument in the standart mode, unless specified to do otherwise with the specific mode. For example, the following code
\[ x_i, \boxed{x}_i, x_{\boxed{i}}, \boxed{x}_{\boxed{i}} \]
produces two normal xi figures, and another two with an oversized i
.
$$...$$
is de facto standard in Russia; I only recently learned of\[...\]
, and the old habits die hard.