For #1, I've also seen leftarrow; this is the notation used, for instance, in the programming language scala: The set comprehension {f(x) | x ∈ X and P(x) is true} becomes the "for" comprehension for (x <- X if P(x)) yield f(x). Web programming languages with comprehensions tend to use "in" or "of": JavaScript (ES6): [for (x of X) if P(x) f(x)] Haxe3: [for (x in X) if P(x) f(x)] CoffeeScript, Python: [f(x) for (x in X) if P(x)] Here's a wiki page on how it's done in lots of languages: http://en.wikipedia.org/wiki/List_comprehension On Wed, Jun 11, 2014 at 9:59 AM, Marc LeBrun <mlb@well.com> wrote:
Two random math typography questions:
1. Any opinions on the best symbol for "such that"? I've seen colon, vertical-bar, and flipped-epsilon/member-of.
2. A colleague asks how to LaTex a symbol for "loves" (hey, it's about social discovery graphs) consisting of a heart overlaid with an arrow (left-to-right, or bidirectional when requited). Any recipes?
Thanks! If you prefer, feel free to just reply to me directly: mlb@well.com
_______________________________________________ math-fun mailing list math-fun@mailman.xmission.com https://mailman.xmission.com/cgi-bin/mailman/listinfo/math-fun
-- Mike Stay - metaweta@gmail.com http://www.cs.auckland.ac.nz/~mike http://reperiendi.wordpress.com