1 #LyX 2.3 created this file. For more info see http://www.lyx.org/
5 \save_transient_properties true
6 \origin /systemlyxdir/examples/
13 % set fonts for nicer pdf view
14 \IfFileExists{lmodern.sty}
15 {\usepackage{lmodern}}{}
17 \fi % end if pdflatex is used
19 \@ifpackageloaded{babel}{
20 % increase link area for cross-references and autoname them,
21 \AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1}}}}
22 \@ifundefined{extrasenglish}{\usepackage[english]{babel}}{}
23 \addto\extrasenglish{%
24 \renewcommand*{\equationautorefname}[1]{}%
25 \renewcommand{\sectionautorefname}{sec.\negthinspace}%
26 \renewcommand{\subsectionautorefname}{sec.\negthinspace}%
27 \renewcommand{\subsubsectionautorefname}{sec.\negthinspace}%
31 \options BCOR8mm, most, usenames, dvipsnames
32 \use_default_options false
36 \maintain_unincluded_children false
38 \language_package default
41 \font_roman "default" "default"
42 \font_sans "default" "default"
43 \font_typewriter "default" "default"
44 \font_math "auto" "auto"
45 \font_default_family default
46 \use_non_tex_fonts false
49 \font_sf_scale 100 100
50 \font_tt_scale 100 100
52 \use_dash_ligatures false
54 \default_output_format default
56 \bibtex_command bibtex
57 \index_command default
61 \pdf_title "Description of the module tcolorbox"
62 \pdf_author "Uwe Stöhr"
63 \pdf_subject "fancy colored boxes"
64 \pdf_keywords "LyX, tcolorbox, colored boxes"
66 \pdf_bookmarksnumbered true
67 \pdf_bookmarksopen true
68 \pdf_bookmarksopenlevel 3
73 \pdf_pdfusetitle false
74 \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false, urlbordercolor={1 0 0}"
77 \use_package amsmath 1
78 \use_package amssymb 1
81 \use_package mathdots 1
82 \use_package mathtools 1
84 \use_package stackrel 1
85 \use_package stmaryrd 1
86 \use_package undertilde 1
88 \cite_engine_type default
92 \paperorientation portrait
97 \notefontcolor #0000ff
104 \paragraph_separation skip
107 \math_numbering_side default
108 \quotes_style english
112 \paperpagestyle default
113 \tracking_changes false
114 \output_changes false
117 \html_be_strict false
123 Description of the module Fancy Colored Boxes
130 \begin_layout Standard
143 you have access to a huge variety of colored boxes.
144 They are particularly useful for presentations or educational texts where
145 you might for example highlight results or equations.
146 This document describes how these boxes are used with \SpecialChar LyX
150 \begin_layout Standard
151 The fancy boxes are generated by the \SpecialChar LaTeX
157 This package has so many features that its manual exceeds 400
163 can therefore only provide access to its basic features.
164 For more advanced features and examples have a loot at the
169 \begin_inset CommandInset citation
179 \begin_layout Section
183 \begin_layout Standard
184 At first load the module
196 in the document settings of your file.
199 \begin_layout Standard
200 Add the following options to the document class options in the document
201 settings of your file:
204 \begin_layout Standard
207 most, usenames, dvipsnames
210 \begin_layout Standard
215 loads most of the libraries of the \SpecialChar LaTeX
225 load additional colors, see Appendix
240 \begin_layout Section
244 \begin_layout Subsection
248 \begin_layout Subsubsection
252 \begin_layout Standard
253 A static color box is inserted via the menu
255 Insert\SpecialChar menuseparator
256 Custom Insets\SpecialChar menuseparator
266 \begin_layout Standard
267 This is a static color box:
268 \begin_inset Flex Color Box
271 \begin_layout Plain Layout
280 \begin_layout Standard
281 It has by default a frame with round corners and consumes the full text
283 It can contain several paragraphs and math.
286 \begin_layout Standard
287 \begin_inset Note Greyedout
290 \begin_layout Plain Layout
295 The box can contain forced page breaks but they will be ignored.
296 To get breakable boxes, see
297 \begin_inset CommandInset ref
299 reference "sec:Beakable-boxes"
311 \begin_layout Subsubsection
315 \begin_layout Standard
316 A dynamic color box is inserted via inset via the menu
318 Insert\SpecialChar menuseparator
319 Custom Insets\SpecialChar menuseparator
333 \begin_layout Standard
334 This is a dynamic color box:
335 \begin_inset Flex Dynamic Color Box
338 \begin_layout Plain Layout
347 \begin_layout Standard
348 In contrary to static boxes dynamic boxes cannot have parts, see
349 \begin_inset CommandInset ref
351 reference "subsec:Box-parts"
355 , and they cannot made breakable but one can set their vertical placement,
357 \begin_inset CommandInset ref
359 reference "subsec:Vertical"
364 Their width is by default the width of the content.
367 \begin_layout Subsubsection
371 \begin_layout Standard
372 A fit color box is inserted via the menu
374 Insert\SpecialChar menuseparator
375 Custom Insets\SpecialChar menuseparator
389 \begin_layout Standard
390 Fit boxes are dynamic boxes but their content is automatically decreased
391 or increased to fit into the specified box width and heigh.
392 How to specify a width and height is described in
393 \begin_inset CommandInset ref
395 reference "subsec:Geometry"
400 If no width and height is specified the result is a square box consuming
401 the full available width of the page.
402 If only a width is specified, the result is a square box.
405 \begin_layout Standard
406 These are fit color boxes:
409 \begin_layout Standard
410 \begin_inset Flex Fit Color Box
413 \begin_layout Plain Layout
414 \begin_inset Argument 1
417 \begin_layout Plain Layout
424 \begin_inset space \thinspace{}
427 cm wide fit color box with some text.
429 \begin_inset space \thinspace{}
432 cm wide fit color box with some text.
434 \begin_inset space \thinspace{}
437 cm wide fit color box with some text.
445 \begin_layout Standard
446 \begin_inset Flex Fit Color Box
449 \begin_layout Plain Layout
450 \begin_inset Argument 1
453 \begin_layout Plain Layout
454 width=5cm, height=3cm
460 \begin_inset space \thinspace{}
464 \begin_inset space \thinspace{}
467 cm high fit color box.
475 \begin_layout Standard
476 The examples show that the text will be shrinked to fit into the box but
477 it will not be increased.
480 \begin_layout Subsubsection
484 \begin_layout Standard
485 A custom color box is inserted via the menu
487 Insert\SpecialChar menuseparator
488 Custom Insets\SpecialChar menuseparator
499 where # is the number.
502 \begin_layout Standard
503 How to use and customize custom color boxes, see
504 \begin_inset CommandInset ref
506 reference "subsec:General"
513 \begin_layout Subsection
517 \begin_layout Standard
518 To add a title to a box add an options inset via the menu Insert\SpecialChar menuseparator
532 followed by your title.
535 \begin_layout Standard
536 This is a titled box:
537 \begin_inset Flex Color Box
540 \begin_layout Plain Layout
541 \begin_inset Argument 1
544 \begin_layout Plain Layout
550 A basic box with a title.
558 \begin_layout Standard
559 A subtitle is added with the inset
565 Insert\SpecialChar menuseparator
571 \begin_layout Standard
572 \begin_inset Flex Color Box
575 \begin_layout Plain Layout
576 \begin_inset Argument 1
579 \begin_layout Plain Layout
585 A basic box with a subtitle.
587 \begin_inset Flex Subtitle
590 \begin_layout Plain Layout
596 The content below the subtitle.
604 \begin_layout Standard
605 The title and subtitle text is by default white.
606 How to change its color, see
607 \begin_inset CommandInset ref
609 reference "subsec:Title-text"
616 \begin_layout Subsection
618 \begin_inset CommandInset label
620 name "subsec:Box-parts"
627 \begin_layout Standard
628 The content of the box can be divided into an upper and a lower part by
629 using the environment
634 's environment selection combobox.
635 The idea behind this is that both parts can be treated and customized separatel
637 An application would be that the upper part contains a description and
638 the lower part an equation.
641 \begin_layout Standard
642 This is a box where the content is separated:
645 \begin_layout Standard
646 \begin_inset Flex Color Box
649 \begin_layout Plain Layout
653 \begin_layout Color Box Separator
657 \begin_layout Plain Layout
666 \begin_layout Standard
667 The separation line can be customized as described in
668 \begin_inset CommandInset ref
670 reference "subsec:Lines"
677 \begin_layout Standard
678 The separation can also be made side by side with the box option
685 \begin_layout Standard
686 \begin_inset Flex Color Box
689 \begin_layout Plain Layout
690 \begin_inset Argument 1
693 \begin_layout Plain Layout
699 Upper content at the left
702 \begin_layout Color Box Separator
706 \begin_layout Plain Layout
707 Lower content at the right
715 \begin_layout Standard
716 The separation can be made invisible with the box option
718 lower separated=false
723 \begin_layout Standard
724 \begin_inset Flex Color Box
727 \begin_layout Plain Layout
728 \begin_inset Argument 1
731 \begin_layout Plain Layout
732 sidebyside, lower separated=false
737 Upper content invisibly separated
740 \begin_layout Color Box Separator
744 \begin_layout Plain Layout
745 Lower content at the right
753 \begin_layout Standard
754 There are several layout skins available for colored boxes, see
755 \begin_inset CommandInset ref
757 reference "subsec:Beamer"
761 , that affects also the layout of the box parts.
762 For example with the box option
766 the box parts are separated this way:
769 \begin_layout Standard
770 \begin_inset Flex Color Box
773 \begin_layout Plain Layout
774 \begin_inset Argument 1
777 \begin_layout Plain Layout
786 \begin_layout Color Box Separator
790 \begin_layout Plain Layout
799 \begin_layout Subsection
801 \begin_inset CommandInset label
810 \begin_layout Standard
811 To draw a line in a box use the environment
816 The line is by default dashed.
817 Note that it is just a line and does not separate box parts!
820 \begin_layout Standard
821 This is a box with a line:
824 \begin_layout Standard
825 \begin_inset Flex Color Box
828 \begin_layout Plain Layout
832 \begin_layout Color Box Line
836 \begin_layout Plain Layout
845 \begin_layout Standard
846 The line style can only be changed if a skin is specified, see
847 \begin_inset CommandInset ref
849 reference "subsec:Enhanced"
854 Then one can use the box option
856 segmentation style={commands}
862 are commands to define the style.
875 manual for possible commands,
876 \begin_inset CommandInset citation
886 \begin_layout Standard
887 Here is an example in the
891 skin with a double blue line:
894 \begin_layout Standard
895 \begin_inset Flex Color Box
898 \begin_layout Plain Layout
899 \begin_inset Argument 1
902 \begin_layout Plain Layout
903 enhanced, segmentation style={double=white,draw=blue,double distance=1pt,solid}
911 \begin_layout Color Box Line
915 \begin_layout Plain Layout
924 \begin_layout Standard
925 \begin_inset Newpage newpage
931 \begin_layout Section
933 \begin_inset CommandInset label
935 name "sec:Beakable-boxes"
942 \begin_layout Standard
943 To make a box breakable the option
948 If a page break occurs within a box, the box will get broken this way:
951 \begin_layout Standard
952 \begin_inset Flex Color Box
955 \begin_layout Plain Layout
956 \begin_inset Argument 1
959 \begin_layout Plain Layout
960 title=A breakable box, breakable, title after break=continued...
965 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
966 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
968 At vero eos et accusam et justo duo dolores et ea rebum.
969 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
971 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
972 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
974 At vero eos et accusam et justo duo dolores et ea rebum.
975 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
977 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
978 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
980 At vero eos et accusam et justo duo dolores et ea rebum.
981 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
983 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
984 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
986 At vero eos et accusam et justo duo dolores et ea rebum.
987 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
989 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
990 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
992 At vero eos et accusam et justo duo dolores et ea rebum.
993 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
995 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
996 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
998 At vero eos et accusam et justo duo dolores et ea rebum.
999 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1001 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1002 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1004 At vero eos et accusam et justo duo dolores et ea rebum.
1005 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1007 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1008 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1010 At vero eos et accusam et justo duo dolores et ea rebum.
1011 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1013 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1014 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1016 At vero eos et accusam et justo duo dolores et ea rebum.
1017 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1019 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1020 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1022 At vero eos et accusam et justo duo dolores et ea rebum.
1023 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1032 \begin_layout Standard
1033 In the above example the special title
1038 was added for the second page of the box with the option
1045 \begin_layout Standard
1046 If boxes are inside boxes, only the outer box can made breakable.
1049 \begin_layout Standard
1050 \begin_inset Note Greyedout
1053 \begin_layout Plain Layout
1058 Dynamic boxes and fit boxes cannot made breakable!
1066 \begin_layout Section
1070 \begin_layout Subsection
1072 \begin_inset CommandInset label
1074 name "subsec:General"
1081 \begin_layout Standard
1082 The following subsections show many possibilities to customize boxes.
1085 \begin_layout Standard
1086 To avoid to write the box commands all the time, you can use the environment
1090 \begin_inset space ~
1094 \begin_inset space ~
1100 It is inserted via \SpecialChar LyX
1101 's style selection combobox.
1102 There you can write all options that should be applied for
1106 boxes of the document
1111 For example writing there
1113 width=3cm, height=8cm
1115 forces all following boxes to have a height of 8
1116 \begin_inset space \thinspace{}
1120 \begin_inset space \thinspace{}
1124 However, this is not useful if one needs several box types since the changes
1132 \begin_layout Standard
1133 In most documents one need a few types of boxes and all boxes of a type
1134 should look identical.
1135 To achieve this the module
1138 \begin_inset space ~
1142 \begin_inset space ~
1148 \begin_inset space ~
1151 different box types which you can customize.
1152 To change their appearance use the environment
1155 \begin_inset space ~
1159 \begin_inset space ~
1163 \begin_inset space ~
1169 It is inserted via \SpecialChar LyX
1170 's style selection combobox.
1173 \begin_layout Standard
1174 If you want for example a box type that looks like the fancy colored one
1176 \begin_inset CommandInset ref
1178 reference "subsec:Enhanced"
1182 use these options in the environment:
1185 \begin_layout Standard
1188 enhanced, frame style={left color=red!75!black, right color=blue!75!black},
1189 interior style={left color=red!20!white, right color=yellow!50!white}
1192 \begin_layout Standard
1201 (cBoxA is custom box type
1202 \begin_inset space ~
1206 \begin_inset space ~
1210 Because you want to customize every box of this type (e.
1211 \begin_inset space \thinspace{}
1215 \begin_inset space \space{}
1218 every box should have its own title), you need one argument.
1223 into the Arguments inset of the environment.
1226 \begin_layout Standard
1227 \begin_inset Note Greyedout
1230 \begin_layout Plain Layout
1235 If you use an argument, the inset
1239 must also be inserted but left empty!
1247 \begin_layout New Color Box Type
1248 \begin_inset Argument 2
1251 \begin_layout Plain Layout
1259 \begin_inset Argument 3
1262 \begin_layout Plain Layout
1270 \begin_inset Argument 4
1273 \begin_layout Plain Layout
1279 enhanced, frame style={left color=red!75!black, right color=blue!75!black},
1280 interior style={left color=red!20!white, right color=yellow!50!white},
1284 \begin_layout Standard
1285 This way you defined the box type
1288 \begin_inset space ~
1292 \begin_inset space ~
1296 \begin_inset space ~
1302 Boxes of this type will look like this:
1305 \begin_layout Standard
1306 \begin_inset Flex Custom Color Box 1
1309 \begin_layout Plain Layout
1310 \begin_inset Argument 1
1313 \begin_layout Plain Layout
1327 \begin_layout Standard
1328 \begin_inset VSpace bigskip
1332 \begin_inset Newline newline
1335 Assuming you need a box type that can be numbered, you insert
1338 \begin_layout Standard
1341 auto counter, number within=section
1344 \begin_layout Standard
1356 \begin_inset space ~
1360 \begin_inset space ~
1364 \begin_inset space ~
1390 \begin_layout Standard
1393 colback=red!5!white, colframe=red!75!black, title=Example~
1398 \begin_layout Standard
1399 into the environment.
1400 This predefines a title prefix.
1407 is hereby the counter of colored boxes.
1411 \begin_inset space ~
1415 \begin_inset space ~
1419 \begin_inset space ~
1424 you specify the title via the options inset:
1427 \begin_layout New Color Box Type
1428 \begin_inset Argument 1
1431 \begin_layout Plain Layout
1433 auto counter, number within=section
1439 \begin_inset Argument 2
1442 \begin_layout Plain Layout
1450 \begin_inset Argument 3
1453 \begin_layout Plain Layout
1461 \begin_inset Argument 4
1464 \begin_layout Plain Layout
1470 colback=red!5!white, colframe=red!75!black, title=Example~
1475 \begin_layout Standard
1476 \begin_inset Flex Custom Color Box 2
1479 \begin_layout Plain Layout
1480 \begin_inset Argument 1
1483 \begin_layout Plain Layout
1484 Custom numbered title
1497 \begin_layout Standard
1498 Note that you must not write
1502 because this is already done in the definition.
1505 \begin_layout Standard
1506 You can still customize the box by adding options
1513 \begin_layout Standard
1514 \begin_inset Flex Custom Color Box 2
1517 \begin_layout Plain Layout
1518 \begin_inset Argument 1
1521 \begin_layout Plain Layout
1522 Bold numbered title, colback=lime, fonttitle=
1537 \begin_layout Standard
1538 \begin_inset VSpace bigskip
1541 At last a more advanced example:
1542 \begin_inset Newline newline
1545 Assuming you need the type we just defined as
1548 \begin_inset space ~
1552 \begin_inset space ~
1556 \begin_inset space ~
1561 but want to add more than one option.
1562 This is for example useful for options that require another option before
1563 in the options list.
1564 \begin_inset Newline newline
1570 \begin_layout Standard
1573 auto counter, number within=section
1576 \begin_layout Standard
1588 \begin_inset space ~
1592 \begin_inset space ~
1596 \begin_inset space ~
1612 \begin_inset space ~
1627 \begin_layout Standard
1630 nobeforeafter, width=#1, square, colframe=orange!50!black,
1631 \begin_inset Newline newline
1639 \begin_layout Standard
1640 into the environment.
1644 \begin_inset space ~
1648 \begin_inset space ~
1652 \begin_inset space ~
1657 you specify the width via the
1661 inset and the title (and further options if you like) via the
1663 More Color Box Options
1668 \begin_layout New Color Box Type
1669 \begin_inset Argument 1
1672 \begin_layout Plain Layout
1674 auto counter, number within=section
1680 \begin_inset Argument 2
1683 \begin_layout Plain Layout
1691 \begin_inset Argument 3
1694 \begin_layout Plain Layout
1702 \begin_inset Argument 4
1705 \begin_layout Plain Layout
1711 nobeforeafter, width=#1, square, colframe=orange!50!black, title=Example~
1716 \begin_layout Standard
1717 \begin_inset Flex Custom Color Box 3
1720 \begin_layout Plain Layout
1721 \begin_inset Argument 1
1724 \begin_layout Plain Layout
1731 \begin_inset Argument 2
1734 \begin_layout Plain Layout
1741 \begin_inset space \thinspace{}
1744 cm wide custom color box 3
1750 \begin_inset Flex Custom Color Box 3
1753 \begin_layout Plain Layout
1754 \begin_inset Argument 1
1757 \begin_layout Plain Layout
1764 \begin_inset Argument 2
1767 \begin_layout Plain Layout
1774 \begin_inset space \thinspace{}
1777 cm wide custom color box 3 with the
1789 \begin_layout Subsection
1793 \begin_layout Standard
1794 The \SpecialChar LaTeX
1799 provides different skins.
1800 For a full list, see the
1807 \begin_inset space ~
1813 \begin_inset CommandInset citation
1821 Only the most important skins are listed in the following.
1824 \begin_layout Subsubsection
1826 \begin_inset CommandInset label
1828 name "subsec:Enhanced"
1835 \begin_layout Standard
1836 This skin is enabled by adding the option enhanced.
1837 Without further options it looks like the standard skin.
1838 Its advantage are some extra features like the customization of lines,
1840 \begin_inset CommandInset ref
1842 reference "subsec:Lines"
1846 or the ability to have shadows, see
1847 \begin_inset CommandInset ref
1849 reference "subsec:Shadows"
1854 Another feature is a nicer style of breakable boxes:
1857 \begin_layout Standard
1858 \begin_inset Flex Color Box
1861 \begin_layout Plain Layout
1862 \begin_inset Argument 1
1865 \begin_layout Plain Layout
1870 breakable box, breakable, enhanced
1875 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1876 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1878 At vero eos et accusam et justo duo dolores et ea rebum.
1879 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1881 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1882 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1884 At vero eos et accusam et justo duo dolores et ea rebum.
1885 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1887 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1888 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1890 At vero eos et accusam et justo duo dolores et ea rebum.
1891 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1893 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1894 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1896 At vero eos et accusam et justo duo dolores et ea rebum.
1897 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1899 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1900 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1902 At vero eos et accusam et justo duo dolores et ea rebum.
1903 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1905 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1906 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1908 At vero eos et accusam et justo duo dolores et ea rebum.
1909 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1911 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1912 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1914 At vero eos et accusam et justo duo dolores et ea rebum.
1915 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1917 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1918 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1920 At vero eos et accusam et justo duo dolores et ea rebum.
1921 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1923 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1924 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1926 At vero eos et accusam et justo duo dolores et ea rebum.
1927 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1929 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1930 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1932 At vero eos et accusam et justo duo dolores et ea rebum.
1933 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1942 \begin_layout Standard
1943 Another feature you might like is to add color gradients with the options
1954 \begin_inset Newline newline
1959 frame style={left color=color, right color=color}
1960 \begin_inset Newline newline
1969 is a color name or definition, see
1970 \begin_inset CommandInset ref
1972 reference "subsec:Color"
1979 \begin_layout Standard
1980 \begin_inset Flex Color Box
1983 \begin_layout Plain Layout
1984 \begin_inset Argument 1
1987 \begin_layout Plain Layout
1992 box with a color gradient, enhanced, frame style={left color=red!75!black,
1993 right color=blue!75!black}, interior style={left color=red!20!white, right
1994 color=yellow!50!white}
2002 \begin_layout Color Box Separator
2006 \begin_layout Plain Layout
2015 \begin_layout Standard
2016 Alternatively one can use a PNG image as background for boxes with the option
2019 frame style image=file name
2024 \begin_inset space ~
2029 is the file name of the image.
2032 \begin_layout Subsubsection
2036 \begin_layout Standard
2037 With this skin the lower content gets another background color than the
2041 \begin_layout Standard
2042 \begin_inset Flex Color Box
2045 \begin_layout Plain Layout
2046 \begin_inset Argument 1
2049 \begin_layout Plain Layout
2050 title=A box with the skin
2062 \begin_layout Color Box Separator
2066 \begin_layout Plain Layout
2075 \begin_layout Standard
2076 The color of the lower part can be changed with the option
2082 \begin_inset CommandInset ref
2084 reference "subsec:Color"
2088 for color customization.
2091 \begin_layout Subsubsection
2093 \begin_inset CommandInset label
2095 name "subsec:Beamer"
2102 \begin_layout Standard
2103 This is a skin that simulates the appearance of the beamer presentation
2105 Its appearance can be changed like for the enhanced skin,
2106 \begin_inset CommandInset ref
2108 reference "subsec:Enhanced"
2115 \begin_layout Standard
2116 \begin_inset Flex Color Box
2119 \begin_layout Plain Layout
2120 \begin_inset Argument 1
2123 \begin_layout Plain Layout
2128 box with a color gradient, beamer, frame style={left color=red!75!black,
2129 right color=blue!75!black}
2137 \begin_layout Color Box Separator
2141 \begin_layout Plain Layout
2150 \begin_layout Subsubsection
2154 \begin_layout Standard
2155 This skin is like the standard skin but the background colors are automatically
2159 \begin_layout Standard
2160 \begin_inset Flex Color Box
2163 \begin_layout Plain Layout
2164 \begin_inset Argument 1
2167 \begin_layout Plain Layout
2180 \begin_layout Color Box Separator
2184 \begin_layout Plain Layout
2193 \begin_layout Subsubsection
2197 \begin_layout Standard
2198 This skin has no colors.
2199 To make the title visible (because it is by default white) you have to
2200 change its color, see
2201 \begin_inset CommandInset ref
2203 reference "subsec:Title-text"
2210 \begin_layout Standard
2211 \begin_inset Flex Color Box
2214 \begin_layout Plain Layout
2215 \begin_inset Argument 1
2218 \begin_layout Plain Layout
2219 title=A box with the
2223 skin, empty, coltitle=orange
2231 \begin_layout Color Box Separator
2235 \begin_layout Plain Layout
2244 \begin_layout Subsection
2248 \begin_layout Subsubsection
2252 \begin_layout Standard
2253 Normally the boxes are a paragraph of its own.
2254 They will therefore appear by default one upon another separated by vertical
2256 To change this behavior, to place for example boxes side by side, use the
2266 By default there is a paragraph break before and after the box.
2267 By using the options
2271 nothing will be added besides the boxes so that they can be places side
2275 \begin_layout Standard
2276 \begin_inset Flex Color Box
2279 \begin_layout Plain Layout
2280 \begin_inset Argument 1
2283 \begin_layout Plain Layout
2284 width=3cm, square, valign=center, before=, after=
2290 \begin_inset space \thinspace{}
2293 cm wide, square box.
2299 \begin_inset Flex Color Box
2302 \begin_layout Plain Layout
2303 \begin_inset Argument 1
2306 \begin_layout Plain Layout
2307 width=3cm, square, valign=center, before=, after=
2313 \begin_inset space \thinspace{}
2316 cm wide, square box.
2322 \begin_inset Flex Color Box
2325 \begin_layout Plain Layout
2326 \begin_inset Argument 1
2329 \begin_layout Plain Layout
2330 width=3cm, square, valign=center, before=, after=
2336 \begin_inset space \thinspace{}
2339 cm wide, square box.
2347 \begin_layout Standard
2352 is an alternative for
2359 \begin_layout Standard
2360 To separate the boxes one can use the normal \SpecialChar LyX
2361 spacing features like a horizontal
2365 \begin_layout Standard
2366 \begin_inset space \hfill{}
2370 \begin_inset Flex Color Box
2373 \begin_layout Plain Layout
2374 \begin_inset Argument 1
2377 \begin_layout Plain Layout
2378 width=3cm, square, valign=center, nobeforeafter
2384 \begin_inset space \thinspace{}
2387 cm wide, square box.
2393 \begin_inset space \hfill{}
2397 \begin_inset Flex Color Box
2400 \begin_layout Plain Layout
2401 \begin_inset Argument 1
2404 \begin_layout Plain Layout
2405 width=3cm, square, valign=center, nobeforeafter
2411 \begin_inset space \thinspace{}
2414 cm wide, square box.
2420 \begin_inset space \hfill{}
2424 \begin_inset Flex Color Box
2427 \begin_layout Plain Layout
2428 \begin_inset Argument 1
2431 \begin_layout Plain Layout
2432 width=3cm, square, valign=center, nobeforeafter
2438 \begin_inset space \thinspace{}
2441 cm wide, square box.
2447 \begin_inset space \hfill{}
2453 \begin_layout Standard
2454 If you prefer \SpecialChar TeX
2455 code you can alternatively use the option
2461 to add a a horizontal fill.
2464 \begin_layout Subsubsection
2468 \begin_layout Standard
2469 Like for tables and figures in a document it is very helpful if boxes could
2470 float in the text to be placed at the optimal position.
2471 This is achieved by the option
2479 are the optional \SpecialChar TeX
2480 floating placement options
2481 \begin_inset Quotes eld
2489 \begin_inset Quotes erd
2493 \begin_inset Quotes eld
2501 \begin_inset Quotes erd
2505 \begin_inset Quotes eld
2513 \begin_inset Quotes erd
2517 \begin_inset Quotes eld
2525 \begin_inset Quotes erd
2529 They correspond to the float placement options described in section
2532 \begin_inset space ~
2540 \begin_inset space ~
2546 The placement options can be mixed and are inserted without any separation,
2548 \begin_inset space \thinspace{}
2552 \begin_inset space \space{}
2556 \begin_inset Quotes eld
2564 \begin_inset Quotes erd
2570 \begin_layout Standard
2571 \begin_inset Flex Color Box
2574 \begin_layout Plain Layout
2575 \begin_inset Argument 1
2578 \begin_layout Plain Layout
2579 title=A floating box, float, width=5cm, valign=center
2585 \begin_inset space \thinspace{}
2588 cm wide floating box.
2596 \begin_layout Standard
2597 For floating boxes the options
2606 One can instead insert code with the command
2611 If the box is breakable the code is inserted before every part of the break
2613 A typical application is to center the floating box with
2620 \begin_layout Standard
2621 \begin_inset Flex Color Box
2624 \begin_layout Plain Layout
2625 \begin_inset Argument 1
2628 \begin_layout Plain Layout
2629 title=A floating box, float, width=5cm, valign=center, every float=
2637 \begin_inset space \thinspace{}
2640 cm wide floating box.
2648 \begin_layout Subsubsection
2650 \begin_inset CommandInset label
2652 name "subsec:Vertical"
2659 \begin_layout Standard
2660 The vertical placement of a box in respect to the surrounding text line
2661 can only be set for dynamic boxes.
2666 raises or lowers the box.
2672 The allowed units for values are listed in Appendix
2673 \begin_inset space ~
2679 \begin_inset space ~
2685 The default width is
2694 the box is lowered so that the base of the box content matches the base
2695 of the surrounding line.
2698 \begin_layout Standard
2702 \begin_layout Standard
2704 \begin_inset Flex Dynamic Color Box
2707 \begin_layout Plain Layout
2708 \begin_inset Argument 1
2711 \begin_layout Plain Layout
2712 tcbox raise base, nobeforeafter
2723 \begin_inset Flex Dynamic Color Box
2726 \begin_layout Plain Layout
2727 \begin_inset Argument 1
2730 \begin_layout Plain Layout
2742 \begin_inset Flex Dynamic Color Box
2745 \begin_layout Plain Layout
2746 \begin_inset Argument 1
2749 \begin_layout Plain Layout
2750 tcbox raise=1cm, nobeforeafter
2756 \begin_inset space \thinspace{}
2767 \begin_layout Subsubsection
2771 \begin_layout Standard
2772 The easiest way to place boxes in a table-like raster is to put them into
2777 \begin_inset space ~
2781 \begin_inset space ~
2786 inset is inserted via the menu
2788 Insert\SpecialChar menuseparator
2794 \begin_layout Standard
2795 The number of columns is specified with the option
2797 raster columns=number
2803 is the number of columns.
2804 All boxes inserted to the raster box will now automatically be output in
2805 a raster with 3 columns and their width is automatically adjusted.
2808 \begin_layout Standard
2809 \begin_inset Flex Raster Color Box
2812 \begin_layout Plain Layout
2813 \begin_inset Argument 1
2816 \begin_layout Plain Layout
2825 \begin_layout Plain Layout
2826 \begin_inset Flex Color Box
2829 \begin_layout Plain Layout
2830 \begin_inset Argument 1
2833 \begin_layout Plain Layout
2845 \begin_inset Flex Color Box
2848 \begin_layout Plain Layout
2849 \begin_inset Argument 1
2852 \begin_layout Plain Layout
2864 \begin_inset Flex Color Box
2867 \begin_layout Plain Layout
2868 \begin_inset Argument 1
2871 \begin_layout Plain Layout
2883 \begin_inset Flex Color Box
2886 \begin_layout Plain Layout
2887 \begin_inset Argument 1
2890 \begin_layout Plain Layout
2902 \begin_inset Flex Color Box
2905 \begin_layout Plain Layout
2906 \begin_inset Argument 1
2909 \begin_layout Plain Layout
2928 \begin_layout Standard
2929 For more info about options of the raster color box, please consult the
2937 \begin_inset space ~
2943 \begin_inset CommandInset citation
2953 \begin_layout Subsection
2955 \begin_inset CommandInset label
2957 name "subsec:Geometry"
2964 \begin_layout Subsubsection
2968 \begin_layout Subsubsection*
2972 \begin_layout Standard
2973 The width of the box is changed with the option
2982 The allowed units for values are listed in Appendix
2983 \begin_inset space ~
2989 \begin_inset space ~
2995 The default width is
3004 \begin_layout Standard
3005 \begin_inset Flex Color Box
3008 \begin_layout Plain Layout
3009 \begin_inset Argument 1
3012 \begin_layout Plain Layout
3019 \begin_inset space \thinspace{}
3030 \begin_layout Standard
3031 One can also set a width only for the text of the box with the option
3036 If the width is shorter than required for the text, new lines will be created
3040 \begin_layout Standard
3041 \begin_inset Flex Color Box
3044 \begin_layout Plain Layout
3045 \begin_inset Argument 1
3048 \begin_layout Plain Layout
3054 Some longer text to fill the box with a width of 4
3055 \begin_inset space \thinspace{}
3066 \begin_layout Standard
3075 ; only the last given width option is taken into account.
3078 \begin_layout Standard
3079 To extend the width of the box one must use the
3083 option and can then use the option
3090 \begin_layout Standard
3091 \begin_inset Flex Color Box
3094 \begin_layout Plain Layout
3095 \begin_inset Argument 1
3098 \begin_layout Plain Layout
3099 width=10cm, add to width=2cm
3105 \begin_inset space \thinspace{}
3108 cm wide box with additional width of 2
3109 \begin_inset space \thinspace{}
3120 \begin_layout Subsubsection*
3124 \begin_layout Standard
3125 For boxes with parts side by side one can control the width of the box parts
3149 sidebyside gap=length
3156 The allowed units for the values are listed in Appendix
3157 \begin_inset space ~
3163 \begin_inset space ~
3169 All options require of course the option
3176 \begin_layout Standard
3181 sets the space between the left and the right part:
3184 \begin_layout Standard
3185 \begin_inset Flex Color Box
3188 \begin_layout Plain Layout
3189 \begin_inset Argument 1
3192 \begin_layout Plain Layout
3193 sidebyside, sidebyside gap=2cm
3198 Upper content divided by 2
3199 \begin_inset space \thinspace{}
3205 \begin_layout Color Box Separator
3209 \begin_layout Plain Layout
3218 \begin_layout Standard
3227 set the absolute width of the left and right part, respectively:
3230 \begin_layout Standard
3231 \begin_inset Flex Color Box
3234 \begin_layout Plain Layout
3235 \begin_inset Argument 1
3238 \begin_layout Plain Layout
3239 sidebyside, lefthand width=3cm
3244 Upper content with a width of 3
3245 \begin_inset space \thinspace{}
3251 \begin_layout Color Box Separator
3255 \begin_layout Plain Layout
3264 \begin_layout Standard
3273 set the relative width of the left and right part, respectively:
3276 \begin_layout Standard
3277 \begin_inset Flex Color Box
3280 \begin_layout Plain Layout
3281 \begin_inset Argument 1
3284 \begin_layout Plain Layout
3285 sidebyside, lefthand ratio=0.3
3290 Upper content with a width of 30
3291 \begin_inset space \thinspace{}
3297 \begin_layout Color Box Separator
3301 \begin_layout Plain Layout
3310 \begin_layout Subsubsection
3312 \begin_inset CommandInset label
3314 name "subsec:Height"
3321 \begin_layout Subsubsection*
3325 \begin_layout Standard
3326 The height of the box is changed with the option
3335 The default height is the height consumed by the box content.
3338 \begin_layout Standard
3339 \begin_inset Flex Color Box
3342 \begin_layout Plain Layout
3343 \begin_inset Argument 1
3346 \begin_layout Plain Layout
3353 \begin_inset space \thinspace{}
3364 \begin_layout Standard
3365 If the specified height is smaller than the one consumed by the content,
3366 the content will be placed below the box:
3369 \begin_layout Standard
3370 \begin_inset Flex Color Box
3373 \begin_layout Plain Layout
3374 \begin_inset Argument 1
3377 \begin_layout Plain Layout
3384 \begin_inset space \thinspace{}
3395 \begin_layout Standard
3396 \begin_inset VSpace bigskip
3403 the height will automatically be set to the same value than the box width.
3406 \begin_layout Standard
3407 \begin_inset Flex Color Box
3410 \begin_layout Plain Layout
3411 \begin_inset Argument 1
3414 \begin_layout Plain Layout
3428 \begin_layout Standard
3429 \begin_inset VSpace bigskip
3432 To extend the height of the box in case the content might consume more height
3433 than expected one must use the
3437 option and can then uses the option
3442 An application would be to set a maximal possible height in case you write
3443 a book where the spacing is defined and should not be overwritten by any
3447 \begin_layout Standard
3448 \begin_inset Flex Color Box
3451 \begin_layout Plain Layout
3452 \begin_inset Argument 1
3455 \begin_layout Plain Layout
3456 height=2cm, height plus=2cm
3462 \begin_inset space \thinspace{}
3465 cm high box with additional height of 2
3466 \begin_inset space \thinspace{}
3477 \begin_layout Standard
3478 \begin_inset Flex Color Box
3481 \begin_layout Plain Layout
3482 \begin_inset Argument 1
3485 \begin_layout Plain Layout
3486 height=2cm, height plus=2cm
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{}
3528 \begin_inset space \thinspace{}
3531 cm high box with additional height of 2
3532 \begin_inset space \thinspace{}
3536 Its content consumes 3
3537 \begin_inset space \thinspace{}
3540 cm therefore the box height will also be 3
3541 \begin_inset space \thinspace{}
3552 \begin_layout Standard
3553 \begin_inset VSpace bigskip
3556 In some cases it might be useful to specify an allowed range for the height
3559 height from=min to max
3570 The height will then be at least the given minimal value or the height
3571 consumed by the content.
3572 It does not exceed the maximum, independent of the content:
3575 \begin_layout Standard
3576 \begin_inset Flex Color Box
3579 \begin_layout Plain Layout
3580 \begin_inset Argument 1
3583 \begin_layout Plain Layout
3584 height from=1cm to 3cm
3589 A box with minimal height of 1
3590 \begin_inset space \thinspace{}
3593 cm and maximal height of 3
3594 \begin_inset space \thinspace{}
3605 \begin_layout Standard
3606 \begin_inset Flex Color Box
3609 \begin_layout Plain Layout
3610 \begin_inset Argument 1
3613 \begin_layout Plain Layout
3614 height from=1cm to 3cm
3619 A box with minimal height of 1
3620 \begin_inset space \thinspace{}
3623 cm and maximal height of 3
3624 \begin_inset space \thinspace{}
3628 The content consumes more space than 3
3629 \begin_inset space \thinspace{}
3633 A box with minimal height of 1
3634 \begin_inset space \thinspace{}
3637 cm and maximal height of 3
3638 \begin_inset space \thinspace{}
3642 The content consumes more space than 3
3643 \begin_inset space \thinspace{}
3647 A box with minimal height of 1
3648 \begin_inset space \thinspace{}
3651 cm and maximal height of 3
3652 \begin_inset space \thinspace{}
3656 The content consumes more space than 3
3657 \begin_inset space \thinspace{}
3661 A box with minimal height of 1
3662 \begin_inset space \thinspace{}
3665 cm and maximal height of 3
3666 \begin_inset space \thinspace{}
3670 The content consumes more space than 3
3671 \begin_inset space \thinspace{}
3682 \begin_layout Standard
3683 \begin_inset VSpace bigskip
3688 add to height=length
3690 one can add defined height to the box.
3695 option must be added
3702 \begin_layout Standard
3703 \begin_inset Flex Color Box
3706 \begin_layout Plain Layout
3707 \begin_inset Argument 1
3710 \begin_layout Plain Layout
3711 height=1cm, add to height=1cm
3717 \begin_inset space \thinspace{}
3721 \begin_inset space \thinspace{}
3724 cm additional height.
3732 \begin_layout Standard
3733 \begin_inset VSpace bigskip
3740 one can force the box to consume the rest of the available height of the
3741 document parts where it is in.
3755 The latter works like
3759 but compresses the content of the page before the box as much as possible
3760 to maximize the box.
3761 \begin_inset Newline newline
3764 In this example the box is in the main text and therefore consumes the rest
3765 of the current page:
3768 \begin_layout Standard
3769 \begin_inset Flex Color Box
3772 \begin_layout Plain Layout
3773 \begin_inset Argument 1
3776 \begin_layout Plain Layout
3782 A box that fills the remaining height of the current page.
3790 \begin_layout Subsubsection*
3794 \begin_layout Standard
3795 One can set a height only for the text of the box with the option
3796 \begin_inset Newline newline
3806 \begin_layout Standard
3807 \begin_inset Flex Color Box
3810 \begin_layout Plain Layout
3811 \begin_inset Argument 1
3814 \begin_layout Plain Layout
3821 \begin_inset space \thinspace{}
3825 Due to the frame separation and the frame width the box height is larger
3827 \begin_inset space \thinspace{}
3838 \begin_layout Standard
3847 ; only the last given width option is taken into account.
3850 \begin_layout Standard
3851 \begin_inset VSpace bigskip
3874 one can specify how the height should be divided between the upper and
3884 is the fraction of the additional height (the specified height minus the
3885 height consumed by the content).
3886 \begin_inset Newline newline
3894 \begin_inset space \thinspace{}
3897 % of the additional space to the upper part:
3900 \begin_layout Standard
3901 \begin_inset Flex Color Box
3904 \begin_layout Plain Layout
3905 \begin_inset Argument 1
3908 \begin_layout Plain Layout
3909 height=3cm, space=0.75
3915 \begin_inset space \thinspace{}
3918 cm high box where 75 % of the additional height is set to the upper content.
3921 \begin_layout Color Box Separator
3925 \begin_layout Plain Layout
3934 \begin_layout Standard
3962 \begin_layout Standard
3963 \begin_inset Flex Color Box
3966 \begin_layout Plain Layout
3967 \begin_inset Argument 1
3970 \begin_layout Plain Layout
3971 height=3cm, space to upper
3977 \begin_inset space \thinspace{}
3980 cm high box where all additional height is set to the upper content.
3983 \begin_layout Color Box Separator
3987 \begin_layout Plain Layout
3996 \begin_layout Standard
4005 is the fraction of the complete height (not the additional height).
4006 Therefore one must be careful if e.
4007 \begin_inset space \thinspace{}
4011 \begin_inset space \space{}
4014 the upper part consumes more height than one set via
4021 \begin_layout Standard
4022 \begin_inset Flex Color Box
4025 \begin_layout Plain Layout
4026 \begin_inset Argument 1
4029 \begin_layout Plain Layout
4030 height=3cm, split=0.1
4036 \begin_inset space \thinspace{}
4039 cm high box where the height is split by 10
4040 \begin_inset space \thinspace{}
4045 \begin_inset space \thinspace{}
4048 cm high box where the height is split by 10
4049 \begin_inset space \thinspace{}
4055 \begin_layout Color Box Separator
4059 \begin_layout Plain Layout
4068 \begin_layout Standard
4069 \begin_inset VSpace bigskip
4074 equal height group=id
4076 it is possible to set the same height for all boxes in a group.
4081 is a name to reference the group.
4082 This is for example useful if one has 3
4083 \begin_inset space ~
4086 boxes side by side inside a box:
4089 \begin_layout Standard
4090 \begin_inset Flex Color Box
4093 \begin_layout Plain Layout
4094 \begin_inset Flex Color Box
4097 \begin_layout Plain Layout
4098 \begin_inset Argument 1
4101 \begin_layout Plain Layout
4102 adjusted title=ace, width=0.3
4104 columnwidth, nobeforeafter, equal height group=A
4115 \begin_inset space \hfill{}
4119 \begin_inset Flex Color Box
4122 \begin_layout Plain Layout
4123 \begin_inset Argument 1
4126 \begin_layout Plain Layout
4127 adjusted title=Grapefruit, width=0.3
4129 columnwidth, space to upper, nobeforeafter, equal height group=A
4137 \begin_layout Color Box Separator
4141 \begin_layout Plain Layout
4148 \begin_inset space \hfill{}
4152 \begin_inset Flex Color Box
4155 \begin_layout Plain Layout
4156 \begin_inset Argument 1
4159 \begin_layout Plain Layout
4160 adjusted title=, width=0.3
4162 columnwidth, nobeforeafter, equal height group=A
4167 A box with longer text.
4168 A box with longer text.
4169 A box with longer text.
4170 A box with longer text.
4171 A box with longer text.
4184 \begin_layout Standard
4185 The above example was typeset by adding the option
4187 equal height group=A
4190 \begin_inset space ~
4198 is hereby the name of the group.
4201 \begin_layout Standard
4202 If you have a title that needs only a single line, it is recommended to
4211 for all boxes to assure that the title height will be the same for all
4213 Otherwise the height would be different in the above example because
4214 \begin_inset Quotes eld
4218 \begin_inset Quotes erd
4221 needs more height than
4222 \begin_inset Quotes eld
4226 \begin_inset Quotes erd
4232 \begin_layout Subsubsection
4236 \begin_layout Standard
4237 The width of the box frame can be changed with the options
4258 Each option changes the corresponding part of the frame.
4268 The allowed units for the values are listed in Appendix
4269 \begin_inset space ~
4275 \begin_inset space ~
4281 The default length for all parts is 0.5
4282 \begin_inset space \thinspace{}
4286 To set all frame parts to the same value use the option
4293 \begin_layout Standard
4294 \begin_inset Flex Color Box
4297 \begin_layout Plain Layout
4298 \begin_inset Argument 1
4301 \begin_layout Plain Layout
4302 leftrule=3mm, rightrule=4mm, toprule=2mm, bottomrule=1mm
4308 \begin_inset space \thinspace{}
4311 mm wide left rule, 4
4312 \begin_inset space \thinspace{}
4315 mm wide right rule, 2
4316 \begin_inset space \thinspace{}
4320 \begin_inset space \thinspace{}
4331 \begin_layout Standard
4332 \begin_inset Flex Color Box
4335 \begin_layout Plain Layout
4336 \begin_inset Argument 1
4339 \begin_layout Plain Layout
4346 \begin_inset space \thinspace{}
4357 \begin_layout Standard
4358 The title rule is the separation between the title and the box content.
4361 \begin_layout Standard
4362 \begin_inset Flex Color Box
4365 \begin_layout Plain Layout
4366 \begin_inset Argument 1
4369 \begin_layout Plain Layout
4370 title=A title, titlerule=8mm, colbacktitle=blue
4376 \begin_inset space \thinspace{}
4387 \begin_layout Subsubsection
4391 \begin_layout Standard
4392 By default boxes are rectangular with rounded edges.
4393 The radius of the edges can be changed with the option
4402 The allowed units for the values are listed in Appendix
4403 \begin_inset space ~
4409 \begin_inset space ~
4422 \begin_layout Standard
4423 \begin_inset Flex Color Box
4426 \begin_layout Plain Layout
4427 \begin_inset Argument 1
4430 \begin_layout Plain Layout
4439 \begin_inset space \thinspace{}
4452 \begin_layout Standard
4457 one can set the outer radius independently:
4460 \begin_layout Standard
4461 \begin_inset Flex Color Box
4464 \begin_layout Plain Layout
4465 \begin_inset Argument 1
4468 \begin_layout Plain Layout
4469 arc=5mm, outer arc=0mm
4477 \begin_inset space \thinspace{}
4485 \begin_inset space \thinspace{}
4498 \begin_layout Standard
4499 \begin_inset Flex Color Box
4502 \begin_layout Plain Layout
4503 \begin_inset Argument 1
4506 \begin_layout Plain Layout
4507 arc=0mm, outer arc=0mm
4512 A really rectangular box (
4523 \begin_inset space \thinspace{}
4529 The same can alternatively be achieved with the option
4541 \begin_layout Standard
4542 \begin_inset VSpace bigskip
4545 The general shape can be changed with the options
4560 \begin_layout Standard
4565 sets the edge radius to half of the box width.
4566 It is therefore required to specify at least the width.
4569 \begin_layout Standard
4570 \begin_inset Flex Color Box
4573 \begin_layout Plain Layout
4574 \begin_inset Argument 1
4577 \begin_layout Plain Layout
4578 width=3.5cm, circular arc
4584 \begin_inset space \thinspace{}
4587 cm wide circular arc box.
4595 \begin_layout Standard
4596 As you can see circular arc box looks ugly when the box is wider than high.
4597 It is therefore recommended to add the option
4602 \begin_inset CommandInset ref
4604 reference "subsec:Height"
4608 , to get the same width and height.
4609 The result is a perfect circle.
4610 To center the text in the box use the text alignment options described
4612 \begin_inset CommandInset ref
4614 reference "subsec:Alignment"
4621 \begin_layout Standard
4622 \begin_inset Flex Color Box
4625 \begin_layout Plain Layout
4626 \begin_inset Argument 1
4629 \begin_layout Plain Layout
4630 width=4cm, square, valign=center, circular arc
4636 \begin_inset space \thinspace{}
4639 cm wide circular arc box.
4647 \begin_layout Standard
4652 sets the edge radius to half of the minimum of the box width and height.
4653 The result is a semicircle.
4658 requires the options
4673 \begin_layout Standard
4674 \begin_inset Flex Color Box
4677 \begin_layout Plain Layout
4678 \begin_inset Argument 1
4681 \begin_layout Plain Layout
4682 width=3.5cm, height=5cm, bean arc, nobeforeafter, valign=center
4688 \begin_inset space \thinspace{}
4692 \begin_inset space \thinspace{}
4705 \begin_inset Flex Color Box
4708 \begin_layout Plain Layout
4709 \begin_inset Argument 1
4712 \begin_layout Plain Layout
4713 width=5cm, height=3.5cm, bean arc, nobeforeafter, valign=center
4719 \begin_inset space \thinspace{}
4723 \begin_inset space \thinspace{}
4738 \begin_layout Standard
4739 Using bean arc for a square box leads to the same result as
4746 \begin_layout Standard
4747 \begin_inset Flex Color Box
4750 \begin_layout Plain Layout
4751 \begin_inset Argument 1
4754 \begin_layout Plain Layout
4755 width=4cm, square, bean arc, valign=center
4761 \begin_inset space \thinspace{}
4764 cm wide, square box as bean arc.
4772 \begin_layout Standard
4777 is useful to get an octagon.
4778 For an octagon one needs a square box and the option
4785 \begin_layout Standard
4786 \begin_inset Flex Color Box
4789 \begin_layout Plain Layout
4790 \begin_inset Argument 1
4793 \begin_layout Plain Layout
4794 width=4cm, square, octogon arc, valign=center, arc is angular
4800 \begin_inset space \thinspace{}
4803 cm wide, square box with
4815 \begin_layout Standard
4816 \begin_inset Note Greyedout
4819 \begin_layout Plain Layout
4828 is experimental and might cause problems on some \SpecialChar LaTeX
4837 \begin_layout Standard
4838 \begin_inset VSpace bigskip
4841 It is also possible to change only some of the box edges.
4842 To make an edge a corner there is the option
4844 sharp corners=position
4850 is the position of the edge.
4867 change only the corresponding edge.
4870 \begin_layout Standard
4871 \begin_inset Flex Color Box
4874 \begin_layout Plain Layout
4875 \begin_inset Argument 1
4878 \begin_layout Plain Layout
4879 sharp corners=northeast
4884 A box with a corner at the upper right (
4896 \begin_layout Standard
4922 \begin_inset space ~
4928 \begin_layout Standard
4929 \begin_inset Flex Color Box
4932 \begin_layout Plain Layout
4933 \begin_inset Argument 1
4936 \begin_layout Plain Layout
4939 columnwidth,sharp corners=east, nobeforeafter
4945 \begin_inset space ~
4948 corners at the right (
4958 \begin_inset space \hfill{}
4962 \begin_inset Flex Color Box
4965 \begin_layout Plain Layout
4966 \begin_inset Argument 1
4969 \begin_layout Plain Layout
4972 columnwidth,sharp corners=uphill, nobeforeafter
4978 \begin_inset space ~
4981 corners, one at the lower left, one at the upper right (
4993 \begin_layout Standard
5001 \begin_layout Subsection
5003 \begin_inset CommandInset label
5005 name "subsec:Alignment"
5012 \begin_layout Subsubsection
5016 \begin_layout Standard
5021 sets the alignment for the whole box content if there are not box parts,
5022 otherwise the options
5035 is one of the following:
5038 \begin_layout Description
5039 right the content is right-aligned
5040 \begin_inset Flex Color Box
5043 \begin_layout Plain Layout
5044 \begin_inset Argument 1
5047 \begin_layout Plain Layout
5053 A right-aligned box.
5061 \begin_layout Description
5062 left the content is left-aligned
5063 \begin_inset Flex Color Box
5066 \begin_layout Plain Layout
5067 \begin_inset Argument 1
5070 \begin_layout Plain Layout
5084 \begin_layout Description
5085 center the content is centered
5086 \begin_inset Flex Color Box
5089 \begin_layout Plain Layout
5090 \begin_inset Argument 1
5093 \begin_layout Plain Layout
5099 A horizontally centered box.
5107 \begin_layout Description
5108 justify the content is justified (is the default value)
5109 \begin_inset Flex Color Box
5112 \begin_layout Plain Layout
5113 \begin_inset Argument 1
5116 \begin_layout Plain Layout
5130 \begin_layout Standard
5131 An example with box parts:
5132 \begin_inset Flex Color Box
5135 \begin_layout Plain Layout
5136 \begin_inset Argument 1
5139 \begin_layout Plain Layout
5140 halign upper=left, halign lower=center
5145 Upper content left-aligned
5148 \begin_layout Color Box Separator
5152 \begin_layout Plain Layout
5153 Lower content centered
5161 \begin_layout Standard
5162 The title alignment can be changed with the option
5169 \begin_layout Standard
5170 \begin_inset Flex Color Box
5173 \begin_layout Plain Layout
5174 \begin_inset Argument 1
5177 \begin_layout Plain Layout
5178 title=A right-aligned title, halign title=right, halign upper=left, halign
5184 Upper content left-aligned
5187 \begin_layout Color Box Separator
5191 \begin_layout Plain Layout
5192 Lower content centered
5200 \begin_layout Subsubsection
5204 \begin_layout Standard
5205 The vertical alignment can only be changed if the box height is explicitly
5206 set larger than the height consumed by the box content.
5208 \begin_inset CommandInset ref
5210 reference "subsec:Height"
5217 \begin_layout Standard
5222 sets the alignment for the whole box content if there are no box parts,
5223 otherwise the options
5236 is one of the following:
5239 \begin_layout Description
5240 top the content is top-aligned
5241 \begin_inset Flex Color Box
5244 \begin_layout Plain Layout
5245 \begin_inset Argument 1
5248 \begin_layout Plain Layout
5249 height=2cm, valign=top
5262 \begin_layout Description
5263 bottom the content is bottom-aligned
5264 \begin_inset Flex Color Box
5267 \begin_layout Plain Layout
5268 \begin_inset Argument 1
5271 \begin_layout Plain Layout
5272 height=2cm, valign=bottom
5277 A bottom-aligned box.
5285 \begin_layout Description
5286 center the content is vertically centered
5287 \begin_inset Flex Color Box
5290 \begin_layout Plain Layout
5291 \begin_inset Argument 1
5294 \begin_layout Plain Layout
5295 height=2cm, valign=center
5300 A vertically centered box.
5308 \begin_layout Description
5309 scale the content is vertically scaled to fit the height
5310 \begin_inset Flex Color Box
5313 \begin_layout Plain Layout
5314 \begin_inset Argument 1
5317 \begin_layout Plain Layout
5318 height=2cm, valign=scale
5323 A box with scaled content.
5331 \begin_layout Standard
5332 An example with box parts:
5335 \begin_layout Standard
5336 \begin_inset Flex Color Box
5339 \begin_layout Plain Layout
5340 \begin_inset Argument 1
5343 \begin_layout Plain Layout
5344 height=4cm, space=0.5, valign upper=bottom, valign lower=center
5349 Upper content bottom-aligned
5352 \begin_layout Color Box Separator
5356 \begin_layout Plain Layout
5357 Lower content centered
5365 \begin_layout Subsection
5369 \begin_layout Standard
5370 The font changing options have the syntax
5378 are \SpecialChar LaTeX
5379 's font changing commands.
5380 For example the code
5381 \begin_inset Newline newline
5395 \begin_inset Newline newline
5398 makes the font sans-serif, bold and increases the font size to the level
5408 \begin_layout Subsubsection
5412 \begin_layout Standard
5413 The title font can be changed with the option
5420 \begin_layout Standard
5421 \begin_inset Flex Color Box
5424 \begin_layout Plain Layout
5425 \begin_inset Argument 1
5428 \begin_layout Plain Layout
5429 title=A title, fonttitle=
5448 \begin_layout Subsubsection
5452 \begin_layout Standard
5453 The font for the upper and lower part text can be changed with the options
5465 \begin_layout Standard
5466 \begin_inset Flex Color Box
5469 \begin_layout Plain Layout
5470 \begin_inset Argument 1
5473 \begin_layout Plain Layout
5474 title=A title, fontupper=
5476 ttfamily, fontlower=
5483 Changed upper text font
5486 \begin_layout Color Box Separator
5490 \begin_layout Plain Layout
5491 Changed lower text font
5499 \begin_layout Subsection
5501 \begin_inset CommandInset label
5510 \begin_layout Standard
5511 The color is specified in one of these schemes:
5514 \begin_layout Enumerate
5520 \begin_inset VSpace 3mm
5524 \begin_inset Newline newline
5532 \begin_inset Newline newline
5536 \begin_inset space \thinspace{}
5540 \begin_inset Newline newline
5544 \begin_inset Flex Color Box
5547 \begin_layout Plain Layout
5548 \begin_inset Argument 1
5551 \begin_layout Plain Layout
5563 \begin_inset VSpace defskip
5569 \begin_layout Enumerate
5575 \begin_inset VSpace 3mm
5579 \begin_inset Newline newline
5587 \begin_inset Newline newline
5591 \begin_inset space \thinspace{}
5595 \begin_inset Newline newline
5599 \begin_inset space \thinspace{}
5603 \begin_inset Quotes eld
5607 \begin_inset Quotes erd
5611 \begin_inset Newline newline
5615 \begin_inset Flex Color Box
5618 \begin_layout Plain Layout
5619 \begin_inset Argument 1
5622 \begin_layout Plain Layout
5634 \begin_inset VSpace defskip
5640 \begin_layout Enumerate
5643 Name1!PercentOfName1!Name2
5646 \begin_inset VSpace 3mm
5650 \begin_inset Newline newline
5658 \begin_inset Newline newline
5662 \begin_inset space \thinspace{}
5666 \begin_inset Newline newline
5670 \begin_inset space \thinspace{}
5674 \begin_inset Newline newline
5678 \begin_inset Flex Color Box
5681 \begin_layout Plain Layout
5682 \begin_inset Argument 1
5685 \begin_layout Plain Layout
5697 \begin_inset VSpace defskip
5703 \begin_layout Enumerate
5706 Name1!PercentName1!Name2!PercentName3!Name3
5709 \begin_inset VSpace 3mm
5713 \begin_inset Newline newline
5718 red!71.4!green!70!blue
5721 \begin_inset Newline newline
5725 \begin_inset Formula $1-0.70=30\,$
5729 \begin_inset Newline newline
5733 \begin_inset Formula $\left(1-0.714\right)\cdot0.70=20.02\thinspace$
5737 \begin_inset Newline newline
5741 \begin_inset Formula $0.714\cdot0.70=49.98\thinspace$
5745 \begin_inset Newline newline
5749 \begin_inset Flex Color Box
5752 \begin_layout Plain Layout
5753 \begin_inset Argument 1
5756 \begin_layout Plain Layout
5757 colback=red!71.4!green!70!blue
5762 red!71.4!green!70!blue
5768 \begin_inset VSpace defskip
5774 \begin_layout Standard
5775 The possible color names are:
5778 \begin_layout Standard
5780 \begin_inset Tabular
5781 <lyxtabular version="3" rows="4" columns="5">
5782 <features tabularvalignment="middle">
5783 <column alignment="left" valignment="top" width="18col%">
5784 <column alignment="left" valignment="top" width="18col%">
5785 <column alignment="left" valignment="top" width="18col%">
5786 <column alignment="left" valignment="top" width="18col%">
5787 <column alignment="left" valignment="top" width="18col%">
5789 <cell alignment="left" valignment="top" usebox="none">
5792 \begin_layout Plain Layout
5796 \begin_layout Plain Layout
5809 \begin_layout Plain Layout
5817 \begin_inset Phantom Phantom
5820 \begin_layout Plain Layout
5830 \begin_layout Plain Layout
5842 <cell alignment="left" valignment="top" usebox="none">
5845 \begin_layout Plain Layout
5849 \begin_layout Plain Layout
5862 \begin_layout Plain Layout
5870 \begin_inset Phantom Phantom
5873 \begin_layout Plain Layout
5883 \begin_layout Plain Layout
5895 <cell alignment="left" valignment="top" usebox="none">
5898 \begin_layout Plain Layout
5902 \begin_layout Plain Layout
5915 \begin_layout Plain Layout
5923 \begin_inset Phantom Phantom
5926 \begin_layout Plain Layout
5936 \begin_layout Plain Layout
5948 <cell alignment="left" valignment="top" usebox="none">
5951 \begin_layout Plain Layout
5955 \begin_layout Plain Layout
5968 \begin_layout Plain Layout
5976 \begin_inset Phantom Phantom
5979 \begin_layout Plain Layout
5989 \begin_layout Plain Layout
6001 <cell alignment="left" valignment="top" usebox="none">
6004 \begin_layout Plain Layout
6008 \begin_layout Plain Layout
6021 \begin_layout Plain Layout
6029 \begin_inset Phantom Phantom
6032 \begin_layout Plain Layout
6042 \begin_layout Plain Layout
6056 <cell alignment="left" valignment="top" usebox="none">
6059 \begin_layout Plain Layout
6063 \begin_layout Plain Layout
6076 \begin_layout Plain Layout
6084 \begin_inset Phantom Phantom
6087 \begin_layout Plain Layout
6097 \begin_layout Plain Layout
6109 <cell alignment="left" valignment="top" usebox="none">
6112 \begin_layout Plain Layout
6116 \begin_layout Plain Layout
6129 \begin_layout Plain Layout
6137 \begin_inset Phantom Phantom
6140 \begin_layout Plain Layout
6150 \begin_layout Plain Layout
6162 <cell alignment="left" valignment="top" usebox="none">
6165 \begin_layout Plain Layout
6169 \begin_layout Plain Layout
6182 \begin_layout Plain Layout
6190 \begin_inset Phantom Phantom
6193 \begin_layout Plain Layout
6203 \begin_layout Plain Layout
6215 <cell alignment="left" valignment="top" usebox="none">
6218 \begin_layout Plain Layout
6222 \begin_layout Plain Layout
6235 \begin_layout Plain Layout
6243 \begin_inset Phantom Phantom
6246 \begin_layout Plain Layout
6256 \begin_layout Plain Layout
6268 <cell alignment="left" valignment="top" usebox="none">
6271 \begin_layout Plain Layout
6275 \begin_layout Plain Layout
6288 \begin_layout Plain Layout
6296 \begin_inset Phantom Phantom
6299 \begin_layout Plain Layout
6309 \begin_layout Plain Layout
6323 <cell alignment="left" valignment="top" usebox="none">
6326 \begin_layout Plain Layout
6330 \begin_layout Plain Layout
6343 \begin_layout Plain Layout
6351 \begin_inset Phantom Phantom
6354 \begin_layout Plain Layout
6364 \begin_layout Plain Layout
6376 <cell alignment="left" valignment="top" usebox="none">
6379 \begin_layout Plain Layout
6383 \begin_layout Plain Layout
6396 \begin_layout Plain Layout
6404 \begin_inset Phantom Phantom
6407 \begin_layout Plain Layout
6417 \begin_layout Plain Layout
6429 <cell alignment="left" valignment="top" usebox="none">
6432 \begin_layout Plain Layout
6436 \begin_layout Plain Layout
6449 \begin_layout Plain Layout
6457 \begin_inset Phantom Phantom
6460 \begin_layout Plain Layout
6470 \begin_layout Plain Layout
6482 <cell alignment="left" valignment="top" usebox="none">
6485 \begin_layout Plain Layout
6489 \begin_layout Plain Layout
6502 \begin_layout Plain Layout
6510 \begin_inset Phantom Phantom
6513 \begin_layout Plain Layout
6523 \begin_layout Plain Layout
6535 <cell alignment="left" valignment="top" usebox="none">
6538 \begin_layout Plain Layout
6542 \begin_layout Plain Layout
6555 \begin_layout Plain Layout
6563 \begin_inset Phantom Phantom
6566 \begin_layout Plain Layout
6576 \begin_layout Plain Layout
6590 <cell alignment="left" valignment="top" usebox="none">
6593 \begin_layout Plain Layout
6597 \begin_layout Plain Layout
6610 \begin_layout Plain Layout
6618 \begin_inset Phantom Phantom
6621 \begin_layout Plain Layout
6631 \begin_layout Plain Layout
6643 <cell alignment="left" valignment="top" usebox="none">
6646 \begin_layout Plain Layout
6650 \begin_layout Plain Layout
6663 \begin_layout Plain Layout
6671 \begin_inset Phantom Phantom
6674 \begin_layout Plain Layout
6684 \begin_layout Plain Layout
6696 <cell alignment="left" valignment="top" usebox="none">
6699 \begin_layout Plain Layout
6703 \begin_layout Plain Layout
6716 \begin_layout Plain Layout
6724 \begin_inset Phantom Phantom
6727 \begin_layout Plain Layout
6737 \begin_layout Plain Layout
6749 <cell alignment="left" valignment="top" usebox="none">
6752 \begin_layout Plain Layout
6756 \begin_layout Plain Layout
6769 \begin_layout Plain Layout
6777 \begin_inset Phantom Phantom
6780 \begin_layout Plain Layout
6790 \begin_layout Plain Layout
6802 <cell alignment="left" valignment="top" usebox="none">
6805 \begin_layout Plain Layout
6819 \begin_layout Standard
6820 , and the ones listed in Appendix
6821 \begin_inset space ~
6827 \begin_inset space ~
6835 \begin_layout Subsubsection
6839 \begin_layout Standard
6840 The background color is changed with the option
6847 \begin_layout Standard
6848 \begin_inset Flex Color Box
6851 \begin_layout Plain Layout
6852 \begin_inset Argument 1
6855 \begin_layout Plain Layout
6856 colback=red!66!green!70!blue
6869 \begin_layout Subsubsection
6873 \begin_layout Standard
6874 The frame color is changed with the option
6881 \begin_layout Standard
6882 \begin_inset Flex Color Box
6885 \begin_layout Plain Layout
6886 \begin_inset Argument 1
6889 \begin_layout Plain Layout
6890 colframe=red!30!blue
6903 \begin_layout Subsubsection
6907 \begin_layout Standard
6908 The title background color is changed with the option
6915 \begin_layout Standard
6916 \begin_inset Flex Color Box
6919 \begin_layout Plain Layout
6920 \begin_inset Argument 1
6923 \begin_layout Plain Layout
6924 title=A title, colbacktitle=green!30
6929 Title background color
6937 \begin_layout Subsubsection
6939 \begin_inset CommandInset label
6941 name "subsec:Title-text"
6948 \begin_layout Standard
6949 The color for the title text is changed with the option
6956 \begin_layout Standard
6957 \begin_inset Flex Color Box
6960 \begin_layout Plain Layout
6961 \begin_inset Argument 1
6964 \begin_layout Plain Layout
6965 title=A title, coltitle=orange
6973 \begin_layout Plain Layout
6974 \begin_inset Flex Subtitle
6977 \begin_layout Plain Layout
6986 \begin_layout Plain Layout
6995 \begin_layout Subsubsection
6999 \begin_layout Standard
7000 The color for the complete text is changed with the option
7007 \begin_layout Standard
7008 \begin_inset Flex Color Box
7011 \begin_layout Plain Layout
7012 \begin_inset Argument 1
7015 \begin_layout Plain Layout
7029 \begin_layout Subsubsection
7030 Upper and lower text
7033 \begin_layout Standard
7034 The color for the upper and lower part text is changed with the option
7045 \begin_layout Standard
7046 \begin_inset Flex Color Box
7049 \begin_layout Plain Layout
7050 \begin_inset Argument 1
7053 \begin_layout Plain Layout
7054 colupper=green!30!blue, collower=green!70!blue
7062 \begin_layout Color Box Separator
7066 \begin_layout Plain Layout
7075 \begin_layout Standard
7076 \begin_inset Newpage newpage
7082 \begin_layout Subsection
7084 \begin_inset CommandInset label
7086 name "subsec:Shadows"
7093 \begin_layout Standard
7094 Boxes can only be decorated with shadows if a skin is specified, see
7095 \begin_inset CommandInset ref
7097 reference "subsec:Enhanced"
7104 \begin_layout Subsubsection
7108 \begin_layout Standard
7109 A shadow is added with the box option
7117 is a color name or definition, see
7118 \begin_inset CommandInset ref
7120 reference "subsec:Color"
7125 One can omit the color, the shadow color is then black!50!white.
7130 creates a semi-transparent shadow.
7133 \begin_layout Standard
7134 \begin_inset Flex Color Box
7137 \begin_layout Plain Layout
7138 \begin_inset Argument 1
7141 \begin_layout Plain Layout
7142 enhanced, drop shadow, nobeforeafter
7155 \begin_layout Standard
7156 \begin_inset VSpace defskip
7160 \begin_inset Flex Color Box
7163 \begin_layout Plain Layout
7164 \begin_inset Argument 1
7167 \begin_layout Plain Layout
7168 enhanced, drop fuzzy shadow=purple, nobeforeafter
7173 A box with a fuzzy, purple shadow
7181 \begin_layout Standard
7182 The default shadow is placed right below the box.
7183 For other shadow placements have a look at section
7192 \begin_inset CommandInset citation
7202 \begin_layout Subsubsection
7206 \begin_layout Standard
7207 A halo is added with the box option
7209 halo=size with color
7219 is a color name or definition.
7220 One can omit the size and color, the halo is then 0.9
7221 \begin_inset space \thinspace{}
7224 mm thick and has the color yellow.
7225 Note that one cannot omit only the size or color, either both is omitted
7226 or both is specified.
7231 creates a semi-transparent halo.
7234 \begin_layout Standard
7235 \begin_inset Flex Color Box
7238 \begin_layout Plain Layout
7239 \begin_inset Argument 1
7242 \begin_layout Plain Layout
7243 enhanced, halo, nobeforeafter
7256 \begin_layout Standard
7257 \begin_inset VSpace defskip
7263 \begin_layout Standard
7264 \begin_inset Flex Color Box
7267 \begin_layout Plain Layout
7268 \begin_inset Argument 1
7271 \begin_layout Plain Layout
7272 enhanced, fuzzy halo=5mm with green, nobeforeafter
7278 \begin_inset space \thinspace{}
7281 mm thick, green fuzzy halo
7289 \begin_layout Subsubsection
7293 \begin_layout Standard
7294 Generic shadows/halos can be created with the box option
7303 For a brief description of these options consult section
7312 \begin_inset CommandInset citation
7322 \begin_layout Standard
7323 \begin_inset Flex Color Box
7326 \begin_layout Plain Layout
7327 \begin_inset Argument 1
7330 \begin_layout Plain Layout
7331 enhanced, title=Double shadow, shadow={-2.5mm}{-2.5mm}{0mm}{fill=blue, opacity=0.25
7332 }, shadow={1.5mm}{1.5mm}{0mm}{fill=red, opacity=0.25}
7338 \begin_inset space ~
7349 \begin_layout Bibliography
7350 \begin_inset CommandInset bibitem
7351 LatexCommand bibitem
7358 \begin_inset CommandInset href
7360 name "Documentation"
7361 target "http://mirrors.ctan.org/macros/latex/contrib/tcolorbox/tcolorbox.pdf"
7366 of the \SpecialChar LaTeX