If you want to capture a whole scene in a single picture your digital camera might not be your first choice. Even if you have a wide lens it might not be enough for the entire scene. It is easier to take the phone out of the pocket, set it in panorama mode and just take the photo.
But there is an easy and simple way to do the same thing with your digital camera, even if the camera does not have the panorama function.