Improved stdfig using a custom package.