[XeTeX] not a specifically xetex question: how to put a character flush to right in centered environment?

Ulrike Fischer news3 at nililand.de
Wed Jul 20 11:08:40 CEST 2011


Am Mon, 18 Jul 2011 14:21:56 -0700 schrieb Quang Minh Nguyen:

> Hi,
> 
> I realize this is a basic question but I have a hard time finding the
> answer to my inquiry.  I have a some centered environments (e.g.
> center, equation, align) and would like to put a character, such as
> the qed symbol, flush to the right.  How would one achieve that.

\documentclass{article}
\usepackage{lipsum}
\begin{document}
\lipsum[1]
\begin{center}
a\\bb\\ccc\\\mbox{}\hfill abc
\end{center}
\end{document}


(The \mbox{} is often not necessary.)

-- 
Ulrike Fischer 



More information about the XeTeX mailing list