1 #LyX 2.3 created this file. For more info see http://www.lyx.org/
5 \save_transient_properties true
6 \origin /systemlyxdir/examples/
13 % set fonts for nicer pdf view
14 \IfFileExists{lmodern.sty}
15 {\usepackage{lmodern}}{}
17 \fi % end if pdflatex is used
19 \@ifpackageloaded{babel}{
20 % increase link area for cross-references and autoname them,
21 \AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1}}}}
22 \@ifundefined{extrasenglish}{\usepackage[english]{babel}}{}
23 \addto\extrasenglish{%
24 \renewcommand*{\equationautorefname}[1]{}%
25 \renewcommand{\sectionautorefname}{sec.\negthinspace}%
26 \renewcommand{\subsectionautorefname}{sec.\negthinspace}%
27 \renewcommand{\subsubsectionautorefname}{sec.\negthinspace}%
31 \options BCOR8mm, most, usenames, dvipsnames
32 \use_default_options false
36 \maintain_unincluded_children false
38 \language_package default
41 \font_roman "default" "default"
42 \font_sans "default" "default"
43 \font_typewriter "default" "default"
44 \font_math "auto" "auto"
45 \font_default_family default
46 \use_non_tex_fonts false
49 \font_sf_scale 100 100
50 \font_tt_scale 100 100
52 \use_dash_ligatures false
54 \default_output_format default
56 \bibtex_command bibtex
57 \index_command default
61 \pdf_title "Description of the module tcolorbox"
62 \pdf_author "Uwe Stöhr"
63 \pdf_subject "fancy colored boxes"
64 \pdf_keywords "LyX, tcolorbox, colored boxes"
66 \pdf_bookmarksnumbered true
67 \pdf_bookmarksopen true
68 \pdf_bookmarksopenlevel 3
73 \pdf_pdfusetitle false
74 \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false, urlbordercolor={1 0 0}"
77 \use_package amsmath 1
78 \use_package amssymb 1
81 \use_package mathdots 1
82 \use_package mathtools 1
84 \use_package stackrel 1
85 \use_package stmaryrd 1
86 \use_package undertilde 1
88 \cite_engine_type default
92 \paperorientation portrait
96 \notefontcolor #0000ff
103 \paragraph_separation skip
106 \math_numbering_side default
107 \quotes_style english
110 \paperpagestyle default
111 \tracking_changes false
112 \output_changes false
115 \html_be_strict false
122 Description of the module Fancy Colored Boxes
129 \begin_layout Standard
142 you have access to a huge variety of colored boxes.
143 They are particularly useful for presentations or educational texts where
144 you might for example highlight results or equations.
145 This document describes how these boxes are used with \SpecialChar LyX
149 \begin_layout Standard
150 The fancy boxes are generated by the \SpecialChar LaTeX
156 This package has so many features that its manual exceeds 400
162 can therefore only provide access to its basic features.
163 For more advanced features and examples have a loot at the
168 \begin_inset CommandInset citation
178 \begin_layout Section
182 \begin_layout Standard
183 At first load the module
195 in the document settings of your file.
198 \begin_layout Standard
199 Add the following options to the document class options in the document
200 settings of your file:
203 \begin_layout Standard
206 most, usenames, dvipsnames
209 \begin_layout Standard
214 loads most of the libraries of the \SpecialChar LaTeX
224 load additional colors, see Appendix
239 \begin_layout Section
243 \begin_layout Subsection
247 \begin_layout Subsubsection
251 \begin_layout Standard
252 A static color box is inserted via the menu
254 Insert\SpecialChar menuseparator
255 Custom Insets\SpecialChar menuseparator
265 \begin_layout Standard
266 This is a static color box:
267 \begin_inset Flex Color Box
270 \begin_layout Plain Layout
279 \begin_layout Standard
280 It has by default a frame with round corners and consumes the full text
282 It can contain several paragraphs and math.
285 \begin_layout Standard
286 \begin_inset Note Greyedout
289 \begin_layout Plain Layout
294 The box can contain forced page breaks but they will be ignored.
295 To get breakable boxes, see
296 \begin_inset CommandInset ref
298 reference "sec:Beakable-boxes"
310 \begin_layout Subsubsection
314 \begin_layout Standard
315 A dynamic color box is inserted via inset via the menu
317 Insert\SpecialChar menuseparator
318 Custom Insets\SpecialChar menuseparator
332 \begin_layout Standard
333 This is a dynamic color box:
334 \begin_inset Flex Dynamic Color Box
337 \begin_layout Plain Layout
346 \begin_layout Standard
347 In contrary to static boxes dynamic boxes cannot have parts, see
348 \begin_inset CommandInset ref
350 reference "subsec:Box-parts"
354 , and they cannot made breakable but one can set their vertical placement,
356 \begin_inset CommandInset ref
358 reference "subsec:Vertical"
363 Their width is by default the width of the content.
366 \begin_layout Subsubsection
370 \begin_layout Standard
371 A fit color box is inserted via the menu
373 Insert\SpecialChar menuseparator
374 Custom Insets\SpecialChar menuseparator
388 \begin_layout Standard
389 Fit boxes are dynamic boxes but their content is automatically decreased
390 or increased to fit into the specified box width and height.
391 How to specify a width and height is described in
392 \begin_inset CommandInset ref
394 reference "subsec:Geometry"
399 If no width and height is specified the result is a square box consuming
400 the full available width of the page.
401 If only a width is specified, the result is a square box.
404 \begin_layout Standard
405 These are fit color boxes:
408 \begin_layout Standard
409 \begin_inset Flex Fit Color Box
412 \begin_layout Plain Layout
413 \begin_inset Argument 1
416 \begin_layout Plain Layout
423 \begin_inset space \thinspace{}
426 cm wide fit color box with some text.
428 \begin_inset space \thinspace{}
431 cm wide fit color box with some text.
433 \begin_inset space \thinspace{}
436 cm wide fit color box with some text.
444 \begin_layout Standard
445 \begin_inset Flex Fit Color Box
448 \begin_layout Plain Layout
449 \begin_inset Argument 1
452 \begin_layout Plain Layout
453 width=5cm, height=3cm
459 \begin_inset space \thinspace{}
463 \begin_inset space \thinspace{}
466 cm high fit color box.
474 \begin_layout Standard
475 The examples show that the text will be shrinked to fit into the box but
476 it will not be increased.
479 \begin_layout Subsubsection
483 \begin_layout Standard
484 A custom color box is inserted via the menu
486 Insert\SpecialChar menuseparator
487 Custom Insets\SpecialChar menuseparator
498 where # is the number.
501 \begin_layout Standard
502 How to use and customize custom color boxes, see
503 \begin_inset CommandInset ref
505 reference "subsec:General"
512 \begin_layout Subsection
516 \begin_layout Standard
517 To add a title to a box add an options inset via the menu Insert\SpecialChar menuseparator
531 followed by your title.
534 \begin_layout Standard
535 This is a titled box:
536 \begin_inset Flex Color Box
539 \begin_layout Plain Layout
540 \begin_inset Argument 1
543 \begin_layout Plain Layout
549 A basic box with a title.
557 \begin_layout Standard
558 A subtitle is added with the inset
564 Insert\SpecialChar menuseparator
570 \begin_layout Standard
571 \begin_inset Flex Color Box
574 \begin_layout Plain Layout
575 \begin_inset Argument 1
578 \begin_layout Plain Layout
584 A basic box with a subtitle.
586 \begin_inset Flex Subtitle
589 \begin_layout Plain Layout
595 The content below the subtitle.
603 \begin_layout Standard
604 The title and subtitle text is by default white.
605 How to change its color, see
606 \begin_inset CommandInset ref
608 reference "subsec:Title-text"
615 \begin_layout Subsection
617 \begin_inset CommandInset label
619 name "subsec:Box-parts"
626 \begin_layout Standard
627 The content of the box can be divided into an upper and a lower part by
628 using the environment
633 's environment selection combobox.
634 The idea behind this is that both parts can be treated and customized separatel
636 An application would be that the upper part contains a description and
637 the lower part an equation.
640 \begin_layout Standard
641 This is a box where the content is separated:
644 \begin_layout Standard
645 \begin_inset Flex Color Box
648 \begin_layout Plain Layout
652 \begin_layout Color Box Separator
656 \begin_layout Plain Layout
665 \begin_layout Standard
666 The separation line can be customized as described in
667 \begin_inset CommandInset ref
669 reference "subsec:Lines"
676 \begin_layout Standard
677 The separation can also be made side by side with the box option
684 \begin_layout Standard
685 \begin_inset Flex Color Box
688 \begin_layout Plain Layout
689 \begin_inset Argument 1
692 \begin_layout Plain Layout
698 Upper content at the left
701 \begin_layout Color Box Separator
705 \begin_layout Plain Layout
706 Lower content at the right
714 \begin_layout Standard
715 The separation can be made invisible with the box option
717 lower separated=false
722 \begin_layout Standard
723 \begin_inset Flex Color Box
726 \begin_layout Plain Layout
727 \begin_inset Argument 1
730 \begin_layout Plain Layout
731 sidebyside, lower separated=false
736 Upper content invisibly separated
739 \begin_layout Color Box Separator
743 \begin_layout Plain Layout
744 Lower content at the right
752 \begin_layout Standard
753 There are several layout skins available for colored boxes, see
754 \begin_inset CommandInset ref
756 reference "subsec:Beamer"
760 , that affects also the layout of the box parts.
761 For example with the box option
765 the box parts are separated this way:
768 \begin_layout Standard
769 \begin_inset Flex Color Box
772 \begin_layout Plain Layout
773 \begin_inset Argument 1
776 \begin_layout Plain Layout
785 \begin_layout Color Box Separator
789 \begin_layout Plain Layout
798 \begin_layout Subsection
800 \begin_inset CommandInset label
809 \begin_layout Standard
810 To draw a line in a box use the environment
815 The line is by default dashed.
816 Note that it is just a line and does not separate box parts!
819 \begin_layout Standard
820 This is a box with a line:
823 \begin_layout Standard
824 \begin_inset Flex Color Box
827 \begin_layout Plain Layout
831 \begin_layout Color Box Line
835 \begin_layout Plain Layout
844 \begin_layout Standard
845 The line style can only be changed if a skin is specified, see
846 \begin_inset CommandInset ref
848 reference "subsec:Enhanced"
853 Then one can use the box option
855 segmentation style={commands}
861 are commands to define the style.
874 manual for possible commands,
875 \begin_inset CommandInset citation
885 \begin_layout Standard
886 Here is an example in the
890 skin with a double blue line:
893 \begin_layout Standard
894 \begin_inset Flex Color Box
897 \begin_layout Plain Layout
898 \begin_inset Argument 1
901 \begin_layout Plain Layout
902 enhanced, segmentation style={double=white,draw=blue,double distance=1pt,solid}
910 \begin_layout Color Box Line
914 \begin_layout Plain Layout
923 \begin_layout Standard
924 \begin_inset Newpage newpage
930 \begin_layout Section
932 \begin_inset CommandInset label
934 name "sec:Beakable-boxes"
941 \begin_layout Standard
942 To make a box breakable the option
947 If a page break occurs within a box, the box will get broken this way:
950 \begin_layout Standard
951 \begin_inset Flex Color Box
954 \begin_layout Plain Layout
955 \begin_inset Argument 1
958 \begin_layout Plain Layout
959 title=A breakable box, breakable, title after break=continued...
964 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
965 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
967 At vero eos et accusam et justo duo dolores et ea rebum.
968 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
970 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
971 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
973 At vero eos et accusam et justo duo dolores et ea rebum.
974 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
976 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
977 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
979 At vero eos et accusam et justo duo dolores et ea rebum.
980 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
982 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
983 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
985 At vero eos et accusam et justo duo dolores et ea rebum.
986 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
988 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
989 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
991 At vero eos et accusam et justo duo dolores et ea rebum.
992 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
994 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
995 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
997 At vero eos et accusam et justo duo dolores et ea rebum.
998 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1000 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1001 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1003 At vero eos et accusam et justo duo dolores et ea rebum.
1004 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1006 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1007 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1009 At vero eos et accusam et justo duo dolores et ea rebum.
1010 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1012 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1013 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1015 At vero eos et accusam et justo duo dolores et ea rebum.
1016 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1018 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1019 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1021 At vero eos et accusam et justo duo dolores et ea rebum.
1022 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1031 \begin_layout Standard
1032 In the above example the special title
1037 was added for the second page of the box with the option
1044 \begin_layout Standard
1045 If boxes are inside boxes, only the outer box can made breakable.
1048 \begin_layout Standard
1049 \begin_inset Note Greyedout
1052 \begin_layout Plain Layout
1057 Dynamic boxes and fit boxes cannot made breakable!
1065 \begin_layout Section
1069 \begin_layout Subsection
1071 \begin_inset CommandInset label
1073 name "subsec:General"
1080 \begin_layout Standard
1081 The following subsections show many possibilities to customize boxes.
1084 \begin_layout Standard
1085 To avoid to write the box commands all the time, you can use the environment
1089 \begin_inset space ~
1093 \begin_inset space ~
1099 It is inserted via \SpecialChar LyX
1100 's style selection combobox.
1101 There you can write all options that should be applied for
1105 boxes of the document
1110 For example writing there
1112 width=3cm, height=8cm
1114 forces all following boxes to have a height of 8
1115 \begin_inset space \thinspace{}
1119 \begin_inset space \thinspace{}
1123 However, this is not useful if one needs several box types since the changes
1131 \begin_layout Standard
1132 In most documents one need a few types of boxes and all boxes of a type
1133 should look identical.
1134 To achieve this the module
1137 \begin_inset space ~
1141 \begin_inset space ~
1147 \begin_inset space ~
1150 different box types which you can customize.
1151 To change their appearance use the environment
1154 \begin_inset space ~
1158 \begin_inset space ~
1162 \begin_inset space ~
1168 It is inserted via \SpecialChar LyX
1169 's style selection combobox.
1172 \begin_layout Standard
1173 If you want for example a box type that looks like the fancy colored one
1175 \begin_inset CommandInset ref
1177 reference "subsec:Enhanced"
1181 use these options in the environment:
1184 \begin_layout Standard
1187 enhanced, frame style={left color=red!75!black, right color=blue!75!black},
1188 interior style={left color=red!20!white, right color=yellow!50!white}
1191 \begin_layout Standard
1200 (cBoxA is custom box type
1201 \begin_inset space ~
1205 \begin_inset space ~
1209 Because you want to customize every box of this type (e.
1210 \begin_inset space \thinspace{}
1214 \begin_inset space \space{}
1217 every box should have its own title), you need one argument.
1222 into the Arguments inset of the environment.
1225 \begin_layout Standard
1226 \begin_inset Note Greyedout
1229 \begin_layout Plain Layout
1234 If you use an argument, the inset
1238 must also be inserted but left empty!
1246 \begin_layout New Color Box Type
1247 \begin_inset Argument 2
1250 \begin_layout Plain Layout
1257 \begin_inset Argument 3
1260 \begin_layout Plain Layout
1267 \begin_inset Argument 4
1270 \begin_layout Plain Layout
1276 enhanced, frame style={left color=red!75!black, right color=blue!75!black},
1277 interior style={left color=red!20!white, right color=yellow!50!white},
1281 \begin_layout Standard
1282 This way you defined the box type
1285 \begin_inset space ~
1289 \begin_inset space ~
1293 \begin_inset space ~
1299 Boxes of this type will look like this:
1302 \begin_layout Standard
1303 \begin_inset Flex Custom Color Box 1
1306 \begin_layout Plain Layout
1307 \begin_inset Argument 1
1310 \begin_layout Plain Layout
1324 \begin_layout Standard
1325 \begin_inset VSpace bigskip
1329 \begin_inset Newline newline
1332 Assuming you need a box type that can be numbered, you insert
1335 \begin_layout Standard
1338 auto counter, number within=section
1341 \begin_layout Standard
1353 \begin_inset space ~
1357 \begin_inset space ~
1361 \begin_inset space ~
1387 \begin_layout Standard
1390 colback=red!5!white, colframe=red!75!black, title=Example~
1395 \begin_layout Standard
1396 into the environment.
1397 This predefines a title prefix.
1404 is hereby the counter of colored boxes.
1408 \begin_inset space ~
1412 \begin_inset space ~
1416 \begin_inset space ~
1421 you specify the title via the options inset:
1424 \begin_layout New Color Box Type
1425 \begin_inset Argument 1
1428 \begin_layout Plain Layout
1429 auto counter, number within=section
1435 \begin_inset Argument 2
1438 \begin_layout Plain Layout
1445 \begin_inset Argument 3
1448 \begin_layout Plain Layout
1455 \begin_inset Argument 4
1458 \begin_layout Plain Layout
1464 colback=red!5!white, colframe=red!75!black, title=Example~
1469 \begin_layout Standard
1470 \begin_inset Flex Custom Color Box 2
1473 \begin_layout Plain Layout
1474 \begin_inset Argument 1
1477 \begin_layout Plain Layout
1478 Custom numbered title
1491 \begin_layout Standard
1492 Note that you must not write
1496 because this is already done in the definition.
1499 \begin_layout Standard
1500 You can still customize the box by adding options
1507 \begin_layout Standard
1508 \begin_inset Flex Custom Color Box 2
1511 \begin_layout Plain Layout
1512 \begin_inset Argument 1
1515 \begin_layout Plain Layout
1516 Bold numbered title, colback=lime, fonttitle=
1531 \begin_layout Standard
1532 \begin_inset VSpace bigskip
1535 At last a more advanced example:
1536 \begin_inset Newline newline
1539 Assuming you need the type we just defined as
1542 \begin_inset space ~
1546 \begin_inset space ~
1550 \begin_inset space ~
1555 but want to add more than one option.
1556 This is for example useful for options that require another option before
1557 in the options list.
1558 \begin_inset Newline newline
1564 \begin_layout Standard
1567 auto counter, number within=section
1570 \begin_layout Standard
1582 \begin_inset space ~
1586 \begin_inset space ~
1590 \begin_inset space ~
1606 \begin_inset space ~
1621 \begin_layout Standard
1624 nobeforeafter, width=#1, square, colframe=orange!50!black,
1625 \begin_inset Newline newline
1633 \begin_layout Standard
1634 into the environment.
1638 \begin_inset space ~
1642 \begin_inset space ~
1646 \begin_inset space ~
1651 you specify the width via the
1655 inset and the title (and further options if you like) via the
1657 More Color Box Options
1662 \begin_layout New Color Box Type
1663 \begin_inset Argument 1
1666 \begin_layout Plain Layout
1667 auto counter, number within=section
1673 \begin_inset Argument 2
1676 \begin_layout Plain Layout
1683 \begin_inset Argument 3
1686 \begin_layout Plain Layout
1693 \begin_inset Argument 4
1696 \begin_layout Plain Layout
1702 nobeforeafter, width=#1, square, colframe=orange!50!black, title=Example~
1707 \begin_layout Standard
1708 \begin_inset Flex Custom Color Box 3
1711 \begin_layout Plain Layout
1712 \begin_inset Argument 1
1715 \begin_layout Plain Layout
1722 \begin_inset Argument 2
1725 \begin_layout Plain Layout
1732 \begin_inset space \thinspace{}
1735 cm wide custom color box 3
1741 \begin_inset Flex Custom Color Box 3
1744 \begin_layout Plain Layout
1745 \begin_inset Argument 1
1748 \begin_layout Plain Layout
1755 \begin_inset Argument 2
1758 \begin_layout Plain Layout
1765 \begin_inset space \thinspace{}
1768 cm wide custom color box 3 with the
1780 \begin_layout Subsection
1784 \begin_layout Standard
1785 The \SpecialChar LaTeX
1790 provides different skins.
1791 For a full list, see the
1798 \begin_inset space ~
1804 \begin_inset CommandInset citation
1812 Only the most important skins are listed in the following.
1815 \begin_layout Subsubsection
1817 \begin_inset CommandInset label
1819 name "subsec:Enhanced"
1826 \begin_layout Standard
1827 This skin is enabled by adding the option enhanced.
1828 Without further options it looks like the standard skin.
1829 Its advantage are some extra features like the customization of lines,
1831 \begin_inset CommandInset ref
1833 reference "subsec:Lines"
1837 or the ability to have shadows, see
1838 \begin_inset CommandInset ref
1840 reference "subsec:Shadows"
1845 Another feature is a nicer style of breakable boxes:
1848 \begin_layout Standard
1849 \begin_inset Flex Color Box
1852 \begin_layout Plain Layout
1853 \begin_inset Argument 1
1856 \begin_layout Plain Layout
1861 breakable box, breakable, enhanced
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
1920 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1921 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1923 At vero eos et accusam et justo duo dolores et ea rebum.
1924 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1933 \begin_layout Standard
1934 Another feature you might like is to add color gradients with the options
1945 \begin_inset Newline newline
1950 frame style={left color=color, right color=color}
1951 \begin_inset Newline newline
1960 is a color name or definition, see
1961 \begin_inset CommandInset ref
1963 reference "subsec:Color"
1970 \begin_layout Standard
1971 \begin_inset Flex Color Box
1974 \begin_layout Plain Layout
1975 \begin_inset Argument 1
1978 \begin_layout Plain Layout
1983 box with a color gradient, enhanced, frame style={left color=red!75!black,
1984 right color=blue!75!black}, interior style={left color=red!20!white, right
1985 color=yellow!50!white}
1993 \begin_layout Color Box Separator
1997 \begin_layout Plain Layout
2006 \begin_layout Standard
2007 Alternatively one can use a PNG image as background for boxes with the option
2010 frame style image=file name
2015 \begin_inset space ~
2020 is the file name of the image.
2023 \begin_layout Subsubsection
2027 \begin_layout Standard
2028 With this skin the lower content gets another background color than the
2032 \begin_layout Standard
2033 \begin_inset Flex Color Box
2036 \begin_layout Plain Layout
2037 \begin_inset Argument 1
2040 \begin_layout Plain Layout
2041 title=A box with the skin
2053 \begin_layout Color Box Separator
2057 \begin_layout Plain Layout
2066 \begin_layout Standard
2067 The color of the lower part can be changed with the option
2073 \begin_inset CommandInset ref
2075 reference "subsec:Color"
2079 for color customization.
2082 \begin_layout Subsubsection
2084 \begin_inset CommandInset label
2086 name "subsec:Beamer"
2093 \begin_layout Standard
2094 This is a skin that simulates the appearance of the beamer presentation
2096 Its appearance can be changed like for the enhanced skin,
2097 \begin_inset CommandInset ref
2099 reference "subsec:Enhanced"
2106 \begin_layout Standard
2107 \begin_inset Flex Color Box
2110 \begin_layout Plain Layout
2111 \begin_inset Argument 1
2114 \begin_layout Plain Layout
2119 box with a color gradient, beamer, frame style={left color=red!75!black,
2120 right color=blue!75!black}
2128 \begin_layout Color Box Separator
2132 \begin_layout Plain Layout
2141 \begin_layout Subsubsection
2145 \begin_layout Standard
2146 This skin is like the standard skin but the background colors are automatically
2150 \begin_layout Standard
2151 \begin_inset Flex Color Box
2154 \begin_layout Plain Layout
2155 \begin_inset Argument 1
2158 \begin_layout Plain Layout
2171 \begin_layout Color Box Separator
2175 \begin_layout Plain Layout
2184 \begin_layout Subsubsection
2188 \begin_layout Standard
2189 This skin has no colors.
2190 To make the title visible (because it is by default white) you have to
2191 change its color, see
2192 \begin_inset CommandInset ref
2194 reference "subsec:Title-text"
2201 \begin_layout Standard
2202 \begin_inset Flex Color Box
2205 \begin_layout Plain Layout
2206 \begin_inset Argument 1
2209 \begin_layout Plain Layout
2210 title=A box with the
2214 skin, empty, coltitle=orange
2222 \begin_layout Color Box Separator
2226 \begin_layout Plain Layout
2235 \begin_layout Subsection
2239 \begin_layout Subsubsection
2243 \begin_layout Standard
2244 Normally the boxes are a paragraph of its own.
2245 They will therefore appear by default one upon another separated by vertical
2247 To change this behavior, to place for example boxes side by side, use the
2257 By default there is a paragraph break before and after the box.
2258 By using the options
2262 nothing will be added besides the boxes so that they can be places side
2266 \begin_layout Standard
2267 \begin_inset Flex Color Box
2270 \begin_layout Plain Layout
2271 \begin_inset Argument 1
2274 \begin_layout Plain Layout
2275 width=3cm, square, valign=center, before=, after=
2281 \begin_inset space \thinspace{}
2284 cm wide, square box.
2290 \begin_inset Flex Color Box
2293 \begin_layout Plain Layout
2294 \begin_inset Argument 1
2297 \begin_layout Plain Layout
2298 width=3cm, square, valign=center, before=, after=
2304 \begin_inset space \thinspace{}
2307 cm wide, square box.
2313 \begin_inset Flex Color Box
2316 \begin_layout Plain Layout
2317 \begin_inset Argument 1
2320 \begin_layout Plain Layout
2321 width=3cm, square, valign=center, before=, after=
2327 \begin_inset space \thinspace{}
2330 cm wide, square box.
2338 \begin_layout Standard
2343 is an alternative for
2350 \begin_layout Standard
2351 To separate the boxes one can use the normal \SpecialChar LyX
2352 spacing features like a horizontal
2356 \begin_layout Standard
2357 \begin_inset space \hfill{}
2361 \begin_inset Flex Color Box
2364 \begin_layout Plain Layout
2365 \begin_inset Argument 1
2368 \begin_layout Plain Layout
2369 width=3cm, square, valign=center, nobeforeafter
2375 \begin_inset space \thinspace{}
2378 cm wide, square box.
2384 \begin_inset space \hfill{}
2388 \begin_inset Flex Color Box
2391 \begin_layout Plain Layout
2392 \begin_inset Argument 1
2395 \begin_layout Plain Layout
2396 width=3cm, square, valign=center, nobeforeafter
2402 \begin_inset space \thinspace{}
2405 cm wide, square box.
2411 \begin_inset space \hfill{}
2415 \begin_inset Flex Color Box
2418 \begin_layout Plain Layout
2419 \begin_inset Argument 1
2422 \begin_layout Plain Layout
2423 width=3cm, square, valign=center, nobeforeafter
2429 \begin_inset space \thinspace{}
2432 cm wide, square box.
2438 \begin_inset space \hfill{}
2444 \begin_layout Standard
2445 If you prefer \SpecialChar TeX
2446 code you can alternatively use the option
2452 to add a a horizontal fill.
2455 \begin_layout Subsubsection
2459 \begin_layout Standard
2460 Like for tables and figures in a document it is very helpful if boxes could
2461 float in the text to be placed at the optimal position.
2462 This is achieved by the option
2470 are the optional \SpecialChar TeX
2471 floating placement options
2472 \begin_inset Quotes eld
2480 \begin_inset Quotes erd
2484 \begin_inset Quotes eld
2492 \begin_inset Quotes erd
2496 \begin_inset Quotes eld
2504 \begin_inset Quotes erd
2508 \begin_inset Quotes eld
2516 \begin_inset Quotes erd
2520 They correspond to the float placement options described in section
2523 \begin_inset space ~
2531 \begin_inset space ~
2537 The placement options can be mixed and are inserted without any separation,
2539 \begin_inset space \thinspace{}
2543 \begin_inset space \space{}
2547 \begin_inset Quotes eld
2555 \begin_inset Quotes erd
2561 \begin_layout Standard
2562 \begin_inset Flex Color Box
2565 \begin_layout Plain Layout
2566 \begin_inset Argument 1
2569 \begin_layout Plain Layout
2570 title=A floating box, float, width=5cm, valign=center
2576 \begin_inset space \thinspace{}
2579 cm wide floating box.
2587 \begin_layout Standard
2588 For floating boxes the options
2597 One can instead insert code with the command
2602 If the box is breakable the code is inserted before every part of the break
2604 A typical application is to center the floating box with
2611 \begin_layout Standard
2612 \begin_inset Flex Color Box
2615 \begin_layout Plain Layout
2616 \begin_inset Argument 1
2619 \begin_layout Plain Layout
2620 title=A floating box, float, width=5cm, valign=center, every float=
2628 \begin_inset space \thinspace{}
2631 cm wide floating box.
2639 \begin_layout Subsubsection
2641 \begin_inset CommandInset label
2643 name "subsec:Vertical"
2650 \begin_layout Standard
2651 The vertical placement of a box in respect to the surrounding text line
2652 can only be set for dynamic boxes.
2657 raises or lowers the box.
2663 The allowed units for values are listed in Appendix
2664 \begin_inset space ~
2670 \begin_inset space ~
2676 The default width is
2685 the box is lowered so that the base of the box content matches the base
2686 of the surrounding line.
2689 \begin_layout Standard
2693 \begin_layout Standard
2695 \begin_inset Flex Dynamic Color Box
2698 \begin_layout Plain Layout
2699 \begin_inset Argument 1
2702 \begin_layout Plain Layout
2703 tcbox raise base, nobeforeafter
2714 \begin_inset Flex Dynamic Color Box
2717 \begin_layout Plain Layout
2718 \begin_inset Argument 1
2721 \begin_layout Plain Layout
2733 \begin_inset Flex Dynamic Color Box
2736 \begin_layout Plain Layout
2737 \begin_inset Argument 1
2740 \begin_layout Plain Layout
2741 tcbox raise=1cm, nobeforeafter
2747 \begin_inset space \thinspace{}
2758 \begin_layout Subsubsection
2762 \begin_layout Standard
2763 The easiest way to place boxes in a table-like raster is to put them into
2768 \begin_inset space ~
2772 \begin_inset space ~
2777 inset is inserted via the menu
2779 Insert\SpecialChar menuseparator
2785 \begin_layout Standard
2786 The number of columns is specified with the option
2788 raster columns=number
2794 is the number of columns.
2795 All boxes inserted to the raster box will now automatically be output in
2796 a raster with 3 columns and their width is automatically adjusted.
2799 \begin_layout Standard
2800 \begin_inset Flex Raster Color Box
2803 \begin_layout Plain Layout
2804 \begin_inset Argument 1
2807 \begin_layout Plain Layout
2816 \begin_layout Plain Layout
2817 \begin_inset Flex Color Box
2820 \begin_layout Plain Layout
2821 \begin_inset Argument 1
2824 \begin_layout Plain Layout
2836 \begin_inset Flex Color Box
2839 \begin_layout Plain Layout
2840 \begin_inset Argument 1
2843 \begin_layout Plain Layout
2855 \begin_inset Flex Color Box
2858 \begin_layout Plain Layout
2859 \begin_inset Argument 1
2862 \begin_layout Plain Layout
2874 \begin_inset Flex Color Box
2877 \begin_layout Plain Layout
2878 \begin_inset Argument 1
2881 \begin_layout Plain Layout
2893 \begin_inset Flex Color Box
2896 \begin_layout Plain Layout
2897 \begin_inset Argument 1
2900 \begin_layout Plain Layout
2919 \begin_layout Standard
2920 For more info about options of the raster color box, please consult the
2928 \begin_inset space ~
2934 \begin_inset CommandInset citation
2944 \begin_layout Subsection
2946 \begin_inset CommandInset label
2948 name "subsec:Geometry"
2955 \begin_layout Subsubsection
2959 \begin_layout Subsubsection*
2963 \begin_layout Standard
2964 The width of the box is changed with the option
2973 The allowed units for values are listed in Appendix
2974 \begin_inset space ~
2980 \begin_inset space ~
2986 The default width is
2995 \begin_layout Standard
2996 \begin_inset Flex Color Box
2999 \begin_layout Plain Layout
3000 \begin_inset Argument 1
3003 \begin_layout Plain Layout
3010 \begin_inset space \thinspace{}
3021 \begin_layout Standard
3022 One can also set a width only for the text of the box with the option
3027 If the width is shorter than required for the text, new lines will be created
3031 \begin_layout Standard
3032 \begin_inset Flex Color Box
3035 \begin_layout Plain Layout
3036 \begin_inset Argument 1
3039 \begin_layout Plain Layout
3045 Some longer text to fill the box with a width of 4
3046 \begin_inset space \thinspace{}
3057 \begin_layout Standard
3066 ; only the last given width option is taken into account.
3069 \begin_layout Standard
3070 To extend the width of the box one must use the
3074 option and can then use the option
3081 \begin_layout Standard
3082 \begin_inset Flex Color Box
3085 \begin_layout Plain Layout
3086 \begin_inset Argument 1
3089 \begin_layout Plain Layout
3090 width=10cm, add to width=2cm
3096 \begin_inset space \thinspace{}
3099 cm wide box with additional width of 2
3100 \begin_inset space \thinspace{}
3111 \begin_layout Subsubsection*
3115 \begin_layout Standard
3116 For boxes with parts side by side one can control the width of the box parts
3140 sidebyside gap=length
3147 The allowed units for the values are listed in Appendix
3148 \begin_inset space ~
3154 \begin_inset space ~
3160 All options require of course the option
3167 \begin_layout Standard
3172 sets the space between the left and the right part:
3175 \begin_layout Standard
3176 \begin_inset Flex Color Box
3179 \begin_layout Plain Layout
3180 \begin_inset Argument 1
3183 \begin_layout Plain Layout
3184 sidebyside, sidebyside gap=2cm
3189 Upper content divided by 2
3190 \begin_inset space \thinspace{}
3196 \begin_layout Color Box Separator
3200 \begin_layout Plain Layout
3209 \begin_layout Standard
3218 set the absolute width of the left and right part, respectively:
3221 \begin_layout Standard
3222 \begin_inset Flex Color Box
3225 \begin_layout Plain Layout
3226 \begin_inset Argument 1
3229 \begin_layout Plain Layout
3230 sidebyside, lefthand width=3cm
3235 Upper content with a width of 3
3236 \begin_inset space \thinspace{}
3242 \begin_layout Color Box Separator
3246 \begin_layout Plain Layout
3255 \begin_layout Standard
3264 set the relative width of the left and right part, respectively:
3267 \begin_layout Standard
3268 \begin_inset Flex Color Box
3271 \begin_layout Plain Layout
3272 \begin_inset Argument 1
3275 \begin_layout Plain Layout
3276 sidebyside, lefthand ratio=0.3
3281 Upper content with a width of 30
3282 \begin_inset space \thinspace{}
3288 \begin_layout Color Box Separator
3292 \begin_layout Plain Layout
3301 \begin_layout Subsubsection
3303 \begin_inset CommandInset label
3305 name "subsec:Height"
3312 \begin_layout Subsubsection*
3316 \begin_layout Standard
3317 The height of the box is changed with the option
3326 The default height is the height consumed by the box content.
3329 \begin_layout Standard
3330 \begin_inset Flex Color Box
3333 \begin_layout Plain Layout
3334 \begin_inset Argument 1
3337 \begin_layout Plain Layout
3344 \begin_inset space \thinspace{}
3355 \begin_layout Standard
3356 If the specified height is smaller than the one consumed by the content,
3357 the content will be placed below the box:
3360 \begin_layout Standard
3361 \begin_inset Flex Color Box
3364 \begin_layout Plain Layout
3365 \begin_inset Argument 1
3368 \begin_layout Plain Layout
3375 \begin_inset space \thinspace{}
3386 \begin_layout Standard
3387 \begin_inset VSpace bigskip
3394 the height will automatically be set to the same value than the box width.
3397 \begin_layout Standard
3398 \begin_inset Flex Color Box
3401 \begin_layout Plain Layout
3402 \begin_inset Argument 1
3405 \begin_layout Plain Layout
3419 \begin_layout Standard
3420 \begin_inset VSpace bigskip
3423 To extend the height of the box in case the content might consume more height
3424 than expected one must use the
3428 option and can then uses the option
3433 An application would be to set a maximal possible height in case you write
3434 a book where the spacing is defined and should not be overwritten by any
3438 \begin_layout Standard
3439 \begin_inset Flex Color Box
3442 \begin_layout Plain Layout
3443 \begin_inset Argument 1
3446 \begin_layout Plain Layout
3447 height=2cm, height plus=2cm
3453 \begin_inset space \thinspace{}
3456 cm high box with additional height of 2
3457 \begin_inset space \thinspace{}
3468 \begin_layout Standard
3469 \begin_inset Flex Color Box
3472 \begin_layout Plain Layout
3473 \begin_inset Argument 1
3476 \begin_layout Plain Layout
3477 height=2cm, height plus=2cm
3483 \begin_inset space \thinspace{}
3486 cm high box with additional height of 2
3487 \begin_inset space \thinspace{}
3491 Its content consumes 3
3492 \begin_inset space \thinspace{}
3495 cm therefore the box height will also be 3
3496 \begin_inset space \thinspace{}
3501 \begin_inset space \thinspace{}
3504 cm high box with additional height of 2
3505 \begin_inset space \thinspace{}
3509 Its content consumes 3
3510 \begin_inset space \thinspace{}
3513 cm therefore the box height will also be 3
3514 \begin_inset space \thinspace{}
3519 \begin_inset space \thinspace{}
3522 cm high box with additional height of 2
3523 \begin_inset space \thinspace{}
3527 Its content consumes 3
3528 \begin_inset space \thinspace{}
3531 cm therefore the box height will also be 3
3532 \begin_inset space \thinspace{}
3543 \begin_layout Standard
3544 \begin_inset VSpace bigskip
3547 In some cases it might be useful to specify an allowed range for the height
3550 height from=min to max
3561 The height will then be at least the given minimal value or the height
3562 consumed by the content.
3563 It does not exceed the maximum, independent of the content:
3566 \begin_layout Standard
3567 \begin_inset Flex Color Box
3570 \begin_layout Plain Layout
3571 \begin_inset Argument 1
3574 \begin_layout Plain Layout
3575 height from=1cm to 3cm
3580 A box with minimal height of 1
3581 \begin_inset space \thinspace{}
3584 cm and maximal height of 3
3585 \begin_inset space \thinspace{}
3596 \begin_layout Standard
3597 \begin_inset Flex Color Box
3600 \begin_layout Plain Layout
3601 \begin_inset Argument 1
3604 \begin_layout Plain Layout
3605 height from=1cm to 3cm
3610 A box with minimal height of 1
3611 \begin_inset space \thinspace{}
3614 cm and maximal height of 3
3615 \begin_inset space \thinspace{}
3619 The content consumes more space than 3
3620 \begin_inset space \thinspace{}
3624 A box with minimal height of 1
3625 \begin_inset space \thinspace{}
3628 cm and maximal height of 3
3629 \begin_inset space \thinspace{}
3633 The content consumes more space than 3
3634 \begin_inset space \thinspace{}
3638 A box with minimal height of 1
3639 \begin_inset space \thinspace{}
3642 cm and maximal height of 3
3643 \begin_inset space \thinspace{}
3647 The content consumes more space than 3
3648 \begin_inset space \thinspace{}
3652 A box with minimal height of 1
3653 \begin_inset space \thinspace{}
3656 cm and maximal height of 3
3657 \begin_inset space \thinspace{}
3661 The content consumes more space than 3
3662 \begin_inset space \thinspace{}
3673 \begin_layout Standard
3674 \begin_inset VSpace bigskip
3679 add to height=length
3681 one can add defined height to the box.
3686 option must be added
3693 \begin_layout Standard
3694 \begin_inset Flex Color Box
3697 \begin_layout Plain Layout
3698 \begin_inset Argument 1
3701 \begin_layout Plain Layout
3702 height=1cm, add to height=1cm
3708 \begin_inset space \thinspace{}
3712 \begin_inset space \thinspace{}
3715 cm additional height.
3723 \begin_layout Standard
3724 \begin_inset VSpace bigskip
3731 one can force the box to consume the rest of the available height of the
3732 document parts where it is in.
3746 The latter works like
3750 but compresses the content of the page before the box as much as possible
3751 to maximize the box.
3752 \begin_inset Newline newline
3755 In this example the box is in the main text and therefore consumes the rest
3756 of the current page:
3759 \begin_layout Standard
3760 \begin_inset Flex Color Box
3763 \begin_layout Plain Layout
3764 \begin_inset Argument 1
3767 \begin_layout Plain Layout
3773 A box that fills the remaining height of the current page.
3781 \begin_layout Subsubsection*
3785 \begin_layout Standard
3786 One can set a height only for the text of the box with the option
3787 \begin_inset Newline newline
3797 \begin_layout Standard
3798 \begin_inset Flex Color Box
3801 \begin_layout Plain Layout
3802 \begin_inset Argument 1
3805 \begin_layout Plain Layout
3812 \begin_inset space \thinspace{}
3816 Due to the frame separation and the frame width the box height is larger
3818 \begin_inset space \thinspace{}
3829 \begin_layout Standard
3838 ; only the last given width option is taken into account.
3841 \begin_layout Standard
3842 \begin_inset VSpace bigskip
3865 one can specify how the height should be divided between the upper and
3875 is the fraction of the additional height (the specified height minus the
3876 height consumed by the content).
3877 \begin_inset Newline newline
3885 \begin_inset space \thinspace{}
3888 % of the additional space to the upper part:
3891 \begin_layout Standard
3892 \begin_inset Flex Color Box
3895 \begin_layout Plain Layout
3896 \begin_inset Argument 1
3899 \begin_layout Plain Layout
3900 height=3cm, space=0.75
3906 \begin_inset space \thinspace{}
3909 cm high box where 75 % of the additional height is set to the upper content.
3912 \begin_layout Color Box Separator
3916 \begin_layout Plain Layout
3925 \begin_layout Standard
3953 \begin_layout Standard
3954 \begin_inset Flex Color Box
3957 \begin_layout Plain Layout
3958 \begin_inset Argument 1
3961 \begin_layout Plain Layout
3962 height=3cm, space to upper
3968 \begin_inset space \thinspace{}
3971 cm high box where all additional height is set to the upper content.
3974 \begin_layout Color Box Separator
3978 \begin_layout Plain Layout
3987 \begin_layout Standard
3996 is the fraction of the complete height (not the additional height).
3997 Therefore one must be careful if e.
3998 \begin_inset space \thinspace{}
4002 \begin_inset space \space{}
4005 the upper part consumes more height than one set via
4012 \begin_layout Standard
4013 \begin_inset Flex Color Box
4016 \begin_layout Plain Layout
4017 \begin_inset Argument 1
4020 \begin_layout Plain Layout
4021 height=3cm, split=0.1
4027 \begin_inset space \thinspace{}
4030 cm high box where the height is split by 10
4031 \begin_inset space \thinspace{}
4036 \begin_inset space \thinspace{}
4039 cm high box where the height is split by 10
4040 \begin_inset space \thinspace{}
4046 \begin_layout Color Box Separator
4050 \begin_layout Plain Layout
4059 \begin_layout Standard
4060 \begin_inset VSpace bigskip
4065 equal height group=id
4067 it is possible to set the same height for all boxes in a group.
4072 is a name to reference the group.
4073 This is for example useful if one has 3
4074 \begin_inset space ~
4077 boxes side by side inside a box:
4080 \begin_layout Standard
4081 \begin_inset Flex Color Box
4084 \begin_layout Plain Layout
4085 \begin_inset Flex Color Box
4088 \begin_layout Plain Layout
4089 \begin_inset Argument 1
4092 \begin_layout Plain Layout
4093 adjusted title=ace, width=0.3
4095 columnwidth, nobeforeafter, equal height group=A
4106 \begin_inset space \hfill{}
4110 \begin_inset Flex Color Box
4113 \begin_layout Plain Layout
4114 \begin_inset Argument 1
4117 \begin_layout Plain Layout
4118 adjusted title=Grapefruit, width=0.3
4120 columnwidth, space to upper, nobeforeafter, equal height group=A
4128 \begin_layout Color Box Separator
4132 \begin_layout Plain Layout
4139 \begin_inset space \hfill{}
4143 \begin_inset Flex Color Box
4146 \begin_layout Plain Layout
4147 \begin_inset Argument 1
4150 \begin_layout Plain Layout
4151 adjusted title=, width=0.3
4153 columnwidth, nobeforeafter, equal height group=A
4158 A box with longer text.
4159 A box with longer text.
4160 A box with longer text.
4161 A box with longer text.
4162 A box with longer text.
4175 \begin_layout Standard
4176 The above example was typeset by adding the option
4178 equal height group=A
4181 \begin_inset space ~
4189 is hereby the name of the group.
4192 \begin_layout Standard
4193 If you have a title that needs only a single line, it is recommended to
4202 for all boxes to assure that the title height will be the same for all
4204 Otherwise the height would be different in the above example because
4205 \begin_inset Quotes eld
4209 \begin_inset Quotes erd
4212 needs more height than
4213 \begin_inset Quotes eld
4217 \begin_inset Quotes erd
4223 \begin_layout Subsubsection
4227 \begin_layout Standard
4228 The width of the box frame can be changed with the options
4249 Each option changes the corresponding part of the frame.
4259 The allowed units for the values are listed in Appendix
4260 \begin_inset space ~
4266 \begin_inset space ~
4272 The default length for all parts is 0.5
4273 \begin_inset space \thinspace{}
4277 To set all frame parts to the same value use the option
4284 \begin_layout Standard
4285 \begin_inset Flex Color Box
4288 \begin_layout Plain Layout
4289 \begin_inset Argument 1
4292 \begin_layout Plain Layout
4293 leftrule=3mm, rightrule=4mm, toprule=2mm, bottomrule=1mm
4299 \begin_inset space \thinspace{}
4302 mm wide left rule, 4
4303 \begin_inset space \thinspace{}
4306 mm wide right rule, 2
4307 \begin_inset space \thinspace{}
4311 \begin_inset space \thinspace{}
4322 \begin_layout Standard
4323 \begin_inset Flex Color Box
4326 \begin_layout Plain Layout
4327 \begin_inset Argument 1
4330 \begin_layout Plain Layout
4337 \begin_inset space \thinspace{}
4348 \begin_layout Standard
4349 The title rule is the separation between the title and the box content.
4352 \begin_layout Standard
4353 \begin_inset Flex Color Box
4356 \begin_layout Plain Layout
4357 \begin_inset Argument 1
4360 \begin_layout Plain Layout
4361 title=A title, titlerule=8mm, colbacktitle=blue
4367 \begin_inset space \thinspace{}
4378 \begin_layout Subsubsection
4382 \begin_layout Standard
4383 By default boxes are rectangular with rounded edges.
4384 The radius of the edges can be changed with the option
4393 The allowed units for the values are listed in Appendix
4394 \begin_inset space ~
4400 \begin_inset space ~
4413 \begin_layout Standard
4414 \begin_inset Flex Color Box
4417 \begin_layout Plain Layout
4418 \begin_inset Argument 1
4421 \begin_layout Plain Layout
4430 \begin_inset space \thinspace{}
4443 \begin_layout Standard
4448 one can set the outer radius independently:
4451 \begin_layout Standard
4452 \begin_inset Flex Color Box
4455 \begin_layout Plain Layout
4456 \begin_inset Argument 1
4459 \begin_layout Plain Layout
4460 arc=5mm, outer arc=0mm
4468 \begin_inset space \thinspace{}
4476 \begin_inset space \thinspace{}
4489 \begin_layout Standard
4490 \begin_inset Flex Color Box
4493 \begin_layout Plain Layout
4494 \begin_inset Argument 1
4497 \begin_layout Plain Layout
4498 arc=0mm, outer arc=0mm
4503 A really rectangular box (
4514 \begin_inset space \thinspace{}
4520 The same can alternatively be achieved with the option
4532 \begin_layout Standard
4533 \begin_inset VSpace bigskip
4536 The general shape can be changed with the options
4551 \begin_layout Standard
4556 sets the edge radius to half of the box width.
4557 It is therefore required to specify at least the width.
4560 \begin_layout Standard
4561 \begin_inset Flex Color Box
4564 \begin_layout Plain Layout
4565 \begin_inset Argument 1
4568 \begin_layout Plain Layout
4569 width=3.5cm, circular arc
4575 \begin_inset space \thinspace{}
4578 cm wide circular arc box.
4586 \begin_layout Standard
4587 As you can see circular arc box looks ugly when the box is wider than high.
4588 It is therefore recommended to add the option
4593 \begin_inset CommandInset ref
4595 reference "subsec:Height"
4599 , to get the same width and height.
4600 The result is a perfect circle.
4601 To center the text in the box use the text alignment options described
4603 \begin_inset CommandInset ref
4605 reference "subsec:Alignment"
4612 \begin_layout Standard
4613 \begin_inset Flex Color Box
4616 \begin_layout Plain Layout
4617 \begin_inset Argument 1
4620 \begin_layout Plain Layout
4621 width=4cm, square, valign=center, circular arc
4627 \begin_inset space \thinspace{}
4630 cm wide circular arc box.
4638 \begin_layout Standard
4643 sets the edge radius to half of the minimum of the box width and height.
4644 The result is a semicircle.
4649 requires the options
4664 \begin_layout Standard
4665 \begin_inset Flex Color Box
4668 \begin_layout Plain Layout
4669 \begin_inset Argument 1
4672 \begin_layout Plain Layout
4673 width=3.5cm, height=5cm, bean arc, nobeforeafter, valign=center
4679 \begin_inset space \thinspace{}
4683 \begin_inset space \thinspace{}
4696 \begin_inset Flex Color Box
4699 \begin_layout Plain Layout
4700 \begin_inset Argument 1
4703 \begin_layout Plain Layout
4704 width=5cm, height=3.5cm, bean arc, nobeforeafter, valign=center
4710 \begin_inset space \thinspace{}
4714 \begin_inset space \thinspace{}
4729 \begin_layout Standard
4730 Using bean arc for a square box leads to the same result as
4737 \begin_layout Standard
4738 \begin_inset Flex Color Box
4741 \begin_layout Plain Layout
4742 \begin_inset Argument 1
4745 \begin_layout Plain Layout
4746 width=4cm, square, bean arc, valign=center
4752 \begin_inset space \thinspace{}
4755 cm wide, square box as bean arc.
4763 \begin_layout Standard
4768 is useful to get an octagon.
4769 For an octagon one needs a square box and the option
4776 \begin_layout Standard
4777 \begin_inset Flex Color Box
4780 \begin_layout Plain Layout
4781 \begin_inset Argument 1
4784 \begin_layout Plain Layout
4785 width=4cm, square, octogon arc, valign=center, arc is angular
4791 \begin_inset space \thinspace{}
4794 cm wide, square box with
4806 \begin_layout Standard
4807 \begin_inset Note Greyedout
4810 \begin_layout Plain Layout
4819 is experimental and might cause problems on some \SpecialChar LaTeX
4828 \begin_layout Standard
4829 \begin_inset VSpace bigskip
4832 It is also possible to change only some of the box edges.
4833 To make an edge a corner there is the option
4835 sharp corners=position
4841 is the position of the edge.
4858 change only the corresponding edge.
4861 \begin_layout Standard
4862 \begin_inset Flex Color Box
4865 \begin_layout Plain Layout
4866 \begin_inset Argument 1
4869 \begin_layout Plain Layout
4870 sharp corners=northeast
4875 A box with a corner at the upper right (
4887 \begin_layout Standard
4913 \begin_inset space ~
4919 \begin_layout Standard
4920 \begin_inset Flex Color Box
4923 \begin_layout Plain Layout
4924 \begin_inset Argument 1
4927 \begin_layout Plain Layout
4930 columnwidth,sharp corners=east, nobeforeafter
4936 \begin_inset space ~
4939 corners at the right (
4949 \begin_inset space \hfill{}
4953 \begin_inset Flex Color Box
4956 \begin_layout Plain Layout
4957 \begin_inset Argument 1
4960 \begin_layout Plain Layout
4963 columnwidth,sharp corners=uphill, nobeforeafter
4969 \begin_inset space ~
4972 corners, one at the lower left, one at the upper right (
4984 \begin_layout Standard
4992 \begin_layout Subsection
4994 \begin_inset CommandInset label
4996 name "subsec:Alignment"
5003 \begin_layout Subsubsection
5007 \begin_layout Standard
5012 sets the alignment for the whole box content if there are not box parts,
5013 otherwise the options
5026 is one of the following:
5029 \begin_layout Description
5030 right the content is right-aligned
5031 \begin_inset Flex Color Box
5034 \begin_layout Plain Layout
5035 \begin_inset Argument 1
5038 \begin_layout Plain Layout
5044 A right-aligned box.
5052 \begin_layout Description
5053 left the content is left-aligned
5054 \begin_inset Flex Color Box
5057 \begin_layout Plain Layout
5058 \begin_inset Argument 1
5061 \begin_layout Plain Layout
5075 \begin_layout Description
5076 center the content is centered
5077 \begin_inset Flex Color Box
5080 \begin_layout Plain Layout
5081 \begin_inset Argument 1
5084 \begin_layout Plain Layout
5090 A horizontally centered box.
5098 \begin_layout Description
5099 justify the content is justified (is the default value)
5100 \begin_inset Flex Color Box
5103 \begin_layout Plain Layout
5104 \begin_inset Argument 1
5107 \begin_layout Plain Layout
5121 \begin_layout Standard
5122 An example with box parts:
5123 \begin_inset Flex Color Box
5126 \begin_layout Plain Layout
5127 \begin_inset Argument 1
5130 \begin_layout Plain Layout
5131 halign upper=left, halign lower=center
5136 Upper content left-aligned
5139 \begin_layout Color Box Separator
5143 \begin_layout Plain Layout
5144 Lower content centered
5152 \begin_layout Standard
5153 The title alignment can be changed with the option
5160 \begin_layout Standard
5161 \begin_inset Flex Color Box
5164 \begin_layout Plain Layout
5165 \begin_inset Argument 1
5168 \begin_layout Plain Layout
5169 title=A right-aligned title, halign title=right, halign upper=left, halign
5175 Upper content left-aligned
5178 \begin_layout Color Box Separator
5182 \begin_layout Plain Layout
5183 Lower content centered
5191 \begin_layout Subsubsection
5195 \begin_layout Standard
5196 The vertical alignment can only be changed if the box height is explicitly
5197 set larger than the height consumed by the box content.
5199 \begin_inset CommandInset ref
5201 reference "subsec:Height"
5208 \begin_layout Standard
5213 sets the alignment for the whole box content if there are no box parts,
5214 otherwise the options
5227 is one of the following:
5230 \begin_layout Description
5231 top the content is top-aligned
5232 \begin_inset Flex Color Box
5235 \begin_layout Plain Layout
5236 \begin_inset Argument 1
5239 \begin_layout Plain Layout
5240 height=2cm, valign=top
5253 \begin_layout Description
5254 bottom the content is bottom-aligned
5255 \begin_inset Flex Color Box
5258 \begin_layout Plain Layout
5259 \begin_inset Argument 1
5262 \begin_layout Plain Layout
5263 height=2cm, valign=bottom
5268 A bottom-aligned box.
5276 \begin_layout Description
5277 center the content is vertically centered
5278 \begin_inset Flex Color Box
5281 \begin_layout Plain Layout
5282 \begin_inset Argument 1
5285 \begin_layout Plain Layout
5286 height=2cm, valign=center
5291 A vertically centered box.
5299 \begin_layout Description
5300 scale the content is vertically scaled to fit the height
5301 \begin_inset Flex Color Box
5304 \begin_layout Plain Layout
5305 \begin_inset Argument 1
5308 \begin_layout Plain Layout
5309 height=2cm, valign=scale
5314 A box with scaled content.
5322 \begin_layout Standard
5323 An example with box parts:
5326 \begin_layout Standard
5327 \begin_inset Flex Color Box
5330 \begin_layout Plain Layout
5331 \begin_inset Argument 1
5334 \begin_layout Plain Layout
5335 height=4cm, space=0.5, valign upper=bottom, valign lower=center
5340 Upper content bottom-aligned
5343 \begin_layout Color Box Separator
5347 \begin_layout Plain Layout
5348 Lower content centered
5356 \begin_layout Subsection
5360 \begin_layout Standard
5361 The font changing options have the syntax
5369 are \SpecialChar LaTeX
5370 's font changing commands.
5371 For example the code
5372 \begin_inset Newline newline
5386 \begin_inset Newline newline
5389 makes the font sans-serif, bold and increases the font size to the level
5399 \begin_layout Subsubsection
5403 \begin_layout Standard
5404 The title font can be changed with the option
5411 \begin_layout Standard
5412 \begin_inset Flex Color Box
5415 \begin_layout Plain Layout
5416 \begin_inset Argument 1
5419 \begin_layout Plain Layout
5420 title=A title, fonttitle=
5439 \begin_layout Subsubsection
5443 \begin_layout Standard
5444 The font for the upper and lower part text can be changed with the options
5456 \begin_layout Standard
5457 \begin_inset Flex Color Box
5460 \begin_layout Plain Layout
5461 \begin_inset Argument 1
5464 \begin_layout Plain Layout
5465 title=A title, fontupper=
5467 ttfamily, fontlower=
5474 Changed upper text font
5477 \begin_layout Color Box Separator
5481 \begin_layout Plain Layout
5482 Changed lower text font
5490 \begin_layout Subsection
5492 \begin_inset CommandInset label
5501 \begin_layout Standard
5502 The color is specified in one of these schemes:
5505 \begin_layout Enumerate
5511 \begin_inset VSpace 3mm
5515 \begin_inset Newline newline
5523 \begin_inset Newline newline
5527 \begin_inset space \thinspace{}
5531 \begin_inset Newline newline
5535 \begin_inset Flex Color Box
5538 \begin_layout Plain Layout
5539 \begin_inset Argument 1
5542 \begin_layout Plain Layout
5554 \begin_inset VSpace defskip
5560 \begin_layout Enumerate
5566 \begin_inset VSpace 3mm
5570 \begin_inset Newline newline
5578 \begin_inset Newline newline
5582 \begin_inset space \thinspace{}
5586 \begin_inset Newline newline
5590 \begin_inset space \thinspace{}
5594 \begin_inset Quotes eld
5598 \begin_inset Quotes erd
5602 \begin_inset Newline newline
5606 \begin_inset Flex Color Box
5609 \begin_layout Plain Layout
5610 \begin_inset Argument 1
5613 \begin_layout Plain Layout
5625 \begin_inset VSpace defskip
5631 \begin_layout Enumerate
5634 Name1!PercentOfName1!Name2
5637 \begin_inset VSpace 3mm
5641 \begin_inset Newline newline
5649 \begin_inset Newline newline
5653 \begin_inset space \thinspace{}
5657 \begin_inset Newline newline
5661 \begin_inset space \thinspace{}
5665 \begin_inset Newline newline
5669 \begin_inset Flex Color Box
5672 \begin_layout Plain Layout
5673 \begin_inset Argument 1
5676 \begin_layout Plain Layout
5688 \begin_inset VSpace defskip
5694 \begin_layout Enumerate
5697 Name1!PercentName1!Name2!PercentName3!Name3
5700 \begin_inset VSpace 3mm
5704 \begin_inset Newline newline
5709 red!71.4!green!70!blue
5712 \begin_inset Newline newline
5716 \begin_inset Formula $1-0.70=30\,$
5720 \begin_inset Newline newline
5724 \begin_inset Formula $\left(1-0.714\right)\cdot0.70=20.02\thinspace$
5728 \begin_inset Newline newline
5732 \begin_inset Formula $0.714\cdot0.70=49.98\thinspace$
5736 \begin_inset Newline newline
5740 \begin_inset Flex Color Box
5743 \begin_layout Plain Layout
5744 \begin_inset Argument 1
5747 \begin_layout Plain Layout
5748 colback=red!71.4!green!70!blue
5753 red!71.4!green!70!blue
5759 \begin_inset VSpace defskip
5765 \begin_layout Standard
5766 The possible color names are:
5769 \begin_layout Standard
5771 \begin_inset Tabular
5772 <lyxtabular version="3" rows="4" columns="5">
5773 <features tabularvalignment="middle">
5774 <column alignment="left" valignment="top" width="18col%">
5775 <column alignment="left" valignment="top" width="18col%">
5776 <column alignment="left" valignment="top" width="18col%">
5777 <column alignment="left" valignment="top" width="18col%">
5778 <column alignment="left" valignment="top" width="18col%">
5780 <cell alignment="left" valignment="top" usebox="none">
5783 \begin_layout Plain Layout
5787 \begin_layout Plain Layout
5800 \begin_layout Plain Layout
5808 \begin_inset Phantom Phantom
5811 \begin_layout Plain Layout
5821 \begin_layout Plain Layout
5833 <cell alignment="left" valignment="top" usebox="none">
5836 \begin_layout Plain Layout
5840 \begin_layout Plain Layout
5853 \begin_layout Plain Layout
5861 \begin_inset Phantom Phantom
5864 \begin_layout Plain Layout
5874 \begin_layout Plain Layout
5886 <cell alignment="left" valignment="top" usebox="none">
5889 \begin_layout Plain Layout
5893 \begin_layout Plain Layout
5906 \begin_layout Plain Layout
5914 \begin_inset Phantom Phantom
5917 \begin_layout Plain Layout
5927 \begin_layout Plain Layout
5939 <cell alignment="left" valignment="top" usebox="none">
5942 \begin_layout Plain Layout
5946 \begin_layout Plain Layout
5959 \begin_layout Plain Layout
5967 \begin_inset Phantom Phantom
5970 \begin_layout Plain Layout
5980 \begin_layout Plain Layout
5992 <cell alignment="left" valignment="top" usebox="none">
5995 \begin_layout Plain Layout
5999 \begin_layout Plain Layout
6012 \begin_layout Plain Layout
6020 \begin_inset Phantom Phantom
6023 \begin_layout Plain Layout
6033 \begin_layout Plain Layout
6047 <cell alignment="left" valignment="top" usebox="none">
6050 \begin_layout Plain Layout
6054 \begin_layout Plain Layout
6067 \begin_layout Plain Layout
6075 \begin_inset Phantom Phantom
6078 \begin_layout Plain Layout
6088 \begin_layout Plain Layout
6100 <cell alignment="left" valignment="top" usebox="none">
6103 \begin_layout Plain Layout
6107 \begin_layout Plain Layout
6120 \begin_layout Plain Layout
6128 \begin_inset Phantom Phantom
6131 \begin_layout Plain Layout
6141 \begin_layout Plain Layout
6153 <cell alignment="left" valignment="top" usebox="none">
6156 \begin_layout Plain Layout
6160 \begin_layout Plain Layout
6173 \begin_layout Plain Layout
6181 \begin_inset Phantom Phantom
6184 \begin_layout Plain Layout
6194 \begin_layout Plain Layout
6206 <cell alignment="left" valignment="top" usebox="none">
6209 \begin_layout Plain Layout
6213 \begin_layout Plain Layout
6226 \begin_layout Plain Layout
6234 \begin_inset Phantom Phantom
6237 \begin_layout Plain Layout
6247 \begin_layout Plain Layout
6259 <cell alignment="left" valignment="top" usebox="none">
6262 \begin_layout Plain Layout
6266 \begin_layout Plain Layout
6279 \begin_layout Plain Layout
6287 \begin_inset Phantom Phantom
6290 \begin_layout Plain Layout
6300 \begin_layout Plain Layout
6314 <cell alignment="left" valignment="top" usebox="none">
6317 \begin_layout Plain Layout
6321 \begin_layout Plain Layout
6334 \begin_layout Plain Layout
6342 \begin_inset Phantom Phantom
6345 \begin_layout Plain Layout
6355 \begin_layout Plain Layout
6367 <cell alignment="left" valignment="top" usebox="none">
6370 \begin_layout Plain Layout
6374 \begin_layout Plain Layout
6387 \begin_layout Plain Layout
6395 \begin_inset Phantom Phantom
6398 \begin_layout Plain Layout
6408 \begin_layout Plain Layout
6420 <cell alignment="left" valignment="top" usebox="none">
6423 \begin_layout Plain Layout
6427 \begin_layout Plain Layout
6440 \begin_layout Plain Layout
6448 \begin_inset Phantom Phantom
6451 \begin_layout Plain Layout
6461 \begin_layout Plain Layout
6473 <cell alignment="left" valignment="top" usebox="none">
6476 \begin_layout Plain Layout
6480 \begin_layout Plain Layout
6493 \begin_layout Plain Layout
6501 \begin_inset Phantom Phantom
6504 \begin_layout Plain Layout
6514 \begin_layout Plain Layout
6526 <cell alignment="left" valignment="top" usebox="none">
6529 \begin_layout Plain Layout
6533 \begin_layout Plain Layout
6546 \begin_layout Plain Layout
6554 \begin_inset Phantom Phantom
6557 \begin_layout Plain Layout
6567 \begin_layout Plain Layout
6581 <cell alignment="left" valignment="top" usebox="none">
6584 \begin_layout Plain Layout
6588 \begin_layout Plain Layout
6601 \begin_layout Plain Layout
6609 \begin_inset Phantom Phantom
6612 \begin_layout Plain Layout
6622 \begin_layout Plain Layout
6634 <cell alignment="left" valignment="top" usebox="none">
6637 \begin_layout Plain Layout
6641 \begin_layout Plain Layout
6654 \begin_layout Plain Layout
6662 \begin_inset Phantom Phantom
6665 \begin_layout Plain Layout
6675 \begin_layout Plain Layout
6687 <cell alignment="left" valignment="top" usebox="none">
6690 \begin_layout Plain Layout
6694 \begin_layout Plain Layout
6707 \begin_layout Plain Layout
6715 \begin_inset Phantom Phantom
6718 \begin_layout Plain Layout
6728 \begin_layout Plain Layout
6740 <cell alignment="left" valignment="top" usebox="none">
6743 \begin_layout Plain Layout
6747 \begin_layout Plain Layout
6760 \begin_layout Plain Layout
6768 \begin_inset Phantom Phantom
6771 \begin_layout Plain Layout
6781 \begin_layout Plain Layout
6793 <cell alignment="left" valignment="top" usebox="none">
6796 \begin_layout Plain Layout
6810 \begin_layout Standard
6811 , and the ones listed in Appendix
6812 \begin_inset space ~
6818 \begin_inset space ~
6826 \begin_layout Subsubsection
6830 \begin_layout Standard
6831 The background color is changed with the option
6838 \begin_layout Standard
6839 \begin_inset Flex Color Box
6842 \begin_layout Plain Layout
6843 \begin_inset Argument 1
6846 \begin_layout Plain Layout
6847 colback=red!66!green!70!blue
6860 \begin_layout Subsubsection
6864 \begin_layout Standard
6865 The frame color is changed with the option
6872 \begin_layout Standard
6873 \begin_inset Flex Color Box
6876 \begin_layout Plain Layout
6877 \begin_inset Argument 1
6880 \begin_layout Plain Layout
6881 colframe=red!30!blue
6894 \begin_layout Subsubsection
6898 \begin_layout Standard
6899 The title background color is changed with the option
6906 \begin_layout Standard
6907 \begin_inset Flex Color Box
6910 \begin_layout Plain Layout
6911 \begin_inset Argument 1
6914 \begin_layout Plain Layout
6915 title=A title, colbacktitle=green!30
6920 Title background color
6928 \begin_layout Subsubsection
6930 \begin_inset CommandInset label
6932 name "subsec:Title-text"
6939 \begin_layout Standard
6940 The color for the title text is changed with the option
6947 \begin_layout Standard
6948 \begin_inset Flex Color Box
6951 \begin_layout Plain Layout
6952 \begin_inset Argument 1
6955 \begin_layout Plain Layout
6956 title=A title, coltitle=orange
6964 \begin_layout Plain Layout
6965 \begin_inset Flex Subtitle
6968 \begin_layout Plain Layout
6977 \begin_layout Plain Layout
6986 \begin_layout Subsubsection
6990 \begin_layout Standard
6991 The color for the complete text is changed with the option
6998 \begin_layout Standard
6999 \begin_inset Flex Color Box
7002 \begin_layout Plain Layout
7003 \begin_inset Argument 1
7006 \begin_layout Plain Layout
7020 \begin_layout Subsubsection
7021 Upper and lower text
7024 \begin_layout Standard
7025 The color for the upper and lower part text is changed with the option
7036 \begin_layout Standard
7037 \begin_inset Flex Color Box
7040 \begin_layout Plain Layout
7041 \begin_inset Argument 1
7044 \begin_layout Plain Layout
7045 colupper=green!30!blue, collower=green!70!blue
7053 \begin_layout Color Box Separator
7057 \begin_layout Plain Layout
7066 \begin_layout Standard
7067 \begin_inset Newpage newpage
7073 \begin_layout Subsection
7075 \begin_inset CommandInset label
7077 name "subsec:Shadows"
7084 \begin_layout Standard
7085 Boxes can only be decorated with shadows if a skin is specified, see
7086 \begin_inset CommandInset ref
7088 reference "subsec:Enhanced"
7095 \begin_layout Subsubsection
7099 \begin_layout Standard
7100 A shadow is added with the box option
7108 is a color name or definition, see
7109 \begin_inset CommandInset ref
7111 reference "subsec:Color"
7116 One can omit the color, the shadow color is then black!50!white.
7121 creates a semi-transparent shadow.
7124 \begin_layout Standard
7125 \begin_inset Flex Color Box
7128 \begin_layout Plain Layout
7129 \begin_inset Argument 1
7132 \begin_layout Plain Layout
7133 enhanced, drop shadow, nobeforeafter
7146 \begin_layout Standard
7147 \begin_inset VSpace defskip
7151 \begin_inset Flex Color Box
7154 \begin_layout Plain Layout
7155 \begin_inset Argument 1
7158 \begin_layout Plain Layout
7159 enhanced, drop fuzzy shadow=purple, nobeforeafter
7164 A box with a fuzzy, purple shadow
7172 \begin_layout Standard
7173 The default shadow is placed right below the box.
7174 For other shadow placements have a look at section
7183 \begin_inset CommandInset citation
7193 \begin_layout Subsubsection
7197 \begin_layout Standard
7198 A halo is added with the box option
7200 halo=size with color
7210 is a color name or definition.
7211 One can omit the size and color, the halo is then 0.9
7212 \begin_inset space \thinspace{}
7215 mm thick and has the color yellow.
7216 Note that one cannot omit only the size or color, either both is omitted
7217 or both is specified.
7222 creates a semi-transparent halo.
7225 \begin_layout Standard
7226 \begin_inset Flex Color Box
7229 \begin_layout Plain Layout
7230 \begin_inset Argument 1
7233 \begin_layout Plain Layout
7234 enhanced, halo, nobeforeafter
7247 \begin_layout Standard
7248 \begin_inset VSpace defskip
7254 \begin_layout Standard
7255 \begin_inset Flex Color Box
7258 \begin_layout Plain Layout
7259 \begin_inset Argument 1
7262 \begin_layout Plain Layout
7263 enhanced, fuzzy halo=5mm with green, nobeforeafter
7269 \begin_inset space \thinspace{}
7272 mm thick, green fuzzy halo
7280 \begin_layout Subsubsection
7284 \begin_layout Standard
7285 Generic shadows/halos can be created with the box option
7294 For a brief description of these options consult section
7303 \begin_inset CommandInset citation
7313 \begin_layout Standard
7314 \begin_inset Flex Color Box
7317 \begin_layout Plain Layout
7318 \begin_inset Argument 1
7321 \begin_layout Plain Layout
7322 enhanced, title=Double shadow, shadow={-2.5mm}{-2.5mm}{0mm}{fill=blue, opacity=0.25
7323 }, shadow={1.5mm}{1.5mm}{0mm}{fill=red, opacity=0.25}
7329 \begin_inset space ~
7340 \begin_layout Bibliography
7341 \begin_inset CommandInset bibitem
7342 LatexCommand bibitem
7349 \begin_inset CommandInset href
7351 name "Documentation"
7352 target "http://mirrors.ctan.org/macros/latex/contrib/tcolorbox/tcolorbox.pdf"
7357 of the \SpecialChar LaTeX