latex figure in the middle of text code example
Example: 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}