X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ftex2lyx%2Ftest%2Fbox-color-size-space-align.lyx.lyx;h=038fe47cf5803d51811fd6bd1e0bf8c33eda002f;hb=b4f4f87dabff4f6ea4cd663321ef6b219ab5cf6a;hp=4518d8af0565345753cf497b9ba8b2fa02a66804;hpb=b2b68969ab50841f9a5e4cbfd615579bdbbd0dd9;p=lyx.git 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 4518d8af05..038fe47cf5 100644 --- a/src/tex2lyx/test/box-color-size-space-align.lyx.lyx +++ b/src/tex2lyx/test/box-color-size-space-align.lyx.lyx @@ -1,7 +1,8 @@ -#LyX file created by tex2lyx 2.2 -\lyxformat 490 +#LyX file created by tex2lyx 2.4 +\lyxformat 587 \begin_document \begin_header +\save_transient_properties true \origin roundtrip \textclass article \begin_preamble @@ -44,17 +45,21 @@ \language english \language_package none \inputencoding iso8859-15 -\fontencoding T1 -\font_roman cmr -\font_sans berasans -\font_typewriter default -\font_math auto +\fontencoding T2A,LGR,T1 +\font_roman "cmr" "default" +\font_sans "berasans" "default" +\font_typewriter "default" "default" +\font_math "auto" "auto" \font_default_family sfdefault \use_non_tex_fonts false \font_sc false -\font_osf false -\font_sf_scale 100 -\font_tt_scale 100 +\font_roman_osf false +\font_sans_osf false +\font_typewriter_osf false +\font_sf_scale 100 100 +\font_tt_scale 100 100 +\use_microtype false +\use_dash_ligatures true \graphics default \default_output_format default \output_sync 0 @@ -63,7 +68,7 @@ \paperfontsize 12 \spacing other 1.2 \use_hyperref false -\papersize b4paper +\papersize b4 \use_geometry true \use_package amsmath 2 \use_package amssymb 0 @@ -84,6 +89,8 @@ \suppress_date false \justification true \use_refstyle 0 +\use_minted 0 +\use_lineno false \notefontcolor #0000ff \backgroundcolor #ff5500 \boxbgcolor #ffff00 @@ -103,7 +110,10 @@ \tocdepth 3 \paragraph_separation skip \defskip 3mm -\quotes_language english +\is_math_indent 0 +\math_numbering_side default +\quotes_style english +\dynamic_quotes 0 \papercolumns 2 \papersides 2 \paperpagestyle default @@ -150,6 +160,8 @@ height_special "totalheight" thickness "0.4pt" separation "3pt" shadowsize "4pt" +framecolor "black" +backgroundcolor "none" status open @@ -171,13 +183,15 @@ has_inner_box 1 inner_pos "c" use_parbox 0 use_makebox 1 -width "1in" -special "width" +width "" +special "none" height "1in" height_special "totalheight" thickness "0.4pt" separation "3pt" shadowsize "4pt" +framecolor "black" +backgroundcolor "none" status open @@ -206,6 +220,8 @@ height_special "totalheight" thickness "0.4pt" separation "3pt" shadowsize "4pt" +framecolor "black" +backgroundcolor "none" status open @@ -234,6 +250,8 @@ height_special "totalheight" thickness "0.4pt" separation "3pt" shadowsize "4pt" +framecolor "black" +backgroundcolor "none" status open @@ -248,6 +266,66 @@ makebox 3 \begin_layout Standard +\begin_inset Box Frameless +position "t" +hor_pos "c" +has_inner_box 1 +inner_pos "t" +use_parbox 0 +use_makebox 1 +width "1in" +special "width" +height "1in" +height_special "totalheight" +thickness "0.4pt" +separation "3pt" +shadowsize "4pt" +framecolor "black" +backgroundcolor "none" +status open + + +\begin_layout Plain Layout +www +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard + +\begin_inset Box Frameless +position "t" +hor_pos "l" +has_inner_box 1 +inner_pos "t" +use_parbox 1 +use_makebox 0 +width "2.3cm" +special "none" +height "1in" +height_special "depth" +thickness "0.4pt" +separation "3pt" +shadowsize "4pt" +framecolor "black" +backgroundcolor "none" +status open + + +\begin_layout Plain Layout +www +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard + \begin_inset Float figure placement ht wide false @@ -600,7 +678,7 @@ Framed Boxes blabla \begin_inset Box Framed position "c" -hor_pos "c" +hor_pos "l" has_inner_box 0 inner_pos "c" use_parbox 0 @@ -612,6 +690,8 @@ height_special "totalheight" thickness "0.4pt" separation "3pt" shadowsize "4pt" +framecolor "black" +backgroundcolor "none" status open @@ -628,7 +708,7 @@ blabla blabla \begin_inset Box Framed position "c" -hor_pos "c" +hor_pos "l" has_inner_box 0 inner_pos "c" use_parbox 0 @@ -640,6 +720,8 @@ height_special "totalheight" thickness "0.4pt" separation "3pt" shadowsize "4pt" +framecolor "black" +backgroundcolor "none" status open @@ -647,7 +729,7 @@ status open \begin_inset Box Framed position "c" -hor_pos "c" +hor_pos "l" has_inner_box 0 inner_pos "c" use_parbox 0 @@ -659,6 +741,8 @@ height_special "totalheight" thickness "0.4pt" separation "3pt" shadowsize "4pt" +framecolor "black" +backgroundcolor "none" status open @@ -680,7 +764,7 @@ blabla blabla \begin_inset Box Boxed position "c" -hor_pos "c" +hor_pos "l" has_inner_box 0 inner_pos "c" use_parbox 0 @@ -692,6 +776,8 @@ height_special "totalheight" thickness "0.4pt" separation "3pt" shadowsize "4pt" +framecolor "black" +backgroundcolor "none" status open @@ -720,6 +806,68 @@ height_special "totalheight" thickness "0.4pt" separation "3pt" shadowsize "4pt" +framecolor "black" +backgroundcolor "none" +status open + + +\begin_layout Standard +framebox +\end_layout + +\end_inset + + blabla +\end_layout + +\begin_layout Standard + +\begin_inset Box Boxed +position "t" +hor_pos "l" +has_inner_box 1 +inner_pos "t" +use_parbox 0 +use_makebox 0 +width "90col%" +special "none" +height "1in" +height_special "totalheight" +thickness "0.4pt" +separation "3pt" +shadowsize "4pt" +framecolor "black" +backgroundcolor "none" +status open + + +\begin_layout Plain Layout +fbox around minipage +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +blabla +\begin_inset Box Boxed +position "c" +hor_pos "c" +has_inner_box 0 +inner_pos "c" +use_parbox 0 +use_makebox 0 +width "" +special "none" +height "1in" +height_special "totalheight" +thickness "0.4pt" +separation "3pt" +shadowsize "4pt" +framecolor "black" +backgroundcolor "none" status open @@ -752,6 +900,8 @@ height_special "totalheight" thickness "0.4pt" separation "3pt" shadowsize "4pt" +framecolor "black" +backgroundcolor "none" status open @@ -780,6 +930,8 @@ height_special "totalheight" thickness "0.4pt" separation "3pt" shadowsize "4pt" +framecolor "black" +backgroundcolor "none" status open @@ -789,168 +941,744 @@ framebox 3 \end_inset - blabla + blabla +\end_layout + +\begin_layout Standard + +\begin_inset Box Boxed +position "c" +hor_pos "c" +has_inner_box 0 +inner_pos "c" +use_parbox 0 +use_makebox 0 +width "1.5in" +special "totalheight" +height "1in" +height_special "totalheight" +thickness "0.4pt" +separation "3pt" +shadowsize "4pt" +framecolor "black" +backgroundcolor "none" +status open + + +\begin_layout Standard +www +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +This is an example text. +\begin_inset Box Boxed +position "c" +hor_pos "l" +has_inner_box 1 +inner_pos "s" +use_parbox 0 +use_makebox 0 +width "20col%" +special "none" +height "1in" +height_special "totalheight" +thickness "0.4pt" +separation "3pt" +shadowsize "4pt" +framecolor "black" +backgroundcolor "none" +status open + + +\begin_layout Plain Layout +\align center +The box content +\end_layout + +\begin_layout Plain Layout +\align center +is evenly distributed +\end_layout + +\begin_layout Plain Layout +\align center +over the +\end_layout + +\begin_layout Plain Layout +\align center +box height. +\end_layout + +\end_inset + + This is an example text. +\end_layout + +\begin_layout Standard +blabla +\begin_inset Box ovalbox +position "c" +hor_pos "l" +has_inner_box 0 +inner_pos "c" +use_parbox 0 +use_makebox 0 +width "100col%" +special "none" +height "1in" +height_special "totalheight" +thickness "0.4pt" +separation "3pt" +shadowsize "4pt" +framecolor "black" +backgroundcolor "none" +status open + + +\begin_layout Standard +ovalbox +\end_layout + +\end_inset + + blabla +\end_layout + +\begin_layout Standard +blabla +\begin_inset Box Ovalbox +position "c" +hor_pos "l" +has_inner_box 0 +inner_pos "c" +use_parbox 0 +use_makebox 0 +width "100col%" +special "none" +height "1in" +height_special "totalheight" +thickness "0.4pt" +separation "3pt" +shadowsize "4pt" +framecolor "black" +backgroundcolor "none" +status open + + +\begin_layout Standard +Ovalbox +\end_layout + +\end_inset + + blabla +\end_layout + +\begin_layout Standard +blabla +\begin_inset Box Shadowbox +position "c" +hor_pos "l" +has_inner_box 0 +inner_pos "c" +use_parbox 0 +use_makebox 0 +width "100col%" +special "none" +height "1in" +height_special "totalheight" +thickness "0.4pt" +separation "3pt" +shadowsize "4pt" +framecolor "black" +backgroundcolor "none" +status open + + +\begin_layout Standard +shadowbox +\end_layout + +\end_inset + + blabla +\end_layout + +\begin_layout Standard +blabla +\begin_inset Box Doublebox +position "c" +hor_pos "l" +has_inner_box 0 +inner_pos "c" +use_parbox 0 +use_makebox 0 +width "100col%" +special "none" +height "1in" +height_special "totalheight" +thickness "0.4pt" +separation "3pt" +shadowsize "4pt" +framecolor "black" +backgroundcolor "none" +status open + + +\begin_layout Standard +doublebox +\end_layout + +\end_inset + + blabla +\end_layout + +\begin_layout Standard + +\begin_inset Formula $\boxed{\int A=B}$ +\end_inset + + +\end_layout + +\begin_layout Subsection +Boxes with custom settings +\end_layout + +\begin_layout Standard + +\begin_inset Box Boxed +position "c" +hor_pos "c" +has_inner_box 0 +inner_pos "c" +use_parbox 0 +use_makebox 0 +width "1cm" +special "none" +height "1in" +height_special "totalheight" +thickness "0.4pt" +separation "35pt" +shadowsize "4pt" +framecolor "black" +backgroundcolor "none" +status open + + +\begin_layout Standard +www +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard + +\begin_inset Box Boxed +position "c" +hor_pos "c" +has_inner_box 0 +inner_pos "c" +use_parbox 0 +use_makebox 0 +width "1cm" +special "none" +height "1in" +height_special "totalheight" +thickness "0.4pt" +separation "20pt" +shadowsize "4pt" +framecolor "black" +backgroundcolor "none" +status open + + +\begin_layout Standard +www +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard + +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout +{ +\end_layout + +\end_inset + + +\begin_inset Box Boxed +position "c" +hor_pos "c" +has_inner_box 0 +inner_pos "c" +use_parbox 0 +use_makebox 0 +width "1cm" +special "none" +height "1in" +height_special "totalheight" +thickness "10pt" +separation "1pt" +shadowsize "4pt" +framecolor "black" +backgroundcolor "none" +status open + + +\begin_layout Standard +www +\end_layout + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout +} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard + +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout +{ +\end_layout + +\end_inset + + +\begin_inset Box Shadowbox +position "c" +hor_pos "l" +has_inner_box 0 +inner_pos "c" +use_parbox 0 +use_makebox 0 +width "100col%" +special "none" +height "1in" +height_special "totalheight" +thickness "0.4pt" +separation "35pt" +shadowsize "15pt" +framecolor "black" +backgroundcolor "none" +status open + + +\begin_layout Standard + +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + +\backslash +centering +\end_layout + +\end_inset + + www +\end_layout + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout +} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard + +\begin_inset Box Frameless +position "t" +hor_pos "l" +has_inner_box 1 +inner_pos "t" +use_parbox 1 +use_makebox 0 +width "90col%" +special "none" +height "1in" +height_special "totalheight" +thickness "0.4pt" +separation "3pt" +shadowsize "4pt" +framecolor "black" +backgroundcolor "none" +status open + + +\begin_layout Plain Layout + +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + +\backslash +centering +\end_layout + +\end_inset + + www +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard + +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout +{ +\end_layout + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + +\backslash +raggedleft +\end_layout + +\end_inset + + +\begin_inset Box Frameless +position "t" +hor_pos "l" +has_inner_box 1 +inner_pos "t" +use_parbox 1 +use_makebox 0 +width "90col%" +special "none" +height "1in" +height_special "totalheight" +thickness "0.4pt" +separation "3pt" +shadowsize "4pt" +framecolor "black" +backgroundcolor "none" +status open + + +\begin_layout Plain Layout + +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + +\backslash +centering +\end_layout + +\end_inset + + www +\end_layout + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout +} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Subsection +Color Boxes +\end_layout + +\begin_layout Standard + +\begin_inset Box Frameless +position "t" +hor_pos "c" +has_inner_box 1 +inner_pos "t" +use_parbox 0 +use_makebox 1 +width "" +special "none" +height "1in" +height_special "totalheight" +thickness "0.4pt" +separation "3pt" +shadowsize "4pt" +framecolor "black" +backgroundcolor "blue" +status open + + +\begin_layout Plain Layout +www +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard + +\begin_inset Box Frameless +position "t" +hor_pos "l" +has_inner_box 1 +inner_pos "t" +use_parbox 0 +use_makebox 0 +width "90col%" +special "none" +height "1in" +height_special "totalheight" +thickness "0.4pt" +separation "3pt" +shadowsize "4pt" +framecolor "black" +backgroundcolor "blue" +status open + + +\begin_layout Plain Layout + www +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard + +\begin_inset Box Frameless +position "t" +hor_pos "l" +has_inner_box 1 +inner_pos "t" +use_parbox 1 +use_makebox 0 +width "90col%" +special "none" +height "1in" +height_special "totalheight" +thickness "0.4pt" +separation "3pt" +shadowsize "4pt" +framecolor "black" +backgroundcolor "blue" +status open + + +\begin_layout Plain Layout +www +\end_layout + +\end_inset + + \end_layout \begin_layout Standard -This is an example text. -\begin_inset Box Boxed -position "c" -hor_pos "c" + +\begin_inset Box Frameless +position "t" +hor_pos "l" has_inner_box 1 -inner_pos "s" +inner_pos "t" use_parbox 0 -use_makebox 0 -width "20col%" +use_makebox 1 +width "90col%" special "none" height "1in" height_special "totalheight" thickness "0.4pt" separation "3pt" shadowsize "4pt" +framecolor "black" +backgroundcolor "blue" status open \begin_layout Plain Layout -\align center -The box content -\end_layout - -\begin_layout Plain Layout -\align center -is evenly distributed -\end_layout - -\begin_layout Plain Layout -\align center -over the -\end_layout - -\begin_layout Plain Layout -\align center -box height. +www \end_layout \end_inset - This is an example text. + \end_layout \begin_layout Standard -blabla -\begin_inset Box ovalbox -position "c" -hor_pos "c" -has_inner_box 0 -inner_pos "c" + +\begin_inset Box Boxed +position "t" +hor_pos "l" +has_inner_box 1 +inner_pos "t" use_parbox 0 use_makebox 0 -width "100col%" +width "90col%" special "none" height "1in" height_special "totalheight" thickness "0.4pt" separation "3pt" shadowsize "4pt" +framecolor "lime" +backgroundcolor "white" status open -\begin_layout Standard -ovalbox +\begin_layout Plain Layout +www \end_layout \end_inset - blabla + \end_layout \begin_layout Standard -blabla -\begin_inset Box Ovalbox -position "c" -hor_pos "c" -has_inner_box 0 -inner_pos "c" -use_parbox 0 + +\begin_inset Box Boxed +position "t" +hor_pos "l" +has_inner_box 1 +inner_pos "t" +use_parbox 1 use_makebox 0 -width "100col%" +width "90col%" special "none" height "1in" height_special "totalheight" thickness "0.4pt" separation "3pt" shadowsize "4pt" +framecolor "lime" +backgroundcolor "white" status open -\begin_layout Standard -Ovalbox +\begin_layout Plain Layout +www \end_layout \end_inset - blabla + \end_layout \begin_layout Standard -blabla -\begin_inset Box Shadowbox -position "c" -hor_pos "c" + +\begin_inset Box Boxed +position "t" +hor_pos "l" has_inner_box 0 -inner_pos "c" +inner_pos "t" use_parbox 0 use_makebox 0 -width "100col%" +width "90col%" special "none" height "1in" height_special "totalheight" thickness "0.4pt" separation "3pt" shadowsize "4pt" +framecolor "lime" +backgroundcolor "white" status open -\begin_layout Standard -shadowbox +\begin_layout Plain Layout +www \end_layout \end_inset - blabla + \end_layout \begin_layout Standard -blabla -\begin_inset Box Doublebox -position "c" + +\begin_inset Box Boxed +position "t" hor_pos "c" has_inner_box 0 -inner_pos "c" +inner_pos "t" use_parbox 0 use_makebox 0 -width "100col%" +width "" special "none" height "1in" height_special "totalheight" thickness "0.4pt" separation "3pt" shadowsize "4pt" +framecolor "lime" +backgroundcolor "white" status open -\begin_layout Standard -doublebox -\end_layout - -\end_inset - - blabla +\begin_layout Plain Layout +www \end_layout -\begin_layout Standard - -\begin_inset Formula $\boxed{\int A=B}$ \end_inset @@ -982,7 +1710,7 @@ Note: \begin_inset Box Shaded position "c" -hor_pos "c" +hor_pos "l" has_inner_box 0 inner_pos "c" use_parbox 0 @@ -994,6 +1722,8 @@ height_special "totalheight" thickness "0.4pt" separation "3pt" shadowsize "4pt" +framecolor "black" +backgroundcolor "none" status open @@ -1010,7 +1740,7 @@ Shaded background box \begin_inset Box Shaded position "c" -hor_pos "c" +hor_pos "l" has_inner_box 1 inner_pos "c" use_parbox 0 @@ -1022,6 +1752,8 @@ height_special "totalheight" thickness "0.4pt" separation "3pt" shadowsize "4pt" +framecolor "black" +backgroundcolor "none" status open @@ -1058,6 +1790,50 @@ bla \color magenta blub +\color inherit + test +\color brown +brown +\color inherit + test +\color darkgray +darkgray +\color inherit + test +\color gray +gray +\color inherit + +\color lightgray +lightgray +\color inherit + test +\color lime +lime +\color inherit + test +\color olive +olive +\color inherit + test +\color orange +orange +\color inherit + +\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 @@ -1140,37 +1916,9 @@ definecolor{violet}{rgb}{0.5, 0, 1} \begin_layout Standard test -\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 - +\color violet violet -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout -} -\end_layout - -\end_inset - +\color inherit test \end_layout @@ -1384,37 +2132,9 @@ test \size normal Crossed out: -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - -\backslash -xout -\end_layout - -\end_inset - - -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout -{ -\end_layout - -\end_inset - +\xout on test -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout -} -\end_layout - -\end_inset - +\xout default \end_layout @@ -1662,6 +2382,10 @@ status collapsed %set back to justified \end_layout +\begin_layout Plain Layout + +\end_layout + \end_inset @@ -2063,6 +2787,10 @@ in the middle. Lines can have a vfill in the middle. Lines can have a vertical absolute space \begin_inset VSpace 2cm +\end_inset + + in the middle. Lines can have a baselineskip +\begin_inset VSpace 120baselineskip% \end_inset in the middle. Lines can have a vertical relative space @@ -2153,7 +2881,47 @@ Characters \begin_layout Standard \size normal -from package "ascii" and "ifsym": ®↨◻◼ ◙ ◙ +from package +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout +" +\end_layout + +\end_inset + +ascii +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout +" +\end_layout + +\end_inset + + and +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout +" +\end_layout + +\end_inset + +ifsym +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout +" +\end_layout + +\end_inset + +: ®↨◻◼◙ \end_layout \begin_layout Standard @@ -2165,7 +2933,33 @@ from textcomp: №™ \begin_layout Standard \size normal -from textgreek and textcyr: ἀв +from textgreek and textcyr: +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + +\backslash +textgreek{>a} +\end_layout + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + +\backslash +textcyrillic{ +\backslash +cyrv} +\end_layout + +\end_inset + + \end_layout \begin_layout Standard