From b2b68969ab50841f9a5e4cbfd615579bdbbd0dd9 Mon Sep 17 00:00:00 2001 From: Georg Baum Date: Fri, 15 May 2015 21:23:29 +0200 Subject: [PATCH] Revert broken tex2lyx test reference update Revert "tex2lyx testfiles: update to latest fileformat" This reverts commit afdfc3cf43501a0728cef79385b31afe6f4cf877. The tex2lyx test vrefernces must be produced by tex2lyx, otherwise the tests would still fail. --- src/tex2lyx/test/CJK.lyx.lyx | 44 +- src/tex2lyx/test/CJKutf8.lyx.lyx | 25 +- src/tex2lyx/test/DummyDocument.lyx.lyx | 55 +- src/tex2lyx/test/XeTeX-polyglossia.lyx.lyx | 22 +- src/tex2lyx/test/algo2e.lyx.lyx | 19 +- .../test/box-color-size-space-align.lyx.lyx | 393 +++--- src/tex2lyx/test/test-insets.lyx.lyx | 1104 ++++++++--------- src/tex2lyx/test/test-memoir.lyx.lyx | 8 +- src/tex2lyx/test/test-modules.lyx.lyx | 18 +- .../test/test-refstyle-theorems.lyx.lyx | 61 +- src/tex2lyx/test/test-scr.lyx.lyx | 15 +- src/tex2lyx/test/test-structure.lyx.lyx | 244 ++-- src/tex2lyx/test/verbatim.lyx.lyx | 4 +- 13 files changed, 990 insertions(+), 1022 deletions(-) diff --git a/src/tex2lyx/test/CJK.lyx.lyx b/src/tex2lyx/test/CJK.lyx.lyx index 237a545bb1..3eeccc5a6e 100644 --- a/src/tex2lyx/test/CJK.lyx.lyx +++ b/src/tex2lyx/test/CJK.lyx.lyx @@ -1,5 +1,5 @@ -#LyX 2.2 created this file. For more info see http://www.lyx.org/ -\lyxformat 491 +#LyX file created by tex2lyx 2.2 +\lyxformat 490 \begin_document \begin_header \origin roundtrip @@ -11,6 +11,8 @@ % It is impossible to get the document language because the document could start with a command, % whitespace, and English word or whatever and the rest is in Japanese. Checking for the first CJK % environment is no solution because the document could be English and contain only some Japanese. + + \end_preamble \options english \use_default_options false @@ -80,6 +82,8 @@ \begin_body \begin_layout Standard + +\lang japanese-cjk Japanese \end_layout @@ -90,6 +94,8 @@ Chinese traditional \end_layout \begin_layout Standard + +\lang japanese-cjk Japanese \end_layout @@ -104,39 +110,39 @@ Chinese simplified \end_layout \begin_layout Standard + \begin_inset ERT status collapsed \begin_layout Plain Layout - \backslash begin{CJK}{EUC-JP}{hei} \end_layout \end_inset - Japanese (this CJK environment will be put in ERT because LyX supports - only one CJK font mapping per document, this environment uses the + Japanese + (this CJK environment will be put in ERT because LyX supports only one CJK + font mapping per document, this environment uses the \begin_inset ERT status collapsed \begin_layout Plain Layout - \backslash \end_layout \end_inset -texttt{hei} mapping, and the first mapping is empty. +texttt{hei} mapping, + and the first mapping is empty. \begin_inset ERT status collapsed \begin_layout Plain Layout - \backslash end{CJK} \end_layout @@ -153,11 +159,11 @@ Chinese simplified \end_layout \begin_layout Standard + \begin_inset ERT status collapsed \begin_layout Plain Layout - % The following Bg5 encoded text cannot be processed as is by latex. \end_layout @@ -168,7 +174,6 @@ status collapsed status collapsed \begin_layout Plain Layout - % It needs to be preprocessed by bg5conv or bg5latex needs to be used. \end_layout @@ -179,7 +184,6 @@ status collapsed status collapsed \begin_layout Plain Layout - % See the documentation of CJK.sty for details. \end_layout @@ -201,11 +205,11 @@ English \end_layout \begin_layout Standard + \begin_inset ERT status collapsed \begin_layout Plain Layout - % The following SJIS encoded text cannot be processed as is by latex. \end_layout @@ -216,7 +220,6 @@ status collapsed status collapsed \begin_layout Plain Layout - % It needs to be preprocessed by sjisconv or sjislatex needs to be used. \end_layout @@ -227,7 +230,6 @@ status collapsed status collapsed \begin_layout Plain Layout - % See the documentation of CJK.sty for details. \end_layout @@ -237,6 +239,8 @@ status collapsed \end_layout \begin_layout Standard + +\lang japanese-cjk Shift_JIS 日本語の文章 \end_layout @@ -245,24 +249,24 @@ hello \end_layout \begin_layout Standard + \begin_inset ERT status collapsed \begin_layout Plain Layout - \backslash begin{CJK}{JIS}{} \end_layout \end_inset - JIS-code + + JIS-code  \begin_inset ERT status collapsed \begin_layout Plain Layout - $ \end_layout @@ -274,7 +278,6 @@ status collapsed \begin_layout Plain Layout - \backslash \end_layout @@ -286,19 +289,18 @@ status collapsed status collapsed \begin_layout Plain Layout - $ \end_layout \end_inset -NJ8>O(B +NJ8>O(B + \begin_inset ERT status collapsed \begin_layout Plain Layout - \backslash end{CJK} \end_layout diff --git a/src/tex2lyx/test/CJKutf8.lyx.lyx b/src/tex2lyx/test/CJKutf8.lyx.lyx index 541c176a49..0baa3b8b80 100644 --- a/src/tex2lyx/test/CJKutf8.lyx.lyx +++ b/src/tex2lyx/test/CJKutf8.lyx.lyx @@ -1,5 +1,5 @@ -#LyX 2.2 created this file. For more info see http://www.lyx.org/ -\lyxformat 491 +#LyX file created by tex2lyx 2.2 +\lyxformat 490 \begin_document \begin_header \origin roundtrip @@ -11,6 +11,8 @@ % It is impossible to get the document language because the document could start with a command, % whitespace, and English word or whatever and the rest is in Japanese. Checking for the first CJK % environment is no solution because the document could be English and contain only some Japanese. + + \end_preamble \options english \use_default_options false @@ -80,14 +82,20 @@ \begin_body \begin_layout Standard + +\lang chinese-traditional Japanese \end_layout \begin_layout Standard + +\lang chinese-traditional Chinese traditional \end_layout \begin_layout Standard + +\lang chinese-traditional Japanese \end_layout @@ -96,16 +104,18 @@ hello \end_layout \begin_layout Standard + +\lang chinese-traditional Chinese simplified \end_layout \begin_layout Standard + \begin_inset ERT status collapsed \begin_layout Plain Layout - \backslash begin{CJK}{UTF8}{hei} \end_layout @@ -118,7 +128,6 @@ status collapsed \begin_layout Plain Layout - \backslash end{CJK} \end_layout @@ -129,10 +138,14 @@ end{CJK} \end_layout \begin_layout Standard + +\lang chinese-traditional Chinese simplified \end_layout \begin_layout Standard + +\lang chinese-traditional Big5 文鼎楷書 \end_layout @@ -143,6 +156,8 @@ English \end_layout \begin_layout Standard + +\lang chinese-traditional 日本語の文章 \end_layout @@ -151,6 +166,8 @@ hello \end_layout \begin_layout Standard + +\lang chinese-traditional Korean \end_layout diff --git a/src/tex2lyx/test/DummyDocument.lyx.lyx b/src/tex2lyx/test/DummyDocument.lyx.lyx index 3e76dc77e4..91f33fa139 100644 --- a/src/tex2lyx/test/DummyDocument.lyx.lyx +++ b/src/tex2lyx/test/DummyDocument.lyx.lyx @@ -1,15 +1,15 @@ -#LyX 2.2 created this file. For more info see http://www.lyx.org/ -\lyxformat 491 +#LyX file created by tex2lyx 2.2 +\lyxformat 490 \begin_document \begin_header -\origin D:/LyXGit/Master/src/tex2lyx/test/ +\origin roundtrip \textclass article \use_default_options false \maintain_unincluded_children false \language english \language_package none -\inputencoding auto -\fontencoding default +\inputencoding iso8859-15 +\fontencoding T1 \font_roman default \font_sans default \font_typewriter default @@ -25,13 +25,22 @@ \output_sync 0 \bibtex_command default \index_command default -\paperfontsize default -\spacing single -\use_hyperref false -\papersize default +\paperfontsize 12 +\spacing onehalf +\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 1 -\use_package amssymb 0 +\use_package amsmath 2 +\use_package amssymb 2 \use_package cancel 0 \use_package esint 1 \use_package mathdots 0 @@ -40,11 +49,11 @@ \use_package stackrel 0 \use_package stmaryrd 0 \use_package undertilde 0 -\cite_engine basic -\cite_engine_type default -\biblio_style plain +\cite_engine natbib +\cite_engine_type numerical +\biblio_style plainnat \use_bibtopic false -\use_indices false +\use_indices true \paperorientation portrait \suppress_date false \justification true @@ -53,10 +62,18 @@ \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 -\paragraph_indentation default +\paragraph_indentation 3mm \quotes_language english \papercolumns 1 \papersides 1 @@ -71,6 +88,7 @@ \begin_body \begin_layout Subsection + \begin_inset CommandInset label LatexCommand label name "sub:External-Subsection" @@ -81,10 +99,7 @@ External Subsection \end_layout \begin_layout Standard -This is a small dummy child document to show how files can be inserted to - another document. - Here are some accented characters to make sure the encoding is passed to - included files: éè +This is a small dummy child document to show how files can be inserted to another document. Here are some accented characters to make sure the encoding is passed to included files: éè \end_layout \end_body diff --git a/src/tex2lyx/test/XeTeX-polyglossia.lyx.lyx b/src/tex2lyx/test/XeTeX-polyglossia.lyx.lyx index 220e00f91b..0e177ac47c 100644 --- a/src/tex2lyx/test/XeTeX-polyglossia.lyx.lyx +++ b/src/tex2lyx/test/XeTeX-polyglossia.lyx.lyx @@ -1,11 +1,18 @@ -#LyX 2.2 created this file. For more info see http://www.lyx.org/ -\lyxformat 491 +#LyX file created by tex2lyx 2.2 +\lyxformat 490 \begin_document \begin_header \origin roundtrip \textclass article \begin_preamble + + + + + + + \end_preamble \use_default_options false \maintain_unincluded_children false @@ -74,10 +81,14 @@ \begin_body \begin_layout Part + +\lang british df \end_layout \begin_layout Standard + +\lang british 1 English \lang ancientgreek ancient Greek @@ -88,7 +99,6 @@ status collapsed \begin_layout Plain Layout - \backslash textgreek[numerals=arabic, variant=ancient] \end_layout @@ -100,7 +110,6 @@ textgreek[numerals=arabic, variant=ancient] status collapsed \begin_layout Plain Layout - { \end_layout @@ -115,7 +124,6 @@ reek status collapsed \begin_layout Plain Layout - } \end_layout @@ -140,6 +148,8 @@ Greek Albanian \shape smallcaps smallcaps +\shape default + \end_layout \begin_layout Part @@ -157,11 +167,11 @@ df \begin_layout Standard \lang hebrew + \begin_inset ERT status collapsed \begin_layout Plain Layout - %empty language paragraph \end_layout diff --git a/src/tex2lyx/test/algo2e.lyx.lyx b/src/tex2lyx/test/algo2e.lyx.lyx index b88f6a877d..9d317ffc9f 100644 --- a/src/tex2lyx/test/algo2e.lyx.lyx +++ b/src/tex2lyx/test/algo2e.lyx.lyx @@ -1,11 +1,13 @@ -#LyX 2.2 created this file. For more info see http://www.lyx.org/ -\lyxformat 491 +#LyX file created by tex2lyx 2.2 +\lyxformat 490 \begin_document \begin_header \origin roundtrip \textclass article \begin_preamble + + \end_preamble \options boxed \use_default_options false @@ -98,19 +100,21 @@ bla \end_layout \begin_layout Standard + \begin_inset Float algorithm placement h wide false sideways false status open -\begin_layout Plain Layout + +\begin_layout Standard + \begin_inset ERT status collapsed \begin_layout Plain Layout - \backslash SetAlgoLined \end_layout @@ -123,7 +127,6 @@ status collapsed \begin_layout Plain Layout - \backslash KwData \end_layout @@ -135,7 +138,6 @@ KwData status collapsed \begin_layout Plain Layout - { \end_layout @@ -150,7 +152,6 @@ status collapsed status collapsed \begin_layout Plain Layout - } \end_layout @@ -162,7 +163,6 @@ status collapsed \begin_layout Plain Layout - \backslash KwResult \end_layout @@ -174,7 +174,6 @@ KwResult status collapsed \begin_layout Plain Layout - { \end_layout @@ -185,7 +184,6 @@ Result status collapsed \begin_layout Plain Layout - } \end_layout @@ -197,7 +195,6 @@ status collapsed \begin_layout Plain Layout - \backslash ; \end_layout diff --git a/src/tex2lyx/test/box-color-size-space-align.lyx.lyx b/src/tex2lyx/test/box-color-size-space-align.lyx.lyx index bf4e6505fc..4518d8af05 100644 --- a/src/tex2lyx/test/box-color-size-space-align.lyx.lyx +++ b/src/tex2lyx/test/box-color-size-space-align.lyx.lyx @@ -1,5 +1,5 @@ -#LyX 2.2 created this file. For more info see http://www.lyx.org/ -\lyxformat 491 +#LyX file created by tex2lyx 2.2 +\lyxformat 490 \begin_document \begin_header \origin roundtrip @@ -34,6 +34,9 @@ \usepackage[ps2pdf]{hyperref} \fi % end if pdflatex is used + + + \end_preamble \options b4paper \use_default_options false @@ -81,8 +84,8 @@ \suppress_date false \justification true \use_refstyle 0 -\backgroundcolor #ff5500 \notefontcolor #0000ff +\backgroundcolor #ff5500 \boxbgcolor #ffff00 \index Index \shortcut idx @@ -114,6 +117,7 @@ \begin_body \begin_layout Standard + \begin_inset CommandInset toc LatexCommand tableofcontents @@ -148,7 +152,8 @@ separation "3pt" shadowsize "4pt" status open -\begin_layout Plain Layout + +\begin_layout Standard mbox \end_layout @@ -175,6 +180,7 @@ separation "3pt" shadowsize "4pt" status open + \begin_layout Plain Layout makebox 1 \end_layout @@ -202,6 +208,7 @@ separation "3pt" shadowsize "4pt" status open + \begin_layout Plain Layout makebox 2 \end_layout @@ -229,6 +236,7 @@ separation "3pt" shadowsize "4pt" status open + \begin_layout Plain Layout makebox 3 \end_layout @@ -239,19 +247,21 @@ makebox 3 \end_layout \begin_layout Standard + \begin_inset Float figure placement ht wide false sideways false status open -\begin_layout Plain Layout + +\begin_layout Standard + \begin_inset ERT status collapsed \begin_layout Plain Layout - \backslash centering \end_layout @@ -264,7 +274,6 @@ status collapsed \begin_layout Plain Layout - \backslash setlength{ \backslash @@ -276,13 +285,13 @@ unitlength}{.2in} \end_layout -\begin_layout Plain Layout +\begin_layout Standard + \begin_inset ERT status collapsed \begin_layout Plain Layout - \backslash begin{picture} \end_layout @@ -295,7 +304,6 @@ status collapsed \begin_layout Plain Layout - \backslash put \end_layout @@ -307,7 +315,6 @@ put status collapsed \begin_layout Plain Layout - { \end_layout @@ -319,7 +326,6 @@ status collapsed \begin_layout Plain Layout - \backslash makebox(0,0)[tr]{ \end_layout @@ -331,7 +337,6 @@ AAA status collapsed \begin_layout Plain Layout - } \end_layout @@ -342,7 +347,6 @@ status collapsed status collapsed \begin_layout Plain Layout - } \end_layout @@ -354,7 +358,6 @@ status collapsed \begin_layout Plain Layout - \backslash put \end_layout @@ -366,7 +369,6 @@ put status collapsed \begin_layout Plain Layout - { \end_layout @@ -378,7 +380,6 @@ status collapsed \begin_layout Plain Layout - \backslash makebox(0,0){ \end_layout @@ -390,7 +391,6 @@ BBB status collapsed \begin_layout Plain Layout - } \end_layout @@ -401,7 +401,6 @@ status collapsed status collapsed \begin_layout Plain Layout - } \end_layout @@ -413,7 +412,6 @@ status collapsed \begin_layout Plain Layout - \backslash put \end_layout @@ -425,7 +423,6 @@ put status collapsed \begin_layout Plain Layout - { \end_layout @@ -437,7 +434,6 @@ status collapsed \begin_layout Plain Layout - \backslash framebox(0,0){ \end_layout @@ -449,7 +445,6 @@ x status collapsed \begin_layout Plain Layout - } \end_layout @@ -460,7 +455,6 @@ status collapsed status collapsed \begin_layout Plain Layout - } \end_layout @@ -472,7 +466,6 @@ status collapsed \begin_layout Plain Layout - \backslash put \end_layout @@ -484,7 +477,6 @@ put status collapsed \begin_layout Plain Layout - { \end_layout @@ -496,7 +488,6 @@ status collapsed \begin_layout Plain Layout - \backslash line \end_layout @@ -508,7 +499,6 @@ line status collapsed \begin_layout Plain Layout - { \end_layout @@ -519,7 +509,6 @@ status collapsed status collapsed \begin_layout Plain Layout - } \end_layout @@ -530,7 +519,6 @@ status collapsed status collapsed \begin_layout Plain Layout - } \end_layout @@ -542,7 +530,6 @@ status collapsed \begin_layout Plain Layout - \backslash end{picture} \end_layout @@ -558,12 +545,12 @@ end{picture} \end_layout \begin_layout Standard + \begin_inset ERT status collapsed \begin_layout Plain Layout - \backslash raisebox{8.5mm}{ \end_layout @@ -575,7 +562,6 @@ test status collapsed \begin_layout Plain Layout - } \end_layout @@ -587,7 +573,6 @@ status collapsed \begin_layout Plain Layout - \backslash raisebox{-6.5mm}{ \end_layout @@ -599,7 +584,6 @@ tset status collapsed \begin_layout Plain Layout - } \end_layout @@ -630,7 +614,8 @@ separation "3pt" shadowsize "4pt" status open -\begin_layout Plain Layout + +\begin_layout Standard framed \end_layout @@ -657,7 +642,9 @@ separation "3pt" shadowsize "4pt" status open -\begin_layout Plain Layout + +\begin_layout Standard + \begin_inset Box Framed position "c" hor_pos "c" @@ -674,7 +661,8 @@ separation "3pt" shadowsize "4pt" status open -\begin_layout Plain Layout + +\begin_layout Standard nested framed \end_layout @@ -706,7 +694,8 @@ separation "3pt" shadowsize "4pt" status open -\begin_layout Plain Layout + +\begin_layout Standard fbox \end_layout @@ -733,7 +722,8 @@ separation "3pt" shadowsize "4pt" status open -\begin_layout Plain Layout + +\begin_layout Standard fr \color blue ame @@ -764,7 +754,8 @@ separation "3pt" shadowsize "4pt" status open -\begin_layout Plain Layout + +\begin_layout Standard framebox 2 \end_layout @@ -791,7 +782,8 @@ separation "3pt" shadowsize "4pt" status open -\begin_layout Plain Layout + +\begin_layout Standard framebox 3 \end_layout @@ -801,8 +793,7 @@ framebox 3 \end_layout \begin_layout Standard -This is an example text. - +This is an example text. \begin_inset Box Boxed position "c" hor_pos "c" @@ -819,6 +810,7 @@ separation "3pt" shadowsize "4pt" status open + \begin_layout Plain Layout \align center The box content @@ -836,8 +828,7 @@ over the \begin_layout Plain Layout \align center -box height. - +box height. \end_layout \end_inset @@ -863,7 +854,8 @@ separation "3pt" shadowsize "4pt" status open -\begin_layout Plain Layout + +\begin_layout Standard ovalbox \end_layout @@ -890,7 +882,8 @@ separation "3pt" shadowsize "4pt" status open -\begin_layout Plain Layout + +\begin_layout Standard Ovalbox \end_layout @@ -917,7 +910,8 @@ separation "3pt" shadowsize "4pt" status open -\begin_layout Plain Layout + +\begin_layout Standard shadowbox \end_layout @@ -944,7 +938,8 @@ separation "3pt" shadowsize "4pt" status open -\begin_layout Plain Layout + +\begin_layout Standard doublebox \end_layout @@ -954,6 +949,7 @@ doublebox \end_layout \begin_layout Standard + \begin_inset Formula $\boxed{\int A=B}$ \end_inset @@ -965,16 +961,16 @@ LyX Boxes \end_layout \begin_layout Standard + \begin_inset Note Greyedout status open -\begin_layout Plain Layout +\begin_layout Standard \series bold Note: \series default - Not all DVI-viewers are able to display rotations. - + Not all DVI-viewers are able to display rotations. \end_layout \end_inset @@ -983,6 +979,7 @@ Note: \end_layout \begin_layout Standard + \begin_inset Box Shaded position "c" hor_pos "c" @@ -999,7 +996,8 @@ separation "3pt" shadowsize "4pt" status open -\begin_layout Plain Layout + +\begin_layout Standard Shaded background box \end_layout @@ -1009,6 +1007,7 @@ Shaded background box \end_layout \begin_layout Standard + \begin_inset Box Shaded position "c" hor_pos "c" @@ -1025,6 +1024,7 @@ separation "3pt" shadowsize "4pt" status open + \begin_layout Plain Layout Shaded background box, with inner minipage \end_layout @@ -1054,60 +1054,32 @@ red red red test \color green bla +\color inherit + \color magenta blub -\color inherit - test -\color brown -brown -\color inherit - test -\color darkgray -darkgray -\color inherit - test -\color gray -gray -\color lightgray -lightgray -\color inherit - test -\color lime -lime -\color inherit - test -\color olive -olive -\color inherit - test -\color orange -orange -\color pink -pink -\color inherit - test -\color purple -purple -\color inherit - test -\color teal -teal -\color inherit - test -\color violet -violet \color inherit test \color green c +\color inherit + \color red o +\color inherit + \color blue l +\color inherit + \color green o +\color inherit + \color red r +\color inherit + \end_layout \begin_layout Subsection @@ -1121,7 +1093,6 @@ status collapsed \begin_layout Plain Layout - \backslash textcolor{darkgreen} \end_layout @@ -1133,7 +1104,6 @@ textcolor{darkgreen} status collapsed \begin_layout Plain Layout - { \end_layout @@ -1144,7 +1114,6 @@ dark green status collapsed \begin_layout Plain Layout - } \end_layout @@ -1154,12 +1123,12 @@ status collapsed \end_layout \begin_layout Standard + \begin_inset ERT status collapsed \begin_layout Plain Layout - \backslash definecolor{violet}{rgb}{0.5, 0, 1} \end_layout @@ -1171,9 +1140,37 @@ definecolor{violet}{rgb}{0.5, 0, 1} \begin_layout Standard test -\color violet +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + +\backslash +textcolor{violet} +\end_layout + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout +{ +\end_layout + +\end_inset + violet -\color inherit +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout +} +\end_layout + +\end_inset + test \end_layout @@ -1189,60 +1186,80 @@ Huge text \begin_layout Standard +\size giant + \size huge huge text \end_layout \begin_layout Standard +\size huge + \size largest LARGE text \end_layout \begin_layout Standard +\size largest + \size larger Large text \end_layout \begin_layout Standard +\size larger + \size large large text \end_layout \begin_layout Standard +\size large + \size normal normalsize text \end_layout \begin_layout Standard +\size normal + \size small small text \end_layout \begin_layout Standard +\size small + \size footnotesize footnotesize text \end_layout \begin_layout Standard +\size footnotesize + \size scriptsize scriptsize text \end_layout \begin_layout Standard +\size scriptsize + \size tiny tiny text \end_layout \begin_layout Standard +\size tiny + \size giant Huge text \size huge @@ -1267,12 +1284,16 @@ tiny text \begin_layout Standard +\size tiny + \size normal Font size switches don't affect section headings! \end_layout \begin_layout Standard +\size normal + \size scriptsize bla blub \end_layout @@ -1301,6 +1322,8 @@ Font size dummy 2 \size scriptsize bla blub +\size normal + \end_layout \begin_layout Section @@ -1313,6 +1336,8 @@ Strikeout, underlined etc. Emphasized: \emph on test +\emph default + \end_layout \begin_layout Standard @@ -1321,6 +1346,8 @@ test Underbar: \bar under test +\bar default + \end_layout \begin_layout Standard @@ -1329,6 +1356,8 @@ test Double underbar: \uuline on test +\uuline default + \end_layout \begin_layout Standard @@ -1337,6 +1366,8 @@ test Wavy underbar: \uwave on test +\uwave default + \end_layout \begin_layout Standard @@ -1345,6 +1376,8 @@ test Strike out: \strikeout on test +\strikeout default + \end_layout \begin_layout Standard @@ -1356,7 +1389,6 @@ status collapsed \begin_layout Plain Layout - \backslash xout \end_layout @@ -1368,7 +1400,6 @@ xout status collapsed \begin_layout Plain Layout - { \end_layout @@ -1379,7 +1410,6 @@ test status collapsed \begin_layout Plain Layout - } \end_layout @@ -1394,6 +1424,8 @@ status collapsed Noun: \noun on test +\noun default + \end_layout \begin_layout Standard @@ -1401,9 +1433,17 @@ test \size normal Underbar, emphasized, strikeout: \emph on + \bar under + \strikeout on test +\strikeout default + +\bar default + +\emph default + \end_layout \begin_layout Section @@ -1420,27 +1460,21 @@ bla \paragraph_spacing single \size normal -singlespace single singlespace single singlespace single singlespace single - singlespace single singlespace single singlespace single singlespace single - +singlespace single singlespace single singlespace single singlespace single singlespace single singlespace single singlespace single singlespace single \end_layout \begin_layout Standard \paragraph_spacing onehalf \size normal -onehalfspace 1 onehalfspace 1 onehalfspace 1 onehalfspace 1 onehalfspace - 1 onehalfspace 1 onehalfspace 1 onehalfspace 1 onehalfspace 1 onehalfspace - 1 +onehalfspace 1 onehalfspace 1 onehalfspace 1 onehalfspace 1 onehalfspace 1 onehalfspace 1 onehalfspace 1 onehalfspace 1 onehalfspace 1 onehalfspace 1 \end_layout \begin_layout Standard \paragraph_spacing onehalf \size normal -onehalfspace 2 onehalfspace 2 onehalfspace 2 onehalfspace 2 onehalfspace - 2 onehalfspace 2 onehalfspace 2 onehalfspace 2 onehalfspace 2 onehalfspace - 2 +onehalfspace 2 onehalfspace 2 onehalfspace 2 onehalfspace 2 onehalfspace 2 onehalfspace 2 onehalfspace 2 onehalfspace 2 onehalfspace 2 onehalfspace 2 \end_layout \begin_layout Standard @@ -1453,9 +1487,7 @@ blub \paragraph_spacing onehalf \size normal -onehalfspace single onehalfspace single onehalfspace single onehalfspace - single onehalfspace single onehalfspace single onehalfspace single onehalfspace - single +onehalfspace single onehalfspace single onehalfspace single onehalfspace single onehalfspace single onehalfspace single onehalfspace single onehalfspace single \end_layout \begin_layout Standard @@ -1468,18 +1500,14 @@ blablub \paragraph_spacing double \size normal -doublespace single doublespace single doublespace single doublespace single - doublespace single doublespace single doublespace single doublespace single - +doublespace single doublespace single doublespace single doublespace single doublespace single doublespace single doublespace single doublespace single \end_layout \begin_layout Standard \paragraph_spacing other 1.2 \size normal - 1.2 spacing single 1.2 spacing single 1.2 spacing single 1.2 spacing single - 1.2 spacing single 1.2 spacing single 1.2 spacing single 1.2 spacing single - + 1.2 spacing single 1.2 spacing single 1.2 spacing single 1.2 spacing single 1.2 spacing single 1.2 spacing single 1.2 spacing single 1.2 spacing single \end_layout \begin_layout Section @@ -1496,8 +1524,7 @@ bla \align center \size normal -center single center single center single center single center single center - single center single center single center single center single +center single center single center single center single center single center single center single center single center single center single \end_layout \begin_layout Standard @@ -1510,17 +1537,14 @@ blabla \align left \size normal -flushleft 1 flushleft 1 flushleft 1 flushleft 1 flushleft 1 flushleft 1 - flushleft 1 flushleft 1 flushleft 1 flushleft 1 flushleft 1 flushleft 1 +flushleft 1 flushleft 1 flushleft 1 flushleft 1 flushleft 1 flushleft 1 flushleft 1 flushleft 1 flushleft 1 flushleft 1 flushleft 1 flushleft 1 \end_layout \begin_layout Standard \align left \size normal -flushleft 2 flushleft 2 flushleft 2 flushleft 2 flushleft 2 flushleft 2 - flushleft 2 flushleft 2 flushleft 2 flushleft 2 flushleft 2 flushleft 2 - +flushleft 2 flushleft 2 flushleft 2 flushleft 2 flushleft 2 flushleft 2 flushleft 2 flushleft 2 flushleft 2 flushleft 2 flushleft 2 flushleft 2 \end_layout \begin_layout Standard @@ -1533,8 +1557,7 @@ blub \align left \size normal -flushleft single flushleft single flushleft single flushleft single flushleft - single flushleft single flushleft single flushleft single +flushleft single flushleft single flushleft single flushleft single flushleft single flushleft single flushleft single flushleft single \end_layout \begin_layout Standard @@ -1547,9 +1570,7 @@ blablub \align right \size normal -flushright single flushright single flushright single flushright single - flushright single flushright single flushright single flushright single - +flushright single flushright single flushright single flushright single flushright single flushright single flushright single flushright single \end_layout \begin_layout Standard @@ -1561,20 +1582,19 @@ bla \begin_layout Standard \size normal + \begin_inset ERT status collapsed \begin_layout Plain Layout - \backslash centering \end_layout \end_inset - centering single centering single centering single centering single centering - single centering single centering single centering single + centering single centering single centering single centering single centering single centering single centering single centering single \end_layout \begin_layout Standard @@ -1586,63 +1606,59 @@ blabla \begin_layout Standard \size normal + \begin_inset ERT status collapsed \begin_layout Plain Layout - \backslash raggedright \end_layout \end_inset - raggedright 1 raggedright 1 raggedright 1 raggedright 1 raggedright 1 raggedrig -ht 1 raggedright 1 raggedright 1 raggedright 1 raggedright 1 + raggedright 1 raggedright 1 raggedright 1 raggedright 1 raggedright 1 raggedright 1 raggedright 1 raggedright 1 raggedright 1 raggedright 1 \end_layout \begin_layout Standard \size normal -raggedright 2 raggedright 2 raggedright 2 raggedright 2 raggedright 2 raggedrigh -t 2 raggedright 2 raggedright 2 raggedright 2 raggedright 2 +raggedright 2 raggedright 2 raggedright 2 raggedright 2 raggedright 2 raggedright 2 raggedright 2 raggedright 2 raggedright 2 raggedright 2 \end_layout \begin_layout Standard \size normal + \begin_inset ERT status collapsed \begin_layout Plain Layout - \backslash raggedleft \end_layout \end_inset - raggedleft 1 raggedleft 1 raggedleft 1 raggedleft 1 raggedleft 1 raggedleft - 1 raggedleft 1 raggedleft 1 raggedleft 1 raggedleft 1 + raggedleft 1 raggedleft 1 raggedleft 1 raggedleft 1 raggedleft 1 raggedleft 1 raggedleft 1 raggedleft 1 raggedleft 1 raggedleft 1 \end_layout \begin_layout Standard \size normal -raggedleft 2 raggedleft 2 raggedleft 2 raggedleft 2 raggedleft 2 raggedleft - 2 raggedleft 2 raggedleft 2 raggedleft 2 raggedleft 2 +raggedleft 2 raggedleft 2 raggedleft 2 raggedleft 2 raggedleft 2 raggedleft 2 raggedleft 2 raggedleft 2 raggedleft 2 raggedleft 2 \end_layout \begin_layout Standard \size normal + \begin_inset ERT status collapsed \begin_layout Plain Layout - %set back to justified \end_layout @@ -1654,7 +1670,6 @@ status collapsed \begin_layout Plain Layout - \backslash raggedright \end_layout @@ -1666,7 +1681,6 @@ raggedright status collapsed \begin_layout Plain Layout - {} \end_layout @@ -1684,68 +1698,63 @@ Horizontal spaces \size normal Lines can have an hfill \begin_inset space \hfill{} + \end_inset -in the middle. - Lines can have an hfill +in the middle. Lines can have an hfill \begin_inset space \hfill{} \end_inset - in the middle. - Lines can have a protected hfill + in the middle. Lines can have a protected hfill \begin_inset space \hspace*{\fill} \end_inset - in the middle. - Lines can have a dotted fill + in the middle. Lines can have a dotted fill \begin_inset space \dotfill{} + \end_inset -in the middle. - Lines can have a rule fill +in the middle. Lines can have a rule fill \begin_inset space \hrulefill{} + \end_inset -in the middle. - Lines can have a left arrow fill +in the middle. Lines can have a left arrow fill \begin_inset space \leftarrowfill{} + \end_inset -in the middle. - Lines can have a right arrow fill +in the middle. Lines can have a right arrow fill \begin_inset space \rightarrowfill{} + \end_inset -in the middle. - Lines can have a upbrace fill +in the middle. Lines can have a upbrace fill \begin_inset space \upbracefill{} + \end_inset -in the middle. - Lines can have a downbrace fill +in the middle. Lines can have a downbrace fill \begin_inset space \downbracefill{} + \end_inset -in the middle. - Lines can have an absolute space +in the middle. Lines can have an absolute space \begin_inset space \hspace{} \length 2cm \end_inset - in the middle. - Lines can have a relative space + in the middle. Lines can have a relative space \begin_inset space \hspace{} \length 12text% \end_inset - in the middle. - Lines can have a glue-length space + in the middle. Lines can have a glue-length space \begin_inset space \hspace{} \length 2cm+2mm-1mm \end_inset - in the middle. - Lines can have protected space + in the middle. Lines can have protected space \begin_inset space \hspace*{} \length 2cm \end_inset @@ -1764,6 +1773,7 @@ We also handle defined spaces: \size normal Interword \begin_inset space \space{} + \end_inset a @@ -1774,6 +1784,7 @@ a \size normal Visible \begin_inset space \textvisiblespace{} + \end_inset a @@ -1784,6 +1795,7 @@ a \size normal Thin \begin_inset space \thinspace{} + \end_inset a @@ -1794,6 +1806,7 @@ a \size normal NegThin \begin_inset space \negthinspace{} + \end_inset a @@ -1804,6 +1817,7 @@ a \size normal NegMed \begin_inset space \negmedspace{} + \end_inset a @@ -1814,6 +1828,7 @@ a \size normal NegThick \begin_inset space \negthickspace{} + \end_inset a @@ -1824,6 +1839,7 @@ a \size normal enspace \begin_inset space \enspace{} + \end_inset a @@ -1834,6 +1850,7 @@ a \size normal enskip \begin_inset space \enskip{} + \end_inset a @@ -1844,6 +1861,7 @@ a \size normal quad \begin_inset space \quad{} + \end_inset a @@ -1854,6 +1872,7 @@ a \size normal qquad \begin_inset space \qquad{} + \end_inset a @@ -1888,6 +1907,7 @@ protected fill: \size normal 2 \begin_inset space \thinspace{} + \end_inset cm: @@ -1902,6 +1922,7 @@ cm: \size normal protected 2 \begin_inset space \thinspace{} + \end_inset cm: @@ -1935,7 +1956,7 @@ enspace: \size normal thin: -\begin_inset Formula $a\,b$ +\begin_inset Formula $a\, b$ \end_inset @@ -1945,7 +1966,7 @@ thin: \size normal medium: -\begin_inset Formula $a\:b$ +\begin_inset Formula $a\: b$ \end_inset @@ -1955,7 +1976,7 @@ medium: \size normal thick: -\begin_inset Formula $a\;b$ +\begin_inset Formula $a\; b$ \end_inset @@ -2032,33 +2053,27 @@ Lines can have a vfill \begin_inset VSpace vfill \end_inset -in the middle. - Lines can have a vfill +in the middle. Lines can have a vfill \begin_inset VSpace vfill \end_inset - in the middle. - Lines can have a protected vfill + in the middle. Lines can have a protected vfill \begin_inset VSpace vfill* \end_inset - in the middle. - Lines can have a vertical absolute space + in the middle. Lines can have a vertical absolute space \begin_inset VSpace 2cm \end_inset - in the middle. - Lines can have a vertical relative space + in the middle. Lines can have a vertical relative space \begin_inset VSpace 9col% \end_inset - in the middle. - Lines can have a vertical glue-length space -\begin_inset VSpace 2cm+1cc-2bp + in the middle. Lines can have a vertical glue-length space +\begin_inset VSpace 2cm-2bp+1cc \end_inset - in the middle. - Lines can have protected vertical space + in the middle. Lines can have protected vertical space \begin_inset VSpace 2cm* \end_inset diff --git a/src/tex2lyx/test/test-insets.lyx.lyx b/src/tex2lyx/test/test-insets.lyx.lyx index 37e565bf83..1395837a69 100644 --- a/src/tex2lyx/test/test-insets.lyx.lyx +++ b/src/tex2lyx/test/test-insets.lyx.lyx @@ -1,5 +1,5 @@ -#LyX 2.2 created this file. For more info see http://www.lyx.org/ -\lyxformat 491 +#LyX file created by tex2lyx 2.2 +\lyxformat 490 \begin_document \begin_header \origin roundtrip @@ -13,6 +13,8 @@ \def\mycommand{\textquestiondown} + + \end_preamble \use_default_options false \maintain_unincluded_children false @@ -38,15 +40,15 @@ \paperfontsize 12 \spacing onehalf \use_hyperref true -\pdf_bookmarks false -\pdf_bookmarksnumbered false -\pdf_bookmarksopen false +\pdf_bookmarks 0 +\pdf_bookmarksnumbered 0 +\pdf_bookmarksopen 0 \pdf_bookmarksopenlevel 1 -\pdf_breaklinks false -\pdf_pdfborder false -\pdf_colorlinks false +\pdf_breaklinks 0 +\pdf_pdfborder 0 +\pdf_colorlinks 0 \pdf_backref section -\pdf_pdfusetitle false +\pdf_pdfusetitle 0 \papersize a4paper \use_geometry false \use_package amsmath 2 @@ -102,11 +104,11 @@ Title \end_layout \begin_layout Standard + \begin_inset ERT status collapsed \begin_layout Plain Layout - %stupid stuff \end_layout @@ -120,6 +122,7 @@ two days ago \end_layout \begin_layout Standard + \begin_inset CommandInset toc LatexCommand tableofcontents @@ -156,6 +159,7 @@ References \begin_layout Standard Let's start with simple things: a label \begin_inset space ~ + \end_inset @@ -167,6 +171,7 @@ name "lab:test" and a reference \begin_inset space ~ + \end_inset @@ -190,6 +195,7 @@ unbreakable space \begin_layout Standard Of course there are other kind of references, like page reference \begin_inset space ~ + \end_inset @@ -201,6 +207,7 @@ reference "lab:test" , but also equation reference \begin_inset space ~ + \end_inset @@ -212,6 +219,7 @@ reference "lab:test" (from amsmath package), or varioref's equivalents \begin_inset space ~ + \end_inset @@ -223,6 +231,7 @@ reference "lab:test" and \begin_inset space ~ + \end_inset @@ -234,6 +243,7 @@ reference "lab:test" , without forgetting pretty references like \begin_inset space ~ + \end_inset @@ -245,6 +255,7 @@ reference "lab:test" as well as textual references like \begin_inset space ~ + \end_inset @@ -254,14 +265,12 @@ reference "lab:test" \end_inset -. - The command +. The command \begin_inset ERT status collapsed \begin_layout Plain Layout - \backslash secref \end_layout @@ -273,7 +282,6 @@ secref status collapsed \begin_layout Plain Layout - { \end_layout @@ -284,14 +292,12 @@ lab:test 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. + will be parsed in ERT, since LyX does not support refstyle and prettyref natively at the same time. \end_layout \begin_layout Section @@ -315,6 +321,7 @@ cite: \begin_inset CommandInset citation LatexCommand citep after "after" +before "" key "article-crossref" \end_inset @@ -325,6 +332,7 @@ cites: \begin_inset CommandInset citation LatexCommand citep after "after" +before "" key "whole-set,article-crossref" \end_inset @@ -612,6 +620,7 @@ key "article-crossref" nocite: \begin_inset CommandInset citation LatexCommand nocite +after "" key "article-crossref" \end_inset @@ -620,11 +629,11 @@ key "article-crossref" \end_layout \begin_layout Standard + \begin_inset ERT status collapsed \begin_layout Plain Layout - % Remove duplicate call of \backslash bibliography since LaTeX throws an error. @@ -637,7 +646,6 @@ bibliography since LaTeX throws an error. status collapsed \begin_layout Plain Layout - % \backslash bibliographystyle{unsrt} @@ -650,7 +658,6 @@ bibliographystyle{unsrt} status collapsed \begin_layout Plain Layout - % \backslash bibliography{xampl} @@ -680,16 +687,17 @@ options "unsrt" From bug 7306: \begin_inset CommandInset citation LatexCommand citet +after "" +before "" key "gur+04" \end_inset - have demonstrated that authors should not have umlauts in their names. - It's OK to use them in the manüscript, though. - + have demonstrated that authors should not have umlauts in their names. It's OK to use them in the manüscript, though. \end_layout \begin_layout Bibliography + \begin_inset CommandInset bibitem LatexCommand bibitem label "Möstl et~al.(2010)" @@ -699,17 +707,19 @@ key "Mostl2010" Gürkan, M. \begin_inset space ~ + \end_inset A., Freitag, M., & Rasio, F. \begin_inset space ~ + \end_inset -A. - 2004, ApJ, 604, 632 +A. 2004, ApJ, 604, 632 \end_layout \begin_layout Bibliography + \begin_inset CommandInset bibitem LatexCommand bibitem label "{{Gürkan et~al.}(2004)}" @@ -719,14 +729,15 @@ key "gur+04" Gürkan, M. \begin_inset space ~ + \end_inset A., Freitag, M., & Rasio, F. \begin_inset space ~ + \end_inset -A. - 2004, ApJ, 604, 632 +A. 2004, ApJ, 604, 632 \end_layout \begin_layout Section @@ -747,13 +758,15 @@ Input files We can input files too, like this \begin_inset CommandInset include LatexCommand input -filename "DummyDocument.lyx" +preview false +filename "DummyDocument.lyx.lyx" \end_inset , or with the include variant (tests quoting as well): \begin_inset CommandInset include LatexCommand include +preview false filename "Dummy Document.tex" \end_inset @@ -761,6 +774,7 @@ filename "Dummy Document.tex" \begin_inset CommandInset include LatexCommand include +preview false filename "Dummy Document.tex" \end_inset @@ -768,27 +782,23 @@ filename "Dummy Document.tex" \begin_inset CommandInset include LatexCommand include -filename "Dummy~Document.lyx" +preview false +filename "Dummy~Document.lyx.lyx" \end_inset \begin_inset CommandInset include LatexCommand include -filename "Dummy~Document.lyx" +preview false +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 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). - + 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 @@ -801,6 +811,7 @@ We can also import chess diagrams: \end_layout \begin_layout Standard + \begin_inset External template ChessDiagram filename ../../../lib/examples/iecc05.fen @@ -815,6 +826,7 @@ Spreadsheets: \end_layout \begin_layout Standard + \begin_inset External template GnumericSpreadsheet filename ../../../lib/examples/longsheet.gnumeric @@ -829,6 +841,7 @@ XFig drawings: \end_layout \begin_layout Standard + \begin_inset External template XFig filename xfigtest.fig @@ -843,6 +856,7 @@ and PDF pages: \end_layout \begin_layout Standard + \begin_inset External template PDFPages filename ../../../lib/examples/beamer-icsi-logo.pdf @@ -861,22 +875,26 @@ and PDF pages: \begin_layout Standard If you prefer verbatim input, you can choose between \begin_inset space ~ + \end_inset \begin_inset CommandInset include LatexCommand verbatiminput +preview false filename "foo" \end_inset or \begin_inset space ~ + \end_inset \begin_inset CommandInset include LatexCommand verbatiminput* +preview false filename "foo" \end_inset @@ -909,11 +927,10 @@ description "uniform resource locator" \begin_layout Standard An URL: -\begin_inset Flex URL +\begin_inset Flex Flex:URL status collapsed \begin_layout Plain Layout - http://www.lyx.org \end_layout @@ -932,11 +949,10 @@ description "uniform resource locator" \begin_layout Standard An URL with strange characters: -\begin_inset Flex URL +\begin_inset Flex Flex:URL status collapsed \begin_layout Plain Layout - http://www.lyx.org/percent%dollar$ \end_layout @@ -1054,6 +1070,7 @@ Lists \end_layout \begin_layout Standard + \begin_inset FloatList figure \end_inset @@ -1078,7 +1095,6 @@ inline true status collapsed \begin_layout Plain Layout - int a=5; \end_layout @@ -1092,28 +1108,25 @@ 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 @@ -1153,10 +1166,12 @@ Extended character table Space \begin_inset space ~ + \end_inset as \begin_inset space ~ + \end_inset symbol @@ -1165,63 +1180,57 @@ symbol , range lines 3 \begin_inset space \thinspace{} + \end_inset - \begin_inset space \thinspace{} + \end_inset 8: \end_layout \begin_layout Standard + \begin_inset listings lstparams "extendedchars=true,firstline=3,language=Python,lastline=8,numbers=left,showspaces=true,stepnumber=3" inline false status collapsed \begin_layout Plain Layout - def func(param): \end_layout \begin_layout Plain Layout - 'this is a python function' \end_layout \begin_layout Plain Layout - pass \end_layout \begin_layout Plain Layout - def func(param): \end_layout \begin_layout Plain Layout - 'This is a German word: Tschüß' \end_layout \begin_layout Plain Layout - pass \end_layout \begin_layout Plain Layout - def func(param): \end_layout \begin_layout Plain Layout - 'this is a python function' \end_layout \begin_layout Plain Layout - pass \end_layout @@ -1238,7 +1247,6 @@ inline false status collapsed \begin_layout Plain Layout - hello \end_layout @@ -1248,6 +1256,7 @@ hello \end_layout \begin_layout Standard + \begin_inset listings lstparams "language=TeX" inline true @@ -1255,7 +1264,6 @@ status collapsed \begin_layout Plain Layout - \backslash begin{centering} hello \end_layout @@ -1281,18 +1289,18 @@ Graphics \begin_layout Standard There is also some basic support for graphics, in the form -\begin_inset Graphics +\begin_inset Graphics filename foo.eps \end_inset , or the slightly more elaborate -\begin_inset Graphics +\begin_inset Graphics filename foo.eps width 1cm height 1cm - BoundingBox 10bp 0bp 96bp 96bp clip + BoundingBox 10bp 0bp 96bp 96bp \end_inset @@ -1314,18 +1322,14 @@ Tables \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 +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. - +textbackslash etc. \begin_inset ERT status collapsed \begin_layout Plain Layout - \backslash let \backslash @@ -1342,7 +1346,6 @@ status collapsed \begin_layout Plain Layout - \backslash let \backslash @@ -1359,7 +1362,6 @@ status collapsed \begin_layout Plain Layout - \backslash let \backslash @@ -1376,7 +1378,6 @@ status collapsed \begin_layout Plain Layout - \backslash providecommand{ \backslash @@ -1391,16 +1392,17 @@ clearpage} \end_layout \begin_layout Standard -\begin_inset Tabular + +\begin_inset Tabular - + \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard KILLED \end_layout @@ -1409,14 +1411,13 @@ KILLED \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard LINE!!!! \begin_inset ERT status collapsed \begin_layout Plain Layout - \backslash kill \end_layout @@ -1427,10 +1428,12 @@ kill \begin_inset Caption Standard \begin_layout Plain Layout + \begin_inset Argument 1 status collapsed -\begin_layout Plain Layout + +\begin_layout Standard An optional table caption (used in the list of tables) \end_layout @@ -1458,7 +1461,7 @@ name "long" \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard This part appears at the top of the table \end_layout @@ -1467,10 +1470,6 @@ This part appears at the top of the table \begin_inset Text -\begin_layout Plain Layout - -\end_layout - \end_inset @@ -1478,10 +1477,12 @@ This part appears at the top of the table \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard \shape smallcaps First +\shape default + \end_layout \end_inset @@ -1489,10 +1490,12 @@ First \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard \shape smallcaps Second +\shape default + \end_layout \end_inset @@ -1502,16 +1505,15 @@ Second \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard + \begin_inset Caption Standard \begin_layout Plain Layout + \begin_inset Argument 1 status collapsed -\begin_layout Plain Layout - -\end_layout \end_inset @@ -1528,10 +1530,6 @@ status collapsed \begin_inset Text -\begin_layout Plain Layout - -\end_layout - \end_inset @@ -1539,7 +1537,7 @@ status collapsed \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard This part appears at the top of every other page \end_layout @@ -1548,10 +1546,6 @@ This part appears at the top of every other page \begin_inset Text -\begin_layout Plain Layout - -\end_layout - \end_inset @@ -1559,10 +1553,12 @@ This part appears at the top of every other page \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard \series bold First +\series default + \end_layout \end_inset @@ -1570,10 +1566,12 @@ First \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard \series bold Second +\series default + \end_layout \end_inset @@ -1583,7 +1581,8 @@ Second \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard + \begin_inset Caption LongTableNoNumber \begin_layout Plain Layout @@ -1600,10 +1599,6 @@ standard foot \begin_inset Text -\begin_layout Plain Layout - -\end_layout - \end_inset @@ -1611,7 +1606,7 @@ standard foot \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard This goes at the \end_layout @@ -1620,7 +1615,7 @@ This goes at the \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard bottom. \end_layout @@ -1631,7 +1626,8 @@ bottom. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard + \begin_inset Caption LongTableNoNumber \begin_layout Plain Layout @@ -1648,10 +1644,6 @@ bottom. \begin_inset Text -\begin_layout Plain Layout - -\end_layout - \end_inset @@ -1659,7 +1651,7 @@ bottom. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard These lines will \end_layout @@ -1668,7 +1660,7 @@ These lines will \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard appear \end_layout @@ -1679,7 +1671,7 @@ appear \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard in place of the \end_layout @@ -1688,7 +1680,7 @@ in place of the \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard usual foot \end_layout @@ -1699,7 +1691,7 @@ usual foot \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard at the end \end_layout @@ -1708,7 +1700,7 @@ at the end \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard of the table \end_layout @@ -1719,13 +1711,13 @@ of the table \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard + \begin_inset ERT status collapsed \begin_layout Plain Layout - \backslash env \end_layout @@ -1737,7 +1729,6 @@ env status collapsed \begin_layout Plain Layout - { \end_layout @@ -1748,7 +1739,6 @@ longtable status collapsed \begin_layout Plain Layout - } \end_layout @@ -1762,7 +1752,7 @@ status collapsed \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard in the \end_layout @@ -1773,14 +1763,13 @@ in the \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard same way as in the \begin_inset ERT status collapsed \begin_layout Plain Layout - \backslash env \end_layout @@ -1792,7 +1781,6 @@ env status collapsed \begin_layout Plain Layout - { \end_layout @@ -1803,7 +1791,6 @@ tabular status collapsed \begin_layout Plain Layout - } \end_layout @@ -1817,7 +1804,7 @@ status collapsed \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard environment. \end_layout @@ -1828,13 +1815,13 @@ environment. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard + \begin_inset ERT status collapsed \begin_layout Plain Layout - \backslash code \end_layout @@ -1846,7 +1833,6 @@ code status collapsed \begin_layout Plain Layout - { \end_layout @@ -1857,7 +1843,6 @@ status collapsed status collapsed \begin_layout Plain Layout - } \end_layout @@ -1871,7 +1856,7 @@ status collapsed \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard in this case. \end_layout @@ -1882,7 +1867,7 @@ in this case. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Each row ends with a \end_layout @@ -1891,13 +1876,13 @@ Each row ends with a \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard + \begin_inset ERT status collapsed \begin_layout Plain Layout - \backslash code \end_layout @@ -1909,7 +1894,6 @@ code status collapsed \begin_layout Plain Layout - { \end_layout @@ -1924,7 +1908,6 @@ status collapsed status collapsed \begin_layout Plain Layout - } \end_layout @@ -1940,14 +1923,13 @@ status collapsed \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard The \begin_inset ERT status collapsed \begin_layout Plain Layout - \backslash code \end_layout @@ -1959,7 +1941,6 @@ code status collapsed \begin_layout Plain Layout - { \end_layout @@ -1974,7 +1955,6 @@ status collapsed status collapsed \begin_layout Plain Layout - } \end_layout @@ -1988,7 +1968,7 @@ status collapsed \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard optional \end_layout @@ -1999,7 +1979,7 @@ optional \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard argument, just as in \end_layout @@ -2008,7 +1988,7 @@ argument, just as in \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard the \end_layout @@ -2019,13 +1999,13 @@ the \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard + \begin_inset ERT status collapsed \begin_layout Plain Layout - \backslash env \end_layout @@ -2037,7 +2017,6 @@ env status collapsed \begin_layout Plain Layout - { \end_layout @@ -2048,7 +2027,6 @@ tabular status collapsed \begin_layout Plain Layout - } \end_layout @@ -2062,7 +2040,7 @@ status collapsed \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard environment. \end_layout @@ -2073,14 +2051,13 @@ environment. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard [10pt] See the effect of \begin_inset ERT status collapsed \begin_layout Plain Layout - \backslash code \end_layout @@ -2092,7 +2069,6 @@ code status collapsed \begin_layout Plain Layout - { \end_layout @@ -2107,7 +2083,6 @@ status collapsed status collapsed \begin_layout Plain Layout - } \end_layout @@ -2121,7 +2096,7 @@ status collapsed \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard ? \end_layout @@ -2132,7 +2107,7 @@ status collapsed \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -2141,7 +2116,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -2152,7 +2127,7 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -2161,7 +2136,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -2172,7 +2147,7 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -2181,7 +2156,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -2192,7 +2167,7 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -2201,7 +2176,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -2212,14 +2187,13 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Also \begin_inset ERT status collapsed \begin_layout Plain Layout - \backslash code \end_layout @@ -2231,7 +2205,6 @@ code status collapsed \begin_layout Plain Layout - { \end_layout @@ -2244,7 +2217,6 @@ hline status collapsed \begin_layout Plain Layout - } \end_layout @@ -2258,14 +2230,13 @@ status collapsed \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard as in \begin_inset ERT status collapsed \begin_layout Plain Layout - \backslash env \end_layout @@ -2277,7 +2248,6 @@ env status collapsed \begin_layout Plain Layout - { \end_layout @@ -2288,7 +2258,6 @@ tabular status collapsed \begin_layout Plain Layout - } \end_layout @@ -2304,14 +2273,13 @@ status collapsed \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard That was a \begin_inset ERT status collapsed \begin_layout Plain Layout - \backslash code \end_layout @@ -2323,7 +2291,6 @@ code status collapsed \begin_layout Plain Layout - { \end_layout @@ -2336,7 +2303,6 @@ hline status collapsed \begin_layout Plain Layout - } \end_layout @@ -2350,7 +2316,7 @@ status collapsed \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard . \end_layout @@ -2361,14 +2327,13 @@ status collapsed \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard That was \begin_inset ERT status collapsed \begin_layout Plain Layout - \backslash code \end_layout @@ -2380,7 +2345,6 @@ code status collapsed \begin_layout Plain Layout - { \end_layout @@ -2395,7 +2359,6 @@ hline status collapsed \begin_layout Plain Layout - } \end_layout @@ -2409,7 +2372,7 @@ status collapsed \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard . \end_layout @@ -2420,14 +2383,13 @@ status collapsed \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard This is a \begin_inset ERT status collapsed \begin_layout Plain Layout - \backslash code \end_layout @@ -2439,7 +2401,6 @@ code status collapsed \begin_layout Plain Layout - { \end_layout @@ -2452,7 +2413,6 @@ multicolumn{2}{||c||} status collapsed \begin_layout Plain Layout - } \end_layout @@ -2466,10 +2426,6 @@ status collapsed \begin_inset Text -\begin_layout Plain Layout - -\end_layout - \end_inset @@ -2477,14 +2433,13 @@ status collapsed \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard If a page break occurs at a \begin_inset ERT status collapsed \begin_layout Plain Layout - \backslash code \end_layout @@ -2496,7 +2451,6 @@ code status collapsed \begin_layout Plain Layout - { \end_layout @@ -2509,7 +2463,6 @@ hline status collapsed \begin_layout Plain Layout - } \end_layout @@ -2523,7 +2476,7 @@ status collapsed \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard a line is drawn \end_layout @@ -2534,7 +2487,7 @@ a line is drawn \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard at the bottom of one page and at the \end_layout @@ -2543,7 +2496,7 @@ at the bottom of one page and at the \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard top of the next. \end_layout @@ -2554,14 +2507,13 @@ top of the next. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard The \begin_inset ERT status collapsed \begin_layout Plain Layout - \backslash code \end_layout @@ -2573,7 +2525,6 @@ code status collapsed \begin_layout Plain Layout - { \end_layout @@ -2584,7 +2535,6 @@ status collapsed status collapsed \begin_layout Plain Layout - } \end_layout @@ -2596,7 +2546,6 @@ status collapsed \begin_layout Plain Layout - \backslash env \end_layout @@ -2608,7 +2557,6 @@ env status collapsed \begin_layout Plain Layout - { \end_layout @@ -2619,7 +2567,6 @@ tabular status collapsed \begin_layout Plain Layout - } \end_layout @@ -2633,7 +2580,7 @@ status collapsed \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard can not be used. \end_layout @@ -2644,7 +2591,7 @@ can not be used. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard The optional argument may be one of \end_layout @@ -2653,13 +2600,13 @@ The optional argument may be one of \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard + \begin_inset ERT status collapsed \begin_layout Plain Layout - \backslash code \end_layout @@ -2671,7 +2618,6 @@ code status collapsed \begin_layout Plain Layout - { \end_layout @@ -2682,7 +2628,6 @@ status collapsed status collapsed \begin_layout Plain Layout - } \end_layout @@ -2698,7 +2643,7 @@ status collapsed \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard to specify whether the table should be \end_layout @@ -2707,7 +2652,7 @@ to specify whether the table should be \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard adjusted \end_layout @@ -2718,7 +2663,7 @@ adjusted \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard to the left, right \end_layout @@ -2727,7 +2672,7 @@ to the left, right \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard or centrally. \end_layout @@ -2738,7 +2683,7 @@ or centrally. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -2747,7 +2692,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -2758,7 +2703,7 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -2767,7 +2712,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -2778,7 +2723,7 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -2787,7 +2732,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -2798,7 +2743,7 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -2807,7 +2752,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -2818,7 +2763,7 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -2827,7 +2772,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -2838,7 +2783,7 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -2847,7 +2792,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -2858,7 +2803,7 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -2867,7 +2812,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -2878,7 +2823,7 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -2887,7 +2832,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -2898,7 +2843,7 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -2907,7 +2852,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -2918,7 +2863,7 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -2927,7 +2872,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -2938,7 +2883,7 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -2947,7 +2892,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -2958,7 +2903,7 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -2967,7 +2912,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -2978,7 +2923,7 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -2987,7 +2932,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -2998,7 +2943,7 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -3007,7 +2952,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -3018,7 +2963,7 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -3027,7 +2972,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -3038,7 +2983,7 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -3047,7 +2992,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -3058,7 +3003,7 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -3067,7 +3012,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -3078,7 +3023,7 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -3087,7 +3032,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -3098,7 +3043,7 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -3107,7 +3052,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -3118,7 +3063,7 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -3127,7 +3072,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -3138,7 +3083,7 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Some lines may take up a lot of space, like this: \end_layout @@ -3147,13 +3092,13 @@ Some lines may take up a lot of space, like this: \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard + \begin_inset ERT status collapsed \begin_layout Plain Layout - \backslash raggedleft \end_layout @@ -3176,20 +3121,18 @@ row \begin_inset Quotes erd \end_inset - of the table can take up several lines. - Note however that \SpecialChar TeX + of the table can take up several lines. Note however that \SpecialChar TeX \begin_inset space \space{} + \end_inset -will never break a page within such a row. - Page breaks only occur between rows of the table or at +will never break a page within such a row. Page breaks only occur between rows of the table or at \begin_inset ERT status collapsed \begin_layout Plain Layout - \backslash code \end_layout @@ -3201,7 +3144,6 @@ code status collapsed \begin_layout Plain Layout - { \end_layout @@ -3214,14 +3156,12 @@ hline status collapsed \begin_layout Plain Layout - } \end_layout \end_inset - commands. - + commands. \end_layout \end_inset @@ -3231,7 +3171,7 @@ status collapsed \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -3240,7 +3180,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -3251,7 +3191,7 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -3260,7 +3200,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -3271,7 +3211,7 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -3280,7 +3220,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -3291,7 +3231,7 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -3300,7 +3240,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -3311,7 +3251,7 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -3320,7 +3260,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -3331,7 +3271,7 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -3340,7 +3280,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -3351,7 +3291,7 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -3360,7 +3300,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -3371,12 +3311,13 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots \begin_inset Foot status collapsed -\begin_layout Plain Layout + +\begin_layout Standard This is a footnote. \end_layout @@ -3390,7 +3331,7 @@ This is a footnote. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -3401,7 +3342,7 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -3410,18 +3351,19 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this \begin_inset Foot status collapsed -\begin_layout Plain Layout + +\begin_layout Standard + \begin_inset ERT status collapsed \begin_layout Plain Layout - \backslash env \end_layout @@ -3433,7 +3375,6 @@ env status collapsed \begin_layout Plain Layout - { \end_layout @@ -3444,7 +3385,6 @@ longtable status collapsed \begin_layout Plain Layout - } \end_layout @@ -3465,7 +3405,7 @@ status collapsed \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -3474,7 +3414,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -3485,7 +3425,7 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -3494,9 +3434,8 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout -like this. - +\begin_layout Standard +like this. \end_layout \end_inset @@ -3510,18 +3449,18 @@ like this. \end_layout \begin_layout Standard -From bug 7412 another example with more captions (can currently not produced - in LyX): -\begin_inset Tabular +From bug 7412 another example with more captions (can currently not produced in LyX): +\begin_inset Tabular - + \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard + \begin_inset Caption Standard \begin_layout Plain Layout @@ -3538,10 +3477,6 @@ A long table \begin_inset Text -\begin_layout Plain Layout - -\end_layout - \end_inset @@ -3549,7 +3484,8 @@ A long table \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard + \begin_inset Caption Standard \begin_layout Plain Layout @@ -3566,10 +3502,6 @@ A long table – continued \begin_inset Text -\begin_layout Plain Layout - -\end_layout - \end_inset @@ -3577,12 +3509,12 @@ A long table – continued \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard + \begin_inset ERT status collapsed \begin_layout Plain Layout - { \end_layout @@ -3593,7 +3525,6 @@ Continued on next page status collapsed \begin_layout Plain Layout - } \end_layout @@ -3607,10 +3538,6 @@ status collapsed \begin_inset Text -\begin_layout Plain Layout - -\end_layout - \end_inset @@ -3618,7 +3545,7 @@ status collapsed \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Something \end_layout @@ -3627,7 +3554,7 @@ Something \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Description \end_layout @@ -3638,7 +3565,7 @@ Description \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -3647,7 +3574,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -3658,7 +3585,7 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -3667,7 +3594,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -3678,7 +3605,7 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -3687,7 +3614,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -3698,7 +3625,7 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -3707,7 +3634,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -3718,7 +3645,7 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -3727,7 +3654,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -3738,7 +3665,7 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -3747,7 +3674,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -3758,7 +3685,7 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -3767,7 +3694,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -3778,7 +3705,7 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -3787,7 +3714,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -3798,7 +3725,7 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -3807,7 +3734,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -3818,7 +3745,7 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -3827,7 +3754,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -3838,7 +3765,7 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -3847,7 +3774,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -3858,7 +3785,7 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -3867,7 +3794,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -3878,7 +3805,7 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -3887,7 +3814,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -3898,7 +3825,7 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -3907,7 +3834,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -3918,7 +3845,7 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -3927,7 +3854,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -3938,7 +3865,7 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -3947,7 +3874,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -3958,7 +3885,7 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -3967,7 +3894,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -3978,7 +3905,7 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -3987,7 +3914,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -3998,7 +3925,7 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -4007,7 +3934,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -4018,7 +3945,7 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -4027,7 +3954,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -4038,7 +3965,7 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -4047,7 +3974,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -4058,7 +3985,7 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -4067,7 +3994,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -4078,7 +4005,7 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -4087,7 +4014,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -4098,7 +4025,7 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -4107,7 +4034,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -4118,7 +4045,7 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -4127,7 +4054,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -4138,7 +4065,7 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -4147,7 +4074,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -4158,7 +4085,7 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -4167,7 +4094,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -4178,7 +4105,7 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -4187,7 +4114,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -4198,7 +4125,7 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -4207,7 +4134,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -4218,7 +4145,7 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -4227,7 +4154,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -4238,7 +4165,7 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -4247,7 +4174,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -4258,7 +4185,7 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -4267,7 +4194,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -4278,7 +4205,7 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -4287,7 +4214,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -4298,7 +4225,7 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -4307,7 +4234,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -4318,7 +4245,7 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -4327,7 +4254,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -4338,7 +4265,7 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -4347,7 +4274,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -4358,7 +4285,7 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -4367,7 +4294,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -4378,7 +4305,7 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -4387,7 +4314,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -4398,7 +4325,7 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -4407,7 +4334,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -4418,7 +4345,7 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -4427,7 +4354,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -4438,7 +4365,7 @@ like this. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Lots of lines \end_layout @@ -4447,7 +4374,7 @@ Lots of lines \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard like this. \end_layout @@ -4466,27 +4393,27 @@ A table*: \end_layout \begin_layout Standard + \begin_inset ERT status collapsed \begin_layout Plain Layout - % some comment \end_layout \end_inset -\begin_inset Tabular +\begin_inset Tabular - + \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard two \end_layout @@ -4495,10 +4422,6 @@ two \begin_inset Text -\begin_layout Plain Layout - -\end_layout - \end_inset @@ -4506,7 +4429,7 @@ two \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard lonely \end_layout @@ -4515,7 +4438,7 @@ lonely \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard lines \end_layout @@ -4534,16 +4457,20 @@ A booktabs table: \end_layout \begin_layout Standard + \begin_inset Float table placement h wide false sideways false status open -\begin_layout Plain Layout + +\begin_layout Standard + \begin_inset Caption Standard \begin_layout Plain Layout + \begin_inset CommandInset label LatexCommand label name "tab:Special-booktabs-table" @@ -4558,13 +4485,13 @@ Special booktabs-table \end_layout -\begin_layout Plain Layout +\begin_layout Standard + \begin_inset ERT status collapsed \begin_layout Plain Layout - \backslash centering \end_layout @@ -4576,16 +4503,15 @@ centering status collapsed \begin_layout Plain Layout - {} \end_layout \end_inset -\begin_inset Tabular +\begin_inset Tabular - + @@ -4594,7 +4520,7 @@ status collapsed \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard System \end_layout @@ -4603,9 +4529,10 @@ System \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Chip \begin_inset space \thinspace{} + \end_inset 1 @@ -4616,9 +4543,10 @@ Chip \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Chip \begin_inset space \thinspace{} + \end_inset 2 @@ -4629,10 +4557,6 @@ Chip \begin_inset Text -\begin_layout Plain Layout - -\end_layout - \end_inset @@ -4640,13 +4564,13 @@ Chip \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard + \begin_inset ERT status collapsed \begin_layout Plain Layout - \backslash cmidrule \end_layout @@ -4658,7 +4582,6 @@ cmidrule status collapsed \begin_layout Plain Layout - { \end_layout @@ -4669,7 +4592,6 @@ status collapsed status collapsed \begin_layout Plain Layout - } \end_layout @@ -4681,7 +4603,6 @@ status collapsed \begin_layout Plain Layout - \backslash cmidrule \end_layout @@ -4693,7 +4614,6 @@ cmidrule status collapsed \begin_layout Plain Layout - { \end_layout @@ -4704,7 +4624,6 @@ status collapsed status collapsed \begin_layout Plain Layout - } \end_layout @@ -4716,7 +4635,6 @@ status collapsed \begin_layout Plain Layout - \backslash morecmidrules \end_layout @@ -4729,7 +4647,6 @@ status collapsed \begin_layout Plain Layout - \backslash cmidrule \end_layout @@ -4741,7 +4658,6 @@ cmidrule status collapsed \begin_layout Plain Layout - { \end_layout @@ -4752,7 +4668,6 @@ status collapsed status collapsed \begin_layout Plain Layout - } \end_layout @@ -4766,7 +4681,7 @@ Detector thickness in µm \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard 300 \end_layout @@ -4775,7 +4690,7 @@ Detector thickness in µm \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard 300 \end_layout @@ -4784,7 +4699,7 @@ Detector thickness in µm \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard 700 \end_layout @@ -4795,7 +4710,7 @@ Detector thickness in µm \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Edge angle in ° \end_layout @@ -4804,7 +4719,7 @@ Edge angle in ° \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard 3.55 \end_layout @@ -4813,7 +4728,7 @@ Edge angle in ° \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard 2.71 \end_layout @@ -4822,7 +4737,7 @@ Edge angle in ° \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard 7.99 \end_layout @@ -4833,7 +4748,7 @@ Edge angle in ° \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Spatial resolution in µm \end_layout @@ -4842,7 +4757,7 @@ Spatial resolution in µm \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard 4.26 \end_layout @@ -4851,7 +4766,7 @@ Spatial resolution in µm \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard 10.17 \end_layout @@ -4860,7 +4775,7 @@ Spatial resolution in µm \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard 10.56 \end_layout @@ -4871,7 +4786,7 @@ Spatial resolution in µm \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard MTF at \begin_inset Formula $f_{\mathrm{max}}$ \end_inset @@ -4884,7 +4799,7 @@ MTF at \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard 0.53 \end_layout @@ -4893,7 +4808,7 @@ MTF at \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard 0.37 \end_layout @@ -4902,7 +4817,7 @@ MTF at \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard 0.39 \end_layout @@ -4913,13 +4828,13 @@ MTF at \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard + \begin_inset ERT status collapsed \begin_layout Plain Layout - \backslash morecmidrules \end_layout @@ -4932,7 +4847,6 @@ status collapsed \begin_layout Plain Layout - \backslash cmidrule \end_layout @@ -4944,7 +4858,6 @@ cmidrule status collapsed \begin_layout Plain Layout - { \end_layout @@ -4955,7 +4868,6 @@ status collapsed status collapsed \begin_layout Plain Layout - } \end_layout @@ -4969,28 +4881,16 @@ LSF-spatial resolution \begin_inset Text -\begin_layout Plain Layout - -\end_layout - \end_inset \begin_inset Text -\begin_layout Plain Layout - -\end_layout - \end_inset \begin_inset Text -\begin_layout Plain Layout - -\end_layout - \end_inset @@ -4998,7 +4898,7 @@ LSF-spatial resolution \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard in µm \end_layout @@ -5007,7 +4907,7 @@ in µm \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard 129.7 \end_layout @@ -5016,7 +4916,7 @@ in µm \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard 52.75 \end_layout @@ -5025,7 +4925,7 @@ in µm \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard 50.78 \end_layout @@ -5036,7 +4936,7 @@ in µm \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard in % of pixel size \end_layout @@ -5045,7 +4945,7 @@ in % of pixel size \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard 76.3 \end_layout @@ -5054,7 +4954,7 @@ in % of pixel size \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard 95.9 \end_layout @@ -5063,7 +4963,7 @@ in % of pixel size \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard 92.3 \end_layout @@ -5087,15 +4987,18 @@ A table using dcolumn: \end_layout \begin_layout Standard + \begin_inset Float table wide false sideways false status open -\begin_layout Plain Layout -\begin_inset Tabular + +\begin_layout Standard + +\begin_inset Tabular - + @@ -5105,7 +5008,7 @@ status open \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard One \end_layout @@ -5114,7 +5017,7 @@ One \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard Two \end_layout @@ -5123,10 +5026,12 @@ Two \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard \family roman Three +\family default + \end_layout \end_inset @@ -5134,10 +5039,12 @@ Three \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard \family roman Four +\family default + \end_layout \end_inset @@ -5145,10 +5052,12 @@ Four \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard \family roman Five +\family default + \end_layout \end_inset @@ -5158,7 +5067,7 @@ Five \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard one \end_layout @@ -5167,7 +5076,7 @@ one \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard two \end_layout @@ -5176,7 +5085,8 @@ two \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard + \begin_inset Box Frameless position "c" hor_pos "c" @@ -5193,7 +5103,8 @@ separation "3pt" shadowsize "4pt" status open -\begin_layout Plain Layout + +\begin_layout Standard three \end_layout @@ -5207,7 +5118,8 @@ three \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard + \begin_inset Box Frameless position "c" hor_pos "c" @@ -5224,7 +5136,8 @@ separation "3pt" shadowsize "4pt" status open -\begin_layout Plain Layout + +\begin_layout Standard four \end_layout @@ -5238,7 +5151,8 @@ four \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard + \begin_inset Box Frameless position "c" hor_pos "c" @@ -5255,7 +5169,8 @@ separation "3pt" shadowsize "4pt" status open -\begin_layout Plain Layout + +\begin_layout Standard five \end_layout @@ -5271,7 +5186,7 @@ five \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard He \end_layout @@ -5280,7 +5195,7 @@ He \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard 2 \end_layout @@ -5289,7 +5204,7 @@ He \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard 2.77234 \end_layout @@ -5298,9 +5213,8 @@ He \begin_inset Text -\begin_layout Plain Layout -45672. - +\begin_layout Standard +45672. \end_layout \end_inset @@ -5308,7 +5222,7 @@ He \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard 0.69 \end_layout @@ -5319,12 +5233,13 @@ He \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard C \begin_inset Foot status collapsed -\begin_layout Plain Layout + +\begin_layout Standard Some tables require footnotes. \end_layout @@ -5338,12 +5253,13 @@ Some tables require footnotes. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard C \begin_inset Foot status collapsed -\begin_layout Plain Layout + +\begin_layout Standard Some tables need more than one footnote. \end_layout @@ -5357,7 +5273,7 @@ Some tables need more than one footnote. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard 12537.64 \end_layout @@ -5366,7 +5282,7 @@ Some tables need more than one footnote. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard 37.66345 \end_layout @@ -5375,7 +5291,7 @@ Some tables need more than one footnote. \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard 86.37 \end_layout @@ -5401,22 +5317,22 @@ Macros \begin_layout Standard LyX supports several kinds of macros: def \begin_inset FormulaMacro -\newcommand{\macroa}[1]{a #1 a} +\def\macroa #1{a #1 a} \end_inset global def \begin_inset FormulaMacro -\newcommand{\macrob}[1]{b #1 b} +\def\macrob #1{b #1 b} \end_inset long def \begin_inset FormulaMacro -\newcommand{\macroc}[1]{c #1 c} +\def\macroc #1{c #1 c} \end_inset global long def \begin_inset FormulaMacro -\newcommand{\macrod}[1]{d #1 d} +\def\macrod #1{d #1 d} \end_inset providecommand @@ -5425,7 +5341,6 @@ status collapsed \begin_layout Plain Layout - \backslash providecommand{ \backslash @@ -5440,7 +5355,6 @@ status collapsed \begin_layout Plain Layout - \backslash providecommand*{ \backslash @@ -5465,7 +5379,6 @@ status collapsed \begin_layout Plain Layout - \backslash newcommand*{ \backslash @@ -5480,7 +5393,6 @@ status collapsed \begin_layout Plain Layout - \backslash renewcommand*{ \backslash @@ -5495,7 +5407,6 @@ status collapsed \begin_layout Plain Layout - \backslash providecommandx{ \backslash @@ -5510,7 +5421,6 @@ status collapsed \begin_layout Plain Layout - \backslash providecommandx*{ \backslash @@ -5521,12 +5431,12 @@ macrok}[1]{l #1 l} newcommandx \begin_inset FormulaMacro -\newcommand{\macrom}[1]{m #1 m} +\newcommandx{\macrom}[1]{m #1 m} \end_inset renewcommandx \begin_inset FormulaMacro -\renewcommand{\macrom}[1]{n #1 n} +\renewcommandx{\macrom}[1]{n #1 n} \end_inset newcommandx* @@ -5535,7 +5445,6 @@ status collapsed \begin_layout Plain Layout - \backslash newcommandx*{ \backslash @@ -5550,7 +5459,6 @@ status collapsed \begin_layout Plain Layout - \backslash renewcommandx*{ \backslash @@ -5565,7 +5473,6 @@ status collapsed \begin_layout Plain Layout - \backslash DeclareRobustCommand{ \backslash @@ -5580,7 +5487,6 @@ status collapsed \begin_layout Plain Layout - \backslash DeclareRobustCommand*{ \backslash @@ -5595,7 +5501,6 @@ status collapsed \begin_layout Plain Layout - \backslash DeclareRobustCommandx{ \backslash @@ -5610,7 +5515,6 @@ status collapsed \begin_layout Plain Layout - \backslash DeclareRobustCommandx*{ \backslash @@ -5629,7 +5533,6 @@ status collapsed \begin_layout Plain Layout - \backslash macroa \end_layout @@ -5641,7 +5544,6 @@ macroa status collapsed \begin_layout Plain Layout - { \end_layout @@ -5652,7 +5554,6 @@ x status collapsed \begin_layout Plain Layout - } \end_layout @@ -5664,7 +5565,6 @@ status collapsed \begin_layout Plain Layout - \backslash macrob \end_layout @@ -5676,7 +5576,6 @@ macrob status collapsed \begin_layout Plain Layout - { \end_layout @@ -5687,7 +5586,6 @@ x status collapsed \begin_layout Plain Layout - } \end_layout @@ -5699,7 +5597,6 @@ status collapsed \begin_layout Plain Layout - \backslash macroc \end_layout @@ -5711,7 +5608,6 @@ macroc status collapsed \begin_layout Plain Layout - { \end_layout @@ -5722,7 +5618,6 @@ x status collapsed \begin_layout Plain Layout - } \end_layout @@ -5734,7 +5629,6 @@ status collapsed \begin_layout Plain Layout - \backslash macrod \end_layout @@ -5746,7 +5640,6 @@ macrod status collapsed \begin_layout Plain Layout - { \end_layout @@ -5757,7 +5650,6 @@ x status collapsed \begin_layout Plain Layout - } \end_layout @@ -5769,7 +5661,6 @@ status collapsed \begin_layout Plain Layout - \backslash macroe{ \end_layout @@ -5781,7 +5672,6 @@ x status collapsed \begin_layout Plain Layout - } \end_layout @@ -5793,7 +5683,6 @@ status collapsed \begin_layout Plain Layout - \backslash macrof{ \end_layout @@ -5805,7 +5694,6 @@ x status collapsed \begin_layout Plain Layout - } \end_layout @@ -5817,7 +5705,6 @@ status collapsed \begin_layout Plain Layout - \backslash macrog{ \end_layout @@ -5829,7 +5716,6 @@ x status collapsed \begin_layout Plain Layout - } \end_layout @@ -5841,7 +5727,6 @@ status collapsed \begin_layout Plain Layout - \backslash macroi{ \end_layout @@ -5853,7 +5738,6 @@ x status collapsed \begin_layout Plain Layout - } \end_layout @@ -5865,7 +5749,6 @@ status collapsed \begin_layout Plain Layout - \backslash macrok{ \end_layout @@ -5877,7 +5760,6 @@ x status collapsed \begin_layout Plain Layout - } \end_layout @@ -5889,7 +5771,6 @@ status collapsed \begin_layout Plain Layout - \backslash macrom{ \end_layout @@ -5901,7 +5782,6 @@ x status collapsed \begin_layout Plain Layout - } \end_layout @@ -5913,7 +5793,6 @@ status collapsed \begin_layout Plain Layout - \backslash macroo{ \end_layout @@ -5925,7 +5804,6 @@ x status collapsed \begin_layout Plain Layout - } \end_layout @@ -5937,7 +5815,6 @@ status collapsed \begin_layout Plain Layout - \backslash macroq{ \end_layout @@ -5949,7 +5826,6 @@ x status collapsed \begin_layout Plain Layout - } \end_layout @@ -5961,7 +5837,6 @@ status collapsed \begin_layout Plain Layout - \backslash macror{ \end_layout @@ -5973,7 +5848,6 @@ x status collapsed \begin_layout Plain Layout - } \end_layout @@ -5984,7 +5858,6 @@ status collapsed status collapsed \begin_layout Plain Layout - % \backslash macros{x} @@ -6021,12 +5894,15 @@ test \begin_layout Standard +\size tiny + \end_layout \begin_layout Standard \noindent \size tiny + \begin_inset CommandInset line LatexCommand rule offset "0.5ex" @@ -6036,6 +5912,10 @@ height "1pt" \end_inset +\size default + +\size tiny + \end_layout \begin_layout Standard @@ -6052,6 +5932,7 @@ test \begin_layout Standard \noindent + \begin_inset CommandInset line LatexCommand rule offset "0.5ex" @@ -6069,12 +5950,15 @@ test \begin_layout Standard +\size giant + \end_layout \begin_layout Standard \noindent \size giant + \begin_inset CommandInset line LatexCommand rule offset "0.5ex" @@ -6084,6 +5968,10 @@ height "1pt" \end_inset +\size default + +\size giant + \end_layout \begin_layout Subsection @@ -6108,6 +5996,7 @@ test \end_layout \begin_layout Standard + \begin_inset CommandInset line LatexCommand rule offset "0.5ex" @@ -6121,6 +6010,7 @@ height "1pt" \begin_layout Standard \noindent + \begin_inset CommandInset line LatexCommand rule width "1ex" @@ -6134,6 +6024,7 @@ test \begin_layout Standard \color red + \begin_inset CommandInset line LatexCommand rule offset "-4ex" @@ -6143,6 +6034,8 @@ height "1cm" \end_inset +\color inherit + \end_layout \begin_layout Subsection @@ -6172,8 +6065,9 @@ status open \color green W -\series bold \color inherit + +\series bold ow \series default @@ -6210,6 +6104,7 @@ test \end_layout \begin_layout Standard + \begin_inset Formula $test\hphantom{Wow}test$ \end_inset @@ -6217,17 +6112,17 @@ test \end_layout \begin_layout Standard -\begin_inset Formula -\[ + +\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 @@ -6239,6 +6134,7 @@ TIPA \end_layout \begin_layout Standard + \begin_inset IPA \begin_layout Standard @@ -6318,6 +6214,7 @@ l \end_layout \begin_layout Standard + \begin_inset IPA \begin_layout Standard @@ -6327,7 +6224,6 @@ status collapsed \begin_layout Plain Layout - \backslash : \end_layout @@ -6340,7 +6236,6 @@ status collapsed \begin_layout Plain Layout - \backslash : \end_layout @@ -6353,7 +6248,6 @@ status collapsed \begin_layout Plain Layout - \backslash ; \end_layout @@ -6375,7 +6269,6 @@ status collapsed \begin_layout Plain Layout - \backslash : \end_layout @@ -6388,7 +6281,6 @@ status collapsed \begin_layout Plain Layout - \backslash ; \end_layout @@ -6401,7 +6293,6 @@ status collapsed \begin_layout Plain Layout - \backslash ; \end_layout @@ -6414,7 +6305,6 @@ status collapsed \begin_layout Plain Layout - \backslash ; \end_layout @@ -6430,12 +6320,12 @@ RR \begin_inset IPA \begin_layout Standard + \begin_inset ERT status collapsed \begin_layout Plain Layout - \backslash : \end_layout @@ -6448,7 +6338,6 @@ status collapsed \begin_layout Plain Layout - \backslash : \end_layout @@ -6464,12 +6353,12 @@ s \begin_inset IPA \begin_layout Standard + \begin_inset ERT status collapsed \begin_layout Plain Layout - \backslash : \end_layout @@ -6491,7 +6380,6 @@ status collapsed \begin_layout Plain Layout - \backslash : \end_layout @@ -6504,7 +6392,6 @@ status collapsed \begin_layout Plain Layout - \backslash : \end_layout @@ -6517,7 +6404,6 @@ status collapsed \begin_layout Plain Layout - \backslash ; \end_layout @@ -6533,6 +6419,7 @@ L \end_layout \begin_layout Standard + \begin_inset IPA \begin_layout Standard @@ -6545,6 +6432,7 @@ L \end_layout \begin_layout Standard + \begin_inset IPA \begin_layout Standard @@ -6561,6 +6449,7 @@ Ueø987o@Eœ3ɞ2Oæ5aɶA6 \end_layout \begin_layout Standard + \begin_inset IPA \begin_layout Standard @@ -6570,7 +6459,6 @@ status collapsed \begin_layout Plain Layout - \backslash ; \end_layout @@ -6581,7 +6469,7 @@ HʢʡCʑɺɧ \begin_inset IPADeco toptiebar status open -\begin_layout Plain Layout +\begin_layout Standard ar \end_layout @@ -6591,7 +6479,7 @@ ar \begin_inset IPADeco bottomtiebar status open -\begin_layout Plain Layout +\begin_layout Standard tz \end_layout @@ -6606,6 +6494,7 @@ tz \end_layout \begin_layout Standard + \begin_inset IPA \begin_layout Standard @@ -6614,7 +6503,6 @@ tz status collapsed \begin_layout Plain Layout - { \end_layout @@ -6625,7 +6513,6 @@ status collapsed status collapsed \begin_layout Plain Layout - } \end_layout @@ -6640,6 +6527,7 @@ status collapsed \end_layout \begin_layout Standard + \begin_inset IPA \begin_layout Standard @@ -6658,7 +6546,7 @@ status collapsed \begin_layout Standard TIPA code in math: -\begin_inset Formula $\textipa{˥|\text{\!b{}\!d{}\!g{}\!G{}\textglobfall{}\textvertline{}\textdoublevertline{}}}$ +\begin_inset Formula $\textipa{\tone{55}|\text{\!b{}\!d{}\!g{}\!G{}\textglobfall{}\textvertline{}\textdoublevertline{}}}$ \end_inset @@ -6689,7 +6577,6 @@ status collapsed \begin_layout Plain Layout - \backslash \backslash @@ -6704,7 +6591,6 @@ status collapsed \begin_layout Plain Layout - \backslash \backslash @@ -6727,7 +6613,6 @@ status collapsed \begin_layout Plain Layout - \backslash linebreak[4] \end_layout @@ -6738,14 +6623,12 @@ linebreak[4] \end_layout \begin_layout Standard -There are even newlines with weird arguments, but these are not handled - by LyX +There are even newlines with weird arguments, but these are not handled by LyX \begin_inset ERT status collapsed \begin_layout Plain Layout - \backslash \backslash @@ -6786,7 +6669,6 @@ status collapsed \begin_layout Plain Layout - \backslash pagebreak[4] \end_layout @@ -6811,34 +6693,28 @@ Special characters \end_layout \begin_layout Standard -Then one has those macros with a long name for a short meaning, like ~, - ^ or +Then one has those macros with a long name for a short meaning, like ~, ^ or \backslash , \SpecialChar breakableslash , \SpecialChar nobreakdash - and the characters that LaTeX wants to espace because they are active, - like _&#${}%. + 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 softhyphen nation mark, ellipsis\SpecialChar ldots -, and end-of-se -ntence\SpecialChar endofsentence +, 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 -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: - +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 - {} \end_layout @@ -6849,7 +6725,6 @@ status collapsed status collapsed \begin_layout Plain Layout - {} \end_layout @@ -6860,7 +6735,6 @@ status collapsed status collapsed \begin_layout Plain Layout - {} \end_layout @@ -6871,7 +6745,6 @@ status collapsed status collapsed \begin_layout Plain Layout - {} \end_layout @@ -6882,7 +6755,6 @@ status collapsed status collapsed \begin_layout Plain Layout - {} \end_layout @@ -6893,7 +6765,6 @@ status collapsed status collapsed \begin_layout Plain Layout - {} \end_layout @@ -6904,18 +6775,14 @@ status collapsed \begin_layout Standard LyX translates the phrases LyX, TeX, LaTeX2e and LaTeX to the commands \SpecialChar LyX -, - \SpecialChar TeX +, \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. +. 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 -Test for whitespace handling of commands: The following lines should result - in identical output: +Test for whitespace handling of commands: The following lines should result in identical output: \end_layout \begin_layout Standard @@ -6925,7 +6792,6 @@ status collapsed \begin_layout Plain Layout - \backslash mycommand \end_layout @@ -6937,7 +6803,6 @@ mycommand status collapsed \begin_layout Plain Layout - {} \end_layout @@ -6953,7 +6818,6 @@ status collapsed \begin_layout Plain Layout - \backslash mycommand \end_layout @@ -6965,7 +6829,6 @@ mycommand status collapsed \begin_layout Plain Layout - {} \end_layout @@ -6981,7 +6844,6 @@ status collapsed \begin_layout Plain Layout - \backslash mycommand \end_layout @@ -6993,7 +6855,6 @@ mycommand status collapsed \begin_layout Plain Layout - % and another \end_layout @@ -7004,7 +6865,6 @@ status collapsed status collapsed \begin_layout Plain Layout - {} \end_layout @@ -7021,6 +6881,8 @@ A sub sc \emph on ript +\emph default + \end_layout \end_inset @@ -7030,7 +6892,7 @@ ript \begin_layout Plain Layout script with -\begin_inset Formula $a^{2}+b^{2}=c^{2}$ +\begin_inset Formula $a^2+b^2=c^2$ \end_inset math @@ -7046,8 +6908,7 @@ latex2writer outputs quotes in braces like \begin_inset Quotes ers \end_inset -. - We swallow the, but this was one broken (bug 8903). +. We swallow the, but this was one broken (bug 8903). \end_layout \begin_layout Section @@ -7066,9 +6927,10 @@ Mathematics \begin_layout Standard Let -\begin_inset Formula $f:\left[a,b\right]\rightarrow%TCIMACRO{\U{211d}}% +\begin_inset Formula $f:\left[ a,b\right] \rightarrow%TCIMACRO{\U{211d} }% %BeginExpansion -\mathbb{R}%EndExpansion +\mathbb{R} +%EndExpansion $ \end_inset @@ -7088,7 +6950,6 @@ status collapsed \begin_layout Plain Layout - \backslash addcontentsline{toc}{section}{test} \end_layout @@ -7141,12 +7002,12 @@ addcontentsline: \end_layout \begin_layout Standard + \begin_inset ERT status collapsed \begin_layout Plain Layout - \backslash bibliographystyle{test} \end_layout @@ -7159,7 +7020,6 @@ status collapsed \begin_layout Plain Layout - \backslash addcontentsline{toc}{section}{test} \end_layout @@ -7203,6 +7063,7 @@ undefined index: \end_layout \begin_layout Standard + \begin_inset CommandInset index_print LatexCommand printindex type "idx" @@ -7217,6 +7078,7 @@ index "idx": \end_layout \begin_layout Standard + \begin_inset CommandInset index_print LatexCommand printindex type "idx" @@ -7231,6 +7093,7 @@ index "new": \end_layout \begin_layout Standard + \begin_inset CommandInset index_print LatexCommand printindex type "new" @@ -7245,6 +7108,7 @@ subindex "new": \end_layout \begin_layout Standard + \begin_inset CommandInset index_print LatexCommand printsubindex type "idx" @@ -7259,6 +7123,7 @@ index of all indices: \end_layout \begin_layout Standard + \begin_inset CommandInset index_print LatexCommand printindex* @@ -7272,6 +7137,7 @@ subindex of all indices: \end_layout \begin_layout Standard + \begin_inset CommandInset index_print LatexCommand printsubindex* @@ -7285,6 +7151,7 @@ normal nomenclature: \end_layout \begin_layout Standard + \begin_inset CommandInset nomencl_print LatexCommand printnomenclature set_width "none" @@ -7301,7 +7168,6 @@ status collapsed \begin_layout Plain Layout - \backslash settowidth{ \backslash @@ -7325,11 +7191,11 @@ nomenclature with set width: \end_layout \begin_layout Standard + \begin_inset CommandInset nomencl_print LatexCommand printnomenclature set_width "custom" width "2line%" - \end_inset diff --git a/src/tex2lyx/test/test-memoir.lyx.lyx b/src/tex2lyx/test/test-memoir.lyx.lyx index 9bf80b3d5c..ee8c8d8bf9 100644 --- a/src/tex2lyx/test/test-memoir.lyx.lyx +++ b/src/tex2lyx/test/test-memoir.lyx.lyx @@ -1,5 +1,5 @@ -#LyX 2.2 created this file. For more info see http://www.lyx.org/ -\lyxformat 491 +#LyX file created by tex2lyx 2.2 +\lyxformat 490 \begin_document \begin_header \origin roundtrip @@ -8,6 +8,7 @@ \usepackage{babel} + \end_preamble \options oldfontcommands \use_default_options false @@ -81,7 +82,8 @@ epigraph \begin_inset Argument post:1 status collapsed -\begin_layout Plain Layout + +\begin_layout Standard source \end_layout diff --git a/src/tex2lyx/test/test-modules.lyx.lyx b/src/tex2lyx/test/test-modules.lyx.lyx index 0ac2fc8d66..b1e2247d58 100644 --- a/src/tex2lyx/test/test-modules.lyx.lyx +++ b/src/tex2lyx/test/test-modules.lyx.lyx @@ -1,17 +1,16 @@ -#LyX 2.2 created this file. For more info see http://www.lyx.org/ -\lyxformat 491 +#LyX file created by tex2lyx 2.2 +\lyxformat 490 \begin_document \begin_header \origin roundtrip \textclass amsart \begin_preamble \usepackage{babel} + \end_preamble \use_default_options false \begin_modules theorems-ams -eqs-within-sections -figs-within-sections \end_modules \maintain_unincluded_children false \language english @@ -87,15 +86,11 @@ It has a theorem, a lemma and a proof. \end_layout \begin_layout Standard -The theorem is recognized is a style provided by the module theorems-ams, - since the preamble code matches. +The theorem is recognized is a style provided by the module theorems-ams, since the preamble code matches. \end_layout \begin_layout Standard -The lemma is not recognized as a command provided by a module, since the - preamble code is from an older version of LyX, and modules are only loaded - if the preamble code matches (otherwise you could easily get completely - different output for some often used names like +The lemma is not recognized as a command provided by a module, since the preamble code is from an older version of LyX, and modules are only loaded if the preamble code matches (otherwise you could easily get completely different output for some often used names like \backslash theorem. \end_layout @@ -105,12 +100,12 @@ The proof is recognized as a builtin style provided by the text class. \end_layout \begin_layout Standard + \begin_inset ERT status collapsed \begin_layout Plain Layout - \backslash begin{lem} \end_layout @@ -123,7 +118,6 @@ status collapsed \begin_layout Plain Layout - \backslash end{lem} \end_layout diff --git a/src/tex2lyx/test/test-refstyle-theorems.lyx.lyx b/src/tex2lyx/test/test-refstyle-theorems.lyx.lyx index 9595ecb68b..55b1266046 100644 --- a/src/tex2lyx/test/test-refstyle-theorems.lyx.lyx +++ b/src/tex2lyx/test/test-refstyle-theorems.lyx.lyx @@ -1,11 +1,12 @@ -#LyX 2.2 created this file. For more info see http://www.lyx.org/ -\lyxformat 491 +#LyX file created by tex2lyx 2.2 +\lyxformat 490 \begin_document \begin_header \origin roundtrip \textclass book \begin_preamble \usepackage{babel} + \end_preamble \use_default_options false \begin_modules @@ -88,6 +89,7 @@ name "part:part" \end_layout \begin_layout Standard + \begin_inset CommandInset ref LatexCommand formatted reference "part:part" @@ -109,6 +111,7 @@ name "chap:chapter" \end_layout \begin_layout Standard + \begin_inset CommandInset ref LatexCommand formatted reference "chap:chapter" @@ -130,6 +133,7 @@ name "sec:Section" \end_layout \begin_layout Standard + \begin_inset CommandInset ref LatexCommand formatted reference "sec:Section" @@ -195,6 +199,7 @@ name "par:paragraph" \end_layout \begin_layout Standard + \begin_inset CommandInset ref LatexCommand formatted reference "par:paragraph" @@ -216,6 +221,7 @@ name "par:subparagraph" \end_layout \begin_layout Standard + \begin_inset CommandInset ref LatexCommand formatted reference "par:subparagraph" @@ -226,18 +232,20 @@ reference "par:subparagraph" \end_layout \begin_layout Standard + \begin_inset Float figure wide false sideways false status open -\begin_layout Plain Layout + +\begin_layout Standard + \begin_inset ERT status collapsed \begin_layout Plain Layout - \backslash protect \end_layout @@ -269,6 +277,7 @@ name "fig:figure" \end_layout \begin_layout Standard + \begin_inset CommandInset ref LatexCommand formatted reference "fig:figure" @@ -279,18 +288,20 @@ reference "fig:figure" \end_layout \begin_layout Standard + \begin_inset Float table wide false sideways false status open -\begin_layout Plain Layout + +\begin_layout Standard + \begin_inset ERT status collapsed \begin_layout Plain Layout - \backslash protect \end_layout @@ -322,6 +333,7 @@ name "tab:table" \end_layout \begin_layout Standard + \begin_inset CommandInset ref LatexCommand formatted reference "tab:table" @@ -332,18 +344,20 @@ reference "tab:table" \end_layout \begin_layout Standard + \begin_inset Float algorithm wide false sideways false status open -\begin_layout Plain Layout + +\begin_layout Standard + \begin_inset ERT status collapsed \begin_layout Plain Layout - \backslash protect \end_layout @@ -375,6 +389,7 @@ name "alg:algorithm" \end_layout \begin_layout Standard + \begin_inset CommandInset ref LatexCommand formatted reference "alg:algorithm" @@ -385,10 +400,12 @@ reference "alg:algorithm" \end_layout \begin_layout Standard + \begin_inset Foot status collapsed -\begin_layout Plain Layout + +\begin_layout Standard foot \begin_inset CommandInset label LatexCommand label @@ -405,6 +422,7 @@ name "fn:foot" \end_layout \begin_layout Standard + \begin_inset CommandInset ref LatexCommand formatted reference "fn:foot" @@ -415,10 +433,12 @@ reference "fn:foot" \end_layout \begin_layout Standard + \begin_inset Marginal status collapsed -\begin_layout Plain Layout + +\begin_layout Standard margin \begin_inset CommandInset label LatexCommand label @@ -435,6 +455,7 @@ name "margin" \end_layout \begin_layout Standard + \begin_inset CommandInset ref LatexCommand ref reference "margin" @@ -456,6 +477,7 @@ name "enu:item" \end_layout \begin_layout Standard + \begin_inset CommandInset ref LatexCommand formatted reference "enu:item" @@ -466,17 +488,17 @@ reference "enu:item" \end_layout \begin_layout Standard -\begin_inset Formula -\begin{equation} + +\begin_inset Formula \begin{equation} A=B\label{eq:A=00003DB} \end{equation} - \end_inset \end_layout \begin_layout Standard + \begin_inset CommandInset ref LatexCommand formatted reference "eq:A=00003DB" @@ -498,6 +520,7 @@ name "lem:lemma" \end_layout \begin_layout Lemma + \begin_inset CommandInset ref LatexCommand formatted reference "lem:lemma" @@ -519,6 +542,7 @@ name "thm:theorem" \end_layout \begin_layout Theorem + \begin_inset CommandInset ref LatexCommand formatted reference "thm:theorem" @@ -540,6 +564,7 @@ name "cor:corollary" \end_layout \begin_layout Corollary + \begin_inset CommandInset ref LatexCommand formatted reference "cor:corollary" @@ -561,6 +586,7 @@ name "prop:proposition" \end_layout \begin_layout Proposition + \begin_inset CommandInset ref LatexCommand formatted reference "prop:proposition" @@ -582,6 +608,7 @@ name "conjecture" \end_layout \begin_layout Conjecture + \begin_inset CommandInset ref LatexCommand ref reference "conjecture" @@ -603,6 +630,7 @@ name "fact" \end_layout \begin_layout Fact + \begin_inset CommandInset ref LatexCommand ref reference "fact" @@ -624,6 +652,7 @@ name "definition" \end_layout \begin_layout Definition + \begin_inset CommandInset ref LatexCommand ref reference "definition" @@ -645,6 +674,7 @@ name "example" \end_layout \begin_layout Example + \begin_inset CommandInset ref LatexCommand ref reference "example" @@ -666,6 +696,7 @@ name "problem" \end_layout \begin_layout Problem + \begin_inset CommandInset ref LatexCommand ref reference "problem" @@ -687,6 +718,7 @@ name "exercise" \end_layout \begin_layout Exercise + \begin_inset CommandInset ref LatexCommand ref reference "exercise" @@ -708,6 +740,7 @@ name "remark" \end_layout \begin_layout Remark + \begin_inset CommandInset ref LatexCommand ref reference "remark" @@ -729,6 +762,7 @@ name "claim" \end_layout \begin_layout Claim + \begin_inset CommandInset ref LatexCommand ref reference "claim" @@ -750,6 +784,7 @@ name "proof" \end_layout \begin_layout Proof + \begin_inset CommandInset ref LatexCommand ref reference "proof" diff --git a/src/tex2lyx/test/test-scr.lyx.lyx b/src/tex2lyx/test/test-scr.lyx.lyx index bc7eb493f2..323dbedd64 100644 --- a/src/tex2lyx/test/test-scr.lyx.lyx +++ b/src/tex2lyx/test/test-scr.lyx.lyx @@ -1,11 +1,12 @@ -#LyX 2.2 created this file. For more info see http://www.lyx.org/ -\lyxformat 491 +#LyX file created by tex2lyx 2.2 +\lyxformat 490 \begin_document \begin_header \origin roundtrip \textclass scrbook \begin_preamble \usepackage{babel} + \end_preamble \use_default_options false \maintain_unincluded_children false @@ -151,12 +152,15 @@ name "par:subparagraph" \end_layout \begin_layout Standard + \begin_inset Float figure wide false sideways false status open -\begin_layout Plain Layout + +\begin_layout Standard + \begin_inset Caption Above \begin_layout Plain Layout @@ -181,12 +185,15 @@ name "fig:figure" \end_layout \begin_layout Standard + \begin_inset Float table wide false sideways false status open -\begin_layout Plain Layout + +\begin_layout Standard + \begin_inset Caption Below \begin_layout Plain Layout diff --git a/src/tex2lyx/test/test-structure.lyx.lyx b/src/tex2lyx/test/test-structure.lyx.lyx index 87933c9bb6..3c25024d8c 100644 --- a/src/tex2lyx/test/test-structure.lyx.lyx +++ b/src/tex2lyx/test/test-structure.lyx.lyx @@ -1,5 +1,5 @@ -#LyX 2.2 created this file. For more info see http://www.lyx.org/ -\lyxformat 491 +#LyX file created by tex2lyx 2.2 +\lyxformat 490 \begin_document \begin_header \origin roundtrip @@ -36,6 +36,8 @@ \providecommand{\og}{\leavevmode\flqq~}% \providecommand{\fg}{\ifdim\lastskip>\z@\unskip\fi~\frqq}% } + + \end_preamble \options dummyoption \use_default_options false @@ -114,11 +116,11 @@ Title \end_layout \begin_layout Standard + \begin_inset ERT status collapsed \begin_layout Plain Layout - % this should be recognized as empty date: \end_layout @@ -128,23 +130,18 @@ status collapsed \end_layout \begin_layout Standard -This document contains all sorts of layouts we are supposed to support, - along with weird nestings. +This document contains all sorts of layouts we are supposed to support, along with weird nestings. \end_layout \begin_layout Standard -At time you will see that I use subsubsections in weird places. - The intent is just to make sure that I can include a macro-type layout - everyzhere it makes sense. +At time you will see that I use subsubsections in weird places. The intent is just to make sure that I can include a macro-type layout everyzhere it makes sense. \end_layout \begin_layout Standard A normal paragraph -\begin_inset Formula -\begin{equation} -x=\sin y +\begin_inset Formula \begin{equation} +x = \sin y \end{equation} - \end_inset with maths inside it. @@ -155,17 +152,16 @@ An environment... \end_layout \begin_layout Quote -... - with two paragraphs +... with two paragraphs \end_layout \begin_layout Standard + \begin_inset ERT status collapsed \begin_layout Plain Layout - \backslash begin{foo} \end_layout @@ -178,7 +174,6 @@ status collapsed \begin_layout Plain Layout - \backslash end{foo} \end_layout @@ -193,10 +188,12 @@ A section \end_layout \begin_layout Section + \begin_inset Argument 1 status collapsed -\begin_layout Plain Layout + +\begin_layout Standard Hello! \end_layout @@ -207,10 +204,10 @@ A section with optional argument \begin_layout Standard This causes the -\begin_inset Flex Strong +\begin_inset Flex Flex:Strong status collapsed -\begin_layout Plain Layout +\begin_layout Standard logikalmkup \end_layout @@ -236,21 +233,26 @@ A starred section for floats \end_layout \begin_layout Standard + \begin_inset Float figure wide false sideways false status open -\begin_layout Plain Layout + +\begin_layout Standard + \begin_inset Caption Standard \begin_layout Plain Layout \emph on + \noun on is -\emph default \noun default + +\emph default a caption \end_layout @@ -265,19 +267,24 @@ is \end_layout \begin_layout Standard + \begin_inset Float figure wide false sideways false status open -\begin_layout Plain Layout + +\begin_layout Standard + \begin_inset Caption Standard \begin_layout Plain Layout + \begin_inset Argument 1 status collapsed -\begin_layout Plain Layout + +\begin_layout Standard s \noun on ho @@ -305,12 +312,15 @@ is \end_layout \begin_layout Standard + \begin_inset Float table wide true sideways true status open -\begin_layout Plain Layout + +\begin_layout Standard + \begin_inset Caption Standard \begin_layout Plain Layout @@ -322,13 +332,13 @@ rotated table, spanning all columns \end_layout -\begin_layout Plain Layout +\begin_layout Standard + \begin_inset ERT status collapsed \begin_layout Plain Layout - \backslash centering \end_layout @@ -340,23 +350,22 @@ centering status collapsed \begin_layout Plain Layout - {} \end_layout \end_inset -\begin_inset Tabular +\begin_inset Tabular - + \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard a \end_layout @@ -365,7 +374,7 @@ a \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard b \end_layout @@ -376,7 +385,7 @@ b \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard d \end_layout @@ -385,7 +394,7 @@ d \begin_inset Text -\begin_layout Plain Layout +\begin_layout Standard c \end_layout @@ -405,19 +414,22 @@ c \end_layout \begin_layout Standard + \begin_inset Wrap figure lines 4 placement L overhang 2ex -width "50col%" +width 50col% status open -\begin_layout Plain Layout + +\begin_layout Standard \align center fdgsdfdh \end_layout -\begin_layout Plain Layout +\begin_layout Standard + \begin_inset Caption Standard \begin_layout Plain Layout @@ -436,33 +448,26 @@ test1 \begin_layout Standard \SpecialChar LyX - is a document preparation system. - It excels at letting you create complex technical and scientific articles - with mathematics, cross-references, bibliographies, indices, etc. - It is very good at documents of any length in which the usual processing - abilities are required: automatic sectioning and pagination, spell checking, - and so forth. - It can also be used to write a letter to your mom, though granted, there - are probably simpler programs available for that. - It is definitely not the best tool for creating banners, flyers, or advertiseme -nts (we'll explain why later), though with some effort all these can be - done, too. + is a document preparation system. It excels at letting you create complex technical and scientific articles with mathematics, cross-references, bibliographies, indices, etc. It is very good at documents of any length in which the usual processing abilities are required: automatic sectioning and pagination, spell checking, and so forth. It can also be used to write a letter to your mom, though granted, there are probably simpler programs available for that. It is definitely not the best tool for creating banners, flyers, or advertisements (we'll explain why later), though with some effort all these can be done, too. \end_layout \begin_layout Standard + \begin_inset Wrap figure lines 0 placement o overhang 0col% -width "50col%" +width 50col% status open -\begin_layout Plain Layout + +\begin_layout Standard \align center fdgs \end_layout -\begin_layout Plain Layout +\begin_layout Standard + \begin_inset Caption Standard \begin_layout Plain Layout @@ -481,28 +486,21 @@ test2 \begin_layout Standard \SpecialChar LyX - is a document preparation system. - It excels at letting you create complex technical and scientific articles - with mathematics, cross-references, bibliographies, indices, etc. - It is very good at documents of any length in which the usual processing - abilities are required: automatic sectioning and pagination, spell checking, - and so forth. - It can also be used to write a letter to your mom, though granted, there - are probably simpler programs available for that. - It is definitely not the best tool for creating banners, flyers, or advertiseme -nts (we'll explain why later), though with some effort all these can be - done, too. + is a document preparation system. It excels at letting you create complex technical and scientific articles with mathematics, cross-references, bibliographies, indices, etc. It is very good at documents of any length in which the usual processing abilities are required: automatic sectioning and pagination, spell checking, and so forth. It can also be used to write a letter to your mom, though granted, there are probably simpler programs available for that. It is definitely not the best tool for creating banners, flyers, or advertisements (we'll explain why later), though with some effort all these can be done, too. \end_layout \begin_layout Standard + \begin_inset Wrap table lines 0 placement i overhang 5text% -width "5ex" +width 5ex status open -\begin_layout Plain Layout + +\begin_layout Standard + \begin_inset Caption Standard \begin_layout Plain Layout @@ -514,13 +512,13 @@ fdg \end_layout -\begin_layout Plain Layout +\begin_layout Standard + \begin_inset ERT status collapsed \begin_layout Plain Layout - \backslash centering \end_layout @@ -532,7 +530,6 @@ centering status collapsed \begin_layout Plain Layout - {} \end_layout @@ -548,26 +545,19 @@ dfgd \begin_layout Standard \SpecialChar LyX - is a document preparation system. - It excels at letting you create complex technical and scientific articles - with mathematics, cross-references, bibliographies, indices, etc. - It is very good at documents of any length in which the usual processing - abilities are required: automatic sectioning and pagination, spell checking, - and so forth. - It can also be used to write a letter to your mom, though granted, there - are probably simpler programs available for that. - It is definitely not the best tool for creating banners, flyers, or advertiseme -nts (we'll explain why later), though with some effort all these can be - done, too. + is a document preparation system. It excels at letting you create complex technical and scientific articles with mathematics, cross-references, bibliographies, indices, etc. It is very good at documents of any length in which the usual processing abilities are required: automatic sectioning and pagination, spell checking, and so forth. It can also be used to write a letter to your mom, though granted, there are probably simpler programs available for that. It is definitely not the best tool for creating banners, flyers, or advertisements (we'll explain why later), though with some effort all these can be done, too. \end_layout \begin_layout Standard + \begin_inset Float table wide false sideways false status open -\begin_layout Plain Layout + +\begin_layout Standard + \begin_inset Caption Standard \begin_layout Plain Layout @@ -579,21 +569,24 @@ lkälöä \end_layout -\begin_layout Plain Layout +\begin_layout Standard + \begin_inset Float table wide false sideways false status collapsed -\begin_layout Plain Layout + +\begin_layout Standard klöä \end_layout \begin_layout Plain Layout \begin_inset Caption Standard -\begin_layout Plain Layout +\begin_layout Standard ölkälö + \end_layout \end_inset @@ -612,18 +605,22 @@ klöä \end_layout \begin_layout Standard + \begin_inset Float figure wide false sideways false status open -\begin_layout Plain Layout + +\begin_layout Standard + \begin_inset Float figure wide false sideways false status collapsed -\begin_layout Plain Layout + +\begin_layout Standard sub \color red fig @@ -634,8 +631,9 @@ u%re 1 \begin_layout Plain Layout \begin_inset Caption Standard -\begin_layout Plain Layout +\begin_layout Standard te%st + \end_layout \end_inset @@ -648,8 +646,10 @@ te%st \end_layout -\begin_layout Plain Layout +\begin_layout Standard + \begin_inset space \hfill{} + \end_inset @@ -658,14 +658,16 @@ wide false sideways false status collapsed -\begin_layout Plain Layout + +\begin_layout Standard subfigure 2ö \end_layout \begin_layout Plain Layout \begin_inset Caption Standard -\begin_layout Plain Layout +\begin_layout Standard + \end_layout @@ -679,13 +681,15 @@ subfigure 2ö \end_layout -\begin_layout Plain Layout +\begin_layout Standard + \begin_inset Float figure wide false sideways false status collapsed -\begin_layout Plain Layout + +\begin_layout Standard subfigure 3 \end_layout @@ -694,7 +698,8 @@ subfigure 3 \end_layout -\begin_layout Plain Layout +\begin_layout Standard + \begin_inset Caption Standard \begin_layout Plain Layout @@ -706,7 +711,7 @@ figure caption \end_layout -\begin_layout Plain Layout +\begin_layout Standard strange usage, but valid \end_layout @@ -724,7 +729,8 @@ A paragraph \begin_inset Foot status collapsed -\begin_layout Plain Layout + +\begin_layout Standard hello \end_layout @@ -734,11 +740,12 @@ hello \begin_inset Foot status collapsed -\begin_layout Plain Layout + +\begin_layout Standard hello \end_layout -\begin_layout Plain Layout +\begin_layout Standard there \end_layout @@ -771,7 +778,9 @@ with a command inside it \end_deeper \begin_layout Standard + \begin_inset Separator plain + \end_inset @@ -824,7 +833,9 @@ Item2 \end_layout \begin_layout Standard + \begin_inset Separator plain + \end_inset @@ -871,6 +882,7 @@ the second item \end_layout \begin_layout Itemize + \begin_inset Argument item:1 status open @@ -902,11 +914,11 @@ BCD second one \end_layout \begin_layout Description + \begin_inset ERT status collapsed \begin_layout Plain Layout - x y z \end_layout @@ -916,16 +928,15 @@ x y z \end_layout \begin_layout Description + \begin_inset ERT status collapsed \begin_layout Plain Layout - x y % bla \end_layout \begin_layout Plain Layout - z \end_layout @@ -942,27 +953,27 @@ labelings: \labelwidthstring 00.00.0000 label \begin_inset space ~ + \end_inset 1 first item \end_layout \begin_layout Labeling -\labelwidthstring 00.00.0000 label \begin_inset space ~ + \end_inset 2 second item \end_layout \begin_layout Labeling -\labelwidthstring 00.00.0000 + \begin_inset ERT status collapsed \begin_layout Plain Layout - $ \backslash left[ @@ -1026,12 +1037,12 @@ end{raggedleft} \end_layout \begin_layout Standard + \begin_inset ERT status collapsed \begin_layout Plain Layout - \backslash verb~ \backslash @@ -1046,7 +1057,6 @@ status collapsed \begin_layout Plain Layout - \backslash verb+ \backslash @@ -1061,7 +1071,6 @@ status collapsed \begin_layout Plain Layout - \backslash verb+something \backslash @@ -1078,24 +1087,26 @@ and bibliography: \end_layout \begin_layout Bibliography + \begin_inset CommandInset bibitem LatexCommand bibitem +label "" key "FOO" \end_inset - Edward Bar. - + Edward Bar. \emph on The Foo Book \emph default -. - (1999) +. (1999) \end_layout \begin_layout Bibliography + \begin_inset CommandInset bibitem LatexCommand bibitem +label "" key "FO2" \end_inset @@ -1104,19 +1115,17 @@ key "FO2" \emph on The Müller Book \emph default -. - (2004) +. (2004) \end_layout \begin_layout Standard \start_of_appendix + \begin_inset ERT status collapsed \begin_layout Plain Layout - -%dummy comment inserted by tex2lyx to ensure that this paragraph is not - empty +%dummy comment inserted by tex2lyx to ensure that this paragraph is not empty \end_layout \end_inset @@ -1142,6 +1151,7 @@ some \emph on french \emph default + \lang german back to english: \lang newzealand @@ -1153,11 +1163,11 @@ nested \emph on german \emph default + \lang french french \lang newzealand - english stuff. - Note that we both used + english stuff. Note that we both used \family typewriter french \family default @@ -1165,8 +1175,7 @@ french \family typewriter francais \family default - alias for the french text, but for some reason this does not work with - the + alias for the french text, but for some reason this does not work with the \family typewriter newzealand \family default @@ -1194,8 +1203,7 @@ blub \lang newzealand Test for missing \backslash -end_deeper (file format 278). - This must stay at the very end of the document! +end_deeper (file format 278). This must stay at the very end of the document! \end_layout \begin_layout Itemize diff --git a/src/tex2lyx/test/verbatim.lyx.lyx b/src/tex2lyx/test/verbatim.lyx.lyx index 351accd18e..52f71aee10 100644 --- a/src/tex2lyx/test/verbatim.lyx.lyx +++ b/src/tex2lyx/test/verbatim.lyx.lyx @@ -1,5 +1,5 @@ -#LyX 2.2 created this file. For more info see http://www.lyx.org/ -\lyxformat 491 +#LyX file created by tex2lyx 2.2 +\lyxformat 490 \begin_document \begin_header \origin roundtrip -- 2.39.5