JensErat / pandoc-scrlttr2

Writing Letters in Markdown Using Pandoc and KOMA-Script
61 stars 22 forks source link

Change fromalign to KOMA-Script default value (left). #7

Closed momu closed 8 years ago

momu commented 8 years ago

Putting the address on the left side reveals two problems:

  1. The header is to big, according to DIN 5008 it should be only 45 mm.
  2. According to DIN 5008 the header should start 16.9 mm from the upper edge.

Even when 2. is ignored the header collides with the backaddress. See https://github.com/momu/pandoc-scrlttr2/commit/b037d3e20815dd2fde2768b2cc0294f99f66a3ca for the example-letter.pdf with the DIN5008 outlines and the header position set by \@setplength{firstheadvpos}{17mm} in the lco-file. Regardless if repositioning the header or not the numbers of lines should be decreased or a smaller font should be used.

JensErat commented 8 years ago

I guess keeping it on the right is the more reasonable default, and moving it to the left might introduce incompatibilities for existing users. So you agree on better not changing the default to the left?

momu commented 8 years ago

For me it doesn't matter if it's right or left by default. So not changing is fine for me. But maybe adding \@setplength{firstheadvpos}{17mm} to the lco-file is useful to have the head positioned according to DIN5008 (default is 8 mm IIRC).

JensErat commented 8 years ago

I guess those adjustments should not be provided in this template -- those are individual letter template configuration to be stored in .lco files. Other countries might have other standards.