PanCakeConnaisseur / latex-briefvorlage-din-5008

Deutsche Latex-Briefvorlage nach DIN 5008 auf Basis von KOMA-Script scrlttr2
MIT License
312 stars 72 forks source link

Update to DIN 5008:2020 #6

Open maxwxyz opened 2 years ago

maxwxyz commented 2 years ago

Is it possible to make an option for the current standard DIN 5008:2020 (letter versions A and B)? The standard changed quite significantly the structure of the template, especially the address field and additional fields (date, references, phone/web/email) all on the top right side now.

PanCakeConnaisseur commented 1 year ago

Do you have a comprehensive source of the changes?

michaelpoersch commented 1 year ago

This page has pictures of version A and B: https://dewiki.de/Lexikon/DIN_5008#%C3%84nderungen_2020

typingbeaver commented 1 year ago

The KOMA-Script-Guide shows that there are now options for this (Chapter 4.20):

KOMA-Script comes provided with some lco files. The DIN.lco, DINmtext.lco, DIN5008A.lcov3.26 DIN5008A.lco, DIN5008B.lcov3.26 DIN5008B.clo, SNleft.lco, SN.lco, UScommercial9, UScommercial9DW, and NF.lcov3.04 files serve to adapt scrlttr2 and scrletter to different standards.

With regard to the lco files DIN5008A and DIN5008B, it should be noted that the corre- sponding regulations have certain leeway and, as can be seen from various inquiries to the author, many users only wish to make full use of these leeway, but also prefer one or the other deviation from the standard. However, the two files implement only one interpretation of the standard. The reader should therefore be reminded that these files are to be understood only as templates, in order to facilitate the creation of own adapted lco files.

You can load them via \LoadLetterOption{DIN5008A} respectively \LoadLetterOption{DIN5008B} (Although it doesn't follow 2020 conventions completely.)

TeXhackse commented 1 year ago

Prepared something for to resolve that some time ago, though using a different structure to be installable and doesnt have to be copied. https://codeberg.org/TeXhackse/scrletter-DIN5008.2020

maxwxyz commented 1 year ago

@TeXhackse Thanks! I cannot get the fromemail, frommobilephone, fromurl in your adressdaten.lco working, it won't display in the letteroptions. Is there a quick way to change from DIN5008:2020 A and B version?

TeXhackse commented 1 year ago

That's offtopic up here I think, but one could ofc course load the underlying specification. That didnt change for both if I remember correctly. I will have a look at it again. It was result of a question at Chemnitzer Linuxtage last year.

It's not a full template rather a demo. One can add arbitrary data to the location field. I didn't touch it. Just saw people asked for the different layout and it's not hard to build it.

If i find some free time within the next days I might extend. Otherwhise feel free to do a PullRequest.