]> git.lyx.org Git - lyx.git/blob - lib/doc/EmbeddedObjects.lyx
b293f753f0043666dcb493593f793883c8a91d19
[lyx.git] / lib / doc / EmbeddedObjects.lyx
1 #LyX 2.4 created this file. For more info see https://www.lyx.org/
2 \lyxformat 609
3 \begin_document
4 \begin_header
5 \save_transient_properties true
6 \origin /systemlyxdir/doc/
7 \textclass scrbook
8 \begin_preamble
9 % that links to image floats jumps
10 % to the beginning of the float and 
11 % not to its caption
12 \usepackage[figure]{hypcap}
13
14 % the pages of the TOC are numbered roman
15 % and a PDF-bookmark for the TOC is added
16 \let\myTOC\tableofcontents
17 \renewcommand\tableofcontents{%
18   \frontmatter
19   \pdfbookmark[1]{\contentsname}{}
20   \myTOC
21   \mainmatter }
22
23 % provides caption formatting
24 \usepackage[labelfont={bf,sf}]{caption}[2004/07/16]
25
26 % provides commands to set caption
27 % beside tables/images
28 \newcommand{\TabBesBeg}[1][1.0]{%
29  \let\MyTable\table
30  \let\MyEndtable\endtable
31  \renewenvironment{table}[1]{\begin{SCtable}[#1]##1}{\end{SCtable}}}
32
33 \newcommand{\TabBesEnd}{%
34  \let\table\MyTable
35  \let\endtable\MyEndtable}
36
37 \newcommand{\FigBesBeg}[1][1.0]{%
38  \let\MyFigure\figure
39  \let\MyEndfigure\endfigure
40  \renewenvironment{figure}[1]{\begin{SCfigure}[#1]##1}{\end{SCfigure}}}
41
42 \newcommand{\FigBesEnd}{%
43  \let\figure\MyFigure
44  \let\endfigure\MyEndfigure}
45
46 % enables calculation of values,
47 \usepackage{calc}
48
49 % increase the bottom float placement fraction
50 \renewcommand{\bottomfraction}{0.5}
51
52 % avoids that floats are placed before their
53 % corresponding section starts
54 \let\mySection\section\renewcommand{\section}{\suppressfloats[t]\mySection}
55
56 % speed up the longtable calculation
57 \setcounter{LTchunksize}{100}
58
59 % used for colored tables
60 \@ifundefined{textcolor}
61  {\usepackage{color}}{}
62 \definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
63 \definecolor{lightgrey}{gray}{0.8}
64
65 % check for package colortbl
66 % used for colored table cells
67 \newboolean{colortbl}
68 \IfFileExists{colortbl.sty}
69  {\usepackage{colortbl}
70   \setboolean{colortbl}{true}}
71  {\setboolean{colortbl}{false}}
72
73 % used to have extra space in table cells
74 \@ifundefined{extrarowheight}
75  {\usepackage{array}}{}
76 \setlength{\extrarowheight}{2pt}
77
78 % used for customized tables
79 % ---
80 \newcolumntype{M}[1]
81  {>{\centering\hspace{0pt}}m{#1}}
82
83 \newcolumntype{S}[2]
84  {>{\centering\hspace{0pt}}m{(#1+(2\tabcolsep+\arrayrulewidth)*(1-#2))/#2}}
85
86 \newcolumntype{K}[1]
87  {>{\columncolor{#1}\hspace{0pt}}c}
88
89 \newcolumntype{V}{!{\vrule width 1.5pt}}
90
91 \newcolumntype{W}{!{\color{green}\vline}}
92 % ---
93
94 % insert additional vertical space of
95 % 1.5 mm between footnotes
96 \let\myFoot\footnote
97 \renewcommand{\footnote}[1]{\myFoot{#1\vspace{1.5mm}}}
98
99 % number algorithm floats within chapters
100 \numberwithin{algorithm}{chapter}
101
102 % ------------------------------------
103 % used to check for needed LaTeX packages
104 \usepackage{ifthen}
105
106 % check for package arydshln
107 % used for tables with dashed lines
108 \newboolean{arydshln}
109 \IfFileExists{arydshln.sty}
110  {\usepackage{arydshln}
111   \setboolean{arydshln}{true}}
112  {\setboolean{arydshln}{false}}
113
114 % check for package marginnote
115 % used for margin notes
116 \newboolean{marginnote}
117 \IfFileExists{marginnote.sty}
118  {\usepackage{marginnote}
119   \let\marginpar\marginnote
120   \setboolean{marginnote}{true}}
121  {\setboolean{marginnote}{false}}
122
123 % check for package sidecap
124 % used for captions on the side
125 \newboolean{sidecap}
126 \IfFileExists{sidecap.sty}
127  {\usepackage{sidecap}
128   \setboolean{sidecap}{true}}
129  {\setboolean{sidecap}{false}}
130
131 % check for picinpar
132 % used for surrounded fixed objects
133 \newboolean{picinpar}
134 \IfFileExists{picinpar.sty}
135  {\usepackage{picinpar}
136   \setboolean{picinpar}{true}}
137  {\setboolean{picinpar}{false}}
138
139 % check for lettrine
140 \newboolean{lettrine}
141 \IfFileExists{lettrine.sty}
142  {\usepackage{lettrine}
143   \setboolean{lettrine}{true}}
144  {\setboolean{lettrine}{false}}
145
146 % check for diagbox
147 \newboolean{diagbox}
148 \IfFileExists{diagbox.sty}
149  {\usepackage{diagbox}
150   \setboolean{diagbox}{true}}
151  {\setboolean{diagbox}{false}}
152 % Added by lyx2lyx
153 \setlength{\parskip}{\medskipamount}
154 \setlength{\parindent}{0pt}
155 \end_preamble
156 \options bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading,dvipsnames,table
157 \use_default_options false
158 \begin_modules
159 initials
160 graphicboxes
161 varwidth
162 \end_modules
163 \maintain_unincluded_children no
164 \language english
165 \language_package default
166 \inputencoding utf8
167 \fontencoding auto
168 \font_roman "lmodern" "default"
169 \font_sans "lmss" "default"
170 \font_typewriter "lmtt" "default"
171 \font_math "auto" "auto"
172 \font_default_family default
173 \use_non_tex_fonts false
174 \font_sc false
175 \font_roman_osf false
176 \font_sans_osf false
177 \font_typewriter_osf false
178 \font_sf_scale 100 100
179 \font_tt_scale 100 100
180 \use_microtype false
181 \use_dash_ligatures true
182 \graphics default
183 \default_output_format pdf2
184 \output_sync 0
185 \bibtex_command default
186 \index_command makeindex
187 \paperfontsize 12
188 \spacing single
189 \use_hyperref true
190 \pdf_title "LyX's Figure, Table, Floats, Notes, and Boxes manual"
191 \pdf_author "LyX Team, Uwe Stöhr"
192 \pdf_subject "LyX-documentation about figures, tables, floats, notes, and boxes"
193 \pdf_keywords "LyX, Tables, Figures, Floats, Boxes, Notes"
194 \pdf_bookmarks true
195 \pdf_bookmarksnumbered true
196 \pdf_bookmarksopen true
197 \pdf_bookmarksopenlevel 1
198 \pdf_breaklinks false
199 \pdf_pdfborder false
200 \pdf_colorlinks true
201 \pdf_backref false
202 \pdf_pdfusetitle false
203 \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
204 \papersize default
205 \use_geometry false
206 \use_package amsmath 1
207 \use_package amssymb 1
208 \use_package cancel 1
209 \use_package esint 1
210 \use_package mathdots 1
211 \use_package mathtools 1
212 \use_package mhchem 1
213 \use_package stackrel 1
214 \use_package stmaryrd 1
215 \use_package undertilde 1
216 \cite_engine basic
217 \cite_engine_type default
218 \biblio_style plain
219 \use_bibtopic false
220 \use_indices false
221 \paperorientation portrait
222 \suppress_date false
223 \justification true
224 \use_refstyle 0
225 \use_minted 0
226 \use_lineno 0
227 \notefontcolor #0000ff
228 \index Index
229 \shortcut idx
230 \color #008000
231 \end_index
232 \secnumdepth 3
233 \tocdepth 3
234 \paragraph_separation indent
235 \paragraph_indentation default
236 \is_math_indent 0
237 \math_numbering_side default
238 \quotes_style english
239 \dynamic_quotes 0
240 \papercolumns 1
241 \papersides 2
242 \paperpagestyle default
243 \tablestyle default
244 \tracking_changes true
245 \output_changes false
246 \change_bars false
247 \postpone_fragile_content false
248 \html_math_output 0
249 \html_css_as_file 0
250 \html_be_strict false
251 \docbook_table_output 0
252 \docbook_mathml_prefix 1
253 \author -1382599118 "Daniel"
254 \author -712698321 "Jürgen Spitzmüller"
255 \author 630872221 "Jean-Pierre Chrétien" jeanpierre.chretien@free.fr
256 \end_header
257
258 \begin_body
259
260 \begin_layout Title
261 \SpecialChar LyX
262 's detailed Figure, Table, Floats, Notes, Boxes and External Material manual
263 \end_layout
264
265 \begin_layout Author
266 by the \SpecialChar LyX
267  Team
268 \begin_inset Foot
269 status collapsed
270
271 \begin_layout Plain Layout
272 \noindent
273 If you have comments or error corrections, please send them to the \SpecialChar LyX
274  Documentatio
275 n mailing list: 
276 \begin_inset CommandInset href
277 LatexCommand href
278 name "lyx-docs@lists.lyx.org"
279 target "lyx-docs@lists.lyx.org?subject=EmbeddedObjects manual"
280 type "mailto:"
281 literal "false"
282
283 \end_inset
284
285
286 \end_layout
287
288 \end_inset
289
290
291 \begin_inset Note Note
292 status open
293
294 \begin_layout Plain Layout
295 author: Uwe Stöhr
296 \end_layout
297
298 \end_inset
299
300
301 \begin_inset Newline newline
302 \end_inset
303
304
305 \begin_inset Newline newline
306 \end_inset
307
308
309 \family sans
310 Version 2.4.x
311 \end_layout
312
313 \begin_layout Standard
314 \begin_inset CommandInset toc
315 LatexCommand tableofcontents
316
317 \end_inset
318
319
320 \end_layout
321
322 \begin_layout Standard
323 \begin_inset Note Note
324 status open
325
326 \begin_layout Plain Layout
327 To export all parts of this document to PDF, PS, or DVI the \SpecialChar LaTeX
328 -packages 
329 \series bold
330 arydshln
331 \series default
332
333 \series bold
334 colortbl
335 \series default
336
337 \series bold
338 diagbox, lettrine, marginnote, picinpar
339 \series default
340  and 
341 \series bold
342 sidecap
343 \series default
344  must be installed.
345  If they are not installed you can export the document anyway but the sections
346  where the packages are required won't appear in the output.
347 \end_layout
348
349 \begin_layout Plain Layout
350 The latest PDF-version of this document can be found here:
351 \begin_inset Newline newline
352 \end_inset
353
354
355 \series bold
356 https://wiki.lyx.org/LyX/Manuals#EmbeddedObjects
357 \end_layout
358
359 \end_inset
360
361
362 \end_layout
363
364 \begin_layout Chapter
365 Figures
366 \begin_inset Index idx
367 status collapsed
368
369 \begin_layout Plain Layout
370 Figures
371 \end_layout
372
373 \end_inset
374
375
376 \begin_inset Index idx
377 status collapsed
378
379 \begin_layout Plain Layout
380 Graphics|see
381 \begin_inset ERT
382 status collapsed
383
384 \begin_layout Plain Layout
385
386 {
387 \end_layout
388
389 \end_inset
390
391 Figures
392 \begin_inset ERT
393 status collapsed
394
395 \begin_layout Plain Layout
396
397 }
398 \end_layout
399
400 \end_inset
401
402
403 \end_layout
404
405 \end_inset
406
407
408 \end_layout
409
410 \begin_layout Section
411 Graphics Dialog
412 \begin_inset Index idx
413 status collapsed
414
415 \begin_layout Plain Layout
416 Figures ! Graphics Dialog
417 \end_layout
418
419 \end_inset
420
421
422 \begin_inset CommandInset label
423 LatexCommand label
424 name "sec:Graphics-Dialog"
425
426 \end_inset
427
428
429 \end_layout
430
431 \begin_layout Standard
432 To insert an image into your document, place the cursor at the text position
433  you want and click on the toolbar icon 
434 \begin_inset Info
435 type  "icon"
436 arg   "dialog-show-new-inset graphics"
437 \end_inset
438
439  or use the menu 
440 \family sans
441 Insert\SpecialChar menuseparator
442 Graphics
443 \family default
444 .
445  Then a dialog will appear to choose the file to load.
446  The image will appear in the output exactly at the position where it is
447  in the text.
448 \end_layout
449
450 \begin_layout Standard
451 The graphics dialog can be called at any time by clicking on an image.
452  This dialog has three tabs:
453 \end_layout
454
455 \begin_layout Description
456
457 \family sans
458 Graphics
459 \family default
460  Here you can choose an image file and adjust its appearance in the output.
461  The available units for the image size are explained in appendix
462 \begin_inset space ~
463 \end_inset
464
465
466 \begin_inset CommandInset ref
467 LatexCommand ref
468 reference "cha:Units-available-in"
469
470 \end_inset
471
472 .
473 \begin_inset Newline newline
474 \end_inset
475
476
477 \begin_inset Index idx
478 status collapsed
479
480 \begin_layout Plain Layout
481 Figures ! rotated
482 \end_layout
483
484 \end_inset
485
486 You can rotate images counter-clockwise by setting a rotation angle and
487  a rotation origin.
488  The image will also be rotated inside \SpecialChar LyX
489 .
490 \begin_inset Newline newline
491 \end_inset
492
493
494 \begin_inset Index idx
495 status collapsed
496
497 \begin_layout Plain Layout
498 Figures ! scaled
499 \end_layout
500
501 \end_inset
502
503 Images can be scaled by using a percentage value or by setting the width
504  and height explicitly.
505  If you set only the width or only the height, the other size will be determined
506  automatically.
507  If you set both, then the image will be transformed to the given size,
508  possibly distorting it.
509  To prevent the image from distortion, use the option 
510 \family sans
511 Maintain aspect ratio
512 \family default
513 .
514  The image will then be scaled so that its width and height don't exceed
515  the specified dimensions.
516 \begin_inset Newline newline
517 \end_inset
518
519 Images can be opened in a program of your choice by right-clicking on it
520  and choosing the entry 
521 \family sans
522 Edit
523 \begin_inset space ~
524 \end_inset
525
526 externally
527 \family default
528  in the context menu.
529  The program can be set for every image format in the file format settings
530  in \SpecialChar LyX
531 's preferences.
532 \end_layout
533
534 \begin_layout Description
535
536 \family sans
537 Coordinates
538 \begin_inset space ~
539 \end_inset
540
541 and
542 \begin_inset space ~
543 \end_inset
544
545 Clipping
546 \family default
547  Alternatively to the usage of scaling units it is possible to set image
548  coordinates to adjust the height and width of the image in the output.
549  The coordinates can also be calculated automatically by pressing the button
550  
551 \family sans
552 Get
553 \begin_inset space ~
554 \end_inset
555
556 from
557 \begin_inset space ~
558 \end_inset
559
560 File
561 \family default
562 .
563  The option 
564 \family sans
565 Clip
566 \begin_inset space ~
567 \end_inset
568
569 to
570 \begin_inset space ~
571 \end_inset
572
573 bounding
574 \begin_inset space ~
575 \end_inset
576
577 box
578 \family default
579  will only print the image region within the given coordinates.
580  Normally you don't need to worry about image coordinates and can ignore
581  this tab.
582 \end_layout
583
584 \begin_layout Description
585
586 \family sans
587 LaTeX
588 \begin_inset space ~
589 \end_inset
590
591 and
592 \begin_inset space ~
593 \end_inset
594
595 LyX
596 \begin_inset space ~
597 \end_inset
598
599 options
600 \family default
601  In this tab you can modify the appearance of the image within \SpecialChar LyX
602  and \SpecialChar LaTeX
603  experts
604  can specify additional \SpecialChar LaTeX
605  options.
606 \begin_inset Newline newline
607 \end_inset
608
609 The option 
610 \family sans
611 Draft
612 \begin_inset space ~
613 \end_inset
614
615 mode
616 \family default
617  makes the image appear in the output only as a frame with the size of the
618  image.
619 \begin_inset Newline newline
620 \end_inset
621
622 In the section 
623 \family sans
624 Graphics
625 \begin_inset space ~
626 \end_inset
627
628 Group
629 \family default
630  you can define or join an image settings group.
631 \begin_inset Index idx
632 status collapsed
633
634 \begin_layout Plain Layout
635 Figures ! Settings grouping
636 \end_layout
637
638 \end_inset
639
640  Images within such a group share their settings, so adjusting one image
641  of the group automatically also adjusts all other images of the group in
642  the same way.
643  So you can for example change the size for a bunch of images without the
644  need to manually change each of them.
645  Joining an existing group can also be done using the context menu of the
646  image by checking the name of the desired group.
647 \end_layout
648
649 \begin_layout Standard
650 \begin_inset VSpace bigskip
651 \end_inset
652
653
654 \end_layout
655
656 \begin_layout Standard
657 This is an example image in PDF format
658 \begin_inset Foot
659 status collapsed
660
661 \begin_layout Plain Layout
662 Image formats are explained in section
663 \begin_inset space ~
664 \end_inset
665
666
667 \begin_inset CommandInset ref
668 LatexCommand ref
669 reference "sec:Image-Formats"
670
671 \end_inset
672
673 .
674 \end_layout
675
676 \end_inset
677
678  within a separate, horizontally centered paragraph:
679 \end_layout
680
681 \begin_layout Standard
682 \align center
683 \begin_inset Graphics
684         filename clipart/2D-intensity-plot.pdf
685         scaleBeforeRotation
686         rotateOrigin center
687
688 \end_inset
689
690
691 \end_layout
692
693 \begin_layout Standard
694 This is the same image like the one above but in draft mode:
695 \end_layout
696
697 \begin_layout Standard
698 \align center
699 \begin_inset Graphics
700         filename clipart/2D-intensity-plot.pdf
701         draft
702         scaleBeforeRotation
703         rotateOrigin center
704
705 \end_inset
706
707
708 \end_layout
709
710 \begin_layout Standard
711 \begin_inset Newpage newpage
712 \end_inset
713
714
715 \end_layout
716
717 \begin_layout Section
718 Figure Floats
719 \begin_inset CommandInset label
720 LatexCommand label
721 name "sec:Figure-Floats"
722
723 \end_inset
724
725
726 \begin_inset Index idx
727 status collapsed
728
729 \begin_layout Plain Layout
730 Floats ! Figures
731 \end_layout
732
733 \end_inset
734
735
736 \begin_inset Index idx
737 status collapsed
738
739 \begin_layout Plain Layout
740 Figures ! Floats
741 \end_layout
742
743 \end_inset
744
745
746 \end_layout
747
748 \begin_layout Standard
749 For general explanations about floats, have a look at section
750 \begin_inset space ~
751 \end_inset
752
753
754 \begin_inset CommandInset ref
755 LatexCommand ref
756 reference "sec:FloatIntroduction"
757
758 \end_inset
759
760 .
761 \end_layout
762
763 \begin_layout Standard
764 The toolbar button 
765 \begin_inset Info
766 type  "icon"
767 arg   "float-insert figure"
768 \end_inset
769
770  and the menu 
771 \family sans
772 Insert\SpecialChar menuseparator
773 Float\SpecialChar menuseparator
774 Figure
775 \family default
776  inserts a float with a caption that has the label 
777 \begin_inset Quotes eld
778 \end_inset
779
780 Figure
781 \begin_inset space ~
782 \end_inset
783
784 #:
785 \begin_inset Quotes erd
786 \end_inset
787
788  (# is the actual number).
789  You can insert the image above the caption, like in Figure
790 \begin_inset space ~
791 \end_inset
792
793
794 \begin_inset CommandInset ref
795 LatexCommand ref
796 reference "fig:A-star-in"
797
798 \end_inset
799
800  or below the caption, like in Figure
801 \begin_inset space ~
802 \end_inset
803
804
805 \begin_inset CommandInset ref
806 LatexCommand ref
807 reference "fig:A-3D-object"
808
809 \end_inset
810
811 .
812  More about caption placement is described in section
813 \begin_inset space ~
814 \end_inset
815
816
817 \begin_inset CommandInset ref
818 LatexCommand ref
819 reference "sec:Caption-Placement"
820
821 \end_inset
822
823 .
824 \end_layout
825
826 \begin_layout Standard
827 \begin_inset Float figure
828 placement document
829 alignment document
830 wide false
831 sideways false
832 status open
833
834 \begin_layout Plain Layout
835 \align center
836 \begin_inset Graphics
837         filename clipart/Star-structure.pdf
838         lyxscale 60
839         width 50col%
840         scaleBeforeRotation
841         rotateOrigin center
842
843 \end_inset
844
845
846 \end_layout
847
848 \begin_layout Plain Layout
849 \begin_inset Caption Standard
850
851 \begin_layout Plain Layout
852 \begin_inset CommandInset label
853 LatexCommand label
854 name "fig:A-star-in"
855
856 \end_inset
857
858 A star in a float.
859 \end_layout
860
861 \end_inset
862
863
864 \end_layout
865
866 \end_inset
867
868
869 \end_layout
870
871 \begin_layout Standard
872 \begin_inset Float figure
873 placement document
874 alignment document
875 wide false
876 sideways false
877 status open
878
879 \begin_layout Plain Layout
880 \begin_inset Caption Standard
881
882 \begin_layout Plain Layout
883 \begin_inset CommandInset label
884 LatexCommand label
885 name "fig:A-3D-object"
886
887 \end_inset
888
889 A 3D object.
890 \end_layout
891
892 \end_inset
893
894
895 \end_layout
896
897 \begin_layout Plain Layout
898 \align center
899 \begin_inset Graphics
900         filename clipart/3D-structure-distort.pdf
901         lyxscale 60
902         scale 80
903         scaleBeforeRotation
904         rotateOrigin center
905
906 \end_inset
907
908
909 \end_layout
910
911 \end_inset
912
913
914 \end_layout
915
916 \begin_layout Standard
917 \begin_inset Index idx
918 status collapsed
919
920 \begin_layout Plain Layout
921 References ! to Figures
922 \end_layout
923
924 \end_inset
925
926 Figure
927 \begin_inset space ~
928 \end_inset
929
930
931 \begin_inset CommandInset ref
932 LatexCommand ref
933 reference "fig:A-star-in"
934
935 \end_inset
936
937  and 
938 \begin_inset CommandInset ref
939 LatexCommand ref
940 reference "fig:A-3D-object"
941
942 \end_inset
943
944  are examples of referenced figures.
945  Figures can be referenced in the text by referencing their label.
946  To do this insert a label in the caption using the menu 
947 \family sans
948 Insert\SpecialChar menuseparator
949 Label
950 \family default
951  or the toolbar button 
952 \begin_inset Info
953 type  "icon"
954 arg   "label-insert"
955 \end_inset
956
957 .
958  You can now refer to the label using the menu 
959 \family sans
960 Insert\SpecialChar menuseparator
961 Cross
962 \begin_inset space ~
963 \end_inset
964
965 reference
966 \family default
967  or the toolbar button 
968 \begin_inset Info
969 type  "icon"
970 arg   "dialog-show-new-inset ref"
971 \end_inset
972
973 .
974  It is important to use references to floats, rather than using vague references
975  like 
976 \begin_inset Quotes eld
977 \end_inset
978
979 the figure above
980 \begin_inset Quotes erd
981 \end_inset
982
983 , because \SpecialChar LaTeX
984  will reposition the floats in the final document and it might
985  not be 
986 \begin_inset Quotes eld
987 \end_inset
988
989 above
990 \begin_inset Quotes erd
991 \end_inset
992
993  at all.
994 \begin_inset Newline newline
995 \end_inset
996
997 Referencing is explained in detail in section
998 \begin_inset space ~
999 \end_inset
1000
1001
1002 \begin_inset CommandInset ref
1003 LatexCommand ref
1004 reference "sec:Referencing-Floats"
1005
1006 \end_inset
1007
1008 .
1009 \end_layout
1010
1011 \begin_layout Standard
1012 Normally only one image is inserted to a figure float, but sometimes you
1013  might want to use two images with separate subcaptions.
1014  This can be done by inserting image floats into existing image floats.
1015  Note that only the main caption of the float is added to the List of Figures.
1016  Figure
1017 \begin_inset space ~
1018 \end_inset
1019
1020
1021 \begin_inset CommandInset ref
1022 LatexCommand ref
1023 reference "fig:Two-distorted-images"
1024
1025 \end_inset
1026
1027  is an example of a figure float with two images set side by side.
1028  You can also set the images one below the other.
1029  Figure
1030 \begin_inset space ~
1031 \end_inset
1032
1033
1034 \begin_inset CommandInset ref
1035 LatexCommand ref
1036 reference "fig:Pink-object"
1037
1038 \end_inset
1039
1040  and 
1041 \begin_inset CommandInset ref
1042 LatexCommand ref
1043 reference "fig:A-star"
1044
1045 \end_inset
1046
1047  are the subfigures.
1048 \end_layout
1049
1050 \begin_layout Standard
1051 \begin_inset Float figure
1052 placement document
1053 alignment document
1054 wide false
1055 sideways false
1056 status open
1057
1058 \begin_layout Plain Layout
1059 \begin_inset space \hfill{}
1060 \end_inset
1061
1062
1063 \begin_inset Float figure
1064 placement document
1065 alignment document
1066 wide false
1067 sideways false
1068 status collapsed
1069
1070 \begin_layout Plain Layout
1071 \begin_inset Caption Standard
1072
1073 \begin_layout Plain Layout
1074 \begin_inset CommandInset label
1075 LatexCommand label
1076 name "fig:Pink-object"
1077
1078 \end_inset
1079
1080 Pink object.
1081 \end_layout
1082
1083 \end_inset
1084
1085
1086 \end_layout
1087
1088 \begin_layout Plain Layout
1089 \begin_inset Graphics
1090         filename clipart/3D-structure-distort.pdf
1091         width 45col%
1092         scaleBeforeRotation
1093         groupId distorted
1094
1095 \end_inset
1096
1097
1098 \end_layout
1099
1100 \end_inset
1101
1102
1103 \begin_inset space \hfill{}
1104 \end_inset
1105
1106
1107 \begin_inset Float figure
1108 placement document
1109 alignment document
1110 wide false
1111 sideways false
1112 status collapsed
1113
1114 \begin_layout Plain Layout
1115 \begin_inset Caption Standard
1116
1117 \begin_layout Plain Layout
1118 \begin_inset CommandInset label
1119 LatexCommand label
1120 name "fig:A-star"
1121
1122 \end_inset
1123
1124 A star.
1125 \end_layout
1126
1127 \end_inset
1128
1129
1130 \end_layout
1131
1132 \begin_layout Plain Layout
1133 \begin_inset Graphics
1134         filename clipart/Star-structure.pdf
1135         width 45col%
1136         scaleBeforeRotation
1137         groupId distorted
1138
1139 \end_inset
1140
1141
1142 \end_layout
1143
1144 \end_inset
1145
1146
1147 \begin_inset space \hfill{}
1148 \end_inset
1149
1150
1151 \end_layout
1152
1153 \begin_layout Plain Layout
1154 \begin_inset Caption Standard
1155
1156 \begin_layout Plain Layout
1157 \begin_inset CommandInset label
1158 LatexCommand label
1159 name "fig:Two-distorted-images"
1160
1161 \end_inset
1162
1163 Two distorted images.
1164  Both images are in the image settings group named 
1165 \begin_inset Quotes eld
1166 \end_inset
1167
1168 distorted
1169 \begin_inset Quotes erd
1170 \end_inset
1171
1172 .
1173 \end_layout
1174
1175 \end_inset
1176
1177
1178 \end_layout
1179
1180 \end_inset
1181
1182
1183 \end_layout
1184
1185 \begin_layout Standard
1186 \begin_inset Newpage newpage
1187 \end_inset
1188
1189
1190 \end_layout
1191
1192 \begin_layout Section
1193 Image Formats
1194 \begin_inset CommandInset label
1195 LatexCommand label
1196 name "sec:Image-Formats"
1197
1198 \end_inset
1199
1200
1201 \begin_inset Index idx
1202 status collapsed
1203
1204 \begin_layout Plain Layout
1205 Image Formats
1206 \end_layout
1207
1208 \end_inset
1209
1210
1211 \begin_inset Index idx
1212 status collapsed
1213
1214 \begin_layout Plain Layout
1215 Figures ! Image Formats
1216 \end_layout
1217
1218 \end_inset
1219
1220
1221 \end_layout
1222
1223 \begin_layout Standard
1224 You can insert images in any known file format.
1225  But as explained in appendix
1226 \begin_inset space ~
1227 \end_inset
1228
1229
1230 \begin_inset CommandInset ref
1231 LatexCommand ref
1232 reference "cha:Output-File-Formats"
1233
1234 \end_inset
1235
1236 , each output document format allows only a few image formats.
1237  \SpecialChar LyX
1238  uses therefore the program 
1239 \family typewriter
1240 ImageMagick
1241 \family default
1242  in the background to convert the images to the right format.
1243  To increase your work flow by avoiding these conversions in the background,
1244  you could choose to use only the image formats that can directly be embedded
1245  in the output file format.
1246  The output file formats are explained in appendix
1247 \begin_inset space ~
1248 \end_inset
1249
1250
1251 \begin_inset CommandInset ref
1252 LatexCommand ref
1253 reference "cha:Output-File-Formats"
1254
1255 \end_inset
1256
1257 .
1258 \end_layout
1259
1260 \begin_layout Standard
1261 Similar to fonts there are two types of image formats:
1262 \end_layout
1263
1264 \begin_layout Description
1265 Bitmap
1266 \begin_inset space ~
1267 \end_inset
1268
1269 images consist of pixel values, often in a compressed form.
1270  They are therefore not fully scalable and look pixelated in large zooms.
1271  Well-known bitmap image formats are 
1272 \begin_inset Quotes eld
1273 \end_inset
1274
1275 Graphics Interchange Format
1276 \begin_inset Quotes erd
1277 \end_inset
1278
1279  (GIF, file extension 
1280 \begin_inset Quotes eld
1281 \end_inset
1282
1283
1284 \family typewriter
1285 .gif
1286 \family default
1287
1288 \begin_inset Quotes erd
1289 \end_inset
1290
1291 )
1292 \begin_inset Index idx
1293 status collapsed
1294
1295 \begin_layout Plain Layout
1296 GIF|see
1297 \begin_inset ERT
1298 status collapsed
1299
1300 \begin_layout Plain Layout
1301
1302 {
1303 \end_layout
1304
1305 \end_inset
1306
1307 Image formats
1308 \begin_inset ERT
1309 status collapsed
1310
1311 \begin_layout Plain Layout
1312
1313 }
1314 \end_layout
1315
1316 \end_inset
1317
1318
1319 \end_layout
1320
1321 \end_inset
1322
1323
1324 \begin_inset Quotes eld
1325 \end_inset
1326
1327 Portable Network Graphics
1328 \begin_inset Quotes erd
1329 \end_inset
1330
1331  (PNG, file extension 
1332 \begin_inset Quotes eld
1333 \end_inset
1334
1335
1336 \family typewriter
1337 .png
1338 \family default
1339
1340 \begin_inset Quotes erd
1341 \end_inset
1342
1343 )
1344 \begin_inset Index idx
1345 status collapsed
1346
1347 \begin_layout Plain Layout
1348 PNG|see
1349 \begin_inset ERT
1350 status collapsed
1351
1352 \begin_layout Plain Layout
1353
1354 {
1355 \end_layout
1356
1357 \end_inset
1358
1359 Image formats
1360 \begin_inset ERT
1361 status collapsed
1362
1363 \begin_layout Plain Layout
1364
1365 }
1366 \end_layout
1367
1368 \end_inset
1369
1370
1371 \end_layout
1372
1373 \end_inset
1374
1375 , and 
1376 \begin_inset Quotes eld
1377 \end_inset
1378
1379 Joint Photographic Experts Group
1380 \begin_inset Quotes erd
1381 \end_inset
1382
1383  (JPG, file extension 
1384 \begin_inset Quotes eld
1385 \end_inset
1386
1387
1388 \family typewriter
1389 .jpg
1390 \family default
1391
1392 \begin_inset Quotes erd
1393 \end_inset
1394
1395  or 
1396 \begin_inset Quotes eld
1397 \end_inset
1398
1399
1400 \family typewriter
1401 .jpeg
1402 \family default
1403
1404 \begin_inset Quotes erd
1405 \end_inset
1406
1407 )
1408 \begin_inset Index idx
1409 status collapsed
1410
1411 \begin_layout Plain Layout
1412 JPG|see
1413 \begin_inset ERT
1414 status collapsed
1415
1416 \begin_layout Plain Layout
1417
1418 {
1419 \end_layout
1420
1421 \end_inset
1422
1423 Image formats
1424 \begin_inset ERT
1425 status collapsed
1426
1427 \begin_layout Plain Layout
1428
1429 }
1430 \end_layout
1431
1432 \end_inset
1433
1434
1435 \end_layout
1436
1437 \end_inset
1438
1439 .
1440 \end_layout
1441
1442 \begin_layout Description
1443 Vector
1444 \begin_inset space ~
1445 \end_inset
1446
1447 images consist of vectors and can therefore be scaled to any size without
1448  data loss.
1449  The scaling ability is necessary if you want to create presentations, because
1450  presentations are always scaled by the video projector.
1451  Scaling is also useful for online documents to let the user zoom into diagrams.
1452 \begin_inset Newline newline
1453 \end_inset
1454
1455 Well-known scalable image formats are 
1456 \begin_inset Quotes eld
1457 \end_inset
1458
1459 Scalable Vector Graphics
1460 \begin_inset Quotes erd
1461 \end_inset
1462
1463  (SVG, file extension 
1464 \begin_inset Quotes eld
1465 \end_inset
1466
1467
1468 \family typewriter
1469 .svg
1470 \family default
1471
1472 \begin_inset Quotes erd
1473 \end_inset
1474
1475 )
1476 \begin_inset Index idx
1477 status collapsed
1478
1479 \begin_layout Plain Layout
1480 SVG|see
1481 \begin_inset ERT
1482 status collapsed
1483
1484 \begin_layout Plain Layout
1485
1486 {
1487 \end_layout
1488
1489 \end_inset
1490
1491 Image formats
1492 \begin_inset ERT
1493 status collapsed
1494
1495 \begin_layout Plain Layout
1496
1497 }
1498 \end_layout
1499
1500 \end_inset
1501
1502
1503 \end_layout
1504
1505 \end_inset
1506
1507
1508 \begin_inset Quotes eld
1509 \end_inset
1510
1511 Encapsulated PostScript
1512 \begin_inset Quotes erd
1513 \end_inset
1514
1515  (EPS, file extension 
1516 \begin_inset Quotes eld
1517 \end_inset
1518
1519
1520 \family typewriter
1521 .eps
1522 \family default
1523
1524 \begin_inset Quotes erd
1525 \end_inset
1526
1527 )
1528 \begin_inset Index idx
1529 status collapsed
1530
1531 \begin_layout Plain Layout
1532 EPS|see
1533 \begin_inset ERT
1534 status collapsed
1535
1536 \begin_layout Plain Layout
1537
1538 {
1539 \end_layout
1540
1541 \end_inset
1542
1543 Image formats
1544 \begin_inset ERT
1545 status collapsed
1546
1547 \begin_layout Plain Layout
1548
1549 }
1550 \end_layout
1551
1552 \end_inset
1553
1554
1555 \end_layout
1556
1557 \end_inset
1558
1559
1560 \begin_inset Quotes eld
1561 \end_inset
1562
1563 Portable Document Format
1564 \begin_inset Quotes erd
1565 \end_inset
1566
1567  (PDF, file extension 
1568 \begin_inset Quotes eld
1569 \end_inset
1570
1571
1572 \family typewriter
1573 .pdf
1574 \family default
1575
1576 \begin_inset Quotes erd
1577 \end_inset
1578
1579 )
1580 \begin_inset Index idx
1581 status collapsed
1582
1583 \begin_layout Plain Layout
1584 PDF
1585 \end_layout
1586
1587 \end_inset
1588
1589 , and 
1590 \begin_inset Quotes eld
1591 \end_inset
1592
1593 Windows Metafile
1594 \begin_inset Quotes erd
1595 \end_inset
1596
1597  (WMF, file extension 
1598 \begin_inset Quotes eld
1599 \end_inset
1600
1601
1602 \family typewriter
1603 .wmf
1604 \family default
1605
1606 \begin_inset Quotes erd
1607 \end_inset
1608
1609 )
1610 \begin_inset Index idx
1611 status collapsed
1612
1613 \begin_layout Plain Layout
1614 WMF|see
1615 \begin_inset ERT
1616 status collapsed
1617
1618 \begin_layout Plain Layout
1619
1620 {
1621 \end_layout
1622
1623 \end_inset
1624
1625 Image formats
1626 \begin_inset ERT
1627 status collapsed
1628
1629 \begin_layout Plain Layout
1630
1631 }
1632 \end_layout
1633
1634 \end_inset
1635
1636
1637 \end_layout
1638
1639 \end_inset
1640
1641 .
1642  We wrote 
1643 \begin_inset Quotes eld
1644 \end_inset
1645
1646 can be
1647 \begin_inset Quotes erd
1648 \end_inset
1649
1650 , because you can convert any bitmap image to a PDF or EPS-image and the
1651  result will still be a bitmap image.
1652  In such cases only a header with the image properties is added to the original
1653  image
1654 \begin_inset Foot
1655 status collapsed
1656
1657 \begin_layout Plain Layout
1658 In the case of PDF, the original image is additionally compressed.
1659 \end_layout
1660
1661 \end_inset
1662
1663 .
1664  The PDF-files generated by 
1665 \family typewriter
1666 Adobe Photoshop
1667 \family default
1668  are for example bitmap images.
1669 \end_layout
1670
1671 \begin_layout Standard
1672 Normally it is not possible to convert a bitmap image into a scalable one,
1673  only vice versa.
1674  Only the image formats PDF and EPS can directly be embedded to PDF and
1675  PostScript output files, respectively.
1676  SVG and WMF-images are recalculated to bitmaps when the output file is
1677  generated because there is currently no adequate WMF/SVG
1678 \begin_inset Formula $\to$
1679 \end_inset
1680
1681 PDF/EPS converter available.
1682 \end_layout
1683
1684 \begin_layout Chapter
1685 Tables
1686 \begin_inset Index idx
1687 status collapsed
1688
1689 \begin_layout Plain Layout
1690 Table
1691 \end_layout
1692
1693 \end_inset
1694
1695
1696 \end_layout
1697
1698 \begin_layout Section
1699 Introduction
1700 \begin_inset Index idx
1701 status collapsed
1702
1703 \begin_layout Plain Layout
1704 Table ! Introduction
1705 \end_layout
1706
1707 \end_inset
1708
1709
1710 \end_layout
1711
1712 \begin_layout Standard
1713 You can insert a table using either the toolbar button 
1714 \begin_inset Info
1715 type  "icon"
1716 arg   "tabular-insert"
1717 \end_inset
1718
1719  or the menu 
1720 \family sans
1721 Insert\SpecialChar menuseparator
1722 Table
1723 \family default
1724 .
1725  The toolbar button offers you a graphical selection: move the mouse to
1726  set the column/row number of the table that should be created and then
1727  press a mouse button.
1728  When you use the menu to create a table, a dialog will appear, asking you
1729  for the number of rows and columns
1730 \change_inserted -712698321 1554289643
1731 , and you can select a specific (border) style
1732 \change_unchanged
1733 .
1734 \change_deleted -712698321 1554289644
1735
1736 \begin_inset Newline newline
1737 \end_inset
1738
1739
1740 \change_inserted -712698321 1554289645
1741
1742 \end_layout
1743
1744 \begin_layout Standard
1745 The default table has lines around any cell and the first row appears separated
1746  from the rest of the table.
1747  This separation occurs due to a double line: The cells of the first row
1748  have a line below them and the cells of the second row have a line above
1749  them.
1750  Here is an example table:
1751 \end_layout
1752
1753 \begin_layout Standard
1754 \align center
1755 \begin_inset Tabular
1756 <lyxtabular version="3" rows="4" columns="4">
1757 <features tabularvalignment="middle">
1758 <column alignment="center" valignment="top">
1759 <column alignment="center" valignment="top">
1760 <column alignment="center" valignment="top">
1761 <column alignment="center" valignment="top">
1762 <row>
1763 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1764 \begin_inset Text
1765
1766 \begin_layout Plain Layout
1767
1768 \end_layout
1769
1770 \end_inset
1771 </cell>
1772 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1773 \begin_inset Text
1774
1775 \begin_layout Plain Layout
1776
1777 \family roman
1778 \series medium
1779 \shape up
1780 \size normal
1781 \emph off
1782 \bar no
1783 \noun off
1784 \color none
1785 1
1786 \end_layout
1787
1788 \end_inset
1789 </cell>
1790 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1791 \begin_inset Text
1792
1793 \begin_layout Plain Layout
1794 2
1795 \end_layout
1796
1797 \end_inset
1798 </cell>
1799 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1800 \begin_inset Text
1801
1802 \begin_layout Plain Layout
1803 3
1804 \end_layout
1805
1806 \end_inset
1807 </cell>
1808 </row>
1809 <row>
1810 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1811 \begin_inset Text
1812
1813 \begin_layout Plain Layout
1814
1815 \family roman
1816 \series medium
1817 \shape up
1818 \size normal
1819 \emph off
1820 \bar no
1821 \noun off
1822 \color none
1823 A
1824 \end_layout
1825
1826 \end_inset
1827 </cell>
1828 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1829 \begin_inset Text
1830
1831 \begin_layout Plain Layout
1832
1833 \end_layout
1834
1835 \end_inset
1836 </cell>
1837 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1838 \begin_inset Text
1839
1840 \begin_layout Plain Layout
1841
1842 \end_layout
1843
1844 \end_inset
1845 </cell>
1846 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1847 \begin_inset Text
1848
1849 \begin_layout Plain Layout
1850
1851 \end_layout
1852
1853 \end_inset
1854 </cell>
1855 </row>
1856 <row>
1857 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1858 \begin_inset Text
1859
1860 \begin_layout Plain Layout
1861
1862 \family roman
1863 \series medium
1864 \shape up
1865 \size normal
1866 \emph off
1867 \bar no
1868 \noun off
1869 \color none
1870 B
1871 \end_layout
1872
1873 \end_inset
1874 </cell>
1875 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1876 \begin_inset Text
1877
1878 \begin_layout Plain Layout
1879
1880 \end_layout
1881
1882 \end_inset
1883 </cell>
1884 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1885 \begin_inset Text
1886
1887 \begin_layout Plain Layout
1888
1889 \end_layout
1890
1891 \end_inset
1892 </cell>
1893 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1894 \begin_inset Text
1895
1896 \begin_layout Plain Layout
1897
1898 \end_layout
1899
1900 \end_inset
1901 </cell>
1902 </row>
1903 <row>
1904 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1905 \begin_inset Text
1906
1907 \begin_layout Plain Layout
1908
1909 \family roman
1910 \series medium
1911 \shape up
1912 \size normal
1913 \emph off
1914 \bar no
1915 \noun off
1916 \color none
1917 C
1918 \end_layout
1919
1920 \end_inset
1921 </cell>
1922 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1923 \begin_inset Text
1924
1925 \begin_layout Plain Layout
1926
1927 \end_layout
1928
1929 \end_inset
1930 </cell>
1931 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1932 \begin_inset Text
1933
1934 \begin_layout Plain Layout
1935
1936 \end_layout
1937
1938 \end_inset
1939 </cell>
1940 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1941 \begin_inset Text
1942
1943 \begin_layout Plain Layout
1944
1945 \end_layout
1946
1947 \end_inset
1948 </cell>
1949 </row>
1950 </lyxtabular>
1951
1952 \end_inset
1953
1954
1955 \end_layout
1956
1957 \begin_layout Standard
1958
1959 \change_inserted -712698321 1554289664
1960 This corresponds to the 
1961 \begin_inset Quotes eld
1962 \end_inset
1963
1964 Grid with Head
1965 \begin_inset Quotes erd
1966 \end_inset
1967
1968  table style listed in the style selection.
1969 \end_layout
1970
1971 \begin_layout Standard
1972
1973 \change_inserted -712698321 1554289664
1974 Other available styles include:
1975 \end_layout
1976
1977 \begin_layout Itemize
1978
1979 \change_inserted -712698321 1554289664
1980
1981 \begin_inset Quotes eld
1982 \end_inset
1983
1984 simple grid
1985 \begin_inset Quotes erd
1986 \end_inset
1987
1988  which looks line the above table, but without the first row being separated
1989  via double line,
1990 \end_layout
1991
1992 \begin_layout Itemize
1993
1994 \change_inserted -712698321 1554289664
1995 a border-less table with no lines at all,
1996 \end_layout
1997
1998 \begin_layout Itemize
1999
2000 \change_inserted -712698321 1554289664
2001 and a so-called 
2002 \begin_inset Quotes eld
2003 \end_inset
2004
2005 formal table
2006 \begin_inset Quotes erd
2007 \end_inset
2008
2009  as often used in professional publishing with horizontal lines only and
2010  bold top/bottom lines (see 
2011 \emph on
2012 Embedded Objects
2013 \emph default
2014  manual, section 
2015 \emph on
2016 Formal Tables
2017 \emph default
2018 ).
2019
2020 \change_inserted 630872221 1622640694
2021  It is also possible to have an horizontal (thin) Footline above the last
2022  line.
2023 \change_unchanged
2024
2025 \end_layout
2026
2027 \begin_layout Standard
2028
2029 \change_inserted -712698321 1554289664
2030 The default style used in the dialog as well as the style used by the toolbar
2031  button can be changed in 
2032 \family sans
2033 Document\SpecialChar menuseparator
2034 Settings\SpecialChar menuseparator
2035 Text Layout
2036 \family default
2037 .
2038  So if the default style above is not the one you need, you should alter
2039  this setting.
2040 \end_layout
2041
2042 \begin_layout Section
2043 Table Dialog
2044 \begin_inset Index idx
2045 status collapsed
2046
2047 \begin_layout Plain Layout
2048 Table ! Dialog
2049 \end_layout
2050
2051 \end_inset
2052
2053
2054 \end_layout
2055
2056 \begin_layout Standard
2057 You can alter a table by clicking on it with the right mouse button, which
2058  brings up the context menu.
2059  Under the menu entry 
2060 \family sans
2061 More
2062 \family default
2063  you can adjust the settings of that cell and row/column respectively where
2064  the cursor is currently placed.
2065  The context menu 
2066 \family sans
2067 More\SpecialChar menuseparator
2068 Settings
2069 \family default
2070  opens the table dialog where you can adjust more things.
2071  Most of the dialog options also work on selections.
2072  This means if you select more cells, columns or rows, the action is done
2073  for the whole selection.
2074  Note that there is a difference between selecting the 
2075 \emph on
2076 contents
2077 \emph default
2078  of the cell, and the cell itself.
2079 \begin_inset Newline newline
2080 \end_inset
2081
2082 With the dialog option 
2083 \family sans
2084 Immediate
2085 \begin_inset space ~
2086 \end_inset
2087
2088 Apply
2089 \family default
2090  every change you make in the dialog is directly applied.
2091  If you move the cursor to another table cell the dialog will then also
2092  be updated with the parameters of the new cell.
2093  If you change length values in the dialog you must press 
2094 \family sans
2095 Return
2096 \family default
2097  to get the change applied.
2098 \begin_inset Newline newline
2099 \end_inset
2100
2101 You can alter tables with the following tabs of the table dialog:
2102 \end_layout
2103
2104 \begin_layout Description
2105 Table
2106 \begin_inset space ~
2107 \end_inset
2108
2109 Settings Here you can set the table width
2110 \begin_inset Index idx
2111 status collapsed
2112
2113 \begin_layout Plain Layout
2114 Table ! Width
2115 \end_layout
2116
2117 \end_inset
2118
2119 , and the horizontal alignment and the width of the current column.
2120  The alignment 
2121 \family sans
2122 At
2123 \begin_inset space ~
2124 \end_inset
2125
2126 Decimal
2127 \begin_inset space ~
2128 \end_inset
2129
2130 Separator
2131 \family default
2132  is described in section
2133 \begin_inset space ~
2134 \end_inset
2135
2136
2137 \begin_inset CommandInset ref
2138 LatexCommand ref
2139 reference "subsec:Special-Cell-Alignment"
2140
2141 \end_inset
2142
2143 .
2144  When you have set a width you can also adjust the vertical alignment of
2145  the current row.
2146  A given width will allow the cell to have line breaks and multiple paragraphs
2147  of text, see sec.
2148 \begin_inset space \thinspace{}
2149 \end_inset
2150
2151
2152 \begin_inset CommandInset ref
2153 LatexCommand ref
2154 reference "subsec:Multiple-Lines-in"
2155
2156 \end_inset
2157
2158 .
2159  If you set no width, the column is as wide as the content of its widest
2160  cell.
2161 \begin_inset Newline newline
2162 \end_inset
2163
2164 Furthermore, you can mark one or multiple cells of one row as a multicolumn
2165  cell, see sec.
2166 \begin_inset space \thinspace{}
2167 \end_inset
2168
2169
2170 \begin_inset CommandInset ref
2171 LatexCommand ref
2172 reference "subsec:Multicolumns"
2173
2174 \end_inset
2175
2176  or the cells of one column as multirow cell, see sec.
2177 \begin_inset space \thinspace{}
2178 \end_inset
2179
2180
2181 \begin_inset CommandInset ref
2182 LatexCommand ref
2183 reference "subsec:Multirows"
2184
2185 \end_inset
2186
2187 .
2188 \begin_inset Newline newline
2189 \end_inset
2190
2191 The rotate check boxes rotate the current cell, a selection, or the whole
2192  table counter-clockwise by 90
2193 \begin_inset space \thinspace{}
2194 \end_inset
2195
2196 °.
2197  The rotation is not shown within \SpecialChar LyX
2198 , only in the output.
2199  For more information see sec.
2200 \begin_inset space \thinspace{}
2201 \end_inset
2202
2203
2204 \begin_inset CommandInset ref
2205 LatexCommand ref
2206 reference "sec:Rotated-Table-Cells"
2207
2208 \end_inset
2209
2210 .
2211 \begin_inset Newline newline
2212 \end_inset
2213
2214
2215 \begin_inset Note Greyedout
2216 status open
2217
2218 \begin_layout Plain Layout
2219
2220 \series bold
2221 Note:
2222 \series default
2223  Not all DVI-viewers are able to display rotations.
2224 \end_layout
2225
2226 \end_inset
2227
2228
2229 \begin_inset Newline newline
2230 \end_inset
2231
2232 The table-wide vertical alignment is used for tables within text lines:
2233 \begin_inset Newline newline
2234 \end_inset
2235
2236 A line with tables with different alignments: 
2237 \begin_inset Tabular
2238 <lyxtabular version="3" rows="2" columns="2">
2239 <features tabularvalignment="top">
2240 <column alignment="center" valignment="top" width="0pt">
2241 <column alignment="center" valignment="top">
2242 <row>
2243 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2244 \begin_inset Text
2245
2246 \begin_layout Plain Layout
2247
2248 \end_layout
2249
2250 \end_inset
2251 </cell>
2252 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2253 \begin_inset Text
2254
2255 \begin_layout Plain Layout
2256
2257 \family roman
2258 \series medium
2259 \shape up
2260 \size normal
2261 \emph off
2262 \bar no
2263 \noun off
2264 \color none
2265 1
2266 \end_layout
2267
2268 \end_inset
2269 </cell>
2270 </row>
2271 <row>
2272 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2273 \begin_inset Text
2274
2275 \begin_layout Plain Layout
2276
2277 \family roman
2278 \series medium
2279 \shape up
2280 \size normal
2281 \emph off
2282 \bar no
2283 \noun off
2284 \color none
2285 A
2286 \end_layout
2287
2288 \end_inset
2289 </cell>
2290 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2291 \begin_inset Text
2292
2293 \begin_layout Plain Layout
2294
2295 \end_layout
2296
2297 \end_inset
2298 </cell>
2299 </row>
2300 </lyxtabular>
2301
2302 \end_inset
2303
2304  
2305 \begin_inset Tabular
2306 <lyxtabular version="3" rows="2" columns="2">
2307 <features tabularvalignment="middle">
2308 <column alignment="center" valignment="top">
2309 <column alignment="center" valignment="top">
2310 <row>
2311 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2312 \begin_inset Text
2313
2314 \begin_layout Plain Layout
2315
2316 \end_layout
2317
2318 \end_inset
2319 </cell>
2320 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2321 \begin_inset Text
2322
2323 \begin_layout Plain Layout
2324
2325 \family roman
2326 \series medium
2327 \shape up
2328 \size normal
2329 \emph off
2330 \bar no
2331 \noun off
2332 \color none
2333 1
2334 \end_layout
2335
2336 \end_inset
2337 </cell>
2338 </row>
2339 <row>
2340 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2341 \begin_inset Text
2342
2343 \begin_layout Plain Layout
2344
2345 \family roman
2346 \series medium
2347 \shape up
2348 \size normal
2349 \emph off
2350 \bar no
2351 \noun off
2352 \color none
2353 A
2354 \end_layout
2355
2356 \end_inset
2357 </cell>
2358 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2359 \begin_inset Text
2360
2361 \begin_layout Plain Layout
2362
2363 \end_layout
2364
2365 \end_inset
2366 </cell>
2367 </row>
2368 </lyxtabular>
2369
2370 \end_inset
2371
2372  
2373 \begin_inset Tabular
2374 <lyxtabular version="3" rows="2" columns="2">
2375 <features tabularvalignment="bottom">
2376 <column alignment="center" valignment="top" width="0pt">
2377 <column alignment="center" valignment="top">
2378 <row>
2379 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2380 \begin_inset Text
2381
2382 \begin_layout Plain Layout
2383
2384 \end_layout
2385
2386 \end_inset
2387 </cell>
2388 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2389 \begin_inset Text
2390
2391 \begin_layout Plain Layout
2392
2393 \family roman
2394 \series medium
2395 \shape up
2396 \size normal
2397 \emph off
2398 \bar no
2399 \noun off
2400 \color none
2401 1
2402 \end_layout
2403
2404 \end_inset
2405 </cell>
2406 </row>
2407 <row>
2408 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2409 \begin_inset Text
2410
2411 \begin_layout Plain Layout
2412
2413 \family roman
2414 \series medium
2415 \shape up
2416 \size normal
2417 \emph off
2418 \bar no
2419 \noun off
2420 \color none
2421 A
2422 \end_layout
2423
2424 \end_inset
2425 </cell>
2426 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2427 \begin_inset Text
2428
2429 \begin_layout Plain Layout
2430
2431 \end_layout
2432
2433 \end_inset
2434 </cell>
2435 </row>
2436 </lyxtabular>
2437
2438 \end_inset
2439
2440
2441 \begin_inset Newline newline
2442 \end_inset
2443
2444 It is also possible to enter a \SpecialChar LaTeX
2445 -argument which is needed for special table
2446  formattings, see sec.
2447 \begin_inset space \thinspace{}
2448 \end_inset
2449
2450
2451 \begin_inset CommandInset ref
2452 LatexCommand ref
2453 reference "subsec:Multicolumn-Calculations"
2454
2455 \end_inset
2456
2457  and 
2458 \begin_inset CommandInset ref
2459 LatexCommand ref
2460 reference "sec:Colored-Tables"
2461
2462 \end_inset
2463
2464 .
2465 \end_layout
2466
2467 \begin_layout Description
2468 Borders In this tab you can add and delete border lines for the current
2469  row/column.
2470 \begin_inset Newline newline
2471 \end_inset
2472
2473 Using the style option 
2474 \family sans
2475 Formal
2476 \family default
2477  will convert the table to a formal table as described in sec.
2478 \begin_inset space \thinspace{}
2479 \end_inset
2480
2481
2482 \begin_inset CommandInset ref
2483 LatexCommand ref
2484 reference "sec:Formal-Tables"
2485
2486 \end_inset
2487
2488 .
2489 \begin_inset Newline newline
2490 \end_inset
2491
2492 You can also add space here to table rows as described in sec.
2493 \begin_inset space \thinspace{}
2494 \end_inset
2495
2496
2497 \begin_inset CommandInset ref
2498 LatexCommand ref
2499 reference "subsec:Row-Spacing"
2500
2501 \end_inset
2502
2503 .
2504 \end_layout
2505
2506 \begin_layout Description
2507 Multi-page
2508 \begin_inset space ~
2509 \end_inset
2510
2511 table This tab is to make a table a multi-page table that can run over several
2512  pages.
2513  Sections
2514 \begin_inset space ~
2515 \end_inset
2516
2517
2518 \begin_inset CommandInset ref
2519 LatexCommand ref
2520 reference "sec:Multi-page-Tables"
2521
2522 \end_inset
2523
2524  and 
2525 \begin_inset CommandInset ref
2526 LatexCommand ref
2527 reference "sec:Special-Longtable-Issues"
2528
2529 \end_inset
2530
2531  describe the multi-page table features in detail.
2532 \end_layout
2533
2534 \begin_layout Section
2535 Table Toolbar
2536 \begin_inset Index idx
2537 status collapsed
2538
2539 \begin_layout Plain Layout
2540 Table ! Toolbar
2541 \end_layout
2542
2543 \end_inset
2544
2545
2546 \end_layout
2547
2548 \begin_layout Standard
2549 The table toolbar is an alternative to the table dialog to be able to alter
2550  tables faster.
2551  It should normally appear at the bottom of \SpecialChar LyX
2552 's main window when the cursor
2553  is inside a table.
2554  You can alternatively switch it on to appear always, by right-clicking
2555  in \SpecialChar LyX
2556 's main menu bar.
2557 \end_layout
2558
2559 \begin_layout Standard
2560 The toolbar has the following icons:
2561 \end_layout
2562
2563 \begin_layout Labeling
2564 \labelwidthstring 00.00.0000
2565 \begin_inset Info
2566 type  "icon"
2567 arg   "tabular-feature append-row"
2568 \end_inset
2569
2570  adds a row below the current cell or selection
2571 \end_layout
2572
2573 \begin_layout Labeling
2574 \labelwidthstring 00.00.0000
2575 \begin_inset Info
2576 type  "icon"
2577 arg   "tabular-feature append-column"
2578 \end_inset
2579
2580  adds a column right beside the current cell or selection
2581 \end_layout
2582
2583 \begin_layout Labeling
2584 \labelwidthstring 00.00.0000
2585 \begin_inset Info
2586 type  "icon"
2587 arg   "tabular-feature delete-row"
2588 \end_inset
2589
2590  deletes the current row or selection
2591 \end_layout
2592
2593 \begin_layout Labeling
2594 \labelwidthstring 00.00.0000
2595 \begin_inset Info
2596 type  "icon"
2597 arg   "tabular-feature delete-column"
2598 \end_inset
2599
2600  deletes the current column or selection
2601 \end_layout
2602
2603 \begin_layout Labeling
2604 \labelwidthstring 00.00.0000
2605 \begin_inset Info
2606 type  "icon"
2607 arg   "tabular-feature move-row-up"
2608 \end_inset
2609
2610  moves the row up
2611 \end_layout
2612
2613 \begin_layout Labeling
2614 \labelwidthstring 00.00.0000
2615 \begin_inset Info
2616 type  "icon"
2617 arg   "tabular-feature move-column-left"
2618 \end_inset
2619
2620  moves the column to the left
2621 \end_layout
2622
2623 \begin_layout Labeling
2624 \labelwidthstring 00.00.0000
2625 \begin_inset Info
2626 type  "icon"
2627 arg   "tabular-feature move-row-down"
2628 \end_inset
2629
2630  moves the row down
2631 \end_layout
2632
2633 \begin_layout Labeling
2634 \labelwidthstring 00.00.0000
2635 \begin_inset Info
2636 type  "icon"
2637 arg   "tabular-feature move-column-right"
2638 \end_inset
2639
2640  moves the column to the right
2641 \end_layout
2642
2643 \begin_layout Labeling
2644 \labelwidthstring 00.00.0000
2645 \begin_inset Info
2646 type  "icon"
2647 arg   "tabular-feature toggle-line-top"
2648 \end_inset
2649
2650  
2651 \change_deleted -1382599118 1647157945
2652 adds
2653 \change_inserted -1382599118 1647157946
2654 toggles
2655 \change_unchanged
2656  a line at the top of
2657 \change_inserted -1382599118 1647158116
2658  every cell for
2659 \change_unchanged
2660  the current
2661 \change_inserted -1382599118 1647157889
2662 ly
2663 \change_deleted -1382599118 1647157917
2664  cell / row or of a
2665 \change_unchanged
2666  select
2667 \change_deleted -1382599118 1647157923
2668 ion
2669 \change_inserted -1382599118 1647157925
2670 ed cells
2671 \change_unchanged
2672
2673 \end_layout
2674
2675 \begin_layout Labeling
2676 \labelwidthstring 00.00.0000
2677 \begin_inset Info
2678 type  "icon"
2679 arg   "tabular-feature toggle-line-bottom"
2680 \end_inset
2681
2682  
2683 \change_deleted -1382599118 1647157963
2684 adds
2685 \change_inserted -1382599118 1647157964
2686 toggles
2687 \change_unchanged
2688  a line at the bottom of 
2689 \change_inserted -1382599118 1647158114
2690 every cell for 
2691 \change_unchanged
2692 the current
2693 \change_inserted -1382599118 1647157991
2694 ly
2695 \change_deleted -1382599118 1647158003
2696  cell / row or of a
2697 \change_unchanged
2698  select
2699 \change_deleted -1382599118 1647158007
2700 ion
2701 \change_inserted -1382599118 1647158009
2702 ed cells
2703 \change_unchanged
2704
2705 \end_layout
2706
2707 \begin_layout Labeling
2708 \labelwidthstring 00.00.0000
2709 \begin_inset Info
2710 type  "icon"
2711 arg   "tabular-feature toggle-line-left"
2712 \end_inset
2713
2714  
2715 \change_deleted -1382599118 1647157971
2716 adds
2717 \change_inserted -1382599118 1647157972
2718 toggles
2719 \change_unchanged
2720  a line at the left side of 
2721 \change_inserted -1382599118 1647158111
2722 every cell for 
2723 \change_unchanged
2724 the current
2725 \change_inserted -1382599118 1647158027
2726 ly
2727 \change_deleted -1382599118 1647158069
2728  cell / row or of a
2729 \change_unchanged
2730  select
2731 \change_deleted -1382599118 1647158043
2732 ion
2733 \change_inserted -1382599118 1647158044
2734 ed cells
2735 \change_unchanged
2736
2737 \end_layout
2738
2739 \begin_layout Labeling
2740 \labelwidthstring 00.00.0000
2741 \begin_inset Info
2742 type  "icon"
2743 arg   "tabular-feature toggle-line-right"
2744 \end_inset
2745
2746  
2747 \change_deleted -1382599118 1647157974
2748 adds
2749 \change_inserted -1382599118 1647157975
2750 toggles
2751 \change_unchanged
2752  a line at the right side of 
2753 \change_inserted -1382599118 1647158109
2754 every cell for 
2755 \change_unchanged
2756 the current
2757 \change_inserted -1382599118 1647158061
2758 ly
2759 \change_deleted -1382599118 1647158072
2760  cell / row or of a
2761 \change_unchanged
2762  select
2763 \change_deleted -1382599118 1647158078
2764 ion
2765 \change_inserted -1382599118 1647158082
2766 ed cells
2767 \change_inserted -712698321 1554289731
2768
2769 \end_layout
2770
2771 \begin_layout Labeling
2772 \labelwidthstring 00.00.0000
2773
2774 \change_inserted -712698321 1554289910
2775 \begin_inset Info
2776 type  "icon"
2777 arg   "tabular-feature toggle-border-lines"
2778 \end_inset
2779
2780  
2781 \change_deleted -1382599118 1647157966
2782 adds
2783 \change_inserted -1382599118 1647157967
2784 toggles
2785 \change_inserted -712698321 1554289910
2786  a border around the currently selected cells
2787 \change_inserted -1382599118 1647040213
2788
2789 \end_layout
2790
2791 \begin_layout Labeling
2792 \labelwidthstring 00.00.0000
2793
2794 \change_inserted -1382599118 1647158092
2795 \begin_inset Info
2796 type  "icon"
2797 arg   "tabular-feature toggle-inner-lines"
2798 \end_inset
2799
2800  toggles inner lines for the currently selected cells
2801 \change_unchanged
2802
2803 \end_layout
2804
2805 \begin_layout Labeling
2806 \labelwidthstring 00.00.0000
2807 \begin_inset Info
2808 type  "icon"
2809 arg   "tabular-feature toggle-all-lines"
2810 \end_inset
2811
2812  adds lines around the current or selected cells - if the current cell is
2813  not a multicolumn cell this also affects the current row and column
2814 \end_layout
2815
2816 \begin_layout Labeling
2817 \labelwidthstring 00.00.0000
2818 \begin_inset Info
2819 type  "icon"
2820 arg   "tabular-feature unset-all-lines"
2821 \end_inset
2822
2823  deletes all lines of the current or selected cells - if the current cell
2824  is not a multicolumn cell this also affects the current row and column
2825 \change_inserted -712698321 1554289920
2826
2827 \end_layout
2828
2829 \begin_layout Labeling
2830 \labelwidthstring 00.00.0000
2831
2832 \change_inserted -712698321 1554292586
2833 \begin_inset Info
2834 type  "icon"
2835 arg   "tabular-feature reset-formal-default"
2836 \end_inset
2837
2838  If using a formal table, this resets the border to its default (only horizontal
2839  lines in top and bottom rows)
2840 \change_unchanged
2841
2842 \end_layout
2843
2844 \begin_layout Labeling
2845 \labelwidthstring 00.00.0000
2846 \begin_inset Info
2847 type  "icon"
2848 arg   "tabular-feature m-align-left"
2849 \end_inset
2850
2851  left-aligns the content of the current cell / column
2852 \end_layout
2853
2854 \begin_layout Labeling
2855 \labelwidthstring 00.00.0000
2856 \begin_inset Info
2857 type  "icon"
2858 arg   "tabular-feature m-align-center"
2859 \end_inset
2860
2861  centers the content of the current cell / column horizontally
2862 \end_layout
2863
2864 \begin_layout Labeling
2865 \labelwidthstring 00.00.0000
2866 \begin_inset Info
2867 type  "icon"
2868 arg   "tabular-feature m-align-right"
2869 \end_inset
2870
2871  right-aligns the content of the current cell / column
2872 \end_layout
2873
2874 \begin_layout Labeling
2875 \labelwidthstring 00.00.0000
2876 \begin_inset Info
2877 type  "icon"
2878 arg   "tabular-feature align-decimal"
2879 \end_inset
2880
2881  aligns the content of the current column at a character
2882 \end_layout
2883
2884 \begin_layout Labeling
2885 \labelwidthstring 00.00.0000
2886 \begin_inset Info
2887 type  "icon"
2888 arg   "tabular-feature m-valign-top"
2889 \end_inset
2890
2891  aligns the content of the current cell vertically to the top
2892 \end_layout
2893
2894 \begin_layout Labeling
2895 \labelwidthstring 00.00.0000
2896 \begin_inset Info
2897 type  "icon"
2898 arg   "tabular-feature m-valign-middle"
2899 \end_inset
2900
2901  centers the content of the current cell vertically
2902 \end_layout
2903
2904 \begin_layout Labeling
2905 \labelwidthstring 00.00.0000
2906 \begin_inset Info
2907 type  "icon"
2908 arg   "tabular-feature m-valign-bottom"
2909 \end_inset
2910
2911  aligns the content of the current cell vertically to the bottom
2912 \end_layout
2913
2914 \begin_layout Labeling
2915 \labelwidthstring 00.00.0000
2916 \begin_inset Info
2917 type  "icon"
2918 arg   "tabular-feature set-rotate-cell"
2919 \end_inset
2920
2921  rotates the current cell or selection counter-clockwise by 90°
2922 \end_layout
2923
2924 \begin_layout Labeling
2925 \labelwidthstring 00.00.0000
2926 \begin_inset Info
2927 type  "icon"
2928 arg   "tabular-feature set-rotate-tabular"
2929 \end_inset
2930
2931  rotates the whole table counter-clockwise by 90°
2932 \end_layout
2933
2934 \begin_layout Labeling
2935 \labelwidthstring 00.00.0000
2936 \begin_inset Info
2937 type  "icon"
2938 arg   "tabular-feature multicolumn"
2939 \end_inset
2940
2941  sets the current cell or selection as a multicolumn
2942 \end_layout
2943
2944 \begin_layout Labeling
2945 \labelwidthstring 00.00.0000
2946 \begin_inset Info
2947 type  "icon"
2948 arg   "tabular-feature multirow"
2949 \end_inset
2950
2951  sets the current cell or selection as a multirow
2952 \end_layout
2953
2954 \begin_layout Standard
2955 \begin_inset Note Greyedout
2956 status open
2957
2958 \begin_layout Plain Layout
2959
2960 \series bold
2961 Note:
2962 \series default
2963  For the output the vertical alignment of the first cell in a row is used
2964  for all following cells in the row.
2965 \end_layout
2966
2967 \end_inset
2968
2969
2970 \end_layout
2971
2972 \begin_layout Section
2973 Edit Table Menu
2974 \begin_inset Index idx
2975 status collapsed
2976
2977 \begin_layout Plain Layout
2978 Table ! Edit Menu
2979 \end_layout
2980
2981 \end_inset
2982
2983
2984 \end_layout
2985
2986 \begin_layout Standard
2987 In addition to the table dialog and toolbar, the menu 
2988 \family sans
2989 Edit\SpecialChar menuseparator
2990 Table
2991 \family default
2992  allows you to add and delete border lines for the current row/column and
2993  to set the current selection as multicolumn.
2994  The menu is only available when the cursor is inside a table.
2995 \end_layout
2996
2997 \begin_layout Section
2998 Table Floats
2999 \begin_inset CommandInset label
3000 LatexCommand label
3001 name "sec:Table-Floats"
3002
3003 \end_inset
3004
3005
3006 \begin_inset Index idx
3007 status collapsed
3008
3009 \begin_layout Plain Layout
3010 Floats ! Tables
3011 \end_layout
3012
3013 \end_inset
3014
3015
3016 \begin_inset Index idx
3017 status collapsed
3018
3019 \begin_layout Plain Layout
3020 Table ! Floats
3021 \end_layout
3022
3023 \end_inset
3024
3025
3026 \end_layout
3027
3028 \begin_layout Standard
3029 For general explanations about floats, have a look at section
3030 \begin_inset space ~
3031 \end_inset
3032
3033
3034 \begin_inset CommandInset ref
3035 LatexCommand ref
3036 reference "sec:FloatIntroduction"
3037
3038 \end_inset
3039
3040 .
3041 \end_layout
3042
3043 \begin_layout Standard
3044 \begin_inset Float table
3045 placement h
3046 alignment document
3047 wide false
3048 sideways false
3049 status open
3050
3051 \begin_layout Plain Layout
3052 \begin_inset Caption Standard
3053
3054 \begin_layout Plain Layout
3055 \begin_inset CommandInset label
3056 LatexCommand label
3057 name "tab:a table float"
3058
3059 \end_inset
3060
3061 A table float.
3062 \end_layout
3063
3064 \end_inset
3065
3066
3067 \end_layout
3068
3069 \begin_layout Plain Layout
3070 \align center
3071 \begin_inset Tabular
3072 <lyxtabular version="3" rows="3" columns="3">
3073 <features tabularvalignment="middle">
3074 <column alignment="center" valignment="top" width="0pt">
3075 <column alignment="center" valignment="top" width="0pt">
3076 <column alignment="center" valignment="top" width="0pt">
3077 <row>
3078 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3079 \begin_inset Text
3080
3081 \begin_layout Plain Layout
3082
3083 \family roman
3084 \series medium
3085 \shape up
3086 \size normal
3087 \emph off
3088 \bar no
3089 \noun off
3090 \color none
3091 1
3092 \end_layout
3093
3094 \end_inset
3095 </cell>
3096 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3097 \begin_inset Text
3098
3099 \begin_layout Plain Layout
3100
3101 \family roman
3102 \series medium
3103 \shape up
3104 \size normal
3105 \emph off
3106 \bar no
3107 \noun off
3108 \color none
3109 2
3110 \end_layout
3111
3112 \end_inset
3113 </cell>
3114 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3115 \begin_inset Text
3116
3117 \begin_layout Plain Layout
3118
3119 \family roman
3120 \series medium
3121 \shape up
3122 \size normal
3123 \emph off
3124 \bar no
3125 \noun off
3126 \color none
3127 3
3128 \end_layout
3129
3130 \end_inset
3131 </cell>
3132 </row>
3133 <row>
3134 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3135 \begin_inset Text
3136
3137 \begin_layout Plain Layout
3138
3139 \family roman
3140 \series medium
3141 \shape up
3142 \size normal
3143 \emph off
3144 \bar no
3145 \noun off
3146 \color none
3147 Joe
3148 \end_layout
3149
3150 \end_inset
3151 </cell>
3152 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3153 \begin_inset Text
3154
3155 \begin_layout Plain Layout
3156
3157 \family roman
3158 \series medium
3159 \shape up
3160 \size normal
3161 \emph off
3162 \bar no
3163 \noun off
3164 \color none
3165 Mary
3166 \end_layout
3167
3168 \end_inset
3169 </cell>
3170 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3171 \begin_inset Text
3172
3173 \begin_layout Plain Layout
3174
3175 \family roman
3176 \series medium
3177 \shape up
3178 \size normal
3179 \emph off
3180 \bar no
3181 \noun off
3182 \color none
3183 Ted
3184 \end_layout
3185
3186 \end_inset
3187 </cell>
3188 </row>
3189 <row>
3190 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3191 \begin_inset Text
3192
3193 \begin_layout Plain Layout
3194
3195 \family roman
3196 \series medium
3197 \shape up
3198 \size normal
3199 \emph off
3200 \bar no
3201 \noun off
3202 \color none
3203 \begin_inset Formula $\int x^{2}dx$
3204 \end_inset
3205
3206
3207 \end_layout
3208
3209 \end_inset
3210 </cell>
3211 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3212 \begin_inset Text
3213
3214 \begin_layout Plain Layout
3215
3216 \family roman
3217 \series medium
3218 \shape up
3219 \size normal
3220 \emph off
3221 \bar no
3222 \noun off
3223 \color none
3224 \begin_inset Formula $\left[\begin{array}{cc}
3225 a & b\\
3226 c & d
3227 \end{array}\right]$
3228 \end_inset
3229
3230
3231 \end_layout
3232
3233 \end_inset
3234 </cell>
3235 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3236 \begin_inset Text
3237
3238 \begin_layout Plain Layout
3239
3240 \family roman
3241 \series medium
3242 \shape up
3243 \size normal
3244 \emph off
3245 \bar no
3246 \noun off
3247 \color none
3248 \begin_inset Formula $1+1=2$
3249 \end_inset
3250
3251
3252 \end_layout
3253
3254 \end_inset
3255 </cell>
3256 </row>
3257 </lyxtabular>
3258
3259 \end_inset
3260
3261
3262 \end_layout
3263
3264 \end_inset
3265
3266
3267 \end_layout
3268
3269 \begin_layout Standard
3270 Table floats can be inserted using the menu 
3271 \family sans
3272 Insert\SpecialChar menuseparator
3273 Float\SpecialChar menuseparator
3274 Table
3275 \family default
3276  or the toolbar button 
3277 \begin_inset Info
3278 type  "icon"
3279 arg   "float-insert table"
3280 \end_inset
3281
3282 .
3283 \end_layout
3284
3285 \begin_layout Standard
3286 The float appears as a collapsible box with a caption that has the label
3287  
3288 \begin_inset Quotes eld
3289 \end_inset
3290
3291 Table
3292 \begin_inset space ~
3293 \end_inset
3294
3295 #:
3296 \begin_inset Quotes erd
3297 \end_inset
3298
3299  (# is the actual table number).
3300  You can insert tables in the float above or below the caption.
3301 \end_layout
3302
3303 \begin_layout Standard
3304 Table
3305 \begin_inset space ~
3306 \end_inset
3307
3308
3309 \begin_inset CommandInset ref
3310 LatexCommand ref
3311 reference "tab:a table float"
3312
3313 \end_inset
3314
3315  is an example table within a table float.
3316 \end_layout
3317
3318 \begin_layout Standard
3319 Having the caption above the table is the common rule that is unfortunately
3320  not supported in \SpecialChar LaTeX
3321 's standard classes.
3322  This means that, if you are using the document classes 
3323 \family sans
3324 article
3325 \family default
3326
3327 \family sans
3328 book
3329 \family default
3330
3331 \family sans
3332 letter
3333 \family default
3334 , or 
3335 \family sans
3336 report
3337 \family default
3338 , there will be no space between the caption and the table.
3339  To insert the needed space, add the following option to the load command
3340  of the \SpecialChar LaTeX
3341 -package 
3342 \series bold
3343 caption
3344 \series default
3345
3346 \begin_inset Index idx
3347 status collapsed
3348
3349 \begin_layout Plain Layout
3350 \SpecialChar LaTeX
3351 -packages ! caption
3352 \end_layout
3353
3354 \end_inset
3355
3356  in your document preamble:
3357 \begin_inset Foot
3358 status collapsed
3359
3360 \begin_layout Plain Layout
3361 For more information have a look at section
3362 \begin_inset space ~
3363 \end_inset
3364
3365
3366 \begin_inset CommandInset ref
3367 LatexCommand ref
3368 reference "sec:Caption-Placement"
3369
3370 \end_inset
3371
3372 .
3373 \end_layout
3374
3375 \end_inset
3376
3377
3378 \end_layout
3379
3380 \begin_layout Standard
3381
3382 \series bold
3383 tableposition=top
3384 \end_layout
3385
3386 \begin_layout Standard
3387 The package 
3388 \series bold
3389 caption
3390 \series default
3391 , which is described in section
3392 \begin_inset space ~
3393 \end_inset
3394
3395
3396 \begin_inset CommandInset ref
3397 LatexCommand ref
3398 reference "sec:Caption-Formatting"
3399
3400 \end_inset
3401
3402 , is used to adjust the caption format.
3403 \end_layout
3404
3405 \begin_layout Standard
3406 \begin_inset Index idx
3407 status collapsed
3408
3409 \begin_layout Plain Layout
3410 References ! to Tables
3411 \end_layout
3412
3413 \end_inset
3414
3415 Tables can be cross-referenced in the text by referencing their label.
3416  To do this insert a label in the caption using the menu 
3417 \family sans
3418 Insert\SpecialChar menuseparator
3419 Label
3420 \family default
3421  or the toolbar button 
3422 \begin_inset Info
3423 type  "icon"
3424 arg   "label-insert"
3425 \end_inset
3426
3427 .
3428  You can now refer to the label using the menu 
3429 \family sans
3430 Insert\SpecialChar menuseparator
3431 Cross
3432 \begin_inset space ~
3433 \end_inset
3434
3435 reference
3436 \family default
3437  or the toolbar button 
3438 \begin_inset Info
3439 type  "icon"
3440 arg   "dialog-show-new-inset ref"
3441 \end_inset
3442
3443 .
3444 \begin_inset Newline newline
3445 \end_inset
3446
3447 Referencing is explained in detail in section
3448 \begin_inset space ~
3449 \end_inset
3450
3451
3452 \begin_inset CommandInset ref
3453 LatexCommand ref
3454 reference "sec:Referencing-Floats"
3455
3456 \end_inset
3457
3458 .
3459 \end_layout
3460
3461 \begin_layout Section
3462
3463 \family sans
3464 Multi-page Table
3465 \family default
3466 s
3467 \begin_inset CommandInset label
3468 LatexCommand label
3469 name "sec:Multi-page-Tables"
3470
3471 \end_inset
3472
3473
3474 \begin_inset Index idx
3475 status collapsed
3476
3477 \begin_layout Plain Layout
3478 Multi-page Table
3479 \end_layout
3480
3481 \end_inset
3482
3483
3484 \begin_inset Index idx
3485 status collapsed
3486
3487 \begin_layout Plain Layout
3488 Table ! Multi-page Table
3489 \end_layout
3490
3491 \end_inset
3492
3493
3494 \end_layout
3495
3496 \begin_layout Standard
3497 If the table is too long to fit on one page, you can use the option 
3498 \family sans
3499 Use
3500 \begin_inset space ~
3501 \end_inset
3502
3503 multi-page
3504 \family default
3505  table in the tab 
3506 \family sans
3507 Multi-page
3508 \begin_inset space ~
3509 \end_inset
3510
3511 table
3512 \family default
3513  of the table dialog to split the table automatically over more pages.
3514  Doing this enables the following options:
3515 \end_layout
3516
3517 \begin_layout Description
3518 Header: The current row is defined to be a header row that appears on all
3519  pages of the multi-page table; except for the first page, if 
3520 \family sans
3521 First
3522 \begin_inset space ~
3523 \end_inset
3524
3525 header
3526 \family default
3527  is defined.
3528  This is therefore called the main header.
3529 \end_layout
3530
3531 \begin_layout Description
3532 First
3533 \begin_inset space ~
3534 \end_inset
3535
3536 header: The current row is defined to be a header row that appears on the
3537  first page of the multi-page table.
3538 \end_layout
3539
3540 \begin_layout Description
3541 Footer: The current row is defined to be a footer row that appears on all
3542  pages of the multi-page table; except for the last page, if 
3543 \family sans
3544 Last
3545 \begin_inset space ~
3546 \end_inset
3547
3548 footer
3549 \family default
3550  is defined.
3551 \end_layout
3552
3553 \begin_layout Description
3554 Last
3555 \begin_inset space ~
3556 \end_inset
3557
3558 footer: The current row is defined to be a footer row that appears on the
3559  last page of the multi-page table.
3560 \end_layout
3561
3562 \begin_layout Description
3563 Caption: The current row contains the table caption.
3564  The row is reset as single column and a caption is inserted.
3565  More about multi-page table captions is explained in sec.
3566 \begin_inset space \thinspace{}
3567 \end_inset
3568
3569
3570 \begin_inset CommandInset ref
3571 LatexCommand ref
3572 reference "subsec:Multi-page-Table-Captions"
3573
3574 \end_inset
3575
3576 .
3577 \end_layout
3578
3579 \begin_layout Standard
3580 You can also specify a row where the table is split.
3581  See the following multi-page table to see how it works:
3582 \end_layout
3583
3584 \begin_layout Standard
3585 \align center
3586 \begin_inset Tabular
3587 <lyxtabular version="3" rows="69" columns="3">
3588 <features islongtable="true" longtabularalignment="center">
3589 <column alignment="left" valignment="top" width="0cm">
3590 <column alignment="left" valignment="top" width="0pt">
3591 <column alignment="center" valignment="top" width="0pt">
3592 <row endfirsthead="true">
3593 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3594 \begin_inset Text
3595
3596 \begin_layout Plain Layout
3597
3598 \series bold
3599 Example Phone List (ignore the names)
3600 \end_layout
3601
3602 \end_inset
3603 </cell>
3604 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3605 \begin_inset Text
3606
3607 \begin_layout Plain Layout
3608
3609 \end_layout
3610
3611 \end_inset
3612 </cell>
3613 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3614 \begin_inset Text
3615
3616 \begin_layout Plain Layout
3617
3618 \end_layout
3619
3620 \end_inset
3621 </cell>
3622 </row>
3623 <row endfirsthead="true">
3624 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3625 \begin_inset Text
3626
3627 \begin_layout Plain Layout
3628
3629 \series bold
3630 NAME
3631 \end_layout
3632
3633 \end_inset
3634 </cell>
3635 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3636 \begin_inset Text
3637
3638 \begin_layout Plain Layout
3639
3640 \end_layout
3641
3642 \end_inset
3643 </cell>
3644 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3645 \begin_inset Text
3646
3647 \begin_layout Plain Layout
3648
3649 \series bold
3650 TEL.
3651 \end_layout
3652
3653 \end_inset
3654 </cell>
3655 </row>
3656 <row endhead="true">
3657 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3658 \begin_inset Text
3659
3660 \begin_layout Plain Layout
3661
3662 \series bold
3663 Example Phone List
3664 \end_layout
3665
3666 \end_inset
3667 </cell>
3668 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3669 \begin_inset Text
3670
3671 \begin_layout Plain Layout
3672
3673 \end_layout
3674
3675 \end_inset
3676 </cell>
3677 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3678 \begin_inset Text
3679
3680 \begin_layout Plain Layout
3681
3682 \end_layout
3683
3684 \end_inset
3685 </cell>
3686 </row>
3687 <row endhead="true">
3688 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3689 \begin_inset Text
3690
3691 \begin_layout Plain Layout
3692
3693 \series bold
3694 NAME
3695 \end_layout
3696
3697 \end_inset
3698 </cell>
3699 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3700 \begin_inset Text
3701
3702 \begin_layout Plain Layout
3703
3704 \end_layout
3705
3706 \end_inset
3707 </cell>
3708 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3709 \begin_inset Text
3710
3711 \begin_layout Plain Layout
3712
3713 \series bold
3714 TEL.
3715 \end_layout
3716
3717 \end_inset
3718 </cell>
3719 </row>
3720 <row endfoot="true">
3721 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
3722 \begin_inset Text
3723
3724 \begin_layout Plain Layout
3725  continued on next page
3726 \end_layout
3727
3728 \end_inset
3729 </cell>
3730 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3731 \begin_inset Text
3732
3733 \begin_layout Plain Layout
3734
3735 \end_layout
3736
3737 \end_inset
3738 </cell>
3739 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3740 \begin_inset Text
3741
3742 \begin_layout Plain Layout
3743
3744 \end_layout
3745
3746 \end_inset
3747 </cell>
3748 </row>
3749 <row>
3750 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3751 \begin_inset Text
3752
3753 \begin_layout Plain Layout
3754
3755 \series bold
3756 Annovi
3757 \end_layout
3758
3759 \end_inset
3760 </cell>
3761 <cell alignment="center" valignment="top" usebox="none">
3762 \begin_inset Text
3763
3764 \begin_layout Plain Layout
3765 Silvia
3766 \end_layout
3767
3768 \end_inset
3769 </cell>
3770 <cell alignment="right" valignment="top" leftline="true" rightline="true" usebox="none">
3771 \begin_inset Text
3772
3773 \begin_layout Plain Layout
3774 111
3775 \end_layout
3776
3777 \end_inset
3778 </cell>
3779 </row>
3780 <row>
3781 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3782 \begin_inset Text
3783
3784 \begin_layout Plain Layout
3785
3786 \series bold
3787 Bertoli
3788 \end_layout
3789
3790 \end_inset
3791 </cell>
3792 <cell alignment="center" valignment="top" usebox="none">
3793 \begin_inset Text
3794
3795 \begin_layout Plain Layout
3796 Stefano
3797 \end_layout
3798
3799 \end_inset
3800 </cell>
3801 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3802 \begin_inset Text
3803
3804 \begin_layout Plain Layout
3805 111
3806 \end_layout
3807
3808 \end_inset
3809 </cell>
3810 </row>
3811 <row>
3812 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3813 \begin_inset Text
3814
3815 \begin_layout Plain Layout
3816
3817 \series bold
3818 Bozzi
3819 \end_layout
3820
3821 \end_inset
3822 </cell>
3823 <cell alignment="center" valignment="top" usebox="none">
3824 \begin_inset Text
3825
3826 \begin_layout Plain Layout
3827 Walter
3828 \end_layout
3829
3830 \end_inset
3831 </cell>
3832 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3833 \begin_inset Text
3834
3835 \begin_layout Plain Layout
3836 111
3837 \end_layout
3838
3839 \end_inset
3840 </cell>
3841 </row>
3842 <row>
3843 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3844 \begin_inset Text
3845
3846 \begin_layout Plain Layout
3847
3848 \series bold
3849 Cachia
3850 \end_layout
3851
3852 \end_inset
3853 </cell>
3854 <cell alignment="center" valignment="top" usebox="none">
3855 \begin_inset Text
3856
3857 \begin_layout Plain Layout
3858 Maria
3859 \end_layout
3860
3861 \end_inset
3862 </cell>
3863 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3864 \begin_inset Text
3865
3866 \begin_layout Plain Layout
3867 111
3868 \end_layout
3869
3870 \end_inset
3871 </cell>
3872 </row>
3873 <row>
3874 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3875 \begin_inset Text
3876
3877 \begin_layout Plain Layout
3878
3879 \series bold
3880 Cachia
3881 \end_layout
3882
3883 \end_inset
3884 </cell>
3885 <cell alignment="center" valignment="top" usebox="none">
3886 \begin_inset Text
3887
3888 \begin_layout Plain Layout
3889 Maurizio
3890 \end_layout
3891
3892 \end_inset
3893 </cell>
3894 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3895 \begin_inset Text
3896
3897 \begin_layout Plain Layout
3898 111
3899 \end_layout
3900
3901 \end_inset
3902 </cell>
3903 </row>
3904 <row>
3905 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3906 \begin_inset Text
3907
3908 \begin_layout Plain Layout
3909
3910 \series bold
3911 Cinquemani
3912 \end_layout
3913
3914 \end_inset
3915 </cell>
3916 <cell alignment="center" valignment="top" usebox="none">
3917 \begin_inset Text
3918
3919 \begin_layout Plain Layout
3920 Giusi
3921 \end_layout
3922
3923 \end_inset
3924 </cell>
3925 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3926 \begin_inset Text
3927
3928 \begin_layout Plain Layout
3929 111
3930 \end_layout
3931
3932 \end_inset
3933 </cell>
3934 </row>
3935 <row>
3936 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3937 \begin_inset Text
3938
3939 \begin_layout Plain Layout
3940
3941 \series bold
3942 Colin
3943 \end_layout
3944
3945 \end_inset
3946 </cell>
3947 <cell alignment="center" valignment="top" usebox="none">
3948 \begin_inset Text
3949
3950 \begin_layout Plain Layout
3951 Bernard
3952 \end_layout
3953
3954 \end_inset
3955 </cell>
3956 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3957 \begin_inset Text
3958
3959 \begin_layout Plain Layout
3960 111
3961 \end_layout
3962
3963 \end_inset
3964 </cell>
3965 </row>
3966 <row>
3967 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3968 \begin_inset Text
3969
3970 \begin_layout Plain Layout
3971
3972 \series bold
3973 Concli
3974 \end_layout
3975
3976 \end_inset
3977 </cell>
3978 <cell alignment="center" valignment="top" usebox="none">
3979 \begin_inset Text
3980
3981 \begin_layout Plain Layout
3982 Gianfranco
3983 \end_layout
3984
3985 \end_inset
3986 </cell>
3987 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3988 \begin_inset Text
3989
3990 \begin_layout Plain Layout
3991 111
3992 \end_layout
3993
3994 \end_inset
3995 </cell>
3996 </row>
3997 <row>
3998 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3999 \begin_inset Text
4000
4001 \begin_layout Plain Layout
4002
4003 \series bold
4004 Dal Bosco
4005 \end_layout
4006
4007 \end_inset
4008 </cell>
4009 <cell alignment="center" valignment="top" usebox="none">
4010 \begin_inset Text
4011
4012 \begin_layout Plain Layout
4013 Carolina
4014 \end_layout
4015
4016 \end_inset
4017 </cell>
4018 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4019 \begin_inset Text
4020
4021 \begin_layout Plain Layout
4022 111
4023 \end_layout
4024
4025 \end_inset
4026 </cell>
4027 </row>
4028 <row>
4029 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4030 \begin_inset Text
4031
4032 \begin_layout Plain Layout
4033
4034 \series bold
4035 Dalpiaz
4036 \end_layout
4037
4038 \end_inset
4039 </cell>
4040 <cell alignment="center" valignment="top" usebox="none">
4041 \begin_inset Text
4042
4043 \begin_layout Plain Layout
4044 Annamaria
4045 \end_layout
4046
4047 \end_inset
4048 </cell>
4049 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4050 \begin_inset Text
4051
4052 \begin_layout Plain Layout
4053 111
4054 \end_layout
4055
4056 \end_inset
4057 </cell>
4058 </row>
4059 <row>
4060 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4061 \begin_inset Text
4062
4063 \begin_layout Plain Layout
4064
4065 \series bold
4066 Feliciello
4067 \end_layout
4068
4069 \end_inset
4070 </cell>
4071 <cell alignment="center" valignment="top" usebox="none">
4072 \begin_inset Text
4073
4074 \begin_layout Plain Layout
4075 Domenico
4076 \end_layout
4077
4078 \end_inset
4079 </cell>
4080 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4081 \begin_inset Text
4082
4083 \begin_layout Plain Layout
4084 111
4085 \end_layout
4086
4087 \end_inset
4088 </cell>
4089 </row>
4090 <row>
4091 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4092 \begin_inset Text
4093
4094 \begin_layout Plain Layout
4095
4096 \series bold
4097 Focarelli
4098 \end_layout
4099
4100 \end_inset
4101 </cell>
4102 <cell alignment="center" valignment="top" usebox="none">
4103 \begin_inset Text
4104
4105 \begin_layout Plain Layout
4106 Paola
4107 \end_layout
4108
4109 \end_inset
4110 </cell>
4111 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4112 \begin_inset Text
4113
4114 \begin_layout Plain Layout
4115 111
4116 \end_layout
4117
4118 \end_inset
4119 </cell>
4120 </row>
4121 <row>
4122 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4123 \begin_inset Text
4124
4125 \begin_layout Plain Layout
4126
4127 \series bold
4128 Galletti
4129 \end_layout
4130
4131 \end_inset
4132 </cell>
4133 <cell alignment="center" valignment="top" usebox="none">
4134 \begin_inset Text
4135
4136 \begin_layout Plain Layout
4137 Oreste
4138 \end_layout
4139
4140 \end_inset
4141 </cell>
4142 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4143 \begin_inset Text
4144
4145 \begin_layout Plain Layout
4146 111
4147 \end_layout
4148
4149 \end_inset
4150 </cell>
4151 </row>
4152 <row>
4153 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4154 \begin_inset Text
4155
4156 \begin_layout Plain Layout
4157
4158 \series bold
4159 Gasparini
4160 \end_layout
4161
4162 \end_inset
4163 </cell>
4164 <cell alignment="center" valignment="top" usebox="none">
4165 \begin_inset Text
4166
4167 \begin_layout Plain Layout
4168 Franca
4169 \end_layout
4170
4171 \end_inset
4172 </cell>
4173 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4174 \begin_inset Text
4175
4176 \begin_layout Plain Layout
4177 111
4178 \end_layout
4179
4180 \end_inset
4181 </cell>
4182 </row>
4183 <row>
4184 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4185 \begin_inset Text
4186
4187 \begin_layout Plain Layout
4188
4189 \series bold
4190 Rizzardi
4191 \end_layout
4192
4193 \end_inset
4194 </cell>
4195 <cell alignment="center" valignment="top" usebox="none">
4196 \begin_inset Text
4197
4198 \begin_layout Plain Layout
4199 Paola
4200 \end_layout
4201
4202 \end_inset
4203 </cell>
4204 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4205 \begin_inset Text
4206
4207 \begin_layout Plain Layout
4208 111
4209 \end_layout
4210
4211 \end_inset
4212 </cell>
4213 </row>
4214 <row>
4215 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4216 \begin_inset Text
4217
4218 \begin_layout Plain Layout
4219
4220 \series bold
4221 Lassini
4222 \end_layout
4223
4224 \end_inset
4225 </cell>
4226 <cell alignment="center" valignment="top" usebox="none">
4227 \begin_inset Text
4228
4229 \begin_layout Plain Layout
4230 Giancarlo
4231 \end_layout
4232
4233 \end_inset
4234 </cell>
4235 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4236 \begin_inset Text
4237
4238 \begin_layout Plain Layout
4239 111
4240 \end_layout
4241
4242 \end_inset
4243 </cell>
4244 </row>
4245 <row>
4246 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4247 \begin_inset Text
4248
4249 \begin_layout Plain Layout
4250
4251 \series bold
4252 Malfatti
4253 \end_layout
4254
4255 \end_inset
4256 </cell>
4257 <cell alignment="center" valignment="top" usebox="none">
4258 \begin_inset Text
4259
4260 \begin_layout Plain Layout
4261 Luciano
4262 \end_layout
4263
4264 \end_inset
4265 </cell>
4266 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4267 \begin_inset Text
4268
4269 \begin_layout Plain Layout
4270 111
4271 \end_layout
4272
4273 \end_inset
4274 </cell>
4275 </row>
4276 <row>
4277 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4278 \begin_inset Text
4279
4280 \begin_layout Plain Layout
4281
4282 \series bold
4283 Malfatti
4284 \end_layout
4285
4286 \end_inset
4287 </cell>
4288 <cell alignment="center" valignment="top" usebox="none">
4289 \begin_inset Text
4290
4291 \begin_layout Plain Layout
4292 Valeriano
4293 \end_layout
4294
4295 \end_inset
4296 </cell>
4297 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4298 \begin_inset Text
4299
4300 \begin_layout Plain Layout
4301 111
4302 \end_layout
4303
4304 \end_inset
4305 </cell>
4306 </row>
4307 <row>
4308 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4309 \begin_inset Text
4310
4311 \begin_layout Plain Layout
4312
4313 \series bold
4314 Meneguzzo
4315 \end_layout
4316
4317 \end_inset
4318 </cell>
4319 <cell alignment="center" valignment="top" usebox="none">
4320 \begin_inset Text
4321
4322 \begin_layout Plain Layout
4323 Roberto
4324 \end_layout
4325
4326 \end_inset
4327 </cell>
4328 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4329 \begin_inset Text
4330
4331 \begin_layout Plain Layout
4332 111
4333 \end_layout
4334
4335 \end_inset
4336 </cell>
4337 </row>
4338 <row>
4339 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4340 \begin_inset Text
4341
4342 \begin_layout Plain Layout
4343
4344 \series bold
4345 Mezzadra
4346 \end_layout
4347
4348 \end_inset
4349 </cell>
4350 <cell alignment="center" valignment="top" usebox="none">
4351 \begin_inset Text
4352
4353 \begin_layout Plain Layout
4354 Roberto
4355 \end_layout
4356
4357 \end_inset
4358 </cell>
4359 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4360 \begin_inset Text
4361
4362 \begin_layout Plain Layout
4363 111
4364 \end_layout
4365
4366 \end_inset
4367 </cell>
4368 </row>
4369 <row>
4370 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4371 \begin_inset Text
4372
4373 \begin_layout Plain Layout
4374
4375 \series bold
4376 Pirpamer
4377 \end_layout
4378
4379 \end_inset
4380 </cell>
4381 <cell alignment="center" valignment="top" usebox="none">
4382 \begin_inset Text
4383
4384 \begin_layout Plain Layout
4385 Erich
4386 \end_layout
4387
4388 \end_inset
4389 </cell>
4390 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4391 \begin_inset Text
4392
4393 \begin_layout Plain Layout
4394 111
4395 \end_layout
4396
4397 \end_inset
4398 </cell>
4399 </row>
4400 <row>
4401 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4402 \begin_inset Text
4403
4404 \begin_layout Plain Layout
4405
4406 \series bold
4407 Pochiesa
4408 \end_layout
4409
4410 \end_inset
4411 </cell>
4412 <cell alignment="center" valignment="top" usebox="none">
4413 \begin_inset Text
4414
4415 \begin_layout Plain Layout
4416 Paolo
4417 \end_layout
4418
4419 \end_inset
4420 </cell>
4421 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4422 \begin_inset Text
4423
4424 \begin_layout Plain Layout
4425 111, 222
4426 \end_layout
4427
4428 \end_inset
4429 </cell>
4430 </row>
4431 <row>
4432 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4433 \begin_inset Text
4434
4435 \begin_layout Plain Layout
4436
4437 \series bold
4438 Radina
4439 \end_layout
4440
4441 \end_inset
4442 </cell>
4443 <cell alignment="center" valignment="top" usebox="none">
4444 \begin_inset Text
4445
4446 \begin_layout Plain Layout
4447 Claudio
4448 \end_layout
4449
4450 \end_inset
4451 </cell>
4452 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4453 \begin_inset Text
4454
4455 \begin_layout Plain Layout
4456 111
4457 \end_layout
4458
4459 \end_inset
4460 </cell>
4461 </row>
4462 <row>
4463 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4464 \begin_inset Text
4465
4466 \begin_layout Plain Layout
4467
4468 \series bold
4469 Stuffer
4470 \end_layout
4471
4472 \end_inset
4473 </cell>
4474 <cell alignment="center" valignment="top" usebox="none">
4475 \begin_inset Text
4476
4477 \begin_layout Plain Layout
4478 Oskar
4479 \end_layout
4480
4481 \end_inset
4482 </cell>
4483 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4484 \begin_inset Text
4485
4486 \begin_layout Plain Layout
4487 111
4488 \end_layout
4489
4490 \end_inset
4491 </cell>
4492 </row>
4493 <row>
4494 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4495 \begin_inset Text
4496
4497 \begin_layout Plain Layout
4498
4499 \series bold
4500 Tacchelli
4501 \end_layout
4502
4503 \end_inset
4504 </cell>
4505 <cell alignment="center" valignment="top" usebox="none">
4506 \begin_inset Text
4507
4508 \begin_layout Plain Layout
4509 Ugo
4510 \end_layout
4511
4512 \end_inset
4513 </cell>
4514 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4515 \begin_inset Text
4516
4517 \begin_layout Plain Layout
4518 111
4519 \end_layout
4520
4521 \end_inset
4522 </cell>
4523 </row>
4524 <row>
4525 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4526 \begin_inset Text
4527
4528 \begin_layout Plain Layout
4529
4530 \series bold
4531 Tezzele
4532 \end_layout
4533
4534 \end_inset
4535 </cell>
4536 <cell alignment="center" valignment="top" usebox="none">
4537 \begin_inset Text
4538
4539 \begin_layout Plain Layout
4540 Margit
4541 \end_layout
4542
4543 \end_inset
4544 </cell>
4545 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4546 \begin_inset Text
4547
4548 \begin_layout Plain Layout
4549 111
4550 \end_layout
4551
4552 \end_inset
4553 </cell>
4554 </row>
4555 <row>
4556 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4557 \begin_inset Text
4558
4559 \begin_layout Plain Layout
4560
4561 \series bold
4562 Unterkalmsteiner
4563 \end_layout
4564
4565 \end_inset
4566 </cell>
4567 <cell alignment="center" valignment="top" usebox="none">
4568 \begin_inset Text
4569
4570 \begin_layout Plain Layout
4571 Frieda
4572 \end_layout
4573
4574 \end_inset
4575 </cell>
4576 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4577 \begin_inset Text
4578
4579 \begin_layout Plain Layout
4580 111
4581 \end_layout
4582
4583 \end_inset
4584 </cell>
4585 </row>
4586 <row>
4587 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4588 \begin_inset Text
4589
4590 \begin_layout Plain Layout
4591
4592 \series bold
4593 Vieider
4594 \end_layout
4595
4596 \end_inset
4597 </cell>
4598 <cell alignment="center" valignment="top" usebox="none">
4599 \begin_inset Text
4600
4601 \begin_layout Plain Layout
4602 Hilde
4603 \end_layout
4604
4605 \end_inset
4606 </cell>
4607 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4608 \begin_inset Text
4609
4610 \begin_layout Plain Layout
4611 111
4612 \end_layout
4613
4614 \end_inset
4615 </cell>
4616 </row>
4617 <row>
4618 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4619 \begin_inset Text
4620
4621 \begin_layout Plain Layout
4622
4623 \series bold
4624 Vigna
4625 \end_layout
4626
4627 \end_inset
4628 </cell>
4629 <cell alignment="center" valignment="top" usebox="none">
4630 \begin_inset Text
4631
4632 \begin_layout Plain Layout
4633 Jürgen
4634 \end_layout
4635
4636 \end_inset
4637 </cell>
4638 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4639 \begin_inset Text
4640
4641 \begin_layout Plain Layout
4642 111
4643 \end_layout
4644
4645 \end_inset
4646 </cell>
4647 </row>
4648 <row>
4649 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4650 \begin_inset Text
4651
4652 \begin_layout Plain Layout
4653
4654 \series bold
4655 Weber
4656 \end_layout
4657
4658 \end_inset
4659 </cell>
4660 <cell alignment="center" valignment="top" usebox="none">
4661 \begin_inset Text
4662
4663 \begin_layout Plain Layout
4664 Maurizio
4665 \end_layout
4666
4667 \end_inset
4668 </cell>
4669 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4670 \begin_inset Text
4671
4672 \begin_layout Plain Layout
4673 111
4674 \end_layout
4675
4676 \end_inset
4677 </cell>
4678 </row>
4679 <row>
4680 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
4681 \begin_inset Text
4682
4683 \begin_layout Plain Layout
4684
4685 \series bold
4686 Winkler
4687 \end_layout
4688
4689 \end_inset
4690 </cell>
4691 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
4692 \begin_inset Text
4693
4694 \begin_layout Plain Layout
4695 Franz
4696 \end_layout
4697
4698 \end_inset
4699 </cell>
4700 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
4701 \begin_inset Text
4702
4703 \begin_layout Plain Layout
4704 111
4705 \end_layout
4706
4707 \end_inset
4708 </cell>
4709 </row>
4710 <row>
4711 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
4712 \begin_inset Text
4713
4714 \begin_layout Plain Layout
4715  
4716 \end_layout
4717
4718 \end_inset
4719 </cell>
4720 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
4721 \begin_inset Text
4722
4723 \begin_layout Plain Layout
4724
4725 \end_layout
4726
4727 \end_inset
4728 </cell>
4729 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4730 \begin_inset Text
4731
4732 \begin_layout Plain Layout
4733
4734 \end_layout
4735
4736 \end_inset
4737 </cell>
4738 </row>
4739 <row>
4740 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4741 \begin_inset Text
4742
4743 \begin_layout Plain Layout
4744
4745 \series bold
4746 Annovi
4747 \end_layout
4748
4749 \end_inset
4750 </cell>
4751 <cell alignment="center" valignment="top" usebox="none">
4752 \begin_inset Text
4753
4754 \begin_layout Plain Layout
4755 Silvia
4756 \end_layout
4757
4758 \end_inset
4759 </cell>
4760 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4761 \begin_inset Text
4762
4763 \begin_layout Plain Layout
4764 555
4765 \end_layout
4766
4767 \end_inset
4768 </cell>
4769 </row>
4770 <row>
4771 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4772 \begin_inset Text
4773
4774 \begin_layout Plain Layout
4775
4776 \series bold
4777 Bertoli
4778 \end_layout
4779
4780 \end_inset
4781 </cell>
4782 <cell alignment="center" valignment="top" usebox="none">
4783 \begin_inset Text
4784
4785 \begin_layout Plain Layout
4786 Stefano
4787 \end_layout
4788
4789 \end_inset
4790 </cell>
4791 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4792 \begin_inset Text
4793
4794 \begin_layout Plain Layout
4795 555
4796 \end_layout
4797
4798 \end_inset
4799 </cell>
4800 </row>
4801 <row>
4802 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4803 \begin_inset Text
4804
4805 \begin_layout Plain Layout
4806
4807 \series bold
4808 Bozzi
4809 \end_layout
4810
4811 \end_inset
4812 </cell>
4813 <cell alignment="center" valignment="top" usebox="none">
4814 \begin_inset Text
4815
4816 \begin_layout Plain Layout
4817 Walter
4818 \end_layout
4819
4820 \end_inset
4821 </cell>
4822 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4823 \begin_inset Text
4824
4825 \begin_layout Plain Layout
4826 555
4827 \end_layout
4828
4829 \end_inset
4830 </cell>
4831 </row>
4832 <row>
4833 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4834 \begin_inset Text
4835
4836 \begin_layout Plain Layout
4837
4838 \series bold
4839 Cachia
4840 \end_layout
4841
4842 \end_inset
4843 </cell>
4844 <cell alignment="center" valignment="top" usebox="none">
4845 \begin_inset Text
4846
4847 \begin_layout Plain Layout
4848 Maria
4849 \end_layout
4850
4851 \end_inset
4852 </cell>
4853 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4854 \begin_inset Text
4855
4856 \begin_layout Plain Layout
4857 555
4858 \end_layout
4859
4860 \end_inset
4861 </cell>
4862 </row>
4863 <row>
4864 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4865 \begin_inset Text
4866
4867 \begin_layout Plain Layout
4868
4869 \series bold
4870 Cachia
4871 \end_layout
4872
4873 \end_inset
4874 </cell>
4875 <cell alignment="center" valignment="top" usebox="none">
4876 \begin_inset Text
4877
4878 \begin_layout Plain Layout
4879 Maurizio
4880 \end_layout
4881
4882 \end_inset
4883 </cell>
4884 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4885 \begin_inset Text
4886
4887 \begin_layout Plain Layout
4888 555
4889 \end_layout
4890
4891 \end_inset
4892 </cell>
4893 </row>
4894 <row>
4895 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4896 \begin_inset Text
4897
4898 \begin_layout Plain Layout
4899
4900 \series bold
4901 Cinquemani
4902 \end_layout
4903
4904 \end_inset
4905 </cell>
4906 <cell alignment="center" valignment="top" usebox="none">
4907 \begin_inset Text
4908
4909 \begin_layout Plain Layout
4910 Giusi
4911 \end_layout
4912
4913 \end_inset
4914 </cell>
4915 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4916 \begin_inset Text
4917
4918 \begin_layout Plain Layout
4919 555
4920 \end_layout
4921
4922 \end_inset
4923 </cell>
4924 </row>
4925 <row>
4926 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4927 \begin_inset Text
4928
4929 \begin_layout Plain Layout
4930
4931 \series bold
4932 Colin
4933 \end_layout
4934
4935 \end_inset
4936 </cell>
4937 <cell alignment="center" valignment="top" usebox="none">
4938 \begin_inset Text
4939
4940 \begin_layout Plain Layout
4941 Bernard
4942 \end_layout
4943
4944 \end_inset
4945 </cell>
4946 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4947 \begin_inset Text
4948
4949 \begin_layout Plain Layout
4950 555
4951 \end_layout
4952
4953 \end_inset
4954 </cell>
4955 </row>
4956 <row>
4957 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4958 \begin_inset Text
4959
4960 \begin_layout Plain Layout
4961
4962 \series bold
4963 Concli
4964 \end_layout
4965
4966 \end_inset
4967 </cell>
4968 <cell alignment="center" valignment="top" usebox="none">
4969 \begin_inset Text
4970
4971 \begin_layout Plain Layout
4972 Gianfranco
4973 \end_layout
4974
4975 \end_inset
4976 </cell>
4977 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4978 \begin_inset Text
4979
4980 \begin_layout Plain Layout
4981 555
4982 \end_layout
4983
4984 \end_inset
4985 </cell>
4986 </row>
4987 <row>
4988 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4989 \begin_inset Text
4990
4991 \begin_layout Plain Layout
4992
4993 \series bold
4994 Dal Bosco
4995 \end_layout
4996
4997 \end_inset
4998 </cell>
4999 <cell alignment="center" valignment="top" usebox="none">
5000 \begin_inset Text
5001
5002 \begin_layout Plain Layout
5003 Carolina
5004 \end_layout
5005
5006 \end_inset
5007 </cell>
5008 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5009 \begin_inset Text
5010
5011 \begin_layout Plain Layout
5012 555
5013 \end_layout
5014
5015 \end_inset
5016 </cell>
5017 </row>
5018 <row>
5019 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5020 \begin_inset Text
5021
5022 \begin_layout Plain Layout
5023
5024 \series bold
5025 Dalpiaz
5026 \end_layout
5027
5028 \end_inset
5029 </cell>
5030 <cell alignment="center" valignment="top" usebox="none">
5031 \begin_inset Text
5032
5033 \begin_layout Plain Layout
5034 Annamaria
5035 \end_layout
5036
5037 \end_inset
5038 </cell>
5039 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5040 \begin_inset Text
5041
5042 \begin_layout Plain Layout
5043 555
5044 \end_layout
5045
5046 \end_inset
5047 </cell>
5048 </row>
5049 <row>
5050 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5051 \begin_inset Text
5052
5053 \begin_layout Plain Layout
5054
5055 \series bold
5056 Feliciello
5057 \end_layout
5058
5059 \end_inset
5060 </cell>
5061 <cell alignment="center" valignment="top" usebox="none">
5062 \begin_inset Text
5063
5064 \begin_layout Plain Layout
5065 Domenico
5066 \end_layout
5067
5068 \end_inset
5069 </cell>
5070 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5071 \begin_inset Text
5072
5073 \begin_layout Plain Layout
5074 555
5075 \end_layout
5076
5077 \end_inset
5078 </cell>
5079 </row>
5080 <row>
5081 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5082 \begin_inset Text
5083
5084 \begin_layout Plain Layout
5085
5086 \series bold
5087 Focarelli
5088 \end_layout
5089
5090 \end_inset
5091 </cell>
5092 <cell alignment="center" valignment="top" usebox="none">
5093 \begin_inset Text
5094
5095 \begin_layout Plain Layout
5096 Paola
5097 \end_layout
5098
5099 \end_inset
5100 </cell>
5101 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5102 \begin_inset Text
5103
5104 \begin_layout Plain Layout
5105 555
5106 \end_layout
5107
5108 \end_inset
5109 </cell>
5110 </row>
5111 <row>
5112 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5113 \begin_inset Text
5114
5115 \begin_layout Plain Layout
5116
5117 \series bold
5118 Galletti
5119 \end_layout
5120
5121 \end_inset
5122 </cell>
5123 <cell alignment="center" valignment="top" usebox="none">
5124 \begin_inset Text
5125
5126 \begin_layout Plain Layout
5127 Oreste
5128 \end_layout
5129
5130 \end_inset
5131 </cell>
5132 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5133 \begin_inset Text
5134
5135 \begin_layout Plain Layout
5136 555
5137 \end_layout
5138
5139 \end_inset
5140 </cell>
5141 </row>
5142 <row>
5143 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5144 \begin_inset Text
5145
5146 \begin_layout Plain Layout
5147
5148 \series bold
5149 Gasparini
5150 \end_layout
5151
5152 \end_inset
5153 </cell>
5154 <cell alignment="center" valignment="top" usebox="none">
5155 \begin_inset Text
5156
5157 \begin_layout Plain Layout
5158 Franca
5159 \end_layout
5160
5161 \end_inset
5162 </cell>
5163 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5164 \begin_inset Text
5165
5166 \begin_layout Plain Layout
5167 555
5168 \end_layout
5169
5170 \end_inset
5171 </cell>
5172 </row>
5173 <row>
5174 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5175 \begin_inset Text
5176
5177 \begin_layout Plain Layout
5178
5179 \series bold
5180 Rizzardi
5181 \end_layout
5182
5183 \end_inset
5184 </cell>
5185 <cell alignment="center" valignment="top" usebox="none">
5186 \begin_inset Text
5187
5188 \begin_layout Plain Layout
5189 Paola
5190 \end_layout
5191
5192 \end_inset
5193 </cell>
5194 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5195 \begin_inset Text
5196
5197 \begin_layout Plain Layout
5198 555
5199 \end_layout
5200
5201 \end_inset
5202 </cell>
5203 </row>
5204 <row>
5205 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5206 \begin_inset Text
5207
5208 \begin_layout Plain Layout
5209
5210 \series bold
5211 Lassini
5212 \end_layout
5213
5214 \end_inset
5215 </cell>
5216 <cell alignment="center" valignment="top" usebox="none">
5217 \begin_inset Text
5218
5219 \begin_layout Plain Layout
5220 Giancarlo
5221 \end_layout
5222
5223 \end_inset
5224 </cell>
5225 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5226 \begin_inset Text
5227
5228 \begin_layout Plain Layout
5229 555
5230 \end_layout
5231
5232 \end_inset
5233 </cell>
5234 </row>
5235 <row>
5236 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5237 \begin_inset Text
5238
5239 \begin_layout Plain Layout
5240
5241 \series bold
5242 Malfatti
5243 \end_layout
5244
5245 \end_inset
5246 </cell>
5247 <cell alignment="center" valignment="top" usebox="none">
5248 \begin_inset Text
5249
5250 \begin_layout Plain Layout
5251 Luciano
5252 \end_layout
5253
5254 \end_inset
5255 </cell>
5256 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5257 \begin_inset Text
5258
5259 \begin_layout Plain Layout
5260 555
5261 \end_layout
5262
5263 \end_inset
5264 </cell>
5265 </row>
5266 <row>
5267 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5268 \begin_inset Text
5269
5270 \begin_layout Plain Layout
5271
5272 \series bold
5273 Malfatti
5274 \end_layout
5275
5276 \end_inset
5277 </cell>
5278 <cell alignment="center" valignment="top" usebox="none">
5279 \begin_inset Text
5280
5281 \begin_layout Plain Layout
5282 Valeriano
5283 \end_layout
5284
5285 \end_inset
5286 </cell>
5287 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5288 \begin_inset Text
5289
5290 \begin_layout Plain Layout
5291 555
5292 \end_layout
5293
5294 \end_inset
5295 </cell>
5296 </row>
5297 <row>
5298 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5299 \begin_inset Text
5300
5301 \begin_layout Plain Layout
5302
5303 \series bold
5304 Meneguzzo
5305 \end_layout
5306
5307 \end_inset
5308 </cell>
5309 <cell alignment="center" valignment="top" usebox="none">
5310 \begin_inset Text
5311
5312 \begin_layout Plain Layout
5313 Roberto
5314 \end_layout
5315
5316 \end_inset
5317 </cell>
5318 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5319 \begin_inset Text
5320
5321 \begin_layout Plain Layout
5322 555
5323 \end_layout
5324
5325 \end_inset
5326 </cell>
5327 </row>
5328 <row>
5329 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5330 \begin_inset Text
5331
5332 \begin_layout Plain Layout
5333
5334 \series bold
5335 Mezzadra
5336 \end_layout
5337
5338 \end_inset
5339 </cell>
5340 <cell alignment="center" valignment="top" usebox="none">
5341 \begin_inset Text
5342
5343 \begin_layout Plain Layout
5344 Roberto
5345 \end_layout
5346
5347 \end_inset
5348 </cell>
5349 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5350 \begin_inset Text
5351
5352 \begin_layout Plain Layout
5353 555
5354 \end_layout
5355
5356 \end_inset
5357 </cell>
5358 </row>
5359 <row>
5360 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5361 \begin_inset Text
5362
5363 \begin_layout Plain Layout
5364
5365 \series bold
5366 Pirpamer
5367 \end_layout
5368
5369 \end_inset
5370 </cell>
5371 <cell alignment="center" valignment="top" usebox="none">
5372 \begin_inset Text
5373
5374 \begin_layout Plain Layout
5375 Erich
5376 \end_layout
5377
5378 \end_inset
5379 </cell>
5380 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5381 \begin_inset Text
5382
5383 \begin_layout Plain Layout
5384 555
5385 \end_layout
5386
5387 \end_inset
5388 </cell>
5389 </row>
5390 <row>
5391 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5392 \begin_inset Text
5393
5394 \begin_layout Plain Layout
5395
5396 \series bold
5397 Pochiesa
5398 \end_layout
5399
5400 \end_inset
5401 </cell>
5402 <cell alignment="center" valignment="top" usebox="none">
5403 \begin_inset Text
5404
5405 \begin_layout Plain Layout
5406 Paolo
5407 \end_layout
5408
5409 \end_inset
5410 </cell>
5411 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5412 \begin_inset Text
5413
5414 \begin_layout Plain Layout
5415 555, 222
5416 \end_layout
5417
5418 \end_inset
5419 </cell>
5420 </row>
5421 <row>
5422 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5423 \begin_inset Text
5424
5425 \begin_layout Plain Layout
5426
5427 \series bold
5428 Radina
5429 \end_layout
5430
5431 \end_inset
5432 </cell>
5433 <cell alignment="center" valignment="top" usebox="none">
5434 \begin_inset Text
5435
5436 \begin_layout Plain Layout
5437 Claudio
5438 \end_layout
5439
5440 \end_inset
5441 </cell>
5442 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5443 \begin_inset Text
5444
5445 \begin_layout Plain Layout
5446 555
5447 \end_layout
5448
5449 \end_inset
5450 </cell>
5451 </row>
5452 <row>
5453 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5454 \begin_inset Text
5455
5456 \begin_layout Plain Layout
5457
5458 \series bold
5459 Stuffer
5460 \end_layout
5461
5462 \end_inset
5463 </cell>
5464 <cell alignment="center" valignment="top" usebox="none">
5465 \begin_inset Text
5466
5467 \begin_layout Plain Layout
5468 Oskar
5469 \end_layout
5470
5471 \end_inset
5472 </cell>
5473 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5474 \begin_inset Text
5475
5476 \begin_layout Plain Layout
5477 555
5478 \end_layout
5479
5480 \end_inset
5481 </cell>
5482 </row>
5483 <row>
5484 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5485 \begin_inset Text
5486
5487 \begin_layout Plain Layout
5488
5489 \series bold
5490 Tacchelli
5491 \end_layout
5492
5493 \end_inset
5494 </cell>
5495 <cell alignment="center" valignment="top" usebox="none">
5496 \begin_inset Text
5497
5498 \begin_layout Plain Layout
5499 Ugo
5500 \end_layout
5501
5502 \end_inset
5503 </cell>
5504 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5505 \begin_inset Text
5506
5507 \begin_layout Plain Layout
5508 555
5509 \end_layout
5510
5511 \end_inset
5512 </cell>
5513 </row>
5514 <row>
5515 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5516 \begin_inset Text
5517
5518 \begin_layout Plain Layout
5519
5520 \series bold
5521 Tezzele
5522 \end_layout
5523
5524 \end_inset
5525 </cell>
5526 <cell alignment="center" valignment="top" usebox="none">
5527 \begin_inset Text
5528
5529 \begin_layout Plain Layout
5530 Margit
5531 \end_layout
5532
5533 \end_inset
5534 </cell>
5535 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5536 \begin_inset Text
5537
5538 \begin_layout Plain Layout
5539 555
5540 \end_layout
5541
5542 \end_inset
5543 </cell>
5544 </row>
5545 <row>
5546 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5547 \begin_inset Text
5548
5549 \begin_layout Plain Layout
5550
5551 \series bold
5552 Unterkalmsteiner
5553 \end_layout
5554
5555 \end_inset
5556 </cell>
5557 <cell alignment="center" valignment="top" usebox="none">
5558 \begin_inset Text
5559
5560 \begin_layout Plain Layout
5561 Frieda
5562 \end_layout
5563
5564 \end_inset
5565 </cell>
5566 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5567 \begin_inset Text
5568
5569 \begin_layout Plain Layout
5570 555
5571 \end_layout
5572
5573 \end_inset
5574 </cell>
5575 </row>
5576 <row>
5577 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5578 \begin_inset Text
5579
5580 \begin_layout Plain Layout
5581
5582 \series bold
5583 Vieider
5584 \end_layout
5585
5586 \end_inset
5587 </cell>
5588 <cell alignment="center" valignment="top" usebox="none">
5589 \begin_inset Text
5590
5591 \begin_layout Plain Layout
5592 Hilde
5593 \end_layout
5594
5595 \end_inset
5596 </cell>
5597 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5598 \begin_inset Text
5599
5600 \begin_layout Plain Layout
5601 555
5602 \end_layout
5603
5604 \end_inset
5605 </cell>
5606 </row>
5607 <row>
5608 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5609 \begin_inset Text
5610
5611 \begin_layout Plain Layout
5612
5613 \series bold
5614 Vigna
5615 \end_layout
5616
5617 \end_inset
5618 </cell>
5619 <cell alignment="center" valignment="top" usebox="none">
5620 \begin_inset Text
5621
5622 \begin_layout Plain Layout
5623 Jürgen
5624 \end_layout
5625
5626 \end_inset
5627 </cell>
5628 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5629 \begin_inset Text
5630
5631 \begin_layout Plain Layout
5632 999
5633 \end_layout
5634
5635 \end_inset
5636 </cell>
5637 </row>
5638 <row>
5639 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5640 \begin_inset Text
5641
5642 \begin_layout Plain Layout
5643
5644 \series bold
5645 Weber
5646 \end_layout
5647
5648 \end_inset
5649 </cell>
5650 <cell alignment="center" valignment="top" usebox="none">
5651 \begin_inset Text
5652
5653 \begin_layout Plain Layout
5654 Maurizio
5655 \end_layout
5656
5657 \end_inset
5658 </cell>
5659 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5660 \begin_inset Text
5661
5662 \begin_layout Plain Layout
5663 555
5664 \end_layout
5665
5666 \end_inset
5667 </cell>
5668 </row>
5669 <row>
5670 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
5671 \begin_inset Text
5672
5673 \begin_layout Plain Layout
5674
5675 \series bold
5676 Winkler
5677 \end_layout
5678
5679 \end_inset
5680 </cell>
5681 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
5682 \begin_inset Text
5683
5684 \begin_layout Plain Layout
5685 Franz
5686 \end_layout
5687
5688 \end_inset
5689 </cell>
5690 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
5691 \begin_inset Text
5692
5693 \begin_layout Plain Layout
5694 555
5695 \end_layout
5696
5697 \end_inset
5698 </cell>
5699 </row>
5700 <row endlastfoot="true">
5701 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
5702 \begin_inset Text
5703
5704 \begin_layout Plain Layout
5705 end
5706 \end_layout
5707
5708 \end_inset
5709 </cell>
5710 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
5711 \begin_inset Text
5712
5713 \begin_layout Plain Layout
5714
5715 \end_layout
5716
5717 \end_inset
5718 </cell>
5719 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5720 \begin_inset Text
5721
5722 \begin_layout Plain Layout
5723
5724 \end_layout
5725
5726 \end_inset
5727 </cell>
5728 </row>
5729 </lyxtabular>
5730
5731 \end_inset
5732
5733
5734 \begin_inset ERT
5735 status collapsed
5736
5737 \begin_layout Plain Layout
5738
5739
5740 \backslash
5741 addtocounter{table}{-1}
5742 \end_layout
5743
5744 \end_inset
5745
5746
5747 \begin_inset Note Note
5748 status collapsed
5749
5750 \begin_layout Plain Layout
5751 See the first greyed-out note in section
5752 \begin_inset space ~
5753 \end_inset
5754
5755
5756 \begin_inset CommandInset ref
5757 LatexCommand ref
5758 reference "subsec:Multi-page-Table-Captions"
5759
5760 \end_inset
5761
5762  for an explanation of this command.
5763 \end_layout
5764
5765 \end_inset
5766
5767
5768 \end_layout
5769
5770 \begin_layout Subsection
5771 Footnotes in Multi-page tables
5772 \begin_inset CommandInset label
5773 LatexCommand label
5774 name "subsec:Footnotes-in-Multi-page"
5775
5776 \end_inset
5777
5778
5779 \begin_inset Index idx
5780 status collapsed
5781
5782 \begin_layout Plain Layout
5783 Table ! Multi-page Table ! Footnotes
5784 \end_layout
5785
5786 \end_inset
5787
5788
5789 \end_layout
5790
5791 \begin_layout Standard
5792 Footnotes can be inserted to every Multi-page table cell.
5793  They appear at the bottom of the page where the table cell with the footnote
5794  appears.
5795  Table
5796 \begin_inset space ~
5797 \end_inset
5798
5799
5800 \begin_inset CommandInset ref
5801 LatexCommand ref
5802 reference "tab:DiffCaptions"
5803
5804 \end_inset
5805
5806  has for example a footnote.
5807 \end_layout
5808
5809 \begin_layout Subsection
5810 Multi-page Table Alignment
5811 \begin_inset Index idx
5812 status collapsed
5813
5814 \begin_layout Plain Layout
5815 Table ! Multi-page Table ! Alignment
5816 \end_layout
5817
5818 \end_inset
5819
5820
5821 \end_layout
5822
5823 \begin_layout Standard
5824 The horizontal alignment of multi-page tables can be set in the table settings
5825  dialog.
5826  For left- and right-alignment the table will be directly at the page border.
5827  To add space between the table and the border one has to set the alignment
5828  to center and change the value of the \SpecialChar LaTeX
5829 -lengths 
5830 \series bold
5831
5832 \backslash
5833 LTleft 
5834 \series default
5835 or 
5836 \series bold
5837
5838 \backslash
5839 LTright
5840 \series default
5841  by inserting this line as \SpecialChar TeX
5842  Code before the multi-page table:
5843 \end_layout
5844
5845 \begin_layout Standard
5846
5847 \series bold
5848
5849 \backslash
5850 setlength{
5851 \backslash
5852 LTleft}{value}
5853 \end_layout
5854
5855 \begin_layout Standard
5856 The value can have any of the units listed in Table
5857 \begin_inset space ~
5858 \end_inset
5859
5860
5861 \begin_inset CommandInset ref
5862 LatexCommand ref
5863 reference "tab:Units"
5864
5865 \end_inset
5866
5867 .
5868  
5869 \series bold
5870
5871 \backslash
5872 LTleft
5873 \series default
5874  controls the horizontal distance from the left page border to the multi-page
5875  table, 
5876 \series bold
5877
5878 \backslash
5879 LTright
5880 \series default
5881  the distance from the right side.
5882  The default value for both lengths is 
5883 \series bold
5884
5885 \backslash
5886 fill
5887 \series default
5888 , which is in this case the same as an horizontal fill in \SpecialChar LyX
5889 .
5890 \end_layout
5891
5892 \begin_layout Standard
5893 The following multi-page table was centered and 
5894 \series bold
5895
5896 \backslash
5897 LTleft
5898 \series default
5899  set to 
5900 \family sans
5901 0.1
5902 \backslash
5903 columnwidth
5904 \family default
5905 :
5906 \begin_inset ERT
5907 status collapsed
5908
5909 \begin_layout Plain Layout
5910
5911
5912 \backslash
5913 setlength{
5914 \backslash
5915 LTleft}{0.1
5916 \backslash
5917 columnwidth}
5918 \end_layout
5919
5920 \end_inset
5921
5922
5923 \end_layout
5924
5925 \begin_layout Standard
5926 \begin_inset Tabular
5927 <lyxtabular version="3" rows="5" columns="5">
5928 <features islongtable="true" longtabularalignment="center">
5929 <column alignment="center" valignment="top">
5930 <column alignment="center" valignment="top" width="0pt">
5931 <column alignment="center" valignment="top">
5932 <column alignment="center" valignment="top">
5933 <column alignment="center" valignment="top">
5934 <row>
5935 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5936 \begin_inset Text
5937
5938 \begin_layout Plain Layout
5939 1
5940 \end_layout
5941
5942 \end_inset
5943 </cell>
5944 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5945 \begin_inset Text
5946
5947 \begin_layout Plain Layout
5948 2
5949 \end_layout
5950
5951 \end_inset
5952 </cell>
5953 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5954 \begin_inset Text
5955
5956 \begin_layout Plain Layout
5957 3
5958 \end_layout
5959
5960 \end_inset
5961 </cell>
5962 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5963 \begin_inset Text
5964
5965 \begin_layout Plain Layout
5966 4
5967 \end_layout
5968
5969 \end_inset
5970 </cell>
5971 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5972 \begin_inset Text
5973
5974 \begin_layout Plain Layout
5975 5
5976 \end_layout
5977
5978 \end_inset
5979 </cell>
5980 </row>
5981 <row>
5982 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5983 \begin_inset Text
5984
5985 \begin_layout Plain Layout
5986 asd
5987 \end_layout
5988
5989 \end_inset
5990 </cell>
5991 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5992 \begin_inset Text
5993
5994 \begin_layout Plain Layout
5995 s
5996 \end_layout
5997
5998 \end_inset
5999 </cell>
6000 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6001 \begin_inset Text
6002
6003 \begin_layout Plain Layout
6004 s
6005 \end_layout
6006
6007 \end_inset
6008 </cell>
6009 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6010 \begin_inset Text
6011
6012 \begin_layout Plain Layout
6013 s
6014 \end_layout
6015
6016 \end_inset
6017 </cell>
6018 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6019 \begin_inset Text
6020
6021 \begin_layout Plain Layout
6022 asd
6023 \end_layout
6024
6025 \end_inset
6026 </cell>
6027 </row>
6028 <row>
6029 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6030 \begin_inset Text
6031
6032 \begin_layout Plain Layout
6033 asd
6034 \end_layout
6035
6036 \end_inset
6037 </cell>
6038 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6039 \begin_inset Text
6040
6041 \begin_layout Plain Layout
6042 s
6043 \end_layout
6044
6045 \end_inset
6046 </cell>
6047 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6048 \begin_inset Text
6049
6050 \begin_layout Plain Layout
6051 s
6052 \end_layout
6053
6054 \end_inset
6055 </cell>
6056 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6057 \begin_inset Text
6058
6059 \begin_layout Plain Layout
6060 s
6061 \end_layout
6062
6063 \end_inset
6064 </cell>
6065 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6066 \begin_inset Text
6067
6068 \begin_layout Plain Layout
6069 asd
6070 \end_layout
6071
6072 \end_inset
6073 </cell>
6074 </row>
6075 <row>
6076 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6077 \begin_inset Text
6078
6079 \begin_layout Plain Layout
6080 asd
6081 \end_layout
6082
6083 \end_inset
6084 </cell>
6085 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6086 \begin_inset Text
6087
6088 \begin_layout Plain Layout
6089 s
6090 \end_layout
6091
6092 \end_inset
6093 </cell>
6094 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6095 \begin_inset Text
6096
6097 \begin_layout Plain Layout
6098 s
6099 \end_layout
6100
6101 \end_inset
6102 </cell>
6103 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6104 \begin_inset Text
6105
6106 \begin_layout Plain Layout
6107 s
6108 \end_layout
6109
6110 \end_inset
6111 </cell>
6112 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6113 \begin_inset Text
6114
6115 \begin_layout Plain Layout
6116 asd
6117 \end_layout
6118
6119 \end_inset
6120 </cell>
6121 </row>
6122 <row>
6123 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6124 \begin_inset Text
6125
6126 \begin_layout Plain Layout
6127 asd
6128 \end_layout
6129
6130 \end_inset
6131 </cell>
6132 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6133 \begin_inset Text
6134
6135 \begin_layout Plain Layout
6136 asd
6137 \end_layout
6138
6139 \end_inset
6140 </cell>
6141 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6142 \begin_inset Text
6143
6144 \begin_layout Plain Layout
6145 asd
6146 \end_layout
6147
6148 \end_inset
6149 </cell>
6150 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6151 \begin_inset Text
6152
6153 \begin_layout Plain Layout
6154 asd
6155 \end_layout
6156
6157 \end_inset
6158 </cell>
6159 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6160 \begin_inset Text
6161
6162 \begin_layout Plain Layout
6163 asd
6164 \end_layout
6165
6166 \end_inset
6167 </cell>
6168 </row>
6169 </lyxtabular>
6170
6171 \end_inset
6172
6173
6174 \begin_inset ERT
6175 status collapsed
6176
6177 \begin_layout Plain Layout
6178
6179
6180 \backslash
6181 setlength{
6182 \backslash
6183 LTleft}{
6184 \backslash
6185 fill}
6186 \end_layout
6187
6188 \end_inset
6189
6190
6191 \begin_inset ERT
6192 status collapsed
6193
6194 \begin_layout Plain Layout
6195
6196
6197 \backslash
6198 addtocounter{table}{-1}
6199 \end_layout
6200
6201 \end_inset
6202
6203
6204 \begin_inset Note Note
6205 status collapsed
6206
6207 \begin_layout Plain Layout
6208 See the first greyed-out note in section
6209 \begin_inset space ~
6210 \end_inset
6211
6212
6213 \begin_inset CommandInset ref
6214 LatexCommand ref
6215 reference "subsec:Multi-page-Table-Captions"
6216
6217 \end_inset
6218
6219  for an explanation of this command.
6220 \end_layout
6221
6222 \end_inset
6223
6224
6225 \end_layout
6226
6227 \begin_layout Subsection
6228 Multi-page Table Captions
6229 \begin_inset Index idx
6230 status collapsed
6231
6232 \begin_layout Plain Layout
6233 Table ! Multi-page Table ! Captions
6234 \end_layout
6235
6236 \end_inset
6237
6238
6239 \begin_inset CommandInset label
6240 LatexCommand label
6241 name "subsec:Multi-page-Table-Captions"
6242
6243 \end_inset
6244
6245
6246 \end_layout
6247
6248 \begin_layout Standard
6249 A multi-page table cannot be put into a table float because floats can only
6250  be on one page.
6251  But the caption environment of floats can also be used for multi-page tables
6252  when you use the multi-page table option 
6253 \family sans
6254 Caption
6255 \family default
6256  as described in sec.
6257 \begin_inset space \thinspace{}
6258 \end_inset
6259
6260
6261 \begin_inset CommandInset ref
6262 LatexCommand ref
6263 reference "sec:Multi-page-Tables"
6264
6265 \end_inset
6266
6267 .
6268  Only one table row should contain a caption, either a header or a footer
6269  row.
6270 \end_layout
6271
6272 \begin_layout Standard
6273 Here is a short multi-page table to see how it works:
6274 \end_layout
6275
6276 \begin_layout Standard
6277 \begin_inset Tabular
6278 <lyxtabular version="3" rows="6" columns="5">
6279 <features islongtable="true" longtabularalignment="center">
6280 <column alignment="center" valignment="top">
6281 <column alignment="center" valignment="top">
6282 <column alignment="center" valignment="top">
6283 <column alignment="center" valignment="top">
6284 <column alignment="center" valignment="top">
6285 <row endfirsthead="true" caption="true">
6286 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6287 \begin_inset Text
6288
6289 \begin_layout Plain Layout
6290 \begin_inset Caption Standard
6291
6292 \begin_layout Plain Layout
6293 Multi-page table with caption
6294 \begin_inset Argument 1
6295 status open
6296
6297 \begin_layout Plain Layout
6298 Multi-page table
6299 \end_layout
6300
6301 \end_inset
6302
6303
6304 \end_layout
6305
6306 \end_inset
6307
6308
6309 \end_layout
6310
6311 \end_inset
6312 </cell>
6313 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6314 \begin_inset Text
6315
6316 \begin_layout Plain Layout
6317
6318 \end_layout
6319
6320 \end_inset
6321 </cell>
6322 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6323 \begin_inset Text
6324
6325 \begin_layout Plain Layout
6326
6327 \end_layout
6328
6329 \end_inset
6330 </cell>
6331 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6332 \begin_inset Text
6333
6334 \begin_layout Plain Layout
6335
6336 \end_layout
6337
6338 \end_inset
6339 </cell>
6340 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6341 \begin_inset Text
6342
6343 \begin_layout Plain Layout
6344
6345 \end_layout
6346
6347 \end_inset
6348 </cell>
6349 </row>
6350 <row>
6351 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6352 \begin_inset Text
6353
6354 \begin_layout Plain Layout
6355 1
6356 \end_layout
6357
6358 \end_inset
6359 </cell>
6360 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6361 \begin_inset Text
6362
6363 \begin_layout Plain Layout
6364 2
6365 \end_layout
6366
6367 \end_inset
6368 </cell>
6369 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6370 \begin_inset Text
6371
6372 \begin_layout Plain Layout
6373 3
6374 \end_layout
6375
6376 \end_inset
6377 </cell>
6378 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6379 \begin_inset Text
6380
6381 \begin_layout Plain Layout
6382 4
6383 \end_layout
6384
6385 \end_inset
6386 </cell>
6387 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6388 \begin_inset Text
6389
6390 \begin_layout Plain Layout
6391 5
6392 \end_layout
6393
6394 \end_inset
6395 </cell>
6396 </row>
6397 <row>
6398 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6399 \begin_inset Text
6400
6401 \begin_layout Plain Layout
6402 asd
6403 \end_layout
6404
6405 \end_inset
6406 </cell>
6407 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6408 \begin_inset Text
6409
6410 \begin_layout Plain Layout
6411 s
6412 \end_layout
6413
6414 \end_inset
6415 </cell>
6416 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6417 \begin_inset Text
6418
6419 \begin_layout Plain Layout
6420 s
6421 \end_layout
6422
6423 \end_inset
6424 </cell>
6425 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6426 \begin_inset Text
6427
6428 \begin_layout Plain Layout
6429 s
6430 \end_layout
6431
6432 \end_inset
6433 </cell>
6434 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6435 \begin_inset Text
6436
6437 \begin_layout Plain Layout
6438 asd
6439 \end_layout
6440
6441 \end_inset
6442 </cell>
6443 </row>
6444 <row>
6445 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6446 \begin_inset Text
6447
6448 \begin_layout Plain Layout
6449 asd
6450 \end_layout
6451
6452 \end_inset
6453 </cell>
6454 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6455 \begin_inset Text
6456
6457 \begin_layout Plain Layout
6458 s
6459 \end_layout
6460
6461 \end_inset
6462 </cell>
6463 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6464 \begin_inset Text
6465
6466 \begin_layout Plain Layout
6467 s
6468 \end_layout
6469
6470 \end_inset
6471 </cell>
6472 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6473 \begin_inset Text
6474
6475 \begin_layout Plain Layout
6476 s
6477 \end_layout
6478
6479 \end_inset
6480 </cell>
6481 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6482 \begin_inset Text
6483
6484 \begin_layout Plain Layout
6485 asd
6486 \end_layout
6487
6488 \end_inset
6489 </cell>
6490 </row>
6491 <row>
6492 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6493 \begin_inset Text
6494
6495 \begin_layout Plain Layout
6496 asd
6497 \end_layout
6498
6499 \end_inset
6500 </cell>
6501 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6502 \begin_inset Text
6503
6504 \begin_layout Plain Layout
6505 s
6506 \end_layout
6507
6508 \end_inset
6509 </cell>
6510 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6511 \begin_inset Text
6512
6513 \begin_layout Plain Layout
6514 s
6515 \end_layout
6516
6517 \end_inset
6518 </cell>
6519 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6520 \begin_inset Text
6521
6522 \begin_layout Plain Layout
6523 s
6524 \end_layout
6525
6526 \end_inset
6527 </cell>
6528 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6529 \begin_inset Text
6530
6531 \begin_layout Plain Layout
6532 asd
6533 \end_layout
6534
6535 \end_inset
6536 </cell>
6537 </row>
6538 <row>
6539 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6540 \begin_inset Text
6541
6542 \begin_layout Plain Layout
6543 asd
6544 \end_layout
6545
6546 \end_inset
6547 </cell>
6548 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6549 \begin_inset Text
6550
6551 \begin_layout Plain Layout
6552 asd
6553 \end_layout
6554
6555 \end_inset
6556 </cell>
6557 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6558 \begin_inset Text
6559
6560 \begin_layout Plain Layout
6561 asd
6562 \end_layout
6563
6564 \end_inset
6565 </cell>
6566 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6567 \begin_inset Text
6568
6569 \begin_layout Plain Layout
6570 asd
6571 \end_layout
6572
6573 \end_inset
6574 </cell>
6575 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6576 \begin_inset Text
6577
6578 \begin_layout Plain Layout
6579 asd
6580 \end_layout
6581
6582 \end_inset
6583 </cell>
6584 </row>
6585 </lyxtabular>
6586
6587 \end_inset
6588
6589
6590 \end_layout
6591
6592 \begin_layout Standard
6593 \begin_inset VSpace medskip
6594 \end_inset
6595
6596
6597 \begin_inset Note Greyedout
6598 status open
6599
6600 \begin_layout Plain Layout
6601
6602 \series bold
6603 Note
6604 \begin_inset space ~
6605 \end_inset
6606
6607 1:
6608 \series default
6609  The table number is increased for every multi-page table, even if you did
6610  not set a caption for it.
6611  For this reason you could have the case that e.
6612 \begin_inset space \thinspace{}
6613 \end_inset
6614
6615 g.
6616 \begin_inset space \space{}
6617 \end_inset
6618
6619 Table
6620 \begin_inset space ~
6621 \end_inset
6622
6623 2.4 follows Table
6624 \begin_inset space ~
6625 \end_inset
6626
6627 2.1 in the list of tables if there are two multi-page tables without captions.
6628  To avoid this you can add the following command in \SpecialChar TeX
6629  Code after every multi-page
6630  table without a caption:
6631 \end_layout
6632
6633 \begin_layout Plain Layout
6634
6635 \series bold
6636
6637 \backslash
6638 addtocounter{table}{-1}
6639 \end_layout
6640
6641 \begin_layout Plain Layout
6642 This is not needed when none of your multi-page tables has a caption and
6643  you add the following code to the document preamble:
6644 \end_layout
6645
6646 \begin_layout Plain Layout
6647
6648 \series bold
6649
6650 \backslash
6651 let
6652 \backslash
6653 myEnd
6654 \backslash
6655 endlongtable
6656 \begin_inset Newline newline
6657 \end_inset
6658
6659
6660 \backslash
6661 renewcommand{
6662 \backslash
6663 endlongtable}{
6664 \backslash
6665 myEnd
6666 \backslash
6667 addtocounter{table}{-1}}
6668 \end_layout
6669
6670 \end_inset
6671
6672
6673 \end_layout
6674
6675 \begin_layout Standard
6676 \begin_inset Note Greyedout
6677 status open
6678
6679 \begin_layout Plain Layout
6680
6681 \series bold
6682 Note
6683 \begin_inset space ~
6684 \end_inset
6685
6686 2:
6687 \series default
6688  If you are using
6689 \series bold
6690  hyperref
6691 \series default
6692
6693 \begin_inset Index idx
6694 status collapsed
6695
6696 \begin_layout Plain Layout
6697 \SpecialChar LaTeX
6698 -packages ! hyperref
6699 \end_layout
6700
6701 \end_inset
6702
6703  in the 
6704 \family sans
6705 PDF Properties
6706 \family default
6707  of the 
6708 \family sans
6709 Document Settings
6710 \family default
6711  dialog to link cross-references, the link to a multi-page table caption
6712  will always point to the beginning of the document.
6713 \end_layout
6714
6715 \end_inset
6716
6717
6718 \end_layout
6719
6720 \begin_layout Subsubsection
6721 References to multi-page tables
6722 \begin_inset Index idx
6723 status collapsed
6724
6725 \begin_layout Plain Layout
6726 Table ! Multi-page Table ! References
6727 \end_layout
6728
6729 \end_inset
6730
6731
6732 \end_layout
6733
6734 \begin_layout Standard
6735 \begin_inset Tabular
6736 <lyxtabular version="3" rows="6" columns="5">
6737 <features islongtable="true" longtabularalignment="center">
6738 <column alignment="center" valignment="top">
6739 <column alignment="center" valignment="top">
6740 <column alignment="center" valignment="top">
6741 <column alignment="center" valignment="top">
6742 <column alignment="center" valignment="top">
6743 <row endfirsthead="true" caption="true">
6744 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6745 \begin_inset Text
6746
6747 \begin_layout Plain Layout
6748 \begin_inset Caption Standard
6749
6750 \begin_layout Plain Layout
6751 Referenced multi-page table
6752 \begin_inset CommandInset label
6753 LatexCommand label
6754 name "tab:Referenced-multi-page-table"
6755
6756 \end_inset
6757
6758
6759 \end_layout
6760
6761 \end_inset
6762
6763
6764 \end_layout
6765
6766 \end_inset
6767 </cell>
6768 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6769 \begin_inset Text
6770
6771 \begin_layout Plain Layout
6772
6773 \end_layout
6774
6775 \end_inset
6776 </cell>
6777 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6778 \begin_inset Text
6779
6780 \begin_layout Plain Layout
6781
6782 \end_layout
6783
6784 \end_inset
6785 </cell>
6786 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6787 \begin_inset Text
6788
6789 \begin_layout Plain Layout
6790
6791 \end_layout
6792
6793 \end_inset
6794 </cell>
6795 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6796 \begin_inset Text
6797
6798 \begin_layout Plain Layout
6799
6800 \end_layout
6801
6802 \end_inset
6803 </cell>
6804 </row>
6805 <row>
6806 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6807 \begin_inset Text
6808
6809 \begin_layout Plain Layout
6810 1
6811 \end_layout
6812
6813 \end_inset
6814 </cell>
6815 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6816 \begin_inset Text
6817
6818 \begin_layout Plain Layout
6819 2
6820 \end_layout
6821
6822 \end_inset
6823 </cell>
6824 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6825 \begin_inset Text
6826
6827 \begin_layout Plain Layout
6828 3
6829 \end_layout
6830
6831 \end_inset
6832 </cell>
6833 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6834 \begin_inset Text
6835
6836 \begin_layout Plain Layout
6837 4
6838 \end_layout
6839
6840 \end_inset
6841 </cell>
6842 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6843 \begin_inset Text
6844
6845 \begin_layout Plain Layout
6846 5
6847 \end_layout
6848
6849 \end_inset
6850 </cell>
6851 </row>
6852 <row>
6853 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6854 \begin_inset Text
6855
6856 \begin_layout Plain Layout
6857 asd
6858 \end_layout
6859
6860 \end_inset
6861 </cell>
6862 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6863 \begin_inset Text
6864
6865 \begin_layout Plain Layout
6866 s
6867 \end_layout
6868
6869 \end_inset
6870 </cell>
6871 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6872 \begin_inset Text
6873
6874 \begin_layout Plain Layout
6875 s
6876 \end_layout
6877
6878 \end_inset
6879 </cell>
6880 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6881 \begin_inset Text
6882
6883 \begin_layout Plain Layout
6884 s
6885 \end_layout
6886
6887 \end_inset
6888 </cell>
6889 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6890 \begin_inset Text
6891
6892 \begin_layout Plain Layout
6893 asd
6894 \end_layout
6895
6896 \end_inset
6897 </cell>
6898 </row>
6899 <row>
6900 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6901 \begin_inset Text
6902
6903 \begin_layout Plain Layout
6904 asd
6905 \end_layout
6906
6907 \end_inset
6908 </cell>
6909 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6910 \begin_inset Text
6911
6912 \begin_layout Plain Layout
6913 s
6914 \end_layout
6915
6916 \end_inset
6917 </cell>
6918 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6919 \begin_inset Text
6920
6921 \begin_layout Plain Layout
6922 s
6923 \end_layout
6924
6925 \end_inset
6926 </cell>
6927 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6928 \begin_inset Text
6929
6930 \begin_layout Plain Layout
6931 s
6932 \end_layout
6933
6934 \end_inset
6935 </cell>
6936 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6937 \begin_inset Text
6938
6939 \begin_layout Plain Layout
6940 asd
6941 \end_layout
6942
6943 \end_inset
6944 </cell>
6945 </row>
6946 <row>
6947 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6948 \begin_inset Text
6949
6950 \begin_layout Plain Layout
6951 asd
6952 \end_layout
6953
6954 \end_inset
6955 </cell>
6956 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6957 \begin_inset Text
6958
6959 \begin_layout Plain Layout
6960 s
6961 \end_layout
6962
6963 \end_inset
6964 </cell>
6965 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6966 \begin_inset Text
6967
6968 \begin_layout Plain Layout
6969 s
6970 \end_layout
6971
6972 \end_inset
6973 </cell>
6974 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6975 \begin_inset Text
6976
6977 \begin_layout Plain Layout
6978 s
6979 \end_layout
6980
6981 \end_inset
6982 </cell>
6983 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6984 \begin_inset Text
6985
6986 \begin_layout Plain Layout
6987 asd
6988 \end_layout
6989
6990 \end_inset
6991 </cell>
6992 </row>
6993 <row>
6994 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6995 \begin_inset Text
6996
6997 \begin_layout Plain Layout
6998 asd
6999 \end_layout
7000
7001 \end_inset
7002 </cell>
7003 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7004 \begin_inset Text
7005
7006 \begin_layout Plain Layout
7007 sad
7008 \end_layout
7009
7010 \end_inset
7011 </cell>
7012 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7013 \begin_inset Text
7014
7015 \begin_layout Plain Layout
7016 asd
7017 \end_layout
7018
7019 \end_inset
7020 </cell>
7021 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7022 \begin_inset Text
7023
7024 \begin_layout Plain Layout
7025 asd
7026 \end_layout
7027
7028 \end_inset
7029 </cell>
7030 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7031 \begin_inset Text
7032
7033 \begin_layout Plain Layout
7034 asd
7035 \end_layout
7036
7037 \end_inset
7038 </cell>
7039 </row>
7040 </lyxtabular>
7041
7042 \end_inset
7043
7044
7045 \end_layout
7046
7047 \begin_layout Standard
7048 To reference a multi-page table, insert a label into the caption.
7049 \end_layout
7050
7051 \begin_layout Standard
7052 This is a reference to Table
7053 \begin_inset space ~
7054 \end_inset
7055
7056
7057 \begin_inset CommandInset ref
7058 LatexCommand ref
7059 reference "tab:Referenced-multi-page-table"
7060
7061 \end_inset
7062
7063 .
7064 \end_layout
7065
7066 \begin_layout Standard
7067 The caption layout can be set together with all other captions of your document
7068  using the \SpecialChar LaTeX
7069 -package 
7070 \series bold
7071 caption
7072 \series default
7073
7074 \begin_inset Index idx
7075 status collapsed
7076
7077 \begin_layout Plain Layout
7078 \SpecialChar LaTeX
7079 -packages ! caption
7080 \end_layout
7081
7082 \end_inset
7083
7084 , see section
7085 \begin_inset space ~
7086 \end_inset
7087
7088
7089 \begin_inset CommandInset ref
7090 LatexCommand ref
7091 reference "sec:Caption-Formatting"
7092
7093 \end_inset
7094
7095 .
7096 \end_layout
7097
7098 \begin_layout Subsubsection
7099 Caption Width
7100 \begin_inset Index idx
7101 status collapsed
7102
7103 \begin_layout Plain Layout
7104 Table ! Multi-page Table ! Caption Width
7105 \end_layout
7106
7107 \end_inset
7108
7109
7110 \end_layout
7111
7112 \begin_layout Standard
7113 The maximal width of caption lines is defined by the length 
7114 \series bold
7115
7116 \backslash
7117 LTcapwidth
7118 \series default
7119 .
7120  Its default value is 4
7121 \begin_inset space \thinspace{}
7122 \end_inset
7123
7124 in.
7125  To change it add the following command to your document preamble or as
7126  \SpecialChar TeX
7127  Code into your document before the multi-page table that should be affected
7128 \end_layout
7129
7130 \begin_layout Standard
7131
7132 \series bold
7133
7134 \backslash
7135 setlength{
7136 \backslash
7137 LTcapwidth}{width}
7138 \end_layout
7139
7140 \begin_layout Standard
7141 where the 
7142 \family sans
7143 width
7144 \family default
7145  can have one of the units listed in appendix
7146 \begin_inset space ~
7147 \end_inset
7148
7149
7150 \begin_inset CommandInset ref
7151 LatexCommand ref
7152 reference "cha:Units-available-in"
7153
7154 \end_inset
7155
7156 .
7157 \end_layout
7158
7159 \begin_layout Standard
7160 The following tables show the difference:
7161 \end_layout
7162
7163 \begin_layout Standard
7164 \begin_inset Tabular
7165 <lyxtabular version="3" rows="6" columns="5">
7166 <features islongtable="true" longtabularalignment="center">
7167 <column alignment="center" valignment="top">
7168 <column alignment="center" valignment="top">
7169 <column alignment="center" valignment="top">
7170 <column alignment="center" valignment="top">
7171 <column alignment="center" valignment="top">
7172 <row endfirsthead="true" caption="true">
7173 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
7174 \begin_inset Text
7175
7176 \begin_layout Plain Layout
7177 \begin_inset Caption Standard
7178
7179 \begin_layout Plain Layout
7180 Long full title with default width long full title with default width long
7181  full title with default width
7182 \begin_inset Argument 1
7183 status collapsed
7184
7185 \begin_layout Plain Layout
7186 caption with default width
7187 \end_layout
7188
7189 \end_inset
7190
7191
7192 \end_layout
7193
7194 \end_inset
7195
7196
7197 \end_layout
7198
7199 \end_inset
7200 </cell>
7201 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7202 \begin_inset Text
7203
7204 \begin_layout Plain Layout
7205
7206 \end_layout
7207
7208 \end_inset
7209 </cell>
7210 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7211 \begin_inset Text
7212
7213 \begin_layout Plain Layout
7214
7215 \end_layout
7216
7217 \end_inset
7218 </cell>
7219 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7220 \begin_inset Text
7221
7222 \begin_layout Plain Layout
7223
7224 \end_layout
7225
7226 \end_inset
7227 </cell>
7228 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7229 \begin_inset Text
7230
7231 \begin_layout Plain Layout
7232
7233 \end_layout
7234
7235 \end_inset
7236 </cell>
7237 </row>
7238 <row>
7239 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7240 \begin_inset Text
7241
7242 \begin_layout Plain Layout
7243 1
7244 \end_layout
7245
7246 \end_inset
7247 </cell>
7248 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7249 \begin_inset Text
7250
7251 \begin_layout Plain Layout
7252 2
7253 \end_layout
7254
7255 \end_inset
7256 </cell>
7257 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7258 \begin_inset Text
7259
7260 \begin_layout Plain Layout
7261 3
7262 \end_layout
7263
7264 \end_inset
7265 </cell>
7266 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7267 \begin_inset Text
7268
7269 \begin_layout Plain Layout
7270 4
7271 \end_layout
7272
7273 \end_inset
7274 </cell>
7275 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7276 \begin_inset Text
7277
7278 \begin_layout Plain Layout
7279 5
7280 \end_layout
7281
7282 \end_inset
7283 </cell>
7284 </row>
7285 <row>
7286 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7287 \begin_inset Text
7288
7289 \begin_layout Plain Layout
7290 asd
7291 \end_layout
7292
7293 \end_inset
7294 </cell>
7295 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7296 \begin_inset Text
7297
7298 \begin_layout Plain Layout
7299 s
7300 \end_layout
7301
7302 \end_inset
7303 </cell>
7304 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7305 \begin_inset Text
7306
7307 \begin_layout Plain Layout
7308 s
7309 \end_layout
7310
7311 \end_inset
7312 </cell>
7313 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7314 \begin_inset Text
7315
7316 \begin_layout Plain Layout
7317 s
7318 \end_layout
7319
7320 \end_inset
7321 </cell>
7322 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7323 \begin_inset Text
7324
7325 \begin_layout Plain Layout
7326 asd
7327 \end_layout
7328
7329 \end_inset
7330 </cell>
7331 </row>
7332 <row>
7333 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7334 \begin_inset Text
7335
7336 \begin_layout Plain Layout
7337 asd
7338 \end_layout
7339
7340 \end_inset
7341 </cell>
7342 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7343 \begin_inset Text
7344
7345 \begin_layout Plain Layout
7346 s
7347 \end_layout
7348
7349 \end_inset
7350 </cell>
7351 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7352 \begin_inset Text
7353
7354 \begin_layout Plain Layout
7355 s
7356 \end_layout
7357
7358 \end_inset
7359 </cell>
7360 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7361 \begin_inset Text
7362
7363 \begin_layout Plain Layout
7364 s
7365 \end_layout
7366
7367 \end_inset
7368 </cell>
7369 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7370 \begin_inset Text
7371
7372 \begin_layout Plain Layout
7373 asd
7374 \end_layout
7375
7376 \end_inset
7377 </cell>
7378 </row>
7379 <row>
7380 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7381 \begin_inset Text
7382
7383 \begin_layout Plain Layout
7384 asd
7385 \end_layout
7386
7387 \end_inset
7388 </cell>
7389 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7390 \begin_inset Text
7391
7392 \begin_layout Plain Layout
7393 s
7394 \end_layout
7395
7396 \end_inset
7397 </cell>
7398 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7399 \begin_inset Text
7400
7401 \begin_layout Plain Layout
7402 s
7403 \end_layout
7404
7405 \end_inset
7406 </cell>
7407 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7408 \begin_inset Text
7409
7410 \begin_layout Plain Layout
7411 s
7412 \end_layout
7413
7414 \end_inset
7415 </cell>
7416 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7417 \begin_inset Text
7418
7419 \begin_layout Plain Layout
7420 asd
7421 \end_layout
7422
7423 \end_inset
7424 </cell>
7425 </row>
7426 <row>
7427 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7428 \begin_inset Text
7429
7430 \begin_layout Plain Layout
7431 asd
7432 \end_layout
7433
7434 \end_inset
7435 </cell>
7436 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7437 \begin_inset Text
7438
7439 \begin_layout Plain Layout
7440 sad
7441 \end_layout
7442
7443 \end_inset
7444 </cell>
7445 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7446 \begin_inset Text
7447
7448 \begin_layout Plain Layout
7449 asd
7450 \end_layout
7451
7452 \end_inset
7453 </cell>
7454 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7455 \begin_inset Text
7456
7457 \begin_layout Plain Layout
7458 asd
7459 \end_layout
7460
7461 \end_inset
7462 </cell>
7463 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7464 \begin_inset Text
7465
7466 \begin_layout Plain Layout
7467 asd
7468 \end_layout
7469
7470 \end_inset
7471 </cell>
7472 </row>
7473 </lyxtabular>
7474
7475 \end_inset
7476
7477
7478 \end_layout
7479
7480 \begin_layout Standard
7481 \begin_inset ERT
7482 status collapsed
7483
7484 \begin_layout Plain Layout
7485
7486
7487 \backslash
7488 setlength{
7489 \backslash
7490 LTcapwidth}{5cm}
7491 \end_layout
7492
7493 \end_inset
7494
7495
7496 \begin_inset Tabular
7497 <lyxtabular version="3" rows="6" columns="5">
7498 <features islongtable="true" longtabularalignment="center">
7499 <column alignment="center" valignment="top">
7500 <column alignment="center" valignment="top">
7501 <column alignment="center" valignment="top">
7502 <column alignment="center" valignment="top">
7503 <column alignment="center" valignment="top">
7504 <row endfirsthead="true" caption="true">
7505 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
7506 \begin_inset Text
7507
7508 \begin_layout Plain Layout
7509 \begin_inset Caption Standard
7510
7511 \begin_layout Plain Layout
7512 Long full title with width set to 5
7513 \begin_inset space \thinspace{}
7514 \end_inset
7515
7516 cm long full title with width set to 5
7517 \begin_inset space \thinspace{}
7518 \end_inset
7519
7520 cm long full title with width set to 5
7521 \begin_inset space \thinspace{}
7522 \end_inset
7523
7524 cm
7525 \begin_inset Argument 1
7526 status collapsed
7527
7528 \begin_layout Plain Layout
7529 caption with width
7530 \begin_inset space \thinspace{}
7531 \end_inset
7532
7533 =
7534 \begin_inset space \thinspace{}
7535 \end_inset
7536
7537 5
7538 \begin_inset space \thinspace{}
7539 \end_inset
7540
7541 cm
7542 \end_layout
7543
7544 \end_inset
7545
7546
7547 \end_layout
7548
7549 \end_inset
7550
7551
7552 \end_layout
7553
7554 \end_inset
7555 </cell>
7556 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7557 \begin_inset Text
7558
7559 \begin_layout Plain Layout
7560
7561 \end_layout
7562
7563 \end_inset
7564 </cell>
7565 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7566 \begin_inset Text
7567
7568 \begin_layout Plain Layout
7569
7570 \end_layout
7571
7572 \end_inset
7573 </cell>
7574 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7575 \begin_inset Text
7576
7577 \begin_layout Plain Layout
7578
7579 \end_layout
7580
7581 \end_inset
7582 </cell>
7583 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7584 \begin_inset Text
7585
7586 \begin_layout Plain Layout
7587
7588 \end_layout
7589
7590 \end_inset
7591 </cell>
7592 </row>
7593 <row>
7594 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7595 \begin_inset Text
7596
7597 \begin_layout Plain Layout
7598 1
7599 \end_layout
7600
7601 \end_inset
7602 </cell>
7603 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7604 \begin_inset Text
7605
7606 \begin_layout Plain Layout
7607 2
7608 \end_layout
7609
7610 \end_inset
7611 </cell>
7612 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7613 \begin_inset Text
7614
7615 \begin_layout Plain Layout
7616 3
7617 \end_layout
7618
7619 \end_inset
7620 </cell>
7621 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7622 \begin_inset Text
7623
7624 \begin_layout Plain Layout
7625 4
7626 \end_layout
7627
7628 \end_inset
7629 </cell>
7630 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7631 \begin_inset Text
7632
7633 \begin_layout Plain Layout
7634 5
7635 \end_layout
7636
7637 \end_inset
7638 </cell>
7639 </row>
7640 <row>
7641 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7642 \begin_inset Text
7643
7644 \begin_layout Plain Layout
7645 asd
7646 \end_layout
7647
7648 \end_inset
7649 </cell>
7650 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7651 \begin_inset Text
7652
7653 \begin_layout Plain Layout
7654 s
7655 \end_layout
7656
7657 \end_inset
7658 </cell>
7659 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7660 \begin_inset Text
7661
7662 \begin_layout Plain Layout
7663 s
7664 \end_layout
7665
7666 \end_inset
7667 </cell>
7668 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7669 \begin_inset Text
7670
7671 \begin_layout Plain Layout
7672 s
7673 \end_layout
7674
7675 \end_inset
7676 </cell>
7677 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7678 \begin_inset Text
7679
7680 \begin_layout Plain Layout
7681 asd
7682 \end_layout
7683
7684 \end_inset
7685 </cell>
7686 </row>
7687 <row>
7688 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7689 \begin_inset Text
7690
7691 \begin_layout Plain Layout
7692 asd
7693 \end_layout
7694
7695 \end_inset
7696 </cell>
7697 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7698 \begin_inset Text
7699
7700 \begin_layout Plain Layout
7701 s
7702 \end_layout
7703
7704 \end_inset
7705 </cell>
7706 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7707 \begin_inset Text
7708
7709 \begin_layout Plain Layout
7710 s
7711 \end_layout
7712
7713 \end_inset
7714 </cell>
7715 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7716 \begin_inset Text
7717
7718 \begin_layout Plain Layout
7719 s
7720 \end_layout
7721
7722 \end_inset
7723 </cell>
7724 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7725 \begin_inset Text
7726
7727 \begin_layout Plain Layout
7728 asd
7729 \end_layout
7730
7731 \end_inset
7732 </cell>
7733 </row>
7734 <row>
7735 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7736 \begin_inset Text
7737
7738 \begin_layout Plain Layout
7739 asd
7740 \end_layout
7741
7742 \end_inset
7743 </cell>
7744 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7745 \begin_inset Text
7746
7747 \begin_layout Plain Layout
7748 s
7749 \end_layout
7750
7751 \end_inset
7752 </cell>
7753 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7754 \begin_inset Text
7755
7756 \begin_layout Plain Layout
7757 s
7758 \end_layout
7759
7760 \end_inset
7761 </cell>
7762 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7763 \begin_inset Text
7764
7765 \begin_layout Plain Layout
7766 s
7767 \end_layout
7768
7769 \end_inset
7770 </cell>
7771 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7772 \begin_inset Text
7773
7774 \begin_layout Plain Layout
7775 asd
7776 \end_layout
7777
7778 \end_inset
7779 </cell>
7780 </row>
7781 <row>
7782 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7783 \begin_inset Text
7784
7785 \begin_layout Plain Layout
7786 asd
7787 \end_layout
7788
7789 \end_inset
7790 </cell>
7791 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7792 \begin_inset Text
7793
7794 \begin_layout Plain Layout
7795 sad
7796 \end_layout
7797
7798 \end_inset
7799 </cell>
7800 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7801 \begin_inset Text
7802
7803 \begin_layout Plain Layout
7804 asd
7805 \end_layout
7806
7807 \end_inset
7808 </cell>
7809 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7810 \begin_inset Text
7811
7812 \begin_layout Plain Layout
7813 asd
7814 \end_layout
7815
7816 \end_inset
7817 </cell>
7818 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7819 \begin_inset Text
7820
7821 \begin_layout Plain Layout
7822 asd
7823 \end_layout
7824
7825 \end_inset
7826 </cell>
7827 </row>
7828 </lyxtabular>
7829
7830 \end_inset
7831
7832
7833 \end_layout
7834
7835 \begin_layout Standard
7836 \begin_inset ERT
7837 status collapsed
7838
7839 \begin_layout Plain Layout
7840
7841
7842 \backslash
7843 setlength{
7844 \backslash
7845 LTcapwidth}{4in}
7846 \end_layout
7847
7848 \end_inset
7849
7850
7851 \end_layout
7852
7853 \begin_layout Standard
7854 \begin_inset Note Greyedout
7855 status open
7856
7857 \begin_layout Plain Layout
7858
7859 \series bold
7860 Note:
7861 \series default
7862  When the \SpecialChar LaTeX
7863 -package 
7864 \series bold
7865 caption
7866 \series default
7867
7868 \begin_inset Index idx
7869 status collapsed
7870
7871 \begin_layout Plain Layout
7872 \SpecialChar LaTeX
7873 -packages ! caption
7874 \end_layout
7875
7876 \end_inset
7877
7878  is used, as in this document, the full page width is used for the caption
7879  when you use the default value of 4
7880 \begin_inset space \thinspace{}
7881 \end_inset
7882
7883 in for 
7884 \series bold
7885
7886 \backslash
7887 LTcapwidth
7888 \series default
7889 .
7890  To get in this case exactly a 4
7891 \begin_inset space \thinspace{}
7892 \end_inset
7893
7894 in wide caption, you can either use a value slightly different from 4.0
7895 \begin_inset space \thinspace{}
7896 \end_inset
7897
7898 in, e.
7899 \begin_inset space \thinspace{}
7900 \end_inset
7901
7902 g.
7903 \begin_inset space \space{}
7904 \end_inset
7905
7906 3.99
7907 \begin_inset space \thinspace{}
7908 \end_inset
7909
7910 in, or the \SpecialChar LaTeX
7911 -command 
7912 \series bold
7913
7914 \backslash
7915 captionsetup{width=value}
7916 \series default
7917  that is provided by the 
7918 \series bold
7919 caption
7920 \series default
7921 -package.
7922 \end_layout
7923
7924 \end_inset
7925
7926
7927 \end_layout
7928
7929 \begin_layout Subsubsection
7930 Different Captions for Table Pages
7931 \begin_inset Index idx
7932 status collapsed
7933
7934 \begin_layout Plain Layout
7935 Table ! Multi-page Table ! Different Captions for Pages
7936 \end_layout
7937
7938 \end_inset
7939
7940
7941 \end_layout
7942
7943 \begin_layout Standard
7944 When the table captions for the following pages should differ from the one
7945  of the first table page, mark a empty row as header which contains a caption.
7946  Then right-click on the caption and select in the context menu 
7947 \family sans
7948 Caption
7949 \begin_inset space ~
7950 \end_inset
7951
7952 (Unnumbered)
7953 \family default
7954 .
7955  Table
7956 \begin_inset space ~
7957 \end_inset
7958
7959
7960 \begin_inset CommandInset ref
7961 LatexCommand ref
7962 reference "tab:DiffCaptions"
7963
7964 \end_inset
7965
7966  is an example of a multi-page table with different heading where the second
7967  caption does not include the table number.
7968 \end_layout
7969
7970 \begin_layout Standard
7971 \align center
7972 \begin_inset Tabular
7973 <lyxtabular version="3" rows="59" columns="3">
7974 <features islongtable="true" longtabularalignment="center">
7975 <column alignment="left" valignment="top" width="0cm">
7976 <column alignment="left" valignment="top" width="0pt">
7977 <column alignment="center" valignment="top" width="0pt">
7978 <row endfirsthead="true" caption="true">
7979 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
7980 \begin_inset Text
7981
7982 \begin_layout Plain Layout
7983 \begin_inset Caption Standard
7984
7985 \begin_layout Plain Layout
7986 Example Phone List
7987 \begin_inset CommandInset label
7988 LatexCommand label
7989 name "tab:DiffCaptions"
7990
7991 \end_inset
7992
7993
7994 \begin_inset Argument 1
7995 status collapsed
7996
7997 \begin_layout Plain Layout
7998 Example Phone List
7999 \end_layout
8000
8001 \end_inset
8002
8003
8004 \end_layout
8005
8006 \end_inset
8007
8008
8009 \end_layout
8010
8011 \end_inset
8012 </cell>
8013 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8014 \begin_inset Text
8015
8016 \begin_layout Plain Layout
8017
8018 \end_layout
8019
8020 \end_inset
8021 </cell>
8022 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8023 \begin_inset Text
8024
8025 \begin_layout Plain Layout
8026
8027 \end_layout
8028
8029 \end_inset
8030 </cell>
8031 </row>
8032 <row endfirsthead="true">
8033 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8034 \begin_inset Text
8035
8036 \begin_layout Plain Layout
8037
8038 \series bold
8039 Example Phone List (ignore the names)
8040 \end_layout
8041
8042 \end_inset
8043 </cell>
8044 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
8045 \begin_inset Text
8046
8047 \begin_layout Plain Layout
8048
8049 \end_layout
8050
8051 \end_inset
8052 </cell>
8053 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
8054 \begin_inset Text
8055
8056 \begin_layout Plain Layout
8057
8058 \end_layout
8059
8060 \end_inset
8061 </cell>
8062 </row>
8063 <row endfirsthead="true">
8064 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8065 \begin_inset Text
8066
8067 \begin_layout Plain Layout
8068
8069 \series bold
8070 NAME
8071 \end_layout
8072
8073 \end_inset
8074 </cell>
8075 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8076 \begin_inset Text
8077
8078 \begin_layout Plain Layout
8079
8080 \end_layout
8081
8082 \end_inset
8083 </cell>
8084 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8085 \begin_inset Text
8086
8087 \begin_layout Plain Layout
8088
8089 \series bold
8090 TEL.
8091 \end_layout
8092
8093 \end_inset
8094 </cell>
8095 </row>
8096 <row endhead="true" caption="true">
8097 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
8098 \begin_inset Text
8099
8100 \begin_layout Plain Layout
8101 \begin_inset Caption Unnumbered
8102
8103 \begin_layout Plain Layout
8104 Continued Example Phone List
8105 \end_layout
8106
8107 \end_inset
8108
8109
8110 \end_layout
8111
8112 \end_inset
8113 </cell>
8114 <cell multicolumn="2" alignment="left" valignment="top" leftline="true" usebox="none">
8115 \begin_inset Text
8116
8117 \begin_layout Plain Layout
8118
8119 \end_layout
8120
8121 \end_inset
8122 </cell>
8123 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8124 \begin_inset Text
8125
8126 \begin_layout Plain Layout
8127
8128 \end_layout
8129
8130 \end_inset
8131 </cell>
8132 </row>
8133 <row endhead="true">
8134 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8135 \begin_inset Text
8136
8137 \begin_layout Plain Layout
8138
8139 \series bold
8140 Example Phone List
8141 \end_layout
8142
8143 \end_inset
8144 </cell>
8145 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8146 \begin_inset Text
8147
8148 \begin_layout Plain Layout
8149
8150 \end_layout
8151
8152 \end_inset
8153 </cell>
8154 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8155 \begin_inset Text
8156
8157 \begin_layout Plain Layout
8158
8159 \end_layout
8160
8161 \end_inset
8162 </cell>
8163 </row>
8164 <row endhead="true">
8165 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8166 \begin_inset Text
8167
8168 \begin_layout Plain Layout
8169
8170 \series bold
8171 NAME
8172 \end_layout
8173
8174 \end_inset
8175 </cell>
8176 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8177 \begin_inset Text
8178
8179 \begin_layout Plain Layout
8180
8181 \end_layout
8182
8183 \end_inset
8184 </cell>
8185 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8186 \begin_inset Text
8187
8188 \begin_layout Plain Layout
8189
8190 \series bold
8191 TEL.
8192 \end_layout
8193
8194 \end_inset
8195 </cell>
8196 </row>
8197 <row endfoot="true">
8198 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
8199 \begin_inset Text
8200
8201 \begin_layout Plain Layout
8202 continued on next page
8203 \end_layout
8204
8205 \end_inset
8206 </cell>
8207 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8208 \begin_inset Text
8209
8210 \begin_layout Plain Layout
8211
8212 \end_layout
8213
8214 \end_inset
8215 </cell>
8216 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8217 \begin_inset Text
8218
8219 \begin_layout Plain Layout
8220
8221 \end_layout
8222
8223 \end_inset
8224 </cell>
8225 </row>
8226 <row>
8227 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8228 \begin_inset Text
8229
8230 \begin_layout Plain Layout
8231
8232 \series bold
8233 Annovi
8234 \end_layout
8235
8236 \end_inset
8237 </cell>
8238 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8239 \begin_inset Text
8240
8241 \begin_layout Plain Layout
8242 Silvia
8243 \end_layout
8244
8245 \end_inset
8246 </cell>
8247 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8248 \begin_inset Text
8249
8250 \begin_layout Plain Layout
8251 111
8252 \end_layout
8253
8254 \end_inset
8255 </cell>
8256 </row>
8257 <row>
8258 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8259 \begin_inset Text
8260
8261 \begin_layout Plain Layout
8262
8263 \series bold
8264 Bertoli
8265 \end_layout
8266
8267 \end_inset
8268 </cell>
8269 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8270 \begin_inset Text
8271
8272 \begin_layout Plain Layout
8273 Stefano
8274 \end_layout
8275
8276 \end_inset
8277 </cell>
8278 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8279 \begin_inset Text
8280
8281 \begin_layout Plain Layout
8282 111
8283 \end_layout
8284
8285 \end_inset
8286 </cell>
8287 </row>
8288 <row>
8289 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8290 \begin_inset Text
8291
8292 \begin_layout Plain Layout
8293
8294 \series bold
8295 Bozzi
8296 \end_layout
8297
8298 \end_inset
8299 </cell>
8300 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8301 \begin_inset Text
8302
8303 \begin_layout Plain Layout
8304 Walter
8305 \end_layout
8306
8307 \end_inset
8308 </cell>
8309 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8310 \begin_inset Text
8311
8312 \begin_layout Plain Layout
8313 111
8314 \end_layout
8315
8316 \end_inset
8317 </cell>
8318 </row>
8319 <row>
8320 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8321 \begin_inset Text
8322
8323 \begin_layout Plain Layout
8324
8325 \series bold
8326 Cachia
8327 \end_layout
8328
8329 \end_inset
8330 </cell>
8331 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8332 \begin_inset Text
8333
8334 \begin_layout Plain Layout
8335 Maria
8336 \end_layout
8337
8338 \end_inset
8339 </cell>
8340 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8341 \begin_inset Text
8342
8343 \begin_layout Plain Layout
8344 111
8345 \end_layout
8346
8347 \end_inset
8348 </cell>
8349 </row>
8350 <row>
8351 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8352 \begin_inset Text
8353
8354 \begin_layout Plain Layout
8355
8356 \series bold
8357 Cachia
8358 \end_layout
8359
8360 \end_inset
8361 </cell>
8362 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8363 \begin_inset Text
8364
8365 \begin_layout Plain Layout
8366 Maurizio
8367 \end_layout
8368
8369 \end_inset
8370 </cell>
8371 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8372 \begin_inset Text
8373
8374 \begin_layout Plain Layout
8375 111
8376 \end_layout
8377
8378 \end_inset
8379 </cell>
8380 </row>
8381 <row>
8382 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8383 \begin_inset Text
8384
8385 \begin_layout Plain Layout
8386
8387 \series bold
8388 Cinquemani
8389 \end_layout
8390
8391 \end_inset
8392 </cell>
8393 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8394 \begin_inset Text
8395
8396 \begin_layout Plain Layout
8397 Giusi
8398 \end_layout
8399
8400 \end_inset
8401 </cell>
8402 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8403 \begin_inset Text
8404
8405 \begin_layout Plain Layout
8406 111
8407 \end_layout
8408
8409 \end_inset
8410 </cell>
8411 </row>
8412 <row>
8413 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8414 \begin_inset Text
8415
8416 \begin_layout Plain Layout
8417
8418 \series bold
8419 Colin
8420 \end_layout
8421
8422 \end_inset
8423 </cell>
8424 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8425 \begin_inset Text
8426
8427 \begin_layout Plain Layout
8428 Bernard
8429 \end_layout
8430
8431 \end_inset
8432 </cell>
8433 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8434 \begin_inset Text
8435
8436 \begin_layout Plain Layout
8437 111
8438 \end_layout
8439
8440 \end_inset
8441 </cell>
8442 </row>
8443 <row>
8444 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8445 \begin_inset Text
8446
8447 \begin_layout Plain Layout
8448
8449 \series bold
8450 Concli
8451 \end_layout
8452
8453 \end_inset
8454 </cell>
8455 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8456 \begin_inset Text
8457
8458 \begin_layout Plain Layout
8459 Gianfranco
8460 \end_layout
8461
8462 \end_inset
8463 </cell>
8464 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8465 \begin_inset Text
8466
8467 \begin_layout Plain Layout
8468 111
8469 \end_layout
8470
8471 \end_inset
8472 </cell>
8473 </row>
8474 <row>
8475 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8476 \begin_inset Text
8477
8478 \begin_layout Plain Layout
8479
8480 \series bold
8481 Dal Bosco
8482 \end_layout
8483
8484 \end_inset
8485 </cell>
8486 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8487 \begin_inset Text
8488
8489 \begin_layout Plain Layout
8490 Carolina
8491 \end_layout
8492
8493 \end_inset
8494 </cell>
8495 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8496 \begin_inset Text
8497
8498 \begin_layout Plain Layout
8499 111
8500 \end_layout
8501
8502 \end_inset
8503 </cell>
8504 </row>
8505 <row>
8506 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8507 \begin_inset Text
8508
8509 \begin_layout Plain Layout
8510
8511 \series bold
8512 Dalpiaz
8513 \end_layout
8514
8515 \end_inset
8516 </cell>
8517 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8518 \begin_inset Text
8519
8520 \begin_layout Plain Layout
8521 Annamaria
8522 \end_layout
8523
8524 \end_inset
8525 </cell>
8526 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8527 \begin_inset Text
8528
8529 \begin_layout Plain Layout
8530 111
8531 \end_layout
8532
8533 \end_inset
8534 </cell>
8535 </row>
8536 <row>
8537 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8538 \begin_inset Text
8539
8540 \begin_layout Plain Layout
8541
8542 \series bold
8543 Feliciello
8544 \end_layout
8545
8546 \end_inset
8547 </cell>
8548 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8549 \begin_inset Text
8550
8551 \begin_layout Plain Layout
8552 Domenico
8553 \end_layout
8554
8555 \end_inset
8556 </cell>
8557 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8558 \begin_inset Text
8559
8560 \begin_layout Plain Layout
8561 111
8562 \end_layout
8563
8564 \end_inset
8565 </cell>
8566 </row>
8567 <row>
8568 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8569 \begin_inset Text
8570
8571 \begin_layout Plain Layout
8572
8573 \series bold
8574 Focarelli
8575 \end_layout
8576
8577 \end_inset
8578 </cell>
8579 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8580 \begin_inset Text
8581
8582 \begin_layout Plain Layout
8583 Paola
8584 \end_layout
8585
8586 \end_inset
8587 </cell>
8588 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8589 \begin_inset Text
8590
8591 \begin_layout Plain Layout
8592 111
8593 \end_layout
8594
8595 \end_inset
8596 </cell>
8597 </row>
8598 <row>
8599 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8600 \begin_inset Text
8601
8602 \begin_layout Plain Layout
8603
8604 \series bold
8605 Galletti
8606 \end_layout
8607
8608 \end_inset
8609 </cell>
8610 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8611 \begin_inset Text
8612
8613 \begin_layout Plain Layout
8614 Oreste
8615 \end_layout
8616
8617 \end_inset
8618 </cell>
8619 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8620 \begin_inset Text
8621
8622 \begin_layout Plain Layout
8623 111
8624 \end_layout
8625
8626 \end_inset
8627 </cell>
8628 </row>
8629 <row>
8630 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8631 \begin_inset Text
8632
8633 \begin_layout Plain Layout
8634
8635 \series bold
8636 Gasparini
8637 \end_layout
8638
8639 \end_inset
8640 </cell>
8641 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8642 \begin_inset Text
8643
8644 \begin_layout Plain Layout
8645 Franca
8646 \end_layout
8647
8648 \end_inset
8649 </cell>
8650 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8651 \begin_inset Text
8652
8653 \begin_layout Plain Layout
8654 111
8655 \end_layout
8656
8657 \end_inset
8658 </cell>
8659 </row>
8660 <row>
8661 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8662 \begin_inset Text
8663
8664 \begin_layout Plain Layout
8665
8666 \series bold
8667 Rizzardi
8668 \series default
8669
8670 \begin_inset Foot
8671 status open
8672
8673 \begin_layout Plain Layout
8674 Example footnote
8675 \end_layout
8676
8677 \end_inset
8678
8679
8680 \end_layout
8681
8682 \end_inset
8683 </cell>
8684 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8685 \begin_inset Text
8686
8687 \begin_layout Plain Layout
8688 Paola
8689 \end_layout
8690
8691 \end_inset
8692 </cell>
8693 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8694 \begin_inset Text
8695
8696 \begin_layout Plain Layout
8697 111
8698 \end_layout
8699
8700 \end_inset
8701 </cell>
8702 </row>
8703 <row>
8704 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8705 \begin_inset Text
8706
8707 \begin_layout Plain Layout
8708
8709 \series bold
8710 Lassini
8711 \end_layout
8712
8713 \end_inset
8714 </cell>
8715 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8716 \begin_inset Text
8717
8718 \begin_layout Plain Layout
8719 Giancarlo
8720 \end_layout
8721
8722 \end_inset
8723 </cell>
8724 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8725 \begin_inset Text
8726
8727 \begin_layout Plain Layout
8728 111
8729 \end_layout
8730
8731 \end_inset
8732 </cell>
8733 </row>
8734 <row>
8735 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8736 \begin_inset Text
8737
8738 \begin_layout Plain Layout
8739
8740 \series bold
8741 Malfatti
8742 \end_layout
8743
8744 \end_inset
8745 </cell>
8746 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8747 \begin_inset Text
8748
8749 \begin_layout Plain Layout
8750 Luciano
8751 \end_layout
8752
8753 \end_inset
8754 </cell>
8755 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8756 \begin_inset Text
8757
8758 \begin_layout Plain Layout
8759 111
8760 \end_layout
8761
8762 \end_inset
8763 </cell>
8764 </row>
8765 <row>
8766 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8767 \begin_inset Text
8768
8769 \begin_layout Plain Layout
8770
8771 \series bold
8772 Malfatti
8773 \end_layout
8774
8775 \end_inset
8776 </cell>
8777 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8778 \begin_inset Text
8779
8780 \begin_layout Plain Layout
8781 Valeriano
8782 \end_layout
8783
8784 \end_inset
8785 </cell>
8786 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8787 \begin_inset Text
8788
8789 \begin_layout Plain Layout
8790 111
8791 \end_layout
8792
8793 \end_inset
8794 </cell>
8795 </row>
8796 <row>
8797 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8798 \begin_inset Text
8799
8800 \begin_layout Plain Layout
8801
8802 \series bold
8803 Meneguzzo
8804 \end_layout
8805
8806 \end_inset
8807 </cell>
8808 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8809 \begin_inset Text
8810
8811 \begin_layout Plain Layout
8812 Roberto
8813 \end_layout
8814
8815 \end_inset
8816 </cell>
8817 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8818 \begin_inset Text
8819
8820 \begin_layout Plain Layout
8821 111
8822 \end_layout
8823
8824 \end_inset
8825 </cell>
8826 </row>
8827 <row>
8828 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8829 \begin_inset Text
8830
8831 \begin_layout Plain Layout
8832
8833 \series bold
8834 Mezzadra
8835 \end_layout
8836
8837 \end_inset
8838 </cell>
8839 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8840 \begin_inset Text
8841
8842 \begin_layout Plain Layout
8843 Roberto
8844 \end_layout
8845
8846 \end_inset
8847 </cell>
8848 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8849 \begin_inset Text
8850
8851 \begin_layout Plain Layout
8852 111
8853 \end_layout
8854
8855 \end_inset
8856 </cell>
8857 </row>
8858 <row>
8859 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8860 \begin_inset Text
8861
8862 \begin_layout Plain Layout
8863
8864 \series bold
8865 Pirpamer
8866 \end_layout
8867
8868 \end_inset
8869 </cell>
8870 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8871 \begin_inset Text
8872
8873 \begin_layout Plain Layout
8874 Erich
8875 \end_layout
8876
8877 \end_inset
8878 </cell>
8879 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8880 \begin_inset Text
8881
8882 \begin_layout Plain Layout
8883 111
8884 \end_layout
8885
8886 \end_inset
8887 </cell>
8888 </row>
8889 <row>
8890 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8891 \begin_inset Text
8892
8893 \begin_layout Plain Layout
8894
8895 \series bold
8896 Pochiesa
8897 \end_layout
8898
8899 \end_inset
8900 </cell>
8901 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8902 \begin_inset Text
8903
8904 \begin_layout Plain Layout
8905 Paolo
8906 \end_layout
8907
8908 \end_inset
8909 </cell>
8910 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8911 \begin_inset Text
8912
8913 \begin_layout Plain Layout
8914 111, 222
8915 \end_layout
8916
8917 \end_inset
8918 </cell>
8919 </row>
8920 <row>
8921 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8922 \begin_inset Text
8923
8924 \begin_layout Plain Layout
8925
8926 \series bold
8927 Radina
8928 \end_layout
8929
8930 \end_inset
8931 </cell>
8932 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8933 \begin_inset Text
8934
8935 \begin_layout Plain Layout
8936 Claudio
8937 \end_layout
8938
8939 \end_inset
8940 </cell>
8941 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8942 \begin_inset Text
8943
8944 \begin_layout Plain Layout
8945 111
8946 \end_layout
8947
8948 \end_inset
8949 </cell>
8950 </row>
8951 <row>
8952 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8953 \begin_inset Text
8954
8955 \begin_layout Plain Layout
8956
8957 \series bold
8958 Stuffer
8959 \end_layout
8960
8961 \end_inset
8962 </cell>
8963 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8964 \begin_inset Text
8965
8966 \begin_layout Plain Layout
8967 Oskar
8968 \end_layout
8969
8970 \end_inset
8971 </cell>
8972 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8973 \begin_inset Text
8974
8975 \begin_layout Plain Layout
8976 111
8977 \end_layout
8978
8979 \end_inset
8980 </cell>
8981 </row>
8982 <row>
8983 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8984 \begin_inset Text
8985
8986 \begin_layout Plain Layout
8987
8988 \series bold
8989 Tacchelli
8990 \end_layout
8991
8992 \end_inset
8993 </cell>
8994 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8995 \begin_inset Text
8996
8997 \begin_layout Plain Layout
8998 Ugo
8999 \end_layout
9000
9001 \end_inset
9002 </cell>
9003 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9004 \begin_inset Text
9005
9006 \begin_layout Plain Layout
9007 111
9008 \end_layout
9009
9010 \end_inset
9011 </cell>
9012 </row>
9013 <row>
9014 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9015 \begin_inset Text
9016
9017 \begin_layout Plain Layout
9018
9019 \series bold
9020 Tezzele
9021 \end_layout
9022
9023 \end_inset
9024 </cell>
9025 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9026 \begin_inset Text
9027
9028 \begin_layout Plain Layout
9029 Margit
9030 \end_layout
9031
9032 \end_inset
9033 </cell>
9034 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9035 \begin_inset Text
9036
9037 \begin_layout Plain Layout
9038 111
9039 \end_layout
9040
9041 \end_inset
9042 </cell>
9043 </row>
9044 <row>
9045 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9046 \begin_inset Text
9047
9048 \begin_layout Plain Layout
9049
9050 \series bold
9051 Unterkalmsteiner
9052 \end_layout
9053
9054 \end_inset
9055 </cell>
9056 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9057 \begin_inset Text
9058
9059 \begin_layout Plain Layout
9060 Frieda
9061 \end_layout
9062
9063 \end_inset
9064 </cell>
9065 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9066 \begin_inset Text
9067
9068 \begin_layout Plain Layout
9069 111
9070 \end_layout
9071
9072 \end_inset
9073 </cell>
9074 </row>
9075 <row>
9076 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9077 \begin_inset Text
9078
9079 \begin_layout Plain Layout
9080
9081 \series bold
9082 Vieider
9083 \end_layout
9084
9085 \end_inset
9086 </cell>
9087 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9088 \begin_inset Text
9089
9090 \begin_layout Plain Layout
9091 Hilde
9092 \end_layout
9093
9094 \end_inset
9095 </cell>
9096 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9097 \begin_inset Text
9098
9099 \begin_layout Plain Layout
9100 111
9101 \end_layout
9102
9103 \end_inset
9104 </cell>
9105 </row>
9106 <row>
9107 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9108 \begin_inset Text
9109
9110 \begin_layout Plain Layout
9111
9112 \series bold
9113 Vigna
9114 \end_layout
9115
9116 \end_inset
9117 </cell>
9118 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9119 \begin_inset Text
9120
9121 \begin_layout Plain Layout
9122 Jürgen
9123 \end_layout
9124
9125 \end_inset
9126 </cell>
9127 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9128 \begin_inset Text
9129
9130 \begin_layout Plain Layout
9131 111
9132 \end_layout
9133
9134 \end_inset
9135 </cell>
9136 </row>
9137 <row>
9138 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9139 \begin_inset Text
9140
9141 \begin_layout Plain Layout
9142
9143 \series bold
9144 Weber
9145 \end_layout
9146
9147 \end_inset
9148 </cell>
9149 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9150 \begin_inset Text
9151
9152 \begin_layout Plain Layout
9153 Maurizio
9154 \end_layout
9155
9156 \end_inset
9157 </cell>
9158 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9159 \begin_inset Text
9160
9161 \begin_layout Plain Layout
9162 111
9163 \end_layout
9164
9165 \end_inset
9166 </cell>
9167 </row>
9168 <row>
9169 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9170 \begin_inset Text
9171
9172 \begin_layout Plain Layout
9173
9174 \series bold
9175 Winkler
9176 \end_layout
9177
9178 \end_inset
9179 </cell>
9180 <cell alignment="left" valignment="top" bottomline="true" rightline="true" usebox="none">
9181 \begin_inset Text
9182
9183 \begin_layout Plain Layout
9184 Franz
9185 \end_layout
9186
9187 \end_inset
9188 </cell>
9189 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
9190 \begin_inset Text
9191
9192 \begin_layout Plain Layout
9193 111
9194 \end_layout
9195
9196 \end_inset
9197 </cell>
9198 </row>
9199 <row>
9200 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9201 \begin_inset Text
9202
9203 \begin_layout Plain Layout
9204  
9205 \end_layout
9206
9207 \end_inset
9208 </cell>
9209 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
9210 \begin_inset Text
9211
9212 \begin_layout Plain Layout
9213
9214 \end_layout
9215
9216 \end_inset
9217 </cell>
9218 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9219 \begin_inset Text
9220
9221 \begin_layout Plain Layout
9222
9223 \end_layout
9224
9225 \end_inset
9226 </cell>
9227 </row>
9228 <row>
9229 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9230 \begin_inset Text
9231
9232 \begin_layout Plain Layout
9233
9234 \series bold
9235 Annovi
9236 \end_layout
9237
9238 \end_inset
9239 </cell>
9240 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9241 \begin_inset Text
9242
9243 \begin_layout Plain Layout
9244 Silvia
9245 \end_layout
9246
9247 \end_inset
9248 </cell>
9249 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9250 \begin_inset Text
9251
9252 \begin_layout Plain Layout
9253 555
9254 \end_layout
9255
9256 \end_inset
9257 </cell>
9258 </row>
9259 <row>
9260 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9261 \begin_inset Text
9262
9263 \begin_layout Plain Layout
9264
9265 \series bold
9266 Bertoli
9267 \end_layout
9268
9269 \end_inset
9270 </cell>
9271 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9272 \begin_inset Text
9273
9274 \begin_layout Plain Layout
9275 Stefano
9276 \end_layout
9277
9278 \end_inset
9279 </cell>
9280 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9281 \begin_inset Text
9282
9283 \begin_layout Plain Layout
9284 555
9285 \end_layout
9286
9287 \end_inset
9288 </cell>
9289 </row>
9290 <row>
9291 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9292 \begin_inset Text
9293
9294 \begin_layout Plain Layout
9295
9296 \series bold
9297 Bozzi
9298 \end_layout
9299
9300 \end_inset
9301 </cell>
9302 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9303 \begin_inset Text
9304
9305 \begin_layout Plain Layout
9306 Walter
9307 \end_layout
9308
9309 \end_inset
9310 </cell>
9311 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9312 \begin_inset Text
9313
9314 \begin_layout Plain Layout
9315 555
9316 \end_layout
9317
9318 \end_inset
9319 </cell>
9320 </row>
9321 <row>
9322 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9323 \begin_inset Text
9324
9325 \begin_layout Plain Layout
9326
9327 \series bold
9328 Cachia
9329 \end_layout
9330
9331 \end_inset
9332 </cell>
9333 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9334 \begin_inset Text
9335
9336 \begin_layout Plain Layout
9337 Maria
9338 \end_layout
9339
9340 \end_inset
9341 </cell>
9342 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9343 \begin_inset Text
9344
9345 \begin_layout Plain Layout
9346 555
9347 \end_layout
9348
9349 \end_inset
9350 </cell>
9351 </row>
9352 <row>
9353 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9354 \begin_inset Text
9355
9356 \begin_layout Plain Layout
9357
9358 \series bold
9359 Cachia
9360 \end_layout
9361
9362 \end_inset
9363 </cell>
9364 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9365 \begin_inset Text
9366
9367 \begin_layout Plain Layout
9368 Maurizio
9369 \end_layout
9370
9371 \end_inset
9372 </cell>
9373 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9374 \begin_inset Text
9375
9376 \begin_layout Plain Layout
9377 555
9378 \end_layout
9379
9380 \end_inset
9381 </cell>
9382 </row>
9383 <row>
9384 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9385 \begin_inset Text
9386
9387 \begin_layout Plain Layout
9388
9389 \series bold
9390 Cinquemani
9391 \end_layout
9392
9393 \end_inset
9394 </cell>
9395 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9396 \begin_inset Text
9397
9398 \begin_layout Plain Layout
9399 Giusi
9400 \end_layout
9401
9402 \end_inset
9403 </cell>
9404 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9405 \begin_inset Text
9406
9407 \begin_layout Plain Layout
9408 555
9409 \end_layout
9410
9411 \end_inset
9412 </cell>
9413 </row>
9414 <row>
9415 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9416 \begin_inset Text
9417
9418 \begin_layout Plain Layout
9419
9420 \series bold
9421 Colin
9422 \end_layout
9423
9424 \end_inset
9425 </cell>
9426 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9427 \begin_inset Text
9428
9429 \begin_layout Plain Layout
9430 Bernard
9431 \end_layout
9432
9433 \end_inset
9434 </cell>
9435 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9436 \begin_inset Text
9437
9438 \begin_layout Plain Layout
9439 555
9440 \end_layout
9441
9442 \end_inset
9443 </cell>
9444 </row>
9445 <row>
9446 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9447 \begin_inset Text
9448
9449 \begin_layout Plain Layout
9450
9451 \series bold
9452 Concli
9453 \end_layout
9454
9455 \end_inset
9456 </cell>
9457 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9458 \begin_inset Text
9459
9460 \begin_layout Plain Layout
9461 Gianfranco
9462 \end_layout
9463
9464 \end_inset
9465 </cell>
9466 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9467 \begin_inset Text
9468
9469 \begin_layout Plain Layout
9470 555
9471 \end_layout
9472
9473 \end_inset
9474 </cell>
9475 </row>
9476 <row>
9477 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9478 \begin_inset Text
9479
9480 \begin_layout Plain Layout
9481
9482 \series bold
9483 Dal Bosco
9484 \end_layout
9485
9486 \end_inset
9487 </cell>
9488 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9489 \begin_inset Text
9490
9491 \begin_layout Plain Layout
9492 Carolina
9493 \end_layout
9494
9495 \end_inset
9496 </cell>
9497 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9498 \begin_inset Text
9499
9500 \begin_layout Plain Layout
9501 555
9502 \end_layout
9503
9504 \end_inset
9505 </cell>
9506 </row>
9507 <row>
9508 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9509 \begin_inset Text
9510
9511 \begin_layout Plain Layout
9512
9513 \series bold
9514 Dalpiaz
9515 \end_layout
9516
9517 \end_inset
9518 </cell>
9519 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9520 \begin_inset Text
9521
9522 \begin_layout Plain Layout
9523 Annamaria
9524 \end_layout
9525
9526 \end_inset
9527 </cell>
9528 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9529 \begin_inset Text
9530
9531 \begin_layout Plain Layout
9532 555
9533 \end_layout
9534
9535 \end_inset
9536 </cell>
9537 </row>
9538 <row>
9539 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9540 \begin_inset Text
9541
9542 \begin_layout Plain Layout
9543
9544 \series bold
9545 Feliciello
9546 \end_layout
9547
9548 \end_inset
9549 </cell>
9550 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9551 \begin_inset Text
9552
9553 \begin_layout Plain Layout
9554 Domenico
9555 \end_layout
9556
9557 \end_inset
9558 </cell>
9559 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9560 \begin_inset Text
9561
9562 \begin_layout Plain Layout
9563 555
9564 \end_layout
9565
9566 \end_inset
9567 </cell>
9568 </row>
9569 <row>
9570 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9571 \begin_inset Text
9572
9573 \begin_layout Plain Layout
9574
9575 \series bold
9576 Focarelli
9577 \end_layout
9578
9579 \end_inset
9580 </cell>
9581 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9582 \begin_inset Text
9583
9584 \begin_layout Plain Layout
9585 Paola
9586 \end_layout
9587
9588 \end_inset
9589 </cell>
9590 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9591 \begin_inset Text
9592
9593 \begin_layout Plain Layout
9594 555
9595 \end_layout
9596
9597 \end_inset
9598 </cell>
9599 </row>
9600 <row>
9601 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9602 \begin_inset Text
9603
9604 \begin_layout Plain Layout
9605
9606 \series bold
9607 Galletti
9608 \end_layout
9609
9610 \end_inset
9611 </cell>
9612 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9613 \begin_inset Text
9614
9615 \begin_layout Plain Layout
9616 Oreste
9617 \end_layout
9618
9619 \end_inset
9620 </cell>
9621 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9622 \begin_inset Text
9623
9624 \begin_layout Plain Layout
9625 555
9626 \end_layout
9627
9628 \end_inset
9629 </cell>
9630 </row>
9631 <row>
9632 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9633 \begin_inset Text
9634
9635 \begin_layout Plain Layout
9636
9637 \series bold
9638 Gasparini
9639 \end_layout
9640
9641 \end_inset
9642 </cell>
9643 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9644 \begin_inset Text
9645
9646 \begin_layout Plain Layout
9647 Franca
9648 \end_layout
9649
9650 \end_inset
9651 </cell>
9652 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9653 \begin_inset Text
9654
9655 \begin_layout Plain Layout
9656 555
9657 \end_layout
9658
9659 \end_inset
9660 </cell>
9661 </row>
9662 <row>
9663 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9664 \begin_inset Text
9665
9666 \begin_layout Plain Layout
9667
9668 \series bold
9669 Rizzardi
9670 \end_layout
9671
9672 \end_inset
9673 </cell>
9674 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9675 \begin_inset Text
9676
9677 \begin_layout Plain Layout
9678 Paola
9679 \end_layout
9680
9681 \end_inset
9682 </cell>
9683 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9684 \begin_inset Text
9685
9686 \begin_layout Plain Layout
9687 555
9688 \end_layout
9689
9690 \end_inset
9691 </cell>
9692 </row>
9693 <row>
9694 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9695 \begin_inset Text
9696
9697 \begin_layout Plain Layout
9698
9699 \series bold
9700 Lassini
9701 \end_layout
9702
9703 \end_inset
9704 </cell>
9705 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9706 \begin_inset Text
9707
9708 \begin_layout Plain Layout
9709 Giancarlo
9710 \end_layout
9711
9712 \end_inset
9713 </cell>
9714 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9715 \begin_inset Text
9716
9717 \begin_layout Plain Layout
9718 555
9719 \end_layout
9720
9721 \end_inset
9722 </cell>
9723 </row>
9724 <row>
9725 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9726 \begin_inset Text
9727
9728 \begin_layout Plain Layout
9729
9730 \series bold
9731 Malfatti
9732 \end_layout
9733
9734 \end_inset
9735 </cell>
9736 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9737 \begin_inset Text
9738
9739 \begin_layout Plain Layout
9740 Luciano
9741 \end_layout
9742
9743 \end_inset
9744 </cell>
9745 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9746 \begin_inset Text
9747
9748 \begin_layout Plain Layout
9749 555
9750 \end_layout
9751
9752 \end_inset
9753 </cell>
9754 </row>
9755 <row>
9756 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9757 \begin_inset Text
9758
9759 \begin_layout Plain Layout
9760
9761 \series bold
9762 Malfatti
9763 \end_layout
9764
9765 \end_inset
9766 </cell>
9767 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9768 \begin_inset Text
9769
9770 \begin_layout Plain Layout
9771 Valeriano
9772 \end_layout
9773
9774 \end_inset
9775 </cell>
9776 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9777 \begin_inset Text
9778
9779 \begin_layout Plain Layout
9780 555
9781 \end_layout
9782
9783 \end_inset
9784 </cell>
9785 </row>
9786 <row>
9787 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9788 \begin_inset Text
9789
9790 \begin_layout Plain Layout
9791
9792 \series bold
9793 Meneguzzo
9794 \end_layout
9795
9796 \end_inset
9797 </cell>
9798 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9799 \begin_inset Text
9800
9801 \begin_layout Plain Layout
9802 Roberto
9803 \end_layout
9804
9805 \end_inset
9806 </cell>
9807 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9808 \begin_inset Text
9809
9810 \begin_layout Plain Layout
9811 555
9812 \end_layout
9813
9814 \end_inset
9815 </cell>
9816 </row>
9817 <row>
9818 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
9819 \begin_inset Text
9820
9821 \begin_layout Plain Layout
9822
9823 \series bold
9824 Mezzadra
9825 \end_layout
9826
9827 \end_inset
9828 </cell>
9829 <cell alignment="left" valignment="top" bottomline="true" rightline="true" usebox="none">
9830 \begin_inset Text
9831
9832 \begin_layout Plain Layout
9833 Roberto
9834 \end_layout
9835
9836 \end_inset
9837 </cell>
9838 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
9839 \begin_inset Text
9840
9841 \begin_layout Plain Layout
9842 555
9843 \end_layout
9844
9845 \end_inset
9846 </cell>
9847 </row>
9848 </lyxtabular>
9849
9850 \end_inset
9851
9852
9853 \end_layout
9854
9855 \begin_layout Section
9856 Special Multi-page Table Issues
9857 \begin_inset CommandInset label
9858 LatexCommand label
9859 name "sec:Special-Longtable-Issues"
9860
9861 \end_inset
9862
9863
9864 \end_layout
9865
9866 \begin_layout Subsection
9867 Multi-page Table Calculation
9868 \begin_inset Index idx
9869 status collapsed
9870
9871 \begin_layout Plain Layout
9872 Table ! Multi-page Table ! Calculation
9873 \end_layout
9874
9875 \end_inset
9876
9877
9878 \end_layout
9879
9880 \begin_layout Standard
9881 \SpecialChar LaTeX
9882  calculates the height of table pages and their page breaks using so called
9883  chunks.
9884  Chunks are parts of tables that held at the same time in \SpecialChar LaTeX
9885 's memory.
9886  The default value was historically set to only 20
9887 \begin_inset space ~
9888 \end_inset
9889
9890 table rows.
9891  If you are using multi-page tables with many pages this may slow down the
9892  creation of your document.
9893  You can safely increase the chunk size to values of 100
9894 \begin_inset space \thinspace{}
9895 \end_inset
9896
9897 --
9898 \begin_inset space \thinspace{}
9899 \end_inset
9900
9901 1000 by adding this command line to your document preamble:
9902 \end_layout
9903
9904 \begin_layout Standard
9905
9906 \series bold
9907
9908 \backslash
9909 setcounter{LTchunksize}{100}
9910 \end_layout
9911
9912 \begin_layout Subsection
9913 Floats and Multi-page Tables
9914 \begin_inset Index idx
9915 status collapsed
9916
9917 \begin_layout Plain Layout
9918 Table ! Multi-page Table ! Floats
9919 \end_layout
9920
9921 \end_inset
9922
9923
9924 \end_layout
9925
9926 \begin_layout Standard
9927 There might be problems when a float appears on the same page where a multi-page
9928  table starts.
9929  To avoid such a situation, insert a 
9930 \begin_inset Quotes eld
9931 \end_inset
9932
9933 clear page
9934 \begin_inset Quotes erd
9935 \end_inset
9936
9937  (menu 
9938 \family sans
9939 Insert\SpecialChar menuseparator
9940 Formatting\SpecialChar menuseparator
9941 Clear
9942 \begin_inset space ~
9943 \end_inset
9944
9945 Page
9946 \family default
9947 ) before your multi-page table.
9948 \end_layout
9949
9950 \begin_layout Subsection
9951 Forced Page Breaks
9952 \begin_inset Index idx
9953 status collapsed
9954
9955 \begin_layout Plain Layout
9956 Table ! Multi-page Table ! Forced Page Breaks
9957 \end_layout
9958
9959 \end_inset
9960
9961
9962 \end_layout
9963
9964 \begin_layout Standard
9965 By default tables are only broken between rows.
9966  If you have a cell with multiples lines and want to have a page break within
9967  the cell, insert the new line command 
9968 \begin_inset Quotes eld
9969 \end_inset
9970
9971
9972 \series bold
9973
9974 \backslash
9975
9976 \backslash
9977
9978 \series default
9979
9980 \begin_inset Quotes erd
9981 \end_inset
9982
9983  as \SpecialChar TeX
9984  Code at the point of the cell where it can be broken.
9985  Before the 
9986 \series bold
9987
9988 \backslash
9989
9990 \backslash
9991
9992 \series default
9993  command you have to insert in \SpecialChar TeX
9994  Code as many 
9995 \begin_inset Quotes eld
9996 \end_inset
9997
9998
9999 \series bold
10000 &
10001 \series default
10002
10003 \begin_inset Quotes erd
10004 \end_inset
10005
10006  characters as the number of the following table columns.
10007  The 
10008 \series bold
10009 &
10010 \series default
10011  is the character to separate table cells.
10012  Write in \SpecialChar TeX
10013  Code after each 
10014 \series bold
10015 &
10016 \series default
10017  the content of the corresponding following cell and delete the content
10018  of these cells.
10019 \begin_inset Newline newline
10020 \end_inset
10021
10022 After the 
10023 \series bold
10024
10025 \backslash
10026
10027 \backslash
10028
10029 \series default
10030  command, insert as many 
10031 \series bold
10032 &
10033 \series default
10034  characters as the number of table columns before the current column.
10035  In Table
10036 \begin_inset space ~
10037 \end_inset
10038
10039
10040 \begin_inset CommandInset ref
10041 LatexCommand ref
10042 reference "tab:ForcedPagebreak"
10043
10044 \end_inset
10045
10046  the cell that should be broken is in the second column followed by another
10047  column.
10048  Therefore the following command was inserted in the cell as \SpecialChar TeX
10049  Code after
10050  
10051 \begin_inset Quotes eld
10052 \end_inset
10053
10054
10055 \emph on
10056 Castelchiodato,
10057 \emph default
10058
10059 \begin_inset Quotes erd
10060 \end_inset
10061
10062 :
10063 \end_layout
10064
10065 \begin_layout Standard
10066
10067 \series bold
10068 & 111
10069 \backslash
10070
10071 \backslash
10072  
10073 \backslash
10074 newpage
10075 \begin_inset Newline newline
10076 \end_inset
10077
10078 &
10079 \end_layout
10080
10081 \begin_layout Standard
10082 The 
10083 \begin_inset Quotes eld
10084 \end_inset
10085
10086 111
10087 \begin_inset Quotes erd
10088 \end_inset
10089
10090  in the third column of the row was deleted.
10091  
10092 \series bold
10093
10094 \backslash
10095 newpage
10096 \series default
10097  is only needed when a page break should definitely occur at this position,
10098  otherwise it would be a conditional break.
10099  If your footer row of the multi-page table has for a certain reason no
10100  upper line but you would have a horizontal line where the cell is broken,
10101  use this command instead:
10102 \end_layout
10103
10104 \begin_layout Standard
10105
10106 \series bold
10107 & 111
10108 \backslash
10109
10110 \backslash
10111
10112 \begin_inset Newline newline
10113 \end_inset
10114
10115
10116 \backslash
10117 hline &
10118 \end_layout
10119
10120 \begin_layout Standard
10121 When the cell to be broken is in the last column, the command
10122 \end_layout
10123
10124 \begin_layout Standard
10125
10126 \series bold
10127
10128 \backslash
10129 setlength{
10130 \backslash
10131 parfillskip}{0pt}
10132 \end_layout
10133
10134 \begin_layout Standard
10135 must be inserted as \SpecialChar TeX
10136  Code at the beginning of the cell.
10137  This ensures that the part of the cell that will be displayed on the new
10138  page appears with the full width.
10139 \end_layout
10140
10141 \begin_layout Standard
10142 \align center
10143 \begin_inset Tabular
10144 <lyxtabular version="3" rows="38" columns="3">
10145 <features islongtable="true" longtabularalignment="center">
10146 <column alignment="left" valignment="top" width="0cm">
10147 <column alignment="left" valignment="top" width="3cm">
10148 <column alignment="center" valignment="top" width="0pt">
10149 <row endfirsthead="true" caption="true">
10150 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
10151 \begin_inset Text
10152
10153 \begin_layout Plain Layout
10154 \begin_inset Caption Standard
10155
10156 \begin_layout Plain Layout
10157 Table with forced page break in table cell
10158 \begin_inset CommandInset label
10159 LatexCommand label
10160 name "tab:ForcedPagebreak"
10161
10162 \end_inset
10163
10164
10165 \begin_inset Argument 1
10166 status collapsed
10167
10168 \begin_layout Plain Layout
10169 Table with forced page break in table cell
10170 \end_layout
10171
10172 \end_inset
10173
10174
10175 \end_layout
10176
10177 \end_inset
10178
10179
10180 \end_layout
10181
10182 \end_inset
10183 </cell>
10184 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10185 \begin_inset Text
10186
10187 \begin_layout Plain Layout
10188
10189 \end_layout
10190
10191 \end_inset
10192 </cell>
10193 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10194 \begin_inset Text
10195
10196 \begin_layout Plain Layout
10197
10198 \end_layout
10199
10200 \end_inset
10201 </cell>
10202 </row>
10203 <row endfirsthead="true">
10204 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10205 \begin_inset Text
10206
10207 \begin_layout Plain Layout
10208
10209 \series bold
10210 Example Phone List (ignore the names)
10211 \end_layout
10212
10213 \end_inset
10214 </cell>
10215 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10216 \begin_inset Text
10217
10218 \begin_layout Plain Layout
10219
10220 \end_layout
10221
10222 \end_inset
10223 </cell>
10224 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10225 \begin_inset Text
10226
10227 \begin_layout Plain Layout
10228
10229 \end_layout
10230
10231 \end_inset
10232 </cell>
10233 </row>
10234 <row endfirsthead="true">
10235 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10236 \begin_inset Text
10237
10238 \begin_layout Plain Layout
10239
10240 \series bold
10241 NAME
10242 \end_layout
10243
10244 \end_inset
10245 </cell>
10246 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10247 \begin_inset Text
10248
10249 \begin_layout Plain Layout
10250
10251 \end_layout
10252
10253 \end_inset
10254 </cell>
10255 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
10256 \begin_inset Text
10257
10258 \begin_layout Plain Layout
10259
10260 \series bold
10261 TEL.
10262 \end_layout
10263
10264 \end_inset
10265 </cell>
10266 </row>
10267 <row endhead="true" caption="true">
10268 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
10269 \begin_inset Text
10270
10271 \begin_layout Plain Layout
10272 \begin_inset Caption Unnumbered
10273
10274 \begin_layout Plain Layout
10275 Continued Example Phone List
10276 \end_layout
10277
10278 \end_inset
10279
10280
10281 \end_layout
10282
10283 \end_inset
10284 </cell>
10285 <cell multicolumn="2" alignment="left" valignment="top" rightline="true" usebox="none">
10286 \begin_inset Text
10287
10288 \begin_layout Plain Layout
10289
10290 \end_layout
10291
10292 \end_inset
10293 </cell>
10294 <cell multicolumn="2" alignment="center" valignment="top" rightline="true" usebox="none">
10295 \begin_inset Text
10296
10297 \begin_layout Plain Layout
10298
10299 \end_layout
10300
10301 \end_inset
10302 </cell>
10303 </row>
10304 <row endhead="true">
10305 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10306 \begin_inset Text
10307
10308 \begin_layout Plain Layout
10309
10310 \series bold
10311 Example Phone List
10312 \end_layout
10313
10314 \end_inset
10315 </cell>
10316 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10317 \begin_inset Text
10318
10319 \begin_layout Plain Layout
10320
10321 \end_layout
10322
10323 \end_inset
10324 </cell>
10325 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10326 \begin_inset Text
10327
10328 \begin_layout Plain Layout
10329
10330 \end_layout
10331
10332 \end_inset
10333 </cell>
10334 </row>
10335 <row endhead="true">
10336 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10337 \begin_inset Text
10338
10339 \begin_layout Plain Layout
10340
10341 \series bold
10342 NAME
10343 \end_layout
10344
10345 \end_inset
10346 </cell>
10347 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10348 \begin_inset Text
10349
10350 \begin_layout Plain Layout
10351
10352 \end_layout
10353
10354 \end_inset
10355 </cell>
10356 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
10357 \begin_inset Text
10358
10359 \begin_layout Plain Layout
10360
10361 \series bold
10362 TEL.
10363 \end_layout
10364
10365 \end_inset
10366 </cell>
10367 </row>
10368 <row endfoot="true">
10369 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
10370 \begin_inset Text
10371
10372 \begin_layout Plain Layout
10373 continued on next page
10374 \end_layout
10375
10376 \end_inset
10377 </cell>
10378 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10379 \begin_inset Text
10380
10381 \begin_layout Plain Layout
10382
10383 \end_layout
10384
10385 \end_inset
10386 </cell>
10387 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10388 \begin_inset Text
10389
10390 \begin_layout Plain Layout
10391
10392 \end_layout
10393
10394 \end_inset
10395 </cell>
10396 </row>
10397 <row>
10398 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10399 \begin_inset Text
10400
10401 \begin_layout Plain Layout
10402
10403 \series bold
10404 Annovi
10405 \end_layout
10406
10407 \end_inset
10408 </cell>
10409 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10410 \begin_inset Text
10411
10412 \begin_layout Plain Layout
10413 Silvia
10414 \end_layout
10415
10416 \end_inset
10417 </cell>
10418 <cell alignment="right" valignment="top" rightline="true" usebox="none">
10419 \begin_inset Text
10420
10421 \begin_layout Plain Layout
10422 111
10423 \end_layout
10424
10425 \end_inset
10426 </cell>
10427 </row>
10428 <row>
10429 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10430 \begin_inset Text
10431
10432 \begin_layout Plain Layout
10433
10434 \series bold
10435 Bertoli
10436 \end_layout
10437
10438 \end_inset
10439 </cell>
10440 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10441 \begin_inset Text
10442
10443 \begin_layout Plain Layout
10444 Stefano
10445 \end_layout
10446
10447 \end_inset
10448 </cell>
10449 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10450 \begin_inset Text
10451
10452 \begin_layout Plain Layout
10453 111
10454 \end_layout
10455
10456 \end_inset
10457 </cell>
10458 </row>
10459 <row>
10460 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10461 \begin_inset Text
10462
10463 \begin_layout Plain Layout
10464
10465 \series bold
10466 Bozzi
10467 \end_layout
10468
10469 \end_inset
10470 </cell>
10471 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10472 \begin_inset Text
10473
10474 \begin_layout Plain Layout
10475 Walter
10476 \end_layout
10477
10478 \end_inset
10479 </cell>
10480 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10481 \begin_inset Text
10482
10483 \begin_layout Plain Layout
10484 111
10485 \end_layout
10486
10487 \end_inset
10488 </cell>
10489 </row>
10490 <row>
10491 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10492 \begin_inset Text
10493
10494 \begin_layout Plain Layout
10495
10496 \series bold
10497 Cachia
10498 \end_layout
10499
10500 \end_inset
10501 </cell>
10502 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10503 \begin_inset Text
10504
10505 \begin_layout Plain Layout
10506 Maria
10507 \end_layout
10508
10509 \end_inset
10510 </cell>
10511 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10512 \begin_inset Text
10513
10514 \begin_layout Plain Layout
10515 111
10516 \end_layout
10517
10518 \end_inset
10519 </cell>
10520 </row>
10521 <row>
10522 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10523 \begin_inset Text
10524
10525 \begin_layout Plain Layout
10526
10527 \series bold
10528 Cachia
10529 \end_layout
10530
10531 \end_inset
10532 </cell>
10533 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10534 \begin_inset Text
10535
10536 \begin_layout Plain Layout
10537 Maurizio
10538 \end_layout
10539
10540 \end_inset
10541 </cell>
10542 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10543 \begin_inset Text
10544
10545 \begin_layout Plain Layout
10546 111
10547 \end_layout
10548
10549 \end_inset
10550 </cell>
10551 </row>
10552 <row>
10553 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10554 \begin_inset Text
10555
10556 \begin_layout Plain Layout
10557
10558 \series bold
10559 Cinquemani
10560 \end_layout
10561
10562 \end_inset
10563 </cell>
10564 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10565 \begin_inset Text
10566
10567 \begin_layout Plain Layout
10568 Giusi
10569 \end_layout
10570
10571 \end_inset
10572 </cell>
10573 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10574 \begin_inset Text
10575
10576 \begin_layout Plain Layout
10577 111
10578 \end_layout
10579
10580 \end_inset
10581 </cell>
10582 </row>
10583 <row>
10584 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10585 \begin_inset Text
10586
10587 \begin_layout Plain Layout
10588
10589 \series bold
10590 Colin
10591 \end_layout
10592
10593 \end_inset
10594 </cell>
10595 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10596 \begin_inset Text
10597
10598 \begin_layout Plain Layout
10599 Bernard
10600 \end_layout
10601
10602 \end_inset
10603 </cell>
10604 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10605 \begin_inset Text
10606
10607 \begin_layout Plain Layout
10608 111
10609 \end_layout
10610
10611 \end_inset
10612 </cell>
10613 </row>
10614 <row>
10615 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10616 \begin_inset Text
10617
10618 \begin_layout Plain Layout
10619
10620 \series bold
10621 Concli
10622 \end_layout
10623
10624 \end_inset
10625 </cell>
10626 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10627 \begin_inset Text
10628
10629 \begin_layout Plain Layout
10630 Gianfranco
10631 \end_layout
10632
10633 \end_inset
10634 </cell>
10635 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10636 \begin_inset Text
10637
10638 \begin_layout Plain Layout
10639 111
10640 \end_layout
10641
10642 \end_inset
10643 </cell>
10644 </row>
10645 <row>
10646 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10647 \begin_inset Text
10648
10649 \begin_layout Plain Layout
10650
10651 \series bold
10652 Dal Bosco
10653 \end_layout
10654
10655 \end_inset
10656 </cell>
10657 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10658 \begin_inset Text
10659
10660 \begin_layout Plain Layout
10661 Carolina
10662 \end_layout
10663
10664 \end_inset
10665 </cell>
10666 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10667 \begin_inset Text
10668
10669 \begin_layout Plain Layout
10670 111
10671 \end_layout
10672
10673 \end_inset
10674 </cell>
10675 </row>
10676 <row>
10677 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10678 \begin_inset Text
10679
10680 \begin_layout Plain Layout
10681
10682 \series bold
10683 Dalpiaz
10684 \end_layout
10685
10686 \end_inset
10687 </cell>
10688 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10689 \begin_inset Text
10690
10691 \begin_layout Plain Layout
10692 Annamaria
10693 \end_layout
10694
10695 \end_inset
10696 </cell>
10697 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10698 \begin_inset Text
10699
10700 \begin_layout Plain Layout
10701 111
10702 \end_layout
10703
10704 \end_inset
10705 </cell>
10706 </row>
10707 <row>
10708 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10709 \begin_inset Text
10710
10711 \begin_layout Plain Layout
10712
10713 \series bold
10714 Feliciello
10715 \end_layout
10716
10717 \end_inset
10718 </cell>
10719 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10720 \begin_inset Text
10721
10722 \begin_layout Plain Layout
10723 Domenico
10724 \end_layout
10725
10726 \end_inset
10727 </cell>
10728 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10729 \begin_inset Text
10730
10731 \begin_layout Plain Layout
10732 111
10733 \end_layout
10734
10735 \end_inset
10736 </cell>
10737 </row>
10738 <row>
10739 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10740 \begin_inset Text
10741
10742 \begin_layout Plain Layout
10743
10744 \series bold
10745 Focarelli
10746 \end_layout
10747
10748 \end_inset
10749 </cell>
10750 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10751 \begin_inset Text
10752
10753 \begin_layout Plain Layout
10754 Paola
10755 \end_layout
10756
10757 \end_inset
10758 </cell>
10759 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10760 \begin_inset Text
10761
10762 \begin_layout Plain Layout
10763 111
10764 \end_layout
10765
10766 \end_inset
10767 </cell>
10768 </row>
10769 <row>
10770 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10771 \begin_inset Text
10772
10773 \begin_layout Plain Layout
10774
10775 \series bold
10776 Galletti
10777 \end_layout
10778
10779 \end_inset
10780 </cell>
10781 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10782 \begin_inset Text
10783
10784 \begin_layout Plain Layout
10785 Oreste
10786 \end_layout
10787
10788 \end_inset
10789 </cell>
10790 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10791 \begin_inset Text
10792
10793 \begin_layout Plain Layout
10794 111
10795 \end_layout
10796
10797 \end_inset
10798 </cell>
10799 </row>
10800 <row>
10801 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10802 \begin_inset Text
10803
10804 \begin_layout Plain Layout
10805
10806 \series bold
10807 Gasparini
10808 \end_layout
10809
10810 \end_inset
10811 </cell>
10812 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10813 \begin_inset Text
10814
10815 \begin_layout Plain Layout
10816 Franca
10817 \end_layout
10818
10819 \end_inset
10820 </cell>
10821 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10822 \begin_inset Text
10823
10824 \begin_layout Plain Layout
10825 111
10826 \end_layout
10827
10828 \end_inset
10829 </cell>
10830 </row>
10831 <row>
10832 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10833 \begin_inset Text
10834
10835 \begin_layout Plain Layout
10836
10837 \series bold
10838 Lassini
10839 \end_layout
10840
10841 \end_inset
10842 </cell>
10843 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10844 \begin_inset Text
10845
10846 \begin_layout Plain Layout
10847 Giancarlo
10848 \end_layout
10849
10850 \end_inset
10851 </cell>
10852 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10853 \begin_inset Text
10854
10855 \begin_layout Plain Layout
10856 111
10857 \end_layout
10858
10859 \end_inset
10860 </cell>
10861 </row>
10862 <row>
10863 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10864 \begin_inset Text
10865
10866 \begin_layout Plain Layout
10867
10868 \series bold
10869 Malfatti
10870 \end_layout
10871
10872 \end_inset
10873 </cell>
10874 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10875 \begin_inset Text
10876
10877 \begin_layout Plain Layout
10878 Luciano
10879 \end_layout
10880
10881 \end_inset
10882 </cell>
10883 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10884 \begin_inset Text
10885
10886 \begin_layout Plain Layout
10887 111
10888 \end_layout
10889
10890 \end_inset
10891 </cell>
10892 </row>
10893 <row>
10894 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10895 \begin_inset Text
10896
10897 \begin_layout Plain Layout
10898
10899 \series bold
10900 Malfatti
10901 \end_layout
10902
10903 \end_inset
10904 </cell>
10905 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10906 \begin_inset Text
10907
10908 \begin_layout Plain Layout
10909 Valeriano
10910 \end_layout
10911
10912 \end_inset
10913 </cell>
10914 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10915 \begin_inset Text
10916
10917 \begin_layout Plain Layout
10918 111
10919 \end_layout
10920
10921 \end_inset
10922 </cell>
10923 </row>
10924 <row>
10925 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10926 \begin_inset Text
10927
10928 \begin_layout Plain Layout
10929
10930 \series bold
10931 Meneguzzo
10932 \end_layout
10933
10934 \end_inset
10935 </cell>
10936 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10937 \begin_inset Text
10938
10939 \begin_layout Plain Layout
10940 Roberto
10941 \end_layout
10942
10943 \end_inset
10944 </cell>
10945 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10946 \begin_inset Text
10947
10948 \begin_layout Plain Layout
10949 111
10950 \end_layout
10951
10952 \end_inset
10953 </cell>
10954 </row>
10955 <row>
10956 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10957 \begin_inset Text
10958
10959 \begin_layout Plain Layout
10960
10961 \series bold
10962 Mezzadra
10963 \end_layout
10964
10965 \end_inset
10966 </cell>
10967 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10968 \begin_inset Text
10969
10970 \begin_layout Plain Layout
10971 Roberto
10972 \end_layout
10973
10974 \end_inset
10975 </cell>
10976 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10977 \begin_inset Text
10978
10979 \begin_layout Plain Layout
10980 111
10981 \end_layout
10982
10983 \end_inset
10984 </cell>
10985 </row>
10986 <row>
10987 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10988 \begin_inset Text
10989
10990 \begin_layout Plain Layout
10991
10992 \series bold
10993 Pirpamer
10994 \end_layout
10995
10996 \end_inset
10997 </cell>
10998 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10999 \begin_inset Text
11000
11001 \begin_layout Plain Layout
11002 Erich
11003 \end_layout
11004
11005 \end_inset
11006 </cell>
11007 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11008 \begin_inset Text
11009
11010 \begin_layout Plain Layout
11011 111
11012 \end_layout
11013
11014 \end_inset
11015 </cell>
11016 </row>
11017 <row>
11018 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11019 \begin_inset Text
11020
11021 \begin_layout Plain Layout
11022
11023 \series bold
11024 Pochiesa
11025 \end_layout
11026
11027 \end_inset
11028 </cell>
11029 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11030 \begin_inset Text
11031
11032 \begin_layout Plain Layout
11033 Paolo
11034 \end_layout
11035
11036 \end_inset
11037 </cell>
11038 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11039 \begin_inset Text
11040
11041 \begin_layout Plain Layout
11042 111, 222
11043 \end_layout
11044
11045 \end_inset
11046 </cell>
11047 </row>
11048 <row>
11049 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11050 \begin_inset Text
11051
11052 \begin_layout Plain Layout
11053
11054 \series bold
11055 Radina
11056 \end_layout
11057
11058 \end_inset
11059 </cell>
11060 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11061 \begin_inset Text
11062
11063 \begin_layout Plain Layout
11064 Claudio
11065 \end_layout
11066
11067 \end_inset
11068 </cell>
11069 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11070 \begin_inset Text
11071
11072 \begin_layout Plain Layout
11073 111
11074 \end_layout
11075
11076 \end_inset
11077 </cell>
11078 </row>
11079 <row>
11080 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11081 \begin_inset Text
11082
11083 \begin_layout Plain Layout
11084
11085 \series bold
11086 Rizzardi
11087 \end_layout
11088
11089 \end_inset
11090 </cell>
11091 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11092 \begin_inset Text
11093
11094 \begin_layout Plain Layout
11095 Paolo, 11.
11096  Fürst von Montecompatri, 11.
11097  Fürst von Sulmona und Vivaro, 10.
11098  Fürst von Rossano, 5.
11099  Herzog von Canemorte, 11.
11100  Herzog von Palombara, 5.
11101  Herzog von Castelchiodato,
11102 \begin_inset ERT
11103 status open
11104
11105 \begin_layout Plain Layout
11106
11107 & 111
11108 \backslash
11109
11110 \backslash
11111  
11112 \backslash
11113 newpage
11114 \end_layout
11115
11116 \begin_layout Plain Layout
11117
11118 &
11119 \end_layout
11120
11121 \end_inset
11122
11123  11.
11124  Herzog von Poggionativo, 11.
11125  Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
11126  Graf von Valinfreda, 11.
11127  Baron von Cropalati, 11.
11128  Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
11129 \end_layout
11130
11131 \end_inset
11132 </cell>
11133 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11134 \begin_inset Text
11135
11136 \begin_layout Plain Layout
11137
11138 \end_layout
11139
11140 \end_inset
11141 </cell>
11142 </row>
11143 <row>
11144 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11145 \begin_inset Text
11146
11147 \begin_layout Plain Layout
11148
11149 \series bold
11150 Stuffer
11151 \end_layout
11152
11153 \end_inset
11154 </cell>
11155 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11156 \begin_inset Text
11157
11158 \begin_layout Plain Layout
11159 Oskar
11160 \end_layout
11161
11162 \end_inset
11163 </cell>
11164 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11165 \begin_inset Text
11166
11167 \begin_layout Plain Layout
11168 111
11169 \end_layout
11170
11171 \end_inset
11172 </cell>
11173 </row>
11174 <row>
11175 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11176 \begin_inset Text
11177
11178 \begin_layout Plain Layout
11179
11180 \series bold
11181 Tacchelli
11182 \end_layout
11183
11184 \end_inset
11185 </cell>
11186 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11187 \begin_inset Text
11188
11189 \begin_layout Plain Layout
11190 Ugo
11191 \end_layout
11192
11193 \end_inset
11194 </cell>
11195 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11196 \begin_inset Text
11197
11198 \begin_layout Plain Layout
11199 111
11200 \end_layout
11201
11202 \end_inset
11203 </cell>
11204 </row>
11205 <row>
11206 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11207 \begin_inset Text
11208
11209 \begin_layout Plain Layout
11210
11211 \series bold
11212 Tezzele
11213 \end_layout
11214
11215 \end_inset
11216 </cell>
11217 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11218 \begin_inset Text
11219
11220 \begin_layout Plain Layout
11221 Margit
11222 \end_layout
11223
11224 \end_inset
11225 </cell>
11226 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11227 \begin_inset Text
11228
11229 \begin_layout Plain Layout
11230 111
11231 \end_layout
11232
11233 \end_inset
11234 </cell>
11235 </row>
11236 <row>
11237 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11238 \begin_inset Text
11239
11240 \begin_layout Plain Layout
11241
11242 \series bold
11243 Unterkalmsteiner
11244 \end_layout
11245
11246 \end_inset
11247 </cell>
11248 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11249 \begin_inset Text
11250
11251 \begin_layout Plain Layout
11252 Frieda
11253 \end_layout
11254
11255 \end_inset
11256 </cell>
11257 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11258 \begin_inset Text
11259
11260 \begin_layout Plain Layout
11261 111
11262 \end_layout
11263
11264 \end_inset
11265 </cell>
11266 </row>
11267 <row>
11268 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11269 \begin_inset Text
11270
11271 \begin_layout Plain Layout
11272
11273 \series bold
11274 Vieider
11275 \end_layout
11276
11277 \end_inset
11278 </cell>
11279 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11280 \begin_inset Text
11281
11282 \begin_layout Plain Layout
11283 Hilde
11284 \end_layout
11285
11286 \end_inset
11287 </cell>
11288 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11289 \begin_inset Text
11290
11291 \begin_layout Plain Layout
11292 111
11293 \end_layout
11294
11295 \end_inset
11296 </cell>
11297 </row>
11298 <row>
11299 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11300 \begin_inset Text
11301
11302 \begin_layout Plain Layout
11303
11304 \series bold
11305 Vigna
11306 \end_layout
11307
11308 \end_inset
11309 </cell>
11310 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11311 \begin_inset Text
11312
11313 \begin_layout Plain Layout
11314 Jürgen
11315 \end_layout
11316
11317 \end_inset
11318 </cell>
11319 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11320 \begin_inset Text
11321
11322 \begin_layout Plain Layout
11323 111
11324 \end_layout
11325
11326 \end_inset
11327 </cell>
11328 </row>
11329 <row>
11330 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11331 \begin_inset Text
11332
11333 \begin_layout Plain Layout
11334
11335 \series bold
11336 Weber
11337 \end_layout
11338
11339 \end_inset
11340 </cell>
11341 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11342 \begin_inset Text
11343
11344 \begin_layout Plain Layout
11345 Maurizio
11346 \end_layout
11347
11348 \end_inset
11349 </cell>
11350 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11351 \begin_inset Text
11352
11353 \begin_layout Plain Layout
11354 111
11355 \end_layout
11356
11357 \end_inset
11358 </cell>
11359 </row>
11360 <row>
11361 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11362 \begin_inset Text
11363
11364 \begin_layout Plain Layout
11365
11366 \series bold
11367 Winkler
11368 \end_layout
11369
11370 \end_inset
11371 </cell>
11372 <cell alignment="left" valignment="top" bottomline="true" rightline="true" usebox="none">
11373 \begin_inset Text
11374
11375 \begin_layout Plain Layout
11376 Franz
11377 \end_layout
11378
11379 \end_inset
11380 </cell>
11381 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
11382 \begin_inset Text
11383
11384 \begin_layout Plain Layout
11385 111
11386 \end_layout
11387
11388 \end_inset
11389 </cell>
11390 </row>
11391 </lyxtabular>
11392
11393 \end_inset
11394
11395
11396 \end_layout
11397
11398 \begin_layout Section
11399 Multiple Lines, Columns and Rows
11400 \end_layout
11401
11402 \begin_layout Subsection
11403 Multiple Lines in Table Cells
11404 \begin_inset CommandInset label
11405 LatexCommand label
11406 name "subsec:Multiple-Lines-in"
11407
11408 \end_inset
11409
11410
11411 \begin_inset Index idx
11412 status collapsed
11413
11414 \begin_layout Plain Layout
11415 Multiple Lines in Table Cells
11416 \end_layout
11417
11418 \end_inset
11419
11420
11421 \begin_inset Index idx
11422 status collapsed
11423
11424 \begin_layout Plain Layout
11425 Table ! Linebreaks
11426 \end_layout
11427
11428 \end_inset
11429
11430
11431 \end_layout
11432
11433 \begin_layout Standard
11434 \noindent
11435 \begin_inset Float table
11436 placement H
11437 alignment document
11438 wide false
11439 sideways false
11440 status open
11441
11442 \begin_layout Plain Layout
11443 \begin_inset Caption Standard
11444
11445 \begin_layout Plain Layout
11446 \begin_inset CommandInset label
11447 LatexCommand label
11448 name "tab:Table-with-multiple"
11449
11450 \end_inset
11451
11452 Table with multiple lines in cells
11453 \end_layout
11454
11455 \end_inset
11456
11457
11458 \end_layout
11459
11460 \begin_layout Plain Layout
11461 \align center
11462 \begin_inset Tabular
11463 <lyxtabular version="3" rows="3" columns="3">
11464 <features tabularvalignment="middle">
11465 <column alignment="center" valignment="middle" width="2.5cm">
11466 <column alignment="center" valignment="middle">
11467 <column alignment="center" valignment="middle">
11468 <row>
11469 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11470 \begin_inset Text
11471
11472 \begin_layout Plain Layout
11473 multiple
11474 \begin_inset Newline linebreak
11475 \end_inset
11476
11477 lines
11478 \end_layout
11479
11480 \end_inset
11481 </cell>
11482 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11483 \begin_inset Text
11484
11485 \begin_layout Plain Layout
11486 b
11487 \end_layout
11488
11489 \end_inset
11490 </cell>
11491 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11492 \begin_inset Text
11493
11494 \begin_layout Plain Layout
11495 c
11496 \end_layout
11497
11498 \end_inset
11499 </cell>
11500 </row>
11501 <row>
11502 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11503 \begin_inset Text
11504
11505 \begin_layout Plain Layout
11506 d
11507 \end_layout
11508
11509 \end_inset
11510 </cell>
11511 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11512 \begin_inset Text
11513
11514 \begin_layout Plain Layout
11515 e
11516 \end_layout
11517
11518 \end_inset
11519 </cell>
11520 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11521 \begin_inset Text
11522
11523 \begin_layout Plain Layout
11524 f
11525 \end_layout
11526
11527 \end_inset
11528 </cell>
11529 </row>
11530 <row>
11531 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11532 \begin_inset Text
11533
11534 \begin_layout Plain Layout
11535 g
11536 \end_layout
11537
11538 \end_inset
11539 </cell>
11540 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11541 \begin_inset Text
11542
11543 \begin_layout Plain Layout
11544 h
11545 \end_layout
11546
11547 \end_inset
11548 </cell>
11549 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11550 \begin_inset Text
11551
11552 \begin_layout Plain Layout
11553 i
11554 \end_layout
11555
11556 \end_inset
11557 </cell>
11558 </row>
11559 </lyxtabular>
11560
11561 \end_inset
11562
11563
11564 \end_layout
11565
11566 \end_inset
11567
11568
11569 \end_layout
11570
11571 \begin_layout Standard
11572 Setting a fixed width for a column enables you to enter text as a paragraph
11573  with multiple lines and hyphenation.
11574 \end_layout
11575
11576 \begin_layout Standard
11577 To produce Table
11578 \begin_inset space ~
11579 \end_inset
11580
11581
11582 \begin_inset CommandInset ref
11583 LatexCommand ref
11584 reference "tab:Table-with-multiple"
11585
11586 \end_inset
11587
11588 , create a 3×3 table, mark the first cell and right-click on it.
11589  In the appearing table dialog we set a cell width of 2.5
11590 \begin_inset space \thinspace{}
11591 \end_inset
11592
11593 cm and choose centered for the vertical and horizontal alignment.
11594  The vertical alignment is used for all cells of the row.
11595  As our text is smaller than 2.5
11596 \begin_inset space \thinspace{}
11597 \end_inset
11598
11599 cm, only one line will appear.
11600  To get two lines, a justified line break (shortcut 
11601 \begin_inset Info
11602 type  "shortcut"
11603 arg   "newline-insert linebreak"
11604 \end_inset
11605
11606 ) was added.
11607  If the text is wider than the set cell width, it will automatically be
11608  broken to several lines.
11609 \end_layout
11610
11611 \begin_layout Standard
11612 If you have a long word in a cell with a fixed width, it cannot be hyphenated
11613  by \SpecialChar LaTeX
11614  if it is the first entry.
11615  Therefore you need to insert something to prevent the word not being the
11616  first entry.
11617  So add a horizontal space of 0
11618 \begin_inset space \thinspace{}
11619 \end_inset
11620
11621 pt before the word.
11622  As the space is zero, it doesn't change the output.
11623  Table
11624 \begin_inset space ~
11625 \end_inset
11626
11627
11628 \begin_inset CommandInset ref
11629 LatexCommand ref
11630 reference "tab:Table-with-and"
11631
11632 \end_inset
11633
11634  shows the effect.
11635 \end_layout
11636
11637 \begin_layout Standard
11638 \begin_inset Float table
11639 placement h
11640 alignment document
11641 wide false
11642 sideways false
11643 status open
11644
11645 \begin_layout Plain Layout
11646 \begin_inset Caption Standard
11647
11648 \begin_layout Plain Layout
11649 \begin_inset CommandInset label
11650 LatexCommand label
11651 name "tab:Table-with-and"
11652
11653 \end_inset
11654
11655 Table with and without hyphenation
11656 \end_layout
11657
11658 \end_inset
11659
11660
11661 \end_layout
11662
11663 \begin_layout Plain Layout
11664 \begin_inset space \hfill{}
11665 \end_inset
11666
11667
11668 \begin_inset Tabular
11669 <lyxtabular version="3" rows="3" columns="3">
11670 <features tabularvalignment="middle">
11671 <column alignment="center" valignment="middle" width="2.5cm">
11672 <column alignment="center" valignment="middle">
11673 <column alignment="center" valignment="middle">
11674 <row>
11675 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11676 \begin_inset Text
11677
11678 \begin_layout Plain Layout
11679 verylongtablecellword
11680 \end_layout
11681
11682 \end_inset
11683 </cell>
11684 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11685 \begin_inset Text
11686
11687 \begin_layout Plain Layout
11688 b
11689 \end_layout
11690
11691 \end_inset
11692 </cell>
11693 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11694 \begin_inset Text
11695
11696 \begin_layout Plain Layout
11697 c
11698 \end_layout
11699
11700 \end_inset
11701 </cell>
11702 </row>
11703 <row>
11704 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11705 \begin_inset Text
11706
11707 \begin_layout Plain Layout
11708 d
11709 \end_layout
11710
11711 \end_inset
11712 </cell>
11713 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11714 \begin_inset Text
11715
11716 \begin_layout Plain Layout
11717 e
11718 \end_layout
11719
11720 \end_inset
11721 </cell>
11722 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11723 \begin_inset Text
11724
11725 \begin_layout Plain Layout
11726 f
11727 \end_layout
11728
11729 \end_inset
11730 </cell>
11731 </row>
11732 <row>
11733 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11734 \begin_inset Text
11735
11736 \begin_layout Plain Layout
11737 g
11738 \end_layout
11739
11740 \end_inset
11741 </cell>
11742 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11743 \begin_inset Text
11744
11745 \begin_layout Plain Layout
11746 h
11747 \end_layout
11748
11749 \end_inset
11750 </cell>
11751 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11752 \begin_inset Text
11753
11754 \begin_layout Plain Layout
11755 i
11756 \end_layout
11757
11758 \end_inset
11759 </cell>
11760 </row>
11761 </lyxtabular>
11762
11763 \end_inset
11764
11765
11766 \begin_inset space \hfill{}
11767 \end_inset
11768
11769
11770 \begin_inset Tabular
11771 <lyxtabular version="3" rows="3" columns="3">
11772 <features tabularvalignment="middle">
11773 <column alignment="center" valignment="middle" width="2.5cm">
11774 <column alignment="center" valignment="middle">
11775 <column alignment="center" valignment="middle">
11776 <row>
11777 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11778 \begin_inset Text
11779
11780 \begin_layout Plain Layout
11781 \begin_inset space \hspace{}
11782 \length 0pt
11783 \end_inset
11784
11785 verylongtablecellword
11786 \end_layout
11787
11788 \end_inset
11789 </cell>
11790 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11791 \begin_inset Text
11792
11793 \begin_layout Plain Layout
11794 b
11795 \end_layout
11796
11797 \end_inset
11798 </cell>
11799 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11800 \begin_inset Text
11801
11802 \begin_layout Plain Layout
11803 c
11804 \end_layout
11805
11806 \end_inset
11807 </cell>
11808 </row>
11809 <row>
11810 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11811 \begin_inset Text
11812
11813 \begin_layout Plain Layout
11814 d
11815 \end_layout
11816
11817 \end_inset
11818 </cell>
11819 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11820 \begin_inset Text
11821
11822 \begin_layout Plain Layout
11823 e
11824 \end_layout
11825
11826 \end_inset
11827 </cell>
11828 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11829 \begin_inset Text
11830
11831 \begin_layout Plain Layout
11832 f
11833 \end_layout
11834
11835 \end_inset
11836 </cell>
11837 </row>
11838 <row>
11839 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11840 \begin_inset Text
11841
11842 \begin_layout Plain Layout
11843 g
11844 \end_layout
11845
11846 \end_inset
11847 </cell>
11848 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11849 \begin_inset Text
11850
11851 \begin_layout Plain Layout
11852 h
11853 \end_layout
11854
11855 \end_inset
11856 </cell>
11857 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11858 \begin_inset Text
11859
11860 \begin_layout Plain Layout
11861 i
11862 \end_layout
11863
11864 \end_inset
11865 </cell>
11866 </row>
11867 </lyxtabular>
11868
11869 \end_inset
11870
11871
11872 \begin_inset space \hfill{}
11873 \end_inset
11874
11875
11876 \end_layout
11877
11878 \end_inset
11879
11880
11881 \end_layout
11882
11883 \begin_layout Subsection
11884 Multicolumns
11885 \begin_inset CommandInset label
11886 LatexCommand label
11887 name "subsec:Multicolumns"
11888
11889 \end_inset
11890
11891
11892 \begin_inset Index idx
11893 status collapsed
11894
11895 \begin_layout Plain Layout
11896 Multicolumns
11897 \end_layout
11898
11899 \end_inset
11900
11901
11902 \begin_inset Index idx
11903 status collapsed
11904
11905 \begin_layout Plain Layout
11906 Table ! Multicolumns
11907 \end_layout
11908
11909 \end_inset
11910
11911
11912 \end_layout
11913
11914 \begin_layout Subsubsection
11915 Multicolumn Basics
11916 \end_layout
11917
11918 \begin_layout Standard
11919 To merge cells over multiple columns, select as many cells within a row
11920  as you want to merge and use either the table-toolbar button 
11921 \begin_inset Info
11922 type  "icon"
11923 arg   "tabular-feature multicolumn"
11924 \end_inset
11925
11926 , or the menu 
11927 \family sans
11928 Edit\SpecialChar menuseparator
11929 Table\SpecialChar menuseparator
11930 Multicolumn
11931 \family default
11932 , or right click on the marked cells and choose 
11933 \family sans
11934 Multicolumn
11935 \family default
11936  in the context menu.
11937 \end_layout
11938
11939 \begin_layout Standard
11940 Multicolumns have their own cell settings.
11941  That means changing cell borders, cell alignment, and the width only affects
11942  the multicolumn.
11943  Here is an example table with a multicolumn cell in the first row and one
11944  in the last row without the upper border:
11945 \end_layout
11946
11947 \begin_layout Standard
11948 \align center
11949 \begin_inset Tabular
11950 <lyxtabular version="3" rows="3" columns="4">
11951 <features firstHeadTopDL="true" firstHeadBottomDL="true" tabularvalignment="middle">
11952 <column alignment="center" valignment="top" width="0pt">
11953 <column alignment="center" valignment="middle">
11954 <column alignment="center" valignment="top" width="0in">
11955 <column alignment="center" valignment="top" width="0pt">
11956 <row>
11957 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11958 \begin_inset Text
11959
11960 \begin_layout Plain Layout
11961 abc
11962 \end_layout
11963
11964 \end_inset
11965 </cell>
11966 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
11967 \begin_inset Text
11968
11969 \begin_layout Plain Layout
11970 def ghi
11971 \end_layout
11972
11973 \end_inset
11974 </cell>
11975 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11976 \begin_inset Text
11977
11978 \begin_layout Plain Layout
11979
11980 \end_layout
11981
11982 \end_inset
11983 </cell>
11984 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11985 \begin_inset Text
11986
11987 \begin_layout Plain Layout
11988 jkl
11989 \end_layout
11990
11991 \end_inset
11992 </cell>
11993 </row>
11994 <row>
11995 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11996 \begin_inset Text
11997
11998 \begin_layout Plain Layout
11999
12000 \family roman
12001 \series medium
12002 \shape up
12003 \size normal
12004 \emph off
12005 \bar no
12006 \noun off
12007 \color none
12008 A
12009 \end_layout
12010
12011 \end_inset
12012 </cell>
12013 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12014 \begin_inset Text
12015
12016 \begin_layout Plain Layout
12017 B
12018 \end_layout
12019
12020 \end_inset
12021 </cell>
12022 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12023 \begin_inset Text
12024
12025 \begin_layout Plain Layout
12026 C
12027 \end_layout
12028
12029 \end_inset
12030 </cell>
12031 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12032 \begin_inset Text
12033
12034 \begin_layout Plain Layout
12035 D
12036 \end_layout
12037
12038 \end_inset
12039 </cell>
12040 </row>
12041 <row>
12042 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12043 \begin_inset Text
12044
12045 \begin_layout Plain Layout
12046 1
12047 \end_layout
12048
12049 \end_inset
12050 </cell>
12051 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
12052 \begin_inset Text
12053
12054 \begin_layout Plain Layout
12055 2
12056 \end_layout
12057
12058 \end_inset
12059 </cell>
12060 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12061 \begin_inset Text
12062
12063 \begin_layout Plain Layout
12064 3
12065 \end_layout
12066
12067 \end_inset
12068 </cell>
12069 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12070 \begin_inset Text
12071
12072 \begin_layout Plain Layout
12073 4
12074 \end_layout
12075
12076 \end_inset
12077 </cell>
12078 </row>
12079 </lyxtabular>
12080
12081 \end_inset
12082
12083
12084 \end_layout
12085
12086 \begin_layout Subsubsection
12087 Multicolumn Calculations
12088 \begin_inset CommandInset label
12089 LatexCommand label
12090 name "subsec:Multicolumn-Calculations"
12091
12092 \end_inset
12093
12094
12095 \begin_inset Index idx
12096 status collapsed
12097
12098 \begin_layout Plain Layout
12099 Multicolumns ! Calculations
12100 \end_layout
12101
12102 \end_inset
12103
12104
12105 \end_layout
12106
12107 \begin_layout Standard
12108 \SpecialChar LyX
12109  supports multicolumns directly, but we have to take account of the cell
12110  width of the columns spanned by the multicolumn cell.
12111 \end_layout
12112
12113 \begin_layout Standard
12114 \begin_inset Float table
12115 placement h
12116 alignment document
12117 wide false
12118 sideways false
12119 status open
12120
12121 \begin_layout Plain Layout
12122 \begin_inset Caption Standard
12123
12124 \begin_layout Plain Layout
12125 \begin_inset CommandInset label
12126 LatexCommand label
12127 name "tab:Table-with-centered"
12128
12129 \end_inset
12130
12131 Table with centered multicolumn text above two columns that have exactly
12132  half the width of the multicolumn cell
12133 \begin_inset Argument 1
12134 status collapsed
12135
12136 \begin_layout Plain Layout
12137 Perfect multicolumn table
12138 \end_layout
12139
12140 \end_inset
12141
12142
12143 \end_layout
12144
12145 \end_inset
12146
12147
12148 \end_layout
12149
12150 \begin_layout Plain Layout
12151 \align center
12152 \begin_inset Tabular
12153 <lyxtabular version="3" rows="3" columns="3">
12154 <features tabularvalignment="middle">
12155 <column alignment="center" valignment="middle" special=">{\centering}m{1.25cm-6.2pt}">
12156 <column alignment="center" valignment="middle">
12157 <column alignment="center" valignment="top">
12158 <row>
12159 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" special=">{\centering}m{2.5cm}">
12160 \begin_inset Text
12161
12162 \begin_layout Plain Layout
12163 multiple lines multicolumn
12164 \end_layout
12165
12166 \end_inset
12167 </cell>
12168 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12169 \begin_inset Text
12170
12171 \begin_layout Plain Layout
12172
12173 \end_layout
12174
12175 \end_inset
12176 </cell>
12177 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12178 \begin_inset Text
12179
12180 \begin_layout Plain Layout
12181 c
12182 \end_layout
12183
12184 \end_inset
12185 </cell>
12186 </row>
12187 <row>
12188 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12189 \begin_inset Text
12190
12191 \begin_layout Plain Layout
12192 d
12193 \end_layout
12194
12195 \end_inset
12196 </cell>
12197 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12198 \begin_inset Text
12199
12200 \begin_layout Plain Layout
12201 e
12202 \end_layout
12203
12204 \end_inset
12205 </cell>
12206 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12207 \begin_inset Text
12208
12209 \begin_layout Plain Layout
12210 f
12211 \end_layout
12212
12213 \end_inset
12214 </cell>
12215 </row>
12216 <row>
12217 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12218 \begin_inset Text
12219
12220 \begin_layout Plain Layout
12221 g
12222 \end_layout
12223
12224 \end_inset
12225 </cell>
12226 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12227 \begin_inset Text
12228
12229 \begin_layout Plain Layout
12230 h
12231 \end_layout
12232
12233 \end_inset
12234 </cell>
12235 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12236 \begin_inset Text
12237
12238 \begin_layout Plain Layout
12239 i
12240 \end_layout
12241
12242 \end_inset
12243 </cell>
12244 </row>
12245 </lyxtabular>
12246
12247 \end_inset
12248
12249
12250 \end_layout
12251
12252 \end_inset
12253
12254
12255 \end_layout
12256
12257 \begin_layout Standard
12258 To create for example Table
12259 \begin_inset space ~
12260 \end_inset
12261
12262
12263 \begin_inset CommandInset ref
12264 LatexCommand ref
12265 reference "tab:Table-with-centered"
12266
12267 \end_inset
12268
12269 , mark the first two cells in the first row of a 3×3 table and right-click
12270  on them.
12271  Now choose for this cell 
12272 \emph on
12273 multicolumn
12274 \emph default
12275
12276 \emph on
12277 centered alignment
12278 \emph default
12279  and a width of 2.5
12280 \begin_inset space \thinspace{}
12281 \end_inset
12282
12283 cm in the table dialog.
12284  The merged columns should have exactly half the width of the multicolumn
12285  cell, so that you would set a width of 1.25
12286 \begin_inset space \thinspace{}
12287 \end_inset
12288
12289 cm for the first column.
12290  The second column has then automatically a width of 1.25
12291 \begin_inset space \thinspace{}
12292 \end_inset
12293
12294 cm (multicolumn width - width of first column).
12295  This was done for Table
12296 \begin_inset space ~
12297 \end_inset
12298
12299
12300 \begin_inset CommandInset ref
12301 LatexCommand ref
12302 reference "tab:Table-without-half"
12303
12304 \end_inset
12305
12306 .
12307 \end_layout
12308
12309 \begin_layout Standard
12310 \begin_inset Float table
12311 placement document
12312 alignment document
12313 wide false
12314 sideways false
12315 status open
12316
12317 \begin_layout Plain Layout
12318 \begin_inset Caption Standard
12319
12320 \begin_layout Plain Layout
12321 \begin_inset CommandInset label
12322 LatexCommand label
12323 name "tab:Table-without-half"
12324
12325 \end_inset
12326
12327 Table where the spanned table columns are not exactly half the width of
12328  the multicolumn cell
12329 \begin_inset Argument 1
12330 status collapsed
12331
12332 \begin_layout Plain Layout
12333 Imperfect multicolumn table
12334 \end_layout
12335
12336 \end_inset
12337
12338
12339 \end_layout
12340
12341 \end_inset
12342
12343
12344 \end_layout
12345
12346 \begin_layout Plain Layout
12347 \align center
12348 \begin_inset Tabular
12349 <lyxtabular version="3" rows="3" columns="3">
12350 <features tabularvalignment="middle">
12351 <column alignment="center" valignment="top" width="1.25cm">
12352 <column alignment="center" valignment="top">
12353 <column alignment="center" valignment="top">
12354 <row>
12355 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
12356 \begin_inset Text
12357
12358 \begin_layout Plain Layout
12359 multiple lines multicolumn
12360 \end_layout
12361
12362 \end_inset
12363 </cell>
12364 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12365 \begin_inset Text
12366
12367 \begin_layout Plain Layout
12368
12369 \end_layout
12370
12371 \end_inset
12372 </cell>
12373 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12374 \begin_inset Text
12375
12376 \begin_layout Plain Layout
12377 c
12378 \end_layout
12379
12380 \end_inset
12381 </cell>
12382 </row>
12383 <row>
12384 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12385 \begin_inset Text
12386
12387 \begin_layout Plain Layout
12388 d
12389 \end_layout
12390
12391 \end_inset
12392 </cell>
12393 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12394 \begin_inset Text
12395
12396 \begin_layout Plain Layout
12397 e
12398 \end_layout
12399
12400 \end_inset
12401 </cell>
12402 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12403 \begin_inset Text
12404
12405 \begin_layout Plain Layout
12406 f
12407 \end_layout
12408
12409 \end_inset
12410 </cell>
12411 </row>
12412 <row>
12413 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12414 \begin_inset Text
12415
12416 \begin_layout Plain Layout
12417 g
12418 \end_layout
12419
12420 \end_inset
12421 </cell>
12422 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12423 \begin_inset Text
12424
12425 \begin_layout Plain Layout
12426 h
12427 \end_layout
12428
12429 \end_inset
12430 </cell>
12431 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12432 \begin_inset Text
12433
12434 \begin_layout Plain Layout
12435 i
12436 \end_layout
12437
12438 \end_inset
12439 </cell>
12440 </row>
12441 </lyxtabular>
12442
12443 \end_inset
12444
12445
12446 \end_layout
12447
12448 \end_inset
12449
12450
12451 \end_layout
12452
12453 \begin_layout Standard
12454 You can see that the first column is not half the width of the multicolumn
12455  cell, it is a bit bigger.
12456  The reason is that the specified width of a cell 
12457 \begin_inset Formula $W_{g}$
12458 \end_inset
12459
12460  is not its total width 
12461 \begin_inset Formula $W_{\mathrm{tot}}$
12462 \end_inset
12463
12464  because a cell is always a bit larger than specified.
12465  Appendix
12466 \begin_inset space ~
12467 \end_inset
12468
12469
12470 \begin_inset CommandInset ref
12471 LatexCommand ref
12472 reference "cha:Explanation-of-Equation"
12473
12474 \end_inset
12475
12476  explains this in detail.
12477 \end_layout
12478
12479 \begin_layout Standard
12480 The width 
12481 \begin_inset Formula $W_{g\,n}$
12482 \end_inset
12483
12484  which the user needs to set when 
12485 \emph on
12486 n
12487 \emph default
12488  columns are spanned can be calculated, so that each column has a total
12489  width of 
12490 \begin_inset Formula $W_{\mathrm{tot\,multicolumn}}/n$
12491 \end_inset
12492
12493 :
12494 \begin_inset Formula 
12495 \begin{equation}
12496 W_{g\,n}=(W_{g\,\mathrm{multicolumn}}+(1-n)\cdot(12.4\,\mathrm{pt}))/n\label{eq:Wgn}
12497 \end{equation}
12498
12499 \end_inset
12500
12501
12502 \end_layout
12503
12504 \begin_layout Standard
12505 In our case we have 
12506 \begin_inset Formula $n=2$
12507 \end_inset
12508
12509
12510 \begin_inset Formula $W_{g\,\mathrm{multicolumn}}=2.5\,$
12511 \end_inset
12512
12513 cm and the default values for the lengths, so that equation 
12514 \begin_inset CommandInset ref
12515 LatexCommand ref
12516 reference "eq:Wgn"
12517
12518 \end_inset
12519
12520  becomes
12521 \begin_inset Formula 
12522 \begin{equation}
12523 W_{g\,2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}
12524 \end{equation}
12525
12526 \end_inset
12527
12528
12529 \end_layout
12530
12531 \begin_layout Standard
12532 To enable calculations in \SpecialChar LaTeX
12533 , the \SpecialChar LaTeX
12534 -package 
12535 \series bold
12536 calc
12537 \series default
12538  must be loaded with the document preamble line
12539 \begin_inset Index idx
12540 status collapsed
12541
12542 \begin_layout Plain Layout
12543 \SpecialChar LaTeX
12544 -packages ! calc
12545 \end_layout
12546
12547 \end_inset
12548
12549
12550 \end_layout
12551
12552 \begin_layout Standard
12553
12554 \series bold
12555
12556 \backslash
12557 usepackage{calc}
12558 \end_layout
12559
12560 \begin_layout Standard
12561 \SpecialChar LyX
12562  does not allow you to calculate lengths in the 
12563 \family sans
12564 Width
12565 \family default
12566  field of the table dialog.
12567  Therefore you have to format the column by inserting a \SpecialChar LaTeX
12568 -argument in the
12569  dialog.
12570  Here is an overview about the arguments:
12571 \end_layout
12572
12573 \begin_layout Itemize
12574
12575 \series bold
12576 p{width}
12577 \series default
12578  creates cell with a fixed width, its text is vertically top-aligned
12579 \end_layout
12580
12581 \begin_layout Itemize
12582
12583 \series bold
12584 m{width}
12585 \series default
12586  creates cell with a fixed width, its text is vertically centered
12587 \end_layout
12588
12589 \begin_layout Itemize
12590
12591 \series bold
12592 b{width}
12593 \series default
12594  creates cell with a fixed width, its text is vertically bottom-aligned
12595 \end_layout
12596
12597 \begin_layout Standard
12598 By entering a \SpecialChar LaTeX
12599 -argument, all cell settings set in the table dialog are overwritt
12600 en.
12601 \end_layout
12602
12603 \begin_layout Standard
12604 \begin_inset Note Greyedout
12605 status open
12606
12607 \begin_layout Plain Layout
12608
12609 \series bold
12610 Note:
12611 \series default
12612  Due to a bug, \SpecialChar LyX
12613  shows the overwritten settings anyway.
12614 \end_layout
12615
12616 \end_inset
12617
12618
12619 \end_layout
12620
12621 \begin_layout Standard
12622 As the text should be horizontally centered, the command 
12623 \series bold
12624
12625 \backslash
12626 centering
12627 \series default
12628  is added.
12629  You can now enter the following \SpecialChar LaTeX
12630 -argument for the first spanned column:
12631 \end_layout
12632
12633 \begin_layout Standard
12634
12635 \series bold
12636 >{
12637 \backslash
12638 centering}m{1.25cm-6.2pt}
12639 \end_layout
12640
12641 \begin_layout Standard
12642 The command 
12643 \series bold
12644 >{ }
12645 \series default
12646  means, that the commands inside the braces are applied before the cell
12647  is created.
12648 \end_layout
12649
12650 \begin_layout Standard
12651 Although we have chosen centered alignment for the text of the multicolumn
12652  cell, it is still left aligned.
12653  This is because \SpecialChar LyX
12654  only applies the alignment to single columns.
12655  So for the multicolumn cell we have to use the \SpecialChar LaTeX
12656 -argument
12657 \end_layout
12658
12659 \begin_layout Standard
12660
12661 \series bold
12662 >{
12663 \backslash
12664 centering}m{2.5cm}
12665 \end_layout
12666
12667 \begin_layout Subsection
12668 Multirows
12669 \begin_inset CommandInset label
12670 LatexCommand label
12671 name "subsec:Multirows"
12672
12673 \end_inset
12674
12675
12676 \begin_inset Index idx
12677 status collapsed
12678
12679 \begin_layout Plain Layout
12680 Multirows
12681 \end_layout
12682
12683 \end_inset
12684
12685
12686 \begin_inset Index idx
12687 status collapsed
12688
12689 \begin_layout Plain Layout
12690 Table ! Multirows
12691 \end_layout
12692
12693 \end_inset
12694
12695
12696 \end_layout
12697
12698 \begin_layout Standard
12699 To merge cells over multiple rows, select as many cells within a column
12700  as you want to merge and use either the table-toolbar button 
12701 \begin_inset Info
12702 type  "icon"
12703 arg   "tabular-feature multirow"
12704 \end_inset
12705
12706 , or the menu 
12707 \family sans
12708 Edit\SpecialChar menuseparator
12709 Table\SpecialChar menuseparator
12710 Multirow
12711 \family default
12712 , or right click on the marked cells and choose 
12713 \family sans
12714 Multirow
12715 \family default
12716  in the context menu.
12717 \end_layout
12718
12719 \begin_layout Standard
12720 Here is an example table with a multirow in the first column:
12721 \end_layout
12722
12723 \begin_layout Standard
12724 \align center
12725 \begin_inset Tabular
12726 <lyxtabular version="3" rows="3" columns="3">
12727 <features tabularvalignment="middle">
12728 <column alignment="center" valignment="top" width="0pt">
12729 <column alignment="center" valignment="top">
12730 <column alignment="center" valignment="top">
12731 <row>
12732 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12733 \begin_inset Text
12734
12735 \begin_layout Plain Layout
12736 a long cell entry
12737 \end_layout
12738
12739 \end_inset
12740 </cell>
12741 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12742 \begin_inset Text
12743
12744 \begin_layout Plain Layout
12745 b
12746 \end_layout
12747
12748 \end_inset
12749 </cell>
12750 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12751 \begin_inset Text
12752
12753 \begin_layout Plain Layout
12754 c
12755 \end_layout
12756
12757 \end_inset
12758 </cell>
12759 </row>
12760 <row>
12761 <cell multirow="3" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12762 \begin_inset Text
12763
12764 \begin_layout Plain Layout
12765 multirow
12766 \end_layout
12767
12768 \end_inset
12769 </cell>
12770 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12771 \begin_inset Text
12772
12773 \begin_layout Plain Layout
12774 e
12775 \end_layout
12776
12777 \end_inset
12778 </cell>
12779 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12780 \begin_inset Text
12781
12782 \begin_layout Plain Layout
12783 f
12784 \end_layout
12785
12786 \end_inset
12787 </cell>
12788 </row>
12789 <row>
12790 <cell multirow="4" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12791 \begin_inset Text
12792
12793 \begin_layout Plain Layout
12794
12795 \end_layout
12796
12797 \end_inset
12798 </cell>
12799 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12800 \begin_inset Text
12801
12802 \begin_layout Plain Layout
12803 h
12804 \end_layout
12805
12806 \end_inset
12807 </cell>
12808 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12809 \begin_inset Text
12810
12811 \begin_layout Plain Layout
12812 i
12813 \end_layout
12814
12815 \end_inset
12816 </cell>
12817 </row>
12818 </lyxtabular>
12819
12820 \end_inset
12821
12822
12823 \end_layout
12824
12825 \begin_layout Standard
12826 The width of multirow cells is set by setting the width and alignment for
12827  the whole column.
12828  The 
12829 \family sans
12830 Vertical Offset
12831 \family default
12832  shifts the content of the multirow up/down if the offset is positive/negative.
12833 \end_layout
12834
12835 \begin_layout Standard
12836 If the column of a multirow cell has no explicit width, the multirow cell
12837  inherits the alignment of the column.
12838  Otherwise it is by default left-aligned.
12839  To override the default, renew the command 
12840 \series bold
12841
12842 \backslash
12843 multirowsetup
12844 \series default
12845  with the command
12846 \end_layout
12847
12848 \begin_layout Standard
12849
12850 \series bold
12851
12852 \backslash
12853 renewcommand{
12854 \backslash
12855 multirowsetup}{
12856 \backslash
12857 centering}
12858 \end_layout
12859
12860 \begin_layout Standard
12861 in the document preamble.
12862  Then all entries of multirow cells in the document are centered.
12863  If centering is only needed for several tables, you can renew the command
12864  in a \SpecialChar TeX
12865  Code box just before the table instead of the preamble.
12866  If the text should be right-aligned, replace 
12867 \series bold
12868
12869 \backslash
12870 centering
12871 \series default
12872  by 
12873 \series bold
12874
12875 \backslash
12876 raggedleft
12877 \series default
12878 .
12879  To return to left-alignment 
12880 \series bold
12881
12882 \backslash
12883 raggedright
12884 \series default
12885  is used.
12886 \end_layout
12887
12888 \begin_layout Standard
12889 This is an example table with a right-aligned multirow cell that has a vertical
12890  offset of -4
12891 \begin_inset space \thinspace{}
12892 \end_inset
12893
12894 mm and is in a 3
12895 \begin_inset space \thinspace{}
12896 \end_inset
12897
12898 cm wide column:
12899 \end_layout
12900
12901 \begin_layout Standard
12902 \noindent
12903 \align center
12904 \begin_inset ERT
12905 status collapsed
12906
12907 \begin_layout Plain Layout
12908
12909
12910 \backslash
12911 renewcommand{
12912 \backslash
12913 multirowsetup}{
12914 \backslash
12915 raggedleft}
12916 \end_layout
12917
12918 \end_inset
12919
12920
12921 \begin_inset Tabular
12922 <lyxtabular version="3" rows="4" columns="3">
12923 <features tabularvalignment="middle">
12924 <column alignment="center" valignment="top" width="3cm">
12925 <column alignment="center" valignment="top">
12926 <column alignment="center" valignment="top">
12927 <row>
12928 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12929 \begin_inset Text
12930
12931 \begin_layout Plain Layout
12932 a long cell entry
12933 \end_layout
12934
12935 \end_inset
12936 </cell>
12937 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12938 \begin_inset Text
12939
12940 \begin_layout Plain Layout
12941 b
12942 \end_layout
12943
12944 \end_inset
12945 </cell>
12946 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12947 \begin_inset Text
12948
12949 \begin_layout Plain Layout
12950 c
12951 \end_layout
12952
12953 \end_inset
12954 </cell>
12955 </row>
12956 <row>
12957 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12958 \begin_inset Text
12959
12960 \begin_layout Plain Layout
12961 t
12962 \end_layout
12963
12964 \end_inset
12965 </cell>
12966 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12967 \begin_inset Text
12968
12969 \begin_layout Plain Layout
12970 n
12971 \end_layout
12972
12973 \end_inset
12974 </cell>
12975 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12976 \begin_inset Text
12977
12978 \begin_layout Plain Layout
12979 m
12980 \end_layout
12981
12982 \end_inset
12983 </cell>
12984 </row>
12985 <row>
12986 <cell multirow="3" mroffset="-4mm" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12987 \begin_inset Text
12988
12989 \begin_layout Plain Layout
12990 multirow
12991 \end_layout
12992
12993 \end_inset
12994 </cell>
12995 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12996 \begin_inset Text
12997
12998 \begin_layout Plain Layout
12999 e
13000 \end_layout
13001
13002 \end_inset
13003 </cell>
13004 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13005 \begin_inset Text
13006
13007 \begin_layout Plain Layout
13008 f
13009 \end_layout
13010
13011 \end_inset
13012 </cell>
13013 </row>
13014 <row>
13015 <cell multirow="4" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13016 \begin_inset Text
13017
13018 \begin_layout Plain Layout
13019
13020 \end_layout
13021
13022 \end_inset
13023 </cell>
13024 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13025 \begin_inset Text
13026
13027 \begin_layout Plain Layout
13028 h
13029 \end_layout
13030
13031 \end_inset
13032 </cell>
13033 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13034 \begin_inset Text
13035
13036 \begin_layout Plain Layout
13037 i
13038 \end_layout
13039
13040 \end_inset
13041 </cell>
13042 </row>
13043 </lyxtabular>
13044
13045 \end_inset
13046
13047
13048 \begin_inset ERT
13049 status collapsed
13050
13051 \begin_layout Plain Layout
13052
13053
13054 \backslash
13055 renewcommand{
13056 \backslash
13057 multirowsetup}{
13058 \backslash
13059 raggedright}
13060 \end_layout
13061
13062 \end_inset
13063
13064
13065 \end_layout
13066
13067 \begin_layout Standard
13068 To start a new line in a multirow you can use a forced line break (shortcut
13069  
13070 \begin_inset Info
13071 type  "shortcut"
13072 arg   "newline-insert newline"
13073 \end_inset
13074
13075 ) but this will not respect the cell lines as demonstrated in this table:
13076 \end_layout
13077
13078 \begin_layout Standard
13079 \noindent
13080 \align center
13081 \begin_inset Tabular
13082 <lyxtabular version="3" rows="3" columns="2">
13083 <features tabularvalignment="middle">
13084 <column alignment="left" valignment="middle" width="2cm">
13085 <column alignment="center" valignment="top">
13086 <row>
13087 <cell multirow="3" alignment="left" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
13088 \begin_inset Text
13089
13090 \begin_layout Plain Layout
13091 aaa
13092 \begin_inset Newline newline
13093 \end_inset
13094
13095 aaa
13096 \begin_inset Newline newline
13097 \end_inset
13098
13099 wrong cell
13100 \end_layout
13101
13102 \end_inset
13103 </cell>
13104 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13105 \begin_inset Text
13106
13107 \begin_layout Plain Layout
13108 ccc
13109 \end_layout
13110
13111 \end_inset
13112 </cell>
13113 </row>
13114 <row>
13115 <cell multirow="4" alignment="left" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
13116 \begin_inset Text
13117
13118 \begin_layout Plain Layout
13119
13120 \end_layout
13121
13122 \end_inset
13123 </cell>
13124 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13125 \begin_inset Text
13126
13127 \begin_layout Plain Layout
13128 ddd
13129 \end_layout
13130
13131 \end_inset
13132 </cell>
13133 </row>
13134 <row>
13135 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13136 \begin_inset Text
13137
13138 \begin_layout Plain Layout
13139 bbb
13140 \end_layout
13141
13142 \end_inset
13143 </cell>
13144 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13145 \begin_inset Text
13146
13147 \begin_layout Plain Layout
13148 eee
13149 \end_layout
13150
13151 \end_inset
13152 </cell>
13153 </row>
13154 </lyxtabular>
13155
13156 \end_inset
13157
13158
13159 \end_layout
13160
13161 \begin_layout Standard
13162 Therefore be careful with forced line breaks.
13163 \end_layout
13164
13165 \begin_layout Subsection
13166 Cells with diagonal line(s)
13167 \end_layout
13168
13169 \begin_layout Standard
13170 To tell the reader what is meant by column and row headings in a table,
13171  it is helpful to split the first cell of the table by one or two diagonal
13172  lines.
13173  This can be achieved by loading the \SpecialChar LaTeX
13174  package 
13175 \series bold
13176 diagbox
13177 \series default
13178
13179 \begin_inset Index idx
13180 status collapsed
13181
13182 \begin_layout Plain Layout
13183 \SpecialChar LaTeX
13184 -packages ! picinpar
13185 \end_layout
13186
13187 \end_inset
13188
13189  in the document preamble.
13190  The package provides the command 
13191 \series bold
13192
13193 \backslash
13194 diagbox
13195 \series default
13196  that is inserted as \SpecialChar TeX
13197  Code and that can take 2 or 3
13198 \begin_inset space ~
13199 \end_inset
13200
13201 arguments:
13202 \end_layout
13203
13204 \begin_layout Standard
13205
13206 \series bold
13207
13208 \backslash
13209 diagbox[options]{lower left}{upper right}
13210 \end_layout
13211
13212 \begin_layout Standard
13213
13214 \series bold
13215
13216 \backslash
13217 diagbox[options]{lower left}{upper left}{upper right}
13218 \end_layout
13219
13220 \begin_layout Standard
13221 The first scheme divides the cell by a single diagonal line and the arguments
13222  are placed below and above this line.
13223  The second scheme divides the cell by 2
13224 \begin_inset space ~
13225 \end_inset
13226
13227 lines.
13228 \end_layout
13229
13230 \begin_layout Standard
13231 \begin_inset ERT
13232 status collapsed
13233
13234 \begin_layout Plain Layout
13235
13236
13237 \backslash
13238 ifdiagbox
13239 \end_layout
13240
13241 \end_inset
13242
13243
13244 \begin_inset Note Note
13245 status open
13246
13247 \begin_layout Plain Layout
13248 The following section will only be displayed when the \SpecialChar LaTeX
13249 -package 
13250 \series bold
13251 diagbox
13252 \series default
13253  is installed.
13254 \end_layout
13255
13256 \end_inset
13257
13258
13259 \end_layout
13260
13261 \begin_layout Standard
13262 Here is an example table where 
13263 \series bold
13264
13265 \backslash
13266 diagbox 
13267 \series default
13268 is used in the 2-argument scheme in the first cell:
13269 \begin_inset VSpace medskip
13270 \end_inset
13271
13272
13273 \end_layout
13274
13275 \begin_layout Standard
13276 \noindent
13277 \begin_inset Tabular
13278 <lyxtabular version="3" rows="4" columns="4">
13279 <features tabularvalignment="middle">
13280 <column alignment="center" valignment="top">
13281 <column alignment="center" valignment="top">
13282 <column alignment="center" valignment="top">
13283 <column alignment="center" valignment="top">
13284 <row>
13285 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13286 \begin_inset Text
13287
13288 \begin_layout Plain Layout
13289 \begin_inset ERT
13290 status collapsed
13291
13292 \begin_layout Plain Layout
13293
13294
13295 \backslash
13296 diagbox{
13297 \end_layout
13298
13299 \end_inset
13300
13301 Name
13302 \begin_inset ERT
13303 status collapsed
13304
13305 \begin_layout Plain Layout
13306
13307 }{
13308 \end_layout
13309
13310 \end_inset
13311
13312 Parameter
13313 \begin_inset ERT
13314 status collapsed
13315
13316 \begin_layout Plain Layout
13317
13318 }
13319 \end_layout
13320
13321 \end_inset
13322
13323
13324 \end_layout
13325
13326 \end_inset
13327 </cell>
13328 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13329 \begin_inset Text
13330
13331 \begin_layout Plain Layout
13332 Thickness in nm
13333 \end_layout
13334
13335 \end_inset
13336 </cell>
13337 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13338 \begin_inset Text
13339
13340 \begin_layout Plain Layout
13341 Transparency in %
13342 \end_layout
13343
13344 \end_inset
13345 </cell>
13346 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13347 \begin_inset Text
13348
13349 \begin_layout Plain Layout
13350 Hardness in MPa
13351 \end_layout
13352
13353 \end_inset
13354 </cell>
13355 </row>
13356 <row>
13357 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13358 \begin_inset Text
13359
13360 \begin_layout Plain Layout
13361 Perfect Green
13362 \end_layout
13363
13364 \end_inset
13365 </cell>
13366 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13367 \begin_inset Text
13368
13369 \begin_layout Plain Layout
13370 45
13371 \end_layout
13372
13373 \end_inset
13374 </cell>
13375 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13376 \begin_inset Text
13377
13378 \begin_layout Plain Layout
13379 80
13380 \end_layout
13381
13382 \end_inset
13383 </cell>
13384 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13385 \begin_inset Text
13386
13387 \begin_layout Plain Layout
13388 504
13389 \end_layout
13390
13391 \end_inset
13392 </cell>
13393 </row>
13394 <row>
13395 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13396 \begin_inset Text
13397
13398 \begin_layout Plain Layout
13399 Dark Multi-P
13400 \end_layout
13401
13402 \end_inset
13403 </cell>
13404 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13405 \begin_inset Text
13406
13407 \begin_layout Plain Layout
13408 60
13409 \end_layout
13410
13411 \end_inset
13412 </cell>
13413 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13414 \begin_inset Text
13415
13416 \begin_layout Plain Layout
13417 72
13418 \end_layout
13419
13420 \end_inset
13421 </cell>
13422 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13423 \begin_inset Text
13424
13425 \begin_layout Plain Layout
13426 982
13427 \end_layout
13428
13429 \end_inset
13430 </cell>
13431 </row>
13432 <row>
13433 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13434 \begin_inset Text
13435
13436 \begin_layout Plain Layout
13437 Crystal Clear Pro
13438 \end_layout
13439
13440 \end_inset
13441 </cell>
13442 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13443 \begin_inset Text
13444
13445 \begin_layout Plain Layout
13446 18
13447 \end_layout
13448
13449 \end_inset
13450 </cell>
13451 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13452 \begin_inset Text
13453
13454 \begin_layout Plain Layout
13455 86
13456 \end_layout
13457
13458 \end_inset
13459 </cell>
13460 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13461 \begin_inset Text
13462
13463 \begin_layout Plain Layout
13464 374
13465 \end_layout
13466
13467 \end_inset
13468 </cell>
13469 </row>
13470 </lyxtabular>
13471
13472 \end_inset
13473
13474
13475 \begin_inset VSpace medskip
13476 \end_inset
13477
13478
13479 \end_layout
13480
13481 \begin_layout Standard
13482 The 3-argument scheme is for example useful for cross-tables of sports leagues
13483  or distances:
13484 \end_layout
13485
13486 \begin_layout Standard
13487 \noindent
13488 \align center
13489 \begin_inset Tabular
13490 <lyxtabular version="3" rows="4" columns="4">
13491 <features tabularvalignment="middle">
13492 <column alignment="center" valignment="top" width="0pt">
13493 <column alignment="center" valignment="top">
13494 <column alignment="center" valignment="top">
13495 <column alignment="center" valignment="top">
13496 <row>
13497 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13498 \begin_inset Text
13499
13500 \begin_layout Plain Layout
13501 \begin_inset ERT
13502 status collapsed
13503
13504 \begin_layout Plain Layout
13505
13506
13507 \backslash
13508 diagbox{
13509 \end_layout
13510
13511 \end_inset
13512
13513 Team home
13514 \begin_inset ERT
13515 status collapsed
13516
13517 \begin_layout Plain Layout
13518
13519 }{
13520 \end_layout
13521
13522 \end_inset
13523
13524 Result
13525 \begin_inset ERT
13526 status collapsed
13527
13528 \begin_layout Plain Layout
13529
13530 }{
13531 \end_layout
13532
13533 \end_inset
13534
13535 Team away
13536 \begin_inset ERT
13537 status collapsed
13538
13539 \begin_layout Plain Layout
13540
13541 }
13542 \end_layout
13543
13544 \end_inset
13545
13546
13547 \end_layout
13548
13549 \end_inset
13550 </cell>
13551 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13552 \begin_inset Text
13553
13554 \begin_layout Plain Layout
13555 Tigers
13556 \end_layout
13557
13558 \end_inset
13559 </cell>
13560 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13561 \begin_inset Text
13562
13563 \begin_layout Plain Layout
13564 Panthers
13565 \end_layout
13566
13567 \end_inset
13568 </cell>
13569 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13570 \begin_inset Text
13571
13572 \begin_layout Plain Layout
13573 Falcons
13574 \end_layout
13575
13576 \end_inset
13577 </cell>
13578 </row>
13579 <row>
13580 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13581 \begin_inset Text
13582
13583 \begin_layout Plain Layout
13584 Tigers
13585 \end_layout
13586
13587 \end_inset
13588 </cell>
13589 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13590 \begin_inset Text
13591
13592 \begin_layout Plain Layout
13593 —
13594 \end_layout
13595
13596 \end_inset
13597 </cell>
13598 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13599 \begin_inset Text
13600
13601 \begin_layout Plain Layout
13602 1:3
13603 \end_layout
13604
13605 \end_inset
13606 </cell>
13607 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13608 \begin_inset Text
13609
13610 \begin_layout Plain Layout
13611 0:1
13612 \end_layout
13613
13614 \end_inset
13615 </cell>
13616 </row>
13617 <row>
13618 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13619 \begin_inset Text
13620
13621 \begin_layout Plain Layout
13622 Panthers
13623 \end_layout
13624
13625 \end_inset
13626 </cell>
13627 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13628 \begin_inset Text
13629
13630 \begin_layout Plain Layout
13631 3:1
13632 \end_layout
13633
13634 \end_inset
13635 </cell>
13636 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13637 \begin_inset Text
13638
13639 \begin_layout Plain Layout
13640 —
13641 \end_layout
13642
13643 \end_inset
13644 </cell>
13645 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13646 \begin_inset Text
13647
13648 \begin_layout Plain Layout
13649 0:0
13650 \end_layout
13651
13652 \end_inset
13653 </cell>
13654 </row>
13655 <row>
13656 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13657 \begin_inset Text
13658
13659 \begin_layout Plain Layout
13660 Falcons
13661 \end_layout
13662
13663 \end_inset
13664 </cell>
13665 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13666 \begin_inset Text
13667
13668 \begin_layout Plain Layout
13669 1:0
13670 \end_layout
13671
13672 \end_inset
13673 </cell>
13674 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13675 \begin_inset Text
13676
13677 \begin_layout Plain Layout
13678 0:0
13679 \end_layout
13680
13681 \end_inset
13682 </cell>
13683 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13684 \begin_inset Text
13685
13686 \begin_layout Plain Layout
13687 —
13688 \end_layout
13689
13690 \end_inset
13691 </cell>
13692 </row>
13693 </lyxtabular>
13694
13695 \end_inset
13696
13697
13698 \end_layout
13699
13700 \begin_layout Standard
13701 For larger cross-tables one might use split cells in 2 or every corner of
13702  the table like in this example:
13703 \end_layout
13704
13705 \begin_layout Standard
13706 \noindent
13707 \align center
13708 \begin_inset Tabular
13709 <lyxtabular version="3" rows="5" columns="5">
13710 <features tabularvalignment="middle">
13711 <column alignment="center" valignment="top" width="0pt">
13712 <column alignment="center" valignment="top">
13713 <column alignment="center" valignment="top">
13714 <column alignment="center" valignment="top">
13715 <column alignment="center" valignment="top">
13716 <row>
13717 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13718 \begin_inset Text
13719
13720 \begin_layout Plain Layout
13721 \begin_inset ERT
13722 status open
13723
13724 \begin_layout Plain Layout
13725
13726
13727 \backslash
13728 diagbox{
13729 \end_layout
13730
13731 \end_inset
13732
13733 Team home
13734 \begin_inset ERT
13735 status collapsed
13736
13737 \begin_layout Plain Layout
13738
13739 }{
13740 \end_layout
13741
13742 \end_inset
13743
13744 Result
13745 \begin_inset ERT
13746 status collapsed
13747
13748 \begin_layout Plain Layout
13749
13750 }{
13751 \end_layout
13752
13753 \end_inset
13754
13755 Team away
13756 \begin_inset ERT
13757 status collapsed
13758
13759 \begin_layout Plain Layout
13760
13761 }
13762 \end_layout
13763
13764 \end_inset
13765
13766
13767 \end_layout
13768
13769 \end_inset
13770 </cell>
13771 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13772 \begin_inset Text
13773
13774 \begin_layout Plain Layout
13775 Tigers
13776 \end_layout
13777
13778 \end_inset
13779 </cell>
13780 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13781 \begin_inset Text
13782
13783 \begin_layout Plain Layout
13784 Panthers
13785 \end_layout
13786
13787 \end_inset
13788 </cell>
13789 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13790 \begin_inset Text
13791
13792 \begin_layout Plain Layout
13793 Falcons
13794 \end_layout
13795
13796 \end_inset
13797 </cell>
13798 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
13799 \begin_inset Text
13800
13801 \begin_layout Plain Layout
13802 \begin_inset ERT
13803 status open
13804
13805 \begin_layout Plain Layout
13806
13807
13808 \backslash
13809 diagbox[dir=NE]{
13810 \end_layout
13811
13812 \end_inset
13813
13814 Team home
13815 \begin_inset ERT
13816 status collapsed
13817
13818 \begin_layout Plain Layout
13819
13820 }{
13821 \end_layout
13822
13823 \end_inset
13824
13825 Result
13826 \begin_inset ERT
13827 status collapsed
13828
13829 \begin_layout Plain Layout
13830
13831 }{
13832 \end_layout
13833
13834 \end_inset
13835
13836 Team away
13837 \begin_inset ERT
13838 status collapsed
13839
13840 \begin_layout Plain Layout
13841
13842 }
13843 \end_layout
13844
13845 \end_inset
13846
13847
13848 \end_layout
13849
13850 \end_inset
13851 </cell>
13852 </row>
13853 <row>
13854 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13855 \begin_inset Text
13856
13857 \begin_layout Plain Layout
13858 Tigers
13859 \end_layout
13860
13861 \end_inset
13862 </cell>
13863 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13864 \begin_inset Text
13865
13866 \begin_layout Plain Layout
13867 —
13868 \end_layout
13869
13870 \end_inset
13871 </cell>
13872 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13873 \begin_inset Text
13874
13875 \begin_layout Plain Layout
13876 1:3
13877 \end_layout
13878
13879 \end_inset
13880 </cell>
13881 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13882 \begin_inset Text
13883
13884 \begin_layout Plain Layout
13885 0:1
13886 \end_layout
13887
13888 \end_inset
13889 </cell>
13890 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
13891 \begin_inset Text
13892
13893 \begin_layout Plain Layout
13894 Tigers
13895 \end_layout
13896
13897 \end_inset
13898 </cell>
13899 </row>
13900 <row>
13901 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13902 \begin_inset Text
13903
13904 \begin_layout Plain Layout
13905 Panthers
13906 \end_layout
13907
13908 \end_inset
13909 </cell>
13910 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13911 \begin_inset Text
13912
13913 \begin_layout Plain Layout
13914 3:1
13915 \end_layout
13916
13917 \end_inset
13918 </cell>
13919 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13920 \begin_inset Text
13921
13922 \begin_layout Plain Layout
13923 —
13924 \end_layout
13925
13926 \end_inset
13927 </cell>
13928 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13929 \begin_inset Text
13930
13931 \begin_layout Plain Layout
13932 0:0
13933 \end_layout
13934
13935 \end_inset
13936 </cell>
13937 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
13938 \begin_inset Text
13939
13940 \begin_layout Plain Layout
13941 Panthers
13942 \end_layout
13943
13944 \end_inset
13945 </cell>
13946 </row>
13947 <row>
13948 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13949 \begin_inset Text
13950
13951 \begin_layout Plain Layout
13952 Falcons
13953 \end_layout
13954
13955 \end_inset
13956 </cell>
13957 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13958 \begin_inset Text
13959
13960 \begin_layout Plain Layout
13961 1:0
13962 \end_layout
13963
13964 \end_inset
13965 </cell>
13966 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13967 \begin_inset Text
13968
13969 \begin_layout Plain Layout
13970 0:0
13971 \end_layout
13972
13973 \end_inset
13974 </cell>
13975 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13976 \begin_inset Text
13977
13978 \begin_layout Plain Layout
13979 —
13980 \end_layout
13981
13982 \end_inset
13983 </cell>
13984 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
13985 \begin_inset Text
13986
13987 \begin_layout Plain Layout
13988 Falcons
13989 \end_layout
13990
13991 \end_inset
13992 </cell>
13993 </row>
13994 <row>
13995 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13996 \begin_inset Text
13997
13998 \begin_layout Plain Layout
13999 \begin_inset ERT
14000 status open
14001
14002 \begin_layout Plain Layout
14003
14004
14005 \backslash
14006 diagbox[dir=SW]{
14007 \end_layout
14008
14009 \end_inset
14010
14011 Team home
14012 \begin_inset ERT
14013 status collapsed
14014
14015 \begin_layout Plain Layout
14016
14017 }{
14018 \end_layout
14019
14020 \end_inset
14021
14022 Result
14023 \begin_inset ERT
14024 status collapsed
14025
14026 \begin_layout Plain Layout
14027
14028 }{
14029 \end_layout
14030
14031 \end_inset
14032
14033 Team away
14034 \begin_inset ERT
14035 status collapsed
14036
14037 \begin_layout Plain Layout
14038
14039 }
14040 \end_layout
14041
14042 \end_inset
14043
14044
14045 \end_layout
14046
14047 \end_inset
14048 </cell>
14049 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14050 \begin_inset Text
14051
14052 \begin_layout Plain Layout
14053 Tigers
14054 \end_layout
14055
14056 \end_inset
14057 </cell>
14058 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14059 \begin_inset Text
14060
14061 \begin_layout Plain Layout
14062 Panthers
14063 \end_layout
14064
14065 \end_inset
14066 </cell>
14067 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14068 \begin_inset Text
14069
14070 \begin_layout Plain Layout
14071 Falcons
14072 \end_layout
14073
14074 \end_inset
14075 </cell>
14076 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
14077 \begin_inset Text
14078
14079 \begin_layout Plain Layout
14080 \begin_inset ERT
14081 status open
14082
14083 \begin_layout Plain Layout
14084
14085
14086 \backslash
14087 diagbox[dir=SE]{
14088 \end_layout
14089
14090 \end_inset
14091
14092 Team home
14093 \begin_inset ERT
14094 status collapsed
14095
14096 \begin_layout Plain Layout
14097
14098 }{
14099 \end_layout
14100
14101 \end_inset
14102
14103 Result
14104 \begin_inset ERT
14105 status collapsed
14106
14107 \begin_layout Plain Layout
14108
14109 }{
14110 \end_layout
14111
14112 \end_inset
14113
14114 Team away
14115 \begin_inset ERT
14116 status collapsed
14117
14118 \begin_layout Plain Layout
14119
14120 }
14121 \end_layout
14122
14123 \end_inset
14124
14125
14126 \end_layout
14127
14128 \end_inset
14129 </cell>
14130 </row>
14131 </lyxtabular>
14132
14133 \end_inset
14134
14135
14136 \end_layout
14137
14138 \begin_layout Standard
14139 To rotate the diagonal lines, the command option 
14140 \series bold
14141 dir=direction
14142 \series default
14143  is used.
14144  
14145 \emph on
14146 direction
14147 \emph default
14148  is either 
14149 \series bold
14150 NE
14151 \series default
14152
14153 \series bold
14154 SE
14155 \series default
14156
14157 \series bold
14158 SW
14159 \series default
14160  or 
14161 \series bold
14162 NW
14163 \series default
14164  and represent a point of a compass.
14165  
14166 \series bold
14167 SW
14168 \series default
14169  is for example the south-west corner.
14170  Thus in the lower left cell of the above table the command
14171 \end_layout
14172
14173 \begin_layout Standard
14174
14175 \series bold
14176
14177 \backslash
14178 diagbox[dir=SW]{Team home}{Result}{Team away}
14179 \end_layout
14180
14181 \begin_layout Standard
14182 is used.
14183  If no direction is given, it will be NW.
14184 \end_layout
14185
14186 \begin_layout Standard
14187 The necessary width of split cells is automatically calculated.
14188  Thus if you set a fixed column width smaller than the calculated one, the
14189  cell's content will protrude the cell borders:
14190 \end_layout
14191
14192 \begin_layout Standard
14193 \noindent
14194 \align center
14195 \begin_inset Tabular
14196 <lyxtabular version="3" rows="2" columns="2">
14197 <features tabularvalignment="middle">
14198 <column alignment="center" valignment="top" width="3cm">
14199 <column alignment="center" valignment="top">
14200 <row>
14201 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14202 \begin_inset Text
14203
14204 \begin_layout Plain Layout
14205 \begin_inset ERT
14206 status collapsed
14207
14208 \begin_layout Plain Layout
14209
14210
14211 \backslash
14212 diagbox{
14213 \end_layout
14214
14215 \end_inset
14216
14217 Name
14218 \begin_inset ERT
14219 status collapsed
14220
14221 \begin_layout Plain Layout
14222
14223 }{
14224 \end_layout
14225
14226 \end_inset
14227
14228 Parameter
14229 \begin_inset ERT
14230 status collapsed
14231
14232 \begin_layout Plain Layout
14233
14234 }
14235 \end_layout
14236
14237 \end_inset
14238
14239
14240 \end_layout
14241
14242 \end_inset
14243 </cell>
14244 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14245 \begin_inset Text
14246
14247 \begin_layout Plain Layout
14248 Thickness in nm
14249 \end_layout
14250
14251 \end_inset
14252 </cell>
14253 </row>
14254 <row>
14255 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14256 \begin_inset Text
14257
14258 \begin_layout Plain Layout
14259 Perfect Green
14260 \end_layout
14261
14262 \end_inset
14263 </cell>
14264 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14265 \begin_inset Text
14266
14267 \begin_layout Plain Layout
14268 45
14269 \end_layout
14270
14271 \end_inset
14272 </cell>
14273 </row>
14274 </lyxtabular>
14275
14276 \end_inset
14277
14278
14279 \end_layout
14280
14281 \begin_layout Standard
14282 If you need a certain width for columns with a split cell, use the command
14283  option 
14284 \series bold
14285 width=3cm
14286 \series default
14287  (replace '3cm' by the width you need).
14288  In the following table the width of the first column is set to 4
14289 \begin_inset space \thinspace{}
14290 \end_inset
14291
14292 cm.
14293  For 
14294 \series bold
14295
14296 \backslash
14297 diagbox
14298 \series default
14299  a width of 4
14300 \begin_inset space \thinspace{}
14301 \end_inset
14302
14303 cm + 2
14304 \begin_inset space \thinspace{}
14305 \end_inset
14306
14307
14308 \backslash
14309 tabcolsep is necessary because the overall width is the width for the text
14310  (in this case the 4
14311 \begin_inset space \thinspace{}
14312 \end_inset
14313
14314 cm) plus two times the separation of the text and the cell border.
14315  The calculation of the width cannot be done in the command option of 
14316 \series bold
14317
14318 \backslash
14319 diagbox
14320 \series default
14321  so one needs to create a new length which can be used later.
14322  This is done with the \SpecialChar TeX
14323  Code commands
14324 \end_layout
14325
14326 \begin_layout Standard
14327
14328 \series bold
14329
14330 \backslash
14331 newlength{
14332 \backslash
14333 diagtest}
14334 \begin_inset Newline newline
14335 \end_inset
14336
14337
14338 \backslash
14339 setlength{
14340 \backslash
14341 diagtest}{4cm+2
14342 \backslash
14343 tabcolsep}
14344 \end_layout
14345
14346 \begin_layout Standard
14347 \begin_inset ERT
14348 status collapsed
14349
14350 \begin_layout Plain Layout
14351
14352
14353 \backslash
14354 newlength{
14355 \backslash
14356 diagtest}
14357 \end_layout
14358
14359 \begin_layout Plain Layout
14360
14361
14362 \backslash
14363 setlength{
14364 \backslash
14365 diagtest}{4cm+2
14366 \backslash
14367 tabcolsep}
14368 \end_layout
14369
14370 \end_inset
14371
14372
14373 \end_layout
14374
14375 \begin_layout Standard
14376 To enable calculations in \SpecialChar LaTeX
14377  one needs to load the package 
14378 \series bold
14379 calc
14380 \series default
14381
14382 \begin_inset Index idx
14383 status collapsed
14384
14385 \begin_layout Plain Layout
14386 \SpecialChar LaTeX
14387 -packages ! calc
14388 \end_layout
14389
14390 \end_inset
14391
14392  in the document preamble.
14393 \end_layout
14394
14395 \begin_layout Standard
14396 In this table you can now use the command
14397 \end_layout
14398
14399 \begin_layout Standard
14400
14401 \series bold
14402
14403 \backslash
14404 diagbox[width=
14405 \backslash
14406 diagtest]{A}{B}
14407 \end_layout
14408
14409 \begin_layout Standard
14410 in the first cell:
14411 \end_layout
14412
14413 \begin_layout Standard
14414 \noindent
14415 \align center
14416 \begin_inset Tabular
14417 <lyxtabular version="3" rows="2" columns="2">
14418 <features tabularvalignment="middle">
14419 <column alignment="center" valignment="top" width="4cm">
14420 <column alignment="center" valignment="top">
14421 <row>
14422 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14423 \begin_inset Text
14424
14425 \begin_layout Plain Layout
14426 \begin_inset ERT
14427 status open
14428
14429 \begin_layout Plain Layout
14430
14431
14432 \backslash
14433 diagbox[width=
14434 \backslash
14435 diagtest]{
14436 \end_layout
14437
14438 \end_inset
14439
14440 A
14441 \begin_inset ERT
14442 status collapsed
14443
14444 \begin_layout Plain Layout
14445
14446 }{
14447 \end_layout
14448
14449 \end_inset
14450
14451 B
14452 \begin_inset ERT
14453 status collapsed
14454
14455 \begin_layout Plain Layout
14456
14457 }
14458 \end_layout
14459
14460 \end_inset
14461
14462
14463 \end_layout
14464
14465 \end_inset
14466 </cell>
14467 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14468 \begin_inset Text
14469
14470 \begin_layout Plain Layout
14471 Thickness in nm
14472 \end_layout
14473
14474 \end_inset
14475 </cell>
14476 </row>
14477 <row>
14478 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14479 \begin_inset Text
14480
14481 \begin_layout Plain Layout
14482 Perfect Green
14483 \end_layout
14484
14485 \end_inset
14486 </cell>
14487 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14488 \begin_inset Text
14489
14490 \begin_layout Plain Layout
14491 45
14492 \end_layout
14493
14494 \end_inset
14495 </cell>
14496 </row>
14497 </lyxtabular>
14498
14499 \end_inset
14500
14501
14502 \end_layout
14503
14504 \begin_layout Standard
14505 Note that the split cell needs to be the widest one in the column.
14506  Otherwise the length of the diagonal line cannot be calculated correctly
14507  like in this table:
14508 \end_layout
14509
14510 \begin_layout Standard
14511 \noindent
14512 \align center
14513 \begin_inset Tabular
14514 <lyxtabular version="3" rows="2" columns="2">
14515 <features tabularvalignment="middle">
14516 <column alignment="center" valignment="top" width="0pt">
14517 <column alignment="center" valignment="top">
14518 <row>
14519 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14520 \begin_inset Text
14521
14522 \begin_layout Plain Layout
14523 \begin_inset ERT
14524 status collapsed
14525
14526 \begin_layout Plain Layout
14527
14528
14529 \backslash
14530 diagbox{
14531 \end_layout
14532
14533 \end_inset
14534
14535 A
14536 \begin_inset ERT
14537 status collapsed
14538
14539 \begin_layout Plain Layout
14540
14541 }{
14542 \end_layout
14543
14544 \end_inset
14545
14546 B
14547 \begin_inset ERT
14548 status collapsed
14549
14550 \begin_layout Plain Layout
14551
14552 }
14553 \end_layout
14554
14555 \end_inset
14556
14557
14558 \end_layout
14559
14560 \end_inset
14561 </cell>
14562 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14563 \begin_inset Text
14564
14565 \begin_layout Plain Layout
14566 Thickness in nm
14567 \end_layout
14568
14569 \end_inset
14570 </cell>
14571 </row>
14572 <row>
14573 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14574 \begin_inset Text
14575
14576 \begin_layout Plain Layout
14577 Perfect Green
14578 \end_layout
14579
14580 \end_inset
14581 </cell>
14582 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14583 \begin_inset Text
14584
14585 \begin_layout Plain Layout
14586 45
14587 \end_layout
14588
14589 \end_inset
14590 </cell>
14591 </row>
14592 </lyxtabular>
14593
14594 \end_inset
14595
14596
14597 \end_layout
14598
14599 \begin_layout Standard
14600 In this case use the 
14601 \series bold
14602 width
14603 \series default
14604  option of the 
14605 \series bold
14606
14607 \backslash
14608 diagbox
14609 \series default
14610  command.
14611  It is then not necessary to add 2
14612 \backslash
14613 tabcolsep because the cell width is now the width of the column.
14614  In this table a width of 3
14615 \begin_inset space \thinspace{}
14616 \end_inset
14617
14618 cm is used:
14619 \end_layout
14620
14621 \begin_layout Standard
14622 \noindent
14623 \align center
14624 \begin_inset Tabular
14625 <lyxtabular version="3" rows="2" columns="2">
14626 <features tabularvalignment="middle">
14627 <column alignment="center" valignment="top" width="0pt">
14628 <column alignment="center" valignment="top">
14629 <row>
14630 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14631 \begin_inset Text
14632
14633 \begin_layout Plain Layout
14634 \begin_inset ERT
14635 status open
14636
14637 \begin_layout Plain Layout
14638
14639
14640 \backslash
14641 diagbox[width=3cm]{
14642 \end_layout
14643
14644 \end_inset
14645
14646 A
14647 \begin_inset ERT
14648 status collapsed
14649
14650 \begin_layout Plain Layout
14651
14652 }{
14653 \end_layout
14654
14655 \end_inset
14656
14657 B
14658 \begin_inset ERT
14659 status collapsed
14660
14661 \begin_layout Plain Layout
14662
14663 }
14664 \end_layout
14665
14666 \end_inset
14667
14668
14669 \end_layout
14670
14671 \end_inset
14672 </cell>
14673 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14674 \begin_inset Text
14675
14676 \begin_layout Plain Layout
14677 Thickness in nm
14678 \end_layout
14679
14680 \end_inset
14681 </cell>
14682 </row>
14683 <row>
14684 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14685 \begin_inset Text
14686
14687 \begin_layout Plain Layout
14688 Perfect Green
14689 \end_layout
14690
14691 \end_inset
14692 </cell>
14693 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14694 \begin_inset Text
14695
14696 \begin_layout Plain Layout
14697 45
14698 \end_layout
14699
14700 \end_inset
14701 </cell>
14702 </row>
14703 </lyxtabular>
14704
14705 \end_inset
14706
14707
14708 \end_layout
14709
14710 \begin_layout Standard
14711 For multiple text lines in split cells one needs some extra height to fit
14712  the text to the cell.
14713  This can be achieved with the 
14714 \series bold
14715
14716 \backslash
14717 diagbox
14718 \series default
14719  option 
14720 \series bold
14721 height=3cm
14722 \series default
14723  (replace '3cm' by the height you need).
14724  In the following table the command
14725 \end_layout
14726
14727 \begin_layout Standard
14728
14729 \series bold
14730
14731 \backslash
14732 diagbox[width=3cm,height=1.4cm]{A
14733 \backslash
14734
14735 \backslash
14736 B}{C
14737 \backslash
14738
14739 \backslash
14740 D}
14741 \end_layout
14742
14743 \begin_layout Standard
14744 is used in the first cell.
14745  The command 
14746 \series bold
14747
14748 \backslash
14749
14750 \backslash
14751
14752 \series default
14753  creates hereby the line break.
14754 \begin_inset Foot
14755 status collapsed
14756
14757 \begin_layout Plain Layout
14758 Breaking lines with 
14759 \family sans
14760 Ctrl+Return
14761 \family default
14762  is only possible when the column has a fixed width.
14763 \end_layout
14764
14765 \end_inset
14766
14767
14768 \end_layout
14769
14770 \begin_layout Standard
14771 \noindent
14772 \align center
14773 \begin_inset Tabular
14774 <lyxtabular version="3" rows="2" columns="2">
14775 <features tabularvalignment="middle">
14776 <column alignment="center" valignment="top">
14777 <column alignment="center" valignment="top">
14778 <row>
14779 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14780 \begin_inset Text
14781
14782 \begin_layout Plain Layout
14783 \begin_inset ERT
14784 status open
14785
14786 \begin_layout Plain Layout
14787
14788
14789 \backslash
14790 diagbox[width=3cm,height=1.4cm]{
14791 \end_layout
14792
14793 \end_inset
14794
14795 A
14796 \begin_inset ERT
14797 status collapsed
14798
14799 \begin_layout Plain Layout
14800
14801
14802 \backslash
14803
14804 \backslash
14805
14806 \end_layout
14807
14808 \end_inset
14809
14810 B
14811 \begin_inset ERT
14812 status collapsed
14813
14814 \begin_layout Plain Layout
14815
14816 }{
14817 \end_layout
14818
14819 \end_inset
14820
14821 C
14822 \begin_inset ERT
14823 status collapsed
14824
14825 \begin_layout Plain Layout
14826
14827
14828 \backslash
14829
14830 \backslash
14831
14832 \end_layout
14833
14834 \end_inset
14835
14836 D
14837 \begin_inset ERT
14838 status collapsed
14839
14840 \begin_layout Plain Layout
14841
14842 }
14843 \end_layout
14844
14845 \end_inset
14846
14847
14848 \end_layout
14849
14850 \end_inset
14851 </cell>
14852 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14853 \begin_inset Text
14854
14855 \begin_layout Plain Layout
14856 Thickness in nm
14857 \end_layout
14858
14859 \end_inset
14860 </cell>
14861 </row>
14862 <row>
14863 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14864 \begin_inset Text
14865
14866 \begin_layout Plain Layout
14867 Perfect Green
14868 \end_layout
14869
14870 \end_inset
14871 </cell>
14872 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14873 \begin_inset Text
14874
14875 \begin_layout Plain Layout
14876 45
14877 \end_layout
14878
14879 \end_inset
14880 </cell>
14881 </row>
14882 </lyxtabular>
14883
14884 \end_inset
14885
14886
14887 \end_layout
14888
14889 \begin_layout Standard
14890 \begin_inset ERT
14891 status collapsed
14892
14893 \begin_layout Plain Layout
14894
14895
14896 \backslash
14897 else
14898 \end_layout
14899
14900 \end_inset
14901
14902
14903 \begin_inset Note Note
14904 status open
14905
14906 \begin_layout Plain Layout
14907 The following will be displayed when the \SpecialChar LaTeX
14908 -package 
14909 \series bold
14910 diagbox
14911 \series default
14912  is not installed:
14913 \end_layout
14914
14915 \end_inset
14916
14917
14918 \end_layout
14919
14920 \begin_layout Standard
14921 You need to install the \SpecialChar LaTeX
14922 -package 
14923 \series bold
14924 diagbox
14925 \series default
14926  to see the following part of this section in the output.
14927 \end_layout
14928
14929 \begin_layout Standard
14930 \begin_inset ERT
14931 status collapsed
14932
14933 \begin_layout Plain Layout
14934
14935
14936 \backslash
14937 fi
14938 \end_layout
14939
14940 \end_inset
14941
14942
14943 \end_layout
14944
14945 \begin_layout Standard
14946 For more info about the \SpecialChar LaTeX
14947 -package 
14948 \series bold
14949 diagbox
14950 \series default
14951 , see its documentation, 
14952 \begin_inset CommandInset citation
14953 LatexCommand cite
14954 key "diagbox"
14955 literal "true"
14956
14957 \end_inset
14958
14959 .
14960 \end_layout
14961
14962 \begin_layout Section
14963 Formal Tables
14964 \begin_inset CommandInset label
14965 LatexCommand label
14966 name "sec:Formal-Tables"
14967
14968 \end_inset
14969
14970
14971 \begin_inset Index idx
14972 status collapsed
14973
14974 \begin_layout Plain Layout
14975 Table ! Formal
14976 \end_layout
14977
14978 \end_inset
14979
14980
14981 \end_layout
14982
14983 \begin_layout Standard
14984 Tables are often typeset in books similar to Table
14985 \begin_inset space ~
14986 \end_inset
14987
14988
14989 \begin_inset CommandInset ref
14990 LatexCommand ref
14991 reference "tab:Example-booktabs-table"
14992
14993 \end_inset
14994
14995 .
14996  This kind of tables is called 
14997 \begin_inset Quotes eld
14998 \end_inset
14999
15000
15001 \emph on
15002 formal
15003 \emph default
15004
15005 \begin_inset Quotes erd
15006 \end_inset
15007
15008 .
15009  To make a table a formal table
15010 \change_inserted -712698321 1554290084
15011 , select the table style 
15012 \begin_inset Quotes eld
15013 \end_inset
15014
15015 Formal
15016 \change_deleted 630872221 1622707670
15017  Table
15018 \change_inserted 630872221 1622707670
15019 \SpecialChar ldots
15020
15021 \change_inserted -712698321 1554290084
15022
15023 \begin_inset Quotes erd
15024 \end_inset
15025
15026  in the Table Creation dialog or
15027 \change_unchanged
15028  use the option 
15029 \family sans
15030 Formal
15031 \family default
15032  in the 
15033 \family sans
15034 Borders
15035 \family default
15036  tab of the table dialog
15037 \change_inserted -712698321 1554290131
15038  (if you additionally check the option 
15039 \family sans
15040 Use Default Formal Style
15041 \family default
15042 , the border lines are adapted to a sensible default)
15043 \change_unchanged
15044 .
15045 \end_layout
15046
15047 \begin_layout Standard
15048 \begin_inset Float table
15049 placement h
15050 alignment document
15051 wide false
15052 sideways false
15053 status open
15054
15055 \begin_layout Plain Layout
15056 \begin_inset Caption Standard
15057
15058 \begin_layout Plain Layout
15059 \begin_inset CommandInset label
15060 LatexCommand label
15061 name "tab:Example-booktabs-table"
15062
15063 \end_inset
15064
15065 Example 
15066 \change_deleted -712698321 1554292310
15067 booktabs-
15068 \change_inserted -712698321 1554292311
15069 formal 
15070 \change_unchanged
15071 table
15072 \end_layout
15073
15074 \end_inset
15075
15076
15077 \end_layout
15078
15079 \begin_layout Plain Layout
15080 \align center
15081 \begin_inset Tabular
15082 <lyxtabular version="3" rows="8" columns="4">
15083 <features booktabs="true" tabularvalignment="middle">
15084 <column alignment="center" valignment="top">
15085 <column alignment="center" valignment="top" width="0pt">
15086 <column alignment="center" valignment="top" width="0pt">
15087 <column alignment="center" valignment="top">
15088 <row>
15089 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
15090 \begin_inset Text
15091
15092 \begin_layout Plain Layout
15093 System
15094 \end_layout
15095
15096 \end_inset
15097 </cell>
15098 <cell alignment="center" valignment="top" topline="true" usebox="none">
15099 \begin_inset Text
15100
15101 \begin_layout Plain Layout
15102 Chip
15103 \begin_inset space \thinspace{}
15104 \end_inset
15105
15106 1
15107 \end_layout
15108
15109 \end_inset
15110 </cell>
15111 <cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
15112 \begin_inset Text
15113
15114 \begin_layout Plain Layout
15115 Chip
15116 \begin_inset space \thinspace{}
15117 \end_inset
15118
15119 2
15120 \end_layout
15121
15122 \end_inset
15123 </cell>
15124 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15125 \begin_inset Text
15126
15127 \begin_layout Plain Layout
15128
15129 \end_layout
15130
15131 \end_inset
15132 </cell>
15133 </row>
15134 <row>
15135 <cell alignment="center" valignment="top" rightline="true" usebox="none">
15136 \begin_inset Text
15137
15138 \begin_layout Plain Layout
15139
15140 \change_deleted -712698321 1554290161
15141 \begin_inset ERT
15142 status collapsed
15143
15144 \begin_layout Plain Layout
15145
15146
15147 \backslash
15148 cmidrule(r){2-2}
15149 \end_layout
15150
15151 \end_inset
15152
15153
15154 \begin_inset ERT
15155 status collapsed
15156
15157 \begin_layout Plain Layout
15158
15159
15160 \backslash
15161 cmidrule(l){3-4}
15162 \end_layout
15163
15164 \end_inset
15165
15166
15167 \change_unchanged
15168 Detector thickness in Âµm
15169 \end_layout
15170
15171 \end_inset
15172 </cell>
15173 <cell alignment="center" valignment="top" usebox="none">
15174 \begin_inset Text
15175
15176 \begin_layout Plain Layout
15177 300
15178 \end_layout
15179
15180 \end_inset
15181 </cell>
15182 <cell alignment="center" valignment="top" usebox="none">
15183 \begin_inset Text
15184
15185 \begin_layout Plain Layout
15186 300
15187 \end_layout
15188
15189 \end_inset
15190 </cell>
15191 <cell alignment="center" valignment="top" usebox="none">
15192 \begin_inset Text
15193
15194 \begin_layout Plain Layout
15195 700
15196 \end_layout
15197
15198 \end_inset
15199 </cell>
15200 </row>
15201 <row>
15202 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
15203 \begin_inset Text
15204
15205 \begin_layout Plain Layout
15206 Edge angle in Â°
15207 \end_layout
15208
15209 \end_inset
15210 </cell>
15211 <cell alignment="center" valignment="top" topline="true" toplinertrim="true" usebox="none">
15212 \begin_inset Text
15213
15214 \begin_layout Plain Layout
15215 3.55
15216 \end_layout
15217
15218 \end_inset
15219 </cell>
15220 <cell alignment="center" valignment="top" topline="true" toplineltrim="true" usebox="none">
15221 \begin_inset Text
15222
15223 \begin_layout Plain Layout
15224 2.71
15225 \end_layout
15226
15227 \end_inset
15228 </cell>
15229 <cell alignment="center" valignment="top" topline="true" usebox="none">
15230 \begin_inset Text
15231
15232 \begin_layout Plain Layout
15233 7.99
15234 \end_layout
15235
15236 \end_inset
15237 </cell>
15238 </row>
15239 <row topspace="default">
15240 <cell alignment="center" valignment="top" rightline="true" usebox="none">
15241 \begin_inset Text
15242
15243 \begin_layout Plain Layout
15244 Spatial resolution in Âµm
15245 \end_layout
15246
15247 \end_inset
15248 </cell>
15249 <cell alignment="center" valignment="top" usebox="none">
15250 \begin_inset Text
15251
15252 \begin_layout Plain Layout
15253 4.26
15254 \end_layout
15255
15256 \end_inset
15257 </cell>
15258 <cell alignment="center" valignment="top" usebox="none">
15259 \begin_inset Text
15260
15261 \begin_layout Plain Layout
15262 10.17
15263 \end_layout
15264
15265 \end_inset
15266 </cell>
15267 <cell alignment="center" valignment="top" usebox="none">
15268 \begin_inset Text
15269
15270 \begin_layout Plain Layout
15271 10.56
15272 \end_layout
15273
15274 \end_inset
15275 </cell>
15276 </row>
15277 <row topspace="default">
15278 <cell alignment="center" valignment="top" rightline="true" usebox="none">
15279 \begin_inset Text
15280
15281 \begin_layout Plain Layout
15282 MTF at 
15283 \begin_inset Formula $f_{\mathrm{max}}$
15284 \end_inset
15285
15286
15287 \end_layout
15288
15289 \end_inset
15290 </cell>
15291 <cell alignment="center" valignment="top" usebox="none">
15292 \begin_inset Text
15293
15294 \begin_layout Plain Layout
15295 0.53
15296 \end_layout
15297
15298 \end_inset
15299 </cell>
15300 <cell alignment="center" valignment="top" usebox="none">
15301 \begin_inset Text
15302
15303 \begin_layout Plain Layout
15304 0.37
15305 \end_layout
15306
15307 \end_inset
15308 </cell>
15309 <cell alignment="center" valignment="top" usebox="none">
15310 \begin_inset Text
15311
15312 \begin_layout Plain Layout
15313 0.39
15314 \end_layout
15315
15316 \end_inset
15317 </cell>
15318 </row>
15319 <row topspace="default">
15320 <cell alignment="center" valignment="top" rightline="true" usebox="none">
15321 \begin_inset Text
15322
15323 \begin_layout Plain Layout
15324
15325 \change_deleted -712698321 1554290260
15326 \begin_inset ERT
15327 status collapsed
15328
15329 \begin_layout Plain Layout
15330
15331
15332 \backslash
15333 cmidrule[2pt](l{10pt}){1-1}
15334 \end_layout
15335
15336 \end_inset
15337
15338
15339 \change_unchanged
15340 LSF-spatial resolution
15341 \end_layout
15342
15343 \end_inset
15344 </cell>
15345 <cell alignment="center" valignment="top" usebox="none">
15346 \begin_inset Text
15347
15348 \begin_layout Plain Layout
15349
15350 \end_layout
15351
15352 \end_inset
15353 </cell>
15354 <cell alignment="center" valignment="top" usebox="none">
15355 \begin_inset Text
15356
15357 \begin_layout Plain Layout
15358
15359 \end_layout
15360
15361 \end_inset
15362 </cell>
15363 <cell alignment="center" valignment="top" usebox="none">
15364 \begin_inset Text
15365
15366 \begin_layout Plain Layout
15367
15368 \end_layout
15369
15370 \end_inset
15371 </cell>
15372 </row>
15373 <row>
15374 <cell alignment="center" valignment="top" rightline="true" usebox="none">
15375 \begin_inset Text
15376
15377 \begin_layout Plain Layout
15378 in Âµm
15379 \end_layout
15380
15381 \end_inset
15382 </cell>
15383 <cell alignment="center" valignment="top" usebox="none">
15384 \begin_inset Text
15385
15386 \begin_layout Plain Layout
15387 129.7
15388 \end_layout
15389
15390 \end_inset
15391 </cell>
15392 <cell alignment="center" valignment="top" usebox="none">
15393 \begin_inset Text
15394
15395 \begin_layout Plain Layout
15396 52.75
15397 \end_layout
15398
15399 \end_inset
15400 </cell>
15401 <cell alignment="center" valignment="top" usebox="none">
15402 \begin_inset Text
15403
15404 \begin_layout Plain Layout
15405 50.78
15406 \end_layout
15407
15408 \end_inset
15409 </cell>
15410 </row>
15411 <row>
15412 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15413 \begin_inset Text
15414
15415 \begin_layout Plain Layout
15416 in % of pixel size
15417 \end_layout
15418
15419 \end_inset
15420 </cell>
15421 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15422 \begin_inset Text
15423
15424 \begin_layout Plain Layout
15425 76.3
15426 \end_layout
15427
15428 \end_inset
15429 </cell>
15430 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15431 \begin_inset Text
15432
15433 \begin_layout Plain Layout
15434 95.9
15435 \end_layout
15436
15437 \end_inset
15438 </cell>
15439 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15440 \begin_inset Text
15441
15442 \begin_layout Plain Layout
15443 92.3
15444 \end_layout
15445
15446 \end_inset
15447 </cell>
15448 </row>
15449 </lyxtabular>
15450
15451 \end_inset
15452
15453
15454 \end_layout
15455
15456 \end_inset
15457
15458
15459 \end_layout
15460
15461 \begin_layout Standard
15462 Spaces to table rows can be added using the 
15463 \family sans
15464 Borders
15465 \family default
15466  tab of the table dialog as described in section
15467 \begin_inset space ~
15468 \end_inset
15469
15470
15471 \begin_inset CommandInset ref
15472 LatexCommand ref
15473 reference "subsec:Row-Spacing"
15474
15475 \end_inset
15476
15477 .
15478 \end_layout
15479
15480 \begin_layout Standard
15481 Unlike normal tables, formal tables have no vertical table lines.
15482  The horizontal table lines can be set as for normal tables but they appear
15483  with different widths in the output:
15484 \begin_inset Newline newline
15485 \end_inset
15486
15487 The first and the last table line have a default width of 0.08
15488 \begin_inset space \thinspace{}
15489 \end_inset
15490
15491 em while the other lines have a default width of 0.05
15492 \begin_inset space \thinspace{}
15493 \end_inset
15494
15495 em.
15496 \end_layout
15497
15498 \begin_layout Standard
15499 The default widths can be changed with the following preamble lines
15500 \end_layout
15501
15502 \begin_layout Standard
15503
15504 \series bold
15505
15506 \backslash
15507 let
15508 \backslash
15509 mytoprule
15510 \backslash
15511 toprule
15512 \begin_inset Newline newline
15513 \end_inset
15514
15515
15516 \backslash
15517 renewcommand{
15518 \backslash
15519 toprule}{
15520 \backslash
15521 mytoprule[width]}
15522 \end_layout
15523
15524 \begin_layout Standard
15525 This example is for the first line, the so called 
15526 \series bold
15527 toprule
15528 \series default
15529 .
15530  If you want to change the width for the last line, replace 
15531 \series bold
15532 toprule
15533 \series default
15534  by 
15535 \series bold
15536 bottomrule
15537 \series default
15538 .
15539  To change the width for the other lines replace 
15540 \series bold
15541 toprule
15542 \series default
15543  by 
15544 \series bold
15545 midrule
15546 \series default
15547 .
15548  You can use all units listed in appendix
15549 \begin_inset space ~
15550 \end_inset
15551
15552
15553 \begin_inset CommandInset ref
15554 LatexCommand ref
15555 reference "cha:Units-available-in"
15556
15557 \end_inset
15558
15559  to set the width.
15560 \end_layout
15561
15562 \begin_layout Standard
15563
15564 \change_deleted -712698321 1554290929
15565 Lines that do not span all table columns can be created by setting a table
15566  line for multicolumn cells.
15567  \SpecialChar LyX
15568  will then internally use the command 
15569 \series bold
15570
15571 \backslash
15572 cmidrule
15573 \series default
15574  to create this line.
15575  Its full scheme is
15576 \change_inserted -712698321 1554291959
15577 As in table
15578 \begin_inset space ~
15579 \end_inset
15580
15581
15582 \begin_inset CommandInset ref
15583 LatexCommand ref
15584 reference "tab:Example-booktabs-table"
15585
15586 \end_inset
15587
15588 , formal tables often use shortened lines to group columns.
15589  This can be done in the borders widget of the table dialog.
15590  With formal tables, the top and bottom borders have to small offset lines
15591  to the left and the right.
15592  Clicking on these will trim the line respectively.
15593 \change_unchanged
15594
15595 \end_layout
15596
15597 \begin_layout Standard
15598
15599 \change_inserted -712698321 1554291403
15600 If you need to adjust the length of the trimming or the height of the rules,
15601  you have to resort to \SpecialChar TeX
15602  Code.
15603  The respective command (which is also used for the trimmed mid rules) is
15604  this:
15605 \change_unchanged
15606
15607 \end_layout
15608
15609 \begin_layout Standard
15610
15611 \series bold
15612
15613 \backslash
15614 cmidrule[height](trim){startcol-endcol}
15615 \end_layout
15616
15617 \begin_layout Standard
15618
15619 \change_deleted -712698321 1554292020
15620 The options of 
15621 \series bold
15622
15623 \backslash
15624 cmidrule
15625 \series default
15626  are currently not supported by \SpecialChar LyX
15627  so you have to use \SpecialChar TeX
15628  Code to be able to
15629  use them.
15630  
15631 \series bold
15632
15633 \backslash
15634 cmidrule
15635 \series default
15636 s can manually be created by inserting the command as \SpecialChar TeX
15637  Code as the first
15638  cell entry of the first cell of a row.
15639  The line is then drawn in the output above the current row.
15640 \change_unchanged
15641
15642 \end_layout
15643
15644 \begin_layout Standard
15645 The default for the optional 
15646 \series bold
15647 height
15648 \series default
15649  is 0.03
15650 \begin_inset space \thinspace{}
15651 \end_inset
15652
15653 em.
15654  
15655 \series bold
15656 startcol
15657 \series default
15658  is the number of the column where the line starts and 
15659 \series bold
15660 endcol
15661 \series default
15662  the column number where the line ends.
15663  The 
15664 \series bold
15665 endcol
15666 \series default
15667  always needs to be specified, also when the line should span only one column.
15668  The optional parameter 
15669 \series bold
15670 trim
15671 \series default
15672  could either be 
15673 \emph on
15674 l{trimwidth}
15675 \emph default
15676  or 
15677 \emph on
15678 r{trimwidth}
15679 \emph default
15680  where the 
15681 \emph on
15682 trimwidth
15683 \emph default
15684  is also optional.
15685  Using for example the parameter 
15686 \emph on
15687 l{2pt}
15688 \emph default
15689  means that the line is trimmed from its left end by 2
15690 \begin_inset space \thinspace{}
15691 \end_inset
15692
15693 pt.
15694  If you don't specify the 
15695 \emph on
15696 trimwidth
15697 \emph default
15698  the line is trimmed by the default of 0.5
15699 \begin_inset space \thinspace{}
15700 \end_inset
15701
15702 em
15703 \change_inserted -712698321 1554291561
15704  (this is what is done if you use trimming from the dialog)
15705 \change_unchanged
15706 .
15707 \change_inserted -712698321 1554292039
15708
15709 \end_layout
15710
15711 \begin_layout Standard
15712
15713 \change_inserted -712698321 1554292207
15714 The 
15715 \emph on
15716 height
15717 \emph default
15718  option of 
15719 \series bold
15720
15721 \backslash
15722 cmidrule
15723 \series default
15724  is currently not supported by \SpecialChar LyX
15725 , and neither are the 
15726 \emph on
15727 trimwidth
15728 \emph default
15729  parameters.
15730  If you need this you can manually insert a 
15731 \series bold
15732
15733 \backslash
15734 cmidrule
15735 \series default
15736  with the respective settings as \SpecialChar TeX
15737  Code as the first cell entry of the first
15738  cell of a row.
15739  The line is then drawn in the output above the current row.
15740  Table
15741 \begin_inset space ~
15742 \end_inset
15743
15744
15745 \begin_inset CommandInset ref
15746 LatexCommand ref
15747 reference "tab:Special-booktabs-table"
15748
15749 \end_inset
15750
15751  exemplifies this (in the sixth row).
15752 \change_unchanged
15753
15754 \end_layout
15755
15756 \begin_layout Standard
15757
15758 \change_deleted -712698321 1554291078
15759 \begin_inset VSpace bigskip
15760 \end_inset
15761
15762 Table
15763 \begin_inset space ~
15764 \end_inset
15765
15766
15767 \begin_inset CommandInset ref
15768 LatexCommand ref
15769 reference "tab:Example-booktabs-table"
15770
15771 \end_inset
15772
15773  was created using the commands
15774 \end_layout
15775
15776 \begin_layout Standard
15777
15778 \change_deleted -712698321 1554291077
15779
15780 \series bold
15781
15782 \backslash
15783 cmidrule(r){2-2}
15784 \backslash
15785 cmidrule(l){3-4}
15786 \end_layout
15787
15788 \begin_layout Standard
15789
15790 \change_deleted -712698321 1554291077
15791 at the beginning of the second row and
15792 \end_layout
15793
15794 \begin_layout Standard
15795
15796 \change_deleted -712698321 1554291077
15797
15798 \series bold
15799
15800 \backslash
15801 cmidrule[2pt](l{10pt}){1-1}
15802 \end_layout
15803
15804 \begin_layout Standard
15805
15806 \change_deleted -712698321 1554291077
15807 in the sixth row.
15808 \change_unchanged
15809
15810 \end_layout
15811
15812 \begin_layout Standard
15813
15814 \change_deleted -712698321 1554292212
15815 \begin_inset VSpace bigskip
15816 \end_inset
15817
15818
15819 \change_unchanged
15820
15821 \end_layout
15822
15823 \begin_layout Standard
15824 You 
15825 \change_inserted -712698321 1554291573
15826 also 
15827 \change_unchanged
15828 might want to have overlapping 
15829 \series bold
15830
15831 \backslash
15832 cmidrule
15833 \series default
15834 s as 
15835 \change_deleted -712698321 1554296804
15836 in
15837 \change_inserted -712698321 1554296808
15838 exemplified as well
15839 \change_unchanged
15840  in Table
15841 \begin_inset space ~
15842 \end_inset
15843
15844
15845 \begin_inset CommandInset ref
15846 LatexCommand ref
15847 reference "tab:Special-booktabs-table"
15848
15849 \end_inset
15850
15851
15852 \change_inserted -712698321 1554291601
15853 , even though this is considered bad style (so only use it if you really
15854  need to)
15855 \change_unchanged
15856 .
15857  This can be achieved with the \SpecialChar TeX
15858  Code command
15859 \end_layout
15860
15861 \begin_layout Standard
15862
15863 \series bold
15864
15865 \backslash
15866 morecmidrules
15867 \end_layout
15868
15869 \begin_layout Standard
15870 The command that was used for the second row of Table
15871 \begin_inset space ~
15872 \end_inset
15873
15874
15875 \begin_inset CommandInset ref
15876 LatexCommand ref
15877 reference "tab:Special-booktabs-table"
15878
15879 \end_inset
15880
15881  is
15882 \end_layout
15883
15884 \begin_layout Standard
15885
15886 \change_deleted -712698321 1554291798
15887
15888 \series bold
15889
15890 \backslash
15891 cmidrule(r){2-2}
15892 \backslash
15893 cmidrule(l){3-4}
15894 \change_unchanged
15895
15896 \backslash
15897 morecmidrules
15898 \backslash
15899 cmidrule{2-4}
15900 \end_layout
15901
15902 \begin_layout Standard
15903 The command for the sixth row is
15904 \end_layout
15905
15906 \begin_layout Standard
15907
15908 \change_deleted -712698321 1554291810
15909
15910 \series bold
15911
15912 \backslash
15913 midrule
15914 \change_unchanged
15915
15916 \backslash
15917 morecmidrules
15918 \backslash
15919 cmidrule{3-4}
15920 \end_layout
15921
15922 \begin_layout Standard
15923 \begin_inset VSpace bigskip
15924 \end_inset
15925
15926
15927 \end_layout
15928
15929 \begin_layout Standard
15930 If you are in any way not satisfied with the border line spacing, you can
15931  use the following command to produce lines that span over all table columns
15932 \series bold
15933 :
15934 \end_layout
15935
15936 \begin_layout Standard
15937
15938 \series bold
15939
15940 \backslash
15941 specialrule{width}{space above}{space below}
15942 \end_layout
15943
15944 \begin_layout Standard
15945 For more information about these features, refer to the manual of the \SpecialChar LaTeX
15946 -package
15947  
15948 \series bold
15949 booktabs
15950 \series default
15951  
15952 \begin_inset CommandInset citation
15953 LatexCommand cite
15954 key "booktabs"
15955 literal "true"
15956
15957 \end_inset
15958
15959 .
15960 \begin_inset Index idx
15961 status collapsed
15962
15963 \begin_layout Plain Layout
15964 \SpecialChar LaTeX
15965 -packages ! booktabs
15966 \end_layout
15967
15968 \end_inset
15969
15970
15971 \end_layout
15972
15973 \begin_layout Standard
15974 \begin_inset Float table
15975 placement h
15976 alignment document
15977 wide false
15978 sideways false
15979 status open
15980
15981 \begin_layout Plain Layout
15982 \begin_inset Caption Standard
15983
15984 \begin_layout Plain Layout
15985 \begin_inset CommandInset label
15986 LatexCommand label
15987 name "tab:Special-booktabs-table"
15988
15989 \end_inset
15990
15991 Special 
15992 \change_inserted -712698321 1554292295
15993 (ugly) 
15994 \change_deleted -712698321 1554292304
15995 booktabs
15996 \change_inserted -712698321 1554292305
15997 formal 
15998 \change_deleted -712698321 1554292300
15999 -
16000 \change_unchanged
16001 table
16002 \end_layout
16003
16004 \end_inset
16005
16006
16007 \end_layout
16008
16009 \begin_layout Plain Layout
16010 \align center
16011 \begin_inset Tabular
16012 <lyxtabular version="3" rows="8" columns="4">
16013 <features booktabs="true" tabularvalignment="middle">
16014 <column alignment="center" valignment="top">
16015 <column alignment="center" valignment="top" width="0pt">
16016 <column alignment="center" valignment="top" width="0pt">
16017 <column alignment="center" valignment="top" width="0pt">
16018 <row>
16019 <cell alignment="center" valignment="top" topline="true" usebox="none">
16020 \begin_inset Text
16021
16022 \begin_layout Plain Layout
16023 System
16024 \end_layout
16025
16026 \end_inset
16027 </cell>
16028 <cell alignment="center" valignment="top" topline="true" bottomline="true" bottomlinertrim="true" usebox="none">
16029 \begin_inset Text
16030
16031 \begin_layout Plain Layout
16032 Chip
16033 \begin_inset space \thinspace{}
16034 \end_inset
16035
16036 1
16037 \end_layout
16038
16039 \end_inset
16040 </cell>
16041 <cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
16042 \begin_inset Text
16043
16044 \begin_layout Plain Layout
16045 Chip
16046 \begin_inset space \thinspace{}
16047 \end_inset
16048
16049 2
16050 \end_layout
16051
16052 \end_inset
16053 </cell>
16054 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16055 \begin_inset Text
16056
16057 \begin_layout Plain Layout
16058
16059 \end_layout
16060
16061 \end_inset
16062 </cell>
16063 </row>
16064 <row>
16065 <cell alignment="center" valignment="top" usebox="none">
16066 \begin_inset Text
16067
16068 \begin_layout Plain Layout
16069
16070 \change_deleted -712698321 1554291732
16071 \begin_inset ERT
16072 status collapsed
16073
16074 \begin_layout Plain Layout
16075
16076
16077 \backslash
16078 cmidrule(r){2-2}
16079 \end_layout
16080
16081 \end_inset
16082
16083
16084 \begin_inset ERT
16085 status collapsed
16086
16087 \begin_layout Plain Layout
16088
16089
16090 \backslash
16091 cmidrule(l){3-4}
16092 \end_layout
16093
16094 \end_inset
16095
16096
16097 \change_unchanged
16098
16099 \begin_inset ERT
16100 status collapsed
16101
16102 \begin_layout Plain Layout
16103
16104
16105 \backslash
16106 morecmidrules 
16107 \end_layout
16108
16109 \end_inset
16110
16111
16112 \begin_inset ERT
16113 status open
16114
16115 \begin_layout Plain Layout
16116
16117
16118 \backslash
16119 cmidrule{2-4}
16120 \end_layout
16121
16122 \end_inset
16123
16124 Detector thickness in Âµm
16125 \end_layout
16126
16127 \end_inset
16128 </cell>
16129 <cell alignment="center" valignment="top" usebox="none">
16130 \begin_inset Text
16131
16132 \begin_layout Plain Layout
16133 300
16134 \end_layout
16135
16136 \end_inset
16137 </cell>
16138 <cell alignment="center" valignment="top" topline="true" toplineltrim="true" usebox="none">
16139 \begin_inset Text
16140
16141 \begin_layout Plain Layout
16142 300
16143 \end_layout
16144
16145 \end_inset
16146 </cell>
16147 <cell alignment="center" valignment="top" topline="true" usebox="none">
16148 \begin_inset Text
16149
16150 \begin_layout Plain Layout
16151 700
16152 \end_layout
16153
16154 \end_inset
16155 </cell>
16156 </row>
16157 <row>
16158 <cell alignment="center" valignment="top" topline="true" usebox="none">
16159 \begin_inset Text
16160
16161 \begin_layout Plain Layout
16162 Edge angle in Â°
16163 \end_layout
16164
16165 \end_inset
16166 </cell>
16167 <cell alignment="center" valignment="top" topline="true" usebox="none">
16168 \begin_inset Text
16169
16170 \begin_layout Plain Layout
16171 3.55
16172 \end_layout
16173
16174 \end_inset
16175 </cell>
16176 <cell alignment="center" valignment="top" topline="true" usebox="none">
16177 \begin_inset Text
16178
16179 \begin_layout Plain Layout
16180 2.71
16181 \end_layout
16182
16183 \end_inset
16184 </cell>
16185 <cell alignment="center" valignment="top" topline="true" usebox="none">
16186 \begin_inset Text
16187
16188 \begin_layout Plain Layout
16189 7.99
16190 \end_layout
16191
16192 \end_inset
16193 </cell>
16194 </row>
16195 <row topspace="default">
16196 <cell alignment="center" valignment="top" usebox="none">
16197 \begin_inset Text
16198
16199 \begin_layout Plain Layout
16200 Spatial resolution in Âµm
16201 \end_layout
16202
16203 \end_inset
16204 </cell>
16205 <cell alignment="center" valignment="top" usebox="none">
16206 \begin_inset Text
16207
16208 \begin_layout Plain Layout
16209 4.26
16210 \end_layout
16211
16212 \end_inset
16213 </cell>
16214 <cell alignment="center" valignment="top" usebox="none">
16215 \begin_inset Text
16216
16217 \begin_layout Plain Layout
16218 10.17
16219 \end_layout
16220
16221 \end_inset
16222 </cell>
16223 <cell alignment="center" valignment="top" usebox="none">
16224 \begin_inset Text
16225
16226 \begin_layout Plain Layout
16227 10.56
16228 \end_layout
16229
16230 \end_inset
16231 </cell>
16232 </row>
16233 <row topspace="default">
16234 <cell alignment="center" valignment="top" usebox="none">
16235 \begin_inset Text
16236
16237 \begin_layout Plain Layout
16238 MTF at 
16239 \begin_inset Formula $f_{\mathrm{max}}$
16240 \end_inset
16241
16242
16243 \end_layout
16244
16245 \end_inset
16246 </cell>
16247 <cell alignment="center" valignment="top" usebox="none">
16248 \begin_inset Text
16249
16250 \begin_layout Plain Layout
16251 0.53
16252 \end_layout
16253
16254 \end_inset
16255 </cell>
16256 <cell alignment="center" valignment="top" usebox="none">
16257 \begin_inset Text
16258
16259 \begin_layout Plain Layout
16260 0.37
16261 \end_layout
16262
16263 \end_inset
16264 </cell>
16265 <cell alignment="center" valignment="top" usebox="none">
16266 \begin_inset Text
16267
16268 \begin_layout Plain Layout
16269 0.39
16270 \end_layout
16271
16272 \end_inset
16273 </cell>
16274 </row>
16275 <row>
16276 <cell alignment="center" valignment="top" topline="true" usebox="none">
16277 \begin_inset Text
16278
16279 \begin_layout Plain Layout
16280 \begin_inset ERT
16281 status collapsed
16282
16283 \begin_layout Plain Layout
16284
16285
16286 \backslash
16287 morecmidrules 
16288 \end_layout
16289
16290 \end_inset
16291
16292
16293 \begin_inset ERT
16294 status open
16295
16296 \begin_layout Plain Layout
16297
16298
16299 \backslash
16300 cmidrule
16301 \change_inserted -712698321 1554291896
16302 [2pt](l{7pt})
16303 \change_unchanged
16304 {3-4}
16305 \end_layout
16306
16307 \end_inset
16308
16309 LSF-spatial resolution
16310 \end_layout
16311
16312 \end_inset
16313 </cell>
16314 <cell alignment="center" valignment="top" topline="true" usebox="none">
16315 \begin_inset Text
16316
16317 \begin_layout Plain Layout
16318
16319 \end_layout
16320
16321 \end_inset
16322 </cell>
16323 <cell alignment="center" valignment="top" topline="true" usebox="none">
16324 \begin_inset Text
16325
16326 \begin_layout Plain Layout
16327
16328 \end_layout
16329
16330 \end_inset
16331 </cell>
16332 <cell alignment="center" valignment="top" topline="true" usebox="none">
16333 \begin_inset Text
16334
16335 \begin_layout Plain Layout
16336
16337 \end_layout
16338
16339 \end_inset
16340 </cell>
16341 </row>
16342 <row>
16343 <cell alignment="center" valignment="top" usebox="none">
16344 \begin_inset Text
16345
16346 \begin_layout Plain Layout
16347 in Âµm
16348 \end_layout
16349
16350 \end_inset
16351 </cell>
16352 <cell alignment="center" valignment="top" usebox="none">
16353 \begin_inset Text
16354
16355 \begin_layout Plain Layout
16356 129.7
16357 \end_layout
16358
16359 \end_inset
16360 </cell>
16361 <cell alignment="center" valignment="top" usebox="none">
16362 \begin_inset Text
16363
16364 \begin_layout Plain Layout
16365 52.75
16366 \end_layout
16367
16368 \end_inset
16369 </cell>
16370 <cell alignment="center" valignment="top" usebox="none">
16371 \begin_inset Text
16372
16373 \begin_layout Plain Layout
16374 50.78
16375 \end_layout
16376
16377 \end_inset
16378 </cell>
16379 </row>
16380 <row>
16381 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16382 \begin_inset Text
16383
16384 \begin_layout Plain Layout
16385 in % of pixel size
16386 \end_layout
16387
16388 \end_inset
16389 </cell>
16390 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16391 \begin_inset Text
16392
16393 \begin_layout Plain Layout
16394 76.3
16395 \end_layout
16396
16397 \end_inset
16398 </cell>
16399 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16400 \begin_inset Text
16401
16402 \begin_layout Plain Layout
16403 95.9
16404 \end_layout
16405
16406 \end_inset
16407 </cell>
16408 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16409 \begin_inset Text
16410
16411 \begin_layout Plain Layout
16412 92.3
16413 \end_layout
16414
16415 \end_inset
16416 </cell>
16417 </row>
16418 </lyxtabular>
16419
16420 \end_inset
16421
16422
16423 \end_layout
16424
16425 \end_inset
16426
16427
16428 \end_layout
16429
16430 \begin_layout Section
16431 Vertical Table Alignment
16432 \begin_inset Index idx
16433 status collapsed
16434
16435 \begin_layout Plain Layout
16436 Table ! Alignment
16437 \end_layout
16438
16439 \end_inset
16440
16441
16442 \end_layout
16443
16444 \begin_layout Standard
16445 To align tables vertically in a text line, the table must be inside a box.
16446  The box can then be vertically aligned as described in section
16447 \begin_inset space ~
16448 \end_inset
16449
16450
16451 \begin_inset CommandInset ref
16452 LatexCommand ref
16453 reference "sec:Box-Dialog"
16454
16455 \end_inset
16456
16457 .
16458 \end_layout
16459
16460 \begin_layout Standard
16461 In the following example the tables are inside a minipage
16462 \begin_inset Foot
16463 status collapsed
16464
16465 \begin_layout Plain Layout
16466 Minipages are described in section
16467 \begin_inset space ~
16468 \end_inset
16469
16470
16471 \begin_inset CommandInset ref
16472 LatexCommand ref
16473 reference "sec:Minipages"
16474
16475 \end_inset
16476
16477 .
16478 \end_layout
16479
16480 \end_inset
16481
16482  box that has a width of 15
16483 \begin_inset space \thinspace{}
16484 \end_inset
16485
16486 col%:
16487 \end_layout
16488
16489 \begin_layout Itemize
16490 test 
16491 \begin_inset Box Frameless
16492 position "t"
16493 hor_pos "c"
16494 has_inner_box 1
16495 inner_pos "c"
16496 use_parbox 0
16497 use_makebox 0
16498 width "15col%"
16499 special "none"
16500 height "1in"
16501 height_special "totalheight"
16502 thickness "0.4pt"
16503 separation "3pt"
16504 shadowsize "4pt"
16505 framecolor "black"
16506 backgroundcolor "none"
16507 status collapsed
16508
16509 \begin_layout Plain Layout
16510 \begin_inset Tabular
16511 <lyxtabular version="3" rows="3" columns="3">
16512 <features tabularvalignment="middle">
16513 <column alignment="center" valignment="top">
16514 <column alignment="center" valignment="top">
16515 <column alignment="center" valignment="top">
16516 <row>
16517 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16518 \begin_inset Text
16519
16520 \begin_layout Plain Layout
16521 a
16522 \end_layout
16523
16524 \end_inset
16525 </cell>
16526 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16527 \begin_inset Text
16528
16529 \begin_layout Plain Layout
16530 d
16531 \end_layout
16532
16533 \end_inset
16534 </cell>
16535 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16536 \begin_inset Text
16537
16538 \begin_layout Plain Layout
16539 g
16540 \end_layout
16541
16542 \end_inset
16543 </cell>
16544 </row>
16545 <row>
16546 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16547 \begin_inset Text
16548
16549 \begin_layout Plain Layout
16550 b
16551 \end_layout
16552
16553 \end_inset
16554 </cell>
16555 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16556 \begin_inset Text
16557
16558 \begin_layout Plain Layout
16559 e
16560 \end_layout
16561
16562 \end_inset
16563 </cell>
16564 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16565 \begin_inset Text
16566
16567 \begin_layout Plain Layout
16568 h
16569 \end_layout
16570
16571 \end_inset
16572 </cell>
16573 </row>
16574 <row>
16575 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16576 \begin_inset Text
16577
16578 \begin_layout Plain Layout
16579 c
16580 \end_layout
16581
16582 \end_inset
16583 </cell>
16584 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16585 \begin_inset Text
16586
16587 \begin_layout Plain Layout
16588 f
16589 \end_layout
16590
16591 \end_inset
16592 </cell>
16593 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16594 \begin_inset Text
16595
16596 \begin_layout Plain Layout
16597 i
16598 \end_layout
16599
16600 \end_inset
16601 </cell>
16602 </row>
16603 </lyxtabular>
16604
16605 \end_inset
16606
16607
16608 \end_layout
16609
16610 \end_inset
16611
16612  test 
16613 \begin_inset ERT
16614 status collapsed
16615
16616 \begin_layout Plain Layout
16617
16618
16619 \backslash
16620 raisebox{0.85
16621 \backslash
16622 baselineskip}{
16623 \end_layout
16624
16625 \end_inset
16626
16627
16628 \begin_inset Box Frameless
16629 position "t"
16630 hor_pos "c"
16631 has_inner_box 1
16632 inner_pos "c"
16633 use_parbox 0
16634 use_makebox 0
16635 width "15col%"
16636 special "none"
16637 height "1in"
16638 height_special "totalheight"
16639 thickness "0.4pt"
16640 separation "3pt"
16641 shadowsize "4pt"
16642 framecolor "black"
16643 backgroundcolor "none"
16644 status collapsed
16645
16646 \begin_layout Plain Layout
16647 \begin_inset Tabular
16648 <lyxtabular version="3" rows="3" columns="3">
16649 <features tabularvalignment="middle">
16650 <column alignment="center" valignment="top">
16651 <column alignment="center" valignment="top">
16652 <column alignment="center" valignment="top">
16653 <row>
16654 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16655 \begin_inset Text
16656
16657 \begin_layout Plain Layout
16658 a
16659 \end_layout
16660
16661 \end_inset
16662 </cell>
16663 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16664 \begin_inset Text
16665
16666 \begin_layout Plain Layout
16667 d
16668 \end_layout
16669
16670 \end_inset
16671 </cell>
16672 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16673 \begin_inset Text
16674
16675 \begin_layout Plain Layout
16676 g
16677 \end_layout
16678
16679 \end_inset
16680 </cell>
16681 </row>
16682 <row>
16683 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16684 \begin_inset Text
16685
16686 \begin_layout Plain Layout
16687 b
16688 \end_layout
16689
16690 \end_inset
16691 </cell>
16692 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16693 \begin_inset Text
16694
16695 \begin_layout Plain Layout
16696 e
16697 \end_layout
16698
16699 \end_inset
16700 </cell>
16701 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16702 \begin_inset Text
16703
16704 \begin_layout Plain Layout
16705 h
16706 \end_layout
16707
16708 \end_inset
16709 </cell>
16710 </row>
16711 <row>
16712 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16713 \begin_inset Text
16714
16715 \begin_layout Plain Layout
16716 c
16717 \end_layout
16718
16719 \end_inset
16720 </cell>
16721 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16722 \begin_inset Text
16723
16724 \begin_layout Plain Layout
16725 f
16726 \end_layout
16727
16728 \end_inset
16729 </cell>
16730 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16731 \begin_inset Text
16732
16733 \begin_layout Plain Layout
16734 i
16735 \end_layout
16736
16737 \end_inset
16738 </cell>
16739 </row>
16740 </lyxtabular>
16741
16742 \end_inset
16743
16744
16745 \end_layout
16746
16747 \end_inset
16748
16749
16750 \begin_inset ERT
16751 status collapsed
16752
16753 \begin_layout Plain Layout
16754
16755 }
16756 \end_layout
16757
16758 \end_inset
16759
16760
16761 \end_layout
16762
16763 \begin_layout Itemize
16764 test 
16765 \begin_inset Box Frameless
16766 position "c"
16767 hor_pos "c"
16768 has_inner_box 1
16769 inner_pos "c"
16770 use_parbox 0
16771 use_makebox 0
16772 width "15col%"
16773 special "none"
16774 height "1in"
16775 height_special "totalheight"
16776 thickness "0.4pt"
16777 separation "3pt"
16778 shadowsize "4pt"
16779 framecolor "black"
16780 backgroundcolor "none"
16781 status collapsed
16782
16783 \begin_layout Plain Layout
16784 \begin_inset Tabular
16785 <lyxtabular version="3" rows="3" columns="3">
16786 <features tabularvalignment="middle">
16787 <column alignment="center" valignment="top">
16788 <column alignment="center" valignment="top">
16789 <column alignment="center" valignment="top">
16790 <row>
16791 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16792 \begin_inset Text
16793
16794 \begin_layout Plain Layout
16795 a
16796 \end_layout
16797
16798 \end_inset
16799 </cell>
16800 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16801 \begin_inset Text
16802
16803 \begin_layout Plain Layout
16804 d
16805 \end_layout
16806
16807 \end_inset
16808 </cell>
16809 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16810 \begin_inset Text
16811
16812 \begin_layout Plain Layout
16813 g
16814 \end_layout
16815
16816 \end_inset
16817 </cell>
16818 </row>
16819 <row>
16820 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16821 \begin_inset Text
16822
16823 \begin_layout Plain Layout
16824 b
16825 \end_layout
16826
16827 \end_inset
16828 </cell>
16829 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16830 \begin_inset Text
16831
16832 \begin_layout Plain Layout
16833 e
16834 \end_layout
16835
16836 \end_inset
16837 </cell>
16838 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16839 \begin_inset Text
16840
16841 \begin_layout Plain Layout
16842 h
16843 \end_layout
16844
16845 \end_inset
16846 </cell>
16847 </row>
16848 <row>
16849 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16850 \begin_inset Text
16851
16852 \begin_layout Plain Layout
16853 c
16854 \end_layout
16855
16856 \end_inset
16857 </cell>
16858 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16859 \begin_inset Text
16860
16861 \begin_layout Plain Layout
16862 f
16863 \end_layout
16864
16865 \end_inset
16866 </cell>
16867 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16868 \begin_inset Text
16869
16870 \begin_layout Plain Layout
16871 i
16872 \end_layout
16873
16874 \end_inset
16875 </cell>
16876 </row>
16877 </lyxtabular>
16878
16879 \end_inset
16880
16881
16882 \end_layout
16883
16884 \end_inset
16885
16886
16887 \end_layout
16888
16889 \begin_layout Itemize
16890 test 
16891 \begin_inset Box Frameless
16892 position "b"
16893 hor_pos "c"
16894 has_inner_box 1
16895 inner_pos "c"
16896 use_parbox 0
16897 use_makebox 0
16898 width "15col%"
16899 special "none"
16900 height "1in"
16901 height_special "totalheight"
16902 thickness "0.4pt"
16903 separation "3pt"
16904 shadowsize "4pt"
16905 framecolor "black"
16906 backgroundcolor "none"
16907 status collapsed
16908
16909 \begin_layout Plain Layout
16910 \begin_inset Tabular
16911 <lyxtabular version="3" rows="3" columns="3">
16912 <features tabularvalignment="middle">
16913 <column alignment="center" valignment="top">
16914 <column alignment="center" valignment="top">
16915 <column alignment="center" valignment="top">
16916 <row>
16917 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16918 \begin_inset Text
16919
16920 \begin_layout Plain Layout
16921 a
16922 \end_layout
16923
16924 \end_inset
16925 </cell>
16926 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16927 \begin_inset Text
16928
16929 \begin_layout Plain Layout
16930 d
16931 \end_layout
16932
16933 \end_inset
16934 </cell>
16935 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16936 \begin_inset Text
16937
16938 \begin_layout Plain Layout
16939 g
16940 \end_layout
16941
16942 \end_inset
16943 </cell>
16944 </row>
16945 <row>
16946 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16947 \begin_inset Text
16948
16949 \begin_layout Plain Layout
16950 b
16951 \end_layout
16952
16953 \end_inset
16954 </cell>
16955 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16956 \begin_inset Text
16957
16958 \begin_layout Plain Layout
16959 e
16960 \end_layout
16961
16962 \end_inset
16963 </cell>
16964 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16965 \begin_inset Text
16966
16967 \begin_layout Plain Layout
16968 h
16969 \end_layout
16970
16971 \end_inset
16972 </cell>
16973 </row>
16974 <row>
16975 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16976 \begin_inset Text
16977
16978 \begin_layout Plain Layout
16979 c
16980 \end_layout
16981
16982 \end_inset
16983 </cell>
16984 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16985 \begin_inset Text
16986
16987 \begin_layout Plain Layout
16988 f
16989 \end_layout
16990
16991 \end_inset
16992 </cell>
16993 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16994 \begin_inset Text
16995
16996 \begin_layout Plain Layout
16997 i
16998 \end_layout
16999
17000 \end_inset
17001 </cell>
17002 </row>
17003 </lyxtabular>
17004
17005 \end_inset
17006
17007
17008 \end_layout
17009
17010 \end_inset
17011
17012  test 
17013 \begin_inset ERT
17014 status collapsed
17015
17016 \begin_layout Plain Layout
17017
17018
17019 \backslash
17020 raisebox{-0.32
17021 \backslash
17022 baselineskip}{
17023 \end_layout
17024
17025 \end_inset
17026
17027
17028 \begin_inset Box Frameless
17029 position "b"
17030 hor_pos "c"
17031 has_inner_box 1
17032 inner_pos "c"
17033 use_parbox 0
17034 use_makebox 0
17035 width "15col%"
17036 special "none"
17037 height "1in"
17038 height_special "totalheight"
17039 thickness "0.4pt"
17040 separation "3pt"
17041 shadowsize "4pt"
17042 framecolor "black"
17043 backgroundcolor "none"
17044 status collapsed
17045
17046 \begin_layout Plain Layout
17047 \begin_inset Tabular
17048 <lyxtabular version="3" rows="3" columns="3">
17049 <features tabularvalignment="middle">
17050 <column alignment="center" valignment="top">
17051 <column alignment="center" valignment="top">
17052 <column alignment="center" valignment="top">
17053 <row>
17054 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17055 \begin_inset Text
17056
17057 \begin_layout Plain Layout
17058 a
17059 \end_layout
17060
17061 \end_inset
17062 </cell>
17063 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17064 \begin_inset Text
17065
17066 \begin_layout Plain Layout
17067 d
17068 \end_layout
17069
17070 \end_inset
17071 </cell>
17072 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17073 \begin_inset Text
17074
17075 \begin_layout Plain Layout
17076 g
17077 \end_layout
17078
17079 \end_inset
17080 </cell>
17081 </row>
17082 <row>
17083 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17084 \begin_inset Text
17085
17086 \begin_layout Plain Layout
17087 b
17088 \end_layout
17089
17090 \end_inset
17091 </cell>
17092 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17093 \begin_inset Text
17094
17095 \begin_layout Plain Layout
17096 e
17097 \end_layout
17098
17099 \end_inset
17100 </cell>
17101 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17102 \begin_inset Text
17103
17104 \begin_layout Plain Layout
17105 h
17106 \end_layout
17107
17108 \end_inset
17109 </cell>
17110 </row>
17111 <row>
17112 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17113 \begin_inset Text
17114
17115 \begin_layout Plain Layout
17116 c
17117 \end_layout
17118
17119 \end_inset
17120 </cell>
17121 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17122 \begin_inset Text
17123
17124 \begin_layout Plain Layout
17125 f
17126 \end_layout
17127
17128 \end_inset
17129 </cell>
17130 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17131 \begin_inset Text
17132
17133 \begin_layout Plain Layout
17134 i
17135 \end_layout
17136
17137 \end_inset
17138 </cell>
17139 </row>
17140 </lyxtabular>
17141
17142 \end_inset
17143
17144
17145 \end_layout
17146
17147 \end_inset
17148
17149
17150 \begin_inset ERT
17151 status collapsed
17152
17153 \begin_layout Plain Layout
17154
17155 }
17156 \end_layout
17157
17158 \end_inset
17159
17160
17161 \end_layout
17162
17163 \begin_layout Standard
17164 As you will see, the content of the first and last table row is not correctly
17165  aligned.
17166  To get this alignment, the minipage box must be set into a raisebox.
17167 \begin_inset Foot
17168 status collapsed
17169
17170 \begin_layout Plain Layout
17171 Raiseboxes are described in section
17172 \begin_inset space ~
17173 \end_inset
17174
17175
17176 \begin_inset CommandInset ref
17177 LatexCommand ref
17178 reference "subsec:Vertical-Alignment"
17179
17180 \end_inset
17181
17182 .
17183 \end_layout
17184
17185 \end_inset
17186
17187  In the example above the second table in the first item is aligned using
17188  the \SpecialChar TeX
17189  Code command
17190 \end_layout
17191
17192 \begin_layout Standard
17193
17194 \series bold
17195
17196 \backslash
17197 raisebox{0.85
17198 \backslash
17199 baselineskip}{
17200 \end_layout
17201
17202 \begin_layout Standard
17203 before the box.
17204  After the box the closing brace 
17205 \series bold
17206 }
17207 \series default
17208  is inserted as \SpecialChar TeX
17209  Code.
17210  For the second table in the last item the command
17211 \end_layout
17212
17213 \begin_layout Standard
17214
17215 \series bold
17216
17217 \backslash
17218 raisebox{-0.32
17219 \backslash
17220 baselineskip}{
17221 \end_layout
17222
17223 \begin_layout Standard
17224 is used.
17225 \end_layout
17226
17227 \begin_layout Standard
17228 \begin_inset Note Greyedout
17229 status open
17230
17231 \begin_layout Plain Layout
17232
17233 \series bold
17234 Note:
17235 \series default
17236  The alignment of the table row content to the surrounding text line is
17237  not exact.
17238  The required value for the 
17239 \series bold
17240
17241 \backslash
17242 raisebox
17243 \series default
17244  command for this alignment depends on the document font, the font size,
17245  and the table line thickness.
17246 \end_layout
17247
17248 \end_inset
17249
17250
17251 \end_layout
17252
17253 \begin_layout Section
17254 Colored Tables
17255 \begin_inset CommandInset label
17256 LatexCommand label
17257 name "sec:Colored-Tables"
17258
17259 \end_inset
17260
17261
17262 \begin_inset Index idx
17263 status collapsed
17264
17265 \begin_layout Plain Layout
17266 Table ! Color
17267 \end_layout
17268
17269 \end_inset
17270
17271
17272 \end_layout
17273
17274 \begin_layout Subsection
17275 Colored Cells
17276 \begin_inset Index idx
17277 status collapsed
17278
17279 \begin_layout Plain Layout
17280 Table Color ! for Cells
17281 \end_layout
17282
17283 \end_inset
17284
17285
17286 \begin_inset Index idx
17287 status collapsed
17288
17289 \begin_layout Plain Layout
17290 Color ! for Table Cells
17291 \end_layout
17292
17293 \end_inset
17294
17295
17296 \end_layout
17297
17298 \begin_layout Standard
17299 \begin_inset Float table
17300 placement h
17301 alignment document
17302 wide false
17303 sideways false
17304 status open
17305
17306 \begin_layout Plain Layout
17307 \begin_inset Caption Standard
17308
17309 \begin_layout Plain Layout
17310 \begin_inset CommandInset label
17311 LatexCommand label
17312 name "tab:Table-colored-without"
17313
17314 \end_inset
17315
17316 Table colored without using the package 
17317 \series bold
17318 colortbl
17319 \series default
17320
17321 \begin_inset Argument 1
17322 status collapsed
17323
17324 \begin_layout Plain Layout
17325 Table without colortbl
17326 \end_layout
17327
17328 \end_inset
17329
17330
17331 \end_layout
17332
17333 \end_inset
17334
17335
17336 \end_layout
17337
17338 \begin_layout Plain Layout
17339 \align center
17340 \begin_inset Tabular
17341 <lyxtabular version="3" rows="3" columns="3">
17342 <features tabularvalignment="middle">
17343 <column alignment="center" valignment="top">
17344 <column alignment="center" valignment="top">
17345 <column alignment="center" valignment="top">
17346 <row>
17347 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17348 \begin_inset Text
17349
17350 \begin_layout Plain Layout
17351
17352 \color green
17353 a
17354 \end_layout
17355
17356 \end_inset
17357 </cell>
17358 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17359 \begin_inset Text
17360
17361 \begin_layout Plain Layout
17362
17363 \color red
17364 b
17365 \end_layout
17366
17367 \end_inset
17368 </cell>
17369 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17370 \begin_inset Text
17371
17372 \begin_layout Plain Layout
17373
17374 \color red
17375 c
17376 \end_layout
17377
17378 \end_inset
17379 </cell>
17380 </row>
17381 <row>
17382 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17383 \begin_inset Text
17384
17385 \begin_layout Plain Layout
17386
17387 \color green
17388 d
17389 \end_layout
17390
17391 \end_inset
17392 </cell>
17393 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17394 \begin_inset Text
17395
17396 \begin_layout Plain Layout
17397
17398 \color blue
17399 e
17400 \end_layout
17401
17402 \end_inset
17403 </cell>
17404 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17405 \begin_inset Text
17406
17407 \begin_layout Plain Layout
17408
17409 \color blue
17410 f
17411 \end_layout
17412
17413 \end_inset
17414 </cell>
17415 </row>
17416 <row>
17417 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17418 \begin_inset Text
17419
17420 \begin_layout Plain Layout
17421
17422 \color green
17423 g
17424 \end_layout
17425
17426 \end_inset
17427 </cell>
17428 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17429 \begin_inset Text
17430
17431 \begin_layout Plain Layout
17432
17433 \color blue
17434 h
17435 \end_layout
17436
17437 \end_inset
17438 </cell>
17439 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17440 \begin_inset Text
17441
17442 \begin_layout Plain Layout
17443
17444 \color blue
17445 i
17446 \end_layout
17447
17448 \end_inset
17449 </cell>
17450 </row>
17451 </lyxtabular>
17452
17453 \end_inset
17454
17455
17456 \end_layout
17457
17458 \end_inset
17459
17460
17461 \end_layout
17462
17463 \begin_layout Standard
17464 If you only need colored text, mark the cells and choose a color in the
17465  
17466 \family sans
17467 Text
17468 \begin_inset space ~
17469 \end_inset
17470
17471 Style
17472 \family default
17473  dialog (toolbar button 
17474 \begin_inset Info
17475 type  "icon"
17476 arg   "dialog-show character"
17477 \end_inset
17478
17479 ).
17480  This was used to create Table
17481 \begin_inset space ~
17482 \end_inset
17483
17484
17485 \begin_inset CommandInset ref
17486 LatexCommand ref
17487 reference "tab:Table-colored-without"
17488
17489 \end_inset
17490
17491 .
17492  In any other case you have to use the \SpecialChar LaTeX
17493 -package 
17494 \series bold
17495 colortbl
17496 \series default
17497 .
17498 \begin_inset Index idx
17499 status collapsed
17500
17501 \begin_layout Plain Layout
17502 \SpecialChar LaTeX
17503 -packages ! colortbl
17504 \end_layout
17505
17506 \end_inset
17507
17508
17509 \end_layout
17510
17511 \begin_layout Standard
17512 \begin_inset ERT
17513 status collapsed
17514
17515 \begin_layout Plain Layout
17516
17517
17518 \backslash
17519 ifcolortbl
17520 \end_layout
17521
17522 \end_inset
17523
17524
17525 \begin_inset Note Note
17526 status open
17527
17528 \begin_layout Plain Layout
17529 The following section part will only be displayed when the \SpecialChar LaTeX
17530 -package 
17531 \series bold
17532 colortbl
17533 \series default
17534  is installed.
17535 \end_layout
17536
17537 \end_inset
17538
17539
17540 \end_layout
17541
17542 \begin_layout Standard
17543 To create colored tables, 
17544 \series bold
17545 colortbl
17546 \series default
17547  must be loaded in the preamble with the line
17548 \end_layout
17549
17550 \begin_layout Standard
17551
17552 \series bold
17553
17554 \backslash
17555 usepackage{colortbl}
17556 \end_layout
17557
17558 \begin_layout Standard
17559 The color of a column is adjusted with the command
17560 \end_layout
17561
17562 \begin_layout Standard
17563
17564 \series bold
17565
17566 \backslash
17567 columncolor{name of color}
17568 \end_layout
17569
17570 \begin_layout Standard
17571 inside the command 
17572 \series bold
17573 >{ }
17574 \series default
17575 .
17576  More about the command 
17577 \series bold
17578 >{}
17579 \series default
17580  is contained in section
17581 \begin_inset space ~
17582 \end_inset
17583
17584
17585 \begin_inset CommandInset ref
17586 LatexCommand ref
17587 reference "subsec:Multicolumn-Calculations"
17588
17589 \end_inset
17590
17591 .
17592 \end_layout
17593
17594 \begin_layout Standard
17595 The following color names are predefined:
17596 \end_layout
17597
17598 \begin_layout Standard
17599
17600 \family sans
17601 red
17602 \family default
17603
17604 \family sans
17605 green
17606 \family default
17607
17608 \family sans
17609 yellow
17610 \family default
17611
17612 \family sans
17613 blue
17614 \family default
17615
17616 \family sans
17617 cyan
17618 \family default
17619
17620 \family sans
17621 magenta
17622 \family default
17623
17624 \family sans
17625 black
17626 \family default
17627  and 
17628 \family sans
17629 white
17630 \end_layout
17631
17632 \begin_layout Standard
17633 \begin_inset VSpace medskip
17634 \end_inset
17635
17636
17637 \end_layout
17638
17639 \begin_layout Standard
17640 If you add the option
17641 \end_layout
17642
17643 \begin_layout Standard
17644
17645 \series bold
17646 dvipsnames
17647 \end_layout
17648
17649 \begin_layout Standard
17650 to the document class options in the document settings, you can additionally
17651  use further 61
17652 \begin_inset space ~
17653 \end_inset
17654
17655 colors.
17656  These colors are listed in appendix
17657 \begin_inset space ~
17658 \end_inset
17659
17660
17661 \begin_inset CommandInset ref
17662 LatexCommand ref
17663 reference "chap:List-of-dvips-colornames"
17664
17665 \end_inset
17666
17667 .
17668  One of these colors, 
17669 \family sans
17670 Maroon
17671 \family default
17672 , is used as example in Table
17673 \begin_inset space ~
17674 \end_inset
17675
17676
17677 \begin_inset CommandInset ref
17678 LatexCommand ref
17679 reference "tab:Table-colored-using"
17680
17681 \end_inset
17682
17683 .
17684 \end_layout
17685
17686 \begin_layout Standard
17687 \begin_inset VSpace medskip
17688 \end_inset
17689
17690
17691 \end_layout
17692
17693 \begin_layout Standard
17694 You can also define your own color with the command
17695 \end_layout
17696
17697 \begin_layout Standard
17698
17699 \series bold
17700
17701 \backslash
17702 definecolor{color name}{color model}{color values}
17703 \end_layout
17704
17705 \begin_layout Standard
17706 The color model can be
17707 \end_layout
17708
17709 \begin_layout Labeling
17710 \labelwidthstring 00.00.0000
17711 cmyk: cyan, magenta, yellow, black
17712 \end_layout
17713
17714 \begin_layout Labeling
17715 \labelwidthstring 00.00.0000
17716 rgb: red, green blue
17717 \end_layout
17718
17719 \begin_layout Labeling
17720 \labelwidthstring 00.00.0000
17721 gray gray
17722 \end_layout
17723
17724 \begin_layout Standard
17725 and the color values are comma separated numbers between 0 and 1 describing
17726  the factor for the corresponding color of the color model.
17727 \end_layout
17728
17729 \begin_layout Standard
17730 You can e.
17731 \begin_inset space \thinspace{}
17732 \end_inset
17733
17734 g.
17735 \begin_inset space \space{}
17736 \end_inset
17737
17738 define the color "
17739 \emph on
17740 darkgreen
17741 \emph default
17742 " in the preamble with
17743 \end_layout
17744
17745 \begin_layout Standard
17746
17747 \series bold
17748
17749 \backslash
17750 definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
17751 \end_layout
17752
17753 \begin_layout Standard
17754 and the color "
17755 \emph on
17756 lightgray
17757 \emph default
17758 " with
17759 \end_layout
17760
17761 \begin_layout Standard
17762
17763 \series bold
17764
17765 \backslash
17766 definecolor{lightgray}{gray}{0.8}
17767 \end_layout
17768
17769 \begin_layout Standard
17770 \begin_inset VSpace medskip
17771 \end_inset
17772
17773
17774 \end_layout
17775
17776 \begin_layout Standard
17777 Lines are colored with the command
17778 \end_layout
17779
17780 \begin_layout Standard
17781
17782 \series bold
17783
17784 \backslash
17785 rowcolor{name of color}
17786 \end_layout
17787
17788 \begin_layout Standard
17789 and cells are colored with the command
17790 \end_layout
17791
17792 \begin_layout Standard
17793
17794 \series bold
17795
17796 \backslash
17797 cellcolor{name of color}
17798 \end_layout
17799
17800 \begin_layout Standard
17801 Both commands are inserted at the beginning of a cell as \SpecialChar TeX
17802  Code.
17803 \end_layout
17804
17805 \begin_layout Standard
17806 To color characters in the table, mark the cells and use the 
17807 \family sans
17808 Text
17809 \begin_inset space ~
17810 \end_inset
17811
17812 Style
17813 \family default
17814  dialog.
17815  If a cell contains \SpecialChar TeX
17816  Code mark only the characters, otherwise the colored
17817  \SpecialChar TeX
17818  Code will cause \SpecialChar LaTeX
17819  errors.
17820 \end_layout
17821
17822 \begin_layout Standard
17823 \begin_inset Note Greyedout
17824 status open
17825
17826 \begin_layout Plain Layout
17827
17828 \series bold
17829 Note:
17830 \series default
17831  Not all DVI-viewers are able to display self-defined colors.
17832 \end_layout
17833
17834 \end_inset
17835
17836
17837 \end_layout
17838
17839 \begin_layout Standard
17840 \begin_inset VSpace bigskip
17841 \end_inset
17842
17843
17844 \end_layout
17845
17846 \begin_layout Standard
17847 To create Table
17848 \begin_inset space ~
17849 \end_inset
17850
17851
17852 \begin_inset CommandInset ref
17853 LatexCommand ref
17854 reference "tab:Table-colored-using"
17855
17856 \end_inset
17857
17858  do the following: The color of the first column should be 
17859 \emph on
17860 darkgreen
17861 \emph default
17862 .
17863  So insert
17864 \end_layout
17865
17866 \begin_layout Standard
17867
17868 \series bold
17869 >{
17870 \backslash
17871 columncolor{darkgreen}
17872 \backslash
17873 centering}c
17874 \end_layout
17875
17876 \begin_layout Standard
17877 as \SpecialChar LaTeX
17878 -argument for this column.
17879  The first row should be light blue, therefore the \SpecialChar TeX
17880  Code command
17881 \end_layout
17882
17883 \begin_layout Standard
17884
17885 \series bold
17886
17887 \backslash
17888 rowcolor{cyan}
17889 \end_layout
17890
17891 \begin_layout Standard
17892 is inserted to the first cell of this row.
17893  Note that this overwrites the column color for the first cell.
17894  The last cell of the last row is colored maroon by inserting the \SpecialChar TeX
17895  Code
17896  command
17897 \end_layout
17898
17899 \begin_layout Standard
17900
17901 \series bold
17902
17903 \backslash
17904 cellcolor{Maroon}
17905 \end_layout
17906
17907 \begin_layout Standard
17908 The characters could now be colored using the menu 
17909 \family sans
17910 Edit\SpecialChar menuseparator
17911 Text
17912 \begin_inset space ~
17913 \end_inset
17914
17915 Style
17916 \family default
17917 .
17918 \end_layout
17919
17920 \begin_layout Standard
17921 \begin_inset Float table
17922 placement h
17923 alignment document
17924 wide false
17925 sideways false
17926 status open
17927
17928 \begin_layout Plain Layout
17929 \begin_inset Caption Standard
17930
17931 \begin_layout Plain Layout
17932 \begin_inset CommandInset label
17933 LatexCommand label
17934 name "tab:Table-colored-using"
17935
17936 \end_inset
17937
17938 Table colored using the package 
17939 \series bold
17940 colortbl
17941 \series default
17942
17943 \begin_inset Argument 1
17944 status collapsed
17945
17946 \begin_layout Plain Layout
17947 Table with colortbl
17948 \end_layout
17949
17950 \end_inset
17951
17952
17953 \end_layout
17954
17955 \end_inset
17956
17957
17958 \end_layout
17959
17960 \begin_layout Plain Layout
17961 \align center
17962 \begin_inset Tabular
17963 <lyxtabular version="3" rows="3" columns="3">
17964 <features tabularvalignment="middle">
17965 <column alignment="center" valignment="top" special=">{\columncolor{darkgreen}\centering}c">
17966 <column alignment="center" valignment="top">
17967 <column alignment="center" valignment="top">
17968 <row>
17969 <cell alignment="center" valignment="top" usebox="none">
17970 \begin_inset Text
17971
17972 \begin_layout Plain Layout
17973 \begin_inset ERT
17974 status collapsed
17975
17976 \begin_layout Plain Layout
17977
17978
17979 \backslash
17980 rowcolor{cyan}
17981 \end_layout
17982
17983 \end_inset
17984
17985
17986 \color magenta
17987 a
17988 \end_layout
17989
17990 \end_inset
17991 </cell>
17992 <cell alignment="center" valignment="top" usebox="none">
17993 \begin_inset Text
17994
17995 \begin_layout Plain Layout
17996
17997 \color red
17998 b
17999 \end_layout
18000
18001 \end_inset
18002 </cell>
18003 <cell alignment="center" valignment="top" usebox="none">
18004 \begin_inset Text
18005
18006 \begin_layout Plain Layout
18007
18008 \color red
18009 c
18010 \end_layout
18011
18012 \end_inset
18013 </cell>
18014 </row>
18015 <row>
18016 <cell alignment="center" valignment="top" usebox="none">
18017 \begin_inset Text
18018
18019 \begin_layout Plain Layout
18020
18021 \color yellow
18022 d
18023 \end_layout
18024
18025 \end_inset
18026 </cell>
18027 <cell alignment="center" valignment="top" usebox="none">
18028 \begin_inset Text
18029
18030 \begin_layout Plain Layout
18031
18032 \color blue
18033 e
18034 \end_layout
18035
18036 \end_inset
18037 </cell>
18038 <cell alignment="center" valignment="top" usebox="none">
18039 \begin_inset Text
18040
18041 \begin_layout Plain Layout
18042
18043 \color blue
18044 f
18045 \end_layout
18046
18047 \end_inset
18048 </cell>
18049 </row>
18050 <row>
18051 <cell alignment="center" valignment="top" usebox="none">
18052 \begin_inset Text
18053
18054 \begin_layout Plain Layout
18055
18056 \color yellow
18057 g
18058 \end_layout
18059
18060 \end_inset
18061 </cell>
18062 <cell alignment="center" valignment="top" usebox="none">
18063 \begin_inset Text
18064
18065 \begin_layout Plain Layout
18066
18067 \color blue
18068 h
18069 \end_layout
18070
18071 \end_inset
18072 </cell>
18073 <cell alignment="center" valignment="top" usebox="none">
18074 \begin_inset Text
18075
18076 \begin_layout Plain Layout
18077 \begin_inset ERT
18078 status collapsed
18079
18080 \begin_layout Plain Layout
18081
18082
18083 \backslash
18084 cellcolor{Maroon}
18085 \end_layout
18086
18087 \end_inset
18088
18089
18090 \color green
18091 i
18092 \end_layout
18093
18094 \end_inset
18095 </cell>
18096 </row>
18097 </lyxtabular>
18098
18099 \end_inset
18100
18101
18102 \end_layout
18103
18104 \end_inset
18105
18106
18107 \end_layout
18108
18109 \begin_layout Standard
18110 \begin_inset ERT
18111 status collapsed
18112
18113 \begin_layout Plain Layout
18114
18115
18116 \backslash
18117 else
18118 \end_layout
18119
18120 \end_inset
18121
18122
18123 \begin_inset Note Note
18124 status open
18125
18126 \begin_layout Plain Layout
18127 The following will be displayed when the \SpecialChar LaTeX
18128 -package 
18129 \series bold
18130 colortbl
18131 \series default
18132  is not installed:
18133 \end_layout
18134
18135 \end_inset
18136
18137
18138 \end_layout
18139
18140 \begin_layout Standard
18141 You need to install the package 
18142 \series bold
18143 colortbl
18144 \series default
18145  to see the content of this section in the output.
18146 \end_layout
18147
18148 \begin_layout Standard
18149 \begin_inset ERT
18150 status collapsed
18151
18152 \begin_layout Plain Layout
18153
18154
18155 \backslash
18156 fi
18157 \end_layout
18158
18159 \end_inset
18160
18161
18162 \end_layout
18163
18164 \begin_layout Subsection
18165 Colored Rows
18166 \begin_inset Index idx
18167 status collapsed
18168
18169 \begin_layout Plain Layout
18170 Table Color ! for Rows
18171 \end_layout
18172
18173 \end_inset
18174
18175
18176 \begin_inset Index idx
18177 status collapsed
18178
18179 \begin_layout Plain Layout
18180 Color ! for Table Rows
18181 \end_layout
18182
18183 \end_inset
18184
18185
18186 \end_layout
18187
18188 \begin_layout Standard
18189 In case every second table row needs to be colored there is an alternative
18190  to the method described in the previous section: One loads the package
18191  
18192 \series bold
18193 xcolor
18194 \series default
18195
18196 \begin_inset Index idx
18197 status collapsed
18198
18199 \begin_layout Plain Layout
18200 \SpecialChar LaTeX
18201 -packages ! xcolor
18202 \begin_inset ERT
18203 status collapsed
18204
18205 \begin_layout Plain Layout
18206
18207
18208 \backslash
18209 vspace{4mm}
18210 \end_layout
18211
18212 \end_inset
18213
18214
18215 \end_layout
18216
18217 \end_inset
18218
18219  in the document preamble with the command
18220 \end_layout
18221
18222 \begin_layout Standard
18223
18224 \series bold
18225
18226 \backslash
18227 usepackage[table]{xcolor}
18228 \end_layout
18229
18230 \begin_layout Standard
18231
18232 \series bold
18233 xcolor
18234 \series default
18235  automatically loads also the package 
18236 \series bold
18237 colortbl
18238 \series default
18239
18240 \begin_inset Index idx
18241 status collapsed
18242
18243 \begin_layout Plain Layout
18244 \SpecialChar LaTeX
18245 -packages ! colortbl
18246 \end_layout
18247
18248 \end_inset
18249
18250 , so 
18251 \series bold
18252 colortbl
18253 \series default
18254  must be installed in your \SpecialChar LaTeX
18255 -distribution, otherwise you get \SpecialChar LaTeX
18256 -errors.
18257 \end_layout
18258
18259 \begin_layout Standard
18260 \begin_inset ERT
18261 status collapsed
18262
18263 \begin_layout Plain Layout
18264
18265
18266 \backslash
18267 ifcolortbl
18268 \end_layout
18269
18270 \end_inset
18271
18272
18273 \begin_inset Note Note
18274 status open
18275
18276 \begin_layout Plain Layout
18277 The following section part will only be displayed when the \SpecialChar LaTeX
18278 -package 
18279 \series bold
18280 colortbl
18281 \series default
18282  is installed.
18283 \end_layout
18284
18285 \end_inset
18286
18287
18288 \end_layout
18289
18290 \begin_layout Standard
18291 The table rows are colored with the command
18292 \end_layout
18293
18294 \begin_layout Standard
18295
18296 \series bold
18297
18298 \backslash
18299 rowcolors[commands]{row number}{odd row color}{even row color}
18300 \end_layout
18301
18302 \begin_layout Standard
18303 that is either inserted in the document preamble or as \SpecialChar TeX
18304  Code before the
18305  first table to be colored.
18306  row
18307 \begin_inset space ~
18308 \end_inset
18309
18310 number is the number of the first row which should be colored according
18311  to the odd row color.
18312  commands can be additional commands that are executed before every table
18313  row.
18314  So for example the command
18315 \end_layout
18316
18317 \begin_layout Standard
18318
18319 \series bold
18320
18321 \backslash
18322 rowcolors{1}{white}{lightgray}
18323 \end_layout
18324
18325 \begin_layout Standard
18326 leads to the coloring scheme of Table
18327 \begin_inset space ~
18328 \end_inset
18329
18330
18331 \begin_inset CommandInset ref
18332 LatexCommand ref
18333 reference "tab:Table-rowcolors"
18334
18335 \end_inset
18336
18337 .
18338  The command
18339 \end_layout
18340
18341 \begin_layout Standard
18342
18343 \series bold
18344
18345 \backslash
18346 rowcolors[
18347 \backslash
18348 hline]{1}{lightgray}{cyan}
18349 \end_layout
18350
18351 \begin_layout Standard
18352 leads to the coloring scheme of Table
18353 \begin_inset space ~
18354 \end_inset
18355
18356
18357 \begin_inset CommandInset ref
18358 LatexCommand ref
18359 reference "tab:Table-rowcolors-2"
18360
18361 \end_inset
18362
18363 .
18364  If odd
18365 \begin_inset space ~
18366 \end_inset
18367
18368 row
18369 \begin_inset space ~
18370 \end_inset
18371
18372 color and/or even
18373 \begin_inset space ~
18374 \end_inset
18375
18376 row
18377 \begin_inset space ~
18378 \end_inset
18379
18380 color are left empty, no color will be used so that the command
18381 \end_layout
18382
18383 \begin_layout Standard
18384
18385 \series bold
18386
18387 \backslash
18388 rowcolors{1}{}{}
18389 \end_layout
18390
18391 \begin_layout Standard
18392 deletes all colors.
18393  
18394 \series bold
18395
18396 \backslash
18397 rowcolors
18398 \series default
18399  affects all tables following that command.
18400 \end_layout
18401
18402 \begin_layout Standard
18403 \begin_inset ERT
18404 status open
18405
18406 \begin_layout Plain Layout
18407
18408
18409 \backslash
18410 rowcolors{1}{white}{lightgray}
18411 \end_layout
18412
18413 \end_inset
18414
18415
18416 \end_layout
18417
18418 \begin_layout Standard
18419 \begin_inset Float table
18420 placement h
18421 alignment document
18422 wide false
18423 sideways false
18424 status open
18425
18426 \begin_layout Plain Layout
18427 \begin_inset Caption Standard
18428
18429 \begin_layout Plain Layout
18430 \begin_inset CommandInset label
18431 LatexCommand label
18432 name "tab:Table-rowcolors"
18433
18434 \end_inset
18435
18436 Table where every second row is colored light gray.
18437 \end_layout
18438
18439 \end_inset
18440
18441
18442 \end_layout
18443
18444 \begin_layout Plain Layout
18445 \align center
18446 \begin_inset Tabular
18447 <lyxtabular version="3" rows="4" columns="3">
18448 <features tabularvalignment="middle">
18449 <column alignment="center" valignment="top">
18450 <column alignment="center" valignment="top" width="0pt">
18451 <column alignment="center" valignment="top" width="0pt">
18452 <row>
18453 <cell alignment="center" valignment="top" usebox="none">
18454 \begin_inset Text
18455
18456 \begin_layout Plain Layout
18457 X
18458 \end_layout
18459
18460 \end_inset
18461 </cell>
18462 <cell alignment="center" valignment="top" usebox="none">
18463 \begin_inset Text
18464
18465 \begin_layout Plain Layout
18466 Y
18467 \end_layout
18468
18469 \end_inset
18470 </cell>
18471 <cell alignment="center" valignment="top" usebox="none">
18472 \begin_inset Text
18473
18474 \begin_layout Plain Layout
18475 Z
18476 \end_layout
18477
18478 \end_inset
18479 </cell>
18480 </row>
18481 <row>
18482 <cell alignment="center" valignment="top" usebox="none">
18483 \begin_inset Text
18484
18485 \begin_layout Plain Layout
18486 1
18487 \end_layout
18488
18489 \end_inset
18490 </cell>
18491 <cell alignment="center" valignment="top" usebox="none">
18492 \begin_inset Text
18493
18494 \begin_layout Plain Layout
18495 2
18496 \end_layout
18497
18498 \end_inset
18499 </cell>
18500 <cell alignment="center" valignment="top" usebox="none">
18501 \begin_inset Text
18502
18503 \begin_layout Plain Layout
18504 3
18505 \end_layout
18506
18507 \end_inset
18508 </cell>
18509 </row>
18510 <row>
18511 <cell alignment="center" valignment="top" usebox="none">
18512 \begin_inset Text
18513
18514 \begin_layout Plain Layout
18515 4
18516 \end_layout
18517
18518 \end_inset
18519 </cell>
18520 <cell alignment="center" valignment="top" usebox="none">
18521 \begin_inset Text
18522
18523 \begin_layout Plain Layout
18524 5
18525 \end_layout
18526
18527 \end_inset
18528 </cell>
18529 <cell alignment="center" valignment="top" usebox="none">
18530 \begin_inset Text
18531
18532 \begin_layout Plain Layout
18533 6
18534 \end_layout
18535
18536 \end_inset
18537 </cell>
18538 </row>
18539 <row>
18540 <cell alignment="center" valignment="top" usebox="none">
18541 \begin_inset Text
18542
18543 \begin_layout Plain Layout
18544 7
18545 \end_layout
18546
18547 \end_inset
18548 </cell>
18549 <cell alignment="center" valignment="top" usebox="none">
18550 \begin_inset Text
18551
18552 \begin_layout Plain Layout
18553 8
18554 \end_layout
18555
18556 \end_inset
18557 </cell>
18558 <cell alignment="center" valignment="top" usebox="none">
18559 \begin_inset Text
18560
18561 \begin_layout Plain Layout
18562 9
18563 \end_layout
18564
18565 \end_inset
18566 </cell>
18567 </row>
18568 </lyxtabular>
18569
18570 \end_inset
18571
18572
18573 \end_layout
18574
18575 \end_inset
18576
18577
18578 \end_layout
18579
18580 \begin_layout Standard
18581 \begin_inset ERT
18582 status open
18583
18584 \begin_layout Plain Layout
18585
18586
18587 \backslash
18588 rowcolors[
18589 \backslash
18590 hline]{1}{lightgray}{cyan}
18591 \end_layout
18592
18593 \end_inset
18594
18595
18596 \end_layout
18597
18598 \begin_layout Standard
18599 \begin_inset Float table
18600 placement h
18601 alignment document
18602 wide false
18603 sideways false
18604 status open
18605
18606 \begin_layout Plain Layout
18607 \begin_inset Caption Standard
18608
18609 \begin_layout Plain Layout
18610 \begin_inset CommandInset label
18611 LatexCommand label
18612 name "tab:Table-rowcolors-2"
18613
18614 \end_inset
18615
18616 Table where every second row is colored cyan and at which there is a line
18617  between each row.
18618 \end_layout
18619
18620 \end_inset
18621
18622
18623 \end_layout
18624
18625 \begin_layout Plain Layout
18626 \align center
18627 \begin_inset Tabular
18628 <lyxtabular version="3" rows="4" columns="3">
18629 <features tabularvalignment="middle">
18630 <column alignment="center" valignment="top">
18631 <column alignment="center" valignment="top">
18632 <column alignment="center" valignment="top" width="0pt">
18633 <row>
18634 <cell alignment="center" valignment="top" usebox="none">
18635 \begin_inset Text
18636
18637 \begin_layout Plain Layout
18638 X
18639 \end_layout
18640
18641 \end_inset
18642 </cell>
18643 <cell alignment="center" valignment="top" usebox="none">
18644 \begin_inset Text
18645
18646 \begin_layout Plain Layout
18647 Y
18648 \end_layout
18649
18650 \end_inset
18651 </cell>
18652 <cell alignment="center" valignment="top" usebox="none">
18653 \begin_inset Text
18654
18655 \begin_layout Plain Layout
18656 Z
18657 \end_layout
18658
18659 \end_inset
18660 </cell>
18661 </row>
18662 <row>
18663 <cell alignment="center" valignment="top" usebox="none">
18664 \begin_inset Text
18665
18666 \begin_layout Plain Layout
18667 1
18668 \end_layout
18669
18670 \end_inset
18671 </cell>
18672 <cell alignment="center" valignment="top" usebox="none">
18673 \begin_inset Text
18674
18675 \begin_layout Plain Layout
18676 2
18677 \end_layout
18678
18679 \end_inset
18680 </cell>
18681 <cell alignment="center" valignment="top" usebox="none">
18682 \begin_inset Text
18683
18684 \begin_layout Plain Layout
18685 3
18686 \end_layout
18687
18688 \end_inset
18689 </cell>
18690 </row>
18691 <row>
18692 <cell alignment="center" valignment="top" usebox="none">
18693 \begin_inset Text
18694
18695 \begin_layout Plain Layout
18696 4
18697 \end_layout
18698
18699 \end_inset
18700 </cell>
18701 <cell alignment="center" valignment="top" usebox="none">
18702 \begin_inset Text
18703
18704 \begin_layout Plain Layout
18705 5
18706 \end_layout
18707
18708 \end_inset
18709 </cell>
18710 <cell alignment="center" valignment="top" usebox="none">
18711 \begin_inset Text
18712
18713 \begin_layout Plain Layout
18714 6
18715 \end_layout
18716
18717 \end_inset
18718 </cell>
18719 </row>
18720 <row>
18721 <cell alignment="center" valignment="top" usebox="none">
18722 \begin_inset Text
18723
18724 \begin_layout Plain Layout
18725 7
18726 \end_layout
18727
18728 \end_inset
18729 </cell>
18730 <cell alignment="center" valignment="top" usebox="none">
18731 \begin_inset Text
18732
18733 \begin_layout Plain Layout
18734 8
18735 \end_layout
18736
18737 \end_inset
18738 </cell>
18739 <cell alignment="center" valignment="top" usebox="none">
18740 \begin_inset Text
18741
18742 \begin_layout Plain Layout
18743 9
18744 \end_layout
18745
18746 \end_inset
18747 </cell>
18748 </row>
18749 </lyxtabular>
18750
18751 \end_inset
18752
18753
18754 \end_layout
18755
18756 \end_inset
18757
18758
18759 \end_layout
18760
18761 \begin_layout Standard
18762 \begin_inset ERT
18763 status collapsed
18764
18765 \begin_layout Plain Layout
18766
18767
18768 \backslash
18769 rowcolors{1}{}{}
18770 \end_layout
18771
18772 \end_inset
18773
18774
18775 \begin_inset Note Note
18776 status collapsed
18777
18778 \begin_layout Plain Layout
18779 turns off the row coloring
18780 \end_layout
18781
18782 \end_inset
18783
18784
18785 \end_layout
18786
18787 \begin_layout Standard
18788 \begin_inset ERT
18789 status collapsed
18790
18791 \begin_layout Plain Layout
18792
18793
18794 \backslash
18795 else
18796 \end_layout
18797
18798 \end_inset
18799
18800
18801 \begin_inset Note Note
18802 status open
18803
18804 \begin_layout Plain Layout
18805 The following will be displayed when the \SpecialChar LaTeX
18806 -package 
18807 \series bold
18808 colortbl
18809 \series default
18810  is not installed:
18811 \end_layout
18812
18813 \end_inset
18814
18815
18816 \end_layout
18817
18818 \begin_layout Standard
18819 You need to install the package 
18820 \series bold
18821 colortbl
18822 \series default
18823  to see the content of this section in the output.
18824 \end_layout
18825
18826 \begin_layout Standard
18827 \begin_inset ERT
18828 status collapsed
18829
18830 \begin_layout Plain Layout
18831
18832
18833 \backslash
18834 fi
18835 \end_layout
18836
18837 \end_inset
18838
18839
18840 \end_layout
18841
18842 \begin_layout Subsection
18843 Colored Lines
18844 \begin_inset Index idx
18845 status collapsed
18846
18847 \begin_layout Plain Layout
18848 Table Color ! for Lines
18849 \end_layout
18850
18851 \end_inset
18852
18853
18854 \begin_inset Index idx
18855 status collapsed
18856
18857 \begin_layout Plain Layout
18858 Color ! for Table Lines
18859 \end_layout
18860
18861 \end_inset
18862
18863
18864 \end_layout
18865
18866 \begin_layout Standard
18867 As described in section
18868 \begin_inset space ~
18869 \end_inset
18870
18871
18872 \begin_inset CommandInset ref
18873 LatexCommand ref
18874 reference "subsec:Line-Thickness"
18875
18876 \end_inset
18877
18878 , the line thickness for all lines in a table can be adjusted with the length
18879  
18880 \series bold
18881
18882 \backslash
18883 arrayrulewidth
18884 \series default
18885 .
18886  It is set to 1.5
18887 \begin_inset space \thinspace{}
18888 \end_inset
18889
18890 pt for all tables of this section.
18891 \begin_inset ERT
18892 status collapsed
18893
18894 \begin_layout Plain Layout
18895
18896
18897 \backslash
18898 setlength{
18899 \backslash
18900 arrayrulewidth}{1.5pt}
18901 \end_layout
18902
18903 \end_inset
18904
18905
18906 \end_layout
18907
18908 \begin_layout Standard
18909 To color vertical lines for example with green, create the following column
18910  format in the document preamble, according to the description in section
18911 \begin_inset space ~
18912 \end_inset
18913
18914
18915 \begin_inset CommandInset ref
18916 LatexCommand ref
18917 reference "subsec:Customized-Format"
18918
18919 \end_inset
18920
18921 :
18922 \end_layout
18923
18924 \begin_layout Standard
18925
18926 \series bold
18927
18928 \backslash
18929 newcolumntype{W}{!{
18930 \backslash
18931 color{green}
18932 \backslash
18933 vline}}
18934 \end_layout
18935
18936 \begin_layout Standard
18937 For Table
18938 \begin_inset space ~
18939 \end_inset
18940
18941
18942 \begin_inset CommandInset ref
18943 LatexCommand ref
18944 reference "tab:Table-with-vertical-colored"
18945
18946 \end_inset
18947
18948  the \SpecialChar LaTeX
18949 -argument
18950 \series bold
18951  WcW
18952 \series default
18953  was used for the last column and
18954 \series bold
18955  Wc
18956 \series default
18957  for the other columns.
18958 \end_layout
18959
18960 \begin_layout Standard
18961 If you want to have several colors, define more column formats.
18962 \end_layout
18963
18964 \begin_layout Standard
18965 \begin_inset Float table
18966 placement h
18967 alignment document
18968 wide false
18969 sideways false
18970 status open
18971
18972 \begin_layout Plain Layout
18973 \begin_inset Caption Standard
18974
18975 \begin_layout Plain Layout
18976 \begin_inset CommandInset label
18977 LatexCommand label
18978 name "tab:Table-with-vertical-colored"
18979
18980 \end_inset
18981
18982 Table with colored vertical lines
18983 \end_layout
18984
18985 \end_inset
18986
18987
18988 \end_layout
18989
18990 \begin_layout Plain Layout
18991 \align center
18992 \begin_inset Tabular
18993 <lyxtabular version="3" rows="3" columns="3">
18994 <features tabularvalignment="middle">
18995 <column alignment="center" valignment="top" special="Wc">
18996 <column alignment="center" valignment="top" special="Wc">
18997 <column alignment="center" valignment="top" special="WcW">
18998 <row>
18999 <cell alignment="center" valignment="top" topline="true" usebox="none">
19000 \begin_inset Text
19001
19002 \begin_layout Plain Layout
19003 sd
19004 \end_layout
19005
19006 \end_inset
19007 </cell>
19008 <cell alignment="center" valignment="top" topline="true" usebox="none">
19009 \begin_inset Text
19010
19011 \begin_layout Plain Layout
19012
19013 \end_layout
19014
19015 \end_inset
19016 </cell>
19017 <cell alignment="center" valignment="top" topline="true" usebox="none">
19018 \begin_inset Text
19019
19020 \begin_layout Plain Layout
19021
19022 \end_layout
19023
19024 \end_inset
19025 </cell>
19026 </row>
19027 <row>
19028 <cell alignment="center" valignment="top" topline="true" usebox="none">
19029 \begin_inset Text
19030
19031 \begin_layout Plain Layout
19032
19033 \end_layout
19034
19035 \end_inset
19036 </cell>
19037 <cell alignment="center" valignment="top" topline="true" usebox="none">
19038 \begin_inset Text
19039
19040 \begin_layout Plain Layout
19041 sd
19042 \end_layout
19043
19044 \end_inset
19045 </cell>
19046 <cell alignment="center" valignment="top" topline="true" usebox="none">
19047 \begin_inset Text
19048
19049 \begin_layout Plain Layout
19050
19051 \end_layout
19052
19053 \end_inset
19054 </cell>
19055 </row>
19056 <row>
19057 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19058 \begin_inset Text
19059
19060 \begin_layout Plain Layout
19061
19062 \end_layout
19063
19064 \end_inset
19065 </cell>
19066 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19067 \begin_inset Text
19068
19069 \begin_layout Plain Layout
19070
19071 \end_layout
19072
19073 \end_inset
19074 </cell>
19075 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19076 \begin_inset Text
19077
19078 \begin_layout Plain Layout
19079 sd
19080 \end_layout
19081
19082 \end_inset
19083 </cell>
19084 </row>
19085 </lyxtabular>
19086
19087 \end_inset
19088
19089
19090 \end_layout
19091
19092 \end_inset
19093
19094
19095 \end_layout
19096
19097 \begin_layout Standard
19098 \begin_inset VSpace bigskip
19099 \end_inset
19100
19101 To color all horizontal lines for example with red, as in Table
19102 \begin_inset space ~
19103 \end_inset
19104
19105
19106 \begin_inset CommandInset ref
19107 LatexCommand ref
19108 reference "tab:Table-with-horizontal-colored"
19109
19110 \end_inset
19111
19112 , insert these commands in \SpecialChar TeX
19113  code before the table or table float:
19114 \end_layout
19115
19116 \begin_layout Standard
19117
19118 \series bold
19119
19120 \backslash
19121 let
19122 \backslash
19123 myHlineC
19124 \backslash
19125 hline
19126 \begin_inset Newline newline
19127 \end_inset
19128
19129
19130 \backslash
19131 renewcommand{
19132 \backslash
19133 hline}
19134 \begin_inset Newline newline
19135 \end_inset
19136
19137
19138 \begin_inset Phantom HPhantom
19139 status open
19140
19141 \begin_layout Plain Layout
19142
19143 \series bold
19144 \begin_inset space ~
19145 \end_inset
19146
19147
19148 \end_layout
19149
19150 \end_inset
19151
19152 {
19153 \backslash
19154 arrayrulecolor{red}
19155 \backslash
19156 myHlineC
19157 \backslash
19158 arrayrulecolor{black}}
19159 \end_layout
19160
19161 \begin_layout Standard
19162 \begin_inset ERT
19163 status collapsed
19164
19165 \begin_layout Plain Layout
19166
19167
19168 \backslash
19169 let
19170 \backslash
19171 myHlineC
19172 \backslash
19173 hline
19174 \end_layout
19175
19176 \begin_layout Plain Layout
19177
19178
19179 \backslash
19180 renewcommand{
19181 \backslash
19182 hline}
19183 \end_layout
19184
19185 \begin_layout Plain Layout
19186
19187  {
19188 \backslash
19189 arrayrulecolor{red}
19190 \backslash
19191 myHlineC
19192 \backslash
19193 arrayrulecolor{black}}
19194 \end_layout
19195
19196 \end_inset
19197
19198
19199 \begin_inset Float table
19200 placement h
19201 alignment document
19202 wide false
19203 sideways false
19204 status open
19205
19206 \begin_layout Plain Layout
19207 \begin_inset Caption Standard
19208
19209 \begin_layout Plain Layout
19210 \begin_inset CommandInset label
19211 LatexCommand label
19212 name "tab:Table-with-horizontal-colored"
19213
19214 \end_inset
19215
19216 Table with colored horizontal lines
19217 \end_layout
19218
19219 \end_inset
19220
19221
19222 \end_layout
19223
19224 \begin_layout Plain Layout
19225 \align center
19226 \begin_inset Tabular
19227 <lyxtabular version="3" rows="3" columns="3">
19228 <features tabularvalignment="middle">
19229 <column alignment="center" valignment="top">
19230 <column alignment="center" valignment="top">
19231 <column alignment="center" valignment="top">
19232 <row>
19233 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19234 \begin_inset Text
19235
19236 \begin_layout Plain Layout
19237 sd
19238 \end_layout
19239
19240 \end_inset
19241 </cell>
19242 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19243 \begin_inset Text
19244
19245 \begin_layout Plain Layout
19246
19247 \end_layout
19248
19249 \end_inset
19250 </cell>
19251 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19252 \begin_inset Text
19253
19254 \begin_layout Plain Layout
19255
19256 \end_layout
19257
19258 \end_inset
19259 </cell>
19260 </row>
19261 <row>
19262 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19263 \begin_inset Text
19264
19265 \begin_layout Plain Layout
19266
19267 \end_layout
19268
19269 \end_inset
19270 </cell>
19271 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19272 \begin_inset Text
19273
19274 \begin_layout Plain Layout
19275 sd
19276 \end_layout
19277
19278 \end_inset
19279 </cell>
19280 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19281 \begin_inset Text
19282
19283 \begin_layout Plain Layout
19284
19285 \end_layout
19286
19287 \end_inset
19288 </cell>
19289 </row>
19290 <row>
19291 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19292 \begin_inset Text
19293
19294 \begin_layout Plain Layout
19295
19296 \end_layout
19297
19298 \end_inset
19299 </cell>
19300 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19301 \begin_inset Text
19302
19303 \begin_layout Plain Layout
19304
19305 \end_layout
19306
19307 \end_inset
19308 </cell>
19309 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
19310 \begin_inset Text
19311
19312 \begin_layout Plain Layout
19313 sd
19314 \end_layout
19315
19316 \end_inset
19317 </cell>
19318 </row>
19319 </lyxtabular>
19320
19321 \end_inset
19322
19323
19324 \end_layout
19325
19326 \end_inset
19327
19328
19329 \end_layout
19330
19331 \begin_layout Standard
19332 To return to the default line color black, insert this command in \SpecialChar TeX
19333  code
19334  after the table or table float:
19335 \end_layout
19336
19337 \begin_layout Standard
19338
19339 \series bold
19340
19341 \backslash
19342 renewcommand{
19343 \backslash
19344 hline}{
19345 \backslash
19346 myHlineC}
19347 \end_layout
19348
19349 \begin_layout Standard
19350 Table
19351 \begin_inset space ~
19352 \end_inset
19353
19354
19355 \begin_inset CommandInset ref
19356 LatexCommand ref
19357 reference "tab:Table-with-colored"
19358
19359 \end_inset
19360
19361  is an example with colored vertical and horizontal lines.
19362 \end_layout
19363
19364 \begin_layout Standard
19365 \begin_inset Float table
19366 placement h
19367 alignment document
19368 wide false
19369 sideways false
19370 status open
19371
19372 \begin_layout Plain Layout
19373 \begin_inset Caption Standard
19374
19375 \begin_layout Plain Layout
19376 \begin_inset CommandInset label
19377 LatexCommand label
19378 name "tab:Table-with-colored"
19379
19380 \end_inset
19381
19382 Table with colored lines
19383 \end_layout
19384
19385 \end_inset
19386
19387
19388 \end_layout
19389
19390 \begin_layout Plain Layout
19391 \align center
19392 \begin_inset Tabular
19393 <lyxtabular version="3" rows="3" columns="3">
19394 <features tabularvalignment="middle">
19395 <column alignment="center" valignment="top" special="Wc">
19396 <column alignment="center" valignment="top" special="Wc">
19397 <column alignment="center" valignment="top" special="WcW">
19398 <row>
19399 <cell alignment="center" valignment="top" topline="true" usebox="none">
19400 \begin_inset Text
19401
19402 \begin_layout Plain Layout
19403 sd
19404 \end_layout
19405
19406 \end_inset
19407 </cell>
19408 <cell alignment="center" valignment="top" topline="true" usebox="none">
19409 \begin_inset Text
19410
19411 \begin_layout Plain Layout
19412
19413 \end_layout
19414
19415 \end_inset
19416 </cell>
19417 <cell alignment="center" valignment="top" topline="true" usebox="none">
19418 \begin_inset Text
19419
19420 \begin_layout Plain Layout
19421
19422 \end_layout
19423
19424 \end_inset
19425 </cell>
19426 </row>
19427 <row>
19428 <cell alignment="center" valignment="top" topline="true" usebox="none">
19429 \begin_inset Text
19430
19431 \begin_layout Plain Layout
19432
19433 \end_layout
19434
19435 \end_inset
19436 </cell>
19437 <cell alignment="center" valignment="top" topline="true" usebox="none">
19438 \begin_inset Text
19439
19440 \begin_layout Plain Layout
19441 sd
19442 \end_layout
19443
19444 \end_inset
19445 </cell>
19446 <cell alignment="center" valignment="top" topline="true" usebox="none">
19447 \begin_inset Text
19448
19449 \begin_layout Plain Layout
19450
19451 \end_layout
19452
19453 \end_inset
19454 </cell>
19455 </row>
19456 <row topspace="default">
19457 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19458 \begin_inset Text
19459
19460 \begin_layout Plain Layout
19461
19462 \end_layout
19463
19464 \end_inset
19465 </cell>
19466 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19467 \begin_inset Text
19468
19469 \begin_layout Plain Layout
19470
19471 \end_layout
19472
19473 \end_inset
19474 </cell>
19475 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19476 \begin_inset Text
19477
19478 \begin_layout Plain Layout
19479 sd
19480 \end_layout
19481
19482 \end_inset
19483 </cell>
19484 </row>
19485 </lyxtabular>
19486
19487 \end_inset
19488
19489
19490 \end_layout
19491
19492 \end_inset
19493
19494
19495 \end_layout
19496
19497 \begin_layout Standard
19498 \begin_inset ERT
19499 status collapsed
19500
19501 \begin_layout Plain Layout
19502
19503
19504 \backslash
19505 renewcommand{
19506 \backslash
19507 hline}{
19508 \backslash
19509 myHlineC}
19510 \end_layout
19511
19512 \end_inset
19513
19514
19515 \end_layout
19516
19517 \begin_layout Standard
19518 \begin_inset ERT
19519 status collapsed
19520
19521 \begin_layout Plain Layout
19522
19523
19524 \backslash
19525 setlength{
19526 \backslash
19527 arrayrulewidth}{1.2pt}
19528 \end_layout
19529
19530 \end_inset
19531
19532
19533 \end_layout
19534
19535 \begin_layout Standard
19536 To color only some of the table lines another strategy is necessary.
19537  To color all following horizontal lines, insert this command as \SpecialChar TeX
19538  code as
19539  last thing in the row that should be above the first colored line:
19540 \end_layout
19541
19542 \begin_layout Standard
19543
19544 \series bold
19545
19546 \backslash
19547
19548 \backslash
19549
19550 \backslash
19551 arrayrulecolor{blue}%
19552 \end_layout
19553
19554 \begin_layout Standard
19555 To go back to black lines, add this command as first thing in the row that
19556  is above the black lines:
19557 \end_layout
19558
19559 \begin_layout Standard
19560
19561 \series bold
19562
19563 \backslash
19564 arrayrulecolor{black}
19565 \end_layout
19566
19567 \begin_layout Standard
19568 With this one can color table lines like in Table
19569 \begin_inset space ~
19570 \end_inset
19571
19572
19573 \begin_inset CommandInset ref
19574 LatexCommand ref
19575 reference "tab:Table-with-different-hor"
19576
19577 \end_inset
19578
19579 .
19580  However, with this method it is not possible to color the line above the
19581  first row of a table.
19582 \end_layout
19583
19584 \begin_layout Standard
19585 \begin_inset Float table
19586 placement document
19587 alignment document
19588 wide false
19589 sideways false
19590 status open
19591
19592 \begin_layout Plain Layout
19593 \begin_inset Caption Standard
19594
19595 \begin_layout Plain Layout
19596 \begin_inset CommandInset label
19597 LatexCommand label
19598 name "tab:Table-with-different-hor"
19599
19600 \end_inset
19601
19602 Table with different horizontal line colors.
19603 \end_layout
19604
19605 \end_inset
19606
19607
19608 \end_layout
19609
19610 \begin_layout Plain Layout
19611 \align center
19612 \begin_inset Tabular
19613 <lyxtabular version="3" rows="6" columns="7">
19614 <features tabularvalignment="middle">
19615 <column alignment="center" valignment="top">
19616 <column alignment="center" valignment="top">
19617 <column alignment="center" valignment="top">
19618 <column alignment="center" valignment="top">
19619 <column alignment="center" valignment="top">
19620 <column alignment="center" valignment="top">
19621 <column alignment="center" valignment="top">
19622 <row>
19623 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19624 \begin_inset Text
19625
19626 \begin_layout Plain Layout
19627
19628 \end_layout
19629
19630 \end_inset
19631 </cell>
19632 <cell alignment="center" valignment="top" topline="true" usebox="none">
19633 \begin_inset Text
19634
19635 \begin_layout Plain Layout
19636
19637 \end_layout
19638
19639 \end_inset
19640 </cell>
19641 <cell alignment="center" valignment="top" topline="true" usebox="none">
19642 \begin_inset Text
19643
19644 \begin_layout Plain Layout
19645
19646 \end_layout
19647
19648 \end_inset
19649 </cell>
19650 <cell alignment="center" valignment="top" topline="true" usebox="none">
19651 \begin_inset Text
19652
19653 \begin_layout Plain Layout
19654
19655 \end_layout
19656
19657 \end_inset
19658 </cell>
19659 <cell alignment="center" valignment="top" topline="true" usebox="none">
19660 \begin_inset Text
19661
19662 \begin_layout Plain Layout
19663
19664 \end_layout
19665
19666 \end_inset
19667 </cell>
19668 <cell alignment="center" valignment="top" topline="true" usebox="none">
19669 \begin_inset Text
19670
19671 \begin_layout Plain Layout
19672
19673 \end_layout
19674
19675 \end_inset
19676 </cell>
19677 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
19678 \begin_inset Text
19679
19680 \begin_layout Plain Layout
19681 \begin_inset ERT
19682 status open
19683
19684 \begin_layout Plain Layout
19685
19686
19687 \backslash
19688
19689 \backslash
19690
19691 \backslash
19692 arrayrulecolor{blue}%
19693 \end_layout
19694
19695 \end_inset
19696
19697
19698 \end_layout
19699
19700 \end_inset
19701 </cell>
19702 </row>
19703 <row>
19704 <cell alignment="center" valignment="top" usebox="none">
19705 \begin_inset Text
19706
19707 \begin_layout Plain Layout
19708 Y
19709 \end_layout
19710
19711 \end_inset
19712 </cell>
19713 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19714 \begin_inset Text
19715
19716 \begin_layout Plain Layout
19717
19718 \end_layout
19719
19720 \end_inset
19721 </cell>
19722 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19723 \begin_inset Text
19724
19725 \begin_layout Plain Layout
19726
19727 \end_layout
19728
19729 \end_inset
19730 </cell>
19731 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19732 \begin_inset Text
19733
19734 \begin_layout Plain Layout
19735
19736 \end_layout
19737
19738 \end_inset
19739 </cell>
19740 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19741 \begin_inset Text
19742
19743 \begin_layout Plain Layout
19744
19745 \end_layout
19746
19747 \end_inset
19748 </cell>
19749 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
19750 \begin_inset Text
19751
19752 \begin_layout Plain Layout
19753
19754 \end_layout
19755
19756 \end_inset
19757 </cell>
19758 <cell alignment="center" valignment="top" usebox="none">
19759 \begin_inset Text
19760
19761 \begin_layout Plain Layout
19762 Y
19763 \end_layout
19764
19765 \end_inset
19766 </cell>
19767 </row>
19768 <row>
19769 <cell alignment="center" valignment="top" leftline="true" usebox="none">
19770 \begin_inset Text
19771
19772 \begin_layout Plain Layout
19773 \begin_inset ERT
19774 status open
19775
19776 \begin_layout Plain Layout
19777
19778
19779 \backslash
19780 arrayrulecolor{black}
19781 \end_layout
19782
19783 \end_inset
19784
19785
19786 \end_layout
19787
19788 \end_inset
19789 </cell>
19790 <cell alignment="center" valignment="top" usebox="none">
19791 \begin_inset Text
19792
19793 \begin_layout Plain Layout
19794
19795 \end_layout
19796
19797 \end_inset
19798 </cell>
19799 <cell alignment="center" valignment="top" usebox="none">
19800 \begin_inset Text
19801
19802 \begin_layout Plain Layout
19803
19804 \end_layout
19805
19806 \end_inset
19807 </cell>
19808 <cell alignment="center" valignment="top" usebox="none">
19809 \begin_inset Text
19810
19811 \begin_layout Plain Layout
19812
19813 \end_layout
19814
19815 \end_inset
19816 </cell>
19817 <cell alignment="center" valignment="top" usebox="none">
19818 \begin_inset Text
19819
19820 \begin_layout Plain Layout
19821
19822 \end_layout
19823
19824 \end_inset
19825 </cell>
19826 <cell alignment="center" valignment="top" usebox="none">
19827 \begin_inset Text
19828
19829 \begin_layout Plain Layout
19830
19831 \end_layout
19832
19833 \end_inset
19834 </cell>
19835 <cell alignment="center" valignment="top" rightline="true" usebox="none">
19836 \begin_inset Text
19837
19838 \begin_layout Plain Layout
19839
19840 \end_layout
19841
19842 \end_inset
19843 </cell>
19844 </row>
19845 <row>
19846 <cell alignment="center" valignment="top" leftline="true" usebox="none">
19847 \begin_inset Text
19848
19849 \begin_layout Plain Layout
19850
19851 \end_layout
19852
19853 \end_inset
19854 </cell>
19855 <cell alignment="center" valignment="top" usebox="none">
19856 \begin_inset Text
19857
19858 \begin_layout Plain Layout
19859
19860 \end_layout
19861
19862 \end_inset
19863 </cell>
19864 <cell alignment="center" valignment="top" usebox="none">
19865 \begin_inset Text
19866
19867 \begin_layout Plain Layout
19868
19869 \end_layout
19870
19871 \end_inset
19872 </cell>
19873 <cell alignment="center" valignment="top" usebox="none">
19874 \begin_inset Text
19875
19876 \begin_layout Plain Layout
19877
19878 \end_layout
19879
19880 \end_inset
19881 </cell>
19882 <cell alignment="center" valignment="top" usebox="none">
19883 \begin_inset Text
19884
19885 \begin_layout Plain Layout
19886
19887 \end_layout
19888
19889 \end_inset
19890 </cell>
19891 <cell alignment="center" valignment="top" usebox="none">
19892 \begin_inset Text
19893
19894 \begin_layout Plain Layout
19895
19896 \end_layout
19897
19898 \end_inset
19899 </cell>
19900 <cell alignment="center" valignment="top" rightline="true" usebox="none">
19901 \begin_inset Text
19902
19903 \begin_layout Plain Layout
19904 \begin_inset ERT
19905 status collapsed
19906
19907 \begin_layout Plain Layout
19908
19909
19910 \backslash
19911
19912 \backslash
19913
19914 \backslash
19915 arrayrulecolor{green}%
19916 \end_layout
19917
19918 \end_inset
19919
19920
19921 \end_layout
19922
19923 \end_inset
19924 </cell>
19925 </row>
19926 <row>
19927 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19928 \begin_inset Text
19929
19930 \begin_layout Plain Layout
19931
19932 \end_layout
19933
19934 \end_inset
19935 </cell>
19936 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19937 \begin_inset Text
19938
19939 \begin_layout Plain Layout
19940
19941 \end_layout
19942
19943 \end_inset
19944 </cell>
19945 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19946 \begin_inset Text
19947
19948 \begin_layout Plain Layout
19949
19950 \end_layout
19951
19952 \end_inset
19953 </cell>
19954 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19955 \begin_inset Text
19956
19957 \begin_layout Plain Layout
19958
19959 \end_layout
19960
19961 \end_inset
19962 </cell>
19963 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19964 \begin_inset Text
19965
19966 \begin_layout Plain Layout
19967
19968 \end_layout
19969
19970 \end_inset
19971 </cell>
19972 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19973 \begin_inset Text
19974
19975 \begin_layout Plain Layout
19976
19977 \end_layout
19978
19979 \end_inset
19980 </cell>
19981 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
19982 \begin_inset Text
19983
19984 \begin_layout Plain Layout
19985
19986 \end_layout
19987
19988 \end_inset
19989 </cell>
19990 </row>
19991 <row>
19992 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19993 \begin_inset Text
19994
19995 \begin_layout Plain Layout
19996 \begin_inset ERT
19997 status collapsed
19998
19999 \begin_layout Plain Layout
20000
20001
20002 \backslash
20003 arrayrulecolor{black}
20004 \end_layout
20005
20006 \end_inset
20007
20008 B
20009 \end_layout
20010
20011 \end_inset
20012 </cell>
20013 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20014 \begin_inset Text
20015
20016 \begin_layout Plain Layout
20017
20018 \end_layout
20019
20020 \end_inset
20021 </cell>
20022 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20023 \begin_inset Text
20024
20025 \begin_layout Plain Layout
20026
20027 \end_layout
20028
20029 \end_inset
20030 </cell>
20031 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20032 \begin_inset Text
20033
20034 \begin_layout Plain Layout
20035
20036 \end_layout
20037
20038 \end_inset
20039 </cell>
20040 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20041 \begin_inset Text
20042
20043 \begin_layout Plain Layout
20044
20045 \end_layout
20046
20047 \end_inset
20048 </cell>
20049 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20050 \begin_inset Text
20051
20052 \begin_layout Plain Layout
20053
20054 \end_layout
20055
20056 \end_inset
20057 </cell>
20058 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
20059 \begin_inset Text
20060
20061 \begin_layout Plain Layout
20062 \begin_inset ERT
20063 status collapsed
20064
20065 \begin_layout Plain Layout
20066
20067
20068 \backslash
20069
20070 \backslash
20071
20072 \backslash
20073 arrayrulecolor{blue}%
20074 \end_layout
20075
20076 \end_inset
20077
20078
20079 \end_layout
20080
20081 \end_inset
20082 </cell>
20083 </row>
20084 </lyxtabular>
20085
20086 \end_inset
20087
20088
20089 \end_layout
20090
20091 \end_inset
20092
20093
20094 \end_layout
20095
20096 \begin_layout Standard
20097 To change the color of vertical lines within a row, like in Table
20098 \begin_inset space ~
20099 \end_inset
20100
20101
20102 \begin_inset CommandInset ref
20103 LatexCommand ref
20104 reference "tab:Table-with-different-ver"
20105
20106 \end_inset
20107
20108 , one needs to use multicolumns.
20109  At first one needs to remove all vertical lines that don't run along the
20110  whole column.
20111  Now one colors all lines using the command
20112 \end_layout
20113
20114 \begin_layout Standard
20115
20116 \series bold
20117
20118 \backslash
20119
20120 \backslash
20121
20122 \backslash
20123 arrayrulecolor{blue}%
20124 \end_layout
20125
20126 \begin_layout Standard
20127 as above.
20128  Finally one inserts this command as \SpecialChar TeX
20129  code to every cell in the row where
20130  one needs a vertical line in a different color:
20131 \end_layout
20132
20133 \begin_layout Standard
20134
20135 \series bold
20136
20137 \backslash
20138 multicolumn{1}{!{
20139 \backslash
20140 color{green}
20141 \backslash
20142 vline}c!{
20143 \backslash
20144 color{red}
20145 \backslash
20146 vline}}{
20147 \end_layout
20148
20149 \begin_layout Standard
20150 This adds a vertical line to both sides of the cell.
20151  The left one will be green, the right one red.
20152  If no color change is necessary one can omit the 
20153 \series bold
20154
20155 \backslash
20156 color
20157 \series default
20158  command in the above command.
20159  To get for example a black left line and a blue right line you can write:
20160 \end_layout
20161
20162 \begin_layout Standard
20163
20164 \series bold
20165
20166 \backslash
20167 multicolumn{1}{!{
20168 \backslash
20169 color{black}
20170 \backslash
20171 vline}c|}{
20172 \end_layout
20173
20174 \begin_layout Standard
20175 because the color blue was already set for all lines.
20176  The 
20177 \series bold
20178 |
20179 \series default
20180  creates hereby the vertical line while 
20181 \series bold
20182
20183 \backslash
20184 vline
20185 \series default
20186  does this when 
20187 \series bold
20188
20189 \backslash
20190 color
20191 \series default
20192  is used.
20193  To set vertical lines without changing any color use
20194 \end_layout
20195
20196 \begin_layout Standard
20197
20198 \series bold
20199
20200 \backslash
20201 multicolumn{1}{|c|}{
20202 \end_layout
20203
20204 \begin_layout Standard
20205 After this command insert the cell content the normal way and end the cell
20206  with a closing brace 
20207 \series bold
20208 }
20209 \series default
20210  in \SpecialChar TeX
20211  code.
20212 \end_layout
20213
20214 \begin_layout Standard
20215 \begin_inset Float table
20216 placement document
20217 alignment document
20218 wide false
20219 sideways false
20220 status open
20221
20222 \begin_layout Plain Layout
20223 \begin_inset Caption Standard
20224
20225 \begin_layout Plain Layout
20226 \begin_inset CommandInset label
20227 LatexCommand label
20228 name "tab:Table-with-different-ver"
20229
20230 \end_inset
20231
20232 Table with different vertical line colors in one row.
20233 \end_layout
20234
20235 \end_inset
20236
20237
20238 \end_layout
20239
20240 \begin_layout Plain Layout
20241 \align center
20242 \begin_inset Tabular
20243 <lyxtabular version="3" rows="5" columns="7">
20244 <features tabularvalignment="middle">
20245 <column alignment="center" valignment="top">
20246 <column alignment="center" valignment="top">
20247 <column alignment="center" valignment="top">
20248 <column alignment="center" valignment="top">
20249 <column alignment="center" valignment="top">
20250 <column alignment="center" valignment="top">
20251 <column alignment="center" valignment="top">
20252 <row>
20253 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20254 \begin_inset Text
20255
20256 \begin_layout Plain Layout
20257
20258 \end_layout
20259
20260 \end_inset
20261 </cell>
20262 <cell alignment="center" valignment="top" topline="true" usebox="none">
20263 \begin_inset Text
20264
20265 \begin_layout Plain Layout
20266
20267 \end_layout
20268
20269 \end_inset
20270 </cell>
20271 <cell alignment="center" valignment="top" topline="true" usebox="none">
20272 \begin_inset Text
20273
20274 \begin_layout Plain Layout
20275
20276 \end_layout
20277
20278 \end_inset
20279 </cell>
20280 <cell alignment="center" valignment="top" topline="true" usebox="none">
20281 \begin_inset Text
20282
20283 \begin_layout Plain Layout
20284
20285 \end_layout
20286
20287 \end_inset
20288 </cell>
20289 <cell alignment="center" valignment="top" topline="true" usebox="none">
20290 \begin_inset Text
20291
20292 \begin_layout Plain Layout
20293
20294 \end_layout
20295
20296 \end_inset
20297 </cell>
20298 <cell alignment="center" valignment="top" topline="true" usebox="none">
20299 \begin_inset Text
20300
20301 \begin_layout Plain Layout
20302
20303 \end_layout
20304
20305 \end_inset
20306 </cell>
20307 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
20308 \begin_inset Text
20309
20310 \begin_layout Plain Layout
20311 \begin_inset ERT
20312 status open
20313
20314 \begin_layout Plain Layout
20315
20316
20317 \backslash
20318
20319 \backslash
20320
20321 \backslash
20322 arrayrulecolor{red}%
20323 \end_layout
20324
20325 \end_inset
20326
20327
20328 \end_layout
20329
20330 \end_inset
20331 </cell>
20332 </row>
20333 <row>
20334 <cell alignment="center" valignment="top" leftline="true" usebox="none">
20335 \begin_inset Text
20336
20337 \begin_layout Plain Layout
20338 \begin_inset ERT
20339 status open
20340
20341 \begin_layout Plain Layout
20342
20343
20344 \backslash
20345 multicolumn{1}{!{
20346 \backslash
20347 color{black}
20348 \backslash
20349 vline}c|}{
20350 \end_layout
20351
20352 \end_inset
20353
20354 Y
20355 \begin_inset ERT
20356 status collapsed
20357
20358 \begin_layout Plain Layout
20359
20360 }
20361 \end_layout
20362
20363 \end_inset
20364
20365
20366 \end_layout
20367
20368 \end_inset
20369 </cell>
20370 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20371 \begin_inset Text
20372
20373 \begin_layout Plain Layout
20374
20375 \end_layout
20376
20377 \end_inset
20378 </cell>
20379 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20380 \begin_inset Text
20381
20382 \begin_layout Plain Layout
20383
20384 \end_layout
20385
20386 \end_inset
20387 </cell>
20388 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20389 \begin_inset Text
20390
20391 \begin_layout Plain Layout
20392
20393 \end_layout
20394
20395 \end_inset
20396 </cell>
20397 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20398 \begin_inset Text
20399
20400 \begin_layout Plain Layout
20401
20402 \end_layout
20403
20404 \end_inset
20405 </cell>
20406 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20407 \begin_inset Text
20408
20409 \begin_layout Plain Layout
20410 \begin_inset ERT
20411 status open
20412
20413 \begin_layout Plain Layout
20414
20415
20416 \backslash
20417 multicolumn{1}{c|}{
20418 \end_layout
20419
20420 \end_inset
20421
20422
20423 \begin_inset ERT
20424 status collapsed
20425
20426 \begin_layout Plain Layout
20427
20428 }
20429 \end_layout
20430
20431 \end_inset
20432
20433
20434 \end_layout
20435
20436 \end_inset
20437 </cell>
20438 <cell alignment="center" valignment="top" rightline="true" usebox="none">
20439 \begin_inset Text
20440
20441 \begin_layout Plain Layout
20442 \begin_inset ERT
20443 status open
20444
20445 \begin_layout Plain Layout
20446
20447
20448 \backslash
20449 multicolumn{1}{c!{
20450 \backslash
20451 color{black}
20452 \backslash
20453 vline}}{
20454 \end_layout
20455
20456 \end_inset
20457
20458 Y
20459 \begin_inset ERT
20460 status collapsed
20461
20462 \begin_layout Plain Layout
20463
20464 }
20465 \end_layout
20466
20467 \end_inset
20468
20469
20470 \end_layout
20471
20472 \end_inset
20473 </cell>
20474 </row>
20475 <row>
20476 <cell alignment="center" valignment="top" leftline="true" usebox="none">
20477 \begin_inset Text
20478
20479 \begin_layout Plain Layout
20480 \begin_inset ERT
20481 status collapsed
20482
20483 \begin_layout Plain Layout
20484
20485
20486 \backslash
20487 arrayrulecolor{black}
20488 \end_layout
20489
20490 \end_inset
20491
20492
20493 \end_layout
20494
20495 \end_inset
20496 </cell>
20497 <cell alignment="center" valignment="top" usebox="none">
20498 \begin_inset Text
20499
20500 \begin_layout Plain Layout
20501
20502 \end_layout
20503
20504 \end_inset
20505 </cell>
20506 <cell alignment="center" valignment="top" usebox="none">
20507 \begin_inset Text
20508
20509 \begin_layout Plain Layout
20510
20511 \end_layout
20512
20513 \end_inset
20514 </cell>
20515 <cell alignment="center" valignment="top" usebox="none">
20516 \begin_inset Text
20517
20518 \begin_layout Plain Layout
20519
20520 \end_layout
20521
20522 \end_inset
20523 </cell>
20524 <cell alignment="center" valignment="top" usebox="none">
20525 \begin_inset Text
20526
20527 \begin_layout Plain Layout
20528
20529 \end_layout
20530
20531 \end_inset
20532 </cell>
20533 <cell alignment="center" valignment="top" usebox="none">
20534 \begin_inset Text
20535
20536 \begin_layout Plain Layout
20537
20538 \end_layout
20539
20540 \end_inset
20541 </cell>
20542 <cell alignment="center" valignment="top" rightline="true" usebox="none">
20543 \begin_inset Text
20544
20545 \begin_layout Plain Layout
20546 \begin_inset ERT
20547 status collapsed
20548
20549 \begin_layout Plain Layout
20550
20551
20552 \backslash
20553
20554 \backslash
20555
20556 \backslash
20557 arrayrulecolor{magenta}%
20558 \end_layout
20559
20560 \end_inset
20561
20562
20563 \end_layout
20564
20565 \end_inset
20566 </cell>
20567 </row>
20568 <row>
20569 <cell alignment="center" valignment="top" leftline="true" usebox="none">
20570 \begin_inset Text
20571
20572 \begin_layout Plain Layout
20573 \begin_inset ERT
20574 status collapsed
20575
20576 \begin_layout Plain Layout
20577
20578
20579 \backslash
20580 multicolumn{1}{|c!{
20581 \backslash
20582 color{red}
20583 \backslash
20584 vline}}{
20585 \end_layout
20586
20587 \end_inset
20588
20589
20590 \begin_inset ERT
20591 status collapsed
20592
20593 \begin_layout Plain Layout
20594
20595 }
20596 \end_layout
20597
20598 \end_inset
20599
20600
20601 \end_layout
20602
20603 \end_inset
20604 </cell>
20605 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20606 \begin_inset Text
20607
20608 \begin_layout Plain Layout
20609 \begin_inset ERT
20610 status collapsed
20611
20612 \begin_layout Plain Layout
20613
20614
20615 \backslash
20616 multicolumn{1}{c!{
20617 \backslash
20618 color{green}
20619 \backslash
20620 vline}}{
20621 \end_layout
20622
20623 \end_inset
20624
20625
20626 \begin_inset ERT
20627 status collapsed
20628
20629 \begin_layout Plain Layout
20630
20631 }
20632 \end_layout
20633
20634 \end_inset
20635
20636
20637 \end_layout
20638
20639 \end_inset
20640 </cell>
20641 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20642 \begin_inset Text
20643
20644 \begin_layout Plain Layout
20645 \begin_inset ERT
20646 status collapsed
20647
20648 \begin_layout Plain Layout
20649
20650
20651 \backslash
20652 multicolumn{1}{c!{
20653 \backslash
20654 color{yellow}
20655 \backslash
20656 vline}}{
20657 \end_layout
20658
20659 \end_inset
20660
20661
20662 \begin_inset ERT
20663 status collapsed
20664
20665 \begin_layout Plain Layout
20666
20667 }
20668 \end_layout
20669
20670 \end_inset
20671
20672
20673 \end_layout
20674
20675 \end_inset
20676 </cell>
20677 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20678 \begin_inset Text
20679
20680 \begin_layout Plain Layout
20681 \begin_inset ERT
20682 status collapsed
20683
20684 \begin_layout Plain Layout
20685
20686
20687 \backslash
20688 multicolumn{1}{c!{
20689 \backslash
20690 color{blue}
20691 \backslash
20692 vline}}{
20693 \end_layout
20694
20695 \end_inset
20696
20697
20698 \begin_inset ERT
20699 status collapsed
20700
20701 \begin_layout Plain Layout
20702
20703 }
20704 \end_layout
20705
20706 \end_inset
20707
20708
20709 \end_layout
20710
20711 \end_inset
20712 </cell>
20713 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20714 \begin_inset Text
20715
20716 \begin_layout Plain Layout
20717 \begin_inset ERT
20718 status collapsed
20719
20720 \begin_layout Plain Layout
20721
20722
20723 \backslash
20724 multicolumn{1}{c!{
20725 \backslash
20726 color{cyan}
20727 \backslash
20728 vline}}{
20729 \end_layout
20730
20731 \end_inset
20732
20733
20734 \begin_inset ERT
20735 status collapsed
20736
20737 \begin_layout Plain Layout
20738
20739 }
20740 \end_layout
20741
20742 \end_inset
20743
20744
20745 \end_layout
20746
20747 \end_inset
20748 </cell>
20749 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20750 \begin_inset Text
20751
20752 \begin_layout Plain Layout
20753 \begin_inset ERT
20754 status collapsed
20755
20756 \begin_layout Plain Layout
20757
20758
20759 \backslash
20760 multicolumn{1}{c!{
20761 \backslash
20762 color{black}
20763 \backslash
20764 vline}}{
20765 \end_layout
20766
20767 \end_inset
20768
20769
20770 \begin_inset ERT
20771 status collapsed
20772
20773 \begin_layout Plain Layout
20774
20775 }
20776 \end_layout
20777
20778 \end_inset
20779
20780
20781 \end_layout
20782
20783 \end_inset
20784 </cell>
20785 <cell alignment="center" valignment="top" rightline="true" usebox="none">
20786 \begin_inset Text
20787
20788 \begin_layout Plain Layout
20789 \begin_inset ERT
20790 status collapsed
20791
20792 \begin_layout Plain Layout
20793
20794
20795 \backslash
20796 multicolumn{1}{c|}{
20797 \end_layout
20798
20799 \end_inset
20800
20801
20802 \begin_inset ERT
20803 status collapsed
20804
20805 \begin_layout Plain Layout
20806
20807 }
20808 \end_layout
20809
20810 \end_inset
20811
20812
20813 \end_layout
20814
20815 \end_inset
20816 </cell>
20817 </row>
20818 <row>
20819 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
20820 \begin_inset Text
20821
20822 \begin_layout Plain Layout
20823 \begin_inset ERT
20824 status collapsed
20825
20826 \begin_layout Plain Layout
20827
20828
20829 \backslash
20830 arrayrulecolor{black}
20831 \end_layout
20832
20833 \end_inset
20834
20835 B
20836 \end_layout
20837
20838 \end_inset
20839 </cell>
20840 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20841 \begin_inset Text
20842
20843 \begin_layout Plain Layout
20844
20845 \end_layout
20846
20847 \end_inset
20848 </cell>
20849 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20850 \begin_inset Text
20851
20852 \begin_layout Plain Layout
20853
20854 \end_layout
20855
20856 \end_inset
20857 </cell>
20858 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20859 \begin_inset Text
20860
20861 \begin_layout Plain Layout
20862
20863 \end_layout
20864
20865 \end_inset
20866 </cell>
20867 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20868 \begin_inset Text
20869
20870 \begin_layout Plain Layout
20871
20872 \end_layout
20873
20874 \end_inset
20875 </cell>
20876 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20877 \begin_inset Text
20878
20879 \begin_layout Plain Layout
20880
20881 \end_layout
20882
20883 \end_inset
20884 </cell>
20885 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
20886 \begin_inset Text
20887
20888 \begin_layout Plain Layout
20889
20890 \end_layout
20891
20892 \end_inset
20893 </cell>
20894 </row>
20895 </lyxtabular>
20896
20897 \end_inset
20898
20899
20900 \end_layout
20901
20902 \end_inset
20903
20904
20905 \end_layout
20906
20907 \begin_layout Standard
20908 \begin_inset ERT
20909 status collapsed
20910
20911 \begin_layout Plain Layout
20912
20913
20914 \backslash
20915 setlength{
20916 \backslash
20917 arrayrulewidth}{0.4pt}
20918 \end_layout
20919
20920 \end_inset
20921
20922
20923 \end_layout
20924
20925 \begin_layout Section
20926 Rotated Table Cells
20927 \begin_inset CommandInset label
20928 LatexCommand label
20929 name "sec:Rotated-Table-Cells"
20930
20931 \end_inset
20932
20933
20934 \begin_inset Index idx
20935 status collapsed
20936
20937 \begin_layout Plain Layout
20938 Table ! Rotated Cells
20939 \end_layout
20940
20941 \end_inset
20942
20943
20944 \begin_inset Index idx
20945 status collapsed
20946
20947 \begin_layout Plain Layout
20948 Rotated Material
20949 \end_layout
20950
20951 \end_inset
20952
20953
20954 \end_layout
20955
20956 \begin_layout Standard
20957 \begin_inset Note Greyedout
20958 status open
20959
20960 \begin_layout Plain Layout
20961
20962 \series bold
20963 Note:
20964 \series default
20965  Not all DVI-viewers are able to display rotations.
20966 \end_layout
20967
20968 \end_inset
20969
20970
20971 \end_layout
20972
20973 \begin_layout Standard
20974 Table
20975 \begin_inset space ~
20976 \end_inset
20977
20978
20979 \begin_inset CommandInset ref
20980 LatexCommand ref
20981 reference "tab:Table-with-rotated"
20982 plural "false"
20983 caps "false"
20984 noprefix "false"
20985
20986 \end_inset
20987
20988  is an example where 3
20989 \begin_inset space ~
20990 \end_inset
20991
20992 cells were rotated by 45
20993 \begin_inset space \thinspace{}
20994 \end_inset
20995
20996 °.
20997 \end_layout
20998
20999 \begin_layout Standard
21000 \begin_inset Float table
21001 placement h
21002 alignment document
21003 wide false
21004 sideways false
21005 status open
21006
21007 \begin_layout Plain Layout
21008 \begin_inset Caption Standard
21009
21010 \begin_layout Plain Layout
21011 \begin_inset CommandInset label
21012 LatexCommand label
21013 name "tab:Table-with-rotated"
21014
21015 \end_inset
21016
21017 Table with rotated cells in the first row.
21018 \end_layout
21019
21020 \end_inset
21021
21022
21023 \end_layout
21024
21025 \begin_layout Plain Layout
21026 \noindent
21027 \align center
21028 \begin_inset Tabular
21029 <lyxtabular version="3" rows="2" columns="3">
21030 <features tabularvalignment="middle">
21031 <column alignment="center" valignment="top" width="0pt">
21032 <column alignment="center" valignment="top" width="0pt">
21033 <column alignment="center" valignment="top" width="0pt">
21034 <row>
21035 <cell alignment="center" valignment="top" rotate="45" usebox="none">
21036 \begin_inset Text
21037
21038 \begin_layout Plain Layout
21039 cups
21040 \end_layout
21041
21042 \end_inset
21043 </cell>
21044 <cell alignment="center" valignment="top" rotate="45" usebox="none">
21045 \begin_inset Text
21046
21047 \begin_layout Plain Layout
21048 plates
21049 \end_layout
21050
21051 \end_inset
21052 </cell>
21053 <cell alignment="center" valignment="top" rotate="45" usebox="none">
21054 \begin_inset Text
21055
21056 \begin_layout Plain Layout
21057 saucers
21058 \end_layout
21059
21060 \end_inset
21061 </cell>
21062 </row>
21063 <row>
21064 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21065 \begin_inset Text
21066
21067 \begin_layout Plain Layout
21068 45
21069 \end_layout
21070
21071 \end_inset
21072 </cell>
21073 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21074 \begin_inset Text
21075
21076 \begin_layout Plain Layout
21077 33
21078 \end_layout
21079
21080 \end_inset
21081 </cell>
21082 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21083 \begin_inset Text
21084
21085 \begin_layout Plain Layout
21086 21
21087 \end_layout
21088
21089 \end_inset
21090 </cell>
21091 </row>
21092 </lyxtabular>
21093
21094 \end_inset
21095
21096
21097 \end_layout
21098
21099 \end_inset
21100
21101
21102 \end_layout
21103
21104 \begin_layout Standard
21105 \begin_inset Note Greyedout
21106 status open
21107
21108 \begin_layout Plain Layout
21109
21110 \series bold
21111 Note:
21112 \series default
21113  Line breaks (shortcut 
21114 \begin_inset Info
21115 type  "shortcut"
21116 arg   "newline-insert newline"
21117 \end_inset
21118
21119 ) are not allowed in rotated cells.
21120 \end_layout
21121
21122 \end_inset
21123
21124
21125 \end_layout
21126
21127 \begin_layout Standard
21128 If you want to rotate table cells containing line breaks, you have to put
21129  the cell content into a minipage or a parbox.
21130 \begin_inset Foot
21131 status collapsed
21132
21133 \begin_layout Plain Layout
21134 For more about these boxes see sec.
21135 \begin_inset space \thinspace{}
21136 \end_inset
21137
21138
21139 \begin_inset CommandInset ref
21140 LatexCommand ref
21141 reference "sec:Minipages"
21142
21143 \end_inset
21144
21145  and 
21146 \begin_inset CommandInset ref
21147 LatexCommand ref
21148 reference "sec:Parboxes"
21149
21150 \end_inset
21151
21152 .
21153 \end_layout
21154
21155 \end_inset
21156
21157  If you rotate this cell by 90
21158 \begin_inset space \thinspace{}
21159 \end_inset
21160
21161 ° the width of the box is the height of the cell.
21162  To avoid to estimate a suitable box width one can use a minipage with a
21163  variable width.
21164  Such a box is inserted by loading the module 
21165 \family sans
21166 Variable-width
21167 \begin_inset space ~
21168 \end_inset
21169
21170 Minipages
21171 \family default
21172  in the document settings.
21173  Then one can use the menu 
21174 \family sans
21175 Insert\SpecialChar menuseparator
21176 Custom
21177 \begin_inset space ~
21178 \end_inset
21179
21180 Insets\SpecialChar menuseparator
21181 Minipage
21182 \begin_inset space ~
21183 \end_inset
21184
21185
21186 \family default
21187 (Var.
21188 \begin_inset space ~
21189 \end_inset
21190
21191 Width).
21192  Table
21193 \begin_inset space ~
21194 \end_inset
21195
21196
21197 \begin_inset CommandInset ref
21198 LatexCommand ref
21199 reference "tab:Table-with-rotated-multi"
21200
21201 \end_inset
21202
21203  is an example for a rotated multiline cell where a variable width minipage
21204  is used.
21205 \end_layout
21206
21207 \begin_layout Standard
21208 \begin_inset Float table
21209 placement document
21210 alignment document
21211 wide false
21212 sideways false
21213 status open
21214
21215 \begin_layout Plain Layout
21216 \begin_inset Caption Standard
21217
21218 \begin_layout Plain Layout
21219 \begin_inset CommandInset label
21220 LatexCommand label
21221 name "tab:Table-with-rotated-multi"
21222
21223 \end_inset
21224
21225 Table with rotated multiline cell.
21226 \end_layout
21227
21228 \end_inset
21229
21230
21231 \end_layout
21232
21233 \begin_layout Plain Layout
21234 \noindent
21235 \align center
21236 \begin_inset Tabular
21237 <lyxtabular version="3" rows="2" columns="3">
21238 <features tabularvalignment="middle">
21239 <column alignment="center" valignment="top">
21240 <column alignment="center" valignment="top" width="0pt">
21241 <column alignment="center" valignment="top">
21242 <row>
21243 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21244 \begin_inset Text
21245
21246 \begin_layout Plain Layout
21247 a
21248 \end_layout
21249
21250 \end_inset
21251 </cell>
21252 <cell alignment="center" valignment="top" topline="true" leftline="true" rotate="90" usebox="none">
21253 \begin_inset Text
21254
21255 \begin_layout Plain Layout
21256 \begin_inset Flex Minipage (Var. Width)
21257 status open
21258
21259 \begin_layout Plain Layout
21260 rotated cell
21261 \begin_inset Newline newline
21262 \end_inset
21263
21264 with line break
21265 \begin_inset space ~
21266 \end_inset
21267
21268
21269 \end_layout
21270
21271 \end_inset
21272
21273
21274 \end_layout
21275
21276 \end_inset
21277 </cell>
21278 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21279 \begin_inset Text
21280
21281 \begin_layout Plain Layout
21282 e
21283 \end_layout
21284
21285 \end_inset
21286 </cell>
21287 </row>
21288 <row>
21289 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21290 \begin_inset Text
21291
21292 \begin_layout Plain Layout
21293 b
21294 \end_layout
21295
21296 \end_inset
21297 </cell>
21298 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21299 \begin_inset Text
21300
21301 \begin_layout Plain Layout
21302 c
21303 \end_layout
21304
21305 \end_inset
21306 </cell>
21307 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21308 \begin_inset Text
21309
21310 \begin_layout Plain Layout
21311 d
21312 \end_layout
21313
21314 \end_inset
21315 </cell>
21316 </row>
21317 </lyxtabular>
21318
21319 \end_inset
21320
21321
21322 \end_layout
21323
21324 \end_inset
21325
21326
21327 \end_layout
21328
21329 \begin_layout Section
21330 Table Width Calculation
21331 \begin_inset CommandInset label
21332 LatexCommand label
21333 name "sec:Table-Width-Calculation"
21334
21335 \end_inset
21336
21337
21338 \end_layout
21339
21340 \begin_layout Standard
21341 For wide tables it is sometimes difficult to assure that the table does
21342  not protrude over the page margin.
21343  Setting a fixed width for every column of the table is the solution, but
21344  what amount of space is needed for each column?
21345 \end_layout
21346
21347 \begin_layout Standard
21348 The table width 
21349 \begin_inset Formula $W_{\mathrm{table}}$
21350 \end_inset
21351
21352  can be calculated: Every column has the width of the specified column width
21353  
21354 \begin_inset Formula $W_{\mathrm{column}}$
21355 \end_inset
21356
21357  (that the content of the column can consume) plus two times the separation
21358  between the column content and the column border (\SpecialChar LaTeX
21359  length
21360 \series bold
21361  
21362 \backslash
21363 tabcolsep
21364 \series default
21365 , default 6
21366 \begin_inset space \thinspace{}
21367 \end_inset
21368
21369 pt) plus the width of a border line (\SpecialChar LaTeX
21370  length 
21371 \series bold
21372
21373 \backslash
21374 arrayrulewidth
21375 \series default
21376 , default 0.4
21377 \begin_inset space \thinspace{}
21378 \end_inset
21379
21380 pt): So if all 
21381 \begin_inset Formula $n$
21382 \end_inset
21383
21384
21385 \begin_inset space ~
21386 \end_inset
21387
21388 columns have the same width, the table width is
21389 \begin_inset Formula 
21390 \begin{equation}
21391 W_{\mathrm{table}}=n\left(W_{\mathrm{column}}+2\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}\right)+\backslash\mbox{arrayrulewidth}
21392 \end{equation}
21393
21394 \end_inset
21395
21396
21397 \end_layout
21398
21399 \begin_layout Standard
21400 The available width for a table is the space between the page margins or
21401  the width of a text column (for a two-column document) (\SpecialChar LaTeX
21402  length 
21403 \series bold
21404
21405 \backslash
21406 columnwidth
21407 \series default
21408 ).
21409  If all table columns should have the same width and 
21410 \begin_inset Formula $W_{\mathrm{table}}$
21411 \end_inset
21412
21413  should be 1
21414 \begin_inset space \thinspace{}
21415 \end_inset
21416
21417
21418 \backslash
21419 columnwidth, 
21420 \begin_inset Formula $W_{\mathrm{column}}$
21421 \end_inset
21422
21423  can easily be calculated.
21424 \end_layout
21425
21426 \begin_layout Standard
21427 To be able to perform calculations you need to load the \SpecialChar LaTeX
21428 -package 
21429 \series bold
21430 calc
21431 \series default
21432
21433 \begin_inset Index idx
21434 status collapsed
21435
21436 \begin_layout Plain Layout
21437 \SpecialChar LaTeX
21438 -packages ! calc
21439 \end_layout
21440
21441 \end_inset
21442
21443  in the document preamble.
21444  To set the width in the table dialog you have to use the field 
21445 \family sans
21446 \SpecialChar LaTeX
21447  argument
21448 \family default
21449 .
21450  The command scheme for this field is the same that is explained in section
21451 \begin_inset space ~
21452 \end_inset
21453
21454
21455 \begin_inset CommandInset ref
21456 LatexCommand ref
21457 reference "subsec:Multicolumn-Calculations"
21458
21459 \end_inset
21460
21461 .
21462  For a table with 5
21463 \begin_inset space \thinspace{}
21464 \end_inset
21465
21466 columns with an uniform width and centered text, enter there for each column
21467  the command
21468 \end_layout
21469
21470 \begin_layout Standard
21471
21472 \series bold
21473 >{
21474 \backslash
21475 centering}p{(1
21476 \backslash
21477 columnwidth-62.4pt)/5}
21478 \end_layout
21479
21480 \begin_layout Standard
21481 For a table with 5
21482 \begin_inset space \thinspace{}
21483 \end_inset
21484
21485 columns where 2 should have 0.75
21486 \begin_inset space ~
21487 \end_inset
21488
21489 times the width than the 3 others, the calculation is
21490 \begin_inset Formula 
21491 \begin{align}
21492 \backslash\mbox{columnwidth} & =3\,W_{\mathrm{column}}+2\cdot0.75\,W_{\mathrm{column}}+\backslash\mbox{arrayrulewidth}\nonumber \\
21493  & \phantom{=\,}+5\left(2\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}\right)\nonumber \\
21494  & =4.5\,W_{\mathrm{column}}+62.4\,\mathrm{pt}\nonumber \\
21495 W_{\mathrm{column}} & =\frac{\backslash\mbox{columnwidth}-62.4\,\mathrm{pt}}{4.5}
21496 \end{align}
21497
21498 \end_inset
21499
21500
21501 \end_layout
21502
21503 \begin_layout Standard
21504 In the table therefore the command
21505 \end_layout
21506
21507 \begin_layout Standard
21508
21509 \series bold
21510 >{
21511 \backslash
21512 centering}p{(1
21513 \backslash
21514 columnwidth-62.4pt)/
21515 \backslash
21516 real{4.5}}
21517 \end_layout
21518
21519 \begin_layout Standard
21520 is used for the wider columns and
21521 \end_layout
21522
21523 \begin_layout Standard
21524
21525 \series bold
21526 >{
21527 \backslash
21528 centering}p{(1
21529 \backslash
21530 columnwidth-62.4pt)/
21531 \backslash
21532 real{4.5}*
21533 \backslash
21534 real{0.75}}
21535 \end_layout
21536
21537 \begin_layout Standard
21538 for the smaller ones:
21539 \end_layout
21540
21541 \begin_layout Standard
21542 \begin_inset Tabular
21543 <lyxtabular version="3" rows="2" columns="5">
21544 <features tabularvalignment="middle">
21545 <column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
21546 <column alignment="center" valignment="top" width="0pt" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}*\real{0.75}}">
21547 <column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
21548 <column alignment="center" valignment="top" width="0pt" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}*\real{0.75}}">
21549 <column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
21550 <row>
21551 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21552 \begin_inset Text
21553
21554 \begin_layout Plain Layout
21555 1
21556 \end_layout
21557
21558 \end_inset
21559 </cell>
21560 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21561 \begin_inset Text
21562
21563 \begin_layout Plain Layout
21564 2
21565 \end_layout
21566
21567 \end_inset
21568 </cell>
21569 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21570 \begin_inset Text
21571
21572 \begin_layout Plain Layout
21573 3
21574 \end_layout
21575
21576 \end_inset
21577 </cell>
21578 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21579 \begin_inset Text
21580
21581 \begin_layout Plain Layout
21582 4
21583 \end_layout
21584
21585 \end_inset
21586 </cell>
21587 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21588 \begin_inset Text
21589
21590 \begin_layout Plain Layout
21591 5
21592 \end_layout
21593
21594 \end_inset
21595 </cell>
21596 </row>
21597 <row>
21598 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21599 \begin_inset Text
21600
21601 \begin_layout Plain Layout
21602 111111 1111111 111111 111111111 11111 11111 1111
21603 \end_layout
21604
21605 \end_inset
21606 </cell>
21607 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21608 \begin_inset Text
21609
21610 \begin_layout Plain Layout
21611
21612 \end_layout
21613
21614 \end_inset
21615 </cell>
21616 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21617 \begin_inset Text
21618
21619 \begin_layout Plain Layout
21620 2222 22222 222222 222222222 2222222 22 22222
21621 \end_layout
21622
21623 \end_inset
21624 </cell>
21625 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21626 \begin_inset Text
21627
21628 \begin_layout Plain Layout
21629
21630 \end_layout
21631
21632 \end_inset
21633 </cell>
21634 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21635 \begin_inset Text
21636
21637 \begin_layout Plain Layout
21638 333333 333333 333333 33333 3333333 333
21639 \end_layout
21640
21641 \end_inset
21642 </cell>
21643 </row>
21644 </lyxtabular>
21645
21646 \end_inset
21647
21648
21649 \end_layout
21650
21651 \begin_layout Section
21652 Table Customization
21653 \begin_inset Index idx
21654 status collapsed
21655
21656 \begin_layout Plain Layout
21657 Table Customization
21658 \end_layout
21659
21660 \end_inset
21661
21662
21663 \begin_inset Index idx
21664 status collapsed
21665
21666 \begin_layout Plain Layout
21667 Table ! Customization
21668 \end_layout
21669
21670 \end_inset
21671
21672
21673 \end_layout
21674
21675 \begin_layout Subsection
21676 Row Spacing
21677 \begin_inset CommandInset label
21678 LatexCommand label
21679 name "subsec:Row-Spacing"
21680
21681 \end_inset
21682
21683
21684 \begin_inset Index idx
21685 status collapsed
21686
21687 \begin_layout Plain Layout
21688 Table Customization ! Row Spacing
21689 \end_layout
21690
21691 \end_inset
21692
21693
21694 \end_layout
21695
21696 \begin_layout Standard
21697 You can add vertical space to table rows in the 
21698 \family sans
21699 Borders
21700 \family default
21701  tab of the table dialog.
21702  You find there three possibilities:
21703 \end_layout
21704
21705 \begin_layout Description
21706 Top
21707 \begin_inset space ~
21708 \end_inset
21709
21710 of
21711 \begin_inset space ~
21712 \end_inset
21713
21714 row will add space above the characters of the table row.
21715  If the table is a formal table
21716 \begin_inset Foot
21717 status collapsed
21718
21719 \begin_layout Plain Layout
21720 Formal tables are explained in section
21721 \begin_inset space ~
21722 \end_inset
21723
21724
21725 \begin_inset CommandInset ref
21726 LatexCommand ref
21727 reference "sec:Formal-Tables"
21728
21729 \end_inset
21730
21731 .
21732 \end_layout
21733
21734 \end_inset
21735
21736  \SpecialChar LyX
21737  will insert as default 0.5
21738 \begin_inset space \thinspace{}
21739 \end_inset
21740
21741 em space.
21742  For normal tables the inserted space will unfortunately destroy the vertical
21743  table lines as in the following table:
21744 \begin_inset VSpace medskip
21745 \end_inset
21746
21747
21748 \begin_inset Newline newline
21749 \end_inset
21750
21751
21752 \begin_inset space \hspace*{}
21753 \length 0pt
21754 \end_inset
21755
21756
21757 \begin_inset space \hfill{}
21758 \end_inset
21759
21760
21761 \begin_inset Tabular
21762 <lyxtabular version="3" rows="3" columns="1">
21763 <features tabularvalignment="middle">
21764 <column alignment="center" valignment="top">
21765 <row>
21766 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21767 \begin_inset Text
21768
21769 \begin_layout Plain Layout
21770 A
21771 \end_layout
21772
21773 \end_inset
21774 </cell>
21775 </row>
21776 <row topspace="3mm">
21777 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21778 \begin_inset Text
21779
21780 \begin_layout Plain Layout
21781 3
21782 \begin_inset space \thinspace{}
21783 \end_inset
21784
21785 mm space top of row
21786 \end_layout
21787
21788 \end_inset
21789 </cell>
21790 </row>
21791 <row>
21792 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21793 \begin_inset Text
21794
21795 \begin_layout Plain Layout
21796 C
21797 \end_layout
21798
21799 \end_inset
21800 </cell>
21801 </row>
21802 </lyxtabular>
21803
21804 \end_inset
21805
21806
21807 \begin_inset space \hfill{}
21808 \end_inset
21809
21810
21811 \begin_inset space \hspace*{}
21812 \length 0pt
21813 \end_inset
21814
21815
21816 \begin_inset VSpace medskip
21817 \end_inset
21818
21819
21820 \begin_inset Newline newline
21821 \end_inset
21822
21823 So inserting space in the top of row for normal tables is only useful when
21824  you don't have vertical lines.
21825 \end_layout
21826
21827 \begin_layout Description
21828 Bottom
21829 \begin_inset space ~
21830 \end_inset
21831
21832 of
21833 \begin_inset space ~
21834 \end_inset
21835
21836 row will add space below the characters of the table row.
21837  If the table is a formal table \SpecialChar LyX
21838  will insert as default 0.5
21839 \begin_inset space \thinspace{}
21840 \end_inset
21841
21842 em space, for normal tables the default size is 2
21843 \begin_inset space \thinspace{}
21844 \end_inset
21845
21846 pt.
21847 \end_layout
21848
21849 \begin_layout Description
21850 Between
21851 \begin_inset space ~
21852 \end_inset
21853
21854 rows adds space between the current and the following row.
21855  If the table is a formal table \SpecialChar LyX
21856  will insert as default 0.5
21857 \begin_inset space \thinspace{}
21858 \end_inset
21859
21860 em space.
21861  For normal tables the inserted space will unfortunately destroy the vertical
21862  table lines as in the following table:
21863 \begin_inset VSpace medskip
21864 \end_inset
21865
21866
21867 \begin_inset Newline newline
21868 \end_inset
21869
21870
21871 \begin_inset space \hspace*{}
21872 \length 0pt
21873 \end_inset
21874
21875
21876 \begin_inset space \hfill{}
21877 \end_inset
21878
21879
21880 \begin_inset Tabular
21881 <lyxtabular version="3" rows="3" columns="1">
21882 <features tabularvalignment="middle">
21883 <column alignment="center" valignment="top">
21884 <row>
21885 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21886 \begin_inset Text
21887
21888 \begin_layout Plain Layout
21889 A
21890 \end_layout
21891
21892 \end_inset
21893 </cell>
21894 </row>
21895 <row interlinespace="3mm">
21896 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21897 \begin_inset Text
21898
21899 \begin_layout Plain Layout
21900 \begin_inset Formula $\downarrow$
21901 \end_inset
21902
21903  3
21904 \begin_inset space \thinspace{}
21905 \end_inset
21906
21907 mm space between row 
21908 \begin_inset Formula $\downarrow$
21909 \end_inset
21910
21911
21912 \end_layout
21913
21914 \end_inset
21915 </cell>
21916 </row>
21917 <row>
21918 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21919 \begin_inset Text
21920
21921 \begin_layout Plain Layout
21922 \begin_inset Formula $\uparrow$
21923 \end_inset
21924
21925  3
21926 \begin_inset space \thinspace{}
21927 \end_inset
21928
21929 mm space between row 
21930 \begin_inset Formula $\uparrow$
21931 \end_inset
21932
21933
21934 \end_layout
21935
21936 \end_inset
21937 </cell>
21938 </row>
21939 </lyxtabular>
21940
21941 \end_inset
21942
21943
21944 \begin_inset space \hfill{}
21945 \end_inset
21946
21947
21948 \begin_inset space \hspace*{}
21949 \length 0pt
21950 \end_inset
21951
21952
21953 \begin_inset VSpace medskip
21954 \end_inset
21955
21956
21957 \begin_inset Newline newline
21958 \end_inset
21959
21960 So inserting space between rows for normal tables is only useful when you
21961  don't have vertical lines.
21962 \end_layout
21963
21964 \begin_layout Standard
21965 \begin_inset VSpace bigskip
21966 \end_inset
21967
21968 When you want to add extra height to all cells of all tables, you can do
21969  this with the following preamble lines:
21970 \end_layout
21971
21972 \begin_layout Standard
21973
21974 \series bold
21975
21976 \backslash
21977 @ifundefined{extrarowheight}
21978 \begin_inset Newline newline
21979 \end_inset
21980
21981
21982 \begin_inset Phantom HPhantom
21983 status open
21984
21985 \begin_layout Plain Layout
21986
21987 \series bold
21988 \begin_inset space ~
21989 \end_inset
21990
21991
21992 \end_layout
21993
21994 \end_inset
21995
21996 {
21997 \backslash
21998 usepackage{array}}{}
21999 \begin_inset Newline newline
22000 \end_inset
22001
22002
22003 \backslash
22004 setlength{
22005 \backslash
22006 extrarowheight}{height}
22007 \series default
22008
22009 \begin_inset Note Note
22010 status collapsed
22011
22012 \begin_layout Plain Layout
22013 The package 
22014 \series bold
22015 array
22016 \series default
22017  will be loaded automatically by \SpecialChar LyX
22018  when you use self defined table formats.
22019  To avoid that it is loaded twice the command 
22020 \series bold
22021
22022 \backslash
22023 @ifundefined
22024 \series default
22025  is used in the above command.
22026 \end_layout
22027
22028 \end_inset
22029
22030
22031 \end_layout
22032
22033 \begin_layout Standard
22034 where the 
22035 \family sans
22036 height
22037 \family default
22038  can have one of the units listed in appendix
22039 \begin_inset space ~
22040 \end_inset
22041
22042
22043 \begin_inset CommandInset ref
22044 LatexCommand ref
22045 reference "cha:Units-available-in"
22046
22047 \end_inset
22048
22049 .
22050  But this has the disadvantage that the cell texts are no longer exactly
22051  vertically centered.
22052 \end_layout
22053
22054 \begin_layout Standard
22055 If you are using font sizes larger than the normal size, the table borders
22056  are often too close to the letters.
22057  This can be corrected by inserting the command 
22058 \series bold
22059
22060 \backslash
22061 strut
22062 \series default
22063  in \SpecialChar TeX
22064  Code at the beginning of a table row.
22065  Table
22066 \begin_inset space ~
22067 \end_inset
22068
22069
22070 \begin_inset CommandInset ref
22071 LatexCommand ref
22072 reference "tab:Vertical-alignment-of"
22073
22074 \end_inset
22075
22076  illustrates the effect.
22077 \end_layout
22078
22079 \begin_layout Standard
22080 \noindent
22081 \begin_inset Float table
22082 placement h
22083 alignment document
22084 wide false
22085 sideways false
22086 status open
22087
22088 \begin_layout Plain Layout
22089 \begin_inset Caption Standard
22090
22091 \begin_layout Plain Layout
22092 \begin_inset CommandInset label
22093 LatexCommand label
22094 name "tab:Vertical-alignment-of"
22095
22096 \end_inset
22097
22098 Vertical alignment of text with large font sizes.
22099 \end_layout
22100
22101 \end_inset
22102
22103
22104 \end_layout
22105
22106 \begin_layout Plain Layout
22107 \begin_inset space \hfill{}
22108 \end_inset
22109
22110
22111 \begin_inset Float table
22112 placement document
22113 alignment document
22114 wide false
22115 sideways false
22116 status collapsed
22117
22118 \begin_layout Plain Layout
22119 \begin_inset Caption Standard
22120
22121 \begin_layout Plain Layout
22122 Normal table.
22123 \end_layout
22124
22125 \end_inset
22126
22127
22128 \end_layout
22129
22130 \begin_layout Plain Layout
22131 \noindent
22132 \align center
22133 \begin_inset Tabular
22134 <lyxtabular version="3" rows="6" columns="1">
22135 <features tabularvalignment="middle">
22136 <column alignment="left" valignment="top">
22137 <row>
22138 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22139 \begin_inset Text
22140
22141 \begin_layout Plain Layout
22142 Normal, g
22143 \end_layout
22144
22145 \end_inset
22146 </cell>
22147 </row>
22148 <row>
22149 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22150 \begin_inset Text
22151
22152 \begin_layout Plain Layout
22153
22154 \size large
22155 Large
22156 \end_layout
22157
22158 \end_inset
22159 </cell>
22160 </row>
22161 <row>
22162 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22163 \begin_inset Text
22164
22165 \begin_layout Plain Layout
22166
22167 \size larger
22168 Larger
22169 \end_layout
22170
22171 \end_inset
22172 </cell>
22173 </row>
22174 <row>
22175 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22176 \begin_inset Text
22177
22178 \begin_layout Plain Layout
22179
22180 \size largest
22181 Largest
22182 \end_layout
22183
22184 \end_inset
22185 </cell>
22186 </row>
22187 <row>
22188 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22189 \begin_inset Text
22190
22191 \begin_layout Plain Layout
22192
22193 \size huge
22194 Huge
22195 \end_layout
22196
22197 \end_inset
22198 </cell>
22199 </row>
22200 <row>
22201 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22202 \begin_inset Text
22203
22204 \begin_layout Plain Layout
22205
22206 \size huge
22207 Huger
22208 \end_layout
22209
22210 \end_inset
22211 </cell>
22212 </row>
22213 </lyxtabular>
22214
22215 \end_inset
22216
22217
22218 \end_layout
22219
22220 \end_inset
22221
22222
22223 \begin_inset space \hfill{}
22224 \end_inset
22225
22226
22227 \begin_inset Float table
22228 placement document
22229 alignment document
22230 wide false
22231 sideways false
22232 status collapsed
22233
22234 \begin_layout Plain Layout
22235 \begin_inset Caption Standard
22236
22237 \begin_layout Plain Layout
22238 Table using the command 
22239 \series bold
22240
22241 \backslash
22242 strut
22243 \series default
22244 .
22245 \end_layout
22246
22247 \end_inset
22248
22249
22250 \end_layout
22251
22252 \begin_layout Plain Layout
22253 \noindent
22254 \align center
22255 \begin_inset Tabular
22256 <lyxtabular version="3" rows="6" columns="1">
22257 <features tabularvalignment="middle">
22258 <column alignment="left" valignment="top">
22259 <row>
22260 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22261 \begin_inset Text
22262
22263 \begin_layout Plain Layout
22264 Normal, g
22265 \end_layout
22266
22267 \end_inset
22268 </cell>
22269 </row>
22270 <row>
22271 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22272 \begin_inset Text
22273
22274 \begin_layout Plain Layout
22275
22276 \size large
22277 \begin_inset ERT
22278 status collapsed
22279
22280 \begin_layout Plain Layout
22281
22282
22283 \backslash
22284 strut 
22285 \end_layout
22286
22287 \end_inset
22288
22289 Large
22290 \end_layout
22291
22292 \end_inset
22293 </cell>
22294 </row>
22295 <row>
22296 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22297 \begin_inset Text
22298
22299 \begin_layout Plain Layout
22300
22301 \size larger
22302 \begin_inset ERT
22303 status collapsed
22304
22305 \begin_layout Plain Layout
22306
22307
22308 \backslash
22309 strut 
22310 \end_layout
22311
22312 \end_inset
22313
22314 Larger
22315 \end_layout
22316
22317 \end_inset
22318 </cell>
22319 </row>
22320 <row>
22321 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22322 \begin_inset Text
22323
22324 \begin_layout Plain Layout
22325
22326 \size largest
22327 \begin_inset ERT
22328 status collapsed
22329
22330 \begin_layout Plain Layout
22331
22332
22333 \backslash
22334 strut 
22335 \end_layout
22336
22337 \end_inset
22338
22339 Largest
22340 \end_layout
22341
22342 \end_inset
22343 </cell>
22344 </row>
22345 <row>
22346 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22347 \begin_inset Text
22348
22349 \begin_layout Plain Layout
22350
22351 \size huge
22352 \begin_inset ERT
22353 status collapsed
22354
22355 \begin_layout Plain Layout
22356
22357
22358 \backslash
22359 strut 
22360 \end_layout
22361
22362 \end_inset
22363
22364 Huge
22365 \end_layout
22366
22367 \end_inset
22368 </cell>
22369 </row>
22370 <row>
22371 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22372 \begin_inset Text
22373
22374 \begin_layout Plain Layout
22375
22376 \size giant
22377 \begin_inset ERT
22378 status collapsed
22379
22380 \begin_layout Plain Layout
22381
22382
22383 \backslash
22384 strut 
22385 \end_layout
22386
22387 \end_inset
22388
22389
22390 \size huge
22391 Huger
22392 \end_layout
22393
22394 \end_inset
22395 </cell>
22396 </row>
22397 </lyxtabular>
22398
22399 \end_inset
22400
22401
22402 \end_layout
22403
22404 \end_inset
22405
22406
22407 \begin_inset space \hfill{}
22408 \end_inset
22409
22410
22411 \end_layout
22412
22413 \end_inset
22414
22415
22416 \end_layout
22417
22418 \begin_layout Subsection
22419 Special Cell Alignment
22420 \begin_inset CommandInset label
22421 LatexCommand label
22422 name "subsec:Special-Cell-Alignment"
22423
22424 \end_inset
22425
22426
22427 \begin_inset Index idx
22428 status collapsed
22429
22430 \begin_layout Plain Layout
22431 Table Customization ! Special Cell Alignment
22432 \end_layout
22433
22434 \end_inset
22435
22436
22437 \end_layout
22438
22439 \begin_layout Standard
22440 Sometimes it looks better when the cell entries of a column are aligned
22441  with a special character, e.
22442 \begin_inset space \thinspace{}
22443 \end_inset
22444
22445 g.
22446 \begin_inset space \space{}
22447 \end_inset
22448
22449 with the decimal separator as in Table
22450 \begin_inset space ~
22451 \end_inset
22452
22453
22454 \begin_inset CommandInset ref
22455 LatexCommand ref
22456 reference "tab:Table-cells-align"
22457
22458 \end_inset
22459
22460 .
22461  This alignment is achieved by setting the cursor into the column and then
22462  either pressing the toolbar button 
22463 \begin_inset Info
22464 type  "icon"
22465 arg   "tabular-feature align-decimal"
22466 \end_inset
22467
22468  or setting the alignment in the table settings to 
22469 \family sans
22470 At
22471 \begin_inset space ~
22472 \end_inset
22473
22474 Decimal
22475 \begin_inset space ~
22476 \end_inset
22477
22478 Separator
22479 \family default
22480 .
22481  The alignment character can be a character of your choice and is specified
22482  in the table settings.
22483 \end_layout
22484
22485 \begin_layout Standard
22486 \begin_inset Float table
22487 placement h
22488 alignment document
22489 wide false
22490 sideways false
22491 status open
22492
22493 \begin_layout Plain Layout
22494 \begin_inset Caption Standard
22495
22496 \begin_layout Plain Layout
22497 \begin_inset CommandInset label
22498 LatexCommand label
22499 name "tab:Table-cells-align"
22500
22501 \end_inset
22502
22503 Table cells of a column aligned with the decimal separator.
22504 \end_layout
22505
22506 \end_inset
22507
22508
22509 \end_layout
22510
22511 \begin_layout Plain Layout
22512 \align center
22513 \begin_inset Tabular
22514 <lyxtabular version="3" rows="4" columns="1">
22515 <features booktabs="true" tabularvalignment="middle">
22516 <column alignment="decimal" decimal_point="." valignment="top" width="0pt">
22517 <row>
22518 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
22519 \begin_inset Text
22520
22521 \begin_layout Plain Layout
22522 heading
22523 \end_layout
22524
22525 \end_inset
22526 </cell>
22527 </row>
22528 <row>
22529 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22530 \begin_inset Text
22531
22532 \begin_layout Plain Layout
22533 12.6
22534 \end_layout
22535
22536 \end_inset
22537 </cell>
22538 </row>
22539 <row>
22540 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
22541 \begin_inset Text
22542
22543 \begin_layout Plain Layout
22544 0.68
22545 \end_layout
22546
22547 \end_inset
22548 </cell>
22549 </row>
22550 <row>
22551 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
22552 \begin_inset Text
22553
22554 \begin_layout Plain Layout
22555 -123.0
22556 \end_layout
22557
22558 \end_inset
22559 </cell>
22560 </row>
22561 </lyxtabular>
22562
22563 \end_inset
22564
22565
22566 \end_layout
22567
22568 \end_inset
22569
22570
22571 \end_layout
22572
22573 \begin_layout Standard
22574 \begin_inset Float table
22575 placement h
22576 alignment document
22577 wide false
22578 sideways false
22579 status open
22580
22581 \begin_layout Plain Layout
22582 \begin_inset Caption Standard
22583
22584 \begin_layout Plain Layout
22585 \begin_inset CommandInset label
22586 LatexCommand label
22587 name "tab:Table-align-operator"
22588
22589 \end_inset
22590
22591 Table cells of a column aligned with the operators.
22592 \end_layout
22593
22594 \end_inset
22595
22596
22597 \end_layout
22598
22599 \begin_layout Plain Layout
22600 \align center
22601 \begin_inset Tabular
22602 <lyxtabular version="3" rows="4" columns="2">
22603 <features booktabs="true" tabularvalignment="middle">
22604 <column alignment="right" valignment="top" width="0pt">
22605 <column alignment="left" valignment="top" width="0pt" special="@{}l">
22606 <row>
22607 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
22608 \begin_inset Text
22609
22610 \begin_layout Plain Layout
22611 heading
22612 \end_layout
22613
22614 \end_inset
22615 </cell>
22616 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22617 \begin_inset Text
22618
22619 \begin_layout Plain Layout
22620
22621 \end_layout
22622
22623 \end_inset
22624 </cell>
22625 </row>
22626 <row>
22627 <cell alignment="center" valignment="top" usebox="none">
22628 \begin_inset Text
22629
22630 \begin_layout Plain Layout
22631 \begin_inset Formula $12\,+$
22632 \end_inset
22633
22634
22635 \end_layout
22636
22637 \end_inset
22638 </cell>
22639 <cell alignment="center" valignment="top" usebox="none">
22640 \begin_inset Text
22641
22642 \begin_layout Plain Layout
22643 \begin_inset Formula $\,6$
22644 \end_inset
22645
22646
22647 \end_layout
22648
22649 \end_inset
22650 </cell>
22651 </row>
22652 <row>
22653 <cell alignment="center" valignment="top" usebox="none">
22654 \begin_inset Text
22655
22656 \begin_layout Plain Layout
22657 \begin_inset Formula $0\,-$
22658 \end_inset
22659
22660
22661 \end_layout
22662
22663 \end_inset
22664 </cell>
22665 <cell alignment="center" valignment="top" usebox="none">
22666 \begin_inset Text
22667
22668 \begin_layout Plain Layout
22669 \begin_inset Formula $\,68$
22670 \end_inset
22671
22672
22673 \end_layout
22674
22675 \end_inset
22676 </cell>
22677 </row>
22678 <row>
22679 <cell alignment="center" valignment="top" usebox="none">
22680 \begin_inset Text
22681
22682 \begin_layout Plain Layout
22683 \begin_inset Formula $-123\,/$
22684 \end_inset
22685
22686
22687 \end_layout
22688
22689 \end_inset
22690 </cell>
22691 <cell alignment="center" valignment="top" usebox="none">
22692 \begin_inset Text
22693
22694 \begin_layout Plain Layout
22695 \begin_inset Formula $\,0$
22696 \end_inset
22697
22698
22699 \end_layout
22700
22701 \end_inset
22702 </cell>
22703 </row>
22704 </lyxtabular>
22705
22706 \end_inset
22707
22708
22709 \end_layout
22710
22711 \end_inset
22712
22713
22714 \end_layout
22715
22716 \begin_layout Standard
22717 For alignments at characters in formulas this method does not work because
22718  the field to specify the alignment character does not allow formulas.
22719  In this case one need to use the method from Table
22720 \begin_inset space ~
22721 \end_inset
22722
22723
22724 \begin_inset CommandInset ref
22725 LatexCommand ref
22726 reference "tab:Table-align-operator"
22727
22728 \end_inset
22729
22730 .
22731  This table was created with a 4×2 table.
22732  The heading is a centered multicolumn.
22733  The first column is right-aligned and contains the first part including
22734  the operator.
22735  The second column is left aligned and contains the rest.
22736  A small space was added at the beginning of each cell of the second column
22737  to get the space that is usually around operators.
22738  To omit the space that is normally between two table columns, the following
22739  \SpecialChar LaTeX
22740 -argument was used for the second column:
22741 \end_layout
22742
22743 \begin_layout Standard
22744
22745 \series bold
22746 @{}l
22747 \end_layout
22748
22749 \begin_layout Standard
22750 Table
22751 \begin_inset space ~
22752 \end_inset
22753
22754
22755 \begin_inset CommandInset ref
22756 LatexCommand ref
22757 reference "tab:Several-table-cell"
22758
22759 \end_inset
22760
22761  shows some example alignments.
22762  For the alignment with the relation sign, a small space was added like
22763  for the second column of Table
22764 \begin_inset space ~
22765 \end_inset
22766
22767
22768 \begin_inset CommandInset ref
22769 LatexCommand ref
22770 reference "tab:Table-align-operator"
22771
22772 \end_inset
22773
22774 .
22775 \end_layout
22776
22777 \begin_layout Standard
22778 \begin_inset Float table
22779 placement h
22780 alignment document
22781 wide false
22782 sideways false
22783 status open
22784
22785 \begin_layout Plain Layout
22786 \begin_inset Caption Standard
22787
22788 \begin_layout Plain Layout
22789 \begin_inset CommandInset label
22790 LatexCommand label
22791 name "tab:Several-table-cell"
22792
22793 \end_inset
22794
22795 Several table cell alignments.
22796 \end_layout
22797
22798 \end_inset
22799
22800
22801 \end_layout
22802
22803 \begin_layout Plain Layout
22804 \align center
22805 \begin_inset Tabular
22806 <lyxtabular version="3" rows="4" columns="6">
22807 <features tabularvalignment="middle">
22808 <column alignment="right" valignment="top">
22809 <column alignment="left" valignment="top" special="@{}l">
22810 <column alignment="right" valignment="top">
22811 <column alignment="left" valignment="top" special="@{}l">
22812 <column alignment="right" valignment="top">
22813 <column alignment="left" valignment="top" special="@{}l">
22814 <row>
22815 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
22816 \begin_inset Text
22817
22818 \begin_layout Plain Layout
22819 units
22820 \end_layout
22821
22822 \end_inset
22823 </cell>
22824 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22825 \begin_inset Text
22826
22827 \begin_layout Plain Layout
22828
22829 \end_layout
22830
22831 \end_inset
22832 </cell>
22833 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
22834 \begin_inset Text
22835
22836 \begin_layout Plain Layout
22837 exponents
22838 \end_layout
22839
22840 \end_inset
22841 </cell>
22842 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22843 \begin_inset Text
22844
22845 \begin_layout Plain Layout
22846
22847 \end_layout
22848
22849 \end_inset
22850 </cell>
22851 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
22852 \begin_inset Text
22853
22854 \begin_layout Plain Layout
22855 relations
22856 \end_layout
22857
22858 \end_inset
22859 </cell>
22860 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22861 \begin_inset Text
22862
22863 \begin_layout Plain Layout
22864
22865 \end_layout
22866
22867 \end_inset
22868 </cell>
22869 </row>
22870 <row>
22871 <cell alignment="center" valignment="top" usebox="none">
22872 \begin_inset Text
22873
22874 \begin_layout Plain Layout
22875 12×
22876 \end_layout
22877
22878 \end_inset
22879 </cell>
22880 <cell alignment="center" valignment="top" rightline="true" usebox="none">
22881 \begin_inset Text
22882
22883 \begin_layout Plain Layout
22884 24
22885 \begin_inset space \thinspace{}
22886 \end_inset
22887
22888 bottles
22889 \end_layout
22890
22891 \end_inset
22892 </cell>
22893 <cell alignment="center" valignment="top" usebox="none">
22894 \begin_inset Text
22895
22896 \begin_layout Plain Layout
22897 \begin_inset Formula $10\cdot$
22898 \end_inset
22899
22900
22901 \end_layout
22902
22903 \end_inset
22904 </cell>
22905 <cell alignment="center" valignment="top" rightline="true" usebox="none">
22906 \begin_inset Text
22907
22908 \begin_layout Plain Layout
22909 \begin_inset Formula $10^{\mbox{-}17}$
22910 \end_inset
22911
22912
22913 \end_layout
22914
22915 \end_inset
22916 </cell>
22917 <cell alignment="center" valignment="top" usebox="none">
22918 \begin_inset Text
22919
22920 \begin_layout Plain Layout
22921 \begin_inset Formula $\Gamma(t)\propto$
22922 \end_inset
22923
22924
22925 \end_layout
22926
22927 \end_inset
22928 </cell>
22929 <cell alignment="center" valignment="top" usebox="none">
22930 \begin_inset Text
22931
22932 \begin_layout Plain Layout
22933 \begin_inset Formula $\:\Upsilon(t)$
22934 \end_inset
22935
22936
22937 \end_layout
22938
22939 \end_inset
22940 </cell>
22941 </row>
22942 <row>
22943 <cell alignment="center" valignment="top" usebox="none">
22944 \begin_inset Text
22945
22946 \begin_layout Plain Layout
22947 1024×
22948 \end_layout
22949
22950 \end_inset
22951 </cell>
22952 <cell alignment="center" valignment="top" rightline="true" usebox="none">
22953 \begin_inset Text
22954
22955 \begin_layout Plain Layout
22956 768
22957 \begin_inset space \thinspace{}
22958 \end_inset
22959
22960 Pixels
22961 \end_layout
22962
22963 \end_inset
22964 </cell>
22965 <cell alignment="center" valignment="top" usebox="none">
22966 \begin_inset Text
22967
22968 \begin_layout Plain Layout
22969 \begin_inset Formula $5.78\cdot$
22970 \end_inset
22971
22972
22973 \end_layout
22974
22975 \end_inset
22976 </cell>
22977 <cell alignment="center" valignment="top" rightline="true" usebox="none">
22978 \begin_inset Text
22979
22980 \begin_layout Plain Layout
22981 \begin_inset Formula $10^{7}$
22982 \end_inset
22983
22984
22985 \end_layout
22986
22987 \end_inset
22988 </cell>
22989 <cell alignment="center" valignment="top" usebox="none">
22990 \begin_inset Text
22991
22992 \begin_layout Plain Layout
22993 \begin_inset Formula $A\ne$
22994 \end_inset
22995
22996
22997 \end_layout
22998
22999 \end_inset
23000 </cell>
23001 <cell alignment="center" valignment="top" usebox="none">
23002 \begin_inset Text
23003
23004 \begin_layout Plain Layout
23005 \begin_inset Formula $\:B_{\mathrm{red}}$
23006 \end_inset
23007
23008
23009 \end_layout
23010
23011 \end_inset
23012 </cell>
23013 </row>
23014 <row>
23015 <cell alignment="center" valignment="top" usebox="none">
23016 \begin_inset Text
23017
23018 \begin_layout Plain Layout
23019 32×
23020 \end_layout
23021
23022 \end_inset
23023 </cell>
23024 <cell alignment="center" valignment="top" rightline="true" usebox="none">
23025 \begin_inset Text
23026
23027 \begin_layout Plain Layout
23028 6
23029 \begin_inset space \thinspace{}
23030 \end_inset
23031
23032 cm
23033 \end_layout
23034
23035 \end_inset
23036 </cell>
23037 <cell alignment="center" valignment="top" usebox="none">
23038 \begin_inset Text
23039
23040 \begin_layout Plain Layout
23041 -
23042 \begin_inset Formula $33.5\cdot$
23043 \end_inset
23044
23045
23046 \end_layout
23047
23048 \end_inset
23049 </cell>
23050 <cell alignment="center" valignment="top" rightline="true" usebox="none">
23051 \begin_inset Text
23052
23053 \begin_layout Plain Layout
23054 \begin_inset Formula $10^{4}$
23055 \end_inset
23056
23057
23058 \end_layout
23059
23060 \end_inset
23061 </cell>
23062 <cell alignment="center" valignment="top" usebox="none">
23063 \begin_inset Text
23064
23065 \begin_layout Plain Layout
23066 \begin_inset Formula $\sin(\alpha)\ge$
23067 \end_inset
23068
23069
23070 \end_layout
23071
23072 \end_inset
23073 </cell>
23074 <cell alignment="center" valignment="top" usebox="none">
23075 \begin_inset Text
23076
23077 \begin_layout Plain Layout
23078 \begin_inset Formula $\:\sin(\beta)$
23079 \end_inset
23080
23081
23082 \end_layout
23083
23084 \end_inset
23085 </cell>
23086 </row>
23087 </lyxtabular>
23088
23089 \end_inset
23090
23091
23092 \end_layout
23093
23094 \end_inset
23095
23096
23097 \end_layout
23098
23099 \begin_layout Subsection
23100 Customized Cell/Column Format
23101 \begin_inset CommandInset label
23102 LatexCommand label
23103 name "subsec:Customized-Format"
23104
23105 \end_inset
23106
23107
23108 \begin_inset Index idx
23109 status collapsed
23110
23111 \begin_layout Plain Layout
23112 Table Customization ! Cell/Column Format
23113 \end_layout
23114
23115 \end_inset
23116
23117
23118 \end_layout
23119
23120 \begin_layout Standard
23121 Calculating the required width for normal columns as described in section
23122 \begin_inset space ~
23123 \end_inset
23124
23125
23126 \begin_inset CommandInset ref
23127 LatexCommand ref
23128 reference "sec:Table-Width-Calculation"
23129
23130 \end_inset
23131
23132  or for spanned columns as described in section
23133 \begin_inset space ~
23134 \end_inset
23135
23136
23137 \begin_inset CommandInset ref
23138 LatexCommand ref
23139 reference "subsec:Multicolumn-Calculations"
23140
23141 \end_inset
23142
23143  is very annoying if you have several tables where a calculation is necessary.
23144  To make life easier, you can define a cell/column format in the preamble,
23145  that can be used in all tables of the document.
23146  The format is defined with the command
23147 \end_layout
23148
23149 \begin_layout Standard
23150
23151 \series bold
23152
23153 \backslash
23154 newcolumntype{name of format}[number of arguments]{commands}
23155 \end_layout
23156
23157 \begin_layout Standard
23158 The format name may only consist of one letter.
23159  The letters 
23160 \emph on
23161 b
23162 \emph default
23163
23164 \emph on
23165 c
23166 \emph default
23167
23168 \emph on
23169 l
23170 \emph default
23171
23172 \emph on
23173 m
23174 \emph default
23175
23176 \emph on
23177 p
23178 \emph default
23179  and 
23180 \emph on
23181 r
23182 \emph default
23183  are predefined and cannot be used.
23184  But all letters are allowed as capitals.
23185 \end_layout
23186
23187 \begin_layout Standard
23188 \begin_inset VSpace medskip
23189 \end_inset
23190
23191
23192 \end_layout
23193
23194 \begin_layout Standard
23195 For vertically and horizontally centered multicolumn cells with a fixed
23196  width you can define the cell format
23197 \end_layout
23198
23199 \begin_layout Standard
23200
23201 \series bold
23202
23203 \backslash
23204 newcolumntype{M}[1]{>{
23205 \backslash
23206 centering
23207 \backslash
23208 hspace{0pt}}m{#1}}
23209 \end_layout
23210
23211 \begin_layout Standard
23212 where 
23213 \series bold
23214
23215 \backslash
23216 hspace{0pt}
23217 \series default
23218  avoids the problem of hyphenating the first word, as described in section
23219 \begin_inset space ~
23220 \end_inset
23221
23222
23223 \begin_inset CommandInset ref
23224 LatexCommand ref
23225 reference "subsec:Multiple-Lines-in"
23226
23227 \end_inset
23228
23229 .
23230  Now you can simply enter
23231 \end_layout
23232
23233 \begin_layout Standard
23234
23235 \series bold
23236 M{width}
23237 \end_layout
23238
23239 \begin_layout Standard
23240 as 
23241 \family sans
23242 \SpecialChar LaTeX
23243 -argument
23244 \family default
23245  in the table dialog to create a multicolumn.
23246 \end_layout
23247
23248 \begin_layout Standard
23249 \begin_inset VSpace bigskip
23250 \end_inset
23251
23252
23253 \end_layout
23254
23255 \begin_layout Standard
23256 For cells spanned by a multicolumn cell, you can define the format
23257 \end_layout
23258
23259 \begin_layout Standard
23260
23261 \series bold
23262
23263 \backslash
23264 newcolumntype{S}[2]{>{
23265 \backslash
23266 centering
23267 \backslash
23268 hspace{0pt}}
23269 \begin_inset Newline newline
23270 \end_inset
23271
23272
23273 \begin_inset Phantom HPhantom
23274 status open
23275
23276 \begin_layout Plain Layout
23277
23278 \series bold
23279
23280 \backslash
23281 newcolumntype
23282 \end_layout
23283
23284 \end_inset
23285
23286 m{(#1+(2
23287 \backslash
23288 tabcolsep+
23289 \backslash
23290 arrayrulewidth)*(1-#2))/#2}}
23291 \end_layout
23292
23293 \begin_layout Standard
23294 This format uses equation 
23295 \begin_inset CommandInset ref
23296 LatexCommand eqref
23297 reference "eq:Wgn"
23298
23299 \end_inset
23300
23301  to calculate the required width so that each spanned cell has the same
23302  width.
23303 \end_layout
23304
23305 \begin_layout Standard
23306 You can now enter
23307 \end_layout
23308
23309 \begin_layout Standard
23310
23311 \series bold
23312 S{width of multicolumn cell}{number of spanned columns}
23313 \end_layout
23314
23315 \begin_layout Standard
23316 as \SpecialChar LaTeX
23317 -argument of the column.
23318 \end_layout
23319
23320 \begin_layout Standard
23321 \begin_inset VSpace bigskip
23322 \end_inset
23323
23324
23325 \end_layout
23326
23327 \begin_layout Standard
23328 For colored columns, you can define
23329 \end_layout
23330
23331 \begin_layout Standard
23332
23333 \series bold
23334
23335 \backslash
23336 newcolumntype{K}[1]{>{
23337 \backslash
23338 columncolor{#1}
23339 \backslash
23340 hspace{0pt}}c}
23341 \end_layout
23342
23343 \begin_layout Standard
23344 The 
23345 \begin_inset Quotes eld
23346 \end_inset
23347
23348 c
23349 \begin_inset Quotes erd
23350 \end_inset
23351
23352  at the end creates a column with a flexible width whose text is horizontally
23353  centered.
23354  You can now enter
23355 \end_layout
23356
23357 \begin_layout Standard
23358
23359 \series bold
23360 K{color name}
23361 \end_layout
23362
23363 \begin_layout Standard
23364 as \SpecialChar LaTeX
23365 -argument.
23366 \end_layout
23367
23368 \begin_layout Standard
23369 \begin_inset VSpace bigskip
23370 \end_inset
23371
23372
23373 \end_layout
23374
23375 \begin_layout Standard
23376 To create Table
23377 \begin_inset space ~
23378 \end_inset
23379
23380
23381 \begin_inset CommandInset ref
23382 LatexCommand ref
23383 reference "tab:Table-using-user-defined"
23384
23385 \end_inset
23386
23387  use the \SpecialChar LaTeX
23388 -arguments
23389 \end_layout
23390
23391 \begin_layout Standard
23392
23393 \series bold
23394 M{2.5cm}
23395 \end_layout
23396
23397 \begin_layout Standard
23398 for the first column and the multicolumn,
23399 \end_layout
23400
23401 \begin_layout Standard
23402
23403 \series bold
23404 K{red}
23405 \end_layout
23406
23407 \begin_layout Standard
23408 for the last column, and
23409 \end_layout
23410
23411 \begin_layout Standard
23412
23413 \series bold
23414 S{2.5cm}{2}
23415 \end_layout
23416
23417 \begin_layout Standard
23418 for the cells in the second column.
23419 \end_layout
23420
23421 \begin_layout Standard
23422 \begin_inset Float table
23423 placement h
23424 alignment document
23425 wide false
23426 sideways false
23427 status open
23428
23429 \begin_layout Plain Layout
23430 \begin_inset Caption Standard
23431
23432 \begin_layout Plain Layout
23433 \begin_inset CommandInset label
23434 LatexCommand label
23435 name "tab:Table-using-user-defined"
23436
23437 \end_inset
23438
23439 Table using user-defined table formats
23440 \end_layout
23441
23442 \end_inset
23443
23444
23445 \end_layout
23446
23447 \begin_layout Plain Layout
23448 \align center
23449 \begin_inset Tabular
23450 <lyxtabular version="3" rows="3" columns="4">
23451 <features tabularvalignment="middle">
23452 <column alignment="center" valignment="middle" width="2.5cm" special="M{2.5cm}">
23453 <column alignment="center" valignment="middle" special="S{2.5cm}{2}">
23454 <column alignment="center" valignment="middle">
23455 <column alignment="center" valignment="middle" special="K{red}">
23456 <row>
23457 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23458 \begin_inset Text
23459
23460 \begin_layout Plain Layout
23461 verylongtablecellword
23462 \end_layout
23463
23464 \end_inset
23465 </cell>
23466 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="M{2.5cm}">
23467 \begin_inset Text
23468
23469 \begin_layout Plain Layout
23470 multiple lines multicolumn
23471 \end_layout
23472
23473 \end_inset
23474 </cell>
23475 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23476 \begin_inset Text
23477
23478 \begin_layout Plain Layout
23479
23480 \end_layout
23481
23482 \end_inset
23483 </cell>
23484 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23485 \begin_inset Text
23486
23487 \begin_layout Plain Layout
23488 c
23489 \end_layout
23490
23491 \end_inset
23492 </cell>
23493 </row>
23494 <row>
23495 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23496 \begin_inset Text
23497
23498 \begin_layout Plain Layout
23499 d
23500 \end_layout
23501
23502 \end_inset
23503 </cell>
23504 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23505 \begin_inset Text
23506
23507 \begin_layout Plain Layout
23508 e
23509 \end_layout
23510
23511 \end_inset
23512 </cell>
23513 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23514 \begin_inset Text
23515
23516 \begin_layout Plain Layout
23517 f
23518 \end_layout
23519
23520 \end_inset
23521 </cell>
23522 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23523 \begin_inset Text
23524
23525 \begin_layout Plain Layout
23526 g
23527 \end_layout
23528
23529 \end_inset
23530 </cell>
23531 </row>
23532 <row>
23533 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23534 \begin_inset Text
23535
23536 \begin_layout Plain Layout
23537 h
23538 \end_layout
23539
23540 \end_inset
23541 </cell>
23542 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23543 \begin_inset Text
23544
23545 \begin_layout Plain Layout
23546 i
23547 \end_layout
23548
23549 \end_inset
23550 </cell>
23551 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23552 \begin_inset Text
23553
23554 \begin_layout Plain Layout
23555 j
23556 \end_layout
23557
23558 \end_inset
23559 </cell>
23560 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23561 \begin_inset Text
23562
23563 \begin_layout Plain Layout
23564 k
23565 \end_layout
23566
23567 \end_inset
23568 </cell>
23569 </row>
23570 </lyxtabular>
23571
23572 \end_inset
23573
23574
23575 \end_layout
23576
23577 \end_inset
23578
23579
23580 \end_layout
23581
23582 \begin_layout Subsection
23583 Line Thickness
23584 \begin_inset CommandInset label
23585 LatexCommand label
23586 name "subsec:Line-Thickness"
23587
23588 \end_inset
23589
23590
23591 \begin_inset Index idx
23592 status collapsed
23593
23594 \begin_layout Plain Layout
23595 Table Customization ! Line Thickness
23596 \end_layout
23597
23598 \end_inset
23599
23600
23601 \end_layout
23602
23603 \begin_layout Standard
23604 The line thickness for all lines in a table can be adjusted with the length
23605  
23606 \series bold
23607
23608 \backslash
23609 arrayrulewidth
23610 \series default
23611 .
23612  To set for example a line thickness of 1.5
23613 \begin_inset space \thinspace{}
23614 \end_inset
23615
23616 pt, as in Table
23617 \begin_inset space ~
23618 \end_inset
23619
23620
23621 \begin_inset CommandInset ref
23622 LatexCommand ref
23623 reference "tab:Table-with-1.5"
23624
23625 \end_inset
23626
23627 , insert the command
23628 \end_layout
23629
23630 \begin_layout Standard
23631
23632 \series bold
23633
23634 \backslash
23635 setlength{
23636 \backslash
23637 arrayrulewidth}{1.5pt}
23638 \end_layout
23639
23640 \begin_layout Standard
23641 in \SpecialChar TeX
23642  Code before the table or table float.
23643  The changed thickness is valid for all subsequent tables.
23644  To use the default value again, set 
23645 \series bold
23646
23647 \backslash
23648 arrayrulewidth
23649 \series default
23650  to 0.4
23651 \begin_inset space \thinspace{}
23652 \end_inset
23653
23654 pt in \SpecialChar TeX
23655  Code after the table or table float.
23656 \end_layout
23657
23658 \begin_layout Standard
23659 \begin_inset ERT
23660 status collapsed
23661
23662 \begin_layout Plain Layout
23663
23664
23665 \backslash
23666 setlength{
23667 \backslash
23668 arrayrulewidth}{1.5pt}
23669 \end_layout
23670
23671 \end_inset
23672
23673
23674 \begin_inset Float table
23675 placement document
23676 alignment document
23677 wide false
23678 sideways false
23679 status open
23680
23681 \begin_layout Plain Layout
23682 \begin_inset Caption Standard
23683
23684 \begin_layout Plain Layout
23685 \begin_inset CommandInset label
23686 LatexCommand label
23687 name "tab:Table-with-1.5"
23688
23689 \end_inset
23690
23691 Table with 1.5
23692 \begin_inset space \thinspace{}
23693 \end_inset
23694
23695 pt thick lines
23696 \end_layout
23697
23698 \end_inset
23699
23700
23701 \end_layout
23702
23703 \begin_layout Plain Layout
23704 \align center
23705 \begin_inset Tabular
23706 <lyxtabular version="3" rows="3" columns="3">
23707 <features tabularvalignment="middle">
23708 <column alignment="center" valignment="top">
23709 <column alignment="center" valignment="top">
23710 <column alignment="center" valignment="top">
23711 <row>
23712 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23713 \begin_inset Text
23714
23715 \begin_layout Plain Layout
23716 sd
23717 \end_layout
23718
23719 \end_inset
23720 </cell>
23721 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23722 \begin_inset Text
23723
23724 \begin_layout Plain Layout
23725
23726 \end_layout
23727
23728 \end_inset
23729 </cell>
23730 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23731 \begin_inset Text
23732
23733 \begin_layout Plain Layout
23734
23735 \end_layout
23736
23737 \end_inset
23738 </cell>
23739 </row>
23740 <row>
23741 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23742 \begin_inset Text
23743
23744 \begin_layout Plain Layout
23745
23746 \end_layout
23747
23748 \end_inset
23749 </cell>
23750 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23751 \begin_inset Text
23752
23753 \begin_layout Plain Layout
23754 sd
23755 \end_layout
23756
23757 \end_inset
23758 </cell>
23759 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23760 \begin_inset Text
23761
23762 \begin_layout Plain Layout
23763
23764 \end_layout
23765
23766 \end_inset
23767 </cell>
23768 </row>
23769 <row>
23770 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23771 \begin_inset Text
23772
23773 \begin_layout Plain Layout
23774
23775 \end_layout
23776
23777 \end_inset
23778 </cell>
23779 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23780 \begin_inset Text
23781
23782 \begin_layout Plain Layout
23783
23784 \end_layout
23785
23786 \end_inset
23787 </cell>
23788 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23789 \begin_inset Text
23790
23791 \begin_layout Plain Layout
23792 sd
23793 \end_layout
23794
23795 \end_inset
23796 </cell>
23797 </row>
23798 </lyxtabular>
23799
23800 \end_inset
23801
23802
23803 \end_layout
23804
23805 \end_inset
23806
23807
23808 \begin_inset ERT
23809 status collapsed
23810
23811 \begin_layout Plain Layout
23812
23813
23814 \backslash
23815 setlength{
23816 \backslash
23817 arrayrulewidth}{0.4pt}
23818 \end_layout
23819
23820 \end_inset
23821
23822
23823 \end_layout
23824
23825 \begin_layout Standard
23826 \begin_inset VSpace bigskip
23827 \end_inset
23828
23829 To set the line thickness to 1.5
23830 \begin_inset space \thinspace{}
23831 \end_inset
23832
23833 pt only for horizontal lines, as in Table
23834 \begin_inset space ~
23835 \end_inset
23836
23837
23838 \begin_inset CommandInset ref
23839 LatexCommand ref
23840 reference "tab:Table-with-horizontal"
23841
23842 \end_inset
23843
23844 , insert these commands in \SpecialChar TeX
23845  Code before the table or table float:
23846 \end_layout
23847
23848 \begin_layout Standard
23849
23850 \series bold
23851
23852 \backslash
23853 let
23854 \backslash
23855 myHline
23856 \backslash
23857 hline
23858 \begin_inset Newline newline
23859 \end_inset
23860
23861
23862 \backslash
23863 renewcommand{
23864 \backslash
23865 hline}
23866 \begin_inset Newline newline
23867 \end_inset
23868
23869  {
23870 \backslash
23871 noalign{
23872 \backslash
23873 global
23874 \backslash
23875 arrayrulewidth 1.5pt}
23876 \begin_inset Newline newline
23877 \end_inset
23878
23879  
23880 \backslash
23881 myHline
23882 \backslash
23883 noalign{
23884 \backslash
23885 global
23886 \backslash
23887 arrayrulewidth 0.4pt}}
23888 \end_layout
23889
23890 \begin_layout Standard
23891 To return to the default line thickness, insert this command in \SpecialChar TeX
23892  Code after
23893  the table or table float:
23894 \end_layout
23895
23896 \begin_layout Standard
23897
23898 \series bold
23899
23900 \backslash
23901 renewcommand{
23902 \backslash
23903 hline}{
23904 \backslash
23905 myHline}
23906 \end_layout
23907
23908 \begin_layout Standard
23909 \begin_inset ERT
23910 status collapsed
23911
23912 \begin_layout Plain Layout
23913
23914
23915 \backslash
23916 let
23917 \backslash
23918 myHline
23919 \backslash
23920 hline
23921 \end_layout
23922
23923 \begin_layout Plain Layout
23924
23925
23926 \backslash
23927 renewcommand{
23928 \backslash
23929 hline}
23930 \end_layout
23931
23932 \begin_layout Plain Layout
23933
23934  {
23935 \backslash
23936 noalign{
23937 \backslash
23938 global
23939 \backslash
23940 arrayrulewidth 1.5pt}
23941 \end_layout
23942
23943 \begin_layout Plain Layout
23944
23945   
23946 \backslash
23947 myHline
23948 \backslash
23949 noalign{
23950 \backslash
23951 global
23952 \backslash
23953 arrayrulewidth 0.4pt}}
23954 \end_layout
23955
23956 \end_inset
23957
23958
23959 \begin_inset Float table
23960 placement document
23961 alignment document
23962 wide false
23963 sideways false
23964 status open
23965
23966 \begin_layout Plain Layout
23967 \begin_inset Caption Standard
23968
23969 \begin_layout Plain Layout
23970 \begin_inset CommandInset label
23971 LatexCommand label
23972 name "tab:Table-with-horizontal"
23973
23974 \end_inset
23975
23976 Table with 1.5
23977 \begin_inset space \thinspace{}
23978 \end_inset
23979
23980 pt thick horizontal lines
23981 \end_layout
23982
23983 \end_inset
23984
23985
23986 \end_layout
23987
23988 \begin_layout Plain Layout
23989 \align center
23990 \begin_inset Tabular
23991 <lyxtabular version="3" rows="3" columns="3">
23992 <features tabularvalignment="middle">
23993 <column alignment="center" valignment="top">
23994 <column alignment="center" valignment="top">
23995 <column alignment="center" valignment="top">
23996 <row>
23997 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23998 \begin_inset Text
23999
24000 \begin_layout Plain Layout
24001 sd
24002 \end_layout
24003
24004 \end_inset
24005 </cell>
24006 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24007 \begin_inset Text
24008
24009 \begin_layout Plain Layout
24010
24011 \end_layout
24012
24013 \end_inset
24014 </cell>
24015 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24016 \begin_inset Text
24017
24018 \begin_layout Plain Layout
24019
24020 \end_layout
24021
24022 \end_inset
24023 </cell>
24024 </row>
24025 <row>
24026 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24027 \begin_inset Text
24028
24029 \begin_layout Plain Layout
24030
24031 \end_layout
24032
24033 \end_inset
24034 </cell>
24035 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24036 \begin_inset Text
24037
24038 \begin_layout Plain Layout
24039 sd
24040 \end_layout
24041
24042 \end_inset
24043 </cell>
24044 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24045 \begin_inset Text
24046
24047 \begin_layout Plain Layout
24048
24049 \end_layout
24050
24051 \end_inset
24052 </cell>
24053 </row>
24054 <row>
24055 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24056 \begin_inset Text
24057
24058 \begin_layout Plain Layout
24059
24060 \end_layout
24061
24062 \end_inset
24063 </cell>
24064 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24065 \begin_inset Text
24066
24067 \begin_layout Plain Layout
24068
24069 \end_layout
24070
24071 \end_inset
24072 </cell>
24073 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24074 \begin_inset Text
24075
24076 \begin_layout Plain Layout
24077 sd
24078 \end_layout
24079
24080 \end_inset
24081 </cell>
24082 </row>
24083 </lyxtabular>
24084
24085 \end_inset
24086
24087
24088 \end_layout
24089
24090 \end_inset
24091
24092
24093 \begin_inset ERT
24094 status collapsed
24095
24096 \begin_layout Plain Layout
24097
24098
24099 \backslash
24100 renewcommand{
24101 \backslash
24102 hline}{
24103 \backslash
24104 myHline}
24105 \end_layout
24106
24107 \end_inset
24108
24109
24110 \end_layout
24111
24112 \begin_layout Standard
24113 \begin_inset VSpace bigskip
24114 \end_inset
24115
24116 To set the line thickness to 1.5
24117 \begin_inset space \thinspace{}
24118 \end_inset
24119
24120 pt only for vertical lines, create the following column format in the document
24121  preamble, according to the description in section
24122 \begin_inset space ~
24123 \end_inset
24124
24125
24126 \begin_inset CommandInset ref
24127 LatexCommand ref
24128 reference "subsec:Customized-Format"
24129
24130 \end_inset
24131
24132 :
24133 \end_layout
24134
24135 \begin_layout Standard
24136
24137 \series bold
24138
24139 \backslash
24140 newcolumntype{V}{!{
24141 \backslash
24142 vrule width 1.5pt}}
24143 \end_layout
24144
24145 \begin_layout Standard
24146 For Table
24147 \begin_inset space ~
24148 \end_inset
24149
24150
24151 \begin_inset CommandInset ref
24152 LatexCommand ref
24153 reference "tab:Table-with-vertical"
24154
24155 \end_inset
24156
24157  the \SpecialChar LaTeX
24158 -argument
24159 \end_layout
24160
24161 \begin_layout Standard
24162
24163 \series bold
24164 VcV
24165 \end_layout
24166
24167 \begin_layout Standard
24168 was used for the last column and
24169 \end_layout
24170
24171 \begin_layout Standard
24172
24173 \series bold
24174 Vc
24175 \end_layout
24176
24177 \begin_layout Standard
24178 for the other columns.
24179 \end_layout
24180
24181 \begin_layout Standard
24182 \begin_inset Float table
24183 placement document
24184 alignment document
24185 wide false
24186 sideways false
24187 status open
24188
24189 \begin_layout Plain Layout
24190 \begin_inset Caption Standard
24191
24192 \begin_layout Plain Layout
24193 \begin_inset CommandInset label
24194 LatexCommand label
24195 name "tab:Table-with-vertical"
24196
24197 \end_inset
24198
24199 Table with 1.5
24200 \begin_inset space \thinspace{}
24201 \end_inset
24202
24203 pt thick vertical lines
24204 \end_layout
24205
24206 \end_inset
24207
24208
24209 \end_layout
24210
24211 \begin_layout Plain Layout
24212 \align center
24213 \begin_inset Tabular
24214 <lyxtabular version="3" rows="3" columns="3">
24215 <features tabularvalignment="middle">
24216 <column alignment="center" valignment="top" special="Vc">
24217 <column alignment="center" valignment="top" special="Vc">
24218 <column alignment="center" valignment="top" special="VcV">
24219 <row>
24220 <cell alignment="center" valignment="top" topline="true" usebox="none">
24221 \begin_inset Text
24222
24223 \begin_layout Plain Layout
24224 sd
24225 \end_layout
24226
24227 \end_inset
24228 </cell>
24229 <cell alignment="center" valignment="top" topline="true" usebox="none">
24230 \begin_inset Text
24231
24232 \begin_layout Plain Layout
24233
24234 \end_layout
24235
24236 \end_inset
24237 </cell>
24238 <cell alignment="center" valignment="top" topline="true" usebox="none">
24239 \begin_inset Text
24240
24241 \begin_layout Plain Layout
24242
24243 \end_layout
24244
24245 \end_inset
24246 </cell>
24247 </row>
24248 <row>
24249 <cell alignment="center" valignment="top" topline="true" usebox="none">
24250 \begin_inset Text
24251
24252 \begin_layout Plain Layout
24253
24254 \end_layout
24255
24256 \end_inset
24257 </cell>
24258 <cell alignment="center" valignment="top" topline="true" usebox="none">
24259 \begin_inset Text
24260
24261 \begin_layout Plain Layout
24262 sd
24263 \end_layout
24264
24265 \end_inset
24266 </cell>
24267 <cell alignment="center" valignment="top" topline="true" usebox="none">
24268 \begin_inset Text
24269
24270 \begin_layout Plain Layout
24271
24272 \end_layout
24273
24274 \end_inset
24275 </cell>
24276 </row>
24277 <row>
24278 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
24279 \begin_inset Text
24280
24281 \begin_layout Plain Layout
24282
24283 \end_layout
24284
24285 \end_inset
24286 </cell>
24287 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
24288 \begin_inset Text
24289
24290 \begin_layout Plain Layout
24291
24292 \end_layout
24293
24294 \end_inset
24295 </cell>
24296 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
24297 \begin_inset Text
24298
24299 \begin_layout Plain Layout
24300 sd
24301 \end_layout
24302
24303 \end_inset
24304 </cell>
24305 </row>
24306 </lyxtabular>
24307
24308 \end_inset
24309
24310
24311 \end_layout
24312
24313 \end_inset
24314
24315
24316 \end_layout
24317
24318 \begin_layout Subsection
24319 Dashed Lines
24320 \begin_inset Index idx
24321 status collapsed
24322
24323 \begin_layout Plain Layout
24324 Table Customization ! Dashed Lines
24325 \end_layout
24326
24327 \end_inset
24328
24329
24330 \end_layout
24331
24332 \begin_layout Standard
24333 \begin_inset ERT
24334 status collapsed
24335
24336 \begin_layout Plain Layout
24337
24338
24339 \backslash
24340 ifarydshln
24341 \end_layout
24342
24343 \end_inset
24344
24345
24346 \begin_inset Note Note
24347 status open
24348
24349 \begin_layout Plain Layout
24350 The following section will only be displayed when the \SpecialChar LaTeX
24351 -package 
24352 \series bold
24353 arydshln
24354 \series default
24355  is installed.
24356 \end_layout
24357
24358 \end_inset
24359
24360
24361 \end_layout
24362
24363 \begin_layout Standard
24364 \begin_inset Float table
24365 placement H
24366 alignment document
24367 wide false
24368 sideways false
24369 status open
24370
24371 \begin_layout Plain Layout
24372 \begin_inset Caption Standard
24373
24374 \begin_layout Plain Layout
24375 \begin_inset CommandInset label
24376 LatexCommand label
24377 name "tab:Table-with-dashed"
24378
24379 \end_inset
24380
24381 Table with dashed lines
24382 \end_layout
24383
24384 \end_inset
24385
24386
24387 \end_layout
24388
24389 \begin_layout Plain Layout
24390 \align center
24391 \begin_inset Tabular
24392 <lyxtabular version="3" rows="5" columns="5">
24393 <features tabularvalignment="middle">
24394 <column alignment="center" valignment="top">
24395 <column alignment="center" valignment="top">
24396 <column alignment="center" valignment="top" special=":c">
24397 <column alignment="center" valignment="top">
24398 <column alignment="center" valignment="top">
24399 <row>
24400 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24401 \begin_inset Text
24402
24403 \begin_layout Plain Layout
24404 a
24405 \end_layout
24406
24407 \end_inset
24408 </cell>
24409 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24410 \begin_inset Text
24411
24412 \begin_layout Plain Layout
24413 b
24414 \end_layout
24415
24416 \end_inset
24417 </cell>
24418 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
24419 \begin_inset Text
24420
24421 \begin_layout Plain Layout
24422 c
24423 \end_layout
24424
24425 \end_inset
24426 </cell>
24427 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24428 \begin_inset Text
24429
24430 \begin_layout Plain Layout
24431 d
24432 \end_layout
24433
24434 \end_inset
24435 </cell>
24436 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24437 \begin_inset Text
24438
24439 \begin_layout Plain Layout
24440 e
24441 \end_layout
24442
24443 \end_inset
24444 </cell>
24445 </row>
24446 <row>
24447 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24448 \begin_inset Text
24449
24450 \begin_layout Plain Layout
24451 f
24452 \end_layout
24453
24454 \end_inset
24455 </cell>
24456 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24457 \begin_inset Text
24458
24459 \begin_layout Plain Layout
24460 g
24461 \end_layout
24462
24463 \end_inset
24464 </cell>
24465 <cell alignment="center" valignment="top" topline="true" usebox="none">
24466 \begin_inset Text
24467
24468 \begin_layout Plain Layout
24469 h
24470 \end_layout
24471
24472 \end_inset
24473 </cell>
24474 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24475 \begin_inset Text
24476
24477 \begin_layout Plain Layout
24478 i
24479 \end_layout
24480
24481 \end_inset
24482 </cell>
24483 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24484 \begin_inset Text
24485
24486 \begin_layout Plain Layout
24487 j
24488 \end_layout
24489
24490 \end_inset
24491 </cell>
24492 </row>
24493 <row>
24494 <cell alignment="center" valignment="top" leftline="true" usebox="none">
24495 \begin_inset Text
24496
24497 \begin_layout Plain Layout
24498 \begin_inset ERT
24499 status collapsed
24500
24501 \begin_layout Plain Layout
24502
24503
24504 \backslash
24505 hdashline 
24506 \end_layout
24507
24508 \end_inset
24509
24510 k
24511 \end_layout
24512
24513 \end_inset
24514 </cell>
24515 <cell alignment="center" valignment="top" leftline="true" usebox="none">
24516 \begin_inset Text
24517
24518 \begin_layout Plain Layout
24519 l
24520 \end_layout
24521
24522 \end_inset
24523 </cell>
24524 <cell alignment="center" valignment="top" usebox="none">
24525 \begin_inset Text
24526
24527 \begin_layout Plain Layout
24528 m
24529 \end_layout
24530
24531 \end_inset
24532 </cell>
24533 <cell alignment="center" valignment="top" leftline="true" usebox="none">
24534 \begin_inset Text
24535
24536 \begin_layout Plain Layout
24537 n
24538 \end_layout
24539
24540 \end_inset
24541 </cell>
24542 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
24543 \begin_inset Text
24544
24545 \begin_layout Plain Layout
24546 o
24547 \end_layout
24548
24549 \end_inset
24550 </cell>
24551 </row>
24552 <row>
24553 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24554 \begin_inset Text
24555
24556 \begin_layout Plain Layout
24557 \begin_inset ERT
24558 status collapsed
24559
24560 \begin_layout Plain Layout
24561
24562
24563 \backslash
24564 cdashline{4-5}
24565 \end_layout
24566
24567 \end_inset
24568
24569 p
24570 \end_layout
24571
24572 \end_inset
24573 </cell>
24574 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24575 \begin_inset Text
24576
24577 \begin_layout Plain Layout
24578 q
24579 \end_layout
24580
24581 \end_inset
24582 </cell>
24583 <cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
24584 \begin_inset Text
24585
24586 \begin_layout Plain Layout
24587 r
24588 \end_layout
24589
24590 \end_inset
24591 </cell>
24592 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
24593 \begin_inset Text
24594
24595 \begin_layout Plain Layout
24596 s
24597 \end_layout
24598
24599 \end_inset
24600 </cell>
24601 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24602 \begin_inset Text
24603
24604 \begin_layout Plain Layout
24605
24606 \end_layout
24607
24608 \end_inset
24609 </cell>
24610 </row>
24611 <row>
24612 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24613 \begin_inset Text
24614
24615 \begin_layout Plain Layout
24616 t
24617 \end_layout
24618
24619 \end_inset
24620 </cell>
24621 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24622 \begin_inset Text
24623
24624 \begin_layout Plain Layout
24625 u
24626 \end_layout
24627
24628 \end_inset
24629 </cell>
24630 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
24631 \begin_inset Text
24632
24633 \begin_layout Plain Layout
24634 v
24635 \end_layout
24636
24637 \end_inset
24638 </cell>
24639 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24640 \begin_inset Text
24641
24642 \begin_layout Plain Layout
24643 w
24644 \end_layout
24645
24646 \end_inset
24647 </cell>
24648 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24649 \begin_inset Text
24650
24651 \begin_layout Plain Layout
24652 x
24653 \end_layout
24654
24655 \end_inset
24656 </cell>
24657 </row>
24658 </lyxtabular>
24659
24660 \end_inset
24661
24662
24663 \end_layout
24664
24665 \end_inset
24666
24667
24668 \end_layout
24669
24670 \begin_layout Standard
24671 \SpecialChar LyX
24672  does not natively support dashed lines, so you have to use \SpecialChar TeX
24673  Code.
24674  As a prerequisite the \SpecialChar LaTeX
24675  package 
24676 \series bold
24677 arydshln
24678 \series default
24679
24680 \begin_inset Index idx
24681 status collapsed
24682
24683 \begin_layout Plain Layout
24684 \SpecialChar LaTeX
24685 -packages ! arydshln
24686 \end_layout
24687
24688 \end_inset
24689
24690  must be loaded in the document preamble with the command
24691 \end_layout
24692
24693 \begin_layout Standard
24694
24695 \series bold
24696
24697 \backslash
24698 usepackage{arydshln}
24699 \end_layout
24700
24701 \begin_layout Standard
24702 To make a vertical line dashed, enter the colon 
24703 \begin_inset Quotes eld
24704 \end_inset
24705
24706 :
24707 \begin_inset Quotes erd
24708 \end_inset
24709
24710  together with the character for the horizontal alignment as \SpecialChar LaTeX
24711  argument in
24712  the table cell dialog.
24713 \end_layout
24714
24715 \begin_layout Standard
24716 For a horizontal dashed line add the command
24717 \end_layout
24718
24719 \begin_layout Standard
24720
24721 \series bold
24722
24723 \backslash
24724 hdashline
24725 \end_layout
24726
24727 \begin_layout Standard
24728 in \SpecialChar TeX
24729  Code as first element of the first cell in the table row.
24730 \end_layout
24731
24732 \begin_layout Standard
24733 For dashed multicolumn lines use the command
24734 \end_layout
24735
24736 \begin_layout Standard
24737
24738 \series bold
24739
24740 \backslash
24741 cdashline{line number
24742 \series default
24743 }
24744 \end_layout
24745
24746 \begin_layout Standard
24747 in \SpecialChar TeX
24748  Code as the first element of the first cell in the table row.
24749  If you have for example a multicolumn spanning columns 2 to 4 and you want
24750  to have a dashed line above, add the command
24751 \end_layout
24752
24753 \begin_layout Standard
24754
24755 \series bold
24756
24757 \backslash
24758 cdashline{2-4}
24759 \end_layout
24760
24761 \begin_layout Standard
24762 as the first element of the first cell in the row of the multicolumn.
24763 \end_layout
24764
24765 \begin_layout Standard
24766 \begin_inset VSpace bigskip
24767 \end_inset
24768
24769
24770 \end_layout
24771
24772 \begin_layout Standard
24773 Table
24774 \begin_inset space ~
24775 \end_inset
24776
24777
24778 \begin_inset CommandInset ref
24779 LatexCommand ref
24780 reference "tab:Table-with-dashed"
24781
24782 \end_inset
24783
24784  was created using 
24785 \begin_inset Quotes eld
24786 \end_inset
24787
24788
24789 \series bold
24790 :c
24791 \series default
24792
24793 \begin_inset Quotes erd
24794 \end_inset
24795
24796  as \SpecialChar LaTeX
24797  argument of the third column.
24798  The \SpecialChar TeX
24799  Code command 
24800 \series bold
24801
24802 \backslash
24803 hdashline
24804 \series default
24805  was inserted in the first cell of the third row and the \SpecialChar TeX
24806  Code command
24807 \begin_inset Newline newline
24808 \end_inset
24809
24810  
24811 \series bold
24812
24813 \backslash
24814 cdashline{4-5}
24815 \series default
24816  was inserted in the first cell of the fourth row.
24817 \end_layout
24818
24819 \begin_layout Standard
24820 \begin_inset VSpace bigskip
24821 \end_inset
24822
24823
24824 \end_layout
24825
24826 \begin_layout Standard
24827 Tables with dashed lines can also be colored as shown by Table
24828 \begin_inset space ~
24829 \end_inset
24830
24831
24832 \begin_inset CommandInset ref
24833 LatexCommand ref
24834 reference "tab:Colored-table-with"
24835
24836 \end_inset
24837
24838 .
24839 \end_layout
24840
24841 \begin_layout Standard
24842 \begin_inset ERT
24843 status collapsed
24844
24845 \begin_layout Plain Layout
24846
24847
24848 \backslash
24849 setlength{
24850 \backslash
24851 arrayrulewidth}{1pt}
24852 \end_layout
24853
24854 \end_inset
24855
24856
24857 \begin_inset Note Note
24858 status collapsed
24859
24860 \begin_layout Plain Layout
24861 thicker lines for better visualization of the line color
24862 \end_layout
24863
24864 \end_inset
24865
24866
24867 \end_layout
24868
24869 \begin_layout Standard
24870 \begin_inset ERT
24871 status collapsed
24872
24873 \begin_layout Plain Layout
24874
24875
24876 \backslash
24877 dashgapcolor{green}
24878 \end_layout
24879
24880 \end_inset
24881
24882
24883 \begin_inset Note Note
24884 status collapsed
24885
24886 \begin_layout Plain Layout
24887 color gaps between dashes green
24888 \end_layout
24889
24890 \end_inset
24891
24892
24893 \end_layout
24894
24895 \begin_layout Standard
24896 \begin_inset ERT
24897 status collapsed
24898
24899 \begin_layout Plain Layout
24900
24901
24902 \backslash
24903 let
24904 \backslash
24905 myHdashline
24906 \backslash
24907 hdashline
24908 \end_layout
24909
24910 \begin_layout Plain Layout
24911
24912
24913 \backslash
24914 renewcommand{
24915 \backslash
24916 hdashline}
24917 \end_layout
24918
24919 \begin_layout Plain Layout
24920
24921  {
24922 \backslash
24923 arrayrulecolor{red}
24924 \backslash
24925 myHdashline
24926 \backslash
24927 arrayrulecolor{black}}
24928 \end_layout
24929
24930 \end_inset
24931
24932
24933 \begin_inset Note Note
24934 status collapsed
24935
24936 \begin_layout Plain Layout
24937 color horizontal, dashed lines red
24938 \end_layout
24939
24940 \end_inset
24941
24942
24943 \end_layout
24944
24945 \begin_layout Standard
24946 \begin_inset ERT
24947 status collapsed
24948
24949 \begin_layout Plain Layout
24950
24951
24952 \backslash
24953 let
24954 \backslash
24955 myCdashline
24956 \backslash
24957 cdashline
24958 \end_layout
24959
24960 \begin_layout Plain Layout
24961
24962
24963 \backslash
24964 renewcommand{
24965 \backslash
24966 cdashline}[1]
24967 \end_layout
24968
24969 \begin_layout Plain Layout
24970
24971  {
24972 \backslash
24973 arrayrulecolor{yellow}
24974 \backslash
24975 myCdashline{#1}
24976 \backslash
24977 arrayrulecolor{black}}
24978 \end_layout
24979
24980 \end_inset
24981
24982
24983 \begin_inset Note Note
24984 status collapsed
24985
24986 \begin_layout Plain Layout
24987 color partial horizontal, dashed lines yellow
24988 \end_layout
24989
24990 \end_inset
24991
24992
24993 \end_layout
24994
24995 \begin_layout Standard
24996 \begin_inset Float table
24997 placement h
24998 alignment document
24999 wide false
25000 sideways false
25001 status open
25002
25003 \begin_layout Plain Layout
25004 \begin_inset Caption Standard
25005
25006 \begin_layout Plain Layout
25007 \begin_inset CommandInset label
25008 LatexCommand label
25009 name "tab:Colored-table-with"
25010
25011 \end_inset
25012
25013 Colored table with dashed lines
25014 \end_layout
25015
25016 \end_inset
25017
25018
25019 \end_layout
25020
25021 \begin_layout Plain Layout
25022 \align center
25023 \begin_inset Tabular
25024 <lyxtabular version="3" rows="5" columns="5">
25025 <features tabularvalignment="middle">
25026 <column alignment="center" valignment="top" width="0pt" special=">{\columncolor{darkgreen}\centering}c">
25027 <column alignment="center" valignment="top" width="0pt">
25028 <column alignment="center" valignment="top" width="0pt" special=":c">
25029 <column alignment="center" valignment="top">
25030 <column alignment="center" valignment="top">
25031 <row>
25032 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25033 \begin_inset Text
25034
25035 \begin_layout Plain Layout
25036 a
25037 \end_layout
25038
25039 \end_inset
25040 </cell>
25041 <cell alignment="center" valignment="top" topline="true" usebox="none">
25042 \begin_inset Text
25043
25044 \begin_layout Plain Layout
25045 b
25046 \end_layout
25047
25048 \end_inset
25049 </cell>
25050 <cell alignment="center" valignment="top" topline="true" usebox="none">
25051 \begin_inset Text
25052
25053 \begin_layout Plain Layout
25054 c
25055 \end_layout
25056
25057 \end_inset
25058 </cell>
25059 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25060 \begin_inset Text
25061
25062 \begin_layout Plain Layout
25063 d
25064 \end_layout
25065
25066 \end_inset
25067 </cell>
25068 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25069 \begin_inset Text
25070
25071 \begin_layout Plain Layout
25072 e
25073 \end_layout
25074
25075 \end_inset
25076 </cell>
25077 </row>
25078 <row>
25079 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25080 \begin_inset Text
25081
25082 \begin_layout Plain Layout
25083 f
25084 \end_layout
25085
25086 \end_inset
25087 </cell>
25088 <cell alignment="center" valignment="top" topline="true" usebox="none">
25089 \begin_inset Text
25090
25091 \begin_layout Plain Layout
25092 g
25093 \end_layout
25094
25095 \end_inset
25096 </cell>
25097 <cell alignment="center" valignment="top" topline="true" usebox="none">
25098 \begin_inset Text
25099
25100 \begin_layout Plain Layout
25101 h
25102 \end_layout
25103
25104 \end_inset
25105 </cell>
25106 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25107 \begin_inset Text
25108
25109 \begin_layout Plain Layout
25110 i
25111 \end_layout
25112
25113 \end_inset
25114 </cell>
25115 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25116 \begin_inset Text
25117
25118 \begin_layout Plain Layout
25119 j
25120 \end_layout
25121
25122 \end_inset
25123 </cell>
25124 </row>
25125 <row>
25126 <cell alignment="center" valignment="top" leftline="true" usebox="none">
25127 \begin_inset Text
25128
25129 \begin_layout Plain Layout
25130 \begin_inset ERT
25131 status collapsed
25132
25133 \begin_layout Plain Layout
25134
25135
25136 \backslash
25137 hdashline 
25138 \end_layout
25139
25140 \end_inset
25141
25142
25143 \begin_inset ERT
25144 status collapsed
25145
25146 \begin_layout Plain Layout
25147
25148
25149 \backslash
25150 rowcolor{Gray}
25151 \end_layout
25152
25153 \end_inset
25154
25155 k
25156 \end_layout
25157
25158 \end_inset
25159 </cell>
25160 <cell alignment="center" valignment="top" leftline="true" usebox="none">
25161 \begin_inset Text
25162
25163 \begin_layout Plain Layout
25164 l
25165 \end_layout
25166
25167 \end_inset
25168 </cell>
25169 <cell alignment="center" valignment="top" usebox="none">
25170 \begin_inset Text
25171
25172 \begin_layout Plain Layout
25173 m
25174 \end_layout
25175
25176 \end_inset
25177 </cell>
25178 <cell alignment="center" valignment="top" leftline="true" usebox="none">
25179 \begin_inset Text
25180
25181 \begin_layout Plain Layout
25182 n
25183 \end_layout
25184
25185 \end_inset
25186 </cell>
25187 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
25188 \begin_inset Text
25189
25190 \begin_layout Plain Layout
25191 o
25192 \end_layout
25193
25194 \end_inset
25195 </cell>
25196 </row>
25197 <row>
25198 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25199 \begin_inset Text
25200
25201 \begin_layout Plain Layout
25202 \begin_inset ERT
25203 status collapsed
25204
25205 \begin_layout Plain Layout
25206
25207
25208 \backslash
25209 cdashline{4-5}
25210 \end_layout
25211
25212 \end_inset
25213
25214 p
25215 \end_layout
25216
25217 \end_inset
25218 </cell>
25219 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25220 \begin_inset Text
25221
25222 \begin_layout Plain Layout
25223 q
25224 \end_layout
25225
25226 \end_inset
25227 </cell>
25228 <cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
25229 \begin_inset Text
25230
25231 \begin_layout Plain Layout
25232 r
25233 \end_layout
25234
25235 \end_inset
25236 </cell>
25237 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
25238 \begin_inset Text
25239
25240 \begin_layout Plain Layout
25241 s
25242 \end_layout
25243
25244 \end_inset
25245 </cell>
25246 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25247 \begin_inset Text
25248
25249 \begin_layout Plain Layout
25250
25251 \end_layout
25252
25253 \end_inset
25254 </cell>
25255 </row>
25256 <row>
25257 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25258 \begin_inset Text
25259
25260 \begin_layout Plain Layout
25261 t
25262 \end_layout
25263
25264 \end_inset
25265 </cell>
25266 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25267 \begin_inset Text
25268
25269 \begin_layout Plain Layout
25270 u
25271 \end_layout
25272
25273 \end_inset
25274 </cell>
25275 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
25276 \begin_inset Text
25277
25278 \begin_layout Plain Layout
25279 v
25280 \end_layout
25281
25282 \end_inset
25283 </cell>
25284 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25285 \begin_inset Text
25286
25287 \begin_layout Plain Layout
25288 w
25289 \end_layout
25290
25291 \end_inset
25292 </cell>
25293 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
25294 \begin_inset Text
25295
25296 \begin_layout Plain Layout
25297 \begin_inset ERT
25298 status collapsed
25299
25300 \begin_layout Plain Layout
25301
25302
25303 \backslash
25304 cellcolor{Maroon}
25305 \end_layout
25306
25307 \end_inset
25308
25309 i
25310 \end_layout
25311
25312 \end_inset
25313 </cell>
25314 </row>
25315 </lyxtabular>
25316
25317 \end_inset
25318
25319
25320 \end_layout
25321
25322 \end_inset
25323
25324
25325 \end_layout
25326
25327 \begin_layout Standard
25328 \begin_inset ERT
25329 status collapsed
25330
25331 \begin_layout Plain Layout
25332
25333
25334 \backslash
25335 renewcommand{
25336 \backslash
25337 hdashline}{
25338 \backslash
25339 myHdashline}
25340 \end_layout
25341
25342 \end_inset
25343
25344
25345 \begin_inset Note Note
25346 status collapsed
25347
25348 \begin_layout Plain Layout
25349 reset to default
25350 \end_layout
25351
25352 \end_inset
25353
25354
25355 \end_layout
25356
25357 \begin_layout Standard
25358 \begin_inset ERT
25359 status collapsed
25360
25361 \begin_layout Plain Layout
25362
25363
25364 \backslash
25365 renewcommand{
25366 \backslash
25367 cdashline}{
25368 \backslash
25369 myCdashline}
25370 \end_layout
25371
25372 \end_inset
25373
25374
25375 \begin_inset Note Note
25376 status collapsed
25377
25378 \begin_layout Plain Layout
25379 reset to default
25380 \end_layout
25381
25382 \end_inset
25383
25384
25385 \end_layout
25386
25387 \begin_layout Standard
25388 \begin_inset ERT
25389 status collapsed
25390
25391 \begin_layout Plain Layout
25392
25393
25394 \backslash
25395 nodashgapcolor
25396 \end_layout
25397
25398 \end_inset
25399
25400
25401 \begin_inset Note Note
25402 status collapsed
25403
25404 \begin_layout Plain Layout
25405 reset to default
25406 \end_layout
25407
25408 \end_inset
25409
25410
25411 \end_layout
25412
25413 \begin_layout Standard
25414 \begin_inset ERT
25415 status collapsed
25416
25417 \begin_layout Plain Layout
25418
25419
25420 \backslash
25421 setlength{
25422 \backslash
25423 arrayrulewidth}{0.4pt}
25424 \end_layout
25425
25426 \end_inset
25427
25428
25429 \begin_inset Note Note
25430 status collapsed
25431
25432 \begin_layout Plain Layout
25433 reset to default
25434 \end_layout
25435
25436 \end_inset
25437
25438
25439 \end_layout
25440
25441 \begin_layout Standard
25442 The coloring of lines, columns and lines works as decribed in section
25443 \begin_inset space ~
25444 \end_inset
25445
25446
25447 \begin_inset CommandInset ref
25448 LatexCommand ref
25449 reference "sec:Colored-Tables"
25450
25451 \end_inset
25452
25453 .
25454  Coloring horizontal lines works analogically as described there as well,
25455  one only needs to replace in the commands 
25456 \series bold
25457
25458 \backslash
25459 myHlineC
25460 \series default
25461  by 
25462 \series bold
25463
25464 \backslash
25465 myHdashline
25466 \series default
25467  and 
25468 \backslash
25469
25470 \series bold
25471 hline
25472 \series default
25473  by 
25474 \series bold
25475
25476 \backslash
25477 hdashline
25478 \series default
25479 ; so one uses the command
25480 \end_layout
25481
25482 \begin_layout Standard
25483
25484 \series bold
25485
25486 \backslash
25487 let
25488 \backslash
25489 myHdashline
25490 \backslash
25491 hdashline
25492 \begin_inset Newline newline
25493 \end_inset
25494
25495
25496 \backslash
25497 renewcommand{
25498 \backslash
25499 hdashline}
25500 \begin_inset Newline newline
25501 \end_inset
25502
25503
25504 \begin_inset Phantom HPhantom
25505 status open
25506
25507 \begin_layout Plain Layout
25508 \begin_inset space ~
25509 \end_inset
25510
25511
25512 \end_layout
25513
25514 \end_inset
25515
25516 {
25517 \backslash
25518 arrayrulecolor{red}
25519 \backslash
25520 myHdashline
25521 \backslash
25522 arrayrulecolor{black}}
25523 \end_layout
25524
25525 \begin_layout Standard
25526 To color 
25527 \series bold
25528
25529 \backslash
25530 cdashline
25531 \series default
25532 , the command is
25533 \end_layout
25534
25535 \begin_layout Standard
25536
25537 \series bold
25538
25539 \backslash
25540 let
25541 \backslash
25542 myCdashline
25543 \backslash
25544 cdashline
25545 \begin_inset Newline newline
25546 \end_inset
25547
25548
25549 \backslash
25550 renewcommand{
25551 \backslash
25552 cdashline}[1]
25553 \begin_inset Newline newline
25554 \end_inset
25555
25556
25557 \begin_inset Phantom HPhantom
25558 status open
25559
25560 \begin_layout Plain Layout
25561 \begin_inset space ~
25562 \end_inset
25563
25564
25565 \end_layout
25566
25567 \end_inset
25568
25569 {
25570 \backslash
25571 arrayrulecolor{red}
25572 \backslash
25573 myCdashline{#1}
25574 \backslash
25575 arrayrulecolor{black}}
25576 \end_layout
25577
25578 \begin_layout Standard
25579 To get back the black line color, one needs to insert the following commands
25580  as \SpecialChar TeX
25581  Code behind the table:
25582 \end_layout
25583
25584 \begin_layout Standard
25585 For 
25586 \series bold
25587
25588 \backslash
25589 hdashline
25590 \end_layout
25591
25592 \begin_layout Standard
25593
25594 \series bold
25595
25596 \backslash
25597 renewcommand{
25598 \backslash
25599 hdashline}{
25600 \backslash
25601 myHdashline}
25602 \end_layout
25603
25604 \begin_layout Standard
25605 and for 
25606 \series bold
25607
25608 \backslash
25609 cdashline
25610 \end_layout
25611
25612 \begin_layout Standard
25613
25614 \series bold
25615
25616 \backslash
25617 renewcommand{
25618 \backslash
25619 cdashline}{
25620 \backslash
25621 myCdashline}
25622 \end_layout
25623
25624 \begin_layout Standard
25625 To color the gaps between the dashes the command
25626 \end_layout
25627
25628 \begin_layout Standard
25629
25630 \series bold
25631
25632 \backslash
25633 dashgapcolor{color}
25634 \end_layout
25635
25636 \begin_layout Standard
25637 can be used in front of a table as \SpecialChar TeX
25638  Code.
25639  color is hereby the name of a defined color.
25640  The command
25641 \end_layout
25642
25643 \begin_layout Standard
25644
25645 \series bold
25646
25647 \backslash
25648 nodashgapcolor
25649 \end_layout
25650
25651 \begin_layout Standard
25652 unsets the changes made by 
25653 \series bold
25654
25655 \backslash
25656 dashgapcolor
25657 \series default
25658 .
25659 \end_layout
25660
25661 \begin_layout Standard
25662 \begin_inset Note Greyedout
25663 status open
25664
25665 \begin_layout Plain Layout
25666
25667 \series bold
25668 \color none
25669 Note
25670 \series default
25671 : If there are multiple commands in a cell, the command of 
25672 \series bold
25673 arydshln
25674 \series default
25675  needs to be the first one in the cell.
25676  Therefore in cell 
25677 \emph on
25678 k
25679 \emph default
25680  of Table
25681 \begin_inset space ~
25682 \end_inset
25683
25684
25685 \begin_inset CommandInset ref
25686 LatexCommand ref
25687 reference "tab:Colored-table-with"
25688
25689 \end_inset
25690
25691  the command 
25692 \series bold
25693
25694 \backslash
25695 hdashline
25696 \series default
25697  is before 
25698 \series bold
25699
25700 \backslash
25701 rowcolor
25702 \series default
25703 .
25704 \end_layout
25705
25706 \end_inset
25707
25708
25709 \end_layout
25710
25711 \begin_layout Standard
25712 \begin_inset Note Greyedout
25713 status open
25714
25715 \begin_layout Plain Layout
25716
25717 \series bold
25718 \color none
25719 Note:
25720 \series default
25721  The \SpecialChar LaTeX
25722 -package 
25723 \series bold
25724 arydshln
25725 \series default
25726  must be loaded in the document preamble before the \SpecialChar LaTeX
25727 -package 
25728 \series bold
25729 colortbl
25730 \series default
25731
25732 \begin_inset Index idx
25733 status collapsed
25734
25735 \begin_layout Plain Layout
25736 \SpecialChar LaTeX
25737 -packages ! colortbl
25738 \end_layout
25739
25740 \end_inset
25741
25742 .
25743 \end_layout
25744
25745 \end_inset
25746
25747
25748 \end_layout
25749
25750 \begin_layout Standard
25751 \begin_inset ERT
25752 status collapsed
25753
25754 \begin_layout Plain Layout
25755
25756
25757 \backslash
25758 else
25759 \end_layout
25760
25761 \end_inset
25762
25763
25764 \begin_inset Note Note
25765 status open
25766
25767 \begin_layout Plain Layout
25768 The following will be displayed when the \SpecialChar LaTeX
25769 -package 
25770 \series bold
25771 arydshln
25772 \series default
25773  is not installed:
25774 \end_layout
25775
25776 \end_inset
25777
25778
25779 \end_layout
25780
25781 \begin_layout Standard
25782 You need to install the package 
25783 \series bold
25784 arydshln
25785 \series default
25786  to see the content of this section in the output.
25787 \end_layout
25788
25789 \begin_layout Standard
25790 \begin_inset ERT
25791 status collapsed
25792
25793 \begin_layout Plain Layout
25794
25795
25796 \backslash
25797 fi
25798 \end_layout
25799
25800 \end_inset
25801
25802
25803 \end_layout
25804
25805 \begin_layout Standard
25806 For more information about dashed lines see the documentation of 
25807 \series bold
25808 arydshln
25809 \series default
25810
25811 \begin_inset CommandInset citation
25812 LatexCommand cite
25813 key "arydshln"
25814 literal "true"
25815
25816 \end_inset
25817
25818 .
25819 \end_layout
25820
25821 \begin_layout Chapter
25822 Floats
25823 \begin_inset CommandInset label
25824 LatexCommand label
25825 name "chap:Floats"
25826
25827 \end_inset
25828
25829
25830 \begin_inset Index idx
25831 status collapsed
25832
25833 \begin_layout Plain Layout
25834 Floats
25835 \end_layout
25836
25837 \end_inset
25838
25839
25840 \end_layout
25841
25842 \begin_layout Section
25843 Introduction
25844 \begin_inset CommandInset label
25845 LatexCommand label
25846 name "sec:FloatIntroduction"
25847
25848 \end_inset
25849
25850
25851 \begin_inset Index idx
25852 status collapsed
25853
25854 \begin_layout Plain Layout
25855 Floats ! Introduction
25856 \end_layout
25857
25858 \end_inset
25859
25860
25861 \end_layout
25862
25863 \begin_layout Standard
25864 A float is a block of text associated with some sort of label, which doesn't
25865  have a fixed location.
25866  It can 
25867 \begin_inset Quotes eld
25868 \end_inset
25869
25870 float
25871 \begin_inset Quotes erd
25872 \end_inset
25873
25874  forward or backward a page or two, to wherever it fits best.
25875  
25876 \family sans
25877 Footnotes
25878 \family default
25879  and 
25880 \family sans
25881 Margin
25882 \begin_inset space ~
25883 \end_inset
25884
25885 Notes
25886 \family default
25887  are also floats because they can float to the next page when there are
25888  too many notes on the page.
25889 \end_layout
25890
25891 \begin_layout Standard
25892 Floats allow a high quality layout.
25893  Images and tables can be spread evenly among the pages to avoid white space
25894  and pages without text.
25895  As the floating often destroys the context between the text and the image/table
25896 , every float can be referenced in the text.
25897  Floats are therefore numbered.
25898  Referencing is described in section
25899 \begin_inset space ~
25900 \end_inset
25901
25902
25903 \begin_inset CommandInset ref
25904 LatexCommand ref
25905 reference "sec:Referencing-Floats"
25906
25907 \end_inset
25908
25909 .
25910 \end_layout
25911
25912 \begin_layout Standard
25913 To insert a float, use the menu 
25914 \family sans
25915 Insert\SpecialChar menuseparator
25916 Float
25917 \family default
25918  (toolbar button 
25919 \begin_inset Info
25920 type  "icon"
25921 arg   "float-insert figure"
25922 \end_inset
25923
25924  or 
25925 \begin_inset Info
25926 type  "icon"
25927 arg   "float-insert table"
25928 \end_inset
25929
25930 ).
25931  This inserts the 
25932 \family sans
25933 Caption
25934 \family default
25935  inset, a box with a label.
25936  The label will automatically be translated to the document language in
25937  the output.
25938  After the label you can insert the caption text.
25939  The image or table is inserted above or below the caption in a separate
25940  paragraph within the float.
25941  More about the caption placement is contained in section
25942 \begin_inset space ~
25943 \end_inset
25944
25945
25946 \begin_inset CommandInset ref
25947 LatexCommand ref
25948 reference "sec:Caption-Placement"
25949
25950 \end_inset
25951
25952 .
25953  To keep your \SpecialChar LyX
25954  document readable, you can open and close the float box by
25955  left-clicking on the box label.
25956  A closed float box looks like this: 
25957 \begin_inset Graphics
25958         filename clipart/float.png
25959         scale 95
25960         scaleBeforeRotation
25961
25962 \end_inset
25963
25964  â€“ a gray button with a red label.
25965 \end_layout
25966
25967 \begin_layout Standard
25968 It is recommended that you insert floats as separate standard paragraphs
25969  to avoid possible \SpecialChar LaTeX
25970 -errors that can occur when the surrounding text is specially
25971  formatted.
25972 \end_layout
25973
25974 \begin_layout Standard
25975 Existing figures or tables can be put into a float by highlighting them
25976  and then pressing the corresponding toolbar button for a new float.
25977 \end_layout
25978
25979 \begin_layout Section
25980 Float Types
25981 \end_layout
25982
25983 \begin_layout Standard
25984 Besides figure and table floats that are described in sections
25985 \begin_inset space ~
25986 \end_inset
25987
25988
25989 \begin_inset CommandInset ref
25990 LatexCommand ref
25991 reference "sec:Figure-Floats"
25992
25993 \end_inset
25994
25995  and 
25996 \begin_inset CommandInset ref
25997 LatexCommand ref
25998 reference "sec:Table-Floats"
25999
26000 \end_inset
26001
26002  respectively, \SpecialChar LyX
26003  offers the float types 
26004 \family sans
26005 Algorithm
26006 \family default
26007  and 
26008 \family sans
26009 Wrap
26010 \family default
26011 .
26012  The latter are explained in sec.
26013 \begin_inset space \thinspace{}
26014 \end_inset
26015
26016
26017 \begin_inset CommandInset ref
26018 LatexCommand ref
26019 reference "sec:Wrap-Floats"
26020
26021 \end_inset
26022
26023 .
26024 \end_layout
26025
26026 \begin_layout Subsection
26027 Algorithm Floats
26028 \begin_inset Index idx
26029 status collapsed
26030
26031 \begin_layout Plain Layout
26032 Floats ! Algorithms
26033 \end_layout
26034
26035 \end_inset
26036
26037
26038 \end_layout
26039
26040 \begin_layout Standard
26041 \begin_inset Float algorithm
26042 placement h
26043 alignment document
26044 wide false
26045 sideways false
26046 status open
26047
26048 \begin_layout Plain Layout
26049 \begin_inset Caption Standard
26050
26051 \begin_layout Plain Layout
26052 \begin_inset CommandInset label
26053 LatexCommand label
26054 name "alg:Example-Algorithm-float"
26055
26056 \end_inset
26057
26058 Example Algorithm float
26059 \end_layout
26060
26061 \end_inset
26062
26063
26064 \end_layout
26065
26066 \begin_layout LyX-Code
26067 for I in 1..N loop
26068 \begin_inset Newline newline
26069 \end_inset
26070
26071  Sum := Sum + A(I); /* comment */
26072 \begin_inset Newline newline
26073 \end_inset
26074
26075 end loop
26076 \begin_inset VSpace -4mm
26077 \end_inset
26078
26079
26080 \end_layout
26081
26082 \end_inset
26083
26084
26085 \end_layout
26086
26087 \begin_layout Standard
26088 This float type is inserted with the menu 
26089 \family sans
26090 Insert\SpecialChar menuseparator
26091 Float\SpecialChar menuseparator
26092 Algorithm
26093 \family default
26094 .
26095  It is used for program codes and descriptions of algorithms and can be
26096  seen as an alternative to program code listings that are explained in chapter
26097 \begin_inset space ~
26098 \end_inset
26099
26100
26101 \begin_inset CommandInset ref
26102 LatexCommand ref
26103 reference "cha:Program-Code-Listings"
26104
26105 \end_inset
26106
26107 .
26108  A possible environment for algorithms is the 
26109 \family sans
26110 \SpecialChar LyX
26111  Code
26112 \family default
26113 , described in \SpecialChar LyX
26114 's 
26115 \emph on
26116 Userguide
26117 \emph default
26118 .
26119  Algorithm
26120 \begin_inset space ~
26121 \end_inset
26122
26123
26124 \begin_inset CommandInset ref
26125 LatexCommand ref
26126 reference "alg:Example-Algorithm-float"
26127
26128 \end_inset
26129
26130  is an example of an algorithm float where -4
26131 \begin_inset space \thinspace{}
26132 \end_inset
26133
26134 mm vertical space was added at the end of the float to have the bottom rule
26135  exactly below the last text line.
26136 \end_layout
26137
26138 \begin_layout Standard
26139 The float label is not automatically translated into the document language.
26140  If your document is not in English, you have to do this manually by adding
26141  the following line to the document preamble
26142 \series bold
26143 :
26144 \end_layout
26145
26146 \begin_layout Standard
26147
26148 \series bold
26149
26150 \backslash
26151 floatname{algorithm}{your
26152 \begin_inset space ~
26153 \end_inset
26154
26155 name}
26156 \end_layout
26157
26158 \begin_layout Standard
26159 where 
26160 \family sans
26161 your
26162 \begin_inset space ~
26163 \end_inset
26164
26165 name
26166 \family default
26167  is the word 
26168 \begin_inset Quotes eld
26169 \end_inset
26170
26171
26172 \emph on
26173 algorithm
26174 \emph default
26175
26176 \begin_inset Quotes erd
26177 \end_inset
26178
26179  in your language.
26180 \end_layout
26181
26182 \begin_layout Standard
26183 To insert the list of algorithms you can use the menu 
26184 \family sans
26185 Insert\SpecialChar menuseparator
26186 List
26187 \begin_inset space \thinspace{}
26188 \end_inset
26189
26190 /
26191 \begin_inset space \thinspace{}
26192 \end_inset
26193
26194 TOC\SpecialChar menuseparator
26195 List of Algorithms
26196 \family default
26197  when your document has the same language as \SpecialChar LyX
26198 's menu names.
26199  In other cases use this command in \SpecialChar TeX
26200  Code instead:
26201 \end_layout
26202
26203 \begin_layout Standard
26204
26205 \series bold
26206
26207 \backslash
26208 listof{algorithm}{your
26209 \begin_inset space ~
26210 \end_inset
26211
26212 name}
26213 \end_layout
26214
26215 \begin_layout Standard
26216 where 
26217 \family sans
26218 your
26219 \begin_inset space ~
26220 \end_inset
26221
26222 name
26223 \family default
26224  is the word 
26225 \begin_inset Quotes eld
26226 \end_inset
26227
26228
26229 \emph on
26230 List of Algorithm
26231 \emph default
26232 s
26233 \begin_inset Quotes erd
26234 \end_inset
26235
26236  in your language.
26237 \end_layout
26238
26239 \begin_layout Standard
26240 Algorithm floats are not by default numbered in the scheme 
26241 \begin_inset Quotes eld
26242 \end_inset
26243
26244 chapter.algorithm
26245 \begin_inset Quotes erd
26246 \end_inset
26247
26248  as is the case for table and figure floats in many document-classes.
26249  To number algorithm floats in the same scheme, add this command to your
26250  document preamble:
26251 \end_layout
26252
26253 \begin_layout Standard
26254
26255 \series bold
26256
26257 \backslash
26258 numberwithin{algorithm}{chapter}
26259 \end_layout
26260
26261 \begin_layout Standard
26262 To be able to use the command 
26263 \series bold
26264
26265 \backslash
26266 numberwithin
26267 \series default
26268 , set in the tab 
26269 \family sans
26270 Math
26271 \begin_inset space ~
26272 \end_inset
26273
26274 Options
26275 \family default
26276  in the document settings the option 
26277 \family sans
26278 Use
26279 \begin_inset space ~
26280 \end_inset
26281
26282 AMS
26283 \begin_inset space ~
26284 \end_inset
26285
26286 math
26287 \begin_inset space ~
26288 \end_inset
26289
26290 package
26291 \family default
26292 .
26293 \end_layout
26294
26295 \begin_layout Section
26296 Float Numbering
26297 \begin_inset Index idx
26298 status collapsed
26299
26300 \begin_layout Plain Layout
26301 Floats ! Numbering
26302 \end_layout
26303
26304 \end_inset
26305
26306
26307 \end_layout
26308
26309 \begin_layout Standard
26310 Floats are usually numbered either independently from the sections the floats
26311  are in, or in the scheme 
26312 \begin_inset Quotes eld
26313 \end_inset
26314
26315 chapter.number
26316 \begin_inset Quotes erd
26317 \end_inset
26318
26319  or 
26320 \begin_inset Quotes eld
26321 \end_inset
26322
26323 section.number
26324 \begin_inset Quotes erd
26325 \end_inset
26326
26327 .
26328  This depends on the document class used.
26329 \end_layout
26330
26331 \begin_layout Standard
26332 To change section-independent numbering, you can use this command in the
26333  document preamble:
26334 \end_layout
26335
26336 \begin_layout Standard
26337
26338 \series bold
26339
26340 \backslash
26341 renewcommand{
26342 \backslash
26343 thetable}{
26344 \backslash
26345 roman{table}}
26346 \end_layout
26347
26348 \begin_layout Standard
26349
26350 \series bold
26351
26352 \backslash
26353 thetable
26354 \series default
26355  is the command that prints the table number.
26356  For figure floats, the command would be 
26357 \series bold
26358
26359 \backslash
26360 thefigure
26361 \series default
26362 .
26363  
26364 \series bold
26365
26366 \backslash
26367 roman
26368 \series default
26369  in the command above prints the table number as a small roman number.
26370 \end_layout
26371
26372 \begin_layout Standard
26373 To change the numbering scheme for example to 
26374 \begin_inset Quotes eld
26375 \end_inset
26376
26377 subsection.number
26378 \begin_inset Quotes erd
26379 \end_inset
26380
26381 , use this command in the preamble:
26382 \end_layout
26383
26384 \begin_layout Standard
26385
26386 \series bold
26387
26388 \backslash
26389 numberwithin{table}{subsection}
26390 \end_layout
26391
26392 \begin_layout Standard
26393 To be able to use the command 
26394 \series bold
26395
26396 \backslash
26397 numberwithin
26398 \series default
26399 , set in the tab 
26400 \family sans
26401 Math
26402 \begin_inset space ~
26403 \end_inset
26404
26405 Options
26406 \family default
26407  in the document settings the option 
26408 \family sans
26409 Use
26410 \begin_inset space ~
26411 \end_inset
26412
26413 AMS
26414 \begin_inset space ~
26415 \end_inset
26416
26417 math
26418 \begin_inset space ~
26419 \end_inset
26420
26421 package
26422 \family default
26423 .
26424 \end_layout
26425
26426 \begin_layout Standard
26427 Please also have a look at section
26428 \begin_inset space ~
26429 \end_inset
26430
26431
26432 \begin_inset CommandInset ref
26433 LatexCommand ref
26434 reference "subsec:Footnote-Numbering"
26435
26436 \end_inset
26437
26438  for the details and important notes about the numbering commands.
26439 \end_layout
26440
26441 \begin_layout Section
26442 Referencing Floats
26443 \begin_inset CommandInset label
26444 LatexCommand label
26445 name "sec:Referencing-Floats"
26446
26447 \end_inset
26448
26449
26450 \begin_inset Index idx
26451 status collapsed
26452
26453 \begin_layout Plain Layout
26454 Floats ! References
26455 \end_layout
26456
26457 \end_inset
26458
26459
26460 \begin_inset Index idx
26461 status collapsed
26462
26463 \begin_layout Plain Layout
26464 References ! to Floats
26465 \end_layout
26466
26467 \end_inset
26468
26469
26470 \end_layout
26471
26472 \begin_layout Standard
26473 To reference a float, insert a label into its caption using the menu 
26474 \family sans
26475 Insert\SpecialChar menuseparator
26476 Label
26477 \family default
26478  or the toolbar button 
26479 \begin_inset Info
26480 type  "icon"
26481 arg   "label-insert"
26482 \end_inset
26483
26484 .
26485  A grey label box like this one: 
26486 \begin_inset Graphics
26487         filename clipart/label.png
26488         scaleBeforeRotation
26489
26490 \end_inset
26491
26492  will be inserted and the label window pops up asking for the label text.
26493  \SpecialChar LyX
26494  offers as text the first words of the caption with a prefix.
26495  The prefix depends on the float type, e.
26496 \begin_inset space \thinspace{}
26497 \end_inset
26498
26499 g.
26500 \begin_inset space \space{}
26501 \end_inset
26502
26503 for figure floats the prefix will be "
26504 \family sans
26505 fig:
26506 \family default
26507 ".
26508 \end_layout
26509
26510 \begin_layout Standard
26511 The label is used as anchor and name for the reference.
26512  You can refer to the label using the menu 
26513 \family sans
26514 Insert\SpecialChar menuseparator
26515 Cross-reference
26516 \family default
26517  or the toolbar button 
26518 \begin_inset Info
26519 type  "icon"
26520 arg   "dialog-show-new-inset ref"
26521 \end_inset
26522
26523 .
26524  The cross-reference window appears showing all labels of the document.
26525  If you have multiple \SpecialChar LyX
26526  documents opened, choose the one you are working
26527  on from the drop-list at the top of the dialog.
26528  You can now sort the labels alphabetically and then choose one.
26529  A grey cross-reference box like this one: 
26530 \begin_inset Graphics
26531         filename clipart/reference.png
26532         scaleBeforeRotation
26533
26534 \end_inset
26535
26536  will be inserted.
26537  At the position of the cross-reference box the float number will appear
26538  in the output.
26539 \end_layout
26540
26541 \begin_layout Standard
26542 It is recommended that you use a protected space between the cross-reference
26543  name and its number to avoid line breaks between them.
26544  If a cross-reference refers to a non-existing label, you will see two question
26545  marks in the output instead of the reference.
26546 \end_layout
26547
26548 \begin_layout Standard
26549 You can change labels at any time by clicking on the label box.
26550  References to the changed label will automatically update their links to
26551  the new label text.
26552 \end_layout
26553
26554 \begin_layout Standard
26555 The button 
26556 \family sans
26557 Go
26558 \begin_inset space ~
26559 \end_inset
26560
26561 to
26562 \begin_inset space ~
26563 \end_inset
26564
26565 Label
26566 \family default
26567  in the cross-reference window sets the cursor before the referred label.
26568  The button text changes then to Go
26569 \begin_inset space ~
26570 \end_inset
26571
26572 Back and you can use it to set the cursor back to the cross-reference.
26573 \end_layout
26574
26575 \begin_layout Subsection
26576 Cross-Reference Formats
26577 \begin_inset CommandInset label
26578 LatexCommand label
26579 name "subsec:Cross-Reference-Formats"
26580
26581 \end_inset
26582
26583
26584 \begin_inset Index idx
26585 status collapsed
26586
26587 \begin_layout Plain Layout
26588 References ! Formats
26589 \end_layout
26590
26591 \end_inset
26592
26593
26594 \end_layout
26595
26596 \begin_layout Standard
26597 There are six varieties of cross-references:
26598 \end_layout
26599
26600 \begin_layout Description
26601 <reference>: prints the float number, this is the default: 
26602 \begin_inset CommandInset ref
26603 LatexCommand ref
26604 reference "fig:Two-distorted-images"
26605
26606 \end_inset
26607
26608
26609 \end_layout
26610
26611 \begin_layout Description
26612 (<reference>): prints the float number within two parentheses, this is the
26613  style normally used to reference formulas, especially when the reference
26614  name 
26615 \begin_inset Quotes eld
26616 \end_inset
26617
26618 Equation
26619 \begin_inset Quotes erd
26620 \end_inset
26621
26622  is omitted: 
26623 \begin_inset CommandInset ref
26624 LatexCommand eqref
26625 reference "eq:Wgn"
26626
26627 \end_inset
26628
26629
26630 \end_layout
26631
26632 \begin_layout Description
26633 <page>: prints the page number: Page
26634 \begin_inset space ~
26635 \end_inset
26636
26637
26638 \begin_inset CommandInset ref
26639 LatexCommand pageref
26640 reference "fig:Two-distorted-images"
26641
26642 \end_inset
26643
26644
26645 \end_layout
26646
26647 \begin_layout Description
26648 on
26649 \begin_inset space ~
26650 \end_inset
26651
26652 page
26653 \begin_inset space ~
26654 \end_inset
26655
26656 <page>: prints the text "on page" and the page number: 
26657 \begin_inset CommandInset ref
26658 LatexCommand vpageref
26659 reference "fig:Two-distorted-images"
26660
26661 \end_inset
26662
26663
26664 \end_layout
26665
26666 \begin_layout Description
26667 <reference>
26668 \begin_inset space ~
26669 \end_inset
26670
26671 on
26672 \begin_inset space ~
26673 \end_inset
26674
26675 page
26676 \begin_inset space ~
26677 \end_inset
26678
26679 <page>: prints the float number, the text "on page", and the page number:
26680  
26681 \begin_inset CommandInset ref
26682 LatexCommand vref
26683 reference "fig:Two-distorted-images"
26684
26685 \end_inset
26686
26687
26688 \end_layout
26689
26690 \begin_layout Description
26691 Formatted
26692 \begin_inset space ~
26693 \end_inset
26694
26695 reference: prints a self-defined cross-reference format.
26696 \begin_inset Newline newline
26697 \end_inset
26698
26699
26700 \begin_inset Note Greyedout
26701 status open
26702
26703 \begin_layout Plain Layout
26704
26705 \series bold
26706 Note:
26707 \series default
26708  This feature is only available when you have the \SpecialChar LaTeX
26709 -package 
26710 \series bold
26711 prettyref
26712 \series default
26713  or 
26714 \series bold
26715 refstyle
26716 \series default
26717
26718 \begin_inset Index idx
26719 status collapsed
26720
26721 \begin_layout Plain Layout
26722 \SpecialChar LaTeX
26723 -packages ! prettyref
26724 \end_layout
26725
26726 \end_inset
26727
26728
26729 \begin_inset Index idx
26730 status collapsed
26731
26732 \begin_layout Plain Layout
26733 \SpecialChar LaTeX
26734 -packages ! refstyle
26735 \end_layout
26736
26737 \end_inset
26738
26739  installed.
26740 \end_layout
26741
26742 \end_inset
26743
26744
26745 \begin_inset Newline newline
26746 \end_inset
26747
26748 You can select which \SpecialChar LaTeX
26749 -package should be used for this feature by setting
26750  the option 
26751 \family sans
26752 Use refstyle (not prettyref) for cross-references
26753 \family default
26754  in the menu 
26755 \family sans
26756 Document\SpecialChar menuseparator
26757 Settings\SpecialChar menuseparator
26758 Document Class
26759 \family default
26760 .
26761  The format is specified by adding the command 
26762 \series bold
26763
26764 \backslash
26765 newrefformat
26766 \series default
26767  (prettyref) or 
26768 \series bold
26769
26770 \backslash
26771 newref
26772 \series default
26773  (refstyle) to the preamble of the document.
26774  For example redefining all references to figures (which have the label
26775  prefix 
26776 \begin_inset Quotes eld
26777 \end_inset
26778
26779
26780 \family sans
26781 fig
26782 \family default
26783
26784 \begin_inset Quotes erd
26785 \end_inset
26786
26787 ) can be done with this command
26788 \begin_inset Newline newline
26789 \end_inset
26790
26791
26792 \series bold
26793
26794 \backslash
26795 newref{fig}{refcmd={Image on page 
26796 \backslash
26797 pageref{#1}}}
26798 \series default
26799
26800 \begin_inset Newline newline
26801 \end_inset
26802
26803 For more information about the format, have a look at the package documentations
26804
26805 \begin_inset CommandInset citation
26806 LatexCommand cite
26807 key "prettyref,refstyle"
26808 literal "true"
26809
26810 \end_inset
26811
26812 .
26813 \begin_inset Newline newline
26814 \end_inset
26815
26816 The options 
26817 \family sans
26818 Plural
26819 \family default
26820  and 
26821 \family sans
26822 Capitalized
26823 \family default
26824  are only available if you use the \SpecialChar LaTeX
26825 -package 
26826 \series bold
26827 refstyle
26828 \series default
26829 .
26830  
26831 \family sans
26832 Plural
26833 \family default
26834  adds an 
26835 \emph on
26836 s
26837 \emph default
26838  to the name, e.
26839 \begin_inset space \thinspace{}
26840 \end_inset
26841
26842 g.
26843 \begin_inset space \space{}
26844 \end_inset
26845
26846
26847 \begin_inset Quotes eld
26848 \end_inset
26849
26850 figures
26851 \begin_inset Quotes erd
26852 \end_inset
26853
26854
26855 \family sans
26856 Capitalized
26857 \family default
26858  outputs the name capitalized, e.
26859 \begin_inset space \thinspace{}
26860 \end_inset
26861
26862 g.
26863 \begin_inset space \space{}
26864 \end_inset
26865
26866
26867 \begin_inset Quotes eld
26868 \end_inset
26869
26870 Figure
26871 \begin_inset Quotes erd
26872 \end_inset
26873
26874 .
26875  Both options can be combined to get e.
26876 \begin_inset space \thinspace{}
26877 \end_inset
26878
26879 g.
26880 \begin_inset space \space{}
26881 \end_inset
26882
26883
26884 \begin_inset Quotes eld
26885 \end_inset
26886
26887 Figures
26888 \begin_inset Quotes erd
26889 \end_inset
26890
26891 .
26892 \end_layout
26893
26894 \begin_layout Description
26895 Textual
26896 \begin_inset space ~
26897 \end_inset
26898
26899 reference: prints the caption of the reference: 
26900 \begin_inset CommandInset ref
26901 LatexCommand nameref
26902 reference "fig:Two-distorted-images"
26903
26904 \end_inset
26905
26906
26907 \end_layout
26908
26909 \begin_layout Description
26910 Label
26911 \begin_inset space ~
26912 \end_inset
26913
26914 only: prints only the \SpecialChar LaTeX
26915  label for the reference: 
26916 \begin_inset CommandInset ref
26917 LatexCommand labelonly
26918 reference "fig:Two-distorted-images"
26919 plural "false"
26920 caps "false"
26921 noprefix "false"
26922
26923 \end_inset
26924
26925
26926 \begin_inset Newline newline
26927 \end_inset
26928
26929 This allows to use the label for commands in \SpecialChar TeX
26930  code.
26931  With the option 
26932 \family sans
26933 No Prefix
26934 \family default
26935  one can omit the prefix of the label name: 
26936 \begin_inset CommandInset ref
26937 LatexCommand labelonly
26938 reference "fig:Two-distorted-images"
26939 plural "false"
26940 caps "false"
26941 noprefix "true"
26942
26943 \end_inset
26944
26945
26946 \end_layout
26947
26948 \begin_layout Standard
26949
26950 \family sans
26951 <page>
26952 \family default
26953  will not print the page number if the label is on the previous, the same,
26954  or the next page.
26955  You will e.
26956 \begin_inset space \thinspace{}
26957 \end_inset
26958
26959 g.
26960 \begin_inset space \space{}
26961 \end_inset
26962
26963 see the text 
26964 \begin_inset Quotes eld
26965 \end_inset
26966
26967
26968 \family sans
26969 on this page
26970 \family default
26971
26972 \begin_inset Quotes erd
26973 \end_inset
26974
26975  instead.
26976  The style 
26977 \family sans
26978 <reference> on page <page>
26979 \family default
26980  will not print anything about the page if the label is on the same page.
26981 \end_layout
26982
26983 \begin_layout Standard
26984 The number and current page of the part of the document referred to in the
26985  output is automatically calculated by \SpecialChar LaTeX
26986 .
26987  The varieties are adjusted in the field 
26988 \family sans
26989 Format
26990 \family default
26991  of the cross-reference window that appears when you click on the cross-referenc
26992 e box.
26993 \end_layout
26994
26995 \begin_layout Standard
26996 \begin_inset Note Greyedout
26997 status open
26998
26999 \begin_layout Plain Layout
27000
27001 \series bold
27002 Note:
27003 \series default
27004  It is recommended to use the \SpecialChar LaTeX
27005 -package 
27006 \series bold
27007 refstyle
27008 \series default
27009
27010 \begin_inset Index idx
27011 status collapsed
27012
27013 \begin_layout Plain Layout
27014 \SpecialChar LaTeX
27015 -packages ! refstyle
27016 \end_layout
27017
27018 \end_inset
27019
27020  because 
27021 \series bold
27022 prettyref
27023 \series default
27024
27025 \begin_inset Index idx
27026 status collapsed
27027
27028 \begin_layout Plain Layout
27029 \SpecialChar LaTeX
27030 -packages ! prettyref
27031 \end_layout
27032
27033 \end_inset
27034
27035  does not know all of \SpecialChar LyX
27036 's possible label shortcuts
27037 \begin_inset Foot
27038 status collapsed
27039
27040 \begin_layout Plain Layout
27041 \begin_inset Quotes eld
27042 \end_inset
27043
27044 fig:
27045 \begin_inset Quotes erd
27046 \end_inset
27047
27048  is for example \SpecialChar LyX
27049 's shortcut for labels in figure captions.
27050 \end_layout
27051
27052 \end_inset
27053
27054  and is not internationalized.
27055 \end_layout
27056
27057 \end_inset
27058
27059
27060 \end_layout
27061
27062 \begin_layout Subsection
27063 Automatic Reference Naming
27064 \begin_inset Index idx
27065 status collapsed
27066
27067 \begin_layout Plain Layout
27068 References ! Automatic Reference Naming
27069 \end_layout
27070
27071 \end_inset
27072
27073
27074 \end_layout
27075
27076 \begin_layout Standard
27077 The \SpecialChar LaTeX
27078 -package 
27079 \series bold
27080 hyperref
27081 \series default
27082
27083 \begin_inset Index idx
27084 status collapsed
27085
27086 \begin_layout Plain Layout
27087 \SpecialChar LaTeX
27088 -packages ! hyperref
27089 \end_layout
27090
27091 \end_inset
27092
27093 , that is enabled in the 
27094 \family sans
27095 PDF Properties
27096 \family default
27097  of the 
27098 \family sans
27099 Document Settings
27100 \family default
27101  dialog, provides a very useful feature that cross-references automatically
27102  include the name of the referenced floats (or text parts like 
27103 \emph on
27104 section
27105 \emph default
27106 ).
27107  So you will save having to write e.
27108 \begin_inset space \thinspace{}
27109 \end_inset
27110
27111 g.
27112 \begin_inset space \space{}
27113 \end_inset
27114
27115 the name 
27116 \begin_inset Quotes eld
27117 \end_inset
27118
27119 Figure
27120 \begin_inset Quotes erd
27121 \end_inset
27122
27123  before every reference to a figure.
27124  To use this feature, enable 
27125 \series bold
27126 hyperref
27127 \series default
27128  and insert this line to the \SpecialChar LaTeX
27129  preamble:
27130 \end_layout
27131
27132 \begin_layout Standard
27133
27134 \series bold
27135
27136 \backslash
27137 AtBeginDocument{
27138 \backslash
27139 renewcommand{
27140 \backslash
27141 ref}[1]{
27142 \backslash
27143 mbox{
27144 \backslash
27145 autoref{#1}}}}
27146 \end_layout
27147
27148 \begin_layout Standard
27149 When you prefer other reference names than the default ones, for example
27150  you want instead of 
27151 \begin_inset Quotes eld
27152 \end_inset
27153
27154 section
27155 \begin_inset Quotes erd
27156 \end_inset
27157
27158  the name 
27159 \begin_inset Quotes eld
27160 \end_inset
27161
27162 sec.
27163 \begin_inset space \thinspace{}
27164 \end_inset
27165
27166
27167 \begin_inset Quotes eld
27168 \end_inset
27169
27170 , you can redefine the name by inserting this in the preamble:
27171 \end_layout
27172
27173 \begin_layout Standard
27174
27175 \series bold
27176
27177 \backslash
27178 addto
27179 \backslash
27180 extrasenglish{
27181 \backslash
27182 renewcommand{
27183 \backslash
27184 sectionautorefname}
27185 \begin_inset Newline newline
27186 \end_inset
27187
27188
27189 \begin_inset Phantom HPhantom
27190 status open
27191
27192 \begin_layout Plain Layout
27193
27194 \series bold
27195 \begin_inset space ~
27196 \end_inset
27197
27198
27199 \end_layout
27200
27201 \end_inset
27202
27203 {sec.
27204 \backslash
27205 negthinspace}}
27206 \end_layout
27207
27208 \begin_layout Standard
27209 When you are using another document language than English, replace
27210 \begin_inset Newline newline
27211 \end_inset
27212
27213
27214 \series bold
27215
27216 \backslash
27217 extrasenglish
27218 \series default
27219  by 
27220 \series bold
27221
27222 \backslash
27223 extras***
27224 \series default
27225 , where *** is the name of the language used.
27226 \end_layout
27227
27228 \begin_layout Standard
27229 To get automatic names, but not for certain reference types, for example
27230  not for equations, use this preamble code:
27231 \end_layout
27232
27233 \begin_layout Standard
27234
27235 \series bold
27236
27237 \backslash
27238 addto
27239 \backslash
27240 extrasenglish{
27241 \backslash
27242 renewcommand*{
27243 \backslash
27244 equationautorefname}[1]{}}
27245 \end_layout
27246
27247 \begin_layout Standard
27248 More about this topic can be found in 
27249 \series bold
27250 hyperref
27251 \series default
27252 's documentation 
27253 \begin_inset CommandInset citation
27254 LatexCommand cite
27255 key "hyperref"
27256 literal "true"
27257
27258 \end_inset
27259
27260 .
27261 \end_layout
27262
27263 \begin_layout Standard
27264 \begin_inset Note Greyedout
27265 status open
27266
27267 \begin_layout Plain Layout
27268
27269 \series bold
27270 Note:
27271 \series default
27272  Automatic reference naming cannot be used when you use cross-references
27273  in the 
27274 \family sans
27275 Formatted
27276 \begin_inset space ~
27277 \end_inset
27278
27279 reference
27280 \family default
27281  style, as described in section
27282 \begin_inset space ~
27283 \end_inset
27284
27285
27286 \begin_inset CommandInset ref
27287 LatexCommand ref
27288 reference "subsec:Cross-Reference-Formats"
27289
27290 \end_inset
27291
27292 .
27293 \end_layout
27294
27295 \end_inset
27296
27297
27298 \end_layout
27299
27300 \begin_layout Standard
27301 The 
27302 \emph on
27303 Math
27304 \emph default
27305  manual is an example where automatic reference naming is used.
27306 \end_layout
27307
27308 \begin_layout Subsection
27309 Reference Position
27310 \begin_inset CommandInset label
27311 LatexCommand label
27312 name "subsec:Reference-Position"
27313
27314 \end_inset
27315
27316
27317 \begin_inset Index idx
27318 status collapsed
27319
27320 \begin_layout Plain Layout
27321 References ! Reference Position
27322 \end_layout
27323
27324 \end_inset
27325
27326
27327 \end_layout
27328
27329 \begin_layout Standard
27330 If you use 
27331 \series bold
27332 hyperref
27333 \series default
27334
27335 \begin_inset Index idx
27336 status collapsed
27337
27338 \begin_layout Plain Layout
27339 \SpecialChar LaTeX
27340 -packages ! hyperref
27341 \end_layout
27342
27343 \end_inset
27344
27345  in the 
27346 \family sans
27347 PDF Properties
27348 \family default
27349  of the 
27350 \family sans
27351 Document Settings
27352 \family default
27353  dialog to link cross-references in the output, you will see that clicking
27354  on an image float reference jumps to the image label.
27355  The caption will be the first text part on the screen, so that you cannot
27356  see the image without scrolling.
27357  This is because the reference link anchor is placed at the position of
27358  the label.
27359  With the use of the package 
27360 \series bold
27361 hypcap
27362 \series default
27363
27364 \begin_inset Index idx
27365 status collapsed
27366
27367 \begin_layout Plain Layout
27368 \SpecialChar LaTeX
27369 -packages ! hypcap
27370 \end_layout
27371
27372 \end_inset
27373
27374 , which is part of the \SpecialChar LaTeX
27375 -package 
27376 \series bold
27377 oberdiek
27378 \series default
27379
27380 \begin_inset Index idx
27381 status collapsed
27382
27383 \begin_layout Plain Layout
27384 \SpecialChar LaTeX
27385 -packages ! oberdiek
27386 \end_layout
27387
27388 \end_inset
27389
27390 , the link anchor is placed at the beginning of a float.
27391  To use this feature for figure floats, load 
27392 \series bold
27393 hypcap
27394 \series default
27395  in the document preamble with the line
27396 \end_layout
27397
27398 \begin_layout Standard
27399
27400 \series bold
27401
27402 \backslash
27403 usepackage[figure]{hypcap}
27404 \end_layout
27405
27406 \begin_layout Standard
27407 You can also use 
27408 \series bold
27409 hypcap
27410 \series default
27411  for all float types but this is not recommended for stability reasons.
27412  For more information, have a look at 
27413 \series bold
27414 hypcap
27415 \series default
27416 's manual 
27417 \begin_inset CommandInset citation
27418 LatexCommand cite
27419 key "hypcap"
27420 literal "true"
27421
27422 \end_inset
27423
27424 .
27425 \end_layout
27426
27427 \begin_layout Standard
27428 \begin_inset Note Greyedout
27429 status open
27430
27431 \begin_layout Plain Layout
27432
27433 \series bold
27434 Note:
27435 \series default
27436  
27437 \series bold
27438 hypcap
27439 \series default
27440  has no effect on references to subfigures.
27441 \end_layout
27442
27443 \end_inset
27444
27445
27446 \end_layout
27447
27448 \begin_layout Section
27449 Float 
27450 \change_deleted -712698321 1526031763
27451 Placement 
27452 \change_inserted -712698321 1526031765
27453 Settings
27454 \change_unchanged
27455
27456 \begin_inset CommandInset label
27457 LatexCommand label
27458 name "sec:Float-Settings"
27459
27460 \end_inset
27461
27462
27463 \begin_inset Index idx
27464 status collapsed
27465
27466 \begin_layout Plain Layout
27467 Floats ! 
27468 \change_deleted -712698321 1526031841
27469 Placement
27470 \change_inserted -712698321 1526031842
27471 Settings
27472 \change_unchanged
27473
27474 \end_layout
27475
27476 \end_inset
27477
27478
27479 \end_layout
27480
27481 \begin_layout Standard
27482
27483 \change_inserted -712698321 1526033385
27484 Float Settings can be adjusted at two places in \SpecialChar LyX
27485
27486 \change_inserted 630872221 1622709604
27487 i
27488 \change_deleted 630872221 1622709603
27489 I
27490 \change_inserted -712698321 1526033385
27491
27492 \family sans
27493 Document\SpecialChar menuseparator
27494 Settings\SpecialChar ldots
27495 \SpecialChar menuseparator
27496 Float Settings
27497 \family default
27498 , you can set some options that are used by default for all floats of the
27499  document (placement on page and alignment of contents), unless you modify
27500  the local settings of a float.
27501 \change_unchanged
27502
27503 \end_layout
27504
27505 \begin_layout Standard
27506
27507 \change_inserted -712698321 1526032513
27508 The latter can be done by 
27509 \change_deleted -712698321 1526032513
27510 R
27511 \change_inserted -712698321 1526032513
27512 r
27513 \change_unchanged
27514 ight-clicking on a float-box and clicking on 
27515 \family sans
27516 Settings
27517 \change_inserted -712698321 1526033387
27518 \SpecialChar ldots
27519
27520 \change_unchanged
27521
27522 \family default
27523  
27524 \change_inserted -712698321 1526032520
27525 This 
27526 \change_unchanged
27527 opens a dialog where you can
27528 \change_inserted -712698321 1526032584
27529 , now only for the given float,
27530 \change_unchanged
27531  alter the 
27532 \change_inserted -712698321 1526033452
27533 global 
27534 \change_unchanged
27535 placement 
27536 \change_deleted -712698321 1526033439
27537 options that \SpecialChar LaTeX
27538  uses for positioning the float
27539 \change_inserted -712698321 1526033493
27540  and alignment options, and adapt some other options that are only available
27541  for single floats
27542 \change_unchanged
27543 .
27544
27545 \change_inserted -712698321 1526032658
27546  All these options, both for 
27547 \family sans
27548 Document\SpecialChar menuseparator
27549 Settings\SpecialChar menuseparator
27550 Float Settings
27551 \family default
27552  and for local 
27553 \family sans
27554 Float Settings
27555 \family default
27556 , are described in turn.
27557 \change_deleted -712698321 1526031652
27558
27559 \begin_inset Newline newline
27560 \end_inset
27561
27562 The option 
27563 \family sans
27564 Span
27565 \begin_inset space ~
27566 \end_inset
27567
27568 columns
27569 \family default
27570  is only useful for two-column documents: If you select it, the float will
27571  span both columns on the page instead of being confined to just one.
27572 \begin_inset Newline newline
27573 \end_inset
27574
27575 The option 
27576 \family sans
27577 Rotate
27578 \begin_inset space ~
27579 \end_inset
27580
27581 sideways
27582 \family default
27583  is used to rotate floats, see section 
27584 \begin_inset CommandInset ref
27585 LatexCommand ref
27586 reference "sec:Rotated-Floats"
27587
27588 \end_inset
27589
27590 .
27591 \change_unchanged
27592
27593 \end_layout
27594
27595 \begin_layout Subsection
27596
27597 \change_inserted -712698321 1526031775
27598 Float Placement
27599 \begin_inset CommandInset label
27600 LatexCommand label
27601 name "sec:Float-Placement"
27602
27603 \end_inset
27604
27605
27606 \begin_inset Index idx
27607 status collapsed
27608
27609 \begin_layout Plain Layout
27610
27611 \change_inserted -712698321 1526031775
27612 Floats ! Placement
27613 \change_unchanged
27614
27615 \end_layout
27616
27617 \end_inset
27618
27619
27620 \change_unchanged
27621
27622 \end_layout
27623
27624 \begin_layout Standard
27625
27626 \change_inserted -712698321 1526032697
27627 Both in 
27628 \family sans
27629 Document\SpecialChar menuseparator
27630 Settings\SpecialChar menuseparator
27631 Float Settings
27632 \family default
27633  and in the local 
27634 \family sans
27635 Float Settings
27636 \family default
27637  dialog, you can 
27638 \change_deleted -712698321 1526032811
27639 You can use one or more of the following options in the float dialog to
27640  set
27641 \change_inserted -712698321 1526032812
27642 modify
27643 \change_unchanged
27644  the placement 
27645 \change_inserted -712698321 1526033558
27646 algorithm that \SpecialChar LaTeX
27647  uses for positioning floats on the page, either 
27648 \change_unchanged
27649 for 
27650 \change_inserted -712698321 1526033535
27651 all floats (
27652 \family sans
27653 Document\SpecialChar menuseparator
27654 Settings\SpecialChar menuseparator
27655 Float Settings
27656 \family default
27657 ) or 
27658 \change_unchanged
27659 a particular float
27660 \change_inserted -712698321 1526033570
27661  (local 
27662 \family sans
27663 Float Settings
27664 \family default
27665  dialog).
27666  This is done via 
27667 \family sans
27668 Placement Settings
27669 \family default
27670 .
27671  By default, this is set to
27672 \change_unchanged
27673  
27674 \change_inserted -712698321 1526033604
27675
27676 \family sans
27677 Class Default
27678 \family default
27679  in 
27680 \family sans
27681 Document\SpecialChar menuseparator
27682 Settings\SpecialChar menuseparator
27683 Float Settings
27684 \family default
27685  (meaning that the default placement algorithm of the document class is
27686  used) or 
27687 \family sans
27688 Document Default
27689 \family default
27690  in the local 
27691 \family sans
27692 Float Settings
27693 \family default
27694  dialog (meaning that the settings in 
27695 \family sans
27696 Document\SpecialChar menuseparator
27697 Settings\SpecialChar menuseparator
27698 Float Settings
27699 \family default
27700  are used, which are the Class Defaults by default).
27701  If you want to change this, 
27702 \change_deleted -712698321 1526033009
27703 when you uncheck
27704 \change_inserted -712698321 1526033535
27705 select
27706 \change_unchanged
27707  
27708 \change_deleted -712698321 1526031920
27709 the option
27710 \change_inserted -712698321 1526033535
27711
27712 \family sans
27713 Placement Settings:
27714 \change_unchanged
27715
27716 \family default
27717  
27718 \change_inserted -712698321 1526033535
27719
27720 \family sans
27721 Custom.
27722 \change_deleted -712698321 1526031908
27723 Use
27724 \begin_inset space ~
27725 \end_inset
27726
27727 default
27728 \begin_inset space ~
27729 \end_inset
27730
27731 placement
27732 \change_inserted -712698321 1526033535
27733
27734 \family default
27735  This allows you to select one or more from
27736 \change_unchanged
27737 :
27738 \end_layout
27739
27740 \begin_layout Description
27741 Here
27742 \begin_inset space ~
27743 \end_inset
27744
27745 if
27746 \begin_inset space ~
27747 \end_inset
27748
27749 possible try to place the float on the position where it has been inserted
27750 \change_inserted 630872221 1622713522
27751
27752 \end_layout
27753
27754 \begin_layout Description
27755
27756 \change_inserted 630872221 1622713704
27757 Here,
27758 \begin_inset space ~
27759 \end_inset
27760
27761 definitely forces the placement of the float on the position where it has
27762  been inserted
27763 \change_unchanged
27764
27765 \end_layout
27766
27767 \begin_layout Description
27768 Top
27769 \begin_inset space ~
27770 \end_inset
27771
27772 of
27773 \begin_inset space ~
27774 \end_inset
27775
27776 page try to place the float at the top of the current page
27777 \end_layout
27778
27779 \begin_layout Description
27780 Bottom
27781 \begin_inset space ~
27782 \end_inset
27783
27784 of
27785 \begin_inset space ~
27786 \end_inset
27787
27788 page try to place the float at the bottom of the current page
27789 \end_layout
27790
27791 \begin_layout Description
27792 Page
27793 \begin_inset space ~
27794 \end_inset
27795
27796 of
27797 \begin_inset space ~
27798 \end_inset
27799
27800 floats try to place the float on its own page
27801 \end_layout
27802
27803 \begin_layout Standard
27804 The order of the above option is 
27805 \emph on
27806 always
27807 \emph default
27808  used by \SpecialChar LaTeX
27809 .
27810  That means, if you use the default placement, \SpecialChar LaTeX
27811  will first try out 
27812 \family sans
27813 Here
27814 \begin_inset space ~
27815 \end_inset
27816
27817 if
27818 \begin_inset space ~
27819 \end_inset
27820
27821 possible
27822 \family default
27823 , then 
27824 \family sans
27825 Top
27826 \begin_inset space ~
27827 \end_inset
27828
27829 of
27830 \begin_inset space ~
27831 \end_inset
27832
27833 page
27834 \family default
27835 , and then the others.
27836  If you do not use the default, \SpecialChar LaTeX
27837  will try only the checked options but in
27838  the same order.
27839  If none of the 4
27840 \begin_inset space ~
27841 \end_inset
27842
27843 placements is possible the procedure is internally repeated trying to put
27844  the float on the following page.
27845 \end_layout
27846
27847 \begin_layout Standard
27848 By default, each option has its own rules:
27849 \end_layout
27850
27851 \begin_layout Labeling
27852 \labelwidthstring 00.00.0000
27853
27854 \family sans
27855 Top
27856 \begin_inset space ~
27857 \end_inset
27858
27859 of
27860 \begin_inset space ~
27861 \end_inset
27862
27863 page
27864 \family default
27865  only floats occupying less than 70
27866 \begin_inset space \thinspace{}
27867 \end_inset
27868
27869 % of the page can be placed at the top of a page (
27870 \series bold
27871
27872 \backslash
27873 topfraction
27874 \series default
27875 )
27876 \end_layout
27877
27878 \begin_layout Labeling
27879 \labelwidthstring 00.00.0000
27880
27881 \family sans
27882 Bottom
27883 \begin_inset space ~
27884 \end_inset
27885
27886 of
27887 \begin_inset space ~
27888 \end_inset
27889
27890 page
27891 \family default
27892 : only floats occupying less than 30
27893 \begin_inset space \thinspace{}
27894 \end_inset
27895
27896 % of the page can be placed at the bottom of a page.
27897  (
27898 \series bold
27899
27900 \backslash
27901 bottomfraction
27902 \series default
27903 )
27904 \end_layout
27905
27906 \begin_layout Labeling
27907 \labelwidthstring 00.00.0000
27908
27909 \family sans
27910 Page
27911 \begin_inset space ~
27912 \end_inset
27913
27914 of
27915 \begin_inset space ~
27916 \end_inset
27917
27918 floats
27919 \family default
27920 : only if more than 50
27921 \begin_inset space \thinspace{}
27922 \end_inset
27923
27924 % of the page is occupied by floats, several floats can be set together
27925  on a page.
27926  (
27927 \series bold
27928
27929 \backslash
27930 floatpagefraction
27931 \series default
27932 )
27933 \end_layout
27934
27935 \begin_layout Standard
27936 If you don't like these rules, you can ignore them by using the additional
27937  option 
27938 \family sans
27939 Ignore
27940 \begin_inset space ~
27941 \end_inset
27942
27943 \SpecialChar LaTeX
27944
27945 \begin_inset space ~
27946 \end_inset
27947
27948 rules
27949 \family default
27950 .
27951 \begin_inset Newline newline
27952 \end_inset
27953
27954 You can also redefine the rules with \SpecialChar LaTeX
27955 -commands that are given in parentheses
27956  after the rules description above.
27957  To increase for example the often too small default of the bottom-rule
27958  to 50
27959 \begin_inset space \thinspace{}
27960 \end_inset
27961
27962 % of the page, add this line to your document preamble:
27963 \end_layout
27964
27965 \begin_layout Standard
27966
27967 \series bold
27968
27969 \backslash
27970 renewcommand{
27971 \backslash
27972 bottomfraction}{0.5}
27973 \end_layout
27974
27975 \begin_layout Standard
27976 Sometimes you might need, under all circumstances, a float to be placed
27977  exactly at the position where it is inserted.
27978  For this case you can use the option 
27979 \family sans
27980 Here
27981 \begin_inset space ~
27982 \end_inset
27983
27984 definitely
27985 \family default
27986 .
27987  Use this option very rarely and only if the document is almost ready to
27988  be printed, because the float is then no longer able to 
27989 \begin_inset Quotes eld
27990 \end_inset
27991
27992 float
27993 \begin_inset Quotes erd
27994 \end_inset
27995
27996  when you change your document and this will often destroy the page layout.
27997 \end_layout
27998
27999 \begin_layout Standard
28000 There are no placement options for text wrap floats, because they are always
28001  surrounded by the text of a certain paragraph.
28002 \begin_inset VSpace bigskip
28003 \end_inset
28004
28005
28006 \end_layout
28007
28008 \begin_layout Standard
28009 Sometimes you have the problem that a float is placed at the top of a page
28010  while its corresponding section starts at the middle of the page, so that
28011  the reader could think the float is part of the previous section.
28012  To avoid this the \SpecialChar LaTeX
28013 -command 
28014 \series bold
28015
28016 \backslash
28017 suppressfloats
28018 \series default
28019  can be used.
28020  It suppresses a given float placement for the page where it is inserted
28021  and can therefore be used to avoid floats being set before a section starts.
28022  To get this, add these commands to your document preamble:
28023 \end_layout
28024
28025 \begin_layout Standard
28026
28027 \series bold
28028
28029 \backslash
28030 let
28031 \backslash
28032 mySection
28033 \backslash
28034 section
28035 \begin_inset Newline newline
28036 \end_inset
28037
28038
28039 \backslash
28040 renewcommand{
28041 \backslash
28042 section}{
28043 \backslash
28044 suppressfloats[t]
28045 \backslash
28046 mySection}
28047 \end_layout
28048
28049 \begin_layout Standard
28050 You can define the same for all section headings, like chapters and subsections.
28051  This definition is not recommended to be used for small text parts like
28052  subsubsections because \SpecialChar LaTeX
28053  may then have problems finding a suitable placement.
28054 \end_layout
28055
28056 \begin_layout Standard
28057 \begin_inset VSpace bigskip
28058 \end_inset
28059
28060 In some cases it is required to have all figures/tables at the end of the
28061  document.
28062  For this purpose the \SpecialChar LaTeX
28063 -package 
28064 \series bold
28065 endfloat
28066 \series default
28067
28068 \begin_inset Index idx
28069 status collapsed
28070
28071 \begin_layout Plain Layout
28072 \SpecialChar LaTeX
28073 -packages ! endfloat
28074 \end_layout
28075
28076 \end_inset
28077
28078  was developed.
28079  It puts all figure and table floats at the end of the document into their
28080  own sections.
28081  At the original float position a text hint like 
28082 \begin_inset Quotes eld
28083 \end_inset
28084
28085
28086 \family sans
28087 [Figure
28088 \begin_inset space ~
28089 \end_inset
28090
28091 3.2 about here.]
28092 \family default
28093
28094 \begin_inset Quotes erd
28095 \end_inset
28096
28097  is inserted.
28098  The endfloat-package is loaded in the preamble with the line
28099 \end_layout
28100
28101 \begin_layout Standard
28102
28103 \series bold
28104
28105 \backslash
28106 usepackage[options]{endfloat}
28107 \end_layout
28108
28109 \begin_layout Standard
28110 There are various package options to format the created figure/table sections.
28111  For more information we refer you to the 
28112 \series bold
28113 endfloat
28114 \series default
28115  documentation 
28116 \begin_inset CommandInset citation
28117 LatexCommand cite
28118 key "endfloat"
28119 literal "true"
28120
28121 \end_inset
28122
28123 .
28124 \begin_inset Newline newline
28125 \end_inset
28126
28127
28128 \begin_inset Note Greyedout
28129 status open
28130
28131 \begin_layout Plain Layout
28132
28133 \series bold
28134 Note: endfloat
28135 \series default
28136  doesn't provide an automatic translation for the text hint, you have to
28137  do this manually, see section
28138 \begin_inset space ~
28139 \end_inset
28140
28141 4 in 
28142 \begin_inset CommandInset citation
28143 LatexCommand cite
28144 key "endfloat"
28145 literal "true"
28146
28147 \end_inset
28148
28149 .
28150 \end_layout
28151
28152 \end_inset
28153
28154
28155 \begin_inset Newline newline
28156 \end_inset
28157
28158
28159 \begin_inset Note Greyedout
28160 status open
28161
28162 \begin_layout Plain Layout
28163
28164 \series bold
28165 Note:
28166 \series default
28167  There is currently a bug in 
28168 \series bold
28169 endfloat
28170 \series default
28171  when the caption contains a German 
28172 \begin_inset Quotes eld
28173 \end_inset
28174
28175 ß
28176 \begin_inset Quotes erd
28177 \end_inset
28178
28179 .
28180  Use in this case the command 
28181 \begin_inset Quotes eld
28182 \end_inset
28183
28184
28185 \series bold
28186
28187 \backslash
28188 ss
28189 \series default
28190
28191 \begin_inset Quotes erd
28192 \end_inset
28193
28194  in \SpecialChar TeX
28195  Code instead of 
28196 \begin_inset Quotes eld
28197 \end_inset
28198
28199 ß
28200 \begin_inset Quotes erd
28201 \end_inset
28202
28203 .
28204 \end_layout
28205
28206 \end_inset
28207
28208
28209 \end_layout
28210
28211 \begin_layout Standard
28212 \begin_inset VSpace bigskip
28213 \end_inset
28214
28215 For more details about float placements, have a look at \SpecialChar LaTeX
28216  books, 
28217 \begin_inset CommandInset citation
28218 LatexCommand cite
28219 key "latexcompanion,latexguide,latexbook"
28220 literal "true"
28221
28222 \end_inset
28223
28224 .
28225 \change_inserted -712698321 1526030561
28226
28227 \end_layout
28228
28229 \begin_layout Subsection
28230
28231 \change_inserted -712698321 1526031989
28232 Alignment of Float Contents
28233 \end_layout
28234
28235 \begin_layout Standard
28236
28237 \change_inserted -712698321 1526032316
28238 In this list of options, you can define how the contents of a float (or
28239  all floats by default, if selected from 
28240 \family sans
28241 Document\SpecialChar menuseparator
28242 Settings
28243 \family default
28244 ) are aligned.
28245  
28246 \family sans
28247 Class Default
28248 \family default
28249  means that the alignment of the class, or the default alignment of \SpecialChar LaTeX
28250 , is
28251  used.
28252  
28253 \family sans
28254 Document Default
28255 \family default
28256  (only visible in the 
28257 \family sans
28258 Float Settings
28259 \family default
28260  dialog, not in 
28261 \family sans
28262 Document\SpecialChar menuseparator
28263 Settings
28264 \family default
28265 ) takes the setting specified in 
28266 \family sans
28267 Document\SpecialChar menuseparator
28268 Settings\SpecialChar menuseparator
28269 Float Settings
28270 \family default
28271 .
28272  The other three options, 
28273 \family sans
28274 Left
28275 \family default
28276
28277 \family sans
28278 Center
28279 \family default
28280 , or 
28281 \family sans
28282 Right
28283 \family default
28284 , are self-explanatory.
28285  If one of these is selected in 
28286 \family sans
28287 Document\SpecialChar menuseparator
28288 Settings\SpecialChar menuseparator
28289 Float Settings
28290 \family default
28291 , all floats of the document will have this setting by default (so it is
28292  fairly easy, for instance, to center all floats).
28293 \change_unchanged
28294
28295 \end_layout
28296
28297 \begin_layout Subsection
28298
28299 \change_inserted -712698321 1526030571
28300 Other Float Options
28301 \end_layout
28302
28303 \begin_layout Standard
28304
28305 \change_inserted -712698321 1526035716
28306 These two options are only visible in the local 
28307 \family sans
28308 Float Settings
28309 \family default
28310  dialog, not in 
28311 \family sans
28312 Document\SpecialChar menuseparator
28313 Settings.
28314 \change_unchanged
28315
28316 \end_layout
28317
28318 \begin_layout Standard
28319
28320 \change_inserted -712698321 1526033931
28321 The option 
28322 \family sans
28323 Span
28324 \begin_inset space ~
28325 \end_inset
28326
28327 columns
28328 \family default
28329  is useful for two-column documents: If you select it, the float will span
28330  both columns on the page instead of being confined to just one.
28331 \end_layout
28332
28333 \begin_layout Standard
28334
28335 \change_inserted -712698321 1526030572
28336 The option 
28337 \family sans
28338 Rotate
28339 \begin_inset space ~
28340 \end_inset
28341
28342 sideways
28343 \family default
28344  is used to rotate floats, see section 
28345 \begin_inset CommandInset ref
28346 LatexCommand ref
28347 reference "sec:Rotated-Floats"
28348
28349 \end_inset
28350
28351 .
28352 \change_unchanged
28353
28354 \end_layout
28355
28356 \begin_layout Section
28357 Rotated Floats
28358 \begin_inset CommandInset label
28359 LatexCommand label
28360 name "sec:Rotated-Floats"
28361
28362 \end_inset
28363
28364
28365 \begin_inset Index idx
28366 status collapsed
28367
28368 \begin_layout Plain Layout
28369 Floats ! Rotating
28370 \end_layout
28371
28372 \end_inset
28373
28374
28375 \end_layout
28376
28377 \begin_layout Standard
28378 Especially for wide tables you might have floats rotated.
28379  To rotate a whole float including the caption, right-click on the float-box
28380  and use the option 
28381 \family sans
28382 Rotate
28383 \begin_inset space ~
28384 \end_inset
28385
28386 sideways
28387 \family default
28388 .
28389 \end_layout
28390
28391 \begin_layout Standard
28392 Rotated floats are always placed on a page of their own (or column of their
28393  own; in case you have a multi-column document).
28394  You can let them span several columns using the float settings option 
28395 \family sans
28396 Span
28397 \begin_inset space ~
28398 \end_inset
28399
28400 columns
28401 \family default
28402 .
28403  Floats are rotated so that you can read them from the outside margin.
28404  To force a certain rotation direction for all pages, you can add either
28405  the option 
28406 \series bold
28407 figuresleft
28408 \series default
28409  or 
28410 \series bold
28411 figuresright
28412 \series default
28413  to the document class options.
28414 \end_layout
28415
28416 \begin_layout Standard
28417 Referencing rotated floats is the same as for normal floats, the caption
28418  format is also the same: Table
28419 \begin_inset space ~
28420 \end_inset
28421
28422
28423 \begin_inset CommandInset ref
28424 LatexCommand ref
28425 reference "tab:Rotated-table"
28426
28427 \end_inset
28428
28429  is an example of a rotated table float.
28430 \end_layout
28431
28432 \begin_layout Standard
28433 \begin_inset Note Greyedout
28434 status open
28435
28436 \begin_layout Plain Layout
28437
28438 \series bold
28439 Note:
28440 \series default
28441  Not all DVI-viewers are able to display rotated floats.
28442 \end_layout
28443
28444 \end_inset
28445
28446
28447 \end_layout
28448
28449 \begin_layout Standard
28450 \begin_inset Float table
28451 placement document
28452 alignment document
28453 wide false
28454 sideways true
28455 status open
28456
28457 \begin_layout Plain Layout
28458 \begin_inset Caption Standard
28459
28460 \begin_layout Plain Layout
28461 \begin_inset CommandInset label
28462 LatexCommand label
28463 name "tab:Rotated-table"
28464
28465 \end_inset
28466
28467  Rotated table
28468 \end_layout
28469
28470 \end_inset
28471
28472
28473 \end_layout
28474
28475 \begin_layout Plain Layout
28476 \align center
28477 \begin_inset Tabular
28478 <lyxtabular version="3" rows="1" columns="5">
28479 <features tabularvalignment="middle">
28480 <column alignment="center" valignment="top">
28481 <column alignment="center" valignment="top">
28482 <column alignment="center" valignment="top">
28483 <column alignment="center" valignment="top">
28484 <column alignment="center" valignment="top">
28485 <row>
28486 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28487 \begin_inset Text
28488
28489 \begin_layout Plain Layout
28490 test
28491 \end_layout
28492
28493 \end_inset
28494 </cell>
28495 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28496 \begin_inset Text
28497
28498 \begin_layout Plain Layout
28499 b
28500 \end_layout
28501
28502 \end_inset
28503 </cell>
28504 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28505 \begin_inset Text
28506
28507 \begin_layout Plain Layout
28508 c
28509 \end_layout
28510
28511 \end_inset
28512 </cell>
28513 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28514 \begin_inset Text
28515
28516 \begin_layout Plain Layout
28517 d
28518 \end_layout
28519
28520 \end_inset
28521 </cell>
28522 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28523 \begin_inset Text
28524
28525 \begin_layout Plain Layout
28526 e
28527 \end_layout
28528
28529 \end_inset
28530 </cell>
28531 </row>
28532 </lyxtabular>
28533
28534 \end_inset
28535
28536
28537 \end_layout
28538
28539 \end_inset
28540
28541
28542 \end_layout
28543
28544 \begin_layout Section
28545 Subfloats
28546 \begin_inset Index idx
28547 status collapsed
28548
28549 \begin_layout Plain Layout
28550 Floats ! Subfloats
28551 \end_layout
28552
28553 \end_inset
28554
28555
28556 \end_layout
28557
28558 \begin_layout Standard
28559 Subfloats are for example used when a figure consists of several images.
28560  They are created by inserting a float into an existing float.
28561  The placement of the subfloats can be controlled in the same way as for
28562  paragraphs as shown in table
28563 \begin_inset space ~
28564 \end_inset
28565
28566
28567 \begin_inset CommandInset ref
28568 LatexCommand ref
28569 reference "tab:Two-subtables-side"
28570
28571 \end_inset
28572
28573  and 
28574 \begin_inset CommandInset ref
28575 LatexCommand ref
28576 reference "tab:Two-subtables-upon"
28577
28578 \end_inset
28579
28580 .
28581 \end_layout
28582
28583 \begin_layout Standard
28584 Referencing subfloats works as for normal floats: Table
28585 \begin_inset space ~
28586 \end_inset
28587
28588
28589 \begin_inset CommandInset ref
28590 LatexCommand ref
28591 reference "tab:This-is-subtable-a"
28592
28593 \end_inset
28594
28595  and 
28596 \begin_inset CommandInset ref
28597 LatexCommand ref
28598 reference "tab:This-is-subtable-b"
28599
28600 \end_inset
28601
28602  are subtables of table
28603 \begin_inset space ~
28604 \end_inset
28605
28606
28607 \begin_inset CommandInset ref
28608 LatexCommand ref
28609 reference "tab:Two-subtables-side"
28610
28611 \end_inset
28612
28613 .
28614 \end_layout
28615
28616 \begin_layout Standard
28617 \begin_inset Float table
28618 placement document
28619 alignment document
28620 wide false
28621 sideways false
28622 status open
28623
28624 \begin_layout Plain Layout
28625 \begin_inset Caption Standard
28626
28627 \begin_layout Plain Layout
28628 \begin_inset CommandInset label
28629 LatexCommand label
28630 name "tab:Two-subtables-side"
28631
28632 \end_inset
28633
28634 Two subtables placed side by side.
28635 \end_layout
28636
28637 \end_inset
28638
28639
28640 \end_layout
28641
28642 \begin_layout Plain Layout
28643 \align center
28644 \begin_inset space \hfill{}
28645 \end_inset
28646
28647
28648 \begin_inset Float table
28649 placement document
28650 alignment document
28651 wide false
28652 sideways false
28653 status collapsed
28654
28655 \begin_layout Plain Layout
28656 \begin_inset Caption Standard
28657
28658 \begin_layout Plain Layout
28659 \begin_inset CommandInset label
28660 LatexCommand label
28661 name "tab:This-is-subtable-a"
28662
28663 \end_inset
28664
28665 This is subtable a.
28666 \end_layout
28667
28668 \end_inset
28669
28670
28671 \end_layout
28672
28673 \begin_layout Plain Layout
28674 \align center
28675 \begin_inset Tabular
28676 <lyxtabular version="3" rows="1" columns="5">
28677 <features tabularvalignment="middle">
28678 <column alignment="center" valignment="top">
28679 <column alignment="center" valignment="top">
28680 <column alignment="center" valignment="top">
28681 <column alignment="center" valignment="top">
28682 <column alignment="center" valignment="top">
28683 <row>
28684 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28685 \begin_inset Text
28686
28687 \begin_layout Plain Layout
28688 test
28689 \end_layout
28690
28691 \end_inset
28692 </cell>
28693 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28694 \begin_inset Text
28695
28696 \begin_layout Plain Layout
28697 b
28698 \end_layout
28699
28700 \end_inset
28701 </cell>
28702 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28703 \begin_inset Text
28704
28705 \begin_layout Plain Layout
28706 c
28707 \end_layout
28708
28709 \end_inset
28710 </cell>
28711 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28712 \begin_inset Text
28713
28714 \begin_layout Plain Layout
28715 d
28716 \end_layout
28717
28718 \end_inset
28719 </cell>
28720 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28721 \begin_inset Text
28722
28723 \begin_layout Plain Layout
28724 e
28725 \end_layout
28726
28727 \end_inset
28728 </cell>
28729 </row>
28730 </lyxtabular>
28731
28732 \end_inset
28733
28734
28735 \end_layout
28736
28737 \end_inset
28738
28739
28740 \begin_inset space \hfill{}
28741 \end_inset
28742
28743
28744 \begin_inset Float table
28745 placement document
28746 alignment document
28747 wide false
28748 sideways false
28749 status collapsed
28750
28751 \begin_layout Plain Layout
28752 \begin_inset Caption Standard
28753
28754 \begin_layout Plain Layout
28755 \begin_inset CommandInset label
28756 LatexCommand label
28757 name "tab:This-is-subtable-b"
28758
28759 \end_inset
28760
28761 This is subtable b.
28762 \end_layout
28763
28764 \end_inset
28765
28766
28767 \end_layout
28768
28769 \begin_layout Plain Layout
28770 \align center
28771 \begin_inset Tabular
28772 <lyxtabular version="3" rows="1" columns="5">
28773 <features tabularvalignment="middle">
28774 <column alignment="center" valignment="top">
28775 <column alignment="center" valignment="top">
28776 <column alignment="center" valignment="top">
28777 <column alignment="center" valignment="top">
28778 <column alignment="center" valignment="top">
28779 <row>
28780 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28781 \begin_inset Text
28782
28783 \begin_layout Plain Layout
28784 e
28785 \end_layout
28786
28787 \end_inset
28788 </cell>
28789 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28790 \begin_inset Text
28791
28792 \begin_layout Plain Layout
28793 d
28794 \end_layout
28795
28796 \end_inset
28797 </cell>
28798 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28799 \begin_inset Text
28800
28801 \begin_layout Plain Layout
28802 c
28803 \end_layout
28804
28805 \end_inset
28806 </cell>
28807 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28808 \begin_inset Text
28809
28810 \begin_layout Plain Layout
28811 b
28812 \end_layout
28813
28814 \end_inset
28815 </cell>
28816 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28817 \begin_inset Text
28818
28819 \begin_layout Plain Layout
28820 test
28821 \end_layout
28822
28823 \end_inset
28824 </cell>
28825 </row>
28826 </lyxtabular>
28827
28828 \end_inset
28829
28830
28831 \end_layout
28832
28833 \end_inset
28834
28835
28836 \begin_inset space \hfill{}
28837 \end_inset
28838
28839
28840 \end_layout
28841
28842 \end_inset
28843
28844
28845 \end_layout
28846
28847 \begin_layout Standard
28848 \begin_inset Float table
28849 placement document
28850 alignment document
28851 wide false
28852 sideways false
28853 status open
28854
28855 \begin_layout Plain Layout
28856 \begin_inset Caption Standard
28857
28858 \begin_layout Plain Layout
28859 \begin_inset CommandInset label
28860 LatexCommand label
28861 name "tab:Two-subtables-upon"
28862
28863 \end_inset
28864
28865 Two subtables placed one above the other.
28866  (a) table with 4 cells, (b) table with 5 cells.
28867 \end_layout
28868
28869 \end_inset
28870
28871
28872 \end_layout
28873
28874 \begin_layout Plain Layout
28875 \align center
28876 \begin_inset Float table
28877 placement document
28878 alignment document
28879 wide false
28880 sideways false
28881 status collapsed
28882
28883 \begin_layout Plain Layout
28884 \begin_inset Caption Standard
28885
28886 \begin_layout Plain Layout
28887
28888 \end_layout
28889
28890 \end_inset
28891
28892
28893 \end_layout
28894
28895 \begin_layout Plain Layout
28896 \align center
28897 \begin_inset Tabular
28898 <lyxtabular version="3" rows="1" columns="4">
28899 <features tabularvalignment="middle">
28900 <column alignment="center" valignment="top">
28901 <column alignment="center" valignment="top">
28902 <column alignment="center" valignment="top">
28903 <column alignment="center" valignment="top">
28904 <row>
28905 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28906 \begin_inset Text
28907
28908 \begin_layout Plain Layout
28909 test
28910 \end_layout
28911
28912 \end_inset
28913 </cell>
28914 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28915 \begin_inset Text
28916
28917 \begin_layout Plain Layout
28918 test
28919 \end_layout
28920
28921 \end_inset
28922 </cell>
28923 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28924 \begin_inset Text
28925
28926 \begin_layout Plain Layout
28927 test
28928 \end_layout
28929
28930 \end_inset
28931 </cell>
28932 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28933 \begin_inset Text
28934
28935 \begin_layout Plain Layout
28936 test
28937 \end_layout
28938
28939 \end_inset
28940 </cell>
28941 </row>
28942 </lyxtabular>
28943
28944 \end_inset
28945
28946
28947 \end_layout
28948
28949 \end_inset
28950
28951
28952 \end_layout
28953
28954 \begin_layout Plain Layout
28955 \align center
28956 \begin_inset Float table
28957 placement document
28958 alignment document
28959 wide false
28960 sideways false
28961 status collapsed
28962
28963 \begin_layout Plain Layout
28964 \begin_inset Caption Standard
28965
28966 \begin_layout Plain Layout
28967
28968 \end_layout
28969
28970 \end_inset
28971
28972
28973 \end_layout
28974
28975 \begin_layout Plain Layout
28976 \align center
28977 \begin_inset Tabular
28978 <lyxtabular version="3" rows="1" columns="5">
28979 <features tabularvalignment="middle">
28980 <column alignment="center" valignment="top">
28981 <column alignment="center" valignment="top">
28982 <column alignment="center" valignment="top">
28983 <column alignment="center" valignment="top">
28984 <column alignment="center" valignment="top">
28985 <row>
28986 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28987 \begin_inset Text
28988
28989 \begin_layout Plain Layout
28990 a
28991 \end_layout
28992
28993 \end_inset
28994 </cell>
28995 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28996 \begin_inset Text
28997
28998 \begin_layout Plain Layout
28999 b
29000 \end_layout
29001
29002 \end_inset
29003 </cell>
29004 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29005 \begin_inset Text
29006
29007 \begin_layout Plain Layout
29008 c
29009 \end_layout
29010
29011 \end_inset
29012 </cell>
29013 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29014 \begin_inset Text
29015
29016 \begin_layout Plain Layout
29017 d
29018 \end_layout
29019
29020 \end_inset
29021 </cell>
29022 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
29023 \begin_inset Text
29024
29025 \begin_layout Plain Layout
29026 e
29027 \end_layout
29028
29029 \end_inset
29030 </cell>
29031 </row>
29032 </lyxtabular>
29033
29034 \end_inset
29035
29036
29037 \end_layout
29038
29039 \end_inset
29040
29041
29042 \end_layout
29043
29044 \end_inset
29045
29046
29047 \end_layout
29048
29049 \begin_layout Section
29050 Floats Side by Side
29051 \begin_inset Index idx
29052 status collapsed
29053
29054 \begin_layout Plain Layout
29055 Floats ! Side by side
29056 \end_layout
29057
29058 \end_inset
29059
29060
29061 \end_layout
29062
29063 \begin_layout Standard
29064 To place floats side by side, as in Figures
29065 \begin_inset space ~
29066 \end_inset
29067
29068
29069 \begin_inset CommandInset ref
29070 LatexCommand ref
29071 reference "fig:Float-left"
29072
29073 \end_inset
29074
29075  and 
29076 \begin_inset CommandInset ref
29077 LatexCommand ref
29078 reference "fig:Float-right"
29079
29080 \end_inset
29081
29082 , only 
29083 \emph on
29084 one
29085 \emph default
29086  float is used.
29087  In it two minipage boxes are inserted.
29088 \begin_inset Foot
29089 status collapsed
29090
29091 \begin_layout Plain Layout
29092 Minipages are explained in section
29093 \begin_inset space ~
29094 \end_inset
29095
29096
29097 \begin_inset CommandInset ref
29098 LatexCommand ref
29099 reference "sec:Minipages"
29100
29101 \end_inset
29102
29103 .
29104 \end_layout
29105
29106 \end_inset
29107
29108  The width is set to 45
29109 \begin_inset space \thinspace{}
29110 \end_inset
29111
29112 -50
29113 \begin_inset space \thinspace{}
29114 \end_inset
29115
29116 column% and the box alignment to 
29117 \family sans
29118 Bottom
29119 \family default
29120  for each minipage.
29121  The minipage boxes contain the image and the caption in the same way as
29122  they are in a float.
29123  The only difference is that the image unit 
29124 \family sans
29125 Column
29126 \begin_inset space ~
29127 \end_inset
29128
29129 Width
29130 \begin_inset space ~
29131 \end_inset
29132
29133 %
29134 \family default
29135  is now calculated according to the width of the minipage boxes.
29136 \end_layout
29137
29138 \begin_layout Standard
29139 \begin_inset Float figure
29140 placement document
29141 alignment document
29142 wide false
29143 sideways false
29144 status open
29145
29146 \begin_layout Plain Layout
29147 \begin_inset Box Frameless
29148 position "b"
29149 hor_pos "c"
29150 has_inner_box 1
29151 inner_pos "t"
29152 use_parbox 0
29153 use_makebox 0
29154 width "45col%"
29155 special "none"
29156 height "1in"
29157 height_special "totalheight"
29158 thickness "0.4pt"
29159 separation "3pt"
29160 shadowsize "4pt"
29161 framecolor "black"
29162 backgroundcolor "none"
29163 status open
29164
29165 \begin_layout Plain Layout
29166 \align center
29167 \begin_inset Graphics
29168         filename clipart/2D-intensity-plot.pdf
29169         width 100col%
29170         scaleBeforeRotation
29171
29172 \end_inset
29173
29174
29175 \end_layout
29176
29177 \begin_layout Plain Layout
29178 \begin_inset Caption Standard
29179
29180 \begin_layout Plain Layout
29181 \begin_inset CommandInset label
29182 LatexCommand label
29183 name "fig:Float-left"
29184
29185 \end_inset
29186
29187 Float on the left side.
29188 \end_layout
29189
29190 \end_inset
29191
29192
29193 \end_layout
29194
29195 \end_inset
29196
29197
29198 \begin_inset space \hfill{}
29199 \end_inset
29200
29201
29202 \begin_inset Box Frameless
29203 position "b"
29204 hor_pos "c"
29205 has_inner_box 1
29206 inner_pos "t"
29207 use_parbox 0
29208 use_makebox 0
29209 width "45col%"
29210 special "none"
29211 height "1in"
29212 height_special "totalheight"
29213 thickness "0.4pt"
29214 separation "3pt"
29215 shadowsize "4pt"
29216 framecolor "black"
29217 backgroundcolor "none"
29218 status open
29219
29220 \begin_layout Plain Layout
29221 \align center
29222 \begin_inset Graphics
29223         filename clipart/Star-structure.pdf
29224         width 100col%
29225         scaleBeforeRotation
29226
29227 \end_inset
29228
29229
29230 \end_layout
29231
29232 \begin_layout Plain Layout
29233 \begin_inset Caption Standard
29234
29235 \begin_layout Plain Layout
29236 \begin_inset CommandInset label
29237 LatexCommand label
29238 name "fig:Float-right"
29239
29240 \end_inset
29241
29242 Float on the right side.
29243 \end_layout
29244
29245 \end_inset
29246
29247
29248 \end_layout
29249
29250 \end_inset
29251
29252
29253 \end_layout
29254
29255 \end_inset
29256
29257
29258 \end_layout
29259
29260 \begin_layout Standard
29261 An alternative and simpler solution is to use the module 
29262 \family sans
29263 Variable-width Minipages
29264 \family default
29265 , see sec.
29266 \begin_inset space \thinspace{}
29267 \end_inset
29268
29269
29270 \begin_inset CommandInset ref
29271 LatexCommand ref
29272 reference "sec:Minipages"
29273
29274 \end_inset
29275
29276 .
29277  Variable-width minipages adapt automatically to the width of the figures
29278  and tables.
29279  They do not require an explicit width to be given, and they improve the
29280  horizontal alignment of the figures.
29281  The LyX example file 
29282 \emph on
29283 varwidth-floats-side-by-side
29284 \emph default
29285  gives examples of how to do this.
29286 \end_layout
29287
29288 \begin_layout Section
29289 Caption Formatting
29290 \begin_inset Index idx
29291 status collapsed
29292
29293 \begin_layout Plain Layout
29294 Caption ! Formatting
29295 \end_layout
29296
29297 \end_inset
29298
29299
29300 \begin_inset Index idx
29301 status collapsed
29302
29303 \begin_layout Plain Layout
29304 Floats ! Caption Formatting
29305 \end_layout
29306
29307 \end_inset
29308
29309
29310 \begin_inset CommandInset label
29311 LatexCommand label
29312 name "sec:Caption-Formatting"
29313
29314 \end_inset
29315
29316
29317 \end_layout
29318
29319 \begin_layout Standard
29320 The 
29321 \family sans
29322 Caption
29323 \family default
29324  environment is the default paragraph environment for 
29325 \family sans
29326 Floats
29327 \family default
29328 .
29329  On the \SpecialChar LyX
29330  screen captions appear as a label, e.
29331 \begin_inset space \thinspace{}
29332 \end_inset
29333
29334 g.
29335 \begin_inset space \space{}
29336 \end_inset
29337
29338
29339 \begin_inset Quotes eld
29340 \end_inset
29341
29342
29343 \family sans
29344 Figure #:
29345 \family default
29346
29347 \begin_inset Quotes erd
29348 \end_inset
29349
29350  followed by the caption text.
29351  
29352 \begin_inset Quotes eld
29353 \end_inset
29354
29355 #
29356 \begin_inset Quotes erd
29357 \end_inset
29358
29359  is the actual reference number.
29360  By default the label and the number are in the same font as the caption
29361  text and a colon follows the number to divide the label from the text.
29362  This caption format is suitable for many but not all documents.
29363  
29364 \end_layout
29365
29366 \begin_layout Standard
29367 To change the default caption format, load the \SpecialChar LaTeX
29368 -package 
29369 \series bold
29370 caption
29371 \series default
29372
29373 \begin_inset Index idx
29374 status collapsed
29375
29376 \begin_layout Plain Layout
29377 \SpecialChar LaTeX
29378 -packages ! caption
29379 \end_layout
29380
29381 \end_inset
29382
29383  in the document preamble with this line:
29384 \end_layout
29385
29386 \begin_layout Standard
29387
29388 \series bold
29389
29390 \backslash
29391 usepackage[format definition]{caption}
29392 \end_layout
29393
29394 \begin_layout Standard
29395 To have for example the label and the number in sans-serif, bold font and
29396  the table captions always above the table as in this document, use the
29397  following command:
29398 \end_layout
29399
29400 \begin_layout Standard
29401
29402 \series bold
29403
29404 \backslash
29405 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
29406 \end_layout
29407
29408 \begin_layout Standard
29409 You can also define different caption formats for the different float types.
29410  In this case load the 
29411 \series bold
29412 caption
29413 \series default
29414  package without format specific options and define the different formats
29415  with the help of the command
29416 \end_layout
29417
29418 \begin_layout Standard
29419
29420 \series bold
29421
29422 \backslash
29423 captionsetup[float type]{format definition}
29424 \end_layout
29425
29426 \begin_layout Standard
29427 in the document preamble.
29428  For example the caption formats of Figure
29429 \begin_inset space ~
29430 \end_inset
29431
29432
29433 \begin_inset CommandInset ref
29434 LatexCommand ref
29435 reference "fig:This-is-an-fig"
29436
29437 \end_inset
29438
29439  and Table
29440 \begin_inset space ~
29441 \end_inset
29442
29443
29444 \begin_inset CommandInset ref
29445 LatexCommand ref
29446 reference "tab:This-is-an-tab"
29447
29448 \end_inset
29449
29450  can be created using these commands in the document preamble:
29451 \end_layout
29452
29453 \begin_layout Standard
29454
29455 \series bold
29456
29457 \backslash
29458 usepackage[tableposition=top]{caption}
29459 \series default
29460
29461 \begin_inset Newline newline
29462 \end_inset
29463
29464
29465 \series bold
29466
29467 \backslash
29468 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm,%
29469 \begin_inset Newline newline
29470 \end_inset
29471
29472
29473 \begin_inset Phantom HPhantom
29474 status open
29475
29476 \begin_layout Plain Layout
29477
29478 \series bold
29479
29480 \backslash
29481 captionsetup[figure]{
29482 \end_layout
29483
29484 \end_inset
29485
29486 labelsep=period}
29487 \begin_inset Newline newline
29488 \end_inset
29489
29490
29491 \backslash
29492 captionsetup[table]{labelfont={bf,sf}}
29493 \end_layout
29494
29495 \begin_layout Standard
29496 \begin_inset Note Greyedout
29497 status open
29498
29499 \begin_layout Plain Layout
29500
29501 \series bold
29502 Note:
29503 \series default
29504  The option 
29505 \series bold
29506 tableposition=top
29507 \series default
29508  has no effect when a 
29509 \series bold
29510 KOMA-Script
29511 \series default
29512
29513 \begin_inset Index idx
29514 status collapsed
29515
29516 \begin_layout Plain Layout
29517 \SpecialChar LaTeX
29518 -packages ! KOMA-Script
29519 \end_layout
29520
29521 \end_inset
29522
29523  document class is used.
29524  In this case the document class option 
29525 \series bold
29526 captions=tableheading
29527 \series default
29528  must be used.
29529 \end_layout
29530
29531 \end_inset
29532
29533
29534 \end_layout
29535
29536 \begin_layout Standard
29537 For more information about the package 
29538 \series bold
29539 caption
29540 \series default
29541  we refer to its documentation 
29542 \begin_inset CommandInset citation
29543 LatexCommand cite
29544 key "caption"
29545 literal "true"
29546
29547 \end_inset
29548
29549 .
29550 \end_layout
29551
29552 \begin_layout Standard
29553 To change the label name from e.
29554 \begin_inset space \thinspace{}
29555 \end_inset
29556
29557 g.
29558 \begin_inset space \space{}
29559 \end_inset
29560
29561
29562 \begin_inset Quotes eld
29563 \end_inset
29564
29565 Figure
29566 \begin_inset Quotes erd
29567 \end_inset
29568
29569  to 
29570 \begin_inset Quotes eld
29571 \end_inset
29572
29573 Image
29574 \begin_inset Quotes erd
29575 \end_inset
29576
29577  use this preamble command:
29578 \end_layout
29579
29580 \begin_layout Standard
29581
29582 \series bold
29583
29584 \backslash
29585 renewcommand{
29586 \backslash
29587 fnum@figure}{Image~
29588 \backslash
29589 thefigure}
29590 \end_layout
29591
29592 \begin_layout Standard
29593 where 
29594 \series bold
29595
29596 \backslash
29597 thefigure
29598 \series default
29599  inserts the figure number and
29600 \series bold
29601  
29602 \begin_inset Quotes eld
29603 \end_inset
29604
29605 ~
29606 \series default
29607
29608 \begin_inset Quotes erd
29609 \end_inset
29610
29611  creates a protected space.
29612 \end_layout
29613
29614 \begin_layout Standard
29615 \begin_inset VSpace bigskip
29616 \end_inset
29617
29618 If you are using a 
29619 \series bold
29620 KOMA-Script
29621 \series default
29622
29623 \begin_inset Index idx
29624 status collapsed
29625
29626 \begin_layout Plain Layout
29627 \SpecialChar LaTeX
29628 -packages ! KOMA-Script
29629 \end_layout
29630
29631 \end_inset
29632
29633  document class (
29634 \family sans
29635 article (KOMA-Script)
29636 \family default
29637
29638 \family sans
29639 book (KOMA-Script)
29640 \family default
29641
29642 \family sans
29643 letter (KOMA-Script)
29644 \family default
29645 , or 
29646 \family sans
29647 report (KOMA-Script)
29648 \family default
29649
29650 \begin_inset space \thinspace{}
29651 \end_inset
29652
29653 ), you can alternatively to the 
29654 \series bold
29655 caption
29656 \series default
29657  package use 
29658 \series bold
29659 KOMA-Script
29660 \series default
29661 's built-in command 
29662 \series bold
29663
29664 \backslash
29665 setkomafont
29666 \series default
29667 .
29668  For example, to have the caption label in bold, add this command to your
29669  document preamble:
29670 \end_layout
29671
29672 \begin_layout Standard
29673
29674 \series bold
29675
29676 \backslash
29677 setkomafont{captionlabel}{
29678 \backslash
29679 bfseries}
29680 \end_layout
29681
29682 \begin_layout Standard
29683 For more information about 
29684 \series bold
29685
29686 \backslash
29687 setkomafont
29688 \series default
29689  we refer to the 
29690 \series bold
29691 KOMA-Script
29692 \series default
29693  documentation 
29694 \begin_inset CommandInset citation
29695 LatexCommand cite
29696 key "KOMA-Script"
29697 literal "true"
29698
29699 \end_inset
29700
29701 .
29702 \end_layout
29703
29704 \begin_layout Standard
29705 \begin_inset ERT
29706 status collapsed
29707
29708 \begin_layout Plain Layout
29709
29710
29711 \backslash
29712 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
29713 }
29714 \end_layout
29715
29716 \end_inset
29717
29718
29719 \begin_inset Note Note
29720 status open
29721
29722 \begin_layout Plain Layout
29723 The caption format is changed only for this example.
29724 \end_layout
29725
29726 \end_inset
29727
29728
29729 \end_layout
29730
29731 \begin_layout Standard
29732 \begin_inset Float figure
29733 placement !p
29734 alignment document
29735 wide false
29736 sideways false
29737 status open
29738
29739 \begin_layout Plain Layout
29740 \align center
29741 \begin_inset Graphics
29742         filename clipart/2D-intensity-plot.pdf
29743         scaleBeforeRotation
29744
29745 \end_inset
29746
29747
29748 \end_layout
29749
29750 \begin_layout Plain Layout
29751 \begin_inset Caption Standard
29752
29753 \begin_layout Plain Layout
29754 \begin_inset CommandInset label
29755 LatexCommand label
29756 name "fig:This-is-an-fig"
29757
29758 \end_inset
29759
29760 This is an example figure caption that is longer than one line to show the
29761  different caption format.
29762  Here a self-defined caption format is used.
29763 \end_layout
29764
29765 \end_inset
29766
29767
29768 \end_layout
29769
29770 \end_inset
29771
29772
29773 \end_layout
29774
29775 \begin_layout Standard
29776 \begin_inset ERT
29777 status collapsed
29778
29779 \begin_layout Plain Layout
29780
29781
29782 \backslash
29783 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
29784 on}
29785 \end_layout
29786
29787 \end_inset
29788
29789
29790 \end_layout
29791
29792 \begin_layout Standard
29793 \begin_inset Float table
29794 placement !p
29795 alignment document
29796 wide false
29797 sideways false
29798 status open
29799
29800 \begin_layout Plain Layout
29801 \begin_inset Caption Standard
29802
29803 \begin_layout Plain Layout
29804 \begin_inset CommandInset label
29805 LatexCommand label
29806 name "tab:This-is-an-tab"
29807
29808 \end_inset
29809
29810 This is an example table caption that is longer than one line to show the
29811  different caption format.
29812  Here the standard caption format for tables in this document is used.
29813 \end_layout
29814
29815 \end_inset
29816
29817
29818 \end_layout
29819
29820 \begin_layout Plain Layout
29821 \align center
29822 \begin_inset Tabular
29823 <lyxtabular version="3" rows="1" columns="5">
29824 <features tabularvalignment="middle">
29825 <column alignment="center" valignment="top">
29826 <column alignment="center" valignment="top">
29827 <column alignment="center" valignment="top">
29828 <column alignment="center" valignment="top">
29829 <column alignment="center" valignment="top">
29830 <row>
29831 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29832 \begin_inset Text
29833
29834 \begin_layout Plain Layout
29835 a
29836 \end_layout
29837
29838 \end_inset
29839 </cell>
29840 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29841 \begin_inset Text
29842
29843 \begin_layout Plain Layout
29844 b
29845 \end_layout
29846
29847 \end_inset
29848 </cell>
29849 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29850 \begin_inset Text
29851
29852 \begin_layout Plain Layout
29853 c
29854 \end_layout
29855
29856 \end_inset
29857 </cell>
29858 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29859 \begin_inset Text
29860
29861 \begin_layout Plain Layout
29862 d
29863 \end_layout
29864
29865 \end_inset
29866 </cell>
29867 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
29868 \begin_inset Text
29869
29870 \begin_layout Plain Layout
29871 e
29872 \end_layout
29873
29874 \end_inset
29875 </cell>
29876 </row>
29877 </lyxtabular>
29878
29879 \end_inset
29880
29881
29882 \end_layout
29883
29884 \end_inset
29885
29886
29887 \end_layout
29888
29889 \begin_layout Section
29890 Caption Placement
29891 \begin_inset Index idx
29892 status collapsed
29893
29894 \begin_layout Plain Layout
29895 Caption ! Placement
29896 \end_layout
29897
29898 \end_inset
29899
29900
29901 \begin_inset Index idx
29902 status collapsed
29903
29904 \begin_layout Plain Layout
29905 Floats ! Caption Placement
29906 \end_layout
29907
29908 \end_inset
29909
29910
29911 \begin_inset CommandInset label
29912 LatexCommand label
29913 name "sec:Caption-Placement"
29914
29915 \end_inset
29916
29917
29918 \end_layout
29919
29920 \begin_layout Standard
29921 The common caption placement rule is:
29922 \end_layout
29923
29924 \begin_layout Description
29925 Figure: Caption is set below the figure
29926 \end_layout
29927
29928 \begin_layout Description
29929 Table: Caption is set above the table
29930 \end_layout
29931
29932 \begin_layout Standard
29933 Having the caption above the table is unfortunately not supported in \SpecialChar LaTeX
29934 's
29935  standard classes.
29936  That means if you are using the document classes 
29937 \family sans
29938 article
29939 \family default
29940
29941 \family sans
29942 book
29943 \family default
29944
29945 \family sans
29946 letter
29947 \family default
29948 , or 
29949 \family sans
29950 report
29951 \family default
29952  there will be no space between the caption and the table.
29953  To insert the necessary space, load the \SpecialChar LaTeX
29954 -package 
29955 \series bold
29956 caption
29957 \series default
29958
29959 \begin_inset Index idx
29960 status collapsed
29961
29962 \begin_layout Plain Layout
29963 \SpecialChar LaTeX
29964 -packages ! caption
29965 \end_layout
29966
29967 \end_inset
29968
29969  in your document preamble with the option
29970 \begin_inset Foot
29971 status collapsed
29972
29973 \begin_layout Plain Layout
29974 See section
29975 \begin_inset space ~
29976 \end_inset
29977
29978
29979 \begin_inset CommandInset ref
29980 LatexCommand ref
29981 reference "sec:Caption-Formatting"
29982
29983 \end_inset
29984
29985  for more information of the package 
29986 \series bold
29987 caption
29988 \series default
29989 .
29990 \end_layout
29991
29992 \end_inset
29993
29994
29995 \end_layout
29996
29997 \begin_layout Standard
29998
29999 \series bold
30000 tableposition=top
30001 \end_layout
30002
30003 \begin_layout Standard
30004 If you are using a 
30005 \series bold
30006 KOMA-Script
30007 \series default
30008
30009 \begin_inset Index idx
30010 status collapsed
30011
30012 \begin_layout Plain Layout
30013 \SpecialChar LaTeX
30014 -packages ! KOMA-Script
30015 \end_layout
30016
30017 \end_inset
30018
30019  document class (
30020 \family sans
30021 article (KOMA-Script)
30022 \family default
30023
30024 \family sans
30025 book (KOMA-Script)
30026 \family default
30027
30028 \family sans
30029 letter (KOMA-Script)
30030 \family default
30031 , or 
30032 \family sans
30033 report (KOMA-Script)
30034 \family default
30035
30036 \begin_inset space \thinspace{}
30037 \end_inset
30038
30039 ), you can alternatively to the 
30040 \series bold
30041 caption
30042 \series default
30043  package set the document class option
30044 \begin_inset Foot
30045 status collapsed
30046
30047 \begin_layout Plain Layout
30048 That option is used in this document.
30049 \end_layout
30050
30051 \end_inset
30052
30053
30054 \end_layout
30055
30056 \begin_layout Standard
30057
30058 \series bold
30059 captions=tableheading
30060 \end_layout
30061
30062 \begin_layout Standard
30063 In documents with a KOMA-Script document class you can also right-click
30064  on a caption and mark in the context menu if this should be a caption above
30065  or below the table/figure.
30066  This way you can override the document-wide caption placement for certain
30067  captions.
30068  Table
30069 \begin_inset space ~
30070 \end_inset
30071
30072
30073 \begin_inset CommandInset ref
30074 LatexCommand ref
30075 reference "tab:A-caption-marked"
30076
30077 \end_inset
30078
30079  is an example where the caption is marked a being below the table while
30080  it is above.
30081  For comparison the caption in Table
30082 \begin_inset space ~
30083 \end_inset
30084
30085
30086 \begin_inset CommandInset ref
30087 LatexCommand ref
30088 reference "tab:A-standard-table"
30089
30090 \end_inset
30091
30092  is not marked.
30093 \end_layout
30094
30095 \begin_layout Standard
30096 \begin_inset Float table
30097 placement document
30098 alignment document
30099 wide false
30100 sideways false
30101 status open
30102
30103 \begin_layout Plain Layout
30104 \begin_inset Caption Below
30105
30106 \begin_layout Plain Layout
30107 \begin_inset CommandInset label
30108 LatexCommand label
30109 name "tab:A-caption-marked"
30110
30111 \end_inset
30112
30113 A caption marked as being below the table.
30114 \end_layout
30115
30116 \end_inset
30117
30118
30119 \end_layout
30120
30121 \begin_layout Plain Layout
30122 \align center
30123 \begin_inset Tabular
30124 <lyxtabular version="3" rows="3" columns="3">
30125 <features tabularvalignment="middle">
30126 <column alignment="center" valignment="top" width="0pt">
30127 <column alignment="center" valignment="top" width="0pt">
30128 <column alignment="center" valignment="top" width="0pt">
30129 <row>
30130 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30131 \begin_inset Text
30132
30133 \begin_layout Plain Layout
30134 1
30135 \end_layout
30136
30137 \end_inset
30138 </cell>
30139 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30140 \begin_inset Text
30141
30142 \begin_layout Plain Layout
30143 2
30144 \end_layout
30145
30146 \end_inset
30147 </cell>
30148 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30149 \begin_inset Text
30150
30151 \begin_layout Plain Layout
30152 3
30153 \end_layout
30154
30155 \end_inset
30156 </cell>
30157 </row>
30158 <row>
30159 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30160 \begin_inset Text
30161
30162 \begin_layout Plain Layout
30163 Joe
30164 \end_layout
30165
30166 \end_inset
30167 </cell>
30168 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30169 \begin_inset Text
30170
30171 \begin_layout Plain Layout
30172 Mary
30173 \end_layout
30174
30175 \end_inset
30176 </cell>
30177 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30178 \begin_inset Text
30179
30180 \begin_layout Plain Layout
30181 Ted
30182 \end_layout
30183
30184 \end_inset
30185 </cell>
30186 </row>
30187 <row>
30188 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30189 \begin_inset Text
30190
30191 \begin_layout Plain Layout
30192 \begin_inset Formula $\int x^{2}dx$
30193 \end_inset
30194
30195
30196 \end_layout
30197
30198 \end_inset
30199 </cell>
30200 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30201 \begin_inset Text
30202
30203 \begin_layout Plain Layout
30204 \begin_inset Formula $\left[\begin{array}{cc}
30205 a & b\\
30206 c & d
30207 \end{array}\right]$
30208 \end_inset
30209
30210
30211 \end_layout
30212
30213 \end_inset
30214 </cell>
30215 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30216 \begin_inset Text
30217
30218 \begin_layout Plain Layout
30219 \begin_inset Formula $1+1=2$
30220 \end_inset
30221
30222
30223 \end_layout
30224
30225 \end_inset
30226 </cell>
30227 </row>
30228 </lyxtabular>
30229
30230 \end_inset
30231
30232
30233 \end_layout
30234
30235 \end_inset
30236
30237
30238 \end_layout
30239
30240 \begin_layout Standard
30241 \begin_inset Float table
30242 placement document
30243 alignment document
30244 wide false
30245 sideways false
30246 status open
30247
30248 \begin_layout Plain Layout
30249 \begin_inset Caption Standard
30250
30251 \begin_layout Plain Layout
30252 \begin_inset CommandInset label
30253 LatexCommand label
30254 name "tab:A-standard-table"
30255
30256 \end_inset
30257
30258 A standard table caption.
30259 \end_layout
30260
30261 \end_inset
30262
30263
30264 \end_layout
30265
30266 \begin_layout Plain Layout
30267 \align center
30268 \begin_inset Tabular
30269 <lyxtabular version="3" rows="3" columns="3">
30270 <features tabularvalignment="middle">
30271 <column alignment="center" valignment="top" width="0pt">
30272 <column alignment="center" valignment="top" width="0pt">
30273 <column alignment="center" valignment="top" width="0pt">
30274 <row>
30275 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30276 \begin_inset Text
30277
30278 \begin_layout Plain Layout
30279 1
30280 \end_layout
30281
30282 \end_inset
30283 </cell>
30284 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30285 \begin_inset Text
30286
30287 \begin_layout Plain Layout
30288 2
30289 \end_layout
30290
30291 \end_inset
30292 </cell>
30293 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30294 \begin_inset Text
30295
30296 \begin_layout Plain Layout
30297 3
30298 \end_layout
30299
30300 \end_inset
30301 </cell>
30302 </row>
30303 <row>
30304 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30305 \begin_inset Text
30306
30307 \begin_layout Plain Layout
30308 Joe
30309 \end_layout
30310
30311 \end_inset
30312 </cell>
30313 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30314 \begin_inset Text
30315
30316 \begin_layout Plain Layout
30317 Mary
30318 \end_layout
30319
30320 \end_inset
30321 </cell>
30322 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30323 \begin_inset Text
30324
30325 \begin_layout Plain Layout
30326 Ted
30327 \end_layout
30328
30329 \end_inset
30330 </cell>
30331 </row>
30332 <row>
30333 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30334 \begin_inset Text
30335
30336 \begin_layout Plain Layout
30337 \begin_inset Formula $\int x^{2}dx$
30338 \end_inset
30339
30340
30341 \end_layout
30342
30343 \end_inset
30344 </cell>
30345 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30346 \begin_inset Text
30347
30348 \begin_layout Plain Layout
30349 \begin_inset Formula $\left[\begin{array}{cc}
30350 a & b\\
30351 c & d
30352 \end{array}\right]$
30353 \end_inset
30354
30355
30356 \end_layout
30357
30358 \end_inset
30359 </cell>
30360 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30361 \begin_inset Text
30362
30363 \begin_layout Plain Layout
30364 \begin_inset Formula $1+1=2$
30365 \end_inset
30366
30367
30368 \end_layout
30369
30370 \end_inset
30371 </cell>
30372 </row>
30373 </lyxtabular>
30374
30375 \end_inset
30376
30377
30378 \end_layout
30379
30380 \end_inset
30381
30382
30383 \end_layout
30384
30385 \begin_layout Standard
30386 \begin_inset VSpace bigskip
30387 \end_inset
30388
30389 It is also possible to set the caption beside a figure or table.
30390  To get this the \SpecialChar LaTeX
30391 -package 
30392 \series bold
30393 sidecap
30394 \series default
30395
30396 \begin_inset Index idx
30397 status collapsed
30398
30399 \begin_layout Plain Layout
30400 \SpecialChar LaTeX
30401 -packages ! sidecap
30402 \end_layout
30403
30404 \end_inset
30405
30406  has to be loaded in the document preamble with the line
30407 \end_layout
30408
30409 \begin_layout Standard
30410
30411 \series bold
30412
30413 \backslash
30414 usepackage[option]{sidecap}
30415 \end_layout
30416
30417 \begin_layout Standard
30418 If you set no option, the caption is placed on the side of the outer page
30419  margin â€“ to the right on odd pages, to the left on even pages.
30420  You can change the placement to inner margin with the option 
30421 \series bold
30422 innercaption
30423 \series default
30424 .
30425  To force the placement always to the right or left, use the option 
30426 \series bold
30427 rightcaption
30428 \series default
30429  or 
30430 \series bold
30431 leftcaption
30432 \series default
30433 , respectively.
30434 \end_layout
30435
30436 \begin_layout Standard
30437 \begin_inset ERT
30438 status collapsed
30439
30440 \begin_layout Plain Layout
30441
30442
30443 \backslash
30444 ifsidecap
30445 \end_layout
30446
30447 \end_inset
30448
30449
30450 \begin_inset Note Note
30451 status open
30452
30453 \begin_layout Plain Layout
30454 The following section will only be displayed when the \SpecialChar LaTeX
30455 -package 
30456 \series bold
30457 sidecap
30458 \series default
30459  is installed.
30460 \end_layout
30461
30462 \end_inset
30463
30464
30465 \end_layout
30466
30467 \begin_layout Standard
30468 To place in \SpecialChar LyX
30469  the caption of a float on the side, it is necessary to add
30470  these commands to the document preamble:
30471 \end_layout
30472
30473 \begin_layout Standard
30474 \noindent
30475 \begin_inset CommandInset line
30476 LatexCommand rule
30477 offset "0.5ex"
30478 width "100line%"
30479 height "1pt"
30480
30481 \end_inset
30482
30483
30484 \end_layout
30485
30486 \begin_layout Standard
30487
30488 \series bold
30489
30490 \backslash
30491 newcommand{
30492 \backslash
30493 TabBesBeg}[1][1.0]{%
30494 \begin_inset Newline newline
30495 \end_inset
30496
30497
30498 \begin_inset Phantom HPhantom
30499 status open
30500
30501 \begin_layout Plain Layout
30502 \begin_inset space ~
30503 \end_inset
30504
30505
30506 \end_layout
30507
30508 \end_inset
30509
30510
30511 \backslash
30512 let
30513 \backslash
30514 MyTable
30515 \backslash
30516 table
30517 \begin_inset Newline newline
30518 \end_inset
30519
30520
30521 \begin_inset Phantom HPhantom
30522 status open
30523
30524 \begin_layout Plain Layout
30525
30526 \series medium
30527 \begin_inset space ~
30528 \end_inset
30529
30530
30531 \end_layout
30532
30533 \end_inset
30534
30535
30536 \backslash
30537 let
30538 \backslash
30539 MyEndtable
30540 \backslash
30541 endtable
30542 \begin_inset Newline newline
30543 \end_inset
30544
30545
30546 \begin_inset Phantom HPhantom
30547 status open
30548
30549 \begin_layout Plain Layout
30550
30551 \series medium
30552 \begin_inset space ~
30553 \end_inset
30554
30555
30556 \end_layout
30557
30558 \end_inset
30559
30560
30561 \backslash
30562 renewenvironment{table}[1]{
30563 \backslash
30564 begin{SCtable}[#1]##1}{
30565 \backslash
30566 end{SCtable}}}
30567 \end_layout
30568
30569 \begin_layout Standard
30570
30571 \series bold
30572
30573 \backslash
30574 newcommand{
30575 \backslash
30576 TabBesEnd}{%
30577 \begin_inset Newline newline
30578 \end_inset
30579
30580
30581 \begin_inset Phantom HPhantom
30582 status open
30583
30584 \begin_layout Plain Layout
30585 \begin_inset space ~
30586 \end_inset
30587
30588
30589 \end_layout
30590
30591 \end_inset
30592
30593
30594 \backslash
30595 let
30596 \backslash
30597 table
30598 \backslash
30599 MyTable
30600 \begin_inset Newline newline
30601 \end_inset
30602
30603
30604 \begin_inset Phantom HPhantom
30605 status open
30606
30607 \begin_layout Plain Layout
30608 \begin_inset space ~
30609 \end_inset
30610
30611
30612 \end_layout
30613
30614 \end_inset
30615
30616
30617 \backslash
30618 let
30619 \backslash
30620 endtable
30621 \backslash
30622 MyEndtable
30623 \end_layout
30624
30625 \begin_layout Standard
30626
30627 \series bold
30628
30629 \backslash
30630 newcommand{
30631 \backslash
30632 FigBesBeg}[1][1.0]{%
30633 \begin_inset Newline newline
30634 \end_inset
30635
30636
30637 \begin_inset Phantom HPhantom
30638 status open
30639
30640 \begin_layout Plain Layout
30641 \begin_inset space ~
30642 \end_inset
30643
30644
30645 \end_layout
30646
30647 \end_inset
30648
30649
30650 \backslash
30651 let
30652 \backslash
30653 MyFigure
30654 \backslash
30655 figure
30656 \begin_inset Newline newline
30657 \end_inset
30658
30659
30660 \begin_inset Phantom HPhantom
30661 status open
30662
30663 \begin_layout Plain Layout
30664 \begin_inset space ~
30665 \end_inset
30666
30667
30668 \end_layout
30669
30670 \end_inset
30671
30672
30673 \backslash
30674 let
30675 \backslash
30676 MyEndfigure
30677 \backslash
30678 endfigure
30679 \begin_inset Newline newline
30680 \end_inset
30681
30682
30683 \begin_inset Phantom HPhantom
30684 status open
30685
30686 \begin_layout Plain Layout
30687 \begin_inset space ~
30688 \end_inset
30689
30690
30691 \end_layout
30692
30693 \end_inset
30694
30695
30696 \backslash
30697 renewenvironment{figure}[1]{
30698 \backslash
30699 begin{SCfigure}[#1]##1}{
30700 \backslash
30701 end{SCfigure}}}
30702 \end_layout
30703
30704 \begin_layout Standard
30705
30706 \series bold
30707
30708 \backslash
30709 newcommand{
30710 \backslash
30711 FigBesEnd}{%
30712 \begin_inset Newline newline
30713 \end_inset
30714
30715
30716 \begin_inset Phantom HPhantom
30717 status open
30718
30719 \begin_layout Plain Layout
30720 \begin_inset space ~
30721 \end_inset
30722
30723
30724 \end_layout
30725
30726 \end_inset
30727
30728
30729 \backslash
30730 let
30731 \backslash
30732 figure
30733 \backslash
30734 MyFigure
30735 \begin_inset Newline newline
30736 \end_inset
30737
30738
30739 \begin_inset Phantom HPhantom
30740 status open
30741
30742 \begin_layout Plain Layout
30743 \begin_inset space ~
30744 \end_inset
30745
30746
30747 \end_layout
30748
30749 \end_inset
30750
30751
30752 \backslash
30753 let
30754 \backslash
30755 endfigure
30756 \backslash
30757 MyEndfigure}
30758 \end_layout
30759
30760 \begin_layout Standard
30761 \noindent
30762 \begin_inset CommandInset line
30763 LatexCommand rule
30764 offset "0.5ex"
30765 width "100line%"
30766 height "1pt"
30767
30768 \end_inset
30769
30770
30771 \end_layout
30772
30773 \begin_layout Standard
30774 The commands allow you to redefine the floats so that the caption is set
30775  on the side.
30776  For figure floats use the command
30777 \end_layout
30778
30779 \begin_layout Standard
30780
30781 \series bold
30782
30783 \backslash
30784 FigBesBeg
30785 \end_layout
30786
30787 \begin_layout Standard
30788 in \SpecialChar TeX
30789  Code before the float.
30790  And insert the command
30791 \end_layout
30792
30793 \begin_layout Standard
30794
30795 \series bold
30796
30797 \backslash
30798 FigBesEnd
30799 \end_layout
30800
30801 \begin_layout Standard
30802 in \SpecialChar TeX
30803  Code at the point where you want to get back to the original float definitio
30804 n.
30805 \end_layout
30806
30807 \begin_layout Standard
30808 For table floats use the corresponding commands
30809 \end_layout
30810
30811 \begin_layout Standard
30812
30813 \series bold
30814
30815 \backslash
30816 TabBesBeg
30817 \series default
30818  and 
30819 \series bold
30820
30821 \backslash
30822 TabBesEnd
30823 \end_layout
30824
30825 \begin_layout Standard
30826 Figure
30827 \begin_inset space ~
30828 \end_inset
30829
30830
30831 \begin_inset CommandInset ref
30832 LatexCommand ref
30833 reference "fig:cap-beside-fig"
30834
30835 \end_inset
30836
30837  and Table
30838 \begin_inset space ~
30839 \end_inset
30840
30841
30842 \begin_inset CommandInset ref
30843 LatexCommand ref
30844 reference "tab:cap-beside-tab"
30845
30846 \end_inset
30847
30848  are examples where the caption is set beside.
30849 \end_layout
30850
30851 \begin_layout Standard
30852 You can see in the examples that the caption text appears at the top of
30853  the floats for table floats and at the bottom for figure floats.
30854  To change this, you can use the command
30855 \end_layout
30856
30857 \begin_layout Standard
30858
30859 \series bold
30860
30861 \backslash
30862 sidecaptionvpos{float type}{placement}
30863 \end_layout
30864
30865 \begin_layout Standard
30866 in the document preamble or in \SpecialChar TeX
30867  Code before the float.
30868  The float type is either 
30869 \family sans
30870 figure
30871 \family default
30872  or 
30873 \family sans
30874 table
30875 \family default
30876 , the placement can be 
30877 \begin_inset Quotes eld
30878 \end_inset
30879
30880
30881 \family sans
30882 t
30883 \family default
30884
30885 \begin_inset Quotes erd
30886 \end_inset
30887
30888  for top, 
30889 \begin_inset Quotes eld
30890 \end_inset
30891
30892
30893 \family sans
30894 c
30895 \family default
30896
30897 \begin_inset Quotes erd
30898 \end_inset
30899
30900  for center, or 
30901 \begin_inset Quotes eld
30902 \end_inset
30903
30904
30905 \family sans
30906 b
30907 \family default
30908
30909 \begin_inset Quotes erd
30910 \end_inset
30911
30912  for bottom.
30913  To have for example the caption of figure floats vertically centered, use
30914  the command
30915 \end_layout
30916
30917 \begin_layout Standard
30918
30919 \series bold
30920
30921 \backslash
30922 sidecaptionvpos{figure}{c}
30923 \end_layout
30924
30925 \begin_layout Standard
30926 This was used for Figure
30927 \begin_inset space ~
30928 \end_inset
30929
30930
30931 \begin_inset CommandInset ref
30932 LatexCommand ref
30933 reference "fig:cap-beside-fig-2"
30934
30935 \end_inset
30936
30937 .
30938 \end_layout
30939
30940 \begin_layout Standard
30941 \begin_inset VSpace medskip
30942 \end_inset
30943
30944
30945 \end_layout
30946
30947 \begin_layout Standard
30948 The default caption width is the width of the image/table.
30949  For thin image/tables, like in Table
30950 \begin_inset space ~
30951 \end_inset
30952
30953
30954 \begin_inset CommandInset ref
30955 LatexCommand ref
30956 reference "tab:cap-beside-tab"
30957
30958 \end_inset
30959
30960 , this leads to captions that are too thin.
30961  You can increase the width by specifying a factor that will be multiplied
30962  with the image/table width to get the caption width.
30963  The caption width will automatically be recalculated in case it would protrude
30964  over the page or column margin due to the specified width.
30965  The 
30966 \emph on
30967 factor
30968 \emph default
30969  can either be given as optional argument for 
30970 \series bold
30971
30972 \backslash
30973 FigBesBeg
30974 \series default
30975 :
30976 \end_layout
30977
30978 \begin_layout Standard
30979
30980 \series bold
30981
30982 \backslash
30983 FigBesBeg[factor]
30984 \end_layout
30985
30986 \begin_layout Standard
30987 or in the definition of 
30988 \series bold
30989
30990 \backslash
30991 FigBesBeg
30992 \series default
30993  by replacing the 
30994 \series bold
30995 1.0
30996 \series default
30997  with another value.
30998  If you do the latter, your factor will be the default if 
30999 \series bold
31000
31001 \backslash
31002 FigBesBeg
31003 \series default
31004  is used without an argument.
31005  For Table
31006 \begin_inset space ~
31007 \end_inset
31008
31009
31010 \begin_inset CommandInset ref
31011 LatexCommand ref
31012 reference "tab:cap-beside-tab-wider"
31013
31014 \end_inset
31015
31016  the factor 5 was used.
31017 \end_layout
31018
31019 \begin_layout Standard
31020 \begin_inset Note Greyedout
31021 status open
31022
31023 \begin_layout Plain Layout
31024
31025 \series bold
31026 Note:
31027 \series default
31028  For floats with captions set beside, you cannot use the float placement
31029  option 
31030 \family sans
31031 Here
31032 \begin_inset space ~
31033 \end_inset
31034
31035 definitely
31036 \family default
31037  because it is not supported by 
31038 \series bold
31039 sidecap
31040 \series default
31041 .
31042 \end_layout
31043
31044 \end_inset
31045
31046
31047 \end_layout
31048
31049 \begin_layout Standard
31050 \begin_inset VSpace medskip
31051 \end_inset
31052
31053 For more information about the package 
31054 \series bold
31055 sidecap
31056 \series default
31057  we refer to its documentation 
31058 \begin_inset CommandInset citation
31059 LatexCommand cite
31060 key "sidecap"
31061 literal "true"
31062
31063 \end_inset
31064
31065 .
31066 \end_layout
31067
31068 \begin_layout Standard
31069 \begin_inset Note Greyedout
31070 status open
31071
31072 \begin_layout Plain Layout
31073
31074 \series bold
31075 Note:
31076 \series default
31077  The \SpecialChar LaTeX
31078 -package 
31079 \series bold
31080 hypcap
31081 \series default
31082
31083 \begin_inset Index idx
31084 status collapsed
31085
31086 \begin_layout Plain Layout
31087 \SpecialChar LaTeX
31088 -packages ! hypcap
31089 \end_layout
31090
31091 \end_inset
31092
31093 , described in section
31094 \begin_inset space ~
31095 \end_inset
31096
31097
31098 \begin_inset CommandInset ref
31099 LatexCommand ref
31100 reference "subsec:Reference-Position"
31101
31102 \end_inset
31103
31104 , has no effect on floats with the caption set beside.
31105 \end_layout
31106
31107 \end_inset
31108
31109
31110 \end_layout
31111
31112 \begin_layout Standard
31113 \begin_inset ERT
31114 status collapsed
31115
31116 \begin_layout Plain Layout
31117
31118
31119 \backslash
31120 FigBesBeg
31121 \end_layout
31122
31123 \end_inset
31124
31125
31126 \end_layout
31127
31128 \begin_layout Standard
31129 \begin_inset Float figure
31130 placement document
31131 alignment document
31132 wide false
31133 sideways false
31134 status open
31135
31136 \begin_layout Plain Layout
31137 \begin_inset Graphics
31138         filename clipart/3D-structure-distort.pdf
31139         scale 50
31140         scaleBeforeRotation
31141
31142 \end_inset
31143
31144
31145 \end_layout
31146
31147 \begin_layout Plain Layout
31148 \begin_inset Caption Standard
31149
31150 \begin_layout Plain Layout
31151 \begin_inset CommandInset label
31152 LatexCommand label
31153 name "fig:cap-beside-fig"
31154
31155 \end_inset
31156
31157 This is a caption beside a figure.
31158 \end_layout
31159
31160 \end_inset
31161
31162
31163 \end_layout
31164
31165 \end_inset
31166
31167
31168 \end_layout
31169
31170 \begin_layout Standard
31171 \begin_inset ERT
31172 status collapsed
31173
31174 \begin_layout Plain Layout
31175
31176
31177 \backslash
31178 FigBesEnd
31179 \end_layout
31180
31181 \end_inset
31182
31183
31184 \end_layout
31185
31186 \begin_layout Standard
31187 \begin_inset ERT
31188 status collapsed
31189
31190 \begin_layout Plain Layout
31191
31192
31193 \backslash
31194 TabBesBeg
31195 \end_layout
31196
31197 \end_inset
31198
31199
31200 \end_layout
31201
31202 \begin_layout Standard
31203 \begin_inset Float table
31204 placement document
31205 alignment document
31206 wide false
31207 sideways false
31208 status open
31209
31210 \begin_layout Plain Layout
31211 \begin_inset Caption Standard
31212
31213 \begin_layout Plain Layout
31214 \begin_inset CommandInset label
31215 LatexCommand label
31216 name "tab:cap-beside-tab"
31217
31218 \end_inset
31219
31220 This is a caption beside a table.
31221 \end_layout
31222
31223 \end_inset
31224
31225
31226 \end_layout
31227
31228 \begin_layout Plain Layout
31229 \begin_inset Tabular
31230 <lyxtabular version="3" rows="4" columns="5">
31231 <features tabularvalignment="middle">
31232 <column alignment="center" valignment="top">
31233 <column alignment="center" valignment="top">
31234 <column alignment="center" valignment="top">
31235 <column alignment="center" valignment="top">
31236 <column alignment="center" valignment="top">
31237 <row>
31238 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31239 \begin_inset Text
31240
31241 \begin_layout Plain Layout
31242 a
31243 \end_layout
31244
31245 \end_inset
31246 </cell>
31247 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31248 \begin_inset Text
31249
31250 \begin_layout Plain Layout
31251
31252 \end_layout
31253
31254 \end_inset
31255 </cell>
31256 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31257 \begin_inset Text
31258
31259 \begin_layout Plain Layout
31260 b
31261 \end_layout
31262
31263 \end_inset
31264 </cell>
31265 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31266 \begin_inset Text
31267
31268 \begin_layout Plain Layout
31269
31270 \end_layout
31271
31272 \end_inset
31273 </cell>
31274 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31275 \begin_inset Text
31276
31277 \begin_layout Plain Layout
31278 c
31279 \end_layout
31280
31281 \end_inset
31282 </cell>
31283 </row>
31284 <row>
31285 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31286 \begin_inset Text
31287
31288 \begin_layout Plain Layout
31289
31290 \end_layout
31291
31292 \end_inset
31293 </cell>
31294 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31295 \begin_inset Text
31296
31297 \begin_layout Plain Layout
31298 d
31299 \end_layout
31300
31301 \end_inset
31302 </cell>
31303 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31304 \begin_inset Text
31305
31306 \begin_layout Plain Layout
31307
31308 \end_layout
31309
31310 \end_inset
31311 </cell>
31312 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31313 \begin_inset Text
31314
31315 \begin_layout Plain Layout
31316 e
31317 \end_layout
31318
31319 \end_inset
31320 </cell>
31321 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31322 \begin_inset Text
31323
31324 \begin_layout Plain Layout
31325
31326 \end_layout
31327
31328 \end_inset
31329 </cell>
31330 </row>
31331 <row>
31332 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31333 \begin_inset Text
31334
31335 \begin_layout Plain Layout
31336 f
31337 \end_layout
31338
31339 \end_inset
31340 </cell>
31341 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31342 \begin_inset Text
31343
31344 \begin_layout Plain Layout
31345
31346 \end_layout
31347
31348 \end_inset
31349 </cell>
31350 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31351 \begin_inset Text
31352
31353 \begin_layout Plain Layout
31354 g
31355 \end_layout
31356
31357 \end_inset
31358 </cell>
31359 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31360 \begin_inset Text
31361
31362 \begin_layout Plain Layout
31363
31364 \end_layout
31365
31366 \end_inset
31367 </cell>
31368 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31369 \begin_inset Text
31370
31371 \begin_layout Plain Layout
31372 h
31373 \end_layout
31374
31375 \end_inset
31376 </cell>
31377 </row>
31378 <row>
31379 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31380 \begin_inset Text
31381
31382 \begin_layout Plain Layout
31383
31384 \end_layout
31385
31386 \end_inset
31387 </cell>
31388 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31389 \begin_inset Text
31390
31391 \begin_layout Plain Layout
31392 i
31393 \end_layout
31394
31395 \end_inset
31396 </cell>
31397 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31398 \begin_inset Text
31399
31400 \begin_layout Plain Layout
31401
31402 \end_layout
31403
31404 \end_inset
31405 </cell>
31406 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31407 \begin_inset Text
31408
31409 \begin_layout Plain Layout
31410 j
31411 \end_layout
31412
31413 \end_inset
31414 </cell>
31415 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31416 \begin_inset Text
31417
31418 \begin_layout Plain Layout
31419
31420 \end_layout
31421
31422 \end_inset
31423 </cell>
31424 </row>
31425 </lyxtabular>
31426
31427 \end_inset
31428
31429
31430 \end_layout
31431
31432 \end_inset
31433
31434
31435 \end_layout
31436
31437 \begin_layout Standard
31438 \begin_inset ERT
31439 status collapsed
31440
31441 \begin_layout Plain Layout
31442
31443
31444 \backslash
31445 TabBesEnd
31446 \end_layout
31447
31448 \end_inset
31449
31450
31451 \end_layout
31452
31453 \begin_layout Standard
31454 \begin_inset ERT
31455 status collapsed
31456
31457 \begin_layout Plain Layout
31458
31459
31460 \backslash
31461 FigBesBeg
31462 \end_layout
31463
31464 \end_inset
31465
31466
31467 \begin_inset ERT
31468 status collapsed
31469
31470 \begin_layout Plain Layout
31471
31472
31473 \backslash
31474 sidecaptionvpos{figure}{c}
31475 \end_layout
31476
31477 \end_inset
31478
31479
31480 \begin_inset Float figure
31481 placement document
31482 alignment document
31483 wide false
31484 sideways false
31485 status open
31486
31487 \begin_layout Plain Layout
31488 \begin_inset Graphics
31489         filename clipart/3D-structure-distort.pdf
31490         scale 50
31491         scaleBeforeRotation
31492
31493 \end_inset
31494
31495
31496 \end_layout
31497
31498 \begin_layout Plain Layout
31499 \begin_inset Caption Standard
31500
31501 \begin_layout Plain Layout
31502 \begin_inset CommandInset label
31503 LatexCommand label
31504 name "fig:cap-beside-fig-2"
31505
31506 \end_inset
31507
31508 This is a vertically centered caption beside a figure.
31509 \end_layout
31510
31511 \end_inset
31512
31513
31514 \end_layout
31515
31516 \end_inset
31517
31518
31519 \end_layout
31520
31521 \begin_layout Standard
31522 \begin_inset ERT
31523 status collapsed
31524
31525 \begin_layout Plain Layout
31526
31527
31528 \backslash
31529 FigBesEnd
31530 \end_layout
31531
31532 \end_inset
31533
31534
31535 \end_layout
31536
31537 \begin_layout Standard
31538 \begin_inset ERT
31539 status collapsed
31540
31541 \begin_layout Plain Layout
31542
31543
31544 \backslash
31545 TabBesBeg[5]
31546 \end_layout
31547
31548 \end_inset
31549
31550
31551 \end_layout
31552
31553 \begin_layout Standard
31554 \begin_inset Float table
31555 placement document
31556 alignment document
31557 wide false
31558 sideways false
31559 status open
31560
31561 \begin_layout Plain Layout
31562 \begin_inset Caption Standard
31563
31564 \begin_layout Plain Layout
31565 \begin_inset CommandInset label
31566 LatexCommand label
31567 name "tab:cap-beside-tab-wider"
31568
31569 \end_inset
31570
31571 This caption is wider than the one in Table
31572 \begin_inset space ~
31573 \end_inset
31574
31575
31576 \begin_inset CommandInset ref
31577 LatexCommand ref
31578 reference "tab:cap-beside-tab"
31579
31580 \end_inset
31581
31582 .
31583 \end_layout
31584
31585 \end_inset
31586
31587
31588 \end_layout
31589
31590 \begin_layout Plain Layout
31591 \begin_inset Tabular
31592 <lyxtabular version="3" rows="4" columns="5">
31593 <features tabularvalignment="middle">
31594 <column alignment="center" valignment="top">
31595 <column alignment="center" valignment="top">
31596 <column alignment="center" valignment="top">
31597 <column alignment="center" valignment="top">
31598 <column alignment="center" valignment="top">
31599 <row>
31600 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31601 \begin_inset Text
31602
31603 \begin_layout Plain Layout
31604 a
31605 \end_layout
31606
31607 \end_inset
31608 </cell>
31609 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31610 \begin_inset Text
31611
31612 \begin_layout Plain Layout
31613
31614 \end_layout
31615
31616 \end_inset
31617 </cell>
31618 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31619 \begin_inset Text
31620
31621 \begin_layout Plain Layout
31622 b
31623 \end_layout
31624
31625 \end_inset
31626 </cell>
31627 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31628 \begin_inset Text
31629
31630 \begin_layout Plain Layout
31631
31632 \end_layout
31633
31634 \end_inset
31635 </cell>
31636 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31637 \begin_inset Text
31638
31639 \begin_layout Plain Layout
31640 c
31641 \end_layout
31642
31643 \end_inset
31644 </cell>
31645 </row>
31646 <row>
31647 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31648 \begin_inset Text
31649
31650 \begin_layout Plain Layout
31651
31652 \end_layout
31653
31654 \end_inset
31655 </cell>
31656 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31657 \begin_inset Text
31658
31659 \begin_layout Plain Layout
31660 d
31661 \end_layout
31662
31663 \end_inset
31664 </cell>
31665 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31666 \begin_inset Text
31667
31668 \begin_layout Plain Layout
31669
31670 \end_layout
31671
31672 \end_inset
31673 </cell>
31674 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31675 \begin_inset Text
31676
31677 \begin_layout Plain Layout
31678 e
31679 \end_layout
31680
31681 \end_inset
31682 </cell>
31683 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31684 \begin_inset Text
31685
31686 \begin_layout Plain Layout
31687
31688 \end_layout
31689
31690 \end_inset
31691 </cell>
31692 </row>
31693 <row>
31694 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31695 \begin_inset Text
31696
31697 \begin_layout Plain Layout
31698 f
31699 \end_layout
31700
31701 \end_inset
31702 </cell>
31703 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31704 \begin_inset Text
31705
31706 \begin_layout Plain Layout
31707
31708 \end_layout
31709
31710 \end_inset
31711 </cell>
31712 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31713 \begin_inset Text
31714
31715 \begin_layout Plain Layout
31716 g
31717 \end_layout
31718
31719 \end_inset
31720 </cell>
31721 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31722 \begin_inset Text
31723
31724 \begin_layout Plain Layout
31725
31726 \end_layout
31727
31728 \end_inset
31729 </cell>
31730 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31731 \begin_inset Text
31732
31733 \begin_layout Plain Layout
31734 h
31735 \end_layout
31736
31737 \end_inset
31738 </cell>
31739 </row>
31740 <row>
31741 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31742 \begin_inset Text
31743
31744 \begin_layout Plain Layout
31745
31746 \end_layout
31747
31748 \end_inset
31749 </cell>
31750 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31751 \begin_inset Text
31752
31753 \begin_layout Plain Layout
31754 i
31755 \end_layout
31756
31757 \end_inset
31758 </cell>
31759 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31760 \begin_inset Text
31761
31762 \begin_layout Plain Layout
31763
31764 \end_layout
31765
31766 \end_inset
31767 </cell>
31768 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31769 \begin_inset Text
31770
31771 \begin_layout Plain Layout
31772 j
31773 \end_layout
31774
31775 \end_inset
31776 </cell>
31777 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31778 \begin_inset Text
31779
31780 \begin_layout Plain Layout
31781
31782 \end_layout
31783
31784 \end_inset
31785 </cell>
31786 </row>
31787 </lyxtabular>
31788
31789 \end_inset
31790
31791
31792 \end_layout
31793
31794 \end_inset
31795
31796
31797 \end_layout
31798
31799 \begin_layout Standard
31800 \begin_inset ERT
31801 status collapsed
31802
31803 \begin_layout Plain Layout
31804
31805
31806 \backslash
31807 TabBesEnd
31808 \end_layout
31809
31810 \end_inset
31811
31812
31813 \end_layout
31814
31815 \begin_layout Standard
31816 \begin_inset ERT
31817 status collapsed
31818
31819 \begin_layout Plain Layout
31820
31821
31822 \backslash
31823 else
31824 \end_layout
31825
31826 \end_inset
31827
31828
31829 \begin_inset Note Note
31830 status open
31831
31832 \begin_layout Plain Layout
31833 The following will be displayed when the \SpecialChar LaTeX
31834 -package 
31835 \series bold
31836 sidecap
31837 \series default
31838  is not installed:
31839 \end_layout
31840
31841 \end_inset
31842
31843
31844 \end_layout
31845
31846 \begin_layout Standard
31847 You need to install the \SpecialChar LaTeX
31848 -package 
31849 \series bold
31850 sidecap
31851 \series default
31852  to see the following part of this section in the output.
31853 \end_layout
31854
31855 \begin_layout Standard
31856 \begin_inset ERT
31857 status collapsed
31858
31859 \begin_layout Plain Layout
31860
31861
31862 \backslash
31863 fi
31864 \end_layout
31865
31866 \end_inset
31867
31868
31869 \end_layout
31870
31871 \begin_layout Section
31872 Listings of Floats
31873 \begin_inset Index idx
31874 status collapsed
31875
31876 \begin_layout Plain Layout
31877 Floats ! Float Lists
31878 \end_layout
31879
31880 \end_inset
31881
31882
31883 \end_layout
31884
31885 \begin_layout Standard
31886 Similar to the table of contents where the sections of the document are
31887  listed, there are listings for all float types, like the figures of the
31888  documents.
31889  You can insert them via the 
31890 \family sans
31891 Insert\SpecialChar menuseparator
31892 List
31893 \begin_inset space ~
31894 \end_inset
31895
31896 /
31897 \begin_inset space ~
31898 \end_inset
31899
31900 TOC
31901 \family default
31902  sub menus.
31903 \end_layout
31904
31905 \begin_layout Standard
31906 The list entries are the float captions or its short title, the float number,
31907  and the page number where they appear in the document.
31908 \end_layout
31909
31910 \begin_layout Standard
31911 You can find the list of figures and tables at the end of this document.
31912 \end_layout
31913
31914 \begin_layout Chapter
31915 Notes
31916 \end_layout
31917
31918 \begin_layout Section
31919 \SpecialChar LyX
31920  Notes
31921 \begin_inset Index idx
31922 status collapsed
31923
31924 \begin_layout Plain Layout
31925 Notes ! \SpecialChar LyX
31926  Notes
31927 \end_layout
31928
31929 \end_inset
31930
31931
31932 \end_layout
31933
31934 \begin_layout Standard
31935 Notes are inserted with the toolbar button 
31936 \begin_inset Info
31937 type  "icon"
31938 arg   "note-insert"
31939 \end_inset
31940
31941  or the menu 
31942 \family sans
31943 Insert\SpecialChar menuseparator
31944 Note
31945 \family default
31946 .
31947  There are three types of notes:
31948 \end_layout
31949
31950 \begin_layout Description
31951 \SpecialChar LyX
31952
31953 \begin_inset space ~
31954 \end_inset
31955
31956 Note This note type is for internal notes that won't appear in the output.
31957  Its note-box looks like this:
31958 \begin_inset Newline newline
31959 \end_inset
31960
31961
31962 \begin_inset Newline newline
31963 \end_inset
31964
31965
31966 \begin_inset Graphics
31967         filename clipart/LyXNoteImage.png
31968         display false
31969         scaleBeforeRotation
31970
31971 \end_inset
31972
31973  
31974 \begin_inset Note Note
31975 status open
31976
31977 \begin_layout Plain Layout
31978 This is text in a note box that doesn't appear in the output.
31979 \end_layout
31980
31981 \end_inset
31982
31983
31984 \end_layout
31985
31986 \begin_layout Description
31987 Comment This note also doesn't appear in the output but it appears as \SpecialChar LaTeX
31988 -comment,
31989  when you export the document to \SpecialChar LaTeX
31990  via the menu 
31991 \family sans
31992 File\SpecialChar menuseparator
31993 Export\SpecialChar menuseparator
31994 LaTeX
31995 \begin_inset space ~
31996 \end_inset
31997
31998 (pdflatex) / (plain)
31999 \family default
32000 .
32001  Its note-box looks like this:
32002 \begin_inset Newline newline
32003 \end_inset
32004
32005
32006 \begin_inset Newline newline
32007 \end_inset
32008
32009
32010 \begin_inset Graphics
32011         filename clipart/CommentNoteImage.png
32012         display false
32013         scaleBeforeRotation
32014
32015 \end_inset
32016
32017  
32018 \begin_inset Note Comment
32019 status open
32020
32021 \begin_layout Plain Layout
32022 This is text in a note box that only appears as comment in \SpecialChar LaTeX
32023 -files.
32024 \end_layout
32025
32026 \end_inset
32027
32028
32029 \end_layout
32030
32031 \begin_layout Description
32032 Greyed
32033 \begin_inset space ~
32034 \end_inset
32035
32036 Out This note will appear in the output as grey text.
32037  Its note-box looks like this:
32038 \begin_inset Newline newline
32039 \end_inset
32040
32041
32042 \begin_inset Newline newline
32043 \end_inset
32044
32045
32046 \begin_inset Graphics
32047         filename clipart/GreyedOutNoteImage.png
32048         display false
32049         scaleBeforeRotation
32050
32051 \end_inset
32052
32053
32054 \begin_inset Newline newline
32055 \end_inset
32056
32057
32058 \begin_inset ERT
32059 status collapsed
32060
32061 \begin_layout Plain Layout
32062
32063
32064 \backslash
32065 renewenvironment{lyxgreyedout}
32066 \end_layout
32067
32068 \begin_layout Plain Layout
32069
32070 {
32071 \backslash
32072 textcolor[gray]{0.8}
32073 \backslash
32074 bgroup}{
32075 \backslash
32076 egroup}
32077 \end_layout
32078
32079 \end_inset
32080
32081
32082 \begin_inset Note Greyedout
32083 status open
32084
32085 \begin_layout Plain Layout
32086 This is text of a comment that appears grey in the output.
32087 \end_layout
32088
32089 \end_inset
32090
32091
32092 \begin_inset ERT
32093 status collapsed
32094
32095 \begin_layout Plain Layout
32096
32097
32098 \backslash
32099 renewenvironment{lyxgreyedout}
32100 \end_layout
32101
32102 \begin_layout Plain Layout
32103
32104 {
32105 \backslash
32106 textcolor{blue}
32107 \backslash
32108 bgroup}{
32109 \backslash
32110 egroup}
32111 \end_layout
32112
32113 \end_inset
32114
32115
32116 \begin_inset Note Note
32117 status collapsed
32118
32119 \begin_layout Plain Layout
32120 The greyed out note is here redefined to show it with the original \SpecialChar LyX
32121  definition
32122  because greyed out notes are redefined in the preamble of this document,
32123  as described below, to have blue text.
32124 \end_layout
32125
32126 \end_inset
32127
32128
32129 \begin_inset Newline newline
32130 \end_inset
32131
32132
32133 \begin_inset Newline newline
32134 \end_inset
32135
32136 As you can see in the example, the first line of greyed out notes is a bit
32137  indented and greyed out notes can have footnotes.
32138 \end_layout
32139
32140 \begin_layout Standard
32141 \begin_inset VSpace bigskip
32142 \end_inset
32143
32144 When you use the toolbar button 
32145 \begin_inset Info
32146 type  "icon"
32147 arg   "note-insert"
32148 \end_inset
32149
32150  to insert notes, a 
32151 \family sans
32152 \SpecialChar LyX
32153
32154 \begin_inset space ~
32155 \end_inset
32156
32157 Note
32158 \family default
32159  is inserted.
32160  You can switch between the three note types by right-clicking on the note-box.
32161  
32162 \family roman
32163 \series medium
32164 \bar no
32165 If you want to turn existing text into a note, mark it and click on the
32166  note
32167 \family default
32168 \series default
32169 \bar default
32170  toolbar 
32171 \family roman
32172 \series medium
32173 \bar no
32174 button
32175 \family default
32176 \series default
32177 \bar default
32178 .
32179  To change a note to text, press the backspace key when the cursor is in
32180  the first position of a note, or press the delete key when the cursor is
32181  in the very last position of the note, respectively.
32182 \end_layout
32183
32184 \begin_layout Standard
32185 \begin_inset VSpace bigskip
32186 \end_inset
32187
32188 You can change the text color of the greyed out notes in the menu 
32189 \family sans
32190 Document\SpecialChar menuseparator
32191 Settings\SpecialChar menuseparator
32192 Colors
32193 \family default
32194 .
32195 \end_layout
32196
32197 \begin_layout Section
32198 Footnotes
32199 \begin_inset CommandInset label
32200 LatexCommand label
32201 name "sec:Footnotes"
32202
32203 \end_inset
32204
32205
32206 \begin_inset Index idx
32207 status collapsed
32208
32209 \begin_layout Plain Layout
32210 Notes ! Footnotes
32211 \end_layout
32212
32213 \end_inset
32214
32215
32216 \begin_inset Index idx
32217 status collapsed
32218
32219 \begin_layout Plain Layout
32220 Footnotes
32221 \end_layout
32222
32223 \end_inset
32224
32225
32226 \end_layout
32227
32228 \begin_layout Standard
32229 Footnotes can be inserted using the toolbar button 
32230 \begin_inset Info
32231 type  "icon"
32232 arg   "footnote-insert"
32233 \end_inset
32234
32235  or the menu 
32236 \family sans
32237 Insert\SpecialChar menuseparator
32238 Footnote
32239 \family default
32240 .
32241  You will then see the following footnote-box: 
32242 \begin_inset Graphics
32243         filename clipart/footnote.png
32244         scale 95
32245         scaleBeforeRotation
32246
32247 \end_inset
32248
32249  
32250 \family roman
32251 \series medium
32252 \bar no
32253 where you can enter the footnote text.
32254  If you want to turn existing text into a footnote, mark it and click on
32255  the footnote
32256 \family default
32257 \series default
32258 \bar default
32259  toolbar 
32260 \family roman
32261 \series medium
32262 \bar no
32263 button
32264 \family default
32265 \series default
32266 \bar default
32267 .
32268  To change a 
32269 \family roman
32270 \series medium
32271 \bar no
32272 footnote
32273 \family default
32274 \series default
32275 \bar default
32276  to text, press the 
32277 \family sans
32278 Backspace
32279 \family default
32280  key when the cursor is in the first position of a 
32281 \family roman
32282 \series medium
32283 \bar no
32284 footnote
32285 \family default
32286 \series default
32287 \bar default
32288 , or press the 
32289 \family sans
32290 Delete
32291 \family default
32292  key when the cursor is in the very last position of the 
32293 \family roman
32294 \series medium
32295 \bar no
32296 footnote
32297 \family default
32298 \series default
32299 \bar default
32300 , respectively.
32301 \end_layout
32302
32303 \begin_layout Standard
32304 Here is an example footnote:
32305 \family roman
32306 \series medium
32307 \bar no
32308
32309 \begin_inset Foot
32310 status open
32311
32312 \begin_layout Plain Layout
32313 \begin_inset CommandInset label
32314 LatexCommand label
32315 name "foot:This-is-an"
32316
32317 \end_inset
32318
32319 This is an example footnote.
32320 \end_layout
32321
32322 \end_inset
32323
32324
32325 \family default
32326 \series default
32327 \bar default
32328
32329 \begin_inset ERT
32330 status collapsed
32331
32332 \begin_layout Plain Layout
32333
32334
32335 \backslash
32336 newcounter{MyRepeatFoot}
32337 \end_layout
32338
32339 \begin_layout Plain Layout
32340
32341
32342 \backslash
32343 setcounter{MyRepeatFoot}{
32344 \backslash
32345 thefootnote}
32346 \end_layout
32347
32348 \end_inset
32349
32350
32351 \end_layout
32352
32353 \begin_layout Standard
32354 The footnote will appear in the output as a superscript number at the text
32355  position where the footnote box is placed.
32356  The footnote text is placed at the bottom of the current page.
32357  The footnote number is calculated by \SpecialChar LaTeX
32358 ; the numbers are consecutive.
32359  Whether the footnote number is reset for every chapter depends on your
32360  document class.
32361 \end_layout
32362
32363 \begin_layout Standard
32364 Footnotes can be referenced like floats: Insert a label into the footnote
32365  and cross-reference this label in the text as described in section
32366 \begin_inset space ~
32367 \end_inset
32368
32369
32370 \begin_inset CommandInset ref
32371 LatexCommand ref
32372 reference "sec:Referencing-Floats"
32373
32374 \end_inset
32375
32376 .
32377 \begin_inset Newline newline
32378 \end_inset
32379
32380 This is a cross-reference of Footnote
32381 \begin_inset space ~
32382 \end_inset
32383
32384
32385 \begin_inset CommandInset ref
32386 LatexCommand ref
32387 reference "foot:This-is-an"
32388
32389 \end_inset
32390
32391 .
32392 \end_layout
32393
32394 \begin_layout Standard
32395 \begin_inset VSpace defskip
32396 \end_inset
32397
32398 Footnotes in title environments are usually not numbered with symbols and
32399  they cannot contain several paragraphs.
32400  See for example the footnote in the titling of this document.
32401 \end_layout
32402
32403 \begin_layout Standard
32404 Footnotes in multi-page tables are described in section
32405 \begin_inset space ~
32406 \end_inset
32407
32408
32409 \begin_inset CommandInset ref
32410 LatexCommand ref
32411 reference "subsec:Footnotes-in-Multi-page"
32412
32413 \end_inset
32414
32415 .
32416 \end_layout
32417
32418 \begin_layout Standard
32419 \begin_inset VSpace defskip
32420 \end_inset
32421
32422
32423 \end_layout
32424
32425 \begin_layout Standard
32426 Footnotes in minipage boxes are printed, but inside the box and with a different
32427  numbering because a minipage box is like a page inside a page.
32428  (For more about minipages, see section
32429 \begin_inset space ~
32430 \end_inset
32431
32432
32433 \begin_inset CommandInset ref
32434 LatexCommand ref
32435 reference "sec:Minipages"
32436
32437 \end_inset
32438
32439 .) To get a footnote in the minipage that is output at the bottom of the
32440  page like normal footnotes use this method: Instead of the footnote the
32441  command 
32442 \series bold
32443
32444 \backslash
32445 footnotemark{}
32446 \series default
32447  is inserted as \SpecialChar TeX
32448  code.
32449  The text of the footnote is entered as an argument of the \SpecialChar TeX
32450  code command
32451  
32452 \series bold
32453
32454 \backslash
32455 footnotetext
32456 \series default
32457  after the minipage.
32458 \begin_inset Newline newline
32459 \end_inset
32460
32461 This was done for the following minipage with the command
32462 \end_layout
32463
32464 \begin_layout Standard
32465
32466 \series bold
32467
32468 \backslash
32469 footnotetext{
32470 \series default
32471 Footnote outside the minipage.
32472 \series bold
32473 }
32474 \end_layout
32475
32476 \begin_layout Standard
32477 \begin_inset Box Frameless
32478 position "t"
32479 hor_pos "c"
32480 has_inner_box 1
32481 inner_pos "t"
32482 use_parbox 0
32483 use_makebox 0
32484 width "100col%"
32485 special "none"
32486 height "1in"
32487 height_special "totalheight"
32488 thickness "0.4pt"
32489 separation "3pt"
32490 shadowsize "4pt"
32491 framecolor "black"
32492 backgroundcolor "none"
32493 status open
32494
32495 \begin_layout Plain Layout
32496 This an example text in a minipage.
32497 \begin_inset Foot
32498 status open
32499
32500 \begin_layout Plain Layout
32501 Footnote in the minipage.
32502 \end_layout
32503
32504 \end_inset
32505
32506
32507 \end_layout
32508
32509 \begin_layout Plain Layout
32510 This an example text in a minipage.
32511 \begin_inset ERT
32512 status collapsed
32513
32514 \begin_layout Plain Layout
32515
32516
32517 \backslash
32518 footnotemark{}
32519 \end_layout
32520
32521 \end_inset
32522
32523
32524 \end_layout
32525
32526 \end_inset
32527
32528
32529 \end_layout
32530
32531 \begin_layout Standard
32532 \begin_inset ERT
32533 status collapsed
32534
32535 \begin_layout Plain Layout
32536
32537
32538 \backslash
32539 footnotetext{
32540 \end_layout
32541
32542 \end_inset
32543
32544 Footnote outside the minipage.
32545 \begin_inset ERT
32546 status collapsed
32547
32548 \begin_layout Plain Layout
32549
32550 }
32551 \end_layout
32552
32553 \end_inset
32554
32555
32556 \end_layout
32557
32558 \begin_layout Standard
32559 \begin_inset VSpace defskip
32560 \end_inset
32561
32562
32563 \end_layout
32564
32565 \begin_layout Standard
32566 To refer to the same footnote several times without printing the footnote
32567  text every time, use the command 
32568 \series bold
32569
32570 \backslash
32571 footnotemark[number]
32572 \series default
32573  in \SpecialChar TeX
32574  code.
32575 \begin_inset Newline newline
32576 \end_inset
32577
32578 As you do not know the number of the repeating footnote while you are writing
32579  the text, you have to store its number.
32580  For the following footnote mark example, these commands were inserted in
32581  \SpecialChar TeX
32582  code after Footnote
32583 \begin_inset space ~
32584 \end_inset
32585
32586
32587 \begin_inset CommandInset ref
32588 LatexCommand ref
32589 reference "foot:This-is-an"
32590
32591 \end_inset
32592
32593  to store the footnote number:
32594 \end_layout
32595
32596 \begin_layout Standard
32597
32598 \series bold
32599
32600 \backslash
32601 newcounter{MyRepeatFoot}
32602 \begin_inset Newline newline
32603 \end_inset
32604
32605
32606 \backslash
32607 setcounter{MyRepeatFoot}{
32608 \backslash
32609 thefootnote}
32610 \end_layout
32611
32612 \begin_layout Standard
32613 The footnote mark was then created with this command:
32614 \end_layout
32615
32616 \begin_layout Standard
32617
32618 \series bold
32619
32620 \backslash
32621 footnotemark[
32622 \backslash
32623 theMyRepeatFoot]
32624 \end_layout
32625
32626 \begin_layout Standard
32627 Here is a repeated footnote:
32628 \family roman
32629 \series medium
32630 \bar no
32631
32632 \begin_inset ERT
32633 status collapsed
32634
32635 \begin_layout Plain Layout
32636
32637
32638 \backslash
32639 footnotemark[
32640 \backslash
32641 theMyRepeatFoot]
32642 \end_layout
32643
32644 \end_inset
32645
32646
32647 \end_layout
32648
32649 \begin_layout Standard
32650 If you want to repeat the previous footnote, you can omit the storage of
32651  the footnote number and just use this command instead:
32652 \end_layout
32653
32654 \begin_layout Standard
32655
32656 \series bold
32657
32658 \backslash
32659 footnotemark[
32660 \backslash
32661 thefootnote]
32662 \end_layout
32663
32664 \begin_layout Standard
32665 Here is another repeated footnote:
32666 \family roman
32667 \series medium
32668 \bar no
32669
32670 \begin_inset ERT
32671 status collapsed
32672
32673 \begin_layout Plain Layout
32674
32675
32676 \backslash
32677 footnotemark[
32678 \backslash
32679 thefootnote]
32680 \end_layout
32681
32682 \end_inset
32683
32684
32685 \end_layout
32686
32687 \begin_layout Subsection
32688 Footnote Numbering
32689 \begin_inset CommandInset label
32690 LatexCommand label
32691 name "subsec:Footnote-Numbering"
32692
32693 \end_inset
32694
32695
32696 \begin_inset Index idx
32697 status collapsed
32698
32699 \begin_layout Plain Layout
32700 Footnotes ! Numbering
32701 \end_layout
32702
32703 \end_inset
32704
32705
32706 \end_layout
32707
32708 \begin_layout Standard
32709 To reset the footnote number back to 1 after each section
32710 \family roman
32711 , add this command to your document preamble:
32712 \end_layout
32713
32714 \begin_layout Standard
32715
32716 \series bold
32717
32718 \backslash
32719 @addtoreset{footnote}{section}
32720 \end_layout
32721
32722 \begin_layout Standard
32723 \begin_inset VSpace bigskip
32724 \end_inset
32725
32726 The following preamble command changes the footnote numbering style to small
32727  roman numerals:
32728 \end_layout
32729
32730 \begin_layout Standard
32731
32732 \series bold
32733
32734 \backslash
32735 renewcommand{
32736 \backslash
32737 thefootnote}{
32738 \backslash
32739 roman{footnote}}
32740 \end_layout
32741
32742 \begin_layout Standard
32743 \begin_inset ERT
32744 status collapsed
32745
32746 \begin_layout Plain Layout
32747
32748
32749 \backslash
32750 renewcommand{
32751 \backslash
32752 thefootnote}{
32753 \backslash
32754 roman{footnote}}
32755 \end_layout
32756
32757 \end_inset
32758
32759  This is a footnote with roman numbering:
32760 \begin_inset Foot
32761 status open
32762
32763 \begin_layout Plain Layout
32764 This is an example footnote with roman numbering.
32765 \end_layout
32766
32767 \end_inset
32768
32769
32770 \end_layout
32771
32772 \begin_layout Standard
32773 To change the numbering style to capital roman numerals replace in the command
32774  above 
32775 \series bold
32776
32777 \backslash
32778 roman
32779 \series default
32780  by 
32781 \series bold
32782
32783 \backslash
32784 Roman
32785 \series default
32786 .
32787  To 
32788 \begin_inset Quotes eld
32789 \end_inset
32790
32791 number
32792 \begin_inset Quotes erd
32793 \end_inset
32794
32795  footnotes with capital or small Latin letters use 
32796 \series bold
32797
32798 \backslash
32799 Alph
32800 \series default
32801  or 
32802 \series bold
32803
32804 \backslash
32805 alph
32806 \series default
32807 , respectively.
32808  To 
32809 \begin_inset Quotes eld
32810 \end_inset
32811
32812 number
32813 \begin_inset Quotes erd
32814 \end_inset
32815
32816  footnotes with symbols use 
32817 \series bold
32818
32819 \backslash
32820 fnsymbol
32821 \series default
32822 .
32823 \end_layout
32824
32825 \begin_layout Standard
32826 \begin_inset Note Greyedout
32827 status open
32828
32829 \begin_layout Plain Layout
32830
32831 \series bold
32832 Note:
32833 \series default
32834  You can only number 26 footnotes with Latin letters, because this numbering
32835  is limited to single letters.
32836 \end_layout
32837
32838 \end_inset
32839
32840
32841 \begin_inset Newline newline
32842 \end_inset
32843
32844
32845 \begin_inset Note Greyedout
32846 status open
32847
32848 \begin_layout Plain Layout
32849
32850 \series bold
32851 Note:
32852 \series default
32853  You can only number 9 footnotes with symbols.
32854 \end_layout
32855
32856 \end_inset
32857
32858
32859 \end_layout
32860
32861 \begin_layout Standard
32862 To return to the default numbering style after you have changed to another
32863  one, use 
32864 \series bold
32865
32866 \backslash
32867 arabic
32868 \series default
32869  instead of 
32870 \series bold
32871
32872 \backslash
32873 roman
32874 \series default
32875  in the command above.
32876 \begin_inset ERT
32877 status collapsed
32878
32879 \begin_layout Plain Layout
32880
32881
32882 \backslash
32883 renewcommand{
32884 \backslash
32885 thefootnote}{
32886 \backslash
32887 arabic{footnote}}
32888 \end_layout
32889
32890 \end_inset
32891
32892
32893 \end_layout
32894
32895 \begin_layout Standard
32896 \begin_inset VSpace bigskip
32897 \end_inset
32898
32899
32900 \end_layout
32901
32902 \begin_layout Standard
32903 If you want to have footnotes numbered in the scheme 
32904 \begin_inset Quotes eld
32905 \end_inset
32906
32907 chapter.footnote
32908 \begin_inset Quotes erd
32909 \end_inset
32910
32911 , add the following command to your document preamble:
32912 \end_layout
32913
32914 \begin_layout Standard
32915
32916 \series bold
32917
32918 \backslash
32919 numberwithin{footnote}{chapter}
32920 \end_layout
32921
32922 \begin_layout Standard
32923 To be able to use the command 
32924 \series bold
32925
32926 \backslash
32927 numberwithin
32928 \series default
32929 , set in the tab 
32930 \family sans
32931 Math
32932 \begin_inset space ~
32933 \end_inset
32934
32935 Options
32936 \family default
32937  in the document settings the option 
32938 \family sans
32939 Use
32940 \begin_inset space ~
32941 \end_inset
32942
32943 AMS
32944 \begin_inset space ~
32945 \end_inset
32946
32947 math
32948 \begin_inset space ~
32949 \end_inset
32950
32951 package
32952 \family default
32953 .
32954 \end_layout
32955
32956 \begin_layout Standard
32957 \begin_inset ERT
32958 status collapsed
32959
32960 \begin_layout Plain Layout
32961
32962
32963 \backslash
32964 numberwithin{footnote}{chapter}
32965 \end_layout
32966
32967 \end_inset
32968
32969 This is another example footnote:
32970 \series bold
32971
32972 \begin_inset Foot
32973 status open
32974
32975 \begin_layout Plain Layout
32976 This is a footnote numbered in the scheme 
32977 \begin_inset Quotes eld
32978 \end_inset
32979
32980 chapter.footnote
32981 \begin_inset Quotes erd
32982 \end_inset
32983
32984 .
32985 \end_layout
32986
32987 \end_inset
32988
32989
32990 \series default
32991
32992 \begin_inset ERT
32993 status collapsed
32994
32995 \begin_layout Plain Layout
32996
32997
32998 \backslash
32999 renewcommand{
33000 \backslash
33001 thefootnote}{
33002 \backslash
33003 arabic{footnote}}
33004 \end_layout
33005
33006 \end_inset
33007
33008
33009 \end_layout
33010
33011 \begin_layout Standard
33012 \begin_inset Note Greyedout
33013 status open
33014
33015 \begin_layout Plain Layout
33016
33017 \series bold
33018 Note:
33019 \series default
33020  
33021 \series bold
33022
33023 \backslash
33024 numberwithin
33025 \series default
33026  always prints out the footnote number as arabic number; previous redefinitions
33027  to get non-arabic numbers are overwritten.
33028 \end_layout
33029
33030 \end_inset
33031
33032
33033 \end_layout
33034
33035 \begin_layout Standard
33036 So to get for example the scheme 
33037 \begin_inset Quotes eld
33038 \end_inset
33039
33040 chapter.
33041 \backslash
33042 Roman{footnote}
33043 \begin_inset Quotes erd
33044 \end_inset
33045
33046 , use this command instead of 
33047 \series bold
33048
33049 \backslash
33050 numberwithin
33051 \series default
33052 :
33053 \end_layout
33054
33055 \begin_layout Standard
33056
33057 \series bold
33058
33059 \backslash
33060 renewcommand{
33061 \backslash
33062 thefootnote}{
33063 \backslash
33064 thechapter.
33065 \backslash
33066 Roman{footnote}}
33067 \end_layout
33068
33069 \begin_layout Subsection
33070 Footnote Placement
33071 \begin_inset Index idx
33072 status collapsed
33073
33074 \begin_layout Plain Layout
33075 Footnotes ! Placement
33076 \end_layout
33077
33078 \end_inset
33079
33080
33081 \end_layout
33082
33083 \begin_layout Standard
33084 If you have several footnotes in one page, they appear without vertical
33085  space between them at the bottom of the page.
33086  To make them more readable you can e.
33087 \begin_inset space \thinspace{}
33088 \end_inset
33089
33090 g.
33091 \begin_inset space \space{}
33092 \end_inset
33093
33094 add 1.5
33095 \begin_inset space \thinspace{}
33096 \end_inset
33097
33098 mm space with the following preamble command:
33099 \end_layout
33100
33101 \begin_layout Standard
33102
33103 \series bold
33104
33105 \backslash
33106 let
33107 \backslash
33108 myFoot
33109 \backslash
33110 footnote
33111 \begin_inset Newline newline
33112 \end_inset
33113
33114
33115 \backslash
33116 renewcommand{
33117 \backslash
33118 footnote}[1]{
33119 \backslash
33120 myFoot{#1
33121 \backslash
33122 vspace{1.5mm}}}
33123 \end_layout
33124
33125 \begin_layout Standard
33126 \begin_inset VSpace bigskip
33127 \end_inset
33128
33129 In a two-column document the footnotes appear at the bottom of every column,
33130  see Figure
33131 \begin_inset space ~
33132 \end_inset
33133
33134
33135 \begin_inset CommandInset ref
33136 LatexCommand ref
33137 reference "fig:Standard-footnote-placement"
33138
33139 \end_inset
33140
33141 .
33142  If the footnotes should only appear at the bottom of the right column,
33143  as in Figure
33144 \begin_inset space ~
33145 \end_inset
33146
33147
33148 \begin_inset CommandInset ref
33149 LatexCommand ref
33150 reference "fig:Footnote-placement-in"
33151
33152 \end_inset
33153
33154 , use the \SpecialChar LaTeX
33155 -package 
33156 \series bold
33157 ftnright
33158 \series default
33159
33160 \begin_inset Index idx
33161 status collapsed
33162
33163 \begin_layout Plain Layout
33164 \SpecialChar LaTeX
33165 -packages ! ftnright
33166 \end_layout
33167
33168 \end_inset
33169
33170  with this command in the document preamble:
33171 \end_layout
33172
33173 \begin_layout Standard
33174
33175 \series bold
33176
33177 \backslash
33178 usepackage{ftnright}
33179 \end_layout
33180
33181 \begin_layout Standard
33182 \begin_inset Float figure
33183 placement !h
33184 alignment document
33185 wide false
33186 sideways false
33187 status open
33188
33189 \begin_layout Plain Layout
33190 \noindent
33191 \align center
33192 \begin_inset Box Boxed
33193 position "t"
33194 hor_pos "c"
33195 has_inner_box 0
33196 inner_pos "t"
33197 use_parbox 0
33198 use_makebox 0
33199 width ""
33200 special "none"
33201 height "1in"
33202 height_special "totalheight"
33203 thickness "0.4pt"
33204 separation "3pt"
33205 shadowsize "4pt"
33206 framecolor "black"
33207 backgroundcolor "none"
33208 status open
33209
33210 \begin_layout Plain Layout
33211 \begin_inset Graphics
33212         filename clipart/without_fntright.pdf
33213         width 100col%
33214         scaleBeforeRotation
33215
33216 \end_inset
33217
33218
33219 \end_layout
33220
33221 \end_inset
33222
33223
33224 \end_layout
33225
33226 \begin_layout Plain Layout
33227 \begin_inset Caption Standard
33228
33229 \begin_layout Plain Layout
33230 \begin_inset CommandInset label
33231 LatexCommand label
33232 name "fig:Standard-footnote-placement"
33233
33234 \end_inset
33235
33236 Standard footnote placement in two-column documents.
33237 \end_layout
33238
33239 \end_inset
33240
33241
33242 \end_layout
33243
33244 \end_inset
33245
33246
33247 \end_layout
33248
33249 \begin_layout Standard
33250 \begin_inset Float figure
33251 placement !h
33252 alignment document
33253 wide false
33254 sideways false
33255 status open
33256
33257 \begin_layout Plain Layout
33258 \noindent
33259 \align center
33260 \begin_inset Box Boxed
33261 position "t"
33262 hor_pos "c"
33263 has_inner_box 0
33264 inner_pos "t"
33265 use_parbox 0
33266 use_makebox 0
33267 width ""
33268 special "none"
33269 height "1in"
33270 height_special "totalheight"
33271 thickness "0.4pt"
33272 separation "3pt"
33273 shadowsize "4pt"
33274 framecolor "black"
33275 backgroundcolor "none"
33276 status open
33277
33278 \begin_layout Plain Layout
33279 \begin_inset Graphics
33280         filename clipart/with_fntright.pdf
33281         width 100col%
33282         scaleBeforeRotation
33283
33284 \end_inset
33285
33286
33287 \end_layout
33288
33289 \end_inset
33290
33291
33292 \end_layout
33293
33294 \begin_layout Plain Layout
33295 \begin_inset Caption Standard
33296
33297 \begin_layout Plain Layout
33298 \begin_inset CommandInset label
33299 LatexCommand label
33300 name "fig:Footnote-placement-in"
33301
33302 \end_inset
33303
33304 Footnote placement in two-column documents when the \SpecialChar LaTeX
33305 -package 
33306 \series bold
33307 ftnright
33308 \series default
33309  is used.
33310 \end_layout
33311
33312 \end_inset
33313
33314
33315 \end_layout
33316
33317 \end_inset
33318
33319
33320 \end_layout
33321
33322 \begin_layout Standard
33323 \begin_inset VSpace bigskip
33324 \end_inset
33325
33326 In some scientific literature it is usual to collect the footnotes and print
33327  them in a separate paragraph at the end of a section, as in Figure
33328 \begin_inset space ~
33329 \end_inset
33330
33331
33332 \begin_inset CommandInset ref
33333 LatexCommand ref
33334 reference "fig:Endnotes"
33335
33336 \end_inset
33337
33338 .
33339  They are then called 
33340 \begin_inset Quotes eld
33341 \end_inset
33342
33343 endnotes
33344 \begin_inset Quotes erd
33345 \end_inset
33346
33347 .
33348 \begin_inset Index idx
33349 status collapsed
33350
33351 \begin_layout Plain Layout
33352 Endnotes
33353 \end_layout
33354
33355 \end_inset
33356
33357  To use endnotes instead of footnotes in your document, load in the menu
33358  
33359 \family sans
33360 Document\SpecialChar menuseparator
33361 Settings\SpecialChar menuseparator
33362 Modules 
33363 \family default
33364 the module 
33365 \family sans
33366 Foot
33367 \begin_inset space ~
33368 \end_inset
33369
33370 to
33371 \begin_inset space ~
33372 \end_inset
33373
33374 End
33375 \family default
33376 .
33377  To insert the collected footnotes, insert the command
33378 \end_layout
33379
33380 \begin_layout Standard
33381
33382 \series bold
33383
33384 \backslash
33385 theendnotes
33386 \end_layout
33387
33388 \begin_layout Standard
33389 in \SpecialChar TeX
33390  Code at the end of a section or chapter.
33391 \end_layout
33392
33393 \begin_layout Standard
33394 \begin_inset Float figure
33395 placement document
33396 alignment document
33397 wide false
33398 sideways false
33399 status open
33400
33401 \begin_layout Plain Layout
33402 \noindent
33403 \align center
33404 \begin_inset Box Boxed
33405 position "t"
33406 hor_pos "c"
33407 has_inner_box 0
33408 inner_pos "t"
33409 use_parbox 0
33410 use_makebox 0
33411 width ""
33412 special "none"
33413 height "1in"
33414 height_special "totalheight"
33415 thickness "0.4pt"
33416 separation "3pt"
33417 shadowsize "4pt"
33418 framecolor "black"
33419 backgroundcolor "none"
33420 status open
33421
33422 \begin_layout Plain Layout
33423 \begin_inset Graphics
33424         filename clipart/endnotes.pdf
33425         width 100col%
33426         scaleBeforeRotation
33427
33428 \end_inset
33429
33430
33431 \end_layout
33432
33433 \end_inset
33434
33435
33436 \end_layout
33437
33438 \begin_layout Plain Layout
33439 \begin_inset Caption Standard
33440
33441 \begin_layout Plain Layout
33442 \begin_inset CommandInset label
33443 LatexCommand label
33444 name "fig:Endnotes"
33445
33446 \end_inset
33447
33448 Endnotes â€“ footnotes are printed in a separate paragraph at the end of sections
33449  or chapters.
33450 \end_layout
33451
33452 \end_inset
33453
33454
33455 \end_layout
33456
33457 \end_inset
33458
33459
33460 \end_layout
33461
33462 \begin_layout Standard
33463 \begin_inset VSpace medskip
33464 \end_inset
33465
33466 The paragraph heading for the endnotes isn't automatically translated into
33467  the document language, this must be done manually.
33468  The following preamble command translates the default English 
33469 \begin_inset Quotes eld
33470 \end_inset
33471
33472 Notes
33473 \begin_inset Quotes erd
33474 \end_inset
33475
33476  into the German 
33477 \begin_inset Quotes eld
33478 \end_inset
33479
33480 Anmerkungen
33481 \begin_inset Quotes erd
33482 \end_inset
33483
33484 :
33485 \end_layout
33486
33487 \begin_layout Standard
33488
33489 \series bold
33490
33491 \backslash
33492 renewcommand{
33493 \backslash
33494 notesname}{Anmerkungen}
33495 \end_layout
33496
33497 \begin_layout Standard
33498 \begin_inset VSpace medskip
33499 \end_inset
33500
33501 The numbering of endnotes can be changed like the footnote numbering as
33502  described in section
33503 \begin_inset space ~
33504 \end_inset
33505
33506
33507 \begin_inset CommandInset ref
33508 LatexCommand ref
33509 reference "subsec:Footnote-Numbering"
33510
33511 \end_inset
33512
33513 ; just replace the command 
33514 \series bold
33515
33516 \backslash
33517 thefootnote
33518 \series default
33519  by 
33520 \series bold
33521
33522 \backslash
33523 theendnote
33524 \series default
33525 .
33526  To reset the endnote number use the command 
33527 \series bold
33528
33529 \backslash
33530 @addtoreset
33531 \series default
33532  as described in section
33533 \begin_inset space ~
33534 \end_inset
33535
33536
33537 \begin_inset CommandInset ref
33538 LatexCommand ref
33539 reference "subsec:Footnote-Numbering"
33540
33541 \end_inset
33542
33543  and replace the command parameter 
33544 \series bold
33545 footnote
33546 \series default
33547  by 
33548 \series bold
33549 endnote
33550 \series default
33551 .
33552 \end_layout
33553
33554 \begin_layout Standard
33555 For endnotes there is the command 
33556 \series bold
33557
33558 \backslash
33559 endnotemark[number]
33560 \series default
33561  similar to the command 
33562 \series bold
33563
33564 \backslash
33565 footnotemark
33566 \series default
33567 , that is described in section
33568 \begin_inset space ~
33569 \end_inset
33570
33571
33572 \begin_inset CommandInset ref
33573 LatexCommand ref
33574 reference "sec:Footnotes"
33575
33576 \end_inset
33577
33578 .
33579 \end_layout
33580
33581 \begin_layout Standard
33582 \begin_inset VSpace bigskip
33583 \end_inset
33584
33585 Footnotes can also be placed in the page margin and the footnote text alignment
33586  can be changed, see the \SpecialChar LaTeX
33587 -package 
33588 \series bold
33589 footmisc
33590 \series default
33591
33592 \begin_inset Index idx
33593 status collapsed
33594
33595 \begin_layout Plain Layout
33596 \SpecialChar LaTeX
33597 -packages ! footmisc
33598 \end_layout
33599
33600 \end_inset
33601
33602
33603 \begin_inset CommandInset citation
33604 LatexCommand cite
33605 key "footmisc"
33606 literal "true"
33607
33608 \end_inset
33609
33610  for more information about this.
33611 \end_layout
33612
33613 \begin_layout Standard
33614 For various further footnote formatting issues have a look at \SpecialChar LaTeX
33615 -books, 
33616 \begin_inset CommandInset citation
33617 LatexCommand cite
33618 key "latexcompanion,latexguide,latexbook"
33619 literal "true"
33620
33621 \end_inset
33622
33623 .
33624  If you are using a 
33625 \series bold
33626 KOMA-Script
33627 \series default
33628
33629 \begin_inset Index idx
33630 status collapsed
33631
33632 \begin_layout Plain Layout
33633 \SpecialChar LaTeX
33634 -packages ! KOMA-Script
33635 \end_layout
33636
33637 \end_inset
33638
33639  document class, you can adjust all footnote settings using class-specific
33640  commands, see 
33641 \begin_inset CommandInset citation
33642 LatexCommand cite
33643 key "KOMA-Script"
33644 literal "true"
33645
33646 \end_inset
33647
33648 .
33649 \end_layout
33650
33651 \begin_layout Section
33652 Margin Notes
33653 \begin_inset Index idx
33654 status collapsed
33655
33656 \begin_layout Plain Layout
33657 Notes ! Margin Notes
33658 \end_layout
33659
33660 \end_inset
33661
33662
33663 \end_layout
33664
33665 \begin_layout Standard
33666 Margin notes look and behave in \SpecialChar LyX
33667  like footnotes.
33668  They are inserted via the menu 
33669 \family sans
33670 Insert\SpecialChar menuseparator
33671 Marginal
33672 \begin_inset space ~
33673 \end_inset
33674
33675 Note
33676 \family default
33677  or the toolbar button 
33678 \begin_inset Info
33679 type  "icon"
33680 arg   "marginalnote-insert"
33681 \end_inset
33682
33683 .
33684  A grey 
33685 \family roman
33686 \series medium
33687 box with the
33688 \family default
33689 \series default
33690  red 
33691 \family roman
33692 \series medium
33693 label 
33694 \begin_inset Quotes eld
33695 \end_inset
33696
33697 margin
33698 \begin_inset Quotes erd
33699 \end_inset
33700
33701  appears where you can enter the text of the margin note.
33702 \end_layout
33703
33704 \begin_layout Standard
33705 At the side is an example margin note.
33706
33707 \family roman
33708 \series medium
33709  
33710 \begin_inset Marginal
33711 status open
33712
33713 \begin_layout Plain Layout
33714 This is a margin note.
33715 \end_layout
33716
33717 \end_inset
33718
33719
33720 \end_layout
33721
33722 \begin_layout Standard
33723 Margin notes appear at the right side in single-sided documents.
33724  In double-sided documents they appear in the outer margin â€“ left on even
33725  pages, right on odd pages.
33726  The text of margin notes is aligned opposite to the outer margin â€“ right-aligne
33727 d when the note appears in the left margin.
33728  The first line of the margin note is placed at the position of the text
33729  line where it is inserted in the document.
33730 \end_layout
33731
33732 \begin_layout Standard
33733 \begin_inset VSpace bigskip
33734 \end_inset
33735
33736 To place the margin note in the inner margin, add the command
33737 \end_layout
33738
33739 \begin_layout Standard
33740
33741 \series bold
33742
33743 \backslash
33744 reversemarginpar
33745 \end_layout
33746
33747 \begin_layout Standard
33748 in \SpecialChar TeX
33749  Code before a margin note.
33750  The new placement is valid for all subsequent margin notes.
33751  
33752 \begin_inset ERT
33753 status collapsed
33754
33755 \begin_layout Plain Layout
33756
33757
33758 \backslash
33759 reversemarginpar 
33760 \end_layout
33761
33762 \end_inset
33763
33764
33765 \begin_inset Marginal
33766 status open
33767
33768 \begin_layout Plain Layout
33769 This is a margin note in the inner margin.
33770 \end_layout
33771
33772 \end_inset
33773
33774
33775 \series bold
33776
33777 \begin_inset Newline newline
33778 \end_inset
33779
33780
33781 \series default
33782
33783 \begin_inset Note Greyedout
33784 status open
33785
33786 \begin_layout Plain Layout
33787
33788 \series bold
33789 Note:
33790 \series default
33791  There is often not enough space in the inner margin so that the notes are
33792  not correctly displayed in the output.
33793 \end_layout
33794
33795 \end_inset
33796
33797
33798 \end_layout
33799
33800 \begin_layout Standard
33801 To return to the default placement insert the command
33802 \end_layout
33803
33804 \begin_layout Standard
33805
33806 \series bold
33807
33808 \backslash
33809 normalmarginpar
33810 \end_layout
33811
33812 \begin_layout Standard
33813 in \SpecialChar TeX
33814  Code.
33815 \begin_inset ERT
33816 status collapsed
33817
33818 \begin_layout Plain Layout
33819
33820
33821 \backslash
33822 normalmarginpar 
33823 \end_layout
33824
33825 \end_inset
33826
33827  
33828 \begin_inset Note Greyedout
33829 status open
33830
33831 \begin_layout Plain Layout
33832
33833 \series bold
33834 Note:
33835 \series default
33836  The command is ignored when it is within a paragraph where also the command
33837  
33838 \series bold
33839
33840 \backslash
33841 reversemarginpar
33842 \series default
33843  is inserted.
33844 \end_layout
33845
33846 \end_inset
33847
33848
33849 \end_layout
33850
33851 \begin_layout Standard
33852 \begin_inset VSpace bigskip
33853 \end_inset
33854
33855
33856 \family roman
33857 \series medium
33858
33859 \begin_inset Marginal
33860 status open
33861
33862 \begin_layout Plain Layout
33863 AVeryLongMarginParWord that isn't hyphenated.
33864 \end_layout
33865
33866 \end_inset
33867
33868
33869 \family default
33870 \series default
33871  Similar to the case described in section
33872 \begin_inset space ~
33873 \end_inset
33874
33875
33876 \begin_inset CommandInset ref
33877 LatexCommand ref
33878 reference "subsec:Multiple-Lines-in"
33879
33880 \end_inset
33881
33882 , long words cannot be hyphenated when they are the first word in a margin
33883  note.
33884  To avoid this, insert 0
33885 \begin_inset space \thinspace{}
33886 \end_inset
33887
33888 pt horizontal space before the word
33889 \family roman
33890 \series medium
33891 .
33892  
33893 \begin_inset Marginal
33894 status open
33895
33896 \begin_layout Plain Layout
33897 \begin_inset space \hspace*{}
33898 \length 0pt
33899 \end_inset
33900
33901 AVeryLongMarginParWord that is hyphenated.
33902 \end_layout
33903
33904 \end_inset
33905
33906
33907 \end_layout
33908
33909 \begin_layout Standard
33910 \begin_inset VSpace bigskip
33911 \end_inset
33912
33913
33914 \end_layout
33915
33916 \begin_layout Standard
33917 \begin_inset Note Greyedout
33918 status open
33919
33920 \begin_layout Plain Layout
33921
33922 \series bold
33923 Note:
33924 \series default
33925  Margin notes can normally not be used inside tables, floats, and footnotes.
33926 \end_layout
33927
33928 \end_inset
33929
33930
33931 \end_layout
33932
33933 \begin_layout Standard
33934 \begin_inset VSpace bigskip
33935 \end_inset
33936
33937
33938 \end_layout
33939
33940 \begin_layout Standard
33941 \begin_inset ERT
33942 status collapsed
33943
33944 \begin_layout Plain Layout
33945
33946
33947 \backslash
33948 ifmarginnote
33949 \end_layout
33950
33951 \end_inset
33952
33953
33954 \begin_inset Note Note
33955 status open
33956
33957 \begin_layout Plain Layout
33958 The following section will only be displayed when the \SpecialChar LaTeX
33959 -package 
33960 \series bold
33961 marginnote
33962 \series default
33963  is installed.
33964 \end_layout
33965
33966 \end_inset
33967
33968
33969 \end_layout
33970
33971 \begin_layout Standard
33972 This restriction can be evaded by using the \SpecialChar LaTeX
33973 -package 
33974 \series bold
33975 marginnote
33976 \series default
33977
33978 \begin_inset Index idx
33979 status collapsed
33980
33981 \begin_layout Plain Layout
33982 \SpecialChar LaTeX
33983 -packages ! marginnote
33984 \end_layout
33985
33986 \end_inset
33987
33988 .
33989  By adding these two lines to your document preamble, the command used by
33990  \SpecialChar LyX
33991  for margin notes is redefined to use the command provided by the 
33992 \series bold
33993 marginnote
33994 \series default
33995 -package:
33996 \end_layout
33997
33998 \begin_layout Standard
33999
34000 \series bold
34001
34002 \backslash
34003 usepackage{marginnote}
34004 \begin_inset Newline newline
34005 \end_inset
34006
34007
34008 \backslash
34009 let
34010 \backslash
34011 marginpar
34012 \backslash
34013 marginnote
34014 \end_layout
34015
34016 \begin_layout Standard
34017 This is also used in this document because 
34018 \series bold
34019 marginnote
34020 \series default
34021  has another useful feature: You can set a vertical offset for the note.
34022  This is often needed when too many margin notes are too close together
34023  or for a better page layout.
34024  The offset is set in \SpecialChar LyX
34025  as \SpecialChar TeX
34026  Code directly after the margin note in the scheme
34027 \end_layout
34028
34029 \begin_layout Standard
34030
34031 \series bold
34032 [offset]
34033 \end_layout
34034
34035 \begin_layout Standard
34036 where the offset is a length with one of the units listed in Table
34037 \begin_inset space ~
34038 \end_inset
34039
34040
34041 \begin_inset CommandInset ref
34042 LatexCommand ref
34043 reference "tab:Units"
34044
34045 \end_inset
34046
34047 .
34048  A negative value shifts the note up, a positive value shifts it down.
34049  
34050 \family roman
34051 \series medium
34052 For example the margin note beside this text line is shifted up 1.5
34053 \begin_inset space \thinspace{}
34054 \end_inset
34055
34056 cm with the \SpecialChar TeX
34057  Code command 
34058 \begin_inset Quotes eld
34059 \end_inset
34060
34061
34062 \family default
34063 \series bold
34064 [-1.5cm]
34065 \family roman
34066 \series medium
34067
34068 \begin_inset Quotes erd
34069 \end_inset
34070
34071
34072 \begin_inset Marginal
34073 status open
34074
34075 \begin_layout Plain Layout
34076 This margin note is shifted up 1.5
34077 \begin_inset space \thinspace{}
34078 \end_inset
34079
34080 cm from its original position.
34081 \end_layout
34082
34083 \end_inset
34084
34085
34086 \family default
34087 \series default
34088
34089 \begin_inset ERT
34090 status collapsed
34091
34092 \begin_layout Plain Layout
34093
34094 [-1.5cm]
34095 \end_layout
34096
34097 \end_inset
34098
34099
34100 \end_layout
34101
34102 \begin_layout Standard
34103 \begin_inset VSpace medskip
34104 \end_inset
34105
34106 With 
34107 \series bold
34108 marginnote
34109 \series default
34110  you can also change the alignment of the text in the margin note.
34111  For example the commands
34112 \end_layout
34113
34114 \begin_layout Standard
34115
34116 \series bold
34117
34118 \backslash
34119 renewcommand*{
34120 \backslash
34121 raggedleftmarginnote}{
34122 \backslash
34123 centering}
34124 \begin_inset Newline newline
34125 \end_inset
34126
34127
34128 \backslash
34129 renewcommand*{
34130 \backslash
34131 raggedrightmarginnote}{
34132 \backslash
34133 centering}
34134 \end_layout
34135
34136 \begin_layout Standard
34137 set the alignment to centered.
34138  
34139 \series bold
34140
34141 \backslash
34142 raggedleftmarginnote
34143 \series default
34144  denotes margin notes that appear at the left side.
34145 \family roman
34146 \series medium
34147
34148 \begin_inset ERT
34149 status collapsed
34150
34151 \begin_layout Plain Layout
34152
34153
34154 \backslash
34155 renewcommand*{
34156 \backslash
34157 raggedleftmarginnote}{
34158 \backslash
34159 centering}
34160 \end_layout
34161
34162 \begin_layout Plain Layout
34163
34164
34165 \backslash
34166 renewcommand*{
34167 \backslash
34168 raggedrightmarginnote}{
34169 \backslash
34170 centering}
34171 \end_layout
34172
34173 \end_inset
34174
34175
34176 \begin_inset Marginal
34177 status open
34178
34179 \begin_layout Plain Layout
34180 The text of this margin note is centered.
34181 \end_layout
34182
34183 \end_inset
34184
34185
34186 \family default
34187 \series default
34188  The default is
34189 \end_layout
34190
34191 \begin_layout Standard
34192
34193 \series bold
34194
34195 \backslash
34196 renewcommand*{
34197 \backslash
34198 raggedleftmarginnote}{
34199 \backslash
34200 raggedleft}
34201 \begin_inset Newline newline
34202 \end_inset
34203
34204
34205 \backslash
34206 renewcommand*{
34207 \backslash
34208 raggedrightmarginnote}{
34209 \backslash
34210 raggedright}
34211 \family roman
34212 \series medium
34213
34214 \begin_inset ERT
34215 status collapsed
34216
34217 \begin_layout Plain Layout
34218
34219
34220 \backslash
34221 renewcommand*{
34222 \backslash
34223 raggedleftmarginnote}{
34224 \backslash
34225 raggedleft}
34226 \end_layout
34227
34228 \begin_layout Plain Layout
34229
34230
34231 \backslash
34232 renewcommand*{
34233 \backslash
34234 raggedrightmarginnote}{
34235 \backslash
34236 raggedright}
34237 \end_layout
34238
34239 \end_inset
34240
34241
34242 \end_layout
34243
34244 \begin_layout Standard
34245 \begin_inset VSpace medskip
34246 \end_inset
34247
34248 For the other features of 
34249 \series bold
34250 marginnote
34251 \series default
34252  refer to its documentation 
34253 \begin_inset CommandInset citation
34254 LatexCommand cite
34255 key "marginnote"
34256 literal "true"
34257
34258 \end_inset
34259
34260 .
34261 \end_layout
34262
34263 \begin_layout Standard
34264 \begin_inset VSpace bigskip
34265 \end_inset
34266
34267 You can adjust the layout of margin notes by changing its definition.
34268  To create for example a header for all margin notes with the underlined,
34269  sans-serif, and bold header text 
34270 \begin_inset Quotes eld
34271 \end_inset
34272
34273
34274 \family sans
34275 \series bold
34276 \bar under
34277 Attention!
34278 \family default
34279 \series default
34280 \bar default
34281
34282 \begin_inset Quotes erd
34283 \end_inset
34284
34285 , add this to your document preamble:
34286 \end_layout
34287
34288 \begin_layout Standard
34289
34290 \series bold
34291
34292 \backslash
34293 let
34294 \backslash
34295 myMarginpar
34296 \backslash
34297 marginpar
34298 \begin_inset Newline newline
34299 \end_inset
34300
34301
34302 \backslash
34303 renewcommand{
34304 \backslash
34305 marginpar}[1]{
34306 \backslash
34307 myMarginpar{%
34308 \begin_inset Newline newline
34309 \end_inset
34310
34311
34312 \begin_inset Phantom HPhantom
34313 status open
34314
34315 \begin_layout Plain Layout
34316
34317 \series bold
34318 \begin_inset space ~
34319 \end_inset
34320
34321
34322 \end_layout
34323
34324 \end_inset
34325
34326
34327 \backslash
34328 hspace{0pt}
34329 \backslash
34330 textsf{
34331 \backslash
34332 textbf{
34333 \backslash
34334 underbar{Attention!}}}%
34335 \begin_inset Newline newline
34336 \end_inset
34337
34338
34339 \begin_inset Phantom HPhantom
34340 status open
34341
34342 \begin_layout Plain Layout
34343
34344 \series bold
34345 \begin_inset space ~
34346 \end_inset
34347
34348
34349 \end_layout
34350
34351 \end_inset
34352
34353
34354 \backslash
34355 vspace{1.5mm}
34356 \backslash
34357
34358 \backslash
34359 #1}}
34360 \end_layout
34361
34362 \begin_layout Standard
34363
34364 \family roman
34365 \series medium
34366 \begin_inset ERT
34367 status collapsed
34368
34369 \begin_layout Plain Layout
34370
34371
34372 \backslash
34373 let
34374 \backslash
34375 myMarginpar
34376 \backslash
34377 marginpar
34378 \end_layout
34379
34380 \begin_layout Plain Layout
34381
34382
34383 \backslash
34384 renewcommand{
34385 \backslash
34386 marginpar}[1]{
34387 \backslash
34388 myMarginpar{%
34389 \end_layout
34390
34391 \begin_layout Plain Layout
34392
34393    
34394 \backslash
34395 textsf{
34396 \backslash
34397 textbf{
34398 \backslash
34399 underbar{Attention!}}}%
34400 \end_layout
34401
34402 \begin_layout Plain Layout
34403
34404    
34405 \backslash
34406 vspace{1.5mm}
34407 \backslash
34408
34409 \backslash
34410 #1}}
34411 \end_layout
34412
34413 \end_inset
34414
34415
34416 \begin_inset Marginal
34417 status open
34418
34419 \begin_layout Plain Layout
34420 This is a margin note with a defined heading.
34421 \end_layout
34422
34423 \end_inset
34424
34425
34426 \family default
34427 \series default
34428
34429 \begin_inset ERT
34430 status collapsed
34431
34432 \begin_layout Plain Layout
34433
34434 [-1.5cm]
34435 \end_layout
34436
34437 \end_inset
34438
34439
34440 \family roman
34441 \series medium
34442
34443 \begin_inset ERT
34444 status collapsed
34445
34446 \begin_layout Plain Layout
34447
34448
34449 \backslash
34450 renewcommand{
34451 \backslash
34452 marginpar}[1]{
34453 \backslash
34454 myMarginpar{#1}}
34455 \end_layout
34456
34457 \end_inset
34458
34459
34460 \family default
34461 \series default
34462
34463 \begin_inset Note Note
34464 status collapsed
34465
34466 \begin_layout Plain Layout
34467 The margin note format is changed only for this example.
34468 \end_layout
34469
34470 \end_inset
34471
34472
34473 \end_layout
34474
34475 \begin_layout Standard
34476 \begin_inset ERT
34477 status collapsed
34478
34479 \begin_layout Plain Layout
34480
34481
34482 \backslash
34483 else
34484 \end_layout
34485
34486 \end_inset
34487
34488
34489 \begin_inset Note Note
34490 status open
34491
34492 \begin_layout Plain Layout
34493 The following will be displayed when the \SpecialChar LaTeX
34494 -package 
34495 \series bold
34496 marginnote
34497 \series default
34498  is not installed:
34499 \end_layout
34500
34501 \end_inset
34502
34503
34504 \end_layout
34505
34506 \begin_layout Standard
34507 You need to install the \SpecialChar LaTeX
34508 -package 
34509 \series bold
34510 marginnote
34511 \series default
34512  to see the following part of this section in the output.
34513 \end_layout
34514
34515 \begin_layout Standard
34516 \begin_inset ERT
34517 status collapsed
34518
34519 \begin_layout Plain Layout
34520
34521
34522 \backslash
34523 fi
34524 \end_layout
34525
34526 \end_inset
34527
34528
34529 \end_layout
34530
34531 \begin_layout Chapter
34532 Boxes
34533 \end_layout
34534
34535 \begin_layout Section
34536 Introduction
34537 \begin_inset Index idx
34538 status collapsed
34539
34540 \begin_layout Plain Layout
34541 Boxes ! Introduction
34542 \end_layout
34543
34544 \end_inset
34545
34546
34547 \end_layout
34548
34549 \begin_layout Standard
34550 Boxes are used to format a block of text.
34551  Boxes can be used to write documents with multiple languages, see section
34552 \begin_inset space ~
34553 \end_inset
34554
34555
34556 \begin_inset CommandInset ref
34557 LatexCommand ref
34558 reference "sec:Minipages"
34559
34560 \end_inset
34561
34562 , to frame texts, see section
34563 \begin_inset space ~
34564 \end_inset
34565
34566
34567 \begin_inset CommandInset ref
34568 LatexCommand ref
34569 reference "sec:Decoration"
34570
34571 \end_inset
34572
34573 , to prevent words from being hyphenated, see section
34574 \begin_inset space ~
34575 \end_inset
34576
34577
34578 \begin_inset CommandInset ref
34579 LatexCommand ref
34580 reference "sec:Prevent-Hyphenation"
34581
34582 \end_inset
34583
34584 , to align text, see section
34585 \begin_inset space ~
34586 \end_inset
34587
34588
34589 \begin_inset CommandInset ref
34590 LatexCommand ref
34591 reference "subsec:Vertical-Alignment"
34592
34593 \end_inset
34594
34595 , or to set the background color of texts, see section
34596 \begin_inset space ~
34597 \end_inset
34598
34599
34600 \begin_inset CommandInset ref
34601 LatexCommand ref
34602 reference "sec:Colored-Boxes"
34603
34604 \end_inset
34605
34606 .
34607 \end_layout
34608
34609 \begin_layout Standard
34610 Boxes can be inserted with the menu 
34611 \family sans
34612 Insert\SpecialChar menuseparator
34613 Box
34614 \family default
34615  or the toolbar button 
34616 \begin_inset Info
34617 type  "icon"
34618 arg   "box-insert Frameless"
34619 \end_inset
34620
34621 .
34622  A grey box with the label 
34623 \family sans
34624 Box (Minipage)
34625 \family default
34626
34627 \begin_inset Graphics
34628         filename clipart/BoxInsetDefault.png
34629         scale 95
34630         scaleBeforeRotation
34631
34632 \end_inset
34633
34634  will be inserted.
34635  The box type can be specified by right-clicking on the box and selecting
34636  
34637 \family sans
34638 Settings
34639 \family default
34640 .
34641  The box dialog offers the 
34642 \family sans
34643 Inner
34644 \begin_inset space ~
34645 \end_inset
34646
34647 Box
34648 \family default
34649  types 
34650 \family sans
34651 Makebox
34652 \family default
34653
34654 \family sans
34655 Parbox
34656 \family default
34657  and 
34658 \family sans
34659 Minipage
34660 \family default
34661 .
34662  The type 
34663 \family sans
34664 Minipage
34665 \family default
34666  is the default for new boxes and is explained in section
34667 \begin_inset space ~
34668 \end_inset
34669
34670
34671 \begin_inset CommandInset ref
34672 LatexCommand ref
34673 reference "sec:Minipages"
34674
34675 \end_inset
34676
34677 ; the type 
34678 \family sans
34679 Parbox
34680 \family default
34681  is described in section
34682 \begin_inset space ~
34683 \end_inset
34684
34685
34686 \begin_inset CommandInset ref
34687 LatexCommand ref
34688 reference "sec:Parboxes"
34689
34690 \end_inset
34691
34692  and the type 
34693 \family sans
34694 Makebox
34695 \family default
34696  in 
34697 \begin_inset CommandInset ref
34698 LatexCommand ref
34699 reference "sec:Prevent-Hyphenation"
34700
34701 \end_inset
34702
34703 .
34704 \end_layout
34705
34706 \begin_layout Standard
34707 Boxes are not numbered and can therefore not be referenced like floats or
34708  footnotes.
34709 \end_layout
34710
34711 \begin_layout Standard
34712 \begin_inset Note Greyedout
34713 status open
34714
34715 \begin_layout Plain Layout
34716
34717 \series bold
34718 Note:
34719 \series default
34720  Boxes must not be the item in an 
34721 \family sans
34722 Itemize
34723 \family default
34724  or 
34725 \family sans
34726 Description
34727 \family default
34728  environment.
34729 \end_layout
34730
34731 \end_inset
34732
34733
34734 \end_layout
34735
34736 \begin_layout Standard
34737 \begin_inset Note Greyedout
34738 status open
34739
34740 \begin_layout Plain Layout
34741
34742 \series bold
34743 Note:
34744 \series default
34745  For an unknown reason you can only set the 
34746 \family sans
34747 Inner
34748 \begin_inset space ~
34749 \end_inset
34750
34751 Box
34752 \family default
34753  type to 
34754 \family sans
34755 None
34756 \family default
34757  when you use a framed box.
34758  Boxes without an 
34759 \family sans
34760 Inner
34761 \begin_inset space ~
34762 \end_inset
34763
34764 Box
34765 \family default
34766  type and without frames are explained in section
34767 \begin_inset space ~
34768 \end_inset
34769
34770
34771 \begin_inset CommandInset ref
34772 LatexCommand ref
34773 reference "sec:Prevent-Hyphenation"
34774
34775 \end_inset
34776
34777 .
34778 \end_layout
34779
34780 \end_inset
34781
34782
34783 \end_layout
34784
34785 \begin_layout Section
34786 Box Dialog
34787 \begin_inset CommandInset label
34788 LatexCommand label
34789 name "sec:Box-Dialog"
34790
34791 \end_inset
34792
34793
34794 \begin_inset Index idx
34795 status collapsed
34796
34797 \begin_layout Plain Layout
34798 Boxes ! Box Dialog
34799 \end_layout
34800
34801 \end_inset
34802
34803
34804 \end_layout
34805
34806 \begin_layout Subsection
34807 Size
34808 \begin_inset Index idx
34809 status collapsed
34810
34811 \begin_layout Plain Layout
34812 Boxes ! Size
34813 \end_layout
34814
34815 \end_inset
34816
34817
34818 \end_layout
34819
34820 \begin_layout Standard
34821 In the box dialog you can adjust the box geometry in the fields 
34822 \family sans
34823 Width
34824 \family default
34825  and 
34826 \family sans
34827 Height
34828 \family default
34829 .
34830  The available units for the geometry are explained in Table
34831 \begin_inset space ~
34832 \end_inset
34833
34834
34835 \begin_inset CommandInset ref
34836 LatexCommand ref
34837 reference "tab:Units"
34838
34839 \end_inset
34840
34841 .
34842  The field 
34843 \family sans
34844 Height
34845 \family default
34846  offers the following additional sizes:
34847 \end_layout
34848
34849 \begin_layout Description
34850 Depth This is the plain text 
34851 \begin_inset Quotes eld
34852 \end_inset
34853
34854 height
34855 \begin_inset Quotes erd
34856 \end_inset
34857
34858 .
34859  It ignores the total depth when there are multiple text lines in the box:
34860 \begin_inset Newline newline
34861 \end_inset
34862
34863
34864 \begin_inset Newline newline
34865 \end_inset
34866
34867
34868 \begin_inset Newline newline
34869 \end_inset
34870
34871
34872 \begin_inset Box Boxed
34873 position "c"
34874 hor_pos "c"
34875 has_inner_box 1
34876 inner_pos "c"
34877 use_parbox 0
34878 use_makebox 0
34879 width "12col%"
34880 special "none"
34881 height "1in"
34882 height_special "depth"
34883 thickness "0.4pt"
34884 separation "3pt"
34885 shadowsize "4pt"
34886 framecolor "black"
34887 backgroundcolor "none"
34888 status collapsed
34889
34890 \begin_layout Plain Layout
34891 \align center
34892 Box height set to 1
34893 \begin_inset space \thinspace{}
34894 \end_inset
34895
34896 Depth
34897 \end_layout
34898
34899 \end_inset
34900
34901
34902 \begin_inset Newline newline
34903 \end_inset
34904
34905
34906 \begin_inset Newline newline
34907 \end_inset
34908
34909
34910 \end_layout
34911
34912 \begin_layout Description
34913 Height This is the height of the text that is inside the box.
34914  A value of e.
34915 \begin_inset space \thinspace{}
34916 \end_inset
34917
34918 g.
34919 \begin_inset space \space{}
34920 \end_inset
34921
34922 2 for this size will set the box height to 2
34923 \begin_inset space ~
34924 \end_inset
34925
34926 times the text height: 
34927 \begin_inset Box Boxed
34928 position "c"
34929 hor_pos "c"
34930 has_inner_box 1
34931 inner_pos "c"
34932 use_parbox 0
34933 use_makebox 0
34934 width "20col%"
34935 special "none"
34936 height "2in"
34937 height_special "height"
34938 thickness "0.4pt"
34939 separation "3pt"
34940 shadowsize "4pt"
34941 framecolor "black"
34942 backgroundcolor "none"
34943 status collapsed
34944
34945 \begin_layout Plain Layout
34946 \align center
34947 Box height set to 2
34948 \begin_inset space \thinspace{}
34949 \end_inset
34950
34951 Height
34952 \end_layout
34953
34954 \end_inset
34955
34956
34957 \end_layout
34958
34959 \begin_layout Description
34960 Total
34961 \begin_inset space ~
34962 \end_inset
34963
34964 Height This is the Height
34965 \begin_inset space \thinspace{}
34966 \end_inset
34967
34968 +
34969 \begin_inset space \thinspace{}
34970 \end_inset
34971
34972 Depth: 
34973 \begin_inset Box Boxed
34974 position "c"
34975 hor_pos "c"
34976 has_inner_box 1
34977 inner_pos "c"
34978 use_parbox 0
34979 use_makebox 0
34980 width "20col%"
34981 special "none"
34982 height "1in"
34983 height_special "totalheight"
34984 thickness "0.4pt"
34985 separation "3pt"
34986 shadowsize "4pt"
34987 framecolor "black"
34988 backgroundcolor "none"
34989 status collapsed
34990
34991 \begin_layout Plain Layout
34992 \align center
34993 Box height set to 1
34994 \begin_inset space \thinspace{}
34995 \end_inset
34996
34997 Total
34998 \begin_inset space ~
34999 \end_inset
35000
35001 Height
35002 \end_layout
35003
35004 \end_inset
35005
35006
35007 \end_layout
35008
35009 \begin_layout Description
35010 Width This sets the width of the box as height: 
35011 \begin_inset Box Boxed
35012 position "c"
35013 hor_pos "c"
35014 has_inner_box 1
35015 inner_pos "c"
35016 use_parbox 0
35017 use_makebox 0
35018 width "12col%"
35019 special "none"
35020 height "1in"
35021 height_special "width"
35022 thickness "0.4pt"
35023 separation "3pt"
35024 shadowsize "4pt"
35025 framecolor "black"
35026 backgroundcolor "none"
35027 status collapsed
35028
35029 \begin_layout Plain Layout
35030 \align center
35031 Box height set to 1
35032 \begin_inset space \thinspace{}
35033 \end_inset
35034
35035 Width
35036 \end_layout
35037
35038 \end_inset
35039
35040
35041 \end_layout
35042
35043 \begin_layout Subsection
35044 Alignment
35045 \begin_inset Index idx
35046 status collapsed
35047
35048 \begin_layout Plain Layout
35049 Boxes ! Alignment
35050 \end_layout
35051
35052 \end_inset
35053
35054
35055 \end_layout
35056
35057 \begin_layout Standard
35058 When you have chosen an 
35059 \family sans
35060 Inner
35061 \begin_inset space ~
35062 \end_inset
35063
35064 Box
35065 \family default
35066 , the vertical box alignment can be:
35067 \end_layout
35068
35069 \begin_layout Description
35070 Top This is an example text line.
35071  
35072 \begin_inset Box Boxed
35073 position "t"
35074 hor_pos "c"
35075 has_inner_box 1
35076 inner_pos "c"
35077 use_parbox 0
35078 use_makebox 0
35079 width "12col%"
35080 special "none"
35081 height "1in"
35082 height_special "totalheight"
35083 thickness "0.4pt"
35084 separation "3pt"
35085 shadowsize "4pt"
35086 framecolor "black"
35087 backgroundcolor "none"
35088 status collapsed
35089
35090 \begin_layout Plain Layout
35091 \align center
35092 This box is top-aligned.
35093 \end_layout
35094
35095 \end_inset
35096
35097  This is an example text line.
35098 \end_layout
35099
35100 \begin_layout Description
35101 Middle This is an example text line.
35102  
35103 \begin_inset Box Boxed
35104 position "c"
35105 hor_pos "c"
35106 has_inner_box 1
35107 inner_pos "c"
35108 use_parbox 0
35109 use_makebox 0
35110 width "12col%"
35111 special "none"
35112 height "1in"
35113 height_special "totalheight"
35114 thickness "0.4pt"
35115 separation "3pt"
35116 shadowsize "4pt"
35117 framecolor "black"
35118 backgroundcolor "none"
35119 status collapsed
35120
35121 \begin_layout Plain Layout
35122 \align center
35123 This box is middle-aligned.
35124 \end_layout
35125
35126 \end_inset
35127
35128  This is an example text line.
35129 \end_layout
35130
35131 \begin_layout Description
35132 Bottom This is an example text line.
35133  
35134 \begin_inset Box Boxed
35135 position "b"
35136 hor_pos "c"
35137 has_inner_box 1
35138 inner_pos "c"
35139 use_parbox 0
35140 use_makebox 0
35141 width "12col%"
35142 special "none"
35143 height "1in"
35144 height_special "totalheight"
35145 thickness "0.4pt"
35146 separation "3pt"
35147 shadowsize "4pt"
35148 framecolor "black"
35149 backgroundcolor "none"
35150 status collapsed
35151
35152 \begin_layout Plain Layout
35153 \align center
35154 This box is bottom-aligned.
35155 \end_layout
35156
35157 \end_inset
35158
35159  This is an example text line.
35160 \end_layout
35161
35162 \begin_layout Standard
35163 \begin_inset Note Greyedout
35164 status open
35165
35166 \begin_layout Plain Layout
35167
35168 \series bold
35169 Note:
35170 \series default
35171  The vertical box alignment can be lost in the output when you have two
35172  boxes in a line and one has e.
35173 \begin_inset space \thinspace{}
35174 \end_inset
35175
35176 g.
35177 \begin_inset space \space{}
35178 \end_inset
35179
35180 a shadow and the other one not.
35181 \end_layout
35182
35183 \end_inset
35184
35185
35186 \end_layout
35187
35188 \begin_layout Standard
35189 The horizontal box alignment can be set via \SpecialChar LyX
35190 's paragraph dialog when you
35191  set the box into its own paragraph.
35192 \end_layout
35193
35194 \begin_layout Standard
35195 \begin_inset VSpace bigskip
35196 \end_inset
35197
35198 When you have chosen an 
35199 \family sans
35200 Inner
35201 \begin_inset space ~
35202 \end_inset
35203
35204 Box
35205 \family default
35206 , the box content can be aligned vertically to:
35207 \end_layout
35208
35209 \begin_layout Description
35210 top This is an example text line.
35211  
35212 \begin_inset Box Boxed
35213 position "c"
35214 hor_pos "c"
35215 has_inner_box 1
35216 inner_pos "t"
35217 use_parbox 0
35218 use_makebox 0
35219 width "12col%"
35220 special "none"
35221 height "1.5in"
35222 height_special "totalheight"
35223 thickness "0.4pt"
35224 separation "3pt"
35225 shadowsize "4pt"
35226 framecolor "black"
35227 backgroundcolor "none"
35228 status collapsed
35229
35230 \begin_layout Plain Layout
35231 \align center
35232 This box text is top-aligned.
35233 \end_layout
35234
35235 \end_inset
35236
35237  This is an example text line.
35238 \end_layout
35239
35240 \begin_layout Description
35241 middle This is an example text line.
35242  
35243 \begin_inset Box Boxed
35244 position "c"
35245 hor_pos "c"
35246 has_inner_box 1
35247 inner_pos "c"
35248 use_parbox 0
35249 use_makebox 0
35250 width "12col%"
35251 special "none"
35252 height "1.5in"
35253 height_special "totalheight"
35254 thickness "0.4pt"
35255 separation "3pt"
35256 shadowsize "4pt"
35257 framecolor "black"
35258 backgroundcolor "none"
35259 status collapsed
35260
35261 \begin_layout Plain Layout
35262 \align center
35263 This box text is middle-aligned.
35264 \end_layout
35265
35266 \end_inset
35267
35268  This is an example text line.
35269 \end_layout
35270
35271 \begin_layout Description
35272 bottom This is an example text line.
35273  
35274 \begin_inset Box Boxed
35275 position "c"
35276 hor_pos "c"
35277 has_inner_box 1
35278 inner_pos "b"
35279 use_parbox 0
35280 use_makebox 0
35281 width "12col%"
35282 special "none"
35283 height "1.5in"
35284 height_special "totalheight"
35285 thickness "0.4pt"
35286 separation "3pt"
35287 shadowsize "4pt"
35288 framecolor "black"
35289 backgroundcolor "none"
35290 status collapsed
35291
35292 \begin_layout Plain Layout
35293 \align center
35294 This box text is bottom-aligned.
35295 \end_layout
35296
35297 \end_inset
35298
35299  This is an example text line.
35300 \end_layout
35301
35302 \begin_layout Description
35303 stretch This is an example text line.
35304  
35305 \begin_inset Box Boxed
35306 position "c"
35307 hor_pos "c"
35308 has_inner_box 1
35309 inner_pos "s"
35310 use_parbox 0
35311 use_makebox 0
35312 width "12col%"
35313 special "none"
35314 height "1.5in"
35315 height_special "totalheight"
35316 thickness "0.4pt"
35317 separation "3pt"
35318 shadowsize "4pt"
35319 framecolor "black"
35320 backgroundcolor "none"
35321 status collapsed
35322
35323 \begin_layout Plain Layout
35324 \align center
35325 This box
35326 \end_layout
35327
35328 \begin_layout Plain Layout
35329 \align center
35330 text is
35331 \end_layout
35332
35333 \begin_layout Plain Layout
35334 \align center
35335 stretched.
35336 \end_layout
35337
35338 \end_inset
35339
35340  This is an example text line.
35341 \end_layout
35342
35343 \begin_layout Standard
35344 To stretch the box content, it must consist of more than one paragraph.
35345  In the example above every text line is in an own paragraph.
35346 \end_layout
35347
35348 \begin_layout Standard
35349 \begin_inset VSpace bigskip
35350 \end_inset
35351
35352 To align the box content horizontally you can use \SpecialChar LyX
35353 's paragraph dialog when
35354  you have chosen an 
35355 \family sans
35356 Inner
35357 \begin_inset space ~
35358 \end_inset
35359
35360 Box
35361 \family default
35362 .
35363 \end_layout
35364
35365 \begin_layout Standard
35366 \align center
35367 \begin_inset Box Boxed
35368 position "c"
35369 hor_pos "c"
35370 has_inner_box 1
35371 inner_pos "s"
35372 use_parbox 0
35373 use_makebox 0
35374 width "15col%"
35375 special "none"
35376 height "1.25in"
35377 height_special "totalheight"
35378 thickness "0.4pt"
35379 separation "3pt"
35380 shadowsize "4pt"
35381 framecolor "black"
35382 backgroundcolor "none"
35383 status collapsed
35384
35385 \begin_layout Plain Layout
35386 \align left
35387 This box
35388 \end_layout
35389
35390 \begin_layout Plain Layout
35391 \align center
35392 text is
35393 \end_layout
35394
35395 \begin_layout Plain Layout
35396 \align right
35397 stretched.
35398 \end_layout
35399
35400 \end_inset
35401
35402
35403 \end_layout
35404
35405 \begin_layout Standard
35406 If you have not set an 
35407 \family sans
35408 Inner
35409 \begin_inset space ~
35410 \end_inset
35411
35412 Box
35413 \family default
35414 , you can align the box content horizontally in the box dialog.
35415 \end_layout
35416
35417 \begin_layout Standard
35418 \align center
35419 \begin_inset Box Boxed
35420 position "c"
35421 hor_pos "s"
35422 has_inner_box 0
35423 inner_pos "s"
35424 use_parbox 0
35425 use_makebox 0
35426 width "90col%"
35427 special "none"
35428 height "1.25in"
35429 height_special "totalheight"
35430 thickness "0.4pt"
35431 separation "3pt"
35432 shadowsize "4pt"
35433 framecolor "black"
35434 backgroundcolor "none"
35435 status collapsed
35436
35437 \begin_layout Plain Layout
35438 This box text is horizontally stretched.
35439 \end_layout
35440
35441 \end_inset
35442
35443
35444 \end_layout
35445
35446 \begin_layout Subsection
35447 Decoration
35448 \begin_inset CommandInset label
35449 LatexCommand label
35450 name "sec:Decoration"
35451
35452 \end_inset
35453
35454
35455 \begin_inset Index idx
35456 status collapsed
35457
35458 \begin_layout Plain Layout
35459 Boxes ! Decoration
35460 \end_layout
35461
35462 \end_inset
35463
35464
35465 \end_layout
35466
35467 \begin_layout Standard
35468 The type of the box can be specified in the box dialog in the drop-down
35469  list 
35470 \family sans
35471 Decoration
35472 \family default
35473 .
35474  The following types are possible:
35475 \end_layout
35476
35477 \begin_layout Description
35478 No
35479 \begin_inset space ~
35480 \end_inset
35481
35482 frame Nothing is drawn.
35483 \end_layout
35484
35485 \begin_layout Description
35486 Simple
35487 \begin_inset space ~
35488 \end_inset
35489
35490 rectangular
35491 \begin_inset space ~
35492 \end_inset
35493
35494 frame This draws a rectangular frame around the box.
35495  The frame line thickness can be specified.
35496  
35497 \begin_inset Box Boxed
35498 position "c"
35499 hor_pos "c"
35500 has_inner_box 1
35501 inner_pos "c"
35502 use_parbox 0
35503 use_makebox 0
35504 width "20col%"
35505 special "none"
35506 height "1in"
35507 height_special "totalheight"
35508 thickness "0.4pt"
35509 separation "3pt"
35510 shadowsize "4pt"
35511 framecolor "black"
35512 backgroundcolor "none"
35513 status collapsed
35514
35515 \begin_layout Plain Layout
35516 \align center
35517 Rectangular box
35518 \end_layout
35519
35520 \end_inset
35521
35522
35523 \end_layout
35524
35525 \begin_layout Description
35526 Oval
35527 \begin_inset space ~
35528 \end_inset
35529
35530 box,
35531 \begin_inset space ~
35532 \end_inset
35533
35534 thin This draws an oval frame around the box.
35535  The frame line thickness has the size 0.4
35536 \begin_inset space \thinspace{}
35537 \end_inset
35538
35539 pt.
35540  
35541 \begin_inset Box ovalbox
35542 position "c"
35543 hor_pos "c"
35544 has_inner_box 1
35545 inner_pos "c"
35546 use_parbox 0
35547 use_makebox 0
35548 width "20col%"
35549 special "none"
35550 height "1in"
35551 height_special "totalheight"
35552 thickness "0.4pt"
35553 separation "3pt"
35554 shadowsize "4pt"
35555 framecolor "black"
35556 backgroundcolor "none"
35557 status collapsed
35558
35559 \begin_layout Plain Layout
35560 \align center
35561 Oval box, thin
35562 \end_layout
35563
35564 \end_inset
35565
35566
35567 \end_layout
35568
35569 \begin_layout Description
35570 Oval
35571 \begin_inset space ~
35572 \end_inset
35573
35574 box,
35575 \begin_inset space ~
35576 \end_inset
35577
35578 thick This draws an oval frame around the box.
35579  The frame line thickness has the size 0.8
35580 \begin_inset space \thinspace{}
35581 \end_inset
35582
35583 pt.
35584  
35585 \begin_inset Box Ovalbox
35586 position "c"
35587 hor_pos "c"
35588 has_inner_box 1
35589 inner_pos "c"
35590 use_parbox 0
35591 use_makebox 0
35592 width "20col%"
35593 special "none"
35594 height "1in"
35595 height_special "totalheight"
35596 thickness "0.4pt"
35597 separation "3pt"
35598 shadowsize "4pt"
35599 framecolor "black"
35600 backgroundcolor "none"
35601 status collapsed
35602
35603 \begin_layout Plain Layout
35604 \align center
35605 Oval box, thick
35606 \end_layout
35607
35608 \end_inset
35609
35610
35611 \end_layout
35612
35613 \begin_layout Description
35614 Drop
35615 \begin_inset space ~
35616 \end_inset
35617
35618 shadow This draws a rectangular frame with a shadow around the box.
35619  The frame line thickness and the shadow can be specified.
35620  
35621 \begin_inset Box Shadowbox
35622 position "c"
35623 hor_pos "c"
35624 has_inner_box 1
35625 inner_pos "c"
35626 use_parbox 0
35627 use_makebox 0
35628 width "20col%"
35629 special "none"
35630 height "1in"
35631 height_special "totalheight"
35632 thickness "0.4pt"
35633 separation "3pt"
35634 shadowsize "4pt"
35635 framecolor "black"
35636 backgroundcolor "none"
35637 status collapsed
35638
35639 \begin_layout Plain Layout
35640 \align center
35641 Shadow box
35642 \end_layout
35643
35644 \end_inset
35645
35646
35647 \end_layout
35648
35649 \begin_layout Description
35650 Shaded
35651 \begin_inset space ~
35652 \end_inset
35653
35654 background This draws a box with a red background.
35655  Unlike colored boxes
35656 \begin_inset Foot
35657 status collapsed
35658
35659 \begin_layout Plain Layout
35660 see sec.
35661 \begin_inset space \thinspace{}
35662 \end_inset
35663
35664
35665 \begin_inset CommandInset ref
35666 LatexCommand ref
35667 reference "sec:Colored-Boxes"
35668
35669 \end_inset
35670
35671
35672 \end_layout
35673
35674 \end_inset
35675
35676 , it always uses the whole column width and the box is set as its own paragraph.
35677  
35678 \begin_inset Box Shaded
35679 position "t"
35680 hor_pos "c"
35681 has_inner_box 0
35682 inner_pos "t"
35683 use_parbox 0
35684 use_makebox 0
35685 width "50col%"
35686 special "none"
35687 height "1in"
35688 height_special "totalheight"
35689 thickness "0.4pt"
35690 separation "3pt"
35691 shadowsize "4pt"
35692 framecolor "black"
35693 backgroundcolor "none"
35694 status collapsed
35695
35696 \begin_layout Plain Layout
35697 Shaded background box
35698 \end_layout
35699
35700 \end_inset
35701
35702
35703 \end_layout
35704
35705 \begin_layout Description
35706 Double
35707 \begin_inset space ~
35708 \end_inset
35709
35710 rectangular
35711 \begin_inset space ~
35712 \end_inset
35713
35714 frame This draws a double-line rectangular frame around the box.
35715  The line thickness of the inner frame is 0.75
35716 \begin_inset space \thinspace{}
35717 \end_inset
35718
35719 line
35720 \begin_inset space ~
35721 \end_inset
35722
35723 thickness, the thickness of the outer frame is 1.5
35724 \begin_inset space \thinspace{}
35725 \end_inset
35726
35727 line
35728 \begin_inset space ~
35729 \end_inset
35730
35731 thickness.
35732  The distance between the lines is 1.5
35733 \begin_inset space \thinspace{}
35734 \end_inset
35735
35736 line
35737 \begin_inset space ~
35738 \end_inset
35739
35740 thickness
35741 \begin_inset space \thinspace{}
35742 \end_inset
35743
35744 +
35745 \begin_inset space \thinspace{}
35746 \end_inset
35747
35748 0.5
35749 \begin_inset space \thinspace{}
35750 \end_inset
35751
35752 pt.
35753  
35754 \begin_inset Box Doublebox
35755 position "c"
35756 hor_pos "c"
35757 has_inner_box 1
35758 inner_pos "c"
35759 use_parbox 0
35760 use_makebox 0
35761 width "20col%"
35762 special "none"
35763 height "1in"
35764 height_special "totalheight"
35765 thickness "0.4pt"
35766 separation "3pt"
35767 shadowsize "4pt"
35768 framecolor "black"
35769 backgroundcolor "none"
35770 status collapsed
35771
35772 \begin_layout Plain Layout
35773 \align center
35774 Double rectangular box
35775 \end_layout
35776
35777 \end_inset
35778
35779
35780 \end_layout
35781
35782 \begin_layout Standard
35783 \begin_inset VSpace bigskip
35784 \end_inset
35785
35786 \SpecialChar LyX
35787 's box label will reflect the different frame types.
35788  To be able to use all types, the \SpecialChar LaTeX
35789 -package 
35790 \series bold
35791 fancybox
35792 \series default
35793
35794 \begin_inset Index idx
35795 status collapsed
35796
35797 \begin_layout Plain Layout
35798 \SpecialChar LaTeX
35799 -packages ! fancybox
35800 \end_layout
35801
35802 \end_inset
35803
35804  must be installed.
35805 \end_layout
35806
35807 \begin_layout Standard
35808 \begin_inset VSpace bigskip
35809 \end_inset
35810
35811 When you use the decoration 
35812 \family sans
35813 simple rectangular frame
35814 \family default
35815  and no inner box, you can allow page breaks within a box.
35816  Note that then, unlike other framed boxes, the frame always uses the whole
35817  column width and the box is set as its own paragraph: 
35818 \begin_inset Box Framed
35819 position "t"
35820 hor_pos "c"
35821 has_inner_box 0
35822 inner_pos "t"
35823 use_parbox 0
35824 use_makebox 0
35825 width "100col%"
35826 special "none"
35827 height "1in"
35828 height_special "totalheight"
35829 thickness "0.4pt"
35830 separation "3pt"
35831 shadowsize "4pt"
35832 framecolor "black"
35833 backgroundcolor "none"
35834 status collapsed
35835
35836 \begin_layout Plain Layout
35837 Allow page break box
35838 \end_layout
35839
35840 \end_inset
35841
35842
35843 \end_layout
35844
35845 \begin_layout Section
35846 Box Customization
35847 \begin_inset Index idx
35848 status collapsed
35849
35850 \begin_layout Plain Layout
35851 Boxes ! Customization
35852 \end_layout
35853
35854 \end_inset
35855
35856
35857 \end_layout
35858
35859 \begin_layout Standard
35860 The diameter of the round corners of the oval boxes can be set with the
35861  command 
35862 \series bold
35863
35864 \backslash
35865 cornersize
35866 \series default
35867 .
35868  The command
35869 \end_layout
35870
35871 \begin_layout Standard
35872
35873 \series bold
35874
35875 \backslash
35876 cornersize*{1cm}
35877 \end_layout
35878
35879 \begin_layout Standard
35880 sets the diameter to 1
35881 \begin_inset space \thinspace{}
35882 \end_inset
35883
35884 cm.
35885  The command
35886 \end_layout
35887
35888 \begin_layout Standard
35889
35890 \series bold
35891
35892 \backslash
35893 cornersize{num}
35894 \end_layout
35895
35896 \begin_layout Standard
35897 sets the diameter to 
35898 \family sans
35899 num
35900 \begin_inset space \thinspace{}
35901 \end_inset
35902
35903 ×
35904 \begin_inset space \thinspace{}
35905 \end_inset
35906
35907 minimum(width and height of box)
35908 \family default
35909 .
35910  The default is 
35911 \series bold
35912
35913 \backslash
35914 cornersize{0.5}
35915 \series default
35916 .
35917 \end_layout
35918
35919 \begin_layout Standard
35920 \begin_inset ERT
35921 status collapsed
35922
35923 \begin_layout Plain Layout
35924
35925
35926 \backslash
35927 cornersize*{1.5cm}
35928 \end_layout
35929
35930 \end_inset
35931
35932
35933 \begin_inset Box Ovalbox
35934 position "c"
35935 hor_pos "c"
35936 has_inner_box 1
35937 inner_pos "c"
35938 use_parbox 0
35939 use_makebox 0
35940 width "25col%"
35941 special "none"
35942 height "1in"
35943 height_special "totalheight"
35944 thickness "0.4pt"
35945 separation "3pt"
35946 shadowsize "4pt"
35947 framecolor "black"
35948 backgroundcolor "none"
35949 status open
35950
35951 \begin_layout Plain Layout
35952 \align center
35953 Oval box with 
35954 \series bold
35955
35956 \backslash
35957 cornersize
35958 \series default
35959
35960 \begin_inset space \thinspace{}
35961 \end_inset
35962
35963 =
35964 \begin_inset space \thinspace{}
35965 \end_inset
35966
35967 1.5
35968 \begin_inset space \thinspace{}
35969 \end_inset
35970
35971 cm
35972 \end_layout
35973
35974 \end_inset
35975
35976
35977 \begin_inset ERT
35978 status collapsed
35979
35980 \begin_layout Plain Layout
35981
35982
35983 \backslash
35984 cornersize{0.5}
35985 \end_layout
35986
35987 \end_inset
35988
35989
35990 \end_layout
35991
35992 \begin_layout Standard
35993 \begin_inset VSpace bigskip
35994 \end_inset
35995
35996
35997 \end_layout
35998
35999 \begin_layout Standard
36000 The default background color red of 
36001 \family sans
36002 shaded background
36003 \family default
36004  boxes can either be changed locally with the command 
36005 \series bold
36006
36007 \backslash
36008 definecolor{shadecolor}
36009 \series default
36010  or globally with the menu 
36011 \family sans
36012 Tools\SpecialChar menuseparator
36013 Preferences\SpecialChar menuseparator
36014 Colors\SpecialChar menuseparator
36015 shaded
36016 \begin_inset space ~
36017 \end_inset
36018
36019 box
36020 \family default
36021 .
36022  The scheme of the 
36023 \series bold
36024
36025 \backslash
36026 definecolor
36027 \series default
36028  command is explained in section
36029 \begin_inset space ~
36030 \end_inset
36031
36032
36033 \begin_inset CommandInset ref
36034 LatexCommand ref
36035 reference "sec:Colored-Tables"
36036
36037 \end_inset
36038
36039 .
36040 \begin_inset Foot
36041 status collapsed
36042
36043 \begin_layout Plain Layout
36044 Note that 
36045 \series bold
36046
36047 \backslash
36048 definecolor
36049 \series default
36050  requires the \SpecialChar LaTeX
36051 -package 
36052 \series bold
36053 color
36054 \series default
36055  in the preamble, see section
36056 \begin_inset space ~
36057 \end_inset
36058
36059
36060 \begin_inset CommandInset ref
36061 LatexCommand ref
36062 reference "sec:Colored-Boxes"
36063
36064 \end_inset
36065
36066 .
36067 \end_layout
36068
36069 \end_inset
36070
36071  For example the appearance of the following shaded background box is set
36072  with the \SpecialChar TeX
36073  Code command
36074 \end_layout
36075
36076 \begin_layout Standard
36077
36078 \series bold
36079
36080 \backslash
36081 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
36082 \end_layout
36083
36084 \begin_layout Standard
36085 \begin_inset ERT
36086 status collapsed
36087
36088 \begin_layout Plain Layout
36089
36090
36091 \backslash
36092 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
36093 \end_layout
36094
36095 \end_inset
36096
36097
36098 \begin_inset Box Shaded
36099 position "t"
36100 hor_pos "c"
36101 has_inner_box 0
36102 inner_pos "t"
36103 use_parbox 0
36104 use_makebox 0
36105 width "100col%"
36106 special "none"
36107 height "1in"
36108 height_special "totalheight"
36109 thickness "0.4pt"
36110 separation "3pt"
36111 shadowsize "4pt"
36112 framecolor "black"
36113 backgroundcolor "none"
36114 status open
36115
36116 \begin_layout Plain Layout
36117
36118 \color yellow
36119 This is yellow text in a
36120 \color none
36121  
36122 \family sans
36123 \color yellow
36124 shaded background
36125 \family default
36126 \color none
36127  
36128 \color yellow
36129 box with dark green background.
36130 \end_layout
36131
36132 \end_inset
36133
36134
36135 \begin_inset ERT
36136 status collapsed
36137
36138 \begin_layout Plain Layout
36139
36140
36141 \backslash
36142 definecolor{shadecolor}{rgb}{1,0,0}
36143 \end_layout
36144
36145 \end_inset
36146
36147
36148 \end_layout
36149
36150 \begin_layout Standard
36151 \begin_inset VSpace bigskip
36152 \end_inset
36153
36154 Manually changed sizes and colors are valid for all boxes following the
36155  commands that change them.
36156 \end_layout
36157
36158 \begin_layout Section
36159 Minipages
36160 \begin_inset CommandInset label
36161 LatexCommand label
36162 name "sec:Minipages"
36163
36164 \end_inset
36165
36166
36167 \begin_inset Index idx
36168 status collapsed
36169
36170 \begin_layout Plain Layout
36171 Boxes ! Minipages
36172 \end_layout
36173
36174 \end_inset
36175
36176
36177 \end_layout
36178
36179 \begin_layout Standard
36180 Minipages are treated by \SpecialChar LaTeX
36181  as pages within pages and can therefore for example
36182  have their own footnotes.
36183 \end_layout
36184
36185 \begin_layout Standard
36186 Minipages are useful when you write documents with different languages.
36187 \end_layout
36188
36189 \begin_layout Standard
36190 Below are two example minipages side by side.
36191  Their width is set to 45
36192 \begin_inset space \thinspace{}
36193 \end_inset
36194
36195 col% and they are separated by a horizontal fill, that was inserted via
36196  the menu 
36197 \family sans
36198 Insert\SpecialChar menuseparator
36199 Special
36200 \begin_inset space ~
36201 \end_inset
36202
36203 Formatting\SpecialChar menuseparator
36204 Horizontal
36205 \begin_inset space ~
36206 \end_inset
36207
36208 Fill
36209 \family default
36210 .
36211 \begin_inset Newpage newpage
36212 \end_inset
36213
36214
36215 \end_layout
36216
36217 \begin_layout Standard
36218 \begin_inset Box Frameless
36219 position "t"
36220 hor_pos "c"
36221 has_inner_box 1
36222 inner_pos "c"
36223 use_parbox 0
36224 use_makebox 0
36225 width "45col%"
36226 special "none"
36227 height "1in"
36228 height_special "totalheight"
36229 thickness "0.4pt"
36230 separation "3pt"
36231 shadowsize "4pt"
36232 framecolor "black"
36233 backgroundcolor "none"
36234 status open
36235
36236 \begin_layout Plain Layout
36237
36238 \lang ngerman
36239 Dies ist ein deutscher Text.
36240  Dies ist ein deutscher Text.
36241  Dies ist ein deutscher Text.
36242  Dies ist ein deutscher Text.
36243  Dies ist ein deutscher Text.
36244  Dies ist ein deutscher Text.
36245  Dies ist ein deutscher Text.
36246  Dies ist ein deutscher Text.
36247  Dies ist ein deutscher Text.
36248  Dies ist ein deutscher Text.
36249  Dies ist ein deutscher Text.
36250  Dies ist ein deutscher Text.
36251  Dies ist ein deutscher Text
36252 \begin_inset Foot
36253 status collapsed
36254
36255 \begin_layout Plain Layout
36256
36257 \lang ngerman
36258 Dies ist eine deutsche Fußnote.
36259 \end_layout
36260
36261 \end_inset
36262
36263 .
36264  Dies ist ein deutscher Text.
36265  Dies ist ein deutscher Text.
36266 \end_layout
36267
36268 \end_inset
36269
36270
36271 \begin_inset space \hfill{}
36272 \end_inset
36273
36274
36275 \begin_inset Box Frameless
36276 position "t"
36277 hor_pos "c"
36278 has_inner_box 1
36279 inner_pos "c"
36280 use_parbox 0
36281 use_makebox 0
36282 width "45col%"
36283 special "none"
36284 height "1in"
36285 height_special "totalheight"
36286 thickness "0.4pt"
36287 separation "3pt"
36288 shadowsize "4pt"
36289 framecolor "black"
36290 backgroundcolor "none"
36291 status open
36292
36293 \begin_layout Plain Layout
36294 This is an English Text.
36295  This is an English Text.
36296  This is an English Text.
36297  This is an English Text.
36298  This is an English Text.
36299  This is an English Text.
36300  This is an English Text.
36301  This is an English Text.
36302  This is an English Text.
36303  This is an English Text.
36304  This is an English Text.
36305  This is an English Text.
36306  This is an English Text.
36307  This is an English Text.
36308  This is an English Text.
36309  This is an English Text.
36310 \begin_inset Foot
36311 status collapsed
36312
36313 \begin_layout Plain Layout
36314 This is an English footnote.
36315 \end_layout
36316
36317 \end_inset
36318
36319  This is an English Text.
36320 \end_layout
36321
36322 \end_inset
36323
36324
36325 \end_layout
36326
36327 \begin_layout Standard
36328 \begin_inset VSpace bigskip
36329 \end_inset
36330
36331 The document-wide paragraph settings are ignored within minipages.
36332  That means that there will be no space between paragraphs in minipages
36333  although you set it to e.
36334 \begin_inset space \thinspace{}
36335 \end_inset
36336
36337 g.
36338 \begin_inset space \space{}
36339 \end_inset
36340
36341
36342 \family sans
36343 MedSkip
36344 \family default
36345  in the document settings.
36346 \end_layout
36347
36348 \begin_layout Standard
36349 Minipages can also be used to set a background color for text parts, see
36350  section
36351 \begin_inset space ~
36352 \end_inset
36353
36354
36355 \begin_inset CommandInset ref
36356 LatexCommand ref
36357 reference "sec:Colored-Boxes"
36358
36359 \end_inset
36360
36361 .
36362 \end_layout
36363
36364 \begin_layout Standard
36365 \begin_inset Note Greyedout
36366 status open
36367
36368 \begin_layout Plain Layout
36369
36370 \series bold
36371 Note:
36372 \series default
36373  You cannot have floats or margin notes inside minipages but minipages can
36374  be used inside tables, floats, and other boxes.
36375 \end_layout
36376
36377 \end_inset
36378
36379
36380 \end_layout
36381
36382 \begin_layout Standard
36383 \begin_inset VSpace bigskip
36384 \end_inset
36385
36386
36387 \end_layout
36388
36389 \begin_layout Standard
36390 \SpecialChar LyX
36391  has also basic support for minipages whose size is automatically determined
36392  by the width of their contents, via the module 
36393 \family sans
36394 Variable-width Minipages
36395 \family default
36396 .
36397  The \SpecialChar LyX
36398  example file 
36399 \emph on
36400 varwidth-floats-side-by-side
36401 \emph default
36402  gives examples of variable-width minipages used for placing two floats
36403  side-by-side.
36404 \end_layout
36405
36406 \begin_layout Section
36407 Parboxes
36408 \begin_inset CommandInset label
36409 LatexCommand label
36410 name "sec:Parboxes"
36411
36412 \end_inset
36413
36414
36415 \begin_inset Index idx
36416 status collapsed
36417
36418 \begin_layout Plain Layout
36419 Boxes ! Parboxes
36420 \end_layout
36421
36422 \end_inset
36423
36424
36425 \end_layout
36426
36427 \begin_layout Standard
36428 Parboxes are very similar to minipages with the difference that they cannot
36429  have footnotes.
36430 \end_layout
36431
36432 \begin_layout Standard
36433 \align center
36434 \begin_inset Box Frameless
36435 position "t"
36436 hor_pos "c"
36437 has_inner_box 1
36438 inner_pos "t"
36439 use_parbox 1
36440 use_makebox 0
36441 width "33col%"
36442 special "none"
36443 height "1in"
36444 height_special "totalheight"
36445 thickness "0.4pt"
36446 separation "3pt"
36447 shadowsize "4pt"
36448 framecolor "black"
36449 backgroundcolor "none"
36450 status open
36451
36452 \begin_layout Plain Layout
36453 This a text within a parbox.
36454  This a text within a parbox.
36455 \end_layout
36456
36457 \begin_layout Plain Layout
36458 This footnote won't appear:
36459 \begin_inset Foot
36460 status collapsed
36461
36462 \begin_layout Plain Layout
36463 This footnote is inside a parbox and will therefore not appear.
36464 \end_layout
36465
36466 \end_inset
36467
36468
36469 \end_layout
36470
36471 \end_inset
36472
36473
36474 \end_layout
36475
36476 \begin_layout Section
36477 Boxes for Words and Characters
36478 \begin_inset Index idx
36479 status collapsed
36480
36481 \begin_layout Plain Layout
36482 Boxes ! for Characters
36483 \end_layout
36484
36485 \end_inset
36486
36487
36488 \end_layout
36489
36490 \begin_layout Subsection
36491 Prevent Hyphenation
36492 \begin_inset CommandInset label
36493 LatexCommand label
36494 name "sec:Prevent-Hyphenation"
36495
36496 \end_inset
36497
36498
36499 \begin_inset Index idx
36500 status collapsed
36501
36502 \begin_layout Plain Layout
36503 Boxes ! to Prevent Hyphenation
36504 \end_layout
36505
36506 \end_inset
36507
36508
36509 \end_layout
36510
36511 \begin_layout Standard
36512 You can use the box type 
36513 \family sans
36514 Makebox
36515 \family default
36516  to prevent words or text from being hyphenated.
36517 \begin_inset Newline newline
36518 \end_inset
36519
36520 Here is an example text:
36521 \end_layout
36522
36523 \begin_layout Standard
36524 This line is an example to show how you can prevent the hyphenation of 
36525 \begin_inset Quotes eld
36526 \end_inset
36527
36528 veryverylongword
36529 \begin_inset Quotes erd
36530 \end_inset
36531
36532 .
36533 \end_layout
36534
36535 \begin_layout Standard
36536 To prevent the hyphenation of the word 
36537 \begin_inset Quotes eld
36538 \end_inset
36539
36540 veryverylongword
36541 \begin_inset Quotes erd
36542 \end_inset
36543
36544 , put the word into a box, set the 
36545 \family sans
36546 Inner
36547 \begin_inset space ~
36548 \end_inset
36549
36550 box
36551 \family default
36552  to 
36553 \family sans
36554 Makebox
36555 \family default
36556  and use no explicit width.
36557 \end_layout
36558
36559 \begin_layout Standard
36560 This is the result:
36561 \end_layout
36562
36563 \begin_layout Standard
36564 This line is an example to show how you can prevent the hyphenation of 
36565 \begin_inset Box Frameless
36566 position "t"
36567 hor_pos "c"
36568 has_inner_box 1
36569 inner_pos "t"
36570 use_parbox 0
36571 use_makebox 1
36572 width ""
36573 special "none"
36574 height "1in"
36575 height_special "totalheight"
36576 thickness "0.4pt"
36577 separation "3pt"
36578 shadowsize "4pt"
36579 framecolor "black"
36580 backgroundcolor "none"
36581 status open
36582
36583 \begin_layout Plain Layout
36584 \begin_inset Quotes eld
36585 \end_inset
36586
36587 veryverylongword
36588 \begin_inset Quotes erd
36589 \end_inset
36590
36591
36592 \end_layout
36593
36594 \end_inset
36595
36596 .
36597 \end_layout
36598
36599 \begin_layout Standard
36600 You can alternatively set the command 
36601 \begin_inset Quotes eld
36602 \end_inset
36603
36604
36605 \series bold
36606
36607 \backslash
36608 -
36609 \series default
36610
36611 \begin_inset Quotes grd
36612 \end_inset
36613
36614  as \SpecialChar TeX
36615  Code directly before the word:
36616 \end_layout
36617
36618 \begin_layout Standard
36619 This line is an example to show how you can prevent the hyphenation of 
36620 \begin_inset Quotes eld
36621 \end_inset
36622
36623
36624 \begin_inset ERT
36625 status collapsed
36626
36627 \begin_layout Plain Layout
36628
36629
36630 \backslash
36631 -
36632 \end_layout
36633
36634 \end_inset
36635
36636 veryverylongword
36637 \begin_inset Quotes erd
36638 \end_inset
36639
36640 .
36641 \end_layout
36642
36643 \begin_layout Standard
36644 Of course the word now protrudes over the side margin.
36645  To avoid this, add via the menu 
36646 \family sans
36647 Insert\SpecialChar menuseparator
36648 Formatting\SpecialChar menuseparator
36649 Ragged
36650 \begin_inset space ~
36651 \end_inset
36652
36653 Line
36654 \begin_inset space ~
36655 \end_inset
36656
36657 Break
36658 \family default
36659  (shortcut 
36660 \begin_inset Info
36661 type  "shortcut"
36662 arg   "newline-insert newline"
36663 \end_inset
36664
36665 ) a line break before the word:
36666 \end_layout
36667
36668 \begin_layout Standard
36669 This line is an example to show how you can prevent the hyphenation of 
36670 \begin_inset Newline newline
36671 \end_inset
36672
36673
36674 \begin_inset Box Frameless
36675 position "t"
36676 hor_pos "c"
36677 has_inner_box 1
36678 inner_pos "t"
36679 use_parbox 0
36680 use_makebox 1
36681 width ""
36682 special "none"
36683 height "1in"
36684 height_special "totalheight"
36685 thickness "0.4pt"
36686 separation "3pt"
36687 shadowsize "4pt"
36688 framecolor "black"
36689 backgroundcolor "none"
36690 status open
36691
36692 \begin_layout Plain Layout
36693 \begin_inset Quotes eld
36694 \end_inset
36695
36696 veryverylongword
36697 \begin_inset Quotes erd
36698 \end_inset
36699
36700
36701 \end_layout
36702
36703 \end_inset
36704
36705 .
36706 \end_layout
36707
36708 \begin_layout Subsection
36709 Vertical Alignment
36710 \begin_inset CommandInset label
36711 LatexCommand label
36712 name "subsec:Vertical-Alignment"
36713
36714 \end_inset
36715
36716
36717 \begin_inset Index idx
36718 status collapsed
36719
36720 \begin_layout Plain Layout
36721 Boxes ! for Vertical Alignment
36722 \end_layout
36723
36724 \end_inset
36725
36726
36727 \begin_inset Index idx
36728 status collapsed
36729
36730 \begin_layout Plain Layout
36731 Boxes ! Raiseboxes
36732 \end_layout
36733
36734 \end_inset
36735
36736
36737 \end_layout
36738
36739 \begin_layout Standard
36740 With the help of the command 
36741 \series bold
36742
36743 \backslash
36744 raisebox
36745 \series default
36746  you can align words, characters or other boxes vertically relative to the
36747  surrounding text.
36748  
36749 \series bold
36750
36751 \backslash
36752 raisebox
36753 \series default
36754  is used with the following scheme:
36755 \end_layout
36756
36757 \begin_layout Standard
36758
36759 \series bold
36760
36761 \backslash
36762 raisebox{lift}[height][depth]{box content}
36763 \end_layout
36764
36765 \begin_layout Standard
36766 The lift can be a positive value to raise the box or a negative value to
36767  lower the box.
36768 \end_layout
36769
36770 \begin_layout Standard
36771 To align for example the word 
36772 \begin_inset Quotes eld
36773 \end_inset
36774
36775 preventing
36776 \begin_inset Quotes erd
36777 \end_inset
36778
36779  so that the bottom of the 
36780 \begin_inset Quotes eld
36781 \end_inset
36782
36783 deepest
36784 \begin_inset Quotes erd
36785 \end_inset
36786
36787  character 
36788 \begin_inset Quotes eld
36789 \end_inset
36790
36791 p
36792 \begin_inset Quotes erd
36793 \end_inset
36794
36795  is at the baseline, insert the command
36796 \end_layout
36797
36798 \begin_layout Standard
36799
36800 \series bold
36801
36802 \backslash
36803 raisebox{
36804 \backslash
36805 depth}{
36806 \end_layout
36807
36808 \begin_layout Standard
36809 in \SpecialChar TeX
36810  Code before the word.
36811  After the word insert a closing brace 
36812 \begin_inset Quotes eld
36813 \end_inset
36814
36815
36816 \series bold
36817 }
36818 \series default
36819
36820 \begin_inset Quotes erd
36821 \end_inset
36822
36823  in \SpecialChar TeX
36824  Code.
36825 \begin_inset Newline newline
36826 \end_inset
36827
36828 This is the result:
36829 \end_layout
36830
36831 \begin_layout Standard
36832 This is a text line with the word 
36833 \begin_inset ERT
36834 status collapsed
36835
36836 \begin_layout Plain Layout
36837
36838
36839 \backslash
36840 raisebox{
36841 \backslash
36842 depth}{
36843 \end_layout
36844
36845 \end_inset
36846
36847
36848 \begin_inset Quotes eld
36849 \end_inset
36850
36851 preventing
36852 \begin_inset Quotes erd
36853 \end_inset
36854
36855
36856 \begin_inset ERT
36857 status collapsed
36858
36859 \begin_layout Plain Layout
36860
36861 }
36862 \end_layout
36863
36864 \end_inset
36865
36866  as a raised word.
36867 \end_layout
36868
36869 \begin_layout Standard
36870 \begin_inset VSpace bigskip
36871 \end_inset
36872
36873 When you raise or lower characters in a line, the line distance will be
36874  spread:
36875 \end_layout
36876
36877 \begin_layout Standard
36878 This is a text line with the word 
36879 \begin_inset ERT
36880 status collapsed
36881
36882 \begin_layout Plain Layout
36883
36884
36885 \backslash
36886 raisebox{-
36887 \backslash
36888 depth}{
36889 \end_layout
36890
36891 \end_inset
36892
36893
36894 \begin_inset Quotes eld
36895 \end_inset
36896
36897 preventing
36898 \begin_inset Quotes erd
36899 \end_inset
36900
36901
36902 \begin_inset ERT
36903 status collapsed
36904
36905 \begin_layout Plain Layout
36906
36907 }
36908 \end_layout
36909
36910 \end_inset
36911
36912  as a lowered word.
36913 \begin_inset Newline newline
36914 \end_inset
36915
36916 This is a text line with the word 
36917 \begin_inset ERT
36918 status collapsed
36919
36920 \begin_layout Plain Layout
36921
36922
36923 \backslash
36924 raisebox{0.5cm}{
36925 \end_layout
36926
36927 \end_inset
36928
36929
36930 \begin_inset Quotes eld
36931 \end_inset
36932
36933 testing
36934 \begin_inset Quotes erd
36935 \end_inset
36936
36937
36938 \begin_inset ERT
36939 status collapsed
36940
36941 \begin_layout Plain Layout
36942
36943 }
36944 \end_layout
36945
36946 \end_inset
36947
36948  as a raised word.
36949 \end_layout
36950
36951 \begin_layout Standard
36952 If you want to prevent this for a certain reason, set the box height to
36953  a zero value.
36954  For example use
36955 \end_layout
36956
36957 \begin_layout Standard
36958
36959 \series bold
36960
36961 \backslash
36962 raisebox{-
36963 \backslash
36964 depth}[0pt]{
36965 \end_layout
36966
36967 \begin_layout Standard
36968 This is a text line with the word 
36969 \begin_inset ERT
36970 status collapsed
36971
36972 \begin_layout Plain Layout
36973
36974
36975 \backslash
36976 raisebox{-
36977 \backslash
36978 depth}[0pt]{
36979 \end_layout
36980
36981 \end_inset
36982
36983
36984 \begin_inset Quotes eld
36985 \end_inset
36986
36987 preventing
36988 \begin_inset Quotes erd
36989 \end_inset
36990
36991
36992 \begin_inset ERT
36993 status collapsed
36994
36995 \begin_layout Plain Layout
36996
36997 }
36998 \end_layout
36999
37000 \end_inset
37001
37002  as a lowered word.
37003 \begin_inset Newline newline
37004 \end_inset
37005
37006
37007 \begin_inset Newline newline
37008 \end_inset
37009
37010 This is a text line with the word 
37011 \begin_inset ERT
37012 status collapsed
37013
37014 \begin_layout Plain Layout
37015
37016
37017 \backslash
37018 raisebox{0.5cm}[0pt]{
37019 \end_layout
37020
37021 \end_inset
37022
37023
37024 \begin_inset Quotes eld
37025 \end_inset
37026
37027 testing
37028 \begin_inset Quotes erd
37029 \end_inset
37030
37031
37032 \begin_inset ERT
37033 status collapsed
37034
37035 \begin_layout Plain Layout
37036
37037 }
37038 \end_layout
37039
37040 \end_inset
37041
37042  as a raised word.
37043 \end_layout
37044
37045 \begin_layout Section
37046 Colored Boxes
37047 \begin_inset CommandInset label
37048 LatexCommand label
37049 name "sec:Colored-Boxes"
37050
37051 \end_inset
37052
37053
37054 \begin_inset Index idx
37055 status collapsed
37056
37057 \begin_layout Plain Layout
37058 Boxes ! Color
37059 \end_layout
37060
37061 \end_inset
37062
37063
37064 \end_layout
37065
37066 \begin_layout Standard
37067 To color the background of a box just select the color you like in the box
37068  dialog.
37069  This is for example a box with orange background: 
37070 \begin_inset Box Frameless
37071 position "t"
37072 hor_pos "c"
37073 has_inner_box 1
37074 inner_pos "t"
37075 use_parbox 0
37076 use_makebox 1
37077 width ""
37078 special "none"
37079 height "1in"
37080 height_special "totalheight"
37081 thickness "0.4pt"
37082 separation "3pt"
37083 shadowsize "4pt"
37084 framecolor "black"
37085 backgroundcolor "orange"
37086 status open
37087
37088 \begin_layout Plain Layout
37089 Box with orange background
37090 \end_layout
37091
37092 \end_inset
37093
37094
37095 \end_layout
37096
37097 \begin_layout Standard
37098 If you use the decoration 
37099 \family sans
37100 Simple
37101 \begin_inset space ~
37102 \end_inset
37103
37104 rectangular
37105 \begin_inset space ~
37106 \end_inset
37107
37108 frame
37109 \family default
37110  you can set a frame color.
37111  In this case you must also specify a background color (LyX sets white as
37112  default).
37113  Here is an example: 
37114 \begin_inset Box Boxed
37115 position "t"
37116 hor_pos "c"
37117 has_inner_box 0
37118 inner_pos "t"
37119 use_parbox 0
37120 use_makebox 0
37121 width ""
37122 special "none"
37123 height "1in"
37124 height_special "totalheight"
37125 thickness "0.4pt"
37126 separation "3pt"
37127 shadowsize "4pt"
37128 framecolor "teal"
37129 backgroundcolor "yellow"
37130 status open
37131
37132 \begin_layout Plain Layout
37133 Box with teal frame color and yellow background color
37134 \end_layout
37135
37136 \end_inset
37137
37138
37139 \end_layout
37140
37141 \begin_layout Standard
37142 \begin_inset VSpace bigskip
37143 \end_inset
37144
37145 Of course you can also have colored text inside a colored box:
37146 \begin_inset Newline newline
37147 \end_inset
37148
37149
37150 \begin_inset Box Boxed
37151 position "t"
37152 hor_pos "c"
37153 has_inner_box 0
37154 inner_pos "t"
37155 use_parbox 0
37156 use_makebox 0
37157 width ""
37158 special "none"
37159 height "1in"
37160 height_special "totalheight"
37161 thickness "0.4pt"
37162 separation "3pt"
37163 shadowsize "4pt"
37164 framecolor "cyan"
37165 backgroundcolor "magenta"
37166 status open
37167
37168 \begin_layout Plain Layout
37169
37170 \color yellow
37171 This is colored text within a colored, framed box
37172 \end_layout
37173
37174 \end_inset
37175
37176
37177 \end_layout
37178
37179 \begin_layout Standard
37180 \begin_inset VSpace bigskip
37181 \end_inset
37182
37183
37184 \end_layout
37185
37186 \begin_layout Standard
37187 If you need another color than the predefined ones, you can define your
37188  own color as described in section
37189 \begin_inset space ~
37190 \end_inset
37191
37192
37193 \begin_inset CommandInset ref
37194 LatexCommand ref
37195 reference "sec:Colored-Tables"
37196
37197 \end_inset
37198
37199 .
37200  To use your own color you must typeset the box by using TeX code:
37201 \end_layout
37202
37203 \begin_layout Standard
37204 Colored boxes without frame are created with the command 
37205 \series bold
37206
37207 \backslash
37208 colorbox
37209 \series default
37210 .
37211  It has the following scheme:
37212 \end_layout
37213
37214 \begin_layout Standard
37215
37216 \series bold
37217
37218 \backslash
37219 colorbox{color}{box content}
37220 \end_layout
37221
37222 \begin_layout Standard
37223 The box content can also be a box and colored boxes can also be within other
37224  boxes.
37225  To have e.
37226 \begin_inset space \thinspace{}
37227 \end_inset
37228
37229 g.
37230 \begin_inset space \space{}
37231 \end_inset
37232
37233 a darkgreen background for a word, insert the command
37234 \end_layout
37235
37236 \begin_layout Standard
37237
37238 \series bold
37239
37240 \backslash
37241 colorbox{darkgreen}{
37242 \end_layout
37243
37244 \begin_layout Standard
37245 before the word in \SpecialChar TeX
37246  Code.
37247  After the word insert a closing brace 
37248 \begin_inset Quotes eld
37249 \end_inset
37250
37251
37252 \series bold
37253 }
37254 \series default
37255
37256 \begin_inset Quotes erd
37257 \end_inset
37258
37259  in \SpecialChar TeX
37260  Code.
37261 \begin_inset Newline newline
37262 \end_inset
37263
37264 This is the result:
37265 \end_layout
37266
37267 \begin_layout Standard
37268 This is a line where the word 
37269 \begin_inset ERT
37270 status collapsed
37271
37272 \begin_layout Plain Layout
37273
37274
37275 \backslash
37276 colorbox{darkgreen}{
37277 \end_layout
37278
37279 \end_inset
37280
37281
37282 \begin_inset Quotes eld
37283 \end_inset
37284
37285 Attention!
37286 \begin_inset Quotes erd
37287 \end_inset
37288
37289
37290 \begin_inset ERT
37291 status collapsed
37292
37293 \begin_layout Plain Layout
37294
37295 }
37296 \end_layout
37297
37298 \end_inset
37299
37300  has a darkgreen background.
37301 \end_layout
37302
37303 \begin_layout Standard
37304 Framed, colored boxes are created with the command 
37305 \series bold
37306
37307 \backslash
37308 fcolorbox
37309 \series default
37310 .
37311  It has the following scheme:
37312 \end_layout
37313
37314 \begin_layout Standard
37315
37316 \series bold
37317
37318 \backslash
37319 fcolorbox{frame color}{box color}{box content}
37320 \end_layout
37321
37322 \begin_layout Section
37323 Rotated and Scaled Boxes
37324 \end_layout
37325
37326 \begin_layout Standard
37327 To use the boxes described in this section, the module 
37328 \family sans
37329 GraphicBoxes
37330 \family default
37331  must be loaded in the document settings.
37332 \end_layout
37333
37334 \begin_layout Standard
37335 \begin_inset Note Greyedout
37336 status open
37337
37338 \begin_layout Plain Layout
37339
37340 \series bold
37341 Note:
37342 \series default
37343  Not all DVI viewers are able to display rotated or scaled material.
37344 \end_layout
37345
37346 \end_inset
37347
37348
37349 \end_layout
37350
37351 \begin_layout Standard
37352 \begin_inset Note Greyedout
37353 status open
37354
37355 \begin_layout Plain Layout
37356
37357 \series bold
37358 Note:
37359 \series default
37360  Floats are not allowed inside a rotated or scaled box.
37361 \end_layout
37362
37363 \end_inset
37364
37365
37366 \end_layout
37367
37368 \begin_layout Subsection
37369 Rotated Boxes
37370 \begin_inset Index idx
37371 status collapsed
37372
37373 \begin_layout Plain Layout
37374 Boxes ! rotated
37375 \end_layout
37376
37377 \end_inset
37378
37379
37380 \begin_inset Index idx
37381 status collapsed
37382
37383 \begin_layout Plain Layout
37384 Rotated Material
37385 \end_layout
37386
37387 \end_inset
37388
37389
37390 \end_layout
37391
37392 \begin_layout Standard
37393 To rotate material, you can put it into a 
37394 \family sans
37395 Rotatebox
37396 \family default
37397 .
37398  Such a box is inserted via the menu 
37399 \family sans
37400 Insert\SpecialChar menuseparator
37401 Custom Insets\SpecialChar menuseparator
37402 Rotatebox
37403 \family default
37404 .
37405 \end_layout
37406
37407 \begin_layout Standard
37408 The rotation origin can be specified via the inset 
37409 \family sans
37410 Origin
37411 \family default
37412  (menu 
37413 \family sans
37414 Insert\SpecialChar menuseparator
37415 Origin
37416 \family default
37417 ) in the form 
37418 \series bold
37419 origin=position
37420 \series default
37421 .
37422  The following positions are possible: 
37423 \emph on
37424 c
37425 \emph default
37426  (center), 
37427 \emph on
37428 l
37429 \emph default
37430  (left), 
37431 \emph on
37432 r
37433 \emph default
37434  (right), 
37435 \emph on
37436 b
37437 \emph default
37438  (bottom), 
37439 \emph on
37440 t
37441 \emph default
37442  (top), along with meaningful combinations of the four base positions.
37443  For example 
37444 \emph on
37445 lt
37446 \emph default
37447  means that the rotation origin is at the top left corner of the box.
37448  When no rotation origin is specified, the position 
37449 \emph on
37450 l
37451 \emph default
37452  will be used.
37453  The rotation angle is a number that can be negative that specifies the
37454  angle in degrees.
37455  The rotation direction is counterclockwise.
37456 \end_layout
37457
37458 \begin_layout Standard
37459 In the following example 
37460 \series bold
37461 origin=c
37462 \series default
37463  was inserted to the 
37464 \family sans
37465 Origin
37466 \family default
37467  inset and 
37468 \series bold
37469 60
37470 \series default
37471  was inserted to the 
37472 \family sans
37473 Angle
37474 \family default
37475  inset.
37476 \end_layout
37477
37478 \begin_layout Standard
37479 This is a line 
37480 \begin_inset Flex Rotatebox
37481 status open
37482
37483 \begin_layout Plain Layout
37484 \begin_inset Argument 1
37485 status open
37486
37487 \begin_layout Plain Layout
37488 origin=c
37489 \end_layout
37490
37491 \end_inset
37492
37493
37494 \begin_inset Argument 2
37495 status open
37496
37497 \begin_layout Plain Layout
37498 60
37499 \end_layout
37500
37501 \end_inset
37502
37503 with rotated
37504 \end_layout
37505
37506 \end_inset
37507
37508  text.
37509 \end_layout
37510
37511 \begin_layout Standard
37512 The box content can also be another box or an inline formula:
37513 \end_layout
37514
37515 \begin_layout Standard
37516 This is a line 
37517 \begin_inset Flex Rotatebox
37518 status open
37519
37520 \begin_layout Plain Layout
37521 \begin_inset Argument 1
37522 status open
37523
37524 \begin_layout Plain Layout
37525 origin=r
37526 \end_layout
37527
37528 \end_inset
37529
37530
37531 \begin_inset Argument 2
37532 status open
37533
37534 \begin_layout Plain Layout
37535 -60
37536 \end_layout
37537
37538 \end_inset
37539
37540
37541 \begin_inset Box Doublebox
37542 position "c"
37543 hor_pos "c"
37544 has_inner_box 0
37545 inner_pos "c"
37546 use_parbox 0
37547 use_makebox 0
37548 width "1in"
37549 special "width"
37550 height "1in"
37551 height_special "totalheight"
37552 thickness "0.4pt"
37553 separation "3pt"
37554 shadowsize "4pt"
37555 framecolor "black"
37556 backgroundcolor "none"
37557 status collapsed
37558
37559 \begin_layout Plain Layout
37560 with rotated
37561 \end_layout
37562
37563 \end_inset
37564
37565
37566 \end_layout
37567
37568 \end_inset
37569
37570  framed text 
37571 \begin_inset Flex Rotatebox
37572 status open
37573
37574 \begin_layout Plain Layout
37575 \begin_inset Argument 1
37576 status open
37577
37578 \begin_layout Plain Layout
37579 origin=lb
37580 \end_layout
37581
37582 \end_inset
37583
37584
37585 \begin_inset Argument 2
37586 status open
37587
37588 \begin_layout Plain Layout
37589 60
37590 \end_layout
37591
37592 \end_inset
37593
37594
37595 \begin_inset Formula $\int A\,\mathrm{d}x=B$
37596 \end_inset
37597
37598
37599 \end_layout
37600
37601 \end_inset
37602
37603  and a formula.
37604 \end_layout
37605
37606 \begin_layout Standard
37607 or an image or table:
37608 \end_layout
37609
37610 \begin_layout Standard
37611 This is a line 
37612 \begin_inset Flex Rotatebox
37613 status open
37614
37615 \begin_layout Plain Layout
37616 \begin_inset Argument 1
37617 status open
37618
37619 \begin_layout Plain Layout
37620 origin=lb
37621 \end_layout
37622
37623 \end_inset
37624
37625
37626 \begin_inset Argument 2
37627 status open
37628
37629 \begin_layout Plain Layout
37630 90
37631 \end_layout
37632
37633 \end_inset
37634
37635
37636 \begin_inset Graphics
37637         filename clipart/Star-structure.pdf
37638         lyxscale 50
37639         width 25col%
37640
37641 \end_inset
37642
37643
37644 \end_layout
37645
37646 \end_inset
37647
37648  with a rotated image 
37649 \begin_inset Flex Rotatebox
37650 status open
37651
37652 \begin_layout Plain Layout
37653 \begin_inset Argument 2
37654 status open
37655
37656 \begin_layout Plain Layout
37657 -90
37658 \end_layout
37659
37660 \end_inset
37661
37662
37663 \begin_inset Tabular
37664 <lyxtabular version="3" rows="2" columns="2">
37665 <features tabularvalignment="middle">
37666 <column alignment="center" valignment="top">
37667 <column alignment="center" valignment="top">
37668 <row>
37669 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37670 \begin_inset Text
37671
37672 \begin_layout Plain Layout
37673 q
37674 \end_layout
37675
37676 \end_inset
37677 </cell>
37678 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
37679 \begin_inset Text
37680
37681 \begin_layout Plain Layout
37682 w
37683 \end_layout
37684
37685 \end_inset
37686 </cell>
37687 </row>
37688 <row>
37689 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
37690 \begin_inset Text
37691
37692 \begin_layout Plain Layout
37693 e
37694 \end_layout
37695
37696 \end_inset
37697 </cell>
37698 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
37699 \begin_inset Text
37700
37701 \begin_layout Plain Layout
37702 r
37703 \end_layout
37704
37705 \end_inset
37706 </cell>
37707 </row>
37708 </lyxtabular>
37709
37710 \end_inset
37711
37712
37713 \end_layout
37714
37715 \end_inset
37716
37717  and table.
37718 \begin_inset Index idx
37719 status collapsed
37720
37721 \begin_layout Plain Layout
37722 Figures ! rotated
37723 \end_layout
37724
37725 \end_inset
37726
37727
37728 \begin_inset Index idx
37729 status collapsed
37730
37731 \begin_layout Plain Layout
37732 Table Customization ! Rotating
37733 \end_layout
37734
37735 \end_inset
37736
37737
37738 \end_layout
37739
37740 \begin_layout Standard
37741 \begin_inset Note Greyedout
37742 status open
37743
37744 \begin_layout Plain Layout
37745
37746 \series bold
37747 Note:
37748 \series default
37749  If the 
37750 \family sans
37751 Angle
37752 \family default
37753  inset is empty or contains other characters than numbers you will get \SpecialChar LaTeX
37754
37755  errors when viewing/exporting the document.
37756 \end_layout
37757
37758 \end_inset
37759
37760
37761 \end_layout
37762
37763 \begin_layout Subsection
37764 Scaled Boxes
37765 \begin_inset Index idx
37766 status collapsed
37767
37768 \begin_layout Plain Layout
37769 Boxes ! scaled
37770 \end_layout
37771
37772 \end_inset
37773
37774
37775 \begin_inset Index idx
37776 status collapsed
37777
37778 \begin_layout Plain Layout
37779 Scaled Material
37780 \end_layout
37781
37782 \end_inset
37783
37784
37785 \end_layout
37786
37787 \begin_layout Standard
37788 To scale material put it into a 
37789 \family sans
37790 Scalebox
37791 \family default
37792 .
37793  Such a box is inserted via the menu 
37794 \family sans
37795 Insert\SpecialChar menuseparator
37796 Custom Insets\SpecialChar menuseparator
37797 Scalebox
37798 \family default
37799 .
37800 \end_layout
37801
37802 \begin_layout Standard
37803 The 
37804 \family sans
37805 Scalebox
37806 \family default
37807  inset has the mandatory inset 
37808 \family sans
37809 H-Factor
37810 \family default
37811  and the optional inset 
37812 \family sans
37813 V-Factor
37814 \family default
37815  (inserted via the menu 
37816 \family sans
37817 Insert\SpecialChar menuseparator
37818 V-Factor)
37819 \family default
37820 .
37821  Input there the horizontal and vertical scale factor, respectively.
37822  If no 
37823 \family sans
37824 V-Factor
37825 \family default
37826  inset is used, the horizontal factor will also be used as the vertical
37827  one.
37828 \end_layout
37829
37830 \begin_layout Standard
37831 To get for example the double text size, compared to the document text size,
37832  insert 
37833 \series bold
37834 2
37835 \series default
37836  into the 
37837 \family sans
37838 H-Factor
37839 \family default
37840  inset.
37841  An example: 
37842 \begin_inset Flex Scalebox
37843 status open
37844
37845 \begin_layout Plain Layout
37846 \begin_inset Argument 1
37847 status open
37848
37849 \begin_layout Plain Layout
37850 2
37851 \end_layout
37852
37853 \end_inset
37854
37855 Hello
37856 \end_layout
37857
37858 \end_inset
37859
37860
37861 \end_layout
37862
37863 \begin_layout Standard
37864
37865 \series bold
37866 2
37867 \series default
37868  as 
37869 \family sans
37870 H-Factor
37871 \family default
37872  and 
37873 \series bold
37874 1
37875 \series default
37876  as 
37877 \family sans
37878 V-Factor
37879 \family default
37880  distorts the 
37881 \begin_inset Flex Scalebox
37882 status open
37883
37884 \begin_layout Plain Layout
37885 \begin_inset Argument 1
37886 status open
37887
37888 \begin_layout Plain Layout
37889 2
37890 \end_layout
37891
37892 \end_inset
37893
37894
37895 \begin_inset Argument 2
37896 status open
37897
37898 \begin_layout Plain Layout
37899 1
37900 \end_layout
37901
37902 \end_inset
37903
37904 Hello
37905 \end_layout
37906
37907 \end_inset
37908
37909 .
37910 \end_layout
37911
37912 \begin_layout Standard
37913 If the scaling factor is negative, the box content will be mirrored.
37914  Therefore 
37915 \series bold
37916 -1
37917 \series default
37918  as 
37919 \family sans
37920 H-Factor
37921 \family default
37922  and 
37923 \series bold
37924 1
37925 \series default
37926  as 
37927 \family sans
37928 V-Factor
37929 \family default
37930  can be used to create mirror writing: 
37931 \begin_inset Flex Scalebox
37932 status open
37933
37934 \begin_layout Plain Layout
37935 \begin_inset Argument 1
37936 status open
37937
37938 \begin_layout Plain Layout
37939 -1
37940 \end_layout
37941
37942 \end_inset
37943
37944
37945 \begin_inset Argument 2
37946 status open
37947
37948 \begin_layout Plain Layout
37949 1
37950 \end_layout
37951
37952 \end_inset
37953
37954 Hello
37955 \end_layout
37956
37957 \end_inset
37958
37959
37960 \end_layout
37961
37962 \begin_layout Standard
37963
37964 \series bold
37965 1
37966 \series default
37967  as 
37968 \family sans
37969 H-Factor
37970 \family default
37971  and 
37972 \series bold
37973 -1
37974 \series default
37975  as 
37976 \family sans
37977 V-Factor
37978 \family default
37979  reflects the 
37980 \begin_inset Flex Scalebox
37981 status open
37982
37983 \begin_layout Plain Layout
37984 \begin_inset Argument 1
37985 status open
37986
37987 \begin_layout Plain Layout
37988 1
37989 \end_layout
37990
37991 \end_inset
37992
37993
37994 \begin_inset Argument 2
37995 status open
37996
37997 \begin_layout Plain Layout
37998 -1
37999 \end_layout
38000
38001 \end_inset
38002
38003 Hello
38004 \end_layout
38005
38006 \end_inset
38007
38008  at the base line.
38009 \end_layout
38010
38011 \begin_layout Standard
38012 The 
38013 \family sans
38014 Reflectbox
38015 \family default
38016  (menu 
38017 \family sans
38018 Insert\SpecialChar menuseparator
38019 Custom Insets\SpecialChar menuseparator
38020 Reflectbox
38021 \family default
38022 ) is equivalent to 
38023 \series bold
38024 -1
38025 \series default
38026  as 
38027 \family sans
38028 H-Factor
38029 \family default
38030  and 
38031 \series bold
38032 1
38033 \series default
38034  as 
38035 \family sans
38036 V-Factor 
38037 \family default
38038 for a 
38039 \family sans
38040 Scalebox
38041 \family default
38042 .
38043 \end_layout
38044
38045 \begin_layout Standard
38046 \begin_inset Note Greyedout
38047 status open
38048
38049 \begin_layout Plain Layout
38050
38051 \series bold
38052 Note:
38053 \series default
38054  If the 
38055 \family sans
38056 H-Factor
38057 \family default
38058  inset is empty or contains other characters than numbers you will get LaTeX
38059  errors when viewing/exporting the document.
38060 \end_layout
38061
38062 \end_inset
38063
38064
38065 \end_layout
38066
38067 \begin_layout Standard
38068 \begin_inset VSpace bigskip
38069 \end_inset
38070
38071 The 
38072 \family sans
38073 Resizebox
38074 \family default
38075  (menu 
38076 \family sans
38077 Insert\SpecialChar menuseparator
38078 Custom Insets\SpecialChar menuseparator
38079 Resizebox
38080 \family default
38081 ) is used to scale the content to a defined width and height.
38082  The 
38083 \family sans
38084 Resizebox
38085 \family default
38086  inset has the mandatory inset 
38087 \family sans
38088 Width
38089 \family default
38090  and the optional inset 
38091 \family sans
38092 Height
38093 \family default
38094  (inserted via the menu 
38095 \family sans
38096 Insert\SpecialChar menuseparator
38097 Height)
38098 \family default
38099 .
38100  Input there the width and height, respectively, as value with a unit.
38101  
38102 \begin_inset CommandInset ref
38103 LatexCommand ref
38104 reference "tab:Units"
38105
38106 \end_inset
38107
38108  lists the possible units.
38109  If there is an exclamation mark 
38110 \series bold
38111 !
38112 \series default
38113  in one of the two insets, the size is set so that the aspect ratio of the
38114  box content is kept.
38115  If no 
38116 \family sans
38117 Height
38118 \family default
38119  inset is used an exclamation mark will internally be used for the height.
38120 \end_layout
38121
38122 \begin_layout Standard
38123
38124 \series bold
38125 2cm
38126 \series default
38127  as 
38128 \family sans
38129 Width
38130 \family default
38131  and 
38132 \series bold
38133 1cm
38134 \series default
38135  as 
38136 \family sans
38137 Height
38138 \family default
38139  produces: 
38140 \begin_inset Flex Resizebox
38141 status open
38142
38143 \begin_layout Plain Layout
38144 \begin_inset Argument 1
38145 status open
38146
38147 \begin_layout Plain Layout
38148 2cm
38149 \end_layout
38150
38151 \end_inset
38152
38153
38154 \begin_inset Argument 2
38155 status open
38156
38157 \begin_layout Plain Layout
38158 1cm
38159 \end_layout
38160
38161 \end_inset
38162
38163 Hello
38164 \end_layout
38165
38166 \end_inset
38167
38168
38169 \begin_inset Newline newline
38170 \end_inset
38171
38172
38173 \series bold
38174 2cm
38175 \series default
38176  as 
38177 \family sans
38178 Width
38179 \family default
38180  and 
38181 \series bold
38182 !
38183 \series default
38184  as 
38185 \family sans
38186 Height
38187 \family default
38188  (or no 
38189 \family sans
38190 Height
38191 \family default
38192 ) produces: 
38193 \begin_inset Flex Resizebox
38194 status open
38195
38196 \begin_layout Plain Layout
38197 \begin_inset Argument 1
38198 status open
38199
38200 \begin_layout Plain Layout
38201 2cm
38202 \end_layout
38203
38204 \end_inset
38205
38206
38207 \begin_inset Argument 2
38208 status open
38209
38210 \begin_layout Plain Layout
38211 !
38212 \end_layout
38213
38214 \end_inset
38215
38216 Hello
38217 \end_layout
38218
38219 \end_inset
38220
38221
38222 \end_layout
38223
38224 \begin_layout Standard
38225 \begin_inset Note Greyedout
38226 status open
38227
38228 \begin_layout Plain Layout
38229
38230 \series bold
38231 Note:
38232 \series default
38233  If the 
38234 \family sans
38235 Width
38236 \family default
38237  inset is empty or contains an invalid unit you will get LaTeX errors when
38238  viewing/exporting the document.
38239 \end_layout
38240
38241 \end_inset
38242
38243
38244 \end_layout
38245
38246 \begin_layout Standard
38247 \begin_inset VSpace bigskip
38248 \end_inset
38249
38250
38251 \end_layout
38252
38253 \begin_layout Standard
38254 The boxes can be combined in any order.
38255  As example a 
38256 \family sans
38257 Reflectbox
38258 \family default
38259  inside a 
38260 \family sans
38261 Resizebox
38262 \family default
38263  which is in turn inside a 
38264 \family sans
38265 Rotatebox
38266 \family default
38267 :
38268 \end_layout
38269
38270 \begin_layout Standard
38271 \noindent
38272 \align center
38273 \begin_inset Flex Rotatebox
38274 status open
38275
38276 \begin_layout Plain Layout
38277 \begin_inset Argument 1
38278 status open
38279
38280 \begin_layout Plain Layout
38281 origin=c
38282 \end_layout
38283
38284 \end_inset
38285
38286
38287 \begin_inset Argument 2
38288 status open
38289
38290 \begin_layout Plain Layout
38291 -45
38292 \end_layout
38293
38294 \end_inset
38295
38296
38297 \begin_inset Flex Resizebox
38298 status open
38299
38300 \begin_layout Plain Layout
38301 \begin_inset Argument 1
38302 status open
38303
38304 \begin_layout Plain Layout
38305 2cm
38306 \end_layout
38307
38308 \end_inset
38309
38310
38311 \begin_inset Flex Reflectbox
38312 status open
38313
38314 \begin_layout Plain Layout
38315 Hello
38316 \end_layout
38317
38318 \end_inset
38319
38320
38321 \end_layout
38322
38323 \end_inset
38324
38325
38326 \end_layout
38327
38328 \end_inset
38329
38330
38331 \end_layout
38332
38333 \begin_layout Standard
38334 \noindent
38335 Images, tables, and inline formulas are allowed as box content:
38336 \end_layout
38337
38338 \begin_layout Standard
38339 \noindent
38340 \align center
38341 \begin_inset Flex Resizebox
38342 status open
38343
38344 \begin_layout Plain Layout
38345 \begin_inset Argument 1
38346 status open
38347
38348 \begin_layout Plain Layout
38349 2cm
38350 \end_layout
38351
38352 \end_inset
38353
38354
38355 \begin_inset Flex Reflectbox
38356 status open
38357
38358 \begin_layout Plain Layout
38359 \begin_inset Graphics
38360         filename clipart/Star-structure.pdf
38361         lyxscale 50
38362         width 25col%
38363
38364 \end_inset
38365
38366
38367 \end_layout
38368
38369 \end_inset
38370
38371
38372 \end_layout
38373
38374 \end_inset
38375
38376  
38377 \begin_inset Flex Resizebox
38378 status open
38379
38380 \begin_layout Plain Layout
38381 \begin_inset Argument 1
38382 status open
38383
38384 \begin_layout Plain Layout
38385 2cm
38386 \end_layout
38387
38388 \end_inset
38389
38390
38391 \begin_inset Flex Reflectbox
38392 status open
38393
38394 \begin_layout Plain Layout
38395 \begin_inset Tabular
38396 <lyxtabular version="3" rows="2" columns="2">
38397 <features tabularvalignment="middle">
38398 <column alignment="center" valignment="top">
38399 <column alignment="center" valignment="top">
38400 <row>
38401 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38402 \begin_inset Text
38403
38404 \begin_layout Plain Layout
38405 q
38406 \end_layout
38407
38408 \end_inset
38409 </cell>
38410 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38411 \begin_inset Text
38412
38413 \begin_layout Plain Layout
38414 w
38415 \end_layout
38416
38417 \end_inset
38418 </cell>
38419 </row>
38420 <row>
38421 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
38422 \begin_inset Text
38423
38424 \begin_layout Plain Layout
38425 e
38426 \end_layout
38427
38428 \end_inset
38429 </cell>
38430 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
38431 \begin_inset Text
38432
38433 \begin_layout Plain Layout
38434 r
38435 \end_layout
38436
38437 \end_inset
38438 </cell>
38439 </row>
38440 </lyxtabular>
38441
38442 \end_inset
38443
38444
38445 \end_layout
38446
38447 \end_inset
38448
38449
38450 \end_layout
38451
38452 \end_inset
38453
38454  
38455 \begin_inset Flex Resizebox
38456 status open
38457
38458 \begin_layout Plain Layout
38459 \begin_inset Argument 1
38460 status open
38461
38462 \begin_layout Plain Layout
38463 3cm
38464 \end_layout
38465
38466 \end_inset
38467
38468
38469 \begin_inset Flex Reflectbox
38470 status open
38471
38472 \begin_layout Plain Layout
38473 \begin_inset Formula $\int A\,\mathrm{d}x=B$
38474 \end_inset
38475
38476
38477 \end_layout
38478
38479 \end_inset
38480
38481
38482 \end_layout
38483
38484 \end_inset
38485
38486
38487 \begin_inset Index idx
38488 status collapsed
38489
38490 \begin_layout Plain Layout
38491 Figures ! scaled
38492 \end_layout
38493
38494 \end_inset
38495
38496
38497 \begin_inset Index idx
38498 status collapsed
38499
38500 \begin_layout Plain Layout
38501 Table Customization ! Scaling
38502 \end_layout
38503
38504 \end_inset
38505
38506
38507 \end_layout
38508
38509 \begin_layout Standard
38510 When the global formula style 
38511 \series bold
38512 fleqn
38513 \series default
38514  is used in the document
38515 \begin_inset Foot
38516 status collapsed
38517
38518 \begin_layout Plain Layout
38519 When 
38520 \begin_inset Quotes eld
38521 \end_inset
38522
38523 fleqn
38524 \begin_inset Quotes erd
38525 \end_inset
38526
38527  is added to the document class options.
38528 \end_layout
38529
38530 \end_inset
38531
38532 , display style formulas can also be scaled.
38533 \end_layout
38534
38535 \begin_layout Chapter
38536 Objects Surrounded by Text
38537 \begin_inset Index idx
38538 status collapsed
38539
38540 \begin_layout Plain Layout
38541 Surrounded by text
38542 \end_layout
38543
38544 \end_inset
38545
38546
38547 \end_layout
38548
38549 \begin_layout Section
38550 Wrap Floats
38551 \begin_inset CommandInset label
38552 LatexCommand label
38553 name "sec:Wrap-Floats"
38554
38555 \end_inset
38556
38557
38558 \begin_inset Index idx
38559 status collapsed
38560
38561 \begin_layout Plain Layout
38562 Floats ! Wrap Floats
38563 \end_layout
38564
38565 \end_inset
38566
38567
38568 \begin_inset Index idx
38569 status collapsed
38570
38571 \begin_layout Plain Layout
38572 Surrounded by text ! Wrap Floats
38573 \end_layout
38574
38575 \end_inset
38576
38577
38578 \end_layout
38579
38580 \begin_layout Standard
38581 \begin_inset Wrap figure
38582 lines 0
38583 placement l
38584 overhang 1cm
38585 width "40col%"
38586 status open
38587
38588 \begin_layout Plain Layout
38589 \begin_inset Graphics
38590         filename clipart/2D-intensity-plot.pdf
38591         width 40col%
38592         scaleBeforeRotation
38593         rotateOrigin center
38594
38595 \end_inset
38596
38597
38598 \end_layout
38599
38600 \begin_layout Plain Layout
38601 \begin_inset Caption Standard
38602
38603 \begin_layout Plain Layout
38604 \begin_inset CommandInset label
38605 LatexCommand label
38606 name "fig:This-is-a"
38607
38608 \end_inset
38609
38610 This is a figure wrap float.
38611 \end_layout
38612
38613 \end_inset
38614
38615
38616 \end_layout
38617
38618 \end_inset
38619
38620  This float type is used if you want to wrap text around a figure or table
38621  so that it only occupies some fraction of the column width.
38622  It can be inserted using the menu 
38623 \family sans
38624 Insert\SpecialChar menuseparator
38625 Floats\SpecialChar menuseparator
38626 Figure
38627 \begin_inset space ~
38628 \end_inset
38629
38630 Wrap
38631 \begin_inset space ~
38632 \end_inset
38633
38634 Float
38635 \family default
38636  or 
38637 \family sans
38638 Table
38639 \begin_inset space ~
38640 \end_inset
38641
38642 Wrap
38643 \begin_inset space ~
38644 \end_inset
38645
38646 Float
38647 \family default
38648  if the \SpecialChar LaTeX
38649 -package 
38650 \series bold
38651 wrapfig
38652 \series default
38653
38654 \begin_inset Index idx
38655 status collapsed
38656
38657 \begin_layout Plain Layout
38658 \SpecialChar LaTeX
38659 -packages ! wrapfig
38660 \end_layout
38661
38662 \end_inset
38663
38664  is installed.
38665 \begin_inset Foot
38666 status collapsed
38667
38668 \begin_layout Plain Layout
38669 Installing a \SpecialChar LaTeX
38670 -package is explained it in the 
38671 \emph on
38672 \SpecialChar LaTeX
38673
38674 \begin_inset space ~
38675 \end_inset
38676
38677 Configuration
38678 \emph default
38679  manual.
38680 \end_layout
38681
38682 \end_inset
38683
38684  The settings of the float can be modified by right-clicking on the float
38685  box.
38686  The mandatory settings are the float 
38687 \family sans
38688 Placement
38689 \family default
38690  and its 
38691 \family sans
38692 Width
38693 \family default
38694 .
38695  Optional are the 
38696 \family sans
38697 Overhang
38698 \family default
38699  that specifies how much the float is set into the paragraph
38700 \begin_inset space \thinspace{}
38701 \end_inset
38702
38703 /
38704 \begin_inset space \thinspace{}
38705 \end_inset
38706
38707 page margin, and the 
38708 \family sans
38709 Line
38710 \begin_inset space ~
38711 \end_inset
38712
38713 span
38714 \family default
38715  that specifies how many text lines the float will approximately need.
38716  The line span is often hard to approximate; so it is better only to use
38717  it when you encounter float placement problems.
38718  You can furthermore decide if \SpecialChar LaTeX
38719  is allowed to let the float float within
38720  the paragraph or to surrounding paragraphs.
38721  Figure
38722 \begin_inset space ~
38723 \end_inset
38724
38725
38726 \begin_inset CommandInset ref
38727 LatexCommand ref
38728 reference "fig:This-is-a"
38729
38730 \end_inset
38731
38732  is an example text wrap float with a width of 40
38733 \begin_inset space \thinspace{}
38734 \end_inset
38735
38736 col%, 1
38737 \begin_inset space \thinspace{}
38738 \end_inset
38739
38740 cm overhang, set to the left.
38741 \end_layout
38742
38743 \begin_layout Standard
38744 \begin_inset Note Greyedout
38745 status open
38746
38747 \begin_layout Plain Layout
38748
38749 \series bold
38750 Note:
38751 \series default
38752  Text
38753 \begin_inset space ~
38754 \end_inset
38755
38756 wrap float floats are fragile! E.
38757 \begin_inset space \thinspace{}
38758 \end_inset
38759
38760 g.
38761 \begin_inset space \space{}
38762 \end_inset
38763
38764 having a figure too close to the bottom of the page can mess things up in
38765  such a way that the float does not appear in the output or that it is placed
38766  over some other text.
38767 \end_layout
38768
38769 \end_inset
38770
38771
38772 \end_layout
38773
38774 \begin_layout Standard
38775 In general, the following applies for wrap floats:
38776 \end_layout
38777
38778 \begin_layout Itemize
38779 They should not be placed in paragraphs that run over a page break.
38780  That means that wrap floats are better inserted in their exact place when
38781  the document is almost finished and you are able to estimate where page
38782  breaks will appear.
38783 \end_layout
38784
38785 \begin_layout Itemize
38786 They should either be placed in their own paragraph before the paragraph
38787  where they should wrap into or within a paragraph.
38788 \end_layout
38789
38790 \begin_layout Itemize
38791 In consecutive paragraphs they may cause troubles, so ensure that there
38792  is a text paragraph between them as separator.
38793 \end_layout
38794
38795 \begin_layout Itemize
38796 They are not allowed in section headings or tables.
38797 \end_layout
38798
38799 \begin_layout Itemize
38800 Their numbering and referencing works as described in chap.
38801 \begin_inset space \thinspace{}
38802 \end_inset
38803
38804
38805 \begin_inset CommandInset ref
38806 LatexCommand ref
38807 reference "chap:Floats"
38808
38809 \end_inset
38810
38811 .
38812 \end_layout
38813
38814 \begin_layout Section
38815 Surrounded Fixed Objects
38816 \begin_inset Index idx
38817 status collapsed
38818
38819 \begin_layout Plain Layout
38820 Surrounded by text ! Fixed objects
38821 \end_layout
38822
38823 \end_inset
38824
38825
38826 \end_layout
38827
38828 \begin_layout Standard
38829 The wrap floats described in sec.
38830 \begin_inset space \thinspace{}
38831 \end_inset
38832
38833
38834 \begin_inset CommandInset ref
38835 LatexCommand ref
38836 reference "sec:Wrap-Floats"
38837
38838 \end_inset
38839
38840  have these positions in the paragraph:
38841 \end_layout
38842
38843 \begin_layout Standard
38844 \noindent
38845 \align center
38846 \begin_inset Tabular
38847 <lyxtabular version="3" rows="2" columns="2">
38848 <features tabularvalignment="middle">
38849 <column alignment="center" valignment="top">
38850 <column alignment="center" valignment="top">
38851 <row>
38852 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38853 \begin_inset Text
38854
38855 \begin_layout Plain Layout
38856 \begin_inset Info
38857 type  "icon"
38858 arg   "dialog-show-new-inset graphics"
38859 \end_inset
38860
38861
38862 \end_layout
38863
38864 \end_inset
38865 </cell>
38866 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
38867 \begin_inset Text
38868
38869 \begin_layout Plain Layout
38870 text
38871 \end_layout
38872
38873 \end_inset
38874 </cell>
38875 </row>
38876 <row>
38877 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
38878 \begin_inset Text
38879
38880 \begin_layout Plain Layout
38881 text
38882 \end_layout
38883
38884 \end_inset
38885 </cell>
38886 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
38887 \begin_inset Text
38888
38889 \begin_layout Plain Layout
38890 text
38891 \end_layout
38892
38893 \end_inset
38894 </cell>
38895 </row>
38896 </lyxtabular>
38897
38898 \end_inset
38899
38900  or 
38901 \begin_inset Tabular
38902 <lyxtabular version="3" rows="2" columns="2">
38903 <features tabularvalignment="middle">
38904 <column alignment="center" valignment="top">
38905 <column alignment="center" valignment="top">
38906 <row>
38907 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38908 \begin_inset Text
38909
38910 \begin_layout Plain Layout
38911 text
38912 \end_layout
38913
38914 \end_inset
38915 </cell>
38916 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
38917 \begin_inset Text
38918
38919 \begin_layout Plain Layout
38920 \begin_inset Info
38921 type  "icon"
38922 arg   "dialog-show-new-inset graphics"
38923 \end_inset
38924
38925
38926 \end_layout
38927
38928 \end_inset
38929 </cell>
38930 </row>
38931 <row>
38932 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
38933 \begin_inset Text
38934
38935 \begin_layout Plain Layout
38936 text
38937 \end_layout
38938
38939 \end_inset
38940 </cell>
38941 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
38942 \begin_inset Text
38943
38944 \begin_layout Plain Layout
38945 text
38946 \end_layout
38947
38948 \end_inset
38949 </cell>
38950 </row>
38951 </lyxtabular>
38952
38953 \end_inset
38954
38955
38956 \end_layout
38957
38958 \begin_layout Standard
38959 To get an object exactly at the position where it is inserted, for example
38960  to get one of these positions:
38961 \begin_inset VSpace defskip
38962 \end_inset
38963
38964
38965 \end_layout
38966
38967 \begin_layout Standard
38968 \noindent
38969 \align center
38970 \begin_inset Tabular
38971 <lyxtabular version="3" rows="2" columns="2">
38972 <features tabularvalignment="middle">
38973 <column alignment="center" valignment="top">
38974 <column alignment="center" valignment="top">
38975 <row>
38976 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38977 \begin_inset Text
38978
38979 \begin_layout Plain Layout
38980 text
38981 \end_layout
38982
38983 \end_inset
38984 </cell>
38985 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
38986 \begin_inset Text
38987
38988 \begin_layout Plain Layout
38989 text
38990 \end_layout
38991
38992 \end_inset
38993 </cell>
38994 </row>
38995 <row>
38996 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
38997 \begin_inset Text
38998
38999 \begin_layout Plain Layout
39000 \begin_inset Info
39001 type  "icon"
39002 arg   "dialog-show-new-inset graphics"
39003 \end_inset
39004
39005
39006 \end_layout
39007
39008 \end_inset
39009 </cell>
39010 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
39011 \begin_inset Text
39012
39013 \begin_layout Plain Layout
39014 text
39015 \end_layout
39016
39017 \end_inset
39018 </cell>
39019 </row>
39020 </lyxtabular>
39021
39022 \end_inset
39023
39024  
39025 \begin_inset Tabular
39026 <lyxtabular version="3" rows="2" columns="2">
39027 <features tabularvalignment="middle">
39028 <column alignment="center" valignment="top">
39029 <column alignment="center" valignment="top">
39030 <row>
39031 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
39032 \begin_inset Text
39033
39034 \begin_layout Plain Layout
39035 text
39036 \end_layout
39037
39038 \end_inset
39039 </cell>
39040 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
39041 \begin_inset Text
39042
39043 \begin_layout Plain Layout
39044 text
39045 \end_layout
39046
39047 \end_inset
39048 </cell>
39049 </row>
39050 <row>
39051 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
39052 \begin_inset Text
39053
39054 \begin_layout Plain Layout
39055 text
39056 \end_layout
39057
39058 \end_inset
39059 </cell>
39060 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
39061 \begin_inset Text
39062
39063 \begin_layout Plain Layout
39064 \begin_inset Info
39065 type  "icon"
39066 arg   "dialog-show-new-inset graphics"
39067 \end_inset
39068
39069
39070 \end_layout
39071
39072 \end_inset
39073 </cell>
39074 </row>
39075 </lyxtabular>
39076
39077 \end_inset
39078
39079  
39080 \begin_inset Tabular
39081 <lyxtabular version="3" rows="2" columns="3">
39082 <features tabularvalignment="middle">
39083 <column alignment="center" valignment="top">
39084 <column alignment="center" valignment="top">
39085 <column alignment="center" valignment="top">
39086 <row>
39087 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
39088 \begin_inset Text
39089
39090 \begin_layout Plain Layout
39091 text
39092 \end_layout
39093
39094 \end_inset
39095 </cell>
39096 <cell alignment="center" valignment="top" topline="true" usebox="none">
39097 \begin_inset Text
39098
39099 \begin_layout Plain Layout
39100 \begin_inset Info
39101 type  "icon"
39102 arg   "dialog-show-new-inset graphics"
39103 \end_inset
39104
39105
39106 \end_layout
39107
39108 \end_inset
39109 </cell>
39110 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
39111 \begin_inset Text
39112
39113 \begin_layout Plain Layout
39114 text
39115 \end_layout
39116
39117 \end_inset
39118 </cell>
39119 </row>
39120 <row>
39121 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
39122 \begin_inset Text
39123
39124 \begin_layout Plain Layout
39125 text
39126 \end_layout
39127
39128 \end_inset
39129 </cell>
39130 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
39131 \begin_inset Text
39132
39133 \begin_layout Plain Layout
39134 text
39135 \end_layout
39136
39137 \end_inset
39138 </cell>
39139 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
39140 \begin_inset Text
39141
39142 \begin_layout Plain Layout
39143 text
39144 \end_layout
39145
39146 \end_inset
39147 </cell>
39148 </row>
39149 </lyxtabular>
39150
39151 \end_inset
39152
39153  
39154 \begin_inset Tabular
39155 <lyxtabular version="3" rows="2" columns="3">
39156 <features tabularvalignment="middle">
39157 <column alignment="center" valignment="top">
39158 <column alignment="center" valignment="top">
39159 <column alignment="center" valignment="top">
39160 <row>
39161 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
39162 \begin_inset Text
39163
39164 \begin_layout Plain Layout
39165 text
39166 \end_layout
39167
39168 \end_inset
39169 </cell>
39170 <cell alignment="center" valignment="top" topline="true" usebox="none">
39171 \begin_inset Text
39172
39173 \begin_layout Plain Layout
39174 text
39175 \end_layout
39176
39177 \end_inset
39178 </cell>
39179 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
39180 \begin_inset Text
39181
39182 \begin_layout Plain Layout
39183 text
39184 \end_layout
39185
39186 \end_inset
39187 </cell>
39188 </row>
39189 <row>
39190 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
39191 \begin_inset Text
39192
39193 \begin_layout Plain Layout
39194 text
39195 \end_layout
39196
39197 \end_inset
39198 </cell>
39199 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
39200 \begin_inset Text
39201
39202 \begin_layout Plain Layout
39203 \begin_inset Info
39204 type  "icon"
39205 arg   "dialog-show-new-inset graphics"
39206 \end_inset
39207
39208
39209 \end_layout
39210
39211 \end_inset
39212 </cell>
39213 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
39214 \begin_inset Text
39215
39216 \begin_layout Plain Layout
39217 text
39218 \end_layout
39219
39220 \end_inset
39221 </cell>
39222 </row>
39223 </lyxtabular>
39224
39225 \end_inset
39226
39227
39228 \end_layout
39229
39230 \begin_layout Standard
39231 \noindent
39232 \align center
39233 \begin_inset Tabular
39234 <lyxtabular version="3" rows="3" columns="2">
39235 <features tabularvalignment="middle">
39236 <column alignment="center" valignment="top">
39237 <column alignment="center" valignment="top">
39238 <row>
39239 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
39240 \begin_inset Text
39241
39242 \begin_layout Plain Layout
39243 text
39244 \end_layout
39245
39246 \end_inset
39247 </cell>
39248 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
39249 \begin_inset Text
39250
39251 \begin_layout Plain Layout
39252 text
39253 \end_layout
39254
39255 \end_inset
39256 </cell>
39257 </row>
39258 <row>
39259 <cell alignment="center" valignment="top" leftline="true" usebox="none">
39260 \begin_inset Text
39261
39262 \begin_layout Plain Layout
39263 \begin_inset Info
39264 type  "icon"
39265 arg   "dialog-show-new-inset graphics"
39266 \end_inset
39267
39268
39269 \end_layout
39270
39271 \end_inset
39272 </cell>
39273 <cell alignment="center" valignment="top" rightline="true" usebox="none">
39274 \begin_inset Text
39275
39276 \begin_layout Plain Layout
39277 text
39278 \end_layout
39279
39280 \end_inset
39281 </cell>
39282 </row>
39283 <row>
39284 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
39285 \begin_inset Text
39286
39287 \begin_layout Plain Layout
39288 text
39289 \end_layout
39290
39291 \end_inset
39292 </cell>
39293 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
39294 \begin_inset Text
39295
39296 \begin_layout Plain Layout
39297 text
39298 \end_layout
39299
39300 \end_inset
39301 </cell>
39302 </row>
39303 </lyxtabular>
39304
39305 \end_inset
39306
39307  
39308 \begin_inset Tabular
39309 <lyxtabular version="3" rows="3" columns="3">
39310 <features tabularvalignment="middle">
39311 <column alignment="center" valignment="top">
39312 <column alignment="center" valignment="top">
39313 <column alignment="center" valignment="top">
39314 <row>
39315 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
39316 \begin_inset Text
39317
39318 \begin_layout Plain Layout
39319 text
39320 \end_layout
39321
39322 \end_inset
39323 </cell>
39324 <cell alignment="center" valignment="top" topline="true" usebox="none">
39325 \begin_inset Text
39326
39327 \begin_layout Plain Layout
39328 text
39329 \end_layout
39330
39331 \end_inset
39332 </cell>
39333 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
39334 \begin_inset Text
39335
39336 \begin_layout Plain Layout
39337 text
39338 \end_layout
39339
39340 \end_inset
39341 </cell>
39342 </row>
39343 <row>
39344 <cell alignment="center" valignment="top" leftline="true" usebox="none">
39345 \begin_inset Text
39346
39347 \begin_layout Plain Layout
39348 text
39349 \end_layout
39350
39351 \end_inset
39352 </cell>
39353 <cell alignment="center" valignment="top" usebox="none">
39354 \begin_inset Text
39355
39356 \begin_layout Plain Layout
39357 \begin_inset Info
39358 type  "icon"
39359 arg   "dialog-show-new-inset graphics"
39360 \end_inset
39361
39362
39363 \end_layout
39364
39365 \end_inset
39366 </cell>
39367 <cell alignment="center" valignment="top" rightline="true" usebox="none">
39368 \begin_inset Text
39369
39370 \begin_layout Plain Layout
39371 text
39372 \end_layout
39373
39374 \end_inset
39375 </cell>
39376 </row>
39377 <row>
39378 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
39379 \begin_inset Text
39380
39381 \begin_layout Plain Layout
39382 text
39383 \end_layout
39384
39385 \end_inset
39386 </cell>
39387 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
39388 \begin_inset Text
39389
39390 \begin_layout Plain Layout
39391 text
39392 \end_layout
39393
39394 \end_inset
39395 </cell>
39396 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
39397 \begin_inset Text
39398
39399 \begin_layout Plain Layout
39400 text
39401 \end_layout
39402
39403 \end_inset
39404 </cell>
39405 </row>
39406 </lyxtabular>
39407
39408 \end_inset
39409
39410  
39411 \begin_inset Tabular
39412 <lyxtabular version="3" rows="3" columns="2">
39413 <features tabularvalignment="middle">
39414 <column alignment="center" valignment="top">
39415 <column alignment="center" valignment="top">
39416 <row>
39417 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
39418 \begin_inset Text
39419
39420 \begin_layout Plain Layout
39421 text
39422 \end_layout
39423
39424 \end_inset
39425 </cell>
39426 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
39427 \begin_inset Text
39428
39429 \begin_layout Plain Layout
39430 text
39431 \end_layout
39432
39433 \end_inset
39434 </cell>
39435 </row>
39436 <row>
39437 <cell alignment="center" valignment="top" leftline="true" usebox="none">
39438 \begin_inset Text
39439
39440 \begin_layout Plain Layout
39441 text
39442 \end_layout
39443
39444 \end_inset
39445 </cell>
39446 <cell alignment="center" valignment="top" rightline="true" usebox="none">
39447 \begin_inset Text
39448
39449 \begin_layout Plain Layout
39450 \begin_inset Info
39451 type  "icon"
39452 arg   "dialog-show-new-inset graphics"
39453 \end_inset
39454
39455
39456 \end_layout
39457
39458 \end_inset
39459 </cell>
39460 </row>
39461 <row>
39462 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
39463 \begin_inset Text
39464
39465 \begin_layout Plain Layout
39466 text
39467 \end_layout
39468
39469 \end_inset
39470 </cell>
39471 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
39472 \begin_inset Text
39473
39474 \begin_layout Plain Layout
39475 text
39476 \end_layout
39477
39478 \end_inset
39479 </cell>
39480 </row>
39481 </lyxtabular>
39482
39483 \end_inset
39484
39485
39486 \end_layout
39487
39488 \begin_layout Standard
39489 \noindent
39490 you can use the \SpecialChar LaTeX
39491 -package 
39492 \series bold
39493 picinpar
39494 \series default
39495
39496 \begin_inset Index idx
39497 status collapsed
39498
39499 \begin_layout Plain Layout
39500 \SpecialChar LaTeX
39501 -packages ! picinpar
39502 \end_layout
39503
39504 \end_inset
39505
39506 .
39507  Here is an example:
39508 \end_layout
39509
39510 \begin_layout Standard
39511 \begin_inset ERT
39512 status collapsed
39513
39514 \begin_layout Plain Layout
39515
39516
39517 \backslash
39518 ifpicinpar
39519 \end_layout
39520
39521 \end_inset
39522
39523
39524 \begin_inset Note Note
39525 status open
39526
39527 \begin_layout Plain Layout
39528 The following section will only be displayed when the \SpecialChar LaTeX
39529 -package 
39530 \series bold
39531 picinpar
39532 \series default
39533  is installed.
39534 \end_layout
39535
39536 \end_inset
39537
39538
39539 \end_layout
39540
39541 \begin_layout Standard
39542 \begin_inset ERT
39543 status collapsed
39544
39545 \begin_layout Plain Layout
39546
39547
39548 \backslash
39549 begin{window}[2,c,{
39550 \end_layout
39551
39552 \end_inset
39553
39554
39555 \begin_inset Graphics
39556         filename clipart/2D-intensity-plot.pdf
39557         lyxscale 60
39558         width 40col%
39559         scaleBeforeRotation
39560         rotateOrigin center
39561
39562 \end_inset
39563
39564
39565 \begin_inset ERT
39566 status collapsed
39567
39568 \begin_layout Plain Layout
39569
39570 },]
39571 \end_layout
39572
39573 \begin_layout Plain Layout
39574
39575 {}
39576 \end_layout
39577
39578 \end_inset
39579
39580
39581 \size small
39582 It was in the spring of the year 1894 that all London was interested, and
39583  the fashionable world dismayed, by the murder of the Honourable Ronald
39584  Adair under most unusual and inexplicable circumstances.
39585  The public has already learned those particulars of the crime which
39586 \size default
39587
39588 \begin_inset ERT
39589 status collapsed
39590
39591 \begin_layout Plain Layout
39592
39593
39594 \backslash
39595 footnotemark{}
39596 \end_layout
39597
39598 \end_inset
39599
39600
39601 \size small
39602  came out in the police investigation, but a good deal was suppressed upon
39603  that occasion, since the case for the prosecution was so overwhelmingly
39604  strong that it was not necessary to bring forward all the facts.
39605  Only now, at the end of nearly ten years, am I allowed to supply those
39606  missing links which make up the whole of that remarkable chain.
39607 \size default
39608
39609 \begin_inset ERT
39610 status collapsed
39611
39612 \begin_layout Plain Layout
39613
39614
39615 \backslash
39616 end{window}
39617 \end_layout
39618
39619 \end_inset
39620
39621
39622 \end_layout
39623
39624 \begin_layout Standard
39625 \begin_inset ERT
39626 status collapsed
39627
39628 \begin_layout Plain Layout
39629
39630
39631 \backslash
39632 footnotetext{
39633 \end_layout
39634
39635 \end_inset
39636
39637 Footnote of the paragraph with the fixed object.
39638 \begin_inset ERT
39639 status collapsed
39640
39641 \begin_layout Plain Layout
39642
39643 }
39644 \end_layout
39645
39646 \end_inset
39647
39648
39649 \end_layout
39650
39651 \begin_layout Standard
39652 Surrounded fixed objects are used to let text float around them, at which
39653  the object's position in the paragraph can be determined by the number
39654  of lines above it.
39655  In contrary to floats is it not possible to have a numbered caption.
39656 \end_layout
39657
39658 \begin_layout Standard
39659 A fixed object is inserted by adding the command
39660 \end_layout
39661
39662 \begin_layout Standard
39663
39664 \series bold
39665
39666 \backslash
39667 begin{window}[2,c,{
39668 \end_layout
39669
39670 \begin_layout Standard
39671 as \SpecialChar TeX
39672  Code at the beginning of the paragraph.
39673  The first parameter in the bracket, here '2', defines the number of lines
39674  above the object, the second, here 'c', the position of the object.
39675  The positions 'l', 'c' and 'r' (for left, center, right) are possible.
39676  Behind the command you insert the object.
39677  In this example an image with a width of 40
39678 \begin_inset space \thinspace{}
39679 \end_inset
39680
39681 % of the text column width was inserted.
39682  The object can also be a table, a box or an equation.
39683  Behind the object the command
39684 \end_layout
39685
39686 \begin_layout Standard
39687
39688 \series bold
39689 },description text]
39690 \begin_inset Newline newline
39691 \end_inset
39692
39693 {}
39694 \end_layout
39695
39696 \begin_layout Standard
39697 is inserted.
39698  Note that the 
39699 \begin_inset Quotes eld
39700 \end_inset
39701
39702
39703 \series bold
39704 {}
39705 \series default
39706
39707 \begin_inset Quotes erd
39708 \end_inset
39709
39710  is in the second line.
39711  The description text is optional.
39712  The text surrounding the object must be in the same paragraph as the object,
39713  so it must begin directly after the 
39714 \series bold
39715 {}
39716 \series default
39717 .
39718  At the end of the paragraph insert the command:
39719 \end_layout
39720
39721 \begin_layout Standard
39722
39723 \series bold
39724
39725 \backslash
39726 end{window}
39727 \end_layout
39728
39729 \begin_layout Standard
39730 Within a paragraph with a fixed object, you cannot insert footnotes in the
39731  normal way.
39732  You have to use instead the command 
39733 \series bold
39734
39735 \backslash
39736 footnotemark
39737 \series default
39738  inside the paragraph and outside the command 
39739 \series bold
39740
39741 \backslash
39742 footnotetext
39743 \series default
39744  as described in sec.
39745 \begin_inset space \thinspace{}
39746 \end_inset
39747
39748
39749 \begin_inset CommandInset ref
39750 LatexCommand ref
39751 reference "sec:Footnotes"
39752
39753 \end_inset
39754
39755 .
39756 \end_layout
39757
39758 \begin_layout Standard
39759 \begin_inset ERT
39760 status collapsed
39761
39762 \begin_layout Plain Layout
39763
39764
39765 \backslash
39766 else
39767 \end_layout
39768
39769 \end_inset
39770
39771
39772 \begin_inset Note Note
39773 status open
39774
39775 \begin_layout Plain Layout
39776 The following will be displayed when the \SpecialChar LaTeX
39777 -package 
39778 \series bold
39779 picinpar
39780 \series default
39781  is not installed:
39782 \end_layout
39783
39784 \end_inset
39785
39786
39787 \end_layout
39788
39789 \begin_layout Standard
39790 You need to install the \SpecialChar LaTeX
39791 -package 
39792 \series bold
39793 picinpar
39794 \series default
39795  to see the following part of this section in the output.
39796 \end_layout
39797
39798 \begin_layout Standard
39799 \begin_inset ERT
39800 status collapsed
39801
39802 \begin_layout Plain Layout
39803
39804
39805 \backslash
39806 fi
39807 \end_layout
39808
39809 \end_inset
39810
39811
39812 \end_layout
39813
39814 \begin_layout Section
39815 Initials
39816 \begin_inset Index idx
39817 status collapsed
39818
39819 \begin_layout Plain Layout
39820 Initials
39821 \end_layout
39822
39823 \end_inset
39824
39825
39826 \begin_inset Index idx
39827 status collapsed
39828
39829 \begin_layout Plain Layout
39830 Surrounded by text ! Initials
39831 \end_layout
39832
39833 \end_inset
39834
39835
39836 \end_layout
39837
39838 \begin_layout Standard
39839 To use initials, you must have the \SpecialChar LaTeX
39840 -package 
39841 \series bold
39842 lettrine
39843 \series default
39844
39845 \begin_inset Index idx
39846 status collapsed
39847
39848 \begin_layout Plain Layout
39849 \SpecialChar LaTeX
39850 -packages ! lettrine
39851 \end_layout
39852
39853 \end_inset
39854
39855  installed and use the module 
39856 \family sans
39857 Initials
39858 \family default
39859  in your document (menu 
39860 \family sans
39861 Document\SpecialChar menuseparator
39862 Settings\SpecialChar menuseparator
39863 Modules
39864 \family default
39865 ).
39866  To insert an initial, use the style 
39867 \family sans
39868 Initial
39869 \family default
39870 .
39871  This style has a mandatory and two optional arguments.
39872  The arguments are inserted via the 
39873 \family sans
39874 Insert
39875 \family default
39876  menu.
39877  The mandatory argument 
39878 \family sans
39879 Initial
39880 \family default
39881  contains the letter(s) that is the initial, the argument 
39882 \family sans
39883 Rest
39884 \begin_inset space ~
39885 \end_inset
39886
39887 of
39888 \begin_inset space ~
39889 \end_inset
39890
39891 Initial
39892 \family default
39893  contains the rest of the word or text of the initial letter(s).
39894  The argument 
39895 \family sans
39896 Options
39897 \family default
39898  contains parameters to modify the initial.
39899  For more information about the possible parameters see the documentation
39900  of 
39901 \series bold
39902 lettrine
39903 \series default
39904
39905 \begin_inset CommandInset citation
39906 LatexCommand cite
39907 key "lettrine"
39908 literal "true"
39909
39910 \end_inset
39911
39912 .
39913  The style itself contains the text that is surrounding the initial.
39914  The usual style is hereby that the word whose first letter is the initial,
39915  is printed with 
39916 \shape smallcaps
39917 small caps
39918 \shape default
39919 .
39920 \end_layout
39921
39922 \begin_layout Standard
39923 Here are some examples:
39924 \end_layout
39925
39926 \begin_layout Standard
39927 \begin_inset ERT
39928 status collapsed
39929
39930 \begin_layout Plain Layout
39931
39932
39933 \backslash
39934 iflettrine
39935 \end_layout
39936
39937 \end_inset
39938
39939
39940 \begin_inset Note Note
39941 status open
39942
39943 \begin_layout Plain Layout
39944 The following section will only be displayed when the \SpecialChar LaTeX
39945 -package 
39946 \series bold
39947 lettrine
39948 \series default
39949  is installed.
39950 \end_layout
39951
39952 \end_inset
39953
39954
39955 \end_layout
39956
39957 \begin_layout Enumerate
39958 No optional argument, the initial is the letter 'I' in the math font 
39959 \begin_inset Formula $\mathfrak{Fraktur}$
39960 \end_inset
39961
39962 :
39963 \end_layout
39964
39965 \begin_deeper
39966 \begin_layout Initial
39967 \begin_inset Argument 2
39968 status open
39969
39970 \begin_layout Plain Layout
39971 \begin_inset Formula $\mathfrak{I}$
39972 \end_inset
39973
39974
39975 \end_layout
39976
39977 \end_inset
39978
39979
39980 \begin_inset Argument 3
39981 status open
39982
39983 \begin_layout Plain Layout
39984 t
39985 \end_layout
39986
39987 \end_inset
39988
39989  was in the spring of the year 1894 that all London was interested, and
39990  the fashionable world dismayed, by the murder of the Honourable Ronald
39991  Adair under most unusual and inexplicable circumstances.
39992  The public has already learned those particulars of the crime which came
39993  out in the police investigation, but a good deal was suppressed upon that
39994  occasion, since the case for the prosecution was so overwhelmingly strong
39995  that it was not necessary to bring forward all the facts.
39996 \begin_inset Newpage newpage
39997 \end_inset
39998
39999
40000 \end_layout
40001
40002 \end_deeper
40003 \begin_layout Enumerate
40004 Only one line is surrounding the initial, which is formed by two letters
40005  in standard font and no text is printed in small caps:
40006 \end_layout
40007
40008 \begin_deeper
40009 \begin_layout Initial
40010 \begin_inset Argument 1
40011 status open
40012
40013 \begin_layout Plain Layout
40014 lines=1
40015 \end_layout
40016
40017 \end_inset
40018
40019
40020 \begin_inset Argument 2
40021 status open
40022
40023 \begin_layout Plain Layout
40024 It
40025 \end_layout
40026
40027 \end_inset
40028
40029  was in the spring of the year 1894 that all London was interested, and
40030  the fashionable world dismayed, by the murder of the Honourable Ronald
40031  Adair under most unusual and inexplicable circumstances.
40032  The public has already learned those particulars of the crime which came
40033  out in the police investigation, but a good deal was suppressed upon that
40034  occasion, since the case for the prosecution was so overwhelmingly strong
40035  that it was not necessary to bring forward all the facts.
40036 \end_layout
40037
40038 \end_deeper
40039 \begin_layout Enumerate
40040 Magenta, hanging initial over 3
40041 \begin_inset space ~
40042 \end_inset
40043
40044 lines in the math font 
40045 \begin_inset Formula $\mathcal{CALLIGRAPHIC}$
40046 \end_inset
40047
40048 , the text 
40049 \begin_inset Quotes eld
40050 \end_inset
40051
40052 t was in the spring
40053 \begin_inset Quotes erd
40054 \end_inset
40055
40056  is in 
40057 \shape smallcaps
40058 small caps
40059 \shape default
40060 ; to color the initial, you must insert this command before the initial:
40061 \begin_inset Newline newline
40062 \end_inset
40063
40064
40065 \series bold
40066
40067 \backslash
40068 renewcommand{
40069 \backslash
40070 LettrineFontHook}{
40071 \backslash
40072 color{color}}
40073 \series default
40074
40075 \begin_inset Newline newline
40076 \end_inset
40077
40078 where the second 
40079 \emph on
40080 color
40081 \emph default
40082  can be 
40083 \begin_inset Quotes eld
40084 \end_inset
40085
40086 red
40087 \begin_inset Quotes erd
40088 \end_inset
40089
40090
40091 \begin_inset Quotes eld
40092 \end_inset
40093
40094 blue
40095 \begin_inset Quotes erd
40096 \end_inset
40097
40098
40099 \begin_inset Quotes eld
40100 \end_inset
40101
40102 green
40103 \begin_inset Quotes erd
40104 \end_inset
40105
40106
40107 \begin_inset Quotes eld
40108 \end_inset
40109
40110 yellow
40111 \begin_inset Quotes erd
40112 \end_inset
40113
40114
40115 \begin_inset Quotes eld
40116 \end_inset
40117
40118 cyan
40119 \begin_inset Quotes erd
40120 \end_inset
40121
40122
40123 \begin_inset Quotes eld
40124 \end_inset
40125
40126 magenta
40127 \begin_inset Quotes erd
40128 \end_inset
40129
40130
40131 \begin_inset Quotes eld
40132 \end_inset
40133
40134 black
40135 \begin_inset Quotes erd
40136 \end_inset
40137
40138  or 
40139 \begin_inset Quotes eld
40140 \end_inset
40141
40142 white
40143 \begin_inset Quotes erd
40144 \end_inset
40145
40146 , and add this command to the document preamble:
40147 \begin_inset Newline newline
40148 \end_inset
40149
40150
40151 \series bold
40152
40153 \backslash
40154 @ifundefined{textcolor}
40155 \begin_inset Newline newline
40156 \end_inset
40157
40158
40159 \begin_inset space ~
40160 \end_inset
40161
40162 {
40163 \backslash
40164 usepackage{color}}{}
40165 \end_layout
40166
40167 \begin_deeper
40168 \begin_layout Standard
40169 \begin_inset ERT
40170 status collapsed
40171
40172 \begin_layout Plain Layout
40173
40174
40175 \backslash
40176 renewcommand{
40177 \backslash
40178 LettrineFontHook}{
40179 \backslash
40180 color{magenta}}
40181 \end_layout
40182
40183 \end_inset
40184
40185
40186 \begin_inset Note Note
40187 status collapsed
40188
40189 \begin_layout Plain Layout
40190 makes the initial magenta
40191 \end_layout
40192
40193 \end_inset
40194
40195
40196 \end_layout
40197
40198 \begin_layout Initial
40199 \begin_inset Argument 1
40200 status open
40201
40202 \begin_layout Plain Layout
40203 lines=3, lhang=0.33, loversize=0.25
40204 \end_layout
40205
40206 \end_inset
40207
40208
40209 \begin_inset Argument 2
40210 status open
40211
40212 \begin_layout Plain Layout
40213 \begin_inset Formula $\mathcal{I}$
40214 \end_inset
40215
40216
40217 \end_layout
40218
40219 \end_inset
40220
40221
40222 \begin_inset Argument 3
40223 status open
40224
40225 \begin_layout Plain Layout
40226 t was in the spring
40227 \end_layout
40228
40229 \end_inset
40230
40231  of the year 1894 that all London was interested, and the fashionable world
40232  dismayed, by the murder of the Honourable Ronald Adair under most unusual
40233  and inexplicable circumstances.
40234  The public has already learned those particulars of the crime which came
40235  out in the police investigation, but a good deal was suppressed upon that
40236  occasion, since the case for the prosecution was so overwhelmingly strong
40237  that it was not necessary to bring forward all the facts.
40238 \end_layout
40239
40240 \end_deeper
40241 \begin_layout Standard
40242 \begin_inset ERT
40243 status collapsed
40244
40245 \begin_layout Plain Layout
40246
40247
40248 \backslash
40249 else
40250 \end_layout
40251
40252 \end_inset
40253
40254
40255 \begin_inset Note Note
40256 status open
40257
40258 \begin_layout Plain Layout
40259 The following will be displayed when the \SpecialChar LaTeX
40260 -package 
40261 \series bold
40262 lettrine
40263 \series default
40264  is not installed:
40265 \end_layout
40266
40267 \end_inset
40268
40269
40270 \end_layout
40271
40272 \begin_layout Standard
40273 You need to install the \SpecialChar LaTeX
40274 -package 
40275 \series bold
40276 lettrine
40277 \series default
40278  to see the following part of this section in the output.
40279 \end_layout
40280
40281 \begin_layout Standard
40282 \begin_inset ERT
40283 status collapsed
40284
40285 \begin_layout Plain Layout
40286
40287
40288 \backslash
40289 fi
40290 \end_layout
40291
40292 \end_inset
40293
40294
40295 \end_layout
40296
40297 \begin_layout Chapter
40298 External Document Parts
40299 \begin_inset Index idx
40300 status collapsed
40301
40302 \begin_layout Plain Layout
40303 External Document Parts
40304 \end_layout
40305
40306 \end_inset
40307
40308
40309 \end_layout
40310
40311 \begin_layout Standard
40312 With the menu 
40313 \family sans
40314 Insert\SpecialChar menuseparator
40315 File
40316 \family default
40317  you can insert external material into your document.
40318  This can be:
40319 \end_layout
40320
40321 \begin_layout Description
40322 LyX
40323 \begin_inset space ~
40324 \end_inset
40325
40326 Document Another \SpecialChar LyX
40327  document; its content is directly inserted to your document.
40328 \end_layout
40329
40330 \begin_layout Description
40331 Plain
40332 \begin_inset space ~
40333 \end_inset
40334
40335 Text A text document; each line is inserted in your document as a separate
40336  paragraph.
40337 \end_layout
40338
40339 \begin_layout Description
40340 Plain
40341 \begin_inset space ~
40342 \end_inset
40343
40344 Text,
40345 \begin_inset space ~
40346 \end_inset
40347
40348 Join
40349 \begin_inset space ~
40350 \end_inset
40351
40352 Lines A text document; text lines are inserted in your document continuously
40353  but an empty text line creates a new paragraph.
40354 \end_layout
40355
40356 \begin_layout Description
40357 External
40358 \begin_inset space ~
40359 \end_inset
40360
40361 Material Files in various formats.
40362 \end_layout
40363
40364 \begin_layout Description
40365 Child
40366 \begin_inset space ~
40367 \end_inset
40368
40369 Document \SpecialChar LyX
40370  or \SpecialChar LaTeX
40371  documents.
40372 \end_layout
40373
40374 \begin_layout Section
40375 External Material
40376 \begin_inset Index idx
40377 status collapsed
40378
40379 \begin_layout Plain Layout
40380 External Document Parts ! External Material
40381 \end_layout
40382
40383 \end_inset
40384
40385
40386 \end_layout
40387
40388 \begin_layout Standard
40389 The external material feature allows you to insert files into your document
40390  without converting them to a format that can be read by the document output
40391  format.
40392  \SpecialChar LyX
40393  takes care of the necessary conversions.
40394  This is similar to images that can be inserted in various image formats
40395  in \SpecialChar LyX
40396  documents.
40397  When you have enabled Instant Preview in \SpecialChar LyX
40398 's preferences under 
40399 \family sans
40400 Look
40401 \begin_inset space ~
40402 \end_inset
40403
40404 and
40405 \begin_inset space ~
40406 \end_inset
40407
40408 feel\SpecialChar menuseparator
40409 Graphics
40410 \family default
40411 , the external material types Dia and Xfig are directly shown in \SpecialChar LyX
40412 .
40413 \end_layout
40414
40415 \begin_layout Standard
40416 External material can be inserted via the 
40417 \family sans
40418 External Material
40419 \family default
40420  dialog that is accessible with the menu 
40421 \family sans
40422 Insert\SpecialChar menuseparator
40423 File\SpecialChar menuseparator
40424 External
40425 \begin_inset space ~
40426 \end_inset
40427
40428 Material
40429 \family default
40430 .
40431  Currently the following file types (
40432 \family sans
40433 Templates
40434 \family default
40435 ) are allowed:
40436 \end_layout
40437
40438 \begin_layout Description
40439 Chess
40440 \begin_inset space ~
40441 \end_inset
40442
40443 diagram This template supports chess position diagrams made with the program
40444  
40445 \series bold
40446
40447 \begin_inset CommandInset href
40448 LatexCommand href
40449 name "XBoard"
40450 target "https://en.wikipedia.org/wiki/XBoard"
40451 literal "false"
40452
40453 \end_inset
40454
40455
40456 \series default
40457 .
40458 \end_layout
40459
40460 \begin_layout Description
40461 Dia
40462 \begin_inset space ~
40463 \end_inset
40464
40465 diagram This template supports diagrams created with the program 
40466 \series bold
40467
40468 \begin_inset CommandInset href
40469 LatexCommand href
40470 name "Dia"
40471 target "https://en.wikipedia.org/wiki/Dia_(software)"
40472 literal "false"
40473
40474 \end_inset
40475
40476
40477 \series default
40478 .
40479 \end_layout
40480
40481 \begin_layout Description
40482 Inkscape
40483 \begin_inset space ~
40484 \end_inset
40485
40486 figure This template supports specific scalable images derived from scalable
40487  vector graphics (SVG), in which the contained text is replaced by a version
40488  typeset by \SpecialChar LaTeX
40489  (and hence in the current document font).
40490  It relies on a feature of the program 
40491 \series bold
40492
40493 \begin_inset CommandInset href
40494 LatexCommand href
40495 name "Inkscape"
40496 target "https://inkscape.org/"
40497 literal "false"
40498
40499 \end_inset
40500
40501
40502 \series default
40503  which creates a special PDF or EPS and \SpecialChar LaTeX
40504  file from a given SVG file (in
40505  
40506 \noun on
40507 Inkscape
40508 \noun default
40509  itself, the feature is available via the option 
40510 \family sans
40511 Omit text in PDF and create LaTeX file
40512 \family default
40513  when saving a drawing as PDF or EPS).
40514  The benefit of such files is a uniform text style throughout the whole
40515  document.
40516 \begin_inset Newline newline
40517 \end_inset
40518
40519 The external template reads SVG files and uses a converter program to generate
40520  the respective PDF\SpecialChar breakableslash
40521 EPS and \SpecialChar LaTeX
40522  files (via
40523 \noun on
40524  
40525 \noun default
40526 Inkscape
40527 \noun on
40528 )
40529 \noun default
40530  on the fly, so you don't have to export those files yourself.
40531  If you prefer the latter and want use given 
40532 \family typewriter
40533 *.pdf
40534 \family default
40535  and 
40536 \family typewriter
40537 *.pdf_tex
40538 \family default
40539  or 
40540 \family typewriter
40541 *.eps
40542 \family default
40543  and 
40544 \family typewriter
40545 *.eps_tex
40546 \family default
40547  files instead, simply input the respective 
40548 \family typewriter
40549 *.pdf_tex
40550 \family default
40551  or 
40552 \family typewriter
40553 *.eps_tex
40554 \family default
40555  file via the 
40556 \family sans
40557 Child Documents
40558 \family default
40559  dialog (see sec.
40560 \begin_inset space ~
40561 \end_inset
40562
40563
40564 \begin_inset CommandInset ref
40565 LatexCommand ref
40566 reference "sec:Child-Documents"
40567
40568 \end_inset
40569
40570 ) rather than using this template.
40571 \begin_inset Newline newline
40572 \end_inset
40573
40574 You can use \SpecialChar TeX
40575  code commands such as 
40576 \series bold
40577
40578 \backslash
40579 Large
40580 \series default
40581
40582 \series bold
40583
40584 \backslash
40585 small
40586 \series default
40587 , etc.
40588 \begin_inset space \space{}
40589 \end_inset
40590
40591 in the text of the SVG.
40592  The size of the font will be taken from the settings of the \SpecialChar LyX
40593  document.
40594  Please refer to 
40595 \begin_inset CommandInset citation
40596 LatexCommand cite
40597 key "Inkscape"
40598 literal "false"
40599
40600 \end_inset
40601
40602  for more information and examples.
40603 \end_layout
40604
40605 \begin_layout Description
40606 Lilypond
40607 \begin_inset space ~
40608 \end_inset
40609
40610 typeset
40611 \begin_inset space ~
40612 \end_inset
40613
40614 music This template is used for music notation typeset with the program
40615 \begin_inset Newline linebreak
40616 \end_inset
40617
40618
40619 \series bold
40620
40621 \begin_inset CommandInset href
40622 LatexCommand href
40623 name "LilyPond"
40624 target "https://en.wikipedia.org/wiki/LilyPond"
40625 literal "false"
40626
40627 \end_inset
40628
40629
40630 \series default
40631 .
40632  For \SpecialChar LyX
40633 's extended support for LilyPond have a look at \SpecialChar LyX
40634 's example file 
40635 \emph on
40636 lilypond.lyx
40637 \emph default
40638 .
40639 \end_layout
40640
40641 \begin_layout Description
40642 PDF
40643 \begin_inset space ~
40644 \end_inset
40645
40646 pages With this template you can insert PDF documents to your document.
40647  To specify the range of pages that should be included, use the option 
40648 \series bold
40649 pages
40650 \series default
40651  in the 
40652 \family sans
40653 Option
40654 \family default
40655  field in the 
40656 \family sans
40657 LaTeX and LyX options
40658 \family default
40659  tab.
40660  The argument of this option is a comma separated list, containing page
40661  numbers (insert as option 
40662 \series bold
40663 pages={3,5,6,8}
40664 \series default
40665 ), ranges of page numbers (
40666 \series bold
40667 pages={4-9}
40668 \series default
40669 ) or any combination.
40670  To insert empty pages use {}.
40671  E.
40672 \begin_inset space \thinspace{}
40673 \end_inset
40674
40675 g.
40676 \begin_inset space ~
40677 \end_inset
40678
40679
40680 \series bold
40681 pages={3,{},8-11,15}
40682 \series default
40683  will insert page 3, an empty page, and pages 8, 9, 10, 11 and 15.
40684  Page ranges are specified in the syntax 
40685 \emph on
40686 start
40687 \emph default
40688 -
40689 \emph on
40690 stop
40691 \emph default
40692 .
40693  This selects all pages from 
40694 \emph on
40695 start
40696 \emph default
40697  to 
40698 \emph on
40699 stop
40700 \emph default
40701 .
40702  Omitting 
40703 \emph on
40704 start
40705 \emph default
40706  defaults to the first page; omitting 
40707 \emph on
40708 stop
40709 \emph default
40710  defaults to the last page of the document.
40711  The last page can also be selected with the keyword 
40712 \series bold
40713 last
40714 \series default
40715 .
40716  (This is only permitted in a page range.) So 
40717 \series bold
40718 pages=-
40719 \series default
40720  will insert all pages of the document and 
40721 \series bold
40722 pages=last-1
40723 \series default
40724  will insert all pages in reverse order.
40725  If the pages option is not specified, only the first page of the PDF is
40726  inserted.
40727 \begin_inset Newline newline
40728 \end_inset
40729
40730 The option 
40731 \series bold
40732 noautoscale
40733 \series default
40734  inserts the pages with their original size, if this option is not given,
40735  the pages will be resized to fith the width of the page of your document.
40736  In the tab 
40737 \family sans
40738 Size and Rotation
40739 \family default
40740  you can specify the width and height of the input pages and their rotation.
40741  If another width than 100
40742 \begin_inset space \thinspace{}
40743 \end_inset
40744
40745 Scale% is used, the option 
40746 \series bold
40747 noautoscale
40748 \series default
40749  will be overwritten.
40750  For more info and possible options, have a look into the documentation
40751  of the \SpecialChar LaTeX
40752 -package 
40753 \series bold
40754 pdfpages
40755 \series default
40756  
40757 \begin_inset CommandInset citation
40758 LatexCommand cite
40759 key "pdfpages"
40760 literal "true"
40761
40762 \end_inset
40763
40764 .
40765 \begin_inset Index idx
40766 status collapsed
40767
40768 \begin_layout Plain Layout
40769 \SpecialChar LaTeX
40770 -packages ! pdfpages
40771 \end_layout
40772
40773 \end_inset
40774
40775
40776 \begin_inset Newline newline
40777 \end_inset
40778
40779 To use this template in a 
40780 \family sans
40781 Beamer
40782 \family default
40783  presentation you need to first insert an 
40784 \family sans
40785 EndFrame
40786 \family default
40787  environment and in a subsequent paragraph a \SpecialChar TeX
40788  Code box containing the command
40789  
40790 \series bold
40791
40792 \backslash
40793 setbeamertemplate{background canvas}{}
40794 \series default
40795 .
40796  Then you can insert as many paragraphs containing the PDFPages template
40797  as you wish.
40798  Behind the included PDF pages you can resume the Beamer presentation by
40799  beginning a new frame or by starting a new section.
40800  To avoid stray blank pages prior to the PDF pages, make sure to use the
40801  
40802 \family sans
40803 Default
40804 \family default
40805  alignment for the paragraph containing the template.
40806 \begin_inset Newline newline
40807 \end_inset
40808
40809 Here is an included PDF which is rotated by -5°: 
40810 \begin_inset External
40811         template PDFPages
40812         filename clipart/Abstract.pdf
40813         extra LaTeX "noautoscale, pages=-"
40814         rotateAngle -5
40815         rotateOrigin bottomleft
40816
40817 \end_inset
40818
40819
40820 \end_layout
40821
40822 \begin_layout Description
40823 Raster
40824 \begin_inset space ~
40825 \end_inset
40826
40827 image This can be used for bitmap images.
40828  The image can be treated in the 
40829 \family sans
40830 External material
40831 \family default
40832  dialog like the images that are usually included via the 
40833 \family sans
40834 Graphics
40835 \family default
40836  dialog as described in section
40837 \begin_inset space ~
40838 \end_inset
40839
40840
40841 \begin_inset CommandInset ref
40842 LatexCommand ref
40843 reference "sec:Graphics-Dialog"
40844
40845 \end_inset
40846
40847 .
40848  Here is an inserted raster image: 
40849 \begin_inset External
40850         template RasterImage
40851         filename clipart/ToolbarEnvBox.png
40852
40853 \end_inset
40854
40855
40856 \end_layout
40857
40858 \begin_layout Description
40859 Spreadsheet With this template you can insert spreadsheets
40860 \begin_inset space \thinspace{}
40861 \end_inset
40862
40863 /
40864 \begin_inset space \thinspace{}
40865 \end_inset
40866
40867 tables in the format of 
40868 \series bold
40869
40870 \begin_inset CommandInset href
40871 LatexCommand href
40872 name "Gnumeric"
40873 target "https://en.wikipedia.org/wiki/Gnumeric"
40874 literal "false"
40875
40876 \end_inset
40877
40878
40879 \series default
40880
40881 \begin_inset CommandInset href
40882 LatexCommand href
40883 name "OpenDocument"
40884 target "https://en.wikipedia.org/wiki/OpenDocument"
40885 literal "false"
40886
40887 \end_inset
40888
40889
40890 \begin_inset CommandInset href
40891 LatexCommand href
40892 name "Microsoft Office XML"
40893 target "https://en.wikipedia.org/wiki/Microsoft_Office_XML_formats"
40894 literal "false"
40895
40896 \end_inset
40897
40898  and 
40899 \begin_inset CommandInset href
40900 LatexCommand href
40901 name "Office Open XML"
40902 target "https://en.wikipedia.org/wiki/Office_Open_XML"
40903 literal "false"
40904
40905 \end_inset
40906
40907 .
40908  For this feature \SpecialChar LyX
40909  must have found the program 
40910 \family typewriter
40911 ssconvert
40912 \family default
40913  during its configuration.
40914  This program is part of Gnumeric, so that you must have Gnumeric installed,
40915  also if you don't have tables in the Gnumeric format.
40916  For examples and possible limitations have a look at \SpecialChar LyX
40917 's example file 
40918 \emph on
40919 spreadsheet.lyx
40920 \emph default
40921 .
40922 \end_layout
40923
40924 \begin_layout Description
40925 Vector
40926 \begin_inset space ~
40927 \end_inset
40928
40929 graphics This can be used for vector graphics.
40930  The image can be treated in the 
40931 \family sans
40932 External material
40933 \family default
40934  dialog like the images that are usually included via the 
40935 \family sans
40936 Graphics
40937 \family default
40938  dialog as described in section
40939 \begin_inset space ~
40940 \end_inset
40941
40942
40943 \begin_inset CommandInset ref
40944 LatexCommand ref
40945 reference "sec:Graphics-Dialog"
40946
40947 \end_inset
40948
40949 .
40950  Here is an inserted vector graphics: 
40951 \begin_inset External
40952         template VectorGraphics
40953         filename clipart/SVG-Drawing.svg
40954         lyxscale 50
40955         scale 33
40956
40957 \end_inset
40958
40959
40960 \end_layout
40961
40962 \begin_layout Description
40963 Xfig
40964 \begin_inset space ~
40965 \end_inset
40966
40967 figure This template supports images created with the program 
40968 \begin_inset CommandInset href
40969 LatexCommand href
40970 name "Xfig"
40971 target "https://en.wikipedia.org/wiki/Xfig"
40972 literal "false"
40973
40974 \end_inset
40975
40976 .
40977 \end_layout
40978
40979 \begin_layout Standard
40980 When you use the option 
40981 \family sans
40982 Draft
40983 \family default
40984  in the 
40985 \family sans
40986 File
40987 \family default
40988  tab of the 
40989 \family sans
40990 External Material
40991 \family default
40992  dialog, only the path to the inserted file is shown in the output.
40993 \begin_inset Newline newline
40994 \end_inset
40995
40996 External material is displayed in \SpecialChar LyX
40997  either as a box like this: 
40998 \begin_inset Graphics
40999         filename clipart/ExternalMaterial.png
41000         scale 95
41001         scaleBeforeRotation
41002
41003 \end_inset
41004
41005  or as image, depending on the option 
41006 \family sans
41007 Show in LyX
41008 \family default
41009  in the 
41010 \family sans
41011 LaTeX and LyX options
41012 \family default
41013  tab of the dialog.
41014 \end_layout
41015
41016 \begin_layout Standard
41017 The 
41018 \family sans
41019 \emph on
41020 Customization
41021 \family default
41022 \emph default
41023  manual explains how you can define your own templates.
41024 \end_layout
41025
41026 \begin_layout Section
41027 Child Documents
41028 \begin_inset CommandInset label
41029 LatexCommand label
41030 name "sec:Child-Documents"
41031
41032 \end_inset
41033
41034
41035 \begin_inset Index idx
41036 status collapsed
41037
41038 \begin_layout Plain Layout
41039 External Document Parts ! Child Documents
41040 \end_layout
41041
41042 \end_inset
41043
41044
41045 \begin_inset Index idx
41046 status collapsed
41047
41048 \begin_layout Plain Layout
41049 Files ! Include
41050 \end_layout
41051
41052 \end_inset
41053
41054
41055 \end_layout
41056
41057 \begin_layout Standard
41058 Child documents are used if you have a long document consisting of several
41059  larger parts or sections.
41060  For maintenance it is often useful and sometimes even required to split
41061  the document into several files that can be revised separately.
41062  The different documents are then the so called 
41063 \begin_inset Quotes eld
41064 \end_inset
41065
41066 child documents
41067 \begin_inset Quotes erd
41068 \end_inset
41069
41070 , and a master document connects them to print the full document or parts
41071  of it.
41072  A child document inherits elements from its master, for example the \SpecialChar LaTeX
41073  preamble,
41074  the bibliography, and labels for cross-references.
41075 \end_layout
41076
41077 \begin_layout Standard
41078 To be able to work on child documents without the need to open their master,
41079  specify in the child document the master in the menu
41080 \family sans
41081  Document\SpecialChar menuseparator
41082 Settings\SpecialChar menuseparator
41083 Document
41084 \begin_inset space ~
41085 \end_inset
41086
41087 Class
41088 \family default
41089 .
41090  This master document will then be used in the background by \SpecialChar LyX
41091  when you edit
41092  the child document.
41093 \end_layout
41094
41095 \begin_layout Standard
41096 Included documents are displayed in \SpecialChar LyX
41097  as a box like this: 
41098 \begin_inset Graphics
41099         filename clipart/ChildDocument.png
41100         scale 95
41101         scaleBeforeRotation
41102
41103 \end_inset
41104
41105  To include child documents in a master document use the menu 
41106 \family sans
41107 Insert\SpecialChar menuseparator
41108 File\SpecialChar menuseparator
41109 Child
41110 \begin_inset space ~
41111 \end_inset
41112
41113 Documents
41114 \family default
41115 .
41116  A dialog pops up where you can choose between four include methods:
41117 \end_layout
41118
41119 \begin_layout Description
41120 Include You can include \SpecialChar LyX
41121  and \SpecialChar LaTeX
41122  documents.
41123  When you press the 
41124 \family sans
41125 Edit
41126 \family default
41127  button in the 
41128 \family sans
41129 Child Document
41130 \family default
41131  dialog, the included document will be opened in \SpecialChar LyX
41132  in a new file tab so that
41133  you can modify it.
41134 \begin_inset Newline newline
41135 \end_inset
41136
41137
41138 \end_layout
41139
41140 \begin_layout Standard
41141 Here is a child document inserted using 
41142 \family sans
41143 Include
41144 \family default
41145
41146 \begin_inset CommandInset include
41147 LatexCommand include
41148 filename "DummyDocument1.lyx"
41149 literal "true"
41150
41151 \end_inset
41152
41153
41154 \end_layout
41155
41156 \begin_layout Standard
41157 The section numbering includes the sections of the included files in the
41158  order they are inserted in the master document.
41159  The included example document has for example a subsection that is numbered
41160  as a subsection of this section.
41161  Labels of included documents can be referenced: Subsection
41162 \begin_inset space ~
41163 \end_inset
41164
41165
41166 \begin_inset CommandInset ref
41167 LatexCommand ref
41168 reference "subsec:External-Subsection-1"
41169
41170 \end_inset
41171
41172 .
41173 \end_layout
41174
41175 \begin_layout Standard
41176 The preamble of the child document is ignored; only the preamble of the
41177  master document is used.
41178  Branches in child documents will be ignored by the master document when
41179  the master document does not have a branch with the same name.
41180  Included documents are inserted starting on a new page and ending with
41181  a page break.
41182 \end_layout
41183
41184 \begin_layout Standard
41185 \begin_inset Note Greyedout
41186 status open
41187
41188 \begin_layout Plain Layout
41189
41190 \series bold
41191 Note:
41192 \series default
41193  If you have included a \SpecialChar LyX
41194  or \SpecialChar LaTeX
41195  file, you are warned when you export/view the
41196  document in case the child document uses another document class than the
41197  master document as this will lead to unexpected outputs.
41198 \end_layout
41199
41200 \end_inset
41201
41202
41203 \end_layout
41204
41205 \begin_layout Description
41206 Input This method is very similar to the Include method.
41207  The differences are:
41208 \end_layout
41209
41210 \begin_deeper
41211 \begin_layout Itemize
41212 Input files don't start with a new page and don't end with a page break.
41213 \end_layout
41214
41215 \begin_layout Itemize
41216 Input files can be previewed in \SpecialChar LyX
41217  when 
41218 \family sans
41219 Instant
41220 \begin_inset space ~
41221 \end_inset
41222
41223 Preview
41224 \family default
41225  is enabled in \SpecialChar LyX
41226 's preferences under 
41227 \family sans
41228 Look
41229 \begin_inset space ~
41230 \end_inset
41231
41232 and
41233 \begin_inset space ~
41234 \end_inset
41235
41236 feel\SpecialChar menuseparator
41237 Graphics
41238 \family default
41239 .
41240 \end_layout
41241
41242 \begin_layout Itemize
41243 You cannot exclude Input files via the menu 
41244 \family sans
41245 Document\SpecialChar menuseparator
41246 Settings\SpecialChar menuseparator
41247 Child Documents
41248 \family default
41249 .
41250 \end_layout
41251
41252 \end_deeper
41253 \begin_layout Standard
41254 Here is a child document inserted using 
41255 \family sans
41256 Input
41257 \family default
41258
41259 \begin_inset CommandInset include
41260 LatexCommand input
41261 filename "DummyDocument2.lyx"
41262 literal "true"
41263
41264 \end_inset
41265
41266
41267 \end_layout
41268
41269 \begin_layout Description
41270 Verbatim With this method any text file can be included.
41271  The file is shown in the output with its source code; no command used in
41272  the text is invoked.
41273  You can use the option 
41274 \family sans
41275 Mark spaces in output
41276 \family default
41277  that displays the character 
41278 \begin_inset Quotes eld
41279 \end_inset
41280
41281
41282 \begin_inset ERT
41283 status collapsed
41284
41285 \begin_layout Plain Layout
41286
41287
41288 \backslash
41289 textvisiblespace 
41290 \end_layout
41291
41292 \end_inset
41293
41294
41295 \begin_inset Quotes erd
41296 \end_inset
41297
41298  for every space character in the source code.
41299  The difference from the method via the menu 
41300 \family sans
41301 Insert\SpecialChar menuseparator
41302 File\SpecialChar menuseparator
41303 Plain
41304 \begin_inset space ~
41305 \end_inset
41306
41307 Text
41308 \family default
41309  is that the document content is not shown in \SpecialChar LyX
41310 .
41311 \end_layout
41312
41313 \begin_layout Standard
41314 Here is a child document inserted as Verbatim: 
41315 \begin_inset CommandInset include
41316 LatexCommand verbatiminput
41317 filename "DummyTextDocument.txt"
41318 literal "true"
41319
41320 \end_inset
41321
41322
41323 \begin_inset VSpace bigskip
41324 \end_inset
41325
41326  Here is a child document inserted as Verbatim using the 
41327 \family sans
41328 Mark spaces in output
41329 \family default
41330  option: 
41331 \begin_inset CommandInset include
41332 LatexCommand verbatiminput*
41333 filename "DummyTextDocument.txt"
41334 literal "true"
41335
41336 \end_inset
41337
41338
41339 \end_layout
41340
41341 \begin_layout Standard
41342 \begin_inset VSpace bigskip
41343 \end_inset
41344
41345
41346 \end_layout
41347
41348 \begin_layout Standard
41349 \begin_inset Note Greyedout
41350 status open
41351
41352 \begin_layout Plain Layout
41353
41354 \series bold
41355 Note:
41356 \series default
41357  As you can see in the examples above, the text of the documents included
41358  as 
41359 \family sans
41360 verbatim
41361 \family default
41362  is not broken at the end of the document lines.
41363 \end_layout
41364
41365 \end_inset
41366
41367
41368 \end_layout
41369
41370 \begin_layout Description
41371 Listings This type is described in chapter
41372 \begin_inset space ~
41373 \end_inset
41374
41375
41376 \begin_inset CommandInset ref
41377 LatexCommand ref
41378 reference "cha:Program-Code-Listings"
41379
41380 \end_inset
41381
41382 .
41383 \end_layout
41384
41385 \begin_layout Standard
41386 \begin_inset Note Greyedout
41387 status open
41388
41389 \begin_layout Plain Layout
41390
41391 \series bold
41392 Note:
41393 \series default
41394  Including the same document twice in a document using different methods
41395  could cause \SpecialChar LaTeX
41396 -problems.
41397 \end_layout
41398
41399 \end_inset
41400
41401
41402 \end_layout
41403
41404 \begin_layout Standard
41405 If you want to view/export only selected children of your master document,
41406  either because you want to save compiling time or because you want to distribut
41407 e single chapters of the book you are just writing, you can exclude children
41408  from the output.
41409  This is done via the menu 
41410 \family sans
41411 Document\SpecialChar menuseparator
41412 Settings\SpecialChar menuseparator
41413 Child Documents
41414 \family default
41415 .
41416  You can exclude\SpecialChar breakableslash
41417 include children by double-clicking on the 
41418 \family sans
41419 include to output
41420 \family default
41421  column of the respective child document in the list (note that this only
41422  works for documents embedded via 
41423 \begin_inset Quotes eld
41424 \end_inset
41425
41426 Include
41427 \begin_inset Quotes erd
41428 \end_inset
41429
41430 , not with 
41431 \begin_inset Quotes eld
41432 \end_inset
41433
41434 Input
41435 \begin_inset Quotes erd
41436 \end_inset
41437
41438 ).
41439  
41440 \change_inserted -712698321 1584102244
41441
41442 \end_layout
41443
41444 \begin_layout Standard
41445
41446 \change_inserted -712698321 1584102427
41447 In the section 
41448 \family sans
41449 Global Counters & References
41450 \family default
41451  you can set how page numbers, references, section counters etc.
41452  are handled.
41453 \end_layout
41454
41455 \begin_layout Itemize
41456
41457 \change_inserted -712698321 1584102377
41458 With the option 
41459 \family sans
41460 Strictly maintain
41461 \family default
41462
41463 \change_deleted -712698321 1584102385
41464 If the option 
41465 \family sans
41466 Maintain counters and references
41467 \family default
41468  is enabled, 
41469 \change_unchanged
41470 \SpecialChar LyX
41471  will assure that all page numbers, references etc.
41472 \begin_inset space ~
41473 \end_inset
41474
41475 are correct as if the whole document was 
41476 \change_deleted -712698321 1584108508
41477 processed
41478 \change_inserted -712698321 1584108509
41479 output
41480 \change_unchanged
41481 .
41482  This is useful if you want the selected sub-documents to look exactly as
41483  in the context of the whole document.
41484  However, \SpecialChar LyX
41485  needs to process the whole document in the background for this
41486  feature
41487 \change_inserted -712698321 1584102406
41488 , which can take a long time
41489 \change_unchanged
41490 .
41491
41492 \change_deleted -712698321 1584103026
41493  
41494 \change_inserted -712698321 1584102447
41495
41496 \end_layout
41497
41498 \begin_layout Itemize
41499
41500 \change_inserted -712698321 1584102489
41501 With the option 
41502 \family sans
41503 Do not maintain
41504 \family default
41505
41506 \change_unchanged
41507 \SpecialChar LyX
41508
41509 \change_inserted -712698321 1584103270
41510  only compiles the master and the included documents.
41511  Thus the counters will differ from the complete document, and references
41512  to excluded child documents will not be resolved.
41513  
41514 \change_deleted -712698321 1584102517
41515 So i
41516 \change_inserted -712698321 1584102518
41517 I
41518 \change_unchanged
41519 f you want to save compile time and if counters and references do not need
41520  to be correct, 
41521 \change_deleted -712698321 1584102523
41522 disable this checkbox
41523 \change_inserted -712698321 1584102546
41524 use this option as this is the fastest one
41525 \change_unchanged
41526 .
41527 \change_inserted -712698321 1584102550
41528
41529 \end_layout
41530
41531 \begin_layout Itemize
41532
41533 \change_inserted -712698321 1584109486
41534 The option 
41535 \family sans
41536 Maintain mostly
41537 \family default
41538  is somewhat in-between the above two.
41539  If this is selected, \SpecialChar LyX
41540  will compile the whole document at the first output,
41541  which sets up counters and references correctly.
41542  In subsequent outputs, it will compile the whole document only if a change
41543  has been made in an excluded child document.
41544  As long as you only edit the included files, this approach is as fast as
41545  the second one, while giving you more or less correct counters and references.
41546  They are only more or less correct since the change of size of included
41547  documents obviously also changes the pagination of excluded documents,
41548  but this change cannot be tracked with this method.
41549 \change_unchanged
41550
41551 \end_layout
41552
41553 \begin_layout Standard
41554 Alternatively, you can put each included file into a branch.
41555 \begin_inset Foot
41556 status collapsed
41557
41558 \begin_layout Plain Layout
41559 Branches are described in section 
41560 \emph on
41561 Branches
41562 \emph default
41563  of the \SpecialChar LyX
41564  
41565 \emph on
41566 Userguide
41567 \emph default
41568 .
41569 \end_layout
41570
41571 \end_inset
41572
41573  By enabling\SpecialChar breakableslash
41574 disabling branches you can decide which included files will
41575  appear in the output.
41576  This has the advantage that it also works with Input'ed sub-documents.
41577  However, counters and references will not be maintained with this approach.
41578 \end_layout
41579
41580 \begin_layout Chapter
41581 Program Code Listings
41582 \begin_inset CommandInset label
41583 LatexCommand label
41584 name "cha:Program-Code-Listings"
41585
41586 \end_inset
41587
41588
41589 \begin_inset Index idx
41590 status collapsed
41591
41592 \begin_layout Plain Layout
41593 Listings
41594 \end_layout
41595
41596 \end_inset
41597
41598
41599 \begin_inset Index idx
41600 status collapsed
41601
41602 \begin_layout Plain Layout
41603 Program Code
41604 \end_layout
41605
41606 \end_inset
41607
41608
41609 \begin_inset Index idx
41610 status collapsed
41611
41612 \begin_layout Plain Layout
41613 Floats ! Listings
41614 \end_layout
41615
41616 \end_inset
41617
41618
41619 \end_layout
41620
41621 \begin_layout Standard
41622 To include and typeset program code you can use the 
41623 \family sans
41624 Listings
41625 \family default
41626  inset that can be inserted via the menu 
41627 \family sans
41628 Insert\SpecialChar menuseparator
41629 Program Listing
41630 \family default
41631 .
41632  The \SpecialChar LaTeX
41633 -packages 
41634 \series bold
41635 listings
41636 \series default
41637
41638 \begin_inset Index idx
41639 status collapsed
41640
41641 \begin_layout Plain Layout
41642 \SpecialChar LaTeX
41643 -packages ! listings
41644 \end_layout
41645
41646 \end_inset
41647
41648  or 
41649 \series bold
41650 minted
41651 \series default
41652
41653 \begin_inset Index idx
41654 status collapsed
41655
41656 \begin_layout Plain Layout
41657 \SpecialChar LaTeX
41658 -packages ! minted
41659 \end_layout
41660
41661 \end_inset
41662
41663  provide a powerful and flexible way to insert program source code into
41664  your document.
41665  One can only use one of these packages in a document.
41666  
41667 \series bold
41668 listings
41669 \series default
41670  is used by default.
41671 \end_layout
41672
41673 \begin_layout Standard
41674 \begin_inset Note Note
41675 status open
41676
41677 \begin_layout Plain Layout
41678
41679 \series bold
41680 Note:
41681 \series default
41682  \SpecialChar LyX
41683  does NOT want to encourage users to add the 
41684 \family typewriter
41685 -shell-escape
41686 \family default
41687  option to converter definitions.
41688  It works, but it is a huge security risk.
41689  There is an active discussion about how to handle this.
41690  Once that's been resolved, this can be updated appropriately.
41691 \end_layout
41692
41693 \begin_layout Plain Layout
41694 =====
41695 \end_layout
41696
41697 \begin_layout Plain Layout
41698 In order to use 
41699 \series bold
41700 minted
41701 \series default
41702 , you need to select it as the syntax highlighting package in the document
41703  settings under 
41704 \family sans
41705 Listings
41706 \family default
41707 .
41708  
41709 \series bold
41710 minted
41711 \series default
41712  requires also additionally the module 
41713 \family sans
41714 pygments
41715 \family default
41716  of the software 
41717 \noun on
41718 Python
41719 \noun default
41720
41721 \begin_inset Foot
41722 status collapsed
41723
41724 \begin_layout Plain Layout
41725 Under \SpecialChar LyX
41726  for Windows 
41727 \family sans
41728 pygments
41729 \family default
41730  is already installed.
41731 \end_layout
41732
41733 \end_inset
41734
41735  and the option 
41736 \family typewriter
41737 -shell-escape
41738 \family default
41739  for the \SpecialChar LaTeX
41740  processor.
41741  If you want for example view or export your document as the format 
41742 \family sans
41743 PDF
41744 \begin_inset space ~
41745 \end_inset
41746
41747 (pdflatex)
41748 \family default
41749 , go to the \SpecialChar LyX
41750  preferences and there to the section 
41751 \family sans
41752 File
41753 \begin_inset space ~
41754 \end_inset
41755
41756 Handling\SpecialChar menuseparator
41757 Converters
41758 \family default
41759 .
41760  There go to the entry 
41761 \family sans
41762 LaTeX
41763 \begin_inset space ~
41764 \end_inset
41765
41766 (pdflatex) -> PDF
41767 \begin_inset space ~
41768 \end_inset
41769
41770 (pdflatex)
41771 \family default
41772  and look at the field 
41773 \family sans
41774 Converter
41775 \family default
41776 .
41777  There you see by default the content
41778 \begin_inset Newline newline
41779 \end_inset
41780
41781
41782 \series bold
41783 pdflatex $$i
41784 \series default
41785
41786 \begin_inset Newline newline
41787 \end_inset
41788
41789 Now change it to
41790 \begin_inset Newline newline
41791 \end_inset
41792
41793
41794 \series bold
41795 pdflatex $$i -shell-escape
41796 \begin_inset Newline newline
41797 \end_inset
41798
41799
41800 \series default
41801 and press the 
41802 \family sans
41803 Modify
41804 \family default
41805  button and subsequently 
41806 \family sans
41807 Apply
41808 \family default
41809  or 
41810 \family sans
41811 Save
41812 \family default
41813 .
41814  The same can be done for the output formats 
41815 \family sans
41816 PDF
41817 \begin_inset space ~
41818 \end_inset
41819
41820 (LuaTeX)
41821 \family default
41822  and 
41823 \family sans
41824 PDF
41825 \begin_inset space ~
41826 \end_inset
41827
41828 (XeTeX)
41829 \family default
41830 .
41831 \end_layout
41832
41833 \end_inset
41834
41835
41836 \end_layout
41837
41838 \begin_layout Standard
41839 Right-clicking on a listings inset opens the context menu containing where
41840  you can set the listings format.
41841 \end_layout
41842
41843 \begin_layout Standard
41844 By default, a listing starts a new paragraph in the output.
41845  The placement option 
41846 \family sans
41847 Inline
41848 \begin_inset space ~
41849 \end_inset
41850
41851 listing
41852 \family default
41853  prints the listing inline like this: 
41854 \begin_inset listings
41855 lstparams "language={C++}"
41856 inline true
41857 status open
41858
41859 \begin_layout Plain Layout
41860
41861 int a=5;
41862 \end_layout
41863
41864 \end_inset
41865
41866
41867 \begin_inset Newline newline
41868 \end_inset
41869
41870 The option 
41871 \family sans
41872 Float
41873 \family default
41874  creates a listings float where you can specify the placement options 
41875 \begin_inset Quotes eld
41876 \end_inset
41877
41878
41879 \family sans
41880 h
41881 \family default
41882
41883 \begin_inset Quotes erd
41884 \end_inset
41885
41886
41887 \begin_inset Quotes eld
41888 \end_inset
41889
41890
41891 \family sans
41892 t
41893 \family default
41894
41895 \begin_inset Quotes erd
41896 \end_inset
41897
41898
41899 \begin_inset Quotes eld
41900 \end_inset
41901
41902
41903 \family sans
41904 b
41905 \family default
41906
41907 \begin_inset Quotes erd
41908 \end_inset
41909
41910 , and 
41911 \begin_inset Quotes eld
41912 \end_inset
41913
41914
41915 \family sans
41916 p
41917 \family default
41918
41919 \begin_inset Quotes erd
41920 \end_inset
41921
41922  corresponding to the float placement options described in section
41923 \begin_inset space ~
41924 \end_inset
41925
41926
41927 \begin_inset CommandInset ref
41928 LatexCommand ref
41929 reference "sec:Float-Settings"
41930
41931 \end_inset
41932
41933 .
41934  The placement options can be mixed and are inserted without any separation,
41935  e.
41936 \begin_inset space \thinspace{}
41937 \end_inset
41938
41939 g.
41940 \begin_inset space \space{}
41941 \end_inset
41942
41943
41944 \begin_inset Quotes eld
41945 \end_inset
41946
41947
41948 \family sans
41949 htbp
41950 \family default
41951
41952 \begin_inset Quotes erd
41953 \end_inset
41954
41955 .
41956  The option 
41957 \begin_inset Quotes eld
41958 \end_inset
41959
41960 h
41961 \begin_inset Quotes erd
41962 \end_inset
41963
41964  has sometimes no effect, but you don't need to use the 
41965 \family sans
41966 Float
41967 \family default
41968  option in this case as also non-float listings can have captions and be
41969  referenced.
41970 \end_layout
41971
41972 \begin_layout Standard
41973 You can add captions to listings that are not inline with the menu 
41974 \family sans
41975 Insert\SpecialChar menuseparator
41976 Caption
41977 \family default
41978 .
41979  Listings can be referenced like floats: Listing
41980 \begin_inset space ~
41981 \end_inset
41982
41983
41984 \begin_inset CommandInset ref
41985 LatexCommand ref
41986 reference "lst:Example-Listing"
41987
41988 \end_inset
41989
41990 .
41991  A list of listings which contains all listings with captions can be created
41992  via the menu 
41993 \family sans
41994 Insert\SpecialChar menuseparator
41995 List
41996 \begin_inset space ~
41997 \end_inset
41998
41999 /
42000 \begin_inset space ~
42001 \end_inset
42002
42003 TOC\SpecialChar menuseparator
42004 List of Listings
42005 \family default
42006 .
42007  The list entries are the listing caption and the listing number.
42008 \end_layout
42009
42010 \begin_layout Standard
42011 \begin_inset listings
42012 lstparams "language=Python"
42013 inline false
42014 status open
42015
42016 \begin_layout Plain Layout
42017
42018 \begin_inset Caption Standard
42019
42020 \begin_layout Plain Layout
42021 \begin_inset CommandInset label
42022 LatexCommand label
42023 name "lst:Example-Listing"
42024
42025 \end_inset
42026
42027 Example Listing float
42028 \end_layout
42029
42030 \end_inset
42031
42032 # Example listing float
42033 \end_layout
42034
42035 \begin_layout Plain Layout
42036
42037 def func(param):
42038 \end_layout
42039
42040 \begin_layout Plain Layout
42041
42042     'this is a python function'
42043 \end_layout
42044
42045 \begin_layout Plain Layout
42046
42047     pass
42048 \end_layout
42049
42050 \end_inset
42051
42052
42053 \end_layout
42054
42055 \begin_layout Standard
42056 \begin_inset Note Greyedout
42057 status open
42058
42059 \begin_layout Plain Layout
42060
42061 \series bold
42062 Note: 
42063 \series default
42064 The 
42065 \series bold
42066 listings
42067 \series default
42068  package places captions before the listing by default.
42069 \begin_inset Newline newline
42070 \end_inset
42071
42072 The 
42073 \series bold
42074 minted
42075 \series default
42076  package places them after the listing by default if it is floating.
42077  If it is not floating, caption will be typeset before the listing if it
42078  is inserted to its first line, otherwise it will be typeset after the listing.
42079  If you want to force the placement in every case before the listing, you
42080  have to add the following lines as last thing to the preamble:
42081 \begin_inset Newline newline
42082 \end_inset
42083
42084
42085 \series bold
42086
42087 \backslash
42088 @ifundefined{newfloat}
42089 \begin_inset Newline newline
42090 \end_inset
42091
42092
42093 \begin_inset Phantom HPhantom
42094 status open
42095
42096 \begin_layout Plain Layout
42097
42098 \series bold
42099 \begin_inset space ~
42100 \end_inset
42101
42102
42103 \end_layout
42104
42105 \end_inset
42106
42107 {
42108 \backslash
42109 usepackage{float}}{}
42110 \begin_inset Newline newline
42111 \end_inset
42112
42113
42114 \backslash
42115 floatstyle{plaintop}
42116 \series default
42117
42118 \begin_inset Note Note
42119 status collapsed
42120
42121 \begin_layout Plain Layout
42122 The package 
42123 \series bold
42124 float
42125 \series default
42126  will be loaded automatically by \SpecialChar LyX
42127  when you use special document-wide float
42128  placement settings.
42129  To avoid that it is loaded twice the command 
42130 \series bold
42131
42132 \backslash
42133 @ifundefined
42134 \series default
42135  is used in the above command.
42136 \end_layout
42137
42138 \end_inset
42139
42140
42141 \end_layout
42142
42143 \end_inset
42144
42145
42146 \end_layout
42147
42148 \begin_layout Standard
42149 When you have set a programming language in the listings dialog, the keywords
42150  of this language will be recognized and specially typeset in the output.
42151  In the example listings the Python keyword 
42152 \begin_inset Quotes eld
42153 \end_inset
42154
42155 def
42156 \begin_inset Quotes erd
42157 \end_inset
42158
42159  is recognized and printed bold in the output.
42160 \end_layout
42161
42162 \begin_layout Standard
42163 \begin_inset Note Greyedout
42164 status open
42165
42166 \begin_layout Plain Layout
42167
42168 \series bold
42169 Note:
42170 \series default
42171  If you don't get bold keywords when using typewriter fonts, your 
42172 \family typewriter
42173 typewriter
42174 \family default
42175  font probably doesn't provide a bold shape.
42176  In this case select a different one in the menu 
42177 \family sans
42178 Document\SpecialChar menuseparator
42179 Settings\SpecialChar menuseparator
42180 Fonts
42181 \family default
42182 .
42183  (The fonts 
42184 \emph on
42185 LuxiMono, BeraMono
42186 \emph default
42187  and 
42188 \emph on
42189 Courier
42190 \emph default
42191  provide bold shapes.)
42192 \end_layout
42193
42194 \end_inset
42195
42196
42197 \end_layout
42198
42199 \begin_layout Standard
42200 In section 
42201 \family sans
42202 Line
42203 \begin_inset space ~
42204 \end_inset
42205
42206 numbering
42207 \family default
42208  of the listings dialog you can specify the line numbering style.
42209  You can insert a number to specify which lines are numbered in the field
42210  
42211 \family sans
42212 Step
42213 \family default
42214 .
42215  When you insert e.
42216 \begin_inset space \thinspace{}
42217 \end_inset
42218
42219 g.
42220 \begin_inset space \space{}
42221 \end_inset
42222
42223
42224 \begin_inset Quotes eld
42225 \end_inset
42226
42227 3
42228 \begin_inset Quotes erd
42229 \end_inset
42230
42231 , only every 3rd line will be numbered.
42232 \end_layout
42233
42234 \begin_layout Standard
42235 You can furthermore specify a range of lines; only these will then appear
42236  in the output.
42237  The option 
42238 \family sans
42239 Extended character table
42240 \family default
42241  is only meaningful for the 
42242 \series bold
42243 listings
42244 \series default
42245  package and should be used when you use national characters like the German
42246  umlauts in the listing.
42247 \begin_inset Newline newline
42248 \end_inset
42249
42250 Here is an example listing with left line numbering, step 
42251 \begin_inset Quotes eld
42252 \end_inset
42253
42254 3
42255 \begin_inset Quotes erd
42256 \end_inset
42257
42258 , language 
42259 \begin_inset Quotes eld
42260 \end_inset
42261
42262 Python
42263 \begin_inset Quotes erd
42264 \end_inset
42265
42266 , options 
42267 \begin_inset Quotes eld
42268 \end_inset
42269
42270 Extended character table
42271 \begin_inset Quotes erd
42272 \end_inset
42273
42274  and 
42275 \begin_inset Quotes eld
42276 \end_inset
42277
42278 Space
42279 \begin_inset space ~
42280 \end_inset
42281
42282 as
42283 \begin_inset space ~
42284 \end_inset
42285
42286 symbol
42287 \begin_inset Quotes erd
42288 \end_inset
42289
42290 , range lines 3
42291 \begin_inset space \thinspace{}
42292 \end_inset
42293
42294 -
42295 \begin_inset space \thinspace{}
42296 \end_inset
42297
42298 8:
42299 \end_layout
42300
42301 \begin_layout Standard
42302 \begin_inset listings
42303 lstparams "extendedchars=true,firstline=3,language=Python,lastline=8,numbers=left,showspaces=true,stepnumber=3"
42304 inline false
42305 status open
42306
42307 \begin_layout Plain Layout
42308
42309 def func(param):
42310 \end_layout
42311
42312 \begin_layout Plain Layout
42313
42314     'this is a python function'
42315 \end_layout
42316
42317 \begin_layout Plain Layout
42318
42319     pass
42320 \end_layout
42321
42322 \begin_layout Plain Layout
42323
42324 def func(param):
42325 \end_layout
42326
42327 \begin_layout Plain Layout
42328
42329 'This is a German word: Tschüß'
42330 \end_layout
42331
42332 \begin_layout Plain Layout
42333
42334 pass
42335 \end_layout
42336
42337 \begin_layout Plain Layout
42338
42339 def func(param):
42340 \end_layout
42341
42342 \begin_layout Plain Layout
42343
42344 'this is a python function'
42345 \end_layout
42346
42347 \begin_layout Plain Layout
42348
42349 pass
42350 \end_layout
42351
42352 \end_inset
42353
42354
42355 \end_layout
42356
42357 \begin_layout Standard
42358 When you have tabulators in your listing, you can specify the number of
42359  characters that are spanned by a tabulator in the field 
42360 \family sans
42361 Tabulator
42362 \begin_inset space ~
42363 \end_inset
42364
42365 size
42366 \family default
42367 .
42368 \end_layout
42369
42370 \begin_layout Standard
42371 \begin_inset Note Greyedout
42372 status open
42373
42374 \begin_layout Plain Layout
42375
42376 \series bold
42377 Note:
42378 \series default
42379  Due to a bug in the 
42380 \series bold
42381 listings
42382 \series default
42383  package the line numbering is shifted by a line by every previous listing.
42384  That's the reason why the lines 2 and 5 are numbered in the above listing
42385  and not the lines 3 and 6.
42386 \end_layout
42387
42388 \end_inset
42389
42390
42391 \end_layout
42392
42393 \begin_layout Standard
42394 \begin_inset VSpace bigskip
42395 \end_inset
42396
42397
42398 \end_layout
42399
42400 \begin_layout Standard
42401 It is also possible to print lines from a file as listing.
42402  To do this, use the menu 
42403 \family sans
42404 Insert\SpecialChar menuseparator
42405 File\SpecialChar menuseparator
42406 Child Document
42407 \family default
42408  and choose the type 
42409 \family sans
42410 Listings
42411 \family default
42412 .
42413 \begin_inset Foot
42414 status collapsed
42415
42416 \begin_layout Plain Layout
42417 The other child document types are described in section
42418 \begin_inset space ~
42419 \end_inset
42420
42421
42422 \begin_inset CommandInset ref
42423 LatexCommand ref
42424 reference "sec:Child-Documents"
42425
42426 \end_inset
42427
42428 .
42429 \end_layout
42430
42431 \end_inset
42432
42433  In the child document dialog you can specify the listing parameters in
42434  a text box.
42435  To show a list of all available parameters, type in a question mark 
42436 \begin_inset Quotes eld
42437 \end_inset
42438
42439 ?
42440 \begin_inset Quotes erd
42441 \end_inset
42442
42443  in the text box.
42444 \end_layout
42445
42446 \begin_layout Standard
42447 To reference child document listings, write a label text into the corresponding
42448  field of the child document dialog.
42449  The label can then be referenced using the menu 
42450 \family sans
42451 Insert\SpecialChar menuseparator
42452 Cross-Reference
42453 \family default
42454 .
42455 \end_layout
42456
42457 \begin_layout Standard
42458 Listing
42459 \begin_inset space ~
42460 \end_inset
42461
42462
42463 \begin_inset CommandInset ref
42464 LatexCommand ref
42465 reference "lst:file-listing"
42466
42467 \end_inset
42468
42469  is an example for a listing of a file; there the lines 10
42470 \begin_inset space \thinspace{}
42471 \end_inset
42472
42473 -
42474 \begin_inset space \thinspace{}
42475 \end_inset
42476
42477 15 of this \SpecialChar LyX
42478  file are listed.
42479 \end_layout
42480
42481 \begin_layout Standard
42482 \begin_inset CommandInset include
42483 LatexCommand lstinputlisting
42484 filename "EmbeddedObjects.lyx"
42485 lstparams "breaklines=true,caption={Lines 10 - 15 of this LyX file},extendedchars=true,firstline=10,label={lst:file-listing},language={[LaTeX]TeX},lastline=15"
42486 literal "true"
42487
42488 \end_inset
42489
42490
42491 \end_layout
42492
42493 \begin_layout Standard
42494 \begin_inset VSpace bigskip
42495 \end_inset
42496
42497
42498 \end_layout
42499
42500 \begin_layout Standard
42501 Inserting a formula into a listing can be done the following way:
42502 \end_layout
42503
42504 \begin_layout Enumerate
42505 Open the listings dialog and add
42506 \begin_inset Newline newline
42507 \end_inset
42508
42509
42510 \family sans
42511 mathescape=true
42512 \family default
42513
42514 \begin_inset Newline newline
42515 \end_inset
42516
42517 to the field of the 
42518 \family sans
42519 Advanced
42520 \family default
42521  tab.
42522 \end_layout
42523
42524 \begin_layout Enumerate
42525 Create a formula outside the listing
42526 \end_layout
42527
42528 \begin_layout Enumerate
42529 Copy the content of the formula (not the formula inset) to the clipboard
42530  (shortcut 
42531 \begin_inset Info
42532 type  "shortcut"
42533 arg   "copy"
42534 \end_inset
42535
42536 )
42537 \end_layout
42538
42539 \begin_layout Enumerate
42540 In the listing write 
42541 \begin_inset Quotes eld
42542 \end_inset
42543
42544
42545 \family sans
42546 $$
42547 \family default
42548
42549 \begin_inset Quotes erd
42550 \end_inset
42551
42552  and copy from the clipboard between the dollar-signs (shortcut 
42553 \begin_inset Info
42554 type  "shortcut"
42555 arg   "paste"
42556 \end_inset
42557
42558 )
42559 \end_layout
42560
42561 \begin_layout Standard
42562 \begin_inset listings
42563 lstparams "language=Python,mathescape=true"
42564 inline false
42565 status open
42566
42567 \begin_layout Plain Layout
42568
42569 \begin_inset Caption Standard
42570
42571 \begin_layout Plain Layout
42572 Example Listing float containing a formula
42573 \end_layout
42574
42575 \end_inset
42576
42577 # Example listing float
42578 \end_layout
42579
42580 \begin_layout Plain Layout
42581
42582 def func(param):
42583 \end_layout
42584
42585 \begin_layout Plain Layout
42586
42587     # $
42588 \backslash
42589 prod_{n=1}^{
42590 \backslash
42591 infty}
42592 \backslash
42593 ,
42594 \backslash
42595 frac{1}{x^{2}}$
42596 \end_layout
42597
42598 \begin_layout Plain Layout
42599
42600     pass
42601 \end_layout
42602
42603 \end_inset
42604
42605
42606 \end_layout
42607
42608 \begin_layout Standard
42609 \begin_inset VSpace bigskip
42610 \end_inset
42611
42612
42613 \end_layout
42614
42615 \begin_layout Standard
42616 Global listings settings can be set in the 
42617 \family sans
42618 Document\SpecialChar menuseparator
42619 Settings\SpecialChar menuseparator
42620 Listings
42621 \family default
42622  dialog.
42623  To get there a list of available options, type in a question mark 
42624 \begin_inset Quotes eld
42625 \end_inset
42626
42627 ?
42628 \begin_inset Quotes erd
42629 \end_inset
42630
42631 .
42632 \end_layout
42633
42634 \begin_layout Standard
42635 For more information about the 
42636 \series bold
42637 listings
42638 \series default
42639  and 
42640 \series bold
42641 minted
42642 \series default
42643  packages, we refer to their documentation 
42644 \begin_inset CommandInset citation
42645 LatexCommand cite
42646 key "listings,minted"
42647 literal "true"
42648
42649 \end_inset
42650
42651 .
42652 \end_layout
42653
42654 \begin_layout Standard
42655 \begin_inset Newpage newpage
42656 \end_inset
42657
42658
42659 \end_layout
42660
42661 \begin_layout Chapter
42662 \start_of_appendix
42663 Units available in \SpecialChar LyX
42664
42665 \begin_inset Index idx
42666 status collapsed
42667
42668 \begin_layout Plain Layout
42669 Units
42670 \end_layout
42671
42672 \end_inset
42673
42674
42675 \begin_inset CommandInset label
42676 LatexCommand label
42677 name "cha:Units-available-in"
42678
42679 \end_inset
42680
42681
42682 \end_layout
42683
42684 \begin_layout Standard
42685 To understand the units described in this documentation, Table
42686 \begin_inset space ~
42687 \end_inset
42688
42689
42690 \begin_inset CommandInset ref
42691 LatexCommand ref
42692 reference "tab:Units"
42693
42694 \end_inset
42695
42696  explains all units available in \SpecialChar LyX
42697 .
42698 \end_layout
42699
42700 \begin_layout Standard
42701 \begin_inset Float table
42702 placement h
42703 alignment document
42704 wide false
42705 sideways false
42706 status open
42707
42708 \begin_layout Plain Layout
42709 \begin_inset Caption Standard
42710
42711 \begin_layout Plain Layout
42712 \begin_inset CommandInset label
42713 LatexCommand label
42714 name "tab:Units"
42715
42716 \end_inset
42717
42718 Units
42719 \end_layout
42720
42721 \end_inset
42722
42723
42724 \end_layout
42725
42726 \begin_layout Plain Layout
42727 \begin_inset VSpace medskip
42728 \end_inset
42729
42730
42731 \end_layout
42732
42733 \begin_layout Plain Layout
42734 \align center
42735 \begin_inset Tabular
42736 <lyxtabular version="3" rows="21" columns="3">
42737 <features tabularvalignment="middle">
42738 <column alignment="center" valignment="top">
42739 <column alignment="center" valignment="middle" width="50col%">
42740 <column alignment="center" valignment="top">
42741 <row>
42742 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
42743 \begin_inset Text
42744
42745 \begin_layout Plain Layout
42746 unit
42747 \end_layout
42748
42749 \end_inset
42750 </cell>
42751 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
42752 \begin_inset Text
42753
42754 \begin_layout Plain Layout
42755 name/description
42756 \end_layout
42757
42758 \end_inset
42759 </cell>
42760 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
42761 \begin_inset Text
42762
42763 \begin_layout Plain Layout
42764 \SpecialChar LaTeX
42765  command
42766 \end_layout
42767
42768 \end_inset
42769 </cell>
42770 </row>
42771 <row>
42772 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42773 \begin_inset Text
42774
42775 \begin_layout Plain Layout
42776 bp
42777 \end_layout
42778
42779 \end_inset
42780 </cell>
42781 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42782 \begin_inset Text
42783
42784 \begin_layout Plain Layout
42785 big point (72
42786 \begin_inset space \thinspace{}
42787 \end_inset
42788
42789 bp = 1
42790 \begin_inset space \thinspace{}
42791 \end_inset
42792
42793 in)
42794 \end_layout
42795
42796 \end_inset
42797 </cell>
42798 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42799 \begin_inset Text
42800
42801 \begin_layout Plain Layout
42802 -
42803 \end_layout
42804
42805 \end_inset
42806 </cell>
42807 </row>
42808 <row>
42809 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42810 \begin_inset Text
42811
42812 \begin_layout Plain Layout
42813 cc
42814 \end_layout
42815
42816 \end_inset
42817 </cell>
42818 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42819 \begin_inset Text
42820
42821 \begin_layout Plain Layout
42822 cicero (1
42823 \begin_inset space \thinspace{}
42824 \end_inset
42825
42826 cc = 12
42827 \begin_inset space \thinspace{}
42828 \end_inset
42829
42830 dd)
42831 \end_layout
42832
42833 \end_inset
42834 </cell>
42835 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42836 \begin_inset Text
42837
42838 \begin_layout Plain Layout
42839 -
42840 \end_layout
42841
42842 \end_inset
42843 </cell>
42844 </row>
42845 <row>
42846 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42847 \begin_inset Text
42848
42849 \begin_layout Plain Layout
42850 cm
42851 \end_layout
42852
42853 \end_inset
42854 </cell>
42855 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42856 \begin_inset Text
42857
42858 \begin_layout Plain Layout
42859 centimeter
42860 \end_layout
42861
42862 \end_inset
42863 </cell>
42864 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42865 \begin_inset Text
42866
42867 \begin_layout Plain Layout
42868 -
42869 \end_layout
42870
42871 \end_inset
42872 </cell>
42873 </row>
42874 <row>
42875 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42876 \begin_inset Text
42877
42878 \begin_layout Plain Layout
42879 dd
42880 \end_layout
42881
42882 \end_inset
42883 </cell>
42884 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42885 \begin_inset Text
42886
42887 \begin_layout Plain Layout
42888 didot (1
42889 \begin_inset space \thinspace{}
42890 \end_inset
42891
42892 dd 
42893 \begin_inset Formula $\approx$
42894 \end_inset
42895
42896  0.376
42897 \begin_inset space \thinspace{}
42898 \end_inset
42899
42900 mm)
42901 \end_layout
42902
42903 \end_inset
42904 </cell>
42905 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42906 \begin_inset Text
42907
42908 \begin_layout Plain Layout
42909 -
42910 \end_layout
42911
42912 \end_inset
42913 </cell>
42914 </row>
42915 <row>
42916 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42917 \begin_inset Text
42918
42919 \begin_layout Plain Layout
42920 em
42921 \end_layout
42922
42923 \end_inset
42924 </cell>
42925 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42926 \begin_inset Text
42927
42928 \begin_layout Plain Layout
42929 width of letter 
42930 \emph on
42931 M
42932 \emph default
42933  in current font
42934 \end_layout
42935
42936 \end_inset
42937 </cell>
42938 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42939 \begin_inset Text
42940
42941 \begin_layout Plain Layout
42942 -
42943 \end_layout
42944
42945 \end_inset
42946 </cell>
42947 </row>
42948 <row>
42949 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42950 \begin_inset Text
42951
42952 \begin_layout Plain Layout
42953 ex
42954 \end_layout
42955
42956 \end_inset
42957 </cell>
42958 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42959 \begin_inset Text
42960
42961 \begin_layout Plain Layout
42962 height of letter 
42963 \emph on
42964 x
42965 \emph default
42966  in current font
42967 \end_layout
42968
42969 \end_inset
42970 </cell>
42971 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42972 \begin_inset Text
42973
42974 \begin_layout Plain Layout
42975 -
42976 \end_layout
42977
42978 \end_inset
42979 </cell>
42980 </row>
42981 <row>
42982 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42983 \begin_inset Text
42984
42985 \begin_layout Plain Layout
42986 in
42987 \end_layout
42988
42989 \end_inset
42990 </cell>
42991 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42992 \begin_inset Text
42993
42994 \begin_layout Plain Layout
42995 inch
42996 \end_layout
42997
42998 \end_inset
42999 </cell>
43000 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43001 \begin_inset Text
43002
43003 \begin_layout Plain Layout
43004 -
43005 \end_layout
43006
43007 \end_inset
43008 </cell>
43009 </row>
43010 <row>
43011 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43012 \begin_inset Text
43013
43014 \begin_layout Plain Layout
43015 mm
43016 \end_layout
43017
43018 \end_inset
43019 </cell>
43020 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43021 \begin_inset Text
43022
43023 \begin_layout Plain Layout
43024 millimeter
43025 \end_layout
43026
43027 \end_inset
43028 </cell>
43029 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43030 \begin_inset Text
43031
43032 \begin_layout Plain Layout
43033 -
43034 \end_layout
43035
43036 \end_inset
43037 </cell>
43038 </row>
43039 <row>
43040 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43041 \begin_inset Text
43042
43043 \begin_layout Plain Layout
43044 mu
43045 \end_layout
43046
43047 \end_inset
43048 </cell>
43049 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43050 \begin_inset Text
43051
43052 \begin_layout Plain Layout
43053 math unit (1
43054 \begin_inset space \thinspace{}
43055 \end_inset
43056
43057 mu = 1/18
43058 \begin_inset space \thinspace{}
43059 \end_inset
43060
43061 em)
43062 \end_layout
43063
43064 \end_inset
43065 </cell>
43066 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43067 \begin_inset Text
43068
43069 \begin_layout Plain Layout
43070 -
43071 \end_layout
43072
43073 \end_inset
43074 </cell>
43075 </row>
43076 <row>
43077 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43078 \begin_inset Text
43079
43080 \begin_layout Plain Layout
43081 pt
43082 \end_layout
43083
43084 \end_inset
43085 </cell>
43086 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43087 \begin_inset Text
43088
43089 \begin_layout Plain Layout
43090 point (72.27
43091 \begin_inset space \thinspace{}
43092 \end_inset
43093
43094 pt = 1
43095 \begin_inset space \thinspace{}
43096 \end_inset
43097
43098 in)
43099 \end_layout
43100
43101 \end_inset
43102 </cell>
43103 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43104 \begin_inset Text
43105
43106 \begin_layout Plain Layout
43107 -
43108 \end_layout
43109
43110 \end_inset
43111 </cell>
43112 </row>
43113 <row>
43114 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43115 \begin_inset Text
43116
43117 \begin_layout Plain Layout
43118 pc
43119 \end_layout
43120
43121 \end_inset
43122 </cell>
43123 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43124 \begin_inset Text
43125
43126 \begin_layout Plain Layout
43127 pica (1
43128 \begin_inset space \thinspace{}
43129 \end_inset
43130
43131 pc = 12
43132 \begin_inset space \thinspace{}
43133 \end_inset
43134
43135 pt)
43136 \end_layout
43137
43138 \end_inset
43139 </cell>
43140 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43141 \begin_inset Text
43142
43143 \begin_layout Plain Layout
43144 -
43145 \end_layout
43146
43147 \end_inset
43148 </cell>
43149 </row>
43150 <row>
43151 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43152 \begin_inset Text
43153
43154 \begin_layout Plain Layout
43155 sp
43156 \end_layout
43157
43158 \end_inset
43159 </cell>
43160 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43161 \begin_inset Text
43162
43163 \begin_layout Plain Layout
43164 scaled point (65536
43165 \begin_inset space \thinspace{}
43166 \end_inset
43167
43168 sp = 1
43169 \begin_inset space \thinspace{}
43170 \end_inset
43171
43172 pt)
43173 \end_layout
43174
43175 \end_inset
43176 </cell>
43177 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43178 \begin_inset Text
43179
43180 \begin_layout Plain Layout
43181 -
43182 \end_layout
43183
43184 \end_inset
43185 </cell>
43186 </row>
43187 <row>
43188 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43189 \begin_inset Text
43190
43191 \begin_layout Plain Layout
43192 Column Width %
43193 \end_layout
43194
43195 \end_inset
43196 </cell>
43197 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43198 \begin_inset Text
43199
43200 \begin_layout Plain Layout
43201 % of column width
43202 \end_layout
43203
43204 \end_inset
43205 </cell>
43206 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43207 \begin_inset Text
43208
43209 \begin_layout Plain Layout
43210
43211 \backslash
43212 columnwidth
43213 \end_layout
43214
43215 \end_inset
43216 </cell>
43217 </row>
43218 <row>
43219 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43220 \begin_inset Text
43221
43222 \begin_layout Plain Layout
43223 Line Distance %
43224 \end_layout
43225
43226 \end_inset
43227 </cell>
43228 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43229 \begin_inset Text
43230
43231 \begin_layout Plain Layout
43232 % of height between baselines of two subsequent text lines
43233 \end_layout
43234
43235 \end_inset
43236 </cell>
43237 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43238 \begin_inset Text
43239
43240 \begin_layout Plain Layout
43241
43242 \backslash
43243 baselineskip
43244 \end_layout
43245
43246 \end_inset
43247 </cell>
43248 </row>
43249 <row>
43250 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43251 \begin_inset Text
43252
43253 \begin_layout Plain Layout
43254 Line Width %
43255 \end_layout
43256
43257 \end_inset
43258 </cell>
43259 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43260 \begin_inset Text
43261
43262 \begin_layout Plain Layout
43263 % of line width
43264 \end_layout
43265
43266 \end_inset
43267 </cell>
43268 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43269 \begin_inset Text
43270
43271 \begin_layout Plain Layout
43272
43273 \backslash
43274 linewidth
43275 \end_layout
43276
43277 \end_inset
43278 </cell>
43279 </row>
43280 <row>
43281 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43282 \begin_inset Text
43283
43284 \begin_layout Plain Layout
43285 Page Height %
43286 \end_layout
43287
43288 \end_inset
43289 </cell>
43290 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43291 \begin_inset Text
43292
43293 \begin_layout Plain Layout
43294 % of paper height
43295 \end_layout
43296
43297 \end_inset
43298 </cell>
43299 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43300 \begin_inset Text
43301
43302 \begin_layout Plain Layout
43303
43304 \backslash
43305 paperheight
43306 \end_layout
43307
43308 \end_inset
43309 </cell>
43310 </row>
43311 <row>
43312 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43313 \begin_inset Text
43314
43315 \begin_layout Plain Layout
43316 Page Width %
43317 \end_layout
43318
43319 \end_inset
43320 </cell>
43321 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43322 \begin_inset Text
43323
43324 \begin_layout Plain Layout
43325 % of paper width
43326 \end_layout
43327
43328 \end_inset
43329 </cell>
43330 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43331 \begin_inset Text
43332
43333 \begin_layout Plain Layout
43334
43335 \backslash
43336 paperwidth
43337 \end_layout
43338
43339 \end_inset
43340 </cell>
43341 </row>
43342 <row>
43343 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43344 \begin_inset Text
43345
43346 \begin_layout Plain Layout
43347 Scale Graphics %
43348 \end_layout
43349
43350 \end_inset
43351 </cell>
43352 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43353 \begin_inset Text
43354
43355 \begin_layout Plain Layout
43356 % of original image width
43357 \end_layout
43358
43359 \end_inset
43360 </cell>
43361 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43362 \begin_inset Text
43363
43364 \begin_layout Plain Layout
43365
43366 \end_layout
43367
43368 \end_inset
43369 </cell>
43370 </row>
43371 <row>
43372 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43373 \begin_inset Text
43374
43375 \begin_layout Plain Layout
43376 Text Height %
43377 \end_layout
43378
43379 \end_inset
43380 </cell>
43381 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43382 \begin_inset Text
43383
43384 \begin_layout Plain Layout
43385 % of text height
43386 \end_layout
43387
43388 \end_inset
43389 </cell>
43390 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43391 \begin_inset Text
43392
43393 \begin_layout Plain Layout
43394
43395 \backslash
43396 textheight
43397 \end_layout
43398
43399 \end_inset
43400 </cell>
43401 </row>
43402 <row>
43403 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
43404 \begin_inset Text
43405
43406 \begin_layout Plain Layout
43407 Text Width %
43408 \end_layout
43409
43410 \end_inset
43411 </cell>
43412 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
43413 \begin_inset Text
43414
43415 \begin_layout Plain Layout
43416 % of text width
43417 \end_layout
43418
43419 \end_inset
43420 </cell>
43421 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
43422 \begin_inset Text
43423
43424 \begin_layout Plain Layout
43425
43426 \backslash
43427 textwidth
43428 \end_layout
43429
43430 \end_inset
43431 </cell>
43432 </row>
43433 </lyxtabular>
43434
43435 \end_inset
43436
43437
43438 \end_layout
43439
43440 \end_inset
43441
43442
43443 \end_layout
43444
43445 \begin_layout Chapter
43446 Output File Formats with Graphics
43447 \begin_inset CommandInset label
43448 LatexCommand label
43449 name "cha:Output-File-Formats"
43450
43451 \end_inset
43452
43453
43454 \end_layout
43455
43456 \begin_layout Section
43457 DVI
43458 \begin_inset Index idx
43459 status collapsed
43460
43461 \begin_layout Plain Layout
43462 File Formats ! DVI
43463 \end_layout
43464
43465 \end_inset
43466
43467
43468 \begin_inset Index idx
43469 status collapsed
43470
43471 \begin_layout Plain Layout
43472 DVI|see
43473 \begin_inset ERT
43474 status collapsed
43475
43476 \begin_layout Plain Layout
43477
43478 {
43479 \end_layout
43480
43481 \end_inset
43482
43483 File Formats
43484 \begin_inset ERT
43485 status collapsed
43486
43487 \begin_layout Plain Layout
43488
43489 }
43490 \end_layout
43491
43492 \end_inset
43493
43494
43495 \end_layout
43496
43497 \end_inset
43498
43499
43500 \end_layout
43501
43502 \begin_layout Standard
43503 This file type has the extension 
43504 \begin_inset Quotes eld
43505 \end_inset
43506
43507
43508 \family typewriter
43509 .dvi
43510 \family default
43511
43512 \begin_inset Quotes erd
43513 \end_inset
43514
43515 .
43516  It is called 
43517 \begin_inset Quotes eld
43518 \end_inset
43519
43520 device-independent
43521 \begin_inset Quotes erd
43522 \end_inset
43523
43524  (DVI), because it is completely portable; you can move them from one machine
43525  to another without needing to do any sort of conversion.
43526  At the time when this file-format was developed, this was no matter of
43527  course.
43528  DVIs are used for quick previews and as pre-stage for other output formats,
43529  like PostScript.
43530 \end_layout
43531
43532 \begin_layout Standard
43533 \begin_inset Note Greyedout
43534 status open
43535
43536 \begin_layout Plain Layout
43537
43538 \series bold
43539 Note:
43540 \series default
43541  DVI-files do not contain images; they will only be a linked.
43542 \end_layout
43543
43544 \end_inset
43545
43546  So don't forget this, if you move your 
43547 \family typewriter
43548 .dvi
43549 \family default
43550  file to another computer.
43551  This property can also slow down your computer when you view the DVI, because
43552  the DVI-viewer has to convert the image in the background to make it visible
43553  when you scroll in the DVI.
43554  So it is recommended that you use PDF for files with many images.
43555 \end_layout
43556
43557 \begin_layout Standard
43558 You can export your document to DVI by using the menu 
43559 \family sans
43560 File\SpecialChar menuseparator
43561 Export\SpecialChar menuseparator
43562 DVI
43563 \family default
43564 .
43565  You can view your document as DVI via the 
43566 \family sans
43567 View
43568 \family default
43569  menu.
43570 \end_layout
43571
43572 \begin_layout Section
43573 PostScript
43574 \begin_inset Index idx
43575 status collapsed
43576
43577 \begin_layout Plain Layout
43578 File Formats ! PostScript
43579 \end_layout
43580
43581 \end_inset
43582
43583
43584 \begin_inset Index idx
43585 status collapsed
43586
43587 \begin_layout Plain Layout
43588 PostScript|see
43589 \begin_inset ERT
43590 status collapsed
43591
43592 \begin_layout Plain Layout
43593
43594 {
43595 \end_layout
43596
43597 \end_inset
43598
43599 File Formats
43600 \begin_inset ERT
43601 status collapsed
43602
43603 \begin_layout Plain Layout
43604
43605 }
43606 \end_layout
43607
43608 \end_inset
43609
43610
43611 \end_layout
43612
43613 \end_inset
43614
43615
43616 \end_layout
43617
43618 \begin_layout Standard
43619 This file type has the extension 
43620 \begin_inset Quotes eld
43621 \end_inset
43622
43623
43624 \family typewriter
43625 .ps
43626 \family default
43627
43628 \begin_inset Quotes erd
43629 \end_inset
43630
43631 .
43632  PostScript was developed by the company 
43633 \family typewriter
43634 Adobe
43635 \family default
43636  as a printer language.
43637  The file therefore contains commands that the printer uses to print the
43638  file.
43639  PostScript can be seen as a 
43640 \begin_inset Quotes eld
43641 \end_inset
43642
43643 programming language
43644 \begin_inset Quotes erd
43645 \end_inset
43646
43647 ; you can calculate with it and draw diagrams and images.
43648 \begin_inset Foot
43649 status collapsed
43650
43651 \begin_layout Plain Layout
43652 If you are interested to learn more about this, have a look at the \SpecialChar LaTeX
43653 -package
43654  
43655 \series bold
43656 PSTricks
43657 \series default
43658  
43659 \begin_inset CommandInset citation
43660 LatexCommand cite
43661 key "pstricks"
43662 literal "true"
43663
43664 \end_inset
43665
43666 .
43667 \end_layout
43668
43669 \end_inset
43670
43671  Due to this ability, the files are often bigger than PDFs.
43672 \end_layout
43673
43674 \begin_layout Standard
43675 PostScript can only contain images in the format 
43676 \begin_inset Quotes eld
43677 \end_inset
43678
43679 Encapsulated PostScript
43680 \begin_inset Quotes erd
43681 \end_inset
43682
43683  (EPS, file extension 
43684 \begin_inset Quotes eld
43685 \end_inset
43686
43687
43688 \family typewriter
43689 .eps
43690 \family default
43691
43692 \begin_inset Quotes erd
43693 \end_inset
43694
43695 ).
43696  As \SpecialChar LyX
43697  allows you to use any known image format in your document, it has to
43698  convert images in the background to EPS.
43699  If you have e.g.
43700 \begin_inset space ~
43701 \end_inset
43702
43703 50
43704 \begin_inset space ~
43705 \end_inset
43706
43707 images in your document, \SpecialChar LyX
43708  has to do 50
43709 \begin_inset space ~
43710 \end_inset
43711
43712 conversions whenever you view or export your document.
43713  This will slow down your work flow with \SpecialChar LyX
43714  drastically.
43715  So if you plan to use PostScript, you can insert your images directly as
43716  EPS to avoid this problem.
43717 \end_layout
43718
43719 \begin_layout Standard
43720 You can export your document to PostScript using the menu 
43721 \family sans
43722 File\SpecialChar menuseparator
43723 Export\SpecialChar menuseparator
43724 Postscript
43725 \family default
43726 .
43727  You can view your document as PostScript via the 
43728 \family sans
43729 View
43730 \family default
43731  menu.
43732 \end_layout
43733
43734 \begin_layout Section
43735 PDF
43736 \begin_inset Index idx
43737 status collapsed
43738
43739 \begin_layout Plain Layout
43740 File Formats ! PDF
43741 \end_layout
43742
43743 \end_inset
43744
43745
43746 \begin_inset Index idx
43747 status collapsed
43748
43749 \begin_layout Plain Layout
43750 PDF
43751 \end_layout
43752
43753 \end_inset
43754
43755
43756 \end_layout
43757
43758 \begin_layout Standard
43759 This file type has the extension 
43760 \begin_inset Quotes eld
43761 \end_inset
43762
43763
43764 \family typewriter
43765 .pdf
43766 \family default
43767
43768 \begin_inset Quotes erd
43769 \end_inset
43770
43771 .
43772  The 
43773 \begin_inset Quotes eld
43774 \end_inset
43775
43776 Portable Document Format
43777 \begin_inset Quotes erd
43778 \end_inset
43779
43780  (PDF) was developed by 
43781 \family typewriter
43782 Adobe
43783 \family default
43784  as a derivative of PostScript.
43785  It is more compressed and it uses fewer commands than PostScript.
43786  As the name 
43787 \begin_inset Quotes eld
43788 \end_inset
43789
43790 portable
43791 \begin_inset Quotes erd
43792 \end_inset
43793
43794  implies, it can be processed at any computer system and the printed output
43795  looks exactly the same.
43796 \end_layout
43797
43798 \begin_layout Standard
43799 PDF can contain images in its own PDF format, in the format 
43800 \begin_inset Quotes eld
43801 \end_inset
43802
43803 Joint Photographic Experts Group
43804 \begin_inset Quotes erd
43805 \end_inset
43806
43807  (JPG, file extension 
43808 \begin_inset Quotes eld
43809 \end_inset
43810
43811
43812 \family typewriter
43813 .jpg
43814 \family default
43815
43816 \begin_inset Quotes erd
43817 \end_inset
43818
43819  or 
43820 \begin_inset Quotes eld
43821 \end_inset
43822
43823
43824 \family typewriter
43825 .jpeg
43826 \family default
43827
43828 \begin_inset Quotes erd
43829 \end_inset
43830
43831 ), and in the format 
43832 \begin_inset Quotes eld
43833 \end_inset
43834
43835 Portable Network Graphics
43836 \begin_inset Quotes erd
43837 \end_inset
43838
43839  (PNG, file extension 
43840 \begin_inset Quotes eld
43841 \end_inset
43842
43843
43844 \family typewriter
43845 .png
43846 \family default
43847
43848 \begin_inset Quotes erd
43849 \end_inset
43850
43851 ).
43852  Nevertheless you can use any other image format, because \SpecialChar LyX
43853  converts them
43854  in the background to one of these formats.
43855  But as described in the section about PostScript, the image conversion
43856  will slow down your work flow.
43857  So it is recommended that you use images in one of the three mentioned
43858  formats.
43859 \end_layout
43860
43861 \begin_layout Standard
43862 You can export your document to PDF via the menu 
43863 \family sans
43864 File\SpecialChar menuseparator
43865 Export
43866 \family default
43867  in three different ways:
43868 \end_layout
43869
43870 \begin_layout Description
43871 PDF
43872 \begin_inset space ~
43873 \end_inset
43874
43875 (ps2pdf) This uses the program 
43876 \family typewriter
43877 ps2pdf
43878 \family default
43879  that creates a PDF from a PostScript-version of your file.
43880  The PostScript-version is produced by the program 
43881 \family typewriter
43882 dvips
43883 \family default
43884  which uses a DVI-version as intermediate step.
43885  So this export variant consists of three conversions.
43886 \end_layout
43887
43888 \begin_layout Description
43889 PDF
43890 \begin_inset space ~
43891 \end_inset
43892
43893 (dvipdfm) This uses the program 
43894 \family typewriter
43895 dvipdfm
43896 \family default
43897  that converts your file in the background to DVI and in a second step to
43898  PDF.
43899 \end_layout
43900
43901 \begin_layout Description
43902 PDF
43903 \begin_inset space ~
43904 \end_inset
43905
43906 (pdflatex) This uses the program 
43907 \family typewriter
43908 pdftex
43909 \family default
43910  that converts your file directly to PDF.
43911 \end_layout
43912
43913 \begin_layout Standard
43914 It is recommended that you use 
43915 \family sans
43916 PDF
43917 \begin_inset space ~
43918 \end_inset
43919
43920 (pdflatex)
43921 \family default
43922  because 
43923 \family typewriter
43924 pdftex
43925 \family default
43926  supports all features of actual PDF-versions, is quick and works stable.
43927  The program 
43928 \family typewriter
43929 dvipdfm
43930 \family default
43931  is not under development and therefore a bit outdated.
43932 \end_layout
43933
43934 \begin_layout Standard
43935 You can view your document as PDF via the 
43936 \family sans
43937 View
43938 \family default
43939  menu or by using a toolbar button.
43940 \end_layout
43941
43942 \begin_layout Chapter
43943 List of dvips color names
43944 \begin_inset CommandInset label
43945 LatexCommand label
43946 name "chap:List-of-dvips-colornames"
43947
43948 \end_inset
43949
43950
43951 \end_layout
43952
43953 \begin_layout Standard
43954 \begin_inset Tabular
43955 <lyxtabular version="3" rows="17" columns="4">
43956 <features tabularvalignment="middle">
43957 <column alignment="left" valignment="top" width="0pt">
43958 <column alignment="left" valignment="top" width="0pt">
43959 <column alignment="left" valignment="top" width="0pt">
43960 <column alignment="left" valignment="top" width="0pt">
43961 <row>
43962 <cell alignment="left" valignment="top" usebox="none">
43963 \begin_inset Text
43964
43965 \begin_layout Plain Layout
43966 \begin_inset ERT
43967 status collapsed
43968
43969 \begin_layout Plain Layout
43970
43971
43972 \backslash
43973 fcolorbox{black}{
43974 \end_layout
43975
43976 \end_inset
43977
43978 white
43979 \begin_inset ERT
43980 status collapsed
43981
43982 \begin_layout Plain Layout
43983
43984 }{
43985 \end_layout
43986
43987 \end_inset
43988
43989 Color
43990 \begin_inset ERT
43991 status collapsed
43992
43993 \begin_layout Plain Layout
43994
43995 }
43996 \end_layout
43997
43998 \end_inset
43999
44000  Color name
44001 \end_layout
44002
44003 \end_inset
44004 </cell>
44005 <cell alignment="left" valignment="top" usebox="none">
44006 \begin_inset Text
44007
44008 \begin_layout Plain Layout
44009 \begin_inset ERT
44010 status collapsed
44011
44012 \begin_layout Plain Layout
44013
44014
44015 \backslash
44016 fcolorbox{black}{
44017 \end_layout
44018
44019 \end_inset
44020
44021 white
44022 \begin_inset ERT
44023 status collapsed
44024
44025 \begin_layout Plain Layout
44026
44027 }{
44028 \end_layout
44029
44030 \end_inset
44031
44032 Color
44033 \begin_inset ERT
44034 status collapsed
44035
44036 \begin_layout Plain Layout
44037
44038 }
44039 \end_layout
44040
44041 \end_inset
44042
44043  Color name
44044 \end_layout
44045
44046 \end_inset
44047 </cell>
44048 <cell alignment="left" valignment="top" usebox="none">
44049 \begin_inset Text
44050
44051 \begin_layout Plain Layout
44052 \begin_inset ERT
44053 status collapsed
44054
44055 \begin_layout Plain Layout
44056
44057
44058 \backslash
44059 fcolorbox{black}{
44060 \end_layout
44061
44062 \end_inset
44063
44064 white
44065 \begin_inset ERT
44066 status collapsed
44067
44068 \begin_layout Plain Layout
44069
44070 }{
44071 \end_layout
44072
44073 \end_inset
44074
44075 Color
44076 \begin_inset ERT
44077 status collapsed
44078
44079 \begin_layout Plain Layout
44080
44081 }
44082 \end_layout
44083
44084 \end_inset
44085
44086  Color name
44087 \end_layout
44088
44089 \end_inset
44090 </cell>
44091 <cell alignment="left" valignment="top" usebox="none">
44092 \begin_inset Text
44093
44094 \begin_layout Plain Layout
44095 \begin_inset ERT
44096 status collapsed
44097
44098 \begin_layout Plain Layout
44099
44100
44101 \backslash
44102 fcolorbox{black}{
44103 \end_layout
44104
44105 \end_inset
44106
44107 white
44108 \begin_inset ERT
44109 status collapsed
44110
44111 \begin_layout Plain Layout
44112
44113 }{
44114 \end_layout
44115
44116 \end_inset
44117
44118 Color
44119 \begin_inset ERT
44120 status collapsed
44121
44122 \begin_layout Plain Layout
44123
44124 }
44125 \end_layout
44126
44127 \end_inset
44128
44129  Color name
44130 \end_layout
44131
44132 \end_inset
44133 </cell>
44134 </row>
44135 <row>
44136 <cell alignment="center" valignment="top" usebox="none">
44137 \begin_inset Text
44138
44139 \begin_layout Plain Layout
44140 \begin_inset ERT
44141 status collapsed
44142
44143 \begin_layout Plain Layout
44144
44145
44146 \backslash
44147 fcolorbox{black}{
44148 \end_layout
44149
44150 \end_inset
44151
44152 Apricot
44153 \begin_inset ERT
44154 status collapsed
44155
44156 \begin_layout Plain Layout
44157
44158 }{
44159 \end_layout
44160
44161 \end_inset
44162
44163
44164 \begin_inset Phantom Phantom
44165 status open
44166
44167 \begin_layout Plain Layout
44168 W
44169 \end_layout
44170
44171 \end_inset
44172
44173
44174 \begin_inset ERT
44175 status collapsed
44176
44177 \begin_layout Plain Layout
44178
44179 }
44180 \end_layout
44181
44182 \end_inset
44183
44184  Apricot
44185 \end_layout
44186
44187 \end_inset
44188 </cell>
44189 <cell alignment="center" valignment="top" usebox="none">
44190 \begin_inset Text
44191
44192 \begin_layout Plain Layout
44193 \begin_inset ERT
44194 status collapsed
44195
44196 \begin_layout Plain Layout
44197
44198
44199 \backslash
44200 fcolorbox{black}{
44201 \end_layout
44202
44203 \end_inset
44204
44205 Aquamarine
44206 \begin_inset ERT
44207 status collapsed
44208
44209 \begin_layout Plain Layout
44210
44211 }{
44212 \end_layout
44213
44214 \end_inset
44215
44216
44217 \begin_inset Phantom Phantom
44218 status open
44219
44220 \begin_layout Plain Layout
44221 W
44222 \end_layout
44223
44224 \end_inset
44225
44226
44227 \begin_inset ERT
44228 status collapsed
44229
44230 \begin_layout Plain Layout
44231
44232 }
44233 \end_layout
44234
44235 \end_inset
44236
44237  Aquamarine
44238 \end_layout
44239
44240 \end_inset
44241 </cell>
44242 <cell alignment="center" valignment="top" usebox="none">
44243 \begin_inset Text
44244
44245 \begin_layout Plain Layout
44246 \begin_inset ERT
44247 status collapsed
44248
44249 \begin_layout Plain Layout
44250
44251
44252 \backslash
44253 fcolorbox{black}{
44254 \end_layout
44255
44256 \end_inset
44257
44258 Bittersweet
44259 \begin_inset ERT
44260 status collapsed
44261
44262 \begin_layout Plain Layout
44263
44264 }{
44265 \end_layout
44266
44267 \end_inset
44268
44269
44270 \begin_inset Phantom Phantom
44271 status open
44272
44273 \begin_layout Plain Layout
44274 W
44275 \end_layout
44276
44277 \end_inset
44278
44279
44280 \begin_inset ERT
44281 status collapsed
44282
44283 \begin_layout Plain Layout
44284
44285 }
44286 \end_layout
44287
44288 \end_inset
44289
44290  Bittersweet
44291 \end_layout
44292
44293 \end_inset
44294 </cell>
44295 <cell alignment="center" valignment="top" usebox="none">
44296 \begin_inset Text
44297
44298 \begin_layout Plain Layout
44299 \begin_inset ERT
44300 status collapsed
44301
44302 \begin_layout Plain Layout
44303
44304
44305 \backslash
44306 fcolorbox{black}{
44307 \end_layout
44308
44309 \end_inset
44310
44311 BlueGreen
44312 \begin_inset ERT
44313 status collapsed
44314
44315 \begin_layout Plain Layout
44316
44317 }{
44318 \end_layout
44319
44320 \end_inset
44321
44322
44323 \begin_inset Phantom Phantom
44324 status open
44325
44326 \begin_layout Plain Layout
44327 W
44328 \end_layout
44329
44330 \end_inset
44331
44332
44333 \begin_inset ERT
44334 status collapsed
44335
44336 \begin_layout Plain Layout
44337
44338 }
44339 \end_layout
44340
44341 \end_inset
44342
44343  BlueGreen
44344 \end_layout
44345
44346 \end_inset
44347 </cell>
44348 </row>
44349 <row>
44350 <cell alignment="left" valignment="top" usebox="none">
44351 \begin_inset Text
44352
44353 \begin_layout Plain Layout
44354 \begin_inset ERT
44355 status collapsed
44356
44357 \begin_layout Plain Layout
44358
44359
44360 \backslash
44361 fcolorbox{black}{
44362 \end_layout
44363
44364 \end_inset
44365
44366 BlueViolet
44367 \begin_inset ERT
44368 status collapsed
44369
44370 \begin_layout Plain Layout
44371
44372 }{
44373 \end_layout
44374
44375 \end_inset
44376
44377
44378 \begin_inset Phantom Phantom
44379 status open
44380
44381 \begin_layout Plain Layout
44382 W
44383 \end_layout
44384
44385 \end_inset
44386
44387
44388 \begin_inset ERT
44389 status collapsed
44390
44391 \begin_layout Plain Layout
44392
44393 }
44394 \end_layout
44395
44396 \end_inset
44397
44398  BlueViolet
44399 \end_layout
44400
44401 \end_inset
44402 </cell>
44403 <cell alignment="left" valignment="top" usebox="none">
44404 \begin_inset Text
44405
44406 \begin_layout Plain Layout
44407 \begin_inset ERT
44408 status collapsed
44409
44410 \begin_layout Plain Layout
44411
44412
44413 \backslash
44414 fcolorbox{black}{
44415 \end_layout
44416
44417 \end_inset
44418
44419 BrickRed
44420 \begin_inset ERT
44421 status collapsed
44422
44423 \begin_layout Plain Layout
44424
44425 }{
44426 \end_layout
44427
44428 \end_inset
44429
44430
44431 \begin_inset Phantom Phantom
44432 status open
44433
44434 \begin_layout Plain Layout
44435 W
44436 \end_layout
44437
44438 \end_inset
44439
44440
44441 \begin_inset ERT
44442 status collapsed
44443
44444 \begin_layout Plain Layout
44445
44446 }
44447 \end_layout
44448
44449 \end_inset
44450
44451  BrickRed
44452 \end_layout
44453
44454 \end_inset
44455 </cell>
44456 <cell alignment="left" valignment="top" usebox="none">
44457 \begin_inset Text
44458
44459 \begin_layout Plain Layout
44460 \begin_inset ERT
44461 status collapsed
44462
44463 \begin_layout Plain Layout
44464
44465
44466 \backslash
44467 fcolorbox{black}{
44468 \end_layout
44469
44470 \end_inset
44471
44472 Brown
44473 \begin_inset ERT
44474 status collapsed
44475
44476 \begin_layout Plain Layout
44477
44478 }{
44479 \end_layout
44480
44481 \end_inset
44482
44483
44484 \begin_inset Phantom Phantom
44485 status open
44486
44487 \begin_layout Plain Layout
44488 W
44489 \end_layout
44490
44491 \end_inset
44492
44493
44494 \begin_inset ERT
44495 status collapsed
44496
44497 \begin_layout Plain Layout
44498
44499 }
44500 \end_layout
44501
44502 \end_inset
44503
44504  Brown
44505 \end_layout
44506
44507 \end_inset
44508 </cell>
44509 <cell alignment="left" valignment="top" usebox="none">
44510 \begin_inset Text
44511
44512 \begin_layout Plain Layout
44513 \begin_inset ERT
44514 status collapsed
44515
44516 \begin_layout Plain Layout
44517
44518
44519 \backslash
44520 fcolorbox{black}{
44521 \end_layout
44522
44523 \end_inset
44524
44525 BurntOrange
44526 \begin_inset ERT
44527 status collapsed
44528
44529 \begin_layout Plain Layout
44530
44531 }{
44532 \end_layout
44533
44534 \end_inset
44535
44536
44537 \begin_inset Phantom Phantom
44538 status open
44539
44540 \begin_layout Plain Layout
44541 W
44542 \end_layout
44543
44544 \end_inset
44545
44546
44547 \begin_inset ERT
44548 status collapsed
44549
44550 \begin_layout Plain Layout
44551
44552 }
44553 \end_layout
44554
44555 \end_inset
44556
44557  BurntOrange
44558 \end_layout
44559
44560 \end_inset
44561 </cell>
44562 </row>
44563 <row>
44564 <cell alignment="left" valignment="top" usebox="none">
44565 \begin_inset Text
44566
44567 \begin_layout Plain Layout
44568 \begin_inset ERT
44569 status collapsed
44570
44571 \begin_layout Plain Layout
44572
44573
44574 \backslash
44575 fcolorbox{black}{
44576 \end_layout
44577
44578 \end_inset
44579
44580 CadetBlue
44581 \begin_inset ERT
44582 status collapsed
44583
44584 \begin_layout Plain Layout
44585
44586 }{
44587 \end_layout
44588
44589 \end_inset
44590
44591
44592 \begin_inset Phantom Phantom
44593 status open
44594
44595 \begin_layout Plain Layout
44596 W
44597 \end_layout
44598
44599 \end_inset
44600
44601
44602 \begin_inset ERT
44603 status collapsed
44604
44605 \begin_layout Plain Layout
44606
44607 }
44608 \end_layout
44609
44610 \end_inset
44611
44612  CadetBlue
44613 \end_layout
44614
44615 \end_inset
44616 </cell>
44617 <cell alignment="left" valignment="top" usebox="none">
44618 \begin_inset Text
44619
44620 \begin_layout Plain Layout
44621 \begin_inset ERT
44622 status collapsed
44623
44624 \begin_layout Plain Layout
44625
44626
44627 \backslash
44628 fcolorbox{black}{
44629 \end_layout
44630
44631 \end_inset
44632
44633 CarnationPink
44634 \begin_inset ERT
44635 status collapsed
44636
44637 \begin_layout Plain Layout
44638
44639 }{
44640 \end_layout
44641
44642 \end_inset
44643
44644
44645 \begin_inset Phantom Phantom
44646 status open
44647
44648 \begin_layout Plain Layout
44649 W
44650 \end_layout
44651
44652 \end_inset
44653
44654
44655 \begin_inset ERT
44656 status collapsed
44657
44658 \begin_layout Plain Layout
44659
44660 }
44661 \end_layout
44662
44663 \end_inset
44664
44665  CarnationPink
44666 \end_layout
44667
44668 \end_inset
44669 </cell>
44670 <cell alignment="left" valignment="top" usebox="none">
44671 \begin_inset Text
44672
44673 \begin_layout Plain Layout
44674 \begin_inset ERT
44675 status collapsed
44676
44677 \begin_layout Plain Layout
44678
44679
44680 \backslash
44681 fcolorbox{black}{
44682 \end_layout
44683
44684 \end_inset
44685
44686 Cerulean
44687 \begin_inset ERT
44688 status collapsed
44689
44690 \begin_layout Plain Layout
44691
44692 }{
44693 \end_layout
44694
44695 \end_inset
44696
44697
44698 \begin_inset Phantom Phantom
44699 status open
44700
44701 \begin_layout Plain Layout
44702 W
44703 \end_layout
44704
44705 \end_inset
44706
44707
44708 \begin_inset ERT
44709 status collapsed
44710
44711 \begin_layout Plain Layout
44712
44713 }
44714 \end_layout
44715
44716 \end_inset
44717
44718  Cerulean
44719 \end_layout
44720
44721 \end_inset
44722 </cell>
44723 <cell alignment="left" valignment="top" usebox="none">
44724 \begin_inset Text
44725
44726 \begin_layout Plain Layout
44727 \begin_inset ERT
44728 status collapsed
44729
44730 \begin_layout Plain Layout
44731
44732
44733 \backslash
44734 fcolorbox{black}{
44735 \end_layout
44736
44737 \end_inset
44738
44739 CornflowerBlue
44740 \begin_inset ERT
44741 status collapsed
44742
44743 \begin_layout Plain Layout
44744
44745 }{
44746 \end_layout
44747
44748 \end_inset
44749
44750
44751 \begin_inset Phantom Phantom
44752 status open
44753
44754 \begin_layout Plain Layout
44755 W
44756 \end_layout
44757
44758 \end_inset
44759
44760
44761 \begin_inset ERT
44762 status collapsed
44763
44764 \begin_layout Plain Layout
44765
44766 }
44767 \end_layout
44768
44769 \end_inset
44770
44771  CornflowerBlue
44772 \end_layout
44773
44774 \end_inset
44775 </cell>
44776 </row>
44777 <row>
44778 <cell alignment="left" valignment="top" usebox="none">
44779 \begin_inset Text
44780
44781 \begin_layout Plain Layout
44782 \begin_inset ERT
44783 status collapsed
44784
44785 \begin_layout Plain Layout
44786
44787
44788 \backslash
44789 fcolorbox{black}{
44790 \end_layout
44791
44792 \end_inset
44793
44794 Dandelion
44795 \begin_inset ERT
44796 status collapsed
44797
44798 \begin_layout Plain Layout
44799
44800 }{
44801 \end_layout
44802
44803 \end_inset
44804
44805
44806 \begin_inset Phantom Phantom
44807 status open
44808
44809 \begin_layout Plain Layout
44810 W
44811 \end_layout
44812
44813 \end_inset
44814
44815
44816 \begin_inset ERT
44817 status collapsed
44818
44819 \begin_layout Plain Layout
44820
44821 }
44822 \end_layout
44823
44824 \end_inset
44825
44826  Dandelion
44827 \end_layout
44828
44829 \end_inset
44830 </cell>
44831 <cell alignment="left" valignment="top" usebox="none">
44832 \begin_inset Text
44833
44834 \begin_layout Plain Layout
44835 \begin_inset ERT
44836 status collapsed
44837
44838 \begin_layout Plain Layout
44839
44840
44841 \backslash
44842 fcolorbox{black}{
44843 \end_layout
44844
44845 \end_inset
44846
44847 DarkOrchid
44848 \begin_inset ERT
44849 status collapsed
44850
44851 \begin_layout Plain Layout
44852
44853 }{
44854 \end_layout
44855
44856 \end_inset
44857
44858
44859 \begin_inset Phantom Phantom
44860 status open
44861
44862 \begin_layout Plain Layout
44863 W
44864 \end_layout
44865
44866 \end_inset
44867
44868
44869 \begin_inset ERT
44870 status collapsed
44871
44872 \begin_layout Plain Layout
44873
44874 }
44875 \end_layout
44876
44877 \end_inset
44878
44879  DarkOrchid
44880 \end_layout
44881
44882 \end_inset
44883 </cell>
44884 <cell alignment="left" valignment="top" usebox="none">
44885 \begin_inset Text
44886
44887 \begin_layout Plain Layout
44888 \begin_inset ERT
44889 status collapsed
44890
44891 \begin_layout Plain Layout
44892
44893
44894 \backslash
44895 fcolorbox{black}{
44896 \end_layout
44897
44898 \end_inset
44899
44900 Emerald
44901 \begin_inset ERT
44902 status collapsed
44903
44904 \begin_layout Plain Layout
44905
44906 }{
44907 \end_layout
44908
44909 \end_inset
44910
44911
44912 \begin_inset Phantom Phantom
44913 status open
44914
44915 \begin_layout Plain Layout
44916 W
44917 \end_layout
44918
44919 \end_inset
44920
44921
44922 \begin_inset ERT
44923 status collapsed
44924
44925 \begin_layout Plain Layout
44926
44927 }
44928 \end_layout
44929
44930 \end_inset
44931
44932  Emerald
44933 \end_layout
44934
44935 \end_inset
44936 </cell>
44937 <cell alignment="left" valignment="top" usebox="none">
44938 \begin_inset Text
44939
44940 \begin_layout Plain Layout
44941 \begin_inset ERT
44942 status collapsed
44943
44944 \begin_layout Plain Layout
44945
44946
44947 \backslash
44948 fcolorbox{black}{
44949 \end_layout
44950
44951 \end_inset
44952
44953 ForestGreen
44954 \begin_inset ERT
44955 status collapsed
44956
44957 \begin_layout Plain Layout
44958
44959 }{
44960 \end_layout
44961
44962 \end_inset
44963
44964
44965 \begin_inset Phantom Phantom
44966 status open
44967
44968 \begin_layout Plain Layout
44969 W
44970 \end_layout
44971
44972 \end_inset
44973
44974
44975 \begin_inset ERT
44976 status collapsed
44977
44978 \begin_layout Plain Layout
44979
44980 }
44981 \end_layout
44982
44983 \end_inset
44984
44985  ForestGreen
44986 \end_layout
44987
44988 \end_inset
44989 </cell>
44990 </row>
44991 <row>
44992 <cell alignment="left" valignment="top" usebox="none">
44993 \begin_inset Text
44994
44995 \begin_layout Plain Layout
44996 \begin_inset ERT
44997 status collapsed
44998
44999 \begin_layout Plain Layout
45000
45001
45002 \backslash
45003 fcolorbox{black}{
45004 \end_layout
45005
45006 \end_inset
45007
45008 Fuchsia
45009 \begin_inset ERT
45010 status collapsed
45011
45012 \begin_layout Plain Layout
45013
45014 }{
45015 \end_layout
45016
45017 \end_inset
45018
45019
45020 \begin_inset Phantom Phantom
45021 status open
45022
45023 \begin_layout Plain Layout
45024 W
45025 \end_layout
45026
45027 \end_inset
45028
45029
45030 \begin_inset ERT
45031 status collapsed
45032
45033 \begin_layout Plain Layout
45034
45035 }
45036 \end_layout
45037
45038 \end_inset
45039
45040  Fuchsia
45041 \end_layout
45042
45043 \end_inset
45044 </cell>
45045 <cell alignment="left" valignment="top" usebox="none">
45046 \begin_inset Text
45047
45048 \begin_layout Plain Layout
45049 \begin_inset ERT
45050 status collapsed
45051
45052 \begin_layout Plain Layout
45053
45054
45055 \backslash
45056 fcolorbox{black}{
45057 \end_layout
45058
45059 \end_inset
45060
45061 Goldenrod
45062 \begin_inset ERT
45063 status collapsed
45064
45065 \begin_layout Plain Layout
45066
45067 }{
45068 \end_layout
45069
45070 \end_inset
45071
45072
45073 \begin_inset Phantom Phantom
45074 status open
45075
45076 \begin_layout Plain Layout
45077 W
45078 \end_layout
45079
45080 \end_inset
45081
45082
45083 \begin_inset ERT
45084 status collapsed
45085
45086 \begin_layout Plain Layout
45087
45088 }
45089 \end_layout
45090
45091 \end_inset
45092
45093  Goldenrod
45094 \end_layout
45095
45096 \end_inset
45097 </cell>
45098 <cell alignment="left" valignment="top" usebox="none">
45099 \begin_inset Text
45100
45101 \begin_layout Plain Layout
45102 \begin_inset ERT
45103 status collapsed
45104
45105 \begin_layout Plain Layout
45106
45107
45108 \backslash
45109 fcolorbox{black}{
45110 \end_layout
45111
45112 \end_inset
45113
45114 Gray
45115 \begin_inset ERT
45116 status collapsed
45117
45118 \begin_layout Plain Layout
45119
45120 }{
45121 \end_layout
45122
45123 \end_inset
45124
45125
45126 \begin_inset Phantom Phantom
45127 status open
45128
45129 \begin_layout Plain Layout
45130 W
45131 \end_layout
45132
45133 \end_inset
45134
45135
45136 \begin_inset ERT
45137 status collapsed
45138
45139 \begin_layout Plain Layout
45140
45141 }
45142 \end_layout
45143
45144 \end_inset
45145
45146  Gray
45147 \end_layout
45148
45149 \end_inset
45150 </cell>
45151 <cell alignment="left" valignment="top" usebox="none">
45152 \begin_inset Text
45153
45154 \begin_layout Plain Layout
45155 \begin_inset ERT
45156 status collapsed
45157
45158 \begin_layout Plain Layout
45159
45160
45161 \backslash
45162 fcolorbox{black}{
45163 \end_layout
45164
45165 \end_inset
45166
45167 GreenYellow
45168 \begin_inset ERT
45169 status collapsed
45170
45171 \begin_layout Plain Layout
45172
45173 }{
45174 \end_layout
45175
45176 \end_inset
45177
45178
45179 \begin_inset Phantom Phantom
45180 status open
45181
45182 \begin_layout Plain Layout
45183 W
45184 \end_layout
45185
45186 \end_inset
45187
45188
45189 \begin_inset ERT
45190 status collapsed
45191
45192 \begin_layout Plain Layout
45193
45194 }
45195 \end_layout
45196
45197 \end_inset
45198
45199  GreenYellow
45200 \end_layout
45201
45202 \end_inset
45203 </cell>
45204 </row>
45205 <row>
45206 <cell alignment="center" valignment="top" usebox="none">
45207 \begin_inset Text
45208
45209 \begin_layout Plain Layout
45210 \begin_inset ERT
45211 status collapsed
45212
45213 \begin_layout Plain Layout
45214
45215
45216 \backslash
45217 fcolorbox{black}{
45218 \end_layout
45219
45220 \end_inset
45221
45222 JungleGreen
45223 \begin_inset ERT
45224 status collapsed
45225
45226 \begin_layout Plain Layout
45227
45228 }{
45229 \end_layout
45230
45231 \end_inset
45232
45233
45234 \begin_inset Phantom Phantom
45235 status open
45236
45237 \begin_layout Plain Layout
45238 W
45239 \end_layout
45240
45241 \end_inset
45242
45243
45244 \begin_inset ERT
45245 status collapsed
45246
45247 \begin_layout Plain Layout
45248
45249 }
45250 \end_layout
45251
45252 \end_inset
45253
45254  JungleGreen
45255 \end_layout
45256
45257 \end_inset
45258 </cell>
45259 <cell alignment="center" valignment="top" usebox="none">
45260 \begin_inset Text
45261
45262 \begin_layout Plain Layout
45263 \begin_inset ERT
45264 status collapsed
45265
45266 \begin_layout Plain Layout
45267
45268
45269 \backslash
45270 fcolorbox{black}{
45271 \end_layout
45272
45273 \end_inset
45274
45275 Lavender
45276 \begin_inset ERT
45277 status collapsed
45278
45279 \begin_layout Plain Layout
45280
45281 }{
45282 \end_layout
45283
45284 \end_inset
45285
45286
45287 \begin_inset Phantom Phantom
45288 status open
45289
45290 \begin_layout Plain Layout
45291 W
45292 \end_layout
45293
45294 \end_inset
45295
45296
45297 \begin_inset ERT
45298 status collapsed
45299
45300 \begin_layout Plain Layout
45301
45302 }
45303 \end_layout
45304
45305 \end_inset
45306
45307  Lavender
45308 \end_layout
45309
45310 \end_inset
45311 </cell>
45312 <cell alignment="center" valignment="top" usebox="none">
45313 \begin_inset Text
45314
45315 \begin_layout Plain Layout
45316 \begin_inset ERT
45317 status collapsed
45318
45319 \begin_layout Plain Layout
45320
45321
45322 \backslash
45323 fcolorbox{black}{
45324 \end_layout
45325
45326 \end_inset
45327
45328 LimeGreen
45329 \begin_inset ERT
45330 status collapsed
45331
45332 \begin_layout Plain Layout
45333
45334 }{
45335 \end_layout
45336
45337 \end_inset
45338
45339
45340 \begin_inset Phantom Phantom
45341 status open
45342
45343 \begin_layout Plain Layout
45344 W
45345 \end_layout
45346
45347 \end_inset
45348
45349
45350 \begin_inset ERT
45351 status collapsed
45352
45353 \begin_layout Plain Layout
45354
45355 }
45356 \end_layout
45357
45358 \end_inset
45359
45360  LimeGreen
45361 \end_layout
45362
45363 \end_inset
45364 </cell>
45365 <cell alignment="center" valignment="top" usebox="none">
45366 \begin_inset Text
45367
45368 \begin_layout Plain Layout
45369 \begin_inset ERT
45370 status collapsed
45371
45372 \begin_layout Plain Layout
45373
45374
45375 \backslash
45376 fcolorbox{black}{
45377 \end_layout
45378
45379 \end_inset
45380
45381 Mahogany
45382 \begin_inset ERT
45383 status collapsed
45384
45385 \begin_layout Plain Layout
45386
45387 }{
45388 \end_layout
45389
45390 \end_inset
45391
45392
45393 \begin_inset Phantom Phantom
45394 status open
45395
45396 \begin_layout Plain Layout
45397 W
45398 \end_layout
45399
45400 \end_inset
45401
45402
45403 \begin_inset ERT
45404 status collapsed
45405
45406 \begin_layout Plain Layout
45407
45408 }
45409 \end_layout
45410
45411 \end_inset
45412
45413  Mahogany
45414 \end_layout
45415
45416 \end_inset
45417 </cell>
45418 </row>
45419 <row>
45420 <cell alignment="left" valignment="top" usebox="none">
45421 \begin_inset Text
45422
45423 \begin_layout Plain Layout
45424 \begin_inset ERT
45425 status collapsed
45426
45427 \begin_layout Plain Layout
45428
45429
45430 \backslash
45431 fcolorbox{black}{
45432 \end_layout
45433
45434 \end_inset
45435
45436 Mahogany
45437 \begin_inset ERT
45438 status collapsed
45439
45440 \begin_layout Plain Layout
45441
45442 }{
45443 \end_layout
45444
45445 \end_inset
45446
45447
45448 \begin_inset Phantom Phantom
45449 status open
45450
45451 \begin_layout Plain Layout
45452 W
45453 \end_layout
45454
45455 \end_inset
45456
45457
45458 \begin_inset ERT
45459 status collapsed
45460
45461 \begin_layout Plain Layout
45462
45463 }
45464 \end_layout
45465
45466 \end_inset
45467
45468  Mahogany
45469 \end_layout
45470
45471 \end_inset
45472 </cell>
45473 <cell alignment="left" valignment="top" usebox="none">
45474 \begin_inset Text
45475
45476 \begin_layout Plain Layout
45477 \begin_inset ERT
45478 status collapsed
45479
45480 \begin_layout Plain Layout
45481
45482
45483 \backslash
45484 fcolorbox{black}{
45485 \end_layout
45486
45487 \end_inset
45488
45489 Maroon
45490 \begin_inset ERT
45491 status collapsed
45492
45493 \begin_layout Plain Layout
45494
45495 }{
45496 \end_layout
45497
45498 \end_inset
45499
45500
45501 \begin_inset Phantom Phantom
45502 status open
45503
45504 \begin_layout Plain Layout
45505 W
45506 \end_layout
45507
45508 \end_inset
45509
45510
45511 \begin_inset ERT
45512 status collapsed
45513
45514 \begin_layout Plain Layout
45515
45516 }
45517 \end_layout
45518
45519 \end_inset
45520
45521  Maroon
45522 \end_layout
45523
45524 \end_inset
45525 </cell>
45526 <cell alignment="left" valignment="top" usebox="none">
45527 \begin_inset Text
45528
45529 \begin_layout Plain Layout
45530 \begin_inset ERT
45531 status collapsed
45532
45533 \begin_layout Plain Layout
45534
45535
45536 \backslash
45537 fcolorbox{black}{
45538 \end_layout
45539
45540 \end_inset
45541
45542 Melon
45543 \begin_inset ERT
45544 status collapsed
45545
45546 \begin_layout Plain Layout
45547
45548 }{
45549 \end_layout
45550
45551 \end_inset
45552
45553
45554 \begin_inset Phantom Phantom
45555 status open
45556
45557 \begin_layout Plain Layout
45558 W
45559 \end_layout
45560
45561 \end_inset
45562
45563
45564 \begin_inset ERT
45565 status collapsed
45566
45567 \begin_layout Plain Layout
45568
45569 }
45570 \end_layout
45571
45572 \end_inset
45573
45574  Melon
45575 \end_layout
45576
45577 \end_inset
45578 </cell>
45579 <cell alignment="left" valignment="top" usebox="none">
45580 \begin_inset Text
45581
45582 \begin_layout Plain Layout
45583 \begin_inset ERT
45584 status collapsed
45585
45586 \begin_layout Plain Layout
45587
45588
45589 \backslash
45590 fcolorbox{black}{
45591 \end_layout
45592
45593 \end_inset
45594
45595 MidnightBlue
45596 \begin_inset ERT
45597 status collapsed
45598
45599 \begin_layout Plain Layout
45600
45601 }{
45602 \end_layout
45603
45604 \end_inset
45605
45606
45607 \begin_inset Phantom Phantom
45608 status open
45609
45610 \begin_layout Plain Layout
45611 W
45612 \end_layout
45613
45614 \end_inset
45615
45616
45617 \begin_inset ERT
45618 status collapsed
45619
45620 \begin_layout Plain Layout
45621
45622 }
45623 \end_layout
45624
45625 \end_inset
45626
45627  MidnightBlue
45628 \end_layout
45629
45630 \end_inset
45631 </cell>
45632 </row>
45633 <row>
45634 <cell alignment="left" valignment="top" usebox="none">
45635 \begin_inset Text
45636
45637 \begin_layout Plain Layout
45638 \begin_inset ERT
45639 status collapsed
45640
45641 \begin_layout Plain Layout
45642
45643
45644 \backslash
45645 fcolorbox{black}{
45646 \end_layout
45647
45648 \end_inset
45649
45650 Mulberry
45651 \begin_inset ERT
45652 status collapsed
45653
45654 \begin_layout Plain Layout
45655
45656 }{
45657 \end_layout
45658
45659 \end_inset
45660
45661
45662 \begin_inset Phantom Phantom
45663 status open
45664
45665 \begin_layout Plain Layout
45666 W
45667 \end_layout
45668
45669 \end_inset
45670
45671
45672 \begin_inset ERT
45673 status collapsed
45674
45675 \begin_layout Plain Layout
45676
45677 }
45678 \end_layout
45679
45680 \end_inset
45681
45682  Mulberry
45683 \end_layout
45684
45685 \end_inset
45686 </cell>
45687 <cell alignment="left" valignment="top" usebox="none">
45688 \begin_inset Text
45689
45690 \begin_layout Plain Layout
45691 \begin_inset ERT
45692 status collapsed
45693
45694 \begin_layout Plain Layout
45695
45696
45697 \backslash
45698 fcolorbox{black}{
45699 \end_layout
45700
45701 \end_inset
45702
45703 NavyBlue
45704 \begin_inset ERT
45705 status collapsed
45706
45707 \begin_layout Plain Layout
45708
45709 }{
45710 \end_layout
45711
45712 \end_inset
45713
45714
45715 \begin_inset Phantom Phantom
45716 status open
45717
45718 \begin_layout Plain Layout
45719 W
45720 \end_layout
45721
45722 \end_inset
45723
45724
45725 \begin_inset ERT
45726 status collapsed
45727
45728 \begin_layout Plain Layout
45729
45730 }
45731 \end_layout
45732
45733 \end_inset
45734
45735  NavyBlue
45736 \end_layout
45737
45738 \end_inset
45739 </cell>
45740 <cell alignment="left" valignment="top" usebox="none">
45741 \begin_inset Text
45742
45743 \begin_layout Plain Layout
45744 \begin_inset ERT
45745 status collapsed
45746
45747 \begin_layout Plain Layout
45748
45749
45750 \backslash
45751 fcolorbox{black}{
45752 \end_layout
45753
45754 \end_inset
45755
45756 OliveGreen
45757 \begin_inset ERT
45758 status collapsed
45759
45760 \begin_layout Plain Layout
45761
45762 }{
45763 \end_layout
45764
45765 \end_inset
45766
45767
45768 \begin_inset Phantom Phantom
45769 status open
45770
45771 \begin_layout Plain Layout
45772 W
45773 \end_layout
45774
45775 \end_inset
45776
45777
45778 \begin_inset ERT
45779 status collapsed
45780
45781 \begin_layout Plain Layout
45782
45783 }
45784 \end_layout
45785
45786 \end_inset
45787
45788  OliveGreen
45789 \end_layout
45790
45791 \end_inset
45792 </cell>
45793 <cell alignment="left" valignment="top" usebox="none">
45794 \begin_inset Text
45795
45796 \begin_layout Plain Layout
45797 \begin_inset ERT
45798 status collapsed
45799
45800 \begin_layout Plain Layout
45801
45802
45803 \backslash
45804 fcolorbox{black}{
45805 \end_layout
45806
45807 \end_inset
45808
45809 Orange
45810 \begin_inset ERT
45811 status collapsed
45812
45813 \begin_layout Plain Layout
45814
45815 }{
45816 \end_layout
45817
45818 \end_inset
45819
45820
45821 \begin_inset Phantom Phantom
45822 status open
45823
45824 \begin_layout Plain Layout
45825 W
45826 \end_layout
45827
45828 \end_inset
45829
45830
45831 \begin_inset ERT
45832 status collapsed
45833
45834 \begin_layout Plain Layout
45835
45836 }
45837 \end_layout
45838
45839 \end_inset
45840
45841  Orange
45842 \end_layout
45843
45844 \end_inset
45845 </cell>
45846 </row>
45847 <row>
45848 <cell alignment="left" valignment="top" usebox="none">
45849 \begin_inset Text
45850
45851 \begin_layout Plain Layout
45852 \begin_inset ERT
45853 status collapsed
45854
45855 \begin_layout Plain Layout
45856
45857
45858 \backslash
45859 fcolorbox{black}{
45860 \end_layout
45861
45862 \end_inset
45863
45864 OrangeRed
45865 \begin_inset ERT
45866 status collapsed
45867
45868 \begin_layout Plain Layout
45869
45870 }{
45871 \end_layout
45872
45873 \end_inset
45874
45875
45876 \begin_inset Phantom Phantom
45877 status open
45878
45879 \begin_layout Plain Layout
45880 W
45881 \end_layout
45882
45883 \end_inset
45884
45885
45886 \begin_inset ERT
45887 status collapsed
45888
45889 \begin_layout Plain Layout
45890
45891 }
45892 \end_layout
45893
45894 \end_inset
45895
45896  OrangeRed
45897 \end_layout
45898
45899 \end_inset
45900 </cell>
45901 <cell alignment="left" valignment="top" usebox="none">
45902 \begin_inset Text
45903
45904 \begin_layout Plain Layout
45905 \begin_inset ERT
45906 status collapsed
45907
45908 \begin_layout Plain Layout
45909
45910
45911 \backslash
45912 fcolorbox{black}{
45913 \end_layout
45914
45915 \end_inset
45916
45917 Orchid
45918 \begin_inset ERT
45919 status collapsed
45920
45921 \begin_layout Plain Layout
45922
45923 }{
45924 \end_layout
45925
45926 \end_inset
45927
45928
45929 \begin_inset Phantom Phantom
45930 status open
45931
45932 \begin_layout Plain Layout
45933 W
45934 \end_layout
45935
45936 \end_inset
45937
45938
45939 \begin_inset ERT
45940 status collapsed
45941
45942 \begin_layout Plain Layout
45943
45944 }
45945 \end_layout
45946
45947 \end_inset
45948
45949  Orchid
45950 \end_layout
45951
45952 \end_inset
45953 </cell>
45954 <cell alignment="left" valignment="top" usebox="none">
45955 \begin_inset Text
45956
45957 \begin_layout Plain Layout
45958 \begin_inset ERT
45959 status collapsed
45960
45961 \begin_layout Plain Layout
45962
45963
45964 \backslash
45965 fcolorbox{black}{
45966 \end_layout
45967
45968 \end_inset
45969
45970 Peach
45971 \begin_inset ERT
45972 status collapsed
45973
45974 \begin_layout Plain Layout
45975
45976 }{
45977 \end_layout
45978
45979 \end_inset
45980
45981
45982 \begin_inset Phantom Phantom
45983 status open
45984
45985 \begin_layout Plain Layout
45986 W
45987 \end_layout
45988
45989 \end_inset
45990
45991
45992 \begin_inset ERT
45993 status collapsed
45994
45995 \begin_layout Plain Layout
45996
45997 }
45998 \end_layout
45999
46000 \end_inset
46001
46002  Peach
46003 \end_layout
46004
46005 \end_inset
46006 </cell>
46007 <cell alignment="left" valignment="top" usebox="none">
46008 \begin_inset Text
46009
46010 \begin_layout Plain Layout
46011 \begin_inset ERT
46012 status collapsed
46013
46014 \begin_layout Plain Layout
46015
46016
46017 \backslash
46018 fcolorbox{black}{
46019 \end_layout
46020
46021 \end_inset
46022
46023 Periwinkle
46024 \begin_inset ERT
46025 status collapsed
46026
46027 \begin_layout Plain Layout
46028
46029 }{
46030 \end_layout
46031
46032 \end_inset
46033
46034
46035 \begin_inset Phantom Phantom
46036 status open
46037
46038 \begin_layout Plain Layout
46039 W
46040 \end_layout
46041
46042 \end_inset
46043
46044
46045 \begin_inset ERT
46046 status collapsed
46047
46048 \begin_layout Plain Layout
46049
46050 }
46051 \end_layout
46052
46053 \end_inset
46054
46055  Periwinkle
46056 \end_layout
46057
46058 \end_inset
46059 </cell>
46060 </row>
46061 <row>
46062 <cell alignment="left" valignment="top" usebox="none">
46063 \begin_inset Text
46064
46065 \begin_layout Plain Layout
46066 \begin_inset ERT
46067 status collapsed
46068
46069 \begin_layout Plain Layout
46070
46071
46072 \backslash
46073 fcolorbox{black}{
46074 \end_layout
46075
46076 \end_inset
46077
46078 PineGreen
46079 \begin_inset ERT
46080 status collapsed
46081
46082 \begin_layout Plain Layout
46083
46084 }{
46085 \end_layout
46086
46087 \end_inset
46088
46089
46090 \begin_inset Phantom Phantom
46091 status open
46092
46093 \begin_layout Plain Layout
46094 W
46095 \end_layout
46096
46097 \end_inset
46098
46099
46100 \begin_inset ERT
46101 status collapsed
46102
46103 \begin_layout Plain Layout
46104
46105 }
46106 \end_layout
46107
46108 \end_inset
46109
46110  PineGreen
46111 \end_layout
46112
46113 \end_inset
46114 </cell>
46115 <cell alignment="left" valignment="top" usebox="none">
46116 \begin_inset Text
46117
46118 \begin_layout Plain Layout
46119 \begin_inset ERT
46120 status collapsed
46121
46122 \begin_layout Plain Layout
46123
46124
46125 \backslash
46126 fcolorbox{black}{
46127 \end_layout
46128
46129 \end_inset
46130
46131 Plum
46132 \begin_inset ERT
46133 status collapsed
46134
46135 \begin_layout Plain Layout
46136
46137 }{
46138 \end_layout
46139
46140 \end_inset
46141
46142
46143 \begin_inset Phantom Phantom
46144 status open
46145
46146 \begin_layout Plain Layout
46147 W
46148 \end_layout
46149
46150 \end_inset
46151
46152
46153 \begin_inset ERT
46154 status collapsed
46155
46156 \begin_layout Plain Layout
46157
46158 }
46159 \end_layout
46160
46161 \end_inset
46162
46163  Plum
46164 \end_layout
46165
46166 \end_inset
46167 </cell>
46168 <cell alignment="left" valignment="top" usebox="none">
46169 \begin_inset Text
46170
46171 \begin_layout Plain Layout
46172 \begin_inset ERT
46173 status collapsed
46174
46175 \begin_layout Plain Layout
46176
46177
46178 \backslash
46179 fcolorbox{black}{
46180 \end_layout
46181
46182 \end_inset
46183
46184 ProcessBlue
46185 \begin_inset ERT
46186 status collapsed
46187
46188 \begin_layout Plain Layout
46189
46190 }{
46191 \end_layout
46192
46193 \end_inset
46194
46195
46196 \begin_inset Phantom Phantom
46197 status open
46198
46199 \begin_layout Plain Layout
46200 W
46201 \end_layout
46202
46203 \end_inset
46204
46205
46206 \begin_inset ERT
46207 status collapsed
46208
46209 \begin_layout Plain Layout
46210
46211 }
46212 \end_layout
46213
46214 \end_inset
46215
46216  ProcessBlue
46217 \end_layout
46218
46219 \end_inset
46220 </cell>
46221 <cell alignment="left" valignment="top" usebox="none">
46222 \begin_inset Text
46223
46224 \begin_layout Plain Layout
46225 \begin_inset ERT
46226 status collapsed
46227
46228 \begin_layout Plain Layout
46229
46230
46231 \backslash
46232 fcolorbox{black}{
46233 \end_layout
46234
46235 \end_inset
46236
46237 Purple
46238 \begin_inset ERT
46239 status collapsed
46240
46241 \begin_layout Plain Layout
46242
46243 }{
46244 \end_layout
46245
46246 \end_inset
46247
46248
46249 \begin_inset Phantom Phantom
46250 status open
46251
46252 \begin_layout Plain Layout
46253 W
46254 \end_layout
46255
46256 \end_inset
46257
46258
46259 \begin_inset ERT
46260 status collapsed
46261
46262 \begin_layout Plain Layout
46263
46264 }
46265 \end_layout
46266
46267 \end_inset
46268
46269  Purple
46270 \end_layout
46271
46272 \end_inset
46273 </cell>
46274 </row>
46275 <row>
46276 <cell alignment="left" valignment="top" usebox="none">
46277 \begin_inset Text
46278
46279 \begin_layout Plain Layout
46280 \begin_inset ERT
46281 status collapsed
46282
46283 \begin_layout Plain Layout
46284
46285
46286 \backslash
46287 fcolorbox{black}{
46288 \end_layout
46289
46290 \end_inset
46291
46292 RawSienna
46293 \begin_inset ERT
46294 status collapsed
46295
46296 \begin_layout Plain Layout
46297
46298 }{
46299 \end_layout
46300
46301 \end_inset
46302
46303
46304 \begin_inset Phantom Phantom
46305 status open
46306
46307 \begin_layout Plain Layout
46308 W
46309 \end_layout
46310
46311 \end_inset
46312
46313
46314 \begin_inset ERT
46315 status collapsed
46316
46317 \begin_layout Plain Layout
46318
46319 }
46320 \end_layout
46321
46322 \end_inset
46323
46324  RawSienna
46325 \end_layout
46326
46327 \end_inset
46328 </cell>
46329 <cell alignment="left" valignment="top" usebox="none">
46330 \begin_inset Text
46331
46332 \begin_layout Plain Layout
46333 \begin_inset ERT
46334 status collapsed
46335
46336 \begin_layout Plain Layout
46337
46338
46339 \backslash
46340 fcolorbox{black}{
46341 \end_layout
46342
46343 \end_inset
46344
46345 RedOrange
46346 \begin_inset ERT
46347 status collapsed
46348
46349 \begin_layout Plain Layout
46350
46351 }{
46352 \end_layout
46353
46354 \end_inset
46355
46356
46357 \begin_inset Phantom Phantom
46358 status open
46359
46360 \begin_layout Plain Layout
46361 W
46362 \end_layout
46363
46364 \end_inset
46365
46366
46367 \begin_inset ERT
46368 status collapsed
46369
46370 \begin_layout Plain Layout
46371
46372 }
46373 \end_layout
46374
46375 \end_inset
46376
46377  RedOrange
46378 \end_layout
46379
46380 \end_inset
46381 </cell>
46382 <cell alignment="left" valignment="top" usebox="none">
46383 \begin_inset Text
46384
46385 \begin_layout Plain Layout
46386 \begin_inset ERT
46387 status collapsed
46388
46389 \begin_layout Plain Layout
46390
46391
46392 \backslash
46393 fcolorbox{black}{
46394 \end_layout
46395
46396 \end_inset
46397
46398 RedViolet
46399 \begin_inset ERT
46400 status collapsed
46401
46402 \begin_layout Plain Layout
46403
46404 }{
46405 \end_layout
46406
46407 \end_inset
46408
46409
46410 \begin_inset Phantom Phantom
46411 status open
46412
46413 \begin_layout Plain Layout
46414 W
46415 \end_layout
46416
46417 \end_inset
46418
46419
46420 \begin_inset ERT
46421 status collapsed
46422
46423 \begin_layout Plain Layout
46424
46425 }
46426 \end_layout
46427
46428 \end_inset
46429
46430  RedViolet
46431 \end_layout
46432
46433 \end_inset
46434 </cell>
46435 <cell alignment="left" valignment="top" usebox="none">
46436 \begin_inset Text
46437
46438 \begin_layout Plain Layout
46439 \begin_inset ERT
46440 status collapsed
46441
46442 \begin_layout Plain Layout
46443
46444
46445 \backslash
46446 fcolorbox{black}{
46447 \end_layout
46448
46449 \end_inset
46450
46451 Rhodamine
46452 \begin_inset ERT
46453 status collapsed
46454
46455 \begin_layout Plain Layout
46456
46457 }{
46458 \end_layout
46459
46460 \end_inset
46461
46462
46463 \begin_inset Phantom Phantom
46464 status open
46465
46466 \begin_layout Plain Layout
46467 W
46468 \end_layout
46469
46470 \end_inset
46471
46472
46473 \begin_inset ERT
46474 status collapsed
46475
46476 \begin_layout Plain Layout
46477
46478 }
46479 \end_layout
46480
46481 \end_inset
46482
46483  Rhodamine
46484 \end_layout
46485
46486 \end_inset
46487 </cell>
46488 </row>
46489 <row>
46490 <cell alignment="left" valignment="top" usebox="none">
46491 \begin_inset Text
46492
46493 \begin_layout Plain Layout
46494 \begin_inset ERT
46495 status collapsed
46496
46497 \begin_layout Plain Layout
46498
46499
46500 \backslash
46501 fcolorbox{black}{
46502 \end_layout
46503
46504 \end_inset
46505
46506 RoyalBlue
46507 \begin_inset ERT
46508 status collapsed
46509
46510 \begin_layout Plain Layout
46511
46512 }{
46513 \end_layout
46514
46515 \end_inset
46516
46517
46518 \begin_inset Phantom Phantom
46519 status open
46520
46521 \begin_layout Plain Layout
46522 W
46523 \end_layout
46524
46525 \end_inset
46526
46527
46528 \begin_inset ERT
46529 status collapsed
46530
46531 \begin_layout Plain Layout
46532
46533 }
46534 \end_layout
46535
46536 \end_inset
46537
46538  RoyalBlue
46539 \end_layout
46540
46541 \end_inset
46542 </cell>
46543 <cell alignment="left" valignment="top" usebox="none">
46544 \begin_inset Text
46545
46546 \begin_layout Plain Layout
46547 \begin_inset ERT
46548 status collapsed
46549
46550 \begin_layout Plain Layout
46551
46552
46553 \backslash
46554 fcolorbox{black}{
46555 \end_layout
46556
46557 \end_inset
46558
46559 RoyalPurple
46560 \begin_inset ERT
46561 status collapsed
46562
46563 \begin_layout Plain Layout
46564
46565 }{
46566 \end_layout
46567
46568 \end_inset
46569
46570
46571 \begin_inset Phantom Phantom
46572 status open
46573
46574 \begin_layout Plain Layout
46575 W
46576 \end_layout
46577
46578 \end_inset
46579
46580
46581 \begin_inset ERT
46582 status collapsed
46583
46584 \begin_layout Plain Layout
46585
46586 }
46587 \end_layout
46588
46589 \end_inset
46590
46591  RoyalPurple
46592 \end_layout
46593
46594 \end_inset
46595 </cell>
46596 <cell alignment="left" valignment="top" usebox="none">
46597 \begin_inset Text
46598
46599 \begin_layout Plain Layout
46600 \begin_inset ERT
46601 status collapsed
46602
46603 \begin_layout Plain Layout
46604
46605
46606 \backslash
46607 fcolorbox{black}{
46608 \end_layout
46609
46610 \end_inset
46611
46612 RubineRed
46613 \begin_inset ERT
46614 status collapsed
46615
46616 \begin_layout Plain Layout
46617
46618 }{
46619 \end_layout
46620
46621 \end_inset
46622
46623
46624 \begin_inset Phantom Phantom
46625 status open
46626
46627 \begin_layout Plain Layout
46628 W
46629 \end_layout
46630
46631 \end_inset
46632
46633
46634 \begin_inset ERT
46635 status collapsed
46636
46637 \begin_layout Plain Layout
46638
46639 }
46640 \end_layout
46641
46642 \end_inset
46643
46644  RubineRed
46645 \end_layout
46646
46647 \end_inset
46648 </cell>
46649 <cell alignment="left" valignment="top" usebox="none">
46650 \begin_inset Text
46651
46652 \begin_layout Plain Layout
46653 \begin_inset ERT
46654 status collapsed
46655
46656 \begin_layout Plain Layout
46657
46658
46659 \backslash
46660 fcolorbox{black}{
46661 \end_layout
46662
46663 \end_inset
46664
46665 Salmon
46666 \begin_inset ERT
46667 status collapsed
46668
46669 \begin_layout Plain Layout
46670
46671 }{
46672 \end_layout
46673
46674 \end_inset
46675
46676
46677 \begin_inset Phantom Phantom
46678 status open
46679
46680 \begin_layout Plain Layout
46681 W
46682 \end_layout
46683
46684 \end_inset
46685
46686
46687 \begin_inset ERT
46688 status collapsed
46689
46690 \begin_layout Plain Layout
46691
46692 }
46693 \end_layout
46694
46695 \end_inset
46696
46697  Salmon
46698 \end_layout
46699
46700 \end_inset
46701 </cell>
46702 </row>
46703 <row>
46704 <cell alignment="left" valignment="top" usebox="none">
46705 \begin_inset Text
46706
46707 \begin_layout Plain Layout
46708 \begin_inset ERT
46709 status collapsed
46710
46711 \begin_layout Plain Layout
46712
46713
46714 \backslash
46715 fcolorbox{black}{
46716 \end_layout
46717
46718 \end_inset
46719
46720 SeaGreen
46721 \begin_inset ERT
46722 status collapsed
46723
46724 \begin_layout Plain Layout
46725
46726 }{
46727 \end_layout
46728
46729 \end_inset
46730
46731
46732 \begin_inset Phantom Phantom
46733 status open
46734
46735 \begin_layout Plain Layout
46736 W
46737 \end_layout
46738
46739 \end_inset
46740
46741
46742 \begin_inset ERT
46743 status collapsed
46744
46745 \begin_layout Plain Layout
46746
46747 }
46748 \end_layout
46749
46750 \end_inset
46751
46752  SeaGreen
46753 \end_layout
46754
46755 \end_inset
46756 </cell>
46757 <cell alignment="left" valignment="top" usebox="none">
46758 \begin_inset Text
46759
46760 \begin_layout Plain Layout
46761 \begin_inset ERT
46762 status collapsed
46763
46764 \begin_layout Plain Layout
46765
46766
46767 \backslash
46768 fcolorbox{black}{
46769 \end_layout
46770
46771 \end_inset
46772
46773 Sepia
46774 \begin_inset ERT
46775 status collapsed
46776
46777 \begin_layout Plain Layout
46778
46779 }{
46780 \end_layout
46781
46782 \end_inset
46783
46784
46785 \begin_inset Phantom Phantom
46786 status open
46787
46788 \begin_layout Plain Layout
46789 W
46790 \end_layout
46791
46792 \end_inset
46793
46794
46795 \begin_inset ERT
46796 status collapsed
46797
46798 \begin_layout Plain Layout
46799
46800 }
46801 \end_layout
46802
46803 \end_inset
46804
46805  Sepia
46806 \end_layout
46807
46808 \end_inset
46809 </cell>
46810 <cell alignment="left" valignment="top" usebox="none">
46811 \begin_inset Text
46812
46813 \begin_layout Plain Layout
46814 \begin_inset ERT
46815 status collapsed
46816
46817 \begin_layout Plain Layout
46818
46819
46820 \backslash
46821 fcolorbox{black}{
46822 \end_layout
46823
46824 \end_inset
46825
46826 SkyBlue
46827 \begin_inset ERT
46828 status collapsed
46829
46830 \begin_layout Plain Layout
46831
46832 }{
46833 \end_layout
46834
46835 \end_inset
46836
46837
46838 \begin_inset Phantom Phantom
46839 status open
46840
46841 \begin_layout Plain Layout
46842 W
46843 \end_layout
46844
46845 \end_inset
46846
46847
46848 \begin_inset ERT
46849 status collapsed
46850
46851 \begin_layout Plain Layout
46852
46853 }
46854 \end_layout
46855
46856 \end_inset
46857
46858  SkyBlue
46859 \end_layout
46860
46861 \end_inset
46862 </cell>
46863 <cell alignment="left" valignment="top" usebox="none">
46864 \begin_inset Text
46865
46866 \begin_layout Plain Layout
46867 \begin_inset ERT
46868 status collapsed
46869
46870 \begin_layout Plain Layout
46871
46872
46873 \backslash
46874 fcolorbox{black}{
46875 \end_layout
46876
46877 \end_inset
46878
46879 SpringGreen
46880 \begin_inset ERT
46881 status collapsed
46882
46883 \begin_layout Plain Layout
46884
46885 }{
46886 \end_layout
46887
46888 \end_inset
46889
46890
46891 \begin_inset Phantom Phantom
46892 status open
46893
46894 \begin_layout Plain Layout
46895 W
46896 \end_layout
46897
46898 \end_inset
46899
46900
46901 \begin_inset ERT
46902 status collapsed
46903
46904 \begin_layout Plain Layout
46905
46906 }
46907 \end_layout
46908
46909 \end_inset
46910
46911  SpringGreen
46912 \end_layout
46913
46914 \end_inset
46915 </cell>
46916 </row>
46917 <row>
46918 <cell alignment="left" valignment="top" usebox="none">
46919 \begin_inset Text
46920
46921 \begin_layout Plain Layout
46922 \begin_inset ERT
46923 status collapsed
46924
46925 \begin_layout Plain Layout
46926
46927
46928 \backslash
46929 fcolorbox{black}{
46930 \end_layout
46931
46932 \end_inset
46933
46934 Tan
46935 \begin_inset ERT
46936 status collapsed
46937
46938 \begin_layout Plain Layout
46939
46940 }{
46941 \end_layout
46942
46943 \end_inset
46944
46945
46946 \begin_inset Phantom Phantom
46947 status open
46948
46949 \begin_layout Plain Layout
46950 W
46951 \end_layout
46952
46953 \end_inset
46954
46955
46956 \begin_inset ERT
46957 status collapsed
46958
46959 \begin_layout Plain Layout
46960
46961 }
46962 \end_layout
46963
46964 \end_inset
46965
46966  Tan
46967 \end_layout
46968
46969 \end_inset
46970 </cell>
46971 <cell alignment="left" valignment="top" usebox="none">
46972 \begin_inset Text
46973
46974 \begin_layout Plain Layout
46975 \begin_inset ERT
46976 status collapsed
46977
46978 \begin_layout Plain Layout
46979
46980
46981 \backslash
46982 fcolorbox{black}{
46983 \end_layout
46984
46985 \end_inset
46986
46987 TealBlue
46988 \begin_inset ERT
46989 status collapsed
46990
46991 \begin_layout Plain Layout
46992
46993 }{
46994 \end_layout
46995
46996 \end_inset
46997
46998
46999 \begin_inset Phantom Phantom
47000 status open
47001
47002 \begin_layout Plain Layout
47003 W
47004 \end_layout
47005
47006 \end_inset
47007
47008
47009 \begin_inset ERT
47010 status collapsed
47011
47012 \begin_layout Plain Layout
47013
47014 }
47015 \end_layout
47016
47017 \end_inset
47018
47019  TealBlue
47020 \end_layout
47021
47022 \end_inset
47023 </cell>
47024 <cell alignment="left" valignment="top" usebox="none">
47025 \begin_inset Text
47026
47027 \begin_layout Plain Layout
47028 \begin_inset ERT
47029 status collapsed
47030
47031 \begin_layout Plain Layout
47032
47033
47034 \backslash
47035 fcolorbox{black}{
47036 \end_layout
47037
47038 \end_inset
47039
47040 Thistle
47041 \begin_inset ERT
47042 status collapsed
47043
47044 \begin_layout Plain Layout
47045
47046 }{
47047 \end_layout
47048
47049 \end_inset
47050
47051
47052 \begin_inset Phantom Phantom
47053 status open
47054
47055 \begin_layout Plain Layout
47056 W
47057 \end_layout
47058
47059 \end_inset
47060
47061
47062 \begin_inset ERT
47063 status collapsed
47064
47065 \begin_layout Plain Layout
47066
47067 }
47068 \end_layout
47069
47070 \end_inset
47071
47072  Thistle
47073 \end_layout
47074
47075 \end_inset
47076 </cell>
47077 <cell alignment="left" valignment="top" usebox="none">
47078 \begin_inset Text
47079
47080 \begin_layout Plain Layout
47081 \begin_inset ERT
47082 status collapsed
47083
47084 \begin_layout Plain Layout
47085
47086
47087 \backslash
47088 fcolorbox{black}{
47089 \end_layout
47090
47091 \end_inset
47092
47093 Turquoise
47094 \begin_inset ERT
47095 status collapsed
47096
47097 \begin_layout Plain Layout
47098
47099 }{
47100 \end_layout
47101
47102 \end_inset
47103
47104
47105 \begin_inset Phantom Phantom
47106 status open
47107
47108 \begin_layout Plain Layout
47109 W
47110 \end_layout
47111
47112 \end_inset
47113
47114
47115 \begin_inset ERT
47116 status collapsed
47117
47118 \begin_layout Plain Layout
47119
47120 }
47121 \end_layout
47122
47123 \end_inset
47124
47125  Turquoise
47126 \end_layout
47127
47128 \end_inset
47129 </cell>
47130 </row>
47131 <row>
47132 <cell alignment="left" valignment="top" usebox="none">
47133 \begin_inset Text
47134
47135 \begin_layout Plain Layout
47136 \begin_inset ERT
47137 status collapsed
47138
47139 \begin_layout Plain Layout
47140
47141
47142 \backslash
47143 fcolorbox{black}{
47144 \end_layout
47145
47146 \end_inset
47147
47148 Violet
47149 \begin_inset ERT
47150 status collapsed
47151
47152 \begin_layout Plain Layout
47153
47154 }{
47155 \end_layout
47156
47157 \end_inset
47158
47159
47160 \begin_inset Phantom Phantom
47161 status open
47162
47163 \begin_layout Plain Layout
47164 W
47165 \end_layout
47166
47167 \end_inset
47168
47169
47170 \begin_inset ERT
47171 status collapsed
47172
47173 \begin_layout Plain Layout
47174
47175 }
47176 \end_layout
47177
47178 \end_inset
47179
47180  Violet
47181 \end_layout
47182
47183 \end_inset
47184 </cell>
47185 <cell alignment="left" valignment="top" usebox="none">
47186 \begin_inset Text
47187
47188 \begin_layout Plain Layout
47189 \begin_inset ERT
47190 status collapsed
47191
47192 \begin_layout Plain Layout
47193
47194
47195 \backslash
47196 fcolorbox{black}{
47197 \end_layout
47198
47199 \end_inset
47200
47201 VioletRed
47202 \begin_inset ERT
47203 status collapsed
47204
47205 \begin_layout Plain Layout
47206
47207 }{
47208 \end_layout
47209
47210 \end_inset
47211
47212
47213 \begin_inset Phantom Phantom
47214 status open
47215
47216 \begin_layout Plain Layout
47217 W
47218 \end_layout
47219
47220 \end_inset
47221
47222
47223 \begin_inset ERT
47224 status collapsed
47225
47226 \begin_layout Plain Layout
47227
47228 }
47229 \end_layout
47230
47231 \end_inset
47232
47233  VioletRed
47234 \end_layout
47235
47236 \end_inset
47237 </cell>
47238 <cell alignment="left" valignment="top" usebox="none">
47239 \begin_inset Text
47240
47241 \begin_layout Plain Layout
47242 \begin_inset ERT
47243 status collapsed
47244
47245 \begin_layout Plain Layout
47246
47247
47248 \backslash
47249 fcolorbox{black}{
47250 \end_layout
47251
47252 \end_inset
47253
47254 WildStrawberry
47255 \begin_inset ERT
47256 status collapsed
47257
47258 \begin_layout Plain Layout
47259
47260 }{
47261 \end_layout
47262
47263 \end_inset
47264
47265
47266 \begin_inset Phantom Phantom
47267 status open
47268
47269 \begin_layout Plain Layout
47270 W
47271 \end_layout
47272
47273 \end_inset
47274
47275
47276 \begin_inset ERT
47277 status collapsed
47278
47279 \begin_layout Plain Layout
47280
47281 }
47282 \end_layout
47283
47284 \end_inset
47285
47286  WildStrawberry
47287 \end_layout
47288
47289 \end_inset
47290 </cell>
47291 <cell alignment="left" valignment="top" usebox="none">
47292 \begin_inset Text
47293
47294 \begin_layout Plain Layout
47295 \begin_inset ERT
47296 status collapsed
47297
47298 \begin_layout Plain Layout
47299
47300
47301 \backslash
47302 fcolorbox{black}{
47303 \end_layout
47304
47305 \end_inset
47306
47307 YellowGreen
47308 \begin_inset ERT
47309 status collapsed
47310
47311 \begin_layout Plain Layout
47312
47313 }{
47314 \end_layout
47315
47316 \end_inset
47317
47318
47319 \begin_inset Phantom Phantom
47320 status open
47321
47322 \begin_layout Plain Layout
47323 W
47324 \end_layout
47325
47326 \end_inset
47327
47328
47329 \begin_inset ERT
47330 status collapsed
47331
47332 \begin_layout Plain Layout
47333
47334 }
47335 \end_layout
47336
47337 \end_inset
47338
47339  YellowGreen
47340 \end_layout
47341
47342 \end_inset
47343 </cell>
47344 </row>
47345 <row>
47346 <cell alignment="left" valignment="top" usebox="none">
47347 \begin_inset Text
47348
47349 \begin_layout Plain Layout
47350 \begin_inset ERT
47351 status collapsed
47352
47353 \begin_layout Plain Layout
47354
47355
47356 \backslash
47357 fcolorbox{black}{
47358 \end_layout
47359
47360 \end_inset
47361
47362 YellowOrange
47363 \begin_inset ERT
47364 status collapsed
47365
47366 \begin_layout Plain Layout
47367
47368 }{
47369 \end_layout
47370
47371 \end_inset
47372
47373
47374 \begin_inset Phantom Phantom
47375 status open
47376
47377 \begin_layout Plain Layout
47378 W
47379 \end_layout
47380
47381 \end_inset
47382
47383
47384 \begin_inset ERT
47385 status collapsed
47386
47387 \begin_layout Plain Layout
47388
47389 }
47390 \end_layout
47391
47392 \end_inset
47393
47394  YellowOrange
47395 \end_layout
47396
47397 \end_inset
47398 </cell>
47399 <cell alignment="left" valignment="top" usebox="none">
47400 \begin_inset Text
47401
47402 \begin_layout Plain Layout
47403
47404 \end_layout
47405
47406 \end_inset
47407 </cell>
47408 <cell alignment="left" valignment="top" usebox="none">
47409 \begin_inset Text
47410
47411 \begin_layout Plain Layout
47412
47413 \end_layout
47414
47415 \end_inset
47416 </cell>
47417 <cell alignment="left" valignment="top" usebox="none">
47418 \begin_inset Text
47419
47420 \begin_layout Plain Layout
47421
47422 \end_layout
47423
47424 \end_inset
47425 </cell>
47426 </row>
47427 </lyxtabular>
47428
47429 \end_inset
47430
47431
47432 \end_layout
47433
47434 \begin_layout Chapter
47435 Explanation of Equation
47436 \begin_inset space ~
47437 \end_inset
47438
47439 (
47440 \begin_inset CommandInset ref
47441 LatexCommand ref
47442 reference "eq:Wgn"
47443
47444 \end_inset
47445
47446 )
47447 \begin_inset CommandInset label
47448 LatexCommand label
47449 name "cha:Explanation-of-Equation"
47450
47451 \end_inset
47452
47453
47454 \end_layout
47455
47456 \begin_layout Standard
47457 We can calculate the total width of 
47458 \emph on
47459 n
47460 \emph default
47461  table cells 
47462 \begin_inset Formula $W_{\mathrm{tot\,n}}$
47463 \end_inset
47464
47465  as follows:
47466 \begin_inset Formula 
47467 \begin{equation}
47468 W_{\mathrm{tot}\,n}=n\cdot(W_{g\,n}+2\cdot\backslash\mbox{tabcolsep})+(n+1)\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}
47469 \end{equation}
47470
47471 \end_inset
47472
47473 where 
47474 \begin_inset Formula $W_{g\,n}$
47475 \end_inset
47476
47477  is the given width of all cells, 
47478 \series bold
47479
47480 \backslash
47481 tabcolsep
47482 \series default
47483  is the \SpecialChar LaTeX
47484 -length between the cell text and the cell border (its default value
47485  is 6
47486 \begin_inset space \thinspace{}
47487 \end_inset
47488
47489 pt).
47490  
47491 \series bold
47492
47493 \backslash
47494 arrayrulewidth
47495 \series default
47496  is the thickness of the cell border line, the default is 0.4
47497 \begin_inset space \thinspace{}
47498 \end_inset
47499
47500 pt.
47501 \end_layout
47502
47503 \begin_layout Standard
47504 Following equation
47505 \begin_inset space ~
47506 \end_inset
47507
47508
47509 \begin_inset CommandInset ref
47510 LatexCommand eqref
47511 reference "eq:Wtot_n"
47512
47513 \end_inset
47514
47515 , the total width of a multicolumn 
47516 \begin_inset Formula $W_{\mathrm{tot\,mult}}$
47517 \end_inset
47518
47519  is
47520 \begin_inset Formula 
47521 \begin{equation}
47522 W_{\mathrm{tot\,mult}}=W_{g\,\mathrm{mult}}+2\cdot\backslash\mbox{tabcolsep}+2\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}
47523 \end{equation}
47524
47525 \end_inset
47526
47527
47528 \end_layout
47529
47530 \begin_layout Standard
47531 By setting equation
47532 \begin_inset space ~
47533 \end_inset
47534
47535
47536 \begin_inset CommandInset ref
47537 LatexCommand eqref
47538 reference "eq:Wtot_n"
47539
47540 \end_inset
47541
47542  and 
47543 \begin_inset CommandInset ref
47544 LatexCommand eqref
47545 reference "eq:Wtot_mult"
47546
47547 \end_inset
47548
47549  equal we can calculate the needed given width 
47550 \begin_inset Formula $W_{g\,n}$
47551 \end_inset
47552
47553  when 
47554 \emph on
47555 n
47556 \emph default
47557  columns are spanned, so that each column has a total width of 
47558 \begin_inset Formula $W_{\mathrm{tot\,mult}}/n$
47559 \end_inset
47560
47561 :
47562 \begin_inset Formula 
47563 \begin{equation}
47564 W_{g\,n}=\frac{W_{g\,\mathrm{mult}}+(1-n)\cdot(2\cdot\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth})}{n}
47565 \end{equation}
47566
47567 \end_inset
47568
47569
47570 \end_layout
47571
47572 \begin_layout Bibliography
47573 \begin_inset CommandInset bibitem
47574 LatexCommand bibitem
47575 key "latexcompanion"
47576 literal "true"
47577
47578 \end_inset
47579
47580 Frank Mittelbach and Michel Goossens: 
47581 \emph on
47582 The \SpecialChar LaTeX
47583  Companion Second Edition.
47584
47585 \emph default
47586  Addison-Wesley, 2004
47587 \end_layout
47588
47589 \begin_layout Bibliography
47590 \begin_inset CommandInset bibitem
47591 LatexCommand bibitem
47592 key "latexguide"
47593 literal "true"
47594
47595 \end_inset
47596
47597 Helmut Kopka and Patrick W.
47598  Daly: 
47599 \emph on
47600 A Guide to \SpecialChar LaTeX
47601  Fourth Edition.
47602
47603 \emph default
47604  Addison-Wesley, 2003
47605 \end_layout
47606
47607 \begin_layout Bibliography
47608 \begin_inset CommandInset bibitem
47609 LatexCommand bibitem
47610 key "latexbook"
47611 literal "true"
47612
47613 \end_inset
47614
47615 Leslie Lamport: 
47616 \emph on
47617 \SpecialChar LaTeX
47618 : A Document Preparation System.
47619
47620 \emph default
47621  Addison-Wesley, second edition, 1994
47622 \end_layout
47623
47624 \begin_layout Bibliography
47625 \begin_inset CommandInset bibitem
47626 LatexCommand bibitem
47627 key "arydshln"
47628 literal "true"
47629
47630 \end_inset
47631
47632 Documentation of the \SpecialChar LaTeX
47633 -package 
47634 \series bold
47635
47636 \begin_inset CommandInset href
47637 LatexCommand href
47638 name "arydshln"
47639 target "https://www.ctan.org/tex-archive/macros/latex/contrib//arydshln/arydshln.pdf"
47640 literal "false"
47641
47642 \end_inset
47643
47644
47645 \series default
47646
47647 \begin_inset Index idx
47648 status collapsed
47649
47650 \begin_layout Plain Layout
47651 \SpecialChar LaTeX
47652 -packages ! arydshln
47653 \end_layout
47654
47655 \end_inset
47656
47657
47658 \end_layout
47659
47660 \begin_layout Bibliography
47661 \begin_inset CommandInset bibitem
47662 LatexCommand bibitem
47663 key "booktabs"
47664 literal "true"
47665
47666 \end_inset
47667
47668 Documentation of the \SpecialChar LaTeX
47669 -package 
47670 \series bold
47671
47672 \begin_inset CommandInset href
47673 LatexCommand href
47674 name "booktabs"
47675 target "https://www.ctan.org/tex-archive/macros/latex/contrib//booktabs/booktabs.pdf"
47676 literal "false"
47677
47678 \end_inset
47679
47680
47681 \series default
47682
47683 \begin_inset Index idx
47684 status collapsed
47685
47686 \begin_layout Plain Layout
47687 \SpecialChar LaTeX
47688 -packages ! booktabs
47689 \end_layout
47690
47691 \end_inset
47692
47693
47694 \end_layout
47695
47696 \begin_layout Bibliography
47697 \begin_inset CommandInset bibitem
47698 LatexCommand bibitem
47699 key "caption"
47700 literal "true"
47701
47702 \end_inset
47703
47704 Documentation of the \SpecialChar LaTeX
47705 -package 
47706 \series bold
47707
47708 \begin_inset CommandInset href
47709 LatexCommand href
47710 name "caption"
47711 target "https://www.ctan.org/tex-archive/macros/latex/contrib/caption/caption-eng.pdf"
47712 literal "false"
47713
47714 \end_inset
47715
47716
47717 \series default
47718
47719 \begin_inset Index idx
47720 status collapsed
47721
47722 \begin_layout Plain Layout
47723 \SpecialChar LaTeX
47724 -packages ! caption
47725 \end_layout
47726
47727 \end_inset
47728
47729
47730 \end_layout
47731
47732 \begin_layout Bibliography
47733 \begin_inset CommandInset bibitem
47734 LatexCommand bibitem
47735 key "diagbox"
47736 literal "true"
47737
47738 \end_inset
47739
47740 Documentation of the \SpecialChar LaTeX
47741 -package 
47742 \series bold
47743
47744 \begin_inset CommandInset href
47745 LatexCommand href
47746 name "diagbox"
47747 target "https://www.ctan.org/tex-archive/macros/latex/contrib//diagbox/diagbox.pdf"
47748 literal "false"
47749
47750 \end_inset
47751
47752
47753 \series default
47754
47755 \begin_inset Index idx
47756 status collapsed
47757
47758 \begin_layout Plain Layout
47759 \SpecialChar LaTeX
47760 -packages ! diagbox
47761 \end_layout
47762
47763 \end_inset
47764
47765
47766 \end_layout
47767
47768 \begin_layout Bibliography
47769 \begin_inset CommandInset bibitem
47770 LatexCommand bibitem
47771 key "endfloat"
47772 literal "true"
47773
47774 \end_inset
47775
47776 Documentation of the \SpecialChar LaTeX
47777 -package 
47778 \series bold
47779
47780 \begin_inset CommandInset href
47781 LatexCommand href
47782 name "endfloat"
47783 target "https://www.ctan.org/tex-archive/macros/latex/contrib//endfloat/endfloat.pdf"
47784 literal "false"
47785
47786 \end_inset
47787
47788
47789 \series default
47790
47791 \begin_inset Index idx
47792 status collapsed
47793
47794 \begin_layout Plain Layout
47795 \SpecialChar LaTeX
47796 -packages ! endfloat
47797 \end_layout
47798
47799 \end_inset
47800
47801
47802 \end_layout
47803
47804 \begin_layout Bibliography
47805 \begin_inset CommandInset bibitem
47806 LatexCommand bibitem
47807 key "footmisc"
47808 literal "true"
47809
47810 \end_inset
47811
47812 Documentation of the \SpecialChar LaTeX
47813 -package 
47814 \series bold
47815
47816 \begin_inset CommandInset href
47817 LatexCommand href
47818 name "footmisc"
47819 target "https://www.ctan.org/tex-archive/macros/latex/contrib//footmisc/footmisc.pdf"
47820 literal "false"
47821
47822 \end_inset
47823
47824
47825 \series default
47826
47827 \begin_inset Index idx
47828 status collapsed
47829
47830 \begin_layout Plain Layout
47831 \SpecialChar LaTeX
47832 -packages ! footmisc
47833 \end_layout
47834
47835 \end_inset
47836
47837
47838 \end_layout
47839
47840 \begin_layout Bibliography
47841 \begin_inset CommandInset bibitem
47842 LatexCommand bibitem
47843 key "hypcap"
47844 literal "true"
47845
47846 \end_inset
47847
47848 Documentation of the \SpecialChar LaTeX
47849 -package 
47850 \series bold
47851
47852 \begin_inset CommandInset href
47853 LatexCommand href
47854 name "hypcap"
47855 target "https://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf"
47856 literal "false"
47857
47858 \end_inset
47859
47860
47861 \series default
47862
47863 \begin_inset Index idx
47864 status collapsed
47865
47866 \begin_layout Plain Layout
47867 \SpecialChar LaTeX
47868 -packages ! hyperref
47869 \end_layout
47870
47871 \end_inset
47872
47873
47874 \end_layout
47875
47876 \begin_layout Bibliography
47877 \begin_inset CommandInset bibitem
47878 LatexCommand bibitem
47879 key "hyperref"
47880 literal "true"
47881
47882 \end_inset
47883
47884 Documentation of the \SpecialChar LaTeX
47885 -package 
47886 \series bold
47887
47888 \begin_inset CommandInset href
47889 LatexCommand href
47890 name "hyperref"
47891 target "https://www.ctan.org/tex-archive/macros/latex/contrib//hyperref/hyperref.pdf"
47892 literal "false"
47893
47894 \end_inset
47895
47896
47897 \series default
47898
47899 \begin_inset Index idx
47900 status collapsed
47901
47902 \begin_layout Plain Layout
47903 \SpecialChar LaTeX
47904 -packages ! hyperref
47905 \end_layout
47906
47907 \end_inset
47908
47909
47910 \end_layout
47911
47912 \begin_layout Bibliography
47913 \begin_inset CommandInset bibitem
47914 LatexCommand bibitem
47915 key "KOMA-Script"
47916 literal "true"
47917
47918 \end_inset
47919
47920 Documentation of the \SpecialChar LaTeX
47921 -package 
47922 \series bold
47923
47924 \begin_inset CommandInset href
47925 LatexCommand href
47926 name "KOMA-Script"
47927 target "https://www.ctan.org/tex-archive/macros/latex/contrib/koma-script/doc/scrguien.pdf"
47928 literal "false"
47929
47930 \end_inset
47931
47932
47933 \series default
47934
47935 \begin_inset Index idx
47936 status collapsed
47937
47938 \begin_layout Plain Layout
47939 \SpecialChar LaTeX
47940 -packages ! KOMA-Script
47941 \end_layout
47942
47943 \end_inset
47944
47945
47946 \end_layout
47947
47948 \begin_layout Bibliography
47949 \begin_inset CommandInset bibitem
47950 LatexCommand bibitem
47951 key "lettrine"
47952 literal "true"
47953
47954 \end_inset
47955
47956 Documentation of the \SpecialChar LaTeX
47957 -package 
47958 \series bold
47959
47960 \begin_inset CommandInset href
47961 LatexCommand href
47962 name "lettrine"
47963 target "https://www.ctan.org/tex-archive/macros/latex/contrib/lettrine/doc/lettrine.pdf"
47964 literal "false"
47965
47966 \end_inset
47967
47968
47969 \series default
47970  and an 
47971 \begin_inset CommandInset href
47972 LatexCommand href
47973 name "example"
47974 target "https://www.ctan.org/tex-archive/macros/latex/contrib/lettrine/doc/demo.pdf"
47975 literal "false"
47976
47977 \end_inset
47978
47979
47980 \begin_inset Index idx
47981 status collapsed
47982
47983 \begin_layout Plain Layout
47984 \SpecialChar LaTeX
47985 -packages ! lettrine
47986 \end_layout
47987
47988 \end_inset
47989
47990
47991 \end_layout
47992
47993 \begin_layout Bibliography
47994 \begin_inset CommandInset bibitem
47995 LatexCommand bibitem
47996 key "listings"
47997 literal "true"
47998
47999 \end_inset
48000
48001 Documentation of the \SpecialChar LaTeX
48002 -package 
48003 \series bold
48004
48005 \begin_inset CommandInset href
48006 LatexCommand href
48007 name "listings"
48008 target "https://www.ctan.org/tex-archive/macros/latex/contrib//listings/listings.pdf"
48009 literal "false"
48010
48011 \end_inset
48012
48013
48014 \series default
48015
48016 \begin_inset Index idx
48017 status collapsed
48018
48019 \begin_layout Plain Layout
48020 \SpecialChar LaTeX
48021 -packages ! listings
48022 \end_layout
48023
48024 \end_inset
48025
48026
48027 \end_layout
48028
48029 \begin_layout Bibliography
48030 \begin_inset CommandInset bibitem
48031 LatexCommand bibitem
48032 key "minted"
48033 literal "false"
48034
48035 \end_inset
48036
48037 Documentation of the \SpecialChar LaTeX
48038 -package 
48039 \series bold
48040
48041 \begin_inset CommandInset href
48042 LatexCommand href
48043 name "minted"
48044 target "https://www.ctan.org/tex-archive/macros/latex/contrib//minted/minted.pdf"
48045 literal "false"
48046
48047 \end_inset
48048
48049
48050 \series default
48051
48052 \begin_inset Index idx
48053 status collapsed
48054
48055 \begin_layout Plain Layout
48056 \SpecialChar LaTeX
48057 -packages ! minted
48058 \end_layout
48059
48060 \end_inset
48061
48062
48063 \end_layout
48064
48065 \begin_layout Bibliography
48066 \begin_inset CommandInset bibitem
48067 LatexCommand bibitem
48068 key "marginnote"
48069 literal "true"
48070
48071 \end_inset
48072
48073 Documentation of the \SpecialChar LaTeX
48074 -package 
48075 \series bold
48076
48077 \begin_inset CommandInset href
48078 LatexCommand href
48079 name "marginnote"
48080 target "https://www.ctan.org/tex-archive/macros/latex/contrib//marginnote/marginnote.pdf"
48081 literal "false"
48082
48083 \end_inset
48084
48085
48086 \series default
48087
48088 \begin_inset Index idx
48089 status collapsed
48090
48091 \begin_layout Plain Layout
48092 \SpecialChar LaTeX
48093 -packages ! marginnote
48094 \end_layout
48095
48096 \end_inset
48097
48098
48099 \end_layout
48100
48101 \begin_layout Bibliography
48102 \begin_inset CommandInset bibitem
48103 LatexCommand bibitem
48104 key "pdfpages"
48105 literal "true"
48106
48107 \end_inset
48108
48109 Documentation of the \SpecialChar LaTeX
48110 -package 
48111 \series bold
48112
48113 \begin_inset CommandInset href
48114 LatexCommand href
48115 name "pdfpages"
48116 target "https://www.ctan.org/tex-archive/macros/latex/contrib/pdfpages/pdfpages.pdf"
48117 literal "false"
48118
48119 \end_inset
48120
48121
48122 \series default
48123
48124 \begin_inset Index idx
48125 status collapsed
48126
48127 \begin_layout Plain Layout
48128 \SpecialChar LaTeX
48129 -packages ! pdfpages
48130 \end_layout
48131
48132 \end_inset
48133
48134
48135 \end_layout
48136
48137 \begin_layout Bibliography
48138 \begin_inset CommandInset bibitem
48139 LatexCommand bibitem
48140 key "prettyref"
48141 literal "true"
48142
48143 \end_inset
48144
48145 Documentation of the \SpecialChar LaTeX
48146 -package 
48147 \series bold
48148
48149 \begin_inset CommandInset href
48150 LatexCommand href
48151 name "prettyref"
48152 target "https://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf"
48153 literal "false"
48154
48155 \end_inset
48156
48157
48158 \series default
48159
48160 \begin_inset Index idx
48161 status collapsed
48162
48163 \begin_layout Plain Layout
48164 \SpecialChar LaTeX
48165 -packages ! prettyref
48166 \end_layout
48167
48168 \end_inset
48169
48170
48171 \end_layout
48172
48173 \begin_layout Bibliography
48174 \begin_inset CommandInset bibitem
48175 LatexCommand bibitem
48176 key "pstricks"
48177 literal "true"
48178
48179 \end_inset
48180
48181 Web page of the \SpecialChar LaTeX
48182 -package 
48183 \series bold
48184
48185 \begin_inset CommandInset href
48186 LatexCommand href
48187 name "PSTricks"
48188 target "http://tug.org/PSTricks/"
48189 literal "false"
48190
48191 \end_inset
48192
48193
48194 \series default
48195
48196 \begin_inset Index idx
48197 status collapsed
48198
48199 \begin_layout Plain Layout
48200 \SpecialChar LaTeX
48201 -packages ! PSTricks
48202 \end_layout
48203
48204 \end_inset
48205
48206
48207 \end_layout
48208
48209 \begin_layout Bibliography
48210 \begin_inset CommandInset bibitem
48211 LatexCommand bibitem
48212 key "refstyle"
48213 literal "true"
48214
48215 \end_inset
48216
48217 Documentation of the \SpecialChar LaTeX
48218 -package 
48219 \series bold
48220
48221 \begin_inset CommandInset href
48222 LatexCommand href
48223 name "refstyle"
48224 target "https://www.ctan.org/tex-archive/macros/latex/contrib/refstyle/refstyle.pdf"
48225 literal "false"
48226
48227 \end_inset
48228
48229
48230 \series default
48231
48232 \begin_inset Index idx
48233 status collapsed
48234
48235 \begin_layout Plain Layout
48236 \SpecialChar LaTeX
48237 -packages ! refstyle
48238 \end_layout
48239
48240 \end_inset
48241
48242
48243 \end_layout
48244
48245 \begin_layout Bibliography
48246 \begin_inset CommandInset bibitem
48247 LatexCommand bibitem
48248 key "sidecap"
48249 literal "true"
48250
48251 \end_inset
48252
48253 Documentation of the \SpecialChar LaTeX
48254 -package 
48255 \series bold
48256
48257 \begin_inset CommandInset href
48258 LatexCommand href
48259 name "sidecap"
48260 target "https://www.ctan.org/tex-archive/macros/latex/contrib//sidecap/sidecap.pdf"
48261 literal "false"
48262
48263 \end_inset
48264
48265
48266 \series default
48267
48268 \begin_inset Index idx
48269 status collapsed
48270
48271 \begin_layout Plain Layout
48272 \SpecialChar LaTeX
48273 -packages ! sidecap
48274 \end_layout
48275
48276 \end_inset
48277
48278
48279 \end_layout
48280
48281 \begin_layout Bibliography
48282 \begin_inset CommandInset bibitem
48283 LatexCommand bibitem
48284 key "Inkscape"
48285 literal "true"
48286
48287 \end_inset
48288
48289 Documentation of the option 
48290 \begin_inset CommandInset href
48291 LatexCommand href
48292 name "Omit text in PDF"
48293 target "https://www.ctan.org/tex-archive/info/svg-inkscape/InkscapePDFLaTeX.pdf"
48294 literal "false"
48295
48296 \end_inset
48297
48298  of the program 
48299 \noun on
48300
48301 \begin_inset CommandInset href
48302 LatexCommand href
48303 name "Inkscape"
48304 target "https://inkscape.org"
48305 literal "false"
48306
48307 \end_inset
48308
48309
48310 \end_layout
48311
48312 \begin_layout Standard
48313 \begin_inset CommandInset index_print
48314 LatexCommand printindex
48315 type "idx"
48316 name "Index"
48317 literal "false"
48318
48319 \end_inset
48320
48321
48322 \end_layout
48323
48324 \end_body
48325 \end_document