This question already has an answer here:
When flycheck runs when I am editing largish XML files (I believe it is just nxml mode), it tends to slow things to a crawl and then I have to
kill emacs since
C-g only works for a fraction of second. If I get the chance to turn flycheck-mode off after I open the file everything is fine.
How do I disable it while keeping the global flycheck mode on?
These answers are close but I don't know what to fill in for the latex stuff, nor were the instructions for figuring this out helpful: