-#LyX file created by tex2lyx 2.1.0dev
-\lyxformat 462
+#LyX file created by tex2lyx 2.4
+\lyxformat 589
\begin_document
\begin_header
+\save_transient_properties true
+\origin roundtrip
\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_roman "default" "default"
+\font_sans "default" "default"
+\font_typewriter "default" "default"
+\font_math "auto" "auto"
\font_default_family default
\use_non_tex_fonts false
\font_sc false
-\font_osf false
-\font_sf_scale 100
-\font_tt_scale 100
+\font_roman_osf false
+\font_sans_osf false
+\font_typewriter_osf false
+\font_sf_scale 100 100
+\font_tt_scale 100 100
+\use_microtype false
+\use_dash_ligatures true
\graphics default
\default_output_format default
\output_sync 0
\paperfontsize 12
\spacing onehalf
\use_hyperref true
-\pdf_bookmarks 1
+\pdf_bookmarks 0
\pdf_bookmarksnumbered 0
\pdf_bookmarksopen 0
\pdf_bookmarksopenlevel 1
\pdf_pdfborder 0
\pdf_colorlinks 0
\pdf_backref section
-\pdf_pdfusetitle 1
-\papersize a4paper
+\pdf_pdfusetitle 0
+\papersize a4
\use_geometry false
\use_package amsmath 2
\use_package amssymb 2
+\use_package cancel 0
\use_package esint 1
\use_package mathdots 0
\use_package mathtools 0
\suppress_date false
\justification true
\use_refstyle 0
+\use_minted 0
+\use_lineno false
\index Index
\shortcut idx
\color #008000
\tocdepth 3
\paragraph_separation indent
\paragraph_indentation 3mm
-\quotes_language english
+\is_math_indent 0
+\math_numbering_side default
+\quotes_style english
+\dynamic_quotes 0
\papercolumns 1
\papersides 1
\paperpagestyle default
%stupid stuff
\end_layout
+\begin_layout Plain Layout
+
+\end_layout
+
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
reference "lab:test"
+plural "false"
+caps "false"
+noprefix "false"
\end_inset
\begin_inset CommandInset ref
LatexCommand pageref
reference "lab:test"
+plural "false"
+caps "false"
+noprefix "false"
\end_inset
\begin_inset CommandInset ref
LatexCommand eqref
reference "lab:test"
+plural "false"
+caps "false"
+noprefix "false"
\end_inset
\begin_inset CommandInset ref
LatexCommand vref
reference "lab:test"
+plural "false"
+caps "false"
+noprefix "false"
\end_inset
\begin_inset CommandInset ref
LatexCommand vpageref
reference "lab:test"
+plural "false"
+caps "false"
+noprefix "false"
\end_inset
\begin_inset CommandInset ref
LatexCommand formatted
reference "lab:test"
+plural "false"
+caps "false"
+noprefix "false"
\end_inset
-.
+ as well as textual references like
+\begin_inset space ~
+
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand nameref
+reference "lab:test"
+plural "false"
+caps "false"
+noprefix "false"
+
+\end_inset
+
+. The command
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+secref
+\end_layout
+
+\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 LyX does not support refstyle and prettyref natively at the same time.
\end_layout
\begin_layout Section
after "after"
before ""
key "article-crossref"
+literal "false"
\end_inset
after "after"
before ""
key "whole-set,article-crossref"
+literal "false"
\end_inset
after "after"
before "before"
key "article-crossref"
+literal "false"
\end_inset
after "after"
before "before"
key "article-crossref"
+literal "false"
\end_inset
after "after"
before "before"
key "article-crossref"
+literal "false"
\end_inset
after "after"
before "before"
key "article-crossref"
+literal "false"
\end_inset
after "after"
before "before"
key "article-crossref"
+literal "false"
\end_inset
after "after"
before "before"
key "article-crossref"
+literal "false"
\end_inset
after "after"
before "before"
key "article-crossref"
+literal "false"
\end_inset
after "after"
before "before"
key "article-crossref"
+literal "false"
\end_inset
after "after"
before "before"
key "article-crossref"
+literal "false"
\end_inset
after "after"
before "before"
key "article-crossref"
+literal "false"
\end_inset
after "after"
before "before"
key "article-crossref"
+literal "false"
\end_inset
after "after"
before "before"
key "article-crossref"
+literal "false"
\end_inset
after "after"
before "before"
key "article-crossref"
+literal "false"
\end_inset
after "after"
before "before"
key "article-crossref"
+literal "false"
\end_inset
after "after"
before "before"
key "article-crossref"
+literal "false"
\end_inset
after "after"
before "before"
key "article-crossref"
+literal "false"
\end_inset
after "after"
before "before"
key "article-crossref"
+literal "false"
\end_inset
after "after"
before "before"
key "article-crossref"
+literal "false"
\end_inset
after "after"
before "before"
key "article-crossref"
+literal "false"
\end_inset
after "after"
before "before"
key "article-crossref"
+literal "false"
\end_inset
after "after"
before "before"
key "article-crossref"
+literal "false"
\end_inset
after "after"
before "before"
key "article-crossref"
+literal "false"
\end_inset
LatexCommand nocite
after ""
key "article-crossref"
+literal "false"
\end_inset
bibliography since LaTeX throws an error.
\end_layout
+\begin_layout Plain Layout
+
+\end_layout
+
\end_inset
bibliographystyle{unsrt}
\end_layout
+\begin_layout Plain Layout
+
+\end_layout
+
\end_inset
after ""
before ""
key "gur+04"
+literal "false"
\end_inset
\begin_layout Bibliography
+\begin_inset CommandInset bibitem
+LatexCommand bibitem
+label "Möstl et~al.(2010)"
+key "Mostl2010"
+literal "false"
+
+\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 Bibliography
+
\begin_inset CommandInset bibitem
LatexCommand bibitem
label "{{Gürkan et~al.}(2004)}"
key "gur+04"
+literal "false"
\end_inset
\begin_inset CommandInset include
LatexCommand input
preview false
-filename "DummyDocument.lyx"
+filename "DummyDocument.lyx.lyx"
+literal "false"
\end_inset
\begin_inset CommandInset include
LatexCommand include
preview false
-filename "Dummy Document.lyx"
+filename "Dummy Document.tex"
+literal "false"
\end_inset
\begin_inset CommandInset include
LatexCommand include
preview false
-filename "Dummy Document.lyx"
+filename "Dummy Document.tex"
+literal "false"
\end_inset
\begin_inset CommandInset include
LatexCommand include
preview false
-filename "Dummy~Document.lyx"
+filename "Dummy~Document.lyx.lyx"
+literal "false"
\end_inset
\begin_inset CommandInset include
LatexCommand include
preview false
-filename "Dummy~Document.lyx"
+filename "Dummy~Document.lyx.lyx"
+literal "false"
\end_inset
- 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 paring. Since the file does not exist, the variant without extension would not work (tex2lyx can't deduce the correct extension of nonexisting files).
+ 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"
+literal "false"
\end_inset
\begin_inset External
template ChessDiagram
- filename ../../../lib/examples/iecc05.fen
+ filename ../../../lib/examples/Graphics_and_Insets/iecc05.fen
\end_inset
\begin_inset External
template GnumericSpreadsheet
- filename ../../../lib/examples/longsheet.gnumeric
+ filename ../../../lib/examples/External_Material/longsheet.gnumeric
\end_inset
\begin_inset External
template PDFPages
- filename ../../../lib/examples/beamer-icsi-logo.pdf
+ filename ../../../lib/examples/Presentations/beamer-icsi-logo.pdf
extra LaTeX "pages=-"
rotateAngle 22
rotateOrigin baselineleft
LatexCommand verbatiminput
preview false
filename "foo"
+literal "false"
\end_inset
LatexCommand verbatiminput*
preview false
filename "foo"
+literal "false"
\end_inset
prefix "www"
symbol "URL"
description "uniform resource locator"
+literal "false"
\end_inset
\begin_layout Standard
An URL:
-\begin_inset Flex Flex:URL
+\begin_inset Flex URL
status collapsed
\begin_layout Plain Layout
LatexCommand nomenclature
symbol "URL2"
description "uniform resource locator"
+literal "false"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+An URL with strange characters:
+\begin_inset Flex URL
+status collapsed
+
+\begin_layout Plain Layout
+http://www.lyx.org/percent%dollar$
+\end_layout
\end_inset
\begin_inset CommandInset href
LatexCommand href
target "www.test.test"
+literal "false"
\end_inset
\begin_inset CommandInset href
LatexCommand href
target "http://www.test.test"
+literal "false"
\end_inset
name "name"
target "www.test.test"
type "mailto:"
+literal "false"
\end_inset
LatexCommand href
target "www.test.test"
type "file:"
+literal "false"
\end_inset
\begin_inset CommandInset href
LatexCommand href
target "ftp://www.test.test"
+literal "false"
\end_inset
LatexCommand href
name "www.test.test"
target "ftp://www.test.test"
+literal "false"
\end_inset
LatexCommand href
name "}"
target "http://www.test.test"
+literal "false"
\end_inset
LatexCommand href
name "a brace } and another one { and something"
target "http://www.test.test"
+literal "false"
\end_inset
\begin_inset listings
lstparams "language={C++},keywordstyle={\color{green}}"
inline true
-status collapsed
+status open
\begin_layout Plain Layout
int a=5;
\begin_inset listings
lstparams "caption={Example Listing float},label={lst:Example-Listing},language=Python"
inline false
-status collapsed
+status open
\begin_layout Plain Layout
# Example listing float
\begin_inset listings
lstparams "extendedchars=true,firstline=3,language=Python,lastline=8,numbers=left,showspaces=true,stepnumber=3"
inline false
-status collapsed
+status open
\begin_layout Plain Layout
def func(param):
\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
+status open
\begin_layout Plain Layout
hello
\begin_inset listings
lstparams "language=TeX"
inline true
-status collapsed
+status open
\begin_layout Plain Layout
\begin_inset Graphics
filename foo.eps
width 1cm
- height 1cm
clip
BoundingBox 10bp 0bp 96bp 96bp
+ special height=1cm
\end_inset
\begin_layout Standard
\begin_inset Tabular
-<lyxtabular version="3" rows="64" columns="2">
-<features rotate="0" islongtable="true">
+<lyxtabular version="3" rows="66" columns="2">
+<features islongtable="true" tabularwidth="0pt">
<column alignment="none" valignment="top" special="@{*}r">
<column alignment="none" valignment="top" special="|p{1in}@{*}">
<row endfirsthead="true">
\begin_inset Caption Standard
-\begin_layout Standard
+\begin_layout Plain Layout
\begin_inset Argument 1
status collapsed
+
\begin_layout Standard
An optional table caption (used in the list of tables)
\end_layout
\begin_inset Caption Standard
-\begin_layout Standard
+\begin_layout Plain Layout
\begin_inset Argument 1
status collapsed
+
\end_inset
(continued)
\end_layout
+\end_inset
+</cell>
+</row>
+<row endfoot="true" caption="true">
+<cell multicolumn="1" alignment="none" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+\begin_inset Caption Unnumbered
+
+\begin_layout Plain Layout
+standard 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>
<row endfoot="true">
-<cell alignment="none" valignment="top" topline="true" bottomline="true" usebox="none">
+<cell alignment="none" valignment="top" topline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
\end_inset
</cell>
-<cell alignment="none" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+<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 Unnumbered
+
+\begin_layout Plain Layout
+(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 Quotes erd
\end_inset
- of the table can take up several lines. Note however that TeX
+ of the table can take up several lines. Note however that \SpecialChar TeX
+
\begin_inset space \space{}
\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 Plain Layout
-LyX
-\end_layout
-
-\end_inset
-
-):
+From bug 7412 another example with more captions (can currently not produced in LyX):
\begin_inset Tabular
<lyxtabular version="3" rows="45" columns="2">
-<features rotate="0" islongtable="true" lastFootEmpty="true">
+<features islongtable="true" lastFootEmpty="true" tabularwidth="0pt">
<column alignment="left" valignment="top">
<column alignment="left" valignment="top">
<row endfirsthead="true" caption="true">
\begin_inset Caption Standard
-\begin_layout Standard
+\begin_layout Plain Layout
A long table
\end_layout
\begin_inset Caption Standard
-\begin_layout Standard
-A long table -- continued
+\begin_layout Plain Layout
+A long table – continued
\end_layout
\end_inset
% some comment
\end_layout
+\begin_layout Plain Layout
+
+\end_layout
+
\end_inset
\begin_inset Tabular
<lyxtabular version="3" rows="2" columns="2">
-<features rotate="0" tabularvalignment="bottom" tabularwidth="80col%">
+<features tabularvalignment="bottom" tabularwidth="80col%">
<column alignment="left" valignment="top">
<column alignment="right" valignment="top">
<row>
\begin_inset Caption Standard
-\begin_layout Standard
+\begin_layout Plain Layout
\begin_inset CommandInset label
LatexCommand label
\begin_inset Tabular
<lyxtabular version="3" rows="8" columns="4">
-<features rotate="0" booktabs="true" tabularvalignment="middle" tabularwidth="0pt">
+<features booktabs="true" tabularvalignment="middle" tabularwidth="0pt">
<column alignment="center" valignment="top">
<column alignment="center" valignment="top">
<column alignment="center" valignment="top">
</cell>
</row>
<row>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-\backslash
-cmidrule
-\end_layout
-
-\end_inset
-
-(r)
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-{
-\end_layout
-
-\end_inset
-
-2-2
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-}
-\end_layout
-
-\end_inset
-
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-\backslash
-cmidrule
-\end_layout
-
-\end_inset
-
-(l)
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-{
-\end_layout
-
-\end_inset
-
-3-4
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-}
-\end_layout
-
-\end_inset
-
-
\begin_inset ERT
status collapsed
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" toplinertrim="true" usebox="none">
\begin_inset Text
\begin_layout Standard
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" toplineltrim="true" usebox="none">
\begin_inset Text
\begin_layout Standard
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
\end_layout
-\begin_layout Section
-Macros
+\begin_layout Standard
+A table using dcolumn:
\end_layout
\begin_layout Standard
-\begin_inset ERT
-status collapsed
+\begin_inset Float table
+wide false
+sideways false
+status open
-\begin_layout Plain Layout
-LyX
+
+\begin_layout Standard
+
+\begin_inset Tabular
+<lyxtabular version="3" rows="4" columns="5">
+<features tabularvalignment="middle" tabularwidth="0pt">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="none" valignment="top" special="d">
+<column alignment="none" valignment="top" special="d">
+<column alignment="none" valignment="top" special="d">
+<row>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+One
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
- supports several kinds of macros: def
-\begin_inset FormulaMacro
-\def\macroa #1{a #1 a}
+\begin_layout Standard
+Two
+\end_layout
+
+\end_inset
+</cell>
+<cell multicolumn="1" alignment="none" valignment="top" usebox="none" special="c">
+\begin_inset Text
+
+\begin_layout Standard
+
+\family roman
+Three
+\family default
+
+\end_layout
+
+\end_inset
+</cell>
+<cell multicolumn="1" alignment="none" valignment="top" usebox="none" special="c">
+\begin_inset Text
+
+\begin_layout Standard
+
+\family roman
+Four
+\family default
+
+\end_layout
+
+\end_inset
+</cell>
+<cell multicolumn="1" alignment="none" valignment="top" usebox="none" special="c">
+\begin_inset Text
+
+\begin_layout Standard
+
+\family roman
+Five
+\family default
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+one
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+two
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+\begin_inset Box Frameless
+position "c"
+hor_pos "c"
+has_inner_box 1
+inner_pos "c"
+use_parbox 0
+use_makebox 1
+width ""
+special "none"
+height "1in"
+height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
+status open
+
+
+\begin_layout Standard
+three
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+\begin_inset Box Frameless
+position "c"
+hor_pos "c"
+has_inner_box 1
+inner_pos "c"
+use_parbox 0
+use_makebox 1
+width ""
+special "none"
+height "1in"
+height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
+status open
+
+
+\begin_layout Standard
+four
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+\begin_inset Box Frameless
+position "c"
+hor_pos "c"
+has_inner_box 1
+inner_pos "c"
+use_parbox 0
+use_makebox 1
+width ""
+special "none"
+height "1in"
+height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
+status open
+
+
+\begin_layout Standard
+five
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+He
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+2
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+2.77234
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+45672.
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+0.69
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+C
+\begin_inset Foot
+status collapsed
+
+
+\begin_layout Standard
+Some tables require footnotes.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+C
+\begin_inset Foot
+status collapsed
+
+
+\begin_layout Standard
+Some tables need more than one footnote.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+12537.64
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+37.66345
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+86.37
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+A table using decimal alignment:
+\end_layout
+
+\begin_layout Standard
+
+\begin_inset Float table
+wide false
+sideways false
+status open
+
+
+\begin_layout Standard
+
+\begin_inset Tabular
+<lyxtabular version="3" rows="4" columns="5">
+<features tabularvalignment="middle" tabularwidth="0pt">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="decimal" decimal_point="." valignment="top">
+<column alignment="decimal" decimal_point="." valignment="top">
+<column alignment="decimal" decimal_point="." valignment="top">
+<row>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+One
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+Two
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" usebox="none" special="c">
+\begin_inset Text
+
+\begin_layout Standard
+Three
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" usebox="none" special="c">
+\begin_inset Text
+
+\begin_layout Standard
+Four
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" usebox="none" special="c">
+\begin_inset Text
+
+\begin_layout Standard
+Five
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+one
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+two
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" topline="true" usebox="none" special="c">
+\begin_inset Text
+
+\begin_layout Standard
+three
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" topline="true" usebox="none" special="c">
+\begin_inset Text
+
+\begin_layout Standard
+four
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" topline="true" usebox="none" special="c">
+\begin_inset Text
+
+\begin_layout Standard
+five
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+He
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+2
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="decimal" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+2.77234
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="decimal" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+45672.
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="decimal" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+0.69
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+C
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+C
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="decimal" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+12537.64
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="decimal" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+37.66345
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="decimal" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+86.37
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Section
+Macros
+\end_layout
+
+\begin_layout Standard
+LyX supports several kinds of macros: def
+\begin_inset FormulaMacro
+\def\macroa #1{a #1 a}
\end_inset
global def
\end_layout
\begin_layout Subsection
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-LyX
-\end_layout
-
-\end_inset
-
- line
+LyX line
\end_layout
\begin_layout Standard
\end_layout
\begin_layout Subsection
-rules
+Rules
+\end_layout
+
+\begin_layout Standard
+test
+\end_layout
+
+\begin_layout Standard
+
+\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
\begin_inset script superscript
-\begin_layout Standard
+\begin_layout Plain Layout
Wow
\end_layout
\begin_inset IPA
\begin_layout Standard
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-\backslash
-r{e}
-\end_layout
-
-\end_inset
-
- e̬ e̤ e˷ e̼ e̪ e̺ e̻ e
+e̥ e̊ e̬ e̤ ḛ e̼ e̪ e̺ e̻ e
\begin_inset script superscript
-\begin_layout Standard
+\begin_layout Plain Layout
h
\end_layout
\end_inset
- e̹ e̜ e̟
-\begin_inset ERT
-status collapsed
+ e̹ e̜ e̟ e̠ (don't mix up with e̱) ë e̽ e̩ e̩ e̯ e˞e
+\begin_inset script superscript
\begin_layout Plain Layout
-
-\backslash
-={*}
+w
\end_layout
\end_inset
-
-\begin_inset ERT
-status collapsed
+ e
+\begin_inset script superscript
\begin_layout Plain Layout
-{
+j
\end_layout
\end_inset
-e
-\begin_inset ERT
-status collapsed
+ e
+\begin_inset script superscript
\begin_layout Plain Layout
-}
+ɣ
\end_layout
\end_inset
-
-\begin_inset ERT
-status collapsed
+ e
+\begin_inset script superscript
\begin_layout Plain Layout
-
-\backslash
-b{e}
+ʕ
\end_layout
\end_inset
- ë e̽
-\begin_inset ERT
-status collapsed
+ e̴ e̝ e̞ e̘ e̙ ẽ e
+\begin_inset script superscript
\begin_layout Plain Layout
-
-\backslash
-s
+n
\end_layout
\end_inset
-
-\begin_inset ERT
-status collapsed
+ e
+\begin_inset script superscript
\begin_layout Plain Layout
-{
+l
\end_layout
\end_inset
-e
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-}
+ e˺ e̋
\end_layout
-\end_inset
-
- e̩ e̯ e˞e
-\begin_inset script superscript
-
\begin_layout Standard
-w
+è ē é ȅ ě ê e᷄ e᷅ e᷈ ĕ
\end_layout
\end_inset
- e
-\begin_inset script superscript
-\begin_layout Standard
-j
\end_layout
-\end_inset
-
- e
-\begin_inset script superscript
-
\begin_layout Standard
-ɣ
-\end_layout
-
-\end_inset
- e
-\begin_inset script superscript
+\begin_inset IPA
\begin_layout Standard
-ʕ
-\end_layout
-
-\end_inset
+pbtd
+\begin_inset ERT
+status collapsed
- e̴ e̝ e̞ e̘ e̙ ẽ e
-\begin_inset script superscript
+\begin_layout Plain Layout
-\begin_layout Standard
-n
+\backslash
+:
\end_layout
\end_inset
- e
-\begin_inset script superscript
+t
+\begin_inset ERT
+status collapsed
-\begin_layout Standard
-l
+\begin_layout Plain Layout
+
+\backslash
+:
\end_layout
\end_inset
- e˺
+dcɟkɡq
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
-H{e}
+;
\end_layout
\end_inset
-
-\end_layout
-
-\begin_layout Standard
-è ē é eȅ ě ê e᷄ e᷅ e᷈ ĕ
+G
\end_layout
\end_inset
+
+\begin_inset IPA
+
+\begin_layout Standard
+PmMn
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+\backslash
+:
\end_layout
-\begin_layout Standard
+\end_inset
-\begin_inset IPA
+nɲN
+\begin_inset ERT
+status collapsed
-\begin_layout Standard
-pbtd t dcɟkɡq G
+\begin_layout Plain Layout
+
+\backslash
+;
\end_layout
\end_inset
-
-\begin_inset IPA
+N
+\begin_inset ERT
+status collapsed
-\begin_layout Standard
-PmMn nɲN N Br RR
+\begin_layout Plain Layout
+
+\backslash
+;
\end_layout
\end_inset
-
-\begin_inset IPA
+Br
+\begin_inset ERT
+status collapsed
-\begin_layout Standard
- rFBfvTDszSZ s
+\begin_layout Plain Layout
+
+\backslash
+;
\end_layout
\end_inset
-
-\begin_inset IPA
-
-\begin_layout Standard
- zçJxGXKħQhHɬ
+RR
\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
-r Rhɰl lL L
+rFBfvTDszSZ
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+:
\end_layout
\end_inset
-
+s
\end_layout
-\begin_layout Standard
+\end_inset
+
\begin_inset IPA
\begin_layout Standard
\begin_layout Plain Layout
\backslash
-!
+:
\end_layout
\end_inset
-o|!ǂ||
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-\backslash
-!
+zçJxGXKħQhHɬ
\end_layout
\end_inset
-b
+
+\begin_inset IPA
+
+\begin_layout Standard
+ɮVɹ
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
-!
+:
\end_layout
\end_inset
-d
+Rhɰl
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
-!
+:
\end_layout
\end_inset
-j
+lL
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
-!
+;
\end_layout
\end_inset
-g
-\begin_inset ERT
-status collapsed
+L
+\end_layout
+
+\end_inset
-\begin_layout Plain Layout
-\backslash
-!
\end_layout
-\end_inset
+\begin_layout Standard
+
+\begin_inset IPA
-Ge'
+\begin_layout Standard
+ʘ|!ǂ||ɓɗʄɠʛe'
\end_layout
\end_inset
\color red
uIY
\color inherit
-Ueø987o@E\9c3ɞ2Oæ5aɶA6
+Ueø987o@Eœ3ɞ2Oæ5aɶA6
\end_layout
\end_inset
\begin_inset IPA
\begin_layout Standard
-
+ʍw4
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
-*
+;
\end_layout
\end_inset
-ww4 HʢʡCʑɺɧ
+HʢʡCʑɺɧ
\begin_inset IPADeco toptiebar
status open
\begin_inset IPA
\begin_layout Standard
-:;eˈˌ
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
+:;eˈˌ|‖.
+\begin_inset IPADeco bottomtiebar
+status open
-\backslash
-textvertline
+\begin_layout Standard
+
\end_layout
\end_inset
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-{}
\end_layout
\end_inset
-\begin_inset ERT
-status collapsed
+\end_layout
-\begin_layout Plain Layout
+\begin_layout Standard
-\backslash
-textdoublevertline
+\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
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-{}
\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
-.
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-\backslash
-t{*}
\end_layout
-\end_inset
-
+\begin_layout Subsection
+Other symbols
+\end_layout
+\begin_layout Standard
+All three should be converted to U+00C5:
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-{
+
+\backslash
+AA
\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}
-↗
+ Å Å (not U+212B). All three should be converted to U+00E5:
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
-textglobfall
+aa
\end_layout
\end_inset
\end_inset
-
-\end_layout
-
-\end_inset
-
-
+ å å.
\end_layout
\begin_layout Subsection
\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
-
-
+There are even newlines with weird arguments, but these are not handled by LyX
\begin_inset ERT
status collapsed
\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 Plain Layout
-LaTeX
-\end_layout
-
-\end_inset
-
- wants to espace because they are active, like _&#${}%.
+, \SpecialChar breakableslash
+, \SpecialChar nobreakdash
+ and the characters that LaTeX 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 Plain Layout
-LyX
-\end_layout
-
-\end_inset
-
- also supports a menu separator\SpecialChar \menuseparator
-and a spif\SpecialChar \textcompwordmark{}
+And what about special characters like hyphe\SpecialChar softhyphen
+nation mark, ellipsis\SpecialChar ldots
+, and end-of-sentence\SpecialChar endofsentence
+ LyX also supports a menu separator\SpecialChar menuseparator
+and a spif\SpecialChar ligaturebreak
fy ligature break.
\end_layout
\begin_layout Standard
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-LyX
-\end_layout
-
-\end_inset
-
- translates the phrases
+There are dashes: endash in short form – and long form –, emdash is alike: — and —. If we really want several hyphens in a row, we need to separate them: -
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-LyX
+{}
\end_layout
\end_inset
-,
+-, -
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-TeX
+{}
\end_layout
\end_inset
-,
+-
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-LaTeX
+{}
\end_layout
\end_inset
-2e and
+-, -
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-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 Plain Layout
-LyX
+{}
\end_layout
\end_inset
- or a
+-
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-TeX
+{}
\end_layout
\end_inset
- or
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-LaTeX
+- etc.
\end_layout
-\end_inset
-
-3) they should not be put into ERT.
+\begin_layout Standard
+LyX translates the phrases LyX, TeX, LaTeX2e and LaTeX to the commands \SpecialChar LyX
+, \SpecialChar TeX
+, \SpecialChar LaTeX2e
+ and \SpecialChar LaTeX
+. If these phrases occur as part of other words (like 1LyX or aTeX or LaTeX3) they should not be put into ERT.
\end_layout
\begin_layout Standard
% and another
\end_layout
+\begin_layout Plain Layout
+
+\end_layout
+
\end_inset
A sub
\begin_inset script subscript
-\begin_layout Standard
+\begin_layout Plain Layout
sc
\emph on
ript
and super
\begin_inset script superscript
-\begin_layout Standard
+\begin_layout Plain Layout
script with
\begin_inset Formula $a^2+b^2=c^2$
\end_inset
.
\end_layout
+\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
.
\end_layout
+\begin_layout Standard
+
+\begin_inset Formula \[
+\begin{array}{rclccc}
+1 + 2 & = & 3
+\multicolumn{3}{c}{4 < 5 \leq 6 }
+\end{array}
+\]
+\end_inset
+
+
+\end_layout
+
\begin_layout Section
Lists/Indices
\end_layout
\begin_inset CommandInset index_print
LatexCommand printindex
type "idx"
+literal "true"
\end_inset
\end_layout
\begin_layout Standard
-index "idx":
+index
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+"
+\end_layout
+
+\end_inset
+
+idx
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+"
+\end_layout
+
+\end_inset
+
+:
\end_layout
\begin_layout Standard
\begin_inset CommandInset index_print
LatexCommand printindex
type "idx"
+literal "true"
\end_inset
\end_layout
\begin_layout Standard
-index "new":
+index
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+"
+\end_layout
+
+\end_inset
+
+new
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+"
+\end_layout
+
+\end_inset
+
+:
\end_layout
\begin_layout Standard
\begin_inset CommandInset index_print
LatexCommand printindex
type "new"
+literal "true"
\end_inset
\end_layout
\begin_layout Standard
-subindex "new":
+subindex
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+"
+\end_layout
+
+\end_inset
+
+new
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+"
+\end_layout
+
+\end_inset
+
+:
\end_layout
\begin_layout Standard
\begin_inset CommandInset index_print
LatexCommand printsubindex
type "idx"
+literal "true"
\end_inset