X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ftex2lyx%2Ftest%2Fbox-color-size-space-align.lyx.lyx;h=e47564c075e2db99f4286e48ad1633b834460068;hb=9960709fc25756cce248d39ba9c99f1089d3e020;hp=da4d7006524a265a0cfb0e7630d7074d8519bb89;hpb=9e105996d67685dc41245bdfd18bf9f219a48068;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 da4d700652..e47564c075 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 488 +\lyxformat 495 \begin_document \begin_header +\origin roundtrip \textclass article \begin_preamble @@ -146,6 +147,11 @@ width "" special "none" height "1in" height_special "totalheight" +thickness "0.4pt" +separation "3pt" +shadowsize "4pt" +framecolor "black" +backgroundcolor "none" status open @@ -167,10 +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 @@ -196,6 +207,11 @@ width "3cm" special "none" height "1in" height_special "totalheight" +thickness "0.4pt" +separation "3pt" +shadowsize "4pt" +framecolor "black" +backgroundcolor "none" status open @@ -221,6 +237,11 @@ width "3cm" special "none" height "1in" height_special "totalheight" +thickness "0.4pt" +separation "3pt" +shadowsize "4pt" +framecolor "black" +backgroundcolor "none" status open @@ -235,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 @@ -250,12 +331,12 @@ status collapsed \begin_layout Plain Layout \backslash -centering +centering \end_layout \end_inset - + \begin_inset ERT status collapsed @@ -587,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 @@ -596,6 +677,11 @@ width "100col%" special "none" height "1in" height_special "totalheight" +thickness "0.4pt" +separation "3pt" +shadowsize "4pt" +framecolor "black" +backgroundcolor "none" status open @@ -612,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 @@ -621,6 +707,11 @@ width "100col%" special "none" height "1in" height_special "totalheight" +thickness "0.4pt" +separation "3pt" +shadowsize "4pt" +framecolor "black" +backgroundcolor "none" status open @@ -628,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 @@ -637,6 +728,11 @@ width "100col%" special "none" height "1in" height_special "totalheight" +thickness "0.4pt" +separation "3pt" +shadowsize "4pt" +framecolor "black" +backgroundcolor "none" status open @@ -658,7 +754,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 @@ -667,6 +763,11 @@ width "" special "none" height "1in" height_special "totalheight" +thickness "0.4pt" +separation "3pt" +shadowsize "4pt" +framecolor "black" +backgroundcolor "none" status open @@ -692,6 +793,71 @@ 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 @@ -721,6 +887,11 @@ width "3cm" special "none" height "1in" height_special "totalheight" +thickness "0.4pt" +separation "3pt" +shadowsize "4pt" +framecolor "black" +backgroundcolor "none" status open @@ -746,6 +917,11 @@ width "3cm" special "none" height "1in" height_special "totalheight" +thickness "0.4pt" +separation "3pt" +shadowsize "4pt" +framecolor "black" +backgroundcolor "none" status open @@ -759,10 +935,40 @@ framebox 3 \end_layout \begin_layout Standard -This is an example text. + \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 @@ -771,6 +977,11 @@ width "20col%" special "none" height "1in" height_special "totalheight" +thickness "0.4pt" +separation "3pt" +shadowsize "4pt" +framecolor "black" +backgroundcolor "none" status open @@ -803,7 +1014,7 @@ box height. blabla \begin_inset Box ovalbox position "c" -hor_pos "c" +hor_pos "l" has_inner_box 0 inner_pos "c" use_parbox 0 @@ -812,6 +1023,11 @@ width "100col%" special "none" height "1in" height_special "totalheight" +thickness "0.4pt" +separation "3pt" +shadowsize "4pt" +framecolor "black" +backgroundcolor "none" status open @@ -828,7 +1044,7 @@ ovalbox blabla \begin_inset Box Ovalbox position "c" -hor_pos "c" +hor_pos "l" has_inner_box 0 inner_pos "c" use_parbox 0 @@ -837,6 +1053,11 @@ width "100col%" special "none" height "1in" height_special "totalheight" +thickness "0.4pt" +separation "3pt" +shadowsize "4pt" +framecolor "black" +backgroundcolor "none" status open @@ -853,7 +1074,7 @@ Ovalbox blabla \begin_inset Box Shadowbox position "c" -hor_pos "c" +hor_pos "l" has_inner_box 0 inner_pos "c" use_parbox 0 @@ -862,6 +1083,11 @@ width "100col%" special "none" height "1in" height_special "totalheight" +thickness "0.4pt" +separation "3pt" +shadowsize "4pt" +framecolor "black" +backgroundcolor "none" status open @@ -878,7 +1104,7 @@ shadowbox blabla \begin_inset Box Doublebox position "c" -hor_pos "c" +hor_pos "l" has_inner_box 0 inner_pos "c" use_parbox 0 @@ -887,6 +1113,11 @@ width "100col%" special "none" height "1in" height_special "totalheight" +thickness "0.4pt" +separation "3pt" +shadowsize "4pt" +framecolor "black" +backgroundcolor "none" status open @@ -908,45 +1139,32 @@ doublebox \end_layout \begin_layout Subsection -LyX Boxes -\end_layout - -\begin_layout Standard - -\begin_inset Note Greyedout -status open - -\begin_layout Standard - -\series bold -Note: -\series default - Not all DVI-viewers are able to display rotations. -\end_layout - -\end_inset - - +Boxes with custom settings \end_layout \begin_layout Standard -\begin_inset Box Shaded +\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 "1cm" special "none" height "1in" height_special "totalheight" +thickness "0.4pt" +separation "35pt" +shadowsize "4pt" +framecolor "black" +backgroundcolor "none" status open \begin_layout Standard -Shaded background box +www \end_layout \end_inset @@ -955,23 +1173,28 @@ Shaded background box \end_layout \begin_layout Standard - -\begin_inset Box Shaded + +\begin_inset Box Boxed position "c" hor_pos "c" -has_inner_box 1 +has_inner_box 0 inner_pos "c" use_parbox 0 use_makebox 0 -width "100col%" +width "1cm" special "none" height "1in" height_special "totalheight" +thickness "0.4pt" +separation "20pt" +shadowsize "4pt" +framecolor "black" +backgroundcolor "none" status open -\begin_layout Plain Layout -Shaded background box, with inner minipage +\begin_layout Standard +www \end_layout \end_inset @@ -979,82 +1202,44 @@ Shaded background box, with inner minipage \end_layout -\begin_layout Section -Colors -\end_layout - -\begin_layout Subsection -Predefined Colors -\end_layout - \begin_layout Standard -test -\color blue -blue -\color inherit - test -\color red -red red red -\color inherit - test -\color green -bla -\color inherit - -\color magenta -blub -\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 -Custom Colors -\end_layout -\begin_layout Standard -test \begin_inset ERT status collapsed \begin_layout Plain Layout - -\backslash -textcolor{darkgreen} +{ \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_inset ERT -status collapsed -\begin_layout Plain Layout -{ +\begin_layout Standard +www \end_layout \end_inset -dark green + \begin_inset ERT status collapsed @@ -1064,7 +1249,7 @@ status collapsed \end_inset - test + \end_layout \begin_layout Standard @@ -1073,30 +1258,82 @@ status collapsed status collapsed \begin_layout Plain Layout - -\backslash -definecolor{violet}{rgb}{0.5, 0, 1} +{ \end_layout \end_inset -\end_layout - -\begin_layout Standard -test -\begin_inset ERT +\begin_inset Box Shadowbox +position "c" +hor_pos "c" +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 +www +\end_layout + +\end_inset + + +\begin_inset ERT status collapsed \begin_layout Plain Layout +} +\end_layout + +\end_inset + -\backslash -textcolor{violet} +\end_layout + +\begin_layout Standard + +\begin_inset Box Frameless +position "t" +hor_pos "c" +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 +www \end_layout \end_inset +\end_layout + +\begin_layout Standard + \begin_inset ERT status collapsed @@ -1106,7 +1343,503 @@ status collapsed \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 "c" +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 + 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 + +\begin_inset Box Frameless +position "t" +hor_pos "l" +has_inner_box 1 +inner_pos "t" +use_parbox 0 +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 +www +\end_layout + +\end_inset + + +\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 "lime" +backgroundcolor "white" +status open + + +\begin_layout Plain Layout +www +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard + +\begin_inset Box Boxed +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 "lime" +backgroundcolor "white" +status open + + +\begin_layout Plain Layout +www +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard + +\begin_inset Box Boxed +position "t" +hor_pos "l" +has_inner_box 0 +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 "lime" +backgroundcolor "white" +status open + + +\begin_layout Plain Layout +www +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard + +\begin_inset Box Boxed +position "t" +hor_pos "c" +has_inner_box 0 +inner_pos "t" +use_parbox 0 +use_makebox 0 +width "" +special "none" +height "1in" +height_special "totalheight" +thickness "0.4pt" +separation "3pt" +shadowsize "4pt" +framecolor "lime" +backgroundcolor "white" +status open + + +\begin_layout Plain Layout +www +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Subsection +LyX Boxes +\end_layout + +\begin_layout Standard + +\begin_inset Note Greyedout +status open + +\begin_layout Standard + +\series bold +Note: +\series default + Not all DVI-viewers are able to display rotations. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard + +\begin_inset Box Shaded +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 +Shaded background box +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard + +\begin_inset Box Shaded +position "c" +hor_pos "l" +has_inner_box 1 +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 Plain Layout +Shaded background box, with inner minipage +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Section +Colors +\end_layout + +\begin_layout Subsection +Predefined Colors +\end_layout + +\begin_layout Standard +test +\color blue +blue +\color inherit + test +\color red +red red red +\color inherit + 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 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 +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 +Custom Colors +\end_layout + +\begin_layout Standard +test +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + +\backslash +textcolor{darkgreen} +\end_layout + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout +{ +\end_layout + +\end_inset + +dark green \begin_inset ERT status collapsed @@ -1119,6 +1852,30 @@ status collapsed test \end_layout +\begin_layout Standard + +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + +\backslash +definecolor{violet}{rgb}{0.5, 0, 1} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +test +\color violet +violet +\color inherit + test +\end_layout + \begin_layout Section Font sizes \end_layout @@ -1534,12 +2291,12 @@ status collapsed \begin_layout Plain Layout \backslash -centering +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 @@ -1558,12 +2315,12 @@ status collapsed \begin_layout Plain Layout \backslash -raggedright +raggedright \end_layout \end_inset - 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 raggedright 1 raggedright 1 raggedright 1 raggedright 1 raggedright 1 raggedright 1 \end_layout \begin_layout Standard @@ -1582,12 +2339,12 @@ status collapsed \begin_layout Plain Layout \backslash -raggedleft +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 @@ -1616,7 +2373,7 @@ status collapsed \begin_layout Plain Layout \backslash -raggedright +raggedright \end_layout \end_inset