Scalar Curvature in LaTeX (R)
- LaTeX command
R- Package
- No package needed: built into LaTeX
- Mode
- Text and math mode
Where it is used
Scalar curvature: the full trace of the Ricci tensor, a single number at each point of a Riemannian manifold.
It is defined by R = g^{ij} R_{ij}, and in two dimensions it equals twice the Gaussian curvature K. The Einstein-Hilbert action integrates it, S = \int R \sqrt{-g}\, d^4x, and the Yamabe problem asks for a conformal metric of constant R. Because a bare R also names the reals, a relation, or a radius, many authors write \mathrm{Scal} or s instead; never use R for \mathbb{R} in the same paper. Typeset it as plain italic R in math mode.
Minimal compilable example
Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.
\documentclass{article}
\begin{document}
Scalar Curvature: $R$
\[ R = g^{ij} R_{ij} \]
\end{document}Related symbols
- Metric Tensor
g_{ij} - Ricci Tensor
R_{ij} - Inverse Metric
g^{ij} - Riemann Curvature
R^l_{ijk} - Exterior Derivative
d\omega - Christoffel Symbol
\Gamma^k_{ij}
Frequently asked questions
- How do I write Scalar Curvature in LaTeX?
- Type R in math mode, for example $R = g^{ij} R_{ij}$. It works in plain LaTeX without loading any package.
- Which package do I need for R?
- None. R is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
- Can I use R in text mode, or only in math mode?
- Both. R compiles in running text as well as inside $...$; in a formula keep it in math mode so it gets math fonts and spacing.