summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/fonts/firamath/firamath-demo.tex
blob: f9e6d89628449e73032f543fd7cd75cb42b9d4de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
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}