center text in latex code example
Example 1: centering text latex
\documentclass{article}
\begin{document}
This is a really long sentence as an example. The second have of this\\
\centerline{sentence should be centered.}
\end{document}
Example 2: latex normal text inside align
\text{Your text here}