kyomato/tests/lex_files/basic.txt
Dzuchun e1f8aa6924 Fixed issue of displayed code blocks have hash-dependent (hence - non-deterministic) write order.
It's a workaround rn, but it will be much more refined, once shared storage is implemented
2024-03-27 10:48:54 +02:00

154 lines
No EOL
5.8 KiB
Text
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

TitleInfo {
header_line1: None,
header_line2: None,
document_type: None,
title_line1: None,
title_line2: None,
title_line3: None,
title_line4: None,
author_line1: None,
author_line2: None,
author_line3: None,
date: None,
prof: None,
code_section_title: None,
}
Multiple {
tokens: Tokens(
[
Header {
order: 0,
content: "Перша тема",
},
Paragraph {
is_newline: true,
space_before: false,
formatting: None,
content: "Тут трохи тексту і пояснень про квантові мультивироджені рефурбалідзери змішаного типу. Це нудно, тож тримайте формулу:",
},
DisplayMath {
content: "Ref(z) = \\int \\limits_{0}^{1} t^{z-1} \\cdot \\exp(-t) dt",
ident: Some(
"refurbalidzer_1",
),
},
Header {
order: 1,
content: "Підпункт",
},
Paragraph {
is_newline: true,
space_before: false,
formatting: None,
content: "Рефурбалідзери можуть виявитись дуже важливими для збереження екологічної безпеки нашої планети. До прикладу, в них є наступні переваги:",
},
List {
list_type: Bullet,
content: Tokens(
[
Multiple {
tokens: Tokens(
[
Paragraph {
is_newline: false,
space_before: false,
formatting: None,
content: "Нормувальний множник",
},
InlineMath {
space_before: true,
content: "|\\psi|^{2} = 3/4",
},
],
),
},
Multiple {
tokens: Tokens(
[
Paragraph {
is_newline: false,
space_before: false,
formatting: None,
content: "Кількість хромосом -",
},
InlineMath {
space_before: true,
content: "\\exp(\\pi)",
},
],
),
},
Paragraph {
is_newline: false,
space_before: false,
formatting: None,
content: "Поживна цінність - 20 дптр/см",
},
],
),
},
Figure {
src_name: "refurb.jpg",
caption: Some(
Paragraph {
is_newline: false,
space_before: false,
formatting: None,
content: "Принципове влаштування рефурбалідзера",
},
),
ident: Some(
"refurb",
),
width: Some(
0.4,
),
},
Paragraph {
is_newline: true,
space_before: false,
formatting: None,
content: "На світлині",
},
Reference {
space_before: true,
ident: "fig:refurb",
},
Paragraph {
is_newline: false,
space_before: true,
formatting: None,
content: "можна бачити принципову схему влаштування рефурбалідзера. Неважно помітити великі очі",
},
FootnoteReference {
space_before: false,
ident: "1",
},
Paragraph {
is_newline: false,
space_before: false,
formatting: None,
content: ", і два термоядерних реактори, що оточують їх. Точні реакції всередині невідомі, але цілком можливо що там женуть",
},
InlineMath {
space_before: true,
content: "du + t -> {}^{5}_{6}C",
},
Paragraph {
is_newline: false,
space_before: false,
formatting: None,
content: "...",
},
FootnoteContent {
content: Paragraph {
is_newline: false,
space_before: false,
formatting: None,
content: "Для поливу.",
},
ident: "1",
},
],
),
}