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