I found this great tutorial about making leggings that are custom fit to your body. It includes drawing out your pattern and an Exel sheet to input your measurements and get the measurements for the pattern. Just tried it out myself and the leggings fit me like a glove.