Document ClassesProblem using breqn

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
Polestar
Posts: 5
Joined: Tue Oct 07, 2008 2:43 pm

Problem using breqn

Post by Polestar »

Dear All,

I attempted using Michael Downes breqn package (for automatic line breaking in equations) with the following preliminaries and got the error code "illegal parameter number in definition of \@begindocumenthook". I read somewhere that the order of loading packages can cause fatal clashes in the use the breqn package. Can anyone who has used the package help me?

\usepackage{epic}
\usepackage{pifont,citesort,curves,xspace,morehelp,geometry,
fancyhdr,graphicx,graphics,eepic,xr,fancybox,float,array,url,ifpdf}
\usepackage[labelfont={sf,bf},justification=centerlast]{caption}
\usepackage{amssymb,amstext,amsfonts,amsxtra,amsbsy,latexsym}
\usepackage[sort&compress]{natbib}
\usepackage[amsmath,thmmarks,standard,thref,hyperref]{ntheorem}
\usepackage[colorlinks=true,pagebackref,pdfpagemode=UseThumbs,implicit=true, debug=true,naturalnames=false]{hyperref}

% breqn package
\usepackage[cmbase]{flexisym}
\usesymbols{msabm}
\usepackage[debug]{breqn}
\setkeys{breqn}{compact}

\usepackage{cleveref}[/color]

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX books
balf
Posts: 158
Joined: Sat Jan 12, 2008 1:11 am

Re: Problem using breqn

Post by balf »

It could be a version problem. Do you use the very latest version of the package ? Now it is to be found in the mh bundle, and it doesn't seem necessary to load flexisym as you use computer modern fonts.

B.A.
Polestar
Posts: 5
Joined: Tue Oct 07, 2008 2:43 pm

Re: Problem using breqn

Post by Polestar »

The problem is, unfortunately, not with the version of Miktex. Can someone else help resolve this difficulty?
Polestar
Posts: 5
Joined: Tue Oct 07, 2008 2:43 pm

Re: Problem using breqn

Post by Polestar »

A newer version of breqn (available at http://www.ctan.org) does the trick. Many thanks to Morten Høgholm for drawing my attention to this. It worked fine for me.
Post Reply