JensErat / pandoc-scrlttr2

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

Closing is centered instead of left aligned #11

Closed nextlevelshit closed 7 years ago

nextlevelshit commented 7 years ago

Inside the closing part the content is centered to the widest line. If my closing variable is the largest one, the other ones like signature are aligned centered to that one.

latter-issue

I cannot find the affected line of code for that. Is it maybe party of the used KOMA script?

nextlevelshit commented 7 years ago

Found a regarding issue of KOMA script: https://tex.stackexchange.com/questions/152535/strange-behaviour-of-closing-in-koma-script-scrlttr2-class

JensErat commented 7 years ago

The pandoc template does not modify scrlttr2's behavior here (in fact, it generally just wraps pandoc metadata to scrlttr2 variables). This seems to be an upstream issue (or rather seems somewhat expected, but surprising behavior); I'm closing the issue therefor.

If you want to apply the workaround described in the linked Q&A, I guess you should be able to put that into a letter option file (which is included in the letter's LaTeX headers).