[NTG-context] how to insert symbols into document?

Otared Kavian otared at gmail.com
Mon Apr 13 06:15:28 CEST 2015


Hi,

You can use the mathmode to access those characters, as in the following example:

\starttext
This is \type{$\blacklozenge$} $\blacklozenge$

This is \type{$\lozenge$} $\lozenge$
\stoptext

If you want to know the name of some specific characters you can use the following code, typeset in mkii.
(Unfortunately in mkiv the command \showmathcharacters is made unavailable… There is another command which gives a huge amount of informations on all such characters, but not a simple table like the one you get in mkii).

%%%% begin show-math-mkii.tex
% To see all the math characters available in a font
% typeset this in mkii
\starttext
\showmathcharacters
\stoptext
%%%% begin show-math-mkii.tex


Best regards: OK


> On 13 Apr 2015, at 01:29, Csikos Bela <bcsikos425 at freemail.hu> wrote:
> 
> Hello context users:
> 
> I would like to insert symbols into my document, especially black-diamond and losenge
> symbols. I read symbols page at contextgarden but still don't know how to do it.
> 
> I also tried \showsymbolset[was] etc but the symbols but I did not find these (and many
> other symbols either) in the output pages.
> 
> I found that symb-imp-mis.mkiv file defines this symbol (line 49) but I don't know how to
> make it show. Do I have to load specific symbol fonts? If yes how can I find out which font has the given symbols? 
> 
> What I tried so far included:
> 
> % begin code
> \usesymbols[imp-mis]
> \starttext
> 
>> 
> \blackdiamond
> 
> \symbol [blackdiamond]
> % end code
> 
> None of these show anything.
> 
> Thanks in advance,
> 
> bcsikos
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context at ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________



More information about the ntg-context mailing list