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