ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Formula starting with brackets
@ 2016-09-13  9:17 Hans Åberg
  2016-09-13  9:23 ` Mikael P. Sundqvist
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Åberg @ 2016-09-13  9:17 UTC (permalink / raw)
  To: mailing list for ConTeXt users

In the example below, using latest ConTeXt, the bracket "[f]” does not show when using \startformula.


\setupbodyfont[xits,10pt]

\setupmathematics[lcgreek=normal, default=normal]

\starttext

\startformula
  [f] = B
\stopformula

$$
[f] = B
$$

\stoptext


___________________________________________________________________________________
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] 3+ messages in thread

* Re: Formula starting with brackets
  2016-09-13  9:17 Formula starting with brackets Hans Åberg
@ 2016-09-13  9:23 ` Mikael P. Sundqvist
  2016-09-13  9:39   ` Hans Åberg
  0 siblings, 1 reply; 3+ messages in thread
From: Mikael P. Sundqvist @ 2016-09-13  9:23 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Tue, Sep 13, 2016 at 11:17 AM, Hans Åberg <haberg-1@telia.com> wrote:
> In the example below, using latest ConTeXt, the bracket "[f]” does not show when using \startformula.
>
>
> \setupbodyfont[xits,10pt]
>
> \setupmathematics[lcgreek=normal, default=normal]
>
> \starttext
>
> \startformula
>   [f] = B
> \stopformula
>
> $$
> [f] = B
> $$
>
> \stoptext
>
>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________

I think it gets interpreted as an (optional) argument to \startformula. Try

\startformula\relax
  [f] = B
\stopformula

/Mikael
___________________________________________________________________________________
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] 3+ messages in thread

* Re: Formula starting with brackets
  2016-09-13  9:23 ` Mikael P. Sundqvist
@ 2016-09-13  9:39   ` Hans Åberg
  0 siblings, 0 replies; 3+ messages in thread
From: Hans Åberg @ 2016-09-13  9:39 UTC (permalink / raw)
  To: mailing list for ConTeXt users


> On 13 Sep 2016, at 11:23, Mikael P. Sundqvist <mickep@gmail.com> wrote:
> 
> On Tue, Sep 13, 2016 at 11:17 AM, Hans Åberg <haberg-1@telia.com> wrote:
>> In the example below, using latest ConTeXt, the bracket "[f]” does not show when using \startformula.

> I think it gets interpreted as an (optional) argument to \startformula.

Yes, I realized that.

> Try
> 
> \startformula\relax
>  [f] = B
> \stopformula

Yes, this works. Thanks for the suggestion.


___________________________________________________________________________________
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] 3+ messages in thread

end of thread, other threads:[~2016-09-13  9:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-13  9:17 Formula starting with brackets Hans Åberg
2016-09-13  9:23 ` Mikael P. Sundqvist
2016-09-13  9:39   ` Hans Åberg

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