The closed interval is the set of real numbers such that . The open interval is the set of real numbers such that . At an open endpoint, can be or can be . Half-open intervals are written as or .

I’m not sure how Knuth typeset his dots to be evenly spaced.