]> git.lyx.org Git - features.git/commitdiff
Add very simple tex2lyx regression test suite.
authorGeorg Baum <baum@lyx.org>
Sun, 8 Jul 2012 17:28:19 +0000 (19:28 +0200)
committerGeorg Baum <baum@lyx.org>
Sun, 8 Jul 2012 17:28:19 +0000 (19:28 +0200)
It is invoked by 'make check' (automake only, it would be nice if someone
could add it to cmake as well), or by calling

python src/tex2lyx/test/runtests.py <path to tex2lyx binary>

by hand. Currently, it does not compare the output (this comes later).
The added .lyx files are from tex2lyx around mid of april, so that you
can see the regressions of the current version if you run the test
yourself (simply run git diff afterwards).

The home made test runner is quite stupid, but better than nothing.
Feel free to improve it or replace it with something better, as long
as running it stays as simple as now.

src/tex2lyx/Makefile.am
src/tex2lyx/test/CJK.lyx.lyx [new file with mode: 0644]
src/tex2lyx/test/DummyDocument.lyx [new file with mode: 0644]
src/tex2lyx/test/XeTeX-polyglossia.lyx.lyx [new file with mode: 0644]
src/tex2lyx/test/box-color-size-space-align.lyx.lyx [new file with mode: 0644]
src/tex2lyx/test/runtests.py [new file with mode: 0755]
src/tex2lyx/test/test-insets.lyx.lyx [new file with mode: 0644]
src/tex2lyx/test/test-structure.lyx.lyx [new file with mode: 0644]
src/tex2lyx/test/test.lyx.lyx [new file with mode: 0644]

index 9bd1939823d34165bc5bb55d2d5c58baae287682..d239ed3cf839c4c391a8296d2f2790d25702f6c9 100644 (file)
@@ -20,6 +20,7 @@ AM_CPPFLAGS += -DTEX2LYX $(PCH_FLAGS) -I$(top_srcdir)/src/tex2lyx \
        -I$(top_srcdir)/src -I$(top_builddir) $(BOOST_INCLUDES)
 
 TEST_FILES = \
+       test/runtests.py \
        test/box-color-size-space-align.tex \
        test/CJK.tex \
        test/DummyDocument.tex \
@@ -30,6 +31,8 @@ TEST_FILES = \
        test/test-structure.tex \
        test/XeTeX-polyglossia.tex
 
+TESTS = test/runtests.py
+
 LINKED_FILES = \
        ../Author.cpp \
        ../Color.cpp \
