summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/fonts/firamath/firamath-demo.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/fonts/firamath/firamath-demo.tex')
-rw-r--r--Master/texmf-dist/doc/fonts/firamath/firamath-demo.tex50
1 files changed, 50 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/fonts/firamath/firamath-demo.tex b/Master/texmf-dist/doc/fonts/firamath/firamath-demo.tex
new file mode 100644
index 00000000000..f9e6d896284
--- /dev/null
+++ b/Master/texmf-dist/doc/fonts/firamath/firamath-demo.tex
@@ -0,0 +1,50 @@
+\documentclass[aspectratio=169]{beamer}
+\usepackage{amsmath,unicode-math,physics,tensor}
+\useoutertheme{metropolis}
+\useinnertheme{metropolis}
+\usecolortheme{metropolis}
+\usefonttheme{professionalfonts}
+
+\setbeamerfont{title}{size=\Large, series=\bfseries}
+\setbeamerfont{author}{size=\small}
+\setbeamerfont{date}{size=\small}
+\setbeamertemplate{footline}{\vspace*{0.3cm}}
+
+\unimathsetup{math-style=ISO, bold-style=ISO, mathrm=sym}
+
+\setsansfont{FiraGO}[BoldFont=* SemiBold, Numbers=Monospaced]
+\setmathfont{Fira Math Regular}
+
+\title{Fira Math}
+\subtitle{Sans-serif font with Unicode math support}
+\author{Xiangdong Zeng}
+\date{2018/10/26\quad v0.3.1}
+
+\begin{document}
+
+\maketitle
+
+\begin{frame}[noframenumbering]{General relativity}
+\begin{itemize}
+ \item Covariant derivative:
+ \[
+ \nabla \symbf{X} = \tensor{X}{^\alpha_{;\beta}} \pdv{x^\alpha} \otimes \dd{x^\beta}
+ = \qty(\tensor{X}{^\alpha_{,\beta}} + \Gamma^{\alpha}_{\beta\gamma} \, X^\gamma) \,
+ \pdv{x^\alpha} \otimes \dd{x^\beta}
+ \]
+ \item Einstein's field equations:
+ \[ G_{\mu\nu} \equiv R_{\mu\nu} - \frac{1}{2} R g_{\mu\nu} = \frac{8\pi G}{c^4} T_{\mu\nu} \]
+ %\item Conservation of energy and momentum:
+ % \[ \nabla_\beta T^{\alpha\beta} = \tensor{T}{^{\alpha\beta}_{;\,\beta}} = 0 \]
+ \item Schwarzschild metric:
+ \[
+ c^2 \dd{\tau}^2 = \qty(1-\frac{r_{\mathrm{s}}}{r}) \, c^2 \dd{t}^2
+ - \qty(1-\frac{r_{\mathrm{s}}}{r})^{-1} \dd{r}^2
+ - r^2 \underbrace{\qty(\dd{\theta}^2 + \sin^2 \theta \dd{\varphi}^2)}_{\dd{\Omega}^2}
+ \]
+ \item Einstein--Hilbert action:
+ \[ S = \frac{1}{2\kappa} \int R \sqrt{-g} \dd[4]{x} \]
+\end{itemize}
+\end{frame}
+
+\end{document}