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 텐서 표기법 →

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 poweredAI로 LaTeX 작성

최고의 AI LaTeX 편집기, Overleaf 대안

Octree는 15개 이상의 대학의 연구자들이 AI를 사용하여 논문을 더 빠르게 작성하도록 도움

  • AI로 아름다운 TikZ 다이어그램 생성
  • 이미지를 업로드하고 LaTeX로 원활하게 변환
  • 논문 작성 및 서식에 대한 즉각적인 지원 받기