1 #LyX 2.2 created this file. For more info see http://www.lyx.org/
12 % set fonts for nicer pdf view
13 \IfFileExists{lmodern.sty}
14 {\usepackage{lmodern}}{}
16 \fi % end if pdflatex is used
18 \@ifpackageloaded{babel}{
19 % increase link area for cross-references and autoname them,
20 \AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1}}}}
21 \@ifundefined{extrasenglish}{\usepackage[english]{babel}}{}
22 \addto\extrasenglish{%
23 \renewcommand*{\equationautorefname}[1]{}%
24 \renewcommand{\sectionautorefname}{sec.\negthinspace}%
25 \renewcommand{\subsectionautorefname}{sec.\negthinspace}%
26 \renewcommand{\subsubsectionautorefname}{sec.\negthinspace}%
30 \options BCOR8mm, most, usenames, dvipsnames
31 \use_default_options false
35 \maintain_unincluded_children false
37 \language_package default
42 \font_typewriter default
44 \font_default_family default
45 \use_non_tex_fonts false
51 \default_output_format default
53 \bibtex_command bibtex
54 \index_command default
58 \pdf_title "Description of the module tcolorbox"
59 \pdf_author "Uwe Stöhr"
60 \pdf_subject "fancy colored boxes"
61 \pdf_keywords "LyX, tcolorbox, colored boxes"
63 \pdf_bookmarksnumbered true
64 \pdf_bookmarksopen true
65 \pdf_bookmarksopenlevel 3
70 \pdf_pdfusetitle false
71 \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false, urlbordercolor={1 0 0}"
74 \use_package amsmath 1
75 \use_package amssymb 1
78 \use_package mathdots 1
79 \use_package mathtools 1
81 \use_package stackrel 0
82 \use_package stmaryrd 0
83 \use_package undertilde 0
85 \cite_engine_type default
89 \paperorientation portrait
93 \notefontcolor #0000ff
100 \paragraph_separation skip
102 \quotes_language english
105 \paperpagestyle default
106 \tracking_changes false
107 \output_changes false
110 \html_be_strict false
116 Description of the module Fancy Colored Boxes
123 \begin_layout Standard
136 you have access to a huge variety of colored boxes.
137 They are particularly useful for presentations or educational texts where
138 you might for example highlight results or equations.
139 This document describes how these boxes are used with \SpecialChar LyX
143 \begin_layout Standard
144 The fancy boxes are generated by the \SpecialChar LaTeX
150 This package has so many features that its manual exceeds 400
156 can therefore only provide access to its basic features.
157 For more advanced features and examples have a loot at the
162 \begin_inset CommandInset citation
171 \begin_layout Section
175 \begin_layout Standard
176 At first load the module
188 in the document settings of your file.
191 \begin_layout Standard
192 Add the following options to the document class options in the document
193 settings of your file:
196 \begin_layout Standard
199 most, usenames, dvipsnames
202 \begin_layout Standard
207 loads most of the libraries of the \SpecialChar LaTeX
217 load additional colors, see Appendix
232 \begin_layout Section
236 \begin_layout Subsection
240 \begin_layout Subsubsection
244 \begin_layout Standard
245 A static color box is inserted via the menu
247 Insert\SpecialChar menuseparator
248 Custom Insets\SpecialChar menuseparator
258 \begin_layout Standard
259 This is a static color box:
260 \begin_inset Flex Color Box
263 \begin_layout Plain Layout
272 \begin_layout Standard
273 It has by default a frame with round corners and consumes the full text
275 It can contain several paragraphs and math.
278 \begin_layout Standard
279 \begin_inset Note Greyedout
282 \begin_layout Plain Layout
287 The box can contain forced page breaks but they will be ignored.
288 To get breakable boxes, see
289 \begin_inset CommandInset ref
291 reference "sec:Beakable-boxes"
303 \begin_layout Subsubsection
307 \begin_layout Standard
308 A dynamic color box is inserted via inset via the menu
310 Insert\SpecialChar menuseparator
311 Custom Insets\SpecialChar menuseparator
325 \begin_layout Standard
326 This is a dynamic color box:
327 \begin_inset Flex Dynamic Color Box
330 \begin_layout Plain Layout
339 \begin_layout Standard
340 In contrary to static boxes dynamic boxes cannot have parts, see
341 \begin_inset CommandInset ref
343 reference "subsec:Box-parts"
347 , and they cannot made breakable but one can set their vertical placement,
349 \begin_inset CommandInset ref
351 reference "subsec:Vertical"
356 Their width is by default the width of the content.
359 \begin_layout Subsubsection
363 \begin_layout Standard
364 A fit color box is inserted via the menu
366 Insert\SpecialChar menuseparator
367 Custom Insets\SpecialChar menuseparator
381 \begin_layout Standard
382 Fit boxes are dynamic boxes but their content is automatically decreased
383 or increased to fit into the specified box width and heigh.
384 How to specify a width and height is described in
385 \begin_inset CommandInset ref
387 reference "subsec:Geometry"
392 If no width and height is specified the result is a square box consuming
393 the full available width of the page.
394 If only a width is specified, the result is a square box.
397 \begin_layout Standard
398 These are fit color boxes:
401 \begin_layout Standard
402 \begin_inset Flex Fit Color Box
405 \begin_layout Plain Layout
406 \begin_inset Argument 1
409 \begin_layout Plain Layout
416 \begin_inset space \thinspace{}
419 cm wide fit color box with some text.
421 \begin_inset space \thinspace{}
424 cm wide fit color box with some text.
426 \begin_inset space \thinspace{}
429 cm wide fit color box with some text.
437 \begin_layout Standard
438 \begin_inset Flex Fit Color Box
441 \begin_layout Plain Layout
442 \begin_inset Argument 1
445 \begin_layout Plain Layout
446 width=5cm, height=3cm
452 \begin_inset space \thinspace{}
456 \begin_inset space \thinspace{}
459 cm high fit color box.
467 \begin_layout Standard
468 The examples show that the text will be shrinked to fit into the box but
469 it will not be increased.
472 \begin_layout Subsubsection
476 \begin_layout Standard
477 A custom color box is inserted via the menu
479 Insert\SpecialChar menuseparator
480 Custom Insets\SpecialChar menuseparator
491 where # is the number.
494 \begin_layout Standard
495 How to use and customize custom color boxes, see
496 \begin_inset CommandInset ref
498 reference "subsec:General"
505 \begin_layout Subsection
509 \begin_layout Standard
510 To add a title to a box add an options inset via the menu Insert\SpecialChar menuseparator
524 followed by your title.
527 \begin_layout Standard
528 This is a titled box:
529 \begin_inset Flex Color Box
532 \begin_layout Plain Layout
533 \begin_inset Argument 1
536 \begin_layout Plain Layout
542 A basic box with a title.
550 \begin_layout Standard
551 A subtitle is added with the inset
557 Insert\SpecialChar menuseparator
563 \begin_layout Standard
564 \begin_inset Flex Color Box
567 \begin_layout Plain Layout
568 \begin_inset Argument 1
571 \begin_layout Plain Layout
577 A basic box with a subtitle.
579 \begin_inset Flex Subtitle
582 \begin_layout Plain Layout
588 The content below the subtitle.
596 \begin_layout Standard
597 The title and subtitle text is by default white.
598 How to change its color, see
599 \begin_inset CommandInset ref
601 reference "subsec:Title-text"
608 \begin_layout Subsection
610 \begin_inset CommandInset label
612 name "subsec:Box-parts"
619 \begin_layout Standard
620 The content of the box can be divided into an upper and a lower part by
621 using the environment
626 's environment selection combobox.
627 The idea behind this is that both parts can be treated and customized separatel
629 An application would be that the upper part contains a description and
630 the lower part an equation.
633 \begin_layout Standard
634 This is a box where the content is separated:
637 \begin_layout Standard
638 \begin_inset Flex Color Box
641 \begin_layout Plain Layout
645 \begin_layout Color Box Separator
649 \begin_layout Plain Layout
658 \begin_layout Standard
659 The separation line can be customized as described in
660 \begin_inset CommandInset ref
662 reference "subsec:Lines"
669 \begin_layout Standard
670 The separation can also be made side by side with the box option
677 \begin_layout Standard
678 \begin_inset Flex Color Box
681 \begin_layout Plain Layout
682 \begin_inset Argument 1
685 \begin_layout Plain Layout
691 Upper content at the left
694 \begin_layout Color Box Separator
698 \begin_layout Plain Layout
699 Lower content at the right
707 \begin_layout Standard
708 The separation can be made invisible with the box option
710 lower separated=false
715 \begin_layout Standard
716 \begin_inset Flex Color Box
719 \begin_layout Plain Layout
720 \begin_inset Argument 1
723 \begin_layout Plain Layout
724 sidebyside, lower separated=false
729 Upper content invisibly separated
732 \begin_layout Color Box Separator
736 \begin_layout Plain Layout
737 Lower content at the right
745 \begin_layout Standard
746 There are several layout skins available for colored boxes, see
747 \begin_inset CommandInset ref
749 reference "subsec:Beamer"
753 , that affects also the layout of the box parts.
754 For example with the box option
758 the box parts are separated this way:
761 \begin_layout Standard
762 \begin_inset Flex Color Box
765 \begin_layout Plain Layout
766 \begin_inset Argument 1
769 \begin_layout Plain Layout
778 \begin_layout Color Box Separator
782 \begin_layout Plain Layout
791 \begin_layout Subsection
793 \begin_inset CommandInset label
802 \begin_layout Standard
803 To draw a line in a box use the environment
808 The line is by default dashed.
809 Note that it is just a line and does not separate box parts!
812 \begin_layout Standard
813 This is a box with a line:
816 \begin_layout Standard
817 \begin_inset Flex Color Box
820 \begin_layout Plain Layout
824 \begin_layout Color Box Line
828 \begin_layout Plain Layout
837 \begin_layout Standard
838 The line style can only be changed if a skin is specified, see
839 \begin_inset CommandInset ref
841 reference "subsec:Enhanced"
846 Then one can use the box option
848 segmentation style={commands}
854 are commands to define the style.
867 manual for possible commands,
868 \begin_inset CommandInset citation
877 \begin_layout Standard
878 Here is an example in the
882 skin with a double blue line:
885 \begin_layout Standard
886 \begin_inset Flex Color Box
889 \begin_layout Plain Layout
890 \begin_inset Argument 1
893 \begin_layout Plain Layout
894 enhanced, segmentation style={double=white,draw=blue,double distance=1pt,solid}
902 \begin_layout Color Box Line
906 \begin_layout Plain Layout
915 \begin_layout Standard
916 \begin_inset Newpage newpage
922 \begin_layout Section
924 \begin_inset CommandInset label
926 name "sec:Beakable-boxes"
933 \begin_layout Standard
934 To make a box breakable the option
939 If a page break occurs within a box, the box will get broken this way:
942 \begin_layout Standard
943 \begin_inset Flex Color Box
946 \begin_layout Plain Layout
947 \begin_inset Argument 1
950 \begin_layout Plain Layout
951 title=A breakable box, breakable, title after break=continued...
956 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
957 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
959 At vero eos et accusam et justo duo dolores et ea rebum.
960 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
962 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
963 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
965 At vero eos et accusam et justo duo dolores et ea rebum.
966 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
968 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
969 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
971 At vero eos et accusam et justo duo dolores et ea rebum.
972 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
974 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
975 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
977 At vero eos et accusam et justo duo dolores et ea rebum.
978 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
980 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
981 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
983 At vero eos et accusam et justo duo dolores et ea rebum.
984 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
986 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
987 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
989 At vero eos et accusam et justo duo dolores et ea rebum.
990 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
992 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
993 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
995 At vero eos et accusam et justo duo dolores et ea rebum.
996 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
998 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
999 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1001 At vero eos et accusam et justo duo dolores et ea rebum.
1002 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1004 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1005 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1007 At vero eos et accusam et justo duo dolores et ea rebum.
1008 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1010 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1011 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1013 At vero eos et accusam et justo duo dolores et ea rebum.
1014 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1023 \begin_layout Standard
1024 In the above example the special title
1029 was added for the second page of the box with the option
1036 \begin_layout Standard
1037 If boxes are inside boxes, only the outer box can made breakable.
1040 \begin_layout Standard
1041 \begin_inset Note Greyedout
1044 \begin_layout Plain Layout
1049 Dynamic boxes and fit boxes cannot made breakable!
1057 \begin_layout Section
1061 \begin_layout Subsection
1063 \begin_inset CommandInset label
1065 name "subsec:General"
1072 \begin_layout Standard
1073 The following subsections show many possibilities to customize boxes.
1076 \begin_layout Standard
1077 To avoid to write the box commands all the time, you can use the environment
1081 \begin_inset space ~
1085 \begin_inset space ~
1091 It is inserted via \SpecialChar LyX
1092 's style selection combobox.
1093 There you can write all options that should be applied for
1097 boxes of the document
1102 For example writing there
1104 width=3cm, height=8cm
1106 forces all following boxes to have a height of 8
1107 \begin_inset space \thinspace{}
1111 \begin_inset space \thinspace{}
1115 However, this is not useful if one needs several box types since the changes
1123 \begin_layout Standard
1124 In most documents one need a few types of boxes and all boxes of a type
1125 should look identical.
1126 To achieve this the module
1129 \begin_inset space ~
1133 \begin_inset space ~
1139 \begin_inset space ~
1142 different box types which you can customize.
1143 To change their appearance use the environment
1146 \begin_inset space ~
1150 \begin_inset space ~
1154 \begin_inset space ~
1160 It is inserted via \SpecialChar LyX
1161 's style selection combobox.
1164 \begin_layout Standard
1165 If you want for example a box type that looks like the fancy colored one
1167 \begin_inset CommandInset ref
1169 reference "subsec:Enhanced"
1173 use these options in the environment:
1176 \begin_layout Standard
1179 enhanced, frame style={left color=red!75!black, right color=blue!75!black},
1180 interior style={left color=red!20!white, right color=yellow!50!white}
1183 \begin_layout Standard
1192 (cBoxA is custom box type
1193 \begin_inset space ~
1197 \begin_inset space ~
1201 Because you want to customize every box of this type (e.
1202 \begin_inset space \thinspace{}
1206 \begin_inset space \space{}
1209 every box should have its own title), you need one argument.
1214 into the Arguments inset of the environment.
1217 \begin_layout Standard
1218 \begin_inset Note Greyedout
1221 \begin_layout Plain Layout
1226 If you use an argument, the inset
1230 must also be inserted but left empty!
1238 \begin_layout New Color Box Type
1239 \begin_inset Argument 2
1242 \begin_layout Plain Layout
1249 \begin_inset Argument 3
1252 \begin_layout Plain Layout
1259 \begin_inset Argument 4
1262 \begin_layout Plain Layout
1268 enhanced, frame style={left color=red!75!black, right color=blue!75!black},
1269 interior style={left color=red!20!white, right color=yellow!50!white},
1273 \begin_layout Standard
1274 This way you defined the box type
1277 \begin_inset space ~
1281 \begin_inset space ~
1285 \begin_inset space ~
1291 Boxes of this type will look like this:
1294 \begin_layout Standard
1295 \begin_inset Flex Custom Color Box 1
1298 \begin_layout Plain Layout
1299 \begin_inset Argument 1
1302 \begin_layout Plain Layout
1316 \begin_layout Standard
1317 \begin_inset VSpace bigskip
1321 \begin_inset Newline newline
1324 Assuming you need a box type that can be numbered, you insert
1327 \begin_layout Standard
1330 auto counter, number within=section
1333 \begin_layout Standard
1345 \begin_inset space ~
1349 \begin_inset space ~
1353 \begin_inset space ~
1379 \begin_layout Standard
1382 colback=red!5!white, colframe=red!75!black, title=Example~
1387 \begin_layout Standard
1388 into the environment.
1389 This predefines a title prefix.
1396 is hereby the counter of colored boxes.
1400 \begin_inset space ~
1404 \begin_inset space ~
1408 \begin_inset space ~
1413 you specify the title via the options inset:
1416 \begin_layout New Color Box Type
1417 \begin_inset Argument 1
1420 \begin_layout Plain Layout
1421 auto counter, number within=section
1427 \begin_inset Argument 2
1430 \begin_layout Plain Layout
1437 \begin_inset Argument 3
1440 \begin_layout Plain Layout
1447 \begin_inset Argument 4
1450 \begin_layout Plain Layout
1456 colback=red!5!white, colframe=red!75!black, title=Example~
1461 \begin_layout Standard
1462 \begin_inset Flex Custom Color Box 2
1465 \begin_layout Plain Layout
1466 \begin_inset Argument 1
1469 \begin_layout Plain Layout
1470 Custom numbered title
1483 \begin_layout Standard
1484 Note that you must not write
1488 because this is already done in the definition.
1491 \begin_layout Standard
1492 You can still customize the box by adding options
1499 \begin_layout Standard
1500 \begin_inset Flex Custom Color Box 2
1503 \begin_layout Plain Layout
1504 \begin_inset Argument 1
1507 \begin_layout Plain Layout
1508 Bold numbered title, colback=lime, fonttitle=
1523 \begin_layout Standard
1524 \begin_inset VSpace bigskip
1527 At last a more advanced example:
1528 \begin_inset Newline newline
1531 Assuming you need the type we just defined as
1534 \begin_inset space ~
1538 \begin_inset space ~
1542 \begin_inset space ~
1547 but want to add more than one option.
1548 This is for example useful for options that require another option before
1549 in the options list.
1550 \begin_inset Newline newline
1556 \begin_layout Standard
1559 auto counter, number within=section
1562 \begin_layout Standard
1574 \begin_inset space ~
1578 \begin_inset space ~
1582 \begin_inset space ~
1598 \begin_inset space ~
1613 \begin_layout Standard
1616 nobeforeafter, width=#1, square, colframe=orange!50!black,
1617 \begin_inset Newline newline
1625 \begin_layout Standard
1626 into the environment.
1630 \begin_inset space ~
1634 \begin_inset space ~
1638 \begin_inset space ~
1643 you specify the width via the
1647 inset and the title (and further options if you like) via the
1649 More Color Box Options
1654 \begin_layout New Color Box Type
1655 \begin_inset Argument 1
1658 \begin_layout Plain Layout
1659 auto counter, number within=section
1665 \begin_inset Argument 2
1668 \begin_layout Plain Layout
1675 \begin_inset Argument 3
1678 \begin_layout Plain Layout
1685 \begin_inset Argument 4
1688 \begin_layout Plain Layout
1694 nobeforeafter, width=#1, square, colframe=orange!50!black, title=Example~
1699 \begin_layout Standard
1700 \begin_inset Flex Custom Color Box 3
1703 \begin_layout Plain Layout
1704 \begin_inset Argument 1
1707 \begin_layout Plain Layout
1714 \begin_inset Argument 2
1717 \begin_layout Plain Layout
1724 \begin_inset space \thinspace{}
1727 cm wide custom color box 3
1733 \begin_inset Flex Custom Color Box 3
1736 \begin_layout Plain Layout
1737 \begin_inset Argument 1
1740 \begin_layout Plain Layout
1747 \begin_inset Argument 2
1750 \begin_layout Plain Layout
1757 \begin_inset space \thinspace{}
1760 cm wide custom color box 3 with the
1772 \begin_layout Subsection
1776 \begin_layout Standard
1777 The \SpecialChar LaTeX
1782 provides different skins.
1783 For a full list, see the
1790 \begin_inset space ~
1796 \begin_inset CommandInset citation
1803 Only the most important skins are listed in the following.
1806 \begin_layout Subsubsection
1808 \begin_inset CommandInset label
1810 name "subsec:Enhanced"
1817 \begin_layout Standard
1818 This skin is enabled by adding the option enhanced.
1819 Without further options it looks like the standard skin.
1820 Its advantage are some extra features like the customization of lines,
1822 \begin_inset CommandInset ref
1824 reference "subsec:Lines"
1828 or the ability to have shadows, see
1829 \begin_inset CommandInset ref
1831 reference "subsec:Shadows"
1836 Another feature is a nicer style of breakable boxes:
1839 \begin_layout Standard
1840 \begin_inset Flex Color Box
1843 \begin_layout Plain Layout
1844 \begin_inset Argument 1
1847 \begin_layout Plain Layout
1852 breakable box, breakable, enhanced
1857 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1858 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1860 At vero eos et accusam et justo duo dolores et ea rebum.
1861 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1863 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1864 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1866 At vero eos et accusam et justo duo dolores et ea rebum.
1867 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1869 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1870 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1872 At vero eos et accusam et justo duo dolores et ea rebum.
1873 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
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
1924 \begin_layout Standard
1925 Another feature you might like is to add color gradients with the options
1936 \begin_inset Newline newline
1941 frame style={left color=color, right color=color}
1942 \begin_inset Newline newline
1951 is a color name or definition, see
1952 \begin_inset CommandInset ref
1954 reference "subsec:Color"
1961 \begin_layout Standard
1962 \begin_inset Flex Color Box
1965 \begin_layout Plain Layout
1966 \begin_inset Argument 1
1969 \begin_layout Plain Layout
1974 box with a color gradient, enhanced, frame style={left color=red!75!black,
1975 right color=blue!75!black}, interior style={left color=red!20!white, right
1976 color=yellow!50!white}
1984 \begin_layout Color Box Separator
1988 \begin_layout Plain Layout
1997 \begin_layout Standard
1998 Alternatively one can use a PNG image as background for boxes with the option
2001 frame style image=file name
2006 \begin_inset space ~
2011 is the file name of the image.
2014 \begin_layout Subsubsection
2018 \begin_layout Standard
2019 With this skin the lower content gets another background color than the
2023 \begin_layout Standard
2024 \begin_inset Flex Color Box
2027 \begin_layout Plain Layout
2028 \begin_inset Argument 1
2031 \begin_layout Plain Layout
2032 title=A box with the skin
2044 \begin_layout Color Box Separator
2048 \begin_layout Plain Layout
2057 \begin_layout Standard
2058 The color of the lower part can be changed with the option
2064 \begin_inset CommandInset ref
2066 reference "subsec:Color"
2070 for color customization.
2073 \begin_layout Subsubsection
2075 \begin_inset CommandInset label
2077 name "subsec:Beamer"
2084 \begin_layout Standard
2085 This is a skin that simulates the appearance of the beamer presentation
2087 Its appearance can be changed like for the enhanced skin,
2088 \begin_inset CommandInset ref
2090 reference "subsec:Enhanced"
2097 \begin_layout Standard
2098 \begin_inset Flex Color Box
2101 \begin_layout Plain Layout
2102 \begin_inset Argument 1
2105 \begin_layout Plain Layout
2110 box with a color gradient, beamer, frame style={left color=red!75!black,
2111 right color=blue!75!black}
2119 \begin_layout Color Box Separator
2123 \begin_layout Plain Layout
2132 \begin_layout Subsubsection
2136 \begin_layout Standard
2137 This skin is like the standard skin but the background colors are automatically
2141 \begin_layout Standard
2142 \begin_inset Flex Color Box
2145 \begin_layout Plain Layout
2146 \begin_inset Argument 1
2149 \begin_layout Plain Layout
2162 \begin_layout Color Box Separator
2166 \begin_layout Plain Layout
2175 \begin_layout Subsubsection
2179 \begin_layout Standard
2180 This skin has no colors.
2181 To make the title visible (because it is by default white) you have to
2182 change its color, see
2183 \begin_inset CommandInset ref
2185 reference "subsec:Title-text"
2192 \begin_layout Standard
2193 \begin_inset Flex Color Box
2196 \begin_layout Plain Layout
2197 \begin_inset Argument 1
2200 \begin_layout Plain Layout
2201 title=A box with the
2205 skin, empty, coltitle=orange
2213 \begin_layout Color Box Separator
2217 \begin_layout Plain Layout
2226 \begin_layout Subsection
2230 \begin_layout Subsubsection
2234 \begin_layout Standard
2235 Normally the boxes are a paragraph of its own.
2236 They will therefore appear by default one upon another separated by vertical
2238 To change this behavior, to place for example boxes side by side, use the
2248 By default there is a paragraph break before and after the box.
2249 By using the options
2253 nothing will be added besides the boxes so that they can be places side
2257 \begin_layout Standard
2258 \begin_inset Flex Color Box
2261 \begin_layout Plain Layout
2262 \begin_inset Argument 1
2265 \begin_layout Plain Layout
2266 width=3cm, square, valign=center, before=, after=
2272 \begin_inset space \thinspace{}
2275 cm wide, square box.
2281 \begin_inset Flex Color Box
2284 \begin_layout Plain Layout
2285 \begin_inset Argument 1
2288 \begin_layout Plain Layout
2289 width=3cm, square, valign=center, before=, after=
2295 \begin_inset space \thinspace{}
2298 cm wide, square box.
2304 \begin_inset Flex Color Box
2307 \begin_layout Plain Layout
2308 \begin_inset Argument 1
2311 \begin_layout Plain Layout
2312 width=3cm, square, valign=center, before=, after=
2318 \begin_inset space \thinspace{}
2321 cm wide, square box.
2329 \begin_layout Standard
2334 is an alternative for
2341 \begin_layout Standard
2342 To separate the boxes one can use the normal \SpecialChar LyX
2343 spacing features like a horizontal
2347 \begin_layout Standard
2348 \begin_inset space \hfill{}
2352 \begin_inset Flex Color Box
2355 \begin_layout Plain Layout
2356 \begin_inset Argument 1
2359 \begin_layout Plain Layout
2360 width=3cm, square, valign=center, nobeforeafter
2366 \begin_inset space \thinspace{}
2369 cm wide, square box.
2375 \begin_inset space \hfill{}
2379 \begin_inset Flex Color Box
2382 \begin_layout Plain Layout
2383 \begin_inset Argument 1
2386 \begin_layout Plain Layout
2387 width=3cm, square, valign=center, nobeforeafter
2393 \begin_inset space \thinspace{}
2396 cm wide, square box.
2402 \begin_inset space \hfill{}
2406 \begin_inset Flex Color Box
2409 \begin_layout Plain Layout
2410 \begin_inset Argument 1
2413 \begin_layout Plain Layout
2414 width=3cm, square, valign=center, nobeforeafter
2420 \begin_inset space \thinspace{}
2423 cm wide, square box.
2429 \begin_inset space \hfill{}
2435 \begin_layout Standard
2436 If you prefer \SpecialChar TeX
2437 code you can alternatively use the option
2443 to add a a horizontal fill.
2446 \begin_layout Subsubsection
2450 \begin_layout Standard
2451 Like for tables and figures in a document it is very helpful if boxes could
2452 float in the text to be placed at the optimal position.
2453 This is achieved by the option
2461 are the optional \SpecialChar TeX
2462 floating placement options
2463 \begin_inset Quotes eld
2471 \begin_inset Quotes erd
2475 \begin_inset Quotes eld
2483 \begin_inset Quotes erd
2487 \begin_inset Quotes eld
2495 \begin_inset Quotes erd
2499 \begin_inset Quotes eld
2507 \begin_inset Quotes erd
2511 They correspond to the float placement options described in section
2514 \begin_inset space ~
2522 \begin_inset space ~
2528 The placement options can be mixed and are inserted without any separation,
2530 \begin_inset space \thinspace{}
2534 \begin_inset space \space{}
2538 \begin_inset Quotes eld
2546 \begin_inset Quotes erd
2552 \begin_layout Standard
2553 \begin_inset Flex Color Box
2556 \begin_layout Plain Layout
2557 \begin_inset Argument 1
2560 \begin_layout Plain Layout
2561 title=A floating box, float, width=5cm, valign=center
2567 \begin_inset space \thinspace{}
2570 cm wide floating box.
2578 \begin_layout Standard
2579 For floating boxes the options
2588 One can instead insert code with the command
2593 If the box is breakable the code is inserted before every part of the break
2595 A typical application is to center the floating box with
2602 \begin_layout Standard
2603 \begin_inset Flex Color Box
2606 \begin_layout Plain Layout
2607 \begin_inset Argument 1
2610 \begin_layout Plain Layout
2611 title=A floating box, float, width=5cm, valign=center, every float=
2619 \begin_inset space \thinspace{}
2622 cm wide floating box.
2630 \begin_layout Subsubsection
2632 \begin_inset CommandInset label
2634 name "subsec:Vertical"
2641 \begin_layout Standard
2642 The vertical placement of a box in respect to the surrounding text line
2643 can only be set for dynamic boxes.
2648 raises or lowers the box.
2654 The allowed units for values are listed in Appendix
2655 \begin_inset space ~
2661 \begin_inset space ~
2667 The default width is
2676 the box is lowered so that the base of the box content matches the base
2677 of the surrounding line.
2680 \begin_layout Standard
2684 \begin_layout Standard
2686 \begin_inset Flex Dynamic Color Box
2689 \begin_layout Plain Layout
2690 \begin_inset Argument 1
2693 \begin_layout Plain Layout
2694 tcbox raise base, nobeforeafter
2705 \begin_inset Flex Dynamic Color Box
2708 \begin_layout Plain Layout
2709 \begin_inset Argument 1
2712 \begin_layout Plain Layout
2724 \begin_inset Flex Dynamic Color Box
2727 \begin_layout Plain Layout
2728 \begin_inset Argument 1
2731 \begin_layout Plain Layout
2732 tcbox raise=1cm, nobeforeafter
2738 \begin_inset space \thinspace{}
2749 \begin_layout Subsubsection
2753 \begin_layout Standard
2754 The easiest way to place boxes in a table-like raster is to put them into
2759 \begin_inset space ~
2763 \begin_inset space ~
2768 inset is inserted via the menu
2770 Insert\SpecialChar menuseparator
2776 \begin_layout Standard
2777 The number of columns is specified with the option
2779 raster columns=number
2785 is the number of columns.
2786 All boxes inserted to the raster box will now automatically be output in
2787 a raster with 3 columns and their width is automatically adjusted.
2790 \begin_layout Standard
2791 \begin_inset Flex Raster Color Box
2794 \begin_layout Plain Layout
2795 \begin_inset Argument 1
2798 \begin_layout Plain Layout
2807 \begin_layout Plain Layout
2808 \begin_inset Flex Color Box
2811 \begin_layout Plain Layout
2812 \begin_inset Argument 1
2815 \begin_layout Plain Layout
2827 \begin_inset Flex Color Box
2830 \begin_layout Plain Layout
2831 \begin_inset Argument 1
2834 \begin_layout Plain Layout
2846 \begin_inset Flex Color Box
2849 \begin_layout Plain Layout
2850 \begin_inset Argument 1
2853 \begin_layout Plain Layout
2865 \begin_inset Flex Color Box
2868 \begin_layout Plain Layout
2869 \begin_inset Argument 1
2872 \begin_layout Plain Layout
2884 \begin_inset Flex Color Box
2887 \begin_layout Plain Layout
2888 \begin_inset Argument 1
2891 \begin_layout Plain Layout
2910 \begin_layout Standard
2911 For more info about options of the raster color box, please consult the
2919 \begin_inset space ~
2925 \begin_inset CommandInset citation
2934 \begin_layout Subsection
2936 \begin_inset CommandInset label
2938 name "subsec:Geometry"
2945 \begin_layout Subsubsection
2949 \begin_layout Subsubsection*
2953 \begin_layout Standard
2954 The width of the box is changed with the option
2963 The allowed units for values are listed in Appendix
2964 \begin_inset space ~
2970 \begin_inset space ~
2976 The default width is
2985 \begin_layout Standard
2986 \begin_inset Flex Color Box
2989 \begin_layout Plain Layout
2990 \begin_inset Argument 1
2993 \begin_layout Plain Layout
3000 \begin_inset space \thinspace{}
3011 \begin_layout Standard
3012 One can also set a width only for the text of the box with the option
3017 If the width is shorter than required for the text, new lines will be created
3021 \begin_layout Standard
3022 \begin_inset Flex Color Box
3025 \begin_layout Plain Layout
3026 \begin_inset Argument 1
3029 \begin_layout Plain Layout
3035 Some longer text to fill the box with a width of 4
3036 \begin_inset space \thinspace{}
3047 \begin_layout Standard
3056 ; only the last given width option is taken into account.
3059 \begin_layout Standard
3060 To extend the width of the box one must use the
3064 option and can then use the option
3071 \begin_layout Standard
3072 \begin_inset Flex Color Box
3075 \begin_layout Plain Layout
3076 \begin_inset Argument 1
3079 \begin_layout Plain Layout
3080 width=10cm, add to width=2cm
3086 \begin_inset space \thinspace{}
3089 cm wide box with additional width of 2
3090 \begin_inset space \thinspace{}
3101 \begin_layout Subsubsection*
3105 \begin_layout Standard
3106 For boxes with parts side by side one can control the width of the box parts
3130 sidebyside gap=length
3137 The allowed units for the values are listed in Appendix
3138 \begin_inset space ~
3144 \begin_inset space ~
3150 All options require of course the option
3157 \begin_layout Standard
3162 sets the space between the left and the right part:
3165 \begin_layout Standard
3166 \begin_inset Flex Color Box
3169 \begin_layout Plain Layout
3170 \begin_inset Argument 1
3173 \begin_layout Plain Layout
3174 sidebyside, sidebyside gap=2cm
3179 Upper content divided by 2
3180 \begin_inset space \thinspace{}
3186 \begin_layout Color Box Separator
3190 \begin_layout Plain Layout
3199 \begin_layout Standard
3208 set the absolute width of the left and right part, respectively:
3211 \begin_layout Standard
3212 \begin_inset Flex Color Box
3215 \begin_layout Plain Layout
3216 \begin_inset Argument 1
3219 \begin_layout Plain Layout
3220 sidebyside, lefthand width=3cm
3225 Upper content with a width of 3
3226 \begin_inset space \thinspace{}
3232 \begin_layout Color Box Separator
3236 \begin_layout Plain Layout
3245 \begin_layout Standard
3254 set the relative width of the left and right part, respectively:
3257 \begin_layout Standard
3258 \begin_inset Flex Color Box
3261 \begin_layout Plain Layout
3262 \begin_inset Argument 1
3265 \begin_layout Plain Layout
3266 sidebyside, lefthand ratio=0.3
3271 Upper content with a width of 30
3272 \begin_inset space \thinspace{}
3278 \begin_layout Color Box Separator
3282 \begin_layout Plain Layout
3291 \begin_layout Subsubsection
3293 \begin_inset CommandInset label
3295 name "subsec:Height"
3302 \begin_layout Subsubsection*
3306 \begin_layout Standard
3307 The height of the box is changed with the option
3316 The default height is the height consumed by the box content.
3319 \begin_layout Standard
3320 \begin_inset Flex Color Box
3323 \begin_layout Plain Layout
3324 \begin_inset Argument 1
3327 \begin_layout Plain Layout
3334 \begin_inset space \thinspace{}
3345 \begin_layout Standard
3346 If the specified height is smaller than the one consumed by the content,
3347 the content will be placed below the box:
3350 \begin_layout Standard
3351 \begin_inset Flex Color Box
3354 \begin_layout Plain Layout
3355 \begin_inset Argument 1
3358 \begin_layout Plain Layout
3365 \begin_inset space \thinspace{}
3376 \begin_layout Standard
3377 \begin_inset VSpace bigskip
3384 the height will automatically be set to the same value than the box width.
3387 \begin_layout Standard
3388 \begin_inset Flex Color Box
3391 \begin_layout Plain Layout
3392 \begin_inset Argument 1
3395 \begin_layout Plain Layout
3409 \begin_layout Standard
3410 \begin_inset VSpace bigskip
3413 To extend the height of the box in case the content might consume more height
3414 than expected one must use the
3418 option and can then uses the option
3423 An application would be to set a maximal possible height in case you write
3424 a book where the spacing is defined and should not be overwritten by any
3428 \begin_layout Standard
3429 \begin_inset Flex Color Box
3432 \begin_layout Plain Layout
3433 \begin_inset Argument 1
3436 \begin_layout Plain Layout
3437 height=2cm, height plus=2cm
3443 \begin_inset space \thinspace{}
3446 cm high box with additional height of 2
3447 \begin_inset space \thinspace{}
3458 \begin_layout Standard
3459 \begin_inset Flex Color Box
3462 \begin_layout Plain Layout
3463 \begin_inset Argument 1
3466 \begin_layout Plain Layout
3467 height=2cm, height plus=2cm
3473 \begin_inset space \thinspace{}
3476 cm high box with additional height of 2
3477 \begin_inset space \thinspace{}
3481 Its content consumes 3
3482 \begin_inset space \thinspace{}
3485 cm therefore the box height will also be 3
3486 \begin_inset space \thinspace{}
3491 \begin_inset space \thinspace{}
3494 cm high box with additional height of 2
3495 \begin_inset space \thinspace{}
3499 Its content consumes 3
3500 \begin_inset space \thinspace{}
3503 cm therefore the box height will also be 3
3504 \begin_inset space \thinspace{}
3509 \begin_inset space \thinspace{}
3512 cm high box with additional height of 2
3513 \begin_inset space \thinspace{}
3517 Its content consumes 3
3518 \begin_inset space \thinspace{}
3521 cm therefore the box height will also be 3
3522 \begin_inset space \thinspace{}
3533 \begin_layout Standard
3534 \begin_inset VSpace bigskip
3537 In some cases it might be useful to specify an allowed range for the height
3540 height from=min to max
3551 The height will then be at least the given minimal value or the height
3552 consumed by the content.
3553 It does not exceed the maximum, independent of the content:
3556 \begin_layout Standard
3557 \begin_inset Flex Color Box
3560 \begin_layout Plain Layout
3561 \begin_inset Argument 1
3564 \begin_layout Plain Layout
3565 height from=1cm to 3cm
3570 A box with minimal height of 1
3571 \begin_inset space \thinspace{}
3574 cm and maximal height of 3
3575 \begin_inset space \thinspace{}
3586 \begin_layout Standard
3587 \begin_inset Flex Color Box
3590 \begin_layout Plain Layout
3591 \begin_inset Argument 1
3594 \begin_layout Plain Layout
3595 height from=1cm to 3cm
3600 A box with minimal height of 1
3601 \begin_inset space \thinspace{}
3604 cm and maximal height of 3
3605 \begin_inset space \thinspace{}
3609 The content consumes more space than 3
3610 \begin_inset space \thinspace{}
3614 A box with minimal height of 1
3615 \begin_inset space \thinspace{}
3618 cm and maximal height of 3
3619 \begin_inset space \thinspace{}
3623 The content consumes more space than 3
3624 \begin_inset space \thinspace{}
3628 A box with minimal height of 1
3629 \begin_inset space \thinspace{}
3632 cm and maximal height of 3
3633 \begin_inset space \thinspace{}
3637 The content consumes more space than 3
3638 \begin_inset space \thinspace{}
3642 A box with minimal height of 1
3643 \begin_inset space \thinspace{}
3646 cm and maximal height of 3
3647 \begin_inset space \thinspace{}
3651 The content consumes more space than 3
3652 \begin_inset space \thinspace{}
3663 \begin_layout Standard
3664 \begin_inset VSpace bigskip
3669 add to height=length
3671 one can add defined height to the box.
3676 option must be added
3683 \begin_layout Standard
3684 \begin_inset Flex Color Box
3687 \begin_layout Plain Layout
3688 \begin_inset Argument 1
3691 \begin_layout Plain Layout
3692 height=1cm, add to height=1cm
3698 \begin_inset space \thinspace{}
3702 \begin_inset space \thinspace{}
3705 cm additional height.
3713 \begin_layout Standard
3714 \begin_inset VSpace bigskip
3721 one can force the box to consume the rest of the available height of the
3722 document parts where it is in.
3736 The latter works like
3740 but compresses the content of the page before the box as much as possible
3741 to maximize the box.
3742 \begin_inset Newline newline
3745 In this example the box is in the main text and therefore consumes the rest
3746 of the current page:
3749 \begin_layout Standard
3750 \begin_inset Flex Color Box
3753 \begin_layout Plain Layout
3754 \begin_inset Argument 1
3757 \begin_layout Plain Layout
3763 A box that fills the remaining height of the current page.
3771 \begin_layout Subsubsection*
3775 \begin_layout Standard
3776 One can set a height only for the text of the box with the option
3777 \begin_inset Newline newline
3787 \begin_layout Standard
3788 \begin_inset Flex Color Box
3791 \begin_layout Plain Layout
3792 \begin_inset Argument 1
3795 \begin_layout Plain Layout
3802 \begin_inset space \thinspace{}
3806 Due to the frame separation and the frame width the box height is larger
3808 \begin_inset space \thinspace{}
3819 \begin_layout Standard
3828 ; only the last given width option is taken into account.
3831 \begin_layout Standard
3832 \begin_inset VSpace bigskip
3855 one can specify how the height should be divided between the upper and
3865 is the fraction of the additional height (the specified height minus the
3866 height consumed by the content).
3867 \begin_inset Newline newline
3875 \begin_inset space \thinspace{}
3878 % of the additional space to the upper part:
3881 \begin_layout Standard
3882 \begin_inset Flex Color Box
3885 \begin_layout Plain Layout
3886 \begin_inset Argument 1
3889 \begin_layout Plain Layout
3890 height=3cm, space=0.75
3896 \begin_inset space \thinspace{}
3899 cm high box where 75 % of the additional height is set to the upper content.
3902 \begin_layout Color Box Separator
3906 \begin_layout Plain Layout
3915 \begin_layout Standard
3943 \begin_layout Standard
3944 \begin_inset Flex Color Box
3947 \begin_layout Plain Layout
3948 \begin_inset Argument 1
3951 \begin_layout Plain Layout
3952 height=3cm, space to upper
3958 \begin_inset space \thinspace{}
3961 cm high box where all additional height is set to the upper content.
3964 \begin_layout Color Box Separator
3968 \begin_layout Plain Layout
3977 \begin_layout Standard
3986 is the fraction of the complete height (not the additional height).
3987 Therefore one must be careful if e.
3988 \begin_inset space \thinspace{}
3992 \begin_inset space \space{}
3995 the upper part consumes more height than one set via
4002 \begin_layout Standard
4003 \begin_inset Flex Color Box
4006 \begin_layout Plain Layout
4007 \begin_inset Argument 1
4010 \begin_layout Plain Layout
4011 height=3cm, split=0.1
4017 \begin_inset space \thinspace{}
4020 cm high box where the height is split by 10
4021 \begin_inset space \thinspace{}
4026 \begin_inset space \thinspace{}
4029 cm high box where the height is split by 10
4030 \begin_inset space \thinspace{}
4036 \begin_layout Color Box Separator
4040 \begin_layout Plain Layout
4049 \begin_layout Standard
4050 \begin_inset VSpace bigskip
4055 equal height group=id
4057 it is possible to set the same height for all boxes in a group.
4062 is a name to reference the group.
4063 This is for example useful if one has 3
4064 \begin_inset space ~
4067 boxes side by side inside a box:
4070 \begin_layout Standard
4071 \begin_inset Flex Color Box
4074 \begin_layout Plain Layout
4075 \begin_inset Flex Color Box
4078 \begin_layout Plain Layout
4079 \begin_inset Argument 1
4082 \begin_layout Plain Layout
4083 adjusted title=ace, width=0.3
4085 columnwidth, nobeforeafter, equal height group=A
4096 \begin_inset space \hfill{}
4100 \begin_inset Flex Color Box
4103 \begin_layout Plain Layout
4104 \begin_inset Argument 1
4107 \begin_layout Plain Layout
4108 adjusted title=Grapefruit, width=0.3
4110 columnwidth, space to upper, nobeforeafter, equal height group=A
4118 \begin_layout Color Box Separator
4122 \begin_layout Plain Layout
4129 \begin_inset space \hfill{}
4133 \begin_inset Flex Color Box
4136 \begin_layout Plain Layout
4137 \begin_inset Argument 1
4140 \begin_layout Plain Layout
4141 adjusted title=, width=0.3
4143 columnwidth, nobeforeafter, equal height group=A
4148 A box with longer text.
4149 A box with longer text.
4150 A box with longer text.
4151 A box with longer text.
4152 A box with longer text.
4165 \begin_layout Standard
4166 The above example was typeset by adding the option
4168 equal height group=A
4171 \begin_inset space ~
4179 is hereby the name of the group.
4182 \begin_layout Standard
4183 If you have a title that needs only a single line, it is recommended to
4192 for all boxes to assure that the title height will be the same for all
4194 Otherwise the height would be different in the above example because
4195 \begin_inset Quotes eld
4199 \begin_inset Quotes erd
4202 needs more height than
4203 \begin_inset Quotes eld
4207 \begin_inset Quotes erd
4213 \begin_layout Subsubsection
4217 \begin_layout Standard
4218 The width of the box frame can be changed with the options
4239 Each option changes the corresponding part of the frame.
4249 The allowed units for the values are listed in Appendix
4250 \begin_inset space ~
4256 \begin_inset space ~
4262 The default length for all parts is 0.5
4263 \begin_inset space \thinspace{}
4267 To set all frame parts to the same value use the option
4274 \begin_layout Standard
4275 \begin_inset Flex Color Box
4278 \begin_layout Plain Layout
4279 \begin_inset Argument 1
4282 \begin_layout Plain Layout
4283 leftrule=3mm, rightrule=4mm, toprule=2mm, bottomrule=1mm
4289 \begin_inset space \thinspace{}
4292 mm wide left rule, 4
4293 \begin_inset space \thinspace{}
4296 mm wide right rule, 2
4297 \begin_inset space \thinspace{}
4301 \begin_inset space \thinspace{}
4312 \begin_layout Standard
4313 \begin_inset Flex Color Box
4316 \begin_layout Plain Layout
4317 \begin_inset Argument 1
4320 \begin_layout Plain Layout
4327 \begin_inset space \thinspace{}
4338 \begin_layout Standard
4339 The title rule is the separation between the title and the box content.
4342 \begin_layout Standard
4343 \begin_inset Flex Color Box
4346 \begin_layout Plain Layout
4347 \begin_inset Argument 1
4350 \begin_layout Plain Layout
4351 title=A title, titlerule=8mm, colbacktitle=blue
4357 \begin_inset space \thinspace{}
4368 \begin_layout Subsubsection
4372 \begin_layout Standard
4373 By default boxes are rectangular with rounded edges.
4374 The radius of the edges can be changed with the option
4383 The allowed units for the values are listed in Appendix
4384 \begin_inset space ~
4390 \begin_inset space ~
4403 \begin_layout Standard
4404 \begin_inset Flex Color Box
4407 \begin_layout Plain Layout
4408 \begin_inset Argument 1
4411 \begin_layout Plain Layout
4420 \begin_inset space \thinspace{}
4433 \begin_layout Standard
4438 one can set the outer radius independently:
4441 \begin_layout Standard
4442 \begin_inset Flex Color Box
4445 \begin_layout Plain Layout
4446 \begin_inset Argument 1
4449 \begin_layout Plain Layout
4450 arc=5mm, outer arc=0mm
4458 \begin_inset space \thinspace{}
4466 \begin_inset space \thinspace{}
4479 \begin_layout Standard
4480 \begin_inset Flex Color Box
4483 \begin_layout Plain Layout
4484 \begin_inset Argument 1
4487 \begin_layout Plain Layout
4488 arc=0mm, outer arc=0mm
4493 A really rectangular box (
4504 \begin_inset space \thinspace{}
4510 The same can alternatively be achieved with the option
4522 \begin_layout Standard
4523 \begin_inset VSpace bigskip
4526 The general shape can be changed with the options
4541 \begin_layout Standard
4546 sets the edge radius to half of the box width.
4547 It is therefore required to specify at least the width.
4550 \begin_layout Standard
4551 \begin_inset Flex Color Box
4554 \begin_layout Plain Layout
4555 \begin_inset Argument 1
4558 \begin_layout Plain Layout
4559 width=3.5cm, circular arc
4565 \begin_inset space \thinspace{}
4568 cm wide circular box.
4576 \begin_layout Standard
4577 As you can see circular box looks ugly when the box is wider than high.
4578 It is therefore recommended to add the option
4583 \begin_inset CommandInset ref
4585 reference "subsec:Height"
4589 , to get the same width and height.
4590 The result is a perfect circle.
4591 The center the text in the box use the text alignment options described
4593 \begin_inset CommandInset ref
4595 reference "subsec:Alignment"
4602 \begin_layout Standard
4603 \begin_inset Flex Color Box
4606 \begin_layout Plain Layout
4607 \begin_inset Argument 1
4610 \begin_layout Plain Layout
4611 width=4cm, square, valign=center, circular arc
4617 \begin_inset space \thinspace{}
4620 cm wide circular box.
4628 \begin_layout Standard
4633 sets the edge radius to half of the minimum of the box width and height.
4634 The result is a semicircle.
4639 requires the options
4654 \begin_layout Standard
4655 \begin_inset Flex Color Box
4658 \begin_layout Plain Layout
4659 \begin_inset Argument 1
4662 \begin_layout Plain Layout
4663 width=3.5cm, height=5cm, bean arc, nobeforeafter, valign=center
4669 \begin_inset space \thinspace{}
4673 \begin_inset space \thinspace{}
4686 \begin_inset Flex Color Box
4689 \begin_layout Plain Layout
4690 \begin_inset Argument 1
4693 \begin_layout Plain Layout
4694 width=5cm, height=3.5cm, bean arc, nobeforeafter, valign=center
4700 \begin_inset space \thinspace{}
4704 \begin_inset space \thinspace{}
4719 \begin_layout Standard
4720 Using bean arc for a square box leads to the same result as
4727 \begin_layout Standard
4728 \begin_inset Flex Color Box
4731 \begin_layout Plain Layout
4732 \begin_inset Argument 1
4735 \begin_layout Plain Layout
4736 width=4cm, square, bean arc, valign=center
4742 \begin_inset space \thinspace{}
4745 cm wide, square box as bean arc.
4753 \begin_layout Standard
4758 is useful to get an octagon.
4759 For an octagon one needs a square box and the options
4766 \begin_layout Standard
4767 \begin_inset Flex Color Box
4770 \begin_layout Plain Layout
4771 \begin_inset Argument 1
4774 \begin_layout Plain Layout
4775 width=4cm, square, octogon arc, valign=center, arc is angular
4781 \begin_inset space \thinspace{}
4784 cm wide, square box with
4796 \begin_layout Standard
4797 \begin_inset Note Greyedout
4800 \begin_layout Plain Layout
4809 is experimental and might cause problems on some \SpecialChar LaTeX
4818 \begin_layout Standard
4819 \begin_inset VSpace bigskip
4822 It is also possible to change only some of the box edges.
4823 To make an edge a corner there is the option
4825 sharp corners=position
4831 is the position of the edge.
4848 change only the corresponding edge.
4851 \begin_layout Standard
4852 \begin_inset Flex Color Box
4855 \begin_layout Plain Layout
4856 \begin_inset Argument 1
4859 \begin_layout Plain Layout
4860 sharp corners=northeast
4865 A box with a corner at the upper right (
4877 \begin_layout Standard
4903 \begin_inset space ~
4909 \begin_layout Standard
4910 \begin_inset Flex Color Box
4913 \begin_layout Plain Layout
4914 \begin_inset Argument 1
4917 \begin_layout Plain Layout
4920 columnwidth,sharp corners=east, nobeforeafter
4926 \begin_inset space ~
4929 corners at the right (
4939 \begin_inset space \hfill{}
4943 \begin_inset Flex Color Box
4946 \begin_layout Plain Layout
4947 \begin_inset Argument 1
4950 \begin_layout Plain Layout
4953 columnwidth,sharp corners=uphill, nobeforeafter
4959 \begin_inset space ~
4962 corners, one at the lower left, one at the upper right (
4974 \begin_layout Standard
4982 \begin_layout Subsection
4984 \begin_inset CommandInset label
4986 name "subsec:Alignment"
4993 \begin_layout Subsubsection
4997 \begin_layout Standard
5002 sets the alignment for the whole box content if there are not box parts,
5003 otherwise the options
5016 is one of the following:
5019 \begin_layout Description
5020 right the content is right-aligned
5021 \begin_inset Flex Color Box
5024 \begin_layout Plain Layout
5025 \begin_inset Argument 1
5028 \begin_layout Plain Layout
5034 A right-aligned box.
5042 \begin_layout Description
5043 left the content is left-aligned
5044 \begin_inset Flex Color Box
5047 \begin_layout Plain Layout
5048 \begin_inset Argument 1
5051 \begin_layout Plain Layout
5065 \begin_layout Description
5066 center the content is centered
5067 \begin_inset Flex Color Box
5070 \begin_layout Plain Layout
5071 \begin_inset Argument 1
5074 \begin_layout Plain Layout
5080 A horizontally centered box.
5088 \begin_layout Description
5089 justify the content is justified (is the default value)
5090 \begin_inset Flex Color Box
5093 \begin_layout Plain Layout
5094 \begin_inset Argument 1
5097 \begin_layout Plain Layout
5111 \begin_layout Standard
5112 An example with box parts:
5113 \begin_inset Flex Color Box
5116 \begin_layout Plain Layout
5117 \begin_inset Argument 1
5120 \begin_layout Plain Layout
5121 halign upper=left, halign lower=center
5126 Upper content left-aligned
5129 \begin_layout Color Box Separator
5133 \begin_layout Plain Layout
5134 Lower content centered
5142 \begin_layout Standard
5143 The title alignment can be changed with the option
5150 \begin_layout Standard
5151 \begin_inset Flex Color Box
5154 \begin_layout Plain Layout
5155 \begin_inset Argument 1
5158 \begin_layout Plain Layout
5159 title=A right-aligned title, halign title=right, halign upper=left, halign
5165 Upper content left-aligned
5168 \begin_layout Color Box Separator
5172 \begin_layout Plain Layout
5173 Lower content centered
5181 \begin_layout Subsubsection
5185 \begin_layout Standard
5186 The vertical alignment can only be changed if the box height is explicitly
5187 set larger than the height consumed by the box content.
5189 \begin_inset CommandInset ref
5191 reference "subsec:Height"
5198 \begin_layout Standard
5203 sets the alignment for the whole box content if there are no box parts,
5204 otherwise the options
5217 is one of the following:
5220 \begin_layout Description
5221 top the content is top-aligned
5222 \begin_inset Flex Color Box
5225 \begin_layout Plain Layout
5226 \begin_inset Argument 1
5229 \begin_layout Plain Layout
5230 height=2cm, valign=top
5243 \begin_layout Description
5244 bottom the content is bottom-aligned
5245 \begin_inset Flex Color Box
5248 \begin_layout Plain Layout
5249 \begin_inset Argument 1
5252 \begin_layout Plain Layout
5253 height=2cm, valign=bottom
5258 A bottom-aligned box.
5266 \begin_layout Description
5267 center the content is vertically centered
5268 \begin_inset Flex Color Box
5271 \begin_layout Plain Layout
5272 \begin_inset Argument 1
5275 \begin_layout Plain Layout
5276 height=2cm, valign=center
5281 A vertically centered box.
5289 \begin_layout Description
5290 scale the content is vertically centered to fit the height
5291 \begin_inset Flex Color Box
5294 \begin_layout Plain Layout
5295 \begin_inset Argument 1
5298 \begin_layout Plain Layout
5299 height=2cm, valign=scale
5304 A box with scaled content.
5312 \begin_layout Standard
5313 An example with box parts:
5316 \begin_layout Standard
5317 \begin_inset Flex Color Box
5320 \begin_layout Plain Layout
5321 \begin_inset Argument 1
5324 \begin_layout Plain Layout
5325 height=4cm, space=0.5, valign upper=bottom, valign lower=center
5330 Upper content bottom-aligned
5333 \begin_layout Color Box Separator
5337 \begin_layout Plain Layout
5338 Lower content centered
5346 \begin_layout Subsection
5350 \begin_layout Standard
5351 The font changing options have the syntax
5359 are \SpecialChar LaTeX
5360 's font changing commands.
5361 For example the code
5362 \begin_inset Newline newline
5376 \begin_inset Newline newline
5379 makes the font sans-serif, bold and increases the font size to the level
5389 \begin_layout Subsubsection
5393 \begin_layout Standard
5394 The title font can be changed with the option
5401 \begin_layout Standard
5402 \begin_inset Flex Color Box
5405 \begin_layout Plain Layout
5406 \begin_inset Argument 1
5409 \begin_layout Plain Layout
5410 title=A title, fonttitle=
5429 \begin_layout Subsubsection
5433 \begin_layout Standard
5434 The font for the upper and lower part text can be changed with the options
5446 \begin_layout Standard
5447 \begin_inset Flex Color Box
5450 \begin_layout Plain Layout
5451 \begin_inset Argument 1
5454 \begin_layout Plain Layout
5455 title=A title, fontupper=
5457 ttfamily, fontlower=
5464 Changed upper text font
5467 \begin_layout Color Box Separator
5471 \begin_layout Plain Layout
5472 Changed lower text font
5480 \begin_layout Subsection
5482 \begin_inset CommandInset label
5491 \begin_layout Standard
5492 The color is specified in one of these schemes:
5495 \begin_layout Enumerate
5501 \begin_inset Newline newline
5505 \begin_inset Newline newline
5513 \begin_inset Newline newline
5517 \begin_inset space \thinspace{}
5521 \begin_inset Newline newline
5525 \begin_inset Flex Color Box
5528 \begin_layout Plain Layout
5529 \begin_inset Argument 1
5532 \begin_layout Plain Layout
5544 \begin_inset VSpace defskip
5550 \begin_layout Enumerate
5553 Name1!PercentOfName1
5556 \begin_inset Newline newline
5560 \begin_inset Newline newline
5568 \begin_inset Newline newline
5572 \begin_inset space \thinspace{}
5576 \begin_inset Newline newline
5580 \begin_inset space \thinspace{}
5584 \begin_inset Quotes eld
5588 \begin_inset Quotes erd
5592 \begin_inset Newline newline
5596 \begin_inset Flex Color Box
5599 \begin_layout Plain Layout
5600 \begin_inset Argument 1
5603 \begin_layout Plain Layout
5615 \begin_inset VSpace defskip
5621 \begin_layout Enumerate
5624 Name1!PercentOfName1!Name2
5627 \begin_inset Newline newline
5631 \begin_inset Newline newline
5639 \begin_inset Newline newline
5643 \begin_inset space \thinspace{}
5647 \begin_inset Newline newline
5651 \begin_inset space \thinspace{}
5655 \begin_inset Newline newline
5659 \begin_inset Flex Color Box
5662 \begin_layout Plain Layout
5663 \begin_inset Argument 1
5666 \begin_layout Plain Layout
5678 \begin_inset VSpace defskip
5684 \begin_layout Enumerate
5687 Name1!PercentName1!Name2!PercentName3!Name3
5690 \begin_inset Newline newline
5694 \begin_inset Newline newline
5699 red!71.4!green!70!blue
5702 \begin_inset Newline newline
5706 \begin_inset Formula $1-0.70=30\,$
5710 \begin_inset Newline newline
5714 \begin_inset Formula $\left(1-0.714\right)\cdot0.70=20.02\thinspace$
5718 \begin_inset Newline newline
5722 \begin_inset Formula $0.714\cdot0.70=49.98\thinspace$
5726 \begin_inset Newline newline
5730 \begin_inset Flex Color Box
5733 \begin_layout Plain Layout
5734 \begin_inset Argument 1
5737 \begin_layout Plain Layout
5738 colback=red!71.4!green!70!blue
5743 red!71.4!green!70!blue
5749 \begin_inset VSpace defskip
5755 \begin_layout Standard
5756 The possible color names are:
5759 \begin_layout Standard
5761 \begin_inset Tabular
5762 <lyxtabular version="3" rows="4" columns="5">
5763 <features tabularvalignment="middle">
5764 <column alignment="left" valignment="top" width="18col%">
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%">
5770 <cell alignment="left" valignment="top" usebox="none">
5773 \begin_layout Plain Layout
5777 \begin_layout Plain Layout
5790 \begin_layout Plain Layout
5798 \begin_inset Phantom Phantom
5801 \begin_layout Plain Layout
5811 \begin_layout Plain Layout
5823 <cell alignment="left" valignment="top" usebox="none">
5826 \begin_layout Plain Layout
5830 \begin_layout Plain Layout
5843 \begin_layout Plain Layout
5851 \begin_inset Phantom Phantom
5854 \begin_layout Plain Layout
5864 \begin_layout Plain Layout
5876 <cell alignment="left" valignment="top" usebox="none">
5879 \begin_layout Plain Layout
5883 \begin_layout Plain Layout
5896 \begin_layout Plain Layout
5904 \begin_inset Phantom Phantom
5907 \begin_layout Plain Layout
5917 \begin_layout Plain Layout
5929 <cell alignment="left" valignment="top" usebox="none">
5932 \begin_layout Plain Layout
5936 \begin_layout Plain Layout
5949 \begin_layout Plain Layout
5957 \begin_inset Phantom Phantom
5960 \begin_layout Plain Layout
5970 \begin_layout Plain Layout
5982 <cell alignment="left" valignment="top" usebox="none">
5985 \begin_layout Plain Layout
5989 \begin_layout Plain Layout
6002 \begin_layout Plain Layout
6010 \begin_inset Phantom Phantom
6013 \begin_layout Plain Layout
6023 \begin_layout Plain Layout
6037 <cell alignment="left" valignment="top" usebox="none">
6040 \begin_layout Plain Layout
6044 \begin_layout Plain Layout
6057 \begin_layout Plain Layout
6065 \begin_inset Phantom Phantom
6068 \begin_layout Plain Layout
6078 \begin_layout Plain Layout
6090 <cell alignment="left" valignment="top" usebox="none">
6093 \begin_layout Plain Layout
6097 \begin_layout Plain Layout
6110 \begin_layout Plain Layout
6118 \begin_inset Phantom Phantom
6121 \begin_layout Plain Layout
6131 \begin_layout Plain Layout
6143 <cell alignment="left" valignment="top" usebox="none">
6146 \begin_layout Plain Layout
6150 \begin_layout Plain Layout
6163 \begin_layout Plain Layout
6171 \begin_inset Phantom Phantom
6174 \begin_layout Plain Layout
6184 \begin_layout Plain Layout
6196 <cell alignment="left" valignment="top" usebox="none">
6199 \begin_layout Plain Layout
6203 \begin_layout Plain Layout
6216 \begin_layout Plain Layout
6224 \begin_inset Phantom Phantom
6227 \begin_layout Plain Layout
6237 \begin_layout Plain Layout
6249 <cell alignment="left" valignment="top" usebox="none">
6252 \begin_layout Plain Layout
6256 \begin_layout Plain Layout
6269 \begin_layout Plain Layout
6277 \begin_inset Phantom Phantom
6280 \begin_layout Plain Layout
6290 \begin_layout Plain Layout
6304 <cell alignment="left" valignment="top" usebox="none">
6307 \begin_layout Plain Layout
6311 \begin_layout Plain Layout
6324 \begin_layout Plain Layout
6332 \begin_inset Phantom Phantom
6335 \begin_layout Plain Layout
6345 \begin_layout Plain Layout
6357 <cell alignment="left" valignment="top" usebox="none">
6360 \begin_layout Plain Layout
6364 \begin_layout Plain Layout
6377 \begin_layout Plain Layout
6385 \begin_inset Phantom Phantom
6388 \begin_layout Plain Layout
6398 \begin_layout Plain Layout
6410 <cell alignment="left" valignment="top" usebox="none">
6413 \begin_layout Plain Layout
6417 \begin_layout Plain Layout
6430 \begin_layout Plain Layout
6438 \begin_inset Phantom Phantom
6441 \begin_layout Plain Layout
6451 \begin_layout Plain Layout
6463 <cell alignment="left" valignment="top" usebox="none">
6466 \begin_layout Plain Layout
6470 \begin_layout Plain Layout
6483 \begin_layout Plain Layout
6491 \begin_inset Phantom Phantom
6494 \begin_layout Plain Layout
6504 \begin_layout Plain Layout
6516 <cell alignment="left" valignment="top" usebox="none">
6519 \begin_layout Plain Layout
6523 \begin_layout Plain Layout
6536 \begin_layout Plain Layout
6544 \begin_inset Phantom Phantom
6547 \begin_layout Plain Layout
6557 \begin_layout Plain Layout
6571 <cell alignment="left" valignment="top" usebox="none">
6574 \begin_layout Plain Layout
6578 \begin_layout Plain Layout
6591 \begin_layout Plain Layout
6599 \begin_inset Phantom Phantom
6602 \begin_layout Plain Layout
6612 \begin_layout Plain Layout
6624 <cell alignment="left" valignment="top" usebox="none">
6627 \begin_layout Plain Layout
6631 \begin_layout Plain Layout
6644 \begin_layout Plain Layout
6652 \begin_inset Phantom Phantom
6655 \begin_layout Plain Layout
6665 \begin_layout Plain Layout
6677 <cell alignment="left" valignment="top" usebox="none">
6680 \begin_layout Plain Layout
6684 \begin_layout Plain Layout
6697 \begin_layout Plain Layout
6705 \begin_inset Phantom Phantom
6708 \begin_layout Plain Layout
6718 \begin_layout Plain Layout
6730 <cell alignment="left" valignment="top" usebox="none">
6733 \begin_layout Plain Layout
6737 \begin_layout Plain Layout
6750 \begin_layout Plain Layout
6758 \begin_inset Phantom Phantom
6761 \begin_layout Plain Layout
6771 \begin_layout Plain Layout
6783 <cell alignment="left" valignment="top" usebox="none">
6786 \begin_layout Plain Layout
6800 \begin_layout Standard
6801 , and the ones listed in Appendix
6802 \begin_inset space ~
6808 \begin_inset space ~
6816 \begin_layout Subsubsection
6820 \begin_layout Standard
6821 The background color is changed with the option
6828 \begin_layout Standard
6829 \begin_inset Flex Color Box
6832 \begin_layout Plain Layout
6833 \begin_inset Argument 1
6836 \begin_layout Plain Layout
6837 colback=red!66!green!70!blue
6850 \begin_layout Subsubsection
6854 \begin_layout Standard
6855 The frame color is changed with the option
6862 \begin_layout Standard
6863 \begin_inset Flex Color Box
6866 \begin_layout Plain Layout
6867 \begin_inset Argument 1
6870 \begin_layout Plain Layout
6871 colframe=red!30!blue
6884 \begin_layout Subsubsection
6888 \begin_layout Standard
6889 The title background color is changed with the option
6896 \begin_layout Standard
6897 \begin_inset Flex Color Box
6900 \begin_layout Plain Layout
6901 \begin_inset Argument 1
6904 \begin_layout Plain Layout
6905 title=A title, colbacktitle=green!30
6910 Title background color
6918 \begin_layout Subsubsection
6920 \begin_inset CommandInset label
6922 name "subsec:Title-text"
6929 \begin_layout Standard
6930 The color for the title text is changed with the option
6937 \begin_layout Standard
6938 \begin_inset Flex Color Box
6941 \begin_layout Plain Layout
6942 \begin_inset Argument 1
6945 \begin_layout Plain Layout
6946 title=A title, coltitle=orange
6954 \begin_layout Plain Layout
6955 \begin_inset Flex Subtitle
6958 \begin_layout Plain Layout
6967 \begin_layout Plain Layout
6976 \begin_layout Subsubsection
6980 \begin_layout Standard
6981 The color for the complete text is changed with the option
6988 \begin_layout Standard
6989 \begin_inset Flex Color Box
6992 \begin_layout Plain Layout
6993 \begin_inset Argument 1
6996 \begin_layout Plain Layout
7010 \begin_layout Subsubsection
7011 Upper and lower text
7014 \begin_layout Standard
7015 The color for the upper and lower part text is changed with the option
7026 \begin_layout Standard
7027 \begin_inset Flex Color Box
7030 \begin_layout Plain Layout
7031 \begin_inset Argument 1
7034 \begin_layout Plain Layout
7035 colupper=green!30!blue, collower=green!70!blue
7043 \begin_layout Color Box Separator
7047 \begin_layout Plain Layout
7056 \begin_layout Standard
7057 \begin_inset Newpage newpage
7063 \begin_layout Subsection
7065 \begin_inset CommandInset label
7067 name "subsec:Shadows"
7074 \begin_layout Standard
7075 Boxes can only be decorated with shadows if a skin is specified, see
7076 \begin_inset CommandInset ref
7078 reference "subsec:Enhanced"
7085 \begin_layout Subsubsection
7089 \begin_layout Standard
7090 A shadow is added with the box option
7098 is a color name or definition, see
7099 \begin_inset CommandInset ref
7101 reference "subsec:Color"
7106 One can omit the color, the shadow color is then black!50!white.
7111 creates a semi-transparent shadow.
7114 \begin_layout Standard
7115 \begin_inset Flex Color Box
7118 \begin_layout Plain Layout
7119 \begin_inset Argument 1
7122 \begin_layout Plain Layout
7123 enhanced, drop shadow, nobeforeafter
7136 \begin_layout Standard
7137 \begin_inset VSpace defskip
7141 \begin_inset Flex Color Box
7144 \begin_layout Plain Layout
7145 \begin_inset Argument 1
7148 \begin_layout Plain Layout
7149 enhanced, drop fuzzy shadow, nobeforeafter
7154 A box with a fuzzy shadow
7162 \begin_layout Standard
7163 The default shadow is placed right below the box.
7164 For other shadow placements have a look at section
7173 \begin_inset CommandInset citation
7182 \begin_layout Subsubsection
7186 \begin_layout Standard
7187 A halo is added with the box option
7189 halo=size with color
7199 is a color name or definition.
7200 One can omit the size and color, the halo is then 0.9
7201 \begin_inset space \thinspace{}
7204 mm thick and has the color yellow.
7205 Note that one cannot omit only the size or color, either both is omitted
7206 or both is specified.
7211 creates a semi-transparent halo.
7214 \begin_layout Standard
7215 \begin_inset Flex Color Box
7218 \begin_layout Plain Layout
7219 \begin_inset Argument 1
7222 \begin_layout Plain Layout
7223 enhanced, halo, nobeforeafter
7236 \begin_layout Standard
7237 \begin_inset VSpace defskip
7243 \begin_layout Standard
7244 \begin_inset Flex Color Box
7247 \begin_layout Plain Layout
7248 \begin_inset Argument 1
7251 \begin_layout Plain Layout
7252 enhanced, fuzzy halo=5mm with green, nobeforeafter
7258 \begin_inset space \thinspace{}
7261 mm thick, green fuzzy halo
7269 \begin_layout Subsubsection
7273 \begin_layout Standard
7274 Generic shadows/halos can be created with the box option
7283 For a brief description of these options consult section
7292 \begin_inset CommandInset citation
7301 \begin_layout Standard
7302 \begin_inset Flex Color Box
7305 \begin_layout Plain Layout
7306 \begin_inset Argument 1
7309 \begin_layout Plain Layout
7310 enhanced, title=Double shadow, shadow={-2.5mm}{-2.5mm}{0mm}{fill=blue, opacity=0.25
7311 }, shadow={1.5mm}{1.5mm}{0mm}{fill=red, opacity=0.25}
7317 \begin_inset space ~
7328 \begin_layout Bibliography
7329 \begin_inset CommandInset bibitem
7330 LatexCommand bibitem
7336 \begin_inset CommandInset href
7338 name "Documentation"
7339 target "http://mirrors.ctan.org/macros/latex/contrib/tcolorbox/tcolorbox.pdf"
7343 of the \SpecialChar LaTeX