]> git.lyx.org Git - lyx.git/blobdiff - src/tex2lyx/test/box-color-size-space-align.lyx.lyx
tex2lyx: Add a newline at the end of comment if not at the end of a paragraph.
[lyx.git] / src / tex2lyx / test / box-color-size-space-align.lyx.lyx
index 3002a90b04faa01ca3fe9770bd6659905804ef76..649220448e16326a9cf35776f6e1567a3d0dea0a 100644 (file)
@@ -1,5 +1,5 @@
 #LyX file created by tex2lyx 2.2
-\lyxformat 491
+\lyxformat 502
 \begin_document
 \begin_header
 \origin roundtrip
 \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
@@ -150,6 +150,8 @@ height_special "totalheight"
 thickness "0.4pt"
 separation "3pt"
 shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
 status open
 
 
@@ -171,13 +173,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 +210,8 @@ height_special "totalheight"
 thickness "0.4pt"
 separation "3pt"
 shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
 status open
 
 
@@ -234,6 +240,8 @@ height_special "totalheight"
 thickness "0.4pt"
 separation "3pt"
 shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
 status open
 
 
@@ -248,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
@@ -600,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
@@ -612,6 +680,8 @@ height_special "totalheight"
 thickness "0.4pt"
 separation "3pt"
 shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
 status open
 
 
@@ -628,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
@@ -640,6 +710,8 @@ height_special "totalheight"
 thickness "0.4pt"
 separation "3pt"
 shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
 status open
 
 
@@ -647,72 +719,730 @@ status open
 
 \begin_inset Box Framed
 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
+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 "100col%"
+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 Standard
-nested framed
+\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"
 thickness "0.4pt"
 separation "3pt"
 shadowsize "4pt"
+framecolor "black"
+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"
@@ -720,237 +1450,225 @@ height_special "totalheight"
 thickness "0.4pt"
 separation "3pt"
 shadowsize "4pt"
+framecolor "black"
+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"
 thickness "0.4pt"
 separation "3pt"
 shadowsize "4pt"
+framecolor "black"
+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"
 thickness "0.4pt"
 separation "3pt"
 shadowsize "4pt"
+framecolor "black"
+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"
 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 +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
@@ -994,6 +1712,8 @@ height_special "totalheight"
 thickness "0.4pt"
 separation "3pt"
 shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
 status open
 
 
@@ -1010,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
@@ -1022,6 +1742,8 @@ height_special "totalheight"
 thickness "0.4pt"
 separation "3pt"
 shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
 status open
 
 
@@ -1678,6 +2400,10 @@ status collapsed
 %set back to justified
 \end_layout
 
+\begin_layout Plain Layout
+
+\end_layout
+
 \end_inset