How to flush right but align left?
One simple way to do this is with a tabular
environment:
\documentclass{article}
\usepackage{lipsum}
\pagestyle{empty}
\begin{document}
\lipsum[1]
\hfill
\begin{tabular}{@{}l@{}}
Andriy D.\\
Toronto, 2009
\end{tabular}
\end{document}
One way to do it in Plain TeX:
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem
I psum has been the industry's standard dummy text ever since the 1500s, when an
unknown printer took a galley of type and scrambled it to make a type specimen
book. It has survived not only five centuries, but also the leap into electronic
typesetting, remaining essentially unchanged. It was popularised in the 1960s
with the release of Letraset.
{
\parindent=0em
\setbox0=\hbox{Toronto, 2009}
\hfill\vbox{\hsize=\wd0
Andriy D.\par
\box0\par}
}
\bye