Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I ran into a problem formatting things with breqn and the braket style file. A minimal example that illustrates the problem is:

\documentclass{article}

\usepackage{braket}
\usepackage{breqn}

\begin{document}

This does not format correctly

\begin{dmath}
   \ket n = (C) = A + B 
\end{dmath}

However, this does
\begin{dmath}
   \ket n = C = A + B
\end{dmath}

\end{document}

The output of which is: This picture

While in the above example the parentheses are mathematically unnecessary, in the more complicated example I found this in, I need them.

share|improve this question

closed as too localized by egreg, Stefan Kottwitz Oct 29 '11 at 9:31

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

7  
I get the same result for both lines, using breqn.sty 2009/08/07 v0.98a. Could you check your version by adding \listfiles in your preamble and looking near the end of the .log file? –  Jake Oct 10 '11 at 23:16
    
Oh, how silly of me. I thought I was up to date, but it turns out I was keeping an old 2008 version in my texmf folder. When I deleted it, I get breqn.sty 2009/08/07 v0.98a and my problem is fixed. –  thequark Oct 11 '11 at 15:18
    
What's the proper etiquette for this post? Do I keep it as is, edit it to highlight my oversight in versions of breqn, or delete it entirely? –  thequark Oct 11 '11 at 15:48
1  
Others might disagree with me, but I'd recommend you answer your own question explaining the steps to determine the problem -- I am sure you are not the only one to encounter such problems. –  Peter Grill Oct 11 '11 at 16:19

Browse other questions tagged or ask your own question.