]> git.lyx.org Git - lyx.git/blob - lib/examples/Modules/Fancy_Colored_Boxes.lyx
Update documentation
[lyx.git] / lib / examples / Modules / Fancy_Colored_Boxes.lyx
1 #LyX 2.4 created this file. For more info see https://www.lyx.org/
2 \lyxformat 600
3 \begin_document
4 \begin_header
5 \save_transient_properties true
6 \origin /systemlyxdir/examples/Modules/
7 \textclass scrartcl
8 \begin_preamble
9 % if pdflatex is used
10 \usepackage{ifpdf}
11 \ifpdf
12
13 % set fonts for nicer pdf view
14 \IfFileExists{lmodern.sty}
15  {\usepackage{lmodern}}{}
16
17 \fi % end if pdflatex is used
18
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}%
28  }
29 }{}
30 % Added by lyx2lyx
31 \setlength{\parskip}{\medskipamount}
32 \setlength{\parindent}{0pt}
33 \end_preamble
34 \options BCOR8mm, most, usenames, dvipsnames
35 \use_default_options false
36 \begin_modules
37 tcolorbox
38 \end_modules
39 \maintain_unincluded_children no
40 \language english
41 \language_package default
42 \inputencoding utf8
43 \fontencoding auto
44 \font_roman "default" "default"
45 \font_sans "default" "default"
46 \font_typewriter "default" "default"
47 \font_math "auto" "auto"
48 \font_default_family default
49 \use_non_tex_fonts false
50 \font_sc false
51 \font_sans_osf false
52 \font_typewriter_osf false
53 \font_roman_osf false
54 \font_sf_scale 100 100
55 \font_tt_scale 100 100
56 \use_microtype false
57 \use_dash_ligatures false
58 \graphics default
59 \default_output_format default
60 \output_sync 0
61 \bibtex_command bibtex
62 \index_command default
63 \paperfontsize 12
64 \spacing single
65 \use_hyperref true
66 \pdf_title "Description of the module tcolorbox"
67 \pdf_author "Uwe Stöhr"
68 \pdf_subject "fancy colored boxes"
69 \pdf_keywords "LyX, tcolorbox, colored boxes"
70 \pdf_bookmarks true
71 \pdf_bookmarksnumbered true
72 \pdf_bookmarksopen true
73 \pdf_bookmarksopenlevel 3
74 \pdf_breaklinks false
75 \pdf_pdfborder true
76 \pdf_colorlinks true
77 \pdf_backref false
78 \pdf_pdfusetitle false
79 \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false, urlbordercolor={1 0 0}"
80 \papersize a4
81 \use_geometry false
82 \use_package amsmath 1
83 \use_package amssymb 1
84 \use_package cancel 1
85 \use_package esint 1
86 \use_package mathdots 1
87 \use_package mathtools 1
88 \use_package mhchem 1
89 \use_package stackrel 1
90 \use_package stmaryrd 1
91 \use_package undertilde 1
92 \cite_engine basic
93 \cite_engine_type default
94 \biblio_style plain
95 \use_bibtopic false
96 \use_indices false
97 \paperorientation portrait
98 \suppress_date true
99 \justification true
100 \use_refstyle 0
101 \use_minted 0
102 \notefontcolor #0000ff
103 \use_lineno 0
104 \index Index
105 \shortcut idx
106 \color #008000
107 \end_index
108 \secnumdepth 3
109 \tocdepth 3
110 \paragraph_separation indent
111 \paragraph_indentation default
112 \is_math_indent 0
113 \math_numbering_side default
114 \quotes_style english
115 \dynamic_quotes 0
116 \papercolumns 1
117 \papersides 1
118 \paperpagestyle default
119 \tracking_changes false
120 \postpone_fragile_content false
121 \output_changes false
122 \html_math_output 0
123 \html_css_as_file 0
124 \html_be_strict false
125 \end_header
126
127 \begin_body
128
129 \begin_layout Title
130 Description of the module Fancy Colored Boxes
131 \end_layout
132
133 \begin_layout Author
134 Uwe Stöhr
135 \end_layout
136
137 \begin_layout Standard
138 \begin_inset CommandInset toc
139 LatexCommand tableofcontents
140
141 \end_inset
142
143
144 \end_layout
145
146 \begin_layout Standard
147 With the module 
148 \emph on
149 Fancy
150 \begin_inset space ~
151 \end_inset
152
153 Colored
154 \begin_inset space ~
155 \end_inset
156
157 Boxes
158 \emph default
159  you have access to a huge variety of colored boxes.
160  They are particularly useful for presentations or educational texts where
161  you might for example highlight results or equations.
162  This document describes how these boxes are used with \SpecialChar LyX
163 .
164 \end_layout
165
166 \begin_layout Standard
167 The fancy boxes are generated by the \SpecialChar LaTeX
168  package 
169 \series bold
170 tcolorbox
171 \series default
172 .
173  This package has so many features that its manual exceeds 400
174 \begin_inset space ~
175 \end_inset
176
177 pages.
178  \SpecialChar LyX
179  can therefore only provide access to its basic features.
180  For more advanced features and examples have a loot at the 
181 \series bold
182 tcolorbox
183 \series default
184  manual, 
185 \begin_inset CommandInset citation
186 LatexCommand cite
187 key "tcolorbox"
188 literal "true"
189
190 \end_inset
191
192 .
193 \end_layout
194
195 \begin_layout Section
196 Preparation
197 \end_layout
198
199 \begin_layout Standard
200 At first load the module 
201 \family sans
202 Fancy
203 \begin_inset space ~
204 \end_inset
205
206 Colored
207 \begin_inset space ~
208 \end_inset
209
210 Boxes
211 \family default
212  in the document settings of your file.
213 \end_layout
214
215 \begin_layout Standard
216 Add the following options to the document class options in the document
217  settings of your file:
218 \end_layout
219
220 \begin_layout Standard
221
222 \series bold
223 most, usenames, dvipsnames
224 \end_layout
225
226 \begin_layout Standard
227 The option 
228 \series bold
229 most
230 \series default
231  loads most of the libraries of the \SpecialChar LaTeX
232  package 
233 \series bold
234 tcolorbox
235 \series default
236 .
237  The options 
238 \series bold
239 usenames, dvipsnames
240 \series default
241  load additional colors, see Appendix
242 \begin_inset space ~
243 \end_inset
244
245 C of the 
246 \emph on
247 Embedded
248 \begin_inset space ~
249 \end_inset
250
251 Objects
252 \emph default
253  manual for a list.
254 \end_layout
255
256 \begin_layout Section
257 Basics
258 \end_layout
259
260 \begin_layout Subsection
261 Box types
262 \end_layout
263
264 \begin_layout Subsubsection
265 Static (Standard)
266 \end_layout
267
268 \begin_layout Standard
269 A static color box is inserted via the menu 
270 \family sans
271 Insert\SpecialChar menuseparator
272 Custom Insets\SpecialChar menuseparator
273 Color
274 \begin_inset space ~
275 \end_inset
276
277 Box
278 \family default
279 .
280 \end_layout
281
282 \begin_layout Standard
283 This is a static color box: 
284 \begin_inset Flex Color Box
285 status open
286
287 \begin_layout Plain Layout
288 A basic color box.
289 \end_layout
290
291 \end_inset
292
293
294 \end_layout
295
296 \begin_layout Standard
297 It has by default a frame with round corners and consumes the full text
298  width.
299  It can contain several paragraphs and math.
300 \end_layout
301
302 \begin_layout Standard
303 \begin_inset Note Greyedout
304 status open
305
306 \begin_layout Plain Layout
307
308 \series bold
309 Note:
310 \series default
311  The box can contain forced page breaks but they will be ignored.
312  To get breakable boxes, see 
313 \begin_inset CommandInset ref
314 LatexCommand ref
315 reference "sec:Beakable-boxes"
316
317 \end_inset
318
319 .
320 \end_layout
321
322 \end_inset
323
324
325 \end_layout
326
327 \begin_layout Subsubsection
328 Dynamic
329 \end_layout
330
331 \begin_layout Standard
332 A dynamic color box is inserted via inset via the menu 
333 \family sans
334 Insert\SpecialChar menuseparator
335 Custom Insets\SpecialChar menuseparator
336 Dynamic
337 \begin_inset space ~
338 \end_inset
339
340 Color
341 \begin_inset space ~
342 \end_inset
343
344 Box
345 \family default
346 .
347 \end_layout
348
349 \begin_layout Standard
350 This is a dynamic color box: 
351 \begin_inset Flex Dynamic Color Box
352 status open
353
354 \begin_layout Plain Layout
355 A dynamic color box.
356 \end_layout
357
358 \end_inset
359
360
361 \end_layout
362
363 \begin_layout Standard
364 In contrary to static boxes dynamic boxes cannot have parts, see 
365 \begin_inset CommandInset ref
366 LatexCommand ref
367 reference "subsec:Box-parts"
368
369 \end_inset
370
371 , and they cannot made breakable but one can set their vertical placement,
372  see 
373 \begin_inset CommandInset ref
374 LatexCommand ref
375 reference "subsec:Vertical"
376
377 \end_inset
378
379 .
380  Their width is by default the width of the content.
381 \end_layout
382
383 \begin_layout Subsubsection
384 Fit
385 \end_layout
386
387 \begin_layout Standard
388 A fit color box is inserted via the menu 
389 \family sans
390 Insert\SpecialChar menuseparator
391 Custom Insets\SpecialChar menuseparator
392 Fit
393 \begin_inset space ~
394 \end_inset
395
396 Color
397 \begin_inset space ~
398 \end_inset
399
400 Box
401 \family default
402 .
403 \end_layout
404
405 \begin_layout Standard
406 Fit boxes are dynamic boxes but their content is automatically decreased
407  or increased to fit into the specified box width and height.
408  How to specify a width and height is described in 
409 \begin_inset CommandInset ref
410 LatexCommand ref
411 reference "subsec:Geometry"
412
413 \end_inset
414
415 .
416  If no width and height is specified the result is a square box consuming
417  the full available width of the page.
418  If only a width is specified, the result is a square box.
419 \end_layout
420
421 \begin_layout Standard
422 These are fit color boxes:
423 \end_layout
424
425 \begin_layout Standard
426 \begin_inset Flex Fit Color Box
427 status open
428
429 \begin_layout Plain Layout
430 \begin_inset Argument 1
431 status open
432
433 \begin_layout Plain Layout
434 width=3cm
435 \end_layout
436
437 \end_inset
438
439 A 3
440 \begin_inset space \thinspace{}
441 \end_inset
442
443 cm wide fit color box with some text.
444  A 3
445 \begin_inset space \thinspace{}
446 \end_inset
447
448 cm wide fit color box with some text.
449  A 3
450 \begin_inset space \thinspace{}
451 \end_inset
452
453 cm wide fit color box with some text.
454 \end_layout
455
456 \end_inset
457
458
459 \end_layout
460
461 \begin_layout Standard
462 \begin_inset Flex Fit Color Box
463 status open
464
465 \begin_layout Plain Layout
466 \begin_inset Argument 1
467 status open
468
469 \begin_layout Plain Layout
470 width=5cm, height=3cm
471 \end_layout
472
473 \end_inset
474
475 A 5
476 \begin_inset space \thinspace{}
477 \end_inset
478
479 cm wide and 3
480 \begin_inset space \thinspace{}
481 \end_inset
482
483 cm high fit color box.
484 \end_layout
485
486 \end_inset
487
488
489 \end_layout
490
491 \begin_layout Standard
492 The examples show that the text will be shrinked to fit into the box but
493  it will not be increased.
494 \end_layout
495
496 \begin_layout Subsubsection
497 Custom
498 \end_layout
499
500 \begin_layout Standard
501 A custom color box is inserted via the menu 
502 \family sans
503 Insert\SpecialChar menuseparator
504 Custom Insets\SpecialChar menuseparator
505 Custom Color
506 \begin_inset space ~
507 \end_inset
508
509 Box
510 \begin_inset space ~
511 \end_inset
512
513 #
514 \family default
515  where # is the number.
516 \end_layout
517
518 \begin_layout Standard
519 How to use and customize custom color boxes, see 
520 \begin_inset CommandInset ref
521 LatexCommand ref
522 reference "subsec:General"
523
524 \end_inset
525
526 .
527 \end_layout
528
529 \begin_layout Subsection
530 Titles
531 \end_layout
532
533 \begin_layout Standard
534 To add a title to a box add an options inset via the menu Insert\SpecialChar menuseparator
535 Color
536 \begin_inset space ~
537 \end_inset
538
539 Box
540 \begin_inset space ~
541 \end_inset
542
543 Options.
544  There write 
545 \series bold
546 title=
547 \series default
548  followed by your title.
549 \end_layout
550
551 \begin_layout Standard
552 This is a titled box: 
553 \begin_inset Flex Color Box
554 status open
555
556 \begin_layout Plain Layout
557 \begin_inset Argument 1
558 status open
559
560 \begin_layout Plain Layout
561 title=A title
562 \end_layout
563
564 \end_inset
565
566 A basic box with a title.
567 \end_layout
568
569 \end_inset
570
571
572 \end_layout
573
574 \begin_layout Standard
575 A subtitle is added with the inset 
576 \family sans
577 Subtitle
578 \family default
579  via the menu 
580 \family sans
581 Insert\SpecialChar menuseparator
582 Custom Insets
583 \family default
584 :
585 \end_layout
586
587 \begin_layout Standard
588 \begin_inset Flex Color Box
589 status open
590
591 \begin_layout Plain Layout
592 \begin_inset Argument 1
593 status open
594
595 \begin_layout Plain Layout
596 title=The title
597 \end_layout
598
599 \end_inset
600
601 A basic box with a subtitle.
602  
603 \begin_inset Flex Subtitle
604 status open
605
606 \begin_layout Plain Layout
607 The subtitle
608 \end_layout
609
610 \end_inset
611
612  The content below the subtitle.
613 \end_layout
614
615 \end_inset
616
617
618 \end_layout
619
620 \begin_layout Standard
621 The title and subtitle text is by default white.
622  How to change its color, see 
623 \begin_inset CommandInset ref
624 LatexCommand ref
625 reference "subsec:Title-text"
626
627 \end_inset
628
629 .
630 \end_layout
631
632 \begin_layout Subsection
633 Box parts
634 \begin_inset CommandInset label
635 LatexCommand label
636 name "subsec:Box-parts"
637
638 \end_inset
639
640
641 \end_layout
642
643 \begin_layout Standard
644 The content of the box can be divided into an upper and a lower part by
645  using the environment 
646 \family sans
647 Color Box Separator
648 \family default
649  in \SpecialChar LyX
650 's environment selection combobox.
651  The idea behind this is that both parts can be treated and customized separatel
652 y.
653  An application would be that the upper part contains a description and
654  the lower part an equation.
655 \end_layout
656
657 \begin_layout Standard
658 This is a box where the content is separated:
659 \end_layout
660
661 \begin_layout Standard
662 \begin_inset Flex Color Box
663 status open
664
665 \begin_layout Plain Layout
666 Upper content
667 \end_layout
668
669 \begin_layout Color Box Separator
670
671 \end_layout
672
673 \begin_layout Plain Layout
674 Lower content
675 \end_layout
676
677 \end_inset
678
679
680 \end_layout
681
682 \begin_layout Standard
683 The separation line can be customized as described in 
684 \begin_inset CommandInset ref
685 LatexCommand ref
686 reference "subsec:Lines"
687
688 \end_inset
689
690 .
691 \end_layout
692
693 \begin_layout Standard
694 The separation can also be made side by side with the box option 
695 \series bold
696 sidebyside
697 \series default
698 .
699 \end_layout
700
701 \begin_layout Standard
702 \begin_inset Flex Color Box
703 status open
704
705 \begin_layout Plain Layout
706 \begin_inset Argument 1
707 status open
708
709 \begin_layout Plain Layout
710 sidebyside
711 \end_layout
712
713 \end_inset
714
715 Upper content at the left
716 \end_layout
717
718 \begin_layout Color Box Separator
719
720 \end_layout
721
722 \begin_layout Plain Layout
723 Lower content at the right
724 \end_layout
725
726 \end_inset
727
728
729 \end_layout
730
731 \begin_layout Standard
732 The separation can be made invisible with the box option 
733 \series bold
734 lower separated=false
735 \series default
736 .
737 \end_layout
738
739 \begin_layout Standard
740 \begin_inset Flex Color Box
741 status open
742
743 \begin_layout Plain Layout
744 \begin_inset Argument 1
745 status open
746
747 \begin_layout Plain Layout
748 sidebyside, lower separated=false
749 \end_layout
750
751 \end_inset
752
753 Upper content invisibly separated
754 \end_layout
755
756 \begin_layout Color Box Separator
757
758 \end_layout
759
760 \begin_layout Plain Layout
761 Lower content at the right
762 \end_layout
763
764 \end_inset
765
766
767 \end_layout
768
769 \begin_layout Standard
770 There are several layout skins available for colored boxes, see 
771 \begin_inset CommandInset ref
772 LatexCommand ref
773 reference "subsec:Beamer"
774
775 \end_inset
776
777 , that affects also the layout of the box parts.
778  For example with the box option 
779 \series bold
780 beamer
781 \series default
782  the box parts are separated this way:
783 \end_layout
784
785 \begin_layout Standard
786 \begin_inset Flex Color Box
787 status open
788
789 \begin_layout Plain Layout
790 \begin_inset Argument 1
791 status open
792
793 \begin_layout Plain Layout
794 beamer
795 \end_layout
796
797 \end_inset
798
799 Upper content
800 \end_layout
801
802 \begin_layout Color Box Separator
803
804 \end_layout
805
806 \begin_layout Plain Layout
807 Lower content
808 \end_layout
809
810 \end_inset
811
812
813 \end_layout
814
815 \begin_layout Subsection
816 Lines
817 \begin_inset CommandInset label
818 LatexCommand label
819 name "subsec:Lines"
820
821 \end_inset
822
823
824 \end_layout
825
826 \begin_layout Standard
827 To draw a line in a box use the environment 
828 \family sans
829 Color Box Line
830 \family default
831 .
832  The line is by default dashed.
833  Note that it is just a line and does not separate box parts!
834 \end_layout
835
836 \begin_layout Standard
837 This is a box with a line:
838 \end_layout
839
840 \begin_layout Standard
841 \begin_inset Flex Color Box
842 status open
843
844 \begin_layout Plain Layout
845 Some text
846 \end_layout
847
848 \begin_layout Color Box Line
849
850 \end_layout
851
852 \begin_layout Plain Layout
853 Some text
854 \end_layout
855
856 \end_inset
857
858
859 \end_layout
860
861 \begin_layout Standard
862 The line style can only be changed if a skin is specified, see 
863 \begin_inset CommandInset ref
864 LatexCommand ref
865 reference "subsec:Enhanced"
866
867 \end_inset
868
869 .
870  Then one can use the box option 
871 \series bold
872 segmentation style={commands}
873 \series default
874  where 
875 \series bold
876 commands
877 \series default
878  are commands to define the style.
879  See section 
880 \family sans
881 Library
882 \begin_inset space ~
883 \end_inset
884
885 skins
886 \family default
887  of the 
888 \series bold
889 tcolorbox
890 \series default
891  manual for possible commands, 
892 \begin_inset CommandInset citation
893 LatexCommand cite
894 key "tcolorbox"
895 literal "true"
896
897 \end_inset
898
899 .
900 \end_layout
901
902 \begin_layout Standard
903 Here is an example in the 
904 \emph on
905 enhanced
906 \emph default
907  skin with a double blue line:
908 \end_layout
909
910 \begin_layout Standard
911 \begin_inset Flex Color Box
912 status open
913
914 \begin_layout Plain Layout
915 \begin_inset Argument 1
916 status open
917
918 \begin_layout Plain Layout
919 enhanced, segmentation style={double=white,draw=blue,double distance=1pt,solid}
920 \end_layout
921
922 \end_inset
923
924 Some text
925 \end_layout
926
927 \begin_layout Color Box Line
928
929 \end_layout
930
931 \begin_layout Plain Layout
932 Some text
933 \end_layout
934
935 \end_inset
936
937
938 \end_layout
939
940 \begin_layout Standard
941 \begin_inset Newpage newpage
942 \end_inset
943
944
945 \end_layout
946
947 \begin_layout Section
948 Breakable boxes
949 \begin_inset CommandInset label
950 LatexCommand label
951 name "sec:Beakable-boxes"
952
953 \end_inset
954
955
956 \end_layout
957
958 \begin_layout Standard
959 To make a box breakable the option 
960 \series bold
961 breakable
962 \series default
963  is added.
964  If a page break occurs within a box, the box will get broken this way:
965 \end_layout
966
967 \begin_layout Standard
968 \begin_inset Flex Color Box
969 status open
970
971 \begin_layout Plain Layout
972 \begin_inset Argument 1
973 status open
974
975 \begin_layout Plain Layout
976 title=A breakable box, breakable, title after break=continued...
977 \end_layout
978
979 \end_inset
980
981 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
982  eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
983  voluptua.
984  At vero eos et accusam et justo duo dolores et ea rebum.
985  Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
986  sit amet.
987  Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
988  eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
989  voluptua.
990  At vero eos et accusam et justo duo dolores et ea rebum.
991  Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
992  sit amet.
993  Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
994  eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
995  voluptua.
996  At vero eos et accusam et justo duo dolores et ea rebum.
997  Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
998  sit amet.
999  Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1000  eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1001  voluptua.
1002  At vero eos et accusam et justo duo dolores et ea rebum.
1003  Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1004  sit amet.
1005  Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1006  eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1007  voluptua.
1008  At vero eos et accusam et justo duo dolores et ea rebum.
1009  Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1010  sit amet.
1011  Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1012  eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1013  voluptua.
1014  At vero eos et accusam et justo duo dolores et ea rebum.
1015  Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1016  sit amet.
1017  Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1018  eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1019  voluptua.
1020  At vero eos et accusam et justo duo dolores et ea rebum.
1021  Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1022  sit amet.
1023  Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1024  eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1025  voluptua.
1026  At vero eos et accusam et justo duo dolores et ea rebum.
1027  Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1028  sit amet.
1029  Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1030  eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1031  voluptua.
1032  At vero eos et accusam et justo duo dolores et ea rebum.
1033  Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1034  sit amet.
1035  Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1036  eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1037  voluptua.
1038  At vero eos et accusam et justo duo dolores et ea rebum.
1039  Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1040  sit amet.
1041 \end_layout
1042
1043 \end_inset
1044
1045
1046 \end_layout
1047
1048 \begin_layout Standard
1049 In the above example the special title 
1050 \emph on
1051 continued...
1052
1053 \emph default
1054  was added for the second page of the box with the option 
1055 \series bold
1056 title after break
1057 \series default
1058 .
1059 \end_layout
1060
1061 \begin_layout Standard
1062 If boxes are inside boxes, only the outer box can made breakable.
1063 \end_layout
1064
1065 \begin_layout Standard
1066 \begin_inset Note Greyedout
1067 status open
1068
1069 \begin_layout Plain Layout
1070
1071 \series bold
1072 Note:
1073 \series default
1074  Dynamic boxes and fit boxes cannot made breakable!
1075 \end_layout
1076
1077 \end_inset
1078
1079
1080 \end_layout
1081
1082 \begin_layout Section
1083 Customization
1084 \end_layout
1085
1086 \begin_layout Subsection
1087 General
1088 \begin_inset CommandInset label
1089 LatexCommand label
1090 name "subsec:General"
1091
1092 \end_inset
1093
1094
1095 \end_layout
1096
1097 \begin_layout Standard
1098 The following subsections show many possibilities to customize boxes.
1099 \end_layout
1100
1101 \begin_layout Standard
1102 To avoid to write the box commands all the time, you can use the environment
1103  
1104 \family sans
1105 Color
1106 \begin_inset space ~
1107 \end_inset
1108
1109 Box
1110 \begin_inset space ~
1111 \end_inset
1112
1113 Setup
1114 \family default
1115 .
1116  It is inserted via \SpecialChar LyX
1117 's style selection combobox.
1118  There you can write all options that should be applied for 
1119 \emph on
1120 all
1121 \emph default
1122  boxes of the document 
1123 \emph on
1124 following
1125 \emph default
1126  the environment.
1127  For example writing there 
1128 \series bold
1129 width=3cm, height=8cm
1130 \series default
1131  forces all following boxes to have a height of 8
1132 \begin_inset space \thinspace{}
1133 \end_inset
1134
1135 cm and a width of 3
1136 \begin_inset space \thinspace{}
1137 \end_inset
1138
1139 cm.
1140  However, this is not useful if one needs several box types since the changes
1141  would affect 
1142 \emph on
1143 all
1144 \emph default
1145  boxes.
1146 \end_layout
1147
1148 \begin_layout Standard
1149 In most documents one need a few types of boxes and all boxes of a type
1150  should look identical.
1151  To achieve this the module 
1152 \emph on
1153 Fancy
1154 \begin_inset space ~
1155 \end_inset
1156
1157 Colored
1158 \begin_inset space ~
1159 \end_inset
1160
1161 Boxes
1162 \emph default
1163  predefines 5
1164 \begin_inset space ~
1165 \end_inset
1166
1167 different box types which you can customize.
1168  To change their appearance use the environment 
1169 \family sans
1170 New
1171 \begin_inset space ~
1172 \end_inset
1173
1174 Color
1175 \begin_inset space ~
1176 \end_inset
1177
1178 Box
1179 \begin_inset space ~
1180 \end_inset
1181
1182 Type
1183 \family default
1184 .
1185  It is inserted via \SpecialChar LyX
1186 's style selection combobox.
1187 \end_layout
1188
1189 \begin_layout Standard
1190 If you want for example a box type that looks like the fancy colored one
1191  in 
1192 \begin_inset CommandInset ref
1193 LatexCommand ref
1194 reference "subsec:Enhanced"
1195
1196 \end_inset
1197
1198  use these options in the environment:
1199 \end_layout
1200
1201 \begin_layout Standard
1202
1203 \series bold
1204 enhanced, frame style={left color=red!75!black, right color=blue!75!black},
1205  interior style={left color=red!20!white, right color=yellow!50!white}
1206 \end_layout
1207
1208 \begin_layout Standard
1209 Into the 
1210 \family sans
1211 Name
1212 \family default
1213  inset write 
1214 \series bold
1215 cBoxA
1216 \series default
1217  (cBoxA is custom box type
1218 \begin_inset space ~
1219 \end_inset
1220
1221 1, cBoxB type
1222 \begin_inset space ~
1223 \end_inset
1224
1225 2 etc.).
1226  Because you want to customize every box of this type (e.
1227 \begin_inset space \thinspace{}
1228 \end_inset
1229
1230 g.
1231 \begin_inset space \space{}
1232 \end_inset
1233
1234 every box should have its own title), you need one argument.
1235  Therefore add 
1236 \series bold
1237 1
1238 \series default
1239  into the Arguments inset of the environment.
1240 \end_layout
1241
1242 \begin_layout Standard
1243 \begin_inset Note Greyedout
1244 status open
1245
1246 \begin_layout Plain Layout
1247
1248 \series bold
1249 Note:
1250 \series default
1251  If you use an argument, the inset 
1252 \family sans
1253 Default Value
1254 \family default
1255  must also be inserted but left empty!
1256 \end_layout
1257
1258 \end_inset
1259
1260
1261 \end_layout
1262
1263 \begin_layout New Color Box Type
1264 \begin_inset Argument 2
1265 status open
1266
1267 \begin_layout Plain Layout
1268
1269 cBoxA
1270 \end_layout
1271
1272 \end_inset
1273
1274
1275 \begin_inset Argument 3
1276 status open
1277
1278 \begin_layout Plain Layout
1279
1280 1
1281 \end_layout
1282
1283 \end_inset
1284
1285
1286 \begin_inset Argument 4
1287 status open
1288
1289 \begin_layout Plain Layout
1290
1291 \end_layout
1292
1293 \end_inset
1294
1295 enhanced, frame style={left color=red!75!black, right color=blue!75!black},
1296  interior style={left color=red!20!white, right color=yellow!50!white},
1297  #1
1298 \end_layout
1299
1300 \begin_layout Standard
1301 This way you defined the box type 
1302 \family sans
1303 Custom
1304 \begin_inset space ~
1305 \end_inset
1306
1307 Color
1308 \begin_inset space ~
1309 \end_inset
1310
1311 Box
1312 \begin_inset space ~
1313 \end_inset
1314
1315 1
1316 \family default
1317 .
1318  Boxes of this type will look like this:
1319 \end_layout
1320
1321 \begin_layout Standard
1322 \begin_inset Flex Custom Color Box 1
1323 status open
1324
1325 \begin_layout Plain Layout
1326 \begin_inset Argument 1
1327 status open
1328
1329 \begin_layout Plain Layout
1330 title=Custom box
1331 \end_layout
1332
1333 \end_inset
1334
1335 Custom color box 1
1336 \end_layout
1337
1338 \end_inset
1339
1340
1341 \end_layout
1342
1343 \begin_layout Standard
1344 \begin_inset VSpace bigskip
1345 \end_inset
1346
1347 Another example:
1348 \begin_inset Newline newline
1349 \end_inset
1350
1351 Assuming you need a box type that can be numbered, you insert
1352 \end_layout
1353
1354 \begin_layout Standard
1355
1356 \series bold
1357 auto counter, number within=section
1358 \end_layout
1359
1360 \begin_layout Standard
1361 into the 
1362 \family sans
1363 New
1364 \series bold
1365  
1366 \series default
1367 Box Options
1368 \family default
1369  inset of the 
1370 \family sans
1371 New
1372 \begin_inset space ~
1373 \end_inset
1374
1375 Color
1376 \begin_inset space ~
1377 \end_inset
1378
1379 Box
1380 \begin_inset space ~
1381 \end_inset
1382
1383 Type
1384 \family default
1385  environment.
1386  The 
1387 \family sans
1388 Name
1389 \family default
1390  is 
1391 \series bold
1392 cBoxB
1393 \series default
1394
1395 \family sans
1396 Arguments
1397 \family default
1398  is 
1399 \series bold
1400 1
1401 \series default
1402 .
1403  Now write
1404 \end_layout
1405
1406 \begin_layout Standard
1407
1408 \series bold
1409 colback=red!5!white, colframe=red!75!black, title=Example~
1410 \backslash
1411 thetcbcounter : #1
1412 \end_layout
1413
1414 \begin_layout Standard
1415 into the environment.
1416  This predefines a title prefix.
1417  
1418 \series bold
1419
1420 \backslash
1421 tcbcounter
1422 \series default
1423  is hereby the counter of colored boxes.
1424  In your 
1425 \family sans
1426 Custom
1427 \begin_inset space ~
1428 \end_inset
1429
1430 Color
1431 \begin_inset space ~
1432 \end_inset
1433
1434 Box
1435 \begin_inset space ~
1436 \end_inset
1437
1438 2
1439 \family default
1440  you specify the title via the options inset:
1441 \end_layout
1442
1443 \begin_layout New Color Box Type
1444 \begin_inset Argument 1
1445 status open
1446
1447 \begin_layout Plain Layout
1448
1449 auto counter, number within=section
1450 \end_layout
1451
1452 \end_inset
1453
1454
1455 \begin_inset Argument 2
1456 status open
1457
1458 \begin_layout Plain Layout
1459
1460 cBoxB
1461 \end_layout
1462
1463 \end_inset
1464
1465
1466 \begin_inset Argument 3
1467 status open
1468
1469 \begin_layout Plain Layout
1470
1471 1
1472 \end_layout
1473
1474 \end_inset
1475
1476
1477 \begin_inset Argument 4
1478 status open
1479
1480 \begin_layout Plain Layout
1481
1482 \end_layout
1483
1484 \end_inset
1485
1486 colback=red!5!white, colframe=red!75!black, title=Example~
1487 \backslash
1488 thetcbcounter : #1
1489 \end_layout
1490
1491 \begin_layout Standard
1492 \begin_inset Flex Custom Color Box 2
1493 status open
1494
1495 \begin_layout Plain Layout
1496 \begin_inset Argument 1
1497 status open
1498
1499 \begin_layout Plain Layout
1500 Custom numbered title
1501 \end_layout
1502
1503 \end_inset
1504
1505 Custom color box 2
1506 \end_layout
1507
1508 \end_inset
1509
1510
1511 \end_layout
1512
1513 \begin_layout Standard
1514 Note that you must not write 
1515 \series bold
1516 title=
1517 \series default
1518  because this is already done in the definition.
1519 \end_layout
1520
1521 \begin_layout Standard
1522 You can still customize the box by adding options 
1523 \emph on
1524 behind
1525 \emph default
1526  the title:
1527 \end_layout
1528
1529 \begin_layout Standard
1530 \begin_inset Flex Custom Color Box 2
1531 status open
1532
1533 \begin_layout Plain Layout
1534 \begin_inset Argument 1
1535 status open
1536
1537 \begin_layout Plain Layout
1538 Bold numbered title, colback=lime, fonttitle=
1539 \backslash
1540 bfseries
1541 \end_layout
1542
1543 \end_inset
1544
1545 Custom color box 2
1546 \end_layout
1547
1548 \end_inset
1549
1550
1551 \end_layout
1552
1553 \begin_layout Standard
1554 \begin_inset VSpace bigskip
1555 \end_inset
1556
1557 At last a more advanced example:
1558 \begin_inset Newline newline
1559 \end_inset
1560
1561 Assuming you need the type we just defined as 
1562 \family sans
1563 Custom
1564 \begin_inset space ~
1565 \end_inset
1566
1567 Color
1568 \begin_inset space ~
1569 \end_inset
1570
1571 Box
1572 \begin_inset space ~
1573 \end_inset
1574
1575 2
1576 \family default
1577  but want to add more than one option.
1578  This is for example useful for options that require another option before
1579  in the options list.
1580 \begin_inset Newline newline
1581 \end_inset
1582
1583 Like before, add 
1584 \end_layout
1585
1586 \begin_layout Standard
1587
1588 \series bold
1589 auto counter, number within=section
1590 \end_layout
1591
1592 \begin_layout Standard
1593 into the 
1594 \family sans
1595 New
1596 \series bold
1597  
1598 \series default
1599 Box Options
1600 \family default
1601  inset of the 
1602 \family sans
1603 New
1604 \begin_inset space ~
1605 \end_inset
1606
1607 Color
1608 \begin_inset space ~
1609 \end_inset
1610
1611 Box
1612 \begin_inset space ~
1613 \end_inset
1614
1615 Type
1616 \family default
1617  environment.
1618  The 
1619 \family sans
1620 Name
1621 \family default
1622  is 
1623 \series bold
1624 cBoxC
1625 \series default
1626 .
1627  Now we need 2
1628 \begin_inset space ~
1629 \end_inset
1630
1631 Arguments, 
1632 \family sans
1633 Arguments
1634 \family default
1635  is therefore 
1636 \series bold
1637 2
1638 \series default
1639 .
1640  Now write
1641 \end_layout
1642
1643 \begin_layout Standard
1644
1645 \series bold
1646 nobeforeafter, width=#1, square, colframe=orange!50!black, 
1647 \begin_inset Newline newline
1648 \end_inset
1649
1650 title=Example~
1651 \backslash
1652 thetcbcounter : #2
1653 \end_layout
1654
1655 \begin_layout Standard
1656 into the environment.
1657  In your 
1658 \family sans
1659 Custom
1660 \begin_inset space ~
1661 \end_inset
1662
1663 Color
1664 \begin_inset space ~
1665 \end_inset
1666
1667 Box
1668 \begin_inset space ~
1669 \end_inset
1670
1671 3
1672 \family default
1673  you specify the width via the 
1674 \family sans
1675 Color Box Options
1676 \family default
1677  inset and the title (and further options if you like) via the 
1678 \family sans
1679 More Color Box Options
1680 \family default
1681  inset:
1682 \end_layout
1683
1684 \begin_layout New Color Box Type
1685 \begin_inset Argument 1
1686 status open
1687
1688 \begin_layout Plain Layout
1689
1690 auto counter, number within=section
1691 \end_layout
1692
1693 \end_inset
1694
1695
1696 \begin_inset Argument 2
1697 status open
1698
1699 \begin_layout Plain Layout
1700
1701 cBoxC
1702 \end_layout
1703
1704 \end_inset
1705
1706
1707 \begin_inset Argument 3
1708 status open
1709
1710 \begin_layout Plain Layout
1711
1712 2
1713 \end_layout
1714
1715 \end_inset
1716
1717
1718 \begin_inset Argument 4
1719 status open
1720
1721 \begin_layout Plain Layout
1722
1723 \end_layout
1724
1725 \end_inset
1726
1727 nobeforeafter, width=#1, square, colframe=orange!50!black, title=Example~
1728 \backslash
1729 thetcbcounter : #2
1730 \end_layout
1731
1732 \begin_layout Standard
1733 \begin_inset Flex Custom Color Box 3
1734 status open
1735
1736 \begin_layout Plain Layout
1737 \begin_inset Argument 1
1738 status open
1739
1740 \begin_layout Plain Layout
1741 4cm
1742 \end_layout
1743
1744 \end_inset
1745
1746
1747 \begin_inset Argument 2
1748 status open
1749
1750 \begin_layout Plain Layout
1751 The title
1752 \end_layout
1753
1754 \end_inset
1755
1756 4
1757 \begin_inset space \thinspace{}
1758 \end_inset
1759
1760 cm wide custom color box 3
1761 \end_layout
1762
1763 \end_inset
1764
1765
1766 \begin_inset Flex Custom Color Box 3
1767 status open
1768
1769 \begin_layout Plain Layout
1770 \begin_inset Argument 1
1771 status open
1772
1773 \begin_layout Plain Layout
1774 4cm
1775 \end_layout
1776
1777 \end_inset
1778
1779
1780 \begin_inset Argument 2
1781 status open
1782
1783 \begin_layout Plain Layout
1784 The title, beamer
1785 \end_layout
1786
1787 \end_inset
1788
1789 4
1790 \begin_inset space \thinspace{}
1791 \end_inset
1792
1793 cm wide custom color box 3 with the 
1794 \emph on
1795 beamer
1796 \emph default
1797  skin
1798 \end_layout
1799
1800 \end_inset
1801
1802
1803 \end_layout
1804
1805 \begin_layout Subsection
1806 References
1807 \end_layout
1808
1809 \begin_layout Standard
1810 You cannot use \SpecialChar LyX
1811 's label/reference mechanisms for fancy colored boxes.
1812  Numbered boxes can be referenced by adding
1813 \end_layout
1814
1815 \begin_layout Standard
1816
1817 \series bold
1818 , label={name}
1819 \end_layout
1820
1821 \begin_layout Standard
1822 to the the 
1823 \family sans
1824 Color Box Options
1825 \family default
1826  inset, whereby 
1827 \series bold
1828 name
1829 \series default
1830  is the label name used to reference the box.
1831 \end_layout
1832
1833 \begin_layout Standard
1834 \begin_inset Flex Custom Color Box 2
1835 status open
1836
1837 \begin_layout Plain Layout
1838 \begin_inset Argument 1
1839 status open
1840
1841 \begin_layout Plain Layout
1842 Mass–energy equivalence, label={Einstein}
1843 \end_layout
1844
1845 \end_inset
1846
1847
1848 \begin_inset Formula 
1849 \[
1850 E=mc^{2}.
1851 \]
1852
1853 \end_inset
1854
1855
1856 \end_layout
1857
1858 \end_inset
1859
1860
1861 \end_layout
1862
1863 \begin_layout Standard
1864 To reference the box, insert the command
1865 \end_layout
1866
1867 \begin_layout Standard
1868
1869 \series bold
1870
1871 \backslash
1872 ref{name}
1873 \end_layout
1874
1875 \begin_layout Standard
1876 as \SpecialChar TeX
1877  code to the text where the reference should appear.
1878 \end_layout
1879
1880 \begin_layout Standard
1881 This is the reference to Example
1882 \begin_inset space \space{}
1883 \end_inset
1884
1885
1886 \begin_inset ERT
1887 status open
1888
1889 \begin_layout Plain Layout
1890
1891
1892 \backslash
1893 ref{Einstein}
1894 \end_layout
1895
1896 \end_inset
1897
1898 .
1899 \end_layout
1900
1901 \begin_layout Subsection
1902 Skins
1903 \end_layout
1904
1905 \begin_layout Standard
1906 The \SpecialChar LaTeX
1907  package 
1908 \series bold
1909 tcolorbox
1910 \series default
1911  provides different skins.
1912  For a full list, see the 
1913 \series bold
1914 tcolorbox
1915 \series default
1916  manual, section 
1917 \family sans
1918 Library
1919 \begin_inset space ~
1920 \end_inset
1921
1922 skins
1923 \family default
1924
1925 \begin_inset CommandInset citation
1926 LatexCommand cite
1927 key "tcolorbox"
1928 literal "true"
1929
1930 \end_inset
1931
1932 .
1933  Only the most important skins are listed in the following.
1934 \end_layout
1935
1936 \begin_layout Standard
1937 \begin_inset Newpage newpage
1938 \end_inset
1939
1940
1941 \end_layout
1942
1943 \begin_layout Subsubsection
1944 Enhanced
1945 \begin_inset CommandInset label
1946 LatexCommand label
1947 name "subsec:Enhanced"
1948
1949 \end_inset
1950
1951
1952 \end_layout
1953
1954 \begin_layout Standard
1955 This skin is enabled by adding the option enhanced.
1956  Without further options it looks like the standard skin.
1957  Its advantage are some extra features like the customization of lines,
1958  see 
1959 \begin_inset CommandInset ref
1960 LatexCommand ref
1961 reference "subsec:Lines"
1962
1963 \end_inset
1964
1965  or the ability to have shadows, see 
1966 \begin_inset CommandInset ref
1967 LatexCommand ref
1968 reference "subsec:Shadows"
1969
1970 \end_inset
1971
1972 .
1973  Another feature is a nicer style of breakable boxes:
1974 \end_layout
1975
1976 \begin_layout Standard
1977 \begin_inset Flex Color Box
1978 status open
1979
1980 \begin_layout Plain Layout
1981 \begin_inset Argument 1
1982 status open
1983
1984 \begin_layout Plain Layout
1985 title=An 
1986 \emph on
1987 enhanced
1988 \emph default
1989  breakable box, breakable, enhanced
1990 \end_layout
1991
1992 \end_inset
1993
1994 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1995  eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1996  voluptua.
1997  At vero eos et accusam et justo duo dolores et ea rebum.
1998  Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1999  sit amet.
2000  Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
2001  eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
2002  voluptua.
2003  At vero eos et accusam et justo duo dolores et ea rebum.
2004  Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
2005  sit amet.
2006  Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
2007  eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
2008  voluptua.
2009  At vero eos et accusam et justo duo dolores et ea rebum.
2010  Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
2011  sit amet.
2012  Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
2013  eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
2014  voluptua.
2015  At vero eos et accusam et justo duo dolores et ea rebum.
2016  Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
2017  sit amet.
2018  Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
2019  eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
2020  voluptua.
2021  At vero eos et accusam et justo duo dolores et ea rebum.
2022  Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
2023  sit amet.
2024  Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
2025  eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
2026  voluptua.
2027  At vero eos et accusam et justo duo dolores et ea rebum.
2028  Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
2029  sit amet.
2030  Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
2031  eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
2032  voluptua.
2033  At vero eos et accusam et justo duo dolores et ea rebum.
2034  Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
2035  sit amet.
2036  Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
2037  eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
2038  voluptua.
2039  At vero eos et accusam et justo duo dolores et ea rebum.
2040  Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
2041  sit amet.
2042  Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
2043  eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
2044  voluptua.
2045  At vero eos et accusam et justo duo dolores et ea rebum.
2046  Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
2047  sit amet.
2048  Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
2049  eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
2050  voluptua.
2051  At vero eos et accusam et justo duo dolores et ea rebum.
2052  Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
2053  sit amet.
2054 \end_layout
2055
2056 \end_inset
2057
2058
2059 \end_layout
2060
2061 \begin_layout Standard
2062 Another feature you might like is to add color gradients with the options
2063  
2064 \series bold
2065 frame style
2066 \series default
2067  and 
2068 \series bold
2069 interior style
2070 \series default
2071 .
2072  Their syntax is
2073 \begin_inset Newline newline
2074 \end_inset
2075
2076
2077 \series bold
2078 frame style={left color=color, right color=color}
2079 \begin_inset Newline newline
2080 \end_inset
2081
2082
2083 \series default
2084 where 
2085 \series bold
2086 color
2087 \series default
2088  is a color name or definition, see 
2089 \begin_inset CommandInset ref
2090 LatexCommand ref
2091 reference "subsec:Color"
2092
2093 \end_inset
2094
2095 .
2096 \end_layout
2097
2098 \begin_layout Standard
2099 \begin_inset Flex Color Box
2100 status open
2101
2102 \begin_layout Plain Layout
2103 \begin_inset Argument 1
2104 status open
2105
2106 \begin_layout Plain Layout
2107 title=An 
2108 \emph on
2109 enhanced
2110 \emph default
2111  box with a color gradient, enhanced, frame style={left color=red!75!black,
2112  right color=blue!75!black}, interior style={left color=red!20!white, right
2113  color=yellow!50!white}
2114 \end_layout
2115
2116 \end_inset
2117
2118 Upper content
2119 \end_layout
2120
2121 \begin_layout Color Box Separator
2122
2123 \end_layout
2124
2125 \begin_layout Plain Layout
2126 Lower content
2127 \end_layout
2128
2129 \end_inset
2130
2131
2132 \end_layout
2133
2134 \begin_layout Standard
2135 Alternatively one can use a PNG image as background for boxes with the option
2136  
2137 \series bold
2138 frame style image=file name
2139 \series default
2140  where 
2141 \series bold
2142 file
2143 \begin_inset space ~
2144 \end_inset
2145
2146 name
2147 \series default
2148  is the file name of the image.
2149 \end_layout
2150
2151 \begin_layout Subsubsection
2152 Bicolor
2153 \end_layout
2154
2155 \begin_layout Standard
2156 With this skin the lower content gets another background color than the
2157  upper part.
2158 \end_layout
2159
2160 \begin_layout Standard
2161 \begin_inset Flex Color Box
2162 status open
2163
2164 \begin_layout Plain Layout
2165 \begin_inset Argument 1
2166 status open
2167
2168 \begin_layout Plain Layout
2169 title=A box with the skin 
2170 \emph on
2171 bicolor
2172 \emph default
2173 , bicolor
2174 \end_layout
2175
2176 \end_inset
2177
2178 Upper content
2179 \end_layout
2180
2181 \begin_layout Color Box Separator
2182
2183 \end_layout
2184
2185 \begin_layout Plain Layout
2186 Lower content
2187 \end_layout
2188
2189 \end_inset
2190
2191
2192 \end_layout
2193
2194 \begin_layout Standard
2195 The color of the lower part can be changed with the option 
2196 \series bold
2197 colbacklower
2198 \series default
2199 .
2200  See 
2201 \begin_inset CommandInset ref
2202 LatexCommand ref
2203 reference "subsec:Color"
2204
2205 \end_inset
2206
2207  for color customization.
2208 \end_layout
2209
2210 \begin_layout Subsubsection
2211 Beamer
2212 \begin_inset CommandInset label
2213 LatexCommand label
2214 name "subsec:Beamer"
2215
2216 \end_inset
2217
2218
2219 \end_layout
2220
2221 \begin_layout Standard
2222 This is a skin that simulates the appearance of the beamer presentation
2223  document class.
2224  Its appearance can be changed like for the enhanced skin, 
2225 \begin_inset CommandInset ref
2226 LatexCommand ref
2227 reference "subsec:Enhanced"
2228
2229 \end_inset
2230
2231 :
2232 \end_layout
2233
2234 \begin_layout Standard
2235 \begin_inset Flex Color Box
2236 status open
2237
2238 \begin_layout Plain Layout
2239 \begin_inset Argument 1
2240 status open
2241
2242 \begin_layout Plain Layout
2243 title=A 
2244 \emph on
2245 beamer
2246 \emph default
2247  box with a color gradient, beamer, frame style={left color=red!75!black,
2248  right color=blue!75!black}
2249 \end_layout
2250
2251 \end_inset
2252
2253 Upper content
2254 \end_layout
2255
2256 \begin_layout Color Box Separator
2257
2258 \end_layout
2259
2260 \begin_layout Plain Layout
2261 Lower content
2262 \end_layout
2263
2264 \end_inset
2265
2266
2267 \end_layout
2268
2269 \begin_layout Subsubsection
2270 Widget
2271 \end_layout
2272
2273 \begin_layout Standard
2274 This skin is like the standard skin but the background colors are automatically
2275  shaded:
2276 \end_layout
2277
2278 \begin_layout Standard
2279 \begin_inset Flex Color Box
2280 status open
2281
2282 \begin_layout Plain Layout
2283 \begin_inset Argument 1
2284 status open
2285
2286 \begin_layout Plain Layout
2287 title=A 
2288 \emph on
2289 widget
2290 \emph default
2291  box, widget
2292 \end_layout
2293
2294 \end_inset
2295
2296 Upper content
2297 \end_layout
2298
2299 \begin_layout Color Box Separator
2300
2301 \end_layout
2302
2303 \begin_layout Plain Layout
2304 Lower content
2305 \end_layout
2306
2307 \end_inset
2308
2309
2310 \end_layout
2311
2312 \begin_layout Subsubsection
2313 Empty
2314 \end_layout
2315
2316 \begin_layout Standard
2317 This skin has no colors.
2318  To make the title visible (because it is by default white) you have to
2319  change its color, see 
2320 \begin_inset CommandInset ref
2321 LatexCommand ref
2322 reference "subsec:Title-text"
2323
2324 \end_inset
2325
2326 :
2327 \end_layout
2328
2329 \begin_layout Standard
2330 \begin_inset Flex Color Box
2331 status open
2332
2333 \begin_layout Plain Layout
2334 \begin_inset Argument 1
2335 status open
2336
2337 \begin_layout Plain Layout
2338 title=A box with the 
2339 \emph on
2340 empty
2341 \emph default
2342  skin, empty, coltitle=orange
2343 \end_layout
2344
2345 \end_inset
2346
2347 Upper content
2348 \end_layout
2349
2350 \begin_layout Color Box Separator
2351
2352 \end_layout
2353
2354 \begin_layout Plain Layout
2355 Lower content
2356 \end_layout
2357
2358 \end_inset
2359
2360
2361 \end_layout
2362
2363 \begin_layout Subsection
2364 Placement
2365 \end_layout
2366
2367 \begin_layout Subsubsection
2368 Side by side
2369 \end_layout
2370
2371 \begin_layout Standard
2372 Normally the boxes are a paragraph of its own.
2373  They will therefore appear by default one upon another separated by vertical
2374  space.
2375  To change this behavior, to place for example boxes side by side, use the
2376  placement options 
2377 \series bold
2378 before=code
2379 \series default
2380  and 
2381 \series bold
2382 after=code
2383 \series default
2384 .
2385  By default there is a paragraph break before and after the box.
2386  By using the options 
2387 \series bold
2388 before=, after=
2389 \series default
2390  nothing will be added besides the boxes so that they can be places side
2391  by side:
2392 \end_layout
2393
2394 \begin_layout Standard
2395 \begin_inset Flex Color Box
2396 status open
2397
2398 \begin_layout Plain Layout
2399 \begin_inset Argument 1
2400 status open
2401
2402 \begin_layout Plain Layout
2403 width=3cm, square, valign=center, before=, after=
2404 \end_layout
2405
2406 \end_inset
2407
2408 A 3
2409 \begin_inset space \thinspace{}
2410 \end_inset
2411
2412 cm wide, square box.
2413 \end_layout
2414
2415 \end_inset
2416
2417
2418 \begin_inset Flex Color Box
2419 status open
2420
2421 \begin_layout Plain Layout
2422 \begin_inset Argument 1
2423 status open
2424
2425 \begin_layout Plain Layout
2426 width=3cm, square, valign=center, before=, after=
2427 \end_layout
2428
2429 \end_inset
2430
2431 A 3
2432 \begin_inset space \thinspace{}
2433 \end_inset
2434
2435 cm wide, square box.
2436 \end_layout
2437
2438 \end_inset
2439
2440
2441 \begin_inset Flex Color Box
2442 status open
2443
2444 \begin_layout Plain Layout
2445 \begin_inset Argument 1
2446 status open
2447
2448 \begin_layout Plain Layout
2449 width=3cm, square, valign=center, before=, after=
2450 \end_layout
2451
2452 \end_inset
2453
2454 A 3
2455 \begin_inset space \thinspace{}
2456 \end_inset
2457
2458 cm wide, square box.
2459 \end_layout
2460
2461 \end_inset
2462
2463
2464 \end_layout
2465
2466 \begin_layout Standard
2467 The option 
2468 \series bold
2469 nobeforeafter
2470 \series default
2471  is an alternative for 
2472 \series bold
2473 before=, after=
2474 \series default
2475 .
2476 \end_layout
2477
2478 \begin_layout Standard
2479 To separate the boxes one can use the normal \SpecialChar LyX
2480  spacing features like a horizontal
2481  fill:
2482 \end_layout
2483
2484 \begin_layout Standard
2485 \begin_inset space \hfill{}
2486 \end_inset
2487
2488
2489 \begin_inset Flex Color Box
2490 status open
2491
2492 \begin_layout Plain Layout
2493 \begin_inset Argument 1
2494 status open
2495
2496 \begin_layout Plain Layout
2497 width=3cm, square, valign=center, nobeforeafter
2498 \end_layout
2499
2500 \end_inset
2501
2502 A 3
2503 \begin_inset space \thinspace{}
2504 \end_inset
2505
2506 cm wide, square box.
2507 \end_layout
2508
2509 \end_inset
2510
2511
2512 \begin_inset space \hfill{}
2513 \end_inset
2514
2515
2516 \begin_inset Flex Color Box
2517 status open
2518
2519 \begin_layout Plain Layout
2520 \begin_inset Argument 1
2521 status open
2522
2523 \begin_layout Plain Layout
2524 width=3cm, square, valign=center, nobeforeafter
2525 \end_layout
2526
2527 \end_inset
2528
2529 A 3
2530 \begin_inset space \thinspace{}
2531 \end_inset
2532
2533 cm wide, square box.
2534 \end_layout
2535
2536 \end_inset
2537
2538
2539 \begin_inset space \hfill{}
2540 \end_inset
2541
2542
2543 \begin_inset Flex Color Box
2544 status open
2545
2546 \begin_layout Plain Layout
2547 \begin_inset Argument 1
2548 status open
2549
2550 \begin_layout Plain Layout
2551 width=3cm, square, valign=center, nobeforeafter
2552 \end_layout
2553
2554 \end_inset
2555
2556 A 3
2557 \begin_inset space \thinspace{}
2558 \end_inset
2559
2560 cm wide, square box.
2561 \end_layout
2562
2563 \end_inset
2564
2565
2566 \begin_inset space \hfill{}
2567 \end_inset
2568
2569
2570 \end_layout
2571
2572 \begin_layout Standard
2573 If you prefer \SpecialChar TeX
2574  code you can alternatively use the option 
2575 \series bold
2576 after=
2577 \backslash
2578 hfill
2579 \series default
2580  to add a a horizontal fill.
2581 \end_layout
2582
2583 \begin_layout Subsubsection
2584 Floating
2585 \end_layout
2586
2587 \begin_layout Standard
2588 Like for tables and figures in a document it is very helpful if boxes could
2589  float in the text to be placed at the optimal position.
2590  This is achieved by the option 
2591 \series bold
2592 float=options
2593 \series default
2594  where 
2595 \series bold
2596 options
2597 \series default
2598  are the optional \SpecialChar TeX
2599  floating placement options 
2600 \begin_inset Quotes eld
2601 \end_inset
2602
2603
2604 \family sans
2605 h
2606 \family default
2607
2608 \begin_inset Quotes erd
2609 \end_inset
2610
2611
2612 \begin_inset Quotes eld
2613 \end_inset
2614
2615
2616 \family sans
2617 t
2618 \family default
2619
2620 \begin_inset Quotes erd
2621 \end_inset
2622
2623
2624 \begin_inset Quotes eld
2625 \end_inset
2626
2627
2628 \family sans
2629 b
2630 \family default
2631
2632 \begin_inset Quotes erd
2633 \end_inset
2634
2635  and 
2636 \begin_inset Quotes eld
2637 \end_inset
2638
2639
2640 \family sans
2641 p
2642 \family default
2643
2644 \begin_inset Quotes erd
2645 \end_inset
2646
2647 .
2648  They correspond to the float placement options described in section 
2649 \family sans
2650 Float
2651 \begin_inset space ~
2652 \end_inset
2653
2654 Placement
2655 \family default
2656  of the 
2657 \emph on
2658 Embedded
2659 \begin_inset space ~
2660 \end_inset
2661
2662 Objects
2663 \emph default
2664  manual.
2665  The placement options can be mixed and are inserted without any separation,
2666  e.
2667 \begin_inset space \thinspace{}
2668 \end_inset
2669
2670 g.
2671 \begin_inset space \space{}
2672 \end_inset
2673
2674
2675 \begin_inset Quotes eld
2676 \end_inset
2677
2678
2679 \family sans
2680 htbp
2681 \family default
2682
2683 \begin_inset Quotes erd
2684 \end_inset
2685
2686 .
2687 \end_layout
2688
2689 \begin_layout Standard
2690 \begin_inset Flex Color Box
2691 status open
2692
2693 \begin_layout Plain Layout
2694 \begin_inset Argument 1
2695 status open
2696
2697 \begin_layout Plain Layout
2698 title=A floating box, float, width=5cm, valign=center
2699 \end_layout
2700
2701 \end_inset
2702
2703 A 5
2704 \begin_inset space \thinspace{}
2705 \end_inset
2706
2707 cm wide floating box.
2708 \end_layout
2709
2710 \end_inset
2711
2712
2713 \end_layout
2714
2715 \begin_layout Standard
2716 For floating boxes the options 
2717 \series bold
2718 before=code
2719 \series default
2720  and 
2721 \series bold
2722 after=code 
2723 \series default
2724 are ignored.
2725  One can instead insert code with the command 
2726 \series bold
2727 every float=code
2728 \series default
2729  before the box.
2730  If the box is breakable the code is inserted before every part of the break
2731  sequence.
2732  A typical application is to center the floating box with 
2733 \series bold
2734 every float=
2735 \backslash
2736 centering:
2737 \end_layout
2738
2739 \begin_layout Standard
2740 \begin_inset Flex Color Box
2741 status open
2742
2743 \begin_layout Plain Layout
2744 \begin_inset Argument 1
2745 status open
2746
2747 \begin_layout Plain Layout
2748 title=A floating box, float, width=5cm, valign=center, every float=
2749 \backslash
2750 centering
2751 \end_layout
2752
2753 \end_inset
2754
2755 A 5
2756 \begin_inset space \thinspace{}
2757 \end_inset
2758
2759 cm wide floating box.
2760 \end_layout
2761
2762 \end_inset
2763
2764
2765 \end_layout
2766
2767 \begin_layout Subsubsection
2768 Vertical
2769 \begin_inset CommandInset label
2770 LatexCommand label
2771 name "subsec:Vertical"
2772
2773 \end_inset
2774
2775
2776 \end_layout
2777
2778 \begin_layout Standard
2779 The vertical placement of a box in respect to the surrounding text line
2780  can only be set for dynamic boxes.
2781  The option 
2782 \series bold
2783 tcbox raise=length
2784 \series default
2785  raises or lowers the box.
2786  
2787 \series bold
2788 length
2789 \series default
2790  is a value.
2791  The allowed units for values are listed in Appendix
2792 \begin_inset space ~
2793 \end_inset
2794
2795 A of the 
2796 \emph on
2797 Embedded
2798 \begin_inset space ~
2799 \end_inset
2800
2801 Objects
2802 \emph default
2803  manual.
2804  The default width is 
2805 \series bold
2806 tcbox raise=0pt
2807 \series default
2808 .
2809  With the option 
2810 \series bold
2811 tcbox raise base
2812 \series default
2813  the box is lowered so that the base of the box content matches the base
2814  of the surrounding line.
2815 \end_layout
2816
2817 \begin_layout Standard
2818 An example:
2819 \end_layout
2820
2821 \begin_layout Standard
2822 A line......
2823 \begin_inset Flex Dynamic Color Box
2824 status open
2825
2826 \begin_layout Plain Layout
2827 \begin_inset Argument 1
2828 status open
2829
2830 \begin_layout Plain Layout
2831 tcbox raise base, nobeforeafter
2832 \end_layout
2833
2834 \end_inset
2835
2836 Lowered to base
2837 \end_layout
2838
2839 \end_inset
2840
2841 ......
2842 \begin_inset Flex Dynamic Color Box
2843 status open
2844
2845 \begin_layout Plain Layout
2846 \begin_inset Argument 1
2847 status open
2848
2849 \begin_layout Plain Layout
2850 nobeforeafter
2851 \end_layout
2852
2853 \end_inset
2854
2855 Default placement
2856 \end_layout
2857
2858 \end_inset
2859
2860 ......
2861 \begin_inset Flex Dynamic Color Box
2862 status open
2863
2864 \begin_layout Plain Layout
2865 \begin_inset Argument 1
2866 status open
2867
2868 \begin_layout Plain Layout
2869 tcbox raise=1cm, nobeforeafter
2870 \end_layout
2871
2872 \end_inset
2873
2874 Raised 1
2875 \begin_inset space \thinspace{}
2876 \end_inset
2877
2878 cm
2879 \end_layout
2880
2881 \end_inset
2882
2883 ...
2884 \end_layout
2885
2886 \begin_layout Subsubsection
2887 Raster
2888 \end_layout
2889
2890 \begin_layout Standard
2891 The easiest way to place boxes in a table-like raster is to put them into
2892  a raster box.
2893  The 
2894 \family sans
2895 Raster
2896 \begin_inset space ~
2897 \end_inset
2898
2899 Color
2900 \begin_inset space ~
2901 \end_inset
2902
2903 Box
2904 \family default
2905  inset is inserted via the menu 
2906 \family sans
2907 Insert\SpecialChar menuseparator
2908 Custom Insets
2909 \family default
2910 .
2911 \end_layout
2912
2913 \begin_layout Standard
2914 The number of columns is specified with the option 
2915 \series bold
2916 raster columns=number
2917 \series default
2918  where 
2919 \series bold
2920 number
2921 \series default
2922  is the number of columns.
2923  All boxes inserted to the raster box will now automatically be output in
2924  a raster with 3 columns and their width is automatically adjusted.
2925 \end_layout
2926
2927 \begin_layout Standard
2928 \begin_inset Flex Raster Color Box
2929 status open
2930
2931 \begin_layout Plain Layout
2932 \begin_inset Argument 1
2933 status open
2934
2935 \begin_layout Plain Layout
2936 raster columns=3
2937 \end_layout
2938
2939 \end_inset
2940
2941
2942 \end_layout
2943
2944 \begin_layout Plain Layout
2945 \begin_inset Flex Color Box
2946 status open
2947
2948 \begin_layout Plain Layout
2949 \begin_inset Argument 1
2950 status open
2951
2952 \begin_layout Plain Layout
2953 title=A box
2954 \end_layout
2955
2956 \end_inset
2957
2958 A simple box.
2959 \end_layout
2960
2961 \end_inset
2962
2963
2964 \begin_inset Flex Color Box
2965 status open
2966
2967 \begin_layout Plain Layout
2968 \begin_inset Argument 1
2969 status open
2970
2971 \begin_layout Plain Layout
2972 title=A box
2973 \end_layout
2974
2975 \end_inset
2976
2977 A simple box.
2978 \end_layout
2979
2980 \end_inset
2981
2982
2983 \begin_inset Flex Color Box
2984 status open
2985
2986 \begin_layout Plain Layout
2987 \begin_inset Argument 1
2988 status open
2989
2990 \begin_layout Plain Layout
2991 title=A box
2992 \end_layout
2993
2994 \end_inset
2995
2996 A simple box.
2997 \end_layout
2998
2999 \end_inset
3000
3001
3002 \begin_inset Flex Color Box
3003 status open
3004
3005 \begin_layout Plain Layout
3006 \begin_inset Argument 1
3007 status open
3008
3009 \begin_layout Plain Layout
3010 title=A box
3011 \end_layout
3012
3013 \end_inset
3014
3015 A simple box.
3016 \end_layout
3017
3018 \end_inset
3019
3020
3021 \begin_inset Flex Color Box
3022 status open
3023
3024 \begin_layout Plain Layout
3025 \begin_inset Argument 1
3026 status open
3027
3028 \begin_layout Plain Layout
3029 title=A box
3030 \end_layout
3031
3032 \end_inset
3033
3034 A simple box.
3035 \end_layout
3036
3037 \end_inset
3038
3039
3040 \end_layout
3041
3042 \end_inset
3043
3044
3045 \end_layout
3046
3047 \begin_layout Standard
3048 For more info about options of the raster color box, please consult the
3049  
3050 \series bold
3051 tcolorbox
3052 \series default
3053  manual, section 
3054 \family sans
3055 Library
3056 \begin_inset space ~
3057 \end_inset
3058
3059 raster
3060 \family default
3061
3062 \begin_inset CommandInset citation
3063 LatexCommand cite
3064 key "tcolorbox"
3065 literal "true"
3066
3067 \end_inset
3068
3069 .
3070 \end_layout
3071
3072 \begin_layout Subsection
3073 Geometry
3074 \begin_inset CommandInset label
3075 LatexCommand label
3076 name "subsec:Geometry"
3077
3078 \end_inset
3079
3080
3081 \end_layout
3082
3083 \begin_layout Subsubsection
3084 Width
3085 \end_layout
3086
3087 \begin_layout Subsubsection*
3088 Complete box
3089 \end_layout
3090
3091 \begin_layout Standard
3092 The width of the box is changed with the option 
3093 \series bold
3094 width=length
3095 \series default
3096  where 
3097 \series bold
3098 length
3099 \series default
3100  is a value.
3101  The allowed units for values are listed in Appendix
3102 \begin_inset space ~
3103 \end_inset
3104
3105 A of the 
3106 \emph on
3107 Embedded
3108 \begin_inset space ~
3109 \end_inset
3110
3111 Objects
3112 \emph default
3113  manual.
3114  The default width is 
3115 \series bold
3116 width=1
3117 \backslash
3118 linewidth
3119 \series default
3120 .
3121 \end_layout
3122
3123 \begin_layout Standard
3124 \begin_inset Flex Color Box
3125 status open
3126
3127 \begin_layout Plain Layout
3128 \begin_inset Argument 1
3129 status open
3130
3131 \begin_layout Plain Layout
3132 width=6cm
3133 \end_layout
3134
3135 \end_inset
3136
3137 A 6
3138 \begin_inset space \thinspace{}
3139 \end_inset
3140
3141 cm wide box.
3142 \end_layout
3143
3144 \end_inset
3145
3146
3147 \end_layout
3148
3149 \begin_layout Standard
3150 One can also set a width only for the text of the box with the option 
3151 \series bold
3152 text width=length
3153 \series default
3154 .
3155  If the width is shorter than required for the text, new lines will be created
3156  automatically.
3157 \end_layout
3158
3159 \begin_layout Standard
3160 \begin_inset Flex Color Box
3161 status open
3162
3163 \begin_layout Plain Layout
3164 \begin_inset Argument 1
3165 status open
3166
3167 \begin_layout Plain Layout
3168 text width=4cm
3169 \end_layout
3170
3171 \end_inset
3172
3173 Some longer text to fill the box with a width of 4
3174 \begin_inset space \thinspace{}
3175 \end_inset
3176
3177 cm.
3178 \end_layout
3179
3180 \end_inset
3181
3182
3183 \end_layout
3184
3185 \begin_layout Standard
3186 One cannot combine 
3187 \series bold
3188 width
3189 \series default
3190  and 
3191 \series bold
3192 text width
3193 \series default
3194 ; only the last given width option is taken into account.
3195 \end_layout
3196
3197 \begin_layout Standard
3198 To extend the width of the box one must use the 
3199 \series bold
3200 width
3201 \series default
3202  option and can then use the option 
3203 \series bold
3204 add to width=length
3205 \series default
3206 .
3207 \end_layout
3208
3209 \begin_layout Standard
3210 \begin_inset Flex Color Box
3211 status open
3212
3213 \begin_layout Plain Layout
3214 \begin_inset Argument 1
3215 status open
3216
3217 \begin_layout Plain Layout
3218 width=10cm, add to width=2cm
3219 \end_layout
3220
3221 \end_inset
3222
3223 A 10
3224 \begin_inset space \thinspace{}
3225 \end_inset
3226
3227 cm wide box with additional width of 2
3228 \begin_inset space \thinspace{}
3229 \end_inset
3230
3231 cm.
3232 \end_layout
3233
3234 \end_inset
3235
3236
3237 \end_layout
3238
3239 \begin_layout Subsubsection*
3240 Content
3241 \end_layout
3242
3243 \begin_layout Standard
3244 For boxes with parts side by side one can control the width of the box parts
3245  with the options 
3246 \series bold
3247 sidebyside gap
3248 \series default
3249
3250 \series bold
3251 lefthand width
3252 \series default
3253
3254 \series bold
3255 righthand width
3256 \series default
3257
3258 \series bold
3259 lefthand ratio
3260 \series default
3261  and 
3262 \series bold
3263 righthand ratio
3264 \series default
3265 .
3266  The syntax is 
3267 \series bold
3268 sidebyside gap=length
3269 \series default
3270  where 
3271 \series bold
3272 length
3273 \series default
3274  is a value.
3275  The allowed units for the values are listed in Appendix
3276 \begin_inset space ~
3277 \end_inset
3278
3279 A of the 
3280 \emph on
3281 Embedded
3282 \begin_inset space ~
3283 \end_inset
3284
3285 Objects
3286 \emph default
3287  manual.
3288  All options require of course the option 
3289 \series bold
3290 sidebyside
3291 \series default
3292 .
3293 \end_layout
3294
3295 \begin_layout Standard
3296
3297 \series bold
3298 sidebyside gap
3299 \series default
3300  sets the space between the left and the right part:
3301 \end_layout
3302
3303 \begin_layout Standard
3304 \begin_inset Flex Color Box
3305 status open
3306
3307 \begin_layout Plain Layout
3308 \begin_inset Argument 1
3309 status open
3310
3311 \begin_layout Plain Layout
3312 sidebyside, sidebyside gap=2cm
3313 \end_layout
3314
3315 \end_inset
3316
3317 Upper content divided by 2
3318 \begin_inset space \thinspace{}
3319 \end_inset
3320
3321 cm
3322 \end_layout
3323
3324 \begin_layout Color Box Separator
3325
3326 \end_layout
3327
3328 \begin_layout Plain Layout
3329 Lower content
3330 \end_layout
3331
3332 \end_inset
3333
3334
3335 \end_layout
3336
3337 \begin_layout Standard
3338
3339 \series bold
3340 lefthand width
3341 \series default
3342  and 
3343 \series bold
3344 righthand width
3345 \series default
3346  set the absolute width of the left and right part, respectively:
3347 \end_layout
3348
3349 \begin_layout Standard
3350 \begin_inset Flex Color Box
3351 status open
3352
3353 \begin_layout Plain Layout
3354 \begin_inset Argument 1
3355 status open
3356
3357 \begin_layout Plain Layout
3358 sidebyside, lefthand width=3cm
3359 \end_layout
3360
3361 \end_inset
3362
3363 Upper content with a width of 3
3364 \begin_inset space \thinspace{}
3365 \end_inset
3366
3367 cm
3368 \end_layout
3369
3370 \begin_layout Color Box Separator
3371
3372 \end_layout
3373
3374 \begin_layout Plain Layout
3375 Lower content
3376 \end_layout
3377
3378 \end_inset
3379
3380
3381 \end_layout
3382
3383 \begin_layout Standard
3384
3385 \series bold
3386 lefthand ratio
3387 \series default
3388  and 
3389 \series bold
3390 righthand ratio
3391 \series default
3392  set the relative width of the left and right part, respectively:
3393 \end_layout
3394
3395 \begin_layout Standard
3396 \begin_inset Flex Color Box
3397 status open
3398
3399 \begin_layout Plain Layout
3400 \begin_inset Argument 1
3401 status open
3402
3403 \begin_layout Plain Layout
3404 sidebyside, lefthand ratio=0.3
3405 \end_layout
3406
3407 \end_inset
3408
3409 Upper content with a width of 30
3410 \begin_inset space \thinspace{}
3411 \end_inset
3412
3413 % of the box width.
3414 \end_layout
3415
3416 \begin_layout Color Box Separator
3417
3418 \end_layout
3419
3420 \begin_layout Plain Layout
3421 Lower content
3422 \end_layout
3423
3424 \end_inset
3425
3426
3427 \end_layout
3428
3429 \begin_layout Subsubsection
3430 Height
3431 \begin_inset CommandInset label
3432 LatexCommand label
3433 name "subsec:Height"
3434
3435 \end_inset
3436
3437
3438 \end_layout
3439
3440 \begin_layout Subsubsection*
3441 Complete box
3442 \end_layout
3443
3444 \begin_layout Standard
3445 The height of the box is changed with the option 
3446 \series bold
3447 height=length
3448 \series default
3449  where 
3450 \series bold
3451 length
3452 \series default
3453  is a value.
3454  The default height is the height consumed by the box content.
3455 \end_layout
3456
3457 \begin_layout Standard
3458 \begin_inset Flex Color Box
3459 status open
3460
3461 \begin_layout Plain Layout
3462 \begin_inset Argument 1
3463 status open
3464
3465 \begin_layout Plain Layout
3466 height=2cm
3467 \end_layout
3468
3469 \end_inset
3470
3471 A 2
3472 \begin_inset space \thinspace{}
3473 \end_inset
3474
3475 cm high box.
3476 \end_layout
3477
3478 \end_inset
3479
3480
3481 \end_layout
3482
3483 \begin_layout Standard
3484 If the specified height is smaller than the one consumed by the content,
3485  the content will be placed below the box:
3486 \end_layout
3487
3488 \begin_layout Standard
3489 \begin_inset Flex Color Box
3490 status open
3491
3492 \begin_layout Plain Layout
3493 \begin_inset Argument 1
3494 status open
3495
3496 \begin_layout Plain Layout
3497 height=2mm
3498 \end_layout
3499
3500 \end_inset
3501
3502 A 2
3503 \begin_inset space \thinspace{}
3504 \end_inset
3505
3506 mm high box.
3507 \end_layout
3508
3509 \end_inset
3510
3511
3512 \end_layout
3513
3514 \begin_layout Standard
3515 \begin_inset VSpace bigskip
3516 \end_inset
3517
3518 With the option 
3519 \series bold
3520 square
3521 \series default
3522  the height will automatically be set to the same value than the box width.
3523 \end_layout
3524
3525 \begin_layout Standard
3526 \begin_inset Flex Color Box
3527 status open
3528
3529 \begin_layout Plain Layout
3530 \begin_inset Argument 1
3531 status open
3532
3533 \begin_layout Plain Layout
3534 width=3cm, square
3535 \end_layout
3536
3537 \end_inset
3538
3539 A squared box.
3540 \end_layout
3541
3542 \end_inset
3543
3544
3545 \end_layout
3546
3547 \begin_layout Standard
3548 \begin_inset VSpace bigskip
3549 \end_inset
3550
3551 To extend the height of the box in case the content might consume more height
3552  than expected one must use the 
3553 \series bold
3554 height
3555 \series default
3556  option and can then uses the option 
3557 \series bold
3558 height plus=length
3559 \series default
3560 .
3561  An application would be to set a maximal possible height in case you write
3562  a book where the spacing is defined and should not be overwritten by any
3563  value.
3564 \end_layout
3565
3566 \begin_layout Standard
3567 \begin_inset Flex Color Box
3568 status open
3569
3570 \begin_layout Plain Layout
3571 \begin_inset Argument 1
3572 status open
3573
3574 \begin_layout Plain Layout
3575 height=2cm, height plus=2cm
3576 \end_layout
3577
3578 \end_inset
3579
3580 A 2
3581 \begin_inset space \thinspace{}
3582 \end_inset
3583
3584 cm high box with additional height of 2
3585 \begin_inset space \thinspace{}
3586 \end_inset
3587
3588 cm.
3589 \end_layout
3590
3591 \end_inset
3592
3593
3594 \end_layout
3595
3596 \begin_layout Standard
3597 \begin_inset Flex Color Box
3598 status open
3599
3600 \begin_layout Plain Layout
3601 \begin_inset Argument 1
3602 status open
3603
3604 \begin_layout Plain Layout
3605 height=2cm, height plus=2cm
3606 \end_layout
3607
3608 \end_inset
3609
3610 A 2
3611 \begin_inset space \thinspace{}
3612 \end_inset
3613
3614 cm high box with additional height of 2
3615 \begin_inset space \thinspace{}
3616 \end_inset
3617
3618 cm.
3619  Its content consumes 3
3620 \begin_inset space \thinspace{}
3621 \end_inset
3622
3623 cm therefore the box height will also be 3
3624 \begin_inset space \thinspace{}
3625 \end_inset
3626
3627 cm.
3628  A 2
3629 \begin_inset space \thinspace{}
3630 \end_inset
3631
3632 cm high box with additional height of 2
3633 \begin_inset space \thinspace{}
3634 \end_inset
3635
3636 cm.
3637  Its content consumes 3
3638 \begin_inset space \thinspace{}
3639 \end_inset
3640
3641 cm therefore the box height will also be 3
3642 \begin_inset space \thinspace{}
3643 \end_inset
3644
3645 cm.
3646  A 2
3647 \begin_inset space \thinspace{}
3648 \end_inset
3649
3650 cm high box with additional height of 2
3651 \begin_inset space \thinspace{}
3652 \end_inset
3653
3654 cm.
3655  Its content consumes 3
3656 \begin_inset space \thinspace{}
3657 \end_inset
3658
3659 cm therefore the box height will also be 3
3660 \begin_inset space \thinspace{}
3661 \end_inset
3662
3663 cm.
3664 \end_layout
3665
3666 \end_inset
3667
3668
3669 \end_layout
3670
3671 \begin_layout Standard
3672 \begin_inset VSpace bigskip
3673 \end_inset
3674
3675 In some cases it might be useful to specify an allowed range for the height
3676  with the option 
3677 \series bold
3678 height from=min to max
3679 \series default
3680  where 
3681 \series bold
3682 min
3683 \series default
3684  and 
3685 \series bold
3686 max
3687 \series default
3688  are values.
3689  The height will then be at least the given minimal value or the height
3690  consumed by the content.
3691  It does not exceed the maximum, independent of the content:
3692 \end_layout
3693
3694 \begin_layout Standard
3695 \begin_inset Flex Color Box
3696 status open
3697
3698 \begin_layout Plain Layout
3699 \begin_inset Argument 1
3700 status open
3701
3702 \begin_layout Plain Layout
3703 height from=1cm to 3cm
3704 \end_layout
3705
3706 \end_inset
3707
3708 A box with minimal height of 1
3709 \begin_inset space \thinspace{}
3710 \end_inset
3711
3712 cm and maximal height of 3
3713 \begin_inset space \thinspace{}
3714 \end_inset
3715
3716 cm.
3717 \end_layout
3718
3719 \end_inset
3720
3721
3722 \end_layout
3723
3724 \begin_layout Standard
3725 \begin_inset Flex Color Box
3726 status open
3727
3728 \begin_layout Plain Layout
3729 \begin_inset Argument 1
3730 status open
3731
3732 \begin_layout Plain Layout
3733 height from=1cm to 3cm
3734 \end_layout
3735
3736 \end_inset
3737
3738 A box with minimal height of 1
3739 \begin_inset space \thinspace{}
3740 \end_inset
3741
3742 cm and maximal height of 3
3743 \begin_inset space \thinspace{}
3744 \end_inset
3745
3746 cm.
3747  The content consumes more space than 3
3748 \begin_inset space \thinspace{}
3749 \end_inset
3750
3751 cm.
3752  A box with minimal height of 1
3753 \begin_inset space \thinspace{}
3754 \end_inset
3755
3756 cm and maximal height of 3
3757 \begin_inset space \thinspace{}
3758 \end_inset
3759
3760 cm.
3761  The content consumes more space than 3
3762 \begin_inset space \thinspace{}
3763 \end_inset
3764
3765 cm.
3766  A box with minimal height of 1
3767 \begin_inset space \thinspace{}
3768 \end_inset
3769
3770 cm and maximal height of 3
3771 \begin_inset space \thinspace{}
3772 \end_inset
3773
3774 cm.
3775  The content consumes more space than 3
3776 \begin_inset space \thinspace{}
3777 \end_inset
3778
3779 cm.
3780  A box with minimal height of 1
3781 \begin_inset space \thinspace{}
3782 \end_inset
3783
3784 cm and maximal height of 3
3785 \begin_inset space \thinspace{}
3786 \end_inset
3787
3788 cm.
3789  The content consumes more space than 3
3790 \begin_inset space \thinspace{}
3791 \end_inset
3792
3793 cm.
3794 \end_layout
3795
3796 \end_inset
3797
3798
3799 \end_layout
3800
3801 \begin_layout Standard
3802 \begin_inset VSpace bigskip
3803 \end_inset
3804
3805 With the option 
3806 \series bold
3807 add to height=length
3808 \series default
3809  one can add defined height to the box.
3810  To use this the 
3811 \series bold
3812 height
3813 \series default
3814  option must be added 
3815 \emph on
3816 before
3817 \emph default
3818  it.
3819 \end_layout
3820
3821 \begin_layout Standard
3822 \begin_inset Flex Color Box
3823 status open
3824
3825 \begin_layout Plain Layout
3826 \begin_inset Argument 1
3827 status open
3828
3829 \begin_layout Plain Layout
3830 height=1cm, add to height=1cm
3831 \end_layout
3832
3833 \end_inset
3834
3835 A 1
3836 \begin_inset space \thinspace{}
3837 \end_inset
3838
3839 cm high box with 1
3840 \begin_inset space \thinspace{}
3841 \end_inset
3842
3843 cm additional height.
3844 \end_layout
3845
3846 \end_inset
3847
3848
3849 \end_layout
3850
3851 \begin_layout Standard
3852 \begin_inset VSpace bigskip
3853 \end_inset
3854
3855 With the option 
3856 \series bold
3857 height fill=value
3858 \series default
3859  one can force the box to consume the rest of the available height of the
3860  document parts where it is in.
3861  
3862 \series bold
3863 value
3864 \series default
3865  can either be 
3866 \series bold
3867 true
3868 \series default
3869  or 
3870 \series bold
3871 maximum
3872 \series default
3873 .
3874  The latter works like 
3875 \series bold
3876 true
3877 \series default
3878  but compresses the content of the page before the box as much as possible
3879  to maximize the box.
3880 \begin_inset Newline newline
3881 \end_inset
3882
3883 In this example the box is in the main text and therefore consumes the rest
3884  of the current page:
3885 \end_layout
3886
3887 \begin_layout Standard
3888 \begin_inset Flex Color Box
3889 status open
3890
3891 \begin_layout Plain Layout
3892 \begin_inset Argument 1
3893 status open
3894
3895 \begin_layout Plain Layout
3896 height fill=true
3897 \end_layout
3898
3899 \end_inset
3900
3901 A box that fills the remaining height of the current page.
3902 \end_layout
3903
3904 \end_inset
3905
3906
3907 \end_layout
3908
3909 \begin_layout Subsubsection*
3910 Content
3911 \end_layout
3912
3913 \begin_layout Standard
3914 One can set a height only for the text of the box with the option
3915 \begin_inset Newline newline
3916 \end_inset
3917
3918
3919 \series bold
3920 text height=length
3921 \series default
3922 .
3923 \end_layout
3924
3925 \begin_layout Standard
3926 \begin_inset Flex Color Box
3927 status open
3928
3929 \begin_layout Plain Layout
3930 \begin_inset Argument 1
3931 status open
3932
3933 \begin_layout Plain Layout
3934 text height=1.5cm
3935 \end_layout
3936
3937 \end_inset
3938
3939 A box with 1.5
3940 \begin_inset space \thinspace{}
3941 \end_inset
3942
3943 cm high content.
3944  Due to the frame separation and the frame width the box height is larger
3945  than 1.5
3946 \begin_inset space \thinspace{}
3947 \end_inset
3948
3949 cm.
3950 \end_layout
3951
3952 \end_inset
3953
3954
3955 \end_layout
3956
3957 \begin_layout Standard
3958 One cannot combine 
3959 \series bold
3960 height
3961 \series default
3962  and 
3963 \series bold
3964 text height
3965 \series default
3966 ; only the last given width option is taken into account.
3967 \end_layout
3968
3969 \begin_layout Standard
3970 \begin_inset VSpace bigskip
3971 \end_inset
3972
3973 With the options 
3974 \series bold
3975 space=fraction
3976 \series default
3977
3978 \series bold
3979 space to upper
3980 \series default
3981
3982 \series bold
3983 space to lower
3984 \series default
3985
3986 \series bold
3987 space to both
3988 \series default
3989  and 
3990 \series bold
3991 split=fraction
3992 \series default
3993  one can specify how the height should be divided between the upper and
3994  the lower part.
3995  For the 
3996 \series bold
3997 space
3998 \series default
3999  option 
4000 \series bold
4001 fraction
4002 \series default
4003  is the fraction of the additional height (the specified height minus the
4004  height consumed by the content).
4005 \begin_inset Newline newline
4006 \end_inset
4007
4008 For example 
4009 \series bold
4010 space=0.75
4011 \series default
4012  adds 75
4013 \begin_inset space \thinspace{}
4014 \end_inset
4015
4016 % of the additional space to the upper part:
4017 \end_layout
4018
4019 \begin_layout Standard
4020 \begin_inset Flex Color Box
4021 status open
4022
4023 \begin_layout Plain Layout
4024 \begin_inset Argument 1
4025 status open
4026
4027 \begin_layout Plain Layout
4028 height=3cm, space=0.75
4029 \end_layout
4030
4031 \end_inset
4032
4033 A 3
4034 \begin_inset space \thinspace{}
4035 \end_inset
4036
4037 cm high box where 75 % of the additional height is set to the upper content.
4038 \end_layout
4039
4040 \begin_layout Color Box Separator
4041
4042 \end_layout
4043
4044 \begin_layout Plain Layout
4045 Lower content
4046 \end_layout
4047
4048 \end_inset
4049
4050
4051 \end_layout
4052
4053 \begin_layout Standard
4054
4055 \series bold
4056 space to upper
4057 \series default
4058  is equal to 
4059 \series bold
4060 space=1
4061 \series default
4062
4063 \series bold
4064 space to lower
4065 \series default
4066  is equal to 
4067 \series bold
4068 space=0
4069 \series default
4070
4071 \series bold
4072 space to both
4073 \series default
4074  is equal to 
4075 \series bold
4076 space=0
4077 \series default
4078 .5.
4079 \end_layout
4080
4081 \begin_layout Standard
4082 \begin_inset Flex Color Box
4083 status open
4084
4085 \begin_layout Plain Layout
4086 \begin_inset Argument 1
4087 status open
4088
4089 \begin_layout Plain Layout
4090 height=3cm, space to upper
4091 \end_layout
4092
4093 \end_inset
4094
4095 A 3
4096 \begin_inset space \thinspace{}
4097 \end_inset
4098
4099 cm high box where all additional height is set to the upper content.
4100 \end_layout
4101
4102 \begin_layout Color Box Separator
4103
4104 \end_layout
4105
4106 \begin_layout Plain Layout
4107 Lower content
4108 \end_layout
4109
4110 \end_inset
4111
4112
4113 \end_layout
4114
4115 \begin_layout Standard
4116 For the 
4117 \series bold
4118 split
4119 \series default
4120  option 
4121 \series bold
4122 fraction
4123 \series default
4124  is the fraction of the complete height (not the additional height).
4125  Therefore one must be careful if e.
4126 \begin_inset space \thinspace{}
4127 \end_inset
4128
4129 g.
4130 \begin_inset space \space{}
4131 \end_inset
4132
4133 the upper part consumes more height than one set via 
4134 \series bold
4135 split
4136 \series default
4137 :
4138 \end_layout
4139
4140 \begin_layout Standard
4141 \begin_inset Flex Color Box
4142 status open
4143
4144 \begin_layout Plain Layout
4145 \begin_inset Argument 1
4146 status open
4147
4148 \begin_layout Plain Layout
4149 height=3cm, split=0.1
4150 \end_layout
4151
4152 \end_inset
4153
4154 A 3
4155 \begin_inset space \thinspace{}
4156 \end_inset
4157
4158 cm high box where the height is split by 10
4159 \begin_inset space \thinspace{}
4160 \end_inset
4161
4162 %.
4163  A 3
4164 \begin_inset space \thinspace{}
4165 \end_inset
4166
4167 cm high box where the height is split by 10
4168 \begin_inset space \thinspace{}
4169 \end_inset
4170
4171 %.
4172 \end_layout
4173
4174 \begin_layout Color Box Separator
4175
4176 \end_layout
4177
4178 \begin_layout Plain Layout
4179 Lower content
4180 \end_layout
4181
4182 \end_inset
4183
4184
4185 \end_layout
4186
4187 \begin_layout Standard
4188 \begin_inset VSpace bigskip
4189 \end_inset
4190
4191 With the option 
4192 \series bold
4193 equal height group=id
4194 \series default
4195  it is possible to set the same height for all boxes in a group.
4196  
4197 \series bold
4198 id
4199 \series default
4200  is a name to reference the group.
4201  This is for example useful if one has 3
4202 \begin_inset space ~
4203 \end_inset
4204
4205 boxes side by side inside a box:
4206 \end_layout
4207
4208 \begin_layout Standard
4209 \begin_inset Flex Color Box
4210 status open
4211
4212 \begin_layout Plain Layout
4213 \begin_inset Flex Color Box
4214 status open
4215
4216 \begin_layout Plain Layout
4217 \begin_inset Argument 1
4218 status open
4219
4220 \begin_layout Plain Layout
4221 adjusted title=ace, width=0.3
4222 \backslash
4223 columnwidth, nobeforeafter, equal height group=A
4224 \end_layout
4225
4226 \end_inset
4227
4228 A box.
4229 \end_layout
4230
4231 \end_inset
4232
4233
4234 \begin_inset space \hfill{}
4235 \end_inset
4236
4237
4238 \begin_inset Flex Color Box
4239 status open
4240
4241 \begin_layout Plain Layout
4242 \begin_inset Argument 1
4243 status open
4244
4245 \begin_layout Plain Layout
4246 adjusted title=Grapefruit, width=0.3
4247 \backslash
4248 columnwidth, space to upper, nobeforeafter, equal height group=A
4249 \end_layout
4250
4251 \end_inset
4252
4253 A box with parts.
4254 \end_layout
4255
4256 \begin_layout Color Box Separator
4257
4258 \end_layout
4259
4260 \begin_layout Plain Layout
4261 Lower content
4262 \end_layout
4263
4264 \end_inset
4265
4266
4267 \begin_inset space \hfill{}
4268 \end_inset
4269
4270
4271 \begin_inset Flex Color Box
4272 status open
4273
4274 \begin_layout Plain Layout
4275 \begin_inset Argument 1
4276 status open
4277
4278 \begin_layout Plain Layout
4279 adjusted title=, width=0.3
4280 \backslash
4281 columnwidth, nobeforeafter, equal height group=A
4282 \end_layout
4283
4284 \end_inset
4285
4286 A box with longer text.
4287  A box with longer text.
4288  A box with longer text.
4289  A box with longer text.
4290  A box with longer text.
4291 \end_layout
4292
4293 \end_inset
4294
4295
4296 \end_layout
4297
4298 \end_inset
4299
4300
4301 \end_layout
4302
4303 \begin_layout Standard
4304 The above example was typeset by adding the option 
4305 \series bold
4306 equal height group=A
4307 \series default
4308  to all 3
4309 \begin_inset space ~
4310 \end_inset
4311
4312 boxes.
4313  
4314 \series bold
4315 A
4316 \series default
4317  is hereby the name of the group.
4318 \end_layout
4319
4320 \begin_layout Standard
4321 If you have a title that needs only a single line, it is recommended to
4322  use the option 
4323 \series bold
4324 adjusted title
4325 \series default
4326  instead of 
4327 \series bold
4328 title
4329 \series default
4330  for all boxes to assure that the title height will be the same for all
4331  boxes.
4332  Otherwise the height would be different in the above example because 
4333 \begin_inset Quotes eld
4334 \end_inset
4335
4336 Grapefruit
4337 \begin_inset Quotes erd
4338 \end_inset
4339
4340  needs more height than 
4341 \begin_inset Quotes eld
4342 \end_inset
4343
4344 ace
4345 \begin_inset Quotes erd
4346 \end_inset
4347
4348 .
4349 \end_layout
4350
4351 \begin_layout Subsubsection
4352 Frame
4353 \end_layout
4354
4355 \begin_layout Standard
4356 The width of the box frame can be changed with the options 
4357 \series bold
4358 toprule
4359 \series default
4360
4361 \series bold
4362 bottomrule
4363 \series default
4364
4365 \series bold
4366 leftrule
4367 \series default
4368
4369 \series bold
4370 rightrule
4371 \series default
4372  and 
4373 \series bold
4374 titlerule
4375 \series default
4376 .
4377  Each option changes the corresponding part of the frame.
4378  The syntax is 
4379 \series bold
4380 toprule=length
4381 \series default
4382  where 
4383 \series bold
4384 length
4385 \series default
4386  is a value.
4387  The allowed units for the values are listed in Appendix
4388 \begin_inset space ~
4389 \end_inset
4390
4391 A of the 
4392 \emph on
4393 Embedded
4394 \begin_inset space ~
4395 \end_inset
4396
4397 Objects
4398 \emph default
4399  manual.
4400  The default length for all parts is 0.5
4401 \begin_inset space \thinspace{}
4402 \end_inset
4403
4404 mm.
4405  To set all frame parts to the same value use the option 
4406 \series bold
4407 boxrule
4408 \series default
4409 .
4410 \end_layout
4411
4412 \begin_layout Standard
4413 \begin_inset Flex Color Box
4414 status open
4415
4416 \begin_layout Plain Layout
4417 \begin_inset Argument 1
4418 status open
4419
4420 \begin_layout Plain Layout
4421 leftrule=3mm, rightrule=4mm, toprule=2mm, bottomrule=1mm
4422 \end_layout
4423
4424 \end_inset
4425
4426 3
4427 \begin_inset space \thinspace{}
4428 \end_inset
4429
4430 mm wide left rule, 4
4431 \begin_inset space \thinspace{}
4432 \end_inset
4433
4434 mm wide right rule, 2
4435 \begin_inset space \thinspace{}
4436 \end_inset
4437
4438 mm top rule and 1
4439 \begin_inset space \thinspace{}
4440 \end_inset
4441
4442 mm bottom rule.
4443 \end_layout
4444
4445 \end_inset
4446
4447
4448 \end_layout
4449
4450 \begin_layout Standard
4451 \begin_inset Flex Color Box
4452 status open
4453
4454 \begin_layout Plain Layout
4455 \begin_inset Argument 1
4456 status open
4457
4458 \begin_layout Plain Layout
4459 boxrule=6mm
4460 \end_layout
4461
4462 \end_inset
4463
4464 A box with a 6
4465 \begin_inset space \thinspace{}
4466 \end_inset
4467
4468 mm wide frame line.
4469 \end_layout
4470
4471 \end_inset
4472
4473
4474 \end_layout
4475
4476 \begin_layout Standard
4477 The title rule is the separation between the title and the box content.
4478 \end_layout
4479
4480 \begin_layout Standard
4481 \begin_inset Flex Color Box
4482 status open
4483
4484 \begin_layout Plain Layout
4485 \begin_inset Argument 1
4486 status open
4487
4488 \begin_layout Plain Layout
4489 title=A title, titlerule=8mm, colbacktitle=blue
4490 \end_layout
4491
4492 \end_inset
4493
4494 A box with a 8
4495 \begin_inset space \thinspace{}
4496 \end_inset
4497
4498 mm wide title rule.
4499 \end_layout
4500
4501 \end_inset
4502
4503
4504 \end_layout
4505
4506 \begin_layout Subsubsection
4507 Shape
4508 \end_layout
4509
4510 \begin_layout Standard
4511 By default boxes are rectangular with rounded edges.
4512  The radius of the edges can be changed with the option 
4513 \series bold
4514 arc=length
4515 \series default
4516  where 
4517 \series bold
4518 length
4519 \series default
4520  is a value.
4521  The allowed units for the values are listed in Appendix
4522 \begin_inset space ~
4523 \end_inset
4524
4525 A of the 
4526 \emph on
4527 Embedded
4528 \begin_inset space ~
4529 \end_inset
4530
4531 Objects
4532 \emph default
4533  manual.
4534  The default is 
4535 \series bold
4536 arc=1mm
4537 \series default
4538 .
4539 \end_layout
4540
4541 \begin_layout Standard
4542 \begin_inset Flex Color Box
4543 status open
4544
4545 \begin_layout Plain Layout
4546 \begin_inset Argument 1
4547 status open
4548
4549 \begin_layout Plain Layout
4550 arc=0mm
4551 \end_layout
4552
4553 \end_inset
4554
4555 A rectangular box (
4556 \series bold
4557 arc=0
4558 \begin_inset space \thinspace{}
4559 \end_inset
4560
4561 mm
4562 \series default
4563 ).
4564 \end_layout
4565
4566 \end_inset
4567
4568
4569 \end_layout
4570
4571 \begin_layout Standard
4572 With the option 
4573 \series bold
4574 outer arc=length
4575 \series default
4576  one can set the outer radius independently:
4577 \end_layout
4578
4579 \begin_layout Standard
4580 \begin_inset Flex Color Box
4581 status open
4582
4583 \begin_layout Plain Layout
4584 \begin_inset Argument 1
4585 status open
4586
4587 \begin_layout Plain Layout
4588 arc=5mm, outer arc=0mm
4589 \end_layout
4590
4591 \end_inset
4592
4593 A box with 
4594 \series bold
4595 arc=5
4596 \begin_inset space \thinspace{}
4597 \end_inset
4598
4599 mm,
4600 \series default
4601  
4602 \series bold
4603 outer arc=0
4604 \begin_inset space \thinspace{}
4605 \end_inset
4606
4607 mm
4608 \series default
4609 .
4610 \end_layout
4611
4612 \end_inset
4613
4614
4615 \end_layout
4616
4617 \begin_layout Standard
4618 \begin_inset Flex Color Box
4619 status open
4620
4621 \begin_layout Plain Layout
4622 \begin_inset Argument 1
4623 status open
4624
4625 \begin_layout Plain Layout
4626 arc=0mm, outer arc=0mm
4627 \end_layout
4628
4629 \end_inset
4630
4631 A really rectangular box (
4632 \series bold
4633 arc
4634 \series default
4635  
4636 \emph on
4637 and
4638 \emph default
4639  
4640 \series bold
4641 outer arc=0
4642 \begin_inset space \thinspace{}
4643 \end_inset
4644
4645 mm
4646 \series default
4647 ).
4648  The same can alternatively be achieved with the option 
4649 \series bold
4650 sharp corners=all
4651 \series default
4652 , see below.
4653 \end_layout
4654
4655 \end_inset
4656
4657
4658 \end_layout
4659
4660 \begin_layout Standard
4661 \begin_inset VSpace bigskip
4662 \end_inset
4663
4664 The general shape can be changed with the options 
4665 \series bold
4666 circular arc
4667 \series default
4668
4669 \series bold
4670 bean arc
4671 \series default
4672  and 
4673 \series bold
4674 octogon arc
4675 \series default
4676 .
4677 \end_layout
4678
4679 \begin_layout Standard
4680 The option 
4681 \series bold
4682 circular arc
4683 \series default
4684  sets the edge radius to half of the box width.
4685  It is therefore required to specify at least the width.
4686 \end_layout
4687
4688 \begin_layout Standard
4689 \begin_inset Flex Color Box
4690 status open
4691
4692 \begin_layout Plain Layout
4693 \begin_inset Argument 1
4694 status open
4695
4696 \begin_layout Plain Layout
4697 width=3.5cm, circular arc
4698 \end_layout
4699
4700 \end_inset
4701
4702 A 3.5
4703 \begin_inset space \thinspace{}
4704 \end_inset
4705
4706 cm wide circular arc box.
4707 \end_layout
4708
4709 \end_inset
4710
4711
4712 \end_layout
4713
4714 \begin_layout Standard
4715 As you can see circular arc box looks ugly when the box is wider than high.
4716  It is therefore recommended to add the option 
4717 \series bold
4718 square
4719 \series default
4720 , see 
4721 \begin_inset CommandInset ref
4722 LatexCommand ref
4723 reference "subsec:Height"
4724
4725 \end_inset
4726
4727 , to get the same width and height.
4728  The result is a perfect circle.
4729  To center the text in the box use the text alignment options described
4730  in 
4731 \begin_inset CommandInset ref
4732 LatexCommand ref
4733 reference "subsec:Alignment"
4734
4735 \end_inset
4736
4737 .
4738 \end_layout
4739
4740 \begin_layout Standard
4741 \begin_inset Flex Color Box
4742 status open
4743
4744 \begin_layout Plain Layout
4745 \begin_inset Argument 1
4746 status open
4747
4748 \begin_layout Plain Layout
4749 width=4cm, square, valign=center, circular arc
4750 \end_layout
4751
4752 \end_inset
4753
4754 A 4
4755 \begin_inset space \thinspace{}
4756 \end_inset
4757
4758 cm wide circular arc box.
4759 \end_layout
4760
4761 \end_inset
4762
4763
4764 \end_layout
4765
4766 \begin_layout Standard
4767 The option 
4768 \series bold
4769 bean arc
4770 \series default
4771  sets the edge radius to half of the minimum of the box width and height.
4772  The result is a semicircle.
4773  
4774 \series bold
4775 bean arc
4776 \series default
4777  requires the options 
4778 \series bold
4779 width
4780 \series default
4781  and 
4782 \series bold
4783 height
4784 \series default
4785  or 
4786 \series bold
4787 square
4788 \series default
4789 .
4790 \end_layout
4791
4792 \begin_layout Standard
4793 \begin_inset Flex Color Box
4794 status open
4795
4796 \begin_layout Plain Layout
4797 \begin_inset Argument 1
4798 status open
4799
4800 \begin_layout Plain Layout
4801 width=3.5cm, height=5cm, bean arc, nobeforeafter, valign=center
4802 \end_layout
4803
4804 \end_inset
4805
4806 A 3.5
4807 \begin_inset space \thinspace{}
4808 \end_inset
4809
4810 cm wide, 5
4811 \begin_inset space \thinspace{}
4812 \end_inset
4813
4814 cm high box with 
4815 \series bold
4816 bean arc
4817 \series default
4818 .
4819 \end_layout
4820
4821 \end_inset
4822
4823
4824 \begin_inset Flex Color Box
4825 status open
4826
4827 \begin_layout Plain Layout
4828 \begin_inset Argument 1
4829 status open
4830
4831 \begin_layout Plain Layout
4832 width=5cm, height=3.5cm, bean arc, nobeforeafter, valign=center
4833 \end_layout
4834
4835 \end_inset
4836
4837 A 5
4838 \begin_inset space \thinspace{}
4839 \end_inset
4840
4841 cm wide, 3.5
4842 \begin_inset space \thinspace{}
4843 \end_inset
4844
4845 cm high box with 
4846 \series bold
4847 bean arc
4848 \series default
4849 .
4850 \end_layout
4851
4852 \end_inset
4853
4854
4855 \end_layout
4856
4857 \begin_layout Standard
4858 Using bean arc for a square box leads to the same result as 
4859 \series bold
4860 circular arc
4861 \series default
4862 :
4863 \end_layout
4864
4865 \begin_layout Standard
4866 \begin_inset Flex Color Box
4867 status open
4868
4869 \begin_layout Plain Layout
4870 \begin_inset Argument 1
4871 status open
4872
4873 \begin_layout Plain Layout
4874 width=4cm, square, bean arc, valign=center
4875 \end_layout
4876
4877 \end_inset
4878
4879 A 4
4880 \begin_inset space \thinspace{}
4881 \end_inset
4882
4883 cm wide, square box as bean arc.
4884 \end_layout
4885
4886 \end_inset
4887
4888
4889 \end_layout
4890
4891 \begin_layout Standard
4892 The option 
4893 \series bold
4894 octogon arc
4895 \series default
4896  is useful to get an octagon.
4897  For an octagon one needs a square box and the option 
4898 \series bold
4899 arc is angular
4900 \series default
4901 .
4902 \end_layout
4903
4904 \begin_layout Standard
4905 \begin_inset Flex Color Box
4906 status open
4907
4908 \begin_layout Plain Layout
4909 \begin_inset Argument 1
4910 status open
4911
4912 \begin_layout Plain Layout
4913 width=4cm, square, octogon arc, valign=center, arc is angular
4914 \end_layout
4915
4916 \end_inset
4917
4918 A 4
4919 \begin_inset space \thinspace{}
4920 \end_inset
4921
4922 cm wide, square box with 
4923 \series bold
4924 octogon arc
4925 \series default
4926 .
4927 \end_layout
4928
4929 \end_inset
4930
4931
4932 \end_layout
4933
4934 \begin_layout Standard
4935 \begin_inset Note Greyedout
4936 status open
4937
4938 \begin_layout Plain Layout
4939
4940 \series bold
4941 Note:
4942 \series default
4943  The option 
4944 \series bold
4945 arc is angular
4946 \series default
4947  is experimental and might cause problems on some \SpecialChar LaTeX
4948  systems.
4949 \end_layout
4950
4951 \end_inset
4952
4953
4954 \end_layout
4955
4956 \begin_layout Standard
4957 \begin_inset VSpace bigskip
4958 \end_inset
4959
4960 It is also possible to change only some of the box edges.
4961  To make an edge a corner there is the option 
4962 \series bold
4963 sharp corners=position
4964 \series default
4965  where 
4966 \series bold
4967 position
4968 \series default
4969  is the position of the edge.
4970  The positions 
4971 \series bold
4972 northwest
4973 \series default
4974
4975 \series bold
4976 northeast
4977 \series default
4978
4979 \series bold
4980 southwest
4981 \series default
4982  and 
4983 \series bold
4984 southeast
4985 \series default
4986  change only the corresponding edge.
4987 \end_layout
4988
4989 \begin_layout Standard
4990 \begin_inset Flex Color Box
4991 status open
4992
4993 \begin_layout Plain Layout
4994 \begin_inset Argument 1
4995 status open
4996
4997 \begin_layout Plain Layout
4998 sharp corners=northeast
4999 \end_layout
5000
5001 \end_inset
5002
5003 A box with a corner at the upper right (
5004 \series bold
5005 northeast
5006 \series default
5007 ).
5008 \end_layout
5009
5010 \end_inset
5011
5012
5013 \end_layout
5014
5015 \begin_layout Standard
5016 The positions 
5017 \series bold
5018 north
5019 \series default
5020
5021 \series bold
5022 south
5023 \series default
5024
5025 \series bold
5026 east
5027 \series default
5028
5029 \series bold
5030 west
5031 \series default
5032
5033 \series bold
5034 downhill
5035 \series default
5036  and 
5037 \series bold
5038 uphill
5039 \series default
5040  change 2
5041 \begin_inset space ~
5042 \end_inset
5043
5044 edges.
5045 \end_layout
5046
5047 \begin_layout Standard
5048 \begin_inset Flex Color Box
5049 status open
5050
5051 \begin_layout Plain Layout
5052 \begin_inset Argument 1
5053 status open
5054
5055 \begin_layout Plain Layout
5056 width=0.4
5057 \backslash
5058 columnwidth,sharp corners=east, nobeforeafter
5059 \end_layout
5060
5061 \end_inset
5062
5063 A box with 2
5064 \begin_inset space ~
5065 \end_inset
5066
5067 corners at the right (
5068 \series bold
5069 east
5070 \series default
5071 ).
5072 \end_layout
5073
5074 \end_inset
5075
5076
5077 \begin_inset space \hfill{}
5078 \end_inset
5079
5080
5081 \begin_inset Flex Color Box
5082 status open
5083
5084 \begin_layout Plain Layout
5085 \begin_inset Argument 1
5086 status open
5087
5088 \begin_layout Plain Layout
5089 width=0.4
5090 \backslash
5091 columnwidth,sharp corners=uphill, nobeforeafter
5092 \end_layout
5093
5094 \end_inset
5095
5096 A box with 2
5097 \begin_inset space ~
5098 \end_inset
5099
5100 corners, one at the lower left, one at the upper right (
5101 \series bold
5102 uphill
5103 \series default
5104 ).
5105 \end_layout
5106
5107 \end_inset
5108
5109
5110 \end_layout
5111
5112 \begin_layout Standard
5113 The position 
5114 \series bold
5115 all
5116 \series default
5117  change all edges.
5118 \end_layout
5119
5120 \begin_layout Subsection
5121 Alignment
5122 \begin_inset CommandInset label
5123 LatexCommand label
5124 name "subsec:Alignment"
5125
5126 \end_inset
5127
5128
5129 \end_layout
5130
5131 \begin_layout Subsubsection
5132 Horizontal
5133 \end_layout
5134
5135 \begin_layout Standard
5136 The option
5137 \series bold
5138  halign=alignment
5139 \series default
5140  sets the alignment for the whole box content if there are not box parts,
5141  otherwise the options 
5142 \series bold
5143 halign upper
5144 \series default
5145  and 
5146 \series bold
5147 halign lower
5148 \series default
5149  can be used.
5150  The 
5151 \series bold
5152 alignment
5153 \series default
5154  is one of the following:
5155 \end_layout
5156
5157 \begin_layout Description
5158 right the content is right-aligned
5159 \begin_inset Flex Color Box
5160 status open
5161
5162 \begin_layout Plain Layout
5163 \begin_inset Argument 1
5164 status open
5165
5166 \begin_layout Plain Layout
5167 halign=right
5168 \end_layout
5169
5170 \end_inset
5171
5172 A right-aligned box.
5173 \end_layout
5174
5175 \end_inset
5176
5177
5178 \end_layout
5179
5180 \begin_layout Description
5181 left the content is left-aligned
5182 \begin_inset Flex Color Box
5183 status open
5184
5185 \begin_layout Plain Layout
5186 \begin_inset Argument 1
5187 status open
5188
5189 \begin_layout Plain Layout
5190 halign=left
5191 \end_layout
5192
5193 \end_inset
5194
5195 A left-aligned box.
5196 \end_layout
5197
5198 \end_inset
5199
5200
5201 \end_layout
5202
5203 \begin_layout Description
5204 center the content is centered
5205 \begin_inset Flex Color Box
5206 status open
5207
5208 \begin_layout Plain Layout
5209 \begin_inset Argument 1
5210 status open
5211
5212 \begin_layout Plain Layout
5213 halign=center
5214 \end_layout
5215
5216 \end_inset
5217
5218 A horizontally centered box.
5219 \end_layout
5220
5221 \end_inset
5222
5223
5224 \end_layout
5225
5226 \begin_layout Description
5227 justify the content is justified (is the default value)
5228 \begin_inset Flex Color Box
5229 status open
5230
5231 \begin_layout Plain Layout
5232 \begin_inset Argument 1
5233 status open
5234
5235 \begin_layout Plain Layout
5236 halign=justify
5237 \end_layout
5238
5239 \end_inset
5240
5241 A justified box.
5242 \end_layout
5243
5244 \end_inset
5245
5246
5247 \end_layout
5248
5249 \begin_layout Standard
5250 An example with box parts:
5251 \begin_inset Flex Color Box
5252 status open
5253
5254 \begin_layout Plain Layout
5255 \begin_inset Argument 1
5256 status open
5257
5258 \begin_layout Plain Layout
5259 halign upper=left, halign lower=center
5260 \end_layout
5261
5262 \end_inset
5263
5264 Upper content left-aligned
5265 \end_layout
5266
5267 \begin_layout Color Box Separator
5268
5269 \end_layout
5270
5271 \begin_layout Plain Layout
5272 Lower content centered
5273 \end_layout
5274
5275 \end_inset
5276
5277
5278 \end_layout
5279
5280 \begin_layout Standard
5281 The title alignment can be changed with the option 
5282 \series bold
5283 halign title
5284 \series default
5285 .
5286 \end_layout
5287
5288 \begin_layout Standard
5289 \begin_inset Flex Color Box
5290 status open
5291
5292 \begin_layout Plain Layout
5293 \begin_inset Argument 1
5294 status open
5295
5296 \begin_layout Plain Layout
5297 title=A right-aligned title, halign title=right, halign upper=left, halign
5298  lower=center
5299 \end_layout
5300
5301 \end_inset
5302
5303 Upper content left-aligned
5304 \end_layout
5305
5306 \begin_layout Color Box Separator
5307
5308 \end_layout
5309
5310 \begin_layout Plain Layout
5311 Lower content centered
5312 \end_layout
5313
5314 \end_inset
5315
5316
5317 \end_layout
5318
5319 \begin_layout Subsubsection
5320 Vertical
5321 \end_layout
5322
5323 \begin_layout Standard
5324 The vertical alignment can only be changed if the box height is explicitly
5325  set larger than the height consumed by the box content.
5326  See 
5327 \begin_inset CommandInset ref
5328 LatexCommand ref
5329 reference "subsec:Height"
5330
5331 \end_inset
5332
5333  how this is done.
5334 \end_layout
5335
5336 \begin_layout Standard
5337 The option
5338 \series bold
5339  valign=alignment
5340 \series default
5341  sets the alignment for the whole box content if there are no box parts,
5342  otherwise the options 
5343 \series bold
5344 valign upper
5345 \series default
5346  and 
5347 \series bold
5348 valign lower
5349 \series default
5350  can be used.
5351  The 
5352 \series bold
5353 alignment
5354 \series default
5355  is one of the following:
5356 \end_layout
5357
5358 \begin_layout Description
5359 top the content is top-aligned
5360 \begin_inset Flex Color Box
5361 status open
5362
5363 \begin_layout Plain Layout
5364 \begin_inset Argument 1
5365 status open
5366
5367 \begin_layout Plain Layout
5368 height=2cm, valign=top
5369 \end_layout
5370
5371 \end_inset
5372
5373 A top-aligned box.
5374 \end_layout
5375
5376 \end_inset
5377
5378
5379 \end_layout
5380
5381 \begin_layout Description
5382 bottom the content is bottom-aligned
5383 \begin_inset Flex Color Box
5384 status open
5385
5386 \begin_layout Plain Layout
5387 \begin_inset Argument 1
5388 status open
5389
5390 \begin_layout Plain Layout
5391 height=2cm, valign=bottom
5392 \end_layout
5393
5394 \end_inset
5395
5396 A bottom-aligned box.
5397 \end_layout
5398
5399 \end_inset
5400
5401
5402 \end_layout
5403
5404 \begin_layout Description
5405 center the content is vertically centered
5406 \begin_inset Flex Color Box
5407 status open
5408
5409 \begin_layout Plain Layout
5410 \begin_inset Argument 1
5411 status open
5412
5413 \begin_layout Plain Layout
5414 height=2cm, valign=center
5415 \end_layout
5416
5417 \end_inset
5418
5419 A vertically centered box.
5420 \end_layout
5421
5422 \end_inset
5423
5424
5425 \end_layout
5426
5427 \begin_layout Description
5428 scale the content is vertically scaled to fit the height
5429 \begin_inset Flex Color Box
5430 status open
5431
5432 \begin_layout Plain Layout
5433 \begin_inset Argument 1
5434 status open
5435
5436 \begin_layout Plain Layout
5437 height=2cm, valign=scale
5438 \end_layout
5439
5440 \end_inset
5441
5442 A box with scaled content.
5443 \end_layout
5444
5445 \end_inset
5446
5447
5448 \end_layout
5449
5450 \begin_layout Standard
5451 An example with box parts:
5452 \end_layout
5453
5454 \begin_layout Standard
5455 \begin_inset Flex Color Box
5456 status open
5457
5458 \begin_layout Plain Layout
5459 \begin_inset Argument 1
5460 status open
5461
5462 \begin_layout Plain Layout
5463 height=4cm, space=0.5, valign upper=bottom, valign lower=center
5464 \end_layout
5465
5466 \end_inset
5467
5468 Upper content bottom-aligned
5469 \end_layout
5470
5471 \begin_layout Color Box Separator
5472
5473 \end_layout
5474
5475 \begin_layout Plain Layout
5476 Lower content centered
5477 \end_layout
5478
5479 \end_inset
5480
5481
5482 \end_layout
5483
5484 \begin_layout Subsection
5485 Fonts
5486 \end_layout
5487
5488 \begin_layout Standard
5489 The font changing options have the syntax 
5490 \series bold
5491 option=code
5492 \series default
5493  where 
5494 \series bold
5495 code
5496 \series default
5497  are \SpecialChar LaTeX
5498 's font changing commands.
5499  For example the code
5500 \begin_inset Newline newline
5501 \end_inset
5502
5503
5504 \series bold
5505
5506 \backslash
5507 sffamily
5508 \backslash
5509 bfseries
5510 \backslash
5511 large
5512 \series default
5513
5514 \begin_inset Newline newline
5515 \end_inset
5516
5517 makes the font sans-serif, bold and increases the font size to the level
5518  
5519 \series bold
5520
5521 \backslash
5522 large
5523 \series default
5524 .
5525 \end_layout
5526
5527 \begin_layout Subsubsection
5528 Title 
5529 \end_layout
5530
5531 \begin_layout Standard
5532 The title font can be changed with the option 
5533 \series bold
5534 fonttitle
5535 \series default
5536 .
5537 \end_layout
5538
5539 \begin_layout Standard
5540 \begin_inset Flex Color Box
5541 status open
5542
5543 \begin_layout Plain Layout
5544 \begin_inset Argument 1
5545 status open
5546
5547 \begin_layout Plain Layout
5548 title=A title, fonttitle=
5549 \backslash
5550 sffamily
5551 \backslash
5552 bfseries
5553 \backslash
5554 large
5555 \end_layout
5556
5557 \end_inset
5558
5559 Changed title font
5560 \end_layout
5561
5562 \end_inset
5563
5564
5565 \end_layout
5566
5567 \begin_layout Subsubsection
5568 Text
5569 \end_layout
5570
5571 \begin_layout Standard
5572 The font for the upper and lower part text can be changed with the options
5573  
5574 \series bold
5575 fontupper
5576 \series default
5577  and 
5578 \series bold
5579 fontlower
5580 \series default
5581 , respectively.
5582 \end_layout
5583
5584 \begin_layout Standard
5585 \begin_inset Flex Color Box
5586 status open
5587
5588 \begin_layout Plain Layout
5589 \begin_inset Argument 1
5590 status open
5591
5592 \begin_layout Plain Layout
5593 title=A title, fontupper=
5594 \backslash
5595 ttfamily, fontlower=
5596 \backslash
5597 small
5598 \end_layout
5599
5600 \end_inset
5601
5602 Changed upper text font
5603 \end_layout
5604
5605 \begin_layout Color Box Separator
5606
5607 \end_layout
5608
5609 \begin_layout Plain Layout
5610 Changed lower text font
5611 \end_layout
5612
5613 \end_inset
5614
5615
5616 \end_layout
5617
5618 \begin_layout Subsection
5619 Color
5620 \begin_inset CommandInset label
5621 LatexCommand label
5622 name "subsec:Color"
5623
5624 \end_inset
5625
5626
5627 \end_layout
5628
5629 \begin_layout Standard
5630 The color is specified in one of these schemes:
5631 \end_layout
5632
5633 \begin_layout Enumerate
5634
5635 \series bold
5636 Name
5637 \series default
5638
5639 \begin_inset VSpace 3mm
5640 \end_inset
5641
5642
5643 \begin_inset Newline newline
5644 \end_inset
5645
5646 For example 
5647 \series bold
5648 red
5649 \series default
5650  means
5651 \begin_inset Newline newline
5652 \end_inset
5653
5654 100
5655 \begin_inset space \thinspace{}
5656 \end_inset
5657
5658 % red
5659 \begin_inset Newline newline
5660 \end_inset
5661
5662 An example:
5663 \begin_inset Flex Color Box
5664 status open
5665
5666 \begin_layout Plain Layout
5667 \begin_inset Argument 1
5668 status open
5669
5670 \begin_layout Plain Layout
5671 colback=red
5672 \end_layout
5673
5674 \end_inset
5675
5676 red
5677 \end_layout
5678
5679 \end_inset
5680
5681
5682 \begin_inset VSpace defskip
5683 \end_inset
5684
5685
5686 \end_layout
5687
5688 \begin_layout Enumerate
5689
5690 \series bold
5691 Name!PercentOfName
5692 \series default
5693
5694 \begin_inset VSpace 3mm
5695 \end_inset
5696
5697
5698 \begin_inset Newline newline
5699 \end_inset
5700
5701 For example 
5702 \series bold
5703 geen!30
5704 \series default
5705  means
5706 \begin_inset Newline newline
5707 \end_inset
5708
5709 30
5710 \begin_inset space \thinspace{}
5711 \end_inset
5712
5713 % red
5714 \begin_inset Newline newline
5715 \end_inset
5716
5717 70
5718 \begin_inset space \thinspace{}
5719 \end_inset
5720
5721 % white (or 
5722 \begin_inset Quotes eld
5723 \end_inset
5724
5725 transparency
5726 \begin_inset Quotes erd
5727 \end_inset
5728
5729 )
5730 \begin_inset Newline newline
5731 \end_inset
5732
5733 An example:
5734 \begin_inset Flex Color Box
5735 status open
5736
5737 \begin_layout Plain Layout
5738 \begin_inset Argument 1
5739 status open
5740
5741 \begin_layout Plain Layout
5742 colback=green!30
5743 \end_layout
5744
5745 \end_inset
5746
5747 green!30
5748 \end_layout
5749
5750 \end_inset
5751
5752
5753 \begin_inset VSpace defskip
5754 \end_inset
5755
5756
5757 \end_layout
5758
5759 \begin_layout Enumerate
5760
5761 \series bold
5762 Name1!PercentOfName1!Name2
5763 \series default
5764
5765 \begin_inset VSpace 3mm
5766 \end_inset
5767
5768
5769 \begin_inset Newline newline
5770 \end_inset
5771
5772 For example 
5773 \series bold
5774 red!30!blue
5775 \series default
5776  means
5777 \begin_inset Newline newline
5778 \end_inset
5779
5780 30
5781 \begin_inset space \thinspace{}
5782 \end_inset
5783
5784 % red
5785 \begin_inset Newline newline
5786 \end_inset
5787
5788 70
5789 \begin_inset space \thinspace{}
5790 \end_inset
5791
5792 % blue
5793 \begin_inset Newline newline
5794 \end_inset
5795
5796 An example:
5797 \begin_inset Flex Color Box
5798 status open
5799
5800 \begin_layout Plain Layout
5801 \begin_inset Argument 1
5802 status open
5803
5804 \begin_layout Plain Layout
5805 colback=red!30!blue
5806 \end_layout
5807
5808 \end_inset
5809
5810 red!30!blue
5811 \end_layout
5812
5813 \end_inset
5814
5815
5816 \begin_inset VSpace defskip
5817 \end_inset
5818
5819
5820 \end_layout
5821
5822 \begin_layout Enumerate
5823
5824 \series bold
5825 Name1!PercentName1!Name2!PercentName3!Name3
5826 \series default
5827
5828 \begin_inset VSpace 3mm
5829 \end_inset
5830
5831
5832 \begin_inset Newline newline
5833 \end_inset
5834
5835 For example 
5836 \series bold
5837 red!71.4!green!70!blue
5838 \series default
5839  means
5840 \begin_inset Newline newline
5841 \end_inset
5842
5843
5844 \begin_inset Formula $1-0.70=30\,$
5845 \end_inset
5846
5847 % blue
5848 \begin_inset Newline newline
5849 \end_inset
5850
5851
5852 \begin_inset Formula $\left(1-0.714\right)\cdot0.70=20.02\thinspace$
5853 \end_inset
5854
5855 % green
5856 \begin_inset Newline newline
5857 \end_inset
5858
5859
5860 \begin_inset Formula $0.714\cdot0.70=49.98\thinspace$
5861 \end_inset
5862
5863 % red
5864 \begin_inset Newline newline
5865 \end_inset
5866
5867 An example:
5868 \begin_inset Flex Color Box
5869 status open
5870
5871 \begin_layout Plain Layout
5872 \begin_inset Argument 1
5873 status open
5874
5875 \begin_layout Plain Layout
5876 colback=red!71.4!green!70!blue
5877 \end_layout
5878
5879 \end_inset
5880
5881 red!71.4!green!70!blue
5882 \end_layout
5883
5884 \end_inset
5885
5886
5887 \begin_inset VSpace defskip
5888 \end_inset
5889
5890
5891 \end_layout
5892
5893 \begin_layout Standard
5894 The possible color names are:
5895 \end_layout
5896
5897 \begin_layout Standard
5898 \noindent
5899 \begin_inset Tabular
5900 <lyxtabular version="3" rows="4" columns="5">
5901 <features tabularvalignment="middle">
5902 <column alignment="left" valignment="top" width="18col%">
5903 <column alignment="left" valignment="top" width="18col%">
5904 <column alignment="left" valignment="top" width="18col%">
5905 <column alignment="left" valignment="top" width="18col%">
5906 <column alignment="left" valignment="top" width="18col%">
5907 <row>
5908 <cell alignment="left" valignment="top" usebox="none">
5909 \begin_inset Text
5910
5911 \begin_layout Plain Layout
5912 \begin_inset ERT
5913 status collapsed
5914
5915 \begin_layout Plain Layout
5916
5917
5918 \backslash
5919 fcolorbox{black}{
5920 \end_layout
5921
5922 \end_inset
5923
5924 red
5925 \begin_inset ERT
5926 status collapsed
5927
5928 \begin_layout Plain Layout
5929
5930 }{
5931 \end_layout
5932
5933 \end_inset
5934
5935
5936 \begin_inset Phantom Phantom
5937 status open
5938
5939 \begin_layout Plain Layout
5940 W
5941 \end_layout
5942
5943 \end_inset
5944
5945
5946 \begin_inset ERT
5947 status collapsed
5948
5949 \begin_layout Plain Layout
5950
5951 }
5952 \end_layout
5953
5954 \end_inset
5955
5956  red
5957 \end_layout
5958
5959 \end_inset
5960 </cell>
5961 <cell alignment="left" valignment="top" usebox="none">
5962 \begin_inset Text
5963
5964 \begin_layout Plain Layout
5965 \begin_inset ERT
5966 status collapsed
5967
5968 \begin_layout Plain Layout
5969
5970
5971 \backslash
5972 fcolorbox{black}{
5973 \end_layout
5974
5975 \end_inset
5976
5977 green
5978 \begin_inset ERT
5979 status collapsed
5980
5981 \begin_layout Plain Layout
5982
5983 }{
5984 \end_layout
5985
5986 \end_inset
5987
5988
5989 \begin_inset Phantom Phantom
5990 status open
5991
5992 \begin_layout Plain Layout
5993 W
5994 \end_layout
5995
5996 \end_inset
5997
5998
5999 \begin_inset ERT
6000 status collapsed
6001
6002 \begin_layout Plain Layout
6003
6004 }
6005 \end_layout
6006
6007 \end_inset
6008
6009  green
6010 \end_layout
6011
6012 \end_inset
6013 </cell>
6014 <cell alignment="left" valignment="top" usebox="none">
6015 \begin_inset Text
6016
6017 \begin_layout Plain Layout
6018 \begin_inset ERT
6019 status collapsed
6020
6021 \begin_layout Plain Layout
6022
6023
6024 \backslash
6025 fcolorbox{black}{
6026 \end_layout
6027
6028 \end_inset
6029
6030 blue
6031 \begin_inset ERT
6032 status collapsed
6033
6034 \begin_layout Plain Layout
6035
6036 }{
6037 \end_layout
6038
6039 \end_inset
6040
6041
6042 \begin_inset Phantom Phantom
6043 status open
6044
6045 \begin_layout Plain Layout
6046 W
6047 \end_layout
6048
6049 \end_inset
6050
6051
6052 \begin_inset ERT
6053 status collapsed
6054
6055 \begin_layout Plain Layout
6056
6057 }
6058 \end_layout
6059
6060 \end_inset
6061
6062  blue
6063 \end_layout
6064
6065 \end_inset
6066 </cell>
6067 <cell alignment="left" valignment="top" usebox="none">
6068 \begin_inset Text
6069
6070 \begin_layout Plain Layout
6071 \begin_inset ERT
6072 status collapsed
6073
6074 \begin_layout Plain Layout
6075
6076
6077 \backslash
6078 fcolorbox{black}{
6079 \end_layout
6080
6081 \end_inset
6082
6083 cyan
6084 \begin_inset ERT
6085 status collapsed
6086
6087 \begin_layout Plain Layout
6088
6089 }{
6090 \end_layout
6091
6092 \end_inset
6093
6094
6095 \begin_inset Phantom Phantom
6096 status open
6097
6098 \begin_layout Plain Layout
6099 W
6100 \end_layout
6101
6102 \end_inset
6103
6104
6105 \begin_inset ERT
6106 status collapsed
6107
6108 \begin_layout Plain Layout
6109
6110 }
6111 \end_layout
6112
6113 \end_inset
6114
6115  cyan
6116 \end_layout
6117
6118 \end_inset
6119 </cell>
6120 <cell alignment="left" valignment="top" usebox="none">
6121 \begin_inset Text
6122
6123 \begin_layout Plain Layout
6124 \begin_inset ERT
6125 status collapsed
6126
6127 \begin_layout Plain Layout
6128
6129
6130 \backslash
6131 fcolorbox{black}{
6132 \end_layout
6133
6134 \end_inset
6135
6136 magenta
6137 \begin_inset ERT
6138 status collapsed
6139
6140 \begin_layout Plain Layout
6141
6142 }{
6143 \end_layout
6144
6145 \end_inset
6146
6147
6148 \begin_inset Phantom Phantom
6149 status open
6150
6151 \begin_layout Plain Layout
6152 W
6153 \end_layout
6154
6155 \end_inset
6156
6157
6158 \begin_inset ERT
6159 status collapsed
6160
6161 \begin_layout Plain Layout
6162
6163 }
6164 \end_layout
6165
6166 \end_inset
6167
6168  magenta
6169 \end_layout
6170
6171 \end_inset
6172 </cell>
6173 </row>
6174 <row>
6175 <cell alignment="left" valignment="top" usebox="none">
6176 \begin_inset Text
6177
6178 \begin_layout Plain Layout
6179 \begin_inset ERT
6180 status collapsed
6181
6182 \begin_layout Plain Layout
6183
6184
6185 \backslash
6186 fcolorbox{black}{
6187 \end_layout
6188
6189 \end_inset
6190
6191 yellow
6192 \begin_inset ERT
6193 status collapsed
6194
6195 \begin_layout Plain Layout
6196
6197 }{
6198 \end_layout
6199
6200 \end_inset
6201
6202
6203 \begin_inset Phantom Phantom
6204 status open
6205
6206 \begin_layout Plain Layout
6207 W
6208 \end_layout
6209
6210 \end_inset
6211
6212
6213 \begin_inset ERT
6214 status collapsed
6215
6216 \begin_layout Plain Layout
6217
6218 }
6219 \end_layout
6220
6221 \end_inset
6222
6223  yellow
6224 \end_layout
6225
6226 \end_inset
6227 </cell>
6228 <cell alignment="left" valignment="top" usebox="none">
6229 \begin_inset Text
6230
6231 \begin_layout Plain Layout
6232 \begin_inset ERT
6233 status collapsed
6234
6235 \begin_layout Plain Layout
6236
6237
6238 \backslash
6239 fcolorbox{black}{
6240 \end_layout
6241
6242 \end_inset
6243
6244 black
6245 \begin_inset ERT
6246 status collapsed
6247
6248 \begin_layout Plain Layout
6249
6250 }{
6251 \end_layout
6252
6253 \end_inset
6254
6255
6256 \begin_inset Phantom Phantom
6257 status open
6258
6259 \begin_layout Plain Layout
6260 W
6261 \end_layout
6262
6263 \end_inset
6264
6265
6266 \begin_inset ERT
6267 status collapsed
6268
6269 \begin_layout Plain Layout
6270
6271 }
6272 \end_layout
6273
6274 \end_inset
6275
6276  black
6277 \end_layout
6278
6279 \end_inset
6280 </cell>
6281 <cell alignment="left" valignment="top" usebox="none">
6282 \begin_inset Text
6283
6284 \begin_layout Plain Layout
6285 \begin_inset ERT
6286 status collapsed
6287
6288 \begin_layout Plain Layout
6289
6290
6291 \backslash
6292 fcolorbox{black}{
6293 \end_layout
6294
6295 \end_inset
6296
6297 gray
6298 \begin_inset ERT
6299 status collapsed
6300
6301 \begin_layout Plain Layout
6302
6303 }{
6304 \end_layout
6305
6306 \end_inset
6307
6308
6309 \begin_inset Phantom Phantom
6310 status open
6311
6312 \begin_layout Plain Layout
6313 W
6314 \end_layout
6315
6316 \end_inset
6317
6318
6319 \begin_inset ERT
6320 status collapsed
6321
6322 \begin_layout Plain Layout
6323
6324 }
6325 \end_layout
6326
6327 \end_inset
6328
6329  gray
6330 \end_layout
6331
6332 \end_inset
6333 </cell>
6334 <cell alignment="left" valignment="top" usebox="none">
6335 \begin_inset Text
6336
6337 \begin_layout Plain Layout
6338 \begin_inset ERT
6339 status collapsed
6340
6341 \begin_layout Plain Layout
6342
6343
6344 \backslash
6345 fcolorbox{black}{
6346 \end_layout
6347
6348 \end_inset
6349
6350 white
6351 \begin_inset ERT
6352 status collapsed
6353
6354 \begin_layout Plain Layout
6355
6356 }{
6357 \end_layout
6358
6359 \end_inset
6360
6361
6362 \begin_inset Phantom Phantom
6363 status open
6364
6365 \begin_layout Plain Layout
6366 W
6367 \end_layout
6368
6369 \end_inset
6370
6371
6372 \begin_inset ERT
6373 status collapsed
6374
6375 \begin_layout Plain Layout
6376
6377 }
6378 \end_layout
6379
6380 \end_inset
6381
6382  white
6383 \end_layout
6384
6385 \end_inset
6386 </cell>
6387 <cell alignment="left" valignment="top" usebox="none">
6388 \begin_inset Text
6389
6390 \begin_layout Plain Layout
6391 \begin_inset ERT
6392 status collapsed
6393
6394 \begin_layout Plain Layout
6395
6396
6397 \backslash
6398 fcolorbox{black}{
6399 \end_layout
6400
6401 \end_inset
6402
6403 darkgray
6404 \begin_inset ERT
6405 status collapsed
6406
6407 \begin_layout Plain Layout
6408
6409 }{
6410 \end_layout
6411
6412 \end_inset
6413
6414
6415 \begin_inset Phantom Phantom
6416 status open
6417
6418 \begin_layout Plain Layout
6419 W
6420 \end_layout
6421
6422 \end_inset
6423
6424
6425 \begin_inset ERT
6426 status collapsed
6427
6428 \begin_layout Plain Layout
6429
6430 }
6431 \end_layout
6432
6433 \end_inset
6434
6435  darkgray
6436 \end_layout
6437
6438 \end_inset
6439 </cell>
6440 </row>
6441 <row>
6442 <cell alignment="left" valignment="top" usebox="none">
6443 \begin_inset Text
6444
6445 \begin_layout Plain Layout
6446 \begin_inset ERT
6447 status collapsed
6448
6449 \begin_layout Plain Layout
6450
6451
6452 \backslash
6453 fcolorbox{black}{
6454 \end_layout
6455
6456 \end_inset
6457
6458 lightgray
6459 \begin_inset ERT
6460 status collapsed
6461
6462 \begin_layout Plain Layout
6463
6464 }{
6465 \end_layout
6466
6467 \end_inset
6468
6469
6470 \begin_inset Phantom Phantom
6471 status open
6472
6473 \begin_layout Plain Layout
6474 W
6475 \end_layout
6476
6477 \end_inset
6478
6479
6480 \begin_inset ERT
6481 status collapsed
6482
6483 \begin_layout Plain Layout
6484
6485 }
6486 \end_layout
6487
6488 \end_inset
6489
6490  lightgray
6491 \end_layout
6492
6493 \end_inset
6494 </cell>
6495 <cell alignment="left" valignment="top" usebox="none">
6496 \begin_inset Text
6497
6498 \begin_layout Plain Layout
6499 \begin_inset ERT
6500 status collapsed
6501
6502 \begin_layout Plain Layout
6503
6504
6505 \backslash
6506 fcolorbox{black}{
6507 \end_layout
6508
6509 \end_inset
6510
6511 brown
6512 \begin_inset ERT
6513 status collapsed
6514
6515 \begin_layout Plain Layout
6516
6517 }{
6518 \end_layout
6519
6520 \end_inset
6521
6522
6523 \begin_inset Phantom Phantom
6524 status open
6525
6526 \begin_layout Plain Layout
6527 W
6528 \end_layout
6529
6530 \end_inset
6531
6532
6533 \begin_inset ERT
6534 status collapsed
6535
6536 \begin_layout Plain Layout
6537
6538 }
6539 \end_layout
6540
6541 \end_inset
6542
6543  brown
6544 \end_layout
6545
6546 \end_inset
6547 </cell>
6548 <cell alignment="left" valignment="top" usebox="none">
6549 \begin_inset Text
6550
6551 \begin_layout Plain Layout
6552 \begin_inset ERT
6553 status collapsed
6554
6555 \begin_layout Plain Layout
6556
6557
6558 \backslash
6559 fcolorbox{black}{
6560 \end_layout
6561
6562 \end_inset
6563
6564 lime
6565 \begin_inset ERT
6566 status collapsed
6567
6568 \begin_layout Plain Layout
6569
6570 }{
6571 \end_layout
6572
6573 \end_inset
6574
6575
6576 \begin_inset Phantom Phantom
6577 status open
6578
6579 \begin_layout Plain Layout
6580 W
6581 \end_layout
6582
6583 \end_inset
6584
6585
6586 \begin_inset ERT
6587 status collapsed
6588
6589 \begin_layout Plain Layout
6590
6591 }
6592 \end_layout
6593
6594 \end_inset
6595
6596  lime
6597 \end_layout
6598
6599 \end_inset
6600 </cell>
6601 <cell alignment="left" valignment="top" usebox="none">
6602 \begin_inset Text
6603
6604 \begin_layout Plain Layout
6605 \begin_inset ERT
6606 status collapsed
6607
6608 \begin_layout Plain Layout
6609
6610
6611 \backslash
6612 fcolorbox{black}{
6613 \end_layout
6614
6615 \end_inset
6616
6617 olive
6618 \begin_inset ERT
6619 status collapsed
6620
6621 \begin_layout Plain Layout
6622
6623 }{
6624 \end_layout
6625
6626 \end_inset
6627
6628
6629 \begin_inset Phantom Phantom
6630 status open
6631
6632 \begin_layout Plain Layout
6633 W
6634 \end_layout
6635
6636 \end_inset
6637
6638
6639 \begin_inset ERT
6640 status collapsed
6641
6642 \begin_layout Plain Layout
6643
6644 }
6645 \end_layout
6646
6647 \end_inset
6648
6649  olive
6650 \end_layout
6651
6652 \end_inset
6653 </cell>
6654 <cell alignment="left" valignment="top" usebox="none">
6655 \begin_inset Text
6656
6657 \begin_layout Plain Layout
6658 \begin_inset ERT
6659 status collapsed
6660
6661 \begin_layout Plain Layout
6662
6663
6664 \backslash
6665 fcolorbox{black}{
6666 \end_layout
6667
6668 \end_inset
6669
6670 orange
6671 \begin_inset ERT
6672 status collapsed
6673
6674 \begin_layout Plain Layout
6675
6676 }{
6677 \end_layout
6678
6679 \end_inset
6680
6681
6682 \begin_inset Phantom Phantom
6683 status open
6684
6685 \begin_layout Plain Layout
6686 W
6687 \end_layout
6688
6689 \end_inset
6690
6691
6692 \begin_inset ERT
6693 status collapsed
6694
6695 \begin_layout Plain Layout
6696
6697 }
6698 \end_layout
6699
6700 \end_inset
6701
6702  orange
6703 \end_layout
6704
6705 \end_inset
6706 </cell>
6707 </row>
6708 <row>
6709 <cell alignment="left" valignment="top" usebox="none">
6710 \begin_inset Text
6711
6712 \begin_layout Plain Layout
6713 \begin_inset ERT
6714 status collapsed
6715
6716 \begin_layout Plain Layout
6717
6718
6719 \backslash
6720 fcolorbox{black}{
6721 \end_layout
6722
6723 \end_inset
6724
6725 pink
6726 \begin_inset ERT
6727 status collapsed
6728
6729 \begin_layout Plain Layout
6730
6731 }{
6732 \end_layout
6733
6734 \end_inset
6735
6736
6737 \begin_inset Phantom Phantom
6738 status open
6739
6740 \begin_layout Plain Layout
6741 W
6742 \end_layout
6743
6744 \end_inset
6745
6746
6747 \begin_inset ERT
6748 status collapsed
6749
6750 \begin_layout Plain Layout
6751
6752 }
6753 \end_layout
6754
6755 \end_inset
6756
6757  pink
6758 \end_layout
6759
6760 \end_inset
6761 </cell>
6762 <cell alignment="left" valignment="top" usebox="none">
6763 \begin_inset Text
6764
6765 \begin_layout Plain Layout
6766 \begin_inset ERT
6767 status collapsed
6768
6769 \begin_layout Plain Layout
6770
6771
6772 \backslash
6773 fcolorbox{black}{
6774 \end_layout
6775
6776 \end_inset
6777
6778 purple
6779 \begin_inset ERT
6780 status collapsed
6781
6782 \begin_layout Plain Layout
6783
6784 }{
6785 \end_layout
6786
6787 \end_inset
6788
6789
6790 \begin_inset Phantom Phantom
6791 status open
6792
6793 \begin_layout Plain Layout
6794 W
6795 \end_layout
6796
6797 \end_inset
6798
6799
6800 \begin_inset ERT
6801 status collapsed
6802
6803 \begin_layout Plain Layout
6804
6805 }
6806 \end_layout
6807
6808 \end_inset
6809
6810  purple
6811 \end_layout
6812
6813 \end_inset
6814 </cell>
6815 <cell alignment="left" valignment="top" usebox="none">
6816 \begin_inset Text
6817
6818 \begin_layout Plain Layout
6819 \begin_inset ERT
6820 status collapsed
6821
6822 \begin_layout Plain Layout
6823
6824
6825 \backslash
6826 fcolorbox{black}{
6827 \end_layout
6828
6829 \end_inset
6830
6831 teal
6832 \begin_inset ERT
6833 status collapsed
6834
6835 \begin_layout Plain Layout
6836
6837 }{
6838 \end_layout
6839
6840 \end_inset
6841
6842
6843 \begin_inset Phantom Phantom
6844 status open
6845
6846 \begin_layout Plain Layout
6847 W
6848 \end_layout
6849
6850 \end_inset
6851
6852
6853 \begin_inset ERT
6854 status collapsed
6855
6856 \begin_layout Plain Layout
6857
6858 }
6859 \end_layout
6860
6861 \end_inset
6862
6863  teal
6864 \end_layout
6865
6866 \end_inset
6867 </cell>
6868 <cell alignment="left" valignment="top" usebox="none">
6869 \begin_inset Text
6870
6871 \begin_layout Plain Layout
6872 \begin_inset ERT
6873 status collapsed
6874
6875 \begin_layout Plain Layout
6876
6877
6878 \backslash
6879 fcolorbox{black}{
6880 \end_layout
6881
6882 \end_inset
6883
6884 violet
6885 \begin_inset ERT
6886 status collapsed
6887
6888 \begin_layout Plain Layout
6889
6890 }{
6891 \end_layout
6892
6893 \end_inset
6894
6895
6896 \begin_inset Phantom Phantom
6897 status open
6898
6899 \begin_layout Plain Layout
6900 W
6901 \end_layout
6902
6903 \end_inset
6904
6905
6906 \begin_inset ERT
6907 status collapsed
6908
6909 \begin_layout Plain Layout
6910
6911 }
6912 \end_layout
6913
6914 \end_inset
6915
6916  violet
6917 \end_layout
6918
6919 \end_inset
6920 </cell>
6921 <cell alignment="left" valignment="top" usebox="none">
6922 \begin_inset Text
6923
6924 \begin_layout Plain Layout
6925
6926 \end_layout
6927
6928 \end_inset
6929 </cell>
6930 </row>
6931 </lyxtabular>
6932
6933 \end_inset
6934
6935
6936 \end_layout
6937
6938 \begin_layout Standard
6939 , and the ones listed in Appendix
6940 \begin_inset space ~
6941 \end_inset
6942
6943 C of the 
6944 \emph on
6945 Embedded
6946 \begin_inset space ~
6947 \end_inset
6948
6949 Objects
6950 \emph default
6951  manual.
6952 \end_layout
6953
6954 \begin_layout Subsubsection
6955 Background
6956 \end_layout
6957
6958 \begin_layout Standard
6959 The background color is changed with the option 
6960 \series bold
6961 colback
6962 \series default
6963 .
6964 \end_layout
6965
6966 \begin_layout Standard
6967 \begin_inset Flex Color Box
6968 status open
6969
6970 \begin_layout Plain Layout
6971 \begin_inset Argument 1
6972 status open
6973
6974 \begin_layout Plain Layout
6975 colback=red!66!green!70!blue
6976 \end_layout
6977
6978 \end_inset
6979
6980 Background color
6981 \end_layout
6982
6983 \end_inset
6984
6985
6986 \end_layout
6987
6988 \begin_layout Subsubsection
6989 Frame
6990 \end_layout
6991
6992 \begin_layout Standard
6993 The frame color is changed with the option 
6994 \series bold
6995 colframe
6996 \series default
6997 .
6998 \end_layout
6999
7000 \begin_layout Standard
7001 \begin_inset Flex Color Box
7002 status open
7003
7004 \begin_layout Plain Layout
7005 \begin_inset Argument 1
7006 status open
7007
7008 \begin_layout Plain Layout
7009 colframe=red!30!blue
7010 \end_layout
7011
7012 \end_inset
7013
7014 Frame color
7015 \end_layout
7016
7017 \end_inset
7018
7019
7020 \end_layout
7021
7022 \begin_layout Subsubsection
7023 Title background
7024 \end_layout
7025
7026 \begin_layout Standard
7027 The title background color is changed with the option 
7028 \series bold
7029 colbacktitle
7030 \series default
7031 .
7032 \end_layout
7033
7034 \begin_layout Standard
7035 \begin_inset Flex Color Box
7036 status open
7037
7038 \begin_layout Plain Layout
7039 \begin_inset Argument 1
7040 status open
7041
7042 \begin_layout Plain Layout
7043 title=A title, colbacktitle=green!30
7044 \end_layout
7045
7046 \end_inset
7047
7048 Title background color
7049 \end_layout
7050
7051 \end_inset
7052
7053
7054 \end_layout
7055
7056 \begin_layout Subsubsection
7057 Title text
7058 \begin_inset CommandInset label
7059 LatexCommand label
7060 name "subsec:Title-text"
7061
7062 \end_inset
7063
7064
7065 \end_layout
7066
7067 \begin_layout Standard
7068 The color for the title text is changed with the option 
7069 \series bold
7070 coltitle
7071 \series default
7072 .
7073 \end_layout
7074
7075 \begin_layout Standard
7076 \begin_inset Flex Color Box
7077 status open
7078
7079 \begin_layout Plain Layout
7080 \begin_inset Argument 1
7081 status open
7082
7083 \begin_layout Plain Layout
7084 title=A title, coltitle=orange
7085 \end_layout
7086
7087 \end_inset
7088
7089 Title text color
7090 \end_layout
7091
7092 \begin_layout Plain Layout
7093 \begin_inset Flex Subtitle
7094 status open
7095
7096 \begin_layout Plain Layout
7097 The subtitle
7098 \end_layout
7099
7100 \end_inset
7101
7102
7103 \end_layout
7104
7105 \begin_layout Plain Layout
7106 Text
7107 \end_layout
7108
7109 \end_inset
7110
7111
7112 \end_layout
7113
7114 \begin_layout Subsubsection
7115 Complete text
7116 \end_layout
7117
7118 \begin_layout Standard
7119 The color for the complete text is changed with the option 
7120 \series bold
7121 coltext
7122 \series default
7123 .
7124 \end_layout
7125
7126 \begin_layout Standard
7127 \begin_inset Flex Color Box
7128 status open
7129
7130 \begin_layout Plain Layout
7131 \begin_inset Argument 1
7132 status open
7133
7134 \begin_layout Plain Layout
7135 coltext=red
7136 \end_layout
7137
7138 \end_inset
7139
7140 Text color
7141 \end_layout
7142
7143 \end_inset
7144
7145
7146 \end_layout
7147
7148 \begin_layout Subsubsection
7149 Upper and lower text
7150 \end_layout
7151
7152 \begin_layout Standard
7153 The color for the upper and lower part text is changed with the option 
7154 \series bold
7155 colupper
7156 \series default
7157  and 
7158 \series bold
7159 collower
7160 \series default
7161 , respectively.
7162 \end_layout
7163
7164 \begin_layout Standard
7165 \begin_inset Flex Color Box
7166 status open
7167
7168 \begin_layout Plain Layout
7169 \begin_inset Argument 1
7170 status open
7171
7172 \begin_layout Plain Layout
7173 colupper=green!30!blue, collower=green!70!blue
7174 \end_layout
7175
7176 \end_inset
7177
7178 Upper text color
7179 \end_layout
7180
7181 \begin_layout Color Box Separator
7182
7183 \end_layout
7184
7185 \begin_layout Plain Layout
7186 Lower text color
7187 \end_layout
7188
7189 \end_inset
7190
7191
7192 \end_layout
7193
7194 \begin_layout Standard
7195 \begin_inset Newpage newpage
7196 \end_inset
7197
7198
7199 \end_layout
7200
7201 \begin_layout Subsection
7202 Shadows
7203 \begin_inset CommandInset label
7204 LatexCommand label
7205 name "subsec:Shadows"
7206
7207 \end_inset
7208
7209
7210 \end_layout
7211
7212 \begin_layout Standard
7213 Boxes can only be decorated with shadows if a skin is specified, see 
7214 \begin_inset CommandInset ref
7215 LatexCommand ref
7216 reference "subsec:Enhanced"
7217
7218 \end_inset
7219
7220 .
7221 \end_layout
7222
7223 \begin_layout Subsubsection
7224 Shadow
7225 \end_layout
7226
7227 \begin_layout Standard
7228 A shadow is added with the box option 
7229 \series bold
7230 drop shadow=color
7231 \series default
7232  where 
7233 \series bold
7234 color
7235 \series default
7236  is a color name or definition, see 
7237 \begin_inset CommandInset ref
7238 LatexCommand ref
7239 reference "subsec:Color"
7240
7241 \end_inset
7242
7243 .
7244  One can omit the color, the shadow color is then black!50!white.
7245  The option 
7246 \series bold
7247 drop fuzzy shadow
7248 \series default
7249  creates a semi-transparent shadow.
7250 \end_layout
7251
7252 \begin_layout Standard
7253 \begin_inset Flex Color Box
7254 status open
7255
7256 \begin_layout Plain Layout
7257 \begin_inset Argument 1
7258 status open
7259
7260 \begin_layout Plain Layout
7261 enhanced, drop shadow, nobeforeafter
7262 \end_layout
7263
7264 \end_inset
7265
7266 A box with a shadow
7267 \end_layout
7268
7269 \end_inset
7270
7271
7272 \end_layout
7273
7274 \begin_layout Standard
7275 \begin_inset VSpace defskip
7276 \end_inset
7277
7278
7279 \begin_inset Flex Color Box
7280 status open
7281
7282 \begin_layout Plain Layout
7283 \begin_inset Argument 1
7284 status open
7285
7286 \begin_layout Plain Layout
7287 enhanced, drop fuzzy shadow=purple, nobeforeafter
7288 \end_layout
7289
7290 \end_inset
7291
7292 A box with a fuzzy, purple shadow
7293 \end_layout
7294
7295 \end_inset
7296
7297
7298 \end_layout
7299
7300 \begin_layout Standard
7301 The default shadow is placed right below the box.
7302  For other shadow placements have a look at section 
7303 \family sans
7304 Shadow Option Keys
7305 \family default
7306  of the 
7307 \series bold
7308 tcolorbox
7309 \series default
7310  manual, 
7311 \begin_inset CommandInset citation
7312 LatexCommand cite
7313 key "tcolorbox"
7314 literal "true"
7315
7316 \end_inset
7317
7318 .
7319 \end_layout
7320
7321 \begin_layout Subsubsection
7322 Halo
7323 \end_layout
7324
7325 \begin_layout Standard
7326 A halo is added with the box option 
7327 \series bold
7328 halo=size with color
7329 \series default
7330  where 
7331 \series bold
7332 size
7333 \series default
7334  is a value and 
7335 \series bold
7336 color
7337 \series default
7338  is a color name or definition.
7339  One can omit the size and color, the halo is then 0.9
7340 \begin_inset space \thinspace{}
7341 \end_inset
7342
7343 mm thick and has the color yellow.
7344  Note that one cannot omit only the size or color, either both is omitted
7345  or both is specified.
7346  The option 
7347 \series bold
7348 fuzzy halo
7349 \series default
7350  creates a semi-transparent halo.
7351 \end_layout
7352
7353 \begin_layout Standard
7354 \begin_inset Flex Color Box
7355 status open
7356
7357 \begin_layout Plain Layout
7358 \begin_inset Argument 1
7359 status open
7360
7361 \begin_layout Plain Layout
7362 enhanced, halo, nobeforeafter
7363 \end_layout
7364
7365 \end_inset
7366
7367 A box with a halo
7368 \end_layout
7369
7370 \end_inset
7371
7372
7373 \end_layout
7374
7375 \begin_layout Standard
7376 \begin_inset VSpace defskip
7377 \end_inset
7378
7379
7380 \end_layout
7381
7382 \begin_layout Standard
7383 \begin_inset Flex Color Box
7384 status open
7385
7386 \begin_layout Plain Layout
7387 \begin_inset Argument 1
7388 status open
7389
7390 \begin_layout Plain Layout
7391 enhanced, fuzzy halo=5mm with green, nobeforeafter
7392 \end_layout
7393
7394 \end_inset
7395
7396 A box with a 5
7397 \begin_inset space \thinspace{}
7398 \end_inset
7399
7400 mm thick, green fuzzy halo
7401 \end_layout
7402
7403 \end_inset
7404
7405
7406 \end_layout
7407
7408 \begin_layout Subsubsection
7409 Generic
7410 \end_layout
7411
7412 \begin_layout Standard
7413 Generic shadows/halos can be created with the box option 
7414 \series bold
7415 shadow
7416 \series default
7417  or 
7418 \series bold
7419 fuzzy shadow
7420 \series default
7421 .
7422  For a brief description of these options consult section 
7423 \family sans
7424 Generic Shadows
7425 \family default
7426  of the 
7427 \series bold
7428 tcolorbox
7429 \series default
7430  manual, 
7431 \begin_inset CommandInset citation
7432 LatexCommand cite
7433 key "tcolorbox"
7434 literal "true"
7435
7436 \end_inset
7437
7438 .
7439 \end_layout
7440
7441 \begin_layout Standard
7442 \begin_inset Flex Color Box
7443 status open
7444
7445 \begin_layout Plain Layout
7446 \begin_inset Argument 1
7447 status open
7448
7449 \begin_layout Plain Layout
7450 enhanced, title=Double shadow, shadow={-2.5mm}{-2.5mm}{0mm}{fill=blue, opacity=0.25
7451 }, shadow={1.5mm}{1.5mm}{0mm}{fill=red, opacity=0.25}
7452 \end_layout
7453
7454 \end_inset
7455
7456 A box with 2
7457 \begin_inset space ~
7458 \end_inset
7459
7460 generic shadows
7461 \end_layout
7462
7463 \end_inset
7464
7465
7466 \end_layout
7467
7468 \begin_layout Bibliography
7469 \begin_inset CommandInset bibitem
7470 LatexCommand bibitem
7471 key "tcolorbox"
7472 literal "true"
7473
7474 \end_inset
7475
7476
7477 \begin_inset CommandInset href
7478 LatexCommand href
7479 name "Documentation"
7480 target "https://ctan.org/tex-archive/macros/latex/contrib/tcolorbox/tcolorbox.pdf"
7481 literal "false"
7482
7483 \end_inset
7484
7485  of the \SpecialChar LaTeX
7486  package 
7487 \series bold
7488 tcolorbox
7489 \end_layout
7490
7491 \end_body
7492 \end_document