Edge in LaTeX (e)
- LaTeX command
e- Package
- No package needed: built into LaTeX
- Mode
- Text and math mode
Try Edge in a real LaTeX document
Open a ready-to-compile document that already uses e, with the right packages loaded. Edit it and see the PDF, no install needed.
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 نظرية البيان →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.
أفضل محرر LaTeX بالذكاء الاصطناعي، بديل Overleaf
يساعد Octree الباحثين من أكثر من 15 جامعة على كتابة أوراق البحث بشكل أسرع باستخدام الذكاء الاصطناعي
- أنشئ رسوم TikZ جميلة باستخدام الذكاء الاصطناعي
- ارفع صورة وحولها إلى LaTeX بسلاسة
- احصل على مساعدة فورية في كتابة وتنسيق أوراق البحث