I have a function that returns equalities, which I want to print, for example, x==y, or 2x+5==10. These usually have no meaning for mathematica, it cannot simplify it furhter.
However, sometimes the both sides are equal, but I want to be able to print the equality in unevaluated form: that is, I want Mathematica to print x==x, and not True.
A very simple example:
Print[printableEqual[x,y]]
should print x==y, while
Print[printableEqual[x,x]]
should print x==x
Edit: The reason is that I have a relation among graphs. I would like to return things like
G1 == t*G2 + s*G3
where t,s are integers, and Gi are Graphics objects in Mathematica. Just returning this works great, (Since Mathematica cannot simplify such things) EXCEPT G1 == G1 which will be True.
The trouble is that using Defer, or HoldForm gives
Private`lhs$714 == Private`rhs$714
as output, that is, the private variables in my package is not evaluated as my Graphics.