Quantcast
Viewing all articles
Browse latest Browse all 3827

No proper right alignment possible in pdf

I’m having a lot of trouble right-aligning text in a pdf. In print it is done correctly, but when I output the same code as a pdf it is not possible to right align text.
I use the textwidth function for right alignment by calculating the column width minus the text length and outputting the text from that position.
As you can see in the screenshots, it works in print, but unfortunately not in pdf.

Print:

pdf:

18 posts - 8 participants

Read full topic


Viewing all articles
Browse latest Browse all 3827

Trending Articles