]> git.lyx.org Git - lyx.git/blobdiff - src/tex2lyx/test/test-insets.lyx.lyx
Some new quote styles
[lyx.git] / src / tex2lyx / test / test-insets.lyx.lyx
index 1013460bd70ba3bff2b5b2dbdd59afcb787c16f0..12d1e4b5dac1b8d6d4e97267bcfb1c7911b9a15b 100644 (file)
@@ -1,10 +1,18 @@
-#LyX file created by tex2lyx 2.1.0dev
-\lyxformat 462
+#LyX file created by tex2lyx 2.3
+\lyxformat 519
 \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_sf_scale 100 100
+\font_tt_scale 100 100
+\use_microtype 0
 \graphics default
 \default_output_format default
 \output_sync 0
@@ -33,7 +42,7 @@
 \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
+\pdf_pdfusetitle 0
 \papersize a4paper
 \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
@@ -78,7 +88,7 @@
 \tocdepth 3
 \paragraph_separation indent
 \paragraph_indentation 3mm
-\quotes_language english
+\quotes_style english
 \papercolumns 1
 \papersides 1
 \paperpagestyle default
@@ -104,6 +114,10 @@ status collapsed
 %stupid stuff
 \end_layout
 
+\begin_layout Plain Layout
+
+\end_layout
+
 \end_inset
 
 
@@ -245,7 +259,51 @@ reference "lab:test"
 
 \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
+
+\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
@@ -587,6 +645,10 @@ status collapsed
 bibliography since LaTeX throws an error.
 \end_layout
 
+\begin_layout Plain Layout
+
+\end_layout
+
 \end_inset
 
 
@@ -599,6 +661,10 @@ status collapsed
 bibliographystyle{unsrt}
 \end_layout
 
+\begin_layout Plain Layout
+
+\end_layout
+
 \end_inset
 
 
@@ -646,6 +712,28 @@ key "gur+04"
 
 \begin_layout Bibliography
 
+\begin_inset CommandInset bibitem
+LatexCommand bibitem
+label "Möstl et~al.(2010)"
+key "Mostl2010"
+
+\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)}"
@@ -685,7 +773,7 @@ We can input files too, like this
 \begin_inset CommandInset include
 LatexCommand input
 preview false
-filename "DummyDocument.lyx"
+filename "DummyDocument.lyx.lyx"
 
 \end_inset
 
@@ -693,7 +781,7 @@ filename "DummyDocument.lyx"
 \begin_inset CommandInset include
 LatexCommand include
 preview false
-filename "Dummy Document.lyx"
+filename "Dummy Document.tex"
 
 \end_inset
 
@@ -701,7 +789,7 @@ filename "Dummy Document.lyx"
 \begin_inset CommandInset include
 LatexCommand include
 preview false
-filename "Dummy Document.lyx"
+filename "Dummy Document.tex"
 
 \end_inset
 
@@ -709,7 +797,7 @@ filename "Dummy Document.lyx"
 \begin_inset CommandInset include
 LatexCommand include
 preview false
-filename "Dummy~Document.lyx"
+filename "Dummy~Document.lyx.lyx"
 
 \end_inset
 
@@ -717,11 +805,11 @@ filename "Dummy~Document.lyx"
 \begin_inset CommandInset include
 LatexCommand include
 preview false
-filename "Dummy~Document.lyx"
+filename "Dummy~Document.lyx.lyx"
 
 \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
@@ -871,6 +959,20 @@ description "uniform resource locator"
 \end_inset
 
 
+\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
@@ -1306,7 +1408,7 @@ clearpage}
 \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}@{*}">
@@ -1339,11 +1441,12 @@ kill
  
 \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
@@ -1420,11 +1523,12 @@ Second
 
 \begin_inset Caption Standard
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \begin_inset Argument 1
 status collapsed
 
+
 \end_inset
 
 (continued)
@@ -1484,11 +1588,36 @@ Second
 
 \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
@@ -1497,13 +1626,38 @@ This goes at the
 
 \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>
@@ -2981,7 +3135,8 @@ 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
@@ -3308,17 +3463,7 @@ like this.
 \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">
@@ -3332,7 +3477,7 @@ LyX
 
 \begin_inset Caption Standard
 
-\begin_layout Standard
+\begin_layout Plain Layout
 A long table
 \end_layout
 
@@ -3357,8 +3502,8 @@ A long table
 
 \begin_inset Caption Standard
 
-\begin_layout Standard
-A long table -- continued
+\begin_layout Plain Layout
+A long table  continued
 \end_layout
 
 \end_inset
@@ -4270,6 +4415,10 @@ status collapsed
 % some comment
 \end_layout
 
+\begin_layout Plain Layout
+
+\end_layout
+
 \end_inset
 
 
@@ -4338,7 +4487,7 @@ status open
 
 \begin_inset Caption Standard
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \begin_inset CommandInset label
 LatexCommand label
@@ -4851,225 +5000,333 @@ in % of pixel size
 
 \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
-\end_layout
 
-\end_inset
+\begin_layout Standard
 
- supports several kinds of macros: def 
-\begin_inset FormulaMacro
-\def\macroa #1{a #1 a}
-\end_inset
+\begin_inset Tabular 
+<lyxtabular version="3" rows="4" columns="5">
+<features rotate="0" 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
 
