[texhax] Putting char on the top other char
uwe.lueck at web.de
Sun Nov 26 19:28:24 CET 2006
At 00:29 24.11.06, wa2n wrote:
>How to put char on the top other char, for example I want write the star
>symbol (*) in the top (n) char than I write \myfont \ni
>The result that I want is the "*" char than stay at the top of (i) char.
look at the suggestions in the following LaTeX code:
% The package
% is needed for the last examples (\Upperaccent) only;
% the first examples use \shortstack from the LaTeX kernel.
% The first example shows that it is not just putting some
% character over another; rather you have to deal with the
% size of the upper character.
% This version of \ni is what I ended with. The next two
% examples demonstrate how to vary my suggestion.
% Note that your suggestion "\ni" for the macro is usually
% the reversed "element of"/"\in" math symbol.
% Therefore the \renewcommand.
% \scriptscriptstyle is to adapt the size of the upper char
% to the surrounding font size.
% This again shows with what I ended with using the
% exaccent package. The last two examples show how
% how to vary it.
-- HTH -- Uwe.
More information about the texhax