[XeTeX] controlling space above an inline table

Vafa Khalighi vafa at users.berlios.de
Sun Sep 13 02:45:30 CEST 2009


Hi  Michiel*

*By looking at your PDF, I think that you want to write some words in the
top of another word, right?

Well, I would suggest an alternative approach. You could redefine \stackrel
macro so that you can use it in texts as well:

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\makeatletter
\let\origin at stackrel\stackrel
\def\stackrel#1#2{%
  \relax
  \ifmmode\origin at stackrel{#1}{#2}%
  \else $\origin at stackrel{\hbox{#2}}{\hbox{#1}}\m at th$\relax\fi}
\makeatother
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

So now if I want  "one" to be on top of "two", I can write
\stackrel{two}{one}.

This will produce what you want, I think.

-- 
Vafa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20090913/0b269905/attachment.html>


More information about the XeTeX mailing list