- global def 
-\begin_inset FormulaMacro
-\def\macrob #1{b #1 b}
-\end_inset
+\begin_layout Standard
+One
+\end_layout
 
- long def 
-\begin_inset FormulaMacro
-\def\macroc #1{c #1 c}
 \end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+Two
+\end_layout
 
- global long def 
-\begin_inset FormulaMacro
-\def\macrod #1{d #1 d}
 \end_inset
+</cell>
+<cell multicolumn="1" alignment="none" valignment="top" usebox="none" special="c">
+\begin_inset Text
 
- providecommand 
-\begin_inset ERT
-status collapsed
+\begin_layout Standard
 
-\begin_layout Plain Layout
+\family roman
+Three
+\family default
 
-\backslash
-providecommand{
-\backslash
-macroe}[1]{e #1 e}
 \end_layout
 
 \end_inset
+</cell>
+<cell multicolumn="1" alignment="none" valignment="top" usebox="none" special="c">
+\begin_inset Text
 
- providecommand* 
-\begin_inset ERT
-status collapsed
+\begin_layout Standard
 
-\begin_layout Plain Layout
+\family roman
+Four
+\family default
 
-\backslash
-providecommand*{
-\backslash
-macrof}[1]{f #1 f}
 \end_layout
 
 \end_inset
+</cell>
+<cell multicolumn="1" alignment="none" valignment="top" usebox="none" special="c">
+\begin_inset Text
 
- newcommand 
-\begin_inset FormulaMacro
-\newcommand{\macrog}[1]{g #1 g}
-\end_inset
-
- renewcommand 
-\begin_inset FormulaMacro
-\renewcommand{\macrog}[1]{h #1 h}
-\end_inset
-
- newcommand* 
-\begin_inset ERT
-status collapsed
+\begin_layout Standard
 
-\begin_layout Plain Layout
+\family roman
+Five
+\family default
 
-\backslash
-newcommand*{
-\backslash
-macroi}[1]{i #1 i}
 \end_layout
 
 \end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
 
- renewcommand* 
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-\backslash
-renewcommand*{
-\backslash
-macroi}[1]{j #1 j}
+\begin_layout Standard
+one
 \end_layout
 
 \end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
 
- providecommandx 
-\begin_inset ERT
-status collapsed
+\begin_layout Standard
+two
+\end_layout
 
-\begin_layout Plain Layout
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" topline="true" usebox="none">
+\begin_inset Text
 
-\backslash
-providecommandx{
-\backslash
-macrok}[1]{k #1 k}
+\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
 
- providecommandx* 
-\begin_inset ERT
-status collapsed
 
-\begin_layout Plain Layout
+\end_layout
 
-\backslash
-providecommandx*{
-\backslash
-macrok}[1]{l #1 l}
+\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
 
- newcommandx 
-\begin_inset FormulaMacro
-\newcommandx{\macrom}[1]{m #1 m}
+
+\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
 
- renewcommandx 
-\begin_inset FormulaMacro
-\renewcommandx{\macrom}[1]{n #1 n}
 \end_inset
 
- newcommandx* 
-\begin_inset ERT
-status collapsed
 
-\begin_layout Plain Layout
+\end_layout
 
-\backslash
-newcommandx*{
-\backslash
-macroo}[1]{o #1 o}
+\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
 
- renewcommandx* 
-\begin_inset ERT
-status collapsed
+\begin_layout Standard
+2
+\end_layout
 
-\begin_layout Plain Layout
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
 
-\backslash
-renewcommandx*{
-\backslash
-macroo}[1]{p #1 p}
+\begin_layout Standard
+2.77234 
 \end_layout
 
 \end_inset
+</cell>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
 
- DeclareRobustCommand 
-\begin_inset ERT
-status collapsed
+\begin_layout Standard
+45672. 
+\end_layout
 
-\begin_layout Plain Layout
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
 
-\backslash
-DeclareRobustCommand{
-\backslash
-macroq}[1]{q #1 q}
+\begin_layout Standard
+0.69 
 \end_layout
 
 \end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
 
- DeclareRobustCommand* 
-\begin_inset ERT
+\begin_layout Standard
+C
+\begin_inset Foot
 status collapsed
 
-\begin_layout Plain Layout
 
-\backslash
-DeclareRobustCommand*{
-\backslash
-macror}[1]{r #1 r}
+\begin_layout Standard
+Some tables require footnotes.
 \end_layout
 
 \end_inset
 
- DeclareRobustCommandx 
-\begin_inset ERT
+\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 Plain Layout
 
-\backslash
-DeclareRobustCommandx{
-\backslash
-macros}[1]{s #1 s}
+\begin_layout Standard
+Some tables need more than one footnote.
 \end_layout
 
 \end_inset
 
- DeclareRobustCommandx* 
-\begin_inset ERT
-status collapsed
+\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
 
-\begin_layout Plain Layout
 
-\backslash
-DeclareRobustCommandx*{
-\backslash
-macrot}[1]{t #1 t}
 \end_layout
 
 \end_inset
@@ -5078,342 +5335,519 @@ macrot}[1]{t #1 t}
 \end_layout
 
 \begin_layout Standard
-Now use them all: 
-\begin_inset ERT
-status collapsed
+A table using decimal alignment:
+\end_layout
 
-\begin_layout Plain Layout
+\begin_layout Standard
 
-\backslash
-macroa
+\begin_inset Float table
+wide false
+sideways false
+status open
+
+
+\begin_layout Standard
+
+\begin_inset Tabular 
+<lyxtabular version="3" rows="4" columns="8">
+<features rotate="0" tabularvalignment="middle" tabularwidth="0pt">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="right" valignment="top">
+<column alignment="none" valignment="top" special="@{\extracolsep{0pt}.}l">
+<column alignment="right" valignment="top">
+<column alignment="none" valignment="top" special="@{\extracolsep{0pt}.}l">
+<column alignment="right" valignment="top">
+<column alignment="none" valignment="top" special="@{\extracolsep{0pt}.}l">
+<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
 
-\begin_inset ERT
-status collapsed
+\end_inset
+</cell>
+<cell multicolumn="1" alignment="none" valignment="top" usebox="none" special="c">
+\begin_inset Text
 
-\begin_layout Plain Layout
-{
+\begin_layout Standard
+Three
 \end_layout
 
 \end_inset
+</cell>
+<cell multicolumn="2" alignment="center" valignment="top" usebox="none">
+\begin_inset Text
 
-x
-\begin_inset ERT
-status collapsed
+\end_inset
+</cell>
+<cell multicolumn="1" alignment="none" valignment="top" usebox="none" special="c">
+\begin_inset Text
 
-\begin_layout Plain Layout
-}
+\begin_layout Standard
+Four
 \end_layout
 
 \end_inset
+</cell>
+<cell multicolumn="2" alignment="center" valignment="top" usebox="none">
+\begin_inset Text
 
-\begin_inset ERT
-status collapsed
+\end_inset
+</cell>
+<cell multicolumn="1" alignment="none" valignment="top" usebox="none" special="c">
+\begin_inset Text
 
-\begin_layout Plain Layout
+\begin_layout Standard
+Five
+\end_layout
 
-\backslash
-macrob
+\end_inset
+</cell>
+<cell multicolumn="2" alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\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
 
-\begin_inset ERT
-status collapsed
+\end_inset
+</cell>
+<cell multicolumn="1" alignment="none" valignment="top" topline="true" usebox="none" special="c">
+\begin_inset Text
 
-\begin_layout Plain Layout
-{
+\begin_layout Standard
+three
 \end_layout
 
 \end_inset
+</cell>
+<cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
 
-x
-\begin_inset ERT
-status collapsed
+\end_inset
+</cell>
+<cell multicolumn="1" alignment="none" valignment="top" topline="true" usebox="none" special="c">
+\begin_inset Text
 
-\begin_layout Plain Layout
-}
+\begin_layout Standard
+four
 \end_layout
 
 \end_inset
+</cell>
+<cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
 
-\begin_inset ERT
-status collapsed
+\end_inset
+</cell>
+<cell multicolumn="1" alignment="none" valignment="top" topline="true" usebox="none" special="c">
+\begin_inset Text
 
-\begin_layout Plain Layout
+\begin_layout Standard
+five
+\end_layout
 
-\backslash
-macroc
+\end_inset
+</cell>
+<cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+He 
 \end_layout
 
 \end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
 
+\begin_layout Standard
+2 
+\end_layout
 
-\begin_inset ERT
-status collapsed
+\end_inset
+</cell>
+<cell alignment="right" valignment="top" usebox="none">
+\begin_inset Text
 
-\begin_layout Plain Layout
-{
+\begin_layout Standard
+2
 \end_layout
 
 \end_inset
+</cell>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
 
-x
-\begin_inset ERT
-status collapsed
+\begin_layout Standard
+77234 
+\end_layout
 
-\begin_layout Plain Layout
-}
+\end_inset
+</cell>
+<cell alignment="right" 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_inset ERT
-status collapsed
+\end_inset
+</cell>
+<cell alignment="right" valignment="top" usebox="none">
+\begin_inset Text
 
-\begin_layout Plain Layout
+\begin_layout Standard
+0
+\end_layout
 
-\backslash
-macrod
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+69 
 \end_layout
 
 \end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
 
+\begin_layout Standard
+C 
+\end_layout
 
-\begin_inset ERT
-status collapsed
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
 
-\begin_layout Plain Layout
-{
+\begin_layout Standard
+C 
 \end_layout
 
 \end_inset
+</cell>
+<cell alignment="right" valignment="top" usebox="none">
+\begin_inset Text
 
-x
-\begin_inset ERT
-status collapsed
+\begin_layout Standard
+12537
+\end_layout
 
-\begin_layout Plain Layout
-}
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+64 
 \end_layout
 
 \end_inset
+</cell>
+<cell alignment="right" valignment="top" usebox="none">
+\begin_inset Text
 
-\begin_inset ERT
-status collapsed
+\begin_layout Standard
+37
+\end_layout
 
-\begin_layout Plain Layout
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
 
-\backslash
-macroe{
+\begin_layout Standard
+66345 
 \end_layout
 
 \end_inset
+</cell>
+<cell alignment="right" valignment="top" usebox="none">
+\begin_inset Text
 
-x
-\begin_inset ERT
-status collapsed
+\begin_layout Standard
+86
+\end_layout
 
-\begin_layout Plain Layout
-}
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+37 
 \end_layout
 
 \end_inset
+</cell>
+</row>
+</lyxtabular>
 
-\begin_inset ERT
-status collapsed
+\end_inset
+
+
+\end_layout
+
+\end_inset
 
-\begin_layout Plain Layout
 
-\backslash
-macrof{
 \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 
+\begin_inset FormulaMacro
+\def\macrob #1{b #1 b}
+\end_inset
+
+ long def 
+\begin_inset FormulaMacro
+\def\macroc #1{c #1 c}
+\end_inset
+
+ global long def 
+\begin_inset FormulaMacro
+\def\macrod #1{d #1 d}
 \end_inset
 
-x
+ providecommand 
 \begin_inset ERT
 status collapsed
 
 \begin_layout Plain Layout
-}
+
+\backslash
+providecommand{
+\backslash
+macroe}[1]{e #1 e}
 \end_layout
 
 \end_inset
 
+ providecommand* 
 \begin_inset ERT
 status collapsed
 
 \begin_layout Plain Layout
 
 \backslash
-macrog{
+providecommand*{
+\backslash
+macrof}[1]{f #1 f}
 \end_layout
 
 \end_inset
 
-x
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-}
-\end_layout
+ newcommand 
+\begin_inset FormulaMacro
+\newcommand{\macrog}[1]{g #1 g}
+\end_inset
 
+ renewcommand 
+\begin_inset FormulaMacro
+\renewcommand{\macrog}[1]{h #1 h}
 \end_inset
 
+ newcommand* 
 \begin_inset ERT
 status collapsed
 
 \begin_layout Plain Layout
 
 \backslash
-macroi{
-\end_layout
-
-\end_inset
-
-x
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-}
+newcommand*{
+\backslash
+macroi}[1]{i #1 i}
 \end_layout
 
 \end_inset
 
+ renewcommand* 
 \begin_inset ERT
 status collapsed
 
 \begin_layout Plain Layout
 
 \backslash
-macrok{
+renewcommand*{
+\backslash
+macroi}[1]{j #1 j}
 \end_layout
 
 \end_inset
 
-x
+ providecommandx 
 \begin_inset ERT
 status collapsed
 
 \begin_layout Plain Layout
-}
+
+\backslash
+providecommandx{
+\backslash
+macrok}[1]{k #1 k}
 \end_layout
 
 \end_inset
 
+ providecommandx* 
 \begin_inset ERT
 status collapsed
 
 \begin_layout Plain Layout
 
 \backslash
-macrom{
+providecommandx*{
+\backslash
+macrok}[1]{l #1 l}
 \end_layout
 
 \end_inset
 
-x
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-}
-\end_layout
+ newcommandx 
+\begin_inset FormulaMacro
+\newcommandx{\macrom}[1]{m #1 m}
+\end_inset
 
+ renewcommandx 
+\begin_inset FormulaMacro
+\renewcommandx{\macrom}[1]{n #1 n}
 \end_inset
 
+ newcommandx* 
 \begin_inset ERT
 status collapsed
 
 \begin_layout Plain Layout
 
 \backslash
-macroo{
+newcommandx*{
+\backslash
+macroo}[1]{o #1 o}
 \end_layout
 
 \end_inset
 
-x
+ renewcommandx* 
 \begin_inset ERT
 status collapsed
 
 \begin_layout Plain Layout
-}
+
+\backslash
+renewcommandx*{
+\backslash
+macroo}[1]{p #1 p}
 \end_layout
 
 \end_inset
 
+ DeclareRobustCommand 
 \begin_inset ERT
 status collapsed
 
 \begin_layout Plain Layout
 
 \backslash
-macroq{
+DeclareRobustCommand{
+\backslash
+macroq}[1]{q #1 q}
 \end_layout
 
 \end_inset
 
-x
+ DeclareRobustCommand* 
 \begin_inset ERT
 status collapsed
 
 \begin_layout Plain Layout
-}
+
+\backslash
+DeclareRobustCommand*{
+\backslash
+macror}[1]{r #1 r}
 \end_layout
 
 \end_inset
 
+ DeclareRobustCommandx 
 \begin_inset ERT
 status collapsed
 
 \begin_layout Plain Layout
 
 \backslash
-macror{
+DeclareRobustCommandx{
+\backslash
+macros}[1]{s #1 s}
 \end_layout
 
 \end_inset
 
-x
+ DeclareRobustCommandx* 
 \begin_inset ERT
 status collapsed
 
 \begin_layout Plain Layout
-}
-\end_layout
-
-\end_inset
-
- The following tow don't work, but they should??? 
-\begin_inset ERT
-status collapsed
 
-\begin_layout Plain Layout
-%
 \backslash
-macros{x} 
+DeclareRobustCommandx*{
 \backslash
-macrot{x}
+macrot}[1]{t #1 t}
 \end_layout
 
 \end_inset
@@ -5421,328 +5855,280 @@ macrot{x}
 
 \end_layout
 
-\begin_layout Section
-Special formattings
-\begin_inset Index idx
+\begin_layout Standard
+Now use them all: 
+\begin_inset ERT
 status collapsed
 
 \begin_layout Plain Layout
-Special formattings
+
+\backslash
+macroa
 \end_layout
 
 \end_inset
 
 
-\end_layout
-
-\begin_layout Subsection
-
 \begin_inset ERT
 status collapsed
 
 \begin_layout Plain Layout
-LyX
+{
 \end_layout
 
 \end_inset
 
- line
-\end_layout
-
-\begin_layout Standard
-test
-\end_layout
-
-\begin_layout Standard
-
-\size tiny
+x
+\begin_inset ERT
+status collapsed
 
+\begin_layout Plain Layout
+}
 \end_layout
 
-\begin_layout Standard
-\noindent
-
-\size tiny
-
-\begin_inset CommandInset line
-LatexCommand rule
-offset "0.5ex"
-width "100line%"
-height "1pt"
-
 \end_inset
 
-
-\size default
-
-\size tiny
-
-\end_layout
-
-\begin_layout Standard
-test 
-\size giant
-Test
-\size default
  
-\size tiny
-test
-\size default
- test
-\end_layout
-
-\begin_layout Standard
-\noindent
-
-\begin_inset CommandInset line
-LatexCommand rule
-offset "0.5ex"
-width "100line%"
-height "1pt"
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-test
-\end_layout
-
-\begin_layout Standard
+\begin_inset ERT
+status collapsed
 
-\size giant
+\begin_layout Plain Layout
 
+\backslash
+macrob
 \end_layout
 
-\begin_layout Standard
-\noindent
-
-\size giant
-
-\begin_inset CommandInset line
-LatexCommand rule
-offset "0.5ex"
-width "100line%"
-height "1pt"
-
 \end_inset
 
 
-\size default
-
-\size giant
-
-\end_layout
+\begin_inset ERT
+status collapsed
 
-\begin_layout Subsection
-rules
+\begin_layout Plain Layout
+{
 \end_layout
 
-\begin_layout Standard
-test
-\begin_inset CommandInset line
-LatexCommand rule
-offset "0.1text%"
-width "100col%"
-height "5theight%"
-
 \end_inset
 
+x
+\begin_inset ERT
+status collapsed
 
-\end_layout
-
-\begin_layout Standard
-test
-\end_layout
-
-\begin_layout Standard
-
-\begin_inset CommandInset line
-LatexCommand rule
-offset "0.5ex"
-width "100col%"
-height "1pt"
+\begin_layout Plain Layout
+}
+\end_layout
 
 \end_inset
 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
 
+\backslash
+macroc
 \end_layout
 
-\begin_layout Standard
-\noindent
+\end_inset
 
-\begin_inset CommandInset line
-LatexCommand rule
-width "1ex"
-height "0.5cc"
 
-\end_inset
+\begin_inset ERT
+status collapsed
 
-test
+\begin_layout Plain Layout
+{
 \end_layout
 
-\begin_layout Standard
+\end_inset
 
-\color red
+x
+\begin_inset ERT
+status collapsed
 
-\begin_inset CommandInset line
-LatexCommand rule
-offset "-4ex"
-width "5in"
-height "1cm"
+\begin_layout Plain Layout
+}
+\end_layout
 
 \end_inset
 
+\begin_inset ERT
+status collapsed
 
-\color inherit
+\begin_layout Plain Layout
 
+\backslash
+macrod
 \end_layout
 
-\begin_layout Subsection
-Phantoms
-\end_layout
+\end_inset
 
-\begin_layout Standard
-test
-\begin_inset Phantom Phantom
-status open
+
+\begin_inset ERT
+status collapsed
 
 \begin_layout Plain Layout
-Wow
+{
 \end_layout
 
 \end_inset
 
-test
-\end_layout
-
-\begin_layout Standard
-test
-\begin_inset Phantom HPhantom
-status open
+x
+\begin_inset ERT
+status collapsed
 
 \begin_layout Plain Layout
+}
+\end_layout
 
-\color green
-W
-\color inherit
+\end_inset
 
-\series bold
-ow
-\series default
+\begin_inset ERT
+status collapsed
 
-\begin_inset script superscript
+\begin_layout Plain Layout
 
-\begin_layout Standard
-Wow
+\backslash
+macroe{
 \end_layout
 
 \end_inset
 
+x
+\begin_inset ERT
+status collapsed
 
+\begin_layout Plain Layout
+}
 \end_layout
 
 \end_inset
 
-test
-\end_layout
-
-\begin_layout Standard
-test
-\begin_inset Phantom VPhantom
-status open
+\begin_inset ERT
+status collapsed
 
 \begin_layout Plain Layout
-Wow
+
 \backslash
-&%
+macrof{
 \end_layout
 
 \end_inset
 
-test
-\end_layout
+x
+\begin_inset ERT
+status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
+}
+\end_layout
 
-\begin_inset Formula $test\hphantom{Wow}test$
 \end_inset
 
+\begin_inset ERT
+status collapsed
 
-\end_layout
+\begin_layout Plain Layout
 
-\begin_layout Standard
+\backslash
+macrog{
+\end_layout
 
-\begin_inset Formula \[
-test\phantom{\textcolor{green}{W}\mathbf{ow}\textsuperscript{Wow}}test
-\]
 \end_inset
 
+x
+\begin_inset ERT
+status collapsed
 
+\begin_layout Plain Layout
+}
 \end_layout
 
-\begin_layout Standard
-
-\begin_inset Formula $test\vphantom{Wow\&\%}test$
 \end_inset
 
+\begin_inset ERT
+status collapsed
 
-\end_layout
+\begin_layout Plain Layout
 
-\begin_layout Subsection
-TIPA
+\backslash
+macroi{
 \end_layout
 
-\begin_layout Standard
+\end_inset
 
-\begin_inset IPA
+x
+\begin_inset ERT
+status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
+}
+\end_layout
+
+\end_inset
 
 \begin_inset ERT
 status collapsed
 
 \begin_layout Plain Layout
 
 \backslash
-r{e}
+macrok{
 \end_layout
 
 \end_inset
 
- e̬ e̤ e˷ e̼ e̪ e̺ e̻ e
-\begin_inset script superscript
+x
+\begin_inset ERT
+status collapsed
 
-\begin_layout Standard
-h
+\begin_layout Plain Layout
+}
 \end_layout
 
 \end_inset
 
- e̹ e̜ e̟ 
 \begin_inset ERT
 status collapsed
 
 \begin_layout Plain Layout
 
 \backslash
-={*}
+macrom{
 \end_layout
 
 \end_inset
 
+x
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+}
+\end_layout
+
+\end_inset
 
 \begin_inset ERT
 status collapsed
 
 \begin_layout Plain Layout
-{
+
+\backslash
+macroo{
 \end_layout
 
 \end_inset
 
-e
+x
 \begin_inset ERT
 status collapsed
 
@@ -5759,34 +6145,34 @@ status collapsed
 \begin_layout Plain Layout
 
 \backslash
-b{e}
+macroq{
 \end_layout
 
 \end_inset
 
- ë e̽ 
+x
 \begin_inset ERT
 status collapsed
 
 \begin_layout Plain Layout
-
-\backslash
-s
+}
 \end_layout
 
 \end_inset
 
-
 \begin_inset ERT
 status collapsed
 
 \begin_layout Plain Layout
-{
+
+\backslash
+macror{
 \end_layout
 
 \end_inset
 
-e
+x
 \begin_inset ERT
 status collapsed
 
@@ -5796,139 +6182,161 @@ status collapsed
 
 \end_inset
 
- e̩ e̯ e˞e
-\begin_inset script superscript
+ The following tow don't work, but they should??? 
+\begin_inset ERT
+status collapsed
 
-\begin_layout Standard
-w
+\begin_layout Plain Layout
+%
+\backslash
+macros{x} 
+\backslash
+macrot{x}
 \end_layout
 
 \end_inset
 
- e
-\begin_inset script superscript
 
-\begin_layout Standard
-j
 \end_layout
 
-\end_inset
-
- e
-\begin_inset script superscript
+\begin_layout Section
+Special formattings
+\begin_inset Index idx
+status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
+Special formattings
 \end_layout
 
 \end_inset
 
- e
-\begin_inset script superscript
 
-\begin_layout Standard
 \end_layout
 
-\end_inset
-
- e̴ e̝ e̞ e̘ e̙ ẽ e
-\begin_inset script superscript
+\begin_layout Subsection
+LyX line
+\end_layout
 
 \begin_layout Standard
-n
+test
 \end_layout
 
-\end_inset
+\begin_layout Standard
 
- e
-\begin_inset script superscript
+\size tiny
 
-\begin_layout Standard
-l
 \end_layout
 
-\end_inset
+\begin_layout Standard
+\noindent
+
+\size tiny
+
+\begin_inset CommandInset line
+LatexCommand rule
+offset "0.5ex"
+width "100line%"
+height "1pt"
+
+\end_inset
+
+
+\size default
 
- e˺ 
-\begin_inset ERT
-status collapsed
+\size tiny
 
-\begin_layout Plain Layout
+\end_layout
 
-\backslash
-H{e}
+\begin_layout Standard
+test 
+\size giant
+Test
+\size default
+\size tiny
+test
+\size default
+ test
 \end_layout
 
+\begin_layout Standard
+\noindent
+
+\begin_inset CommandInset line
+LatexCommand rule
+offset "0.5ex"
+width "100line%"
+height "1pt"
+
 \end_inset
 
 
 \end_layout
 
 \begin_layout Standard
-è ē é eȅ ě ê e᷄ e᷅ e᷈ ĕ 
+test
 \end_layout
 
-\end_inset
+\begin_layout Standard
 
+\size giant
 
 \end_layout
 
 \begin_layout Standard
+\noindent
 
-\begin_inset IPA
+\size giant
 
-\begin_layout Standard
-pbtd t dcɟkɡq G
-\end_layout
+\begin_inset CommandInset line
+LatexCommand rule
+offset "0.5ex"
+width "100line%"
+height "1pt"
 
 \end_inset
 
-\begin_inset IPA
 
-\begin_layout Standard
-PmMn nɲN N Br RR
-\end_layout
+\size default
 
-\end_inset
+\size giant
 
-\begin_inset IPA
+\end_layout
+
+\begin_layout Subsection
+Rules
+\end_layout
 
 \begin_layout Standard
- rFBfvTDszSZ s
+test
 \end_layout
 
-\end_inset
+\begin_layout Standard
 
-\begin_inset IPA
+\size tiny
 
-\begin_layout Standard
- zçJxGXKħQhHɬ
-\end_layout
+\begin_inset CommandInset line
+LatexCommand rule
+offset "0.5ex"
+width "100line%"
+height "1pt"
 
 \end_inset
 
-\begin_inset IPA
 
-\begin_layout Standard
-ɮV
-\begin_inset ERT
-status collapsed
+\size default
 
-\begin_layout Plain Layout
+\size tiny
 
-\backslash
-*
 \end_layout
 
-\end_inset
-
-r Rhɰl lL L
-\end_layout
+\begin_layout Standard
+test
+\begin_inset CommandInset line
+LatexCommand rule
+offset "0.1text%"
+width "100col%"
+height "5theight%"
 
 \end_inset
 
@@ -5936,100 +6344,89 @@ r Rhɰl lL L
 \end_layout
 
 \begin_layout Standard
-
-\begin_inset IPA
+test
+\end_layout
 
 \begin_layout Standard
 
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-\backslash
-!
-\end_layout
+\begin_inset CommandInset line
+LatexCommand rule
+offset "0.5ex"
+width "100col%"
+height "1pt"
 
 \end_inset
 
-o|!ǂ||
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
 
-\backslash
-!
 \end_layout
 
-\end_inset
+\begin_layout Standard
+\noindent
 
-b
-\begin_inset ERT
-status collapsed
+\begin_inset CommandInset line
+LatexCommand rule
+width "1ex"
+height "0.5cc"
 
-\begin_layout Plain Layout
+\end_inset
 
-\backslash
-!
+test
 \end_layout
 
-\end_inset
-
-d
-\begin_inset ERT
-status collapsed
+\begin_layout Standard
 
-\begin_layout Plain Layout
+\color red
 
-\backslash
-!
-\end_layout
+\begin_inset CommandInset line
+LatexCommand rule
+offset "-4ex"
+width "5in"
+height "1cm"
 
 \end_inset
 
-j
-\begin_inset ERT
-status collapsed
 
-\begin_layout Plain Layout
+\color inherit
 
-\backslash
-!
 \end_layout
 
-\end_inset
+\begin_layout Subsection
+Phantoms
+\end_layout
 
-g
-\begin_inset ERT
-status collapsed
+\begin_layout Standard
+test
+\begin_inset Phantom Phantom
+status open
 
 \begin_layout Plain Layout
-
-\backslash
-!
+Wow
 \end_layout
 
 \end_inset
 
-Ge'
+test
 \end_layout
 
-\end_inset
+\begin_layout Standard
+test
+\begin_inset Phantom HPhantom
+status open
 
+\begin_layout Plain Layout
 
-\end_layout
+\color green
+W
+\color inherit
 
-\begin_layout Standard
+\series bold
+ow
+\series default
 
-\begin_inset IPA
+\begin_inset script superscript
 
-\begin_layout Standard
-iy1ʉW
-\color red
-uIY
-\color inherit
-Ueø987o@E\9c3ɞ2Oæ5aɶA6
+\begin_layout Plain Layout
+Wow
 \end_layout
 
 \end_inset
@@ -6037,133 +6434,130 @@ Ueø987o@E\9c3ɞ2Oæ5aɶA6
 
 \end_layout
 
-\begin_layout Standard
+\end_inset
 
-\begin_inset IPA
+test
+\end_layout
 
 \begin_layout Standard
-
-\begin_inset ERT
-status collapsed
+test
+\begin_inset Phantom VPhantom
+status open
 
 \begin_layout Plain Layout
-
+Wow
 \backslash
-*
+&%
 \end_layout
 
 \end_inset
 
-ww4 HʢʡCʑɺɧ
-\begin_inset IPADeco toptiebar
-status open
+test
+\end_layout
 
 \begin_layout Standard
-ar
-\end_layout
 
+\begin_inset Formula $test\hphantom{Wow}test$
 \end_inset
 
 
-\begin_inset IPADeco bottomtiebar
-status open
+\end_layout
 
 \begin_layout Standard
-tz
-\end_layout
 
+\begin_inset Formula \[
+test\phantom{\textcolor{green}{W}\mathbf{ow}\textsuperscript{Wow}}test
+\]
 \end_inset
 
 
 \end_layout
 
+\begin_layout Standard
+
+\begin_inset Formula $test\vphantom{Wow\&\%}test$
 \end_inset
 
 
 \end_layout
 
+\begin_layout Subsection
+TIPA
+\end_layout
+
 \begin_layout Standard
 
 \begin_inset IPA
 
 \begin_layout Standard
-:;eˈˌ
-\begin_inset ERT
-status collapsed
+e̥ e̊ e̬ e̤ ḛ e̼ e̪ e̺ e̻ e
+\begin_inset script superscript
 
 \begin_layout Plain Layout
-
-\backslash
-textvertline
+h
 \end_layout
 
 \end_inset
 
-
-\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
-{}
+w
 \end_layout
 
 \end_inset
 
-
-\begin_inset ERT
-status collapsed
+ e
+\begin_inset script superscript
 
 \begin_layout Plain Layout
-
-\backslash
-textdoublevertline
+j
 \end_layout
 
 \end_inset
 
-
-\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
-t{*}
 \end_layout
 
 \end_inset
 
-
-\begin_inset ERT
-status collapsed
+ e̴ e̝ e̞ e̘ e̙ ẽ e
+\begin_inset script superscript
 
 \begin_layout Plain Layout
-{
+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˺ e̋
+\end_layout
 
+\begin_layout Standard
+è ē é ȅ ě ê e᷄ e᷅ e᷈ ĕ 
 \end_layout
 
 \end_inset
@@ -6176,102 +6570,108 @@ status collapsed
 \begin_inset IPA
 
 \begin_layout Standard
-
+pbtd
 \begin_inset ERT
 status collapsed
 
 \begin_layout Plain Layout
 
 \backslash
-tone
+:
 \end_layout
 
 \end_inset
 
-
+t
 \begin_inset ERT
 status collapsed
 
 \begin_layout Plain Layout
-{
+
+\backslash
+:
 \end_layout
 
 \end_inset
 
-55
+dcɟkɡq
 \begin_inset ERT
 status collapsed
 
 \begin_layout Plain Layout
-}
+
+\backslash
+;
 \end_layout
 
 \end_inset
 
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-\backslash
-tone
+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
 
-44
+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
-tone
+;
 \end_layout
 
 \end_inset
 
-
+Br
 \begin_inset ERT
 status collapsed
 
 \begin_layout Plain Layout
-{
+
+\backslash
+;
 \end_layout
 
 \end_inset
 
-33
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-}
+RR
 \end_layout
 
 \end_inset
 
+\begin_inset IPA
+
+\begin_layout Standard
 
 \begin_inset ERT
 status collapsed
@@ -6279,31 +6679,32 @@ status collapsed
 \begin_layout Plain Layout
 
 \backslash
-tone
+:
 \end_layout
 
 \end_inset
 
-
+rFBfvTDszSZ
 \begin_inset ERT
 status collapsed
 
 \begin_layout Plain Layout
-{
+
+\backslash
+:
 \end_layout
 
 \end_inset
 
-22
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-}
+s
 \end_layout
 
 \end_inset
 
+\begin_inset IPA
+
+\begin_layout Standard
 
 \begin_inset ERT
 status collapsed
@@ -6311,140 +6712,145 @@ status collapsed
 \begin_layout Plain Layout
 
 \backslash
-tone
+:
 \end_layout
 
 \end_inset
 
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-{
+zçJxGXKħQhHɬ
 \end_layout
 
 \end_inset
 
-11
+\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
-tone
+:
 \end_layout
 
 \end_inset
 
-
+lL
 \begin_inset ERT
 status collapsed
 
 \begin_layout Plain Layout
-{
+
+\backslash
+;
 \end_layout
 
 \end_inset
 
-15
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-}
+L
 \end_layout
 
 \end_inset
 
 
-\begin_inset ERT
-status collapsed
+\end_layout
 
-\begin_layout Plain Layout
+\begin_layout Standard
 
-\backslash
-tone
+\begin_inset IPA
+
+\begin_layout Standard
+ʘ|!ǂ||ɓɗʄɠʛe'
 \end_layout
 
 \end_inset
 
 
-\begin_inset ERT
-status collapsed
+\end_layout
 
-\begin_layout Plain 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
 
-51
-\begin_inset ERT
-status collapsed
 
-\begin_layout Plain Layout
-}
 \end_layout
 
-\end_inset
+\begin_layout Standard
 
+\begin_inset IPA
 
+\begin_layout Standard
+ʍw4
 \begin_inset ERT
 status collapsed
 
 \begin_layout Plain Layout
 
 \backslash
-tone
+;
 \end_layout
 
 \end_inset
 
+HʢʡCʑɺɧ
+\begin_inset IPADeco toptiebar
+status open
 
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-{
+\begin_layout Standard
+ar
 \end_layout
 
 \end_inset
 
-45
-\begin_inset ERT
-status collapsed
 
-\begin_layout Plain Layout
-}
+\begin_inset IPADeco bottomtiebar
+status open
+
+\begin_layout Standard
+tz
 \end_layout
 
 \end_inset
 
 
-\begin_inset ERT
-status collapsed
+\end_layout
+
+\end_inset
 
-\begin_layout Plain Layout
 
-\backslash
-tone
 \end_layout
 
-\end_inset
+\begin_layout Standard
 
+\begin_inset IPA
 
+\begin_layout Standard
+:;eˈˌ|‖.͡*
 \begin_inset ERT
 status collapsed
 
@@ -6454,7 +6860,7 @@ status collapsed
 
 \end_inset
 
-12
 \begin_inset ERT
 status collapsed
 
@@ -6465,65 +6871,45 @@ status collapsed
 \end_inset
 
 
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-\backslash
-tone
 \end_layout
 
 \end_inset
 
 
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-{
 \end_layout
 
-\end_inset
+\begin_layout Standard
 
-454
-\begin_inset ERT
-status collapsed
+\begin_inset IPA
 
-\begin_layout Plain Layout
-}
+\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
 
-\backslash
-textglobfall
 \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
-{}
 \end_layout
 
-\end_inset
-
-
+\begin_layout Subsection
+Other symbols
 \end_layout
 
-\end_inset
-
-
+\begin_layout Standard
+All three should be converted to U+00C5: Å Å Å (not U+212B). All three should be converted to U+00E5: å å å.
 \end_layout
 
 \begin_layout Subsection
@@ -6597,17 +6983,7 @@ linebreak[4]
 \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
 
@@ -6679,122 +7055,90 @@ Special characters
 \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
@@ -6874,6 +7218,10 @@ status collapsed
 % and another
 \end_layout
 
+\begin_layout Plain Layout
+
+\end_layout
+
 \end_inset
 
 
@@ -6893,7 +7241,7 @@ status collapsed
 A sub
 \begin_inset script subscript
 
-\begin_layout Standard
+\begin_layout Plain Layout
 sc
 \emph on
 ript
@@ -6906,7 +7254,7 @@ 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
@@ -6919,6 +7267,14 @@ script with
 .
 \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
@@ -6945,6 +7301,19 @@ $
 .
 \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