commit 5e2b24c2a9f0d0aae7eb6ac7665b70d0601c7c73
Author: Jean-Marc Lasgouttes <[email protected]>
Date: Wed Apr 3 12:03:24 2019 +0200
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.
---
src/Buffer.cpp | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/src/Buffer.cpp b/src/Buffer.cpp
index 388fbe1..854dd73 100644
--- a/src/Buffer.cpp
+++ b/src/Buffer.cpp
@@ -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);