TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

I am looking for the symbol := and the symbol ::=

the first one means "expressed as" (e.g. a sentence A is expressed as a juxtaposition of words bcd) and the second one means "defined as", in various applications of logic and language theory. in Linux, typing := one after one (in kile or lyx) causes vertical misalignment of the characters. I expect the center point between two dots of : and the center line through the two lines of = be on the same line, but often = is positioned too high, and also the space between them is too large, and a negetive space of -0.1 em does not look good.

Anyone like to help, telling me where to find these two symbols?

share|improve this question

marked as duplicate by Werner, lockstep, Claudio Fiandrino, Thorsten, Kurt Jul 24 '13 at 14:57

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Welcome to TeX.SX! Usually, we don't put a greeting or a “thank you” in our posts. While this might seem strange at first, it is not a sign of lack of politeness, but rather part of our trying to keep everything very concise. Accepting and upvoting answers is the preferred way here to say “thank you” to users who helped you. – Kurt Jul 24 '13 at 14:27
@kurt, i already tried detexify, it did not help. i was not familiar with the other two sources.. – Sean Jul 24 '13 at 14:42
up vote 7 down vote accepted




enter image description here

share|improve this answer
ah, i did not know of the mathtools package. – Sean Jul 24 '13 at 14:44

You can make these symbols using txfonts/pxfonts package:

$\coloneqq \Coloneqq$

Note: Also try loading texdoc symbols-a4 in command-line for list of symbols.

share|improve this answer
this is what i was looking for : these symbols in math mode – Sean Jul 24 '13 at 14:43
Usual comment: this changes all the appearance of the document. Anyway, it's better \usepackage{newtxtext,newtxmath}, because these two packages cure some shortcomings of txfonts. – egreg Jul 24 '13 at 15:01

As indicated in the The Comprehensive LaTeX Symbol List at page 31 these symbols can also be obtained in this way (without include new packages)

\mathrel{\mathop:}= enter image description here

\mathrel{\mathop:\mathop:}= enter image description here

for the second add a negative \hspace to have the symbol more condensed:


enter image description here

share|improve this answer
I'd say \mathrel{\mathop:}\mathrel{\mathop:}= because TeX inserts no space between consecutive relation symbols; or \mathrel{\mathop:\!\mathop:}= because TeX inserts a thin space between consecutive operators (no need to guess the exact amount). – egreg Jul 24 '13 at 14:59

Not the answer you're looking for? Browse other questions tagged or ask your own question.