https://endsza.blogspot.com/2023/02/command-end-enumerate-invalid-in-math.html
Command End Enumerate Invalid In Math Mode