Hi
Paste this code in LyX local layout then click enable then apply then save:
Style mybox
Category MainText
Margin Static
LatexType Environment
LatexName exarab
NextNoIndent 1
LeftMargin MMM
RightMargin MMM
ParIndent MM
ParSkip 0
ItemSep 0
TopSep 0.5
BottomSep 0.5
ParSep 0
Align Block
AlignPossible Block, Left, Right, Center
Preamble\usepackage{multicol}\usepackage{etoolbox}%\usepackage{blindtext}%\usepackage[theorems,skins,breakable]{tcolorbox}%
\newtcbtheorem[number
within=section]{exarab}{mybox}{breakable,overlay={
},colback=blue!5,colframe=blue!25!black,fonttitle=\bfseries,title
after break={Proof \csuse{the\tcbcounter} -- \raggedleft
Continued}}{exarab}
EndPreamble
End
regards
في الثلاثاء، ١٦ فبراير، ٢٠١٦, Benjamin Berg <[email protected]>
كتب:
> Hey,
>
> have you tried just putting them into a box from the "framed" or
> "mdframed" package?
>
> i.e.
> \usepackage{framed}
>
> \begin{framed}
> Question here.
> \end{framed}
>
> mdframed is much more fancy compared to framed. Have a look a the
> documentation of each.
>
> Benjamin
>
> On Sa, 2016-01-30 at 13:18 +0800, Dominique Gerald Cimafranca wrote:
> > Hi. I would like to know how to add a bounding box to all the
> > questions in my questionnaire. I have a fairly long survey
> > instrument
> > with plenty of options for some questions. A bounding box would
> > clearly delineate one question from another.
> >
> > Thanks in advance.
> >
> > --Dom
> >
> >