Vertex in LaTeX (v)
- LaTeX command
v- Package
- No package needed: built into LaTeX
- Mode
- Text and math mode
Where it is used
Lowercase italic v, the conventional letter for a single vertex of a graph.
Vertices are written with lowercase letters such as u, v, w, and membership is v \in V(G). The degree of a vertex is \deg(v), its neighborhood N(v), and an edge between two vertices is often written uv or \{u, v\}. Since this is a plain letter, the main concern is consistency: do not reuse v for a vector or velocity in the same text. Indexing with subscripts, v_1, \dots, v_n, gives an ordering useful for adjacency matrices. When vertices carry labels or weights, functions like w(v) keep notation clean.
Minimal compilable example
Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.
\documentclass{article}
\begin{document}
Vertex: $v$
\[ \sum_{v \in V(G)} \deg(v) = 2|E(G)| \]
\end{document}Related symbols
All Grafentheorie →Frequently asked questions
- How do I write Vertex in LaTeX?
- Type v in math mode, for example $\sum_{v \in V(G)} \deg(v) = 2|E(G)|$. It works in plain LaTeX without loading any package.
- Which package do I need for v?
- None. v is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
- Can I use v in text mode, or only in math mode?
- Both. v 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