italic in overleaf code example Example 1: latex italic text \textit{text} Example 2: bold text latex \textbf{accident} Example 3: latex italic \emph{accident}