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
97 \notefontcolor #0000ff
104 \paragraph_separation skip
107 \math_numbering_side default
108 \quotes_style english
112 \paperpagestyle default
113 \tracking_changes false
114 \output_changes false
117 \html_be_strict false
123 Description of the module Fancy Colored Boxes
130 \begin_layout Standard
131 \begin_inset CommandInset toc
132 LatexCommand tableofcontents
139 \begin_layout Standard
152 you have access to a huge variety of colored boxes.
153 They are particularly useful for presentations or educational texts where
154 you might for example highlight results or equations.
155 This document describes how these boxes are used with \SpecialChar LyX
159 \begin_layout Standard
160 The fancy boxes are generated by the \SpecialChar LaTeX
166 This package has so many features that its manual exceeds 400
172 can therefore only provide access to its basic features.
173 For more advanced features and examples have a loot at the
178 \begin_inset CommandInset citation
188 \begin_layout Section
192 \begin_layout Standard
193 At first load the module
205 in the document settings of your file.
208 \begin_layout Standard
209 Add the following options to the document class options in the document
210 settings of your file:
213 \begin_layout Standard
216 most, usenames, dvipsnames
219 \begin_layout Standard
224 loads most of the libraries of the \SpecialChar LaTeX
234 load additional colors, see Appendix
249 \begin_layout Section
253 \begin_layout Subsection
257 \begin_layout Subsubsection
261 \begin_layout Standard
262 A static color box is inserted via the menu
264 Insert\SpecialChar menuseparator
265 Custom Insets\SpecialChar menuseparator
275 \begin_layout Standard
276 This is a static color box:
277 \begin_inset Flex Color Box
280 \begin_layout Plain Layout
289 \begin_layout Standard
290 It has by default a frame with round corners and consumes the full text
292 It can contain several paragraphs and math.
295 \begin_layout Standard
296 \begin_inset Note Greyedout
299 \begin_layout Plain Layout
304 The box can contain forced page breaks but they will be ignored.
305 To get breakable boxes, see
306 \begin_inset CommandInset ref
308 reference "sec:Beakable-boxes"
320 \begin_layout Subsubsection
324 \begin_layout Standard
325 A dynamic color box is inserted via inset via the menu
327 Insert\SpecialChar menuseparator
328 Custom Insets\SpecialChar menuseparator
342 \begin_layout Standard
343 This is a dynamic color box:
344 \begin_inset Flex Dynamic Color Box
347 \begin_layout Plain Layout
356 \begin_layout Standard
357 In contrary to static boxes dynamic boxes cannot have parts, see
358 \begin_inset CommandInset ref
360 reference "subsec:Box-parts"
364 , and they cannot made breakable but one can set their vertical placement,
366 \begin_inset CommandInset ref
368 reference "subsec:Vertical"
373 Their width is by default the width of the content.
376 \begin_layout Subsubsection
380 \begin_layout Standard
381 A fit color box is inserted via the menu
383 Insert\SpecialChar menuseparator
384 Custom Insets\SpecialChar menuseparator
398 \begin_layout Standard
399 Fit boxes are dynamic boxes but their content is automatically decreased
400 or increased to fit into the specified box width and height.
401 How to specify a width and height is described in
402 \begin_inset CommandInset ref
404 reference "subsec:Geometry"
409 If no width and height is specified the result is a square box consuming
410 the full available width of the page.
411 If only a width is specified, the result is a square box.
414 \begin_layout Standard
415 These are fit color boxes:
418 \begin_layout Standard
419 \begin_inset Flex Fit Color Box
422 \begin_layout Plain Layout
423 \begin_inset Argument 1
426 \begin_layout Plain Layout
433 \begin_inset space \thinspace{}
436 cm wide fit color box with some text.
438 \begin_inset space \thinspace{}
441 cm wide fit color box with some text.
443 \begin_inset space \thinspace{}
446 cm wide fit color box with some text.
454 \begin_layout Standard
455 \begin_inset Flex Fit Color Box
458 \begin_layout Plain Layout
459 \begin_inset Argument 1
462 \begin_layout Plain Layout
463 width=5cm, height=3cm
469 \begin_inset space \thinspace{}
473 \begin_inset space \thinspace{}
476 cm high fit color box.
484 \begin_layout Standard
485 The examples show that the text will be shrinked to fit into the box but
486 it will not be increased.
489 \begin_layout Subsubsection
493 \begin_layout Standard
494 A custom color box is inserted via the menu
496 Insert\SpecialChar menuseparator
497 Custom Insets\SpecialChar menuseparator
508 where # is the number.
511 \begin_layout Standard
512 How to use and customize custom color boxes, see
513 \begin_inset CommandInset ref
515 reference "subsec:General"
522 \begin_layout Subsection
526 \begin_layout Standard
527 To add a title to a box add an options inset via the menu Insert\SpecialChar menuseparator
541 followed by your title.
544 \begin_layout Standard
545 This is a titled box:
546 \begin_inset Flex Color Box
549 \begin_layout Plain Layout
550 \begin_inset Argument 1
553 \begin_layout Plain Layout
559 A basic box with a title.
567 \begin_layout Standard
568 A subtitle is added with the inset
574 Insert\SpecialChar menuseparator
580 \begin_layout Standard
581 \begin_inset Flex Color Box
584 \begin_layout Plain Layout
585 \begin_inset Argument 1
588 \begin_layout Plain Layout
594 A basic box with a subtitle.
596 \begin_inset Flex Subtitle
599 \begin_layout Plain Layout
605 The content below the subtitle.
613 \begin_layout Standard
614 The title and subtitle text is by default white.
615 How to change its color, see
616 \begin_inset CommandInset ref
618 reference "subsec:Title-text"
625 \begin_layout Subsection
627 \begin_inset CommandInset label
629 name "subsec:Box-parts"
636 \begin_layout Standard
637 The content of the box can be divided into an upper and a lower part by
638 using the environment
643 's environment selection combobox.
644 The idea behind this is that both parts can be treated and customized separatel
646 An application would be that the upper part contains a description and
647 the lower part an equation.
650 \begin_layout Standard
651 This is a box where the content is separated:
654 \begin_layout Standard
655 \begin_inset Flex Color Box
658 \begin_layout Plain Layout
662 \begin_layout Color Box Separator
666 \begin_layout Plain Layout
675 \begin_layout Standard
676 The separation line can be customized as described in
677 \begin_inset CommandInset ref
679 reference "subsec:Lines"
686 \begin_layout Standard
687 The separation can also be made side by side with the box option
694 \begin_layout Standard
695 \begin_inset Flex Color Box
698 \begin_layout Plain Layout
699 \begin_inset Argument 1
702 \begin_layout Plain Layout
708 Upper content at the left
711 \begin_layout Color Box Separator
715 \begin_layout Plain Layout
716 Lower content at the right
724 \begin_layout Standard
725 The separation can be made invisible with the box option
727 lower separated=false
732 \begin_layout Standard
733 \begin_inset Flex Color Box
736 \begin_layout Plain Layout
737 \begin_inset Argument 1
740 \begin_layout Plain Layout
741 sidebyside, lower separated=false
746 Upper content invisibly separated
749 \begin_layout Color Box Separator
753 \begin_layout Plain Layout
754 Lower content at the right
762 \begin_layout Standard
763 There are several layout skins available for colored boxes, see
764 \begin_inset CommandInset ref
766 reference "subsec:Beamer"
770 , that affects also the layout of the box parts.
771 For example with the box option
775 the box parts are separated this way:
778 \begin_layout Standard
779 \begin_inset Flex Color Box
782 \begin_layout Plain Layout
783 \begin_inset Argument 1
786 \begin_layout Plain Layout
795 \begin_layout Color Box Separator
799 \begin_layout Plain Layout
808 \begin_layout Subsection
810 \begin_inset CommandInset label
819 \begin_layout Standard
820 To draw a line in a box use the environment
825 The line is by default dashed.
826 Note that it is just a line and does not separate box parts!
829 \begin_layout Standard
830 This is a box with a line:
833 \begin_layout Standard
834 \begin_inset Flex Color Box
837 \begin_layout Plain Layout
841 \begin_layout Color Box Line
845 \begin_layout Plain Layout
854 \begin_layout Standard
855 The line style can only be changed if a skin is specified, see
856 \begin_inset CommandInset ref
858 reference "subsec:Enhanced"
863 Then one can use the box option
865 segmentation style={commands}
871 are commands to define the style.
884 manual for possible commands,
885 \begin_inset CommandInset citation
895 \begin_layout Standard
896 Here is an example in the
900 skin with a double blue line:
903 \begin_layout Standard
904 \begin_inset Flex Color Box
907 \begin_layout Plain Layout
908 \begin_inset Argument 1
911 \begin_layout Plain Layout
912 enhanced, segmentation style={double=white,draw=blue,double distance=1pt,solid}
920 \begin_layout Color Box Line
924 \begin_layout Plain Layout
933 \begin_layout Standard
934 \begin_inset Newpage newpage
940 \begin_layout Section
942 \begin_inset CommandInset label
944 name "sec:Beakable-boxes"
951 \begin_layout Standard
952 To make a box breakable the option
957 If a page break occurs within a box, the box will get broken this way:
960 \begin_layout Standard
961 \begin_inset Flex Color Box
964 \begin_layout Plain Layout
965 \begin_inset Argument 1
968 \begin_layout Plain Layout
969 title=A breakable box, breakable, title after break=continued...
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
1016 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1017 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1019 At vero eos et accusam et justo duo dolores et ea rebum.
1020 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1022 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1023 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1025 At vero eos et accusam et justo duo dolores et ea rebum.
1026 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1028 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1029 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1031 At vero eos et accusam et justo duo dolores et ea rebum.
1032 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1041 \begin_layout Standard
1042 In the above example the special title
1047 was added for the second page of the box with the option
1054 \begin_layout Standard
1055 If boxes are inside boxes, only the outer box can made breakable.
1058 \begin_layout Standard
1059 \begin_inset Note Greyedout
1062 \begin_layout Plain Layout
1067 Dynamic boxes and fit boxes cannot made breakable!
1075 \begin_layout Section
1079 \begin_layout Subsection
1081 \begin_inset CommandInset label
1083 name "subsec:General"
1090 \begin_layout Standard
1091 The following subsections show many possibilities to customize boxes.
1094 \begin_layout Standard
1095 To avoid to write the box commands all the time, you can use the environment
1099 \begin_inset space ~
1103 \begin_inset space ~
1109 It is inserted via \SpecialChar LyX
1110 's style selection combobox.
1111 There you can write all options that should be applied for
1115 boxes of the document
1120 For example writing there
1122 width=3cm, height=8cm
1124 forces all following boxes to have a height of 8
1125 \begin_inset space \thinspace{}
1129 \begin_inset space \thinspace{}
1133 However, this is not useful if one needs several box types since the changes
1141 \begin_layout Standard
1142 In most documents one need a few types of boxes and all boxes of a type
1143 should look identical.
1144 To achieve this the module
1147 \begin_inset space ~
1151 \begin_inset space ~
1157 \begin_inset space ~
1160 different box types which you can customize.
1161 To change their appearance use the environment
1164 \begin_inset space ~
1168 \begin_inset space ~
1172 \begin_inset space ~
1178 It is inserted via \SpecialChar LyX
1179 's style selection combobox.
1182 \begin_layout Standard
1183 If you want for example a box type that looks like the fancy colored one
1185 \begin_inset CommandInset ref
1187 reference "subsec:Enhanced"
1191 use these options in the environment:
1194 \begin_layout Standard
1197 enhanced, frame style={left color=red!75!black, right color=blue!75!black},
1198 interior style={left color=red!20!white, right color=yellow!50!white}
1201 \begin_layout Standard
1210 (cBoxA is custom box type
1211 \begin_inset space ~
1215 \begin_inset space ~
1219 Because you want to customize every box of this type (e.
1220 \begin_inset space \thinspace{}
1224 \begin_inset space \space{}
1227 every box should have its own title), you need one argument.
1232 into the Arguments inset of the environment.
1235 \begin_layout Standard
1236 \begin_inset Note Greyedout
1239 \begin_layout Plain Layout
1244 If you use an argument, the inset
1248 must also be inserted but left empty!
1256 \begin_layout New Color Box Type
1257 \begin_inset Argument 2
1260 \begin_layout Plain Layout
1268 \begin_inset Argument 3
1271 \begin_layout Plain Layout
1279 \begin_inset Argument 4
1282 \begin_layout Plain Layout
1288 enhanced, frame style={left color=red!75!black, right color=blue!75!black},
1289 interior style={left color=red!20!white, right color=yellow!50!white},
1293 \begin_layout Standard
1294 This way you defined the box type
1297 \begin_inset space ~
1301 \begin_inset space ~
1305 \begin_inset space ~
1311 Boxes of this type will look like this:
1314 \begin_layout Standard
1315 \begin_inset Flex Custom Color Box 1
1318 \begin_layout Plain Layout
1319 \begin_inset Argument 1
1322 \begin_layout Plain Layout
1336 \begin_layout Standard
1337 \begin_inset VSpace bigskip
1341 \begin_inset Newline newline
1344 Assuming you need a box type that can be numbered, you insert
1347 \begin_layout Standard
1350 auto counter, number within=section
1353 \begin_layout Standard
1365 \begin_inset space ~
1369 \begin_inset space ~
1373 \begin_inset space ~
1399 \begin_layout Standard
1402 colback=red!5!white, colframe=red!75!black, title=Example~
1407 \begin_layout Standard
1408 into the environment.
1409 This predefines a title prefix.
1416 is hereby the counter of colored boxes.
1420 \begin_inset space ~
1424 \begin_inset space ~
1428 \begin_inset space ~
1433 you specify the title via the options inset:
1436 \begin_layout New Color Box Type
1437 \begin_inset Argument 1
1440 \begin_layout Plain Layout
1442 auto counter, number within=section
1448 \begin_inset Argument 2
1451 \begin_layout Plain Layout
1459 \begin_inset Argument 3
1462 \begin_layout Plain Layout
1470 \begin_inset Argument 4
1473 \begin_layout Plain Layout
1479 colback=red!5!white, colframe=red!75!black, title=Example~
1484 \begin_layout Standard
1485 \begin_inset Flex Custom Color Box 2
1488 \begin_layout Plain Layout
1489 \begin_inset Argument 1
1492 \begin_layout Plain Layout
1493 Custom numbered title
1506 \begin_layout Standard
1507 Note that you must not write
1511 because this is already done in the definition.
1514 \begin_layout Standard
1515 You can still customize the box by adding options
1522 \begin_layout Standard
1523 \begin_inset Flex Custom Color Box 2
1526 \begin_layout Plain Layout
1527 \begin_inset Argument 1
1530 \begin_layout Plain Layout
1531 Bold numbered title, colback=lime, fonttitle=
1546 \begin_layout Standard
1547 \begin_inset VSpace bigskip
1550 At last a more advanced example:
1551 \begin_inset Newline newline
1554 Assuming you need the type we just defined as
1557 \begin_inset space ~
1561 \begin_inset space ~
1565 \begin_inset space ~
1570 but want to add more than one option.
1571 This is for example useful for options that require another option before
1572 in the options list.
1573 \begin_inset Newline newline
1579 \begin_layout Standard
1582 auto counter, number within=section
1585 \begin_layout Standard
1597 \begin_inset space ~
1601 \begin_inset space ~
1605 \begin_inset space ~
1621 \begin_inset space ~
1636 \begin_layout Standard
1639 nobeforeafter, width=#1, square, colframe=orange!50!black,
1640 \begin_inset Newline newline
1648 \begin_layout Standard
1649 into the environment.
1653 \begin_inset space ~
1657 \begin_inset space ~
1661 \begin_inset space ~
1666 you specify the width via the
1670 inset and the title (and further options if you like) via the
1672 More Color Box Options
1677 \begin_layout New Color Box Type
1678 \begin_inset Argument 1
1681 \begin_layout Plain Layout
1683 auto counter, number within=section
1689 \begin_inset Argument 2
1692 \begin_layout Plain Layout
1700 \begin_inset Argument 3
1703 \begin_layout Plain Layout
1711 \begin_inset Argument 4
1714 \begin_layout Plain Layout
1720 nobeforeafter, width=#1, square, colframe=orange!50!black, title=Example~
1725 \begin_layout Standard
1726 \begin_inset Flex Custom Color Box 3
1729 \begin_layout Plain Layout
1730 \begin_inset Argument 1
1733 \begin_layout Plain Layout
1740 \begin_inset Argument 2
1743 \begin_layout Plain Layout
1750 \begin_inset space \thinspace{}
1753 cm wide custom color box 3
1759 \begin_inset Flex Custom Color Box 3
1762 \begin_layout Plain Layout
1763 \begin_inset Argument 1
1766 \begin_layout Plain Layout
1773 \begin_inset Argument 2
1776 \begin_layout Plain Layout
1783 \begin_inset space \thinspace{}
1786 cm wide custom color box 3 with the
1798 \begin_layout Subsection
1802 \begin_layout Standard
1803 You cannot use \SpecialChar LyX
1804 's label/reference mechanisms for fancy colored boxes.
1805 Numbered boxes can be referenced by adding
1808 \begin_layout Standard
1814 \begin_layout Standard
1823 is the label name used to reference the box.
1826 \begin_layout Standard
1827 \begin_inset Flex Custom Color Box 2
1830 \begin_layout Plain Layout
1831 \begin_inset Argument 1
1834 \begin_layout Plain Layout
1835 Mass–energy equivalence, label={Einstein}
1841 \begin_inset Formula
1856 \begin_layout Standard
1857 To reference the box, insert the command
1860 \begin_layout Standard
1868 \begin_layout Standard
1870 code to the text where the reference should appear.
1873 \begin_layout Standard
1874 This is the reference to Example
1875 \begin_inset space \space{}
1882 \begin_layout Plain Layout
1894 \begin_layout Subsection
1898 \begin_layout Standard
1899 The \SpecialChar LaTeX
1904 provides different skins.
1905 For a full list, see the
1912 \begin_inset space ~
1918 \begin_inset CommandInset citation
1926 Only the most important skins are listed in the following.
1929 \begin_layout Standard
1930 \begin_inset Newpage newpage
1936 \begin_layout Subsubsection
1938 \begin_inset CommandInset label
1940 name "subsec:Enhanced"
1947 \begin_layout Standard
1948 This skin is enabled by adding the option enhanced.
1949 Without further options it looks like the standard skin.
1950 Its advantage are some extra features like the customization of lines,
1952 \begin_inset CommandInset ref
1954 reference "subsec:Lines"
1958 or the ability to have shadows, see
1959 \begin_inset CommandInset ref
1961 reference "subsec:Shadows"
1966 Another feature is a nicer style of breakable boxes:
1969 \begin_layout Standard
1970 \begin_inset Flex Color Box
1973 \begin_layout Plain Layout
1974 \begin_inset Argument 1
1977 \begin_layout Plain Layout
1982 breakable box, breakable, enhanced
1987 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1988 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1990 At vero eos et accusam et justo duo dolores et ea rebum.
1991 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1993 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1994 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1996 At vero eos et accusam et justo duo dolores et ea rebum.
1997 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1999 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
2000 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
2002 At vero eos et accusam et justo duo dolores et ea rebum.
2003 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
2005 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
2006 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
2008 At vero eos et accusam et justo duo dolores et ea rebum.
2009 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
2011 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
2012 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
2014 At vero eos et accusam et justo duo dolores et ea rebum.
2015 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
2017 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
2018 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
2020 At vero eos et accusam et justo duo dolores et ea rebum.
2021 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
2023 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
2024 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
2026 At vero eos et accusam et justo duo dolores et ea rebum.
2027 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
2029 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
2030 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
2032 At vero eos et accusam et justo duo dolores et ea rebum.
2033 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
2035 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
2036 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
2038 At vero eos et accusam et justo duo dolores et ea rebum.
2039 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
2041 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
2042 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
2044 At vero eos et accusam et justo duo dolores et ea rebum.
2045 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
2054 \begin_layout Standard
2055 Another feature you might like is to add color gradients with the options
2066 \begin_inset Newline newline
2071 frame style={left color=color, right color=color}
2072 \begin_inset Newline newline
2081 is a color name or definition, see
2082 \begin_inset CommandInset ref
2084 reference "subsec:Color"
2091 \begin_layout Standard
2092 \begin_inset Flex Color Box
2095 \begin_layout Plain Layout
2096 \begin_inset Argument 1
2099 \begin_layout Plain Layout
2104 box with a color gradient, enhanced, frame style={left color=red!75!black,
2105 right color=blue!75!black}, interior style={left color=red!20!white, right
2106 color=yellow!50!white}
2114 \begin_layout Color Box Separator
2118 \begin_layout Plain Layout
2127 \begin_layout Standard
2128 Alternatively one can use a PNG image as background for boxes with the option
2131 frame style image=file name
2136 \begin_inset space ~
2141 is the file name of the image.
2144 \begin_layout Subsubsection
2148 \begin_layout Standard
2149 With this skin the lower content gets another background color than the
2153 \begin_layout Standard
2154 \begin_inset Flex Color Box
2157 \begin_layout Plain Layout
2158 \begin_inset Argument 1
2161 \begin_layout Plain Layout
2162 title=A box with the skin
2174 \begin_layout Color Box Separator
2178 \begin_layout Plain Layout
2187 \begin_layout Standard
2188 The color of the lower part can be changed with the option
2194 \begin_inset CommandInset ref
2196 reference "subsec:Color"
2200 for color customization.
2203 \begin_layout Subsubsection
2205 \begin_inset CommandInset label
2207 name "subsec:Beamer"
2214 \begin_layout Standard
2215 This is a skin that simulates the appearance of the beamer presentation
2217 Its appearance can be changed like for the enhanced skin,
2218 \begin_inset CommandInset ref
2220 reference "subsec:Enhanced"
2227 \begin_layout Standard
2228 \begin_inset Flex Color Box
2231 \begin_layout Plain Layout
2232 \begin_inset Argument 1
2235 \begin_layout Plain Layout
2240 box with a color gradient, beamer, frame style={left color=red!75!black,
2241 right color=blue!75!black}
2249 \begin_layout Color Box Separator
2253 \begin_layout Plain Layout
2262 \begin_layout Subsubsection
2266 \begin_layout Standard
2267 This skin is like the standard skin but the background colors are automatically
2271 \begin_layout Standard
2272 \begin_inset Flex Color Box
2275 \begin_layout Plain Layout
2276 \begin_inset Argument 1
2279 \begin_layout Plain Layout
2292 \begin_layout Color Box Separator
2296 \begin_layout Plain Layout
2305 \begin_layout Subsubsection
2309 \begin_layout Standard
2310 This skin has no colors.
2311 To make the title visible (because it is by default white) you have to
2312 change its color, see
2313 \begin_inset CommandInset ref
2315 reference "subsec:Title-text"
2322 \begin_layout Standard
2323 \begin_inset Flex Color Box
2326 \begin_layout Plain Layout
2327 \begin_inset Argument 1
2330 \begin_layout Plain Layout
2331 title=A box with the
2335 skin, empty, coltitle=orange
2343 \begin_layout Color Box Separator
2347 \begin_layout Plain Layout
2356 \begin_layout Subsection
2360 \begin_layout Subsubsection
2364 \begin_layout Standard
2365 Normally the boxes are a paragraph of its own.
2366 They will therefore appear by default one upon another separated by vertical
2368 To change this behavior, to place for example boxes side by side, use the
2378 By default there is a paragraph break before and after the box.
2379 By using the options
2383 nothing will be added besides the boxes so that they can be places side
2387 \begin_layout Standard
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, before=, after=
2402 \begin_inset space \thinspace{}
2405 cm wide, square box.
2411 \begin_inset Flex Color Box
2414 \begin_layout Plain Layout
2415 \begin_inset Argument 1
2418 \begin_layout Plain Layout
2419 width=3cm, square, valign=center, before=, after=
2425 \begin_inset space \thinspace{}
2428 cm wide, square box.
2434 \begin_inset Flex Color Box
2437 \begin_layout Plain Layout
2438 \begin_inset Argument 1
2441 \begin_layout Plain Layout
2442 width=3cm, square, valign=center, before=, after=
2448 \begin_inset space \thinspace{}
2451 cm wide, square box.
2459 \begin_layout Standard
2464 is an alternative for
2471 \begin_layout Standard
2472 To separate the boxes one can use the normal \SpecialChar LyX
2473 spacing features like a horizontal
2477 \begin_layout Standard
2478 \begin_inset space \hfill{}
2482 \begin_inset Flex Color Box
2485 \begin_layout Plain Layout
2486 \begin_inset Argument 1
2489 \begin_layout Plain Layout
2490 width=3cm, square, valign=center, nobeforeafter
2496 \begin_inset space \thinspace{}
2499 cm wide, square box.
2505 \begin_inset space \hfill{}
2509 \begin_inset Flex Color Box
2512 \begin_layout Plain Layout
2513 \begin_inset Argument 1
2516 \begin_layout Plain Layout
2517 width=3cm, square, valign=center, nobeforeafter
2523 \begin_inset space \thinspace{}
2526 cm wide, square box.
2532 \begin_inset space \hfill{}
2536 \begin_inset Flex Color Box
2539 \begin_layout Plain Layout
2540 \begin_inset Argument 1
2543 \begin_layout Plain Layout
2544 width=3cm, square, valign=center, nobeforeafter
2550 \begin_inset space \thinspace{}
2553 cm wide, square box.
2559 \begin_inset space \hfill{}
2565 \begin_layout Standard
2566 If you prefer \SpecialChar TeX
2567 code you can alternatively use the option
2573 to add a a horizontal fill.
2576 \begin_layout Subsubsection
2580 \begin_layout Standard
2581 Like for tables and figures in a document it is very helpful if boxes could
2582 float in the text to be placed at the optimal position.
2583 This is achieved by the option
2591 are the optional \SpecialChar TeX
2592 floating placement options
2593 \begin_inset Quotes eld
2601 \begin_inset Quotes erd
2605 \begin_inset Quotes eld
2613 \begin_inset Quotes erd
2617 \begin_inset Quotes eld
2625 \begin_inset Quotes erd
2629 \begin_inset Quotes eld
2637 \begin_inset Quotes erd
2641 They correspond to the float placement options described in section
2644 \begin_inset space ~
2652 \begin_inset space ~
2658 The placement options can be mixed and are inserted without any separation,
2660 \begin_inset space \thinspace{}
2664 \begin_inset space \space{}
2668 \begin_inset Quotes eld
2676 \begin_inset Quotes erd
2682 \begin_layout Standard
2683 \begin_inset Flex Color Box
2686 \begin_layout Plain Layout
2687 \begin_inset Argument 1
2690 \begin_layout Plain Layout
2691 title=A floating box, float, width=5cm, valign=center
2697 \begin_inset space \thinspace{}
2700 cm wide floating box.
2708 \begin_layout Standard
2709 For floating boxes the options
2718 One can instead insert code with the command
2723 If the box is breakable the code is inserted before every part of the break
2725 A typical application is to center the floating box with
2732 \begin_layout Standard
2733 \begin_inset Flex Color Box
2736 \begin_layout Plain Layout
2737 \begin_inset Argument 1
2740 \begin_layout Plain Layout
2741 title=A floating box, float, width=5cm, valign=center, every float=
2749 \begin_inset space \thinspace{}
2752 cm wide floating box.
2760 \begin_layout Subsubsection
2762 \begin_inset CommandInset label
2764 name "subsec:Vertical"
2771 \begin_layout Standard
2772 The vertical placement of a box in respect to the surrounding text line
2773 can only be set for dynamic boxes.
2778 raises or lowers the box.
2784 The allowed units for values are listed in Appendix
2785 \begin_inset space ~
2791 \begin_inset space ~
2797 The default width is
2806 the box is lowered so that the base of the box content matches the base
2807 of the surrounding line.
2810 \begin_layout Standard
2814 \begin_layout Standard
2816 \begin_inset Flex Dynamic Color Box
2819 \begin_layout Plain Layout
2820 \begin_inset Argument 1
2823 \begin_layout Plain Layout
2824 tcbox raise base, nobeforeafter
2835 \begin_inset Flex Dynamic Color Box
2838 \begin_layout Plain Layout
2839 \begin_inset Argument 1
2842 \begin_layout Plain Layout
2854 \begin_inset Flex Dynamic Color Box
2857 \begin_layout Plain Layout
2858 \begin_inset Argument 1
2861 \begin_layout Plain Layout
2862 tcbox raise=1cm, nobeforeafter
2868 \begin_inset space \thinspace{}
2879 \begin_layout Subsubsection
2883 \begin_layout Standard
2884 The easiest way to place boxes in a table-like raster is to put them into
2889 \begin_inset space ~
2893 \begin_inset space ~
2898 inset is inserted via the menu
2900 Insert\SpecialChar menuseparator
2906 \begin_layout Standard
2907 The number of columns is specified with the option
2909 raster columns=number
2915 is the number of columns.
2916 All boxes inserted to the raster box will now automatically be output in
2917 a raster with 3 columns and their width is automatically adjusted.
2920 \begin_layout Standard
2921 \begin_inset Flex Raster Color Box
2924 \begin_layout Plain Layout
2925 \begin_inset Argument 1
2928 \begin_layout Plain Layout
2937 \begin_layout Plain Layout
2938 \begin_inset Flex Color Box
2941 \begin_layout Plain Layout
2942 \begin_inset Argument 1
2945 \begin_layout Plain Layout
2957 \begin_inset Flex Color Box
2960 \begin_layout Plain Layout
2961 \begin_inset Argument 1
2964 \begin_layout Plain Layout
2976 \begin_inset Flex Color Box
2979 \begin_layout Plain Layout
2980 \begin_inset Argument 1
2983 \begin_layout Plain Layout
2995 \begin_inset Flex Color Box
2998 \begin_layout Plain Layout
2999 \begin_inset Argument 1
3002 \begin_layout Plain Layout
3014 \begin_inset Flex Color Box
3017 \begin_layout Plain Layout
3018 \begin_inset Argument 1
3021 \begin_layout Plain Layout
3040 \begin_layout Standard
3041 For more info about options of the raster color box, please consult the
3049 \begin_inset space ~
3055 \begin_inset CommandInset citation
3065 \begin_layout Subsection
3067 \begin_inset CommandInset label
3069 name "subsec:Geometry"
3076 \begin_layout Subsubsection
3080 \begin_layout Subsubsection*
3084 \begin_layout Standard
3085 The width of the box is changed with the option
3094 The allowed units for values are listed in Appendix
3095 \begin_inset space ~
3101 \begin_inset space ~
3107 The default width is
3116 \begin_layout Standard
3117 \begin_inset Flex Color Box
3120 \begin_layout Plain Layout
3121 \begin_inset Argument 1
3124 \begin_layout Plain Layout
3131 \begin_inset space \thinspace{}
3142 \begin_layout Standard
3143 One can also set a width only for the text of the box with the option
3148 If the width is shorter than required for the text, new lines will be created
3152 \begin_layout Standard
3153 \begin_inset Flex Color Box
3156 \begin_layout Plain Layout
3157 \begin_inset Argument 1
3160 \begin_layout Plain Layout
3166 Some longer text to fill the box with a width of 4
3167 \begin_inset space \thinspace{}
3178 \begin_layout Standard
3187 ; only the last given width option is taken into account.
3190 \begin_layout Standard
3191 To extend the width of the box one must use the
3195 option and can then use the option
3202 \begin_layout Standard
3203 \begin_inset Flex Color Box
3206 \begin_layout Plain Layout
3207 \begin_inset Argument 1
3210 \begin_layout Plain Layout
3211 width=10cm, add to width=2cm
3217 \begin_inset space \thinspace{}
3220 cm wide box with additional width of 2
3221 \begin_inset space \thinspace{}
3232 \begin_layout Subsubsection*
3236 \begin_layout Standard
3237 For boxes with parts side by side one can control the width of the box parts
3261 sidebyside gap=length
3268 The allowed units for the values are listed in Appendix
3269 \begin_inset space ~
3275 \begin_inset space ~
3281 All options require of course the option
3288 \begin_layout Standard
3293 sets the space between the left and the right part:
3296 \begin_layout Standard
3297 \begin_inset Flex Color Box
3300 \begin_layout Plain Layout
3301 \begin_inset Argument 1
3304 \begin_layout Plain Layout
3305 sidebyside, sidebyside gap=2cm
3310 Upper content divided by 2
3311 \begin_inset space \thinspace{}
3317 \begin_layout Color Box Separator
3321 \begin_layout Plain Layout
3330 \begin_layout Standard
3339 set the absolute width of the left and right part, respectively:
3342 \begin_layout Standard
3343 \begin_inset Flex Color Box
3346 \begin_layout Plain Layout
3347 \begin_inset Argument 1
3350 \begin_layout Plain Layout
3351 sidebyside, lefthand width=3cm
3356 Upper content with a width of 3
3357 \begin_inset space \thinspace{}
3363 \begin_layout Color Box Separator
3367 \begin_layout Plain Layout
3376 \begin_layout Standard
3385 set the relative width of the left and right part, respectively:
3388 \begin_layout Standard
3389 \begin_inset Flex Color Box
3392 \begin_layout Plain Layout
3393 \begin_inset Argument 1
3396 \begin_layout Plain Layout
3397 sidebyside, lefthand ratio=0.3
3402 Upper content with a width of 30
3403 \begin_inset space \thinspace{}
3409 \begin_layout Color Box Separator
3413 \begin_layout Plain Layout
3422 \begin_layout Subsubsection
3424 \begin_inset CommandInset label
3426 name "subsec:Height"
3433 \begin_layout Subsubsection*
3437 \begin_layout Standard
3438 The height of the box is changed with the option
3447 The default height is the height consumed by the box content.
3450 \begin_layout Standard
3451 \begin_inset Flex Color Box
3454 \begin_layout Plain Layout
3455 \begin_inset Argument 1
3458 \begin_layout Plain Layout
3465 \begin_inset space \thinspace{}
3476 \begin_layout Standard
3477 If the specified height is smaller than the one consumed by the content,
3478 the content will be placed below the box:
3481 \begin_layout Standard
3482 \begin_inset Flex Color Box
3485 \begin_layout Plain Layout
3486 \begin_inset Argument 1
3489 \begin_layout Plain Layout
3496 \begin_inset space \thinspace{}
3507 \begin_layout Standard
3508 \begin_inset VSpace bigskip
3515 the height will automatically be set to the same value than the box width.
3518 \begin_layout Standard
3519 \begin_inset Flex Color Box
3522 \begin_layout Plain Layout
3523 \begin_inset Argument 1
3526 \begin_layout Plain Layout
3540 \begin_layout Standard
3541 \begin_inset VSpace bigskip
3544 To extend the height of the box in case the content might consume more height
3545 than expected one must use the
3549 option and can then uses the option
3554 An application would be to set a maximal possible height in case you write
3555 a book where the spacing is defined and should not be overwritten by any
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=2cm, height plus=2cm
3574 \begin_inset space \thinspace{}
3577 cm high box with additional height of 2
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=2cm, height plus=2cm
3604 \begin_inset space \thinspace{}
3607 cm high box with additional height of 2
3608 \begin_inset space \thinspace{}
3612 Its content consumes 3
3613 \begin_inset space \thinspace{}
3616 cm therefore the box height will also be 3
3617 \begin_inset space \thinspace{}
3622 \begin_inset space \thinspace{}
3625 cm high box with additional height of 2
3626 \begin_inset space \thinspace{}
3630 Its content consumes 3
3631 \begin_inset space \thinspace{}
3634 cm therefore the box height will also be 3
3635 \begin_inset space \thinspace{}
3640 \begin_inset space \thinspace{}
3643 cm high box with additional height of 2
3644 \begin_inset space \thinspace{}
3648 Its content consumes 3
3649 \begin_inset space \thinspace{}
3652 cm therefore the box height will also be 3
3653 \begin_inset space \thinspace{}
3664 \begin_layout Standard
3665 \begin_inset VSpace bigskip
3668 In some cases it might be useful to specify an allowed range for the height
3671 height from=min to max
3682 The height will then be at least the given minimal value or the height
3683 consumed by the content.
3684 It does not exceed the maximum, independent of the content:
3687 \begin_layout Standard
3688 \begin_inset Flex Color Box
3691 \begin_layout Plain Layout
3692 \begin_inset Argument 1
3695 \begin_layout Plain Layout
3696 height from=1cm to 3cm
3701 A box with minimal height of 1
3702 \begin_inset space \thinspace{}
3705 cm and maximal height of 3
3706 \begin_inset space \thinspace{}
3717 \begin_layout Standard
3718 \begin_inset Flex Color Box
3721 \begin_layout Plain Layout
3722 \begin_inset Argument 1
3725 \begin_layout Plain Layout
3726 height from=1cm to 3cm
3731 A box with minimal height of 1
3732 \begin_inset space \thinspace{}
3735 cm and maximal height of 3
3736 \begin_inset space \thinspace{}
3740 The content consumes more space than 3
3741 \begin_inset space \thinspace{}
3745 A box with minimal height of 1
3746 \begin_inset space \thinspace{}
3749 cm and maximal height of 3
3750 \begin_inset space \thinspace{}
3754 The content consumes more space than 3
3755 \begin_inset space \thinspace{}
3759 A box with minimal height of 1
3760 \begin_inset space \thinspace{}
3763 cm and maximal height of 3
3764 \begin_inset space \thinspace{}
3768 The content consumes more space than 3
3769 \begin_inset space \thinspace{}
3773 A box with minimal height of 1
3774 \begin_inset space \thinspace{}
3777 cm and maximal height of 3
3778 \begin_inset space \thinspace{}
3782 The content consumes more space than 3
3783 \begin_inset space \thinspace{}
3794 \begin_layout Standard
3795 \begin_inset VSpace bigskip
3800 add to height=length
3802 one can add defined height to the box.
3807 option must be added
3814 \begin_layout Standard
3815 \begin_inset Flex Color Box
3818 \begin_layout Plain Layout
3819 \begin_inset Argument 1
3822 \begin_layout Plain Layout
3823 height=1cm, add to height=1cm
3829 \begin_inset space \thinspace{}
3833 \begin_inset space \thinspace{}
3836 cm additional height.
3844 \begin_layout Standard
3845 \begin_inset VSpace bigskip
3852 one can force the box to consume the rest of the available height of the
3853 document parts where it is in.
3867 The latter works like
3871 but compresses the content of the page before the box as much as possible
3872 to maximize the box.
3873 \begin_inset Newline newline
3876 In this example the box is in the main text and therefore consumes the rest
3877 of the current page:
3880 \begin_layout Standard
3881 \begin_inset Flex Color Box
3884 \begin_layout Plain Layout
3885 \begin_inset Argument 1
3888 \begin_layout Plain Layout
3894 A box that fills the remaining height of the current page.
3902 \begin_layout Subsubsection*
3906 \begin_layout Standard
3907 One can set a height only for the text of the box with the option
3908 \begin_inset Newline newline
3918 \begin_layout Standard
3919 \begin_inset Flex Color Box
3922 \begin_layout Plain Layout
3923 \begin_inset Argument 1
3926 \begin_layout Plain Layout
3933 \begin_inset space \thinspace{}
3937 Due to the frame separation and the frame width the box height is larger
3939 \begin_inset space \thinspace{}
3950 \begin_layout Standard
3959 ; only the last given width option is taken into account.
3962 \begin_layout Standard
3963 \begin_inset VSpace bigskip
3986 one can specify how the height should be divided between the upper and
3996 is the fraction of the additional height (the specified height minus the
3997 height consumed by the content).
3998 \begin_inset Newline newline
4006 \begin_inset space \thinspace{}
4009 % of the additional space to the upper part:
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, space=0.75
4027 \begin_inset space \thinspace{}
4030 cm high box where 75 % of the additional height is set to the upper content.
4033 \begin_layout Color Box Separator
4037 \begin_layout Plain Layout
4046 \begin_layout Standard
4074 \begin_layout Standard
4075 \begin_inset Flex Color Box
4078 \begin_layout Plain Layout
4079 \begin_inset Argument 1
4082 \begin_layout Plain Layout
4083 height=3cm, space to upper
4089 \begin_inset space \thinspace{}
4092 cm high box where all additional height is set to the upper content.
4095 \begin_layout Color Box Separator
4099 \begin_layout Plain Layout
4108 \begin_layout Standard
4117 is the fraction of the complete height (not the additional height).
4118 Therefore one must be careful if e.
4119 \begin_inset space \thinspace{}
4123 \begin_inset space \space{}
4126 the upper part consumes more height than one set via
4133 \begin_layout Standard
4134 \begin_inset Flex Color Box
4137 \begin_layout Plain Layout
4138 \begin_inset Argument 1
4141 \begin_layout Plain Layout
4142 height=3cm, split=0.1
4148 \begin_inset space \thinspace{}
4151 cm high box where the height is split by 10
4152 \begin_inset space \thinspace{}
4157 \begin_inset space \thinspace{}
4160 cm high box where the height is split by 10
4161 \begin_inset space \thinspace{}
4167 \begin_layout Color Box Separator
4171 \begin_layout Plain Layout
4180 \begin_layout Standard
4181 \begin_inset VSpace bigskip
4186 equal height group=id
4188 it is possible to set the same height for all boxes in a group.
4193 is a name to reference the group.
4194 This is for example useful if one has 3
4195 \begin_inset space ~
4198 boxes side by side inside a box:
4201 \begin_layout Standard
4202 \begin_inset Flex Color Box
4205 \begin_layout Plain Layout
4206 \begin_inset Flex Color Box
4209 \begin_layout Plain Layout
4210 \begin_inset Argument 1
4213 \begin_layout Plain Layout
4214 adjusted title=ace, width=0.3
4216 columnwidth, nobeforeafter, equal height group=A
4227 \begin_inset space \hfill{}
4231 \begin_inset Flex Color Box
4234 \begin_layout Plain Layout
4235 \begin_inset Argument 1
4238 \begin_layout Plain Layout
4239 adjusted title=Grapefruit, width=0.3
4241 columnwidth, space to upper, nobeforeafter, equal height group=A
4249 \begin_layout Color Box Separator
4253 \begin_layout Plain Layout
4260 \begin_inset space \hfill{}
4264 \begin_inset Flex Color Box
4267 \begin_layout Plain Layout
4268 \begin_inset Argument 1
4271 \begin_layout Plain Layout
4272 adjusted title=, width=0.3
4274 columnwidth, nobeforeafter, equal height group=A
4279 A box with longer text.
4280 A box with longer text.
4281 A box with longer text.
4282 A box with longer text.
4283 A box with longer text.
4296 \begin_layout Standard
4297 The above example was typeset by adding the option
4299 equal height group=A
4302 \begin_inset space ~
4310 is hereby the name of the group.
4313 \begin_layout Standard
4314 If you have a title that needs only a single line, it is recommended to
4323 for all boxes to assure that the title height will be the same for all
4325 Otherwise the height would be different in the above example because
4326 \begin_inset Quotes eld
4330 \begin_inset Quotes erd
4333 needs more height than
4334 \begin_inset Quotes eld
4338 \begin_inset Quotes erd
4344 \begin_layout Subsubsection
4348 \begin_layout Standard
4349 The width of the box frame can be changed with the options
4370 Each option changes the corresponding part of the frame.
4380 The allowed units for the values are listed in Appendix
4381 \begin_inset space ~
4387 \begin_inset space ~
4393 The default length for all parts is 0.5
4394 \begin_inset space \thinspace{}
4398 To set all frame parts to the same value use the option
4405 \begin_layout Standard
4406 \begin_inset Flex Color Box
4409 \begin_layout Plain Layout
4410 \begin_inset Argument 1
4413 \begin_layout Plain Layout
4414 leftrule=3mm, rightrule=4mm, toprule=2mm, bottomrule=1mm
4420 \begin_inset space \thinspace{}
4423 mm wide left rule, 4
4424 \begin_inset space \thinspace{}
4427 mm wide right rule, 2
4428 \begin_inset space \thinspace{}
4432 \begin_inset space \thinspace{}
4443 \begin_layout Standard
4444 \begin_inset Flex Color Box
4447 \begin_layout Plain Layout
4448 \begin_inset Argument 1
4451 \begin_layout Plain Layout
4458 \begin_inset space \thinspace{}
4469 \begin_layout Standard
4470 The title rule is the separation between the title and the box content.
4473 \begin_layout Standard
4474 \begin_inset Flex Color Box
4477 \begin_layout Plain Layout
4478 \begin_inset Argument 1
4481 \begin_layout Plain Layout
4482 title=A title, titlerule=8mm, colbacktitle=blue
4488 \begin_inset space \thinspace{}
4499 \begin_layout Subsubsection
4503 \begin_layout Standard
4504 By default boxes are rectangular with rounded edges.
4505 The radius of the edges can be changed with the option
4514 The allowed units for the values are listed in Appendix
4515 \begin_inset space ~
4521 \begin_inset space ~
4534 \begin_layout Standard
4535 \begin_inset Flex Color Box
4538 \begin_layout Plain Layout
4539 \begin_inset Argument 1
4542 \begin_layout Plain Layout
4551 \begin_inset space \thinspace{}
4564 \begin_layout Standard
4569 one can set the outer radius independently:
4572 \begin_layout Standard
4573 \begin_inset Flex Color Box
4576 \begin_layout Plain Layout
4577 \begin_inset Argument 1
4580 \begin_layout Plain Layout
4581 arc=5mm, outer arc=0mm
4589 \begin_inset space \thinspace{}
4597 \begin_inset space \thinspace{}
4610 \begin_layout Standard
4611 \begin_inset Flex Color Box
4614 \begin_layout Plain Layout
4615 \begin_inset Argument 1
4618 \begin_layout Plain Layout
4619 arc=0mm, outer arc=0mm
4624 A really rectangular box (
4635 \begin_inset space \thinspace{}
4641 The same can alternatively be achieved with the option
4653 \begin_layout Standard
4654 \begin_inset VSpace bigskip
4657 The general shape can be changed with the options
4672 \begin_layout Standard
4677 sets the edge radius to half of the box width.
4678 It is therefore required to specify at least the width.
4681 \begin_layout Standard
4682 \begin_inset Flex Color Box
4685 \begin_layout Plain Layout
4686 \begin_inset Argument 1
4689 \begin_layout Plain Layout
4690 width=3.5cm, circular arc
4696 \begin_inset space \thinspace{}
4699 cm wide circular arc box.
4707 \begin_layout Standard
4708 As you can see circular arc box looks ugly when the box is wider than high.
4709 It is therefore recommended to add the option
4714 \begin_inset CommandInset ref
4716 reference "subsec:Height"
4720 , to get the same width and height.
4721 The result is a perfect circle.
4722 To center the text in the box use the text alignment options described
4724 \begin_inset CommandInset ref
4726 reference "subsec:Alignment"
4733 \begin_layout Standard
4734 \begin_inset Flex Color Box
4737 \begin_layout Plain Layout
4738 \begin_inset Argument 1
4741 \begin_layout Plain Layout
4742 width=4cm, square, valign=center, circular arc
4748 \begin_inset space \thinspace{}
4751 cm wide circular arc box.
4759 \begin_layout Standard
4764 sets the edge radius to half of the minimum of the box width and height.
4765 The result is a semicircle.
4770 requires the options
4785 \begin_layout Standard
4786 \begin_inset Flex Color Box
4789 \begin_layout Plain Layout
4790 \begin_inset Argument 1
4793 \begin_layout Plain Layout
4794 width=3.5cm, height=5cm, bean arc, nobeforeafter, valign=center
4800 \begin_inset space \thinspace{}
4804 \begin_inset space \thinspace{}
4817 \begin_inset Flex Color Box
4820 \begin_layout Plain Layout
4821 \begin_inset Argument 1
4824 \begin_layout Plain Layout
4825 width=5cm, height=3.5cm, bean arc, nobeforeafter, valign=center
4831 \begin_inset space \thinspace{}
4835 \begin_inset space \thinspace{}
4850 \begin_layout Standard
4851 Using bean arc for a square box leads to the same result as
4858 \begin_layout Standard
4859 \begin_inset Flex Color Box
4862 \begin_layout Plain Layout
4863 \begin_inset Argument 1
4866 \begin_layout Plain Layout
4867 width=4cm, square, bean arc, valign=center
4873 \begin_inset space \thinspace{}
4876 cm wide, square box as bean arc.
4884 \begin_layout Standard
4889 is useful to get an octagon.
4890 For an octagon one needs a square box and the option
4897 \begin_layout Standard
4898 \begin_inset Flex Color Box
4901 \begin_layout Plain Layout
4902 \begin_inset Argument 1
4905 \begin_layout Plain Layout
4906 width=4cm, square, octogon arc, valign=center, arc is angular
4912 \begin_inset space \thinspace{}
4915 cm wide, square box with
4927 \begin_layout Standard
4928 \begin_inset Note Greyedout
4931 \begin_layout Plain Layout
4940 is experimental and might cause problems on some \SpecialChar LaTeX
4949 \begin_layout Standard
4950 \begin_inset VSpace bigskip
4953 It is also possible to change only some of the box edges.
4954 To make an edge a corner there is the option
4956 sharp corners=position
4962 is the position of the edge.
4979 change only the corresponding edge.
4982 \begin_layout Standard
4983 \begin_inset Flex Color Box
4986 \begin_layout Plain Layout
4987 \begin_inset Argument 1
4990 \begin_layout Plain Layout
4991 sharp corners=northeast
4996 A box with a corner at the upper right (
5008 \begin_layout Standard
5034 \begin_inset space ~
5040 \begin_layout Standard
5041 \begin_inset Flex Color Box
5044 \begin_layout Plain Layout
5045 \begin_inset Argument 1
5048 \begin_layout Plain Layout
5051 columnwidth,sharp corners=east, nobeforeafter
5057 \begin_inset space ~
5060 corners at the right (
5070 \begin_inset space \hfill{}
5074 \begin_inset Flex Color Box
5077 \begin_layout Plain Layout
5078 \begin_inset Argument 1
5081 \begin_layout Plain Layout
5084 columnwidth,sharp corners=uphill, nobeforeafter
5090 \begin_inset space ~
5093 corners, one at the lower left, one at the upper right (
5105 \begin_layout Standard
5113 \begin_layout Subsection
5115 \begin_inset CommandInset label
5117 name "subsec:Alignment"
5124 \begin_layout Subsubsection
5128 \begin_layout Standard
5133 sets the alignment for the whole box content if there are not box parts,
5134 otherwise the options
5147 is one of the following:
5150 \begin_layout Description
5151 right the content is right-aligned
5152 \begin_inset Flex Color Box
5155 \begin_layout Plain Layout
5156 \begin_inset Argument 1
5159 \begin_layout Plain Layout
5165 A right-aligned box.
5173 \begin_layout Description
5174 left the content is left-aligned
5175 \begin_inset Flex Color Box
5178 \begin_layout Plain Layout
5179 \begin_inset Argument 1
5182 \begin_layout Plain Layout
5196 \begin_layout Description
5197 center the content is centered
5198 \begin_inset Flex Color Box
5201 \begin_layout Plain Layout
5202 \begin_inset Argument 1
5205 \begin_layout Plain Layout
5211 A horizontally centered box.
5219 \begin_layout Description
5220 justify the content is justified (is the default value)
5221 \begin_inset Flex Color Box
5224 \begin_layout Plain Layout
5225 \begin_inset Argument 1
5228 \begin_layout Plain Layout
5242 \begin_layout Standard
5243 An example with box parts:
5244 \begin_inset Flex Color Box
5247 \begin_layout Plain Layout
5248 \begin_inset Argument 1
5251 \begin_layout Plain Layout
5252 halign upper=left, halign lower=center
5257 Upper content left-aligned
5260 \begin_layout Color Box Separator
5264 \begin_layout Plain Layout
5265 Lower content centered
5273 \begin_layout Standard
5274 The title alignment can be changed with the option
5281 \begin_layout Standard
5282 \begin_inset Flex Color Box
5285 \begin_layout Plain Layout
5286 \begin_inset Argument 1
5289 \begin_layout Plain Layout
5290 title=A right-aligned title, halign title=right, halign upper=left, halign
5296 Upper content left-aligned
5299 \begin_layout Color Box Separator
5303 \begin_layout Plain Layout
5304 Lower content centered
5312 \begin_layout Subsubsection
5316 \begin_layout Standard
5317 The vertical alignment can only be changed if the box height is explicitly
5318 set larger than the height consumed by the box content.
5320 \begin_inset CommandInset ref
5322 reference "subsec:Height"
5329 \begin_layout Standard
5334 sets the alignment for the whole box content if there are no box parts,
5335 otherwise the options
5348 is one of the following:
5351 \begin_layout Description
5352 top the content is top-aligned
5353 \begin_inset Flex Color Box
5356 \begin_layout Plain Layout
5357 \begin_inset Argument 1
5360 \begin_layout Plain Layout
5361 height=2cm, valign=top
5374 \begin_layout Description
5375 bottom the content is bottom-aligned
5376 \begin_inset Flex Color Box
5379 \begin_layout Plain Layout
5380 \begin_inset Argument 1
5383 \begin_layout Plain Layout
5384 height=2cm, valign=bottom
5389 A bottom-aligned box.
5397 \begin_layout Description
5398 center the content is vertically centered
5399 \begin_inset Flex Color Box
5402 \begin_layout Plain Layout
5403 \begin_inset Argument 1
5406 \begin_layout Plain Layout
5407 height=2cm, valign=center
5412 A vertically centered box.
5420 \begin_layout Description
5421 scale the content is vertically scaled to fit the height
5422 \begin_inset Flex Color Box
5425 \begin_layout Plain Layout
5426 \begin_inset Argument 1
5429 \begin_layout Plain Layout
5430 height=2cm, valign=scale
5435 A box with scaled content.
5443 \begin_layout Standard
5444 An example with box parts:
5447 \begin_layout Standard
5448 \begin_inset Flex Color Box
5451 \begin_layout Plain Layout
5452 \begin_inset Argument 1
5455 \begin_layout Plain Layout
5456 height=4cm, space=0.5, valign upper=bottom, valign lower=center
5461 Upper content bottom-aligned
5464 \begin_layout Color Box Separator
5468 \begin_layout Plain Layout
5469 Lower content centered
5477 \begin_layout Subsection
5481 \begin_layout Standard
5482 The font changing options have the syntax
5490 are \SpecialChar LaTeX
5491 's font changing commands.
5492 For example the code
5493 \begin_inset Newline newline
5507 \begin_inset Newline newline
5510 makes the font sans-serif, bold and increases the font size to the level
5520 \begin_layout Subsubsection
5524 \begin_layout Standard
5525 The title font can be changed with the option
5532 \begin_layout Standard
5533 \begin_inset Flex Color Box
5536 \begin_layout Plain Layout
5537 \begin_inset Argument 1
5540 \begin_layout Plain Layout
5541 title=A title, fonttitle=
5560 \begin_layout Subsubsection
5564 \begin_layout Standard
5565 The font for the upper and lower part text can be changed with the options
5577 \begin_layout Standard
5578 \begin_inset Flex Color Box
5581 \begin_layout Plain Layout
5582 \begin_inset Argument 1
5585 \begin_layout Plain Layout
5586 title=A title, fontupper=
5588 ttfamily, fontlower=
5595 Changed upper text font
5598 \begin_layout Color Box Separator
5602 \begin_layout Plain Layout
5603 Changed lower text font
5611 \begin_layout Subsection
5613 \begin_inset CommandInset label
5622 \begin_layout Standard
5623 The color is specified in one of these schemes:
5626 \begin_layout Enumerate
5632 \begin_inset VSpace 3mm
5636 \begin_inset Newline newline
5644 \begin_inset Newline newline
5648 \begin_inset space \thinspace{}
5652 \begin_inset Newline newline
5656 \begin_inset Flex Color Box
5659 \begin_layout Plain Layout
5660 \begin_inset Argument 1
5663 \begin_layout Plain Layout
5675 \begin_inset VSpace defskip
5681 \begin_layout Enumerate
5687 \begin_inset VSpace 3mm
5691 \begin_inset Newline newline
5699 \begin_inset Newline newline
5703 \begin_inset space \thinspace{}
5707 \begin_inset Newline newline
5711 \begin_inset space \thinspace{}
5715 \begin_inset Quotes eld
5719 \begin_inset Quotes erd
5723 \begin_inset Newline newline
5727 \begin_inset Flex Color Box
5730 \begin_layout Plain Layout
5731 \begin_inset Argument 1
5734 \begin_layout Plain Layout
5746 \begin_inset VSpace defskip
5752 \begin_layout Enumerate
5755 Name1!PercentOfName1!Name2
5758 \begin_inset VSpace 3mm
5762 \begin_inset Newline newline
5770 \begin_inset Newline newline
5774 \begin_inset space \thinspace{}
5778 \begin_inset Newline newline
5782 \begin_inset space \thinspace{}
5786 \begin_inset Newline newline
5790 \begin_inset Flex Color Box
5793 \begin_layout Plain Layout
5794 \begin_inset Argument 1
5797 \begin_layout Plain Layout
5809 \begin_inset VSpace defskip
5815 \begin_layout Enumerate
5818 Name1!PercentName1!Name2!PercentName3!Name3
5821 \begin_inset VSpace 3mm
5825 \begin_inset Newline newline
5830 red!71.4!green!70!blue
5833 \begin_inset Newline newline
5837 \begin_inset Formula $1-0.70=30\,$
5841 \begin_inset Newline newline
5845 \begin_inset Formula $\left(1-0.714\right)\cdot0.70=20.02\thinspace$
5849 \begin_inset Newline newline
5853 \begin_inset Formula $0.714\cdot0.70=49.98\thinspace$
5857 \begin_inset Newline newline
5861 \begin_inset Flex Color Box
5864 \begin_layout Plain Layout
5865 \begin_inset Argument 1
5868 \begin_layout Plain Layout
5869 colback=red!71.4!green!70!blue
5874 red!71.4!green!70!blue
5880 \begin_inset VSpace defskip
5886 \begin_layout Standard
5887 The possible color names are:
5890 \begin_layout Standard
5892 \begin_inset Tabular
5893 <lyxtabular version="3" rows="4" columns="5">
5894 <features tabularvalignment="middle">
5895 <column alignment="left" valignment="top" width="18col%">
5896 <column alignment="left" valignment="top" width="18col%">
5897 <column alignment="left" valignment="top" width="18col%">
5898 <column alignment="left" valignment="top" width="18col%">
5899 <column alignment="left" valignment="top" width="18col%">
5901 <cell alignment="left" valignment="top" usebox="none">
5904 \begin_layout Plain Layout
5908 \begin_layout Plain Layout
5921 \begin_layout Plain Layout
5929 \begin_inset Phantom Phantom
5932 \begin_layout Plain Layout
5942 \begin_layout Plain Layout
5954 <cell alignment="left" valignment="top" usebox="none">
5957 \begin_layout Plain Layout
5961 \begin_layout Plain Layout
5974 \begin_layout Plain Layout
5982 \begin_inset Phantom Phantom
5985 \begin_layout Plain Layout
5995 \begin_layout Plain Layout
6007 <cell alignment="left" valignment="top" usebox="none">
6010 \begin_layout Plain Layout
6014 \begin_layout Plain Layout
6027 \begin_layout Plain Layout
6035 \begin_inset Phantom Phantom
6038 \begin_layout Plain Layout
6048 \begin_layout Plain Layout
6060 <cell alignment="left" valignment="top" usebox="none">
6063 \begin_layout Plain Layout
6067 \begin_layout Plain Layout
6080 \begin_layout Plain Layout
6088 \begin_inset Phantom Phantom
6091 \begin_layout Plain Layout
6101 \begin_layout Plain Layout
6113 <cell alignment="left" valignment="top" usebox="none">
6116 \begin_layout Plain Layout
6120 \begin_layout Plain Layout
6133 \begin_layout Plain Layout
6141 \begin_inset Phantom Phantom
6144 \begin_layout Plain Layout
6154 \begin_layout Plain Layout
6168 <cell alignment="left" valignment="top" usebox="none">
6171 \begin_layout Plain Layout
6175 \begin_layout Plain Layout
6188 \begin_layout Plain Layout
6196 \begin_inset Phantom Phantom
6199 \begin_layout Plain Layout
6209 \begin_layout Plain Layout
6221 <cell alignment="left" valignment="top" usebox="none">
6224 \begin_layout Plain Layout
6228 \begin_layout Plain Layout
6241 \begin_layout Plain Layout
6249 \begin_inset Phantom Phantom
6252 \begin_layout Plain Layout
6262 \begin_layout Plain Layout
6274 <cell alignment="left" valignment="top" usebox="none">
6277 \begin_layout Plain Layout
6281 \begin_layout Plain Layout
6294 \begin_layout Plain Layout
6302 \begin_inset Phantom Phantom
6305 \begin_layout Plain Layout
6315 \begin_layout Plain Layout
6327 <cell alignment="left" valignment="top" usebox="none">
6330 \begin_layout Plain Layout
6334 \begin_layout Plain Layout
6347 \begin_layout Plain Layout
6355 \begin_inset Phantom Phantom
6358 \begin_layout Plain Layout
6368 \begin_layout Plain Layout
6380 <cell alignment="left" valignment="top" usebox="none">
6383 \begin_layout Plain Layout
6387 \begin_layout Plain Layout
6400 \begin_layout Plain Layout
6408 \begin_inset Phantom Phantom
6411 \begin_layout Plain Layout
6421 \begin_layout Plain Layout
6435 <cell alignment="left" valignment="top" usebox="none">
6438 \begin_layout Plain Layout
6442 \begin_layout Plain Layout
6455 \begin_layout Plain Layout
6463 \begin_inset Phantom Phantom
6466 \begin_layout Plain Layout
6476 \begin_layout Plain Layout
6488 <cell alignment="left" valignment="top" usebox="none">
6491 \begin_layout Plain Layout
6495 \begin_layout Plain Layout
6508 \begin_layout Plain Layout
6516 \begin_inset Phantom Phantom
6519 \begin_layout Plain Layout
6529 \begin_layout Plain Layout
6541 <cell alignment="left" valignment="top" usebox="none">
6544 \begin_layout Plain Layout
6548 \begin_layout Plain Layout
6561 \begin_layout Plain Layout
6569 \begin_inset Phantom Phantom
6572 \begin_layout Plain Layout
6582 \begin_layout Plain Layout
6594 <cell alignment="left" valignment="top" usebox="none">
6597 \begin_layout Plain Layout
6601 \begin_layout Plain Layout
6614 \begin_layout Plain Layout
6622 \begin_inset Phantom Phantom
6625 \begin_layout Plain Layout
6635 \begin_layout Plain Layout
6647 <cell alignment="left" valignment="top" usebox="none">
6650 \begin_layout Plain Layout
6654 \begin_layout Plain Layout
6667 \begin_layout Plain Layout
6675 \begin_inset Phantom Phantom
6678 \begin_layout Plain Layout
6688 \begin_layout Plain Layout
6702 <cell alignment="left" valignment="top" usebox="none">
6705 \begin_layout Plain Layout
6709 \begin_layout Plain Layout
6722 \begin_layout Plain Layout
6730 \begin_inset Phantom Phantom
6733 \begin_layout Plain Layout
6743 \begin_layout Plain Layout
6755 <cell alignment="left" valignment="top" usebox="none">
6758 \begin_layout Plain Layout
6762 \begin_layout Plain Layout
6775 \begin_layout Plain Layout
6783 \begin_inset Phantom Phantom
6786 \begin_layout Plain Layout
6796 \begin_layout Plain Layout
6808 <cell alignment="left" valignment="top" usebox="none">
6811 \begin_layout Plain Layout
6815 \begin_layout Plain Layout
6828 \begin_layout Plain Layout
6836 \begin_inset Phantom Phantom
6839 \begin_layout Plain Layout
6849 \begin_layout Plain Layout
6861 <cell alignment="left" valignment="top" usebox="none">
6864 \begin_layout Plain Layout
6868 \begin_layout Plain Layout
6881 \begin_layout Plain Layout
6889 \begin_inset Phantom Phantom
6892 \begin_layout Plain Layout
6902 \begin_layout Plain Layout
6914 <cell alignment="left" valignment="top" usebox="none">
6917 \begin_layout Plain Layout
6931 \begin_layout Standard
6932 , and the ones listed in Appendix
6933 \begin_inset space ~
6939 \begin_inset space ~
6947 \begin_layout Subsubsection
6951 \begin_layout Standard
6952 The background color is changed with the option
6959 \begin_layout Standard
6960 \begin_inset Flex Color Box
6963 \begin_layout Plain Layout
6964 \begin_inset Argument 1
6967 \begin_layout Plain Layout
6968 colback=red!66!green!70!blue
6981 \begin_layout Subsubsection
6985 \begin_layout Standard
6986 The frame color is changed with the option
6993 \begin_layout Standard
6994 \begin_inset Flex Color Box
6997 \begin_layout Plain Layout
6998 \begin_inset Argument 1
7001 \begin_layout Plain Layout
7002 colframe=red!30!blue
7015 \begin_layout Subsubsection
7019 \begin_layout Standard
7020 The title background color is changed with the option
7027 \begin_layout Standard
7028 \begin_inset Flex Color Box
7031 \begin_layout Plain Layout
7032 \begin_inset Argument 1
7035 \begin_layout Plain Layout
7036 title=A title, colbacktitle=green!30
7041 Title background color
7049 \begin_layout Subsubsection
7051 \begin_inset CommandInset label
7053 name "subsec:Title-text"
7060 \begin_layout Standard
7061 The color for the title text is changed with the option
7068 \begin_layout Standard
7069 \begin_inset Flex Color Box
7072 \begin_layout Plain Layout
7073 \begin_inset Argument 1
7076 \begin_layout Plain Layout
7077 title=A title, coltitle=orange
7085 \begin_layout Plain Layout
7086 \begin_inset Flex Subtitle
7089 \begin_layout Plain Layout
7098 \begin_layout Plain Layout
7107 \begin_layout Subsubsection
7111 \begin_layout Standard
7112 The color for the complete text is changed with the option
7119 \begin_layout Standard
7120 \begin_inset Flex Color Box
7123 \begin_layout Plain Layout
7124 \begin_inset Argument 1
7127 \begin_layout Plain Layout
7141 \begin_layout Subsubsection
7142 Upper and lower text
7145 \begin_layout Standard
7146 The color for the upper and lower part text is changed with the option
7157 \begin_layout Standard
7158 \begin_inset Flex Color Box
7161 \begin_layout Plain Layout
7162 \begin_inset Argument 1
7165 \begin_layout Plain Layout
7166 colupper=green!30!blue, collower=green!70!blue
7174 \begin_layout Color Box Separator
7178 \begin_layout Plain Layout
7187 \begin_layout Standard
7188 \begin_inset Newpage newpage
7194 \begin_layout Subsection
7196 \begin_inset CommandInset label
7198 name "subsec:Shadows"
7205 \begin_layout Standard
7206 Boxes can only be decorated with shadows if a skin is specified, see
7207 \begin_inset CommandInset ref
7209 reference "subsec:Enhanced"
7216 \begin_layout Subsubsection
7220 \begin_layout Standard
7221 A shadow is added with the box option
7229 is a color name or definition, see
7230 \begin_inset CommandInset ref
7232 reference "subsec:Color"
7237 One can omit the color, the shadow color is then black!50!white.
7242 creates a semi-transparent shadow.
7245 \begin_layout Standard
7246 \begin_inset Flex Color Box
7249 \begin_layout Plain Layout
7250 \begin_inset Argument 1
7253 \begin_layout Plain Layout
7254 enhanced, drop shadow, nobeforeafter
7267 \begin_layout Standard
7268 \begin_inset VSpace defskip
7272 \begin_inset Flex Color Box
7275 \begin_layout Plain Layout
7276 \begin_inset Argument 1
7279 \begin_layout Plain Layout
7280 enhanced, drop fuzzy shadow=purple, nobeforeafter
7285 A box with a fuzzy, purple shadow
7293 \begin_layout Standard
7294 The default shadow is placed right below the box.
7295 For other shadow placements have a look at section
7304 \begin_inset CommandInset citation
7314 \begin_layout Subsubsection
7318 \begin_layout Standard
7319 A halo is added with the box option
7321 halo=size with color
7331 is a color name or definition.
7332 One can omit the size and color, the halo is then 0.9
7333 \begin_inset space \thinspace{}
7336 mm thick and has the color yellow.
7337 Note that one cannot omit only the size or color, either both is omitted
7338 or both is specified.
7343 creates a semi-transparent halo.
7346 \begin_layout Standard
7347 \begin_inset Flex Color Box
7350 \begin_layout Plain Layout
7351 \begin_inset Argument 1
7354 \begin_layout Plain Layout
7355 enhanced, halo, nobeforeafter
7368 \begin_layout Standard
7369 \begin_inset VSpace defskip
7375 \begin_layout Standard
7376 \begin_inset Flex Color Box
7379 \begin_layout Plain Layout
7380 \begin_inset Argument 1
7383 \begin_layout Plain Layout
7384 enhanced, fuzzy halo=5mm with green, nobeforeafter
7390 \begin_inset space \thinspace{}
7393 mm thick, green fuzzy halo
7401 \begin_layout Subsubsection
7405 \begin_layout Standard
7406 Generic shadows/halos can be created with the box option
7415 For a brief description of these options consult section
7424 \begin_inset CommandInset citation
7434 \begin_layout Standard
7435 \begin_inset Flex Color Box
7438 \begin_layout Plain Layout
7439 \begin_inset Argument 1
7442 \begin_layout Plain Layout
7443 enhanced, title=Double shadow, shadow={-2.5mm}{-2.5mm}{0mm}{fill=blue, opacity=0.25
7444 }, shadow={1.5mm}{1.5mm}{0mm}{fill=red, opacity=0.25}
7450 \begin_inset space ~
7461 \begin_layout Bibliography
7462 \begin_inset CommandInset bibitem
7463 LatexCommand bibitem
7470 \begin_inset CommandInset href
7472 name "Documentation"
7473 target "https://ctan.org/tex-archive/macros/latex/contrib/tcolorbox/tcolorbox.pdf"
7478 of the \SpecialChar LaTeX