1 #LyX 2.2 created this file. For more info see http://www.lyx.org/
5 \save_transient_properties true
6 \origin /systemlyxdir/examples/
13 % set fonts for nicer pdf view
14 \IfFileExists{lmodern.sty}
15 {\usepackage{lmodern}}{}
17 \fi % end if pdflatex is used
19 \@ifpackageloaded{babel}{
20 % increase link area for cross-references and autoname them,
21 \AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1}}}}
22 \@ifundefined{extrasenglish}{\usepackage[english]{babel}}{}
23 \addto\extrasenglish{%
24 \renewcommand*{\equationautorefname}[1]{}%
25 \renewcommand{\sectionautorefname}{sec.\negthinspace}%
26 \renewcommand{\subsectionautorefname}{sec.\negthinspace}%
27 \renewcommand{\subsubsectionautorefname}{sec.\negthinspace}%
31 \options BCOR8mm, most, usenames, dvipsnames
32 \use_default_options false
36 \maintain_unincluded_children false
38 \language_package default
41 \font_roman "default" "default"
42 \font_sans "default" "default"
43 \font_typewriter "default" "default"
44 \font_math "auto" "auto"
45 \font_default_family default
46 \use_non_tex_fonts false
49 \font_sf_scale 100 100
50 \font_tt_scale 100 100
52 \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
1240 \begin_inset Argument 2
1243 \begin_layout Plain Layout
1250 \begin_inset Argument 3
1253 \begin_layout Plain Layout
1260 \begin_inset Argument 4
1263 \begin_layout Plain Layout
1269 enhanced, frame style={left color=red!75!black, right color=blue!75!black},
1270 interior style={left color=red!20!white, right color=yellow!50!white},
1274 \begin_layout Standard
1275 This way you defined the box type
1278 \begin_inset space ~
1282 \begin_inset space ~
1286 \begin_inset space ~
1292 Boxes of this type will look like this:
1295 \begin_layout Standard
1296 \begin_inset Flex Custom Color Box 1
1299 \begin_layout Plain Layout
1300 \begin_inset Argument 1
1303 \begin_layout Plain Layout
1317 \begin_layout Standard
1318 \begin_inset VSpace bigskip
1322 \begin_inset Newline newline
1325 Assuming you need a box type that can be numbered, you insert
1328 \begin_layout Standard
1331 auto counter, number within=section
1334 \begin_layout Standard
1346 \begin_inset space ~
1350 \begin_inset space ~
1354 \begin_inset space ~
1380 \begin_layout Standard
1383 colback=red!5!white, colframe=red!75!black, title=Example~
1388 \begin_layout Standard
1389 into the environment.
1390 This predefines a title prefix.
1397 is hereby the counter of colored boxes.
1401 \begin_inset space ~
1405 \begin_inset space ~
1409 \begin_inset space ~
1414 you specify the title via the options inset:
1417 \begin_layout New Color Box Type
1418 \begin_inset Argument 1
1421 \begin_layout Plain Layout
1422 auto counter, number within=section
1428 \begin_inset Argument 2
1431 \begin_layout Plain Layout
1438 \begin_inset Argument 3
1441 \begin_layout Plain Layout
1448 \begin_inset Argument 4
1451 \begin_layout Plain Layout
1457 colback=red!5!white, colframe=red!75!black, title=Example~
1462 \begin_layout Standard
1463 \begin_inset Flex Custom Color Box 2
1466 \begin_layout Plain Layout
1467 \begin_inset Argument 1
1470 \begin_layout Plain Layout
1471 Custom numbered title
1484 \begin_layout Standard
1485 Note that you must not write
1489 because this is already done in the definition.
1492 \begin_layout Standard
1493 You can still customize the box by adding options
1500 \begin_layout Standard
1501 \begin_inset Flex Custom Color Box 2
1504 \begin_layout Plain Layout
1505 \begin_inset Argument 1
1508 \begin_layout Plain Layout
1509 Bold numbered title, colback=lime, fonttitle=
1524 \begin_layout Standard
1525 \begin_inset VSpace bigskip
1528 At last a more advanced example:
1529 \begin_inset Newline newline
1532 Assuming you need the type we just defined as
1535 \begin_inset space ~
1539 \begin_inset space ~
1543 \begin_inset space ~
1548 but want to add more than one option.
1549 This is for example useful for options that require another option before
1550 in the options list.
1551 \begin_inset Newline newline
1557 \begin_layout Standard
1560 auto counter, number within=section
1563 \begin_layout Standard
1575 \begin_inset space ~
1579 \begin_inset space ~
1583 \begin_inset space ~
1599 \begin_inset space ~
1614 \begin_layout Standard
1617 nobeforeafter, width=#1, square, colframe=orange!50!black,
1618 \begin_inset Newline newline
1626 \begin_layout Standard
1627 into the environment.
1631 \begin_inset space ~
1635 \begin_inset space ~
1639 \begin_inset space ~
1644 you specify the width via the
1648 inset and the title (and further options if you like) via the
1650 More Color Box Options
1655 \begin_layout New Color Box Type
1656 \begin_inset Argument 1
1659 \begin_layout Plain Layout
1660 auto counter, number within=section
1666 \begin_inset Argument 2
1669 \begin_layout Plain Layout
1676 \begin_inset Argument 3
1679 \begin_layout Plain Layout
1686 \begin_inset Argument 4
1689 \begin_layout Plain Layout
1695 nobeforeafter, width=#1, square, colframe=orange!50!black, title=Example~
1700 \begin_layout Standard
1701 \begin_inset Flex Custom Color Box 3
1704 \begin_layout Plain Layout
1705 \begin_inset Argument 1
1708 \begin_layout Plain Layout
1715 \begin_inset Argument 2
1718 \begin_layout Plain Layout
1725 \begin_inset space \thinspace{}
1728 cm wide custom color box 3
1734 \begin_inset Flex Custom Color Box 3
1737 \begin_layout Plain Layout
1738 \begin_inset Argument 1
1741 \begin_layout Plain Layout
1748 \begin_inset Argument 2
1751 \begin_layout Plain Layout
1758 \begin_inset space \thinspace{}
1761 cm wide custom color box 3 with the
1773 \begin_layout Subsection
1777 \begin_layout Standard
1778 The \SpecialChar LaTeX
1783 provides different skins.
1784 For a full list, see the
1791 \begin_inset space ~
1797 \begin_inset CommandInset citation
1804 Only the most important skins are listed in the following.
1807 \begin_layout Subsubsection
1809 \begin_inset CommandInset label
1811 name "subsec:Enhanced"
1818 \begin_layout Standard
1819 This skin is enabled by adding the option enhanced.
1820 Without further options it looks like the standard skin.
1821 Its advantage are some extra features like the customization of lines,
1823 \begin_inset CommandInset ref
1825 reference "subsec:Lines"
1829 or the ability to have shadows, see
1830 \begin_inset CommandInset ref
1832 reference "subsec:Shadows"
1837 Another feature is a nicer style of breakable boxes:
1840 \begin_layout Standard
1841 \begin_inset Flex Color Box
1844 \begin_layout Plain Layout
1845 \begin_inset Argument 1
1848 \begin_layout Plain Layout
1853 breakable box, breakable, enhanced
1858 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1859 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1861 At vero eos et accusam et justo duo dolores et ea rebum.
1862 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1864 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1865 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1867 At vero eos et accusam et justo duo dolores et ea rebum.
1868 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1870 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1871 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1873 At vero eos et accusam et justo duo dolores et ea rebum.
1874 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1876 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1877 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1879 At vero eos et accusam et justo duo dolores et ea rebum.
1880 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1882 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1883 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1885 At vero eos et accusam et justo duo dolores et ea rebum.
1886 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1888 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1889 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1891 At vero eos et accusam et justo duo dolores et ea rebum.
1892 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1894 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1895 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1897 At vero eos et accusam et justo duo dolores et ea rebum.
1898 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1900 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1901 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1903 At vero eos et accusam et justo duo dolores et ea rebum.
1904 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1906 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1907 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1909 At vero eos et accusam et justo duo dolores et ea rebum.
1910 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1912 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1913 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1915 At vero eos et accusam et justo duo dolores et ea rebum.
1916 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1925 \begin_layout Standard
1926 Another feature you might like is to add color gradients with the options
1937 \begin_inset Newline newline
1942 frame style={left color=color, right color=color}
1943 \begin_inset Newline newline
1952 is a color name or definition, see
1953 \begin_inset CommandInset ref
1955 reference "subsec:Color"
1962 \begin_layout Standard
1963 \begin_inset Flex Color Box
1966 \begin_layout Plain Layout
1967 \begin_inset Argument 1
1970 \begin_layout Plain Layout
1975 box with a color gradient, enhanced, frame style={left color=red!75!black,
1976 right color=blue!75!black}, interior style={left color=red!20!white, right
1977 color=yellow!50!white}
1985 \begin_layout Color Box Separator
1989 \begin_layout Plain Layout
1998 \begin_layout Standard
1999 Alternatively one can use a PNG image as background for boxes with the option
2002 frame style image=file name
2007 \begin_inset space ~
2012 is the file name of the image.
2015 \begin_layout Subsubsection
2019 \begin_layout Standard
2020 With this skin the lower content gets another background color than the
2024 \begin_layout Standard
2025 \begin_inset Flex Color Box
2028 \begin_layout Plain Layout
2029 \begin_inset Argument 1
2032 \begin_layout Plain Layout
2033 title=A box with the skin
2045 \begin_layout Color Box Separator
2049 \begin_layout Plain Layout
2058 \begin_layout Standard
2059 The color of the lower part can be changed with the option
2065 \begin_inset CommandInset ref
2067 reference "subsec:Color"
2071 for color customization.
2074 \begin_layout Subsubsection
2076 \begin_inset CommandInset label
2078 name "subsec:Beamer"
2085 \begin_layout Standard
2086 This is a skin that simulates the appearance of the beamer presentation
2088 Its appearance can be changed like for the enhanced skin,
2089 \begin_inset CommandInset ref
2091 reference "subsec:Enhanced"
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, beamer, frame style={left color=red!75!black,
2112 right color=blue!75!black}
2120 \begin_layout Color Box Separator
2124 \begin_layout Plain Layout
2133 \begin_layout Subsubsection
2137 \begin_layout Standard
2138 This skin is like the standard skin but the background colors are automatically
2142 \begin_layout Standard
2143 \begin_inset Flex Color Box
2146 \begin_layout Plain Layout
2147 \begin_inset Argument 1
2150 \begin_layout Plain Layout
2163 \begin_layout Color Box Separator
2167 \begin_layout Plain Layout
2176 \begin_layout Subsubsection
2180 \begin_layout Standard
2181 This skin has no colors.
2182 To make the title visible (because it is by default white) you have to
2183 change its color, see
2184 \begin_inset CommandInset ref
2186 reference "subsec:Title-text"
2193 \begin_layout Standard
2194 \begin_inset Flex Color Box
2197 \begin_layout Plain Layout
2198 \begin_inset Argument 1
2201 \begin_layout Plain Layout
2202 title=A box with the
2206 skin, empty, coltitle=orange
2214 \begin_layout Color Box Separator
2218 \begin_layout Plain Layout
2227 \begin_layout Subsection
2231 \begin_layout Subsubsection
2235 \begin_layout Standard
2236 Normally the boxes are a paragraph of its own.
2237 They will therefore appear by default one upon another separated by vertical
2239 To change this behavior, to place for example boxes side by side, use the
2249 By default there is a paragraph break before and after the box.
2250 By using the options
2254 nothing will be added besides the boxes so that they can be places side
2258 \begin_layout Standard
2259 \begin_inset Flex Color Box
2262 \begin_layout Plain Layout
2263 \begin_inset Argument 1
2266 \begin_layout Plain Layout
2267 width=3cm, square, valign=center, before=, after=
2273 \begin_inset space \thinspace{}
2276 cm wide, square box.
2282 \begin_inset Flex Color Box
2285 \begin_layout Plain Layout
2286 \begin_inset Argument 1
2289 \begin_layout Plain Layout
2290 width=3cm, square, valign=center, before=, after=
2296 \begin_inset space \thinspace{}
2299 cm wide, square box.
2305 \begin_inset Flex Color Box
2308 \begin_layout Plain Layout
2309 \begin_inset Argument 1
2312 \begin_layout Plain Layout
2313 width=3cm, square, valign=center, before=, after=
2319 \begin_inset space \thinspace{}
2322 cm wide, square box.
2330 \begin_layout Standard
2335 is an alternative for
2342 \begin_layout Standard
2343 To separate the boxes one can use the normal \SpecialChar LyX
2344 spacing features like a horizontal
2348 \begin_layout Standard
2349 \begin_inset space \hfill{}
2353 \begin_inset Flex Color Box
2356 \begin_layout Plain Layout
2357 \begin_inset Argument 1
2360 \begin_layout Plain Layout
2361 width=3cm, square, valign=center, nobeforeafter
2367 \begin_inset space \thinspace{}
2370 cm wide, square box.
2376 \begin_inset space \hfill{}
2380 \begin_inset Flex Color Box
2383 \begin_layout Plain Layout
2384 \begin_inset Argument 1
2387 \begin_layout Plain Layout
2388 width=3cm, square, valign=center, nobeforeafter
2394 \begin_inset space \thinspace{}
2397 cm wide, square box.
2403 \begin_inset space \hfill{}
2407 \begin_inset Flex Color Box
2410 \begin_layout Plain Layout
2411 \begin_inset Argument 1
2414 \begin_layout Plain Layout
2415 width=3cm, square, valign=center, nobeforeafter
2421 \begin_inset space \thinspace{}
2424 cm wide, square box.
2430 \begin_inset space \hfill{}
2436 \begin_layout Standard
2437 If you prefer \SpecialChar TeX
2438 code you can alternatively use the option
2444 to add a a horizontal fill.
2447 \begin_layout Subsubsection
2451 \begin_layout Standard
2452 Like for tables and figures in a document it is very helpful if boxes could
2453 float in the text to be placed at the optimal position.
2454 This is achieved by the option
2462 are the optional \SpecialChar TeX
2463 floating placement options
2464 \begin_inset Quotes eld
2472 \begin_inset Quotes erd
2476 \begin_inset Quotes eld
2484 \begin_inset Quotes erd
2488 \begin_inset Quotes eld
2496 \begin_inset Quotes erd
2500 \begin_inset Quotes eld
2508 \begin_inset Quotes erd
2512 They correspond to the float placement options described in section
2515 \begin_inset space ~
2523 \begin_inset space ~
2529 The placement options can be mixed and are inserted without any separation,
2531 \begin_inset space \thinspace{}
2535 \begin_inset space \space{}
2539 \begin_inset Quotes eld
2547 \begin_inset Quotes erd
2553 \begin_layout Standard
2554 \begin_inset Flex Color Box
2557 \begin_layout Plain Layout
2558 \begin_inset Argument 1
2561 \begin_layout Plain Layout
2562 title=A floating box, float, width=5cm, valign=center
2568 \begin_inset space \thinspace{}
2571 cm wide floating box.
2579 \begin_layout Standard
2580 For floating boxes the options
2589 One can instead insert code with the command
2594 If the box is breakable the code is inserted before every part of the break
2596 A typical application is to center the floating box with
2603 \begin_layout Standard
2604 \begin_inset Flex Color Box
2607 \begin_layout Plain Layout
2608 \begin_inset Argument 1
2611 \begin_layout Plain Layout
2612 title=A floating box, float, width=5cm, valign=center, every float=
2620 \begin_inset space \thinspace{}
2623 cm wide floating box.
2631 \begin_layout Subsubsection
2633 \begin_inset CommandInset label
2635 name "subsec:Vertical"
2642 \begin_layout Standard
2643 The vertical placement of a box in respect to the surrounding text line
2644 can only be set for dynamic boxes.
2649 raises or lowers the box.
2655 The allowed units for values are listed in Appendix
2656 \begin_inset space ~
2662 \begin_inset space ~
2668 The default width is
2677 the box is lowered so that the base of the box content matches the base
2678 of the surrounding line.
2681 \begin_layout Standard
2685 \begin_layout Standard
2687 \begin_inset Flex Dynamic Color Box
2690 \begin_layout Plain Layout
2691 \begin_inset Argument 1
2694 \begin_layout Plain Layout
2695 tcbox raise base, nobeforeafter
2706 \begin_inset Flex Dynamic Color Box
2709 \begin_layout Plain Layout
2710 \begin_inset Argument 1
2713 \begin_layout Plain Layout
2725 \begin_inset Flex Dynamic Color Box
2728 \begin_layout Plain Layout
2729 \begin_inset Argument 1
2732 \begin_layout Plain Layout
2733 tcbox raise=1cm, nobeforeafter
2739 \begin_inset space \thinspace{}
2750 \begin_layout Subsubsection
2754 \begin_layout Standard
2755 The easiest way to place boxes in a table-like raster is to put them into
2760 \begin_inset space ~
2764 \begin_inset space ~
2769 inset is inserted via the menu
2771 Insert\SpecialChar menuseparator
2777 \begin_layout Standard
2778 The number of columns is specified with the option
2780 raster columns=number
2786 is the number of columns.
2787 All boxes inserted to the raster box will now automatically be output in
2788 a raster with 3 columns and their width is automatically adjusted.
2791 \begin_layout Standard
2792 \begin_inset Flex Raster Color Box
2795 \begin_layout Plain Layout
2796 \begin_inset Argument 1
2799 \begin_layout Plain Layout
2808 \begin_layout Plain Layout
2809 \begin_inset Flex Color Box
2812 \begin_layout Plain Layout
2813 \begin_inset Argument 1
2816 \begin_layout Plain Layout
2828 \begin_inset Flex Color Box
2831 \begin_layout Plain Layout
2832 \begin_inset Argument 1
2835 \begin_layout Plain Layout
2847 \begin_inset Flex Color Box
2850 \begin_layout Plain Layout
2851 \begin_inset Argument 1
2854 \begin_layout Plain Layout
2866 \begin_inset Flex Color Box
2869 \begin_layout Plain Layout
2870 \begin_inset Argument 1
2873 \begin_layout Plain Layout
2885 \begin_inset Flex Color Box
2888 \begin_layout Plain Layout
2889 \begin_inset Argument 1
2892 \begin_layout Plain Layout
2911 \begin_layout Standard
2912 For more info about options of the raster color box, please consult the
2920 \begin_inset space ~
2926 \begin_inset CommandInset citation
2935 \begin_layout Subsection
2937 \begin_inset CommandInset label
2939 name "subsec:Geometry"
2946 \begin_layout Subsubsection
2950 \begin_layout Subsubsection*
2954 \begin_layout Standard
2955 The width of the box is changed with the option
2964 The allowed units for values are listed in Appendix
2965 \begin_inset space ~
2971 \begin_inset space ~
2977 The default width is
2986 \begin_layout Standard
2987 \begin_inset Flex Color Box
2990 \begin_layout Plain Layout
2991 \begin_inset Argument 1
2994 \begin_layout Plain Layout
3001 \begin_inset space \thinspace{}
3012 \begin_layout Standard
3013 One can also set a width only for the text of the box with the option
3018 If the width is shorter than required for the text, new lines will be created
3022 \begin_layout Standard
3023 \begin_inset Flex Color Box
3026 \begin_layout Plain Layout
3027 \begin_inset Argument 1
3030 \begin_layout Plain Layout
3036 Some longer text to fill the box with a width of 4
3037 \begin_inset space \thinspace{}
3048 \begin_layout Standard
3057 ; only the last given width option is taken into account.
3060 \begin_layout Standard
3061 To extend the width of the box one must use the
3065 option and can then use the option
3072 \begin_layout Standard
3073 \begin_inset Flex Color Box
3076 \begin_layout Plain Layout
3077 \begin_inset Argument 1
3080 \begin_layout Plain Layout
3081 width=10cm, add to width=2cm
3087 \begin_inset space \thinspace{}
3090 cm wide box with additional width of 2
3091 \begin_inset space \thinspace{}
3102 \begin_layout Subsubsection*
3106 \begin_layout Standard
3107 For boxes with parts side by side one can control the width of the box parts
3131 sidebyside gap=length
3138 The allowed units for the values are listed in Appendix
3139 \begin_inset space ~
3145 \begin_inset space ~
3151 All options require of course the option
3158 \begin_layout Standard
3163 sets the space between the left and the right part:
3166 \begin_layout Standard
3167 \begin_inset Flex Color Box
3170 \begin_layout Plain Layout
3171 \begin_inset Argument 1
3174 \begin_layout Plain Layout
3175 sidebyside, sidebyside gap=2cm
3180 Upper content divided by 2
3181 \begin_inset space \thinspace{}
3187 \begin_layout Color Box Separator
3191 \begin_layout Plain Layout
3200 \begin_layout Standard
3209 set the absolute width of the left and right part, respectively:
3212 \begin_layout Standard
3213 \begin_inset Flex Color Box
3216 \begin_layout Plain Layout
3217 \begin_inset Argument 1
3220 \begin_layout Plain Layout
3221 sidebyside, lefthand width=3cm
3226 Upper content with a width of 3
3227 \begin_inset space \thinspace{}
3233 \begin_layout Color Box Separator
3237 \begin_layout Plain Layout
3246 \begin_layout Standard
3255 set the relative width of the left and right part, respectively:
3258 \begin_layout Standard
3259 \begin_inset Flex Color Box
3262 \begin_layout Plain Layout
3263 \begin_inset Argument 1
3266 \begin_layout Plain Layout
3267 sidebyside, lefthand ratio=0.3
3272 Upper content with a width of 30
3273 \begin_inset space \thinspace{}
3279 \begin_layout Color Box Separator
3283 \begin_layout Plain Layout
3292 \begin_layout Subsubsection
3294 \begin_inset CommandInset label
3296 name "subsec:Height"
3303 \begin_layout Subsubsection*
3307 \begin_layout Standard
3308 The height of the box is changed with the option
3317 The default height is the height consumed by the box content.
3320 \begin_layout Standard
3321 \begin_inset Flex Color Box
3324 \begin_layout Plain Layout
3325 \begin_inset Argument 1
3328 \begin_layout Plain Layout
3335 \begin_inset space \thinspace{}
3346 \begin_layout Standard
3347 If the specified height is smaller than the one consumed by the content,
3348 the content will be placed below the box:
3351 \begin_layout Standard
3352 \begin_inset Flex Color Box
3355 \begin_layout Plain Layout
3356 \begin_inset Argument 1
3359 \begin_layout Plain Layout
3366 \begin_inset space \thinspace{}
3377 \begin_layout Standard
3378 \begin_inset VSpace bigskip
3385 the height will automatically be set to the same value than the box width.
3388 \begin_layout Standard
3389 \begin_inset Flex Color Box
3392 \begin_layout Plain Layout
3393 \begin_inset Argument 1
3396 \begin_layout Plain Layout
3410 \begin_layout Standard
3411 \begin_inset VSpace bigskip
3414 To extend the height of the box in case the content might consume more height
3415 than expected one must use the
3419 option and can then uses the option
3424 An application would be to set a maximal possible height in case you write
3425 a book where the spacing is defined and should not be overwritten by any
3429 \begin_layout Standard
3430 \begin_inset Flex Color Box
3433 \begin_layout Plain Layout
3434 \begin_inset Argument 1
3437 \begin_layout Plain Layout
3438 height=2cm, height plus=2cm
3444 \begin_inset space \thinspace{}
3447 cm high box with additional height of 2
3448 \begin_inset space \thinspace{}
3459 \begin_layout Standard
3460 \begin_inset Flex Color Box
3463 \begin_layout Plain Layout
3464 \begin_inset Argument 1
3467 \begin_layout Plain Layout
3468 height=2cm, height plus=2cm
3474 \begin_inset space \thinspace{}
3477 cm high box with additional height of 2
3478 \begin_inset space \thinspace{}
3482 Its content consumes 3
3483 \begin_inset space \thinspace{}
3486 cm therefore the box height will also be 3
3487 \begin_inset space \thinspace{}
3492 \begin_inset space \thinspace{}
3495 cm high box with additional height of 2
3496 \begin_inset space \thinspace{}
3500 Its content consumes 3
3501 \begin_inset space \thinspace{}
3504 cm therefore the box height will also be 3
3505 \begin_inset space \thinspace{}
3510 \begin_inset space \thinspace{}
3513 cm high box with additional height of 2
3514 \begin_inset space \thinspace{}
3518 Its content consumes 3
3519 \begin_inset space \thinspace{}
3522 cm therefore the box height will also be 3
3523 \begin_inset space \thinspace{}
3534 \begin_layout Standard
3535 \begin_inset VSpace bigskip
3538 In some cases it might be useful to specify an allowed range for the height
3541 height from=min to max
3552 The height will then be at least the given minimal value or the height
3553 consumed by the content.
3554 It does not exceed the maximum, independent of the content:
3557 \begin_layout Standard
3558 \begin_inset Flex Color Box
3561 \begin_layout Plain Layout
3562 \begin_inset Argument 1
3565 \begin_layout Plain Layout
3566 height from=1cm to 3cm
3571 A box with minimal height of 1
3572 \begin_inset space \thinspace{}
3575 cm and maximal height of 3
3576 \begin_inset space \thinspace{}
3587 \begin_layout Standard
3588 \begin_inset Flex Color Box
3591 \begin_layout Plain Layout
3592 \begin_inset Argument 1
3595 \begin_layout Plain Layout
3596 height from=1cm to 3cm
3601 A box with minimal height of 1
3602 \begin_inset space \thinspace{}
3605 cm and maximal height of 3
3606 \begin_inset space \thinspace{}
3610 The content consumes more space than 3
3611 \begin_inset space \thinspace{}
3615 A box with minimal height of 1
3616 \begin_inset space \thinspace{}
3619 cm and maximal height of 3
3620 \begin_inset space \thinspace{}
3624 The content consumes more space than 3
3625 \begin_inset space \thinspace{}
3629 A box with minimal height of 1
3630 \begin_inset space \thinspace{}
3633 cm and maximal height of 3
3634 \begin_inset space \thinspace{}
3638 The content consumes more space than 3
3639 \begin_inset space \thinspace{}
3643 A box with minimal height of 1
3644 \begin_inset space \thinspace{}
3647 cm and maximal height of 3
3648 \begin_inset space \thinspace{}
3652 The content consumes more space than 3
3653 \begin_inset space \thinspace{}
3664 \begin_layout Standard
3665 \begin_inset VSpace bigskip
3670 add to height=length
3672 one can add defined height to the box.
3677 option must be added
3684 \begin_layout Standard
3685 \begin_inset Flex Color Box
3688 \begin_layout Plain Layout
3689 \begin_inset Argument 1
3692 \begin_layout Plain Layout
3693 height=1cm, add to height=1cm
3699 \begin_inset space \thinspace{}
3703 \begin_inset space \thinspace{}
3706 cm additional height.
3714 \begin_layout Standard
3715 \begin_inset VSpace bigskip
3722 one can force the box to consume the rest of the available height of the
3723 document parts where it is in.
3737 The latter works like
3741 but compresses the content of the page before the box as much as possible
3742 to maximize the box.
3743 \begin_inset Newline newline
3746 In this example the box is in the main text and therefore consumes the rest
3747 of the current page:
3750 \begin_layout Standard
3751 \begin_inset Flex Color Box
3754 \begin_layout Plain Layout
3755 \begin_inset Argument 1
3758 \begin_layout Plain Layout
3764 A box that fills the remaining height of the current page.
3772 \begin_layout Subsubsection*
3776 \begin_layout Standard
3777 One can set a height only for the text of the box with the option
3778 \begin_inset Newline newline
3788 \begin_layout Standard
3789 \begin_inset Flex Color Box
3792 \begin_layout Plain Layout
3793 \begin_inset Argument 1
3796 \begin_layout Plain Layout
3803 \begin_inset space \thinspace{}
3807 Due to the frame separation and the frame width the box height is larger
3809 \begin_inset space \thinspace{}
3820 \begin_layout Standard
3829 ; only the last given width option is taken into account.
3832 \begin_layout Standard
3833 \begin_inset VSpace bigskip
3856 one can specify how the height should be divided between the upper and
3866 is the fraction of the additional height (the specified height minus the
3867 height consumed by the content).
3868 \begin_inset Newline newline
3876 \begin_inset space \thinspace{}
3879 % of the additional space to the upper part:
3882 \begin_layout Standard
3883 \begin_inset Flex Color Box
3886 \begin_layout Plain Layout
3887 \begin_inset Argument 1
3890 \begin_layout Plain Layout
3891 height=3cm, space=0.75
3897 \begin_inset space \thinspace{}
3900 cm high box where 75 % of the additional height is set to the upper content.
3903 \begin_layout Color Box Separator
3907 \begin_layout Plain Layout
3916 \begin_layout Standard
3944 \begin_layout Standard
3945 \begin_inset Flex Color Box
3948 \begin_layout Plain Layout
3949 \begin_inset Argument 1
3952 \begin_layout Plain Layout
3953 height=3cm, space to upper
3959 \begin_inset space \thinspace{}
3962 cm high box where all additional height is set to the upper content.
3965 \begin_layout Color Box Separator
3969 \begin_layout Plain Layout
3978 \begin_layout Standard
3987 is the fraction of the complete height (not the additional height).
3988 Therefore one must be careful if e.
3989 \begin_inset space \thinspace{}
3993 \begin_inset space \space{}
3996 the upper part consumes more height than one set via
4003 \begin_layout Standard
4004 \begin_inset Flex Color Box
4007 \begin_layout Plain Layout
4008 \begin_inset Argument 1
4011 \begin_layout Plain Layout
4012 height=3cm, split=0.1
4018 \begin_inset space \thinspace{}
4021 cm high box where the height is split by 10
4022 \begin_inset space \thinspace{}
4027 \begin_inset space \thinspace{}
4030 cm high box where the height is split by 10
4031 \begin_inset space \thinspace{}
4037 \begin_layout Color Box Separator
4041 \begin_layout Plain Layout
4050 \begin_layout Standard
4051 \begin_inset VSpace bigskip
4056 equal height group=id
4058 it is possible to set the same height for all boxes in a group.
4063 is a name to reference the group.
4064 This is for example useful if one has 3
4065 \begin_inset space ~
4068 boxes side by side inside a box:
4071 \begin_layout Standard
4072 \begin_inset Flex Color Box
4075 \begin_layout Plain Layout
4076 \begin_inset Flex Color Box
4079 \begin_layout Plain Layout
4080 \begin_inset Argument 1
4083 \begin_layout Plain Layout
4084 adjusted title=ace, width=0.3
4086 columnwidth, nobeforeafter, equal height group=A
4097 \begin_inset space \hfill{}
4101 \begin_inset Flex Color Box
4104 \begin_layout Plain Layout
4105 \begin_inset Argument 1
4108 \begin_layout Plain Layout
4109 adjusted title=Grapefruit, width=0.3
4111 columnwidth, space to upper, nobeforeafter, equal height group=A
4119 \begin_layout Color Box Separator
4123 \begin_layout Plain Layout
4130 \begin_inset space \hfill{}
4134 \begin_inset Flex Color Box
4137 \begin_layout Plain Layout
4138 \begin_inset Argument 1
4141 \begin_layout Plain Layout
4142 adjusted title=, width=0.3
4144 columnwidth, nobeforeafter, equal height group=A
4149 A box with longer text.
4150 A box with longer text.
4151 A box with longer text.
4152 A box with longer text.
4153 A box with longer text.
4166 \begin_layout Standard
4167 The above example was typeset by adding the option
4169 equal height group=A
4172 \begin_inset space ~
4180 is hereby the name of the group.
4183 \begin_layout Standard
4184 If you have a title that needs only a single line, it is recommended to
4193 for all boxes to assure that the title height will be the same for all
4195 Otherwise the height would be different in the above example because
4196 \begin_inset Quotes eld
4200 \begin_inset Quotes erd
4203 needs more height than
4204 \begin_inset Quotes eld
4208 \begin_inset Quotes erd
4214 \begin_layout Subsubsection
4218 \begin_layout Standard
4219 The width of the box frame can be changed with the options
4240 Each option changes the corresponding part of the frame.
4250 The allowed units for the values are listed in Appendix
4251 \begin_inset space ~
4257 \begin_inset space ~
4263 The default length for all parts is 0.5
4264 \begin_inset space \thinspace{}
4268 To set all frame parts to the same value use the option
4275 \begin_layout Standard
4276 \begin_inset Flex Color Box
4279 \begin_layout Plain Layout
4280 \begin_inset Argument 1
4283 \begin_layout Plain Layout
4284 leftrule=3mm, rightrule=4mm, toprule=2mm, bottomrule=1mm
4290 \begin_inset space \thinspace{}
4293 mm wide left rule, 4
4294 \begin_inset space \thinspace{}
4297 mm wide right rule, 2
4298 \begin_inset space \thinspace{}
4302 \begin_inset space \thinspace{}
4313 \begin_layout Standard
4314 \begin_inset Flex Color Box
4317 \begin_layout Plain Layout
4318 \begin_inset Argument 1
4321 \begin_layout Plain Layout
4328 \begin_inset space \thinspace{}
4339 \begin_layout Standard
4340 The title rule is the separation between the title and the box content.
4343 \begin_layout Standard
4344 \begin_inset Flex Color Box
4347 \begin_layout Plain Layout
4348 \begin_inset Argument 1
4351 \begin_layout Plain Layout
4352 title=A title, titlerule=8mm, colbacktitle=blue
4358 \begin_inset space \thinspace{}
4369 \begin_layout Subsubsection
4373 \begin_layout Standard
4374 By default boxes are rectangular with rounded edges.
4375 The radius of the edges can be changed with the option
4384 The allowed units for the values are listed in Appendix
4385 \begin_inset space ~
4391 \begin_inset space ~
4404 \begin_layout Standard
4405 \begin_inset Flex Color Box
4408 \begin_layout Plain Layout
4409 \begin_inset Argument 1
4412 \begin_layout Plain Layout
4421 \begin_inset space \thinspace{}
4434 \begin_layout Standard
4439 one can set the outer radius independently:
4442 \begin_layout Standard
4443 \begin_inset Flex Color Box
4446 \begin_layout Plain Layout
4447 \begin_inset Argument 1
4450 \begin_layout Plain Layout
4451 arc=5mm, outer arc=0mm
4459 \begin_inset space \thinspace{}
4467 \begin_inset space \thinspace{}
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 arc=0mm, outer arc=0mm
4494 A really rectangular box (
4505 \begin_inset space \thinspace{}
4511 The same can alternatively be achieved with the option
4523 \begin_layout Standard
4524 \begin_inset VSpace bigskip
4527 The general shape can be changed with the options
4542 \begin_layout Standard
4547 sets the edge radius to half of the box width.
4548 It is therefore required to specify at least the width.
4551 \begin_layout Standard
4552 \begin_inset Flex Color Box
4555 \begin_layout Plain Layout
4556 \begin_inset Argument 1
4559 \begin_layout Plain Layout
4560 width=3.5cm, circular arc
4566 \begin_inset space \thinspace{}
4569 cm wide circular arc box.
4577 \begin_layout Standard
4578 As you can see circular arc box looks ugly when the box is wider than high.
4579 It is therefore recommended to add the option
4584 \begin_inset CommandInset ref
4586 reference "subsec:Height"
4590 , to get the same width and height.
4591 The result is a perfect circle.
4592 To center the text in the box use the text alignment options described
4594 \begin_inset CommandInset ref
4596 reference "subsec:Alignment"
4603 \begin_layout Standard
4604 \begin_inset Flex Color Box
4607 \begin_layout Plain Layout
4608 \begin_inset Argument 1
4611 \begin_layout Plain Layout
4612 width=4cm, square, valign=center, circular arc
4618 \begin_inset space \thinspace{}
4621 cm wide circular arc box.
4629 \begin_layout Standard
4634 sets the edge radius to half of the minimum of the box width and height.
4635 The result is a semicircle.
4640 requires the options
4655 \begin_layout Standard
4656 \begin_inset Flex Color Box
4659 \begin_layout Plain Layout
4660 \begin_inset Argument 1
4663 \begin_layout Plain Layout
4664 width=3.5cm, height=5cm, bean arc, nobeforeafter, valign=center
4670 \begin_inset space \thinspace{}
4674 \begin_inset space \thinspace{}
4687 \begin_inset Flex Color Box
4690 \begin_layout Plain Layout
4691 \begin_inset Argument 1
4694 \begin_layout Plain Layout
4695 width=5cm, height=3.5cm, bean arc, nobeforeafter, valign=center
4701 \begin_inset space \thinspace{}
4705 \begin_inset space \thinspace{}
4720 \begin_layout Standard
4721 Using bean arc for a square box leads to the same result as
4728 \begin_layout Standard
4729 \begin_inset Flex Color Box
4732 \begin_layout Plain Layout
4733 \begin_inset Argument 1
4736 \begin_layout Plain Layout
4737 width=4cm, square, bean arc, valign=center
4743 \begin_inset space \thinspace{}
4746 cm wide, square box as bean arc.
4754 \begin_layout Standard
4759 is useful to get an octagon.
4760 For an octagon one needs a square box and the option
4767 \begin_layout Standard
4768 \begin_inset Flex Color Box
4771 \begin_layout Plain Layout
4772 \begin_inset Argument 1
4775 \begin_layout Plain Layout
4776 width=4cm, square, octogon arc, valign=center, arc is angular
4782 \begin_inset space \thinspace{}
4785 cm wide, square box with
4797 \begin_layout Standard
4798 \begin_inset Note Greyedout
4801 \begin_layout Plain Layout
4810 is experimental and might cause problems on some \SpecialChar LaTeX
4819 \begin_layout Standard
4820 \begin_inset VSpace bigskip
4823 It is also possible to change only some of the box edges.
4824 To make an edge a corner there is the option
4826 sharp corners=position
4832 is the position of the edge.
4849 change only the corresponding edge.
4852 \begin_layout Standard
4853 \begin_inset Flex Color Box
4856 \begin_layout Plain Layout
4857 \begin_inset Argument 1
4860 \begin_layout Plain Layout
4861 sharp corners=northeast
4866 A box with a corner at the upper right (
4878 \begin_layout Standard
4904 \begin_inset space ~
4910 \begin_layout Standard
4911 \begin_inset Flex Color Box
4914 \begin_layout Plain Layout
4915 \begin_inset Argument 1
4918 \begin_layout Plain Layout
4921 columnwidth,sharp corners=east, nobeforeafter
4927 \begin_inset space ~
4930 corners at the right (
4940 \begin_inset space \hfill{}
4944 \begin_inset Flex Color Box
4947 \begin_layout Plain Layout
4948 \begin_inset Argument 1
4951 \begin_layout Plain Layout
4954 columnwidth,sharp corners=uphill, nobeforeafter
4960 \begin_inset space ~
4963 corners, one at the lower left, one at the upper right (
4975 \begin_layout Standard
4983 \begin_layout Subsection
4985 \begin_inset CommandInset label
4987 name "subsec:Alignment"
4994 \begin_layout Subsubsection
4998 \begin_layout Standard
5003 sets the alignment for the whole box content if there are not box parts,
5004 otherwise the options
5017 is one of the following:
5020 \begin_layout Description
5021 right the content is right-aligned
5022 \begin_inset Flex Color Box
5025 \begin_layout Plain Layout
5026 \begin_inset Argument 1
5029 \begin_layout Plain Layout
5035 A right-aligned box.
5043 \begin_layout Description
5044 left the content is left-aligned
5045 \begin_inset Flex Color Box
5048 \begin_layout Plain Layout
5049 \begin_inset Argument 1
5052 \begin_layout Plain Layout
5066 \begin_layout Description
5067 center the content is centered
5068 \begin_inset Flex Color Box
5071 \begin_layout Plain Layout
5072 \begin_inset Argument 1
5075 \begin_layout Plain Layout
5081 A horizontally centered box.
5089 \begin_layout Description
5090 justify the content is justified (is the default value)
5091 \begin_inset Flex Color Box
5094 \begin_layout Plain Layout
5095 \begin_inset Argument 1
5098 \begin_layout Plain Layout
5112 \begin_layout Standard
5113 An example with box parts:
5114 \begin_inset Flex Color Box
5117 \begin_layout Plain Layout
5118 \begin_inset Argument 1
5121 \begin_layout Plain Layout
5122 halign upper=left, halign lower=center
5127 Upper content left-aligned
5130 \begin_layout Color Box Separator
5134 \begin_layout Plain Layout
5135 Lower content centered
5143 \begin_layout Standard
5144 The title alignment can be changed with the option
5151 \begin_layout Standard
5152 \begin_inset Flex Color Box
5155 \begin_layout Plain Layout
5156 \begin_inset Argument 1
5159 \begin_layout Plain Layout
5160 title=A right-aligned title, halign title=right, halign upper=left, halign
5166 Upper content left-aligned
5169 \begin_layout Color Box Separator
5173 \begin_layout Plain Layout
5174 Lower content centered
5182 \begin_layout Subsubsection
5186 \begin_layout Standard
5187 The vertical alignment can only be changed if the box height is explicitly
5188 set larger than the height consumed by the box content.
5190 \begin_inset CommandInset ref
5192 reference "subsec:Height"
5199 \begin_layout Standard
5204 sets the alignment for the whole box content if there are no box parts,
5205 otherwise the options
5218 is one of the following:
5221 \begin_layout Description
5222 top the content is top-aligned
5223 \begin_inset Flex Color Box
5226 \begin_layout Plain Layout
5227 \begin_inset Argument 1
5230 \begin_layout Plain Layout
5231 height=2cm, valign=top
5244 \begin_layout Description
5245 bottom the content is bottom-aligned
5246 \begin_inset Flex Color Box
5249 \begin_layout Plain Layout
5250 \begin_inset Argument 1
5253 \begin_layout Plain Layout
5254 height=2cm, valign=bottom
5259 A bottom-aligned box.
5267 \begin_layout Description
5268 center the content is vertically centered
5269 \begin_inset Flex Color Box
5272 \begin_layout Plain Layout
5273 \begin_inset Argument 1
5276 \begin_layout Plain Layout
5277 height=2cm, valign=center
5282 A vertically centered box.
5290 \begin_layout Description
5291 scale the content is vertically scaled to fit the height
5292 \begin_inset Flex Color Box
5295 \begin_layout Plain Layout
5296 \begin_inset Argument 1
5299 \begin_layout Plain Layout
5300 height=2cm, valign=scale
5305 A box with scaled content.
5313 \begin_layout Standard
5314 An example with box parts:
5317 \begin_layout Standard
5318 \begin_inset Flex Color Box
5321 \begin_layout Plain Layout
5322 \begin_inset Argument 1
5325 \begin_layout Plain Layout
5326 height=4cm, space=0.5, valign upper=bottom, valign lower=center
5331 Upper content bottom-aligned
5334 \begin_layout Color Box Separator
5338 \begin_layout Plain Layout
5339 Lower content centered
5347 \begin_layout Subsection
5351 \begin_layout Standard
5352 The font changing options have the syntax
5360 are \SpecialChar LaTeX
5361 's font changing commands.
5362 For example the code
5363 \begin_inset Newline newline
5377 \begin_inset Newline newline
5380 makes the font sans-serif, bold and increases the font size to the level
5390 \begin_layout Subsubsection
5394 \begin_layout Standard
5395 The title font can be changed with the option
5402 \begin_layout Standard
5403 \begin_inset Flex Color Box
5406 \begin_layout Plain Layout
5407 \begin_inset Argument 1
5410 \begin_layout Plain Layout
5411 title=A title, fonttitle=
5430 \begin_layout Subsubsection
5434 \begin_layout Standard
5435 The font for the upper and lower part text can be changed with the options
5447 \begin_layout Standard
5448 \begin_inset Flex Color Box
5451 \begin_layout Plain Layout
5452 \begin_inset Argument 1
5455 \begin_layout Plain Layout
5456 title=A title, fontupper=
5458 ttfamily, fontlower=
5465 Changed upper text font
5468 \begin_layout Color Box Separator
5472 \begin_layout Plain Layout
5473 Changed lower text font
5481 \begin_layout Subsection
5483 \begin_inset CommandInset label
5492 \begin_layout Standard
5493 The color is specified in one of these schemes:
5496 \begin_layout Enumerate
5502 \begin_inset VSpace 3mm
5506 \begin_inset Newline newline
5514 \begin_inset Newline newline
5518 \begin_inset space \thinspace{}
5522 \begin_inset Newline newline
5526 \begin_inset Flex Color Box
5529 \begin_layout Plain Layout
5530 \begin_inset Argument 1
5533 \begin_layout Plain Layout
5545 \begin_inset VSpace defskip
5551 \begin_layout Enumerate
5557 \begin_inset VSpace 3mm
5561 \begin_inset Newline newline
5569 \begin_inset Newline newline
5573 \begin_inset space \thinspace{}
5577 \begin_inset Newline newline
5581 \begin_inset space \thinspace{}
5585 \begin_inset Quotes eld
5589 \begin_inset Quotes erd
5593 \begin_inset Newline newline
5597 \begin_inset Flex Color Box
5600 \begin_layout Plain Layout
5601 \begin_inset Argument 1
5604 \begin_layout Plain Layout
5616 \begin_inset VSpace defskip
5622 \begin_layout Enumerate
5625 Name1!PercentOfName1!Name2
5628 \begin_inset VSpace 3mm
5632 \begin_inset Newline newline
5640 \begin_inset Newline newline
5644 \begin_inset space \thinspace{}
5648 \begin_inset Newline newline
5652 \begin_inset space \thinspace{}
5656 \begin_inset Newline newline
5660 \begin_inset Flex Color Box
5663 \begin_layout Plain Layout
5664 \begin_inset Argument 1
5667 \begin_layout Plain Layout
5679 \begin_inset VSpace defskip
5685 \begin_layout Enumerate
5688 Name1!PercentName1!Name2!PercentName3!Name3
5691 \begin_inset VSpace 3mm
5695 \begin_inset Newline newline
5700 red!71.4!green!70!blue
5703 \begin_inset Newline newline
5707 \begin_inset Formula $1-0.70=30\,$
5711 \begin_inset Newline newline
5715 \begin_inset Formula $\left(1-0.714\right)\cdot0.70=20.02\thinspace$
5719 \begin_inset Newline newline
5723 \begin_inset Formula $0.714\cdot0.70=49.98\thinspace$
5727 \begin_inset Newline newline
5731 \begin_inset Flex Color Box
5734 \begin_layout Plain Layout
5735 \begin_inset Argument 1
5738 \begin_layout Plain Layout
5739 colback=red!71.4!green!70!blue
5744 red!71.4!green!70!blue
5750 \begin_inset VSpace defskip
5756 \begin_layout Standard
5757 The possible color names are:
5760 \begin_layout Standard
5762 \begin_inset Tabular
5763 <lyxtabular version="3" rows="4" columns="5">
5764 <features tabularvalignment="middle">
5765 <column alignment="left" valignment="top" width="18col%">
5766 <column alignment="left" valignment="top" width="18col%">
5767 <column alignment="left" valignment="top" width="18col%">
5768 <column alignment="left" valignment="top" width="18col%">
5769 <column alignment="left" valignment="top" width="18col%">
5771 <cell alignment="left" valignment="top" usebox="none">
5774 \begin_layout Plain Layout
5778 \begin_layout Plain Layout
5791 \begin_layout Plain Layout
5799 \begin_inset Phantom Phantom
5802 \begin_layout Plain Layout
5812 \begin_layout Plain Layout
5824 <cell alignment="left" valignment="top" usebox="none">
5827 \begin_layout Plain Layout
5831 \begin_layout Plain Layout
5844 \begin_layout Plain Layout
5852 \begin_inset Phantom Phantom
5855 \begin_layout Plain Layout
5865 \begin_layout Plain Layout
5877 <cell alignment="left" valignment="top" usebox="none">
5880 \begin_layout Plain Layout
5884 \begin_layout Plain Layout
5897 \begin_layout Plain Layout
5905 \begin_inset Phantom Phantom
5908 \begin_layout Plain Layout
5918 \begin_layout Plain Layout
5930 <cell alignment="left" valignment="top" usebox="none">
5933 \begin_layout Plain Layout
5937 \begin_layout Plain Layout
5950 \begin_layout Plain Layout
5958 \begin_inset Phantom Phantom
5961 \begin_layout Plain Layout
5971 \begin_layout Plain Layout
5983 <cell alignment="left" valignment="top" usebox="none">
5986 \begin_layout Plain Layout
5990 \begin_layout Plain Layout
6003 \begin_layout Plain Layout
6011 \begin_inset Phantom Phantom
6014 \begin_layout Plain Layout
6024 \begin_layout Plain Layout
6038 <cell alignment="left" valignment="top" usebox="none">
6041 \begin_layout Plain Layout
6045 \begin_layout Plain Layout
6058 \begin_layout Plain Layout
6066 \begin_inset Phantom Phantom
6069 \begin_layout Plain Layout
6079 \begin_layout Plain Layout
6091 <cell alignment="left" valignment="top" usebox="none">
6094 \begin_layout Plain Layout
6098 \begin_layout Plain Layout
6111 \begin_layout Plain Layout
6119 \begin_inset Phantom Phantom
6122 \begin_layout Plain Layout
6132 \begin_layout Plain Layout
6144 <cell alignment="left" valignment="top" usebox="none">
6147 \begin_layout Plain Layout
6151 \begin_layout Plain Layout
6164 \begin_layout Plain Layout
6172 \begin_inset Phantom Phantom
6175 \begin_layout Plain Layout
6185 \begin_layout Plain Layout
6197 <cell alignment="left" valignment="top" usebox="none">
6200 \begin_layout Plain Layout
6204 \begin_layout Plain Layout
6217 \begin_layout Plain Layout
6225 \begin_inset Phantom Phantom
6228 \begin_layout Plain Layout
6238 \begin_layout Plain Layout
6250 <cell alignment="left" valignment="top" usebox="none">
6253 \begin_layout Plain Layout
6257 \begin_layout Plain Layout
6270 \begin_layout Plain Layout
6278 \begin_inset Phantom Phantom
6281 \begin_layout Plain Layout
6291 \begin_layout Plain Layout
6305 <cell alignment="left" valignment="top" usebox="none">
6308 \begin_layout Plain Layout
6312 \begin_layout Plain Layout
6325 \begin_layout Plain Layout
6333 \begin_inset Phantom Phantom
6336 \begin_layout Plain Layout
6346 \begin_layout Plain Layout
6358 <cell alignment="left" valignment="top" usebox="none">
6361 \begin_layout Plain Layout
6365 \begin_layout Plain Layout
6378 \begin_layout Plain Layout
6386 \begin_inset Phantom Phantom
6389 \begin_layout Plain Layout
6399 \begin_layout Plain Layout
6411 <cell alignment="left" valignment="top" usebox="none">
6414 \begin_layout Plain Layout
6418 \begin_layout Plain Layout
6431 \begin_layout Plain Layout
6439 \begin_inset Phantom Phantom
6442 \begin_layout Plain Layout
6452 \begin_layout Plain Layout
6464 <cell alignment="left" valignment="top" usebox="none">
6467 \begin_layout Plain Layout
6471 \begin_layout Plain Layout
6484 \begin_layout Plain Layout
6492 \begin_inset Phantom Phantom
6495 \begin_layout Plain Layout
6505 \begin_layout Plain Layout
6517 <cell alignment="left" valignment="top" usebox="none">
6520 \begin_layout Plain Layout
6524 \begin_layout Plain Layout
6537 \begin_layout Plain Layout
6545 \begin_inset Phantom Phantom
6548 \begin_layout Plain Layout
6558 \begin_layout Plain Layout
6572 <cell alignment="left" valignment="top" usebox="none">
6575 \begin_layout Plain Layout
6579 \begin_layout Plain Layout
6592 \begin_layout Plain Layout
6600 \begin_inset Phantom Phantom
6603 \begin_layout Plain Layout
6613 \begin_layout Plain Layout
6625 <cell alignment="left" valignment="top" usebox="none">
6628 \begin_layout Plain Layout
6632 \begin_layout Plain Layout
6645 \begin_layout Plain Layout
6653 \begin_inset Phantom Phantom
6656 \begin_layout Plain Layout
6666 \begin_layout Plain Layout
6678 <cell alignment="left" valignment="top" usebox="none">
6681 \begin_layout Plain Layout
6685 \begin_layout Plain Layout
6698 \begin_layout Plain Layout
6706 \begin_inset Phantom Phantom
6709 \begin_layout Plain Layout
6719 \begin_layout Plain Layout
6731 <cell alignment="left" valignment="top" usebox="none">
6734 \begin_layout Plain Layout
6738 \begin_layout Plain Layout
6751 \begin_layout Plain Layout
6759 \begin_inset Phantom Phantom
6762 \begin_layout Plain Layout
6772 \begin_layout Plain Layout
6784 <cell alignment="left" valignment="top" usebox="none">
6787 \begin_layout Plain Layout
6801 \begin_layout Standard
6802 , and the ones listed in Appendix
6803 \begin_inset space ~
6809 \begin_inset space ~
6817 \begin_layout Subsubsection
6821 \begin_layout Standard
6822 The background color is changed with the option
6829 \begin_layout Standard
6830 \begin_inset Flex Color Box
6833 \begin_layout Plain Layout
6834 \begin_inset Argument 1
6837 \begin_layout Plain Layout
6838 colback=red!66!green!70!blue
6851 \begin_layout Subsubsection
6855 \begin_layout Standard
6856 The frame color is changed with the option
6863 \begin_layout Standard
6864 \begin_inset Flex Color Box
6867 \begin_layout Plain Layout
6868 \begin_inset Argument 1
6871 \begin_layout Plain Layout
6872 colframe=red!30!blue
6885 \begin_layout Subsubsection
6889 \begin_layout Standard
6890 The title background color is changed with the option
6897 \begin_layout Standard
6898 \begin_inset Flex Color Box
6901 \begin_layout Plain Layout
6902 \begin_inset Argument 1
6905 \begin_layout Plain Layout
6906 title=A title, colbacktitle=green!30
6911 Title background color
6919 \begin_layout Subsubsection
6921 \begin_inset CommandInset label
6923 name "subsec:Title-text"
6930 \begin_layout Standard
6931 The color for the title text is changed with the option
6938 \begin_layout Standard
6939 \begin_inset Flex Color Box
6942 \begin_layout Plain Layout
6943 \begin_inset Argument 1
6946 \begin_layout Plain Layout
6947 title=A title, coltitle=orange
6955 \begin_layout Plain Layout
6956 \begin_inset Flex Subtitle
6959 \begin_layout Plain Layout
6968 \begin_layout Plain Layout
6977 \begin_layout Subsubsection
6981 \begin_layout Standard
6982 The color for the complete text is changed with the option
6989 \begin_layout Standard
6990 \begin_inset Flex Color Box
6993 \begin_layout Plain Layout
6994 \begin_inset Argument 1
6997 \begin_layout Plain Layout
7011 \begin_layout Subsubsection
7012 Upper and lower text
7015 \begin_layout Standard
7016 The color for the upper and lower part text is changed with the option
7027 \begin_layout Standard
7028 \begin_inset Flex Color Box
7031 \begin_layout Plain Layout
7032 \begin_inset Argument 1
7035 \begin_layout Plain Layout
7036 colupper=green!30!blue, collower=green!70!blue
7044 \begin_layout Color Box Separator
7048 \begin_layout Plain Layout
7057 \begin_layout Standard
7058 \begin_inset Newpage newpage
7064 \begin_layout Subsection
7066 \begin_inset CommandInset label
7068 name "subsec:Shadows"
7075 \begin_layout Standard
7076 Boxes can only be decorated with shadows if a skin is specified, see
7077 \begin_inset CommandInset ref
7079 reference "subsec:Enhanced"
7086 \begin_layout Subsubsection
7090 \begin_layout Standard
7091 A shadow is added with the box option
7099 is a color name or definition, see
7100 \begin_inset CommandInset ref
7102 reference "subsec:Color"
7107 One can omit the color, the shadow color is then black!50!white.
7112 creates a semi-transparent shadow.
7115 \begin_layout Standard
7116 \begin_inset Flex Color Box
7119 \begin_layout Plain Layout
7120 \begin_inset Argument 1
7123 \begin_layout Plain Layout
7124 enhanced, drop shadow, nobeforeafter
7137 \begin_layout Standard
7138 \begin_inset VSpace defskip
7142 \begin_inset Flex Color Box
7145 \begin_layout Plain Layout
7146 \begin_inset Argument 1
7149 \begin_layout Plain Layout
7150 enhanced, drop fuzzy shadow=purple, nobeforeafter
7155 A box with a fuzzy, purple shadow
7163 \begin_layout Standard
7164 The default shadow is placed right below the box.
7165 For other shadow placements have a look at section
7174 \begin_inset CommandInset citation
7183 \begin_layout Subsubsection
7187 \begin_layout Standard
7188 A halo is added with the box option
7190 halo=size with color
7200 is a color name or definition.
7201 One can omit the size and color, the halo is then 0.9
7202 \begin_inset space \thinspace{}
7205 mm thick and has the color yellow.
7206 Note that one cannot omit only the size or color, either both is omitted
7207 or both is specified.
7212 creates a semi-transparent halo.
7215 \begin_layout Standard
7216 \begin_inset Flex Color Box
7219 \begin_layout Plain Layout
7220 \begin_inset Argument 1
7223 \begin_layout Plain Layout
7224 enhanced, halo, nobeforeafter
7237 \begin_layout Standard
7238 \begin_inset VSpace defskip
7244 \begin_layout Standard
7245 \begin_inset Flex Color Box
7248 \begin_layout Plain Layout
7249 \begin_inset Argument 1
7252 \begin_layout Plain Layout
7253 enhanced, fuzzy halo=5mm with green, nobeforeafter
7259 \begin_inset space \thinspace{}
7262 mm thick, green fuzzy halo
7270 \begin_layout Subsubsection
7274 \begin_layout Standard
7275 Generic shadows/halos can be created with the box option
7284 For a brief description of these options consult section
7293 \begin_inset CommandInset citation
7302 \begin_layout Standard
7303 \begin_inset Flex Color Box
7306 \begin_layout Plain Layout
7307 \begin_inset Argument 1
7310 \begin_layout Plain Layout
7311 enhanced, title=Double shadow, shadow={-2.5mm}{-2.5mm}{0mm}{fill=blue, opacity=0.25
7312 }, shadow={1.5mm}{1.5mm}{0mm}{fill=red, opacity=0.25}
7318 \begin_inset space ~
7329 \begin_layout Bibliography
7330 \begin_inset CommandInset bibitem
7331 LatexCommand bibitem
7337 \begin_inset CommandInset href
7339 name "Documentation"
7340 target "http://mirrors.ctan.org/macros/latex/contrib/tcolorbox/tcolorbox.pdf"
7344 of the \SpecialChar LaTeX