summaryrefslogtreecommitdiff
path: root/Build/source/texk/lacheck/test.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-01-17 21:41:51 +0000
committerKarl Berry <karl@freefriends.org>2006-01-17 21:41:51 +0000
commit487ca4806cc046076293cf6cc5fbba0db282bac7 (patch)
tree847b412ab5158dd7bdd7ed7e5a4cc3fbca94be32 /Build/source/texk/lacheck/test.tex
parenta3d3111bfe26b8e5f5bc6049dfb2a4ca2edc7881 (diff)
texk 1
git-svn-id: svn://tug.org/texlive/trunk@1485 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/lacheck/test.tex')
-rw-r--r--Build/source/texk/lacheck/test.tex42
1 files changed, 42 insertions, 0 deletions
diff --git a/Build/source/texk/lacheck/test.tex b/Build/source/texk/lacheck/test.tex
new file mode 100644
index 00000000000..98b18c1e3b5
--- /dev/null
+++ b/Build/source/texk/lacheck/test.tex
@@ -0,0 +1,42 @@
+% $Revision: 1.4 $
+
+{ } % Unwanted space after `{'
+{\em hello} world % May need `\/' before `world'
+{\em hello\/ world}. % `\/' not needed before `world'
+hello\/ world % `\/' not needed after `hello'
+{\em hello\/}\/ world % Double `\/'
+{\em hello\/}, world % `\/' before `,' or `.'
+\[display math\]. % Punctuation mark after end of display math
+$math.$ % Punctuation mark before end of math mode
+\begin % Missing argument for \begin
+\begin{verbatim}
+TAB TAB % Tab in verbatim
+\end{verbatim}
+\end % Missing argument for \end
+a.k.a. world % Missing `\ ' after abbreviation
+HELLO. World % Missing `\@' before `.'
+hello~ world % Double space
+$ + \ldots + $ % Should be \cdots
+$ , \cdots , $ % Should be \ldots
+$ + .. + $ % Should be \cdots
+$ , .. , $ % Should be \ldots
+hello world... % Should be ellipsis
+\label{hello evil world} % Bad character in label
+Hello \ref{world} % Missing ~
+Hello \footnote{world} % Whitespace before footnote
+\above % Primitive in LaTeX
+hello \rm{world} % Font specifier with argument
+\hello@world % @ in LaTeX macro name
+hello ''world'' % Quote begined with '
+``hello`` world % Quote ended with `
+world . % Whitespace before punctuation mark
+\(hello
+world\] % Bad match
+\verb|hello
+world| % multi-line \verb
+
+% Local Variables:
+% mode: LaTeX
+% TeX-master: t
+% TeX-auto-update: nil
+% End: