[luatex] Italic correction for normal text with LuaLaTex

Bernhard Tempel bernhard.tempel at freenet.de
Sun Mar 11 16:27:29 CET 2012


as Source2e states, the LaTeX font change commands with argument like 
\emph{foo} "automatically take care of any necessary italic correction
on either side of the argument" ([1] The LaTeX2e sources [2011/06/27], p. 
190). Using pdfTeX this works with some fonts like Latin Modern or MinionPro. 
Unfortunately with luaTeX italic correction in normal text seems not to work 
at all. Take a look at the minimal working example following.

I noticed some earlier discussion about italic correction with lua(La)TeX and 
math mode, but this doesn't apply here. As I'm only LaTeX user it's difficult 
for me to analyze this more in depth. There are fonts where even pdfTeX has no 
italic correction as the font metrics don't include the necessary values, e.g. 
Linux Libertine. My hope was changing to luaTeX, using otf fonts, would solve 
this - which is not the case as I had to realize.

Any ideas?




\setmainfont{Latin Modern Roman}



*File List*
  minimal.cls    2001/05/25 Standard LaTeX minimal class
luaotfload.sty    2011/04/21 v1.25 OpenType layout system
luatexbase.sty    2010/10/06 v0.3 Module utilities for LuaTeX
ifluatex.sty    2010/03/01 v1.3 Provides the ifluatex switch (HO)
luatexbase-compat.sty    2010/10/10 v0.3 Compatibility tools for LuaTeX
luatexbase-loader.sty    2010/10/10 v0.3 Lua module loader for LuaTeX
luatexbase-regs.sty    2010/10/10 v0.3 Registers allocation for LuaTeX
     etex.sty    1998/03/26 v2.0 eTeX basic definition package (PEB)
luatexbase-attr.sty    2011/05/21 v0.31 Attributes allocation for LuaTeX
luatexbase-cctb.sty    2010/10/10 v0.3 Catcodetable allocation for LuaTeX
luatexbase-mcb.sty    2010/10/10 v0.3 Callback management for LuaTeX
luatexbase-modutils.sty    2010/10/10 v0.3 Module utilities for LuaTeX
fontspec.sty    2011/09/18 v2.2a Advanced font selection for XeLaTeX/LuaLaTeX
    expl3.sty    2012/02/26 v3471 L3 Experimental code bundle wrapper
  l3names.sty    2011/12/30 v3113 L3 Experimental namespace for primitives
l3bootstrap.sty    2011/12/29 v3110 L3 Experimental bootstrap code
   luatex.sty    2010/03/09 v0.4 LuaTeX basic definition package (HO)
infwarerr.sty    2010/04/08 v1.3 Providing info/warning/message (HO)
luatex-loader.sty    2010/03/09 v0.4 Lua module loader (HO)
pdftexcmds.sty    2011/04/22 v0.16 Utilities of pdfTeX for LuaTeX (HO)
  ltxcmds.sty    2011/04/18 v1.20 LaTeX kernel commands for general use (HO)
    ifpdf.sty    2011/01/30 v2.3 Provides the ifpdf switch (HO)
    color.sty    2005/11/14 v1.0j Standard LaTeX Color (DPC)
    color.cfg    2007/01/18 v1.5 color configuration of teTeX/TeXLive
   pdftex.def    2011/05/27 v0.06d Graphics/color for pdfTeX
graphics.sty    2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)
     trig.sty    1999/03/16 v1.09 sin cos tan (DPC)
graphics.cfg    2010/04/23 v1.9 graphics configuration of TeX Live
l3basics.sty    2012/02/26 v3460 L3 Experimental basic definitions
  l3expan.sty    2012/02/26 v3460 L3 Experimental argument expansion
     l3tl.sty    2012/02/26 v3460 L3 Experimental token lists
    l3seq.sty    2012/01/09 v3158 L3 Experimental sequences and stacks
    l3int.sty    2012/02/26 v3460 L3 Experimental integers
  l3quark.sty    2012/02/12 v3384 L3 Experimental quarks
    l3prg.sty    2012/02/26 v3464 L3 Experimental control structures
  l3clist.sty    2012/02/26 v3460 L3 Experimental comma separated lists
  l3token.sty    2012/02/26 v3460 L3 Experimental token manipulation
   l3prop.sty    2012/02/26 v3460 L3 Experimental property lists
    l3msg.sty    2012/02/26 v3470 L3 Experimental messages
   l3file.sty    2012/02/26 v3464 L3 Experimental file and I/O operations
   l3skip.sty    2012/02/26 v3460 L3 Experimental dimensions and skips
   l3keys.sty    2011/12/22 v3086 L3 Experimental key-value interfaces
     l3fp.sty    2012/02/06 v3315 L3 Experimental floating-point operations
    l3box.sty    2012/02/18 v3432 L3 Experimental boxes
l3coffins.sty    2012/02/26 v3460 L3 Experimental coffin code layer
  l3color.sty    2011/09/07 v2776 L3 Experimental colour support
l3luatex.sty    2012/02/09 v3355 L3 Experimental LuaTeX-specific functions
   xparse.sty    2012/02/26 v3471 L3 Experimental document command parser
fontspec-patches.sty    2011/09/18 v2.2a Advanced font selection for XeLaTeX/Lu
fixltx2e.sty    2006/09/13 v1.1m fixes to LaTeX
fontspec-luatex.sty    2011/09/18 v2.2a Advanced font selection for XeLaTeX/Lua
   eu2enc.def    2010/05/27 v0.1h Experimental Unicode font encodings
   eu2lmr.fd    2009/10/30 v1.6 Font defs for Latin Modern
xunicode.sty    2011/09/09 v0.981 provides access to latin accents and many oth
er characters in Unicode lower plane
  eu2lmss.fd    2009/10/30 v1.6 Font defs for Latin Modern
graphicx.sty    1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
   keyval.sty    1999/03/16 v1.13 key=value parser (DPC)
    t3cmr.fd    2001/12/31 TIPA font definitions
epstopdf-base.sty    2010/02/09 v2.5 Base part for package epstopdf
   grfext.sty    2010/08/19 v1.1 Managing graphics extensions (HO)
kvdefinekeys.sty    2011/04/07 v1.3 Defining keys (HO)
kvoptions.sty    2010/12/23 v3.10 Keyval support for LaTeX options (HO)
kvsetkeys.sty    2011/04/07 v1.13 Key value parser (HO)
etexcmds.sty    2011/02/16 v1.5 Prefix for e-TeX command names (HO)
epstopdf-sys.cfg    2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Live


More information about the luatex mailing list