Limit latex equations to page width for nbconvert.

This prevents latex equations from going off the edge of the page. It scales them to the page width if they do and leaves them alone if they don't (using adjustbox max width).  I have tested this against several equation on a test document and have found no problems.