[XeTeX] Stretching glyphs vertically?

Will Robertson wspr81 at gmail.com
Tue Aug 12 01:45:22 CEST 2008


On 12/08/2008, at 7:41 AM, Robert Baruch wrote:

> I'm trying to duplicate the title page of a book -- I'm using the
> memoir and fontspec packages. The title and author appear to be Times
> New Roman, but stretched about 200% vertically. Does anyone know of a
> way in XeTeX to do that?

There's no way to apply such a transform to the glyphs of the font  
themselves, but you can stretch a box that the title is put in:

\documentclass{article}
\usepackage{graphicx}
\begin{document}
\resizebox{\width}{2\height}{Ugly title}
\end{document}

Hope this helps,
Will
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2415 bytes
Desc: not available
Url : http://tug.org/pipermail/xetex/attachments/20080812/f2d4bc80/attachment-0001.bin 


More information about the XeTeX mailing list