From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: \coloneqq
Date: Sat, 15 Sep 2007 02:03:50 -0400 (EDT) [thread overview]
Message-ID: <alpine.WNT.0.9999.0709150157440.3968@nqvgln> (raw)
In-Reply-To: <m2hclwzu8q.fsf@calaveras.stanford.edu>
On Fri, 14 Sep 2007, Jesse Alama wrote:
> I'd like to use a colon-equals sign symbol to indicate a definition.
> According to The Comprehensive LaTeX Symbol List, this symbol is
> available in the txfonts (LaTeX) package. However, it seems that the
> txfonts support in ConTeXt doesn't contain that symbol. And, in any
> case, a search for \coloneqq on the wiki gave no results. Perhaps the
> symbol I want isn't called coloneqq in ConTeXt, or perhaps the symbol is
> currently missing. How can I get this symbol in my ConTeXt document?
The symbol is called \colonequals. Other colon symbols are (from
math-ext.tex)
%D \macros
%D {centercolon, colonminus, minuscolon, colonequals, equalscolon,
%D colonapprox, approxcolon, colonsim, simcolon, coloncolon,
%D coloncolonminus, minuscoloncolon, coloncolonequals,
%D equalscoloncolon, coloncolonapprox, approxcoloncolon,
%D colonsim, simcoloncolon}
%D
%D In $a := b$ the colon is not vertically centered with the equal
%D to. Also the distance between colon and equal to is a bit large.
%D So, we define a vertically centered colon \tex {centercolon} and
%D a few macros for colon and double colon relation symbols.
%D
%D \startlines
%D \formula {A \centercolon B}
%D \formula {A \colonminus B}
%D \formula {A \minuscolon B}
%D \formula {A \colonequals B}
%D \formula {A \equalscolon B}
%D \formula {A \colonapprox B}
%D \formula {A \approxcolon B}
%D \formula {A \colonsim B}
%D \formula {A \simcolon B}
%D \formula {A \coloncolon B}
%D \formula {A \coloncolonminus B}
%D \formula {A \minuscoloncolon B}
%D \formula {A \coloncolonequals B}
%D \formula {A \equalscoloncolon B}
%D \formula {A \coloncolonapprox B}
%D \formula {A \approxcoloncolon B}
%D \formula {A \colonsim B}
%D \formula {A \simcoloncolon B}
%D \stoplines
The naming is after colonequals.sty rather than mathtools.sty. I find
these names easier to remember, but if you want mathtools type names,
it is easy to create aliases by \let\coloneqq=\colonequals and so on.
Perhaps it is time to create a comprehensive math symbol list for
ConTeXt also....
Aditya
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2007-09-15 6:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-14 23:45 \coloneqq Jesse Alama
2007-09-15 6:03 ` Aditya Mahajan [this message]
2007-09-15 6:32 ` \coloneqq Taco Hoekwater
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=alpine.WNT.0.9999.0709150157440.3968@nqvgln \
--to=adityam@umich.edu \
--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).