Introduce text alignments

This patch introduces text alignments so that we can use ``text-center``, ``text-right``, ``text-left``, ``text-justify`` and ``text-nowrap``.