cgnieder / xsim

eXercise Sheets IMproved
65 stars 20 forks source link

Different point-translation in minimal layout #92

Closed Sk1nk closed 2 years ago

Sk1nk commented 2 years ago

Good morning!

This is a follow-up question to an earlier question. If I use the suggested translation for my grading table

\xsimsetup{
    load-style=layouts,
    exercise/template=minimal, %default, runin, margin, minimal, inline, centered
    solution/print = false, 
    exercise/name = Aufgabe,
    blank/filled-style=\textcolor{Red}{#1},
    blank/line-minimum-length = 1cm,
}   
\RenewDocumentCommand\points{m}{%
  \ExerciseGoalValuePrint{#1}
    {\,\XSIMtranslate{point-abbr}}
    {\,\XSIMtranslate{point-abbr}}%
}
\DeclareExerciseTranslations{point-abbr}{German=BE}
\DeclareExerciseTranslations{point}{German=Bewertungseinheit}
\DeclareExerciseTranslations{points}{German=Bewertungseinheiten}

in combination with the minimal layout, the points are printed as (4 Bewertungseinheiten). I would like to suggest to use point-abbr instead, since it would be more "minimal". (in my case (4 BE))

And if you decide to not include it, I could use a local workaround.

Thanks in advance.

cgnieder commented 2 years ago

After thinking about this I tend to not change the template.