4 4 Votes

RTF: Align Text - Left, Right, Centered and Justified

Info by NetLabel | 21/08/2015 at 17:42

In this information, I would like to show you, how to align a text within them manually created RTF document.

You can use one of the following commands words for this.

\qlleft alignment (default)
\qrright alignment

By default, the RTF format uses a left alignment for text. This alignment is always used when there is no other definition for the corresponding section.


Let us have a look at an example demonstrating how the different commands can be used in practice.

{\fonttbl{\f0 Times New Roman;}}

\pard\qc Centered\par
\pard\ql Left\par
\pard\qr Right\par
\pard\qj Justified\par


The first line of this document is centered, to the second and third line a left and right alignment is applied. The fourth line is written in justification.


About the Author

Avatar AuthorThe author has not added a short description to his profile yet.
Show Profile | Message


Related Topics

RTF: Center Text in Footer
Question | 1 Answer

Important Note

Please note: The contributions published on askingbox.com are contributions of users and should not substitute professional advice. They are not verified by independents and do not necessarily reflect the opinion of askingbox.com. Learn more.


Ask your own question or write your own articles on askingbox.com. How to do.