77 Votes

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

Info by NetLabel | Last update on 2020-10-25 | Created on 2015-08-21

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 command 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.

00 Votes

Thanks mate! ­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­
2021-12-17 at 08:48

ReplyPositive Negative

About the Author

AvatarThe author has not added a profile short description yet.
Show Profile


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 article on askingbox.com. That’s how it’s done.