# [XeTeX] Xetex and Komascript Compatibility

Fr. Michael Gilmary FrMichaelGilmary at MaroniteMonks.org
Mon Jun 15 14:58:14 CEST 2009

```teginch at bluewin.ch wrote:

> I have also observed that the
> problem with overfull hboxes seems to be more related to the XeTeX/XeLaTex environment, than to KOMAScript. I have
> tried to play with the textwidth (without loading KOMA stuff) and I have observed that XeLaTex tends to produce
> significantly more overfull hbox warnings than LaTex for the same (french or german) text sample. With XeLaTex, the
> amount of warnings also varies with fonts (Garamond is less sensitive than Minion).
>

This, I think, is the problem, since different fonts have different
metrics, no? So, textwidth1 will work well with FontX but not well with
FontY. Peter Wilson's memman.pdf (ch. 6.4, p. 75) provides assistance in
determining the specifics for individual fonts and 'inching' towards the
ideal textwidth for different fonts and font sizes. It can help even if
you don't want to use memoir.cls.

If there are other ways to approach such an ideal, maybe someone else
can help (I'd be interested, too).

> So finally, I need to do some more reading to better understand Xelatex typesetting mechanism and the parameters I can
> play with. All in all, my impression is that Xelatex typesetting of paragraphs with latin fonts is not yet as robust as
> Latex.

It seems really not this, but the expanded use of different fonts and
metrics which even LaTeX employs with different packages, as Peter
Wilson's \xlvchars, etc tesitifies.

Hope that helps.

--

fr. michael gilmary, mma

Most Holy Trinity Monastery