Edge in LaTeX (e)
- LaTeX command
e- Package
- No package needed: built into LaTeX
- Mode
- Text and math mode
Where it is used
Lowercase italic e, the usual letter for a single edge of a graph.
An edge e = uv or e = \{u, v\} joins two vertices; in directed graphs, an arc is written e = (u, v) with order mattering. Membership is e \in E(G), and edge weights are w(e). Because e also denotes Euler's number, some authors write that constant upright as \mathrm{e} to avoid confusion when graphs and exponentials appear together, for example in probabilistic arguments. Subscripted edges e_1, \dots, e_m index the columns of an incidence matrix. Endpoints of e are sometimes written as e^- and e^+ for tail and head.
Minimal compilable example
Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.
\documentclass{article}
\begin{document}
Edge: $e$
\[ e = \{u, v\} \in E(G), \quad w(e) \geq 0 \]
\end{document}Related symbols
All Grafentheorie →Frequently asked questions
- How do I write Edge in LaTeX?
- Type e in math mode, for example $e = \{u, v\} \in E(G), \quad w(e) \geq 0$. It works in plain LaTeX without loading any package.
- Which package do I need for e?
- None. e is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
- Can I use e in text mode, or only in math mode?
- Both. e compiles in running text as well as inside $...$; in a formula keep it in math mode so it gets math fonts and spacing.
Beste AI LaTeX Editor, Overleaf Alternatief
Octree helpt onderzoekers van 15+ universiteiten sneller onderzoeksartikelen schrijven met AI
- Genereer mooie TikZ-diagrammen met AI
- Upload afbeelding en converteer naadloos naar LaTeX
- Krijg directe hulp bij het schrijven en opmaken van onderzoeksartikelen