change font size latex locally pt code example Example: latex default font size \documentclass[12pt]{book}