[NTG-context] Smaller bullet points

Hans Hagen pragma at wxs.nl
Sun Nov 29 19:41:38 CET 2015


On 11/29/2015 7:33 PM, Kate F wrote:
> On 29 November 2015 at 17:51, Hans Hagen <pragma at wxs.nl> wrote:
>> On 11/29/2015 5:55 PM, Kate F wrote:
>>>
>>> Hi,
>>>
>>> I'm defining a slightly smaller bullet point symbol:
>>>
>>>    \definesymbol[smallbullet][\small\bullet]
>>>    \setupitemize[1][smallbullet]
>>>
>>> This aligns the smaller bullet point to the baseline of text, which is
>>> too low. I'd like to have it vertically centered, such that it aligns
>>> in the middle of where the regular-sized \bullet would be. I tried
>>> using \inframed[height=\lineheight], but I couldn't find a way to make
>>> that end up in the right place.
>>
>>
>> \definesymbol
>>    [smallbullet]
>>    [\raise.1ex\hbox{\mathematics{\scriptstyle\bullet}}]
>>
>
> Thanks! Where does the .1ex come from? Is that value derived from some
> measurement, or does it just look about right?

the x height


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list