Ability for latex in page

Currently, Latex can only be rendered in articles. This commit allows latex to also be rendered in pages.