[XeTeX] Problem with footnotes and komascript
Toralf Senger
Senger at mpimp-golm.mpg.de
Sun Jun 18 12:53:28 CEST 2006
Hi Simon,
I use scrbook and place this in the preamble:
\deffootnote[1em]{1em}{1em}{\textfu{\thefootnotemark}}
\deffootnotemark{\textfu{\thefootnotemark}}
%footnotes of minipages, requires that abc..z are available as superscript withhin the font:
\renewcommand{\thempfootnote}{\textfu{\textit{\alph{mpfootnote}}}}
I use my own stylefile, where I define \textfu as:
%Shape Command for footnotes: \textfu
\newcommand\fudefault{fu}
\DeclareRobustCommand\fushape
{\not at math@alphabet\fushape\relax
\addfontfeatures{VerticalPosition=Superior}}
\newcommand{\textfu}[1]{{\fushape #1}}
You can put that into the preamble of your document es well. Note that you have to load fontspec for that to work!
TS
-----Original Message-----
From: xetex-bounces at tug.org on behalf of Simon Spiegel
Sent: Sun 6/18/2006 11:06 AM
To: xetex at tug.org
Subject: [XeTeX] Problem with footnotes and komascript
Hi everybody,
there seems to be a problem with footnotes and komascript in XeLaTeX,
the following example doesn't work:
\documentclass{scrbook}
\usepackage{fontspec,xunicode}
\usepackage{xltxtra}
\usepackage[xetex]{graphics}
\setromanfont[Mapping=tex-text, ItalicFont={Adobe Garamond Pro
Italic}]{Adobe Garamond Pro}
\begin{document}
test \emph{test}\footnote{test}
\end{document}
Note that it works if I change documentclass to article. I'm quite
sure that this used to work once, any ideas? Do I somehow have to
define the fonts for footnotes separately?
TIA
simon
--
Simon Spiegel
Steinhaldenstr. 50
8002 Zürich
Telephon: ++41 44 451 5334
Mobophon: ++41 76 459 60 39
http://www.simifilm.ch
"In a world getting more and more democratic, film directing is the last
resort for dictators." Francis Ford Coppola
_______________________________________________
XeTeX mailing list
postmaster at tug.org
http://tug.org/mailman/listinfo/xetex
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 3562 bytes
Desc: not available
Url : http://tug.org/pipermail/xetex/attachments/20060618/24a96be6/attachment.bin
More information about the XeTeX
mailing list