1 #LyX 2.2 created this file. For more info see http://www.lyx.org/
5 \origin /systemlyxdir/examples/
12 % set fonts for nicer pdf view
13 \IfFileExists{lmodern.sty}
14 {\usepackage{lmodern}}{}
16 \fi % end if pdflatex is used
18 \@ifpackageloaded{babel}{
19 % increase link area for cross-references and autoname them,
20 \AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1}}}}
21 \@ifundefined{extrasenglish}{\usepackage[english]{babel}}{}
22 \addto\extrasenglish{%
23 \renewcommand*{\equationautorefname}[1]{}%
24 \renewcommand{\sectionautorefname}{sec.\negthinspace}%
25 \renewcommand{\subsectionautorefname}{sec.\negthinspace}%
26 \renewcommand{\subsubsectionautorefname}{sec.\negthinspace}%
30 \options BCOR8mm, most, usenames, dvipsnames
31 \use_default_options false
35 \maintain_unincluded_children false
37 \language_package default
42 \font_typewriter default
44 \font_default_family default
45 \use_non_tex_fonts false
51 \default_output_format default
53 \bibtex_command bibtex
54 \index_command default
58 \pdf_title "Description of the module tcolorbox"
59 \pdf_author "Uwe Stöhr"
60 \pdf_subject "fancy colored boxes"
61 \pdf_keywords "LyX, tcolorbox, colored boxes"
63 \pdf_bookmarksnumbered true
64 \pdf_bookmarksopen true
65 \pdf_bookmarksopenlevel 3
70 \pdf_pdfusetitle false
71 \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false, urlbordercolor={1 0 0}"
74 \use_package amsmath 1
75 \use_package amssymb 1
78 \use_package mathdots 1
79 \use_package mathtools 1
81 \use_package stackrel 0
82 \use_package stmaryrd 0
83 \use_package undertilde 0
85 \cite_engine_type default
89 \paperorientation portrait
93 \notefontcolor #0000ff
100 \paragraph_separation skip
102 \quotes_language english
105 \paperpagestyle default
106 \tracking_changes false
107 \output_changes false
110 \html_be_strict false
116 Description of the module Fancy Colored Boxes
123 \begin_layout Standard
136 you have access to a huge variety of colored boxes.
137 They are particularly useful for presentations or educational texts where
138 you might for example highlight results or equations.
139 This document describes how these boxes are used with \SpecialChar LyX
143 \begin_layout Standard
144 The fancy boxes are generated by the \SpecialChar LaTeX
150 This package has so many features that its manual exceeds 400
156 can therefore only provide access to its basic features.
157 For more advanced features and examples have a loot at the
162 \begin_inset CommandInset citation
171 \begin_layout Section
175 \begin_layout Standard
176 At first load the module
188 in the document settings of your file.
191 \begin_layout Standard
192 Add the following options to the document class options in the document
193 settings of your file:
196 \begin_layout Standard
199 most, usenames, dvipsnames
202 \begin_layout Standard
207 loads most of the libraries of the \SpecialChar LaTeX
217 load additional colors, see Appendix
232 \begin_layout Section
236 \begin_layout Subsection
240 \begin_layout Subsubsection
244 \begin_layout Standard
245 A static color box is inserted via the menu
247 Insert\SpecialChar menuseparator
248 Custom Insets\SpecialChar menuseparator
258 \begin_layout Standard
259 This is a static color box:
260 \begin_inset Flex Color Box
263 \begin_layout Plain Layout
272 \begin_layout Standard
273 It has by default a frame with round corners and consumes the full text
275 It can contain several paragraphs and math.
278 \begin_layout Standard
279 \begin_inset Note Greyedout
282 \begin_layout Plain Layout
287 The box can contain forced page breaks but they will be ignored.
288 To get breakable boxes, see
289 \begin_inset CommandInset ref
291 reference "sec:Beakable-boxes"
303 \begin_layout Subsubsection
307 \begin_layout Standard
308 A dynamic color box is inserted via inset via the menu
310 Insert\SpecialChar menuseparator
311 Custom Insets\SpecialChar menuseparator
325 \begin_layout Standard
326 This is a dynamic color box:
327 \begin_inset Flex Dynamic Color Box
330 \begin_layout Plain Layout
339 \begin_layout Standard
340 In contrary to static boxes dynamic boxes cannot have parts, see
341 \begin_inset CommandInset ref
343 reference "subsec:Box-parts"
347 , and they cannot made breakable but one can set their vertical placement,
349 \begin_inset CommandInset ref
351 reference "subsec:Vertical"
356 Their width is by default the width of the content.
359 \begin_layout Subsubsection
363 \begin_layout Standard
364 A fit color box is inserted via the menu
366 Insert\SpecialChar menuseparator
367 Custom Insets\SpecialChar menuseparator
381 \begin_layout Standard
382 Fit boxes are dynamic boxes but their content is automatically decreased
383 or increased to fit into the specified box width and heigh.
384 How to specify a width and height is described in
385 \begin_inset CommandInset ref
387 reference "subsec:Geometry"
392 If no width and height is specified the result is a square box consuming
393 the full available width of the page.
394 If only a width is specified, the result is a square box.
397 \begin_layout Standard
398 These are fit color boxes:
401 \begin_layout Standard
402 \begin_inset Flex Fit Color Box
405 \begin_layout Plain Layout
406 \begin_inset Argument 1
409 \begin_layout Plain Layout
416 \begin_inset space \thinspace{}
419 cm wide fit color box with some text.
421 \begin_inset space \thinspace{}
424 cm wide fit color box with some text.
426 \begin_inset space \thinspace{}
429 cm wide fit color box with some text.
437 \begin_layout Standard
438 \begin_inset Flex Fit Color Box
441 \begin_layout Plain Layout
442 \begin_inset Argument 1
445 \begin_layout Plain Layout
446 width=5cm, height=3cm
452 \begin_inset space \thinspace{}
456 \begin_inset space \thinspace{}
459 cm high fit color box.
467 \begin_layout Standard
468 The examples show that the text will be shrinked to fit into the box but
469 it will not be increased.
472 \begin_layout Subsubsection
476 \begin_layout Standard
477 A custom color box is inserted via the menu
479 Insert\SpecialChar menuseparator
480 Custom Insets\SpecialChar menuseparator
491 where # is the number.
494 \begin_layout Standard
495 How to use and customize custom color boxes, see
496 \begin_inset CommandInset ref
498 reference "subsec:General"
505 \begin_layout Subsection
509 \begin_layout Standard
510 To add a title to a box add an options inset via the menu Insert\SpecialChar menuseparator
524 followed by your title.
527 \begin_layout Standard
528 This is a titled box:
529 \begin_inset Flex Color Box
532 \begin_layout Plain Layout
533 \begin_inset Argument 1
536 \begin_layout Plain Layout
542 A basic box with a title.
550 \begin_layout Standard
551 A subtitle is added with the inset
557 Insert\SpecialChar menuseparator
563 \begin_layout Standard
564 \begin_inset Flex Color Box
567 \begin_layout Plain Layout
568 \begin_inset Argument 1
571 \begin_layout Plain Layout
577 A basic box with a subtitle.
579 \begin_inset Flex Subtitle
582 \begin_layout Plain Layout
588 The content below the subtitle.
596 \begin_layout Standard
597 The title and subtitle text is by default white.
598 How to change its color, see
599 \begin_inset CommandInset ref
601 reference "subsec:Title-text"
608 \begin_layout Subsection
610 \begin_inset CommandInset label
612 name "subsec:Box-parts"
619 \begin_layout Standard
620 The content of the box can be divided into an upper and a lower part by
621 using the environment
626 's environment selection combobox.
627 The idea behind this is that both parts can be treated and customized separatel
629 An application would be that the upper part contains a description and
630 the lower part an equation.
633 \begin_layout Standard
634 This is a box where the content is separated:
637 \begin_layout Standard
638 \begin_inset Flex Color Box
641 \begin_layout Plain Layout
645 \begin_layout Color Box Separator
649 \begin_layout Plain Layout
658 \begin_layout Standard
659 The separation line can be customized as described in
660 \begin_inset CommandInset ref
662 reference "subsec:Lines"
669 \begin_layout Standard
670 The separation can also be made side by side with the box option
677 \begin_layout Standard
678 \begin_inset Flex Color Box
681 \begin_layout Plain Layout
682 \begin_inset Argument 1
685 \begin_layout Plain Layout
691 Upper content at the left
694 \begin_layout Color Box Separator
698 \begin_layout Plain Layout
699 Lower content at the right
707 \begin_layout Standard
708 The separation can be made invisible with the box option
710 lower separated=false
715 \begin_layout Standard
716 \begin_inset Flex Color Box
719 \begin_layout Plain Layout
720 \begin_inset Argument 1
723 \begin_layout Plain Layout
724 sidebyside, lower separated=false
729 Upper content invisibly separated
732 \begin_layout Color Box Separator
736 \begin_layout Plain Layout
737 Lower content at the right
745 \begin_layout Standard
746 There are several layout skins available for colored boxes, see
747 \begin_inset CommandInset ref
749 reference "subsec:Beamer"
753 , that affects also the layout of the box parts.
754 For example with the box option
758 the box parts are separated this way:
761 \begin_layout Standard
762 \begin_inset Flex Color Box
765 \begin_layout Plain Layout
766 \begin_inset Argument 1
769 \begin_layout Plain Layout
778 \begin_layout Color Box Separator
782 \begin_layout Plain Layout
791 \begin_layout Subsection
793 \begin_inset CommandInset label
802 \begin_layout Standard
803 To draw a line in a box use the environment
808 The line is by default dashed.
809 Note that it is just a line and does not separate box parts!
812 \begin_layout Standard
813 This is a box with a line:
816 \begin_layout Standard
817 \begin_inset Flex Color Box
820 \begin_layout Plain Layout
824 \begin_layout Color Box Line
828 \begin_layout Plain Layout
837 \begin_layout Standard
838 The line style can only be changed if a skin is specified, see
839 \begin_inset CommandInset ref
841 reference "subsec:Enhanced"
846 Then one can use the box option
848 segmentation style={commands}
854 are commands to define the style.
867 manual for possible commands,
868 \begin_inset CommandInset citation
877 \begin_layout Standard
878 Here is an example in the
882 skin with a double blue line:
885 \begin_layout Standard
886 \begin_inset Flex Color Box
889 \begin_layout Plain Layout
890 \begin_inset Argument 1
893 \begin_layout Plain Layout
894 enhanced, segmentation style={double=white,draw=blue,double distance=1pt,solid}
902 \begin_layout Color Box Line
906 \begin_layout Plain Layout
915 \begin_layout Standard
916 \begin_inset Newpage newpage
922 \begin_layout Section
924 \begin_inset CommandInset label
926 name "sec:Beakable-boxes"
933 \begin_layout Standard
934 To make a box breakable the option
939 If a page break occurs within a box, the box will get broken this way:
942 \begin_layout Standard
943 \begin_inset Flex Color Box
946 \begin_layout Plain Layout
947 \begin_inset Argument 1
950 \begin_layout Plain Layout
951 title=A breakable box, breakable, title after break=continued...
956 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
957 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
959 At vero eos et accusam et justo duo dolores et ea rebum.
960 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
962 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
963 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
965 At vero eos et accusam et justo duo dolores et ea rebum.
966 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
968 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
969 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
971 At vero eos et accusam et justo duo dolores et ea rebum.
972 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
974 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
975 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
977 At vero eos et accusam et justo duo dolores et ea rebum.
978 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
980 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
981 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
983 At vero eos et accusam et justo duo dolores et ea rebum.
984 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
986 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
987 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
989 At vero eos et accusam et justo duo dolores et ea rebum.
990 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
992 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
993 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
995 At vero eos et accusam et justo duo dolores et ea rebum.
996 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
998 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
999 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1001 At vero eos et accusam et justo duo dolores et ea rebum.
1002 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1004 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1005 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1007 At vero eos et accusam et justo duo dolores et ea rebum.
1008 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1010 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1011 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1013 At vero eos et accusam et justo duo dolores et ea rebum.
1014 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1023 \begin_layout Standard
1024 In the above example the special title
1029 was added for the second page of the box with the option
1036 \begin_layout Standard
1037 If boxes are inside boxes, only the outer box can made breakable.
1040 \begin_layout Standard
1041 \begin_inset Note Greyedout
1044 \begin_layout Plain Layout
1049 Dynamic boxes and fit boxes cannot made breakable!
1057 \begin_layout Section
1061 \begin_layout Subsection
1063 \begin_inset CommandInset label
1065 name "subsec:General"
1072 \begin_layout Standard
1073 The following subsections show many possibilities to customize boxes.
1076 \begin_layout Standard
1077 To avoid to write the box commands all the time, you can use the environment
1081 \begin_inset space ~
1085 \begin_inset space ~
1091 It is inserted via \SpecialChar LyX
1092 's style selection combobox.
1093 There you can write all options that should be applied for
1097 boxes of the document
1102 For example writing there
1104 width=3cm, height=8cm
1106 forces all following boxes to have a height of 8
1107 \begin_inset space \thinspace{}
1111 \begin_inset space \thinspace{}
1115 However, this is not useful if one needs several box types since the changes
1123 \begin_layout Standard
1124 In most documents one need a few types of boxes and all boxes of a type
1125 should look identical.
1126 To achieve this the module
1129 \begin_inset space ~
1133 \begin_inset space ~
1139 \begin_inset space ~
1142 different box types which you can customize.
1143 To change their appearance use the environment
1146 \begin_inset space ~
1150 \begin_inset space ~
1154 \begin_inset space ~
1160 It is inserted via \SpecialChar LyX
1161 's style selection combobox.
1164 \begin_layout Standard
1165 If you want for example a box type that looks like the fancy colored one
1167 \begin_inset CommandInset ref
1169 reference "subsec:Enhanced"
1173 use these options in the environment:
1176 \begin_layout Standard
1179 enhanced, frame style={left color=red!75!black, right color=blue!75!black},
1180 interior style={left color=red!20!white, right color=yellow!50!white}
1183 \begin_layout Standard
1192 (cBoxA is custom box type
1193 \begin_inset space ~
1197 \begin_inset space ~
1201 Because you want to customize every box of this type (e.
1202 \begin_inset space \thinspace{}
1206 \begin_inset space \space{}
1209 every box should have its own title), you need one argument.
1214 into the Arguments inset of the environment.
1217 \begin_layout Standard
1218 \begin_inset Note Greyedout
1221 \begin_layout Plain Layout
1226 If you use an argument, the inset
1230 must also be inserted but left empty!
1238 \begin_layout New Color Box Type
1239 \begin_inset Argument 2
1242 \begin_layout Plain Layout
1249 \begin_inset Argument 3
1252 \begin_layout Plain Layout
1259 \begin_inset Argument 4
1262 \begin_layout Plain Layout
1268 enhanced, frame style={left color=red!75!black, right color=blue!75!black},
1269 interior style={left color=red!20!white, right color=yellow!50!white},
1273 \begin_layout Standard
1274 This way you defined the box type
1277 \begin_inset space ~
1281 \begin_inset space ~
1285 \begin_inset space ~
1291 Boxes of this type will look like this:
1294 \begin_layout Standard
1295 \begin_inset Flex Custom Color Box 1
1298 \begin_layout Plain Layout
1299 \begin_inset Argument 1
1302 \begin_layout Plain Layout
1316 \begin_layout Standard
1317 \begin_inset VSpace bigskip
1321 \begin_inset Newline newline
1324 Assuming you need a box type that can be numbered, you insert
1327 \begin_layout Standard
1330 auto counter, number within=section
1333 \begin_layout Standard
1345 \begin_inset space ~
1349 \begin_inset space ~
1353 \begin_inset space ~
1379 \begin_layout Standard
1382 colback=red!5!white, colframe=red!75!black, title=Example~
1387 \begin_layout Standard
1388 into the environment.
1389 This predefines a title prefix.
1396 is hereby the counter of colored boxes.
1400 \begin_inset space ~
1404 \begin_inset space ~
1408 \begin_inset space ~
1413 you specify the title via the options inset:
1416 \begin_layout New Color Box Type
1417 \begin_inset Argument 1
1420 \begin_layout Plain Layout
1421 auto counter, number within=section
1427 \begin_inset Argument 2
1430 \begin_layout Plain Layout
1437 \begin_inset Argument 3
1440 \begin_layout Plain Layout
1447 \begin_inset Argument 4
1450 \begin_layout Plain Layout
1456 colback=red!5!white, colframe=red!75!black, title=Example~
1461 \begin_layout Standard
1462 \begin_inset Flex Custom Color Box 2
1465 \begin_layout Plain Layout
1466 \begin_inset Argument 1
1469 \begin_layout Plain Layout
1470 Custom numbered title
1483 \begin_layout Standard
1484 Note that you must not write
1488 because this is already done in the definition.
1491 \begin_layout Standard
1492 You can still customize the box by adding options
1499 \begin_layout Standard
1500 \begin_inset Flex Custom Color Box 2
1503 \begin_layout Plain Layout
1504 \begin_inset Argument 1
1507 \begin_layout Plain Layout
1508 Bold numbered title, colback=lime, fonttitle=
1523 \begin_layout Standard
1524 \begin_inset VSpace bigskip
1527 At last a more advanced example:
1528 \begin_inset Newline newline
1531 Assuming you need the type we just defined as
1534 \begin_inset space ~
1538 \begin_inset space ~
1542 \begin_inset space ~
1547 but want to add more than one option.
1548 This is for example useful for options that require another option before
1549 in the options list.
1550 \begin_inset Newline newline
1556 \begin_layout Standard
1559 auto counter, number within=section
1562 \begin_layout Standard
1574 \begin_inset space ~
1578 \begin_inset space ~
1582 \begin_inset space ~
1598 \begin_inset space ~
1613 \begin_layout Standard
1616 nobeforeafter, width=#1, square, colframe=orange!50!black,
1617 \begin_inset Newline newline
1625 \begin_layout Standard
1626 into the environment.
1630 \begin_inset space ~
1634 \begin_inset space ~
1638 \begin_inset space ~
1643 you specify the width via the
1647 inset and the title (and further options if you like) via the
1649 More Color Box Options
1654 \begin_layout New Color Box Type
1655 \begin_inset Argument 1
1658 \begin_layout Plain Layout
1659 auto counter, number within=section
1665 \begin_inset Argument 2
1668 \begin_layout Plain Layout
1675 \begin_inset Argument 3
1678 \begin_layout Plain Layout
1685 \begin_inset Argument 4
1688 \begin_layout Plain Layout
1694 nobeforeafter, width=#1, square, colframe=orange!50!black, title=Example~
1699 \begin_layout Standard
1700 \begin_inset Flex Custom Color Box 3
1703 \begin_layout Plain Layout
1704 \begin_inset Argument 1
1707 \begin_layout Plain Layout
1714 \begin_inset Argument 2
1717 \begin_layout Plain Layout
1724 \begin_inset space \thinspace{}
1727 cm wide custom color box 3
1733 \begin_inset Flex Custom Color Box 3
1736 \begin_layout Plain Layout
1737 \begin_inset Argument 1
1740 \begin_layout Plain Layout
1747 \begin_inset Argument 2
1750 \begin_layout Plain Layout
1757 \begin_inset space \thinspace{}
1760 cm wide custom color box 3 with the
1772 \begin_layout Subsection
1776 \begin_layout Standard
1777 The \SpecialChar LaTeX
1782 provides different skins.
1783 For a full list, see the
1790 \begin_inset space ~
1796 \begin_inset CommandInset citation
1803 Only the most important skins are listed in the following.
1806 \begin_layout Subsubsection
1808 \begin_inset CommandInset label
1810 name "subsec:Enhanced"
1817 \begin_layout Standard
1818 This skin is enabled by adding the option enhanced.
1819 Without further options it looks like the standard skin.
1820 Its advantage are some extra features like the customization of lines,
1822 \begin_inset CommandInset ref
1824 reference "subsec:Lines"
1828 or the ability to have shadows, see
1829 \begin_inset CommandInset ref
1831 reference "subsec:Shadows"
1836 Another feature is a nicer style of breakable boxes:
1839 \begin_layout Standard
1840 \begin_inset Flex Color Box
1843 \begin_layout Plain Layout
1844 \begin_inset Argument 1
1847 \begin_layout Plain Layout
1852 breakable box, breakable, enhanced
1857 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1858 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1860 At vero eos et accusam et justo duo dolores et ea rebum.
1861 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1863 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1864 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1866 At vero eos et accusam et justo duo dolores et ea rebum.
1867 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1869 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1870 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1872 At vero eos et accusam et justo duo dolores et ea rebum.
1873 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1875 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1876 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1878 At vero eos et accusam et justo duo dolores et ea rebum.
1879 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1881 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1882 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1884 At vero eos et accusam et justo duo dolores et ea rebum.
1885 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1887 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1888 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1890 At vero eos et accusam et justo duo dolores et ea rebum.
1891 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1893 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1894 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1896 At vero eos et accusam et justo duo dolores et ea rebum.
1897 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1899 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1900 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1902 At vero eos et accusam et justo duo dolores et ea rebum.
1903 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1905 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1906 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1908 At vero eos et accusam et justo duo dolores et ea rebum.
1909 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1911 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1912 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1914 At vero eos et accusam et justo duo dolores et ea rebum.
1915 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1924 \begin_layout Standard
1925 Another feature you might like is to add color gradients with the options
1936 \begin_inset Newline newline
1941 frame style={left color=color, right color=color}
1942 \begin_inset Newline newline
1951 is a color name or definition, see
1952 \begin_inset CommandInset ref
1954 reference "subsec:Color"
1961 \begin_layout Standard
1962 \begin_inset Flex Color Box
1965 \begin_layout Plain Layout
1966 \begin_inset Argument 1
1969 \begin_layout Plain Layout
1974 box with a color gradient, enhanced, frame style={left color=red!75!black,
1975 right color=blue!75!black}, interior style={left color=red!20!white, right
1976 color=yellow!50!white}
1984 \begin_layout Color Box Separator
1988 \begin_layout Plain Layout
1997 \begin_layout Standard
1998 Alternatively one can use a PNG image as background for boxes with the option
2001 frame style image=file name
2006 \begin_inset space ~
2011 is the file name of the image.
2014 \begin_layout Subsubsection
2018 \begin_layout Standard
2019 With this skin the lower content gets another background color than the
2023 \begin_layout Standard
2024 \begin_inset Flex Color Box
2027 \begin_layout Plain Layout
2028 \begin_inset Argument 1
2031 \begin_layout Plain Layout
2032 title=A box with the skin
2044 \begin_layout Color Box Separator
2048 \begin_layout Plain Layout
2057 \begin_layout Standard
2058 The color of the lower part can be changed with the option
2064 \begin_inset CommandInset ref
2066 reference "subsec:Color"
2070 for color customization.
2073 \begin_layout Subsubsection
2075 \begin_inset CommandInset label
2077 name "subsec:Beamer"
2084 \begin_layout Standard
2085 This is a skin that simulates the appearance of the beamer presentation
2087 Its appearance can be changed like for the enhanced skin,
2088 \begin_inset CommandInset ref
2090 reference "subsec:Enhanced"
2097 \begin_layout Standard
2098 \begin_inset Flex Color Box
2101 \begin_layout Plain Layout
2102 \begin_inset Argument 1
2105 \begin_layout Plain Layout
2110 box with a color gradient, beamer, frame style={left color=red!75!black,
2111 right color=blue!75!black}
2119 \begin_layout Color Box Separator
2123 \begin_layout Plain Layout
2132 \begin_layout Subsubsection
2136 \begin_layout Standard
2137 This skin is like the standard skin but the background colors are automatically
2141 \begin_layout Standard
2142 \begin_inset Flex Color Box
2145 \begin_layout Plain Layout
2146 \begin_inset Argument 1
2149 \begin_layout Plain Layout
2162 \begin_layout Color Box Separator
2166 \begin_layout Plain Layout
2175 \begin_layout Subsubsection
2179 \begin_layout Standard
2180 This skin has no colors.
2181 To make the title visible (because it is by default white) you have to
2182 change its color, see
2183 \begin_inset CommandInset ref
2185 reference "subsec:Title-text"
2192 \begin_layout Standard
2193 \begin_inset Flex Color Box
2196 \begin_layout Plain Layout
2197 \begin_inset Argument 1
2200 \begin_layout Plain Layout
2201 title=A box with the
2205 skin, empty, coltitle=orange
2213 \begin_layout Color Box Separator
2217 \begin_layout Plain Layout
2226 \begin_layout Subsection
2230 \begin_layout Subsubsection
2234 \begin_layout Standard
2235 Normally the boxes are a paragraph of its own.
2236 They will therefore appear by default one upon another separated by vertical
2238 To change this behavior to place for example boxes side by side and uses
2239 the placement options
2248 By default there is a paragraph break before and after the box.
2249 By using the options
2253 nothing will be added besides the boxes so that they can be places side
2257 \begin_layout Standard
2258 \begin_inset Flex Color Box
2261 \begin_layout Plain Layout
2262 \begin_inset Argument 1
2265 \begin_layout Plain Layout
2266 width=3cm, square, valign=center, before=, after=
2272 \begin_inset space \thinspace{}
2275 cm wide, square box.
2281 \begin_inset Flex Color Box
2284 \begin_layout Plain Layout
2285 \begin_inset Argument 1
2288 \begin_layout Plain Layout
2289 width=3cm, square, valign=center, before=, after=
2295 \begin_inset space \thinspace{}
2298 cm wide, square box.
2304 \begin_inset Flex Color Box
2307 \begin_layout Plain Layout
2308 \begin_inset Argument 1
2311 \begin_layout Plain Layout
2312 width=3cm, square, valign=center, before=, after=
2318 \begin_inset space \thinspace{}
2321 cm wide, square box.
2329 \begin_layout Standard
2334 is an alternative for
2341 \begin_layout Standard
2342 To separate the boxes one can use the normal \SpecialChar LyX
2343 spacing features like a horizontal
2347 \begin_layout Standard
2348 \begin_inset space \hfill{}
2352 \begin_inset Flex Color Box
2355 \begin_layout Plain Layout
2356 \begin_inset Argument 1
2359 \begin_layout Plain Layout
2360 width=3cm, square, valign=center, nobeforeafter
2366 \begin_inset space \thinspace{}
2369 cm wide, square box.
2375 \begin_inset space \hfill{}
2379 \begin_inset Flex Color Box
2382 \begin_layout Plain Layout
2383 \begin_inset Argument 1
2386 \begin_layout Plain Layout
2387 width=3cm, square, valign=center, nobeforeafter
2393 \begin_inset space \thinspace{}
2396 cm wide, square box.
2402 \begin_inset space \hfill{}
2406 \begin_inset Flex Color Box
2409 \begin_layout Plain Layout
2410 \begin_inset Argument 1
2413 \begin_layout Plain Layout
2414 width=3cm, square, valign=center, nobeforeafter
2420 \begin_inset space \thinspace{}
2423 cm wide, square box.
2429 \begin_inset space \hfill{}
2435 \begin_layout Standard
2436 If you prefer \SpecialChar TeX
2437 code you can alternative use the option
2443 to add a a horizontal fill.
2446 \begin_layout Subsubsection
2450 \begin_layout Standard
2451 Like for tables and figures in a document it is very helpful if boxes could
2452 float in the text to be placed at the optimal position.
2453 This is achieved by the option
2461 are the optional \SpecialChar TeX
2462 floating placement options
2463 \begin_inset Quotes eld
2471 \begin_inset Quotes erd
2475 \begin_inset Quotes eld
2483 \begin_inset Quotes erd
2487 \begin_inset Quotes eld
2495 \begin_inset Quotes erd
2499 \begin_inset Quotes eld
2507 \begin_inset Quotes erd
2511 They correspond to the float placement options described in section
2514 \begin_inset space ~
2522 \begin_inset space ~
2528 The placement options can be mixed and are inserted without any separation,
2530 \begin_inset space \thinspace{}
2534 \begin_inset space \space{}
2538 \begin_inset Quotes eld
2546 \begin_inset Quotes erd
2552 \begin_layout Standard
2553 \begin_inset Flex Color Box
2556 \begin_layout Plain Layout
2557 \begin_inset Argument 1
2560 \begin_layout Plain Layout
2561 title=A floating box, float, width=5cm, valign=center
2567 \begin_inset space \thinspace{}
2570 cm wide floating box.
2578 \begin_layout Standard
2579 For floating boxes the options
2588 One can instead insert code with the command
2593 If the box is breakable the code is inserted before every part of the break
2595 A typical application is to center the floating box with
2602 \begin_layout Standard
2603 \begin_inset Flex Color Box
2606 \begin_layout Plain Layout
2607 \begin_inset Argument 1
2610 \begin_layout Plain Layout
2611 title=A floating box, float, width=5cm, valign=center, every float=
2619 \begin_inset space \thinspace{}
2622 cm wide floating box.
2630 \begin_layout Subsubsection
2632 \begin_inset CommandInset label
2634 name "subsec:Vertical"
2641 \begin_layout Standard
2642 The vertical placement of a box in respect to the surrounding text line
2643 can only be set for dynamic boxes.
2648 raises or lowers the box.
2654 The allowed units for values are listed in Appendix
2655 \begin_inset space ~
2661 \begin_inset space ~
2667 The default width is
2676 the box is lowered that the base of the box content matches the base of
2677 the surrounding line.
2680 \begin_layout Standard
2684 \begin_layout Standard
2686 \begin_inset Flex Dynamic Color Box
2689 \begin_layout Plain Layout
2690 \begin_inset Argument 1
2693 \begin_layout Plain Layout
2694 tcbox raise base, nobeforeafter
2705 \begin_inset Flex Dynamic Color Box
2708 \begin_layout Plain Layout
2709 \begin_inset Argument 1
2712 \begin_layout Plain Layout
2724 \begin_inset Flex Dynamic Color Box
2727 \begin_layout Plain Layout
2728 \begin_inset Argument 1
2731 \begin_layout Plain Layout
2732 tcbox raise=1cm, nobeforeafter
2738 \begin_inset space \thinspace{}
2749 \begin_layout Subsubsection
2753 \begin_layout Standard
2754 The easiest way to place boxes in a table-like raster is to put them into
2756 To get a raster box insert a
2759 \begin_inset space ~
2763 \begin_inset space ~
2770 Insert\SpecialChar menuseparator
2776 \begin_layout Standard
2777 The number of columns is specified with the option
2779 raster columns=number
2785 is the number of columns.
2786 All boxes inserted to the raster box will now automatically be output in
2787 a raster with 3 columns and their width is automatically adjusted.
2790 \begin_layout Standard
2791 \begin_inset Flex Raster Color Box
2794 \begin_layout Plain Layout
2795 \begin_inset Argument 1
2798 \begin_layout Plain Layout
2807 \begin_layout Plain Layout
2808 \begin_inset Flex Color Box
2811 \begin_layout Plain Layout
2812 \begin_inset Argument 1
2815 \begin_layout Plain Layout
2827 \begin_inset Flex Color Box
2830 \begin_layout Plain Layout
2831 \begin_inset Argument 1
2834 \begin_layout Plain Layout
2846 \begin_inset Flex Color Box
2849 \begin_layout Plain Layout
2850 \begin_inset Argument 1
2853 \begin_layout Plain Layout
2865 \begin_inset Flex Color Box
2868 \begin_layout Plain Layout
2869 \begin_inset Argument 1
2872 \begin_layout Plain Layout
2884 \begin_inset Flex Color Box
2887 \begin_layout Plain Layout
2888 \begin_inset Argument 1
2891 \begin_layout Plain Layout
2910 \begin_layout Standard
2911 For more info options of the raster color box, please consult the
2918 \begin_inset space ~
2924 \begin_inset CommandInset citation
2933 \begin_layout Subsection
2935 \begin_inset CommandInset label
2937 name "subsec:Geometry"
2944 \begin_layout Subsubsection
2948 \begin_layout Subsubsection*
2952 \begin_layout Standard
2953 The width of the box is changed with the option
2962 The allowed units for values are listed in Appendix
2963 \begin_inset space ~
2969 \begin_inset space ~
2975 The default width is
2984 \begin_layout Standard
2985 \begin_inset Flex Color Box
2988 \begin_layout Plain Layout
2989 \begin_inset Argument 1
2992 \begin_layout Plain Layout
2999 \begin_inset space \thinspace{}
3010 \begin_layout Standard
3011 One can also set a width only for the text of the box with the option
3016 If the width is shorter than required for the text new lines will be created
3020 \begin_layout Standard
3021 \begin_inset Flex Color Box
3024 \begin_layout Plain Layout
3025 \begin_inset Argument 1
3028 \begin_layout Plain Layout
3034 Some longer text to fill the box with a width of 4
3035 \begin_inset space \thinspace{}
3046 \begin_layout Standard
3055 because only the last given width option is taken into account.
3058 \begin_layout Standard
3059 To extend the width of the box one must use the
3063 option and can then uses the option
3070 \begin_layout Standard
3071 \begin_inset Flex Color Box
3074 \begin_layout Plain Layout
3075 \begin_inset Argument 1
3078 \begin_layout Plain Layout
3079 width=10cm, add to width=2cm
3085 \begin_inset space \thinspace{}
3088 cm wide box with additional width of 2
3089 \begin_inset space \thinspace{}
3100 \begin_layout Subsubsection*
3104 \begin_layout Standard
3105 For boxes with parts side by side one can control the width of the box parts
3129 sidebyside gap=length
3136 The allowed units for the values are listed in Appendix
3137 \begin_inset space ~
3143 \begin_inset space ~
3149 All option require of course the option sidebyside.
3152 \begin_layout Standard
3157 sets the space between the left and the right part.
3160 \begin_layout Standard
3161 \begin_inset Flex Color Box
3164 \begin_layout Plain Layout
3165 \begin_inset Argument 1
3168 \begin_layout Plain Layout
3169 sidebyside, sidebyside gap=2cm
3174 Upper content divided by 2
3175 \begin_inset space \thinspace{}
3181 \begin_layout Color Box Separator
3185 \begin_layout Plain Layout
3194 \begin_layout Standard
3203 sets the absolute width of the left and right part, respectively.
3206 \begin_layout Standard
3207 \begin_inset Flex Color Box
3210 \begin_layout Plain Layout
3211 \begin_inset Argument 1
3214 \begin_layout Plain Layout
3215 sidebyside, lefthand width=3cm
3220 Upper content with a width of 3
3221 \begin_inset space \thinspace{}
3227 \begin_layout Color Box Separator
3231 \begin_layout Plain Layout
3240 \begin_layout Standard
3249 sets the relative width of the left and right part, respectively.
3252 \begin_layout Standard
3253 \begin_inset Flex Color Box
3256 \begin_layout Plain Layout
3257 \begin_inset Argument 1
3260 \begin_layout Plain Layout
3261 sidebyside, lefthand ratio=0.3
3266 Upper content with a width of 30
3267 \begin_inset space \thinspace{}
3273 \begin_layout Color Box Separator
3277 \begin_layout Plain Layout
3286 \begin_layout Subsubsection
3288 \begin_inset CommandInset label
3290 name "subsec:Height"
3297 \begin_layout Subsubsection*
3301 \begin_layout Standard
3302 The height of the box is changed with the option
3311 The default height is the height consumed by the box content.
3314 \begin_layout Standard
3315 \begin_inset Flex Color Box
3318 \begin_layout Plain Layout
3319 \begin_inset Argument 1
3322 \begin_layout Plain Layout
3329 \begin_inset space \thinspace{}
3340 \begin_layout Standard
3341 If the specified height is smaller then the one consumed by the content,
3342 the content will be placed below the box:
3345 \begin_layout Standard
3346 \begin_inset Flex Color Box
3349 \begin_layout Plain Layout
3350 \begin_inset Argument 1
3353 \begin_layout Plain Layout
3360 \begin_inset space \thinspace{}
3371 \begin_layout Standard
3372 \begin_inset VSpace bigskip
3379 the height will automatically set to the same value than the box width.
3382 \begin_layout Standard
3383 \begin_inset Flex Color Box
3386 \begin_layout Plain Layout
3387 \begin_inset Argument 1
3390 \begin_layout Plain Layout
3404 \begin_layout Standard
3405 \begin_inset VSpace bigskip
3408 To extend the height of the box in case the content might consume more height
3409 than expected one must use the
3413 option and can then uses the option
3418 An application would be to set a maximal possible height in case you write
3419 a book where the spacing is defined and should not be overwritten by any
3423 \begin_layout Standard
3424 \begin_inset Flex Color Box
3427 \begin_layout Plain Layout
3428 \begin_inset Argument 1
3431 \begin_layout Plain Layout
3432 height=2cm, height plus=2cm
3438 \begin_inset space \thinspace{}
3441 cm high box with additional height of 2
3442 \begin_inset space \thinspace{}
3453 \begin_layout Standard
3454 \begin_inset Flex Color Box
3457 \begin_layout Plain Layout
3458 \begin_inset Argument 1
3461 \begin_layout Plain Layout
3462 height=2cm, height plus=2cm
3468 \begin_inset space \thinspace{}
3471 cm high box with additional height of 2
3472 \begin_inset space \thinspace{}
3476 Its content consumes 3
3477 \begin_inset space \thinspace{}
3480 cm therefore the box height will also be 3
3481 \begin_inset space \thinspace{}
3486 \begin_inset space \thinspace{}
3489 cm high box with additional height of 2
3490 \begin_inset space \thinspace{}
3494 Its content consumes 3
3495 \begin_inset space \thinspace{}
3498 cm therefore the box height will also be 3
3499 \begin_inset space \thinspace{}
3504 \begin_inset space \thinspace{}
3507 cm high box with additional height of 2
3508 \begin_inset space \thinspace{}
3512 Its content consumes 3
3513 \begin_inset space \thinspace{}
3516 cm therefore the box height will also be 3
3517 \begin_inset space \thinspace{}
3528 \begin_layout Standard
3529 \begin_inset VSpace bigskip
3532 In some cases it might be useful to specify an allowed range for the height
3535 height from=min to max
3546 The height will then be at least the given minimal value or the height
3547 consumed by the content.
3548 It does not exceed the maximum independent of the content:
3551 \begin_layout Standard
3552 \begin_inset Flex Color Box
3555 \begin_layout Plain Layout
3556 \begin_inset Argument 1
3559 \begin_layout Plain Layout
3560 height from=1cm to 3cm
3565 A box with minimal height of 1
3566 \begin_inset space \thinspace{}
3569 cm and maximal height of 3
3570 \begin_inset space \thinspace{}
3581 \begin_layout Standard
3582 \begin_inset Flex Color Box
3585 \begin_layout Plain Layout
3586 \begin_inset Argument 1
3589 \begin_layout Plain Layout
3590 height from=1cm to 3cm
3595 A box with minimal height of 1
3596 \begin_inset space \thinspace{}
3599 cm and maximal height of 3
3600 \begin_inset space \thinspace{}
3604 A box with minimal height of 1
3605 \begin_inset space \thinspace{}
3608 cm and maximal height of 3
3609 \begin_inset space \thinspace{}
3613 A box with minimal height of 1
3614 \begin_inset space \thinspace{}
3617 cm and maximal height of 3
3618 \begin_inset space \thinspace{}
3629 \begin_layout Standard
3630 \begin_inset VSpace bigskip
3635 add to height=length
3637 one can add defined height to the box.
3642 option must be added
3649 \begin_layout Standard
3650 \begin_inset Flex Color Box
3653 \begin_layout Plain Layout
3654 \begin_inset Argument 1
3657 \begin_layout Plain Layout
3658 height=1.5cm, add to height=1cm
3664 \begin_inset space \thinspace{}
3668 \begin_inset space \thinspace{}
3671 cm additional height.
3679 \begin_layout Standard
3680 \begin_inset VSpace bigskip
3687 one can force the box to consume the rest of the available height of the
3688 document parts where it is in.
3702 The latter works like
3706 but compresses the content of the page before the box as much as possible
3707 to maximize the box.
3708 \begin_inset Newline newline
3711 In this example the box is in the main text and therefore consumes the rest
3712 of the current page.
3715 \begin_layout Standard
3716 \begin_inset Flex Color Box
3719 \begin_layout Plain Layout
3720 \begin_inset Argument 1
3723 \begin_layout Plain Layout
3729 A box that fills the remaining height of the current page.
3737 \begin_layout Subsubsection*
3741 \begin_layout Standard
3742 One can set a height only for the text of the box with the option
3743 \begin_inset Newline newline
3753 \begin_layout Standard
3754 \begin_inset Flex Color Box
3757 \begin_layout Plain Layout
3758 \begin_inset Argument 1
3761 \begin_layout Plain Layout
3768 \begin_inset space \thinspace{}
3772 Due to the frame separation and the frame width the box height is larger
3774 \begin_inset space \thinspace{}
3785 \begin_layout Standard
3794 because only the last given width option is taken into account.
3797 \begin_layout Standard
3798 \begin_inset VSpace bigskip
3821 one can specify how the height should be divided between the upper and
3831 is the fraction of the additional height (the specified height minus the
3832 height consumed by the content).
3833 \begin_inset Newline newline
3841 \begin_inset space \thinspace{}
3844 % of the additional space to the upper part:
3847 \begin_layout Standard
3848 \begin_inset Flex Color Box
3851 \begin_layout Plain Layout
3852 \begin_inset Argument 1
3855 \begin_layout Plain Layout
3856 height=3cm, space=0.75
3862 \begin_inset space \thinspace{}
3865 cm high box where 75 % of the additional height is set to the upper content.
3868 \begin_layout Color Box Separator
3872 \begin_layout Plain Layout
3881 \begin_layout Standard
3909 \begin_layout Standard
3910 \begin_inset Flex Color Box
3913 \begin_layout Plain Layout
3914 \begin_inset Argument 1
3917 \begin_layout Plain Layout
3918 height=3cm, space to upper
3924 \begin_inset space \thinspace{}
3927 cm high box where all additional height is set to the upper content.
3930 \begin_layout Color Box Separator
3934 \begin_layout Plain Layout
3943 \begin_layout Standard
3952 is the fraction of the complete height (not the additional height).
3953 Therefore one must be careful of e.
3954 \begin_inset space \thinspace{}
3958 \begin_inset space \space{}
3961 the upper part consumes more height than one set via
3968 \begin_layout Standard
3969 \begin_inset Flex Color Box
3972 \begin_layout Plain Layout
3973 \begin_inset Argument 1
3976 \begin_layout Plain Layout
3977 height=3cm, split=0.1
3983 \begin_inset space \thinspace{}
3986 cm high box where the height is split by 10
3987 \begin_inset space \thinspace{}
3992 \begin_inset space \thinspace{}
3995 cm high box where the height is split by 10
3996 \begin_inset space \thinspace{}
4002 \begin_layout Color Box Separator
4006 \begin_layout Plain Layout
4015 \begin_layout Standard
4016 \begin_inset VSpace bigskip
4021 equal height group=id
4023 it is possible to set the same height for all boxes in a group.
4028 is a name to reference the group.
4029 This is for example useful if one has 3
4030 \begin_inset space ~
4033 boxes side by side inside a box:
4036 \begin_layout Standard
4037 \begin_inset Flex Color Box
4040 \begin_layout Plain Layout
4041 \begin_inset Flex Color Box
4044 \begin_layout Plain Layout
4045 \begin_inset Argument 1
4048 \begin_layout Plain Layout
4049 adjusted title=ice, width=0.3
4051 columnwidth, nobeforeafter, equal height group=A
4062 \begin_inset space \hfill{}
4066 \begin_inset Flex Color Box
4069 \begin_layout Plain Layout
4070 \begin_inset Argument 1
4073 \begin_layout Plain Layout
4074 adjusted title=Grapefruit, width=0.3
4076 columnwidth, space to upper, nobeforeafter, equal height group=A
4084 \begin_layout Color Box Separator
4088 \begin_layout Plain Layout
4095 \begin_inset space \hfill{}
4099 \begin_inset Flex Color Box
4102 \begin_layout Plain Layout
4103 \begin_inset Argument 1
4106 \begin_layout Plain Layout
4107 adjusted title=, width=0.3
4109 columnwidth, nobeforeafter, equal height group=A
4114 A box with longer text.
4115 A box with longer text.
4116 A box with longer text.
4117 A box with longer text.
4118 A box with longer text.
4131 \begin_layout Standard
4132 The above example was typeset by adding the option
4134 equal height group=A
4137 \begin_inset space ~
4145 is hereby the name of the group.
4148 \begin_layout Standard
4149 If you have a title that needs only a single line, it is recommended to
4158 for all boxes to assure that the title height will be the same for all
4160 Otherwise the height would be different in the above example because
4161 \begin_inset Quotes eld
4165 \begin_inset Quotes erd
4168 needs more height than
4169 \begin_inset Quotes eld
4173 \begin_inset Quotes erd
4179 \begin_layout Subsubsection
4183 \begin_layout Standard
4184 The width of the box frame can be changed with the options
4205 Each option changes the corresponding part of the frame.
4215 The allowed units for the values are listed in Appendix
4216 \begin_inset space ~
4222 \begin_inset space ~
4228 The default length for all parts is 0.5
4229 \begin_inset space \thinspace{}
4233 To set all frame parts to the same value use the option
4240 \begin_layout Standard
4241 \begin_inset Flex Color Box
4244 \begin_layout Plain Layout
4245 \begin_inset Argument 1
4248 \begin_layout Plain Layout
4249 leftrule=3mm, rightrule=4mm, toprule=2mm, bottomrule=1mm
4255 \begin_inset space \thinspace{}
4258 mm wide left rule, 4
4259 \begin_inset space \thinspace{}
4262 mm wide right rule, 2
4263 \begin_inset space \thinspace{}
4267 \begin_inset space \thinspace{}
4278 \begin_layout Standard
4279 \begin_inset Flex Color Box
4282 \begin_layout Plain Layout
4283 \begin_inset Argument 1
4286 \begin_layout Plain Layout
4293 \begin_inset space \thinspace{}
4304 \begin_layout Standard
4305 The title rule is the separation between the title and the box content.
4308 \begin_layout Standard
4309 \begin_inset Flex Color Box
4312 \begin_layout Plain Layout
4313 \begin_inset Argument 1
4316 \begin_layout Plain Layout
4317 title=A title, titlerule=8mm, colbacktitle=blue
4323 \begin_inset space \thinspace{}
4334 \begin_layout Subsubsection
4338 \begin_layout Standard
4339 By default boxes are rectangular with rounded edges.
4340 The radius of the edges can be changed with the option
4349 The allowed units for the values are listed in Appendix
4350 \begin_inset space ~
4356 \begin_inset space ~
4369 \begin_layout Standard
4370 \begin_inset Flex Color Box
4373 \begin_layout Plain Layout
4374 \begin_inset Argument 1
4377 \begin_layout Plain Layout
4386 \begin_inset space \thinspace{}
4399 \begin_layout Standard
4404 one can set the outer radius independently:
4407 \begin_layout Standard
4408 \begin_inset Flex Color Box
4411 \begin_layout Plain Layout
4412 \begin_inset Argument 1
4415 \begin_layout Plain Layout
4416 arc=5mm, outer arc=0mm
4424 \begin_inset space \thinspace{}
4432 \begin_inset space \thinspace{}
4445 \begin_layout Standard
4446 \begin_inset Flex Color Box
4449 \begin_layout Plain Layout
4450 \begin_inset Argument 1
4453 \begin_layout Plain Layout
4454 arc=0mm, outer arc=0mm
4459 A really rectangular box (
4470 \begin_inset space \thinspace{}
4476 The same can alternatively be achieved with the option
4488 \begin_layout Standard
4489 \begin_inset VSpace bigskip
4492 The general shape can be changed with the options
4507 \begin_layout Standard
4512 sets the edge radius to half of the box width.
4513 It is therefore required to specify at least the width.
4516 \begin_layout Standard
4517 \begin_inset Flex Color Box
4520 \begin_layout Plain Layout
4521 \begin_inset Argument 1
4524 \begin_layout Plain Layout
4525 width=3.5cm, circular arc
4531 \begin_inset space \thinspace{}
4534 cm wide circular box.
4542 \begin_layout Standard
4543 As you can see circular box looks ugly when the box is wider than high.
4544 It is therefore recommended to add the option
4549 \begin_inset CommandInset ref
4551 reference "subsec:Height"
4555 , to get the same width and height.
4556 The result is a perfect circle.
4557 The center the text in the box use the text alignment options described
4559 \begin_inset CommandInset ref
4561 reference "subsec:Alignment"
4568 \begin_layout Standard
4569 \begin_inset Flex Color Box
4572 \begin_layout Plain Layout
4573 \begin_inset Argument 1
4576 \begin_layout Plain Layout
4577 width=4cm, square, valign=center, circular arc
4583 \begin_inset space \thinspace{}
4586 cm wide circular box.
4594 \begin_layout Standard
4599 sets the edge radius to half of the minimum of the box width and height.
4600 The result is a semicircle.
4605 requires the options
4620 \begin_layout Standard
4621 \begin_inset Flex Color Box
4624 \begin_layout Plain Layout
4625 \begin_inset Argument 1
4628 \begin_layout Plain Layout
4629 width=3.5cm, height=5cm, bean arc, nobeforeafter, valign=center
4635 \begin_inset space \thinspace{}
4639 \begin_inset space \thinspace{}
4652 \begin_inset Flex Color Box
4655 \begin_layout Plain Layout
4656 \begin_inset Argument 1
4659 \begin_layout Plain Layout
4660 width=5cm, height=3.5cm, bean arc, nobeforeafter, valign=center
4666 \begin_inset space \thinspace{}
4670 \begin_inset space \thinspace{}
4685 \begin_layout Standard
4686 Using bean arc for a square box leads to the same result as
4693 \begin_layout Standard
4694 \begin_inset Flex Color Box
4697 \begin_layout Plain Layout
4698 \begin_inset Argument 1
4701 \begin_layout Plain Layout
4702 width=4cm, square, bean arc, valign=center
4708 \begin_inset space \thinspace{}
4711 cm wide, square box as bean arc.
4719 \begin_layout Standard
4724 is useful to get an octagon.
4725 For an octagon one needs a square box and the options
4732 \begin_layout Standard
4733 \begin_inset Flex Color Box
4736 \begin_layout Plain Layout
4737 \begin_inset Argument 1
4740 \begin_layout Plain Layout
4741 width=4cm, square, octogon arc, valign=center, arc is angular
4747 \begin_inset space \thinspace{}
4750 cm wide, square box with
4762 \begin_layout Standard
4763 \begin_inset Note Greyedout
4766 \begin_layout Plain Layout
4775 is experimental and might cause problems on some \SpecialChar LaTeX
4784 \begin_layout Standard
4785 \begin_inset VSpace bigskip
4788 It is also possible to change only some of the box edges.
4789 To make an edge a corner there is the option
4791 sharp corners=position
4797 is the position of the edge.
4814 change only the corresponding edge.
4817 \begin_layout Standard
4818 \begin_inset Flex Color Box
4821 \begin_layout Plain Layout
4822 \begin_inset Argument 1
4825 \begin_layout Plain Layout
4826 sharp corners=northeast
4831 A box with a corner at the upper right (
4843 \begin_layout Standard
4869 \begin_inset space ~
4875 \begin_layout Standard
4876 \begin_inset Flex Color Box
4879 \begin_layout Plain Layout
4880 \begin_inset Argument 1
4883 \begin_layout Plain Layout
4886 columnwidth,sharp corners=east, nobeforeafter
4892 \begin_inset space ~
4895 corners at the right (
4905 \begin_inset space \hfill{}
4909 \begin_inset Flex Color Box
4912 \begin_layout Plain Layout
4913 \begin_inset Argument 1
4916 \begin_layout Plain Layout
4919 columnwidth,sharp corners=uphill, nobeforeafter
4925 \begin_inset space ~
4928 corners, one at the lower left, one at the upper right (
4940 \begin_layout Standard
4948 \begin_layout Subsection
4950 \begin_inset CommandInset label
4952 name "subsec:Alignment"
4959 \begin_layout Subsubsection
4963 \begin_layout Standard
4968 sets the alignment for the whole box content if there are not box parts,
4969 otherwise the options
4982 is one of the following:
4985 \begin_layout Description
4986 right the content is right-aligned
4987 \begin_inset Flex Color Box
4990 \begin_layout Plain Layout
4991 \begin_inset Argument 1
4994 \begin_layout Plain Layout
5000 A right-aligned box.
5008 \begin_layout Description
5009 left the content is left-aligned
5010 \begin_inset Flex Color Box
5013 \begin_layout Plain Layout
5014 \begin_inset Argument 1
5017 \begin_layout Plain Layout
5031 \begin_layout Description
5032 center the content is centered
5033 \begin_inset Flex Color Box
5036 \begin_layout Plain Layout
5037 \begin_inset Argument 1
5040 \begin_layout Plain Layout
5046 A horizontally centered box.
5054 \begin_layout Description
5055 justify the content is justified (is the default value)
5056 \begin_inset Flex Color Box
5059 \begin_layout Plain Layout
5060 \begin_inset Argument 1
5063 \begin_layout Plain Layout
5077 \begin_layout Standard
5078 An example with box parts:
5079 \begin_inset Flex Color Box
5082 \begin_layout Plain Layout
5083 \begin_inset Argument 1
5086 \begin_layout Plain Layout
5087 halign upper=left, halign lower=center
5092 Upper content left-aligned
5095 \begin_layout Color Box Separator
5099 \begin_layout Plain Layout
5100 Lower content centered
5108 \begin_layout Standard
5109 The title alignment can be changed with the option
5116 \begin_layout Standard
5117 \begin_inset Flex Color Box
5120 \begin_layout Plain Layout
5121 \begin_inset Argument 1
5124 \begin_layout Plain Layout
5125 title=A right-aligned title, halign title=right, halign upper=left, halign
5131 Upper content left-aligned
5134 \begin_layout Color Box Separator
5138 \begin_layout Plain Layout
5139 Lower content centered
5147 \begin_layout Subsubsection
5151 \begin_layout Standard
5152 The vertical alignment can only be changed if the box height is explicitly
5153 set larger than the height consumed by the box content.
5155 \begin_inset CommandInset ref
5157 reference "subsec:Height"
5164 \begin_layout Standard
5169 sets the alignment for the whole box content if there are no box parts,
5170 otherwise the options
5183 is one of the following:
5186 \begin_layout Description
5187 top the content is top-aligned
5188 \begin_inset Flex Color Box
5191 \begin_layout Plain Layout
5192 \begin_inset Argument 1
5195 \begin_layout Plain Layout
5196 height=2cm, valign=top
5209 \begin_layout Description
5210 bottom the content is bottom-aligned
5211 \begin_inset Flex Color Box
5214 \begin_layout Plain Layout
5215 \begin_inset Argument 1
5218 \begin_layout Plain Layout
5219 height=2cm, valign=bottom
5224 A bottom-aligned box.
5232 \begin_layout Description
5233 center the content is vertically centered
5234 \begin_inset Flex Color Box
5237 \begin_layout Plain Layout
5238 \begin_inset Argument 1
5241 \begin_layout Plain Layout
5242 height=2cm, valign=center
5247 A vertically centered box.
5255 \begin_layout Description
5256 scale the content is vertically centered to fit the height
5257 \begin_inset Flex Color Box
5260 \begin_layout Plain Layout
5261 \begin_inset Argument 1
5264 \begin_layout Plain Layout
5265 height=2cm, valign=scale
5270 A box with scaled content.
5278 \begin_layout Standard
5279 An example with box parts:
5282 \begin_layout Standard
5283 \begin_inset Flex Color Box
5286 \begin_layout Plain Layout
5287 \begin_inset Argument 1
5290 \begin_layout Plain Layout
5291 height=4cm, space=0.5, valign upper=bottom, valign lower=center
5296 Upper content bottom-aligned
5299 \begin_layout Color Box Separator
5303 \begin_layout Plain Layout
5304 Lower content centered
5312 \begin_layout Subsection
5316 \begin_layout Standard
5317 The font changing options have the syntax
5325 are \SpecialChar LaTeX
5326 's font changing commands.
5327 For example the code
5328 \begin_inset Newline newline
5342 \begin_inset Newline newline
5345 makes the font sans-serif, bold and increases the font size to the level
5355 \begin_layout Subsubsection
5359 \begin_layout Standard
5360 The title font can be changed with the option
5367 \begin_layout Standard
5368 \begin_inset Flex Color Box
5371 \begin_layout Plain Layout
5372 \begin_inset Argument 1
5375 \begin_layout Plain Layout
5376 title=A title, fonttitle=
5395 \begin_layout Subsubsection
5399 \begin_layout Standard
5400 The font for the upper and lower part text can be changed with the options
5412 \begin_layout Standard
5413 \begin_inset Flex Color Box
5416 \begin_layout Plain Layout
5417 \begin_inset Argument 1
5420 \begin_layout Plain Layout
5421 title=A title, fontupper=
5423 ttfamily, fontlower=
5430 Changed upper text font
5433 \begin_layout Color Box Separator
5437 \begin_layout Plain Layout
5438 Changed lower text font
5446 \begin_layout Subsection
5448 \begin_inset CommandInset label
5457 \begin_layout Standard
5458 The color is specified in one of these schemes:
5461 \begin_layout Enumerate
5467 \begin_inset Newline newline
5471 \begin_inset Newline newline
5479 \begin_inset Newline newline
5483 \begin_inset space \thinspace{}
5487 \begin_inset Newline newline
5491 \begin_inset Flex Color Box
5494 \begin_layout Plain Layout
5495 \begin_inset Argument 1
5498 \begin_layout Plain Layout
5510 \begin_inset VSpace defskip
5516 \begin_layout Enumerate
5519 Name1!PercentOfName1
5522 \begin_inset Newline newline
5526 \begin_inset Newline newline
5534 \begin_inset Newline newline
5538 \begin_inset space \thinspace{}
5542 \begin_inset Newline newline
5546 \begin_inset space \thinspace{}
5550 \begin_inset Quotes eld
5554 \begin_inset Quotes erd
5558 \begin_inset Newline newline
5562 \begin_inset Flex Color Box
5565 \begin_layout Plain Layout
5566 \begin_inset Argument 1
5569 \begin_layout Plain Layout
5581 \begin_inset VSpace defskip
5587 \begin_layout Enumerate
5590 Name1!PercentOfName1!Name2
5593 \begin_inset Newline newline
5597 \begin_inset Newline newline
5605 \begin_inset Newline newline
5609 \begin_inset space \thinspace{}
5613 \begin_inset Newline newline
5617 \begin_inset space \thinspace{}
5621 \begin_inset Newline newline
5625 \begin_inset Flex Color Box
5628 \begin_layout Plain Layout
5629 \begin_inset Argument 1
5632 \begin_layout Plain Layout
5644 \begin_inset VSpace defskip
5650 \begin_layout Enumerate
5653 Name1!PercentName1!Name2!PercentName3!Name3
5656 \begin_inset Newline newline
5660 \begin_inset Newline newline
5665 red!71.4!green!70!blue
5668 \begin_inset Newline newline
5672 \begin_inset Formula $1-0.70=30\,$
5676 \begin_inset Newline newline
5680 \begin_inset Formula $\left(1-0.714\right)\cdot0.70=20.02\thinspace$
5684 \begin_inset Newline newline
5688 \begin_inset Formula $0.714\cdot0.70=49.98\thinspace$
5692 \begin_inset Newline newline
5696 \begin_inset Flex Color Box
5699 \begin_layout Plain Layout
5700 \begin_inset Argument 1
5703 \begin_layout Plain Layout
5704 colback=red!71.4!green!70!blue
5709 red!71.4!green!70!blue
5715 \begin_inset VSpace defskip
5721 \begin_layout Standard
5722 The possible color names are:
5725 \begin_layout Standard
5727 \begin_inset Tabular
5728 <lyxtabular version="3" rows="4" columns="5">
5729 <features tabularvalignment="middle">
5730 <column alignment="left" valignment="top" width="18col%">
5731 <column alignment="left" valignment="top" width="18col%">
5732 <column alignment="left" valignment="top" width="18col%">
5733 <column alignment="left" valignment="top" width="18col%">
5734 <column alignment="left" valignment="top" width="18col%">
5736 <cell alignment="left" valignment="top" usebox="none">
5739 \begin_layout Plain Layout
5743 \begin_layout Plain Layout
5756 \begin_layout Plain Layout
5764 \begin_inset Phantom Phantom
5767 \begin_layout Plain Layout
5777 \begin_layout Plain Layout
5789 <cell alignment="left" valignment="top" usebox="none">
5792 \begin_layout Plain Layout
5796 \begin_layout Plain Layout
5809 \begin_layout Plain Layout
5817 \begin_inset Phantom Phantom
5820 \begin_layout Plain Layout
5830 \begin_layout Plain Layout
5842 <cell alignment="left" valignment="top" usebox="none">
5845 \begin_layout Plain Layout
5849 \begin_layout Plain Layout
5862 \begin_layout Plain Layout
5870 \begin_inset Phantom Phantom
5873 \begin_layout Plain Layout
5883 \begin_layout Plain Layout
5895 <cell alignment="left" valignment="top" usebox="none">
5898 \begin_layout Plain Layout
5902 \begin_layout Plain Layout
5915 \begin_layout Plain Layout
5923 \begin_inset Phantom Phantom
5926 \begin_layout Plain Layout
5936 \begin_layout Plain Layout
5948 <cell alignment="left" valignment="top" usebox="none">
5951 \begin_layout Plain Layout
5955 \begin_layout Plain Layout
5968 \begin_layout Plain Layout
5976 \begin_inset Phantom Phantom
5979 \begin_layout Plain Layout
5989 \begin_layout Plain Layout
6003 <cell alignment="left" valignment="top" usebox="none">
6006 \begin_layout Plain Layout
6010 \begin_layout Plain Layout
6023 \begin_layout Plain Layout
6031 \begin_inset Phantom Phantom
6034 \begin_layout Plain Layout
6044 \begin_layout Plain Layout
6056 <cell alignment="left" valignment="top" usebox="none">
6059 \begin_layout Plain Layout
6063 \begin_layout Plain Layout
6076 \begin_layout Plain Layout
6084 \begin_inset Phantom Phantom
6087 \begin_layout Plain Layout
6097 \begin_layout Plain Layout
6109 <cell alignment="left" valignment="top" usebox="none">
6112 \begin_layout Plain Layout
6116 \begin_layout Plain Layout
6129 \begin_layout Plain Layout
6137 \begin_inset Phantom Phantom
6140 \begin_layout Plain Layout
6150 \begin_layout Plain Layout
6162 <cell alignment="left" valignment="top" usebox="none">
6165 \begin_layout Plain Layout
6169 \begin_layout Plain Layout
6182 \begin_layout Plain Layout
6190 \begin_inset Phantom Phantom
6193 \begin_layout Plain Layout
6203 \begin_layout Plain Layout
6215 <cell alignment="left" valignment="top" usebox="none">
6218 \begin_layout Plain Layout
6222 \begin_layout Plain Layout
6235 \begin_layout Plain Layout
6243 \begin_inset Phantom Phantom
6246 \begin_layout Plain Layout
6256 \begin_layout Plain Layout
6270 <cell alignment="left" valignment="top" usebox="none">
6273 \begin_layout Plain Layout
6277 \begin_layout Plain Layout
6290 \begin_layout Plain Layout
6298 \begin_inset Phantom Phantom
6301 \begin_layout Plain Layout
6311 \begin_layout Plain Layout
6323 <cell alignment="left" valignment="top" usebox="none">
6326 \begin_layout Plain Layout
6330 \begin_layout Plain Layout
6343 \begin_layout Plain Layout
6351 \begin_inset Phantom Phantom
6354 \begin_layout Plain Layout
6364 \begin_layout Plain Layout
6376 <cell alignment="left" valignment="top" usebox="none">
6379 \begin_layout Plain Layout
6383 \begin_layout Plain Layout
6396 \begin_layout Plain Layout
6404 \begin_inset Phantom Phantom
6407 \begin_layout Plain Layout
6417 \begin_layout Plain Layout
6429 <cell alignment="left" valignment="top" usebox="none">
6432 \begin_layout Plain Layout
6436 \begin_layout Plain Layout
6449 \begin_layout Plain Layout
6457 \begin_inset Phantom Phantom
6460 \begin_layout Plain Layout
6470 \begin_layout Plain Layout
6482 <cell alignment="left" valignment="top" usebox="none">
6485 \begin_layout Plain Layout
6489 \begin_layout Plain Layout
6502 \begin_layout Plain Layout
6510 \begin_inset Phantom Phantom
6513 \begin_layout Plain Layout
6523 \begin_layout Plain Layout
6537 <cell alignment="left" valignment="top" usebox="none">
6540 \begin_layout Plain Layout
6544 \begin_layout Plain Layout
6557 \begin_layout Plain Layout
6565 \begin_inset Phantom Phantom
6568 \begin_layout Plain Layout
6578 \begin_layout Plain Layout
6590 <cell alignment="left" valignment="top" usebox="none">
6593 \begin_layout Plain Layout
6597 \begin_layout Plain Layout
6610 \begin_layout Plain Layout
6618 \begin_inset Phantom Phantom
6621 \begin_layout Plain Layout
6631 \begin_layout Plain Layout
6643 <cell alignment="left" valignment="top" usebox="none">
6646 \begin_layout Plain Layout
6650 \begin_layout Plain Layout
6663 \begin_layout Plain Layout
6671 \begin_inset Phantom Phantom
6674 \begin_layout Plain Layout
6684 \begin_layout Plain Layout
6696 <cell alignment="left" valignment="top" usebox="none">
6699 \begin_layout Plain Layout
6703 \begin_layout Plain Layout
6716 \begin_layout Plain Layout
6724 \begin_inset Phantom Phantom
6727 \begin_layout Plain Layout
6737 \begin_layout Plain Layout
6749 <cell alignment="left" valignment="top" usebox="none">
6752 \begin_layout Plain Layout
6766 \begin_layout Standard
6767 , and the ones listed in Appendix
6768 \begin_inset space ~
6774 \begin_inset space ~
6782 \begin_layout Subsubsection
6786 \begin_layout Standard
6787 The background color is changed with the option
6794 \begin_layout Standard
6795 \begin_inset Flex Color Box
6798 \begin_layout Plain Layout
6799 \begin_inset Argument 1
6802 \begin_layout Plain Layout
6803 colback=red!66!green!70!blue
6816 \begin_layout Subsubsection
6820 \begin_layout Standard
6821 The frame color is changed with the option
6828 \begin_layout Standard
6829 \begin_inset Flex Color Box
6832 \begin_layout Plain Layout
6833 \begin_inset Argument 1
6836 \begin_layout Plain Layout
6837 colframe=red!30!blue
6850 \begin_layout Subsubsection
6854 \begin_layout Standard
6855 The title background color is changed with the option
6862 \begin_layout Standard
6863 \begin_inset Flex Color Box
6866 \begin_layout Plain Layout
6867 \begin_inset Argument 1
6870 \begin_layout Plain Layout
6871 title=A title, colbacktitle=green!30
6876 Title background color
6884 \begin_layout Subsubsection
6886 \begin_inset CommandInset label
6888 name "subsec:Title-text"
6895 \begin_layout Standard
6896 The color for the title text is changed with the option
6903 \begin_layout Standard
6904 \begin_inset Flex Color Box
6907 \begin_layout Plain Layout
6908 \begin_inset Argument 1
6911 \begin_layout Plain Layout
6912 title=A title, coltitle=orange
6920 \begin_layout Plain Layout
6921 \begin_inset Flex Subtitle
6924 \begin_layout Plain Layout
6933 \begin_layout Plain Layout
6942 \begin_layout Subsubsection
6946 \begin_layout Standard
6947 The color for the complete text is changed with the option
6954 \begin_layout Standard
6955 \begin_inset Flex Color Box
6958 \begin_layout Plain Layout
6959 \begin_inset Argument 1
6962 \begin_layout Plain Layout
6976 \begin_layout Subsubsection
6977 Upper and lower text
6980 \begin_layout Standard
6981 The color for the upper and lower part text is changed with the option
6992 \begin_layout Standard
6993 \begin_inset Flex Color Box
6996 \begin_layout Plain Layout
6997 \begin_inset Argument 1
7000 \begin_layout Plain Layout
7001 colupper=green!30!blue, collower=green!70!blue
7009 \begin_layout Color Box Separator
7013 \begin_layout Plain Layout
7022 \begin_layout Standard
7023 \begin_inset Newpage newpage
7029 \begin_layout Subsection
7031 \begin_inset CommandInset label
7033 name "subsec:Shadows"
7040 \begin_layout Standard
7041 Boxes can only be decorated with shadows if a skin is specified, see
7042 \begin_inset CommandInset ref
7044 reference "subsec:Enhanced"
7051 \begin_layout Subsubsection
7055 \begin_layout Standard
7056 A shadow is added with the box option
7064 is a color name or definition, see
7065 \begin_inset CommandInset ref
7067 reference "subsec:Color"
7072 One can omit the color, the shadow color is then black!50!white.
7077 creates a semi-transparent shadow.
7080 \begin_layout Standard
7081 \begin_inset Flex Color Box
7084 \begin_layout Plain Layout
7085 \begin_inset Argument 1
7088 \begin_layout Plain Layout
7089 enhanced, drop shadow, nobeforeafter
7102 \begin_layout Standard
7103 \begin_inset VSpace defskip
7107 \begin_inset Flex Color Box
7110 \begin_layout Plain Layout
7111 \begin_inset Argument 1
7114 \begin_layout Plain Layout
7115 enhanced, drop fuzzy shadow, nobeforeafter
7120 A box with a fuzzy shadow
7128 \begin_layout Standard
7129 The default shadow is placed right below the box.
7130 For other shadow placements have a look at section
7139 \begin_inset CommandInset citation
7148 \begin_layout Subsubsection
7152 \begin_layout Standard
7153 A halo is added with the box option
7155 halo=size with color
7165 is a color name or definition.
7166 One can omit the size and color, the halo is then 0.9
7167 \begin_inset space \thinspace{}
7170 mm thick and has the color yellow.
7171 Note that one cannot omit only the size or color, either both is omitted
7172 or both is specified.
7177 creates a semi-transparent halo.
7180 \begin_layout Standard
7181 \begin_inset Flex Color Box
7184 \begin_layout Plain Layout
7185 \begin_inset Argument 1
7188 \begin_layout Plain Layout
7189 enhanced, halo, nobeforeafter
7202 \begin_layout Standard
7203 \begin_inset VSpace defskip
7209 \begin_layout Standard
7210 \begin_inset Flex Color Box
7213 \begin_layout Plain Layout
7214 \begin_inset Argument 1
7217 \begin_layout Plain Layout
7218 enhanced, fuzzy halo=5mm with green, nobeforeafter
7224 \begin_inset space \thinspace{}
7227 mm thick, green fuzzy halo
7235 \begin_layout Subsubsection
7239 \begin_layout Standard
7240 Generic shadows/halos can be created with the box option
7249 For a brief description of these options consult section
7258 \begin_inset CommandInset citation
7267 \begin_layout Standard
7268 \begin_inset Flex Color Box
7271 \begin_layout Plain Layout
7272 \begin_inset Argument 1
7275 \begin_layout Plain Layout
7276 enhanced, title=Double shadow, shadow={-2.5mm}{-2.5mm}{0mm}{fill=blue, opacity=0.25
7277 }, shadow={1.5mm}{1.5mm}{0mm}{fill=red, opacity=0.25}
7283 \begin_inset space ~
7294 \begin_layout Bibliography
7295 \begin_inset CommandInset bibitem
7296 LatexCommand bibitem
7302 \begin_inset CommandInset href
7304 name "Documentation"
7305 target "http://mirrors.ctan.org/macros/latex/contrib/tcolorbox/tcolorbox.pdf"
7309 of the \SpecialChar LaTeX