Math layout made easy