Latex Letter: Right Alignment

I use the Latex letter class and would like the address to be correctly justified.

By default, used to right-justify to the left. I am happy to modify the letter.cls file, but could not find the correct way to do this.

I tried using sclttr2 instead, but there are too many variables for me.

Thank!

+3
source share
1 answer

Left-aligned text in a right-aligned block

{
\leftskip = .7\hsize
\obeylines


Address:
12, International st., 
city

}

Right-aligned text in a right-aligned block

{
\leftskip = 0pt plus 1 fill
\rightskip = 0pt
\parindent 0pt
\obeylines


Address:
12, International st., 
city

}
+7
source

Source: https://habr.com/ru/post/1738966/


All Articles