I want to align just one word to the right margin.
When I try this command:
$A \implies B$ \begin{flushright} hipoteza \end{flushright}
Word aligns to the right, but in the next line.
When I try command:
$A \implies B$ \rightline{hipoteza}
Word is in the same line, but it’s too much aligned to right.
Is there any way to fix this? I’m new to latex.
>Solution :
You can use \hfill:
\documentclass{article}
\usepackage{mathtools}
\begin{document}
$A \implies B$ \hfill hipoteza
\end{document}

