I'd like to how how a thermometer can work. The mercury (or tinted alcohol) expands and finds its way through the capillary tube. However, its expansion will compress the air in the capillary tube. Doesn't that air create a pressure on the mercury (or alcohol) and affect the readings while being compressed? Also, the gas has to heat up upon compression, and will tend to make the mercury (or alcohol) rise more.
Any sensible way to help me understand this is welcomed :)
I actually have a hypothesis, it's that the heating due to the compressed air 'compensates' the pressure it creates on the liquid. But that seems 'too good to be true' since both factors exactly compensate cancels each other.