[XeTeX] Cutting a character

Axel Freyn axel.freyn at grenoble.cnrs.fr
Sat Apr 10 20:08:54 CEST 2010


Hi Mehdi,
On Sat, Apr 10, 2010 at 10:26:23PM +0430, Mehdi Omidali wrote:
> Hi all,
> Is it possible to construct a box that contains a fraction (say half) of  
> a character (horizontal half) of a font.
I would try something like

\newlength{\WidthOfA}		% Create the new length "WidthOfA"
\settowidth{\WidthOfA}{A}	% Initialize it to the width of the letter A
\hspace{0.5\WidthOfA}		% Create a horizontal space with 0.5 times that length


Axel


More information about the XeTeX mailing list