[XeTeX] Question about footnotes and unicode-math

Herbert Schulz herbs at wideopenwest.com
Thu Apr 7 13:57:01 CEST 2011

On Apr 7, 2011, at 1:06 AM, Wilfred van Rooijen wrote:

> Hi,
> I am trying to use the unicode-math package in TL2011. I encounter something strange with the behavior of footnotes. The following code produces a "non-superscript" footnote (?). I checked the manual but was not able to find anything relevant. Am I doing something wrong, and if so, please explain ;-))
> Wilfred
> \documentclass[a4paper,11pt,oneside,openany,draft]{memoir}
> \usepackage{polyglossia}
> \usepackage{amsmath}
> \usepackage{unicode-math}
> %--------------------------------------------------------------------
> % Set up math fonts for unicode-math
> %--------------------------------------------------------------------
> \unimathsetup{math-style=ISO}
> \unimathsetup{bold-style=ISO}
> \setmathfont{xits-math.otf}
> \begin{document}
> Text with footnote\footnote{This is the footnote}
> \end{document}


No problem here. Try putting \listfiles at the top of your source file and compare the file versions to what I have:

*File List*
  memoir.cls    2011/03/06 v3.6j configurable book, report, article document cl
   ifpdf.sty    2010/01/28 v2.1 Provides the ifpdf switch (HO)
 ifxetex.sty    2010/09/12 v0.6 Provides ifxetex conditional
ifluatex.sty    2010/03/01 v1.3 Provides the ifluatex switch (HO)
    etex.sty    1998/03/26 v2.0 eTeX basic definition package (PEB)
   mem11.clo    2008/01/30 v0.3 memoir class 11pt size option
mempatch.sty    2009/07/24 v6.0f Patches for memoir class v1.6180339
polyglossia.sty    2010/07/27 v1.2.0a Babel replacement for XeLaTeX
etoolbox.sty    2011/01/03 v2.1 e-TeX tools for LaTeX
makecmds.sty    2009/09/03 v1.0a extra command making commands
fontspec.sty    2011/02/26 v2.1f Advanced font selection for XeLaTeX/LuaLaTeX
   expl3.sty    2011/02/17 v2156 L3 Experimental code bundle wrapper
 l3names.sty    2011/01/08 v2122 L3 Experimental Naming Scheme for TeX Primitiv
l3basics.sty    2011/02/26 v2158 L3 Experimental basic definitions
 l3expan.sty    2010/09/20 v2037 L3 Experimental Argument Expansion module
    l3tl.sty    2011/03/07 v2184 L3 Experimental Token Lists
   l3int.sty    2011/03/06 v2178 L3 Experimental Integer module
 l3quark.sty    2011/03/03 v2172 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    2011/03/06 v2178 L3 Experimental control structures
 l3clist.sty    2011/03/06 v2178 L3 Experimental comma separated lists
 l3token.sty    2011/02/16 v2151 L3 Experimental token investigation and manipu
  l3prop.sty    2010/11/23 v2087 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    2011/02/15 v2149 L3 Experimental skip registers
   l3box.sty    2011/03/06 v2178 L3 Experimental Box module
l3keyval.sty    2010/04/11 v1890 L3 Experimental keyval processing
  l3keys.sty    2010/11/11 v2082 L3 Experimental key-value support
l3precom.sty    2010/02/09 v1793 L3 Experimental precompilation module
  l3xref.sty    2011/02/16 v2151 L3 Experimental cross referencing
  l3file.sty    2010/03/21 v1853 L3 Experimental file loading
    l3fp.sty    2011/03/06 v2178 L3 Experimental floating-point operations
l3luatex.sty    2010/07/18 v1985 L3 Experimental LuaTeX functions
  l3font.sty    2011/03/03 v2175 L3 Experimental Font Loading
    calc.sty    2007/08/22 v4.3 Infix arithmetic (KKT,FJ)
  xparse.sty    2011/01/23 v2136 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    2011/02/26 v2.1f Advanced font selection for XeLaTeX/Lu
fixltx2e.sty    2006/09/13 v1.1m fixes to LaTeX
  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 othe
r characters in Unicode lower plane
 amsmath.sty    2000/07/18 v2.13 AMS math features
 amstext.sty    2000/06/29 v2.01
  amsgen.sty    1999/11/30 v2.0
  amsbsy.sty    1999/11/29 v1.2d
  amsopn.sty    1999/12/14 v2.01 operator names
unicode-math.sty    2011/01/29 v0.5d Unicode maths in XeLaTeX and LuaLaTeX
l3keys2e.sty    2010/10/13 v2076 Parsing LaTeX3 keyvals as LaTeX2e package opti
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)
trimspaces.sty    2009/09/17 v1.1 Trim spaces around a token list
  fix-cm.sty    2006/09/13 v1.1m fixes to LaTeX
  ts1enc.def    2001/06/05 v3.0e (jk/car/fm) Standard LaTeX file
filehook.sty    2011/03/09 v0.5a Hooks for input files
filehook-memoir.sty    2011/01/03 v0.1 filehook patch for memoir class

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)

More information about the XeTeX mailing list