diff --git a/src/tex2lyx/test/CJK.lyx.lyx b/src/tex2lyx/test/CJK.lyx.lyx
new file mode 100644 (file)
index 0000000..02d8bd4
--- /dev/null
@@ -0,0 +1,712 @@
+#LyX file created by tex2lyx 2.1.0svn
+\lyxformat 430
+\begin_document
+\begin_header
+\textclass article
+\begin_preamble
+
+\usepackage{CJK}\usepackage{babel}
+
+
+% It is impossible to get the document language because the document could start with a command,
+% whitespace, and English word or whatever and the rest is in Japanese. Checking for the first CJK
+% environment is no solution because the document could be English and contain only some Japanese.
+
+
+\end_preamble
+\use_default_options false
+\language english
+\language_package default
+\inputencoding utf8
+\fontencoding T1
+\font_roman default
+\font_sans default
+\font_typewriter default
+\font_default_family default
+\use_non_tex_fonts false
+\font_sc false
+\font_osf false
+\font_sf_scale 100
+\font_tt_scale 100
+\graphics default
+\paperfontsize default
+\spacing single
+\use_hyperref 0
+\papersize default
+\use_geometry false
+\use_package amsmath 1
+\use_package esint 1
+\use_package mathdots 0
+\use_package mathtools 0
+\use_package mhchem 0
+\use_package undertilde 0
+\cite_engine basic
+\cite_engine_type numerical
+\biblio_style plain
+\use_bibtopic false
+\use_indices false
+\paperorientation portrait
+\suppress_date false
+\justification true
+\use_refstyle 0
+\secnumdepth 3
+\tocdepth 3
+\paragraph_separation indent
+\paragraph_indentation default
+\quotes_language english
+\papercolumns 1
+\papersides 1
+\paperpagestyle default
+\tracking_changes false
+\output_changes false
+\html_math_output 0
+\html_css_as_file 0
+\html_be_strict false
+\end_header
+
+\begin_body
+
+\begin_layout Standard
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+begin{CJK}
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+{
+\end_layout
+
+\end_inset
+
+EUC-JP
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+{}
+\end_layout
+
+\end_inset
+
+Japanese 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+end{CJK}
+\end_layout
+
+\end_inset
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+begin{CJK}
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+{
+\end_layout
+
+\end_inset
+
+UTF8
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+{}
+\end_layout
+
+\end_inset
+
+Chinese traditional
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+end{CJK}
+\end_layout
+
+\end_inset
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+begin{CJK}
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+{
+\end_layout
+
+\end_inset
+
+EUC-JP
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+{}
+\end_layout
+
+\end_inset
+
+ Japanese 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+end{CJK}
+\end_layout
+
+\end_inset
+
+ hello 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+begin{CJK}
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+{
+\end_layout
+
+\end_inset
+
+GB
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+{}
+\end_layout
+
+\end_inset
+
+Chinese simplified 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+end{CJK}
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+begin{CJK}
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+{
+\end_layout
+
+\end_inset
+
+EUC-JP
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+{
+\end_layout
+
+\end_inset
+
+hei
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+ Japanese 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+end{CJK}
+\end_layout
+
+\end_inset
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+begin{CJK}
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+{
+\end_layout
+
+\end_inset
+
+GB
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+{}
+\end_layout
+
+\end_inset
+
+Chinese simplified 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+end{CJK}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+begin{CJK}
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+{
+\end_layout
+
+\end_inset
+
+Bg5
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+{}
+\end_layout
+
+\end_inset
+
+ Big5 文鼎楷書 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+end{CJK}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+
+\lang english
+English
+\end_layout
+
+\begin_layout Standard
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+begin{CJK}
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+{
+\end_layout
+
+\end_inset
+
+SJIS
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+{}
+\end_layout
+
+\end_inset
+
+ ShiftJIS æ\97¥æ\9c¬èª\9eã\81®æ\96\87ç«  
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+end{CJK}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+hello
+\end_layout
+
+\begin_layout Standard
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+begin{CJK}
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+{
+\end_layout
+
+\end_inset
+
+JIS
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+{}
+\end_layout
+
+\end_inset
+
+ JIS-code \e
+\begin_inset Formula $BF|K\8l$
+\end_inset
+
+NJ8>O\e(B 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+end{CJK}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+begin{CJK}
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+{
+\end_layout
+
+\end_inset
+
+KS
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+{}
+\end_layout
+
+\end_inset
+
+Korean 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+end{CJK}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_body
+\end_document
diff --git a/src/tex2lyx/test/DummyDocument.lyx b/src/tex2lyx/test/DummyDocument.lyx
new file mode 100644 (file)
index 0000000..2278035
--- /dev/null
@@ -0,0 +1,76 @@
+#LyX file created by tex2lyx 2.1.0svn
+\lyxformat 430
+\begin_document
+\begin_header
+\textclass article
+\use_default_options false
+\language english
+\language_package none
+\inputencoding latin9
+\fontencoding T1
+\font_roman default
+\font_sans default
+\font_typewriter default
+\font_default_family default
+\use_non_tex_fonts false
+\font_sc false
+\font_osf false
+\font_sf_scale 100
+\font_tt_scale 100
+\graphics default
+\paperfontsize 12
+\spacing onehalf
+\use_hyperref 0
+\papersize a4paper
+\use_geometry false
+\use_package amsmath 2
+\use_package esint 1
+\use_package mathdots 0
+\use_package mathtools 0
+\use_package mhchem 0
+\use_package undertilde 0
+\cite_engine natbib
+\cite_engine_type numerical
+\biblio_style plainnat
+\use_bibtopic false
+\use_indices true
+\paperorientation portrait
+\suppress_date false
+\justification true
+\use_refstyle 0
+\secnumdepth 3
+\tocdepth 3
+\paragraph_separation indent
+\paragraph_indentation 3mm
+\quotes_language english
+\papercolumns 1
+\papersides 1
+\paperpagestyle default
+\tracking_changes false
+\output_changes false
+\html_math_output 0
+\html_css_as_file 0
+\html_be_strict false
+\end_header
+
+\begin_body
+
+\begin_layout Subsection
+
+
+\begin_inset CommandInset label
+LatexCommand label
+name "sub:External-Subsection"
+
+\end_inset
+
+External Subsection
+\end_layout
+
+\begin_layout Standard
+
+This is a small dummy child document to show how files can be inserted to another document. Here are some accented characters to make sure the encoding is passed to included files: éè 
+\end_layout
+
+\end_body
+\end_document
diff --git a/src/tex2lyx/test/XeTeX-polyglossia.lyx.lyx b/src/tex2lyx/test/XeTeX-polyglossia.lyx.lyx
new file mode 100644 (file)
index 0000000..fa51c5f
--- /dev/null
@@ -0,0 +1,322 @@
+#LyX file created by tex2lyx 2.1.0svn
+\lyxformat 430
+\begin_document
+\begin_header
+\textclass article
+\begin_preamble
+
+\usepackage{fontspec}\setmainfont[Mapping=tex-text]{Linux Libertine O}
+\setsansfont[Mapping=tex-text,Scale=0.75]{Linux Biolinum O}
+\setmonofont{Linux Biolinum O}
+\usepackage{xunicode}\usepackage{polyglossia}\setdefaultlanguage[variant=british, ordinalmonthday = false]{english}
+\setotherlanguage{albanian}
+\setotherlanguage[variant=polytonic]{greek}
+\setotherlanguage{hebrew}
+
+\end_preamble
+\use_default_options false
+\language english
+\language_package none
+\inputencoding auto
+\fontencoding default
+\font_roman default
+\font_sans default
+\font_typewriter default
+\font_default_family default
+\use_non_tex_fonts true
+\font_sc false
+\font_osf false
+\font_sf_scale 100
+\font_tt_scale 100
+\graphics default
+\paperfontsize default
+\spacing single
+\use_hyperref 0
+\papersize default
+\use_geometry false
+\use_package amsmath 1
+\use_package esint 1
+\use_package mathdots 0
+\use_package mathtools 0
+\use_package mhchem 0
+\use_package undertilde 0
+\cite_engine basic
+\cite_engine_type numerical
+\biblio_style plain
+\use_bibtopic false
+\use_indices false
+\paperorientation portrait
+\suppress_date false
+\justification true
+\use_refstyle 0
+\secnumdepth 3
+\tocdepth 3
+\paragraph_separation indent
+\paragraph_indentation default
+\quotes_language english
+\papercolumns 1
+\papersides 1
+\paperpagestyle default
+\tracking_changes false
+\output_changes false
+\html_math_output 0
+\html_css_as_file 0
+\html_be_strict false
+\end_header
+
+\begin_body
+
+\begin_layout Part
+
+df
+\end_layout
+
+\begin_layout Standard
+
+1 English 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+textgreek
+\end_layout
+
+\end_inset
+
+[variant=ancient]
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+{
+\end_layout
+
+\end_inset
+
+ancient Greek
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+ English 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+textgreek
+\end_layout
+
+\end_inset
+
+[numerals=arabic, variant=ancient]
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+{
+\end_layout
+
+\end_inset
+
+ancient G
+\family sans
+reek
+\family default
+ with Arabic numerals
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+ English
+\end_layout
+
+\begin_layout Standard
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+begin{albanian}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Part
+
+df
+\end_layout
+
+\begin_layout Standard
+
+2 Albanian 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+textgreek
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+{
+\end_layout
+
+\end_inset
+
+Greek
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+ Albanian 
+\shape smallcaps
+smallcaps
+\shape default
+
+\end_layout
+
+\begin_layout Standard
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+end{albanian}
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+begin{hebrew}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Part
+
+df
+\end_layout
+
+\begin_layout Standard
+
+3 Hebrew
+\end_layout
+
+\begin_layout Standard
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+end{hebrew}
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+%empty language paragraph
+\end_layout
+
+\begin_layout Standard
+
+
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+begin{albanian}
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+end{albanian}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_body
+\end_document
diff --git a/src/tex2lyx/test/box-color-size-space-align.lyx.lyx b/src/tex2lyx/test/box-color-size-space-align.lyx.lyx
new file mode 100644 (file)
index 0000000..23b0750
--- /dev/null
@@ -0,0 +1,2270 @@
+#LyX file created by tex2lyx 2.1.0svn
+\lyxformat 430
+\begin_document
+\begin_header
+\textclass article
+\begin_preamble
+
+\setlength{\fboxsep}{3mm}
+
+\definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
+
+\color[rgb]{0,0,0}
+
+\usepackage{ifpdf}% part of the hyperref bundle
+\ifpdf % if pdflatex is used
+
+ % set fonts for nicer pdf view
+ \IfFileExists{lmodern.sty}{\usepackage{lmodern}}{}
+
+ % link all cross references and URLs in pdf output
+ \usepackage[colorlinks=true, bookmarks, bookmarksnumbered,
+  bookmarksopen, bookmarksopenlevel=2,
+  linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,
+  pdfpagelayout=OneColumn, pdfnewwindow=true,
+  pdfstartview=XYZ, plainpages=false, pdfpagelabels,
+  pdfauthor={LyX Team}, pdftex,
+  pdftitle={tex2lyx testcase},pdfsubject={tex2lyx},
+  pdfkeywords={LyX, tex2lyx}]{hyperref}
+\else % if dvi or ps is produced
+
+ % link all cross references and URLs in dvi output
+ \usepackage[ps2pdf]{hyperref}
+
+\fi % end if pdflatex is used
+
+
+
+\end_preamble
+\options b4paper
+\use_default_options false
+\language english
+\language_package none
+\inputencoding latin9
+\fontencoding T1
+\font_roman default
+\font_sans default
+\font_typewriter default
+\font_default_family default
+\use_non_tex_fonts false
+\font_sc false
+\font_osf false
+\font_sf_scale 100
+\font_tt_scale 100
+\graphics default
+\paperfontsize 12
+\spacing other 1.2
+\use_hyperref 0
+\papersize b4paper
+\use_geometry true
+\use_package amsmath 2
+\use_package esint 1
+\use_package mathdots 0
+\use_package mathtools 0
+\use_package mhchem 0
+\use_package undertilde 0
+\cite_engine basic
+\cite_engine_type numerical
+\biblio_style plain
+\use_bibtopic false
+\use_indices false
+\paperorientation landscape
+\suppress_date false
+\justification true
+\use_refstyle 0
+\notefontcolor #0000ff
+\backgroundcolor #ff5500
+\boxbgcolor #ffff00
+\leftmargin 3cm
+\topmargin 1cm
+\rightmargin 4cm
+\bottommargin 2cm
+\headheight 6cm
+\headsep 5cm
+\footskip 7cm
+\columnsep 8cm
+\secnumdepth 3
+\tocdepth 3
+\paragraph_separation skip
+\defskip 3mm
+\quotes_language english
+\papercolumns 2
+\papersides 2
+\paperpagestyle default
+\tracking_changes false
+\output_changes false
+\html_math_output 0
+\html_css_as_file 0
+\html_be_strict false
+\end_header
+
+\begin_body
+
+\begin_layout Standard
+
+
+\begin_inset CommandInset toc
+LatexCommand tableofcontents
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Section
+
+Boxes
+\end_layout
+
+\begin_layout Subsection
+
+Frameless Boxes
+\end_layout
+
+\begin_layout Standard
+
+blabla 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+mbox{
+\end_layout
+
+\end_inset
+
+mbox
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+ blabla
+\end_layout
+
+\begin_layout Standard
+
+blabla 
+\begin_inset Box Frameless
+position "c"
+hor_pos "c"
+has_inner_box 1
+inner_pos "c"
+use_parbox 0
+use_makebox 1
+width "1in"
+special "width"
+height "1in"
+height_special "totalheight"
+status open
+
+
+\begin_layout Plain Layout
+
+makebox 1
+\end_layout
+
+\end_inset
+
+ blabla
+\end_layout
+
+\begin_layout Standard
+
+blabla 
+\begin_inset Box Frameless
+position "t"
+hor_pos "c"
+has_inner_box 1
+inner_pos "t"
+use_parbox 0
+use_makebox 1
+width "3cm"
+special "none"
+height "1in"
+height_special "totalheight"
+status open
+
+
+\begin_layout Plain Layout
+
+makebox 2
+\end_layout
+
+\end_inset
+
+ blabla
+\end_layout
+
+\begin_layout Standard
+
+blabla 
+\begin_inset Box Frameless
+position "t"
+hor_pos "l"
+has_inner_box 1
+inner_pos "t"
+use_parbox 0
+use_makebox 1
+width "3cm"
+special "none"
+height "1in"
+height_special "totalheight"
+status open
+
+
+\begin_layout Plain Layout
+
+makebox 3
+\end_layout
+
+\end_inset
+
+ blabla
+\end_layout
+
+\begin_layout Standard
+
+
+\begin_inset Float figure
+placement ht
+wide false
+sideways false
+status open
+
+
+\begin_layout Standard
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+centering
+\end_layout
+
+\end_inset
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+setlength{
+\backslash
+unitlength}{.2in}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+begin{picture}
+\end_layout
+
+\end_inset
+
+(8,6) 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+put
+\end_layout
+
+\end_inset
+
+(0,0)
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+{
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+makebox(0,0)[tr]{
+\end_layout
+
+\end_inset
+
+AAA
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+put
+\end_layout
+
+\end_inset
+
+(8,0)
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+{
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+makebox(0,0){
+\end_layout
+
+\end_inset
+
+BBB
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+put
+\end_layout
+
+\end_inset
+
+(0,8)
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+{
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+framebox(0,0){
+\end_layout
+
+\end_inset
+
+x
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+put
+\end_layout
+
+\end_inset
+
+(1,0)
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+{
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+line
+\end_layout
+
+\end_inset
+
+(1,0)
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+{
+\end_layout
+
+\end_inset
+
+6
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+end{picture}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+raisebox{8.5mm}{
+\end_layout
+
+\end_inset
+
+test
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+raisebox{-6.5mm}{
+\end_layout
+
+\end_inset
+
+tset
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Subsection
+
+Framed Boxes
+\end_layout
+
+\begin_layout Standard
+
+blabla 
+\begin_inset Box Framed
+position "c"
+hor_pos "c"
+has_inner_box 0
+inner_pos "c"
+use_parbox 0
+use_makebox 0
+width "100col%"
+special "none"
+height "1in"
+height_special "totalheight"
+status open
+
+
+\begin_layout Standard
+
+framed
+\end_layout
+
+\end_inset
+
+blabla
+\end_layout
+
+\begin_layout Standard
+
+blabla 
+\begin_inset Box Framed
+position "c"
+hor_pos "c"
+has_inner_box 0
+inner_pos "c"
+use_parbox 0
+use_makebox 0
+width "100col%"
+special "none"
+height "1in"
+height_special "totalheight"
+status open
+
+
+\begin_layout Standard
+
+
+\begin_inset Box Framed
+position "c"
+hor_pos "c"
+has_inner_box 0
+inner_pos "c"
+use_parbox 0
+use_makebox 0
+width "100col%"
+special "none"
+height "1in"
+height_special "totalheight"
+status open
+
+
+\begin_layout Standard
+
+nested framed
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+blabla
+\end_layout
+
+\begin_layout Standard
+
+blabla 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+fbox{
+\end_layout
+
+\end_inset
+
+fbox
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+ blabla
+\end_layout
+
+\begin_layout Standard
+
+blabla 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+framebox{
+\end_layout
+
+\end_inset
+
+fr
+\color blue
+ame
+\color inherit
+box 1 blabla
+\end_layout
+
+\begin_layout Standard
+
+blabla 
+\begin_inset Box Boxed
+position "c"
+hor_pos "c"
+has_inner_box 0
+inner_pos "c"
+use_parbox 0
+use_makebox 0
+width "3cm"
+special "none"
+height "1in"
+height_special "totalheight"
+status open
+
+
+\begin_layout Standard
+
+framebox 2
+\end_layout
+
+\end_inset
+
+ blabla
+\end_layout
+
+\begin_layout Standard
+
+blabla 
+\begin_inset Box Boxed
+position "c"
+hor_pos "l"
+has_inner_box 0
+inner_pos "c"
+use_parbox 0
+use_makebox 0
+width "3cm"
+special "none"
+height "1in"
+height_special "totalheight"
+status open
+
+
+\begin_layout Standard
+
+framebox 3
+\end_layout
+
+\end_inset
+
+ blabla
+\end_layout
+
+\begin_layout Standard
+
+This is an example text. 
+\begin_inset Box Boxed
+position "c"
+hor_pos "c"
+has_inner_box 1
+inner_pos "s"
+use_parbox 0
+use_makebox 0
+width "20col%"
+special "none"
+height "1in"
+height_special "totalheight"
+status open
+
+
+\begin_layout Plain Layout
+\align center
+
+The box content 
+\end_layout
+
+\begin_layout Plain Layout
+\align center
+
+is evenly distributed 
+\end_layout
+
+\begin_layout Plain Layout
+\align center
+
+over the 
+\end_layout
+
+\begin_layout Plain Layout
+\align center
+
+box height. 
+\end_layout
+
+\end_inset
+
+ This is an example text.
+\end_layout
+
+\begin_layout Standard
+
+blabla 
+\begin_inset Box ovalbox
+position "c"
+hor_pos "c"
+has_inner_box 0
+inner_pos "c"
+use_parbox 0
+use_makebox 0
+width "100col%"
+special "none"
+height "1in"
+height_special "totalheight"
+status open
+
+
+\begin_layout Standard
+
+ovalbox
+\end_layout
+
+\end_inset
+
+ blabla
+\end_layout
+
+\begin_layout Standard
+
+blabla 
+\begin_inset Box Ovalbox
+position "c"
+hor_pos "c"
+has_inner_box 0
+inner_pos "c"
+use_parbox 0
+use_makebox 0
+width "100col%"
+special "none"
+height "1in"
+height_special "totalheight"
+status open
+
+
+\begin_layout Standard
+
+Ovalbox
+\end_layout
+
+\end_inset
+
+ blabla
+\end_layout
+
+\begin_layout Standard
+
+blabla 
+\begin_inset Box Shadowbox
+position "c"
+hor_pos "c"
+has_inner_box 0
+inner_pos "c"
+use_parbox 0
+use_makebox 0
+width "100col%"
+special "none"
+height "1in"
+height_special "totalheight"
+status open
+
+
+\begin_layout Standard
+
+shadowbox
+\end_layout
+
+\end_inset
+
+ blabla
+\end_layout
+
+\begin_layout Standard
+
+blabla 
+\begin_inset Box Doublebox
+position "c"
+hor_pos "c"
+has_inner_box 0
+inner_pos "c"
+use_parbox 0
+use_makebox 0
+width "100col%"
+special "none"
+height "1in"
+height_special "totalheight"
+status open
+
+
+\begin_layout Standard
+
+doublebox
+\end_layout
+
+\end_inset
+
+ blabla
+\end_layout
+
+\begin_layout Standard
+
+
+\begin_inset Formula $\boxed{\int A=B}$
+\end_inset
+
+
+\end_layout
+
+\begin_layout Subsection
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+LyX
+\end_layout
+
+\end_inset
+
+ Boxes
+\end_layout
+
+\begin_layout Standard
+
+
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Standard
+
+
+\series bold
+Note:
+\series default
+ Not all DVI-viewers are able to display rotations. 
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+
+\begin_inset Box Shaded
+position "c"
+hor_pos "c"
+has_inner_box 0
+inner_pos "c"
+use_parbox 0
+use_makebox 0
+width "100col%"
+special "none"
+height "1in"
+height_special "totalheight"
+status open
+
+
+\begin_layout Standard
+
+Shaded background box
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+
+\begin_inset Box Shaded
+position "c"
+hor_pos "c"
+has_inner_box 1
+inner_pos "c"
+use_parbox 0
+use_makebox 0
+width "100col%"
+special "none"
+height "1in"
+height_special "totalheight"
+status open
+
+
+\begin_layout Plain Layout
+
+Shaded background box, with inner minipage
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Section
+
+Colors
+\end_layout
+
+\begin_layout Subsection
+
+Predefined Colors
+\end_layout
+
+\begin_layout Standard
+
+test 
+\color blue
+blue
+\color inherit
+ test 
+\color red
+red red red
+\color inherit
+ test 
+\color green
+bla
+\color inherit
+
+\color magenta
+blub
+\color inherit
+ test 
+\color green
+c
+\color inherit
+
+\color red
+o
+\color inherit
+
+\color blue
+l
+\color inherit
+
+\color green
+o
+\color inherit
+
+\color red
+r
+\color inherit
+
+\end_layout
+
+\begin_layout Subsection
+
+Custom Colors
+\end_layout
+
+\begin_layout Standard
+
+test 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+textcolor{darkgreen}
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+{
+\end_layout
+
+\end_inset
+
+dark green
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+ test
+\end_layout
+
+\begin_layout Standard
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+definecolor{violet}{rgb}{0.5, 0, 1}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+test 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+textcolor{violet}
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+{
+\end_layout
+
+\end_inset
+
+violet
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+ test
+\end_layout
+
+\begin_layout Section
+
+Font sizes
+\end_layout
+
+\begin_layout Standard
+
+
+\size giant
+Huge text
+\end_layout
+
+\begin_layout Standard
+
+\size giant
+
+
+\size huge
+huge text
+\end_layout
+
+\begin_layout Standard
+
+\size huge
+
+
+\size largest
+LARGE text
+\end_layout
+
+\begin_layout Standard
+
+\size largest
+
+
+\size larger
+Large text
+\end_layout
+
+\begin_layout Standard
+
+\size larger
+
+
+\size large
+large text
+\end_layout
+
+\begin_layout Standard
+
+\size large
+
+
+\size normal
+normalsize text
+\end_layout
+
+\begin_layout Standard
+
+\size normal
+
+
+\size small
+small text
+\end_layout
+
+\begin_layout Standard
+
+\size small
+
+
+\size footnotesize
+footnotesize text
+\end_layout
+
+\begin_layout Standard
+
+\size footnotesize
+
+
+\size scriptsize
+scriptsize text
+\end_layout
+
+\begin_layout Standard
+
+\size scriptsize
+
+
+\size tiny
+tiny text
+\end_layout
+
+\begin_layout Standard
+
+\size tiny
+
+
+\size giant
+Huge text 
+\size huge
+huge text 
+\size largest
+LARGE text 
+\size larger
+Large text 
+\size large
+large text 
+\size normal
+normalsize text 
+\size small
+small text 
+\size footnotesize
+footnotesize text 
+\size scriptsize
+scriptsize text 
+\size tiny
+tiny text
+\end_layout
+
+\begin_layout Standard
+
+\size tiny
+
+
+\size normal
+Font size switches don't affect section headings!
+\end_layout
+
+\begin_layout Standard
+
+\size normal
+
+
+\size scriptsize
+bla blub
+\end_layout
+
+\begin_layout Section
+
+Font size dummy 1
+\end_layout
+
+\begin_layout Standard
+
+\size scriptsize
+
+bla blub
+\end_layout
+
+\begin_layout Standard
+
+\size scriptsize
+
+bla blub
+\end_layout
+
+\begin_layout Section*
+
+Font size dummy 2
+\end_layout
+
+\begin_layout Standard
+
+\size scriptsize
+
+bla blub 
+\size normal
+
+\end_layout
+
+\begin_layout Section
+
+Strikeout, underlined etc.
+\end_layout
+
+\begin_layout Standard
+
+\size normal
+
+Emphasized: 
+\emph on
+test
+\emph default
+
+\end_layout
+
+\begin_layout Standard
+
+\size normal
+
+Underbar: 
+\bar under
+test
+\bar default
+
+\end_layout
+
+\begin_layout Standard
+
+\size normal
+
+Double underbar: 
+\uuline on
+test
+\uuline default
+
+\end_layout
+
+\begin_layout Standard
+
+\size normal
+
+Wavy underbar: 
+\uwave on
+test
+\uwave default
+
+\end_layout
+
+\begin_layout Standard
+
+\size normal
+
+Strike out: 
+\strikeout on
+test
+\strikeout default
+
+\end_layout
+
+\begin_layout Standard
+
+\size normal
+
+Crossed out: 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+xout
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+{
+\end_layout
+
+\end_inset
+
+test
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\size normal
+
+Noun: 
+\noun on
+test
+\noun default
+
+\end_layout
+
+\begin_layout Standard
+
+\size normal
+
+Underbar, emphasized, strikeout: 
+\emph on
+
+\bar under
+
+\strikeout on
+test
+\strikeout default
+
+\bar default
+
+\emph default
+
+\end_layout
+
+\begin_layout Section
+
+Paragraph spacing
+\end_layout
+
+\begin_layout Standard
+
+\size normal
+
+bla
+\end_layout
+
+\begin_layout Standard
+\paragraph_spacing single
+
+\size normal
+
+singlespace single singlespace single singlespace single singlespace single singlespace single singlespace single singlespace single singlespace single 
+\end_layout
+
+\begin_layout Standard
+\paragraph_spacing onehalf
+
+\size normal
+
+onehalfspace 1 onehalfspace 1 onehalfspace 1 onehalfspace 1 onehalfspace 1 onehalfspace 1 onehalfspace 1 onehalfspace 1 onehalfspace 1 onehalfspace 1
+\end_layout
+
+\begin_layout Standard
+\paragraph_spacing onehalf
+
+\size normal
+
+onehalfspace 2 onehalfspace 2 onehalfspace 2 onehalfspace 2 onehalfspace 2 onehalfspace 2 onehalfspace 2 onehalfspace 2 onehalfspace 2 onehalfspace 2 
+\end_layout
+
+\begin_layout Standard
+
+\size normal
+
+blub
+\end_layout
+
+\begin_layout Standard
+\paragraph_spacing onehalf
+
+\size normal
+
+onehalfspace single onehalfspace single onehalfspace single onehalfspace single onehalfspace single onehalfspace single onehalfspace single onehalfspace single 
+\end_layout
+
+\begin_layout Standard
+
+\size normal
+
+blablub
+\end_layout
+
+\begin_layout Standard
+\paragraph_spacing double
+
+\size normal
+
+doublespace single doublespace single doublespace single doublespace single doublespace single doublespace single doublespace single doublespace single 
+\end_layout
+
+\begin_layout Standard
+\paragraph_spacing other 1.2
+
+\size normal
+
+ 1.2 spacing single 1.2 spacing single 1.2 spacing single 1.2 spacing single 1.2 spacing single 1.2 spacing single 1.2 spacing single 1.2 spacing single 
+\end_layout
+
+\begin_layout Section
+
+Paragraph alignment
+\end_layout
+
+\begin_layout Standard
+
+\size normal
+
+bla
+\end_layout
+
+\begin_layout Standard
+\align center
+
+\size normal
+
+center single center single center single center single center single center single center single center single center single center single 
+\end_layout
+
+\begin_layout Standard
+
+\size normal
+
+blabla
+\end_layout
+
+\begin_layout Standard
+\align left
+
+\size normal
+
+flushleft 1 flushleft 1 flushleft 1 flushleft 1 flushleft 1 flushleft 1 flushleft 1 flushleft 1 flushleft 1 flushleft 1 flushleft 1 flushleft 1
+\end_layout
+
+\begin_layout Standard
+\align left
+
+\size normal
+
+flushleft 2 flushleft 2 flushleft 2 flushleft 2 flushleft 2 flushleft 2 flushleft 2 flushleft 2 flushleft 2 flushleft 2 flushleft 2 flushleft 2 
+\end_layout
+
+\begin_layout Standard
+
+\size normal
+
+blub
+\end_layout
+
+\begin_layout Standard
+\align left
+
+\size normal
+
+flushleft single flushleft single flushleft single flushleft single flushleft single flushleft single flushleft single flushleft single 
+\end_layout
+
+\begin_layout Standard
+
+\size normal
+
+blablub
+\end_layout
+
+\begin_layout Standard
+\align right
+
+\size normal
+
+flushright single flushright single flushright single flushright single flushright single flushright single flushright single flushright single 
+\end_layout
+
+\begin_layout Standard
+
+\size normal
+
+bla
+\end_layout
+
+\begin_layout Standard
+
+\size normal
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+centering
+\end_layout
+
+\end_inset
+
+ centering single centering single centering single centering single centering single centering single centering single centering single
+\end_layout
+
+\begin_layout Standard
+
+\size normal
+
+blabla
+\end_layout
+
+\begin_layout Standard
+
+\size normal
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+raggedright
+\end_layout
+
+\end_inset
+
+ raggedright 1 raggedright 1 raggedright 1 raggedright 1 raggedright 1 raggedright 1 raggedright 1 raggedright 1 raggedright 1 raggedright 1
+\end_layout
+
+\begin_layout Standard
+
+\size normal
+
+raggedright 2 raggedright 2 raggedright 2 raggedright 2 raggedright 2 raggedright 2 raggedright 2 raggedright 2 raggedright 2 raggedright 2
+\end_layout
+
+\begin_layout Standard
+
+\size normal
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+raggedleft
+\end_layout
+
+\end_inset
+
+ raggedleft 1 raggedleft 1 raggedleft 1 raggedleft 1 raggedleft 1 raggedleft 1 raggedleft 1 raggedleft 1 raggedleft 1 raggedleft 1
+\end_layout
+
+\begin_layout Standard
+
+\size normal
+
+raggedleft 2 raggedleft 2 raggedleft 2 raggedleft 2 raggedleft 2 raggedleft 2 raggedleft 2 raggedleft 2 raggedleft 2 raggedleft 2
+\end_layout
+
+\begin_layout Standard
+
+\size normal
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+%set back to justified
+\end_layout
+
+\begin_layout Standard
+
+
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+raggedright
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+{}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Subsection
+
+Horizontal spaces
+\end_layout
+
+\begin_layout Standard
+
+\size normal
+
+Lines can have an hfill 
+\begin_inset space \hfill{}
+
+\end_inset
+
+in the middle. Lines can have an hfill 
+\begin_inset space \hfill{}
+\end_inset
+
+ in the middle. Lines can have a protected hfill 
+\begin_inset space \hspace*{\fill}
+\end_inset
+
+ in the middle. Lines can have a dotted fill 
+\begin_inset space \dotfill{}
+
+\end_inset
+
+in the middle. Lines can have a rule fill 
+\begin_inset space \hrulefill{}
+
+\end_inset
+
+in the middle. Lines can have a left arrow fill 
+\begin_inset space \leftarrowfill{}
+
+\end_inset
+
+in the middle. Lines can have a right arrow fill 
+\begin_inset space \rightarrowfill{}
+
+\end_inset
+
+in the middle. Lines can have a upbrace fill 
+\begin_inset space \upbracefill{}
+
+\end_inset
+
+in the middle. Lines can have a downbrace fill 
+\begin_inset space \downbracefill{}
+
+\end_inset
+
+in the middle. Lines can have space 
+\begin_inset space \hspace{}
+\length 2cm
+\end_inset
+
+ in the middle. Lines can have protected space 
+\begin_inset space \hspace*{}
+\length 2cm
+\end_inset
+
+ in the middle.
+\end_layout
+
+\begin_layout Standard
+
+\size normal
+
+We also handle defined spaces:
+\end_layout
+
+\begin_layout Standard
+
+\size normal
+
+Interword
+\begin_inset space \space{}
+
+\end_inset
+
+a
+\end_layout
+
+\begin_layout Standard
+
+\size normal
+
+Visible
+\begin_inset space \textvisiblespace{}
+
+\end_inset
+
+a
+\end_layout
+
+\begin_layout Standard
+
+\size normal
+
+Thin
+\begin_inset space \thinspace{}
+
+\end_inset
+
+a
+\end_layout
+
+\begin_layout Standard
+
+\size normal
+
+NegThin
+\begin_inset space \negthinspace{}
+
+\end_inset
+
+a
+\end_layout
+
+\begin_layout Standard
+
+\size normal
+
+NegMed
+\begin_inset space \negmedspace{}
+
+\end_inset
+
+a
+\end_layout
+
+\begin_layout Standard
+
+\size normal
+
+NegThick
+\begin_inset space \negthickspace{}
+
+\end_inset
+
+a
+\end_layout
+
+\begin_layout Standard
+
+\size normal
+
+enspace
+\begin_inset space \enspace{}
+
+\end_inset
+
+a
+\end_layout
+
+\begin_layout Standard
+
+\size normal
+
+enskip
+\begin_inset space \enskip{}
+
+\end_inset
+
+a
+\end_layout
+
+\begin_layout Standard
+
+\size normal
+
+quad
+\begin_inset space \quad{}
+
+\end_inset
+
+a
+\end_layout
+
+\begin_layout Standard
+
+\size normal
+
+qquad
+\begin_inset space \qquad{}
+
+\end_inset
+
+a
+\end_layout
+
+\begin_layout Subsubsection*
+
+now in math:
+\end_layout
+
+\begin_layout Standard
+
+\size normal
+
+fill: 
+\begin_inset Formula $a\hfill b$
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\size normal
+
+protected fill: 
+\begin_inset Formula $a\hspace*{\fill} b$
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\size normal
+
+2
+\begin_inset space \thinspace{}
+
+\end_inset
+
+cm: 
+\begin_inset Formula $a\hspace*{2cm}b$
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\size normal
+
+protected 2
+\begin_inset space \thinspace{}
+
+\end_inset
+
+cm: 
+\begin_inset Formula $a\hspace{1cm}b$
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\size normal
+
+enskip: 
+\begin_inset Formula $a\enskip b$
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\size normal
+
+enspace: 
+\begin_inset Formula $a\enspace b$
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\size normal
+
+thin: 
+\begin_inset Formula $a\, b$
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\size normal
+
+medium: 
+\begin_inset Formula $a\: b$
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\size normal
+
+thick: 
+\begin_inset Formula $a\; b$
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\size normal
+
+negative thin: 
+\begin_inset Formula $a\negthinspace b$
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\size normal
+
+negative medium: 
+\begin_inset Formula $a\negmedspace b$
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\size normal
+
+negative thick: 
+\begin_inset Formula $a\negthickspace b$
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\size normal
+
+quad: 
+\begin_inset Formula $a\quad b$
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\size normal
+
+qquad: 
+\begin_inset Formula $a\qquad b$
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\size normal
+
+interword: 
+\begin_inset Formula $a\ b$
+\end_inset
+
+
+\end_layout
+
+\begin_layout Subsection
+
+Vertical spaces
+\end_layout
+
+\begin_layout Standard
+
+\size normal
+
+Lines can have a vfill 
+\begin_inset VSpace vfill
+\end_inset
+
+in the middle. Lines can have a vfill 
+\begin_inset VSpace vfill
+\end_inset
+
+ in the middle. Lines can have a protected vfill 
+\begin_inset VSpace vfill*
+\end_inset
+
+ in the middle. Lines can have vertical space 
+\begin_inset VSpace 2cm
+\end_inset
+
+ in the middle. Lines can have protected vertical space 
+\begin_inset VSpace 2cm*
+\end_inset
+
+ in the middle.
+\end_layout
+
+\begin_layout Standard
+
+\size normal
+
+We also handle skips:
+\end_layout
+
+\begin_layout Standard
+
+\size normal
+
+bigskip 1:
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\size normal
+
+bigskip 2:
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\size normal
+
+medskip 1:
+\begin_inset VSpace medskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\size normal
+
+medskip 2:
+\begin_inset VSpace medskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\size normal
+
+smallskip 1:
+\begin_inset VSpace smallskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\size normal
+
+smallskip 2:
+\begin_inset VSpace smallskip
+\end_inset
+
+
+\end_layout
+
+\end_body
+\end_document
diff --git a/src/tex2lyx/test/runtests.py b/src/tex2lyx/test/runtests.py
new file mode 100755 (executable)
index 0000000..ddb73c4
--- /dev/null
@@ -0,0 +1,48 @@
+#! /usr/bin/env python
+# -*- coding: utf-8 -*-
+
+# file src/tex2lyx/test/runtests.py
+# This file is part of LyX, the document processor.
+# Licence details can be found in the file COPYING.
+
+# author Georg Baum
+
+# Full author contact details are available in file CREDITS
+
+# This script reads a unicode symbol file and completes it in the given range
+
+import os, string, sys
+
+
+def usage(prog_name):
+    return "Usage: %s [<tex2lyx binary>]" % prog_name
+
+
+def main(argv):
+    # Parse and manipulate the command line arguments.
+    sys.path.append(os.path.join(os.path.dirname(sys.argv[0]), '../../../lib/scripts'))
+    from lyxpreview_tools import error
+
+    if len(argv) == 1:
+        tex2lyx = './tex2lyx'
+    elif len(argv) == 2:
+        tex2lyx = argv[1]
+    else:
+        error(usage(argv[0]))
+
+    basedir = os.path.dirname(argv[0])
+
+    files = ['test.ltx', 'test-structure.tex', 'test-insets.tex', \
+             'box-color-size-space-align.tex', 'CJK.tex', \
+             'XeTeX-polyglossia.tex']
+
+    for f in files:
+        texfile = os.path.join(os.path.dirname(argv[0]), f)
+        cmd = '%s -roundtrip -f %s' % (tex2lyx, texfile)
+        if os.system(cmd) != 0:
+            error('Running `%s´ failed.' % cmd)
+
+
+if __name__ == "__main__":
+    main(sys.argv)
+
diff --git a/src/tex2lyx/test/test-insets.lyx.lyx b/src/tex2lyx/test/test-insets.lyx.lyx
new file mode 100644 (file)
index 0000000..08d9030
--- /dev/null
@@ -0,0 +1,6716 @@
+#LyX file created by tex2lyx 2.1.0svn
+\lyxformat 430
+\begin_document
+\begin_header
+\textclass article
+\begin_preamble
+
+\def\mycommand{\textquestiondown}
+
+
+\end_preamble
+\use_default_options false
+\language english
+\language_package none
+\inputencoding latin9
+\fontencoding T1
+\font_roman default
+\font_sans default
+\font_typewriter default
+\font_default_family default
+\use_non_tex_fonts false
+\font_sc false
+\font_osf false
+\font_sf_scale 100
+\font_tt_scale 100
+\graphics default
+\paperfontsize 12
+\spacing onehalf
+\use_hyperref 0
+\papersize a4paper
+\use_geometry false
+\use_package amsmath 2
+\use_package esint 1
+\use_package mathdots 0
+\use_package mathtools 0
+\use_package mhchem 0
+\use_package undertilde 0
+\cite_engine natbib
+\cite_engine_type numerical
+\biblio_style plainnat
+\use_bibtopic false
+\use_indices true
+\paperorientation portrait
+\suppress_date false
+\justification true
+\use_refstyle 0
+\secnumdepth 3
+\tocdepth 3
+\paragraph_separation indent
+\paragraph_indentation 3mm
+\quotes_language english
+\papercolumns 1
+\papersides 1
+\paperpagestyle default
+\tracking_changes false
+\output_changes false
+\html_math_output 0
+\html_css_as_file 0
+\html_be_strict false
+\end_header
+
+\begin_body
+
+\begin_layout Title
+
+Title
+\end_layout
+
+\begin_layout Date
+
+two days ago
+\end_layout
+
+\begin_layout Standard
+
+
+\begin_inset CommandInset toc
+LatexCommand tableofcontents
+
+\end_inset
+
+
+\begin_inset CommandInset toc
+LatexCommand lstlistoflistings
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\noindent
+
+This paragraph is not indented.
+\end_layout
+
+\begin_layout Section
+
+References
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+
+References
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+Let's start with simple things: a label
+\begin_inset space ~
+
+\end_inset
+
+
+\begin_inset CommandInset label
+LatexCommand label
+name "lab:test"
+
+\end_inset
+
+ and a reference
+\begin_inset space ~
+
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "lab:test"
+
+\end_inset
+
+; note that I have tested 
+\begin_inset Quotes eld
+\end_inset
+
+unbreakable space
+\begin_inset Quotes erd
+\end_inset
+
+ without warning (and worse than that, I just tested english quotes too...).
+\end_layout
+
+\begin_layout Standard
+
+Of course there are other kind of references, like page reference
+\begin_inset space ~
+
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand pageref
+reference "lab:test"
+
+\end_inset
+
+, but also equation reference
+\begin_inset space ~
+
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand eqref
+reference "lab:test"
+
+\end_inset
+
+ (from amsmath package), or varioref's equivalents
+\begin_inset space ~
+
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand vref
+reference "lab:test"
+
+\end_inset
+
+ and
+\begin_inset space ~
+
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand vpageref
+reference "lab:test"
+
+\end_inset
+
+, without forgetting pretty references like
+\begin_inset space ~
+
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand formatted
+reference "lab:test"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Section
+
+Cites
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+
+Cites
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+Let's start with simple things: a 
+\backslash
+cite: 
+\begin_inset CommandInset citation
+LatexCommand citep
+after "after"
+before ""
+key "article-crossref"
+
+\end_inset
+
+ and two 
+\backslash
+cites: 
+\begin_inset CommandInset citation
+LatexCommand citep
+after "after"
+before ""
+key "whole-set,article-crossref"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+Now the natbib things:
+\end_layout
+
+\begin_layout Standard
+
+
+\backslash
+citet: 
+\begin_inset CommandInset citation
+LatexCommand citet
+after "after"
+before "before"
+key "article-crossref"
+
+\end_inset
+
+\backslash
+citet*: 
+\begin_inset CommandInset citation
+LatexCommand citet*
+after "after"
+before "before"
+key "article-crossref"
+
+\end_inset
+
+\backslash
+Citet: 
+\begin_inset CommandInset citation
+LatexCommand Citet
+after "after"
+before "before"
+key "article-crossref"
+
+\end_inset
+
+\backslash
+Citet*: 
+\begin_inset CommandInset citation
+LatexCommand Citet*
+after "after"
+before "before"
+key "article-crossref"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+
+\backslash
+citep: 
+\begin_inset CommandInset citation
+LatexCommand citep
+after "after"
+before "before"
+key "article-crossref"
+
+\end_inset
+
+\backslash
+citep*: 
+\begin_inset CommandInset citation
+LatexCommand citep*
+after "after"
+before "before"
+key "article-crossref"
+
+\end_inset
+
+\backslash
+Citep: 
+\begin_inset CommandInset citation
+LatexCommand Citep
+after "after"
+before "before"
+key "article-crossref"
+
+\end_inset
+
+\backslash
+Citep*: 
+\begin_inset CommandInset citation
+LatexCommand Citep*
+after "after"
+before "before"
+key "article-crossref"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+
+\backslash
+citealt: 
+\begin_inset CommandInset citation
+LatexCommand citealt
+after "after"
+before "before"
+key "article-crossref"
+
+\end_inset
+
+\backslash
+citealt*: 
+\begin_inset CommandInset citation
+LatexCommand citealt*
+after "after"
+before "before"
+key "article-crossref"
+
+\end_inset
+
+\backslash
+Citealt: 
+\begin_inset CommandInset citation
+LatexCommand Citealt
+after "after"
+before "before"
+key "article-crossref"
+
+\end_inset
+
+\backslash
+Citealt*: 
+\begin_inset CommandInset citation
+LatexCommand Citealt*
+after "after"
+before "before"
+key "article-crossref"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+
+\backslash
+citealp: 
+\begin_inset CommandInset citation
+LatexCommand citealp
+after "after"
+before "before"
+key "article-crossref"
+
+\end_inset
+
+\backslash
+citealp*: 
+\begin_inset CommandInset citation
+LatexCommand citealp*
+after "after"
+before "before"
+key "article-crossref"
+
+\end_inset
+
+\backslash
+Citealp: 
+\begin_inset CommandInset citation
+LatexCommand Citep
+after "after"
+before "before"
+key "article-crossref"
+
+\end_inset
+
+\backslash
+Citealp*: 
+\begin_inset CommandInset citation
+LatexCommand Citealp*
+after "after"
+before "before"
+key "article-crossref"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+
+\backslash
+citeauthor: 
+\begin_inset CommandInset citation
+LatexCommand citeauthor
+after "after"
+before "before"
+key "article-crossref"
+
+\end_inset
+
+\backslash
+citeauthor*: 
+\begin_inset CommandInset citation
+LatexCommand citeauthor*
+after "after"
+before "before"
+key "article-crossref"
+
+\end_inset
+
+\backslash
+Citeauthor: 
+\begin_inset CommandInset citation
+LatexCommand Citeauthor
+after "after"
+before "before"
+key "article-crossref"
+
+\end_inset
+
+\backslash
+Citeauthor*: 
+\begin_inset CommandInset citation
+LatexCommand Citeauthor*
+after "after"
+before "before"
+key "article-crossref"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+
+\backslash
+citeyear: 
+\begin_inset CommandInset citation
+LatexCommand citeyear
+after "after"
+before "before"
+key "article-crossref"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+
+\backslash
+citeyearpar: 
+\begin_inset CommandInset citation
+LatexCommand citeyearpar
+after "after"
+before "before"
+key "article-crossref"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+
+\backslash
+nocite: 
+\begin_inset CommandInset citation
+LatexCommand nocite
+after ""
+key "article-crossref"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+% Remove duplicate call of 
+\backslash
+bibliography since LaTeX throws an error.
+\end_layout
+
+\begin_layout Standard
+
+
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+%
+\backslash
+bibliographystyle{unsrt}
+\end_layout
+
+\begin_layout Standard
+
+
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+% 
+\backslash
+bibliography{xampl}
+\end_layout
+
+\begin_layout Standard
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+With 
+\backslash
+nocite{*}:   
+\begin_inset CommandInset bibtex
+LatexCommand bibtex
+btprint "btPrintAll"
+bibfiles "xampl"
+options "unsrt"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+From bug 7306: 
+\begin_inset CommandInset citation
+LatexCommand citet
+after ""
+before ""
+key "gur+04"
+
+\end_inset
+
+ have demonstrated that authors should not have umlauts in their names. It's OK to use them in the manüscript, though. 
+\end_layout
+
+\begin_layout Bibliography
+
+
+\begin_inset CommandInset bibitem
+LatexCommand bibitem
+label "{{Gürkan et~al.}(2004)}"
+key "gur+04"
+
+\end_inset
+
+ Gürkan, M.
+\begin_inset space ~
+
+\end_inset
+
+A., Freitag, M., & Rasio, F.
+\begin_inset space ~
+
+\end_inset
+
+A. 2004, ApJ, 604, 632
+\end_layout
+
+\begin_layout Section
+
+Input files
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+
+Input files
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+We can input files too, like this 
+\begin_inset CommandInset include
+LatexCommand input
+preview false
+filename "DummyDocument.lyx"
+
+\end_inset
+
+, or with the include variant 
+\begin_inset CommandInset include
+LatexCommand include
+preview false
+filename "DummyDocument.lyx"
+
+\end_inset
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+% unfortunately, including the doc twice generates a multiply defined label
+\end_layout
+
+\begin_layout Standard
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+We can also import chess diagrams:
+\end_layout
+
+\begin_layout Standard
+
+
+\begin_inset External
+       template ChessDiagram
+       filename ../../../lib/examples/iecc05.fen
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+Spreadsheets:
+\end_layout
+
+\begin_layout Standard
+
+
+\begin_inset External
+       template GnumericSpreadsheet
+       filename ../../../lib/examples/longsheet.gnumeric
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+and PDF pages:
+\end_layout
+
+\begin_layout Standard
+
+
+\begin_inset External
+       template PDFPages
+       filename ../../../lib/examples/beamer-icsi-logo.pdf
+       extra LaTeX "pages=-"
+       rotateAngle 22
+       rotateOrigin baselineleft
+       width 5cm
+       height 40mm
+       keepAspectRatio
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+If you prefer verbatim input, you can choose between
+\begin_inset space ~
+
+\end_inset
+
+
+\begin_inset CommandInset include
+LatexCommand verbatiminput
+preview false
+filename "foo"
+
+\end_inset
+
+ or
+\begin_inset space ~
+
+\end_inset
+
+
+\begin_inset CommandInset include
+LatexCommand verbatiminput*
+preview false
+filename "foo"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Section
+
+URLs and Hyperlinks
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+
+URL
+\end_layout
+
+\end_inset
+
+
+\begin_inset CommandInset nomenclature
+LatexCommand nomenclature
+prefix "www"
+symbol "URL"
+description "uniform resource locator"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+An URL: 
+\begin_inset Flex Flex:URL
+status collapsed
+
+\begin_layout Plain Layout
+
+http://www.lyx.org
+\end_layout
+
+\end_inset
+
+\begin_inset CommandInset nomenclature
+LatexCommand nomenclature
+symbol "URL2"
+description "uniform resource locator"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+link:
+\begin_inset CommandInset href
+LatexCommand href
+target "www.test.test"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+link2:
+\begin_inset CommandInset href
+LatexCommand href
+target "http://www.test.test"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+mail:
+\begin_inset CommandInset href
+LatexCommand href
+name "name"
+target "www.test.test"
+type "mailto:"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+file:
+\begin_inset CommandInset href
+LatexCommand href
+target "www.test.test"
+type "file:"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+ftp:
+\begin_inset CommandInset href
+LatexCommand href
+target "ftp://www.test.test"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+ftp2:
+\begin_inset CommandInset href
+LatexCommand href
+name "www.test.test"
+target "ftp://www.test.test"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Section
+
+Lists
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+
+Lists
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+
+\begin_inset FloatList figure
+
+\end_inset
+
+
+\begin_inset FloatList table
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Section
+
+Listings
+\end_layout
+
+\begin_layout Standard
+
+Inline: 
+\begin_inset listings
+lstparams "language={C++}"
+inline true
+status collapsed
+
+\begin_layout Plain Layout
+
+int a=5;
+\end_layout
+
+\end_inset
+
+
+\begin_inset Newline newline
+\end_inset
+
+ Float:
+\end_layout
+
+\begin_layout Standard
+
+
+\begin_inset listings
+lstparams "caption={Example Listing float},label={lst:Example-Listing},language=Python"
+inline false
+status collapsed
+
+\begin_layout Plain Layout
+
+# Example listing float
+\end_layout
+
+\begin_layout Plain Layout
+
+def func(param):
+\end_layout
+
+\begin_layout Plain Layout
+
+    'this is a python function'
+\end_layout
+
+\begin_layout Plain Layout
+
+    pass
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+Here is an example listing with left line numbering, step 
+\begin_inset Quotes eld
+\end_inset
+
+3
+\begin_inset Quotes erd
+\end_inset
+
+, language 
+\begin_inset Quotes eld
+\end_inset
+
+Python
+\begin_inset Quotes erd
+\end_inset
+
+, options 
+\begin_inset Quotes eld
+\end_inset
+
+Extended character table
+\begin_inset Quotes erd
+\end_inset
+
+ and 
+\begin_inset Quotes eld
+\end_inset
+
+Space
+\begin_inset space ~
+
+\end_inset
+
+as
+\begin_inset space ~
+
+\end_inset
+
+symbol
+\begin_inset Quotes erd
+\end_inset
+
+, range lines 3
+\begin_inset space \thinspace{}
+
+\end_inset
+
+-
+\begin_inset space \thinspace{}
+
+\end_inset
+
+8:
+\end_layout
+
+\begin_layout Standard
+
+
+\begin_inset listings
+lstparams "extendedchars=true,firstline=3,language=Python,lastline=8,numbers=left,showspaces=true,stepnumber=3"
+inline false
+status collapsed
+
+\begin_layout Plain Layout
+
+def func(param):
+\end_layout
+
+\begin_layout Plain Layout
+
+    'this is a python function'
+\end_layout
+
+\begin_layout Plain Layout
+
+    pass
+\end_layout
+
+\begin_layout Plain Layout
+
+def func(param):
+\end_layout
+
+\begin_layout Plain Layout
+
+'This is a German word: Tschüß'
+\end_layout
+
+\begin_layout Plain Layout
+
+pass
+\end_layout
+
+\begin_layout Plain Layout
+
+def func(param):
+\end_layout
+
+\begin_layout Plain Layout
+
+'this is a python function'
+\end_layout
+
+\begin_layout Plain Layout
+
+pass
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+Special cases: 
+\begin_inset listings
+lstparams "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"
+inline false
+status collapsed
+
+\begin_layout Plain Layout
+
+hello
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+
+\begin_inset listings
+lstparams "language=TeX"
+inline true
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+begin{centering} hello
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Section
+
+Graphics
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+
+Graphics
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+There is also some basic support for graphics, in the form 
+\begin_inset Graphics 
+       filename foo.eps
+
+\end_inset
+
+, or the slightly more elaborate 
+\begin_inset Graphics 
+       filename foo.eps
+       width 1cm
+       height 1cm
+       clip
+       BoundingBox 10bp 0bp 96bp 96bp
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Section
+
+Tables
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+
+Tables
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+The following example is stolen from the longtable documentation. Since tex2lyx does not understand the special verbatim code that was used in the original some lines have been rewritten using 
+\backslash
+textbackslash etc. 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+let
+\backslash
+package
+\backslash
+textsf
+\end_layout
+
+\end_inset
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+let
+\backslash
+env
+\backslash
+textsf
+\end_layout
+
+\end_inset
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+let
+\backslash
+code
+\backslash
+texttt
+\end_layout
+
+\end_inset
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+providecommand{
+\backslash
+finalclearpage}{
+\backslash
+clearpage}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+
+\begin_inset Tabular 
+<lyxtabular version="3" rows="64" columns="2">
+<features rotate="0" islongtable="true">
+<column alignment="none" valignment="top" special="@{*}r">
+<column alignment="none" valignment="top" special="|p{1in}@{*}">
+<row endfirsthead="true">
+<cell alignment="none" valignment="top" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+KILLED 
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+LINE!!!! 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+kill
+\end_layout
+
+\end_inset
+
+\begin_inset Caption
+
+\begin_layout Standard
+
+
+\begin_inset Argument
+status collapsed
+
+\begin_layout Standard
+
+An optional table caption (used in the list of tables)
+\end_layout
+
+\end_inset
+
+A long table
+\begin_inset CommandInset label
+LatexCommand label
+name "long"
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row endfirsthead="true">
+<cell multicolumn="1" alignment="none" valignment="top" topline="true" usebox="none" special="@{*}c@{*}">
+\begin_inset Text
+
+\begin_layout Standard
+
+This part appears at the top of the table
+\end_layout
+
+\end_inset
+</cell>
+<cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\end_inset
+</cell>
+</row>
+<row endfirsthead="true">
+<cell alignment="none" valignment="top" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+
+\shape smallcaps
+First
+\shape default
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+
+\shape smallcaps
+Second
+\shape default
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row endhead="true" caption="true">
+<cell multicolumn="1" alignment="none" valignment="top" topline="true" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+
+\begin_inset Caption
+
+\begin_layout Standard
+
+
+\begin_inset Argument
+status collapsed
+
+\end_inset
+
+(continued)
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell multicolumn="2" alignment="none" valignment="top" topline="true" bottomline="true" usebox="none">
+\begin_inset Text
+
+\end_inset
+</cell>
+</row>
+<row endhead="true">
+<cell multicolumn="1" alignment="none" valignment="top" topline="true" usebox="none" special="@{*}c@{*}">
+\begin_inset Text
+
+\begin_layout Standard
+
+This part appears at the top of every other page
+\end_layout
+
+\end_inset
+</cell>
+<cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\end_inset
+</cell>
+</row>
+<row endhead="true">
+<cell alignment="none" valignment="top" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+
+\series bold
+First
+\series default
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+
+\series bold
+Second
+\series default
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row endfoot="true">
+<cell alignment="none" valignment="top" topline="true" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+This goes at the
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+bottom.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row endlastfoot="true">
+<cell alignment="none" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+These lines will
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+appear
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row endlastfoot="true">
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+in place of the 
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+usual foot
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row endlastfoot="true">
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+at the end
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+of the table
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="none" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+env
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+{
+\end_layout
+
+\end_inset
+
+longtable
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+ columns are specified
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+in the 
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+same way as in the 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+env
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+{
+\end_layout
+
+\end_inset
+
+tabular
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+environment.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+code
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+{
+\end_layout
+
+\end_inset
+
+@{*}r||p{1in}@{*}
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+in this case.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Each row ends with a
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+code
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+{
+\end_layout
+
+\end_inset
+
+
+\backslash
+
+\backslash
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+ command.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+The 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+code
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+{
+\end_layout
+
+\end_inset
+
+
+\backslash
+
+\backslash
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+ command has an
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+optional
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+argument, just as in
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+the
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+env
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+{
+\end_layout
+
+\end_inset
+
+tabular
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+environment.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+[10pt] See the effect of 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+code
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+{
+\end_layout
+
+\end_inset
+
+
+\backslash
+
+\backslash
+[10pt]
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+?
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Also 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+code
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+{
+\end_layout
+
+\end_inset
+
+
+\backslash
+hline
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+ may be used,
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+as in 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+env
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+{
+\end_layout
+
+\end_inset
+
+tabular
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="none" valignment="top" topline="true" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+That was a 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+code
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+{
+\end_layout
+
+\end_inset
+
+
+\backslash
+hline
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="none" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+That was 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+code
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+{
+\end_layout
+
+\end_inset
+
+
+\backslash
+hline
+\backslash
+hline
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell multicolumn="1" alignment="none" valignment="top" leftline="true" rightline="true" usebox="none" special="|c|">
+\begin_inset Text
+
+\begin_layout Standard
+
+This is a 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+code
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+{
+\end_layout
+
+\end_inset
+
+
+\backslash
+multicolumn{2}{||c||}
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell multicolumn="2" alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+If a page break occurs at a 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+code
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+{
+\end_layout
+
+\end_inset
+
+
+\backslash
+hline
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+ then
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+a line is drawn
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+at the bottom of one page and at the
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+top of the next.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="none" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+The 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+code
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+{
+\end_layout
+
+\end_inset
+
+[t] [b] [c]
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+ argument of 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+env
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+{
+\end_layout
+
+\end_inset
+
+tabular
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+can not be used.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+The optional argument may be one of
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+code
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+{
+\end_layout
+
+\end_inset
+
+[l] [r] [c]
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+to specify whether the table should be
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+adjusted
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="none" valignment="top" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+to the left, right
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+or centrally.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="none" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Some lines may take up a lot of space, like this: 
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+raggedleft
+\end_layout
+
+\end_inset
+
+ This last column is a 
+\begin_inset Quotes eld
+\end_inset
+
+p
+\begin_inset Quotes erd
+\end_inset
+
+ column so this 
+\begin_inset Quotes eld
+\end_inset
+
+row
+\begin_inset Quotes erd
+\end_inset
+
+ of the table can take up several lines. Note however that TeX
+\begin_inset space \space{}
+
+\end_inset
+
+will never break a page within such a row. Page breaks only occur between rows of the table or at 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+code
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+{
+\end_layout
+
+\end_inset
+
+
+\backslash
+hline
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+ commands. 
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="none" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots
+\begin_inset Foot
+status collapsed
+
+
+\begin_layout Standard
+
+This is a footnote.
+\end_layout
+
+\end_inset
+
+ of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this
+\begin_inset Foot
+status collapsed
+
+
+\begin_layout Standard
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+env
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+{
+\end_layout
+
+\end_inset
+
+longtable
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+ takes special precautions, so that footnotes may also be used in `p' columns.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="none" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this. 
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+From bug 7412 another example with more captions (can currently not produced in 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+LyX
+\end_layout
+
+\end_inset
+
+): 
+\begin_inset Tabular 
+<lyxtabular version="3" rows="45" columns="2">
+<features rotate="0" islongtable="true" lastFootEmpty="true">
+<column alignment="left" valignment="top">
+<column alignment="left" valignment="top">
+<row endfirsthead="true" caption="true">
+<cell multicolumn="1" alignment="left" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+
+\begin_inset Caption
+
+\begin_layout Standard
+
+A long table
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell multicolumn="2" alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\end_inset
+</cell>
+</row>
+<row endhead="true" caption="true">
+<cell multicolumn="1" alignment="left" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+
+\begin_inset Caption
+
+\begin_layout Standard
+
+A long table -- continued
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell multicolumn="2" alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\end_inset
+</cell>
+</row>
+<row endfoot="true">
+<cell multicolumn="1" alignment="none" valignment="top" usebox="none" special="r">
+\begin_inset Text
+
+\begin_layout Standard
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+{
+\end_layout
+
+\end_inset
+
+Continued on next page
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell multicolumn="2" alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell multicolumn="1" alignment="none" valignment="top" topline="true" leftline="true" rightline="true" usebox="none" special="c">
+\begin_inset Text
+
+\begin_layout Standard
+
+Something
+\end_layout
+
+\end_inset
+</cell>
+<cell multicolumn="1" alignment="none" valignment="top" topline="true" rightline="true" usebox="none" special="c">
+\begin_inset Text
+
+\begin_layout Standard
+
+Description
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Lots of lines
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="left" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+like this.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+A table*:
+\end_layout
+
+\begin_layout Standard
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+% some comment
+\end_layout
+
+\begin_layout Standard
+
+
+\end_layout
+
+\end_inset
+
+
+\begin_inset Tabular 
+<lyxtabular version="3" rows="2" columns="2">
+<features rotate="0" tabularvalignment="bottom" tabularwidth="80col%">
+<column alignment="left" valignment="top">
+<column alignment="right" valignment="top">
+<row>
+<cell alignment="left" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+two
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+begin{turn}
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+{
+\end_layout
+
+\end_inset
+
+-50
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+lonely
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+end{turn}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="right" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+begin{sideways}
+\end_layout
+
+\end_inset
+
+lines
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+end{sideways}
+\end_layout
+
+\end_inset
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+A booktabs table:
+\end_layout
+
+\begin_layout Standard
+
+
+\begin_inset Float table
+placement h
+wide false
+sideways false
+status open
+
+
+\begin_layout Standard
+
+
+\begin_inset Caption
+
+\begin_layout Standard
+
+
+\begin_inset CommandInset label
+LatexCommand label
+name "tab:Special-booktabs-table"
+
+\end_inset
+
+Special booktabs-table
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+centering
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+{}
+\end_layout
+
+\end_inset
+
+
+\begin_inset Tabular 
+<lyxtabular version="3" rows="8" columns="4">
+<features rotate="0" booktabs="true" tabularvalignment="middle" tabularwidth="0pt">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<row>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+System 
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Chip
+\begin_inset space \thinspace{}
+
+\end_inset
+
+1 
+\end_layout
+
+\end_inset
+</cell>
+<cell multicolumn="1" alignment="none" valignment="top" topline="true" usebox="none" special="c">
+\begin_inset Text
+
+\begin_layout Standard
+
+Chip
+\begin_inset space \thinspace{}
+
+\end_inset
+
+2
+\end_layout
+
+\end_inset
+</cell>
+<cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+cmidrule
+\end_layout
+
+\end_inset
+
+(r)
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+{
+\end_layout
+
+\end_inset
+
+2-2
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+cmidrule
+\end_layout
+
+\end_inset
+
+(l)
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+{
+\end_layout
+
+\end_inset
+
+3-4
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+morecmidrules
+\end_layout
+
+\end_inset
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+cmidrule
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+{
+\end_layout
+
+\end_inset
+
+2-4
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+Detector thickness in µm 
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+300 
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+300 
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+700
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Edge angle in ° 
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+3.55 
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+2.71 
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+7.99
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row topspace="default">
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+Spatial resolution in µm 
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+4.26 
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+10.17 
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+10.56
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row topspace="default">
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+MTF at 
+\begin_inset Formula $f_{\mathrm{max}}$
+\end_inset
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+0.53 
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+0.37 
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+0.39
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+morecmidrules
+\end_layout
+
+\end_inset
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+cmidrule
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+{
+\end_layout
+
+\end_inset
+
+3-4
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+LSF-spatial resolution 
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+in µm 
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+129.7 
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+52.75 
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+50.78
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+in % of pixel size 
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+76.3 
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+95.9 
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+92.3
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Section
+
+Macros
+\end_layout
+
+\begin_layout Standard
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+LyX
+\end_layout
+
+\end_inset
+
+ supports several kinds of macros: def 
+\begin_inset FormulaMacro
+\def\macroa #1{a #1 a}
+\end_inset
+
+ global def 
+\begin_inset FormulaMacro
+\def\macrob #1{b #1 b}
+\end_inset
+
+ long def 
+\begin_inset FormulaMacro
+\def\macroc #1{c #1 c}
+\end_inset
+
+ global long def 
+\begin_inset FormulaMacro
+\def\macrod #1{d #1 d}
+\end_inset
+
+ providecommand 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+providecommand{
+\backslash
+macroe}[1]{e #1 e}
+\end_layout
+
+\end_inset
+
+ providecommand* 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+providecommand*{
+\backslash
+macrof}[1]{f #1 f}
+\end_layout
+
+\end_inset
+
+ newcommand 
+\begin_inset FormulaMacro
+\newcommand{\macrog}[1]{g #1 g}
+\end_inset
+
+ renewcommand 
+\begin_inset FormulaMacro
+\renewcommand{\macrog}[1]{h #1 h}
+\end_inset
+
+ newcommand* 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+newcommand*{
+\backslash
+macroi}[1]{i #1 i}
+\end_layout
+
+\end_inset
+
+ renewcommand* 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+renewcommand*{
+\backslash
+macroi}[1]{j #1 j}
+\end_layout
+
+\end_inset
+
+ providecommandx 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+providecommandx{
+\backslash
+macrok}[1]{k #1 k}
+\end_layout
+
+\end_inset
+
+ providecommandx* 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+providecommandx*{
+\backslash
+macrok}[1]{l #1 l}
+\end_layout
+
+\end_inset
+
+ newcommandx 
+\begin_inset FormulaMacro
+\newcommandx{\macrom}[1]{m #1 m}
+\end_inset
+
+ renewcommandx 
+\begin_inset FormulaMacro
+\renewcommandx{\macrom}[1]{n #1 n}
+\end_inset
+
+ newcommandx* 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+newcommandx*{
+\backslash
+macroo}[1]{o #1 o}
+\end_layout
+
+\end_inset
+
+ renewcommandx* 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+renewcommandx*{
+\backslash
+macroo}[1]{p #1 p}
+\end_layout
+
+\end_inset
+
+ DeclareRobustCommand 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+DeclareRobustCommand{
+\backslash
+macroq}[1]{q #1 q}
+\end_layout
+
+\end_inset
+
+ DeclareRobustCommand* 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+DeclareRobustCommand*{
+\backslash
+macror}[1]{r #1 r}
+\end_layout
+
+\end_inset
+
+ DeclareRobustCommandx 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+DeclareRobustCommandx{
+\backslash
+macros}[1]{s #1 s}
+\end_layout
+
+\end_inset
+
+ DeclareRobustCommandx* 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+DeclareRobustCommandx*{
+\backslash
+macrot}[1]{t #1 t}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+Now use them all: 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+macroa
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+{
+\end_layout
+
+\end_inset
+
+x
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+macrob
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+{
+\end_layout
+
+\end_inset
+
+x
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+macroc
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+{
+\end_layout
+
+\end_inset
+
+x
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+macrod
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+{
+\end_layout
+
+\end_inset
+
+x
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+macroe{
+\end_layout
+
+\end_inset
+
+x
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+macrof{
+\end_layout
+
+\end_inset
+
+x
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+macrog{
+\end_layout
+
+\end_inset
+
+x
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+macroi{
+\end_layout
+
+\end_inset
+
+x
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+macrok{
+\end_layout
+
+\end_inset
+
+x
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+macrom{
+\end_layout
+
+\end_inset
+
+x
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+macroo{
+\end_layout
+
+\end_inset
+
+x
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+macroq{
+\end_layout
+
+\end_inset
+
+x
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+macror{
+\end_layout
+
+\end_inset
+
+x
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+ The following tow don't work, but they should??? 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+%
+\backslash
+macros{x} 
+\backslash
+macrot{x}
+\end_layout
+
+\begin_layout Standard
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Section
+
+Special formattings
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+
+Special formattings
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Subsection
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+LyX
+\end_layout
+
+\end_inset
+
+ line
+\end_layout
+
+\begin_layout Standard
+
+test
+\end_layout
+
+\begin_layout Standard
+
+
+\size tiny
+
+\end_layout
+
+\begin_layout Standard
+\noindent
+
+\size tiny
+
+
+\begin_inset CommandInset line
+LatexCommand rule
+offset "0.5ex"
+width "100line%"
+height "1pt"
+
+\end_inset
+
+
+\size default
+
+\size tiny
+
+\end_layout
+
+\begin_layout Standard
+
+test 
+\size giant
+Test
+\size default
+\size tiny
+test
+\size default
+ test
+\end_layout
+
+\begin_layout Standard
+\noindent
+
+
+\begin_inset CommandInset line
+LatexCommand rule
+offset "0.5ex"
+width "100line%"
+height "1pt"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+test
+\end_layout
+
+\begin_layout Standard
+
+
+\size giant
+
+\end_layout
+
+\begin_layout Standard
+\noindent
+
+\size giant
+
+
+\begin_inset CommandInset line
+LatexCommand rule
+offset "0.5ex"
+width "100line%"
+height "1pt"
+
+\end_inset
+
+
+\size default
+
+\size giant
+
+\end_layout
+
+\begin_layout Subsection
+
+rules
+\end_layout
+
+\begin_layout Standard
+
+test
+\begin_inset CommandInset line
+LatexCommand rule
+offset "0.1text%"
+width "100col%"
+height "5theight%"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+test
+\end_layout
+
+\begin_layout Standard
+
+
+\begin_inset CommandInset line
+LatexCommand rule
+offset "0.5ex"
+width "100col%"
+height "1pt"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\noindent
+
+
+\begin_inset CommandInset line
+LatexCommand rule
+width "1ex"
+height "0.5cc"
+
+\end_inset
+
+test
+\end_layout
+
+\begin_layout Standard
+
+
+\color red
+
+\begin_inset CommandInset line
+LatexCommand rule
+offset "-4ex"
+width "5in"
+height "1cm"
+
+\end_inset
+
+
+\color inherit
+
+\end_layout
+
+\begin_layout Subsection
+
+Phantoms
+\end_layout
+
+\begin_layout Standard
+
+test
+\begin_inset Phantom Phantom
+status open
+
+\begin_layout Plain Layout
+
+Wow
+\end_layout
+
+\end_inset
+
+test
+\end_layout
+
+\begin_layout Standard
+
+test
+\begin_inset Phantom HPhantom
+status open
+
+\begin_layout Plain Layout
+
+
+\color green
+W
+\color inherit
+
+\series bold
+ow
+\series default
+
+\begin_inset script superscript
+
+\begin_layout Standard
+
+Wow
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+test
+\end_layout
+
+\begin_layout Standard
+
+test
+\begin_inset Phantom VPhantom
+status open
+
+\begin_layout Plain Layout
+
+Wow
+\backslash
+&%
+\end_layout
+
+\end_inset
+
+test
+\end_layout
+
+\begin_layout Standard
+
+
+\begin_inset Formula $test\hphantom{Wow}test$
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+
+\begin_inset Formula \[
+test\phantom{\textcolor{green}{W}\mathbf{ow}\textsuperscript{Wow}}test
+\]
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+
+\begin_inset Formula $test\vphantom{Wow\&\%}test$
+\end_inset
+
+
+\end_layout
+
+\begin_layout Subsection
+
+Line breaks
+\begin_inset Index breaks
+status collapsed
+
+\begin_layout Plain Layout
+
+Line breaks
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+They can also or be broken by a newline
+\begin_inset Newline newline
+\end_inset
+
+ or by a starred newline 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+
+\backslash
+*
+\end_layout
+
+\end_inset
+
+or by a newline with space, comment and argument 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+
+\backslash
+[3cm]
+\end_layout
+
+\end_inset
+
+ or by a newline command 
+\begin_inset Newline newline
+\end_inset
+
+or by a line break 
+\begin_inset Newline linebreak
+\end_inset
+
+or by a defined line break 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+linebreak[4]
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+There are even newlines with weird arguments, but these are not handled by 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+LyX
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+
+\backslash
+*[1cm]
+\end_layout
+
+\end_inset
+
+ so we try to use ERT in this case.
+\end_layout
+
+\begin_layout Subsection
+
+Page breaks
+\begin_inset Index breaks
+status collapsed
+
+\begin_layout Plain Layout
+
+Page breaks
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+They can also or be broken by a newpage 
+\begin_inset Newpage newpage
+\end_inset
+
+or by a page break 
+\begin_inset Newpage pagebreak
+\end_inset
+
+or by a defined page break 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+pagebreak[4]
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Section
+
+Special characters
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+
+Special characters
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+Then one has those macros with a long name for a short meaning, like ~, ^ or 
+\backslash
+, \SpecialChar \slash{}
+, \SpecialChar \nobreakdash-
+ and the characters that 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+LaTeX
+\end_layout
+
+\end_inset
+
+ wants to espace because they are active, like _&#${}%.
+\end_layout
+
+\begin_layout Standard
+
+And what about special characters like hyphe\SpecialChar \-
+nation mark, ellipsis\SpecialChar \ldots{}
+, and end-of-sentence\SpecialChar \@.
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+LyX
+\end_layout
+
+\end_inset
+
+ also supports a menu separator\SpecialChar \menuseparator
+and a spif\SpecialChar \textcompwordmark{}
+fy ligature break.
+\end_layout
+
+\begin_layout Standard
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+LyX
+\end_layout
+
+\end_inset
+
+ translates the phrases 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+LyX
+\end_layout
+
+\end_inset
+
+, 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+TeX
+\end_layout
+
+\end_inset
+
+, 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+LaTeX
+\end_layout
+
+\end_inset
+
+2e and 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+LaTeX
+\end_layout
+
+\end_inset
+
+ to the commands LyX, TeX, LaTeX2e and LaTeX. If these phrases occur as part of other words (like 1
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+LyX
+\end_layout
+
+\end_inset
+
+ or a
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+TeX
+\end_layout
+
+\end_inset
+
+ or 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+LaTeX
+\end_layout
+
+\end_inset
+
+3) they should not be put into ERT.
+\end_layout
+
+\begin_layout Standard
+
+Test for whitespace handling of commands: The following lines should result in identical output:
+\end_layout
+
+\begin_layout Standard
+
+builtin ^ unicodesymbols ȷ user 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+mycommand
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+{}
+\end_layout
+
+\end_inset
+
+ xx
+\end_layout
+
+\begin_layout Standard
+
+builtin ^ unicodesymbols ȷ user 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+mycommand
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+{}
+\end_layout
+
+\end_inset
+
+ xx
+\end_layout
+
+\begin_layout Standard
+
+builtin ^ unicodesymbols ȷ user 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+mycommand
+\end_layout
+
+\end_inset
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+% and another
+\end_layout
+
+\begin_layout Standard
+
+
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+{}
+\end_layout
+
+\end_inset
+
+ xx
+\end_layout
+
+\begin_layout Standard
+
+A sub
+\begin_inset script subscript
+
+\begin_layout Standard
+
+sc
+\emph on
+ript
+\emph default
+
+\end_layout
+
+\end_inset
+
+ and super
+\begin_inset script superscript
+
+\begin_layout Standard
+
+script with 
+\begin_inset Formula $a^2+b^2=c^2$
+\end_inset
+
+ math
+\end_layout
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Section
+
+Mathematics
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+
+Mathematics
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+Let 
+\begin_inset Formula $f:\left[  a,b\right]  \rightarrow\mathbb{R}
+$
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Standard
+
+
+\begin_inset CommandInset index_print
+LatexCommand printindex
+type "idx"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+
+\begin_inset CommandInset nomencl_print
+LatexCommand printnomenclature
+set_width "none"
+
+\end_inset
+
+hello
+\end_layout
+
+\begin_layout Standard
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+settowidth{
+\backslash
+nomlabelwidth}{URL2}
+\end_layout
+
+\end_inset
+
+\begin_inset CommandInset nomencl_print
+LatexCommand printnomenclature
+set_width "none"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+
+\begin_inset CommandInset nomencl_print
+LatexCommand printnomenclature
+set_width "custom"
+width "2line%"
+\end_inset
+
+
+\end_layout
+
+\end_body
+\end_document
diff --git a/src/tex2lyx/test/test-structure.lyx.lyx b/src/tex2lyx/test/test-structure.lyx.lyx
new file mode 100644 (file)
index 0000000..6afafcb
--- /dev/null
@@ -0,0 +1,1311 @@
+#LyX file created by tex2lyx 2.1.0svn
+\lyxformat 430
+\begin_document
+\begin_header
+\textclass article
+\begin_preamble
+%% Special footnote code from the package 'stblftnt.sty'
+%% Author: Robin Fairbairns -- Last revised Dec 13 1996
+\let\SF@@footnote\footnote
+\def\footnote{\ifx\protect\@typeset@protect
+    \expandafter\SF@@footnote
+\else
+    \expandafter\SF@gobble@opt
+\fi
+}
+\expandafter\def\csname SF@gobble@opt endcsname{\@ifnextchar[%]
+    \SF@gobble@twobracket
+    \@gobble
+}
+\edef\SF@gobble@opt{\noexpand\protect
+  \expandafter\noexpand\csname SF@gobble@opt \endcsname}
+  \def\SF@gobble@twobracket[#1]#2{}
+
+\newenvironment{foo}{==[}{]==}
+
+\usepackage{fixltx2e}% this should cause the fixltx2e module to be loaded
+
+
+
+
+
+
+\usepackage{babel}
+\addto\extrasfrench{%
+   \providecommand{\og}{\leavevmode\flqq~}%
+   \providecommand{\fg}{\ifdim\lastskip>\z@\unskip\fi~\frqq}%
+}
+
+
+\end_preamble
+\options dummyoption
+\use_default_options false
+\begin_modules
+logicalmkup
+\end_modules
+\language english
+\language_package default
+\inputencoding latin9
+\fontencoding default
+\font_roman default
+\font_sans default
+\font_typewriter default
+\font_default_family default
+\use_non_tex_fonts false
+\font_sc false
+\font_osf false
+\font_sf_scale 100
+\font_tt_scale 100
+\graphics default
+\paperfontsize default
+\spacing single
+\use_hyperref 0
+\papersize legalpaper
+\use_geometry false
+\use_package amsmath 1
+\use_package esint 1
+\use_package mathdots 0
+\use_package mathtools 0
+\use_package mhchem 0
+\use_package undertilde 0
+\cite_engine basic
+\cite_engine_type numerical
+\biblio_style plain
+\use_bibtopic false
+\use_indices false
+\paperorientation portrait
+\suppress_date true
+\justification true
+\use_refstyle 0
+\secnumdepth 3
+\tocdepth 3
+\paragraph_separation indent
+\paragraph_indentation default
+\quotes_language english
+\papercolumns 1
+\papersides 1
+\paperpagestyle default
+\tracking_changes true
+\output_changes true
+\html_math_output 0
+\html_css_as_file 0
+\html_be_strict false
+\author -443692588 "Hans Wurst" 
+\end_header
+
+\begin_body
+
+\begin_layout Title
+
+Title
+\end_layout
+
+\begin_layout Standard
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+% this should be recognized as empty date:
+\end_layout
+
+\begin_layout Standard
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+This document contains all sorts of layouts we are supposed to support, along with weird nestings.
+\end_layout
+
+\begin_layout Standard
+
+At time you will see that I use subsubsections in weird places. The intent is just to make sure that I can include a macro-type layout everyzhere it makes sense.
+\end_layout
+
+\begin_layout Standard
+
+A normal paragraph 
+\begin_inset Formula \begin{equation}
+x = \sin y
+\end{equation}
+\end_inset
+
+with maths inside it.
+\end_layout
+
+\begin_layout Quote
+
+An environment...
+\end_layout
+
+\begin_layout Quote
+
+... with two paragraphs 
+\end_layout
+
+\begin_layout Standard
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+begin{foo}
+\end_layout
+
+\end_inset
+
+ an unknown environment 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+end{foo}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Section
+
+A section
+\end_layout
+
+\begin_layout Section
+
+
+\begin_inset Argument
+status collapsed
+
+
+\begin_layout Standard
+
+Hello!
+\end_layout
+
+\end_inset
+
+A section with optional argument
+\end_layout
+
+\begin_layout Standard
+
+This causes the 
+\begin_inset Flex Flex:Strong
+status collapsed
+
+\begin_layout Standard
+
+logikalmkup
+\end_layout
+
+\end_inset
+
+ module to be loaded.
+\end_layout
+
+\begin_layout Quote
+
+An environment 
+\end_layout
+
+\begin_layout Standard
+
+We also support change tracking: 
+\change_inserted -443692588 1320572379
+Added text some parts remain 
+\change_deleted -443692588 1320572395
+This was the original text some parts remain
+\end_layout
+
+\begin_layout Section*
+
+A starred section for floats
+\end_layout
+
+\begin_layout Standard
+
+
+\begin_inset Float figure
+wide false
+sideways false
+status open
+
+
+\begin_layout Standard
+
+
+\begin_inset Caption
+
+\begin_layout Standard
+
+\emph on
+
+\noun on
+is
+\noun default
+
+\emph default
+ a caption
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+
+\begin_inset Float figure
+wide false
+sideways false
+status open
+
+
+\begin_layout Standard
+
+
+\begin_inset Caption
+
+\begin_layout Standard
+
+
+\begin_inset Argument
+status collapsed
+
+\begin_layout Standard
+
+s
+\noun on
+ho
+\noun default
+rt
+\end_layout
+
+\end_inset
+
+this 
+\emph on
+is
+\emph default
+ a caption
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+
+\begin_inset Float table
+wide true
+sideways true
+status open
+
+
+\begin_layout Standard
+
+
+\begin_inset Caption
+
+\begin_layout Standard
+
+rotated table, spanning all columns
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+centering
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+{}
+\end_layout
+
+\end_inset
+
+
+\begin_inset Tabular 
+<lyxtabular version="3" rows="2" columns="2">
+<features rotate="0" tabularvalignment="bottom" tabularwidth="0pt">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+a 
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+b
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+d 
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+c
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+
+\begin_inset Wrap figure
+lines 4
+placement L
+overhang 2ex
+width 50col%
+status open
+
+
+\begin_layout Standard
+\align center
+
+fdgsdfdh 
+\end_layout
+
+\begin_layout Standard
+
+
+\begin_inset Caption
+
+\begin_layout Standard
+
+test1
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+LyX is a document preparation system. It excels at letting you create complex technical and scientific articles with mathematics, cross-references, bibliographies, indices, etc. It is very good at documents of any length in which the usual processing abilities are required: automatic sectioning and pagination, spell checking, and so forth. It can also be used to write a letter to your mom, though granted, there are probably simpler programs available for that. It is definitely not the best tool for creating banners, flyers, or advertisements (we'll explain why later), though with some effort all these can be done, too.
+\end_layout
+
+\begin_layout Standard
+
+
+\begin_inset Wrap figure
+lines 0
+placement o
+overhang 0col%
+width 50col%
+status open
+
+
+\begin_layout Standard
+\align center
+
+fdgs 
+\end_layout
+
+\begin_layout Standard
+
+
+\begin_inset Caption
+
+\begin_layout Standard
+
+test2
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+LyX is a document preparation system. It excels at letting you create complex technical and scientific articles with mathematics, cross-references, bibliographies, indices, etc. It is very good at documents of any length in which the usual processing abilities are required: automatic sectioning and pagination, spell checking, and so forth. It can also be used to write a letter to your mom, though granted, there are probably simpler programs available for that. It is definitely not the best tool for creating banners, flyers, or advertisements (we'll explain why later), though with some effort all these can be done, too.
+\end_layout
+
+\begin_layout Standard
+
+
+\begin_inset Wrap table
+lines 0
+placement i
+overhang 5text%
+width 5ex
+status open
+
+
+\begin_layout Standard
+
+
+\begin_inset Caption
+
+\begin_layout Standard
+
+fdg
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+centering
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+{}
+\end_layout
+
+\end_inset
+
+dfgd
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+LyX is a document preparation system. It excels at letting you create complex technical and scientific articles with mathematics, cross-references, bibliographies, indices, etc. It is very good at documents of any length in which the usual processing abilities are required: automatic sectioning and pagination, spell checking, and so forth. It can also be used to write a letter to your mom, though granted, there are probably simpler programs available for that. It is definitely not the best tool for creating banners, flyers, or advertisements (we'll explain why later), though with some effort all these can be done, too.
+\end_layout
+
+\begin_layout Standard
+
+
+\begin_inset Float table
+wide false
+sideways false
+status open
+
+
+\begin_layout Standard
+
+
+\begin_inset Caption
+
+\begin_layout Standard
+
+lkälöä
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+
+\begin_inset Float table
+wide false
+sideways false
+status collapsed
+
+
+\begin_layout Standard
+
+klöä
+\end_layout
+
+\begin_layout Plain Layout
+\begin_inset Caption
+
+\begin_layout Standard
+
+ölkälö
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+
+\begin_inset Float figure
+wide false
+sideways false
+status open
+
+
+\begin_layout Standard
+
+
+\begin_inset Float figure
+wide false
+sideways false
+status collapsed
+
+
+\begin_layout Standard
+
+sub
+\color red
+fig
+\color inherit
+u%re 1
+\end_layout
+
+\begin_layout Plain Layout
+\begin_inset Caption
+
+\begin_layout Standard
+
+te%st
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+
+\begin_inset space \hfill{}
+
+\end_inset
+
+\begin_inset Float figure
+wide false
+sideways false
+status collapsed
+
+
+\begin_layout Standard
+
+subfigure 2ö
+\end_layout
+
+\begin_layout Plain Layout
+\begin_inset Caption
+
+\begin_layout Standard
+
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+
+\begin_inset Float figure
+wide false
+sideways false
+status collapsed
+
+
+\begin_layout Standard
+
+subfigure 3
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+
+\begin_inset Caption
+
+\begin_layout Standard
+
+figure caption
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+strange usage, but valid 
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Subsection
+
+Some paragraph stuff
+\end_layout
+
+\begin_layout Standard
+
+A paragraph
+\begin_inset Foot
+status collapsed
+
+
+\begin_layout Standard
+
+hello
+\end_layout
+
+\end_inset
+
+ with a footnote and another one
+\begin_inset Foot
+status collapsed
+
+
+\begin_layout Standard
+
+hello
+\end_layout
+
+\begin_layout Standard
+
+there
+\end_layout
+
+\end_inset
+
+ with several paragraphs 
+\begin_inset VSpace 1cm
+\end_inset
+
+ aa
+\end_layout
+
+\begin_layout Standard
+
+and another paragraph
+\end_layout
+
+\begin_layout Standard
+\align center
+
+Some centered stuff 
+\end_layout
+
+\begin_layout Quotation
+
+An environment
+\end_layout
+
+\begin_deeper
+\begin_layout Subsubsection*
+
+with a command inside it
+\end_layout
+
+\end_deeper
+\begin_layout --Separator--
+
+
+\end_layout
+
+\begin_layout Quotation
+
+Another environment
+\end_layout
+
+\begin_deeper
+\begin_layout Quotation
+
+With another one inside it (with same layout)
+\end_layout
+
+\begin_layout Quotation
+
+[this one even has several paragraphs!] 
+\end_layout
+
+\end_deeper
+\begin_layout Standard
+
+We can also nest enumerations
+\end_layout
+
+\begin_layout Enumerate
+
+Item1 
+\end_layout
+
+\begin_deeper
+\begin_layout Enumerate
+
+Item1.a
+\end_layout
+
+\begin_layout Enumerate
+
+Item1.b (there is a paragraph break in front of this) 
+\end_layout
+
+\begin_deeper
+\begin_layout Itemize
+
+Item1.b.* 
+\end_layout
+
+\begin_layout Itemize
+
+Item1.b.* 
+\end_layout
+
+\end_deeper
+\end_deeper
+\begin_layout Enumerate
+
+Item2 
+\end_layout
+
+\begin_layout --Separator--
+
+
+\end_layout
+
+\begin_layout Enumerate
+
+Item1 (appears as Item3 with bug 5716)
+\end_layout
+
+\begin_deeper
+\begin_layout Standard
+
+Normal paragraph in Item1
+\end_layout
+
+\begin_layout Enumerate
+
+Item1.a 
+\end_layout
+
+\end_deeper
+\begin_layout Standard
+
+Let's see what happens when normal paragraphs are inserted in lists:
+\end_layout
+
+\begin_layout Itemize
+
+the first item
+\end_layout
+
+\begin_deeper
+\begin_layout Standard
+
+with some explanatory text under it
+\end_layout
+
+\begin_layout Standard
+
+and a second paragraph for good measure
+\end_layout
+
+\begin_layout Subsubsection*
+
+we can even have one as a subsubsection
+\end_layout
+
+\end_deeper
+\begin_layout Itemize
+
+the second item
+\end_layout
+
+\begin_layout Itemize
+
+the third item
+\end_layout
+
+\begin_deeper
+\begin_layout Subsubsection*
+
+and a sssection heading inside it (why not?)
+\end_layout
+
+\end_deeper
+\begin_layout Standard
+
+What else? Well, we have descriptions: 
+\end_layout
+
+\begin_layout Description
+
+ABC first item 
+\end_layout
+
+\begin_layout Description
+
+BCD second one 
+\end_layout
+
+\begin_layout Description
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+x y z
+\end_layout
+
+\end_inset
+
+ with space 
+\end_layout
+
+\begin_layout Description
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+x y % bla
+\end_layout
+
+\begin_layout Standard
+
+z
+\end_layout
+
+\end_inset
+
+ and with comments 
+\end_layout
+
+\begin_layout Standard
+
+labelings: 
+\end_layout
+
+\begin_layout Labeling
+\labelwidthstring 00.00.0000
+
+label
+\begin_inset space ~
+
+\end_inset
+
+1 first item 
+\end_layout
+
+\begin_layout Labeling
+
+label
+\begin_inset space ~
+
+\end_inset
+
+2 second item 
+\end_layout
+
+\begin_layout Labeling
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+$
+\backslash
+left[
+\backslash
+textrm{ }
+\backslash
+right]^{x}$
+\end_layout
+
+\end_inset
+
+ Label with space, math and ] in it 
+\end_layout
+
+\begin_layout Standard
+
+verbatim: 
+\end_layout
+
+\begin_layout Verbatim
+
+\end_layout
+\begin_layout Verbatim
+verbat  im % $ 02/19/12
+\end_layout
+\begin_layout Verbatim
+hjkh
+\end_layout
+\begin_layout Verbatim
+jkh \backslash  blah
+\end_layout
+\begin_layout Verbatim
+\backslash begin{centering}
+\end_layout
+\begin_layout Verbatim
+
+\end_layout
+\begin_layout Verbatim
+
+\end_layout
+\begin_layout Verbatim
+zzz \backslash section{
+\end_layout
+\begin_layout Verbatim
+\backslash end{raggedleft}
+\end_layout
+
+
+\begin_layout Standard
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+verb~~
+\end_layout
+
+\end_inset
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+verb+
+\backslash
+item[ABC] first item+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+and bibliography: 
+\end_layout
+
+\begin_layout Bibliography
+
+
+\begin_inset CommandInset bibitem
+LatexCommand bibitem
+label ""
+key "FOO"
+
+\end_inset
+
+ Edward Bar. 
+\emph on
+The Foo Book
+\emph default
+. (1999) 
+\end_layout
+
+\begin_layout Bibliography
+
+
+\begin_inset CommandInset bibitem
+LatexCommand bibitem
+label ""
+key "FO2"
+
+\end_inset
+
+ Walter Müller 
+\emph on
+The Müller Book
+\emph default
+. (2004) 
+\end_layout
+
+\begin_layout Standard
+\start_of_appendix
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+%dummy comment inserted by tex2lyx to ensure that this paragraph is not empty
+\end_layout
+
+\begin_layout Standard
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Section
+
+This is the Appendix
+\end_layout
+
+\begin_layout Standard
+\noindent
+
+blabla bla bla
+\end_layout
+
+\begin_layout Standard
+
+switch to german:
+\lang german
+ Hallo! 
+\lang french
+some 
+\emph on
+french
+\emph default
+
+\lang german
+ back to english:
+\lang newzealand
+ and some nested 
+\lang french
+french 
+\lang german
+nested 
+\emph on
+german
+\emph default
+
+\lang french
+ french
+\lang newzealand
+ english stuff. Note that we both used 
+\family typewriter
+french
+\family default
+ and the 
+\family typewriter
+francais
+\family default
+ alias for the french text, but for some reason this does not work with the 
+\family typewriter
+newzealand
+\family default
+ alias and 
+\family typewriter
+english
+\family default
+ for english text.
+\end_layout
+
+\begin_layout Section
+
+\lang newzealand
+
+Another Appendix section
+\end_layout
+
+\begin_layout Standard
+
+\lang newzealand
+
+blub
+\end_layout
+
+\begin_layout Standard
+
+\lang newzealand
+
+Test for missing 
+\backslash
+end_deeper (file format 278). This must stay at the very end of the document! 
+\end_layout
+
+\begin_layout Itemize
+
+\lang newzealand
+
+par1
+\end_layout
+
+\begin_deeper
+\begin_layout Standard
+
+\lang newzealand
+
+par2 
+\end_layout
+
+\begin_layout Enumerate
+
+\lang newzealand
+
+par1
+\end_layout
+
+\begin_deeper
+\begin_layout Standard
+
+\lang newzealand
+
+par2 
+\end_layout
+
+\end_deeper
+\end_deeper
+\end_body
+\end_document
diff --git a/src/tex2lyx/test/test.lyx.lyx b/src/tex2lyx/test/test.lyx.lyx
new file mode 100644 (file)
index 0000000..caa79e2
--- /dev/null
@@ -0,0 +1,536 @@
+#LyX file created by tex2lyx 2.1.0svn
+\lyxformat 430
+\begin_document
+\begin_header
+\textclass article
+\begin_preamble
+% This is a test document for tex2lyx
+ %some comments
+
+%comments
+\def\blah{\blahblah}
+% And more comments
+
+%more comments
+
+\end_preamble
+\use_default_options false
+\language english
+\language_package none
+\inputencoding auto
+\fontencoding default
+\font_roman default
+\font_sans default
+\font_typewriter default
+\font_default_family default
+\use_non_tex_fonts false
+\font_sc false
+\font_osf false
+\font_sf_scale 100
+\font_tt_scale 100
+\graphics default
+\paperfontsize 11
+\spacing single
+\use_hyperref 0
+\papersize default
+\use_geometry false
+\use_package amsmath 1
+\use_package esint 1
+\use_package mathdots 0
+\use_package mathtools 0
+\use_package mhchem 0
+\use_package undertilde 0
+\cite_engine basic
+\cite_engine_type numerical
+\biblio_style plain
+\use_bibtopic false
+\use_indices false
+\paperorientation portrait
+\suppress_date false
+\justification true
+\use_refstyle 0
+\secnumdepth 3
+\tocdepth 3
+\paragraph_separation indent
+\paragraph_indentation default
+\quotes_language english
+\papercolumns 1
+\papersides 1
+\paperpagestyle default
+\tracking_changes false
+\output_changes false
+\html_math_output 0
+\html_css_as_file 0
+\html_be_strict false
+\end_header
+
+\begin_body
+
+\begin_layout Title
+
+Test Document
+\end_layout
+
+\begin_layout Standard
+
+
+\begin_inset CommandInset toc
+LatexCommand tableofcontents
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Section
+
+First Section
+\end_layout
+
+\begin_layout Standard
+
+This 
+\size large
+a 
+\size small
+b 
+\size tiny
+c
+\size large
+\size huge
+d
+\size default
+ is some text. 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+%Midline comment
+\end_layout
+
+\begin_layout Standard
+
+
+\end_layout
+
+\end_inset
+
+
+\begin_inset Box Boxed
+position "c"
+hor_pos "c"
+has_inner_box 0
+inner_pos "c"
+use_parbox 0
+use_makebox 0
+width "3in"
+special "none"
+height "1in"
+height_special "totalheight"
+status open
+
+
+\begin_layout Standard
+
+What are you doing \SpecialChar \ldots{}
+Dave
+\end_layout
+
+\end_inset
+
+. This is more text.
+\end_layout
+
+\begin_layout Section*
+
+MySection
+\end_layout
+
+\begin_layout Standard
+
+
+\begin_inset CommandInset label
+LatexCommand label
+name "sec:mysection"
+
+\end_inset
+
+This is some 
+\begin_inset Quotes eld
+\end_inset
+
+quoted
+\begin_inset Quotes erd
+\end_inset
+
+ text in a new section. I 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+{
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+em
+\end_layout
+
+\end_inset
+
+ am
+\begin_inset Foot
+status collapsed
+
+
+\begin_layout Standard
+
+This is a great footnote because: 
+\end_layout
+
+\begin_layout Itemize
+
+The footnote is not 
+\emph on
+emphasized
+\emph default
+. 
+\end_layout
+
+\begin_layout Itemize
+
+The text is 
+\end_layout
+
+\begin_layout Standard
+
+How cool is that!?
+\end_layout
+
+\end_inset
+
+ emphasizing 
+\begin_inset Quotes eld
+\end_inset
+
+text.
+\end_layout
+
+\begin_layout Standard
+
+I keep
+\begin_inset Quotes erd
+\end_inset
+
+ emphasizing
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+. This 
+\begin_inset space ~
+
+\end_inset
+
+ is text in a new par\SpecialChar \-
+agraph.
+\begin_inset Newline newline
+\end_inset
+
+ It has \SpecialChar \ldots{}
+an 
+\begin_inset Formula $ \alpha $
+\end_inset
+
+ in it, which is OK\SpecialChar \@.
+ I can type special characters
+\begin_inset Foot
+status collapsed
+
+
+\begin_layout Standard
+
+i.e., characters which must be escaped
+\end_layout
+
+\end_inset
+
+ like & and #.
+\end_layout
+
+\begin_layout Standard
+
+_ is a neat token. 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+% This line won't print!
+\end_layout
+
+\begin_layout Standard
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+Now I 
+\family sans
+want 
+\family typewriter
+to
+\family sans
+ write
+\family default
+ some math in a displayed equation. 
+\begin_inset Formula \begin{eqnarray*}
+q^{(i)}_O & = & q^{water}_{O}+dq_{O}\times (P_{deg}^{(i-1)}-P_{deg}^{(i)})\\
+q_{H}^{(i)} & = & q^{water}_{H}+dq_{H}\times (P_{deg}^{(i-1)}-P_{deg}^{(i)})\\
+q_{p}^{(i)} & = & q^{water}_{H}+dq_{H}\times (P_{deg}^{(i-1)}-P^{(i+1)}_{deg})
+\end{eqnarray*}
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+Here's an itemized list 
+\end_layout
+
+\begin_layout Itemize
+
+this is an item 
+\end_layout
+
+\begin_deeper
+\begin_layout Enumerate
+
+this is a numbered item
+\end_layout
+
+\begin_deeper
+\begin_layout Standard
+
+But now I want to write some text. 
+\end_layout
+
+\end_deeper
+\begin_layout Enumerate
+
+this is another numbered item
+\end_layout
+
+\begin_deeper
+\begin_layout Standard
+
+More text 
+\end_layout
+
+\end_deeper
+\end_deeper
+\begin_deeper
+\begin_layout Standard
+
+Yet more text
+\end_layout
+
+\end_deeper
+\begin_layout Itemize
+
+this is another unnumbered item
+\end_layout
+
+\begin_deeper
+\begin_layout Standard
+
+Final text 
+\end_layout
+
+\end_deeper
+\begin_layout Section
+
+
+\begin_inset Argument
+status collapsed
+
+
+\begin_layout Standard
+
+hi
+\end_layout
+
+\end_inset
+
+New Section
+\end_layout
+
+\begin_layout Standard
+
+Here's a 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+{
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+em
+\end_layout
+
+\end_inset
+
+ quotation: 
+\end_layout
+
+\begin_layout Quotation
+
+Hello there how are you?
+\end_layout
+
+\begin_layout Quotation
+
+I am fine. Thanks 
+\end_layout
+
+\begin_layout Standard
+
+This
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+ is a reference to section 
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:mysection"
+
+\end_inset
+
+ on page 
+\begin_inset CommandInset ref
+LatexCommand pageref
+reference "sec:mysection"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Standard
+
+
+\begin_inset Tabular 
+<lyxtabular version="3" rows="2" columns="2">
+<features rotate="0" tabularvalignment="middle" tabularwidth="0pt">
+<column alignment="left" valignment="top">
+<column alignment="left" valignment="top">
+<row>
+<cell alignment="left" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+foo 
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="left" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+bar 
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+bar 
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="left" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+foo 
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+Let's try a few unicode characters: the (R) symbol ®(and the same one with braces ® and a space after) or maybe an accented a á or this one á or this î.
+\end_layout
+
+\begin_layout Standard
+
+Watch out: ®should be glued to its successor here.
+\end_layout
+
+\begin_layout Standard
+
+Final Text. 
+\end_layout
+
+\end_body
+\end_document