Edge in LaTeX (e)

ee
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.

e={u,v}∈E(G),w(e)≥0e = \{u, v\} \in E(G), \quad w(e) \geq 0
\documentclass{article}
\begin{document}
Edge: $e$

\[ e = \{u, v\} \in E(G), \quad w(e) \geq 0 \]
\end{document}

Related symbols

All Teori Graf →

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.
Math poweredTulis LaTeX menggunakan AI

Editor LaTeX AI Terbaik, Alternatif Overleaf

Octree membantu penyelidik dari 15+ universiti menulis kertas penyelidikan dengan lebih cepat menggunakan AI

  • Jana diagram TikZ yang cantik menggunakan AI
  • Muat naik imej dan tukar ke LaTeX dengan lancar
  • Dapatkan bantuan segera untuk menulis dan memformat kertas penyelidikan