Tensor in LaTeX (T^{\mu\nu})
- LaTeX command
T^{\mu\nu}- Package
- No package needed: built into LaTeX
- Mode
- Math mode only
Where it is used
A rank-2 contravariant tensor such as the stress-energy tensor, written with two upper Greek indices.
General relativity couples geometry to matter through G_{\mu\nu} = 8\pi G\, T_{\mu\nu}, and conservation reads \nabla_\mu T^{\mu\nu} = 0. Braces group both indices into one superscript; T^\mu\nu would put \nu on the baseline. For mixed tensors, keep horizontal order visible with an empty group: T^{\mu}{}_{\nu} places the lower index after the upper one rather than beneath it. Repeated upper and lower indices follow the Einstein summation convention. Greek indices conventionally run over spacetime, Latin indices over space only.
Minimal compilable example
Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.
\documentclass{article}
\begin{document}
Tensor: $T^{\mu\nu}$
\[ \partial_\mu T^{\mu\nu} = 0, \; T^{\mu}{}_{\nu} = g_{\nu\lambda} T^{\mu\lambda} \]
\end{document}Related symbols
- Christoffel Symbol
\Gamma^{\lambda}_{\mu\nu} - Lambda
\lambda - Partial Time
\frac{\partial}{\partial t} - Omega
\omega - Vector Field
\vec{E} - Psi (Upper)
\Psi
Frequently asked questions
- How do I write Tensor in LaTeX?
- Type T^{\mu\nu} in math mode, for example $\partial_\mu T^{\mu\nu} = 0, \; T^{\mu}{}_{\nu} = g_{\nu\lambda} T^{\mu\lambda}$. It works in plain LaTeX without loading any package.
- Which package do I need for T^{\mu\nu}?
- None. T^{\mu\nu} is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
- Can I use T^{\mu\nu} in text mode, or only in math mode?
- Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $T^{\mu\nu}$ in running text.
최고의 AI LaTeX 편집기, Overleaf 대안
Octree는 15개 이상의 대학의 연구자들이 AI를 사용하여 논문을 더 빠르게 작성하도록 도움
- AI로 아름다운 TikZ 다이어그램 생성
- 이미지를 업로드하고 LaTeX로 원활하게 변환
- 논문 작성 및 서식에 대한 즉각적인 지원 받기