-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.tex
55 lines (32 loc) · 971 Bytes
/
index.tex
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
51
52
53
54
55
\documentclass{article}
\title{Test for ink ascent/descent}
\author{Frédéric Wang}
\usepackage{xcolor}
\usepackage{amsmath}
\usepackage{unicode-math}
\setmathfont{ink-ascent-descent-test.otf}
\newcommand{\A}{\color{red}{\symup A}}
\newcommand{\B}{\color{green}{\symup B}}
\newcommand{\C}{\color{blue}{\symup C}}
\begin{document}
\maketitle
\section{Test for ink ascent/descent}
\subsection{Text A, B, C and √}
\_\_baseline\_\_$\A$\_\_$\B$\_\_$\C$\_\_$√$\_\_baseline\_\_
\subsection{Fraction AAA/AAA}
$$\frac{\A\A\A}{\A\A\A}$$
\subsection{Fraction BBB/BBB}
$$\frac{\B\B\B}{\B\B\B}$$
\subsection{Fraction CCC/CCC}
$$\frac{\C\C\C}{\C\C\C}$$
\subsection{Fraction ABC/ABC}
$$\frac{\A\B\C}{\A\B\C}$$
\subsection{Square root of AAA}
$$\sqrt{\A\A\A}$$
\subsection{Square root of BBB}
$$\sqrt{\B\B\B}$$
\subsection{Square root of CCC}
$$\sqrt{\C\C\C}$$
\subsection{Fraction AAA/√CCC}
$$\frac{\A\A\A}{\displaystyle \sqrt{\C\C\C}}$$
\end{document}