Brackets ( and ) are used for grouping, just as in normal math. Note: When using to_html() recently I had to remove extra '\n' characters for some reason. Even using