]> git.lyx.org Git - lyx.git/blobdiff - src/tex2lyx/test/test-insets.tex
tex2lyx/table.cpp: please Vincent as discussed
[lyx.git] / src / tex2lyx / test / test-insets.tex
index b221476dd806dcfd7914fb9e631f21e757d9e976..222e41c4d2c83f33285b8f05d281a28c6c493d66 100644 (file)
@@ -27,6 +27,7 @@
 \usepackage{longtable}
 \usepackage{xargs}
 \usepackage{subscript}
+\usepackage{rotating}
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
 \providecommand{\LyX}{L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
 
 \begin{document}
 
+\title{Title}
+
+\date %stupid stuff
+{two days ago}
+
+\maketitle
+
 \tableofcontents
+\lstlistoflistings
 
 \noindent This paragraph is not indented.
 
@@ -108,7 +117,7 @@ From bug 7306:
 \citet{gur+04} have demonstrated that authors should not have umlauts
 in their names. It's OK to use them in the man\"{u}script, though.
 \begin{thebibliography}{References}
-\bibitem[{{G\"{u}rkan et~al.}(2004)}]{gur+04} Gürkan, M.~A., Freitag,
+\bibitem[{{G\"{u}rkan et~al.}(2004)}]{gur+04} Gürkan, M.~A., Freitag,
 M., \& Rasio, F.~A. 2004, ApJ, 604, 632\end{thebibliography}
 
 
@@ -168,7 +177,6 @@ def func(param):
     pass
 \end{lstlisting}
 
-
 Here is an example listing with left line numbering, step ``3'',
 language ``Python'', options ``Extended character table'' and
 ``Space~as~symbol'', range lines 3\,-\,8:
@@ -178,7 +186,7 @@ def func(param):
     'this is a python function'
     pass
 def func(param):
-'This is a German word: Tschüß'
+'This is a German word: Tschüß'
 pass
 def func(param):
 'this is a python function'
@@ -186,10 +194,10 @@ pass
 \end{lstlisting}
 
 Special cases:
-\begin{lstlisting}
-\begin{centering}
+\begin{lstlisting}[abovecaptionskip=2em,basicstyle={\large\ttfamily},breaklines=true,extendedchars=true,firstline=2,float=h,language={[R/3 3.1]ABAP},lastline=5,numbers=left,numberstyle={\scriptsize},showspaces=true,showstringspaces=false,stepnumber=3,tabsize=4]
 hello
 \end{lstlisting}
+
 \lstinline[language=TeX]!\begin{centering} hello!
 
 
@@ -368,7 +376,7 @@ A table*:
 \begin{tabular*} % some comment
 {0.8\columnwidth}[b]{lr}
 two\\
-lonely&lines
+\begin{turn}{-50}lonely\end{turn}&\begin{sideways}lines\end{sideways}
 \end{tabular*}
 
 A booktabs table:
@@ -528,6 +536,15 @@ builtin \textasciicircum % with a comment
 A sub\textsubscript{sc\emph{ript}} and super\textsuperscript{script
 with $a^2+b^2=c^2$ math}.
 
+\section{Mathematics\index{Mathematics}}
+
+Let $f:\left[  a,b\right]  \rightarrow%
+%TCIMACRO{\U{211d} }%
+%BeginExpansion
+\mathbb{R}
+%EndExpansion
+$.
+
 \printindex{}
 
 \printnomenclature hello