# [Tex/LaTex] How to rotate text inline

inline()rotating

I used the rotating package to rotate the symbol 90 positive degrees and that worked well. But I also want to rotate it 270 positive degrees and then it ends up hanging down on the line below. How can one rotate symbols any degree while it stays on the same line?

You can use \rotatebox (from the graphicx package) with the origin=c option instead; a little example:

\documentclass{article}
\usepackage{graphicx}

\begin{document}

A\rotatebox{90}{B}C

A\rotatebox{270}{B}C

A\rotatebox[origin=c]{270}{B}C

\end{document}