1 #LyX 2.2 created this file. For more info see http://www.lyx.org/
5 \save_transient_properties true
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 \default_output_format default
54 \bibtex_command bibtex
55 \index_command default
59 \pdf_title "Description of the module tcolorbox"
60 \pdf_author "Uwe Stöhr"
61 \pdf_subject "fancy colored boxes"
62 \pdf_keywords "LyX, tcolorbox, colored boxes"
64 \pdf_bookmarksnumbered true
65 \pdf_bookmarksopen true
66 \pdf_bookmarksopenlevel 3
71 \pdf_pdfusetitle false
72 \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false, urlbordercolor={1 0 0}"
75 \use_package amsmath 1
76 \use_package amssymb 1
79 \use_package mathdots 1
80 \use_package mathtools 1
82 \use_package stackrel 0
83 \use_package stmaryrd 0
84 \use_package undertilde 0
86 \cite_engine_type default
90 \paperorientation portrait
94 \notefontcolor #0000ff
101 \paragraph_separation skip
103 \quotes_language english
106 \paperpagestyle default
107 \tracking_changes false
108 \output_changes false
111 \html_be_strict false
117 Description of the module Fancy Colored Boxes
124 \begin_layout Standard
137 you have access to a huge variety of colored boxes.
138 They are particularly useful for presentations or educational texts where
139 you might for example highlight results or equations.
140 This document describes how these boxes are used with \SpecialChar LyX
144 \begin_layout Standard
145 The fancy boxes are generated by the \SpecialChar LaTeX
151 This package has so many features that its manual exceeds 400
157 can therefore only provide access to its basic features.
158 For more advanced features and examples have a loot at the
163 \begin_inset CommandInset citation
172 \begin_layout Section
176 \begin_layout Standard
177 At first load the module
189 in the document settings of your file.
192 \begin_layout Standard
193 Add the following options to the document class options in the document
194 settings of your file:
197 \begin_layout Standard
200 most, usenames, dvipsnames
203 \begin_layout Standard
208 loads most of the libraries of the \SpecialChar LaTeX
218 load additional colors, see Appendix
233 \begin_layout Section
237 \begin_layout Subsection
241 \begin_layout Subsubsection
245 \begin_layout Standard
246 A static color box is inserted via the menu
248 Insert\SpecialChar menuseparator
249 Custom Insets\SpecialChar menuseparator
259 \begin_layout Standard
260 This is a static color box:
261 \begin_inset Flex Color Box
264 \begin_layout Plain Layout
273 \begin_layout Standard
274 It has by default a frame with round corners and consumes the full text
276 It can contain several paragraphs and math.
279 \begin_layout Standard
280 \begin_inset Note Greyedout
283 \begin_layout Plain Layout
288 The box can contain forced page breaks but they will be ignored.
289 To get breakable boxes, see
290 \begin_inset CommandInset ref
292 reference "sec:Beakable-boxes"
304 \begin_layout Subsubsection
308 \begin_layout Standard
309 A dynamic color box is inserted via inset via the menu
311 Insert\SpecialChar menuseparator
312 Custom Insets\SpecialChar menuseparator
326 \begin_layout Standard
327 This is a dynamic color box:
328 \begin_inset Flex Dynamic Color Box
331 \begin_layout Plain Layout
340 \begin_layout Standard
341 In contrary to static boxes dynamic boxes cannot have parts, see
342 \begin_inset CommandInset ref
344 reference "subsec:Box-parts"
348 , and they cannot made breakable but one can set their vertical placement,
350 \begin_inset CommandInset ref
352 reference "subsec:Vertical"
357 Their width is by default the width of the content.
360 \begin_layout Subsubsection
364 \begin_layout Standard
365 A fit color box is inserted via the menu
367 Insert\SpecialChar menuseparator
368 Custom Insets\SpecialChar menuseparator
382 \begin_layout Standard
383 Fit boxes are dynamic boxes but their content is automatically decreased
384 or increased to fit into the specified box width and heigh.
385 How to specify a width and height is described in
386 \begin_inset CommandInset ref
388 reference "subsec:Geometry"
393 If no width and height is specified the result is a square box consuming
394 the full available width of the page.
395 If only a width is specified, the result is a square box.
398 \begin_layout Standard
399 These are fit color boxes:
402 \begin_layout Standard
403 \begin_inset Flex Fit Color Box
406 \begin_layout Plain Layout
407 \begin_inset Argument 1
410 \begin_layout Plain Layout
417 \begin_inset space \thinspace{}
420 cm wide fit color box with some text.
422 \begin_inset space \thinspace{}
425 cm wide fit color box with some text.
427 \begin_inset space \thinspace{}
430 cm wide fit color box with some text.
438 \begin_layout Standard
439 \begin_inset Flex Fit Color Box
442 \begin_layout Plain Layout
443 \begin_inset Argument 1
446 \begin_layout Plain Layout
447 width=5cm, height=3cm
453 \begin_inset space \thinspace{}
457 \begin_inset space \thinspace{}
460 cm high fit color box.
468 \begin_layout Standard
469 The examples show that the text will be shrinked to fit into the box but
470 it will not be increased.
473 \begin_layout Subsubsection
477 \begin_layout Standard
478 A custom color box is inserted via the menu
480 Insert\SpecialChar menuseparator
481 Custom Insets\SpecialChar menuseparator
492 where # is the number.
495 \begin_layout Standard
496 How to use and customize custom color boxes, see
497 \begin_inset CommandInset ref
499 reference "subsec:General"
506 \begin_layout Subsection
510 \begin_layout Standard
511 To add a title to a box add an options inset via the menu Insert\SpecialChar menuseparator
525 followed by your title.
528 \begin_layout Standard
529 This is a titled box:
530 \begin_inset Flex Color Box
533 \begin_layout Plain Layout
534 \begin_inset Argument 1
537 \begin_layout Plain Layout
543 A basic box with a title.
551 \begin_layout Standard
552 A subtitle is added with the inset
558 Insert\SpecialChar menuseparator
564 \begin_layout Standard
565 \begin_inset Flex Color Box
568 \begin_layout Plain Layout
569 \begin_inset Argument 1
572 \begin_layout Plain Layout
578 A basic box with a subtitle.
580 \begin_inset Flex Subtitle
583 \begin_layout Plain Layout
589 The content below the subtitle.
597 \begin_layout Standard
598 The title and subtitle text is by default white.
599 How to change its color, see
600 \begin_inset CommandInset ref
602 reference "subsec:Title-text"
609 \begin_layout Subsection
611 \begin_inset CommandInset label
613 name "subsec:Box-parts"
620 \begin_layout Standard
621 The content of the box can be divided into an upper and a lower part by
622 using the environment
627 's environment selection combobox.
628 The idea behind this is that both parts can be treated and customized separatel
630 An application would be that the upper part contains a description and
631 the lower part an equation.
634 \begin_layout Standard
635 This is a box where the content is separated:
638 \begin_layout Standard
639 \begin_inset Flex Color Box
642 \begin_layout Plain Layout
646 \begin_layout Color Box Separator
650 \begin_layout Plain Layout
659 \begin_layout Standard
660 The separation line can be customized as described in
661 \begin_inset CommandInset ref
663 reference "subsec:Lines"
670 \begin_layout Standard
671 The separation can also be made side by side with the box option
678 \begin_layout Standard
679 \begin_inset Flex Color Box
682 \begin_layout Plain Layout
683 \begin_inset Argument 1
686 \begin_layout Plain Layout
692 Upper content at the left
695 \begin_layout Color Box Separator
699 \begin_layout Plain Layout
700 Lower content at the right
708 \begin_layout Standard
709 The separation can be made invisible with the box option
711 lower separated=false
716 \begin_layout Standard
717 \begin_inset Flex Color Box
720 \begin_layout Plain Layout
721 \begin_inset Argument 1
724 \begin_layout Plain Layout
725 sidebyside, lower separated=false
730 Upper content invisibly separated
733 \begin_layout Color Box Separator
737 \begin_layout Plain Layout
738 Lower content at the right
746 \begin_layout Standard
747 There are several layout skins available for colored boxes, see
748 \begin_inset CommandInset ref
750 reference "subsec:Beamer"
754 , that affects also the layout of the box parts.
755 For example with the box option
759 the box parts are separated this way:
762 \begin_layout Standard
763 \begin_inset Flex Color Box
766 \begin_layout Plain Layout
767 \begin_inset Argument 1
770 \begin_layout Plain Layout
779 \begin_layout Color Box Separator
783 \begin_layout Plain Layout
792 \begin_layout Subsection
794 \begin_inset CommandInset label
803 \begin_layout Standard
804 To draw a line in a box use the environment
809 The line is by default dashed.
810 Note that it is just a line and does not separate box parts!
813 \begin_layout Standard
814 This is a box with a line:
817 \begin_layout Standard
818 \begin_inset Flex Color Box
821 \begin_layout Plain Layout
825 \begin_layout Color Box Line
829 \begin_layout Plain Layout
838 \begin_layout Standard
839 The line style can only be changed if a skin is specified, see
840 \begin_inset CommandInset ref
842 reference "subsec:Enhanced"
847 Then one can use the box option
849 segmentation style={commands}
855 are commands to define the style.
868 manual for possible commands,
869 \begin_inset CommandInset citation
878 \begin_layout Standard
879 Here is an example in the
883 skin with a double blue line:
886 \begin_layout Standard
887 \begin_inset Flex Color Box
890 \begin_layout Plain Layout
891 \begin_inset Argument 1
894 \begin_layout Plain Layout
895 enhanced, segmentation style={double=white,draw=blue,double distance=1pt,solid}
903 \begin_layout Color Box Line
907 \begin_layout Plain Layout
916 \begin_layout Standard
917 \begin_inset Newpage newpage
923 \begin_layout Section
925 \begin_inset CommandInset label
927 name "sec:Beakable-boxes"
934 \begin_layout Standard
935 To make a box breakable the option
940 If a page break occurs within a box, the box will get broken this way:
943 \begin_layout Standard
944 \begin_inset Flex Color Box
947 \begin_layout Plain Layout
948 \begin_inset Argument 1
951 \begin_layout Plain Layout
952 title=A breakable box, breakable, title after break=continued...
957 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
958 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
960 At vero eos et accusam et justo duo dolores et ea rebum.
961 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
963 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
964 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
966 At vero eos et accusam et justo duo dolores et ea rebum.
967 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
969 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
970 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
972 At vero eos et accusam et justo duo dolores et ea rebum.
973 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
975 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
976 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
978 At vero eos et accusam et justo duo dolores et ea rebum.
979 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
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
1024 \begin_layout Standard
1025 In the above example the special title
1030 was added for the second page of the box with the option
1037 \begin_layout Standard
1038 If boxes are inside boxes, only the outer box can made breakable.
1041 \begin_layout Standard
1042 \begin_inset Note Greyedout
1045 \begin_layout Plain Layout
1050 Dynamic boxes and fit boxes cannot made breakable!
1058 \begin_layout Section
1062 \begin_layout Subsection
1064 \begin_inset CommandInset label
1066 name "subsec:General"
1073 \begin_layout Standard
1074 The following subsections show many possibilities to customize boxes.
1077 \begin_layout Standard
1078 To avoid to write the box commands all the time, you can use the environment
1082 \begin_inset space ~
1086 \begin_inset space ~
1092 It is inserted via \SpecialChar LyX
1093 's style selection combobox.
1094 There you can write all options that should be applied for
1098 boxes of the document
1103 For example writing there
1105 width=3cm, height=8cm
1107 forces all following boxes to have a height of 8
1108 \begin_inset space \thinspace{}
1112 \begin_inset space \thinspace{}
1116 However, this is not useful if one needs several box types since the changes
1124 \begin_layout Standard
1125 In most documents one need a few types of boxes and all boxes of a type
1126 should look identical.
1127 To achieve this the module
1130 \begin_inset space ~
1134 \begin_inset space ~
1140 \begin_inset space ~
1143 different box types which you can customize.
1144 To change their appearance use the environment
1147 \begin_inset space ~
1151 \begin_inset space ~
1155 \begin_inset space ~
1161 It is inserted via \SpecialChar LyX
1162 's style selection combobox.
1165 \begin_layout Standard
1166 If you want for example a box type that looks like the fancy colored one
1168 \begin_inset CommandInset ref
1170 reference "subsec:Enhanced"
1174 use these options in the environment:
1177 \begin_layout Standard
1180 enhanced, frame style={left color=red!75!black, right color=blue!75!black},
1181 interior style={left color=red!20!white, right color=yellow!50!white}
1184 \begin_layout Standard
1193 (cBoxA is custom box type
1194 \begin_inset space ~
1198 \begin_inset space ~
1202 Because you want to customize every box of this type (e.
1203 \begin_inset space \thinspace{}
1207 \begin_inset space \space{}
1210 every box should have its own title), you need one argument.
1215 into the Arguments inset of the environment.
1218 \begin_layout Standard
1219 \begin_inset Note Greyedout
1222 \begin_layout Plain Layout
1227 If you use an argument, the inset
1231 must also be inserted but left empty!
1239 \begin_layout New Color Box Type
1241 \begin_inset Argument 2
1244 \begin_layout Plain Layout
1251 \begin_inset Argument 3
1254 \begin_layout Plain Layout
1261 \begin_inset Argument 4
1264 \begin_layout Plain Layout
1270 enhanced, frame style={left color=red!75!black, right color=blue!75!black},
1271 interior style={left color=red!20!white, right color=yellow!50!white},
1275 \begin_layout Standard
1276 This way you defined the box type
1279 \begin_inset space ~
1283 \begin_inset space ~
1287 \begin_inset space ~
1293 Boxes of this type will look like this:
1296 \begin_layout Standard
1297 \begin_inset Flex Custom Color Box 1
1300 \begin_layout Plain Layout
1301 \begin_inset Argument 1
1304 \begin_layout Plain Layout
1318 \begin_layout Standard
1319 \begin_inset VSpace bigskip
1323 \begin_inset Newline newline
1326 Assuming you need a box type that can be numbered, you insert
1329 \begin_layout Standard
1332 auto counter, number within=section
1335 \begin_layout Standard
1347 \begin_inset space ~
1351 \begin_inset space ~
1355 \begin_inset space ~
1381 \begin_layout Standard
1384 colback=red!5!white, colframe=red!75!black, title=Example~
1389 \begin_layout Standard
1390 into the environment.
1391 This predefines a title prefix.
1398 is hereby the counter of colored boxes.
1402 \begin_inset space ~
1406 \begin_inset space ~
1410 \begin_inset space ~
1415 you specify the title via the options inset:
1418 \begin_layout New Color Box Type
1420 \begin_inset Argument 1
1423 \begin_layout Plain Layout
1424 auto counter, number within=section
1430 \begin_inset Argument 2
1433 \begin_layout Plain Layout
1440 \begin_inset Argument 3
1443 \begin_layout Plain Layout
1450 \begin_inset Argument 4
1453 \begin_layout Plain Layout
1459 colback=red!5!white, colframe=red!75!black, title=Example~
1464 \begin_layout Standard
1465 \begin_inset Flex Custom Color Box 2
1468 \begin_layout Plain Layout
1469 \begin_inset Argument 1
1472 \begin_layout Plain Layout
1473 Custom numbered title
1486 \begin_layout Standard
1487 Note that you must not write
1491 because this is already done in the definition.
1494 \begin_layout Standard
1495 You can still customize the box by adding options
1502 \begin_layout Standard
1503 \begin_inset Flex Custom Color Box 2
1506 \begin_layout Plain Layout
1507 \begin_inset Argument 1
1510 \begin_layout Plain Layout
1511 Bold numbered title, colback=lime, fonttitle=
1526 \begin_layout Standard
1527 \begin_inset VSpace bigskip
1530 At last a more advanced example:
1531 \begin_inset Newline newline
1534 Assuming you need the type we just defined as
1537 \begin_inset space ~
1541 \begin_inset space ~
1545 \begin_inset space ~
1550 but want to add more than one option.
1551 This is for example useful for options that require another option before
1552 in the options list.
1553 \begin_inset Newline newline
1559 \begin_layout Standard
1562 auto counter, number within=section
1565 \begin_layout Standard
1577 \begin_inset space ~
1581 \begin_inset space ~
1585 \begin_inset space ~
1601 \begin_inset space ~
1616 \begin_layout Standard
1619 nobeforeafter, width=#1, square, colframe=orange!50!black,
1620 \begin_inset Newline newline
1628 \begin_layout Standard
1629 into the environment.
1633 \begin_inset space ~
1637 \begin_inset space ~
1641 \begin_inset space ~
1646 you specify the width via the
1650 inset and the title (and further options if you like) via the
1652 More Color Box Options
1657 \begin_layout New Color Box Type
1659 \begin_inset Argument 1
1662 \begin_layout Plain Layout
1663 auto counter, number within=section
1669 \begin_inset Argument 2
1672 \begin_layout Plain Layout
1679 \begin_inset Argument 3
1682 \begin_layout Plain Layout
1689 \begin_inset Argument 4
1692 \begin_layout Plain Layout
1698 nobeforeafter, width=#1, square, colframe=orange!50!black, title=Example~
1703 \begin_layout Standard
1704 \begin_inset Flex Custom Color Box 3
1707 \begin_layout Plain Layout
1708 \begin_inset Argument 1
1711 \begin_layout Plain Layout
1718 \begin_inset Argument 2
1721 \begin_layout Plain Layout
1728 \begin_inset space \thinspace{}
1731 cm wide custom color box 3
1737 \begin_inset Flex Custom Color Box 3
1740 \begin_layout Plain Layout
1741 \begin_inset Argument 1
1744 \begin_layout Plain Layout
1751 \begin_inset Argument 2
1754 \begin_layout Plain Layout
1761 \begin_inset space \thinspace{}
1764 cm wide custom color box 3 with the
1776 \begin_layout Subsection
1780 \begin_layout Standard
1781 The \SpecialChar LaTeX
1786 provides different skins.
1787 For a full list, see the
1794 \begin_inset space ~
1800 \begin_inset CommandInset citation
1807 Only the most important skins are listed in the following.
1810 \begin_layout Subsubsection
1812 \begin_inset CommandInset label
1814 name "subsec:Enhanced"
1821 \begin_layout Standard
1822 This skin is enabled by adding the option enhanced.
1823 Without further options it looks like the standard skin.
1824 Its advantage are some extra features like the customization of lines,
1826 \begin_inset CommandInset ref
1828 reference "subsec:Lines"
1832 or the ability to have shadows, see
1833 \begin_inset CommandInset ref
1835 reference "subsec:Shadows"
1840 Another feature is a nicer style of breakable boxes:
1843 \begin_layout Standard
1844 \begin_inset Flex Color Box
1847 \begin_layout Plain Layout
1848 \begin_inset Argument 1
1851 \begin_layout Plain Layout
1856 breakable box, breakable, enhanced
1861 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1862 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1864 At vero eos et accusam et justo duo dolores et ea rebum.
1865 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1867 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1868 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1870 At vero eos et accusam et justo duo dolores et ea rebum.
1871 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1873 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1874 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1876 At vero eos et accusam et justo duo dolores et ea rebum.
1877 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1879 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1880 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1882 At vero eos et accusam et justo duo dolores et ea rebum.
1883 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1885 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1886 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1888 At vero eos et accusam et justo duo dolores et ea rebum.
1889 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1891 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1892 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1894 At vero eos et accusam et justo duo dolores et ea rebum.
1895 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1897 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1898 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1900 At vero eos et accusam et justo duo dolores et ea rebum.
1901 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1903 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1904 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1906 At vero eos et accusam et justo duo dolores et ea rebum.
1907 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1909 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1910 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1912 At vero eos et accusam et justo duo dolores et ea rebum.
1913 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1915 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1916 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1918 At vero eos et accusam et justo duo dolores et ea rebum.
1919 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1928 \begin_layout Standard
1929 Another feature you might like is to add color gradients with the options
1940 \begin_inset Newline newline
1945 frame style={left color=color, right color=color}
1946 \begin_inset Newline newline
1955 is a color name or definition, see
1956 \begin_inset CommandInset ref
1958 reference "subsec:Color"
1965 \begin_layout Standard
1966 \begin_inset Flex Color Box
1969 \begin_layout Plain Layout
1970 \begin_inset Argument 1
1973 \begin_layout Plain Layout
1978 box with a color gradient, enhanced, frame style={left color=red!75!black,
1979 right color=blue!75!black}, interior style={left color=red!20!white, right
1980 color=yellow!50!white}
1988 \begin_layout Color Box Separator
1992 \begin_layout Plain Layout
2001 \begin_layout Standard
2002 Alternatively one can use a PNG image as background for boxes with the option
2005 frame style image=file name
2010 \begin_inset space ~
2015 is the file name of the image.
2018 \begin_layout Subsubsection
2022 \begin_layout Standard
2023 With this skin the lower content gets another background color than the
2027 \begin_layout Standard
2028 \begin_inset Flex Color Box
2031 \begin_layout Plain Layout
2032 \begin_inset Argument 1
2035 \begin_layout Plain Layout
2036 title=A box with the skin
2048 \begin_layout Color Box Separator
2052 \begin_layout Plain Layout
2061 \begin_layout Standard
2062 The color of the lower part can be changed with the option
2068 \begin_inset CommandInset ref
2070 reference "subsec:Color"
2074 for color customization.
2077 \begin_layout Subsubsection
2079 \begin_inset CommandInset label
2081 name "subsec:Beamer"
2088 \begin_layout Standard
2089 This is a skin that simulates the appearance of the beamer presentation
2091 Its appearance can be changed like for the enhanced skin,
2092 \begin_inset CommandInset ref
2094 reference "subsec:Enhanced"
2101 \begin_layout Standard
2102 \begin_inset Flex Color Box
2105 \begin_layout Plain Layout
2106 \begin_inset Argument 1
2109 \begin_layout Plain Layout
2114 box with a color gradient, beamer, frame style={left color=red!75!black,
2115 right color=blue!75!black}
2123 \begin_layout Color Box Separator
2127 \begin_layout Plain Layout
2136 \begin_layout Subsubsection
2140 \begin_layout Standard
2141 This skin is like the standard skin but the background colors are automatically
2145 \begin_layout Standard
2146 \begin_inset Flex Color Box
2149 \begin_layout Plain Layout
2150 \begin_inset Argument 1
2153 \begin_layout Plain Layout
2166 \begin_layout Color Box Separator
2170 \begin_layout Plain Layout
2179 \begin_layout Subsubsection
2183 \begin_layout Standard
2184 This skin has no colors.
2185 To make the title visible (because it is by default white) you have to
2186 change its color, see
2187 \begin_inset CommandInset ref
2189 reference "subsec:Title-text"
2196 \begin_layout Standard
2197 \begin_inset Flex Color Box
2200 \begin_layout Plain Layout
2201 \begin_inset Argument 1
2204 \begin_layout Plain Layout
2205 title=A box with the
2209 skin, empty, coltitle=orange
2217 \begin_layout Color Box Separator
2221 \begin_layout Plain Layout
2230 \begin_layout Subsection
2234 \begin_layout Subsubsection
2238 \begin_layout Standard
2239 Normally the boxes are a paragraph of its own.
2240 They will therefore appear by default one upon another separated by vertical
2242 To change this behavior, to place for example boxes side by side, use the
2252 By default there is a paragraph break before and after the box.
2253 By using the options
2257 nothing will be added besides the boxes so that they can be places side
2261 \begin_layout Standard
2262 \begin_inset Flex Color Box
2265 \begin_layout Plain Layout
2266 \begin_inset Argument 1
2269 \begin_layout Plain Layout
2270 width=3cm, square, valign=center, before=, after=
2276 \begin_inset space \thinspace{}
2279 cm wide, square box.
2285 \begin_inset Flex Color Box
2288 \begin_layout Plain Layout
2289 \begin_inset Argument 1
2292 \begin_layout Plain Layout
2293 width=3cm, square, valign=center, before=, after=
2299 \begin_inset space \thinspace{}
2302 cm wide, square box.
2308 \begin_inset Flex Color Box
2311 \begin_layout Plain Layout
2312 \begin_inset Argument 1
2315 \begin_layout Plain Layout
2316 width=3cm, square, valign=center, before=, after=
2322 \begin_inset space \thinspace{}
2325 cm wide, square box.
2333 \begin_layout Standard
2338 is an alternative for
2345 \begin_layout Standard
2346 To separate the boxes one can use the normal \SpecialChar LyX
2347 spacing features like a horizontal
2351 \begin_layout Standard
2352 \begin_inset space \hfill{}
2356 \begin_inset Flex Color Box
2359 \begin_layout Plain Layout
2360 \begin_inset Argument 1
2363 \begin_layout Plain Layout
2364 width=3cm, square, valign=center, nobeforeafter
2370 \begin_inset space \thinspace{}
2373 cm wide, square box.
2379 \begin_inset space \hfill{}
2383 \begin_inset Flex Color Box
2386 \begin_layout Plain Layout
2387 \begin_inset Argument 1
2390 \begin_layout Plain Layout
2391 width=3cm, square, valign=center, nobeforeafter
2397 \begin_inset space \thinspace{}
2400 cm wide, square box.
2406 \begin_inset space \hfill{}
2410 \begin_inset Flex Color Box
2413 \begin_layout Plain Layout
2414 \begin_inset Argument 1
2417 \begin_layout Plain Layout
2418 width=3cm, square, valign=center, nobeforeafter
2424 \begin_inset space \thinspace{}
2427 cm wide, square box.
2433 \begin_inset space \hfill{}
2439 \begin_layout Standard
2440 If you prefer \SpecialChar TeX
2441 code you can alternatively use the option
2447 to add a a horizontal fill.
2450 \begin_layout Subsubsection
2454 \begin_layout Standard
2455 Like for tables and figures in a document it is very helpful if boxes could
2456 float in the text to be placed at the optimal position.
2457 This is achieved by the option
2465 are the optional \SpecialChar TeX
2466 floating placement options
2467 \begin_inset Quotes eld
2475 \begin_inset Quotes erd
2479 \begin_inset Quotes eld
2487 \begin_inset Quotes erd
2491 \begin_inset Quotes eld
2499 \begin_inset Quotes erd
2503 \begin_inset Quotes eld
2511 \begin_inset Quotes erd
2515 They correspond to the float placement options described in section
2518 \begin_inset space ~
2526 \begin_inset space ~
2532 The placement options can be mixed and are inserted without any separation,
2534 \begin_inset space \thinspace{}
2538 \begin_inset space \space{}
2542 \begin_inset Quotes eld
2550 \begin_inset Quotes erd
2556 \begin_layout Standard
2557 \begin_inset Flex Color Box
2560 \begin_layout Plain Layout
2561 \begin_inset Argument 1
2564 \begin_layout Plain Layout
2565 title=A floating box, float, width=5cm, valign=center
2571 \begin_inset space \thinspace{}
2574 cm wide floating box.
2582 \begin_layout Standard
2583 For floating boxes the options
2592 One can instead insert code with the command
2597 If the box is breakable the code is inserted before every part of the break
2599 A typical application is to center the floating box with
2606 \begin_layout Standard
2607 \begin_inset Flex Color Box
2610 \begin_layout Plain Layout
2611 \begin_inset Argument 1
2614 \begin_layout Plain Layout
2615 title=A floating box, float, width=5cm, valign=center, every float=
2623 \begin_inset space \thinspace{}
2626 cm wide floating box.
2634 \begin_layout Subsubsection
2636 \begin_inset CommandInset label
2638 name "subsec:Vertical"
2645 \begin_layout Standard
2646 The vertical placement of a box in respect to the surrounding text line
2647 can only be set for dynamic boxes.
2652 raises or lowers the box.
2658 The allowed units for values are listed in Appendix
2659 \begin_inset space ~
2665 \begin_inset space ~
2671 The default width is
2680 the box is lowered so that the base of the box content matches the base
2681 of the surrounding line.
2684 \begin_layout Standard
2688 \begin_layout Standard
2690 \begin_inset Flex Dynamic Color Box
2693 \begin_layout Plain Layout
2694 \begin_inset Argument 1
2697 \begin_layout Plain Layout
2698 tcbox raise base, nobeforeafter
2709 \begin_inset Flex Dynamic Color Box
2712 \begin_layout Plain Layout
2713 \begin_inset Argument 1
2716 \begin_layout Plain Layout
2728 \begin_inset Flex Dynamic Color Box
2731 \begin_layout Plain Layout
2732 \begin_inset Argument 1
2735 \begin_layout Plain Layout
2736 tcbox raise=1cm, nobeforeafter
2742 \begin_inset space \thinspace{}
2753 \begin_layout Subsubsection
2757 \begin_layout Standard
2758 The easiest way to place boxes in a table-like raster is to put them into
2763 \begin_inset space ~
2767 \begin_inset space ~
2772 inset is inserted via the menu
2774 Insert\SpecialChar menuseparator
2780 \begin_layout Standard
2781 The number of columns is specified with the option
2783 raster columns=number
2789 is the number of columns.
2790 All boxes inserted to the raster box will now automatically be output in
2791 a raster with 3 columns and their width is automatically adjusted.
2794 \begin_layout Standard
2795 \begin_inset Flex Raster Color Box
2798 \begin_layout Plain Layout
2799 \begin_inset Argument 1
2802 \begin_layout Plain Layout
2811 \begin_layout Plain Layout
2812 \begin_inset Flex Color Box
2815 \begin_layout Plain Layout
2816 \begin_inset Argument 1
2819 \begin_layout Plain Layout
2831 \begin_inset Flex Color Box
2834 \begin_layout Plain Layout
2835 \begin_inset Argument 1
2838 \begin_layout Plain Layout
2850 \begin_inset Flex Color Box
2853 \begin_layout Plain Layout
2854 \begin_inset Argument 1
2857 \begin_layout Plain Layout
2869 \begin_inset Flex Color Box
2872 \begin_layout Plain Layout
2873 \begin_inset Argument 1
2876 \begin_layout Plain Layout
2888 \begin_inset Flex Color Box
2891 \begin_layout Plain Layout
2892 \begin_inset Argument 1
2895 \begin_layout Plain Layout
2914 \begin_layout Standard
2915 For more info about options of the raster color box, please consult the
2923 \begin_inset space ~
2929 \begin_inset CommandInset citation
2938 \begin_layout Subsection
2940 \begin_inset CommandInset label
2942 name "subsec:Geometry"
2949 \begin_layout Subsubsection
2953 \begin_layout Subsubsection*
2957 \begin_layout Standard
2958 The width of the box is changed with the option
2967 The allowed units for values are listed in Appendix
2968 \begin_inset space ~
2974 \begin_inset space ~
2980 The default width is
2989 \begin_layout Standard
2990 \begin_inset Flex Color Box
2993 \begin_layout Plain Layout
2994 \begin_inset Argument 1
2997 \begin_layout Plain Layout
3004 \begin_inset space \thinspace{}
3015 \begin_layout Standard
3016 One can also set a width only for the text of the box with the option
3021 If the width is shorter than required for the text, new lines will be created
3025 \begin_layout Standard
3026 \begin_inset Flex Color Box
3029 \begin_layout Plain Layout
3030 \begin_inset Argument 1
3033 \begin_layout Plain Layout
3039 Some longer text to fill the box with a width of 4
3040 \begin_inset space \thinspace{}
3051 \begin_layout Standard
3060 ; only the last given width option is taken into account.
3063 \begin_layout Standard
3064 To extend the width of the box one must use the
3068 option and can then use the option
3075 \begin_layout Standard
3076 \begin_inset Flex Color Box
3079 \begin_layout Plain Layout
3080 \begin_inset Argument 1
3083 \begin_layout Plain Layout
3084 width=10cm, add to width=2cm
3090 \begin_inset space \thinspace{}
3093 cm wide box with additional width of 2
3094 \begin_inset space \thinspace{}
3105 \begin_layout Subsubsection*
3109 \begin_layout Standard
3110 For boxes with parts side by side one can control the width of the box parts
3134 sidebyside gap=length
3141 The allowed units for the values are listed in Appendix
3142 \begin_inset space ~
3148 \begin_inset space ~
3154 All options require of course the option
3161 \begin_layout Standard
3166 sets the space between the left and the right part:
3169 \begin_layout Standard
3170 \begin_inset Flex Color Box
3173 \begin_layout Plain Layout
3174 \begin_inset Argument 1
3177 \begin_layout Plain Layout
3178 sidebyside, sidebyside gap=2cm
3183 Upper content divided by 2
3184 \begin_inset space \thinspace{}
3190 \begin_layout Color Box Separator
3194 \begin_layout Plain Layout
3203 \begin_layout Standard
3212 set the absolute width of the left and right part, respectively:
3215 \begin_layout Standard
3216 \begin_inset Flex Color Box
3219 \begin_layout Plain Layout
3220 \begin_inset Argument 1
3223 \begin_layout Plain Layout
3224 sidebyside, lefthand width=3cm
3229 Upper content with a width of 3
3230 \begin_inset space \thinspace{}
3236 \begin_layout Color Box Separator
3240 \begin_layout Plain Layout
3249 \begin_layout Standard
3258 set the relative width of the left and right part, respectively:
3261 \begin_layout Standard
3262 \begin_inset Flex Color Box
3265 \begin_layout Plain Layout
3266 \begin_inset Argument 1
3269 \begin_layout Plain Layout
3270 sidebyside, lefthand ratio=0.3
3275 Upper content with a width of 30
3276 \begin_inset space \thinspace{}
3282 \begin_layout Color Box Separator
3286 \begin_layout Plain Layout
3295 \begin_layout Subsubsection
3297 \begin_inset CommandInset label
3299 name "subsec:Height"
3306 \begin_layout Subsubsection*
3310 \begin_layout Standard
3311 The height of the box is changed with the option
3320 The default height is the height consumed by the box content.
3323 \begin_layout Standard
3324 \begin_inset Flex Color Box
3327 \begin_layout Plain Layout
3328 \begin_inset Argument 1
3331 \begin_layout Plain Layout
3338 \begin_inset space \thinspace{}
3349 \begin_layout Standard
3350 If the specified height is smaller than the one consumed by the content,
3351 the content will be placed below the box:
3354 \begin_layout Standard
3355 \begin_inset Flex Color Box
3358 \begin_layout Plain Layout
3359 \begin_inset Argument 1
3362 \begin_layout Plain Layout
3369 \begin_inset space \thinspace{}
3380 \begin_layout Standard
3381 \begin_inset VSpace bigskip
3388 the height will automatically be set to the same value than the box width.
3391 \begin_layout Standard
3392 \begin_inset Flex Color Box
3395 \begin_layout Plain Layout
3396 \begin_inset Argument 1
3399 \begin_layout Plain Layout
3413 \begin_layout Standard
3414 \begin_inset VSpace bigskip
3417 To extend the height of the box in case the content might consume more height
3418 than expected one must use the
3422 option and can then uses the option
3427 An application would be to set a maximal possible height in case you write
3428 a book where the spacing is defined and should not be overwritten by any
3432 \begin_layout Standard
3433 \begin_inset Flex Color Box
3436 \begin_layout Plain Layout
3437 \begin_inset Argument 1
3440 \begin_layout Plain Layout
3441 height=2cm, height plus=2cm
3447 \begin_inset space \thinspace{}
3450 cm high box with additional height of 2
3451 \begin_inset space \thinspace{}
3462 \begin_layout Standard
3463 \begin_inset Flex Color Box
3466 \begin_layout Plain Layout
3467 \begin_inset Argument 1
3470 \begin_layout Plain Layout
3471 height=2cm, height plus=2cm
3477 \begin_inset space \thinspace{}
3480 cm high box with additional height of 2
3481 \begin_inset space \thinspace{}
3485 Its content consumes 3
3486 \begin_inset space \thinspace{}
3489 cm therefore the box height will also be 3
3490 \begin_inset space \thinspace{}
3495 \begin_inset space \thinspace{}
3498 cm high box with additional height of 2
3499 \begin_inset space \thinspace{}
3503 Its content consumes 3
3504 \begin_inset space \thinspace{}
3507 cm therefore the box height will also be 3
3508 \begin_inset space \thinspace{}
3513 \begin_inset space \thinspace{}
3516 cm high box with additional height of 2
3517 \begin_inset space \thinspace{}
3521 Its content consumes 3
3522 \begin_inset space \thinspace{}
3525 cm therefore the box height will also be 3
3526 \begin_inset space \thinspace{}
3537 \begin_layout Standard
3538 \begin_inset VSpace bigskip
3541 In some cases it might be useful to specify an allowed range for the height
3544 height from=min to max
3555 The height will then be at least the given minimal value or the height
3556 consumed by the content.
3557 It does not exceed the maximum, independent of the content:
3560 \begin_layout Standard
3561 \begin_inset Flex Color Box
3564 \begin_layout Plain Layout
3565 \begin_inset Argument 1
3568 \begin_layout Plain Layout
3569 height from=1cm to 3cm
3574 A box with minimal height of 1
3575 \begin_inset space \thinspace{}
3578 cm and maximal height of 3
3579 \begin_inset space \thinspace{}
3590 \begin_layout Standard
3591 \begin_inset Flex Color Box
3594 \begin_layout Plain Layout
3595 \begin_inset Argument 1
3598 \begin_layout Plain Layout
3599 height from=1cm to 3cm
3604 A box with minimal height of 1
3605 \begin_inset space \thinspace{}
3608 cm and maximal height of 3
3609 \begin_inset space \thinspace{}
3613 The content consumes more space than 3
3614 \begin_inset space \thinspace{}
3618 A box with minimal height of 1
3619 \begin_inset space \thinspace{}
3622 cm and maximal height of 3
3623 \begin_inset space \thinspace{}
3627 The content consumes more space than 3
3628 \begin_inset space \thinspace{}
3632 A box with minimal height of 1
3633 \begin_inset space \thinspace{}
3636 cm and maximal height of 3
3637 \begin_inset space \thinspace{}
3641 The content consumes more space than 3
3642 \begin_inset space \thinspace{}
3646 A box with minimal height of 1
3647 \begin_inset space \thinspace{}
3650 cm and maximal height of 3
3651 \begin_inset space \thinspace{}
3655 The content consumes more space than 3
3656 \begin_inset space \thinspace{}
3667 \begin_layout Standard
3668 \begin_inset VSpace bigskip
3673 add to height=length
3675 one can add defined height to the box.
3680 option must be added
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=1cm, add to height=1cm
3702 \begin_inset space \thinspace{}
3706 \begin_inset space \thinspace{}
3709 cm additional height.
3717 \begin_layout Standard
3718 \begin_inset VSpace bigskip
3725 one can force the box to consume the rest of the available height of the
3726 document parts where it is in.
3740 The latter works like
3744 but compresses the content of the page before the box as much as possible
3745 to maximize the box.
3746 \begin_inset Newline newline
3749 In this example the box is in the main text and therefore consumes the rest
3750 of the current page:
3753 \begin_layout Standard
3754 \begin_inset Flex Color Box
3757 \begin_layout Plain Layout
3758 \begin_inset Argument 1
3761 \begin_layout Plain Layout
3767 A box that fills the remaining height of the current page.
3775 \begin_layout Subsubsection*
3779 \begin_layout Standard
3780 One can set a height only for the text of the box with the option
3781 \begin_inset Newline newline
3791 \begin_layout Standard
3792 \begin_inset Flex Color Box
3795 \begin_layout Plain Layout
3796 \begin_inset Argument 1
3799 \begin_layout Plain Layout
3806 \begin_inset space \thinspace{}
3810 Due to the frame separation and the frame width the box height is larger
3812 \begin_inset space \thinspace{}
3823 \begin_layout Standard
3832 ; only the last given width option is taken into account.
3835 \begin_layout Standard
3836 \begin_inset VSpace bigskip
3859 one can specify how the height should be divided between the upper and
3869 is the fraction of the additional height (the specified height minus the
3870 height consumed by the content).
3871 \begin_inset Newline newline
3879 \begin_inset space \thinspace{}
3882 % of the additional space to the upper part:
3885 \begin_layout Standard
3886 \begin_inset Flex Color Box
3889 \begin_layout Plain Layout
3890 \begin_inset Argument 1
3893 \begin_layout Plain Layout
3894 height=3cm, space=0.75
3900 \begin_inset space \thinspace{}
3903 cm high box where 75 % of the additional height is set to the upper content.
3906 \begin_layout Color Box Separator
3910 \begin_layout Plain Layout
3919 \begin_layout Standard
3947 \begin_layout Standard
3948 \begin_inset Flex Color Box
3951 \begin_layout Plain Layout
3952 \begin_inset Argument 1
3955 \begin_layout Plain Layout
3956 height=3cm, space to upper
3962 \begin_inset space \thinspace{}
3965 cm high box where all additional height is set to the upper content.
3968 \begin_layout Color Box Separator
3972 \begin_layout Plain Layout
3981 \begin_layout Standard
3990 is the fraction of the complete height (not the additional height).
3991 Therefore one must be careful if e.
3992 \begin_inset space \thinspace{}
3996 \begin_inset space \space{}
3999 the upper part consumes more height than one set via
4006 \begin_layout Standard
4007 \begin_inset Flex Color Box
4010 \begin_layout Plain Layout
4011 \begin_inset Argument 1
4014 \begin_layout Plain Layout
4015 height=3cm, split=0.1
4021 \begin_inset space \thinspace{}
4024 cm high box where the height is split by 10
4025 \begin_inset space \thinspace{}
4030 \begin_inset space \thinspace{}
4033 cm high box where the height is split by 10
4034 \begin_inset space \thinspace{}
4040 \begin_layout Color Box Separator
4044 \begin_layout Plain Layout
4053 \begin_layout Standard
4054 \begin_inset VSpace bigskip
4059 equal height group=id
4061 it is possible to set the same height for all boxes in a group.
4066 is a name to reference the group.
4067 This is for example useful if one has 3
4068 \begin_inset space ~
4071 boxes side by side inside a box:
4074 \begin_layout Standard
4075 \begin_inset Flex Color Box
4078 \begin_layout Plain Layout
4079 \begin_inset Flex Color Box
4082 \begin_layout Plain Layout
4083 \begin_inset Argument 1
4086 \begin_layout Plain Layout
4087 adjusted title=ace, width=0.3
4089 columnwidth, nobeforeafter, equal height group=A
4100 \begin_inset space \hfill{}
4104 \begin_inset Flex Color Box
4107 \begin_layout Plain Layout
4108 \begin_inset Argument 1
4111 \begin_layout Plain Layout
4112 adjusted title=Grapefruit, width=0.3
4114 columnwidth, space to upper, nobeforeafter, equal height group=A
4122 \begin_layout Color Box Separator
4126 \begin_layout Plain Layout
4133 \begin_inset space \hfill{}
4137 \begin_inset Flex Color Box
4140 \begin_layout Plain Layout
4141 \begin_inset Argument 1
4144 \begin_layout Plain Layout
4145 adjusted title=, width=0.3
4147 columnwidth, nobeforeafter, equal height group=A
4152 A box with longer text.
4153 A box with longer text.
4154 A box with longer text.
4155 A box with longer text.
4156 A box with longer text.
4169 \begin_layout Standard
4170 The above example was typeset by adding the option
4172 equal height group=A
4175 \begin_inset space ~
4183 is hereby the name of the group.
4186 \begin_layout Standard
4187 If you have a title that needs only a single line, it is recommended to
4196 for all boxes to assure that the title height will be the same for all
4198 Otherwise the height would be different in the above example because
4199 \begin_inset Quotes eld
4203 \begin_inset Quotes erd
4206 needs more height than
4207 \begin_inset Quotes eld
4211 \begin_inset Quotes erd
4217 \begin_layout Subsubsection
4221 \begin_layout Standard
4222 The width of the box frame can be changed with the options
4243 Each option changes the corresponding part of the frame.
4253 The allowed units for the values are listed in Appendix
4254 \begin_inset space ~
4260 \begin_inset space ~
4266 The default length for all parts is 0.5
4267 \begin_inset space \thinspace{}
4271 To set all frame parts to the same value use the option
4278 \begin_layout Standard
4279 \begin_inset Flex Color Box
4282 \begin_layout Plain Layout
4283 \begin_inset Argument 1
4286 \begin_layout Plain Layout
4287 leftrule=3mm, rightrule=4mm, toprule=2mm, bottomrule=1mm
4293 \begin_inset space \thinspace{}
4296 mm wide left rule, 4
4297 \begin_inset space \thinspace{}
4300 mm wide right rule, 2
4301 \begin_inset space \thinspace{}
4305 \begin_inset space \thinspace{}
4316 \begin_layout Standard
4317 \begin_inset Flex Color Box
4320 \begin_layout Plain Layout
4321 \begin_inset Argument 1
4324 \begin_layout Plain Layout
4331 \begin_inset space \thinspace{}
4342 \begin_layout Standard
4343 The title rule is the separation between the title and the box content.
4346 \begin_layout Standard
4347 \begin_inset Flex Color Box
4350 \begin_layout Plain Layout
4351 \begin_inset Argument 1
4354 \begin_layout Plain Layout
4355 title=A title, titlerule=8mm, colbacktitle=blue
4361 \begin_inset space \thinspace{}
4372 \begin_layout Subsubsection
4376 \begin_layout Standard
4377 By default boxes are rectangular with rounded edges.
4378 The radius of the edges can be changed with the option
4387 The allowed units for the values are listed in Appendix
4388 \begin_inset space ~
4394 \begin_inset space ~
4407 \begin_layout Standard
4408 \begin_inset Flex Color Box
4411 \begin_layout Plain Layout
4412 \begin_inset Argument 1
4415 \begin_layout Plain Layout
4424 \begin_inset space \thinspace{}
4437 \begin_layout Standard
4442 one can set the outer radius independently:
4445 \begin_layout Standard
4446 \begin_inset Flex Color Box
4449 \begin_layout Plain Layout
4450 \begin_inset Argument 1
4453 \begin_layout Plain Layout
4454 arc=5mm, outer arc=0mm
4462 \begin_inset space \thinspace{}
4470 \begin_inset space \thinspace{}
4483 \begin_layout Standard
4484 \begin_inset Flex Color Box
4487 \begin_layout Plain Layout
4488 \begin_inset Argument 1
4491 \begin_layout Plain Layout
4492 arc=0mm, outer arc=0mm
4497 A really rectangular box (
4508 \begin_inset space \thinspace{}
4514 The same can alternatively be achieved with the option
4526 \begin_layout Standard
4527 \begin_inset VSpace bigskip
4530 The general shape can be changed with the options
4545 \begin_layout Standard
4550 sets the edge radius to half of the box width.
4551 It is therefore required to specify at least the width.
4554 \begin_layout Standard
4555 \begin_inset Flex Color Box
4558 \begin_layout Plain Layout
4559 \begin_inset Argument 1
4562 \begin_layout Plain Layout
4563 width=3.5cm, circular arc
4569 \begin_inset space \thinspace{}
4572 cm wide circular arc box.
4580 \begin_layout Standard
4581 As you can see circular arc box looks ugly when the box is wider than high.
4582 It is therefore recommended to add the option
4587 \begin_inset CommandInset ref
4589 reference "subsec:Height"
4593 , to get the same width and height.
4594 The result is a perfect circle.
4595 To center the text in the box use the text alignment options described
4597 \begin_inset CommandInset ref
4599 reference "subsec:Alignment"
4606 \begin_layout Standard
4607 \begin_inset Flex Color Box
4610 \begin_layout Plain Layout
4611 \begin_inset Argument 1
4614 \begin_layout Plain Layout
4615 width=4cm, square, valign=center, circular arc
4621 \begin_inset space \thinspace{}
4624 cm wide circular arc box.
4632 \begin_layout Standard
4637 sets the edge radius to half of the minimum of the box width and height.
4638 The result is a semicircle.
4643 requires the options
4658 \begin_layout Standard
4659 \begin_inset Flex Color Box
4662 \begin_layout Plain Layout
4663 \begin_inset Argument 1
4666 \begin_layout Plain Layout
4667 width=3.5cm, height=5cm, bean arc, nobeforeafter, valign=center
4673 \begin_inset space \thinspace{}
4677 \begin_inset space \thinspace{}
4690 \begin_inset Flex Color Box
4693 \begin_layout Plain Layout
4694 \begin_inset Argument 1
4697 \begin_layout Plain Layout
4698 width=5cm, height=3.5cm, bean arc, nobeforeafter, valign=center
4704 \begin_inset space \thinspace{}
4708 \begin_inset space \thinspace{}
4723 \begin_layout Standard
4724 Using bean arc for a square box leads to the same result as
4731 \begin_layout Standard
4732 \begin_inset Flex Color Box
4735 \begin_layout Plain Layout
4736 \begin_inset Argument 1
4739 \begin_layout Plain Layout
4740 width=4cm, square, bean arc, valign=center
4746 \begin_inset space \thinspace{}
4749 cm wide, square box as bean arc.
4757 \begin_layout Standard
4762 is useful to get an octagon.
4763 For an octagon one needs a square box and the option
4770 \begin_layout Standard
4771 \begin_inset Flex Color Box
4774 \begin_layout Plain Layout
4775 \begin_inset Argument 1
4778 \begin_layout Plain Layout
4779 width=4cm, square, octogon arc, valign=center, arc is angular
4785 \begin_inset space \thinspace{}
4788 cm wide, square box with
4800 \begin_layout Standard
4801 \begin_inset Note Greyedout
4804 \begin_layout Plain Layout
4813 is experimental and might cause problems on some \SpecialChar LaTeX
4822 \begin_layout Standard
4823 \begin_inset VSpace bigskip
4826 It is also possible to change only some of the box edges.
4827 To make an edge a corner there is the option
4829 sharp corners=position
4835 is the position of the edge.
4852 change only the corresponding edge.
4855 \begin_layout Standard
4856 \begin_inset Flex Color Box
4859 \begin_layout Plain Layout
4860 \begin_inset Argument 1
4863 \begin_layout Plain Layout
4864 sharp corners=northeast
4869 A box with a corner at the upper right (
4881 \begin_layout Standard
4907 \begin_inset space ~
4913 \begin_layout Standard
4914 \begin_inset Flex Color Box
4917 \begin_layout Plain Layout
4918 \begin_inset Argument 1
4921 \begin_layout Plain Layout
4924 columnwidth,sharp corners=east, nobeforeafter
4930 \begin_inset space ~
4933 corners at the right (
4943 \begin_inset space \hfill{}
4947 \begin_inset Flex Color Box
4950 \begin_layout Plain Layout
4951 \begin_inset Argument 1
4954 \begin_layout Plain Layout
4957 columnwidth,sharp corners=uphill, nobeforeafter
4963 \begin_inset space ~
4966 corners, one at the lower left, one at the upper right (
4978 \begin_layout Standard
4986 \begin_layout Subsection
4988 \begin_inset CommandInset label
4990 name "subsec:Alignment"
4997 \begin_layout Subsubsection
5001 \begin_layout Standard
5006 sets the alignment for the whole box content if there are not box parts,
5007 otherwise the options
5020 is one of the following:
5023 \begin_layout Description
5024 right the content is right-aligned
5025 \begin_inset Flex Color Box
5028 \begin_layout Plain Layout
5029 \begin_inset Argument 1
5032 \begin_layout Plain Layout
5038 A right-aligned box.
5046 \begin_layout Description
5047 left the content is left-aligned
5048 \begin_inset Flex Color Box
5051 \begin_layout Plain Layout
5052 \begin_inset Argument 1
5055 \begin_layout Plain Layout
5069 \begin_layout Description
5070 center the content is centered
5071 \begin_inset Flex Color Box
5074 \begin_layout Plain Layout
5075 \begin_inset Argument 1
5078 \begin_layout Plain Layout
5084 A horizontally centered box.
5092 \begin_layout Description
5093 justify the content is justified (is the default value)
5094 \begin_inset Flex Color Box
5097 \begin_layout Plain Layout
5098 \begin_inset Argument 1
5101 \begin_layout Plain Layout
5115 \begin_layout Standard
5116 An example with box parts:
5117 \begin_inset Flex Color Box
5120 \begin_layout Plain Layout
5121 \begin_inset Argument 1
5124 \begin_layout Plain Layout
5125 halign upper=left, halign lower=center
5130 Upper content left-aligned
5133 \begin_layout Color Box Separator
5137 \begin_layout Plain Layout
5138 Lower content centered
5146 \begin_layout Standard
5147 The title alignment can be changed with the option
5154 \begin_layout Standard
5155 \begin_inset Flex Color Box
5158 \begin_layout Plain Layout
5159 \begin_inset Argument 1
5162 \begin_layout Plain Layout
5163 title=A right-aligned title, halign title=right, halign upper=left, halign
5169 Upper content left-aligned
5172 \begin_layout Color Box Separator
5176 \begin_layout Plain Layout
5177 Lower content centered
5185 \begin_layout Subsubsection
5189 \begin_layout Standard
5190 The vertical alignment can only be changed if the box height is explicitly
5191 set larger than the height consumed by the box content.
5193 \begin_inset CommandInset ref
5195 reference "subsec:Height"
5202 \begin_layout Standard
5207 sets the alignment for the whole box content if there are no box parts,
5208 otherwise the options
5221 is one of the following:
5224 \begin_layout Description
5225 top the content is top-aligned
5226 \begin_inset Flex Color Box
5229 \begin_layout Plain Layout
5230 \begin_inset Argument 1
5233 \begin_layout Plain Layout
5234 height=2cm, valign=top
5247 \begin_layout Description
5248 bottom the content is bottom-aligned
5249 \begin_inset Flex Color Box
5252 \begin_layout Plain Layout
5253 \begin_inset Argument 1
5256 \begin_layout Plain Layout
5257 height=2cm, valign=bottom
5262 A bottom-aligned box.
5270 \begin_layout Description
5271 center the content is vertically centered
5272 \begin_inset Flex Color Box
5275 \begin_layout Plain Layout
5276 \begin_inset Argument 1
5279 \begin_layout Plain Layout
5280 height=2cm, valign=center
5285 A vertically centered box.
5293 \begin_layout Description
5294 scale the content is vertically scaled to fit the height
5295 \begin_inset Flex Color Box
5298 \begin_layout Plain Layout
5299 \begin_inset Argument 1
5302 \begin_layout Plain Layout
5303 height=2cm, valign=scale
5308 A box with scaled content.
5316 \begin_layout Standard
5317 An example with box parts:
5320 \begin_layout Standard
5321 \begin_inset Flex Color Box
5324 \begin_layout Plain Layout
5325 \begin_inset Argument 1
5328 \begin_layout Plain Layout
5329 height=4cm, space=0.5, valign upper=bottom, valign lower=center
5334 Upper content bottom-aligned
5337 \begin_layout Color Box Separator
5341 \begin_layout Plain Layout
5342 Lower content centered
5350 \begin_layout Subsection
5354 \begin_layout Standard
5355 The font changing options have the syntax
5363 are \SpecialChar LaTeX
5364 's font changing commands.
5365 For example the code
5366 \begin_inset Newline newline
5380 \begin_inset Newline newline
5383 makes the font sans-serif, bold and increases the font size to the level
5393 \begin_layout Subsubsection
5397 \begin_layout Standard
5398 The title font can be changed with the option
5405 \begin_layout Standard
5406 \begin_inset Flex Color Box
5409 \begin_layout Plain Layout
5410 \begin_inset Argument 1
5413 \begin_layout Plain Layout
5414 title=A title, fonttitle=
5433 \begin_layout Subsubsection
5437 \begin_layout Standard
5438 The font for the upper and lower part text can be changed with the options
5450 \begin_layout Standard
5451 \begin_inset Flex Color Box
5454 \begin_layout Plain Layout
5455 \begin_inset Argument 1
5458 \begin_layout Plain Layout
5459 title=A title, fontupper=
5461 ttfamily, fontlower=
5468 Changed upper text font
5471 \begin_layout Color Box Separator
5475 \begin_layout Plain Layout
5476 Changed lower text font
5484 \begin_layout Subsection
5486 \begin_inset CommandInset label
5495 \begin_layout Standard
5496 The color is specified in one of these schemes:
5499 \begin_layout Enumerate
5505 \begin_inset VSpace 3mm
5509 \begin_inset Newline newline
5517 \begin_inset Newline newline
5521 \begin_inset space \thinspace{}
5525 \begin_inset Newline newline
5529 \begin_inset Flex Color Box
5532 \begin_layout Plain Layout
5533 \begin_inset Argument 1
5536 \begin_layout Plain Layout
5548 \begin_inset VSpace defskip
5554 \begin_layout Enumerate
5560 \begin_inset VSpace 3mm
5564 \begin_inset Newline newline
5572 \begin_inset Newline newline
5576 \begin_inset space \thinspace{}
5580 \begin_inset Newline newline
5584 \begin_inset space \thinspace{}
5588 \begin_inset Quotes eld
5592 \begin_inset Quotes erd
5596 \begin_inset Newline newline
5600 \begin_inset Flex Color Box
5603 \begin_layout Plain Layout
5604 \begin_inset Argument 1
5607 \begin_layout Plain Layout
5619 \begin_inset VSpace defskip
5625 \begin_layout Enumerate
5628 Name1!PercentOfName1!Name2
5631 \begin_inset VSpace 3mm
5635 \begin_inset Newline newline
5643 \begin_inset Newline newline
5647 \begin_inset space \thinspace{}
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
5691 Name1!PercentName1!Name2!PercentName3!Name3
5694 \begin_inset VSpace 3mm
5698 \begin_inset Newline newline
5703 red!71.4!green!70!blue
5706 \begin_inset Newline newline
5710 \begin_inset Formula $1-0.70=30\,$
5714 \begin_inset Newline newline
5718 \begin_inset Formula $\left(1-0.714\right)\cdot0.70=20.02\thinspace$
5722 \begin_inset Newline newline
5726 \begin_inset Formula $0.714\cdot0.70=49.98\thinspace$
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
5742 colback=red!71.4!green!70!blue
5747 red!71.4!green!70!blue
5753 \begin_inset VSpace defskip
5759 \begin_layout Standard
5760 The possible color names are:
5763 \begin_layout Standard
5765 \begin_inset Tabular
5766 <lyxtabular version="3" rows="4" columns="5">
5767 <features tabularvalignment="middle">
5768 <column alignment="left" valignment="top" width="18col%">
5769 <column alignment="left" valignment="top" width="18col%">
5770 <column alignment="left" valignment="top" width="18col%">
5771 <column alignment="left" valignment="top" width="18col%">
5772 <column alignment="left" valignment="top" width="18col%">
5774 <cell alignment="left" valignment="top" usebox="none">
5777 \begin_layout Plain Layout
5781 \begin_layout Plain Layout
5794 \begin_layout Plain Layout
5802 \begin_inset Phantom Phantom
5805 \begin_layout Plain Layout
5815 \begin_layout Plain Layout
5827 <cell alignment="left" valignment="top" usebox="none">
5830 \begin_layout Plain Layout
5834 \begin_layout Plain Layout
5847 \begin_layout Plain Layout
5855 \begin_inset Phantom Phantom
5858 \begin_layout Plain Layout
5868 \begin_layout Plain Layout
5880 <cell alignment="left" valignment="top" usebox="none">
5883 \begin_layout Plain Layout
5887 \begin_layout Plain Layout
5900 \begin_layout Plain Layout
5908 \begin_inset Phantom Phantom
5911 \begin_layout Plain Layout
5921 \begin_layout Plain Layout
5933 <cell alignment="left" valignment="top" usebox="none">
5936 \begin_layout Plain Layout
5940 \begin_layout Plain Layout
5953 \begin_layout Plain Layout
5961 \begin_inset Phantom Phantom
5964 \begin_layout Plain Layout
5974 \begin_layout Plain Layout
5986 <cell alignment="left" valignment="top" usebox="none">
5989 \begin_layout Plain Layout
5993 \begin_layout Plain Layout
6006 \begin_layout Plain Layout
6014 \begin_inset Phantom Phantom
6017 \begin_layout Plain Layout
6027 \begin_layout Plain Layout
6041 <cell alignment="left" valignment="top" usebox="none">
6044 \begin_layout Plain Layout
6048 \begin_layout Plain Layout
6061 \begin_layout Plain Layout
6069 \begin_inset Phantom Phantom
6072 \begin_layout Plain Layout
6082 \begin_layout Plain Layout
6094 <cell alignment="left" valignment="top" usebox="none">
6097 \begin_layout Plain Layout
6101 \begin_layout Plain Layout
6114 \begin_layout Plain Layout
6122 \begin_inset Phantom Phantom
6125 \begin_layout Plain Layout
6135 \begin_layout Plain Layout
6147 <cell alignment="left" valignment="top" usebox="none">
6150 \begin_layout Plain Layout
6154 \begin_layout Plain Layout
6167 \begin_layout Plain Layout
6175 \begin_inset Phantom Phantom
6178 \begin_layout Plain Layout
6188 \begin_layout Plain Layout
6200 <cell alignment="left" valignment="top" usebox="none">
6203 \begin_layout Plain Layout
6207 \begin_layout Plain Layout
6220 \begin_layout Plain Layout
6228 \begin_inset Phantom Phantom
6231 \begin_layout Plain Layout
6241 \begin_layout Plain Layout
6253 <cell alignment="left" valignment="top" usebox="none">
6256 \begin_layout Plain Layout
6260 \begin_layout Plain Layout
6273 \begin_layout Plain Layout
6281 \begin_inset Phantom Phantom
6284 \begin_layout Plain Layout
6294 \begin_layout Plain Layout
6308 <cell alignment="left" valignment="top" usebox="none">
6311 \begin_layout Plain Layout
6315 \begin_layout Plain Layout
6328 \begin_layout Plain Layout
6336 \begin_inset Phantom Phantom
6339 \begin_layout Plain Layout
6349 \begin_layout Plain Layout
6361 <cell alignment="left" valignment="top" usebox="none">
6364 \begin_layout Plain Layout
6368 \begin_layout Plain Layout
6381 \begin_layout Plain Layout
6389 \begin_inset Phantom Phantom
6392 \begin_layout Plain Layout
6402 \begin_layout Plain Layout
6414 <cell alignment="left" valignment="top" usebox="none">
6417 \begin_layout Plain Layout
6421 \begin_layout Plain Layout
6434 \begin_layout Plain Layout
6442 \begin_inset Phantom Phantom
6445 \begin_layout Plain Layout
6455 \begin_layout Plain Layout
6467 <cell alignment="left" valignment="top" usebox="none">
6470 \begin_layout Plain Layout
6474 \begin_layout Plain Layout
6487 \begin_layout Plain Layout
6495 \begin_inset Phantom Phantom
6498 \begin_layout Plain Layout
6508 \begin_layout Plain Layout
6520 <cell alignment="left" valignment="top" usebox="none">
6523 \begin_layout Plain Layout
6527 \begin_layout Plain Layout
6540 \begin_layout Plain Layout
6548 \begin_inset Phantom Phantom
6551 \begin_layout Plain Layout
6561 \begin_layout Plain Layout
6575 <cell alignment="left" valignment="top" usebox="none">
6578 \begin_layout Plain Layout
6582 \begin_layout Plain Layout
6595 \begin_layout Plain Layout
6603 \begin_inset Phantom Phantom
6606 \begin_layout Plain Layout
6616 \begin_layout Plain Layout
6628 <cell alignment="left" valignment="top" usebox="none">
6631 \begin_layout Plain Layout
6635 \begin_layout Plain Layout
6648 \begin_layout Plain Layout
6656 \begin_inset Phantom Phantom
6659 \begin_layout Plain Layout
6669 \begin_layout Plain Layout
6681 <cell alignment="left" valignment="top" usebox="none">
6684 \begin_layout Plain Layout
6688 \begin_layout Plain Layout
6701 \begin_layout Plain Layout
6709 \begin_inset Phantom Phantom
6712 \begin_layout Plain Layout
6722 \begin_layout Plain Layout
6734 <cell alignment="left" valignment="top" usebox="none">
6737 \begin_layout Plain Layout
6741 \begin_layout Plain Layout
6754 \begin_layout Plain Layout
6762 \begin_inset Phantom Phantom
6765 \begin_layout Plain Layout
6775 \begin_layout Plain Layout
6787 <cell alignment="left" valignment="top" usebox="none">
6790 \begin_layout Plain Layout
6804 \begin_layout Standard
6805 , and the ones listed in Appendix
6806 \begin_inset space ~
6812 \begin_inset space ~
6820 \begin_layout Subsubsection
6824 \begin_layout Standard
6825 The background color is changed with the option
6832 \begin_layout Standard
6833 \begin_inset Flex Color Box
6836 \begin_layout Plain Layout
6837 \begin_inset Argument 1
6840 \begin_layout Plain Layout
6841 colback=red!66!green!70!blue
6854 \begin_layout Subsubsection
6858 \begin_layout Standard
6859 The frame color is changed with the option
6866 \begin_layout Standard
6867 \begin_inset Flex Color Box
6870 \begin_layout Plain Layout
6871 \begin_inset Argument 1
6874 \begin_layout Plain Layout
6875 colframe=red!30!blue
6888 \begin_layout Subsubsection
6892 \begin_layout Standard
6893 The title background color is changed with the option
6900 \begin_layout Standard
6901 \begin_inset Flex Color Box
6904 \begin_layout Plain Layout
6905 \begin_inset Argument 1
6908 \begin_layout Plain Layout
6909 title=A title, colbacktitle=green!30
6914 Title background color
6922 \begin_layout Subsubsection
6924 \begin_inset CommandInset label
6926 name "subsec:Title-text"
6933 \begin_layout Standard
6934 The color for the title text is changed with the option
6941 \begin_layout Standard
6942 \begin_inset Flex Color Box
6945 \begin_layout Plain Layout
6946 \begin_inset Argument 1
6949 \begin_layout Plain Layout
6950 title=A title, coltitle=orange
6958 \begin_layout Plain Layout
6959 \begin_inset Flex Subtitle
6962 \begin_layout Plain Layout
6971 \begin_layout Plain Layout
6980 \begin_layout Subsubsection
6984 \begin_layout Standard
6985 The color for the complete text is changed with the option
6992 \begin_layout Standard
6993 \begin_inset Flex Color Box
6996 \begin_layout Plain Layout
6997 \begin_inset Argument 1
7000 \begin_layout Plain Layout
7014 \begin_layout Subsubsection
7015 Upper and lower text
7018 \begin_layout Standard
7019 The color for the upper and lower part text is changed with the option
7030 \begin_layout Standard
7031 \begin_inset Flex Color Box
7034 \begin_layout Plain Layout
7035 \begin_inset Argument 1
7038 \begin_layout Plain Layout
7039 colupper=green!30!blue, collower=green!70!blue
7047 \begin_layout Color Box Separator
7051 \begin_layout Plain Layout
7060 \begin_layout Standard
7061 \begin_inset Newpage newpage
7067 \begin_layout Subsection
7069 \begin_inset CommandInset label
7071 name "subsec:Shadows"
7078 \begin_layout Standard
7079 Boxes can only be decorated with shadows if a skin is specified, see
7080 \begin_inset CommandInset ref
7082 reference "subsec:Enhanced"
7089 \begin_layout Subsubsection
7093 \begin_layout Standard
7094 A shadow is added with the box option
7102 is a color name or definition, see
7103 \begin_inset CommandInset ref
7105 reference "subsec:Color"
7110 One can omit the color, the shadow color is then black!50!white.
7115 creates a semi-transparent shadow.
7118 \begin_layout Standard
7119 \begin_inset Flex Color Box
7122 \begin_layout Plain Layout
7123 \begin_inset Argument 1
7126 \begin_layout Plain Layout
7127 enhanced, drop shadow, nobeforeafter
7140 \begin_layout Standard
7141 \begin_inset VSpace defskip
7145 \begin_inset Flex Color Box
7148 \begin_layout Plain Layout
7149 \begin_inset Argument 1
7152 \begin_layout Plain Layout
7153 enhanced, drop fuzzy shadow=purple, nobeforeafter
7158 A box with a fuzzy, purple shadow
7166 \begin_layout Standard
7167 The default shadow is placed right below the box.
7168 For other shadow placements have a look at section
7177 \begin_inset CommandInset citation
7186 \begin_layout Subsubsection
7190 \begin_layout Standard
7191 A halo is added with the box option
7193 halo=size with color
7203 is a color name or definition.
7204 One can omit the size and color, the halo is then 0.9
7205 \begin_inset space \thinspace{}
7208 mm thick and has the color yellow.
7209 Note that one cannot omit only the size or color, either both is omitted
7210 or both is specified.
7215 creates a semi-transparent halo.
7218 \begin_layout Standard
7219 \begin_inset Flex Color Box
7222 \begin_layout Plain Layout
7223 \begin_inset Argument 1
7226 \begin_layout Plain Layout
7227 enhanced, halo, nobeforeafter
7240 \begin_layout Standard
7241 \begin_inset VSpace defskip
7247 \begin_layout Standard
7248 \begin_inset Flex Color Box
7251 \begin_layout Plain Layout
7252 \begin_inset Argument 1
7255 \begin_layout Plain Layout
7256 enhanced, fuzzy halo=5mm with green, nobeforeafter
7262 \begin_inset space \thinspace{}
7265 mm thick, green fuzzy halo
7273 \begin_layout Subsubsection
7277 \begin_layout Standard
7278 Generic shadows/halos can be created with the box option
7287 For a brief description of these options consult section
7296 \begin_inset CommandInset citation
7305 \begin_layout Standard
7306 \begin_inset Flex Color Box
7309 \begin_layout Plain Layout
7310 \begin_inset Argument 1
7313 \begin_layout Plain Layout
7314 enhanced, title=Double shadow, shadow={-2.5mm}{-2.5mm}{0mm}{fill=blue, opacity=0.25
7315 }, shadow={1.5mm}{1.5mm}{0mm}{fill=red, opacity=0.25}
7321 \begin_inset space ~
7332 \begin_layout Bibliography
7333 \begin_inset CommandInset bibitem
7334 LatexCommand bibitem
7340 \begin_inset CommandInset href
7342 name "Documentation"
7343 target "http://mirrors.ctan.org/macros/latex/contrib/tcolorbox/tcolorbox.pdf"
7347 of the \SpecialChar LaTeX