1 #LyX 2.2 created this file. For more info see http://www.lyx.org/
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
40 \font_roman "default" "default"
41 \font_sans "default" "default"
42 \font_typewriter "default" "default"
43 \font_math "auto" "auto"
44 \font_default_family default
45 \use_non_tex_fonts false
48 \font_sf_scale 100 100
49 \font_tt_scale 100 100
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
1240 \begin_inset Argument 2
1243 \begin_layout Plain Layout
1250 \begin_inset Argument 3
1253 \begin_layout Plain Layout
1260 \begin_inset Argument 4
1263 \begin_layout Plain Layout
1269 enhanced, frame style={left color=red!75!black, right color=blue!75!black},
1270 interior style={left color=red!20!white, right color=yellow!50!white},
1274 \begin_layout Standard
1275 This way you defined the box type
1278 \begin_inset space ~
1282 \begin_inset space ~
1286 \begin_inset space ~
1292 Boxes of this type will look like this:
1295 \begin_layout Standard
1296 \begin_inset Flex Custom Color Box 1
1299 \begin_layout Plain Layout
1300 \begin_inset Argument 1
1303 \begin_layout Plain Layout
1317 \begin_layout Standard
1318 \begin_inset VSpace bigskip
1322 \begin_inset Newline newline
1325 Assuming you need a box type that can be numbered, you insert
1328 \begin_layout Standard
1331 auto counter, number within=section
1334 \begin_layout Standard
1346 \begin_inset space ~
1350 \begin_inset space ~
1354 \begin_inset space ~
1380 \begin_layout Standard
1383 colback=red!5!white, colframe=red!75!black, title=Example~
1388 \begin_layout Standard
1389 into the environment.
1390 This predefines a title prefix.
1397 is hereby the counter of colored boxes.
1401 \begin_inset space ~
1405 \begin_inset space ~
1409 \begin_inset space ~
1414 you specify the title via the options inset:
1417 \begin_layout New Color Box Type
1419 \begin_inset Argument 1
1422 \begin_layout Plain Layout
1423 auto counter, number within=section
1429 \begin_inset Argument 2
1432 \begin_layout Plain Layout
1439 \begin_inset Argument 3
1442 \begin_layout Plain Layout
1449 \begin_inset Argument 4
1452 \begin_layout Plain Layout
1458 colback=red!5!white, colframe=red!75!black, title=Example~
1463 \begin_layout Standard
1464 \begin_inset Flex Custom Color Box 2
1467 \begin_layout Plain Layout
1468 \begin_inset Argument 1
1471 \begin_layout Plain Layout
1472 Custom numbered title
1485 \begin_layout Standard
1486 Note that you must not write
1490 because this is already done in the definition.
1493 \begin_layout Standard
1494 You can still customize the box by adding options
1501 \begin_layout Standard
1502 \begin_inset Flex Custom Color Box 2
1505 \begin_layout Plain Layout
1506 \begin_inset Argument 1
1509 \begin_layout Plain Layout
1510 Bold numbered title, colback=lime, fonttitle=
1525 \begin_layout Standard
1526 \begin_inset VSpace bigskip
1529 At last a more advanced example:
1530 \begin_inset Newline newline
1533 Assuming you need the type we just defined as
1536 \begin_inset space ~
1540 \begin_inset space ~
1544 \begin_inset space ~
1549 but want to add more than one option.
1550 This is for example useful for options that require another option before
1551 in the options list.
1552 \begin_inset Newline newline
1558 \begin_layout Standard
1561 auto counter, number within=section
1564 \begin_layout Standard
1576 \begin_inset space ~
1580 \begin_inset space ~
1584 \begin_inset space ~
1600 \begin_inset space ~
1615 \begin_layout Standard
1618 nobeforeafter, width=#1, square, colframe=orange!50!black,
1619 \begin_inset Newline newline
1627 \begin_layout Standard
1628 into the environment.
1632 \begin_inset space ~
1636 \begin_inset space ~
1640 \begin_inset space ~
1645 you specify the width via the
1649 inset and the title (and further options if you like) via the
1651 More Color Box Options
1656 \begin_layout New Color Box Type
1658 \begin_inset Argument 1
1661 \begin_layout Plain Layout
1662 auto counter, number within=section
1668 \begin_inset Argument 2
1671 \begin_layout Plain Layout
1678 \begin_inset Argument 3
1681 \begin_layout Plain Layout
1688 \begin_inset Argument 4
1691 \begin_layout Plain Layout
1697 nobeforeafter, width=#1, square, colframe=orange!50!black, title=Example~
1702 \begin_layout Standard
1703 \begin_inset Flex Custom Color Box 3
1706 \begin_layout Plain Layout
1707 \begin_inset Argument 1
1710 \begin_layout Plain Layout
1717 \begin_inset Argument 2
1720 \begin_layout Plain Layout
1727 \begin_inset space \thinspace{}
1730 cm wide custom color box 3
1736 \begin_inset Flex Custom Color Box 3
1739 \begin_layout Plain Layout
1740 \begin_inset Argument 1
1743 \begin_layout Plain Layout
1750 \begin_inset Argument 2
1753 \begin_layout Plain Layout
1760 \begin_inset space \thinspace{}
1763 cm wide custom color box 3 with the
1775 \begin_layout Subsection
1779 \begin_layout Standard
1780 The \SpecialChar LaTeX
1785 provides different skins.
1786 For a full list, see the
1793 \begin_inset space ~
1799 \begin_inset CommandInset citation
1806 Only the most important skins are listed in the following.
1809 \begin_layout Subsubsection
1811 \begin_inset CommandInset label
1813 name "subsec:Enhanced"
1820 \begin_layout Standard
1821 This skin is enabled by adding the option enhanced.
1822 Without further options it looks like the standard skin.
1823 Its advantage are some extra features like the customization of lines,
1825 \begin_inset CommandInset ref
1827 reference "subsec:Lines"
1831 or the ability to have shadows, see
1832 \begin_inset CommandInset ref
1834 reference "subsec:Shadows"
1839 Another feature is a nicer style of breakable boxes:
1842 \begin_layout Standard
1843 \begin_inset Flex Color Box
1846 \begin_layout Plain Layout
1847 \begin_inset Argument 1
1850 \begin_layout Plain Layout
1855 breakable box, breakable, enhanced
1860 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1861 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1863 At vero eos et accusam et justo duo dolores et ea rebum.
1864 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1866 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1867 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1869 At vero eos et accusam et justo duo dolores et ea rebum.
1870 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1872 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1873 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1875 At vero eos et accusam et justo duo dolores et ea rebum.
1876 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1878 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1879 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1881 At vero eos et accusam et justo duo dolores et ea rebum.
1882 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1884 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1885 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1887 At vero eos et accusam et justo duo dolores et ea rebum.
1888 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1890 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1891 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1893 At vero eos et accusam et justo duo dolores et ea rebum.
1894 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1896 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1897 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1899 At vero eos et accusam et justo duo dolores et ea rebum.
1900 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1902 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1903 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1905 At vero eos et accusam et justo duo dolores et ea rebum.
1906 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1908 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1909 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1911 At vero eos et accusam et justo duo dolores et ea rebum.
1912 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1914 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1915 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1917 At vero eos et accusam et justo duo dolores et ea rebum.
1918 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1927 \begin_layout Standard
1928 Another feature you might like is to add color gradients with the options
1939 \begin_inset Newline newline
1944 frame style={left color=color, right color=color}
1945 \begin_inset Newline newline
1954 is a color name or definition, see
1955 \begin_inset CommandInset ref
1957 reference "subsec:Color"
1964 \begin_layout Standard
1965 \begin_inset Flex Color Box
1968 \begin_layout Plain Layout
1969 \begin_inset Argument 1
1972 \begin_layout Plain Layout
1977 box with a color gradient, enhanced, frame style={left color=red!75!black,
1978 right color=blue!75!black}, interior style={left color=red!20!white, right
1979 color=yellow!50!white}
1987 \begin_layout Color Box Separator
1991 \begin_layout Plain Layout
2000 \begin_layout Standard
2001 Alternatively one can use a PNG image as background for boxes with the option
2004 frame style image=file name
2009 \begin_inset space ~
2014 is the file name of the image.
2017 \begin_layout Subsubsection
2021 \begin_layout Standard
2022 With this skin the lower content gets another background color than the
2026 \begin_layout Standard
2027 \begin_inset Flex Color Box
2030 \begin_layout Plain Layout
2031 \begin_inset Argument 1
2034 \begin_layout Plain Layout
2035 title=A box with the skin
2047 \begin_layout Color Box Separator
2051 \begin_layout Plain Layout
2060 \begin_layout Standard
2061 The color of the lower part can be changed with the option
2067 \begin_inset CommandInset ref
2069 reference "subsec:Color"
2073 for color customization.
2076 \begin_layout Subsubsection
2078 \begin_inset CommandInset label
2080 name "subsec:Beamer"
2087 \begin_layout Standard
2088 This is a skin that simulates the appearance of the beamer presentation
2090 Its appearance can be changed like for the enhanced skin,
2091 \begin_inset CommandInset ref
2093 reference "subsec:Enhanced"
2100 \begin_layout Standard
2101 \begin_inset Flex Color Box
2104 \begin_layout Plain Layout
2105 \begin_inset Argument 1
2108 \begin_layout Plain Layout
2113 box with a color gradient, beamer, frame style={left color=red!75!black,
2114 right color=blue!75!black}
2122 \begin_layout Color Box Separator
2126 \begin_layout Plain Layout
2135 \begin_layout Subsubsection
2139 \begin_layout Standard
2140 This skin is like the standard skin but the background colors are automatically
2144 \begin_layout Standard
2145 \begin_inset Flex Color Box
2148 \begin_layout Plain Layout
2149 \begin_inset Argument 1
2152 \begin_layout Plain Layout
2165 \begin_layout Color Box Separator
2169 \begin_layout Plain Layout
2178 \begin_layout Subsubsection
2182 \begin_layout Standard
2183 This skin has no colors.
2184 To make the title visible (because it is by default white) you have to
2185 change its color, see
2186 \begin_inset CommandInset ref
2188 reference "subsec:Title-text"
2195 \begin_layout Standard
2196 \begin_inset Flex Color Box
2199 \begin_layout Plain Layout
2200 \begin_inset Argument 1
2203 \begin_layout Plain Layout
2204 title=A box with the
2208 skin, empty, coltitle=orange
2216 \begin_layout Color Box Separator
2220 \begin_layout Plain Layout
2229 \begin_layout Subsection
2233 \begin_layout Subsubsection
2237 \begin_layout Standard
2238 Normally the boxes are a paragraph of its own.
2239 They will therefore appear by default one upon another separated by vertical
2241 To change this behavior, to place for example boxes side by side, use the
2251 By default there is a paragraph break before and after the box.
2252 By using the options
2256 nothing will be added besides the boxes so that they can be places side
2260 \begin_layout Standard
2261 \begin_inset Flex Color Box
2264 \begin_layout Plain Layout
2265 \begin_inset Argument 1
2268 \begin_layout Plain Layout
2269 width=3cm, square, valign=center, before=, after=
2275 \begin_inset space \thinspace{}
2278 cm wide, square box.
2284 \begin_inset Flex Color Box
2287 \begin_layout Plain Layout
2288 \begin_inset Argument 1
2291 \begin_layout Plain Layout
2292 width=3cm, square, valign=center, before=, after=
2298 \begin_inset space \thinspace{}
2301 cm wide, square box.
2307 \begin_inset Flex Color Box
2310 \begin_layout Plain Layout
2311 \begin_inset Argument 1
2314 \begin_layout Plain Layout
2315 width=3cm, square, valign=center, before=, after=
2321 \begin_inset space \thinspace{}
2324 cm wide, square box.
2332 \begin_layout Standard
2337 is an alternative for
2344 \begin_layout Standard
2345 To separate the boxes one can use the normal \SpecialChar LyX
2346 spacing features like a horizontal
2350 \begin_layout Standard
2351 \begin_inset space \hfill{}
2355 \begin_inset Flex Color Box
2358 \begin_layout Plain Layout
2359 \begin_inset Argument 1
2362 \begin_layout Plain Layout
2363 width=3cm, square, valign=center, nobeforeafter
2369 \begin_inset space \thinspace{}
2372 cm wide, square box.
2378 \begin_inset space \hfill{}
2382 \begin_inset Flex Color Box
2385 \begin_layout Plain Layout
2386 \begin_inset Argument 1
2389 \begin_layout Plain Layout
2390 width=3cm, square, valign=center, nobeforeafter
2396 \begin_inset space \thinspace{}
2399 cm wide, square box.
2405 \begin_inset space \hfill{}
2409 \begin_inset Flex Color Box
2412 \begin_layout Plain Layout
2413 \begin_inset Argument 1
2416 \begin_layout Plain Layout
2417 width=3cm, square, valign=center, nobeforeafter
2423 \begin_inset space \thinspace{}
2426 cm wide, square box.
2432 \begin_inset space \hfill{}
2438 \begin_layout Standard
2439 If you prefer \SpecialChar TeX
2440 code you can alternatively use the option
2446 to add a a horizontal fill.
2449 \begin_layout Subsubsection
2453 \begin_layout Standard
2454 Like for tables and figures in a document it is very helpful if boxes could
2455 float in the text to be placed at the optimal position.
2456 This is achieved by the option
2464 are the optional \SpecialChar TeX
2465 floating placement options
2466 \begin_inset Quotes eld
2474 \begin_inset Quotes erd
2478 \begin_inset Quotes eld
2486 \begin_inset Quotes erd
2490 \begin_inset Quotes eld
2498 \begin_inset Quotes erd
2502 \begin_inset Quotes eld
2510 \begin_inset Quotes erd
2514 They correspond to the float placement options described in section
2517 \begin_inset space ~
2525 \begin_inset space ~
2531 The placement options can be mixed and are inserted without any separation,
2533 \begin_inset space \thinspace{}
2537 \begin_inset space \space{}
2541 \begin_inset Quotes eld
2549 \begin_inset Quotes erd
2555 \begin_layout Standard
2556 \begin_inset Flex Color Box
2559 \begin_layout Plain Layout
2560 \begin_inset Argument 1
2563 \begin_layout Plain Layout
2564 title=A floating box, float, width=5cm, valign=center
2570 \begin_inset space \thinspace{}
2573 cm wide floating box.
2581 \begin_layout Standard
2582 For floating boxes the options
2591 One can instead insert code with the command
2596 If the box is breakable the code is inserted before every part of the break
2598 A typical application is to center the floating box with
2605 \begin_layout Standard
2606 \begin_inset Flex Color Box
2609 \begin_layout Plain Layout
2610 \begin_inset Argument 1
2613 \begin_layout Plain Layout
2614 title=A floating box, float, width=5cm, valign=center, every float=
2622 \begin_inset space \thinspace{}
2625 cm wide floating box.
2633 \begin_layout Subsubsection
2635 \begin_inset CommandInset label
2637 name "subsec:Vertical"
2644 \begin_layout Standard
2645 The vertical placement of a box in respect to the surrounding text line
2646 can only be set for dynamic boxes.
2651 raises or lowers the box.
2657 The allowed units for values are listed in Appendix
2658 \begin_inset space ~
2664 \begin_inset space ~
2670 The default width is
2679 the box is lowered so that the base of the box content matches the base
2680 of the surrounding line.
2683 \begin_layout Standard
2687 \begin_layout Standard
2689 \begin_inset Flex Dynamic Color Box
2692 \begin_layout Plain Layout
2693 \begin_inset Argument 1
2696 \begin_layout Plain Layout
2697 tcbox raise base, nobeforeafter
2708 \begin_inset Flex Dynamic Color Box
2711 \begin_layout Plain Layout
2712 \begin_inset Argument 1
2715 \begin_layout Plain Layout
2727 \begin_inset Flex Dynamic Color Box
2730 \begin_layout Plain Layout
2731 \begin_inset Argument 1
2734 \begin_layout Plain Layout
2735 tcbox raise=1cm, nobeforeafter
2741 \begin_inset space \thinspace{}
2752 \begin_layout Subsubsection
2756 \begin_layout Standard
2757 The easiest way to place boxes in a table-like raster is to put them into
2762 \begin_inset space ~
2766 \begin_inset space ~
2771 inset is inserted via the menu
2773 Insert\SpecialChar menuseparator
2779 \begin_layout Standard
2780 The number of columns is specified with the option
2782 raster columns=number
2788 is the number of columns.
2789 All boxes inserted to the raster box will now automatically be output in
2790 a raster with 3 columns and their width is automatically adjusted.
2793 \begin_layout Standard
2794 \begin_inset Flex Raster Color Box
2797 \begin_layout Plain Layout
2798 \begin_inset Argument 1
2801 \begin_layout Plain Layout
2810 \begin_layout Plain Layout
2811 \begin_inset Flex Color Box
2814 \begin_layout Plain Layout
2815 \begin_inset Argument 1
2818 \begin_layout Plain Layout
2830 \begin_inset Flex Color Box
2833 \begin_layout Plain Layout
2834 \begin_inset Argument 1
2837 \begin_layout Plain Layout
2849 \begin_inset Flex Color Box
2852 \begin_layout Plain Layout
2853 \begin_inset Argument 1
2856 \begin_layout Plain Layout
2868 \begin_inset Flex Color Box
2871 \begin_layout Plain Layout
2872 \begin_inset Argument 1
2875 \begin_layout Plain Layout
2887 \begin_inset Flex Color Box
2890 \begin_layout Plain Layout
2891 \begin_inset Argument 1
2894 \begin_layout Plain Layout
2913 \begin_layout Standard
2914 For more info about options of the raster color box, please consult the
2922 \begin_inset space ~
2928 \begin_inset CommandInset citation
2937 \begin_layout Subsection
2939 \begin_inset CommandInset label
2941 name "subsec:Geometry"
2948 \begin_layout Subsubsection
2952 \begin_layout Subsubsection*
2956 \begin_layout Standard
2957 The width of the box is changed with the option
2966 The allowed units for values are listed in Appendix
2967 \begin_inset space ~
2973 \begin_inset space ~
2979 The default width is
2988 \begin_layout Standard
2989 \begin_inset Flex Color Box
2992 \begin_layout Plain Layout
2993 \begin_inset Argument 1
2996 \begin_layout Plain Layout
3003 \begin_inset space \thinspace{}
3014 \begin_layout Standard
3015 One can also set a width only for the text of the box with the option
3020 If the width is shorter than required for the text, new lines will be created
3024 \begin_layout Standard
3025 \begin_inset Flex Color Box
3028 \begin_layout Plain Layout
3029 \begin_inset Argument 1
3032 \begin_layout Plain Layout
3038 Some longer text to fill the box with a width of 4
3039 \begin_inset space \thinspace{}
3050 \begin_layout Standard
3059 ; only the last given width option is taken into account.
3062 \begin_layout Standard
3063 To extend the width of the box one must use the
3067 option and can then use the option
3074 \begin_layout Standard
3075 \begin_inset Flex Color Box
3078 \begin_layout Plain Layout
3079 \begin_inset Argument 1
3082 \begin_layout Plain Layout
3083 width=10cm, add to width=2cm
3089 \begin_inset space \thinspace{}
3092 cm wide box with additional width of 2
3093 \begin_inset space \thinspace{}
3104 \begin_layout Subsubsection*
3108 \begin_layout Standard
3109 For boxes with parts side by side one can control the width of the box parts
3133 sidebyside gap=length
3140 The allowed units for the values are listed in Appendix
3141 \begin_inset space ~
3147 \begin_inset space ~
3153 All options require of course the option
3160 \begin_layout Standard
3165 sets the space between the left and the right part:
3168 \begin_layout Standard
3169 \begin_inset Flex Color Box
3172 \begin_layout Plain Layout
3173 \begin_inset Argument 1
3176 \begin_layout Plain Layout
3177 sidebyside, sidebyside gap=2cm
3182 Upper content divided by 2
3183 \begin_inset space \thinspace{}
3189 \begin_layout Color Box Separator
3193 \begin_layout Plain Layout
3202 \begin_layout Standard
3211 set the absolute width of the left and right part, respectively:
3214 \begin_layout Standard
3215 \begin_inset Flex Color Box
3218 \begin_layout Plain Layout
3219 \begin_inset Argument 1
3222 \begin_layout Plain Layout
3223 sidebyside, lefthand width=3cm
3228 Upper content with a width of 3
3229 \begin_inset space \thinspace{}
3235 \begin_layout Color Box Separator
3239 \begin_layout Plain Layout
3248 \begin_layout Standard
3257 set the relative width of the left and right part, respectively:
3260 \begin_layout Standard
3261 \begin_inset Flex Color Box
3264 \begin_layout Plain Layout
3265 \begin_inset Argument 1
3268 \begin_layout Plain Layout
3269 sidebyside, lefthand ratio=0.3
3274 Upper content with a width of 30
3275 \begin_inset space \thinspace{}
3281 \begin_layout Color Box Separator
3285 \begin_layout Plain Layout
3294 \begin_layout Subsubsection
3296 \begin_inset CommandInset label
3298 name "subsec:Height"
3305 \begin_layout Subsubsection*
3309 \begin_layout Standard
3310 The height of the box is changed with the option
3319 The default height is the height consumed by the box content.
3322 \begin_layout Standard
3323 \begin_inset Flex Color Box
3326 \begin_layout Plain Layout
3327 \begin_inset Argument 1
3330 \begin_layout Plain Layout
3337 \begin_inset space \thinspace{}
3348 \begin_layout Standard
3349 If the specified height is smaller than the one consumed by the content,
3350 the content will be placed below the box:
3353 \begin_layout Standard
3354 \begin_inset Flex Color Box
3357 \begin_layout Plain Layout
3358 \begin_inset Argument 1
3361 \begin_layout Plain Layout
3368 \begin_inset space \thinspace{}
3379 \begin_layout Standard
3380 \begin_inset VSpace bigskip
3387 the height will automatically be set to the same value than the box width.
3390 \begin_layout Standard
3391 \begin_inset Flex Color Box
3394 \begin_layout Plain Layout
3395 \begin_inset Argument 1
3398 \begin_layout Plain Layout
3412 \begin_layout Standard
3413 \begin_inset VSpace bigskip
3416 To extend the height of the box in case the content might consume more height
3417 than expected one must use the
3421 option and can then uses the option
3426 An application would be to set a maximal possible height in case you write
3427 a book where the spacing is defined and should not be overwritten by any
3431 \begin_layout Standard
3432 \begin_inset Flex Color Box
3435 \begin_layout Plain Layout
3436 \begin_inset Argument 1
3439 \begin_layout Plain Layout
3440 height=2cm, height plus=2cm
3446 \begin_inset space \thinspace{}
3449 cm high box with additional height of 2
3450 \begin_inset space \thinspace{}
3461 \begin_layout Standard
3462 \begin_inset Flex Color Box
3465 \begin_layout Plain Layout
3466 \begin_inset Argument 1
3469 \begin_layout Plain Layout
3470 height=2cm, height plus=2cm
3476 \begin_inset space \thinspace{}
3479 cm high box with additional height of 2
3480 \begin_inset space \thinspace{}
3484 Its content consumes 3
3485 \begin_inset space \thinspace{}
3488 cm therefore the box height will also be 3
3489 \begin_inset space \thinspace{}
3494 \begin_inset space \thinspace{}
3497 cm high box with additional height of 2
3498 \begin_inset space \thinspace{}
3502 Its content consumes 3
3503 \begin_inset space \thinspace{}
3506 cm therefore the box height will also be 3
3507 \begin_inset space \thinspace{}
3512 \begin_inset space \thinspace{}
3515 cm high box with additional height of 2
3516 \begin_inset space \thinspace{}
3520 Its content consumes 3
3521 \begin_inset space \thinspace{}
3524 cm therefore the box height will also be 3
3525 \begin_inset space \thinspace{}
3536 \begin_layout Standard
3537 \begin_inset VSpace bigskip
3540 In some cases it might be useful to specify an allowed range for the height
3543 height from=min to max
3554 The height will then be at least the given minimal value or the height
3555 consumed by the content.
3556 It does not exceed the maximum, independent of the content:
3559 \begin_layout Standard
3560 \begin_inset Flex Color Box
3563 \begin_layout Plain Layout
3564 \begin_inset Argument 1
3567 \begin_layout Plain Layout
3568 height from=1cm to 3cm
3573 A box with minimal height of 1
3574 \begin_inset space \thinspace{}
3577 cm and maximal height of 3
3578 \begin_inset space \thinspace{}
3589 \begin_layout Standard
3590 \begin_inset Flex Color Box
3593 \begin_layout Plain Layout
3594 \begin_inset Argument 1
3597 \begin_layout Plain Layout
3598 height from=1cm to 3cm
3603 A box with minimal height of 1
3604 \begin_inset space \thinspace{}
3607 cm and maximal height of 3
3608 \begin_inset space \thinspace{}
3612 The content consumes more space than 3
3613 \begin_inset space \thinspace{}
3617 A box with minimal height of 1
3618 \begin_inset space \thinspace{}
3621 cm and maximal height of 3
3622 \begin_inset space \thinspace{}
3626 The content consumes more space than 3
3627 \begin_inset space \thinspace{}
3631 A box with minimal height of 1
3632 \begin_inset space \thinspace{}
3635 cm and maximal height of 3
3636 \begin_inset space \thinspace{}
3640 The content consumes more space than 3
3641 \begin_inset space \thinspace{}
3645 A box with minimal height of 1
3646 \begin_inset space \thinspace{}
3649 cm and maximal height of 3
3650 \begin_inset space \thinspace{}
3654 The content consumes more space than 3
3655 \begin_inset space \thinspace{}
3666 \begin_layout Standard
3667 \begin_inset VSpace bigskip
3672 add to height=length
3674 one can add defined height to the box.
3679 option must be added
3686 \begin_layout Standard
3687 \begin_inset Flex Color Box
3690 \begin_layout Plain Layout
3691 \begin_inset Argument 1
3694 \begin_layout Plain Layout
3695 height=1cm, add to height=1cm
3701 \begin_inset space \thinspace{}
3705 \begin_inset space \thinspace{}
3708 cm additional height.
3716 \begin_layout Standard
3717 \begin_inset VSpace bigskip
3724 one can force the box to consume the rest of the available height of the
3725 document parts where it is in.
3739 The latter works like
3743 but compresses the content of the page before the box as much as possible
3744 to maximize the box.
3745 \begin_inset Newline newline
3748 In this example the box is in the main text and therefore consumes the rest
3749 of the current page:
3752 \begin_layout Standard
3753 \begin_inset Flex Color Box
3756 \begin_layout Plain Layout
3757 \begin_inset Argument 1
3760 \begin_layout Plain Layout
3766 A box that fills the remaining height of the current page.
3774 \begin_layout Subsubsection*
3778 \begin_layout Standard
3779 One can set a height only for the text of the box with the option
3780 \begin_inset Newline newline
3790 \begin_layout Standard
3791 \begin_inset Flex Color Box
3794 \begin_layout Plain Layout
3795 \begin_inset Argument 1
3798 \begin_layout Plain Layout
3805 \begin_inset space \thinspace{}
3809 Due to the frame separation and the frame width the box height is larger
3811 \begin_inset space \thinspace{}
3822 \begin_layout Standard
3831 ; only the last given width option is taken into account.
3834 \begin_layout Standard
3835 \begin_inset VSpace bigskip
3858 one can specify how the height should be divided between the upper and
3868 is the fraction of the additional height (the specified height minus the
3869 height consumed by the content).
3870 \begin_inset Newline newline
3878 \begin_inset space \thinspace{}
3881 % of the additional space to the upper part:
3884 \begin_layout Standard
3885 \begin_inset Flex Color Box
3888 \begin_layout Plain Layout
3889 \begin_inset Argument 1
3892 \begin_layout Plain Layout
3893 height=3cm, space=0.75
3899 \begin_inset space \thinspace{}
3902 cm high box where 75 % of the additional height is set to the upper content.
3905 \begin_layout Color Box Separator
3909 \begin_layout Plain Layout
3918 \begin_layout Standard
3946 \begin_layout Standard
3947 \begin_inset Flex Color Box
3950 \begin_layout Plain Layout
3951 \begin_inset Argument 1
3954 \begin_layout Plain Layout
3955 height=3cm, space to upper
3961 \begin_inset space \thinspace{}
3964 cm high box where all additional height is set to the upper content.
3967 \begin_layout Color Box Separator
3971 \begin_layout Plain Layout
3980 \begin_layout Standard
3989 is the fraction of the complete height (not the additional height).
3990 Therefore one must be careful if e.
3991 \begin_inset space \thinspace{}
3995 \begin_inset space \space{}
3998 the upper part consumes more height than one set via
4005 \begin_layout Standard
4006 \begin_inset Flex Color Box
4009 \begin_layout Plain Layout
4010 \begin_inset Argument 1
4013 \begin_layout Plain Layout
4014 height=3cm, split=0.1
4020 \begin_inset space \thinspace{}
4023 cm high box where the height is split by 10
4024 \begin_inset space \thinspace{}
4029 \begin_inset space \thinspace{}
4032 cm high box where the height is split by 10
4033 \begin_inset space \thinspace{}
4039 \begin_layout Color Box Separator
4043 \begin_layout Plain Layout
4052 \begin_layout Standard
4053 \begin_inset VSpace bigskip
4058 equal height group=id
4060 it is possible to set the same height for all boxes in a group.
4065 is a name to reference the group.
4066 This is for example useful if one has 3
4067 \begin_inset space ~
4070 boxes side by side inside a box:
4073 \begin_layout Standard
4074 \begin_inset Flex Color Box
4077 \begin_layout Plain Layout
4078 \begin_inset Flex Color Box
4081 \begin_layout Plain Layout
4082 \begin_inset Argument 1
4085 \begin_layout Plain Layout
4086 adjusted title=ace, width=0.3
4088 columnwidth, nobeforeafter, equal height group=A
4099 \begin_inset space \hfill{}
4103 \begin_inset Flex Color Box
4106 \begin_layout Plain Layout
4107 \begin_inset Argument 1
4110 \begin_layout Plain Layout
4111 adjusted title=Grapefruit, width=0.3
4113 columnwidth, space to upper, nobeforeafter, equal height group=A
4121 \begin_layout Color Box Separator
4125 \begin_layout Plain Layout
4132 \begin_inset space \hfill{}
4136 \begin_inset Flex Color Box
4139 \begin_layout Plain Layout
4140 \begin_inset Argument 1
4143 \begin_layout Plain Layout
4144 adjusted title=, width=0.3
4146 columnwidth, nobeforeafter, equal height group=A
4151 A box with longer text.
4152 A box with longer text.
4153 A box with longer text.
4154 A box with longer text.
4155 A box with longer text.
4168 \begin_layout Standard
4169 The above example was typeset by adding the option
4171 equal height group=A
4174 \begin_inset space ~
4182 is hereby the name of the group.
4185 \begin_layout Standard
4186 If you have a title that needs only a single line, it is recommended to
4195 for all boxes to assure that the title height will be the same for all
4197 Otherwise the height would be different in the above example because
4198 \begin_inset Quotes eld
4202 \begin_inset Quotes erd
4205 needs more height than
4206 \begin_inset Quotes eld
4210 \begin_inset Quotes erd
4216 \begin_layout Subsubsection
4220 \begin_layout Standard
4221 The width of the box frame can be changed with the options
4242 Each option changes the corresponding part of the frame.
4252 The allowed units for the values are listed in Appendix
4253 \begin_inset space ~
4259 \begin_inset space ~
4265 The default length for all parts is 0.5
4266 \begin_inset space \thinspace{}
4270 To set all frame parts to the same value use the option
4277 \begin_layout Standard
4278 \begin_inset Flex Color Box
4281 \begin_layout Plain Layout
4282 \begin_inset Argument 1
4285 \begin_layout Plain Layout
4286 leftrule=3mm, rightrule=4mm, toprule=2mm, bottomrule=1mm
4292 \begin_inset space \thinspace{}
4295 mm wide left rule, 4
4296 \begin_inset space \thinspace{}
4299 mm wide right rule, 2
4300 \begin_inset space \thinspace{}
4304 \begin_inset space \thinspace{}
4315 \begin_layout Standard
4316 \begin_inset Flex Color Box
4319 \begin_layout Plain Layout
4320 \begin_inset Argument 1
4323 \begin_layout Plain Layout
4330 \begin_inset space \thinspace{}
4341 \begin_layout Standard
4342 The title rule is the separation between the title and the box content.
4345 \begin_layout Standard
4346 \begin_inset Flex Color Box
4349 \begin_layout Plain Layout
4350 \begin_inset Argument 1
4353 \begin_layout Plain Layout
4354 title=A title, titlerule=8mm, colbacktitle=blue
4360 \begin_inset space \thinspace{}
4371 \begin_layout Subsubsection
4375 \begin_layout Standard
4376 By default boxes are rectangular with rounded edges.
4377 The radius of the edges can be changed with the option
4386 The allowed units for the values are listed in Appendix
4387 \begin_inset space ~
4393 \begin_inset space ~
4406 \begin_layout Standard
4407 \begin_inset Flex Color Box
4410 \begin_layout Plain Layout
4411 \begin_inset Argument 1
4414 \begin_layout Plain Layout
4423 \begin_inset space \thinspace{}
4436 \begin_layout Standard
4441 one can set the outer radius independently:
4444 \begin_layout Standard
4445 \begin_inset Flex Color Box
4448 \begin_layout Plain Layout
4449 \begin_inset Argument 1
4452 \begin_layout Plain Layout
4453 arc=5mm, outer arc=0mm
4461 \begin_inset space \thinspace{}
4469 \begin_inset space \thinspace{}
4482 \begin_layout Standard
4483 \begin_inset Flex Color Box
4486 \begin_layout Plain Layout
4487 \begin_inset Argument 1
4490 \begin_layout Plain Layout
4491 arc=0mm, outer arc=0mm
4496 A really rectangular box (
4507 \begin_inset space \thinspace{}
4513 The same can alternatively be achieved with the option
4525 \begin_layout Standard
4526 \begin_inset VSpace bigskip
4529 The general shape can be changed with the options
4544 \begin_layout Standard
4549 sets the edge radius to half of the box width.
4550 It is therefore required to specify at least the width.
4553 \begin_layout Standard
4554 \begin_inset Flex Color Box
4557 \begin_layout Plain Layout
4558 \begin_inset Argument 1
4561 \begin_layout Plain Layout
4562 width=3.5cm, circular arc
4568 \begin_inset space \thinspace{}
4571 cm wide circular arc box.
4579 \begin_layout Standard
4580 As you can see circular arc box looks ugly when the box is wider than high.
4581 It is therefore recommended to add the option
4586 \begin_inset CommandInset ref
4588 reference "subsec:Height"
4592 , to get the same width and height.
4593 The result is a perfect circle.
4594 To center the text in the box use the text alignment options described
4596 \begin_inset CommandInset ref
4598 reference "subsec:Alignment"
4605 \begin_layout Standard
4606 \begin_inset Flex Color Box
4609 \begin_layout Plain Layout
4610 \begin_inset Argument 1
4613 \begin_layout Plain Layout
4614 width=4cm, square, valign=center, circular arc
4620 \begin_inset space \thinspace{}
4623 cm wide circular arc box.
4631 \begin_layout Standard
4636 sets the edge radius to half of the minimum of the box width and height.
4637 The result is a semicircle.
4642 requires the options
4657 \begin_layout Standard
4658 \begin_inset Flex Color Box
4661 \begin_layout Plain Layout
4662 \begin_inset Argument 1
4665 \begin_layout Plain Layout
4666 width=3.5cm, height=5cm, bean arc, nobeforeafter, valign=center
4672 \begin_inset space \thinspace{}
4676 \begin_inset space \thinspace{}
4689 \begin_inset Flex Color Box
4692 \begin_layout Plain Layout
4693 \begin_inset Argument 1
4696 \begin_layout Plain Layout
4697 width=5cm, height=3.5cm, bean arc, nobeforeafter, valign=center
4703 \begin_inset space \thinspace{}
4707 \begin_inset space \thinspace{}
4722 \begin_layout Standard
4723 Using bean arc for a square box leads to the same result as
4730 \begin_layout Standard
4731 \begin_inset Flex Color Box
4734 \begin_layout Plain Layout
4735 \begin_inset Argument 1
4738 \begin_layout Plain Layout
4739 width=4cm, square, bean arc, valign=center
4745 \begin_inset space \thinspace{}
4748 cm wide, square box as bean arc.
4756 \begin_layout Standard
4761 is useful to get an octagon.
4762 For an octagon one needs a square box and the option
4769 \begin_layout Standard
4770 \begin_inset Flex Color Box
4773 \begin_layout Plain Layout
4774 \begin_inset Argument 1
4777 \begin_layout Plain Layout
4778 width=4cm, square, octogon arc, valign=center, arc is angular
4784 \begin_inset space \thinspace{}
4787 cm wide, square box with
4799 \begin_layout Standard
4800 \begin_inset Note Greyedout
4803 \begin_layout Plain Layout
4812 is experimental and might cause problems on some \SpecialChar LaTeX
4821 \begin_layout Standard
4822 \begin_inset VSpace bigskip
4825 It is also possible to change only some of the box edges.
4826 To make an edge a corner there is the option
4828 sharp corners=position
4834 is the position of the edge.
4851 change only the corresponding edge.
4854 \begin_layout Standard
4855 \begin_inset Flex Color Box
4858 \begin_layout Plain Layout
4859 \begin_inset Argument 1
4862 \begin_layout Plain Layout
4863 sharp corners=northeast
4868 A box with a corner at the upper right (
4880 \begin_layout Standard
4906 \begin_inset space ~
4912 \begin_layout Standard
4913 \begin_inset Flex Color Box
4916 \begin_layout Plain Layout
4917 \begin_inset Argument 1
4920 \begin_layout Plain Layout
4923 columnwidth,sharp corners=east, nobeforeafter
4929 \begin_inset space ~
4932 corners at the right (
4942 \begin_inset space \hfill{}
4946 \begin_inset Flex Color Box
4949 \begin_layout Plain Layout
4950 \begin_inset Argument 1
4953 \begin_layout Plain Layout
4956 columnwidth,sharp corners=uphill, nobeforeafter
4962 \begin_inset space ~
4965 corners, one at the lower left, one at the upper right (
4977 \begin_layout Standard
4985 \begin_layout Subsection
4987 \begin_inset CommandInset label
4989 name "subsec:Alignment"
4996 \begin_layout Subsubsection
5000 \begin_layout Standard
5005 sets the alignment for the whole box content if there are not box parts,
5006 otherwise the options
5019 is one of the following:
5022 \begin_layout Description
5023 right the content is right-aligned
5024 \begin_inset Flex Color Box
5027 \begin_layout Plain Layout
5028 \begin_inset Argument 1
5031 \begin_layout Plain Layout
5037 A right-aligned box.
5045 \begin_layout Description
5046 left the content is left-aligned
5047 \begin_inset Flex Color Box
5050 \begin_layout Plain Layout
5051 \begin_inset Argument 1
5054 \begin_layout Plain Layout
5068 \begin_layout Description
5069 center the content is centered
5070 \begin_inset Flex Color Box
5073 \begin_layout Plain Layout
5074 \begin_inset Argument 1
5077 \begin_layout Plain Layout
5083 A horizontally centered box.
5091 \begin_layout Description
5092 justify the content is justified (is the default value)
5093 \begin_inset Flex Color Box
5096 \begin_layout Plain Layout
5097 \begin_inset Argument 1
5100 \begin_layout Plain Layout
5114 \begin_layout Standard
5115 An example with box parts:
5116 \begin_inset Flex Color Box
5119 \begin_layout Plain Layout
5120 \begin_inset Argument 1
5123 \begin_layout Plain Layout
5124 halign upper=left, halign lower=center
5129 Upper content left-aligned
5132 \begin_layout Color Box Separator
5136 \begin_layout Plain Layout
5137 Lower content centered
5145 \begin_layout Standard
5146 The title alignment can be changed with the option
5153 \begin_layout Standard
5154 \begin_inset Flex Color Box
5157 \begin_layout Plain Layout
5158 \begin_inset Argument 1
5161 \begin_layout Plain Layout
5162 title=A right-aligned title, halign title=right, halign upper=left, halign
5168 Upper content left-aligned
5171 \begin_layout Color Box Separator
5175 \begin_layout Plain Layout
5176 Lower content centered
5184 \begin_layout Subsubsection
5188 \begin_layout Standard
5189 The vertical alignment can only be changed if the box height is explicitly
5190 set larger than the height consumed by the box content.
5192 \begin_inset CommandInset ref
5194 reference "subsec:Height"
5201 \begin_layout Standard
5206 sets the alignment for the whole box content if there are no box parts,
5207 otherwise the options
5220 is one of the following:
5223 \begin_layout Description
5224 top the content is top-aligned
5225 \begin_inset Flex Color Box
5228 \begin_layout Plain Layout
5229 \begin_inset Argument 1
5232 \begin_layout Plain Layout
5233 height=2cm, valign=top
5246 \begin_layout Description
5247 bottom the content is bottom-aligned
5248 \begin_inset Flex Color Box
5251 \begin_layout Plain Layout
5252 \begin_inset Argument 1
5255 \begin_layout Plain Layout
5256 height=2cm, valign=bottom
5261 A bottom-aligned box.
5269 \begin_layout Description
5270 center the content is vertically centered
5271 \begin_inset Flex Color Box
5274 \begin_layout Plain Layout
5275 \begin_inset Argument 1
5278 \begin_layout Plain Layout
5279 height=2cm, valign=center
5284 A vertically centered box.
5292 \begin_layout Description
5293 scale the content is vertically scaled to fit the height
5294 \begin_inset Flex Color Box
5297 \begin_layout Plain Layout
5298 \begin_inset Argument 1
5301 \begin_layout Plain Layout
5302 height=2cm, valign=scale
5307 A box with scaled content.
5315 \begin_layout Standard
5316 An example with box parts:
5319 \begin_layout Standard
5320 \begin_inset Flex Color Box
5323 \begin_layout Plain Layout
5324 \begin_inset Argument 1
5327 \begin_layout Plain Layout
5328 height=4cm, space=0.5, valign upper=bottom, valign lower=center
5333 Upper content bottom-aligned
5336 \begin_layout Color Box Separator
5340 \begin_layout Plain Layout
5341 Lower content centered
5349 \begin_layout Subsection
5353 \begin_layout Standard
5354 The font changing options have the syntax
5362 are \SpecialChar LaTeX
5363 's font changing commands.
5364 For example the code
5365 \begin_inset Newline newline
5379 \begin_inset Newline newline
5382 makes the font sans-serif, bold and increases the font size to the level
5392 \begin_layout Subsubsection
5396 \begin_layout Standard
5397 The title font can be changed with the option
5404 \begin_layout Standard
5405 \begin_inset Flex Color Box
5408 \begin_layout Plain Layout
5409 \begin_inset Argument 1
5412 \begin_layout Plain Layout
5413 title=A title, fonttitle=
5432 \begin_layout Subsubsection
5436 \begin_layout Standard
5437 The font for the upper and lower part text can be changed with the options
5449 \begin_layout Standard
5450 \begin_inset Flex Color Box
5453 \begin_layout Plain Layout
5454 \begin_inset Argument 1
5457 \begin_layout Plain Layout
5458 title=A title, fontupper=
5460 ttfamily, fontlower=
5467 Changed upper text font
5470 \begin_layout Color Box Separator
5474 \begin_layout Plain Layout
5475 Changed lower text font
5483 \begin_layout Subsection
5485 \begin_inset CommandInset label
5494 \begin_layout Standard
5495 The color is specified in one of these schemes:
5498 \begin_layout Enumerate
5504 \begin_inset VSpace 3mm
5508 \begin_inset Newline newline
5516 \begin_inset Newline newline
5520 \begin_inset space \thinspace{}
5524 \begin_inset Newline newline
5528 \begin_inset Flex Color Box
5531 \begin_layout Plain Layout
5532 \begin_inset Argument 1
5535 \begin_layout Plain Layout
5547 \begin_inset VSpace defskip
5553 \begin_layout Enumerate
5559 \begin_inset VSpace 3mm
5563 \begin_inset Newline newline
5571 \begin_inset Newline newline
5575 \begin_inset space \thinspace{}
5579 \begin_inset Newline newline
5583 \begin_inset space \thinspace{}
5587 \begin_inset Quotes eld
5591 \begin_inset Quotes erd
5595 \begin_inset Newline newline
5599 \begin_inset Flex Color Box
5602 \begin_layout Plain Layout
5603 \begin_inset Argument 1
5606 \begin_layout Plain Layout
5618 \begin_inset VSpace defskip
5624 \begin_layout Enumerate
5627 Name1!PercentOfName1!Name2
5630 \begin_inset VSpace 3mm
5634 \begin_inset Newline newline
5642 \begin_inset Newline newline
5646 \begin_inset space \thinspace{}
5650 \begin_inset Newline newline
5654 \begin_inset space \thinspace{}
5658 \begin_inset Newline newline
5662 \begin_inset Flex Color Box
5665 \begin_layout Plain Layout
5666 \begin_inset Argument 1
5669 \begin_layout Plain Layout
5681 \begin_inset VSpace defskip
5687 \begin_layout Enumerate
5690 Name1!PercentName1!Name2!PercentName3!Name3
5693 \begin_inset VSpace 3mm
5697 \begin_inset Newline newline
5702 red!71.4!green!70!blue
5705 \begin_inset Newline newline
5709 \begin_inset Formula $1-0.70=30\,$
5713 \begin_inset Newline newline
5717 \begin_inset Formula $\left(1-0.714\right)\cdot0.70=20.02\thinspace$
5721 \begin_inset Newline newline
5725 \begin_inset Formula $0.714\cdot0.70=49.98\thinspace$
5729 \begin_inset Newline newline
5733 \begin_inset Flex Color Box
5736 \begin_layout Plain Layout
5737 \begin_inset Argument 1
5740 \begin_layout Plain Layout
5741 colback=red!71.4!green!70!blue
5746 red!71.4!green!70!blue
5752 \begin_inset VSpace defskip
5758 \begin_layout Standard
5759 The possible color names are:
5762 \begin_layout Standard
5764 \begin_inset Tabular
5765 <lyxtabular version="3" rows="4" columns="5">
5766 <features tabularvalignment="middle">
5767 <column alignment="left" valignment="top" width="18col%">
5768 <column alignment="left" valignment="top" width="18col%">
5769 <column alignment="left" valignment="top" width="18col%">
5770 <column alignment="left" valignment="top" width="18col%">
5771 <column alignment="left" valignment="top" width="18col%">
5773 <cell alignment="left" valignment="top" usebox="none">
5776 \begin_layout Plain Layout
5780 \begin_layout Plain Layout
5793 \begin_layout Plain Layout
5801 \begin_inset Phantom Phantom
5804 \begin_layout Plain Layout
5814 \begin_layout Plain Layout
5826 <cell alignment="left" valignment="top" usebox="none">
5829 \begin_layout Plain Layout
5833 \begin_layout Plain Layout
5846 \begin_layout Plain Layout
5854 \begin_inset Phantom Phantom
5857 \begin_layout Plain Layout
5867 \begin_layout Plain Layout
5879 <cell alignment="left" valignment="top" usebox="none">
5882 \begin_layout Plain Layout
5886 \begin_layout Plain Layout
5899 \begin_layout Plain Layout
5907 \begin_inset Phantom Phantom
5910 \begin_layout Plain Layout
5920 \begin_layout Plain Layout
5932 <cell alignment="left" valignment="top" usebox="none">
5935 \begin_layout Plain Layout
5939 \begin_layout Plain Layout
5952 \begin_layout Plain Layout
5960 \begin_inset Phantom Phantom
5963 \begin_layout Plain Layout
5973 \begin_layout Plain Layout
5985 <cell alignment="left" valignment="top" usebox="none">
5988 \begin_layout Plain Layout
5992 \begin_layout Plain Layout
6005 \begin_layout Plain Layout
6013 \begin_inset Phantom Phantom
6016 \begin_layout Plain Layout
6026 \begin_layout Plain Layout
6040 <cell alignment="left" valignment="top" usebox="none">
6043 \begin_layout Plain Layout
6047 \begin_layout Plain Layout
6060 \begin_layout Plain Layout
6068 \begin_inset Phantom Phantom
6071 \begin_layout Plain Layout
6081 \begin_layout Plain Layout
6093 <cell alignment="left" valignment="top" usebox="none">
6096 \begin_layout Plain Layout
6100 \begin_layout Plain Layout
6113 \begin_layout Plain Layout
6121 \begin_inset Phantom Phantom
6124 \begin_layout Plain Layout
6134 \begin_layout Plain Layout
6146 <cell alignment="left" valignment="top" usebox="none">
6149 \begin_layout Plain Layout
6153 \begin_layout Plain Layout
6166 \begin_layout Plain Layout
6174 \begin_inset Phantom Phantom
6177 \begin_layout Plain Layout
6187 \begin_layout Plain Layout
6199 <cell alignment="left" valignment="top" usebox="none">
6202 \begin_layout Plain Layout
6206 \begin_layout Plain Layout
6219 \begin_layout Plain Layout
6227 \begin_inset Phantom Phantom
6230 \begin_layout Plain Layout
6240 \begin_layout Plain Layout
6252 <cell alignment="left" valignment="top" usebox="none">
6255 \begin_layout Plain Layout
6259 \begin_layout Plain Layout
6272 \begin_layout Plain Layout
6280 \begin_inset Phantom Phantom
6283 \begin_layout Plain Layout
6293 \begin_layout Plain Layout
6307 <cell alignment="left" valignment="top" usebox="none">
6310 \begin_layout Plain Layout
6314 \begin_layout Plain Layout
6327 \begin_layout Plain Layout
6335 \begin_inset Phantom Phantom
6338 \begin_layout Plain Layout
6348 \begin_layout Plain Layout
6360 <cell alignment="left" valignment="top" usebox="none">
6363 \begin_layout Plain Layout
6367 \begin_layout Plain Layout
6380 \begin_layout Plain Layout
6388 \begin_inset Phantom Phantom
6391 \begin_layout Plain Layout
6401 \begin_layout Plain Layout
6413 <cell alignment="left" valignment="top" usebox="none">
6416 \begin_layout Plain Layout
6420 \begin_layout Plain Layout
6433 \begin_layout Plain Layout
6441 \begin_inset Phantom Phantom
6444 \begin_layout Plain Layout
6454 \begin_layout Plain Layout
6466 <cell alignment="left" valignment="top" usebox="none">
6469 \begin_layout Plain Layout
6473 \begin_layout Plain Layout
6486 \begin_layout Plain Layout
6494 \begin_inset Phantom Phantom
6497 \begin_layout Plain Layout
6507 \begin_layout Plain Layout
6519 <cell alignment="left" valignment="top" usebox="none">
6522 \begin_layout Plain Layout
6526 \begin_layout Plain Layout
6539 \begin_layout Plain Layout
6547 \begin_inset Phantom Phantom
6550 \begin_layout Plain Layout
6560 \begin_layout Plain Layout
6574 <cell alignment="left" valignment="top" usebox="none">
6577 \begin_layout Plain Layout
6581 \begin_layout Plain Layout
6594 \begin_layout Plain Layout
6602 \begin_inset Phantom Phantom
6605 \begin_layout Plain Layout
6615 \begin_layout Plain Layout
6627 <cell alignment="left" valignment="top" usebox="none">
6630 \begin_layout Plain Layout
6634 \begin_layout Plain Layout
6647 \begin_layout Plain Layout
6655 \begin_inset Phantom Phantom
6658 \begin_layout Plain Layout
6668 \begin_layout Plain Layout
6680 <cell alignment="left" valignment="top" usebox="none">
6683 \begin_layout Plain Layout
6687 \begin_layout Plain Layout
6700 \begin_layout Plain Layout
6708 \begin_inset Phantom Phantom
6711 \begin_layout Plain Layout
6721 \begin_layout Plain Layout
6733 <cell alignment="left" valignment="top" usebox="none">
6736 \begin_layout Plain Layout
6740 \begin_layout Plain Layout
6753 \begin_layout Plain Layout
6761 \begin_inset Phantom Phantom
6764 \begin_layout Plain Layout
6774 \begin_layout Plain Layout
6786 <cell alignment="left" valignment="top" usebox="none">
6789 \begin_layout Plain Layout
6803 \begin_layout Standard
6804 , and the ones listed in Appendix
6805 \begin_inset space ~
6811 \begin_inset space ~
6819 \begin_layout Subsubsection
6823 \begin_layout Standard
6824 The background color is changed with the option
6831 \begin_layout Standard
6832 \begin_inset Flex Color Box
6835 \begin_layout Plain Layout
6836 \begin_inset Argument 1
6839 \begin_layout Plain Layout
6840 colback=red!66!green!70!blue
6853 \begin_layout Subsubsection
6857 \begin_layout Standard
6858 The frame color is changed with the option
6865 \begin_layout Standard
6866 \begin_inset Flex Color Box
6869 \begin_layout Plain Layout
6870 \begin_inset Argument 1
6873 \begin_layout Plain Layout
6874 colframe=red!30!blue
6887 \begin_layout Subsubsection
6891 \begin_layout Standard
6892 The title background color is changed with the option
6899 \begin_layout Standard
6900 \begin_inset Flex Color Box
6903 \begin_layout Plain Layout
6904 \begin_inset Argument 1
6907 \begin_layout Plain Layout
6908 title=A title, colbacktitle=green!30
6913 Title background color
6921 \begin_layout Subsubsection
6923 \begin_inset CommandInset label
6925 name "subsec:Title-text"
6932 \begin_layout Standard
6933 The color for the title text is changed with the option
6940 \begin_layout Standard
6941 \begin_inset Flex Color Box
6944 \begin_layout Plain Layout
6945 \begin_inset Argument 1
6948 \begin_layout Plain Layout
6949 title=A title, coltitle=orange
6957 \begin_layout Plain Layout
6958 \begin_inset Flex Subtitle
6961 \begin_layout Plain Layout
6970 \begin_layout Plain Layout
6979 \begin_layout Subsubsection
6983 \begin_layout Standard
6984 The color for the complete text is changed with the option
6991 \begin_layout Standard
6992 \begin_inset Flex Color Box
6995 \begin_layout Plain Layout
6996 \begin_inset Argument 1
6999 \begin_layout Plain Layout
7013 \begin_layout Subsubsection
7014 Upper and lower text
7017 \begin_layout Standard
7018 The color for the upper and lower part text is changed with the option
7029 \begin_layout Standard
7030 \begin_inset Flex Color Box
7033 \begin_layout Plain Layout
7034 \begin_inset Argument 1
7037 \begin_layout Plain Layout
7038 colupper=green!30!blue, collower=green!70!blue
7046 \begin_layout Color Box Separator
7050 \begin_layout Plain Layout
7059 \begin_layout Standard
7060 \begin_inset Newpage newpage
7066 \begin_layout Subsection
7068 \begin_inset CommandInset label
7070 name "subsec:Shadows"
7077 \begin_layout Standard
7078 Boxes can only be decorated with shadows if a skin is specified, see
7079 \begin_inset CommandInset ref
7081 reference "subsec:Enhanced"
7088 \begin_layout Subsubsection
7092 \begin_layout Standard
7093 A shadow is added with the box option
7101 is a color name or definition, see
7102 \begin_inset CommandInset ref
7104 reference "subsec:Color"
7109 One can omit the color, the shadow color is then black!50!white.
7114 creates a semi-transparent shadow.
7117 \begin_layout Standard
7118 \begin_inset Flex Color Box
7121 \begin_layout Plain Layout
7122 \begin_inset Argument 1
7125 \begin_layout Plain Layout
7126 enhanced, drop shadow, nobeforeafter
7139 \begin_layout Standard
7140 \begin_inset VSpace defskip
7144 \begin_inset Flex Color Box
7147 \begin_layout Plain Layout
7148 \begin_inset Argument 1
7151 \begin_layout Plain Layout
7152 enhanced, drop fuzzy shadow=purple, nobeforeafter
7157 A box with a fuzzy, purple shadow
7165 \begin_layout Standard
7166 The default shadow is placed right below the box.
7167 For other shadow placements have a look at section
7176 \begin_inset CommandInset citation
7185 \begin_layout Subsubsection
7189 \begin_layout Standard
7190 A halo is added with the box option
7192 halo=size with color
7202 is a color name or definition.
7203 One can omit the size and color, the halo is then 0.9
7204 \begin_inset space \thinspace{}
7207 mm thick and has the color yellow.
7208 Note that one cannot omit only the size or color, either both is omitted
7209 or both is specified.
7214 creates a semi-transparent halo.
7217 \begin_layout Standard
7218 \begin_inset Flex Color Box
7221 \begin_layout Plain Layout
7222 \begin_inset Argument 1
7225 \begin_layout Plain Layout
7226 enhanced, halo, nobeforeafter
7239 \begin_layout Standard
7240 \begin_inset VSpace defskip
7246 \begin_layout Standard
7247 \begin_inset Flex Color Box
7250 \begin_layout Plain Layout
7251 \begin_inset Argument 1
7254 \begin_layout Plain Layout
7255 enhanced, fuzzy halo=5mm with green, nobeforeafter
7261 \begin_inset space \thinspace{}
7264 mm thick, green fuzzy halo
7272 \begin_layout Subsubsection
7276 \begin_layout Standard
7277 Generic shadows/halos can be created with the box option
7286 For a brief description of these options consult section
7295 \begin_inset CommandInset citation
7304 \begin_layout Standard
7305 \begin_inset Flex Color Box
7308 \begin_layout Plain Layout
7309 \begin_inset Argument 1
7312 \begin_layout Plain Layout
7313 enhanced, title=Double shadow, shadow={-2.5mm}{-2.5mm}{0mm}{fill=blue, opacity=0.25
7314 }, shadow={1.5mm}{1.5mm}{0mm}{fill=red, opacity=0.25}
7320 \begin_inset space ~
7331 \begin_layout Bibliography
7332 \begin_inset CommandInset bibitem
7333 LatexCommand bibitem
7339 \begin_inset CommandInset href
7341 name "Documentation"
7342 target "http://mirrors.ctan.org/macros/latex/contrib/tcolorbox/tcolorbox.pdf"
7346 of the \SpecialChar LaTeX