write in red lates code example
Example 1: tex color text
\usepackage{xcolor}
\begin{document}
This is a sample text in black.
\textcolor{blue}{This is a sample text in blue.}
\end{document}
Example 2: latex coloured text
\textcolor{red}{
}
\usepackage{xcolor}
\begin{document}
This is a sample text in black.
\textcolor{blue}{This is a sample text in blue.}
\end{document}
\textcolor{red}{
}