Reputation: 660
I need to write some text - a little on the left and a little on the right , but it's must be on the same line.
I need a code in rtf, because it will auto-generate by app in c++.
What RTF code can set text on the same line left and flushed right?
Upvotes: 2
Views: 2797
Reputation: 22457
Add a tab ruler with a right aligned tab at the far right and insert a tab between the two texts.
{\rtf1\ansi\deff0{\fonttbl{\f0\fnil;}}
\pard\tqr\tx8236\f0 test\tab test\par
}
Upvotes: 5