Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
78 changes: 78 additions & 0 deletions tools/mathml/demos/einstein/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
<!DOCTYPE html>
<html lang="ru">
<head>
<title>Формула Эйнштейна — MathML — Дока</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">

<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&display=swap">

<style>
*,
*::before,
*::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}

html {
color-scheme: dark;
font-size: 16px;
}

body {
min-height: 100vh;
padding: 2rem;

display: grid;
place-items: center;

background: #18191C;
color: #fff;

font-family: Roboto, sans-serif;
}

.container {
display: flex;
flex-direction: column;
gap: 1.5rem;

align-items: center;
}

h3 {
font-weight: 500;
text-align: center;
}

math {
font-size: 1.5rem;
}

@media (max-width: 768px) {
body {
padding: 1rem;
}
}
</style>
</head>
<body>
<div class="container">
<h3>Формула Эйнштейна</h3>

<math display="block">
<mi>E</mi>
<mo>=</mo>
<mi>m</mi>
<msup>
<mi>c</mi>
<mn>2</mn>
</msup>
</math>
</div>
</body>
</html>
74 changes: 74 additions & 0 deletions tools/mathml/demos/menclose/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
<!DOCTYPE html>
<html lang="ru">
<head>
<title>Пример menclose элемента — MathML — Дока</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">

<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&display=swap">

<style>
*,
*::before,
*::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}

html {
color-scheme: dark;
font-size: 16px;
}

body {
min-height: 100vh;
padding: 2rem;

display: grid;
place-items: center;

background: #18191C;
color: #fff;

font-family: Roboto, sans-serif;
}

.container {
display: flex;
flex-direction: column;
gap: 1.5rem;

align-items: center;
}

h3 {
font-weight: 500;
text-align: center;
}

math {
font-size: 1.5rem;
}

@media (max-width: 768px) {
body {
padding: 1rem;
}
}
</style>
</head>
<body>
<div class="container">
<math>
<menclose notation="box">
<mi>x</mi>
<mo>+</mo>
<mi>y</mi>
</menclose>
</math>
</div>
</body>
</html>
73 changes: 73 additions & 0 deletions tools/mathml/demos/mfrac/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
<!DOCTYPE html>
<html lang="ru">
<head>
<title>Пример дроби — MathML — Дока</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">

<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&display=swap">

<style>
*,
*::before,
*::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}

html {
color-scheme: dark;
font-size: 16px;
}

body {
min-height: 100vh;
padding: 2rem;

display: grid;
place-items: center;

background: #18191C;
color: #fff;

font-family: Roboto, sans-serif;
}

.container {
display: flex;
flex-direction: column;
gap: 1.5rem;

align-items: center;
}

h3 {
font-weight: 500;
text-align: center;
}

math {
font-size: 1.5rem;
}

@media (max-width: 768px) {
body {
padding: 1rem;
}
}
</style>
</head>
<body>
<div class="container">
<math>
<mfrac>
<mi>a</mi>
<mi>b</mi>
</mfrac>
</math>
</div>
</body>
</html>
70 changes: 70 additions & 0 deletions tools/mathml/demos/mi1/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
<!DOCTYPE html>
<html lang="ru">
<head>
<title>Пример mi элемента — MathML — Дока</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">

<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&display=swap">

<style>
*,
*::before,
*::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}

html {
color-scheme: dark;
font-size: 16px;
}

body {
min-height: 100vh;
padding: 2rem;

display: grid;
place-items: center;

background: #18191C;
color: #fff;

font-family: Roboto, sans-serif;
}

.container {
display: flex;
flex-direction: column;
gap: 1.5rem;

align-items: center;
}

h3 {
font-weight: 500;
text-align: center;
}

math {
font-size: 1.5rem;
}

@media (max-width: 768px) {
body {
padding: 1rem;
}
}
</style>
</head>
<body>
<div class="container">
<math>
<mi>x</mi>
</math>
</div>
</body>
</html>
70 changes: 70 additions & 0 deletions tools/mathml/demos/mi2/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
<!DOCTYPE html>
<html lang="ru">
<head>
<title>Пример mi элемента — MathML — Дока</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">

<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&display=swap">

<style>
*,
*::before,
*::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}

html {
color-scheme: dark;
font-size: 16px;
}

body {
min-height: 100vh;
padding: 2rem;

display: grid;
place-items: center;

background: #18191C;
color: #fff;

font-family: Roboto, sans-serif;
}

.container {
display: flex;
flex-direction: column;
gap: 1.5rem;

align-items: center;
}

h3 {
font-weight: 500;
text-align: center;
}

math {
font-size: 1.5rem;
}

@media (max-width: 768px) {
body {
padding: 1rem;
}
}
</style>
</head>
<body>
<div class="container">
<math>
<mi>sin</mi>
</math>
</div>
</body>
</html>
Loading
Loading