Hi Arno,<br>When I have symbol clashes, I use a tip suggested by Scott Pakin in his Comprehensive LaTeX Symbol List.<br>Here is the relevant code:<br><br><span style="font-family: courier new,monospace;">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">% There are a number of symbols (e.g., \Square) that are defined by %</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">% multiple packages. In order to typeset all the variants in this %</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">% document, we have to give glyph a unique name. To do that, we define %</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">% \savesymbol{XXX}, which renames a symbol from \XXX to \origXXX, and %</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">% \restoresymbols{yyy}{XXX}, which renames \origXXX back to \XXX and %</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">% defines a new command, \yyyXXX, which corresponds to the most recently %</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">% loaded version of \XXX. %</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">% %</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">% Save a symbol that we know is going to get redefined.</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">\def\savesymbol#1{%</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> \expandafter\let\expandafter\origsym\expandafter=\csname#1\endcsname</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> \expandafter\let\csname orig#1\endcsname=\origsym</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> \expandafter\let\csname#1\endcsname=\relax</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">}</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">% Restore a previously saved symbol, and rename the current one.</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">\def\restoresymbol#1#2{%</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> \expandafter\let\expandafter\newsym\expandafter=\csname#2\endcsname</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> \expandafter\global\expandafter\let\csname#1#2\endcsname=\newsym</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> \expandafter\let\expandafter\origsym\expandafter=\csname orig#2\endcsname</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> \expandafter\global\expandafter\let\csname#2\endcsname=\origsym</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">}</span><br style="font-family: courier new,monospace;"><br clear="all">Tell me if this helps. I haven't test it yet.<br>Best wishes,<br>Nicolas<br>
<br><br><div class="gmail_quote">On Thu, Jun 25, 2009 at 5:26 PM, Arno Trautmann <span dir="ltr"><<a href="mailto:Arno.Trautmann@gmx.de">Arno.Trautmann@gmx.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Nicolas!<br>
<div class="im"><br>
Nicolas Vaughan wrote:<br>
> That's because breqn calls flexisym, which in turn defines some symbols that<br>
> fontspec also defines.<br>
<br>
</div>Yes, so far I understood and tried to hack it a bit. Before trying a<br>
neat solution, I tried something like<br>
<br>
\let\Gamma\undefined<br>
<br>
but that did not work. Can you explain, why? Still TeX complained that<br>
theese commands were already \defd.<br>
<div class="im"><br>
> This incompatibilty with "font" packages is explained<br>
> in the breqn manual. There it says that if you're using cm fonts, mathpazo<br>
> (Palatino) or mathptmx (Times), there's a escape route withing flexisym to<br>
> avoid clashes. And it adds:<br>
<br>
</div>Ok, I didn’t read carefully …<br>
<div class="im"><br>
> If you find that<br>
>> a particular math font package doesn't work then please see implementation<br>
>> in<br>
>> flexisym.dtx for how to create a support file --- it is easier than one<br>
>> might think. Contributions welcome.<br>
<br>
</div>Thank you very much for the explanation!<br>
<div class="im"><br>
> So you may fiddle a little with flexisym, as the manual suggests, or else<br>
> use other methods of breaking equations. How about manually? That's how I<br>
> do. ;><br>
<br>
</div>Well, that didn’t look too good … so I wanted to give breqn a try.<br>
<div class="im"><br>
> However, If you create a .sym file to patch flexisym (as flexisym.dtx<br>
> describes), please do share your solution.<br>
<br>
</div>Allright, I’ll try that and post a result.<br>
<br>
cheers<br>
<font color="#888888">Arno<br>
<br>
</font></blockquote></div><br>