[NTG-context] Asterisk

Wolfgang Schuster schuster.wolfgang at gmail.com
Tue Jun 9 11:02:05 CEST 2015


> Am 09.06.2015 um 09:21 schrieb Procházka Lukáš Ing. - Pontex s. r. o. <LPr at pontex.cz>:
> 
> Hello,
> 
> how to typeset "centerd asterisk" ("*") in Ctx?
> 
> I mean the symbol which is used in the third level of itemization (http://wiki.contextgarden.net/Enumerations) or which can be typeset by \textasteriskcentered in LaTeX.
> 
> (I cannot find the symbol definition in Ctx itemize-command definition (source files) and simple writing "\textasteriskcentered" doesn't work.)

The symbols in different itemise levels can be shown with \symbol[1], \symbol[2] etc. but since these numbered symbols can be redefined it is better to use the named symbol to access the star with \symbol[star].

The following example shows a few of the predefined symbols.

\starttext

\starttabulate[|l|c|]
\NC \bf Command                 \NC \bf Symbol           \NC\NR
\TB
\NC \type{\symbol[1]}           \NC \symbol[1]           \NC\NR
\NC \type{\symbol[2]}           \NC \symbol[2]           \NC\NR
\NC \type{\symbol[3]}           \NC \symbol[3]           \NC\NR
\NC \type{\symbol[4]}           \NC \symbol[4]           \NC\NR
\NC \type{\symbol[5]}           \NC \symbol[5]           \NC\NR
\NC \type{\symbol[6]}           \NC \symbol[6]           \NC\NR
\NC \type{\symbol[7]}           \NC \symbol[7]           \NC\NR
\NC \type{\symbol[8]}           \NC \symbol[8]           \NC\NR
\TB
\NC \type{\symbol[bullet]}      \NC \symbol[bullet]      \NC\NR
\NC \type{\symbol[dash]}        \NC \symbol[dash]        \NC\NR
\NC \type{\symbol[star]}        \NC \symbol[star]        \NC\NR
\NC \type{\symbol[triangle]}    \NC \symbol[triangle]    \NC\NR
\NC \type{\symbol[circle]}      \NC \symbol[circle]      \NC\NR
\NC \type{\symbol[square]}      \NC \symbol[square]      \NC\NR
\NC \type{\symbol[diamond]}     \NC \symbol[diamond]     \NC\NR
\TB
\NC \type{\symbol[smallcircle]} \NC \symbol[smallcircle] \NC\NR
\NC \type{\symbol[medcircle]}   \NC \symbol[medcircle]   \NC\NR
\NC \type{\symbol[bigcircle]}   \NC \symbol[bigcircle]   \NC\NR
\stoptabulate

\stoptext

Wolfgang


More information about the ntg-context mailing list