Source: https://www.math.cuhk.edu.hk/course_builder/1718/math2060a/Notes 3. Uniform convergence 2018.pdf