X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ftex2lyx%2Ftest%2Fbox-color-size-space-align.lyx.lyx;h=649220448e16326a9cf35776f6e1567a3d0dea0a;hb=2811f76039c20b886ddab4979be924bf1267c977;hp=3b3666a660778e40eb5e128687b7cd068a4a5e49;hpb=3cd36977c99f7bbb67d9c08ba63abb368f867995;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 3b3666a660..649220448e 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 file created by tex2lyx 2.2 -\lyxformat 493 +\lyxformat 502 \begin_document \begin_header \origin roundtrip @@ -45,16 +45,16 @@ \language_package none \inputencoding iso8859-15 \fontencoding T1 -\font_roman cmr -\font_sans berasans -\font_typewriter default -\font_math auto +\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_sf_scale 100 100 +\font_tt_scale 100 100 \graphics default \default_output_format default \output_sync 0 @@ -173,8 +173,8 @@ 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" @@ -256,6 +256,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 @@ -608,7 +668,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 @@ -638,7 +698,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 @@ -659,7 +719,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 @@ -676,30 +736,658 @@ backgroundcolor "none" status open -\begin_layout Standard -nested framed +\begin_layout Standard +nested framed +\end_layout + +\end_inset + + +\end_layout + +\end_inset + +blabla +\end_layout + +\begin_layout Standard +blabla +\begin_inset Box Boxed +position "c" +hor_pos "l" +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 + + +\begin_layout Standard +fbox +\end_layout + +\end_inset + + blabla +\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 + + +\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 + + +\begin_layout Standard +fr +\color blue +ame +\color inherit +box 1 +\end_layout + +\end_inset + + blabla +\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 "3cm" +special "none" +height "1in" +height_special "totalheight" +thickness "0.4pt" +separation "3pt" +shadowsize "4pt" +framecolor "black" +backgroundcolor "none" +status open + + +\begin_layout Standard +framebox 2 +\end_layout + +\end_inset + + blabla +\end_layout + +\begin_layout Standard +blabla +\begin_inset Box Boxed +position "c" +hor_pos "l" +has_inner_box 0 +inner_pos "c" +use_parbox 0 +use_makebox 0 +width "3cm" +special "none" +height "1in" +height_special "totalheight" +thickness "0.4pt" +separation "3pt" +shadowsize "4pt" +framecolor "black" +backgroundcolor "none" +status open + + +\begin_layout Standard +framebox 3 +\end_layout + +\end_inset + + 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 -blabla + \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 + +\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 "" +width "90col%" special "none" height "1in" height_special "totalheight" @@ -711,24 +1399,50 @@ backgroundcolor "none" status open -\begin_layout Standard -fbox +\begin_layout Plain Layout + +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + +\backslash +centering \end_layout \end_inset - blabla + 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 -blabla -\begin_inset Box Boxed -position "c" + +\begin_inset Box Frameless +position "t" hor_pos "c" -has_inner_box 0 -inner_pos "c" +has_inner_box 1 +inner_pos "t" use_parbox 0 -use_makebox 0 +use_makebox 1 width "" special "none" height "1in" @@ -737,33 +1451,29 @@ thickness "0.4pt" separation "3pt" shadowsize "4pt" framecolor "black" -backgroundcolor "none" +backgroundcolor "blue" status open -\begin_layout Standard -fr -\color blue -ame -\color inherit -box 1 +\begin_layout Plain Layout +www \end_layout \end_inset - blabla + \end_layout \begin_layout Standard -blabla -\begin_inset Box Boxed -position "c" -hor_pos "c" -has_inner_box 0 -inner_pos "c" + +\begin_inset Box Frameless +position "t" +hor_pos "l" +has_inner_box 1 +inner_pos "t" use_parbox 0 use_makebox 0 -width "3cm" +width "90col%" special "none" height "1in" height_special "totalheight" @@ -771,29 +1481,29 @@ thickness "0.4pt" separation "3pt" shadowsize "4pt" framecolor "black" -backgroundcolor "none" +backgroundcolor "blue" status open -\begin_layout Standard -framebox 2 +\begin_layout Plain Layout + www \end_layout \end_inset - blabla + \end_layout \begin_layout Standard -blabla -\begin_inset Box Boxed -position "c" + +\begin_inset Box Frameless +position "t" hor_pos "l" -has_inner_box 0 -inner_pos "c" -use_parbox 0 +has_inner_box 1 +inner_pos "t" +use_parbox 1 use_makebox 0 -width "3cm" +width "90col%" special "none" height "1in" height_special "totalheight" @@ -801,29 +1511,29 @@ thickness "0.4pt" separation "3pt" shadowsize "4pt" framecolor "black" -backgroundcolor "none" +backgroundcolor "blue" status open -\begin_layout Standard -framebox 3 +\begin_layout Plain Layout +www \end_layout \end_inset - blabla + \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" @@ -831,158 +1541,134 @@ thickness "0.4pt" separation "3pt" shadowsize "4pt" framecolor "black" -backgroundcolor "none" +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 "black" -backgroundcolor "none" +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 "black" -backgroundcolor "none" +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 "black" -backgroundcolor "none" +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 "black" -backgroundcolor "none" +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 @@ -1014,7 +1700,7 @@ Note: \begin_inset Box Shaded position "c" -hor_pos "c" +hor_pos "l" has_inner_box 0 inner_pos "c" use_parbox 0 @@ -1044,7 +1730,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 @@ -1714,6 +2400,10 @@ status collapsed %set back to justified \end_layout +\begin_layout Plain Layout + +\end_layout + \end_inset