Add styles for (rich-)paragraph, formula, and table.