1 #LyX 2.4 created this file. For more info see https://www.lyx.org/
5 \save_transient_properties true
6 \origin /systemlyxdir/examples/Modules/
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 \setlength{\parskip}{\medskipamount}
32 \setlength{\parindent}{0pt}
34 \options BCOR8mm, most, usenames, dvipsnames
35 \use_default_options false
39 \maintain_unincluded_children no
41 \language_package default
44 \font_roman "default" "default"
45 \font_sans "default" "default"
46 \font_typewriter "default" "default"
47 \font_math "auto" "auto"
48 \font_default_family default
49 \use_non_tex_fonts false
52 \font_typewriter_osf false
54 \font_sf_scale 100 100
55 \font_tt_scale 100 100
57 \use_dash_ligatures false
59 \default_output_format default
61 \bibtex_command bibtex
62 \index_command default
66 \pdf_title "Description of the module tcolorbox"
67 \pdf_author "Uwe Stöhr"
68 \pdf_subject "fancy colored boxes"
69 \pdf_keywords "LyX, tcolorbox, colored boxes"
71 \pdf_bookmarksnumbered true
72 \pdf_bookmarksopen true
73 \pdf_bookmarksopenlevel 3
78 \pdf_pdfusetitle false
79 \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false, urlbordercolor={1 0 0}"
82 \use_package amsmath 1
83 \use_package amssymb 1
86 \use_package mathdots 1
87 \use_package mathtools 1
89 \use_package stackrel 1
90 \use_package stmaryrd 1
91 \use_package undertilde 1
93 \cite_engine_type default
97 \paperorientation portrait
102 \notefontcolor #0000ff
110 \paragraph_separation indent
111 \paragraph_indentation default
113 \math_numbering_side default
114 \quotes_style english
118 \paperpagestyle default
119 \tracking_changes false
120 \postpone_fragile_content false
121 \output_changes false
124 \html_be_strict false
130 Description of the module Fancy Colored Boxes
137 \begin_layout Standard
138 \begin_inset CommandInset toc
139 LatexCommand tableofcontents
146 \begin_layout Standard
159 you have access to a huge variety of colored boxes.
160 They are particularly useful for presentations or educational texts where
161 you might for example highlight results or equations.
162 This document describes how these boxes are used with \SpecialChar LyX
166 \begin_layout Standard
167 The fancy boxes are generated by the \SpecialChar LaTeX
173 This package has so many features that its manual exceeds 400
179 can therefore only provide access to its basic features.
180 For more advanced features and examples have a loot at the
185 \begin_inset CommandInset citation
195 \begin_layout Section
199 \begin_layout Standard
200 At first load the module
212 in the document settings of your file.
215 \begin_layout Standard
216 Add the following options to the document class options in the document
217 settings of your file:
220 \begin_layout Standard
223 most, usenames, dvipsnames
226 \begin_layout Standard
231 loads most of the libraries of the \SpecialChar LaTeX
241 load additional colors, see Appendix
256 \begin_layout Section
260 \begin_layout Subsection
264 \begin_layout Subsubsection
268 \begin_layout Standard
269 A static color box is inserted via the menu
271 Insert\SpecialChar menuseparator
272 Custom Insets\SpecialChar menuseparator
282 \begin_layout Standard
283 This is a static color box:
284 \begin_inset Flex Color Box
287 \begin_layout Plain Layout
296 \begin_layout Standard
297 It has by default a frame with round corners and consumes the full text
299 It can contain several paragraphs and math.
302 \begin_layout Standard
303 \begin_inset Note Greyedout
306 \begin_layout Plain Layout
311 The box can contain forced page breaks but they will be ignored.
312 To get breakable boxes, see
313 \begin_inset CommandInset ref
315 reference "sec:Beakable-boxes"
327 \begin_layout Subsubsection
331 \begin_layout Standard
332 A dynamic color box is inserted via inset via the menu
334 Insert\SpecialChar menuseparator
335 Custom Insets\SpecialChar menuseparator
349 \begin_layout Standard
350 This is a dynamic color box:
351 \begin_inset Flex Dynamic Color Box
354 \begin_layout Plain Layout
363 \begin_layout Standard
364 In contrary to static boxes dynamic boxes cannot have parts, see
365 \begin_inset CommandInset ref
367 reference "subsec:Box-parts"
371 , and they cannot made breakable but one can set their vertical placement,
373 \begin_inset CommandInset ref
375 reference "subsec:Vertical"
380 Their width is by default the width of the content.
383 \begin_layout Subsubsection
387 \begin_layout Standard
388 A fit color box is inserted via the menu
390 Insert\SpecialChar menuseparator
391 Custom Insets\SpecialChar menuseparator
405 \begin_layout Standard
406 Fit boxes are dynamic boxes but their content is automatically decreased
407 or increased to fit into the specified box width and height.
408 How to specify a width and height is described in
409 \begin_inset CommandInset ref
411 reference "subsec:Geometry"
416 If no width and height is specified the result is a square box consuming
417 the full available width of the page.
418 If only a width is specified, the result is a square box.
421 \begin_layout Standard
422 These are fit color boxes:
425 \begin_layout Standard
426 \begin_inset Flex Fit Color Box
429 \begin_layout Plain Layout
430 \begin_inset Argument 1
433 \begin_layout Plain Layout
440 \begin_inset space \thinspace{}
443 cm wide fit color box with some text.
445 \begin_inset space \thinspace{}
448 cm wide fit color box with some text.
450 \begin_inset space \thinspace{}
453 cm wide fit color box with some text.
461 \begin_layout Standard
462 \begin_inset Flex Fit Color Box
465 \begin_layout Plain Layout
466 \begin_inset Argument 1
469 \begin_layout Plain Layout
470 width=5cm, height=3cm
476 \begin_inset space \thinspace{}
480 \begin_inset space \thinspace{}
483 cm high fit color box.
491 \begin_layout Standard
492 The examples show that the text will be shrinked to fit into the box but
493 it will not be increased.
496 \begin_layout Subsubsection
500 \begin_layout Standard
501 A custom color box is inserted via the menu
503 Insert\SpecialChar menuseparator
504 Custom Insets\SpecialChar menuseparator
515 where # is the number.
518 \begin_layout Standard
519 How to use and customize custom color boxes, see
520 \begin_inset CommandInset ref
522 reference "subsec:General"
529 \begin_layout Subsection
533 \begin_layout Standard
534 To add a title to a box add an options inset via the menu Insert\SpecialChar menuseparator
548 followed by your title.
551 \begin_layout Standard
552 This is a titled box:
553 \begin_inset Flex Color Box
556 \begin_layout Plain Layout
557 \begin_inset Argument 1
560 \begin_layout Plain Layout
566 A basic box with a title.
574 \begin_layout Standard
575 A subtitle is added with the inset
581 Insert\SpecialChar menuseparator
587 \begin_layout Standard
588 \begin_inset Flex Color Box
591 \begin_layout Plain Layout
592 \begin_inset Argument 1
595 \begin_layout Plain Layout
601 A basic box with a subtitle.
603 \begin_inset Flex Subtitle
606 \begin_layout Plain Layout
612 The content below the subtitle.
620 \begin_layout Standard
621 The title and subtitle text is by default white.
622 How to change its color, see
623 \begin_inset CommandInset ref
625 reference "subsec:Title-text"
632 \begin_layout Subsection
634 \begin_inset CommandInset label
636 name "subsec:Box-parts"
643 \begin_layout Standard
644 The content of the box can be divided into an upper and a lower part by
645 using the environment
650 's environment selection combobox.
651 The idea behind this is that both parts can be treated and customized separatel
653 An application would be that the upper part contains a description and
654 the lower part an equation.
657 \begin_layout Standard
658 This is a box where the content is separated:
661 \begin_layout Standard
662 \begin_inset Flex Color Box
665 \begin_layout Plain Layout
669 \begin_layout Color Box Separator
673 \begin_layout Plain Layout
682 \begin_layout Standard
683 The separation line can be customized as described in
684 \begin_inset CommandInset ref
686 reference "subsec:Lines"
693 \begin_layout Standard
694 The separation can also be made side by side with the box option
701 \begin_layout Standard
702 \begin_inset Flex Color Box
705 \begin_layout Plain Layout
706 \begin_inset Argument 1
709 \begin_layout Plain Layout
715 Upper content at the left
718 \begin_layout Color Box Separator
722 \begin_layout Plain Layout
723 Lower content at the right
731 \begin_layout Standard
732 The separation can be made invisible with the box option
734 lower separated=false
739 \begin_layout Standard
740 \begin_inset Flex Color Box
743 \begin_layout Plain Layout
744 \begin_inset Argument 1
747 \begin_layout Plain Layout
748 sidebyside, lower separated=false
753 Upper content invisibly separated
756 \begin_layout Color Box Separator
760 \begin_layout Plain Layout
761 Lower content at the right
769 \begin_layout Standard
770 There are several layout skins available for colored boxes, see
771 \begin_inset CommandInset ref
773 reference "subsec:Beamer"
777 , that affects also the layout of the box parts.
778 For example with the box option
782 the box parts are separated this way:
785 \begin_layout Standard
786 \begin_inset Flex Color Box
789 \begin_layout Plain Layout
790 \begin_inset Argument 1
793 \begin_layout Plain Layout
802 \begin_layout Color Box Separator
806 \begin_layout Plain Layout
815 \begin_layout Subsection
817 \begin_inset CommandInset label
826 \begin_layout Standard
827 To draw a line in a box use the environment
832 The line is by default dashed.
833 Note that it is just a line and does not separate box parts!
836 \begin_layout Standard
837 This is a box with a line:
840 \begin_layout Standard
841 \begin_inset Flex Color Box
844 \begin_layout Plain Layout
848 \begin_layout Color Box Line
852 \begin_layout Plain Layout
861 \begin_layout Standard
862 The line style can only be changed if a skin is specified, see
863 \begin_inset CommandInset ref
865 reference "subsec:Enhanced"
870 Then one can use the box option
872 segmentation style={commands}
878 are commands to define the style.
891 manual for possible commands,
892 \begin_inset CommandInset citation
902 \begin_layout Standard
903 Here is an example in the
907 skin with a double blue line:
910 \begin_layout Standard
911 \begin_inset Flex Color Box
914 \begin_layout Plain Layout
915 \begin_inset Argument 1
918 \begin_layout Plain Layout
919 enhanced, segmentation style={double=white,draw=blue,double distance=1pt,solid}
927 \begin_layout Color Box Line
931 \begin_layout Plain Layout
940 \begin_layout Standard
941 \begin_inset Newpage newpage
947 \begin_layout Section
949 \begin_inset CommandInset label
951 name "sec:Beakable-boxes"
958 \begin_layout Standard
959 To make a box breakable the option
964 If a page break occurs within a box, the box will get broken this way:
967 \begin_layout Standard
968 \begin_inset Flex Color Box
971 \begin_layout Plain Layout
972 \begin_inset Argument 1
975 \begin_layout Plain Layout
976 title=A breakable box, breakable, title after break=continued...
981 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
982 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
984 At vero eos et accusam et justo duo dolores et ea rebum.
985 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
987 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
988 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
990 At vero eos et accusam et justo duo dolores et ea rebum.
991 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
993 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
994 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
996 At vero eos et accusam et justo duo dolores et ea rebum.
997 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
999 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1000 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1002 At vero eos et accusam et justo duo dolores et ea rebum.
1003 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1005 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1006 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1008 At vero eos et accusam et justo duo dolores et ea rebum.
1009 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1011 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1012 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1014 At vero eos et accusam et justo duo dolores et ea rebum.
1015 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1017 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1018 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1020 At vero eos et accusam et justo duo dolores et ea rebum.
1021 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1023 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1024 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1026 At vero eos et accusam et justo duo dolores et ea rebum.
1027 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1029 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1030 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1032 At vero eos et accusam et justo duo dolores et ea rebum.
1033 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1035 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1036 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1038 At vero eos et accusam et justo duo dolores et ea rebum.
1039 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1048 \begin_layout Standard
1049 In the above example the special title
1054 was added for the second page of the box with the option
1061 \begin_layout Standard
1062 If boxes are inside boxes, only the outer box can made breakable.
1065 \begin_layout Standard
1066 \begin_inset Note Greyedout
1069 \begin_layout Plain Layout
1074 Dynamic boxes and fit boxes cannot made breakable!
1082 \begin_layout Section
1086 \begin_layout Subsection
1088 \begin_inset CommandInset label
1090 name "subsec:General"
1097 \begin_layout Standard
1098 The following subsections show many possibilities to customize boxes.
1101 \begin_layout Standard
1102 To avoid to write the box commands all the time, you can use the environment
1106 \begin_inset space ~
1110 \begin_inset space ~
1116 It is inserted via \SpecialChar LyX
1117 's style selection combobox.
1118 There you can write all options that should be applied for
1122 boxes of the document
1127 For example writing there
1129 width=3cm, height=8cm
1131 forces all following boxes to have a height of 8
1132 \begin_inset space \thinspace{}
1136 \begin_inset space \thinspace{}
1140 However, this is not useful if one needs several box types since the changes
1148 \begin_layout Standard
1149 In most documents one need a few types of boxes and all boxes of a type
1150 should look identical.
1151 To achieve this the module
1154 \begin_inset space ~
1158 \begin_inset space ~
1164 \begin_inset space ~
1167 different box types which you can customize.
1168 To change their appearance use the environment
1171 \begin_inset space ~
1175 \begin_inset space ~
1179 \begin_inset space ~
1185 It is inserted via \SpecialChar LyX
1186 's style selection combobox.
1189 \begin_layout Standard
1190 If you want for example a box type that looks like the fancy colored one
1192 \begin_inset CommandInset ref
1194 reference "subsec:Enhanced"
1198 use these options in the environment:
1201 \begin_layout Standard
1204 enhanced, frame style={left color=red!75!black, right color=blue!75!black},
1205 interior style={left color=red!20!white, right color=yellow!50!white}
1208 \begin_layout Standard
1217 (cBoxA is custom box type
1218 \begin_inset space ~
1222 \begin_inset space ~
1226 Because you want to customize every box of this type (e.
1227 \begin_inset space \thinspace{}
1231 \begin_inset space \space{}
1234 every box should have its own title), you need one argument.
1239 into the Arguments inset of the environment.
1242 \begin_layout Standard
1243 \begin_inset Note Greyedout
1246 \begin_layout Plain Layout
1251 If you use an argument, the inset
1255 must also be inserted but left empty!
1263 \begin_layout New Color Box Type
1264 \begin_inset Argument 2
1267 \begin_layout Plain Layout
1275 \begin_inset Argument 3
1278 \begin_layout Plain Layout
1286 \begin_inset Argument 4
1289 \begin_layout Plain Layout
1295 enhanced, frame style={left color=red!75!black, right color=blue!75!black},
1296 interior style={left color=red!20!white, right color=yellow!50!white},
1300 \begin_layout Standard
1301 This way you defined the box type
1304 \begin_inset space ~
1308 \begin_inset space ~
1312 \begin_inset space ~
1318 Boxes of this type will look like this:
1321 \begin_layout Standard
1322 \begin_inset Flex Custom Color Box 1
1325 \begin_layout Plain Layout
1326 \begin_inset Argument 1
1329 \begin_layout Plain Layout
1343 \begin_layout Standard
1344 \begin_inset VSpace bigskip
1348 \begin_inset Newline newline
1351 Assuming you need a box type that can be numbered, you insert
1354 \begin_layout Standard
1357 auto counter, number within=section
1360 \begin_layout Standard
1372 \begin_inset space ~
1376 \begin_inset space ~
1380 \begin_inset space ~
1406 \begin_layout Standard
1409 colback=red!5!white, colframe=red!75!black, title=Example~
1414 \begin_layout Standard
1415 into the environment.
1416 This predefines a title prefix.
1423 is hereby the counter of colored boxes.
1427 \begin_inset space ~
1431 \begin_inset space ~
1435 \begin_inset space ~
1440 you specify the title via the options inset:
1443 \begin_layout New Color Box Type
1444 \begin_inset Argument 1
1447 \begin_layout Plain Layout
1449 auto counter, number within=section
1455 \begin_inset Argument 2
1458 \begin_layout Plain Layout
1466 \begin_inset Argument 3
1469 \begin_layout Plain Layout
1477 \begin_inset Argument 4
1480 \begin_layout Plain Layout
1486 colback=red!5!white, colframe=red!75!black, title=Example~
1491 \begin_layout Standard
1492 \begin_inset Flex Custom Color Box 2
1495 \begin_layout Plain Layout
1496 \begin_inset Argument 1
1499 \begin_layout Plain Layout
1500 Custom numbered title
1513 \begin_layout Standard
1514 Note that you must not write
1518 because this is already done in the definition.
1521 \begin_layout Standard
1522 You can still customize the box by adding options
1529 \begin_layout Standard
1530 \begin_inset Flex Custom Color Box 2
1533 \begin_layout Plain Layout
1534 \begin_inset Argument 1
1537 \begin_layout Plain Layout
1538 Bold numbered title, colback=lime, fonttitle=
1553 \begin_layout Standard
1554 \begin_inset VSpace bigskip
1557 At last a more advanced example:
1558 \begin_inset Newline newline
1561 Assuming you need the type we just defined as
1564 \begin_inset space ~
1568 \begin_inset space ~
1572 \begin_inset space ~
1577 but want to add more than one option.
1578 This is for example useful for options that require another option before
1579 in the options list.
1580 \begin_inset Newline newline
1586 \begin_layout Standard
1589 auto counter, number within=section
1592 \begin_layout Standard
1604 \begin_inset space ~
1608 \begin_inset space ~
1612 \begin_inset space ~
1628 \begin_inset space ~
1643 \begin_layout Standard
1646 nobeforeafter, width=#1, square, colframe=orange!50!black,
1647 \begin_inset Newline newline
1655 \begin_layout Standard
1656 into the environment.
1660 \begin_inset space ~
1664 \begin_inset space ~
1668 \begin_inset space ~
1673 you specify the width via the
1677 inset and the title (and further options if you like) via the
1679 More Color Box Options
1684 \begin_layout New Color Box Type
1685 \begin_inset Argument 1
1688 \begin_layout Plain Layout
1690 auto counter, number within=section
1696 \begin_inset Argument 2
1699 \begin_layout Plain Layout
1707 \begin_inset Argument 3
1710 \begin_layout Plain Layout
1718 \begin_inset Argument 4
1721 \begin_layout Plain Layout
1727 nobeforeafter, width=#1, square, colframe=orange!50!black, title=Example~
1732 \begin_layout Standard
1733 \begin_inset Flex Custom Color Box 3
1736 \begin_layout Plain Layout
1737 \begin_inset Argument 1
1740 \begin_layout Plain Layout
1747 \begin_inset Argument 2
1750 \begin_layout Plain Layout
1757 \begin_inset space \thinspace{}
1760 cm wide custom color box 3
1766 \begin_inset Flex Custom Color Box 3
1769 \begin_layout Plain Layout
1770 \begin_inset Argument 1
1773 \begin_layout Plain Layout
1780 \begin_inset Argument 2
1783 \begin_layout Plain Layout
1790 \begin_inset space \thinspace{}
1793 cm wide custom color box 3 with the
1805 \begin_layout Subsection
1809 \begin_layout Standard
1810 You cannot use \SpecialChar LyX
1811 's label/reference mechanisms for fancy colored boxes.
1812 Numbered boxes can be referenced by adding
1815 \begin_layout Standard
1821 \begin_layout Standard
1830 is the label name used to reference the box.
1833 \begin_layout Standard
1834 \begin_inset Flex Custom Color Box 2
1837 \begin_layout Plain Layout
1838 \begin_inset Argument 1
1841 \begin_layout Plain Layout
1842 Mass–energy equivalence, label={Einstein}
1848 \begin_inset Formula
1863 \begin_layout Standard
1864 To reference the box, insert the command
1867 \begin_layout Standard
1875 \begin_layout Standard
1877 code to the text where the reference should appear.
1880 \begin_layout Standard
1881 This is the reference to Example
1882 \begin_inset space \space{}
1889 \begin_layout Plain Layout
1901 \begin_layout Subsection
1905 \begin_layout Standard
1906 The \SpecialChar LaTeX
1911 provides different skins.
1912 For a full list, see the
1919 \begin_inset space ~
1925 \begin_inset CommandInset citation
1933 Only the most important skins are listed in the following.
1936 \begin_layout Standard
1937 \begin_inset Newpage newpage
1943 \begin_layout Subsubsection
1945 \begin_inset CommandInset label
1947 name "subsec:Enhanced"
1954 \begin_layout Standard
1955 This skin is enabled by adding the option enhanced.
1956 Without further options it looks like the standard skin.
1957 Its advantage are some extra features like the customization of lines,
1959 \begin_inset CommandInset ref
1961 reference "subsec:Lines"
1965 or the ability to have shadows, see
1966 \begin_inset CommandInset ref
1968 reference "subsec:Shadows"
1973 Another feature is a nicer style of breakable boxes:
1976 \begin_layout Standard
1977 \begin_inset Flex Color Box
1980 \begin_layout Plain Layout
1981 \begin_inset Argument 1
1984 \begin_layout Plain Layout
1989 breakable box, breakable, enhanced
1994 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1995 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1997 At vero eos et accusam et justo duo dolores et ea rebum.
1998 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
2000 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
2001 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
2003 At vero eos et accusam et justo duo dolores et ea rebum.
2004 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
2006 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
2007 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
2009 At vero eos et accusam et justo duo dolores et ea rebum.
2010 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
2012 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
2013 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
2015 At vero eos et accusam et justo duo dolores et ea rebum.
2016 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
2018 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
2019 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
2021 At vero eos et accusam et justo duo dolores et ea rebum.
2022 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
2024 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
2025 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
2027 At vero eos et accusam et justo duo dolores et ea rebum.
2028 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
2030 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
2031 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
2033 At vero eos et accusam et justo duo dolores et ea rebum.
2034 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
2036 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
2037 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
2039 At vero eos et accusam et justo duo dolores et ea rebum.
2040 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
2042 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
2043 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
2045 At vero eos et accusam et justo duo dolores et ea rebum.
2046 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
2048 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
2049 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
2051 At vero eos et accusam et justo duo dolores et ea rebum.
2052 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
2061 \begin_layout Standard
2062 Another feature you might like is to add color gradients with the options
2073 \begin_inset Newline newline
2078 frame style={left color=color, right color=color}
2079 \begin_inset Newline newline
2088 is a color name or definition, see
2089 \begin_inset CommandInset ref
2091 reference "subsec:Color"
2098 \begin_layout Standard
2099 \begin_inset Flex Color Box
2102 \begin_layout Plain Layout
2103 \begin_inset Argument 1
2106 \begin_layout Plain Layout
2111 box with a color gradient, enhanced, frame style={left color=red!75!black,
2112 right color=blue!75!black}, interior style={left color=red!20!white, right
2113 color=yellow!50!white}
2121 \begin_layout Color Box Separator
2125 \begin_layout Plain Layout
2134 \begin_layout Standard
2135 Alternatively one can use a PNG image as background for boxes with the option
2138 frame style image=file name
2143 \begin_inset space ~
2148 is the file name of the image.
2151 \begin_layout Subsubsection
2155 \begin_layout Standard
2156 With this skin the lower content gets another background color than the
2160 \begin_layout Standard
2161 \begin_inset Flex Color Box
2164 \begin_layout Plain Layout
2165 \begin_inset Argument 1
2168 \begin_layout Plain Layout
2169 title=A box with the skin
2181 \begin_layout Color Box Separator
2185 \begin_layout Plain Layout
2194 \begin_layout Standard
2195 The color of the lower part can be changed with the option
2201 \begin_inset CommandInset ref
2203 reference "subsec:Color"
2207 for color customization.
2210 \begin_layout Subsubsection
2212 \begin_inset CommandInset label
2214 name "subsec:Beamer"
2221 \begin_layout Standard
2222 This is a skin that simulates the appearance of the beamer presentation
2224 Its appearance can be changed like for the enhanced skin,
2225 \begin_inset CommandInset ref
2227 reference "subsec:Enhanced"
2234 \begin_layout Standard
2235 \begin_inset Flex Color Box
2238 \begin_layout Plain Layout
2239 \begin_inset Argument 1
2242 \begin_layout Plain Layout
2247 box with a color gradient, beamer, frame style={left color=red!75!black,
2248 right color=blue!75!black}
2256 \begin_layout Color Box Separator
2260 \begin_layout Plain Layout
2269 \begin_layout Subsubsection
2273 \begin_layout Standard
2274 This skin is like the standard skin but the background colors are automatically
2278 \begin_layout Standard
2279 \begin_inset Flex Color Box
2282 \begin_layout Plain Layout
2283 \begin_inset Argument 1
2286 \begin_layout Plain Layout
2299 \begin_layout Color Box Separator
2303 \begin_layout Plain Layout
2312 \begin_layout Subsubsection
2316 \begin_layout Standard
2317 This skin has no colors.
2318 To make the title visible (because it is by default white) you have to
2319 change its color, see
2320 \begin_inset CommandInset ref
2322 reference "subsec:Title-text"
2329 \begin_layout Standard
2330 \begin_inset Flex Color Box
2333 \begin_layout Plain Layout
2334 \begin_inset Argument 1
2337 \begin_layout Plain Layout
2338 title=A box with the
2342 skin, empty, coltitle=orange
2350 \begin_layout Color Box Separator
2354 \begin_layout Plain Layout
2363 \begin_layout Subsection
2367 \begin_layout Subsubsection
2371 \begin_layout Standard
2372 Normally the boxes are a paragraph of its own.
2373 They will therefore appear by default one upon another separated by vertical
2375 To change this behavior, to place for example boxes side by side, use the
2385 By default there is a paragraph break before and after the box.
2386 By using the options
2390 nothing will be added besides the boxes so that they can be places side
2394 \begin_layout Standard
2395 \begin_inset Flex Color Box
2398 \begin_layout Plain Layout
2399 \begin_inset Argument 1
2402 \begin_layout Plain Layout
2403 width=3cm, square, valign=center, before=, after=
2409 \begin_inset space \thinspace{}
2412 cm wide, square box.
2418 \begin_inset Flex Color Box
2421 \begin_layout Plain Layout
2422 \begin_inset Argument 1
2425 \begin_layout Plain Layout
2426 width=3cm, square, valign=center, before=, after=
2432 \begin_inset space \thinspace{}
2435 cm wide, square box.
2441 \begin_inset Flex Color Box
2444 \begin_layout Plain Layout
2445 \begin_inset Argument 1
2448 \begin_layout Plain Layout
2449 width=3cm, square, valign=center, before=, after=
2455 \begin_inset space \thinspace{}
2458 cm wide, square box.
2466 \begin_layout Standard
2471 is an alternative for
2478 \begin_layout Standard
2479 To separate the boxes one can use the normal \SpecialChar LyX
2480 spacing features like a horizontal
2484 \begin_layout Standard
2485 \begin_inset space \hfill{}
2489 \begin_inset Flex Color Box
2492 \begin_layout Plain Layout
2493 \begin_inset Argument 1
2496 \begin_layout Plain Layout
2497 width=3cm, square, valign=center, nobeforeafter
2503 \begin_inset space \thinspace{}
2506 cm wide, square box.
2512 \begin_inset space \hfill{}
2516 \begin_inset Flex Color Box
2519 \begin_layout Plain Layout
2520 \begin_inset Argument 1
2523 \begin_layout Plain Layout
2524 width=3cm, square, valign=center, nobeforeafter
2530 \begin_inset space \thinspace{}
2533 cm wide, square box.
2539 \begin_inset space \hfill{}
2543 \begin_inset Flex Color Box
2546 \begin_layout Plain Layout
2547 \begin_inset Argument 1
2550 \begin_layout Plain Layout
2551 width=3cm, square, valign=center, nobeforeafter
2557 \begin_inset space \thinspace{}
2560 cm wide, square box.
2566 \begin_inset space \hfill{}
2572 \begin_layout Standard
2573 If you prefer \SpecialChar TeX
2574 code you can alternatively use the option
2580 to add a a horizontal fill.
2583 \begin_layout Subsubsection
2587 \begin_layout Standard
2588 Like for tables and figures in a document it is very helpful if boxes could
2589 float in the text to be placed at the optimal position.
2590 This is achieved by the option
2598 are the optional \SpecialChar TeX
2599 floating placement options
2600 \begin_inset Quotes eld
2608 \begin_inset Quotes erd
2612 \begin_inset Quotes eld
2620 \begin_inset Quotes erd
2624 \begin_inset Quotes eld
2632 \begin_inset Quotes erd
2636 \begin_inset Quotes eld
2644 \begin_inset Quotes erd
2648 They correspond to the float placement options described in section
2651 \begin_inset space ~
2659 \begin_inset space ~
2665 The placement options can be mixed and are inserted without any separation,
2667 \begin_inset space \thinspace{}
2671 \begin_inset space \space{}
2675 \begin_inset Quotes eld
2683 \begin_inset Quotes erd
2689 \begin_layout Standard
2690 \begin_inset Flex Color Box
2693 \begin_layout Plain Layout
2694 \begin_inset Argument 1
2697 \begin_layout Plain Layout
2698 title=A floating box, float, width=5cm, valign=center
2704 \begin_inset space \thinspace{}
2707 cm wide floating box.
2715 \begin_layout Standard
2716 For floating boxes the options
2725 One can instead insert code with the command
2730 If the box is breakable the code is inserted before every part of the break
2732 A typical application is to center the floating box with
2739 \begin_layout Standard
2740 \begin_inset Flex Color Box
2743 \begin_layout Plain Layout
2744 \begin_inset Argument 1
2747 \begin_layout Plain Layout
2748 title=A floating box, float, width=5cm, valign=center, every float=
2756 \begin_inset space \thinspace{}
2759 cm wide floating box.
2767 \begin_layout Subsubsection
2769 \begin_inset CommandInset label
2771 name "subsec:Vertical"
2778 \begin_layout Standard
2779 The vertical placement of a box in respect to the surrounding text line
2780 can only be set for dynamic boxes.
2785 raises or lowers the box.
2791 The allowed units for values are listed in Appendix
2792 \begin_inset space ~
2798 \begin_inset space ~
2804 The default width is
2813 the box is lowered so that the base of the box content matches the base
2814 of the surrounding line.
2817 \begin_layout Standard
2821 \begin_layout Standard
2823 \begin_inset Flex Dynamic Color Box
2826 \begin_layout Plain Layout
2827 \begin_inset Argument 1
2830 \begin_layout Plain Layout
2831 tcbox raise base, nobeforeafter
2842 \begin_inset Flex Dynamic Color Box
2845 \begin_layout Plain Layout
2846 \begin_inset Argument 1
2849 \begin_layout Plain Layout
2861 \begin_inset Flex Dynamic Color Box
2864 \begin_layout Plain Layout
2865 \begin_inset Argument 1
2868 \begin_layout Plain Layout
2869 tcbox raise=1cm, nobeforeafter
2875 \begin_inset space \thinspace{}
2886 \begin_layout Subsubsection
2890 \begin_layout Standard
2891 The easiest way to place boxes in a table-like raster is to put them into
2896 \begin_inset space ~
2900 \begin_inset space ~
2905 inset is inserted via the menu
2907 Insert\SpecialChar menuseparator
2913 \begin_layout Standard
2914 The number of columns is specified with the option
2916 raster columns=number
2922 is the number of columns.
2923 All boxes inserted to the raster box will now automatically be output in
2924 a raster with 3 columns and their width is automatically adjusted.
2927 \begin_layout Standard
2928 \begin_inset Flex Raster Color Box
2931 \begin_layout Plain Layout
2932 \begin_inset Argument 1
2935 \begin_layout Plain Layout
2944 \begin_layout Plain Layout
2945 \begin_inset Flex Color Box
2948 \begin_layout Plain Layout
2949 \begin_inset Argument 1
2952 \begin_layout Plain Layout
2964 \begin_inset Flex Color Box
2967 \begin_layout Plain Layout
2968 \begin_inset Argument 1
2971 \begin_layout Plain Layout
2983 \begin_inset Flex Color Box
2986 \begin_layout Plain Layout
2987 \begin_inset Argument 1
2990 \begin_layout Plain Layout
3002 \begin_inset Flex Color Box
3005 \begin_layout Plain Layout
3006 \begin_inset Argument 1
3009 \begin_layout Plain Layout
3021 \begin_inset Flex Color Box
3024 \begin_layout Plain Layout
3025 \begin_inset Argument 1
3028 \begin_layout Plain Layout
3047 \begin_layout Standard
3048 For more info about options of the raster color box, please consult the
3056 \begin_inset space ~
3062 \begin_inset CommandInset citation
3072 \begin_layout Subsection
3074 \begin_inset CommandInset label
3076 name "subsec:Geometry"
3083 \begin_layout Subsubsection
3087 \begin_layout Subsubsection*
3091 \begin_layout Standard
3092 The width of the box is changed with the option
3101 The allowed units for values are listed in Appendix
3102 \begin_inset space ~
3108 \begin_inset space ~
3114 The default width is
3123 \begin_layout Standard
3124 \begin_inset Flex Color Box
3127 \begin_layout Plain Layout
3128 \begin_inset Argument 1
3131 \begin_layout Plain Layout
3138 \begin_inset space \thinspace{}
3149 \begin_layout Standard
3150 One can also set a width only for the text of the box with the option
3155 If the width is shorter than required for the text, new lines will be created
3159 \begin_layout Standard
3160 \begin_inset Flex Color Box
3163 \begin_layout Plain Layout
3164 \begin_inset Argument 1
3167 \begin_layout Plain Layout
3173 Some longer text to fill the box with a width of 4
3174 \begin_inset space \thinspace{}
3185 \begin_layout Standard
3194 ; only the last given width option is taken into account.
3197 \begin_layout Standard
3198 To extend the width of the box one must use the
3202 option and can then use the option
3209 \begin_layout Standard
3210 \begin_inset Flex Color Box
3213 \begin_layout Plain Layout
3214 \begin_inset Argument 1
3217 \begin_layout Plain Layout
3218 width=10cm, add to width=2cm
3224 \begin_inset space \thinspace{}
3227 cm wide box with additional width of 2
3228 \begin_inset space \thinspace{}
3239 \begin_layout Subsubsection*
3243 \begin_layout Standard
3244 For boxes with parts side by side one can control the width of the box parts
3268 sidebyside gap=length
3275 The allowed units for the values are listed in Appendix
3276 \begin_inset space ~
3282 \begin_inset space ~
3288 All options require of course the option
3295 \begin_layout Standard
3300 sets the space between the left and the right part:
3303 \begin_layout Standard
3304 \begin_inset Flex Color Box
3307 \begin_layout Plain Layout
3308 \begin_inset Argument 1
3311 \begin_layout Plain Layout
3312 sidebyside, sidebyside gap=2cm
3317 Upper content divided by 2
3318 \begin_inset space \thinspace{}
3324 \begin_layout Color Box Separator
3328 \begin_layout Plain Layout
3337 \begin_layout Standard
3346 set the absolute width of the left and right part, respectively:
3349 \begin_layout Standard
3350 \begin_inset Flex Color Box
3353 \begin_layout Plain Layout
3354 \begin_inset Argument 1
3357 \begin_layout Plain Layout
3358 sidebyside, lefthand width=3cm
3363 Upper content with a width of 3
3364 \begin_inset space \thinspace{}
3370 \begin_layout Color Box Separator
3374 \begin_layout Plain Layout
3383 \begin_layout Standard
3392 set the relative width of the left and right part, respectively:
3395 \begin_layout Standard
3396 \begin_inset Flex Color Box
3399 \begin_layout Plain Layout
3400 \begin_inset Argument 1
3403 \begin_layout Plain Layout
3404 sidebyside, lefthand ratio=0.3
3409 Upper content with a width of 30
3410 \begin_inset space \thinspace{}
3416 \begin_layout Color Box Separator
3420 \begin_layout Plain Layout
3429 \begin_layout Subsubsection
3431 \begin_inset CommandInset label
3433 name "subsec:Height"
3440 \begin_layout Subsubsection*
3444 \begin_layout Standard
3445 The height of the box is changed with the option
3454 The default height is the height consumed by the box content.
3457 \begin_layout Standard
3458 \begin_inset Flex Color Box
3461 \begin_layout Plain Layout
3462 \begin_inset Argument 1
3465 \begin_layout Plain Layout
3472 \begin_inset space \thinspace{}
3483 \begin_layout Standard
3484 If the specified height is smaller than the one consumed by the content,
3485 the content will be placed below the box:
3488 \begin_layout Standard
3489 \begin_inset Flex Color Box
3492 \begin_layout Plain Layout
3493 \begin_inset Argument 1
3496 \begin_layout Plain Layout
3503 \begin_inset space \thinspace{}
3514 \begin_layout Standard
3515 \begin_inset VSpace bigskip
3522 the height will automatically be set to the same value than the box width.
3525 \begin_layout Standard
3526 \begin_inset Flex Color Box
3529 \begin_layout Plain Layout
3530 \begin_inset Argument 1
3533 \begin_layout Plain Layout
3547 \begin_layout Standard
3548 \begin_inset VSpace bigskip
3551 To extend the height of the box in case the content might consume more height
3552 than expected one must use the
3556 option and can then uses the option
3561 An application would be to set a maximal possible height in case you write
3562 a book where the spacing is defined and should not be overwritten by any
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=2cm, height plus=2cm
3581 \begin_inset space \thinspace{}
3584 cm high box with additional height of 2
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=2cm, height plus=2cm
3611 \begin_inset space \thinspace{}
3614 cm high box with additional height of 2
3615 \begin_inset space \thinspace{}
3619 Its content consumes 3
3620 \begin_inset space \thinspace{}
3623 cm therefore the box height will also be 3
3624 \begin_inset space \thinspace{}
3629 \begin_inset space \thinspace{}
3632 cm high box with additional height of 2
3633 \begin_inset space \thinspace{}
3637 Its content consumes 3
3638 \begin_inset space \thinspace{}
3641 cm therefore the box height will also be 3
3642 \begin_inset space \thinspace{}
3647 \begin_inset space \thinspace{}
3650 cm high box with additional height of 2
3651 \begin_inset space \thinspace{}
3655 Its content consumes 3
3656 \begin_inset space \thinspace{}
3659 cm therefore the box height will also be 3
3660 \begin_inset space \thinspace{}
3671 \begin_layout Standard
3672 \begin_inset VSpace bigskip
3675 In some cases it might be useful to specify an allowed range for the height
3678 height from=min to max
3689 The height will then be at least the given minimal value or the height
3690 consumed by the content.
3691 It does not exceed the maximum, independent of the content:
3694 \begin_layout Standard
3695 \begin_inset Flex Color Box
3698 \begin_layout Plain Layout
3699 \begin_inset Argument 1
3702 \begin_layout Plain Layout
3703 height from=1cm to 3cm
3708 A box with minimal height of 1
3709 \begin_inset space \thinspace{}
3712 cm and maximal height of 3
3713 \begin_inset space \thinspace{}
3724 \begin_layout Standard
3725 \begin_inset Flex Color Box
3728 \begin_layout Plain Layout
3729 \begin_inset Argument 1
3732 \begin_layout Plain Layout
3733 height from=1cm to 3cm
3738 A box with minimal height of 1
3739 \begin_inset space \thinspace{}
3742 cm and maximal height of 3
3743 \begin_inset space \thinspace{}
3747 The content consumes more space than 3
3748 \begin_inset space \thinspace{}
3752 A box with minimal height of 1
3753 \begin_inset space \thinspace{}
3756 cm and maximal height of 3
3757 \begin_inset space \thinspace{}
3761 The content consumes more space than 3
3762 \begin_inset space \thinspace{}
3766 A box with minimal height of 1
3767 \begin_inset space \thinspace{}
3770 cm and maximal height of 3
3771 \begin_inset space \thinspace{}
3775 The content consumes more space than 3
3776 \begin_inset space \thinspace{}
3780 A box with minimal height of 1
3781 \begin_inset space \thinspace{}
3784 cm and maximal height of 3
3785 \begin_inset space \thinspace{}
3789 The content consumes more space than 3
3790 \begin_inset space \thinspace{}
3801 \begin_layout Standard
3802 \begin_inset VSpace bigskip
3807 add to height=length
3809 one can add defined height to the box.
3814 option must be added
3821 \begin_layout Standard
3822 \begin_inset Flex Color Box
3825 \begin_layout Plain Layout
3826 \begin_inset Argument 1
3829 \begin_layout Plain Layout
3830 height=1cm, add to height=1cm
3836 \begin_inset space \thinspace{}
3840 \begin_inset space \thinspace{}
3843 cm additional height.
3851 \begin_layout Standard
3852 \begin_inset VSpace bigskip
3859 one can force the box to consume the rest of the available height of the
3860 document parts where it is in.
3874 The latter works like
3878 but compresses the content of the page before the box as much as possible
3879 to maximize the box.
3880 \begin_inset Newline newline
3883 In this example the box is in the main text and therefore consumes the rest
3884 of the current page:
3887 \begin_layout Standard
3888 \begin_inset Flex Color Box
3891 \begin_layout Plain Layout
3892 \begin_inset Argument 1
3895 \begin_layout Plain Layout
3901 A box that fills the remaining height of the current page.
3909 \begin_layout Subsubsection*
3913 \begin_layout Standard
3914 One can set a height only for the text of the box with the option
3915 \begin_inset Newline newline
3925 \begin_layout Standard
3926 \begin_inset Flex Color Box
3929 \begin_layout Plain Layout
3930 \begin_inset Argument 1
3933 \begin_layout Plain Layout
3940 \begin_inset space \thinspace{}
3944 Due to the frame separation and the frame width the box height is larger
3946 \begin_inset space \thinspace{}
3957 \begin_layout Standard
3966 ; only the last given width option is taken into account.
3969 \begin_layout Standard
3970 \begin_inset VSpace bigskip
3993 one can specify how the height should be divided between the upper and
4003 is the fraction of the additional height (the specified height minus the
4004 height consumed by the content).
4005 \begin_inset Newline newline
4013 \begin_inset space \thinspace{}
4016 % of the additional space to the upper part:
4019 \begin_layout Standard
4020 \begin_inset Flex Color Box
4023 \begin_layout Plain Layout
4024 \begin_inset Argument 1
4027 \begin_layout Plain Layout
4028 height=3cm, space=0.75
4034 \begin_inset space \thinspace{}
4037 cm high box where 75 % of the additional height is set to the upper content.
4040 \begin_layout Color Box Separator
4044 \begin_layout Plain Layout
4053 \begin_layout Standard
4081 \begin_layout Standard
4082 \begin_inset Flex Color Box
4085 \begin_layout Plain Layout
4086 \begin_inset Argument 1
4089 \begin_layout Plain Layout
4090 height=3cm, space to upper
4096 \begin_inset space \thinspace{}
4099 cm high box where all additional height is set to the upper content.
4102 \begin_layout Color Box Separator
4106 \begin_layout Plain Layout
4115 \begin_layout Standard
4124 is the fraction of the complete height (not the additional height).
4125 Therefore one must be careful if e.
4126 \begin_inset space \thinspace{}
4130 \begin_inset space \space{}
4133 the upper part consumes more height than one set via
4140 \begin_layout Standard
4141 \begin_inset Flex Color Box
4144 \begin_layout Plain Layout
4145 \begin_inset Argument 1
4148 \begin_layout Plain Layout
4149 height=3cm, split=0.1
4155 \begin_inset space \thinspace{}
4158 cm high box where the height is split by 10
4159 \begin_inset space \thinspace{}
4164 \begin_inset space \thinspace{}
4167 cm high box where the height is split by 10
4168 \begin_inset space \thinspace{}
4174 \begin_layout Color Box Separator
4178 \begin_layout Plain Layout
4187 \begin_layout Standard
4188 \begin_inset VSpace bigskip
4193 equal height group=id
4195 it is possible to set the same height for all boxes in a group.
4200 is a name to reference the group.
4201 This is for example useful if one has 3
4202 \begin_inset space ~
4205 boxes side by side inside a box:
4208 \begin_layout Standard
4209 \begin_inset Flex Color Box
4212 \begin_layout Plain Layout
4213 \begin_inset Flex Color Box
4216 \begin_layout Plain Layout
4217 \begin_inset Argument 1
4220 \begin_layout Plain Layout
4221 adjusted title=ace, width=0.3
4223 columnwidth, nobeforeafter, equal height group=A
4234 \begin_inset space \hfill{}
4238 \begin_inset Flex Color Box
4241 \begin_layout Plain Layout
4242 \begin_inset Argument 1
4245 \begin_layout Plain Layout
4246 adjusted title=Grapefruit, width=0.3
4248 columnwidth, space to upper, nobeforeafter, equal height group=A
4256 \begin_layout Color Box Separator
4260 \begin_layout Plain Layout
4267 \begin_inset space \hfill{}
4271 \begin_inset Flex Color Box
4274 \begin_layout Plain Layout
4275 \begin_inset Argument 1
4278 \begin_layout Plain Layout
4279 adjusted title=, width=0.3
4281 columnwidth, nobeforeafter, equal height group=A
4286 A box with longer text.
4287 A box with longer text.
4288 A box with longer text.
4289 A box with longer text.
4290 A box with longer text.
4303 \begin_layout Standard
4304 The above example was typeset by adding the option
4306 equal height group=A
4309 \begin_inset space ~
4317 is hereby the name of the group.
4320 \begin_layout Standard
4321 If you have a title that needs only a single line, it is recommended to
4330 for all boxes to assure that the title height will be the same for all
4332 Otherwise the height would be different in the above example because
4333 \begin_inset Quotes eld
4337 \begin_inset Quotes erd
4340 needs more height than
4341 \begin_inset Quotes eld
4345 \begin_inset Quotes erd
4351 \begin_layout Subsubsection
4355 \begin_layout Standard
4356 The width of the box frame can be changed with the options
4377 Each option changes the corresponding part of the frame.
4387 The allowed units for the values are listed in Appendix
4388 \begin_inset space ~
4394 \begin_inset space ~
4400 The default length for all parts is 0.5
4401 \begin_inset space \thinspace{}
4405 To set all frame parts to the same value use the option
4412 \begin_layout Standard
4413 \begin_inset Flex Color Box
4416 \begin_layout Plain Layout
4417 \begin_inset Argument 1
4420 \begin_layout Plain Layout
4421 leftrule=3mm, rightrule=4mm, toprule=2mm, bottomrule=1mm
4427 \begin_inset space \thinspace{}
4430 mm wide left rule, 4
4431 \begin_inset space \thinspace{}
4434 mm wide right rule, 2
4435 \begin_inset space \thinspace{}
4439 \begin_inset space \thinspace{}
4450 \begin_layout Standard
4451 \begin_inset Flex Color Box
4454 \begin_layout Plain Layout
4455 \begin_inset Argument 1
4458 \begin_layout Plain Layout
4465 \begin_inset space \thinspace{}
4476 \begin_layout Standard
4477 The title rule is the separation between the title and the box content.
4480 \begin_layout Standard
4481 \begin_inset Flex Color Box
4484 \begin_layout Plain Layout
4485 \begin_inset Argument 1
4488 \begin_layout Plain Layout
4489 title=A title, titlerule=8mm, colbacktitle=blue
4495 \begin_inset space \thinspace{}
4506 \begin_layout Subsubsection
4510 \begin_layout Standard
4511 By default boxes are rectangular with rounded edges.
4512 The radius of the edges can be changed with the option
4521 The allowed units for the values are listed in Appendix
4522 \begin_inset space ~
4528 \begin_inset space ~
4541 \begin_layout Standard
4542 \begin_inset Flex Color Box
4545 \begin_layout Plain Layout
4546 \begin_inset Argument 1
4549 \begin_layout Plain Layout
4558 \begin_inset space \thinspace{}
4571 \begin_layout Standard
4576 one can set the outer radius independently:
4579 \begin_layout Standard
4580 \begin_inset Flex Color Box
4583 \begin_layout Plain Layout
4584 \begin_inset Argument 1
4587 \begin_layout Plain Layout
4588 arc=5mm, outer arc=0mm
4596 \begin_inset space \thinspace{}
4604 \begin_inset space \thinspace{}
4617 \begin_layout Standard
4618 \begin_inset Flex Color Box
4621 \begin_layout Plain Layout
4622 \begin_inset Argument 1
4625 \begin_layout Plain Layout
4626 arc=0mm, outer arc=0mm
4631 A really rectangular box (
4642 \begin_inset space \thinspace{}
4648 The same can alternatively be achieved with the option
4660 \begin_layout Standard
4661 \begin_inset VSpace bigskip
4664 The general shape can be changed with the options
4679 \begin_layout Standard
4684 sets the edge radius to half of the box width.
4685 It is therefore required to specify at least the width.
4688 \begin_layout Standard
4689 \begin_inset Flex Color Box
4692 \begin_layout Plain Layout
4693 \begin_inset Argument 1
4696 \begin_layout Plain Layout
4697 width=3.5cm, circular arc
4703 \begin_inset space \thinspace{}
4706 cm wide circular arc box.
4714 \begin_layout Standard
4715 As you can see circular arc box looks ugly when the box is wider than high.
4716 It is therefore recommended to add the option
4721 \begin_inset CommandInset ref
4723 reference "subsec:Height"
4727 , to get the same width and height.
4728 The result is a perfect circle.
4729 To center the text in the box use the text alignment options described
4731 \begin_inset CommandInset ref
4733 reference "subsec:Alignment"
4740 \begin_layout Standard
4741 \begin_inset Flex Color Box
4744 \begin_layout Plain Layout
4745 \begin_inset Argument 1
4748 \begin_layout Plain Layout
4749 width=4cm, square, valign=center, circular arc
4755 \begin_inset space \thinspace{}
4758 cm wide circular arc box.
4766 \begin_layout Standard
4771 sets the edge radius to half of the minimum of the box width and height.
4772 The result is a semicircle.
4777 requires the options
4792 \begin_layout Standard
4793 \begin_inset Flex Color Box
4796 \begin_layout Plain Layout
4797 \begin_inset Argument 1
4800 \begin_layout Plain Layout
4801 width=3.5cm, height=5cm, bean arc, nobeforeafter, valign=center
4807 \begin_inset space \thinspace{}
4811 \begin_inset space \thinspace{}
4824 \begin_inset Flex Color Box
4827 \begin_layout Plain Layout
4828 \begin_inset Argument 1
4831 \begin_layout Plain Layout
4832 width=5cm, height=3.5cm, bean arc, nobeforeafter, valign=center
4838 \begin_inset space \thinspace{}
4842 \begin_inset space \thinspace{}
4857 \begin_layout Standard
4858 Using bean arc for a square box leads to the same result as
4865 \begin_layout Standard
4866 \begin_inset Flex Color Box
4869 \begin_layout Plain Layout
4870 \begin_inset Argument 1
4873 \begin_layout Plain Layout
4874 width=4cm, square, bean arc, valign=center
4880 \begin_inset space \thinspace{}
4883 cm wide, square box as bean arc.
4891 \begin_layout Standard
4896 is useful to get an octagon.
4897 For an octagon one needs a square box and the option
4904 \begin_layout Standard
4905 \begin_inset Flex Color Box
4908 \begin_layout Plain Layout
4909 \begin_inset Argument 1
4912 \begin_layout Plain Layout
4913 width=4cm, square, octogon arc, valign=center, arc is angular
4919 \begin_inset space \thinspace{}
4922 cm wide, square box with
4934 \begin_layout Standard
4935 \begin_inset Note Greyedout
4938 \begin_layout Plain Layout
4947 is experimental and might cause problems on some \SpecialChar LaTeX
4956 \begin_layout Standard
4957 \begin_inset VSpace bigskip
4960 It is also possible to change only some of the box edges.
4961 To make an edge a corner there is the option
4963 sharp corners=position
4969 is the position of the edge.
4986 change only the corresponding edge.
4989 \begin_layout Standard
4990 \begin_inset Flex Color Box
4993 \begin_layout Plain Layout
4994 \begin_inset Argument 1
4997 \begin_layout Plain Layout
4998 sharp corners=northeast
5003 A box with a corner at the upper right (
5015 \begin_layout Standard
5041 \begin_inset space ~
5047 \begin_layout Standard
5048 \begin_inset Flex Color Box
5051 \begin_layout Plain Layout
5052 \begin_inset Argument 1
5055 \begin_layout Plain Layout
5058 columnwidth,sharp corners=east, nobeforeafter
5064 \begin_inset space ~
5067 corners at the right (
5077 \begin_inset space \hfill{}
5081 \begin_inset Flex Color Box
5084 \begin_layout Plain Layout
5085 \begin_inset Argument 1
5088 \begin_layout Plain Layout
5091 columnwidth,sharp corners=uphill, nobeforeafter
5097 \begin_inset space ~
5100 corners, one at the lower left, one at the upper right (
5112 \begin_layout Standard
5120 \begin_layout Subsection
5122 \begin_inset CommandInset label
5124 name "subsec:Alignment"
5131 \begin_layout Subsubsection
5135 \begin_layout Standard
5140 sets the alignment for the whole box content if there are not box parts,
5141 otherwise the options
5154 is one of the following:
5157 \begin_layout Description
5158 right the content is right-aligned
5159 \begin_inset Flex Color Box
5162 \begin_layout Plain Layout
5163 \begin_inset Argument 1
5166 \begin_layout Plain Layout
5172 A right-aligned box.
5180 \begin_layout Description
5181 left the content is left-aligned
5182 \begin_inset Flex Color Box
5185 \begin_layout Plain Layout
5186 \begin_inset Argument 1
5189 \begin_layout Plain Layout
5203 \begin_layout Description
5204 center the content is centered
5205 \begin_inset Flex Color Box
5208 \begin_layout Plain Layout
5209 \begin_inset Argument 1
5212 \begin_layout Plain Layout
5218 A horizontally centered box.
5226 \begin_layout Description
5227 justify the content is justified (is the default value)
5228 \begin_inset Flex Color Box
5231 \begin_layout Plain Layout
5232 \begin_inset Argument 1
5235 \begin_layout Plain Layout
5249 \begin_layout Standard
5250 An example with box parts:
5251 \begin_inset Flex Color Box
5254 \begin_layout Plain Layout
5255 \begin_inset Argument 1
5258 \begin_layout Plain Layout
5259 halign upper=left, halign lower=center
5264 Upper content left-aligned
5267 \begin_layout Color Box Separator
5271 \begin_layout Plain Layout
5272 Lower content centered
5280 \begin_layout Standard
5281 The title alignment can be changed with the option
5288 \begin_layout Standard
5289 \begin_inset Flex Color Box
5292 \begin_layout Plain Layout
5293 \begin_inset Argument 1
5296 \begin_layout Plain Layout
5297 title=A right-aligned title, halign title=right, halign upper=left, halign
5303 Upper content left-aligned
5306 \begin_layout Color Box Separator
5310 \begin_layout Plain Layout
5311 Lower content centered
5319 \begin_layout Subsubsection
5323 \begin_layout Standard
5324 The vertical alignment can only be changed if the box height is explicitly
5325 set larger than the height consumed by the box content.
5327 \begin_inset CommandInset ref
5329 reference "subsec:Height"
5336 \begin_layout Standard
5341 sets the alignment for the whole box content if there are no box parts,
5342 otherwise the options
5355 is one of the following:
5358 \begin_layout Description
5359 top the content is top-aligned
5360 \begin_inset Flex Color Box
5363 \begin_layout Plain Layout
5364 \begin_inset Argument 1
5367 \begin_layout Plain Layout
5368 height=2cm, valign=top
5381 \begin_layout Description
5382 bottom the content is bottom-aligned
5383 \begin_inset Flex Color Box
5386 \begin_layout Plain Layout
5387 \begin_inset Argument 1
5390 \begin_layout Plain Layout
5391 height=2cm, valign=bottom
5396 A bottom-aligned box.
5404 \begin_layout Description
5405 center the content is vertically centered
5406 \begin_inset Flex Color Box
5409 \begin_layout Plain Layout
5410 \begin_inset Argument 1
5413 \begin_layout Plain Layout
5414 height=2cm, valign=center
5419 A vertically centered box.
5427 \begin_layout Description
5428 scale the content is vertically scaled to fit the height
5429 \begin_inset Flex Color Box
5432 \begin_layout Plain Layout
5433 \begin_inset Argument 1
5436 \begin_layout Plain Layout
5437 height=2cm, valign=scale
5442 A box with scaled content.
5450 \begin_layout Standard
5451 An example with box parts:
5454 \begin_layout Standard
5455 \begin_inset Flex Color Box
5458 \begin_layout Plain Layout
5459 \begin_inset Argument 1
5462 \begin_layout Plain Layout
5463 height=4cm, space=0.5, valign upper=bottom, valign lower=center
5468 Upper content bottom-aligned
5471 \begin_layout Color Box Separator
5475 \begin_layout Plain Layout
5476 Lower content centered
5484 \begin_layout Subsection
5488 \begin_layout Standard
5489 The font changing options have the syntax
5497 are \SpecialChar LaTeX
5498 's font changing commands.
5499 For example the code
5500 \begin_inset Newline newline
5514 \begin_inset Newline newline
5517 makes the font sans-serif, bold and increases the font size to the level
5527 \begin_layout Subsubsection
5531 \begin_layout Standard
5532 The title font can be changed with the option
5539 \begin_layout Standard
5540 \begin_inset Flex Color Box
5543 \begin_layout Plain Layout
5544 \begin_inset Argument 1
5547 \begin_layout Plain Layout
5548 title=A title, fonttitle=
5567 \begin_layout Subsubsection
5571 \begin_layout Standard
5572 The font for the upper and lower part text can be changed with the options
5584 \begin_layout Standard
5585 \begin_inset Flex Color Box
5588 \begin_layout Plain Layout
5589 \begin_inset Argument 1
5592 \begin_layout Plain Layout
5593 title=A title, fontupper=
5595 ttfamily, fontlower=
5602 Changed upper text font
5605 \begin_layout Color Box Separator
5609 \begin_layout Plain Layout
5610 Changed lower text font
5618 \begin_layout Subsection
5620 \begin_inset CommandInset label
5629 \begin_layout Standard
5630 The color is specified in one of these schemes:
5633 \begin_layout Enumerate
5639 \begin_inset VSpace 3mm
5643 \begin_inset Newline newline
5651 \begin_inset Newline newline
5655 \begin_inset space \thinspace{}
5659 \begin_inset Newline newline
5663 \begin_inset Flex Color Box
5666 \begin_layout Plain Layout
5667 \begin_inset Argument 1
5670 \begin_layout Plain Layout
5682 \begin_inset VSpace defskip
5688 \begin_layout Enumerate
5694 \begin_inset VSpace 3mm
5698 \begin_inset Newline newline
5706 \begin_inset Newline newline
5710 \begin_inset space \thinspace{}
5714 \begin_inset Newline newline
5718 \begin_inset space \thinspace{}
5722 \begin_inset Quotes eld
5726 \begin_inset Quotes erd
5730 \begin_inset Newline newline
5734 \begin_inset Flex Color Box
5737 \begin_layout Plain Layout
5738 \begin_inset Argument 1
5741 \begin_layout Plain Layout
5753 \begin_inset VSpace defskip
5759 \begin_layout Enumerate
5762 Name1!PercentOfName1!Name2
5765 \begin_inset VSpace 3mm
5769 \begin_inset Newline newline
5777 \begin_inset Newline newline
5781 \begin_inset space \thinspace{}
5785 \begin_inset Newline newline
5789 \begin_inset space \thinspace{}
5793 \begin_inset Newline newline
5797 \begin_inset Flex Color Box
5800 \begin_layout Plain Layout
5801 \begin_inset Argument 1
5804 \begin_layout Plain Layout
5816 \begin_inset VSpace defskip
5822 \begin_layout Enumerate
5825 Name1!PercentName1!Name2!PercentName3!Name3
5828 \begin_inset VSpace 3mm
5832 \begin_inset Newline newline
5837 red!71.4!green!70!blue
5840 \begin_inset Newline newline
5844 \begin_inset Formula $1-0.70=30\,$
5848 \begin_inset Newline newline
5852 \begin_inset Formula $\left(1-0.714\right)\cdot0.70=20.02\thinspace$
5856 \begin_inset Newline newline
5860 \begin_inset Formula $0.714\cdot0.70=49.98\thinspace$
5864 \begin_inset Newline newline
5868 \begin_inset Flex Color Box
5871 \begin_layout Plain Layout
5872 \begin_inset Argument 1
5875 \begin_layout Plain Layout
5876 colback=red!71.4!green!70!blue
5881 red!71.4!green!70!blue
5887 \begin_inset VSpace defskip
5893 \begin_layout Standard
5894 The possible color names are:
5897 \begin_layout Standard
5899 \begin_inset Tabular
5900 <lyxtabular version="3" rows="4" columns="5">
5901 <features tabularvalignment="middle">
5902 <column alignment="left" valignment="top" width="18col%">
5903 <column alignment="left" valignment="top" width="18col%">
5904 <column alignment="left" valignment="top" width="18col%">
5905 <column alignment="left" valignment="top" width="18col%">
5906 <column alignment="left" valignment="top" width="18col%">
5908 <cell alignment="left" valignment="top" usebox="none">
5911 \begin_layout Plain Layout
5915 \begin_layout Plain Layout
5928 \begin_layout Plain Layout
5936 \begin_inset Phantom Phantom
5939 \begin_layout Plain Layout
5949 \begin_layout Plain Layout
5961 <cell alignment="left" valignment="top" usebox="none">
5964 \begin_layout Plain Layout
5968 \begin_layout Plain Layout
5981 \begin_layout Plain Layout
5989 \begin_inset Phantom Phantom
5992 \begin_layout Plain Layout
6002 \begin_layout Plain Layout
6014 <cell alignment="left" valignment="top" usebox="none">
6017 \begin_layout Plain Layout
6021 \begin_layout Plain Layout
6034 \begin_layout Plain Layout
6042 \begin_inset Phantom Phantom
6045 \begin_layout Plain Layout
6055 \begin_layout Plain Layout
6067 <cell alignment="left" valignment="top" usebox="none">
6070 \begin_layout Plain Layout
6074 \begin_layout Plain Layout
6087 \begin_layout Plain Layout
6095 \begin_inset Phantom Phantom
6098 \begin_layout Plain Layout
6108 \begin_layout Plain Layout
6120 <cell alignment="left" valignment="top" usebox="none">
6123 \begin_layout Plain Layout
6127 \begin_layout Plain Layout
6140 \begin_layout Plain Layout
6148 \begin_inset Phantom Phantom
6151 \begin_layout Plain Layout
6161 \begin_layout Plain Layout
6175 <cell alignment="left" valignment="top" usebox="none">
6178 \begin_layout Plain Layout
6182 \begin_layout Plain Layout
6195 \begin_layout Plain Layout
6203 \begin_inset Phantom Phantom
6206 \begin_layout Plain Layout
6216 \begin_layout Plain Layout
6228 <cell alignment="left" valignment="top" usebox="none">
6231 \begin_layout Plain Layout
6235 \begin_layout Plain Layout
6248 \begin_layout Plain Layout
6256 \begin_inset Phantom Phantom
6259 \begin_layout Plain Layout
6269 \begin_layout Plain Layout
6281 <cell alignment="left" valignment="top" usebox="none">
6284 \begin_layout Plain Layout
6288 \begin_layout Plain Layout
6301 \begin_layout Plain Layout
6309 \begin_inset Phantom Phantom
6312 \begin_layout Plain Layout
6322 \begin_layout Plain Layout
6334 <cell alignment="left" valignment="top" usebox="none">
6337 \begin_layout Plain Layout
6341 \begin_layout Plain Layout
6354 \begin_layout Plain Layout
6362 \begin_inset Phantom Phantom
6365 \begin_layout Plain Layout
6375 \begin_layout Plain Layout
6387 <cell alignment="left" valignment="top" usebox="none">
6390 \begin_layout Plain Layout
6394 \begin_layout Plain Layout
6407 \begin_layout Plain Layout
6415 \begin_inset Phantom Phantom
6418 \begin_layout Plain Layout
6428 \begin_layout Plain Layout
6442 <cell alignment="left" valignment="top" usebox="none">
6445 \begin_layout Plain Layout
6449 \begin_layout Plain Layout
6462 \begin_layout Plain Layout
6470 \begin_inset Phantom Phantom
6473 \begin_layout Plain Layout
6483 \begin_layout Plain Layout
6495 <cell alignment="left" valignment="top" usebox="none">
6498 \begin_layout Plain Layout
6502 \begin_layout Plain Layout
6515 \begin_layout Plain Layout
6523 \begin_inset Phantom Phantom
6526 \begin_layout Plain Layout
6536 \begin_layout Plain Layout
6548 <cell alignment="left" valignment="top" usebox="none">
6551 \begin_layout Plain Layout
6555 \begin_layout Plain Layout
6568 \begin_layout Plain Layout
6576 \begin_inset Phantom Phantom
6579 \begin_layout Plain Layout
6589 \begin_layout Plain Layout
6601 <cell alignment="left" valignment="top" usebox="none">
6604 \begin_layout Plain Layout
6608 \begin_layout Plain Layout
6621 \begin_layout Plain Layout
6629 \begin_inset Phantom Phantom
6632 \begin_layout Plain Layout
6642 \begin_layout Plain Layout
6654 <cell alignment="left" valignment="top" usebox="none">
6657 \begin_layout Plain Layout
6661 \begin_layout Plain Layout
6674 \begin_layout Plain Layout
6682 \begin_inset Phantom Phantom
6685 \begin_layout Plain Layout
6695 \begin_layout Plain Layout
6709 <cell alignment="left" valignment="top" usebox="none">
6712 \begin_layout Plain Layout
6716 \begin_layout Plain Layout
6729 \begin_layout Plain Layout
6737 \begin_inset Phantom Phantom
6740 \begin_layout Plain Layout
6750 \begin_layout Plain Layout
6762 <cell alignment="left" valignment="top" usebox="none">
6765 \begin_layout Plain Layout
6769 \begin_layout Plain Layout
6782 \begin_layout Plain Layout
6790 \begin_inset Phantom Phantom
6793 \begin_layout Plain Layout
6803 \begin_layout Plain Layout
6815 <cell alignment="left" valignment="top" usebox="none">
6818 \begin_layout Plain Layout
6822 \begin_layout Plain Layout
6835 \begin_layout Plain Layout
6843 \begin_inset Phantom Phantom
6846 \begin_layout Plain Layout
6856 \begin_layout Plain Layout
6868 <cell alignment="left" valignment="top" usebox="none">
6871 \begin_layout Plain Layout
6875 \begin_layout Plain Layout
6888 \begin_layout Plain Layout
6896 \begin_inset Phantom Phantom
6899 \begin_layout Plain Layout
6909 \begin_layout Plain Layout
6921 <cell alignment="left" valignment="top" usebox="none">
6924 \begin_layout Plain Layout
6938 \begin_layout Standard
6939 , and the ones listed in Appendix
6940 \begin_inset space ~
6946 \begin_inset space ~
6954 \begin_layout Subsubsection
6958 \begin_layout Standard
6959 The background color is changed with the option
6966 \begin_layout Standard
6967 \begin_inset Flex Color Box
6970 \begin_layout Plain Layout
6971 \begin_inset Argument 1
6974 \begin_layout Plain Layout
6975 colback=red!66!green!70!blue
6988 \begin_layout Subsubsection
6992 \begin_layout Standard
6993 The frame color is changed with the option
7000 \begin_layout Standard
7001 \begin_inset Flex Color Box
7004 \begin_layout Plain Layout
7005 \begin_inset Argument 1
7008 \begin_layout Plain Layout
7009 colframe=red!30!blue
7022 \begin_layout Subsubsection
7026 \begin_layout Standard
7027 The title background color is changed with the option
7034 \begin_layout Standard
7035 \begin_inset Flex Color Box
7038 \begin_layout Plain Layout
7039 \begin_inset Argument 1
7042 \begin_layout Plain Layout
7043 title=A title, colbacktitle=green!30
7048 Title background color
7056 \begin_layout Subsubsection
7058 \begin_inset CommandInset label
7060 name "subsec:Title-text"
7067 \begin_layout Standard
7068 The color for the title text is changed with the option
7075 \begin_layout Standard
7076 \begin_inset Flex Color Box
7079 \begin_layout Plain Layout
7080 \begin_inset Argument 1
7083 \begin_layout Plain Layout
7084 title=A title, coltitle=orange
7092 \begin_layout Plain Layout
7093 \begin_inset Flex Subtitle
7096 \begin_layout Plain Layout
7105 \begin_layout Plain Layout
7114 \begin_layout Subsubsection
7118 \begin_layout Standard
7119 The color for the complete text is changed with the option
7126 \begin_layout Standard
7127 \begin_inset Flex Color Box
7130 \begin_layout Plain Layout
7131 \begin_inset Argument 1
7134 \begin_layout Plain Layout
7148 \begin_layout Subsubsection
7149 Upper and lower text
7152 \begin_layout Standard
7153 The color for the upper and lower part text is changed with the option
7164 \begin_layout Standard
7165 \begin_inset Flex Color Box
7168 \begin_layout Plain Layout
7169 \begin_inset Argument 1
7172 \begin_layout Plain Layout
7173 colupper=green!30!blue, collower=green!70!blue
7181 \begin_layout Color Box Separator
7185 \begin_layout Plain Layout
7194 \begin_layout Standard
7195 \begin_inset Newpage newpage
7201 \begin_layout Subsection
7203 \begin_inset CommandInset label
7205 name "subsec:Shadows"
7212 \begin_layout Standard
7213 Boxes can only be decorated with shadows if a skin is specified, see
7214 \begin_inset CommandInset ref
7216 reference "subsec:Enhanced"
7223 \begin_layout Subsubsection
7227 \begin_layout Standard
7228 A shadow is added with the box option
7236 is a color name or definition, see
7237 \begin_inset CommandInset ref
7239 reference "subsec:Color"
7244 One can omit the color, the shadow color is then black!50!white.
7249 creates a semi-transparent shadow.
7252 \begin_layout Standard
7253 \begin_inset Flex Color Box
7256 \begin_layout Plain Layout
7257 \begin_inset Argument 1
7260 \begin_layout Plain Layout
7261 enhanced, drop shadow, nobeforeafter
7274 \begin_layout Standard
7275 \begin_inset VSpace defskip
7279 \begin_inset Flex Color Box
7282 \begin_layout Plain Layout
7283 \begin_inset Argument 1
7286 \begin_layout Plain Layout
7287 enhanced, drop fuzzy shadow=purple, nobeforeafter
7292 A box with a fuzzy, purple shadow
7300 \begin_layout Standard
7301 The default shadow is placed right below the box.
7302 For other shadow placements have a look at section
7311 \begin_inset CommandInset citation
7321 \begin_layout Subsubsection
7325 \begin_layout Standard
7326 A halo is added with the box option
7328 halo=size with color
7338 is a color name or definition.
7339 One can omit the size and color, the halo is then 0.9
7340 \begin_inset space \thinspace{}
7343 mm thick and has the color yellow.
7344 Note that one cannot omit only the size or color, either both is omitted
7345 or both is specified.
7350 creates a semi-transparent halo.
7353 \begin_layout Standard
7354 \begin_inset Flex Color Box
7357 \begin_layout Plain Layout
7358 \begin_inset Argument 1
7361 \begin_layout Plain Layout
7362 enhanced, halo, nobeforeafter
7375 \begin_layout Standard
7376 \begin_inset VSpace defskip
7382 \begin_layout Standard
7383 \begin_inset Flex Color Box
7386 \begin_layout Plain Layout
7387 \begin_inset Argument 1
7390 \begin_layout Plain Layout
7391 enhanced, fuzzy halo=5mm with green, nobeforeafter
7397 \begin_inset space \thinspace{}
7400 mm thick, green fuzzy halo
7408 \begin_layout Subsubsection
7412 \begin_layout Standard
7413 Generic shadows/halos can be created with the box option
7422 For a brief description of these options consult section
7431 \begin_inset CommandInset citation
7441 \begin_layout Standard
7442 \begin_inset Flex Color Box
7445 \begin_layout Plain Layout
7446 \begin_inset Argument 1
7449 \begin_layout Plain Layout
7450 enhanced, title=Double shadow, shadow={-2.5mm}{-2.5mm}{0mm}{fill=blue, opacity=0.25
7451 }, shadow={1.5mm}{1.5mm}{0mm}{fill=red, opacity=0.25}
7457 \begin_inset space ~
7468 \begin_layout Bibliography
7469 \begin_inset CommandInset bibitem
7470 LatexCommand bibitem
7477 \begin_inset CommandInset href
7479 name "Documentation"
7480 target "https://ctan.org/tex-archive/macros/latex/contrib/tcolorbox/tcolorbox.pdf"
7485 of the \SpecialChar LaTeX