# Align the text in flushright block

I had two different lines into a block flushright.it is so:

           Foo
Hello Everyone


I would align these two lines in this way:

Foo
Hello Everyone


Edit:

\begin{flushright}
Foo
Hello Everyone
\end{flushright}


I would align Foo to the second line

-
Please add a minimal working example (MWE) that illustrates your problem. It should include your existing code using the flushright environment. Have you tried flushleft? – Werner Sep 7 '12 at 22:17
Edited and insert an example – Mazzy Sep 7 '12 at 22:24
Use \begin{flushright} Foo \par Hello Everyone \end{flushright} or \begin{flushleft} Foo \par Hello Everyone \end{flushleft} or use \\ instead of \par. It depends on your usage/implementation. – Werner Sep 7 '12 at 22:27

Use a tabular:

\begin{flushright}
\begin{tabular}{@{}l@{}}
Foo \\
Hello everyone
\end{tabular}
\end{flushright}


With @{} we remove the default space that's inserted also at the left and right of a tabular.

-
yeah it worked...thanks so much – Mazzy Sep 7 '12 at 22:54

I want to ask a question to egreg's answer. You answer is actually correct, but the vertical space between Foo and Hello everyone is increased. Do you have any way to solve this situation? Thanks

-