Questions tagged [lacheck]

A consistency checker for LaTeX documents

Filter by
Sorted by
Tagged with
8 votes
0 answers
1k views

False lacheck Unmatched "{" Error

In the simple LaTeX file: \documentclass{report} \newcommand{\defaultleftmargin}{0.25in} \begin{document} \end{document} I get the following errors with lacheck: "hw01.tex", line 5: <- ...
user avatar
  • 390
3 votes
1 answer
1k views

lacheck doesn't like factorials?

I have the following code. \documentclass{standalone} \begin{document} $n!$ \end{document} Running lacheck on it results "test.tex", line 3: punctuation mark "!" should be placed after end of math ...
user avatar
  • 1,233
2 votes
0 answers
144 views

How do you avoid the lacheck warning when specifying half open intervals?

I'm using lacheck. I have Alice's and Bob's integers are in the range $[0, q)$ My LaTeX gave me the following warning: ']' expected, found ')'. Is there something I can do to avoid this warning? I'...
user avatar
  • 121
4 votes
1 answer
443 views

punctuation mark should be placed after the end of math mode

When writing there are $n!$ possible permutations of $n$ objects, lacheck complains that "punctuation mark should be placed after the end of math mode". Why is this, and how should I do this properly?...
user avatar
  • 225