fix tests, add superscript and subscript test

pull/511/head
Rylee Lyman 2022-12-01 19:52:35 +07:00
parent 4e1c009f58
commit baf4bddd3c
3 changed files with 33 additions and 7 deletions

@ -231,13 +231,13 @@ Math environment
(text
(word))))
(text
(word))
(curly_group
(text
(word)
(superscript
(curly_group
(text
(word)
(generic_command
(command_name))))
(text
(command_name)))))
(operator)
(word))
(text

@ -480,8 +480,12 @@ Let
(word))
(text
(word)
(superscript
(word))
(operator)
(word))
(word)
(superscript
(word)))
(text_mode
(curly_group
(text
@ -492,8 +496,12 @@ Let
(word))
(text
(word)
(superscript
(word))
(operator)
(word))
(word)
(superscript
(word)))
(end
(curly_group_text
(text

@ -205,3 +205,21 @@ Simple math set
(word)
(generic_command
(command_name))))
================================================================================
Subscripts and superscripts
================================================================================
Foo_{bar}^2
--------------------------------------------------------------------------------
(source_file
(text
(word)
(subscript
(curly_group
(text
(word))))
(superscript
(word))))