Tensor in LaTeX (T^{ij}_{kl})

TklijT^{ij}_{kl}
LaTeX command
T^{ij}_{kl}
Package
No package needed: built into LaTeX
Mode
Math mode only

Where it is used

A general tensor of type (2,2), with two upper (contravariant) and two lower (covariant) indices.

Each upper index transforms with the Jacobian and each lower index with its inverse, so contracting an upper with a lower index gives a coordinate-independent result. Written as T^{ij}_{kl}, the lower indices sit directly under the upper ones, which hides index order; for non-symmetric tensors write T^{ij}{}_{kl} so the lower block starts after the upper one. The Riemann tensor R^i{}_{jkl} and elasticity tensor C_{ijkl} are common examples. Indices are italic by default; keep them that way unless they are labels rather than tensor slots.

Minimal compilable example

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

Tijkl ukvl=wijT^{ij}{}_{kl}\, u^k v^l = w^{ij}
\documentclass{article}
\begin{document}
Tensor: $T^{ij}_{kl}$

\[ T^{ij}{}_{kl}\, u^k v^l = w^{ij} \]
\end{document}

Related symbols

All ترميز التنسور →

Frequently asked questions

How do I write Tensor in LaTeX?
Type T^{ij}_{kl} in math mode, for example $T^{ij}{}_{kl}\, u^k v^l = w^{ij}$. It works in plain LaTeX without loading any package.
Which package do I need for T^{ij}_{kl}?
None. T^{ij}_{kl} is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
Can I use T^{ij}_{kl} in text mode, or only in math mode?
Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $T^{ij}_{kl}$ in running text.
Math poweredاكتب LaTeX باستخدام الذكاء الاصطناعي

أفضل محرر LaTeX بالذكاء الاصطناعي، بديل Overleaf

يساعد Octree الباحثين من أكثر من 15 جامعة على كتابة أوراق البحث بشكل أسرع باستخدام الذكاء الاصطناعي

  • أنشئ رسوم TikZ جميلة باستخدام الذكاء الاصطناعي
  • ارفع صورة وحولها إلى LaTeX بسلاسة
  • احصل على مساعدة فورية في كتابة وتنسيق أوراق البحث