font style italic latex code example Example 1: latex italic text \textit{text} Example 2: bold text latex \textbf{accident}