-#LyX file created by tex2lyx 2.1.0svn
-\lyxformat 433
+#LyX file created by tex2lyx 2.2
+\lyxformat 479
\begin_document
\begin_header
\textclass article
\begin_preamble
+% Load refstyle before prettyref so that prettyref wins.
+% The real refstyle tests are in test-refstyle-theorems.tex.
+\usepackage{refstyle}
+\AtBeginDocument{\providecommand\secref[1]{\ref{sec:#1}}}
+
+
\def\mycommand{\textquestiondown}
\maintain_unincluded_children false
\language english
\language_package none
-\inputencoding latin9
+\inputencoding iso8859-15
\fontencoding T1
\font_roman default
\font_sans default
\font_typewriter default
+\font_math auto
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\index_command default
\paperfontsize 12
\spacing onehalf
-\use_hyperref 0
+\use_hyperref true
+\pdf_bookmarks 0
+\pdf_bookmarksnumbered 0
+\pdf_bookmarksopen 0
+\pdf_bookmarksopenlevel 1
+\pdf_breaklinks 0
+\pdf_pdfborder 0
+\pdf_colorlinks 0
+\pdf_backref section
+\pdf_pdfusetitle 0
\papersize a4paper
\use_geometry false
\use_package amsmath 2
-\use_package amssymb 0
+\use_package amssymb 2
+\use_package cancel 0
\use_package esint 1
\use_package mathdots 0
\use_package mathtools 0
\use_package mhchem 0
+\use_package stackrel 0
+\use_package stmaryrd 0
\use_package undertilde 0
\cite_engine natbib
\cite_engine_type numerical
\suppress_date false
\justification true
\use_refstyle 0
+\index Index
+\shortcut idx
+\color #008000
+\end_index
+\index new
+\shortcut new
+\color #008000
+\end_index
+\index test
+\shortcut test
+\color #008000
+\end_index
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\begin_body
\begin_layout Title
-
Title
\end_layout
\begin_layout Standard
-
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
%stupid stuff
\end_layout
-\begin_layout Standard
-
-
-\end_layout
-
\end_inset
\end_layout
\begin_layout Date
-
two days ago
\end_layout
\begin_layout Standard
-
\begin_inset CommandInset toc
LatexCommand tableofcontents
\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_layout
\begin_layout Standard
-
Let's start with simple things: a label
\begin_inset space ~
\end_layout
\begin_layout Standard
-
Of course there are other kind of references, like page reference
\begin_inset space ~
\end_inset
-.
+ as well as textual references like
+\begin_inset space ~
+
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand nameref
+reference "lab:test"
+
+\end_inset
+
+. The command
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+secref
\end_layout
-\begin_layout Section
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+{
+\end_layout
+
+\end_inset
+
+lab:test
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+}
+\end_layout
+
+\end_inset
+
+ will be parsed in ERT, since
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+LyX
+\end_layout
+\end_inset
+
+ does not support refstyle and prettyref natively at the same time.
+\end_layout
+
+\begin_layout Section
Cites
\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
-
Cites
\end_layout
\end_layout
\begin_layout Standard
-
Let's start with simple things: a
\backslash
cite:
\end_layout
\begin_layout Standard
-
Now the natbib things:
\end_layout
\begin_layout Standard
-
\backslash
citet:
\begin_inset CommandInset citation
\begin_layout Standard
-
\backslash
citep:
\begin_inset CommandInset citation
\begin_layout Standard
-
\backslash
citealt:
\begin_inset CommandInset citation
\begin_layout Standard
-
\backslash
citealp:
\begin_inset CommandInset citation
\begin_layout Standard
-
\backslash
citeauthor:
\begin_inset CommandInset citation
\begin_layout Standard
-
\backslash
citeyear:
\begin_inset CommandInset citation
\begin_layout Standard
-
\backslash
citeyearpar:
\begin_inset CommandInset citation
\begin_layout Standard
-
\backslash
nocite:
\begin_inset CommandInset citation
\begin_layout Standard
-
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
% 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
-
+\begin_layout Plain Layout
%
\backslash
bibliographystyle{unsrt}
\end_layout
-\begin_layout Standard
-
-
-\end_layout
-
\end_inset
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
%
\backslash
bibliography{xampl}
\end_layout
-\begin_layout Standard
-
-
-\end_layout
-
\end_inset
\end_layout
\begin_layout Standard
-
With
\backslash
nocite{*}:
\end_layout
\begin_layout Standard
-
From bug 7306:
\begin_inset CommandInset citation
LatexCommand citet
\begin_layout Bibliography
-
\begin_inset CommandInset bibitem
LatexCommand bibitem
label "{{Gürkan et~al.}(2004)}"
\end_layout
\begin_layout Section
-
Input files
\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
-
Input files
\end_layout
\end_layout
\begin_layout Standard
-
We can input files too, like this
\begin_inset CommandInset include
LatexCommand input
preview false
-filename "DummyDocument.lyx"
+filename "DummyDocument.lyx.lyx"
\end_inset
-, or with the include variant
+, or with the include variant (tests quoting as well):
\begin_inset CommandInset include
LatexCommand include
preview false
-filename "DummyDocument.lyx"
+filename "Dummy Document.tex"
\end_inset
-\begin_inset ERT
-status collapsed
+\begin_inset CommandInset include
+LatexCommand include
+preview false
+filename "Dummy Document.tex"
-\begin_layout Standard
+\end_inset
-% unfortunately, including the doc twice generates a multiply defined label
-\end_layout
+
+\begin_inset CommandInset include
+LatexCommand include
+preview false
+filename "Dummy~Document.lyx.lyx"
-\begin_layout Standard
+\end_inset
+
+
+\begin_inset CommandInset include
+LatexCommand include
+preview false
+filename "Dummy~Document.lyx.lyx"
+\end_inset
-\end_layout
+ File names containg double quotes are not legal on windows, so no test file is provided. Nevertheless, they are legal on unix, so we test at least the parsing. File names containing spaces can not be handled by automake (make dist would fail), so no test file is provided as well. Since the files do not exist, the variants without extension would not work (tex2lyx can't deduce the correct extension of nonexisting files).
+\begin_inset CommandInset include
+LatexCommand include
+preview false
+filename "Dummy\"Document.tex"
\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_layout
\begin_layout Standard
-
Spreadsheets:
\end_layout
\begin_layout Standard
-
\begin_inset External
template GnumericSpreadsheet
filename ../../../lib/examples/longsheet.gnumeric
\end_layout
+\begin_layout Standard
+XFig drawings:
+\end_layout
+
\begin_layout Standard
-and PDF pages:
+\begin_inset External
+ template XFig
+ filename xfigtest.fig
+
+\end_inset
+
+
\end_layout
\begin_layout Standard
+and PDF pages:
+\end_layout
+\begin_layout Standard
\begin_inset External
template PDFPages
\end_layout
\begin_layout Standard
-
If you prefer verbatim input, you can choose between
\begin_inset space ~
\end_layout
\begin_layout Section
-
URLs and Hyperlinks
\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
-
URL
\end_layout
\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_layout
\begin_layout Standard
+An URL with strange characters:
+\begin_inset Flex Flex:URL
+status collapsed
+
+\begin_layout Plain Layout
+http://www.lyx.org/percent%dollar$
+\end_layout
+
+\end_inset
+
+\end_layout
+
+\begin_layout Standard
link:
\begin_inset CommandInset href
LatexCommand href
\end_layout
\begin_layout Standard
-
link2:
\begin_inset CommandInset href
LatexCommand href
\end_layout
\begin_layout Standard
-
mail:
\begin_inset CommandInset href
LatexCommand href
\end_layout
\begin_layout Standard
-
file:
\begin_inset CommandInset href
LatexCommand href
\end_layout
\begin_layout Standard
-
ftp:
\begin_inset CommandInset href
LatexCommand href
\end_layout
\begin_layout Standard
-
ftp2:
\begin_inset CommandInset href
LatexCommand href
\end_layout
-\begin_layout Section
+\begin_layout Standard
+parser test (stupid, but valid):
+\begin_inset CommandInset href
+LatexCommand href
+name "}"
+target "http://www.test.test"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+parser test (escaped):
+\begin_inset CommandInset href
+LatexCommand href
+name "a brace } and another one { and something"
+target "http://www.test.test"
+
+\end_inset
+
+
+\end_layout
+\begin_layout Section
Lists
\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
-
Lists
\end_layout
\begin_layout Standard
-
\begin_inset FloatList figure
\end_inset
\end_layout
\begin_layout Section
-
Listings
\end_layout
\begin_layout Standard
-
Inline:
\begin_inset listings
-lstparams "language={C++}"
+lstparams "language={C++},keywordstyle={\color{green}}"
inline true
status collapsed
\begin_layout Plain Layout
-
int a=5;
\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_layout
\begin_layout Standard
-
Here is an example listing with left line numbering, step
\begin_inset Quotes eld
\end_inset
\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_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"
status collapsed
\begin_layout Plain Layout
-
hello
\end_layout
\begin_layout Standard
-
\begin_inset listings
lstparams "language=TeX"
inline true
\begin_layout Plain Layout
-
\backslash
begin{centering} hello
\end_layout
\end_layout
\begin_layout Section
-
Graphics
\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
-
Graphics
\end_layout
\end_layout
\begin_layout Standard
-
There is also some basic support for graphics, in the form
\begin_inset Graphics
filename foo.eps
\end_layout
\begin_layout Section
-
Tables
\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
-
Tables
\end_layout
\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
-
+\begin_layout Plain Layout
\backslash
let
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
\backslash
let
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
\backslash
let
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
\backslash
providecommand{
\begin_layout Standard
-
\begin_inset Tabular
-<lyxtabular version="3" rows="64" columns="2">
+<lyxtabular version="3" rows="66" columns="2">
<features rotate="0" islongtable="true">
<column alignment="none" valignment="top" special="@{*}r">
<column alignment="none" valignment="top" special="|p{1in}@{*}">
\begin_inset Text
\begin_layout Standard
-
KILLED
\end_layout
\begin_inset Text
\begin_layout Standard
-
LINE!!!!
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
\backslash
kill
\end_inset
-\begin_inset Caption
+\begin_inset Caption Standard
\begin_layout Standard
-
-\begin_inset Argument
+\begin_inset Argument 1
status collapsed
-\begin_layout Standard
+\begin_layout Standard
An optional table caption (used in the list of tables)
\end_layout
\begin_inset Text
\begin_layout Standard
-
This part appears at the top of the table
\end_layout
\begin_layout Standard
-
\shape smallcaps
First
\shape default
\begin_layout Standard
-
\shape smallcaps
Second
\shape default
\begin_layout Standard
-
-\begin_inset Caption
+\begin_inset Caption Standard
\begin_layout Standard
-
-\begin_inset Argument
+\begin_inset Argument 1
status collapsed
+
\end_inset
(continued)
\begin_inset Text
\begin_layout Standard
-
This part appears at the top of every other page
\end_layout
\begin_layout Standard
-
\series bold
First
\series default
\begin_layout Standard
-
\series bold
Second
\series default
\end_inset
</cell>
</row>
-<row endfoot="true">
-<cell alignment="none" valignment="top" topline="true" bottomline="true" usebox="none">
+<row endfoot="true" caption="true">
+<cell multicolumn="1" alignment="none" valignment="top" topline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
-This goes at the
+\begin_inset Caption LongTableNoNumber
+
+\begin_layout Standard
+standard foot
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
</cell>
-<cell alignment="none" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+<cell multicolumn="2" alignment="none" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\end_inset
+</cell>
+</row>
+<row endfoot="true">
+<cell alignment="none" valignment="top" topline="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" leftline="true" usebox="none">
+\begin_inset Text
+\begin_layout Standard
bottom.
\end_layout
+\end_inset
+</cell>
+</row>
+<row endlastfoot="true" caption="true">
+<cell multicolumn="1" alignment="none" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+\begin_inset Caption LongTableNoNumber
+
+\begin_layout Standard
+(last foot)
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell multicolumn="2" alignment="none" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
\end_inset
</cell>
</row>
\begin_inset Text
\begin_layout Standard
-
These lines will
\end_layout
\begin_inset Text
\begin_layout Standard
-
appear
\end_layout
\begin_inset Text
\begin_layout Standard
-
in place of the
\end_layout
\begin_inset Text
\begin_layout Standard
-
usual foot
\end_layout
\begin_inset Text
\begin_layout Standard
-
at the end
\end_layout
\begin_inset Text
\begin_layout Standard
-
of the table
\end_layout
\begin_layout Standard
-
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
\backslash
env
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
{
\end_layout
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
}
\end_layout
\begin_inset Text
\begin_layout Standard
-
in the
\end_layout
\begin_inset Text
\begin_layout Standard
-
same way as in the
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
\backslash
env
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
{
\end_layout
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
}
\end_layout
\begin_inset Text
\begin_layout Standard
-
environment.
\end_layout
\begin_layout Standard
-
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
\backslash
code
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
{
\end_layout
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
}
\end_layout
\begin_inset Text
\begin_layout Standard
-
in this case.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Each row ends with a
\end_layout
\begin_layout Standard
-
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
\backslash
code
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
{
\end_layout
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
}
\end_layout
\begin_inset Text
\begin_layout Standard
-
The
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
\backslash
code
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
{
\end_layout
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
}
\end_layout
\begin_inset Text
\begin_layout Standard
-
optional
\end_layout
\begin_inset Text
\begin_layout Standard
-
argument, just as in
\end_layout
\begin_inset Text
\begin_layout Standard
-
the
\end_layout
\begin_layout Standard
-
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
\backslash
env
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
{
\end_layout
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
}
\end_layout
\begin_inset Text
\begin_layout Standard
-
environment.
\end_layout
\begin_inset Text
\begin_layout Standard
-
[10pt] See the effect of
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
\backslash
code
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
{
\end_layout
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
}
\end_layout
\begin_inset Text
\begin_layout Standard
-
?
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Also
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
\backslash
code
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
{
\end_layout
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
}
\end_layout
\begin_inset Text
\begin_layout Standard
-
as in
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
\backslash
env
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
{
\end_layout
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
}
\end_layout
\begin_inset Text
\begin_layout Standard
-
That was a
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
\backslash
code
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
{
\end_layout
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
}
\end_layout
\begin_inset Text
\begin_layout Standard
-
.
\end_layout
\begin_inset Text
\begin_layout Standard
-
That was
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
\backslash
code
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
{
\end_layout
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
}
\end_layout
\begin_inset Text
\begin_layout Standard
-
.
\end_layout
\begin_inset Text
\begin_layout Standard
-
This is a
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
\backslash
code
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
{
\end_layout
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
}
\end_layout
\begin_inset Text
\begin_layout Standard
-
If a page break occurs at a
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
\backslash
code
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
{
\end_layout
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
}
\end_layout
\begin_inset Text
\begin_layout Standard
-
a line is drawn
\end_layout
\begin_inset Text
\begin_layout Standard
-
at the bottom of one page and at the
\end_layout
\begin_inset Text
\begin_layout Standard
-
top of the next.
\end_layout
\begin_inset Text
\begin_layout Standard
-
The
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
\backslash
code
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
{
\end_layout
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
}
\end_layout
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
\backslash
env
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
{
\end_layout
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
}
\end_layout
\begin_inset Text
\begin_layout Standard
-
can not be used.
\end_layout
\begin_inset Text
\begin_layout Standard
-
The optional argument may be one of
\end_layout
\begin_layout Standard
-
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
\backslash
code
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
{
\end_layout
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
}
\end_layout
\begin_inset Text
\begin_layout Standard
-
to specify whether the table should be
\end_layout
\begin_inset Text
\begin_layout Standard
-
adjusted
\end_layout
\begin_inset Text
\begin_layout Standard
-
to the left, right
\end_layout
\begin_inset Text
\begin_layout Standard
-
or centrally.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Some lines may take up a lot of space, like this:
\end_layout
\begin_layout Standard
-
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
\backslash
raggedleft
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
\backslash
code
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
{
\end_layout
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
}
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots
\begin_inset Foot
status collapsed
\begin_layout Standard
-
This is a footnote.
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this
\begin_inset Foot
status collapsed
\begin_layout Standard
-
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
\backslash
env
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
{
\end_layout
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
}
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\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
-
+\begin_layout Plain Layout
LyX
\end_layout
\begin_layout Standard
-
-\begin_inset Caption
+\begin_inset Caption Standard
\begin_layout Standard
-
A long table
\end_layout
\begin_layout Standard
-
-\begin_inset Caption
+\begin_inset Caption Standard
\begin_layout Standard
-
A long table -- continued
\end_layout
\begin_layout Standard
-
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
{
\end_layout
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
}
\end_layout
\begin_inset Text
\begin_layout Standard
-
Something
\end_layout
\begin_inset Text
\begin_layout Standard
-
Description
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\begin_inset Text
\begin_layout Standard
-
Lots of lines
\end_layout
\begin_inset Text
\begin_layout Standard
-
like this.
\end_layout
\end_layout
\begin_layout Standard
-
A table*:
\end_layout
\begin_layout Standard
-
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
% some comment
\end_layout
-\begin_layout Standard
-
-
-\end_layout
-
\end_inset
\begin_inset Text
\begin_layout Standard
-
two
\end_layout
\begin_inset Text
\begin_layout Standard
-
lonely
\end_layout
\begin_inset Text
\begin_layout Standard
-
lines
\end_layout
\end_layout
\begin_layout Standard
-
A booktabs table:
\end_layout
\begin_layout Standard
-
\begin_inset Float table
placement h
wide false
\begin_layout Standard
-
-\begin_inset Caption
+\begin_inset Caption Standard
\begin_layout Standard
-
\begin_inset CommandInset label
LatexCommand label
name "tab:Special-booktabs-table"
\begin_layout Standard
-
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
\backslash
centering
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
{}
\end_layout
\begin_inset Text
\begin_layout Standard
-
System
\end_layout
\begin_inset Text
\begin_layout Standard
-
Chip
\begin_inset space \thinspace{}
\begin_inset Text
\begin_layout Standard
-
Chip
\begin_inset space \thinspace{}
\begin_layout Standard
-
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
\backslash
cmidrule
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
{
\end_layout
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
}
\end_layout
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
\backslash
cmidrule
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
{
\end_layout
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
}
\end_layout
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
\backslash
morecmidrules
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
\backslash
cmidrule
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
{
\end_layout
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
}
\end_layout
\begin_inset Text
\begin_layout Standard
-
300
\end_layout
\begin_inset Text
\begin_layout Standard
-
300
\end_layout
\begin_inset Text
\begin_layout Standard
-
700
\end_layout
\begin_inset Text
\begin_layout Standard
-
Edge angle in °
\end_layout
\begin_inset Text
\begin_layout Standard
-
3.55
\end_layout
\begin_inset Text
\begin_layout Standard
-
2.71
\end_layout
\begin_inset Text
\begin_layout Standard
-
7.99
\end_layout
\begin_inset Text
\begin_layout Standard
-
Spatial resolution in µm
\end_layout
\begin_inset Text
\begin_layout Standard
-
4.26
\end_layout
\begin_inset Text
\begin_layout Standard
-
10.17
\end_layout
\begin_inset Text
\begin_layout Standard
-
10.56
\end_layout
\begin_inset Text
\begin_layout Standard
-
MTF at
\begin_inset Formula $f_{\mathrm{max}}$
\end_inset
\begin_inset Text
\begin_layout Standard
-
0.53
\end_layout
\begin_inset Text
\begin_layout Standard
-
0.37
\end_layout
\begin_inset Text
\begin_layout Standard
-
0.39
\end_layout
\begin_layout Standard
-
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
\backslash
morecmidrules
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
\backslash
cmidrule
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
{
\end_layout
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
}
\end_layout
\begin_inset Text
\begin_layout Standard
-
in µm
\end_layout
\begin_inset Text
\begin_layout Standard
-
129.7
\end_layout
\begin_inset Text
\begin_layout Standard
-
52.75
\end_layout
\begin_inset Text
\begin_layout Standard
-
50.78
\end_layout
\begin_inset Text
\begin_layout Standard
-
in % of pixel size
\end_layout
\begin_inset Text
\begin_layout Standard
-
76.3
\end_layout
\begin_inset Text
\begin_layout Standard
-
95.9
\end_layout
\begin_inset Text
\begin_layout Standard
-
92.3
\end_layout
\end_layout
\begin_layout Section
-
Macros
\end_layout
\begin_layout Standard
-
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
LyX
\end_layout
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
\backslash
providecommand{
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
\backslash
providecommand*{
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
\backslash
newcommand*{
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
\backslash
renewcommand*{
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
\backslash
providecommandx{
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
\backslash
providecommandx*{
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
\backslash
newcommandx*{
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
\backslash
renewcommandx*{
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
\backslash
DeclareRobustCommand{
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
\backslash
DeclareRobustCommand*{
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
\backslash
DeclareRobustCommandx{
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
\backslash
DeclareRobustCommandx*{
\end_layout
\begin_layout Standard
-
Now use them all:
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
\backslash
macroa
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
{
\end_layout
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
}
\end_layout
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
\backslash
macrob
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
{
\end_layout
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
}
\end_layout
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
\backslash
macroc
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
{
\end_layout
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
}
\end_layout
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
\backslash
macrod
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
{
\end_layout
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
}
\end_layout
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
\backslash
macroe{
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
}
\end_layout
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
\backslash
macrof{
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
}
\end_layout
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
\backslash
macrog{
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
}
\end_layout
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
\backslash
macroi{
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
}
\end_layout
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
\backslash
macrok{
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
}
\end_layout
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
\backslash
macrom{
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
}
\end_layout
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
\backslash
macroo{
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
}
\end_layout
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
\backslash
macroq{
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
}
\end_layout
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
\backslash
macror{
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
}
\end_layout
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
%
\backslash
macros{x}
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
\begin_layout Subsection
-
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
LyX
\end_layout
\end_layout
\begin_layout Standard
-
test
\end_layout
\begin_layout Standard
-
\size tiny
\end_layout
\size tiny
-
\begin_inset CommandInset line
LatexCommand rule
offset "0.5ex"
\end_layout
\begin_layout Standard
-
test
\size giant
Test
\begin_layout Standard
\noindent
-
\begin_inset CommandInset line
LatexCommand rule
offset "0.5ex"
\end_layout
\begin_layout Standard
-
test
\end_layout
\begin_layout Standard
-
\size giant
\end_layout
\size giant
-
\begin_inset CommandInset line
LatexCommand rule
offset "0.5ex"
\end_layout
\begin_layout Subsection
-
rules
\end_layout
\begin_layout Standard
-
test
\begin_inset CommandInset line
LatexCommand rule
\end_layout
\begin_layout Standard
-
test
\end_layout
\begin_layout Standard
-
\begin_inset CommandInset line
LatexCommand rule
offset "0.5ex"
\begin_layout Standard
\noindent
-
\begin_inset CommandInset line
LatexCommand rule
width "1ex"
\begin_layout Standard
-
\color red
\begin_inset CommandInset line
\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_layout
\begin_layout Standard
-
test
\begin_inset Phantom HPhantom
status open
\begin_layout Plain Layout
-
\color green
W
\color inherit
\begin_inset script superscript
\begin_layout Standard
-
Wow
\end_layout
\end_layout
\begin_layout Standard
-
test
\begin_inset Phantom VPhantom
status open
\begin_layout Plain Layout
-
Wow
\backslash
&%
\begin_layout Standard
-
\begin_inset Formula $test\hphantom{Wow}test$
\end_inset
\begin_layout Standard
-
\begin_inset Formula \[
test\phantom{\textcolor{green}{W}\mathbf{ow}\textsuperscript{Wow}}test
\]
\begin_layout Standard
-
\begin_inset Formula $test\vphantom{Wow\&\%}test$
\end_inset
\end_layout
\begin_layout Subsection
+TIPA
+\end_layout
-Line breaks
-\begin_inset Index breaks
-status collapsed
+\begin_layout Standard
-\begin_layout Plain Layout
+\begin_inset IPA
-Line breaks
+\begin_layout Standard
+e̥ e̊ e̬ e̤ ḛ e̼ e̪ e̺ e̻ e
+\begin_inset script superscript
+
+\begin_layout Standard
+h
\end_layout
\end_inset
-
-\end_layout
+ e̹ e̜ e̟ e̠ e̠ ë e̽ e̩ e̩ e̯ e˞e
+\begin_inset script superscript
\begin_layout Standard
+w
+\end_layout
-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
+ e
+\begin_inset script superscript
\begin_layout Standard
+j
+\end_layout
+\end_inset
-\backslash
+ e
+\begin_inset script superscript
-\backslash
-*
+\begin_layout Standard
+ɣ
\end_layout
\end_inset
-or by a newline with space, comment and argument
-\begin_inset ERT
-status collapsed
+ e
+\begin_inset script superscript
\begin_layout Standard
+ʕ
+\end_layout
+\end_inset
-\backslash
+ e̴ e̝ e̞ e̘ e̙ ẽ e
+\begin_inset script superscript
-\backslash
-[3cm]
+\begin_layout Standard
+n
\end_layout
\end_inset
- or by a newline command
-\begin_inset Newline newline
-\end_inset
+ e
+\begin_inset script superscript
+
+\begin_layout Standard
+l
+\end_layout
-or by a line break
-\begin_inset Newline linebreak
\end_inset
-or by a defined line break
-\begin_inset ERT
-status collapsed
+ e˺ e̋
+\end_layout
\begin_layout Standard
-
-
-\backslash
-linebreak[4]
+è ē é ȅ ě ê e᷄ e᷅ e᷈ ĕ
\end_layout
\end_inset
\begin_layout Standard
-There are even newlines with weird arguments, but these are not handled by
+\begin_inset IPA
+
+\begin_layout Standard
+pbtd
\begin_inset ERT
status collapsed
-\begin_layout Standard
+\begin_layout Plain Layout
-LyX
+\backslash
+:
\end_layout
\end_inset
-
+t
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
-
-\backslash
+\begin_layout Plain Layout
\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
+dcɟkɡq
+\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-Page breaks
+\backslash
+;
+\end_layout
+
+\end_inset
+
+G
+\end_layout
+
+\end_inset
+
+
+\begin_inset IPA
+
+\begin_layout Standard
+PmMn
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+:
+\end_layout
+
+\end_inset
+
+nɲN
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+;
+\end_layout
+
+\end_inset
+
+N
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+;
+\end_layout
+
+\end_inset
+
+Br
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+;
+\end_layout
+
+\end_inset
+
+RR
+\end_layout
+
+\end_inset
+
+
+\begin_inset IPA
+
+\begin_layout Standard
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+:
+\end_layout
+
+\end_inset
+
+rFBfvTDszSZ
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+:
+\end_layout
+
+\end_inset
+
+s
+\end_layout
+
+\end_inset
+
+
+\begin_inset IPA
+
+\begin_layout Standard
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+:
+\end_layout
+
+\end_inset
+
+zçJxGXKħQhHɬ
+\end_layout
+
+\end_inset
+
+
+\begin_inset IPA
+
+\begin_layout Standard
+ɮVɹ
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+:
+\end_layout
+
+\end_inset
+
+Rhɰl
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+:
+\end_layout
+
+\end_inset
+
+lL
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+;
+\end_layout
+
+\end_inset
+
+L
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\begin_inset IPA
+
+\begin_layout Standard
+ʘ|!ǂ||ɓɗʄɠʛe'
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\begin_inset IPA
+
+\begin_layout Standard
+iy1ʉW
+\color red
+uIY
+\color inherit
+Ueø987o@Eœ3ɞ2Oæ5aɶA6
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\begin_inset IPA
+
+\begin_layout Standard
+ʍw4
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+;
+\end_layout
+
+\end_inset
+
+HʢʡCʑɺɧ
+\begin_inset IPADeco toptiebar
+status open
+
+\begin_layout Standard
+ar
+\end_layout
+
+\end_inset
+
+
+\begin_inset IPADeco bottomtiebar
+status open
+
+\begin_layout Standard
+tz
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\begin_inset IPA
+
+\begin_layout Standard
+:;eˈˌ|‖.͡*
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+{
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\begin_inset IPA
+
+\begin_layout Standard
+˥˦˧˨˩ꜜꜛ\IPAChar \tone{15}
+\IPAChar \tone{51}
+\IPAChar \tone{45}
+\IPAChar \tone{12}
+\IPAChar \tone{454}
+↗↘
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+TIPA code in math:
+\begin_inset Formula $\textipa{\tone{55}|\text{\!b{}\!d{}\!g{}\!G{}\textglobfall{}\textvertline{}\textdoublevertline{}}}$
+\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 Plain Layout
+
+\backslash
+
+\backslash
+*
+\end_layout
+
+\end_inset
+
+or by a newline with space, comment and argument
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\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 Plain Layout
+
+\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 Plain Layout
+LyX
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\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
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
\backslash
pagebreak[4]
\end_layout
\begin_layout Section
-
Special characters
\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
-
Special characters
\end_layout
\end_layout
\begin_layout Standard
-
Then one has those macros with a long name for a short meaning, like ~, ^ or
\backslash
, \SpecialChar \slash{}
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
LaTeX
\end_layout
\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
-
+\begin_layout Plain Layout
LyX
\end_layout
\begin_layout Standard
-
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
LyX
\end_layout
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
LyX
\end_layout
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
TeX
\end_layout
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
LaTeX
\end_layout
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
LaTeX
\end_layout
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
LyX
\end_layout
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
TeX
\end_layout
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
LaTeX
\end_layout
\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
-
+\begin_layout Plain Layout
\backslash
mycommand
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
{}
\end_layout
\end_layout
\begin_layout Standard
-
builtin ^ unicodesymbols ȷ user
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
\backslash
mycommand
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
{}
\end_layout
\end_layout
\begin_layout Standard
-
builtin ^ unicodesymbols ȷ user
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
\backslash
mycommand
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
% and another
\end_layout
-\begin_layout Standard
-
-
-\end_layout
-
\end_inset
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
{}
\end_layout
\end_layout
\begin_layout Standard
-
A sub
\begin_inset script subscript
\begin_layout Standard
-
sc
\emph on
ript
\begin_inset script superscript
\begin_layout Standard
-
script with
\begin_inset Formula $a^2+b^2=c^2$
\end_inset
.
\end_layout
-\begin_layout Section
+\begin_layout Standard
+latex2writer outputs quotes in braces like
+\begin_inset Quotes ers
+\end_inset
+. We swallow the, but this was one broken (bug 8903).
+\end_layout
+
+\begin_layout Section
Mathematics
\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
-
Mathematics
\end_layout
\end_layout
\begin_layout Standard
-
Let
\begin_inset Formula $f:\left[ a,b\right] \rightarrow%TCIMACRO{\U{211d} }%
%BeginExpansion
.
\end_layout
+\begin_layout Section
+Lists/Indices
+\end_layout
+
+\begin_layout Standard
+single
+\backslash
+addcontentsline:
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+addcontentsline{toc}{section}{test}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+with
+\backslash
+addcontentsline and
+\backslash
+phantomsection:
+\end_layout
+
+\begin_layout Standard
+
+\begin_inset CommandInset bibtex
+LatexCommand bibtex
+bibfiles "xampl"
+options "bibtotoc,test"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+normal:
+\end_layout
+
+\begin_layout Standard
+
+\begin_inset CommandInset bibtex
+LatexCommand bibtex
+bibfiles "xampl"
+options "test"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+with wrong
+\backslash
+addcontentsline:
+\end_layout
+
+\begin_layout Standard
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+bibliographystyle{test}
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+addcontentsline{toc}{section}{test}
+\end_layout
+
+\end_inset
+
+
+\begin_inset CommandInset bibtex
+LatexCommand bibtex
+bibfiles "xampl"
+options "test"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+with
+\backslash
+addcontentsline and
+\backslash
+nocite{*}:
+\end_layout
+
+\begin_layout Standard
+
+\begin_inset CommandInset bibtex
+LatexCommand bibtex
+btprint "btPrintAll"
+bibfiles "xampl"
+options "bibtotoc,test"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+undefined index:
+\end_layout
+
+\begin_layout Standard
+
+\begin_inset CommandInset index_print
+LatexCommand printindex
+type "idx"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+index "idx":
+\end_layout
+
+\begin_layout Standard
+
+\begin_inset CommandInset index_print
+LatexCommand printindex
+type "idx"
+
+\end_inset
+
+
+\end_layout
+
\begin_layout Standard
+index "new":
+\end_layout
+\begin_layout Standard
\begin_inset CommandInset index_print
LatexCommand printindex
+type "new"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+subindex "new":
+\end_layout
+
+\begin_layout Standard
+
+\begin_inset CommandInset index_print
+LatexCommand printsubindex
type "idx"
\end_inset
\end_layout
\begin_layout Standard
+index of all indices:
+\end_layout
+
+\begin_layout Standard
+
+\begin_inset CommandInset index_print
+LatexCommand printindex*
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+subindex of all indices:
+\end_layout
+
+\begin_layout Standard
+
+\begin_inset CommandInset index_print
+LatexCommand printsubindex*
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+normal nomenclature:
+\end_layout
+\begin_layout Standard
\begin_inset CommandInset nomencl_print
LatexCommand printnomenclature
\end_layout
\begin_layout Standard
-
-
+manually set width:
\begin_inset ERT
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
\backslash
settowidth{
\end_layout
\begin_layout Standard
+nomenclature with set width:
+\end_layout
+\begin_layout Standard
\begin_inset CommandInset nomencl_print
LatexCommand printnomenclature