You use similarly to say that something is similar to something else.
Most of the men who now gathered around him again were similarly dressed.
现在重新聚在他周围的大多数人穿戴都差不多。
We tend to think and react similarly to people our own age.
我们倾向于用与同龄人相仿的方式思考与行动。
You use similarly when mentioning a fact or situation that is similar to the one you have just mentioned.
Same-sex marriages are not recognized. Similarly, marriages of close relatives are not legal.
同性婚姻得不到承认。同样,近亲结婚也不合法。