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