tex2lyx: testfiles modified as preparation for the upcoming tex2lyx work

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30044 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2009-06-11 17:56:05 +00:00
parent 170d7a2ab1
commit 5742cf9ce6
2 changed files with 30 additions and 1 deletions

View File

@ -9,7 +9,7 @@
\usepackage{amsmath}
\usepackage{verbatim}
\usepackage[numbers]{natbib}
\usepackage{varioref}
\usepackage{prettyref}
@ -41,6 +41,34 @@ reference~\eqref{lab:test} (from amsmath package), or varioref's
equivalents~\vref{lab:test} and~\vpageref{lab:test}, without
forgetting pretty references like~\prettyref{lab:test}.
\section{Cites}
Let's start with simple things: a \textbackslash{}cite: \citet{article-crossref}
and two \textbackslash{}cites: \citep{whole-set,article-crossref}
Now the natbib things:
\textbackslash{}citet: \citet[before][after]{article-crossref} \textbackslash{}citet{*}:
\citet*[before][after]{article-crossref} \textbackslash{}Citet: \Citet[before][after]{article-crossref}
\textbackslash{}Citet{*}: \Citet*[before][after]{article-crossref}
\textbackslash{}citep: \citep{article-crossref}
\textbackslash{}citealt: \citealt{article-crossref}
\textbackslash{}citealp: \citealp{article-crossref}
\textbackslash{}citeauthor: \citeauthor{article-crossref}
\textbackslash{}citeyear: \citeyear{article-crossref}
\textbackslash{}citeyearpar: \citeyearpar{article-crossref}
\textbackslash{}nocite: \nocite{article-crossref}
\bibliographystyle{unsrt}
\bibliography{xampl}
\section{Input files}
We can input files too, like this \input{DummyDocument}, or with the include

View File

@ -115,6 +115,7 @@ What else? Well, we have descriptions:
or even bibliography
\begin{thebibliography}{9}
\bibitem{FOO} Edward Bar. \emph{The Foo Book}. (1999)
\bibitem{FO2} Walter Müller \emph{The Müller Book}. (2004)
\end{thebibliography}
\appendix