]> git.lyx.org Git - lyx.git/blob - lib/doc/EmbeddedObjects.lyx
Sync with master
[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 177693 "x"
256 \author 630872221 "Jean-Pierre Chrétien" jeanpierre.chretien@free.fr
257 \end_header
258
259 \begin_body
260
261 \begin_layout Title
262 \SpecialChar LyX
263 's detailed Figure, Table, Floats, Notes, Boxes and External Material manual
264 \end_layout
265
266 \begin_layout Author
267 by the \SpecialChar LyX
268  Team
269 \begin_inset Foot
270 status collapsed
271
272 \begin_layout Plain Layout
273 \noindent
274 If you have comments or error corrections, please send them to the \SpecialChar LyX
275  Documentatio
276 n mailing list: 
277 \begin_inset CommandInset href
278 LatexCommand href
279 name "lyx-docs@lists.lyx.org"
280 target "lyx-docs@lists.lyx.org?subject=EmbeddedObjects manual"
281 type "mailto:"
282 literal "false"
283
284 \end_inset
285
286
287 \end_layout
288
289 \end_inset
290
291
292 \begin_inset Note Note
293 status open
294
295 \begin_layout Plain Layout
296 author: Uwe Stöhr
297 \end_layout
298
299 \end_inset
300
301
302 \begin_inset Newline newline
303 \end_inset
304
305
306 \begin_inset Newline newline
307 \end_inset
308
309
310 \family sans
311 Version 2.4.x
312 \end_layout
313
314 \begin_layout Standard
315 \begin_inset CommandInset toc
316 LatexCommand tableofcontents
317
318 \end_inset
319
320
321 \end_layout
322
323 \begin_layout Standard
324 \begin_inset Note Note
325 status open
326
327 \begin_layout Plain Layout
328 To export all parts of this document to PDF, PS, or DVI the \SpecialChar LaTeX
329 -packages 
330 \series bold
331 arydshln
332 \series default
333
334 \series bold
335 colortbl
336 \series default
337
338 \series bold
339 diagbox, lettrine, marginnote, picinpar
340 \series default
341  and 
342 \series bold
343 sidecap
344 \series default
345  must be installed.
346  If they are not installed you can export the document anyway but the sections
347  where the packages are required won't appear in the output.
348 \end_layout
349
350 \begin_layout Plain Layout
351 The latest PDF-version of this document can be found here:
352 \begin_inset Newline newline
353 \end_inset
354
355
356 \series bold
357 https://wiki.lyx.org/LyX/Manuals#EmbeddedObjects
358 \end_layout
359
360 \end_inset
361
362
363 \end_layout
364
365 \begin_layout Chapter
366 Figures
367 \begin_inset Index idx
368 status collapsed
369
370 \begin_layout Plain Layout
371 Figures
372 \end_layout
373
374 \end_inset
375
376
377 \begin_inset Index idx
378 status collapsed
379
380 \begin_layout Plain Layout
381 Graphics|see
382 \begin_inset ERT
383 status collapsed
384
385 \begin_layout Plain Layout
386
387 {
388 \end_layout
389
390 \end_inset
391
392 Figures
393 \begin_inset ERT
394 status collapsed
395
396 \begin_layout Plain Layout
397
398 }
399 \end_layout
400
401 \end_inset
402
403
404 \end_layout
405
406 \end_inset
407
408
409 \end_layout
410
411 \begin_layout Section
412 Graphics Dialog
413 \begin_inset Index idx
414 status collapsed
415
416 \begin_layout Plain Layout
417 Figures ! Graphics Dialog
418 \end_layout
419
420 \end_inset
421
422
423 \begin_inset CommandInset label
424 LatexCommand label
425 name "sec:Graphics-Dialog"
426
427 \end_inset
428
429
430 \end_layout
431
432 \begin_layout Standard
433 To insert an image into your document, place the cursor at the text position
434  you want and click on the toolbar icon 
435 \begin_inset Info
436 type  "icon"
437 arg   "dialog-show-new-inset graphics"
438 \end_inset
439
440  or use the menu 
441 \family sans
442 Insert\SpecialChar menuseparator
443 Graphics
444 \family default
445 .
446  Then a dialog will appear to choose the file to load.
447  The image will appear in the output exactly at the position where it is
448  in the text.
449 \end_layout
450
451 \begin_layout Standard
452 The graphics dialog can be called at any time by clicking on an image.
453  This dialog has three tabs:
454 \end_layout
455
456 \begin_layout Description
457
458 \family sans
459 Graphics
460 \family default
461  Here you can choose an image file and adjust its appearance in the output.
462  The available units for the image size are explained in appendix
463 \begin_inset space ~
464 \end_inset
465
466
467 \begin_inset CommandInset ref
468 LatexCommand ref
469 reference "cha:Units-available-in"
470
471 \end_inset
472
473 .
474 \begin_inset Newline newline
475 \end_inset
476
477
478 \begin_inset Index idx
479 status collapsed
480
481 \begin_layout Plain Layout
482 Figures ! rotated
483 \end_layout
484
485 \end_inset
486
487 You can rotate images counter-clockwise by setting a rotation angle and
488  a rotation origin.
489  The image will also be rotated inside \SpecialChar LyX
490 .
491 \begin_inset Newline newline
492 \end_inset
493
494
495 \begin_inset Index idx
496 status collapsed
497
498 \begin_layout Plain Layout
499 Figures ! scaled
500 \end_layout
501
502 \end_inset
503
504 Images can be scaled by using a percentage value or by setting the width
505  and height explicitly.
506  If you set only the width or only the height, the other size will be determined
507  automatically.
508  If you set both, then the image will be transformed to the given size,
509  possibly distorting it.
510  To prevent the image from distortion, use the option 
511 \family sans
512 Maintain aspect ratio
513 \family default
514 .
515  The image will then be scaled so that its width and height don't exceed
516  the specified dimensions.
517 \begin_inset Newline newline
518 \end_inset
519
520 Images can be opened in a program of your choice by right-clicking on it
521  and choosing the entry 
522 \family sans
523 Edit
524 \begin_inset space ~
525 \end_inset
526
527 externally
528 \family default
529  in the context menu.
530  The program can be set for every image format in the file format settings
531  in \SpecialChar LyX
532 's preferences.
533 \end_layout
534
535 \begin_layout Description
536
537 \family sans
538 Coordinates
539 \begin_inset space ~
540 \end_inset
541
542 and
543 \begin_inset space ~
544 \end_inset
545
546 Clipping
547 \family default
548  Alternatively to the usage of scaling units it is possible to set image
549  coordinates to adjust the height and width of the image in the output.
550  The coordinates can also be calculated automatically by pressing the button
551  
552 \family sans
553 Get
554 \begin_inset space ~
555 \end_inset
556
557 from
558 \begin_inset space ~
559 \end_inset
560
561 File
562 \family default
563 .
564  The option 
565 \family sans
566 Clip
567 \begin_inset space ~
568 \end_inset
569
570 to
571 \begin_inset space ~
572 \end_inset
573
574 bounding
575 \begin_inset space ~
576 \end_inset
577
578 box
579 \family default
580  will only print the image region within the given coordinates.
581  Normally you don't need to worry about image coordinates and can ignore
582  this tab.
583 \end_layout
584
585 \begin_layout Description
586
587 \family sans
588 LaTeX
589 \begin_inset space ~
590 \end_inset
591
592 and
593 \begin_inset space ~
594 \end_inset
595
596 LyX
597 \begin_inset space ~
598 \end_inset
599
600 options
601 \family default
602  In this tab you can modify the appearance of the image within \SpecialChar LyX
603  and \SpecialChar LaTeX
604  experts
605  can specify additional \SpecialChar LaTeX
606  options.
607 \begin_inset Newline newline
608 \end_inset
609
610 The option 
611 \family sans
612 Draft
613 \begin_inset space ~
614 \end_inset
615
616 mode
617 \family default
618  makes the image appear in the output only as a frame with the size of the
619  image.
620 \begin_inset Newline newline
621 \end_inset
622
623 In the section 
624 \family sans
625 Graphics
626 \begin_inset space ~
627 \end_inset
628
629 Group
630 \family default
631  you can define or join an image settings group.
632 \begin_inset Index idx
633 status collapsed
634
635 \begin_layout Plain Layout
636 Figures ! Settings grouping
637 \end_layout
638
639 \end_inset
640
641  Images within such a group share their settings, so adjusting one image
642  of the group automatically also adjusts all other images of the group in
643  the same way.
644  So you can for example change the size for a bunch of images without the
645  need to manually change each of them.
646  Joining an existing group can also be done using the context menu of the
647  image by checking the name of the desired group.
648 \end_layout
649
650 \begin_layout Standard
651 \begin_inset VSpace bigskip
652 \end_inset
653
654
655 \end_layout
656
657 \begin_layout Standard
658 This is an example image in PDF format
659 \begin_inset Foot
660 status collapsed
661
662 \begin_layout Plain Layout
663 Image formats are explained in section
664 \begin_inset space ~
665 \end_inset
666
667
668 \begin_inset CommandInset ref
669 LatexCommand ref
670 reference "sec:Image-Formats"
671
672 \end_inset
673
674 .
675 \end_layout
676
677 \end_inset
678
679  within a separate, horizontally centered paragraph:
680 \end_layout
681
682 \begin_layout Standard
683 \align center
684 \begin_inset Graphics
685         filename clipart/2D-intensity-plot.pdf
686         scaleBeforeRotation
687         rotateOrigin center
688
689 \end_inset
690
691
692 \end_layout
693
694 \begin_layout Standard
695 This is the same image like the one above but in draft mode:
696 \end_layout
697
698 \begin_layout Standard
699 \align center
700 \begin_inset Graphics
701         filename clipart/2D-intensity-plot.pdf
702         draft
703         scaleBeforeRotation
704         rotateOrigin center
705
706 \end_inset
707
708
709 \end_layout
710
711 \begin_layout Standard
712 \begin_inset Newpage newpage
713 \end_inset
714
715
716 \end_layout
717
718 \begin_layout Section
719 Figure Floats
720 \begin_inset CommandInset label
721 LatexCommand label
722 name "sec:Figure-Floats"
723
724 \end_inset
725
726
727 \begin_inset Index idx
728 status collapsed
729
730 \begin_layout Plain Layout
731 Floats ! Figures
732 \end_layout
733
734 \end_inset
735
736
737 \begin_inset Index idx
738 status collapsed
739
740 \begin_layout Plain Layout
741 Figures ! Floats
742 \end_layout
743
744 \end_inset
745
746
747 \end_layout
748
749 \begin_layout Standard
750 For general explanations about floats, have a look at section
751 \begin_inset space ~
752 \end_inset
753
754
755 \begin_inset CommandInset ref
756 LatexCommand ref
757 reference "sec:FloatIntroduction"
758
759 \end_inset
760
761 .
762 \end_layout
763
764 \begin_layout Standard
765 The toolbar button 
766 \begin_inset Info
767 type  "icon"
768 arg   "float-insert figure"
769 \end_inset
770
771  and the menu 
772 \family sans
773 Insert\SpecialChar menuseparator
774 Float\SpecialChar menuseparator
775 Figure
776 \family default
777  inserts a float with a caption that has the label 
778 \begin_inset Quotes eld
779 \end_inset
780
781 Figure
782 \begin_inset space ~
783 \end_inset
784
785 #:
786 \begin_inset Quotes erd
787 \end_inset
788
789  (# is the actual number).
790  You can insert the image above the caption, like in Figure
791 \begin_inset space ~
792 \end_inset
793
794
795 \begin_inset CommandInset ref
796 LatexCommand ref
797 reference "fig:A-star-in"
798
799 \end_inset
800
801  or below the caption, like in Figure
802 \begin_inset space ~
803 \end_inset
804
805
806 \begin_inset CommandInset ref
807 LatexCommand ref
808 reference "fig:A-3D-object"
809
810 \end_inset
811
812 .
813  More about caption placement is described in section
814 \begin_inset space ~
815 \end_inset
816
817
818 \begin_inset CommandInset ref
819 LatexCommand ref
820 reference "sec:Caption-Placement"
821
822 \end_inset
823
824 .
825 \end_layout
826
827 \begin_layout Standard
828 \begin_inset Float figure
829 placement document
830 alignment document
831 wide false
832 sideways false
833 status open
834
835 \begin_layout Plain Layout
836 \align center
837 \begin_inset Graphics
838         filename clipart/Star-structure.pdf
839         lyxscale 60
840         width 50col%
841         scaleBeforeRotation
842         rotateOrigin center
843
844 \end_inset
845
846
847 \end_layout
848
849 \begin_layout Plain Layout
850 \begin_inset Caption Standard
851
852 \begin_layout Plain Layout
853 \begin_inset CommandInset label
854 LatexCommand label
855 name "fig:A-star-in"
856
857 \end_inset
858
859 A star in a float.
860 \end_layout
861
862 \end_inset
863
864
865 \end_layout
866
867 \end_inset
868
869
870 \end_layout
871
872 \begin_layout Standard
873 \begin_inset Float figure
874 placement document
875 alignment document
876 wide false
877 sideways false
878 status open
879
880 \begin_layout Plain Layout
881 \begin_inset Caption Standard
882
883 \begin_layout Plain Layout
884 \begin_inset CommandInset label
885 LatexCommand label
886 name "fig:A-3D-object"
887
888 \end_inset
889
890 A 3D object.
891 \end_layout
892
893 \end_inset
894
895
896 \end_layout
897
898 \begin_layout Plain Layout
899 \align center
900 \begin_inset Graphics
901         filename clipart/3D-structure-distort.pdf
902         lyxscale 60
903         scale 80
904         scaleBeforeRotation
905         rotateOrigin center
906
907 \end_inset
908
909
910 \end_layout
911
912 \end_inset
913
914
915 \end_layout
916
917 \begin_layout Standard
918 \begin_inset Index idx
919 status collapsed
920
921 \begin_layout Plain Layout
922 References ! to Figures
923 \end_layout
924
925 \end_inset
926
927 Figure
928 \begin_inset space ~
929 \end_inset
930
931
932 \begin_inset CommandInset ref
933 LatexCommand ref
934 reference "fig:A-star-in"
935
936 \end_inset
937
938  and 
939 \begin_inset CommandInset ref
940 LatexCommand ref
941 reference "fig:A-3D-object"
942
943 \end_inset
944
945  are examples of referenced figures.
946  Figures can be referenced in the text by referencing their label.
947  To do this insert a label in the caption using the menu 
948 \family sans
949 Insert\SpecialChar menuseparator
950 Label
951 \family default
952  or the toolbar button 
953 \begin_inset Info
954 type  "icon"
955 arg   "label-insert"
956 \end_inset
957
958 .
959  You can now refer to the label using the menu 
960 \family sans
961 Insert\SpecialChar menuseparator
962 Cross
963 \begin_inset space ~
964 \end_inset
965
966 reference
967 \family default
968  or the toolbar button 
969 \begin_inset Info
970 type  "icon"
971 arg   "dialog-show-new-inset ref"
972 \end_inset
973
974 .
975  It is important to use references to floats, rather than using vague references
976  like 
977 \begin_inset Quotes eld
978 \end_inset
979
980 the figure above
981 \begin_inset Quotes erd
982 \end_inset
983
984 , because \SpecialChar LaTeX
985  will reposition the floats in the final document and it might
986  not be 
987 \begin_inset Quotes eld
988 \end_inset
989
990 above
991 \begin_inset Quotes erd
992 \end_inset
993
994  at all.
995 \begin_inset Newline newline
996 \end_inset
997
998 Referencing is explained in detail in section
999 \begin_inset space ~
1000 \end_inset
1001
1002
1003 \begin_inset CommandInset ref
1004 LatexCommand ref
1005 reference "sec:Referencing-Floats"
1006
1007 \end_inset
1008
1009 .
1010 \end_layout
1011
1012 \begin_layout Standard
1013 Normally only one image is inserted to a figure float, but sometimes you
1014  might want to use two images with separate subcaptions.
1015  This can be done by inserting image floats into existing image floats.
1016  Note that only the main caption of the float is added to the List of Figures.
1017  Figure
1018 \begin_inset space ~
1019 \end_inset
1020
1021
1022 \begin_inset CommandInset ref
1023 LatexCommand ref
1024 reference "fig:Two-distorted-images"
1025
1026 \end_inset
1027
1028  is an example of a figure float with two images set side by side.
1029  You can also set the images one below the other.
1030  Figure
1031 \begin_inset space ~
1032 \end_inset
1033
1034
1035 \begin_inset CommandInset ref
1036 LatexCommand ref
1037 reference "fig:Pink-object"
1038
1039 \end_inset
1040
1041  and 
1042 \begin_inset CommandInset ref
1043 LatexCommand ref
1044 reference "fig:A-star"
1045
1046 \end_inset
1047
1048  are the subfigures.
1049 \end_layout
1050
1051 \begin_layout Standard
1052 \begin_inset Float figure
1053 placement document
1054 alignment document
1055 wide false
1056 sideways false
1057 status open
1058
1059 \begin_layout Plain Layout
1060 \begin_inset space \hfill{}
1061 \end_inset
1062
1063
1064 \begin_inset Float figure
1065 placement document
1066 alignment document
1067 wide false
1068 sideways false
1069 status collapsed
1070
1071 \begin_layout Plain Layout
1072 \begin_inset Caption Standard
1073
1074 \begin_layout Plain Layout
1075 \begin_inset CommandInset label
1076 LatexCommand label
1077 name "fig:Pink-object"
1078
1079 \end_inset
1080
1081 Pink object.
1082 \end_layout
1083
1084 \end_inset
1085
1086
1087 \end_layout
1088
1089 \begin_layout Plain Layout
1090 \begin_inset Graphics
1091         filename clipart/3D-structure-distort.pdf
1092         width 45col%
1093         scaleBeforeRotation
1094         groupId distorted
1095
1096 \end_inset
1097
1098
1099 \end_layout
1100
1101 \end_inset
1102
1103
1104 \begin_inset space \hfill{}
1105 \end_inset
1106
1107
1108 \begin_inset Float figure
1109 placement document
1110 alignment document
1111 wide false
1112 sideways false
1113 status collapsed
1114
1115 \begin_layout Plain Layout
1116 \begin_inset Caption Standard
1117
1118 \begin_layout Plain Layout
1119 \begin_inset CommandInset label
1120 LatexCommand label
1121 name "fig:A-star"
1122
1123 \end_inset
1124
1125 A star.
1126 \end_layout
1127
1128 \end_inset
1129
1130
1131 \end_layout
1132
1133 \begin_layout Plain Layout
1134 \begin_inset Graphics
1135         filename clipart/Star-structure.pdf
1136         width 45col%
1137         scaleBeforeRotation
1138         groupId distorted
1139
1140 \end_inset
1141
1142
1143 \end_layout
1144
1145 \end_inset
1146
1147
1148 \begin_inset space \hfill{}
1149 \end_inset
1150
1151
1152 \end_layout
1153
1154 \begin_layout Plain Layout
1155 \begin_inset Caption Standard
1156
1157 \begin_layout Plain Layout
1158 \begin_inset CommandInset label
1159 LatexCommand label
1160 name "fig:Two-distorted-images"
1161
1162 \end_inset
1163
1164 Two distorted images.
1165  Both images are in the image settings group named 
1166 \begin_inset Quotes eld
1167 \end_inset
1168
1169 distorted
1170 \begin_inset Quotes erd
1171 \end_inset
1172
1173 .
1174 \end_layout
1175
1176 \end_inset
1177
1178
1179 \end_layout
1180
1181 \end_inset
1182
1183
1184 \end_layout
1185
1186 \begin_layout Standard
1187 \begin_inset Newpage newpage
1188 \end_inset
1189
1190
1191 \end_layout
1192
1193 \begin_layout Section
1194 Image Formats
1195 \begin_inset CommandInset label
1196 LatexCommand label
1197 name "sec:Image-Formats"
1198
1199 \end_inset
1200
1201
1202 \begin_inset Index idx
1203 status collapsed
1204
1205 \begin_layout Plain Layout
1206 Image Formats
1207 \end_layout
1208
1209 \end_inset
1210
1211
1212 \begin_inset Index idx
1213 status collapsed
1214
1215 \begin_layout Plain Layout
1216 Figures ! Image Formats
1217 \end_layout
1218
1219 \end_inset
1220
1221
1222 \end_layout
1223
1224 \begin_layout Standard
1225 You can insert images in any known file format.
1226  But as explained in appendix
1227 \begin_inset space ~
1228 \end_inset
1229
1230
1231 \begin_inset CommandInset ref
1232 LatexCommand ref
1233 reference "cha:Output-File-Formats"
1234
1235 \end_inset
1236
1237 , each output document format allows only a few image formats.
1238  \SpecialChar LyX
1239  uses therefore the program 
1240 \family typewriter
1241 ImageMagick
1242 \family default
1243  in the background to convert the images to the right format.
1244  To increase your work flow by avoiding these conversions in the background,
1245  you could choose to use only the image formats that can directly be embedded
1246  in the output file format.
1247  The output file formats are explained in appendix
1248 \begin_inset space ~
1249 \end_inset
1250
1251
1252 \begin_inset CommandInset ref
1253 LatexCommand ref
1254 reference "cha:Output-File-Formats"
1255
1256 \end_inset
1257
1258 .
1259 \end_layout
1260
1261 \begin_layout Standard
1262 Similar to fonts there are two types of image formats:
1263 \end_layout
1264
1265 \begin_layout Description
1266 Bitmap
1267 \begin_inset space ~
1268 \end_inset
1269
1270 images consist of pixel values, often in a compressed form.
1271  They are therefore not fully scalable and look pixelated in large zooms.
1272  Well-known bitmap image formats are 
1273 \begin_inset Quotes eld
1274 \end_inset
1275
1276 Graphics Interchange Format
1277 \begin_inset Quotes erd
1278 \end_inset
1279
1280  (GIF, file extension 
1281 \begin_inset Quotes eld
1282 \end_inset
1283
1284
1285 \family typewriter
1286 .gif
1287 \family default
1288
1289 \begin_inset Quotes erd
1290 \end_inset
1291
1292 )
1293 \begin_inset Index idx
1294 status collapsed
1295
1296 \begin_layout Plain Layout
1297 GIF|see
1298 \begin_inset ERT
1299 status collapsed
1300
1301 \begin_layout Plain Layout
1302
1303 {
1304 \end_layout
1305
1306 \end_inset
1307
1308 Image formats
1309 \begin_inset ERT
1310 status collapsed
1311
1312 \begin_layout Plain Layout
1313
1314 }
1315 \end_layout
1316
1317 \end_inset
1318
1319
1320 \end_layout
1321
1322 \end_inset
1323
1324
1325 \begin_inset Quotes eld
1326 \end_inset
1327
1328 Portable Network Graphics
1329 \begin_inset Quotes erd
1330 \end_inset
1331
1332  (PNG, file extension 
1333 \begin_inset Quotes eld
1334 \end_inset
1335
1336
1337 \family typewriter
1338 .png
1339 \family default
1340
1341 \begin_inset Quotes erd
1342 \end_inset
1343
1344 )
1345 \begin_inset Index idx
1346 status collapsed
1347
1348 \begin_layout Plain Layout
1349 PNG|see
1350 \begin_inset ERT
1351 status collapsed
1352
1353 \begin_layout Plain Layout
1354
1355 {
1356 \end_layout
1357
1358 \end_inset
1359
1360 Image formats
1361 \begin_inset ERT
1362 status collapsed
1363
1364 \begin_layout Plain Layout
1365
1366 }
1367 \end_layout
1368
1369 \end_inset
1370
1371
1372 \end_layout
1373
1374 \end_inset
1375
1376 , and 
1377 \begin_inset Quotes eld
1378 \end_inset
1379
1380 Joint Photographic Experts Group
1381 \begin_inset Quotes erd
1382 \end_inset
1383
1384  (JPG, file extension 
1385 \begin_inset Quotes eld
1386 \end_inset
1387
1388
1389 \family typewriter
1390 .jpg
1391 \family default
1392
1393 \begin_inset Quotes erd
1394 \end_inset
1395
1396  or 
1397 \begin_inset Quotes eld
1398 \end_inset
1399
1400
1401 \family typewriter
1402 .jpeg
1403 \family default
1404
1405 \begin_inset Quotes erd
1406 \end_inset
1407
1408 )
1409 \begin_inset Index idx
1410 status collapsed
1411
1412 \begin_layout Plain Layout
1413 JPG|see
1414 \begin_inset ERT
1415 status collapsed
1416
1417 \begin_layout Plain Layout
1418
1419 {
1420 \end_layout
1421
1422 \end_inset
1423
1424 Image formats
1425 \begin_inset ERT
1426 status collapsed
1427
1428 \begin_layout Plain Layout
1429
1430 }
1431 \end_layout
1432
1433 \end_inset
1434
1435
1436 \end_layout
1437
1438 \end_inset
1439
1440 .
1441 \end_layout
1442
1443 \begin_layout Description
1444 Vector
1445 \begin_inset space ~
1446 \end_inset
1447
1448 images consist of vectors and can therefore be scaled to any size without
1449  data loss.
1450  The scaling ability is necessary if you want to create presentations, because
1451  presentations are always scaled by the video projector.
1452  Scaling is also useful for online documents to let the user zoom into diagrams.
1453 \begin_inset Newline newline
1454 \end_inset
1455
1456 Well-known scalable image formats are 
1457 \begin_inset Quotes eld
1458 \end_inset
1459
1460 Scalable Vector Graphics
1461 \begin_inset Quotes erd
1462 \end_inset
1463
1464  (SVG, file extension 
1465 \begin_inset Quotes eld
1466 \end_inset
1467
1468
1469 \family typewriter
1470 .svg
1471 \family default
1472
1473 \begin_inset Quotes erd
1474 \end_inset
1475
1476 )
1477 \begin_inset Index idx
1478 status collapsed
1479
1480 \begin_layout Plain Layout
1481 SVG|see
1482 \begin_inset ERT
1483 status collapsed
1484
1485 \begin_layout Plain Layout
1486
1487 {
1488 \end_layout
1489
1490 \end_inset
1491
1492 Image formats
1493 \begin_inset ERT
1494 status collapsed
1495
1496 \begin_layout Plain Layout
1497
1498 }
1499 \end_layout
1500
1501 \end_inset
1502
1503
1504 \end_layout
1505
1506 \end_inset
1507
1508
1509 \begin_inset Quotes eld
1510 \end_inset
1511
1512 Encapsulated PostScript
1513 \begin_inset Quotes erd
1514 \end_inset
1515
1516  (EPS, file extension 
1517 \begin_inset Quotes eld
1518 \end_inset
1519
1520
1521 \family typewriter
1522 .eps
1523 \family default
1524
1525 \begin_inset Quotes erd
1526 \end_inset
1527
1528 )
1529 \begin_inset Index idx
1530 status collapsed
1531
1532 \begin_layout Plain Layout
1533 EPS|see
1534 \begin_inset ERT
1535 status collapsed
1536
1537 \begin_layout Plain Layout
1538
1539 {
1540 \end_layout
1541
1542 \end_inset
1543
1544 Image formats
1545 \begin_inset ERT
1546 status collapsed
1547
1548 \begin_layout Plain Layout
1549
1550 }
1551 \end_layout
1552
1553 \end_inset
1554
1555
1556 \end_layout
1557
1558 \end_inset
1559
1560
1561 \begin_inset Quotes eld
1562 \end_inset
1563
1564 Portable Document Format
1565 \begin_inset Quotes erd
1566 \end_inset
1567
1568  (PDF, file extension 
1569 \begin_inset Quotes eld
1570 \end_inset
1571
1572
1573 \family typewriter
1574 .pdf
1575 \family default
1576
1577 \begin_inset Quotes erd
1578 \end_inset
1579
1580 )
1581 \begin_inset Index idx
1582 status collapsed
1583
1584 \begin_layout Plain Layout
1585 PDF
1586 \end_layout
1587
1588 \end_inset
1589
1590 , and 
1591 \begin_inset Quotes eld
1592 \end_inset
1593
1594 Windows Metafile
1595 \begin_inset Quotes erd
1596 \end_inset
1597
1598  (WMF, file extension 
1599 \begin_inset Quotes eld
1600 \end_inset
1601
1602
1603 \family typewriter
1604 .wmf
1605 \family default
1606
1607 \begin_inset Quotes erd
1608 \end_inset
1609
1610 )
1611 \begin_inset Index idx
1612 status collapsed
1613
1614 \begin_layout Plain Layout
1615 WMF|see
1616 \begin_inset ERT
1617 status collapsed
1618
1619 \begin_layout Plain Layout
1620
1621 {
1622 \end_layout
1623
1624 \end_inset
1625
1626 Image formats
1627 \begin_inset ERT
1628 status collapsed
1629
1630 \begin_layout Plain Layout
1631
1632 }
1633 \end_layout
1634
1635 \end_inset
1636
1637
1638 \end_layout
1639
1640 \end_inset
1641
1642 .
1643  We wrote 
1644 \begin_inset Quotes eld
1645 \end_inset
1646
1647 can be
1648 \begin_inset Quotes erd
1649 \end_inset
1650
1651 , because you can convert any bitmap image to a PDF or EPS-image and the
1652  result will still be a bitmap image.
1653  In such cases only a header with the image properties is added to the original
1654  image
1655 \begin_inset Foot
1656 status collapsed
1657
1658 \begin_layout Plain Layout
1659 In the case of PDF, the original image is additionally compressed.
1660 \end_layout
1661
1662 \end_inset
1663
1664 .
1665  The PDF-files generated by 
1666 \family typewriter
1667 Adobe Photoshop
1668 \family default
1669  are for example bitmap images.
1670 \end_layout
1671
1672 \begin_layout Standard
1673 Normally it is not possible to convert a bitmap image into a scalable one,
1674  only vice versa.
1675  Only the image formats PDF and EPS can directly be embedded to PDF and
1676  PostScript output files, respectively.
1677  SVG and WMF-images are recalculated to bitmaps when the output file is
1678  generated because there is currently no adequate WMF/SVG
1679 \begin_inset Formula $\to$
1680 \end_inset
1681
1682 PDF/EPS converter available.
1683 \end_layout
1684
1685 \begin_layout Chapter
1686 Tables
1687 \begin_inset Index idx
1688 status collapsed
1689
1690 \begin_layout Plain Layout
1691 Table
1692 \end_layout
1693
1694 \end_inset
1695
1696
1697 \end_layout
1698
1699 \begin_layout Section
1700 Introduction
1701 \begin_inset Index idx
1702 status collapsed
1703
1704 \begin_layout Plain Layout
1705 Table ! Introduction
1706 \end_layout
1707
1708 \end_inset
1709
1710
1711 \end_layout
1712
1713 \begin_layout Standard
1714 You can insert a table using either the toolbar button 
1715 \begin_inset Info
1716 type  "icon"
1717 arg   "tabular-insert"
1718 \end_inset
1719
1720  or the menu 
1721 \family sans
1722 Insert\SpecialChar menuseparator
1723 Table
1724 \family default
1725 .
1726  The toolbar button offers you a graphical selection: move the mouse to
1727  set the column/row number of the table that should be created and then
1728  press a mouse button.
1729  When you use the menu to create a table, a dialog will appear, asking you
1730  for the number of rows and columns
1731 \change_inserted -712698321 1554289643
1732 , and you can select a specific (border) style
1733 \change_unchanged
1734 .
1735 \change_deleted -712698321 1554289644
1736
1737 \begin_inset Newline newline
1738 \end_inset
1739
1740
1741 \change_inserted -712698321 1554289645
1742
1743 \end_layout
1744
1745 \begin_layout Standard
1746 The default table has lines around any cell and the first row appears separated
1747  from the rest of the table.
1748  This separation occurs due to a double line: The cells of the first row
1749  have a line below them and the cells of the second row have a line above
1750  them.
1751  Here is an example table:
1752 \end_layout
1753
1754 \begin_layout Standard
1755 \align center
1756 \begin_inset Tabular
1757 <lyxtabular version="3" rows="4" columns="4">
1758 <features tabularvalignment="middle">
1759 <column alignment="center" valignment="top">
1760 <column alignment="center" valignment="top">
1761 <column alignment="center" valignment="top">
1762 <column alignment="center" valignment="top">
1763 <row>
1764 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1765 \begin_inset Text
1766
1767 \begin_layout Plain Layout
1768
1769 \end_layout
1770
1771 \end_inset
1772 </cell>
1773 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1774 \begin_inset Text
1775
1776 \begin_layout Plain Layout
1777
1778 \family roman
1779 \series medium
1780 \shape up
1781 \size normal
1782 \emph off
1783 \bar no
1784 \noun off
1785 \color none
1786 1
1787 \end_layout
1788
1789 \end_inset
1790 </cell>
1791 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1792 \begin_inset Text
1793
1794 \begin_layout Plain Layout
1795 2
1796 \end_layout
1797
1798 \end_inset
1799 </cell>
1800 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1801 \begin_inset Text
1802
1803 \begin_layout Plain Layout
1804 3
1805 \end_layout
1806
1807 \end_inset
1808 </cell>
1809 </row>
1810 <row>
1811 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1812 \begin_inset Text
1813
1814 \begin_layout Plain Layout
1815
1816 \family roman
1817 \series medium
1818 \shape up
1819 \size normal
1820 \emph off
1821 \bar no
1822 \noun off
1823 \color none
1824 A
1825 \end_layout
1826
1827 \end_inset
1828 </cell>
1829 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1830 \begin_inset Text
1831
1832 \begin_layout Plain Layout
1833
1834 \end_layout
1835
1836 \end_inset
1837 </cell>
1838 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1839 \begin_inset Text
1840
1841 \begin_layout Plain Layout
1842
1843 \end_layout
1844
1845 \end_inset
1846 </cell>
1847 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1848 \begin_inset Text
1849
1850 \begin_layout Plain Layout
1851
1852 \end_layout
1853
1854 \end_inset
1855 </cell>
1856 </row>
1857 <row>
1858 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1859 \begin_inset Text
1860
1861 \begin_layout Plain Layout
1862
1863 \family roman
1864 \series medium
1865 \shape up
1866 \size normal
1867 \emph off
1868 \bar no
1869 \noun off
1870 \color none
1871 B
1872 \end_layout
1873
1874 \end_inset
1875 </cell>
1876 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1877 \begin_inset Text
1878
1879 \begin_layout Plain Layout
1880
1881 \end_layout
1882
1883 \end_inset
1884 </cell>
1885 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1886 \begin_inset Text
1887
1888 \begin_layout Plain Layout
1889
1890 \end_layout
1891
1892 \end_inset
1893 </cell>
1894 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1895 \begin_inset Text
1896
1897 \begin_layout Plain Layout
1898
1899 \end_layout
1900
1901 \end_inset
1902 </cell>
1903 </row>
1904 <row>
1905 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1906 \begin_inset Text
1907
1908 \begin_layout Plain Layout
1909
1910 \family roman
1911 \series medium
1912 \shape up
1913 \size normal
1914 \emph off
1915 \bar no
1916 \noun off
1917 \color none
1918 C
1919 \end_layout
1920
1921 \end_inset
1922 </cell>
1923 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1924 \begin_inset Text
1925
1926 \begin_layout Plain Layout
1927
1928 \end_layout
1929
1930 \end_inset
1931 </cell>
1932 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1933 \begin_inset Text
1934
1935 \begin_layout Plain Layout
1936
1937 \end_layout
1938
1939 \end_inset
1940 </cell>
1941 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1942 \begin_inset Text
1943
1944 \begin_layout Plain Layout
1945
1946 \end_layout
1947
1948 \end_inset
1949 </cell>
1950 </row>
1951 </lyxtabular>
1952
1953 \end_inset
1954
1955
1956 \end_layout
1957
1958 \begin_layout Standard
1959
1960 \change_inserted -712698321 1554289664
1961 This corresponds to the 
1962 \begin_inset Quotes eld
1963 \end_inset
1964
1965 Grid with Head
1966 \begin_inset Quotes erd
1967 \end_inset
1968
1969  table style listed in the style selection.
1970 \end_layout
1971
1972 \begin_layout Standard
1973
1974 \change_inserted -712698321 1554289664
1975 Other available styles include:
1976 \end_layout
1977
1978 \begin_layout Itemize
1979
1980 \change_inserted -712698321 1554289664
1981
1982 \begin_inset Quotes eld
1983 \end_inset
1984
1985 simple grid
1986 \begin_inset Quotes erd
1987 \end_inset
1988
1989  which looks line the above table, but without the first row being separated
1990  via double line,
1991 \end_layout
1992
1993 \begin_layout Itemize
1994
1995 \change_inserted -712698321 1554289664
1996 a border-less table with no lines at all,
1997 \end_layout
1998
1999 \begin_layout Itemize
2000
2001 \change_inserted -712698321 1554289664
2002 and a so-called 
2003 \begin_inset Quotes eld
2004 \end_inset
2005
2006 formal table
2007 \begin_inset Quotes erd
2008 \end_inset
2009
2010  as often used in professional publishing with horizontal lines only and
2011  bold top/bottom lines (see 
2012 \emph on
2013 Embedded Objects
2014 \emph default
2015  manual, section 
2016 \emph on
2017 Formal Tables
2018 \emph default
2019 ).
2020
2021 \change_inserted 630872221 1622640694
2022  It is also possible to have an horizontal (thin) Footline above the last
2023  line.
2024 \change_unchanged
2025
2026 \end_layout
2027
2028 \begin_layout Standard
2029
2030 \change_inserted -712698321 1554289664
2031 The default style used in the dialog as well as the style used by the toolbar
2032  button can be changed in 
2033 \family sans
2034 Document\SpecialChar menuseparator
2035 Settings\SpecialChar menuseparator
2036 Text Layout
2037 \family default
2038 .
2039  So if the default style above is not the one you need, you should alter
2040  this setting.
2041 \end_layout
2042
2043 \begin_layout Section
2044 Table Dialog
2045 \begin_inset Index idx
2046 status collapsed
2047
2048 \begin_layout Plain Layout
2049 Table ! Dialog
2050 \end_layout
2051
2052 \end_inset
2053
2054
2055 \end_layout
2056
2057 \begin_layout Standard
2058 You can alter a table by clicking on it with the right mouse button, which
2059  brings up the context menu.
2060  Under the menu entry 
2061 \family sans
2062 More
2063 \family default
2064  you can adjust the settings of that cell and row/column respectively where
2065  the cursor is currently placed.
2066  The context menu 
2067 \family sans
2068 More\SpecialChar menuseparator
2069 Settings
2070 \family default
2071  opens the table dialog where you can adjust more things.
2072  Most of the dialog options also work on selections.
2073  This means if you select more cells, columns or rows, the action is done
2074  for the whole selection.
2075  Note that there is a difference between selecting the 
2076 \emph on
2077 contents
2078 \emph default
2079  of the cell, and the cell itself.
2080 \begin_inset Newline newline
2081 \end_inset
2082
2083 With the dialog option 
2084 \family sans
2085 Immediate
2086 \begin_inset space ~
2087 \end_inset
2088
2089 Apply
2090 \family default
2091  every change you make in the dialog is directly applied.
2092  If you move the cursor to another table cell the dialog will then also
2093  be updated with the parameters of the new cell.
2094  If you change length values in the dialog you must press 
2095 \family sans
2096 Return
2097 \family default
2098  to get the change applied.
2099 \begin_inset Newline newline
2100 \end_inset
2101
2102 You can alter tables with the following tabs of the table dialog:
2103 \end_layout
2104
2105 \begin_layout Description
2106 Table
2107 \begin_inset space ~
2108 \end_inset
2109
2110 Settings Here you can set the table width
2111 \begin_inset Index idx
2112 status collapsed
2113
2114 \begin_layout Plain Layout
2115 Table ! Width
2116 \end_layout
2117
2118 \end_inset
2119
2120 , and the horizontal alignment and the width of the current column.
2121  The alignment 
2122 \family sans
2123 At
2124 \begin_inset space ~
2125 \end_inset
2126
2127 Decimal
2128 \begin_inset space ~
2129 \end_inset
2130
2131 Separator
2132 \family default
2133  is described in section
2134 \begin_inset space ~
2135 \end_inset
2136
2137
2138 \begin_inset CommandInset ref
2139 LatexCommand ref
2140 reference "subsec:Special-Cell-Alignment"
2141
2142 \end_inset
2143
2144 .
2145  When you have set a width you can also adjust the vertical alignment of
2146  the current row.
2147  A given width will allow the cell to have line breaks and multiple paragraphs
2148  of text, see sec.
2149 \begin_inset space \thinspace{}
2150 \end_inset
2151
2152
2153 \begin_inset CommandInset ref
2154 LatexCommand ref
2155 reference "subsec:Multiple-Lines-in"
2156
2157 \end_inset
2158
2159 .
2160  If you set no width, the column is as wide as the content of its widest
2161  cell.
2162 \begin_inset Newline newline
2163 \end_inset
2164
2165 Furthermore, you can mark one or multiple cells of one row as a multicolumn
2166  cell, see sec.
2167 \begin_inset space \thinspace{}
2168 \end_inset
2169
2170
2171 \begin_inset CommandInset ref
2172 LatexCommand ref
2173 reference "subsec:Multicolumns"
2174
2175 \end_inset
2176
2177  or the cells of one column as multirow cell, see sec.
2178 \begin_inset space \thinspace{}
2179 \end_inset
2180
2181
2182 \begin_inset CommandInset ref
2183 LatexCommand ref
2184 reference "subsec:Multirows"
2185
2186 \end_inset
2187
2188 .
2189 \begin_inset Newline newline
2190 \end_inset
2191
2192 The rotate check boxes rotate the current cell, a selection, or the whole
2193  table counter-clockwise by 90
2194 \begin_inset space \thinspace{}
2195 \end_inset
2196
2197 °.
2198  The rotation is not shown within \SpecialChar LyX
2199 , only in the output.
2200  For more information see sec.
2201 \begin_inset space \thinspace{}
2202 \end_inset
2203
2204
2205 \begin_inset CommandInset ref
2206 LatexCommand ref
2207 reference "sec:Rotated-Table-Cells"
2208
2209 \end_inset
2210
2211 .
2212 \begin_inset Newline newline
2213 \end_inset
2214
2215
2216 \begin_inset Note Greyedout
2217 status open
2218
2219 \begin_layout Plain Layout
2220
2221 \series bold
2222 Note:
2223 \series default
2224  Not all DVI-viewers are able to display rotations.
2225 \end_layout
2226
2227 \end_inset
2228
2229
2230 \begin_inset Newline newline
2231 \end_inset
2232
2233 The table-wide vertical alignment is used for tables within text lines:
2234 \begin_inset Newline newline
2235 \end_inset
2236
2237 A line with tables with different alignments: 
2238 \begin_inset Tabular
2239 <lyxtabular version="3" rows="2" columns="2">
2240 <features tabularvalignment="top">
2241 <column alignment="center" valignment="top" width="0pt">
2242 <column alignment="center" valignment="top">
2243 <row>
2244 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2245 \begin_inset Text
2246
2247 \begin_layout Plain Layout
2248
2249 \end_layout
2250
2251 \end_inset
2252 </cell>
2253 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2254 \begin_inset Text
2255
2256 \begin_layout Plain Layout
2257
2258 \family roman
2259 \series medium
2260 \shape up
2261 \size normal
2262 \emph off
2263 \bar no
2264 \noun off
2265 \color none
2266 1
2267 \end_layout
2268
2269 \end_inset
2270 </cell>
2271 </row>
2272 <row>
2273 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2274 \begin_inset Text
2275
2276 \begin_layout Plain Layout
2277
2278 \family roman
2279 \series medium
2280 \shape up
2281 \size normal
2282 \emph off
2283 \bar no
2284 \noun off
2285 \color none
2286 A
2287 \end_layout
2288
2289 \end_inset
2290 </cell>
2291 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2292 \begin_inset Text
2293
2294 \begin_layout Plain Layout
2295
2296 \end_layout
2297
2298 \end_inset
2299 </cell>
2300 </row>
2301 </lyxtabular>
2302
2303 \end_inset
2304
2305  
2306 \begin_inset Tabular
2307 <lyxtabular version="3" rows="2" columns="2">
2308 <features tabularvalignment="middle">
2309 <column alignment="center" valignment="top">
2310 <column alignment="center" valignment="top">
2311 <row>
2312 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2313 \begin_inset Text
2314
2315 \begin_layout Plain Layout
2316
2317 \end_layout
2318
2319 \end_inset
2320 </cell>
2321 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2322 \begin_inset Text
2323
2324 \begin_layout Plain Layout
2325
2326 \family roman
2327 \series medium
2328 \shape up
2329 \size normal
2330 \emph off
2331 \bar no
2332 \noun off
2333 \color none
2334 1
2335 \end_layout
2336
2337 \end_inset
2338 </cell>
2339 </row>
2340 <row>
2341 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2342 \begin_inset Text
2343
2344 \begin_layout Plain Layout
2345
2346 \family roman
2347 \series medium
2348 \shape up
2349 \size normal
2350 \emph off
2351 \bar no
2352 \noun off
2353 \color none
2354 A
2355 \end_layout
2356
2357 \end_inset
2358 </cell>
2359 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2360 \begin_inset Text
2361
2362 \begin_layout Plain Layout
2363
2364 \end_layout
2365
2366 \end_inset
2367 </cell>
2368 </row>
2369 </lyxtabular>
2370
2371 \end_inset
2372
2373  
2374 \begin_inset Tabular
2375 <lyxtabular version="3" rows="2" columns="2">
2376 <features tabularvalignment="bottom">
2377 <column alignment="center" valignment="top" width="0pt">
2378 <column alignment="center" valignment="top">
2379 <row>
2380 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2381 \begin_inset Text
2382
2383 \begin_layout Plain Layout
2384
2385 \end_layout
2386
2387 \end_inset
2388 </cell>
2389 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2390 \begin_inset Text
2391
2392 \begin_layout Plain Layout
2393
2394 \family roman
2395 \series medium
2396 \shape up
2397 \size normal
2398 \emph off
2399 \bar no
2400 \noun off
2401 \color none
2402 1
2403 \end_layout
2404
2405 \end_inset
2406 </cell>
2407 </row>
2408 <row>
2409 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2410 \begin_inset Text
2411
2412 \begin_layout Plain Layout
2413
2414 \family roman
2415 \series medium
2416 \shape up
2417 \size normal
2418 \emph off
2419 \bar no
2420 \noun off
2421 \color none
2422 A
2423 \end_layout
2424
2425 \end_inset
2426 </cell>
2427 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2428 \begin_inset Text
2429
2430 \begin_layout Plain Layout
2431
2432 \end_layout
2433
2434 \end_inset
2435 </cell>
2436 </row>
2437 </lyxtabular>
2438
2439 \end_inset
2440
2441
2442 \begin_inset Newline newline
2443 \end_inset
2444
2445 It is also possible to enter a \SpecialChar LaTeX
2446 -argument which is needed for special table
2447  formattings, see sec.
2448 \begin_inset space \thinspace{}
2449 \end_inset
2450
2451
2452 \begin_inset CommandInset ref
2453 LatexCommand ref
2454 reference "subsec:Multicolumn-Calculations"
2455
2456 \end_inset
2457
2458  and 
2459 \begin_inset CommandInset ref
2460 LatexCommand ref
2461 reference "sec:Colored-Tables"
2462
2463 \end_inset
2464
2465 .
2466 \end_layout
2467
2468 \begin_layout Description
2469 Borders In this tab you can add and delete border lines for the current
2470  row/column.
2471 \begin_inset Newline newline
2472 \end_inset
2473
2474 Using the style option 
2475 \family sans
2476 Formal
2477 \family default
2478  will convert the table to a formal table as described in sec.
2479 \begin_inset space \thinspace{}
2480 \end_inset
2481
2482
2483 \begin_inset CommandInset ref
2484 LatexCommand ref
2485 reference "sec:Formal-Tables"
2486
2487 \end_inset
2488
2489 .
2490 \begin_inset Newline newline
2491 \end_inset
2492
2493 You can also add space here to table rows as described in sec.
2494 \begin_inset space \thinspace{}
2495 \end_inset
2496
2497
2498 \begin_inset CommandInset ref
2499 LatexCommand ref
2500 reference "subsec:Row-Spacing"
2501
2502 \end_inset
2503
2504 .
2505 \end_layout
2506
2507 \begin_layout Description
2508 Multi-page
2509 \begin_inset space ~
2510 \end_inset
2511
2512 table This tab is to make a table a multi-page table that can run over several
2513  pages.
2514  Sections
2515 \begin_inset space ~
2516 \end_inset
2517
2518
2519 \begin_inset CommandInset ref
2520 LatexCommand ref
2521 reference "sec:Multi-page-Tables"
2522
2523 \end_inset
2524
2525  and 
2526 \begin_inset CommandInset ref
2527 LatexCommand ref
2528 reference "sec:Special-Longtable-Issues"
2529
2530 \end_inset
2531
2532  describe the multi-page table features in detail.
2533 \end_layout
2534
2535 \begin_layout Section
2536 Table Toolbar
2537 \begin_inset Index idx
2538 status collapsed
2539
2540 \begin_layout Plain Layout
2541 Table ! Toolbar
2542 \end_layout
2543
2544 \end_inset
2545
2546
2547 \end_layout
2548
2549 \begin_layout Standard
2550 The table toolbar is an alternative to the table dialog to be able to alter
2551  tables faster.
2552  It should normally appear at the bottom of \SpecialChar LyX
2553 's main window when the cursor
2554  is inside a table.
2555  You can alternatively switch it on to appear always, by right-clicking
2556  in \SpecialChar LyX
2557 's main menu bar.
2558 \end_layout
2559
2560 \begin_layout Standard
2561 The toolbar has the following icons:
2562 \end_layout
2563
2564 \begin_layout Labeling
2565 \labelwidthstring 00.00.0000
2566 \begin_inset Info
2567 type  "icon"
2568 arg   "tabular-feature append-row"
2569 \end_inset
2570
2571  adds a row below the current cell or selection
2572 \end_layout
2573
2574 \begin_layout Labeling
2575 \labelwidthstring 00.00.0000
2576 \begin_inset Info
2577 type  "icon"
2578 arg   "tabular-feature append-column"
2579 \end_inset
2580
2581  adds a column right beside the current cell or selection
2582 \end_layout
2583
2584 \begin_layout Labeling
2585 \labelwidthstring 00.00.0000
2586 \begin_inset Info
2587 type  "icon"
2588 arg   "tabular-feature delete-row"
2589 \end_inset
2590
2591  deletes the current row or selection
2592 \end_layout
2593
2594 \begin_layout Labeling
2595 \labelwidthstring 00.00.0000
2596 \begin_inset Info
2597 type  "icon"
2598 arg   "tabular-feature delete-column"
2599 \end_inset
2600
2601  deletes the current column or selection
2602 \end_layout
2603
2604 \begin_layout Labeling
2605 \labelwidthstring 00.00.0000
2606 \begin_inset Info
2607 type  "icon"
2608 arg   "tabular-feature move-row-up"
2609 \end_inset
2610
2611  moves the row up
2612 \end_layout
2613
2614 \begin_layout Labeling
2615 \labelwidthstring 00.00.0000
2616 \begin_inset Info
2617 type  "icon"
2618 arg   "tabular-feature move-column-left"
2619 \end_inset
2620
2621  moves the column to the left
2622 \end_layout
2623
2624 \begin_layout Labeling
2625 \labelwidthstring 00.00.0000
2626 \begin_inset Info
2627 type  "icon"
2628 arg   "tabular-feature move-row-down"
2629 \end_inset
2630
2631  moves the row down
2632 \end_layout
2633
2634 \begin_layout Labeling
2635 \labelwidthstring 00.00.0000
2636 \begin_inset Info
2637 type  "icon"
2638 arg   "tabular-feature move-column-right"
2639 \end_inset
2640
2641  moves the column to the right
2642 \end_layout
2643
2644 \begin_layout Labeling
2645 \labelwidthstring 00.00.0000
2646 \begin_inset Info
2647 type  "icon"
2648 arg   "tabular-feature toggle-line-top"
2649 \end_inset
2650
2651  
2652 \change_deleted -1382599118 1647157945
2653 adds
2654 \change_inserted -1382599118 1647157946
2655 toggles
2656 \change_unchanged
2657  a line at the top of
2658 \change_inserted -1382599118 1647158116
2659  every cell for
2660 \change_unchanged
2661  the current
2662 \change_inserted -1382599118 1647157889
2663 ly
2664 \change_deleted -1382599118 1647157917
2665  cell / row or of a
2666 \change_unchanged
2667  select
2668 \change_deleted -1382599118 1647157923
2669 ion
2670 \change_inserted -1382599118 1647157925
2671 ed cells
2672 \change_unchanged
2673
2674 \end_layout
2675
2676 \begin_layout Labeling
2677 \labelwidthstring 00.00.0000
2678 \begin_inset Info
2679 type  "icon"
2680 arg   "tabular-feature toggle-line-bottom"
2681 \end_inset
2682
2683  
2684 \change_deleted -1382599118 1647157963
2685 adds
2686 \change_inserted -1382599118 1647157964
2687 toggles
2688 \change_unchanged
2689  a line at the bottom of 
2690 \change_inserted -1382599118 1647158114
2691 every cell for 
2692 \change_unchanged
2693 the current
2694 \change_inserted -1382599118 1647157991
2695 ly
2696 \change_deleted -1382599118 1647158003
2697  cell / row or of a
2698 \change_unchanged
2699  select
2700 \change_deleted -1382599118 1647158007
2701 ion
2702 \change_inserted -1382599118 1647158009
2703 ed cells
2704 \change_unchanged
2705
2706 \end_layout
2707
2708 \begin_layout Labeling
2709 \labelwidthstring 00.00.0000
2710 \begin_inset Info
2711 type  "icon"
2712 arg   "tabular-feature toggle-line-left"
2713 \end_inset
2714
2715  
2716 \change_deleted -1382599118 1647157971
2717 adds
2718 \change_inserted -1382599118 1647157972
2719 toggles
2720 \change_unchanged
2721  a line at the left side of 
2722 \change_inserted -1382599118 1647158111
2723 every cell for 
2724 \change_unchanged
2725 the current
2726 \change_inserted -1382599118 1647158027
2727 ly
2728 \change_deleted -1382599118 1647158069
2729  cell / row or of a
2730 \change_unchanged
2731  select
2732 \change_deleted -1382599118 1647158043
2733 ion
2734 \change_inserted -1382599118 1647158044
2735 ed cells
2736 \change_unchanged
2737
2738 \end_layout
2739
2740 \begin_layout Labeling
2741 \labelwidthstring 00.00.0000
2742 \begin_inset Info
2743 type  "icon"
2744 arg   "tabular-feature toggle-line-right"
2745 \end_inset
2746
2747  
2748 \change_deleted -1382599118 1647157974
2749 adds
2750 \change_inserted -1382599118 1647157975
2751 toggles
2752 \change_unchanged
2753  a line at the right side of 
2754 \change_inserted -1382599118 1647158109
2755 every cell for 
2756 \change_unchanged
2757 the current
2758 \change_inserted -1382599118 1647158061
2759 ly
2760 \change_deleted -1382599118 1647158072
2761  cell / row or of a
2762 \change_unchanged
2763  select
2764 \change_deleted -1382599118 1647158078
2765 ion
2766 \change_inserted -1382599118 1647158082
2767 ed cells
2768 \change_inserted -712698321 1554289731
2769
2770 \end_layout
2771
2772 \begin_layout Labeling
2773 \labelwidthstring 00.00.0000
2774
2775 \change_inserted -712698321 1554289910
2776 \begin_inset Info
2777 type  "icon"
2778 arg   "tabular-feature toggle-border-lines"
2779 \end_inset
2780
2781  
2782 \change_deleted -1382599118 1647157966
2783 adds
2784 \change_inserted -1382599118 1647157967
2785 toggles
2786 \change_inserted -712698321 1554289910
2787  a border around the currently selected cells
2788 \change_inserted -1382599118 1647040213
2789
2790 \end_layout
2791
2792 \begin_layout Labeling
2793 \labelwidthstring 00.00.0000
2794
2795 \change_inserted -1382599118 1647158092
2796 \begin_inset Info
2797 type  "icon"
2798 arg   "tabular-feature toggle-inner-lines"
2799 \end_inset
2800
2801  toggles inner lines for the currently selected cells
2802 \change_unchanged
2803
2804 \end_layout
2805
2806 \begin_layout Labeling
2807 \labelwidthstring 00.00.0000
2808 \begin_inset Info
2809 type  "icon"
2810 arg   "tabular-feature toggle-all-lines"
2811 \end_inset
2812
2813  adds lines around the current or selected cells - if the current cell is
2814  not a multicolumn cell this also affects the current row and column
2815 \end_layout
2816
2817 \begin_layout Labeling
2818 \labelwidthstring 00.00.0000
2819 \begin_inset Info
2820 type  "icon"
2821 arg   "tabular-feature unset-all-lines"
2822 \end_inset
2823
2824  deletes all lines of the current or selected cells - if the current cell
2825  is not a multicolumn cell this also affects the current row and column
2826 \change_inserted -712698321 1554289920
2827
2828 \end_layout
2829
2830 \begin_layout Labeling
2831 \labelwidthstring 00.00.0000
2832
2833 \change_inserted -712698321 1554292586
2834 \begin_inset Info
2835 type  "icon"
2836 arg   "tabular-feature reset-formal-default"
2837 \end_inset
2838
2839  If using a formal table, this resets the border to its default (only horizontal
2840  lines in top and bottom rows)
2841 \change_unchanged
2842
2843 \end_layout
2844
2845 \begin_layout Labeling
2846 \labelwidthstring 00.00.0000
2847 \begin_inset Info
2848 type  "icon"
2849 arg   "tabular-feature m-align-left"
2850 \end_inset
2851
2852  left-aligns the content of the current cell / column
2853 \end_layout
2854
2855 \begin_layout Labeling
2856 \labelwidthstring 00.00.0000
2857 \begin_inset Info
2858 type  "icon"
2859 arg   "tabular-feature m-align-center"
2860 \end_inset
2861
2862  centers the content of the current cell / column horizontally
2863 \end_layout
2864
2865 \begin_layout Labeling
2866 \labelwidthstring 00.00.0000
2867 \begin_inset Info
2868 type  "icon"
2869 arg   "tabular-feature m-align-right"
2870 \end_inset
2871
2872  right-aligns the content of the current cell / column
2873 \end_layout
2874
2875 \begin_layout Labeling
2876 \labelwidthstring 00.00.0000
2877 \begin_inset Info
2878 type  "icon"
2879 arg   "tabular-feature align-decimal"
2880 \end_inset
2881
2882  aligns the content of the current column at a character
2883 \end_layout
2884
2885 \begin_layout Labeling
2886 \labelwidthstring 00.00.0000
2887 \begin_inset Info
2888 type  "icon"
2889 arg   "tabular-feature m-valign-top"
2890 \end_inset
2891
2892  aligns the content of the current cell vertically to the top
2893 \end_layout
2894
2895 \begin_layout Labeling
2896 \labelwidthstring 00.00.0000
2897 \begin_inset Info
2898 type  "icon"
2899 arg   "tabular-feature m-valign-middle"
2900 \end_inset
2901
2902  centers the content of the current cell vertically
2903 \end_layout
2904
2905 \begin_layout Labeling
2906 \labelwidthstring 00.00.0000
2907 \begin_inset Info
2908 type  "icon"
2909 arg   "tabular-feature m-valign-bottom"
2910 \end_inset
2911
2912  aligns the content of the current cell vertically to the bottom
2913 \end_layout
2914
2915 \begin_layout Labeling
2916 \labelwidthstring 00.00.0000
2917 \begin_inset Info
2918 type  "icon"
2919 arg   "tabular-feature set-rotate-cell"
2920 \end_inset
2921
2922  rotates the current cell or selection counter-clockwise by 90°
2923 \end_layout
2924
2925 \begin_layout Labeling
2926 \labelwidthstring 00.00.0000
2927 \begin_inset Info
2928 type  "icon"
2929 arg   "tabular-feature set-rotate-tabular"
2930 \end_inset
2931
2932  rotates the whole table counter-clockwise by 90°
2933 \end_layout
2934
2935 \begin_layout Labeling
2936 \labelwidthstring 00.00.0000
2937 \begin_inset Info
2938 type  "icon"
2939 arg   "tabular-feature multicolumn"
2940 \end_inset
2941
2942  sets the current cell or selection as a multicolumn
2943 \end_layout
2944
2945 \begin_layout Labeling
2946 \labelwidthstring 00.00.0000
2947 \begin_inset Info
2948 type  "icon"
2949 arg   "tabular-feature multirow"
2950 \end_inset
2951
2952  sets the current cell or selection as a multirow
2953 \end_layout
2954
2955 \begin_layout Standard
2956 \begin_inset Note Greyedout
2957 status open
2958
2959 \begin_layout Plain Layout
2960
2961 \series bold
2962 Note:
2963 \series default
2964  For the output the vertical alignment of the first cell in a row is used
2965  for all following cells in the row.
2966 \end_layout
2967
2968 \end_inset
2969
2970
2971 \end_layout
2972
2973 \begin_layout Section
2974 Edit Table Menu
2975 \begin_inset Index idx
2976 status collapsed
2977
2978 \begin_layout Plain Layout
2979 Table ! Edit Menu
2980 \end_layout
2981
2982 \end_inset
2983
2984
2985 \end_layout
2986
2987 \begin_layout Standard
2988 In addition to the table dialog and toolbar, the menu 
2989 \family sans
2990 Edit\SpecialChar menuseparator
2991 Table
2992 \family default
2993  allows you to add and delete border lines for the current row/column and
2994  to set the current selection as multicolumn.
2995  The menu is only available when the cursor is inside a table.
2996 \end_layout
2997
2998 \begin_layout Section
2999 Table Floats
3000 \begin_inset CommandInset label
3001 LatexCommand label
3002 name "sec:Table-Floats"
3003
3004 \end_inset
3005
3006
3007 \begin_inset Index idx
3008 status collapsed
3009
3010 \begin_layout Plain Layout
3011 Floats ! Tables
3012 \end_layout
3013
3014 \end_inset
3015
3016
3017 \begin_inset Index idx
3018 status collapsed
3019
3020 \begin_layout Plain Layout
3021 Table ! Floats
3022 \end_layout
3023
3024 \end_inset
3025
3026
3027 \end_layout
3028
3029 \begin_layout Standard
3030 For general explanations about floats, have a look at section
3031 \begin_inset space ~
3032 \end_inset
3033
3034
3035 \begin_inset CommandInset ref
3036 LatexCommand ref
3037 reference "sec:FloatIntroduction"
3038
3039 \end_inset
3040
3041 .
3042 \end_layout
3043
3044 \begin_layout Standard
3045 \begin_inset Float table
3046 placement h
3047 alignment document
3048 wide false
3049 sideways false
3050 status open
3051
3052 \begin_layout Plain Layout
3053 \begin_inset Caption Standard
3054
3055 \begin_layout Plain Layout
3056 \begin_inset CommandInset label
3057 LatexCommand label
3058 name "tab:a table float"
3059
3060 \end_inset
3061
3062 A table float.
3063 \end_layout
3064
3065 \end_inset
3066
3067
3068 \end_layout
3069
3070 \begin_layout Plain Layout
3071 \align center
3072 \begin_inset Tabular
3073 <lyxtabular version="3" rows="3" columns="3">
3074 <features tabularvalignment="middle">
3075 <column alignment="center" valignment="top" width="0pt">
3076 <column alignment="center" valignment="top" width="0pt">
3077 <column alignment="center" valignment="top" width="0pt">
3078 <row>
3079 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3080 \begin_inset Text
3081
3082 \begin_layout Plain Layout
3083
3084 \family roman
3085 \series medium
3086 \shape up
3087 \size normal
3088 \emph off
3089 \bar no
3090 \noun off
3091 \color none
3092 1
3093 \end_layout
3094
3095 \end_inset
3096 </cell>
3097 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3098 \begin_inset Text
3099
3100 \begin_layout Plain Layout
3101
3102 \family roman
3103 \series medium
3104 \shape up
3105 \size normal
3106 \emph off
3107 \bar no
3108 \noun off
3109 \color none
3110 2
3111 \end_layout
3112
3113 \end_inset
3114 </cell>
3115 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3116 \begin_inset Text
3117
3118 \begin_layout Plain Layout
3119
3120 \family roman
3121 \series medium
3122 \shape up
3123 \size normal
3124 \emph off
3125 \bar no
3126 \noun off
3127 \color none
3128 3
3129 \end_layout
3130
3131 \end_inset
3132 </cell>
3133 </row>
3134 <row>
3135 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3136 \begin_inset Text
3137
3138 \begin_layout Plain Layout
3139
3140 \family roman
3141 \series medium
3142 \shape up
3143 \size normal
3144 \emph off
3145 \bar no
3146 \noun off
3147 \color none
3148 Joe
3149 \end_layout
3150
3151 \end_inset
3152 </cell>
3153 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3154 \begin_inset Text
3155
3156 \begin_layout Plain Layout
3157
3158 \family roman
3159 \series medium
3160 \shape up
3161 \size normal
3162 \emph off
3163 \bar no
3164 \noun off
3165 \color none
3166 Mary
3167 \end_layout
3168
3169 \end_inset
3170 </cell>
3171 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3172 \begin_inset Text
3173
3174 \begin_layout Plain Layout
3175
3176 \family roman
3177 \series medium
3178 \shape up
3179 \size normal
3180 \emph off
3181 \bar no
3182 \noun off
3183 \color none
3184 Ted
3185 \end_layout
3186
3187 \end_inset
3188 </cell>
3189 </row>
3190 <row>
3191 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3192 \begin_inset Text
3193
3194 \begin_layout Plain Layout
3195
3196 \family roman
3197 \series medium
3198 \shape up
3199 \size normal
3200 \emph off
3201 \bar no
3202 \noun off
3203 \color none
3204 \begin_inset Formula $\int x^{2}dx$
3205 \end_inset
3206
3207
3208 \end_layout
3209
3210 \end_inset
3211 </cell>
3212 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3213 \begin_inset Text
3214
3215 \begin_layout Plain Layout
3216
3217 \family roman
3218 \series medium
3219 \shape up
3220 \size normal
3221 \emph off
3222 \bar no
3223 \noun off
3224 \color none
3225 \begin_inset Formula $\left[\begin{array}{cc}
3226 a & b\\
3227 c & d
3228 \end{array}\right]$
3229 \end_inset
3230
3231
3232 \end_layout
3233
3234 \end_inset
3235 </cell>
3236 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3237 \begin_inset Text
3238
3239 \begin_layout Plain Layout
3240
3241 \family roman
3242 \series medium
3243 \shape up
3244 \size normal
3245 \emph off
3246 \bar no
3247 \noun off
3248 \color none
3249 \begin_inset Formula $1+1=2$
3250 \end_inset
3251
3252
3253 \end_layout
3254
3255 \end_inset
3256 </cell>
3257 </row>
3258 </lyxtabular>
3259
3260 \end_inset
3261
3262
3263 \end_layout
3264
3265 \end_inset
3266
3267
3268 \end_layout
3269
3270 \begin_layout Standard
3271 Table floats can be inserted using the menu 
3272 \family sans
3273 Insert\SpecialChar menuseparator
3274 Float\SpecialChar menuseparator
3275 Table
3276 \family default
3277  or the toolbar button 
3278 \begin_inset Info
3279 type  "icon"
3280 arg   "float-insert table"
3281 \end_inset
3282
3283 .
3284 \end_layout
3285
3286 \begin_layout Standard
3287 The float appears as a collapsible box with a caption that has the label
3288  
3289 \begin_inset Quotes eld
3290 \end_inset
3291
3292 Table
3293 \begin_inset space ~
3294 \end_inset
3295
3296 #:
3297 \begin_inset Quotes erd
3298 \end_inset
3299
3300  (# is the actual table number).
3301  You can insert tables in the float above or below the caption.
3302 \end_layout
3303
3304 \begin_layout Standard
3305 Table
3306 \begin_inset space ~
3307 \end_inset
3308
3309
3310 \begin_inset CommandInset ref
3311 LatexCommand ref
3312 reference "tab:a table float"
3313
3314 \end_inset
3315
3316  is an example table within a table float.
3317 \end_layout
3318
3319 \begin_layout Standard
3320 Having the caption above the table is the common rule that is unfortunately
3321  not supported in \SpecialChar LaTeX
3322 's standard classes.
3323  This means that, if you are using the document classes 
3324 \family sans
3325 article
3326 \family default
3327
3328 \family sans
3329 book
3330 \family default
3331
3332 \family sans
3333 letter
3334 \family default
3335 , or 
3336 \family sans
3337 report
3338 \family default
3339 , there will be no space between the caption and the table.
3340  To insert the needed space, add the following option to the load command
3341  of the \SpecialChar LaTeX
3342 -package 
3343 \series bold
3344 caption
3345 \series default
3346
3347 \begin_inset Index idx
3348 status collapsed
3349
3350 \begin_layout Plain Layout
3351 \SpecialChar LaTeX
3352 -packages ! caption
3353 \end_layout
3354
3355 \end_inset
3356
3357  in your document preamble:
3358 \begin_inset Foot
3359 status collapsed
3360
3361 \begin_layout Plain Layout
3362 For more information have a look at section
3363 \begin_inset space ~
3364 \end_inset
3365
3366
3367 \begin_inset CommandInset ref
3368 LatexCommand ref
3369 reference "sec:Caption-Placement"
3370
3371 \end_inset
3372
3373 .
3374 \end_layout
3375
3376 \end_inset
3377
3378
3379 \end_layout
3380
3381 \begin_layout Standard
3382
3383 \series bold
3384 tableposition=top
3385 \end_layout
3386
3387 \begin_layout Standard
3388 The package 
3389 \series bold
3390 caption
3391 \series default
3392 , which is described in section
3393 \begin_inset space ~
3394 \end_inset
3395
3396
3397 \begin_inset CommandInset ref
3398 LatexCommand ref
3399 reference "sec:Caption-Formatting"
3400
3401 \end_inset
3402
3403 , is used to adjust the caption format.
3404 \end_layout
3405
3406 \begin_layout Standard
3407 \begin_inset Index idx
3408 status collapsed
3409
3410 \begin_layout Plain Layout
3411 References ! to Tables
3412 \end_layout
3413
3414 \end_inset
3415
3416 Tables can be cross-referenced in the text by referencing their label.
3417  To do this insert a label in the caption using the menu 
3418 \family sans
3419 Insert\SpecialChar menuseparator
3420 Label
3421 \family default
3422  or the toolbar button 
3423 \begin_inset Info
3424 type  "icon"
3425 arg   "label-insert"
3426 \end_inset
3427
3428 .
3429  You can now refer to the label using the menu 
3430 \family sans
3431 Insert\SpecialChar menuseparator
3432 Cross
3433 \begin_inset space ~
3434 \end_inset
3435
3436 reference
3437 \family default
3438  or the toolbar button 
3439 \begin_inset Info
3440 type  "icon"
3441 arg   "dialog-show-new-inset ref"
3442 \end_inset
3443
3444 .
3445 \begin_inset Newline newline
3446 \end_inset
3447
3448 Referencing is explained in detail in section
3449 \begin_inset space ~
3450 \end_inset
3451
3452
3453 \begin_inset CommandInset ref
3454 LatexCommand ref
3455 reference "sec:Referencing-Floats"
3456
3457 \end_inset
3458
3459 .
3460 \end_layout
3461
3462 \begin_layout Section
3463
3464 \family sans
3465 Multi-page Table
3466 \family default
3467 s
3468 \begin_inset CommandInset label
3469 LatexCommand label
3470 name "sec:Multi-page-Tables"
3471
3472 \end_inset
3473
3474
3475 \begin_inset Index idx
3476 status collapsed
3477
3478 \begin_layout Plain Layout
3479 Multi-page Table
3480 \end_layout
3481
3482 \end_inset
3483
3484
3485 \begin_inset Index idx
3486 status collapsed
3487
3488 \begin_layout Plain Layout
3489 Table ! Multi-page Table
3490 \end_layout
3491
3492 \end_inset
3493
3494
3495 \end_layout
3496
3497 \begin_layout Standard
3498 If the table is too long to fit on one page, you can use the option 
3499 \family sans
3500 Use
3501 \begin_inset space ~
3502 \end_inset
3503
3504 multi-page
3505 \family default
3506  table in the tab 
3507 \family sans
3508 Multi-page
3509 \begin_inset space ~
3510 \end_inset
3511
3512 table
3513 \family default
3514  of the table dialog to split the table automatically over more pages.
3515  Doing this enables the following options:
3516 \end_layout
3517
3518 \begin_layout Description
3519 Header: The current row is defined to be a header row that appears on all
3520  pages of the multi-page table; except for the first page, if 
3521 \family sans
3522 First
3523 \begin_inset space ~
3524 \end_inset
3525
3526 header
3527 \family default
3528  is defined.
3529  This is therefore called the main header.
3530 \end_layout
3531
3532 \begin_layout Description
3533 First
3534 \begin_inset space ~
3535 \end_inset
3536
3537 header: The current row is defined to be a header row that appears on the
3538  first page of the multi-page table.
3539 \end_layout
3540
3541 \begin_layout Description
3542 Footer: The current row is defined to be a footer row that appears on all
3543  pages of the multi-page table; except for the last page, if 
3544 \family sans
3545 Last
3546 \begin_inset space ~
3547 \end_inset
3548
3549 footer
3550 \family default
3551  is defined.
3552 \end_layout
3553
3554 \begin_layout Description
3555 Last
3556 \begin_inset space ~
3557 \end_inset
3558
3559 footer: The current row is defined to be a footer row that appears on the
3560  last page of the multi-page table.
3561 \end_layout
3562
3563 \begin_layout Description
3564 Caption: The current row contains the table caption.
3565  The row is reset as single column and a caption is inserted.
3566  More about multi-page table captions is explained in sec.
3567 \begin_inset space \thinspace{}
3568 \end_inset
3569
3570
3571 \begin_inset CommandInset ref
3572 LatexCommand ref
3573 reference "subsec:Multi-page-Table-Captions"
3574
3575 \end_inset
3576
3577 .
3578 \end_layout
3579
3580 \begin_layout Standard
3581 You can also specify a row where the table is split.
3582  See the following multi-page table to see how it works:
3583 \end_layout
3584
3585 \begin_layout Standard
3586 \align center
3587 \begin_inset Tabular
3588 <lyxtabular version="3" rows="69" columns="3">
3589 <features islongtable="true" longtabularalignment="center">
3590 <column alignment="left" valignment="top" width="0cm">
3591 <column alignment="left" valignment="top" width="0pt">
3592 <column alignment="center" valignment="top" width="0pt">
3593 <row endfirsthead="true">
3594 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3595 \begin_inset Text
3596
3597 \begin_layout Plain Layout
3598
3599 \series bold
3600 Example Phone List (ignore the names)
3601 \end_layout
3602
3603 \end_inset
3604 </cell>
3605 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3606 \begin_inset Text
3607
3608 \begin_layout Plain Layout
3609
3610 \end_layout
3611
3612 \end_inset
3613 </cell>
3614 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3615 \begin_inset Text
3616
3617 \begin_layout Plain Layout
3618
3619 \end_layout
3620
3621 \end_inset
3622 </cell>
3623 </row>
3624 <row endfirsthead="true">
3625 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3626 \begin_inset Text
3627
3628 \begin_layout Plain Layout
3629
3630 \series bold
3631 NAME
3632 \end_layout
3633
3634 \end_inset
3635 </cell>
3636 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3637 \begin_inset Text
3638
3639 \begin_layout Plain Layout
3640
3641 \end_layout
3642
3643 \end_inset
3644 </cell>
3645 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3646 \begin_inset Text
3647
3648 \begin_layout Plain Layout
3649
3650 \series bold
3651 TEL.
3652 \end_layout
3653
3654 \end_inset
3655 </cell>
3656 </row>
3657 <row endhead="true">
3658 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3659 \begin_inset Text
3660
3661 \begin_layout Plain Layout
3662
3663 \series bold
3664 Example Phone List
3665 \end_layout
3666
3667 \end_inset
3668 </cell>
3669 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3670 \begin_inset Text
3671
3672 \begin_layout Plain Layout
3673
3674 \end_layout
3675
3676 \end_inset
3677 </cell>
3678 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3679 \begin_inset Text
3680
3681 \begin_layout Plain Layout
3682
3683 \end_layout
3684
3685 \end_inset
3686 </cell>
3687 </row>
3688 <row endhead="true">
3689 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3690 \begin_inset Text
3691
3692 \begin_layout Plain Layout
3693
3694 \series bold
3695 NAME
3696 \end_layout
3697
3698 \end_inset
3699 </cell>
3700 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3701 \begin_inset Text
3702
3703 \begin_layout Plain Layout
3704
3705 \end_layout
3706
3707 \end_inset
3708 </cell>
3709 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3710 \begin_inset Text
3711
3712 \begin_layout Plain Layout
3713
3714 \series bold
3715 TEL.
3716 \end_layout
3717
3718 \end_inset
3719 </cell>
3720 </row>
3721 <row endfoot="true">
3722 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
3723 \begin_inset Text
3724
3725 \begin_layout Plain Layout
3726  continued on next page
3727 \end_layout
3728
3729 \end_inset
3730 </cell>
3731 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3732 \begin_inset Text
3733
3734 \begin_layout Plain Layout
3735
3736 \end_layout
3737
3738 \end_inset
3739 </cell>
3740 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3741 \begin_inset Text
3742
3743 \begin_layout Plain Layout
3744
3745 \end_layout
3746
3747 \end_inset
3748 </cell>
3749 </row>
3750 <row>
3751 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3752 \begin_inset Text
3753
3754 \begin_layout Plain Layout
3755
3756 \series bold
3757 Annovi
3758 \end_layout
3759
3760 \end_inset
3761 </cell>
3762 <cell alignment="center" valignment="top" usebox="none">
3763 \begin_inset Text
3764
3765 \begin_layout Plain Layout
3766 Silvia
3767 \end_layout
3768
3769 \end_inset
3770 </cell>
3771 <cell alignment="right" valignment="top" leftline="true" rightline="true" usebox="none">
3772 \begin_inset Text
3773
3774 \begin_layout Plain Layout
3775 111
3776 \end_layout
3777
3778 \end_inset
3779 </cell>
3780 </row>
3781 <row>
3782 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3783 \begin_inset Text
3784
3785 \begin_layout Plain Layout
3786
3787 \series bold
3788 Bertoli
3789 \end_layout
3790
3791 \end_inset
3792 </cell>
3793 <cell alignment="center" valignment="top" usebox="none">
3794 \begin_inset Text
3795
3796 \begin_layout Plain Layout
3797 Stefano
3798 \end_layout
3799
3800 \end_inset
3801 </cell>
3802 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3803 \begin_inset Text
3804
3805 \begin_layout Plain Layout
3806 111
3807 \end_layout
3808
3809 \end_inset
3810 </cell>
3811 </row>
3812 <row>
3813 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3814 \begin_inset Text
3815
3816 \begin_layout Plain Layout
3817
3818 \series bold
3819 Bozzi
3820 \end_layout
3821
3822 \end_inset
3823 </cell>
3824 <cell alignment="center" valignment="top" usebox="none">
3825 \begin_inset Text
3826
3827 \begin_layout Plain Layout
3828 Walter
3829 \end_layout
3830
3831 \end_inset
3832 </cell>
3833 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3834 \begin_inset Text
3835
3836 \begin_layout Plain Layout
3837 111
3838 \end_layout
3839
3840 \end_inset
3841 </cell>
3842 </row>
3843 <row>
3844 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3845 \begin_inset Text
3846
3847 \begin_layout Plain Layout
3848
3849 \series bold
3850 Cachia
3851 \end_layout
3852
3853 \end_inset
3854 </cell>
3855 <cell alignment="center" valignment="top" usebox="none">
3856 \begin_inset Text
3857
3858 \begin_layout Plain Layout
3859 Maria
3860 \end_layout
3861
3862 \end_inset
3863 </cell>
3864 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3865 \begin_inset Text
3866
3867 \begin_layout Plain Layout
3868 111
3869 \end_layout
3870
3871 \end_inset
3872 </cell>
3873 </row>
3874 <row>
3875 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3876 \begin_inset Text
3877
3878 \begin_layout Plain Layout
3879
3880 \series bold
3881 Cachia
3882 \end_layout
3883
3884 \end_inset
3885 </cell>
3886 <cell alignment="center" valignment="top" usebox="none">
3887 \begin_inset Text
3888
3889 \begin_layout Plain Layout
3890 Maurizio
3891 \end_layout
3892
3893 \end_inset
3894 </cell>
3895 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3896 \begin_inset Text
3897
3898 \begin_layout Plain Layout
3899 111
3900 \end_layout
3901
3902 \end_inset
3903 </cell>
3904 </row>
3905 <row>
3906 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3907 \begin_inset Text
3908
3909 \begin_layout Plain Layout
3910
3911 \series bold
3912 Cinquemani
3913 \end_layout
3914
3915 \end_inset
3916 </cell>
3917 <cell alignment="center" valignment="top" usebox="none">
3918 \begin_inset Text
3919
3920 \begin_layout Plain Layout
3921 Giusi
3922 \end_layout
3923
3924 \end_inset
3925 </cell>
3926 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3927 \begin_inset Text
3928
3929 \begin_layout Plain Layout
3930 111
3931 \end_layout
3932
3933 \end_inset
3934 </cell>
3935 </row>
3936 <row>
3937 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3938 \begin_inset Text
3939
3940 \begin_layout Plain Layout
3941
3942 \series bold
3943 Colin
3944 \end_layout
3945
3946 \end_inset
3947 </cell>
3948 <cell alignment="center" valignment="top" usebox="none">
3949 \begin_inset Text
3950
3951 \begin_layout Plain Layout
3952 Bernard
3953 \end_layout
3954
3955 \end_inset
3956 </cell>
3957 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3958 \begin_inset Text
3959
3960 \begin_layout Plain Layout
3961 111
3962 \end_layout
3963
3964 \end_inset
3965 </cell>
3966 </row>
3967 <row>
3968 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3969 \begin_inset Text
3970
3971 \begin_layout Plain Layout
3972
3973 \series bold
3974 Concli
3975 \end_layout
3976
3977 \end_inset
3978 </cell>
3979 <cell alignment="center" valignment="top" usebox="none">
3980 \begin_inset Text
3981
3982 \begin_layout Plain Layout
3983 Gianfranco
3984 \end_layout
3985
3986 \end_inset
3987 </cell>
3988 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3989 \begin_inset Text
3990
3991 \begin_layout Plain Layout
3992 111
3993 \end_layout
3994
3995 \end_inset
3996 </cell>
3997 </row>
3998 <row>
3999 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4000 \begin_inset Text
4001
4002 \begin_layout Plain Layout
4003
4004 \series bold
4005 Dal Bosco
4006 \end_layout
4007
4008 \end_inset
4009 </cell>
4010 <cell alignment="center" valignment="top" usebox="none">
4011 \begin_inset Text
4012
4013 \begin_layout Plain Layout
4014 Carolina
4015 \end_layout
4016
4017 \end_inset
4018 </cell>
4019 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4020 \begin_inset Text
4021
4022 \begin_layout Plain Layout
4023 111
4024 \end_layout
4025
4026 \end_inset
4027 </cell>
4028 </row>
4029 <row>
4030 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4031 \begin_inset Text
4032
4033 \begin_layout Plain Layout
4034
4035 \series bold
4036 Dalpiaz
4037 \end_layout
4038
4039 \end_inset
4040 </cell>
4041 <cell alignment="center" valignment="top" usebox="none">
4042 \begin_inset Text
4043
4044 \begin_layout Plain Layout
4045 Annamaria
4046 \end_layout
4047
4048 \end_inset
4049 </cell>
4050 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4051 \begin_inset Text
4052
4053 \begin_layout Plain Layout
4054 111
4055 \end_layout
4056
4057 \end_inset
4058 </cell>
4059 </row>
4060 <row>
4061 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4062 \begin_inset Text
4063
4064 \begin_layout Plain Layout
4065
4066 \series bold
4067 Feliciello
4068 \end_layout
4069
4070 \end_inset
4071 </cell>
4072 <cell alignment="center" valignment="top" usebox="none">
4073 \begin_inset Text
4074
4075 \begin_layout Plain Layout
4076 Domenico
4077 \end_layout
4078
4079 \end_inset
4080 </cell>
4081 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4082 \begin_inset Text
4083
4084 \begin_layout Plain Layout
4085 111
4086 \end_layout
4087
4088 \end_inset
4089 </cell>
4090 </row>
4091 <row>
4092 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4093 \begin_inset Text
4094
4095 \begin_layout Plain Layout
4096
4097 \series bold
4098 Focarelli
4099 \end_layout
4100
4101 \end_inset
4102 </cell>
4103 <cell alignment="center" valignment="top" usebox="none">
4104 \begin_inset Text
4105
4106 \begin_layout Plain Layout
4107 Paola
4108 \end_layout
4109
4110 \end_inset
4111 </cell>
4112 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4113 \begin_inset Text
4114
4115 \begin_layout Plain Layout
4116 111
4117 \end_layout
4118
4119 \end_inset
4120 </cell>
4121 </row>
4122 <row>
4123 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4124 \begin_inset Text
4125
4126 \begin_layout Plain Layout
4127
4128 \series bold
4129 Galletti
4130 \end_layout
4131
4132 \end_inset
4133 </cell>
4134 <cell alignment="center" valignment="top" usebox="none">
4135 \begin_inset Text
4136
4137 \begin_layout Plain Layout
4138 Oreste
4139 \end_layout
4140
4141 \end_inset
4142 </cell>
4143 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4144 \begin_inset Text
4145
4146 \begin_layout Plain Layout
4147 111
4148 \end_layout
4149
4150 \end_inset
4151 </cell>
4152 </row>
4153 <row>
4154 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4155 \begin_inset Text
4156
4157 \begin_layout Plain Layout
4158
4159 \series bold
4160 Gasparini
4161 \end_layout
4162
4163 \end_inset
4164 </cell>
4165 <cell alignment="center" valignment="top" usebox="none">
4166 \begin_inset Text
4167
4168 \begin_layout Plain Layout
4169 Franca
4170 \end_layout
4171
4172 \end_inset
4173 </cell>
4174 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4175 \begin_inset Text
4176
4177 \begin_layout Plain Layout
4178 111
4179 \end_layout
4180
4181 \end_inset
4182 </cell>
4183 </row>
4184 <row>
4185 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4186 \begin_inset Text
4187
4188 \begin_layout Plain Layout
4189
4190 \series bold
4191 Rizzardi
4192 \end_layout
4193
4194 \end_inset
4195 </cell>
4196 <cell alignment="center" valignment="top" usebox="none">
4197 \begin_inset Text
4198
4199 \begin_layout Plain Layout
4200 Paola
4201 \end_layout
4202
4203 \end_inset
4204 </cell>
4205 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4206 \begin_inset Text
4207
4208 \begin_layout Plain Layout
4209 111
4210 \end_layout
4211
4212 \end_inset
4213 </cell>
4214 </row>
4215 <row>
4216 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4217 \begin_inset Text
4218
4219 \begin_layout Plain Layout
4220
4221 \series bold
4222 Lassini
4223 \end_layout
4224
4225 \end_inset
4226 </cell>
4227 <cell alignment="center" valignment="top" usebox="none">
4228 \begin_inset Text
4229
4230 \begin_layout Plain Layout
4231 Giancarlo
4232 \end_layout
4233
4234 \end_inset
4235 </cell>
4236 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4237 \begin_inset Text
4238
4239 \begin_layout Plain Layout
4240 111
4241 \end_layout
4242
4243 \end_inset
4244 </cell>
4245 </row>
4246 <row>
4247 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4248 \begin_inset Text
4249
4250 \begin_layout Plain Layout
4251
4252 \series bold
4253 Malfatti
4254 \end_layout
4255
4256 \end_inset
4257 </cell>
4258 <cell alignment="center" valignment="top" usebox="none">
4259 \begin_inset Text
4260
4261 \begin_layout Plain Layout
4262 Luciano
4263 \end_layout
4264
4265 \end_inset
4266 </cell>
4267 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4268 \begin_inset Text
4269
4270 \begin_layout Plain Layout
4271 111
4272 \end_layout
4273
4274 \end_inset
4275 </cell>
4276 </row>
4277 <row>
4278 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4279 \begin_inset Text
4280
4281 \begin_layout Plain Layout
4282
4283 \series bold
4284 Malfatti
4285 \end_layout
4286
4287 \end_inset
4288 </cell>
4289 <cell alignment="center" valignment="top" usebox="none">
4290 \begin_inset Text
4291
4292 \begin_layout Plain Layout
4293 Valeriano
4294 \end_layout
4295
4296 \end_inset
4297 </cell>
4298 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4299 \begin_inset Text
4300
4301 \begin_layout Plain Layout
4302 111
4303 \end_layout
4304
4305 \end_inset
4306 </cell>
4307 </row>
4308 <row>
4309 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4310 \begin_inset Text
4311
4312 \begin_layout Plain Layout
4313
4314 \series bold
4315 Meneguzzo
4316 \end_layout
4317
4318 \end_inset
4319 </cell>
4320 <cell alignment="center" valignment="top" usebox="none">
4321 \begin_inset Text
4322
4323 \begin_layout Plain Layout
4324 Roberto
4325 \end_layout
4326
4327 \end_inset
4328 </cell>
4329 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4330 \begin_inset Text
4331
4332 \begin_layout Plain Layout
4333 111
4334 \end_layout
4335
4336 \end_inset
4337 </cell>
4338 </row>
4339 <row>
4340 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4341 \begin_inset Text
4342
4343 \begin_layout Plain Layout
4344
4345 \series bold
4346 Mezzadra
4347 \end_layout
4348
4349 \end_inset
4350 </cell>
4351 <cell alignment="center" valignment="top" usebox="none">
4352 \begin_inset Text
4353
4354 \begin_layout Plain Layout
4355 Roberto
4356 \end_layout
4357
4358 \end_inset
4359 </cell>
4360 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4361 \begin_inset Text
4362
4363 \begin_layout Plain Layout
4364 111
4365 \end_layout
4366
4367 \end_inset
4368 </cell>
4369 </row>
4370 <row>
4371 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4372 \begin_inset Text
4373
4374 \begin_layout Plain Layout
4375
4376 \series bold
4377 Pirpamer
4378 \end_layout
4379
4380 \end_inset
4381 </cell>
4382 <cell alignment="center" valignment="top" usebox="none">
4383 \begin_inset Text
4384
4385 \begin_layout Plain Layout
4386 Erich
4387 \end_layout
4388
4389 \end_inset
4390 </cell>
4391 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4392 \begin_inset Text
4393
4394 \begin_layout Plain Layout
4395 111
4396 \end_layout
4397
4398 \end_inset
4399 </cell>
4400 </row>
4401 <row>
4402 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4403 \begin_inset Text
4404
4405 \begin_layout Plain Layout
4406
4407 \series bold
4408 Pochiesa
4409 \end_layout
4410
4411 \end_inset
4412 </cell>
4413 <cell alignment="center" valignment="top" usebox="none">
4414 \begin_inset Text
4415
4416 \begin_layout Plain Layout
4417 Paolo
4418 \end_layout
4419
4420 \end_inset
4421 </cell>
4422 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4423 \begin_inset Text
4424
4425 \begin_layout Plain Layout
4426 111, 222
4427 \end_layout
4428
4429 \end_inset
4430 </cell>
4431 </row>
4432 <row>
4433 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4434 \begin_inset Text
4435
4436 \begin_layout Plain Layout
4437
4438 \series bold
4439 Radina
4440 \end_layout
4441
4442 \end_inset
4443 </cell>
4444 <cell alignment="center" valignment="top" usebox="none">
4445 \begin_inset Text
4446
4447 \begin_layout Plain Layout
4448 Claudio
4449 \end_layout
4450
4451 \end_inset
4452 </cell>
4453 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4454 \begin_inset Text
4455
4456 \begin_layout Plain Layout
4457 111
4458 \end_layout
4459
4460 \end_inset
4461 </cell>
4462 </row>
4463 <row>
4464 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4465 \begin_inset Text
4466
4467 \begin_layout Plain Layout
4468
4469 \series bold
4470 Stuffer
4471 \end_layout
4472
4473 \end_inset
4474 </cell>
4475 <cell alignment="center" valignment="top" usebox="none">
4476 \begin_inset Text
4477
4478 \begin_layout Plain Layout
4479 Oskar
4480 \end_layout
4481
4482 \end_inset
4483 </cell>
4484 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4485 \begin_inset Text
4486
4487 \begin_layout Plain Layout
4488 111
4489 \end_layout
4490
4491 \end_inset
4492 </cell>
4493 </row>
4494 <row>
4495 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4496 \begin_inset Text
4497
4498 \begin_layout Plain Layout
4499
4500 \series bold
4501 Tacchelli
4502 \end_layout
4503
4504 \end_inset
4505 </cell>
4506 <cell alignment="center" valignment="top" usebox="none">
4507 \begin_inset Text
4508
4509 \begin_layout Plain Layout
4510 Ugo
4511 \end_layout
4512
4513 \end_inset
4514 </cell>
4515 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4516 \begin_inset Text
4517
4518 \begin_layout Plain Layout
4519 111
4520 \end_layout
4521
4522 \end_inset
4523 </cell>
4524 </row>
4525 <row>
4526 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4527 \begin_inset Text
4528
4529 \begin_layout Plain Layout
4530
4531 \series bold
4532 Tezzele
4533 \end_layout
4534
4535 \end_inset
4536 </cell>
4537 <cell alignment="center" valignment="top" usebox="none">
4538 \begin_inset Text
4539
4540 \begin_layout Plain Layout
4541 Margit
4542 \end_layout
4543
4544 \end_inset
4545 </cell>
4546 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4547 \begin_inset Text
4548
4549 \begin_layout Plain Layout
4550 111
4551 \end_layout
4552
4553 \end_inset
4554 </cell>
4555 </row>
4556 <row>
4557 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4558 \begin_inset Text
4559
4560 \begin_layout Plain Layout
4561
4562 \series bold
4563 Unterkalmsteiner
4564 \end_layout
4565
4566 \end_inset
4567 </cell>
4568 <cell alignment="center" valignment="top" usebox="none">
4569 \begin_inset Text
4570
4571 \begin_layout Plain Layout
4572 Frieda
4573 \end_layout
4574
4575 \end_inset
4576 </cell>
4577 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4578 \begin_inset Text
4579
4580 \begin_layout Plain Layout
4581 111
4582 \end_layout
4583
4584 \end_inset
4585 </cell>
4586 </row>
4587 <row>
4588 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4589 \begin_inset Text
4590
4591 \begin_layout Plain Layout
4592
4593 \series bold
4594 Vieider
4595 \end_layout
4596
4597 \end_inset
4598 </cell>
4599 <cell alignment="center" valignment="top" usebox="none">
4600 \begin_inset Text
4601
4602 \begin_layout Plain Layout
4603 Hilde
4604 \end_layout
4605
4606 \end_inset
4607 </cell>
4608 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4609 \begin_inset Text
4610
4611 \begin_layout Plain Layout
4612 111
4613 \end_layout
4614
4615 \end_inset
4616 </cell>
4617 </row>
4618 <row>
4619 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4620 \begin_inset Text
4621
4622 \begin_layout Plain Layout
4623
4624 \series bold
4625 Vigna
4626 \end_layout
4627
4628 \end_inset
4629 </cell>
4630 <cell alignment="center" valignment="top" usebox="none">
4631 \begin_inset Text
4632
4633 \begin_layout Plain Layout
4634 Jürgen
4635 \end_layout
4636
4637 \end_inset
4638 </cell>
4639 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4640 \begin_inset Text
4641
4642 \begin_layout Plain Layout
4643 111
4644 \end_layout
4645
4646 \end_inset
4647 </cell>
4648 </row>
4649 <row>
4650 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4651 \begin_inset Text
4652
4653 \begin_layout Plain Layout
4654
4655 \series bold
4656 Weber
4657 \end_layout
4658
4659 \end_inset
4660 </cell>
4661 <cell alignment="center" valignment="top" usebox="none">
4662 \begin_inset Text
4663
4664 \begin_layout Plain Layout
4665 Maurizio
4666 \end_layout
4667
4668 \end_inset
4669 </cell>
4670 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4671 \begin_inset Text
4672
4673 \begin_layout Plain Layout
4674 111
4675 \end_layout
4676
4677 \end_inset
4678 </cell>
4679 </row>
4680 <row>
4681 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
4682 \begin_inset Text
4683
4684 \begin_layout Plain Layout
4685
4686 \series bold
4687 Winkler
4688 \end_layout
4689
4690 \end_inset
4691 </cell>
4692 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
4693 \begin_inset Text
4694
4695 \begin_layout Plain Layout
4696 Franz
4697 \end_layout
4698
4699 \end_inset
4700 </cell>
4701 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
4702 \begin_inset Text
4703
4704 \begin_layout Plain Layout
4705 111
4706 \end_layout
4707
4708 \end_inset
4709 </cell>
4710 </row>
4711 <row>
4712 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
4713 \begin_inset Text
4714
4715 \begin_layout Plain Layout
4716  
4717 \end_layout
4718
4719 \end_inset
4720 </cell>
4721 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
4722 \begin_inset Text
4723
4724 \begin_layout Plain Layout
4725
4726 \end_layout
4727
4728 \end_inset
4729 </cell>
4730 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4731 \begin_inset Text
4732
4733 \begin_layout Plain Layout
4734
4735 \end_layout
4736
4737 \end_inset
4738 </cell>
4739 </row>
4740 <row>
4741 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4742 \begin_inset Text
4743
4744 \begin_layout Plain Layout
4745
4746 \series bold
4747 Annovi
4748 \end_layout
4749
4750 \end_inset
4751 </cell>
4752 <cell alignment="center" valignment="top" usebox="none">
4753 \begin_inset Text
4754
4755 \begin_layout Plain Layout
4756 Silvia
4757 \end_layout
4758
4759 \end_inset
4760 </cell>
4761 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4762 \begin_inset Text
4763
4764 \begin_layout Plain Layout
4765 555
4766 \end_layout
4767
4768 \end_inset
4769 </cell>
4770 </row>
4771 <row>
4772 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4773 \begin_inset Text
4774
4775 \begin_layout Plain Layout
4776
4777 \series bold
4778 Bertoli
4779 \end_layout
4780
4781 \end_inset
4782 </cell>
4783 <cell alignment="center" valignment="top" usebox="none">
4784 \begin_inset Text
4785
4786 \begin_layout Plain Layout
4787 Stefano
4788 \end_layout
4789
4790 \end_inset
4791 </cell>
4792 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4793 \begin_inset Text
4794
4795 \begin_layout Plain Layout
4796 555
4797 \end_layout
4798
4799 \end_inset
4800 </cell>
4801 </row>
4802 <row>
4803 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4804 \begin_inset Text
4805
4806 \begin_layout Plain Layout
4807
4808 \series bold
4809 Bozzi
4810 \end_layout
4811
4812 \end_inset
4813 </cell>
4814 <cell alignment="center" valignment="top" usebox="none">
4815 \begin_inset Text
4816
4817 \begin_layout Plain Layout
4818 Walter
4819 \end_layout
4820
4821 \end_inset
4822 </cell>
4823 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4824 \begin_inset Text
4825
4826 \begin_layout Plain Layout
4827 555
4828 \end_layout
4829
4830 \end_inset
4831 </cell>
4832 </row>
4833 <row>
4834 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4835 \begin_inset Text
4836
4837 \begin_layout Plain Layout
4838
4839 \series bold
4840 Cachia
4841 \end_layout
4842
4843 \end_inset
4844 </cell>
4845 <cell alignment="center" valignment="top" usebox="none">
4846 \begin_inset Text
4847
4848 \begin_layout Plain Layout
4849 Maria
4850 \end_layout
4851
4852 \end_inset
4853 </cell>
4854 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4855 \begin_inset Text
4856
4857 \begin_layout Plain Layout
4858 555
4859 \end_layout
4860
4861 \end_inset
4862 </cell>
4863 </row>
4864 <row>
4865 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4866 \begin_inset Text
4867
4868 \begin_layout Plain Layout
4869
4870 \series bold
4871 Cachia
4872 \end_layout
4873
4874 \end_inset
4875 </cell>
4876 <cell alignment="center" valignment="top" usebox="none">
4877 \begin_inset Text
4878
4879 \begin_layout Plain Layout
4880 Maurizio
4881 \end_layout
4882
4883 \end_inset
4884 </cell>
4885 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4886 \begin_inset Text
4887
4888 \begin_layout Plain Layout
4889 555
4890 \end_layout
4891
4892 \end_inset
4893 </cell>
4894 </row>
4895 <row>
4896 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4897 \begin_inset Text
4898
4899 \begin_layout Plain Layout
4900
4901 \series bold
4902 Cinquemani
4903 \end_layout
4904
4905 \end_inset
4906 </cell>
4907 <cell alignment="center" valignment="top" usebox="none">
4908 \begin_inset Text
4909
4910 \begin_layout Plain Layout
4911 Giusi
4912 \end_layout
4913
4914 \end_inset
4915 </cell>
4916 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4917 \begin_inset Text
4918
4919 \begin_layout Plain Layout
4920 555
4921 \end_layout
4922
4923 \end_inset
4924 </cell>
4925 </row>
4926 <row>
4927 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4928 \begin_inset Text
4929
4930 \begin_layout Plain Layout
4931
4932 \series bold
4933 Colin
4934 \end_layout
4935
4936 \end_inset
4937 </cell>
4938 <cell alignment="center" valignment="top" usebox="none">
4939 \begin_inset Text
4940
4941 \begin_layout Plain Layout
4942 Bernard
4943 \end_layout
4944
4945 \end_inset
4946 </cell>
4947 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4948 \begin_inset Text
4949
4950 \begin_layout Plain Layout
4951 555
4952 \end_layout
4953
4954 \end_inset
4955 </cell>
4956 </row>
4957 <row>
4958 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4959 \begin_inset Text
4960
4961 \begin_layout Plain Layout
4962
4963 \series bold
4964 Concli
4965 \end_layout
4966
4967 \end_inset
4968 </cell>
4969 <cell alignment="center" valignment="top" usebox="none">
4970 \begin_inset Text
4971
4972 \begin_layout Plain Layout
4973 Gianfranco
4974 \end_layout
4975
4976 \end_inset
4977 </cell>
4978 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4979 \begin_inset Text
4980
4981 \begin_layout Plain Layout
4982 555
4983 \end_layout
4984
4985 \end_inset
4986 </cell>
4987 </row>
4988 <row>
4989 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4990 \begin_inset Text
4991
4992 \begin_layout Plain Layout
4993
4994 \series bold
4995 Dal Bosco
4996 \end_layout
4997
4998 \end_inset
4999 </cell>
5000 <cell alignment="center" valignment="top" usebox="none">
5001 \begin_inset Text
5002
5003 \begin_layout Plain Layout
5004 Carolina
5005 \end_layout
5006
5007 \end_inset
5008 </cell>
5009 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5010 \begin_inset Text
5011
5012 \begin_layout Plain Layout
5013 555
5014 \end_layout
5015
5016 \end_inset
5017 </cell>
5018 </row>
5019 <row>
5020 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5021 \begin_inset Text
5022
5023 \begin_layout Plain Layout
5024
5025 \series bold
5026 Dalpiaz
5027 \end_layout
5028
5029 \end_inset
5030 </cell>
5031 <cell alignment="center" valignment="top" usebox="none">
5032 \begin_inset Text
5033
5034 \begin_layout Plain Layout
5035 Annamaria
5036 \end_layout
5037
5038 \end_inset
5039 </cell>
5040 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5041 \begin_inset Text
5042
5043 \begin_layout Plain Layout
5044 555
5045 \end_layout
5046
5047 \end_inset
5048 </cell>
5049 </row>
5050 <row>
5051 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5052 \begin_inset Text
5053
5054 \begin_layout Plain Layout
5055
5056 \series bold
5057 Feliciello
5058 \end_layout
5059
5060 \end_inset
5061 </cell>
5062 <cell alignment="center" valignment="top" usebox="none">
5063 \begin_inset Text
5064
5065 \begin_layout Plain Layout
5066 Domenico
5067 \end_layout
5068
5069 \end_inset
5070 </cell>
5071 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5072 \begin_inset Text
5073
5074 \begin_layout Plain Layout
5075 555
5076 \end_layout
5077
5078 \end_inset
5079 </cell>
5080 </row>
5081 <row>
5082 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5083 \begin_inset Text
5084
5085 \begin_layout Plain Layout
5086
5087 \series bold
5088 Focarelli
5089 \end_layout
5090
5091 \end_inset
5092 </cell>
5093 <cell alignment="center" valignment="top" usebox="none">
5094 \begin_inset Text
5095
5096 \begin_layout Plain Layout
5097 Paola
5098 \end_layout
5099
5100 \end_inset
5101 </cell>
5102 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5103 \begin_inset Text
5104
5105 \begin_layout Plain Layout
5106 555
5107 \end_layout
5108
5109 \end_inset
5110 </cell>
5111 </row>
5112 <row>
5113 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5114 \begin_inset Text
5115
5116 \begin_layout Plain Layout
5117
5118 \series bold
5119 Galletti
5120 \end_layout
5121
5122 \end_inset
5123 </cell>
5124 <cell alignment="center" valignment="top" usebox="none">
5125 \begin_inset Text
5126
5127 \begin_layout Plain Layout
5128 Oreste
5129 \end_layout
5130
5131 \end_inset
5132 </cell>
5133 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5134 \begin_inset Text
5135
5136 \begin_layout Plain Layout
5137 555
5138 \end_layout
5139
5140 \end_inset
5141 </cell>
5142 </row>
5143 <row>
5144 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5145 \begin_inset Text
5146
5147 \begin_layout Plain Layout
5148
5149 \series bold
5150 Gasparini
5151 \end_layout
5152
5153 \end_inset
5154 </cell>
5155 <cell alignment="center" valignment="top" usebox="none">
5156 \begin_inset Text
5157
5158 \begin_layout Plain Layout
5159 Franca
5160 \end_layout
5161
5162 \end_inset
5163 </cell>
5164 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5165 \begin_inset Text
5166
5167 \begin_layout Plain Layout
5168 555
5169 \end_layout
5170
5171 \end_inset
5172 </cell>
5173 </row>
5174 <row>
5175 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5176 \begin_inset Text
5177
5178 \begin_layout Plain Layout
5179
5180 \series bold
5181 Rizzardi
5182 \end_layout
5183
5184 \end_inset
5185 </cell>
5186 <cell alignment="center" valignment="top" usebox="none">
5187 \begin_inset Text
5188
5189 \begin_layout Plain Layout
5190 Paola
5191 \end_layout
5192
5193 \end_inset
5194 </cell>
5195 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5196 \begin_inset Text
5197
5198 \begin_layout Plain Layout
5199 555
5200 \end_layout
5201
5202 \end_inset
5203 </cell>
5204 </row>
5205 <row>
5206 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5207 \begin_inset Text
5208
5209 \begin_layout Plain Layout
5210
5211 \series bold
5212 Lassini
5213 \end_layout
5214
5215 \end_inset
5216 </cell>
5217 <cell alignment="center" valignment="top" usebox="none">
5218 \begin_inset Text
5219
5220 \begin_layout Plain Layout
5221 Giancarlo
5222 \end_layout
5223
5224 \end_inset
5225 </cell>
5226 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5227 \begin_inset Text
5228
5229 \begin_layout Plain Layout
5230 555
5231 \end_layout
5232
5233 \end_inset
5234 </cell>
5235 </row>
5236 <row>
5237 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5238 \begin_inset Text
5239
5240 \begin_layout Plain Layout
5241
5242 \series bold
5243 Malfatti
5244 \end_layout
5245
5246 \end_inset
5247 </cell>
5248 <cell alignment="center" valignment="top" usebox="none">
5249 \begin_inset Text
5250
5251 \begin_layout Plain Layout
5252 Luciano
5253 \end_layout
5254
5255 \end_inset
5256 </cell>
5257 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5258 \begin_inset Text
5259
5260 \begin_layout Plain Layout
5261 555
5262 \end_layout
5263
5264 \end_inset
5265 </cell>
5266 </row>
5267 <row>
5268 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5269 \begin_inset Text
5270
5271 \begin_layout Plain Layout
5272
5273 \series bold
5274 Malfatti
5275 \end_layout
5276
5277 \end_inset
5278 </cell>
5279 <cell alignment="center" valignment="top" usebox="none">
5280 \begin_inset Text
5281
5282 \begin_layout Plain Layout
5283 Valeriano
5284 \end_layout
5285
5286 \end_inset
5287 </cell>
5288 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5289 \begin_inset Text
5290
5291 \begin_layout Plain Layout
5292 555
5293 \end_layout
5294
5295 \end_inset
5296 </cell>
5297 </row>
5298 <row>
5299 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5300 \begin_inset Text
5301
5302 \begin_layout Plain Layout
5303
5304 \series bold
5305 Meneguzzo
5306 \end_layout
5307
5308 \end_inset
5309 </cell>
5310 <cell alignment="center" valignment="top" usebox="none">
5311 \begin_inset Text
5312
5313 \begin_layout Plain Layout
5314 Roberto
5315 \end_layout
5316
5317 \end_inset
5318 </cell>
5319 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5320 \begin_inset Text
5321
5322 \begin_layout Plain Layout
5323 555
5324 \end_layout
5325
5326 \end_inset
5327 </cell>
5328 </row>
5329 <row>
5330 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5331 \begin_inset Text
5332
5333 \begin_layout Plain Layout
5334
5335 \series bold
5336 Mezzadra
5337 \end_layout
5338
5339 \end_inset
5340 </cell>
5341 <cell alignment="center" valignment="top" usebox="none">
5342 \begin_inset Text
5343
5344 \begin_layout Plain Layout
5345 Roberto
5346 \end_layout
5347
5348 \end_inset
5349 </cell>
5350 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5351 \begin_inset Text
5352
5353 \begin_layout Plain Layout
5354 555
5355 \end_layout
5356
5357 \end_inset
5358 </cell>
5359 </row>
5360 <row>
5361 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5362 \begin_inset Text
5363
5364 \begin_layout Plain Layout
5365
5366 \series bold
5367 Pirpamer
5368 \end_layout
5369
5370 \end_inset
5371 </cell>
5372 <cell alignment="center" valignment="top" usebox="none">
5373 \begin_inset Text
5374
5375 \begin_layout Plain Layout
5376 Erich
5377 \end_layout
5378
5379 \end_inset
5380 </cell>
5381 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5382 \begin_inset Text
5383
5384 \begin_layout Plain Layout
5385 555
5386 \end_layout
5387
5388 \end_inset
5389 </cell>
5390 </row>
5391 <row>
5392 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5393 \begin_inset Text
5394
5395 \begin_layout Plain Layout
5396
5397 \series bold
5398 Pochiesa
5399 \end_layout
5400
5401 \end_inset
5402 </cell>
5403 <cell alignment="center" valignment="top" usebox="none">
5404 \begin_inset Text
5405
5406 \begin_layout Plain Layout
5407 Paolo
5408 \end_layout
5409
5410 \end_inset
5411 </cell>
5412 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5413 \begin_inset Text
5414
5415 \begin_layout Plain Layout
5416 555, 222
5417 \end_layout
5418
5419 \end_inset
5420 </cell>
5421 </row>
5422 <row>
5423 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5424 \begin_inset Text
5425
5426 \begin_layout Plain Layout
5427
5428 \series bold
5429 Radina
5430 \end_layout
5431
5432 \end_inset
5433 </cell>
5434 <cell alignment="center" valignment="top" usebox="none">
5435 \begin_inset Text
5436
5437 \begin_layout Plain Layout
5438 Claudio
5439 \end_layout
5440
5441 \end_inset
5442 </cell>
5443 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5444 \begin_inset Text
5445
5446 \begin_layout Plain Layout
5447 555
5448 \end_layout
5449
5450 \end_inset
5451 </cell>
5452 </row>
5453 <row>
5454 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5455 \begin_inset Text
5456
5457 \begin_layout Plain Layout
5458
5459 \series bold
5460 Stuffer
5461 \end_layout
5462
5463 \end_inset
5464 </cell>
5465 <cell alignment="center" valignment="top" usebox="none">
5466 \begin_inset Text
5467
5468 \begin_layout Plain Layout
5469 Oskar
5470 \end_layout
5471
5472 \end_inset
5473 </cell>
5474 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5475 \begin_inset Text
5476
5477 \begin_layout Plain Layout
5478 555
5479 \end_layout
5480
5481 \end_inset
5482 </cell>
5483 </row>
5484 <row>
5485 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5486 \begin_inset Text
5487
5488 \begin_layout Plain Layout
5489
5490 \series bold
5491 Tacchelli
5492 \end_layout
5493
5494 \end_inset
5495 </cell>
5496 <cell alignment="center" valignment="top" usebox="none">
5497 \begin_inset Text
5498
5499 \begin_layout Plain Layout
5500 Ugo
5501 \end_layout
5502
5503 \end_inset
5504 </cell>
5505 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5506 \begin_inset Text
5507
5508 \begin_layout Plain Layout
5509 555
5510 \end_layout
5511
5512 \end_inset
5513 </cell>
5514 </row>
5515 <row>
5516 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5517 \begin_inset Text
5518
5519 \begin_layout Plain Layout
5520
5521 \series bold
5522 Tezzele
5523 \end_layout
5524
5525 \end_inset
5526 </cell>
5527 <cell alignment="center" valignment="top" usebox="none">
5528 \begin_inset Text
5529
5530 \begin_layout Plain Layout
5531 Margit
5532 \end_layout
5533
5534 \end_inset
5535 </cell>
5536 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5537 \begin_inset Text
5538
5539 \begin_layout Plain Layout
5540 555
5541 \end_layout
5542
5543 \end_inset
5544 </cell>
5545 </row>
5546 <row>
5547 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5548 \begin_inset Text
5549
5550 \begin_layout Plain Layout
5551
5552 \series bold
5553 Unterkalmsteiner
5554 \end_layout
5555
5556 \end_inset
5557 </cell>
5558 <cell alignment="center" valignment="top" usebox="none">
5559 \begin_inset Text
5560
5561 \begin_layout Plain Layout
5562 Frieda
5563 \end_layout
5564
5565 \end_inset
5566 </cell>
5567 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5568 \begin_inset Text
5569
5570 \begin_layout Plain Layout
5571 555
5572 \end_layout
5573
5574 \end_inset
5575 </cell>
5576 </row>
5577 <row>
5578 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5579 \begin_inset Text
5580
5581 \begin_layout Plain Layout
5582
5583 \series bold
5584 Vieider
5585 \end_layout
5586
5587 \end_inset
5588 </cell>
5589 <cell alignment="center" valignment="top" usebox="none">
5590 \begin_inset Text
5591
5592 \begin_layout Plain Layout
5593 Hilde
5594 \end_layout
5595
5596 \end_inset
5597 </cell>
5598 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5599 \begin_inset Text
5600
5601 \begin_layout Plain Layout
5602 555
5603 \end_layout
5604
5605 \end_inset
5606 </cell>
5607 </row>
5608 <row>
5609 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5610 \begin_inset Text
5611
5612 \begin_layout Plain Layout
5613
5614 \series bold
5615 Vigna
5616 \end_layout
5617
5618 \end_inset
5619 </cell>
5620 <cell alignment="center" valignment="top" usebox="none">
5621 \begin_inset Text
5622
5623 \begin_layout Plain Layout
5624 Jürgen
5625 \end_layout
5626
5627 \end_inset
5628 </cell>
5629 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5630 \begin_inset Text
5631
5632 \begin_layout Plain Layout
5633 999
5634 \end_layout
5635
5636 \end_inset
5637 </cell>
5638 </row>
5639 <row>
5640 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5641 \begin_inset Text
5642
5643 \begin_layout Plain Layout
5644
5645 \series bold
5646 Weber
5647 \end_layout
5648
5649 \end_inset
5650 </cell>
5651 <cell alignment="center" valignment="top" usebox="none">
5652 \begin_inset Text
5653
5654 \begin_layout Plain Layout
5655 Maurizio
5656 \end_layout
5657
5658 \end_inset
5659 </cell>
5660 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5661 \begin_inset Text
5662
5663 \begin_layout Plain Layout
5664 555
5665 \end_layout
5666
5667 \end_inset
5668 </cell>
5669 </row>
5670 <row>
5671 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
5672 \begin_inset Text
5673
5674 \begin_layout Plain Layout
5675
5676 \series bold
5677 Winkler
5678 \end_layout
5679
5680 \end_inset
5681 </cell>
5682 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
5683 \begin_inset Text
5684
5685 \begin_layout Plain Layout
5686 Franz
5687 \end_layout
5688
5689 \end_inset
5690 </cell>
5691 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
5692 \begin_inset Text
5693
5694 \begin_layout Plain Layout
5695 555
5696 \end_layout
5697
5698 \end_inset
5699 </cell>
5700 </row>
5701 <row endlastfoot="true">
5702 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
5703 \begin_inset Text
5704
5705 \begin_layout Plain Layout
5706 end
5707 \end_layout
5708
5709 \end_inset
5710 </cell>
5711 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
5712 \begin_inset Text
5713
5714 \begin_layout Plain Layout
5715
5716 \end_layout
5717
5718 \end_inset
5719 </cell>
5720 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5721 \begin_inset Text
5722
5723 \begin_layout Plain Layout
5724
5725 \end_layout
5726
5727 \end_inset
5728 </cell>
5729 </row>
5730 </lyxtabular>
5731
5732 \end_inset
5733
5734
5735 \begin_inset ERT
5736 status collapsed
5737
5738 \begin_layout Plain Layout
5739
5740
5741 \backslash
5742 addtocounter{table}{-1}
5743 \end_layout
5744
5745 \end_inset
5746
5747
5748 \begin_inset Note Note
5749 status collapsed
5750
5751 \begin_layout Plain Layout
5752 See the first greyed-out note in section
5753 \begin_inset space ~
5754 \end_inset
5755
5756
5757 \begin_inset CommandInset ref
5758 LatexCommand ref
5759 reference "subsec:Multi-page-Table-Captions"
5760
5761 \end_inset
5762
5763  for an explanation of this command.
5764 \end_layout
5765
5766 \end_inset
5767
5768
5769 \end_layout
5770
5771 \begin_layout Subsection
5772 Footnotes in Multi-page tables
5773 \begin_inset CommandInset label
5774 LatexCommand label
5775 name "subsec:Footnotes-in-Multi-page"
5776
5777 \end_inset
5778
5779
5780 \begin_inset Index idx
5781 status collapsed
5782
5783 \begin_layout Plain Layout
5784 Table ! Multi-page Table ! Footnotes
5785 \end_layout
5786
5787 \end_inset
5788
5789
5790 \end_layout
5791
5792 \begin_layout Standard
5793 Footnotes can be inserted to every Multi-page table cell.
5794  They appear at the bottom of the page where the table cell with the footnote
5795  appears.
5796  Table
5797 \begin_inset space ~
5798 \end_inset
5799
5800
5801 \begin_inset CommandInset ref
5802 LatexCommand ref
5803 reference "tab:DiffCaptions"
5804
5805 \end_inset
5806
5807  has for example a footnote.
5808 \end_layout
5809
5810 \begin_layout Subsection
5811 Multi-page Table Alignment
5812 \begin_inset Index idx
5813 status collapsed
5814
5815 \begin_layout Plain Layout
5816 Table ! Multi-page Table ! Alignment
5817 \end_layout
5818
5819 \end_inset
5820
5821
5822 \end_layout
5823
5824 \begin_layout Standard
5825 The horizontal alignment of multi-page tables can be set in the table settings
5826  dialog.
5827  For left- and right-alignment the table will be directly at the page border.
5828  To add space between the table and the border one has to set the alignment
5829  to center and change the value of the \SpecialChar LaTeX
5830 -lengths 
5831 \series bold
5832
5833 \backslash
5834 LTleft 
5835 \series default
5836 or 
5837 \series bold
5838
5839 \backslash
5840 LTright
5841 \series default
5842  by inserting this line as \SpecialChar TeX
5843  Code before the multi-page table:
5844 \end_layout
5845
5846 \begin_layout Standard
5847
5848 \series bold
5849
5850 \backslash
5851 setlength{
5852 \backslash
5853 LTleft}{value}
5854 \end_layout
5855
5856 \begin_layout Standard
5857 The value can have any of the units listed in Table
5858 \begin_inset space ~
5859 \end_inset
5860
5861
5862 \begin_inset CommandInset ref
5863 LatexCommand ref
5864 reference "tab:Units"
5865
5866 \end_inset
5867
5868 .
5869  
5870 \series bold
5871
5872 \backslash
5873 LTleft
5874 \series default
5875  controls the horizontal distance from the left page border to the multi-page
5876  table, 
5877 \series bold
5878
5879 \backslash
5880 LTright
5881 \series default
5882  the distance from the right side.
5883  The default value for both lengths is 
5884 \series bold
5885
5886 \backslash
5887 fill
5888 \series default
5889 , which is in this case the same as an horizontal fill in \SpecialChar LyX
5890 .
5891 \end_layout
5892
5893 \begin_layout Standard
5894 The following multi-page table was centered and 
5895 \series bold
5896
5897 \backslash
5898 LTleft
5899 \series default
5900  set to 
5901 \family sans
5902 0.1
5903 \backslash
5904 columnwidth
5905 \family default
5906 :
5907 \begin_inset ERT
5908 status collapsed
5909
5910 \begin_layout Plain Layout
5911
5912
5913 \backslash
5914 setlength{
5915 \backslash
5916 LTleft}{0.1
5917 \backslash
5918 columnwidth}
5919 \end_layout
5920
5921 \end_inset
5922
5923
5924 \end_layout
5925
5926 \begin_layout Standard
5927 \begin_inset Tabular
5928 <lyxtabular version="3" rows="5" columns="5">
5929 <features islongtable="true" longtabularalignment="center">
5930 <column alignment="center" valignment="top">
5931 <column alignment="center" valignment="top" width="0pt">
5932 <column alignment="center" valignment="top">
5933 <column alignment="center" valignment="top">
5934 <column alignment="center" valignment="top">
5935 <row>
5936 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5937 \begin_inset Text
5938
5939 \begin_layout Plain Layout
5940 1
5941 \end_layout
5942
5943 \end_inset
5944 </cell>
5945 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5946 \begin_inset Text
5947
5948 \begin_layout Plain Layout
5949 2
5950 \end_layout
5951
5952 \end_inset
5953 </cell>
5954 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5955 \begin_inset Text
5956
5957 \begin_layout Plain Layout
5958 3
5959 \end_layout
5960
5961 \end_inset
5962 </cell>
5963 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5964 \begin_inset Text
5965
5966 \begin_layout Plain Layout
5967 4
5968 \end_layout
5969
5970 \end_inset
5971 </cell>
5972 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5973 \begin_inset Text
5974
5975 \begin_layout Plain Layout
5976 5
5977 \end_layout
5978
5979 \end_inset
5980 </cell>
5981 </row>
5982 <row>
5983 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5984 \begin_inset Text
5985
5986 \begin_layout Plain Layout
5987 asd
5988 \end_layout
5989
5990 \end_inset
5991 </cell>
5992 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5993 \begin_inset Text
5994
5995 \begin_layout Plain Layout
5996 s
5997 \end_layout
5998
5999 \end_inset
6000 </cell>
6001 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6002 \begin_inset Text
6003
6004 \begin_layout Plain Layout
6005 s
6006 \end_layout
6007
6008 \end_inset
6009 </cell>
6010 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6011 \begin_inset Text
6012
6013 \begin_layout Plain Layout
6014 s
6015 \end_layout
6016
6017 \end_inset
6018 </cell>
6019 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6020 \begin_inset Text
6021
6022 \begin_layout Plain Layout
6023 asd
6024 \end_layout
6025
6026 \end_inset
6027 </cell>
6028 </row>
6029 <row>
6030 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6031 \begin_inset Text
6032
6033 \begin_layout Plain Layout
6034 asd
6035 \end_layout
6036
6037 \end_inset
6038 </cell>
6039 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6040 \begin_inset Text
6041
6042 \begin_layout Plain Layout
6043 s
6044 \end_layout
6045
6046 \end_inset
6047 </cell>
6048 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6049 \begin_inset Text
6050
6051 \begin_layout Plain Layout
6052 s
6053 \end_layout
6054
6055 \end_inset
6056 </cell>
6057 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6058 \begin_inset Text
6059
6060 \begin_layout Plain Layout
6061 s
6062 \end_layout
6063
6064 \end_inset
6065 </cell>
6066 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6067 \begin_inset Text
6068
6069 \begin_layout Plain Layout
6070 asd
6071 \end_layout
6072
6073 \end_inset
6074 </cell>
6075 </row>
6076 <row>
6077 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6078 \begin_inset Text
6079
6080 \begin_layout Plain Layout
6081 asd
6082 \end_layout
6083
6084 \end_inset
6085 </cell>
6086 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6087 \begin_inset Text
6088
6089 \begin_layout Plain Layout
6090 s
6091 \end_layout
6092
6093 \end_inset
6094 </cell>
6095 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6096 \begin_inset Text
6097
6098 \begin_layout Plain Layout
6099 s
6100 \end_layout
6101
6102 \end_inset
6103 </cell>
6104 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6105 \begin_inset Text
6106
6107 \begin_layout Plain Layout
6108 s
6109 \end_layout
6110
6111 \end_inset
6112 </cell>
6113 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6114 \begin_inset Text
6115
6116 \begin_layout Plain Layout
6117 asd
6118 \end_layout
6119
6120 \end_inset
6121 </cell>
6122 </row>
6123 <row>
6124 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6125 \begin_inset Text
6126
6127 \begin_layout Plain Layout
6128 asd
6129 \end_layout
6130
6131 \end_inset
6132 </cell>
6133 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6134 \begin_inset Text
6135
6136 \begin_layout Plain Layout
6137 asd
6138 \end_layout
6139
6140 \end_inset
6141 </cell>
6142 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6143 \begin_inset Text
6144
6145 \begin_layout Plain Layout
6146 asd
6147 \end_layout
6148
6149 \end_inset
6150 </cell>
6151 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6152 \begin_inset Text
6153
6154 \begin_layout Plain Layout
6155 asd
6156 \end_layout
6157
6158 \end_inset
6159 </cell>
6160 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6161 \begin_inset Text
6162
6163 \begin_layout Plain Layout
6164 asd
6165 \end_layout
6166
6167 \end_inset
6168 </cell>
6169 </row>
6170 </lyxtabular>
6171
6172 \end_inset
6173
6174
6175 \begin_inset ERT
6176 status collapsed
6177
6178 \begin_layout Plain Layout
6179
6180
6181 \backslash
6182 setlength{
6183 \backslash
6184 LTleft}{
6185 \backslash
6186 fill}
6187 \end_layout
6188
6189 \end_inset
6190
6191
6192 \begin_inset ERT
6193 status collapsed
6194
6195 \begin_layout Plain Layout
6196
6197
6198 \backslash
6199 addtocounter{table}{-1}
6200 \end_layout
6201
6202 \end_inset
6203
6204
6205 \begin_inset Note Note
6206 status collapsed
6207
6208 \begin_layout Plain Layout
6209 See the first greyed-out note in section
6210 \begin_inset space ~
6211 \end_inset
6212
6213
6214 \begin_inset CommandInset ref
6215 LatexCommand ref
6216 reference "subsec:Multi-page-Table-Captions"
6217
6218 \end_inset
6219
6220  for an explanation of this command.
6221 \end_layout
6222
6223 \end_inset
6224
6225
6226 \end_layout
6227
6228 \begin_layout Subsection
6229 Multi-page Table Captions
6230 \begin_inset Index idx
6231 status collapsed
6232
6233 \begin_layout Plain Layout
6234 Table ! Multi-page Table ! Captions
6235 \end_layout
6236
6237 \end_inset
6238
6239
6240 \begin_inset CommandInset label
6241 LatexCommand label
6242 name "subsec:Multi-page-Table-Captions"
6243
6244 \end_inset
6245
6246
6247 \end_layout
6248
6249 \begin_layout Standard
6250 A multi-page table cannot be put into a table float because floats can only
6251  be on one page.
6252  But the caption environment of floats can also be used for multi-page tables
6253  when you use the multi-page table option 
6254 \family sans
6255 Caption
6256 \family default
6257  as described in sec.
6258 \begin_inset space \thinspace{}
6259 \end_inset
6260
6261
6262 \begin_inset CommandInset ref
6263 LatexCommand ref
6264 reference "sec:Multi-page-Tables"
6265
6266 \end_inset
6267
6268 .
6269  Only one table row should contain a caption, either a header or a footer
6270  row.
6271 \end_layout
6272
6273 \begin_layout Standard
6274 Here is a short multi-page table to see how it works:
6275 \end_layout
6276
6277 \begin_layout Standard
6278 \begin_inset Tabular
6279 <lyxtabular version="3" rows="6" columns="5">
6280 <features islongtable="true" longtabularalignment="center">
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 <column alignment="center" valignment="top">
6286 <row endfirsthead="true" caption="true">
6287 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6288 \begin_inset Text
6289
6290 \begin_layout Plain Layout
6291 \begin_inset Caption Standard
6292
6293 \begin_layout Plain Layout
6294 Multi-page table with caption
6295 \begin_inset Argument 1
6296 status open
6297
6298 \begin_layout Plain Layout
6299 Multi-page table
6300 \end_layout
6301
6302 \end_inset
6303
6304
6305 \end_layout
6306
6307 \end_inset
6308
6309
6310 \end_layout
6311
6312 \end_inset
6313 </cell>
6314 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6315 \begin_inset Text
6316
6317 \begin_layout Plain Layout
6318
6319 \end_layout
6320
6321 \end_inset
6322 </cell>
6323 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6324 \begin_inset Text
6325
6326 \begin_layout Plain Layout
6327
6328 \end_layout
6329
6330 \end_inset
6331 </cell>
6332 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6333 \begin_inset Text
6334
6335 \begin_layout Plain Layout
6336
6337 \end_layout
6338
6339 \end_inset
6340 </cell>
6341 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6342 \begin_inset Text
6343
6344 \begin_layout Plain Layout
6345
6346 \end_layout
6347
6348 \end_inset
6349 </cell>
6350 </row>
6351 <row>
6352 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6353 \begin_inset Text
6354
6355 \begin_layout Plain Layout
6356 1
6357 \end_layout
6358
6359 \end_inset
6360 </cell>
6361 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6362 \begin_inset Text
6363
6364 \begin_layout Plain Layout
6365 2
6366 \end_layout
6367
6368 \end_inset
6369 </cell>
6370 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6371 \begin_inset Text
6372
6373 \begin_layout Plain Layout
6374 3
6375 \end_layout
6376
6377 \end_inset
6378 </cell>
6379 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6380 \begin_inset Text
6381
6382 \begin_layout Plain Layout
6383 4
6384 \end_layout
6385
6386 \end_inset
6387 </cell>
6388 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6389 \begin_inset Text
6390
6391 \begin_layout Plain Layout
6392 5
6393 \end_layout
6394
6395 \end_inset
6396 </cell>
6397 </row>
6398 <row>
6399 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6400 \begin_inset Text
6401
6402 \begin_layout Plain Layout
6403 asd
6404 \end_layout
6405
6406 \end_inset
6407 </cell>
6408 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6409 \begin_inset Text
6410
6411 \begin_layout Plain Layout
6412 s
6413 \end_layout
6414
6415 \end_inset
6416 </cell>
6417 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6418 \begin_inset Text
6419
6420 \begin_layout Plain Layout
6421 s
6422 \end_layout
6423
6424 \end_inset
6425 </cell>
6426 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6427 \begin_inset Text
6428
6429 \begin_layout Plain Layout
6430 s
6431 \end_layout
6432
6433 \end_inset
6434 </cell>
6435 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6436 \begin_inset Text
6437
6438 \begin_layout Plain Layout
6439 asd
6440 \end_layout
6441
6442 \end_inset
6443 </cell>
6444 </row>
6445 <row>
6446 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6447 \begin_inset Text
6448
6449 \begin_layout Plain Layout
6450 asd
6451 \end_layout
6452
6453 \end_inset
6454 </cell>
6455 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6456 \begin_inset Text
6457
6458 \begin_layout Plain Layout
6459 s
6460 \end_layout
6461
6462 \end_inset
6463 </cell>
6464 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6465 \begin_inset Text
6466
6467 \begin_layout Plain Layout
6468 s
6469 \end_layout
6470
6471 \end_inset
6472 </cell>
6473 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6474 \begin_inset Text
6475
6476 \begin_layout Plain Layout
6477 s
6478 \end_layout
6479
6480 \end_inset
6481 </cell>
6482 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6483 \begin_inset Text
6484
6485 \begin_layout Plain Layout
6486 asd
6487 \end_layout
6488
6489 \end_inset
6490 </cell>
6491 </row>
6492 <row>
6493 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6494 \begin_inset Text
6495
6496 \begin_layout Plain Layout
6497 asd
6498 \end_layout
6499
6500 \end_inset
6501 </cell>
6502 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6503 \begin_inset Text
6504
6505 \begin_layout Plain Layout
6506 s
6507 \end_layout
6508
6509 \end_inset
6510 </cell>
6511 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6512 \begin_inset Text
6513
6514 \begin_layout Plain Layout
6515 s
6516 \end_layout
6517
6518 \end_inset
6519 </cell>
6520 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6521 \begin_inset Text
6522
6523 \begin_layout Plain Layout
6524 s
6525 \end_layout
6526
6527 \end_inset
6528 </cell>
6529 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6530 \begin_inset Text
6531
6532 \begin_layout Plain Layout
6533 asd
6534 \end_layout
6535
6536 \end_inset
6537 </cell>
6538 </row>
6539 <row>
6540 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6541 \begin_inset Text
6542
6543 \begin_layout Plain Layout
6544 asd
6545 \end_layout
6546
6547 \end_inset
6548 </cell>
6549 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6550 \begin_inset Text
6551
6552 \begin_layout Plain Layout
6553 asd
6554 \end_layout
6555
6556 \end_inset
6557 </cell>
6558 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6559 \begin_inset Text
6560
6561 \begin_layout Plain Layout
6562 asd
6563 \end_layout
6564
6565 \end_inset
6566 </cell>
6567 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6568 \begin_inset Text
6569
6570 \begin_layout Plain Layout
6571 asd
6572 \end_layout
6573
6574 \end_inset
6575 </cell>
6576 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6577 \begin_inset Text
6578
6579 \begin_layout Plain Layout
6580 asd
6581 \end_layout
6582
6583 \end_inset
6584 </cell>
6585 </row>
6586 </lyxtabular>
6587
6588 \end_inset
6589
6590
6591 \end_layout
6592
6593 \begin_layout Standard
6594 \begin_inset VSpace medskip
6595 \end_inset
6596
6597
6598 \begin_inset Note Greyedout
6599 status open
6600
6601 \begin_layout Plain Layout
6602
6603 \series bold
6604 Note
6605 \begin_inset space ~
6606 \end_inset
6607
6608 1:
6609 \series default
6610  The table number is increased for every multi-page table, even if you did
6611  not set a caption for it.
6612  For this reason you could have the case that e.
6613 \begin_inset space \thinspace{}
6614 \end_inset
6615
6616 g.
6617 \begin_inset space \space{}
6618 \end_inset
6619
6620 Table
6621 \begin_inset space ~
6622 \end_inset
6623
6624 2.4 follows Table
6625 \begin_inset space ~
6626 \end_inset
6627
6628 2.1 in the list of tables if there are two multi-page tables without captions.
6629  To avoid this you can add the following command in \SpecialChar TeX
6630  Code after every multi-page
6631  table without a caption:
6632 \end_layout
6633
6634 \begin_layout Plain Layout
6635
6636 \series bold
6637
6638 \backslash
6639 addtocounter{table}{-1}
6640 \end_layout
6641
6642 \begin_layout Plain Layout
6643 This is not needed when none of your multi-page tables has a caption and
6644  you add the following code to the document preamble:
6645 \end_layout
6646
6647 \begin_layout Plain Layout
6648
6649 \series bold
6650
6651 \backslash
6652 let
6653 \backslash
6654 myEnd
6655 \backslash
6656 endlongtable
6657 \begin_inset Newline newline
6658 \end_inset
6659
6660
6661 \backslash
6662 renewcommand{
6663 \backslash
6664 endlongtable}{
6665 \backslash
6666 myEnd
6667 \backslash
6668 addtocounter{table}{-1}}
6669 \end_layout
6670
6671 \end_inset
6672
6673
6674 \end_layout
6675
6676 \begin_layout Standard
6677 \begin_inset Note Greyedout
6678 status open
6679
6680 \begin_layout Plain Layout
6681
6682 \series bold
6683 Note
6684 \begin_inset space ~
6685 \end_inset
6686
6687 2:
6688 \series default
6689  If you are using
6690 \series bold
6691  hyperref
6692 \series default
6693
6694 \begin_inset Index idx
6695 status collapsed
6696
6697 \begin_layout Plain Layout
6698 \SpecialChar LaTeX
6699 -packages ! hyperref
6700 \end_layout
6701
6702 \end_inset
6703
6704  in the 
6705 \family sans
6706 PDF Properties
6707 \family default
6708  of the 
6709 \family sans
6710 Document Settings
6711 \family default
6712  dialog to link cross-references, the link to a multi-page table caption
6713  will always point to the beginning of the document.
6714 \end_layout
6715
6716 \end_inset
6717
6718
6719 \end_layout
6720
6721 \begin_layout Subsubsection
6722 References to multi-page tables
6723 \begin_inset Index idx
6724 status collapsed
6725
6726 \begin_layout Plain Layout
6727 Table ! Multi-page Table ! References
6728 \end_layout
6729
6730 \end_inset
6731
6732
6733 \end_layout
6734
6735 \begin_layout Standard
6736 \begin_inset Tabular
6737 <lyxtabular version="3" rows="6" columns="5">
6738 <features islongtable="true" longtabularalignment="center">
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 <column alignment="center" valignment="top">
6744 <row endfirsthead="true" caption="true">
6745 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6746 \begin_inset Text
6747
6748 \begin_layout Plain Layout
6749 \begin_inset Caption Standard
6750
6751 \begin_layout Plain Layout
6752 Referenced multi-page table
6753 \begin_inset CommandInset label
6754 LatexCommand label
6755 name "tab:Referenced-multi-page-table"
6756
6757 \end_inset
6758
6759
6760 \end_layout
6761
6762 \end_inset
6763
6764
6765 \end_layout
6766
6767 \end_inset
6768 </cell>
6769 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6770 \begin_inset Text
6771
6772 \begin_layout Plain Layout
6773
6774 \end_layout
6775
6776 \end_inset
6777 </cell>
6778 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6779 \begin_inset Text
6780
6781 \begin_layout Plain Layout
6782
6783 \end_layout
6784
6785 \end_inset
6786 </cell>
6787 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6788 \begin_inset Text
6789
6790 \begin_layout Plain Layout
6791
6792 \end_layout
6793
6794 \end_inset
6795 </cell>
6796 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6797 \begin_inset Text
6798
6799 \begin_layout Plain Layout
6800
6801 \end_layout
6802
6803 \end_inset
6804 </cell>
6805 </row>
6806 <row>
6807 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6808 \begin_inset Text
6809
6810 \begin_layout Plain Layout
6811 1
6812 \end_layout
6813
6814 \end_inset
6815 </cell>
6816 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6817 \begin_inset Text
6818
6819 \begin_layout Plain Layout
6820 2
6821 \end_layout
6822
6823 \end_inset
6824 </cell>
6825 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6826 \begin_inset Text
6827
6828 \begin_layout Plain Layout
6829 3
6830 \end_layout
6831
6832 \end_inset
6833 </cell>
6834 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6835 \begin_inset Text
6836
6837 \begin_layout Plain Layout
6838 4
6839 \end_layout
6840
6841 \end_inset
6842 </cell>
6843 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6844 \begin_inset Text
6845
6846 \begin_layout Plain Layout
6847 5
6848 \end_layout
6849
6850 \end_inset
6851 </cell>
6852 </row>
6853 <row>
6854 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6855 \begin_inset Text
6856
6857 \begin_layout Plain Layout
6858 asd
6859 \end_layout
6860
6861 \end_inset
6862 </cell>
6863 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6864 \begin_inset Text
6865
6866 \begin_layout Plain Layout
6867 s
6868 \end_layout
6869
6870 \end_inset
6871 </cell>
6872 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6873 \begin_inset Text
6874
6875 \begin_layout Plain Layout
6876 s
6877 \end_layout
6878
6879 \end_inset
6880 </cell>
6881 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6882 \begin_inset Text
6883
6884 \begin_layout Plain Layout
6885 s
6886 \end_layout
6887
6888 \end_inset
6889 </cell>
6890 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6891 \begin_inset Text
6892
6893 \begin_layout Plain Layout
6894 asd
6895 \end_layout
6896
6897 \end_inset
6898 </cell>
6899 </row>
6900 <row>
6901 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6902 \begin_inset Text
6903
6904 \begin_layout Plain Layout
6905 asd
6906 \end_layout
6907
6908 \end_inset
6909 </cell>
6910 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6911 \begin_inset Text
6912
6913 \begin_layout Plain Layout
6914 s
6915 \end_layout
6916
6917 \end_inset
6918 </cell>
6919 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6920 \begin_inset Text
6921
6922 \begin_layout Plain Layout
6923 s
6924 \end_layout
6925
6926 \end_inset
6927 </cell>
6928 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6929 \begin_inset Text
6930
6931 \begin_layout Plain Layout
6932 s
6933 \end_layout
6934
6935 \end_inset
6936 </cell>
6937 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6938 \begin_inset Text
6939
6940 \begin_layout Plain Layout
6941 asd
6942 \end_layout
6943
6944 \end_inset
6945 </cell>
6946 </row>
6947 <row>
6948 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6949 \begin_inset Text
6950
6951 \begin_layout Plain Layout
6952 asd
6953 \end_layout
6954
6955 \end_inset
6956 </cell>
6957 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6958 \begin_inset Text
6959
6960 \begin_layout Plain Layout
6961 s
6962 \end_layout
6963
6964 \end_inset
6965 </cell>
6966 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6967 \begin_inset Text
6968
6969 \begin_layout Plain Layout
6970 s
6971 \end_layout
6972
6973 \end_inset
6974 </cell>
6975 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6976 \begin_inset Text
6977
6978 \begin_layout Plain Layout
6979 s
6980 \end_layout
6981
6982 \end_inset
6983 </cell>
6984 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6985 \begin_inset Text
6986
6987 \begin_layout Plain Layout
6988 asd
6989 \end_layout
6990
6991 \end_inset
6992 </cell>
6993 </row>
6994 <row>
6995 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6996 \begin_inset Text
6997
6998 \begin_layout Plain Layout
6999 asd
7000 \end_layout
7001
7002 \end_inset
7003 </cell>
7004 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7005 \begin_inset Text
7006
7007 \begin_layout Plain Layout
7008 sad
7009 \end_layout
7010
7011 \end_inset
7012 </cell>
7013 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7014 \begin_inset Text
7015
7016 \begin_layout Plain Layout
7017 asd
7018 \end_layout
7019
7020 \end_inset
7021 </cell>
7022 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7023 \begin_inset Text
7024
7025 \begin_layout Plain Layout
7026 asd
7027 \end_layout
7028
7029 \end_inset
7030 </cell>
7031 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7032 \begin_inset Text
7033
7034 \begin_layout Plain Layout
7035 asd
7036 \end_layout
7037
7038 \end_inset
7039 </cell>
7040 </row>
7041 </lyxtabular>
7042
7043 \end_inset
7044
7045
7046 \end_layout
7047
7048 \begin_layout Standard
7049 To reference a multi-page table, insert a label into the caption.
7050 \end_layout
7051
7052 \begin_layout Standard
7053 This is a reference to Table
7054 \begin_inset space ~
7055 \end_inset
7056
7057
7058 \begin_inset CommandInset ref
7059 LatexCommand ref
7060 reference "tab:Referenced-multi-page-table"
7061
7062 \end_inset
7063
7064 .
7065 \end_layout
7066
7067 \begin_layout Standard
7068 The caption layout can be set together with all other captions of your document
7069  using the \SpecialChar LaTeX
7070 -package 
7071 \series bold
7072 caption
7073 \series default
7074
7075 \begin_inset Index idx
7076 status collapsed
7077
7078 \begin_layout Plain Layout
7079 \SpecialChar LaTeX
7080 -packages ! caption
7081 \end_layout
7082
7083 \end_inset
7084
7085 , see section
7086 \begin_inset space ~
7087 \end_inset
7088
7089
7090 \begin_inset CommandInset ref
7091 LatexCommand ref
7092 reference "sec:Caption-Formatting"
7093
7094 \end_inset
7095
7096 .
7097 \end_layout
7098
7099 \begin_layout Subsubsection
7100 Caption Width
7101 \begin_inset Index idx
7102 status collapsed
7103
7104 \begin_layout Plain Layout
7105 Table ! Multi-page Table ! Caption Width
7106 \end_layout
7107
7108 \end_inset
7109
7110
7111 \end_layout
7112
7113 \begin_layout Standard
7114 The maximal width of caption lines is defined by the length 
7115 \series bold
7116
7117 \backslash
7118 LTcapwidth
7119 \series default
7120 .
7121  Its default value is 4
7122 \begin_inset space \thinspace{}
7123 \end_inset
7124
7125 in.
7126  To change it add the following command to your document preamble or as
7127  \SpecialChar TeX
7128  Code into your document before the multi-page table that should be affected
7129 \end_layout
7130
7131 \begin_layout Standard
7132
7133 \series bold
7134
7135 \backslash
7136 setlength{
7137 \backslash
7138 LTcapwidth}{width}
7139 \end_layout
7140
7141 \begin_layout Standard
7142 where the 
7143 \family sans
7144 width
7145 \family default
7146  can have one of the units listed in appendix
7147 \begin_inset space ~
7148 \end_inset
7149
7150
7151 \begin_inset CommandInset ref
7152 LatexCommand ref
7153 reference "cha:Units-available-in"
7154
7155 \end_inset
7156
7157 .
7158 \end_layout
7159
7160 \begin_layout Standard
7161 The following tables show the difference:
7162 \end_layout
7163
7164 \begin_layout Standard
7165 \begin_inset Tabular
7166 <lyxtabular version="3" rows="6" columns="5">
7167 <features islongtable="true" longtabularalignment="center">
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 <column alignment="center" valignment="top">
7173 <row endfirsthead="true" caption="true">
7174 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
7175 \begin_inset Text
7176
7177 \begin_layout Plain Layout
7178 \begin_inset Caption Standard
7179
7180 \begin_layout Plain Layout
7181 Long full title with default width long full title with default width long
7182  full title with default width
7183 \begin_inset Argument 1
7184 status collapsed
7185
7186 \begin_layout Plain Layout
7187 caption with default width
7188 \end_layout
7189
7190 \end_inset
7191
7192
7193 \end_layout
7194
7195 \end_inset
7196
7197
7198 \end_layout
7199
7200 \end_inset
7201 </cell>
7202 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7203 \begin_inset Text
7204
7205 \begin_layout Plain Layout
7206
7207 \end_layout
7208
7209 \end_inset
7210 </cell>
7211 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7212 \begin_inset Text
7213
7214 \begin_layout Plain Layout
7215
7216 \end_layout
7217
7218 \end_inset
7219 </cell>
7220 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7221 \begin_inset Text
7222
7223 \begin_layout Plain Layout
7224
7225 \end_layout
7226
7227 \end_inset
7228 </cell>
7229 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7230 \begin_inset Text
7231
7232 \begin_layout Plain Layout
7233
7234 \end_layout
7235
7236 \end_inset
7237 </cell>
7238 </row>
7239 <row>
7240 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7241 \begin_inset Text
7242
7243 \begin_layout Plain Layout
7244 1
7245 \end_layout
7246
7247 \end_inset
7248 </cell>
7249 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7250 \begin_inset Text
7251
7252 \begin_layout Plain Layout
7253 2
7254 \end_layout
7255
7256 \end_inset
7257 </cell>
7258 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7259 \begin_inset Text
7260
7261 \begin_layout Plain Layout
7262 3
7263 \end_layout
7264
7265 \end_inset
7266 </cell>
7267 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7268 \begin_inset Text
7269
7270 \begin_layout Plain Layout
7271 4
7272 \end_layout
7273
7274 \end_inset
7275 </cell>
7276 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7277 \begin_inset Text
7278
7279 \begin_layout Plain Layout
7280 5
7281 \end_layout
7282
7283 \end_inset
7284 </cell>
7285 </row>
7286 <row>
7287 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7288 \begin_inset Text
7289
7290 \begin_layout Plain Layout
7291 asd
7292 \end_layout
7293
7294 \end_inset
7295 </cell>
7296 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7297 \begin_inset Text
7298
7299 \begin_layout Plain Layout
7300 s
7301 \end_layout
7302
7303 \end_inset
7304 </cell>
7305 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7306 \begin_inset Text
7307
7308 \begin_layout Plain Layout
7309 s
7310 \end_layout
7311
7312 \end_inset
7313 </cell>
7314 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7315 \begin_inset Text
7316
7317 \begin_layout Plain Layout
7318 s
7319 \end_layout
7320
7321 \end_inset
7322 </cell>
7323 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7324 \begin_inset Text
7325
7326 \begin_layout Plain Layout
7327 asd
7328 \end_layout
7329
7330 \end_inset
7331 </cell>
7332 </row>
7333 <row>
7334 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7335 \begin_inset Text
7336
7337 \begin_layout Plain Layout
7338 asd
7339 \end_layout
7340
7341 \end_inset
7342 </cell>
7343 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7344 \begin_inset Text
7345
7346 \begin_layout Plain Layout
7347 s
7348 \end_layout
7349
7350 \end_inset
7351 </cell>
7352 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7353 \begin_inset Text
7354
7355 \begin_layout Plain Layout
7356 s
7357 \end_layout
7358
7359 \end_inset
7360 </cell>
7361 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7362 \begin_inset Text
7363
7364 \begin_layout Plain Layout
7365 s
7366 \end_layout
7367
7368 \end_inset
7369 </cell>
7370 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7371 \begin_inset Text
7372
7373 \begin_layout Plain Layout
7374 asd
7375 \end_layout
7376
7377 \end_inset
7378 </cell>
7379 </row>
7380 <row>
7381 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7382 \begin_inset Text
7383
7384 \begin_layout Plain Layout
7385 asd
7386 \end_layout
7387
7388 \end_inset
7389 </cell>
7390 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7391 \begin_inset Text
7392
7393 \begin_layout Plain Layout
7394 s
7395 \end_layout
7396
7397 \end_inset
7398 </cell>
7399 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7400 \begin_inset Text
7401
7402 \begin_layout Plain Layout
7403 s
7404 \end_layout
7405
7406 \end_inset
7407 </cell>
7408 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7409 \begin_inset Text
7410
7411 \begin_layout Plain Layout
7412 s
7413 \end_layout
7414
7415 \end_inset
7416 </cell>
7417 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7418 \begin_inset Text
7419
7420 \begin_layout Plain Layout
7421 asd
7422 \end_layout
7423
7424 \end_inset
7425 </cell>
7426 </row>
7427 <row>
7428 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7429 \begin_inset Text
7430
7431 \begin_layout Plain Layout
7432 asd
7433 \end_layout
7434
7435 \end_inset
7436 </cell>
7437 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7438 \begin_inset Text
7439
7440 \begin_layout Plain Layout
7441 sad
7442 \end_layout
7443
7444 \end_inset
7445 </cell>
7446 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7447 \begin_inset Text
7448
7449 \begin_layout Plain Layout
7450 asd
7451 \end_layout
7452
7453 \end_inset
7454 </cell>
7455 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7456 \begin_inset Text
7457
7458 \begin_layout Plain Layout
7459 asd
7460 \end_layout
7461
7462 \end_inset
7463 </cell>
7464 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7465 \begin_inset Text
7466
7467 \begin_layout Plain Layout
7468 asd
7469 \end_layout
7470
7471 \end_inset
7472 </cell>
7473 </row>
7474 </lyxtabular>
7475
7476 \end_inset
7477
7478
7479 \end_layout
7480
7481 \begin_layout Standard
7482 \begin_inset ERT
7483 status collapsed
7484
7485 \begin_layout Plain Layout
7486
7487
7488 \backslash
7489 setlength{
7490 \backslash
7491 LTcapwidth}{5cm}
7492 \end_layout
7493
7494 \end_inset
7495
7496
7497 \begin_inset Tabular
7498 <lyxtabular version="3" rows="6" columns="5">
7499 <features islongtable="true" longtabularalignment="center">
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 <column alignment="center" valignment="top">
7505 <row endfirsthead="true" caption="true">
7506 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
7507 \begin_inset Text
7508
7509 \begin_layout Plain Layout
7510 \begin_inset Caption Standard
7511
7512 \begin_layout Plain Layout
7513 Long full title with width set to 5
7514 \begin_inset space \thinspace{}
7515 \end_inset
7516
7517 cm long full title with width set to 5
7518 \begin_inset space \thinspace{}
7519 \end_inset
7520
7521 cm long full title with width set to 5
7522 \begin_inset space \thinspace{}
7523 \end_inset
7524
7525 cm
7526 \begin_inset Argument 1
7527 status collapsed
7528
7529 \begin_layout Plain Layout
7530 caption with width
7531 \begin_inset space \thinspace{}
7532 \end_inset
7533
7534 =
7535 \begin_inset space \thinspace{}
7536 \end_inset
7537
7538 5
7539 \begin_inset space \thinspace{}
7540 \end_inset
7541
7542 cm
7543 \end_layout
7544
7545 \end_inset
7546
7547
7548 \end_layout
7549
7550 \end_inset
7551
7552
7553 \end_layout
7554
7555 \end_inset
7556 </cell>
7557 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7558 \begin_inset Text
7559
7560 \begin_layout Plain Layout
7561
7562 \end_layout
7563
7564 \end_inset
7565 </cell>
7566 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7567 \begin_inset Text
7568
7569 \begin_layout Plain Layout
7570
7571 \end_layout
7572
7573 \end_inset
7574 </cell>
7575 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7576 \begin_inset Text
7577
7578 \begin_layout Plain Layout
7579
7580 \end_layout
7581
7582 \end_inset
7583 </cell>
7584 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7585 \begin_inset Text
7586
7587 \begin_layout Plain Layout
7588
7589 \end_layout
7590
7591 \end_inset
7592 </cell>
7593 </row>
7594 <row>
7595 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7596 \begin_inset Text
7597
7598 \begin_layout Plain Layout
7599 1
7600 \end_layout
7601
7602 \end_inset
7603 </cell>
7604 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7605 \begin_inset Text
7606
7607 \begin_layout Plain Layout
7608 2
7609 \end_layout
7610
7611 \end_inset
7612 </cell>
7613 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7614 \begin_inset Text
7615
7616 \begin_layout Plain Layout
7617 3
7618 \end_layout
7619
7620 \end_inset
7621 </cell>
7622 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7623 \begin_inset Text
7624
7625 \begin_layout Plain Layout
7626 4
7627 \end_layout
7628
7629 \end_inset
7630 </cell>
7631 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7632 \begin_inset Text
7633
7634 \begin_layout Plain Layout
7635 5
7636 \end_layout
7637
7638 \end_inset
7639 </cell>
7640 </row>
7641 <row>
7642 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7643 \begin_inset Text
7644
7645 \begin_layout Plain Layout
7646 asd
7647 \end_layout
7648
7649 \end_inset
7650 </cell>
7651 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7652 \begin_inset Text
7653
7654 \begin_layout Plain Layout
7655 s
7656 \end_layout
7657
7658 \end_inset
7659 </cell>
7660 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7661 \begin_inset Text
7662
7663 \begin_layout Plain Layout
7664 s
7665 \end_layout
7666
7667 \end_inset
7668 </cell>
7669 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7670 \begin_inset Text
7671
7672 \begin_layout Plain Layout
7673 s
7674 \end_layout
7675
7676 \end_inset
7677 </cell>
7678 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7679 \begin_inset Text
7680
7681 \begin_layout Plain Layout
7682 asd
7683 \end_layout
7684
7685 \end_inset
7686 </cell>
7687 </row>
7688 <row>
7689 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7690 \begin_inset Text
7691
7692 \begin_layout Plain Layout
7693 asd
7694 \end_layout
7695
7696 \end_inset
7697 </cell>
7698 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7699 \begin_inset Text
7700
7701 \begin_layout Plain Layout
7702 s
7703 \end_layout
7704
7705 \end_inset
7706 </cell>
7707 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7708 \begin_inset Text
7709
7710 \begin_layout Plain Layout
7711 s
7712 \end_layout
7713
7714 \end_inset
7715 </cell>
7716 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7717 \begin_inset Text
7718
7719 \begin_layout Plain Layout
7720 s
7721 \end_layout
7722
7723 \end_inset
7724 </cell>
7725 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7726 \begin_inset Text
7727
7728 \begin_layout Plain Layout
7729 asd
7730 \end_layout
7731
7732 \end_inset
7733 </cell>
7734 </row>
7735 <row>
7736 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7737 \begin_inset Text
7738
7739 \begin_layout Plain Layout
7740 asd
7741 \end_layout
7742
7743 \end_inset
7744 </cell>
7745 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7746 \begin_inset Text
7747
7748 \begin_layout Plain Layout
7749 s
7750 \end_layout
7751
7752 \end_inset
7753 </cell>
7754 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7755 \begin_inset Text
7756
7757 \begin_layout Plain Layout
7758 s
7759 \end_layout
7760
7761 \end_inset
7762 </cell>
7763 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7764 \begin_inset Text
7765
7766 \begin_layout Plain Layout
7767 s
7768 \end_layout
7769
7770 \end_inset
7771 </cell>
7772 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7773 \begin_inset Text
7774
7775 \begin_layout Plain Layout
7776 asd
7777 \end_layout
7778
7779 \end_inset
7780 </cell>
7781 </row>
7782 <row>
7783 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7784 \begin_inset Text
7785
7786 \begin_layout Plain Layout
7787 asd
7788 \end_layout
7789
7790 \end_inset
7791 </cell>
7792 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7793 \begin_inset Text
7794
7795 \begin_layout Plain Layout
7796 sad
7797 \end_layout
7798
7799 \end_inset
7800 </cell>
7801 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7802 \begin_inset Text
7803
7804 \begin_layout Plain Layout
7805 asd
7806 \end_layout
7807
7808 \end_inset
7809 </cell>
7810 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7811 \begin_inset Text
7812
7813 \begin_layout Plain Layout
7814 asd
7815 \end_layout
7816
7817 \end_inset
7818 </cell>
7819 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7820 \begin_inset Text
7821
7822 \begin_layout Plain Layout
7823 asd
7824 \end_layout
7825
7826 \end_inset
7827 </cell>
7828 </row>
7829 </lyxtabular>
7830
7831 \end_inset
7832
7833
7834 \end_layout
7835
7836 \begin_layout Standard
7837 \begin_inset ERT
7838 status collapsed
7839
7840 \begin_layout Plain Layout
7841
7842
7843 \backslash
7844 setlength{
7845 \backslash
7846 LTcapwidth}{4in}
7847 \end_layout
7848
7849 \end_inset
7850
7851
7852 \end_layout
7853
7854 \begin_layout Standard
7855 \begin_inset Note Greyedout
7856 status open
7857
7858 \begin_layout Plain Layout
7859
7860 \series bold
7861 Note:
7862 \series default
7863  When the \SpecialChar LaTeX
7864 -package 
7865 \series bold
7866 caption
7867 \series default
7868
7869 \begin_inset Index idx
7870 status collapsed
7871
7872 \begin_layout Plain Layout
7873 \SpecialChar LaTeX
7874 -packages ! caption
7875 \end_layout
7876
7877 \end_inset
7878
7879  is used, as in this document, the full page width is used for the caption
7880  when you use the default value of 4
7881 \begin_inset space \thinspace{}
7882 \end_inset
7883
7884 in for 
7885 \series bold
7886
7887 \backslash
7888 LTcapwidth
7889 \series default
7890 .
7891  To get in this case exactly a 4
7892 \begin_inset space \thinspace{}
7893 \end_inset
7894
7895 in wide caption, you can either use a value slightly different from 4.0
7896 \begin_inset space \thinspace{}
7897 \end_inset
7898
7899 in, e.
7900 \begin_inset space \thinspace{}
7901 \end_inset
7902
7903 g.
7904 \begin_inset space \space{}
7905 \end_inset
7906
7907 3.99
7908 \begin_inset space \thinspace{}
7909 \end_inset
7910
7911 in, or the \SpecialChar LaTeX
7912 -command 
7913 \series bold
7914
7915 \backslash
7916 captionsetup{width=value}
7917 \series default
7918  that is provided by the 
7919 \series bold
7920 caption
7921 \series default
7922 -package.
7923 \end_layout
7924
7925 \end_inset
7926
7927
7928 \end_layout
7929
7930 \begin_layout Subsubsection
7931 Different Captions for Table Pages
7932 \begin_inset Index idx
7933 status collapsed
7934
7935 \begin_layout Plain Layout
7936 Table ! Multi-page Table ! Different Captions for Pages
7937 \end_layout
7938
7939 \end_inset
7940
7941
7942 \end_layout
7943
7944 \begin_layout Standard
7945 When the table captions for the following pages should differ from the one
7946  of the first table page, mark a empty row as header which contains a caption.
7947  Then right-click on the caption and select in the context menu 
7948 \family sans
7949 Caption
7950 \begin_inset space ~
7951 \end_inset
7952
7953 (Unnumbered)
7954 \family default
7955 .
7956  Table
7957 \begin_inset space ~
7958 \end_inset
7959
7960
7961 \begin_inset CommandInset ref
7962 LatexCommand ref
7963 reference "tab:DiffCaptions"
7964
7965 \end_inset
7966
7967  is an example of a multi-page table with different heading where the second
7968  caption does not include the table number.
7969 \end_layout
7970
7971 \begin_layout Standard
7972 \align center
7973 \begin_inset Tabular
7974 <lyxtabular version="3" rows="59" columns="3">
7975 <features islongtable="true" longtabularalignment="center">
7976 <column alignment="left" valignment="top" width="0cm">
7977 <column alignment="left" valignment="top" width="0pt">
7978 <column alignment="center" valignment="top" width="0pt">
7979 <row endfirsthead="true" caption="true">
7980 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
7981 \begin_inset Text
7982
7983 \begin_layout Plain Layout
7984 \begin_inset Caption Standard
7985
7986 \begin_layout Plain Layout
7987 Example Phone List
7988 \begin_inset CommandInset label
7989 LatexCommand label
7990 name "tab:DiffCaptions"
7991
7992 \end_inset
7993
7994
7995 \begin_inset Argument 1
7996 status collapsed
7997
7998 \begin_layout Plain Layout
7999 Example Phone List
8000 \end_layout
8001
8002 \end_inset
8003
8004
8005 \end_layout
8006
8007 \end_inset
8008
8009
8010 \end_layout
8011
8012 \end_inset
8013 </cell>
8014 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8015 \begin_inset Text
8016
8017 \begin_layout Plain Layout
8018
8019 \end_layout
8020
8021 \end_inset
8022 </cell>
8023 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8024 \begin_inset Text
8025
8026 \begin_layout Plain Layout
8027
8028 \end_layout
8029
8030 \end_inset
8031 </cell>
8032 </row>
8033 <row endfirsthead="true">
8034 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8035 \begin_inset Text
8036
8037 \begin_layout Plain Layout
8038
8039 \series bold
8040 Example Phone List (ignore the names)
8041 \end_layout
8042
8043 \end_inset
8044 </cell>
8045 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
8046 \begin_inset Text
8047
8048 \begin_layout Plain Layout
8049
8050 \end_layout
8051
8052 \end_inset
8053 </cell>
8054 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
8055 \begin_inset Text
8056
8057 \begin_layout Plain Layout
8058
8059 \end_layout
8060
8061 \end_inset
8062 </cell>
8063 </row>
8064 <row endfirsthead="true">
8065 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8066 \begin_inset Text
8067
8068 \begin_layout Plain Layout
8069
8070 \series bold
8071 NAME
8072 \end_layout
8073
8074 \end_inset
8075 </cell>
8076 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8077 \begin_inset Text
8078
8079 \begin_layout Plain Layout
8080
8081 \end_layout
8082
8083 \end_inset
8084 </cell>
8085 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8086 \begin_inset Text
8087
8088 \begin_layout Plain Layout
8089
8090 \series bold
8091 TEL.
8092 \end_layout
8093
8094 \end_inset
8095 </cell>
8096 </row>
8097 <row endhead="true" caption="true">
8098 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
8099 \begin_inset Text
8100
8101 \begin_layout Plain Layout
8102 \begin_inset Caption Unnumbered
8103
8104 \begin_layout Plain Layout
8105 Continued Example Phone List
8106 \end_layout
8107
8108 \end_inset
8109
8110
8111 \end_layout
8112
8113 \end_inset
8114 </cell>
8115 <cell multicolumn="2" alignment="left" valignment="top" leftline="true" usebox="none">
8116 \begin_inset Text
8117
8118 \begin_layout Plain Layout
8119
8120 \end_layout
8121
8122 \end_inset
8123 </cell>
8124 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8125 \begin_inset Text
8126
8127 \begin_layout Plain Layout
8128
8129 \end_layout
8130
8131 \end_inset
8132 </cell>
8133 </row>
8134 <row endhead="true">
8135 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8136 \begin_inset Text
8137
8138 \begin_layout Plain Layout
8139
8140 \series bold
8141 Example Phone List
8142 \end_layout
8143
8144 \end_inset
8145 </cell>
8146 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8147 \begin_inset Text
8148
8149 \begin_layout Plain Layout
8150
8151 \end_layout
8152
8153 \end_inset
8154 </cell>
8155 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8156 \begin_inset Text
8157
8158 \begin_layout Plain Layout
8159
8160 \end_layout
8161
8162 \end_inset
8163 </cell>
8164 </row>
8165 <row endhead="true">
8166 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8167 \begin_inset Text
8168
8169 \begin_layout Plain Layout
8170
8171 \series bold
8172 NAME
8173 \end_layout
8174
8175 \end_inset
8176 </cell>
8177 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8178 \begin_inset Text
8179
8180 \begin_layout Plain Layout
8181
8182 \end_layout
8183
8184 \end_inset
8185 </cell>
8186 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8187 \begin_inset Text
8188
8189 \begin_layout Plain Layout
8190
8191 \series bold
8192 TEL.
8193 \end_layout
8194
8195 \end_inset
8196 </cell>
8197 </row>
8198 <row endfoot="true">
8199 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
8200 \begin_inset Text
8201
8202 \begin_layout Plain Layout
8203 continued on next page
8204 \end_layout
8205
8206 \end_inset
8207 </cell>
8208 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8209 \begin_inset Text
8210
8211 \begin_layout Plain Layout
8212
8213 \end_layout
8214
8215 \end_inset
8216 </cell>
8217 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8218 \begin_inset Text
8219
8220 \begin_layout Plain Layout
8221
8222 \end_layout
8223
8224 \end_inset
8225 </cell>
8226 </row>
8227 <row>
8228 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8229 \begin_inset Text
8230
8231 \begin_layout Plain Layout
8232
8233 \series bold
8234 Annovi
8235 \end_layout
8236
8237 \end_inset
8238 </cell>
8239 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8240 \begin_inset Text
8241
8242 \begin_layout Plain Layout
8243 Silvia
8244 \end_layout
8245
8246 \end_inset
8247 </cell>
8248 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8249 \begin_inset Text
8250
8251 \begin_layout Plain Layout
8252 111
8253 \end_layout
8254
8255 \end_inset
8256 </cell>
8257 </row>
8258 <row>
8259 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8260 \begin_inset Text
8261
8262 \begin_layout Plain Layout
8263
8264 \series bold
8265 Bertoli
8266 \end_layout
8267
8268 \end_inset
8269 </cell>
8270 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8271 \begin_inset Text
8272
8273 \begin_layout Plain Layout
8274 Stefano
8275 \end_layout
8276
8277 \end_inset
8278 </cell>
8279 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8280 \begin_inset Text
8281
8282 \begin_layout Plain Layout
8283 111
8284 \end_layout
8285
8286 \end_inset
8287 </cell>
8288 </row>
8289 <row>
8290 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8291 \begin_inset Text
8292
8293 \begin_layout Plain Layout
8294
8295 \series bold
8296 Bozzi
8297 \end_layout
8298
8299 \end_inset
8300 </cell>
8301 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8302 \begin_inset Text
8303
8304 \begin_layout Plain Layout
8305 Walter
8306 \end_layout
8307
8308 \end_inset
8309 </cell>
8310 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8311 \begin_inset Text
8312
8313 \begin_layout Plain Layout
8314 111
8315 \end_layout
8316
8317 \end_inset
8318 </cell>
8319 </row>
8320 <row>
8321 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8322 \begin_inset Text
8323
8324 \begin_layout Plain Layout
8325
8326 \series bold
8327 Cachia
8328 \end_layout
8329
8330 \end_inset
8331 </cell>
8332 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8333 \begin_inset Text
8334
8335 \begin_layout Plain Layout
8336 Maria
8337 \end_layout
8338
8339 \end_inset
8340 </cell>
8341 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8342 \begin_inset Text
8343
8344 \begin_layout Plain Layout
8345 111
8346 \end_layout
8347
8348 \end_inset
8349 </cell>
8350 </row>
8351 <row>
8352 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8353 \begin_inset Text
8354
8355 \begin_layout Plain Layout
8356
8357 \series bold
8358 Cachia
8359 \end_layout
8360
8361 \end_inset
8362 </cell>
8363 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8364 \begin_inset Text
8365
8366 \begin_layout Plain Layout
8367 Maurizio
8368 \end_layout
8369
8370 \end_inset
8371 </cell>
8372 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8373 \begin_inset Text
8374
8375 \begin_layout Plain Layout
8376 111
8377 \end_layout
8378
8379 \end_inset
8380 </cell>
8381 </row>
8382 <row>
8383 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8384 \begin_inset Text
8385
8386 \begin_layout Plain Layout
8387
8388 \series bold
8389 Cinquemani
8390 \end_layout
8391
8392 \end_inset
8393 </cell>
8394 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8395 \begin_inset Text
8396
8397 \begin_layout Plain Layout
8398 Giusi
8399 \end_layout
8400
8401 \end_inset
8402 </cell>
8403 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8404 \begin_inset Text
8405
8406 \begin_layout Plain Layout
8407 111
8408 \end_layout
8409
8410 \end_inset
8411 </cell>
8412 </row>
8413 <row>
8414 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8415 \begin_inset Text
8416
8417 \begin_layout Plain Layout
8418
8419 \series bold
8420 Colin
8421 \end_layout
8422
8423 \end_inset
8424 </cell>
8425 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8426 \begin_inset Text
8427
8428 \begin_layout Plain Layout
8429 Bernard
8430 \end_layout
8431
8432 \end_inset
8433 </cell>
8434 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8435 \begin_inset Text
8436
8437 \begin_layout Plain Layout
8438 111
8439 \end_layout
8440
8441 \end_inset
8442 </cell>
8443 </row>
8444 <row>
8445 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8446 \begin_inset Text
8447
8448 \begin_layout Plain Layout
8449
8450 \series bold
8451 Concli
8452 \end_layout
8453
8454 \end_inset
8455 </cell>
8456 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8457 \begin_inset Text
8458
8459 \begin_layout Plain Layout
8460 Gianfranco
8461 \end_layout
8462
8463 \end_inset
8464 </cell>
8465 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8466 \begin_inset Text
8467
8468 \begin_layout Plain Layout
8469 111
8470 \end_layout
8471
8472 \end_inset
8473 </cell>
8474 </row>
8475 <row>
8476 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8477 \begin_inset Text
8478
8479 \begin_layout Plain Layout
8480
8481 \series bold
8482 Dal Bosco
8483 \end_layout
8484
8485 \end_inset
8486 </cell>
8487 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8488 \begin_inset Text
8489
8490 \begin_layout Plain Layout
8491 Carolina
8492 \end_layout
8493
8494 \end_inset
8495 </cell>
8496 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8497 \begin_inset Text
8498
8499 \begin_layout Plain Layout
8500 111
8501 \end_layout
8502
8503 \end_inset
8504 </cell>
8505 </row>
8506 <row>
8507 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8508 \begin_inset Text
8509
8510 \begin_layout Plain Layout
8511
8512 \series bold
8513 Dalpiaz
8514 \end_layout
8515
8516 \end_inset
8517 </cell>
8518 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8519 \begin_inset Text
8520
8521 \begin_layout Plain Layout
8522 Annamaria
8523 \end_layout
8524
8525 \end_inset
8526 </cell>
8527 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8528 \begin_inset Text
8529
8530 \begin_layout Plain Layout
8531 111
8532 \end_layout
8533
8534 \end_inset
8535 </cell>
8536 </row>
8537 <row>
8538 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8539 \begin_inset Text
8540
8541 \begin_layout Plain Layout
8542
8543 \series bold
8544 Feliciello
8545 \end_layout
8546
8547 \end_inset
8548 </cell>
8549 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8550 \begin_inset Text
8551
8552 \begin_layout Plain Layout
8553 Domenico
8554 \end_layout
8555
8556 \end_inset
8557 </cell>
8558 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8559 \begin_inset Text
8560
8561 \begin_layout Plain Layout
8562 111
8563 \end_layout
8564
8565 \end_inset
8566 </cell>
8567 </row>
8568 <row>
8569 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8570 \begin_inset Text
8571
8572 \begin_layout Plain Layout
8573
8574 \series bold
8575 Focarelli
8576 \end_layout
8577
8578 \end_inset
8579 </cell>
8580 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8581 \begin_inset Text
8582
8583 \begin_layout Plain Layout
8584 Paola
8585 \end_layout
8586
8587 \end_inset
8588 </cell>
8589 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8590 \begin_inset Text
8591
8592 \begin_layout Plain Layout
8593 111
8594 \end_layout
8595
8596 \end_inset
8597 </cell>
8598 </row>
8599 <row>
8600 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8601 \begin_inset Text
8602
8603 \begin_layout Plain Layout
8604
8605 \series bold
8606 Galletti
8607 \end_layout
8608
8609 \end_inset
8610 </cell>
8611 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8612 \begin_inset Text
8613
8614 \begin_layout Plain Layout
8615 Oreste
8616 \end_layout
8617
8618 \end_inset
8619 </cell>
8620 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8621 \begin_inset Text
8622
8623 \begin_layout Plain Layout
8624 111
8625 \end_layout
8626
8627 \end_inset
8628 </cell>
8629 </row>
8630 <row>
8631 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8632 \begin_inset Text
8633
8634 \begin_layout Plain Layout
8635
8636 \series bold
8637 Gasparini
8638 \end_layout
8639
8640 \end_inset
8641 </cell>
8642 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8643 \begin_inset Text
8644
8645 \begin_layout Plain Layout
8646 Franca
8647 \end_layout
8648
8649 \end_inset
8650 </cell>
8651 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8652 \begin_inset Text
8653
8654 \begin_layout Plain Layout
8655 111
8656 \end_layout
8657
8658 \end_inset
8659 </cell>
8660 </row>
8661 <row>
8662 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8663 \begin_inset Text
8664
8665 \begin_layout Plain Layout
8666
8667 \series bold
8668 Rizzardi
8669 \series default
8670
8671 \begin_inset Foot
8672 status open
8673
8674 \begin_layout Plain Layout
8675 Example footnote
8676 \end_layout
8677
8678 \end_inset
8679
8680
8681 \end_layout
8682
8683 \end_inset
8684 </cell>
8685 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8686 \begin_inset Text
8687
8688 \begin_layout Plain Layout
8689 Paola
8690 \end_layout
8691
8692 \end_inset
8693 </cell>
8694 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8695 \begin_inset Text
8696
8697 \begin_layout Plain Layout
8698 111
8699 \end_layout
8700
8701 \end_inset
8702 </cell>
8703 </row>
8704 <row>
8705 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8706 \begin_inset Text
8707
8708 \begin_layout Plain Layout
8709
8710 \series bold
8711 Lassini
8712 \end_layout
8713
8714 \end_inset
8715 </cell>
8716 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8717 \begin_inset Text
8718
8719 \begin_layout Plain Layout
8720 Giancarlo
8721 \end_layout
8722
8723 \end_inset
8724 </cell>
8725 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8726 \begin_inset Text
8727
8728 \begin_layout Plain Layout
8729 111
8730 \end_layout
8731
8732 \end_inset
8733 </cell>
8734 </row>
8735 <row>
8736 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8737 \begin_inset Text
8738
8739 \begin_layout Plain Layout
8740
8741 \series bold
8742 Malfatti
8743 \end_layout
8744
8745 \end_inset
8746 </cell>
8747 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8748 \begin_inset Text
8749
8750 \begin_layout Plain Layout
8751 Luciano
8752 \end_layout
8753
8754 \end_inset
8755 </cell>
8756 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8757 \begin_inset Text
8758
8759 \begin_layout Plain Layout
8760 111
8761 \end_layout
8762
8763 \end_inset
8764 </cell>
8765 </row>
8766 <row>
8767 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8768 \begin_inset Text
8769
8770 \begin_layout Plain Layout
8771
8772 \series bold
8773 Malfatti
8774 \end_layout
8775
8776 \end_inset
8777 </cell>
8778 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8779 \begin_inset Text
8780
8781 \begin_layout Plain Layout
8782 Valeriano
8783 \end_layout
8784
8785 \end_inset
8786 </cell>
8787 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8788 \begin_inset Text
8789
8790 \begin_layout Plain Layout
8791 111
8792 \end_layout
8793
8794 \end_inset
8795 </cell>
8796 </row>
8797 <row>
8798 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8799 \begin_inset Text
8800
8801 \begin_layout Plain Layout
8802
8803 \series bold
8804 Meneguzzo
8805 \end_layout
8806
8807 \end_inset
8808 </cell>
8809 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8810 \begin_inset Text
8811
8812 \begin_layout Plain Layout
8813 Roberto
8814 \end_layout
8815
8816 \end_inset
8817 </cell>
8818 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8819 \begin_inset Text
8820
8821 \begin_layout Plain Layout
8822 111
8823 \end_layout
8824
8825 \end_inset
8826 </cell>
8827 </row>
8828 <row>
8829 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8830 \begin_inset Text
8831
8832 \begin_layout Plain Layout
8833
8834 \series bold
8835 Mezzadra
8836 \end_layout
8837
8838 \end_inset
8839 </cell>
8840 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8841 \begin_inset Text
8842
8843 \begin_layout Plain Layout
8844 Roberto
8845 \end_layout
8846
8847 \end_inset
8848 </cell>
8849 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8850 \begin_inset Text
8851
8852 \begin_layout Plain Layout
8853 111
8854 \end_layout
8855
8856 \end_inset
8857 </cell>
8858 </row>
8859 <row>
8860 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8861 \begin_inset Text
8862
8863 \begin_layout Plain Layout
8864
8865 \series bold
8866 Pirpamer
8867 \end_layout
8868
8869 \end_inset
8870 </cell>
8871 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8872 \begin_inset Text
8873
8874 \begin_layout Plain Layout
8875 Erich
8876 \end_layout
8877
8878 \end_inset
8879 </cell>
8880 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8881 \begin_inset Text
8882
8883 \begin_layout Plain Layout
8884 111
8885 \end_layout
8886
8887 \end_inset
8888 </cell>
8889 </row>
8890 <row>
8891 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8892 \begin_inset Text
8893
8894 \begin_layout Plain Layout
8895
8896 \series bold
8897 Pochiesa
8898 \end_layout
8899
8900 \end_inset
8901 </cell>
8902 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8903 \begin_inset Text
8904
8905 \begin_layout Plain Layout
8906 Paolo
8907 \end_layout
8908
8909 \end_inset
8910 </cell>
8911 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8912 \begin_inset Text
8913
8914 \begin_layout Plain Layout
8915 111, 222
8916 \end_layout
8917
8918 \end_inset
8919 </cell>
8920 </row>
8921 <row>
8922 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8923 \begin_inset Text
8924
8925 \begin_layout Plain Layout
8926
8927 \series bold
8928 Radina
8929 \end_layout
8930
8931 \end_inset
8932 </cell>
8933 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8934 \begin_inset Text
8935
8936 \begin_layout Plain Layout
8937 Claudio
8938 \end_layout
8939
8940 \end_inset
8941 </cell>
8942 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8943 \begin_inset Text
8944
8945 \begin_layout Plain Layout
8946 111
8947 \end_layout
8948
8949 \end_inset
8950 </cell>
8951 </row>
8952 <row>
8953 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8954 \begin_inset Text
8955
8956 \begin_layout Plain Layout
8957
8958 \series bold
8959 Stuffer
8960 \end_layout
8961
8962 \end_inset
8963 </cell>
8964 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8965 \begin_inset Text
8966
8967 \begin_layout Plain Layout
8968 Oskar
8969 \end_layout
8970
8971 \end_inset
8972 </cell>
8973 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8974 \begin_inset Text
8975
8976 \begin_layout Plain Layout
8977 111
8978 \end_layout
8979
8980 \end_inset
8981 </cell>
8982 </row>
8983 <row>
8984 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8985 \begin_inset Text
8986
8987 \begin_layout Plain Layout
8988
8989 \series bold
8990 Tacchelli
8991 \end_layout
8992
8993 \end_inset
8994 </cell>
8995 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8996 \begin_inset Text
8997
8998 \begin_layout Plain Layout
8999 Ugo
9000 \end_layout
9001
9002 \end_inset
9003 </cell>
9004 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9005 \begin_inset Text
9006
9007 \begin_layout Plain Layout
9008 111
9009 \end_layout
9010
9011 \end_inset
9012 </cell>
9013 </row>
9014 <row>
9015 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9016 \begin_inset Text
9017
9018 \begin_layout Plain Layout
9019
9020 \series bold
9021 Tezzele
9022 \end_layout
9023
9024 \end_inset
9025 </cell>
9026 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9027 \begin_inset Text
9028
9029 \begin_layout Plain Layout
9030 Margit
9031 \end_layout
9032
9033 \end_inset
9034 </cell>
9035 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9036 \begin_inset Text
9037
9038 \begin_layout Plain Layout
9039 111
9040 \end_layout
9041
9042 \end_inset
9043 </cell>
9044 </row>
9045 <row>
9046 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9047 \begin_inset Text
9048
9049 \begin_layout Plain Layout
9050
9051 \series bold
9052 Unterkalmsteiner
9053 \end_layout
9054
9055 \end_inset
9056 </cell>
9057 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9058 \begin_inset Text
9059
9060 \begin_layout Plain Layout
9061 Frieda
9062 \end_layout
9063
9064 \end_inset
9065 </cell>
9066 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9067 \begin_inset Text
9068
9069 \begin_layout Plain Layout
9070 111
9071 \end_layout
9072
9073 \end_inset
9074 </cell>
9075 </row>
9076 <row>
9077 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9078 \begin_inset Text
9079
9080 \begin_layout Plain Layout
9081
9082 \series bold
9083 Vieider
9084 \end_layout
9085
9086 \end_inset
9087 </cell>
9088 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9089 \begin_inset Text
9090
9091 \begin_layout Plain Layout
9092 Hilde
9093 \end_layout
9094
9095 \end_inset
9096 </cell>
9097 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9098 \begin_inset Text
9099
9100 \begin_layout Plain Layout
9101 111
9102 \end_layout
9103
9104 \end_inset
9105 </cell>
9106 </row>
9107 <row>
9108 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9109 \begin_inset Text
9110
9111 \begin_layout Plain Layout
9112
9113 \series bold
9114 Vigna
9115 \end_layout
9116
9117 \end_inset
9118 </cell>
9119 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9120 \begin_inset Text
9121
9122 \begin_layout Plain Layout
9123 Jürgen
9124 \end_layout
9125
9126 \end_inset
9127 </cell>
9128 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9129 \begin_inset Text
9130
9131 \begin_layout Plain Layout
9132 111
9133 \end_layout
9134
9135 \end_inset
9136 </cell>
9137 </row>
9138 <row>
9139 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9140 \begin_inset Text
9141
9142 \begin_layout Plain Layout
9143
9144 \series bold
9145 Weber
9146 \end_layout
9147
9148 \end_inset
9149 </cell>
9150 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9151 \begin_inset Text
9152
9153 \begin_layout Plain Layout
9154 Maurizio
9155 \end_layout
9156
9157 \end_inset
9158 </cell>
9159 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9160 \begin_inset Text
9161
9162 \begin_layout Plain Layout
9163 111
9164 \end_layout
9165
9166 \end_inset
9167 </cell>
9168 </row>
9169 <row>
9170 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9171 \begin_inset Text
9172
9173 \begin_layout Plain Layout
9174
9175 \series bold
9176 Winkler
9177 \end_layout
9178
9179 \end_inset
9180 </cell>
9181 <cell alignment="left" valignment="top" bottomline="true" rightline="true" usebox="none">
9182 \begin_inset Text
9183
9184 \begin_layout Plain Layout
9185 Franz
9186 \end_layout
9187
9188 \end_inset
9189 </cell>
9190 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
9191 \begin_inset Text
9192
9193 \begin_layout Plain Layout
9194 111
9195 \end_layout
9196
9197 \end_inset
9198 </cell>
9199 </row>
9200 <row>
9201 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9202 \begin_inset Text
9203
9204 \begin_layout Plain Layout
9205  
9206 \end_layout
9207
9208 \end_inset
9209 </cell>
9210 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
9211 \begin_inset Text
9212
9213 \begin_layout Plain Layout
9214
9215 \end_layout
9216
9217 \end_inset
9218 </cell>
9219 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9220 \begin_inset Text
9221
9222 \begin_layout Plain Layout
9223
9224 \end_layout
9225
9226 \end_inset
9227 </cell>
9228 </row>
9229 <row>
9230 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9231 \begin_inset Text
9232
9233 \begin_layout Plain Layout
9234
9235 \series bold
9236 Annovi
9237 \end_layout
9238
9239 \end_inset
9240 </cell>
9241 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9242 \begin_inset Text
9243
9244 \begin_layout Plain Layout
9245 Silvia
9246 \end_layout
9247
9248 \end_inset
9249 </cell>
9250 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9251 \begin_inset Text
9252
9253 \begin_layout Plain Layout
9254 555
9255 \end_layout
9256
9257 \end_inset
9258 </cell>
9259 </row>
9260 <row>
9261 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9262 \begin_inset Text
9263
9264 \begin_layout Plain Layout
9265
9266 \series bold
9267 Bertoli
9268 \end_layout
9269
9270 \end_inset
9271 </cell>
9272 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9273 \begin_inset Text
9274
9275 \begin_layout Plain Layout
9276 Stefano
9277 \end_layout
9278
9279 \end_inset
9280 </cell>
9281 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9282 \begin_inset Text
9283
9284 \begin_layout Plain Layout
9285 555
9286 \end_layout
9287
9288 \end_inset
9289 </cell>
9290 </row>
9291 <row>
9292 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9293 \begin_inset Text
9294
9295 \begin_layout Plain Layout
9296
9297 \series bold
9298 Bozzi
9299 \end_layout
9300
9301 \end_inset
9302 </cell>
9303 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9304 \begin_inset Text
9305
9306 \begin_layout Plain Layout
9307 Walter
9308 \end_layout
9309
9310 \end_inset
9311 </cell>
9312 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9313 \begin_inset Text
9314
9315 \begin_layout Plain Layout
9316 555
9317 \end_layout
9318
9319 \end_inset
9320 </cell>
9321 </row>
9322 <row>
9323 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9324 \begin_inset Text
9325
9326 \begin_layout Plain Layout
9327
9328 \series bold
9329 Cachia
9330 \end_layout
9331
9332 \end_inset
9333 </cell>
9334 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9335 \begin_inset Text
9336
9337 \begin_layout Plain Layout
9338 Maria
9339 \end_layout
9340
9341 \end_inset
9342 </cell>
9343 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9344 \begin_inset Text
9345
9346 \begin_layout Plain Layout
9347 555
9348 \end_layout
9349
9350 \end_inset
9351 </cell>
9352 </row>
9353 <row>
9354 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9355 \begin_inset Text
9356
9357 \begin_layout Plain Layout
9358
9359 \series bold
9360 Cachia
9361 \end_layout
9362
9363 \end_inset
9364 </cell>
9365 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9366 \begin_inset Text
9367
9368 \begin_layout Plain Layout
9369 Maurizio
9370 \end_layout
9371
9372 \end_inset
9373 </cell>
9374 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9375 \begin_inset Text
9376
9377 \begin_layout Plain Layout
9378 555
9379 \end_layout
9380
9381 \end_inset
9382 </cell>
9383 </row>
9384 <row>
9385 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9386 \begin_inset Text
9387
9388 \begin_layout Plain Layout
9389
9390 \series bold
9391 Cinquemani
9392 \end_layout
9393
9394 \end_inset
9395 </cell>
9396 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9397 \begin_inset Text
9398
9399 \begin_layout Plain Layout
9400 Giusi
9401 \end_layout
9402
9403 \end_inset
9404 </cell>
9405 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9406 \begin_inset Text
9407
9408 \begin_layout Plain Layout
9409 555
9410 \end_layout
9411
9412 \end_inset
9413 </cell>
9414 </row>
9415 <row>
9416 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9417 \begin_inset Text
9418
9419 \begin_layout Plain Layout
9420
9421 \series bold
9422 Colin
9423 \end_layout
9424
9425 \end_inset
9426 </cell>
9427 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9428 \begin_inset Text
9429
9430 \begin_layout Plain Layout
9431 Bernard
9432 \end_layout
9433
9434 \end_inset
9435 </cell>
9436 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9437 \begin_inset Text
9438
9439 \begin_layout Plain Layout
9440 555
9441 \end_layout
9442
9443 \end_inset
9444 </cell>
9445 </row>
9446 <row>
9447 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9448 \begin_inset Text
9449
9450 \begin_layout Plain Layout
9451
9452 \series bold
9453 Concli
9454 \end_layout
9455
9456 \end_inset
9457 </cell>
9458 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9459 \begin_inset Text
9460
9461 \begin_layout Plain Layout
9462 Gianfranco
9463 \end_layout
9464
9465 \end_inset
9466 </cell>
9467 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9468 \begin_inset Text
9469
9470 \begin_layout Plain Layout
9471 555
9472 \end_layout
9473
9474 \end_inset
9475 </cell>
9476 </row>
9477 <row>
9478 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9479 \begin_inset Text
9480
9481 \begin_layout Plain Layout
9482
9483 \series bold
9484 Dal Bosco
9485 \end_layout
9486
9487 \end_inset
9488 </cell>
9489 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9490 \begin_inset Text
9491
9492 \begin_layout Plain Layout
9493 Carolina
9494 \end_layout
9495
9496 \end_inset
9497 </cell>
9498 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9499 \begin_inset Text
9500
9501 \begin_layout Plain Layout
9502 555
9503 \end_layout
9504
9505 \end_inset
9506 </cell>
9507 </row>
9508 <row>
9509 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9510 \begin_inset Text
9511
9512 \begin_layout Plain Layout
9513
9514 \series bold
9515 Dalpiaz
9516 \end_layout
9517
9518 \end_inset
9519 </cell>
9520 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9521 \begin_inset Text
9522
9523 \begin_layout Plain Layout
9524 Annamaria
9525 \end_layout
9526
9527 \end_inset
9528 </cell>
9529 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9530 \begin_inset Text
9531
9532 \begin_layout Plain Layout
9533 555
9534 \end_layout
9535
9536 \end_inset
9537 </cell>
9538 </row>
9539 <row>
9540 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9541 \begin_inset Text
9542
9543 \begin_layout Plain Layout
9544
9545 \series bold
9546 Feliciello
9547 \end_layout
9548
9549 \end_inset
9550 </cell>
9551 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9552 \begin_inset Text
9553
9554 \begin_layout Plain Layout
9555 Domenico
9556 \end_layout
9557
9558 \end_inset
9559 </cell>
9560 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9561 \begin_inset Text
9562
9563 \begin_layout Plain Layout
9564 555
9565 \end_layout
9566
9567 \end_inset
9568 </cell>
9569 </row>
9570 <row>
9571 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9572 \begin_inset Text
9573
9574 \begin_layout Plain Layout
9575
9576 \series bold
9577 Focarelli
9578 \end_layout
9579
9580 \end_inset
9581 </cell>
9582 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9583 \begin_inset Text
9584
9585 \begin_layout Plain Layout
9586 Paola
9587 \end_layout
9588
9589 \end_inset
9590 </cell>
9591 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9592 \begin_inset Text
9593
9594 \begin_layout Plain Layout
9595 555
9596 \end_layout
9597
9598 \end_inset
9599 </cell>
9600 </row>
9601 <row>
9602 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9603 \begin_inset Text
9604
9605 \begin_layout Plain Layout
9606
9607 \series bold
9608 Galletti
9609 \end_layout
9610
9611 \end_inset
9612 </cell>
9613 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9614 \begin_inset Text
9615
9616 \begin_layout Plain Layout
9617 Oreste
9618 \end_layout
9619
9620 \end_inset
9621 </cell>
9622 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9623 \begin_inset Text
9624
9625 \begin_layout Plain Layout
9626 555
9627 \end_layout
9628
9629 \end_inset
9630 </cell>
9631 </row>
9632 <row>
9633 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9634 \begin_inset Text
9635
9636 \begin_layout Plain Layout
9637
9638 \series bold
9639 Gasparini
9640 \end_layout
9641
9642 \end_inset
9643 </cell>
9644 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9645 \begin_inset Text
9646
9647 \begin_layout Plain Layout
9648 Franca
9649 \end_layout
9650
9651 \end_inset
9652 </cell>
9653 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9654 \begin_inset Text
9655
9656 \begin_layout Plain Layout
9657 555
9658 \end_layout
9659
9660 \end_inset
9661 </cell>
9662 </row>
9663 <row>
9664 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9665 \begin_inset Text
9666
9667 \begin_layout Plain Layout
9668
9669 \series bold
9670 Rizzardi
9671 \end_layout
9672
9673 \end_inset
9674 </cell>
9675 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9676 \begin_inset Text
9677
9678 \begin_layout Plain Layout
9679 Paola
9680 \end_layout
9681
9682 \end_inset
9683 </cell>
9684 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9685 \begin_inset Text
9686
9687 \begin_layout Plain Layout
9688 555
9689 \end_layout
9690
9691 \end_inset
9692 </cell>
9693 </row>
9694 <row>
9695 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9696 \begin_inset Text
9697
9698 \begin_layout Plain Layout
9699
9700 \series bold
9701 Lassini
9702 \end_layout
9703
9704 \end_inset
9705 </cell>
9706 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9707 \begin_inset Text
9708
9709 \begin_layout Plain Layout
9710 Giancarlo
9711 \end_layout
9712
9713 \end_inset
9714 </cell>
9715 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9716 \begin_inset Text
9717
9718 \begin_layout Plain Layout
9719 555
9720 \end_layout
9721
9722 \end_inset
9723 </cell>
9724 </row>
9725 <row>
9726 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9727 \begin_inset Text
9728
9729 \begin_layout Plain Layout
9730
9731 \series bold
9732 Malfatti
9733 \end_layout
9734
9735 \end_inset
9736 </cell>
9737 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9738 \begin_inset Text
9739
9740 \begin_layout Plain Layout
9741 Luciano
9742 \end_layout
9743
9744 \end_inset
9745 </cell>
9746 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9747 \begin_inset Text
9748
9749 \begin_layout Plain Layout
9750 555
9751 \end_layout
9752
9753 \end_inset
9754 </cell>
9755 </row>
9756 <row>
9757 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9758 \begin_inset Text
9759
9760 \begin_layout Plain Layout
9761
9762 \series bold
9763 Malfatti
9764 \end_layout
9765
9766 \end_inset
9767 </cell>
9768 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9769 \begin_inset Text
9770
9771 \begin_layout Plain Layout
9772 Valeriano
9773 \end_layout
9774
9775 \end_inset
9776 </cell>
9777 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9778 \begin_inset Text
9779
9780 \begin_layout Plain Layout
9781 555
9782 \end_layout
9783
9784 \end_inset
9785 </cell>
9786 </row>
9787 <row>
9788 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9789 \begin_inset Text
9790
9791 \begin_layout Plain Layout
9792
9793 \series bold
9794 Meneguzzo
9795 \end_layout
9796
9797 \end_inset
9798 </cell>
9799 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9800 \begin_inset Text
9801
9802 \begin_layout Plain Layout
9803 Roberto
9804 \end_layout
9805
9806 \end_inset
9807 </cell>
9808 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9809 \begin_inset Text
9810
9811 \begin_layout Plain Layout
9812 555
9813 \end_layout
9814
9815 \end_inset
9816 </cell>
9817 </row>
9818 <row>
9819 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
9820 \begin_inset Text
9821
9822 \begin_layout Plain Layout
9823
9824 \series bold
9825 Mezzadra
9826 \end_layout
9827
9828 \end_inset
9829 </cell>
9830 <cell alignment="left" valignment="top" bottomline="true" rightline="true" usebox="none">
9831 \begin_inset Text
9832
9833 \begin_layout Plain Layout
9834 Roberto
9835 \end_layout
9836
9837 \end_inset
9838 </cell>
9839 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
9840 \begin_inset Text
9841
9842 \begin_layout Plain Layout
9843 555
9844 \end_layout
9845
9846 \end_inset
9847 </cell>
9848 </row>
9849 </lyxtabular>
9850
9851 \end_inset
9852
9853
9854 \end_layout
9855
9856 \begin_layout Section
9857 Special Multi-page Table Issues
9858 \begin_inset CommandInset label
9859 LatexCommand label
9860 name "sec:Special-Longtable-Issues"
9861
9862 \end_inset
9863
9864
9865 \end_layout
9866
9867 \begin_layout Subsection
9868 Multi-page Table Calculation
9869 \begin_inset Index idx
9870 status collapsed
9871
9872 \begin_layout Plain Layout
9873 Table ! Multi-page Table ! Calculation
9874 \end_layout
9875
9876 \end_inset
9877
9878
9879 \end_layout
9880
9881 \begin_layout Standard
9882 \SpecialChar LaTeX
9883  calculates the height of table pages and their page breaks using so called
9884  chunks.
9885  Chunks are parts of tables that held at the same time in \SpecialChar LaTeX
9886 's memory.
9887  The default value was historically set to only 20
9888 \begin_inset space ~
9889 \end_inset
9890
9891 table rows.
9892  If you are using multi-page tables with many pages this may slow down the
9893  creation of your document.
9894  You can safely increase the chunk size to values of 100
9895 \begin_inset space \thinspace{}
9896 \end_inset
9897
9898 --
9899 \begin_inset space \thinspace{}
9900 \end_inset
9901
9902 1000 by adding this command line to your document preamble:
9903 \end_layout
9904
9905 \begin_layout Standard
9906
9907 \series bold
9908
9909 \backslash
9910 setcounter{LTchunksize}{100}
9911 \end_layout
9912
9913 \begin_layout Subsection
9914 Floats and Multi-page Tables
9915 \begin_inset Index idx
9916 status collapsed
9917
9918 \begin_layout Plain Layout
9919 Table ! Multi-page Table ! Floats
9920 \end_layout
9921
9922 \end_inset
9923
9924
9925 \end_layout
9926
9927 \begin_layout Standard
9928 There might be problems when a float appears on the same page where a multi-page
9929  table starts.
9930  To avoid such a situation, insert a 
9931 \begin_inset Quotes eld
9932 \end_inset
9933
9934 clear page
9935 \begin_inset Quotes erd
9936 \end_inset
9937
9938  (menu 
9939 \family sans
9940 Insert\SpecialChar menuseparator
9941 Formatting\SpecialChar menuseparator
9942 Clear
9943 \begin_inset space ~
9944 \end_inset
9945
9946 Page
9947 \family default
9948 ) before your multi-page table.
9949 \end_layout
9950
9951 \begin_layout Subsection
9952 Forced Page Breaks
9953 \begin_inset Index idx
9954 status collapsed
9955
9956 \begin_layout Plain Layout
9957 Table ! Multi-page Table ! Forced Page Breaks
9958 \end_layout
9959
9960 \end_inset
9961
9962
9963 \end_layout
9964
9965 \begin_layout Standard
9966 By default tables are only broken between rows.
9967  If you have a cell with multiples lines and want to have a page break within
9968  the cell, insert the new line command 
9969 \begin_inset Quotes eld
9970 \end_inset
9971
9972
9973 \series bold
9974
9975 \backslash
9976
9977 \backslash
9978
9979 \series default
9980
9981 \begin_inset Quotes erd
9982 \end_inset
9983
9984  as \SpecialChar TeX
9985  Code at the point of the cell where it can be broken.
9986  Before the 
9987 \series bold
9988
9989 \backslash
9990
9991 \backslash
9992
9993 \series default
9994  command you have to insert in \SpecialChar TeX
9995  Code as many 
9996 \begin_inset Quotes eld
9997 \end_inset
9998
9999
10000 \series bold
10001 &
10002 \series default
10003
10004 \begin_inset Quotes erd
10005 \end_inset
10006
10007  characters as the number of the following table columns.
10008  The 
10009 \series bold
10010 &
10011 \series default
10012  is the character to separate table cells.
10013  Write in \SpecialChar TeX
10014  Code after each 
10015 \series bold
10016 &
10017 \series default
10018  the content of the corresponding following cell and delete the content
10019  of these cells.
10020 \begin_inset Newline newline
10021 \end_inset
10022
10023 After the 
10024 \series bold
10025
10026 \backslash
10027
10028 \backslash
10029
10030 \series default
10031  command, insert as many 
10032 \series bold
10033 &
10034 \series default
10035  characters as the number of table columns before the current column.
10036  In Table
10037 \begin_inset space ~
10038 \end_inset
10039
10040
10041 \begin_inset CommandInset ref
10042 LatexCommand ref
10043 reference "tab:ForcedPagebreak"
10044
10045 \end_inset
10046
10047  the cell that should be broken is in the second column followed by another
10048  column.
10049  Therefore the following command was inserted in the cell as \SpecialChar TeX
10050  Code after
10051  
10052 \begin_inset Quotes eld
10053 \end_inset
10054
10055
10056 \emph on
10057 Castelchiodato,
10058 \emph default
10059
10060 \begin_inset Quotes erd
10061 \end_inset
10062
10063 :
10064 \end_layout
10065
10066 \begin_layout Standard
10067
10068 \series bold
10069 & 111
10070 \backslash
10071
10072 \backslash
10073  
10074 \backslash
10075 newpage
10076 \begin_inset Newline newline
10077 \end_inset
10078
10079 &
10080 \end_layout
10081
10082 \begin_layout Standard
10083 The 
10084 \begin_inset Quotes eld
10085 \end_inset
10086
10087 111
10088 \begin_inset Quotes erd
10089 \end_inset
10090
10091  in the third column of the row was deleted.
10092  
10093 \series bold
10094
10095 \backslash
10096 newpage
10097 \series default
10098  is only needed when a page break should definitely occur at this position,
10099  otherwise it would be a conditional break.
10100  If your footer row of the multi-page table has for a certain reason no
10101  upper line but you would have a horizontal line where the cell is broken,
10102  use this command instead:
10103 \end_layout
10104
10105 \begin_layout Standard
10106
10107 \series bold
10108 & 111
10109 \backslash
10110
10111 \backslash
10112
10113 \begin_inset Newline newline
10114 \end_inset
10115
10116
10117 \backslash
10118 hline &
10119 \end_layout
10120
10121 \begin_layout Standard
10122 When the cell to be broken is in the last column, the command
10123 \end_layout
10124
10125 \begin_layout Standard
10126
10127 \series bold
10128
10129 \backslash
10130 setlength{
10131 \backslash
10132 parfillskip}{0pt}
10133 \end_layout
10134
10135 \begin_layout Standard
10136 must be inserted as \SpecialChar TeX
10137  Code at the beginning of the cell.
10138  This ensures that the part of the cell that will be displayed on the new
10139  page appears with the full width.
10140 \end_layout
10141
10142 \begin_layout Standard
10143 \align center
10144 \begin_inset Tabular
10145 <lyxtabular version="3" rows="38" columns="3">
10146 <features islongtable="true" longtabularalignment="center">
10147 <column alignment="left" valignment="top" width="0cm">
10148 <column alignment="left" valignment="top" width="3cm">
10149 <column alignment="center" valignment="top" width="0pt">
10150 <row endfirsthead="true" caption="true">
10151 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
10152 \begin_inset Text
10153
10154 \begin_layout Plain Layout
10155 \begin_inset Caption Standard
10156
10157 \begin_layout Plain Layout
10158 Table with forced page break in table cell
10159 \begin_inset CommandInset label
10160 LatexCommand label
10161 name "tab:ForcedPagebreak"
10162
10163 \end_inset
10164
10165
10166 \begin_inset Argument 1
10167 status collapsed
10168
10169 \begin_layout Plain Layout
10170 Table with forced page break in table cell
10171 \end_layout
10172
10173 \end_inset
10174
10175
10176 \end_layout
10177
10178 \end_inset
10179
10180
10181 \end_layout
10182
10183 \end_inset
10184 </cell>
10185 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10186 \begin_inset Text
10187
10188 \begin_layout Plain Layout
10189
10190 \end_layout
10191
10192 \end_inset
10193 </cell>
10194 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10195 \begin_inset Text
10196
10197 \begin_layout Plain Layout
10198
10199 \end_layout
10200
10201 \end_inset
10202 </cell>
10203 </row>
10204 <row endfirsthead="true">
10205 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10206 \begin_inset Text
10207
10208 \begin_layout Plain Layout
10209
10210 \series bold
10211 Example Phone List (ignore the names)
10212 \end_layout
10213
10214 \end_inset
10215 </cell>
10216 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10217 \begin_inset Text
10218
10219 \begin_layout Plain Layout
10220
10221 \end_layout
10222
10223 \end_inset
10224 </cell>
10225 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10226 \begin_inset Text
10227
10228 \begin_layout Plain Layout
10229
10230 \end_layout
10231
10232 \end_inset
10233 </cell>
10234 </row>
10235 <row endfirsthead="true">
10236 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10237 \begin_inset Text
10238
10239 \begin_layout Plain Layout
10240
10241 \series bold
10242 NAME
10243 \end_layout
10244
10245 \end_inset
10246 </cell>
10247 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10248 \begin_inset Text
10249
10250 \begin_layout Plain Layout
10251
10252 \end_layout
10253
10254 \end_inset
10255 </cell>
10256 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
10257 \begin_inset Text
10258
10259 \begin_layout Plain Layout
10260
10261 \series bold
10262 TEL.
10263 \end_layout
10264
10265 \end_inset
10266 </cell>
10267 </row>
10268 <row endhead="true" caption="true">
10269 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
10270 \begin_inset Text
10271
10272 \begin_layout Plain Layout
10273 \begin_inset Caption Unnumbered
10274
10275 \begin_layout Plain Layout
10276 Continued Example Phone List
10277 \end_layout
10278
10279 \end_inset
10280
10281
10282 \end_layout
10283
10284 \end_inset
10285 </cell>
10286 <cell multicolumn="2" alignment="left" valignment="top" rightline="true" usebox="none">
10287 \begin_inset Text
10288
10289 \begin_layout Plain Layout
10290
10291 \end_layout
10292
10293 \end_inset
10294 </cell>
10295 <cell multicolumn="2" alignment="center" valignment="top" rightline="true" usebox="none">
10296 \begin_inset Text
10297
10298 \begin_layout Plain Layout
10299
10300 \end_layout
10301
10302 \end_inset
10303 </cell>
10304 </row>
10305 <row endhead="true">
10306 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10307 \begin_inset Text
10308
10309 \begin_layout Plain Layout
10310
10311 \series bold
10312 Example Phone List
10313 \end_layout
10314
10315 \end_inset
10316 </cell>
10317 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10318 \begin_inset Text
10319
10320 \begin_layout Plain Layout
10321
10322 \end_layout
10323
10324 \end_inset
10325 </cell>
10326 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10327 \begin_inset Text
10328
10329 \begin_layout Plain Layout
10330
10331 \end_layout
10332
10333 \end_inset
10334 </cell>
10335 </row>
10336 <row endhead="true">
10337 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10338 \begin_inset Text
10339
10340 \begin_layout Plain Layout
10341
10342 \series bold
10343 NAME
10344 \end_layout
10345
10346 \end_inset
10347 </cell>
10348 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10349 \begin_inset Text
10350
10351 \begin_layout Plain Layout
10352
10353 \end_layout
10354
10355 \end_inset
10356 </cell>
10357 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
10358 \begin_inset Text
10359
10360 \begin_layout Plain Layout
10361
10362 \series bold
10363 TEL.
10364 \end_layout
10365
10366 \end_inset
10367 </cell>
10368 </row>
10369 <row endfoot="true">
10370 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
10371 \begin_inset Text
10372
10373 \begin_layout Plain Layout
10374 continued on next page
10375 \end_layout
10376
10377 \end_inset
10378 </cell>
10379 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10380 \begin_inset Text
10381
10382 \begin_layout Plain Layout
10383
10384 \end_layout
10385
10386 \end_inset
10387 </cell>
10388 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10389 \begin_inset Text
10390
10391 \begin_layout Plain Layout
10392
10393 \end_layout
10394
10395 \end_inset
10396 </cell>
10397 </row>
10398 <row>
10399 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10400 \begin_inset Text
10401
10402 \begin_layout Plain Layout
10403
10404 \series bold
10405 Annovi
10406 \end_layout
10407
10408 \end_inset
10409 </cell>
10410 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10411 \begin_inset Text
10412
10413 \begin_layout Plain Layout
10414 Silvia
10415 \end_layout
10416
10417 \end_inset
10418 </cell>
10419 <cell alignment="right" valignment="top" rightline="true" usebox="none">
10420 \begin_inset Text
10421
10422 \begin_layout Plain Layout
10423 111
10424 \end_layout
10425
10426 \end_inset
10427 </cell>
10428 </row>
10429 <row>
10430 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10431 \begin_inset Text
10432
10433 \begin_layout Plain Layout
10434
10435 \series bold
10436 Bertoli
10437 \end_layout
10438
10439 \end_inset
10440 </cell>
10441 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10442 \begin_inset Text
10443
10444 \begin_layout Plain Layout
10445 Stefano
10446 \end_layout
10447
10448 \end_inset
10449 </cell>
10450 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10451 \begin_inset Text
10452
10453 \begin_layout Plain Layout
10454 111
10455 \end_layout
10456
10457 \end_inset
10458 </cell>
10459 </row>
10460 <row>
10461 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10462 \begin_inset Text
10463
10464 \begin_layout Plain Layout
10465
10466 \series bold
10467 Bozzi
10468 \end_layout
10469
10470 \end_inset
10471 </cell>
10472 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10473 \begin_inset Text
10474
10475 \begin_layout Plain Layout
10476 Walter
10477 \end_layout
10478
10479 \end_inset
10480 </cell>
10481 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10482 \begin_inset Text
10483
10484 \begin_layout Plain Layout
10485 111
10486 \end_layout
10487
10488 \end_inset
10489 </cell>
10490 </row>
10491 <row>
10492 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10493 \begin_inset Text
10494
10495 \begin_layout Plain Layout
10496
10497 \series bold
10498 Cachia
10499 \end_layout
10500
10501 \end_inset
10502 </cell>
10503 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10504 \begin_inset Text
10505
10506 \begin_layout Plain Layout
10507 Maria
10508 \end_layout
10509
10510 \end_inset
10511 </cell>
10512 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10513 \begin_inset Text
10514
10515 \begin_layout Plain Layout
10516 111
10517 \end_layout
10518
10519 \end_inset
10520 </cell>
10521 </row>
10522 <row>
10523 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10524 \begin_inset Text
10525
10526 \begin_layout Plain Layout
10527
10528 \series bold
10529 Cachia
10530 \end_layout
10531
10532 \end_inset
10533 </cell>
10534 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10535 \begin_inset Text
10536
10537 \begin_layout Plain Layout
10538 Maurizio
10539 \end_layout
10540
10541 \end_inset
10542 </cell>
10543 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10544 \begin_inset Text
10545
10546 \begin_layout Plain Layout
10547 111
10548 \end_layout
10549
10550 \end_inset
10551 </cell>
10552 </row>
10553 <row>
10554 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10555 \begin_inset Text
10556
10557 \begin_layout Plain Layout
10558
10559 \series bold
10560 Cinquemani
10561 \end_layout
10562
10563 \end_inset
10564 </cell>
10565 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10566 \begin_inset Text
10567
10568 \begin_layout Plain Layout
10569 Giusi
10570 \end_layout
10571
10572 \end_inset
10573 </cell>
10574 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10575 \begin_inset Text
10576
10577 \begin_layout Plain Layout
10578 111
10579 \end_layout
10580
10581 \end_inset
10582 </cell>
10583 </row>
10584 <row>
10585 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10586 \begin_inset Text
10587
10588 \begin_layout Plain Layout
10589
10590 \series bold
10591 Colin
10592 \end_layout
10593
10594 \end_inset
10595 </cell>
10596 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10597 \begin_inset Text
10598
10599 \begin_layout Plain Layout
10600 Bernard
10601 \end_layout
10602
10603 \end_inset
10604 </cell>
10605 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10606 \begin_inset Text
10607
10608 \begin_layout Plain Layout
10609 111
10610 \end_layout
10611
10612 \end_inset
10613 </cell>
10614 </row>
10615 <row>
10616 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10617 \begin_inset Text
10618
10619 \begin_layout Plain Layout
10620
10621 \series bold
10622 Concli
10623 \end_layout
10624
10625 \end_inset
10626 </cell>
10627 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10628 \begin_inset Text
10629
10630 \begin_layout Plain Layout
10631 Gianfranco
10632 \end_layout
10633
10634 \end_inset
10635 </cell>
10636 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10637 \begin_inset Text
10638
10639 \begin_layout Plain Layout
10640 111
10641 \end_layout
10642
10643 \end_inset
10644 </cell>
10645 </row>
10646 <row>
10647 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10648 \begin_inset Text
10649
10650 \begin_layout Plain Layout
10651
10652 \series bold
10653 Dal Bosco
10654 \end_layout
10655
10656 \end_inset
10657 </cell>
10658 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10659 \begin_inset Text
10660
10661 \begin_layout Plain Layout
10662 Carolina
10663 \end_layout
10664
10665 \end_inset
10666 </cell>
10667 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10668 \begin_inset Text
10669
10670 \begin_layout Plain Layout
10671 111
10672 \end_layout
10673
10674 \end_inset
10675 </cell>
10676 </row>
10677 <row>
10678 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10679 \begin_inset Text
10680
10681 \begin_layout Plain Layout
10682
10683 \series bold
10684 Dalpiaz
10685 \end_layout
10686
10687 \end_inset
10688 </cell>
10689 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10690 \begin_inset Text
10691
10692 \begin_layout Plain Layout
10693 Annamaria
10694 \end_layout
10695
10696 \end_inset
10697 </cell>
10698 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10699 \begin_inset Text
10700
10701 \begin_layout Plain Layout
10702 111
10703 \end_layout
10704
10705 \end_inset
10706 </cell>
10707 </row>
10708 <row>
10709 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10710 \begin_inset Text
10711
10712 \begin_layout Plain Layout
10713
10714 \series bold
10715 Feliciello
10716 \end_layout
10717
10718 \end_inset
10719 </cell>
10720 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10721 \begin_inset Text
10722
10723 \begin_layout Plain Layout
10724 Domenico
10725 \end_layout
10726
10727 \end_inset
10728 </cell>
10729 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10730 \begin_inset Text
10731
10732 \begin_layout Plain Layout
10733 111
10734 \end_layout
10735
10736 \end_inset
10737 </cell>
10738 </row>
10739 <row>
10740 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10741 \begin_inset Text
10742
10743 \begin_layout Plain Layout
10744
10745 \series bold
10746 Focarelli
10747 \end_layout
10748
10749 \end_inset
10750 </cell>
10751 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10752 \begin_inset Text
10753
10754 \begin_layout Plain Layout
10755 Paola
10756 \end_layout
10757
10758 \end_inset
10759 </cell>
10760 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10761 \begin_inset Text
10762
10763 \begin_layout Plain Layout
10764 111
10765 \end_layout
10766
10767 \end_inset
10768 </cell>
10769 </row>
10770 <row>
10771 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10772 \begin_inset Text
10773
10774 \begin_layout Plain Layout
10775
10776 \series bold
10777 Galletti
10778 \end_layout
10779
10780 \end_inset
10781 </cell>
10782 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10783 \begin_inset Text
10784
10785 \begin_layout Plain Layout
10786 Oreste
10787 \end_layout
10788
10789 \end_inset
10790 </cell>
10791 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10792 \begin_inset Text
10793
10794 \begin_layout Plain Layout
10795 111
10796 \end_layout
10797
10798 \end_inset
10799 </cell>
10800 </row>
10801 <row>
10802 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10803 \begin_inset Text
10804
10805 \begin_layout Plain Layout
10806
10807 \series bold
10808 Gasparini
10809 \end_layout
10810
10811 \end_inset
10812 </cell>
10813 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10814 \begin_inset Text
10815
10816 \begin_layout Plain Layout
10817 Franca
10818 \end_layout
10819
10820 \end_inset
10821 </cell>
10822 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10823 \begin_inset Text
10824
10825 \begin_layout Plain Layout
10826 111
10827 \end_layout
10828
10829 \end_inset
10830 </cell>
10831 </row>
10832 <row>
10833 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10834 \begin_inset Text
10835
10836 \begin_layout Plain Layout
10837
10838 \series bold
10839 Lassini
10840 \end_layout
10841
10842 \end_inset
10843 </cell>
10844 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10845 \begin_inset Text
10846
10847 \begin_layout Plain Layout
10848 Giancarlo
10849 \end_layout
10850
10851 \end_inset
10852 </cell>
10853 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10854 \begin_inset Text
10855
10856 \begin_layout Plain Layout
10857 111
10858 \end_layout
10859
10860 \end_inset
10861 </cell>
10862 </row>
10863 <row>
10864 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10865 \begin_inset Text
10866
10867 \begin_layout Plain Layout
10868
10869 \series bold
10870 Malfatti
10871 \end_layout
10872
10873 \end_inset
10874 </cell>
10875 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10876 \begin_inset Text
10877
10878 \begin_layout Plain Layout
10879 Luciano
10880 \end_layout
10881
10882 \end_inset
10883 </cell>
10884 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10885 \begin_inset Text
10886
10887 \begin_layout Plain Layout
10888 111
10889 \end_layout
10890
10891 \end_inset
10892 </cell>
10893 </row>
10894 <row>
10895 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10896 \begin_inset Text
10897
10898 \begin_layout Plain Layout
10899
10900 \series bold
10901 Malfatti
10902 \end_layout
10903
10904 \end_inset
10905 </cell>
10906 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10907 \begin_inset Text
10908
10909 \begin_layout Plain Layout
10910 Valeriano
10911 \end_layout
10912
10913 \end_inset
10914 </cell>
10915 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10916 \begin_inset Text
10917
10918 \begin_layout Plain Layout
10919 111
10920 \end_layout
10921
10922 \end_inset
10923 </cell>
10924 </row>
10925 <row>
10926 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10927 \begin_inset Text
10928
10929 \begin_layout Plain Layout
10930
10931 \series bold
10932 Meneguzzo
10933 \end_layout
10934
10935 \end_inset
10936 </cell>
10937 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10938 \begin_inset Text
10939
10940 \begin_layout Plain Layout
10941 Roberto
10942 \end_layout
10943
10944 \end_inset
10945 </cell>
10946 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10947 \begin_inset Text
10948
10949 \begin_layout Plain Layout
10950 111
10951 \end_layout
10952
10953 \end_inset
10954 </cell>
10955 </row>
10956 <row>
10957 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10958 \begin_inset Text
10959
10960 \begin_layout Plain Layout
10961
10962 \series bold
10963 Mezzadra
10964 \end_layout
10965
10966 \end_inset
10967 </cell>
10968 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10969 \begin_inset Text
10970
10971 \begin_layout Plain Layout
10972 Roberto
10973 \end_layout
10974
10975 \end_inset
10976 </cell>
10977 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10978 \begin_inset Text
10979
10980 \begin_layout Plain Layout
10981 111
10982 \end_layout
10983
10984 \end_inset
10985 </cell>
10986 </row>
10987 <row>
10988 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10989 \begin_inset Text
10990
10991 \begin_layout Plain Layout
10992
10993 \series bold
10994 Pirpamer
10995 \end_layout
10996
10997 \end_inset
10998 </cell>
10999 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11000 \begin_inset Text
11001
11002 \begin_layout Plain Layout
11003 Erich
11004 \end_layout
11005
11006 \end_inset
11007 </cell>
11008 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11009 \begin_inset Text
11010
11011 \begin_layout Plain Layout
11012 111
11013 \end_layout
11014
11015 \end_inset
11016 </cell>
11017 </row>
11018 <row>
11019 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11020 \begin_inset Text
11021
11022 \begin_layout Plain Layout
11023
11024 \series bold
11025 Pochiesa
11026 \end_layout
11027
11028 \end_inset
11029 </cell>
11030 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11031 \begin_inset Text
11032
11033 \begin_layout Plain Layout
11034 Paolo
11035 \end_layout
11036
11037 \end_inset
11038 </cell>
11039 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11040 \begin_inset Text
11041
11042 \begin_layout Plain Layout
11043 111, 222
11044 \end_layout
11045
11046 \end_inset
11047 </cell>
11048 </row>
11049 <row>
11050 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11051 \begin_inset Text
11052
11053 \begin_layout Plain Layout
11054
11055 \series bold
11056 Radina
11057 \end_layout
11058
11059 \end_inset
11060 </cell>
11061 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11062 \begin_inset Text
11063
11064 \begin_layout Plain Layout
11065 Claudio
11066 \end_layout
11067
11068 \end_inset
11069 </cell>
11070 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11071 \begin_inset Text
11072
11073 \begin_layout Plain Layout
11074 111
11075 \end_layout
11076
11077 \end_inset
11078 </cell>
11079 </row>
11080 <row>
11081 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11082 \begin_inset Text
11083
11084 \begin_layout Plain Layout
11085
11086 \series bold
11087 Rizzardi
11088 \end_layout
11089
11090 \end_inset
11091 </cell>
11092 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11093 \begin_inset Text
11094
11095 \begin_layout Plain Layout
11096 Paolo, 11.
11097  Fürst von Montecompatri, 11.
11098  Fürst von Sulmona und Vivaro, 10.
11099  Fürst von Rossano, 5.
11100  Herzog von Canemorte, 11.
11101  Herzog von Palombara, 5.
11102  Herzog von Castelchiodato,
11103 \begin_inset ERT
11104 status open
11105
11106 \begin_layout Plain Layout
11107
11108 & 111
11109 \backslash
11110
11111 \backslash
11112  
11113 \backslash
11114 newpage
11115 \end_layout
11116
11117 \begin_layout Plain Layout
11118
11119 &
11120 \end_layout
11121
11122 \end_inset
11123
11124  11.
11125  Herzog von Poggionativo, 11.
11126  Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
11127  Graf von Valinfreda, 11.
11128  Baron von Cropalati, 11.
11129  Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
11130 \end_layout
11131
11132 \end_inset
11133 </cell>
11134 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11135 \begin_inset Text
11136
11137 \begin_layout Plain Layout
11138
11139 \end_layout
11140
11141 \end_inset
11142 </cell>
11143 </row>
11144 <row>
11145 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11146 \begin_inset Text
11147
11148 \begin_layout Plain Layout
11149
11150 \series bold
11151 Stuffer
11152 \end_layout
11153
11154 \end_inset
11155 </cell>
11156 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11157 \begin_inset Text
11158
11159 \begin_layout Plain Layout
11160 Oskar
11161 \end_layout
11162
11163 \end_inset
11164 </cell>
11165 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11166 \begin_inset Text
11167
11168 \begin_layout Plain Layout
11169 111
11170 \end_layout
11171
11172 \end_inset
11173 </cell>
11174 </row>
11175 <row>
11176 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11177 \begin_inset Text
11178
11179 \begin_layout Plain Layout
11180
11181 \series bold
11182 Tacchelli
11183 \end_layout
11184
11185 \end_inset
11186 </cell>
11187 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11188 \begin_inset Text
11189
11190 \begin_layout Plain Layout
11191 Ugo
11192 \end_layout
11193
11194 \end_inset
11195 </cell>
11196 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11197 \begin_inset Text
11198
11199 \begin_layout Plain Layout
11200 111
11201 \end_layout
11202
11203 \end_inset
11204 </cell>
11205 </row>
11206 <row>
11207 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11208 \begin_inset Text
11209
11210 \begin_layout Plain Layout
11211
11212 \series bold
11213 Tezzele
11214 \end_layout
11215
11216 \end_inset
11217 </cell>
11218 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11219 \begin_inset Text
11220
11221 \begin_layout Plain Layout
11222 Margit
11223 \end_layout
11224
11225 \end_inset
11226 </cell>
11227 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11228 \begin_inset Text
11229
11230 \begin_layout Plain Layout
11231 111
11232 \end_layout
11233
11234 \end_inset
11235 </cell>
11236 </row>
11237 <row>
11238 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11239 \begin_inset Text
11240
11241 \begin_layout Plain Layout
11242
11243 \series bold
11244 Unterkalmsteiner
11245 \end_layout
11246
11247 \end_inset
11248 </cell>
11249 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11250 \begin_inset Text
11251
11252 \begin_layout Plain Layout
11253 Frieda
11254 \end_layout
11255
11256 \end_inset
11257 </cell>
11258 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11259 \begin_inset Text
11260
11261 \begin_layout Plain Layout
11262 111
11263 \end_layout
11264
11265 \end_inset
11266 </cell>
11267 </row>
11268 <row>
11269 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11270 \begin_inset Text
11271
11272 \begin_layout Plain Layout
11273
11274 \series bold
11275 Vieider
11276 \end_layout
11277
11278 \end_inset
11279 </cell>
11280 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11281 \begin_inset Text
11282
11283 \begin_layout Plain Layout
11284 Hilde
11285 \end_layout
11286
11287 \end_inset
11288 </cell>
11289 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11290 \begin_inset Text
11291
11292 \begin_layout Plain Layout
11293 111
11294 \end_layout
11295
11296 \end_inset
11297 </cell>
11298 </row>
11299 <row>
11300 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11301 \begin_inset Text
11302
11303 \begin_layout Plain Layout
11304
11305 \series bold
11306 Vigna
11307 \end_layout
11308
11309 \end_inset
11310 </cell>
11311 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11312 \begin_inset Text
11313
11314 \begin_layout Plain Layout
11315 Jürgen
11316 \end_layout
11317
11318 \end_inset
11319 </cell>
11320 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11321 \begin_inset Text
11322
11323 \begin_layout Plain Layout
11324 111
11325 \end_layout
11326
11327 \end_inset
11328 </cell>
11329 </row>
11330 <row>
11331 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11332 \begin_inset Text
11333
11334 \begin_layout Plain Layout
11335
11336 \series bold
11337 Weber
11338 \end_layout
11339
11340 \end_inset
11341 </cell>
11342 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11343 \begin_inset Text
11344
11345 \begin_layout Plain Layout
11346 Maurizio
11347 \end_layout
11348
11349 \end_inset
11350 </cell>
11351 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11352 \begin_inset Text
11353
11354 \begin_layout Plain Layout
11355 111
11356 \end_layout
11357
11358 \end_inset
11359 </cell>
11360 </row>
11361 <row>
11362 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11363 \begin_inset Text
11364
11365 \begin_layout Plain Layout
11366
11367 \series bold
11368 Winkler
11369 \end_layout
11370
11371 \end_inset
11372 </cell>
11373 <cell alignment="left" valignment="top" bottomline="true" rightline="true" usebox="none">
11374 \begin_inset Text
11375
11376 \begin_layout Plain Layout
11377 Franz
11378 \end_layout
11379
11380 \end_inset
11381 </cell>
11382 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
11383 \begin_inset Text
11384
11385 \begin_layout Plain Layout
11386 111
11387 \end_layout
11388
11389 \end_inset
11390 </cell>
11391 </row>
11392 </lyxtabular>
11393
11394 \end_inset
11395
11396
11397 \end_layout
11398
11399 \begin_layout Section
11400 Multiple Lines, Columns and Rows
11401 \end_layout
11402
11403 \begin_layout Subsection
11404 Multiple Lines in Table Cells
11405 \begin_inset CommandInset label
11406 LatexCommand label
11407 name "subsec:Multiple-Lines-in"
11408
11409 \end_inset
11410
11411
11412 \begin_inset Index idx
11413 status collapsed
11414
11415 \begin_layout Plain Layout
11416 Multiple Lines in Table Cells
11417 \end_layout
11418
11419 \end_inset
11420
11421
11422 \begin_inset Index idx
11423 status collapsed
11424
11425 \begin_layout Plain Layout
11426 Table ! Linebreaks
11427 \end_layout
11428
11429 \end_inset
11430
11431
11432 \end_layout
11433
11434 \begin_layout Standard
11435 \noindent
11436 \begin_inset Float table
11437 placement H
11438 alignment document
11439 wide false
11440 sideways false
11441 status open
11442
11443 \begin_layout Plain Layout
11444 \begin_inset Caption Standard
11445
11446 \begin_layout Plain Layout
11447 \begin_inset CommandInset label
11448 LatexCommand label
11449 name "tab:Table-with-multiple"
11450
11451 \end_inset
11452
11453 Table with multiple lines in cells
11454 \end_layout
11455
11456 \end_inset
11457
11458
11459 \end_layout
11460
11461 \begin_layout Plain Layout
11462 \align center
11463 \begin_inset Tabular
11464 <lyxtabular version="3" rows="3" columns="3">
11465 <features tabularvalignment="middle">
11466 <column alignment="center" valignment="middle" width="2.5cm">
11467 <column alignment="center" valignment="middle">
11468 <column alignment="center" valignment="middle">
11469 <row>
11470 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11471 \begin_inset Text
11472
11473 \begin_layout Plain Layout
11474 multiple
11475 \begin_inset Newline linebreak
11476 \end_inset
11477
11478 lines
11479 \end_layout
11480
11481 \end_inset
11482 </cell>
11483 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11484 \begin_inset Text
11485
11486 \begin_layout Plain Layout
11487 b
11488 \end_layout
11489
11490 \end_inset
11491 </cell>
11492 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11493 \begin_inset Text
11494
11495 \begin_layout Plain Layout
11496 c
11497 \end_layout
11498
11499 \end_inset
11500 </cell>
11501 </row>
11502 <row>
11503 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11504 \begin_inset Text
11505
11506 \begin_layout Plain Layout
11507 d
11508 \end_layout
11509
11510 \end_inset
11511 </cell>
11512 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11513 \begin_inset Text
11514
11515 \begin_layout Plain Layout
11516 e
11517 \end_layout
11518
11519 \end_inset
11520 </cell>
11521 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11522 \begin_inset Text
11523
11524 \begin_layout Plain Layout
11525 f
11526 \end_layout
11527
11528 \end_inset
11529 </cell>
11530 </row>
11531 <row>
11532 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11533 \begin_inset Text
11534
11535 \begin_layout Plain Layout
11536 g
11537 \end_layout
11538
11539 \end_inset
11540 </cell>
11541 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11542 \begin_inset Text
11543
11544 \begin_layout Plain Layout
11545 h
11546 \end_layout
11547
11548 \end_inset
11549 </cell>
11550 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11551 \begin_inset Text
11552
11553 \begin_layout Plain Layout
11554 i
11555 \end_layout
11556
11557 \end_inset
11558 </cell>
11559 </row>
11560 </lyxtabular>
11561
11562 \end_inset
11563
11564
11565 \end_layout
11566
11567 \end_inset
11568
11569
11570 \end_layout
11571
11572 \begin_layout Standard
11573 Setting a fixed width for a column enables you to enter text as a paragraph
11574  with multiple lines and hyphenation.
11575 \end_layout
11576
11577 \begin_layout Standard
11578 To produce Table
11579 \begin_inset space ~
11580 \end_inset
11581
11582
11583 \begin_inset CommandInset ref
11584 LatexCommand ref
11585 reference "tab:Table-with-multiple"
11586
11587 \end_inset
11588
11589 , create a 3×3 table, mark the first cell and right-click on it.
11590  In the appearing table dialog we set a cell width of 2.5
11591 \begin_inset space \thinspace{}
11592 \end_inset
11593
11594 cm and choose centered for the vertical and horizontal alignment.
11595  The vertical alignment is used for all cells of the row.
11596  As our text is smaller than 2.5
11597 \begin_inset space \thinspace{}
11598 \end_inset
11599
11600 cm, only one line will appear.
11601  To get two lines, a justified line break (shortcut 
11602 \begin_inset Info
11603 type  "shortcut"
11604 arg   "newline-insert linebreak"
11605 \end_inset
11606
11607 ) was added.
11608  If the text is wider than the set cell width, it will automatically be
11609  broken to several lines.
11610 \end_layout
11611
11612 \begin_layout Standard
11613 If you have a long word in a cell with a fixed width, it cannot be hyphenated
11614  by \SpecialChar LaTeX
11615  if it is the first entry.
11616  Therefore you need to insert something to prevent the word not being the
11617  first entry.
11618  So add a horizontal space of 0
11619 \begin_inset space \thinspace{}
11620 \end_inset
11621
11622 pt before the word.
11623  As the space is zero, it doesn't change the output.
11624  Table
11625 \begin_inset space ~
11626 \end_inset
11627
11628
11629 \begin_inset CommandInset ref
11630 LatexCommand ref
11631 reference "tab:Table-with-and"
11632
11633 \end_inset
11634
11635  shows the effect.
11636 \end_layout
11637
11638 \begin_layout Standard
11639 \begin_inset Float table
11640 placement h
11641 alignment document
11642 wide false
11643 sideways false
11644 status open
11645
11646 \begin_layout Plain Layout
11647 \begin_inset Caption Standard
11648
11649 \begin_layout Plain Layout
11650 \begin_inset CommandInset label
11651 LatexCommand label
11652 name "tab:Table-with-and"
11653
11654 \end_inset
11655
11656 Table with and without hyphenation
11657 \end_layout
11658
11659 \end_inset
11660
11661
11662 \end_layout
11663
11664 \begin_layout Plain Layout
11665 \begin_inset space \hfill{}
11666 \end_inset
11667
11668
11669 \begin_inset Tabular
11670 <lyxtabular version="3" rows="3" columns="3">
11671 <features tabularvalignment="middle">
11672 <column alignment="center" valignment="middle" width="2.5cm">
11673 <column alignment="center" valignment="middle">
11674 <column alignment="center" valignment="middle">
11675 <row>
11676 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11677 \begin_inset Text
11678
11679 \begin_layout Plain Layout
11680 verylongtablecellword
11681 \end_layout
11682
11683 \end_inset
11684 </cell>
11685 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11686 \begin_inset Text
11687
11688 \begin_layout Plain Layout
11689 b
11690 \end_layout
11691
11692 \end_inset
11693 </cell>
11694 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11695 \begin_inset Text
11696
11697 \begin_layout Plain Layout
11698 c
11699 \end_layout
11700
11701 \end_inset
11702 </cell>
11703 </row>
11704 <row>
11705 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11706 \begin_inset Text
11707
11708 \begin_layout Plain Layout
11709 d
11710 \end_layout
11711
11712 \end_inset
11713 </cell>
11714 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11715 \begin_inset Text
11716
11717 \begin_layout Plain Layout
11718 e
11719 \end_layout
11720
11721 \end_inset
11722 </cell>
11723 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11724 \begin_inset Text
11725
11726 \begin_layout Plain Layout
11727 f
11728 \end_layout
11729
11730 \end_inset
11731 </cell>
11732 </row>
11733 <row>
11734 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11735 \begin_inset Text
11736
11737 \begin_layout Plain Layout
11738 g
11739 \end_layout
11740
11741 \end_inset
11742 </cell>
11743 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11744 \begin_inset Text
11745
11746 \begin_layout Plain Layout
11747 h
11748 \end_layout
11749
11750 \end_inset
11751 </cell>
11752 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11753 \begin_inset Text
11754
11755 \begin_layout Plain Layout
11756 i
11757 \end_layout
11758
11759 \end_inset
11760 </cell>
11761 </row>
11762 </lyxtabular>
11763
11764 \end_inset
11765
11766
11767 \begin_inset space \hfill{}
11768 \end_inset
11769
11770
11771 \begin_inset Tabular
11772 <lyxtabular version="3" rows="3" columns="3">
11773 <features tabularvalignment="middle">
11774 <column alignment="center" valignment="middle" width="2.5cm">
11775 <column alignment="center" valignment="middle">
11776 <column alignment="center" valignment="middle">
11777 <row>
11778 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11779 \begin_inset Text
11780
11781 \begin_layout Plain Layout
11782 \begin_inset space \hspace{}
11783 \length 0pt
11784 \end_inset
11785
11786 verylongtablecellword
11787 \end_layout
11788
11789 \end_inset
11790 </cell>
11791 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11792 \begin_inset Text
11793
11794 \begin_layout Plain Layout
11795 b
11796 \end_layout
11797
11798 \end_inset
11799 </cell>
11800 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11801 \begin_inset Text
11802
11803 \begin_layout Plain Layout
11804 c
11805 \end_layout
11806
11807 \end_inset
11808 </cell>
11809 </row>
11810 <row>
11811 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11812 \begin_inset Text
11813
11814 \begin_layout Plain Layout
11815 d
11816 \end_layout
11817
11818 \end_inset
11819 </cell>
11820 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11821 \begin_inset Text
11822
11823 \begin_layout Plain Layout
11824 e
11825 \end_layout
11826
11827 \end_inset
11828 </cell>
11829 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11830 \begin_inset Text
11831
11832 \begin_layout Plain Layout
11833 f
11834 \end_layout
11835
11836 \end_inset
11837 </cell>
11838 </row>
11839 <row>
11840 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11841 \begin_inset Text
11842
11843 \begin_layout Plain Layout
11844 g
11845 \end_layout
11846
11847 \end_inset
11848 </cell>
11849 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11850 \begin_inset Text
11851
11852 \begin_layout Plain Layout
11853 h
11854 \end_layout
11855
11856 \end_inset
11857 </cell>
11858 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11859 \begin_inset Text
11860
11861 \begin_layout Plain Layout
11862 i
11863 \end_layout
11864
11865 \end_inset
11866 </cell>
11867 </row>
11868 </lyxtabular>
11869
11870 \end_inset
11871
11872
11873 \begin_inset space \hfill{}
11874 \end_inset
11875
11876
11877 \end_layout
11878
11879 \end_inset
11880
11881
11882 \end_layout
11883
11884 \begin_layout Subsection
11885 Multicolumns
11886 \begin_inset CommandInset label
11887 LatexCommand label
11888 name "subsec:Multicolumns"
11889
11890 \end_inset
11891
11892
11893 \begin_inset Index idx
11894 status collapsed
11895
11896 \begin_layout Plain Layout
11897 Multicolumns
11898 \end_layout
11899
11900 \end_inset
11901
11902
11903 \begin_inset Index idx
11904 status collapsed
11905
11906 \begin_layout Plain Layout
11907 Table ! Multicolumns
11908 \end_layout
11909
11910 \end_inset
11911
11912
11913 \end_layout
11914
11915 \begin_layout Subsubsection
11916 Multicolumn Basics
11917 \end_layout
11918
11919 \begin_layout Standard
11920 To merge cells over multiple columns, select as many cells within a row
11921  as you want to merge and use either the table-toolbar button 
11922 \begin_inset Info
11923 type  "icon"
11924 arg   "tabular-feature multicolumn"
11925 \end_inset
11926
11927 , or the menu 
11928 \family sans
11929 Edit\SpecialChar menuseparator
11930 Table\SpecialChar menuseparator
11931 Multicolumn
11932 \family default
11933 , or right click on the marked cells and choose 
11934 \family sans
11935 Multicolumn
11936 \family default
11937  in the context menu.
11938 \end_layout
11939
11940 \begin_layout Standard
11941 Multicolumns have their own cell settings.
11942  That means changing cell borders, cell alignment, and the width only affects
11943  the multicolumn.
11944  Here is an example table with a multicolumn cell in the first row and one
11945  in the last row without the upper border:
11946 \end_layout
11947
11948 \begin_layout Standard
11949 \align center
11950 \begin_inset Tabular
11951 <lyxtabular version="3" rows="3" columns="4">
11952 <features firstHeadTopDL="true" firstHeadBottomDL="true" tabularvalignment="middle">
11953 <column alignment="center" valignment="top" width="0pt">
11954 <column alignment="center" valignment="middle">
11955 <column alignment="center" valignment="top" width="0in">
11956 <column alignment="center" valignment="top" width="0pt">
11957 <row>
11958 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11959 \begin_inset Text
11960
11961 \begin_layout Plain Layout
11962 abc
11963 \end_layout
11964
11965 \end_inset
11966 </cell>
11967 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
11968 \begin_inset Text
11969
11970 \begin_layout Plain Layout
11971 def ghi
11972 \end_layout
11973
11974 \end_inset
11975 </cell>
11976 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11977 \begin_inset Text
11978
11979 \begin_layout Plain Layout
11980
11981 \end_layout
11982
11983 \end_inset
11984 </cell>
11985 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11986 \begin_inset Text
11987
11988 \begin_layout Plain Layout
11989 jkl
11990 \end_layout
11991
11992 \end_inset
11993 </cell>
11994 </row>
11995 <row>
11996 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11997 \begin_inset Text
11998
11999 \begin_layout Plain Layout
12000
12001 \family roman
12002 \series medium
12003 \shape up
12004 \size normal
12005 \emph off
12006 \bar no
12007 \noun off
12008 \color none
12009 A
12010 \end_layout
12011
12012 \end_inset
12013 </cell>
12014 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12015 \begin_inset Text
12016
12017 \begin_layout Plain Layout
12018 B
12019 \end_layout
12020
12021 \end_inset
12022 </cell>
12023 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12024 \begin_inset Text
12025
12026 \begin_layout Plain Layout
12027 C
12028 \end_layout
12029
12030 \end_inset
12031 </cell>
12032 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12033 \begin_inset Text
12034
12035 \begin_layout Plain Layout
12036 D
12037 \end_layout
12038
12039 \end_inset
12040 </cell>
12041 </row>
12042 <row>
12043 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12044 \begin_inset Text
12045
12046 \begin_layout Plain Layout
12047 1
12048 \end_layout
12049
12050 \end_inset
12051 </cell>
12052 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
12053 \begin_inset Text
12054
12055 \begin_layout Plain Layout
12056 2
12057 \end_layout
12058
12059 \end_inset
12060 </cell>
12061 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12062 \begin_inset Text
12063
12064 \begin_layout Plain Layout
12065 3
12066 \end_layout
12067
12068 \end_inset
12069 </cell>
12070 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12071 \begin_inset Text
12072
12073 \begin_layout Plain Layout
12074 4
12075 \end_layout
12076
12077 \end_inset
12078 </cell>
12079 </row>
12080 </lyxtabular>
12081
12082 \end_inset
12083
12084
12085 \end_layout
12086
12087 \begin_layout Subsubsection
12088 Multicolumn Calculations
12089 \begin_inset CommandInset label
12090 LatexCommand label
12091 name "subsec:Multicolumn-Calculations"
12092
12093 \end_inset
12094
12095
12096 \begin_inset Index idx
12097 status collapsed
12098
12099 \begin_layout Plain Layout
12100 Multicolumns ! Calculations
12101 \end_layout
12102
12103 \end_inset
12104
12105
12106 \end_layout
12107
12108 \begin_layout Standard
12109 \SpecialChar LyX
12110  supports multicolumns directly, but we have to take account of the cell
12111  width of the columns spanned by the multicolumn cell.
12112 \end_layout
12113
12114 \begin_layout Standard
12115 \begin_inset Float table
12116 placement h
12117 alignment document
12118 wide false
12119 sideways false
12120 status open
12121
12122 \begin_layout Plain Layout
12123 \begin_inset Caption Standard
12124
12125 \begin_layout Plain Layout
12126 \begin_inset CommandInset label
12127 LatexCommand label
12128 name "tab:Table-with-centered"
12129
12130 \end_inset
12131
12132 Table with centered multicolumn text above two columns that have exactly
12133  half the width of the multicolumn cell
12134 \begin_inset Argument 1
12135 status collapsed
12136
12137 \begin_layout Plain Layout
12138 Perfect multicolumn table
12139 \end_layout
12140
12141 \end_inset
12142
12143
12144 \end_layout
12145
12146 \end_inset
12147
12148
12149 \end_layout
12150
12151 \begin_layout Plain Layout
12152 \align center
12153 \begin_inset Tabular
12154 <lyxtabular version="3" rows="3" columns="3">
12155 <features tabularvalignment="middle">
12156 <column alignment="center" valignment="middle" special=">{\centering}m{1.25cm-6.2pt}">
12157 <column alignment="center" valignment="middle">
12158 <column alignment="center" valignment="top">
12159 <row>
12160 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" special=">{\centering}m{2.5cm}">
12161 \begin_inset Text
12162
12163 \begin_layout Plain Layout
12164 multiple lines multicolumn
12165 \end_layout
12166
12167 \end_inset
12168 </cell>
12169 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12170 \begin_inset Text
12171
12172 \begin_layout Plain Layout
12173
12174 \end_layout
12175
12176 \end_inset
12177 </cell>
12178 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12179 \begin_inset Text
12180
12181 \begin_layout Plain Layout
12182 c
12183 \end_layout
12184
12185 \end_inset
12186 </cell>
12187 </row>
12188 <row>
12189 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12190 \begin_inset Text
12191
12192 \begin_layout Plain Layout
12193 d
12194 \end_layout
12195
12196 \end_inset
12197 </cell>
12198 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12199 \begin_inset Text
12200
12201 \begin_layout Plain Layout
12202 e
12203 \end_layout
12204
12205 \end_inset
12206 </cell>
12207 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12208 \begin_inset Text
12209
12210 \begin_layout Plain Layout
12211 f
12212 \end_layout
12213
12214 \end_inset
12215 </cell>
12216 </row>
12217 <row>
12218 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12219 \begin_inset Text
12220
12221 \begin_layout Plain Layout
12222 g
12223 \end_layout
12224
12225 \end_inset
12226 </cell>
12227 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12228 \begin_inset Text
12229
12230 \begin_layout Plain Layout
12231 h
12232 \end_layout
12233
12234 \end_inset
12235 </cell>
12236 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12237 \begin_inset Text
12238
12239 \begin_layout Plain Layout
12240 i
12241 \end_layout
12242
12243 \end_inset
12244 </cell>
12245 </row>
12246 </lyxtabular>
12247
12248 \end_inset
12249
12250
12251 \end_layout
12252
12253 \end_inset
12254
12255
12256 \end_layout
12257
12258 \begin_layout Standard
12259 To create for example Table
12260 \begin_inset space ~
12261 \end_inset
12262
12263
12264 \begin_inset CommandInset ref
12265 LatexCommand ref
12266 reference "tab:Table-with-centered"
12267
12268 \end_inset
12269
12270 , mark the first two cells in the first row of a 3×3 table and right-click
12271  on them.
12272  Now choose for this cell 
12273 \emph on
12274 multicolumn
12275 \emph default
12276
12277 \emph on
12278 centered alignment
12279 \emph default
12280  and a width of 2.5
12281 \begin_inset space \thinspace{}
12282 \end_inset
12283
12284 cm in the table dialog.
12285  The merged columns should have exactly half the width of the multicolumn
12286  cell, so that you would set a width of 1.25
12287 \begin_inset space \thinspace{}
12288 \end_inset
12289
12290 cm for the first column.
12291  The second column has then automatically a width of 1.25
12292 \begin_inset space \thinspace{}
12293 \end_inset
12294
12295 cm (multicolumn width - width of first column).
12296  This was done for Table
12297 \begin_inset space ~
12298 \end_inset
12299
12300
12301 \begin_inset CommandInset ref
12302 LatexCommand ref
12303 reference "tab:Table-without-half"
12304
12305 \end_inset
12306
12307 .
12308 \end_layout
12309
12310 \begin_layout Standard
12311 \begin_inset Float table
12312 placement document
12313 alignment document
12314 wide false
12315 sideways false
12316 status open
12317
12318 \begin_layout Plain Layout
12319 \begin_inset Caption Standard
12320
12321 \begin_layout Plain Layout
12322 \begin_inset CommandInset label
12323 LatexCommand label
12324 name "tab:Table-without-half"
12325
12326 \end_inset
12327
12328 Table where the spanned table columns are not exactly half the width of
12329  the multicolumn cell
12330 \begin_inset Argument 1
12331 status collapsed
12332
12333 \begin_layout Plain Layout
12334 Imperfect multicolumn table
12335 \end_layout
12336
12337 \end_inset
12338
12339
12340 \end_layout
12341
12342 \end_inset
12343
12344
12345 \end_layout
12346
12347 \begin_layout Plain Layout
12348 \align center
12349 \begin_inset Tabular
12350 <lyxtabular version="3" rows="3" columns="3">
12351 <features tabularvalignment="middle">
12352 <column alignment="center" valignment="top" width="1.25cm">
12353 <column alignment="center" valignment="top">
12354 <column alignment="center" valignment="top">
12355 <row>
12356 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
12357 \begin_inset Text
12358
12359 \begin_layout Plain Layout
12360 multiple lines multicolumn
12361 \end_layout
12362
12363 \end_inset
12364 </cell>
12365 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12366 \begin_inset Text
12367
12368 \begin_layout Plain Layout
12369
12370 \end_layout
12371
12372 \end_inset
12373 </cell>
12374 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12375 \begin_inset Text
12376
12377 \begin_layout Plain Layout
12378 c
12379 \end_layout
12380
12381 \end_inset
12382 </cell>
12383 </row>
12384 <row>
12385 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12386 \begin_inset Text
12387
12388 \begin_layout Plain Layout
12389 d
12390 \end_layout
12391
12392 \end_inset
12393 </cell>
12394 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12395 \begin_inset Text
12396
12397 \begin_layout Plain Layout
12398 e
12399 \end_layout
12400
12401 \end_inset
12402 </cell>
12403 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12404 \begin_inset Text
12405
12406 \begin_layout Plain Layout
12407 f
12408 \end_layout
12409
12410 \end_inset
12411 </cell>
12412 </row>
12413 <row>
12414 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12415 \begin_inset Text
12416
12417 \begin_layout Plain Layout
12418 g
12419 \end_layout
12420
12421 \end_inset
12422 </cell>
12423 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12424 \begin_inset Text
12425
12426 \begin_layout Plain Layout
12427 h
12428 \end_layout
12429
12430 \end_inset
12431 </cell>
12432 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12433 \begin_inset Text
12434
12435 \begin_layout Plain Layout
12436 i
12437 \end_layout
12438
12439 \end_inset
12440 </cell>
12441 </row>
12442 </lyxtabular>
12443
12444 \end_inset
12445
12446
12447 \end_layout
12448
12449 \end_inset
12450
12451
12452 \end_layout
12453
12454 \begin_layout Standard
12455 You can see that the first column is not half the width of the multicolumn
12456  cell, it is a bit bigger.
12457  The reason is that the specified width of a cell 
12458 \begin_inset Formula $W_{g}$
12459 \end_inset
12460
12461  is not its total width 
12462 \begin_inset Formula $W_{\mathrm{tot}}$
12463 \end_inset
12464
12465  because a cell is always a bit larger than specified.
12466  Appendix
12467 \begin_inset space ~
12468 \end_inset
12469
12470
12471 \begin_inset CommandInset ref
12472 LatexCommand ref
12473 reference "cha:Explanation-of-Equation"
12474
12475 \end_inset
12476
12477  explains this in detail.
12478 \end_layout
12479
12480 \begin_layout Standard
12481 The width 
12482 \begin_inset Formula $W_{g\,n}$
12483 \end_inset
12484
12485  which the user needs to set when 
12486 \emph on
12487 n
12488 \emph default
12489  columns are spanned can be calculated, so that each column has a total
12490  width of 
12491 \begin_inset Formula $W_{\mathrm{tot\,multicolumn}}/n$
12492 \end_inset
12493
12494 :
12495 \begin_inset Formula 
12496 \begin{equation}
12497 W_{g\,n}=(W_{g\,\mathrm{multicolumn}}+(1-n)\cdot(12.4\,\mathrm{pt}))/n\label{eq:Wgn}
12498 \end{equation}
12499
12500 \end_inset
12501
12502
12503 \end_layout
12504
12505 \begin_layout Standard
12506 In our case we have 
12507 \begin_inset Formula $n=2$
12508 \end_inset
12509
12510
12511 \begin_inset Formula $W_{g\,\mathrm{multicolumn}}=2.5\,$
12512 \end_inset
12513
12514 cm and the default values for the lengths, so that equation 
12515 \begin_inset CommandInset ref
12516 LatexCommand ref
12517 reference "eq:Wgn"
12518
12519 \end_inset
12520
12521  becomes
12522 \begin_inset Formula 
12523 \begin{equation}
12524 W_{g\,2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}
12525 \end{equation}
12526
12527 \end_inset
12528
12529
12530 \end_layout
12531
12532 \begin_layout Standard
12533 To enable calculations in \SpecialChar LaTeX
12534 , the \SpecialChar LaTeX
12535 -package 
12536 \series bold
12537 calc
12538 \series default
12539  must be loaded with the document preamble line
12540 \begin_inset Index idx
12541 status collapsed
12542
12543 \begin_layout Plain Layout
12544 \SpecialChar LaTeX
12545 -packages ! calc
12546 \end_layout
12547
12548 \end_inset
12549
12550
12551 \end_layout
12552
12553 \begin_layout Standard
12554
12555 \series bold
12556
12557 \backslash
12558 usepackage{calc}
12559 \end_layout
12560
12561 \begin_layout Standard
12562 \SpecialChar LyX
12563  does not allow you to calculate lengths in the 
12564 \family sans
12565 Width
12566 \family default
12567  field of the table dialog.
12568  Therefore you have to format the column by inserting a \SpecialChar LaTeX
12569 -argument in the
12570  dialog.
12571  Here is an overview about the arguments:
12572 \end_layout
12573
12574 \begin_layout Itemize
12575
12576 \series bold
12577 p{width}
12578 \series default
12579  creates cell with a fixed width, its text is vertically top-aligned
12580 \end_layout
12581
12582 \begin_layout Itemize
12583
12584 \series bold
12585 m{width}
12586 \series default
12587  creates cell with a fixed width, its text is vertically centered
12588 \end_layout
12589
12590 \begin_layout Itemize
12591
12592 \series bold
12593 b{width}
12594 \series default
12595  creates cell with a fixed width, its text is vertically bottom-aligned
12596 \end_layout
12597
12598 \begin_layout Standard
12599 By entering a \SpecialChar LaTeX
12600 -argument, all cell settings set in the table dialog are overwritt
12601 en.
12602 \end_layout
12603
12604 \begin_layout Standard
12605 \begin_inset Note Greyedout
12606 status open
12607
12608 \begin_layout Plain Layout
12609
12610 \series bold
12611 Note:
12612 \series default
12613  Due to a bug, \SpecialChar LyX
12614  shows the overwritten settings anyway.
12615 \end_layout
12616
12617 \end_inset
12618
12619
12620 \end_layout
12621
12622 \begin_layout Standard
12623 As the text should be horizontally centered, the command 
12624 \series bold
12625
12626 \backslash
12627 centering
12628 \series default
12629  is added.
12630  You can now enter the following \SpecialChar LaTeX
12631 -argument for the first spanned column:
12632 \end_layout
12633
12634 \begin_layout Standard
12635
12636 \series bold
12637 >{
12638 \backslash
12639 centering}m{1.25cm-6.2pt}
12640 \end_layout
12641
12642 \begin_layout Standard
12643 The command 
12644 \series bold
12645 >{ }
12646 \series default
12647  means, that the commands inside the braces are applied before the cell
12648  is created.
12649 \end_layout
12650
12651 \begin_layout Standard
12652 Although we have chosen centered alignment for the text of the multicolumn
12653  cell, it is still left aligned.
12654  This is because \SpecialChar LyX
12655  only applies the alignment to single columns.
12656  So for the multicolumn cell we have to use the \SpecialChar LaTeX
12657 -argument
12658 \end_layout
12659
12660 \begin_layout Standard
12661
12662 \series bold
12663 >{
12664 \backslash
12665 centering}m{2.5cm}
12666 \end_layout
12667
12668 \begin_layout Subsection
12669 Multirows
12670 \begin_inset CommandInset label
12671 LatexCommand label
12672 name "subsec:Multirows"
12673
12674 \end_inset
12675
12676
12677 \begin_inset Index idx
12678 status collapsed
12679
12680 \begin_layout Plain Layout
12681 Multirows
12682 \end_layout
12683
12684 \end_inset
12685
12686
12687 \begin_inset Index idx
12688 status collapsed
12689
12690 \begin_layout Plain Layout
12691 Table ! Multirows
12692 \end_layout
12693
12694 \end_inset
12695
12696
12697 \end_layout
12698
12699 \begin_layout Standard
12700 To merge cells over multiple rows, select as many cells within a column
12701  as you want to merge and use either the table-toolbar button 
12702 \begin_inset Info
12703 type  "icon"
12704 arg   "tabular-feature multirow"
12705 \end_inset
12706
12707 , or the menu 
12708 \family sans
12709 Edit\SpecialChar menuseparator
12710 Table\SpecialChar menuseparator
12711 Multirow
12712 \family default
12713 , or right click on the marked cells and choose 
12714 \family sans
12715 Multirow
12716 \family default
12717  in the context menu.
12718 \end_layout
12719
12720 \begin_layout Standard
12721 Here is an example table with a multirow in the first column:
12722 \end_layout
12723
12724 \begin_layout Standard
12725 \align center
12726 \begin_inset Tabular
12727 <lyxtabular version="3" rows="3" columns="3">
12728 <features tabularvalignment="middle">
12729 <column alignment="center" valignment="top" width="0pt">
12730 <column alignment="center" valignment="top">
12731 <column alignment="center" valignment="top">
12732 <row>
12733 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12734 \begin_inset Text
12735
12736 \begin_layout Plain Layout
12737 a long cell entry
12738 \end_layout
12739
12740 \end_inset
12741 </cell>
12742 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12743 \begin_inset Text
12744
12745 \begin_layout Plain Layout
12746 b
12747 \end_layout
12748
12749 \end_inset
12750 </cell>
12751 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12752 \begin_inset Text
12753
12754 \begin_layout Plain Layout
12755 c
12756 \end_layout
12757
12758 \end_inset
12759 </cell>
12760 </row>
12761 <row>
12762 <cell multirow="3" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12763 \begin_inset Text
12764
12765 \begin_layout Plain Layout
12766 multirow
12767 \end_layout
12768
12769 \end_inset
12770 </cell>
12771 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12772 \begin_inset Text
12773
12774 \begin_layout Plain Layout
12775 e
12776 \end_layout
12777
12778 \end_inset
12779 </cell>
12780 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12781 \begin_inset Text
12782
12783 \begin_layout Plain Layout
12784 f
12785 \end_layout
12786
12787 \end_inset
12788 </cell>
12789 </row>
12790 <row>
12791 <cell multirow="4" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12792 \begin_inset Text
12793
12794 \begin_layout Plain Layout
12795
12796 \end_layout
12797
12798 \end_inset
12799 </cell>
12800 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12801 \begin_inset Text
12802
12803 \begin_layout Plain Layout
12804 h
12805 \end_layout
12806
12807 \end_inset
12808 </cell>
12809 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12810 \begin_inset Text
12811
12812 \begin_layout Plain Layout
12813 i
12814 \end_layout
12815
12816 \end_inset
12817 </cell>
12818 </row>
12819 </lyxtabular>
12820
12821 \end_inset
12822
12823
12824 \end_layout
12825
12826 \begin_layout Standard
12827 The width of multirow cells is set by setting the width and alignment for
12828  the whole column.
12829  The 
12830 \family sans
12831 Vertical Offset
12832 \family default
12833  shifts the content of the multirow up/down if the offset is positive/negative.
12834 \end_layout
12835
12836 \begin_layout Standard
12837 If the column of a multirow cell has no explicit width, the multirow cell
12838  inherits the alignment of the column.
12839  Otherwise it is by default left-aligned.
12840  To override the default, renew the command 
12841 \series bold
12842
12843 \backslash
12844 multirowsetup
12845 \series default
12846  with the command
12847 \end_layout
12848
12849 \begin_layout Standard
12850
12851 \series bold
12852
12853 \backslash
12854 renewcommand{
12855 \backslash
12856 multirowsetup}{
12857 \backslash
12858 centering}
12859 \end_layout
12860
12861 \begin_layout Standard
12862 in the document preamble.
12863  Then all entries of multirow cells in the document are centered.
12864  If centering is only needed for several tables, you can renew the command
12865  in a \SpecialChar TeX
12866  Code box just before the table instead of the preamble.
12867  If the text should be right-aligned, replace 
12868 \series bold
12869
12870 \backslash
12871 centering
12872 \series default
12873  by 
12874 \series bold
12875
12876 \backslash
12877 raggedleft
12878 \series default
12879 .
12880  To return to left-alignment 
12881 \series bold
12882
12883 \backslash
12884 raggedright
12885 \series default
12886  is used.
12887 \end_layout
12888
12889 \begin_layout Standard
12890 This is an example table with a right-aligned multirow cell that has a vertical
12891  offset of -4
12892 \begin_inset space \thinspace{}
12893 \end_inset
12894
12895 mm and is in a 3
12896 \begin_inset space \thinspace{}
12897 \end_inset
12898
12899 cm wide column:
12900 \end_layout
12901
12902 \begin_layout Standard
12903 \noindent
12904 \align center
12905 \begin_inset ERT
12906 status collapsed
12907
12908 \begin_layout Plain Layout
12909
12910
12911 \backslash
12912 renewcommand{
12913 \backslash
12914 multirowsetup}{
12915 \backslash
12916 raggedleft}
12917 \end_layout
12918
12919 \end_inset
12920
12921
12922 \begin_inset Tabular
12923 <lyxtabular version="3" rows="4" columns="3">
12924 <features tabularvalignment="middle">
12925 <column alignment="center" valignment="top" width="3cm">
12926 <column alignment="center" valignment="top">
12927 <column alignment="center" valignment="top">
12928 <row>
12929 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12930 \begin_inset Text
12931
12932 \begin_layout Plain Layout
12933 a long cell entry
12934 \end_layout
12935
12936 \end_inset
12937 </cell>
12938 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12939 \begin_inset Text
12940
12941 \begin_layout Plain Layout
12942 b
12943 \end_layout
12944
12945 \end_inset
12946 </cell>
12947 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12948 \begin_inset Text
12949
12950 \begin_layout Plain Layout
12951 c
12952 \end_layout
12953
12954 \end_inset
12955 </cell>
12956 </row>
12957 <row>
12958 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12959 \begin_inset Text
12960
12961 \begin_layout Plain Layout
12962 t
12963 \end_layout
12964
12965 \end_inset
12966 </cell>
12967 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12968 \begin_inset Text
12969
12970 \begin_layout Plain Layout
12971 n
12972 \end_layout
12973
12974 \end_inset
12975 </cell>
12976 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12977 \begin_inset Text
12978
12979 \begin_layout Plain Layout
12980 m
12981 \end_layout
12982
12983 \end_inset
12984 </cell>
12985 </row>
12986 <row>
12987 <cell multirow="3" mroffset="-4mm" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12988 \begin_inset Text
12989
12990 \begin_layout Plain Layout
12991 multirow
12992 \end_layout
12993
12994 \end_inset
12995 </cell>
12996 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12997 \begin_inset Text
12998
12999 \begin_layout Plain Layout
13000 e
13001 \end_layout
13002
13003 \end_inset
13004 </cell>
13005 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13006 \begin_inset Text
13007
13008 \begin_layout Plain Layout
13009 f
13010 \end_layout
13011
13012 \end_inset
13013 </cell>
13014 </row>
13015 <row>
13016 <cell multirow="4" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13017 \begin_inset Text
13018
13019 \begin_layout Plain Layout
13020
13021 \end_layout
13022
13023 \end_inset
13024 </cell>
13025 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13026 \begin_inset Text
13027
13028 \begin_layout Plain Layout
13029 h
13030 \end_layout
13031
13032 \end_inset
13033 </cell>
13034 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13035 \begin_inset Text
13036
13037 \begin_layout Plain Layout
13038 i
13039 \end_layout
13040
13041 \end_inset
13042 </cell>
13043 </row>
13044 </lyxtabular>
13045
13046 \end_inset
13047
13048
13049 \begin_inset ERT
13050 status collapsed
13051
13052 \begin_layout Plain Layout
13053
13054
13055 \backslash
13056 renewcommand{
13057 \backslash
13058 multirowsetup}{
13059 \backslash
13060 raggedright}
13061 \end_layout
13062
13063 \end_inset
13064
13065
13066 \end_layout
13067
13068 \begin_layout Standard
13069 To start a new line in a multirow you can use a forced line break (shortcut
13070  
13071 \begin_inset Info
13072 type  "shortcut"
13073 arg   "newline-insert newline"
13074 \end_inset
13075
13076 ) but this will not respect the cell lines as demonstrated in this table:
13077 \end_layout
13078
13079 \begin_layout Standard
13080 \noindent
13081 \align center
13082 \begin_inset Tabular
13083 <lyxtabular version="3" rows="3" columns="2">
13084 <features tabularvalignment="middle">
13085 <column alignment="left" valignment="middle" width="2cm">
13086 <column alignment="center" valignment="top">
13087 <row>
13088 <cell multirow="3" alignment="left" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
13089 \begin_inset Text
13090
13091 \begin_layout Plain Layout
13092 aaa
13093 \begin_inset Newline newline
13094 \end_inset
13095
13096 aaa
13097 \begin_inset Newline newline
13098 \end_inset
13099
13100 wrong cell
13101 \end_layout
13102
13103 \end_inset
13104 </cell>
13105 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13106 \begin_inset Text
13107
13108 \begin_layout Plain Layout
13109 ccc
13110 \end_layout
13111
13112 \end_inset
13113 </cell>
13114 </row>
13115 <row>
13116 <cell multirow="4" alignment="left" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
13117 \begin_inset Text
13118
13119 \begin_layout Plain Layout
13120
13121 \end_layout
13122
13123 \end_inset
13124 </cell>
13125 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13126 \begin_inset Text
13127
13128 \begin_layout Plain Layout
13129 ddd
13130 \end_layout
13131
13132 \end_inset
13133 </cell>
13134 </row>
13135 <row>
13136 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13137 \begin_inset Text
13138
13139 \begin_layout Plain Layout
13140 bbb
13141 \end_layout
13142
13143 \end_inset
13144 </cell>
13145 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13146 \begin_inset Text
13147
13148 \begin_layout Plain Layout
13149 eee
13150 \end_layout
13151
13152 \end_inset
13153 </cell>
13154 </row>
13155 </lyxtabular>
13156
13157 \end_inset
13158
13159
13160 \end_layout
13161
13162 \begin_layout Standard
13163 Therefore be careful with forced line breaks.
13164 \end_layout
13165
13166 \begin_layout Subsection
13167 Cells with diagonal line(s)
13168 \end_layout
13169
13170 \begin_layout Standard
13171 To tell the reader what is meant by column and row headings in a table,
13172  it is helpful to split the first cell of the table by one or two diagonal
13173  lines.
13174  This can be achieved by loading the \SpecialChar LaTeX
13175  package 
13176 \series bold
13177 diagbox
13178 \series default
13179
13180 \begin_inset Index idx
13181 status collapsed
13182
13183 \begin_layout Plain Layout
13184 \SpecialChar LaTeX
13185 -packages ! picinpar
13186 \end_layout
13187
13188 \end_inset
13189
13190  in the document preamble.
13191  The package provides the command 
13192 \series bold
13193
13194 \backslash
13195 diagbox
13196 \series default
13197  that is inserted as \SpecialChar TeX
13198  Code and that can take 2 or 3
13199 \begin_inset space ~
13200 \end_inset
13201
13202 arguments:
13203 \end_layout
13204
13205 \begin_layout Standard
13206
13207 \series bold
13208
13209 \backslash
13210 diagbox[options]{lower left}{upper right}
13211 \end_layout
13212
13213 \begin_layout Standard
13214
13215 \series bold
13216
13217 \backslash
13218 diagbox[options]{lower left}{upper left}{upper right}
13219 \end_layout
13220
13221 \begin_layout Standard
13222 The first scheme divides the cell by a single diagonal line and the arguments
13223  are placed below and above this line.
13224  The second scheme divides the cell by 2
13225 \begin_inset space ~
13226 \end_inset
13227
13228 lines.
13229 \end_layout
13230
13231 \begin_layout Standard
13232 \begin_inset ERT
13233 status collapsed
13234
13235 \begin_layout Plain Layout
13236
13237
13238 \backslash
13239 ifdiagbox
13240 \end_layout
13241
13242 \end_inset
13243
13244
13245 \begin_inset Note Note
13246 status open
13247
13248 \begin_layout Plain Layout
13249 The following section will only be displayed when the \SpecialChar LaTeX
13250 -package 
13251 \series bold
13252 diagbox
13253 \series default
13254  is installed.
13255 \end_layout
13256
13257 \end_inset
13258
13259
13260 \end_layout
13261
13262 \begin_layout Standard
13263 Here is an example table where 
13264 \series bold
13265
13266 \backslash
13267 diagbox 
13268 \series default
13269 is used in the 2-argument scheme in the first cell:
13270 \begin_inset VSpace medskip
13271 \end_inset
13272
13273
13274 \end_layout
13275
13276 \begin_layout Standard
13277 \noindent
13278 \begin_inset Tabular
13279 <lyxtabular version="3" rows="4" columns="4">
13280 <features tabularvalignment="middle">
13281 <column alignment="center" valignment="top">
13282 <column alignment="center" valignment="top">
13283 <column alignment="center" valignment="top">
13284 <column alignment="center" valignment="top">
13285 <row>
13286 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13287 \begin_inset Text
13288
13289 \begin_layout Plain Layout
13290 \begin_inset ERT
13291 status collapsed
13292
13293 \begin_layout Plain Layout
13294
13295
13296 \backslash
13297 diagbox{
13298 \end_layout
13299
13300 \end_inset
13301
13302 Name
13303 \begin_inset ERT
13304 status collapsed
13305
13306 \begin_layout Plain Layout
13307
13308 }{
13309 \end_layout
13310
13311 \end_inset
13312
13313 Parameter
13314 \begin_inset ERT
13315 status collapsed
13316
13317 \begin_layout Plain Layout
13318
13319 }
13320 \end_layout
13321
13322 \end_inset
13323
13324
13325 \end_layout
13326
13327 \end_inset
13328 </cell>
13329 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13330 \begin_inset Text
13331
13332 \begin_layout Plain Layout
13333 Thickness in nm
13334 \end_layout
13335
13336 \end_inset
13337 </cell>
13338 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13339 \begin_inset Text
13340
13341 \begin_layout Plain Layout
13342 Transparency in %
13343 \end_layout
13344
13345 \end_inset
13346 </cell>
13347 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13348 \begin_inset Text
13349
13350 \begin_layout Plain Layout
13351 Hardness in MPa
13352 \end_layout
13353
13354 \end_inset
13355 </cell>
13356 </row>
13357 <row>
13358 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13359 \begin_inset Text
13360
13361 \begin_layout Plain Layout
13362 Perfect Green
13363 \end_layout
13364
13365 \end_inset
13366 </cell>
13367 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13368 \begin_inset Text
13369
13370 \begin_layout Plain Layout
13371 45
13372 \end_layout
13373
13374 \end_inset
13375 </cell>
13376 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13377 \begin_inset Text
13378
13379 \begin_layout Plain Layout
13380 80
13381 \end_layout
13382
13383 \end_inset
13384 </cell>
13385 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13386 \begin_inset Text
13387
13388 \begin_layout Plain Layout
13389 504
13390 \end_layout
13391
13392 \end_inset
13393 </cell>
13394 </row>
13395 <row>
13396 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13397 \begin_inset Text
13398
13399 \begin_layout Plain Layout
13400 Dark Multi-P
13401 \end_layout
13402
13403 \end_inset
13404 </cell>
13405 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13406 \begin_inset Text
13407
13408 \begin_layout Plain Layout
13409 60
13410 \end_layout
13411
13412 \end_inset
13413 </cell>
13414 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13415 \begin_inset Text
13416
13417 \begin_layout Plain Layout
13418 72
13419 \end_layout
13420
13421 \end_inset
13422 </cell>
13423 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13424 \begin_inset Text
13425
13426 \begin_layout Plain Layout
13427 982
13428 \end_layout
13429
13430 \end_inset
13431 </cell>
13432 </row>
13433 <row>
13434 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13435 \begin_inset Text
13436
13437 \begin_layout Plain Layout
13438 Crystal Clear Pro
13439 \end_layout
13440
13441 \end_inset
13442 </cell>
13443 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13444 \begin_inset Text
13445
13446 \begin_layout Plain Layout
13447 18
13448 \end_layout
13449
13450 \end_inset
13451 </cell>
13452 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13453 \begin_inset Text
13454
13455 \begin_layout Plain Layout
13456 86
13457 \end_layout
13458
13459 \end_inset
13460 </cell>
13461 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13462 \begin_inset Text
13463
13464 \begin_layout Plain Layout
13465 374
13466 \end_layout
13467
13468 \end_inset
13469 </cell>
13470 </row>
13471 </lyxtabular>
13472
13473 \end_inset
13474
13475
13476 \begin_inset VSpace medskip
13477 \end_inset
13478
13479
13480 \end_layout
13481
13482 \begin_layout Standard
13483 The 3-argument scheme is for example useful for cross-tables of sports leagues
13484  or distances:
13485 \end_layout
13486
13487 \begin_layout Standard
13488 \noindent
13489 \align center
13490 \begin_inset Tabular
13491 <lyxtabular version="3" rows="4" columns="4">
13492 <features tabularvalignment="middle">
13493 <column alignment="center" valignment="top" width="0pt">
13494 <column alignment="center" valignment="top">
13495 <column alignment="center" valignment="top">
13496 <column alignment="center" valignment="top">
13497 <row>
13498 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13499 \begin_inset Text
13500
13501 \begin_layout Plain Layout
13502 \begin_inset ERT
13503 status collapsed
13504
13505 \begin_layout Plain Layout
13506
13507
13508 \backslash
13509 diagbox{
13510 \end_layout
13511
13512 \end_inset
13513
13514 Team home
13515 \begin_inset ERT
13516 status collapsed
13517
13518 \begin_layout Plain Layout
13519
13520 }{
13521 \end_layout
13522
13523 \end_inset
13524
13525 Result
13526 \begin_inset ERT
13527 status collapsed
13528
13529 \begin_layout Plain Layout
13530
13531 }{
13532 \end_layout
13533
13534 \end_inset
13535
13536 Team away
13537 \begin_inset ERT
13538 status collapsed
13539
13540 \begin_layout Plain Layout
13541
13542 }
13543 \end_layout
13544
13545 \end_inset
13546
13547
13548 \end_layout
13549
13550 \end_inset
13551 </cell>
13552 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13553 \begin_inset Text
13554
13555 \begin_layout Plain Layout
13556 Tigers
13557 \end_layout
13558
13559 \end_inset
13560 </cell>
13561 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13562 \begin_inset Text
13563
13564 \begin_layout Plain Layout
13565 Panthers
13566 \end_layout
13567
13568 \end_inset
13569 </cell>
13570 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13571 \begin_inset Text
13572
13573 \begin_layout Plain Layout
13574 Falcons
13575 \end_layout
13576
13577 \end_inset
13578 </cell>
13579 </row>
13580 <row>
13581 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13582 \begin_inset Text
13583
13584 \begin_layout Plain Layout
13585 Tigers
13586 \end_layout
13587
13588 \end_inset
13589 </cell>
13590 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13591 \begin_inset Text
13592
13593 \begin_layout Plain Layout
13594
13595 \end_layout
13596
13597 \end_inset
13598 </cell>
13599 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13600 \begin_inset Text
13601
13602 \begin_layout Plain Layout
13603 1:3
13604 \end_layout
13605
13606 \end_inset
13607 </cell>
13608 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13609 \begin_inset Text
13610
13611 \begin_layout Plain Layout
13612 0:1
13613 \end_layout
13614
13615 \end_inset
13616 </cell>
13617 </row>
13618 <row>
13619 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13620 \begin_inset Text
13621
13622 \begin_layout Plain Layout
13623 Panthers
13624 \end_layout
13625
13626 \end_inset
13627 </cell>
13628 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13629 \begin_inset Text
13630
13631 \begin_layout Plain Layout
13632 3:1
13633 \end_layout
13634
13635 \end_inset
13636 </cell>
13637 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13638 \begin_inset Text
13639
13640 \begin_layout Plain Layout
13641
13642 \end_layout
13643
13644 \end_inset
13645 </cell>
13646 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13647 \begin_inset Text
13648
13649 \begin_layout Plain Layout
13650 0:0
13651 \end_layout
13652
13653 \end_inset
13654 </cell>
13655 </row>
13656 <row>
13657 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13658 \begin_inset Text
13659
13660 \begin_layout Plain Layout
13661 Falcons
13662 \end_layout
13663
13664 \end_inset
13665 </cell>
13666 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13667 \begin_inset Text
13668
13669 \begin_layout Plain Layout
13670 1:0
13671 \end_layout
13672
13673 \end_inset
13674 </cell>
13675 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13676 \begin_inset Text
13677
13678 \begin_layout Plain Layout
13679 0:0
13680 \end_layout
13681
13682 \end_inset
13683 </cell>
13684 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13685 \begin_inset Text
13686
13687 \begin_layout Plain Layout
13688
13689 \end_layout
13690
13691 \end_inset
13692 </cell>
13693 </row>
13694 </lyxtabular>
13695
13696 \end_inset
13697
13698
13699 \end_layout
13700
13701 \begin_layout Standard
13702 For larger cross-tables one might use split cells in 2 or every corner of
13703  the table like in this example:
13704 \end_layout
13705
13706 \begin_layout Standard
13707 \noindent
13708 \align center
13709 \begin_inset Tabular
13710 <lyxtabular version="3" rows="5" columns="5">
13711 <features tabularvalignment="middle">
13712 <column alignment="center" valignment="top" width="0pt">
13713 <column alignment="center" valignment="top">
13714 <column alignment="center" valignment="top">
13715 <column alignment="center" valignment="top">
13716 <column alignment="center" valignment="top">
13717 <row>
13718 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13719 \begin_inset Text
13720
13721 \begin_layout Plain Layout
13722 \begin_inset ERT
13723 status open
13724
13725 \begin_layout Plain Layout
13726
13727
13728 \backslash
13729 diagbox{
13730 \end_layout
13731
13732 \end_inset
13733
13734 Team home
13735 \begin_inset ERT
13736 status collapsed
13737
13738 \begin_layout Plain Layout
13739
13740 }{
13741 \end_layout
13742
13743 \end_inset
13744
13745 Result
13746 \begin_inset ERT
13747 status collapsed
13748
13749 \begin_layout Plain Layout
13750
13751 }{
13752 \end_layout
13753
13754 \end_inset
13755
13756 Team away
13757 \begin_inset ERT
13758 status collapsed
13759
13760 \begin_layout Plain Layout
13761
13762 }
13763 \end_layout
13764
13765 \end_inset
13766
13767
13768 \end_layout
13769
13770 \end_inset
13771 </cell>
13772 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13773 \begin_inset Text
13774
13775 \begin_layout Plain Layout
13776 Tigers
13777 \end_layout
13778
13779 \end_inset
13780 </cell>
13781 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13782 \begin_inset Text
13783
13784 \begin_layout Plain Layout
13785 Panthers
13786 \end_layout
13787
13788 \end_inset
13789 </cell>
13790 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13791 \begin_inset Text
13792
13793 \begin_layout Plain Layout
13794 Falcons
13795 \end_layout
13796
13797 \end_inset
13798 </cell>
13799 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
13800 \begin_inset Text
13801
13802 \begin_layout Plain Layout
13803 \begin_inset ERT
13804 status open
13805
13806 \begin_layout Plain Layout
13807
13808
13809 \backslash
13810 diagbox[dir=NE]{
13811 \end_layout
13812
13813 \end_inset
13814
13815 Team home
13816 \begin_inset ERT
13817 status collapsed
13818
13819 \begin_layout Plain Layout
13820
13821 }{
13822 \end_layout
13823
13824 \end_inset
13825
13826 Result
13827 \begin_inset ERT
13828 status collapsed
13829
13830 \begin_layout Plain Layout
13831
13832 }{
13833 \end_layout
13834
13835 \end_inset
13836
13837 Team away
13838 \begin_inset ERT
13839 status collapsed
13840
13841 \begin_layout Plain Layout
13842
13843 }
13844 \end_layout
13845
13846 \end_inset
13847
13848
13849 \end_layout
13850
13851 \end_inset
13852 </cell>
13853 </row>
13854 <row>
13855 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13856 \begin_inset Text
13857
13858 \begin_layout Plain Layout
13859 Tigers
13860 \end_layout
13861
13862 \end_inset
13863 </cell>
13864 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13865 \begin_inset Text
13866
13867 \begin_layout Plain Layout
13868
13869 \end_layout
13870
13871 \end_inset
13872 </cell>
13873 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13874 \begin_inset Text
13875
13876 \begin_layout Plain Layout
13877 1:3
13878 \end_layout
13879
13880 \end_inset
13881 </cell>
13882 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13883 \begin_inset Text
13884
13885 \begin_layout Plain Layout
13886 0:1
13887 \end_layout
13888
13889 \end_inset
13890 </cell>
13891 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
13892 \begin_inset Text
13893
13894 \begin_layout Plain Layout
13895 Tigers
13896 \end_layout
13897
13898 \end_inset
13899 </cell>
13900 </row>
13901 <row>
13902 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13903 \begin_inset Text
13904
13905 \begin_layout Plain Layout
13906 Panthers
13907 \end_layout
13908
13909 \end_inset
13910 </cell>
13911 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13912 \begin_inset Text
13913
13914 \begin_layout Plain Layout
13915 3:1
13916 \end_layout
13917
13918 \end_inset
13919 </cell>
13920 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13921 \begin_inset Text
13922
13923 \begin_layout Plain Layout
13924
13925 \end_layout
13926
13927 \end_inset
13928 </cell>
13929 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13930 \begin_inset Text
13931
13932 \begin_layout Plain Layout
13933 0:0
13934 \end_layout
13935
13936 \end_inset
13937 </cell>
13938 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
13939 \begin_inset Text
13940
13941 \begin_layout Plain Layout
13942 Panthers
13943 \end_layout
13944
13945 \end_inset
13946 </cell>
13947 </row>
13948 <row>
13949 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13950 \begin_inset Text
13951
13952 \begin_layout Plain Layout
13953 Falcons
13954 \end_layout
13955
13956 \end_inset
13957 </cell>
13958 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13959 \begin_inset Text
13960
13961 \begin_layout Plain Layout
13962 1:0
13963 \end_layout
13964
13965 \end_inset
13966 </cell>
13967 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13968 \begin_inset Text
13969
13970 \begin_layout Plain Layout
13971 0:0
13972 \end_layout
13973
13974 \end_inset
13975 </cell>
13976 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13977 \begin_inset Text
13978
13979 \begin_layout Plain Layout
13980
13981 \end_layout
13982
13983 \end_inset
13984 </cell>
13985 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
13986 \begin_inset Text
13987
13988 \begin_layout Plain Layout
13989 Falcons
13990 \end_layout
13991
13992 \end_inset
13993 </cell>
13994 </row>
13995 <row>
13996 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13997 \begin_inset Text
13998
13999 \begin_layout Plain Layout
14000 \begin_inset ERT
14001 status open
14002
14003 \begin_layout Plain Layout
14004
14005
14006 \backslash
14007 diagbox[dir=SW]{
14008 \end_layout
14009
14010 \end_inset
14011
14012 Team home
14013 \begin_inset ERT
14014 status collapsed
14015
14016 \begin_layout Plain Layout
14017
14018 }{
14019 \end_layout
14020
14021 \end_inset
14022
14023 Result
14024 \begin_inset ERT
14025 status collapsed
14026
14027 \begin_layout Plain Layout
14028
14029 }{
14030 \end_layout
14031
14032 \end_inset
14033
14034 Team away
14035 \begin_inset ERT
14036 status collapsed
14037
14038 \begin_layout Plain Layout
14039
14040 }
14041 \end_layout
14042
14043 \end_inset
14044
14045
14046 \end_layout
14047
14048 \end_inset
14049 </cell>
14050 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14051 \begin_inset Text
14052
14053 \begin_layout Plain Layout
14054 Tigers
14055 \end_layout
14056
14057 \end_inset
14058 </cell>
14059 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14060 \begin_inset Text
14061
14062 \begin_layout Plain Layout
14063 Panthers
14064 \end_layout
14065
14066 \end_inset
14067 </cell>
14068 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14069 \begin_inset Text
14070
14071 \begin_layout Plain Layout
14072 Falcons
14073 \end_layout
14074
14075 \end_inset
14076 </cell>
14077 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
14078 \begin_inset Text
14079
14080 \begin_layout Plain Layout
14081 \begin_inset ERT
14082 status open
14083
14084 \begin_layout Plain Layout
14085
14086
14087 \backslash
14088 diagbox[dir=SE]{
14089 \end_layout
14090
14091 \end_inset
14092
14093 Team home
14094 \begin_inset ERT
14095 status collapsed
14096
14097 \begin_layout Plain Layout
14098
14099 }{
14100 \end_layout
14101
14102 \end_inset
14103
14104 Result
14105 \begin_inset ERT
14106 status collapsed
14107
14108 \begin_layout Plain Layout
14109
14110 }{
14111 \end_layout
14112
14113 \end_inset
14114
14115 Team away
14116 \begin_inset ERT
14117 status collapsed
14118
14119 \begin_layout Plain Layout
14120
14121 }
14122 \end_layout
14123
14124 \end_inset
14125
14126
14127 \end_layout
14128
14129 \end_inset
14130 </cell>
14131 </row>
14132 </lyxtabular>
14133
14134 \end_inset
14135
14136
14137 \end_layout
14138
14139 \begin_layout Standard
14140 To rotate the diagonal lines, the command option 
14141 \series bold
14142 dir=direction
14143 \series default
14144  is used.
14145  
14146 \emph on
14147 direction
14148 \emph default
14149  is either 
14150 \series bold
14151 NE
14152 \series default
14153
14154 \series bold
14155 SE
14156 \series default
14157
14158 \series bold
14159 SW
14160 \series default
14161  or 
14162 \series bold
14163 NW
14164 \series default
14165  and represent a point of a compass.
14166  
14167 \series bold
14168 SW
14169 \series default
14170  is for example the south-west corner.
14171  Thus in the lower left cell of the above table the command
14172 \end_layout
14173
14174 \begin_layout Standard
14175
14176 \series bold
14177
14178 \backslash
14179 diagbox[dir=SW]{Team home}{Result}{Team away}
14180 \end_layout
14181
14182 \begin_layout Standard
14183 is used.
14184  If no direction is given, it will be NW.
14185 \end_layout
14186
14187 \begin_layout Standard
14188 The necessary width of split cells is automatically calculated.
14189  Thus if you set a fixed column width smaller than the calculated one, the
14190  cell's content will protrude the cell borders:
14191 \end_layout
14192
14193 \begin_layout Standard
14194 \noindent
14195 \align center
14196 \begin_inset Tabular
14197 <lyxtabular version="3" rows="2" columns="2">
14198 <features tabularvalignment="middle">
14199 <column alignment="center" valignment="top" width="3cm">
14200 <column alignment="center" valignment="top">
14201 <row>
14202 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14203 \begin_inset Text
14204
14205 \begin_layout Plain Layout
14206 \begin_inset ERT
14207 status collapsed
14208
14209 \begin_layout Plain Layout
14210
14211
14212 \backslash
14213 diagbox{
14214 \end_layout
14215
14216 \end_inset
14217
14218 Name
14219 \begin_inset ERT
14220 status collapsed
14221
14222 \begin_layout Plain Layout
14223
14224 }{
14225 \end_layout
14226
14227 \end_inset
14228
14229 Parameter
14230 \begin_inset ERT
14231 status collapsed
14232
14233 \begin_layout Plain Layout
14234
14235 }
14236 \end_layout
14237
14238 \end_inset
14239
14240
14241 \end_layout
14242
14243 \end_inset
14244 </cell>
14245 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14246 \begin_inset Text
14247
14248 \begin_layout Plain Layout
14249 Thickness in nm
14250 \end_layout
14251
14252 \end_inset
14253 </cell>
14254 </row>
14255 <row>
14256 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14257 \begin_inset Text
14258
14259 \begin_layout Plain Layout
14260 Perfect Green
14261 \end_layout
14262
14263 \end_inset
14264 </cell>
14265 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14266 \begin_inset Text
14267
14268 \begin_layout Plain Layout
14269 45
14270 \end_layout
14271
14272 \end_inset
14273 </cell>
14274 </row>
14275 </lyxtabular>
14276
14277 \end_inset
14278
14279
14280 \end_layout
14281
14282 \begin_layout Standard
14283 If you need a certain width for columns with a split cell, use the command
14284  option 
14285 \series bold
14286 width=3cm
14287 \series default
14288  (replace '3cm' by the width you need).
14289  In the following table the width of the first column is set to 4
14290 \begin_inset space \thinspace{}
14291 \end_inset
14292
14293 cm.
14294  For 
14295 \series bold
14296
14297 \backslash
14298 diagbox
14299 \series default
14300  a width of 4
14301 \begin_inset space \thinspace{}
14302 \end_inset
14303
14304 cm + 2
14305 \begin_inset space \thinspace{}
14306 \end_inset
14307
14308
14309 \backslash
14310 tabcolsep is necessary because the overall width is the width for the text
14311  (in this case the 4
14312 \begin_inset space \thinspace{}
14313 \end_inset
14314
14315 cm) plus two times the separation of the text and the cell border.
14316  The calculation of the width cannot be done in the command option of 
14317 \series bold
14318
14319 \backslash
14320 diagbox
14321 \series default
14322  so one needs to create a new length which can be used later.
14323  This is done with the \SpecialChar TeX
14324  Code commands
14325 \end_layout
14326
14327 \begin_layout Standard
14328
14329 \series bold
14330
14331 \backslash
14332 newlength{
14333 \backslash
14334 diagtest}
14335 \begin_inset Newline newline
14336 \end_inset
14337
14338
14339 \backslash
14340 setlength{
14341 \backslash
14342 diagtest}{4cm+2
14343 \backslash
14344 tabcolsep}
14345 \end_layout
14346
14347 \begin_layout Standard
14348 \begin_inset ERT
14349 status collapsed
14350
14351 \begin_layout Plain Layout
14352
14353
14354 \backslash
14355 newlength{
14356 \backslash
14357 diagtest}
14358 \end_layout
14359
14360 \begin_layout Plain Layout
14361
14362
14363 \backslash
14364 setlength{
14365 \backslash
14366 diagtest}{4cm+2
14367 \backslash
14368 tabcolsep}
14369 \end_layout
14370
14371 \end_inset
14372
14373
14374 \end_layout
14375
14376 \begin_layout Standard
14377 To enable calculations in \SpecialChar LaTeX
14378  one needs to load the package 
14379 \series bold
14380 calc
14381 \series default
14382
14383 \begin_inset Index idx
14384 status collapsed
14385
14386 \begin_layout Plain Layout
14387 \SpecialChar LaTeX
14388 -packages ! calc
14389 \end_layout
14390
14391 \end_inset
14392
14393  in the document preamble.
14394 \end_layout
14395
14396 \begin_layout Standard
14397 In this table you can now use the command
14398 \end_layout
14399
14400 \begin_layout Standard
14401
14402 \series bold
14403
14404 \backslash
14405 diagbox[width=
14406 \backslash
14407 diagtest]{A}{B}
14408 \end_layout
14409
14410 \begin_layout Standard
14411 in the first cell:
14412 \end_layout
14413
14414 \begin_layout Standard
14415 \noindent
14416 \align center
14417 \begin_inset Tabular
14418 <lyxtabular version="3" rows="2" columns="2">
14419 <features tabularvalignment="middle">
14420 <column alignment="center" valignment="top" width="4cm">
14421 <column alignment="center" valignment="top">
14422 <row>
14423 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14424 \begin_inset Text
14425
14426 \begin_layout Plain Layout
14427 \begin_inset ERT
14428 status open
14429
14430 \begin_layout Plain Layout
14431
14432
14433 \backslash
14434 diagbox[width=
14435 \backslash
14436 diagtest]{
14437 \end_layout
14438
14439 \end_inset
14440
14441 A
14442 \begin_inset ERT
14443 status collapsed
14444
14445 \begin_layout Plain Layout
14446
14447 }{
14448 \end_layout
14449
14450 \end_inset
14451
14452 B
14453 \begin_inset ERT
14454 status collapsed
14455
14456 \begin_layout Plain Layout
14457
14458 }
14459 \end_layout
14460
14461 \end_inset
14462
14463
14464 \end_layout
14465
14466 \end_inset
14467 </cell>
14468 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14469 \begin_inset Text
14470
14471 \begin_layout Plain Layout
14472 Thickness in nm
14473 \end_layout
14474
14475 \end_inset
14476 </cell>
14477 </row>
14478 <row>
14479 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14480 \begin_inset Text
14481
14482 \begin_layout Plain Layout
14483 Perfect Green
14484 \end_layout
14485
14486 \end_inset
14487 </cell>
14488 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14489 \begin_inset Text
14490
14491 \begin_layout Plain Layout
14492 45
14493 \end_layout
14494
14495 \end_inset
14496 </cell>
14497 </row>
14498 </lyxtabular>
14499
14500 \end_inset
14501
14502
14503 \end_layout
14504
14505 \begin_layout Standard
14506 Note that the split cell needs to be the widest one in the column.
14507  Otherwise the length of the diagonal line cannot be calculated correctly
14508  like in this table:
14509 \end_layout
14510
14511 \begin_layout Standard
14512 \noindent
14513 \align center
14514 \begin_inset Tabular
14515 <lyxtabular version="3" rows="2" columns="2">
14516 <features tabularvalignment="middle">
14517 <column alignment="center" valignment="top" width="0pt">
14518 <column alignment="center" valignment="top">
14519 <row>
14520 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14521 \begin_inset Text
14522
14523 \begin_layout Plain Layout
14524 \begin_inset ERT
14525 status collapsed
14526
14527 \begin_layout Plain Layout
14528
14529
14530 \backslash
14531 diagbox{
14532 \end_layout
14533
14534 \end_inset
14535
14536 A
14537 \begin_inset ERT
14538 status collapsed
14539
14540 \begin_layout Plain Layout
14541
14542 }{
14543 \end_layout
14544
14545 \end_inset
14546
14547 B
14548 \begin_inset ERT
14549 status collapsed
14550
14551 \begin_layout Plain Layout
14552
14553 }
14554 \end_layout
14555
14556 \end_inset
14557
14558
14559 \end_layout
14560
14561 \end_inset
14562 </cell>
14563 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14564 \begin_inset Text
14565
14566 \begin_layout Plain Layout
14567 Thickness in nm
14568 \end_layout
14569
14570 \end_inset
14571 </cell>
14572 </row>
14573 <row>
14574 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14575 \begin_inset Text
14576
14577 \begin_layout Plain Layout
14578 Perfect Green
14579 \end_layout
14580
14581 \end_inset
14582 </cell>
14583 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14584 \begin_inset Text
14585
14586 \begin_layout Plain Layout
14587 45
14588 \end_layout
14589
14590 \end_inset
14591 </cell>
14592 </row>
14593 </lyxtabular>
14594
14595 \end_inset
14596
14597
14598 \end_layout
14599
14600 \begin_layout Standard
14601 In this case use the 
14602 \series bold
14603 width
14604 \series default
14605  option of the 
14606 \series bold
14607
14608 \backslash
14609 diagbox
14610 \series default
14611  command.
14612  It is then not necessary to add 2
14613 \backslash
14614 tabcolsep because the cell width is now the width of the column.
14615  In this table a width of 3
14616 \begin_inset space \thinspace{}
14617 \end_inset
14618
14619 cm is used:
14620 \end_layout
14621
14622 \begin_layout Standard
14623 \noindent
14624 \align center
14625 \begin_inset Tabular
14626 <lyxtabular version="3" rows="2" columns="2">
14627 <features tabularvalignment="middle">
14628 <column alignment="center" valignment="top" width="0pt">
14629 <column alignment="center" valignment="top">
14630 <row>
14631 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14632 \begin_inset Text
14633
14634 \begin_layout Plain Layout
14635 \begin_inset ERT
14636 status open
14637
14638 \begin_layout Plain Layout
14639
14640
14641 \backslash
14642 diagbox[width=3cm]{
14643 \end_layout
14644
14645 \end_inset
14646
14647 A
14648 \begin_inset ERT
14649 status collapsed
14650
14651 \begin_layout Plain Layout
14652
14653 }{
14654 \end_layout
14655
14656 \end_inset
14657
14658 B
14659 \begin_inset ERT
14660 status collapsed
14661
14662 \begin_layout Plain Layout
14663
14664 }
14665 \end_layout
14666
14667 \end_inset
14668
14669
14670 \end_layout
14671
14672 \end_inset
14673 </cell>
14674 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14675 \begin_inset Text
14676
14677 \begin_layout Plain Layout
14678 Thickness in nm
14679 \end_layout
14680
14681 \end_inset
14682 </cell>
14683 </row>
14684 <row>
14685 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14686 \begin_inset Text
14687
14688 \begin_layout Plain Layout
14689 Perfect Green
14690 \end_layout
14691
14692 \end_inset
14693 </cell>
14694 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14695 \begin_inset Text
14696
14697 \begin_layout Plain Layout
14698 45
14699 \end_layout
14700
14701 \end_inset
14702 </cell>
14703 </row>
14704 </lyxtabular>
14705
14706 \end_inset
14707
14708
14709 \end_layout
14710
14711 \begin_layout Standard
14712 For multiple text lines in split cells one needs some extra height to fit
14713  the text to the cell.
14714  This can be achieved with the 
14715 \series bold
14716
14717 \backslash
14718 diagbox
14719 \series default
14720  option 
14721 \series bold
14722 height=3cm
14723 \series default
14724  (replace '3cm' by the height you need).
14725  In the following table the command
14726 \end_layout
14727
14728 \begin_layout Standard
14729
14730 \series bold
14731
14732 \backslash
14733 diagbox[width=3cm,height=1.4cm]{A
14734 \backslash
14735
14736 \backslash
14737 B}{C
14738 \backslash
14739
14740 \backslash
14741 D}
14742 \end_layout
14743
14744 \begin_layout Standard
14745 is used in the first cell.
14746  The command 
14747 \series bold
14748
14749 \backslash
14750
14751 \backslash
14752
14753 \series default
14754  creates hereby the line break.
14755 \begin_inset Foot
14756 status collapsed
14757
14758 \begin_layout Plain Layout
14759 Breaking lines with 
14760 \family sans
14761 Ctrl+Return
14762 \family default
14763  is only possible when the column has a fixed width.
14764 \end_layout
14765
14766 \end_inset
14767
14768
14769 \end_layout
14770
14771 \begin_layout Standard
14772 \noindent
14773 \align center
14774 \begin_inset Tabular
14775 <lyxtabular version="3" rows="2" columns="2">
14776 <features tabularvalignment="middle">
14777 <column alignment="center" valignment="top">
14778 <column alignment="center" valignment="top">
14779 <row>
14780 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14781 \begin_inset Text
14782
14783 \begin_layout Plain Layout
14784 \begin_inset ERT
14785 status open
14786
14787 \begin_layout Plain Layout
14788
14789
14790 \backslash
14791 diagbox[width=3cm,height=1.4cm]{
14792 \end_layout
14793
14794 \end_inset
14795
14796 A
14797 \begin_inset ERT
14798 status collapsed
14799
14800 \begin_layout Plain Layout
14801
14802
14803 \backslash
14804
14805 \backslash
14806
14807 \end_layout
14808
14809 \end_inset
14810
14811 B
14812 \begin_inset ERT
14813 status collapsed
14814
14815 \begin_layout Plain Layout
14816
14817 }{
14818 \end_layout
14819
14820 \end_inset
14821
14822 C
14823 \begin_inset ERT
14824 status collapsed
14825
14826 \begin_layout Plain Layout
14827
14828
14829 \backslash
14830
14831 \backslash
14832
14833 \end_layout
14834
14835 \end_inset
14836
14837 D
14838 \begin_inset ERT
14839 status collapsed
14840
14841 \begin_layout Plain Layout
14842
14843 }
14844 \end_layout
14845
14846 \end_inset
14847
14848
14849 \end_layout
14850
14851 \end_inset
14852 </cell>
14853 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14854 \begin_inset Text
14855
14856 \begin_layout Plain Layout
14857 Thickness in nm
14858 \end_layout
14859
14860 \end_inset
14861 </cell>
14862 </row>
14863 <row>
14864 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14865 \begin_inset Text
14866
14867 \begin_layout Plain Layout
14868 Perfect Green
14869 \end_layout
14870
14871 \end_inset
14872 </cell>
14873 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14874 \begin_inset Text
14875
14876 \begin_layout Plain Layout
14877 45
14878 \end_layout
14879
14880 \end_inset
14881 </cell>
14882 </row>
14883 </lyxtabular>
14884
14885 \end_inset
14886
14887
14888 \end_layout
14889
14890 \begin_layout Standard
14891 \begin_inset ERT
14892 status collapsed
14893
14894 \begin_layout Plain Layout
14895
14896
14897 \backslash
14898 else
14899 \end_layout
14900
14901 \end_inset
14902
14903
14904 \begin_inset Note Note
14905 status open
14906
14907 \begin_layout Plain Layout
14908 The following will be displayed when the \SpecialChar LaTeX
14909 -package 
14910 \series bold
14911 diagbox
14912 \series default
14913  is not installed:
14914 \end_layout
14915
14916 \end_inset
14917
14918
14919 \end_layout
14920
14921 \begin_layout Standard
14922 You need to install the \SpecialChar LaTeX
14923 -package 
14924 \series bold
14925 diagbox
14926 \series default
14927  to see the following part of this section in the output.
14928 \end_layout
14929
14930 \begin_layout Standard
14931 \begin_inset ERT
14932 status collapsed
14933
14934 \begin_layout Plain Layout
14935
14936
14937 \backslash
14938 fi
14939 \end_layout
14940
14941 \end_inset
14942
14943
14944 \end_layout
14945
14946 \begin_layout Standard
14947 For more info about the \SpecialChar LaTeX
14948 -package 
14949 \series bold
14950 diagbox
14951 \series default
14952 , see its documentation, 
14953 \begin_inset CommandInset citation
14954 LatexCommand cite
14955 key "diagbox"
14956 literal "true"
14957
14958 \end_inset
14959
14960 .
14961 \end_layout
14962
14963 \begin_layout Section
14964 Formal Tables
14965 \begin_inset CommandInset label
14966 LatexCommand label
14967 name "sec:Formal-Tables"
14968
14969 \end_inset
14970
14971
14972 \begin_inset Index idx
14973 status collapsed
14974
14975 \begin_layout Plain Layout
14976 Table ! Formal
14977 \end_layout
14978
14979 \end_inset
14980
14981
14982 \end_layout
14983
14984 \begin_layout Standard
14985 Tables are often typeset in books similar to Table
14986 \begin_inset space ~
14987 \end_inset
14988
14989
14990 \begin_inset CommandInset ref
14991 LatexCommand ref
14992 reference "tab:Example-booktabs-table"
14993
14994 \end_inset
14995
14996 .
14997  This kind of tables is called 
14998 \begin_inset Quotes eld
14999 \end_inset
15000
15001
15002 \emph on
15003 formal
15004 \emph default
15005
15006 \begin_inset Quotes erd
15007 \end_inset
15008
15009 .
15010  To make a table a formal table
15011 \change_inserted -712698321 1554290084
15012 , select the table style 
15013 \begin_inset Quotes eld
15014 \end_inset
15015
15016 Formal
15017 \change_deleted 630872221 1622707670
15018  Table
15019 \change_inserted 630872221 1622707670
15020 \SpecialChar ldots
15021
15022 \change_inserted -712698321 1554290084
15023
15024 \begin_inset Quotes erd
15025 \end_inset
15026
15027  in the Table Creation dialog or
15028 \change_unchanged
15029  use the option 
15030 \family sans
15031 Formal
15032 \family default
15033  in the 
15034 \family sans
15035 Borders
15036 \family default
15037  tab of the table dialog
15038 \change_inserted -712698321 1554290131
15039  (if you additionally check the option 
15040 \family sans
15041 Use Default Formal Style
15042 \family default
15043 , the border lines are adapted to a sensible default)
15044 \change_unchanged
15045 .
15046 \end_layout
15047
15048 \begin_layout Standard
15049 \begin_inset Float table
15050 placement h
15051 alignment document
15052 wide false
15053 sideways false
15054 status open
15055
15056 \begin_layout Plain Layout
15057 \begin_inset Caption Standard
15058
15059 \begin_layout Plain Layout
15060 \begin_inset CommandInset label
15061 LatexCommand label
15062 name "tab:Example-booktabs-table"
15063
15064 \end_inset
15065
15066 Example 
15067 \change_deleted -712698321 1554292310
15068 booktabs-
15069 \change_inserted -712698321 1554292311
15070 formal 
15071 \change_unchanged
15072 table
15073 \end_layout
15074
15075 \end_inset
15076
15077
15078 \end_layout
15079
15080 \begin_layout Plain Layout
15081 \align center
15082 \begin_inset Tabular
15083 <lyxtabular version="3" rows="8" columns="4">
15084 <features booktabs="true" tabularvalignment="middle">
15085 <column alignment="center" valignment="top">
15086 <column alignment="center" valignment="top" width="0pt">
15087 <column alignment="center" valignment="top" width="0pt">
15088 <column alignment="center" valignment="top">
15089 <row>
15090 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
15091 \begin_inset Text
15092
15093 \begin_layout Plain Layout
15094 System
15095 \end_layout
15096
15097 \end_inset
15098 </cell>
15099 <cell alignment="center" valignment="top" topline="true" usebox="none">
15100 \begin_inset Text
15101
15102 \begin_layout Plain Layout
15103 Chip
15104 \begin_inset space \thinspace{}
15105 \end_inset
15106
15107 1
15108 \end_layout
15109
15110 \end_inset
15111 </cell>
15112 <cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
15113 \begin_inset Text
15114
15115 \begin_layout Plain Layout
15116 Chip
15117 \begin_inset space \thinspace{}
15118 \end_inset
15119
15120 2
15121 \end_layout
15122
15123 \end_inset
15124 </cell>
15125 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15126 \begin_inset Text
15127
15128 \begin_layout Plain Layout
15129
15130 \end_layout
15131
15132 \end_inset
15133 </cell>
15134 </row>
15135 <row>
15136 <cell alignment="center" valignment="top" rightline="true" usebox="none">
15137 \begin_inset Text
15138
15139 \begin_layout Plain Layout
15140
15141 \change_deleted -712698321 1554290161
15142 \begin_inset ERT
15143 status collapsed
15144
15145 \begin_layout Plain Layout
15146
15147
15148 \backslash
15149 cmidrule(r){2-2}
15150 \end_layout
15151
15152 \end_inset
15153
15154
15155 \begin_inset ERT
15156 status collapsed
15157
15158 \begin_layout Plain Layout
15159
15160
15161 \backslash
15162 cmidrule(l){3-4}
15163 \end_layout
15164
15165 \end_inset
15166
15167
15168 \change_unchanged
15169 Detector thickness in µm
15170 \end_layout
15171
15172 \end_inset
15173 </cell>
15174 <cell alignment="center" valignment="top" usebox="none">
15175 \begin_inset Text
15176
15177 \begin_layout Plain Layout
15178 300
15179 \end_layout
15180
15181 \end_inset
15182 </cell>
15183 <cell alignment="center" valignment="top" usebox="none">
15184 \begin_inset Text
15185
15186 \begin_layout Plain Layout
15187 300
15188 \end_layout
15189
15190 \end_inset
15191 </cell>
15192 <cell alignment="center" valignment="top" usebox="none">
15193 \begin_inset Text
15194
15195 \begin_layout Plain Layout
15196 700
15197 \end_layout
15198
15199 \end_inset
15200 </cell>
15201 </row>
15202 <row>
15203 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
15204 \begin_inset Text
15205
15206 \begin_layout Plain Layout
15207 Edge angle in °
15208 \end_layout
15209
15210 \end_inset
15211 </cell>
15212 <cell alignment="center" valignment="top" topline="true" toplinertrim="true" usebox="none">
15213 \begin_inset Text
15214
15215 \begin_layout Plain Layout
15216 3.55
15217 \end_layout
15218
15219 \end_inset
15220 </cell>
15221 <cell alignment="center" valignment="top" topline="true" toplineltrim="true" usebox="none">
15222 \begin_inset Text
15223
15224 \begin_layout Plain Layout
15225 2.71
15226 \end_layout
15227
15228 \end_inset
15229 </cell>
15230 <cell alignment="center" valignment="top" topline="true" usebox="none">
15231 \begin_inset Text
15232
15233 \begin_layout Plain Layout
15234 7.99
15235 \end_layout
15236
15237 \end_inset
15238 </cell>
15239 </row>
15240 <row topspace="default">
15241 <cell alignment="center" valignment="top" rightline="true" usebox="none">
15242 \begin_inset Text
15243
15244 \begin_layout Plain Layout
15245 Spatial resolution in µm
15246 \end_layout
15247
15248 \end_inset
15249 </cell>
15250 <cell alignment="center" valignment="top" usebox="none">
15251 \begin_inset Text
15252
15253 \begin_layout Plain Layout
15254 4.26
15255 \end_layout
15256
15257 \end_inset
15258 </cell>
15259 <cell alignment="center" valignment="top" usebox="none">
15260 \begin_inset Text
15261
15262 \begin_layout Plain Layout
15263 10.17
15264 \end_layout
15265
15266 \end_inset
15267 </cell>
15268 <cell alignment="center" valignment="top" usebox="none">
15269 \begin_inset Text
15270
15271 \begin_layout Plain Layout
15272 10.56
15273 \end_layout
15274
15275 \end_inset
15276 </cell>
15277 </row>
15278 <row topspace="default">
15279 <cell alignment="center" valignment="top" rightline="true" usebox="none">
15280 \begin_inset Text
15281
15282 \begin_layout Plain Layout
15283 MTF at 
15284 \begin_inset Formula $f_{\mathrm{max}}$
15285 \end_inset
15286
15287
15288 \end_layout
15289
15290 \end_inset
15291 </cell>
15292 <cell alignment="center" valignment="top" usebox="none">
15293 \begin_inset Text
15294
15295 \begin_layout Plain Layout
15296 0.53
15297 \end_layout
15298
15299 \end_inset
15300 </cell>
15301 <cell alignment="center" valignment="top" usebox="none">
15302 \begin_inset Text
15303
15304 \begin_layout Plain Layout
15305 0.37
15306 \end_layout
15307
15308 \end_inset
15309 </cell>
15310 <cell alignment="center" valignment="top" usebox="none">
15311 \begin_inset Text
15312
15313 \begin_layout Plain Layout
15314 0.39
15315 \end_layout
15316
15317 \end_inset
15318 </cell>
15319 </row>
15320 <row topspace="default">
15321 <cell alignment="center" valignment="top" rightline="true" usebox="none">
15322 \begin_inset Text
15323
15324 \begin_layout Plain Layout
15325
15326 \change_deleted -712698321 1554290260
15327 \begin_inset ERT
15328 status collapsed
15329
15330 \begin_layout Plain Layout
15331
15332
15333 \backslash
15334 cmidrule[2pt](l{10pt}){1-1}
15335 \end_layout
15336
15337 \end_inset
15338
15339
15340 \change_unchanged
15341 LSF-spatial resolution
15342 \end_layout
15343
15344 \end_inset
15345 </cell>
15346 <cell alignment="center" valignment="top" usebox="none">
15347 \begin_inset Text
15348
15349 \begin_layout Plain Layout
15350
15351 \end_layout
15352
15353 \end_inset
15354 </cell>
15355 <cell alignment="center" valignment="top" usebox="none">
15356 \begin_inset Text
15357
15358 \begin_layout Plain Layout
15359
15360 \end_layout
15361
15362 \end_inset
15363 </cell>
15364 <cell alignment="center" valignment="top" usebox="none">
15365 \begin_inset Text
15366
15367 \begin_layout Plain Layout
15368
15369 \end_layout
15370
15371 \end_inset
15372 </cell>
15373 </row>
15374 <row>
15375 <cell alignment="center" valignment="top" rightline="true" usebox="none">
15376 \begin_inset Text
15377
15378 \begin_layout Plain Layout
15379 in µm
15380 \end_layout
15381
15382 \end_inset
15383 </cell>
15384 <cell alignment="center" valignment="top" usebox="none">
15385 \begin_inset Text
15386
15387 \begin_layout Plain Layout
15388 129.7
15389 \end_layout
15390
15391 \end_inset
15392 </cell>
15393 <cell alignment="center" valignment="top" usebox="none">
15394 \begin_inset Text
15395
15396 \begin_layout Plain Layout
15397 52.75
15398 \end_layout
15399
15400 \end_inset
15401 </cell>
15402 <cell alignment="center" valignment="top" usebox="none">
15403 \begin_inset Text
15404
15405 \begin_layout Plain Layout
15406 50.78
15407 \end_layout
15408
15409 \end_inset
15410 </cell>
15411 </row>
15412 <row>
15413 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15414 \begin_inset Text
15415
15416 \begin_layout Plain Layout
15417 in % of pixel size
15418 \end_layout
15419
15420 \end_inset
15421 </cell>
15422 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15423 \begin_inset Text
15424
15425 \begin_layout Plain Layout
15426 76.3
15427 \end_layout
15428
15429 \end_inset
15430 </cell>
15431 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15432 \begin_inset Text
15433
15434 \begin_layout Plain Layout
15435 95.9
15436 \end_layout
15437
15438 \end_inset
15439 </cell>
15440 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15441 \begin_inset Text
15442
15443 \begin_layout Plain Layout
15444 92.3
15445 \end_layout
15446
15447 \end_inset
15448 </cell>
15449 </row>
15450 </lyxtabular>
15451
15452 \end_inset
15453
15454
15455 \end_layout
15456
15457 \end_inset
15458
15459
15460 \end_layout
15461
15462 \begin_layout Standard
15463 Spaces to table rows can be added using the 
15464 \family sans
15465 Borders
15466 \family default
15467  tab of the table dialog as described in section
15468 \begin_inset space ~
15469 \end_inset
15470
15471
15472 \begin_inset CommandInset ref
15473 LatexCommand ref
15474 reference "subsec:Row-Spacing"
15475
15476 \end_inset
15477
15478 .
15479 \end_layout
15480
15481 \begin_layout Standard
15482 Unlike normal tables, formal tables have no vertical table lines.
15483  The horizontal table lines can be set as for normal tables but they appear
15484  with different widths in the output:
15485 \begin_inset Newline newline
15486 \end_inset
15487
15488 The first and the last table line have a default width of 0.08
15489 \begin_inset space \thinspace{}
15490 \end_inset
15491
15492 em while the other lines have a default width of 0.05
15493 \begin_inset space \thinspace{}
15494 \end_inset
15495
15496 em.
15497 \end_layout
15498
15499 \begin_layout Standard
15500 The default widths can be changed with the following preamble lines
15501 \end_layout
15502
15503 \begin_layout Standard
15504
15505 \series bold
15506
15507 \backslash
15508 let
15509 \backslash
15510 mytoprule
15511 \backslash
15512 toprule
15513 \begin_inset Newline newline
15514 \end_inset
15515
15516
15517 \backslash
15518 renewcommand{
15519 \backslash
15520 toprule}{
15521 \backslash
15522 mytoprule[width]}
15523 \end_layout
15524
15525 \begin_layout Standard
15526 This example is for the first line, the so called 
15527 \series bold
15528 toprule
15529 \series default
15530 .
15531  If you want to change the width for the last line, replace 
15532 \series bold
15533 toprule
15534 \series default
15535  by 
15536 \series bold
15537 bottomrule
15538 \series default
15539 .
15540  To change the width for the other lines replace 
15541 \series bold
15542 toprule
15543 \series default
15544  by 
15545 \series bold
15546 midrule
15547 \series default
15548 .
15549  You can use all units listed in appendix
15550 \begin_inset space ~
15551 \end_inset
15552
15553
15554 \begin_inset CommandInset ref
15555 LatexCommand ref
15556 reference "cha:Units-available-in"
15557
15558 \end_inset
15559
15560  to set the width.
15561 \end_layout
15562
15563 \begin_layout Standard
15564
15565 \change_deleted -712698321 1554290929
15566 Lines that do not span all table columns can be created by setting a table
15567  line for multicolumn cells.
15568  \SpecialChar LyX
15569  will then internally use the command 
15570 \series bold
15571
15572 \backslash
15573 cmidrule
15574 \series default
15575  to create this line.
15576  Its full scheme is
15577 \change_inserted -712698321 1554291959
15578 As in table
15579 \begin_inset space ~
15580 \end_inset
15581
15582
15583 \begin_inset CommandInset ref
15584 LatexCommand ref
15585 reference "tab:Example-booktabs-table"
15586
15587 \end_inset
15588
15589 , formal tables often use shortened lines to group columns.
15590  This can be done in the borders widget of the table dialog.
15591  With formal tables, the top and bottom borders have to small offset lines
15592  to the left and the right.
15593  Clicking on these will trim the line respectively.
15594 \change_unchanged
15595
15596 \end_layout
15597
15598 \begin_layout Standard
15599
15600 \change_inserted -712698321 1554291403
15601 If you need to adjust the length of the trimming or the height of the rules,
15602  you have to resort to \SpecialChar TeX
15603  Code.
15604  The respective command (which is also used for the trimmed mid rules) is
15605  this:
15606 \change_unchanged
15607
15608 \end_layout
15609
15610 \begin_layout Standard
15611
15612 \series bold
15613
15614 \backslash
15615 cmidrule[height](trim){startcol-endcol}
15616 \end_layout
15617
15618 \begin_layout Standard
15619
15620 \change_deleted -712698321 1554292020
15621 The options of 
15622 \series bold
15623
15624 \backslash
15625 cmidrule
15626 \series default
15627  are currently not supported by \SpecialChar LyX
15628  so you have to use \SpecialChar TeX
15629  Code to be able to
15630  use them.
15631  
15632 \series bold
15633
15634 \backslash
15635 cmidrule
15636 \series default
15637 s can manually be created by inserting the command as \SpecialChar TeX
15638  Code as the first
15639  cell entry of the first cell of a row.
15640  The line is then drawn in the output above the current row.
15641 \change_unchanged
15642
15643 \end_layout
15644
15645 \begin_layout Standard
15646 The default for the optional 
15647 \series bold
15648 height
15649 \series default
15650  is 0.03
15651 \begin_inset space \thinspace{}
15652 \end_inset
15653
15654 em.
15655  
15656 \series bold
15657 startcol
15658 \series default
15659  is the number of the column where the line starts and 
15660 \series bold
15661 endcol
15662 \series default
15663  the column number where the line ends.
15664  The 
15665 \series bold
15666 endcol
15667 \series default
15668  always needs to be specified, also when the line should span only one column.
15669  The optional parameter 
15670 \series bold
15671 trim
15672 \series default
15673  could either be 
15674 \emph on
15675 l{trimwidth}
15676 \emph default
15677  or 
15678 \emph on
15679 r{trimwidth}
15680 \emph default
15681  where the 
15682 \emph on
15683 trimwidth
15684 \emph default
15685  is also optional.
15686  Using for example the parameter 
15687 \emph on
15688 l{2pt}
15689 \emph default
15690  means that the line is trimmed from its left end by 2
15691 \begin_inset space \thinspace{}
15692 \end_inset
15693
15694 pt.
15695  If you don't specify the 
15696 \emph on
15697 trimwidth
15698 \emph default
15699  the line is trimmed by the default of 0.5
15700 \begin_inset space \thinspace{}
15701 \end_inset
15702
15703 em
15704 \change_inserted -712698321 1554291561
15705  (this is what is done if you use trimming from the dialog)
15706 \change_unchanged
15707 .
15708 \change_inserted -712698321 1554292039
15709
15710 \end_layout
15711
15712 \begin_layout Standard
15713
15714 \change_inserted -712698321 1554292207
15715 The 
15716 \emph on
15717 height
15718 \emph default
15719  option of 
15720 \series bold
15721
15722 \backslash
15723 cmidrule
15724 \series default
15725  is currently not supported by \SpecialChar LyX
15726 , and neither are the 
15727 \emph on
15728 trimwidth
15729 \emph default
15730  parameters.
15731  If you need this you can manually insert a 
15732 \series bold
15733
15734 \backslash
15735 cmidrule
15736 \series default
15737  with the respective settings as \SpecialChar TeX
15738  Code as the first cell entry of the first
15739  cell of a row.
15740  The line is then drawn in the output above the current row.
15741  Table
15742 \begin_inset space ~
15743 \end_inset
15744
15745
15746 \begin_inset CommandInset ref
15747 LatexCommand ref
15748 reference "tab:Special-booktabs-table"
15749
15750 \end_inset
15751
15752  exemplifies this (in the sixth row).
15753 \change_unchanged
15754
15755 \end_layout
15756
15757 \begin_layout Standard
15758
15759 \change_deleted -712698321 1554291078
15760 \begin_inset VSpace bigskip
15761 \end_inset
15762
15763 Table
15764 \begin_inset space ~
15765 \end_inset
15766
15767
15768 \begin_inset CommandInset ref
15769 LatexCommand ref
15770 reference "tab:Example-booktabs-table"
15771
15772 \end_inset
15773
15774  was created using the commands
15775 \end_layout
15776
15777 \begin_layout Standard
15778
15779 \change_deleted -712698321 1554291077
15780
15781 \series bold
15782
15783 \backslash
15784 cmidrule(r){2-2}
15785 \backslash
15786 cmidrule(l){3-4}
15787 \end_layout
15788
15789 \begin_layout Standard
15790
15791 \change_deleted -712698321 1554291077
15792 at the beginning of the second row and
15793 \end_layout
15794
15795 \begin_layout Standard
15796
15797 \change_deleted -712698321 1554291077
15798
15799 \series bold
15800
15801 \backslash
15802 cmidrule[2pt](l{10pt}){1-1}
15803 \end_layout
15804
15805 \begin_layout Standard
15806
15807 \change_deleted -712698321 1554291077
15808 in the sixth row.
15809 \change_unchanged
15810
15811 \end_layout
15812
15813 \begin_layout Standard
15814
15815 \change_deleted -712698321 1554292212
15816 \begin_inset VSpace bigskip
15817 \end_inset
15818
15819
15820 \change_unchanged
15821
15822 \end_layout
15823
15824 \begin_layout Standard
15825 You 
15826 \change_inserted -712698321 1554291573
15827 also 
15828 \change_unchanged
15829 might want to have overlapping 
15830 \series bold
15831
15832 \backslash
15833 cmidrule
15834 \series default
15835 s as 
15836 \change_deleted -712698321 1554296804
15837 in
15838 \change_inserted -712698321 1554296808
15839 exemplified as well
15840 \change_unchanged
15841  in Table
15842 \begin_inset space ~
15843 \end_inset
15844
15845
15846 \begin_inset CommandInset ref
15847 LatexCommand ref
15848 reference "tab:Special-booktabs-table"
15849
15850 \end_inset
15851
15852
15853 \change_inserted -712698321 1554291601
15854 , even though this is considered bad style (so only use it if you really
15855  need to)
15856 \change_unchanged
15857 .
15858  This can be achieved with the \SpecialChar TeX
15859  Code command
15860 \end_layout
15861
15862 \begin_layout Standard
15863
15864 \series bold
15865
15866 \backslash
15867 morecmidrules
15868 \end_layout
15869
15870 \begin_layout Standard
15871 The command that was used for the second row of Table
15872 \begin_inset space ~
15873 \end_inset
15874
15875
15876 \begin_inset CommandInset ref
15877 LatexCommand ref
15878 reference "tab:Special-booktabs-table"
15879
15880 \end_inset
15881
15882  is
15883 \end_layout
15884
15885 \begin_layout Standard
15886
15887 \change_deleted -712698321 1554291798
15888
15889 \series bold
15890
15891 \backslash
15892 cmidrule(r){2-2}
15893 \backslash
15894 cmidrule(l){3-4}
15895 \change_unchanged
15896
15897 \backslash
15898 morecmidrules
15899 \backslash
15900 cmidrule{2-4}
15901 \end_layout
15902
15903 \begin_layout Standard
15904 The command for the sixth row is
15905 \end_layout
15906
15907 \begin_layout Standard
15908
15909 \change_deleted -712698321 1554291810
15910
15911 \series bold
15912
15913 \backslash
15914 midrule
15915 \change_unchanged
15916
15917 \backslash
15918 morecmidrules
15919 \backslash
15920 cmidrule{3-4}
15921 \end_layout
15922
15923 \begin_layout Standard
15924 \begin_inset VSpace bigskip
15925 \end_inset
15926
15927
15928 \end_layout
15929
15930 \begin_layout Standard
15931 If you are in any way not satisfied with the border line spacing, you can
15932  use the following command to produce lines that span over all table columns
15933 \series bold
15934 :
15935 \end_layout
15936
15937 \begin_layout Standard
15938
15939 \series bold
15940
15941 \backslash
15942 specialrule{width}{space above}{space below}
15943 \end_layout
15944
15945 \begin_layout Standard
15946 For more information about these features, refer to the manual of the \SpecialChar LaTeX
15947 -package
15948  
15949 \series bold
15950 booktabs
15951 \series default
15952  
15953 \begin_inset CommandInset citation
15954 LatexCommand cite
15955 key "booktabs"
15956 literal "true"
15957
15958 \end_inset
15959
15960 .
15961 \begin_inset Index idx
15962 status collapsed
15963
15964 \begin_layout Plain Layout
15965 \SpecialChar LaTeX
15966 -packages ! booktabs
15967 \end_layout
15968
15969 \end_inset
15970
15971
15972 \end_layout
15973
15974 \begin_layout Standard
15975 \begin_inset Float table
15976 placement h
15977 alignment document
15978 wide false
15979 sideways false
15980 status open
15981
15982 \begin_layout Plain Layout
15983 \begin_inset Caption Standard
15984
15985 \begin_layout Plain Layout
15986 \begin_inset CommandInset label
15987 LatexCommand label
15988 name "tab:Special-booktabs-table"
15989
15990 \end_inset
15991
15992 Special 
15993 \change_inserted -712698321 1554292295
15994 (ugly) 
15995 \change_deleted -712698321 1554292304
15996 booktabs
15997 \change_inserted -712698321 1554292305
15998 formal 
15999 \change_deleted -712698321 1554292300
16000 -
16001 \change_unchanged
16002 table
16003 \end_layout
16004
16005 \end_inset
16006
16007
16008 \end_layout
16009
16010 \begin_layout Plain Layout
16011 \align center
16012 \begin_inset Tabular
16013 <lyxtabular version="3" rows="8" columns="4">
16014 <features booktabs="true" tabularvalignment="middle">
16015 <column alignment="center" valignment="top">
16016 <column alignment="center" valignment="top" width="0pt">
16017 <column alignment="center" valignment="top" width="0pt">
16018 <column alignment="center" valignment="top" width="0pt">
16019 <row>
16020 <cell alignment="center" valignment="top" topline="true" usebox="none">
16021 \begin_inset Text
16022
16023 \begin_layout Plain Layout
16024 System
16025 \end_layout
16026
16027 \end_inset
16028 </cell>
16029 <cell alignment="center" valignment="top" topline="true" bottomline="true" bottomlinertrim="true" usebox="none">
16030 \begin_inset Text
16031
16032 \begin_layout Plain Layout
16033 Chip
16034 \begin_inset space \thinspace{}
16035 \end_inset
16036
16037 1
16038 \end_layout
16039
16040 \end_inset
16041 </cell>
16042 <cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
16043 \begin_inset Text
16044
16045 \begin_layout Plain Layout
16046 Chip
16047 \begin_inset space \thinspace{}
16048 \end_inset
16049
16050 2
16051 \end_layout
16052
16053 \end_inset
16054 </cell>
16055 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16056 \begin_inset Text
16057
16058 \begin_layout Plain Layout
16059
16060 \end_layout
16061
16062 \end_inset
16063 </cell>
16064 </row>
16065 <row>
16066 <cell alignment="center" valignment="top" usebox="none">
16067 \begin_inset Text
16068
16069 \begin_layout Plain Layout
16070
16071 \change_deleted -712698321 1554291732
16072 \begin_inset ERT
16073 status collapsed
16074
16075 \begin_layout Plain Layout
16076
16077
16078 \backslash
16079 cmidrule(r){2-2}
16080 \end_layout
16081
16082 \end_inset
16083
16084
16085 \begin_inset ERT
16086 status collapsed
16087
16088 \begin_layout Plain Layout
16089
16090
16091 \backslash
16092 cmidrule(l){3-4}
16093 \end_layout
16094
16095 \end_inset
16096
16097
16098 \change_unchanged
16099
16100 \begin_inset ERT
16101 status collapsed
16102
16103 \begin_layout Plain Layout
16104
16105
16106 \backslash
16107 morecmidrules 
16108 \end_layout
16109
16110 \end_inset
16111
16112
16113 \begin_inset ERT
16114 status open
16115
16116 \begin_layout Plain Layout
16117
16118
16119 \backslash
16120 cmidrule{2-4}
16121 \end_layout
16122
16123 \end_inset
16124
16125 Detector thickness in µm
16126 \end_layout
16127
16128 \end_inset
16129 </cell>
16130 <cell alignment="center" valignment="top" usebox="none">
16131 \begin_inset Text
16132
16133 \begin_layout Plain Layout
16134 300
16135 \end_layout
16136
16137 \end_inset
16138 </cell>
16139 <cell alignment="center" valignment="top" topline="true" toplineltrim="true" usebox="none">
16140 \begin_inset Text
16141
16142 \begin_layout Plain Layout
16143 300
16144 \end_layout
16145
16146 \end_inset
16147 </cell>
16148 <cell alignment="center" valignment="top" topline="true" usebox="none">
16149 \begin_inset Text
16150
16151 \begin_layout Plain Layout
16152 700
16153 \end_layout
16154
16155 \end_inset
16156 </cell>
16157 </row>
16158 <row>
16159 <cell alignment="center" valignment="top" topline="true" usebox="none">
16160 \begin_inset Text
16161
16162 \begin_layout Plain Layout
16163 Edge angle in °
16164 \end_layout
16165
16166 \end_inset
16167 </cell>
16168 <cell alignment="center" valignment="top" topline="true" usebox="none">
16169 \begin_inset Text
16170
16171 \begin_layout Plain Layout
16172 3.55
16173 \end_layout
16174
16175 \end_inset
16176 </cell>
16177 <cell alignment="center" valignment="top" topline="true" usebox="none">
16178 \begin_inset Text
16179
16180 \begin_layout Plain Layout
16181 2.71
16182 \end_layout
16183
16184 \end_inset
16185 </cell>
16186 <cell alignment="center" valignment="top" topline="true" usebox="none">
16187 \begin_inset Text
16188
16189 \begin_layout Plain Layout
16190 7.99
16191 \end_layout
16192
16193 \end_inset
16194 </cell>
16195 </row>
16196 <row topspace="default">
16197 <cell alignment="center" valignment="top" usebox="none">
16198 \begin_inset Text
16199
16200 \begin_layout Plain Layout
16201 Spatial resolution in µm
16202 \end_layout
16203
16204 \end_inset
16205 </cell>
16206 <cell alignment="center" valignment="top" usebox="none">
16207 \begin_inset Text
16208
16209 \begin_layout Plain Layout
16210 4.26
16211 \end_layout
16212
16213 \end_inset
16214 </cell>
16215 <cell alignment="center" valignment="top" usebox="none">
16216 \begin_inset Text
16217
16218 \begin_layout Plain Layout
16219 10.17
16220 \end_layout
16221
16222 \end_inset
16223 </cell>
16224 <cell alignment="center" valignment="top" usebox="none">
16225 \begin_inset Text
16226
16227 \begin_layout Plain Layout
16228 10.56
16229 \end_layout
16230
16231 \end_inset
16232 </cell>
16233 </row>
16234 <row topspace="default">
16235 <cell alignment="center" valignment="top" usebox="none">
16236 \begin_inset Text
16237
16238 \begin_layout Plain Layout
16239 MTF at 
16240 \begin_inset Formula $f_{\mathrm{max}}$
16241 \end_inset
16242
16243
16244 \end_layout
16245
16246 \end_inset
16247 </cell>
16248 <cell alignment="center" valignment="top" usebox="none">
16249 \begin_inset Text
16250
16251 \begin_layout Plain Layout
16252 0.53
16253 \end_layout
16254
16255 \end_inset
16256 </cell>
16257 <cell alignment="center" valignment="top" usebox="none">
16258 \begin_inset Text
16259
16260 \begin_layout Plain Layout
16261 0.37
16262 \end_layout
16263
16264 \end_inset
16265 </cell>
16266 <cell alignment="center" valignment="top" usebox="none">
16267 \begin_inset Text
16268
16269 \begin_layout Plain Layout
16270 0.39
16271 \end_layout
16272
16273 \end_inset
16274 </cell>
16275 </row>
16276 <row>
16277 <cell alignment="center" valignment="top" topline="true" usebox="none">
16278 \begin_inset Text
16279
16280 \begin_layout Plain Layout
16281 \begin_inset ERT
16282 status collapsed
16283
16284 \begin_layout Plain Layout
16285
16286
16287 \backslash
16288 morecmidrules 
16289 \end_layout
16290
16291 \end_inset
16292
16293
16294 \begin_inset ERT
16295 status open
16296
16297 \begin_layout Plain Layout
16298
16299
16300 \backslash
16301 cmidrule
16302 \change_inserted -712698321 1554291896
16303 [2pt](l{7pt})
16304 \change_unchanged
16305 {3-4}
16306 \end_layout
16307
16308 \end_inset
16309
16310 LSF-spatial resolution
16311 \end_layout
16312
16313 \end_inset
16314 </cell>
16315 <cell alignment="center" valignment="top" topline="true" usebox="none">
16316 \begin_inset Text
16317
16318 \begin_layout Plain Layout
16319
16320 \end_layout
16321
16322 \end_inset
16323 </cell>
16324 <cell alignment="center" valignment="top" topline="true" usebox="none">
16325 \begin_inset Text
16326
16327 \begin_layout Plain Layout
16328
16329 \end_layout
16330
16331 \end_inset
16332 </cell>
16333 <cell alignment="center" valignment="top" topline="true" usebox="none">
16334 \begin_inset Text
16335
16336 \begin_layout Plain Layout
16337
16338 \end_layout
16339
16340 \end_inset
16341 </cell>
16342 </row>
16343 <row>
16344 <cell alignment="center" valignment="top" usebox="none">
16345 \begin_inset Text
16346
16347 \begin_layout Plain Layout
16348 in µm
16349 \end_layout
16350
16351 \end_inset
16352 </cell>
16353 <cell alignment="center" valignment="top" usebox="none">
16354 \begin_inset Text
16355
16356 \begin_layout Plain Layout
16357 129.7
16358 \end_layout
16359
16360 \end_inset
16361 </cell>
16362 <cell alignment="center" valignment="top" usebox="none">
16363 \begin_inset Text
16364
16365 \begin_layout Plain Layout
16366 52.75
16367 \end_layout
16368
16369 \end_inset
16370 </cell>
16371 <cell alignment="center" valignment="top" usebox="none">
16372 \begin_inset Text
16373
16374 \begin_layout Plain Layout
16375 50.78
16376 \end_layout
16377
16378 \end_inset
16379 </cell>
16380 </row>
16381 <row>
16382 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16383 \begin_inset Text
16384
16385 \begin_layout Plain Layout
16386 in % of pixel size
16387 \end_layout
16388
16389 \end_inset
16390 </cell>
16391 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16392 \begin_inset Text
16393
16394 \begin_layout Plain Layout
16395 76.3
16396 \end_layout
16397
16398 \end_inset
16399 </cell>
16400 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16401 \begin_inset Text
16402
16403 \begin_layout Plain Layout
16404 95.9
16405 \end_layout
16406
16407 \end_inset
16408 </cell>
16409 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16410 \begin_inset Text
16411
16412 \begin_layout Plain Layout
16413 92.3
16414 \end_layout
16415
16416 \end_inset
16417 </cell>
16418 </row>
16419 </lyxtabular>
16420
16421 \end_inset
16422
16423
16424 \end_layout
16425
16426 \end_inset
16427
16428
16429 \end_layout
16430
16431 \begin_layout Section
16432 Vertical Table Alignment
16433 \begin_inset Index idx
16434 status collapsed
16435
16436 \begin_layout Plain Layout
16437 Table ! Alignment
16438 \end_layout
16439
16440 \end_inset
16441
16442
16443 \end_layout
16444
16445 \begin_layout Standard
16446 To align tables vertically in a text line, the table must be inside a box.
16447  The box can then be vertically aligned as described in section
16448 \begin_inset space ~
16449 \end_inset
16450
16451
16452 \begin_inset CommandInset ref
16453 LatexCommand ref
16454 reference "sec:Box-Dialog"
16455
16456 \end_inset
16457
16458 .
16459 \end_layout
16460
16461 \begin_layout Standard
16462 In the following example the tables are inside a minipage
16463 \begin_inset Foot
16464 status collapsed
16465
16466 \begin_layout Plain Layout
16467 Minipages are described in section
16468 \begin_inset space ~
16469 \end_inset
16470
16471
16472 \begin_inset CommandInset ref
16473 LatexCommand ref
16474 reference "sec:Minipages"
16475
16476 \end_inset
16477
16478 .
16479 \end_layout
16480
16481 \end_inset
16482
16483  box that has a width of 15
16484 \begin_inset space \thinspace{}
16485 \end_inset
16486
16487 col%:
16488 \end_layout
16489
16490 \begin_layout Itemize
16491 test 
16492 \begin_inset Box Frameless
16493 position "t"
16494 hor_pos "c"
16495 has_inner_box 1
16496 inner_pos "c"
16497 use_parbox 0
16498 use_makebox 0
16499 width "15col%"
16500 special "none"
16501 height "1in"
16502 height_special "totalheight"
16503 thickness "0.4pt"
16504 separation "3pt"
16505 shadowsize "4pt"
16506 framecolor "black"
16507 backgroundcolor "none"
16508 status collapsed
16509
16510 \begin_layout Plain Layout
16511 \begin_inset Tabular
16512 <lyxtabular version="3" rows="3" columns="3">
16513 <features tabularvalignment="middle">
16514 <column alignment="center" valignment="top">
16515 <column alignment="center" valignment="top">
16516 <column alignment="center" valignment="top">
16517 <row>
16518 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16519 \begin_inset Text
16520
16521 \begin_layout Plain Layout
16522 a
16523 \end_layout
16524
16525 \end_inset
16526 </cell>
16527 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16528 \begin_inset Text
16529
16530 \begin_layout Plain Layout
16531 d
16532 \end_layout
16533
16534 \end_inset
16535 </cell>
16536 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16537 \begin_inset Text
16538
16539 \begin_layout Plain Layout
16540 g
16541 \end_layout
16542
16543 \end_inset
16544 </cell>
16545 </row>
16546 <row>
16547 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16548 \begin_inset Text
16549
16550 \begin_layout Plain Layout
16551 b
16552 \end_layout
16553
16554 \end_inset
16555 </cell>
16556 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16557 \begin_inset Text
16558
16559 \begin_layout Plain Layout
16560 e
16561 \end_layout
16562
16563 \end_inset
16564 </cell>
16565 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16566 \begin_inset Text
16567
16568 \begin_layout Plain Layout
16569 h
16570 \end_layout
16571
16572 \end_inset
16573 </cell>
16574 </row>
16575 <row>
16576 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16577 \begin_inset Text
16578
16579 \begin_layout Plain Layout
16580 c
16581 \end_layout
16582
16583 \end_inset
16584 </cell>
16585 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16586 \begin_inset Text
16587
16588 \begin_layout Plain Layout
16589 f
16590 \end_layout
16591
16592 \end_inset
16593 </cell>
16594 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16595 \begin_inset Text
16596
16597 \begin_layout Plain Layout
16598 i
16599 \end_layout
16600
16601 \end_inset
16602 </cell>
16603 </row>
16604 </lyxtabular>
16605
16606 \end_inset
16607
16608
16609 \end_layout
16610
16611 \end_inset
16612
16613  test 
16614 \begin_inset ERT
16615 status collapsed
16616
16617 \begin_layout Plain Layout
16618
16619
16620 \backslash
16621 raisebox{0.85
16622 \backslash
16623 baselineskip}{
16624 \end_layout
16625
16626 \end_inset
16627
16628
16629 \begin_inset Box Frameless
16630 position "t"
16631 hor_pos "c"
16632 has_inner_box 1
16633 inner_pos "c"
16634 use_parbox 0
16635 use_makebox 0
16636 width "15col%"
16637 special "none"
16638 height "1in"
16639 height_special "totalheight"
16640 thickness "0.4pt"
16641 separation "3pt"
16642 shadowsize "4pt"
16643 framecolor "black"
16644 backgroundcolor "none"
16645 status collapsed
16646
16647 \begin_layout Plain Layout
16648 \begin_inset Tabular
16649 <lyxtabular version="3" rows="3" columns="3">
16650 <features tabularvalignment="middle">
16651 <column alignment="center" valignment="top">
16652 <column alignment="center" valignment="top">
16653 <column alignment="center" valignment="top">
16654 <row>
16655 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16656 \begin_inset Text
16657
16658 \begin_layout Plain Layout
16659 a
16660 \end_layout
16661
16662 \end_inset
16663 </cell>
16664 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16665 \begin_inset Text
16666
16667 \begin_layout Plain Layout
16668 d
16669 \end_layout
16670
16671 \end_inset
16672 </cell>
16673 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16674 \begin_inset Text
16675
16676 \begin_layout Plain Layout
16677 g
16678 \end_layout
16679
16680 \end_inset
16681 </cell>
16682 </row>
16683 <row>
16684 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16685 \begin_inset Text
16686
16687 \begin_layout Plain Layout
16688 b
16689 \end_layout
16690
16691 \end_inset
16692 </cell>
16693 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16694 \begin_inset Text
16695
16696 \begin_layout Plain Layout
16697 e
16698 \end_layout
16699
16700 \end_inset
16701 </cell>
16702 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16703 \begin_inset Text
16704
16705 \begin_layout Plain Layout
16706 h
16707 \end_layout
16708
16709 \end_inset
16710 </cell>
16711 </row>
16712 <row>
16713 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16714 \begin_inset Text
16715
16716 \begin_layout Plain Layout
16717 c
16718 \end_layout
16719
16720 \end_inset
16721 </cell>
16722 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16723 \begin_inset Text
16724
16725 \begin_layout Plain Layout
16726 f
16727 \end_layout
16728
16729 \end_inset
16730 </cell>
16731 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16732 \begin_inset Text
16733
16734 \begin_layout Plain Layout
16735 i
16736 \end_layout
16737
16738 \end_inset
16739 </cell>
16740 </row>
16741 </lyxtabular>
16742
16743 \end_inset
16744
16745
16746 \end_layout
16747
16748 \end_inset
16749
16750
16751 \begin_inset ERT
16752 status collapsed
16753
16754 \begin_layout Plain Layout
16755
16756 }
16757 \end_layout
16758
16759 \end_inset
16760
16761
16762 \end_layout
16763
16764 \begin_layout Itemize
16765 test 
16766 \begin_inset Box Frameless
16767 position "c"
16768 hor_pos "c"
16769 has_inner_box 1
16770 inner_pos "c"
16771 use_parbox 0
16772 use_makebox 0
16773 width "15col%"
16774 special "none"
16775 height "1in"
16776 height_special "totalheight"
16777 thickness "0.4pt"
16778 separation "3pt"
16779 shadowsize "4pt"
16780 framecolor "black"
16781 backgroundcolor "none"
16782 status collapsed
16783
16784 \begin_layout Plain Layout
16785 \begin_inset Tabular
16786 <lyxtabular version="3" rows="3" columns="3">
16787 <features tabularvalignment="middle">
16788 <column alignment="center" valignment="top">
16789 <column alignment="center" valignment="top">
16790 <column alignment="center" valignment="top">
16791 <row>
16792 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16793 \begin_inset Text
16794
16795 \begin_layout Plain Layout
16796 a
16797 \end_layout
16798
16799 \end_inset
16800 </cell>
16801 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16802 \begin_inset Text
16803
16804 \begin_layout Plain Layout
16805 d
16806 \end_layout
16807
16808 \end_inset
16809 </cell>
16810 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16811 \begin_inset Text
16812
16813 \begin_layout Plain Layout
16814 g
16815 \end_layout
16816
16817 \end_inset
16818 </cell>
16819 </row>
16820 <row>
16821 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16822 \begin_inset Text
16823
16824 \begin_layout Plain Layout
16825 b
16826 \end_layout
16827
16828 \end_inset
16829 </cell>
16830 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16831 \begin_inset Text
16832
16833 \begin_layout Plain Layout
16834 e
16835 \end_layout
16836
16837 \end_inset
16838 </cell>
16839 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16840 \begin_inset Text
16841
16842 \begin_layout Plain Layout
16843 h
16844 \end_layout
16845
16846 \end_inset
16847 </cell>
16848 </row>
16849 <row>
16850 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16851 \begin_inset Text
16852
16853 \begin_layout Plain Layout
16854 c
16855 \end_layout
16856
16857 \end_inset
16858 </cell>
16859 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16860 \begin_inset Text
16861
16862 \begin_layout Plain Layout
16863 f
16864 \end_layout
16865
16866 \end_inset
16867 </cell>
16868 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16869 \begin_inset Text
16870
16871 \begin_layout Plain Layout
16872 i
16873 \end_layout
16874
16875 \end_inset
16876 </cell>
16877 </row>
16878 </lyxtabular>
16879
16880 \end_inset
16881
16882
16883 \end_layout
16884
16885 \end_inset
16886
16887
16888 \end_layout
16889
16890 \begin_layout Itemize
16891 test 
16892 \begin_inset Box Frameless
16893 position "b"
16894 hor_pos "c"
16895 has_inner_box 1
16896 inner_pos "c"
16897 use_parbox 0
16898 use_makebox 0
16899 width "15col%"
16900 special "none"
16901 height "1in"
16902 height_special "totalheight"
16903 thickness "0.4pt"
16904 separation "3pt"
16905 shadowsize "4pt"
16906 framecolor "black"
16907 backgroundcolor "none"
16908 status collapsed
16909
16910 \begin_layout Plain Layout
16911 \begin_inset Tabular
16912 <lyxtabular version="3" rows="3" columns="3">
16913 <features tabularvalignment="middle">
16914 <column alignment="center" valignment="top">
16915 <column alignment="center" valignment="top">
16916 <column alignment="center" valignment="top">
16917 <row>
16918 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16919 \begin_inset Text
16920
16921 \begin_layout Plain Layout
16922 a
16923 \end_layout
16924
16925 \end_inset
16926 </cell>
16927 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16928 \begin_inset Text
16929
16930 \begin_layout Plain Layout
16931 d
16932 \end_layout
16933
16934 \end_inset
16935 </cell>
16936 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16937 \begin_inset Text
16938
16939 \begin_layout Plain Layout
16940 g
16941 \end_layout
16942
16943 \end_inset
16944 </cell>
16945 </row>
16946 <row>
16947 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16948 \begin_inset Text
16949
16950 \begin_layout Plain Layout
16951 b
16952 \end_layout
16953
16954 \end_inset
16955 </cell>
16956 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16957 \begin_inset Text
16958
16959 \begin_layout Plain Layout
16960 e
16961 \end_layout
16962
16963 \end_inset
16964 </cell>
16965 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16966 \begin_inset Text
16967
16968 \begin_layout Plain Layout
16969 h
16970 \end_layout
16971
16972 \end_inset
16973 </cell>
16974 </row>
16975 <row>
16976 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16977 \begin_inset Text
16978
16979 \begin_layout Plain Layout
16980 c
16981 \end_layout
16982
16983 \end_inset
16984 </cell>
16985 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16986 \begin_inset Text
16987
16988 \begin_layout Plain Layout
16989 f
16990 \end_layout
16991
16992 \end_inset
16993 </cell>
16994 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16995 \begin_inset Text
16996
16997 \begin_layout Plain Layout
16998 i
16999 \end_layout
17000
17001 \end_inset
17002 </cell>
17003 </row>
17004 </lyxtabular>
17005
17006 \end_inset
17007
17008
17009 \end_layout
17010
17011 \end_inset
17012
17013  test 
17014 \begin_inset ERT
17015 status collapsed
17016
17017 \begin_layout Plain Layout
17018
17019
17020 \backslash
17021 raisebox{-0.32
17022 \backslash
17023 baselineskip}{
17024 \end_layout
17025
17026 \end_inset
17027
17028
17029 \begin_inset Box Frameless
17030 position "b"
17031 hor_pos "c"
17032 has_inner_box 1
17033 inner_pos "c"
17034 use_parbox 0
17035 use_makebox 0
17036 width "15col%"
17037 special "none"
17038 height "1in"
17039 height_special "totalheight"
17040 thickness "0.4pt"
17041 separation "3pt"
17042 shadowsize "4pt"
17043 framecolor "black"
17044 backgroundcolor "none"
17045 status collapsed
17046
17047 \begin_layout Plain Layout
17048 \begin_inset Tabular
17049 <lyxtabular version="3" rows="3" columns="3">
17050 <features tabularvalignment="middle">
17051 <column alignment="center" valignment="top">
17052 <column alignment="center" valignment="top">
17053 <column alignment="center" valignment="top">
17054 <row>
17055 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17056 \begin_inset Text
17057
17058 \begin_layout Plain Layout
17059 a
17060 \end_layout
17061
17062 \end_inset
17063 </cell>
17064 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17065 \begin_inset Text
17066
17067 \begin_layout Plain Layout
17068 d
17069 \end_layout
17070
17071 \end_inset
17072 </cell>
17073 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17074 \begin_inset Text
17075
17076 \begin_layout Plain Layout
17077 g
17078 \end_layout
17079
17080 \end_inset
17081 </cell>
17082 </row>
17083 <row>
17084 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17085 \begin_inset Text
17086
17087 \begin_layout Plain Layout
17088 b
17089 \end_layout
17090
17091 \end_inset
17092 </cell>
17093 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17094 \begin_inset Text
17095
17096 \begin_layout Plain Layout
17097 e
17098 \end_layout
17099
17100 \end_inset
17101 </cell>
17102 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17103 \begin_inset Text
17104
17105 \begin_layout Plain Layout
17106 h
17107 \end_layout
17108
17109 \end_inset
17110 </cell>
17111 </row>
17112 <row>
17113 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17114 \begin_inset Text
17115
17116 \begin_layout Plain Layout
17117 c
17118 \end_layout
17119
17120 \end_inset
17121 </cell>
17122 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17123 \begin_inset Text
17124
17125 \begin_layout Plain Layout
17126 f
17127 \end_layout
17128
17129 \end_inset
17130 </cell>
17131 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17132 \begin_inset Text
17133
17134 \begin_layout Plain Layout
17135 i
17136 \end_layout
17137
17138 \end_inset
17139 </cell>
17140 </row>
17141 </lyxtabular>
17142
17143 \end_inset
17144
17145
17146 \end_layout
17147
17148 \end_inset
17149
17150
17151 \begin_inset ERT
17152 status collapsed
17153
17154 \begin_layout Plain Layout
17155
17156 }
17157 \end_layout
17158
17159 \end_inset
17160
17161
17162 \end_layout
17163
17164 \begin_layout Standard
17165 As you will see, the content of the first and last table row is not correctly
17166  aligned.
17167  To get this alignment, the minipage box must be set into a raisebox.
17168 \begin_inset Foot
17169 status collapsed
17170
17171 \begin_layout Plain Layout
17172 Raiseboxes are described in section
17173 \begin_inset space ~
17174 \end_inset
17175
17176
17177 \begin_inset CommandInset ref
17178 LatexCommand ref
17179 reference "subsec:Vertical-Alignment"
17180
17181 \end_inset
17182
17183 .
17184 \end_layout
17185
17186 \end_inset
17187
17188  In the example above the second table in the first item is aligned using
17189  the \SpecialChar TeX
17190  Code command
17191 \end_layout
17192
17193 \begin_layout Standard
17194
17195 \series bold
17196
17197 \backslash
17198 raisebox{0.85
17199 \backslash
17200 baselineskip}{
17201 \end_layout
17202
17203 \begin_layout Standard
17204 before the box.
17205  After the box the closing brace 
17206 \series bold
17207 }
17208 \series default
17209  is inserted as \SpecialChar TeX
17210  Code.
17211  For the second table in the last item the command
17212 \end_layout
17213
17214 \begin_layout Standard
17215
17216 \series bold
17217
17218 \backslash
17219 raisebox{-0.32
17220 \backslash
17221 baselineskip}{
17222 \end_layout
17223
17224 \begin_layout Standard
17225 is used.
17226 \end_layout
17227
17228 \begin_layout Standard
17229 \begin_inset Note Greyedout
17230 status open
17231
17232 \begin_layout Plain Layout
17233
17234 \series bold
17235 Note:
17236 \series default
17237  The alignment of the table row content to the surrounding text line is
17238  not exact.
17239  The required value for the 
17240 \series bold
17241
17242 \backslash
17243 raisebox
17244 \series default
17245  command for this alignment depends on the document font, the font size,
17246  and the table line thickness.
17247 \end_layout
17248
17249 \end_inset
17250
17251
17252 \end_layout
17253
17254 \begin_layout Section
17255 Colored Tables
17256 \begin_inset CommandInset label
17257 LatexCommand label
17258 name "sec:Colored-Tables"
17259
17260 \end_inset
17261
17262
17263 \begin_inset Index idx
17264 status collapsed
17265
17266 \begin_layout Plain Layout
17267 Table ! Color
17268 \end_layout
17269
17270 \end_inset
17271
17272
17273 \end_layout
17274
17275 \begin_layout Subsection
17276 Colored Cells
17277 \begin_inset Index idx
17278 status collapsed
17279
17280 \begin_layout Plain Layout
17281 Table Color ! for Cells
17282 \end_layout
17283
17284 \end_inset
17285
17286
17287 \begin_inset Index idx
17288 status collapsed
17289
17290 \begin_layout Plain Layout
17291 Color ! for Table Cells
17292 \end_layout
17293
17294 \end_inset
17295
17296
17297 \end_layout
17298
17299 \begin_layout Standard
17300 \begin_inset Float table
17301 placement h
17302 alignment document
17303 wide false
17304 sideways false
17305 status open
17306
17307 \begin_layout Plain Layout
17308 \begin_inset Caption Standard
17309
17310 \begin_layout Plain Layout
17311 \begin_inset CommandInset label
17312 LatexCommand label
17313 name "tab:Table-colored-without"
17314
17315 \end_inset
17316
17317 Table colored without using the package 
17318 \series bold
17319 colortbl
17320 \series default
17321
17322 \begin_inset Argument 1
17323 status collapsed
17324
17325 \begin_layout Plain Layout
17326 Table without colortbl
17327 \end_layout
17328
17329 \end_inset
17330
17331
17332 \end_layout
17333
17334 \end_inset
17335
17336
17337 \end_layout
17338
17339 \begin_layout Plain Layout
17340 \align center
17341 \begin_inset Tabular
17342 <lyxtabular version="3" rows="3" columns="3">
17343 <features tabularvalignment="middle">
17344 <column alignment="center" valignment="top">
17345 <column alignment="center" valignment="top">
17346 <column alignment="center" valignment="top">
17347 <row>
17348 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17349 \begin_inset Text
17350
17351 \begin_layout Plain Layout
17352
17353 \color green
17354 a
17355 \end_layout
17356
17357 \end_inset
17358 </cell>
17359 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17360 \begin_inset Text
17361
17362 \begin_layout Plain Layout
17363
17364 \color red
17365 b
17366 \end_layout
17367
17368 \end_inset
17369 </cell>
17370 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17371 \begin_inset Text
17372
17373 \begin_layout Plain Layout
17374
17375 \color red
17376 c
17377 \end_layout
17378
17379 \end_inset
17380 </cell>
17381 </row>
17382 <row>
17383 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17384 \begin_inset Text
17385
17386 \begin_layout Plain Layout
17387
17388 \color green
17389 d
17390 \end_layout
17391
17392 \end_inset
17393 </cell>
17394 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17395 \begin_inset Text
17396
17397 \begin_layout Plain Layout
17398
17399 \color blue
17400 e
17401 \end_layout
17402
17403 \end_inset
17404 </cell>
17405 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17406 \begin_inset Text
17407
17408 \begin_layout Plain Layout
17409
17410 \color blue
17411 f
17412 \end_layout
17413
17414 \end_inset
17415 </cell>
17416 </row>
17417 <row>
17418 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17419 \begin_inset Text
17420
17421 \begin_layout Plain Layout
17422
17423 \color green
17424 g
17425 \end_layout
17426
17427 \end_inset
17428 </cell>
17429 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17430 \begin_inset Text
17431
17432 \begin_layout Plain Layout
17433
17434 \color blue
17435 h
17436 \end_layout
17437
17438 \end_inset
17439 </cell>
17440 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17441 \begin_inset Text
17442
17443 \begin_layout Plain Layout
17444
17445 \color blue
17446 i
17447 \end_layout
17448
17449 \end_inset
17450 </cell>
17451 </row>
17452 </lyxtabular>
17453
17454 \end_inset
17455
17456
17457 \end_layout
17458
17459 \end_inset
17460
17461
17462 \end_layout
17463
17464 \begin_layout Standard
17465 If you only need colored text, mark the cells and choose a color in the
17466  
17467 \family sans
17468 Text
17469 \begin_inset space ~
17470 \end_inset
17471
17472 Style
17473 \family default
17474  dialog (toolbar button 
17475 \begin_inset Info
17476 type  "icon"
17477 arg   "dialog-show character"
17478 \end_inset
17479
17480 ).
17481  This was used to create Table
17482 \begin_inset space ~
17483 \end_inset
17484
17485
17486 \begin_inset CommandInset ref
17487 LatexCommand ref
17488 reference "tab:Table-colored-without"
17489
17490 \end_inset
17491
17492 .
17493  In any other case you have to use the \SpecialChar LaTeX
17494 -package 
17495 \series bold
17496 colortbl
17497 \series default
17498 .
17499 \begin_inset Index idx
17500 status collapsed
17501
17502 \begin_layout Plain Layout
17503 \SpecialChar LaTeX
17504 -packages ! colortbl
17505 \end_layout
17506
17507 \end_inset
17508
17509
17510 \end_layout
17511
17512 \begin_layout Standard
17513 \begin_inset ERT
17514 status collapsed
17515
17516 \begin_layout Plain Layout
17517
17518
17519 \backslash
17520 ifcolortbl
17521 \end_layout
17522
17523 \end_inset
17524
17525
17526 \begin_inset Note Note
17527 status open
17528
17529 \begin_layout Plain Layout
17530 The following section part will only be displayed when the \SpecialChar LaTeX
17531 -package 
17532 \series bold
17533 colortbl
17534 \series default
17535  is installed.
17536 \end_layout
17537
17538 \end_inset
17539
17540
17541 \end_layout
17542
17543 \begin_layout Standard
17544 To create colored tables, 
17545 \series bold
17546 colortbl
17547 \series default
17548  must be loaded in the preamble with the line
17549 \end_layout
17550
17551 \begin_layout Standard
17552
17553 \series bold
17554
17555 \backslash
17556 usepackage{colortbl}
17557 \end_layout
17558
17559 \begin_layout Standard
17560 The color of a column is adjusted with the command
17561 \end_layout
17562
17563 \begin_layout Standard
17564
17565 \series bold
17566
17567 \backslash
17568 columncolor{name of color}
17569 \end_layout
17570
17571 \begin_layout Standard
17572 inside the command 
17573 \series bold
17574 >{ }
17575 \series default
17576 .
17577  More about the command 
17578 \series bold
17579 >{}
17580 \series default
17581  is contained in section
17582 \begin_inset space ~
17583 \end_inset
17584
17585
17586 \begin_inset CommandInset ref
17587 LatexCommand ref
17588 reference "subsec:Multicolumn-Calculations"
17589
17590 \end_inset
17591
17592 .
17593 \end_layout
17594
17595 \begin_layout Standard
17596 The following color names are predefined:
17597 \end_layout
17598
17599 \begin_layout Standard
17600
17601 \family sans
17602 red
17603 \family default
17604
17605 \family sans
17606 green
17607 \family default
17608
17609 \family sans
17610 yellow
17611 \family default
17612
17613 \family sans
17614 blue
17615 \family default
17616
17617 \family sans
17618 cyan
17619 \family default
17620
17621 \family sans
17622 magenta
17623 \family default
17624
17625 \family sans
17626 black
17627 \family default
17628  and 
17629 \family sans
17630 white
17631 \end_layout
17632
17633 \begin_layout Standard
17634 \begin_inset VSpace medskip
17635 \end_inset
17636
17637
17638 \end_layout
17639
17640 \begin_layout Standard
17641 If you add the option
17642 \end_layout
17643
17644 \begin_layout Standard
17645
17646 \series bold
17647 dvipsnames
17648 \end_layout
17649
17650 \begin_layout Standard
17651 to the document class options in the document settings, you can additionally
17652  use further 61
17653 \begin_inset space ~
17654 \end_inset
17655
17656 colors.
17657  These colors are listed in appendix
17658 \begin_inset space ~
17659 \end_inset
17660
17661
17662 \begin_inset CommandInset ref
17663 LatexCommand ref
17664 reference "chap:List-of-dvips-colornames"
17665
17666 \end_inset
17667
17668 .
17669  One of these colors, 
17670 \family sans
17671 Maroon
17672 \family default
17673 , is used as example in Table
17674 \begin_inset space ~
17675 \end_inset
17676
17677
17678 \begin_inset CommandInset ref
17679 LatexCommand ref
17680 reference "tab:Table-colored-using"
17681
17682 \end_inset
17683
17684 .
17685 \end_layout
17686
17687 \begin_layout Standard
17688 \begin_inset VSpace medskip
17689 \end_inset
17690
17691
17692 \end_layout
17693
17694 \begin_layout Standard
17695 You can also define your own color with the command
17696 \end_layout
17697
17698 \begin_layout Standard
17699
17700 \series bold
17701
17702 \backslash
17703 definecolor{color name}{color model}{color values}
17704 \end_layout
17705
17706 \begin_layout Standard
17707 The color model can be
17708 \end_layout
17709
17710 \begin_layout Labeling
17711 \labelwidthstring 00.00.0000
17712 cmyk: cyan, magenta, yellow, black
17713 \end_layout
17714
17715 \begin_layout Labeling
17716 \labelwidthstring 00.00.0000
17717 rgb: red, green blue
17718 \end_layout
17719
17720 \begin_layout Labeling
17721 \labelwidthstring 00.00.0000
17722 gray gray
17723 \end_layout
17724
17725 \begin_layout Standard
17726 and the color values are comma separated numbers between 0 and 1 describing
17727  the factor for the corresponding color of the color model.
17728 \end_layout
17729
17730 \begin_layout Standard
17731 You can e.
17732 \begin_inset space \thinspace{}
17733 \end_inset
17734
17735 g.
17736 \begin_inset space \space{}
17737 \end_inset
17738
17739 define the color "
17740 \emph on
17741 darkgreen
17742 \emph default
17743 " in the preamble with
17744 \end_layout
17745
17746 \begin_layout Standard
17747
17748 \series bold
17749
17750 \backslash
17751 definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
17752 \end_layout
17753
17754 \begin_layout Standard
17755 and the color "
17756 \emph on
17757 lightgray
17758 \emph default
17759 " with
17760 \end_layout
17761
17762 \begin_layout Standard
17763
17764 \series bold
17765
17766 \backslash
17767 definecolor{lightgray}{gray}{0.8}
17768 \end_layout
17769
17770 \begin_layout Standard
17771 \begin_inset VSpace medskip
17772 \end_inset
17773
17774
17775 \end_layout
17776
17777 \begin_layout Standard
17778 Lines are colored with the command
17779 \end_layout
17780
17781 \begin_layout Standard
17782
17783 \series bold
17784
17785 \backslash
17786 rowcolor{name of color}
17787 \end_layout
17788
17789 \begin_layout Standard
17790 and cells are colored with the command
17791 \end_layout
17792
17793 \begin_layout Standard
17794
17795 \series bold
17796
17797 \backslash
17798 cellcolor{name of color}
17799 \end_layout
17800
17801 \begin_layout Standard
17802 Both commands are inserted at the beginning of a cell as \SpecialChar TeX
17803  Code.
17804 \end_layout
17805
17806 \begin_layout Standard
17807 To color characters in the table, mark the cells and use the 
17808 \family sans
17809 Text
17810 \begin_inset space ~
17811 \end_inset
17812
17813 Style
17814 \family default
17815  dialog.
17816  If a cell contains \SpecialChar TeX
17817  Code mark only the characters, otherwise the colored
17818  \SpecialChar TeX
17819  Code will cause \SpecialChar LaTeX
17820  errors.
17821 \end_layout
17822
17823 \begin_layout Standard
17824 \begin_inset Note Greyedout
17825 status open
17826
17827 \begin_layout Plain Layout
17828
17829 \series bold
17830 Note:
17831 \series default
17832  Not all DVI-viewers are able to display self-defined colors.
17833 \end_layout
17834
17835 \end_inset
17836
17837
17838 \end_layout
17839
17840 \begin_layout Standard
17841 \begin_inset VSpace bigskip
17842 \end_inset
17843
17844
17845 \end_layout
17846
17847 \begin_layout Standard
17848 To create Table
17849 \begin_inset space ~
17850 \end_inset
17851
17852
17853 \begin_inset CommandInset ref
17854 LatexCommand ref
17855 reference "tab:Table-colored-using"
17856
17857 \end_inset
17858
17859  do the following: The color of the first column should be 
17860 \emph on
17861 darkgreen
17862 \emph default
17863 .
17864  So insert
17865 \end_layout
17866
17867 \begin_layout Standard
17868
17869 \series bold
17870 >{
17871 \backslash
17872 columncolor{darkgreen}
17873 \backslash
17874 centering}c
17875 \end_layout
17876
17877 \begin_layout Standard
17878 as \SpecialChar LaTeX
17879 -argument for this column.
17880  The first row should be light blue, therefore the \SpecialChar TeX
17881  Code command
17882 \end_layout
17883
17884 \begin_layout Standard
17885
17886 \series bold
17887
17888 \backslash
17889 rowcolor{cyan}
17890 \end_layout
17891
17892 \begin_layout Standard
17893 is inserted to the first cell of this row.
17894  Note that this overwrites the column color for the first cell.
17895  The last cell of the last row is colored maroon by inserting the \SpecialChar TeX
17896  Code
17897  command
17898 \end_layout
17899
17900 \begin_layout Standard
17901
17902 \series bold
17903
17904 \backslash
17905 cellcolor{Maroon}
17906 \end_layout
17907
17908 \begin_layout Standard
17909 The characters could now be colored using the menu 
17910 \family sans
17911 Edit\SpecialChar menuseparator
17912 Text
17913 \begin_inset space ~
17914 \end_inset
17915
17916 Style
17917 \family default
17918 .
17919 \end_layout
17920
17921 \begin_layout Standard
17922 \begin_inset Float table
17923 placement h
17924 alignment document
17925 wide false
17926 sideways false
17927 status open
17928
17929 \begin_layout Plain Layout
17930 \begin_inset Caption Standard
17931
17932 \begin_layout Plain Layout
17933 \begin_inset CommandInset label
17934 LatexCommand label
17935 name "tab:Table-colored-using"
17936
17937 \end_inset
17938
17939 Table colored using the package 
17940 \series bold
17941 colortbl
17942 \series default
17943
17944 \begin_inset Argument 1
17945 status collapsed
17946
17947 \begin_layout Plain Layout
17948 Table with colortbl
17949 \end_layout
17950
17951 \end_inset
17952
17953
17954 \end_layout
17955
17956 \end_inset
17957
17958
17959 \end_layout
17960
17961 \begin_layout Plain Layout
17962 \align center
17963 \begin_inset Tabular
17964 <lyxtabular version="3" rows="3" columns="3">
17965 <features tabularvalignment="middle">
17966 <column alignment="center" valignment="top" special=">{\columncolor{darkgreen}\centering}c">
17967 <column alignment="center" valignment="top">
17968 <column alignment="center" valignment="top">
17969 <row>
17970 <cell alignment="center" valignment="top" usebox="none">
17971 \begin_inset Text
17972
17973 \begin_layout Plain Layout
17974 \begin_inset ERT
17975 status collapsed
17976
17977 \begin_layout Plain Layout
17978
17979
17980 \backslash
17981 rowcolor{cyan}
17982 \end_layout
17983
17984 \end_inset
17985
17986
17987 \color magenta
17988 a
17989 \end_layout
17990
17991 \end_inset
17992 </cell>
17993 <cell alignment="center" valignment="top" usebox="none">
17994 \begin_inset Text
17995
17996 \begin_layout Plain Layout
17997
17998 \color red
17999 b
18000 \end_layout
18001
18002 \end_inset
18003 </cell>
18004 <cell alignment="center" valignment="top" usebox="none">
18005 \begin_inset Text
18006
18007 \begin_layout Plain Layout
18008
18009 \color red
18010 c
18011 \end_layout
18012
18013 \end_inset
18014 </cell>
18015 </row>
18016 <row>
18017 <cell alignment="center" valignment="top" usebox="none">
18018 \begin_inset Text
18019
18020 \begin_layout Plain Layout
18021
18022 \color yellow
18023 d
18024 \end_layout
18025
18026 \end_inset
18027 </cell>
18028 <cell alignment="center" valignment="top" usebox="none">
18029 \begin_inset Text
18030
18031 \begin_layout Plain Layout
18032
18033 \color blue
18034 e
18035 \end_layout
18036
18037 \end_inset
18038 </cell>
18039 <cell alignment="center" valignment="top" usebox="none">
18040 \begin_inset Text
18041
18042 \begin_layout Plain Layout
18043
18044 \color blue
18045 f
18046 \end_layout
18047
18048 \end_inset
18049 </cell>
18050 </row>
18051 <row>
18052 <cell alignment="center" valignment="top" usebox="none">
18053 \begin_inset Text
18054
18055 \begin_layout Plain Layout
18056
18057 \color yellow
18058 g
18059 \end_layout
18060
18061 \end_inset
18062 </cell>
18063 <cell alignment="center" valignment="top" usebox="none">
18064 \begin_inset Text
18065
18066 \begin_layout Plain Layout
18067
18068 \color blue
18069 h
18070 \end_layout
18071
18072 \end_inset
18073 </cell>
18074 <cell alignment="center" valignment="top" usebox="none">
18075 \begin_inset Text
18076
18077 \begin_layout Plain Layout
18078 \begin_inset ERT
18079 status collapsed
18080
18081 \begin_layout Plain Layout
18082
18083
18084 \backslash
18085 cellcolor{Maroon}
18086 \end_layout
18087
18088 \end_inset
18089
18090
18091 \color green
18092 i
18093 \end_layout
18094
18095 \end_inset
18096 </cell>
18097 </row>
18098 </lyxtabular>
18099
18100 \end_inset
18101
18102
18103 \end_layout
18104
18105 \end_inset
18106
18107
18108 \end_layout
18109
18110 \begin_layout Standard
18111 \begin_inset ERT
18112 status collapsed
18113
18114 \begin_layout Plain Layout
18115
18116
18117 \backslash
18118 else
18119 \end_layout
18120
18121 \end_inset
18122
18123
18124 \begin_inset Note Note
18125 status open
18126
18127 \begin_layout Plain Layout
18128 The following will be displayed when the \SpecialChar LaTeX
18129 -package 
18130 \series bold
18131 colortbl
18132 \series default
18133  is not installed:
18134 \end_layout
18135
18136 \end_inset
18137
18138
18139 \end_layout
18140
18141 \begin_layout Standard
18142 You need to install the package 
18143 \series bold
18144 colortbl
18145 \series default
18146  to see the content of this section in the output.
18147 \end_layout
18148
18149 \begin_layout Standard
18150 \begin_inset ERT
18151 status collapsed
18152
18153 \begin_layout Plain Layout
18154
18155
18156 \backslash
18157 fi
18158 \end_layout
18159
18160 \end_inset
18161
18162
18163 \end_layout
18164
18165 \begin_layout Subsection
18166 Colored Rows
18167 \begin_inset Index idx
18168 status collapsed
18169
18170 \begin_layout Plain Layout
18171 Table Color ! for Rows
18172 \end_layout
18173
18174 \end_inset
18175
18176
18177 \begin_inset Index idx
18178 status collapsed
18179
18180 \begin_layout Plain Layout
18181 Color ! for Table Rows
18182 \end_layout
18183
18184 \end_inset
18185
18186
18187 \end_layout
18188
18189 \begin_layout Standard
18190 In case every second table row needs to be colored there is an alternative
18191  to the method described in the previous section: One loads the package
18192  
18193 \series bold
18194 xcolor
18195 \series default
18196
18197 \begin_inset Index idx
18198 status collapsed
18199
18200 \begin_layout Plain Layout
18201 \SpecialChar LaTeX
18202 -packages ! xcolor
18203 \begin_inset ERT
18204 status collapsed
18205
18206 \begin_layout Plain Layout
18207
18208
18209 \backslash
18210 vspace{4mm}
18211 \end_layout
18212
18213 \end_inset
18214
18215
18216 \end_layout
18217
18218 \end_inset
18219
18220  in the document preamble with the command
18221 \end_layout
18222
18223 \begin_layout Standard
18224
18225 \series bold
18226
18227 \backslash
18228 usepackage[table]{xcolor}
18229 \end_layout
18230
18231 \begin_layout Standard
18232
18233 \series bold
18234 xcolor
18235 \series default
18236  automatically loads also the package 
18237 \series bold
18238 colortbl
18239 \series default
18240
18241 \begin_inset Index idx
18242 status collapsed
18243
18244 \begin_layout Plain Layout
18245 \SpecialChar LaTeX
18246 -packages ! colortbl
18247 \end_layout
18248
18249 \end_inset
18250
18251 , so 
18252 \series bold
18253 colortbl
18254 \series default
18255  must be installed in your \SpecialChar LaTeX
18256 -distribution, otherwise you get \SpecialChar LaTeX
18257 -errors.
18258 \end_layout
18259
18260 \begin_layout Standard
18261 \begin_inset ERT
18262 status collapsed
18263
18264 \begin_layout Plain Layout
18265
18266
18267 \backslash
18268 ifcolortbl
18269 \end_layout
18270
18271 \end_inset
18272
18273
18274 \begin_inset Note Note
18275 status open
18276
18277 \begin_layout Plain Layout
18278 The following section part will only be displayed when the \SpecialChar LaTeX
18279 -package 
18280 \series bold
18281 colortbl
18282 \series default
18283  is installed.
18284 \end_layout
18285
18286 \end_inset
18287
18288
18289 \end_layout
18290
18291 \begin_layout Standard
18292 The table rows are colored with the command
18293 \end_layout
18294
18295 \begin_layout Standard
18296
18297 \series bold
18298
18299 \backslash
18300 rowcolors[commands]{row number}{odd row color}{even row color}
18301 \end_layout
18302
18303 \begin_layout Standard
18304 that is either inserted in the document preamble or as \SpecialChar TeX
18305  Code before the
18306  first table to be colored.
18307  row
18308 \begin_inset space ~
18309 \end_inset
18310
18311 number is the number of the first row which should be colored according
18312  to the odd row color.
18313  commands can be additional commands that are executed before every table
18314  row.
18315  So for example the command
18316 \end_layout
18317
18318 \begin_layout Standard
18319
18320 \series bold
18321
18322 \backslash
18323 rowcolors{1}{white}{lightgray}
18324 \end_layout
18325
18326 \begin_layout Standard
18327 leads to the coloring scheme of Table
18328 \begin_inset space ~
18329 \end_inset
18330
18331
18332 \begin_inset CommandInset ref
18333 LatexCommand ref
18334 reference "tab:Table-rowcolors"
18335
18336 \end_inset
18337
18338 .
18339  The command
18340 \end_layout
18341
18342 \begin_layout Standard
18343
18344 \series bold
18345
18346 \backslash
18347 rowcolors[
18348 \backslash
18349 hline]{1}{lightgray}{cyan}
18350 \end_layout
18351
18352 \begin_layout Standard
18353 leads to the coloring scheme of Table
18354 \begin_inset space ~
18355 \end_inset
18356
18357
18358 \begin_inset CommandInset ref
18359 LatexCommand ref
18360 reference "tab:Table-rowcolors-2"
18361
18362 \end_inset
18363
18364 .
18365  If odd
18366 \begin_inset space ~
18367 \end_inset
18368
18369 row
18370 \begin_inset space ~
18371 \end_inset
18372
18373 color and/or even
18374 \begin_inset space ~
18375 \end_inset
18376
18377 row
18378 \begin_inset space ~
18379 \end_inset
18380
18381 color are left empty, no color will be used so that the command
18382 \end_layout
18383
18384 \begin_layout Standard
18385
18386 \series bold
18387
18388 \backslash
18389 rowcolors{1}{}{}
18390 \end_layout
18391
18392 \begin_layout Standard
18393 deletes all colors.
18394  
18395 \series bold
18396
18397 \backslash
18398 rowcolors
18399 \series default
18400  affects all tables following that command.
18401 \end_layout
18402
18403 \begin_layout Standard
18404 \begin_inset ERT
18405 status open
18406
18407 \begin_layout Plain Layout
18408
18409
18410 \backslash
18411 rowcolors{1}{white}{lightgray}
18412 \end_layout
18413
18414 \end_inset
18415
18416
18417 \end_layout
18418
18419 \begin_layout Standard
18420 \begin_inset Float table
18421 placement h
18422 alignment document
18423 wide false
18424 sideways false
18425 status open
18426
18427 \begin_layout Plain Layout
18428 \begin_inset Caption Standard
18429
18430 \begin_layout Plain Layout
18431 \begin_inset CommandInset label
18432 LatexCommand label
18433 name "tab:Table-rowcolors"
18434
18435 \end_inset
18436
18437 Table where every second row is colored light gray.
18438 \end_layout
18439
18440 \end_inset
18441
18442
18443 \end_layout
18444
18445 \begin_layout Plain Layout
18446 \align center
18447 \begin_inset Tabular
18448 <lyxtabular version="3" rows="4" columns="3">
18449 <features tabularvalignment="middle">
18450 <column alignment="center" valignment="top">
18451 <column alignment="center" valignment="top" width="0pt">
18452 <column alignment="center" valignment="top" width="0pt">
18453 <row>
18454 <cell alignment="center" valignment="top" usebox="none">
18455 \begin_inset Text
18456
18457 \begin_layout Plain Layout
18458 X
18459 \end_layout
18460
18461 \end_inset
18462 </cell>
18463 <cell alignment="center" valignment="top" usebox="none">
18464 \begin_inset Text
18465
18466 \begin_layout Plain Layout
18467 Y
18468 \end_layout
18469
18470 \end_inset
18471 </cell>
18472 <cell alignment="center" valignment="top" usebox="none">
18473 \begin_inset Text
18474
18475 \begin_layout Plain Layout
18476 Z
18477 \end_layout
18478
18479 \end_inset
18480 </cell>
18481 </row>
18482 <row>
18483 <cell alignment="center" valignment="top" usebox="none">
18484 \begin_inset Text
18485
18486 \begin_layout Plain Layout
18487 1
18488 \end_layout
18489
18490 \end_inset
18491 </cell>
18492 <cell alignment="center" valignment="top" usebox="none">
18493 \begin_inset Text
18494
18495 \begin_layout Plain Layout
18496 2
18497 \end_layout
18498
18499 \end_inset
18500 </cell>
18501 <cell alignment="center" valignment="top" usebox="none">
18502 \begin_inset Text
18503
18504 \begin_layout Plain Layout
18505 3
18506 \end_layout
18507
18508 \end_inset
18509 </cell>
18510 </row>
18511 <row>
18512 <cell alignment="center" valignment="top" usebox="none">
18513 \begin_inset Text
18514
18515 \begin_layout Plain Layout
18516 4
18517 \end_layout
18518
18519 \end_inset
18520 </cell>
18521 <cell alignment="center" valignment="top" usebox="none">
18522 \begin_inset Text
18523
18524 \begin_layout Plain Layout
18525 5
18526 \end_layout
18527
18528 \end_inset
18529 </cell>
18530 <cell alignment="center" valignment="top" usebox="none">
18531 \begin_inset Text
18532
18533 \begin_layout Plain Layout
18534 6
18535 \end_layout
18536
18537 \end_inset
18538 </cell>
18539 </row>
18540 <row>
18541 <cell alignment="center" valignment="top" usebox="none">
18542 \begin_inset Text
18543
18544 \begin_layout Plain Layout
18545 7
18546 \end_layout
18547
18548 \end_inset
18549 </cell>
18550 <cell alignment="center" valignment="top" usebox="none">
18551 \begin_inset Text
18552
18553 \begin_layout Plain Layout
18554 8
18555 \end_layout
18556
18557 \end_inset
18558 </cell>
18559 <cell alignment="center" valignment="top" usebox="none">
18560 \begin_inset Text
18561
18562 \begin_layout Plain Layout
18563 9
18564 \end_layout
18565
18566 \end_inset
18567 </cell>
18568 </row>
18569 </lyxtabular>
18570
18571 \end_inset
18572
18573
18574 \end_layout
18575
18576 \end_inset
18577
18578
18579 \end_layout
18580
18581 \begin_layout Standard
18582 \begin_inset ERT
18583 status open
18584
18585 \begin_layout Plain Layout
18586
18587
18588 \backslash
18589 rowcolors[
18590 \backslash
18591 hline]{1}{lightgray}{cyan}
18592 \end_layout
18593
18594 \end_inset
18595
18596
18597 \end_layout
18598
18599 \begin_layout Standard
18600 \begin_inset Float table
18601 placement h
18602 alignment document
18603 wide false
18604 sideways false
18605 status open
18606
18607 \begin_layout Plain Layout
18608 \begin_inset Caption Standard
18609
18610 \begin_layout Plain Layout
18611 \begin_inset CommandInset label
18612 LatexCommand label
18613 name "tab:Table-rowcolors-2"
18614
18615 \end_inset
18616
18617 Table where every second row is colored cyan and at which there is a line
18618  between each row.
18619 \end_layout
18620
18621 \end_inset
18622
18623
18624 \end_layout
18625
18626 \begin_layout Plain Layout
18627 \align center
18628 \begin_inset Tabular
18629 <lyxtabular version="3" rows="4" columns="3">
18630 <features tabularvalignment="middle">
18631 <column alignment="center" valignment="top">
18632 <column alignment="center" valignment="top">
18633 <column alignment="center" valignment="top" width="0pt">
18634 <row>
18635 <cell alignment="center" valignment="top" usebox="none">
18636 \begin_inset Text
18637
18638 \begin_layout Plain Layout
18639 X
18640 \end_layout
18641
18642 \end_inset
18643 </cell>
18644 <cell alignment="center" valignment="top" usebox="none">
18645 \begin_inset Text
18646
18647 \begin_layout Plain Layout
18648 Y
18649 \end_layout
18650
18651 \end_inset
18652 </cell>
18653 <cell alignment="center" valignment="top" usebox="none">
18654 \begin_inset Text
18655
18656 \begin_layout Plain Layout
18657 Z
18658 \end_layout
18659
18660 \end_inset
18661 </cell>
18662 </row>
18663 <row>
18664 <cell alignment="center" valignment="top" usebox="none">
18665 \begin_inset Text
18666
18667 \begin_layout Plain Layout
18668 1
18669 \end_layout
18670
18671 \end_inset
18672 </cell>
18673 <cell alignment="center" valignment="top" usebox="none">
18674 \begin_inset Text
18675
18676 \begin_layout Plain Layout
18677 2
18678 \end_layout
18679
18680 \end_inset
18681 </cell>
18682 <cell alignment="center" valignment="top" usebox="none">
18683 \begin_inset Text
18684
18685 \begin_layout Plain Layout
18686 3
18687 \end_layout
18688
18689 \end_inset
18690 </cell>
18691 </row>
18692 <row>
18693 <cell alignment="center" valignment="top" usebox="none">
18694 \begin_inset Text
18695
18696 \begin_layout Plain Layout
18697 4
18698 \end_layout
18699
18700 \end_inset
18701 </cell>
18702 <cell alignment="center" valignment="top" usebox="none">
18703 \begin_inset Text
18704
18705 \begin_layout Plain Layout
18706 5
18707 \end_layout
18708
18709 \end_inset
18710 </cell>
18711 <cell alignment="center" valignment="top" usebox="none">
18712 \begin_inset Text
18713
18714 \begin_layout Plain Layout
18715 6
18716 \end_layout
18717
18718 \end_inset
18719 </cell>
18720 </row>
18721 <row>
18722 <cell alignment="center" valignment="top" usebox="none">
18723 \begin_inset Text
18724
18725 \begin_layout Plain Layout
18726 7
18727 \end_layout
18728
18729 \end_inset
18730 </cell>
18731 <cell alignment="center" valignment="top" usebox="none">
18732 \begin_inset Text
18733
18734 \begin_layout Plain Layout
18735 8
18736 \end_layout
18737
18738 \end_inset
18739 </cell>
18740 <cell alignment="center" valignment="top" usebox="none">
18741 \begin_inset Text
18742
18743 \begin_layout Plain Layout
18744 9
18745 \end_layout
18746
18747 \end_inset
18748 </cell>
18749 </row>
18750 </lyxtabular>
18751
18752 \end_inset
18753
18754
18755 \end_layout
18756
18757 \end_inset
18758
18759
18760 \end_layout
18761
18762 \begin_layout Standard
18763 \begin_inset ERT
18764 status collapsed
18765
18766 \begin_layout Plain Layout
18767
18768
18769 \backslash
18770 rowcolors{1}{}{}
18771 \end_layout
18772
18773 \end_inset
18774
18775
18776 \begin_inset Note Note
18777 status collapsed
18778
18779 \begin_layout Plain Layout
18780 turns off the row coloring
18781 \end_layout
18782
18783 \end_inset
18784
18785
18786 \end_layout
18787
18788 \begin_layout Standard
18789 \begin_inset ERT
18790 status collapsed
18791
18792 \begin_layout Plain Layout
18793
18794
18795 \backslash
18796 else
18797 \end_layout
18798
18799 \end_inset
18800
18801
18802 \begin_inset Note Note
18803 status open
18804
18805 \begin_layout Plain Layout
18806 The following will be displayed when the \SpecialChar LaTeX
18807 -package 
18808 \series bold
18809 colortbl
18810 \series default
18811  is not installed:
18812 \end_layout
18813
18814 \end_inset
18815
18816
18817 \end_layout
18818
18819 \begin_layout Standard
18820 You need to install the package 
18821 \series bold
18822 colortbl
18823 \series default
18824  to see the content of this section in the output.
18825 \end_layout
18826
18827 \begin_layout Standard
18828 \begin_inset ERT
18829 status collapsed
18830
18831 \begin_layout Plain Layout
18832
18833
18834 \backslash
18835 fi
18836 \end_layout
18837
18838 \end_inset
18839
18840
18841 \end_layout
18842
18843 \begin_layout Subsection
18844 Colored Lines
18845 \begin_inset Index idx
18846 status collapsed
18847
18848 \begin_layout Plain Layout
18849 Table Color ! for Lines
18850 \end_layout
18851
18852 \end_inset
18853
18854
18855 \begin_inset Index idx
18856 status collapsed
18857
18858 \begin_layout Plain Layout
18859 Color ! for Table Lines
18860 \end_layout
18861
18862 \end_inset
18863
18864
18865 \end_layout
18866
18867 \begin_layout Standard
18868 As described in section
18869 \begin_inset space ~
18870 \end_inset
18871
18872
18873 \begin_inset CommandInset ref
18874 LatexCommand ref
18875 reference "subsec:Line-Thickness"
18876
18877 \end_inset
18878
18879 , the line thickness for all lines in a table can be adjusted with the length
18880  
18881 \series bold
18882
18883 \backslash
18884 arrayrulewidth
18885 \series default
18886 .
18887  It is set to 1.5
18888 \begin_inset space \thinspace{}
18889 \end_inset
18890
18891 pt for all tables of this section.
18892 \begin_inset ERT
18893 status collapsed
18894
18895 \begin_layout Plain Layout
18896
18897
18898 \backslash
18899 setlength{
18900 \backslash
18901 arrayrulewidth}{1.5pt}
18902 \end_layout
18903
18904 \end_inset
18905
18906
18907 \end_layout
18908
18909 \begin_layout Standard
18910 To color vertical lines for example with green, create the following column
18911  format in the document preamble, according to the description in section
18912 \begin_inset space ~
18913 \end_inset
18914
18915
18916 \begin_inset CommandInset ref
18917 LatexCommand ref
18918 reference "subsec:Customized-Format"
18919
18920 \end_inset
18921
18922 :
18923 \end_layout
18924
18925 \begin_layout Standard
18926
18927 \series bold
18928
18929 \backslash
18930 newcolumntype{W}{!{
18931 \backslash
18932 color{green}
18933 \backslash
18934 vline}}
18935 \end_layout
18936
18937 \begin_layout Standard
18938 For Table
18939 \begin_inset space ~
18940 \end_inset
18941
18942
18943 \begin_inset CommandInset ref
18944 LatexCommand ref
18945 reference "tab:Table-with-vertical-colored"
18946
18947 \end_inset
18948
18949  the \SpecialChar LaTeX
18950 -argument
18951 \series bold
18952  WcW
18953 \series default
18954  was used for the last column and
18955 \series bold
18956  Wc
18957 \series default
18958  for the other columns.
18959 \end_layout
18960
18961 \begin_layout Standard
18962 If you want to have several colors, define more column formats.
18963 \end_layout
18964
18965 \begin_layout Standard
18966 \begin_inset Float table
18967 placement h
18968 alignment document
18969 wide false
18970 sideways false
18971 status open
18972
18973 \begin_layout Plain Layout
18974 \begin_inset Caption Standard
18975
18976 \begin_layout Plain Layout
18977 \begin_inset CommandInset label
18978 LatexCommand label
18979 name "tab:Table-with-vertical-colored"
18980
18981 \end_inset
18982
18983 Table with colored vertical lines
18984 \end_layout
18985
18986 \end_inset
18987
18988
18989 \end_layout
18990
18991 \begin_layout Plain Layout
18992 \align center
18993 \begin_inset Tabular
18994 <lyxtabular version="3" rows="3" columns="3">
18995 <features tabularvalignment="middle">
18996 <column alignment="center" valignment="top" special="Wc">
18997 <column alignment="center" valignment="top" special="Wc">
18998 <column alignment="center" valignment="top" special="WcW">
18999 <row>
19000 <cell alignment="center" valignment="top" topline="true" usebox="none">
19001 \begin_inset Text
19002
19003 \begin_layout Plain Layout
19004 sd
19005 \end_layout
19006
19007 \end_inset
19008 </cell>
19009 <cell alignment="center" valignment="top" topline="true" usebox="none">
19010 \begin_inset Text
19011
19012 \begin_layout Plain Layout
19013
19014 \end_layout
19015
19016 \end_inset
19017 </cell>
19018 <cell alignment="center" valignment="top" topline="true" usebox="none">
19019 \begin_inset Text
19020
19021 \begin_layout Plain Layout
19022
19023 \end_layout
19024
19025 \end_inset
19026 </cell>
19027 </row>
19028 <row>
19029 <cell alignment="center" valignment="top" topline="true" usebox="none">
19030 \begin_inset Text
19031
19032 \begin_layout Plain Layout
19033
19034 \end_layout
19035
19036 \end_inset
19037 </cell>
19038 <cell alignment="center" valignment="top" topline="true" usebox="none">
19039 \begin_inset Text
19040
19041 \begin_layout Plain Layout
19042 sd
19043 \end_layout
19044
19045 \end_inset
19046 </cell>
19047 <cell alignment="center" valignment="top" topline="true" usebox="none">
19048 \begin_inset Text
19049
19050 \begin_layout Plain Layout
19051
19052 \end_layout
19053
19054 \end_inset
19055 </cell>
19056 </row>
19057 <row>
19058 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19059 \begin_inset Text
19060
19061 \begin_layout Plain Layout
19062
19063 \end_layout
19064
19065 \end_inset
19066 </cell>
19067 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19068 \begin_inset Text
19069
19070 \begin_layout Plain Layout
19071
19072 \end_layout
19073
19074 \end_inset
19075 </cell>
19076 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19077 \begin_inset Text
19078
19079 \begin_layout Plain Layout
19080 sd
19081 \end_layout
19082
19083 \end_inset
19084 </cell>
19085 </row>
19086 </lyxtabular>
19087
19088 \end_inset
19089
19090
19091 \end_layout
19092
19093 \end_inset
19094
19095
19096 \end_layout
19097
19098 \begin_layout Standard
19099 \begin_inset VSpace bigskip
19100 \end_inset
19101
19102 To color all horizontal lines for example with red, as in Table
19103 \begin_inset space ~
19104 \end_inset
19105
19106
19107 \begin_inset CommandInset ref
19108 LatexCommand ref
19109 reference "tab:Table-with-horizontal-colored"
19110
19111 \end_inset
19112
19113 , insert these commands in \SpecialChar TeX
19114  code before the table or table float:
19115 \end_layout
19116
19117 \begin_layout Standard
19118
19119 \series bold
19120
19121 \backslash
19122 let
19123 \backslash
19124 myHlineC
19125 \backslash
19126 hline
19127 \begin_inset Newline newline
19128 \end_inset
19129
19130
19131 \backslash
19132 renewcommand{
19133 \backslash
19134 hline}
19135 \begin_inset Newline newline
19136 \end_inset
19137
19138
19139 \begin_inset Phantom HPhantom
19140 status open
19141
19142 \begin_layout Plain Layout
19143
19144 \series bold
19145 \begin_inset space ~
19146 \end_inset
19147
19148
19149 \end_layout
19150
19151 \end_inset
19152
19153 {
19154 \backslash
19155 arrayrulecolor{red}
19156 \backslash
19157 myHlineC
19158 \backslash
19159 arrayrulecolor{black}}
19160 \end_layout
19161
19162 \begin_layout Standard
19163 \begin_inset ERT
19164 status collapsed
19165
19166 \begin_layout Plain Layout
19167
19168
19169 \backslash
19170 let
19171 \backslash
19172 myHlineC
19173 \backslash
19174 hline
19175 \end_layout
19176
19177 \begin_layout Plain Layout
19178
19179
19180 \backslash
19181 renewcommand{
19182 \backslash
19183 hline}
19184 \end_layout
19185
19186 \begin_layout Plain Layout
19187
19188  {
19189 \backslash
19190 arrayrulecolor{red}
19191 \backslash
19192 myHlineC
19193 \backslash
19194 arrayrulecolor{black}}
19195 \end_layout
19196
19197 \end_inset
19198
19199
19200 \begin_inset Float table
19201 placement h
19202 alignment document
19203 wide false
19204 sideways false
19205 status open
19206
19207 \begin_layout Plain Layout
19208 \begin_inset Caption Standard
19209
19210 \begin_layout Plain Layout
19211 \begin_inset CommandInset label
19212 LatexCommand label
19213 name "tab:Table-with-horizontal-colored"
19214
19215 \end_inset
19216
19217 Table with colored horizontal lines
19218 \end_layout
19219
19220 \end_inset
19221
19222
19223 \end_layout
19224
19225 \begin_layout Plain Layout
19226 \align center
19227 \begin_inset Tabular
19228 <lyxtabular version="3" rows="3" columns="3">
19229 <features tabularvalignment="middle">
19230 <column alignment="center" valignment="top">
19231 <column alignment="center" valignment="top">
19232 <column alignment="center" valignment="top">
19233 <row>
19234 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19235 \begin_inset Text
19236
19237 \begin_layout Plain Layout
19238 sd
19239 \end_layout
19240
19241 \end_inset
19242 </cell>
19243 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19244 \begin_inset Text
19245
19246 \begin_layout Plain Layout
19247
19248 \end_layout
19249
19250 \end_inset
19251 </cell>
19252 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19253 \begin_inset Text
19254
19255 \begin_layout Plain Layout
19256
19257 \end_layout
19258
19259 \end_inset
19260 </cell>
19261 </row>
19262 <row>
19263 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19264 \begin_inset Text
19265
19266 \begin_layout Plain Layout
19267
19268 \end_layout
19269
19270 \end_inset
19271 </cell>
19272 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19273 \begin_inset Text
19274
19275 \begin_layout Plain Layout
19276 sd
19277 \end_layout
19278
19279 \end_inset
19280 </cell>
19281 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19282 \begin_inset Text
19283
19284 \begin_layout Plain Layout
19285
19286 \end_layout
19287
19288 \end_inset
19289 </cell>
19290 </row>
19291 <row>
19292 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19293 \begin_inset Text
19294
19295 \begin_layout Plain Layout
19296
19297 \end_layout
19298
19299 \end_inset
19300 </cell>
19301 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19302 \begin_inset Text
19303
19304 \begin_layout Plain Layout
19305
19306 \end_layout
19307
19308 \end_inset
19309 </cell>
19310 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
19311 \begin_inset Text
19312
19313 \begin_layout Plain Layout
19314 sd
19315 \end_layout
19316
19317 \end_inset
19318 </cell>
19319 </row>
19320 </lyxtabular>
19321
19322 \end_inset
19323
19324
19325 \end_layout
19326
19327 \end_inset
19328
19329
19330 \end_layout
19331
19332 \begin_layout Standard
19333 To return to the default line color black, insert this command in \SpecialChar TeX
19334  code
19335  after the table or table float:
19336 \end_layout
19337
19338 \begin_layout Standard
19339
19340 \series bold
19341
19342 \backslash
19343 renewcommand{
19344 \backslash
19345 hline}{
19346 \backslash
19347 myHlineC}
19348 \end_layout
19349
19350 \begin_layout Standard
19351 Table
19352 \begin_inset space ~
19353 \end_inset
19354
19355
19356 \begin_inset CommandInset ref
19357 LatexCommand ref
19358 reference "tab:Table-with-colored"
19359
19360 \end_inset
19361
19362  is an example with colored vertical and horizontal lines.
19363 \end_layout
19364
19365 \begin_layout Standard
19366 \begin_inset Float table
19367 placement h
19368 alignment document
19369 wide false
19370 sideways false
19371 status open
19372
19373 \begin_layout Plain Layout
19374 \begin_inset Caption Standard
19375
19376 \begin_layout Plain Layout
19377 \begin_inset CommandInset label
19378 LatexCommand label
19379 name "tab:Table-with-colored"
19380
19381 \end_inset
19382
19383 Table with colored lines
19384 \end_layout
19385
19386 \end_inset
19387
19388
19389 \end_layout
19390
19391 \begin_layout Plain Layout
19392 \align center
19393 \begin_inset Tabular
19394 <lyxtabular version="3" rows="3" columns="3">
19395 <features tabularvalignment="middle">
19396 <column alignment="center" valignment="top" special="Wc">
19397 <column alignment="center" valignment="top" special="Wc">
19398 <column alignment="center" valignment="top" special="WcW">
19399 <row>
19400 <cell alignment="center" valignment="top" topline="true" usebox="none">
19401 \begin_inset Text
19402
19403 \begin_layout Plain Layout
19404 sd
19405 \end_layout
19406
19407 \end_inset
19408 </cell>
19409 <cell alignment="center" valignment="top" topline="true" usebox="none">
19410 \begin_inset Text
19411
19412 \begin_layout Plain Layout
19413
19414 \end_layout
19415
19416 \end_inset
19417 </cell>
19418 <cell alignment="center" valignment="top" topline="true" usebox="none">
19419 \begin_inset Text
19420
19421 \begin_layout Plain Layout
19422
19423 \end_layout
19424
19425 \end_inset
19426 </cell>
19427 </row>
19428 <row>
19429 <cell alignment="center" valignment="top" topline="true" usebox="none">
19430 \begin_inset Text
19431
19432 \begin_layout Plain Layout
19433
19434 \end_layout
19435
19436 \end_inset
19437 </cell>
19438 <cell alignment="center" valignment="top" topline="true" usebox="none">
19439 \begin_inset Text
19440
19441 \begin_layout Plain Layout
19442 sd
19443 \end_layout
19444
19445 \end_inset
19446 </cell>
19447 <cell alignment="center" valignment="top" topline="true" usebox="none">
19448 \begin_inset Text
19449
19450 \begin_layout Plain Layout
19451
19452 \end_layout
19453
19454 \end_inset
19455 </cell>
19456 </row>
19457 <row topspace="default">
19458 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19459 \begin_inset Text
19460
19461 \begin_layout Plain Layout
19462
19463 \end_layout
19464
19465 \end_inset
19466 </cell>
19467 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19468 \begin_inset Text
19469
19470 \begin_layout Plain Layout
19471
19472 \end_layout
19473
19474 \end_inset
19475 </cell>
19476 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19477 \begin_inset Text
19478
19479 \begin_layout Plain Layout
19480 sd
19481 \end_layout
19482
19483 \end_inset
19484 </cell>
19485 </row>
19486 </lyxtabular>
19487
19488 \end_inset
19489
19490
19491 \end_layout
19492
19493 \end_inset
19494
19495
19496 \end_layout
19497
19498 \begin_layout Standard
19499 \begin_inset ERT
19500 status collapsed
19501
19502 \begin_layout Plain Layout
19503
19504
19505 \backslash
19506 renewcommand{
19507 \backslash
19508 hline}{
19509 \backslash
19510 myHlineC}
19511 \end_layout
19512
19513 \end_inset
19514
19515
19516 \end_layout
19517
19518 \begin_layout Standard
19519 \begin_inset ERT
19520 status collapsed
19521
19522 \begin_layout Plain Layout
19523
19524
19525 \backslash
19526 setlength{
19527 \backslash
19528 arrayrulewidth}{1.2pt}
19529 \end_layout
19530
19531 \end_inset
19532
19533
19534 \end_layout
19535
19536 \begin_layout Standard
19537 To color only some of the table lines another strategy is necessary.
19538  To color all following horizontal lines, insert this command as \SpecialChar TeX
19539  code as
19540  last thing in the row that should be above the first colored line:
19541 \end_layout
19542
19543 \begin_layout Standard
19544
19545 \series bold
19546
19547 \backslash
19548
19549 \backslash
19550
19551 \backslash
19552 arrayrulecolor{blue}%
19553 \end_layout
19554
19555 \begin_layout Standard
19556 To go back to black lines, add this command as first thing in the row that
19557  is above the black lines:
19558 \end_layout
19559
19560 \begin_layout Standard
19561
19562 \series bold
19563
19564 \backslash
19565 arrayrulecolor{black}
19566 \end_layout
19567
19568 \begin_layout Standard
19569 With this one can color table lines like in Table
19570 \begin_inset space ~
19571 \end_inset
19572
19573
19574 \begin_inset CommandInset ref
19575 LatexCommand ref
19576 reference "tab:Table-with-different-hor"
19577
19578 \end_inset
19579
19580 .
19581  However, with this method it is not possible to color the line above the
19582  first row of a table.
19583 \end_layout
19584
19585 \begin_layout Standard
19586 \begin_inset Float table
19587 placement document
19588 alignment document
19589 wide false
19590 sideways false
19591 status open
19592
19593 \begin_layout Plain Layout
19594 \begin_inset Caption Standard
19595
19596 \begin_layout Plain Layout
19597 \begin_inset CommandInset label
19598 LatexCommand label
19599 name "tab:Table-with-different-hor"
19600
19601 \end_inset
19602
19603 Table with different horizontal line colors.
19604 \end_layout
19605
19606 \end_inset
19607
19608
19609 \end_layout
19610
19611 \begin_layout Plain Layout
19612 \align center
19613 \begin_inset Tabular
19614 <lyxtabular version="3" rows="6" columns="7">
19615 <features tabularvalignment="middle">
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 <column alignment="center" valignment="top">
19623 <row>
19624 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19625 \begin_inset Text
19626
19627 \begin_layout Plain Layout
19628
19629 \end_layout
19630
19631 \end_inset
19632 </cell>
19633 <cell alignment="center" valignment="top" topline="true" usebox="none">
19634 \begin_inset Text
19635
19636 \begin_layout Plain Layout
19637
19638 \end_layout
19639
19640 \end_inset
19641 </cell>
19642 <cell alignment="center" valignment="top" topline="true" usebox="none">
19643 \begin_inset Text
19644
19645 \begin_layout Plain Layout
19646
19647 \end_layout
19648
19649 \end_inset
19650 </cell>
19651 <cell alignment="center" valignment="top" topline="true" usebox="none">
19652 \begin_inset Text
19653
19654 \begin_layout Plain Layout
19655
19656 \end_layout
19657
19658 \end_inset
19659 </cell>
19660 <cell alignment="center" valignment="top" topline="true" usebox="none">
19661 \begin_inset Text
19662
19663 \begin_layout Plain Layout
19664
19665 \end_layout
19666
19667 \end_inset
19668 </cell>
19669 <cell alignment="center" valignment="top" topline="true" usebox="none">
19670 \begin_inset Text
19671
19672 \begin_layout Plain Layout
19673
19674 \end_layout
19675
19676 \end_inset
19677 </cell>
19678 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
19679 \begin_inset Text
19680
19681 \begin_layout Plain Layout
19682 \begin_inset ERT
19683 status open
19684
19685 \begin_layout Plain Layout
19686
19687
19688 \backslash
19689
19690 \backslash
19691
19692 \backslash
19693 arrayrulecolor{blue}%
19694 \end_layout
19695
19696 \end_inset
19697
19698
19699 \end_layout
19700
19701 \end_inset
19702 </cell>
19703 </row>
19704 <row>
19705 <cell alignment="center" valignment="top" usebox="none">
19706 \begin_inset Text
19707
19708 \begin_layout Plain Layout
19709 Y
19710 \end_layout
19711
19712 \end_inset
19713 </cell>
19714 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19715 \begin_inset Text
19716
19717 \begin_layout Plain Layout
19718
19719 \end_layout
19720
19721 \end_inset
19722 </cell>
19723 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19724 \begin_inset Text
19725
19726 \begin_layout Plain Layout
19727
19728 \end_layout
19729
19730 \end_inset
19731 </cell>
19732 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19733 \begin_inset Text
19734
19735 \begin_layout Plain Layout
19736
19737 \end_layout
19738
19739 \end_inset
19740 </cell>
19741 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19742 \begin_inset Text
19743
19744 \begin_layout Plain Layout
19745
19746 \end_layout
19747
19748 \end_inset
19749 </cell>
19750 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
19751 \begin_inset Text
19752
19753 \begin_layout Plain Layout
19754
19755 \end_layout
19756
19757 \end_inset
19758 </cell>
19759 <cell alignment="center" valignment="top" usebox="none">
19760 \begin_inset Text
19761
19762 \begin_layout Plain Layout
19763 Y
19764 \end_layout
19765
19766 \end_inset
19767 </cell>
19768 </row>
19769 <row>
19770 <cell alignment="center" valignment="top" leftline="true" usebox="none">
19771 \begin_inset Text
19772
19773 \begin_layout Plain Layout
19774 \begin_inset ERT
19775 status open
19776
19777 \begin_layout Plain Layout
19778
19779
19780 \backslash
19781 arrayrulecolor{black}
19782 \end_layout
19783
19784 \end_inset
19785
19786
19787 \end_layout
19788
19789 \end_inset
19790 </cell>
19791 <cell alignment="center" valignment="top" usebox="none">
19792 \begin_inset Text
19793
19794 \begin_layout Plain Layout
19795
19796 \end_layout
19797
19798 \end_inset
19799 </cell>
19800 <cell alignment="center" valignment="top" usebox="none">
19801 \begin_inset Text
19802
19803 \begin_layout Plain Layout
19804
19805 \end_layout
19806
19807 \end_inset
19808 </cell>
19809 <cell alignment="center" valignment="top" usebox="none">
19810 \begin_inset Text
19811
19812 \begin_layout Plain Layout
19813
19814 \end_layout
19815
19816 \end_inset
19817 </cell>
19818 <cell alignment="center" valignment="top" usebox="none">
19819 \begin_inset Text
19820
19821 \begin_layout Plain Layout
19822
19823 \end_layout
19824
19825 \end_inset
19826 </cell>
19827 <cell alignment="center" valignment="top" usebox="none">
19828 \begin_inset Text
19829
19830 \begin_layout Plain Layout
19831
19832 \end_layout
19833
19834 \end_inset
19835 </cell>
19836 <cell alignment="center" valignment="top" rightline="true" usebox="none">
19837 \begin_inset Text
19838
19839 \begin_layout Plain Layout
19840
19841 \end_layout
19842
19843 \end_inset
19844 </cell>
19845 </row>
19846 <row>
19847 <cell alignment="center" valignment="top" leftline="true" usebox="none">
19848 \begin_inset Text
19849
19850 \begin_layout Plain Layout
19851
19852 \end_layout
19853
19854 \end_inset
19855 </cell>
19856 <cell alignment="center" valignment="top" usebox="none">
19857 \begin_inset Text
19858
19859 \begin_layout Plain Layout
19860
19861 \end_layout
19862
19863 \end_inset
19864 </cell>
19865 <cell alignment="center" valignment="top" usebox="none">
19866 \begin_inset Text
19867
19868 \begin_layout Plain Layout
19869
19870 \end_layout
19871
19872 \end_inset
19873 </cell>
19874 <cell alignment="center" valignment="top" usebox="none">
19875 \begin_inset Text
19876
19877 \begin_layout Plain Layout
19878
19879 \end_layout
19880
19881 \end_inset
19882 </cell>
19883 <cell alignment="center" valignment="top" usebox="none">
19884 \begin_inset Text
19885
19886 \begin_layout Plain Layout
19887
19888 \end_layout
19889
19890 \end_inset
19891 </cell>
19892 <cell alignment="center" valignment="top" usebox="none">
19893 \begin_inset Text
19894
19895 \begin_layout Plain Layout
19896
19897 \end_layout
19898
19899 \end_inset
19900 </cell>
19901 <cell alignment="center" valignment="top" rightline="true" usebox="none">
19902 \begin_inset Text
19903
19904 \begin_layout Plain Layout
19905 \begin_inset ERT
19906 status collapsed
19907
19908 \begin_layout Plain Layout
19909
19910
19911 \backslash
19912
19913 \backslash
19914
19915 \backslash
19916 arrayrulecolor{green}%
19917 \end_layout
19918
19919 \end_inset
19920
19921
19922 \end_layout
19923
19924 \end_inset
19925 </cell>
19926 </row>
19927 <row>
19928 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19929 \begin_inset Text
19930
19931 \begin_layout Plain Layout
19932
19933 \end_layout
19934
19935 \end_inset
19936 </cell>
19937 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19938 \begin_inset Text
19939
19940 \begin_layout Plain Layout
19941
19942 \end_layout
19943
19944 \end_inset
19945 </cell>
19946 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19947 \begin_inset Text
19948
19949 \begin_layout Plain Layout
19950
19951 \end_layout
19952
19953 \end_inset
19954 </cell>
19955 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19956 \begin_inset Text
19957
19958 \begin_layout Plain Layout
19959
19960 \end_layout
19961
19962 \end_inset
19963 </cell>
19964 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19965 \begin_inset Text
19966
19967 \begin_layout Plain Layout
19968
19969 \end_layout
19970
19971 \end_inset
19972 </cell>
19973 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19974 \begin_inset Text
19975
19976 \begin_layout Plain Layout
19977
19978 \end_layout
19979
19980 \end_inset
19981 </cell>
19982 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
19983 \begin_inset Text
19984
19985 \begin_layout Plain Layout
19986
19987 \end_layout
19988
19989 \end_inset
19990 </cell>
19991 </row>
19992 <row>
19993 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19994 \begin_inset Text
19995
19996 \begin_layout Plain Layout
19997 \begin_inset ERT
19998 status collapsed
19999
20000 \begin_layout Plain Layout
20001
20002
20003 \backslash
20004 arrayrulecolor{black}
20005 \end_layout
20006
20007 \end_inset
20008
20009 B
20010 \end_layout
20011
20012 \end_inset
20013 </cell>
20014 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20015 \begin_inset Text
20016
20017 \begin_layout Plain Layout
20018
20019 \end_layout
20020
20021 \end_inset
20022 </cell>
20023 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20024 \begin_inset Text
20025
20026 \begin_layout Plain Layout
20027
20028 \end_layout
20029
20030 \end_inset
20031 </cell>
20032 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20033 \begin_inset Text
20034
20035 \begin_layout Plain Layout
20036
20037 \end_layout
20038
20039 \end_inset
20040 </cell>
20041 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20042 \begin_inset Text
20043
20044 \begin_layout Plain Layout
20045
20046 \end_layout
20047
20048 \end_inset
20049 </cell>
20050 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20051 \begin_inset Text
20052
20053 \begin_layout Plain Layout
20054
20055 \end_layout
20056
20057 \end_inset
20058 </cell>
20059 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
20060 \begin_inset Text
20061
20062 \begin_layout Plain Layout
20063 \begin_inset ERT
20064 status collapsed
20065
20066 \begin_layout Plain Layout
20067
20068
20069 \backslash
20070
20071 \backslash
20072
20073 \backslash
20074 arrayrulecolor{blue}%
20075 \end_layout
20076
20077 \end_inset
20078
20079
20080 \end_layout
20081
20082 \end_inset
20083 </cell>
20084 </row>
20085 </lyxtabular>
20086
20087 \end_inset
20088
20089
20090 \end_layout
20091
20092 \end_inset
20093
20094
20095 \end_layout
20096
20097 \begin_layout Standard
20098 To change the color of vertical lines within a row, like in Table
20099 \begin_inset space ~
20100 \end_inset
20101
20102
20103 \begin_inset CommandInset ref
20104 LatexCommand ref
20105 reference "tab:Table-with-different-ver"
20106
20107 \end_inset
20108
20109 , one needs to use multicolumns.
20110  At first one needs to remove all vertical lines that don't run along the
20111  whole column.
20112  Now one colors all lines using the command
20113 \end_layout
20114
20115 \begin_layout Standard
20116
20117 \series bold
20118
20119 \backslash
20120
20121 \backslash
20122
20123 \backslash
20124 arrayrulecolor{blue}%
20125 \end_layout
20126
20127 \begin_layout Standard
20128 as above.
20129  Finally one inserts this command as \SpecialChar TeX
20130  code to every cell in the row where
20131  one needs a vertical line in a different color:
20132 \end_layout
20133
20134 \begin_layout Standard
20135
20136 \series bold
20137
20138 \backslash
20139 multicolumn{1}{!{
20140 \backslash
20141 color{green}
20142 \backslash
20143 vline}c!{
20144 \backslash
20145 color{red}
20146 \backslash
20147 vline}}{
20148 \end_layout
20149
20150 \begin_layout Standard
20151 This adds a vertical line to both sides of the cell.
20152  The left one will be green, the right one red.
20153  If no color change is necessary one can omit the 
20154 \series bold
20155
20156 \backslash
20157 color
20158 \series default
20159  command in the above command.
20160  To get for example a black left line and a blue right line you can write:
20161 \end_layout
20162
20163 \begin_layout Standard
20164
20165 \series bold
20166
20167 \backslash
20168 multicolumn{1}{!{
20169 \backslash
20170 color{black}
20171 \backslash
20172 vline}c|}{
20173 \end_layout
20174
20175 \begin_layout Standard
20176 because the color blue was already set for all lines.
20177  The 
20178 \series bold
20179 |
20180 \series default
20181  creates hereby the vertical line while 
20182 \series bold
20183
20184 \backslash
20185 vline
20186 \series default
20187  does this when 
20188 \series bold
20189
20190 \backslash
20191 color
20192 \series default
20193  is used.
20194  To set vertical lines without changing any color use
20195 \end_layout
20196
20197 \begin_layout Standard
20198
20199 \series bold
20200
20201 \backslash
20202 multicolumn{1}{|c|}{
20203 \end_layout
20204
20205 \begin_layout Standard
20206 After this command insert the cell content the normal way and end the cell
20207  with a closing brace 
20208 \series bold
20209 }
20210 \series default
20211  in \SpecialChar TeX
20212  code.
20213 \end_layout
20214
20215 \begin_layout Standard
20216 \begin_inset Float table
20217 placement document
20218 alignment document
20219 wide false
20220 sideways false
20221 status open
20222
20223 \begin_layout Plain Layout
20224 \begin_inset Caption Standard
20225
20226 \begin_layout Plain Layout
20227 \begin_inset CommandInset label
20228 LatexCommand label
20229 name "tab:Table-with-different-ver"
20230
20231 \end_inset
20232
20233 Table with different vertical line colors in one row.
20234 \end_layout
20235
20236 \end_inset
20237
20238
20239 \end_layout
20240
20241 \begin_layout Plain Layout
20242 \align center
20243 \begin_inset Tabular
20244 <lyxtabular version="3" rows="5" columns="7">
20245 <features tabularvalignment="middle">
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 <column alignment="center" valignment="top">
20253 <row>
20254 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20255 \begin_inset Text
20256
20257 \begin_layout Plain Layout
20258
20259 \end_layout
20260
20261 \end_inset
20262 </cell>
20263 <cell alignment="center" valignment="top" topline="true" usebox="none">
20264 \begin_inset Text
20265
20266 \begin_layout Plain Layout
20267
20268 \end_layout
20269
20270 \end_inset
20271 </cell>
20272 <cell alignment="center" valignment="top" topline="true" usebox="none">
20273 \begin_inset Text
20274
20275 \begin_layout Plain Layout
20276
20277 \end_layout
20278
20279 \end_inset
20280 </cell>
20281 <cell alignment="center" valignment="top" topline="true" usebox="none">
20282 \begin_inset Text
20283
20284 \begin_layout Plain Layout
20285
20286 \end_layout
20287
20288 \end_inset
20289 </cell>
20290 <cell alignment="center" valignment="top" topline="true" usebox="none">
20291 \begin_inset Text
20292
20293 \begin_layout Plain Layout
20294
20295 \end_layout
20296
20297 \end_inset
20298 </cell>
20299 <cell alignment="center" valignment="top" topline="true" usebox="none">
20300 \begin_inset Text
20301
20302 \begin_layout Plain Layout
20303
20304 \end_layout
20305
20306 \end_inset
20307 </cell>
20308 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
20309 \begin_inset Text
20310
20311 \begin_layout Plain Layout
20312 \begin_inset ERT
20313 status open
20314
20315 \begin_layout Plain Layout
20316
20317
20318 \backslash
20319
20320 \backslash
20321
20322 \backslash
20323 arrayrulecolor{red}%
20324 \end_layout
20325
20326 \end_inset
20327
20328
20329 \end_layout
20330
20331 \end_inset
20332 </cell>
20333 </row>
20334 <row>
20335 <cell alignment="center" valignment="top" leftline="true" usebox="none">
20336 \begin_inset Text
20337
20338 \begin_layout Plain Layout
20339 \begin_inset ERT
20340 status open
20341
20342 \begin_layout Plain Layout
20343
20344
20345 \backslash
20346 multicolumn{1}{!{
20347 \backslash
20348 color{black}
20349 \backslash
20350 vline}c|}{
20351 \end_layout
20352
20353 \end_inset
20354
20355 Y
20356 \begin_inset ERT
20357 status collapsed
20358
20359 \begin_layout Plain Layout
20360
20361 }
20362 \end_layout
20363
20364 \end_inset
20365
20366
20367 \end_layout
20368
20369 \end_inset
20370 </cell>
20371 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20372 \begin_inset Text
20373
20374 \begin_layout Plain Layout
20375
20376 \end_layout
20377
20378 \end_inset
20379 </cell>
20380 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20381 \begin_inset Text
20382
20383 \begin_layout Plain Layout
20384
20385 \end_layout
20386
20387 \end_inset
20388 </cell>
20389 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20390 \begin_inset Text
20391
20392 \begin_layout Plain Layout
20393
20394 \end_layout
20395
20396 \end_inset
20397 </cell>
20398 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20399 \begin_inset Text
20400
20401 \begin_layout Plain Layout
20402
20403 \end_layout
20404
20405 \end_inset
20406 </cell>
20407 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20408 \begin_inset Text
20409
20410 \begin_layout Plain Layout
20411 \begin_inset ERT
20412 status open
20413
20414 \begin_layout Plain Layout
20415
20416
20417 \backslash
20418 multicolumn{1}{c|}{
20419 \end_layout
20420
20421 \end_inset
20422
20423
20424 \begin_inset ERT
20425 status collapsed
20426
20427 \begin_layout Plain Layout
20428
20429 }
20430 \end_layout
20431
20432 \end_inset
20433
20434
20435 \end_layout
20436
20437 \end_inset
20438 </cell>
20439 <cell alignment="center" valignment="top" rightline="true" usebox="none">
20440 \begin_inset Text
20441
20442 \begin_layout Plain Layout
20443 \begin_inset ERT
20444 status open
20445
20446 \begin_layout Plain Layout
20447
20448
20449 \backslash
20450 multicolumn{1}{c!{
20451 \backslash
20452 color{black}
20453 \backslash
20454 vline}}{
20455 \end_layout
20456
20457 \end_inset
20458
20459 Y
20460 \begin_inset ERT
20461 status collapsed
20462
20463 \begin_layout Plain Layout
20464
20465 }
20466 \end_layout
20467
20468 \end_inset
20469
20470
20471 \end_layout
20472
20473 \end_inset
20474 </cell>
20475 </row>
20476 <row>
20477 <cell alignment="center" valignment="top" leftline="true" usebox="none">
20478 \begin_inset Text
20479
20480 \begin_layout Plain Layout
20481 \begin_inset ERT
20482 status collapsed
20483
20484 \begin_layout Plain Layout
20485
20486
20487 \backslash
20488 arrayrulecolor{black}
20489 \end_layout
20490
20491 \end_inset
20492
20493
20494 \end_layout
20495
20496 \end_inset
20497 </cell>
20498 <cell alignment="center" valignment="top" usebox="none">
20499 \begin_inset Text
20500
20501 \begin_layout Plain Layout
20502
20503 \end_layout
20504
20505 \end_inset
20506 </cell>
20507 <cell alignment="center" valignment="top" usebox="none">
20508 \begin_inset Text
20509
20510 \begin_layout Plain Layout
20511
20512 \end_layout
20513
20514 \end_inset
20515 </cell>
20516 <cell alignment="center" valignment="top" usebox="none">
20517 \begin_inset Text
20518
20519 \begin_layout Plain Layout
20520
20521 \end_layout
20522
20523 \end_inset
20524 </cell>
20525 <cell alignment="center" valignment="top" usebox="none">
20526 \begin_inset Text
20527
20528 \begin_layout Plain Layout
20529
20530 \end_layout
20531
20532 \end_inset
20533 </cell>
20534 <cell alignment="center" valignment="top" usebox="none">
20535 \begin_inset Text
20536
20537 \begin_layout Plain Layout
20538
20539 \end_layout
20540
20541 \end_inset
20542 </cell>
20543 <cell alignment="center" valignment="top" rightline="true" usebox="none">
20544 \begin_inset Text
20545
20546 \begin_layout Plain Layout
20547 \begin_inset ERT
20548 status collapsed
20549
20550 \begin_layout Plain Layout
20551
20552
20553 \backslash
20554
20555 \backslash
20556
20557 \backslash
20558 arrayrulecolor{magenta}%
20559 \end_layout
20560
20561 \end_inset
20562
20563
20564 \end_layout
20565
20566 \end_inset
20567 </cell>
20568 </row>
20569 <row>
20570 <cell alignment="center" valignment="top" leftline="true" usebox="none">
20571 \begin_inset Text
20572
20573 \begin_layout Plain Layout
20574 \begin_inset ERT
20575 status collapsed
20576
20577 \begin_layout Plain Layout
20578
20579
20580 \backslash
20581 multicolumn{1}{|c!{
20582 \backslash
20583 color{red}
20584 \backslash
20585 vline}}{
20586 \end_layout
20587
20588 \end_inset
20589
20590
20591 \begin_inset ERT
20592 status collapsed
20593
20594 \begin_layout Plain Layout
20595
20596 }
20597 \end_layout
20598
20599 \end_inset
20600
20601
20602 \end_layout
20603
20604 \end_inset
20605 </cell>
20606 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20607 \begin_inset Text
20608
20609 \begin_layout Plain Layout
20610 \begin_inset ERT
20611 status collapsed
20612
20613 \begin_layout Plain Layout
20614
20615
20616 \backslash
20617 multicolumn{1}{c!{
20618 \backslash
20619 color{green}
20620 \backslash
20621 vline}}{
20622 \end_layout
20623
20624 \end_inset
20625
20626
20627 \begin_inset ERT
20628 status collapsed
20629
20630 \begin_layout Plain Layout
20631
20632 }
20633 \end_layout
20634
20635 \end_inset
20636
20637
20638 \end_layout
20639
20640 \end_inset
20641 </cell>
20642 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20643 \begin_inset Text
20644
20645 \begin_layout Plain Layout
20646 \begin_inset ERT
20647 status collapsed
20648
20649 \begin_layout Plain Layout
20650
20651
20652 \backslash
20653 multicolumn{1}{c!{
20654 \backslash
20655 color{yellow}
20656 \backslash
20657 vline}}{
20658 \end_layout
20659
20660 \end_inset
20661
20662
20663 \begin_inset ERT
20664 status collapsed
20665
20666 \begin_layout Plain Layout
20667
20668 }
20669 \end_layout
20670
20671 \end_inset
20672
20673
20674 \end_layout
20675
20676 \end_inset
20677 </cell>
20678 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20679 \begin_inset Text
20680
20681 \begin_layout Plain Layout
20682 \begin_inset ERT
20683 status collapsed
20684
20685 \begin_layout Plain Layout
20686
20687
20688 \backslash
20689 multicolumn{1}{c!{
20690 \backslash
20691 color{blue}
20692 \backslash
20693 vline}}{
20694 \end_layout
20695
20696 \end_inset
20697
20698
20699 \begin_inset ERT
20700 status collapsed
20701
20702 \begin_layout Plain Layout
20703
20704 }
20705 \end_layout
20706
20707 \end_inset
20708
20709
20710 \end_layout
20711
20712 \end_inset
20713 </cell>
20714 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20715 \begin_inset Text
20716
20717 \begin_layout Plain Layout
20718 \begin_inset ERT
20719 status collapsed
20720
20721 \begin_layout Plain Layout
20722
20723
20724 \backslash
20725 multicolumn{1}{c!{
20726 \backslash
20727 color{cyan}
20728 \backslash
20729 vline}}{
20730 \end_layout
20731
20732 \end_inset
20733
20734
20735 \begin_inset ERT
20736 status collapsed
20737
20738 \begin_layout Plain Layout
20739
20740 }
20741 \end_layout
20742
20743 \end_inset
20744
20745
20746 \end_layout
20747
20748 \end_inset
20749 </cell>
20750 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20751 \begin_inset Text
20752
20753 \begin_layout Plain Layout
20754 \begin_inset ERT
20755 status collapsed
20756
20757 \begin_layout Plain Layout
20758
20759
20760 \backslash
20761 multicolumn{1}{c!{
20762 \backslash
20763 color{black}
20764 \backslash
20765 vline}}{
20766 \end_layout
20767
20768 \end_inset
20769
20770
20771 \begin_inset ERT
20772 status collapsed
20773
20774 \begin_layout Plain Layout
20775
20776 }
20777 \end_layout
20778
20779 \end_inset
20780
20781
20782 \end_layout
20783
20784 \end_inset
20785 </cell>
20786 <cell alignment="center" valignment="top" rightline="true" usebox="none">
20787 \begin_inset Text
20788
20789 \begin_layout Plain Layout
20790 \begin_inset ERT
20791 status collapsed
20792
20793 \begin_layout Plain Layout
20794
20795
20796 \backslash
20797 multicolumn{1}{c|}{
20798 \end_layout
20799
20800 \end_inset
20801
20802
20803 \begin_inset ERT
20804 status collapsed
20805
20806 \begin_layout Plain Layout
20807
20808 }
20809 \end_layout
20810
20811 \end_inset
20812
20813
20814 \end_layout
20815
20816 \end_inset
20817 </cell>
20818 </row>
20819 <row>
20820 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
20821 \begin_inset Text
20822
20823 \begin_layout Plain Layout
20824 \begin_inset ERT
20825 status collapsed
20826
20827 \begin_layout Plain Layout
20828
20829
20830 \backslash
20831 arrayrulecolor{black}
20832 \end_layout
20833
20834 \end_inset
20835
20836 B
20837 \end_layout
20838
20839 \end_inset
20840 </cell>
20841 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20842 \begin_inset Text
20843
20844 \begin_layout Plain Layout
20845
20846 \end_layout
20847
20848 \end_inset
20849 </cell>
20850 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20851 \begin_inset Text
20852
20853 \begin_layout Plain Layout
20854
20855 \end_layout
20856
20857 \end_inset
20858 </cell>
20859 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20860 \begin_inset Text
20861
20862 \begin_layout Plain Layout
20863
20864 \end_layout
20865
20866 \end_inset
20867 </cell>
20868 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20869 \begin_inset Text
20870
20871 \begin_layout Plain Layout
20872
20873 \end_layout
20874
20875 \end_inset
20876 </cell>
20877 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20878 \begin_inset Text
20879
20880 \begin_layout Plain Layout
20881
20882 \end_layout
20883
20884 \end_inset
20885 </cell>
20886 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
20887 \begin_inset Text
20888
20889 \begin_layout Plain Layout
20890
20891 \end_layout
20892
20893 \end_inset
20894 </cell>
20895 </row>
20896 </lyxtabular>
20897
20898 \end_inset
20899
20900
20901 \end_layout
20902
20903 \end_inset
20904
20905
20906 \end_layout
20907
20908 \begin_layout Standard
20909 \begin_inset ERT
20910 status collapsed
20911
20912 \begin_layout Plain Layout
20913
20914
20915 \backslash
20916 setlength{
20917 \backslash
20918 arrayrulewidth}{0.4pt}
20919 \end_layout
20920
20921 \end_inset
20922
20923
20924 \end_layout
20925
20926 \begin_layout Section
20927 Rotated Table Cells
20928 \begin_inset CommandInset label
20929 LatexCommand label
20930 name "sec:Rotated-Table-Cells"
20931
20932 \end_inset
20933
20934
20935 \begin_inset Index idx
20936 status collapsed
20937
20938 \begin_layout Plain Layout
20939 Table ! Rotated Cells
20940 \end_layout
20941
20942 \end_inset
20943
20944
20945 \begin_inset Index idx
20946 status collapsed
20947
20948 \begin_layout Plain Layout
20949 Rotated Material
20950 \end_layout
20951
20952 \end_inset
20953
20954
20955 \end_layout
20956
20957 \begin_layout Standard
20958 \begin_inset Note Greyedout
20959 status open
20960
20961 \begin_layout Plain Layout
20962
20963 \series bold
20964 Note:
20965 \series default
20966  Not all DVI-viewers are able to display rotations.
20967 \end_layout
20968
20969 \end_inset
20970
20971
20972 \end_layout
20973
20974 \begin_layout Standard
20975 Table
20976 \begin_inset space ~
20977 \end_inset
20978
20979
20980 \begin_inset CommandInset ref
20981 LatexCommand ref
20982 reference "tab:Table-with-rotated"
20983 plural "false"
20984 caps "false"
20985 noprefix "false"
20986
20987 \end_inset
20988
20989  is an example where 3
20990 \begin_inset space ~
20991 \end_inset
20992
20993 cells were rotated by 45
20994 \begin_inset space \thinspace{}
20995 \end_inset
20996
20997 °.
20998 \end_layout
20999
21000 \begin_layout Standard
21001 \begin_inset Float table
21002 placement h
21003 alignment document
21004 wide false
21005 sideways false
21006 status open
21007
21008 \begin_layout Plain Layout
21009 \begin_inset Caption Standard
21010
21011 \begin_layout Plain Layout
21012 \begin_inset CommandInset label
21013 LatexCommand label
21014 name "tab:Table-with-rotated"
21015
21016 \end_inset
21017
21018 Table with rotated cells in the first row.
21019 \end_layout
21020
21021 \end_inset
21022
21023
21024 \end_layout
21025
21026 \begin_layout Plain Layout
21027 \noindent
21028 \align center
21029 \begin_inset Tabular
21030 <lyxtabular version="3" rows="2" columns="3">
21031 <features tabularvalignment="middle">
21032 <column alignment="center" valignment="top" width="0pt">
21033 <column alignment="center" valignment="top" width="0pt">
21034 <column alignment="center" valignment="top" width="0pt">
21035 <row>
21036 <cell alignment="center" valignment="top" rotate="45" usebox="none">
21037 \begin_inset Text
21038
21039 \begin_layout Plain Layout
21040 cups
21041 \end_layout
21042
21043 \end_inset
21044 </cell>
21045 <cell alignment="center" valignment="top" rotate="45" usebox="none">
21046 \begin_inset Text
21047
21048 \begin_layout Plain Layout
21049 plates
21050 \end_layout
21051
21052 \end_inset
21053 </cell>
21054 <cell alignment="center" valignment="top" rotate="45" usebox="none">
21055 \begin_inset Text
21056
21057 \begin_layout Plain Layout
21058 saucers
21059 \end_layout
21060
21061 \end_inset
21062 </cell>
21063 </row>
21064 <row>
21065 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21066 \begin_inset Text
21067
21068 \begin_layout Plain Layout
21069 45
21070 \end_layout
21071
21072 \end_inset
21073 </cell>
21074 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21075 \begin_inset Text
21076
21077 \begin_layout Plain Layout
21078 33
21079 \end_layout
21080
21081 \end_inset
21082 </cell>
21083 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21084 \begin_inset Text
21085
21086 \begin_layout Plain Layout
21087 21
21088 \end_layout
21089
21090 \end_inset
21091 </cell>
21092 </row>
21093 </lyxtabular>
21094
21095 \end_inset
21096
21097
21098 \end_layout
21099
21100 \end_inset
21101
21102
21103 \end_layout
21104
21105 \begin_layout Standard
21106 \begin_inset Note Greyedout
21107 status open
21108
21109 \begin_layout Plain Layout
21110
21111 \series bold
21112 Note:
21113 \series default
21114  Line breaks (shortcut 
21115 \begin_inset Info
21116 type  "shortcut"
21117 arg   "newline-insert newline"
21118 \end_inset
21119
21120 ) are not allowed in rotated cells.
21121 \end_layout
21122
21123 \end_inset
21124
21125
21126 \end_layout
21127
21128 \begin_layout Standard
21129 If you want to rotate table cells containing line breaks, you have to put
21130  the cell content into a minipage or a parbox.
21131 \begin_inset Foot
21132 status collapsed
21133
21134 \begin_layout Plain Layout
21135 For more about these boxes see sec.
21136 \begin_inset space \thinspace{}
21137 \end_inset
21138
21139
21140 \begin_inset CommandInset ref
21141 LatexCommand ref
21142 reference "sec:Minipages"
21143
21144 \end_inset
21145
21146  and 
21147 \begin_inset CommandInset ref
21148 LatexCommand ref
21149 reference "sec:Parboxes"
21150
21151 \end_inset
21152
21153 .
21154 \end_layout
21155
21156 \end_inset
21157
21158  If you rotate this cell by 90
21159 \begin_inset space \thinspace{}
21160 \end_inset
21161
21162 ° the width of the box is the height of the cell.
21163  To avoid to estimate a suitable box width one can use a minipage with a
21164  variable width.
21165  Such a box is inserted by loading the module 
21166 \family sans
21167 Variable-width
21168 \begin_inset space ~
21169 \end_inset
21170
21171 Minipages
21172 \family default
21173  in the document settings.
21174  Then one can use the menu 
21175 \family sans
21176 Insert\SpecialChar menuseparator
21177 Custom
21178 \begin_inset space ~
21179 \end_inset
21180
21181 Insets\SpecialChar menuseparator
21182 Minipage
21183 \begin_inset space ~
21184 \end_inset
21185
21186
21187 \family default
21188 (Var.
21189 \begin_inset space ~
21190 \end_inset
21191
21192 Width).
21193  Table
21194 \begin_inset space ~
21195 \end_inset
21196
21197
21198 \begin_inset CommandInset ref
21199 LatexCommand ref
21200 reference "tab:Table-with-rotated-multi"
21201
21202 \end_inset
21203
21204  is an example for a rotated multiline cell where a variable width minipage
21205  is used.
21206 \end_layout
21207
21208 \begin_layout Standard
21209 \begin_inset Float table
21210 placement document
21211 alignment document
21212 wide false
21213 sideways false
21214 status open
21215
21216 \begin_layout Plain Layout
21217 \begin_inset Caption Standard
21218
21219 \begin_layout Plain Layout
21220 \begin_inset CommandInset label
21221 LatexCommand label
21222 name "tab:Table-with-rotated-multi"
21223
21224 \end_inset
21225
21226 Table with rotated multiline cell.
21227 \end_layout
21228
21229 \end_inset
21230
21231
21232 \end_layout
21233
21234 \begin_layout Plain Layout
21235 \noindent
21236 \align center
21237 \begin_inset Tabular
21238 <lyxtabular version="3" rows="2" columns="3">
21239 <features tabularvalignment="middle">
21240 <column alignment="center" valignment="top">
21241 <column alignment="center" valignment="top" width="0pt">
21242 <column alignment="center" valignment="top">
21243 <row>
21244 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21245 \begin_inset Text
21246
21247 \begin_layout Plain Layout
21248 a
21249 \end_layout
21250
21251 \end_inset
21252 </cell>
21253 <cell alignment="center" valignment="top" topline="true" leftline="true" rotate="90" usebox="none">
21254 \begin_inset Text
21255
21256 \begin_layout Plain Layout
21257 \begin_inset Flex Minipage (Var. Width)
21258 status open
21259
21260 \begin_layout Plain Layout
21261 rotated cell
21262 \begin_inset Newline newline
21263 \end_inset
21264
21265 with line break
21266 \begin_inset space ~
21267 \end_inset
21268
21269
21270 \end_layout
21271
21272 \end_inset
21273
21274
21275 \end_layout
21276
21277 \end_inset
21278 </cell>
21279 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21280 \begin_inset Text
21281
21282 \begin_layout Plain Layout
21283 e
21284 \end_layout
21285
21286 \end_inset
21287 </cell>
21288 </row>
21289 <row>
21290 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21291 \begin_inset Text
21292
21293 \begin_layout Plain Layout
21294 b
21295 \end_layout
21296
21297 \end_inset
21298 </cell>
21299 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21300 \begin_inset Text
21301
21302 \begin_layout Plain Layout
21303 c
21304 \end_layout
21305
21306 \end_inset
21307 </cell>
21308 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21309 \begin_inset Text
21310
21311 \begin_layout Plain Layout
21312 d
21313 \end_layout
21314
21315 \end_inset
21316 </cell>
21317 </row>
21318 </lyxtabular>
21319
21320 \end_inset
21321
21322
21323 \end_layout
21324
21325 \end_inset
21326
21327
21328 \end_layout
21329
21330 \begin_layout Section
21331 Table Width Calculation
21332 \begin_inset CommandInset label
21333 LatexCommand label
21334 name "sec:Table-Width-Calculation"
21335
21336 \end_inset
21337
21338
21339 \end_layout
21340
21341 \begin_layout Standard
21342 For wide tables it is sometimes difficult to assure that the table does
21343  not protrude over the page margin.
21344  Setting a fixed width for every column of the table is the solution, but
21345  what amount of space is needed for each column?
21346 \end_layout
21347
21348 \begin_layout Standard
21349 The table width 
21350 \begin_inset Formula $W_{\mathrm{table}}$
21351 \end_inset
21352
21353  can be calculated: Every column has the width of the specified column width
21354  
21355 \begin_inset Formula $W_{\mathrm{column}}$
21356 \end_inset
21357
21358  (that the content of the column can consume) plus two times the separation
21359  between the column content and the column border (\SpecialChar LaTeX
21360  length
21361 \series bold
21362  
21363 \backslash
21364 tabcolsep
21365 \series default
21366 , default 6
21367 \begin_inset space \thinspace{}
21368 \end_inset
21369
21370 pt) plus the width of a border line (\SpecialChar LaTeX
21371  length 
21372 \series bold
21373
21374 \backslash
21375 arrayrulewidth
21376 \series default
21377 , default 0.4
21378 \begin_inset space \thinspace{}
21379 \end_inset
21380
21381 pt): So if all 
21382 \begin_inset Formula $n$
21383 \end_inset
21384
21385
21386 \begin_inset space ~
21387 \end_inset
21388
21389 columns have the same width, the table width is
21390 \begin_inset Formula 
21391 \begin{equation}
21392 W_{\mathrm{table}}=n\left(W_{\mathrm{column}}+2\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}\right)+\backslash\mbox{arrayrulewidth}
21393 \end{equation}
21394
21395 \end_inset
21396
21397
21398 \end_layout
21399
21400 \begin_layout Standard
21401 The available width for a table is the space between the page margins or
21402  the width of a text column (for a two-column document) (\SpecialChar LaTeX
21403  length 
21404 \series bold
21405
21406 \backslash
21407 columnwidth
21408 \series default
21409 ).
21410  If all table columns should have the same width and 
21411 \begin_inset Formula $W_{\mathrm{table}}$
21412 \end_inset
21413
21414  should be 1
21415 \begin_inset space \thinspace{}
21416 \end_inset
21417
21418
21419 \backslash
21420 columnwidth, 
21421 \begin_inset Formula $W_{\mathrm{column}}$
21422 \end_inset
21423
21424  can easily be calculated.
21425 \end_layout
21426
21427 \begin_layout Standard
21428 To be able to perform calculations you need to load the \SpecialChar LaTeX
21429 -package 
21430 \series bold
21431 calc
21432 \series default
21433
21434 \begin_inset Index idx
21435 status collapsed
21436
21437 \begin_layout Plain Layout
21438 \SpecialChar LaTeX
21439 -packages ! calc
21440 \end_layout
21441
21442 \end_inset
21443
21444  in the document preamble.
21445  To set the width in the table dialog you have to use the field 
21446 \family sans
21447 \SpecialChar LaTeX
21448  argument
21449 \family default
21450 .
21451  The command scheme for this field is the same that is explained in section
21452 \begin_inset space ~
21453 \end_inset
21454
21455
21456 \begin_inset CommandInset ref
21457 LatexCommand ref
21458 reference "subsec:Multicolumn-Calculations"
21459
21460 \end_inset
21461
21462 .
21463  For a table with 5
21464 \begin_inset space \thinspace{}
21465 \end_inset
21466
21467 columns with an uniform width and centered text, enter there for each column
21468  the command
21469 \end_layout
21470
21471 \begin_layout Standard
21472
21473 \series bold
21474 >{
21475 \backslash
21476 centering}p{(1
21477 \backslash
21478 columnwidth-62.4pt)/5}
21479 \end_layout
21480
21481 \begin_layout Standard
21482 For a table with 5
21483 \begin_inset space \thinspace{}
21484 \end_inset
21485
21486 columns where 2 should have 0.75
21487 \begin_inset space ~
21488 \end_inset
21489
21490 times the width than the 3 others, the calculation is
21491 \begin_inset Formula 
21492 \begin{align}
21493 \backslash\mbox{columnwidth} & =3\,W_{\mathrm{column}}+2\cdot0.75\,W_{\mathrm{column}}+\backslash\mbox{arrayrulewidth}\nonumber \\
21494  & \phantom{=\,}+5\left(2\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}\right)\nonumber \\
21495  & =4.5\,W_{\mathrm{column}}+62.4\,\mathrm{pt}\nonumber \\
21496 W_{\mathrm{column}} & =\frac{\backslash\mbox{columnwidth}-62.4\,\mathrm{pt}}{4.5}
21497 \end{align}
21498
21499 \end_inset
21500
21501
21502 \end_layout
21503
21504 \begin_layout Standard
21505 In the table therefore the command
21506 \end_layout
21507
21508 \begin_layout Standard
21509
21510 \series bold
21511 >{
21512 \backslash
21513 centering}p{(1
21514 \backslash
21515 columnwidth-62.4pt)/
21516 \backslash
21517 real{4.5}}
21518 \end_layout
21519
21520 \begin_layout Standard
21521 is used for the wider columns and
21522 \end_layout
21523
21524 \begin_layout Standard
21525
21526 \series bold
21527 >{
21528 \backslash
21529 centering}p{(1
21530 \backslash
21531 columnwidth-62.4pt)/
21532 \backslash
21533 real{4.5}*
21534 \backslash
21535 real{0.75}}
21536 \end_layout
21537
21538 \begin_layout Standard
21539 for the smaller ones:
21540 \end_layout
21541
21542 \begin_layout Standard
21543 \begin_inset Tabular
21544 <lyxtabular version="3" rows="2" columns="5">
21545 <features tabularvalignment="middle">
21546 <column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
21547 <column alignment="center" valignment="top" width="0pt" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}*\real{0.75}}">
21548 <column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
21549 <column alignment="center" valignment="top" width="0pt" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}*\real{0.75}}">
21550 <column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
21551 <row>
21552 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21553 \begin_inset Text
21554
21555 \begin_layout Plain Layout
21556 1
21557 \end_layout
21558
21559 \end_inset
21560 </cell>
21561 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21562 \begin_inset Text
21563
21564 \begin_layout Plain Layout
21565 2
21566 \end_layout
21567
21568 \end_inset
21569 </cell>
21570 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21571 \begin_inset Text
21572
21573 \begin_layout Plain Layout
21574 3
21575 \end_layout
21576
21577 \end_inset
21578 </cell>
21579 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21580 \begin_inset Text
21581
21582 \begin_layout Plain Layout
21583 4
21584 \end_layout
21585
21586 \end_inset
21587 </cell>
21588 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21589 \begin_inset Text
21590
21591 \begin_layout Plain Layout
21592 5
21593 \end_layout
21594
21595 \end_inset
21596 </cell>
21597 </row>
21598 <row>
21599 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21600 \begin_inset Text
21601
21602 \begin_layout Plain Layout
21603 111111 1111111 111111 111111111 11111 11111 1111
21604 \end_layout
21605
21606 \end_inset
21607 </cell>
21608 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21609 \begin_inset Text
21610
21611 \begin_layout Plain Layout
21612
21613 \end_layout
21614
21615 \end_inset
21616 </cell>
21617 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21618 \begin_inset Text
21619
21620 \begin_layout Plain Layout
21621 2222 22222 222222 222222222 2222222 22 22222
21622 \end_layout
21623
21624 \end_inset
21625 </cell>
21626 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21627 \begin_inset Text
21628
21629 \begin_layout Plain Layout
21630
21631 \end_layout
21632
21633 \end_inset
21634 </cell>
21635 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21636 \begin_inset Text
21637
21638 \begin_layout Plain Layout
21639 333333 333333 333333 33333 3333333 333
21640 \end_layout
21641
21642 \end_inset
21643 </cell>
21644 </row>
21645 </lyxtabular>
21646
21647 \end_inset
21648
21649
21650 \end_layout
21651
21652 \begin_layout Section
21653 Table Customization
21654 \begin_inset Index idx
21655 status collapsed
21656
21657 \begin_layout Plain Layout
21658 Table Customization
21659 \end_layout
21660
21661 \end_inset
21662
21663
21664 \begin_inset Index idx
21665 status collapsed
21666
21667 \begin_layout Plain Layout
21668 Table ! Customization
21669 \end_layout
21670
21671 \end_inset
21672
21673
21674 \end_layout
21675
21676 \begin_layout Subsection
21677 Row Spacing
21678 \begin_inset CommandInset label
21679 LatexCommand label
21680 name "subsec:Row-Spacing"
21681
21682 \end_inset
21683
21684
21685 \begin_inset Index idx
21686 status collapsed
21687
21688 \begin_layout Plain Layout
21689 Table Customization ! Row Spacing
21690 \end_layout
21691
21692 \end_inset
21693
21694
21695 \end_layout
21696
21697 \begin_layout Standard
21698 You can add vertical space to table rows in the 
21699 \family sans
21700 Borders
21701 \family default
21702  tab of the table dialog.
21703  You find there three possibilities:
21704 \end_layout
21705
21706 \begin_layout Description
21707 Top
21708 \begin_inset space ~
21709 \end_inset
21710
21711 of
21712 \begin_inset space ~
21713 \end_inset
21714
21715 row will add space above the characters of the table row.
21716  If the table is a formal table
21717 \begin_inset Foot
21718 status collapsed
21719
21720 \begin_layout Plain Layout
21721 Formal tables are explained in section
21722 \begin_inset space ~
21723 \end_inset
21724
21725
21726 \begin_inset CommandInset ref
21727 LatexCommand ref
21728 reference "sec:Formal-Tables"
21729
21730 \end_inset
21731
21732 .
21733 \end_layout
21734
21735 \end_inset
21736
21737  \SpecialChar LyX
21738  will insert as default 0.5
21739 \begin_inset space \thinspace{}
21740 \end_inset
21741
21742 em space.
21743  For normal tables the inserted space will unfortunately destroy the vertical
21744  table lines as in the following table:
21745 \begin_inset VSpace medskip
21746 \end_inset
21747
21748
21749 \begin_inset Newline newline
21750 \end_inset
21751
21752
21753 \begin_inset space \hspace*{}
21754 \length 0pt
21755 \end_inset
21756
21757
21758 \begin_inset space \hfill{}
21759 \end_inset
21760
21761
21762 \begin_inset Tabular
21763 <lyxtabular version="3" rows="3" columns="1">
21764 <features tabularvalignment="middle">
21765 <column alignment="center" valignment="top">
21766 <row>
21767 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21768 \begin_inset Text
21769
21770 \begin_layout Plain Layout
21771 A
21772 \end_layout
21773
21774 \end_inset
21775 </cell>
21776 </row>
21777 <row topspace="3mm">
21778 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21779 \begin_inset Text
21780
21781 \begin_layout Plain Layout
21782 3
21783 \begin_inset space \thinspace{}
21784 \end_inset
21785
21786 mm space top of row
21787 \end_layout
21788
21789 \end_inset
21790 </cell>
21791 </row>
21792 <row>
21793 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21794 \begin_inset Text
21795
21796 \begin_layout Plain Layout
21797 C
21798 \end_layout
21799
21800 \end_inset
21801 </cell>
21802 </row>
21803 </lyxtabular>
21804
21805 \end_inset
21806
21807
21808 \begin_inset space \hfill{}
21809 \end_inset
21810
21811
21812 \begin_inset space \hspace*{}
21813 \length 0pt
21814 \end_inset
21815
21816
21817 \begin_inset VSpace medskip
21818 \end_inset
21819
21820
21821 \begin_inset Newline newline
21822 \end_inset
21823
21824 So inserting space in the top of row for normal tables is only useful when
21825  you don't have vertical lines.
21826 \end_layout
21827
21828 \begin_layout Description
21829 Bottom
21830 \begin_inset space ~
21831 \end_inset
21832
21833 of
21834 \begin_inset space ~
21835 \end_inset
21836
21837 row will add space below the characters of the table row.
21838  If the table is a formal table \SpecialChar LyX
21839  will insert as default 0.5
21840 \begin_inset space \thinspace{}
21841 \end_inset
21842
21843 em space, for normal tables the default size is 2
21844 \begin_inset space \thinspace{}
21845 \end_inset
21846
21847 pt.
21848 \end_layout
21849
21850 \begin_layout Description
21851 Between
21852 \begin_inset space ~
21853 \end_inset
21854
21855 rows adds space between the current and the following row.
21856  If the table is a formal table \SpecialChar LyX
21857  will insert as default 0.5
21858 \begin_inset space \thinspace{}
21859 \end_inset
21860
21861 em space.
21862  For normal tables the inserted space will unfortunately destroy the vertical
21863  table lines as in the following table:
21864 \begin_inset VSpace medskip
21865 \end_inset
21866
21867
21868 \begin_inset Newline newline
21869 \end_inset
21870
21871
21872 \begin_inset space \hspace*{}
21873 \length 0pt
21874 \end_inset
21875
21876
21877 \begin_inset space \hfill{}
21878 \end_inset
21879
21880
21881 \begin_inset Tabular
21882 <lyxtabular version="3" rows="3" columns="1">
21883 <features tabularvalignment="middle">
21884 <column alignment="center" valignment="top">
21885 <row>
21886 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21887 \begin_inset Text
21888
21889 \begin_layout Plain Layout
21890 A
21891 \end_layout
21892
21893 \end_inset
21894 </cell>
21895 </row>
21896 <row interlinespace="3mm">
21897 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21898 \begin_inset Text
21899
21900 \begin_layout Plain Layout
21901 \begin_inset Formula $\downarrow$
21902 \end_inset
21903
21904  3
21905 \begin_inset space \thinspace{}
21906 \end_inset
21907
21908 mm space between row 
21909 \begin_inset Formula $\downarrow$
21910 \end_inset
21911
21912
21913 \end_layout
21914
21915 \end_inset
21916 </cell>
21917 </row>
21918 <row>
21919 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21920 \begin_inset Text
21921
21922 \begin_layout Plain Layout
21923 \begin_inset Formula $\uparrow$
21924 \end_inset
21925
21926  3
21927 \begin_inset space \thinspace{}
21928 \end_inset
21929
21930 mm space between row 
21931 \begin_inset Formula $\uparrow$
21932 \end_inset
21933
21934
21935 \end_layout
21936
21937 \end_inset
21938 </cell>
21939 </row>
21940 </lyxtabular>
21941
21942 \end_inset
21943
21944
21945 \begin_inset space \hfill{}
21946 \end_inset
21947
21948
21949 \begin_inset space \hspace*{}
21950 \length 0pt
21951 \end_inset
21952
21953
21954 \begin_inset VSpace medskip
21955 \end_inset
21956
21957
21958 \begin_inset Newline newline
21959 \end_inset
21960
21961 So inserting space between rows for normal tables is only useful when you
21962  don't have vertical lines.
21963 \end_layout
21964
21965 \begin_layout Standard
21966 \begin_inset VSpace bigskip
21967 \end_inset
21968
21969 When you want to add extra height to all cells of all tables, you can do
21970  this with the following preamble lines:
21971 \end_layout
21972
21973 \begin_layout Standard
21974
21975 \series bold
21976
21977 \backslash
21978 @ifundefined{extrarowheight}
21979 \begin_inset Newline newline
21980 \end_inset
21981
21982
21983 \begin_inset Phantom HPhantom
21984 status open
21985
21986 \begin_layout Plain Layout
21987
21988 \series bold
21989 \begin_inset space ~
21990 \end_inset
21991
21992
21993 \end_layout
21994
21995 \end_inset
21996
21997 {
21998 \backslash
21999 usepackage{array}}{}
22000 \begin_inset Newline newline
22001 \end_inset
22002
22003
22004 \backslash
22005 setlength{
22006 \backslash
22007 extrarowheight}{height}
22008 \series default
22009
22010 \begin_inset Note Note
22011 status collapsed
22012
22013 \begin_layout Plain Layout
22014 The package 
22015 \series bold
22016 array
22017 \series default
22018  will be loaded automatically by \SpecialChar LyX
22019  when you use self defined table formats.
22020  To avoid that it is loaded twice the command 
22021 \series bold
22022
22023 \backslash
22024 @ifundefined
22025 \series default
22026  is used in the above command.
22027 \end_layout
22028
22029 \end_inset
22030
22031
22032 \end_layout
22033
22034 \begin_layout Standard
22035 where the 
22036 \family sans
22037 height
22038 \family default
22039  can have one of the units listed in appendix
22040 \begin_inset space ~
22041 \end_inset
22042
22043
22044 \begin_inset CommandInset ref
22045 LatexCommand ref
22046 reference "cha:Units-available-in"
22047
22048 \end_inset
22049
22050 .
22051  But this has the disadvantage that the cell texts are no longer exactly
22052  vertically centered.
22053 \end_layout
22054
22055 \begin_layout Standard
22056 If you are using font sizes larger than the normal size, the table borders
22057  are often too close to the letters.
22058  This can be corrected by inserting the command 
22059 \series bold
22060
22061 \backslash
22062 strut
22063 \series default
22064  in \SpecialChar TeX
22065  Code at the beginning of a table row.
22066  Table
22067 \begin_inset space ~
22068 \end_inset
22069
22070
22071 \begin_inset CommandInset ref
22072 LatexCommand ref
22073 reference "tab:Vertical-alignment-of"
22074
22075 \end_inset
22076
22077  illustrates the effect.
22078 \end_layout
22079
22080 \begin_layout Standard
22081 \noindent
22082 \begin_inset Float table
22083 placement h
22084 alignment document
22085 wide false
22086 sideways false
22087 status open
22088
22089 \begin_layout Plain Layout
22090 \begin_inset Caption Standard
22091
22092 \begin_layout Plain Layout
22093 \begin_inset CommandInset label
22094 LatexCommand label
22095 name "tab:Vertical-alignment-of"
22096
22097 \end_inset
22098
22099 Vertical alignment of text with large font sizes.
22100 \end_layout
22101
22102 \end_inset
22103
22104
22105 \end_layout
22106
22107 \begin_layout Plain Layout
22108 \begin_inset space \hfill{}
22109 \end_inset
22110
22111
22112 \begin_inset Float table
22113 placement document
22114 alignment document
22115 wide false
22116 sideways false
22117 status collapsed
22118
22119 \begin_layout Plain Layout
22120 \begin_inset Caption Standard
22121
22122 \begin_layout Plain Layout
22123 Normal table.
22124 \end_layout
22125
22126 \end_inset
22127
22128
22129 \end_layout
22130
22131 \begin_layout Plain Layout
22132 \noindent
22133 \align center
22134 \begin_inset Tabular
22135 <lyxtabular version="3" rows="6" columns="1">
22136 <features tabularvalignment="middle">
22137 <column alignment="left" valignment="top">
22138 <row>
22139 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22140 \begin_inset Text
22141
22142 \begin_layout Plain Layout
22143 Normal, g
22144 \end_layout
22145
22146 \end_inset
22147 </cell>
22148 </row>
22149 <row>
22150 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22151 \begin_inset Text
22152
22153 \begin_layout Plain Layout
22154
22155 \size large
22156 Large
22157 \end_layout
22158
22159 \end_inset
22160 </cell>
22161 </row>
22162 <row>
22163 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22164 \begin_inset Text
22165
22166 \begin_layout Plain Layout
22167
22168 \size larger
22169 Larger
22170 \end_layout
22171
22172 \end_inset
22173 </cell>
22174 </row>
22175 <row>
22176 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22177 \begin_inset Text
22178
22179 \begin_layout Plain Layout
22180
22181 \size largest
22182 Largest
22183 \end_layout
22184
22185 \end_inset
22186 </cell>
22187 </row>
22188 <row>
22189 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22190 \begin_inset Text
22191
22192 \begin_layout Plain Layout
22193
22194 \size huge
22195 Huge
22196 \end_layout
22197
22198 \end_inset
22199 </cell>
22200 </row>
22201 <row>
22202 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22203 \begin_inset Text
22204
22205 \begin_layout Plain Layout
22206
22207 \size huge
22208 Huger
22209 \end_layout
22210
22211 \end_inset
22212 </cell>
22213 </row>
22214 </lyxtabular>
22215
22216 \end_inset
22217
22218
22219 \end_layout
22220
22221 \end_inset
22222
22223
22224 \begin_inset space \hfill{}
22225 \end_inset
22226
22227
22228 \begin_inset Float table
22229 placement document
22230 alignment document
22231 wide false
22232 sideways false
22233 status collapsed
22234
22235 \begin_layout Plain Layout
22236 \begin_inset Caption Standard
22237
22238 \begin_layout Plain Layout
22239 Table using the command 
22240 \series bold
22241
22242 \backslash
22243 strut
22244 \series default
22245 .
22246 \end_layout
22247
22248 \end_inset
22249
22250
22251 \end_layout
22252
22253 \begin_layout Plain Layout
22254 \noindent
22255 \align center
22256 \begin_inset Tabular
22257 <lyxtabular version="3" rows="6" columns="1">
22258 <features tabularvalignment="middle">
22259 <column alignment="left" valignment="top">
22260 <row>
22261 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22262 \begin_inset Text
22263
22264 \begin_layout Plain Layout
22265 Normal, g
22266 \end_layout
22267
22268 \end_inset
22269 </cell>
22270 </row>
22271 <row>
22272 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22273 \begin_inset Text
22274
22275 \begin_layout Plain Layout
22276
22277 \size large
22278 \begin_inset ERT
22279 status collapsed
22280
22281 \begin_layout Plain Layout
22282
22283
22284 \backslash
22285 strut 
22286 \end_layout
22287
22288 \end_inset
22289
22290 Large
22291 \end_layout
22292
22293 \end_inset
22294 </cell>
22295 </row>
22296 <row>
22297 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22298 \begin_inset Text
22299
22300 \begin_layout Plain Layout
22301
22302 \size larger
22303 \begin_inset ERT
22304 status collapsed
22305
22306 \begin_layout Plain Layout
22307
22308
22309 \backslash
22310 strut 
22311 \end_layout
22312
22313 \end_inset
22314
22315 Larger
22316 \end_layout
22317
22318 \end_inset
22319 </cell>
22320 </row>
22321 <row>
22322 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22323 \begin_inset Text
22324
22325 \begin_layout Plain Layout
22326
22327 \size largest
22328 \begin_inset ERT
22329 status collapsed
22330
22331 \begin_layout Plain Layout
22332
22333
22334 \backslash
22335 strut 
22336 \end_layout
22337
22338 \end_inset
22339
22340 Largest
22341 \end_layout
22342
22343 \end_inset
22344 </cell>
22345 </row>
22346 <row>
22347 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22348 \begin_inset Text
22349
22350 \begin_layout Plain Layout
22351
22352 \size huge
22353 \begin_inset ERT
22354 status collapsed
22355
22356 \begin_layout Plain Layout
22357
22358
22359 \backslash
22360 strut 
22361 \end_layout
22362
22363 \end_inset
22364
22365 Huge
22366 \end_layout
22367
22368 \end_inset
22369 </cell>
22370 </row>
22371 <row>
22372 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22373 \begin_inset Text
22374
22375 \begin_layout Plain Layout
22376
22377 \size giant
22378 \begin_inset ERT
22379 status collapsed
22380
22381 \begin_layout Plain Layout
22382
22383
22384 \backslash
22385 strut 
22386 \end_layout
22387
22388 \end_inset
22389
22390
22391 \size huge
22392 Huger
22393 \end_layout
22394
22395 \end_inset
22396 </cell>
22397 </row>
22398 </lyxtabular>
22399
22400 \end_inset
22401
22402
22403 \end_layout
22404
22405 \end_inset
22406
22407
22408 \begin_inset space \hfill{}
22409 \end_inset
22410
22411
22412 \end_layout
22413
22414 \end_inset
22415
22416
22417 \end_layout
22418
22419 \begin_layout Subsection
22420 Special Cell Alignment
22421 \begin_inset CommandInset label
22422 LatexCommand label
22423 name "subsec:Special-Cell-Alignment"
22424
22425 \end_inset
22426
22427
22428 \begin_inset Index idx
22429 status collapsed
22430
22431 \begin_layout Plain Layout
22432 Table Customization ! Special Cell Alignment
22433 \end_layout
22434
22435 \end_inset
22436
22437
22438 \end_layout
22439
22440 \begin_layout Standard
22441 Sometimes it looks better when the cell entries of a column are aligned
22442  with a special character, e.
22443 \begin_inset space \thinspace{}
22444 \end_inset
22445
22446 g.
22447 \begin_inset space \space{}
22448 \end_inset
22449
22450 with the decimal separator as in Table
22451 \begin_inset space ~
22452 \end_inset
22453
22454
22455 \begin_inset CommandInset ref
22456 LatexCommand ref
22457 reference "tab:Table-cells-align"
22458
22459 \end_inset
22460
22461 .
22462  This alignment is achieved by setting the cursor into the column and then
22463  either pressing the toolbar button 
22464 \begin_inset Info
22465 type  "icon"
22466 arg   "tabular-feature align-decimal"
22467 \end_inset
22468
22469  or setting the alignment in the table settings to 
22470 \family sans
22471 At
22472 \begin_inset space ~
22473 \end_inset
22474
22475 Decimal
22476 \begin_inset space ~
22477 \end_inset
22478
22479 Separator
22480 \family default
22481 .
22482  The alignment character can be a character of your choice and is specified
22483  in the table settings.
22484 \end_layout
22485
22486 \begin_layout Standard
22487 \begin_inset Float table
22488 placement h
22489 alignment document
22490 wide false
22491 sideways false
22492 status open
22493
22494 \begin_layout Plain Layout
22495 \begin_inset Caption Standard
22496
22497 \begin_layout Plain Layout
22498 \begin_inset CommandInset label
22499 LatexCommand label
22500 name "tab:Table-cells-align"
22501
22502 \end_inset
22503
22504 Table cells of a column aligned with the decimal separator.
22505 \end_layout
22506
22507 \end_inset
22508
22509
22510 \end_layout
22511
22512 \begin_layout Plain Layout
22513 \align center
22514 \begin_inset Tabular
22515 <lyxtabular version="3" rows="4" columns="1">
22516 <features booktabs="true" tabularvalignment="middle">
22517 <column alignment="decimal" decimal_point="." valignment="top" width="0pt">
22518 <row>
22519 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
22520 \begin_inset Text
22521
22522 \begin_layout Plain Layout
22523 heading
22524 \end_layout
22525
22526 \end_inset
22527 </cell>
22528 </row>
22529 <row>
22530 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22531 \begin_inset Text
22532
22533 \begin_layout Plain Layout
22534 12.6
22535 \end_layout
22536
22537 \end_inset
22538 </cell>
22539 </row>
22540 <row>
22541 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
22542 \begin_inset Text
22543
22544 \begin_layout Plain Layout
22545 0.68
22546 \end_layout
22547
22548 \end_inset
22549 </cell>
22550 </row>
22551 <row>
22552 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
22553 \begin_inset Text
22554
22555 \begin_layout Plain Layout
22556 -123.0
22557 \end_layout
22558
22559 \end_inset
22560 </cell>
22561 </row>
22562 </lyxtabular>
22563
22564 \end_inset
22565
22566
22567 \end_layout
22568
22569 \end_inset
22570
22571
22572 \end_layout
22573
22574 \begin_layout Standard
22575 \begin_inset Float table
22576 placement h
22577 alignment document
22578 wide false
22579 sideways false
22580 status open
22581
22582 \begin_layout Plain Layout
22583 \begin_inset Caption Standard
22584
22585 \begin_layout Plain Layout
22586 \begin_inset CommandInset label
22587 LatexCommand label
22588 name "tab:Table-align-operator"
22589
22590 \end_inset
22591
22592 Table cells of a column aligned with the operators.
22593 \end_layout
22594
22595 \end_inset
22596
22597
22598 \end_layout
22599
22600 \begin_layout Plain Layout
22601 \align center
22602 \begin_inset Tabular
22603 <lyxtabular version="3" rows="4" columns="2">
22604 <features booktabs="true" tabularvalignment="middle">
22605 <column alignment="right" valignment="top" width="0pt">
22606 <column alignment="left" valignment="top" width="0pt" special="@{}l">
22607 <row>
22608 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
22609 \begin_inset Text
22610
22611 \begin_layout Plain Layout
22612 heading
22613 \end_layout
22614
22615 \end_inset
22616 </cell>
22617 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22618 \begin_inset Text
22619
22620 \begin_layout Plain Layout
22621
22622 \end_layout
22623
22624 \end_inset
22625 </cell>
22626 </row>
22627 <row>
22628 <cell alignment="center" valignment="top" usebox="none">
22629 \begin_inset Text
22630
22631 \begin_layout Plain Layout
22632 \begin_inset Formula $12\,+$
22633 \end_inset
22634
22635
22636 \end_layout
22637
22638 \end_inset
22639 </cell>
22640 <cell alignment="center" valignment="top" usebox="none">
22641 \begin_inset Text
22642
22643 \begin_layout Plain Layout
22644 \begin_inset Formula $\,6$
22645 \end_inset
22646
22647
22648 \end_layout
22649
22650 \end_inset
22651 </cell>
22652 </row>
22653 <row>
22654 <cell alignment="center" valignment="top" usebox="none">
22655 \begin_inset Text
22656
22657 \begin_layout Plain Layout
22658 \begin_inset Formula $0\,-$
22659 \end_inset
22660
22661
22662 \end_layout
22663
22664 \end_inset
22665 </cell>
22666 <cell alignment="center" valignment="top" usebox="none">
22667 \begin_inset Text
22668
22669 \begin_layout Plain Layout
22670 \begin_inset Formula $\,68$
22671 \end_inset
22672
22673
22674 \end_layout
22675
22676 \end_inset
22677 </cell>
22678 </row>
22679 <row>
22680 <cell alignment="center" valignment="top" usebox="none">
22681 \begin_inset Text
22682
22683 \begin_layout Plain Layout
22684 \begin_inset Formula $-123\,/$
22685 \end_inset
22686
22687
22688 \end_layout
22689
22690 \end_inset
22691 </cell>
22692 <cell alignment="center" valignment="top" usebox="none">
22693 \begin_inset Text
22694
22695 \begin_layout Plain Layout
22696 \begin_inset Formula $\,0$
22697 \end_inset
22698
22699
22700 \end_layout
22701
22702 \end_inset
22703 </cell>
22704 </row>
22705 </lyxtabular>
22706
22707 \end_inset
22708
22709
22710 \end_layout
22711
22712 \end_inset
22713
22714
22715 \end_layout
22716
22717 \begin_layout Standard
22718 For alignments at characters in formulas this method does not work because
22719  the field to specify the alignment character does not allow formulas.
22720  In this case one need to use the method from Table
22721 \begin_inset space ~
22722 \end_inset
22723
22724
22725 \begin_inset CommandInset ref
22726 LatexCommand ref
22727 reference "tab:Table-align-operator"
22728
22729 \end_inset
22730
22731 .
22732  This table was created with a 4×2 table.
22733  The heading is a centered multicolumn.
22734  The first column is right-aligned and contains the first part including
22735  the operator.
22736  The second column is left aligned and contains the rest.
22737  A small space was added at the beginning of each cell of the second column
22738  to get the space that is usually around operators.
22739  To omit the space that is normally between two table columns, the following
22740  \SpecialChar LaTeX
22741 -argument was used for the second column:
22742 \end_layout
22743
22744 \begin_layout Standard
22745
22746 \series bold
22747 @{}l
22748 \end_layout
22749
22750 \begin_layout Standard
22751 Table
22752 \begin_inset space ~
22753 \end_inset
22754
22755
22756 \begin_inset CommandInset ref
22757 LatexCommand ref
22758 reference "tab:Several-table-cell"
22759
22760 \end_inset
22761
22762  shows some example alignments.
22763  For the alignment with the relation sign, a small space was added like
22764  for the second column of Table
22765 \begin_inset space ~
22766 \end_inset
22767
22768
22769 \begin_inset CommandInset ref
22770 LatexCommand ref
22771 reference "tab:Table-align-operator"
22772
22773 \end_inset
22774
22775 .
22776 \end_layout
22777
22778 \begin_layout Standard
22779 \begin_inset Float table
22780 placement h
22781 alignment document
22782 wide false
22783 sideways false
22784 status open
22785
22786 \begin_layout Plain Layout
22787 \begin_inset Caption Standard
22788
22789 \begin_layout Plain Layout
22790 \begin_inset CommandInset label
22791 LatexCommand label
22792 name "tab:Several-table-cell"
22793
22794 \end_inset
22795
22796 Several table cell alignments.
22797 \end_layout
22798
22799 \end_inset
22800
22801
22802 \end_layout
22803
22804 \begin_layout Plain Layout
22805 \align center
22806 \begin_inset Tabular
22807 <lyxtabular version="3" rows="4" columns="6">
22808 <features tabularvalignment="middle">
22809 <column alignment="right" valignment="top">
22810 <column alignment="left" valignment="top" special="@{}l">
22811 <column alignment="right" valignment="top">
22812 <column alignment="left" valignment="top" special="@{}l">
22813 <column alignment="right" valignment="top">
22814 <column alignment="left" valignment="top" special="@{}l">
22815 <row>
22816 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
22817 \begin_inset Text
22818
22819 \begin_layout Plain Layout
22820 units
22821 \end_layout
22822
22823 \end_inset
22824 </cell>
22825 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22826 \begin_inset Text
22827
22828 \begin_layout Plain Layout
22829
22830 \end_layout
22831
22832 \end_inset
22833 </cell>
22834 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
22835 \begin_inset Text
22836
22837 \begin_layout Plain Layout
22838 exponents
22839 \end_layout
22840
22841 \end_inset
22842 </cell>
22843 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22844 \begin_inset Text
22845
22846 \begin_layout Plain Layout
22847
22848 \end_layout
22849
22850 \end_inset
22851 </cell>
22852 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
22853 \begin_inset Text
22854
22855 \begin_layout Plain Layout
22856 relations
22857 \end_layout
22858
22859 \end_inset
22860 </cell>
22861 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22862 \begin_inset Text
22863
22864 \begin_layout Plain Layout
22865
22866 \end_layout
22867
22868 \end_inset
22869 </cell>
22870 </row>
22871 <row>
22872 <cell alignment="center" valignment="top" usebox="none">
22873 \begin_inset Text
22874
22875 \begin_layout Plain Layout
22876 12×
22877 \end_layout
22878
22879 \end_inset
22880 </cell>
22881 <cell alignment="center" valignment="top" rightline="true" usebox="none">
22882 \begin_inset Text
22883
22884 \begin_layout Plain Layout
22885 24
22886 \begin_inset space \thinspace{}
22887 \end_inset
22888
22889 bottles
22890 \end_layout
22891
22892 \end_inset
22893 </cell>
22894 <cell alignment="center" valignment="top" usebox="none">
22895 \begin_inset Text
22896
22897 \begin_layout Plain Layout
22898 \begin_inset Formula $10\cdot$
22899 \end_inset
22900
22901
22902 \end_layout
22903
22904 \end_inset
22905 </cell>
22906 <cell alignment="center" valignment="top" rightline="true" usebox="none">
22907 \begin_inset Text
22908
22909 \begin_layout Plain Layout
22910 \begin_inset Formula $10^{\mbox{-}17}$
22911 \end_inset
22912
22913
22914 \end_layout
22915
22916 \end_inset
22917 </cell>
22918 <cell alignment="center" valignment="top" usebox="none">
22919 \begin_inset Text
22920
22921 \begin_layout Plain Layout
22922 \begin_inset Formula $\Gamma(t)\propto$
22923 \end_inset
22924
22925
22926 \end_layout
22927
22928 \end_inset
22929 </cell>
22930 <cell alignment="center" valignment="top" usebox="none">
22931 \begin_inset Text
22932
22933 \begin_layout Plain Layout
22934 \begin_inset Formula $\:\Upsilon(t)$
22935 \end_inset
22936
22937
22938 \end_layout
22939
22940 \end_inset
22941 </cell>
22942 </row>
22943 <row>
22944 <cell alignment="center" valignment="top" usebox="none">
22945 \begin_inset Text
22946
22947 \begin_layout Plain Layout
22948 1024×
22949 \end_layout
22950
22951 \end_inset
22952 </cell>
22953 <cell alignment="center" valignment="top" rightline="true" usebox="none">
22954 \begin_inset Text
22955
22956 \begin_layout Plain Layout
22957 768
22958 \begin_inset space \thinspace{}
22959 \end_inset
22960
22961 Pixels
22962 \end_layout
22963
22964 \end_inset
22965 </cell>
22966 <cell alignment="center" valignment="top" usebox="none">
22967 \begin_inset Text
22968
22969 \begin_layout Plain Layout
22970 \begin_inset Formula $5.78\cdot$
22971 \end_inset
22972
22973
22974 \end_layout
22975
22976 \end_inset
22977 </cell>
22978 <cell alignment="center" valignment="top" rightline="true" usebox="none">
22979 \begin_inset Text
22980
22981 \begin_layout Plain Layout
22982 \begin_inset Formula $10^{7}$
22983 \end_inset
22984
22985
22986 \end_layout
22987
22988 \end_inset
22989 </cell>
22990 <cell alignment="center" valignment="top" usebox="none">
22991 \begin_inset Text
22992
22993 \begin_layout Plain Layout
22994 \begin_inset Formula $A\ne$
22995 \end_inset
22996
22997
22998 \end_layout
22999
23000 \end_inset
23001 </cell>
23002 <cell alignment="center" valignment="top" usebox="none">
23003 \begin_inset Text
23004
23005 \begin_layout Plain Layout
23006 \begin_inset Formula $\:B_{\mathrm{red}}$
23007 \end_inset
23008
23009
23010 \end_layout
23011
23012 \end_inset
23013 </cell>
23014 </row>
23015 <row>
23016 <cell alignment="center" valignment="top" usebox="none">
23017 \begin_inset Text
23018
23019 \begin_layout Plain Layout
23020 32×
23021 \end_layout
23022
23023 \end_inset
23024 </cell>
23025 <cell alignment="center" valignment="top" rightline="true" usebox="none">
23026 \begin_inset Text
23027
23028 \begin_layout Plain Layout
23029 6
23030 \begin_inset space \thinspace{}
23031 \end_inset
23032
23033 cm
23034 \end_layout
23035
23036 \end_inset
23037 </cell>
23038 <cell alignment="center" valignment="top" usebox="none">
23039 \begin_inset Text
23040
23041 \begin_layout Plain Layout
23042 -
23043 \begin_inset Formula $33.5\cdot$
23044 \end_inset
23045
23046
23047 \end_layout
23048
23049 \end_inset
23050 </cell>
23051 <cell alignment="center" valignment="top" rightline="true" usebox="none">
23052 \begin_inset Text
23053
23054 \begin_layout Plain Layout
23055 \begin_inset Formula $10^{4}$
23056 \end_inset
23057
23058
23059 \end_layout
23060
23061 \end_inset
23062 </cell>
23063 <cell alignment="center" valignment="top" usebox="none">
23064 \begin_inset Text
23065
23066 \begin_layout Plain Layout
23067 \begin_inset Formula $\sin(\alpha)\ge$
23068 \end_inset
23069
23070
23071 \end_layout
23072
23073 \end_inset
23074 </cell>
23075 <cell alignment="center" valignment="top" usebox="none">
23076 \begin_inset Text
23077
23078 \begin_layout Plain Layout
23079 \begin_inset Formula $\:\sin(\beta)$
23080 \end_inset
23081
23082
23083 \end_layout
23084
23085 \end_inset
23086 </cell>
23087 </row>
23088 </lyxtabular>
23089
23090 \end_inset
23091
23092
23093 \end_layout
23094
23095 \end_inset
23096
23097
23098 \end_layout
23099
23100 \begin_layout Subsection
23101 Customized Cell/Column Format
23102 \begin_inset CommandInset label
23103 LatexCommand label
23104 name "subsec:Customized-Format"
23105
23106 \end_inset
23107
23108
23109 \begin_inset Index idx
23110 status collapsed
23111
23112 \begin_layout Plain Layout
23113 Table Customization ! Cell/Column Format
23114 \end_layout
23115
23116 \end_inset
23117
23118
23119 \end_layout
23120
23121 \begin_layout Standard
23122 Calculating the required width for normal columns as described in section
23123 \begin_inset space ~
23124 \end_inset
23125
23126
23127 \begin_inset CommandInset ref
23128 LatexCommand ref
23129 reference "sec:Table-Width-Calculation"
23130
23131 \end_inset
23132
23133  or for spanned columns as described in section
23134 \begin_inset space ~
23135 \end_inset
23136
23137
23138 \begin_inset CommandInset ref
23139 LatexCommand ref
23140 reference "subsec:Multicolumn-Calculations"
23141
23142 \end_inset
23143
23144  is very annoying if you have several tables where a calculation is necessary.
23145  To make life easier, you can define a cell/column format in the preamble,
23146  that can be used in all tables of the document.
23147  The format is defined with the command
23148 \end_layout
23149
23150 \begin_layout Standard
23151
23152 \series bold
23153
23154 \backslash
23155 newcolumntype{name of format}[number of arguments]{commands}
23156 \end_layout
23157
23158 \begin_layout Standard
23159 The format name may only consist of one letter.
23160  The letters 
23161 \emph on
23162 b
23163 \emph default
23164
23165 \emph on
23166 c
23167 \emph default
23168
23169 \emph on
23170 l
23171 \emph default
23172
23173 \emph on
23174 m
23175 \emph default
23176
23177 \emph on
23178 p
23179 \emph default
23180  and 
23181 \emph on
23182 r
23183 \emph default
23184  are predefined and cannot be used.
23185  But all letters are allowed as capitals.
23186 \end_layout
23187
23188 \begin_layout Standard
23189 \begin_inset VSpace medskip
23190 \end_inset
23191
23192
23193 \end_layout
23194
23195 \begin_layout Standard
23196 For vertically and horizontally centered multicolumn cells with a fixed
23197  width you can define the cell format
23198 \end_layout
23199
23200 \begin_layout Standard
23201
23202 \series bold
23203
23204 \backslash
23205 newcolumntype{M}[1]{>{
23206 \backslash
23207 centering
23208 \backslash
23209 hspace{0pt}}m{#1}}
23210 \end_layout
23211
23212 \begin_layout Standard
23213 where 
23214 \series bold
23215
23216 \backslash
23217 hspace{0pt}
23218 \series default
23219  avoids the problem of hyphenating the first word, as described in section
23220 \begin_inset space ~
23221 \end_inset
23222
23223
23224 \begin_inset CommandInset ref
23225 LatexCommand ref
23226 reference "subsec:Multiple-Lines-in"
23227
23228 \end_inset
23229
23230 .
23231  Now you can simply enter
23232 \end_layout
23233
23234 \begin_layout Standard
23235
23236 \series bold
23237 M{width}
23238 \end_layout
23239
23240 \begin_layout Standard
23241 as 
23242 \family sans
23243 \SpecialChar LaTeX
23244 -argument
23245 \family default
23246  in the table dialog to create a multicolumn.
23247 \end_layout
23248
23249 \begin_layout Standard
23250 \begin_inset VSpace bigskip
23251 \end_inset
23252
23253
23254 \end_layout
23255
23256 \begin_layout Standard
23257 For cells spanned by a multicolumn cell, you can define the format
23258 \end_layout
23259
23260 \begin_layout Standard
23261
23262 \series bold
23263
23264 \backslash
23265 newcolumntype{S}[2]{>{
23266 \backslash
23267 centering
23268 \backslash
23269 hspace{0pt}}
23270 \begin_inset Newline newline
23271 \end_inset
23272
23273
23274 \begin_inset Phantom HPhantom
23275 status open
23276
23277 \begin_layout Plain Layout
23278
23279 \series bold
23280
23281 \backslash
23282 newcolumntype
23283 \end_layout
23284
23285 \end_inset
23286
23287 m{(#1+(2
23288 \backslash
23289 tabcolsep+
23290 \backslash
23291 arrayrulewidth)*(1-#2))/#2}}
23292 \end_layout
23293
23294 \begin_layout Standard
23295 This format uses equation 
23296 \begin_inset CommandInset ref
23297 LatexCommand eqref
23298 reference "eq:Wgn"
23299
23300 \end_inset
23301
23302  to calculate the required width so that each spanned cell has the same
23303  width.
23304 \end_layout
23305
23306 \begin_layout Standard
23307 You can now enter
23308 \end_layout
23309
23310 \begin_layout Standard
23311
23312 \series bold
23313 S{width of multicolumn cell}{number of spanned columns}
23314 \end_layout
23315
23316 \begin_layout Standard
23317 as \SpecialChar LaTeX
23318 -argument of the column.
23319 \end_layout
23320
23321 \begin_layout Standard
23322 \begin_inset VSpace bigskip
23323 \end_inset
23324
23325
23326 \end_layout
23327
23328 \begin_layout Standard
23329 For colored columns, you can define
23330 \end_layout
23331
23332 \begin_layout Standard
23333
23334 \series bold
23335
23336 \backslash
23337 newcolumntype{K}[1]{>{
23338 \backslash
23339 columncolor{#1}
23340 \backslash
23341 hspace{0pt}}c}
23342 \end_layout
23343
23344 \begin_layout Standard
23345 The 
23346 \begin_inset Quotes eld
23347 \end_inset
23348
23349 c
23350 \begin_inset Quotes erd
23351 \end_inset
23352
23353  at the end creates a column with a flexible width whose text is horizontally
23354  centered.
23355  You can now enter
23356 \end_layout
23357
23358 \begin_layout Standard
23359
23360 \series bold
23361 K{color name}
23362 \end_layout
23363
23364 \begin_layout Standard
23365 as \SpecialChar LaTeX
23366 -argument.
23367 \end_layout
23368
23369 \begin_layout Standard
23370 \begin_inset VSpace bigskip
23371 \end_inset
23372
23373
23374 \end_layout
23375
23376 \begin_layout Standard
23377 To create Table
23378 \begin_inset space ~
23379 \end_inset
23380
23381
23382 \begin_inset CommandInset ref
23383 LatexCommand ref
23384 reference "tab:Table-using-user-defined"
23385
23386 \end_inset
23387
23388  use the \SpecialChar LaTeX
23389 -arguments
23390 \end_layout
23391
23392 \begin_layout Standard
23393
23394 \series bold
23395 M{2.5cm}
23396 \end_layout
23397
23398 \begin_layout Standard
23399 for the first column and the multicolumn,
23400 \end_layout
23401
23402 \begin_layout Standard
23403
23404 \series bold
23405 K{red}
23406 \end_layout
23407
23408 \begin_layout Standard
23409 for the last column, and
23410 \end_layout
23411
23412 \begin_layout Standard
23413
23414 \series bold
23415 S{2.5cm}{2}
23416 \end_layout
23417
23418 \begin_layout Standard
23419 for the cells in the second column.
23420 \end_layout
23421
23422 \begin_layout Standard
23423 \begin_inset Float table
23424 placement h
23425 alignment document
23426 wide false
23427 sideways false
23428 status open
23429
23430 \begin_layout Plain Layout
23431 \begin_inset Caption Standard
23432
23433 \begin_layout Plain Layout
23434 \begin_inset CommandInset label
23435 LatexCommand label
23436 name "tab:Table-using-user-defined"
23437
23438 \end_inset
23439
23440 Table using user-defined table formats
23441 \end_layout
23442
23443 \end_inset
23444
23445
23446 \end_layout
23447
23448 \begin_layout Plain Layout
23449 \align center
23450 \begin_inset Tabular
23451 <lyxtabular version="3" rows="3" columns="4">
23452 <features tabularvalignment="middle">
23453 <column alignment="center" valignment="middle" width="2.5cm" special="M{2.5cm}">
23454 <column alignment="center" valignment="middle" special="S{2.5cm}{2}">
23455 <column alignment="center" valignment="middle">
23456 <column alignment="center" valignment="middle" special="K{red}">
23457 <row>
23458 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23459 \begin_inset Text
23460
23461 \begin_layout Plain Layout
23462 verylongtablecellword
23463 \end_layout
23464
23465 \end_inset
23466 </cell>
23467 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="M{2.5cm}">
23468 \begin_inset Text
23469
23470 \begin_layout Plain Layout
23471 multiple lines multicolumn
23472 \end_layout
23473
23474 \end_inset
23475 </cell>
23476 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23477 \begin_inset Text
23478
23479 \begin_layout Plain Layout
23480
23481 \end_layout
23482
23483 \end_inset
23484 </cell>
23485 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23486 \begin_inset Text
23487
23488 \begin_layout Plain Layout
23489 c
23490 \end_layout
23491
23492 \end_inset
23493 </cell>
23494 </row>
23495 <row>
23496 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23497 \begin_inset Text
23498
23499 \begin_layout Plain Layout
23500 d
23501 \end_layout
23502
23503 \end_inset
23504 </cell>
23505 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23506 \begin_inset Text
23507
23508 \begin_layout Plain Layout
23509 e
23510 \end_layout
23511
23512 \end_inset
23513 </cell>
23514 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23515 \begin_inset Text
23516
23517 \begin_layout Plain Layout
23518 f
23519 \end_layout
23520
23521 \end_inset
23522 </cell>
23523 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23524 \begin_inset Text
23525
23526 \begin_layout Plain Layout
23527 g
23528 \end_layout
23529
23530 \end_inset
23531 </cell>
23532 </row>
23533 <row>
23534 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23535 \begin_inset Text
23536
23537 \begin_layout Plain Layout
23538 h
23539 \end_layout
23540
23541 \end_inset
23542 </cell>
23543 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23544 \begin_inset Text
23545
23546 \begin_layout Plain Layout
23547 i
23548 \end_layout
23549
23550 \end_inset
23551 </cell>
23552 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23553 \begin_inset Text
23554
23555 \begin_layout Plain Layout
23556 j
23557 \end_layout
23558
23559 \end_inset
23560 </cell>
23561 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23562 \begin_inset Text
23563
23564 \begin_layout Plain Layout
23565 k
23566 \end_layout
23567
23568 \end_inset
23569 </cell>
23570 </row>
23571 </lyxtabular>
23572
23573 \end_inset
23574
23575
23576 \end_layout
23577
23578 \end_inset
23579
23580
23581 \end_layout
23582
23583 \begin_layout Subsection
23584 Line Thickness
23585 \begin_inset CommandInset label
23586 LatexCommand label
23587 name "subsec:Line-Thickness"
23588
23589 \end_inset
23590
23591
23592 \begin_inset Index idx
23593 status collapsed
23594
23595 \begin_layout Plain Layout
23596 Table Customization ! Line Thickness
23597 \end_layout
23598
23599 \end_inset
23600
23601
23602 \end_layout
23603
23604 \begin_layout Standard
23605 The line thickness for all lines in a table can be adjusted with the length
23606  
23607 \series bold
23608
23609 \backslash
23610 arrayrulewidth
23611 \series default
23612 .
23613  To set for example a line thickness of 1.5
23614 \begin_inset space \thinspace{}
23615 \end_inset
23616
23617 pt, as in Table
23618 \begin_inset space ~
23619 \end_inset
23620
23621
23622 \begin_inset CommandInset ref
23623 LatexCommand ref
23624 reference "tab:Table-with-1.5"
23625
23626 \end_inset
23627
23628 , insert the command
23629 \end_layout
23630
23631 \begin_layout Standard
23632
23633 \series bold
23634
23635 \backslash
23636 setlength{
23637 \backslash
23638 arrayrulewidth}{1.5pt}
23639 \end_layout
23640
23641 \begin_layout Standard
23642 in \SpecialChar TeX
23643  Code before the table or table float.
23644  The changed thickness is valid for all subsequent tables.
23645  To use the default value again, set 
23646 \series bold
23647
23648 \backslash
23649 arrayrulewidth
23650 \series default
23651  to 0.4
23652 \begin_inset space \thinspace{}
23653 \end_inset
23654
23655 pt in \SpecialChar TeX
23656  Code after the table or table float.
23657 \end_layout
23658
23659 \begin_layout Standard
23660 \begin_inset ERT
23661 status collapsed
23662
23663 \begin_layout Plain Layout
23664
23665
23666 \backslash
23667 setlength{
23668 \backslash
23669 arrayrulewidth}{1.5pt}
23670 \end_layout
23671
23672 \end_inset
23673
23674
23675 \begin_inset Float table
23676 placement document
23677 alignment document
23678 wide false
23679 sideways false
23680 status open
23681
23682 \begin_layout Plain Layout
23683 \begin_inset Caption Standard
23684
23685 \begin_layout Plain Layout
23686 \begin_inset CommandInset label
23687 LatexCommand label
23688 name "tab:Table-with-1.5"
23689
23690 \end_inset
23691
23692 Table with 1.5
23693 \begin_inset space \thinspace{}
23694 \end_inset
23695
23696 pt thick lines
23697 \end_layout
23698
23699 \end_inset
23700
23701
23702 \end_layout
23703
23704 \begin_layout Plain Layout
23705 \align center
23706 \begin_inset Tabular
23707 <lyxtabular version="3" rows="3" columns="3">
23708 <features tabularvalignment="middle">
23709 <column alignment="center" valignment="top">
23710 <column alignment="center" valignment="top">
23711 <column alignment="center" valignment="top">
23712 <row>
23713 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23714 \begin_inset Text
23715
23716 \begin_layout Plain Layout
23717 sd
23718 \end_layout
23719
23720 \end_inset
23721 </cell>
23722 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23723 \begin_inset Text
23724
23725 \begin_layout Plain Layout
23726
23727 \end_layout
23728
23729 \end_inset
23730 </cell>
23731 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23732 \begin_inset Text
23733
23734 \begin_layout Plain Layout
23735
23736 \end_layout
23737
23738 \end_inset
23739 </cell>
23740 </row>
23741 <row>
23742 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23743 \begin_inset Text
23744
23745 \begin_layout Plain Layout
23746
23747 \end_layout
23748
23749 \end_inset
23750 </cell>
23751 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23752 \begin_inset Text
23753
23754 \begin_layout Plain Layout
23755 sd
23756 \end_layout
23757
23758 \end_inset
23759 </cell>
23760 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23761 \begin_inset Text
23762
23763 \begin_layout Plain Layout
23764
23765 \end_layout
23766
23767 \end_inset
23768 </cell>
23769 </row>
23770 <row>
23771 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23772 \begin_inset Text
23773
23774 \begin_layout Plain Layout
23775
23776 \end_layout
23777
23778 \end_inset
23779 </cell>
23780 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23781 \begin_inset Text
23782
23783 \begin_layout Plain Layout
23784
23785 \end_layout
23786
23787 \end_inset
23788 </cell>
23789 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23790 \begin_inset Text
23791
23792 \begin_layout Plain Layout
23793 sd
23794 \end_layout
23795
23796 \end_inset
23797 </cell>
23798 </row>
23799 </lyxtabular>
23800
23801 \end_inset
23802
23803
23804 \end_layout
23805
23806 \end_inset
23807
23808
23809 \begin_inset ERT
23810 status collapsed
23811
23812 \begin_layout Plain Layout
23813
23814
23815 \backslash
23816 setlength{
23817 \backslash
23818 arrayrulewidth}{0.4pt}
23819 \end_layout
23820
23821 \end_inset
23822
23823
23824 \end_layout
23825
23826 \begin_layout Standard
23827 \begin_inset VSpace bigskip
23828 \end_inset
23829
23830 To set the line thickness to 1.5
23831 \begin_inset space \thinspace{}
23832 \end_inset
23833
23834 pt only for horizontal lines, as in Table
23835 \begin_inset space ~
23836 \end_inset
23837
23838
23839 \begin_inset CommandInset ref
23840 LatexCommand ref
23841 reference "tab:Table-with-horizontal"
23842
23843 \end_inset
23844
23845 , insert these commands in \SpecialChar TeX
23846  Code before the table or table float:
23847 \end_layout
23848
23849 \begin_layout Standard
23850
23851 \series bold
23852
23853 \backslash
23854 let
23855 \backslash
23856 myHline
23857 \backslash
23858 hline
23859 \begin_inset Newline newline
23860 \end_inset
23861
23862
23863 \backslash
23864 renewcommand{
23865 \backslash
23866 hline}
23867 \begin_inset Newline newline
23868 \end_inset
23869
23870  {
23871 \backslash
23872 noalign{
23873 \backslash
23874 global
23875 \backslash
23876 arrayrulewidth 1.5pt}
23877 \begin_inset Newline newline
23878 \end_inset
23879
23880  
23881 \backslash
23882 myHline
23883 \backslash
23884 noalign{
23885 \backslash
23886 global
23887 \backslash
23888 arrayrulewidth 0.4pt}}
23889 \end_layout
23890
23891 \begin_layout Standard
23892 To return to the default line thickness, insert this command in \SpecialChar TeX
23893  Code after
23894  the table or table float:
23895 \end_layout
23896
23897 \begin_layout Standard
23898
23899 \series bold
23900
23901 \backslash
23902 renewcommand{
23903 \backslash
23904 hline}{
23905 \backslash
23906 myHline}
23907 \end_layout
23908
23909 \begin_layout Standard
23910 \begin_inset ERT
23911 status collapsed
23912
23913 \begin_layout Plain Layout
23914
23915
23916 \backslash
23917 let
23918 \backslash
23919 myHline
23920 \backslash
23921 hline
23922 \end_layout
23923
23924 \begin_layout Plain Layout
23925
23926
23927 \backslash
23928 renewcommand{
23929 \backslash
23930 hline}
23931 \end_layout
23932
23933 \begin_layout Plain Layout
23934
23935  {
23936 \backslash
23937 noalign{
23938 \backslash
23939 global
23940 \backslash
23941 arrayrulewidth 1.5pt}
23942 \end_layout
23943
23944 \begin_layout Plain Layout
23945
23946   
23947 \backslash
23948 myHline
23949 \backslash
23950 noalign{
23951 \backslash
23952 global
23953 \backslash
23954 arrayrulewidth 0.4pt}}
23955 \end_layout
23956
23957 \end_inset
23958
23959
23960 \begin_inset Float table
23961 placement document
23962 alignment document
23963 wide false
23964 sideways false
23965 status open
23966
23967 \begin_layout Plain Layout
23968 \begin_inset Caption Standard
23969
23970 \begin_layout Plain Layout
23971 \begin_inset CommandInset label
23972 LatexCommand label
23973 name "tab:Table-with-horizontal"
23974
23975 \end_inset
23976
23977 Table with 1.5
23978 \begin_inset space \thinspace{}
23979 \end_inset
23980
23981 pt thick horizontal lines
23982 \end_layout
23983
23984 \end_inset
23985
23986
23987 \end_layout
23988
23989 \begin_layout Plain Layout
23990 \align center
23991 \begin_inset Tabular
23992 <lyxtabular version="3" rows="3" columns="3">
23993 <features tabularvalignment="middle">
23994 <column alignment="center" valignment="top">
23995 <column alignment="center" valignment="top">
23996 <column alignment="center" valignment="top">
23997 <row>
23998 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23999 \begin_inset Text
24000
24001 \begin_layout Plain Layout
24002 sd
24003 \end_layout
24004
24005 \end_inset
24006 </cell>
24007 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24008 \begin_inset Text
24009
24010 \begin_layout Plain Layout
24011
24012 \end_layout
24013
24014 \end_inset
24015 </cell>
24016 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24017 \begin_inset Text
24018
24019 \begin_layout Plain Layout
24020
24021 \end_layout
24022
24023 \end_inset
24024 </cell>
24025 </row>
24026 <row>
24027 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24028 \begin_inset Text
24029
24030 \begin_layout Plain Layout
24031
24032 \end_layout
24033
24034 \end_inset
24035 </cell>
24036 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24037 \begin_inset Text
24038
24039 \begin_layout Plain Layout
24040 sd
24041 \end_layout
24042
24043 \end_inset
24044 </cell>
24045 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24046 \begin_inset Text
24047
24048 \begin_layout Plain Layout
24049
24050 \end_layout
24051
24052 \end_inset
24053 </cell>
24054 </row>
24055 <row>
24056 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24057 \begin_inset Text
24058
24059 \begin_layout Plain Layout
24060
24061 \end_layout
24062
24063 \end_inset
24064 </cell>
24065 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24066 \begin_inset Text
24067
24068 \begin_layout Plain Layout
24069
24070 \end_layout
24071
24072 \end_inset
24073 </cell>
24074 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24075 \begin_inset Text
24076
24077 \begin_layout Plain Layout
24078 sd
24079 \end_layout
24080
24081 \end_inset
24082 </cell>
24083 </row>
24084 </lyxtabular>
24085
24086 \end_inset
24087
24088
24089 \end_layout
24090
24091 \end_inset
24092
24093
24094 \begin_inset ERT
24095 status collapsed
24096
24097 \begin_layout Plain Layout
24098
24099
24100 \backslash
24101 renewcommand{
24102 \backslash
24103 hline}{
24104 \backslash
24105 myHline}
24106 \end_layout
24107
24108 \end_inset
24109
24110
24111 \end_layout
24112
24113 \begin_layout Standard
24114 \begin_inset VSpace bigskip
24115 \end_inset
24116
24117 To set the line thickness to 1.5
24118 \begin_inset space \thinspace{}
24119 \end_inset
24120
24121 pt only for vertical lines, create the following column format in the document
24122  preamble, according to the description in section
24123 \begin_inset space ~
24124 \end_inset
24125
24126
24127 \begin_inset CommandInset ref
24128 LatexCommand ref
24129 reference "subsec:Customized-Format"
24130
24131 \end_inset
24132
24133 :
24134 \end_layout
24135
24136 \begin_layout Standard
24137
24138 \series bold
24139
24140 \backslash
24141 newcolumntype{V}{!{
24142 \backslash
24143 vrule width 1.5pt}}
24144 \end_layout
24145
24146 \begin_layout Standard
24147 For Table
24148 \begin_inset space ~
24149 \end_inset
24150
24151
24152 \begin_inset CommandInset ref
24153 LatexCommand ref
24154 reference "tab:Table-with-vertical"
24155
24156 \end_inset
24157
24158  the \SpecialChar LaTeX
24159 -argument
24160 \end_layout
24161
24162 \begin_layout Standard
24163
24164 \series bold
24165 VcV
24166 \end_layout
24167
24168 \begin_layout Standard
24169 was used for the last column and
24170 \end_layout
24171
24172 \begin_layout Standard
24173
24174 \series bold
24175 Vc
24176 \end_layout
24177
24178 \begin_layout Standard
24179 for the other columns.
24180 \end_layout
24181
24182 \begin_layout Standard
24183 \begin_inset Float table
24184 placement document
24185 alignment document
24186 wide false
24187 sideways false
24188 status open
24189
24190 \begin_layout Plain Layout
24191 \begin_inset Caption Standard
24192
24193 \begin_layout Plain Layout
24194 \begin_inset CommandInset label
24195 LatexCommand label
24196 name "tab:Table-with-vertical"
24197
24198 \end_inset
24199
24200 Table with 1.5
24201 \begin_inset space \thinspace{}
24202 \end_inset
24203
24204 pt thick vertical lines
24205 \end_layout
24206
24207 \end_inset
24208
24209
24210 \end_layout
24211
24212 \begin_layout Plain Layout
24213 \align center
24214 \begin_inset Tabular
24215 <lyxtabular version="3" rows="3" columns="3">
24216 <features tabularvalignment="middle">
24217 <column alignment="center" valignment="top" special="Vc">
24218 <column alignment="center" valignment="top" special="Vc">
24219 <column alignment="center" valignment="top" special="VcV">
24220 <row>
24221 <cell alignment="center" valignment="top" topline="true" usebox="none">
24222 \begin_inset Text
24223
24224 \begin_layout Plain Layout
24225 sd
24226 \end_layout
24227
24228 \end_inset
24229 </cell>
24230 <cell alignment="center" valignment="top" topline="true" usebox="none">
24231 \begin_inset Text
24232
24233 \begin_layout Plain Layout
24234
24235 \end_layout
24236
24237 \end_inset
24238 </cell>
24239 <cell alignment="center" valignment="top" topline="true" usebox="none">
24240 \begin_inset Text
24241
24242 \begin_layout Plain Layout
24243
24244 \end_layout
24245
24246 \end_inset
24247 </cell>
24248 </row>
24249 <row>
24250 <cell alignment="center" valignment="top" topline="true" usebox="none">
24251 \begin_inset Text
24252
24253 \begin_layout Plain Layout
24254
24255 \end_layout
24256
24257 \end_inset
24258 </cell>
24259 <cell alignment="center" valignment="top" topline="true" usebox="none">
24260 \begin_inset Text
24261
24262 \begin_layout Plain Layout
24263 sd
24264 \end_layout
24265
24266 \end_inset
24267 </cell>
24268 <cell alignment="center" valignment="top" topline="true" usebox="none">
24269 \begin_inset Text
24270
24271 \begin_layout Plain Layout
24272
24273 \end_layout
24274
24275 \end_inset
24276 </cell>
24277 </row>
24278 <row>
24279 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
24280 \begin_inset Text
24281
24282 \begin_layout Plain Layout
24283
24284 \end_layout
24285
24286 \end_inset
24287 </cell>
24288 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
24289 \begin_inset Text
24290
24291 \begin_layout Plain Layout
24292
24293 \end_layout
24294
24295 \end_inset
24296 </cell>
24297 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
24298 \begin_inset Text
24299
24300 \begin_layout Plain Layout
24301 sd
24302 \end_layout
24303
24304 \end_inset
24305 </cell>
24306 </row>
24307 </lyxtabular>
24308
24309 \end_inset
24310
24311
24312 \end_layout
24313
24314 \end_inset
24315
24316
24317 \end_layout
24318
24319 \begin_layout Subsection
24320 Dashed Lines
24321 \begin_inset Index idx
24322 status collapsed
24323
24324 \begin_layout Plain Layout
24325 Table Customization ! Dashed Lines
24326 \end_layout
24327
24328 \end_inset
24329
24330
24331 \end_layout
24332
24333 \begin_layout Standard
24334 \begin_inset ERT
24335 status collapsed
24336
24337 \begin_layout Plain Layout
24338
24339
24340 \backslash
24341 ifarydshln
24342 \end_layout
24343
24344 \end_inset
24345
24346
24347 \begin_inset Note Note
24348 status open
24349
24350 \begin_layout Plain Layout
24351 The following section will only be displayed when the \SpecialChar LaTeX
24352 -package 
24353 \series bold
24354 arydshln
24355 \series default
24356  is installed.
24357 \end_layout
24358
24359 \end_inset
24360
24361
24362 \end_layout
24363
24364 \begin_layout Standard
24365 \begin_inset Float table
24366 placement H
24367 alignment document
24368 wide false
24369 sideways false
24370 status open
24371
24372 \begin_layout Plain Layout
24373 \begin_inset Caption Standard
24374
24375 \begin_layout Plain Layout
24376 \begin_inset CommandInset label
24377 LatexCommand label
24378 name "tab:Table-with-dashed"
24379
24380 \end_inset
24381
24382 Table with dashed lines
24383 \end_layout
24384
24385 \end_inset
24386
24387
24388 \end_layout
24389
24390 \begin_layout Plain Layout
24391 \align center
24392 \begin_inset Tabular
24393 <lyxtabular version="3" rows="5" columns="5">
24394 <features tabularvalignment="middle">
24395 <column alignment="center" valignment="top">
24396 <column alignment="center" valignment="top">
24397 <column alignment="center" valignment="top" special=":c">
24398 <column alignment="center" valignment="top">
24399 <column alignment="center" valignment="top">
24400 <row>
24401 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24402 \begin_inset Text
24403
24404 \begin_layout Plain Layout
24405 a
24406 \end_layout
24407
24408 \end_inset
24409 </cell>
24410 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24411 \begin_inset Text
24412
24413 \begin_layout Plain Layout
24414 b
24415 \end_layout
24416
24417 \end_inset
24418 </cell>
24419 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
24420 \begin_inset Text
24421
24422 \begin_layout Plain Layout
24423 c
24424 \end_layout
24425
24426 \end_inset
24427 </cell>
24428 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24429 \begin_inset Text
24430
24431 \begin_layout Plain Layout
24432 d
24433 \end_layout
24434
24435 \end_inset
24436 </cell>
24437 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24438 \begin_inset Text
24439
24440 \begin_layout Plain Layout
24441 e
24442 \end_layout
24443
24444 \end_inset
24445 </cell>
24446 </row>
24447 <row>
24448 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24449 \begin_inset Text
24450
24451 \begin_layout Plain Layout
24452 f
24453 \end_layout
24454
24455 \end_inset
24456 </cell>
24457 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24458 \begin_inset Text
24459
24460 \begin_layout Plain Layout
24461 g
24462 \end_layout
24463
24464 \end_inset
24465 </cell>
24466 <cell alignment="center" valignment="top" topline="true" usebox="none">
24467 \begin_inset Text
24468
24469 \begin_layout Plain Layout
24470 h
24471 \end_layout
24472
24473 \end_inset
24474 </cell>
24475 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24476 \begin_inset Text
24477
24478 \begin_layout Plain Layout
24479 i
24480 \end_layout
24481
24482 \end_inset
24483 </cell>
24484 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24485 \begin_inset Text
24486
24487 \begin_layout Plain Layout
24488 j
24489 \end_layout
24490
24491 \end_inset
24492 </cell>
24493 </row>
24494 <row>
24495 <cell alignment="center" valignment="top" leftline="true" usebox="none">
24496 \begin_inset Text
24497
24498 \begin_layout Plain Layout
24499 \begin_inset ERT
24500 status collapsed
24501
24502 \begin_layout Plain Layout
24503
24504
24505 \backslash
24506 hdashline 
24507 \end_layout
24508
24509 \end_inset
24510
24511 k
24512 \end_layout
24513
24514 \end_inset
24515 </cell>
24516 <cell alignment="center" valignment="top" leftline="true" usebox="none">
24517 \begin_inset Text
24518
24519 \begin_layout Plain Layout
24520 l
24521 \end_layout
24522
24523 \end_inset
24524 </cell>
24525 <cell alignment="center" valignment="top" usebox="none">
24526 \begin_inset Text
24527
24528 \begin_layout Plain Layout
24529 m
24530 \end_layout
24531
24532 \end_inset
24533 </cell>
24534 <cell alignment="center" valignment="top" leftline="true" usebox="none">
24535 \begin_inset Text
24536
24537 \begin_layout Plain Layout
24538 n
24539 \end_layout
24540
24541 \end_inset
24542 </cell>
24543 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
24544 \begin_inset Text
24545
24546 \begin_layout Plain Layout
24547 o
24548 \end_layout
24549
24550 \end_inset
24551 </cell>
24552 </row>
24553 <row>
24554 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24555 \begin_inset Text
24556
24557 \begin_layout Plain Layout
24558 \begin_inset ERT
24559 status collapsed
24560
24561 \begin_layout Plain Layout
24562
24563
24564 \backslash
24565 cdashline{4-5}
24566 \end_layout
24567
24568 \end_inset
24569
24570 p
24571 \end_layout
24572
24573 \end_inset
24574 </cell>
24575 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24576 \begin_inset Text
24577
24578 \begin_layout Plain Layout
24579 q
24580 \end_layout
24581
24582 \end_inset
24583 </cell>
24584 <cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
24585 \begin_inset Text
24586
24587 \begin_layout Plain Layout
24588 r
24589 \end_layout
24590
24591 \end_inset
24592 </cell>
24593 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
24594 \begin_inset Text
24595
24596 \begin_layout Plain Layout
24597 s
24598 \end_layout
24599
24600 \end_inset
24601 </cell>
24602 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24603 \begin_inset Text
24604
24605 \begin_layout Plain Layout
24606
24607 \end_layout
24608
24609 \end_inset
24610 </cell>
24611 </row>
24612 <row>
24613 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24614 \begin_inset Text
24615
24616 \begin_layout Plain Layout
24617 t
24618 \end_layout
24619
24620 \end_inset
24621 </cell>
24622 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24623 \begin_inset Text
24624
24625 \begin_layout Plain Layout
24626 u
24627 \end_layout
24628
24629 \end_inset
24630 </cell>
24631 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
24632 \begin_inset Text
24633
24634 \begin_layout Plain Layout
24635 v
24636 \end_layout
24637
24638 \end_inset
24639 </cell>
24640 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24641 \begin_inset Text
24642
24643 \begin_layout Plain Layout
24644 w
24645 \end_layout
24646
24647 \end_inset
24648 </cell>
24649 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24650 \begin_inset Text
24651
24652 \begin_layout Plain Layout
24653 x
24654 \end_layout
24655
24656 \end_inset
24657 </cell>
24658 </row>
24659 </lyxtabular>
24660
24661 \end_inset
24662
24663
24664 \end_layout
24665
24666 \end_inset
24667
24668
24669 \end_layout
24670
24671 \begin_layout Standard
24672 \SpecialChar LyX
24673  does not natively support dashed lines, so you have to use \SpecialChar TeX
24674  Code.
24675  As a prerequisite the \SpecialChar LaTeX
24676  package 
24677 \series bold
24678 arydshln
24679 \series default
24680
24681 \begin_inset Index idx
24682 status collapsed
24683
24684 \begin_layout Plain Layout
24685 \SpecialChar LaTeX
24686 -packages ! arydshln
24687 \end_layout
24688
24689 \end_inset
24690
24691  must be loaded in the document preamble with the command
24692 \end_layout
24693
24694 \begin_layout Standard
24695
24696 \series bold
24697
24698 \backslash
24699 usepackage{arydshln}
24700 \end_layout
24701
24702 \begin_layout Standard
24703 To make a vertical line dashed, enter the colon 
24704 \begin_inset Quotes eld
24705 \end_inset
24706
24707 :
24708 \begin_inset Quotes erd
24709 \end_inset
24710
24711  together with the character for the horizontal alignment as \SpecialChar LaTeX
24712  argument in
24713  the table cell dialog.
24714 \end_layout
24715
24716 \begin_layout Standard
24717 For a horizontal dashed line add the command
24718 \end_layout
24719
24720 \begin_layout Standard
24721
24722 \series bold
24723
24724 \backslash
24725 hdashline
24726 \end_layout
24727
24728 \begin_layout Standard
24729 in \SpecialChar TeX
24730  Code as first element of the first cell in the table row.
24731 \end_layout
24732
24733 \begin_layout Standard
24734 For dashed multicolumn lines use the command
24735 \end_layout
24736
24737 \begin_layout Standard
24738
24739 \series bold
24740
24741 \backslash
24742 cdashline{line number
24743 \series default
24744 }
24745 \end_layout
24746
24747 \begin_layout Standard
24748 in \SpecialChar TeX
24749  Code as the first element of the first cell in the table row.
24750  If you have for example a multicolumn spanning columns 2 to 4 and you want
24751  to have a dashed line above, add the command
24752 \end_layout
24753
24754 \begin_layout Standard
24755
24756 \series bold
24757
24758 \backslash
24759 cdashline{2-4}
24760 \end_layout
24761
24762 \begin_layout Standard
24763 as the first element of the first cell in the row of the multicolumn.
24764 \end_layout
24765
24766 \begin_layout Standard
24767 \begin_inset VSpace bigskip
24768 \end_inset
24769
24770
24771 \end_layout
24772
24773 \begin_layout Standard
24774 Table
24775 \begin_inset space ~
24776 \end_inset
24777
24778
24779 \begin_inset CommandInset ref
24780 LatexCommand ref
24781 reference "tab:Table-with-dashed"
24782
24783 \end_inset
24784
24785  was created using 
24786 \begin_inset Quotes eld
24787 \end_inset
24788
24789
24790 \series bold
24791 :c
24792 \series default
24793
24794 \begin_inset Quotes erd
24795 \end_inset
24796
24797  as \SpecialChar LaTeX
24798  argument of the third column.
24799  The \SpecialChar TeX
24800  Code command 
24801 \series bold
24802
24803 \backslash
24804 hdashline
24805 \series default
24806  was inserted in the first cell of the third row and the \SpecialChar TeX
24807  Code command
24808 \begin_inset Newline newline
24809 \end_inset
24810
24811  
24812 \series bold
24813
24814 \backslash
24815 cdashline{4-5}
24816 \series default
24817  was inserted in the first cell of the fourth row.
24818 \end_layout
24819
24820 \begin_layout Standard
24821 \begin_inset VSpace bigskip
24822 \end_inset
24823
24824
24825 \end_layout
24826
24827 \begin_layout Standard
24828 Tables with dashed lines can also be colored as shown by Table
24829 \begin_inset space ~
24830 \end_inset
24831
24832
24833 \begin_inset CommandInset ref
24834 LatexCommand ref
24835 reference "tab:Colored-table-with"
24836
24837 \end_inset
24838
24839 .
24840 \end_layout
24841
24842 \begin_layout Standard
24843 \begin_inset ERT
24844 status collapsed
24845
24846 \begin_layout Plain Layout
24847
24848
24849 \backslash
24850 setlength{
24851 \backslash
24852 arrayrulewidth}{1pt}
24853 \end_layout
24854
24855 \end_inset
24856
24857
24858 \begin_inset Note Note
24859 status collapsed
24860
24861 \begin_layout Plain Layout
24862 thicker lines for better visualization of the line color
24863 \end_layout
24864
24865 \end_inset
24866
24867
24868 \end_layout
24869
24870 \begin_layout Standard
24871 \begin_inset ERT
24872 status collapsed
24873
24874 \begin_layout Plain Layout
24875
24876
24877 \backslash
24878 dashgapcolor{green}
24879 \end_layout
24880
24881 \end_inset
24882
24883
24884 \begin_inset Note Note
24885 status collapsed
24886
24887 \begin_layout Plain Layout
24888 color gaps between dashes green
24889 \end_layout
24890
24891 \end_inset
24892
24893
24894 \end_layout
24895
24896 \begin_layout Standard
24897 \begin_inset ERT
24898 status collapsed
24899
24900 \begin_layout Plain Layout
24901
24902
24903 \backslash
24904 let
24905 \backslash
24906 myHdashline
24907 \backslash
24908 hdashline
24909 \end_layout
24910
24911 \begin_layout Plain Layout
24912
24913
24914 \backslash
24915 renewcommand{
24916 \backslash
24917 hdashline}
24918 \end_layout
24919
24920 \begin_layout Plain Layout
24921
24922  {
24923 \backslash
24924 arrayrulecolor{red}
24925 \backslash
24926 myHdashline
24927 \backslash
24928 arrayrulecolor{black}}
24929 \end_layout
24930
24931 \end_inset
24932
24933
24934 \begin_inset Note Note
24935 status collapsed
24936
24937 \begin_layout Plain Layout
24938 color horizontal, dashed lines red
24939 \end_layout
24940
24941 \end_inset
24942
24943
24944 \end_layout
24945
24946 \begin_layout Standard
24947 \begin_inset ERT
24948 status collapsed
24949
24950 \begin_layout Plain Layout
24951
24952
24953 \backslash
24954 let
24955 \backslash
24956 myCdashline
24957 \backslash
24958 cdashline
24959 \end_layout
24960
24961 \begin_layout Plain Layout
24962
24963
24964 \backslash
24965 renewcommand{
24966 \backslash
24967 cdashline}[1]
24968 \end_layout
24969
24970 \begin_layout Plain Layout
24971
24972  {
24973 \backslash
24974 arrayrulecolor{yellow}
24975 \backslash
24976 myCdashline{#1}
24977 \backslash
24978 arrayrulecolor{black}}
24979 \end_layout
24980
24981 \end_inset
24982
24983
24984 \begin_inset Note Note
24985 status collapsed
24986
24987 \begin_layout Plain Layout
24988 color partial horizontal, dashed lines yellow
24989 \end_layout
24990
24991 \end_inset
24992
24993
24994 \end_layout
24995
24996 \begin_layout Standard
24997 \begin_inset Float table
24998 placement h
24999 alignment document
25000 wide false
25001 sideways false
25002 status open
25003
25004 \begin_layout Plain Layout
25005 \begin_inset Caption Standard
25006
25007 \begin_layout Plain Layout
25008 \begin_inset CommandInset label
25009 LatexCommand label
25010 name "tab:Colored-table-with"
25011
25012 \end_inset
25013
25014 Colored table with dashed lines
25015 \end_layout
25016
25017 \end_inset
25018
25019
25020 \end_layout
25021
25022 \begin_layout Plain Layout
25023 \align center
25024 \begin_inset Tabular
25025 <lyxtabular version="3" rows="5" columns="5">
25026 <features tabularvalignment="middle">
25027 <column alignment="center" valignment="top" width="0pt" special=">{\columncolor{darkgreen}\centering}c">
25028 <column alignment="center" valignment="top" width="0pt">
25029 <column alignment="center" valignment="top" width="0pt" special=":c">
25030 <column alignment="center" valignment="top">
25031 <column alignment="center" valignment="top">
25032 <row>
25033 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25034 \begin_inset Text
25035
25036 \begin_layout Plain Layout
25037 a
25038 \end_layout
25039
25040 \end_inset
25041 </cell>
25042 <cell alignment="center" valignment="top" topline="true" usebox="none">
25043 \begin_inset Text
25044
25045 \begin_layout Plain Layout
25046 b
25047 \end_layout
25048
25049 \end_inset
25050 </cell>
25051 <cell alignment="center" valignment="top" topline="true" usebox="none">
25052 \begin_inset Text
25053
25054 \begin_layout Plain Layout
25055 c
25056 \end_layout
25057
25058 \end_inset
25059 </cell>
25060 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25061 \begin_inset Text
25062
25063 \begin_layout Plain Layout
25064 d
25065 \end_layout
25066
25067 \end_inset
25068 </cell>
25069 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25070 \begin_inset Text
25071
25072 \begin_layout Plain Layout
25073 e
25074 \end_layout
25075
25076 \end_inset
25077 </cell>
25078 </row>
25079 <row>
25080 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25081 \begin_inset Text
25082
25083 \begin_layout Plain Layout
25084 f
25085 \end_layout
25086
25087 \end_inset
25088 </cell>
25089 <cell alignment="center" valignment="top" topline="true" usebox="none">
25090 \begin_inset Text
25091
25092 \begin_layout Plain Layout
25093 g
25094 \end_layout
25095
25096 \end_inset
25097 </cell>
25098 <cell alignment="center" valignment="top" topline="true" usebox="none">
25099 \begin_inset Text
25100
25101 \begin_layout Plain Layout
25102 h
25103 \end_layout
25104
25105 \end_inset
25106 </cell>
25107 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25108 \begin_inset Text
25109
25110 \begin_layout Plain Layout
25111 i
25112 \end_layout
25113
25114 \end_inset
25115 </cell>
25116 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25117 \begin_inset Text
25118
25119 \begin_layout Plain Layout
25120 j
25121 \end_layout
25122
25123 \end_inset
25124 </cell>
25125 </row>
25126 <row>
25127 <cell alignment="center" valignment="top" leftline="true" usebox="none">
25128 \begin_inset Text
25129
25130 \begin_layout Plain Layout
25131 \begin_inset ERT
25132 status collapsed
25133
25134 \begin_layout Plain Layout
25135
25136
25137 \backslash
25138 hdashline 
25139 \end_layout
25140
25141 \end_inset
25142
25143
25144 \begin_inset ERT
25145 status collapsed
25146
25147 \begin_layout Plain Layout
25148
25149
25150 \backslash
25151 rowcolor{Gray}
25152 \end_layout
25153
25154 \end_inset
25155
25156 k
25157 \end_layout
25158
25159 \end_inset
25160 </cell>
25161 <cell alignment="center" valignment="top" leftline="true" usebox="none">
25162 \begin_inset Text
25163
25164 \begin_layout Plain Layout
25165 l
25166 \end_layout
25167
25168 \end_inset
25169 </cell>
25170 <cell alignment="center" valignment="top" usebox="none">
25171 \begin_inset Text
25172
25173 \begin_layout Plain Layout
25174 m
25175 \end_layout
25176
25177 \end_inset
25178 </cell>
25179 <cell alignment="center" valignment="top" leftline="true" usebox="none">
25180 \begin_inset Text
25181
25182 \begin_layout Plain Layout
25183 n
25184 \end_layout
25185
25186 \end_inset
25187 </cell>
25188 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
25189 \begin_inset Text
25190
25191 \begin_layout Plain Layout
25192 o
25193 \end_layout
25194
25195 \end_inset
25196 </cell>
25197 </row>
25198 <row>
25199 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25200 \begin_inset Text
25201
25202 \begin_layout Plain Layout
25203 \begin_inset ERT
25204 status collapsed
25205
25206 \begin_layout Plain Layout
25207
25208
25209 \backslash
25210 cdashline{4-5}
25211 \end_layout
25212
25213 \end_inset
25214
25215 p
25216 \end_layout
25217
25218 \end_inset
25219 </cell>
25220 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25221 \begin_inset Text
25222
25223 \begin_layout Plain Layout
25224 q
25225 \end_layout
25226
25227 \end_inset
25228 </cell>
25229 <cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
25230 \begin_inset Text
25231
25232 \begin_layout Plain Layout
25233 r
25234 \end_layout
25235
25236 \end_inset
25237 </cell>
25238 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
25239 \begin_inset Text
25240
25241 \begin_layout Plain Layout
25242 s
25243 \end_layout
25244
25245 \end_inset
25246 </cell>
25247 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25248 \begin_inset Text
25249
25250 \begin_layout Plain Layout
25251
25252 \end_layout
25253
25254 \end_inset
25255 </cell>
25256 </row>
25257 <row>
25258 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25259 \begin_inset Text
25260
25261 \begin_layout Plain Layout
25262 t
25263 \end_layout
25264
25265 \end_inset
25266 </cell>
25267 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25268 \begin_inset Text
25269
25270 \begin_layout Plain Layout
25271 u
25272 \end_layout
25273
25274 \end_inset
25275 </cell>
25276 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
25277 \begin_inset Text
25278
25279 \begin_layout Plain Layout
25280 v
25281 \end_layout
25282
25283 \end_inset
25284 </cell>
25285 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25286 \begin_inset Text
25287
25288 \begin_layout Plain Layout
25289 w
25290 \end_layout
25291
25292 \end_inset
25293 </cell>
25294 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
25295 \begin_inset Text
25296
25297 \begin_layout Plain Layout
25298 \begin_inset ERT
25299 status collapsed
25300
25301 \begin_layout Plain Layout
25302
25303
25304 \backslash
25305 cellcolor{Maroon}
25306 \end_layout
25307
25308 \end_inset
25309
25310 i
25311 \end_layout
25312
25313 \end_inset
25314 </cell>
25315 </row>
25316 </lyxtabular>
25317
25318 \end_inset
25319
25320
25321 \end_layout
25322
25323 \end_inset
25324
25325
25326 \end_layout
25327
25328 \begin_layout Standard
25329 \begin_inset ERT
25330 status collapsed
25331
25332 \begin_layout Plain Layout
25333
25334
25335 \backslash
25336 renewcommand{
25337 \backslash
25338 hdashline}{
25339 \backslash
25340 myHdashline}
25341 \end_layout
25342
25343 \end_inset
25344
25345
25346 \begin_inset Note Note
25347 status collapsed
25348
25349 \begin_layout Plain Layout
25350 reset to default
25351 \end_layout
25352
25353 \end_inset
25354
25355
25356 \end_layout
25357
25358 \begin_layout Standard
25359 \begin_inset ERT
25360 status collapsed
25361
25362 \begin_layout Plain Layout
25363
25364
25365 \backslash
25366 renewcommand{
25367 \backslash
25368 cdashline}{
25369 \backslash
25370 myCdashline}
25371 \end_layout
25372
25373 \end_inset
25374
25375
25376 \begin_inset Note Note
25377 status collapsed
25378
25379 \begin_layout Plain Layout
25380 reset to default
25381 \end_layout
25382
25383 \end_inset
25384
25385
25386 \end_layout
25387
25388 \begin_layout Standard
25389 \begin_inset ERT
25390 status collapsed
25391
25392 \begin_layout Plain Layout
25393
25394
25395 \backslash
25396 nodashgapcolor
25397 \end_layout
25398
25399 \end_inset
25400
25401
25402 \begin_inset Note Note
25403 status collapsed
25404
25405 \begin_layout Plain Layout
25406 reset to default
25407 \end_layout
25408
25409 \end_inset
25410
25411
25412 \end_layout
25413
25414 \begin_layout Standard
25415 \begin_inset ERT
25416 status collapsed
25417
25418 \begin_layout Plain Layout
25419
25420
25421 \backslash
25422 setlength{
25423 \backslash
25424 arrayrulewidth}{0.4pt}
25425 \end_layout
25426
25427 \end_inset
25428
25429
25430 \begin_inset Note Note
25431 status collapsed
25432
25433 \begin_layout Plain Layout
25434 reset to default
25435 \end_layout
25436
25437 \end_inset
25438
25439
25440 \end_layout
25441
25442 \begin_layout Standard
25443 The coloring of lines, columns and lines works as decribed in section
25444 \begin_inset space ~
25445 \end_inset
25446
25447
25448 \begin_inset CommandInset ref
25449 LatexCommand ref
25450 reference "sec:Colored-Tables"
25451
25452 \end_inset
25453
25454 .
25455  Coloring horizontal lines works analogically as described there as well,
25456  one only needs to replace in the commands 
25457 \series bold
25458
25459 \backslash
25460 myHlineC
25461 \series default
25462  by 
25463 \series bold
25464
25465 \backslash
25466 myHdashline
25467 \series default
25468  and 
25469 \backslash
25470
25471 \series bold
25472 hline
25473 \series default
25474  by 
25475 \series bold
25476
25477 \backslash
25478 hdashline
25479 \series default
25480 ; so one uses the command
25481 \end_layout
25482
25483 \begin_layout Standard
25484
25485 \series bold
25486
25487 \backslash
25488 let
25489 \backslash
25490 myHdashline
25491 \backslash
25492 hdashline
25493 \begin_inset Newline newline
25494 \end_inset
25495
25496
25497 \backslash
25498 renewcommand{
25499 \backslash
25500 hdashline}
25501 \begin_inset Newline newline
25502 \end_inset
25503
25504
25505 \begin_inset Phantom HPhantom
25506 status open
25507
25508 \begin_layout Plain Layout
25509 \begin_inset space ~
25510 \end_inset
25511
25512
25513 \end_layout
25514
25515 \end_inset
25516
25517 {
25518 \backslash
25519 arrayrulecolor{red}
25520 \backslash
25521 myHdashline
25522 \backslash
25523 arrayrulecolor{black}}
25524 \end_layout
25525
25526 \begin_layout Standard
25527 To color 
25528 \series bold
25529
25530 \backslash
25531 cdashline
25532 \series default
25533 , the command is
25534 \end_layout
25535
25536 \begin_layout Standard
25537
25538 \series bold
25539
25540 \backslash
25541 let
25542 \backslash
25543 myCdashline
25544 \backslash
25545 cdashline
25546 \begin_inset Newline newline
25547 \end_inset
25548
25549
25550 \backslash
25551 renewcommand{
25552 \backslash
25553 cdashline}[1]
25554 \begin_inset Newline newline
25555 \end_inset
25556
25557
25558 \begin_inset Phantom HPhantom
25559 status open
25560
25561 \begin_layout Plain Layout
25562 \begin_inset space ~
25563 \end_inset
25564
25565
25566 \end_layout
25567
25568 \end_inset
25569
25570 {
25571 \backslash
25572 arrayrulecolor{red}
25573 \backslash
25574 myCdashline{#1}
25575 \backslash
25576 arrayrulecolor{black}}
25577 \end_layout
25578
25579 \begin_layout Standard
25580 To get back the black line color, one needs to insert the following commands
25581  as \SpecialChar TeX
25582  Code behind the table:
25583 \end_layout
25584
25585 \begin_layout Standard
25586 For 
25587 \series bold
25588
25589 \backslash
25590 hdashline
25591 \end_layout
25592
25593 \begin_layout Standard
25594
25595 \series bold
25596
25597 \backslash
25598 renewcommand{
25599 \backslash
25600 hdashline}{
25601 \backslash
25602 myHdashline}
25603 \end_layout
25604
25605 \begin_layout Standard
25606 and for 
25607 \series bold
25608
25609 \backslash
25610 cdashline
25611 \end_layout
25612
25613 \begin_layout Standard
25614
25615 \series bold
25616
25617 \backslash
25618 renewcommand{
25619 \backslash
25620 cdashline}{
25621 \backslash
25622 myCdashline}
25623 \end_layout
25624
25625 \begin_layout Standard
25626 To color the gaps between the dashes the command
25627 \end_layout
25628
25629 \begin_layout Standard
25630
25631 \series bold
25632
25633 \backslash
25634 dashgapcolor{color}
25635 \end_layout
25636
25637 \begin_layout Standard
25638 can be used in front of a table as \SpecialChar TeX
25639  Code.
25640  color is hereby the name of a defined color.
25641  The command
25642 \end_layout
25643
25644 \begin_layout Standard
25645
25646 \series bold
25647
25648 \backslash
25649 nodashgapcolor
25650 \end_layout
25651
25652 \begin_layout Standard
25653 unsets the changes made by 
25654 \series bold
25655
25656 \backslash
25657 dashgapcolor
25658 \series default
25659 .
25660 \end_layout
25661
25662 \begin_layout Standard
25663 \begin_inset Note Greyedout
25664 status open
25665
25666 \begin_layout Plain Layout
25667
25668 \series bold
25669 \color none
25670 Note
25671 \series default
25672 : If there are multiple commands in a cell, the command of 
25673 \series bold
25674 arydshln
25675 \series default
25676  needs to be the first one in the cell.
25677  Therefore in cell 
25678 \emph on
25679 k
25680 \emph default
25681  of Table
25682 \begin_inset space ~
25683 \end_inset
25684
25685
25686 \begin_inset CommandInset ref
25687 LatexCommand ref
25688 reference "tab:Colored-table-with"
25689
25690 \end_inset
25691
25692  the command 
25693 \series bold
25694
25695 \backslash
25696 hdashline
25697 \series default
25698  is before 
25699 \series bold
25700
25701 \backslash
25702 rowcolor
25703 \series default
25704 .
25705 \end_layout
25706
25707 \end_inset
25708
25709
25710 \end_layout
25711
25712 \begin_layout Standard
25713 \begin_inset Note Greyedout
25714 status open
25715
25716 \begin_layout Plain Layout
25717
25718 \series bold
25719 \color none
25720 Note:
25721 \series default
25722  The \SpecialChar LaTeX
25723 -package 
25724 \series bold
25725 arydshln
25726 \series default
25727  must be loaded in the document preamble before the \SpecialChar LaTeX
25728 -package 
25729 \series bold
25730 colortbl
25731 \series default
25732
25733 \begin_inset Index idx
25734 status collapsed
25735
25736 \begin_layout Plain Layout
25737 \SpecialChar LaTeX
25738 -packages ! colortbl
25739 \end_layout
25740
25741 \end_inset
25742
25743 .
25744 \end_layout
25745
25746 \end_inset
25747
25748
25749 \end_layout
25750
25751 \begin_layout Standard
25752 \begin_inset ERT
25753 status collapsed
25754
25755 \begin_layout Plain Layout
25756
25757
25758 \backslash
25759 else
25760 \end_layout
25761
25762 \end_inset
25763
25764
25765 \begin_inset Note Note
25766 status open
25767
25768 \begin_layout Plain Layout
25769 The following will be displayed when the \SpecialChar LaTeX
25770 -package 
25771 \series bold
25772 arydshln
25773 \series default
25774  is not installed:
25775 \end_layout
25776
25777 \end_inset
25778
25779
25780 \end_layout
25781
25782 \begin_layout Standard
25783 You need to install the package 
25784 \series bold
25785 arydshln
25786 \series default
25787  to see the content of this section in the output.
25788 \end_layout
25789
25790 \begin_layout Standard
25791 \begin_inset ERT
25792 status collapsed
25793
25794 \begin_layout Plain Layout
25795
25796
25797 \backslash
25798 fi
25799 \end_layout
25800
25801 \end_inset
25802
25803
25804 \end_layout
25805
25806 \begin_layout Standard
25807 For more information about dashed lines see the documentation of 
25808 \series bold
25809 arydshln
25810 \series default
25811
25812 \begin_inset CommandInset citation
25813 LatexCommand cite
25814 key "arydshln"
25815 literal "true"
25816
25817 \end_inset
25818
25819 .
25820 \end_layout
25821
25822 \begin_layout Chapter
25823 Floats
25824 \begin_inset CommandInset label
25825 LatexCommand label
25826 name "chap:Floats"
25827
25828 \end_inset
25829
25830
25831 \begin_inset Index idx
25832 status collapsed
25833
25834 \begin_layout Plain Layout
25835 Floats
25836 \end_layout
25837
25838 \end_inset
25839
25840
25841 \end_layout
25842
25843 \begin_layout Section
25844 Introduction
25845 \begin_inset CommandInset label
25846 LatexCommand label
25847 name "sec:FloatIntroduction"
25848
25849 \end_inset
25850
25851
25852 \begin_inset Index idx
25853 status collapsed
25854
25855 \begin_layout Plain Layout
25856 Floats ! Introduction
25857 \end_layout
25858
25859 \end_inset
25860
25861
25862 \end_layout
25863
25864 \begin_layout Standard
25865 A float is a block of text associated with some sort of label, which doesn't
25866  have a fixed location.
25867  It can 
25868 \begin_inset Quotes eld
25869 \end_inset
25870
25871 float
25872 \begin_inset Quotes erd
25873 \end_inset
25874
25875  forward or backward a page or two, to wherever it fits best.
25876  
25877 \family sans
25878 Footnotes
25879 \family default
25880  and 
25881 \family sans
25882 Margin
25883 \begin_inset space ~
25884 \end_inset
25885
25886 Notes
25887 \family default
25888  are also floats because they can float to the next page when there are
25889  too many notes on the page.
25890 \end_layout
25891
25892 \begin_layout Standard
25893 Floats allow a high quality layout.
25894  Images and tables can be spread evenly among the pages to avoid white space
25895  and pages without text.
25896  As the floating often destroys the context between the text and the image/table
25897 , every float can be referenced in the text.
25898  Floats are therefore numbered.
25899  Referencing is described in section
25900 \begin_inset space ~
25901 \end_inset
25902
25903
25904 \begin_inset CommandInset ref
25905 LatexCommand ref
25906 reference "sec:Referencing-Floats"
25907
25908 \end_inset
25909
25910 .
25911 \end_layout
25912
25913 \begin_layout Standard
25914 To insert a float, use the menu 
25915 \family sans
25916 Insert\SpecialChar menuseparator
25917 Float
25918 \family default
25919  (toolbar button 
25920 \begin_inset Info
25921 type  "icon"
25922 arg   "float-insert figure"
25923 \end_inset
25924
25925  or 
25926 \begin_inset Info
25927 type  "icon"
25928 arg   "float-insert table"
25929 \end_inset
25930
25931 ).
25932  This inserts the 
25933 \family sans
25934 Caption
25935 \family default
25936  inset, a box with a label.
25937  The label will automatically be translated to the document language in
25938  the output.
25939  After the label you can insert the caption text.
25940  The image or table is inserted above or below the caption in a separate
25941  paragraph within the float.
25942  More about the caption placement is contained in section
25943 \begin_inset space ~
25944 \end_inset
25945
25946
25947 \begin_inset CommandInset ref
25948 LatexCommand ref
25949 reference "sec:Caption-Placement"
25950
25951 \end_inset
25952
25953 .
25954  To keep your \SpecialChar LyX
25955  document readable, you can open and close the float box by
25956  left-clicking on the box label.
25957  A closed float box looks like this: 
25958 \begin_inset Graphics
25959         filename clipart/float.png
25960         scale 95
25961         scaleBeforeRotation
25962
25963 \end_inset
25964
25965  – a gray button with a red label.
25966 \end_layout
25967
25968 \begin_layout Standard
25969 It is recommended that you insert floats as separate standard paragraphs
25970  to avoid possible \SpecialChar LaTeX
25971 -errors that can occur when the surrounding text is specially
25972  formatted.
25973 \end_layout
25974
25975 \begin_layout Standard
25976 Existing figures or tables can be put into a float by highlighting them
25977  and then pressing the corresponding toolbar button for a new float.
25978 \end_layout
25979
25980 \begin_layout Section
25981 Float Types
25982 \end_layout
25983
25984 \begin_layout Standard
25985 Besides figure and table floats that are described in sections
25986 \begin_inset space ~
25987 \end_inset
25988
25989
25990 \begin_inset CommandInset ref
25991 LatexCommand ref
25992 reference "sec:Figure-Floats"
25993
25994 \end_inset
25995
25996  and 
25997 \begin_inset CommandInset ref
25998 LatexCommand ref
25999 reference "sec:Table-Floats"
26000
26001 \end_inset
26002
26003  respectively, \SpecialChar LyX
26004  offers the float types 
26005 \family sans
26006 Algorithm
26007 \family default
26008  and 
26009 \family sans
26010 Wrap
26011 \family default
26012 .
26013  The latter are explained in sec.
26014 \begin_inset space \thinspace{}
26015 \end_inset
26016
26017
26018 \begin_inset CommandInset ref
26019 LatexCommand ref
26020 reference "sec:Wrap-Floats"
26021
26022 \end_inset
26023
26024 .
26025 \end_layout
26026
26027 \begin_layout Subsection
26028 Algorithm Floats
26029 \begin_inset Index idx
26030 status collapsed
26031
26032 \begin_layout Plain Layout
26033 Floats ! Algorithms
26034 \end_layout
26035
26036 \end_inset
26037
26038
26039 \end_layout
26040
26041 \begin_layout Standard
26042 \begin_inset Float algorithm
26043 placement h
26044 alignment document
26045 wide false
26046 sideways false
26047 status open
26048
26049 \begin_layout Plain Layout
26050 \begin_inset Caption Standard
26051
26052 \begin_layout Plain Layout
26053 \begin_inset CommandInset label
26054 LatexCommand label
26055 name "alg:Example-Algorithm-float"
26056
26057 \end_inset
26058
26059 Example Algorithm float
26060 \end_layout
26061
26062 \end_inset
26063
26064
26065 \end_layout
26066
26067 \begin_layout LyX-Code
26068 for I in 1..N loop
26069 \begin_inset Newline newline
26070 \end_inset
26071
26072  Sum := Sum + A(I); /* comment */
26073 \begin_inset Newline newline
26074 \end_inset
26075
26076 end loop
26077 \begin_inset VSpace -4mm
26078 \end_inset
26079
26080
26081 \end_layout
26082
26083 \end_inset
26084
26085
26086 \end_layout
26087
26088 \begin_layout Standard
26089 This float type is inserted with the menu 
26090 \family sans
26091 Insert\SpecialChar menuseparator
26092 Float\SpecialChar menuseparator
26093 Algorithm
26094 \family default
26095 .
26096  It is used for program codes and descriptions of algorithms and can be
26097  seen as an alternative to program code listings that are explained in chapter
26098 \begin_inset space ~
26099 \end_inset
26100
26101
26102 \begin_inset CommandInset ref
26103 LatexCommand ref
26104 reference "cha:Program-Code-Listings"
26105
26106 \end_inset
26107
26108 .
26109  A possible environment for algorithms is the 
26110 \family sans
26111 \SpecialChar LyX
26112  Code
26113 \family default
26114 , described in \SpecialChar LyX
26115 's 
26116 \emph on
26117 Userguide
26118 \emph default
26119 .
26120  Algorithm
26121 \begin_inset space ~
26122 \end_inset
26123
26124
26125 \begin_inset CommandInset ref
26126 LatexCommand ref
26127 reference "alg:Example-Algorithm-float"
26128
26129 \end_inset
26130
26131  is an example of an algorithm float where -4
26132 \begin_inset space \thinspace{}
26133 \end_inset
26134
26135 mm vertical space was added at the end of the float to have the bottom rule
26136  exactly below the last text line.
26137 \end_layout
26138
26139 \begin_layout Standard
26140 The float label is not automatically translated into the document language.
26141  If your document is not in English, you have to do this manually by adding
26142  the following line to the document preamble
26143 \series bold
26144 :
26145 \end_layout
26146
26147 \begin_layout Standard
26148
26149 \series bold
26150
26151 \backslash
26152 floatname{algorithm}{your
26153 \begin_inset space ~
26154 \end_inset
26155
26156 name}
26157 \end_layout
26158
26159 \begin_layout Standard
26160 where 
26161 \family sans
26162 your
26163 \begin_inset space ~
26164 \end_inset
26165
26166 name
26167 \family default
26168  is the word 
26169 \begin_inset Quotes eld
26170 \end_inset
26171
26172
26173 \emph on
26174 algorithm
26175 \emph default
26176
26177 \begin_inset Quotes erd
26178 \end_inset
26179
26180  in your language.
26181 \end_layout
26182
26183 \begin_layout Standard
26184 To insert the list of algorithms you can use the menu 
26185 \family sans
26186 Insert\SpecialChar menuseparator
26187 List
26188 \begin_inset space \thinspace{}
26189 \end_inset
26190
26191 /
26192 \begin_inset space \thinspace{}
26193 \end_inset
26194
26195 TOC\SpecialChar menuseparator
26196 List of Algorithms
26197 \family default
26198  when your document has the same language as \SpecialChar LyX
26199 's menu names.
26200  In other cases use this command in \SpecialChar TeX
26201  Code instead:
26202 \end_layout
26203
26204 \begin_layout Standard
26205
26206 \series bold
26207
26208 \backslash
26209 listof{algorithm}{your
26210 \begin_inset space ~
26211 \end_inset
26212
26213 name}
26214 \end_layout
26215
26216 \begin_layout Standard
26217 where 
26218 \family sans
26219 your
26220 \begin_inset space ~
26221 \end_inset
26222
26223 name
26224 \family default
26225  is the word 
26226 \begin_inset Quotes eld
26227 \end_inset
26228
26229
26230 \emph on
26231 List of Algorithm
26232 \emph default
26233 s
26234 \begin_inset Quotes erd
26235 \end_inset
26236
26237  in your language.
26238 \end_layout
26239
26240 \begin_layout Standard
26241 Algorithm floats are not by default numbered in the scheme 
26242 \begin_inset Quotes eld
26243 \end_inset
26244
26245 chapter.algorithm
26246 \begin_inset Quotes erd
26247 \end_inset
26248
26249  as is the case for table and figure floats in many document-classes.
26250  To number algorithm floats in the same scheme, add this command to your
26251  document preamble:
26252 \end_layout
26253
26254 \begin_layout Standard
26255
26256 \series bold
26257
26258 \backslash
26259 numberwithin{algorithm}{chapter}
26260 \end_layout
26261
26262 \begin_layout Standard
26263 To be able to use the command 
26264 \series bold
26265
26266 \backslash
26267 numberwithin
26268 \series default
26269 , set in the tab 
26270 \family sans
26271 Math
26272 \begin_inset space ~
26273 \end_inset
26274
26275 Options
26276 \family default
26277  in the document settings the option 
26278 \family sans
26279 Use
26280 \begin_inset space ~
26281 \end_inset
26282
26283 AMS
26284 \begin_inset space ~
26285 \end_inset
26286
26287 math
26288 \begin_inset space ~
26289 \end_inset
26290
26291 package
26292 \family default
26293 .
26294 \end_layout
26295
26296 \begin_layout Section
26297 Float Numbering
26298 \begin_inset Index idx
26299 status collapsed
26300
26301 \begin_layout Plain Layout
26302 Floats ! Numbering
26303 \end_layout
26304
26305 \end_inset
26306
26307
26308 \end_layout
26309
26310 \begin_layout Standard
26311 Floats are usually numbered either independently from the sections the floats
26312  are in, or in the scheme 
26313 \begin_inset Quotes eld
26314 \end_inset
26315
26316 chapter.number
26317 \begin_inset Quotes erd
26318 \end_inset
26319
26320  or 
26321 \begin_inset Quotes eld
26322 \end_inset
26323
26324 section.number
26325 \begin_inset Quotes erd
26326 \end_inset
26327
26328 .
26329  This depends on the document class used.
26330 \end_layout
26331
26332 \begin_layout Standard
26333 To change section-independent numbering, you can use this command in the
26334  document preamble:
26335 \end_layout
26336
26337 \begin_layout Standard
26338
26339 \series bold
26340
26341 \backslash
26342 renewcommand{
26343 \backslash
26344 thetable}{
26345 \backslash
26346 roman{table}}
26347 \end_layout
26348
26349 \begin_layout Standard
26350
26351 \series bold
26352
26353 \backslash
26354 thetable
26355 \series default
26356  is the command that prints the table number.
26357  For figure floats, the command would be 
26358 \series bold
26359
26360 \backslash
26361 thefigure
26362 \series default
26363 .
26364  
26365 \series bold
26366
26367 \backslash
26368 roman
26369 \series default
26370  in the command above prints the table number as a small roman number.
26371 \end_layout
26372
26373 \begin_layout Standard
26374 To change the numbering scheme for example to 
26375 \begin_inset Quotes eld
26376 \end_inset
26377
26378 subsection.number
26379 \begin_inset Quotes erd
26380 \end_inset
26381
26382 , use this command in the preamble:
26383 \end_layout
26384
26385 \begin_layout Standard
26386
26387 \series bold
26388
26389 \backslash
26390 numberwithin{table}{subsection}
26391 \end_layout
26392
26393 \begin_layout Standard
26394 To be able to use the command 
26395 \series bold
26396
26397 \backslash
26398 numberwithin
26399 \series default
26400 , set in the tab 
26401 \family sans
26402 Math
26403 \begin_inset space ~
26404 \end_inset
26405
26406 Options
26407 \family default
26408  in the document settings the option 
26409 \family sans
26410 Use
26411 \begin_inset space ~
26412 \end_inset
26413
26414 AMS
26415 \begin_inset space ~
26416 \end_inset
26417
26418 math
26419 \begin_inset space ~
26420 \end_inset
26421
26422 package
26423 \family default
26424 .
26425 \end_layout
26426
26427 \begin_layout Standard
26428 Please also have a look at section
26429 \begin_inset space ~
26430 \end_inset
26431
26432
26433 \begin_inset CommandInset ref
26434 LatexCommand ref
26435 reference "subsec:Footnote-Numbering"
26436
26437 \end_inset
26438
26439  for the details and important notes about the numbering commands.
26440 \end_layout
26441
26442 \begin_layout Section
26443 Referencing Floats
26444 \begin_inset CommandInset label
26445 LatexCommand label
26446 name "sec:Referencing-Floats"
26447
26448 \end_inset
26449
26450
26451 \begin_inset Index idx
26452 status collapsed
26453
26454 \begin_layout Plain Layout
26455 Floats ! References
26456 \end_layout
26457
26458 \end_inset
26459
26460
26461 \begin_inset Index idx
26462 status collapsed
26463
26464 \begin_layout Plain Layout
26465 References ! to Floats
26466 \end_layout
26467
26468 \end_inset
26469
26470
26471 \end_layout
26472
26473 \begin_layout Standard
26474 To reference a float, insert a label into its caption using the menu 
26475 \family sans
26476 Insert\SpecialChar menuseparator
26477 Label
26478 \family default
26479  or the toolbar button 
26480 \begin_inset Info
26481 type  "icon"
26482 arg   "label-insert"
26483 \end_inset
26484
26485 .
26486  A grey label box like this one: 
26487 \begin_inset Graphics
26488         filename clipart/label.png
26489         scaleBeforeRotation
26490
26491 \end_inset
26492
26493  will be inserted and the label window pops up asking for the label text.
26494  \SpecialChar LyX
26495  offers as text the first words of the caption with a prefix.
26496  The prefix depends on the float type, e.
26497 \begin_inset space \thinspace{}
26498 \end_inset
26499
26500 g.
26501 \begin_inset space \space{}
26502 \end_inset
26503
26504 for figure floats the prefix will be "
26505 \family sans
26506 fig:
26507 \family default
26508 ".
26509 \end_layout
26510
26511 \begin_layout Standard
26512 The label is used as anchor and name for the reference.
26513  You can refer to the label using the menu 
26514 \family sans
26515 Insert\SpecialChar menuseparator
26516 Cross-reference
26517 \family default
26518  or the toolbar button 
26519 \begin_inset Info
26520 type  "icon"
26521 arg   "dialog-show-new-inset ref"
26522 \end_inset
26523
26524 .
26525  The cross-reference window appears showing all labels of the document.
26526  If you have multiple \SpecialChar LyX
26527  documents opened, choose the one you are working
26528  on from the drop-list at the top of the dialog.
26529  You can now sort the labels alphabetically and then choose one.
26530  A grey cross-reference box like this one: 
26531 \begin_inset Graphics
26532         filename clipart/reference.png
26533         scaleBeforeRotation
26534
26535 \end_inset
26536
26537  will be inserted.
26538  At the position of the cross-reference box the float number will appear
26539  in the output.
26540 \end_layout
26541
26542 \begin_layout Standard
26543 It is recommended that you use a 
26544 \change_deleted 177693 1654669168
26545 protected
26546 \change_inserted 177693 1654669170
26547 non-breaking
26548 \change_unchanged
26549  space between the cross-reference name and its number to avoid line breaks
26550  between them.
26551  If a cross-reference refers to a non-existing label, you will see two question
26552  marks in the output instead of the reference.
26553 \end_layout
26554
26555 \begin_layout Standard
26556 You can change labels at any time by clicking on the label box.
26557  References to the changed label will automatically update their links to
26558  the new label text.
26559 \end_layout
26560
26561 \begin_layout Standard
26562 The button 
26563 \family sans
26564 Go
26565 \begin_inset space ~
26566 \end_inset
26567
26568 to
26569 \begin_inset space ~
26570 \end_inset
26571
26572 Label
26573 \family default
26574  in the cross-reference window sets the cursor before the referred label.
26575  The button text changes then to Go
26576 \begin_inset space ~
26577 \end_inset
26578
26579 Back and you can use it to set the cursor back to the cross-reference.
26580 \end_layout
26581
26582 \begin_layout Subsection
26583 Cross-Reference Formats
26584 \begin_inset CommandInset label
26585 LatexCommand label
26586 name "subsec:Cross-Reference-Formats"
26587
26588 \end_inset
26589
26590
26591 \begin_inset Index idx
26592 status collapsed
26593
26594 \begin_layout Plain Layout
26595 References ! Formats
26596 \end_layout
26597
26598 \end_inset
26599
26600
26601 \end_layout
26602
26603 \begin_layout Standard
26604 There are six varieties of cross-references:
26605 \end_layout
26606
26607 \begin_layout Description
26608 <reference>: prints the float number, this is the default: 
26609 \begin_inset CommandInset ref
26610 LatexCommand ref
26611 reference "fig:Two-distorted-images"
26612
26613 \end_inset
26614
26615
26616 \end_layout
26617
26618 \begin_layout Description
26619 (<reference>): prints the float number within two parentheses, this is the
26620  style normally used to reference formulas, especially when the reference
26621  name 
26622 \begin_inset Quotes eld
26623 \end_inset
26624
26625 Equation
26626 \begin_inset Quotes erd
26627 \end_inset
26628
26629  is omitted: 
26630 \begin_inset CommandInset ref
26631 LatexCommand eqref
26632 reference "eq:Wgn"
26633
26634 \end_inset
26635
26636
26637 \end_layout
26638
26639 \begin_layout Description
26640 <page>: prints the page number: Page
26641 \begin_inset space ~
26642 \end_inset
26643
26644
26645 \begin_inset CommandInset ref
26646 LatexCommand pageref
26647 reference "fig:Two-distorted-images"
26648
26649 \end_inset
26650
26651
26652 \end_layout
26653
26654 \begin_layout Description
26655 on
26656 \begin_inset space ~
26657 \end_inset
26658
26659 page
26660 \begin_inset space ~
26661 \end_inset
26662
26663 <page>: prints the text "on page" and the page number: 
26664 \begin_inset CommandInset ref
26665 LatexCommand vpageref
26666 reference "fig:Two-distorted-images"
26667
26668 \end_inset
26669
26670
26671 \end_layout
26672
26673 \begin_layout Description
26674 <reference>
26675 \begin_inset space ~
26676 \end_inset
26677
26678 on
26679 \begin_inset space ~
26680 \end_inset
26681
26682 page
26683 \begin_inset space ~
26684 \end_inset
26685
26686 <page>: prints the float number, the text "on page", and the page number:
26687  
26688 \begin_inset CommandInset ref
26689 LatexCommand vref
26690 reference "fig:Two-distorted-images"
26691
26692 \end_inset
26693
26694
26695 \end_layout
26696
26697 \begin_layout Description
26698 Formatted
26699 \begin_inset space ~
26700 \end_inset
26701
26702 reference: prints a self-defined cross-reference format.
26703 \begin_inset Newline newline
26704 \end_inset
26705
26706
26707 \begin_inset Note Greyedout
26708 status open
26709
26710 \begin_layout Plain Layout
26711
26712 \series bold
26713 Note:
26714 \series default
26715  This feature is only available when you have the \SpecialChar LaTeX
26716 -package 
26717 \series bold
26718 prettyref
26719 \series default
26720  or 
26721 \series bold
26722 refstyle
26723 \series default
26724
26725 \begin_inset Index idx
26726 status collapsed
26727
26728 \begin_layout Plain Layout
26729 \SpecialChar LaTeX
26730 -packages ! prettyref
26731 \end_layout
26732
26733 \end_inset
26734
26735
26736 \begin_inset Index idx
26737 status collapsed
26738
26739 \begin_layout Plain Layout
26740 \SpecialChar LaTeX
26741 -packages ! refstyle
26742 \end_layout
26743
26744 \end_inset
26745
26746  installed.
26747 \end_layout
26748
26749 \end_inset
26750
26751
26752 \begin_inset Newline newline
26753 \end_inset
26754
26755 You can select which \SpecialChar LaTeX
26756 -package should be used for this feature by setting
26757  the option 
26758 \family sans
26759 Use refstyle (not prettyref) for cross-references
26760 \family default
26761  in the menu 
26762 \family sans
26763 Document\SpecialChar menuseparator
26764 Settings\SpecialChar menuseparator
26765 Document Class
26766 \family default
26767 .
26768  The format is specified by adding the command 
26769 \series bold
26770
26771 \backslash
26772 newrefformat
26773 \series default
26774  (prettyref) or 
26775 \series bold
26776
26777 \backslash
26778 newref
26779 \series default
26780  (refstyle) to the preamble of the document.
26781  For example redefining all references to figures (which have the label
26782  prefix 
26783 \begin_inset Quotes eld
26784 \end_inset
26785
26786
26787 \family sans
26788 fig
26789 \family default
26790
26791 \begin_inset Quotes erd
26792 \end_inset
26793
26794 ) can be done with this command
26795 \begin_inset Newline newline
26796 \end_inset
26797
26798
26799 \series bold
26800
26801 \backslash
26802 newref{fig}{refcmd={Image on page 
26803 \backslash
26804 pageref{#1}}}
26805 \series default
26806
26807 \begin_inset Newline newline
26808 \end_inset
26809
26810 For more information about the format, have a look at the package documentations
26811
26812 \begin_inset CommandInset citation
26813 LatexCommand cite
26814 key "prettyref,refstyle"
26815 literal "true"
26816
26817 \end_inset
26818
26819 .
26820 \begin_inset Newline newline
26821 \end_inset
26822
26823 The options 
26824 \family sans
26825 Plural
26826 \family default
26827  and 
26828 \family sans
26829 Capitalized
26830 \family default
26831  are only available if you use the \SpecialChar LaTeX
26832 -package 
26833 \series bold
26834 refstyle
26835 \series default
26836 .
26837  
26838 \family sans
26839 Plural
26840 \family default
26841  adds an 
26842 \emph on
26843 s
26844 \emph default
26845  to the name, e.
26846 \begin_inset space \thinspace{}
26847 \end_inset
26848
26849 g.
26850 \begin_inset space \space{}
26851 \end_inset
26852
26853
26854 \begin_inset Quotes eld
26855 \end_inset
26856
26857 figures
26858 \begin_inset Quotes erd
26859 \end_inset
26860
26861
26862 \family sans
26863 Capitalized
26864 \family default
26865  outputs the name capitalized, e.
26866 \begin_inset space \thinspace{}
26867 \end_inset
26868
26869 g.
26870 \begin_inset space \space{}
26871 \end_inset
26872
26873
26874 \begin_inset Quotes eld
26875 \end_inset
26876
26877 Figure
26878 \begin_inset Quotes erd
26879 \end_inset
26880
26881 .
26882  Both options can be combined to get e.
26883 \begin_inset space \thinspace{}
26884 \end_inset
26885
26886 g.
26887 \begin_inset space \space{}
26888 \end_inset
26889
26890
26891 \begin_inset Quotes eld
26892 \end_inset
26893
26894 Figures
26895 \begin_inset Quotes erd
26896 \end_inset
26897
26898 .
26899 \end_layout
26900
26901 \begin_layout Description
26902 Textual
26903 \begin_inset space ~
26904 \end_inset
26905
26906 reference: prints the caption of the reference: 
26907 \begin_inset CommandInset ref
26908 LatexCommand nameref
26909 reference "fig:Two-distorted-images"
26910
26911 \end_inset
26912
26913
26914 \end_layout
26915
26916 \begin_layout Description
26917 Label
26918 \begin_inset space ~
26919 \end_inset
26920
26921 only: prints only the \SpecialChar LaTeX
26922  label for the reference: 
26923 \begin_inset CommandInset ref
26924 LatexCommand labelonly
26925 reference "fig:Two-distorted-images"
26926 plural "false"
26927 caps "false"
26928 noprefix "false"
26929
26930 \end_inset
26931
26932
26933 \begin_inset Newline newline
26934 \end_inset
26935
26936 This allows to use the label for commands in \SpecialChar TeX
26937  code.
26938  With the option 
26939 \family sans
26940 No Prefix
26941 \family default
26942  one can omit the prefix of the label name: 
26943 \begin_inset CommandInset ref
26944 LatexCommand labelonly
26945 reference "fig:Two-distorted-images"
26946 plural "false"
26947 caps "false"
26948 noprefix "true"
26949
26950 \end_inset
26951
26952
26953 \end_layout
26954
26955 \begin_layout Standard
26956
26957 \family sans
26958 <page>
26959 \family default
26960  will not print the page number if the label is on the previous, the same,
26961  or the next page.
26962  You will e.
26963 \begin_inset space \thinspace{}
26964 \end_inset
26965
26966 g.
26967 \begin_inset space \space{}
26968 \end_inset
26969
26970 see the text 
26971 \begin_inset Quotes eld
26972 \end_inset
26973
26974
26975 \family sans
26976 on this page
26977 \family default
26978
26979 \begin_inset Quotes erd
26980 \end_inset
26981
26982  instead.
26983  The style 
26984 \family sans
26985 <reference> on page <page>
26986 \family default
26987  will not print anything about the page if the label is on the same page.
26988 \end_layout
26989
26990 \begin_layout Standard
26991 The number and current page of the part of the document referred to in the
26992  output is automatically calculated by \SpecialChar LaTeX
26993 .
26994  The varieties are adjusted in the field 
26995 \family sans
26996 Format
26997 \family default
26998  of the cross-reference window that appears when you click on the cross-referenc
26999 e box.
27000 \end_layout
27001
27002 \begin_layout Standard
27003 \begin_inset Note Greyedout
27004 status open
27005
27006 \begin_layout Plain Layout
27007
27008 \series bold
27009 Note:
27010 \series default
27011  It is recommended to use the \SpecialChar LaTeX
27012 -package 
27013 \series bold
27014 refstyle
27015 \series default
27016
27017 \begin_inset Index idx
27018 status collapsed
27019
27020 \begin_layout Plain Layout
27021 \SpecialChar LaTeX
27022 -packages ! refstyle
27023 \end_layout
27024
27025 \end_inset
27026
27027  because 
27028 \series bold
27029 prettyref
27030 \series default
27031
27032 \begin_inset Index idx
27033 status collapsed
27034
27035 \begin_layout Plain Layout
27036 \SpecialChar LaTeX
27037 -packages ! prettyref
27038 \end_layout
27039
27040 \end_inset
27041
27042  does not know all of \SpecialChar LyX
27043 's possible label shortcuts
27044 \begin_inset Foot
27045 status collapsed
27046
27047 \begin_layout Plain Layout
27048 \begin_inset Quotes eld
27049 \end_inset
27050
27051 fig:
27052 \begin_inset Quotes erd
27053 \end_inset
27054
27055  is for example \SpecialChar LyX
27056 's shortcut for labels in figure captions.
27057 \end_layout
27058
27059 \end_inset
27060
27061  and is not internationalized.
27062 \end_layout
27063
27064 \end_inset
27065
27066
27067 \end_layout
27068
27069 \begin_layout Subsection
27070 Automatic Reference Naming
27071 \begin_inset Index idx
27072 status collapsed
27073
27074 \begin_layout Plain Layout
27075 References ! Automatic Reference Naming
27076 \end_layout
27077
27078 \end_inset
27079
27080
27081 \end_layout
27082
27083 \begin_layout Standard
27084 The \SpecialChar LaTeX
27085 -package 
27086 \series bold
27087 hyperref
27088 \series default
27089
27090 \begin_inset Index idx
27091 status collapsed
27092
27093 \begin_layout Plain Layout
27094 \SpecialChar LaTeX
27095 -packages ! hyperref
27096 \end_layout
27097
27098 \end_inset
27099
27100 , that is enabled in the 
27101 \family sans
27102 PDF Properties
27103 \family default
27104  of the 
27105 \family sans
27106 Document Settings
27107 \family default
27108  dialog, provides a very useful feature that cross-references automatically
27109  include the name of the referenced floats (or text parts like 
27110 \emph on
27111 section
27112 \emph default
27113 ).
27114  So you will save having to write e.
27115 \begin_inset space \thinspace{}
27116 \end_inset
27117
27118 g.
27119 \begin_inset space \space{}
27120 \end_inset
27121
27122 the name 
27123 \begin_inset Quotes eld
27124 \end_inset
27125
27126 Figure
27127 \begin_inset Quotes erd
27128 \end_inset
27129
27130  before every reference to a figure.
27131  To use this feature, enable 
27132 \series bold
27133 hyperref
27134 \series default
27135  and insert this line to the \SpecialChar LaTeX
27136  preamble:
27137 \end_layout
27138
27139 \begin_layout Standard
27140
27141 \series bold
27142
27143 \backslash
27144 AtBeginDocument{
27145 \backslash
27146 renewcommand{
27147 \backslash
27148 ref}[1]{
27149 \backslash
27150 mbox{
27151 \backslash
27152 autoref{#1}}}}
27153 \end_layout
27154
27155 \begin_layout Standard
27156 When you prefer other reference names than the default ones, for example
27157  you want instead of 
27158 \begin_inset Quotes eld
27159 \end_inset
27160
27161 section
27162 \begin_inset Quotes erd
27163 \end_inset
27164
27165  the name 
27166 \begin_inset Quotes eld
27167 \end_inset
27168
27169 sec.
27170 \begin_inset space \thinspace{}
27171 \end_inset
27172
27173
27174 \begin_inset Quotes eld
27175 \end_inset
27176
27177 , you can redefine the name by inserting this in the preamble:
27178 \end_layout
27179
27180 \begin_layout Standard
27181
27182 \series bold
27183
27184 \backslash
27185 addto
27186 \backslash
27187 extrasenglish{
27188 \backslash
27189 renewcommand{
27190 \backslash
27191 sectionautorefname}
27192 \begin_inset Newline newline
27193 \end_inset
27194
27195
27196 \begin_inset Phantom HPhantom
27197 status open
27198
27199 \begin_layout Plain Layout
27200
27201 \series bold
27202 \begin_inset space ~
27203 \end_inset
27204
27205
27206 \end_layout
27207
27208 \end_inset
27209
27210 {sec.
27211 \backslash
27212 negthinspace}}
27213 \end_layout
27214
27215 \begin_layout Standard
27216 When you are using another document language than English, replace
27217 \begin_inset Newline newline
27218 \end_inset
27219
27220
27221 \series bold
27222
27223 \backslash
27224 extrasenglish
27225 \series default
27226  by 
27227 \series bold
27228
27229 \backslash
27230 extras***
27231 \series default
27232 , where *** is the name of the language used.
27233 \end_layout
27234
27235 \begin_layout Standard
27236 To get automatic names, but not for certain reference types, for example
27237  not for equations, use this preamble code:
27238 \end_layout
27239
27240 \begin_layout Standard
27241
27242 \series bold
27243
27244 \backslash
27245 addto
27246 \backslash
27247 extrasenglish{
27248 \backslash
27249 renewcommand*{
27250 \backslash
27251 equationautorefname}[1]{}}
27252 \end_layout
27253
27254 \begin_layout Standard
27255 More about this topic can be found in 
27256 \series bold
27257 hyperref
27258 \series default
27259 's documentation 
27260 \begin_inset CommandInset citation
27261 LatexCommand cite
27262 key "hyperref"
27263 literal "true"
27264
27265 \end_inset
27266
27267 .
27268 \end_layout
27269
27270 \begin_layout Standard
27271 \begin_inset Note Greyedout
27272 status open
27273
27274 \begin_layout Plain Layout
27275
27276 \series bold
27277 Note:
27278 \series default
27279  Automatic reference naming cannot be used when you use cross-references
27280  in the 
27281 \family sans
27282 Formatted
27283 \begin_inset space ~
27284 \end_inset
27285
27286 reference
27287 \family default
27288  style, as described in section
27289 \begin_inset space ~
27290 \end_inset
27291
27292
27293 \begin_inset CommandInset ref
27294 LatexCommand ref
27295 reference "subsec:Cross-Reference-Formats"
27296
27297 \end_inset
27298
27299 .
27300 \end_layout
27301
27302 \end_inset
27303
27304
27305 \end_layout
27306
27307 \begin_layout Standard
27308 The 
27309 \emph on
27310 Math
27311 \emph default
27312  manual is an example where automatic reference naming is used.
27313 \end_layout
27314
27315 \begin_layout Subsection
27316 Reference Position
27317 \begin_inset CommandInset label
27318 LatexCommand label
27319 name "subsec:Reference-Position"
27320
27321 \end_inset
27322
27323
27324 \begin_inset Index idx
27325 status collapsed
27326
27327 \begin_layout Plain Layout
27328 References ! Reference Position
27329 \end_layout
27330
27331 \end_inset
27332
27333
27334 \end_layout
27335
27336 \begin_layout Standard
27337 If you use 
27338 \series bold
27339 hyperref
27340 \series default
27341
27342 \begin_inset Index idx
27343 status collapsed
27344
27345 \begin_layout Plain Layout
27346 \SpecialChar LaTeX
27347 -packages ! hyperref
27348 \end_layout
27349
27350 \end_inset
27351
27352  in the 
27353 \family sans
27354 PDF Properties
27355 \family default
27356  of the 
27357 \family sans
27358 Document Settings
27359 \family default
27360  dialog to link cross-references in the output, you will see that clicking
27361  on an image float reference jumps to the image label.
27362  The caption will be the first text part on the screen, so that you cannot
27363  see the image without scrolling.
27364  This is because the reference link anchor is placed at the position of
27365  the label.
27366  With the use of the package 
27367 \series bold
27368 hypcap
27369 \series default
27370
27371 \begin_inset Index idx
27372 status collapsed
27373
27374 \begin_layout Plain Layout
27375 \SpecialChar LaTeX
27376 -packages ! hypcap
27377 \end_layout
27378
27379 \end_inset
27380
27381 , which is part of the \SpecialChar LaTeX
27382 -package 
27383 \series bold
27384 oberdiek
27385 \series default
27386
27387 \begin_inset Index idx
27388 status collapsed
27389
27390 \begin_layout Plain Layout
27391 \SpecialChar LaTeX
27392 -packages ! oberdiek
27393 \end_layout
27394
27395 \end_inset
27396
27397 , the link anchor is placed at the beginning of a float.
27398  To use this feature for figure floats, load 
27399 \series bold
27400 hypcap
27401 \series default
27402  in the document preamble with the line
27403 \end_layout
27404
27405 \begin_layout Standard
27406
27407 \series bold
27408
27409 \backslash
27410 usepackage[figure]{hypcap}
27411 \end_layout
27412
27413 \begin_layout Standard
27414 You can also use 
27415 \series bold
27416 hypcap
27417 \series default
27418  for all float types but this is not recommended for stability reasons.
27419  For more information, have a look at 
27420 \series bold
27421 hypcap
27422 \series default
27423 's manual 
27424 \begin_inset CommandInset citation
27425 LatexCommand cite
27426 key "hypcap"
27427 literal "true"
27428
27429 \end_inset
27430
27431 .
27432 \end_layout
27433
27434 \begin_layout Standard
27435 \begin_inset Note Greyedout
27436 status open
27437
27438 \begin_layout Plain Layout
27439
27440 \series bold
27441 Note:
27442 \series default
27443  
27444 \series bold
27445 hypcap
27446 \series default
27447  has no effect on references to subfigures.
27448 \end_layout
27449
27450 \end_inset
27451
27452
27453 \end_layout
27454
27455 \begin_layout Section
27456 Float 
27457 \change_deleted -712698321 1526031763
27458 Placement 
27459 \change_inserted -712698321 1526031765
27460 Settings
27461 \change_unchanged
27462
27463 \begin_inset CommandInset label
27464 LatexCommand label
27465 name "sec:Float-Settings"
27466
27467 \end_inset
27468
27469
27470 \begin_inset Index idx
27471 status collapsed
27472
27473 \begin_layout Plain Layout
27474 Floats ! 
27475 \change_deleted -712698321 1526031841
27476 Placement
27477 \change_inserted -712698321 1526031842
27478 Settings
27479 \change_unchanged
27480
27481 \end_layout
27482
27483 \end_inset
27484
27485
27486 \end_layout
27487
27488 \begin_layout Standard
27489
27490 \change_inserted -712698321 1526033385
27491 Float Settings can be adjusted at two places in \SpecialChar LyX
27492
27493 \change_inserted 630872221 1622709604
27494 i
27495 \change_deleted 630872221 1622709603
27496 I
27497 \change_inserted -712698321 1526033385
27498
27499 \family sans
27500 Document\SpecialChar menuseparator
27501 Settings\SpecialChar ldots
27502 \SpecialChar menuseparator
27503 Float Settings
27504 \family default
27505 , you can set some options that are used by default for all floats of the
27506  document (placement on page and alignment of contents), unless you modify
27507  the local settings of a float.
27508 \change_unchanged
27509
27510 \end_layout
27511
27512 \begin_layout Standard
27513
27514 \change_inserted -712698321 1526032513
27515 The latter can be done by 
27516 \change_deleted -712698321 1526032513
27517 R
27518 \change_inserted -712698321 1526032513
27519 r
27520 \change_unchanged
27521 ight-clicking on a float-box and clicking on 
27522 \family sans
27523 Settings
27524 \change_inserted -712698321 1526033387
27525 \SpecialChar ldots
27526
27527 \change_unchanged
27528
27529 \family default
27530  
27531 \change_inserted -712698321 1526032520
27532 This 
27533 \change_unchanged
27534 opens a dialog where you can
27535 \change_inserted -712698321 1526032584
27536 , now only for the given float,
27537 \change_unchanged
27538  alter the 
27539 \change_inserted -712698321 1526033452
27540 global 
27541 \change_unchanged
27542 placement 
27543 \change_deleted -712698321 1526033439
27544 options that \SpecialChar LaTeX
27545  uses for positioning the float
27546 \change_inserted -712698321 1526033493
27547  and alignment options, and adapt some other options that are only available
27548  for single floats
27549 \change_unchanged
27550 .
27551
27552 \change_inserted -712698321 1526032658
27553  All these options, both for 
27554 \family sans
27555 Document\SpecialChar menuseparator
27556 Settings\SpecialChar menuseparator
27557 Float Settings
27558 \family default
27559  and for local 
27560 \family sans
27561 Float Settings
27562 \family default
27563 , are described in turn.
27564 \change_deleted -712698321 1526031652
27565
27566 \begin_inset Newline newline
27567 \end_inset
27568
27569 The option 
27570 \family sans
27571 Span
27572 \begin_inset space ~
27573 \end_inset
27574
27575 columns
27576 \family default
27577  is only useful for two-column documents: If you select it, the float will
27578  span both columns on the page instead of being confined to just one.
27579 \begin_inset Newline newline
27580 \end_inset
27581
27582 The option 
27583 \family sans
27584 Rotate
27585 \begin_inset space ~
27586 \end_inset
27587
27588 sideways
27589 \family default
27590  is used to rotate floats, see section 
27591 \begin_inset CommandInset ref
27592 LatexCommand ref
27593 reference "sec:Rotated-Floats"
27594
27595 \end_inset
27596
27597 .
27598 \change_unchanged
27599
27600 \end_layout
27601
27602 \begin_layout Subsection
27603
27604 \change_inserted -712698321 1526031775
27605 Float Placement
27606 \begin_inset CommandInset label
27607 LatexCommand label
27608 name "sec:Float-Placement"
27609
27610 \end_inset
27611
27612
27613 \begin_inset Index idx
27614 status collapsed
27615
27616 \begin_layout Plain Layout
27617
27618 \change_inserted -712698321 1526031775
27619 Floats ! Placement
27620 \change_unchanged
27621
27622 \end_layout
27623
27624 \end_inset
27625
27626
27627 \change_unchanged
27628
27629 \end_layout
27630
27631 \begin_layout Standard
27632
27633 \change_inserted -712698321 1526032697
27634 Both in 
27635 \family sans
27636 Document\SpecialChar menuseparator
27637 Settings\SpecialChar menuseparator
27638 Float Settings
27639 \family default
27640  and in the local 
27641 \family sans
27642 Float Settings
27643 \family default
27644  dialog, you can 
27645 \change_deleted -712698321 1526032811
27646 You can use one or more of the following options in the float dialog to
27647  set
27648 \change_inserted -712698321 1526032812
27649 modify
27650 \change_unchanged
27651  the placement 
27652 \change_inserted -712698321 1526033558
27653 algorithm that \SpecialChar LaTeX
27654  uses for positioning floats on the page, either 
27655 \change_unchanged
27656 for 
27657 \change_inserted -712698321 1526033535
27658 all floats (
27659 \family sans
27660 Document\SpecialChar menuseparator
27661 Settings\SpecialChar menuseparator
27662 Float Settings
27663 \family default
27664 ) or 
27665 \change_unchanged
27666 a particular float
27667 \change_inserted -712698321 1526033570
27668  (local 
27669 \family sans
27670 Float Settings
27671 \family default
27672  dialog).
27673  This is done via 
27674 \family sans
27675 Placement Settings
27676 \family default
27677 .
27678  By default, this is set to
27679 \change_unchanged
27680  
27681 \change_inserted -712698321 1526033604
27682
27683 \family sans
27684 Class Default
27685 \family default
27686  in 
27687 \family sans
27688 Document\SpecialChar menuseparator
27689 Settings\SpecialChar menuseparator
27690 Float Settings
27691 \family default
27692  (meaning that the default placement algorithm of the document class is
27693  used) or 
27694 \family sans
27695 Document Default
27696 \family default
27697  in the local 
27698 \family sans
27699 Float Settings
27700 \family default
27701  dialog (meaning that the settings in 
27702 \family sans
27703 Document\SpecialChar menuseparator
27704 Settings\SpecialChar menuseparator
27705 Float Settings
27706 \family default
27707  are used, which are the Class Defaults by default).
27708  If you want to change this, 
27709 \change_deleted -712698321 1526033009
27710 when you uncheck
27711 \change_inserted -712698321 1526033535
27712 select
27713 \change_unchanged
27714  
27715 \change_deleted -712698321 1526031920
27716 the option
27717 \change_inserted -712698321 1526033535
27718
27719 \family sans
27720 Placement Settings:
27721 \change_unchanged
27722
27723 \family default
27724  
27725 \change_inserted -712698321 1526033535
27726
27727 \family sans
27728 Custom.
27729 \change_deleted -712698321 1526031908
27730 Use
27731 \begin_inset space ~
27732 \end_inset
27733
27734 default
27735 \begin_inset space ~
27736 \end_inset
27737
27738 placement
27739 \change_inserted -712698321 1526033535
27740
27741 \family default
27742  This allows you to select one or more from
27743 \change_unchanged
27744 :
27745 \end_layout
27746
27747 \begin_layout Description
27748 Here
27749 \begin_inset space ~
27750 \end_inset
27751
27752 if
27753 \begin_inset space ~
27754 \end_inset
27755
27756 possible try to place the float on the position where it has been inserted
27757 \change_inserted 630872221 1622713522
27758
27759 \end_layout
27760
27761 \begin_layout Description
27762
27763 \change_inserted 630872221 1622713704
27764 Here,
27765 \begin_inset space ~
27766 \end_inset
27767
27768 definitely forces the placement of the float on the position where it has
27769  been inserted
27770 \change_unchanged
27771
27772 \end_layout
27773
27774 \begin_layout Description
27775 Top
27776 \begin_inset space ~
27777 \end_inset
27778
27779 of
27780 \begin_inset space ~
27781 \end_inset
27782
27783 page try to place the float at the top of the current page
27784 \end_layout
27785
27786 \begin_layout Description
27787 Bottom
27788 \begin_inset space ~
27789 \end_inset
27790
27791 of
27792 \begin_inset space ~
27793 \end_inset
27794
27795 page try to place the float at the bottom of the current page
27796 \end_layout
27797
27798 \begin_layout Description
27799 Page
27800 \begin_inset space ~
27801 \end_inset
27802
27803 of
27804 \begin_inset space ~
27805 \end_inset
27806
27807 floats try to place the float on its own page
27808 \end_layout
27809
27810 \begin_layout Standard
27811 The order of the above option is 
27812 \emph on
27813 always
27814 \emph default
27815  used by \SpecialChar LaTeX
27816 .
27817  That means, if you use the default placement, \SpecialChar LaTeX
27818  will first try out 
27819 \family sans
27820 Here
27821 \begin_inset space ~
27822 \end_inset
27823
27824 if
27825 \begin_inset space ~
27826 \end_inset
27827
27828 possible
27829 \family default
27830 , then 
27831 \family sans
27832 Top
27833 \begin_inset space ~
27834 \end_inset
27835
27836 of
27837 \begin_inset space ~
27838 \end_inset
27839
27840 page
27841 \family default
27842 , and then the others.
27843  If you do not use the default, \SpecialChar LaTeX
27844  will try only the checked options but in
27845  the same order.
27846  If none of the 4
27847 \begin_inset space ~
27848 \end_inset
27849
27850 placements is possible the procedure is internally repeated trying to put
27851  the float on the following page.
27852 \end_layout
27853
27854 \begin_layout Standard
27855 By default, each option has its own rules:
27856 \end_layout
27857
27858 \begin_layout Labeling
27859 \labelwidthstring 00.00.0000
27860
27861 \family sans
27862 Top
27863 \begin_inset space ~
27864 \end_inset
27865
27866 of
27867 \begin_inset space ~
27868 \end_inset
27869
27870 page
27871 \family default
27872  only floats occupying less than 70
27873 \begin_inset space \thinspace{}
27874 \end_inset
27875
27876 % of the page can be placed at the top of a page (
27877 \series bold
27878
27879 \backslash
27880 topfraction
27881 \series default
27882 )
27883 \end_layout
27884
27885 \begin_layout Labeling
27886 \labelwidthstring 00.00.0000
27887
27888 \family sans
27889 Bottom
27890 \begin_inset space ~
27891 \end_inset
27892
27893 of
27894 \begin_inset space ~
27895 \end_inset
27896
27897 page
27898 \family default
27899 : only floats occupying less than 30
27900 \begin_inset space \thinspace{}
27901 \end_inset
27902
27903 % of the page can be placed at the bottom of a page.
27904  (
27905 \series bold
27906
27907 \backslash
27908 bottomfraction
27909 \series default
27910 )
27911 \end_layout
27912
27913 \begin_layout Labeling
27914 \labelwidthstring 00.00.0000
27915
27916 \family sans
27917 Page
27918 \begin_inset space ~
27919 \end_inset
27920
27921 of
27922 \begin_inset space ~
27923 \end_inset
27924
27925 floats
27926 \family default
27927 : only if more than 50
27928 \begin_inset space \thinspace{}
27929 \end_inset
27930
27931 % of the page is occupied by floats, several floats can be set together
27932  on a page.
27933  (
27934 \series bold
27935
27936 \backslash
27937 floatpagefraction
27938 \series default
27939 )
27940 \end_layout
27941
27942 \begin_layout Standard
27943 If you don't like these rules, you can ignore them by using the additional
27944  option 
27945 \family sans
27946 Ignore
27947 \begin_inset space ~
27948 \end_inset
27949
27950 \SpecialChar LaTeX
27951
27952 \begin_inset space ~
27953 \end_inset
27954
27955 rules
27956 \family default
27957 .
27958 \begin_inset Newline newline
27959 \end_inset
27960
27961 You can also redefine the rules with \SpecialChar LaTeX
27962 -commands that are given in parentheses
27963  after the rules description above.
27964  To increase for example the often too small default of the bottom-rule
27965  to 50
27966 \begin_inset space \thinspace{}
27967 \end_inset
27968
27969 % of the page, add this line to your document preamble:
27970 \end_layout
27971
27972 \begin_layout Standard
27973
27974 \series bold
27975
27976 \backslash
27977 renewcommand{
27978 \backslash
27979 bottomfraction}{0.5}
27980 \end_layout
27981
27982 \begin_layout Standard
27983 Sometimes you might need, under all circumstances, a float to be placed
27984  exactly at the position where it is inserted.
27985  For this case you can use the option 
27986 \family sans
27987 Here
27988 \begin_inset space ~
27989 \end_inset
27990
27991 definitely
27992 \family default
27993 .
27994  Use this option very rarely and only if the document is almost ready to
27995  be printed, because the float is then no longer able to 
27996 \begin_inset Quotes eld
27997 \end_inset
27998
27999 float
28000 \begin_inset Quotes erd
28001 \end_inset
28002
28003  when you change your document and this will often destroy the page layout.
28004 \end_layout
28005
28006 \begin_layout Standard
28007 There are no placement options for text wrap floats, because they are always
28008  surrounded by the text of a certain paragraph.
28009 \begin_inset VSpace bigskip
28010 \end_inset
28011
28012
28013 \end_layout
28014
28015 \begin_layout Standard
28016 Sometimes you have the problem that a float is placed at the top of a page
28017  while its corresponding section starts at the middle of the page, so that
28018  the reader could think the float is part of the previous section.
28019  To avoid this the \SpecialChar LaTeX
28020 -command 
28021 \series bold
28022
28023 \backslash
28024 suppressfloats
28025 \series default
28026  can be used.
28027  It suppresses a given float placement for the page where it is inserted
28028  and can therefore be used to avoid floats being set before a section starts.
28029  To get this, add these commands to your document preamble:
28030 \end_layout
28031
28032 \begin_layout Standard
28033
28034 \series bold
28035
28036 \backslash
28037 let
28038 \backslash
28039 mySection
28040 \backslash
28041 section
28042 \begin_inset Newline newline
28043 \end_inset
28044
28045
28046 \backslash
28047 renewcommand{
28048 \backslash
28049 section}{
28050 \backslash
28051 suppressfloats[t]
28052 \backslash
28053 mySection}
28054 \end_layout
28055
28056 \begin_layout Standard
28057 You can define the same for all section headings, like chapters and subsections.
28058  This definition is not recommended to be used for small text parts like
28059  subsubsections because \SpecialChar LaTeX
28060  may then have problems finding a suitable placement.
28061 \end_layout
28062
28063 \begin_layout Standard
28064 \begin_inset VSpace bigskip
28065 \end_inset
28066
28067 In some cases it is required to have all figures/tables at the end of the
28068  document.
28069  For this purpose the \SpecialChar LaTeX
28070 -package 
28071 \series bold
28072 endfloat
28073 \series default
28074
28075 \begin_inset Index idx
28076 status collapsed
28077
28078 \begin_layout Plain Layout
28079 \SpecialChar LaTeX
28080 -packages ! endfloat
28081 \end_layout
28082
28083 \end_inset
28084
28085  was developed.
28086  It puts all figure and table floats at the end of the document into their
28087  own sections.
28088  At the original float position a text hint like 
28089 \begin_inset Quotes eld
28090 \end_inset
28091
28092
28093 \family sans
28094 [Figure
28095 \begin_inset space ~
28096 \end_inset
28097
28098 3.2 about here.]
28099 \family default
28100
28101 \begin_inset Quotes erd
28102 \end_inset
28103
28104  is inserted.
28105  The endfloat-package is loaded in the preamble with the line
28106 \end_layout
28107
28108 \begin_layout Standard
28109
28110 \series bold
28111
28112 \backslash
28113 usepackage[options]{endfloat}
28114 \end_layout
28115
28116 \begin_layout Standard
28117 There are various package options to format the created figure/table sections.
28118  For more information we refer you to the 
28119 \series bold
28120 endfloat
28121 \series default
28122  documentation 
28123 \begin_inset CommandInset citation
28124 LatexCommand cite
28125 key "endfloat"
28126 literal "true"
28127
28128 \end_inset
28129
28130 .
28131 \begin_inset Newline newline
28132 \end_inset
28133
28134
28135 \begin_inset Note Greyedout
28136 status open
28137
28138 \begin_layout Plain Layout
28139
28140 \series bold
28141 Note: endfloat
28142 \series default
28143  doesn't provide an automatic translation for the text hint, you have to
28144  do this manually, see section
28145 \begin_inset space ~
28146 \end_inset
28147
28148 4 in 
28149 \begin_inset CommandInset citation
28150 LatexCommand cite
28151 key "endfloat"
28152 literal "true"
28153
28154 \end_inset
28155
28156 .
28157 \end_layout
28158
28159 \end_inset
28160
28161
28162 \begin_inset Newline newline
28163 \end_inset
28164
28165
28166 \begin_inset Note Greyedout
28167 status open
28168
28169 \begin_layout Plain Layout
28170
28171 \series bold
28172 Note:
28173 \series default
28174  There is currently a bug in 
28175 \series bold
28176 endfloat
28177 \series default
28178  when the caption contains a German 
28179 \begin_inset Quotes eld
28180 \end_inset
28181
28182 ß
28183 \begin_inset Quotes erd
28184 \end_inset
28185
28186 .
28187  Use in this case the command 
28188 \begin_inset Quotes eld
28189 \end_inset
28190
28191
28192 \series bold
28193
28194 \backslash
28195 ss
28196 \series default
28197
28198 \begin_inset Quotes erd
28199 \end_inset
28200
28201  in \SpecialChar TeX
28202  Code instead of 
28203 \begin_inset Quotes eld
28204 \end_inset
28205
28206 ß
28207 \begin_inset Quotes erd
28208 \end_inset
28209
28210 .
28211 \end_layout
28212
28213 \end_inset
28214
28215
28216 \end_layout
28217
28218 \begin_layout Standard
28219 \begin_inset VSpace bigskip
28220 \end_inset
28221
28222 For more details about float placements, have a look at \SpecialChar LaTeX
28223  books, 
28224 \begin_inset CommandInset citation
28225 LatexCommand cite
28226 key "latexcompanion,latexguide,latexbook"
28227 literal "true"
28228
28229 \end_inset
28230
28231 .
28232 \change_inserted -712698321 1526030561
28233
28234 \end_layout
28235
28236 \begin_layout Subsection
28237
28238 \change_inserted -712698321 1526031989
28239 Alignment of Float Contents
28240 \end_layout
28241
28242 \begin_layout Standard
28243
28244 \change_inserted -712698321 1526032316
28245 In this list of options, you can define how the contents of a float (or
28246  all floats by default, if selected from 
28247 \family sans
28248 Document\SpecialChar menuseparator
28249 Settings
28250 \family default
28251 ) are aligned.
28252  
28253 \family sans
28254 Class Default
28255 \family default
28256  means that the alignment of the class, or the default alignment of \SpecialChar LaTeX
28257 , is
28258  used.
28259  
28260 \family sans
28261 Document Default
28262 \family default
28263  (only visible in the 
28264 \family sans
28265 Float Settings
28266 \family default
28267  dialog, not in 
28268 \family sans
28269 Document\SpecialChar menuseparator
28270 Settings
28271 \family default
28272 ) takes the setting specified in 
28273 \family sans
28274 Document\SpecialChar menuseparator
28275 Settings\SpecialChar menuseparator
28276 Float Settings
28277 \family default
28278 .
28279  The other three options, 
28280 \family sans
28281 Left
28282 \family default
28283
28284 \family sans
28285 Center
28286 \family default
28287 , or 
28288 \family sans
28289 Right
28290 \family default
28291 , are self-explanatory.
28292  If one of these is selected in 
28293 \family sans
28294 Document\SpecialChar menuseparator
28295 Settings\SpecialChar menuseparator
28296 Float Settings
28297 \family default
28298 , all floats of the document will have this setting by default (so it is
28299  fairly easy, for instance, to center all floats).
28300 \change_unchanged
28301
28302 \end_layout
28303
28304 \begin_layout Subsection
28305
28306 \change_inserted -712698321 1526030571
28307 Other Float Options
28308 \end_layout
28309
28310 \begin_layout Standard
28311
28312 \change_inserted -712698321 1526035716
28313 These two options are only visible in the local 
28314 \family sans
28315 Float Settings
28316 \family default
28317  dialog, not in 
28318 \family sans
28319 Document\SpecialChar menuseparator
28320 Settings.
28321 \change_unchanged
28322
28323 \end_layout
28324
28325 \begin_layout Standard
28326
28327 \change_inserted -712698321 1526033931
28328 The option 
28329 \family sans
28330 Span
28331 \begin_inset space ~
28332 \end_inset
28333
28334 columns
28335 \family default
28336  is useful for two-column documents: If you select it, the float will span
28337  both columns on the page instead of being confined to just one.
28338 \end_layout
28339
28340 \begin_layout Standard
28341
28342 \change_inserted -712698321 1526030572
28343 The option 
28344 \family sans
28345 Rotate
28346 \begin_inset space ~
28347 \end_inset
28348
28349 sideways
28350 \family default
28351  is used to rotate floats, see section 
28352 \begin_inset CommandInset ref
28353 LatexCommand ref
28354 reference "sec:Rotated-Floats"
28355
28356 \end_inset
28357
28358 .
28359 \change_unchanged
28360
28361 \end_layout
28362
28363 \begin_layout Section
28364 Rotated Floats
28365 \begin_inset CommandInset label
28366 LatexCommand label
28367 name "sec:Rotated-Floats"
28368
28369 \end_inset
28370
28371
28372 \begin_inset Index idx
28373 status collapsed
28374
28375 \begin_layout Plain Layout
28376 Floats ! Rotating
28377 \end_layout
28378
28379 \end_inset
28380
28381
28382 \end_layout
28383
28384 \begin_layout Standard
28385 Especially for wide tables you might have floats rotated.
28386  To rotate a whole float including the caption, right-click on the float-box
28387  and use the option 
28388 \family sans
28389 Rotate
28390 \begin_inset space ~
28391 \end_inset
28392
28393 sideways
28394 \family default
28395 .
28396 \end_layout
28397
28398 \begin_layout Standard
28399 Rotated floats are always placed on a page of their own (or column of their
28400  own; in case you have a multi-column document).
28401  You can let them span several columns using the float settings option 
28402 \family sans
28403 Span
28404 \begin_inset space ~
28405 \end_inset
28406
28407 columns
28408 \family default
28409 .
28410  Floats are rotated so that you can read them from the outside margin.
28411  To force a certain rotation direction for all pages, you can add either
28412  the option 
28413 \series bold
28414 figuresleft
28415 \series default
28416  or 
28417 \series bold
28418 figuresright
28419 \series default
28420  to the document class options.
28421 \end_layout
28422
28423 \begin_layout Standard
28424 Referencing rotated floats is the same as for normal floats, the caption
28425  format is also the same: Table
28426 \begin_inset space ~
28427 \end_inset
28428
28429
28430 \begin_inset CommandInset ref
28431 LatexCommand ref
28432 reference "tab:Rotated-table"
28433
28434 \end_inset
28435
28436  is an example of a rotated table float.
28437 \end_layout
28438
28439 \begin_layout Standard
28440 \begin_inset Note Greyedout
28441 status open
28442
28443 \begin_layout Plain Layout
28444
28445 \series bold
28446 Note:
28447 \series default
28448  Not all DVI-viewers are able to display rotated floats.
28449 \end_layout
28450
28451 \end_inset
28452
28453
28454 \end_layout
28455
28456 \begin_layout Standard
28457 \begin_inset Float table
28458 placement document
28459 alignment document
28460 wide false
28461 sideways true
28462 status open
28463
28464 \begin_layout Plain Layout
28465 \begin_inset Caption Standard
28466
28467 \begin_layout Plain Layout
28468 \begin_inset CommandInset label
28469 LatexCommand label
28470 name "tab:Rotated-table"
28471
28472 \end_inset
28473
28474  Rotated table
28475 \end_layout
28476
28477 \end_inset
28478
28479
28480 \end_layout
28481
28482 \begin_layout Plain Layout
28483 \align center
28484 \begin_inset Tabular
28485 <lyxtabular version="3" rows="1" columns="5">
28486 <features tabularvalignment="middle">
28487 <column alignment="center" valignment="top">
28488 <column alignment="center" valignment="top">
28489 <column alignment="center" valignment="top">
28490 <column alignment="center" valignment="top">
28491 <column alignment="center" valignment="top">
28492 <row>
28493 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28494 \begin_inset Text
28495
28496 \begin_layout Plain Layout
28497 test
28498 \end_layout
28499
28500 \end_inset
28501 </cell>
28502 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28503 \begin_inset Text
28504
28505 \begin_layout Plain Layout
28506 b
28507 \end_layout
28508
28509 \end_inset
28510 </cell>
28511 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28512 \begin_inset Text
28513
28514 \begin_layout Plain Layout
28515 c
28516 \end_layout
28517
28518 \end_inset
28519 </cell>
28520 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28521 \begin_inset Text
28522
28523 \begin_layout Plain Layout
28524 d
28525 \end_layout
28526
28527 \end_inset
28528 </cell>
28529 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28530 \begin_inset Text
28531
28532 \begin_layout Plain Layout
28533 e
28534 \end_layout
28535
28536 \end_inset
28537 </cell>
28538 </row>
28539 </lyxtabular>
28540
28541 \end_inset
28542
28543
28544 \end_layout
28545
28546 \end_inset
28547
28548
28549 \end_layout
28550
28551 \begin_layout Section
28552 Subfloats
28553 \begin_inset Index idx
28554 status collapsed
28555
28556 \begin_layout Plain Layout
28557 Floats ! Subfloats
28558 \end_layout
28559
28560 \end_inset
28561
28562
28563 \end_layout
28564
28565 \begin_layout Standard
28566 Subfloats are for example used when a figure consists of several images.
28567  They are created by inserting a float into an existing float.
28568  The placement of the subfloats can be controlled in the same way as for
28569  paragraphs as shown in table
28570 \begin_inset space ~
28571 \end_inset
28572
28573
28574 \begin_inset CommandInset ref
28575 LatexCommand ref
28576 reference "tab:Two-subtables-side"
28577
28578 \end_inset
28579
28580  and 
28581 \begin_inset CommandInset ref
28582 LatexCommand ref
28583 reference "tab:Two-subtables-upon"
28584
28585 \end_inset
28586
28587 .
28588 \end_layout
28589
28590 \begin_layout Standard
28591 Referencing subfloats works as for normal floats: Table
28592 \begin_inset space ~
28593 \end_inset
28594
28595
28596 \begin_inset CommandInset ref
28597 LatexCommand ref
28598 reference "tab:This-is-subtable-a"
28599
28600 \end_inset
28601
28602  and 
28603 \begin_inset CommandInset ref
28604 LatexCommand ref
28605 reference "tab:This-is-subtable-b"
28606
28607 \end_inset
28608
28609  are subtables of table
28610 \begin_inset space ~
28611 \end_inset
28612
28613
28614 \begin_inset CommandInset ref
28615 LatexCommand ref
28616 reference "tab:Two-subtables-side"
28617
28618 \end_inset
28619
28620 .
28621 \end_layout
28622
28623 \begin_layout Standard
28624 \begin_inset Float table
28625 placement document
28626 alignment document
28627 wide false
28628 sideways false
28629 status open
28630
28631 \begin_layout Plain Layout
28632 \begin_inset Caption Standard
28633
28634 \begin_layout Plain Layout
28635 \begin_inset CommandInset label
28636 LatexCommand label
28637 name "tab:Two-subtables-side"
28638
28639 \end_inset
28640
28641 Two subtables placed side by side.
28642 \end_layout
28643
28644 \end_inset
28645
28646
28647 \end_layout
28648
28649 \begin_layout Plain Layout
28650 \align center
28651 \begin_inset space \hfill{}
28652 \end_inset
28653
28654
28655 \begin_inset Float table
28656 placement document
28657 alignment document
28658 wide false
28659 sideways false
28660 status collapsed
28661
28662 \begin_layout Plain Layout
28663 \begin_inset Caption Standard
28664
28665 \begin_layout Plain Layout
28666 \begin_inset CommandInset label
28667 LatexCommand label
28668 name "tab:This-is-subtable-a"
28669
28670 \end_inset
28671
28672 This is subtable a.
28673 \end_layout
28674
28675 \end_inset
28676
28677
28678 \end_layout
28679
28680 \begin_layout Plain Layout
28681 \align center
28682 \begin_inset Tabular
28683 <lyxtabular version="3" rows="1" columns="5">
28684 <features tabularvalignment="middle">
28685 <column alignment="center" valignment="top">
28686 <column alignment="center" valignment="top">
28687 <column alignment="center" valignment="top">
28688 <column alignment="center" valignment="top">
28689 <column alignment="center" valignment="top">
28690 <row>
28691 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28692 \begin_inset Text
28693
28694 \begin_layout Plain Layout
28695 test
28696 \end_layout
28697
28698 \end_inset
28699 </cell>
28700 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28701 \begin_inset Text
28702
28703 \begin_layout Plain Layout
28704 b
28705 \end_layout
28706
28707 \end_inset
28708 </cell>
28709 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28710 \begin_inset Text
28711
28712 \begin_layout Plain Layout
28713 c
28714 \end_layout
28715
28716 \end_inset
28717 </cell>
28718 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28719 \begin_inset Text
28720
28721 \begin_layout Plain Layout
28722 d
28723 \end_layout
28724
28725 \end_inset
28726 </cell>
28727 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28728 \begin_inset Text
28729
28730 \begin_layout Plain Layout
28731 e
28732 \end_layout
28733
28734 \end_inset
28735 </cell>
28736 </row>
28737 </lyxtabular>
28738
28739 \end_inset
28740
28741
28742 \end_layout
28743
28744 \end_inset
28745
28746
28747 \begin_inset space \hfill{}
28748 \end_inset
28749
28750
28751 \begin_inset Float table
28752 placement document
28753 alignment document
28754 wide false
28755 sideways false
28756 status collapsed
28757
28758 \begin_layout Plain Layout
28759 \begin_inset Caption Standard
28760
28761 \begin_layout Plain Layout
28762 \begin_inset CommandInset label
28763 LatexCommand label
28764 name "tab:This-is-subtable-b"
28765
28766 \end_inset
28767
28768 This is subtable b.
28769 \end_layout
28770
28771 \end_inset
28772
28773
28774 \end_layout
28775
28776 \begin_layout Plain Layout
28777 \align center
28778 \begin_inset Tabular
28779 <lyxtabular version="3" rows="1" columns="5">
28780 <features tabularvalignment="middle">
28781 <column alignment="center" valignment="top">
28782 <column alignment="center" valignment="top">
28783 <column alignment="center" valignment="top">
28784 <column alignment="center" valignment="top">
28785 <column alignment="center" valignment="top">
28786 <row>
28787 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28788 \begin_inset Text
28789
28790 \begin_layout Plain Layout
28791 e
28792 \end_layout
28793
28794 \end_inset
28795 </cell>
28796 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28797 \begin_inset Text
28798
28799 \begin_layout Plain Layout
28800 d
28801 \end_layout
28802
28803 \end_inset
28804 </cell>
28805 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28806 \begin_inset Text
28807
28808 \begin_layout Plain Layout
28809 c
28810 \end_layout
28811
28812 \end_inset
28813 </cell>
28814 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28815 \begin_inset Text
28816
28817 \begin_layout Plain Layout
28818 b
28819 \end_layout
28820
28821 \end_inset
28822 </cell>
28823 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28824 \begin_inset Text
28825
28826 \begin_layout Plain Layout
28827 test
28828 \end_layout
28829
28830 \end_inset
28831 </cell>
28832 </row>
28833 </lyxtabular>
28834
28835 \end_inset
28836
28837
28838 \end_layout
28839
28840 \end_inset
28841
28842
28843 \begin_inset space \hfill{}
28844 \end_inset
28845
28846
28847 \end_layout
28848
28849 \end_inset
28850
28851
28852 \end_layout
28853
28854 \begin_layout Standard
28855 \begin_inset Float table
28856 placement document
28857 alignment document
28858 wide false
28859 sideways false
28860 status open
28861
28862 \begin_layout Plain Layout
28863 \begin_inset Caption Standard
28864
28865 \begin_layout Plain Layout
28866 \begin_inset CommandInset label
28867 LatexCommand label
28868 name "tab:Two-subtables-upon"
28869
28870 \end_inset
28871
28872 Two subtables placed one above the other.
28873  (a) table with 4 cells, (b) table with 5 cells.
28874 \end_layout
28875
28876 \end_inset
28877
28878
28879 \end_layout
28880
28881 \begin_layout Plain Layout
28882 \align center
28883 \begin_inset Float table
28884 placement document
28885 alignment document
28886 wide false
28887 sideways false
28888 status collapsed
28889
28890 \begin_layout Plain Layout
28891 \begin_inset Caption Standard
28892
28893 \begin_layout Plain Layout
28894
28895 \end_layout
28896
28897 \end_inset
28898
28899
28900 \end_layout
28901
28902 \begin_layout Plain Layout
28903 \align center
28904 \begin_inset Tabular
28905 <lyxtabular version="3" rows="1" columns="4">
28906 <features tabularvalignment="middle">
28907 <column alignment="center" valignment="top">
28908 <column alignment="center" valignment="top">
28909 <column alignment="center" valignment="top">
28910 <column alignment="center" valignment="top">
28911 <row>
28912 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28913 \begin_inset Text
28914
28915 \begin_layout Plain Layout
28916 test
28917 \end_layout
28918
28919 \end_inset
28920 </cell>
28921 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28922 \begin_inset Text
28923
28924 \begin_layout Plain Layout
28925 test
28926 \end_layout
28927
28928 \end_inset
28929 </cell>
28930 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28931 \begin_inset Text
28932
28933 \begin_layout Plain Layout
28934 test
28935 \end_layout
28936
28937 \end_inset
28938 </cell>
28939 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28940 \begin_inset Text
28941
28942 \begin_layout Plain Layout
28943 test
28944 \end_layout
28945
28946 \end_inset
28947 </cell>
28948 </row>
28949 </lyxtabular>
28950
28951 \end_inset
28952
28953
28954 \end_layout
28955
28956 \end_inset
28957
28958
28959 \end_layout
28960
28961 \begin_layout Plain Layout
28962 \align center
28963 \begin_inset Float table
28964 placement document
28965 alignment document
28966 wide false
28967 sideways false
28968 status collapsed
28969
28970 \begin_layout Plain Layout
28971 \begin_inset Caption Standard
28972
28973 \begin_layout Plain Layout
28974
28975 \end_layout
28976
28977 \end_inset
28978
28979
28980 \end_layout
28981
28982 \begin_layout Plain Layout
28983 \align center
28984 \begin_inset Tabular
28985 <lyxtabular version="3" rows="1" columns="5">
28986 <features tabularvalignment="middle">
28987 <column alignment="center" valignment="top">
28988 <column alignment="center" valignment="top">
28989 <column alignment="center" valignment="top">
28990 <column alignment="center" valignment="top">
28991 <column alignment="center" valignment="top">
28992 <row>
28993 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28994 \begin_inset Text
28995
28996 \begin_layout Plain Layout
28997 a
28998 \end_layout
28999
29000 \end_inset
29001 </cell>
29002 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29003 \begin_inset Text
29004
29005 \begin_layout Plain Layout
29006 b
29007 \end_layout
29008
29009 \end_inset
29010 </cell>
29011 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29012 \begin_inset Text
29013
29014 \begin_layout Plain Layout
29015 c
29016 \end_layout
29017
29018 \end_inset
29019 </cell>
29020 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29021 \begin_inset Text
29022
29023 \begin_layout Plain Layout
29024 d
29025 \end_layout
29026
29027 \end_inset
29028 </cell>
29029 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
29030 \begin_inset Text
29031
29032 \begin_layout Plain Layout
29033 e
29034 \end_layout
29035
29036 \end_inset
29037 </cell>
29038 </row>
29039 </lyxtabular>
29040
29041 \end_inset
29042
29043
29044 \end_layout
29045
29046 \end_inset
29047
29048
29049 \end_layout
29050
29051 \end_inset
29052
29053
29054 \end_layout
29055
29056 \begin_layout Section
29057 Floats Side by Side
29058 \begin_inset Index idx
29059 status collapsed
29060
29061 \begin_layout Plain Layout
29062 Floats ! Side by side
29063 \end_layout
29064
29065 \end_inset
29066
29067
29068 \end_layout
29069
29070 \begin_layout Standard
29071 To place floats side by side, as in Figures
29072 \begin_inset space ~
29073 \end_inset
29074
29075
29076 \begin_inset CommandInset ref
29077 LatexCommand ref
29078 reference "fig:Float-left"
29079
29080 \end_inset
29081
29082  and 
29083 \begin_inset CommandInset ref
29084 LatexCommand ref
29085 reference "fig:Float-right"
29086
29087 \end_inset
29088
29089 , only 
29090 \emph on
29091 one
29092 \emph default
29093  float is used.
29094  In it two minipage boxes are inserted.
29095 \begin_inset Foot
29096 status collapsed
29097
29098 \begin_layout Plain Layout
29099 Minipages are explained in section
29100 \begin_inset space ~
29101 \end_inset
29102
29103
29104 \begin_inset CommandInset ref
29105 LatexCommand ref
29106 reference "sec:Minipages"
29107
29108 \end_inset
29109
29110 .
29111 \end_layout
29112
29113 \end_inset
29114
29115  The width is set to 45
29116 \begin_inset space \thinspace{}
29117 \end_inset
29118
29119 -50
29120 \begin_inset space \thinspace{}
29121 \end_inset
29122
29123 column% and the box alignment to 
29124 \family sans
29125 Bottom
29126 \family default
29127  for each minipage.
29128  The minipage boxes contain the image and the caption in the same way as
29129  they are in a float.
29130  The only difference is that the image unit 
29131 \family sans
29132 Column
29133 \begin_inset space ~
29134 \end_inset
29135
29136 Width
29137 \begin_inset space ~
29138 \end_inset
29139
29140 %
29141 \family default
29142  is now calculated according to the width of the minipage boxes.
29143 \end_layout
29144
29145 \begin_layout Standard
29146 \begin_inset Float figure
29147 placement document
29148 alignment document
29149 wide false
29150 sideways false
29151 status open
29152
29153 \begin_layout Plain Layout
29154 \begin_inset Box Frameless
29155 position "b"
29156 hor_pos "c"
29157 has_inner_box 1
29158 inner_pos "t"
29159 use_parbox 0
29160 use_makebox 0
29161 width "45col%"
29162 special "none"
29163 height "1in"
29164 height_special "totalheight"
29165 thickness "0.4pt"
29166 separation "3pt"
29167 shadowsize "4pt"
29168 framecolor "black"
29169 backgroundcolor "none"
29170 status open
29171
29172 \begin_layout Plain Layout
29173 \align center
29174 \begin_inset Graphics
29175         filename clipart/2D-intensity-plot.pdf
29176         width 100col%
29177         scaleBeforeRotation
29178
29179 \end_inset
29180
29181
29182 \end_layout
29183
29184 \begin_layout Plain Layout
29185 \begin_inset Caption Standard
29186
29187 \begin_layout Plain Layout
29188 \begin_inset CommandInset label
29189 LatexCommand label
29190 name "fig:Float-left"
29191
29192 \end_inset
29193
29194 Float on the left side.
29195 \end_layout
29196
29197 \end_inset
29198
29199
29200 \end_layout
29201
29202 \end_inset
29203
29204
29205 \begin_inset space \hfill{}
29206 \end_inset
29207
29208
29209 \begin_inset Box Frameless
29210 position "b"
29211 hor_pos "c"
29212 has_inner_box 1
29213 inner_pos "t"
29214 use_parbox 0
29215 use_makebox 0
29216 width "45col%"
29217 special "none"
29218 height "1in"
29219 height_special "totalheight"
29220 thickness "0.4pt"
29221 separation "3pt"
29222 shadowsize "4pt"
29223 framecolor "black"
29224 backgroundcolor "none"
29225 status open
29226
29227 \begin_layout Plain Layout
29228 \align center
29229 \begin_inset Graphics
29230         filename clipart/Star-structure.pdf
29231         width 100col%
29232         scaleBeforeRotation
29233
29234 \end_inset
29235
29236
29237 \end_layout
29238
29239 \begin_layout Plain Layout
29240 \begin_inset Caption Standard
29241
29242 \begin_layout Plain Layout
29243 \begin_inset CommandInset label
29244 LatexCommand label
29245 name "fig:Float-right"
29246
29247 \end_inset
29248
29249 Float on the right side.
29250 \end_layout
29251
29252 \end_inset
29253
29254
29255 \end_layout
29256
29257 \end_inset
29258
29259
29260 \end_layout
29261
29262 \end_inset
29263
29264
29265 \end_layout
29266
29267 \begin_layout Standard
29268 An alternative and simpler solution is to use the module 
29269 \family sans
29270 Variable-width Minipages
29271 \family default
29272 , see sec.
29273 \begin_inset space \thinspace{}
29274 \end_inset
29275
29276
29277 \begin_inset CommandInset ref
29278 LatexCommand ref
29279 reference "sec:Minipages"
29280
29281 \end_inset
29282
29283 .
29284  Variable-width minipages adapt automatically to the width of the figures
29285  and tables.
29286  They do not require an explicit width to be given, and they improve the
29287  horizontal alignment of the figures.
29288  The LyX example file 
29289 \emph on
29290 varwidth-floats-side-by-side
29291 \emph default
29292  gives examples of how to do this.
29293 \end_layout
29294
29295 \begin_layout Section
29296 Caption Formatting
29297 \begin_inset Index idx
29298 status collapsed
29299
29300 \begin_layout Plain Layout
29301 Caption ! Formatting
29302 \end_layout
29303
29304 \end_inset
29305
29306
29307 \begin_inset Index idx
29308 status collapsed
29309
29310 \begin_layout Plain Layout
29311 Floats ! Caption Formatting
29312 \end_layout
29313
29314 \end_inset
29315
29316
29317 \begin_inset CommandInset label
29318 LatexCommand label
29319 name "sec:Caption-Formatting"
29320
29321 \end_inset
29322
29323
29324 \end_layout
29325
29326 \begin_layout Standard
29327 The 
29328 \family sans
29329 Caption
29330 \family default
29331  environment is the default paragraph environment for 
29332 \family sans
29333 Floats
29334 \family default
29335 .
29336  On the \SpecialChar LyX
29337  screen captions appear as a label, e.
29338 \begin_inset space \thinspace{}
29339 \end_inset
29340
29341 g.
29342 \begin_inset space \space{}
29343 \end_inset
29344
29345
29346 \begin_inset Quotes eld
29347 \end_inset
29348
29349
29350 \family sans
29351 Figure #:
29352 \family default
29353
29354 \begin_inset Quotes erd
29355 \end_inset
29356
29357  followed by the caption text.
29358  
29359 \begin_inset Quotes eld
29360 \end_inset
29361
29362 #
29363 \begin_inset Quotes erd
29364 \end_inset
29365
29366  is the actual reference number.
29367  By default the label and the number are in the same font as the caption
29368  text and a colon follows the number to divide the label from the text.
29369  This caption format is suitable for many but not all documents.
29370  
29371 \end_layout
29372
29373 \begin_layout Standard
29374 To change the default caption format, load the \SpecialChar LaTeX
29375 -package 
29376 \series bold
29377 caption
29378 \series default
29379
29380 \begin_inset Index idx
29381 status collapsed
29382
29383 \begin_layout Plain Layout
29384 \SpecialChar LaTeX
29385 -packages ! caption
29386 \end_layout
29387
29388 \end_inset
29389
29390  in the document preamble with this line:
29391 \end_layout
29392
29393 \begin_layout Standard
29394
29395 \series bold
29396
29397 \backslash
29398 usepackage[format definition]{caption}
29399 \end_layout
29400
29401 \begin_layout Standard
29402 To have for example the label and the number in sans-serif, bold font and
29403  the table captions always above the table as in this document, use the
29404  following command:
29405 \end_layout
29406
29407 \begin_layout Standard
29408
29409 \series bold
29410
29411 \backslash
29412 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
29413 \end_layout
29414
29415 \begin_layout Standard
29416 You can also define different caption formats for the different float types.
29417  In this case load the 
29418 \series bold
29419 caption
29420 \series default
29421  package without format specific options and define the different formats
29422  with the help of the command
29423 \end_layout
29424
29425 \begin_layout Standard
29426
29427 \series bold
29428
29429 \backslash
29430 captionsetup[float type]{format definition}
29431 \end_layout
29432
29433 \begin_layout Standard
29434 in the document preamble.
29435  For example the caption formats of Figure
29436 \begin_inset space ~
29437 \end_inset
29438
29439
29440 \begin_inset CommandInset ref
29441 LatexCommand ref
29442 reference "fig:This-is-an-fig"
29443
29444 \end_inset
29445
29446  and Table
29447 \begin_inset space ~
29448 \end_inset
29449
29450
29451 \begin_inset CommandInset ref
29452 LatexCommand ref
29453 reference "tab:This-is-an-tab"
29454
29455 \end_inset
29456
29457  can be created using these commands in the document preamble:
29458 \end_layout
29459
29460 \begin_layout Standard
29461
29462 \series bold
29463
29464 \backslash
29465 usepackage[tableposition=top]{caption}
29466 \series default
29467
29468 \begin_inset Newline newline
29469 \end_inset
29470
29471
29472 \series bold
29473
29474 \backslash
29475 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm,%
29476 \begin_inset Newline newline
29477 \end_inset
29478
29479
29480 \begin_inset Phantom HPhantom
29481 status open
29482
29483 \begin_layout Plain Layout
29484
29485 \series bold
29486
29487 \backslash
29488 captionsetup[figure]{
29489 \end_layout
29490
29491 \end_inset
29492
29493 labelsep=period}
29494 \begin_inset Newline newline
29495 \end_inset
29496
29497
29498 \backslash
29499 captionsetup[table]{labelfont={bf,sf}}
29500 \end_layout
29501
29502 \begin_layout Standard
29503 \begin_inset Note Greyedout
29504 status open
29505
29506 \begin_layout Plain Layout
29507
29508 \series bold
29509 Note:
29510 \series default
29511  The option 
29512 \series bold
29513 tableposition=top
29514 \series default
29515  has no effect when a 
29516 \series bold
29517 KOMA-Script
29518 \series default
29519
29520 \begin_inset Index idx
29521 status collapsed
29522
29523 \begin_layout Plain Layout
29524 \SpecialChar LaTeX
29525 -packages ! KOMA-Script
29526 \end_layout
29527
29528 \end_inset
29529
29530  document class is used.
29531  In this case the document class option 
29532 \series bold
29533 captions=tableheading
29534 \series default
29535  must be used.
29536 \end_layout
29537
29538 \end_inset
29539
29540
29541 \end_layout
29542
29543 \begin_layout Standard
29544 For more information about the package 
29545 \series bold
29546 caption
29547 \series default
29548  we refer to its documentation 
29549 \begin_inset CommandInset citation
29550 LatexCommand cite
29551 key "caption"
29552 literal "true"
29553
29554 \end_inset
29555
29556 .
29557 \end_layout
29558
29559 \begin_layout Standard
29560 To change the label name from e.
29561 \begin_inset space \thinspace{}
29562 \end_inset
29563
29564 g.
29565 \begin_inset space \space{}
29566 \end_inset
29567
29568
29569 \begin_inset Quotes eld
29570 \end_inset
29571
29572 Figure
29573 \begin_inset Quotes erd
29574 \end_inset
29575
29576  to 
29577 \begin_inset Quotes eld
29578 \end_inset
29579
29580 Image
29581 \begin_inset Quotes erd
29582 \end_inset
29583
29584  use this preamble command:
29585 \end_layout
29586
29587 \begin_layout Standard
29588
29589 \series bold
29590
29591 \backslash
29592 renewcommand{
29593 \backslash
29594 fnum@figure}{Image~
29595 \backslash
29596 thefigure}
29597 \end_layout
29598
29599 \begin_layout Standard
29600 where 
29601 \series bold
29602
29603 \backslash
29604 thefigure
29605 \series default
29606  inserts the figure number and
29607 \series bold
29608  
29609 \begin_inset Quotes eld
29610 \end_inset
29611
29612 ~
29613 \series default
29614
29615 \begin_inset Quotes erd
29616 \end_inset
29617
29618  creates a 
29619 \change_deleted 177693 1654669177
29620 protected
29621 \change_inserted 177693 1654669179
29622 non-breaking
29623 \change_unchanged
29624  space.
29625 \end_layout
29626
29627 \begin_layout Standard
29628 \begin_inset VSpace bigskip
29629 \end_inset
29630
29631 If you are using a 
29632 \series bold
29633 KOMA-Script
29634 \series default
29635
29636 \begin_inset Index idx
29637 status collapsed
29638
29639 \begin_layout Plain Layout
29640 \SpecialChar LaTeX
29641 -packages ! KOMA-Script
29642 \end_layout
29643
29644 \end_inset
29645
29646  document class (
29647 \family sans
29648 article (KOMA-Script)
29649 \family default
29650
29651 \family sans
29652 book (KOMA-Script)
29653 \family default
29654
29655 \family sans
29656 letter (KOMA-Script)
29657 \family default
29658 , or 
29659 \family sans
29660 report (KOMA-Script)
29661 \family default
29662
29663 \begin_inset space \thinspace{}
29664 \end_inset
29665
29666 ), you can alternatively to the 
29667 \series bold
29668 caption
29669 \series default
29670  package use 
29671 \series bold
29672 KOMA-Script
29673 \series default
29674 's built-in command 
29675 \series bold
29676
29677 \backslash
29678 setkomafont
29679 \series default
29680 .
29681  For example, to have the caption label in bold, add this command to your
29682  document preamble:
29683 \end_layout
29684
29685 \begin_layout Standard
29686
29687 \series bold
29688
29689 \backslash
29690 setkomafont{captionlabel}{
29691 \backslash
29692 bfseries}
29693 \end_layout
29694
29695 \begin_layout Standard
29696 For more information about 
29697 \series bold
29698
29699 \backslash
29700 setkomafont
29701 \series default
29702  we refer to the 
29703 \series bold
29704 KOMA-Script
29705 \series default
29706  documentation 
29707 \begin_inset CommandInset citation
29708 LatexCommand cite
29709 key "KOMA-Script"
29710 literal "true"
29711
29712 \end_inset
29713
29714 .
29715 \end_layout
29716
29717 \begin_layout Standard
29718 \begin_inset ERT
29719 status collapsed
29720
29721 \begin_layout Plain Layout
29722
29723
29724 \backslash
29725 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
29726 }
29727 \end_layout
29728
29729 \end_inset
29730
29731
29732 \begin_inset Note Note
29733 status open
29734
29735 \begin_layout Plain Layout
29736 The caption format is changed only for this example.
29737 \end_layout
29738
29739 \end_inset
29740
29741
29742 \end_layout
29743
29744 \begin_layout Standard
29745 \begin_inset Float figure
29746 placement !p
29747 alignment document
29748 wide false
29749 sideways false
29750 status open
29751
29752 \begin_layout Plain Layout
29753 \align center
29754 \begin_inset Graphics
29755         filename clipart/2D-intensity-plot.pdf
29756         scaleBeforeRotation
29757
29758 \end_inset
29759
29760
29761 \end_layout
29762
29763 \begin_layout Plain Layout
29764 \begin_inset Caption Standard
29765
29766 \begin_layout Plain Layout
29767 \begin_inset CommandInset label
29768 LatexCommand label
29769 name "fig:This-is-an-fig"
29770
29771 \end_inset
29772
29773 This is an example figure caption that is longer than one line to show the
29774  different caption format.
29775  Here a self-defined caption format is used.
29776 \end_layout
29777
29778 \end_inset
29779
29780
29781 \end_layout
29782
29783 \end_inset
29784
29785
29786 \end_layout
29787
29788 \begin_layout Standard
29789 \begin_inset ERT
29790 status collapsed
29791
29792 \begin_layout Plain Layout
29793
29794
29795 \backslash
29796 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
29797 on}
29798 \end_layout
29799
29800 \end_inset
29801
29802
29803 \end_layout
29804
29805 \begin_layout Standard
29806 \begin_inset Float table
29807 placement !p
29808 alignment document
29809 wide false
29810 sideways false
29811 status open
29812
29813 \begin_layout Plain Layout
29814 \begin_inset Caption Standard
29815
29816 \begin_layout Plain Layout
29817 \begin_inset CommandInset label
29818 LatexCommand label
29819 name "tab:This-is-an-tab"
29820
29821 \end_inset
29822
29823 This is an example table caption that is longer than one line to show the
29824  different caption format.
29825  Here the standard caption format for tables in this document is used.
29826 \end_layout
29827
29828 \end_inset
29829
29830
29831 \end_layout
29832
29833 \begin_layout Plain Layout
29834 \align center
29835 \begin_inset Tabular
29836 <lyxtabular version="3" rows="1" columns="5">
29837 <features tabularvalignment="middle">
29838 <column alignment="center" valignment="top">
29839 <column alignment="center" valignment="top">
29840 <column alignment="center" valignment="top">
29841 <column alignment="center" valignment="top">
29842 <column alignment="center" valignment="top">
29843 <row>
29844 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29845 \begin_inset Text
29846
29847 \begin_layout Plain Layout
29848 a
29849 \end_layout
29850
29851 \end_inset
29852 </cell>
29853 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29854 \begin_inset Text
29855
29856 \begin_layout Plain Layout
29857 b
29858 \end_layout
29859
29860 \end_inset
29861 </cell>
29862 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29863 \begin_inset Text
29864
29865 \begin_layout Plain Layout
29866 c
29867 \end_layout
29868
29869 \end_inset
29870 </cell>
29871 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29872 \begin_inset Text
29873
29874 \begin_layout Plain Layout
29875 d
29876 \end_layout
29877
29878 \end_inset
29879 </cell>
29880 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
29881 \begin_inset Text
29882
29883 \begin_layout Plain Layout
29884 e
29885 \end_layout
29886
29887 \end_inset
29888 </cell>
29889 </row>
29890 </lyxtabular>
29891
29892 \end_inset
29893
29894
29895 \end_layout
29896
29897 \end_inset
29898
29899
29900 \end_layout
29901
29902 \begin_layout Section
29903 Caption Placement
29904 \begin_inset Index idx
29905 status collapsed
29906
29907 \begin_layout Plain Layout
29908 Caption ! Placement
29909 \end_layout
29910
29911 \end_inset
29912
29913
29914 \begin_inset Index idx
29915 status collapsed
29916
29917 \begin_layout Plain Layout
29918 Floats ! Caption Placement
29919 \end_layout
29920
29921 \end_inset
29922
29923
29924 \begin_inset CommandInset label
29925 LatexCommand label
29926 name "sec:Caption-Placement"
29927
29928 \end_inset
29929
29930
29931 \end_layout
29932
29933 \begin_layout Standard
29934 The common caption placement rule is:
29935 \end_layout
29936
29937 \begin_layout Description
29938 Figure: Caption is set below the figure
29939 \end_layout
29940
29941 \begin_layout Description
29942 Table: Caption is set above the table
29943 \end_layout
29944
29945 \begin_layout Standard
29946 Having the caption above the table is unfortunately not supported in \SpecialChar LaTeX
29947 's
29948  standard classes.
29949  That means if you are using the document classes 
29950 \family sans
29951 article
29952 \family default
29953
29954 \family sans
29955 book
29956 \family default
29957
29958 \family sans
29959 letter
29960 \family default
29961 , or 
29962 \family sans
29963 report
29964 \family default
29965  there will be no space between the caption and the table.
29966  To insert the necessary space, load the \SpecialChar LaTeX
29967 -package 
29968 \series bold
29969 caption
29970 \series default
29971
29972 \begin_inset Index idx
29973 status collapsed
29974
29975 \begin_layout Plain Layout
29976 \SpecialChar LaTeX
29977 -packages ! caption
29978 \end_layout
29979
29980 \end_inset
29981
29982  in your document preamble with the option
29983 \begin_inset Foot
29984 status collapsed
29985
29986 \begin_layout Plain Layout
29987 See section
29988 \begin_inset space ~
29989 \end_inset
29990
29991
29992 \begin_inset CommandInset ref
29993 LatexCommand ref
29994 reference "sec:Caption-Formatting"
29995
29996 \end_inset
29997
29998  for more information of the package 
29999 \series bold
30000 caption
30001 \series default
30002 .
30003 \end_layout
30004
30005 \end_inset
30006
30007
30008 \end_layout
30009
30010 \begin_layout Standard
30011
30012 \series bold
30013 tableposition=top
30014 \end_layout
30015
30016 \begin_layout Standard
30017 If you are using a 
30018 \series bold
30019 KOMA-Script
30020 \series default
30021
30022 \begin_inset Index idx
30023 status collapsed
30024
30025 \begin_layout Plain Layout
30026 \SpecialChar LaTeX
30027 -packages ! KOMA-Script
30028 \end_layout
30029
30030 \end_inset
30031
30032  document class (
30033 \family sans
30034 article (KOMA-Script)
30035 \family default
30036
30037 \family sans
30038 book (KOMA-Script)
30039 \family default
30040
30041 \family sans
30042 letter (KOMA-Script)
30043 \family default
30044 , or 
30045 \family sans
30046 report (KOMA-Script)
30047 \family default
30048
30049 \begin_inset space \thinspace{}
30050 \end_inset
30051
30052 ), you can alternatively to the 
30053 \series bold
30054 caption
30055 \series default
30056  package set the document class option
30057 \begin_inset Foot
30058 status collapsed
30059
30060 \begin_layout Plain Layout
30061 That option is used in this document.
30062 \end_layout
30063
30064 \end_inset
30065
30066
30067 \end_layout
30068
30069 \begin_layout Standard
30070
30071 \series bold
30072 captions=tableheading
30073 \end_layout
30074
30075 \begin_layout Standard
30076 In documents with a KOMA-Script document class you can also right-click
30077  on a caption and mark in the context menu if this should be a caption above
30078  or below the table/figure.
30079  This way you can override the document-wide caption placement for certain
30080  captions.
30081  Table
30082 \begin_inset space ~
30083 \end_inset
30084
30085
30086 \begin_inset CommandInset ref
30087 LatexCommand ref
30088 reference "tab:A-caption-marked"
30089
30090 \end_inset
30091
30092  is an example where the caption is marked a being below the table while
30093  it is above.
30094  For comparison the caption in Table
30095 \begin_inset space ~
30096 \end_inset
30097
30098
30099 \begin_inset CommandInset ref
30100 LatexCommand ref
30101 reference "tab:A-standard-table"
30102
30103 \end_inset
30104
30105  is not marked.
30106 \end_layout
30107
30108 \begin_layout Standard
30109 \begin_inset Float table
30110 placement document
30111 alignment document
30112 wide false
30113 sideways false
30114 status open
30115
30116 \begin_layout Plain Layout
30117 \begin_inset Caption Below
30118
30119 \begin_layout Plain Layout
30120 \begin_inset CommandInset label
30121 LatexCommand label
30122 name "tab:A-caption-marked"
30123
30124 \end_inset
30125
30126 A caption marked as being below the table.
30127 \end_layout
30128
30129 \end_inset
30130
30131
30132 \end_layout
30133
30134 \begin_layout Plain Layout
30135 \align center
30136 \begin_inset Tabular
30137 <lyxtabular version="3" rows="3" columns="3">
30138 <features tabularvalignment="middle">
30139 <column alignment="center" valignment="top" width="0pt">
30140 <column alignment="center" valignment="top" width="0pt">
30141 <column alignment="center" valignment="top" width="0pt">
30142 <row>
30143 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30144 \begin_inset Text
30145
30146 \begin_layout Plain Layout
30147 1
30148 \end_layout
30149
30150 \end_inset
30151 </cell>
30152 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30153 \begin_inset Text
30154
30155 \begin_layout Plain Layout
30156 2
30157 \end_layout
30158
30159 \end_inset
30160 </cell>
30161 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30162 \begin_inset Text
30163
30164 \begin_layout Plain Layout
30165 3
30166 \end_layout
30167
30168 \end_inset
30169 </cell>
30170 </row>
30171 <row>
30172 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30173 \begin_inset Text
30174
30175 \begin_layout Plain Layout
30176 Joe
30177 \end_layout
30178
30179 \end_inset
30180 </cell>
30181 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30182 \begin_inset Text
30183
30184 \begin_layout Plain Layout
30185 Mary
30186 \end_layout
30187
30188 \end_inset
30189 </cell>
30190 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30191 \begin_inset Text
30192
30193 \begin_layout Plain Layout
30194 Ted
30195 \end_layout
30196
30197 \end_inset
30198 </cell>
30199 </row>
30200 <row>
30201 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30202 \begin_inset Text
30203
30204 \begin_layout Plain Layout
30205 \begin_inset Formula $\int x^{2}dx$
30206 \end_inset
30207
30208
30209 \end_layout
30210
30211 \end_inset
30212 </cell>
30213 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30214 \begin_inset Text
30215
30216 \begin_layout Plain Layout
30217 \begin_inset Formula $\left[\begin{array}{cc}
30218 a & b\\
30219 c & d
30220 \end{array}\right]$
30221 \end_inset
30222
30223
30224 \end_layout
30225
30226 \end_inset
30227 </cell>
30228 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30229 \begin_inset Text
30230
30231 \begin_layout Plain Layout
30232 \begin_inset Formula $1+1=2$
30233 \end_inset
30234
30235
30236 \end_layout
30237
30238 \end_inset
30239 </cell>
30240 </row>
30241 </lyxtabular>
30242
30243 \end_inset
30244
30245
30246 \end_layout
30247
30248 \end_inset
30249
30250
30251 \end_layout
30252
30253 \begin_layout Standard
30254 \begin_inset Float table
30255 placement document
30256 alignment document
30257 wide false
30258 sideways false
30259 status open
30260
30261 \begin_layout Plain Layout
30262 \begin_inset Caption Standard
30263
30264 \begin_layout Plain Layout
30265 \begin_inset CommandInset label
30266 LatexCommand label
30267 name "tab:A-standard-table"
30268
30269 \end_inset
30270
30271 A standard table caption.
30272 \end_layout
30273
30274 \end_inset
30275
30276
30277 \end_layout
30278
30279 \begin_layout Plain Layout
30280 \align center
30281 \begin_inset Tabular
30282 <lyxtabular version="3" rows="3" columns="3">
30283 <features tabularvalignment="middle">
30284 <column alignment="center" valignment="top" width="0pt">
30285 <column alignment="center" valignment="top" width="0pt">
30286 <column alignment="center" valignment="top" width="0pt">
30287 <row>
30288 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30289 \begin_inset Text
30290
30291 \begin_layout Plain Layout
30292 1
30293 \end_layout
30294
30295 \end_inset
30296 </cell>
30297 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30298 \begin_inset Text
30299
30300 \begin_layout Plain Layout
30301 2
30302 \end_layout
30303
30304 \end_inset
30305 </cell>
30306 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30307 \begin_inset Text
30308
30309 \begin_layout Plain Layout
30310 3
30311 \end_layout
30312
30313 \end_inset
30314 </cell>
30315 </row>
30316 <row>
30317 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30318 \begin_inset Text
30319
30320 \begin_layout Plain Layout
30321 Joe
30322 \end_layout
30323
30324 \end_inset
30325 </cell>
30326 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30327 \begin_inset Text
30328
30329 \begin_layout Plain Layout
30330 Mary
30331 \end_layout
30332
30333 \end_inset
30334 </cell>
30335 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30336 \begin_inset Text
30337
30338 \begin_layout Plain Layout
30339 Ted
30340 \end_layout
30341
30342 \end_inset
30343 </cell>
30344 </row>
30345 <row>
30346 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30347 \begin_inset Text
30348
30349 \begin_layout Plain Layout
30350 \begin_inset Formula $\int x^{2}dx$
30351 \end_inset
30352
30353
30354 \end_layout
30355
30356 \end_inset
30357 </cell>
30358 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30359 \begin_inset Text
30360
30361 \begin_layout Plain Layout
30362 \begin_inset Formula $\left[\begin{array}{cc}
30363 a & b\\
30364 c & d
30365 \end{array}\right]$
30366 \end_inset
30367
30368
30369 \end_layout
30370
30371 \end_inset
30372 </cell>
30373 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30374 \begin_inset Text
30375
30376 \begin_layout Plain Layout
30377 \begin_inset Formula $1+1=2$
30378 \end_inset
30379
30380
30381 \end_layout
30382
30383 \end_inset
30384 </cell>
30385 </row>
30386 </lyxtabular>
30387
30388 \end_inset
30389
30390
30391 \end_layout
30392
30393 \end_inset
30394
30395
30396 \end_layout
30397
30398 \begin_layout Standard
30399 \begin_inset VSpace bigskip
30400 \end_inset
30401
30402 It is also possible to set the caption beside a figure or table.
30403  To get this the \SpecialChar LaTeX
30404 -package 
30405 \series bold
30406 sidecap
30407 \series default
30408
30409 \begin_inset Index idx
30410 status collapsed
30411
30412 \begin_layout Plain Layout
30413 \SpecialChar LaTeX
30414 -packages ! sidecap
30415 \end_layout
30416
30417 \end_inset
30418
30419  has to be loaded in the document preamble with the line
30420 \end_layout
30421
30422 \begin_layout Standard
30423
30424 \series bold
30425
30426 \backslash
30427 usepackage[option]{sidecap}
30428 \end_layout
30429
30430 \begin_layout Standard
30431 If you set no option, the caption is placed on the side of the outer page
30432  margin – to the right on odd pages, to the left on even pages.
30433  You can change the placement to inner margin with the option 
30434 \series bold
30435 innercaption
30436 \series default
30437 .
30438  To force the placement always to the right or left, use the option 
30439 \series bold
30440 rightcaption
30441 \series default
30442  or 
30443 \series bold
30444 leftcaption
30445 \series default
30446 , respectively.
30447 \end_layout
30448
30449 \begin_layout Standard
30450 \begin_inset ERT
30451 status collapsed
30452
30453 \begin_layout Plain Layout
30454
30455
30456 \backslash
30457 ifsidecap
30458 \end_layout
30459
30460 \end_inset
30461
30462
30463 \begin_inset Note Note
30464 status open
30465
30466 \begin_layout Plain Layout
30467 The following section will only be displayed when the \SpecialChar LaTeX
30468 -package 
30469 \series bold
30470 sidecap
30471 \series default
30472  is installed.
30473 \end_layout
30474
30475 \end_inset
30476
30477
30478 \end_layout
30479
30480 \begin_layout Standard
30481 To place in \SpecialChar LyX
30482  the caption of a float on the side, it is necessary to add
30483  these commands to the document preamble:
30484 \end_layout
30485
30486 \begin_layout Standard
30487 \noindent
30488 \begin_inset CommandInset line
30489 LatexCommand rule
30490 offset "0.5ex"
30491 width "100line%"
30492 height "1pt"
30493
30494 \end_inset
30495
30496
30497 \end_layout
30498
30499 \begin_layout Standard
30500
30501 \series bold
30502
30503 \backslash
30504 newcommand{
30505 \backslash
30506 TabBesBeg}[1][1.0]{%
30507 \begin_inset Newline newline
30508 \end_inset
30509
30510
30511 \begin_inset Phantom HPhantom
30512 status open
30513
30514 \begin_layout Plain Layout
30515 \begin_inset space ~
30516 \end_inset
30517
30518
30519 \end_layout
30520
30521 \end_inset
30522
30523
30524 \backslash
30525 let
30526 \backslash
30527 MyTable
30528 \backslash
30529 table
30530 \begin_inset Newline newline
30531 \end_inset
30532
30533
30534 \begin_inset Phantom HPhantom
30535 status open
30536
30537 \begin_layout Plain Layout
30538
30539 \series medium
30540 \begin_inset space ~
30541 \end_inset
30542
30543
30544 \end_layout
30545
30546 \end_inset
30547
30548
30549 \backslash
30550 let
30551 \backslash
30552 MyEndtable
30553 \backslash
30554 endtable
30555 \begin_inset Newline newline
30556 \end_inset
30557
30558
30559 \begin_inset Phantom HPhantom
30560 status open
30561
30562 \begin_layout Plain Layout
30563
30564 \series medium
30565 \begin_inset space ~
30566 \end_inset
30567
30568
30569 \end_layout
30570
30571 \end_inset
30572
30573
30574 \backslash
30575 renewenvironment{table}[1]{
30576 \backslash
30577 begin{SCtable}[#1]##1}{
30578 \backslash
30579 end{SCtable}}}
30580 \end_layout
30581
30582 \begin_layout Standard
30583
30584 \series bold
30585
30586 \backslash
30587 newcommand{
30588 \backslash
30589 TabBesEnd}{%
30590 \begin_inset Newline newline
30591 \end_inset
30592
30593
30594 \begin_inset Phantom HPhantom
30595 status open
30596
30597 \begin_layout Plain Layout
30598 \begin_inset space ~
30599 \end_inset
30600
30601
30602 \end_layout
30603
30604 \end_inset
30605
30606
30607 \backslash
30608 let
30609 \backslash
30610 table
30611 \backslash
30612 MyTable
30613 \begin_inset Newline newline
30614 \end_inset
30615
30616
30617 \begin_inset Phantom HPhantom
30618 status open
30619
30620 \begin_layout Plain Layout
30621 \begin_inset space ~
30622 \end_inset
30623
30624
30625 \end_layout
30626
30627 \end_inset
30628
30629
30630 \backslash
30631 let
30632 \backslash
30633 endtable
30634 \backslash
30635 MyEndtable
30636 \end_layout
30637
30638 \begin_layout Standard
30639
30640 \series bold
30641
30642 \backslash
30643 newcommand{
30644 \backslash
30645 FigBesBeg}[1][1.0]{%
30646 \begin_inset Newline newline
30647 \end_inset
30648
30649
30650 \begin_inset Phantom HPhantom
30651 status open
30652
30653 \begin_layout Plain Layout
30654 \begin_inset space ~
30655 \end_inset
30656
30657
30658 \end_layout
30659
30660 \end_inset
30661
30662
30663 \backslash
30664 let
30665 \backslash
30666 MyFigure
30667 \backslash
30668 figure
30669 \begin_inset Newline newline
30670 \end_inset
30671
30672
30673 \begin_inset Phantom HPhantom
30674 status open
30675
30676 \begin_layout Plain Layout
30677 \begin_inset space ~
30678 \end_inset
30679
30680
30681 \end_layout
30682
30683 \end_inset
30684
30685
30686 \backslash
30687 let
30688 \backslash
30689 MyEndfigure
30690 \backslash
30691 endfigure
30692 \begin_inset Newline newline
30693 \end_inset
30694
30695
30696 \begin_inset Phantom HPhantom
30697 status open
30698
30699 \begin_layout Plain Layout
30700 \begin_inset space ~
30701 \end_inset
30702
30703
30704 \end_layout
30705
30706 \end_inset
30707
30708
30709 \backslash
30710 renewenvironment{figure}[1]{
30711 \backslash
30712 begin{SCfigure}[#1]##1}{
30713 \backslash
30714 end{SCfigure}}}
30715 \end_layout
30716
30717 \begin_layout Standard
30718
30719 \series bold
30720
30721 \backslash
30722 newcommand{
30723 \backslash
30724 FigBesEnd}{%
30725 \begin_inset Newline newline
30726 \end_inset
30727
30728
30729 \begin_inset Phantom HPhantom
30730 status open
30731
30732 \begin_layout Plain Layout
30733 \begin_inset space ~
30734 \end_inset
30735
30736
30737 \end_layout
30738
30739 \end_inset
30740
30741
30742 \backslash
30743 let
30744 \backslash
30745 figure
30746 \backslash
30747 MyFigure
30748 \begin_inset Newline newline
30749 \end_inset
30750
30751
30752 \begin_inset Phantom HPhantom
30753 status open
30754
30755 \begin_layout Plain Layout
30756 \begin_inset space ~
30757 \end_inset
30758
30759
30760 \end_layout
30761
30762 \end_inset
30763
30764
30765 \backslash
30766 let
30767 \backslash
30768 endfigure
30769 \backslash
30770 MyEndfigure}
30771 \end_layout
30772
30773 \begin_layout Standard
30774 \noindent
30775 \begin_inset CommandInset line
30776 LatexCommand rule
30777 offset "0.5ex"
30778 width "100line%"
30779 height "1pt"
30780
30781 \end_inset
30782
30783
30784 \end_layout
30785
30786 \begin_layout Standard
30787 The commands allow you to redefine the floats so that the caption is set
30788  on the side.
30789  For figure floats use the command
30790 \end_layout
30791
30792 \begin_layout Standard
30793
30794 \series bold
30795
30796 \backslash
30797 FigBesBeg
30798 \end_layout
30799
30800 \begin_layout Standard
30801 in \SpecialChar TeX
30802  Code before the float.
30803  And insert the command
30804 \end_layout
30805
30806 \begin_layout Standard
30807
30808 \series bold
30809
30810 \backslash
30811 FigBesEnd
30812 \end_layout
30813
30814 \begin_layout Standard
30815 in \SpecialChar TeX
30816  Code at the point where you want to get back to the original float definitio
30817 n.
30818 \end_layout
30819
30820 \begin_layout Standard
30821 For table floats use the corresponding commands
30822 \end_layout
30823
30824 \begin_layout Standard
30825
30826 \series bold
30827
30828 \backslash
30829 TabBesBeg
30830 \series default
30831  and 
30832 \series bold
30833
30834 \backslash
30835 TabBesEnd
30836 \end_layout
30837
30838 \begin_layout Standard
30839 Figure
30840 \begin_inset space ~
30841 \end_inset
30842
30843
30844 \begin_inset CommandInset ref
30845 LatexCommand ref
30846 reference "fig:cap-beside-fig"
30847
30848 \end_inset
30849
30850  and Table
30851 \begin_inset space ~
30852 \end_inset
30853
30854
30855 \begin_inset CommandInset ref
30856 LatexCommand ref
30857 reference "tab:cap-beside-tab"
30858
30859 \end_inset
30860
30861  are examples where the caption is set beside.
30862 \end_layout
30863
30864 \begin_layout Standard
30865 You can see in the examples that the caption text appears at the top of
30866  the floats for table floats and at the bottom for figure floats.
30867  To change this, you can use the command
30868 \end_layout
30869
30870 \begin_layout Standard
30871
30872 \series bold
30873
30874 \backslash
30875 sidecaptionvpos{float type}{placement}
30876 \end_layout
30877
30878 \begin_layout Standard
30879 in the document preamble or in \SpecialChar TeX
30880  Code before the float.
30881  The float type is either 
30882 \family sans
30883 figure
30884 \family default
30885  or 
30886 \family sans
30887 table
30888 \family default
30889 , the placement can be 
30890 \begin_inset Quotes eld
30891 \end_inset
30892
30893
30894 \family sans
30895 t
30896 \family default
30897
30898 \begin_inset Quotes erd
30899 \end_inset
30900
30901  for top, 
30902 \begin_inset Quotes eld
30903 \end_inset
30904
30905
30906 \family sans
30907 c
30908 \family default
30909
30910 \begin_inset Quotes erd
30911 \end_inset
30912
30913  for center, or 
30914 \begin_inset Quotes eld
30915 \end_inset
30916
30917
30918 \family sans
30919 b
30920 \family default
30921
30922 \begin_inset Quotes erd
30923 \end_inset
30924
30925  for bottom.
30926  To have for example the caption of figure floats vertically centered, use
30927  the command
30928 \end_layout
30929
30930 \begin_layout Standard
30931
30932 \series bold
30933
30934 \backslash
30935 sidecaptionvpos{figure}{c}
30936 \end_layout
30937
30938 \begin_layout Standard
30939 This was used for Figure
30940 \begin_inset space ~
30941 \end_inset
30942
30943
30944 \begin_inset CommandInset ref
30945 LatexCommand ref
30946 reference "fig:cap-beside-fig-2"
30947
30948 \end_inset
30949
30950 .
30951 \end_layout
30952
30953 \begin_layout Standard
30954 \begin_inset VSpace medskip
30955 \end_inset
30956
30957
30958 \end_layout
30959
30960 \begin_layout Standard
30961 The default caption width is the width of the image/table.
30962  For thin image/tables, like in Table
30963 \begin_inset space ~
30964 \end_inset
30965
30966
30967 \begin_inset CommandInset ref
30968 LatexCommand ref
30969 reference "tab:cap-beside-tab"
30970
30971 \end_inset
30972
30973 , this leads to captions that are too thin.
30974  You can increase the width by specifying a factor that will be multiplied
30975  with the image/table width to get the caption width.
30976  The caption width will automatically be recalculated in case it would protrude
30977  over the page or column margin due to the specified width.
30978  The 
30979 \emph on
30980 factor
30981 \emph default
30982  can either be given as optional argument for 
30983 \series bold
30984
30985 \backslash
30986 FigBesBeg
30987 \series default
30988 :
30989 \end_layout
30990
30991 \begin_layout Standard
30992
30993 \series bold
30994
30995 \backslash
30996 FigBesBeg[factor]
30997 \end_layout
30998
30999 \begin_layout Standard
31000 or in the definition of 
31001 \series bold
31002
31003 \backslash
31004 FigBesBeg
31005 \series default
31006  by replacing the 
31007 \series bold
31008 1.0
31009 \series default
31010  with another value.
31011  If you do the latter, your factor will be the default if 
31012 \series bold
31013
31014 \backslash
31015 FigBesBeg
31016 \series default
31017  is used without an argument.
31018  For Table
31019 \begin_inset space ~
31020 \end_inset
31021
31022
31023 \begin_inset CommandInset ref
31024 LatexCommand ref
31025 reference "tab:cap-beside-tab-wider"
31026
31027 \end_inset
31028
31029  the factor 5 was used.
31030 \end_layout
31031
31032 \begin_layout Standard
31033 \begin_inset Note Greyedout
31034 status open
31035
31036 \begin_layout Plain Layout
31037
31038 \series bold
31039 Note:
31040 \series default
31041  For floats with captions set beside, you cannot use the float placement
31042  option 
31043 \family sans
31044 Here
31045 \begin_inset space ~
31046 \end_inset
31047
31048 definitely
31049 \family default
31050  because it is not supported by 
31051 \series bold
31052 sidecap
31053 \series default
31054 .
31055 \end_layout
31056
31057 \end_inset
31058
31059
31060 \end_layout
31061
31062 \begin_layout Standard
31063 \begin_inset VSpace medskip
31064 \end_inset
31065
31066 For more information about the package 
31067 \series bold
31068 sidecap
31069 \series default
31070  we refer to its documentation 
31071 \begin_inset CommandInset citation
31072 LatexCommand cite
31073 key "sidecap"
31074 literal "true"
31075
31076 \end_inset
31077
31078 .
31079 \end_layout
31080
31081 \begin_layout Standard
31082 \begin_inset Note Greyedout
31083 status open
31084
31085 \begin_layout Plain Layout
31086
31087 \series bold
31088 Note:
31089 \series default
31090  The \SpecialChar LaTeX
31091 -package 
31092 \series bold
31093 hypcap
31094 \series default
31095
31096 \begin_inset Index idx
31097 status collapsed
31098
31099 \begin_layout Plain Layout
31100 \SpecialChar LaTeX
31101 -packages ! hypcap
31102 \end_layout
31103
31104 \end_inset
31105
31106 , described in section
31107 \begin_inset space ~
31108 \end_inset
31109
31110
31111 \begin_inset CommandInset ref
31112 LatexCommand ref
31113 reference "subsec:Reference-Position"
31114
31115 \end_inset
31116
31117 , has no effect on floats with the caption set beside.
31118 \end_layout
31119
31120 \end_inset
31121
31122
31123 \end_layout
31124
31125 \begin_layout Standard
31126 \begin_inset ERT
31127 status collapsed
31128
31129 \begin_layout Plain Layout
31130
31131
31132 \backslash
31133 FigBesBeg
31134 \end_layout
31135
31136 \end_inset
31137
31138
31139 \end_layout
31140
31141 \begin_layout Standard
31142 \begin_inset Float figure
31143 placement document
31144 alignment document
31145 wide false
31146 sideways false
31147 status open
31148
31149 \begin_layout Plain Layout
31150 \begin_inset Graphics
31151         filename clipart/3D-structure-distort.pdf
31152         scale 50
31153         scaleBeforeRotation
31154
31155 \end_inset
31156
31157
31158 \end_layout
31159
31160 \begin_layout Plain Layout
31161 \begin_inset Caption Standard
31162
31163 \begin_layout Plain Layout
31164 \begin_inset CommandInset label
31165 LatexCommand label
31166 name "fig:cap-beside-fig"
31167
31168 \end_inset
31169
31170 This is a caption beside a figure.
31171 \end_layout
31172
31173 \end_inset
31174
31175
31176 \end_layout
31177
31178 \end_inset
31179
31180
31181 \end_layout
31182
31183 \begin_layout Standard
31184 \begin_inset ERT
31185 status collapsed
31186
31187 \begin_layout Plain Layout
31188
31189
31190 \backslash
31191 FigBesEnd
31192 \end_layout
31193
31194 \end_inset
31195
31196
31197 \end_layout
31198
31199 \begin_layout Standard
31200 \begin_inset ERT
31201 status collapsed
31202
31203 \begin_layout Plain Layout
31204
31205
31206 \backslash
31207 TabBesBeg
31208 \end_layout
31209
31210 \end_inset
31211
31212
31213 \end_layout
31214
31215 \begin_layout Standard
31216 \begin_inset Float table
31217 placement document
31218 alignment document
31219 wide false
31220 sideways false
31221 status open
31222
31223 \begin_layout Plain Layout
31224 \begin_inset Caption Standard
31225
31226 \begin_layout Plain Layout
31227 \begin_inset CommandInset label
31228 LatexCommand label
31229 name "tab:cap-beside-tab"
31230
31231 \end_inset
31232
31233 This is a caption beside a table.
31234 \end_layout
31235
31236 \end_inset
31237
31238
31239 \end_layout
31240
31241 \begin_layout Plain Layout
31242 \begin_inset Tabular
31243 <lyxtabular version="3" rows="4" columns="5">
31244 <features tabularvalignment="middle">
31245 <column alignment="center" valignment="top">
31246 <column alignment="center" valignment="top">
31247 <column alignment="center" valignment="top">
31248 <column alignment="center" valignment="top">
31249 <column alignment="center" valignment="top">
31250 <row>
31251 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31252 \begin_inset Text
31253
31254 \begin_layout Plain Layout
31255 a
31256 \end_layout
31257
31258 \end_inset
31259 </cell>
31260 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31261 \begin_inset Text
31262
31263 \begin_layout Plain Layout
31264
31265 \end_layout
31266
31267 \end_inset
31268 </cell>
31269 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31270 \begin_inset Text
31271
31272 \begin_layout Plain Layout
31273 b
31274 \end_layout
31275
31276 \end_inset
31277 </cell>
31278 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31279 \begin_inset Text
31280
31281 \begin_layout Plain Layout
31282
31283 \end_layout
31284
31285 \end_inset
31286 </cell>
31287 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31288 \begin_inset Text
31289
31290 \begin_layout Plain Layout
31291 c
31292 \end_layout
31293
31294 \end_inset
31295 </cell>
31296 </row>
31297 <row>
31298 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31299 \begin_inset Text
31300
31301 \begin_layout Plain Layout
31302
31303 \end_layout
31304
31305 \end_inset
31306 </cell>
31307 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31308 \begin_inset Text
31309
31310 \begin_layout Plain Layout
31311 d
31312 \end_layout
31313
31314 \end_inset
31315 </cell>
31316 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31317 \begin_inset Text
31318
31319 \begin_layout Plain Layout
31320
31321 \end_layout
31322
31323 \end_inset
31324 </cell>
31325 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31326 \begin_inset Text
31327
31328 \begin_layout Plain Layout
31329 e
31330 \end_layout
31331
31332 \end_inset
31333 </cell>
31334 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31335 \begin_inset Text
31336
31337 \begin_layout Plain Layout
31338
31339 \end_layout
31340
31341 \end_inset
31342 </cell>
31343 </row>
31344 <row>
31345 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31346 \begin_inset Text
31347
31348 \begin_layout Plain Layout
31349 f
31350 \end_layout
31351
31352 \end_inset
31353 </cell>
31354 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31355 \begin_inset Text
31356
31357 \begin_layout Plain Layout
31358
31359 \end_layout
31360
31361 \end_inset
31362 </cell>
31363 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31364 \begin_inset Text
31365
31366 \begin_layout Plain Layout
31367 g
31368 \end_layout
31369
31370 \end_inset
31371 </cell>
31372 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31373 \begin_inset Text
31374
31375 \begin_layout Plain Layout
31376
31377 \end_layout
31378
31379 \end_inset
31380 </cell>
31381 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31382 \begin_inset Text
31383
31384 \begin_layout Plain Layout
31385 h
31386 \end_layout
31387
31388 \end_inset
31389 </cell>
31390 </row>
31391 <row>
31392 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31393 \begin_inset Text
31394
31395 \begin_layout Plain Layout
31396
31397 \end_layout
31398
31399 \end_inset
31400 </cell>
31401 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31402 \begin_inset Text
31403
31404 \begin_layout Plain Layout
31405 i
31406 \end_layout
31407
31408 \end_inset
31409 </cell>
31410 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31411 \begin_inset Text
31412
31413 \begin_layout Plain Layout
31414
31415 \end_layout
31416
31417 \end_inset
31418 </cell>
31419 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31420 \begin_inset Text
31421
31422 \begin_layout Plain Layout
31423 j
31424 \end_layout
31425
31426 \end_inset
31427 </cell>
31428 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31429 \begin_inset Text
31430
31431 \begin_layout Plain Layout
31432
31433 \end_layout
31434
31435 \end_inset
31436 </cell>
31437 </row>
31438 </lyxtabular>
31439
31440 \end_inset
31441
31442
31443 \end_layout
31444
31445 \end_inset
31446
31447
31448 \end_layout
31449
31450 \begin_layout Standard
31451 \begin_inset ERT
31452 status collapsed
31453
31454 \begin_layout Plain Layout
31455
31456
31457 \backslash
31458 TabBesEnd
31459 \end_layout
31460
31461 \end_inset
31462
31463
31464 \end_layout
31465
31466 \begin_layout Standard
31467 \begin_inset ERT
31468 status collapsed
31469
31470 \begin_layout Plain Layout
31471
31472
31473 \backslash
31474 FigBesBeg
31475 \end_layout
31476
31477 \end_inset
31478
31479
31480 \begin_inset ERT
31481 status collapsed
31482
31483 \begin_layout Plain Layout
31484
31485
31486 \backslash
31487 sidecaptionvpos{figure}{c}
31488 \end_layout
31489
31490 \end_inset
31491
31492
31493 \begin_inset Float figure
31494 placement document
31495 alignment document
31496 wide false
31497 sideways false
31498 status open
31499
31500 \begin_layout Plain Layout
31501 \begin_inset Graphics
31502         filename clipart/3D-structure-distort.pdf
31503         scale 50
31504         scaleBeforeRotation
31505
31506 \end_inset
31507
31508
31509 \end_layout
31510
31511 \begin_layout Plain Layout
31512 \begin_inset Caption Standard
31513
31514 \begin_layout Plain Layout
31515 \begin_inset CommandInset label
31516 LatexCommand label
31517 name "fig:cap-beside-fig-2"
31518
31519 \end_inset
31520
31521 This is a vertically centered caption beside a figure.
31522 \end_layout
31523
31524 \end_inset
31525
31526
31527 \end_layout
31528
31529 \end_inset
31530
31531
31532 \end_layout
31533
31534 \begin_layout Standard
31535 \begin_inset ERT
31536 status collapsed
31537
31538 \begin_layout Plain Layout
31539
31540
31541 \backslash
31542 FigBesEnd
31543 \end_layout
31544
31545 \end_inset
31546
31547
31548 \end_layout
31549
31550 \begin_layout Standard
31551 \begin_inset ERT
31552 status collapsed
31553
31554 \begin_layout Plain Layout
31555
31556
31557 \backslash
31558 TabBesBeg[5]
31559 \end_layout
31560
31561 \end_inset
31562
31563
31564 \end_layout
31565
31566 \begin_layout Standard
31567 \begin_inset Float table
31568 placement document
31569 alignment document
31570 wide false
31571 sideways false
31572 status open
31573
31574 \begin_layout Plain Layout
31575 \begin_inset Caption Standard
31576
31577 \begin_layout Plain Layout
31578 \begin_inset CommandInset label
31579 LatexCommand label
31580 name "tab:cap-beside-tab-wider"
31581
31582 \end_inset
31583
31584 This caption is wider than the one in Table
31585 \begin_inset space ~
31586 \end_inset
31587
31588
31589 \begin_inset CommandInset ref
31590 LatexCommand ref
31591 reference "tab:cap-beside-tab"
31592
31593 \end_inset
31594
31595 .
31596 \end_layout
31597
31598 \end_inset
31599
31600
31601 \end_layout
31602
31603 \begin_layout Plain Layout
31604 \begin_inset Tabular
31605 <lyxtabular version="3" rows="4" columns="5">
31606 <features tabularvalignment="middle">
31607 <column alignment="center" valignment="top">
31608 <column alignment="center" valignment="top">
31609 <column alignment="center" valignment="top">
31610 <column alignment="center" valignment="top">
31611 <column alignment="center" valignment="top">
31612 <row>
31613 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31614 \begin_inset Text
31615
31616 \begin_layout Plain Layout
31617 a
31618 \end_layout
31619
31620 \end_inset
31621 </cell>
31622 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31623 \begin_inset Text
31624
31625 \begin_layout Plain Layout
31626
31627 \end_layout
31628
31629 \end_inset
31630 </cell>
31631 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31632 \begin_inset Text
31633
31634 \begin_layout Plain Layout
31635 b
31636 \end_layout
31637
31638 \end_inset
31639 </cell>
31640 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31641 \begin_inset Text
31642
31643 \begin_layout Plain Layout
31644
31645 \end_layout
31646
31647 \end_inset
31648 </cell>
31649 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31650 \begin_inset Text
31651
31652 \begin_layout Plain Layout
31653 c
31654 \end_layout
31655
31656 \end_inset
31657 </cell>
31658 </row>
31659 <row>
31660 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31661 \begin_inset Text
31662
31663 \begin_layout Plain Layout
31664
31665 \end_layout
31666
31667 \end_inset
31668 </cell>
31669 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31670 \begin_inset Text
31671
31672 \begin_layout Plain Layout
31673 d
31674 \end_layout
31675
31676 \end_inset
31677 </cell>
31678 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31679 \begin_inset Text
31680
31681 \begin_layout Plain Layout
31682
31683 \end_layout
31684
31685 \end_inset
31686 </cell>
31687 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31688 \begin_inset Text
31689
31690 \begin_layout Plain Layout
31691 e
31692 \end_layout
31693
31694 \end_inset
31695 </cell>
31696 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31697 \begin_inset Text
31698
31699 \begin_layout Plain Layout
31700
31701 \end_layout
31702
31703 \end_inset
31704 </cell>
31705 </row>
31706 <row>
31707 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31708 \begin_inset Text
31709
31710 \begin_layout Plain Layout
31711 f
31712 \end_layout
31713
31714 \end_inset
31715 </cell>
31716 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31717 \begin_inset Text
31718
31719 \begin_layout Plain Layout
31720
31721 \end_layout
31722
31723 \end_inset
31724 </cell>
31725 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31726 \begin_inset Text
31727
31728 \begin_layout Plain Layout
31729 g
31730 \end_layout
31731
31732 \end_inset
31733 </cell>
31734 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31735 \begin_inset Text
31736
31737 \begin_layout Plain Layout
31738
31739 \end_layout
31740
31741 \end_inset
31742 </cell>
31743 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31744 \begin_inset Text
31745
31746 \begin_layout Plain Layout
31747 h
31748 \end_layout
31749
31750 \end_inset
31751 </cell>
31752 </row>
31753 <row>
31754 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31755 \begin_inset Text
31756
31757 \begin_layout Plain Layout
31758
31759 \end_layout
31760
31761 \end_inset
31762 </cell>
31763 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31764 \begin_inset Text
31765
31766 \begin_layout Plain Layout
31767 i
31768 \end_layout
31769
31770 \end_inset
31771 </cell>
31772 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31773 \begin_inset Text
31774
31775 \begin_layout Plain Layout
31776
31777 \end_layout
31778
31779 \end_inset
31780 </cell>
31781 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31782 \begin_inset Text
31783
31784 \begin_layout Plain Layout
31785 j
31786 \end_layout
31787
31788 \end_inset
31789 </cell>
31790 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31791 \begin_inset Text
31792
31793 \begin_layout Plain Layout
31794
31795 \end_layout
31796
31797 \end_inset
31798 </cell>
31799 </row>
31800 </lyxtabular>
31801
31802 \end_inset
31803
31804
31805 \end_layout
31806
31807 \end_inset
31808
31809
31810 \end_layout
31811
31812 \begin_layout Standard
31813 \begin_inset ERT
31814 status collapsed
31815
31816 \begin_layout Plain Layout
31817
31818
31819 \backslash
31820 TabBesEnd
31821 \end_layout
31822
31823 \end_inset
31824
31825
31826 \end_layout
31827
31828 \begin_layout Standard
31829 \begin_inset ERT
31830 status collapsed
31831
31832 \begin_layout Plain Layout
31833
31834
31835 \backslash
31836 else
31837 \end_layout
31838
31839 \end_inset
31840
31841
31842 \begin_inset Note Note
31843 status open
31844
31845 \begin_layout Plain Layout
31846 The following will be displayed when the \SpecialChar LaTeX
31847 -package 
31848 \series bold
31849 sidecap
31850 \series default
31851  is not installed:
31852 \end_layout
31853
31854 \end_inset
31855
31856
31857 \end_layout
31858
31859 \begin_layout Standard
31860 You need to install the \SpecialChar LaTeX
31861 -package 
31862 \series bold
31863 sidecap
31864 \series default
31865  to see the following part of this section in the output.
31866 \end_layout
31867
31868 \begin_layout Standard
31869 \begin_inset ERT
31870 status collapsed
31871
31872 \begin_layout Plain Layout
31873
31874
31875 \backslash
31876 fi
31877 \end_layout
31878
31879 \end_inset
31880
31881
31882 \end_layout
31883
31884 \begin_layout Section
31885 Listings of Floats
31886 \begin_inset Index idx
31887 status collapsed
31888
31889 \begin_layout Plain Layout
31890 Floats ! Float Lists
31891 \end_layout
31892
31893 \end_inset
31894
31895
31896 \end_layout
31897
31898 \begin_layout Standard
31899 Similar to the table of contents where the sections of the document are
31900  listed, there are listings for all float types, like the figures of the
31901  documents.
31902  You can insert them via the 
31903 \family sans
31904 Insert\SpecialChar menuseparator
31905 List
31906 \begin_inset space ~
31907 \end_inset
31908
31909 /
31910 \begin_inset space ~
31911 \end_inset
31912
31913 TOC
31914 \family default
31915  sub menus.
31916 \end_layout
31917
31918 \begin_layout Standard
31919 The list entries are the float captions or its short title, the float number,
31920  and the page number where they appear in the document.
31921 \end_layout
31922
31923 \begin_layout Standard
31924 You can find the list of figures and tables at the end of this document.
31925 \end_layout
31926
31927 \begin_layout Chapter
31928 Notes
31929 \end_layout
31930
31931 \begin_layout Section
31932 \SpecialChar LyX
31933  Notes
31934 \begin_inset Index idx
31935 status collapsed
31936
31937 \begin_layout Plain Layout
31938 Notes ! \SpecialChar LyX
31939  Notes
31940 \end_layout
31941
31942 \end_inset
31943
31944
31945 \end_layout
31946
31947 \begin_layout Standard
31948 Notes are inserted with the toolbar button 
31949 \begin_inset Info
31950 type  "icon"
31951 arg   "note-insert"
31952 \end_inset
31953
31954  or the menu 
31955 \family sans
31956 Insert\SpecialChar menuseparator
31957 Note
31958 \family default
31959 .
31960  There are three types of notes:
31961 \end_layout
31962
31963 \begin_layout Description
31964 \SpecialChar LyX
31965
31966 \begin_inset space ~
31967 \end_inset
31968
31969 Note This note type is for internal notes that won't appear in the output.
31970  Its note-box looks like this:
31971 \begin_inset Newline newline
31972 \end_inset
31973
31974
31975 \begin_inset Newline newline
31976 \end_inset
31977
31978
31979 \begin_inset Graphics
31980         filename clipart/LyXNoteImage.png
31981         display false
31982         scaleBeforeRotation
31983
31984 \end_inset
31985
31986  
31987 \begin_inset Note Note
31988 status open
31989
31990 \begin_layout Plain Layout
31991 This is text in a note box that doesn't appear in the output.
31992 \end_layout
31993
31994 \end_inset
31995
31996
31997 \end_layout
31998
31999 \begin_layout Description
32000 Comment This note also doesn't appear in the output but it appears as \SpecialChar LaTeX
32001 -comment,
32002  when you export the document to \SpecialChar LaTeX
32003  via the menu 
32004 \family sans
32005 File\SpecialChar menuseparator
32006 Export\SpecialChar menuseparator
32007 LaTeX
32008 \begin_inset space ~
32009 \end_inset
32010
32011 (pdflatex) / (plain)
32012 \family default
32013 .
32014  Its note-box looks like this:
32015 \begin_inset Newline newline
32016 \end_inset
32017
32018
32019 \begin_inset Newline newline
32020 \end_inset
32021
32022
32023 \begin_inset Graphics
32024         filename clipart/CommentNoteImage.png
32025         display false
32026         scaleBeforeRotation
32027
32028 \end_inset
32029
32030  
32031 \begin_inset Note Comment
32032 status open
32033
32034 \begin_layout Plain Layout
32035 This is text in a note box that only appears as comment in \SpecialChar LaTeX
32036 -files.
32037 \end_layout
32038
32039 \end_inset
32040
32041
32042 \end_layout
32043
32044 \begin_layout Description
32045 Greyed
32046 \begin_inset space ~
32047 \end_inset
32048
32049 Out This note will appear in the output as grey text.
32050  Its note-box looks like this:
32051 \begin_inset Newline newline
32052 \end_inset
32053
32054
32055 \begin_inset Newline newline
32056 \end_inset
32057
32058
32059 \begin_inset Graphics
32060         filename clipart/GreyedOutNoteImage.png
32061         display false
32062         scaleBeforeRotation
32063
32064 \end_inset
32065
32066
32067 \begin_inset Newline newline
32068 \end_inset
32069
32070
32071 \begin_inset ERT
32072 status collapsed
32073
32074 \begin_layout Plain Layout
32075
32076
32077 \backslash
32078 renewenvironment{lyxgreyedout}
32079 \end_layout
32080
32081 \begin_layout Plain Layout
32082
32083 {
32084 \backslash
32085 textcolor[gray]{0.8}
32086 \backslash
32087 bgroup}{
32088 \backslash
32089 egroup}
32090 \end_layout
32091
32092 \end_inset
32093
32094
32095 \begin_inset Note Greyedout
32096 status open
32097
32098 \begin_layout Plain Layout
32099 This is text of a comment that appears grey in the output.
32100 \end_layout
32101
32102 \end_inset
32103
32104
32105 \begin_inset ERT
32106 status collapsed
32107
32108 \begin_layout Plain Layout
32109
32110
32111 \backslash
32112 renewenvironment{lyxgreyedout}
32113 \end_layout
32114
32115 \begin_layout Plain Layout
32116
32117 {
32118 \backslash
32119 textcolor{blue}
32120 \backslash
32121 bgroup}{
32122 \backslash
32123 egroup}
32124 \end_layout
32125
32126 \end_inset
32127
32128
32129 \begin_inset Note Note
32130 status collapsed
32131
32132 \begin_layout Plain Layout
32133 The greyed out note is here redefined to show it with the original \SpecialChar LyX
32134  definition
32135  because greyed out notes are redefined in the preamble of this document,
32136  as described below, to have blue text.
32137 \end_layout
32138
32139 \end_inset
32140
32141
32142 \begin_inset Newline newline
32143 \end_inset
32144
32145
32146 \begin_inset Newline newline
32147 \end_inset
32148
32149 As you can see in the example, the first line of greyed out notes is a bit
32150  indented and greyed out notes can have footnotes.
32151 \end_layout
32152
32153 \begin_layout Standard
32154 \begin_inset VSpace bigskip
32155 \end_inset
32156
32157 When you use the toolbar button 
32158 \begin_inset Info
32159 type  "icon"
32160 arg   "note-insert"
32161 \end_inset
32162
32163  to insert notes, a 
32164 \family sans
32165 \SpecialChar LyX
32166
32167 \begin_inset space ~
32168 \end_inset
32169
32170 Note
32171 \family default
32172  is inserted.
32173  You can switch between the three note types by right-clicking on the note-box.
32174  
32175 \family roman
32176 \series medium
32177 \bar no
32178 If you want to turn existing text into a note, mark it and click on the
32179  note
32180 \family default
32181 \series default
32182 \bar default
32183  toolbar 
32184 \family roman
32185 \series medium
32186 \bar no
32187 button
32188 \family default
32189 \series default
32190 \bar default
32191 .
32192  To change a note to text, press the backspace key when the cursor is in
32193  the first position of a note, or press the delete key when the cursor is
32194  in the very last position of the note, respectively.
32195 \end_layout
32196
32197 \begin_layout Standard
32198 \begin_inset VSpace bigskip
32199 \end_inset
32200
32201 You can change the text color of the greyed out notes in the menu 
32202 \family sans
32203 Document\SpecialChar menuseparator
32204 Settings\SpecialChar menuseparator
32205 Colors
32206 \family default
32207 .
32208 \end_layout
32209
32210 \begin_layout Section
32211 Footnotes
32212 \begin_inset CommandInset label
32213 LatexCommand label
32214 name "sec:Footnotes"
32215
32216 \end_inset
32217
32218
32219 \begin_inset Index idx
32220 status collapsed
32221
32222 \begin_layout Plain Layout
32223 Notes ! Footnotes
32224 \end_layout
32225
32226 \end_inset
32227
32228
32229 \begin_inset Index idx
32230 status collapsed
32231
32232 \begin_layout Plain Layout
32233 Footnotes
32234 \end_layout
32235
32236 \end_inset
32237
32238
32239 \end_layout
32240
32241 \begin_layout Standard
32242 Footnotes can be inserted using the toolbar button 
32243 \begin_inset Info
32244 type  "icon"
32245 arg   "footnote-insert"
32246 \end_inset
32247
32248  or the menu 
32249 \family sans
32250 Insert\SpecialChar menuseparator
32251 Footnote
32252 \family default
32253 .
32254  You will then see the following footnote-box: 
32255 \begin_inset Graphics
32256         filename clipart/footnote.png
32257         scale 95
32258         scaleBeforeRotation
32259
32260 \end_inset
32261
32262  
32263 \family roman
32264 \series medium
32265 \bar no
32266 where you can enter the footnote text.
32267  If you want to turn existing text into a footnote, mark it and click on
32268  the footnote
32269 \family default
32270 \series default
32271 \bar default
32272  toolbar 
32273 \family roman
32274 \series medium
32275 \bar no
32276 button
32277 \family default
32278 \series default
32279 \bar default
32280 .
32281  To change a 
32282 \family roman
32283 \series medium
32284 \bar no
32285 footnote
32286 \family default
32287 \series default
32288 \bar default
32289  to text, press the 
32290 \family sans
32291 Backspace
32292 \family default
32293  key when the cursor is in the first position of a 
32294 \family roman
32295 \series medium
32296 \bar no
32297 footnote
32298 \family default
32299 \series default
32300 \bar default
32301 , or press the 
32302 \family sans
32303 Delete
32304 \family default
32305  key when the cursor is in the very last position of the 
32306 \family roman
32307 \series medium
32308 \bar no
32309 footnote
32310 \family default
32311 \series default
32312 \bar default
32313 , respectively.
32314 \end_layout
32315
32316 \begin_layout Standard
32317 Here is an example footnote:
32318 \family roman
32319 \series medium
32320 \bar no
32321
32322 \begin_inset Foot
32323 status open
32324
32325 \begin_layout Plain Layout
32326 \begin_inset CommandInset label
32327 LatexCommand label
32328 name "foot:This-is-an"
32329
32330 \end_inset
32331
32332 This is an example footnote.
32333 \end_layout
32334
32335 \end_inset
32336
32337
32338 \family default
32339 \series default
32340 \bar default
32341
32342 \begin_inset ERT
32343 status collapsed
32344
32345 \begin_layout Plain Layout
32346
32347
32348 \backslash
32349 newcounter{MyRepeatFoot}
32350 \end_layout
32351
32352 \begin_layout Plain Layout
32353
32354
32355 \backslash
32356 setcounter{MyRepeatFoot}{
32357 \backslash
32358 thefootnote}
32359 \end_layout
32360
32361 \end_inset
32362
32363
32364 \end_layout
32365
32366 \begin_layout Standard
32367 The footnote will appear in the output as a superscript number at the text
32368  position where the footnote box is placed.
32369  The footnote text is placed at the bottom of the current page.
32370  The footnote number is calculated by \SpecialChar LaTeX
32371 ; the numbers are consecutive.
32372  Whether the footnote number is reset for every chapter depends on your
32373  document class.
32374 \end_layout
32375
32376 \begin_layout Standard
32377 Footnotes can be referenced like floats: Insert a label into the footnote
32378  and cross-reference this label in the text as described in section
32379 \begin_inset space ~
32380 \end_inset
32381
32382
32383 \begin_inset CommandInset ref
32384 LatexCommand ref
32385 reference "sec:Referencing-Floats"
32386
32387 \end_inset
32388
32389 .
32390 \begin_inset Newline newline
32391 \end_inset
32392
32393 This is a cross-reference of Footnote
32394 \begin_inset space ~
32395 \end_inset
32396
32397
32398 \begin_inset CommandInset ref
32399 LatexCommand ref
32400 reference "foot:This-is-an"
32401
32402 \end_inset
32403
32404 .
32405 \end_layout
32406
32407 \begin_layout Standard
32408 \begin_inset VSpace defskip
32409 \end_inset
32410
32411 Footnotes in title environments are usually not numbered with symbols and
32412  they cannot contain several paragraphs.
32413  See for example the footnote in the titling of this document.
32414 \end_layout
32415
32416 \begin_layout Standard
32417 Footnotes in multi-page tables are described in section
32418 \begin_inset space ~
32419 \end_inset
32420
32421
32422 \begin_inset CommandInset ref
32423 LatexCommand ref
32424 reference "subsec:Footnotes-in-Multi-page"
32425
32426 \end_inset
32427
32428 .
32429 \end_layout
32430
32431 \begin_layout Standard
32432 \begin_inset VSpace defskip
32433 \end_inset
32434
32435
32436 \end_layout
32437
32438 \begin_layout Standard
32439 Footnotes in minipage boxes are printed, but inside the box and with a different
32440  numbering because a minipage box is like a page inside a page.
32441  (For more about minipages, see section
32442 \begin_inset space ~
32443 \end_inset
32444
32445
32446 \begin_inset CommandInset ref
32447 LatexCommand ref
32448 reference "sec:Minipages"
32449
32450 \end_inset
32451
32452 .) To get a footnote in the minipage that is output at the bottom of the
32453  page like normal footnotes use this method: Instead of the footnote the
32454  command 
32455 \series bold
32456
32457 \backslash
32458 footnotemark{}
32459 \series default
32460  is inserted as \SpecialChar TeX
32461  code.
32462  The text of the footnote is entered as an argument of the \SpecialChar TeX
32463  code command
32464  
32465 \series bold
32466
32467 \backslash
32468 footnotetext
32469 \series default
32470  after the minipage.
32471 \begin_inset Newline newline
32472 \end_inset
32473
32474 This was done for the following minipage with the command
32475 \end_layout
32476
32477 \begin_layout Standard
32478
32479 \series bold
32480
32481 \backslash
32482 footnotetext{
32483 \series default
32484 Footnote outside the minipage.
32485 \series bold
32486 }
32487 \end_layout
32488
32489 \begin_layout Standard
32490 \begin_inset Box Frameless
32491 position "t"
32492 hor_pos "c"
32493 has_inner_box 1
32494 inner_pos "t"
32495 use_parbox 0
32496 use_makebox 0
32497 width "100col%"
32498 special "none"
32499 height "1in"
32500 height_special "totalheight"
32501 thickness "0.4pt"
32502 separation "3pt"
32503 shadowsize "4pt"
32504 framecolor "black"
32505 backgroundcolor "none"
32506 status open
32507
32508 \begin_layout Plain Layout
32509 This an example text in a minipage.
32510 \begin_inset Foot
32511 status open
32512
32513 \begin_layout Plain Layout
32514 Footnote in the minipage.
32515 \end_layout
32516
32517 \end_inset
32518
32519
32520 \end_layout
32521
32522 \begin_layout Plain Layout
32523 This an example text in a minipage.
32524 \begin_inset ERT
32525 status collapsed
32526
32527 \begin_layout Plain Layout
32528
32529
32530 \backslash
32531 footnotemark{}
32532 \end_layout
32533
32534 \end_inset
32535
32536
32537 \end_layout
32538
32539 \end_inset
32540
32541
32542 \end_layout
32543
32544 \begin_layout Standard
32545 \begin_inset ERT
32546 status collapsed
32547
32548 \begin_layout Plain Layout
32549
32550
32551 \backslash
32552 footnotetext{
32553 \end_layout
32554
32555 \end_inset
32556
32557 Footnote outside the minipage.
32558 \begin_inset ERT
32559 status collapsed
32560
32561 \begin_layout Plain Layout
32562
32563 }
32564 \end_layout
32565
32566 \end_inset
32567
32568
32569 \end_layout
32570
32571 \begin_layout Standard
32572 \begin_inset VSpace defskip
32573 \end_inset
32574
32575
32576 \end_layout
32577
32578 \begin_layout Standard
32579 To refer to the same footnote several times without printing the footnote
32580  text every time, use the command 
32581 \series bold
32582
32583 \backslash
32584 footnotemark[number]
32585 \series default
32586  in \SpecialChar TeX
32587  code.
32588 \begin_inset Newline newline
32589 \end_inset
32590
32591 As you do not know the number of the repeating footnote while you are writing
32592  the text, you have to store its number.
32593  For the following footnote mark example, these commands were inserted in
32594  \SpecialChar TeX
32595  code after Footnote
32596 \begin_inset space ~
32597 \end_inset
32598
32599
32600 \begin_inset CommandInset ref
32601 LatexCommand ref
32602 reference "foot:This-is-an"
32603
32604 \end_inset
32605
32606  to store the footnote number:
32607 \end_layout
32608
32609 \begin_layout Standard
32610
32611 \series bold
32612
32613 \backslash
32614 newcounter{MyRepeatFoot}
32615 \begin_inset Newline newline
32616 \end_inset
32617
32618
32619 \backslash
32620 setcounter{MyRepeatFoot}{
32621 \backslash
32622 thefootnote}
32623 \end_layout
32624
32625 \begin_layout Standard
32626 The footnote mark was then created with this command:
32627 \end_layout
32628
32629 \begin_layout Standard
32630
32631 \series bold
32632
32633 \backslash
32634 footnotemark[
32635 \backslash
32636 theMyRepeatFoot]
32637 \end_layout
32638
32639 \begin_layout Standard
32640 Here is a repeated footnote:
32641 \family roman
32642 \series medium
32643 \bar no
32644
32645 \begin_inset ERT
32646 status collapsed
32647
32648 \begin_layout Plain Layout
32649
32650
32651 \backslash
32652 footnotemark[
32653 \backslash
32654 theMyRepeatFoot]
32655 \end_layout
32656
32657 \end_inset
32658
32659
32660 \end_layout
32661
32662 \begin_layout Standard
32663 If you want to repeat the previous footnote, you can omit the storage of
32664  the footnote number and just use this command instead:
32665 \end_layout
32666
32667 \begin_layout Standard
32668
32669 \series bold
32670
32671 \backslash
32672 footnotemark[
32673 \backslash
32674 thefootnote]
32675 \end_layout
32676
32677 \begin_layout Standard
32678 Here is another repeated footnote:
32679 \family roman
32680 \series medium
32681 \bar no
32682
32683 \begin_inset ERT
32684 status collapsed
32685
32686 \begin_layout Plain Layout
32687
32688
32689 \backslash
32690 footnotemark[
32691 \backslash
32692 thefootnote]
32693 \end_layout
32694
32695 \end_inset
32696
32697
32698 \end_layout
32699
32700 \begin_layout Subsection
32701 Footnote Numbering
32702 \begin_inset CommandInset label
32703 LatexCommand label
32704 name "subsec:Footnote-Numbering"
32705
32706 \end_inset
32707
32708
32709 \begin_inset Index idx
32710 status collapsed
32711
32712 \begin_layout Plain Layout
32713 Footnotes ! Numbering
32714 \end_layout
32715
32716 \end_inset
32717
32718
32719 \end_layout
32720
32721 \begin_layout Standard
32722 To reset the footnote number back to 1 after each section
32723 \family roman
32724 , add this command to your document preamble:
32725 \end_layout
32726
32727 \begin_layout Standard
32728
32729 \series bold
32730
32731 \backslash
32732 @addtoreset{footnote}{section}
32733 \end_layout
32734
32735 \begin_layout Standard
32736 \begin_inset VSpace bigskip
32737 \end_inset
32738
32739 The following preamble command changes the footnote numbering style to small
32740  roman numerals:
32741 \end_layout
32742
32743 \begin_layout Standard
32744
32745 \series bold
32746
32747 \backslash
32748 renewcommand{
32749 \backslash
32750 thefootnote}{
32751 \backslash
32752 roman{footnote}}
32753 \end_layout
32754
32755 \begin_layout Standard
32756 \begin_inset ERT
32757 status collapsed
32758
32759 \begin_layout Plain Layout
32760
32761
32762 \backslash
32763 renewcommand{
32764 \backslash
32765 thefootnote}{
32766 \backslash
32767 roman{footnote}}
32768 \end_layout
32769
32770 \end_inset
32771
32772  This is a footnote with roman numbering:
32773 \begin_inset Foot
32774 status open
32775
32776 \begin_layout Plain Layout
32777 This is an example footnote with roman numbering.
32778 \end_layout
32779
32780 \end_inset
32781
32782
32783 \end_layout
32784
32785 \begin_layout Standard
32786 To change the numbering style to capital roman numerals replace in the command
32787  above 
32788 \series bold
32789
32790 \backslash
32791 roman
32792 \series default
32793  by 
32794 \series bold
32795
32796 \backslash
32797 Roman
32798 \series default
32799 .
32800  To 
32801 \begin_inset Quotes eld
32802 \end_inset
32803
32804 number
32805 \begin_inset Quotes erd
32806 \end_inset
32807
32808  footnotes with capital or small Latin letters use 
32809 \series bold
32810
32811 \backslash
32812 Alph
32813 \series default
32814  or 
32815 \series bold
32816
32817 \backslash
32818 alph
32819 \series default
32820 , respectively.
32821  To 
32822 \begin_inset Quotes eld
32823 \end_inset
32824
32825 number
32826 \begin_inset Quotes erd
32827 \end_inset
32828
32829  footnotes with symbols use 
32830 \series bold
32831
32832 \backslash
32833 fnsymbol
32834 \series default
32835 .
32836 \end_layout
32837
32838 \begin_layout Standard
32839 \begin_inset Note Greyedout
32840 status open
32841
32842 \begin_layout Plain Layout
32843
32844 \series bold
32845 Note:
32846 \series default
32847  You can only number 26 footnotes with Latin letters, because this numbering
32848  is limited to single letters.
32849 \end_layout
32850
32851 \end_inset
32852
32853
32854 \begin_inset Newline newline
32855 \end_inset
32856
32857
32858 \begin_inset Note Greyedout
32859 status open
32860
32861 \begin_layout Plain Layout
32862
32863 \series bold
32864 Note:
32865 \series default
32866  You can only number 9 footnotes with symbols.
32867 \end_layout
32868
32869 \end_inset
32870
32871
32872 \end_layout
32873
32874 \begin_layout Standard
32875 To return to the default numbering style after you have changed to another
32876  one, use 
32877 \series bold
32878
32879 \backslash
32880 arabic
32881 \series default
32882  instead of 
32883 \series bold
32884
32885 \backslash
32886 roman
32887 \series default
32888  in the command above.
32889 \begin_inset ERT
32890 status collapsed
32891
32892 \begin_layout Plain Layout
32893
32894
32895 \backslash
32896 renewcommand{
32897 \backslash
32898 thefootnote}{
32899 \backslash
32900 arabic{footnote}}
32901 \end_layout
32902
32903 \end_inset
32904
32905
32906 \end_layout
32907
32908 \begin_layout Standard
32909 \begin_inset VSpace bigskip
32910 \end_inset
32911
32912
32913 \end_layout
32914
32915 \begin_layout Standard
32916 If you want to have footnotes numbered in the scheme 
32917 \begin_inset Quotes eld
32918 \end_inset
32919
32920 chapter.footnote
32921 \begin_inset Quotes erd
32922 \end_inset
32923
32924 , add the following command to your document preamble:
32925 \end_layout
32926
32927 \begin_layout Standard
32928
32929 \series bold
32930
32931 \backslash
32932 numberwithin{footnote}{chapter}
32933 \end_layout
32934
32935 \begin_layout Standard
32936 To be able to use the command 
32937 \series bold
32938
32939 \backslash
32940 numberwithin
32941 \series default
32942 , set in the tab 
32943 \family sans
32944 Math
32945 \begin_inset space ~
32946 \end_inset
32947
32948 Options
32949 \family default
32950  in the document settings the option 
32951 \family sans
32952 Use
32953 \begin_inset space ~
32954 \end_inset
32955
32956 AMS
32957 \begin_inset space ~
32958 \end_inset
32959
32960 math
32961 \begin_inset space ~
32962 \end_inset
32963
32964 package
32965 \family default
32966 .
32967 \end_layout
32968
32969 \begin_layout Standard
32970 \begin_inset ERT
32971 status collapsed
32972
32973 \begin_layout Plain Layout
32974
32975
32976 \backslash
32977 numberwithin{footnote}{chapter}
32978 \end_layout
32979
32980 \end_inset
32981
32982 This is another example footnote:
32983 \series bold
32984
32985 \begin_inset Foot
32986 status open
32987
32988 \begin_layout Plain Layout
32989 This is a footnote numbered in the scheme 
32990 \begin_inset Quotes eld
32991 \end_inset
32992
32993 chapter.footnote
32994 \begin_inset Quotes erd
32995 \end_inset
32996
32997 .
32998 \end_layout
32999
33000 \end_inset
33001
33002
33003 \series default
33004
33005 \begin_inset ERT
33006 status collapsed
33007
33008 \begin_layout Plain Layout
33009
33010
33011 \backslash
33012 renewcommand{
33013 \backslash
33014 thefootnote}{
33015 \backslash
33016 arabic{footnote}}
33017 \end_layout
33018
33019 \end_inset
33020
33021
33022 \end_layout
33023
33024 \begin_layout Standard
33025 \begin_inset Note Greyedout
33026 status open
33027
33028 \begin_layout Plain Layout
33029
33030 \series bold
33031 Note:
33032 \series default
33033  
33034 \series bold
33035
33036 \backslash
33037 numberwithin
33038 \series default
33039  always prints out the footnote number as arabic number; previous redefinitions
33040  to get non-arabic numbers are overwritten.
33041 \end_layout
33042
33043 \end_inset
33044
33045
33046 \end_layout
33047
33048 \begin_layout Standard
33049 So to get for example the scheme 
33050 \begin_inset Quotes eld
33051 \end_inset
33052
33053 chapter.
33054 \backslash
33055 Roman{footnote}
33056 \begin_inset Quotes erd
33057 \end_inset
33058
33059 , use this command instead of 
33060 \series bold
33061
33062 \backslash
33063 numberwithin
33064 \series default
33065 :
33066 \end_layout
33067
33068 \begin_layout Standard
33069
33070 \series bold
33071
33072 \backslash
33073 renewcommand{
33074 \backslash
33075 thefootnote}{
33076 \backslash
33077 thechapter.
33078 \backslash
33079 Roman{footnote}}
33080 \end_layout
33081
33082 \begin_layout Subsection
33083 Footnote Placement
33084 \begin_inset Index idx
33085 status collapsed
33086
33087 \begin_layout Plain Layout
33088 Footnotes ! Placement
33089 \end_layout
33090
33091 \end_inset
33092
33093
33094 \end_layout
33095
33096 \begin_layout Standard
33097 If you have several footnotes in one page, they appear without vertical
33098  space between them at the bottom of the page.
33099  To make them more readable you can e.
33100 \begin_inset space \thinspace{}
33101 \end_inset
33102
33103 g.
33104 \begin_inset space \space{}
33105 \end_inset
33106
33107 add 1.5
33108 \begin_inset space \thinspace{}
33109 \end_inset
33110
33111 mm space with the following preamble command:
33112 \end_layout
33113
33114 \begin_layout Standard
33115
33116 \series bold
33117
33118 \backslash
33119 let
33120 \backslash
33121 myFoot
33122 \backslash
33123 footnote
33124 \begin_inset Newline newline
33125 \end_inset
33126
33127
33128 \backslash
33129 renewcommand{
33130 \backslash
33131 footnote}[1]{
33132 \backslash
33133 myFoot{#1
33134 \backslash
33135 vspace{1.5mm}}}
33136 \end_layout
33137
33138 \begin_layout Standard
33139 \begin_inset VSpace bigskip
33140 \end_inset
33141
33142 In a two-column document the footnotes appear at the bottom of every column,
33143  see Figure
33144 \begin_inset space ~
33145 \end_inset
33146
33147
33148 \begin_inset CommandInset ref
33149 LatexCommand ref
33150 reference "fig:Standard-footnote-placement"
33151
33152 \end_inset
33153
33154 .
33155  If the footnotes should only appear at the bottom of the right column,
33156  as in Figure
33157 \begin_inset space ~
33158 \end_inset
33159
33160
33161 \begin_inset CommandInset ref
33162 LatexCommand ref
33163 reference "fig:Footnote-placement-in"
33164
33165 \end_inset
33166
33167 , use the \SpecialChar LaTeX
33168 -package 
33169 \series bold
33170 ftnright
33171 \series default
33172
33173 \begin_inset Index idx
33174 status collapsed
33175
33176 \begin_layout Plain Layout
33177 \SpecialChar LaTeX
33178 -packages ! ftnright
33179 \end_layout
33180
33181 \end_inset
33182
33183  with this command in the document preamble:
33184 \end_layout
33185
33186 \begin_layout Standard
33187
33188 \series bold
33189
33190 \backslash
33191 usepackage{ftnright}
33192 \end_layout
33193
33194 \begin_layout Standard
33195 \begin_inset Float figure
33196 placement !h
33197 alignment document
33198 wide false
33199 sideways false
33200 status open
33201
33202 \begin_layout Plain Layout
33203 \noindent
33204 \align center
33205 \begin_inset Box Boxed
33206 position "t"
33207 hor_pos "c"
33208 has_inner_box 0
33209 inner_pos "t"
33210 use_parbox 0
33211 use_makebox 0
33212 width ""
33213 special "none"
33214 height "1in"
33215 height_special "totalheight"
33216 thickness "0.4pt"
33217 separation "3pt"
33218 shadowsize "4pt"
33219 framecolor "black"
33220 backgroundcolor "none"
33221 status open
33222
33223 \begin_layout Plain Layout
33224 \begin_inset Graphics
33225         filename clipart/without_fntright.pdf
33226         width 100col%
33227         scaleBeforeRotation
33228
33229 \end_inset
33230
33231
33232 \end_layout
33233
33234 \end_inset
33235
33236
33237 \end_layout
33238
33239 \begin_layout Plain Layout
33240 \begin_inset Caption Standard
33241
33242 \begin_layout Plain Layout
33243 \begin_inset CommandInset label
33244 LatexCommand label
33245 name "fig:Standard-footnote-placement"
33246
33247 \end_inset
33248
33249 Standard footnote placement in two-column documents.
33250 \end_layout
33251
33252 \end_inset
33253
33254
33255 \end_layout
33256
33257 \end_inset
33258
33259
33260 \end_layout
33261
33262 \begin_layout Standard
33263 \begin_inset Float figure
33264 placement !h
33265 alignment document
33266 wide false
33267 sideways false
33268 status open
33269
33270 \begin_layout Plain Layout
33271 \noindent
33272 \align center
33273 \begin_inset Box Boxed
33274 position "t"
33275 hor_pos "c"
33276 has_inner_box 0
33277 inner_pos "t"
33278 use_parbox 0
33279 use_makebox 0
33280 width ""
33281 special "none"
33282 height "1in"
33283 height_special "totalheight"
33284 thickness "0.4pt"
33285 separation "3pt"
33286 shadowsize "4pt"
33287 framecolor "black"
33288 backgroundcolor "none"
33289 status open
33290
33291 \begin_layout Plain Layout
33292 \begin_inset Graphics
33293         filename clipart/with_fntright.pdf
33294         width 100col%
33295         scaleBeforeRotation
33296
33297 \end_inset
33298
33299
33300 \end_layout
33301
33302 \end_inset
33303
33304
33305 \end_layout
33306
33307 \begin_layout Plain Layout
33308 \begin_inset Caption Standard
33309
33310 \begin_layout Plain Layout
33311 \begin_inset CommandInset label
33312 LatexCommand label
33313 name "fig:Footnote-placement-in"
33314
33315 \end_inset
33316
33317 Footnote placement in two-column documents when the \SpecialChar LaTeX
33318 -package 
33319 \series bold
33320 ftnright
33321 \series default
33322  is used.
33323 \end_layout
33324
33325 \end_inset
33326
33327
33328 \end_layout
33329
33330 \end_inset
33331
33332
33333 \end_layout
33334
33335 \begin_layout Standard
33336 \begin_inset VSpace bigskip
33337 \end_inset
33338
33339 In some scientific literature it is usual to collect the footnotes and print
33340  them in a separate paragraph at the end of a section, as in Figure
33341 \begin_inset space ~
33342 \end_inset
33343
33344
33345 \begin_inset CommandInset ref
33346 LatexCommand ref
33347 reference "fig:Endnotes"
33348
33349 \end_inset
33350
33351 .
33352  They are then called 
33353 \begin_inset Quotes eld
33354 \end_inset
33355
33356 endnotes
33357 \begin_inset Quotes erd
33358 \end_inset
33359
33360 .
33361 \begin_inset Index idx
33362 status collapsed
33363
33364 \begin_layout Plain Layout
33365 Endnotes
33366 \end_layout
33367
33368 \end_inset
33369
33370  To use endnotes instead of footnotes in your document, load in the menu
33371  
33372 \family sans
33373 Document\SpecialChar menuseparator
33374 Settings\SpecialChar menuseparator
33375 Modules 
33376 \family default
33377 the module 
33378 \family sans
33379 Foot
33380 \begin_inset space ~
33381 \end_inset
33382
33383 to
33384 \begin_inset space ~
33385 \end_inset
33386
33387 End
33388 \family default
33389 .
33390  To insert the collected footnotes, insert the command
33391 \end_layout
33392
33393 \begin_layout Standard
33394
33395 \series bold
33396
33397 \backslash
33398 theendnotes
33399 \end_layout
33400
33401 \begin_layout Standard
33402 in \SpecialChar TeX
33403  Code at the end of a section or chapter.
33404 \end_layout
33405
33406 \begin_layout Standard
33407 \begin_inset Float figure
33408 placement document
33409 alignment document
33410 wide false
33411 sideways false
33412 status open
33413
33414 \begin_layout Plain Layout
33415 \noindent
33416 \align center
33417 \begin_inset Box Boxed
33418 position "t"
33419 hor_pos "c"
33420 has_inner_box 0
33421 inner_pos "t"
33422 use_parbox 0
33423 use_makebox 0
33424 width ""
33425 special "none"
33426 height "1in"
33427 height_special "totalheight"
33428 thickness "0.4pt"
33429 separation "3pt"
33430 shadowsize "4pt"
33431 framecolor "black"
33432 backgroundcolor "none"
33433 status open
33434
33435 \begin_layout Plain Layout
33436 \begin_inset Graphics
33437         filename clipart/endnotes.pdf
33438         width 100col%
33439         scaleBeforeRotation
33440
33441 \end_inset
33442
33443
33444 \end_layout
33445
33446 \end_inset
33447
33448
33449 \end_layout
33450
33451 \begin_layout Plain Layout
33452 \begin_inset Caption Standard
33453
33454 \begin_layout Plain Layout
33455 \begin_inset CommandInset label
33456 LatexCommand label
33457 name "fig:Endnotes"
33458
33459 \end_inset
33460
33461 Endnotes – footnotes are printed in a separate paragraph at the end of sections
33462  or chapters.
33463 \end_layout
33464
33465 \end_inset
33466
33467
33468 \end_layout
33469
33470 \end_inset
33471
33472
33473 \end_layout
33474
33475 \begin_layout Standard
33476 \begin_inset VSpace medskip
33477 \end_inset
33478
33479 The paragraph heading for the endnotes isn't automatically translated into
33480  the document language, this must be done manually.
33481  The following preamble command translates the default English 
33482 \begin_inset Quotes eld
33483 \end_inset
33484
33485 Notes
33486 \begin_inset Quotes erd
33487 \end_inset
33488
33489  into the German 
33490 \begin_inset Quotes eld
33491 \end_inset
33492
33493 Anmerkungen
33494 \begin_inset Quotes erd
33495 \end_inset
33496
33497 :
33498 \end_layout
33499
33500 \begin_layout Standard
33501
33502 \series bold
33503
33504 \backslash
33505 renewcommand{
33506 \backslash
33507 notesname}{Anmerkungen}
33508 \end_layout
33509
33510 \begin_layout Standard
33511 \begin_inset VSpace medskip
33512 \end_inset
33513
33514 The numbering of endnotes can be changed like the footnote numbering as
33515  described in section
33516 \begin_inset space ~
33517 \end_inset
33518
33519
33520 \begin_inset CommandInset ref
33521 LatexCommand ref
33522 reference "subsec:Footnote-Numbering"
33523
33524 \end_inset
33525
33526 ; just replace the command 
33527 \series bold
33528
33529 \backslash
33530 thefootnote
33531 \series default
33532  by 
33533 \series bold
33534
33535 \backslash
33536 theendnote
33537 \series default
33538 .
33539  To reset the endnote number use the command 
33540 \series bold
33541
33542 \backslash
33543 @addtoreset
33544 \series default
33545  as described in section
33546 \begin_inset space ~
33547 \end_inset
33548
33549
33550 \begin_inset CommandInset ref
33551 LatexCommand ref
33552 reference "subsec:Footnote-Numbering"
33553
33554 \end_inset
33555
33556  and replace the command parameter 
33557 \series bold
33558 footnote
33559 \series default
33560  by 
33561 \series bold
33562 endnote
33563 \series default
33564 .
33565 \end_layout
33566
33567 \begin_layout Standard
33568 For endnotes there is the command 
33569 \series bold
33570
33571 \backslash
33572 endnotemark[number]
33573 \series default
33574  similar to the command 
33575 \series bold
33576
33577 \backslash
33578 footnotemark
33579 \series default
33580 , that is described in section
33581 \begin_inset space ~
33582 \end_inset
33583
33584
33585 \begin_inset CommandInset ref
33586 LatexCommand ref
33587 reference "sec:Footnotes"
33588
33589 \end_inset
33590
33591 .
33592 \end_layout
33593
33594 \begin_layout Standard
33595 \begin_inset VSpace bigskip
33596 \end_inset
33597
33598 Footnotes can also be placed in the page margin and the footnote text alignment
33599  can be changed, see the \SpecialChar LaTeX
33600 -package 
33601 \series bold
33602 footmisc
33603 \series default
33604
33605 \begin_inset Index idx
33606 status collapsed
33607
33608 \begin_layout Plain Layout
33609 \SpecialChar LaTeX
33610 -packages ! footmisc
33611 \end_layout
33612
33613 \end_inset
33614
33615
33616 \begin_inset CommandInset citation
33617 LatexCommand cite
33618 key "footmisc"
33619 literal "true"
33620
33621 \end_inset
33622
33623  for more information about this.
33624 \end_layout
33625
33626 \begin_layout Standard
33627 For various further footnote formatting issues have a look at \SpecialChar LaTeX
33628 -books, 
33629 \begin_inset CommandInset citation
33630 LatexCommand cite
33631 key "latexcompanion,latexguide,latexbook"
33632 literal "true"
33633
33634 \end_inset
33635
33636 .
33637  If you are using a 
33638 \series bold
33639 KOMA-Script
33640 \series default
33641
33642 \begin_inset Index idx
33643 status collapsed
33644
33645 \begin_layout Plain Layout
33646 \SpecialChar LaTeX
33647 -packages ! KOMA-Script
33648 \end_layout
33649
33650 \end_inset
33651
33652  document class, you can adjust all footnote settings using class-specific
33653  commands, see 
33654 \begin_inset CommandInset citation
33655 LatexCommand cite
33656 key "KOMA-Script"
33657 literal "true"
33658
33659 \end_inset
33660
33661 .
33662 \end_layout
33663
33664 \begin_layout Section
33665 Margin Notes
33666 \begin_inset Index idx
33667 status collapsed
33668
33669 \begin_layout Plain Layout
33670 Notes ! Margin Notes
33671 \end_layout
33672
33673 \end_inset
33674
33675
33676 \end_layout
33677
33678 \begin_layout Standard
33679 Margin notes look and behave in \SpecialChar LyX
33680  like footnotes.
33681  They are inserted via the menu 
33682 \family sans
33683 Insert\SpecialChar menuseparator
33684 Marginal
33685 \begin_inset space ~
33686 \end_inset
33687
33688 Note
33689 \family default
33690  or the toolbar button 
33691 \begin_inset Info
33692 type  "icon"
33693 arg   "marginalnote-insert"
33694 \end_inset
33695
33696 .
33697  A grey 
33698 \family roman
33699 \series medium
33700 box with the
33701 \family default
33702 \series default
33703  red 
33704 \family roman
33705 \series medium
33706 label 
33707 \begin_inset Quotes eld
33708 \end_inset
33709
33710 margin
33711 \begin_inset Quotes erd
33712 \end_inset
33713
33714  appears where you can enter the text of the margin note.
33715 \end_layout
33716
33717 \begin_layout Standard
33718 At the side is an example margin note.
33719
33720 \family roman
33721 \series medium
33722  
33723 \begin_inset Marginal
33724 status open
33725
33726 \begin_layout Plain Layout
33727 This is a margin note.
33728 \end_layout
33729
33730 \end_inset
33731
33732
33733 \end_layout
33734
33735 \begin_layout Standard
33736 Margin notes appear at the right side in single-sided documents.
33737  In double-sided documents they appear in the outer margin – left on even
33738  pages, right on odd pages.
33739  The text of margin notes is aligned opposite to the outer margin – right-aligne
33740 d when the note appears in the left margin.
33741  The first line of the margin note is placed at the position of the text
33742  line where it is inserted in the document.
33743 \end_layout
33744
33745 \begin_layout Standard
33746 \begin_inset VSpace bigskip
33747 \end_inset
33748
33749 To place the margin note in the inner margin, add the command
33750 \end_layout
33751
33752 \begin_layout Standard
33753
33754 \series bold
33755
33756 \backslash
33757 reversemarginpar
33758 \end_layout
33759
33760 \begin_layout Standard
33761 in \SpecialChar TeX
33762  Code before a margin note.
33763  The new placement is valid for all subsequent margin notes.
33764  
33765 \begin_inset ERT
33766 status collapsed
33767
33768 \begin_layout Plain Layout
33769
33770
33771 \backslash
33772 reversemarginpar 
33773 \end_layout
33774
33775 \end_inset
33776
33777
33778 \begin_inset Marginal
33779 status open
33780
33781 \begin_layout Plain Layout
33782 This is a margin note in the inner margin.
33783 \end_layout
33784
33785 \end_inset
33786
33787
33788 \series bold
33789
33790 \begin_inset Newline newline
33791 \end_inset
33792
33793
33794 \series default
33795
33796 \begin_inset Note Greyedout
33797 status open
33798
33799 \begin_layout Plain Layout
33800
33801 \series bold
33802 Note:
33803 \series default
33804  There is often not enough space in the inner margin so that the notes are
33805  not correctly displayed in the output.
33806 \end_layout
33807
33808 \end_inset
33809
33810
33811 \end_layout
33812
33813 \begin_layout Standard
33814 To return to the default placement insert the command
33815 \end_layout
33816
33817 \begin_layout Standard
33818
33819 \series bold
33820
33821 \backslash
33822 normalmarginpar
33823 \end_layout
33824
33825 \begin_layout Standard
33826 in \SpecialChar TeX
33827  Code.
33828 \begin_inset ERT
33829 status collapsed
33830
33831 \begin_layout Plain Layout
33832
33833
33834 \backslash
33835 normalmarginpar 
33836 \end_layout
33837
33838 \end_inset
33839
33840  
33841 \begin_inset Note Greyedout
33842 status open
33843
33844 \begin_layout Plain Layout
33845
33846 \series bold
33847 Note:
33848 \series default
33849  The command is ignored when it is within a paragraph where also the command
33850  
33851 \series bold
33852
33853 \backslash
33854 reversemarginpar
33855 \series default
33856  is inserted.
33857 \end_layout
33858
33859 \end_inset
33860
33861
33862 \end_layout
33863
33864 \begin_layout Standard
33865 \begin_inset VSpace bigskip
33866 \end_inset
33867
33868
33869 \family roman
33870 \series medium
33871
33872 \begin_inset Marginal
33873 status open
33874
33875 \begin_layout Plain Layout
33876 AVeryLongMarginParWord that isn't hyphenated.
33877 \end_layout
33878
33879 \end_inset
33880
33881
33882 \family default
33883 \series default
33884  Similar to the case described in section
33885 \begin_inset space ~
33886 \end_inset
33887
33888
33889 \begin_inset CommandInset ref
33890 LatexCommand ref
33891 reference "subsec:Multiple-Lines-in"
33892
33893 \end_inset
33894
33895 , long words cannot be hyphenated when they are the first word in a margin
33896  note.
33897  To avoid this, insert 0
33898 \begin_inset space \thinspace{}
33899 \end_inset
33900
33901 pt horizontal space before the word
33902 \family roman
33903 \series medium
33904 .
33905  
33906 \begin_inset Marginal
33907 status open
33908
33909 \begin_layout Plain Layout
33910 \begin_inset space \hspace*{}
33911 \length 0pt
33912 \end_inset
33913
33914 AVeryLongMarginParWord that is hyphenated.
33915 \end_layout
33916
33917 \end_inset
33918
33919
33920 \end_layout
33921
33922 \begin_layout Standard
33923 \begin_inset VSpace bigskip
33924 \end_inset
33925
33926
33927 \end_layout
33928
33929 \begin_layout Standard
33930 \begin_inset Note Greyedout
33931 status open
33932
33933 \begin_layout Plain Layout
33934
33935 \series bold
33936 Note:
33937 \series default
33938  Margin notes can normally not be used inside tables, floats, and footnotes.
33939 \end_layout
33940
33941 \end_inset
33942
33943
33944 \end_layout
33945
33946 \begin_layout Standard
33947 \begin_inset VSpace bigskip
33948 \end_inset
33949
33950
33951 \end_layout
33952
33953 \begin_layout Standard
33954 \begin_inset ERT
33955 status collapsed
33956
33957 \begin_layout Plain Layout
33958
33959
33960 \backslash
33961 ifmarginnote
33962 \end_layout
33963
33964 \end_inset
33965
33966
33967 \begin_inset Note Note
33968 status open
33969
33970 \begin_layout Plain Layout
33971 The following section will only be displayed when the \SpecialChar LaTeX
33972 -package 
33973 \series bold
33974 marginnote
33975 \series default
33976  is installed.
33977 \end_layout
33978
33979 \end_inset
33980
33981
33982 \end_layout
33983
33984 \begin_layout Standard
33985 This restriction can be evaded by using the \SpecialChar LaTeX
33986 -package 
33987 \series bold
33988 marginnote
33989 \series default
33990
33991 \begin_inset Index idx
33992 status collapsed
33993
33994 \begin_layout Plain Layout
33995 \SpecialChar LaTeX
33996 -packages ! marginnote
33997 \end_layout
33998
33999 \end_inset
34000
34001 .
34002  By adding these two lines to your document preamble, the command used by
34003  \SpecialChar LyX
34004  for margin notes is redefined to use the command provided by the 
34005 \series bold
34006 marginnote
34007 \series default
34008 -package:
34009 \end_layout
34010
34011 \begin_layout Standard
34012
34013 \series bold
34014
34015 \backslash
34016 usepackage{marginnote}
34017 \begin_inset Newline newline
34018 \end_inset
34019
34020
34021 \backslash
34022 let
34023 \backslash
34024 marginpar
34025 \backslash
34026 marginnote
34027 \end_layout
34028
34029 \begin_layout Standard
34030 This is also used in this document because 
34031 \series bold
34032 marginnote
34033 \series default
34034  has another useful feature: You can set a vertical offset for the note.
34035  This is often needed when too many margin notes are too close together
34036  or for a better page layout.
34037  The offset is set in \SpecialChar LyX
34038  as \SpecialChar TeX
34039  Code directly after the margin note in the scheme
34040 \end_layout
34041
34042 \begin_layout Standard
34043
34044 \series bold
34045 [offset]
34046 \end_layout
34047
34048 \begin_layout Standard
34049 where the offset is a length with one of the units listed in Table
34050 \begin_inset space ~
34051 \end_inset
34052
34053
34054 \begin_inset CommandInset ref
34055 LatexCommand ref
34056 reference "tab:Units"
34057
34058 \end_inset
34059
34060 .
34061  A negative value shifts the note up, a positive value shifts it down.
34062  
34063 \family roman
34064 \series medium
34065 For example the margin note beside this text line is shifted up 1.5
34066 \begin_inset space \thinspace{}
34067 \end_inset
34068
34069 cm with the \SpecialChar TeX
34070  Code command 
34071 \begin_inset Quotes eld
34072 \end_inset
34073
34074
34075 \family default
34076 \series bold
34077 [-1.5cm]
34078 \family roman
34079 \series medium
34080
34081 \begin_inset Quotes erd
34082 \end_inset
34083
34084
34085 \begin_inset Marginal
34086 status open
34087
34088 \begin_layout Plain Layout
34089 This margin note is shifted up 1.5
34090 \begin_inset space \thinspace{}
34091 \end_inset
34092
34093 cm from its original position.
34094 \end_layout
34095
34096 \end_inset
34097
34098
34099 \family default
34100 \series default
34101
34102 \begin_inset ERT
34103 status collapsed
34104
34105 \begin_layout Plain Layout
34106
34107 [-1.5cm]
34108 \end_layout
34109
34110 \end_inset
34111
34112
34113 \end_layout
34114
34115 \begin_layout Standard
34116 \begin_inset VSpace medskip
34117 \end_inset
34118
34119 With 
34120 \series bold
34121 marginnote
34122 \series default
34123  you can also change the alignment of the text in the margin note.
34124  For example the commands
34125 \end_layout
34126
34127 \begin_layout Standard
34128
34129 \series bold
34130
34131 \backslash
34132 renewcommand*{
34133 \backslash
34134 raggedleftmarginnote}{
34135 \backslash
34136 centering}
34137 \begin_inset Newline newline
34138 \end_inset
34139
34140
34141 \backslash
34142 renewcommand*{
34143 \backslash
34144 raggedrightmarginnote}{
34145 \backslash
34146 centering}
34147 \end_layout
34148
34149 \begin_layout Standard
34150 set the alignment to centered.
34151  
34152 \series bold
34153
34154 \backslash
34155 raggedleftmarginnote
34156 \series default
34157  denotes margin notes that appear at the left side.
34158 \family roman
34159 \series medium
34160
34161 \begin_inset ERT
34162 status collapsed
34163
34164 \begin_layout Plain Layout
34165
34166
34167 \backslash
34168 renewcommand*{
34169 \backslash
34170 raggedleftmarginnote}{
34171 \backslash
34172 centering}
34173 \end_layout
34174
34175 \begin_layout Plain Layout
34176
34177
34178 \backslash
34179 renewcommand*{
34180 \backslash
34181 raggedrightmarginnote}{
34182 \backslash
34183 centering}
34184 \end_layout
34185
34186 \end_inset
34187
34188
34189 \begin_inset Marginal
34190 status open
34191
34192 \begin_layout Plain Layout
34193 The text of this margin note is centered.
34194 \end_layout
34195
34196 \end_inset
34197
34198
34199 \family default
34200 \series default
34201  The default is
34202 \end_layout
34203
34204 \begin_layout Standard
34205
34206 \series bold
34207
34208 \backslash
34209 renewcommand*{
34210 \backslash
34211 raggedleftmarginnote}{
34212 \backslash
34213 raggedleft}
34214 \begin_inset Newline newline
34215 \end_inset
34216
34217
34218 \backslash
34219 renewcommand*{
34220 \backslash
34221 raggedrightmarginnote}{
34222 \backslash
34223 raggedright}
34224 \family roman
34225 \series medium
34226
34227 \begin_inset ERT
34228 status collapsed
34229
34230 \begin_layout Plain Layout
34231
34232
34233 \backslash
34234 renewcommand*{
34235 \backslash
34236 raggedleftmarginnote}{
34237 \backslash
34238 raggedleft}
34239 \end_layout
34240
34241 \begin_layout Plain Layout
34242
34243
34244 \backslash
34245 renewcommand*{
34246 \backslash
34247 raggedrightmarginnote}{
34248 \backslash
34249 raggedright}
34250 \end_layout
34251
34252 \end_inset
34253
34254
34255 \end_layout
34256
34257 \begin_layout Standard
34258 \begin_inset VSpace medskip
34259 \end_inset
34260
34261 For the other features of 
34262 \series bold
34263 marginnote
34264 \series default
34265  refer to its documentation 
34266 \begin_inset CommandInset citation
34267 LatexCommand cite
34268 key "marginnote"
34269 literal "true"
34270
34271 \end_inset
34272
34273 .
34274 \end_layout
34275
34276 \begin_layout Standard
34277 \begin_inset VSpace bigskip
34278 \end_inset
34279
34280 You can adjust the layout of margin notes by changing its definition.
34281  To create for example a header for all margin notes with the underlined,
34282  sans-serif, and bold header text 
34283 \begin_inset Quotes eld
34284 \end_inset
34285
34286
34287 \family sans
34288 \series bold
34289 \bar under
34290 Attention!
34291 \family default
34292 \series default
34293 \bar default
34294
34295 \begin_inset Quotes erd
34296 \end_inset
34297
34298 , add this to your document preamble:
34299 \end_layout
34300
34301 \begin_layout Standard
34302
34303 \series bold
34304
34305 \backslash
34306 let
34307 \backslash
34308 myMarginpar
34309 \backslash
34310 marginpar
34311 \begin_inset Newline newline
34312 \end_inset
34313
34314
34315 \backslash
34316 renewcommand{
34317 \backslash
34318 marginpar}[1]{
34319 \backslash
34320 myMarginpar{%
34321 \begin_inset Newline newline
34322 \end_inset
34323
34324
34325 \begin_inset Phantom HPhantom
34326 status open
34327
34328 \begin_layout Plain Layout
34329
34330 \series bold
34331 \begin_inset space ~
34332 \end_inset
34333
34334
34335 \end_layout
34336
34337 \end_inset
34338
34339
34340 \backslash
34341 hspace{0pt}
34342 \backslash
34343 textsf{
34344 \backslash
34345 textbf{
34346 \backslash
34347 underbar{Attention!}}}%
34348 \begin_inset Newline newline
34349 \end_inset
34350
34351
34352 \begin_inset Phantom HPhantom
34353 status open
34354
34355 \begin_layout Plain Layout
34356
34357 \series bold
34358 \begin_inset space ~
34359 \end_inset
34360
34361
34362 \end_layout
34363
34364 \end_inset
34365
34366
34367 \backslash
34368 vspace{1.5mm}
34369 \backslash
34370
34371 \backslash
34372 #1}}
34373 \end_layout
34374
34375 \begin_layout Standard
34376
34377 \family roman
34378 \series medium
34379 \begin_inset ERT
34380 status collapsed
34381
34382 \begin_layout Plain Layout
34383
34384
34385 \backslash
34386 let
34387 \backslash
34388 myMarginpar
34389 \backslash
34390 marginpar
34391 \end_layout
34392
34393 \begin_layout Plain Layout
34394
34395
34396 \backslash
34397 renewcommand{
34398 \backslash
34399 marginpar}[1]{
34400 \backslash
34401 myMarginpar{%
34402 \end_layout
34403
34404 \begin_layout Plain Layout
34405
34406    
34407 \backslash
34408 textsf{
34409 \backslash
34410 textbf{
34411 \backslash
34412 underbar{Attention!}}}%
34413 \end_layout
34414
34415 \begin_layout Plain Layout
34416
34417    
34418 \backslash
34419 vspace{1.5mm}
34420 \backslash
34421
34422 \backslash
34423 #1}}
34424 \end_layout
34425
34426 \end_inset
34427
34428
34429 \begin_inset Marginal
34430 status open
34431
34432 \begin_layout Plain Layout
34433 This is a margin note with a defined heading.
34434 \end_layout
34435
34436 \end_inset
34437
34438
34439 \family default
34440 \series default
34441
34442 \begin_inset ERT
34443 status collapsed
34444
34445 \begin_layout Plain Layout
34446
34447 [-1.5cm]
34448 \end_layout
34449
34450 \end_inset
34451
34452
34453 \family roman
34454 \series medium
34455
34456 \begin_inset ERT
34457 status collapsed
34458
34459 \begin_layout Plain Layout
34460
34461
34462 \backslash
34463 renewcommand{
34464 \backslash
34465 marginpar}[1]{
34466 \backslash
34467 myMarginpar{#1}}
34468 \end_layout
34469
34470 \end_inset
34471
34472
34473 \family default
34474 \series default
34475
34476 \begin_inset Note Note
34477 status collapsed
34478
34479 \begin_layout Plain Layout
34480 The margin note format is changed only for this example.
34481 \end_layout
34482
34483 \end_inset
34484
34485
34486 \end_layout
34487
34488 \begin_layout Standard
34489 \begin_inset ERT
34490 status collapsed
34491
34492 \begin_layout Plain Layout
34493
34494
34495 \backslash
34496 else
34497 \end_layout
34498
34499 \end_inset
34500
34501
34502 \begin_inset Note Note
34503 status open
34504
34505 \begin_layout Plain Layout
34506 The following will be displayed when the \SpecialChar LaTeX
34507 -package 
34508 \series bold
34509 marginnote
34510 \series default
34511  is not installed:
34512 \end_layout
34513
34514 \end_inset
34515
34516
34517 \end_layout
34518
34519 \begin_layout Standard
34520 You need to install the \SpecialChar LaTeX
34521 -package 
34522 \series bold
34523 marginnote
34524 \series default
34525  to see the following part of this section in the output.
34526 \end_layout
34527
34528 \begin_layout Standard
34529 \begin_inset ERT
34530 status collapsed
34531
34532 \begin_layout Plain Layout
34533
34534
34535 \backslash
34536 fi
34537 \end_layout
34538
34539 \end_inset
34540
34541
34542 \end_layout
34543
34544 \begin_layout Chapter
34545 Boxes
34546 \end_layout
34547
34548 \begin_layout Section
34549 Introduction
34550 \begin_inset Index idx
34551 status collapsed
34552
34553 \begin_layout Plain Layout
34554 Boxes ! Introduction
34555 \end_layout
34556
34557 \end_inset
34558
34559
34560 \end_layout
34561
34562 \begin_layout Standard
34563 Boxes are used to format a block of text.
34564  Boxes can be used to write documents with multiple languages, see section
34565 \begin_inset space ~
34566 \end_inset
34567
34568
34569 \begin_inset CommandInset ref
34570 LatexCommand ref
34571 reference "sec:Minipages"
34572
34573 \end_inset
34574
34575 , to frame texts, see section
34576 \begin_inset space ~
34577 \end_inset
34578
34579
34580 \begin_inset CommandInset ref
34581 LatexCommand ref
34582 reference "sec:Decoration"
34583
34584 \end_inset
34585
34586 , to prevent words from being hyphenated, see section
34587 \begin_inset space ~
34588 \end_inset
34589
34590
34591 \begin_inset CommandInset ref
34592 LatexCommand ref
34593 reference "sec:Prevent-Hyphenation"
34594
34595 \end_inset
34596
34597 , to align text, see section
34598 \begin_inset space ~
34599 \end_inset
34600
34601
34602 \begin_inset CommandInset ref
34603 LatexCommand ref
34604 reference "subsec:Vertical-Alignment"
34605
34606 \end_inset
34607
34608 , or to set the background color of texts, see section
34609 \begin_inset space ~
34610 \end_inset
34611
34612
34613 \begin_inset CommandInset ref
34614 LatexCommand ref
34615 reference "sec:Colored-Boxes"
34616
34617 \end_inset
34618
34619 .
34620 \end_layout
34621
34622 \begin_layout Standard
34623 Boxes can be inserted with the menu 
34624 \family sans
34625 Insert\SpecialChar menuseparator
34626 Box
34627 \family default
34628  or the toolbar button 
34629 \begin_inset Info
34630 type  "icon"
34631 arg   "box-insert Frameless"
34632 \end_inset
34633
34634 .
34635  A grey box with the label 
34636 \family sans
34637 Box (Minipage)
34638 \family default
34639
34640 \begin_inset Graphics
34641         filename clipart/BoxInsetDefault.png
34642         scale 95
34643         scaleBeforeRotation
34644
34645 \end_inset
34646
34647  will be inserted.
34648  The box type can be specified by right-clicking on the box and selecting
34649  
34650 \family sans
34651 Settings
34652 \family default
34653 .
34654  The box dialog offers the 
34655 \family sans
34656 Inner
34657 \begin_inset space ~
34658 \end_inset
34659
34660 Box
34661 \family default
34662  types 
34663 \family sans
34664 Makebox
34665 \family default
34666
34667 \family sans
34668 Parbox
34669 \family default
34670  and 
34671 \family sans
34672 Minipage
34673 \family default
34674 .
34675  The type 
34676 \family sans
34677 Minipage
34678 \family default
34679  is the default for new boxes and is explained in section
34680 \begin_inset space ~
34681 \end_inset
34682
34683
34684 \begin_inset CommandInset ref
34685 LatexCommand ref
34686 reference "sec:Minipages"
34687
34688 \end_inset
34689
34690 ; the type 
34691 \family sans
34692 Parbox
34693 \family default
34694  is described in section
34695 \begin_inset space ~
34696 \end_inset
34697
34698
34699 \begin_inset CommandInset ref
34700 LatexCommand ref
34701 reference "sec:Parboxes"
34702
34703 \end_inset
34704
34705  and the type 
34706 \family sans
34707 Makebox
34708 \family default
34709  in 
34710 \begin_inset CommandInset ref
34711 LatexCommand ref
34712 reference "sec:Prevent-Hyphenation"
34713
34714 \end_inset
34715
34716 .
34717 \end_layout
34718
34719 \begin_layout Standard
34720 Boxes are not numbered and can therefore not be referenced like floats or
34721  footnotes.
34722 \end_layout
34723
34724 \begin_layout Standard
34725 \begin_inset Note Greyedout
34726 status open
34727
34728 \begin_layout Plain Layout
34729
34730 \series bold
34731 Note:
34732 \series default
34733  Boxes must not be the item in an 
34734 \family sans
34735 Itemize
34736 \family default
34737  or 
34738 \family sans
34739 Description
34740 \family default
34741  environment.
34742 \end_layout
34743
34744 \end_inset
34745
34746
34747 \end_layout
34748
34749 \begin_layout Standard
34750 \begin_inset Note Greyedout
34751 status open
34752
34753 \begin_layout Plain Layout
34754
34755 \series bold
34756 Note:
34757 \series default
34758  For an unknown reason you can only set the 
34759 \family sans
34760 Inner
34761 \begin_inset space ~
34762 \end_inset
34763
34764 Box
34765 \family default
34766  type to 
34767 \family sans
34768 None
34769 \family default
34770  when you use a framed box.
34771  Boxes without an 
34772 \family sans
34773 Inner
34774 \begin_inset space ~
34775 \end_inset
34776
34777 Box
34778 \family default
34779  type and without frames are explained in section
34780 \begin_inset space ~
34781 \end_inset
34782
34783
34784 \begin_inset CommandInset ref
34785 LatexCommand ref
34786 reference "sec:Prevent-Hyphenation"
34787
34788 \end_inset
34789
34790 .
34791 \end_layout
34792
34793 \end_inset
34794
34795
34796 \end_layout
34797
34798 \begin_layout Section
34799 Box Dialog
34800 \begin_inset CommandInset label
34801 LatexCommand label
34802 name "sec:Box-Dialog"
34803
34804 \end_inset
34805
34806
34807 \begin_inset Index idx
34808 status collapsed
34809
34810 \begin_layout Plain Layout
34811 Boxes ! Box Dialog
34812 \end_layout
34813
34814 \end_inset
34815
34816
34817 \end_layout
34818
34819 \begin_layout Subsection
34820 Size
34821 \begin_inset Index idx
34822 status collapsed
34823
34824 \begin_layout Plain Layout
34825 Boxes ! Size
34826 \end_layout
34827
34828 \end_inset
34829
34830
34831 \end_layout
34832
34833 \begin_layout Standard
34834 In the box dialog you can adjust the box geometry in the fields 
34835 \family sans
34836 Width
34837 \family default
34838  and 
34839 \family sans
34840 Height
34841 \family default
34842 .
34843  The available units for the geometry are explained in Table
34844 \begin_inset space ~
34845 \end_inset
34846
34847
34848 \begin_inset CommandInset ref
34849 LatexCommand ref
34850 reference "tab:Units"
34851
34852 \end_inset
34853
34854 .
34855  The field 
34856 \family sans
34857 Height
34858 \family default
34859  offers the following additional sizes:
34860 \end_layout
34861
34862 \begin_layout Description
34863 Depth This is the plain text 
34864 \begin_inset Quotes eld
34865 \end_inset
34866
34867 height
34868 \begin_inset Quotes erd
34869 \end_inset
34870
34871 .
34872  It ignores the total depth when there are multiple text lines in the box:
34873 \begin_inset Newline newline
34874 \end_inset
34875
34876
34877 \begin_inset Newline newline
34878 \end_inset
34879
34880
34881 \begin_inset Newline newline
34882 \end_inset
34883
34884
34885 \begin_inset Box Boxed
34886 position "c"
34887 hor_pos "c"
34888 has_inner_box 1
34889 inner_pos "c"
34890 use_parbox 0
34891 use_makebox 0
34892 width "12col%"
34893 special "none"
34894 height "1in"
34895 height_special "depth"
34896 thickness "0.4pt"
34897 separation "3pt"
34898 shadowsize "4pt"
34899 framecolor "black"
34900 backgroundcolor "none"
34901 status collapsed
34902
34903 \begin_layout Plain Layout
34904 \align center
34905 Box height set to 1
34906 \begin_inset space \thinspace{}
34907 \end_inset
34908
34909 Depth
34910 \end_layout
34911
34912 \end_inset
34913
34914
34915 \begin_inset Newline newline
34916 \end_inset
34917
34918
34919 \begin_inset Newline newline
34920 \end_inset
34921
34922
34923 \end_layout
34924
34925 \begin_layout Description
34926 Height This is the height of the text that is inside the box.
34927  A value of e.
34928 \begin_inset space \thinspace{}
34929 \end_inset
34930
34931 g.
34932 \begin_inset space \space{}
34933 \end_inset
34934
34935 2 for this size will set the box height to 2
34936 \begin_inset space ~
34937 \end_inset
34938
34939 times the text height: 
34940 \begin_inset Box Boxed
34941 position "c"
34942 hor_pos "c"
34943 has_inner_box 1
34944 inner_pos "c"
34945 use_parbox 0
34946 use_makebox 0
34947 width "20col%"
34948 special "none"
34949 height "2in"
34950 height_special "height"
34951 thickness "0.4pt"
34952 separation "3pt"
34953 shadowsize "4pt"
34954 framecolor "black"
34955 backgroundcolor "none"
34956 status collapsed
34957
34958 \begin_layout Plain Layout
34959 \align center
34960 Box height set to 2
34961 \begin_inset space \thinspace{}
34962 \end_inset
34963
34964 Height
34965 \end_layout
34966
34967 \end_inset
34968
34969
34970 \end_layout
34971
34972 \begin_layout Description
34973 Total
34974 \begin_inset space ~
34975 \end_inset
34976
34977 Height This is the Height
34978 \begin_inset space \thinspace{}
34979 \end_inset
34980
34981 +
34982 \begin_inset space \thinspace{}
34983 \end_inset
34984
34985 Depth: 
34986 \begin_inset Box Boxed
34987 position "c"
34988 hor_pos "c"
34989 has_inner_box 1
34990 inner_pos "c"
34991 use_parbox 0
34992 use_makebox 0
34993 width "20col%"
34994 special "none"
34995 height "1in"
34996 height_special "totalheight"
34997 thickness "0.4pt"
34998 separation "3pt"
34999 shadowsize "4pt"
35000 framecolor "black"
35001 backgroundcolor "none"
35002 status collapsed
35003
35004 \begin_layout Plain Layout
35005 \align center
35006 Box height set to 1
35007 \begin_inset space \thinspace{}
35008 \end_inset
35009
35010 Total
35011 \begin_inset space ~
35012 \end_inset
35013
35014 Height
35015 \end_layout
35016
35017 \end_inset
35018
35019
35020 \end_layout
35021
35022 \begin_layout Description
35023 Width This sets the width of the box as height: 
35024 \begin_inset Box Boxed
35025 position "c"
35026 hor_pos "c"
35027 has_inner_box 1
35028 inner_pos "c"
35029 use_parbox 0
35030 use_makebox 0
35031 width "12col%"
35032 special "none"
35033 height "1in"
35034 height_special "width"
35035 thickness "0.4pt"
35036 separation "3pt"
35037 shadowsize "4pt"
35038 framecolor "black"
35039 backgroundcolor "none"
35040 status collapsed
35041
35042 \begin_layout Plain Layout
35043 \align center
35044 Box height set to 1
35045 \begin_inset space \thinspace{}
35046 \end_inset
35047
35048 Width
35049 \end_layout
35050
35051 \end_inset
35052
35053
35054 \end_layout
35055
35056 \begin_layout Subsection
35057 Alignment
35058 \begin_inset Index idx
35059 status collapsed
35060
35061 \begin_layout Plain Layout
35062 Boxes ! Alignment
35063 \end_layout
35064
35065 \end_inset
35066
35067
35068 \end_layout
35069
35070 \begin_layout Standard
35071 When you have chosen an 
35072 \family sans
35073 Inner
35074 \begin_inset space ~
35075 \end_inset
35076
35077 Box
35078 \family default
35079 , the vertical box alignment can be:
35080 \end_layout
35081
35082 \begin_layout Description
35083 Top This is an example text line.
35084  
35085 \begin_inset Box Boxed
35086 position "t"
35087 hor_pos "c"
35088 has_inner_box 1
35089 inner_pos "c"
35090 use_parbox 0
35091 use_makebox 0
35092 width "12col%"
35093 special "none"
35094 height "1in"
35095 height_special "totalheight"
35096 thickness "0.4pt"
35097 separation "3pt"
35098 shadowsize "4pt"
35099 framecolor "black"
35100 backgroundcolor "none"
35101 status collapsed
35102
35103 \begin_layout Plain Layout
35104 \align center
35105 This box is top-aligned.
35106 \end_layout
35107
35108 \end_inset
35109
35110  This is an example text line.
35111 \end_layout
35112
35113 \begin_layout Description
35114 Middle This is an example text line.
35115  
35116 \begin_inset Box Boxed
35117 position "c"
35118 hor_pos "c"
35119 has_inner_box 1
35120 inner_pos "c"
35121 use_parbox 0
35122 use_makebox 0
35123 width "12col%"
35124 special "none"
35125 height "1in"
35126 height_special "totalheight"
35127 thickness "0.4pt"
35128 separation "3pt"
35129 shadowsize "4pt"
35130 framecolor "black"
35131 backgroundcolor "none"
35132 status collapsed
35133
35134 \begin_layout Plain Layout
35135 \align center
35136 This box is middle-aligned.
35137 \end_layout
35138
35139 \end_inset
35140
35141  This is an example text line.
35142 \end_layout
35143
35144 \begin_layout Description
35145 Bottom This is an example text line.
35146  
35147 \begin_inset Box Boxed
35148 position "b"
35149 hor_pos "c"
35150 has_inner_box 1
35151 inner_pos "c"
35152 use_parbox 0
35153 use_makebox 0
35154 width "12col%"
35155 special "none"
35156 height "1in"
35157 height_special "totalheight"
35158 thickness "0.4pt"
35159 separation "3pt"
35160 shadowsize "4pt"
35161 framecolor "black"
35162 backgroundcolor "none"
35163 status collapsed
35164
35165 \begin_layout Plain Layout
35166 \align center
35167 This box is bottom-aligned.
35168 \end_layout
35169
35170 \end_inset
35171
35172  This is an example text line.
35173 \end_layout
35174
35175 \begin_layout Standard
35176 \begin_inset Note Greyedout
35177 status open
35178
35179 \begin_layout Plain Layout
35180
35181 \series bold
35182 Note:
35183 \series default
35184  The vertical box alignment can be lost in the output when you have two
35185  boxes in a line and one has e.
35186 \begin_inset space \thinspace{}
35187 \end_inset
35188
35189 g.
35190 \begin_inset space \space{}
35191 \end_inset
35192
35193 a shadow and the other one not.
35194 \end_layout
35195
35196 \end_inset
35197
35198
35199 \end_layout
35200
35201 \begin_layout Standard
35202 The horizontal box alignment can be set via \SpecialChar LyX
35203 's paragraph dialog when you
35204  set the box into its own paragraph.
35205 \end_layout
35206
35207 \begin_layout Standard
35208 \begin_inset VSpace bigskip
35209 \end_inset
35210
35211 When you have chosen an 
35212 \family sans
35213 Inner
35214 \begin_inset space ~
35215 \end_inset
35216
35217 Box
35218 \family default
35219 , the box content can be aligned vertically to:
35220 \end_layout
35221
35222 \begin_layout Description
35223 top This is an example text line.
35224  
35225 \begin_inset Box Boxed
35226 position "c"
35227 hor_pos "c"
35228 has_inner_box 1
35229 inner_pos "t"
35230 use_parbox 0
35231 use_makebox 0
35232 width "12col%"
35233 special "none"
35234 height "1.5in"
35235 height_special "totalheight"
35236 thickness "0.4pt"
35237 separation "3pt"
35238 shadowsize "4pt"
35239 framecolor "black"
35240 backgroundcolor "none"
35241 status collapsed
35242
35243 \begin_layout Plain Layout
35244 \align center
35245 This box text is top-aligned.
35246 \end_layout
35247
35248 \end_inset
35249
35250  This is an example text line.
35251 \end_layout
35252
35253 \begin_layout Description
35254 middle This is an example text line.
35255  
35256 \begin_inset Box Boxed
35257 position "c"
35258 hor_pos "c"
35259 has_inner_box 1
35260 inner_pos "c"
35261 use_parbox 0
35262 use_makebox 0
35263 width "12col%"
35264 special "none"
35265 height "1.5in"
35266 height_special "totalheight"
35267 thickness "0.4pt"
35268 separation "3pt"
35269 shadowsize "4pt"
35270 framecolor "black"
35271 backgroundcolor "none"
35272 status collapsed
35273
35274 \begin_layout Plain Layout
35275 \align center
35276 This box text is middle-aligned.
35277 \end_layout
35278
35279 \end_inset
35280
35281  This is an example text line.
35282 \end_layout
35283
35284 \begin_layout Description
35285 bottom This is an example text line.
35286  
35287 \begin_inset Box Boxed
35288 position "c"
35289 hor_pos "c"
35290 has_inner_box 1
35291 inner_pos "b"
35292 use_parbox 0
35293 use_makebox 0
35294 width "12col%"
35295 special "none"
35296 height "1.5in"
35297 height_special "totalheight"
35298 thickness "0.4pt"
35299 separation "3pt"
35300 shadowsize "4pt"
35301 framecolor "black"
35302 backgroundcolor "none"
35303 status collapsed
35304
35305 \begin_layout Plain Layout
35306 \align center
35307 This box text is bottom-aligned.
35308 \end_layout
35309
35310 \end_inset
35311
35312  This is an example text line.
35313 \end_layout
35314
35315 \begin_layout Description
35316 stretch This is an example text line.
35317  
35318 \begin_inset Box Boxed
35319 position "c"
35320 hor_pos "c"
35321 has_inner_box 1
35322 inner_pos "s"
35323 use_parbox 0
35324 use_makebox 0
35325 width "12col%"
35326 special "none"
35327 height "1.5in"
35328 height_special "totalheight"
35329 thickness "0.4pt"
35330 separation "3pt"
35331 shadowsize "4pt"
35332 framecolor "black"
35333 backgroundcolor "none"
35334 status collapsed
35335
35336 \begin_layout Plain Layout
35337 \align center
35338 This box
35339 \end_layout
35340
35341 \begin_layout Plain Layout
35342 \align center
35343 text is
35344 \end_layout
35345
35346 \begin_layout Plain Layout
35347 \align center
35348 stretched.
35349 \end_layout
35350
35351 \end_inset
35352
35353  This is an example text line.
35354 \end_layout
35355
35356 \begin_layout Standard
35357 To stretch the box content, it must consist of more than one paragraph.
35358  In the example above every text line is in an own paragraph.
35359 \end_layout
35360
35361 \begin_layout Standard
35362 \begin_inset VSpace bigskip
35363 \end_inset
35364
35365 To align the box content horizontally you can use \SpecialChar LyX
35366 's paragraph dialog when
35367  you have chosen an 
35368 \family sans
35369 Inner
35370 \begin_inset space ~
35371 \end_inset
35372
35373 Box
35374 \family default
35375 .
35376 \end_layout
35377
35378 \begin_layout Standard
35379 \align center
35380 \begin_inset Box Boxed
35381 position "c"
35382 hor_pos "c"
35383 has_inner_box 1
35384 inner_pos "s"
35385 use_parbox 0
35386 use_makebox 0
35387 width "15col%"
35388 special "none"
35389 height "1.25in"
35390 height_special "totalheight"
35391 thickness "0.4pt"
35392 separation "3pt"
35393 shadowsize "4pt"
35394 framecolor "black"
35395 backgroundcolor "none"
35396 status collapsed
35397
35398 \begin_layout Plain Layout
35399 \align left
35400 This box
35401 \end_layout
35402
35403 \begin_layout Plain Layout
35404 \align center
35405 text is
35406 \end_layout
35407
35408 \begin_layout Plain Layout
35409 \align right
35410 stretched.
35411 \end_layout
35412
35413 \end_inset
35414
35415
35416 \end_layout
35417
35418 \begin_layout Standard
35419 If you have not set an 
35420 \family sans
35421 Inner
35422 \begin_inset space ~
35423 \end_inset
35424
35425 Box
35426 \family default
35427 , you can align the box content horizontally in the box dialog.
35428 \end_layout
35429
35430 \begin_layout Standard
35431 \align center
35432 \begin_inset Box Boxed
35433 position "c"
35434 hor_pos "s"
35435 has_inner_box 0
35436 inner_pos "s"
35437 use_parbox 0
35438 use_makebox 0
35439 width "90col%"
35440 special "none"
35441 height "1.25in"
35442 height_special "totalheight"
35443 thickness "0.4pt"
35444 separation "3pt"
35445 shadowsize "4pt"
35446 framecolor "black"
35447 backgroundcolor "none"
35448 status collapsed
35449
35450 \begin_layout Plain Layout
35451 This box text is horizontally stretched.
35452 \end_layout
35453
35454 \end_inset
35455
35456
35457 \end_layout
35458
35459 \begin_layout Subsection
35460 Decoration
35461 \begin_inset CommandInset label
35462 LatexCommand label
35463 name "sec:Decoration"
35464
35465 \end_inset
35466
35467
35468 \begin_inset Index idx
35469 status collapsed
35470
35471 \begin_layout Plain Layout
35472 Boxes ! Decoration
35473 \end_layout
35474
35475 \end_inset
35476
35477
35478 \end_layout
35479
35480 \begin_layout Standard
35481 The type of the box can be specified in the box dialog in the drop-down
35482  list 
35483 \family sans
35484 Decoration
35485 \family default
35486 .
35487  The following types are possible:
35488 \end_layout
35489
35490 \begin_layout Description
35491 No
35492 \begin_inset space ~
35493 \end_inset
35494
35495 frame Nothing is drawn.
35496 \end_layout
35497
35498 \begin_layout Description
35499 Simple
35500 \begin_inset space ~
35501 \end_inset
35502
35503 rectangular
35504 \begin_inset space ~
35505 \end_inset
35506
35507 frame This draws a rectangular frame around the box.
35508  The frame line thickness can be specified.
35509  
35510 \begin_inset Box Boxed
35511 position "c"
35512 hor_pos "c"
35513 has_inner_box 1
35514 inner_pos "c"
35515 use_parbox 0
35516 use_makebox 0
35517 width "20col%"
35518 special "none"
35519 height "1in"
35520 height_special "totalheight"
35521 thickness "0.4pt"
35522 separation "3pt"
35523 shadowsize "4pt"
35524 framecolor "black"
35525 backgroundcolor "none"
35526 status collapsed
35527
35528 \begin_layout Plain Layout
35529 \align center
35530 Rectangular box
35531 \end_layout
35532
35533 \end_inset
35534
35535
35536 \end_layout
35537
35538 \begin_layout Description
35539 Oval
35540 \begin_inset space ~
35541 \end_inset
35542
35543 box,
35544 \begin_inset space ~
35545 \end_inset
35546
35547 thin This draws an oval frame around the box.
35548  The frame line thickness has the size 0.4
35549 \begin_inset space \thinspace{}
35550 \end_inset
35551
35552 pt.
35553  
35554 \begin_inset Box ovalbox
35555 position "c"
35556 hor_pos "c"
35557 has_inner_box 1
35558 inner_pos "c"
35559 use_parbox 0
35560 use_makebox 0
35561 width "20col%"
35562 special "none"
35563 height "1in"
35564 height_special "totalheight"
35565 thickness "0.4pt"
35566 separation "3pt"
35567 shadowsize "4pt"
35568 framecolor "black"
35569 backgroundcolor "none"
35570 status collapsed
35571
35572 \begin_layout Plain Layout
35573 \align center
35574 Oval box, thin
35575 \end_layout
35576
35577 \end_inset
35578
35579
35580 \end_layout
35581
35582 \begin_layout Description
35583 Oval
35584 \begin_inset space ~
35585 \end_inset
35586
35587 box,
35588 \begin_inset space ~
35589 \end_inset
35590
35591 thick This draws an oval frame around the box.
35592  The frame line thickness has the size 0.8
35593 \begin_inset space \thinspace{}
35594 \end_inset
35595
35596 pt.
35597  
35598 \begin_inset Box Ovalbox
35599 position "c"
35600 hor_pos "c"
35601 has_inner_box 1
35602 inner_pos "c"
35603 use_parbox 0
35604 use_makebox 0
35605 width "20col%"
35606 special "none"
35607 height "1in"
35608 height_special "totalheight"
35609 thickness "0.4pt"
35610 separation "3pt"
35611 shadowsize "4pt"
35612 framecolor "black"
35613 backgroundcolor "none"
35614 status collapsed
35615
35616 \begin_layout Plain Layout
35617 \align center
35618 Oval box, thick
35619 \end_layout
35620
35621 \end_inset
35622
35623
35624 \end_layout
35625
35626 \begin_layout Description
35627 Drop
35628 \begin_inset space ~
35629 \end_inset
35630
35631 shadow This draws a rectangular frame with a shadow around the box.
35632  The frame line thickness and the shadow can be specified.
35633  
35634 \begin_inset Box Shadowbox
35635 position "c"
35636 hor_pos "c"
35637 has_inner_box 1
35638 inner_pos "c"
35639 use_parbox 0
35640 use_makebox 0
35641 width "20col%"
35642 special "none"
35643 height "1in"
35644 height_special "totalheight"
35645 thickness "0.4pt"
35646 separation "3pt"
35647 shadowsize "4pt"
35648 framecolor "black"
35649 backgroundcolor "none"
35650 status collapsed
35651
35652 \begin_layout Plain Layout
35653 \align center
35654 Shadow box
35655 \end_layout
35656
35657 \end_inset
35658
35659
35660 \end_layout
35661
35662 \begin_layout Description
35663 Shaded
35664 \begin_inset space ~
35665 \end_inset
35666
35667 background This draws a box with a red background.
35668  Unlike colored boxes
35669 \begin_inset Foot
35670 status collapsed
35671
35672 \begin_layout Plain Layout
35673 see sec.
35674 \begin_inset space \thinspace{}
35675 \end_inset
35676
35677
35678 \begin_inset CommandInset ref
35679 LatexCommand ref
35680 reference "sec:Colored-Boxes"
35681
35682 \end_inset
35683
35684
35685 \end_layout
35686
35687 \end_inset
35688
35689 , it always uses the whole column width and the box is set as its own paragraph.
35690  
35691 \begin_inset Box Shaded
35692 position "t"
35693 hor_pos "c"
35694 has_inner_box 0
35695 inner_pos "t"
35696 use_parbox 0
35697 use_makebox 0
35698 width "50col%"
35699 special "none"
35700 height "1in"
35701 height_special "totalheight"
35702 thickness "0.4pt"
35703 separation "3pt"
35704 shadowsize "4pt"
35705 framecolor "black"
35706 backgroundcolor "none"
35707 status collapsed
35708
35709 \begin_layout Plain Layout
35710 Shaded background box
35711 \end_layout
35712
35713 \end_inset
35714
35715
35716 \end_layout
35717
35718 \begin_layout Description
35719 Double
35720 \begin_inset space ~
35721 \end_inset
35722
35723 rectangular
35724 \begin_inset space ~
35725 \end_inset
35726
35727 frame This draws a double-line rectangular frame around the box.
35728  The line thickness of the inner frame is 0.75
35729 \begin_inset space \thinspace{}
35730 \end_inset
35731
35732 line
35733 \begin_inset space ~
35734 \end_inset
35735
35736 thickness, the thickness of the outer frame is 1.5
35737 \begin_inset space \thinspace{}
35738 \end_inset
35739
35740 line
35741 \begin_inset space ~
35742 \end_inset
35743
35744 thickness.
35745  The distance between the lines is 1.5
35746 \begin_inset space \thinspace{}
35747 \end_inset
35748
35749 line
35750 \begin_inset space ~
35751 \end_inset
35752
35753 thickness
35754 \begin_inset space \thinspace{}
35755 \end_inset
35756
35757 +
35758 \begin_inset space \thinspace{}
35759 \end_inset
35760
35761 0.5
35762 \begin_inset space \thinspace{}
35763 \end_inset
35764
35765 pt.
35766  
35767 \begin_inset Box Doublebox
35768 position "c"
35769 hor_pos "c"
35770 has_inner_box 1
35771 inner_pos "c"
35772 use_parbox 0
35773 use_makebox 0
35774 width "20col%"
35775 special "none"
35776 height "1in"
35777 height_special "totalheight"
35778 thickness "0.4pt"
35779 separation "3pt"
35780 shadowsize "4pt"
35781 framecolor "black"
35782 backgroundcolor "none"
35783 status collapsed
35784
35785 \begin_layout Plain Layout
35786 \align center
35787 Double rectangular box
35788 \end_layout
35789
35790 \end_inset
35791
35792
35793 \end_layout
35794
35795 \begin_layout Standard
35796 \begin_inset VSpace bigskip
35797 \end_inset
35798
35799 \SpecialChar LyX
35800 's box label will reflect the different frame types.
35801  To be able to use all types, the \SpecialChar LaTeX
35802 -package 
35803 \series bold
35804 fancybox
35805 \series default
35806
35807 \begin_inset Index idx
35808 status collapsed
35809
35810 \begin_layout Plain Layout
35811 \SpecialChar LaTeX
35812 -packages ! fancybox
35813 \end_layout
35814
35815 \end_inset
35816
35817  must be installed.
35818 \end_layout
35819
35820 \begin_layout Standard
35821 \begin_inset VSpace bigskip
35822 \end_inset
35823
35824 When you use the decoration 
35825 \family sans
35826 simple rectangular frame
35827 \family default
35828  and no inner box, you can allow page breaks within a box.
35829  Note that then, unlike other framed boxes, the frame always uses the whole
35830  column width and the box is set as its own paragraph: 
35831 \begin_inset Box Framed
35832 position "t"
35833 hor_pos "c"
35834 has_inner_box 0
35835 inner_pos "t"
35836 use_parbox 0
35837 use_makebox 0
35838 width "100col%"
35839 special "none"
35840 height "1in"
35841 height_special "totalheight"
35842 thickness "0.4pt"
35843 separation "3pt"
35844 shadowsize "4pt"
35845 framecolor "black"
35846 backgroundcolor "none"
35847 status collapsed
35848
35849 \begin_layout Plain Layout
35850 Allow page break box
35851 \end_layout
35852
35853 \end_inset
35854
35855
35856 \end_layout
35857
35858 \begin_layout Section
35859 Box Customization
35860 \begin_inset Index idx
35861 status collapsed
35862
35863 \begin_layout Plain Layout
35864 Boxes ! Customization
35865 \end_layout
35866
35867 \end_inset
35868
35869
35870 \end_layout
35871
35872 \begin_layout Standard
35873 The diameter of the round corners of the oval boxes can be set with the
35874  command 
35875 \series bold
35876
35877 \backslash
35878 cornersize
35879 \series default
35880 .
35881  The command
35882 \end_layout
35883
35884 \begin_layout Standard
35885
35886 \series bold
35887
35888 \backslash
35889 cornersize*{1cm}
35890 \end_layout
35891
35892 \begin_layout Standard
35893 sets the diameter to 1
35894 \begin_inset space \thinspace{}
35895 \end_inset
35896
35897 cm.
35898  The command
35899 \end_layout
35900
35901 \begin_layout Standard
35902
35903 \series bold
35904
35905 \backslash
35906 cornersize{num}
35907 \end_layout
35908
35909 \begin_layout Standard
35910 sets the diameter to 
35911 \family sans
35912 num
35913 \begin_inset space \thinspace{}
35914 \end_inset
35915
35916 ×
35917 \begin_inset space \thinspace{}
35918 \end_inset
35919
35920 minimum(width and height of box)
35921 \family default
35922 .
35923  The default is 
35924 \series bold
35925
35926 \backslash
35927 cornersize{0.5}
35928 \series default
35929 .
35930 \end_layout
35931
35932 \begin_layout Standard
35933 \begin_inset ERT
35934 status collapsed
35935
35936 \begin_layout Plain Layout
35937
35938
35939 \backslash
35940 cornersize*{1.5cm}
35941 \end_layout
35942
35943 \end_inset
35944
35945
35946 \begin_inset Box Ovalbox
35947 position "c"
35948 hor_pos "c"
35949 has_inner_box 1
35950 inner_pos "c"
35951 use_parbox 0
35952 use_makebox 0
35953 width "25col%"
35954 special "none"
35955 height "1in"
35956 height_special "totalheight"
35957 thickness "0.4pt"
35958 separation "3pt"
35959 shadowsize "4pt"
35960 framecolor "black"
35961 backgroundcolor "none"
35962 status open
35963
35964 \begin_layout Plain Layout
35965 \align center
35966 Oval box with 
35967 \series bold
35968
35969 \backslash
35970 cornersize
35971 \series default
35972
35973 \begin_inset space \thinspace{}
35974 \end_inset
35975
35976 =
35977 \begin_inset space \thinspace{}
35978 \end_inset
35979
35980 1.5
35981 \begin_inset space \thinspace{}
35982 \end_inset
35983
35984 cm
35985 \end_layout
35986
35987 \end_inset
35988
35989
35990 \begin_inset ERT
35991 status collapsed
35992
35993 \begin_layout Plain Layout
35994
35995
35996 \backslash
35997 cornersize{0.5}
35998 \end_layout
35999
36000 \end_inset
36001
36002
36003 \end_layout
36004
36005 \begin_layout Standard
36006 \begin_inset VSpace bigskip
36007 \end_inset
36008
36009
36010 \end_layout
36011
36012 \begin_layout Standard
36013 The default background color red of 
36014 \family sans
36015 shaded background
36016 \family default
36017  boxes can either be changed locally with the command 
36018 \series bold
36019
36020 \backslash
36021 definecolor{shadecolor}
36022 \series default
36023  or globally with the menu 
36024 \family sans
36025 Tools\SpecialChar menuseparator
36026 Preferences\SpecialChar menuseparator
36027 Colors\SpecialChar menuseparator
36028 shaded
36029 \begin_inset space ~
36030 \end_inset
36031
36032 box
36033 \family default
36034 .
36035  The scheme of the 
36036 \series bold
36037
36038 \backslash
36039 definecolor
36040 \series default
36041  command is explained in section
36042 \begin_inset space ~
36043 \end_inset
36044
36045
36046 \begin_inset CommandInset ref
36047 LatexCommand ref
36048 reference "sec:Colored-Tables"
36049
36050 \end_inset
36051
36052 .
36053 \begin_inset Foot
36054 status collapsed
36055
36056 \begin_layout Plain Layout
36057 Note that 
36058 \series bold
36059
36060 \backslash
36061 definecolor
36062 \series default
36063  requires the \SpecialChar LaTeX
36064 -package 
36065 \series bold
36066 color
36067 \series default
36068  in the preamble, see section
36069 \begin_inset space ~
36070 \end_inset
36071
36072
36073 \begin_inset CommandInset ref
36074 LatexCommand ref
36075 reference "sec:Colored-Boxes"
36076
36077 \end_inset
36078
36079 .
36080 \end_layout
36081
36082 \end_inset
36083
36084  For example the appearance of the following shaded background box is set
36085  with the \SpecialChar TeX
36086  Code command
36087 \end_layout
36088
36089 \begin_layout Standard
36090
36091 \series bold
36092
36093 \backslash
36094 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
36095 \end_layout
36096
36097 \begin_layout Standard
36098 \begin_inset ERT
36099 status collapsed
36100
36101 \begin_layout Plain Layout
36102
36103
36104 \backslash
36105 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
36106 \end_layout
36107
36108 \end_inset
36109
36110
36111 \begin_inset Box Shaded
36112 position "t"
36113 hor_pos "c"
36114 has_inner_box 0
36115 inner_pos "t"
36116 use_parbox 0
36117 use_makebox 0
36118 width "100col%"
36119 special "none"
36120 height "1in"
36121 height_special "totalheight"
36122 thickness "0.4pt"
36123 separation "3pt"
36124 shadowsize "4pt"
36125 framecolor "black"
36126 backgroundcolor "none"
36127 status open
36128
36129 \begin_layout Plain Layout
36130
36131 \color yellow
36132 This is yellow text in a
36133 \color none
36134  
36135 \family sans
36136 \color yellow
36137 shaded background
36138 \family default
36139 \color none
36140  
36141 \color yellow
36142 box with dark green background.
36143 \end_layout
36144
36145 \end_inset
36146
36147
36148 \begin_inset ERT
36149 status collapsed
36150
36151 \begin_layout Plain Layout
36152
36153
36154 \backslash
36155 definecolor{shadecolor}{rgb}{1,0,0}
36156 \end_layout
36157
36158 \end_inset
36159
36160
36161 \end_layout
36162
36163 \begin_layout Standard
36164 \begin_inset VSpace bigskip
36165 \end_inset
36166
36167 Manually changed sizes and colors are valid for all boxes following the
36168  commands that change them.
36169 \end_layout
36170
36171 \begin_layout Section
36172 Minipages
36173 \begin_inset CommandInset label
36174 LatexCommand label
36175 name "sec:Minipages"
36176
36177 \end_inset
36178
36179
36180 \begin_inset Index idx
36181 status collapsed
36182
36183 \begin_layout Plain Layout
36184 Boxes ! Minipages
36185 \end_layout
36186
36187 \end_inset
36188
36189
36190 \end_layout
36191
36192 \begin_layout Standard
36193 Minipages are treated by \SpecialChar LaTeX
36194  as pages within pages and can therefore for example
36195  have their own footnotes.
36196 \end_layout
36197
36198 \begin_layout Standard
36199 Minipages are useful when you write documents with different languages.
36200 \end_layout
36201
36202 \begin_layout Standard
36203 Below are two example minipages side by side.
36204  Their width is set to 45
36205 \begin_inset space \thinspace{}
36206 \end_inset
36207
36208 col% and they are separated by a horizontal fill, that was inserted via
36209  the menu 
36210 \family sans
36211 Insert\SpecialChar menuseparator
36212 Special
36213 \begin_inset space ~
36214 \end_inset
36215
36216 Formatting\SpecialChar menuseparator
36217 Horizontal
36218 \begin_inset space ~
36219 \end_inset
36220
36221 Fill
36222 \family default
36223 .
36224 \begin_inset Newpage newpage
36225 \end_inset
36226
36227
36228 \end_layout
36229
36230 \begin_layout Standard
36231 \begin_inset Box Frameless
36232 position "t"
36233 hor_pos "c"
36234 has_inner_box 1
36235 inner_pos "c"
36236 use_parbox 0
36237 use_makebox 0
36238 width "45col%"
36239 special "none"
36240 height "1in"
36241 height_special "totalheight"
36242 thickness "0.4pt"
36243 separation "3pt"
36244 shadowsize "4pt"
36245 framecolor "black"
36246 backgroundcolor "none"
36247 status open
36248
36249 \begin_layout Plain Layout
36250
36251 \lang ngerman
36252 Dies ist ein deutscher Text.
36253  Dies ist ein deutscher Text.
36254  Dies ist ein deutscher Text.
36255  Dies ist ein deutscher Text.
36256  Dies ist ein deutscher Text.
36257  Dies ist ein deutscher Text.
36258  Dies ist ein deutscher Text.
36259  Dies ist ein deutscher Text.
36260  Dies ist ein deutscher Text.
36261  Dies ist ein deutscher Text.
36262  Dies ist ein deutscher Text.
36263  Dies ist ein deutscher Text.
36264  Dies ist ein deutscher Text
36265 \begin_inset Foot
36266 status collapsed
36267
36268 \begin_layout Plain Layout
36269
36270 \lang ngerman
36271 Dies ist eine deutsche Fußnote.
36272 \end_layout
36273
36274 \end_inset
36275
36276 .
36277  Dies ist ein deutscher Text.
36278  Dies ist ein deutscher Text.
36279 \end_layout
36280
36281 \end_inset
36282
36283
36284 \begin_inset space \hfill{}
36285 \end_inset
36286
36287
36288 \begin_inset Box Frameless
36289 position "t"
36290 hor_pos "c"
36291 has_inner_box 1
36292 inner_pos "c"
36293 use_parbox 0
36294 use_makebox 0
36295 width "45col%"
36296 special "none"
36297 height "1in"
36298 height_special "totalheight"
36299 thickness "0.4pt"
36300 separation "3pt"
36301 shadowsize "4pt"
36302 framecolor "black"
36303 backgroundcolor "none"
36304 status open
36305
36306 \begin_layout Plain Layout
36307 This is an English Text.
36308  This is an English Text.
36309  This is an English Text.
36310  This is an English Text.
36311  This is an English Text.
36312  This is an English Text.
36313  This is an English Text.
36314  This is an English Text.
36315  This is an English Text.
36316  This is an English Text.
36317  This is an English Text.
36318  This is an English Text.
36319  This is an English Text.
36320  This is an English Text.
36321  This is an English Text.
36322  This is an English Text.
36323 \begin_inset Foot
36324 status collapsed
36325
36326 \begin_layout Plain Layout
36327 This is an English footnote.
36328 \end_layout
36329
36330 \end_inset
36331
36332  This is an English Text.
36333 \end_layout
36334
36335 \end_inset
36336
36337
36338 \end_layout
36339
36340 \begin_layout Standard
36341 \begin_inset VSpace bigskip
36342 \end_inset
36343
36344 The document-wide paragraph settings are ignored within minipages.
36345  That means that there will be no space between paragraphs in minipages
36346  although you set it to e.
36347 \begin_inset space \thinspace{}
36348 \end_inset
36349
36350 g.
36351 \begin_inset space \space{}
36352 \end_inset
36353
36354
36355 \family sans
36356 MedSkip
36357 \family default
36358  in the document settings.
36359 \end_layout
36360
36361 \begin_layout Standard
36362 Minipages can also be used to set a background color for text parts, see
36363  section
36364 \begin_inset space ~
36365 \end_inset
36366
36367
36368 \begin_inset CommandInset ref
36369 LatexCommand ref
36370 reference "sec:Colored-Boxes"
36371
36372 \end_inset
36373
36374 .
36375 \end_layout
36376
36377 \begin_layout Standard
36378 \begin_inset Note Greyedout
36379 status open
36380
36381 \begin_layout Plain Layout
36382
36383 \series bold
36384 Note:
36385 \series default
36386  You cannot have floats or margin notes inside minipages but minipages can
36387  be used inside tables, floats, and other boxes.
36388 \end_layout
36389
36390 \end_inset
36391
36392
36393 \end_layout
36394
36395 \begin_layout Standard
36396 \begin_inset VSpace bigskip
36397 \end_inset
36398
36399
36400 \end_layout
36401
36402 \begin_layout Standard
36403 \SpecialChar LyX
36404  has also basic support for minipages whose size is automatically determined
36405  by the width of their contents, via the module 
36406 \family sans
36407 Variable-width Minipages
36408 \family default
36409 .
36410  The \SpecialChar LyX
36411  example file 
36412 \emph on
36413 varwidth-floats-side-by-side
36414 \emph default
36415  gives examples of variable-width minipages used for placing two floats
36416  side-by-side.
36417 \end_layout
36418
36419 \begin_layout Section
36420 Parboxes
36421 \begin_inset CommandInset label
36422 LatexCommand label
36423 name "sec:Parboxes"
36424
36425 \end_inset
36426
36427
36428 \begin_inset Index idx
36429 status collapsed
36430
36431 \begin_layout Plain Layout
36432 Boxes ! Parboxes
36433 \end_layout
36434
36435 \end_inset
36436
36437
36438 \end_layout
36439
36440 \begin_layout Standard
36441 Parboxes are very similar to minipages with the difference that they cannot
36442  have footnotes.
36443 \end_layout
36444
36445 \begin_layout Standard
36446 \align center
36447 \begin_inset Box Frameless
36448 position "t"
36449 hor_pos "c"
36450 has_inner_box 1
36451 inner_pos "t"
36452 use_parbox 1
36453 use_makebox 0
36454 width "33col%"
36455 special "none"
36456 height "1in"
36457 height_special "totalheight"
36458 thickness "0.4pt"
36459 separation "3pt"
36460 shadowsize "4pt"
36461 framecolor "black"
36462 backgroundcolor "none"
36463 status open
36464
36465 \begin_layout Plain Layout
36466 This a text within a parbox.
36467  This a text within a parbox.
36468 \end_layout
36469
36470 \begin_layout Plain Layout
36471 This footnote won't appear:
36472 \begin_inset Foot
36473 status collapsed
36474
36475 \begin_layout Plain Layout
36476 This footnote is inside a parbox and will therefore not appear.
36477 \end_layout
36478
36479 \end_inset
36480
36481
36482 \end_layout
36483
36484 \end_inset
36485
36486
36487 \end_layout
36488
36489 \begin_layout Section
36490 Boxes for Words and Characters
36491 \begin_inset Index idx
36492 status collapsed
36493
36494 \begin_layout Plain Layout
36495 Boxes ! for Characters
36496 \end_layout
36497
36498 \end_inset
36499
36500
36501 \end_layout
36502
36503 \begin_layout Subsection
36504 Prevent Hyphenation
36505 \begin_inset CommandInset label
36506 LatexCommand label
36507 name "sec:Prevent-Hyphenation"
36508
36509 \end_inset
36510
36511
36512 \begin_inset Index idx
36513 status collapsed
36514
36515 \begin_layout Plain Layout
36516 Boxes ! to Prevent Hyphenation
36517 \end_layout
36518
36519 \end_inset
36520
36521
36522 \end_layout
36523
36524 \begin_layout Standard
36525 You can use the box type 
36526 \family sans
36527 Makebox
36528 \family default
36529  to prevent words or text from being hyphenated.
36530 \begin_inset Newline newline
36531 \end_inset
36532
36533 Here is an example text:
36534 \end_layout
36535
36536 \begin_layout Standard
36537 This line is an example to show how you can prevent the hyphenation of 
36538 \begin_inset Quotes eld
36539 \end_inset
36540
36541 veryverylongword
36542 \begin_inset Quotes erd
36543 \end_inset
36544
36545 .
36546 \end_layout
36547
36548 \begin_layout Standard
36549 To prevent the hyphenation of the word 
36550 \begin_inset Quotes eld
36551 \end_inset
36552
36553 veryverylongword
36554 \begin_inset Quotes erd
36555 \end_inset
36556
36557 , put the word into a box, set the 
36558 \family sans
36559 Inner
36560 \begin_inset space ~
36561 \end_inset
36562
36563 box
36564 \family default
36565  to 
36566 \family sans
36567 Makebox
36568 \family default
36569  and use no explicit width.
36570 \end_layout
36571
36572 \begin_layout Standard
36573 This is the result:
36574 \end_layout
36575
36576 \begin_layout Standard
36577 This line is an example to show how you can prevent the hyphenation of 
36578 \begin_inset Box Frameless
36579 position "t"
36580 hor_pos "c"
36581 has_inner_box 1
36582 inner_pos "t"
36583 use_parbox 0
36584 use_makebox 1
36585 width ""
36586 special "none"
36587 height "1in"
36588 height_special "totalheight"
36589 thickness "0.4pt"
36590 separation "3pt"
36591 shadowsize "4pt"
36592 framecolor "black"
36593 backgroundcolor "none"
36594 status open
36595
36596 \begin_layout Plain Layout
36597 \begin_inset Quotes eld
36598 \end_inset
36599
36600 veryverylongword
36601 \begin_inset Quotes erd
36602 \end_inset
36603
36604
36605 \end_layout
36606
36607 \end_inset
36608
36609 .
36610 \end_layout
36611
36612 \begin_layout Standard
36613 You can alternatively set the command 
36614 \begin_inset Quotes eld
36615 \end_inset
36616
36617
36618 \series bold
36619
36620 \backslash
36621 -
36622 \series default
36623
36624 \begin_inset Quotes grd
36625 \end_inset
36626
36627  as \SpecialChar TeX
36628  Code directly before the word:
36629 \end_layout
36630
36631 \begin_layout Standard
36632 This line is an example to show how you can prevent the hyphenation of 
36633 \begin_inset Quotes eld
36634 \end_inset
36635
36636
36637 \begin_inset ERT
36638 status collapsed
36639
36640 \begin_layout Plain Layout
36641
36642
36643 \backslash
36644 -
36645 \end_layout
36646
36647 \end_inset
36648
36649 veryverylongword
36650 \begin_inset Quotes erd
36651 \end_inset
36652
36653 .
36654 \end_layout
36655
36656 \begin_layout Standard
36657 Of course the word now protrudes over the side margin.
36658  To avoid this, add via the menu 
36659 \family sans
36660 Insert\SpecialChar menuseparator
36661 Formatting\SpecialChar menuseparator
36662 Ragged
36663 \begin_inset space ~
36664 \end_inset
36665
36666 Line
36667 \begin_inset space ~
36668 \end_inset
36669
36670 Break
36671 \family default
36672  (shortcut 
36673 \begin_inset Info
36674 type  "shortcut"
36675 arg   "newline-insert newline"
36676 \end_inset
36677
36678 ) a line break before the word:
36679 \end_layout
36680
36681 \begin_layout Standard
36682 This line is an example to show how you can prevent the hyphenation of 
36683 \begin_inset Newline newline
36684 \end_inset
36685
36686
36687 \begin_inset Box Frameless
36688 position "t"
36689 hor_pos "c"
36690 has_inner_box 1
36691 inner_pos "t"
36692 use_parbox 0
36693 use_makebox 1
36694 width ""
36695 special "none"
36696 height "1in"
36697 height_special "totalheight"
36698 thickness "0.4pt"
36699 separation "3pt"
36700 shadowsize "4pt"
36701 framecolor "black"
36702 backgroundcolor "none"
36703 status open
36704
36705 \begin_layout Plain Layout
36706 \begin_inset Quotes eld
36707 \end_inset
36708
36709 veryverylongword
36710 \begin_inset Quotes erd
36711 \end_inset
36712
36713
36714 \end_layout
36715
36716 \end_inset
36717
36718 .
36719 \end_layout
36720
36721 \begin_layout Subsection
36722 Vertical Alignment
36723 \begin_inset CommandInset label
36724 LatexCommand label
36725 name "subsec:Vertical-Alignment"
36726
36727 \end_inset
36728
36729
36730 \begin_inset Index idx
36731 status collapsed
36732
36733 \begin_layout Plain Layout
36734 Boxes ! for Vertical Alignment
36735 \end_layout
36736
36737 \end_inset
36738
36739
36740 \begin_inset Index idx
36741 status collapsed
36742
36743 \begin_layout Plain Layout
36744 Boxes ! Raiseboxes
36745 \end_layout
36746
36747 \end_inset
36748
36749
36750 \end_layout
36751
36752 \begin_layout Standard
36753 With the help of the command 
36754 \series bold
36755
36756 \backslash
36757 raisebox
36758 \series default
36759  you can align words, characters or other boxes vertically relative to the
36760  surrounding text.
36761  
36762 \series bold
36763
36764 \backslash
36765 raisebox
36766 \series default
36767  is used with the following scheme:
36768 \end_layout
36769
36770 \begin_layout Standard
36771
36772 \series bold
36773
36774 \backslash
36775 raisebox{lift}[height][depth]{box content}
36776 \end_layout
36777
36778 \begin_layout Standard
36779 The lift can be a positive value to raise the box or a negative value to
36780  lower the box.
36781 \end_layout
36782
36783 \begin_layout Standard
36784 To align for example the word 
36785 \begin_inset Quotes eld
36786 \end_inset
36787
36788 preventing
36789 \begin_inset Quotes erd
36790 \end_inset
36791
36792  so that the bottom of the 
36793 \begin_inset Quotes eld
36794 \end_inset
36795
36796 deepest
36797 \begin_inset Quotes erd
36798 \end_inset
36799
36800  character 
36801 \begin_inset Quotes eld
36802 \end_inset
36803
36804 p
36805 \begin_inset Quotes erd
36806 \end_inset
36807
36808  is at the baseline, insert the command
36809 \end_layout
36810
36811 \begin_layout Standard
36812
36813 \series bold
36814
36815 \backslash
36816 raisebox{
36817 \backslash
36818 depth}{
36819 \end_layout
36820
36821 \begin_layout Standard
36822 in \SpecialChar TeX
36823  Code before the word.
36824  After the word insert a closing brace 
36825 \begin_inset Quotes eld
36826 \end_inset
36827
36828
36829 \series bold
36830 }
36831 \series default
36832
36833 \begin_inset Quotes erd
36834 \end_inset
36835
36836  in \SpecialChar TeX
36837  Code.
36838 \begin_inset Newline newline
36839 \end_inset
36840
36841 This is the result:
36842 \end_layout
36843
36844 \begin_layout Standard
36845 This is a text line with the word 
36846 \begin_inset ERT
36847 status collapsed
36848
36849 \begin_layout Plain Layout
36850
36851
36852 \backslash
36853 raisebox{
36854 \backslash
36855 depth}{
36856 \end_layout
36857
36858 \end_inset
36859
36860
36861 \begin_inset Quotes eld
36862 \end_inset
36863
36864 preventing
36865 \begin_inset Quotes erd
36866 \end_inset
36867
36868
36869 \begin_inset ERT
36870 status collapsed
36871
36872 \begin_layout Plain Layout
36873
36874 }
36875 \end_layout
36876
36877 \end_inset
36878
36879  as a raised word.
36880 \end_layout
36881
36882 \begin_layout Standard
36883 \begin_inset VSpace bigskip
36884 \end_inset
36885
36886 When you raise or lower characters in a line, the line distance will be
36887  spread:
36888 \end_layout
36889
36890 \begin_layout Standard
36891 This is a text line with the word 
36892 \begin_inset ERT
36893 status collapsed
36894
36895 \begin_layout Plain Layout
36896
36897
36898 \backslash
36899 raisebox{-
36900 \backslash
36901 depth}{
36902 \end_layout
36903
36904 \end_inset
36905
36906
36907 \begin_inset Quotes eld
36908 \end_inset
36909
36910 preventing
36911 \begin_inset Quotes erd
36912 \end_inset
36913
36914
36915 \begin_inset ERT
36916 status collapsed
36917
36918 \begin_layout Plain Layout
36919
36920 }
36921 \end_layout
36922
36923 \end_inset
36924
36925  as a lowered word.
36926 \begin_inset Newline newline
36927 \end_inset
36928
36929 This is a text line with the word 
36930 \begin_inset ERT
36931 status collapsed
36932
36933 \begin_layout Plain Layout
36934
36935
36936 \backslash
36937 raisebox{0.5cm}{
36938 \end_layout
36939
36940 \end_inset
36941
36942
36943 \begin_inset Quotes eld
36944 \end_inset
36945
36946 testing
36947 \begin_inset Quotes erd
36948 \end_inset
36949
36950
36951 \begin_inset ERT
36952 status collapsed
36953
36954 \begin_layout Plain Layout
36955
36956 }
36957 \end_layout
36958
36959 \end_inset
36960
36961  as a raised word.
36962 \end_layout
36963
36964 \begin_layout Standard
36965 If you want to prevent this for a certain reason, set the box height to
36966  a zero value.
36967  For example use
36968 \end_layout
36969
36970 \begin_layout Standard
36971
36972 \series bold
36973
36974 \backslash
36975 raisebox{-
36976 \backslash
36977 depth}[0pt]{
36978 \end_layout
36979
36980 \begin_layout Standard
36981 This is a text line with the word 
36982 \begin_inset ERT
36983 status collapsed
36984
36985 \begin_layout Plain Layout
36986
36987
36988 \backslash
36989 raisebox{-
36990 \backslash
36991 depth}[0pt]{
36992 \end_layout
36993
36994 \end_inset
36995
36996
36997 \begin_inset Quotes eld
36998 \end_inset
36999
37000 preventing
37001 \begin_inset Quotes erd
37002 \end_inset
37003
37004
37005 \begin_inset ERT
37006 status collapsed
37007
37008 \begin_layout Plain Layout
37009
37010 }
37011 \end_layout
37012
37013 \end_inset
37014
37015  as a lowered word.
37016 \begin_inset Newline newline
37017 \end_inset
37018
37019
37020 \begin_inset Newline newline
37021 \end_inset
37022
37023 This is a text line with the word 
37024 \begin_inset ERT
37025 status collapsed
37026
37027 \begin_layout Plain Layout
37028
37029
37030 \backslash
37031 raisebox{0.5cm}[0pt]{
37032 \end_layout
37033
37034 \end_inset
37035
37036
37037 \begin_inset Quotes eld
37038 \end_inset
37039
37040 testing
37041 \begin_inset Quotes erd
37042 \end_inset
37043
37044
37045 \begin_inset ERT
37046 status collapsed
37047
37048 \begin_layout Plain Layout
37049
37050 }
37051 \end_layout
37052
37053 \end_inset
37054
37055  as a raised word.
37056 \end_layout
37057
37058 \begin_layout Section
37059 Colored Boxes
37060 \begin_inset CommandInset label
37061 LatexCommand label
37062 name "sec:Colored-Boxes"
37063
37064 \end_inset
37065
37066
37067 \begin_inset Index idx
37068 status collapsed
37069
37070 \begin_layout Plain Layout
37071 Boxes ! Color
37072 \end_layout
37073
37074 \end_inset
37075
37076
37077 \end_layout
37078
37079 \begin_layout Standard
37080 To color the background of a box just select the color you like in the box
37081  dialog.
37082  This is for example a box with orange background: 
37083 \begin_inset Box Frameless
37084 position "t"
37085 hor_pos "c"
37086 has_inner_box 1
37087 inner_pos "t"
37088 use_parbox 0
37089 use_makebox 1
37090 width ""
37091 special "none"
37092 height "1in"
37093 height_special "totalheight"
37094 thickness "0.4pt"
37095 separation "3pt"
37096 shadowsize "4pt"
37097 framecolor "black"
37098 backgroundcolor "orange"
37099 status open
37100
37101 \begin_layout Plain Layout
37102 Box with orange background
37103 \end_layout
37104
37105 \end_inset
37106
37107
37108 \end_layout
37109
37110 \begin_layout Standard
37111 If you use the decoration 
37112 \family sans
37113 Simple
37114 \begin_inset space ~
37115 \end_inset
37116
37117 rectangular
37118 \begin_inset space ~
37119 \end_inset
37120
37121 frame
37122 \family default
37123  you can set a frame color.
37124  In this case you must also specify a background color (LyX sets white as
37125  default).
37126  Here is an example: 
37127 \begin_inset Box Boxed
37128 position "t"
37129 hor_pos "c"
37130 has_inner_box 0
37131 inner_pos "t"
37132 use_parbox 0
37133 use_makebox 0
37134 width ""
37135 special "none"
37136 height "1in"
37137 height_special "totalheight"
37138 thickness "0.4pt"
37139 separation "3pt"
37140 shadowsize "4pt"
37141 framecolor "teal"
37142 backgroundcolor "yellow"
37143 status open
37144
37145 \begin_layout Plain Layout
37146 Box with teal frame color and yellow background color
37147 \end_layout
37148
37149 \end_inset
37150
37151
37152 \end_layout
37153
37154 \begin_layout Standard
37155 \begin_inset VSpace bigskip
37156 \end_inset
37157
37158 Of course you can also have colored text inside a colored box:
37159 \begin_inset Newline newline
37160 \end_inset
37161
37162
37163 \begin_inset Box Boxed
37164 position "t"
37165 hor_pos "c"
37166 has_inner_box 0
37167 inner_pos "t"
37168 use_parbox 0
37169 use_makebox 0
37170 width ""
37171 special "none"
37172 height "1in"
37173 height_special "totalheight"
37174 thickness "0.4pt"
37175 separation "3pt"
37176 shadowsize "4pt"
37177 framecolor "cyan"
37178 backgroundcolor "magenta"
37179 status open
37180
37181 \begin_layout Plain Layout
37182
37183 \color yellow
37184 This is colored text within a colored, framed box
37185 \end_layout
37186
37187 \end_inset
37188
37189
37190 \end_layout
37191
37192 \begin_layout Standard
37193 \begin_inset VSpace bigskip
37194 \end_inset
37195
37196
37197 \end_layout
37198
37199 \begin_layout Standard
37200 If you need another color than the predefined ones, you can define your
37201  own color as described in section
37202 \begin_inset space ~
37203 \end_inset
37204
37205
37206 \begin_inset CommandInset ref
37207 LatexCommand ref
37208 reference "sec:Colored-Tables"
37209
37210 \end_inset
37211
37212 .
37213  To use your own color you must typeset the box by using TeX code:
37214 \end_layout
37215
37216 \begin_layout Standard
37217 Colored boxes without frame are created with the command 
37218 \series bold
37219
37220 \backslash
37221 colorbox
37222 \series default
37223 .
37224  It has the following scheme:
37225 \end_layout
37226
37227 \begin_layout Standard
37228
37229 \series bold
37230
37231 \backslash
37232 colorbox{color}{box content}
37233 \end_layout
37234
37235 \begin_layout Standard
37236 The box content can also be a box and colored boxes can also be within other
37237  boxes.
37238  To have e.
37239 \begin_inset space \thinspace{}
37240 \end_inset
37241
37242 g.
37243 \begin_inset space \space{}
37244 \end_inset
37245
37246 a darkgreen background for a word, insert the command
37247 \end_layout
37248
37249 \begin_layout Standard
37250
37251 \series bold
37252
37253 \backslash
37254 colorbox{darkgreen}{
37255 \end_layout
37256
37257 \begin_layout Standard
37258 before the word in \SpecialChar TeX
37259  Code.
37260  After the word insert a closing brace 
37261 \begin_inset Quotes eld
37262 \end_inset
37263
37264
37265 \series bold
37266 }
37267 \series default
37268
37269 \begin_inset Quotes erd
37270 \end_inset
37271
37272  in \SpecialChar TeX
37273  Code.
37274 \begin_inset Newline newline
37275 \end_inset
37276
37277 This is the result:
37278 \end_layout
37279
37280 \begin_layout Standard
37281 This is a line where the word 
37282 \begin_inset ERT
37283 status collapsed
37284
37285 \begin_layout Plain Layout
37286
37287
37288 \backslash
37289 colorbox{darkgreen}{
37290 \end_layout
37291
37292 \end_inset
37293
37294
37295 \begin_inset Quotes eld
37296 \end_inset
37297
37298 Attention!
37299 \begin_inset Quotes erd
37300 \end_inset
37301
37302
37303 \begin_inset ERT
37304 status collapsed
37305
37306 \begin_layout Plain Layout
37307
37308 }
37309 \end_layout
37310
37311 \end_inset
37312
37313  has a darkgreen background.
37314 \end_layout
37315
37316 \begin_layout Standard
37317 Framed, colored boxes are created with the command 
37318 \series bold
37319
37320 \backslash
37321 fcolorbox
37322 \series default
37323 .
37324  It has the following scheme:
37325 \end_layout
37326
37327 \begin_layout Standard
37328
37329 \series bold
37330
37331 \backslash
37332 fcolorbox{frame color}{box color}{box content}
37333 \end_layout
37334
37335 \begin_layout Section
37336 Rotated and Scaled Boxes
37337 \end_layout
37338
37339 \begin_layout Standard
37340 To use the boxes described in this section, the module 
37341 \family sans
37342 GraphicBoxes
37343 \family default
37344  must be loaded in the document settings.
37345 \end_layout
37346
37347 \begin_layout Standard
37348 \begin_inset Note Greyedout
37349 status open
37350
37351 \begin_layout Plain Layout
37352
37353 \series bold
37354 Note:
37355 \series default
37356  Not all DVI viewers are able to display rotated or scaled material.
37357 \end_layout
37358
37359 \end_inset
37360
37361
37362 \end_layout
37363
37364 \begin_layout Standard
37365 \begin_inset Note Greyedout
37366 status open
37367
37368 \begin_layout Plain Layout
37369
37370 \series bold
37371 Note:
37372 \series default
37373  Floats are not allowed inside a rotated or scaled box.
37374 \end_layout
37375
37376 \end_inset
37377
37378
37379 \end_layout
37380
37381 \begin_layout Subsection
37382 Rotated Boxes
37383 \begin_inset Index idx
37384 status collapsed
37385
37386 \begin_layout Plain Layout
37387 Boxes ! rotated
37388 \end_layout
37389
37390 \end_inset
37391
37392
37393 \begin_inset Index idx
37394 status collapsed
37395
37396 \begin_layout Plain Layout
37397 Rotated Material
37398 \end_layout
37399
37400 \end_inset
37401
37402
37403 \end_layout
37404
37405 \begin_layout Standard
37406 To rotate material, you can put it into a 
37407 \family sans
37408 Rotatebox
37409 \family default
37410 .
37411  Such a box is inserted via the menu 
37412 \family sans
37413 Insert\SpecialChar menuseparator
37414 Custom Insets\SpecialChar menuseparator
37415 Rotatebox
37416 \family default
37417 .
37418 \end_layout
37419
37420 \begin_layout Standard
37421 The rotation origin can be specified via the inset 
37422 \family sans
37423 Origin
37424 \family default
37425  (menu 
37426 \family sans
37427 Insert\SpecialChar menuseparator
37428 Origin
37429 \family default
37430 ) in the form 
37431 \series bold
37432 origin=position
37433 \series default
37434 .
37435  The following positions are possible: 
37436 \emph on
37437 c
37438 \emph default
37439  (center), 
37440 \emph on
37441 l
37442 \emph default
37443  (left), 
37444 \emph on
37445 r
37446 \emph default
37447  (right), 
37448 \emph on
37449 b
37450 \emph default
37451  (bottom), 
37452 \emph on
37453 t
37454 \emph default
37455  (top), along with meaningful combinations of the four base positions.
37456  For example 
37457 \emph on
37458 lt
37459 \emph default
37460  means that the rotation origin is at the top left corner of the box.
37461  When no rotation origin is specified, the position 
37462 \emph on
37463 l
37464 \emph default
37465  will be used.
37466  The rotation angle is a number that can be negative that specifies the
37467  angle in degrees.
37468  The rotation direction is counterclockwise.
37469 \end_layout
37470
37471 \begin_layout Standard
37472 In the following example 
37473 \series bold
37474 origin=c
37475 \series default
37476  was inserted to the 
37477 \family sans
37478 Origin
37479 \family default
37480  inset and 
37481 \series bold
37482 60
37483 \series default
37484  was inserted to the 
37485 \family sans
37486 Angle
37487 \family default
37488  inset.
37489 \end_layout
37490
37491 \begin_layout Standard
37492 This is a line 
37493 \begin_inset Flex Rotatebox
37494 status open
37495
37496 \begin_layout Plain Layout
37497 \begin_inset Argument 1
37498 status open
37499
37500 \begin_layout Plain Layout
37501 origin=c
37502 \end_layout
37503
37504 \end_inset
37505
37506
37507 \begin_inset Argument 2
37508 status open
37509
37510 \begin_layout Plain Layout
37511 60
37512 \end_layout
37513
37514 \end_inset
37515
37516 with rotated
37517 \end_layout
37518
37519 \end_inset
37520
37521  text.
37522 \end_layout
37523
37524 \begin_layout Standard
37525 The box content can also be another box or an inline formula:
37526 \end_layout
37527
37528 \begin_layout Standard
37529 This is a line 
37530 \begin_inset Flex Rotatebox
37531 status open
37532
37533 \begin_layout Plain Layout
37534 \begin_inset Argument 1
37535 status open
37536
37537 \begin_layout Plain Layout
37538 origin=r
37539 \end_layout
37540
37541 \end_inset
37542
37543
37544 \begin_inset Argument 2
37545 status open
37546
37547 \begin_layout Plain Layout
37548 -60
37549 \end_layout
37550
37551 \end_inset
37552
37553
37554 \begin_inset Box Doublebox
37555 position "c"
37556 hor_pos "c"
37557 has_inner_box 0
37558 inner_pos "c"
37559 use_parbox 0
37560 use_makebox 0
37561 width "1in"
37562 special "width"
37563 height "1in"
37564 height_special "totalheight"
37565 thickness "0.4pt"
37566 separation "3pt"
37567 shadowsize "4pt"
37568 framecolor "black"
37569 backgroundcolor "none"
37570 status collapsed
37571
37572 \begin_layout Plain Layout
37573 with rotated
37574 \end_layout
37575
37576 \end_inset
37577
37578
37579 \end_layout
37580
37581 \end_inset
37582
37583  framed text 
37584 \begin_inset Flex Rotatebox
37585 status open
37586
37587 \begin_layout Plain Layout
37588 \begin_inset Argument 1
37589 status open
37590
37591 \begin_layout Plain Layout
37592 origin=lb
37593 \end_layout
37594
37595 \end_inset
37596
37597
37598 \begin_inset Argument 2
37599 status open
37600
37601 \begin_layout Plain Layout
37602 60
37603 \end_layout
37604
37605 \end_inset
37606
37607
37608 \begin_inset Formula $\int A\,\mathrm{d}x=B$
37609 \end_inset
37610
37611
37612 \end_layout
37613
37614 \end_inset
37615
37616  and a formula.
37617 \end_layout
37618
37619 \begin_layout Standard
37620 or an image or table:
37621 \end_layout
37622
37623 \begin_layout Standard
37624 This is a line 
37625 \begin_inset Flex Rotatebox
37626 status open
37627
37628 \begin_layout Plain Layout
37629 \begin_inset Argument 1
37630 status open
37631
37632 \begin_layout Plain Layout
37633 origin=lb
37634 \end_layout
37635
37636 \end_inset
37637
37638
37639 \begin_inset Argument 2
37640 status open
37641
37642 \begin_layout Plain Layout
37643 90
37644 \end_layout
37645
37646 \end_inset
37647
37648
37649 \begin_inset Graphics
37650         filename clipart/Star-structure.pdf
37651         lyxscale 50
37652         width 25col%
37653
37654 \end_inset
37655
37656
37657 \end_layout
37658
37659 \end_inset
37660
37661  with a rotated image 
37662 \begin_inset Flex Rotatebox
37663 status open
37664
37665 \begin_layout Plain Layout
37666 \begin_inset Argument 2
37667 status open
37668
37669 \begin_layout Plain Layout
37670 -90
37671 \end_layout
37672
37673 \end_inset
37674
37675
37676 \begin_inset Tabular
37677 <lyxtabular version="3" rows="2" columns="2">
37678 <features tabularvalignment="middle">
37679 <column alignment="center" valignment="top">
37680 <column alignment="center" valignment="top">
37681 <row>
37682 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37683 \begin_inset Text
37684
37685 \begin_layout Plain Layout
37686 q
37687 \end_layout
37688
37689 \end_inset
37690 </cell>
37691 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
37692 \begin_inset Text
37693
37694 \begin_layout Plain Layout
37695 w
37696 \end_layout
37697
37698 \end_inset
37699 </cell>
37700 </row>
37701 <row>
37702 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
37703 \begin_inset Text
37704
37705 \begin_layout Plain Layout
37706 e
37707 \end_layout
37708
37709 \end_inset
37710 </cell>
37711 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
37712 \begin_inset Text
37713
37714 \begin_layout Plain Layout
37715 r
37716 \end_layout
37717
37718 \end_inset
37719 </cell>
37720 </row>
37721 </lyxtabular>
37722
37723 \end_inset
37724
37725
37726 \end_layout
37727
37728 \end_inset
37729
37730  and table.
37731 \begin_inset Index idx
37732 status collapsed
37733
37734 \begin_layout Plain Layout
37735 Figures ! rotated
37736 \end_layout
37737
37738 \end_inset
37739
37740
37741 \begin_inset Index idx
37742 status collapsed
37743
37744 \begin_layout Plain Layout
37745 Table Customization ! Rotating
37746 \end_layout
37747
37748 \end_inset
37749
37750
37751 \end_layout
37752
37753 \begin_layout Standard
37754 \begin_inset Note Greyedout
37755 status open
37756
37757 \begin_layout Plain Layout
37758
37759 \series bold
37760 Note:
37761 \series default
37762  If the 
37763 \family sans
37764 Angle
37765 \family default
37766  inset is empty or contains other characters than numbers you will get \SpecialChar LaTeX
37767
37768  errors when viewing/exporting the document.
37769 \end_layout
37770
37771 \end_inset
37772
37773
37774 \end_layout
37775
37776 \begin_layout Subsection
37777 Scaled Boxes
37778 \begin_inset Index idx
37779 status collapsed
37780
37781 \begin_layout Plain Layout
37782 Boxes ! scaled
37783 \end_layout
37784
37785 \end_inset
37786
37787
37788 \begin_inset Index idx
37789 status collapsed
37790
37791 \begin_layout Plain Layout
37792 Scaled Material
37793 \end_layout
37794
37795 \end_inset
37796
37797
37798 \end_layout
37799
37800 \begin_layout Standard
37801 To scale material put it into a 
37802 \family sans
37803 Scalebox
37804 \family default
37805 .
37806  Such a box is inserted via the menu 
37807 \family sans
37808 Insert\SpecialChar menuseparator
37809 Custom Insets\SpecialChar menuseparator
37810 Scalebox
37811 \family default
37812 .
37813 \end_layout
37814
37815 \begin_layout Standard
37816 The 
37817 \family sans
37818 Scalebox
37819 \family default
37820  inset has the mandatory inset 
37821 \family sans
37822 H-Factor
37823 \family default
37824  and the optional inset 
37825 \family sans
37826 V-Factor
37827 \family default
37828  (inserted via the menu 
37829 \family sans
37830 Insert\SpecialChar menuseparator
37831 V-Factor)
37832 \family default
37833 .
37834  Input there the horizontal and vertical scale factor, respectively.
37835  If no 
37836 \family sans
37837 V-Factor
37838 \family default
37839  inset is used, the horizontal factor will also be used as the vertical
37840  one.
37841 \end_layout
37842
37843 \begin_layout Standard
37844 To get for example the double text size, compared to the document text size,
37845  insert 
37846 \series bold
37847 2
37848 \series default
37849  into the 
37850 \family sans
37851 H-Factor
37852 \family default
37853  inset.
37854  An example: 
37855 \begin_inset Flex Scalebox
37856 status open
37857
37858 \begin_layout Plain Layout
37859 \begin_inset Argument 1
37860 status open
37861
37862 \begin_layout Plain Layout
37863 2
37864 \end_layout
37865
37866 \end_inset
37867
37868 Hello
37869 \end_layout
37870
37871 \end_inset
37872
37873
37874 \end_layout
37875
37876 \begin_layout Standard
37877
37878 \series bold
37879 2
37880 \series default
37881  as 
37882 \family sans
37883 H-Factor
37884 \family default
37885  and 
37886 \series bold
37887 1
37888 \series default
37889  as 
37890 \family sans
37891 V-Factor
37892 \family default
37893  distorts the 
37894 \begin_inset Flex Scalebox
37895 status open
37896
37897 \begin_layout Plain Layout
37898 \begin_inset Argument 1
37899 status open
37900
37901 \begin_layout Plain Layout
37902 2
37903 \end_layout
37904
37905 \end_inset
37906
37907
37908 \begin_inset Argument 2
37909 status open
37910
37911 \begin_layout Plain Layout
37912 1
37913 \end_layout
37914
37915 \end_inset
37916
37917 Hello
37918 \end_layout
37919
37920 \end_inset
37921
37922 .
37923 \end_layout
37924
37925 \begin_layout Standard
37926 If the scaling factor is negative, the box content will be mirrored.
37927  Therefore 
37928 \series bold
37929 -1
37930 \series default
37931  as 
37932 \family sans
37933 H-Factor
37934 \family default
37935  and 
37936 \series bold
37937 1
37938 \series default
37939  as 
37940 \family sans
37941 V-Factor
37942 \family default
37943  can be used to create mirror writing: 
37944 \begin_inset Flex Scalebox
37945 status open
37946
37947 \begin_layout Plain Layout
37948 \begin_inset Argument 1
37949 status open
37950
37951 \begin_layout Plain Layout
37952 -1
37953 \end_layout
37954
37955 \end_inset
37956
37957
37958 \begin_inset Argument 2
37959 status open
37960
37961 \begin_layout Plain Layout
37962 1
37963 \end_layout
37964
37965 \end_inset
37966
37967 Hello
37968 \end_layout
37969
37970 \end_inset
37971
37972
37973 \end_layout
37974
37975 \begin_layout Standard
37976
37977 \series bold
37978 1
37979 \series default
37980  as 
37981 \family sans
37982 H-Factor
37983 \family default
37984  and 
37985 \series bold
37986 -1
37987 \series default
37988  as 
37989 \family sans
37990 V-Factor
37991 \family default
37992  reflects the 
37993 \begin_inset Flex Scalebox
37994 status open
37995
37996 \begin_layout Plain Layout
37997 \begin_inset Argument 1
37998 status open
37999
38000 \begin_layout Plain Layout
38001 1
38002 \end_layout
38003
38004 \end_inset
38005
38006
38007 \begin_inset Argument 2
38008 status open
38009
38010 \begin_layout Plain Layout
38011 -1
38012 \end_layout
38013
38014 \end_inset
38015
38016 Hello
38017 \end_layout
38018
38019 \end_inset
38020
38021  at the base line.
38022 \end_layout
38023
38024 \begin_layout Standard
38025 The 
38026 \family sans
38027 Reflectbox
38028 \family default
38029  (menu 
38030 \family sans
38031 Insert\SpecialChar menuseparator
38032 Custom Insets\SpecialChar menuseparator
38033 Reflectbox
38034 \family default
38035 ) is equivalent to 
38036 \series bold
38037 -1
38038 \series default
38039  as 
38040 \family sans
38041 H-Factor
38042 \family default
38043  and 
38044 \series bold
38045 1
38046 \series default
38047  as 
38048 \family sans
38049 V-Factor 
38050 \family default
38051 for a 
38052 \family sans
38053 Scalebox
38054 \family default
38055 .
38056 \end_layout
38057
38058 \begin_layout Standard
38059 \begin_inset Note Greyedout
38060 status open
38061
38062 \begin_layout Plain Layout
38063
38064 \series bold
38065 Note:
38066 \series default
38067  If the 
38068 \family sans
38069 H-Factor
38070 \family default
38071  inset is empty or contains other characters than numbers you will get LaTeX
38072  errors when viewing/exporting the document.
38073 \end_layout
38074
38075 \end_inset
38076
38077
38078 \end_layout
38079
38080 \begin_layout Standard
38081 \begin_inset VSpace bigskip
38082 \end_inset
38083
38084 The 
38085 \family sans
38086 Resizebox
38087 \family default
38088  (menu 
38089 \family sans
38090 Insert\SpecialChar menuseparator
38091 Custom Insets\SpecialChar menuseparator
38092 Resizebox
38093 \family default
38094 ) is used to scale the content to a defined width and height.
38095  The 
38096 \family sans
38097 Resizebox
38098 \family default
38099  inset has the mandatory inset 
38100 \family sans
38101 Width
38102 \family default
38103  and the optional inset 
38104 \family sans
38105 Height
38106 \family default
38107  (inserted via the menu 
38108 \family sans
38109 Insert\SpecialChar menuseparator
38110 Height)
38111 \family default
38112 .
38113  Input there the width and height, respectively, as value with a unit.
38114  
38115 \begin_inset CommandInset ref
38116 LatexCommand ref
38117 reference "tab:Units"
38118
38119 \end_inset
38120
38121  lists the possible units.
38122  If there is an exclamation mark 
38123 \series bold
38124 !
38125 \series default
38126  in one of the two insets, the size is set so that the aspect ratio of the
38127  box content is kept.
38128  If no 
38129 \family sans
38130 Height
38131 \family default
38132  inset is used an exclamation mark will internally be used for the height.
38133 \end_layout
38134
38135 \begin_layout Standard
38136
38137 \series bold
38138 2cm
38139 \series default
38140  as 
38141 \family sans
38142 Width
38143 \family default
38144  and 
38145 \series bold
38146 1cm
38147 \series default
38148  as 
38149 \family sans
38150 Height
38151 \family default
38152  produces: 
38153 \begin_inset Flex Resizebox
38154 status open
38155
38156 \begin_layout Plain Layout
38157 \begin_inset Argument 1
38158 status open
38159
38160 \begin_layout Plain Layout
38161 2cm
38162 \end_layout
38163
38164 \end_inset
38165
38166
38167 \begin_inset Argument 2
38168 status open
38169
38170 \begin_layout Plain Layout
38171 1cm
38172 \end_layout
38173
38174 \end_inset
38175
38176 Hello
38177 \end_layout
38178
38179 \end_inset
38180
38181
38182 \begin_inset Newline newline
38183 \end_inset
38184
38185
38186 \series bold
38187 2cm
38188 \series default
38189  as 
38190 \family sans
38191 Width
38192 \family default
38193  and 
38194 \series bold
38195 !
38196 \series default
38197  as 
38198 \family sans
38199 Height
38200 \family default
38201  (or no 
38202 \family sans
38203 Height
38204 \family default
38205 ) produces: 
38206 \begin_inset Flex Resizebox
38207 status open
38208
38209 \begin_layout Plain Layout
38210 \begin_inset Argument 1
38211 status open
38212
38213 \begin_layout Plain Layout
38214 2cm
38215 \end_layout
38216
38217 \end_inset
38218
38219
38220 \begin_inset Argument 2
38221 status open
38222
38223 \begin_layout Plain Layout
38224 !
38225 \end_layout
38226
38227 \end_inset
38228
38229 Hello
38230 \end_layout
38231
38232 \end_inset
38233
38234
38235 \end_layout
38236
38237 \begin_layout Standard
38238 \begin_inset Note Greyedout
38239 status open
38240
38241 \begin_layout Plain Layout
38242
38243 \series bold
38244 Note:
38245 \series default
38246  If the 
38247 \family sans
38248 Width
38249 \family default
38250  inset is empty or contains an invalid unit you will get LaTeX errors when
38251  viewing/exporting the document.
38252 \end_layout
38253
38254 \end_inset
38255
38256
38257 \end_layout
38258
38259 \begin_layout Standard
38260 \begin_inset VSpace bigskip
38261 \end_inset
38262
38263
38264 \end_layout
38265
38266 \begin_layout Standard
38267 The boxes can be combined in any order.
38268  As example a 
38269 \family sans
38270 Reflectbox
38271 \family default
38272  inside a 
38273 \family sans
38274 Resizebox
38275 \family default
38276  which is in turn inside a 
38277 \family sans
38278 Rotatebox
38279 \family default
38280 :
38281 \end_layout
38282
38283 \begin_layout Standard
38284 \noindent
38285 \align center
38286 \begin_inset Flex Rotatebox
38287 status open
38288
38289 \begin_layout Plain Layout
38290 \begin_inset Argument 1
38291 status open
38292
38293 \begin_layout Plain Layout
38294 origin=c
38295 \end_layout
38296
38297 \end_inset
38298
38299
38300 \begin_inset Argument 2
38301 status open
38302
38303 \begin_layout Plain Layout
38304 -45
38305 \end_layout
38306
38307 \end_inset
38308
38309
38310 \begin_inset Flex Resizebox
38311 status open
38312
38313 \begin_layout Plain Layout
38314 \begin_inset Argument 1
38315 status open
38316
38317 \begin_layout Plain Layout
38318 2cm
38319 \end_layout
38320
38321 \end_inset
38322
38323
38324 \begin_inset Flex Reflectbox
38325 status open
38326
38327 \begin_layout Plain Layout
38328 Hello
38329 \end_layout
38330
38331 \end_inset
38332
38333
38334 \end_layout
38335
38336 \end_inset
38337
38338
38339 \end_layout
38340
38341 \end_inset
38342
38343
38344 \end_layout
38345
38346 \begin_layout Standard
38347 \noindent
38348 Images, tables, and inline formulas are allowed as box content:
38349 \end_layout
38350
38351 \begin_layout Standard
38352 \noindent
38353 \align center
38354 \begin_inset Flex Resizebox
38355 status open
38356
38357 \begin_layout Plain Layout
38358 \begin_inset Argument 1
38359 status open
38360
38361 \begin_layout Plain Layout
38362 2cm
38363 \end_layout
38364
38365 \end_inset
38366
38367
38368 \begin_inset Flex Reflectbox
38369 status open
38370
38371 \begin_layout Plain Layout
38372 \begin_inset Graphics
38373         filename clipart/Star-structure.pdf
38374         lyxscale 50
38375         width 25col%
38376
38377 \end_inset
38378
38379
38380 \end_layout
38381
38382 \end_inset
38383
38384
38385 \end_layout
38386
38387 \end_inset
38388
38389  
38390 \begin_inset Flex Resizebox
38391 status open
38392
38393 \begin_layout Plain Layout
38394 \begin_inset Argument 1
38395 status open
38396
38397 \begin_layout Plain Layout
38398 2cm
38399 \end_layout
38400
38401 \end_inset
38402
38403
38404 \begin_inset Flex Reflectbox
38405 status open
38406
38407 \begin_layout Plain Layout
38408 \begin_inset Tabular
38409 <lyxtabular version="3" rows="2" columns="2">
38410 <features tabularvalignment="middle">
38411 <column alignment="center" valignment="top">
38412 <column alignment="center" valignment="top">
38413 <row>
38414 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38415 \begin_inset Text
38416
38417 \begin_layout Plain Layout
38418 q
38419 \end_layout
38420
38421 \end_inset
38422 </cell>
38423 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38424 \begin_inset Text
38425
38426 \begin_layout Plain Layout
38427 w
38428 \end_layout
38429
38430 \end_inset
38431 </cell>
38432 </row>
38433 <row>
38434 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
38435 \begin_inset Text
38436
38437 \begin_layout Plain Layout
38438 e
38439 \end_layout
38440
38441 \end_inset
38442 </cell>
38443 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
38444 \begin_inset Text
38445
38446 \begin_layout Plain Layout
38447 r
38448 \end_layout
38449
38450 \end_inset
38451 </cell>
38452 </row>
38453 </lyxtabular>
38454
38455 \end_inset
38456
38457
38458 \end_layout
38459
38460 \end_inset
38461
38462
38463 \end_layout
38464
38465 \end_inset
38466
38467  
38468 \begin_inset Flex Resizebox
38469 status open
38470
38471 \begin_layout Plain Layout
38472 \begin_inset Argument 1
38473 status open
38474
38475 \begin_layout Plain Layout
38476 3cm
38477 \end_layout
38478
38479 \end_inset
38480
38481
38482 \begin_inset Flex Reflectbox
38483 status open
38484
38485 \begin_layout Plain Layout
38486 \begin_inset Formula $\int A\,\mathrm{d}x=B$
38487 \end_inset
38488
38489
38490 \end_layout
38491
38492 \end_inset
38493
38494
38495 \end_layout
38496
38497 \end_inset
38498
38499
38500 \begin_inset Index idx
38501 status collapsed
38502
38503 \begin_layout Plain Layout
38504 Figures ! scaled
38505 \end_layout
38506
38507 \end_inset
38508
38509
38510 \begin_inset Index idx
38511 status collapsed
38512
38513 \begin_layout Plain Layout
38514 Table Customization ! Scaling
38515 \end_layout
38516
38517 \end_inset
38518
38519
38520 \end_layout
38521
38522 \begin_layout Standard
38523 When the global formula style 
38524 \series bold
38525 fleqn
38526 \series default
38527  is used in the document
38528 \begin_inset Foot
38529 status collapsed
38530
38531 \begin_layout Plain Layout
38532 When 
38533 \begin_inset Quotes eld
38534 \end_inset
38535
38536 fleqn
38537 \begin_inset Quotes erd
38538 \end_inset
38539
38540  is added to the document class options.
38541 \end_layout
38542
38543 \end_inset
38544
38545 , display style formulas can also be scaled.
38546 \end_layout
38547
38548 \begin_layout Chapter
38549 Objects Surrounded by Text
38550 \begin_inset Index idx
38551 status collapsed
38552
38553 \begin_layout Plain Layout
38554 Surrounded by text
38555 \end_layout
38556
38557 \end_inset
38558
38559
38560 \end_layout
38561
38562 \begin_layout Section
38563 Wrap Floats
38564 \begin_inset CommandInset label
38565 LatexCommand label
38566 name "sec:Wrap-Floats"
38567
38568 \end_inset
38569
38570
38571 \begin_inset Index idx
38572 status collapsed
38573
38574 \begin_layout Plain Layout
38575 Floats ! Wrap Floats
38576 \end_layout
38577
38578 \end_inset
38579
38580
38581 \begin_inset Index idx
38582 status collapsed
38583
38584 \begin_layout Plain Layout
38585 Surrounded by text ! Wrap Floats
38586 \end_layout
38587
38588 \end_inset
38589
38590
38591 \end_layout
38592
38593 \begin_layout Standard
38594 \begin_inset Wrap figure
38595 lines 0
38596 placement l
38597 overhang 1cm
38598 width "40col%"
38599 status open
38600
38601 \begin_layout Plain Layout
38602 \begin_inset Graphics
38603         filename clipart/2D-intensity-plot.pdf
38604         width 40col%
38605         scaleBeforeRotation
38606         rotateOrigin center
38607
38608 \end_inset
38609
38610
38611 \end_layout
38612
38613 \begin_layout Plain Layout
38614 \begin_inset Caption Standard
38615
38616 \begin_layout Plain Layout
38617 \begin_inset CommandInset label
38618 LatexCommand label
38619 name "fig:This-is-a"
38620
38621 \end_inset
38622
38623 This is a figure wrap float.
38624 \end_layout
38625
38626 \end_inset
38627
38628
38629 \end_layout
38630
38631 \end_inset
38632
38633  This float type is used if you want to wrap text around a figure or table
38634  so that it only occupies some fraction of the column width.
38635  It can be inserted using the menu 
38636 \family sans
38637 Insert\SpecialChar menuseparator
38638 Floats\SpecialChar menuseparator
38639 Figure
38640 \begin_inset space ~
38641 \end_inset
38642
38643 Wrap
38644 \begin_inset space ~
38645 \end_inset
38646
38647 Float
38648 \family default
38649  or 
38650 \family sans
38651 Table
38652 \begin_inset space ~
38653 \end_inset
38654
38655 Wrap
38656 \begin_inset space ~
38657 \end_inset
38658
38659 Float
38660 \family default
38661  if the \SpecialChar LaTeX
38662 -package 
38663 \series bold
38664 wrapfig
38665 \series default
38666
38667 \begin_inset Index idx
38668 status collapsed
38669
38670 \begin_layout Plain Layout
38671 \SpecialChar LaTeX
38672 -packages ! wrapfig
38673 \end_layout
38674
38675 \end_inset
38676
38677  is installed.
38678 \begin_inset Foot
38679 status collapsed
38680
38681 \begin_layout Plain Layout
38682 Installing a \SpecialChar LaTeX
38683 -package is explained it in the 
38684 \emph on
38685 \SpecialChar LaTeX
38686
38687 \begin_inset space ~
38688 \end_inset
38689
38690 Configuration
38691 \emph default
38692  manual.
38693 \end_layout
38694
38695 \end_inset
38696
38697  The settings of the float can be modified by right-clicking on the float
38698  box.
38699  The mandatory settings are the float 
38700 \family sans
38701 Placement
38702 \family default
38703  and its 
38704 \family sans
38705 Width
38706 \family default
38707 .
38708  Optional are the 
38709 \family sans
38710 Overhang
38711 \family default
38712  that specifies how much the float is set into the paragraph
38713 \begin_inset space \thinspace{}
38714 \end_inset
38715
38716 /
38717 \begin_inset space \thinspace{}
38718 \end_inset
38719
38720 page margin, and the 
38721 \family sans
38722 Line
38723 \begin_inset space ~
38724 \end_inset
38725
38726 span
38727 \family default
38728  that specifies how many text lines the float will approximately need.
38729  The line span is often hard to approximate; so it is better only to use
38730  it when you encounter float placement problems.
38731  You can furthermore decide if \SpecialChar LaTeX
38732  is allowed to let the float float within
38733  the paragraph or to surrounding paragraphs.
38734  Figure
38735 \begin_inset space ~
38736 \end_inset
38737
38738
38739 \begin_inset CommandInset ref
38740 LatexCommand ref
38741 reference "fig:This-is-a"
38742
38743 \end_inset
38744
38745  is an example text wrap float with a width of 40
38746 \begin_inset space \thinspace{}
38747 \end_inset
38748
38749 col%, 1
38750 \begin_inset space \thinspace{}
38751 \end_inset
38752
38753 cm overhang, set to the left.
38754 \end_layout
38755
38756 \begin_layout Standard
38757 \begin_inset Note Greyedout
38758 status open
38759
38760 \begin_layout Plain Layout
38761
38762 \series bold
38763 Note:
38764 \series default
38765  Text
38766 \begin_inset space ~
38767 \end_inset
38768
38769 wrap float floats are fragile! E.
38770 \begin_inset space \thinspace{}
38771 \end_inset
38772
38773 g.
38774 \begin_inset space \space{}
38775 \end_inset
38776
38777 having a figure too close to the bottom of the page can mess things up in
38778  such a way that the float does not appear in the output or that it is placed
38779  over some other text.
38780 \end_layout
38781
38782 \end_inset
38783
38784
38785 \end_layout
38786
38787 \begin_layout Standard
38788 In general, the following applies for wrap floats:
38789 \end_layout
38790
38791 \begin_layout Itemize
38792 They should not be placed in paragraphs that run over a page break.
38793  That means that wrap floats are better inserted in their exact place when
38794  the document is almost finished and you are able to estimate where page
38795  breaks will appear.
38796 \end_layout
38797
38798 \begin_layout Itemize
38799 They should either be placed in their own paragraph before the paragraph
38800  where they should wrap into or within a paragraph.
38801 \end_layout
38802
38803 \begin_layout Itemize
38804 In consecutive paragraphs they may cause troubles, so ensure that there
38805  is a text paragraph between them as separator.
38806 \end_layout
38807
38808 \begin_layout Itemize
38809 They are not allowed in section headings or tables.
38810 \end_layout
38811
38812 \begin_layout Itemize
38813 Their numbering and referencing works as described in chap.
38814 \begin_inset space \thinspace{}
38815 \end_inset
38816
38817
38818 \begin_inset CommandInset ref
38819 LatexCommand ref
38820 reference "chap:Floats"
38821
38822 \end_inset
38823
38824 .
38825 \end_layout
38826
38827 \begin_layout Section
38828 Surrounded Fixed Objects
38829 \begin_inset Index idx
38830 status collapsed
38831
38832 \begin_layout Plain Layout
38833 Surrounded by text ! Fixed objects
38834 \end_layout
38835
38836 \end_inset
38837
38838
38839 \end_layout
38840
38841 \begin_layout Standard
38842 The wrap floats described in sec.
38843 \begin_inset space \thinspace{}
38844 \end_inset
38845
38846
38847 \begin_inset CommandInset ref
38848 LatexCommand ref
38849 reference "sec:Wrap-Floats"
38850
38851 \end_inset
38852
38853  have these positions in the paragraph:
38854 \end_layout
38855
38856 \begin_layout Standard
38857 \noindent
38858 \align center
38859 \begin_inset Tabular
38860 <lyxtabular version="3" rows="2" columns="2">
38861 <features tabularvalignment="middle">
38862 <column alignment="center" valignment="top">
38863 <column alignment="center" valignment="top">
38864 <row>
38865 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38866 \begin_inset Text
38867
38868 \begin_layout Plain Layout
38869 \begin_inset Info
38870 type  "icon"
38871 arg   "dialog-show-new-inset graphics"
38872 \end_inset
38873
38874
38875 \end_layout
38876
38877 \end_inset
38878 </cell>
38879 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
38880 \begin_inset Text
38881
38882 \begin_layout Plain Layout
38883 text
38884 \end_layout
38885
38886 \end_inset
38887 </cell>
38888 </row>
38889 <row>
38890 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
38891 \begin_inset Text
38892
38893 \begin_layout Plain Layout
38894 text
38895 \end_layout
38896
38897 \end_inset
38898 </cell>
38899 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
38900 \begin_inset Text
38901
38902 \begin_layout Plain Layout
38903 text
38904 \end_layout
38905
38906 \end_inset
38907 </cell>
38908 </row>
38909 </lyxtabular>
38910
38911 \end_inset
38912
38913  or 
38914 \begin_inset Tabular
38915 <lyxtabular version="3" rows="2" columns="2">
38916 <features tabularvalignment="middle">
38917 <column alignment="center" valignment="top">
38918 <column alignment="center" valignment="top">
38919 <row>
38920 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38921 \begin_inset Text
38922
38923 \begin_layout Plain Layout
38924 text
38925 \end_layout
38926
38927 \end_inset
38928 </cell>
38929 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
38930 \begin_inset Text
38931
38932 \begin_layout Plain Layout
38933 \begin_inset Info
38934 type  "icon"
38935 arg   "dialog-show-new-inset graphics"
38936 \end_inset
38937
38938
38939 \end_layout
38940
38941 \end_inset
38942 </cell>
38943 </row>
38944 <row>
38945 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
38946 \begin_inset Text
38947
38948 \begin_layout Plain Layout
38949 text
38950 \end_layout
38951
38952 \end_inset
38953 </cell>
38954 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
38955 \begin_inset Text
38956
38957 \begin_layout Plain Layout
38958 text
38959 \end_layout
38960
38961 \end_inset
38962 </cell>
38963 </row>
38964 </lyxtabular>
38965
38966 \end_inset
38967
38968
38969 \end_layout
38970
38971 \begin_layout Standard
38972 To get an object exactly at the position where it is inserted, for example
38973  to get one of these positions:
38974 \begin_inset VSpace defskip
38975 \end_inset
38976
38977
38978 \end_layout
38979
38980 \begin_layout Standard
38981 \noindent
38982 \align center
38983 \begin_inset Tabular
38984 <lyxtabular version="3" rows="2" columns="2">
38985 <features tabularvalignment="middle">
38986 <column alignment="center" valignment="top">
38987 <column alignment="center" valignment="top">
38988 <row>
38989 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38990 \begin_inset Text
38991
38992 \begin_layout Plain Layout
38993 text
38994 \end_layout
38995
38996 \end_inset
38997 </cell>
38998 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
38999 \begin_inset Text
39000
39001 \begin_layout Plain Layout
39002 text
39003 \end_layout
39004
39005 \end_inset
39006 </cell>
39007 </row>
39008 <row>
39009 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
39010 \begin_inset Text
39011
39012 \begin_layout Plain Layout
39013 \begin_inset Info
39014 type  "icon"
39015 arg   "dialog-show-new-inset graphics"
39016 \end_inset
39017
39018
39019 \end_layout
39020
39021 \end_inset
39022 </cell>
39023 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
39024 \begin_inset Text
39025
39026 \begin_layout Plain Layout
39027 text
39028 \end_layout
39029
39030 \end_inset
39031 </cell>
39032 </row>
39033 </lyxtabular>
39034
39035 \end_inset
39036
39037  
39038 \begin_inset Tabular
39039 <lyxtabular version="3" rows="2" columns="2">
39040 <features tabularvalignment="middle">
39041 <column alignment="center" valignment="top">
39042 <column alignment="center" valignment="top">
39043 <row>
39044 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
39045 \begin_inset Text
39046
39047 \begin_layout Plain Layout
39048 text
39049 \end_layout
39050
39051 \end_inset
39052 </cell>
39053 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
39054 \begin_inset Text
39055
39056 \begin_layout Plain Layout
39057 text
39058 \end_layout
39059
39060 \end_inset
39061 </cell>
39062 </row>
39063 <row>
39064 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
39065 \begin_inset Text
39066
39067 \begin_layout Plain Layout
39068 text
39069 \end_layout
39070
39071 \end_inset
39072 </cell>
39073 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
39074 \begin_inset Text
39075
39076 \begin_layout Plain Layout
39077 \begin_inset Info
39078 type  "icon"
39079 arg   "dialog-show-new-inset graphics"
39080 \end_inset
39081
39082
39083 \end_layout
39084
39085 \end_inset
39086 </cell>
39087 </row>
39088 </lyxtabular>
39089
39090 \end_inset
39091
39092  
39093 \begin_inset Tabular
39094 <lyxtabular version="3" rows="2" columns="3">
39095 <features tabularvalignment="middle">
39096 <column alignment="center" valignment="top">
39097 <column alignment="center" valignment="top">
39098 <column alignment="center" valignment="top">
39099 <row>
39100 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
39101 \begin_inset Text
39102
39103 \begin_layout Plain Layout
39104 text
39105 \end_layout
39106
39107 \end_inset
39108 </cell>
39109 <cell alignment="center" valignment="top" topline="true" usebox="none">
39110 \begin_inset Text
39111
39112 \begin_layout Plain Layout
39113 \begin_inset Info
39114 type  "icon"
39115 arg   "dialog-show-new-inset graphics"
39116 \end_inset
39117
39118
39119 \end_layout
39120
39121 \end_inset
39122 </cell>
39123 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
39124 \begin_inset Text
39125
39126 \begin_layout Plain Layout
39127 text
39128 \end_layout
39129
39130 \end_inset
39131 </cell>
39132 </row>
39133 <row>
39134 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
39135 \begin_inset Text
39136
39137 \begin_layout Plain Layout
39138 text
39139 \end_layout
39140
39141 \end_inset
39142 </cell>
39143 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
39144 \begin_inset Text
39145
39146 \begin_layout Plain Layout
39147 text
39148 \end_layout
39149
39150 \end_inset
39151 </cell>
39152 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
39153 \begin_inset Text
39154
39155 \begin_layout Plain Layout
39156 text
39157 \end_layout
39158
39159 \end_inset
39160 </cell>
39161 </row>
39162 </lyxtabular>
39163
39164 \end_inset
39165
39166  
39167 \begin_inset Tabular
39168 <lyxtabular version="3" rows="2" columns="3">
39169 <features tabularvalignment="middle">
39170 <column alignment="center" valignment="top">
39171 <column alignment="center" valignment="top">
39172 <column alignment="center" valignment="top">
39173 <row>
39174 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
39175 \begin_inset Text
39176
39177 \begin_layout Plain Layout
39178 text
39179 \end_layout
39180
39181 \end_inset
39182 </cell>
39183 <cell alignment="center" valignment="top" topline="true" usebox="none">
39184 \begin_inset Text
39185
39186 \begin_layout Plain Layout
39187 text
39188 \end_layout
39189
39190 \end_inset
39191 </cell>
39192 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
39193 \begin_inset Text
39194
39195 \begin_layout Plain Layout
39196 text
39197 \end_layout
39198
39199 \end_inset
39200 </cell>
39201 </row>
39202 <row>
39203 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
39204 \begin_inset Text
39205
39206 \begin_layout Plain Layout
39207 text
39208 \end_layout
39209
39210 \end_inset
39211 </cell>
39212 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
39213 \begin_inset Text
39214
39215 \begin_layout Plain Layout
39216 \begin_inset Info
39217 type  "icon"
39218 arg   "dialog-show-new-inset graphics"
39219 \end_inset
39220
39221
39222 \end_layout
39223
39224 \end_inset
39225 </cell>
39226 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
39227 \begin_inset Text
39228
39229 \begin_layout Plain Layout
39230 text
39231 \end_layout
39232
39233 \end_inset
39234 </cell>
39235 </row>
39236 </lyxtabular>
39237
39238 \end_inset
39239
39240
39241 \end_layout
39242
39243 \begin_layout Standard
39244 \noindent
39245 \align center
39246 \begin_inset Tabular
39247 <lyxtabular version="3" rows="3" columns="2">
39248 <features tabularvalignment="middle">
39249 <column alignment="center" valignment="top">
39250 <column alignment="center" valignment="top">
39251 <row>
39252 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
39253 \begin_inset Text
39254
39255 \begin_layout Plain Layout
39256 text
39257 \end_layout
39258
39259 \end_inset
39260 </cell>
39261 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
39262 \begin_inset Text
39263
39264 \begin_layout Plain Layout
39265 text
39266 \end_layout
39267
39268 \end_inset
39269 </cell>
39270 </row>
39271 <row>
39272 <cell alignment="center" valignment="top" leftline="true" usebox="none">
39273 \begin_inset Text
39274
39275 \begin_layout Plain Layout
39276 \begin_inset Info
39277 type  "icon"
39278 arg   "dialog-show-new-inset graphics"
39279 \end_inset
39280
39281
39282 \end_layout
39283
39284 \end_inset
39285 </cell>
39286 <cell alignment="center" valignment="top" rightline="true" usebox="none">
39287 \begin_inset Text
39288
39289 \begin_layout Plain Layout
39290 text
39291 \end_layout
39292
39293 \end_inset
39294 </cell>
39295 </row>
39296 <row>
39297 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
39298 \begin_inset Text
39299
39300 \begin_layout Plain Layout
39301 text
39302 \end_layout
39303
39304 \end_inset
39305 </cell>
39306 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
39307 \begin_inset Text
39308
39309 \begin_layout Plain Layout
39310 text
39311 \end_layout
39312
39313 \end_inset
39314 </cell>
39315 </row>
39316 </lyxtabular>
39317
39318 \end_inset
39319
39320  
39321 \begin_inset Tabular
39322 <lyxtabular version="3" rows="3" columns="3">
39323 <features tabularvalignment="middle">
39324 <column alignment="center" valignment="top">
39325 <column alignment="center" valignment="top">
39326 <column alignment="center" valignment="top">
39327 <row>
39328 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
39329 \begin_inset Text
39330
39331 \begin_layout Plain Layout
39332 text
39333 \end_layout
39334
39335 \end_inset
39336 </cell>
39337 <cell alignment="center" valignment="top" topline="true" usebox="none">
39338 \begin_inset Text
39339
39340 \begin_layout Plain Layout
39341 text
39342 \end_layout
39343
39344 \end_inset
39345 </cell>
39346 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
39347 \begin_inset Text
39348
39349 \begin_layout Plain Layout
39350 text
39351 \end_layout
39352
39353 \end_inset
39354 </cell>
39355 </row>
39356 <row>
39357 <cell alignment="center" valignment="top" leftline="true" usebox="none">
39358 \begin_inset Text
39359
39360 \begin_layout Plain Layout
39361 text
39362 \end_layout
39363
39364 \end_inset
39365 </cell>
39366 <cell alignment="center" valignment="top" usebox="none">
39367 \begin_inset Text
39368
39369 \begin_layout Plain Layout
39370 \begin_inset Info
39371 type  "icon"
39372 arg   "dialog-show-new-inset graphics"
39373 \end_inset
39374
39375
39376 \end_layout
39377
39378 \end_inset
39379 </cell>
39380 <cell alignment="center" valignment="top" rightline="true" usebox="none">
39381 \begin_inset Text
39382
39383 \begin_layout Plain Layout
39384 text
39385 \end_layout
39386
39387 \end_inset
39388 </cell>
39389 </row>
39390 <row>
39391 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
39392 \begin_inset Text
39393
39394 \begin_layout Plain Layout
39395 text
39396 \end_layout
39397
39398 \end_inset
39399 </cell>
39400 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
39401 \begin_inset Text
39402
39403 \begin_layout Plain Layout
39404 text
39405 \end_layout
39406
39407 \end_inset
39408 </cell>
39409 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
39410 \begin_inset Text
39411
39412 \begin_layout Plain Layout
39413 text
39414 \end_layout
39415
39416 \end_inset
39417 </cell>
39418 </row>
39419 </lyxtabular>
39420
39421 \end_inset
39422
39423  
39424 \begin_inset Tabular
39425 <lyxtabular version="3" rows="3" columns="2">
39426 <features tabularvalignment="middle">
39427 <column alignment="center" valignment="top">
39428 <column alignment="center" valignment="top">
39429 <row>
39430 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
39431 \begin_inset Text
39432
39433 \begin_layout Plain Layout
39434 text
39435 \end_layout
39436
39437 \end_inset
39438 </cell>
39439 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
39440 \begin_inset Text
39441
39442 \begin_layout Plain Layout
39443 text
39444 \end_layout
39445
39446 \end_inset
39447 </cell>
39448 </row>
39449 <row>
39450 <cell alignment="center" valignment="top" leftline="true" usebox="none">
39451 \begin_inset Text
39452
39453 \begin_layout Plain Layout
39454 text
39455 \end_layout
39456
39457 \end_inset
39458 </cell>
39459 <cell alignment="center" valignment="top" rightline="true" usebox="none">
39460 \begin_inset Text
39461
39462 \begin_layout Plain Layout
39463 \begin_inset Info
39464 type  "icon"
39465 arg   "dialog-show-new-inset graphics"
39466 \end_inset
39467
39468
39469 \end_layout
39470
39471 \end_inset
39472 </cell>
39473 </row>
39474 <row>
39475 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
39476 \begin_inset Text
39477
39478 \begin_layout Plain Layout
39479 text
39480 \end_layout
39481
39482 \end_inset
39483 </cell>
39484 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
39485 \begin_inset Text
39486
39487 \begin_layout Plain Layout
39488 text
39489 \end_layout
39490
39491 \end_inset
39492 </cell>
39493 </row>
39494 </lyxtabular>
39495
39496 \end_inset
39497
39498
39499 \end_layout
39500
39501 \begin_layout Standard
39502 \noindent
39503 you can use the \SpecialChar LaTeX
39504 -package 
39505 \series bold
39506 picinpar
39507 \series default
39508
39509 \begin_inset Index idx
39510 status collapsed
39511
39512 \begin_layout Plain Layout
39513 \SpecialChar LaTeX
39514 -packages ! picinpar
39515 \end_layout
39516
39517 \end_inset
39518
39519 .
39520  Here is an example:
39521 \end_layout
39522
39523 \begin_layout Standard
39524 \begin_inset ERT
39525 status collapsed
39526
39527 \begin_layout Plain Layout
39528
39529
39530 \backslash
39531 ifpicinpar
39532 \end_layout
39533
39534 \end_inset
39535
39536
39537 \begin_inset Note Note
39538 status open
39539
39540 \begin_layout Plain Layout
39541 The following section will only be displayed when the \SpecialChar LaTeX
39542 -package 
39543 \series bold
39544 picinpar
39545 \series default
39546  is installed.
39547 \end_layout
39548
39549 \end_inset
39550
39551
39552 \end_layout
39553
39554 \begin_layout Standard
39555 \begin_inset ERT
39556 status collapsed
39557
39558 \begin_layout Plain Layout
39559
39560
39561 \backslash
39562 begin{window}[2,c,{
39563 \end_layout
39564
39565 \end_inset
39566
39567
39568 \begin_inset Graphics
39569         filename clipart/2D-intensity-plot.pdf
39570         lyxscale 60
39571         width 40col%
39572         scaleBeforeRotation
39573         rotateOrigin center
39574
39575 \end_inset
39576
39577
39578 \begin_inset ERT
39579 status collapsed
39580
39581 \begin_layout Plain Layout
39582
39583 },]
39584 \end_layout
39585
39586 \begin_layout Plain Layout
39587
39588 {}
39589 \end_layout
39590
39591 \end_inset
39592
39593
39594 \size small
39595 It was in the spring of the year 1894 that all London was interested, and
39596  the fashionable world dismayed, by the murder of the Honourable Ronald
39597  Adair under most unusual and inexplicable circumstances.
39598  The public has already learned those particulars of the crime which
39599 \size default
39600
39601 \begin_inset ERT
39602 status collapsed
39603
39604 \begin_layout Plain Layout
39605
39606
39607 \backslash
39608 footnotemark{}
39609 \end_layout
39610
39611 \end_inset
39612
39613
39614 \size small
39615  came out in the police investigation, but a good deal was suppressed upon
39616  that occasion, since the case for the prosecution was so overwhelmingly
39617  strong that it was not necessary to bring forward all the facts.
39618  Only now, at the end of nearly ten years, am I allowed to supply those
39619  missing links which make up the whole of that remarkable chain.
39620 \size default
39621
39622 \begin_inset ERT
39623 status collapsed
39624
39625 \begin_layout Plain Layout
39626
39627
39628 \backslash
39629 end{window}
39630 \end_layout
39631
39632 \end_inset
39633
39634
39635 \end_layout
39636
39637 \begin_layout Standard
39638 \begin_inset ERT
39639 status collapsed
39640
39641 \begin_layout Plain Layout
39642
39643
39644 \backslash
39645 footnotetext{
39646 \end_layout
39647
39648 \end_inset
39649
39650 Footnote of the paragraph with the fixed object.
39651 \begin_inset ERT
39652 status collapsed
39653
39654 \begin_layout Plain Layout
39655
39656 }
39657 \end_layout
39658
39659 \end_inset
39660
39661
39662 \end_layout
39663
39664 \begin_layout Standard
39665 Surrounded fixed objects are used to let text float around them, at which
39666  the object's position in the paragraph can be determined by the number
39667  of lines above it.
39668  In contrary to floats is it not possible to have a numbered caption.
39669 \end_layout
39670
39671 \begin_layout Standard
39672 A fixed object is inserted by adding the command
39673 \end_layout
39674
39675 \begin_layout Standard
39676
39677 \series bold
39678
39679 \backslash
39680 begin{window}[2,c,{
39681 \end_layout
39682
39683 \begin_layout Standard
39684 as \SpecialChar TeX
39685  Code at the beginning of the paragraph.
39686  The first parameter in the bracket, here '2', defines the number of lines
39687  above the object, the second, here 'c', the position of the object.
39688  The positions 'l', 'c' and 'r' (for left, center, right) are possible.
39689  Behind the command you insert the object.
39690  In this example an image with a width of 40
39691 \begin_inset space \thinspace{}
39692 \end_inset
39693
39694 % of the text column width was inserted.
39695  The object can also be a table, a box or an equation.
39696  Behind the object the command
39697 \end_layout
39698
39699 \begin_layout Standard
39700
39701 \series bold
39702 },description text]
39703 \begin_inset Newline newline
39704 \end_inset
39705
39706 {}
39707 \end_layout
39708
39709 \begin_layout Standard
39710 is inserted.
39711  Note that the 
39712 \begin_inset Quotes eld
39713 \end_inset
39714
39715
39716 \series bold
39717 {}
39718 \series default
39719
39720 \begin_inset Quotes erd
39721 \end_inset
39722
39723  is in the second line.
39724  The description text is optional.
39725  The text surrounding the object must be in the same paragraph as the object,
39726  so it must begin directly after the 
39727 \series bold
39728 {}
39729 \series default
39730 .
39731  At the end of the paragraph insert the command:
39732 \end_layout
39733
39734 \begin_layout Standard
39735
39736 \series bold
39737
39738 \backslash
39739 end{window}
39740 \end_layout
39741
39742 \begin_layout Standard
39743 Within a paragraph with a fixed object, you cannot insert footnotes in the
39744  normal way.
39745  You have to use instead the command 
39746 \series bold
39747
39748 \backslash
39749 footnotemark
39750 \series default
39751  inside the paragraph and outside the command 
39752 \series bold
39753
39754 \backslash
39755 footnotetext
39756 \series default
39757  as described in sec.
39758 \begin_inset space \thinspace{}
39759 \end_inset
39760
39761
39762 \begin_inset CommandInset ref
39763 LatexCommand ref
39764 reference "sec:Footnotes"
39765
39766 \end_inset
39767
39768 .
39769 \end_layout
39770
39771 \begin_layout Standard
39772 \begin_inset ERT
39773 status collapsed
39774
39775 \begin_layout Plain Layout
39776
39777
39778 \backslash
39779 else
39780 \end_layout
39781
39782 \end_inset
39783
39784
39785 \begin_inset Note Note
39786 status open
39787
39788 \begin_layout Plain Layout
39789 The following will be displayed when the \SpecialChar LaTeX
39790 -package 
39791 \series bold
39792 picinpar
39793 \series default
39794  is not installed:
39795 \end_layout
39796
39797 \end_inset
39798
39799
39800 \end_layout
39801
39802 \begin_layout Standard
39803 You need to install the \SpecialChar LaTeX
39804 -package 
39805 \series bold
39806 picinpar
39807 \series default
39808  to see the following part of this section in the output.
39809 \end_layout
39810
39811 \begin_layout Standard
39812 \begin_inset ERT
39813 status collapsed
39814
39815 \begin_layout Plain Layout
39816
39817
39818 \backslash
39819 fi
39820 \end_layout
39821
39822 \end_inset
39823
39824
39825 \end_layout
39826
39827 \begin_layout Section
39828 Initials
39829 \begin_inset Index idx
39830 status collapsed
39831
39832 \begin_layout Plain Layout
39833 Initials
39834 \end_layout
39835
39836 \end_inset
39837
39838
39839 \begin_inset Index idx
39840 status collapsed
39841
39842 \begin_layout Plain Layout
39843 Surrounded by text ! Initials
39844 \end_layout
39845
39846 \end_inset
39847
39848
39849 \end_layout
39850
39851 \begin_layout Standard
39852 To use initials, you must have the \SpecialChar LaTeX
39853 -package 
39854 \series bold
39855 lettrine
39856 \series default
39857
39858 \begin_inset Index idx
39859 status collapsed
39860
39861 \begin_layout Plain Layout
39862 \SpecialChar LaTeX
39863 -packages ! lettrine
39864 \end_layout
39865
39866 \end_inset
39867
39868  installed and use the module 
39869 \family sans
39870 Initials
39871 \family default
39872  in your document (menu 
39873 \family sans
39874 Document\SpecialChar menuseparator
39875 Settings\SpecialChar menuseparator
39876 Modules
39877 \family default
39878 ).
39879  To insert an initial, use the style 
39880 \family sans
39881 Initial
39882 \family default
39883 .
39884  This style has a mandatory and two optional arguments.
39885  The arguments are inserted via the 
39886 \family sans
39887 Insert
39888 \family default
39889  menu.
39890  The mandatory argument 
39891 \family sans
39892 Initial
39893 \family default
39894  contains the letter(s) that is the initial, the argument 
39895 \family sans
39896 Rest
39897 \begin_inset space ~
39898 \end_inset
39899
39900 of
39901 \begin_inset space ~
39902 \end_inset
39903
39904 Initial
39905 \family default
39906  contains the rest of the word or text of the initial letter(s).
39907  The argument 
39908 \family sans
39909 Options
39910 \family default
39911  contains parameters to modify the initial.
39912  For more information about the possible parameters see the documentation
39913  of 
39914 \series bold
39915 lettrine
39916 \series default
39917
39918 \begin_inset CommandInset citation
39919 LatexCommand cite
39920 key "lettrine"
39921 literal "true"
39922
39923 \end_inset
39924
39925 .
39926  The style itself contains the text that is surrounding the initial.
39927  The usual style is hereby that the word whose first letter is the initial,
39928  is printed with 
39929 \shape smallcaps
39930 small caps
39931 \shape default
39932 .
39933 \end_layout
39934
39935 \begin_layout Standard
39936 Here are some examples:
39937 \end_layout
39938
39939 \begin_layout Standard
39940 \begin_inset ERT
39941 status collapsed
39942
39943 \begin_layout Plain Layout
39944
39945
39946 \backslash
39947 iflettrine
39948 \end_layout
39949
39950 \end_inset
39951
39952
39953 \begin_inset Note Note
39954 status open
39955
39956 \begin_layout Plain Layout
39957 The following section will only be displayed when the \SpecialChar LaTeX
39958 -package 
39959 \series bold
39960 lettrine
39961 \series default
39962  is installed.
39963 \end_layout
39964
39965 \end_inset
39966
39967
39968 \end_layout
39969
39970 \begin_layout Enumerate
39971 No optional argument, the initial is the letter 'I' in the math font 
39972 \begin_inset Formula $\mathfrak{Fraktur}$
39973 \end_inset
39974
39975 :
39976 \end_layout
39977
39978 \begin_deeper
39979 \begin_layout Initial
39980 \begin_inset Argument 2
39981 status open
39982
39983 \begin_layout Plain Layout
39984 \begin_inset Formula $\mathfrak{I}$
39985 \end_inset
39986
39987
39988 \end_layout
39989
39990 \end_inset
39991
39992
39993 \begin_inset Argument 3
39994 status open
39995
39996 \begin_layout Plain Layout
39997 t
39998 \end_layout
39999
40000 \end_inset
40001
40002  was in the spring of the year 1894 that all London was interested, and
40003  the fashionable world dismayed, by the murder of the Honourable Ronald
40004  Adair under most unusual and inexplicable circumstances.
40005  The public has already learned those particulars of the crime which came
40006  out in the police investigation, but a good deal was suppressed upon that
40007  occasion, since the case for the prosecution was so overwhelmingly strong
40008  that it was not necessary to bring forward all the facts.
40009 \begin_inset Newpage newpage
40010 \end_inset
40011
40012
40013 \end_layout
40014
40015 \end_deeper
40016 \begin_layout Enumerate
40017 Only one line is surrounding the initial, which is formed by two letters
40018  in standard font and no text is printed in small caps:
40019 \end_layout
40020
40021 \begin_deeper
40022 \begin_layout Initial
40023 \begin_inset Argument 1
40024 status open
40025
40026 \begin_layout Plain Layout
40027 lines=1
40028 \end_layout
40029
40030 \end_inset
40031
40032
40033 \begin_inset Argument 2
40034 status open
40035
40036 \begin_layout Plain Layout
40037 It
40038 \end_layout
40039
40040 \end_inset
40041
40042  was in the spring of the year 1894 that all London was interested, and
40043  the fashionable world dismayed, by the murder of the Honourable Ronald
40044  Adair under most unusual and inexplicable circumstances.
40045  The public has already learned those particulars of the crime which came
40046  out in the police investigation, but a good deal was suppressed upon that
40047  occasion, since the case for the prosecution was so overwhelmingly strong
40048  that it was not necessary to bring forward all the facts.
40049 \end_layout
40050
40051 \end_deeper
40052 \begin_layout Enumerate
40053 Magenta, hanging initial over 3
40054 \begin_inset space ~
40055 \end_inset
40056
40057 lines in the math font 
40058 \begin_inset Formula $\mathcal{CALLIGRAPHIC}$
40059 \end_inset
40060
40061 , the text 
40062 \begin_inset Quotes eld
40063 \end_inset
40064
40065 t was in the spring
40066 \begin_inset Quotes erd
40067 \end_inset
40068
40069  is in 
40070 \shape smallcaps
40071 small caps
40072 \shape default
40073 ; to color the initial, you must insert this command before the initial:
40074 \begin_inset Newline newline
40075 \end_inset
40076
40077
40078 \series bold
40079
40080 \backslash
40081 renewcommand{
40082 \backslash
40083 LettrineFontHook}{
40084 \backslash
40085 color{color}}
40086 \series default
40087
40088 \begin_inset Newline newline
40089 \end_inset
40090
40091 where the second 
40092 \emph on
40093 color
40094 \emph default
40095  can be 
40096 \begin_inset Quotes eld
40097 \end_inset
40098
40099 red
40100 \begin_inset Quotes erd
40101 \end_inset
40102
40103
40104 \begin_inset Quotes eld
40105 \end_inset
40106
40107 blue
40108 \begin_inset Quotes erd
40109 \end_inset
40110
40111
40112 \begin_inset Quotes eld
40113 \end_inset
40114
40115 green
40116 \begin_inset Quotes erd
40117 \end_inset
40118
40119
40120 \begin_inset Quotes eld
40121 \end_inset
40122
40123 yellow
40124 \begin_inset Quotes erd
40125 \end_inset
40126
40127
40128 \begin_inset Quotes eld
40129 \end_inset
40130
40131 cyan
40132 \begin_inset Quotes erd
40133 \end_inset
40134
40135
40136 \begin_inset Quotes eld
40137 \end_inset
40138
40139 magenta
40140 \begin_inset Quotes erd
40141 \end_inset
40142
40143
40144 \begin_inset Quotes eld
40145 \end_inset
40146
40147 black
40148 \begin_inset Quotes erd
40149 \end_inset
40150
40151  or 
40152 \begin_inset Quotes eld
40153 \end_inset
40154
40155 white
40156 \begin_inset Quotes erd
40157 \end_inset
40158
40159 , and add this command to the document preamble:
40160 \begin_inset Newline newline
40161 \end_inset
40162
40163
40164 \series bold
40165
40166 \backslash
40167 @ifundefined{textcolor}
40168 \begin_inset Newline newline
40169 \end_inset
40170
40171
40172 \begin_inset space ~
40173 \end_inset
40174
40175 {
40176 \backslash
40177 usepackage{color}}{}
40178 \end_layout
40179
40180 \begin_deeper
40181 \begin_layout Standard
40182 \begin_inset ERT
40183 status collapsed
40184
40185 \begin_layout Plain Layout
40186
40187
40188 \backslash
40189 renewcommand{
40190 \backslash
40191 LettrineFontHook}{
40192 \backslash
40193 color{magenta}}
40194 \end_layout
40195
40196 \end_inset
40197
40198
40199 \begin_inset Note Note
40200 status collapsed
40201
40202 \begin_layout Plain Layout
40203 makes the initial magenta
40204 \end_layout
40205
40206 \end_inset
40207
40208
40209 \end_layout
40210
40211 \begin_layout Initial
40212 \begin_inset Argument 1
40213 status open
40214
40215 \begin_layout Plain Layout
40216 lines=3, lhang=0.33, loversize=0.25
40217 \end_layout
40218
40219 \end_inset
40220
40221
40222 \begin_inset Argument 2
40223 status open
40224
40225 \begin_layout Plain Layout
40226 \begin_inset Formula $\mathcal{I}$
40227 \end_inset
40228
40229
40230 \end_layout
40231
40232 \end_inset
40233
40234
40235 \begin_inset Argument 3
40236 status open
40237
40238 \begin_layout Plain Layout
40239 t was in the spring
40240 \end_layout
40241
40242 \end_inset
40243
40244  of the year 1894 that all London was interested, and the fashionable world
40245  dismayed, by the murder of the Honourable Ronald Adair under most unusual
40246  and inexplicable circumstances.
40247  The public has already learned those particulars of the crime which came
40248  out in the police investigation, but a good deal was suppressed upon that
40249  occasion, since the case for the prosecution was so overwhelmingly strong
40250  that it was not necessary to bring forward all the facts.
40251 \end_layout
40252
40253 \end_deeper
40254 \begin_layout Standard
40255 \begin_inset ERT
40256 status collapsed
40257
40258 \begin_layout Plain Layout
40259
40260
40261 \backslash
40262 else
40263 \end_layout
40264
40265 \end_inset
40266
40267
40268 \begin_inset Note Note
40269 status open
40270
40271 \begin_layout Plain Layout
40272 The following will be displayed when the \SpecialChar LaTeX
40273 -package 
40274 \series bold
40275 lettrine
40276 \series default
40277  is not installed:
40278 \end_layout
40279
40280 \end_inset
40281
40282
40283 \end_layout
40284
40285 \begin_layout Standard
40286 You need to install the \SpecialChar LaTeX
40287 -package 
40288 \series bold
40289 lettrine
40290 \series default
40291  to see the following part of this section in the output.
40292 \end_layout
40293
40294 \begin_layout Standard
40295 \begin_inset ERT
40296 status collapsed
40297
40298 \begin_layout Plain Layout
40299
40300
40301 \backslash
40302 fi
40303 \end_layout
40304
40305 \end_inset
40306
40307
40308 \end_layout
40309
40310 \begin_layout Chapter
40311 External Document Parts
40312 \begin_inset Index idx
40313 status collapsed
40314
40315 \begin_layout Plain Layout
40316 External Document Parts
40317 \end_layout
40318
40319 \end_inset
40320
40321
40322 \end_layout
40323
40324 \begin_layout Standard
40325 With the menu 
40326 \family sans
40327 Insert\SpecialChar menuseparator
40328 File
40329 \family default
40330  you can insert external material into your document.
40331  This can be:
40332 \end_layout
40333
40334 \begin_layout Description
40335 LyX
40336 \begin_inset space ~
40337 \end_inset
40338
40339 Document Another \SpecialChar LyX
40340  document; its content is directly inserted to your document.
40341 \end_layout
40342
40343 \begin_layout Description
40344 Plain
40345 \begin_inset space ~
40346 \end_inset
40347
40348 Text A text document; each line is inserted in your document as a separate
40349  paragraph.
40350 \end_layout
40351
40352 \begin_layout Description
40353 Plain
40354 \begin_inset space ~
40355 \end_inset
40356
40357 Text,
40358 \begin_inset space ~
40359 \end_inset
40360
40361 Join
40362 \begin_inset space ~
40363 \end_inset
40364
40365 Lines A text document; text lines are inserted in your document continuously
40366  but an empty text line creates a new paragraph.
40367 \end_layout
40368
40369 \begin_layout Description
40370 External
40371 \begin_inset space ~
40372 \end_inset
40373
40374 Material Files in various formats.
40375 \end_layout
40376
40377 \begin_layout Description
40378 Child
40379 \begin_inset space ~
40380 \end_inset
40381
40382 Document \SpecialChar LyX
40383  or \SpecialChar LaTeX
40384  documents.
40385 \end_layout
40386
40387 \begin_layout Section
40388 External Material
40389 \begin_inset Index idx
40390 status collapsed
40391
40392 \begin_layout Plain Layout
40393 External Document Parts ! External Material
40394 \end_layout
40395
40396 \end_inset
40397
40398
40399 \end_layout
40400
40401 \begin_layout Standard
40402 The external material feature allows you to insert files into your document
40403  without converting them to a format that can be read by the document output
40404  format.
40405  \SpecialChar LyX
40406  takes care of the necessary conversions.
40407  This is similar to images that can be inserted in various image formats
40408  in \SpecialChar LyX
40409  documents.
40410  When you have enabled Instant Preview in \SpecialChar LyX
40411 's preferences under 
40412 \family sans
40413 Look
40414 \begin_inset space ~
40415 \end_inset
40416
40417 and
40418 \begin_inset space ~
40419 \end_inset
40420
40421 feel\SpecialChar menuseparator
40422 Graphics
40423 \family default
40424 , the external material types Dia and Xfig are directly shown in \SpecialChar LyX
40425 .
40426 \end_layout
40427
40428 \begin_layout Standard
40429 External material can be inserted via the 
40430 \family sans
40431 External Material
40432 \family default
40433  dialog that is accessible with the menu 
40434 \family sans
40435 Insert\SpecialChar menuseparator
40436 File\SpecialChar menuseparator
40437 External
40438 \begin_inset space ~
40439 \end_inset
40440
40441 Material
40442 \family default
40443 .
40444  Currently the following file types (
40445 \family sans
40446 Templates
40447 \family default
40448 ) are allowed:
40449 \end_layout
40450
40451 \begin_layout Description
40452 Chess
40453 \begin_inset space ~
40454 \end_inset
40455
40456 diagram This template supports chess position diagrams made with the program
40457  
40458 \series bold
40459
40460 \begin_inset CommandInset href
40461 LatexCommand href
40462 name "XBoard"
40463 target "https://en.wikipedia.org/wiki/XBoard"
40464 literal "false"
40465
40466 \end_inset
40467
40468
40469 \series default
40470 .
40471 \end_layout
40472
40473 \begin_layout Description
40474 Dia
40475 \begin_inset space ~
40476 \end_inset
40477
40478 diagram This template supports diagrams created with the program 
40479 \series bold
40480
40481 \begin_inset CommandInset href
40482 LatexCommand href
40483 name "Dia"
40484 target "https://en.wikipedia.org/wiki/Dia_(software)"
40485 literal "false"
40486
40487 \end_inset
40488
40489
40490 \series default
40491 .
40492 \end_layout
40493
40494 \begin_layout Description
40495 Inkscape
40496 \begin_inset space ~
40497 \end_inset
40498
40499 figure This template supports specific scalable images derived from scalable
40500  vector graphics (SVG), in which the contained text is replaced by a version
40501  typeset by \SpecialChar LaTeX
40502  (and hence in the current document font).
40503  It relies on a feature of the program 
40504 \series bold
40505
40506 \begin_inset CommandInset href
40507 LatexCommand href
40508 name "Inkscape"
40509 target "https://inkscape.org/"
40510 literal "false"
40511
40512 \end_inset
40513
40514
40515 \series default
40516  which creates a special PDF or EPS and \SpecialChar LaTeX
40517  file from a given SVG file (in
40518  
40519 \noun on
40520 Inkscape
40521 \noun default
40522  itself, the feature is available via the option 
40523 \family sans
40524 Omit text in PDF and create LaTeX file
40525 \family default
40526  when saving a drawing as PDF or EPS).
40527  The benefit of such files is a uniform text style throughout the whole
40528  document.
40529 \begin_inset Newline newline
40530 \end_inset
40531
40532 The external template reads SVG files and uses a converter program to generate
40533  the respective PDF\SpecialChar breakableslash
40534 EPS and \SpecialChar LaTeX
40535  files (via
40536 \noun on
40537  
40538 \noun default
40539 Inkscape
40540 \noun on
40541 )
40542 \noun default
40543  on the fly, so you don't have to export those files yourself.
40544  If you prefer the latter and want use given 
40545 \family typewriter
40546 *.pdf
40547 \family default
40548  and 
40549 \family typewriter
40550 *.pdf_tex
40551 \family default
40552  or 
40553 \family typewriter
40554 *.eps
40555 \family default
40556  and 
40557 \family typewriter
40558 *.eps_tex
40559 \family default
40560  files instead, simply input the respective 
40561 \family typewriter
40562 *.pdf_tex
40563 \family default
40564  or 
40565 \family typewriter
40566 *.eps_tex
40567 \family default
40568  file via the 
40569 \family sans
40570 Child Documents
40571 \family default
40572  dialog (see sec.
40573 \begin_inset space ~
40574 \end_inset
40575
40576
40577 \begin_inset CommandInset ref
40578 LatexCommand ref
40579 reference "sec:Child-Documents"
40580
40581 \end_inset
40582
40583 ) rather than using this template.
40584 \begin_inset Newline newline
40585 \end_inset
40586
40587 You can use \SpecialChar TeX
40588  code commands such as 
40589 \series bold
40590
40591 \backslash
40592 Large
40593 \series default
40594
40595 \series bold
40596
40597 \backslash
40598 small
40599 \series default
40600 , etc.
40601 \begin_inset space \space{}
40602 \end_inset
40603
40604 in the text of the SVG.
40605  The size of the font will be taken from the settings of the \SpecialChar LyX
40606  document.
40607  Please refer to 
40608 \begin_inset CommandInset citation
40609 LatexCommand cite
40610 key "Inkscape"
40611 literal "false"
40612
40613 \end_inset
40614
40615  for more information and examples.
40616 \end_layout
40617
40618 \begin_layout Description
40619 Lilypond
40620 \begin_inset space ~
40621 \end_inset
40622
40623 typeset
40624 \begin_inset space ~
40625 \end_inset
40626
40627 music This template is used for music notation typeset with the program
40628 \begin_inset Newline linebreak
40629 \end_inset
40630
40631
40632 \series bold
40633
40634 \begin_inset CommandInset href
40635 LatexCommand href
40636 name "LilyPond"
40637 target "https://en.wikipedia.org/wiki/LilyPond"
40638 literal "false"
40639
40640 \end_inset
40641
40642
40643 \series default
40644 .
40645  For \SpecialChar LyX
40646 's extended support for LilyPond have a look at \SpecialChar LyX
40647 's example file 
40648 \emph on
40649 lilypond.lyx
40650 \emph default
40651 .
40652 \end_layout
40653
40654 \begin_layout Description
40655 PDF
40656 \begin_inset space ~
40657 \end_inset
40658
40659 pages With this template you can insert PDF documents to your document.
40660  To specify the range of pages that should be included, use the option 
40661 \series bold
40662 pages
40663 \series default
40664  in the 
40665 \family sans
40666 Option
40667 \family default
40668  field in the 
40669 \family sans
40670 LaTeX and LyX options
40671 \family default
40672  tab.
40673  The argument of this option is a comma separated list, containing page
40674  numbers (insert as option 
40675 \series bold
40676 pages={3,5,6,8}
40677 \series default
40678 ), ranges of page numbers (
40679 \series bold
40680 pages={4-9}
40681 \series default
40682 ) or any combination.
40683  To insert empty pages use {}.
40684  E.
40685 \begin_inset space \thinspace{}
40686 \end_inset
40687
40688 g.
40689 \begin_inset space ~
40690 \end_inset
40691
40692
40693 \series bold
40694 pages={3,{},8-11,15}
40695 \series default
40696  will insert page 3, an empty page, and pages 8, 9, 10, 11 and 15.
40697  Page ranges are specified in the syntax 
40698 \emph on
40699 start
40700 \emph default
40701 -
40702 \emph on
40703 stop
40704 \emph default
40705 .
40706  This selects all pages from 
40707 \emph on
40708 start
40709 \emph default
40710  to 
40711 \emph on
40712 stop
40713 \emph default
40714 .
40715  Omitting 
40716 \emph on
40717 start
40718 \emph default
40719  defaults to the first page; omitting 
40720 \emph on
40721 stop
40722 \emph default
40723  defaults to the last page of the document.
40724  The last page can also be selected with the keyword 
40725 \series bold
40726 last
40727 \series default
40728 .
40729  (This is only permitted in a page range.) So 
40730 \series bold
40731 pages=-
40732 \series default
40733  will insert all pages of the document and 
40734 \series bold
40735 pages=last-1
40736 \series default
40737  will insert all pages in reverse order.
40738  If the pages option is not specified, only the first page of the PDF is
40739  inserted.
40740 \begin_inset Newline newline
40741 \end_inset
40742
40743 The option 
40744 \series bold
40745 noautoscale
40746 \series default
40747  inserts the pages with their original size, if this option is not given,
40748  the pages will be resized to fith the width of the page of your document.
40749  In the tab 
40750 \family sans
40751 Size and Rotation
40752 \family default
40753  you can specify the width and height of the input pages and their rotation.
40754  If another width than 100
40755 \begin_inset space \thinspace{}
40756 \end_inset
40757
40758 Scale% is used, the option 
40759 \series bold
40760 noautoscale
40761 \series default
40762  will be overwritten.
40763  For more info and possible options, have a look into the documentation
40764  of the \SpecialChar LaTeX
40765 -package 
40766 \series bold
40767 pdfpages
40768 \series default
40769  
40770 \begin_inset CommandInset citation
40771 LatexCommand cite
40772 key "pdfpages"
40773 literal "true"
40774
40775 \end_inset
40776
40777 .
40778 \begin_inset Index idx
40779 status collapsed
40780
40781 \begin_layout Plain Layout
40782 \SpecialChar LaTeX
40783 -packages ! pdfpages
40784 \end_layout
40785
40786 \end_inset
40787
40788
40789 \begin_inset Newline newline
40790 \end_inset
40791
40792 To use this template in a 
40793 \family sans
40794 Beamer
40795 \family default
40796  presentation you need to first insert an 
40797 \family sans
40798 EndFrame
40799 \family default
40800  environment and in a subsequent paragraph a \SpecialChar TeX
40801  Code box containing the command
40802  
40803 \series bold
40804
40805 \backslash
40806 setbeamertemplate{background canvas}{}
40807 \series default
40808 .
40809  Then you can insert as many paragraphs containing the PDFPages template
40810  as you wish.
40811  Behind the included PDF pages you can resume the Beamer presentation by
40812  beginning a new frame or by starting a new section.
40813  To avoid stray blank pages prior to the PDF pages, make sure to use the
40814  
40815 \family sans
40816 Default
40817 \family default
40818  alignment for the paragraph containing the template.
40819 \begin_inset Newline newline
40820 \end_inset
40821
40822 Here is an included PDF which is rotated by -5°: 
40823 \begin_inset External
40824         template PDFPages
40825         filename clipart/Abstract.pdf
40826         extra LaTeX "noautoscale, pages=-"
40827         rotateAngle -5
40828         rotateOrigin bottomleft
40829
40830 \end_inset
40831
40832
40833 \end_layout
40834
40835 \begin_layout Description
40836 Raster
40837 \begin_inset space ~
40838 \end_inset
40839
40840 image This can be used for bitmap images.
40841  The image can be treated in the 
40842 \family sans
40843 External material
40844 \family default
40845  dialog like the images that are usually included via the 
40846 \family sans
40847 Graphics
40848 \family default
40849  dialog as described in section
40850 \begin_inset space ~
40851 \end_inset
40852
40853
40854 \begin_inset CommandInset ref
40855 LatexCommand ref
40856 reference "sec:Graphics-Dialog"
40857
40858 \end_inset
40859
40860 .
40861  Here is an inserted raster image: 
40862 \begin_inset External
40863         template RasterImage
40864         filename clipart/ToolbarEnvBox.png
40865
40866 \end_inset
40867
40868
40869 \end_layout
40870
40871 \begin_layout Description
40872 Spreadsheet With this template you can insert spreadsheets
40873 \begin_inset space \thinspace{}
40874 \end_inset
40875
40876 /
40877 \begin_inset space \thinspace{}
40878 \end_inset
40879
40880 tables in the format of 
40881 \series bold
40882
40883 \begin_inset CommandInset href
40884 LatexCommand href
40885 name "Gnumeric"
40886 target "https://en.wikipedia.org/wiki/Gnumeric"
40887 literal "false"
40888
40889 \end_inset
40890
40891
40892 \series default
40893
40894 \begin_inset CommandInset href
40895 LatexCommand href
40896 name "OpenDocument"
40897 target "https://en.wikipedia.org/wiki/OpenDocument"
40898 literal "false"
40899
40900 \end_inset
40901
40902
40903 \begin_inset CommandInset href
40904 LatexCommand href
40905 name "Microsoft Office XML"
40906 target "https://en.wikipedia.org/wiki/Microsoft_Office_XML_formats"
40907 literal "false"
40908
40909 \end_inset
40910
40911  and 
40912 \begin_inset CommandInset href
40913 LatexCommand href
40914 name "Office Open XML"
40915 target "https://en.wikipedia.org/wiki/Office_Open_XML"
40916 literal "false"
40917
40918 \end_inset
40919
40920 .
40921  For this feature \SpecialChar LyX
40922  must have found the program 
40923 \family typewriter
40924 ssconvert
40925 \family default
40926  during its configuration.
40927  This program is part of Gnumeric, so that you must have Gnumeric installed,
40928  also if you don't have tables in the Gnumeric format.
40929  For examples and possible limitations have a look at \SpecialChar LyX
40930 's example file 
40931 \emph on
40932 spreadsheet.lyx
40933 \emph default
40934 .
40935 \end_layout
40936
40937 \begin_layout Description
40938 Vector
40939 \begin_inset space ~
40940 \end_inset
40941
40942 graphics This can be used for vector graphics.
40943  The image can be treated in the 
40944 \family sans
40945 External material
40946 \family default
40947  dialog like the images that are usually included via the 
40948 \family sans
40949 Graphics
40950 \family default
40951  dialog as described in section
40952 \begin_inset space ~
40953 \end_inset
40954
40955
40956 \begin_inset CommandInset ref
40957 LatexCommand ref
40958 reference "sec:Graphics-Dialog"
40959
40960 \end_inset
40961
40962 .
40963  Here is an inserted vector graphics: 
40964 \begin_inset External
40965         template VectorGraphics
40966         filename clipart/SVG-Drawing.svg
40967         lyxscale 50
40968         scale 33
40969
40970 \end_inset
40971
40972
40973 \end_layout
40974
40975 \begin_layout Description
40976 Xfig
40977 \begin_inset space ~
40978 \end_inset
40979
40980 figure This template supports images created with the program 
40981 \begin_inset CommandInset href
40982 LatexCommand href
40983 name "Xfig"
40984 target "https://en.wikipedia.org/wiki/Xfig"
40985 literal "false"
40986
40987 \end_inset
40988
40989 .
40990 \end_layout
40991
40992 \begin_layout Standard
40993 When you use the option 
40994 \family sans
40995 Draft
40996 \family default
40997  in the 
40998 \family sans
40999 File
41000 \family default
41001  tab of the 
41002 \family sans
41003 External Material
41004 \family default
41005  dialog, only the path to the inserted file is shown in the output.
41006 \begin_inset Newline newline
41007 \end_inset
41008
41009 External material is displayed in \SpecialChar LyX
41010  either as a box like this: 
41011 \begin_inset Graphics
41012         filename clipart/ExternalMaterial.png
41013         scale 95
41014         scaleBeforeRotation
41015
41016 \end_inset
41017
41018  or as image, depending on the option 
41019 \family sans
41020 Show in LyX
41021 \family default
41022  in the 
41023 \family sans
41024 LaTeX and LyX options
41025 \family default
41026  tab of the dialog.
41027 \end_layout
41028
41029 \begin_layout Standard
41030 The 
41031 \family sans
41032 \emph on
41033 Customization
41034 \family default
41035 \emph default
41036  manual explains how you can define your own templates.
41037 \end_layout
41038
41039 \begin_layout Section
41040 Child Documents
41041 \begin_inset CommandInset label
41042 LatexCommand label
41043 name "sec:Child-Documents"
41044
41045 \end_inset
41046
41047
41048 \begin_inset Index idx
41049 status collapsed
41050
41051 \begin_layout Plain Layout
41052 External Document Parts ! Child Documents
41053 \end_layout
41054
41055 \end_inset
41056
41057
41058 \begin_inset Index idx
41059 status collapsed
41060
41061 \begin_layout Plain Layout
41062 Files ! Include
41063 \end_layout
41064
41065 \end_inset
41066
41067
41068 \end_layout
41069
41070 \begin_layout Standard
41071 Child documents are used if you have a long document consisting of several
41072  larger parts or sections.
41073  For maintenance it is often useful and sometimes even required to split
41074  the document into several files that can be revised separately.
41075  The different documents are then the so called 
41076 \begin_inset Quotes eld
41077 \end_inset
41078
41079 child documents
41080 \begin_inset Quotes erd
41081 \end_inset
41082
41083 , and a master document connects them to print the full document or parts
41084  of it.
41085  A child document inherits elements from its master, for example the \SpecialChar LaTeX
41086  preamble,
41087  the bibliography, and labels for cross-references.
41088 \end_layout
41089
41090 \begin_layout Standard
41091 To be able to work on child documents without the need to open their master,
41092  specify in the child document the master in the menu
41093 \family sans
41094  Document\SpecialChar menuseparator
41095 Settings\SpecialChar menuseparator
41096 Document
41097 \begin_inset space ~
41098 \end_inset
41099
41100 Class
41101 \family default
41102 .
41103  This master document will then be used in the background by \SpecialChar LyX
41104  when you edit
41105  the child document.
41106 \end_layout
41107
41108 \begin_layout Standard
41109 Included documents are displayed in \SpecialChar LyX
41110  as a box like this: 
41111 \begin_inset Graphics
41112         filename clipart/ChildDocument.png
41113         scale 95
41114         scaleBeforeRotation
41115
41116 \end_inset
41117
41118  To include child documents in a master document use the menu 
41119 \family sans
41120 Insert\SpecialChar menuseparator
41121 File\SpecialChar menuseparator
41122 Child
41123 \begin_inset space ~
41124 \end_inset
41125
41126 Documents
41127 \family default
41128 .
41129  A dialog pops up where you can choose between four include methods:
41130 \end_layout
41131
41132 \begin_layout Description
41133 Include You can include \SpecialChar LyX
41134  and \SpecialChar LaTeX
41135  documents.
41136  When you press the 
41137 \family sans
41138 Edit
41139 \family default
41140  button in the 
41141 \family sans
41142 Child Document
41143 \family default
41144  dialog, the included document will be opened in \SpecialChar LyX
41145  in a new file tab so that
41146  you can modify it.
41147 \begin_inset Newline newline
41148 \end_inset
41149
41150
41151 \end_layout
41152
41153 \begin_layout Standard
41154 Here is a child document inserted using 
41155 \family sans
41156 Include
41157 \family default
41158
41159 \begin_inset CommandInset include
41160 LatexCommand include
41161 filename "DummyDocument1.lyx"
41162 literal "true"
41163
41164 \end_inset
41165
41166
41167 \end_layout
41168
41169 \begin_layout Standard
41170 The section numbering includes the sections of the included files in the
41171  order they are inserted in the master document.
41172  The included example document has for example a subsection that is numbered
41173  as a subsection of this section.
41174  Labels of included documents can be referenced: Subsection
41175 \begin_inset space ~
41176 \end_inset
41177
41178
41179 \begin_inset CommandInset ref
41180 LatexCommand ref
41181 reference "subsec:External-Subsection-1"
41182
41183 \end_inset
41184
41185 .
41186 \end_layout
41187
41188 \begin_layout Standard
41189 The preamble of the child document is ignored; only the preamble of the
41190  master document is used.
41191  Branches in child documents will be ignored by the master document when
41192  the master document does not have a branch with the same name.
41193  Included documents are inserted starting on a new page and ending with
41194  a page break.
41195 \end_layout
41196
41197 \begin_layout Standard
41198 \begin_inset Note Greyedout
41199 status open
41200
41201 \begin_layout Plain Layout
41202
41203 \series bold
41204 Note:
41205 \series default
41206  If you have included a \SpecialChar LyX
41207  or \SpecialChar LaTeX
41208  file, you are warned when you export/view the
41209  document in case the child document uses another document class than the
41210  master document as this will lead to unexpected outputs.
41211 \end_layout
41212
41213 \end_inset
41214
41215
41216 \end_layout
41217
41218 \begin_layout Description
41219 Input This method is very similar to the Include method.
41220  The differences are:
41221 \end_layout
41222
41223 \begin_deeper
41224 \begin_layout Itemize
41225 Input files don't start with a new page and don't end with a page break.
41226 \end_layout
41227
41228 \begin_layout Itemize
41229 Input files can be previewed in \SpecialChar LyX
41230  when 
41231 \family sans
41232 Instant
41233 \begin_inset space ~
41234 \end_inset
41235
41236 Preview
41237 \family default
41238  is enabled in \SpecialChar LyX
41239 's preferences under 
41240 \family sans
41241 Look
41242 \begin_inset space ~
41243 \end_inset
41244
41245 and
41246 \begin_inset space ~
41247 \end_inset
41248
41249 feel\SpecialChar menuseparator
41250 Graphics
41251 \family default
41252 .
41253 \end_layout
41254
41255 \begin_layout Itemize
41256 You cannot exclude Input files via the menu 
41257 \family sans
41258 Document\SpecialChar menuseparator
41259 Settings\SpecialChar menuseparator
41260 Child Documents
41261 \family default
41262 .
41263 \end_layout
41264
41265 \end_deeper
41266 \begin_layout Standard
41267 Here is a child document inserted using 
41268 \family sans
41269 Input
41270 \family default
41271
41272 \begin_inset CommandInset include
41273 LatexCommand input
41274 filename "DummyDocument2.lyx"
41275 literal "true"
41276
41277 \end_inset
41278
41279
41280 \end_layout
41281
41282 \begin_layout Description
41283 Verbatim With this method any text file can be included.
41284  The file is shown in the output with its source code; no command used in
41285  the text is invoked.
41286  You can use the option 
41287 \family sans
41288 Mark spaces in output
41289 \family default
41290  that displays the character 
41291 \begin_inset Quotes eld
41292 \end_inset
41293
41294
41295 \begin_inset ERT
41296 status collapsed
41297
41298 \begin_layout Plain Layout
41299
41300
41301 \backslash
41302 textvisiblespace 
41303 \end_layout
41304
41305 \end_inset
41306
41307
41308 \begin_inset Quotes erd
41309 \end_inset
41310
41311  for every space character in the source code.
41312  The difference from the method via the menu 
41313 \family sans
41314 Insert\SpecialChar menuseparator
41315 File\SpecialChar menuseparator
41316 Plain
41317 \begin_inset space ~
41318 \end_inset
41319
41320 Text
41321 \family default
41322  is that the document content is not shown in \SpecialChar LyX
41323 .
41324 \end_layout
41325
41326 \begin_layout Standard
41327 Here is a child document inserted as Verbatim: 
41328 \begin_inset CommandInset include
41329 LatexCommand verbatiminput
41330 filename "DummyTextDocument.txt"
41331 literal "true"
41332
41333 \end_inset
41334
41335
41336 \begin_inset VSpace bigskip
41337 \end_inset
41338
41339  Here is a child document inserted as Verbatim using the 
41340 \family sans
41341 Mark spaces in output
41342 \family default
41343  option: 
41344 \begin_inset CommandInset include
41345 LatexCommand verbatiminput*
41346 filename "DummyTextDocument.txt"
41347 literal "true"
41348
41349 \end_inset
41350
41351
41352 \end_layout
41353
41354 \begin_layout Standard
41355 \begin_inset VSpace bigskip
41356 \end_inset
41357
41358
41359 \end_layout
41360
41361 \begin_layout Standard
41362 \begin_inset Note Greyedout
41363 status open
41364
41365 \begin_layout Plain Layout
41366
41367 \series bold
41368 Note:
41369 \series default
41370  As you can see in the examples above, the text of the documents included
41371  as 
41372 \family sans
41373 verbatim
41374 \family default
41375  is not broken at the end of the document lines.
41376 \end_layout
41377
41378 \end_inset
41379
41380
41381 \end_layout
41382
41383 \begin_layout Description
41384 Listings This type is described in chapter
41385 \begin_inset space ~
41386 \end_inset
41387
41388
41389 \begin_inset CommandInset ref
41390 LatexCommand ref
41391 reference "cha:Program-Code-Listings"
41392
41393 \end_inset
41394
41395 .
41396 \end_layout
41397
41398 \begin_layout Standard
41399 \begin_inset Note Greyedout
41400 status open
41401
41402 \begin_layout Plain Layout
41403
41404 \series bold
41405 Note:
41406 \series default
41407  Including the same document twice in a document using different methods
41408  could cause \SpecialChar LaTeX
41409 -problems.
41410 \end_layout
41411
41412 \end_inset
41413
41414
41415 \end_layout
41416
41417 \begin_layout Standard
41418 If you want to view/export only selected children of your master document,
41419  either because you want to save compiling time or because you want to distribut
41420 e single chapters of the book you are just writing, you can exclude children
41421  from the output.
41422  This is done via the menu 
41423 \family sans
41424 Document\SpecialChar menuseparator
41425 Settings\SpecialChar menuseparator
41426 Child Documents
41427 \family default
41428 .
41429  You can exclude\SpecialChar breakableslash
41430 include children by double-clicking on the 
41431 \family sans
41432 include to output
41433 \family default
41434  column of the respective child document in the list (note that this only
41435  works for documents embedded via 
41436 \begin_inset Quotes eld
41437 \end_inset
41438
41439 Include
41440 \begin_inset Quotes erd
41441 \end_inset
41442
41443 , not with 
41444 \begin_inset Quotes eld
41445 \end_inset
41446
41447 Input
41448 \begin_inset Quotes erd
41449 \end_inset
41450
41451 ).
41452  
41453 \change_inserted -712698321 1584102244
41454
41455 \end_layout
41456
41457 \begin_layout Standard
41458
41459 \change_inserted -712698321 1584102427
41460 In the section 
41461 \family sans
41462 Global Counters & References
41463 \family default
41464  you can set how page numbers, references, section counters etc.
41465  are handled.
41466 \end_layout
41467
41468 \begin_layout Itemize
41469
41470 \change_inserted -712698321 1584102377
41471 With the option 
41472 \family sans
41473 Strictly maintain
41474 \family default
41475
41476 \change_deleted -712698321 1584102385
41477 If the option 
41478 \family sans
41479 Maintain counters and references
41480 \family default
41481  is enabled, 
41482 \change_unchanged
41483 \SpecialChar LyX
41484  will assure that all page numbers, references etc.
41485 \begin_inset space ~
41486 \end_inset
41487
41488 are correct as if the whole document was 
41489 \change_deleted -712698321 1584108508
41490 processed
41491 \change_inserted -712698321 1584108509
41492 output
41493 \change_unchanged
41494 .
41495  This is useful if you want the selected sub-documents to look exactly as
41496  in the context of the whole document.
41497  However, \SpecialChar LyX
41498  needs to process the whole document in the background for this
41499  feature
41500 \change_inserted -712698321 1584102406
41501 , which can take a long time
41502 \change_unchanged
41503 .
41504
41505 \change_deleted -712698321 1584103026
41506  
41507 \change_inserted -712698321 1584102447
41508
41509 \end_layout
41510
41511 \begin_layout Itemize
41512
41513 \change_inserted -712698321 1584102489
41514 With the option 
41515 \family sans
41516 Do not maintain
41517 \family default
41518
41519 \change_unchanged
41520 \SpecialChar LyX
41521
41522 \change_inserted -712698321 1584103270
41523  only compiles the master and the included documents.
41524  Thus the counters will differ from the complete document, and references
41525  to excluded child documents will not be resolved.
41526  
41527 \change_deleted -712698321 1584102517
41528 So i
41529 \change_inserted -712698321 1584102518
41530 I
41531 \change_unchanged
41532 f you want to save compile time and if counters and references do not need
41533  to be correct, 
41534 \change_deleted -712698321 1584102523
41535 disable this checkbox
41536 \change_inserted -712698321 1584102546
41537 use this option as this is the fastest one
41538 \change_unchanged
41539 .
41540 \change_inserted -712698321 1584102550
41541
41542 \end_layout
41543
41544 \begin_layout Itemize
41545
41546 \change_inserted -712698321 1584109486
41547 The option 
41548 \family sans
41549 Maintain mostly
41550 \family default
41551  is somewhat in-between the above two.
41552  If this is selected, \SpecialChar LyX
41553  will compile the whole document at the first output,
41554  which sets up counters and references correctly.
41555  In subsequent outputs, it will compile the whole document only if a change
41556  has been made in an excluded child document.
41557  As long as you only edit the included files, this approach is as fast as
41558  the second one, while giving you more or less correct counters and references.
41559  They are only more or less correct since the change of size of included
41560  documents obviously also changes the pagination of excluded documents,
41561  but this change cannot be tracked with this method.
41562 \change_unchanged
41563
41564 \end_layout
41565
41566 \begin_layout Standard
41567 Alternatively, you can put each included file into a branch.
41568 \begin_inset Foot
41569 status collapsed
41570
41571 \begin_layout Plain Layout
41572 Branches are described in section 
41573 \emph on
41574 Branches
41575 \emph default
41576  of the \SpecialChar LyX
41577  
41578 \emph on
41579 Userguide
41580 \emph default
41581 .
41582 \end_layout
41583
41584 \end_inset
41585
41586  By enabling\SpecialChar breakableslash
41587 disabling branches you can decide which included files will
41588  appear in the output.
41589  This has the advantage that it also works with Input'ed sub-documents.
41590  However, counters and references will not be maintained with this approach.
41591 \end_layout
41592
41593 \begin_layout Chapter
41594 Program Code Listings
41595 \begin_inset CommandInset label
41596 LatexCommand label
41597 name "cha:Program-Code-Listings"
41598
41599 \end_inset
41600
41601
41602 \begin_inset Index idx
41603 status collapsed
41604
41605 \begin_layout Plain Layout
41606 Listings
41607 \end_layout
41608
41609 \end_inset
41610
41611
41612 \begin_inset Index idx
41613 status collapsed
41614
41615 \begin_layout Plain Layout
41616 Program Code
41617 \end_layout
41618
41619 \end_inset
41620
41621
41622 \begin_inset Index idx
41623 status collapsed
41624
41625 \begin_layout Plain Layout
41626 Floats ! Listings
41627 \end_layout
41628
41629 \end_inset
41630
41631
41632 \end_layout
41633
41634 \begin_layout Standard
41635 To include and typeset program code you can use the 
41636 \family sans
41637 Listings
41638 \family default
41639  inset that can be inserted via the menu 
41640 \family sans
41641 Insert\SpecialChar menuseparator
41642 Program Listing
41643 \family default
41644 .
41645  The \SpecialChar LaTeX
41646 -packages 
41647 \series bold
41648 listings
41649 \series default
41650
41651 \begin_inset Index idx
41652 status collapsed
41653
41654 \begin_layout Plain Layout
41655 \SpecialChar LaTeX
41656 -packages ! listings
41657 \end_layout
41658
41659 \end_inset
41660
41661  or 
41662 \series bold
41663 minted
41664 \series default
41665
41666 \begin_inset Index idx
41667 status collapsed
41668
41669 \begin_layout Plain Layout
41670 \SpecialChar LaTeX
41671 -packages ! minted
41672 \end_layout
41673
41674 \end_inset
41675
41676  provide a powerful and flexible way to insert program source code into
41677  your document.
41678  One can only use one of these packages in a document.
41679  
41680 \series bold
41681 listings
41682 \series default
41683  is used by default.
41684 \end_layout
41685
41686 \begin_layout Standard
41687 \begin_inset Note Note
41688 status open
41689
41690 \begin_layout Plain Layout
41691
41692 \series bold
41693 Note:
41694 \series default
41695  \SpecialChar LyX
41696  does NOT want to encourage users to add the 
41697 \family typewriter
41698 -shell-escape
41699 \family default
41700  option to converter definitions.
41701  It works, but it is a huge security risk.
41702  There is an active discussion about how to handle this.
41703  Once that's been resolved, this can be updated appropriately.
41704 \end_layout
41705
41706 \begin_layout Plain Layout
41707 =====
41708 \end_layout
41709
41710 \begin_layout Plain Layout
41711 In order to use 
41712 \series bold
41713 minted
41714 \series default
41715 , you need to select it as the syntax highlighting package in the document
41716  settings under 
41717 \family sans
41718 Listings
41719 \family default
41720 .
41721  
41722 \series bold
41723 minted
41724 \series default
41725  requires also additionally the module 
41726 \family sans
41727 pygments
41728 \family default
41729  of the software 
41730 \noun on
41731 Python
41732 \noun default
41733
41734 \begin_inset Foot
41735 status collapsed
41736
41737 \begin_layout Plain Layout
41738 Under \SpecialChar LyX
41739  for Windows 
41740 \family sans
41741 pygments
41742 \family default
41743  is already installed.
41744 \end_layout
41745
41746 \end_inset
41747
41748  and the option 
41749 \family typewriter
41750 -shell-escape
41751 \family default
41752  for the \SpecialChar LaTeX
41753  processor.
41754  If you want for example view or export your document as the format 
41755 \family sans
41756 PDF
41757 \begin_inset space ~
41758 \end_inset
41759
41760 (pdflatex)
41761 \family default
41762 , go to the \SpecialChar LyX
41763  preferences and there to the section 
41764 \family sans
41765 File
41766 \begin_inset space ~
41767 \end_inset
41768
41769 Handling\SpecialChar menuseparator
41770 Converters
41771 \family default
41772 .
41773  There go to the entry 
41774 \family sans
41775 LaTeX
41776 \begin_inset space ~
41777 \end_inset
41778
41779 (pdflatex) -> PDF
41780 \begin_inset space ~
41781 \end_inset
41782
41783 (pdflatex)
41784 \family default
41785  and look at the field 
41786 \family sans
41787 Converter
41788 \family default
41789 .
41790  There you see by default the content
41791 \begin_inset Newline newline
41792 \end_inset
41793
41794
41795 \series bold
41796 pdflatex $$i
41797 \series default
41798
41799 \begin_inset Newline newline
41800 \end_inset
41801
41802 Now change it to
41803 \begin_inset Newline newline
41804 \end_inset
41805
41806
41807 \series bold
41808 pdflatex $$i -shell-escape
41809 \begin_inset Newline newline
41810 \end_inset
41811
41812
41813 \series default
41814 and press the 
41815 \family sans
41816 Modify
41817 \family default
41818  button and subsequently 
41819 \family sans
41820 Apply
41821 \family default
41822  or 
41823 \family sans
41824 Save
41825 \family default
41826 .
41827  The same can be done for the output formats 
41828 \family sans
41829 PDF
41830 \begin_inset space ~
41831 \end_inset
41832
41833 (LuaTeX)
41834 \family default
41835  and 
41836 \family sans
41837 PDF
41838 \begin_inset space ~
41839 \end_inset
41840
41841 (XeTeX)
41842 \family default
41843 .
41844 \end_layout
41845
41846 \end_inset
41847
41848
41849 \end_layout
41850
41851 \begin_layout Standard
41852 Right-clicking on a listings inset opens the context menu containing where
41853  you can set the listings format.
41854 \end_layout
41855
41856 \begin_layout Standard
41857 By default, a listing starts a new paragraph in the output.
41858  The placement option 
41859 \family sans
41860 Inline
41861 \begin_inset space ~
41862 \end_inset
41863
41864 listing
41865 \family default
41866  prints the listing inline like this: 
41867 \begin_inset listings
41868 lstparams "language={C++}"
41869 inline true
41870 status open
41871
41872 \begin_layout Plain Layout
41873
41874 int a=5;
41875 \end_layout
41876
41877 \end_inset
41878
41879
41880 \begin_inset Newline newline
41881 \end_inset
41882
41883 The option 
41884 \family sans
41885 Float
41886 \family default
41887  creates a listings float where you can specify the placement options 
41888 \begin_inset Quotes eld
41889 \end_inset
41890
41891
41892 \family sans
41893 h
41894 \family default
41895
41896 \begin_inset Quotes erd
41897 \end_inset
41898
41899
41900 \begin_inset Quotes eld
41901 \end_inset
41902
41903
41904 \family sans
41905 t
41906 \family default
41907
41908 \begin_inset Quotes erd
41909 \end_inset
41910
41911
41912 \begin_inset Quotes eld
41913 \end_inset
41914
41915
41916 \family sans
41917 b
41918 \family default
41919
41920 \begin_inset Quotes erd
41921 \end_inset
41922
41923 , and 
41924 \begin_inset Quotes eld
41925 \end_inset
41926
41927
41928 \family sans
41929 p
41930 \family default
41931
41932 \begin_inset Quotes erd
41933 \end_inset
41934
41935  corresponding to the float placement options described in section
41936 \begin_inset space ~
41937 \end_inset
41938
41939
41940 \begin_inset CommandInset ref
41941 LatexCommand ref
41942 reference "sec:Float-Settings"
41943
41944 \end_inset
41945
41946 .
41947  The placement options can be mixed and are inserted without any separation,
41948  e.
41949 \begin_inset space \thinspace{}
41950 \end_inset
41951
41952 g.
41953 \begin_inset space \space{}
41954 \end_inset
41955
41956
41957 \begin_inset Quotes eld
41958 \end_inset
41959
41960
41961 \family sans
41962 htbp
41963 \family default
41964
41965 \begin_inset Quotes erd
41966 \end_inset
41967
41968 .
41969  The option 
41970 \begin_inset Quotes eld
41971 \end_inset
41972
41973 h
41974 \begin_inset Quotes erd
41975 \end_inset
41976
41977  has sometimes no effect, but you don't need to use the 
41978 \family sans
41979 Float
41980 \family default
41981  option in this case as also non-float listings can have captions and be
41982  referenced.
41983 \end_layout
41984
41985 \begin_layout Standard
41986 You can add captions to listings that are not inline with the menu 
41987 \family sans
41988 Insert\SpecialChar menuseparator
41989 Caption
41990 \family default
41991 .
41992  Listings can be referenced like floats: Listing
41993 \begin_inset space ~
41994 \end_inset
41995
41996
41997 \begin_inset CommandInset ref
41998 LatexCommand ref
41999 reference "lst:Example-Listing"
42000
42001 \end_inset
42002
42003 .
42004  A list of listings which contains all listings with captions can be created
42005  via the menu 
42006 \family sans
42007 Insert\SpecialChar menuseparator
42008 List
42009 \begin_inset space ~
42010 \end_inset
42011
42012 /
42013 \begin_inset space ~
42014 \end_inset
42015
42016 TOC\SpecialChar menuseparator
42017 List of Listings
42018 \family default
42019 .
42020  The list entries are the listing caption and the listing number.
42021 \end_layout
42022
42023 \begin_layout Standard
42024 \begin_inset listings
42025 lstparams "language=Python"
42026 inline false
42027 status open
42028
42029 \begin_layout Plain Layout
42030
42031 \begin_inset Caption Standard
42032
42033 \begin_layout Plain Layout
42034 \begin_inset CommandInset label
42035 LatexCommand label
42036 name "lst:Example-Listing"
42037
42038 \end_inset
42039
42040 Example Listing float
42041 \end_layout
42042
42043 \end_inset
42044
42045 # Example listing float
42046 \end_layout
42047
42048 \begin_layout Plain Layout
42049
42050 def func(param):
42051 \end_layout
42052
42053 \begin_layout Plain Layout
42054
42055     'this is a python function'
42056 \end_layout
42057
42058 \begin_layout Plain Layout
42059
42060     pass
42061 \end_layout
42062
42063 \end_inset
42064
42065
42066 \end_layout
42067
42068 \begin_layout Standard
42069 \begin_inset Note Greyedout
42070 status open
42071
42072 \begin_layout Plain Layout
42073
42074 \series bold
42075 Note: 
42076 \series default
42077 The 
42078 \series bold
42079 listings
42080 \series default
42081  package places captions before the listing by default.
42082 \begin_inset Newline newline
42083 \end_inset
42084
42085 The 
42086 \series bold
42087 minted
42088 \series default
42089  package places them after the listing by default if it is floating.
42090  If it is not floating, caption will be typeset before the listing if it
42091  is inserted to its first line, otherwise it will be typeset after the listing.
42092  If you want to force the placement in every case before the listing, you
42093  have to add the following lines as last thing to the preamble:
42094 \begin_inset Newline newline
42095 \end_inset
42096
42097
42098 \series bold
42099
42100 \backslash
42101 @ifundefined{newfloat}
42102 \begin_inset Newline newline
42103 \end_inset
42104
42105
42106 \begin_inset Phantom HPhantom
42107 status open
42108
42109 \begin_layout Plain Layout
42110
42111 \series bold
42112 \begin_inset space ~
42113 \end_inset
42114
42115
42116 \end_layout
42117
42118 \end_inset
42119
42120 {
42121 \backslash
42122 usepackage{float}}{}
42123 \begin_inset Newline newline
42124 \end_inset
42125
42126
42127 \backslash
42128 floatstyle{plaintop}
42129 \series default
42130
42131 \begin_inset Note Note
42132 status collapsed
42133
42134 \begin_layout Plain Layout
42135 The package 
42136 \series bold
42137 float
42138 \series default
42139  will be loaded automatically by \SpecialChar LyX
42140  when you use special document-wide float
42141  placement settings.
42142  To avoid that it is loaded twice the command 
42143 \series bold
42144
42145 \backslash
42146 @ifundefined
42147 \series default
42148  is used in the above command.
42149 \end_layout
42150
42151 \end_inset
42152
42153
42154 \end_layout
42155
42156 \end_inset
42157
42158
42159 \end_layout
42160
42161 \begin_layout Standard
42162 When you have set a programming language in the listings dialog, the keywords
42163  of this language will be recognized and specially typeset in the output.
42164  In the example listings the Python keyword 
42165 \begin_inset Quotes eld
42166 \end_inset
42167
42168 def
42169 \begin_inset Quotes erd
42170 \end_inset
42171
42172  is recognized and printed bold in the output.
42173 \end_layout
42174
42175 \begin_layout Standard
42176 \begin_inset Note Greyedout
42177 status open
42178
42179 \begin_layout Plain Layout
42180
42181 \series bold
42182 Note:
42183 \series default
42184  If you don't get bold keywords when using typewriter fonts, your 
42185 \family typewriter
42186 typewriter
42187 \family default
42188  font probably doesn't provide a bold shape.
42189  In this case select a different one in the menu 
42190 \family sans
42191 Document\SpecialChar menuseparator
42192 Settings\SpecialChar menuseparator
42193 Fonts
42194 \family default
42195 .
42196  (The fonts 
42197 \emph on
42198 LuxiMono, BeraMono
42199 \emph default
42200  and 
42201 \emph on
42202 Courier
42203 \emph default
42204  provide bold shapes.)
42205 \end_layout
42206
42207 \end_inset
42208
42209
42210 \end_layout
42211
42212 \begin_layout Standard
42213 In section 
42214 \family sans
42215 Line
42216 \begin_inset space ~
42217 \end_inset
42218
42219 numbering
42220 \family default
42221  of the listings dialog you can specify the line numbering style.
42222  You can insert a number to specify which lines are numbered in the field
42223  
42224 \family sans
42225 Step
42226 \family default
42227 .
42228  When you insert e.
42229 \begin_inset space \thinspace{}
42230 \end_inset
42231
42232 g.
42233 \begin_inset space \space{}
42234 \end_inset
42235
42236
42237 \begin_inset Quotes eld
42238 \end_inset
42239
42240 3
42241 \begin_inset Quotes erd
42242 \end_inset
42243
42244 , only every 3rd line will be numbered.
42245 \end_layout
42246
42247 \begin_layout Standard
42248 You can furthermore specify a range of lines; only these will then appear
42249  in the output.
42250  The option 
42251 \family sans
42252 Extended character table
42253 \family default
42254  is only meaningful for the 
42255 \series bold
42256 listings
42257 \series default
42258  package and should be used when you use national characters like the German
42259  umlauts in the listing.
42260 \begin_inset Newline newline
42261 \end_inset
42262
42263 Here is an example listing with left line numbering, step 
42264 \begin_inset Quotes eld
42265 \end_inset
42266
42267 3
42268 \begin_inset Quotes erd
42269 \end_inset
42270
42271 , language 
42272 \begin_inset Quotes eld
42273 \end_inset
42274
42275 Python
42276 \begin_inset Quotes erd
42277 \end_inset
42278
42279 , options 
42280 \begin_inset Quotes eld
42281 \end_inset
42282
42283 Extended character table
42284 \begin_inset Quotes erd
42285 \end_inset
42286
42287  and 
42288 \begin_inset Quotes eld
42289 \end_inset
42290
42291 Space
42292 \begin_inset space ~
42293 \end_inset
42294
42295 as
42296 \begin_inset space ~
42297 \end_inset
42298
42299 symbol
42300 \begin_inset Quotes erd
42301 \end_inset
42302
42303 , range lines 3
42304 \begin_inset space \thinspace{}
42305 \end_inset
42306
42307 -
42308 \begin_inset space \thinspace{}
42309 \end_inset
42310
42311 8:
42312 \end_layout
42313
42314 \begin_layout Standard
42315 \begin_inset listings
42316 lstparams "extendedchars=true,firstline=3,language=Python,lastline=8,numbers=left,showspaces=true,stepnumber=3"
42317 inline false
42318 status open
42319
42320 \begin_layout Plain Layout
42321
42322 def func(param):
42323 \end_layout
42324
42325 \begin_layout Plain Layout
42326
42327     'this is a python function'
42328 \end_layout
42329
42330 \begin_layout Plain Layout
42331
42332     pass
42333 \end_layout
42334
42335 \begin_layout Plain Layout
42336
42337 def func(param):
42338 \end_layout
42339
42340 \begin_layout Plain Layout
42341
42342 'This is a German word: Tschüß'
42343 \end_layout
42344
42345 \begin_layout Plain Layout
42346
42347 pass
42348 \end_layout
42349
42350 \begin_layout Plain Layout
42351
42352 def func(param):
42353 \end_layout
42354
42355 \begin_layout Plain Layout
42356
42357 'this is a python function'
42358 \end_layout
42359
42360 \begin_layout Plain Layout
42361
42362 pass
42363 \end_layout
42364
42365 \end_inset
42366
42367
42368 \end_layout
42369
42370 \begin_layout Standard
42371 When you have tabulators in your listing, you can specify the number of
42372  characters that are spanned by a tabulator in the field 
42373 \family sans
42374 Tabulator
42375 \begin_inset space ~
42376 \end_inset
42377
42378 size
42379 \family default
42380 .
42381 \end_layout
42382
42383 \begin_layout Standard
42384 \begin_inset Note Greyedout
42385 status open
42386
42387 \begin_layout Plain Layout
42388
42389 \series bold
42390 Note:
42391 \series default
42392  Due to a bug in the 
42393 \series bold
42394 listings
42395 \series default
42396  package the line numbering is shifted by a line by every previous listing.
42397  That's the reason why the lines 2 and 5 are numbered in the above listing
42398  and not the lines 3 and 6.
42399 \end_layout
42400
42401 \end_inset
42402
42403
42404 \end_layout
42405
42406 \begin_layout Standard
42407 \begin_inset VSpace bigskip
42408 \end_inset
42409
42410
42411 \end_layout
42412
42413 \begin_layout Standard
42414 It is also possible to print lines from a file as listing.
42415  To do this, use the menu 
42416 \family sans
42417 Insert\SpecialChar menuseparator
42418 File\SpecialChar menuseparator
42419 Child Document
42420 \family default
42421  and choose the type 
42422 \family sans
42423 Listings
42424 \family default
42425 .
42426 \begin_inset Foot
42427 status collapsed
42428
42429 \begin_layout Plain Layout
42430 The other child document types are described in section
42431 \begin_inset space ~
42432 \end_inset
42433
42434
42435 \begin_inset CommandInset ref
42436 LatexCommand ref
42437 reference "sec:Child-Documents"
42438
42439 \end_inset
42440
42441 .
42442 \end_layout
42443
42444 \end_inset
42445
42446  In the child document dialog you can specify the listing parameters in
42447  a text box.
42448  To show a list of all available parameters, type in a question mark 
42449 \begin_inset Quotes eld
42450 \end_inset
42451
42452 ?
42453 \begin_inset Quotes erd
42454 \end_inset
42455
42456  in the text box.
42457 \end_layout
42458
42459 \begin_layout Standard
42460 To reference child document listings, write a label text into the corresponding
42461  field of the child document dialog.
42462  The label can then be referenced using the menu 
42463 \family sans
42464 Insert\SpecialChar menuseparator
42465 Cross-Reference
42466 \family default
42467 .
42468 \end_layout
42469
42470 \begin_layout Standard
42471 Listing
42472 \begin_inset space ~
42473 \end_inset
42474
42475
42476 \begin_inset CommandInset ref
42477 LatexCommand ref
42478 reference "lst:file-listing"
42479
42480 \end_inset
42481
42482  is an example for a listing of a file; there the lines 10
42483 \begin_inset space \thinspace{}
42484 \end_inset
42485
42486 -
42487 \begin_inset space \thinspace{}
42488 \end_inset
42489
42490 15 of this \SpecialChar LyX
42491  file are listed.
42492 \end_layout
42493
42494 \begin_layout Standard
42495 \begin_inset CommandInset include
42496 LatexCommand lstinputlisting
42497 filename "EmbeddedObjects.lyx"
42498 lstparams "breaklines=true,caption={Lines 10 - 15 of this LyX file},extendedchars=true,firstline=10,label={lst:file-listing},language={[LaTeX]TeX},lastline=15"
42499 literal "true"
42500
42501 \end_inset
42502
42503
42504 \end_layout
42505
42506 \begin_layout Standard
42507 \begin_inset VSpace bigskip
42508 \end_inset
42509
42510
42511 \end_layout
42512
42513 \begin_layout Standard
42514 Inserting a formula into a listing can be done the following way:
42515 \end_layout
42516
42517 \begin_layout Enumerate
42518 Open the listings dialog and add
42519 \begin_inset Newline newline
42520 \end_inset
42521
42522
42523 \family sans
42524 mathescape=true
42525 \family default
42526
42527 \begin_inset Newline newline
42528 \end_inset
42529
42530 to the field of the 
42531 \family sans
42532 Advanced
42533 \family default
42534  tab.
42535 \end_layout
42536
42537 \begin_layout Enumerate
42538 Create a formula outside the listing
42539 \end_layout
42540
42541 \begin_layout Enumerate
42542 Copy the content of the formula (not the formula inset) to the clipboard
42543  (shortcut 
42544 \begin_inset Info
42545 type  "shortcut"
42546 arg   "copy"
42547 \end_inset
42548
42549 )
42550 \end_layout
42551
42552 \begin_layout Enumerate
42553 In the listing write 
42554 \begin_inset Quotes eld
42555 \end_inset
42556
42557
42558 \family sans
42559 $$
42560 \family default
42561
42562 \begin_inset Quotes erd
42563 \end_inset
42564
42565  and copy from the clipboard between the dollar-signs (shortcut 
42566 \begin_inset Info
42567 type  "shortcut"
42568 arg   "paste"
42569 \end_inset
42570
42571 )
42572 \end_layout
42573
42574 \begin_layout Standard
42575 \begin_inset listings
42576 lstparams "language=Python,mathescape=true"
42577 inline false
42578 status open
42579
42580 \begin_layout Plain Layout
42581
42582 \begin_inset Caption Standard
42583
42584 \begin_layout Plain Layout
42585 Example Listing float containing a formula
42586 \end_layout
42587
42588 \end_inset
42589
42590 # Example listing float
42591 \end_layout
42592
42593 \begin_layout Plain Layout
42594
42595 def func(param):
42596 \end_layout
42597
42598 \begin_layout Plain Layout
42599
42600     # $
42601 \backslash
42602 prod_{n=1}^{
42603 \backslash
42604 infty}
42605 \backslash
42606 ,
42607 \backslash
42608 frac{1}{x^{2}}$
42609 \end_layout
42610
42611 \begin_layout Plain Layout
42612
42613     pass
42614 \end_layout
42615
42616 \end_inset
42617
42618
42619 \end_layout
42620
42621 \begin_layout Standard
42622 \begin_inset VSpace bigskip
42623 \end_inset
42624
42625
42626 \end_layout
42627
42628 \begin_layout Standard
42629 Global listings settings can be set in the 
42630 \family sans
42631 Document\SpecialChar menuseparator
42632 Settings\SpecialChar menuseparator
42633 Listings
42634 \family default
42635  dialog.
42636  To get there a list of available options, type in a question mark 
42637 \begin_inset Quotes eld
42638 \end_inset
42639
42640 ?
42641 \begin_inset Quotes erd
42642 \end_inset
42643
42644 .
42645 \end_layout
42646
42647 \begin_layout Standard
42648 For more information about the 
42649 \series bold
42650 listings
42651 \series default
42652  and 
42653 \series bold
42654 minted
42655 \series default
42656  packages, we refer to their documentation 
42657 \begin_inset CommandInset citation
42658 LatexCommand cite
42659 key "listings,minted"
42660 literal "true"
42661
42662 \end_inset
42663
42664 .
42665 \end_layout
42666
42667 \begin_layout Standard
42668 \begin_inset Newpage newpage
42669 \end_inset
42670
42671
42672 \end_layout
42673
42674 \begin_layout Chapter
42675 \start_of_appendix
42676 Units available in \SpecialChar LyX
42677
42678 \begin_inset Index idx
42679 status collapsed
42680
42681 \begin_layout Plain Layout
42682 Units
42683 \end_layout
42684
42685 \end_inset
42686
42687
42688 \begin_inset CommandInset label
42689 LatexCommand label
42690 name "cha:Units-available-in"
42691
42692 \end_inset
42693
42694
42695 \end_layout
42696
42697 \begin_layout Standard
42698 To understand the units described in this documentation, Table
42699 \begin_inset space ~
42700 \end_inset
42701
42702
42703 \begin_inset CommandInset ref
42704 LatexCommand ref
42705 reference "tab:Units"
42706
42707 \end_inset
42708
42709  explains all units available in \SpecialChar LyX
42710 .
42711 \end_layout
42712
42713 \begin_layout Standard
42714 \begin_inset Float table
42715 placement h
42716 alignment document
42717 wide false
42718 sideways false
42719 status open
42720
42721 \begin_layout Plain Layout
42722 \begin_inset Caption Standard
42723
42724 \begin_layout Plain Layout
42725 \begin_inset CommandInset label
42726 LatexCommand label
42727 name "tab:Units"
42728
42729 \end_inset
42730
42731 Units
42732 \end_layout
42733
42734 \end_inset
42735
42736
42737 \end_layout
42738
42739 \begin_layout Plain Layout
42740 \begin_inset VSpace medskip
42741 \end_inset
42742
42743
42744 \end_layout
42745
42746 \begin_layout Plain Layout
42747 \align center
42748 \begin_inset Tabular
42749 <lyxtabular version="3" rows="21" columns="3">
42750 <features tabularvalignment="middle">
42751 <column alignment="center" valignment="top">
42752 <column alignment="center" valignment="middle" width="50col%">
42753 <column alignment="center" valignment="top">
42754 <row>
42755 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
42756 \begin_inset Text
42757
42758 \begin_layout Plain Layout
42759 unit
42760 \end_layout
42761
42762 \end_inset
42763 </cell>
42764 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
42765 \begin_inset Text
42766
42767 \begin_layout Plain Layout
42768 name/description
42769 \end_layout
42770
42771 \end_inset
42772 </cell>
42773 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
42774 \begin_inset Text
42775
42776 \begin_layout Plain Layout
42777 \SpecialChar LaTeX
42778  command
42779 \end_layout
42780
42781 \end_inset
42782 </cell>
42783 </row>
42784 <row>
42785 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42786 \begin_inset Text
42787
42788 \begin_layout Plain Layout
42789 bp
42790 \end_layout
42791
42792 \end_inset
42793 </cell>
42794 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42795 \begin_inset Text
42796
42797 \begin_layout Plain Layout
42798 big point (72
42799 \begin_inset space \thinspace{}
42800 \end_inset
42801
42802 bp = 1
42803 \begin_inset space \thinspace{}
42804 \end_inset
42805
42806 in)
42807 \end_layout
42808
42809 \end_inset
42810 </cell>
42811 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42812 \begin_inset Text
42813
42814 \begin_layout Plain Layout
42815 -
42816 \end_layout
42817
42818 \end_inset
42819 </cell>
42820 </row>
42821 <row>
42822 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42823 \begin_inset Text
42824
42825 \begin_layout Plain Layout
42826 cc
42827 \end_layout
42828
42829 \end_inset
42830 </cell>
42831 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42832 \begin_inset Text
42833
42834 \begin_layout Plain Layout
42835 cicero (1
42836 \begin_inset space \thinspace{}
42837 \end_inset
42838
42839 cc = 12
42840 \begin_inset space \thinspace{}
42841 \end_inset
42842
42843 dd)
42844 \end_layout
42845
42846 \end_inset
42847 </cell>
42848 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42849 \begin_inset Text
42850
42851 \begin_layout Plain Layout
42852 -
42853 \end_layout
42854
42855 \end_inset
42856 </cell>
42857 </row>
42858 <row>
42859 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42860 \begin_inset Text
42861
42862 \begin_layout Plain Layout
42863 cm
42864 \end_layout
42865
42866 \end_inset
42867 </cell>
42868 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42869 \begin_inset Text
42870
42871 \begin_layout Plain Layout
42872 centimeter
42873 \end_layout
42874
42875 \end_inset
42876 </cell>
42877 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42878 \begin_inset Text
42879
42880 \begin_layout Plain Layout
42881 -
42882 \end_layout
42883
42884 \end_inset
42885 </cell>
42886 </row>
42887 <row>
42888 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42889 \begin_inset Text
42890
42891 \begin_layout Plain Layout
42892 dd
42893 \end_layout
42894
42895 \end_inset
42896 </cell>
42897 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42898 \begin_inset Text
42899
42900 \begin_layout Plain Layout
42901 didot (1
42902 \begin_inset space \thinspace{}
42903 \end_inset
42904
42905 dd 
42906 \begin_inset Formula $\approx$
42907 \end_inset
42908
42909  0.376
42910 \begin_inset space \thinspace{}
42911 \end_inset
42912
42913 mm)
42914 \end_layout
42915
42916 \end_inset
42917 </cell>
42918 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42919 \begin_inset Text
42920
42921 \begin_layout Plain Layout
42922 -
42923 \end_layout
42924
42925 \end_inset
42926 </cell>
42927 </row>
42928 <row>
42929 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42930 \begin_inset Text
42931
42932 \begin_layout Plain Layout
42933 em
42934 \end_layout
42935
42936 \end_inset
42937 </cell>
42938 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42939 \begin_inset Text
42940
42941 \begin_layout Plain Layout
42942 width of letter 
42943 \emph on
42944 M
42945 \emph default
42946  in current font
42947 \end_layout
42948
42949 \end_inset
42950 </cell>
42951 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42952 \begin_inset Text
42953
42954 \begin_layout Plain Layout
42955 -
42956 \end_layout
42957
42958 \end_inset
42959 </cell>
42960 </row>
42961 <row>
42962 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42963 \begin_inset Text
42964
42965 \begin_layout Plain Layout
42966 ex
42967 \end_layout
42968
42969 \end_inset
42970 </cell>
42971 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42972 \begin_inset Text
42973
42974 \begin_layout Plain Layout
42975 height of letter 
42976 \emph on
42977 x
42978 \emph default
42979  in current font
42980 \end_layout
42981
42982 \end_inset
42983 </cell>
42984 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42985 \begin_inset Text
42986
42987 \begin_layout Plain Layout
42988 -
42989 \end_layout
42990
42991 \end_inset
42992 </cell>
42993 </row>
42994 <row>
42995 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42996 \begin_inset Text
42997
42998 \begin_layout Plain Layout
42999 in
43000 \end_layout
43001
43002 \end_inset
43003 </cell>
43004 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43005 \begin_inset Text
43006
43007 \begin_layout Plain Layout
43008 inch
43009 \end_layout
43010
43011 \end_inset
43012 </cell>
43013 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43014 \begin_inset Text
43015
43016 \begin_layout Plain Layout
43017 -
43018 \end_layout
43019
43020 \end_inset
43021 </cell>
43022 </row>
43023 <row>
43024 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43025 \begin_inset Text
43026
43027 \begin_layout Plain Layout
43028 mm
43029 \end_layout
43030
43031 \end_inset
43032 </cell>
43033 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43034 \begin_inset Text
43035
43036 \begin_layout Plain Layout
43037 millimeter
43038 \end_layout
43039
43040 \end_inset
43041 </cell>
43042 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43043 \begin_inset Text
43044
43045 \begin_layout Plain Layout
43046 -
43047 \end_layout
43048
43049 \end_inset
43050 </cell>
43051 </row>
43052 <row>
43053 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43054 \begin_inset Text
43055
43056 \begin_layout Plain Layout
43057 mu
43058 \end_layout
43059
43060 \end_inset
43061 </cell>
43062 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43063 \begin_inset Text
43064
43065 \begin_layout Plain Layout
43066 math unit (1
43067 \begin_inset space \thinspace{}
43068 \end_inset
43069
43070 mu = 1/18
43071 \begin_inset space \thinspace{}
43072 \end_inset
43073
43074 em)
43075 \end_layout
43076
43077 \end_inset
43078 </cell>
43079 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43080 \begin_inset Text
43081
43082 \begin_layout Plain Layout
43083 -
43084 \end_layout
43085
43086 \end_inset
43087 </cell>
43088 </row>
43089 <row>
43090 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43091 \begin_inset Text
43092
43093 \begin_layout Plain Layout
43094 pt
43095 \end_layout
43096
43097 \end_inset
43098 </cell>
43099 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43100 \begin_inset Text
43101
43102 \begin_layout Plain Layout
43103 point (72.27
43104 \begin_inset space \thinspace{}
43105 \end_inset
43106
43107 pt = 1
43108 \begin_inset space \thinspace{}
43109 \end_inset
43110
43111 in)
43112 \end_layout
43113
43114 \end_inset
43115 </cell>
43116 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43117 \begin_inset Text
43118
43119 \begin_layout Plain Layout
43120 -
43121 \end_layout
43122
43123 \end_inset
43124 </cell>
43125 </row>
43126 <row>
43127 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43128 \begin_inset Text
43129
43130 \begin_layout Plain Layout
43131 pc
43132 \end_layout
43133
43134 \end_inset
43135 </cell>
43136 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43137 \begin_inset Text
43138
43139 \begin_layout Plain Layout
43140 pica (1
43141 \begin_inset space \thinspace{}
43142 \end_inset
43143
43144 pc = 12
43145 \begin_inset space \thinspace{}
43146 \end_inset
43147
43148 pt)
43149 \end_layout
43150
43151 \end_inset
43152 </cell>
43153 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43154 \begin_inset Text
43155
43156 \begin_layout Plain Layout
43157 -
43158 \end_layout
43159
43160 \end_inset
43161 </cell>
43162 </row>
43163 <row>
43164 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43165 \begin_inset Text
43166
43167 \begin_layout Plain Layout
43168 sp
43169 \end_layout
43170
43171 \end_inset
43172 </cell>
43173 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43174 \begin_inset Text
43175
43176 \begin_layout Plain Layout
43177 scaled point (65536
43178 \begin_inset space \thinspace{}
43179 \end_inset
43180
43181 sp = 1
43182 \begin_inset space \thinspace{}
43183 \end_inset
43184
43185 pt)
43186 \end_layout
43187
43188 \end_inset
43189 </cell>
43190 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43191 \begin_inset Text
43192
43193 \begin_layout Plain Layout
43194 -
43195 \end_layout
43196
43197 \end_inset
43198 </cell>
43199 </row>
43200 <row>
43201 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43202 \begin_inset Text
43203
43204 \begin_layout Plain Layout
43205 Column Width %
43206 \end_layout
43207
43208 \end_inset
43209 </cell>
43210 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43211 \begin_inset Text
43212
43213 \begin_layout Plain Layout
43214 % of column width
43215 \end_layout
43216
43217 \end_inset
43218 </cell>
43219 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43220 \begin_inset Text
43221
43222 \begin_layout Plain Layout
43223
43224 \backslash
43225 columnwidth
43226 \end_layout
43227
43228 \end_inset
43229 </cell>
43230 </row>
43231 <row>
43232 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43233 \begin_inset Text
43234
43235 \begin_layout Plain Layout
43236 Line Distance %
43237 \end_layout
43238
43239 \end_inset
43240 </cell>
43241 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43242 \begin_inset Text
43243
43244 \begin_layout Plain Layout
43245 % of height between baselines of two subsequent text lines
43246 \end_layout
43247
43248 \end_inset
43249 </cell>
43250 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43251 \begin_inset Text
43252
43253 \begin_layout Plain Layout
43254
43255 \backslash
43256 baselineskip
43257 \end_layout
43258
43259 \end_inset
43260 </cell>
43261 </row>
43262 <row>
43263 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43264 \begin_inset Text
43265
43266 \begin_layout Plain Layout
43267 Line Width %
43268 \end_layout
43269
43270 \end_inset
43271 </cell>
43272 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43273 \begin_inset Text
43274
43275 \begin_layout Plain Layout
43276 % of line width
43277 \end_layout
43278
43279 \end_inset
43280 </cell>
43281 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43282 \begin_inset Text
43283
43284 \begin_layout Plain Layout
43285
43286 \backslash
43287 linewidth
43288 \end_layout
43289
43290 \end_inset
43291 </cell>
43292 </row>
43293 <row>
43294 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43295 \begin_inset Text
43296
43297 \begin_layout Plain Layout
43298 Page Height %
43299 \end_layout
43300
43301 \end_inset
43302 </cell>
43303 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43304 \begin_inset Text
43305
43306 \begin_layout Plain Layout
43307 % of paper height
43308 \end_layout
43309
43310 \end_inset
43311 </cell>
43312 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43313 \begin_inset Text
43314
43315 \begin_layout Plain Layout
43316
43317 \backslash
43318 paperheight
43319 \end_layout
43320
43321 \end_inset
43322 </cell>
43323 </row>
43324 <row>
43325 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43326 \begin_inset Text
43327
43328 \begin_layout Plain Layout
43329 Page Width %
43330 \end_layout
43331
43332 \end_inset
43333 </cell>
43334 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43335 \begin_inset Text
43336
43337 \begin_layout Plain Layout
43338 % of paper width
43339 \end_layout
43340
43341 \end_inset
43342 </cell>
43343 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43344 \begin_inset Text
43345
43346 \begin_layout Plain Layout
43347
43348 \backslash
43349 paperwidth
43350 \end_layout
43351
43352 \end_inset
43353 </cell>
43354 </row>
43355 <row>
43356 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43357 \begin_inset Text
43358
43359 \begin_layout Plain Layout
43360 Scale Graphics %
43361 \end_layout
43362
43363 \end_inset
43364 </cell>
43365 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43366 \begin_inset Text
43367
43368 \begin_layout Plain Layout
43369 % of original image width
43370 \end_layout
43371
43372 \end_inset
43373 </cell>
43374 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43375 \begin_inset Text
43376
43377 \begin_layout Plain Layout
43378
43379 \end_layout
43380
43381 \end_inset
43382 </cell>
43383 </row>
43384 <row>
43385 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43386 \begin_inset Text
43387
43388 \begin_layout Plain Layout
43389 Text Height %
43390 \end_layout
43391
43392 \end_inset
43393 </cell>
43394 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43395 \begin_inset Text
43396
43397 \begin_layout Plain Layout
43398 % of text height
43399 \end_layout
43400
43401 \end_inset
43402 </cell>
43403 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43404 \begin_inset Text
43405
43406 \begin_layout Plain Layout
43407
43408 \backslash
43409 textheight
43410 \end_layout
43411
43412 \end_inset
43413 </cell>
43414 </row>
43415 <row>
43416 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
43417 \begin_inset Text
43418
43419 \begin_layout Plain Layout
43420 Text Width %
43421 \end_layout
43422
43423 \end_inset
43424 </cell>
43425 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
43426 \begin_inset Text
43427
43428 \begin_layout Plain Layout
43429 % of text width
43430 \end_layout
43431
43432 \end_inset
43433 </cell>
43434 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
43435 \begin_inset Text
43436
43437 \begin_layout Plain Layout
43438
43439 \backslash
43440 textwidth
43441 \end_layout
43442
43443 \end_inset
43444 </cell>
43445 </row>
43446 </lyxtabular>
43447
43448 \end_inset
43449
43450
43451 \end_layout
43452
43453 \end_inset
43454
43455
43456 \end_layout
43457
43458 \begin_layout Chapter
43459 Output File Formats with Graphics
43460 \begin_inset CommandInset label
43461 LatexCommand label
43462 name "cha:Output-File-Formats"
43463
43464 \end_inset
43465
43466
43467 \end_layout
43468
43469 \begin_layout Section
43470 DVI
43471 \begin_inset Index idx
43472 status collapsed
43473
43474 \begin_layout Plain Layout
43475 File Formats ! DVI
43476 \end_layout
43477
43478 \end_inset
43479
43480
43481 \begin_inset Index idx
43482 status collapsed
43483
43484 \begin_layout Plain Layout
43485 DVI|see
43486 \begin_inset ERT
43487 status collapsed
43488
43489 \begin_layout Plain Layout
43490
43491 {
43492 \end_layout
43493
43494 \end_inset
43495
43496 File Formats
43497 \begin_inset ERT
43498 status collapsed
43499
43500 \begin_layout Plain Layout
43501
43502 }
43503 \end_layout
43504
43505 \end_inset
43506
43507
43508 \end_layout
43509
43510 \end_inset
43511
43512
43513 \end_layout
43514
43515 \begin_layout Standard
43516 This file type has the extension 
43517 \begin_inset Quotes eld
43518 \end_inset
43519
43520
43521 \family typewriter
43522 .dvi
43523 \family default
43524
43525 \begin_inset Quotes erd
43526 \end_inset
43527
43528 .
43529  It is called 
43530 \begin_inset Quotes eld
43531 \end_inset
43532
43533 device-independent
43534 \begin_inset Quotes erd
43535 \end_inset
43536
43537  (DVI), because it is completely portable; you can move them from one machine
43538  to another without needing to do any sort of conversion.
43539  At the time when this file-format was developed, this was no matter of
43540  course.
43541  DVIs are used for quick previews and as pre-stage for other output formats,
43542  like PostScript.
43543 \end_layout
43544
43545 \begin_layout Standard
43546 \begin_inset Note Greyedout
43547 status open
43548
43549 \begin_layout Plain Layout
43550
43551 \series bold
43552 Note:
43553 \series default
43554  DVI-files do not contain images; they will only be a linked.
43555 \end_layout
43556
43557 \end_inset
43558
43559  So don't forget this, if you move your 
43560 \family typewriter
43561 .dvi
43562 \family default
43563  file to another computer.
43564  This property can also slow down your computer when you view the DVI, because
43565  the DVI-viewer has to convert the image in the background to make it visible
43566  when you scroll in the DVI.
43567  So it is recommended that you use PDF for files with many images.
43568 \end_layout
43569
43570 \begin_layout Standard
43571 You can export your document to DVI by using the menu 
43572 \family sans
43573 File\SpecialChar menuseparator
43574 Export\SpecialChar menuseparator
43575 DVI
43576 \family default
43577 .
43578  You can view your document as DVI via the 
43579 \family sans
43580 View
43581 \family default
43582  menu.
43583 \end_layout
43584
43585 \begin_layout Section
43586 PostScript
43587 \begin_inset Index idx
43588 status collapsed
43589
43590 \begin_layout Plain Layout
43591 File Formats ! PostScript
43592 \end_layout
43593
43594 \end_inset
43595
43596
43597 \begin_inset Index idx
43598 status collapsed
43599
43600 \begin_layout Plain Layout
43601 PostScript|see
43602 \begin_inset ERT
43603 status collapsed
43604
43605 \begin_layout Plain Layout
43606
43607 {
43608 \end_layout
43609
43610 \end_inset
43611
43612 File Formats
43613 \begin_inset ERT
43614 status collapsed
43615
43616 \begin_layout Plain Layout
43617
43618 }
43619 \end_layout
43620
43621 \end_inset
43622
43623
43624 \end_layout
43625
43626 \end_inset
43627
43628
43629 \end_layout
43630
43631 \begin_layout Standard
43632 This file type has the extension 
43633 \begin_inset Quotes eld
43634 \end_inset
43635
43636
43637 \family typewriter
43638 .ps
43639 \family default
43640
43641 \begin_inset Quotes erd
43642 \end_inset
43643
43644 .
43645  PostScript was developed by the company 
43646 \family typewriter
43647 Adobe
43648 \family default
43649  as a printer language.
43650  The file therefore contains commands that the printer uses to print the
43651  file.
43652  PostScript can be seen as a 
43653 \begin_inset Quotes eld
43654 \end_inset
43655
43656 programming language
43657 \begin_inset Quotes erd
43658 \end_inset
43659
43660 ; you can calculate with it and draw diagrams and images.
43661 \begin_inset Foot
43662 status collapsed
43663
43664 \begin_layout Plain Layout
43665 If you are interested to learn more about this, have a look at the \SpecialChar LaTeX
43666 -package
43667  
43668 \series bold
43669 PSTricks
43670 \series default
43671  
43672 \begin_inset CommandInset citation
43673 LatexCommand cite
43674 key "pstricks"
43675 literal "true"
43676
43677 \end_inset
43678
43679 .
43680 \end_layout
43681
43682 \end_inset
43683
43684  Due to this ability, the files are often bigger than PDFs.
43685 \end_layout
43686
43687 \begin_layout Standard
43688 PostScript can only contain images in the format 
43689 \begin_inset Quotes eld
43690 \end_inset
43691
43692 Encapsulated PostScript
43693 \begin_inset Quotes erd
43694 \end_inset
43695
43696  (EPS, file extension 
43697 \begin_inset Quotes eld
43698 \end_inset
43699
43700
43701 \family typewriter
43702 .eps
43703 \family default
43704
43705 \begin_inset Quotes erd
43706 \end_inset
43707
43708 ).
43709  As \SpecialChar LyX
43710  allows you to use any known image format in your document, it has to
43711  convert images in the background to EPS.
43712  If you have e.g.
43713 \begin_inset space ~
43714 \end_inset
43715
43716 50
43717 \begin_inset space ~
43718 \end_inset
43719
43720 images in your document, \SpecialChar LyX
43721  has to do 50
43722 \begin_inset space ~
43723 \end_inset
43724
43725 conversions whenever you view or export your document.
43726  This will slow down your work flow with \SpecialChar LyX
43727  drastically.
43728  So if you plan to use PostScript, you can insert your images directly as
43729  EPS to avoid this problem.
43730 \end_layout
43731
43732 \begin_layout Standard
43733 You can export your document to PostScript using the menu 
43734 \family sans
43735 File\SpecialChar menuseparator
43736 Export\SpecialChar menuseparator
43737 Postscript
43738 \family default
43739 .
43740  You can view your document as PostScript via the 
43741 \family sans
43742 View
43743 \family default
43744  menu.
43745 \end_layout
43746
43747 \begin_layout Section
43748 PDF
43749 \begin_inset Index idx
43750 status collapsed
43751
43752 \begin_layout Plain Layout
43753 File Formats ! PDF
43754 \end_layout
43755
43756 \end_inset
43757
43758
43759 \begin_inset Index idx
43760 status collapsed
43761
43762 \begin_layout Plain Layout
43763 PDF
43764 \end_layout
43765
43766 \end_inset
43767
43768
43769 \end_layout
43770
43771 \begin_layout Standard
43772 This file type has the extension 
43773 \begin_inset Quotes eld
43774 \end_inset
43775
43776
43777 \family typewriter
43778 .pdf
43779 \family default
43780
43781 \begin_inset Quotes erd
43782 \end_inset
43783
43784 .
43785  The 
43786 \begin_inset Quotes eld
43787 \end_inset
43788
43789 Portable Document Format
43790 \begin_inset Quotes erd
43791 \end_inset
43792
43793  (PDF) was developed by 
43794 \family typewriter
43795 Adobe
43796 \family default
43797  as a derivative of PostScript.
43798  It is more compressed and it uses fewer commands than PostScript.
43799  As the name 
43800 \begin_inset Quotes eld
43801 \end_inset
43802
43803 portable
43804 \begin_inset Quotes erd
43805 \end_inset
43806
43807  implies, it can be processed at any computer system and the printed output
43808  looks exactly the same.
43809 \end_layout
43810
43811 \begin_layout Standard
43812 PDF can contain images in its own PDF format, in the format 
43813 \begin_inset Quotes eld
43814 \end_inset
43815
43816 Joint Photographic Experts Group
43817 \begin_inset Quotes erd
43818 \end_inset
43819
43820  (JPG, file extension 
43821 \begin_inset Quotes eld
43822 \end_inset
43823
43824
43825 \family typewriter
43826 .jpg
43827 \family default
43828
43829 \begin_inset Quotes erd
43830 \end_inset
43831
43832  or 
43833 \begin_inset Quotes eld
43834 \end_inset
43835
43836
43837 \family typewriter
43838 .jpeg
43839 \family default
43840
43841 \begin_inset Quotes erd
43842 \end_inset
43843
43844 ), and in the format 
43845 \begin_inset Quotes eld
43846 \end_inset
43847
43848 Portable Network Graphics
43849 \begin_inset Quotes erd
43850 \end_inset
43851
43852  (PNG, file extension 
43853 \begin_inset Quotes eld
43854 \end_inset
43855
43856
43857 \family typewriter
43858 .png
43859 \family default
43860
43861 \begin_inset Quotes erd
43862 \end_inset
43863
43864 ).
43865  Nevertheless you can use any other image format, because \SpecialChar LyX
43866  converts them
43867  in the background to one of these formats.
43868  But as described in the section about PostScript, the image conversion
43869  will slow down your work flow.
43870  So it is recommended that you use images in one of the three mentioned
43871  formats.
43872 \end_layout
43873
43874 \begin_layout Standard
43875 You can export your document to PDF via the menu 
43876 \family sans
43877 File\SpecialChar menuseparator
43878 Export
43879 \family default
43880  in three different ways:
43881 \end_layout
43882
43883 \begin_layout Description
43884 PDF
43885 \begin_inset space ~
43886 \end_inset
43887
43888 (ps2pdf) This uses the program 
43889 \family typewriter
43890 ps2pdf
43891 \family default
43892  that creates a PDF from a PostScript-version of your file.
43893  The PostScript-version is produced by the program 
43894 \family typewriter
43895 dvips
43896 \family default
43897  which uses a DVI-version as intermediate step.
43898  So this export variant consists of three conversions.
43899 \end_layout
43900
43901 \begin_layout Description
43902 PDF
43903 \begin_inset space ~
43904 \end_inset
43905
43906 (dvipdfm) This uses the program 
43907 \family typewriter
43908 dvipdfm
43909 \family default
43910  that converts your file in the background to DVI and in a second step to
43911  PDF.
43912 \end_layout
43913
43914 \begin_layout Description
43915 PDF
43916 \begin_inset space ~
43917 \end_inset
43918
43919 (pdflatex) This uses the program 
43920 \family typewriter
43921 pdftex
43922 \family default
43923  that converts your file directly to PDF.
43924 \end_layout
43925
43926 \begin_layout Standard
43927 It is recommended that you use 
43928 \family sans
43929 PDF
43930 \begin_inset space ~
43931 \end_inset
43932
43933 (pdflatex)
43934 \family default
43935  because 
43936 \family typewriter
43937 pdftex
43938 \family default
43939  supports all features of actual PDF-versions, is quick and works stable.
43940  The program 
43941 \family typewriter
43942 dvipdfm
43943 \family default
43944  is not under development and therefore a bit outdated.
43945 \end_layout
43946
43947 \begin_layout Standard
43948 You can view your document as PDF via the 
43949 \family sans
43950 View
43951 \family default
43952  menu or by using a toolbar button.
43953 \end_layout
43954
43955 \begin_layout Chapter
43956 List of dvips color names
43957 \begin_inset CommandInset label
43958 LatexCommand label
43959 name "chap:List-of-dvips-colornames"
43960
43961 \end_inset
43962
43963
43964 \end_layout
43965
43966 \begin_layout Standard
43967 \begin_inset Tabular
43968 <lyxtabular version="3" rows="17" columns="4">
43969 <features tabularvalignment="middle">
43970 <column alignment="left" valignment="top" width="0pt">
43971 <column alignment="left" valignment="top" width="0pt">
43972 <column alignment="left" valignment="top" width="0pt">
43973 <column alignment="left" valignment="top" width="0pt">
43974 <row>
43975 <cell alignment="left" valignment="top" usebox="none">
43976 \begin_inset Text
43977
43978 \begin_layout Plain Layout
43979 \begin_inset ERT
43980 status collapsed
43981
43982 \begin_layout Plain Layout
43983
43984
43985 \backslash
43986 fcolorbox{black}{
43987 \end_layout
43988
43989 \end_inset
43990
43991 white
43992 \begin_inset ERT
43993 status collapsed
43994
43995 \begin_layout Plain Layout
43996
43997 }{
43998 \end_layout
43999
44000 \end_inset
44001
44002 Color
44003 \begin_inset ERT
44004 status collapsed
44005
44006 \begin_layout Plain Layout
44007
44008 }
44009 \end_layout
44010
44011 \end_inset
44012
44013  Color name
44014 \end_layout
44015
44016 \end_inset
44017 </cell>
44018 <cell alignment="left" valignment="top" usebox="none">
44019 \begin_inset Text
44020
44021 \begin_layout Plain Layout
44022 \begin_inset ERT
44023 status collapsed
44024
44025 \begin_layout Plain Layout
44026
44027
44028 \backslash
44029 fcolorbox{black}{
44030 \end_layout
44031
44032 \end_inset
44033
44034 white
44035 \begin_inset ERT
44036 status collapsed
44037
44038 \begin_layout Plain Layout
44039
44040 }{
44041 \end_layout
44042
44043 \end_inset
44044
44045 Color
44046 \begin_inset ERT
44047 status collapsed
44048
44049 \begin_layout Plain Layout
44050
44051 }
44052 \end_layout
44053
44054 \end_inset
44055
44056  Color name
44057 \end_layout
44058
44059 \end_inset
44060 </cell>
44061 <cell alignment="left" valignment="top" usebox="none">
44062 \begin_inset Text
44063
44064 \begin_layout Plain Layout
44065 \begin_inset ERT
44066 status collapsed
44067
44068 \begin_layout Plain Layout
44069
44070
44071 \backslash
44072 fcolorbox{black}{
44073 \end_layout
44074
44075 \end_inset
44076
44077 white
44078 \begin_inset ERT
44079 status collapsed
44080
44081 \begin_layout Plain Layout
44082
44083 }{
44084 \end_layout
44085
44086 \end_inset
44087
44088 Color
44089 \begin_inset ERT
44090 status collapsed
44091
44092 \begin_layout Plain Layout
44093
44094 }
44095 \end_layout
44096
44097 \end_inset
44098
44099  Color name
44100 \end_layout
44101
44102 \end_inset
44103 </cell>
44104 <cell alignment="left" valignment="top" usebox="none">
44105 \begin_inset Text
44106
44107 \begin_layout Plain Layout
44108 \begin_inset ERT
44109 status collapsed
44110
44111 \begin_layout Plain Layout
44112
44113
44114 \backslash
44115 fcolorbox{black}{
44116 \end_layout
44117
44118 \end_inset
44119
44120 white
44121 \begin_inset ERT
44122 status collapsed
44123
44124 \begin_layout Plain Layout
44125
44126 }{
44127 \end_layout
44128
44129 \end_inset
44130
44131 Color
44132 \begin_inset ERT
44133 status collapsed
44134
44135 \begin_layout Plain Layout
44136
44137 }
44138 \end_layout
44139
44140 \end_inset
44141
44142  Color name
44143 \end_layout
44144
44145 \end_inset
44146 </cell>
44147 </row>
44148 <row>
44149 <cell alignment="center" valignment="top" usebox="none">
44150 \begin_inset Text
44151
44152 \begin_layout Plain Layout
44153 \begin_inset ERT
44154 status collapsed
44155
44156 \begin_layout Plain Layout
44157
44158
44159 \backslash
44160 fcolorbox{black}{
44161 \end_layout
44162
44163 \end_inset
44164
44165 Apricot
44166 \begin_inset ERT
44167 status collapsed
44168
44169 \begin_layout Plain Layout
44170
44171 }{
44172 \end_layout
44173
44174 \end_inset
44175
44176
44177 \begin_inset Phantom Phantom
44178 status open
44179
44180 \begin_layout Plain Layout
44181 W
44182 \end_layout
44183
44184 \end_inset
44185
44186
44187 \begin_inset ERT
44188 status collapsed
44189
44190 \begin_layout Plain Layout
44191
44192 }
44193 \end_layout
44194
44195 \end_inset
44196
44197  Apricot
44198 \end_layout
44199
44200 \end_inset
44201 </cell>
44202 <cell alignment="center" valignment="top" usebox="none">
44203 \begin_inset Text
44204
44205 \begin_layout Plain Layout
44206 \begin_inset ERT
44207 status collapsed
44208
44209 \begin_layout Plain Layout
44210
44211
44212 \backslash
44213 fcolorbox{black}{
44214 \end_layout
44215
44216 \end_inset
44217
44218 Aquamarine
44219 \begin_inset ERT
44220 status collapsed
44221
44222 \begin_layout Plain Layout
44223
44224 }{
44225 \end_layout
44226
44227 \end_inset
44228
44229
44230 \begin_inset Phantom Phantom
44231 status open
44232
44233 \begin_layout Plain Layout
44234 W
44235 \end_layout
44236
44237 \end_inset
44238
44239
44240 \begin_inset ERT
44241 status collapsed
44242
44243 \begin_layout Plain Layout
44244
44245 }
44246 \end_layout
44247
44248 \end_inset
44249
44250  Aquamarine
44251 \end_layout
44252
44253 \end_inset
44254 </cell>
44255 <cell alignment="center" valignment="top" usebox="none">
44256 \begin_inset Text
44257
44258 \begin_layout Plain Layout
44259 \begin_inset ERT
44260 status collapsed
44261
44262 \begin_layout Plain Layout
44263
44264
44265 \backslash
44266 fcolorbox{black}{
44267 \end_layout
44268
44269 \end_inset
44270
44271 Bittersweet
44272 \begin_inset ERT
44273 status collapsed
44274
44275 \begin_layout Plain Layout
44276
44277 }{
44278 \end_layout
44279
44280 \end_inset
44281
44282
44283 \begin_inset Phantom Phantom
44284 status open
44285
44286 \begin_layout Plain Layout
44287 W
44288 \end_layout
44289
44290 \end_inset
44291
44292
44293 \begin_inset ERT
44294 status collapsed
44295
44296 \begin_layout Plain Layout
44297
44298 }
44299 \end_layout
44300
44301 \end_inset
44302
44303  Bittersweet
44304 \end_layout
44305
44306 \end_inset
44307 </cell>
44308 <cell alignment="center" valignment="top" usebox="none">
44309 \begin_inset Text
44310
44311 \begin_layout Plain Layout
44312 \begin_inset ERT
44313 status collapsed
44314
44315 \begin_layout Plain Layout
44316
44317
44318 \backslash
44319 fcolorbox{black}{
44320 \end_layout
44321
44322 \end_inset
44323
44324 BlueGreen
44325 \begin_inset ERT
44326 status collapsed
44327
44328 \begin_layout Plain Layout
44329
44330 }{
44331 \end_layout
44332
44333 \end_inset
44334
44335
44336 \begin_inset Phantom Phantom
44337 status open
44338
44339 \begin_layout Plain Layout
44340 W
44341 \end_layout
44342
44343 \end_inset
44344
44345
44346 \begin_inset ERT
44347 status collapsed
44348
44349 \begin_layout Plain Layout
44350
44351 }
44352 \end_layout
44353
44354 \end_inset
44355
44356  BlueGreen
44357 \end_layout
44358
44359 \end_inset
44360 </cell>
44361 </row>
44362 <row>
44363 <cell alignment="left" valignment="top" usebox="none">
44364 \begin_inset Text
44365
44366 \begin_layout Plain Layout
44367 \begin_inset ERT
44368 status collapsed
44369
44370 \begin_layout Plain Layout
44371
44372
44373 \backslash
44374 fcolorbox{black}{
44375 \end_layout
44376
44377 \end_inset
44378
44379 BlueViolet
44380 \begin_inset ERT
44381 status collapsed
44382
44383 \begin_layout Plain Layout
44384
44385 }{
44386 \end_layout
44387
44388 \end_inset
44389
44390
44391 \begin_inset Phantom Phantom
44392 status open
44393
44394 \begin_layout Plain Layout
44395 W
44396 \end_layout
44397
44398 \end_inset
44399
44400
44401 \begin_inset ERT
44402 status collapsed
44403
44404 \begin_layout Plain Layout
44405
44406 }
44407 \end_layout
44408
44409 \end_inset
44410
44411  BlueViolet
44412 \end_layout
44413
44414 \end_inset
44415 </cell>
44416 <cell alignment="left" valignment="top" usebox="none">
44417 \begin_inset Text
44418
44419 \begin_layout Plain Layout
44420 \begin_inset ERT
44421 status collapsed
44422
44423 \begin_layout Plain Layout
44424
44425
44426 \backslash
44427 fcolorbox{black}{
44428 \end_layout
44429
44430 \end_inset
44431
44432 BrickRed
44433 \begin_inset ERT
44434 status collapsed
44435
44436 \begin_layout Plain Layout
44437
44438 }{
44439 \end_layout
44440
44441 \end_inset
44442
44443
44444 \begin_inset Phantom Phantom
44445 status open
44446
44447 \begin_layout Plain Layout
44448 W
44449 \end_layout
44450
44451 \end_inset
44452
44453
44454 \begin_inset ERT
44455 status collapsed
44456
44457 \begin_layout Plain Layout
44458
44459 }
44460 \end_layout
44461
44462 \end_inset
44463
44464  BrickRed
44465 \end_layout
44466
44467 \end_inset
44468 </cell>
44469 <cell alignment="left" valignment="top" usebox="none">
44470 \begin_inset Text
44471
44472 \begin_layout Plain Layout
44473 \begin_inset ERT
44474 status collapsed
44475
44476 \begin_layout Plain Layout
44477
44478
44479 \backslash
44480 fcolorbox{black}{
44481 \end_layout
44482
44483 \end_inset
44484
44485 Brown
44486 \begin_inset ERT
44487 status collapsed
44488
44489 \begin_layout Plain Layout
44490
44491 }{
44492 \end_layout
44493
44494 \end_inset
44495
44496
44497 \begin_inset Phantom Phantom
44498 status open
44499
44500 \begin_layout Plain Layout
44501 W
44502 \end_layout
44503
44504 \end_inset
44505
44506
44507 \begin_inset ERT
44508 status collapsed
44509
44510 \begin_layout Plain Layout
44511
44512 }
44513 \end_layout
44514
44515 \end_inset
44516
44517  Brown
44518 \end_layout
44519
44520 \end_inset
44521 </cell>
44522 <cell alignment="left" valignment="top" usebox="none">
44523 \begin_inset Text
44524
44525 \begin_layout Plain Layout
44526 \begin_inset ERT
44527 status collapsed
44528
44529 \begin_layout Plain Layout
44530
44531
44532 \backslash
44533 fcolorbox{black}{
44534 \end_layout
44535
44536 \end_inset
44537
44538 BurntOrange
44539 \begin_inset ERT
44540 status collapsed
44541
44542 \begin_layout Plain Layout
44543
44544 }{
44545 \end_layout
44546
44547 \end_inset
44548
44549
44550 \begin_inset Phantom Phantom
44551 status open
44552
44553 \begin_layout Plain Layout
44554 W
44555 \end_layout
44556
44557 \end_inset
44558
44559
44560 \begin_inset ERT
44561 status collapsed
44562
44563 \begin_layout Plain Layout
44564
44565 }
44566 \end_layout
44567
44568 \end_inset
44569
44570  BurntOrange
44571 \end_layout
44572
44573 \end_inset
44574 </cell>
44575 </row>
44576 <row>
44577 <cell alignment="left" valignment="top" usebox="none">
44578 \begin_inset Text
44579
44580 \begin_layout Plain Layout
44581 \begin_inset ERT
44582 status collapsed
44583
44584 \begin_layout Plain Layout
44585
44586
44587 \backslash
44588 fcolorbox{black}{
44589 \end_layout
44590
44591 \end_inset
44592
44593 CadetBlue
44594 \begin_inset ERT
44595 status collapsed
44596
44597 \begin_layout Plain Layout
44598
44599 }{
44600 \end_layout
44601
44602 \end_inset
44603
44604
44605 \begin_inset Phantom Phantom
44606 status open
44607
44608 \begin_layout Plain Layout
44609 W
44610 \end_layout
44611
44612 \end_inset
44613
44614
44615 \begin_inset ERT
44616 status collapsed
44617
44618 \begin_layout Plain Layout
44619
44620 }
44621 \end_layout
44622
44623 \end_inset
44624
44625  CadetBlue
44626 \end_layout
44627
44628 \end_inset
44629 </cell>
44630 <cell alignment="left" valignment="top" usebox="none">
44631 \begin_inset Text
44632
44633 \begin_layout Plain Layout
44634 \begin_inset ERT
44635 status collapsed
44636
44637 \begin_layout Plain Layout
44638
44639
44640 \backslash
44641 fcolorbox{black}{
44642 \end_layout
44643
44644 \end_inset
44645
44646 CarnationPink
44647 \begin_inset ERT
44648 status collapsed
44649
44650 \begin_layout Plain Layout
44651
44652 }{
44653 \end_layout
44654
44655 \end_inset
44656
44657
44658 \begin_inset Phantom Phantom
44659 status open
44660
44661 \begin_layout Plain Layout
44662 W
44663 \end_layout
44664
44665 \end_inset
44666
44667
44668 \begin_inset ERT
44669 status collapsed
44670
44671 \begin_layout Plain Layout
44672
44673 }
44674 \end_layout
44675
44676 \end_inset
44677
44678  CarnationPink
44679 \end_layout
44680
44681 \end_inset
44682 </cell>
44683 <cell alignment="left" valignment="top" usebox="none">
44684 \begin_inset Text
44685
44686 \begin_layout Plain Layout
44687 \begin_inset ERT
44688 status collapsed
44689
44690 \begin_layout Plain Layout
44691
44692
44693 \backslash
44694 fcolorbox{black}{
44695 \end_layout
44696
44697 \end_inset
44698
44699 Cerulean
44700 \begin_inset ERT
44701 status collapsed
44702
44703 \begin_layout Plain Layout
44704
44705 }{
44706 \end_layout
44707
44708 \end_inset
44709
44710
44711 \begin_inset Phantom Phantom
44712 status open
44713
44714 \begin_layout Plain Layout
44715 W
44716 \end_layout
44717
44718 \end_inset
44719
44720
44721 \begin_inset ERT
44722 status collapsed
44723
44724 \begin_layout Plain Layout
44725
44726 }
44727 \end_layout
44728
44729 \end_inset
44730
44731  Cerulean
44732 \end_layout
44733
44734 \end_inset
44735 </cell>
44736 <cell alignment="left" valignment="top" usebox="none">
44737 \begin_inset Text
44738
44739 \begin_layout Plain Layout
44740 \begin_inset ERT
44741 status collapsed
44742
44743 \begin_layout Plain Layout
44744
44745
44746 \backslash
44747 fcolorbox{black}{
44748 \end_layout
44749
44750 \end_inset
44751
44752 CornflowerBlue
44753 \begin_inset ERT
44754 status collapsed
44755
44756 \begin_layout Plain Layout
44757
44758 }{
44759 \end_layout
44760
44761 \end_inset
44762
44763
44764 \begin_inset Phantom Phantom
44765 status open
44766
44767 \begin_layout Plain Layout
44768 W
44769 \end_layout
44770
44771 \end_inset
44772
44773
44774 \begin_inset ERT
44775 status collapsed
44776
44777 \begin_layout Plain Layout
44778
44779 }
44780 \end_layout
44781
44782 \end_inset
44783
44784  CornflowerBlue
44785 \end_layout
44786
44787 \end_inset
44788 </cell>
44789 </row>
44790 <row>
44791 <cell alignment="left" valignment="top" usebox="none">
44792 \begin_inset Text
44793
44794 \begin_layout Plain Layout
44795 \begin_inset ERT
44796 status collapsed
44797
44798 \begin_layout Plain Layout
44799
44800
44801 \backslash
44802 fcolorbox{black}{
44803 \end_layout
44804
44805 \end_inset
44806
44807 Dandelion
44808 \begin_inset ERT
44809 status collapsed
44810
44811 \begin_layout Plain Layout
44812
44813 }{
44814 \end_layout
44815
44816 \end_inset
44817
44818
44819 \begin_inset Phantom Phantom
44820 status open
44821
44822 \begin_layout Plain Layout
44823 W
44824 \end_layout
44825
44826 \end_inset
44827
44828
44829 \begin_inset ERT
44830 status collapsed
44831
44832 \begin_layout Plain Layout
44833
44834 }
44835 \end_layout
44836
44837 \end_inset
44838
44839  Dandelion
44840 \end_layout
44841
44842 \end_inset
44843 </cell>
44844 <cell alignment="left" valignment="top" usebox="none">
44845 \begin_inset Text
44846
44847 \begin_layout Plain Layout
44848 \begin_inset ERT
44849 status collapsed
44850
44851 \begin_layout Plain Layout
44852
44853
44854 \backslash
44855 fcolorbox{black}{
44856 \end_layout
44857
44858 \end_inset
44859
44860 DarkOrchid
44861 \begin_inset ERT
44862 status collapsed
44863
44864 \begin_layout Plain Layout
44865
44866 }{
44867 \end_layout
44868
44869 \end_inset
44870
44871
44872 \begin_inset Phantom Phantom
44873 status open
44874
44875 \begin_layout Plain Layout
44876 W
44877 \end_layout
44878
44879 \end_inset
44880
44881
44882 \begin_inset ERT
44883 status collapsed
44884
44885 \begin_layout Plain Layout
44886
44887 }
44888 \end_layout
44889
44890 \end_inset
44891
44892  DarkOrchid
44893 \end_layout
44894
44895 \end_inset
44896 </cell>
44897 <cell alignment="left" valignment="top" usebox="none">
44898 \begin_inset Text
44899
44900 \begin_layout Plain Layout
44901 \begin_inset ERT
44902 status collapsed
44903
44904 \begin_layout Plain Layout
44905
44906
44907 \backslash
44908 fcolorbox{black}{
44909 \end_layout
44910
44911 \end_inset
44912
44913 Emerald
44914 \begin_inset ERT
44915 status collapsed
44916
44917 \begin_layout Plain Layout
44918
44919 }{
44920 \end_layout
44921
44922 \end_inset
44923
44924
44925 \begin_inset Phantom Phantom
44926 status open
44927
44928 \begin_layout Plain Layout
44929 W
44930 \end_layout
44931
44932 \end_inset
44933
44934
44935 \begin_inset ERT
44936 status collapsed
44937
44938 \begin_layout Plain Layout
44939
44940 }
44941 \end_layout
44942
44943 \end_inset
44944
44945  Emerald
44946 \end_layout
44947
44948 \end_inset
44949 </cell>
44950 <cell alignment="left" valignment="top" usebox="none">
44951 \begin_inset Text
44952
44953 \begin_layout Plain Layout
44954 \begin_inset ERT
44955 status collapsed
44956
44957 \begin_layout Plain Layout
44958
44959
44960 \backslash
44961 fcolorbox{black}{
44962 \end_layout
44963
44964 \end_inset
44965
44966 ForestGreen
44967 \begin_inset ERT
44968 status collapsed
44969
44970 \begin_layout Plain Layout
44971
44972 }{
44973 \end_layout
44974
44975 \end_inset
44976
44977
44978 \begin_inset Phantom Phantom
44979 status open
44980
44981 \begin_layout Plain Layout
44982 W
44983 \end_layout
44984
44985 \end_inset
44986
44987
44988 \begin_inset ERT
44989 status collapsed
44990
44991 \begin_layout Plain Layout
44992
44993 }
44994 \end_layout
44995
44996 \end_inset
44997
44998  ForestGreen
44999 \end_layout
45000
45001 \end_inset
45002 </cell>
45003 </row>
45004 <row>
45005 <cell alignment="left" valignment="top" usebox="none">
45006 \begin_inset Text
45007
45008 \begin_layout Plain Layout
45009 \begin_inset ERT
45010 status collapsed
45011
45012 \begin_layout Plain Layout
45013
45014
45015 \backslash
45016 fcolorbox{black}{
45017 \end_layout
45018
45019 \end_inset
45020
45021 Fuchsia
45022 \begin_inset ERT
45023 status collapsed
45024
45025 \begin_layout Plain Layout
45026
45027 }{
45028 \end_layout
45029
45030 \end_inset
45031
45032
45033 \begin_inset Phantom Phantom
45034 status open
45035
45036 \begin_layout Plain Layout
45037 W
45038 \end_layout
45039
45040 \end_inset
45041
45042
45043 \begin_inset ERT
45044 status collapsed
45045
45046 \begin_layout Plain Layout
45047
45048 }
45049 \end_layout
45050
45051 \end_inset
45052
45053  Fuchsia
45054 \end_layout
45055
45056 \end_inset
45057 </cell>
45058 <cell alignment="left" valignment="top" usebox="none">
45059 \begin_inset Text
45060
45061 \begin_layout Plain Layout
45062 \begin_inset ERT
45063 status collapsed
45064
45065 \begin_layout Plain Layout
45066
45067
45068 \backslash
45069 fcolorbox{black}{
45070 \end_layout
45071
45072 \end_inset
45073
45074 Goldenrod
45075 \begin_inset ERT
45076 status collapsed
45077
45078 \begin_layout Plain Layout
45079
45080 }{
45081 \end_layout
45082
45083 \end_inset
45084
45085
45086 \begin_inset Phantom Phantom
45087 status open
45088
45089 \begin_layout Plain Layout
45090 W
45091 \end_layout
45092
45093 \end_inset
45094
45095
45096 \begin_inset ERT
45097 status collapsed
45098
45099 \begin_layout Plain Layout
45100
45101 }
45102 \end_layout
45103
45104 \end_inset
45105
45106  Goldenrod
45107 \end_layout
45108
45109 \end_inset
45110 </cell>
45111 <cell alignment="left" valignment="top" usebox="none">
45112 \begin_inset Text
45113
45114 \begin_layout Plain Layout
45115 \begin_inset ERT
45116 status collapsed
45117
45118 \begin_layout Plain Layout
45119
45120
45121 \backslash
45122 fcolorbox{black}{
45123 \end_layout
45124
45125 \end_inset
45126
45127 Gray
45128 \begin_inset ERT
45129 status collapsed
45130
45131 \begin_layout Plain Layout
45132
45133 }{
45134 \end_layout
45135
45136 \end_inset
45137
45138
45139 \begin_inset Phantom Phantom
45140 status open
45141
45142 \begin_layout Plain Layout
45143 W
45144 \end_layout
45145
45146 \end_inset
45147
45148
45149 \begin_inset ERT
45150 status collapsed
45151
45152 \begin_layout Plain Layout
45153
45154 }
45155 \end_layout
45156
45157 \end_inset
45158
45159  Gray
45160 \end_layout
45161
45162 \end_inset
45163 </cell>
45164 <cell alignment="left" valignment="top" usebox="none">
45165 \begin_inset Text
45166
45167 \begin_layout Plain Layout
45168 \begin_inset ERT
45169 status collapsed
45170
45171 \begin_layout Plain Layout
45172
45173
45174 \backslash
45175 fcolorbox{black}{
45176 \end_layout
45177
45178 \end_inset
45179
45180 GreenYellow
45181 \begin_inset ERT
45182 status collapsed
45183
45184 \begin_layout Plain Layout
45185
45186 }{
45187 \end_layout
45188
45189 \end_inset
45190
45191
45192 \begin_inset Phantom Phantom
45193 status open
45194
45195 \begin_layout Plain Layout
45196 W
45197 \end_layout
45198
45199 \end_inset
45200
45201
45202 \begin_inset ERT
45203 status collapsed
45204
45205 \begin_layout Plain Layout
45206
45207 }
45208 \end_layout
45209
45210 \end_inset
45211
45212  GreenYellow
45213 \end_layout
45214
45215 \end_inset
45216 </cell>
45217 </row>
45218 <row>
45219 <cell alignment="center" valignment="top" usebox="none">
45220 \begin_inset Text
45221
45222 \begin_layout Plain Layout
45223 \begin_inset ERT
45224 status collapsed
45225
45226 \begin_layout Plain Layout
45227
45228
45229 \backslash
45230 fcolorbox{black}{
45231 \end_layout
45232
45233 \end_inset
45234
45235 JungleGreen
45236 \begin_inset ERT
45237 status collapsed
45238
45239 \begin_layout Plain Layout
45240
45241 }{
45242 \end_layout
45243
45244 \end_inset
45245
45246
45247 \begin_inset Phantom Phantom
45248 status open
45249
45250 \begin_layout Plain Layout
45251 W
45252 \end_layout
45253
45254 \end_inset
45255
45256
45257 \begin_inset ERT
45258 status collapsed
45259
45260 \begin_layout Plain Layout
45261
45262 }
45263 \end_layout
45264
45265 \end_inset
45266
45267  JungleGreen
45268 \end_layout
45269
45270 \end_inset
45271 </cell>
45272 <cell alignment="center" valignment="top" usebox="none">
45273 \begin_inset Text
45274
45275 \begin_layout Plain Layout
45276 \begin_inset ERT
45277 status collapsed
45278
45279 \begin_layout Plain Layout
45280
45281
45282 \backslash
45283 fcolorbox{black}{
45284 \end_layout
45285
45286 \end_inset
45287
45288 Lavender
45289 \begin_inset ERT
45290 status collapsed
45291
45292 \begin_layout Plain Layout
45293
45294 }{
45295 \end_layout
45296
45297 \end_inset
45298
45299
45300 \begin_inset Phantom Phantom
45301 status open
45302
45303 \begin_layout Plain Layout
45304 W
45305 \end_layout
45306
45307 \end_inset
45308
45309
45310 \begin_inset ERT
45311 status collapsed
45312
45313 \begin_layout Plain Layout
45314
45315 }
45316 \end_layout
45317
45318 \end_inset
45319
45320  Lavender
45321 \end_layout
45322
45323 \end_inset
45324 </cell>
45325 <cell alignment="center" valignment="top" usebox="none">
45326 \begin_inset Text
45327
45328 \begin_layout Plain Layout
45329 \begin_inset ERT
45330 status collapsed
45331
45332 \begin_layout Plain Layout
45333
45334
45335 \backslash
45336 fcolorbox{black}{
45337 \end_layout
45338
45339 \end_inset
45340
45341 LimeGreen
45342 \begin_inset ERT
45343 status collapsed
45344
45345 \begin_layout Plain Layout
45346
45347 }{
45348 \end_layout
45349
45350 \end_inset
45351
45352
45353 \begin_inset Phantom Phantom
45354 status open
45355
45356 \begin_layout Plain Layout
45357 W
45358 \end_layout
45359
45360 \end_inset
45361
45362
45363 \begin_inset ERT
45364 status collapsed
45365
45366 \begin_layout Plain Layout
45367
45368 }
45369 \end_layout
45370
45371 \end_inset
45372
45373  LimeGreen
45374 \end_layout
45375
45376 \end_inset
45377 </cell>
45378 <cell alignment="center" valignment="top" usebox="none">
45379 \begin_inset Text
45380
45381 \begin_layout Plain Layout
45382 \begin_inset ERT
45383 status collapsed
45384
45385 \begin_layout Plain Layout
45386
45387
45388 \backslash
45389 fcolorbox{black}{
45390 \end_layout
45391
45392 \end_inset
45393
45394 Mahogany
45395 \begin_inset ERT
45396 status collapsed
45397
45398 \begin_layout Plain Layout
45399
45400 }{
45401 \end_layout
45402
45403 \end_inset
45404
45405
45406 \begin_inset Phantom Phantom
45407 status open
45408
45409 \begin_layout Plain Layout
45410 W
45411 \end_layout
45412
45413 \end_inset
45414
45415
45416 \begin_inset ERT
45417 status collapsed
45418
45419 \begin_layout Plain Layout
45420
45421 }
45422 \end_layout
45423
45424 \end_inset
45425
45426  Mahogany
45427 \end_layout
45428
45429 \end_inset
45430 </cell>
45431 </row>
45432 <row>
45433 <cell alignment="left" valignment="top" usebox="none">
45434 \begin_inset Text
45435
45436 \begin_layout Plain Layout
45437 \begin_inset ERT
45438 status collapsed
45439
45440 \begin_layout Plain Layout
45441
45442
45443 \backslash
45444 fcolorbox{black}{
45445 \end_layout
45446
45447 \end_inset
45448
45449 Mahogany
45450 \begin_inset ERT
45451 status collapsed
45452
45453 \begin_layout Plain Layout
45454
45455 }{
45456 \end_layout
45457
45458 \end_inset
45459
45460
45461 \begin_inset Phantom Phantom
45462 status open
45463
45464 \begin_layout Plain Layout
45465 W
45466 \end_layout
45467
45468 \end_inset
45469
45470
45471 \begin_inset ERT
45472 status collapsed
45473
45474 \begin_layout Plain Layout
45475
45476 }
45477 \end_layout
45478
45479 \end_inset
45480
45481  Mahogany
45482 \end_layout
45483
45484 \end_inset
45485 </cell>
45486 <cell alignment="left" valignment="top" usebox="none">
45487 \begin_inset Text
45488
45489 \begin_layout Plain Layout
45490 \begin_inset ERT
45491 status collapsed
45492
45493 \begin_layout Plain Layout
45494
45495
45496 \backslash
45497 fcolorbox{black}{
45498 \end_layout
45499
45500 \end_inset
45501
45502 Maroon
45503 \begin_inset ERT
45504 status collapsed
45505
45506 \begin_layout Plain Layout
45507
45508 }{
45509 \end_layout
45510
45511 \end_inset
45512
45513
45514 \begin_inset Phantom Phantom
45515 status open
45516
45517 \begin_layout Plain Layout
45518 W
45519 \end_layout
45520
45521 \end_inset
45522
45523
45524 \begin_inset ERT
45525 status collapsed
45526
45527 \begin_layout Plain Layout
45528
45529 }
45530 \end_layout
45531
45532 \end_inset
45533
45534  Maroon
45535 \end_layout
45536
45537 \end_inset
45538 </cell>
45539 <cell alignment="left" valignment="top" usebox="none">
45540 \begin_inset Text
45541
45542 \begin_layout Plain Layout
45543 \begin_inset ERT
45544 status collapsed
45545
45546 \begin_layout Plain Layout
45547
45548
45549 \backslash
45550 fcolorbox{black}{
45551 \end_layout
45552
45553 \end_inset
45554
45555 Melon
45556 \begin_inset ERT
45557 status collapsed
45558
45559 \begin_layout Plain Layout
45560
45561 }{
45562 \end_layout
45563
45564 \end_inset
45565
45566
45567 \begin_inset Phantom Phantom
45568 status open
45569
45570 \begin_layout Plain Layout
45571 W
45572 \end_layout
45573
45574 \end_inset
45575
45576
45577 \begin_inset ERT
45578 status collapsed
45579
45580 \begin_layout Plain Layout
45581
45582 }
45583 \end_layout
45584
45585 \end_inset
45586
45587  Melon
45588 \end_layout
45589
45590 \end_inset
45591 </cell>
45592 <cell alignment="left" valignment="top" usebox="none">
45593 \begin_inset Text
45594
45595 \begin_layout Plain Layout
45596 \begin_inset ERT
45597 status collapsed
45598
45599 \begin_layout Plain Layout
45600
45601
45602 \backslash
45603 fcolorbox{black}{
45604 \end_layout
45605
45606 \end_inset
45607
45608 MidnightBlue
45609 \begin_inset ERT
45610 status collapsed
45611
45612 \begin_layout Plain Layout
45613
45614 }{
45615 \end_layout
45616
45617 \end_inset
45618
45619
45620 \begin_inset Phantom Phantom
45621 status open
45622
45623 \begin_layout Plain Layout
45624 W
45625 \end_layout
45626
45627 \end_inset
45628
45629
45630 \begin_inset ERT
45631 status collapsed
45632
45633 \begin_layout Plain Layout
45634
45635 }
45636 \end_layout
45637
45638 \end_inset
45639
45640  MidnightBlue
45641 \end_layout
45642
45643 \end_inset
45644 </cell>
45645 </row>
45646 <row>
45647 <cell alignment="left" valignment="top" usebox="none">
45648 \begin_inset Text
45649
45650 \begin_layout Plain Layout
45651 \begin_inset ERT
45652 status collapsed
45653
45654 \begin_layout Plain Layout
45655
45656
45657 \backslash
45658 fcolorbox{black}{
45659 \end_layout
45660
45661 \end_inset
45662
45663 Mulberry
45664 \begin_inset ERT
45665 status collapsed
45666
45667 \begin_layout Plain Layout
45668
45669 }{
45670 \end_layout
45671
45672 \end_inset
45673
45674
45675 \begin_inset Phantom Phantom
45676 status open
45677
45678 \begin_layout Plain Layout
45679 W
45680 \end_layout
45681
45682 \end_inset
45683
45684
45685 \begin_inset ERT
45686 status collapsed
45687
45688 \begin_layout Plain Layout
45689
45690 }
45691 \end_layout
45692
45693 \end_inset
45694
45695  Mulberry
45696 \end_layout
45697
45698 \end_inset
45699 </cell>
45700 <cell alignment="left" valignment="top" usebox="none">
45701 \begin_inset Text
45702
45703 \begin_layout Plain Layout
45704 \begin_inset ERT
45705 status collapsed
45706
45707 \begin_layout Plain Layout
45708
45709
45710 \backslash
45711 fcolorbox{black}{
45712 \end_layout
45713
45714 \end_inset
45715
45716 NavyBlue
45717 \begin_inset ERT
45718 status collapsed
45719
45720 \begin_layout Plain Layout
45721
45722 }{
45723 \end_layout
45724
45725 \end_inset
45726
45727
45728 \begin_inset Phantom Phantom
45729 status open
45730
45731 \begin_layout Plain Layout
45732 W
45733 \end_layout
45734
45735 \end_inset
45736
45737
45738 \begin_inset ERT
45739 status collapsed
45740
45741 \begin_layout Plain Layout
45742
45743 }
45744 \end_layout
45745
45746 \end_inset
45747
45748  NavyBlue
45749 \end_layout
45750
45751 \end_inset
45752 </cell>
45753 <cell alignment="left" valignment="top" usebox="none">
45754 \begin_inset Text
45755
45756 \begin_layout Plain Layout
45757 \begin_inset ERT
45758 status collapsed
45759
45760 \begin_layout Plain Layout
45761
45762
45763 \backslash
45764 fcolorbox{black}{
45765 \end_layout
45766
45767 \end_inset
45768
45769 OliveGreen
45770 \begin_inset ERT
45771 status collapsed
45772
45773 \begin_layout Plain Layout
45774
45775 }{
45776 \end_layout
45777
45778 \end_inset
45779
45780
45781 \begin_inset Phantom Phantom
45782 status open
45783
45784 \begin_layout Plain Layout
45785 W
45786 \end_layout
45787
45788 \end_inset
45789
45790
45791 \begin_inset ERT
45792 status collapsed
45793
45794 \begin_layout Plain Layout
45795
45796 }
45797 \end_layout
45798
45799 \end_inset
45800
45801  OliveGreen
45802 \end_layout
45803
45804 \end_inset
45805 </cell>
45806 <cell alignment="left" valignment="top" usebox="none">
45807 \begin_inset Text
45808
45809 \begin_layout Plain Layout
45810 \begin_inset ERT
45811 status collapsed
45812
45813 \begin_layout Plain Layout
45814
45815
45816 \backslash
45817 fcolorbox{black}{
45818 \end_layout
45819
45820 \end_inset
45821
45822 Orange
45823 \begin_inset ERT
45824 status collapsed
45825
45826 \begin_layout Plain Layout
45827
45828 }{
45829 \end_layout
45830
45831 \end_inset
45832
45833
45834 \begin_inset Phantom Phantom
45835 status open
45836
45837 \begin_layout Plain Layout
45838 W
45839 \end_layout
45840
45841 \end_inset
45842
45843
45844 \begin_inset ERT
45845 status collapsed
45846
45847 \begin_layout Plain Layout
45848
45849 }
45850 \end_layout
45851
45852 \end_inset
45853
45854  Orange
45855 \end_layout
45856
45857 \end_inset
45858 </cell>
45859 </row>
45860 <row>
45861 <cell alignment="left" valignment="top" usebox="none">
45862 \begin_inset Text
45863
45864 \begin_layout Plain Layout
45865 \begin_inset ERT
45866 status collapsed
45867
45868 \begin_layout Plain Layout
45869
45870
45871 \backslash
45872 fcolorbox{black}{
45873 \end_layout
45874
45875 \end_inset
45876
45877 OrangeRed
45878 \begin_inset ERT
45879 status collapsed
45880
45881 \begin_layout Plain Layout
45882
45883 }{
45884 \end_layout
45885
45886 \end_inset
45887
45888
45889 \begin_inset Phantom Phantom
45890 status open
45891
45892 \begin_layout Plain Layout
45893 W
45894 \end_layout
45895
45896 \end_inset
45897
45898
45899 \begin_inset ERT
45900 status collapsed
45901
45902 \begin_layout Plain Layout
45903
45904 }
45905 \end_layout
45906
45907 \end_inset
45908
45909  OrangeRed
45910 \end_layout
45911
45912 \end_inset
45913 </cell>
45914 <cell alignment="left" valignment="top" usebox="none">
45915 \begin_inset Text
45916
45917 \begin_layout Plain Layout
45918 \begin_inset ERT
45919 status collapsed
45920
45921 \begin_layout Plain Layout
45922
45923
45924 \backslash
45925 fcolorbox{black}{
45926 \end_layout
45927
45928 \end_inset
45929
45930 Orchid
45931 \begin_inset ERT
45932 status collapsed
45933
45934 \begin_layout Plain Layout
45935
45936 }{
45937 \end_layout
45938
45939 \end_inset
45940
45941
45942 \begin_inset Phantom Phantom
45943 status open
45944
45945 \begin_layout Plain Layout
45946 W
45947 \end_layout
45948
45949 \end_inset
45950
45951
45952 \begin_inset ERT
45953 status collapsed
45954
45955 \begin_layout Plain Layout
45956
45957 }
45958 \end_layout
45959
45960 \end_inset
45961
45962  Orchid
45963 \end_layout
45964
45965 \end_inset
45966 </cell>
45967 <cell alignment="left" valignment="top" usebox="none">
45968 \begin_inset Text
45969
45970 \begin_layout Plain Layout
45971 \begin_inset ERT
45972 status collapsed
45973
45974 \begin_layout Plain Layout
45975
45976
45977 \backslash
45978 fcolorbox{black}{
45979 \end_layout
45980
45981 \end_inset
45982
45983 Peach
45984 \begin_inset ERT
45985 status collapsed
45986
45987 \begin_layout Plain Layout
45988
45989 }{
45990 \end_layout
45991
45992 \end_inset
45993
45994
45995 \begin_inset Phantom Phantom
45996 status open
45997
45998 \begin_layout Plain Layout
45999 W
46000 \end_layout
46001
46002 \end_inset
46003
46004
46005 \begin_inset ERT
46006 status collapsed
46007
46008 \begin_layout Plain Layout
46009
46010 }
46011 \end_layout
46012
46013 \end_inset
46014
46015  Peach
46016 \end_layout
46017
46018 \end_inset
46019 </cell>
46020 <cell alignment="left" valignment="top" usebox="none">
46021 \begin_inset Text
46022
46023 \begin_layout Plain Layout
46024 \begin_inset ERT
46025 status collapsed
46026
46027 \begin_layout Plain Layout
46028
46029
46030 \backslash
46031 fcolorbox{black}{
46032 \end_layout
46033
46034 \end_inset
46035
46036 Periwinkle
46037 \begin_inset ERT
46038 status collapsed
46039
46040 \begin_layout Plain Layout
46041
46042 }{
46043 \end_layout
46044
46045 \end_inset
46046
46047
46048 \begin_inset Phantom Phantom
46049 status open
46050
46051 \begin_layout Plain Layout
46052 W
46053 \end_layout
46054
46055 \end_inset
46056
46057
46058 \begin_inset ERT
46059 status collapsed
46060
46061 \begin_layout Plain Layout
46062
46063 }
46064 \end_layout
46065
46066 \end_inset
46067
46068  Periwinkle
46069 \end_layout
46070
46071 \end_inset
46072 </cell>
46073 </row>
46074 <row>
46075 <cell alignment="left" valignment="top" usebox="none">
46076 \begin_inset Text
46077
46078 \begin_layout Plain Layout
46079 \begin_inset ERT
46080 status collapsed
46081
46082 \begin_layout Plain Layout
46083
46084
46085 \backslash
46086 fcolorbox{black}{
46087 \end_layout
46088
46089 \end_inset
46090
46091 PineGreen
46092 \begin_inset ERT
46093 status collapsed
46094
46095 \begin_layout Plain Layout
46096
46097 }{
46098 \end_layout
46099
46100 \end_inset
46101
46102
46103 \begin_inset Phantom Phantom
46104 status open
46105
46106 \begin_layout Plain Layout
46107 W
46108 \end_layout
46109
46110 \end_inset
46111
46112
46113 \begin_inset ERT
46114 status collapsed
46115
46116 \begin_layout Plain Layout
46117
46118 }
46119 \end_layout
46120
46121 \end_inset
46122
46123  PineGreen
46124 \end_layout
46125
46126 \end_inset
46127 </cell>
46128 <cell alignment="left" valignment="top" usebox="none">
46129 \begin_inset Text
46130
46131 \begin_layout Plain Layout
46132 \begin_inset ERT
46133 status collapsed
46134
46135 \begin_layout Plain Layout
46136
46137
46138 \backslash
46139 fcolorbox{black}{
46140 \end_layout
46141
46142 \end_inset
46143
46144 Plum
46145 \begin_inset ERT
46146 status collapsed
46147
46148 \begin_layout Plain Layout
46149
46150 }{
46151 \end_layout
46152
46153 \end_inset
46154
46155
46156 \begin_inset Phantom Phantom
46157 status open
46158
46159 \begin_layout Plain Layout
46160 W
46161 \end_layout
46162
46163 \end_inset
46164
46165
46166 \begin_inset ERT
46167 status collapsed
46168
46169 \begin_layout Plain Layout
46170
46171 }
46172 \end_layout
46173
46174 \end_inset
46175
46176  Plum
46177 \end_layout
46178
46179 \end_inset
46180 </cell>
46181 <cell alignment="left" valignment="top" usebox="none">
46182 \begin_inset Text
46183
46184 \begin_layout Plain Layout
46185 \begin_inset ERT
46186 status collapsed
46187
46188 \begin_layout Plain Layout
46189
46190
46191 \backslash
46192 fcolorbox{black}{
46193 \end_layout
46194
46195 \end_inset
46196
46197 ProcessBlue
46198 \begin_inset ERT
46199 status collapsed
46200
46201 \begin_layout Plain Layout
46202
46203 }{
46204 \end_layout
46205
46206 \end_inset
46207
46208
46209 \begin_inset Phantom Phantom
46210 status open
46211
46212 \begin_layout Plain Layout
46213 W
46214 \end_layout
46215
46216 \end_inset
46217
46218
46219 \begin_inset ERT
46220 status collapsed
46221
46222 \begin_layout Plain Layout
46223
46224 }
46225 \end_layout
46226
46227 \end_inset
46228
46229  ProcessBlue
46230 \end_layout
46231
46232 \end_inset
46233 </cell>
46234 <cell alignment="left" valignment="top" usebox="none">
46235 \begin_inset Text
46236
46237 \begin_layout Plain Layout
46238 \begin_inset ERT
46239 status collapsed
46240
46241 \begin_layout Plain Layout
46242
46243
46244 \backslash
46245 fcolorbox{black}{
46246 \end_layout
46247
46248 \end_inset
46249
46250 Purple
46251 \begin_inset ERT
46252 status collapsed
46253
46254 \begin_layout Plain Layout
46255
46256 }{
46257 \end_layout
46258
46259 \end_inset
46260
46261
46262 \begin_inset Phantom Phantom
46263 status open
46264
46265 \begin_layout Plain Layout
46266 W
46267 \end_layout
46268
46269 \end_inset
46270
46271
46272 \begin_inset ERT
46273 status collapsed
46274
46275 \begin_layout Plain Layout
46276
46277 }
46278 \end_layout
46279
46280 \end_inset
46281
46282  Purple
46283 \end_layout
46284
46285 \end_inset
46286 </cell>
46287 </row>
46288 <row>
46289 <cell alignment="left" valignment="top" usebox="none">
46290 \begin_inset Text
46291
46292 \begin_layout Plain Layout
46293 \begin_inset ERT
46294 status collapsed
46295
46296 \begin_layout Plain Layout
46297
46298
46299 \backslash
46300 fcolorbox{black}{
46301 \end_layout
46302
46303 \end_inset
46304
46305 RawSienna
46306 \begin_inset ERT
46307 status collapsed
46308
46309 \begin_layout Plain Layout
46310
46311 }{
46312 \end_layout
46313
46314 \end_inset
46315
46316
46317 \begin_inset Phantom Phantom
46318 status open
46319
46320 \begin_layout Plain Layout
46321 W
46322 \end_layout
46323
46324 \end_inset
46325
46326
46327 \begin_inset ERT
46328 status collapsed
46329
46330 \begin_layout Plain Layout
46331
46332 }
46333 \end_layout
46334
46335 \end_inset
46336
46337  RawSienna
46338 \end_layout
46339
46340 \end_inset
46341 </cell>
46342 <cell alignment="left" valignment="top" usebox="none">
46343 \begin_inset Text
46344
46345 \begin_layout Plain Layout
46346 \begin_inset ERT
46347 status collapsed
46348
46349 \begin_layout Plain Layout
46350
46351
46352 \backslash
46353 fcolorbox{black}{
46354 \end_layout
46355
46356 \end_inset
46357
46358 RedOrange
46359 \begin_inset ERT
46360 status collapsed
46361
46362 \begin_layout Plain Layout
46363
46364 }{
46365 \end_layout
46366
46367 \end_inset
46368
46369
46370 \begin_inset Phantom Phantom
46371 status open
46372
46373 \begin_layout Plain Layout
46374 W
46375 \end_layout
46376
46377 \end_inset
46378
46379
46380 \begin_inset ERT
46381 status collapsed
46382
46383 \begin_layout Plain Layout
46384
46385 }
46386 \end_layout
46387
46388 \end_inset
46389
46390  RedOrange
46391 \end_layout
46392
46393 \end_inset
46394 </cell>
46395 <cell alignment="left" valignment="top" usebox="none">
46396 \begin_inset Text
46397
46398 \begin_layout Plain Layout
46399 \begin_inset ERT
46400 status collapsed
46401
46402 \begin_layout Plain Layout
46403
46404
46405 \backslash
46406 fcolorbox{black}{
46407 \end_layout
46408
46409 \end_inset
46410
46411 RedViolet
46412 \begin_inset ERT
46413 status collapsed
46414
46415 \begin_layout Plain Layout
46416
46417 }{
46418 \end_layout
46419
46420 \end_inset
46421
46422
46423 \begin_inset Phantom Phantom
46424 status open
46425
46426 \begin_layout Plain Layout
46427 W
46428 \end_layout
46429
46430 \end_inset
46431
46432
46433 \begin_inset ERT
46434 status collapsed
46435
46436 \begin_layout Plain Layout
46437
46438 }
46439 \end_layout
46440
46441 \end_inset
46442
46443  RedViolet
46444 \end_layout
46445
46446 \end_inset
46447 </cell>
46448 <cell alignment="left" valignment="top" usebox="none">
46449 \begin_inset Text
46450
46451 \begin_layout Plain Layout
46452 \begin_inset ERT
46453 status collapsed
46454
46455 \begin_layout Plain Layout
46456
46457
46458 \backslash
46459 fcolorbox{black}{
46460 \end_layout
46461
46462 \end_inset
46463
46464 Rhodamine
46465 \begin_inset ERT
46466 status collapsed
46467
46468 \begin_layout Plain Layout
46469
46470 }{
46471 \end_layout
46472
46473 \end_inset
46474
46475
46476 \begin_inset Phantom Phantom
46477 status open
46478
46479 \begin_layout Plain Layout
46480 W
46481 \end_layout
46482
46483 \end_inset
46484
46485
46486 \begin_inset ERT
46487 status collapsed
46488
46489 \begin_layout Plain Layout
46490
46491 }
46492 \end_layout
46493
46494 \end_inset
46495
46496  Rhodamine
46497 \end_layout
46498
46499 \end_inset
46500 </cell>
46501 </row>
46502 <row>
46503 <cell alignment="left" valignment="top" usebox="none">
46504 \begin_inset Text
46505
46506 \begin_layout Plain Layout
46507 \begin_inset ERT
46508 status collapsed
46509
46510 \begin_layout Plain Layout
46511
46512
46513 \backslash
46514 fcolorbox{black}{
46515 \end_layout
46516
46517 \end_inset
46518
46519 RoyalBlue
46520 \begin_inset ERT
46521 status collapsed
46522
46523 \begin_layout Plain Layout
46524
46525 }{
46526 \end_layout
46527
46528 \end_inset
46529
46530
46531 \begin_inset Phantom Phantom
46532 status open
46533
46534 \begin_layout Plain Layout
46535 W
46536 \end_layout
46537
46538 \end_inset
46539
46540
46541 \begin_inset ERT
46542 status collapsed
46543
46544 \begin_layout Plain Layout
46545
46546 }
46547 \end_layout
46548
46549 \end_inset
46550
46551  RoyalBlue
46552 \end_layout
46553
46554 \end_inset
46555 </cell>
46556 <cell alignment="left" valignment="top" usebox="none">
46557 \begin_inset Text
46558
46559 \begin_layout Plain Layout
46560 \begin_inset ERT
46561 status collapsed
46562
46563 \begin_layout Plain Layout
46564
46565
46566 \backslash
46567 fcolorbox{black}{
46568 \end_layout
46569
46570 \end_inset
46571
46572 RoyalPurple
46573 \begin_inset ERT
46574 status collapsed
46575
46576 \begin_layout Plain Layout
46577
46578 }{
46579 \end_layout
46580
46581 \end_inset
46582
46583
46584 \begin_inset Phantom Phantom
46585 status open
46586
46587 \begin_layout Plain Layout
46588 W
46589 \end_layout
46590
46591 \end_inset
46592
46593
46594 \begin_inset ERT
46595 status collapsed
46596
46597 \begin_layout Plain Layout
46598
46599 }
46600 \end_layout
46601
46602 \end_inset
46603
46604  RoyalPurple
46605 \end_layout
46606
46607 \end_inset
46608 </cell>
46609 <cell alignment="left" valignment="top" usebox="none">
46610 \begin_inset Text
46611
46612 \begin_layout Plain Layout
46613 \begin_inset ERT
46614 status collapsed
46615
46616 \begin_layout Plain Layout
46617
46618
46619 \backslash
46620 fcolorbox{black}{
46621 \end_layout
46622
46623 \end_inset
46624
46625 RubineRed
46626 \begin_inset ERT
46627 status collapsed
46628
46629 \begin_layout Plain Layout
46630
46631 }{
46632 \end_layout
46633
46634 \end_inset
46635
46636
46637 \begin_inset Phantom Phantom
46638 status open
46639
46640 \begin_layout Plain Layout
46641 W
46642 \end_layout
46643
46644 \end_inset
46645
46646
46647 \begin_inset ERT
46648 status collapsed
46649
46650 \begin_layout Plain Layout
46651
46652 }
46653 \end_layout
46654
46655 \end_inset
46656
46657  RubineRed
46658 \end_layout
46659
46660 \end_inset
46661 </cell>
46662 <cell alignment="left" valignment="top" usebox="none">
46663 \begin_inset Text
46664
46665 \begin_layout Plain Layout
46666 \begin_inset ERT
46667 status collapsed
46668
46669 \begin_layout Plain Layout
46670
46671
46672 \backslash
46673 fcolorbox{black}{
46674 \end_layout
46675
46676 \end_inset
46677
46678 Salmon
46679 \begin_inset ERT
46680 status collapsed
46681
46682 \begin_layout Plain Layout
46683
46684 }{
46685 \end_layout
46686
46687 \end_inset
46688
46689
46690 \begin_inset Phantom Phantom
46691 status open
46692
46693 \begin_layout Plain Layout
46694 W
46695 \end_layout
46696
46697 \end_inset
46698
46699
46700 \begin_inset ERT
46701 status collapsed
46702
46703 \begin_layout Plain Layout
46704
46705 }
46706 \end_layout
46707
46708 \end_inset
46709
46710  Salmon
46711 \end_layout
46712
46713 \end_inset
46714 </cell>
46715 </row>
46716 <row>
46717 <cell alignment="left" valignment="top" usebox="none">
46718 \begin_inset Text
46719
46720 \begin_layout Plain Layout
46721 \begin_inset ERT
46722 status collapsed
46723
46724 \begin_layout Plain Layout
46725
46726
46727 \backslash
46728 fcolorbox{black}{
46729 \end_layout
46730
46731 \end_inset
46732
46733 SeaGreen
46734 \begin_inset ERT
46735 status collapsed
46736
46737 \begin_layout Plain Layout
46738
46739 }{
46740 \end_layout
46741
46742 \end_inset
46743
46744
46745 \begin_inset Phantom Phantom
46746 status open
46747
46748 \begin_layout Plain Layout
46749 W
46750 \end_layout
46751
46752 \end_inset
46753
46754
46755 \begin_inset ERT
46756 status collapsed
46757
46758 \begin_layout Plain Layout
46759
46760 }
46761 \end_layout
46762
46763 \end_inset
46764
46765  SeaGreen
46766 \end_layout
46767
46768 \end_inset
46769 </cell>
46770 <cell alignment="left" valignment="top" usebox="none">
46771 \begin_inset Text
46772
46773 \begin_layout Plain Layout
46774 \begin_inset ERT
46775 status collapsed
46776
46777 \begin_layout Plain Layout
46778
46779
46780 \backslash
46781 fcolorbox{black}{
46782 \end_layout
46783
46784 \end_inset
46785
46786 Sepia
46787 \begin_inset ERT
46788 status collapsed
46789
46790 \begin_layout Plain Layout
46791
46792 }{
46793 \end_layout
46794
46795 \end_inset
46796
46797
46798 \begin_inset Phantom Phantom
46799 status open
46800
46801 \begin_layout Plain Layout
46802 W
46803 \end_layout
46804
46805 \end_inset
46806
46807
46808 \begin_inset ERT
46809 status collapsed
46810
46811 \begin_layout Plain Layout
46812
46813 }
46814 \end_layout
46815
46816 \end_inset
46817
46818  Sepia
46819 \end_layout
46820
46821 \end_inset
46822 </cell>
46823 <cell alignment="left" valignment="top" usebox="none">
46824 \begin_inset Text
46825
46826 \begin_layout Plain Layout
46827 \begin_inset ERT
46828 status collapsed
46829
46830 \begin_layout Plain Layout
46831
46832
46833 \backslash
46834 fcolorbox{black}{
46835 \end_layout
46836
46837 \end_inset
46838
46839 SkyBlue
46840 \begin_inset ERT
46841 status collapsed
46842
46843 \begin_layout Plain Layout
46844
46845 }{
46846 \end_layout
46847
46848 \end_inset
46849
46850
46851 \begin_inset Phantom Phantom
46852 status open
46853
46854 \begin_layout Plain Layout
46855 W
46856 \end_layout
46857
46858 \end_inset
46859
46860
46861 \begin_inset ERT
46862 status collapsed
46863
46864 \begin_layout Plain Layout
46865
46866 }
46867 \end_layout
46868
46869 \end_inset
46870
46871  SkyBlue
46872 \end_layout
46873
46874 \end_inset
46875 </cell>
46876 <cell alignment="left" valignment="top" usebox="none">
46877 \begin_inset Text
46878
46879 \begin_layout Plain Layout
46880 \begin_inset ERT
46881 status collapsed
46882
46883 \begin_layout Plain Layout
46884
46885
46886 \backslash
46887 fcolorbox{black}{
46888 \end_layout
46889
46890 \end_inset
46891
46892 SpringGreen
46893 \begin_inset ERT
46894 status collapsed
46895
46896 \begin_layout Plain Layout
46897
46898 }{
46899 \end_layout
46900
46901 \end_inset
46902
46903
46904 \begin_inset Phantom Phantom
46905 status open
46906
46907 \begin_layout Plain Layout
46908 W
46909 \end_layout
46910
46911 \end_inset
46912
46913
46914 \begin_inset ERT
46915 status collapsed
46916
46917 \begin_layout Plain Layout
46918
46919 }
46920 \end_layout
46921
46922 \end_inset
46923
46924  SpringGreen
46925 \end_layout
46926
46927 \end_inset
46928 </cell>
46929 </row>
46930 <row>
46931 <cell alignment="left" valignment="top" usebox="none">
46932 \begin_inset Text
46933
46934 \begin_layout Plain Layout
46935 \begin_inset ERT
46936 status collapsed
46937
46938 \begin_layout Plain Layout
46939
46940
46941 \backslash
46942 fcolorbox{black}{
46943 \end_layout
46944
46945 \end_inset
46946
46947 Tan
46948 \begin_inset ERT
46949 status collapsed
46950
46951 \begin_layout Plain Layout
46952
46953 }{
46954 \end_layout
46955
46956 \end_inset
46957
46958
46959 \begin_inset Phantom Phantom
46960 status open
46961
46962 \begin_layout Plain Layout
46963 W
46964 \end_layout
46965
46966 \end_inset
46967
46968
46969 \begin_inset ERT
46970 status collapsed
46971
46972 \begin_layout Plain Layout
46973
46974 }
46975 \end_layout
46976
46977 \end_inset
46978
46979  Tan
46980 \end_layout
46981
46982 \end_inset
46983 </cell>
46984 <cell alignment="left" valignment="top" usebox="none">
46985 \begin_inset Text
46986
46987 \begin_layout Plain Layout
46988 \begin_inset ERT
46989 status collapsed
46990
46991 \begin_layout Plain Layout
46992
46993
46994 \backslash
46995 fcolorbox{black}{
46996 \end_layout
46997
46998 \end_inset
46999
47000 TealBlue
47001 \begin_inset ERT
47002 status collapsed
47003
47004 \begin_layout Plain Layout
47005
47006 }{
47007 \end_layout
47008
47009 \end_inset
47010
47011
47012 \begin_inset Phantom Phantom
47013 status open
47014
47015 \begin_layout Plain Layout
47016 W
47017 \end_layout
47018
47019 \end_inset
47020
47021
47022 \begin_inset ERT
47023 status collapsed
47024
47025 \begin_layout Plain Layout
47026
47027 }
47028 \end_layout
47029
47030 \end_inset
47031
47032  TealBlue
47033 \end_layout
47034
47035 \end_inset
47036 </cell>
47037 <cell alignment="left" valignment="top" usebox="none">
47038 \begin_inset Text
47039
47040 \begin_layout Plain Layout
47041 \begin_inset ERT
47042 status collapsed
47043
47044 \begin_layout Plain Layout
47045
47046
47047 \backslash
47048 fcolorbox{black}{
47049 \end_layout
47050
47051 \end_inset
47052
47053 Thistle
47054 \begin_inset ERT
47055 status collapsed
47056
47057 \begin_layout Plain Layout
47058
47059 }{
47060 \end_layout
47061
47062 \end_inset
47063
47064
47065 \begin_inset Phantom Phantom
47066 status open
47067
47068 \begin_layout Plain Layout
47069 W
47070 \end_layout
47071
47072 \end_inset
47073
47074
47075 \begin_inset ERT
47076 status collapsed
47077
47078 \begin_layout Plain Layout
47079
47080 }
47081 \end_layout
47082
47083 \end_inset
47084
47085  Thistle
47086 \end_layout
47087
47088 \end_inset
47089 </cell>
47090 <cell alignment="left" valignment="top" usebox="none">
47091 \begin_inset Text
47092
47093 \begin_layout Plain Layout
47094 \begin_inset ERT
47095 status collapsed
47096
47097 \begin_layout Plain Layout
47098
47099
47100 \backslash
47101 fcolorbox{black}{
47102 \end_layout
47103
47104 \end_inset
47105
47106 Turquoise
47107 \begin_inset ERT
47108 status collapsed
47109
47110 \begin_layout Plain Layout
47111
47112 }{
47113 \end_layout
47114
47115 \end_inset
47116
47117
47118 \begin_inset Phantom Phantom
47119 status open
47120
47121 \begin_layout Plain Layout
47122 W
47123 \end_layout
47124
47125 \end_inset
47126
47127
47128 \begin_inset ERT
47129 status collapsed
47130
47131 \begin_layout Plain Layout
47132
47133 }
47134 \end_layout
47135
47136 \end_inset
47137
47138  Turquoise
47139 \end_layout
47140
47141 \end_inset
47142 </cell>
47143 </row>
47144 <row>
47145 <cell alignment="left" valignment="top" usebox="none">
47146 \begin_inset Text
47147
47148 \begin_layout Plain Layout
47149 \begin_inset ERT
47150 status collapsed
47151
47152 \begin_layout Plain Layout
47153
47154
47155 \backslash
47156 fcolorbox{black}{
47157 \end_layout
47158
47159 \end_inset
47160
47161 Violet
47162 \begin_inset ERT
47163 status collapsed
47164
47165 \begin_layout Plain Layout
47166
47167 }{
47168 \end_layout
47169
47170 \end_inset
47171
47172
47173 \begin_inset Phantom Phantom
47174 status open
47175
47176 \begin_layout Plain Layout
47177 W
47178 \end_layout
47179
47180 \end_inset
47181
47182
47183 \begin_inset ERT
47184 status collapsed
47185
47186 \begin_layout Plain Layout
47187
47188 }
47189 \end_layout
47190
47191 \end_inset
47192
47193  Violet
47194 \end_layout
47195
47196 \end_inset
47197 </cell>
47198 <cell alignment="left" valignment="top" usebox="none">
47199 \begin_inset Text
47200
47201 \begin_layout Plain Layout
47202 \begin_inset ERT
47203 status collapsed
47204
47205 \begin_layout Plain Layout
47206
47207
47208 \backslash
47209 fcolorbox{black}{
47210 \end_layout
47211
47212 \end_inset
47213
47214 VioletRed
47215 \begin_inset ERT
47216 status collapsed
47217
47218 \begin_layout Plain Layout
47219
47220 }{
47221 \end_layout
47222
47223 \end_inset
47224
47225
47226 \begin_inset Phantom Phantom
47227 status open
47228
47229 \begin_layout Plain Layout
47230 W
47231 \end_layout
47232
47233 \end_inset
47234
47235
47236 \begin_inset ERT
47237 status collapsed
47238
47239 \begin_layout Plain Layout
47240
47241 }
47242 \end_layout
47243
47244 \end_inset
47245
47246  VioletRed
47247 \end_layout
47248
47249 \end_inset
47250 </cell>
47251 <cell alignment="left" valignment="top" usebox="none">
47252 \begin_inset Text
47253
47254 \begin_layout Plain Layout
47255 \begin_inset ERT
47256 status collapsed
47257
47258 \begin_layout Plain Layout
47259
47260
47261 \backslash
47262 fcolorbox{black}{
47263 \end_layout
47264
47265 \end_inset
47266
47267 WildStrawberry
47268 \begin_inset ERT
47269 status collapsed
47270
47271 \begin_layout Plain Layout
47272
47273 }{
47274 \end_layout
47275
47276 \end_inset
47277
47278
47279 \begin_inset Phantom Phantom
47280 status open
47281
47282 \begin_layout Plain Layout
47283 W
47284 \end_layout
47285
47286 \end_inset
47287
47288
47289 \begin_inset ERT
47290 status collapsed
47291
47292 \begin_layout Plain Layout
47293
47294 }
47295 \end_layout
47296
47297 \end_inset
47298
47299  WildStrawberry
47300 \end_layout
47301
47302 \end_inset
47303 </cell>
47304 <cell alignment="left" valignment="top" usebox="none">
47305 \begin_inset Text
47306
47307 \begin_layout Plain Layout
47308 \begin_inset ERT
47309 status collapsed
47310
47311 \begin_layout Plain Layout
47312
47313
47314 \backslash
47315 fcolorbox{black}{
47316 \end_layout
47317
47318 \end_inset
47319
47320 YellowGreen
47321 \begin_inset ERT
47322 status collapsed
47323
47324 \begin_layout Plain Layout
47325
47326 }{
47327 \end_layout
47328
47329 \end_inset
47330
47331
47332 \begin_inset Phantom Phantom
47333 status open
47334
47335 \begin_layout Plain Layout
47336 W
47337 \end_layout
47338
47339 \end_inset
47340
47341
47342 \begin_inset ERT
47343 status collapsed
47344
47345 \begin_layout Plain Layout
47346
47347 }
47348 \end_layout
47349
47350 \end_inset
47351
47352  YellowGreen
47353 \end_layout
47354
47355 \end_inset
47356 </cell>
47357 </row>
47358 <row>
47359 <cell alignment="left" valignment="top" usebox="none">
47360 \begin_inset Text
47361
47362 \begin_layout Plain Layout
47363 \begin_inset ERT
47364 status collapsed
47365
47366 \begin_layout Plain Layout
47367
47368
47369 \backslash
47370 fcolorbox{black}{
47371 \end_layout
47372
47373 \end_inset
47374
47375 YellowOrange
47376 \begin_inset ERT
47377 status collapsed
47378
47379 \begin_layout Plain Layout
47380
47381 }{
47382 \end_layout
47383
47384 \end_inset
47385
47386
47387 \begin_inset Phantom Phantom
47388 status open
47389
47390 \begin_layout Plain Layout
47391 W
47392 \end_layout
47393
47394 \end_inset
47395
47396
47397 \begin_inset ERT
47398 status collapsed
47399
47400 \begin_layout Plain Layout
47401
47402 }
47403 \end_layout
47404
47405 \end_inset
47406
47407  YellowOrange
47408 \end_layout
47409
47410 \end_inset
47411 </cell>
47412 <cell alignment="left" valignment="top" usebox="none">
47413 \begin_inset Text
47414
47415 \begin_layout Plain Layout
47416
47417 \end_layout
47418
47419 \end_inset
47420 </cell>
47421 <cell alignment="left" valignment="top" usebox="none">
47422 \begin_inset Text
47423
47424 \begin_layout Plain Layout
47425
47426 \end_layout
47427
47428 \end_inset
47429 </cell>
47430 <cell alignment="left" valignment="top" usebox="none">
47431 \begin_inset Text
47432
47433 \begin_layout Plain Layout
47434
47435 \end_layout
47436
47437 \end_inset
47438 </cell>
47439 </row>
47440 </lyxtabular>
47441
47442 \end_inset
47443
47444
47445 \end_layout
47446
47447 \begin_layout Chapter
47448 Explanation of Equation
47449 \begin_inset space ~
47450 \end_inset
47451
47452 (
47453 \begin_inset CommandInset ref
47454 LatexCommand ref
47455 reference "eq:Wgn"
47456
47457 \end_inset
47458
47459 )
47460 \begin_inset CommandInset label
47461 LatexCommand label
47462 name "cha:Explanation-of-Equation"
47463
47464 \end_inset
47465
47466
47467 \end_layout
47468
47469 \begin_layout Standard
47470 We can calculate the total width of 
47471 \emph on
47472 n
47473 \emph default
47474  table cells 
47475 \begin_inset Formula $W_{\mathrm{tot\,n}}$
47476 \end_inset
47477
47478  as follows:
47479 \begin_inset Formula 
47480 \begin{equation}
47481 W_{\mathrm{tot}\,n}=n\cdot(W_{g\,n}+2\cdot\backslash\mbox{tabcolsep})+(n+1)\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}
47482 \end{equation}
47483
47484 \end_inset
47485
47486 where 
47487 \begin_inset Formula $W_{g\,n}$
47488 \end_inset
47489
47490  is the given width of all cells, 
47491 \series bold
47492
47493 \backslash
47494 tabcolsep
47495 \series default
47496  is the \SpecialChar LaTeX
47497 -length between the cell text and the cell border (its default value
47498  is 6
47499 \begin_inset space \thinspace{}
47500 \end_inset
47501
47502 pt).
47503  
47504 \series bold
47505
47506 \backslash
47507 arrayrulewidth
47508 \series default
47509  is the thickness of the cell border line, the default is 0.4
47510 \begin_inset space \thinspace{}
47511 \end_inset
47512
47513 pt.
47514 \end_layout
47515
47516 \begin_layout Standard
47517 Following equation
47518 \begin_inset space ~
47519 \end_inset
47520
47521
47522 \begin_inset CommandInset ref
47523 LatexCommand eqref
47524 reference "eq:Wtot_n"
47525
47526 \end_inset
47527
47528 , the total width of a multicolumn 
47529 \begin_inset Formula $W_{\mathrm{tot\,mult}}$
47530 \end_inset
47531
47532  is
47533 \begin_inset Formula 
47534 \begin{equation}
47535 W_{\mathrm{tot\,mult}}=W_{g\,\mathrm{mult}}+2\cdot\backslash\mbox{tabcolsep}+2\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}
47536 \end{equation}
47537
47538 \end_inset
47539
47540
47541 \end_layout
47542
47543 \begin_layout Standard
47544 By setting equation
47545 \begin_inset space ~
47546 \end_inset
47547
47548
47549 \begin_inset CommandInset ref
47550 LatexCommand eqref
47551 reference "eq:Wtot_n"
47552
47553 \end_inset
47554
47555  and 
47556 \begin_inset CommandInset ref
47557 LatexCommand eqref
47558 reference "eq:Wtot_mult"
47559
47560 \end_inset
47561
47562  equal we can calculate the needed given width 
47563 \begin_inset Formula $W_{g\,n}$
47564 \end_inset
47565
47566  when 
47567 \emph on
47568 n
47569 \emph default
47570  columns are spanned, so that each column has a total width of 
47571 \begin_inset Formula $W_{\mathrm{tot\,mult}}/n$
47572 \end_inset
47573
47574 :
47575 \begin_inset Formula 
47576 \begin{equation}
47577 W_{g\,n}=\frac{W_{g\,\mathrm{mult}}+(1-n)\cdot(2\cdot\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth})}{n}
47578 \end{equation}
47579
47580 \end_inset
47581
47582
47583 \end_layout
47584
47585 \begin_layout Bibliography
47586 \begin_inset CommandInset bibitem
47587 LatexCommand bibitem
47588 key "latexcompanion"
47589 literal "true"
47590
47591 \end_inset
47592
47593 Frank Mittelbach and Michel Goossens: 
47594 \emph on
47595 The \SpecialChar LaTeX
47596  Companion Second Edition.
47597
47598 \emph default
47599  Addison-Wesley, 2004
47600 \end_layout
47601
47602 \begin_layout Bibliography
47603 \begin_inset CommandInset bibitem
47604 LatexCommand bibitem
47605 key "latexguide"
47606 literal "true"
47607
47608 \end_inset
47609
47610 Helmut Kopka and Patrick W.
47611  Daly: 
47612 \emph on
47613 A Guide to \SpecialChar LaTeX
47614  Fourth Edition.
47615
47616 \emph default
47617  Addison-Wesley, 2003
47618 \end_layout
47619
47620 \begin_layout Bibliography
47621 \begin_inset CommandInset bibitem
47622 LatexCommand bibitem
47623 key "latexbook"
47624 literal "true"
47625
47626 \end_inset
47627
47628 Leslie Lamport: 
47629 \emph on
47630 \SpecialChar LaTeX
47631 : A Document Preparation System.
47632
47633 \emph default
47634  Addison-Wesley, second edition, 1994
47635 \end_layout
47636
47637 \begin_layout Bibliography
47638 \begin_inset CommandInset bibitem
47639 LatexCommand bibitem
47640 key "arydshln"
47641 literal "true"
47642
47643 \end_inset
47644
47645 Documentation of the \SpecialChar LaTeX
47646 -package 
47647 \series bold
47648
47649 \begin_inset CommandInset href
47650 LatexCommand href
47651 name "arydshln"
47652 target "https://www.ctan.org/tex-archive/macros/latex/contrib//arydshln/arydshln.pdf"
47653 literal "false"
47654
47655 \end_inset
47656
47657
47658 \series default
47659
47660 \begin_inset Index idx
47661 status collapsed
47662
47663 \begin_layout Plain Layout
47664 \SpecialChar LaTeX
47665 -packages ! arydshln
47666 \end_layout
47667
47668 \end_inset
47669
47670
47671 \end_layout
47672
47673 \begin_layout Bibliography
47674 \begin_inset CommandInset bibitem
47675 LatexCommand bibitem
47676 key "booktabs"
47677 literal "true"
47678
47679 \end_inset
47680
47681 Documentation of the \SpecialChar LaTeX
47682 -package 
47683 \series bold
47684
47685 \begin_inset CommandInset href
47686 LatexCommand href
47687 name "booktabs"
47688 target "https://www.ctan.org/tex-archive/macros/latex/contrib//booktabs/booktabs.pdf"
47689 literal "false"
47690
47691 \end_inset
47692
47693
47694 \series default
47695
47696 \begin_inset Index idx
47697 status collapsed
47698
47699 \begin_layout Plain Layout
47700 \SpecialChar LaTeX
47701 -packages ! booktabs
47702 \end_layout
47703
47704 \end_inset
47705
47706
47707 \end_layout
47708
47709 \begin_layout Bibliography
47710 \begin_inset CommandInset bibitem
47711 LatexCommand bibitem
47712 key "caption"
47713 literal "true"
47714
47715 \end_inset
47716
47717 Documentation of the \SpecialChar LaTeX
47718 -package 
47719 \series bold
47720
47721 \begin_inset CommandInset href
47722 LatexCommand href
47723 name "caption"
47724 target "https://www.ctan.org/tex-archive/macros/latex/contrib/caption/caption-eng.pdf"
47725 literal "false"
47726
47727 \end_inset
47728
47729
47730 \series default
47731
47732 \begin_inset Index idx
47733 status collapsed
47734
47735 \begin_layout Plain Layout
47736 \SpecialChar LaTeX
47737 -packages ! caption
47738 \end_layout
47739
47740 \end_inset
47741
47742
47743 \end_layout
47744
47745 \begin_layout Bibliography
47746 \begin_inset CommandInset bibitem
47747 LatexCommand bibitem
47748 key "diagbox"
47749 literal "true"
47750
47751 \end_inset
47752
47753 Documentation of the \SpecialChar LaTeX
47754 -package 
47755 \series bold
47756
47757 \begin_inset CommandInset href
47758 LatexCommand href
47759 name "diagbox"
47760 target "https://www.ctan.org/tex-archive/macros/latex/contrib//diagbox/diagbox.pdf"
47761 literal "false"
47762
47763 \end_inset
47764
47765
47766 \series default
47767
47768 \begin_inset Index idx
47769 status collapsed
47770
47771 \begin_layout Plain Layout
47772 \SpecialChar LaTeX
47773 -packages ! diagbox
47774 \end_layout
47775
47776 \end_inset
47777
47778
47779 \end_layout
47780
47781 \begin_layout Bibliography
47782 \begin_inset CommandInset bibitem
47783 LatexCommand bibitem
47784 key "endfloat"
47785 literal "true"
47786
47787 \end_inset
47788
47789 Documentation of the \SpecialChar LaTeX
47790 -package 
47791 \series bold
47792
47793 \begin_inset CommandInset href
47794 LatexCommand href
47795 name "endfloat"
47796 target "https://www.ctan.org/tex-archive/macros/latex/contrib//endfloat/endfloat.pdf"
47797 literal "false"
47798
47799 \end_inset
47800
47801
47802 \series default
47803
47804 \begin_inset Index idx
47805 status collapsed
47806
47807 \begin_layout Plain Layout
47808 \SpecialChar LaTeX
47809 -packages ! endfloat
47810 \end_layout
47811
47812 \end_inset
47813
47814
47815 \end_layout
47816
47817 \begin_layout Bibliography
47818 \begin_inset CommandInset bibitem
47819 LatexCommand bibitem
47820 key "footmisc"
47821 literal "true"
47822
47823 \end_inset
47824
47825 Documentation of the \SpecialChar LaTeX
47826 -package 
47827 \series bold
47828
47829 \begin_inset CommandInset href
47830 LatexCommand href
47831 name "footmisc"
47832 target "https://www.ctan.org/tex-archive/macros/latex/contrib//footmisc/footmisc.pdf"
47833 literal "false"
47834
47835 \end_inset
47836
47837
47838 \series default
47839
47840 \begin_inset Index idx
47841 status collapsed
47842
47843 \begin_layout Plain Layout
47844 \SpecialChar LaTeX
47845 -packages ! footmisc
47846 \end_layout
47847
47848 \end_inset
47849
47850
47851 \end_layout
47852
47853 \begin_layout Bibliography
47854 \begin_inset CommandInset bibitem
47855 LatexCommand bibitem
47856 key "hypcap"
47857 literal "true"
47858
47859 \end_inset
47860
47861 Documentation of the \SpecialChar LaTeX
47862 -package 
47863 \series bold
47864
47865 \begin_inset CommandInset href
47866 LatexCommand href
47867 name "hypcap"
47868 target "https://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf"
47869 literal "false"
47870
47871 \end_inset
47872
47873
47874 \series default
47875
47876 \begin_inset Index idx
47877 status collapsed
47878
47879 \begin_layout Plain Layout
47880 \SpecialChar LaTeX
47881 -packages ! hyperref
47882 \end_layout
47883
47884 \end_inset
47885
47886
47887 \end_layout
47888
47889 \begin_layout Bibliography
47890 \begin_inset CommandInset bibitem
47891 LatexCommand bibitem
47892 key "hyperref"
47893 literal "true"
47894
47895 \end_inset
47896
47897 Documentation of the \SpecialChar LaTeX
47898 -package 
47899 \series bold
47900
47901 \begin_inset CommandInset href
47902 LatexCommand href
47903 name "hyperref"
47904 target "https://www.ctan.org/tex-archive/macros/latex/contrib//hyperref/hyperref.pdf"
47905 literal "false"
47906
47907 \end_inset
47908
47909
47910 \series default
47911
47912 \begin_inset Index idx
47913 status collapsed
47914
47915 \begin_layout Plain Layout
47916 \SpecialChar LaTeX
47917 -packages ! hyperref
47918 \end_layout
47919
47920 \end_inset
47921
47922
47923 \end_layout
47924
47925 \begin_layout Bibliography
47926 \begin_inset CommandInset bibitem
47927 LatexCommand bibitem
47928 key "KOMA-Script"
47929 literal "true"
47930
47931 \end_inset
47932
47933 Documentation of the \SpecialChar LaTeX
47934 -package 
47935 \series bold
47936
47937 \begin_inset CommandInset href
47938 LatexCommand href
47939 name "KOMA-Script"
47940 target "https://www.ctan.org/tex-archive/macros/latex/contrib/koma-script/doc/scrguien.pdf"
47941 literal "false"
47942
47943 \end_inset
47944
47945
47946 \series default
47947
47948 \begin_inset Index idx
47949 status collapsed
47950
47951 \begin_layout Plain Layout
47952 \SpecialChar LaTeX
47953 -packages ! KOMA-Script
47954 \end_layout
47955
47956 \end_inset
47957
47958
47959 \end_layout
47960
47961 \begin_layout Bibliography
47962 \begin_inset CommandInset bibitem
47963 LatexCommand bibitem
47964 key "lettrine"
47965 literal "true"
47966
47967 \end_inset
47968
47969 Documentation of the \SpecialChar LaTeX
47970 -package 
47971 \series bold
47972
47973 \begin_inset CommandInset href
47974 LatexCommand href
47975 name "lettrine"
47976 target "https://www.ctan.org/tex-archive/macros/latex/contrib/lettrine/doc/lettrine.pdf"
47977 literal "false"
47978
47979 \end_inset
47980
47981
47982 \series default
47983  and an 
47984 \begin_inset CommandInset href
47985 LatexCommand href
47986 name "example"
47987 target "https://www.ctan.org/tex-archive/macros/latex/contrib/lettrine/doc/demo.pdf"
47988 literal "false"
47989
47990 \end_inset
47991
47992
47993 \begin_inset Index idx
47994 status collapsed
47995
47996 \begin_layout Plain Layout
47997 \SpecialChar LaTeX
47998 -packages ! lettrine
47999 \end_layout
48000
48001 \end_inset
48002
48003
48004 \end_layout
48005
48006 \begin_layout Bibliography
48007 \begin_inset CommandInset bibitem
48008 LatexCommand bibitem
48009 key "listings"
48010 literal "true"
48011
48012 \end_inset
48013
48014 Documentation of the \SpecialChar LaTeX
48015 -package 
48016 \series bold
48017
48018 \begin_inset CommandInset href
48019 LatexCommand href
48020 name "listings"
48021 target "https://www.ctan.org/tex-archive/macros/latex/contrib//listings/listings.pdf"
48022 literal "false"
48023
48024 \end_inset
48025
48026
48027 \series default
48028
48029 \begin_inset Index idx
48030 status collapsed
48031
48032 \begin_layout Plain Layout
48033 \SpecialChar LaTeX
48034 -packages ! listings
48035 \end_layout
48036
48037 \end_inset
48038
48039
48040 \end_layout
48041
48042 \begin_layout Bibliography
48043 \begin_inset CommandInset bibitem
48044 LatexCommand bibitem
48045 key "minted"
48046 literal "false"
48047
48048 \end_inset
48049
48050 Documentation of the \SpecialChar LaTeX
48051 -package 
48052 \series bold
48053
48054 \begin_inset CommandInset href
48055 LatexCommand href
48056 name "minted"
48057 target "https://www.ctan.org/tex-archive/macros/latex/contrib//minted/minted.pdf"
48058 literal "false"
48059
48060 \end_inset
48061
48062
48063 \series default
48064
48065 \begin_inset Index idx
48066 status collapsed
48067
48068 \begin_layout Plain Layout
48069 \SpecialChar LaTeX
48070 -packages ! minted
48071 \end_layout
48072
48073 \end_inset
48074
48075
48076 \end_layout
48077
48078 \begin_layout Bibliography
48079 \begin_inset CommandInset bibitem
48080 LatexCommand bibitem
48081 key "marginnote"
48082 literal "true"
48083
48084 \end_inset
48085
48086 Documentation of the \SpecialChar LaTeX
48087 -package 
48088 \series bold
48089
48090 \begin_inset CommandInset href
48091 LatexCommand href
48092 name "marginnote"
48093 target "https://www.ctan.org/tex-archive/macros/latex/contrib//marginnote/marginnote.pdf"
48094 literal "false"
48095
48096 \end_inset
48097
48098
48099 \series default
48100
48101 \begin_inset Index idx
48102 status collapsed
48103
48104 \begin_layout Plain Layout
48105 \SpecialChar LaTeX
48106 -packages ! marginnote
48107 \end_layout
48108
48109 \end_inset
48110
48111
48112 \end_layout
48113
48114 \begin_layout Bibliography
48115 \begin_inset CommandInset bibitem
48116 LatexCommand bibitem
48117 key "pdfpages"
48118 literal "true"
48119
48120 \end_inset
48121
48122 Documentation of the \SpecialChar LaTeX
48123 -package 
48124 \series bold
48125
48126 \begin_inset CommandInset href
48127 LatexCommand href
48128 name "pdfpages"
48129 target "https://www.ctan.org/tex-archive/macros/latex/contrib/pdfpages/pdfpages.pdf"
48130 literal "false"
48131
48132 \end_inset
48133
48134
48135 \series default
48136
48137 \begin_inset Index idx
48138 status collapsed
48139
48140 \begin_layout Plain Layout
48141 \SpecialChar LaTeX
48142 -packages ! pdfpages
48143 \end_layout
48144
48145 \end_inset
48146
48147
48148 \end_layout
48149
48150 \begin_layout Bibliography
48151 \begin_inset CommandInset bibitem
48152 LatexCommand bibitem
48153 key "prettyref"
48154 literal "true"
48155
48156 \end_inset
48157
48158 Documentation of the \SpecialChar LaTeX
48159 -package 
48160 \series bold
48161
48162 \begin_inset CommandInset href
48163 LatexCommand href
48164 name "prettyref"
48165 target "https://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf"
48166 literal "false"
48167
48168 \end_inset
48169
48170
48171 \series default
48172
48173 \begin_inset Index idx
48174 status collapsed
48175
48176 \begin_layout Plain Layout
48177 \SpecialChar LaTeX
48178 -packages ! prettyref
48179 \end_layout
48180
48181 \end_inset
48182
48183
48184 \end_layout
48185
48186 \begin_layout Bibliography
48187 \begin_inset CommandInset bibitem
48188 LatexCommand bibitem
48189 key "pstricks"
48190 literal "true"
48191
48192 \end_inset
48193
48194 Web page of the \SpecialChar LaTeX
48195 -package 
48196 \series bold
48197
48198 \begin_inset CommandInset href
48199 LatexCommand href
48200 name "PSTricks"
48201 target "http://tug.org/PSTricks/"
48202 literal "false"
48203
48204 \end_inset
48205
48206
48207 \series default
48208
48209 \begin_inset Index idx
48210 status collapsed
48211
48212 \begin_layout Plain Layout
48213 \SpecialChar LaTeX
48214 -packages ! PSTricks
48215 \end_layout
48216
48217 \end_inset
48218
48219
48220 \end_layout
48221
48222 \begin_layout Bibliography
48223 \begin_inset CommandInset bibitem
48224 LatexCommand bibitem
48225 key "refstyle"
48226 literal "true"
48227
48228 \end_inset
48229
48230 Documentation of the \SpecialChar LaTeX
48231 -package 
48232 \series bold
48233
48234 \begin_inset CommandInset href
48235 LatexCommand href
48236 name "refstyle"
48237 target "https://www.ctan.org/tex-archive/macros/latex/contrib/refstyle/refstyle.pdf"
48238 literal "false"
48239
48240 \end_inset
48241
48242
48243 \series default
48244
48245 \begin_inset Index idx
48246 status collapsed
48247
48248 \begin_layout Plain Layout
48249 \SpecialChar LaTeX
48250 -packages ! refstyle
48251 \end_layout
48252
48253 \end_inset
48254
48255
48256 \end_layout
48257
48258 \begin_layout Bibliography
48259 \begin_inset CommandInset bibitem
48260 LatexCommand bibitem
48261 key "sidecap"
48262 literal "true"
48263
48264 \end_inset
48265
48266 Documentation of the \SpecialChar LaTeX
48267 -package 
48268 \series bold
48269
48270 \begin_inset CommandInset href
48271 LatexCommand href
48272 name "sidecap"
48273 target "https://www.ctan.org/tex-archive/macros/latex/contrib//sidecap/sidecap.pdf"
48274 literal "false"
48275
48276 \end_inset
48277
48278
48279 \series default
48280
48281 \begin_inset Index idx
48282 status collapsed
48283
48284 \begin_layout Plain Layout
48285 \SpecialChar LaTeX
48286 -packages ! sidecap
48287 \end_layout
48288
48289 \end_inset
48290
48291
48292 \end_layout
48293
48294 \begin_layout Bibliography
48295 \begin_inset CommandInset bibitem
48296 LatexCommand bibitem
48297 key "Inkscape"
48298 literal "true"
48299
48300 \end_inset
48301
48302 Documentation of the option 
48303 \begin_inset CommandInset href
48304 LatexCommand href
48305 name "Omit text in PDF"
48306 target "https://www.ctan.org/tex-archive/info/svg-inkscape/InkscapePDFLaTeX.pdf"
48307 literal "false"
48308
48309 \end_inset
48310
48311  of the program 
48312 \noun on
48313
48314 \begin_inset CommandInset href
48315 LatexCommand href
48316 name "Inkscape"
48317 target "https://inkscape.org"
48318 literal "false"
48319
48320 \end_inset
48321
48322
48323 \end_layout
48324
48325 \begin_layout Standard
48326 \begin_inset CommandInset index_print
48327 LatexCommand printindex
48328 type "idx"
48329 name "Index"
48330 literal "false"
48331
48332 \end_inset
48333
48334
48335 \end_layout
48336
48337 \end_body
48338 \end_document