Math & ScienceProblem between breqn and listings : all minus disappear !

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
kbarkati
Posts: 1
Joined: Tue Nov 10, 2009 8:33 pm

Problem between breqn and listings : all minus disappear !

Post by kbarkati »

Hello,

When both breqn and listings packages are loaded, all minus signs '-' disappear from lstlisting environments !! :-(

I need to print both automatically broken equations and code listings in the same document... (I generate LaTeX code automatically for the documentation of a high-level program, cf. attached file, to notice the "-12" disappeared on the resulting pdf when compiled...)

Any clue ??

Bye,
K.
Attachments
test-breqnlistings.tex
A tex file containing both breqn and listing packages.
(5.29 KiB) Downloaded 271 times
test-breqnlistings.pdf
Notice the "-12" disappeared on the resulting pdf when compiled...
(96.4 KiB) Downloaded 237 times

Recommended reading 2024:

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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

Post Reply