[XeTeX] fancyhdr and gb4e clash

Alan Munn amunn at msu.edu
Sun Jan 25 19:29:13 CET 2009


At 7:12 PM +0100 1/25/09, Sven Siegmund wrote:
>Hello,
>
>I use XeTeX 3.1415926-2.2-0.999.2 (MiKTeX 2.7) on Win XP SP2 and I
>have tried to spice up the layout of a document with the fancyhdr
>package. Unfortunately I get a strange error the exact cause of which
>is obscure to me.
>
>Having reduced my document to the minimal example I have this:
>
>\documentclass[a4paper,12pt,twoside]{article}
>
>\usepackage{xltxtra} % loads also xunicode, fontspec, graphicx
>\usepackage{gb4e} % for linguistic glosses
>\usepackage{fancyhdr} % better style
>\pagestyle{fancy}
>
>\begin{document}
>something
>\end{document}
>
>I get this error when compiling:
>...
>(C:\MiKTeX\tex\latex\gb4e\gb4e.sty (C:\MiKTeX\tex\latex\gb4e\cgloss4e.sty))
>(C:\MiKTeX\tex\latex\fancyhdr\fancyhdr.sty) (clash.aux)
>! Argument of ^ has an extra }.
><inserted text>
>                 \par
>l.15 \end{document}

Load gb4e after fancyhdr.

Alan

-- 
Alan Munn						amunn at msu.edu
Department of Linguistics
and Germanic, Slavic, Asian and African Languages		Tel. 
	517-355-7491
Michigan State University, East Lansing MI 48824 USA	Fax	517-432-2736


More information about the XeTeX mailing list