chinese characters in an itemize environment
Hi all, If I use: \startitemize[m,packed] \item 三个小矮人 (some chinese characters) \item Die drei Männlein im Walde \stopitemize I get more space between the number and the text in the chinese line as in the latin line. The difference is .3-.4em depending on the fonts. How can I avoid this? Greetings Lutz
Lutz Haseloff wrote:
Hi all,
If I use:
\startitemize[m,packed] \item 三个小矮人 (some chinese characters) \item Die drei Männlein im Walde \stopitemize
I get more space between the number and the text in the chinese line as in the latin line. The difference is .3-.4em depending on the fonts.
How can I avoid this?
just guessing (but worth a try): \setupitemgroups[inbetween=<any fixed dimen>] The default is .5ex, which depends on the current font (see end of core-itm.tex). HTH, Peter
Greetings
Lutz _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Peter Rolf schrieb:
just guessing (but worth a try):
\setupitemgroups[inbetween=<any fixed dimen>]
The default is .5ex, which depends on the current font (see end of core-itm.tex).
HTH, Peter
\setupitemgroups[inbetween=2cm] doesn't work. Iterestingly an inserted \mbox makes the "error" going away: \startitemize[m,packed] \item\mbox{}三个小矮人 \item\mbox{}Die drei Männlein im Walde \stopitemize Thats why i assume, this has to do with the chinese characters, and not only with the different fonts. Greetings Lutz
Lutz Haseloff wrote:
Peter Rolf schrieb:
just guessing (but worth a try):
\setupitemgroups[inbetween=<any fixed dimen>]
The default is .5ex, which depends on the current font (see end of core-itm.tex).
HTH, Peter
\setupitemgroups[inbetween=2cm] doesn't work.
Iterestingly an inserted \mbox makes the "error" going away:
It also works with \hbox{} or \null in front of the chinese text only. So I guess you are right with your assumption, that it's a (chinese) font specific problem. The additional indention of the chinese text is only clearly visible, when you mix the languages. Sorry, can't help you any further. BTW: is this the correct chinese translation? Greetings, Peter
\startitemize[m,packed] \item\mbox{}三个小矮人 \item\mbox{}Die drei Männlein im Walde \stopitemize
Thats why i assume, this has to do with the chinese characters, and not only with the different fonts.
Greetings
Lutz _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Peter Rolf schrieb:
Lutz Haseloff wrote:
Peter Rolf schrieb:
just guessing (but worth a try):
\setupitemgroups[inbetween=<any fixed dimen>]
The default is .5ex, which depends on the current font (see end of core-itm.tex).
HTH, Peter
\setupitemgroups[inbetween=2cm] doesn't work.
Iterestingly an inserted \mbox makes the "error" going away:
It also works with \hbox{} or \null in front of the chinese text only. So I guess you are right with your assumption, that it's a (chinese) font specific problem. The additional indention of the chinese text is only clearly visible, when you mix the languages.
Sorry, can't help you any further. BTW: is this the correct chinese translation?
Greetings, Peter
\startitemize[m,packed] \item\mbox{}三个小矮人 \item\mbox{}Die drei Männlein im Walde \stopitemize
Thats why i assume, this has to do with the chinese characters, and not only with the different fonts.
is there a cleaner way as to define something like \def\myitem{\item\null} ? Greetings Lutz Greetings
participants (2)
-
Lutz Haseloff
-
Peter Rolf