In some apps, I experience a gap between the tip of my stylus and the line drawn on the tablet. How can I avoid this?

As only supporting apps have the ability to properly correct this gap, please make sure that you are using a supporting app. If you use non- supporting apps, you can minimize this effect by holding the stylus in a more vertical manner or by using your iPad in landscape mode.