Tensor Rank in LaTeX ((p, q))

(p,q)(p, q)
LaTeX command
(p, q)
Package
No package needed: built into LaTeX
Mode
Text and math mode

Where it is used

Type of a tensor: p contravariant (upper) and q covariant (lower) indices, sometimes loosely called its rank.

A (p, q) tensor is an element of V^{\otimes p} \otimes (V^*)^{\otimes q}, so a vector is (1, 0), a covector (0, 1), a linear map (1, 1) and a metric (0, 2). Terminology varies: some books call p + q the rank or order and reserve type for the pair. Contraction maps type (p, q) to (p-1, q-1). In LaTeX the pair is just parentheses with a comma; a thin space after the comma is automatic in math mode, so do not add extra spacing.

Minimal compilable example

Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.

T∈V⊗p⊗(V∗)⊗qT \in V^{\otimes p} \otimes (V^*)^{\otimes q}
\documentclass{article}
\begin{document}
Tensor Rank: $(p, q)$

\[ T \in V^{\otimes p} \otimes (V^*)^{\otimes q} \]
\end{document}

Related symbols

All Notasi Tensor →

Frequently asked questions

How do I write Tensor Rank in LaTeX?
Type (p, q) in math mode, for example $T \in V^{\otimes p} \otimes (V^*)^{\otimes q}$. It works in plain LaTeX without loading any package.
Which package do I need for (p, q)?
None. (p, q) is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
Can I use (p, q) in text mode, or only in math mode?
Both. (p, q) 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