Debian Codegraph @

tests/multilingual-math-test.tex

raw
1 \documentclass{article}
2
3 \usepackage{amsmath}
4 \usepackage{amssymb}
5
6 \usepackage{xunicode}
7 \usepackage{xltxtra}
8
9 \usepackage{unicode-math}
10
11 \setmathfont{Asana Math} % base font
12 % \setmathfont{EB Garamond} % To use in the future?
13
14 \setmathfont[range=\mathup/{num,latin,Latin,greek,Greek},
15 Ligatures=TeX, Numbers={Lining},
16 SizeFeatures={
17 {Size=-8, OpticalSize=8},
18 {Size= 8-, OpticalSize=12}}]{EB Garamond}
19
20 \setmathfont[range=\mathit/{num,latin,Latin,greek,Greek},
21 Ligatures=TeX, Numbers={Lining},
22 SizeFeatures={
23 {Size=-8, OpticalSize=8},
24 {Size= 8-, OpticalSize=12}}]{EBGaramond12-Italic}
25
26 \setmathfont[range=\mathbfup/{num,latin,Latin,greek,Greek},
27 Ligatures=TeX, Numbers={Lining}, FakeBold=1.5,
28 SizeFeatures={
29 {Size=-8, OpticalSize=8},
30 {Size= 8-, OpticalSize=12}}]{EB Garamond}
31
32 \setmainfont[Mapping=tex-text,Numbers={OldStyle}]{EB Garamond}
33
34 \setsansfont[Numbers={OldStyle,Proportional},Scale=MatchLowercase]{Linux Biolinum O}
35 \setmonofont[Scale=MatchLowercase]{DejaVu Sans Mono}
36
37 \newcommand{\texto}{Este é um teste. 123456789. Aa Ee Ii Oo Uu ãà çÇ üÜ
38 äÄ ëË õÕ © ðÐ ß§ Åå ® £€ ¼½¾}
39
40 \usepackage{polyglossia}
41 %\setdefaultlanguage{english}
42 \setdefaultlanguage{brazil}
43
44
45 \title{Multilingual Math Test}
46 \author{Rogério Theodoro de Brito}
47
48
49 \begin{document}
50 \maketitle
51 \section{Teste}
52
53 Um teste. Este é um teste. Paul Erdös. Paul Erd\H{o}s. Otakar Borůvka. 1234567890
54
55 \begin{itemize}
56 \item \emph{\texto}
57 \item \textbf{\texto}
58 \item \textsl{\texto}
59 \item \texttt{\texto}
60 \item \texttt{\emph{\texto}}
61 \item \textsc{\texto}
62 \end{itemize}
63
64 \section{Projective Planes}
65
66 \emph{Projective planes} are a special case of block designs, where we
67 have $v > 0$ points and, as they are symmetric designs, $ b = v$ (which
68 is the limit case of Fisher's inequality), from the first basic equation
69 we get
70 \[
71 k = r,
72 \]
73 and since $\lambda = 1$ by definition, the second equation gives us
74 \[
75 v-1 = k(k-1).
76 \]
77
78 Now, given an integer $ n \geq 1$, called the \emph{order of the
79 projective plane}, we can put $k = n + 1$ and, from the displayed
80 equation above, we have $v = (n+1)n + 1 = n^2 + n + 1$ points in a
81 projective plane of order $n$.
82
83 Since a projective plane is symmetric, we have that $b = v$, which means
84 that $b = n^2 + n + 1$ also. The number $b$ is usually called the number
85 of \emph{lines} of the projective plane.
86
87 This means, as a corollary, that in a projective plane, the number of
88 lines and the number of points are always the same. For a projective
89 plane, $k$ is the number of lines and it is equal to $n + 1$, where $n$
90 is the order of the plane. Similarly, $r = n + 1$ is the number of lines
91 to which the a given point is incident.
92
93 For $n = 2$ we get a projective plane of order $2$, also called the
94 \emph{Fano plane}, with $v = 4 + 2 + 1 = 7$ points and $7$ lines. In the
95 Fano plane, each line has $n + 1 = 3$ points and each point belongs to
96 $n + 1 = 3$ lines.
97
98 \section{Extensão de Corpos}
99
100 Seja $a$ um número complexo que satisfaça $x^3 - x + 1 = 0$. Seja $b =
101 a^2$. Então nós temos que $a^3 + 1 = a$, isto é, $a^3 = a - 1$. Como
102 $a^3 + 1 = a$ nós temos que
103 \begin{align*}
104 (a^2)^3 - 2(a^2)^2 + a^2 - 1 &= a^6 -2a^4 + a^2 -1\\
105 &= (a^3)^2 - 2a a^3 + a^2 - 1\\
106 &= (a-1)^2 - 2a(a-1) + a^2 -1\\
107 &= a^2 -2a + 1 - 2a^2 + 2a + a^2 -1\\
108 &= 0.
109 \end{align*}
110 Portanto $b = a^2$ é raiz de
111 \begin{equation}
112 \label{eq:b-req}
113 x^2 - 2x + x -1.
114 \end{equation}
115 Como $b = a^2$, então $b$ está em $\mathbb Q(a)$. Logo, $\mathbb Q(b)
116 \subseteq \mathbb Q(a)$. Além disso, $\mathbb Q \subseteq \mathbb
117 Q(b)$. Agora $\mathbb Q = \mathbb Q(b)$? Não, pois \eqref{eq:b-req} não
118 possui raiz racional. Logo $\mathbb Q \subsetneq \mathbb Q(b) \subseteq
119 \mathbb Q(a)$. Como $\mathbb Q(a)$ tem grau $3$ sobre $\mathbb Q$, então
120 pelo teorema de Dedekind de graus (multiplicativos) de corpos, o grau
121 $[\mathbb Q:\mathbb Q(b)][\mathbb Q:\mathbb Q(a)] = 3$. Como $\mathbb Q \ne
122 \mathbb Q(b)$, nós temos que $[\mathbb Q:\mathbb Q(b)] = 3$, de onde segue
123 que $\mathbb Q(b) = \mathbb Q(a)$.
124
125 Alternativamente, observe-se que $a^2 - a^4 = b - b^2$, pela definição
126 de $b$. Como $a^3 = a - 1$, nós temos que $a^4 = a a^3 = a(a-1) = a^2
127 -a$. Logo, $a^4 = a^2 - a$, isto é, $a^2 - a^4 = a$, de onde segue que
128 $a = b - b^2 \in \mathbb Q(b)$ e, portanto, $\mathbb Q(a) \subseteq
129 \mathbb Q(b)$, ou seja, $\mathbb Q(a) = \mathbb Q(b)$.
130 \end{document}