
Am 24.02.2025 um 04:22 schrieb autumnus:
Thanks for the solution.
[...]
Maybe we can extend the functionality of language. For example, when switching languages, switch the script, switch the font, switch the indentation, switch the line spacing, and switch the paragraph spacing. This can be helpful for bilingual documentation.
In my opinion you should create an environment (e.g. \definestartstop[chinese]) which sets the apprpriate values for linespacing etc. The language switch isn't the proper hook for this because you prbably need it in the middle of a paragraph to change the lanuage for a single word etc. Another solution is to use the paragraph environment and create named paragraphs for each language, this can also be done with extreme tables and named table cells (e.g. \startxcell[chinese]). Wolfgang