[XeTeX] fontsize option 12pt in koma-script makes \left(\right) produce wrong lengths with unicode-math

Tobias Schoel liesdiedatei at googlemail.com
Wed Nov 17 07:21:32 CET 2010


yes, I attach two pdfs with and without the 12pt option.

Am 17.11.2010 01:15, schrieb Ross Moore:
> Hi Tobias,
>
> On 17/11/2010, at 9:34 AM, Tobias Schoel wrote:
>
>> Hi,
>>
>> I think the title says it all: Adding the option 12pt to the scrartcl class (koma script) makes \left(\right) don't work properly in display math mode.
>
> Do you get what I see, in the attached image ?
>
>
>
>
>
> The left parenthesis seems to be a tiny bit shorter
> than the right one. And the superscript is not fully
> enclosed, as it is when 10pt is used, or with LuaLaTeX
> as the engine.
>
>>
>> Minimal example:
>>
>> \documentclass[12pt]{scrartcl}
>>
>> \usepackage{fontspec}
>> \usepackage{unicode-math}
>>
>> \setmainfont[Ligatures=TeX]{TeX Gyre Pagella}
>> \setmathfont[Scale=MatchUppercase]{Asana Math}
>>
>> \begin{document}
>>
>> \[\left(\left(\frac{1}{2}\right)^2\right)\]
>>
>> \end{document}
>>
>> Without the 12pt option it works correctly.
>>
>> Why is that and how to help?
>>
>> bye
>
> With \listfiles, I'm using:
>
>   *File List*
> scrartcl.cls    2010/06/17 v3.06 KOMA-Script document class (article)
> scrkbase.sty    2010/06/17 v3.06 KOMA-Script package (KOMA-Script-dependent basics and keyval usage)
>   scrbase.sty    2010/06/17 v3.06 KOMA-Script package (KOMA-Script-independent basics and keyval usage)
>    keyval.sty    1999/03/16 v1.13 key=value parser (DPC)
> scrlfile.sty    2009/03/25 v3.03 KOMA-Script package (loading files)
> tocbasic.sty    2010/06/09 v3.06 KOMA-Script package (handling toc-files)
> scrsize12pt.clo    2010/06/17 v3.06 KOMA-Script font size class option (12pt)
> typearea.sty    2010/06/17 v3.06 KOMA-Script package (type area)
> fontspec.sty    2010/11/07 v2.1d Advanced font selection for XeLaTeX/LuaLaTeX
>     expl3.sty    2010/10/02 v2056 L3 Experimental code bundle wrapper
>   l3names.sty    2010/10/03 v2064 L3 Experimental Naming Scheme for TeX Primitives
>      etex.sty    1998/03/26 v2.0 eTeX basic definition package (PEB)
> l3basics.sty    2010/10/03 v2063 L3 Experimental basic definitions
>   l3expan.sty    2010/09/20 v2037 L3 Experimental Argument Expansion module
>      l3tl.sty    2010/10/03 v2063 L3 Experimental Token Lists
>     l3int.sty    2010/10/09 v2070 L3 Experimental Integer module
>   l3quark.sty    2010/09/20 v2036 L3 Experimental Quark Commands
>     l3seq.sty    2010/03/29 v1879 L3 Experimental sequences and stacks
>    l3toks.sty    2010/09/20 v2037 L3 Experimental Token Registers
>     l3prg.sty    2010/10/03 v2063 L3 Experimental control structures
>   l3clist.sty    2010/10/09 v2071 L3 Experimental comma separated lists
>   l3token.sty    2010/10/03 v2063 L3 Experimental token investigation and manipulation
>    l3prop.sty    2010/03/21 v1857 L3 Experimental Property Lists
>     l3msg.sty    2010/10/02 v2052 L3 Experimental LaTeX Messages module
>      l3io.sty    2010/10/03 v2063 L3 Experimental i/o module
>    l3skip.sty    2010/10/03 v2063 L3 Experimental skip registers
>     l3box.sty    2010/09/26 v2048 L3 Experimental Box module
> l3keyval.sty    2010/04/11 v1890 L3 Experimental keyval processing
>    l3keys.sty    2010/10/13 v2075 L3 Experimental key-value support
> l3precom.sty    2010/02/09 v1793 L3 Experimental precompilation module
>    l3xref.sty    2010/02/09 v1786 L3 Experimental cross referencing
>    l3file.sty    2010/03/21 v1853 L3 Experimental file loading
>      l3fp.sty    2010/09/19 v2029 L3 Experimental floating-point operations
> l3luatex.sty    2010/07/18 v1985 L3 Experimental LuaTeX functions
>      calc.sty    2007/08/22 v4.3 Infix arithmetic (KKT,FJ)
>    xparse.sty    2010/05/23 v1927 Generic document command parser
>   xkeyval.sty    2008/08/13 v2.6a package option processing (HA)
>   xkeyval.tex    2008/08/13 v2.6a key=value parser (HA)
> fontspec-patches.sty    2010/11/07 v2.1d Advanced font selection for XeLaTeX/LuaLaTeX
> fixltx2e.sty    2006/09/13 v1.1m fixes to LaTeX
>   fontenc.sty
>    eu1enc.def    2010/05/27 v0.1h Experimental Unicode font encodings
>    eu1lmr.fd    2009/10/30 v1.6 Font defs for Latin Modern
> xunicode.sty    2010/11/06 v0.96 provides access to latin accents and many other characters in Unicode lower plane
> fontspec.cfg
> unicode-math.sty    2010/10/26 v0.5b Unicode maths in XeLaTeX and LuaLaTeX
>   ifxetex.sty    2009/01/23 v0.5 Provides ifxetex conditional
> ifluatex.sty    2010/03/01 v1.3 Provides the ifluatex switch (HO)
> l3keys2e.sty    2009/08/24 v1494 Parsing LaTeX3 keyvals as LaTeX2e package options
> catchfile.sty    2010/04/28 v1.5 Catches the contents of a file (HO)
> infwarerr.sty    2010/04/08 v1.3 Providing info/warning/message (HO)
>   ltxcmds.sty    2010/04/26 v1.7 LaTeX kernel commands for general use (HO)
> etexcmds.sty    2010/01/28 v1.3 Prefix for e-TeX command names (HO)
> unicode-math-table.tex
>   ***********
>
> Most of this should be up to date, with GitHub.
>
> Note that:  unicode-math.sty    2010/10/26 v0.5b
> is actually  v0.5c  --- there's a typo in the package.
> (The real v0.5b has an earlier date.)
>
>>
>> Toscho
>
>
> Hope this helps,
>
> 	Ross
>
> ------------------------------------------------------------------------
> Ross Moore                                       ross.moore at mq.edu.au
> Mathematics Department                           office: E7A-419
> Macquarie University                             tel: +61 (0)2 9850 8955
> Sydney, Australia  2109                          fax: +61 (0)2 9850 8114
> ------------------------------------------------------------------------
>
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: leftright12pt.pdf
Type: application/pdf
Size: 3901 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20101117/0566f9a7/attachment.pdf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: leftright.pdf
Type: application/pdf
Size: 3908 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20101117/0566f9a7/attachment-0001.pdf>


More information about the XeTeX mailing list