ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Charles P. Schaum" <verbo.solo@sbcglobal.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: unicode feature request
Date: Fri, 06 Jun 2008 22:05:31 -0500	[thread overview]
Message-ID: <1212807931.11548.8.camel@elbereth> (raw)
In-Reply-To: <20080606201813.GA12155@gaston.couberia.bzh>

You should just be able to drop in the math code as such:

\starttext
This is an example of the $\le$ operator.
\stoptext

You will get the proper encoding from the PDF generated.

You could theoretically do:

\def\LE{$\le$}

\starttext
This is an example of the \LE\ operator.
\stoptext

The reason why this is so is because the operators are designed to look
like proper math typesetting, what usually does not happen in many
situations with normal text. TeX was DEK's solution to typesetting
mathematically-oriented books and he would be unlikely to introduce a
counter-intuitive concept.

Charles

On Fri, 2008-06-06 at 22:18 +0200, Peter Münster wrote:
> Hello,
> 
> Just as the signs <, >, + and −, it would be nice if also other signs such
> as ≤ (less-than or equal to, 2264) or ⇒ (rightwards double arrow, 21D2)
> worked in text mode and not only in math mode.
> 
> Cheers, Peter
> 

___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2008-06-07  3:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-06 20:18 Peter Münster
2008-06-07  3:05 ` Charles P. Schaum [this message]
2008-06-07  8:36 ` Hans Hagen
2008-06-11 15:37   ` Peter Münster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1212807931.11548.8.camel@elbereth \
    --to=verbo.solo@sbcglobal.net \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).