1) talking loudly, they entered the classroom.
2) we sat at the table, waiting for our teacher.
3) The boy stopped laughing at the entrance.
4) reading newspapers, he learned a lot about the lives of children in England.
5) they kept going, discussing this problem.