Document itemize bullets

Make the unicode value explicit as we do elsewhere.

Also change the value used for labeliv, since the current one may be
square with some fonts.
This commit is contained in:
Jean-Marc Lasgouttes 2019-04-03 12:03:24 +02:00
parent 283ac91aa7
commit 5e2b24c2a9

View File

@ -5153,16 +5153,20 @@ void Buffer::Impl::setLabel(ParIterator & it, UpdateType utype) const
docstring itemlabel;
switch (par.itemdepth) {
case 0:
// • U+2022 BULLET
itemlabel = char_type(0x2022);
break;
case 1:
// U+2013 EN DASH
itemlabel = char_type(0x2013);
break;
case 2:
// U+2217 ASTERISK OPERATOR
itemlabel = char_type(0x2217);
break;
case 3:
itemlabel = char_type(0x2219); // or 0x00b7
// · U+00B7 MIDDLE DOT
itemlabel = char_type(0x00b7);
break;
}
par.params().labelString(itemlabel);