Document ClassesFancyhdr gb4 error Argument of ^ has an extra }. \par \trans

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
Bettina
Posts: 8
Joined: Sun Sep 16, 2007 12:28 pm

Fancyhdr gb4 error Argument of ^ has an extra }. \par \trans

Post by Bettina »

Hi,

I have a document which worked just fine until I inserted fancyhdr as follows:

Code: Select all

\usepackage{fancyhdr}
\pagestyle{fancy}
\lhead{head} 
\chead{} 
\rhead{author} 
\lfoot{} 
\cfoot{\thepage} 
\rfoot{}
\renewcommand{\headrulewidth}{0.4pt} 
\renewcommand{\footrulewidth}{0.4pt}


Now I get the following error(s) with numbered examples (gb4e) which worked just fine before I inserted the fancyhdr.

Code: Select all

! Argument of ^ has an extra }.
<inserted text> 
                \par 
! Argument of ^ has an extra }.
<inserted text> 
                \par 
l.85 \trans `
             I don't know if you can do that.'
? 
any ideas on that?
best,
Bettina

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Fancyhdr gb4 error Argument of ^ has an extra }. \par \trans

Post by localghost »

You have to post a little bit more information in the form of a minimal working example (MWE) which reproduces the error. There may be another source of error that is not revealed by the code you posted.


Best regards
Thorsten
Bettina
Posts: 8
Joined: Sun Sep 16, 2007 12:28 pm

Fancyhdr gb4 error Argument of ^ has an extra }. \par \trans

Post by Bettina »

found the problem ... gb4e has to be inserted after fancyhdr.

bettina
Post Reply