vimtex/test/feature/completions/main.tex

102 lines
1.5 KiB
TeX
Raw Normal View History

2014-07-30 13:08:36 -04:00
\documentclass{article}
2015-12-08 15:16:13 -05:00
\usepackage{amsmath}
2015-12-17 16:41:54 -05:00
\usepackage[backend=biber]{biblatex}
2014-07-30 12:30:06 -04:00
\addbibresource{biblatex-examples.bib}
2014-07-30 13:08:36 -04:00
\addbibresource{local1.bib}
\addbibresource{~/.vim/bundle/vim-latex/test/completion/local2.bib}
2015-12-17 16:41:54 -05:00
\usepackage[nonumberlist,acronymlists={gloss,symbolslist}]{glossaries}
\input{glossary.tex}
2014-07-30 12:30:06 -04:00
\begin{document}
2015-03-08 14:54:50 -04:00
To test label completion you need to compile the document first!
2014-07-30 13:08:36 -04:00
\begin{equation}
f(x) = 42
\label{eq:main-is-working}
\end{equation}
2015-02-04 06:32:25 -05:00
\include{sub1}
2014-07-30 12:30:06 -04:00
2015-02-04 06:32:25 -05:00
\include{"sub2\space with\space spaces"}
\input{"sub3\space with\space spaces"}
2015-02-04 06:20:38 -05:00
\begin{equation}
\label{eq:test1}
f(x) = 1
\end{equation}
\begin{equation}
\label{eq:test2}
f(x) = 2
\end{equation}
\begin{equation}
\label{eq:test3}
f(x) = 3
\end{equation}
\begin{equation}
\label{eq:test4}
f(x) = 4
\end{equation}
\begin{equation}
\label{eq:test5}
f(x) = 5
\end{equation}
\begin{equation}
\label{eq:test6}
f(x) = 6
\end{equation}
\begin{equation}
\label{eq:test7}
f(x) = 7
\end{equation}
\begin{equation}
\label{eq:test8}
f(x) = 8
\end{equation}
\begin{equation}
\label{eq:test9}
f(x) = 9
\end{equation}
\begin{equation}
\label{eq:test10}
f(x) = 10
\end{equation}
2015-12-08 15:16:13 -05:00
\begin{subequations}
\begin{align}
\label{eq:test11a}
f(x) &= 11a \\
\label{eq:test11b}
f(x) &= 11b
\end{align}
\end{subequations}
2015-12-17 16:41:54 -05:00
\newpage
\glsaddall
\printglossary[
type=gloss,
style=long,
title={Glossary},
toctitle={Glossary}
]
\printglossary[
type=symbols,
style=long,
title={List of Symbols},
toctitle={List of Symbols}
]
2014-07-30 12:30:06 -04:00
\end{document}