[XeTeX] XeTeX documentation? (from "Checking if a font exists")

Heiko Oberdiek heiko.oberdiek at googlemail.com
Wed Sep 1 11:04:30 CEST 2010


On Wed, Sep 01, 2010 at 09:54:21AM +0200, Heiko Oberdiek wrote:

> \XeTeXpdffile <filename> [page <int>] [crop|media|bleed|trim|art]
>   [scaled <int>|xscaled <int>|yscaled <int>
>   |width <dimen>|height <dimen>
>   |rotated <decimal>]*
> 
> The first two options are specific for PDF files (\XeTeXpdffile),
> thus the syntax of \XeTeXpicfile is
> 
> \XeTeXpicfile <filename>
>   [scaled <int>|xscaled <int>|yscaled <int>
>   |width <dimen>|height <dimen>
>   |rotated <decimal>]*
> 
> <filename> is the usual file name argument of \input, \openin, ...
> It must not terminated by \relax if options are given.
> <int> and <dimen> are the usual integer or dimen specifications
> of vanilla TeX. However <decimal> is introduced by XeTeX and
> needs more investigating.

See "The TeXbook", chapter 24 "Summary of Vertical Mode".
Additional syntax rules:

<decimal> -> <optional signs><unsigned decimal>
<unsigned decimal> -> <normal decimal> | <coerced dimen> | <internal dimen>
<normal decimal> -> <normal integer> | <decimal constant>

A <coerced dimen> or <internal dimen> is interpreted as number with
unit "pt". Example:
  \dimendef\testdim=0 ... rotated \testdim
  * \testdim=45pt  => 45
  * \testdim=1in   => 72.27
  * \testdim=100sp => 100/65536

In all cases the resulting decimal number x for rotation must be
within limits:
  -16384 < x < 16384

The rotation is specified in degree (360 is full circle)
and the rotation is counterclockwise as usual.

Yours sincerely
  Heiko Oberdiek


More information about the XeTeX mailing list