X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ftex2lyx%2Ftest%2Fbox-color-size-space-align.tex;h=eb7de94160fe36fb265b2733d6f397c2c32b209e;hb=d3c63f97c4fce4e091277ced6c1829473c311231;hp=7bff4bd4abcc43a89ace0f30514ee1f3908f3c73;hpb=1427b6fe316e257ce40512872c44cd438a51c498;p=lyx.git diff --git a/src/tex2lyx/test/box-color-size-space-align.tex b/src/tex2lyx/test/box-color-size-space-align.tex index 7bff4bd4ab..eb7de94160 100644 --- a/src/tex2lyx/test/box-color-size-space-align.tex +++ b/src/tex2lyx/test/box-color-size-space-align.tex @@ -37,6 +37,7 @@ \usepackage{pifont} \usepackage{tipa} \usepackage{tipx} +\usepackage{xcolor} \setlength{\parskip}{3mm} \setlength{\parindent}{0sp} @@ -96,6 +97,10 @@ blabla \makebox[3cm]{makebox 2} blabla blabla \makebox[3cm][l]{makebox 3} blabla +\makebox[1\width]{www} + +\parbox[t][1\depth]{2.3cm}{www} + \begin{figure}[ht] \centering \setlength{\unitlength}{.2in} @@ -119,12 +124,20 @@ blabla \begin{framed}\begin{framed}nested framed\end{framed}\end{framed} blabla blabla \fbox{fbox} blabla +blabla \framebox{framebox} blabla + +\fbox{\begin{minipage}[t]{0.9\columnwidth}% +fbox around minipage% +\end{minipage}} + blabla \framebox{fr\textcolor{blue}{ame}box 1} blabla blabla \framebox[3cm]{framebox 2} blabla blabla \framebox[3cm][l]{framebox 3} blabla +\framebox[1.5\totalheight]{www} + This is an example text. % \framebox{% \begin{minipage}[c][1\totalheight][s]{0.2\columnwidth}% @@ -156,6 +169,52 @@ blabla \doublebox{doublebox} blabla $\boxed{\int A=B}$ +\subsection{Boxes with custom settings} + +\fboxsep 35pt + +\framebox[1cm]{www} + +\fboxsep 20pt \framebox[1cm]{www} + +{\fboxsep 1pt \fboxrule 10pt \framebox[1cm]{www}} + +{\fboxsep 35pt\shadowsize 15pt\shadowbox{\centering www}} + +\parbox[t]{0.9\columnwidth}{% +\centering www% +} + +{\raggedleft +\parbox[t]{0.9\columnwidth}{ +\centering www% +} +} + +\subsection{Color Boxes} + +\colorbox{blue}{www} + +\colorbox{blue}{\begin{minipage}[t]{0.9\columnwidth} +www +\end{minipage}} + +\colorbox{blue}{\parbox[t]{0.9\columnwidth}{www}} + +\colorbox{blue}{\makebox[0.9\columnwidth][l]{www}} + +\fcolorbox{lime}{white}{\begin{minipage}[t]{0.9\columnwidth}% +www% +\end{minipage}} + +\fcolorbox{lime}{white}{\parbox[t]{0.9\columnwidth}{% +www% +}} + +\fcolorbox{lime}{white}{\makebox[0.9\columnwidth][l]{www}} + +\fcolorbox{lime}{white}{www} + \subsection{LyX Boxes} \begin{lyxgreyedout} @@ -175,6 +234,9 @@ Shaded background box, with inner minipage\end{shaded}% \subsection{Predefined Colors} test \textcolor{blue}{blue} test \textcolor{red}{red red red} test \textcolor{green}{bla}\textcolor{magenta}{blub} +test \textcolor{brown}{brown} test \textcolor{darkgray}{darkgray} test \textcolor{gray}{gray}\textcolor{lightgray}{lightgray} +test \textcolor{lime}{lime} test \textcolor{olive}{olive} test \textcolor{orange}{orange}\textcolor{pink}{pink} +test \textcolor{purple}{purple} test \textcolor{teal}{teal} test \textcolor{violet}{violet} test \textcolor{green}{c}% \textcolor{red}{o}% @@ -454,7 +516,7 @@ from textcomp: \textnumero\texttrademark from textgreek and textcyr: -\textgreek{>a}\textcyr{\char226} +\textgreek{>a}\textcyr{\cyrv} from subscript: \textsubscript{4}