  We prove the one-dimensional symmetry of solutions to elliptic equations of
the form $-\dive(e^{G(x)}a(|\nabla u|)\nabla u)=f(u) e^{G(x)}$, under suitable
energy conditions. Our results hold without any restriction on the dimension of
the ambient space.
