for my project I'm using a special notation for some layout items. For example, to display the connections of an item A I write:
$$\prescript{t}{l}{A}^b_r$$
However, while left (l) and right (r) are on the left and right of A the top (t) and bottom (b) are both upper indices.
What I'm looking for is a way to display all indices at intuitive positions, i.e. l is left beside A, t is centred on the top, r is right beside A and b is centred below A.
The attachment shows what I got at the moment (top) and what I want to have (below).