summaryrefslogtreecommitdiff
path: root/support/texlab/tests/scenarios/completion/latex/label/foo.tex
diff options
context:
space:
mode:
Diffstat (limited to 'support/texlab/tests/scenarios/completion/latex/label/foo.tex')
-rw-r--r--support/texlab/tests/scenarios/completion/latex/label/foo.tex36
1 files changed, 36 insertions, 0 deletions
diff --git a/support/texlab/tests/scenarios/completion/latex/label/foo.tex b/support/texlab/tests/scenarios/completion/latex/label/foo.tex
new file mode 100644
index 0000000000..c85be2fa36
--- /dev/null
+++ b/support/texlab/tests/scenarios/completion/latex/label/foo.tex
@@ -0,0 +1,36 @@
+\documentclass{article}
+
+\usepackage{amsmath}
+\usepackage{caption}
+\usepackage{amsthm}
+\newtheorem{lemma}{Lemma}
+
+\begin{document}
+
+\section{Foo}%
+\label{sec:foo}
+
+\begin{equation}%
+\label{eq:foo}
+ 1 + 1 = 2
+\end{equation}
+
+\begin{equation}%
+\label{eq:bar}
+ 1 + 1 = 2
+\end{equation}
+
+\begin{figure}%
+\LaTeX{}
+\caption{Baz}%
+\label{fig:baz}
+\end{figure}
+
+\begin{lemma}%
+\label{thm:foo}
+ 1 + 1 = 2
+\end{lemma}
+
+\include{bar}
+
+\end{document}