kyomato/tests/lex_files/title_info.txt
Dzuchun 202a02bd87 Added example for a basic syntax
+ repaired the tests after previous changes
2024-03-26 21:47:03 +02:00

95 lines
No EOL
2.4 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: Some(
"Навч. заклад",
),
header_line2: Some(
"Факультет",
),
document_type: Some(
"ПРОТОКОЛ",
),
title_line1: Some(
"Виконання марної роботи",
),
title_line2: Some(
"з історії стародавнього Єгипту",
),
title_line3: Some(
"(пинальна частина)",
),
title_line4: Some(
"НАЗВА РОБОТИ",
),
author_line1: Some(
"виконувало:",
),
author_line2: Some(
"дяч дзучунович",
),
author_line3: Some(
"(perfectly still)",
),
date: Some(
"вербень 2077",
),
prof: Some(
"me :idk:",
),
code_section_title: None,
}
Multiple {
tokens: Tokens(
[
Header {
order: 0,
content: "First para",
},
Paragraph {
is_newline: true,
space_before: false,
formatting: None,
content: "This text is",
},
Paragraph {
is_newline: false,
space_before: true,
formatting: Some(
Italic,
),
content: "just",
},
Paragraph {
is_newline: false,
space_before: true,
formatting: None,
content: "a dummy, so that document won't feel",
},
Paragraph {
is_newline: false,
space_before: true,
formatting: Some(
StrikeThrough,
),
content: "too",
},
Paragraph {
is_newline: false,
space_before: true,
formatting: Some(
Bold,
),
content: "empty",
},
Paragraph {
is_newline: true,
space_before: false,
formatting: None,
content: "Have a some oily maccaroni:",
},
DisplayMath {
content: "\\gamma = \\lim_{n \\to \\infty} \\sum\\limits_{i=1}^{n} \\dfrac{1}{n} - \\ln(n)",
ident: None,
},
],
),
}