-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
114 lines (114 loc) · 6.4 KB
/
index.html
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="mcss.css">
<title>MCSS Testing & Demo</title>
</head>
<body>
<p>MCSS is a pure CSS library for displaying and formatting mathematical expressions.</p>
<p>Though heavy on markup, it allows for proper and easy formatting of almost any mathematical expression, from a simple
<span class="mcss mcss-inline">
<span class="mcss-fraction">
<span class="mcss-fraction-num">1</span>
<span class="mcss-fraction-den">2</span>
</span>
</span>
(vertically aligning within a p is still hard) to extremely complex expressions, such as
<span class="mcss mcss-inline">
<span class="mcss-fraction">
<span class="mcss-fraction-num">1</span>
<span class="mcss-fraction-den">2</span>
</span>
+
<span class="mcss-fraction">
<span class="mcss-fraction-num">1</span>
<span class="mcss-fraction-den">
<span class="mcss-largeop">
<span class="mcss-largeop-config">
<span class="mcss-largeop-config-symbol">Π</span>
<span class="mcss-largeop-config-bottom">n=0</span>
<span class="mcss-largeop-config-top">∞</span>
</span>
<span class="mcss-fraction">
<span class="mcss-fraction-num">n</span>
<span class="mcss-fraction-den">
<span class="mcss-fraction">
<span class="mcss-fraction-num">1</span>
<span class="mcss-fraction-den">2</span>
</span>
+
<span class="mcss-largeop">
<span class="mcss-largeop-config">
<span class="mcss-largeop-config-symbol">Σ</span>
<span class="mcss-largeop-config-bottom">m=0</span>
<span class="mcss-largeop-config-top">∞</span>
</span>
<span class="mcss-fraction">
<span class="mcss-fraction-num">
<span class="mcss-largeop">
<span class="mcss-largeop-config">
<span class="mcss-largeop-config-symbol">Π</span>
<span class="mcss-largeop-config-bottom">p=0</span>
<span class="mcss-largeop-config-top">∞</span>
</span>
<span class="mcss-exponent">
<span class="mcss-fraction">
<span class="mcss-fraction-num">n</span>
<span class="mcss-fraction-den">m</span>
</span>
<span class="mcss-exponent-power">p</span>
</span>
</span>
</span>
<span class="mcss-fraction-den">m</span>
</span>
</span>
</span>
</span>
</span>
</span>
</span>
</span>
. As far as I know, this expression is meaningless and probably not even possible to compute by hand, it's just an example. This p block is also intentionally made longer to show that it successfully wraps around the expression (Zoom in if it's still not long enough)
</p>
<p>
<span class="mcss">
<span class="mcss-largeop">
<span class="mcss-largeop-config">
<span class="mcss-largeop-config-symbol">Σ</span>
<span class="mcss-largeop-config-bottom">x=0</span>
<span class="mcss-largeop-config-top">∞</span>
</span>
<span class="mcss-largeop">
<span class="mcss-largeop-config">
<span class="mcss-largeop-config-symbol">Σ</span>
<span class="mcss-largeop-config-bottom">y=0</span>
<span class="mcss-largeop-config-top">∞</span>
</span>
<span class="mcss-largeop">
<span class="mcss-largeop-config">
<span class="mcss-largeop-config-symbol">Σ</span>
<span class="mcss-largeop-config-bottom">z=0</span>
<span class="mcss-largeop-config-top">∞</span>
</span>
<span class="mcss-largeop">
<span class="mcss-largeop-config">
<span class="mcss-largeop-config-symbol">Σ</span>
<span class="mcss-largeop-config-bottom">n=0</span>
<span class="mcss-largeop-config-top">∞</span>
</span>
<span class="mcss-fraction">
<span class="mcss-fraction-num">x*y*z</span>
<span class="mcss-fraction-den">n</span>
</span>
</span>
</span>
</span>
</span>
</span>
is also a complex, but meaningless expression for the sake of demonstration.
</p>
</body>
</html>