* Asterisk
@ 2015-06-09 7:21 Procházka Lukáš Ing. - Pontex s. r. o.
2015-06-09 7:46 ` Asterisk Philipp A.
2015-06-09 9:02 ` Asterisk Wolfgang Schuster
0 siblings, 2 replies; 6+ messages in thread
From: Procházka Lukáš Ing. - Pontex s. r. o. @ 2015-06-09 7:21 UTC (permalink / raw)
To: ConTeXt
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.)
Thank you in advance.
Best regards,
Lukas
--
Ing. Lukáš Procházka | mailto:LPr@pontex.cz
Pontex s. r. o. | mailto:pontex@pontex.cz | http://www.pontex.cz
Bezová 1658
147 14 Praha 4
Tel: +420 241 096 751
Fax: +420 244 461 038
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Asterisk
2015-06-09 7:21 Asterisk Procházka Lukáš Ing. - Pontex s. r. o.
@ 2015-06-09 7:46 ` Philipp A.
2015-06-09 8:24 ` Asterisk Procházka Lukáš Ing. - Pontex s. r. o.
2015-06-09 9:02 ` Asterisk Wolfgang Schuster
1 sibling, 1 reply; 6+ messages in thread
From: Philipp A. @ 2015-06-09 7:46 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1563 bytes --]
just copy some symbol from here:
http://en.wikipedia.org/wiki/Asterisk#Encodings
and be sure to use a font containing them.
alternatively define a command which temporarily switches to such a font
in, displays the symbol, and switches back.
Procházka Lukáš Ing. - Pontex s. r. o. <LPr@pontex.cz> schrieb am Di., 9.
Juni 2015 um 09:25 Uhr:
> 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.)
>
> Thank you in advance.
>
> Best regards,
>
> Lukas
>
>
> --
> Ing. Lukáš Procházka | mailto:LPr@pontex.cz
> Pontex s. r. o. | mailto:pontex@pontex.cz | http://www.pontex.cz
> Bezová 1658
> 147 14 Praha 4
>
> Tel: +420 241 096 751
> Fax: +420 244 461 038
>
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@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
>
> ___________________________________________________________________________________
[-- Attachment #1.2: Type: text/html, Size: 2578 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Asterisk
2015-06-09 7:46 ` Asterisk Philipp A.
@ 2015-06-09 8:24 ` Procházka Lukáš Ing. - Pontex s. r. o.
0 siblings, 0 replies; 6+ messages in thread
From: Procházka Lukáš Ing. - Pontex s. r. o. @ 2015-06-09 8:24 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hello,
could you provide a MWE?
---- A file in UTF-8
\starttext
% Let's use the default Ctx font
% What to come here?
\stoptext
----
Lukas
On Tue, 09 Jun 2015 09:46:55 +0200, Philipp A. <flying-sheep@web.de> wrote:
> just copy some symbol from here:
> http://en.wikipedia.org/wiki/Asterisk#Encodings
>
> and be sure to use a font containing them.
>
> alternatively define a command which temporarily switches to such a font
> in, displays the symbol, and switches back.
>
> Procházka Lukáš Ing. - Pontex s. r. o. <LPr@pontex.cz> schrieb am Di., 9.
> Juni 2015 um 09:25 Uhr:
>
>> 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.)
>>
>> Thank you in advance.
>>
>> Best regards,
>>
>> Lukas
--
Ing. Lukáš Procházka | mailto:LPr@pontex.cz
Pontex s. r. o. | mailto:pontex@pontex.cz | http://www.pontex.cz
Bezová 1658
147 14 Praha 4
Tel: +420 241 096 751
Fax: +420 244 461 038
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Asterisk
2015-06-09 7:21 Asterisk Procházka Lukáš Ing. - Pontex s. r. o.
2015-06-09 7:46 ` Asterisk Philipp A.
@ 2015-06-09 9:02 ` Wolfgang Schuster
2015-06-09 10:25 ` Asterisk Procházka Lukáš Ing. - Pontex s. r. o.
1 sibling, 1 reply; 6+ messages in thread
From: Wolfgang Schuster @ 2015-06-09 9:02 UTC (permalink / raw)
To: mailing list for ConTeXt users
> Am 09.06.2015 um 09:21 schrieb Procházka Lukáš Ing. - Pontex s. r. o. <LPr@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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Asterisk
2015-06-09 9:02 ` Asterisk Wolfgang Schuster
@ 2015-06-09 10:25 ` Procházka Lukáš Ing. - Pontex s. r. o.
2015-06-09 10:50 ` Asterisk Wolfgang Schuster
0 siblings, 1 reply; 6+ messages in thread
From: Procházka Lukáš Ing. - Pontex s. r. o. @ 2015-06-09 10:25 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1: Type: text/plain, Size: 3304 bytes --]
Hello,
thank you, that's great.
One more question - how to use another symbol, "bigstar" (see "symbols-a4.pdf" or the attached image)?
I tried the following code, but with no success:
----
\starttext
Ttt \symbol[bigstar]
Aaa \bigstar
Bbb \symbol[mathabx][bigstar]
\stoptext
----
Best regards,
Lukas
On Tue, 09 Jun 2015 11:02:05 +0200, Wolfgang Schuster <schuster.wolfgang@gmail.com> wrote:
>
>> Am 09.06.2015 um 09:21 schrieb Procházka Lukáš Ing. - Pontex s. r. o. <LPr@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
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
>
> maillist : ntg-context@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
> ___________________________________________________________________________________
--
Ing. Lukáš Procházka | mailto:LPr@pontex.cz
Pontex s. r. o. | mailto:pontex@pontex.cz | http://www.pontex.cz
Bezová 1658
147 14 Praha 4
Tel: +420 241 096 751
Fax: +420 244 461 038
[-- Attachment #2: t-Ast.mkiv --]
[-- Type: application/octet-stream, Size: 1388 bytes --]
\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
Ttt \symbol[bigstar]
Aaa \bigstar
Bbb \symbol[mathabx][bigstar]
\stoptext
[-- Attachment #3: Clipboard01_.png --]
[-- Type: image/png, Size: 5895 bytes --]
[-- Attachment #4: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Asterisk
2015-06-09 10:25 ` Asterisk Procházka Lukáš Ing. - Pontex s. r. o.
@ 2015-06-09 10:50 ` Wolfgang Schuster
0 siblings, 0 replies; 6+ messages in thread
From: Wolfgang Schuster @ 2015-06-09 10:50 UTC (permalink / raw)
To: mailing list for ConTeXt users
> Am 09.06.2015 um 12:25 schrieb Procházka Lukáš Ing. - Pontex s. r. o. <LPr@pontex.cz>:
>
> Hello,
>
> thank you, that's great.
>
> One more question - how to use another symbol, "bigstar" (see "symbols-a4.pdf" or the attached image)?
The document you mention is only relevant for LaTeX.
> I tried the following code, but with no success:
>
> ----
> \starttext
> Ttt \symbol[bigstar]
>
> Aaa \bigstar
>
> Bbb \symbol[mathabx][bigstar]
>
> \stoptext
You have to use math mode to show the symbol but not every font contains it.
\setupbodyfont[xits]
\starttext
$ \bigstar \quad ★ $
\stoptext
The better solution is to use a symbol font like Font Awesome [1] which contains the symbol you want to use.
[1] http://fontawesome.io/icon/star
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2015-06-09 10:50 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-09 7:21 Asterisk Procházka Lukáš Ing. - Pontex s. r. o.
2015-06-09 7:46 ` Asterisk Philipp A.
2015-06-09 8:24 ` Asterisk Procházka Lukáš Ing. - Pontex s. r. o.
2015-06-09 9:02 ` Asterisk Wolfgang Schuster
2015-06-09 10:25 ` Asterisk Procházka Lukáš Ing. - Pontex s. r. o.
2015-06-09 10:50 ` Asterisk Wolfgang Schuster
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).