Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I would like to left justify the date in the KOMA-Script scrlttr2 class so that it aligns with the left margin of the body. I have no other data in the refline. This question helped me to get my present workaround, which is as follows:

Shrink the width of the refline field:


Manually position the refline field:


While this can produce the output I want, when the width of the date changes, such as at the start of the month (think July->August), I have to manually edit the variables to get the proper alignment.

Is there a more elegant way within KOMA-Script to left justify the date? If there is not a built-in method: Is there a way to automate the calculation of the widths or lengths when I compile so that justification remains constant regardless of the length of date?

share|improve this question

1 Answer 1

up vote 4 down vote accepted

This is kind of a hack, and may be somewhat stupid, but it seemed to work fine with my simple test:

share|improve this answer
This does indeed seem to do the trick and certainly beats my manual workaround. –  Brian Maicke Apr 6 '12 at 16:39

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.