Try typing 'E' in Kunstler Script in MS Word. IGCSE Math papers in a particular syllabus uses that.
Answer from Venetia on Stack ExchangeHey all, I've just started using LaTeX for my Discrete Mathematics course and everything has been going relatively well. I'm just at the point where I now need to R symbols, because I have been using $\mathhbb{R}$ for my set of all real numbers notation, but now I need an R symbol for definition of a relationship. I'm also using mathbb for all my set names, including the special sets like Real Numbers(R), All Integers (Z), All Rationals (Q), Universal Set (U), etc., is that good?
I am not sure what you want to achieve, but I think you want to place the label for the universal set at a place where it does not intersect with the surrounding box.
This answer explains how you can use the macro \setpostvennhook to customize the position of the labels. The manual of the package further adds that there are coordinates in all four corners of the venn diagram, which you can use to align the labels. You can also use the options vgap or hgap to increase the margin between the circles and the outer box.
Of course, if the contents of the label is too long, it will eventually "crash" into the right border of the surrounding box ...
\documentclass[border=10pt]{standalone}
\usepackage{tikz}
\usepackage{venndiagram}
\begin{document}
\begin{venndiagram3sets}[labelOnlyA={1}, labelOnlyB={2}, labelOnlyC={}, labelOnlyAB= {}, labelOnlyAC={}, labelOnlyBC={9}, labelABC={3}, vgap=.75cm]
\setpostvennhook{
\node[anchor=south west] at (venn bottom left) {$\xi$ \{4,5,6,7,8,10\}};
}
\end{venndiagram3sets}
\end{document}

You can use the \setpostvennhook to insert arbitrary TikZ code to be drawn after the venn diagram is constructed. Since the default size of the frame doesn't take into account the labels, it can be redrawn here taking that into account. Specifically, using the fit library then a node can be drawn that is guaranteed to encompass the diagram and the non-ABC label. Note that you need the option showframe=false to avoid drawing the original universal set frame.
I've also make a couple of other changes:
- The elements not in the sets A,B,C shouldn't be enclosed in braces. Technically, writing
\{4,5,6,7,8,10\}indicates that the outer region contains one element which is the set containing 4,5,6,7,8,10. I presume that what you want to indicate is that the outer region itself contains those numbers. - To avoid the symbol for the universal set getting confused with the elements, I've used the
\setpostvennhookto place its symbol in the top right corner (which, I think, is a more standard place for it to be). I've also used\mathcal{E}rather than\xi.
\documentclass{book}
%\url{https://tex.stackexchange.com/q/653355/86}
\usepackage{tikz}
\usepackage{venndiagram}
\usetikzlibrary{fit}
\usepackage[left=2.00cm, right=1.00cm, top=3.00cm, bottom=3.00cm]{geometry}
\begin{document}
\begin{venndiagram3sets}[
labelOnlyA={1},
labelOnlyB={2},
labelOnlyC={},
labelOnlyAB= {},
labelOnlyAC={},
labelOnlyBC={9},
labelABC={3},
labelNotABC={4,5,6,7,8,10},
showframe=false,
]
\setpostvennhook{
\node[below left] at (venn top right) {\(\mathcal{E}\)};
\node[fit=(venn top right) (venn bottom left) (labelNotABC),draw] {};
}
\end{venndiagram3sets}
\end{document}

To answer your specific question:
To quote from Leslie Lamport's "LaTeX: A Document Preparation System" (Leslie Lamport initially developed LaTeX):
The ten special characters
# $ % & ~ _ ^ \ { }are used only in LaTeX commands.
...
Seven of those symbols can be produced by typing a \ in front of the corresponding character.
$ & % # _ { } are easy to produce.
In other words, to get { and } you must type \{ and \}. This is because { and } mean something very special to LaTeX. They are used to delimit arguments. So with something like \emph{Hi}, the emphasis starts at the { and finishes at the } (\emph is a command which is used to emphasise text; the standard behaviour is for it to italicise it). In other words, everything enclosed within the braces is emphasised.
As such, if you want to print the symbols { and }, you can't just type the plain symbol. Instead you must "escape" it. The \ is the escape character and it basically tells LaTeX to pay attention. emph is just a word like any other to LaTeX. But \emph is a command to LaTeX. What escaping a { does is cause LaTeX to print a { character.
So to get {2,4,6,8...}, all you need to do is type:
$\{2, 4, 6, 8\dots\}$

To get {x|x is positive and even}, you can do:
$\{x \mid x \text{ is positive and even}\}$

As raised in the comments - this relies on the amsmath package. Instead, you can do:
$\{x \mid x \mbox{ is positive and even}\}$
For most purposes, this has the same effect, but there are minor differences:
Difference between various methods for producing text in math mode
For really nice spacing, follow Hagen von Eitzen's advice and use:
$\{\,x \mid x \text{ is positive and even}\,\}$

As you can see, \, inserts a thin space. There are other commands for inserting space in LaTeX. However, \, is one of only two that can be used outside of math-mode.
But, really, it's important that you gain an understanding of the basic operating principles of LaTeX before you go further and start worrying about how to do specific things; otherwise you're gonna be completely at sea and everything's gonna seem like black magic and nonsense. So I really recommend you have a little look through some basic introductions before diving right in there.
However I learned by doing - I learned by trying it out, I learned by using LaTeX and looking things up whenever I wanted to do something I didn't yet know how to do. That's a very fulfilling, very enjoyable and very practical way to learn - although there are massive holes in my knowledge and, because my approach was very light on theory, I'm only just starting to learn about bad habits I've developed and principles I may have overlooked.
But still, as good as it is to dive in there and get your hands dirty, you have to, have to get a basic idea of what LaTeX is and how it works or you'll probably continue to have a pretty miserable time. It's no wonder you don't like it and everything seems arcane and difficult and a complete pain in the posterior to you!
LaTeX puts at your disposal the package braket that helps you creating beautiful sets, kets and bras for the Dirac notation. In particular
\set{x, \mid x<2}
\ket{\psi}
\bra{\phi}
do the job as simple as that as shown below:
Let $A=\set{x\mid \psi(x)>0}$; also, given
$\ket{\psi}\in\mathcal{H}$, then $\psi(x)\coloneqq\braket{x|\psi}$.

