## LaTeX forum ⇒ Text Formatting ⇒ Using nath package and \Brack command gives error Topic is solved

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
juliette
Posts: 75
Joined: Thu Nov 20, 2008 10:15 pm

### Using nath package and \Brack command gives error

Has anyone used the package \usepackage{nath}?

I tried using this package only for the \Brack command,
without even using that command,

If I add \usepackage{nath} to the preamble of a document with absolutely no errors, I end up getting thousands of compile-time errors ... and I have no clue why.

I'm using revtex4 and TeXnicCenter..

Any help, suggestions or discussions are greatly appreciated

Tags:

juliette
Posts: 75
Joined: Thu Nov 20, 2008 10:15 pm
In fact, just this:
\documentclass{article}\usepackage{nath}\begin{document}a\end{document}

works,

\usepackage{graphicx}

I get a thousand error messages.

I'm not sure what the problem is here.

If I can't get the nath package working, does anyone know an alternative way to get the symbol \triple[ ??

phi
Posts: 577
Joined: Tue Oct 21, 2008 8:10 pm
You must load the nath package after the graphicx package. However, keep in mind that the nath package completely changes everything related to mathematics, so you should never include it in a document that already contains some text.
For double brackets similar to those provided by the nath package (which depend on the heavy infrastructure of the nath package and are thus hard to isolate), see the stmaryrd package.

juliette
Posts: 75
Joined: Thu Nov 20, 2008 10:15 pm
Thank you phi,

is it not possible for me to use the nath package for just some equations and not for others ??

The stmaryrd package looks like it only has double brackets, but doesn't have the triple brackets that I want from nath.

phi
Posts: 577
Joined: Tue Oct 21, 2008 8:10 pm
juliette wrote:is it not possible for me to use the nath package for just some equations and not for others ??

No, that's impossible. As I said before, the nath package overwrites nearly all of LaTeX's math functionality. Once you've loaded it, you cannot revert to "normal" mathematics.

The stmaryrd package looks like it only has double brackets, but doesn't have the triple brackets that I want from nath.

You can try to fake the brackets (nath does something similar, but more sophisticated):

juliette
Posts: 75
Joined: Thu Nov 20, 2008 10:15 pm
That alternative is pretty good!

Thanks phi!