ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \mathextensible{"21FE}
@ 2014-04-24 16:24 Elspeth McGullicuddy
  2014-04-24 20:32 ` \mathextensible{"21FE} Wolfgang Schuster
  0 siblings, 1 reply; 5+ messages in thread
From: Elspeth McGullicuddy @ 2014-04-24 16:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Dear all,
The following example doesn't work for me:

\setupbodyfont[xits]
\starttext
\math{x\mathextensible{"2194}{hello}{}y}
\math{x\mathextensible{"21FE}{hello}{}y}
\math{\char"21FE}
\stoptext

I found the symbol which I needed there:
http://en.wikipedia.org/wiki/Arrow_%28symbol%29#Arrows_in_Unicode
and there:
http://milde.users.sourceforge.net/LUCR/Math/unimathcmds.pdf

Kind regards,
Chris
___________________________________________________________________________________
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] 5+ messages in thread

* Re: \mathextensible{"21FE}
  2014-04-24 16:24 \mathextensible{"21FE} Elspeth McGullicuddy
@ 2014-04-24 20:32 ` Wolfgang Schuster
  2014-04-24 21:06   ` \mathextensible{"21FE} Elspeth McGullicuddy
  0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2014-04-24 20:32 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 24.04.2014 um 18:24 schrieb Elspeth McGullicuddy <elspethmcgullicuddy@gmail.com>:

> Dear all,
> The following example doesn't work for me:
> 
> \setupbodyfont[xits]
> \starttext
> \math{x\mathextensible{"2194}{hello}{}y}
> \math{x\mathextensible{"21FE}{hello}{}y}
> \math{\char"21FE}
> \stoptext
> 
> I found the symbol which I needed there:
> http://en.wikipedia.org/wiki/Arrow_%28symbol%29#Arrows_in_Unicode
> and there:
> http://milde.users.sourceforge.net/LUCR/Math/unimathcmds.pdf

\setupbodyfont[xits]

\starttext

\math{a \leftrightarrow b \rightarrowtriangle c}

\math{a ↔ b ⇾ c}

\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] 5+ messages in thread

* Re: \mathextensible{"21FE}
  2014-04-24 20:32 ` \mathextensible{"21FE} Wolfgang Schuster
@ 2014-04-24 21:06   ` Elspeth McGullicuddy
  2014-04-24 21:25     ` \mathextensible{"21FE} Wolfgang Schuster
  0 siblings, 1 reply; 5+ messages in thread
From: Elspeth McGullicuddy @ 2014-04-24 21:06 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Thanks for the answer,

I wanted to use to use the mechanism described in "about.pdf" for
extensible arrows with possibly text above, under...
I've had a look at the "xits-math.tma".
Though U+2194 and U+21FE are both arrows, U+2194 has an "horizontal
part" field in contrast to U+21FE how hasn't.
So I guess the "otf" font might be the culprit.
And meddle with fonts is impossible a task.

For the present I will content myself with something like
\math{\overset{f}{-\kern-1ex\rightarrowtriangle}}
There might be a better way to achieve that in Context, I don't know.

Chris

On Thu, Apr 24, 2014 at 10:32 PM, Wolfgang Schuster
<schuster.wolfgang@gmail.com> wrote:
>
> Am 24.04.2014 um 18:24 schrieb Elspeth McGullicuddy <elspethmcgullicuddy@gmail.com>:
>
>> Dear all,
>> The following example doesn't work for me:
>>
>> \setupbodyfont[xits]
>> \starttext
>> \math{x\mathextensible{"2194}{hello}{}y}
>> \math{x\mathextensible{"21FE}{hello}{}y}
>> \math{\char"21FE}
>> \stoptext
>>
>> I found the symbol which I needed there:
>> http://en.wikipedia.org/wiki/Arrow_%28symbol%29#Arrows_in_Unicode
>> and there:
>> http://milde.users.sourceforge.net/LUCR/Math/unimathcmds.pdf
>
> \setupbodyfont[xits]
>
> \starttext
>
> \math{a \leftrightarrow b \rightarrowtriangle c}
>
> \math{a ↔ b ⇾ c}
>
> \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
> ___________________________________________________________________________________
___________________________________________________________________________________
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] 5+ messages in thread

* Re: \mathextensible{"21FE}
  2014-04-24 21:06   ` \mathextensible{"21FE} Elspeth McGullicuddy
@ 2014-04-24 21:25     ` Wolfgang Schuster
  2014-04-24 22:43       ` \mathextensible{"21FE} Elspeth McGullicuddy
  0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2014-04-24 21:25 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 24.04.2014 um 23:06 schrieb Elspeth McGullicuddy <elspethmcgullicuddy@gmail.com>:

> Thanks for the answer,
> 
> I wanted to use to use the mechanism described in "about.pdf" for
> extensible arrows with possibly text above, under...
> I've had a look at the "xits-math.tma".
> Though U+2194 and U+21FE are both arrows, U+2194 has an "horizontal
> part" field in contrast to U+21FE how hasn't.
> So I guess the "otf" font might be the culprit.
> And meddle with fonts is impossible a task.
> 
> For the present I will content myself with something like
> \math{\overset{f}{-\kern-1ex\rightarrowtriangle}}
> There might be a better way to achieve that in Context, I don't know.

\setupbodyfont[xits]

\starttext

\starttabulate[|l|lm|]
\NC \tex{overleftarrow}          \NC \overleftarrow{top}           \NC\NR
\NC \tex{overrightarrow}         \NC \overrightarrow{text}         \NC\NR
\NC \tex{overleftrightarrow}     \NC \overleftrightarrow{text}     \NC\NR
\NC \tex{overtwoheadleftarrow}   \NC \overtwoheadleftarrow{text}   \NC\NR
\NC \tex{overtwoheadrightarrow}  \NC \overtwoheadrightarrow{text}  \NC\NR
\NC \tex{texoverleftharpoondown} \NC \overleftharpoondown{text}    \NC\NR
\NC \tex{overleftharpoonup}      \NC \overleftharpoonup{text}      \NC\NR
\NC \tex{overrightharpoondown}   \NC \overrightharpoondown{text}   \NC\NR
\NC \tex{overrightharpoonup}     \NC \overrightharpoonup{text}     \NC\NR
\TB
\NC \tex{underleftarrow}         \NC \underleftarrow{text}         \NC\NR
\NC \tex{underrightarrow}        \NC \underrightarrow{text}        \NC\NR
\NC \tex{underleftrightarrow}    \NC \underleftrightarrow{text}    \NC\NR
\NC \tex{undertwoheadleftarrow}  \NC \undertwoheadleftarrow{text}  \NC\NR
\NC \tex{undertwoheadrightarrow} \NC \undertwoheadrightarrow{text} \NC\NR
\NC \tex{underleftharpoondown}   \NC \underleftharpoondown{text}   \NC\NR
\NC \tex{underleftharpoonup}     \NC \underleftharpoonup{text}     \NC\NR
\NC \tex{underrightharpoondown}  \NC \underrightharpoondown{text}  \NC\NR
\NC \tex{underrightharpoonup}    \NC \underrightharpoonup{text}    \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] 5+ messages in thread

* Re: \mathextensible{"21FE}
  2014-04-24 21:25     ` \mathextensible{"21FE} Wolfgang Schuster
@ 2014-04-24 22:43       ` Elspeth McGullicuddy
  0 siblings, 0 replies; 5+ messages in thread
From: Elspeth McGullicuddy @ 2014-04-24 22:43 UTC (permalink / raw)
  To: mailing list for ConTeXt users

In about.pdf on can see that U+21FE (rightarrowtriangle) is eligible
for use with \mathextensible.
When one look at the code for \mathextensible in "math-stc.mkvi", one
can see there is a mechanism of fallback.
So, since the character is implemented in "xits", there might be a way
to have "\mathextensible{"21FE} to work...

Chris

On Thu, Apr 24, 2014 at 11:25 PM, Wolfgang Schuster
<schuster.wolfgang@gmail.com> wrote:
>
> Am 24.04.2014 um 23:06 schrieb Elspeth McGullicuddy <elspethmcgullicuddy@gmail.com>:
>
>> Thanks for the answer,
>>
>> I wanted to use to use the mechanism described in "about.pdf" for
>> extensible arrows with possibly text above, under...
>> I've had a look at the "xits-math.tma".
>> Though U+2194 and U+21FE are both arrows, U+2194 has an "horizontal
>> part" field in contrast to U+21FE how hasn't.
>> So I guess the "otf" font might be the culprit.
>> And meddle with fonts is impossible a task.
>>
>> For the present I will content myself with something like
>> \math{\overset{f}{-\kern-1ex\rightarrowtriangle}}
>> There might be a better way to achieve that in Context, I don't know.
>
> \setupbodyfont[xits]
>
> \starttext
>
> \starttabulate[|l|lm|]
> \NC \tex{overleftarrow}          \NC \overleftarrow{top}           \NC\NR
> \NC \tex{overrightarrow}         \NC \overrightarrow{text}         \NC\NR
> \NC \tex{overleftrightarrow}     \NC \overleftrightarrow{text}     \NC\NR
> \NC \tex{overtwoheadleftarrow}   \NC \overtwoheadleftarrow{text}   \NC\NR
> \NC \tex{overtwoheadrightarrow}  \NC \overtwoheadrightarrow{text}  \NC\NR
> \NC \tex{texoverleftharpoondown} \NC \overleftharpoondown{text}    \NC\NR
> \NC \tex{overleftharpoonup}      \NC \overleftharpoonup{text}      \NC\NR
> \NC \tex{overrightharpoondown}   \NC \overrightharpoondown{text}   \NC\NR
> \NC \tex{overrightharpoonup}     \NC \overrightharpoonup{text}     \NC\NR
> \TB
> \NC \tex{underleftarrow}         \NC \underleftarrow{text}         \NC\NR
> \NC \tex{underrightarrow}        \NC \underrightarrow{text}        \NC\NR
> \NC \tex{underleftrightarrow}    \NC \underleftrightarrow{text}    \NC\NR
> \NC \tex{undertwoheadleftarrow}  \NC \undertwoheadleftarrow{text}  \NC\NR
> \NC \tex{undertwoheadrightarrow} \NC \undertwoheadrightarrow{text} \NC\NR
> \NC \tex{underleftharpoondown}   \NC \underleftharpoondown{text}   \NC\NR
> \NC \tex{underleftharpoonup}     \NC \underleftharpoonup{text}     \NC\NR
> \NC \tex{underrightharpoondown}  \NC \underrightharpoondown{text}  \NC\NR
> \NC \tex{underrightharpoonup}    \NC \underrightharpoonup{text}    \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
> ___________________________________________________________________________________
___________________________________________________________________________________
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] 5+ messages in thread

end of thread, other threads:[~2014-04-24 22:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-24 16:24 \mathextensible{"21FE} Elspeth McGullicuddy
2014-04-24 20:32 ` \mathextensible{"21FE} Wolfgang Schuster
2014-04-24 21:06   ` \mathextensible{"21FE} Elspeth McGullicuddy
2014-04-24 21:25     ` \mathextensible{"21FE} Wolfgang Schuster
2014-04-24 22:43       ` \mathextensible{"21FE} Elspeth McGullicuddy

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).