]> git.lyx.org Git - lyx.git/blob - lib/doc/EmbeddedObjects.lyx
9cbce65ece45f010376dc0bc3c074e7fdb5a94ca
[lyx.git] / lib / doc / EmbeddedObjects.lyx
1 #LyX 1.5.1 created this file. For more info see http://www.lyx.org/
2 \lyxformat 276
3 \begin_document
4 \begin_header
5 \textclass scrbook
6 \begin_preamble
7 % if pdflatex is used
8 \usepackage{ifpdf}
9 \ifpdf
10
11 % set fonts for nicer pdf view
12 \IfFileExists{lmodern.sty}
13  {\usepackage{lmodern}} % if it exists
14  {% if it exists not
15   \usepackage[scaled=0.92]{helvet}
16   \usepackage{mathptmx}
17   \usepackage{courier}
18  } % end if it exists not
19
20 % link all cross references and URLs
21 % in pdf output
22  \usepackage[colorlinks=true, bookmarks, bookmarksnumbered, bookmarksopen, bookmarksopenlevel=1,
23   linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,
24   pdfpagelayout=OneColumn, pdfnewwindow=true,
25   pdfstartview=XYZ, plainpages=false, pdfpagelabels,
26   pdfauthor={LyX Team}, pdftex,
27   pdftitle={LyX's Figure, Table, Floats, Notes, and Boxes manual},
28   pdfsubject={LyX-documentation about figures, tables, floats, notes, and boxes},
29   pdfkeywords={LyX, Tables, Figures, Floats, Boxes, Notes}]{hyperref}
30  
31 \else % if dvi or ps is produced
32
33  % link all cross references and URLs in DVI output
34  \usepackage[ps2pdf, colorlinks=true,
35   linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue]{hyperref}
36
37 \fi % end if pdflatex is used
38
39 % that links to image floats jumps
40 % to the beginning of the float and 
41 % not to its caption
42 \usepackage[figure]{hypcap}
43
44 % the pages of the TOC are numbered roman
45 % and a PDF-bookmark for the TOC is added
46 \pagenumbering{roman}
47 \let\myTOC\tableofcontents
48 \renewcommand{\tableofcontents}{%
49  \pdfbookmark[1]{Contents}{}
50  \myTOC
51  \cleardoublepage
52  \pagenumbering{arabic}}
53
54 % provides caption formatting
55 \usepackage[labelfont={bf,sf}, tableposition=top]{caption}[2004/07/16]
56
57 % provides commands to set caption
58 % beside tables/images
59 \usepackage{sidecap}
60
61 \newcommand{\TabBesBeg}{%
62  \let\MyTable\table
63  \let\MyEndtable\endtable
64  \renewenvironment{table}{\begin{SCtable}}{\end{SCtable}}}
65
66 \newcommand{\TabBesEnd}{%
67  \let\table\MyTable
68  \let\endtable\MyEndtable}
69
70 \newcommand{\FigBesBeg}{%
71  \let\MyFigure\figure
72  \let\MyEndfigure\endfigure
73  \renewenvironment{figure}{\begin{SCfigure}}{\end{SCfigure}}}
74
75 \newcommand{\FigBesEnd}{%
76  \let\figure\MyFigure
77  \let\endfigure\MyEndfigure}
78
79 % enables calculation of values,
80 \usepackage{calc}
81
82 % provides special table cell alignments
83 \usepackage{dcolumn}
84
85 % increase the bottom float placement fraction
86 \renewcommand{\bottomfraction}{0.5}
87
88 % avoids that floats are placed before their
89 % corresponding section starts
90 \let\mySection\section\renewcommand{\section}{\suppressfloats[t]\mySection}
91
92 % speed up the longtable calculation
93 \setcounter{LTchunksize}{100}
94
95 % used for colored tables
96 \@ifundefined{textcolor}
97  {\usepackage{color}}{}
98 \usepackage{colortbl}
99 \definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
100 \definecolor{lightgrey}{gray}{0.8}
101
102 % used for multirows
103 \usepackage{multirow}
104 %\renewcommand{\multirowsetup}{\centering}
105
106 % used for book-style tables
107 \usepackage{booktabs}
108
109 % used to have extra space in table cells
110 \@ifundefined{extrarowheight}
111  {\usepackage{array}}{}
112 \setlength{\extrarowheight}{2pt}
113
114 % used for customized tables
115 % ---
116 \newcolumntype{M}[1]
117  {>{\centering\hspace{0pt}}m{#1}}
118
119 \newcolumntype{S}[2]
120  {>{\centering\hspace{0pt}}m{(#1+(2\tabcolsep+\arrayrulewidth)*(1-#2))/#2}}
121
122 \newcolumntype{K}[1]
123  {>{\columncolor{#1}\hspace{0pt}}c}
124
125 \newcolumntype{V}{!{\vrule width 1.5pt}}
126
127 \newcolumntype{W}{!{\color{green}\vline}}
128 % ---
129
130 % insert additional vertical space of
131 % 1.5 mm between footnotes
132 \let\myFoot\footnote
133 \renewcommand{\footnote}[1]{\myFoot{#1\vspace{1.5mm}}}
134
135 % enable algorithm floats to be referenced
136 \newfloat{Xalgorithm}{tbp}{loa}
137 \floatname{Xalgorithm}{Algorithm}
138 \newcommand{\theHalgorithm}{\theHXalgorithm}
139 \renewenvironment{algorithm}[1][tbp]
140  {\begin{Xalgorithm}[#1]}{\end{Xalgorithm}}
141
142 % number algorithm floats within chapters
143 \numberwithin{Xalgorithm}{chapter}
144
145 % redefine the greyed out note
146 \renewenvironment{lyxgreyedout}
147  {\textcolor{blue}\bgroup}{\egroup}
148
149 % ------------------------------------
150 % used to check for needed LaTeX packages
151 \usepackage{ifthen}
152
153 % check for package arydshln
154 % used for tables with dashed lines
155 \newboolean{arydshln}
156 \IfFileExists{arydshln.sty}
157  {\usepackage{arydshln}
158   \setboolean{arydshln}{true}}
159  {\setboolean{arydshln}{false}}
160
161 % check for package marginnote
162 % used for margin notes
163 \newboolean{marginnote}
164 \IfFileExists{marginnote.sty}
165  {\usepackage{marginnote}
166   \let\marginpar\marginnote
167   \setboolean{marginnote}{true}}
168  {\setboolean{marginnote}{false}}
169 \end_preamble
170 \options fleqn,liststotoc,bibtotoc,idxtotoc,BCOR7.5mm,titlepage,tablecaptionabove
171 \language english
172 \inputencoding auto
173 \font_roman default
174 \font_sans default
175 \font_typewriter default
176 \font_default_family default
177 \font_sc false
178 \font_osf false
179 \font_sf_scale 100
180 \font_tt_scale 100
181 \graphics default
182 \paperfontsize 12
183 \spacing single
184 \papersize default
185 \use_geometry false
186 \use_amsmath 2
187 \use_esint 0
188 \cite_engine basic
189 \use_bibtopic false
190 \paperorientation portrait
191 \secnumdepth 3
192 \tocdepth 3
193 \paragraph_separation skip
194 \defskip medskip
195 \quotes_language english
196 \papercolumns 1
197 \papersides 2
198 \paperpagestyle default
199 \bullet 1 1 34 -1
200 \bullet 2 2 35 -1
201 \bullet 3 2 7 -1
202 \tracking_changes false
203 \output_changes false
204 \author "" 
205 \author "" 
206 \end_header
207
208 \begin_body
209
210 \begin_layout Title
211 LyX's detailed Figure, Table, Floats, Notes, Boxes and External Material
212  manual
213 \end_layout
214
215 \begin_layout Author
216 by the LyX Team
217 \begin_inset Foot
218 status collapsed
219
220 \begin_layout Standard
221 \noindent
222 If you have comments or error corrections, please send them to the LyX Documenta
223 tion mailing list: 
224 \family typewriter
225
226 \begin_inset ERT
227 status open
228
229 \begin_layout Standard
230
231
232 \backslash
233 href{mailto:lyx-docs@lists.lyx.org?subject=LyX's ExtendedInsets manual}{
234 \end_layout
235
236 \end_inset
237
238 lyx-docs@lists.lyx.org
239 \begin_inset ERT
240 status collapsed
241
242 \begin_layout Standard
243
244 }
245 \end_layout
246
247 \end_inset
248
249
250 \end_layout
251
252 \end_inset
253
254
255 \begin_inset Note Note
256 status collapsed
257
258 \begin_layout Standard
259 original author: Uwe Stöhr
260 \end_layout
261
262 \end_inset
263
264
265 \newline
266
267 \newline
268
269 \family sans
270 Version 1.5.1-0
271 \end_layout
272
273 \begin_layout Standard
274 \begin_inset LatexCommand tableofcontents
275
276 \end_inset
277
278
279 \end_layout
280
281 \begin_layout Standard
282 \begin_inset Note Note
283 status open
284
285 \begin_layout Standard
286 To export all parts of this document to PDF, PS, or DVI the LaTeX-packages
287  
288 \series bold
289 arydshln
290 \series default
291  and 
292 \series bold
293 marginnote
294 \series default
295  must be installed.
296  If they are not installed you can export the document anyway but the sections
297  where the packages are required won't appear in the output.
298 \end_layout
299
300 \begin_layout Standard
301 The latest PDF-version of this document can be found here:
302 \newline
303
304 \series bold
305 http://wiki.lyx.org/LyX/DocumentationDevelopment#EmbeddedObjects
306 \end_layout
307
308 \end_inset
309
310
311 \end_layout
312
313 \begin_layout Chapter
314 Figures
315 \begin_inset LatexCommand label
316 name "cha:Figures"
317
318 \end_inset
319
320
321 \begin_inset LatexCommand index
322 name "Figures"
323
324 \end_inset
325
326
327 \begin_inset LatexCommand index
328 name "Graphics|see{Figures}"
329
330 \end_inset
331
332
333 \end_layout
334
335 \begin_layout Section
336 Graphics Dialog
337 \begin_inset LatexCommand index
338 name "Figures ! Graphics Dialog"
339
340 \end_inset
341
342
343 \begin_inset LatexCommand label
344 name "sec:Graphics-Dialog"
345
346 \end_inset
347
348
349 \end_layout
350
351 \begin_layout Standard
352 To insert an image into your document, place the cursor at the text position
353  you want and click on the toolbar icon 
354 \begin_inset Graphics
355         filename ../images/dialog-show-new-inset_graphics.xpm
356         scale 85
357         scaleBeforeRotation
358
359 \end_inset
360
361  or use the menu 
362 \family sans
363 Insert\SpecialChar \menuseparator
364 Graphics
365 \family default
366 .
367  Then a dialog will appear to choose the file to load.
368  The image will appear in the output exactly at the position where it is
369  in the text.
370 \end_layout
371
372 \begin_layout Standard
373 The graphics dialog can be called at any time by right-clicking on an image.
374  This dialog has three tabs:
375 \end_layout
376
377 \begin_layout Description
378
379 \family sans
380 Graphics
381 \family default
382  Here you can choose an image file and adjust its appearance in the output.
383  The available units for the image size are explained in appendix\InsetSpace ~
384
385 \begin_inset LatexCommand ref
386 reference "cha:Units-available-in"
387
388 \end_inset
389
390 .
391 \newline
392 You can rotate images counter-clockwise by setting a rotation angle and
393  a rotation origin.
394  The image will also be rotated inside LyX.
395 \newline
396 Images can be scaled by using
397  a percentage value or by setting the width and height explicitly.
398  If you set only the width or only the height, the other size will be determined
399  automatically.
400  If you set both, then the image will be transformed to the given size,
401  possibly distorting it.
402  To prevent the image from distortion, use the option 
403 \family sans
404 Maintain aspect ratio
405 \family default
406 .
407  The image will then be scaled so that its width and height don't exceed
408  the specified dimensions.
409 \newline
410 Images can be opened in a program of your choice
411  when pressing the 
412 \family sans
413 Edit
414 \family default
415  button.
416  The program can be set for every image format in the file format settings
417  in LyX's preferences.
418 \end_layout
419
420 \begin_layout Description
421
422 \family sans
423 Clipping
424 \family default
425  Alternatively to the usage of scaling units it is possible to set image
426  coordinates to adjust the height and width of the image in the output.
427  The coordinates can also be calculated automatically by pressing the button
428  
429 \family sans
430 Get\InsetSpace ~
431 from\InsetSpace ~
432 File
433 \family default
434 .
435  The option 
436 \family sans
437 Clip\InsetSpace ~
438 to\InsetSpace ~
439 bounding\InsetSpace ~
440 box
441 \family default
442  will only print the image region within the given coordinates.
443  Normally you don't need to take care about image coordinates and can ignore
444  this tab.
445 \end_layout
446
447 \begin_layout Description
448
449 \family sans
450 Extra\InsetSpace ~
451 options
452 \family default
453  In this tab you can modify the appearance of the image within LyX and set
454  the image to be a subfigure of a figure float with an own caption.
455  Subfigures are explained in section\InsetSpace ~
456
457 \begin_inset LatexCommand ref
458 reference "sec:Figure-Floats"
459
460 \end_inset
461
462 .
463 \newline
464  LaTeX experts can also specify on this tab additional LaTeX options.
465 \newline
466  The
467  option 
468 \family sans
469 Draft\InsetSpace ~
470 mode
471 \family default
472  makes the image appear in the output only as a frame with the size of the
473  image.
474 \newline
475 The 
476 \family sans
477 Don't\InsetSpace ~
478 unzip\InsetSpace ~
479 on\InsetSpace ~
480 export
481 \family default
482  option only affects zipped EPS-graphics, e.\InsetSpace \thinspace{}
483 g.\InsetSpace ~
484
485 \emph on
486 x.eps.gz
487 \emph default
488 .
489  When the option is used the images will not be unzipped on export, since
490  LaTeX can handle them as they are.
491 \newline
492 Zipped EPS-graphics are useful to save
493  disk space when you choose PostScript as output format, see appendix\InsetSpace ~
494
495 \begin_inset LatexCommand ref
496 reference "sec:PostScript"
497
498 \end_inset
499
500 .
501  To zip EPS-graphics, use the following commands in a UNIX-shell or a Windows
502  console:
503 \newline
504
505 \series bold
506 gzip x.eps
507 \series default
508
509 \newline
510
511 \series bold
512 zgrep %%Bounding x.eps.gz > x.eps.bb
513 \series default
514
515 \newline
516 The second command creates the bounding box file 
517 \begin_inset Quotes eld
518 \end_inset
519
520 x.eps.bb
521 \begin_inset Quotes erd
522 \end_inset
523
524  that is needed by LaTeX for zipped graphics.
525 \end_layout
526
527 \begin_layout Standard
528 \begin_inset VSpace bigskip
529 \end_inset
530
531
532 \end_layout
533
534 \begin_layout Standard
535 This is an example image in EPS format
536 \begin_inset Foot
537 status collapsed
538
539 \begin_layout Standard
540 Image formats are explained in section\InsetSpace ~
541
542 \begin_inset LatexCommand ref
543 reference "sec:Image-Formats"
544
545 \end_inset
546
547 .
548 \end_layout
549
550 \end_inset
551
552  within a separate, horizontally centered paragraph:
553 \end_layout
554
555 \begin_layout Standard
556 \align center
557 \begin_inset Graphics
558         filename clipart/mobius.eps
559         display color
560         scale 70
561         scaleBeforeRotation
562         rotateOrigin center
563
564 \end_inset
565
566
567 \end_layout
568
569 \begin_layout Standard
570 This is the same image like the one above but in draft mode:
571 \end_layout
572
573 \begin_layout Standard
574 \align center
575 \begin_inset Graphics
576         filename clipart/mobius.eps
577         display color
578         scale 70
579         draft
580         scaleBeforeRotation
581         rotateOrigin center
582
583 \end_inset
584
585
586 \end_layout
587
588 \begin_layout Section
589 Figure Floats
590 \begin_inset LatexCommand label
591 name "sec:Figure-Floats"
592
593 \end_inset
594
595
596 \begin_inset LatexCommand index
597 name "Floats ! Figures"
598
599 \end_inset
600
601
602 \begin_inset LatexCommand index
603 name "Figures ! Floats"
604
605 \end_inset
606
607
608 \end_layout
609
610 \begin_layout Standard
611 For general explanations about floats, have a look at section\InsetSpace ~
612
613 \begin_inset LatexCommand ref
614 reference "sec:FloatIntroduction"
615
616 \end_inset
617
618 .
619 \end_layout
620
621 \begin_layout Standard
622 The toolbar button 
623 \begin_inset Graphics
624         filename ../images/float-insert_figure.xpm
625         scale 85
626         scaleBeforeRotation
627
628 \end_inset
629
630  and the menu 
631 \family sans
632 Insert\SpecialChar \menuseparator
633 Float\SpecialChar \menuseparator
634 Figure
635 \family default
636  inserts a float with a caption that has the label 
637 \begin_inset Quotes eld
638 \end_inset
639
640 Figure\InsetSpace ~
641 #:
642 \begin_inset Quotes erd
643 \end_inset
644
645  (# is the actual number).
646  You can insert the image above the caption, like in Figure\InsetSpace ~
647
648 \begin_inset LatexCommand ref
649 reference "fig:kill-plat"
650
651 \end_inset
652
653  or below the caption, like in Figure\InsetSpace ~
654
655 \begin_inset LatexCommand ref
656 reference "fig:escher"
657
658 \end_inset
659
660 .
661  More about the caption placement is described in section\InsetSpace ~
662
663 \begin_inset LatexCommand ref
664 reference "sec:Caption-Placement"
665
666 \end_inset
667
668 .
669 \end_layout
670
671 \begin_layout Standard
672 \begin_inset Float figure
673 wide false
674 sideways false
675 status open
676
677 \begin_layout Standard
678 \align center
679 \begin_inset Graphics
680         filename clipart/platypus.eps
681         display color
682         width 50col%
683         scaleBeforeRotation
684         rotateOrigin center
685
686 \end_inset
687
688
689 \end_layout
690
691 \begin_layout Standard
692 \begin_inset Caption
693
694 \begin_layout Standard
695 \begin_inset LatexCommand label
696 name "fig:kill-plat"
697
698 \end_inset
699
700 A severely distorted platypus in a float.
701 \end_layout
702
703 \end_inset
704
705
706 \end_layout
707
708 \end_inset
709
710
711 \end_layout
712
713 \begin_layout Standard
714 \begin_inset Float figure
715 wide false
716 sideways false
717 status open
718
719 \begin_layout Standard
720 \begin_inset Caption
721
722 \begin_layout Standard
723 \begin_inset LatexCommand label
724 name "fig:escher"
725
726 \end_inset
727
728 M.C.
729  Escher on acid.
730 \end_layout
731
732 \end_inset
733
734
735 \end_layout
736
737 \begin_layout Standard
738 \align center
739 \begin_inset Graphics
740         filename clipart/escher-lsd.eps
741         display color
742         scale 80
743         scaleBeforeRotation
744         rotateOrigin center
745
746 \end_inset
747
748
749 \end_layout
750
751 \end_inset
752
753
754 \end_layout
755
756 \begin_layout Standard
757 \begin_inset LatexCommand index
758 name "References ! to Figures"
759
760 \end_inset
761
762 Figure\InsetSpace ~
763
764 \begin_inset LatexCommand ref
765 reference "fig:kill-plat"
766
767 \end_inset
768
769  and 
770 \begin_inset LatexCommand ref
771 reference "fig:escher"
772
773 \end_inset
774
775  are examples of referenced figures.
776  Figures can be referenced in the text by referencing their label.
777  To do this insert a label in the caption using the menu 
778 \family sans
779 Insert\SpecialChar \menuseparator
780 Label
781 \family default
782  or the toolbar button 
783 \begin_inset Graphics
784         filename ../images/label-insert.xpm
785         scale 85
786         scaleBeforeRotation
787
788 \end_inset
789
790 .
791  You can now refer to the label using the menu 
792 \family sans
793 Insert\SpecialChar \menuseparator
794 Cross\InsetSpace ~
795 reference
796 \family default
797  or the toolbar button 
798 \begin_inset Graphics
799         filename ../images/dialog-show-new-inset_ref.xpm
800         scale 85
801         scaleBeforeRotation
802
803 \end_inset
804
805 .
806  It is important to use references to floats, rather than using vague references
807  like 
808 \begin_inset Quotes eld
809 \end_inset
810
811 the figure above
812 \begin_inset Quotes erd
813 \end_inset
814
815 , because as LaTeX will reposition the floats in the final document, it
816  might not be 
817 \begin_inset Quotes eld
818 \end_inset
819
820 above
821 \begin_inset Quotes erd
822 \end_inset
823
824  at all.
825 \newline
826 Referencing is explained in detail in section\InsetSpace ~
827
828 \begin_inset LatexCommand ref
829 reference "sec:Referencing-Floats"
830
831 \end_inset
832
833 .
834 \end_layout
835
836 \begin_layout Standard
837 Normally only one image is inserted to a figure float, but sometimes you
838  might want to use two images with separate subcaptions.
839  This can be set in the tab 
840 \family sans
841 Extra\InsetSpace ~
842 options
843 \family default
844  of the graphics dialog.
845  Choose there the option 
846 \family sans
847 Subfigure
848 \family default
849  and enter the subcaption for the image in the caption field.
850  Note that only the main caption of the float is added to the List of Figures.
851 \newline
852 Ref
853 erencing subfigures is explained in section\InsetSpace ~
854
855 \begin_inset LatexCommand ref
856 reference "sub:Referencing-Subfigures"
857
858 \end_inset
859
860 .
861 \end_layout
862
863 \begin_layout Standard
864 Figure\InsetSpace ~
865
866 \begin_inset LatexCommand ref
867 reference "fig:Two-distorted-images"
868
869 \end_inset
870
871  is an example of a figure float with two images set side by side.
872  You can also set the images one below the other.
873 \end_layout
874
875 \begin_layout Standard
876 \begin_inset Float figure
877 wide false
878 sideways false
879 status open
880
881 \begin_layout Standard
882
883 \hfill
884
885 \begin_inset Graphics
886         filename clipart/escher-lsd.eps
887         width 45col%
888         scaleBeforeRotation
889         subcaption
890         subcaptionText "Undefinable structure"
891
892 \end_inset
893
894
895 \hfill
896
897 \begin_inset Graphics
898         filename clipart/platypus.eps
899         lyxscale 60
900         width 45col%
901         scaleBeforeRotation
902         subcaption
903         subcaptionText "\label{fig:Platypus} Platypus"
904
905 \end_inset
906
907
908 \hfill
909
910 \end_layout
911
912 \begin_layout Standard
913 \begin_inset Caption
914
915 \begin_layout Standard
916 \begin_inset LatexCommand label
917 name "fig:Two-distorted-images"
918
919 \end_inset
920
921 Two distorted images.
922 \end_layout
923
924 \end_inset
925
926
927 \end_layout
928
929 \end_inset
930
931
932 \end_layout
933
934 \begin_layout Section
935 Image Formats
936 \begin_inset LatexCommand label
937 name "sec:Image-Formats"
938
939 \end_inset
940
941
942 \begin_inset LatexCommand index
943 name "Image Formats"
944
945 \end_inset
946
947
948 \begin_inset LatexCommand index
949 name "Figures ! Image Formats"
950
951 \end_inset
952
953
954 \end_layout
955
956 \begin_layout Standard
957 You can insert images in any known file format.
958  But as explained in appendix\InsetSpace ~
959
960 \begin_inset LatexCommand ref
961 reference "cha:Output-File-Formats"
962
963 \end_inset
964
965 , every output document format allows only a few image formats.
966  LyX uses therefore the program 
967 \family typewriter
968 Imagemagick
969 \family default
970  in the background to convert the images to the right format.
971  To increase your work flow by avoiding these conversions in the background,
972  you can use only the image formats that can directly be embedded in the
973  output file format.
974  The output file formats are explained in appendix\InsetSpace ~
975
976 \begin_inset LatexCommand ref
977 reference "cha:Output-File-Formats"
978
979 \end_inset
980
981 .
982 \end_layout
983
984 \begin_layout Standard
985 Similar to fonts there are two types of image formats:
986 \end_layout
987
988 \begin_layout Description
989 Bitmap\InsetSpace ~
990 images consist of pixel values, often in a compressed form.
991  They are therefore not fully scalable and look pixeled in large zooms.
992  Well-known bitmap image formats are 
993 \begin_inset Quotes eld
994 \end_inset
995
996 Graphics Interchange Format
997 \begin_inset Quotes erd
998 \end_inset
999
1000  (GIF, file extension 
1001 \begin_inset Quotes eld
1002 \end_inset
1003
1004
1005 \family typewriter
1006 .gif
1007 \family default
1008
1009 \begin_inset Quotes erd
1010 \end_inset
1011
1012 )
1013 \begin_inset LatexCommand index
1014 name "GIF|see{Image formats}"
1015
1016 \end_inset
1017
1018
1019 \begin_inset Quotes eld
1020 \end_inset
1021
1022 Portable Network Graphics
1023 \begin_inset Quotes erd
1024 \end_inset
1025
1026  (PNG, file extension 
1027 \begin_inset Quotes eld
1028 \end_inset
1029
1030
1031 \family typewriter
1032 .png
1033 \family default
1034
1035 \begin_inset Quotes erd
1036 \end_inset
1037
1038 )
1039 \begin_inset LatexCommand index
1040 name "PNG|see{Image formats}"
1041
1042 \end_inset
1043
1044 , and 
1045 \begin_inset Quotes eld
1046 \end_inset
1047
1048 Joint Photographic Experts Group
1049 \begin_inset Quotes erd
1050 \end_inset
1051
1052  (JPG, file extension 
1053 \begin_inset Quotes eld
1054 \end_inset
1055
1056
1057 \family typewriter
1058 .jpg
1059 \family default
1060
1061 \begin_inset Quotes erd
1062 \end_inset
1063
1064  or 
1065 \begin_inset Quotes eld
1066 \end_inset
1067
1068
1069 \family typewriter
1070 .jpeg
1071 \family default
1072
1073 \begin_inset Quotes erd
1074 \end_inset
1075
1076 )
1077 \begin_inset LatexCommand index
1078 name "JPG|see{Image formats}"
1079
1080 \end_inset
1081
1082 .
1083 \end_layout
1084
1085 \begin_layout Description
1086 Vector\InsetSpace ~
1087 images consist of vectors and can therefore be scaled to any size
1088  without data loss.
1089  The scaling ability is necessary if you want to create presentations, because
1090  presentations are always scaled by the video projector.
1091  Scaling is also useful for online documents to let the user zoom into diagrams.
1092 \newline
1093 W
1094 ell-known scalable image formats are 
1095 \begin_inset Quotes eld
1096 \end_inset
1097
1098 Scalable Vector Graphics
1099 \begin_inset Quotes erd
1100 \end_inset
1101
1102  (SVG, file extension 
1103 \begin_inset Quotes eld
1104 \end_inset
1105
1106
1107 \family typewriter
1108 .svg
1109 \family default
1110
1111 \begin_inset Quotes erd
1112 \end_inset
1113
1114 )
1115 \begin_inset LatexCommand index
1116 name "SVG|see{Image formats}"
1117
1118 \end_inset
1119
1120
1121 \begin_inset Quotes eld
1122 \end_inset
1123
1124 Encapsulated PostScript
1125 \begin_inset Quotes erd
1126 \end_inset
1127
1128  (EPS, file extension 
1129 \begin_inset Quotes eld
1130 \end_inset
1131
1132
1133 \family typewriter
1134 .eps
1135 \family default
1136
1137 \begin_inset Quotes erd
1138 \end_inset
1139
1140 )
1141 \begin_inset LatexCommand index
1142 name "EPS|see{Image formats}"
1143
1144 \end_inset
1145
1146
1147 \begin_inset Quotes eld
1148 \end_inset
1149
1150 Portable Document Format
1151 \begin_inset Quotes erd
1152 \end_inset
1153
1154  (PDF, file extension 
1155 \begin_inset Quotes eld
1156 \end_inset
1157
1158
1159 \family typewriter
1160 .pdf
1161 \family default
1162
1163 \begin_inset Quotes erd
1164 \end_inset
1165
1166 )
1167 \begin_inset LatexCommand index
1168 name "PDF"
1169
1170 \end_inset
1171
1172 , and 
1173 \begin_inset Quotes eld
1174 \end_inset
1175
1176 Windows Metafile
1177 \begin_inset Quotes erd
1178 \end_inset
1179
1180  (WMF, file extension 
1181 \begin_inset Quotes eld
1182 \end_inset
1183
1184
1185 \family typewriter
1186 .wmf
1187 \family default
1188
1189 \begin_inset Quotes erd
1190 \end_inset
1191
1192 )
1193 \begin_inset LatexCommand index
1194 name "SVG|see{Image formats}"
1195
1196 \end_inset
1197
1198 .
1199  We wrote 
1200 \begin_inset Quotes eld
1201 \end_inset
1202
1203 can be
1204 \begin_inset Quotes erd
1205 \end_inset
1206
1207 , because you can convert any bitmap image to a PDF or EPS-image and the
1208  result will still be a bitmap image.
1209  In this cases only a header with the image properties is added to the original
1210  image
1211 \begin_inset Foot
1212 status open
1213
1214 \begin_layout Standard
1215 In the case of PDF, the original image is additionally compressed.
1216 \end_layout
1217
1218 \end_inset
1219
1220 .
1221  The PDF-files generated by 
1222 \family typewriter
1223 Adobe Photoshop
1224 \family default
1225  are for example bitmap images.
1226 \end_layout
1227
1228 \begin_layout Standard
1229 Normally it is not possible to convert a bitmap image into a scalable one,
1230  only vice versa.
1231  Only the image formats PDF and EPS can directly be embedded to PDF and
1232  PostScript output files, respectively.
1233  SVG and WMF-images are recalculated to bitmaps when the output file is
1234  generated because there is currently no adequate WMF/SVG
1235 \begin_inset Formula $\to$
1236 \end_inset
1237
1238 PDF/EPS converter available.
1239 \end_layout
1240
1241 \begin_layout Chapter
1242 Tables
1243 \begin_inset LatexCommand label
1244 name "cha:Tables"
1245
1246 \end_inset
1247
1248
1249 \begin_inset LatexCommand index
1250 name "Table"
1251
1252 \end_inset
1253
1254
1255 \end_layout
1256
1257 \begin_layout Section
1258 Introduction
1259 \begin_inset LatexCommand index
1260 name "Table ! Introduction"
1261
1262 \end_inset
1263
1264
1265 \end_layout
1266
1267 \begin_layout Standard
1268 You can insert a table using either the toolbar button 
1269 \begin_inset Graphics
1270         filename ../images/tabular-insert.xpm
1271         scale 85
1272         scaleBeforeRotation
1273
1274 \end_inset
1275
1276  or the menu 
1277 \family sans
1278 Insert\SpecialChar \menuseparator
1279 Table
1280 \family default
1281 .
1282  The toolbar button offers you a graphical selection: Move the mouse to
1283  set the column/row number of the table that should be created and then
1284  press a mouse button.
1285  When you use the menu to create a table, a dialog will appear, asking you
1286  for the number of rows and columns.
1287 \newline
1288  The default table has lines around any
1289  cell and the first row appears separated from the rest of the table.
1290  This separation occurs due to a double line: The cells of the first row
1291  have a line below them and the cells of the second row have a line above
1292  them.
1293  Here is an example table:
1294 \end_layout
1295
1296 \begin_layout Standard
1297 \align center
1298 \begin_inset Tabular
1299 <lyxtabular version="3" rows="4" columns="4">
1300 <features>
1301 <column alignment="center" valignment="top" leftline="true" width="0">
1302 <column alignment="center" valignment="top" leftline="true" width="0">
1303 <column alignment="center" valignment="top" leftline="true" width="0">
1304 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
1305 <row topline="true" bottomline="true">
1306 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1307 \begin_inset Text
1308
1309 \begin_layout Standard
1310
1311 \end_layout
1312
1313 \end_inset
1314 </cell>
1315 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1316 \begin_inset Text
1317
1318 \begin_layout Standard
1319
1320 \family roman
1321 \series medium
1322 \shape up
1323 \size normal
1324 \emph off
1325 \bar no
1326 \noun off
1327 \color none
1328 1
1329 \end_layout
1330
1331 \end_inset
1332 </cell>
1333 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1334 \begin_inset Text
1335
1336 \begin_layout Standard
1337 2
1338 \end_layout
1339
1340 \end_inset
1341 </cell>
1342 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1343 \begin_inset Text
1344
1345 \begin_layout Standard
1346 3
1347 \end_layout
1348
1349 \end_inset
1350 </cell>
1351 </row>
1352 <row topline="true">
1353 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1354 \begin_inset Text
1355
1356 \begin_layout Standard
1357
1358 \family roman
1359 \series medium
1360 \shape up
1361 \size normal
1362 \emph off
1363 \bar no
1364 \noun off
1365 \color none
1366 A
1367 \end_layout
1368
1369 \end_inset
1370 </cell>
1371 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1372 \begin_inset Text
1373
1374 \begin_layout Standard
1375
1376 \end_layout
1377
1378 \end_inset
1379 </cell>
1380 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1381 \begin_inset Text
1382
1383 \begin_layout Standard
1384
1385 \end_layout
1386
1387 \end_inset
1388 </cell>
1389 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1390 \begin_inset Text
1391
1392 \begin_layout Standard
1393
1394 \end_layout
1395
1396 \end_inset
1397 </cell>
1398 </row>
1399 <row topline="true">
1400 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1401 \begin_inset Text
1402
1403 \begin_layout Standard
1404
1405 \family roman
1406 \series medium
1407 \shape up
1408 \size normal
1409 \emph off
1410 \bar no
1411 \noun off
1412 \color none
1413 B
1414 \end_layout
1415
1416 \end_inset
1417 </cell>
1418 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1419 \begin_inset Text
1420
1421 \begin_layout Standard
1422
1423 \end_layout
1424
1425 \end_inset
1426 </cell>
1427 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1428 \begin_inset Text
1429
1430 \begin_layout Standard
1431
1432 \end_layout
1433
1434 \end_inset
1435 </cell>
1436 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1437 \begin_inset Text
1438
1439 \begin_layout Standard
1440
1441 \end_layout
1442
1443 \end_inset
1444 </cell>
1445 </row>
1446 <row topline="true" bottomline="true">
1447 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1448 \begin_inset Text
1449
1450 \begin_layout Standard
1451
1452 \family roman
1453 \series medium
1454 \shape up
1455 \size normal
1456 \emph off
1457 \bar no
1458 \noun off
1459 \color none
1460 C
1461 \end_layout
1462
1463 \end_inset
1464 </cell>
1465 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1466 \begin_inset Text
1467
1468 \begin_layout Standard
1469
1470 \end_layout
1471
1472 \end_inset
1473 </cell>
1474 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1475 \begin_inset Text
1476
1477 \begin_layout Standard
1478
1479 \end_layout
1480
1481 \end_inset
1482 </cell>
1483 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1484 \begin_inset Text
1485
1486 \begin_layout Standard
1487
1488 \end_layout
1489
1490 \end_inset
1491 </cell>
1492 </row>
1493 </lyxtabular>
1494
1495 \end_inset
1496
1497
1498 \end_layout
1499
1500 \begin_layout Section
1501 Table Dialog
1502 \begin_inset LatexCommand index
1503 name "Table ! Dialog"
1504
1505 \end_inset
1506
1507
1508 \end_layout
1509
1510 \begin_layout Standard
1511 You can alter a table by clicking on it with the right mouse button, which
1512  brings up the table dialog.
1513  Here you can adjust the settings of that cell and row/column respectively
1514  where the cursor is currently placed.
1515  Most of the dialog options also work on selections.
1516  This means if you select more cells, columns or rows, the action is done
1517  for the whole selection.
1518  Note that there is a difference between selecting the 
1519 \emph on
1520 contents
1521 \emph default
1522  of the cell, and the cell itself.
1523  You can alter tables with the following tabs of the table dialog:
1524 \end_layout
1525
1526 \begin_layout Description
1527
1528 \family sans
1529 Table\InsetSpace ~
1530 Settings
1531 \family default
1532  Here you can set the horizontal alignment and the width of the current
1533  column.
1534  When you have set a width you can also adjust the vertical alignment of
1535  the current row.
1536  A given width will allow the cell to have line breaks and multiple paragraphs
1537  of text, see section\InsetSpace ~
1538
1539 \begin_inset LatexCommand ref
1540 reference "sub:Multiple-Lines-in"
1541
1542 \end_inset
1543
1544 .
1545  If you set no width, the column is as wide as their widest cell content
1546  is.
1547 \newline
1548 Furthermore, you can mark one or multiple cells of one row as a multicolumn
1549  cell, see section\InsetSpace ~
1550
1551 \begin_inset LatexCommand ref
1552 reference "sub:Multicolumns"
1553
1554 \end_inset
1555
1556 .
1557 \newline
1558 The rotate check boxes rotates the current cell, a selection, or the whole
1559  table counter-clockwise by 90°.
1560  The rotation is not shown within LyX, only in the output.
1561 \newline
1562
1563 \begin_inset Note Greyedout
1564 status open
1565
1566 \begin_layout Standard
1567
1568 \series bold
1569 Note:
1570 \series default
1571  Not all DVI-viewers are able to display rotations.
1572 \end_layout
1573
1574 \end_inset
1575
1576
1577 \newline
1578 It is also possible to enter a LaTeX-argument which is needed for special
1579  table formattings, see section\InsetSpace ~
1580
1581 \begin_inset LatexCommand ref
1582 reference "sub:Multicolumn-Calculations"
1583
1584 \end_inset
1585
1586  and 
1587 \begin_inset LatexCommand ref
1588 reference "sec:Colored-Tables"
1589
1590 \end_inset
1591
1592 .
1593 \end_layout
1594
1595 \begin_layout Description
1596
1597 \family sans
1598 Borders
1599 \family default
1600  In this tab you can add and delete border lines for the current row/column.
1601 \newline
1602 Using
1603  the style option 
1604 \family sans
1605 Formal
1606 \family default
1607  will convert the table to a formal table as described in section\InsetSpace ~
1608
1609 \begin_inset LatexCommand ref
1610 reference "sec:Formal-Tables"
1611
1612 \end_inset
1613
1614 .
1615 \newline
1616 You can also add here space to table rows as decribed in section\InsetSpace ~
1617
1618 \begin_inset LatexCommand ref
1619 reference "sub:Row-Spacing"
1620
1621 \end_inset
1622
1623 .
1624 \end_layout
1625
1626 \begin_layout Description
1627
1628 \family sans
1629 Longtable
1630 \family default
1631  This tab is to make a table a so called 
1632 \begin_inset Quotes eld
1633 \end_inset
1634
1635
1636 \emph on
1637 longtable
1638 \emph default
1639
1640 \begin_inset Quotes erd
1641 \end_inset
1642
1643  that can run over several pages.
1644  Section\InsetSpace ~
1645
1646 \begin_inset LatexCommand ref
1647 reference "sec:Longtables"
1648
1649 \end_inset
1650
1651  and 
1652 \begin_inset LatexCommand ref
1653 reference "sec:Special-Longtable-Issues"
1654
1655 \end_inset
1656
1657  describe the longtable features in detail.
1658 \end_layout
1659
1660 \begin_layout Standard
1661 When the table toolbar is opened, you can move the cursor with the arrow
1662  keys from cell to cell and the property of the current cell will immediately
1663  be displayed in the dialog.
1664 \end_layout
1665
1666 \begin_layout Section
1667 Table Toolbar
1668 \begin_inset LatexCommand index
1669 name "Table ! Toolbar"
1670
1671 \end_inset
1672
1673
1674 \end_layout
1675
1676 \begin_layout Standard
1677 The table toolbar is an alternative to the table dialog to be able to alter
1678  tables faster.
1679  It should normally appear at the bottom of LyX's main window when the cursor
1680  is inside a table.
1681  You can alternatively switch it on to appear always, by right-clicking
1682  in LyX's main menu bar.
1683 \end_layout
1684
1685 \begin_layout Standard
1686 The toolbar has the following icons:
1687 \end_layout
1688
1689 \begin_layout Labeling
1690 \labelwidthstring 00.00.0000
1691 \begin_inset Graphics
1692         filename ../images/tabular-feature_append-row.xpm
1693         scaleBeforeRotation
1694
1695 \end_inset
1696
1697  adds a row below the current cell or selection
1698 \end_layout
1699
1700 \begin_layout Labeling
1701 \labelwidthstring 00.00.0000
1702 \begin_inset Graphics
1703         filename ../images/tabular-feature_append-column.xpm
1704         scaleBeforeRotation
1705
1706 \end_inset
1707
1708  adds a column right beside the current cell or selection
1709 \end_layout
1710
1711 \begin_layout Labeling
1712 \labelwidthstring 00.00.0000
1713 \begin_inset Graphics
1714         filename ../images/tabular-feature_delete-row.xpm
1715         scaleBeforeRotation
1716
1717 \end_inset
1718
1719  deletes the current row or selection
1720 \end_layout
1721
1722 \begin_layout Labeling
1723 \labelwidthstring 00.00.0000
1724 \begin_inset Graphics
1725         filename ../images/tabular-feature_delete-column.xpm
1726         scaleBeforeRotation
1727
1728 \end_inset
1729
1730  deletes the current column or selection
1731 \end_layout
1732
1733 \begin_layout Labeling
1734 \labelwidthstring 00.00.0000
1735 \begin_inset Graphics
1736         filename ../images/tabular-feature_toggle-line-top.xpm
1737         scaleBeforeRotation
1738
1739 \end_inset
1740
1741  adds a line at the top of the current cell / row or of a selection
1742 \end_layout
1743
1744 \begin_layout Labeling
1745 \labelwidthstring 00.00.0000
1746 \begin_inset Graphics
1747         filename ../images/tabular-feature_toggle-line-bottom.xpm
1748         scaleBeforeRotation
1749
1750 \end_inset
1751
1752  adds a line at the bottom of the current cell / row or of a selection
1753 \end_layout
1754
1755 \begin_layout Labeling
1756 \labelwidthstring 00.00.0000
1757 \begin_inset Graphics
1758         filename ../images/tabular-feature_toggle-line-left.xpm
1759         scaleBeforeRotation
1760
1761 \end_inset
1762
1763  adds a line at the left side of the current cell / row or of a selection
1764 \end_layout
1765
1766 \begin_layout Labeling
1767 \labelwidthstring 00.00.0000
1768 \begin_inset Graphics
1769         filename ../images/tabular-feature_toggle-line-right.xpm
1770         scaleBeforeRotation
1771
1772 \end_inset
1773
1774  adds a line at the right side of the current cell / row or of a selection
1775 \end_layout
1776
1777 \begin_layout Labeling
1778 \labelwidthstring 00.00.0000
1779 \begin_inset Graphics
1780         filename ../images/tabular-feature_set-all-lines.xpm
1781         scaleBeforeRotation
1782
1783 \end_inset
1784
1785  adds lines around the current or selected cells - if the current cell no
1786  multicolumn this also affects the current row and column
1787 \end_layout
1788
1789 \begin_layout Labeling
1790 \labelwidthstring 00.00.0000
1791 \begin_inset Graphics
1792         filename ../images/tabular-feature_unset-all-lines.xpm
1793         scaleBeforeRotation
1794
1795 \end_inset
1796
1797  deletes all lines of the current or selected cells - if the current cell
1798  no multicolumn this also affects the current row and column
1799 \end_layout
1800
1801 \begin_layout Labeling
1802 \labelwidthstring 00.00.0000
1803 \begin_inset Graphics
1804         filename ../images/tabular-feature_align-left.xpm
1805         scaleBeforeRotation
1806
1807 \end_inset
1808
1809  left-aligns the content of the current cell / column
1810 \end_layout
1811
1812 \begin_layout Labeling
1813 \labelwidthstring 00.00.0000
1814 \begin_inset Graphics
1815         filename ../images/tabular-feature_align-center.xpm
1816         scaleBeforeRotation
1817
1818 \end_inset
1819
1820  centers the content of the current cell / column horizontally
1821 \end_layout
1822
1823 \begin_layout Labeling
1824 \labelwidthstring 00.00.0000
1825 \begin_inset Graphics
1826         filename ../images/tabular-feature_align-right.xpm
1827         scaleBeforeRotation
1828
1829 \end_inset
1830
1831  right-aligns the content of the current cell / column
1832 \end_layout
1833
1834 \begin_layout Labeling
1835 \labelwidthstring 00.00.0000
1836 \begin_inset Graphics
1837         filename ../images/tabular-feature_valign-top.xpm
1838         scaleBeforeRotation
1839
1840 \end_inset
1841
1842  aligns the content of the current cell vertically to the top
1843 \end_layout
1844
1845 \begin_layout Labeling
1846 \labelwidthstring 00.00.0000
1847 \begin_inset Graphics
1848         filename ../images/tabular-feature_valign-middle.xpm
1849         scaleBeforeRotation
1850
1851 \end_inset
1852
1853  centers the content of the current cell vertically
1854 \end_layout
1855
1856 \begin_layout Labeling
1857 \labelwidthstring 00.00.0000
1858 \begin_inset Graphics
1859         filename ../images/tabular-feature_valign-bottom.xpm
1860         scaleBeforeRotation
1861
1862 \end_inset
1863
1864  aligns the content of the current cell vertically to the bottom
1865 \end_layout
1866
1867 \begin_layout Labeling
1868 \labelwidthstring 00.00.0000
1869 \begin_inset Graphics
1870         filename ../images/tabular-feature_set-rotate-cell.xpm
1871         scaleBeforeRotation
1872
1873 \end_inset
1874
1875  rotates the current cell or selection counter-clockwise by 90°
1876 \end_layout
1877
1878 \begin_layout Labeling
1879 \labelwidthstring 00.00.0000
1880 \begin_inset Graphics
1881         filename ../images/tabular-feature_set-rotate-tabular.xpm
1882         scaleBeforeRotation
1883
1884 \end_inset
1885
1886  rotates the whole table counter-clockwise by 90°
1887 \end_layout
1888
1889 \begin_layout Labeling
1890 \labelwidthstring 00.00.0000
1891 \begin_inset Graphics
1892         filename ../images/tabular-feature_multicolumn.xpm
1893         scaleBeforeRotation
1894
1895 \end_inset
1896
1897  sets the current cell or selection as a multicolumn
1898 \end_layout
1899
1900 \begin_layout Standard
1901 \begin_inset Note Greyedout
1902 status open
1903
1904 \begin_layout Standard
1905
1906 \series bold
1907 Note:
1908 \series default
1909  For the output the vertical alignment of the first cell in a row is used
1910  for all following cells in the row.
1911 \end_layout
1912
1913 \end_inset
1914
1915
1916 \end_layout
1917
1918 \begin_layout Section
1919 Edit Table Menu
1920 \begin_inset LatexCommand index
1921 name "Table ! Edit Menu"
1922
1923 \end_inset
1924
1925
1926 \end_layout
1927
1928 \begin_layout Standard
1929 Additionally to the table dialog and toolbar, the menu 
1930 \family sans
1931 Edit\SpecialChar \menuseparator
1932 Table
1933 \family default
1934  allows you to add and delete border lines for the current row/column and
1935  to set the current selection as multicolumn.
1936  The menu is only available when the cursor is inside a table.
1937 \end_layout
1938
1939 \begin_layout Section
1940 Table Floats
1941 \begin_inset LatexCommand label
1942 name "sec:Table-Floats"
1943
1944 \end_inset
1945
1946
1947 \begin_inset LatexCommand index
1948 name "Floats ! Tables"
1949
1950 \end_inset
1951
1952
1953 \begin_inset LatexCommand index
1954 name "Table ! Floats"
1955
1956 \end_inset
1957
1958
1959 \end_layout
1960
1961 \begin_layout Standard
1962 For general explanations about floats, have a look at section\InsetSpace ~
1963
1964 \begin_inset LatexCommand ref
1965 reference "sec:FloatIntroduction"
1966
1967 \end_inset
1968
1969 .
1970 \end_layout
1971
1972 \begin_layout Standard
1973 \begin_inset Float table
1974 placement h
1975 wide false
1976 sideways false
1977 status open
1978
1979 \begin_layout Standard
1980 \begin_inset Caption
1981
1982 \begin_layout Standard
1983 \begin_inset LatexCommand label
1984 name "tab:a table float"
1985
1986 \end_inset
1987
1988 A table float.
1989 \end_layout
1990
1991 \end_inset
1992
1993
1994 \end_layout
1995
1996 \begin_layout Standard
1997 \align center
1998 \begin_inset Tabular
1999 <lyxtabular version="3" rows="3" columns="3">
2000 <features>
2001 <column alignment="center" valignment="top" leftline="true" width="0pt">
2002 <column alignment="center" valignment="top" leftline="true" width="0pt">
2003 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
2004 <row topline="true" bottomline="true">
2005 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2006 \begin_inset Text
2007
2008 \begin_layout Standard
2009
2010 \family roman
2011 \series medium
2012 \shape up
2013 \size normal
2014 \emph off
2015 \bar no
2016 \noun off
2017 \color none
2018 1
2019 \end_layout
2020
2021 \end_inset
2022 </cell>
2023 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2024 \begin_inset Text
2025
2026 \begin_layout Standard
2027
2028 \family roman
2029 \series medium
2030 \shape up
2031 \size normal
2032 \emph off
2033 \bar no
2034 \noun off
2035 \color none
2036 2
2037 \end_layout
2038
2039 \end_inset
2040 </cell>
2041 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2042 \begin_inset Text
2043
2044 \begin_layout Standard
2045
2046 \family roman
2047 \series medium
2048 \shape up
2049 \size normal
2050 \emph off
2051 \bar no
2052 \noun off
2053 \color none
2054 3
2055 \end_layout
2056
2057 \end_inset
2058 </cell>
2059 </row>
2060 <row topline="true">
2061 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2062 \begin_inset Text
2063
2064 \begin_layout Standard
2065
2066 \family roman
2067 \series medium
2068 \shape up
2069 \size normal
2070 \emph off
2071 \bar no
2072 \noun off
2073 \color none
2074 Joe
2075 \end_layout
2076
2077 \end_inset
2078 </cell>
2079 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2080 \begin_inset Text
2081
2082 \begin_layout Standard
2083
2084 \family roman
2085 \series medium
2086 \shape up
2087 \size normal
2088 \emph off
2089 \bar no
2090 \noun off
2091 \color none
2092 Mary
2093 \end_layout
2094
2095 \end_inset
2096 </cell>
2097 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2098 \begin_inset Text
2099
2100 \begin_layout Standard
2101
2102 \family roman
2103 \series medium
2104 \shape up
2105 \size normal
2106 \emph off
2107 \bar no
2108 \noun off
2109 \color none
2110 Ted
2111 \end_layout
2112
2113 \end_inset
2114 </cell>
2115 </row>
2116 <row topline="true" bottomline="true">
2117 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2118 \begin_inset Text
2119
2120 \begin_layout Standard
2121
2122 \family roman
2123 \series medium
2124 \shape up
2125 \size normal
2126 \emph off
2127 \bar no
2128 \noun off
2129 \color none
2130 \begin_inset Formula $\int x^{2}dx$
2131 \end_inset
2132
2133
2134 \end_layout
2135
2136 \end_inset
2137 </cell>
2138 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2139 \begin_inset Text
2140
2141 \begin_layout Standard
2142
2143 \family roman
2144 \series medium
2145 \shape up
2146 \size normal
2147 \emph off
2148 \bar no
2149 \noun off
2150 \color none
2151 \begin_inset Formula $\left[\begin{array}{cc}
2152 a & b\\
2153 c & d\end{array}\right]$
2154 \end_inset
2155
2156
2157 \end_layout
2158
2159 \end_inset
2160 </cell>
2161 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2162 \begin_inset Text
2163
2164 \begin_layout Standard
2165
2166 \family roman
2167 \series medium
2168 \shape up
2169 \size normal
2170 \emph off
2171 \bar no
2172 \noun off
2173 \color none
2174 \begin_inset Formula $1+1=2$
2175 \end_inset
2176
2177
2178 \end_layout
2179
2180 \end_inset
2181 </cell>
2182 </row>
2183 </lyxtabular>
2184
2185 \end_inset
2186
2187
2188 \end_layout
2189
2190 \end_inset
2191
2192
2193 \end_layout
2194
2195 \begin_layout Standard
2196 Table floats can be inserted using the menu 
2197 \family sans
2198 Insert\SpecialChar \menuseparator
2199 Float\SpecialChar \menuseparator
2200 Table
2201 \family default
2202  or the toolbar button 
2203 \begin_inset Graphics
2204         filename ../images/float-insert_table.xpm
2205         scale 85
2206         scaleBeforeRotation
2207
2208 \end_inset
2209
2210 .
2211 \end_layout
2212
2213 \begin_layout Standard
2214 The float appears as a collapsible box with a caption that has the label
2215  
2216 \begin_inset Quotes eld
2217 \end_inset
2218
2219 Table\InsetSpace ~
2220 #:
2221 \begin_inset Quotes erd
2222 \end_inset
2223
2224  (# is the actual table number).
2225  You can insert tables to the float above or below the caption.
2226 \end_layout
2227
2228 \begin_layout Standard
2229 Table\InsetSpace ~
2230
2231 \begin_inset LatexCommand ref
2232 reference "tab:a table float"
2233
2234 \end_inset
2235
2236  is an example table within a table float.
2237 \end_layout
2238
2239 \begin_layout Standard
2240 Having the caption above the table is the common rule that is unfortunately
2241  not supported in LaTeX's standard classes.
2242  That means if you are using the document classes 
2243 \family sans
2244 article
2245 \family default
2246
2247 \family sans
2248 book
2249 \family default
2250
2251 \family sans
2252 letter
2253 \family default
2254 , or 
2255 \family sans
2256 report
2257 \family default
2258  there will be no space between the caption and the table.
2259  To insert the needed space, add the following option to the load command
2260  of the LaTeX-package 
2261 \series bold
2262 caption
2263 \series default
2264
2265 \begin_inset LatexCommand index
2266 name "LaTeX-packages ! caption"
2267
2268 \end_inset
2269
2270  in your document preamble
2271 \begin_inset Foot
2272 status collapsed
2273
2274 \begin_layout Standard
2275 For more information have a look at section\InsetSpace ~
2276
2277 \begin_inset LatexCommand ref
2278 reference "sec:Caption-Placement"
2279
2280 \end_inset
2281
2282 .
2283 \end_layout
2284
2285 \end_inset
2286
2287 :
2288 \end_layout
2289
2290 \begin_layout Standard
2291
2292 \series bold
2293 tableposition=top
2294 \end_layout
2295
2296 \begin_layout Standard
2297 The package 
2298 \series bold
2299 caption
2300 \series default
2301 , which is described in section\InsetSpace ~
2302
2303 \begin_inset LatexCommand ref
2304 reference "sec:Caption-Formatting"
2305
2306 \end_inset
2307
2308 , is used to adjust the caption format.
2309 \end_layout
2310
2311 \begin_layout Standard
2312 \begin_inset LatexCommand index
2313 name "References ! to Tables"
2314
2315 \end_inset
2316
2317 Tables can be cross-referenced in the text by referencing their label.
2318  To do this insert a label in the caption using the menu 
2319 \family sans
2320 Insert\SpecialChar \menuseparator
2321 Label
2322 \family default
2323  or the toolbar button 
2324 \begin_inset Graphics
2325         filename ../images/label-insert.xpm
2326         scale 85
2327         scaleBeforeRotation
2328
2329 \end_inset
2330
2331 .
2332  You can now refer to the label using the menu 
2333 \family sans
2334 Insert\SpecialChar \menuseparator
2335 Cross\InsetSpace ~
2336 reference
2337 \family default
2338  or the toolbar button 
2339 \begin_inset Graphics
2340         filename ../images/dialog-show-new-inset_ref.xpm
2341         scale 85
2342         scaleBeforeRotation
2343
2344 \end_inset
2345
2346 .
2347 \newline
2348 Referencing is explained in detail in section\InsetSpace ~
2349
2350 \begin_inset LatexCommand ref
2351 reference "sec:Referencing-Floats"
2352
2353 \end_inset
2354
2355 .
2356 \end_layout
2357
2358 \begin_layout Section
2359 Longtables
2360 \begin_inset LatexCommand label
2361 name "sec:Longtables"
2362
2363 \end_inset
2364
2365
2366 \begin_inset LatexCommand index
2367 name "Longtables"
2368
2369 \end_inset
2370
2371
2372 \begin_inset LatexCommand index
2373 name "Table ! Longtables"
2374
2375 \end_inset
2376
2377
2378 \end_layout
2379
2380 \begin_layout Standard
2381 If the table is too long to fit on one page, you can use the option 
2382 \family sans
2383 Use\InsetSpace ~
2384 long\InsetSpace ~
2385 table
2386 \family default
2387  in the tab 
2388 \family sans
2389 Longtable
2390 \family default
2391  of the table dialog to split the table automatically over more pages.
2392  Doing this enables some check boxes and you can now define:
2393 \end_layout
2394
2395 \begin_layout Description
2396
2397 \family sans
2398 Header
2399 \family default
2400 : The current row and all rows above, that don't have any special options
2401  defined, are defined to be the header rows of all pages of the longtable;
2402  except for the first page, if 
2403 \family sans
2404 First\InsetSpace ~
2405 header
2406 \family default
2407  is defined.
2408  This therefore called the main header.
2409 \end_layout
2410
2411 \begin_layout Description
2412
2413 \family sans
2414 First\InsetSpace ~
2415 header
2416 \family default
2417 : The current row and all rows above, that don't have any special options
2418  defined, are defined to be the header rows of the first page of the longtable.
2419 \end_layout
2420
2421 \begin_layout Description
2422
2423 \family sans
2424 Footer
2425 \family default
2426 : The current row and all rows below, that don't have any special options
2427  defined, are defined to be the footer rows of all pages of the longtable;
2428  except for the last page, if 
2429 \family sans
2430 Last\InsetSpace ~
2431 footer
2432 \family default
2433  is defined.
2434 \end_layout
2435
2436 \begin_layout Description
2437
2438 \family sans
2439 Last\InsetSpace ~
2440 footer
2441 \family default
2442 : The current row and all rows below, that don't have any special options
2443  defined, are defined to be the footer rows of the last page of the longtable.
2444 \end_layout
2445
2446 \begin_layout Standard
2447 You can also specify a row where the table is splitted.
2448  If you set more than one option in the same table row, you should be aware
2449  of the fact that only the first one is used in the given table row.
2450  The others will then be defined as 
2451 \emph on
2452 empty
2453 \emph default
2454 .
2455  In this context, first means first in this order: 
2456 \family sans
2457 Header,
2458 \family default
2459  
2460 \family sans
2461 First\InsetSpace ~
2462 header, Footer, Last\InsetSpace ~
2463 footer.
2464
2465 \family default
2466  See the following longtable to see how it works:
2467 \end_layout
2468
2469 \begin_layout Standard
2470 \align center
2471 \begin_inset Tabular
2472 <lyxtabular version="3" rows="69" columns="3">
2473 <features islongtable="true">
2474 <column alignment="left" valignment="top" leftline="true" width="0cm">
2475 <column alignment="left" valignment="top" width="0pt">
2476 <column alignment="right" valignment="top" leftline="true" rightline="true" width="0pt">
2477 <row topline="true" bottomline="true" endfirsthead="true">
2478 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2479 \begin_inset Text
2480
2481 \begin_layout Standard
2482
2483 \series bold
2484 Example Phone List (ignore the names)
2485 \end_layout
2486
2487 \end_inset
2488 </cell>
2489 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2490 \begin_inset Text
2491
2492 \begin_layout Standard
2493
2494 \end_layout
2495
2496 \end_inset
2497 </cell>
2498 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2499 \begin_inset Text
2500
2501 \begin_layout Standard
2502
2503 \end_layout
2504
2505 \end_inset
2506 </cell>
2507 </row>
2508 <row topline="true" bottomline="true" endfirsthead="true">
2509 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2510 \begin_inset Text
2511
2512 \begin_layout Standard
2513
2514 \series bold
2515 NAME
2516 \end_layout
2517
2518 \end_inset
2519 </cell>
2520 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2521 \begin_inset Text
2522
2523 \begin_layout Standard
2524
2525 \end_layout
2526
2527 \end_inset
2528 </cell>
2529 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2530 \begin_inset Text
2531
2532 \begin_layout Standard
2533
2534 \series bold
2535 TEL.
2536 \end_layout
2537
2538 \end_inset
2539 </cell>
2540 </row>
2541 <row topline="true" bottomline="true" endhead="true">
2542 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2543 \begin_inset Text
2544
2545 \begin_layout Standard
2546
2547 \series bold
2548 Example Phone List
2549 \end_layout
2550
2551 \end_inset
2552 </cell>
2553 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2554 \begin_inset Text
2555
2556 \begin_layout Standard
2557
2558 \end_layout
2559
2560 \end_inset
2561 </cell>
2562 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2563 \begin_inset Text
2564
2565 \begin_layout Standard
2566
2567 \end_layout
2568
2569 \end_inset
2570 </cell>
2571 </row>
2572 <row topline="true" bottomline="true" endhead="true">
2573 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2574 \begin_inset Text
2575
2576 \begin_layout Standard
2577
2578 \series bold
2579 NAME
2580 \end_layout
2581
2582 \end_inset
2583 </cell>
2584 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2585 \begin_inset Text
2586
2587 \begin_layout Standard
2588
2589 \end_layout
2590
2591 \end_inset
2592 </cell>
2593 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2594 \begin_inset Text
2595
2596 \begin_layout Standard
2597
2598 \series bold
2599 TEL.
2600 \end_layout
2601
2602 \end_inset
2603 </cell>
2604 </row>
2605 <row topline="true" bottomline="true" endfoot="true">
2606 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
2607 \begin_inset Text
2608
2609 \begin_layout Standard
2610  continued on next page
2611 \end_layout
2612
2613 \end_inset
2614 </cell>
2615 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2616 \begin_inset Text
2617
2618 \begin_layout Standard
2619
2620 \end_layout
2621
2622 \end_inset
2623 </cell>
2624 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2625 \begin_inset Text
2626
2627 \begin_layout Standard
2628
2629 \end_layout
2630
2631 \end_inset
2632 </cell>
2633 </row>
2634 <row>
2635 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2636 \begin_inset Text
2637
2638 \begin_layout Standard
2639
2640 \series bold
2641 Annovi
2642 \end_layout
2643
2644 \end_inset
2645 </cell>
2646 <cell alignment="center" valignment="top" topline="true" usebox="none">
2647 \begin_inset Text
2648
2649 \begin_layout Standard
2650 Silvia
2651 \end_layout
2652
2653 \end_inset
2654 </cell>
2655 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2656 \begin_inset Text
2657
2658 \begin_layout Standard
2659 111
2660 \end_layout
2661
2662 \end_inset
2663 </cell>
2664 </row>
2665 <row>
2666 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2667 \begin_inset Text
2668
2669 \begin_layout Standard
2670
2671 \series bold
2672 Bertoli
2673 \end_layout
2674
2675 \end_inset
2676 </cell>
2677 <cell alignment="center" valignment="top" topline="true" usebox="none">
2678 \begin_inset Text
2679
2680 \begin_layout Standard
2681 Stefano
2682 \end_layout
2683
2684 \end_inset
2685 </cell>
2686 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2687 \begin_inset Text
2688
2689 \begin_layout Standard
2690 111
2691 \end_layout
2692
2693 \end_inset
2694 </cell>
2695 </row>
2696 <row>
2697 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2698 \begin_inset Text
2699
2700 \begin_layout Standard
2701
2702 \series bold
2703 Bozzi
2704 \end_layout
2705
2706 \end_inset
2707 </cell>
2708 <cell alignment="center" valignment="top" topline="true" usebox="none">
2709 \begin_inset Text
2710
2711 \begin_layout Standard
2712 Walter
2713 \end_layout
2714
2715 \end_inset
2716 </cell>
2717 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2718 \begin_inset Text
2719
2720 \begin_layout Standard
2721 111
2722 \end_layout
2723
2724 \end_inset
2725 </cell>
2726 </row>
2727 <row>
2728 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2729 \begin_inset Text
2730
2731 \begin_layout Standard
2732
2733 \series bold
2734 Cachia
2735 \end_layout
2736
2737 \end_inset
2738 </cell>
2739 <cell alignment="center" valignment="top" topline="true" usebox="none">
2740 \begin_inset Text
2741
2742 \begin_layout Standard
2743 Maria
2744 \end_layout
2745
2746 \end_inset
2747 </cell>
2748 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2749 \begin_inset Text
2750
2751 \begin_layout Standard
2752 111
2753 \end_layout
2754
2755 \end_inset
2756 </cell>
2757 </row>
2758 <row>
2759 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2760 \begin_inset Text
2761
2762 \begin_layout Standard
2763
2764 \series bold
2765 Cachia
2766 \end_layout
2767
2768 \end_inset
2769 </cell>
2770 <cell alignment="center" valignment="top" topline="true" usebox="none">
2771 \begin_inset Text
2772
2773 \begin_layout Standard
2774 Maurizio
2775 \end_layout
2776
2777 \end_inset
2778 </cell>
2779 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2780 \begin_inset Text
2781
2782 \begin_layout Standard
2783 111
2784 \end_layout
2785
2786 \end_inset
2787 </cell>
2788 </row>
2789 <row>
2790 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2791 \begin_inset Text
2792
2793 \begin_layout Standard
2794
2795 \series bold
2796 Cinquemani
2797 \end_layout
2798
2799 \end_inset
2800 </cell>
2801 <cell alignment="center" valignment="top" topline="true" usebox="none">
2802 \begin_inset Text
2803
2804 \begin_layout Standard
2805 Giusi
2806 \end_layout
2807
2808 \end_inset
2809 </cell>
2810 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2811 \begin_inset Text
2812
2813 \begin_layout Standard
2814 111
2815 \end_layout
2816
2817 \end_inset
2818 </cell>
2819 </row>
2820 <row>
2821 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2822 \begin_inset Text
2823
2824 \begin_layout Standard
2825
2826 \series bold
2827 Colin
2828 \end_layout
2829
2830 \end_inset
2831 </cell>
2832 <cell alignment="center" valignment="top" topline="true" usebox="none">
2833 \begin_inset Text
2834
2835 \begin_layout Standard
2836 Bernard
2837 \end_layout
2838
2839 \end_inset
2840 </cell>
2841 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2842 \begin_inset Text
2843
2844 \begin_layout Standard
2845 111
2846 \end_layout
2847
2848 \end_inset
2849 </cell>
2850 </row>
2851 <row>
2852 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2853 \begin_inset Text
2854
2855 \begin_layout Standard
2856
2857 \series bold
2858 Concli
2859 \end_layout
2860
2861 \end_inset
2862 </cell>
2863 <cell alignment="center" valignment="top" topline="true" usebox="none">
2864 \begin_inset Text
2865
2866 \begin_layout Standard
2867 Gianfranco
2868 \end_layout
2869
2870 \end_inset
2871 </cell>
2872 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2873 \begin_inset Text
2874
2875 \begin_layout Standard
2876 111
2877 \end_layout
2878
2879 \end_inset
2880 </cell>
2881 </row>
2882 <row>
2883 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2884 \begin_inset Text
2885
2886 \begin_layout Standard
2887
2888 \series bold
2889 Dal Bosco
2890 \end_layout
2891
2892 \end_inset
2893 </cell>
2894 <cell alignment="center" valignment="top" topline="true" usebox="none">
2895 \begin_inset Text
2896
2897 \begin_layout Standard
2898 Carolina
2899 \end_layout
2900
2901 \end_inset
2902 </cell>
2903 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2904 \begin_inset Text
2905
2906 \begin_layout Standard
2907 111
2908 \end_layout
2909
2910 \end_inset
2911 </cell>
2912 </row>
2913 <row>
2914 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2915 \begin_inset Text
2916
2917 \begin_layout Standard
2918
2919 \series bold
2920 Dalpiaz
2921 \end_layout
2922
2923 \end_inset
2924 </cell>
2925 <cell alignment="center" valignment="top" topline="true" usebox="none">
2926 \begin_inset Text
2927
2928 \begin_layout Standard
2929 Annamaria
2930 \end_layout
2931
2932 \end_inset
2933 </cell>
2934 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2935 \begin_inset Text
2936
2937 \begin_layout Standard
2938 111
2939 \end_layout
2940
2941 \end_inset
2942 </cell>
2943 </row>
2944 <row>
2945 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2946 \begin_inset Text
2947
2948 \begin_layout Standard
2949
2950 \series bold
2951 Feliciello
2952 \end_layout
2953
2954 \end_inset
2955 </cell>
2956 <cell alignment="center" valignment="top" topline="true" usebox="none">
2957 \begin_inset Text
2958
2959 \begin_layout Standard
2960 Domenico
2961 \end_layout
2962
2963 \end_inset
2964 </cell>
2965 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2966 \begin_inset Text
2967
2968 \begin_layout Standard
2969 111
2970 \end_layout
2971
2972 \end_inset
2973 </cell>
2974 </row>
2975 <row>
2976 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2977 \begin_inset Text
2978
2979 \begin_layout Standard
2980
2981 \series bold
2982 Focarelli
2983 \end_layout
2984
2985 \end_inset
2986 </cell>
2987 <cell alignment="center" valignment="top" topline="true" usebox="none">
2988 \begin_inset Text
2989
2990 \begin_layout Standard
2991 Paola
2992 \end_layout
2993
2994 \end_inset
2995 </cell>
2996 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2997 \begin_inset Text
2998
2999 \begin_layout Standard
3000 111
3001 \end_layout
3002
3003 \end_inset
3004 </cell>
3005 </row>
3006 <row>
3007 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3008 \begin_inset Text
3009
3010 \begin_layout Standard
3011
3012 \series bold
3013 Galletti
3014 \end_layout
3015
3016 \end_inset
3017 </cell>
3018 <cell alignment="center" valignment="top" topline="true" usebox="none">
3019 \begin_inset Text
3020
3021 \begin_layout Standard
3022 Oreste
3023 \end_layout
3024
3025 \end_inset
3026 </cell>
3027 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3028 \begin_inset Text
3029
3030 \begin_layout Standard
3031 111
3032 \end_layout
3033
3034 \end_inset
3035 </cell>
3036 </row>
3037 <row>
3038 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3039 \begin_inset Text
3040
3041 \begin_layout Standard
3042
3043 \series bold
3044 Gasparini
3045 \end_layout
3046
3047 \end_inset
3048 </cell>
3049 <cell alignment="center" valignment="top" topline="true" usebox="none">
3050 \begin_inset Text
3051
3052 \begin_layout Standard
3053 Franca
3054 \end_layout
3055
3056 \end_inset
3057 </cell>
3058 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3059 \begin_inset Text
3060
3061 \begin_layout Standard
3062 111
3063 \end_layout
3064
3065 \end_inset
3066 </cell>
3067 </row>
3068 <row>
3069 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3070 \begin_inset Text
3071
3072 \begin_layout Standard
3073
3074 \series bold
3075 Rizzardi
3076 \end_layout
3077
3078 \end_inset
3079 </cell>
3080 <cell alignment="center" valignment="top" topline="true" usebox="none">
3081 \begin_inset Text
3082
3083 \begin_layout Standard
3084 Paola
3085 \end_layout
3086
3087 \end_inset
3088 </cell>
3089 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3090 \begin_inset Text
3091
3092 \begin_layout Standard
3093 111
3094 \end_layout
3095
3096 \end_inset
3097 </cell>
3098 </row>
3099 <row>
3100 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3101 \begin_inset Text
3102
3103 \begin_layout Standard
3104
3105 \series bold
3106 Lassini
3107 \end_layout
3108
3109 \end_inset
3110 </cell>
3111 <cell alignment="center" valignment="top" topline="true" usebox="none">
3112 \begin_inset Text
3113
3114 \begin_layout Standard
3115 Giancarlo
3116 \end_layout
3117
3118 \end_inset
3119 </cell>
3120 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3121 \begin_inset Text
3122
3123 \begin_layout Standard
3124 111
3125 \end_layout
3126
3127 \end_inset
3128 </cell>
3129 </row>
3130 <row>
3131 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3132 \begin_inset Text
3133
3134 \begin_layout Standard
3135
3136 \series bold
3137 Malfatti
3138 \end_layout
3139
3140 \end_inset
3141 </cell>
3142 <cell alignment="center" valignment="top" topline="true" usebox="none">
3143 \begin_inset Text
3144
3145 \begin_layout Standard
3146 Luciano
3147 \end_layout
3148
3149 \end_inset
3150 </cell>
3151 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3152 \begin_inset Text
3153
3154 \begin_layout Standard
3155 111
3156 \end_layout
3157
3158 \end_inset
3159 </cell>
3160 </row>
3161 <row>
3162 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3163 \begin_inset Text
3164
3165 \begin_layout Standard
3166
3167 \series bold
3168 Malfatti
3169 \end_layout
3170
3171 \end_inset
3172 </cell>
3173 <cell alignment="center" valignment="top" topline="true" usebox="none">
3174 \begin_inset Text
3175
3176 \begin_layout Standard
3177 Valeriano
3178 \end_layout
3179
3180 \end_inset
3181 </cell>
3182 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3183 \begin_inset Text
3184
3185 \begin_layout Standard
3186 111
3187 \end_layout
3188
3189 \end_inset
3190 </cell>
3191 </row>
3192 <row>
3193 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3194 \begin_inset Text
3195
3196 \begin_layout Standard
3197
3198 \series bold
3199 Meneguzzo
3200 \end_layout
3201
3202 \end_inset
3203 </cell>
3204 <cell alignment="center" valignment="top" topline="true" usebox="none">
3205 \begin_inset Text
3206
3207 \begin_layout Standard
3208 Roberto
3209 \end_layout
3210
3211 \end_inset
3212 </cell>
3213 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3214 \begin_inset Text
3215
3216 \begin_layout Standard
3217 111
3218 \end_layout
3219
3220 \end_inset
3221 </cell>
3222 </row>
3223 <row>
3224 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3225 \begin_inset Text
3226
3227 \begin_layout Standard
3228
3229 \series bold
3230 Mezzadra
3231 \end_layout
3232
3233 \end_inset
3234 </cell>
3235 <cell alignment="center" valignment="top" topline="true" usebox="none">
3236 \begin_inset Text
3237
3238 \begin_layout Standard
3239 Roberto
3240 \end_layout
3241
3242 \end_inset
3243 </cell>
3244 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3245 \begin_inset Text
3246
3247 \begin_layout Standard
3248 111
3249 \end_layout
3250
3251 \end_inset
3252 </cell>
3253 </row>
3254 <row>
3255 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3256 \begin_inset Text
3257
3258 \begin_layout Standard
3259
3260 \series bold
3261 Pirpamer
3262 \end_layout
3263
3264 \end_inset
3265 </cell>
3266 <cell alignment="center" valignment="top" topline="true" usebox="none">
3267 \begin_inset Text
3268
3269 \begin_layout Standard
3270 Erich
3271 \end_layout
3272
3273 \end_inset
3274 </cell>
3275 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3276 \begin_inset Text
3277
3278 \begin_layout Standard
3279 111
3280 \end_layout
3281
3282 \end_inset
3283 </cell>
3284 </row>
3285 <row>
3286 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3287 \begin_inset Text
3288
3289 \begin_layout Standard
3290
3291 \series bold
3292 Pochiesa
3293 \end_layout
3294
3295 \end_inset
3296 </cell>
3297 <cell alignment="center" valignment="top" topline="true" usebox="none">
3298 \begin_inset Text
3299
3300 \begin_layout Standard
3301 Paolo
3302 \end_layout
3303
3304 \end_inset
3305 </cell>
3306 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3307 \begin_inset Text
3308
3309 \begin_layout Standard
3310 111, 222
3311 \end_layout
3312
3313 \end_inset
3314 </cell>
3315 </row>
3316 <row>
3317 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3318 \begin_inset Text
3319
3320 \begin_layout Standard
3321
3322 \series bold
3323 Radina
3324 \end_layout
3325
3326 \end_inset
3327 </cell>
3328 <cell alignment="center" valignment="top" topline="true" usebox="none">
3329 \begin_inset Text
3330
3331 \begin_layout Standard
3332 Claudio
3333 \end_layout
3334
3335 \end_inset
3336 </cell>
3337 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3338 \begin_inset Text
3339
3340 \begin_layout Standard
3341 111
3342 \end_layout
3343
3344 \end_inset
3345 </cell>
3346 </row>
3347 <row>
3348 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3349 \begin_inset Text
3350
3351 \begin_layout Standard
3352
3353 \series bold
3354 Stuffer
3355 \end_layout
3356
3357 \end_inset
3358 </cell>
3359 <cell alignment="center" valignment="top" topline="true" usebox="none">
3360 \begin_inset Text
3361
3362 \begin_layout Standard
3363 Oskar
3364 \end_layout
3365
3366 \end_inset
3367 </cell>
3368 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3369 \begin_inset Text
3370
3371 \begin_layout Standard
3372 111
3373 \end_layout
3374
3375 \end_inset
3376 </cell>
3377 </row>
3378 <row>
3379 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3380 \begin_inset Text
3381
3382 \begin_layout Standard
3383
3384 \series bold
3385 Tacchelli
3386 \end_layout
3387
3388 \end_inset
3389 </cell>
3390 <cell alignment="center" valignment="top" topline="true" usebox="none">
3391 \begin_inset Text
3392
3393 \begin_layout Standard
3394 Ugo
3395 \end_layout
3396
3397 \end_inset
3398 </cell>
3399 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3400 \begin_inset Text
3401
3402 \begin_layout Standard
3403 111
3404 \end_layout
3405
3406 \end_inset
3407 </cell>
3408 </row>
3409 <row>
3410 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3411 \begin_inset Text
3412
3413 \begin_layout Standard
3414
3415 \series bold
3416 Tezzele
3417 \end_layout
3418
3419 \end_inset
3420 </cell>
3421 <cell alignment="center" valignment="top" topline="true" usebox="none">
3422 \begin_inset Text
3423
3424 \begin_layout Standard
3425 Margit
3426 \end_layout
3427
3428 \end_inset
3429 </cell>
3430 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3431 \begin_inset Text
3432
3433 \begin_layout Standard
3434 111
3435 \end_layout
3436
3437 \end_inset
3438 </cell>
3439 </row>
3440 <row>
3441 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3442 \begin_inset Text
3443
3444 \begin_layout Standard
3445
3446 \series bold
3447 Unterkalmsteiner
3448 \end_layout
3449
3450 \end_inset
3451 </cell>
3452 <cell alignment="center" valignment="top" topline="true" usebox="none">
3453 \begin_inset Text
3454
3455 \begin_layout Standard
3456 Frieda
3457 \end_layout
3458
3459 \end_inset
3460 </cell>
3461 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3462 \begin_inset Text
3463
3464 \begin_layout Standard
3465 111
3466 \end_layout
3467
3468 \end_inset
3469 </cell>
3470 </row>
3471 <row>
3472 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3473 \begin_inset Text
3474
3475 \begin_layout Standard
3476
3477 \series bold
3478 Vieider
3479 \end_layout
3480
3481 \end_inset
3482 </cell>
3483 <cell alignment="center" valignment="top" topline="true" usebox="none">
3484 \begin_inset Text
3485
3486 \begin_layout Standard
3487 Hilde
3488 \end_layout
3489
3490 \end_inset
3491 </cell>
3492 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3493 \begin_inset Text
3494
3495 \begin_layout Standard
3496 111
3497 \end_layout
3498
3499 \end_inset
3500 </cell>
3501 </row>
3502 <row>
3503 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3504 \begin_inset Text
3505
3506 \begin_layout Standard
3507
3508 \series bold
3509 Vigna
3510 \end_layout
3511
3512 \end_inset
3513 </cell>
3514 <cell alignment="center" valignment="top" topline="true" usebox="none">
3515 \begin_inset Text
3516
3517 \begin_layout Standard
3518 Jürgen
3519 \end_layout
3520
3521 \end_inset
3522 </cell>
3523 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3524 \begin_inset Text
3525
3526 \begin_layout Standard
3527 111
3528 \end_layout
3529
3530 \end_inset
3531 </cell>
3532 </row>
3533 <row>
3534 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3535 \begin_inset Text
3536
3537 \begin_layout Standard
3538
3539 \series bold
3540 Weber
3541 \end_layout
3542
3543 \end_inset
3544 </cell>
3545 <cell alignment="center" valignment="top" topline="true" usebox="none">
3546 \begin_inset Text
3547
3548 \begin_layout Standard
3549 Maurizio
3550 \end_layout
3551
3552 \end_inset
3553 </cell>
3554 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3555 \begin_inset Text
3556
3557 \begin_layout Standard
3558 111
3559 \end_layout
3560
3561 \end_inset
3562 </cell>
3563 </row>
3564 <row bottomline="true">
3565 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3566 \begin_inset Text
3567
3568 \begin_layout Standard
3569
3570 \series bold
3571 Winkler
3572 \end_layout
3573
3574 \end_inset
3575 </cell>
3576 <cell alignment="center" valignment="top" topline="true" usebox="none">
3577 \begin_inset Text
3578
3579 \begin_layout Standard
3580 Franz
3581 \end_layout
3582
3583 \end_inset
3584 </cell>
3585 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3586 \begin_inset Text
3587
3588 \begin_layout Standard
3589 111
3590 \end_layout
3591
3592 \end_inset
3593 </cell>
3594 </row>
3595 <row bottomline="true">
3596 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3597 \begin_inset Text
3598
3599 \begin_layout Standard
3600  
3601 \end_layout
3602
3603 \end_inset
3604 </cell>
3605 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
3606 \begin_inset Text
3607
3608 \begin_layout Standard
3609
3610 \end_layout
3611
3612 \end_inset
3613 </cell>
3614 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3615 \begin_inset Text
3616
3617 \begin_layout Standard
3618
3619 \end_layout
3620
3621 \end_inset
3622 </cell>
3623 </row>
3624 <row>
3625 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3626 \begin_inset Text
3627
3628 \begin_layout Standard
3629
3630 \series bold
3631 Annovi
3632 \end_layout
3633
3634 \end_inset
3635 </cell>
3636 <cell alignment="center" valignment="top" topline="true" usebox="none">
3637 \begin_inset Text
3638
3639 \begin_layout Standard
3640 Silvia
3641 \end_layout
3642
3643 \end_inset
3644 </cell>
3645 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3646 \begin_inset Text
3647
3648 \begin_layout Standard
3649 555
3650 \end_layout
3651
3652 \end_inset
3653 </cell>
3654 </row>
3655 <row>
3656 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3657 \begin_inset Text
3658
3659 \begin_layout Standard
3660
3661 \series bold
3662 Bertoli
3663 \end_layout
3664
3665 \end_inset
3666 </cell>
3667 <cell alignment="center" valignment="top" topline="true" usebox="none">
3668 \begin_inset Text
3669
3670 \begin_layout Standard
3671 Stefano
3672 \end_layout
3673
3674 \end_inset
3675 </cell>
3676 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3677 \begin_inset Text
3678
3679 \begin_layout Standard
3680 555
3681 \end_layout
3682
3683 \end_inset
3684 </cell>
3685 </row>
3686 <row>
3687 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3688 \begin_inset Text
3689
3690 \begin_layout Standard
3691
3692 \series bold
3693 Bozzi
3694 \end_layout
3695
3696 \end_inset
3697 </cell>
3698 <cell alignment="center" valignment="top" topline="true" usebox="none">
3699 \begin_inset Text
3700
3701 \begin_layout Standard
3702 Walter
3703 \end_layout
3704
3705 \end_inset
3706 </cell>
3707 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3708 \begin_inset Text
3709
3710 \begin_layout Standard
3711 555
3712 \end_layout
3713
3714 \end_inset
3715 </cell>
3716 </row>
3717 <row>
3718 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3719 \begin_inset Text
3720
3721 \begin_layout Standard
3722
3723 \series bold
3724 Cachia
3725 \end_layout
3726
3727 \end_inset
3728 </cell>
3729 <cell alignment="center" valignment="top" topline="true" usebox="none">
3730 \begin_inset Text
3731
3732 \begin_layout Standard
3733 Maria
3734 \end_layout
3735
3736 \end_inset
3737 </cell>
3738 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3739 \begin_inset Text
3740
3741 \begin_layout Standard
3742 555
3743 \end_layout
3744
3745 \end_inset
3746 </cell>
3747 </row>
3748 <row>
3749 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3750 \begin_inset Text
3751
3752 \begin_layout Standard
3753
3754 \series bold
3755 Cachia
3756 \end_layout
3757
3758 \end_inset
3759 </cell>
3760 <cell alignment="center" valignment="top" topline="true" usebox="none">
3761 \begin_inset Text
3762
3763 \begin_layout Standard
3764 Maurizio
3765 \end_layout
3766
3767 \end_inset
3768 </cell>
3769 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3770 \begin_inset Text
3771
3772 \begin_layout Standard
3773 555
3774 \end_layout
3775
3776 \end_inset
3777 </cell>
3778 </row>
3779 <row>
3780 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3781 \begin_inset Text
3782
3783 \begin_layout Standard
3784
3785 \series bold
3786 Cinquemani
3787 \end_layout
3788
3789 \end_inset
3790 </cell>
3791 <cell alignment="center" valignment="top" topline="true" usebox="none">
3792 \begin_inset Text
3793
3794 \begin_layout Standard
3795 Giusi
3796 \end_layout
3797
3798 \end_inset
3799 </cell>
3800 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3801 \begin_inset Text
3802
3803 \begin_layout Standard
3804 555
3805 \end_layout
3806
3807 \end_inset
3808 </cell>
3809 </row>
3810 <row>
3811 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3812 \begin_inset Text
3813
3814 \begin_layout Standard
3815
3816 \series bold
3817 Colin
3818 \end_layout
3819
3820 \end_inset
3821 </cell>
3822 <cell alignment="center" valignment="top" topline="true" usebox="none">
3823 \begin_inset Text
3824
3825 \begin_layout Standard
3826 Bernard
3827 \end_layout
3828
3829 \end_inset
3830 </cell>
3831 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3832 \begin_inset Text
3833
3834 \begin_layout Standard
3835 555
3836 \end_layout
3837
3838 \end_inset
3839 </cell>
3840 </row>
3841 <row>
3842 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3843 \begin_inset Text
3844
3845 \begin_layout Standard
3846
3847 \series bold
3848 Concli
3849 \end_layout
3850
3851 \end_inset
3852 </cell>
3853 <cell alignment="center" valignment="top" topline="true" usebox="none">
3854 \begin_inset Text
3855
3856 \begin_layout Standard
3857 Gianfranco
3858 \end_layout
3859
3860 \end_inset
3861 </cell>
3862 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3863 \begin_inset Text
3864
3865 \begin_layout Standard
3866 555
3867 \end_layout
3868
3869 \end_inset
3870 </cell>
3871 </row>
3872 <row>
3873 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3874 \begin_inset Text
3875
3876 \begin_layout Standard
3877
3878 \series bold
3879 Dal Bosco
3880 \end_layout
3881
3882 \end_inset
3883 </cell>
3884 <cell alignment="center" valignment="top" topline="true" usebox="none">
3885 \begin_inset Text
3886
3887 \begin_layout Standard
3888 Carolina
3889 \end_layout
3890
3891 \end_inset
3892 </cell>
3893 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3894 \begin_inset Text
3895
3896 \begin_layout Standard
3897 555
3898 \end_layout
3899
3900 \end_inset
3901 </cell>
3902 </row>
3903 <row>
3904 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3905 \begin_inset Text
3906
3907 \begin_layout Standard
3908
3909 \series bold
3910 Dalpiaz
3911 \end_layout
3912
3913 \end_inset
3914 </cell>
3915 <cell alignment="center" valignment="top" topline="true" usebox="none">
3916 \begin_inset Text
3917
3918 \begin_layout Standard
3919 Annamaria
3920 \end_layout
3921
3922 \end_inset
3923 </cell>
3924 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3925 \begin_inset Text
3926
3927 \begin_layout Standard
3928 555
3929 \end_layout
3930
3931 \end_inset
3932 </cell>
3933 </row>
3934 <row>
3935 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3936 \begin_inset Text
3937
3938 \begin_layout Standard
3939
3940 \series bold
3941 Feliciello
3942 \end_layout
3943
3944 \end_inset
3945 </cell>
3946 <cell alignment="center" valignment="top" topline="true" usebox="none">
3947 \begin_inset Text
3948
3949 \begin_layout Standard
3950 Domenico
3951 \end_layout
3952
3953 \end_inset
3954 </cell>
3955 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3956 \begin_inset Text
3957
3958 \begin_layout Standard
3959 555
3960 \end_layout
3961
3962 \end_inset
3963 </cell>
3964 </row>
3965 <row>
3966 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3967 \begin_inset Text
3968
3969 \begin_layout Standard
3970
3971 \series bold
3972 Focarelli
3973 \end_layout
3974
3975 \end_inset
3976 </cell>
3977 <cell alignment="center" valignment="top" topline="true" usebox="none">
3978 \begin_inset Text
3979
3980 \begin_layout Standard
3981 Paola
3982 \end_layout
3983
3984 \end_inset
3985 </cell>
3986 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3987 \begin_inset Text
3988
3989 \begin_layout Standard
3990 555
3991 \end_layout
3992
3993 \end_inset
3994 </cell>
3995 </row>
3996 <row>
3997 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3998 \begin_inset Text
3999
4000 \begin_layout Standard
4001
4002 \series bold
4003 Galletti
4004 \end_layout
4005
4006 \end_inset
4007 </cell>
4008 <cell alignment="center" valignment="top" topline="true" usebox="none">
4009 \begin_inset Text
4010
4011 \begin_layout Standard
4012 Oreste
4013 \end_layout
4014
4015 \end_inset
4016 </cell>
4017 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4018 \begin_inset Text
4019
4020 \begin_layout Standard
4021 555
4022 \end_layout
4023
4024 \end_inset
4025 </cell>
4026 </row>
4027 <row>
4028 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4029 \begin_inset Text
4030
4031 \begin_layout Standard
4032
4033 \series bold
4034 Gasparini
4035 \end_layout
4036
4037 \end_inset
4038 </cell>
4039 <cell alignment="center" valignment="top" topline="true" usebox="none">
4040 \begin_inset Text
4041
4042 \begin_layout Standard
4043 Franca
4044 \end_layout
4045
4046 \end_inset
4047 </cell>
4048 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4049 \begin_inset Text
4050
4051 \begin_layout Standard
4052 555
4053 \end_layout
4054
4055 \end_inset
4056 </cell>
4057 </row>
4058 <row>
4059 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4060 \begin_inset Text
4061
4062 \begin_layout Standard
4063
4064 \series bold
4065 Rizzardi
4066 \end_layout
4067
4068 \end_inset
4069 </cell>
4070 <cell alignment="center" valignment="top" topline="true" usebox="none">
4071 \begin_inset Text
4072
4073 \begin_layout Standard
4074 Paola
4075 \end_layout
4076
4077 \end_inset
4078 </cell>
4079 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4080 \begin_inset Text
4081
4082 \begin_layout Standard
4083 555
4084 \end_layout
4085
4086 \end_inset
4087 </cell>
4088 </row>
4089 <row>
4090 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4091 \begin_inset Text
4092
4093 \begin_layout Standard
4094
4095 \series bold
4096 Lassini
4097 \end_layout
4098
4099 \end_inset
4100 </cell>
4101 <cell alignment="center" valignment="top" topline="true" usebox="none">
4102 \begin_inset Text
4103
4104 \begin_layout Standard
4105 Giancarlo
4106 \end_layout
4107
4108 \end_inset
4109 </cell>
4110 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4111 \begin_inset Text
4112
4113 \begin_layout Standard
4114 555
4115 \end_layout
4116
4117 \end_inset
4118 </cell>
4119 </row>
4120 <row>
4121 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4122 \begin_inset Text
4123
4124 \begin_layout Standard
4125
4126 \series bold
4127 Malfatti
4128 \end_layout
4129
4130 \end_inset
4131 </cell>
4132 <cell alignment="center" valignment="top" topline="true" usebox="none">
4133 \begin_inset Text
4134
4135 \begin_layout Standard
4136 Luciano
4137 \end_layout
4138
4139 \end_inset
4140 </cell>
4141 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4142 \begin_inset Text
4143
4144 \begin_layout Standard
4145 555
4146 \end_layout
4147
4148 \end_inset
4149 </cell>
4150 </row>
4151 <row>
4152 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4153 \begin_inset Text
4154
4155 \begin_layout Standard
4156
4157 \series bold
4158 Malfatti
4159 \end_layout
4160
4161 \end_inset
4162 </cell>
4163 <cell alignment="center" valignment="top" topline="true" usebox="none">
4164 \begin_inset Text
4165
4166 \begin_layout Standard
4167 Valeriano
4168 \end_layout
4169
4170 \end_inset
4171 </cell>
4172 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4173 \begin_inset Text
4174
4175 \begin_layout Standard
4176 555
4177 \end_layout
4178
4179 \end_inset
4180 </cell>
4181 </row>
4182 <row>
4183 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4184 \begin_inset Text
4185
4186 \begin_layout Standard
4187
4188 \series bold
4189 Meneguzzo
4190 \end_layout
4191
4192 \end_inset
4193 </cell>
4194 <cell alignment="center" valignment="top" topline="true" usebox="none">
4195 \begin_inset Text
4196
4197 \begin_layout Standard
4198 Roberto
4199 \end_layout
4200
4201 \end_inset
4202 </cell>
4203 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4204 \begin_inset Text
4205
4206 \begin_layout Standard
4207 555
4208 \end_layout
4209
4210 \end_inset
4211 </cell>
4212 </row>
4213 <row>
4214 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4215 \begin_inset Text
4216
4217 \begin_layout Standard
4218
4219 \series bold
4220 Mezzadra
4221 \end_layout
4222
4223 \end_inset
4224 </cell>
4225 <cell alignment="center" valignment="top" topline="true" usebox="none">
4226 \begin_inset Text
4227
4228 \begin_layout Standard
4229 Roberto
4230 \end_layout
4231
4232 \end_inset
4233 </cell>
4234 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4235 \begin_inset Text
4236
4237 \begin_layout Standard
4238 555
4239 \end_layout
4240
4241 \end_inset
4242 </cell>
4243 </row>
4244 <row>
4245 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4246 \begin_inset Text
4247
4248 \begin_layout Standard
4249
4250 \series bold
4251 Pirpamer
4252 \end_layout
4253
4254 \end_inset
4255 </cell>
4256 <cell alignment="center" valignment="top" topline="true" usebox="none">
4257 \begin_inset Text
4258
4259 \begin_layout Standard
4260 Erich
4261 \end_layout
4262
4263 \end_inset
4264 </cell>
4265 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4266 \begin_inset Text
4267
4268 \begin_layout Standard
4269 555
4270 \end_layout
4271
4272 \end_inset
4273 </cell>
4274 </row>
4275 <row>
4276 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4277 \begin_inset Text
4278
4279 \begin_layout Standard
4280
4281 \series bold
4282 Pochiesa
4283 \end_layout
4284
4285 \end_inset
4286 </cell>
4287 <cell alignment="center" valignment="top" topline="true" usebox="none">
4288 \begin_inset Text
4289
4290 \begin_layout Standard
4291 Paolo
4292 \end_layout
4293
4294 \end_inset
4295 </cell>
4296 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4297 \begin_inset Text
4298
4299 \begin_layout Standard
4300 555, 222
4301 \end_layout
4302
4303 \end_inset
4304 </cell>
4305 </row>
4306 <row>
4307 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4308 \begin_inset Text
4309
4310 \begin_layout Standard
4311
4312 \series bold
4313 Radina
4314 \end_layout
4315
4316 \end_inset
4317 </cell>
4318 <cell alignment="center" valignment="top" topline="true" usebox="none">
4319 \begin_inset Text
4320
4321 \begin_layout Standard
4322 Claudio
4323 \end_layout
4324
4325 \end_inset
4326 </cell>
4327 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4328 \begin_inset Text
4329
4330 \begin_layout Standard
4331 555
4332 \end_layout
4333
4334 \end_inset
4335 </cell>
4336 </row>
4337 <row>
4338 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4339 \begin_inset Text
4340
4341 \begin_layout Standard
4342
4343 \series bold
4344 Stuffer
4345 \end_layout
4346
4347 \end_inset
4348 </cell>
4349 <cell alignment="center" valignment="top" topline="true" usebox="none">
4350 \begin_inset Text
4351
4352 \begin_layout Standard
4353 Oskar
4354 \end_layout
4355
4356 \end_inset
4357 </cell>
4358 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4359 \begin_inset Text
4360
4361 \begin_layout Standard
4362 555
4363 \end_layout
4364
4365 \end_inset
4366 </cell>
4367 </row>
4368 <row>
4369 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4370 \begin_inset Text
4371
4372 \begin_layout Standard
4373
4374 \series bold
4375 Tacchelli
4376 \end_layout
4377
4378 \end_inset
4379 </cell>
4380 <cell alignment="center" valignment="top" topline="true" usebox="none">
4381 \begin_inset Text
4382
4383 \begin_layout Standard
4384 Ugo
4385 \end_layout
4386
4387 \end_inset
4388 </cell>
4389 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4390 \begin_inset Text
4391
4392 \begin_layout Standard
4393 555
4394 \end_layout
4395
4396 \end_inset
4397 </cell>
4398 </row>
4399 <row>
4400 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4401 \begin_inset Text
4402
4403 \begin_layout Standard
4404
4405 \series bold
4406 Tezzele
4407 \end_layout
4408
4409 \end_inset
4410 </cell>
4411 <cell alignment="center" valignment="top" topline="true" usebox="none">
4412 \begin_inset Text
4413
4414 \begin_layout Standard
4415 Margit
4416 \end_layout
4417
4418 \end_inset
4419 </cell>
4420 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4421 \begin_inset Text
4422
4423 \begin_layout Standard
4424 555
4425 \end_layout
4426
4427 \end_inset
4428 </cell>
4429 </row>
4430 <row>
4431 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4432 \begin_inset Text
4433
4434 \begin_layout Standard
4435
4436 \series bold
4437 Unterkalmsteiner
4438 \end_layout
4439
4440 \end_inset
4441 </cell>
4442 <cell alignment="center" valignment="top" topline="true" usebox="none">
4443 \begin_inset Text
4444
4445 \begin_layout Standard
4446 Frieda
4447 \end_layout
4448
4449 \end_inset
4450 </cell>
4451 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4452 \begin_inset Text
4453
4454 \begin_layout Standard
4455 555
4456 \end_layout
4457
4458 \end_inset
4459 </cell>
4460 </row>
4461 <row>
4462 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4463 \begin_inset Text
4464
4465 \begin_layout Standard
4466
4467 \series bold
4468 Vieider
4469 \end_layout
4470
4471 \end_inset
4472 </cell>
4473 <cell alignment="center" valignment="top" topline="true" usebox="none">
4474 \begin_inset Text
4475
4476 \begin_layout Standard
4477 Hilde
4478 \end_layout
4479
4480 \end_inset
4481 </cell>
4482 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4483 \begin_inset Text
4484
4485 \begin_layout Standard
4486 555
4487 \end_layout
4488
4489 \end_inset
4490 </cell>
4491 </row>
4492 <row>
4493 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4494 \begin_inset Text
4495
4496 \begin_layout Standard
4497
4498 \series bold
4499 Vigna
4500 \end_layout
4501
4502 \end_inset
4503 </cell>
4504 <cell alignment="center" valignment="top" topline="true" usebox="none">
4505 \begin_inset Text
4506
4507 \begin_layout Standard
4508 Jürgen
4509 \end_layout
4510
4511 \end_inset
4512 </cell>
4513 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4514 \begin_inset Text
4515
4516 \begin_layout Standard
4517 999
4518 \end_layout
4519
4520 \end_inset
4521 </cell>
4522 </row>
4523 <row>
4524 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4525 \begin_inset Text
4526
4527 \begin_layout Standard
4528
4529 \series bold
4530 Weber
4531 \end_layout
4532
4533 \end_inset
4534 </cell>
4535 <cell alignment="center" valignment="top" topline="true" usebox="none">
4536 \begin_inset Text
4537
4538 \begin_layout Standard
4539 Maurizio
4540 \end_layout
4541
4542 \end_inset
4543 </cell>
4544 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4545 \begin_inset Text
4546
4547 \begin_layout Standard
4548 555
4549 \end_layout
4550
4551 \end_inset
4552 </cell>
4553 </row>
4554 <row bottomline="true">
4555 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4556 \begin_inset Text
4557
4558 \begin_layout Standard
4559
4560 \series bold
4561 Winkler
4562 \end_layout
4563
4564 \end_inset
4565 </cell>
4566 <cell alignment="center" valignment="top" topline="true" usebox="none">
4567 \begin_inset Text
4568
4569 \begin_layout Standard
4570 Franz
4571 \end_layout
4572
4573 \end_inset
4574 </cell>
4575 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4576 \begin_inset Text
4577
4578 \begin_layout Standard
4579 555
4580 \end_layout
4581
4582 \end_inset
4583 </cell>
4584 </row>
4585 <row bottomline="true" endlastfoot="true">
4586 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
4587 \begin_inset Text
4588
4589 \begin_layout Standard
4590 end
4591 \end_layout
4592
4593 \end_inset
4594 </cell>
4595 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
4596 \begin_inset Text
4597
4598 \begin_layout Standard
4599
4600 \end_layout
4601
4602 \end_inset
4603 </cell>
4604 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4605 \begin_inset Text
4606
4607 \begin_layout Standard
4608
4609 \end_layout
4610
4611 \end_inset
4612 </cell>
4613 </row>
4614 </lyxtabular>
4615
4616 \end_inset
4617
4618
4619 \begin_inset ERT
4620 status collapsed
4621
4622 \begin_layout Standard
4623
4624
4625 \backslash
4626 addtocounter{table}{-1}
4627 \end_layout
4628
4629 \end_inset
4630
4631
4632 \begin_inset Note Note
4633 status collapsed
4634
4635 \begin_layout Standard
4636 See greyed-out note in section\InsetSpace ~
4637
4638 \begin_inset LatexCommand ref
4639 reference "sub:Longtable-Captions"
4640
4641 \end_inset
4642
4643  for an explanation of this command.
4644 \end_layout
4645
4646 \end_inset
4647
4648
4649 \end_layout
4650
4651 \begin_layout Subsection
4652 Footnotes in Longtables
4653 \begin_inset LatexCommand label
4654 name "sub:Footnotes-in-Longtables"
4655
4656 \end_inset
4657
4658
4659 \begin_inset LatexCommand index
4660 name "Longtables ! Footnotes"
4661
4662 \end_inset
4663
4664
4665 \end_layout
4666
4667 \begin_layout Standard
4668 Footnotes can be inserted to every longtable cell.
4669  They appear at the bottom of the page where the table cell with the footnote
4670  appears.
4671  Table\InsetSpace ~
4672
4673 \begin_inset LatexCommand ref
4674 reference "tab:DiffCaptions"
4675
4676 \end_inset
4677
4678  has for example a footnote.
4679 \end_layout
4680
4681 \begin_layout Subsection
4682 Longtable Captions
4683 \begin_inset LatexCommand index
4684 name "Longtables ! Captions"
4685
4686 \end_inset
4687
4688
4689 \begin_inset LatexCommand label
4690 name "sub:Longtable-Captions"
4691
4692 \end_inset
4693
4694
4695 \end_layout
4696
4697 \begin_layout Standard
4698 A longtable cannot be put into a table float because floats can only be
4699  on one page but the caption environment of floats can also be used for
4700  longtables.
4701 \end_layout
4702
4703 \begin_layout Standard
4704 As LyX does not yet fully support captions in longtables, a hack is needed
4705  to create them:
4706 \end_layout
4707
4708 \begin_layout Enumerate
4709 Create a longtable
4710 \family sans
4711 .
4712 \end_layout
4713
4714 \begin_layout Enumerate
4715 Mark the first row and disable its upper line.
4716 \end_layout
4717
4718 \begin_layout Enumerate
4719 Insert a caption via the menu 
4720 \family sans
4721 Insert\SpecialChar \menuseparator
4722 Caption
4723 \family default
4724  into the first table cell.
4725 \newline
4726 You can also add a short title for the caption.
4727 \end_layout
4728
4729 \begin_layout Enumerate
4730 Insert a 
4731 \begin_inset Quotes eld
4732 \end_inset
4733
4734
4735 \series bold
4736
4737 \backslash
4738
4739 \backslash
4740 %
4741 \series default
4742
4743 \begin_inset Quotes erd
4744 \end_inset
4745
4746  as ERT behind the caption.
4747 \end_layout
4748
4749 \begin_layout Standard
4750 A short title that will appear in the LOT instead of the full title.
4751  The 
4752 \series bold
4753
4754 \backslash
4755
4756 \backslash
4757 %
4758 \series default
4759  behind the caption omits the vertical lines between the following cells
4760  in the row.
4761  The first table row is now only a dummy row for the caption, the actual
4762  table starts with the second row.
4763 \end_layout
4764
4765 \begin_layout Standard
4766 Here is a short longtable to see how it works:
4767 \end_layout
4768
4769 \begin_layout Standard
4770 \begin_inset Tabular
4771 <lyxtabular version="3" rows="6" columns="5">
4772 <features islongtable="true">
4773 <column alignment="center" valignment="top" leftline="true" width="0">
4774 <column alignment="center" valignment="top" leftline="true" width="0">
4775 <column alignment="center" valignment="top" leftline="true" width="0">
4776 <column alignment="center" valignment="top" leftline="true" width="0">
4777 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
4778 <row>
4779 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4780 \begin_inset Text
4781
4782 \begin_layout Standard
4783 \begin_inset Caption
4784
4785 \begin_layout Standard
4786 Longtable with caption
4787 \begin_inset OptArg
4788 status open
4789
4790 \begin_layout Standard
4791 Longtable
4792 \end_layout
4793
4794 \end_inset
4795
4796
4797 \end_layout
4798
4799 \end_inset
4800
4801
4802 \begin_inset ERT
4803 status collapsed
4804
4805 \begin_layout Standard
4806
4807
4808 \backslash
4809
4810 \backslash
4811 %
4812 \end_layout
4813
4814 \end_inset
4815
4816
4817 \end_layout
4818
4819 \end_inset
4820 </cell>
4821 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4822 \begin_inset Text
4823
4824 \begin_layout Standard
4825
4826 \end_layout
4827
4828 \end_inset
4829 </cell>
4830 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4831 \begin_inset Text
4832
4833 \begin_layout Standard
4834
4835 \end_layout
4836
4837 \end_inset
4838 </cell>
4839 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4840 \begin_inset Text
4841
4842 \begin_layout Standard
4843
4844 \end_layout
4845
4846 \end_inset
4847 </cell>
4848 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4849 \begin_inset Text
4850
4851 \begin_layout Standard
4852
4853 \end_layout
4854
4855 \end_inset
4856 </cell>
4857 </row>
4858 <row topline="true">
4859 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4860 \begin_inset Text
4861
4862 \begin_layout Standard
4863 1
4864 \end_layout
4865
4866 \end_inset
4867 </cell>
4868 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4869 \begin_inset Text
4870
4871 \begin_layout Standard
4872 2
4873 \end_layout
4874
4875 \end_inset
4876 </cell>
4877 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4878 \begin_inset Text
4879
4880 \begin_layout Standard
4881 3
4882 \end_layout
4883
4884 \end_inset
4885 </cell>
4886 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4887 \begin_inset Text
4888
4889 \begin_layout Standard
4890 4
4891 \end_layout
4892
4893 \end_inset
4894 </cell>
4895 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4896 \begin_inset Text
4897
4898 \begin_layout Standard
4899 5
4900 \end_layout
4901
4902 \end_inset
4903 </cell>
4904 </row>
4905 <row topline="true">
4906 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4907 \begin_inset Text
4908
4909 \begin_layout Standard
4910 asd
4911 \end_layout
4912
4913 \end_inset
4914 </cell>
4915 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4916 \begin_inset Text
4917
4918 \begin_layout Standard
4919 s
4920 \end_layout
4921
4922 \end_inset
4923 </cell>
4924 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4925 \begin_inset Text
4926
4927 \begin_layout Standard
4928 s
4929 \end_layout
4930
4931 \end_inset
4932 </cell>
4933 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4934 \begin_inset Text
4935
4936 \begin_layout Standard
4937 s
4938 \end_layout
4939
4940 \end_inset
4941 </cell>
4942 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4943 \begin_inset Text
4944
4945 \begin_layout Standard
4946 asd
4947 \end_layout
4948
4949 \end_inset
4950 </cell>
4951 </row>
4952 <row topline="true">
4953 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4954 \begin_inset Text
4955
4956 \begin_layout Standard
4957 asd
4958 \end_layout
4959
4960 \end_inset
4961 </cell>
4962 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4963 \begin_inset Text
4964
4965 \begin_layout Standard
4966 s
4967 \end_layout
4968
4969 \end_inset
4970 </cell>
4971 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4972 \begin_inset Text
4973
4974 \begin_layout Standard
4975 s
4976 \end_layout
4977
4978 \end_inset
4979 </cell>
4980 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4981 \begin_inset Text
4982
4983 \begin_layout Standard
4984 s
4985 \end_layout
4986
4987 \end_inset
4988 </cell>
4989 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4990 \begin_inset Text
4991
4992 \begin_layout Standard
4993 asd
4994 \end_layout
4995
4996 \end_inset
4997 </cell>
4998 </row>
4999 <row topline="true">
5000 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5001 \begin_inset Text
5002
5003 \begin_layout Standard
5004 asd
5005 \end_layout
5006
5007 \end_inset
5008 </cell>
5009 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5010 \begin_inset Text
5011
5012 \begin_layout Standard
5013 s
5014 \end_layout
5015
5016 \end_inset
5017 </cell>
5018 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5019 \begin_inset Text
5020
5021 \begin_layout Standard
5022 s
5023 \end_layout
5024
5025 \end_inset
5026 </cell>
5027 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5028 \begin_inset Text
5029
5030 \begin_layout Standard
5031 s
5032 \end_layout
5033
5034 \end_inset
5035 </cell>
5036 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5037 \begin_inset Text
5038
5039 \begin_layout Standard
5040 asd
5041 \end_layout
5042
5043 \end_inset
5044 </cell>
5045 </row>
5046 <row topline="true" bottomline="true">
5047 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5048 \begin_inset Text
5049
5050 \begin_layout Standard
5051 asd
5052 \end_layout
5053
5054 \end_inset
5055 </cell>
5056 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5057 \begin_inset Text
5058
5059 \begin_layout Standard
5060 asd
5061 \end_layout
5062
5063 \end_inset
5064 </cell>
5065 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5066 \begin_inset Text
5067
5068 \begin_layout Standard
5069 asd
5070 \end_layout
5071
5072 \end_inset
5073 </cell>
5074 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5075 \begin_inset Text
5076
5077 \begin_layout Standard
5078 asd
5079 \end_layout
5080
5081 \end_inset
5082 </cell>
5083 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5084 \begin_inset Text
5085
5086 \begin_layout Standard
5087 asd
5088 \end_layout
5089
5090 \end_inset
5091 </cell>
5092 </row>
5093 </lyxtabular>
5094
5095 \end_inset
5096
5097
5098 \end_layout
5099
5100 \begin_layout Standard
5101 \begin_inset VSpace medskip
5102 \end_inset
5103
5104
5105 \begin_inset Note Greyedout
5106 status open
5107
5108 \begin_layout Standard
5109
5110 \series bold
5111 Note:
5112 \series default
5113  The table number is increased for every longtable, also if you didn't set
5114  a caption for it.
5115  For this reason you could have the case that e.g.
5116  Table\InsetSpace ~
5117 2.4 follows on Table\InsetSpace ~
5118 2.1 in the list of tables if there are two longtables
5119  without captions.
5120  To avoid this you can add the following command in ERT behind every longtable
5121  without a caption:
5122 \end_layout
5123
5124 \begin_layout Standard
5125
5126 \series bold
5127
5128 \backslash
5129 addtocounter{table}{-1}
5130 \end_layout
5131
5132 \end_inset
5133
5134
5135 \end_layout
5136
5137 \begin_layout Standard
5138 \begin_inset Note Greyedout
5139 status open
5140
5141 \begin_layout Standard
5142
5143 \series bold
5144 Note:
5145 \series default
5146  If you are using the LaTeX-package 
5147 \series bold
5148 hyperref
5149 \series default
5150
5151 \begin_inset LatexCommand index
5152 name "LaTeX-packages ! hyperref"
5153
5154 \end_inset
5155
5156  to link cross-references, the link to a longtable caption will always point
5157  to the beginning of the document.
5158 \end_layout
5159
5160 \end_inset
5161
5162
5163 \end_layout
5164
5165 \begin_layout Subsubsection
5166 References to Longtables
5167 \begin_inset LatexCommand index
5168 name "Longtables ! References"
5169
5170 \end_inset
5171
5172
5173 \end_layout
5174
5175 \begin_layout Standard
5176 \begin_inset Tabular
5177 <lyxtabular version="3" rows="6" columns="5">
5178 <features islongtable="true">
5179 <column alignment="center" valignment="top" leftline="true" width="0">
5180 <column alignment="center" valignment="top" leftline="true" width="0">
5181 <column alignment="center" valignment="top" leftline="true" width="0">
5182 <column alignment="center" valignment="top" leftline="true" width="0">
5183 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5184 <row>
5185 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5186 \begin_inset Text
5187
5188 \begin_layout Standard
5189 \begin_inset Caption
5190
5191 \begin_layout Standard
5192 Referenced longtable
5193 \begin_inset LatexCommand label
5194 name "tab:RefExample"
5195
5196 \end_inset
5197
5198
5199 \end_layout
5200
5201 \end_inset
5202
5203
5204 \begin_inset ERT
5205 status collapsed
5206
5207 \begin_layout Standard
5208
5209
5210 \backslash
5211
5212 \backslash
5213 %
5214 \end_layout
5215
5216 \end_inset
5217
5218
5219 \end_layout
5220
5221 \end_inset
5222 </cell>
5223 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5224 \begin_inset Text
5225
5226 \begin_layout Standard
5227
5228 \end_layout
5229
5230 \end_inset
5231 </cell>
5232 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5233 \begin_inset Text
5234
5235 \begin_layout Standard
5236
5237 \end_layout
5238
5239 \end_inset
5240 </cell>
5241 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5242 \begin_inset Text
5243
5244 \begin_layout Standard
5245
5246 \end_layout
5247
5248 \end_inset
5249 </cell>
5250 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5251 \begin_inset Text
5252
5253 \begin_layout Standard
5254
5255 \end_layout
5256
5257 \end_inset
5258 </cell>
5259 </row>
5260 <row topline="true">
5261 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5262 \begin_inset Text
5263
5264 \begin_layout Standard
5265 1
5266 \end_layout
5267
5268 \end_inset
5269 </cell>
5270 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5271 \begin_inset Text
5272
5273 \begin_layout Standard
5274 2
5275 \end_layout
5276
5277 \end_inset
5278 </cell>
5279 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5280 \begin_inset Text
5281
5282 \begin_layout Standard
5283 3
5284 \end_layout
5285
5286 \end_inset
5287 </cell>
5288 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5289 \begin_inset Text
5290
5291 \begin_layout Standard
5292 4
5293 \end_layout
5294
5295 \end_inset
5296 </cell>
5297 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5298 \begin_inset Text
5299
5300 \begin_layout Standard
5301 5
5302 \end_layout
5303
5304 \end_inset
5305 </cell>
5306 </row>
5307 <row topline="true">
5308 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5309 \begin_inset Text
5310
5311 \begin_layout Standard
5312 asd
5313 \end_layout
5314
5315 \end_inset
5316 </cell>
5317 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5318 \begin_inset Text
5319
5320 \begin_layout Standard
5321 s
5322 \end_layout
5323
5324 \end_inset
5325 </cell>
5326 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5327 \begin_inset Text
5328
5329 \begin_layout Standard
5330 s
5331 \end_layout
5332
5333 \end_inset
5334 </cell>
5335 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5336 \begin_inset Text
5337
5338 \begin_layout Standard
5339 s
5340 \end_layout
5341
5342 \end_inset
5343 </cell>
5344 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5345 \begin_inset Text
5346
5347 \begin_layout Standard
5348 asd
5349 \end_layout
5350
5351 \end_inset
5352 </cell>
5353 </row>
5354 <row topline="true">
5355 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5356 \begin_inset Text
5357
5358 \begin_layout Standard
5359 asd
5360 \end_layout
5361
5362 \end_inset
5363 </cell>
5364 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5365 \begin_inset Text
5366
5367 \begin_layout Standard
5368 s
5369 \end_layout
5370
5371 \end_inset
5372 </cell>
5373 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5374 \begin_inset Text
5375
5376 \begin_layout Standard
5377 s
5378 \end_layout
5379
5380 \end_inset
5381 </cell>
5382 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5383 \begin_inset Text
5384
5385 \begin_layout Standard
5386 s
5387 \end_layout
5388
5389 \end_inset
5390 </cell>
5391 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5392 \begin_inset Text
5393
5394 \begin_layout Standard
5395 asd
5396 \end_layout
5397
5398 \end_inset
5399 </cell>
5400 </row>
5401 <row topline="true">
5402 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5403 \begin_inset Text
5404
5405 \begin_layout Standard
5406 asd
5407 \end_layout
5408
5409 \end_inset
5410 </cell>
5411 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5412 \begin_inset Text
5413
5414 \begin_layout Standard
5415 s
5416 \end_layout
5417
5418 \end_inset
5419 </cell>
5420 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5421 \begin_inset Text
5422
5423 \begin_layout Standard
5424 s
5425 \end_layout
5426
5427 \end_inset
5428 </cell>
5429 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5430 \begin_inset Text
5431
5432 \begin_layout Standard
5433 s
5434 \end_layout
5435
5436 \end_inset
5437 </cell>
5438 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5439 \begin_inset Text
5440
5441 \begin_layout Standard
5442 asd
5443 \end_layout
5444
5445 \end_inset
5446 </cell>
5447 </row>
5448 <row topline="true" bottomline="true">
5449 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5450 \begin_inset Text
5451
5452 \begin_layout Standard
5453 asd
5454 \end_layout
5455
5456 \end_inset
5457 </cell>
5458 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5459 \begin_inset Text
5460
5461 \begin_layout Standard
5462 sad
5463 \end_layout
5464
5465 \end_inset
5466 </cell>
5467 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5468 \begin_inset Text
5469
5470 \begin_layout Standard
5471 asd
5472 \end_layout
5473
5474 \end_inset
5475 </cell>
5476 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5477 \begin_inset Text
5478
5479 \begin_layout Standard
5480 asd
5481 \end_layout
5482
5483 \end_inset
5484 </cell>
5485 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5486 \begin_inset Text
5487
5488 \begin_layout Standard
5489 asd
5490 \end_layout
5491
5492 \end_inset
5493 </cell>
5494 </row>
5495 </lyxtabular>
5496
5497 \end_inset
5498
5499
5500 \end_layout
5501
5502 \begin_layout Standard
5503 To reference a longtable, insert a label into the caption.
5504  Note that you have to add the label prefix 
5505 \begin_inset Quotes eld
5506 \end_inset
5507
5508
5509 \emph on
5510 tab:
5511 \emph default
5512
5513 \begin_inset Quotes eld
5514 \end_inset
5515
5516  manually in the label field.
5517 \end_layout
5518
5519 \begin_layout Standard
5520 This is a reference to Table\InsetSpace ~
5521
5522 \begin_inset LatexCommand ref
5523 reference "tab:RefExample"
5524
5525 \end_inset
5526
5527 .
5528 \end_layout
5529
5530 \begin_layout Standard
5531 The caption layout can be set together with all other caption of your document
5532  using the LaTeX-package 
5533 \series bold
5534 caption
5535 \series default
5536
5537 \begin_inset LatexCommand index
5538 name "LaTeX-packages ! caption"
5539
5540 \end_inset
5541
5542 , see section\InsetSpace ~
5543
5544 \begin_inset LatexCommand ref
5545 reference "sec:Caption-Formatting"
5546
5547 \end_inset
5548
5549 .
5550 \end_layout
5551
5552 \begin_layout Subsubsection
5553 Caption Width
5554 \begin_inset LatexCommand index
5555 name "Longtables ! Caption Width"
5556
5557 \end_inset
5558
5559
5560 \end_layout
5561
5562 \begin_layout Standard
5563 The maximal width of of caption lines is defined by the length 
5564 \series bold
5565
5566 \backslash
5567 LTcapwidth
5568 \series default
5569 .
5570  Its default value is 4\InsetSpace \thinspace{}
5571 in.
5572  To change it add the following command to your document preamble or as
5573  ERT into your document before the longtable that should be affected
5574 \end_layout
5575
5576 \begin_layout Standard
5577
5578 \series bold
5579
5580 \backslash
5581 setlength{
5582 \backslash
5583 LTcapwidth}{width}
5584 \end_layout
5585
5586 \begin_layout Standard
5587 where the width could have one of the units listed in appendix\InsetSpace ~
5588
5589 \begin_inset LatexCommand ref
5590 reference "cha:Units-available-in"
5591
5592 \end_inset
5593
5594 .
5595 \end_layout
5596
5597 \begin_layout Standard
5598 The following tables show the difference:
5599 \end_layout
5600
5601 \begin_layout Standard
5602 \begin_inset Tabular
5603 <lyxtabular version="3" rows="6" columns="5">
5604 <features islongtable="true">
5605 <column alignment="center" valignment="top" leftline="true" width="0">
5606 <column alignment="center" valignment="top" leftline="true" width="0">
5607 <column alignment="center" valignment="top" leftline="true" width="0">
5608 <column alignment="center" valignment="top" leftline="true" width="0">
5609 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5610 <row>
5611 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5612 \begin_inset Text
5613
5614 \begin_layout Standard
5615 \begin_inset Caption
5616
5617 \begin_layout Standard
5618 long full title with default width long full title with default width long
5619  full title with default width
5620 \begin_inset OptArg
5621 status collapsed
5622
5623 \begin_layout Standard
5624 caption with default width
5625 \end_layout
5626
5627 \end_inset
5628
5629
5630 \end_layout
5631
5632 \end_inset
5633
5634
5635 \begin_inset ERT
5636 status collapsed
5637
5638 \begin_layout Standard
5639
5640
5641 \backslash
5642
5643 \backslash
5644 %
5645 \end_layout
5646
5647 \end_inset
5648
5649
5650 \end_layout
5651
5652 \end_inset
5653 </cell>
5654 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5655 \begin_inset Text
5656
5657 \begin_layout Standard
5658
5659 \end_layout
5660
5661 \end_inset
5662 </cell>
5663 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5664 \begin_inset Text
5665
5666 \begin_layout Standard
5667
5668 \end_layout
5669
5670 \end_inset
5671 </cell>
5672 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5673 \begin_inset Text
5674
5675 \begin_layout Standard
5676
5677 \end_layout
5678
5679 \end_inset
5680 </cell>
5681 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5682 \begin_inset Text
5683
5684 \begin_layout Standard
5685
5686 \end_layout
5687
5688 \end_inset
5689 </cell>
5690 </row>
5691 <row topline="true">
5692 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5693 \begin_inset Text
5694
5695 \begin_layout Standard
5696 1
5697 \end_layout
5698
5699 \end_inset
5700 </cell>
5701 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5702 \begin_inset Text
5703
5704 \begin_layout Standard
5705 2
5706 \end_layout
5707
5708 \end_inset
5709 </cell>
5710 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5711 \begin_inset Text
5712
5713 \begin_layout Standard
5714 3
5715 \end_layout
5716
5717 \end_inset
5718 </cell>
5719 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5720 \begin_inset Text
5721
5722 \begin_layout Standard
5723 4
5724 \end_layout
5725
5726 \end_inset
5727 </cell>
5728 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5729 \begin_inset Text
5730
5731 \begin_layout Standard
5732 5
5733 \end_layout
5734
5735 \end_inset
5736 </cell>
5737 </row>
5738 <row topline="true">
5739 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5740 \begin_inset Text
5741
5742 \begin_layout Standard
5743 asd
5744 \end_layout
5745
5746 \end_inset
5747 </cell>
5748 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5749 \begin_inset Text
5750
5751 \begin_layout Standard
5752 s
5753 \end_layout
5754
5755 \end_inset
5756 </cell>
5757 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5758 \begin_inset Text
5759
5760 \begin_layout Standard
5761 s
5762 \end_layout
5763
5764 \end_inset
5765 </cell>
5766 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5767 \begin_inset Text
5768
5769 \begin_layout Standard
5770 s
5771 \end_layout
5772
5773 \end_inset
5774 </cell>
5775 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5776 \begin_inset Text
5777
5778 \begin_layout Standard
5779 asd
5780 \end_layout
5781
5782 \end_inset
5783 </cell>
5784 </row>
5785 <row topline="true">
5786 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5787 \begin_inset Text
5788
5789 \begin_layout Standard
5790 asd
5791 \end_layout
5792
5793 \end_inset
5794 </cell>
5795 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5796 \begin_inset Text
5797
5798 \begin_layout Standard
5799 s
5800 \end_layout
5801
5802 \end_inset
5803 </cell>
5804 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5805 \begin_inset Text
5806
5807 \begin_layout Standard
5808 s
5809 \end_layout
5810
5811 \end_inset
5812 </cell>
5813 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5814 \begin_inset Text
5815
5816 \begin_layout Standard
5817 s
5818 \end_layout
5819
5820 \end_inset
5821 </cell>
5822 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5823 \begin_inset Text
5824
5825 \begin_layout Standard
5826 asd
5827 \end_layout
5828
5829 \end_inset
5830 </cell>
5831 </row>
5832 <row topline="true">
5833 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5834 \begin_inset Text
5835
5836 \begin_layout Standard
5837 asd
5838 \end_layout
5839
5840 \end_inset
5841 </cell>
5842 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5843 \begin_inset Text
5844
5845 \begin_layout Standard
5846 s
5847 \end_layout
5848
5849 \end_inset
5850 </cell>
5851 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5852 \begin_inset Text
5853
5854 \begin_layout Standard
5855 s
5856 \end_layout
5857
5858 \end_inset
5859 </cell>
5860 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5861 \begin_inset Text
5862
5863 \begin_layout Standard
5864 s
5865 \end_layout
5866
5867 \end_inset
5868 </cell>
5869 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5870 \begin_inset Text
5871
5872 \begin_layout Standard
5873 asd
5874 \end_layout
5875
5876 \end_inset
5877 </cell>
5878 </row>
5879 <row topline="true" bottomline="true">
5880 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5881 \begin_inset Text
5882
5883 \begin_layout Standard
5884 asd
5885 \end_layout
5886
5887 \end_inset
5888 </cell>
5889 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5890 \begin_inset Text
5891
5892 \begin_layout Standard
5893 sad
5894 \end_layout
5895
5896 \end_inset
5897 </cell>
5898 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5899 \begin_inset Text
5900
5901 \begin_layout Standard
5902 asd
5903 \end_layout
5904
5905 \end_inset
5906 </cell>
5907 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5908 \begin_inset Text
5909
5910 \begin_layout Standard
5911 asd
5912 \end_layout
5913
5914 \end_inset
5915 </cell>
5916 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5917 \begin_inset Text
5918
5919 \begin_layout Standard
5920 asd
5921 \end_layout
5922
5923 \end_inset
5924 </cell>
5925 </row>
5926 </lyxtabular>
5927
5928 \end_inset
5929
5930
5931 \end_layout
5932
5933 \begin_layout Standard
5934 \begin_inset ERT
5935 status open
5936
5937 \begin_layout Standard
5938
5939
5940 \backslash
5941 setlength{
5942 \backslash
5943 LTcapwidth}{5cm}
5944 \end_layout
5945
5946 \end_inset
5947
5948
5949 \begin_inset Tabular
5950 <lyxtabular version="3" rows="6" columns="5">
5951 <features islongtable="true">
5952 <column alignment="center" valignment="top" leftline="true" width="0">
5953 <column alignment="center" valignment="top" leftline="true" width="0">
5954 <column alignment="center" valignment="top" leftline="true" width="0">
5955 <column alignment="center" valignment="top" leftline="true" width="0">
5956 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5957 <row>
5958 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5959 \begin_inset Text
5960
5961 \begin_layout Standard
5962 \begin_inset Caption
5963
5964 \begin_layout Standard
5965 long full title with width set to 5\InsetSpace \thinspace{}
5966 cm long full title with width set to
5967  5\InsetSpace \thinspace{}
5968 cm long full title with width set to 5\InsetSpace \thinspace{}
5969 cm
5970 \begin_inset OptArg
5971 status collapsed
5972
5973 \begin_layout Standard
5974 caption with width\InsetSpace \thinspace{}
5975 =\InsetSpace \thinspace{}
5976 5\InsetSpace \thinspace{}
5977 cm
5978 \end_layout
5979
5980 \end_inset
5981
5982
5983 \end_layout
5984
5985 \end_inset
5986
5987
5988 \begin_inset ERT
5989 status collapsed
5990
5991 \begin_layout Standard
5992
5993
5994 \backslash
5995
5996 \backslash
5997 %
5998 \end_layout
5999
6000 \end_inset
6001
6002
6003 \end_layout
6004
6005 \end_inset
6006 </cell>
6007 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6008 \begin_inset Text
6009
6010 \begin_layout Standard
6011
6012 \end_layout
6013
6014 \end_inset
6015 </cell>
6016 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6017 \begin_inset Text
6018
6019 \begin_layout Standard
6020
6021 \end_layout
6022
6023 \end_inset
6024 </cell>
6025 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6026 \begin_inset Text
6027
6028 \begin_layout Standard
6029
6030 \end_layout
6031
6032 \end_inset
6033 </cell>
6034 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6035 \begin_inset Text
6036
6037 \begin_layout Standard
6038
6039 \end_layout
6040
6041 \end_inset
6042 </cell>
6043 </row>
6044 <row topline="true">
6045 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6046 \begin_inset Text
6047
6048 \begin_layout Standard
6049 1
6050 \end_layout
6051
6052 \end_inset
6053 </cell>
6054 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6055 \begin_inset Text
6056
6057 \begin_layout Standard
6058 2
6059 \end_layout
6060
6061 \end_inset
6062 </cell>
6063 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6064 \begin_inset Text
6065
6066 \begin_layout Standard
6067 3
6068 \end_layout
6069
6070 \end_inset
6071 </cell>
6072 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6073 \begin_inset Text
6074
6075 \begin_layout Standard
6076 4
6077 \end_layout
6078
6079 \end_inset
6080 </cell>
6081 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6082 \begin_inset Text
6083
6084 \begin_layout Standard
6085 5
6086 \end_layout
6087
6088 \end_inset
6089 </cell>
6090 </row>
6091 <row topline="true">
6092 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6093 \begin_inset Text
6094
6095 \begin_layout Standard
6096 asd
6097 \end_layout
6098
6099 \end_inset
6100 </cell>
6101 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6102 \begin_inset Text
6103
6104 \begin_layout Standard
6105 s
6106 \end_layout
6107
6108 \end_inset
6109 </cell>
6110 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6111 \begin_inset Text
6112
6113 \begin_layout Standard
6114 s
6115 \end_layout
6116
6117 \end_inset
6118 </cell>
6119 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6120 \begin_inset Text
6121
6122 \begin_layout Standard
6123 s
6124 \end_layout
6125
6126 \end_inset
6127 </cell>
6128 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6129 \begin_inset Text
6130
6131 \begin_layout Standard
6132 asd
6133 \end_layout
6134
6135 \end_inset
6136 </cell>
6137 </row>
6138 <row topline="true">
6139 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6140 \begin_inset Text
6141
6142 \begin_layout Standard
6143 asd
6144 \end_layout
6145
6146 \end_inset
6147 </cell>
6148 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6149 \begin_inset Text
6150
6151 \begin_layout Standard
6152 s
6153 \end_layout
6154
6155 \end_inset
6156 </cell>
6157 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6158 \begin_inset Text
6159
6160 \begin_layout Standard
6161 s
6162 \end_layout
6163
6164 \end_inset
6165 </cell>
6166 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6167 \begin_inset Text
6168
6169 \begin_layout Standard
6170 s
6171 \end_layout
6172
6173 \end_inset
6174 </cell>
6175 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6176 \begin_inset Text
6177
6178 \begin_layout Standard
6179 asd
6180 \end_layout
6181
6182 \end_inset
6183 </cell>
6184 </row>
6185 <row topline="true">
6186 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6187 \begin_inset Text
6188
6189 \begin_layout Standard
6190 asd
6191 \end_layout
6192
6193 \end_inset
6194 </cell>
6195 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6196 \begin_inset Text
6197
6198 \begin_layout Standard
6199 s
6200 \end_layout
6201
6202 \end_inset
6203 </cell>
6204 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6205 \begin_inset Text
6206
6207 \begin_layout Standard
6208 s
6209 \end_layout
6210
6211 \end_inset
6212 </cell>
6213 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6214 \begin_inset Text
6215
6216 \begin_layout Standard
6217 s
6218 \end_layout
6219
6220 \end_inset
6221 </cell>
6222 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6223 \begin_inset Text
6224
6225 \begin_layout Standard
6226 asd
6227 \end_layout
6228
6229 \end_inset
6230 </cell>
6231 </row>
6232 <row topline="true" bottomline="true">
6233 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6234 \begin_inset Text
6235
6236 \begin_layout Standard
6237 asd
6238 \end_layout
6239
6240 \end_inset
6241 </cell>
6242 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6243 \begin_inset Text
6244
6245 \begin_layout Standard
6246 sad
6247 \end_layout
6248
6249 \end_inset
6250 </cell>
6251 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6252 \begin_inset Text
6253
6254 \begin_layout Standard
6255 asd
6256 \end_layout
6257
6258 \end_inset
6259 </cell>
6260 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6261 \begin_inset Text
6262
6263 \begin_layout Standard
6264 asd
6265 \end_layout
6266
6267 \end_inset
6268 </cell>
6269 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6270 \begin_inset Text
6271
6272 \begin_layout Standard
6273 asd
6274 \end_layout
6275
6276 \end_inset
6277 </cell>
6278 </row>
6279 </lyxtabular>
6280
6281 \end_inset
6282
6283
6284 \end_layout
6285
6286 \begin_layout Standard
6287 \begin_inset ERT
6288 status collapsed
6289
6290 \begin_layout Standard
6291
6292
6293 \backslash
6294 setlength{
6295 \backslash
6296 LTcapwidth}{4in}
6297 \end_layout
6298
6299 \end_inset
6300
6301
6302 \end_layout
6303
6304 \begin_layout Standard
6305 \begin_inset Note Greyedout
6306 status open
6307
6308 \begin_layout Standard
6309
6310 \series bold
6311 Note:
6312 \series default
6313  When the LaTeX-package 
6314 \series bold
6315 caption
6316 \series default
6317
6318 \begin_inset LatexCommand index
6319 name "LaTeX-packages ! caption"
6320
6321 \end_inset
6322
6323  is used, as in this document, the full page width is used for the caption
6324  when you use the default value of 4\InsetSpace \thinspace{}
6325 in for 
6326 \series bold
6327
6328 \backslash
6329 LTcapwidth
6330 \series default
6331 .
6332  To get in this case exactly a 4\InsetSpace \thinspace{}
6333 in wide caption, you can either use a value
6334  slightly different from 4.0\InsetSpace \thinspace{}
6335 in, e.g.
6336  3.99\InsetSpace \thinspace{}
6337 in, or the LaTeX-command 
6338 \series bold
6339
6340 \backslash
6341 captionsetup{width=value}
6342 \series default
6343  that is provided by the 
6344 \series bold
6345 caption
6346 \series default
6347 -package.
6348 \end_layout
6349
6350 \end_inset
6351
6352
6353 \end_layout
6354
6355 \begin_layout Subsubsection
6356 Different Captions for Table Pages
6357 \begin_inset LatexCommand index
6358 name "Longtables ! Different Captions for Pages"
6359
6360 \end_inset
6361
6362
6363 \end_layout
6364
6365 \begin_layout Standard
6366 When the other captions should differ from the one of the first table page,
6367  insert a caption with a non-empty short title in a dummy caption row marked
6368  as first header.
6369  The caption used for the other table pages is inserted as caption without
6370  a short title in a dummy caption row that is marked as main header.
6371  When this caption shouldn't include the table number, use the command
6372 \end_layout
6373
6374 \begin_layout Standard
6375
6376 \series bold
6377
6378 \backslash
6379 caption*{caption text}
6380 \end_layout
6381
6382 \begin_layout Standard
6383 instead of LyX's caption box.
6384  The label to reference the table is inserted into the caption of the first
6385  header.
6386  Table\InsetSpace ~
6387
6388 \begin_inset LatexCommand ref
6389 reference "tab:DiffCaptions"
6390
6391 \end_inset
6392
6393  is an example for a longtable with different heading where the second caption
6394  doesn't include the table number.
6395 \end_layout
6396
6397 \begin_layout Standard
6398 \align center
6399 \begin_inset Tabular
6400 <lyxtabular version="3" rows="60" columns="3">
6401 <features islongtable="true">
6402 <column alignment="left" valignment="top" leftline="true" width="0cm">
6403 <column alignment="left" valignment="top" rightline="true" width="0pt">
6404 <column alignment="right" valignment="top" rightline="true" width="0pt">
6405 <row endfirsthead="true">
6406 <cell alignment="right" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6407 \begin_inset Text
6408
6409 \begin_layout Standard
6410 \begin_inset Caption
6411
6412 \begin_layout Standard
6413 Example Phone List
6414 \begin_inset LatexCommand label
6415 name "tab:DiffCaptions"
6416
6417 \end_inset
6418
6419
6420 \begin_inset OptArg
6421 status collapsed
6422
6423 \begin_layout Standard
6424 Example Phone List
6425 \end_layout
6426
6427 \end_inset
6428
6429
6430 \end_layout
6431
6432 \end_inset
6433
6434
6435 \begin_inset ERT
6436 status collapsed
6437
6438 \begin_layout Standard
6439
6440
6441 \backslash
6442
6443 \backslash
6444 %
6445 \end_layout
6446
6447 \end_inset
6448
6449
6450 \end_layout
6451
6452 \end_inset
6453 </cell>
6454 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6455 \begin_inset Text
6456
6457 \begin_layout Standard
6458
6459 \end_layout
6460
6461 \end_inset
6462 </cell>
6463 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6464 \begin_inset Text
6465
6466 \begin_layout Standard
6467
6468 \end_layout
6469
6470 \end_inset
6471 </cell>
6472 </row>
6473 <row topline="true" bottomline="true" endfirsthead="true">
6474 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6475 \begin_inset Text
6476
6477 \begin_layout Standard
6478
6479 \series bold
6480 Example Phone List (ignore the names)
6481 \end_layout
6482
6483 \end_inset
6484 </cell>
6485 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6486 \begin_inset Text
6487
6488 \begin_layout Standard
6489
6490 \end_layout
6491
6492 \end_inset
6493 </cell>
6494 <cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6495 \begin_inset Text
6496
6497 \begin_layout Standard
6498
6499 \end_layout
6500
6501 \end_inset
6502 </cell>
6503 </row>
6504 <row topline="true" bottomline="true" endfirsthead="true">
6505 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
6506 \begin_inset Text
6507
6508 \begin_layout Standard
6509
6510 \series bold
6511 NAME
6512 \end_layout
6513
6514 \end_inset
6515 </cell>
6516 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6517 \begin_inset Text
6518
6519 \begin_layout Standard
6520
6521 \end_layout
6522
6523 \end_inset
6524 </cell>
6525 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6526 \begin_inset Text
6527
6528 \begin_layout Standard
6529
6530 \series bold
6531 TEL.
6532 \end_layout
6533
6534 \end_inset
6535 </cell>
6536 </row>
6537 <row bottomline="true" endhead="true">
6538 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6539 \begin_inset Text
6540
6541 \begin_layout Standard
6542 \begin_inset ERT
6543 status open
6544
6545 \begin_layout Standard
6546
6547
6548 \backslash
6549 caption*{Continued Example Phone List}
6550 \backslash
6551
6552 \backslash
6553 %
6554 \end_layout
6555
6556 \end_inset
6557
6558
6559 \end_layout
6560
6561 \end_inset
6562 </cell>
6563 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6564 \begin_inset Text
6565
6566 \begin_layout Standard
6567
6568 \end_layout
6569
6570 \end_inset
6571 </cell>
6572 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6573 \begin_inset Text
6574
6575 \begin_layout Standard
6576
6577 \end_layout
6578
6579 \end_inset
6580 </cell>
6581 </row>
6582 <row topline="true" bottomline="true" endhead="true">
6583 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6584 \begin_inset Text
6585
6586 \begin_layout Standard
6587
6588 \series bold
6589 Example Phone List
6590 \end_layout
6591
6592 \end_inset
6593 </cell>
6594 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6595 \begin_inset Text
6596
6597 \begin_layout Standard
6598
6599 \end_layout
6600
6601 \end_inset
6602 </cell>
6603 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6604 \begin_inset Text
6605
6606 \begin_layout Standard
6607
6608 \end_layout
6609
6610 \end_inset
6611 </cell>
6612 </row>
6613 <row topline="true" bottomline="true" endhead="true">
6614 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
6615 \begin_inset Text
6616
6617 \begin_layout Standard
6618
6619 \series bold
6620 NAME
6621 \end_layout
6622
6623 \end_inset
6624 </cell>
6625 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6626 \begin_inset Text
6627
6628 \begin_layout Standard
6629
6630 \end_layout
6631
6632 \end_inset
6633 </cell>
6634 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6635 \begin_inset Text
6636
6637 \begin_layout Standard
6638
6639 \series bold
6640 TEL.
6641 \end_layout
6642
6643 \end_inset
6644 </cell>
6645 </row>
6646 <row topline="true" bottomline="true" endfoot="true">
6647 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
6648 \begin_inset Text
6649
6650 \begin_layout Standard
6651 continued on next page
6652 \end_layout
6653
6654 \end_inset
6655 </cell>
6656 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6657 \begin_inset Text
6658
6659 \begin_layout Standard
6660
6661 \end_layout
6662
6663 \end_inset
6664 </cell>
6665 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6666 \begin_inset Text
6667
6668 \begin_layout Standard
6669
6670 \end_layout
6671
6672 \end_inset
6673 </cell>
6674 </row>
6675 <row>
6676 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6677 \begin_inset Text
6678
6679 \begin_layout Standard
6680
6681 \series bold
6682 Annovi
6683 \end_layout
6684
6685 \end_inset
6686 </cell>
6687 <cell alignment="center" valignment="top" topline="true" usebox="none">
6688 \begin_inset Text
6689
6690 \begin_layout Standard
6691 Silvia
6692 \end_layout
6693
6694 \end_inset
6695 </cell>
6696 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6697 \begin_inset Text
6698
6699 \begin_layout Standard
6700 111
6701 \end_layout
6702
6703 \end_inset
6704 </cell>
6705 </row>
6706 <row>
6707 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6708 \begin_inset Text
6709
6710 \begin_layout Standard
6711
6712 \series bold
6713 Bertoli
6714 \end_layout
6715
6716 \end_inset
6717 </cell>
6718 <cell alignment="center" valignment="top" topline="true" usebox="none">
6719 \begin_inset Text
6720
6721 \begin_layout Standard
6722 Stefano
6723 \end_layout
6724
6725 \end_inset
6726 </cell>
6727 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6728 \begin_inset Text
6729
6730 \begin_layout Standard
6731 111
6732 \end_layout
6733
6734 \end_inset
6735 </cell>
6736 </row>
6737 <row>
6738 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6739 \begin_inset Text
6740
6741 \begin_layout Standard
6742
6743 \series bold
6744 Bozzi
6745 \end_layout
6746
6747 \end_inset
6748 </cell>
6749 <cell alignment="center" valignment="top" topline="true" usebox="none">
6750 \begin_inset Text
6751
6752 \begin_layout Standard
6753 Walter
6754 \end_layout
6755
6756 \end_inset
6757 </cell>
6758 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6759 \begin_inset Text
6760
6761 \begin_layout Standard
6762 111
6763 \end_layout
6764
6765 \end_inset
6766 </cell>
6767 </row>
6768 <row>
6769 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6770 \begin_inset Text
6771
6772 \begin_layout Standard
6773
6774 \series bold
6775 Cachia
6776 \end_layout
6777
6778 \end_inset
6779 </cell>
6780 <cell alignment="center" valignment="top" topline="true" usebox="none">
6781 \begin_inset Text
6782
6783 \begin_layout Standard
6784 Maria
6785 \end_layout
6786
6787 \end_inset
6788 </cell>
6789 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6790 \begin_inset Text
6791
6792 \begin_layout Standard
6793 111
6794 \end_layout
6795
6796 \end_inset
6797 </cell>
6798 </row>
6799 <row>
6800 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6801 \begin_inset Text
6802
6803 \begin_layout Standard
6804
6805 \series bold
6806 Cachia
6807 \end_layout
6808
6809 \end_inset
6810 </cell>
6811 <cell alignment="center" valignment="top" topline="true" usebox="none">
6812 \begin_inset Text
6813
6814 \begin_layout Standard
6815 Maurizio
6816 \end_layout
6817
6818 \end_inset
6819 </cell>
6820 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6821 \begin_inset Text
6822
6823 \begin_layout Standard
6824 111
6825 \end_layout
6826
6827 \end_inset
6828 </cell>
6829 </row>
6830 <row>
6831 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6832 \begin_inset Text
6833
6834 \begin_layout Standard
6835
6836 \series bold
6837 Cinquemani
6838 \end_layout
6839
6840 \end_inset
6841 </cell>
6842 <cell alignment="center" valignment="top" topline="true" usebox="none">
6843 \begin_inset Text
6844
6845 \begin_layout Standard
6846 Giusi
6847 \end_layout
6848
6849 \end_inset
6850 </cell>
6851 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6852 \begin_inset Text
6853
6854 \begin_layout Standard
6855 111
6856 \end_layout
6857
6858 \end_inset
6859 </cell>
6860 </row>
6861 <row>
6862 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6863 \begin_inset Text
6864
6865 \begin_layout Standard
6866
6867 \series bold
6868 Colin
6869 \end_layout
6870
6871 \end_inset
6872 </cell>
6873 <cell alignment="center" valignment="top" topline="true" usebox="none">
6874 \begin_inset Text
6875
6876 \begin_layout Standard
6877 Bernard
6878 \end_layout
6879
6880 \end_inset
6881 </cell>
6882 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6883 \begin_inset Text
6884
6885 \begin_layout Standard
6886 111
6887 \end_layout
6888
6889 \end_inset
6890 </cell>
6891 </row>
6892 <row>
6893 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6894 \begin_inset Text
6895
6896 \begin_layout Standard
6897
6898 \series bold
6899 Concli
6900 \end_layout
6901
6902 \end_inset
6903 </cell>
6904 <cell alignment="center" valignment="top" topline="true" usebox="none">
6905 \begin_inset Text
6906
6907 \begin_layout Standard
6908 Gianfranco
6909 \end_layout
6910
6911 \end_inset
6912 </cell>
6913 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6914 \begin_inset Text
6915
6916 \begin_layout Standard
6917 111
6918 \end_layout
6919
6920 \end_inset
6921 </cell>
6922 </row>
6923 <row>
6924 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6925 \begin_inset Text
6926
6927 \begin_layout Standard
6928
6929 \series bold
6930 Dal Bosco
6931 \end_layout
6932
6933 \end_inset
6934 </cell>
6935 <cell alignment="center" valignment="top" topline="true" usebox="none">
6936 \begin_inset Text
6937
6938 \begin_layout Standard
6939 Carolina
6940 \end_layout
6941
6942 \end_inset
6943 </cell>
6944 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6945 \begin_inset Text
6946
6947 \begin_layout Standard
6948 111
6949 \end_layout
6950
6951 \end_inset
6952 </cell>
6953 </row>
6954 <row>
6955 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6956 \begin_inset Text
6957
6958 \begin_layout Standard
6959
6960 \series bold
6961 Dalpiaz
6962 \end_layout
6963
6964 \end_inset
6965 </cell>
6966 <cell alignment="center" valignment="top" topline="true" usebox="none">
6967 \begin_inset Text
6968
6969 \begin_layout Standard
6970 Annamaria
6971 \end_layout
6972
6973 \end_inset
6974 </cell>
6975 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6976 \begin_inset Text
6977
6978 \begin_layout Standard
6979 111
6980 \end_layout
6981
6982 \end_inset
6983 </cell>
6984 </row>
6985 <row>
6986 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6987 \begin_inset Text
6988
6989 \begin_layout Standard
6990
6991 \series bold
6992 Feliciello
6993 \end_layout
6994
6995 \end_inset
6996 </cell>
6997 <cell alignment="center" valignment="top" topline="true" usebox="none">
6998 \begin_inset Text
6999
7000 \begin_layout Standard
7001 Domenico
7002 \end_layout
7003
7004 \end_inset
7005 </cell>
7006 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7007 \begin_inset Text
7008
7009 \begin_layout Standard
7010 111
7011 \end_layout
7012
7013 \end_inset
7014 </cell>
7015 </row>
7016 <row>
7017 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7018 \begin_inset Text
7019
7020 \begin_layout Standard
7021
7022 \series bold
7023 Focarelli
7024 \end_layout
7025
7026 \end_inset
7027 </cell>
7028 <cell alignment="center" valignment="top" topline="true" usebox="none">
7029 \begin_inset Text
7030
7031 \begin_layout Standard
7032 Paola
7033 \end_layout
7034
7035 \end_inset
7036 </cell>
7037 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7038 \begin_inset Text
7039
7040 \begin_layout Standard
7041 111
7042 \end_layout
7043
7044 \end_inset
7045 </cell>
7046 </row>
7047 <row>
7048 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7049 \begin_inset Text
7050
7051 \begin_layout Standard
7052
7053 \series bold
7054 Galletti
7055 \end_layout
7056
7057 \end_inset
7058 </cell>
7059 <cell alignment="center" valignment="top" topline="true" usebox="none">
7060 \begin_inset Text
7061
7062 \begin_layout Standard
7063 Oreste
7064 \end_layout
7065
7066 \end_inset
7067 </cell>
7068 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7069 \begin_inset Text
7070
7071 \begin_layout Standard
7072 111
7073 \end_layout
7074
7075 \end_inset
7076 </cell>
7077 </row>
7078 <row>
7079 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7080 \begin_inset Text
7081
7082 \begin_layout Standard
7083
7084 \series bold
7085 Gasparini
7086 \end_layout
7087
7088 \end_inset
7089 </cell>
7090 <cell alignment="center" valignment="top" topline="true" usebox="none">
7091 \begin_inset Text
7092
7093 \begin_layout Standard
7094 Franca
7095 \end_layout
7096
7097 \end_inset
7098 </cell>
7099 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7100 \begin_inset Text
7101
7102 \begin_layout Standard
7103 111
7104 \end_layout
7105
7106 \end_inset
7107 </cell>
7108 </row>
7109 <row>
7110 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7111 \begin_inset Text
7112
7113 \begin_layout Standard
7114
7115 \series bold
7116 Rizzardi
7117 \series default
7118
7119 \begin_inset Foot
7120 status collapsed
7121
7122 \begin_layout Standard
7123 Example footnote
7124 \end_layout
7125
7126 \end_inset
7127
7128
7129 \end_layout
7130
7131 \end_inset
7132 </cell>
7133 <cell alignment="center" valignment="top" topline="true" usebox="none">
7134 \begin_inset Text
7135
7136 \begin_layout Standard
7137 Paola
7138 \end_layout
7139
7140 \end_inset
7141 </cell>
7142 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7143 \begin_inset Text
7144
7145 \begin_layout Standard
7146 111
7147 \end_layout
7148
7149 \end_inset
7150 </cell>
7151 </row>
7152 <row>
7153 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7154 \begin_inset Text
7155
7156 \begin_layout Standard
7157
7158 \series bold
7159 Lassini
7160 \end_layout
7161
7162 \end_inset
7163 </cell>
7164 <cell alignment="center" valignment="top" topline="true" usebox="none">
7165 \begin_inset Text
7166
7167 \begin_layout Standard
7168 Giancarlo
7169 \end_layout
7170
7171 \end_inset
7172 </cell>
7173 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7174 \begin_inset Text
7175
7176 \begin_layout Standard
7177 111
7178 \end_layout
7179
7180 \end_inset
7181 </cell>
7182 </row>
7183 <row>
7184 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7185 \begin_inset Text
7186
7187 \begin_layout Standard
7188
7189 \series bold
7190 Malfatti
7191 \end_layout
7192
7193 \end_inset
7194 </cell>
7195 <cell alignment="center" valignment="top" topline="true" usebox="none">
7196 \begin_inset Text
7197
7198 \begin_layout Standard
7199 Luciano
7200 \end_layout
7201
7202 \end_inset
7203 </cell>
7204 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7205 \begin_inset Text
7206
7207 \begin_layout Standard
7208 111
7209 \end_layout
7210
7211 \end_inset
7212 </cell>
7213 </row>
7214 <row>
7215 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7216 \begin_inset Text
7217
7218 \begin_layout Standard
7219
7220 \series bold
7221 Malfatti
7222 \end_layout
7223
7224 \end_inset
7225 </cell>
7226 <cell alignment="center" valignment="top" topline="true" usebox="none">
7227 \begin_inset Text
7228
7229 \begin_layout Standard
7230 Valeriano
7231 \end_layout
7232
7233 \end_inset
7234 </cell>
7235 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7236 \begin_inset Text
7237
7238 \begin_layout Standard
7239 111
7240 \end_layout
7241
7242 \end_inset
7243 </cell>
7244 </row>
7245 <row>
7246 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7247 \begin_inset Text
7248
7249 \begin_layout Standard
7250
7251 \series bold
7252 Meneguzzo
7253 \end_layout
7254
7255 \end_inset
7256 </cell>
7257 <cell alignment="center" valignment="top" topline="true" usebox="none">
7258 \begin_inset Text
7259
7260 \begin_layout Standard
7261 Roberto
7262 \end_layout
7263
7264 \end_inset
7265 </cell>
7266 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7267 \begin_inset Text
7268
7269 \begin_layout Standard
7270 111
7271 \end_layout
7272
7273 \end_inset
7274 </cell>
7275 </row>
7276 <row>
7277 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7278 \begin_inset Text
7279
7280 \begin_layout Standard
7281
7282 \series bold
7283 Mezzadra
7284 \end_layout
7285
7286 \end_inset
7287 </cell>
7288 <cell alignment="center" valignment="top" topline="true" usebox="none">
7289 \begin_inset Text
7290
7291 \begin_layout Standard
7292 Roberto
7293 \end_layout
7294
7295 \end_inset
7296 </cell>
7297 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7298 \begin_inset Text
7299
7300 \begin_layout Standard
7301 111
7302 \end_layout
7303
7304 \end_inset
7305 </cell>
7306 </row>
7307 <row>
7308 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7309 \begin_inset Text
7310
7311 \begin_layout Standard
7312
7313 \series bold
7314 Pirpamer
7315 \end_layout
7316
7317 \end_inset
7318 </cell>
7319 <cell alignment="center" valignment="top" topline="true" usebox="none">
7320 \begin_inset Text
7321
7322 \begin_layout Standard
7323 Erich
7324 \end_layout
7325
7326 \end_inset
7327 </cell>
7328 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7329 \begin_inset Text
7330
7331 \begin_layout Standard
7332 111
7333 \end_layout
7334
7335 \end_inset
7336 </cell>
7337 </row>
7338 <row>
7339 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7340 \begin_inset Text
7341
7342 \begin_layout Standard
7343
7344 \series bold
7345 Pochiesa
7346 \end_layout
7347
7348 \end_inset
7349 </cell>
7350 <cell alignment="center" valignment="top" topline="true" usebox="none">
7351 \begin_inset Text
7352
7353 \begin_layout Standard
7354 Paolo
7355 \end_layout
7356
7357 \end_inset
7358 </cell>
7359 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7360 \begin_inset Text
7361
7362 \begin_layout Standard
7363 111, 222
7364 \end_layout
7365
7366 \end_inset
7367 </cell>
7368 </row>
7369 <row>
7370 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7371 \begin_inset Text
7372
7373 \begin_layout Standard
7374
7375 \series bold
7376 Radina
7377 \end_layout
7378
7379 \end_inset
7380 </cell>
7381 <cell alignment="center" valignment="top" topline="true" usebox="none">
7382 \begin_inset Text
7383
7384 \begin_layout Standard
7385 Claudio
7386 \end_layout
7387
7388 \end_inset
7389 </cell>
7390 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7391 \begin_inset Text
7392
7393 \begin_layout Standard
7394 111
7395 \end_layout
7396
7397 \end_inset
7398 </cell>
7399 </row>
7400 <row>
7401 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7402 \begin_inset Text
7403
7404 \begin_layout Standard
7405
7406 \series bold
7407 Stuffer
7408 \end_layout
7409
7410 \end_inset
7411 </cell>
7412 <cell alignment="center" valignment="top" topline="true" usebox="none">
7413 \begin_inset Text
7414
7415 \begin_layout Standard
7416 Oskar
7417 \end_layout
7418
7419 \end_inset
7420 </cell>
7421 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7422 \begin_inset Text
7423
7424 \begin_layout Standard
7425 111
7426 \end_layout
7427
7428 \end_inset
7429 </cell>
7430 </row>
7431 <row>
7432 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7433 \begin_inset Text
7434
7435 \begin_layout Standard
7436
7437 \series bold
7438 Tacchelli
7439 \end_layout
7440
7441 \end_inset
7442 </cell>
7443 <cell alignment="center" valignment="top" topline="true" usebox="none">
7444 \begin_inset Text
7445
7446 \begin_layout Standard
7447 Ugo
7448 \end_layout
7449
7450 \end_inset
7451 </cell>
7452 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7453 \begin_inset Text
7454
7455 \begin_layout Standard
7456 111
7457 \end_layout
7458
7459 \end_inset
7460 </cell>
7461 </row>
7462 <row>
7463 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7464 \begin_inset Text
7465
7466 \begin_layout Standard
7467
7468 \series bold
7469 Tezzele
7470 \end_layout
7471
7472 \end_inset
7473 </cell>
7474 <cell alignment="center" valignment="top" topline="true" usebox="none">
7475 \begin_inset Text
7476
7477 \begin_layout Standard
7478 Margit
7479 \end_layout
7480
7481 \end_inset
7482 </cell>
7483 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7484 \begin_inset Text
7485
7486 \begin_layout Standard
7487 111
7488 \end_layout
7489
7490 \end_inset
7491 </cell>
7492 </row>
7493 <row>
7494 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7495 \begin_inset Text
7496
7497 \begin_layout Standard
7498
7499 \series bold
7500 Unterkalmsteiner
7501 \end_layout
7502
7503 \end_inset
7504 </cell>
7505 <cell alignment="center" valignment="top" topline="true" usebox="none">
7506 \begin_inset Text
7507
7508 \begin_layout Standard
7509 Frieda
7510 \end_layout
7511
7512 \end_inset
7513 </cell>
7514 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7515 \begin_inset Text
7516
7517 \begin_layout Standard
7518 111
7519 \end_layout
7520
7521 \end_inset
7522 </cell>
7523 </row>
7524 <row>
7525 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7526 \begin_inset Text
7527
7528 \begin_layout Standard
7529
7530 \series bold
7531 Vieider
7532 \end_layout
7533
7534 \end_inset
7535 </cell>
7536 <cell alignment="center" valignment="top" topline="true" usebox="none">
7537 \begin_inset Text
7538
7539 \begin_layout Standard
7540 Hilde
7541 \end_layout
7542
7543 \end_inset
7544 </cell>
7545 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7546 \begin_inset Text
7547
7548 \begin_layout Standard
7549 111
7550 \end_layout
7551
7552 \end_inset
7553 </cell>
7554 </row>
7555 <row>
7556 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7557 \begin_inset Text
7558
7559 \begin_layout Standard
7560
7561 \series bold
7562 Vigna
7563 \end_layout
7564
7565 \end_inset
7566 </cell>
7567 <cell alignment="center" valignment="top" topline="true" usebox="none">
7568 \begin_inset Text
7569
7570 \begin_layout Standard
7571 Jürgen
7572 \end_layout
7573
7574 \end_inset
7575 </cell>
7576 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7577 \begin_inset Text
7578
7579 \begin_layout Standard
7580 111
7581 \end_layout
7582
7583 \end_inset
7584 </cell>
7585 </row>
7586 <row>
7587 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7588 \begin_inset Text
7589
7590 \begin_layout Standard
7591
7592 \series bold
7593 Weber
7594 \end_layout
7595
7596 \end_inset
7597 </cell>
7598 <cell alignment="center" valignment="top" topline="true" usebox="none">
7599 \begin_inset Text
7600
7601 \begin_layout Standard
7602 Maurizio
7603 \end_layout
7604
7605 \end_inset
7606 </cell>
7607 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7608 \begin_inset Text
7609
7610 \begin_layout Standard
7611 111
7612 \end_layout
7613
7614 \end_inset
7615 </cell>
7616 </row>
7617 <row bottomline="true">
7618 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7619 \begin_inset Text
7620
7621 \begin_layout Standard
7622
7623 \series bold
7624 Winkler
7625 \end_layout
7626
7627 \end_inset
7628 </cell>
7629 <cell alignment="center" valignment="top" topline="true" usebox="none">
7630 \begin_inset Text
7631
7632 \begin_layout Standard
7633 Franz
7634 \end_layout
7635
7636 \end_inset
7637 </cell>
7638 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7639 \begin_inset Text
7640
7641 \begin_layout Standard
7642 111
7643 \end_layout
7644
7645 \end_inset
7646 </cell>
7647 </row>
7648 <row bottomline="true">
7649 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7650 \begin_inset Text
7651
7652 \begin_layout Standard
7653  
7654 \end_layout
7655
7656 \end_inset
7657 </cell>
7658 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
7659 \begin_inset Text
7660
7661 \begin_layout Standard
7662
7663 \end_layout
7664
7665 \end_inset
7666 </cell>
7667 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7668 \begin_inset Text
7669
7670 \begin_layout Standard
7671
7672 \end_layout
7673
7674 \end_inset
7675 </cell>
7676 </row>
7677 <row>
7678 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7679 \begin_inset Text
7680
7681 \begin_layout Standard
7682
7683 \series bold
7684 Annovi
7685 \end_layout
7686
7687 \end_inset
7688 </cell>
7689 <cell alignment="center" valignment="top" topline="true" usebox="none">
7690 \begin_inset Text
7691
7692 \begin_layout Standard
7693 Silvia
7694 \end_layout
7695
7696 \end_inset
7697 </cell>
7698 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7699 \begin_inset Text
7700
7701 \begin_layout Standard
7702 555
7703 \end_layout
7704
7705 \end_inset
7706 </cell>
7707 </row>
7708 <row>
7709 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7710 \begin_inset Text
7711
7712 \begin_layout Standard
7713
7714 \series bold
7715 Bertoli
7716 \end_layout
7717
7718 \end_inset
7719 </cell>
7720 <cell alignment="center" valignment="top" topline="true" usebox="none">
7721 \begin_inset Text
7722
7723 \begin_layout Standard
7724 Stefano
7725 \end_layout
7726
7727 \end_inset
7728 </cell>
7729 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7730 \begin_inset Text
7731
7732 \begin_layout Standard
7733 555
7734 \end_layout
7735
7736 \end_inset
7737 </cell>
7738 </row>
7739 <row>
7740 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7741 \begin_inset Text
7742
7743 \begin_layout Standard
7744
7745 \series bold
7746 Bozzi
7747 \end_layout
7748
7749 \end_inset
7750 </cell>
7751 <cell alignment="center" valignment="top" topline="true" usebox="none">
7752 \begin_inset Text
7753
7754 \begin_layout Standard
7755 Walter
7756 \end_layout
7757
7758 \end_inset
7759 </cell>
7760 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7761 \begin_inset Text
7762
7763 \begin_layout Standard
7764 555
7765 \end_layout
7766
7767 \end_inset
7768 </cell>
7769 </row>
7770 <row>
7771 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7772 \begin_inset Text
7773
7774 \begin_layout Standard
7775
7776 \series bold
7777 Cachia
7778 \end_layout
7779
7780 \end_inset
7781 </cell>
7782 <cell alignment="center" valignment="top" topline="true" usebox="none">
7783 \begin_inset Text
7784
7785 \begin_layout Standard
7786 Maria
7787 \end_layout
7788
7789 \end_inset
7790 </cell>
7791 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7792 \begin_inset Text
7793
7794 \begin_layout Standard
7795 555
7796 \end_layout
7797
7798 \end_inset
7799 </cell>
7800 </row>
7801 <row>
7802 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7803 \begin_inset Text
7804
7805 \begin_layout Standard
7806
7807 \series bold
7808 Cachia
7809 \end_layout
7810
7811 \end_inset
7812 </cell>
7813 <cell alignment="center" valignment="top" topline="true" usebox="none">
7814 \begin_inset Text
7815
7816 \begin_layout Standard
7817 Maurizio
7818 \end_layout
7819
7820 \end_inset
7821 </cell>
7822 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7823 \begin_inset Text
7824
7825 \begin_layout Standard
7826 555
7827 \end_layout
7828
7829 \end_inset
7830 </cell>
7831 </row>
7832 <row>
7833 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7834 \begin_inset Text
7835
7836 \begin_layout Standard
7837
7838 \series bold
7839 Cinquemani
7840 \end_layout
7841
7842 \end_inset
7843 </cell>
7844 <cell alignment="center" valignment="top" topline="true" usebox="none">
7845 \begin_inset Text
7846
7847 \begin_layout Standard
7848 Giusi
7849 \end_layout
7850
7851 \end_inset
7852 </cell>
7853 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7854 \begin_inset Text
7855
7856 \begin_layout Standard
7857 555
7858 \end_layout
7859
7860 \end_inset
7861 </cell>
7862 </row>
7863 <row>
7864 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7865 \begin_inset Text
7866
7867 \begin_layout Standard
7868
7869 \series bold
7870 Colin
7871 \end_layout
7872
7873 \end_inset
7874 </cell>
7875 <cell alignment="center" valignment="top" topline="true" usebox="none">
7876 \begin_inset Text
7877
7878 \begin_layout Standard
7879 Bernard
7880 \end_layout
7881
7882 \end_inset
7883 </cell>
7884 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7885 \begin_inset Text
7886
7887 \begin_layout Standard
7888 555
7889 \end_layout
7890
7891 \end_inset
7892 </cell>
7893 </row>
7894 <row>
7895 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7896 \begin_inset Text
7897
7898 \begin_layout Standard
7899
7900 \series bold
7901 Concli
7902 \end_layout
7903
7904 \end_inset
7905 </cell>
7906 <cell alignment="center" valignment="top" topline="true" usebox="none">
7907 \begin_inset Text
7908
7909 \begin_layout Standard
7910 Gianfranco
7911 \end_layout
7912
7913 \end_inset
7914 </cell>
7915 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7916 \begin_inset Text
7917
7918 \begin_layout Standard
7919 555
7920 \end_layout
7921
7922 \end_inset
7923 </cell>
7924 </row>
7925 <row>
7926 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7927 \begin_inset Text
7928
7929 \begin_layout Standard
7930
7931 \series bold
7932 Dal Bosco
7933 \end_layout
7934
7935 \end_inset
7936 </cell>
7937 <cell alignment="center" valignment="top" topline="true" usebox="none">
7938 \begin_inset Text
7939
7940 \begin_layout Standard
7941 Carolina
7942 \end_layout
7943
7944 \end_inset
7945 </cell>
7946 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7947 \begin_inset Text
7948
7949 \begin_layout Standard
7950 555
7951 \end_layout
7952
7953 \end_inset
7954 </cell>
7955 </row>
7956 <row>
7957 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7958 \begin_inset Text
7959
7960 \begin_layout Standard
7961
7962 \series bold
7963 Dalpiaz
7964 \end_layout
7965
7966 \end_inset
7967 </cell>
7968 <cell alignment="center" valignment="top" topline="true" usebox="none">
7969 \begin_inset Text
7970
7971 \begin_layout Standard
7972 Annamaria
7973 \end_layout
7974
7975 \end_inset
7976 </cell>
7977 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7978 \begin_inset Text
7979
7980 \begin_layout Standard
7981 555
7982 \end_layout
7983
7984 \end_inset
7985 </cell>
7986 </row>
7987 <row>
7988 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7989 \begin_inset Text
7990
7991 \begin_layout Standard
7992
7993 \series bold
7994 Feliciello
7995 \end_layout
7996
7997 \end_inset
7998 </cell>
7999 <cell alignment="center" valignment="top" topline="true" usebox="none">
8000 \begin_inset Text
8001
8002 \begin_layout Standard
8003 Domenico
8004 \end_layout
8005
8006 \end_inset
8007 </cell>
8008 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8009 \begin_inset Text
8010
8011 \begin_layout Standard
8012 555
8013 \end_layout
8014
8015 \end_inset
8016 </cell>
8017 </row>
8018 <row>
8019 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8020 \begin_inset Text
8021
8022 \begin_layout Standard
8023
8024 \series bold
8025 Focarelli
8026 \end_layout
8027
8028 \end_inset
8029 </cell>
8030 <cell alignment="center" valignment="top" topline="true" usebox="none">
8031 \begin_inset Text
8032
8033 \begin_layout Standard
8034 Paola
8035 \end_layout
8036
8037 \end_inset
8038 </cell>
8039 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8040 \begin_inset Text
8041
8042 \begin_layout Standard
8043 555
8044 \end_layout
8045
8046 \end_inset
8047 </cell>
8048 </row>
8049 <row>
8050 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8051 \begin_inset Text
8052
8053 \begin_layout Standard
8054
8055 \series bold
8056 Galletti
8057 \end_layout
8058
8059 \end_inset
8060 </cell>
8061 <cell alignment="center" valignment="top" topline="true" usebox="none">
8062 \begin_inset Text
8063
8064 \begin_layout Standard
8065 Oreste
8066 \end_layout
8067
8068 \end_inset
8069 </cell>
8070 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8071 \begin_inset Text
8072
8073 \begin_layout Standard
8074 555
8075 \end_layout
8076
8077 \end_inset
8078 </cell>
8079 </row>
8080 <row>
8081 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8082 \begin_inset Text
8083
8084 \begin_layout Standard
8085
8086 \series bold
8087 Gasparini
8088 \end_layout
8089
8090 \end_inset
8091 </cell>
8092 <cell alignment="center" valignment="top" topline="true" usebox="none">
8093 \begin_inset Text
8094
8095 \begin_layout Standard
8096 Franca
8097 \end_layout
8098
8099 \end_inset
8100 </cell>
8101 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8102 \begin_inset Text
8103
8104 \begin_layout Standard
8105 555
8106 \end_layout
8107
8108 \end_inset
8109 </cell>
8110 </row>
8111 <row>
8112 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8113 \begin_inset Text
8114
8115 \begin_layout Standard
8116
8117 \series bold
8118 Rizzardi
8119 \end_layout
8120
8121 \end_inset
8122 </cell>
8123 <cell alignment="center" valignment="top" topline="true" usebox="none">
8124 \begin_inset Text
8125
8126 \begin_layout Standard
8127 Paola
8128 \end_layout
8129
8130 \end_inset
8131 </cell>
8132 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8133 \begin_inset Text
8134
8135 \begin_layout Standard
8136 555
8137 \end_layout
8138
8139 \end_inset
8140 </cell>
8141 </row>
8142 <row>
8143 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8144 \begin_inset Text
8145
8146 \begin_layout Standard
8147
8148 \series bold
8149 Lassini
8150 \end_layout
8151
8152 \end_inset
8153 </cell>
8154 <cell alignment="center" valignment="top" topline="true" usebox="none">
8155 \begin_inset Text
8156
8157 \begin_layout Standard
8158 Giancarlo
8159 \end_layout
8160
8161 \end_inset
8162 </cell>
8163 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8164 \begin_inset Text
8165
8166 \begin_layout Standard
8167 555
8168 \end_layout
8169
8170 \end_inset
8171 </cell>
8172 </row>
8173 <row>
8174 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8175 \begin_inset Text
8176
8177 \begin_layout Standard
8178
8179 \series bold
8180 Malfatti
8181 \end_layout
8182
8183 \end_inset
8184 </cell>
8185 <cell alignment="center" valignment="top" topline="true" usebox="none">
8186 \begin_inset Text
8187
8188 \begin_layout Standard
8189 Luciano
8190 \end_layout
8191
8192 \end_inset
8193 </cell>
8194 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8195 \begin_inset Text
8196
8197 \begin_layout Standard
8198 555
8199 \end_layout
8200
8201 \end_inset
8202 </cell>
8203 </row>
8204 <row>
8205 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8206 \begin_inset Text
8207
8208 \begin_layout Standard
8209
8210 \series bold
8211 Malfatti
8212 \end_layout
8213
8214 \end_inset
8215 </cell>
8216 <cell alignment="center" valignment="top" topline="true" usebox="none">
8217 \begin_inset Text
8218
8219 \begin_layout Standard
8220 Valeriano
8221 \end_layout
8222
8223 \end_inset
8224 </cell>
8225 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8226 \begin_inset Text
8227
8228 \begin_layout Standard
8229 555
8230 \end_layout
8231
8232 \end_inset
8233 </cell>
8234 </row>
8235 <row>
8236 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8237 \begin_inset Text
8238
8239 \begin_layout Standard
8240
8241 \series bold
8242 Meneguzzo
8243 \end_layout
8244
8245 \end_inset
8246 </cell>
8247 <cell alignment="center" valignment="top" topline="true" usebox="none">
8248 \begin_inset Text
8249
8250 \begin_layout Standard
8251 Roberto
8252 \end_layout
8253
8254 \end_inset
8255 </cell>
8256 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8257 \begin_inset Text
8258
8259 \begin_layout Standard
8260 555
8261 \end_layout
8262
8263 \end_inset
8264 </cell>
8265 </row>
8266 <row bottomline="true">
8267 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8268 \begin_inset Text
8269
8270 \begin_layout Standard
8271
8272 \series bold
8273 Mezzadra
8274 \end_layout
8275
8276 \end_inset
8277 </cell>
8278 <cell alignment="center" valignment="top" topline="true" usebox="none">
8279 \begin_inset Text
8280
8281 \begin_layout Standard
8282 Roberto
8283 \end_layout
8284
8285 \end_inset
8286 </cell>
8287 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8288 \begin_inset Text
8289
8290 \begin_layout Standard
8291 555
8292 \end_layout
8293
8294 \end_inset
8295 </cell>
8296 </row>
8297 <row bottomline="true" endlastfoot="true">
8298 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
8299 \begin_inset Text
8300
8301 \begin_layout Standard
8302
8303 \end_layout
8304
8305 \end_inset
8306 </cell>
8307 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8308 \begin_inset Text
8309
8310 \begin_layout Standard
8311
8312 \end_layout
8313
8314 \end_inset
8315 </cell>
8316 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8317 \begin_inset Text
8318
8319 \begin_layout Standard
8320
8321 \end_layout
8322
8323 \end_inset
8324 </cell>
8325 </row>
8326 </lyxtabular>
8327
8328 \end_inset
8329
8330
8331 \end_layout
8332
8333 \begin_layout Section
8334 Special Longtable Issues
8335 \begin_inset LatexCommand label
8336 name "sec:Special-Longtable-Issues"
8337
8338 \end_inset
8339
8340
8341 \end_layout
8342
8343 \begin_layout Subsection
8344 Longtable Calculation
8345 \begin_inset LatexCommand index
8346 name "Longtables ! Calculation"
8347
8348 \end_inset
8349
8350
8351 \end_layout
8352
8353 \begin_layout Standard
8354 LaTeX calculates the height of table pages and their page breaks using so
8355  called chunks.
8356  Chunks are pieces of the tables that are at once in LaTeX's memory.
8357  The default value is historically set to only 20 table rows.
8358  If you are using longtables with many pages this may slow down the creation
8359  of your document.
8360  You can safely increase the chunk size to values of 100-1000 by adding
8361  this command line to your document preamble:
8362 \end_layout
8363
8364 \begin_layout Standard
8365
8366 \series bold
8367
8368 \backslash
8369 setcounter{LTchunksize}{100}
8370 \end_layout
8371
8372 \begin_layout Subsection
8373 Floats and Longtables
8374 \begin_inset LatexCommand index
8375 name "Longtables ! Floats"
8376
8377 \end_inset
8378
8379
8380 \end_layout
8381
8382 \begin_layout Standard
8383 There might be problems when a float appears on the same page where a longtable
8384  starts.
8385  To avoid such situation, add the command 
8386 \series bold
8387
8388 \backslash
8389 clearpage
8390 \series default
8391  as ERT before your longtable.
8392 \end_layout
8393
8394 \begin_layout Subsection
8395 Forced Page Breaks
8396 \begin_inset LatexCommand index
8397 name "Longtables ! Forced Page Breaks"
8398
8399 \end_inset
8400
8401
8402 \end_layout
8403
8404 \begin_layout Standard
8405 By default tables are only broken between rows.
8406  If you have a cell with multiples lines and want to have a page break within
8407  the cell, insert the new line command 
8408 \begin_inset Quotes eld
8409 \end_inset
8410
8411
8412 \series bold
8413
8414 \backslash
8415
8416 \backslash
8417
8418 \series default
8419
8420 \begin_inset Quotes erd
8421 \end_inset
8422
8423  as ERT at this point of the cell where it should be broken.
8424  Before the 
8425 \series bold
8426
8427 \backslash
8428
8429 \backslash
8430
8431 \series default
8432  command you have to insert in ERT so many 
8433 \begin_inset Quotes eld
8434 \end_inset
8435
8436
8437 \series bold
8438 &
8439 \series default
8440
8441 \begin_inset Quotes erd
8442 \end_inset
8443
8444  characters like the number of the following table columns.
8445  The 
8446 \series bold
8447 &
8448 \series default
8449  is the character to separate table cells.
8450  Write in ERT after each 
8451 \series bold
8452 &
8453 \series default
8454  the content of the corresponding following cell and delete the content
8455  of these cells.
8456 \newline
8457 Behind the the 
8458 \series bold
8459
8460 \backslash
8461
8462 \backslash
8463
8464 \series default
8465  command, insert so many 
8466 \series bold
8467 &
8468 \series default
8469  characters like the number of table columns before the current column.
8470  In Table\InsetSpace ~
8471
8472 \begin_inset LatexCommand ref
8473 reference "tab:ForcedPagebreak"
8474
8475 \end_inset
8476
8477  the cell that should be broken is in the second column followed by another
8478  column.
8479  Therefore the following command was inserted in the cell as ERT behind
8480  
8481 \begin_inset Quotes eld
8482 \end_inset
8483
8484
8485 \emph on
8486 Castelchiodato,
8487 \emph default
8488
8489 \begin_inset Quotes erd
8490 \end_inset
8491
8492 :
8493 \end_layout
8494
8495 \begin_layout Standard
8496
8497 \series bold
8498 & 111
8499 \backslash
8500
8501 \backslash
8502
8503 \newline
8504 &
8505 \end_layout
8506
8507 \begin_layout Standard
8508 The 
8509 \begin_inset Quotes eld
8510 \end_inset
8511
8512 111
8513 \begin_inset Quotes erd
8514 \end_inset
8515
8516  in the third columns of the row was deleted.
8517  If your footer row of the longtable has for a certain reason no upper line
8518  but you would have a horizontal line where the cell is broken, use this
8519  command instead:
8520 \end_layout
8521
8522 \begin_layout Standard
8523
8524 \series bold
8525 & 111
8526 \backslash
8527
8528 \backslash
8529
8530 \newline
8531
8532 \backslash
8533 hline &
8534 \end_layout
8535
8536 \begin_layout Standard
8537 When the cell to be broken is in the last column, the command
8538 \end_layout
8539
8540 \begin_layout Standard
8541
8542 \series bold
8543
8544 \backslash
8545 setlength{
8546 \backslash
8547 parf\SpecialChar \textcompwordmark{}
8548 illskip}{0pt}
8549 \end_layout
8550
8551 \begin_layout Standard
8552 must be inserted as ERT at the beginning of the cell.
8553  This assures that the part of the cell that will be displayed on the new
8554  page appears with the full width.
8555 \end_layout
8556
8557 \begin_layout Standard
8558 \align center
8559 \begin_inset Tabular
8560 <lyxtabular version="3" rows="39" columns="3">
8561 <features islongtable="true">
8562 <column alignment="left" valignment="top" leftline="true" width="0cm">
8563 <column alignment="left" valignment="top" rightline="true" width="3cm">
8564 <column alignment="right" valignment="top" rightline="true" width="0pt">
8565 <row endfirsthead="true">
8566 <cell alignment="right" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8567 \begin_inset Text
8568
8569 \begin_layout Standard
8570 \begin_inset Caption
8571
8572 \begin_layout Standard
8573 Table with forced page break in table cell
8574 \begin_inset LatexCommand label
8575 name "tab:ForcedPagebreak"
8576
8577 \end_inset
8578
8579
8580 \begin_inset OptArg
8581 status collapsed
8582
8583 \begin_layout Standard
8584 Table with forced page break in table cell
8585 \end_layout
8586
8587 \end_inset
8588
8589
8590 \end_layout
8591
8592 \end_inset
8593
8594
8595 \begin_inset ERT
8596 status collapsed
8597
8598 \begin_layout Standard
8599
8600
8601 \backslash
8602
8603 \backslash
8604 %
8605 \end_layout
8606
8607 \end_inset
8608
8609
8610 \end_layout
8611
8612 \end_inset
8613 </cell>
8614 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8615 \begin_inset Text
8616
8617 \begin_layout Standard
8618
8619 \end_layout
8620
8621 \end_inset
8622 </cell>
8623 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8624 \begin_inset Text
8625
8626 \begin_layout Standard
8627
8628 \end_layout
8629
8630 \end_inset
8631 </cell>
8632 </row>
8633 <row topline="true" bottomline="true" endfirsthead="true">
8634 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8635 \begin_inset Text
8636
8637 \begin_layout Standard
8638
8639 \series bold
8640 Example Phone List (ignore the names)
8641 \end_layout
8642
8643 \end_inset
8644 </cell>
8645 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8646 \begin_inset Text
8647
8648 \begin_layout Standard
8649
8650 \end_layout
8651
8652 \end_inset
8653 </cell>
8654 <cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8655 \begin_inset Text
8656
8657 \begin_layout Standard
8658
8659 \end_layout
8660
8661 \end_inset
8662 </cell>
8663 </row>
8664 <row topline="true" bottomline="true" endfirsthead="true">
8665 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8666 \begin_inset Text
8667
8668 \begin_layout Standard
8669
8670 \series bold
8671 NAME
8672 \end_layout
8673
8674 \end_inset
8675 </cell>
8676 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8677 \begin_inset Text
8678
8679 \begin_layout Standard
8680
8681 \end_layout
8682
8683 \end_inset
8684 </cell>
8685 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8686 \begin_inset Text
8687
8688 \begin_layout Standard
8689
8690 \series bold
8691 TEL.
8692 \end_layout
8693
8694 \end_inset
8695 </cell>
8696 </row>
8697 <row bottomline="true" endhead="true">
8698 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8699 \begin_inset Text
8700
8701 \begin_layout Standard
8702 \begin_inset ERT
8703 status collapsed
8704
8705 \begin_layout Standard
8706
8707
8708 \backslash
8709 caption*{Continued table with forced page break in table cell}
8710 \backslash
8711
8712 \backslash
8713 %
8714 \end_layout
8715
8716 \end_inset
8717
8718
8719 \end_layout
8720
8721 \end_inset
8722 </cell>
8723 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8724 \begin_inset Text
8725
8726 \begin_layout Standard
8727
8728 \end_layout
8729
8730 \end_inset
8731 </cell>
8732 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8733 \begin_inset Text
8734
8735 \begin_layout Standard
8736
8737 \end_layout
8738
8739 \end_inset
8740 </cell>
8741 </row>
8742 <row topline="true" bottomline="true" endhead="true">
8743 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8744 \begin_inset Text
8745
8746 \begin_layout Standard
8747  
8748 \series bold
8749 Example Phone List
8750 \end_layout
8751
8752 \end_inset
8753 </cell>
8754 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8755 \begin_inset Text
8756
8757 \begin_layout Standard
8758
8759 \end_layout
8760
8761 \end_inset
8762 </cell>
8763 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8764 \begin_inset Text
8765
8766 \begin_layout Standard
8767
8768 \end_layout
8769
8770 \end_inset
8771 </cell>
8772 </row>
8773 <row topline="true" bottomline="true" endhead="true">
8774 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8775 \begin_inset Text
8776
8777 \begin_layout Standard
8778
8779 \series bold
8780 NAME
8781 \end_layout
8782
8783 \end_inset
8784 </cell>
8785 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8786 \begin_inset Text
8787
8788 \begin_layout Standard
8789
8790 \end_layout
8791
8792 \end_inset
8793 </cell>
8794 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8795 \begin_inset Text
8796
8797 \begin_layout Standard
8798
8799 \series bold
8800 TEL.
8801 \end_layout
8802
8803 \end_inset
8804 </cell>
8805 </row>
8806 <row topline="true" bottomline="true" endfoot="true">
8807 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
8808 \begin_inset Text
8809
8810 \begin_layout Standard
8811 continued on next page
8812 \end_layout
8813
8814 \end_inset
8815 </cell>
8816 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8817 \begin_inset Text
8818
8819 \begin_layout Standard
8820
8821 \end_layout
8822
8823 \end_inset
8824 </cell>
8825 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8826 \begin_inset Text
8827
8828 \begin_layout Standard
8829
8830 \end_layout
8831
8832 \end_inset
8833 </cell>
8834 </row>
8835 <row>
8836 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8837 \begin_inset Text
8838
8839 \begin_layout Standard
8840
8841 \series bold
8842 Annovi
8843 \end_layout
8844
8845 \end_inset
8846 </cell>
8847 <cell alignment="center" valignment="top" topline="true" usebox="none">
8848 \begin_inset Text
8849
8850 \begin_layout Standard
8851 Silvia
8852 \end_layout
8853
8854 \end_inset
8855 </cell>
8856 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8857 \begin_inset Text
8858
8859 \begin_layout Standard
8860 111
8861 \end_layout
8862
8863 \end_inset
8864 </cell>
8865 </row>
8866 <row>
8867 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8868 \begin_inset Text
8869
8870 \begin_layout Standard
8871
8872 \series bold
8873 Bertoli
8874 \end_layout
8875
8876 \end_inset
8877 </cell>
8878 <cell alignment="center" valignment="top" topline="true" usebox="none">
8879 \begin_inset Text
8880
8881 \begin_layout Standard
8882 Stefano
8883 \end_layout
8884
8885 \end_inset
8886 </cell>
8887 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8888 \begin_inset Text
8889
8890 \begin_layout Standard
8891 111
8892 \end_layout
8893
8894 \end_inset
8895 </cell>
8896 </row>
8897 <row>
8898 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8899 \begin_inset Text
8900
8901 \begin_layout Standard
8902
8903 \series bold
8904 Bozzi
8905 \end_layout
8906
8907 \end_inset
8908 </cell>
8909 <cell alignment="center" valignment="top" topline="true" usebox="none">
8910 \begin_inset Text
8911
8912 \begin_layout Standard
8913 Walter
8914 \end_layout
8915
8916 \end_inset
8917 </cell>
8918 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8919 \begin_inset Text
8920
8921 \begin_layout Standard
8922 111
8923 \end_layout
8924
8925 \end_inset
8926 </cell>
8927 </row>
8928 <row>
8929 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8930 \begin_inset Text
8931
8932 \begin_layout Standard
8933
8934 \series bold
8935 Cachia
8936 \end_layout
8937
8938 \end_inset
8939 </cell>
8940 <cell alignment="center" valignment="top" topline="true" usebox="none">
8941 \begin_inset Text
8942
8943 \begin_layout Standard
8944 Maria
8945 \end_layout
8946
8947 \end_inset
8948 </cell>
8949 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8950 \begin_inset Text
8951
8952 \begin_layout Standard
8953 111
8954 \end_layout
8955
8956 \end_inset
8957 </cell>
8958 </row>
8959 <row>
8960 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8961 \begin_inset Text
8962
8963 \begin_layout Standard
8964
8965 \series bold
8966 Cachia
8967 \end_layout
8968
8969 \end_inset
8970 </cell>
8971 <cell alignment="center" valignment="top" topline="true" usebox="none">
8972 \begin_inset Text
8973
8974 \begin_layout Standard
8975 Maurizio
8976 \end_layout
8977
8978 \end_inset
8979 </cell>
8980 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8981 \begin_inset Text
8982
8983 \begin_layout Standard
8984 111
8985 \end_layout
8986
8987 \end_inset
8988 </cell>
8989 </row>
8990 <row>
8991 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8992 \begin_inset Text
8993
8994 \begin_layout Standard
8995
8996 \series bold
8997 Cinquemani
8998 \end_layout
8999
9000 \end_inset
9001 </cell>
9002 <cell alignment="center" valignment="top" topline="true" usebox="none">
9003 \begin_inset Text
9004
9005 \begin_layout Standard
9006 Giusi
9007 \end_layout
9008
9009 \end_inset
9010 </cell>
9011 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9012 \begin_inset Text
9013
9014 \begin_layout Standard
9015 111
9016 \end_layout
9017
9018 \end_inset
9019 </cell>
9020 </row>
9021 <row>
9022 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9023 \begin_inset Text
9024
9025 \begin_layout Standard
9026
9027 \series bold
9028 Colin
9029 \end_layout
9030
9031 \end_inset
9032 </cell>
9033 <cell alignment="center" valignment="top" topline="true" usebox="none">
9034 \begin_inset Text
9035
9036 \begin_layout Standard
9037 Bernard
9038 \end_layout
9039
9040 \end_inset
9041 </cell>
9042 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9043 \begin_inset Text
9044
9045 \begin_layout Standard
9046 111
9047 \end_layout
9048
9049 \end_inset
9050 </cell>
9051 </row>
9052 <row>
9053 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9054 \begin_inset Text
9055
9056 \begin_layout Standard
9057
9058 \series bold
9059 Concli
9060 \end_layout
9061
9062 \end_inset
9063 </cell>
9064 <cell alignment="center" valignment="top" topline="true" usebox="none">
9065 \begin_inset Text
9066
9067 \begin_layout Standard
9068 Gianfranco
9069 \end_layout
9070
9071 \end_inset
9072 </cell>
9073 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9074 \begin_inset Text
9075
9076 \begin_layout Standard
9077 111
9078 \end_layout
9079
9080 \end_inset
9081 </cell>
9082 </row>
9083 <row>
9084 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9085 \begin_inset Text
9086
9087 \begin_layout Standard
9088
9089 \series bold
9090 Dal Bosco
9091 \end_layout
9092
9093 \end_inset
9094 </cell>
9095 <cell alignment="center" valignment="top" topline="true" usebox="none">
9096 \begin_inset Text
9097
9098 \begin_layout Standard
9099 Carolina
9100 \end_layout
9101
9102 \end_inset
9103 </cell>
9104 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9105 \begin_inset Text
9106
9107 \begin_layout Standard
9108 111
9109 \end_layout
9110
9111 \end_inset
9112 </cell>
9113 </row>
9114 <row>
9115 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9116 \begin_inset Text
9117
9118 \begin_layout Standard
9119
9120 \series bold
9121 Dalpiaz
9122 \end_layout
9123
9124 \end_inset
9125 </cell>
9126 <cell alignment="center" valignment="top" topline="true" usebox="none">
9127 \begin_inset Text
9128
9129 \begin_layout Standard
9130 Annamaria
9131 \end_layout
9132
9133 \end_inset
9134 </cell>
9135 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9136 \begin_inset Text
9137
9138 \begin_layout Standard
9139 111
9140 \end_layout
9141
9142 \end_inset
9143 </cell>
9144 </row>
9145 <row>
9146 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9147 \begin_inset Text
9148
9149 \begin_layout Standard
9150
9151 \series bold
9152 Feliciello
9153 \end_layout
9154
9155 \end_inset
9156 </cell>
9157 <cell alignment="center" valignment="top" topline="true" usebox="none">
9158 \begin_inset Text
9159
9160 \begin_layout Standard
9161 Domenico
9162 \end_layout
9163
9164 \end_inset
9165 </cell>
9166 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9167 \begin_inset Text
9168
9169 \begin_layout Standard
9170 111
9171 \end_layout
9172
9173 \end_inset
9174 </cell>
9175 </row>
9176 <row>
9177 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9178 \begin_inset Text
9179
9180 \begin_layout Standard
9181
9182 \series bold
9183 Focarelli
9184 \end_layout
9185
9186 \end_inset
9187 </cell>
9188 <cell alignment="center" valignment="top" topline="true" usebox="none">
9189 \begin_inset Text
9190
9191 \begin_layout Standard
9192 Paola
9193 \end_layout
9194
9195 \end_inset
9196 </cell>
9197 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9198 \begin_inset Text
9199
9200 \begin_layout Standard
9201 111
9202 \end_layout
9203
9204 \end_inset
9205 </cell>
9206 </row>
9207 <row>
9208 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9209 \begin_inset Text
9210
9211 \begin_layout Standard
9212
9213 \series bold
9214 Galletti
9215 \end_layout
9216
9217 \end_inset
9218 </cell>
9219 <cell alignment="center" valignment="top" topline="true" usebox="none">
9220 \begin_inset Text
9221
9222 \begin_layout Standard
9223 Oreste
9224 \end_layout
9225
9226 \end_inset
9227 </cell>
9228 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9229 \begin_inset Text
9230
9231 \begin_layout Standard
9232 111
9233 \end_layout
9234
9235 \end_inset
9236 </cell>
9237 </row>
9238 <row>
9239 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9240 \begin_inset Text
9241
9242 \begin_layout Standard
9243
9244 \series bold
9245 Gasparini
9246 \end_layout
9247
9248 \end_inset
9249 </cell>
9250 <cell alignment="center" valignment="top" topline="true" usebox="none">
9251 \begin_inset Text
9252
9253 \begin_layout Standard
9254 Franca
9255 \end_layout
9256
9257 \end_inset
9258 </cell>
9259 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9260 \begin_inset Text
9261
9262 \begin_layout Standard
9263 111
9264 \end_layout
9265
9266 \end_inset
9267 </cell>
9268 </row>
9269 <row>
9270 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9271 \begin_inset Text
9272
9273 \begin_layout Standard
9274
9275 \series bold
9276 Lassini
9277 \end_layout
9278
9279 \end_inset
9280 </cell>
9281 <cell alignment="center" valignment="top" topline="true" usebox="none">
9282 \begin_inset Text
9283
9284 \begin_layout Standard
9285 Giancarlo
9286 \end_layout
9287
9288 \end_inset
9289 </cell>
9290 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9291 \begin_inset Text
9292
9293 \begin_layout Standard
9294 111
9295 \end_layout
9296
9297 \end_inset
9298 </cell>
9299 </row>
9300 <row>
9301 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9302 \begin_inset Text
9303
9304 \begin_layout Standard
9305
9306 \series bold
9307 Malfatti
9308 \end_layout
9309
9310 \end_inset
9311 </cell>
9312 <cell alignment="center" valignment="top" topline="true" usebox="none">
9313 \begin_inset Text
9314
9315 \begin_layout Standard
9316 Luciano
9317 \end_layout
9318
9319 \end_inset
9320 </cell>
9321 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9322 \begin_inset Text
9323
9324 \begin_layout Standard
9325 111
9326 \end_layout
9327
9328 \end_inset
9329 </cell>
9330 </row>
9331 <row>
9332 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9333 \begin_inset Text
9334
9335 \begin_layout Standard
9336
9337 \series bold
9338 Malfatti
9339 \end_layout
9340
9341 \end_inset
9342 </cell>
9343 <cell alignment="center" valignment="top" topline="true" usebox="none">
9344 \begin_inset Text
9345
9346 \begin_layout Standard
9347 Valeriano
9348 \end_layout
9349
9350 \end_inset
9351 </cell>
9352 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9353 \begin_inset Text
9354
9355 \begin_layout Standard
9356 111
9357 \end_layout
9358
9359 \end_inset
9360 </cell>
9361 </row>
9362 <row>
9363 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9364 \begin_inset Text
9365
9366 \begin_layout Standard
9367
9368 \series bold
9369 Meneguzzo
9370 \end_layout
9371
9372 \end_inset
9373 </cell>
9374 <cell alignment="center" valignment="top" topline="true" usebox="none">
9375 \begin_inset Text
9376
9377 \begin_layout Standard
9378 Roberto
9379 \end_layout
9380
9381 \end_inset
9382 </cell>
9383 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9384 \begin_inset Text
9385
9386 \begin_layout Standard
9387 111
9388 \end_layout
9389
9390 \end_inset
9391 </cell>
9392 </row>
9393 <row>
9394 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9395 \begin_inset Text
9396
9397 \begin_layout Standard
9398
9399 \series bold
9400 Mezzadra
9401 \end_layout
9402
9403 \end_inset
9404 </cell>
9405 <cell alignment="center" valignment="top" topline="true" usebox="none">
9406 \begin_inset Text
9407
9408 \begin_layout Standard
9409 Roberto
9410 \end_layout
9411
9412 \end_inset
9413 </cell>
9414 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9415 \begin_inset Text
9416
9417 \begin_layout Standard
9418 111
9419 \end_layout
9420
9421 \end_inset
9422 </cell>
9423 </row>
9424 <row>
9425 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9426 \begin_inset Text
9427
9428 \begin_layout Standard
9429
9430 \series bold
9431 Pirpamer
9432 \end_layout
9433
9434 \end_inset
9435 </cell>
9436 <cell alignment="center" valignment="top" topline="true" usebox="none">
9437 \begin_inset Text
9438
9439 \begin_layout Standard
9440 Erich
9441 \end_layout
9442
9443 \end_inset
9444 </cell>
9445 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9446 \begin_inset Text
9447
9448 \begin_layout Standard
9449 111
9450 \end_layout
9451
9452 \end_inset
9453 </cell>
9454 </row>
9455 <row>
9456 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9457 \begin_inset Text
9458
9459 \begin_layout Standard
9460
9461 \series bold
9462 Pochiesa
9463 \end_layout
9464
9465 \end_inset
9466 </cell>
9467 <cell alignment="center" valignment="top" topline="true" usebox="none">
9468 \begin_inset Text
9469
9470 \begin_layout Standard
9471 Paolo
9472 \end_layout
9473
9474 \end_inset
9475 </cell>
9476 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9477 \begin_inset Text
9478
9479 \begin_layout Standard
9480 111, 222
9481 \end_layout
9482
9483 \end_inset
9484 </cell>
9485 </row>
9486 <row>
9487 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9488 \begin_inset Text
9489
9490 \begin_layout Standard
9491
9492 \series bold
9493 Radina
9494 \end_layout
9495
9496 \end_inset
9497 </cell>
9498 <cell alignment="center" valignment="top" topline="true" usebox="none">
9499 \begin_inset Text
9500
9501 \begin_layout Standard
9502 Claudio
9503 \end_layout
9504
9505 \end_inset
9506 </cell>
9507 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9508 \begin_inset Text
9509
9510 \begin_layout Standard
9511 111
9512 \end_layout
9513
9514 \end_inset
9515 </cell>
9516 </row>
9517 <row>
9518 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9519 \begin_inset Text
9520
9521 \begin_layout Standard
9522
9523 \series bold
9524 Rizzardi
9525 \end_layout
9526
9527 \end_inset
9528 </cell>
9529 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9530 \begin_inset Text
9531
9532 \begin_layout Standard
9533 Paolo, 11.
9534  Fürst von Montecompatri, 11.
9535  Fürst von Sulmona und Vivaro, 10.
9536  Fürst von Rossano, 5.
9537  Herzog von Canemorte, 11.
9538  Herzog von Palombara, 5.
9539  Herzog von Castelchiodato,
9540 \begin_inset ERT
9541 status collapsed
9542
9543 \begin_layout Standard
9544
9545 & 111
9546 \backslash
9547
9548 \backslash
9549
9550 \end_layout
9551
9552 \begin_layout Standard
9553
9554 &
9555 \end_layout
9556
9557 \end_inset
9558
9559  11.
9560  Herzog von Poggionativo, 11.
9561  Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
9562  Graf von Valinfreda, 11.
9563  Baron von Cropalati, 11.
9564  Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
9565 \end_layout
9566
9567 \end_inset
9568 </cell>
9569 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9570 \begin_inset Text
9571
9572 \begin_layout Standard
9573
9574 \end_layout
9575
9576 \end_inset
9577 </cell>
9578 </row>
9579 <row>
9580 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9581 \begin_inset Text
9582
9583 \begin_layout Standard
9584
9585 \series bold
9586 Stuffer
9587 \end_layout
9588
9589 \end_inset
9590 </cell>
9591 <cell alignment="center" valignment="top" topline="true" usebox="none">
9592 \begin_inset Text
9593
9594 \begin_layout Standard
9595 Oskar
9596 \end_layout
9597
9598 \end_inset
9599 </cell>
9600 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9601 \begin_inset Text
9602
9603 \begin_layout Standard
9604 111
9605 \end_layout
9606
9607 \end_inset
9608 </cell>
9609 </row>
9610 <row>
9611 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9612 \begin_inset Text
9613
9614 \begin_layout Standard
9615
9616 \series bold
9617 Tacchelli
9618 \end_layout
9619
9620 \end_inset
9621 </cell>
9622 <cell alignment="center" valignment="top" topline="true" usebox="none">
9623 \begin_inset Text
9624
9625 \begin_layout Standard
9626 Ugo
9627 \end_layout
9628
9629 \end_inset
9630 </cell>
9631 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9632 \begin_inset Text
9633
9634 \begin_layout Standard
9635 111
9636 \end_layout
9637
9638 \end_inset
9639 </cell>
9640 </row>
9641 <row>
9642 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9643 \begin_inset Text
9644
9645 \begin_layout Standard
9646
9647 \series bold
9648 Tezzele
9649 \end_layout
9650
9651 \end_inset
9652 </cell>
9653 <cell alignment="center" valignment="top" topline="true" usebox="none">
9654 \begin_inset Text
9655
9656 \begin_layout Standard
9657 Margit
9658 \end_layout
9659
9660 \end_inset
9661 </cell>
9662 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9663 \begin_inset Text
9664
9665 \begin_layout Standard
9666 111
9667 \end_layout
9668
9669 \end_inset
9670 </cell>
9671 </row>
9672 <row>
9673 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9674 \begin_inset Text
9675
9676 \begin_layout Standard
9677
9678 \series bold
9679 Unterkalmsteiner
9680 \end_layout
9681
9682 \end_inset
9683 </cell>
9684 <cell alignment="center" valignment="top" topline="true" usebox="none">
9685 \begin_inset Text
9686
9687 \begin_layout Standard
9688 Frieda
9689 \end_layout
9690
9691 \end_inset
9692 </cell>
9693 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9694 \begin_inset Text
9695
9696 \begin_layout Standard
9697 111
9698 \end_layout
9699
9700 \end_inset
9701 </cell>
9702 </row>
9703 <row>
9704 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9705 \begin_inset Text
9706
9707 \begin_layout Standard
9708
9709 \series bold
9710 Vieider
9711 \end_layout
9712
9713 \end_inset
9714 </cell>
9715 <cell alignment="center" valignment="top" topline="true" usebox="none">
9716 \begin_inset Text
9717
9718 \begin_layout Standard
9719 Hilde
9720 \end_layout
9721
9722 \end_inset
9723 </cell>
9724 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9725 \begin_inset Text
9726
9727 \begin_layout Standard
9728 111
9729 \end_layout
9730
9731 \end_inset
9732 </cell>
9733 </row>
9734 <row>
9735 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9736 \begin_inset Text
9737
9738 \begin_layout Standard
9739
9740 \series bold
9741 Vigna
9742 \end_layout
9743
9744 \end_inset
9745 </cell>
9746 <cell alignment="center" valignment="top" topline="true" usebox="none">
9747 \begin_inset Text
9748
9749 \begin_layout Standard
9750 Jürgen
9751 \end_layout
9752
9753 \end_inset
9754 </cell>
9755 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9756 \begin_inset Text
9757
9758 \begin_layout Standard
9759 111
9760 \end_layout
9761
9762 \end_inset
9763 </cell>
9764 </row>
9765 <row>
9766 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9767 \begin_inset Text
9768
9769 \begin_layout Standard
9770
9771 \series bold
9772 Weber
9773 \end_layout
9774
9775 \end_inset
9776 </cell>
9777 <cell alignment="center" valignment="top" topline="true" usebox="none">
9778 \begin_inset Text
9779
9780 \begin_layout Standard
9781 Maurizio
9782 \end_layout
9783
9784 \end_inset
9785 </cell>
9786 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9787 \begin_inset Text
9788
9789 \begin_layout Standard
9790 111
9791 \end_layout
9792
9793 \end_inset
9794 </cell>
9795 </row>
9796 <row bottomline="true">
9797 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9798 \begin_inset Text
9799
9800 \begin_layout Standard
9801
9802 \series bold
9803 Winkler
9804 \end_layout
9805
9806 \end_inset
9807 </cell>
9808 <cell alignment="center" valignment="top" topline="true" usebox="none">
9809 \begin_inset Text
9810
9811 \begin_layout Standard
9812 Franz
9813 \end_layout
9814
9815 \end_inset
9816 </cell>
9817 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9818 \begin_inset Text
9819
9820 \begin_layout Standard
9821 111
9822 \end_layout
9823
9824 \end_inset
9825 </cell>
9826 </row>
9827 <row endlastfoot="true">
9828 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
9829 \begin_inset Text
9830
9831 \begin_layout Standard
9832
9833 \end_layout
9834
9835 \end_inset
9836 </cell>
9837 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9838 \begin_inset Text
9839
9840 \begin_layout Standard
9841
9842 \end_layout
9843
9844 \end_inset
9845 </cell>
9846 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9847 \begin_inset Text
9848
9849 \begin_layout Standard
9850
9851 \end_layout
9852
9853 \end_inset
9854 </cell>
9855 </row>
9856 </lyxtabular>
9857
9858 \end_inset
9859
9860
9861 \end_layout
9862
9863 \begin_layout Section
9864 Multiple Lines Columns and Rows
9865 \end_layout
9866
9867 \begin_layout Subsection
9868 Multiple Lines in Table Cells
9869 \begin_inset LatexCommand label
9870 name "sub:Multiple-Lines-in"
9871
9872 \end_inset
9873
9874
9875 \begin_inset LatexCommand index
9876 name "Multiple Lines in Table Cells"
9877
9878 \end_inset
9879
9880
9881 \begin_inset LatexCommand index
9882 name "Table ! Linebreaks"
9883
9884 \end_inset
9885
9886
9887 \end_layout
9888
9889 \begin_layout Standard
9890 \align center
9891 \begin_inset Float table
9892 placement H
9893 wide false
9894 sideways false
9895 status open
9896
9897 \begin_layout Standard
9898 \begin_inset Caption
9899
9900 \begin_layout Standard
9901 \begin_inset LatexCommand label
9902 name "tab:Table-with-multiple"
9903
9904 \end_inset
9905
9906 Table with multiple lines in cells
9907 \end_layout
9908
9909 \end_inset
9910
9911
9912 \end_layout
9913
9914 \begin_layout Standard
9915 \align center
9916 \begin_inset Tabular
9917 <lyxtabular version="3" rows="3" columns="3">
9918 <features>
9919 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
9920 <column alignment="center" valignment="middle" leftline="true" width="0">
9921 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0">
9922 <row topline="true">
9923 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9924 \begin_inset Text
9925
9926 \begin_layout Standard
9927 multiple
9928 \begin_inset ERT
9929 status collapsed
9930
9931 \begin_layout Standard
9932
9933
9934 \backslash
9935 linebreak 
9936 \end_layout
9937
9938 \end_inset
9939
9940  lines
9941 \end_layout
9942
9943 \end_inset
9944 </cell>
9945 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9946 \begin_inset Text
9947
9948 \begin_layout Standard
9949 b
9950 \end_layout
9951
9952 \end_inset
9953 </cell>
9954 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9955 \begin_inset Text
9956
9957 \begin_layout Standard
9958 c
9959 \end_layout
9960
9961 \end_inset
9962 </cell>
9963 </row>
9964 <row topline="true">
9965 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9966 \begin_inset Text
9967
9968 \begin_layout Standard
9969 d
9970 \end_layout
9971
9972 \end_inset
9973 </cell>
9974 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9975 \begin_inset Text
9976
9977 \begin_layout Standard
9978 e
9979 \end_layout
9980
9981 \end_inset
9982 </cell>
9983 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9984 \begin_inset Text
9985
9986 \begin_layout Standard
9987 f
9988 \end_layout
9989
9990 \end_inset
9991 </cell>
9992 </row>
9993 <row topline="true" bottomline="true">
9994 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9995 \begin_inset Text
9996
9997 \begin_layout Standard
9998 g
9999 \end_layout
10000
10001 \end_inset
10002 </cell>
10003 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10004 \begin_inset Text
10005
10006 \begin_layout Standard
10007 h
10008 \end_layout
10009
10010 \end_inset
10011 </cell>
10012 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10013 \begin_inset Text
10014
10015 \begin_layout Standard
10016 i
10017 \end_layout
10018
10019 \end_inset
10020 </cell>
10021 </row>
10022 </lyxtabular>
10023
10024 \end_inset
10025
10026
10027 \end_layout
10028
10029 \end_inset
10030
10031
10032 \end_layout
10033
10034 \begin_layout Standard
10035 Adjusting a fixed width for a column, enables to enter text as a paragraph
10036  with multiple lines and hyphenations.
10037 \end_layout
10038
10039 \begin_layout Standard
10040 To produce Table\InsetSpace ~
10041
10042 \begin_inset LatexCommand ref
10043 reference "tab:Table-with-multiple"
10044
10045 \end_inset
10046
10047 , create a 3×3 table, mark the first cell and right-click on it.
10048  In the appearing table dialog we set a cell width of 2.5\InsetSpace \thinspace{}
10049 cm and choose centered
10050  for the vertical and horizontal alignment.
10051  The vertical alignment is used for all cells of the row.
10052  As our text is smaller than than 2.5\InsetSpace \thinspace{}
10053 cm, only one line will appear.
10054  To get two lines, we add a line break with the command
10055 \end_layout
10056
10057 \begin_layout Standard
10058
10059 \series bold
10060
10061 \backslash
10062 linebreak
10063 \end_layout
10064
10065 \begin_layout Standard
10066 in ERT.
10067  If the text is wider than the set cell width it will automatically be broken
10068  to several lines.
10069 \end_layout
10070
10071 \begin_layout Standard
10072 If you have a long word in a cell with a fixed width, it cannot be hyphenated
10073  by LaTeX if it is the first entry.
10074  Therefore you need to insert something, to make the word not being the
10075  first entry: Add the command
10076 \end_layout
10077
10078 \begin_layout Standard
10079
10080 \series bold
10081
10082 \backslash
10083 hspace{0pt}
10084 \end_layout
10085
10086 \begin_layout Standard
10087 in ERT before the word.
10088  As the space is zero, it doesn't change the output.
10089  Table\InsetSpace ~
10090
10091 \begin_inset LatexCommand ref
10092 reference "tab:Table-with-and"
10093
10094 \end_inset
10095
10096  shows the effect.
10097 \end_layout
10098
10099 \begin_layout Standard
10100 \begin_inset Float table
10101 placement h
10102 wide false
10103 sideways false
10104 status open
10105
10106 \begin_layout Standard
10107 \begin_inset Caption
10108
10109 \begin_layout Standard
10110 \begin_inset LatexCommand label
10111 name "tab:Table-with-and"
10112
10113 \end_inset
10114
10115 Table with and without hyphenation
10116 \end_layout
10117
10118 \end_inset
10119
10120
10121 \end_layout
10122
10123 \begin_layout Standard
10124
10125 \hfill
10126
10127 \begin_inset Tabular
10128 <lyxtabular version="3" rows="3" columns="3">
10129 <features>
10130 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
10131 <column alignment="center" valignment="middle" leftline="true" width="0">
10132 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0">
10133 <row topline="true">
10134 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10135 \begin_inset Text
10136
10137 \begin_layout Standard
10138 verylongtablecellword
10139 \end_layout
10140
10141 \end_inset
10142 </cell>
10143 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10144 \begin_inset Text
10145
10146 \begin_layout Standard
10147 b
10148 \end_layout
10149
10150 \end_inset
10151 </cell>
10152 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10153 \begin_inset Text
10154
10155 \begin_layout Standard
10156 c
10157 \end_layout
10158
10159 \end_inset
10160 </cell>
10161 </row>
10162 <row topline="true">
10163 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10164 \begin_inset Text
10165
10166 \begin_layout Standard
10167 d
10168 \end_layout
10169
10170 \end_inset
10171 </cell>
10172 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10173 \begin_inset Text
10174
10175 \begin_layout Standard
10176 e
10177 \end_layout
10178
10179 \end_inset
10180 </cell>
10181 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10182 \begin_inset Text
10183
10184 \begin_layout Standard
10185 f
10186 \end_layout
10187
10188 \end_inset
10189 </cell>
10190 </row>
10191 <row topline="true" bottomline="true">
10192 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10193 \begin_inset Text
10194
10195 \begin_layout Standard
10196 g
10197 \end_layout
10198
10199 \end_inset
10200 </cell>
10201 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10202 \begin_inset Text
10203
10204 \begin_layout Standard
10205 h
10206 \end_layout
10207
10208 \end_inset
10209 </cell>
10210 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10211 \begin_inset Text
10212
10213 \begin_layout Standard
10214 i
10215 \end_layout
10216
10217 \end_inset
10218 </cell>
10219 </row>
10220 </lyxtabular>
10221
10222 \end_inset
10223
10224
10225 \hfill
10226
10227 \begin_inset Tabular
10228 <lyxtabular version="3" rows="3" columns="3">
10229 <features>
10230 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
10231 <column alignment="center" valignment="middle" leftline="true" width="0">
10232 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0">
10233 <row topline="true">
10234 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10235 \begin_inset Text
10236
10237 \begin_layout Standard
10238 \begin_inset ERT
10239 status collapsed
10240
10241 \begin_layout Standard
10242
10243
10244 \backslash
10245 hspace{0pt}
10246 \end_layout
10247
10248 \end_inset
10249
10250 verylongtablecellword
10251 \end_layout
10252
10253 \end_inset
10254 </cell>
10255 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10256 \begin_inset Text
10257
10258 \begin_layout Standard
10259 b
10260 \end_layout
10261
10262 \end_inset
10263 </cell>
10264 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10265 \begin_inset Text
10266
10267 \begin_layout Standard
10268 c
10269 \end_layout
10270
10271 \end_inset
10272 </cell>
10273 </row>
10274 <row topline="true">
10275 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10276 \begin_inset Text
10277
10278 \begin_layout Standard
10279 d
10280 \end_layout
10281
10282 \end_inset
10283 </cell>
10284 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10285 \begin_inset Text
10286
10287 \begin_layout Standard
10288 e
10289 \end_layout
10290
10291 \end_inset
10292 </cell>
10293 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10294 \begin_inset Text
10295
10296 \begin_layout Standard
10297 f
10298 \end_layout
10299
10300 \end_inset
10301 </cell>
10302 </row>
10303 <row topline="true" bottomline="true">
10304 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10305 \begin_inset Text
10306
10307 \begin_layout Standard
10308 g
10309 \end_layout
10310
10311 \end_inset
10312 </cell>
10313 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10314 \begin_inset Text
10315
10316 \begin_layout Standard
10317 h
10318 \end_layout
10319
10320 \end_inset
10321 </cell>
10322 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10323 \begin_inset Text
10324
10325 \begin_layout Standard
10326 i
10327 \end_layout
10328
10329 \end_inset
10330 </cell>
10331 </row>
10332 </lyxtabular>
10333
10334 \end_inset
10335
10336
10337 \hfill
10338
10339 \end_layout
10340
10341 \end_inset
10342
10343
10344 \end_layout
10345
10346 \begin_layout Standard
10347
10348 \newpage
10349
10350 \end_layout
10351
10352 \begin_layout Subsection
10353 Multicolumns
10354 \begin_inset LatexCommand label
10355 name "sub:Multicolumns"
10356
10357 \end_inset
10358
10359
10360 \begin_inset LatexCommand index
10361 name "Multicolumns"
10362
10363 \end_inset
10364
10365
10366 \begin_inset LatexCommand index
10367 name "Table ! Multicolumns"
10368
10369 \end_inset
10370
10371
10372 \end_layout
10373
10374 \begin_layout Subsubsection
10375 Multicolumn Basics
10376 \end_layout
10377
10378 \begin_layout Standard
10379 To span a cell over multiple columns, mark as much cells within a line that
10380  should be one spanned cell and use either the table-toolbar button 
10381 \begin_inset Graphics
10382         filename ../images/tabular-feature_multicolumn.xpm
10383         scale 85
10384         scaleBeforeRotation
10385
10386 \end_inset
10387
10388 , or the menu 
10389 \family sans
10390 Edit\SpecialChar \menuseparator
10391 Table\SpecialChar \menuseparator
10392 Multicolumn
10393 \family default
10394 , or right click on the marked cells and choose multicolumn in the appearing
10395  table dialog under the tab 
10396 \family sans
10397 Table Settings
10398 \family default
10399 .
10400 \end_layout
10401
10402 \begin_layout Standard
10403 Multicolumns have there own cell settings.
10404  That means changing cell borders, cell alignment, and the width only affects
10405  the multicolumn.
10406  Here is an example table with a multicolumn cell in the first row and one
10407  in the last row without the upper border:
10408 \end_layout
10409
10410 \begin_layout Standard
10411 \align center
10412 \begin_inset Tabular
10413 <lyxtabular version="3" rows="3" columns="4">
10414 <features firstHeadTopDL="true" firstHeadBottomDL="true">
10415 <column alignment="center" valignment="top" leftline="true" width="0pt">
10416 <column alignment="center" valignment="middle" leftline="true" width="0">
10417 <column alignment="center" valignment="top" leftline="true" width="0in">
10418 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
10419 <row topline="true" bottomline="true">
10420 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10421 \begin_inset Text
10422
10423 \begin_layout Standard
10424 abc
10425 \end_layout
10426
10427 \end_inset
10428 </cell>
10429 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
10430 \begin_inset Text
10431
10432 \begin_layout Standard
10433 def ghi
10434 \end_layout
10435
10436 \end_inset
10437 </cell>
10438 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10439 \begin_inset Text
10440
10441 \begin_layout Standard
10442
10443 \end_layout
10444
10445 \end_inset
10446 </cell>
10447 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10448 \begin_inset Text
10449
10450 \begin_layout Standard
10451 jkl
10452 \end_layout
10453
10454 \end_inset
10455 </cell>
10456 </row>
10457 <row topline="true">
10458 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10459 \begin_inset Text
10460
10461 \begin_layout Standard
10462
10463 \family roman
10464 \series medium
10465 \shape up
10466 \size normal
10467 \emph off
10468 \bar no
10469 \noun off
10470 \color none
10471 A
10472 \end_layout
10473
10474 \end_inset
10475 </cell>
10476 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10477 \begin_inset Text
10478
10479 \begin_layout Standard
10480 B
10481 \end_layout
10482
10483 \end_inset
10484 </cell>
10485 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10486 \begin_inset Text
10487
10488 \begin_layout Standard
10489 C
10490 \end_layout
10491
10492 \end_inset
10493 </cell>
10494 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10495 \begin_inset Text
10496
10497 \begin_layout Standard
10498 D
10499 \end_layout
10500
10501 \end_inset
10502 </cell>
10503 </row>
10504 <row topline="true" bottomline="true">
10505 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10506 \begin_inset Text
10507
10508 \begin_layout Standard
10509 1
10510 \end_layout
10511
10512 \end_inset
10513 </cell>
10514 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10515 \begin_inset Text
10516
10517 \begin_layout Standard
10518 2
10519 \end_layout
10520
10521 \end_inset
10522 </cell>
10523 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10524 \begin_inset Text
10525
10526 \begin_layout Standard
10527 3
10528 \end_layout
10529
10530 \end_inset
10531 </cell>
10532 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10533 \begin_inset Text
10534
10535 \begin_layout Standard
10536 4
10537 \end_layout
10538
10539 \end_inset
10540 </cell>
10541 </row>
10542 </lyxtabular>
10543
10544 \end_inset
10545
10546
10547 \end_layout
10548
10549 \begin_layout Subsubsection
10550 Multicolumn Calculations
10551 \begin_inset LatexCommand label
10552 name "sub:Multicolumn-Calculations"
10553
10554 \end_inset
10555
10556
10557 \begin_inset LatexCommand index
10558 name "Multicolumns ! Calculations"
10559
10560 \end_inset
10561
10562
10563 \end_layout
10564
10565 \begin_layout Standard
10566 LyX supports multicolumns directly, but we have to take notice of the cell
10567  width of the columns spanned by the multicolumn cell.
10568 \end_layout
10569
10570 \begin_layout Standard
10571 \begin_inset Float table
10572 wide false
10573 sideways false
10574 status open
10575
10576 \begin_layout Standard
10577 \begin_inset Caption
10578
10579 \begin_layout Standard
10580 \begin_inset LatexCommand label
10581 name "tab:Table-with-centered"
10582
10583 \end_inset
10584
10585 Table with centered multicolumn text above two columns that have exactly
10586  half the width of the multicolumn cell
10587 \begin_inset OptArg
10588 status collapsed
10589
10590 \begin_layout Standard
10591 Perfect multicolumn table
10592 \end_layout
10593
10594 \end_inset
10595
10596
10597 \end_layout
10598
10599 \end_inset
10600
10601
10602 \end_layout
10603
10604 \begin_layout Standard
10605 \align center
10606 \begin_inset Tabular
10607 <lyxtabular version="3" rows="3" columns="3">
10608 <features>
10609 <column alignment="center" valignment="middle" leftline="true" width="0" special=">{\centering}m{1.25cm-6.2pt}">
10610 <column alignment="center" valignment="middle" leftline="true" width="0">
10611 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
10612 <row topline="true">
10613 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" special=">{\centering}m{2.5cm}">
10614 \begin_inset Text
10615
10616 \begin_layout Standard
10617 multiple lines multicolumn
10618 \end_layout
10619
10620 \end_inset
10621 </cell>
10622 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10623 \begin_inset Text
10624
10625 \begin_layout Standard
10626
10627 \end_layout
10628
10629 \end_inset
10630 </cell>
10631 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10632 \begin_inset Text
10633
10634 \begin_layout Standard
10635 c
10636 \end_layout
10637
10638 \end_inset
10639 </cell>
10640 </row>
10641 <row topline="true">
10642 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10643 \begin_inset Text
10644
10645 \begin_layout Standard
10646 d
10647 \end_layout
10648
10649 \end_inset
10650 </cell>
10651 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10652 \begin_inset Text
10653
10654 \begin_layout Standard
10655 e
10656 \end_layout
10657
10658 \end_inset
10659 </cell>
10660 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10661 \begin_inset Text
10662
10663 \begin_layout Standard
10664 f
10665 \end_layout
10666
10667 \end_inset
10668 </cell>
10669 </row>
10670 <row topline="true" bottomline="true">
10671 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10672 \begin_inset Text
10673
10674 \begin_layout Standard
10675 g
10676 \end_layout
10677
10678 \end_inset
10679 </cell>
10680 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10681 \begin_inset Text
10682
10683 \begin_layout Standard
10684 h
10685 \end_layout
10686
10687 \end_inset
10688 </cell>
10689 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10690 \begin_inset Text
10691
10692 \begin_layout Standard
10693 i
10694 \end_layout
10695
10696 \end_inset
10697 </cell>
10698 </row>
10699 </lyxtabular>
10700
10701 \end_inset
10702
10703
10704 \end_layout
10705
10706 \end_inset
10707
10708
10709 \end_layout
10710
10711 \begin_layout Standard
10712 To create for example Table\InsetSpace ~
10713
10714 \begin_inset LatexCommand ref
10715 reference "tab:Table-with-centered"
10716
10717 \end_inset
10718
10719 , mark the first two cells in the first row of a 3×3 table and right-click
10720  on them.
10721  Now choose for this cell 
10722 \emph on
10723 multicolumn
10724 \emph default
10725
10726 \emph on
10727 centered alignment
10728 \emph default
10729  and a width of 2.5\InsetSpace \thinspace{}
10730 cm in the table dialog.
10731  The spanned columns should have exactly half the width of the multicolumn
10732  cell, so that you would adjust a width of 1.25\InsetSpace \thinspace{}
10733 cm for the first column.
10734  The second column has then automatically a width of 1.25\InsetSpace \thinspace{}
10735 cm (multicolumn
10736  width - width of first column).
10737  This was done for Table\InsetSpace ~
10738
10739 \begin_inset LatexCommand ref
10740 reference "tab:Table-without-half"
10741
10742 \end_inset
10743
10744 .
10745 \end_layout
10746
10747 \begin_layout Standard
10748 \begin_inset Float table
10749 wide false
10750 sideways false
10751 status open
10752
10753 \begin_layout Standard
10754 \begin_inset Caption
10755
10756 \begin_layout Standard
10757 \begin_inset LatexCommand label
10758 name "tab:Table-without-half"
10759
10760 \end_inset
10761
10762 Table where the spanned table columns have not exactly half the width of
10763  the multicolumn cell
10764 \begin_inset OptArg
10765 status collapsed
10766
10767 \begin_layout Standard
10768 Imperfect multicolumn table
10769 \end_layout
10770
10771 \end_inset
10772
10773
10774 \end_layout
10775
10776 \end_inset
10777
10778
10779 \end_layout
10780
10781 \begin_layout Standard
10782 \align center
10783 \begin_inset Tabular
10784 <lyxtabular version="3" rows="3" columns="3">
10785 <features>
10786 <column alignment="center" valignment="top" leftline="true" width="1.25cm">
10787 <column alignment="center" valignment="top" leftline="true" width="0">
10788 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
10789 <row topline="true" bottomline="true">
10790 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
10791 \begin_inset Text
10792
10793 \begin_layout Standard
10794 multiple lines multicolumn
10795 \end_layout
10796
10797 \end_inset
10798 </cell>
10799 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10800 \begin_inset Text
10801
10802 \begin_layout Standard
10803
10804 \end_layout
10805
10806 \end_inset
10807 </cell>
10808 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10809 \begin_inset Text
10810
10811 \begin_layout Standard
10812 c
10813 \end_layout
10814
10815 \end_inset
10816 </cell>
10817 </row>
10818 <row topline="true">
10819 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10820 \begin_inset Text
10821
10822 \begin_layout Standard
10823 d
10824 \end_layout
10825
10826 \end_inset
10827 </cell>
10828 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10829 \begin_inset Text
10830
10831 \begin_layout Standard
10832 e
10833 \end_layout
10834
10835 \end_inset
10836 </cell>
10837 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10838 \begin_inset Text
10839
10840 \begin_layout Standard
10841 f
10842 \end_layout
10843
10844 \end_inset
10845 </cell>
10846 </row>
10847 <row topline="true" bottomline="true">
10848 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10849 \begin_inset Text
10850
10851 \begin_layout Standard
10852 g
10853 \end_layout
10854
10855 \end_inset
10856 </cell>
10857 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10858 \begin_inset Text
10859
10860 \begin_layout Standard
10861 h
10862 \end_layout
10863
10864 \end_inset
10865 </cell>
10866 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10867 \begin_inset Text
10868
10869 \begin_layout Standard
10870 i
10871 \end_layout
10872
10873 \end_inset
10874 </cell>
10875 </row>
10876 </lyxtabular>
10877
10878 \end_inset
10879
10880
10881 \end_layout
10882
10883 \end_inset
10884
10885
10886 \end_layout
10887
10888 \begin_layout Standard
10889 You can see that the first column has not the half width of the multicolumn
10890  cell, it is a bit bigger.
10891  The reason is that the given width of a cell 
10892 \begin_inset Formula $W_{g}$
10893 \end_inset
10894
10895  is not its total width 
10896 \begin_inset Formula $W_{\mathrm{tot}}$
10897 \end_inset
10898
10899  because a cell is always a bit larger than its given width.
10900  Appendix\InsetSpace ~
10901
10902 \begin_inset LatexCommand eqref
10903 reference "cha:Explanation-of-Equation"
10904
10905 \end_inset
10906
10907  explains it in detail.
10908 \end_layout
10909
10910 \begin_layout Standard
10911 The needed given width 
10912 \begin_inset Formula $W_{g\, n}$
10913 \end_inset
10914
10915  when 
10916 \emph on
10917 n
10918 \emph default
10919  columns are spanned can be calculated, so that each column has a total
10920  width of 
10921 \begin_inset Formula $W_{\mathrm{tot\, multicolumn}}/n$
10922 \end_inset
10923
10924 :
10925 \begin_inset Formula \begin{equation}
10926 W_{g\, n}=(W_{g\,\mathrm{multicolumn}}+(1-n)\cdot(12.4\,\mathrm{pt}))/n\label{eq:Wgn}\end{equation}
10927
10928 \end_inset
10929
10930
10931 \end_layout
10932
10933 \begin_layout Standard
10934 In our case we have 
10935 \begin_inset Formula $n=2$
10936 \end_inset
10937
10938
10939 \begin_inset Formula $W_{g\,\mathrm{multicolumn}}=2.5\,$
10940 \end_inset
10941
10942 cm and the default values for the lengths, so that equation 
10943 \begin_inset LatexCommand ref
10944 reference "eq:Wgn"
10945
10946 \end_inset
10947
10948  becomes
10949 \begin_inset Formula \begin{equation}
10950 W_{g\,2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}\end{equation}
10951
10952 \end_inset
10953
10954
10955 \end_layout
10956
10957 \begin_layout Standard
10958 To enable calculations in LaTeX, the LaTeX-package 
10959 \series bold
10960 calc
10961 \series default
10962  must be loaded with the document preamble line
10963 \begin_inset LatexCommand index
10964 name "LaTeX-packages ! calc"
10965
10966 \end_inset
10967
10968
10969 \end_layout
10970
10971 \begin_layout Standard
10972
10973 \series bold
10974
10975 \backslash
10976 usepackage{calc}
10977 \end_layout
10978
10979 \begin_layout Standard
10980 LyX does not allow to calculate lengths in the width-field of the table
10981  dialog.
10982  Therefore you have to format the column by inserting a LaTeX-argument in
10983  the dialog.
10984  Here is an overview about the arguments:
10985 \end_layout
10986
10987 \begin_layout Itemize
10988
10989 \series bold
10990 p{width}
10991 \series default
10992  creates cell with a fixed width, its text is vertically top-aligned
10993 \end_layout
10994
10995 \begin_layout Itemize
10996
10997 \series bold
10998 m{width}
10999 \series default
11000  creates cell with a fixed width, its text is vertically centered
11001 \end_layout
11002
11003 \begin_layout Itemize
11004
11005 \series bold
11006 b{width}
11007 \series default
11008  creates cell with a fixed width, its text is vertically bottom-aligned
11009 \end_layout
11010
11011 \begin_layout Standard
11012 By entering a LaTeX-argument, all cell settings set in the table dialog
11013  are overwritten.
11014 \end_layout
11015
11016 \begin_layout Standard
11017 \begin_inset Note Greyedout
11018 status open
11019
11020 \begin_layout Standard
11021
11022 \series bold
11023 Note:
11024 \series default
11025  Due to a bug, LyX shows the overwritten settings anyway.
11026 \end_layout
11027
11028 \end_inset
11029
11030
11031 \end_layout
11032
11033 \begin_layout Standard
11034 As the text should be horizontally centered, the command 
11035 \series bold
11036
11037 \backslash
11038 centering
11039 \series default
11040  is added.
11041  You can now enter the following LaTeX-argument for the first spanned column:
11042 \end_layout
11043
11044 \begin_layout Standard
11045
11046 \series bold
11047 >{
11048 \backslash
11049 centering}m{1.25cm-6.2pt}
11050 \end_layout
11051
11052 \begin_layout Standard
11053 The command 
11054 \series bold
11055 >{ }
11056 \series default
11057  means, that the commands inside the braces are applied before the cell
11058  is created.
11059 \end_layout
11060
11061 \begin_layout Standard
11062 Although we have chosen centered alignment for the text of the multicolumn
11063  cell, it is still left aligned.
11064  This is because LyX only applies the alignment to single columns.
11065  So we have to use for the multicolumn the LaTeX-argument
11066 \end_layout
11067
11068 \begin_layout Standard
11069
11070 \series bold
11071 >{
11072 \backslash
11073 centering}m{2.5cm}
11074 \end_layout
11075
11076 \begin_layout Subsection
11077 Multirows
11078 \begin_inset LatexCommand index
11079 name "Multirows"
11080
11081 \end_inset
11082
11083
11084 \begin_inset LatexCommand index
11085 name "Table ! Multirows"
11086
11087 \end_inset
11088
11089
11090 \begin_inset LatexCommand index
11091 name "LaTeX-packages ! multirow"
11092
11093 \end_inset
11094
11095
11096 \end_layout
11097
11098 \begin_layout Standard
11099 In contrary to multicolumns multirows are not yet supported by LyX so a
11100  bit of ERT needs to be used.
11101  To use multirows load the LaTeX-package 
11102 \series bold
11103 multirow
11104 \series default
11105  in your document preamble with the command
11106 \end_layout
11107
11108 \begin_layout Standard
11109
11110 \series bold
11111
11112 \backslash
11113 usepackage{multirow}
11114 \end_layout
11115
11116 \begin_layout Standard
11117 Multirows are created with the command
11118 \end_layout
11119
11120 \begin_layout Standard
11121
11122 \series bold
11123
11124 \backslash
11125 multirow{number of rows}{cell width}{cell entry}
11126 \end_layout
11127
11128 \begin_layout Standard
11129 To create the following table:
11130 \end_layout
11131
11132 \begin_layout Standard
11133 \align center
11134 \begin_inset ERT
11135 status collapsed
11136
11137 \begin_layout Standard
11138
11139
11140 \backslash
11141 renewcommand{
11142 \backslash
11143 multirowsetup}{
11144 \backslash
11145 centering}
11146 \end_layout
11147
11148 \end_inset
11149
11150
11151 \begin_inset Tabular
11152 <lyxtabular version="3" rows="3" columns="3">
11153 <features>
11154 <column alignment="center" valignment="top" leftline="true" width="0">
11155 <column alignment="center" valignment="top" leftline="true" width="0">
11156 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
11157 <row topline="true">
11158 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11159 \begin_inset Text
11160
11161 \begin_layout Standard
11162 a
11163 \end_layout
11164
11165 \end_inset
11166 </cell>
11167 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11168 \begin_inset Text
11169
11170 \begin_layout Standard
11171 b
11172 \end_layout
11173
11174 \end_inset
11175 </cell>
11176 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11177 \begin_inset Text
11178
11179 \begin_layout Standard
11180 c
11181 \end_layout
11182
11183 \end_inset
11184 </cell>
11185 </row>
11186 <row topline="true">
11187 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11188 \begin_inset Text
11189
11190 \begin_layout Standard
11191 \begin_inset ERT
11192 status collapsed
11193
11194 \begin_layout Standard
11195
11196
11197 \backslash
11198 multirow{2}{2.5cm}{
11199 \end_layout
11200
11201 \end_inset
11202
11203 multirow entry
11204 \begin_inset ERT
11205 status collapsed
11206
11207 \begin_layout Standard
11208
11209 }
11210 \end_layout
11211
11212 \end_inset
11213
11214
11215 \end_layout
11216
11217 \end_inset
11218 </cell>
11219 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11220 \begin_inset Text
11221
11222 \begin_layout Standard
11223 e
11224 \end_layout
11225
11226 \end_inset
11227 </cell>
11228 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11229 \begin_inset Text
11230
11231 \begin_layout Standard
11232 f
11233 \end_layout
11234
11235 \end_inset
11236 </cell>
11237 </row>
11238 <row topline="true" bottomline="true">
11239 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11240 \begin_inset Text
11241
11242 \begin_layout Standard
11243
11244 \end_layout
11245
11246 \end_inset
11247 </cell>
11248 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11249 \begin_inset Text
11250
11251 \begin_layout Standard
11252 h
11253 \end_layout
11254
11255 \end_inset
11256 </cell>
11257 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11258 \begin_inset Text
11259
11260 \begin_layout Standard
11261 i
11262 \end_layout
11263
11264 \end_inset
11265 </cell>
11266 </row>
11267 </lyxtabular>
11268
11269 \end_inset
11270
11271
11272 \begin_inset ERT
11273 status collapsed
11274
11275 \begin_layout Standard
11276
11277
11278 \backslash
11279 renewcommand{
11280 \backslash
11281 multirowsetup}{
11282 \backslash
11283 raggedright}
11284 \end_layout
11285
11286 \end_inset
11287
11288
11289 \end_layout
11290
11291 \begin_layout Standard
11292 create a 3×3 table.
11293  To get rid of the line above the last cell in the first column, the cell
11294  is marked as multicolumn and the upper border is unset.
11295  The multirow is now created in the second row of the first column by inserting
11296  there the command
11297 \end_layout
11298
11299 \begin_layout Standard
11300
11301 \series bold
11302
11303 \backslash
11304 multirow{2}{2.5cm}{
11305 \end_layout
11306
11307 \begin_layout Standard
11308 as ERT.
11309  According to the command parameters the multirow spans now two rows and
11310  has a width of 2.5\InsetSpace \thinspace{}
11311 cm.
11312  The content of the multirow cell follows outside the ERT box and the command
11313  is finished with a right brace 
11314 \series bold
11315 }
11316 \series default
11317  in another ERT-box behind the text.
11318 \end_layout
11319
11320 \begin_layout Standard
11321
11322 \series bold
11323
11324 \backslash
11325 multirow
11326 \series default
11327  left-aligns its content by default.
11328  To override the default, renew the command 
11329 \series bold
11330
11331 \backslash
11332 multirowsetup
11333 \series default
11334  with the command
11335 \end_layout
11336
11337 \begin_layout Standard
11338
11339 \series bold
11340
11341 \backslash
11342 renewcommand{
11343 \backslash
11344 multirowsetup}{
11345 \backslash
11346 centering}
11347 \end_layout
11348
11349 \begin_layout Standard
11350 in ERT in the document preamble.
11351  Then all entries of multirow cells in the document are centered.
11352  If centering is only needed for several tables, you can renew the command
11353  in an ERT box just before the table instead of the preamble.
11354  If the text should be right-aligned, replace 
11355 \series bold
11356
11357 \backslash
11358 centering
11359 \series default
11360  by 
11361 \series bold
11362
11363 \backslash
11364 raggedleft
11365 \series default
11366 .
11367  To return to left-alignment 
11368 \series bold
11369
11370 \backslash
11371 raggedright
11372 \series default
11373  is used.
11374 \end_layout
11375
11376 \begin_layout Section
11377 Formal Tables
11378 \begin_inset LatexCommand label
11379 name "sec:Formal-Tables"
11380
11381 \end_inset
11382
11383
11384 \begin_inset LatexCommand index
11385 name "Table ! Formal"
11386
11387 \end_inset
11388
11389
11390 \end_layout
11391
11392 \begin_layout Standard
11393 Tables are often typeset in books similar to Table\InsetSpace ~
11394
11395 \begin_inset LatexCommand ref
11396 reference "tab:Example-booktabs-table"
11397
11398 \end_inset
11399
11400 .
11401  This kind of tables is called 
11402 \begin_inset Quotes eld
11403 \end_inset
11404
11405
11406 \emph on
11407 formal
11408 \emph default
11409
11410 \begin_inset Quotes erd
11411 \end_inset
11412
11413 .
11414  To make a table a formal table use the option 
11415 \family sans
11416 Formal
11417 \family default
11418  in the 
11419 \family sans
11420 Borders
11421 \family default
11422  tab of the table dialog.
11423 \end_layout
11424
11425 \begin_layout Standard
11426 \begin_inset Float table
11427 placement h
11428 wide false
11429 sideways false
11430 status open
11431
11432 \begin_layout Standard
11433 \begin_inset Caption
11434
11435 \begin_layout Standard
11436 \begin_inset LatexCommand label
11437 name "tab:Example-booktabs-table"
11438
11439 \end_inset
11440
11441 Example booktabs-table
11442 \end_layout
11443
11444 \end_inset
11445
11446
11447 \end_layout
11448
11449 \begin_layout Standard
11450 \align center
11451 \begin_inset Tabular
11452 <lyxtabular version="3" rows="8" columns="4">
11453 <features booktabs="true">
11454 <column alignment="center" valignment="top" rightline="true" width="0">
11455 <column alignment="center" valignment="top" width="0">
11456 <column alignment="center" valignment="top" width="0">
11457 <column alignment="center" valignment="top" width="0">
11458 <row topline="true">
11459 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11460 \begin_inset Text
11461
11462 \begin_layout Standard
11463 System
11464 \end_layout
11465
11466 \end_inset
11467 </cell>
11468 <cell alignment="center" valignment="top" topline="true" usebox="none">
11469 \begin_inset Text
11470
11471 \begin_layout Standard
11472 Medipix
11473 \begin_inset Formula $\,$
11474 \end_inset
11475
11476 1
11477 \end_layout
11478
11479 \end_inset
11480 </cell>
11481 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" usebox="none">
11482 \begin_inset Text
11483
11484 \begin_layout Standard
11485 Medipix
11486 \begin_inset Formula $\,$
11487 \end_inset
11488
11489 2
11490 \end_layout
11491
11492 \end_inset
11493 </cell>
11494 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11495 \begin_inset Text
11496
11497 \begin_layout Standard
11498
11499 \end_layout
11500
11501 \end_inset
11502 </cell>
11503 </row>
11504 <row>
11505 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11506 \begin_inset Text
11507
11508 \begin_layout Standard
11509 \begin_inset ERT
11510 status collapsed
11511
11512 \begin_layout Standard
11513
11514
11515 \backslash
11516 cmidrule(r){2-2}
11517 \end_layout
11518
11519 \end_inset
11520
11521
11522 \begin_inset ERT
11523 status collapsed
11524
11525 \begin_layout Standard
11526
11527
11528 \backslash
11529 cmidrule(l){3-4}
11530 \end_layout
11531
11532 \end_inset
11533
11534 Detector thickness [µm]
11535 \end_layout
11536
11537 \end_inset
11538 </cell>
11539 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11540 \begin_inset Text
11541
11542 \begin_layout Standard
11543 300
11544 \end_layout
11545
11546 \end_inset
11547 </cell>
11548 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11549 \begin_inset Text
11550
11551 \begin_layout Standard
11552 300
11553 \end_layout
11554
11555 \end_inset
11556 </cell>
11557 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11558 \begin_inset Text
11559
11560 \begin_layout Standard
11561 700
11562 \end_layout
11563
11564 \end_inset
11565 </cell>
11566 </row>
11567 <row topline="true">
11568 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11569 \begin_inset Text
11570
11571 \begin_layout Standard
11572 Edge angle [°]
11573 \end_layout
11574
11575 \end_inset
11576 </cell>
11577 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11578 \begin_inset Text
11579
11580 \begin_layout Standard
11581 3.55
11582 \end_layout
11583
11584 \end_inset
11585 </cell>
11586 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11587 \begin_inset Text
11588
11589 \begin_layout Standard
11590 2.71
11591 \end_layout
11592
11593 \end_inset
11594 </cell>
11595 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11596 \begin_inset Text
11597
11598 \begin_layout Standard
11599 7.99
11600 \end_layout
11601
11602 \end_inset
11603 </cell>
11604 </row>
11605 <row topspace="default">
11606 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11607 \begin_inset Text
11608
11609 \begin_layout Standard
11610 Spatial resolution [µm]
11611 \end_layout
11612
11613 \end_inset
11614 </cell>
11615 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11616 \begin_inset Text
11617
11618 \begin_layout Standard
11619 4.26
11620 \end_layout
11621
11622 \end_inset
11623 </cell>
11624 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11625 \begin_inset Text
11626
11627 \begin_layout Standard
11628 10.17
11629 \end_layout
11630
11631 \end_inset
11632 </cell>
11633 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11634 \begin_inset Text
11635
11636 \begin_layout Standard
11637 10.56
11638 \end_layout
11639
11640 \end_inset
11641 </cell>
11642 </row>
11643 <row topspace="default">
11644 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11645 \begin_inset Text
11646
11647 \begin_layout Standard
11648 MTF at 
11649 \begin_inset Formula $f_{\mathrm{max}}$
11650 \end_inset
11651
11652
11653 \end_layout
11654
11655 \end_inset
11656 </cell>
11657 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11658 \begin_inset Text
11659
11660 \begin_layout Standard
11661 0.53
11662 \end_layout
11663
11664 \end_inset
11665 </cell>
11666 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11667 \begin_inset Text
11668
11669 \begin_layout Standard
11670 0.37
11671 \end_layout
11672
11673 \end_inset
11674 </cell>
11675 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11676 \begin_inset Text
11677
11678 \begin_layout Standard
11679 0.39
11680 \end_layout
11681
11682 \end_inset
11683 </cell>
11684 </row>
11685 <row topspace="default">
11686 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11687 \begin_inset Text
11688
11689 \begin_layout Standard
11690 \begin_inset ERT
11691 status collapsed
11692
11693 \begin_layout Standard
11694
11695
11696 \backslash
11697 cmidrule(l{10pt}){1-1}
11698 \end_layout
11699
11700 \end_inset
11701
11702 LSF-spatial resolution
11703 \end_layout
11704
11705 \end_inset
11706 </cell>
11707 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11708 \begin_inset Text
11709
11710 \begin_layout Standard
11711
11712 \end_layout
11713
11714 \end_inset
11715 </cell>
11716 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11717 \begin_inset Text
11718
11719 \begin_layout Standard
11720
11721 \end_layout
11722
11723 \end_inset
11724 </cell>
11725 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11726 \begin_inset Text
11727
11728 \begin_layout Standard
11729
11730 \end_layout
11731
11732 \end_inset
11733 </cell>
11734 </row>
11735 <row>
11736 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11737 \begin_inset Text
11738
11739 \begin_layout Standard
11740 in Âµm
11741 \end_layout
11742
11743 \end_inset
11744 </cell>
11745 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11746 \begin_inset Text
11747
11748 \begin_layout Standard
11749 129.7
11750 \end_layout
11751
11752 \end_inset
11753 </cell>
11754 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11755 \begin_inset Text
11756
11757 \begin_layout Standard
11758 52.75
11759 \end_layout
11760
11761 \end_inset
11762 </cell>
11763 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11764 \begin_inset Text
11765
11766 \begin_layout Standard
11767 50.78
11768 \end_layout
11769
11770 \end_inset
11771 </cell>
11772 </row>
11773 <row bottomline="true">
11774 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11775 \begin_inset Text
11776
11777 \begin_layout Standard
11778 in % of pixel size
11779 \end_layout
11780
11781 \end_inset
11782 </cell>
11783 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11784 \begin_inset Text
11785
11786 \begin_layout Standard
11787 76.3
11788 \end_layout
11789
11790 \end_inset
11791 </cell>
11792 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11793 \begin_inset Text
11794
11795 \begin_layout Standard
11796 95.9
11797 \end_layout
11798
11799 \end_inset
11800 </cell>
11801 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11802 \begin_inset Text
11803
11804 \begin_layout Standard
11805 92.3
11806 \end_layout
11807
11808 \end_inset
11809 </cell>
11810 </row>
11811 </lyxtabular>
11812
11813 \end_inset
11814
11815
11816 \end_layout
11817
11818 \end_inset
11819
11820
11821 \end_layout
11822
11823 \begin_layout Standard
11824 Spaces to table rows can be added using the 
11825 \family sans
11826 Borders
11827 \family default
11828  tab of the table dialog as described in section\InsetSpace ~
11829
11830 \begin_inset LatexCommand ref
11831 reference "sub:Row-Spacing"
11832
11833 \end_inset
11834
11835 .
11836 \end_layout
11837
11838 \begin_layout Standard
11839 In contrary to normal tables, formal tables have no vertical table lines.
11840  The horizontal table lines can be set like for normal tables but they appear
11841  with different width in the output:
11842 \newline
11843 The first and the last table line have
11844  a default width of 0.08\InsetSpace \thinspace{}
11845 em while the other lines have a default width of
11846  0.05\InsetSpace \thinspace{}
11847 em.
11848 \end_layout
11849
11850 \begin_layout Standard
11851 The default widths can be changed with the following preamble lines
11852 \end_layout
11853
11854 \begin_layout Standard
11855
11856 \series bold
11857
11858 \backslash
11859 let
11860 \backslash
11861 mytoprule
11862 \backslash
11863 toprule
11864 \newline
11865
11866 \backslash
11867 renewcommand{
11868 \backslash
11869 toprule}{
11870 \backslash
11871 mytoprule[width]}
11872 \end_layout
11873
11874 \begin_layout Standard
11875 This example is for the first line, the so called 
11876 \series bold
11877 toprule
11878 \series default
11879 .
11880  If you want to change the width for the last line, replace 
11881 \series bold
11882 toprule
11883 \series default
11884  by 
11885 \series bold
11886 bottomrule
11887 \series default
11888 .
11889  To change the width for the other lines replace 
11890 \series bold
11891 toprule
11892 \series default
11893  by 
11894 \series bold
11895 midrule
11896 \series default
11897 .
11898  You can use all units listed in appendix\InsetSpace ~
11899
11900 \begin_inset LatexCommand ref
11901 reference "cha:Units-available-in"
11902
11903 \end_inset
11904
11905  to set the width.
11906 \end_layout
11907
11908 \begin_layout Standard
11909 Lines that don't span over all table columns can be created by setting a
11910  table line for multicolumn cells.
11911  LyX will then internally use the command 
11912 \series bold
11913
11914 \backslash
11915 cmidrule
11916 \series default
11917  to create this line.
11918  Its full scheme is
11919 \end_layout
11920
11921 \begin_layout Standard
11922
11923 \series bold
11924
11925 \backslash
11926 cmidrule[width](trim){startcol-endcol}
11927 \end_layout
11928
11929 \begin_layout Standard
11930 The options of 
11931 \series bold
11932
11933 \backslash
11934 cmidrule
11935 \series default
11936  are are currently not supported by LyX so you have to use ERT to be able
11937  to use them.
11938  
11939 \series bold
11940
11941 \backslash
11942 cmidrule
11943 \series default
11944 s can manually be created by inserting the command as ERT as first cell
11945  entry of the first cell of a row.
11946  The line is then drawn in the output above the current row.
11947 \end_layout
11948
11949 \begin_layout Standard
11950 The default for the width is 0.03\InsetSpace \thinspace{}
11951 em.
11952  Startcol is the number of the column where the line starts and endcol the
11953  column number where the line ends.
11954  The endcol always needs to be specified, also when the line should span
11955  only one column.
11956  The optional parameter trim could be either 
11957 \emph on
11958 l{trimwidth}
11959 \emph default
11960 , or 
11961 \emph on
11962 r{trimwidth}
11963 \emph default
11964  where the trimwidth is also optional.
11965  Using for example the parameter 
11966 \emph on
11967 l{2pt}
11968 \emph default
11969  means that the line is trimmed from its left end by 2\InsetSpace \thinspace{}
11970 pt.
11971  If you don't specify the trimwidth the lines are trimmed by the default
11972  of 0.5\InsetSpace \thinspace{}
11973 em.
11974 \end_layout
11975
11976 \begin_layout Standard
11977 \begin_inset VSpace bigskip
11978 \end_inset
11979
11980 Table\InsetSpace ~
11981
11982 \begin_inset LatexCommand ref
11983 reference "tab:Example-booktabs-table"
11984
11985 \end_inset
11986
11987  was created using the commands
11988 \end_layout
11989
11990 \begin_layout Standard
11991
11992 \series bold
11993
11994 \backslash
11995 cmidrule(r){2-2}
11996 \backslash
11997 cmidrule(l){3-4}
11998 \end_layout
11999
12000 \begin_layout Standard
12001 at the beginning of the in the second row and
12002 \end_layout
12003
12004 \begin_layout Standard
12005
12006 \series bold
12007
12008 \backslash
12009 cmidrule(l{10pt}){1-1}
12010 \end_layout
12011
12012 \begin_layout Standard
12013 in the sixth row.
12014 \end_layout
12015
12016 \begin_layout Standard
12017 \begin_inset VSpace bigskip
12018 \end_inset
12019
12020
12021 \end_layout
12022
12023 \begin_layout Standard
12024 You might want to have overlapping 
12025 \series bold
12026
12027 \backslash
12028 cmidrule
12029 \series default
12030 s like in Table\InsetSpace ~
12031
12032 \begin_inset LatexCommand ref
12033 reference "tab:Special-booktabs-table"
12034
12035 \end_inset
12036
12037 .
12038  This can be achieved with the ERT command
12039 \end_layout
12040
12041 \begin_layout Standard
12042
12043 \series bold
12044
12045 \backslash
12046 morecmidrules
12047 \end_layout
12048
12049 \begin_layout Standard
12050 The command that was used for the second row of Table\InsetSpace ~
12051
12052 \begin_inset LatexCommand ref
12053 reference "tab:Special-booktabs-table"
12054
12055 \end_inset
12056
12057  is
12058 \end_layout
12059
12060 \begin_layout Standard
12061
12062 \series bold
12063
12064 \backslash
12065 cmidrule(r){2-2}
12066 \backslash
12067 cmidrule(l){3-4}
12068 \backslash
12069 morecmidrules
12070 \backslash
12071 cmidrule{2-4}
12072 \end_layout
12073
12074 \begin_layout Standard
12075 The command for the sixth row is
12076 \end_layout
12077
12078 \begin_layout Standard
12079
12080 \series bold
12081
12082 \backslash
12083 midrule
12084 \backslash
12085 morecmidrules
12086 \backslash
12087 cmidrule{3-4}
12088 \end_layout
12089
12090 \begin_layout Standard
12091 \begin_inset VSpace bigskip
12092 \end_inset
12093
12094
12095 \end_layout
12096
12097 \begin_layout Standard
12098 If you are anyway not satisfied with the border line spacing, you can use
12099  the following command to produce lines that span over all table columns
12100 \series bold
12101 :
12102 \end_layout
12103
12104 \begin_layout Standard
12105
12106 \series bold
12107
12108 \backslash
12109 specialrule{width}{space above}{space below}
12110 \end_layout
12111
12112 \begin_layout Standard
12113 For more informations about these specialties, we refer to the manual of
12114  the LaTeX-package 
12115 \series bold
12116 booktabs
12117 \series default
12118  
12119 \begin_inset LatexCommand cite
12120 key "booktabs"
12121
12122 \end_inset
12123
12124 .
12125 \begin_inset LatexCommand index
12126 name "LaTeX-packages ! booktabs"
12127
12128 \end_inset
12129
12130
12131 \end_layout
12132
12133 \begin_layout Standard
12134 \begin_inset Float table
12135 placement h
12136 wide false
12137 sideways false
12138 status open
12139
12140 \begin_layout Standard
12141 \begin_inset Caption
12142
12143 \begin_layout Standard
12144 \begin_inset LatexCommand label
12145 name "tab:Special-booktabs-table"
12146
12147 \end_inset
12148
12149 Special booktabs-table
12150 \end_layout
12151
12152 \end_inset
12153
12154
12155 \end_layout
12156
12157 \begin_layout Standard
12158 \align center
12159 \begin_inset Tabular
12160 <lyxtabular version="3" rows="8" columns="4">
12161 <features booktabs="true">
12162 <column alignment="center" valignment="top" width="0">
12163 <column alignment="center" valignment="top" width="0">
12164 <column alignment="center" valignment="top" width="0">
12165 <column alignment="center" valignment="top" width="0">
12166 <row topline="true">
12167 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12168 \begin_inset Text
12169
12170 \begin_layout Standard
12171 System
12172 \end_layout
12173
12174 \end_inset
12175 </cell>
12176 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12177 \begin_inset Text
12178
12179 \begin_layout Standard
12180 Medipix\InsetSpace \thinspace{}
12181 1
12182 \end_layout
12183
12184 \end_inset
12185 </cell>
12186 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" usebox="none">
12187 \begin_inset Text
12188
12189 \begin_layout Standard
12190 Medipix\InsetSpace \thinspace{}
12191 2
12192 \end_layout
12193
12194 \end_inset
12195 </cell>
12196 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12197 \begin_inset Text
12198
12199 \begin_layout Standard
12200
12201 \end_layout
12202
12203 \end_inset
12204 </cell>
12205 </row>
12206 <row>
12207 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12208 \begin_inset Text
12209
12210 \begin_layout Standard
12211 \begin_inset ERT
12212 status collapsed
12213
12214 \begin_layout Standard
12215
12216
12217 \backslash
12218 cmidrule(r){2-2}
12219 \end_layout
12220
12221 \end_inset
12222
12223
12224 \begin_inset ERT
12225 status collapsed
12226
12227 \begin_layout Standard
12228
12229
12230 \backslash
12231 cmidrule(l){3-4}
12232 \end_layout
12233
12234 \end_inset
12235
12236
12237 \begin_inset ERT
12238 status collapsed
12239
12240 \begin_layout Standard
12241
12242
12243 \backslash
12244 morecmidrules 
12245 \end_layout
12246
12247 \end_inset
12248
12249
12250 \begin_inset ERT
12251 status collapsed
12252
12253 \begin_layout Standard
12254
12255
12256 \backslash
12257 cmidrule{2-4}
12258 \end_layout
12259
12260 \end_inset
12261
12262 Detector thickness [µm]
12263 \end_layout
12264
12265 \end_inset
12266 </cell>
12267 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12268 \begin_inset Text
12269
12270 \begin_layout Standard
12271 300
12272 \end_layout
12273
12274 \end_inset
12275 </cell>
12276 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12277 \begin_inset Text
12278
12279 \begin_layout Standard
12280 300
12281 \end_layout
12282
12283 \end_inset
12284 </cell>
12285 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12286 \begin_inset Text
12287
12288 \begin_layout Standard
12289 700
12290 \end_layout
12291
12292 \end_inset
12293 </cell>
12294 </row>
12295 <row topline="true">
12296 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12297 \begin_inset Text
12298
12299 \begin_layout Standard
12300 Edge angle [°]
12301 \end_layout
12302
12303 \end_inset
12304 </cell>
12305 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12306 \begin_inset Text
12307
12308 \begin_layout Standard
12309 3.55
12310 \end_layout
12311
12312 \end_inset
12313 </cell>
12314 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12315 \begin_inset Text
12316
12317 \begin_layout Standard
12318 2.71
12319 \end_layout
12320
12321 \end_inset
12322 </cell>
12323 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12324 \begin_inset Text
12325
12326 \begin_layout Standard
12327 7.99
12328 \end_layout
12329
12330 \end_inset
12331 </cell>
12332 </row>
12333 <row topspace="default">
12334 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12335 \begin_inset Text
12336
12337 \begin_layout Standard
12338 Spatial resolution [µm]
12339 \end_layout
12340
12341 \end_inset
12342 </cell>
12343 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12344 \begin_inset Text
12345
12346 \begin_layout Standard
12347 4.26
12348 \end_layout
12349
12350 \end_inset
12351 </cell>
12352 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12353 \begin_inset Text
12354
12355 \begin_layout Standard
12356 10.17
12357 \end_layout
12358
12359 \end_inset
12360 </cell>
12361 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12362 \begin_inset Text
12363
12364 \begin_layout Standard
12365 10.56
12366 \end_layout
12367
12368 \end_inset
12369 </cell>
12370 </row>
12371 <row topspace="default">
12372 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12373 \begin_inset Text
12374
12375 \begin_layout Standard
12376 MTF at 
12377 \begin_inset Formula $f_{\mathrm{max}}$
12378 \end_inset
12379
12380
12381 \end_layout
12382
12383 \end_inset
12384 </cell>
12385 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12386 \begin_inset Text
12387
12388 \begin_layout Standard
12389 0.53
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 Standard
12398 0.37
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 Standard
12407 0.39
12408 \end_layout
12409
12410 \end_inset
12411 </cell>
12412 </row>
12413 <row topline="true">
12414 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12415 \begin_inset Text
12416
12417 \begin_layout Standard
12418 \begin_inset ERT
12419 status collapsed
12420
12421 \begin_layout Standard
12422
12423
12424 \backslash
12425 morecmidrules 
12426 \end_layout
12427
12428 \end_inset
12429
12430
12431 \begin_inset ERT
12432 status collapsed
12433
12434 \begin_layout Standard
12435
12436
12437 \backslash
12438 cmidrule{3-4}
12439 \end_layout
12440
12441 \end_inset
12442
12443 LSF-spatial resolution
12444 \end_layout
12445
12446 \end_inset
12447 </cell>
12448 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12449 \begin_inset Text
12450
12451 \begin_layout Standard
12452
12453 \end_layout
12454
12455 \end_inset
12456 </cell>
12457 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12458 \begin_inset Text
12459
12460 \begin_layout Standard
12461
12462 \end_layout
12463
12464 \end_inset
12465 </cell>
12466 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12467 \begin_inset Text
12468
12469 \begin_layout Standard
12470
12471 \end_layout
12472
12473 \end_inset
12474 </cell>
12475 </row>
12476 <row>
12477 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12478 \begin_inset Text
12479
12480 \begin_layout Standard
12481 in Âµm
12482 \end_layout
12483
12484 \end_inset
12485 </cell>
12486 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12487 \begin_inset Text
12488
12489 \begin_layout Standard
12490 129.7
12491 \end_layout
12492
12493 \end_inset
12494 </cell>
12495 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12496 \begin_inset Text
12497
12498 \begin_layout Standard
12499 52.75
12500 \end_layout
12501
12502 \end_inset
12503 </cell>
12504 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12505 \begin_inset Text
12506
12507 \begin_layout Standard
12508 50.78
12509 \end_layout
12510
12511 \end_inset
12512 </cell>
12513 </row>
12514 <row bottomline="true">
12515 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12516 \begin_inset Text
12517
12518 \begin_layout Standard
12519 in % of pixel size
12520 \end_layout
12521
12522 \end_inset
12523 </cell>
12524 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12525 \begin_inset Text
12526
12527 \begin_layout Standard
12528 76.3
12529 \end_layout
12530
12531 \end_inset
12532 </cell>
12533 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12534 \begin_inset Text
12535
12536 \begin_layout Standard
12537 95.9
12538 \end_layout
12539
12540 \end_inset
12541 </cell>
12542 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12543 \begin_inset Text
12544
12545 \begin_layout Standard
12546 92.3
12547 \end_layout
12548
12549 \end_inset
12550 </cell>
12551 </row>
12552 </lyxtabular>
12553
12554 \end_inset
12555
12556
12557 \end_layout
12558
12559 \end_inset
12560
12561
12562 \end_layout
12563
12564 \begin_layout Section
12565 Vertical Table Alignment
12566 \begin_inset LatexCommand index
12567 name "Table ! Alignment"
12568
12569 \end_inset
12570
12571
12572 \end_layout
12573
12574 \begin_layout Standard
12575 To align tables vertically in a text line the table must be inside a box.
12576  The box can then be vertically aligned as described in section\InsetSpace ~
12577
12578 \begin_inset LatexCommand ref
12579 reference "sec:Box-Dialog"
12580
12581 \end_inset
12582
12583 .
12584 \end_layout
12585
12586 \begin_layout Standard
12587 In the following example the tables are inside a minipage
12588 \begin_inset Foot
12589 status collapsed
12590
12591 \begin_layout Standard
12592 Minipages are described in section\InsetSpace ~
12593
12594 \begin_inset LatexCommand ref
12595 reference "sec:Minipages"
12596
12597 \end_inset
12598
12599 .
12600 \end_layout
12601
12602 \end_inset
12603
12604  box that has a width of 15\InsetSpace \thinspace{}
12605 col%:
12606 \end_layout
12607
12608 \begin_layout Itemize
12609 test 
12610 \begin_inset Box Frameless
12611 position "t"
12612 hor_pos "c"
12613 has_inner_box 1
12614 inner_pos "c"
12615 use_parbox 0
12616 width "15col%"
12617 special "none"
12618 height "1in"
12619 height_special "totalheight"
12620 status collapsed
12621
12622 \begin_layout Standard
12623 \begin_inset Tabular
12624 <lyxtabular version="3" rows="3" columns="3">
12625 <features>
12626 <column alignment="center" valignment="top" leftline="true" width="0">
12627 <column alignment="center" valignment="top" leftline="true" width="0">
12628 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12629 <row topline="true">
12630 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12631 \begin_inset Text
12632
12633 \begin_layout Standard
12634 a
12635 \end_layout
12636
12637 \end_inset
12638 </cell>
12639 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12640 \begin_inset Text
12641
12642 \begin_layout Standard
12643 d
12644 \end_layout
12645
12646 \end_inset
12647 </cell>
12648 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12649 \begin_inset Text
12650
12651 \begin_layout Standard
12652 g
12653 \end_layout
12654
12655 \end_inset
12656 </cell>
12657 </row>
12658 <row topline="true">
12659 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12660 \begin_inset Text
12661
12662 \begin_layout Standard
12663 b
12664 \end_layout
12665
12666 \end_inset
12667 </cell>
12668 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12669 \begin_inset Text
12670
12671 \begin_layout Standard
12672 e
12673 \end_layout
12674
12675 \end_inset
12676 </cell>
12677 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12678 \begin_inset Text
12679
12680 \begin_layout Standard
12681 h
12682 \end_layout
12683
12684 \end_inset
12685 </cell>
12686 </row>
12687 <row topline="true" bottomline="true">
12688 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12689 \begin_inset Text
12690
12691 \begin_layout Standard
12692 c
12693 \end_layout
12694
12695 \end_inset
12696 </cell>
12697 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12698 \begin_inset Text
12699
12700 \begin_layout Standard
12701 f
12702 \end_layout
12703
12704 \end_inset
12705 </cell>
12706 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12707 \begin_inset Text
12708
12709 \begin_layout Standard
12710 i
12711 \end_layout
12712
12713 \end_inset
12714 </cell>
12715 </row>
12716 </lyxtabular>
12717
12718 \end_inset
12719
12720
12721 \end_layout
12722
12723 \end_inset
12724
12725  test 
12726 \begin_inset ERT
12727 status collapsed
12728
12729 \begin_layout Standard
12730
12731
12732 \backslash
12733 raisebox{0.85
12734 \backslash
12735 baselineskip}{
12736 \end_layout
12737
12738 \end_inset
12739
12740
12741 \begin_inset Box Frameless
12742 position "t"
12743 hor_pos "c"
12744 has_inner_box 1
12745 inner_pos "c"
12746 use_parbox 0
12747 width "15col%"
12748 special "none"
12749 height "1in"
12750 height_special "totalheight"
12751 status collapsed
12752
12753 \begin_layout Standard
12754 \begin_inset Tabular
12755 <lyxtabular version="3" rows="3" columns="3">
12756 <features>
12757 <column alignment="center" valignment="top" leftline="true" width="0">
12758 <column alignment="center" valignment="top" leftline="true" width="0">
12759 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12760 <row topline="true">
12761 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12762 \begin_inset Text
12763
12764 \begin_layout Standard
12765 a
12766 \end_layout
12767
12768 \end_inset
12769 </cell>
12770 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12771 \begin_inset Text
12772
12773 \begin_layout Standard
12774 d
12775 \end_layout
12776
12777 \end_inset
12778 </cell>
12779 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12780 \begin_inset Text
12781
12782 \begin_layout Standard
12783 g
12784 \end_layout
12785
12786 \end_inset
12787 </cell>
12788 </row>
12789 <row topline="true">
12790 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12791 \begin_inset Text
12792
12793 \begin_layout Standard
12794 b
12795 \end_layout
12796
12797 \end_inset
12798 </cell>
12799 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12800 \begin_inset Text
12801
12802 \begin_layout Standard
12803 e
12804 \end_layout
12805
12806 \end_inset
12807 </cell>
12808 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12809 \begin_inset Text
12810
12811 \begin_layout Standard
12812 h
12813 \end_layout
12814
12815 \end_inset
12816 </cell>
12817 </row>
12818 <row topline="true" bottomline="true">
12819 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12820 \begin_inset Text
12821
12822 \begin_layout Standard
12823 c
12824 \end_layout
12825
12826 \end_inset
12827 </cell>
12828 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12829 \begin_inset Text
12830
12831 \begin_layout Standard
12832 f
12833 \end_layout
12834
12835 \end_inset
12836 </cell>
12837 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12838 \begin_inset Text
12839
12840 \begin_layout Standard
12841 i
12842 \end_layout
12843
12844 \end_inset
12845 </cell>
12846 </row>
12847 </lyxtabular>
12848
12849 \end_inset
12850
12851
12852 \end_layout
12853
12854 \end_inset
12855
12856
12857 \begin_inset ERT
12858 status collapsed
12859
12860 \begin_layout Standard
12861
12862 }
12863 \end_layout
12864
12865 \end_inset
12866
12867
12868 \end_layout
12869
12870 \begin_layout Itemize
12871 test 
12872 \begin_inset Box Frameless
12873 position "c"
12874 hor_pos "c"
12875 has_inner_box 1
12876 inner_pos "c"
12877 use_parbox 0
12878 width "15col%"
12879 special "none"
12880 height "1in"
12881 height_special "totalheight"
12882 status collapsed
12883
12884 \begin_layout Standard
12885 \begin_inset Tabular
12886 <lyxtabular version="3" rows="3" columns="3">
12887 <features>
12888 <column alignment="center" valignment="top" leftline="true" width="0">
12889 <column alignment="center" valignment="top" leftline="true" width="0">
12890 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12891 <row topline="true">
12892 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12893 \begin_inset Text
12894
12895 \begin_layout Standard
12896 a
12897 \end_layout
12898
12899 \end_inset
12900 </cell>
12901 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12902 \begin_inset Text
12903
12904 \begin_layout Standard
12905 d
12906 \end_layout
12907
12908 \end_inset
12909 </cell>
12910 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12911 \begin_inset Text
12912
12913 \begin_layout Standard
12914 g
12915 \end_layout
12916
12917 \end_inset
12918 </cell>
12919 </row>
12920 <row topline="true">
12921 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12922 \begin_inset Text
12923
12924 \begin_layout Standard
12925 b
12926 \end_layout
12927
12928 \end_inset
12929 </cell>
12930 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12931 \begin_inset Text
12932
12933 \begin_layout Standard
12934 e
12935 \end_layout
12936
12937 \end_inset
12938 </cell>
12939 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12940 \begin_inset Text
12941
12942 \begin_layout Standard
12943 h
12944 \end_layout
12945
12946 \end_inset
12947 </cell>
12948 </row>
12949 <row topline="true" bottomline="true">
12950 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12951 \begin_inset Text
12952
12953 \begin_layout Standard
12954 c
12955 \end_layout
12956
12957 \end_inset
12958 </cell>
12959 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12960 \begin_inset Text
12961
12962 \begin_layout Standard
12963 f
12964 \end_layout
12965
12966 \end_inset
12967 </cell>
12968 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12969 \begin_inset Text
12970
12971 \begin_layout Standard
12972 i
12973 \end_layout
12974
12975 \end_inset
12976 </cell>
12977 </row>
12978 </lyxtabular>
12979
12980 \end_inset
12981
12982
12983 \end_layout
12984
12985 \end_inset
12986
12987
12988 \end_layout
12989
12990 \begin_layout Itemize
12991 test 
12992 \begin_inset Box Frameless
12993 position "b"
12994 hor_pos "c"
12995 has_inner_box 1
12996 inner_pos "c"
12997 use_parbox 0
12998 width "15col%"
12999 special "none"
13000 height "1in"
13001 height_special "totalheight"
13002 status collapsed
13003
13004 \begin_layout Standard
13005 \begin_inset Tabular
13006 <lyxtabular version="3" rows="3" columns="3">
13007 <features>
13008 <column alignment="center" valignment="top" leftline="true" width="0">
13009 <column alignment="center" valignment="top" leftline="true" width="0">
13010 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13011 <row topline="true">
13012 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13013 \begin_inset Text
13014
13015 \begin_layout Standard
13016 a
13017 \end_layout
13018
13019 \end_inset
13020 </cell>
13021 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13022 \begin_inset Text
13023
13024 \begin_layout Standard
13025 d
13026 \end_layout
13027
13028 \end_inset
13029 </cell>
13030 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13031 \begin_inset Text
13032
13033 \begin_layout Standard
13034 g
13035 \end_layout
13036
13037 \end_inset
13038 </cell>
13039 </row>
13040 <row topline="true">
13041 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13042 \begin_inset Text
13043
13044 \begin_layout Standard
13045 b
13046 \end_layout
13047
13048 \end_inset
13049 </cell>
13050 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13051 \begin_inset Text
13052
13053 \begin_layout Standard
13054 e
13055 \end_layout
13056
13057 \end_inset
13058 </cell>
13059 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13060 \begin_inset Text
13061
13062 \begin_layout Standard
13063 h
13064 \end_layout
13065
13066 \end_inset
13067 </cell>
13068 </row>
13069 <row topline="true" bottomline="true">
13070 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13071 \begin_inset Text
13072
13073 \begin_layout Standard
13074 c
13075 \end_layout
13076
13077 \end_inset
13078 </cell>
13079 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13080 \begin_inset Text
13081
13082 \begin_layout Standard
13083 f
13084 \end_layout
13085
13086 \end_inset
13087 </cell>
13088 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13089 \begin_inset Text
13090
13091 \begin_layout Standard
13092 i
13093 \end_layout
13094
13095 \end_inset
13096 </cell>
13097 </row>
13098 </lyxtabular>
13099
13100 \end_inset
13101
13102
13103 \end_layout
13104
13105 \end_inset
13106
13107  test 
13108 \begin_inset ERT
13109 status collapsed
13110
13111 \begin_layout Standard
13112
13113
13114 \backslash
13115 raisebox{-0.32
13116 \backslash
13117 baselineskip}{
13118 \end_layout
13119
13120 \end_inset
13121
13122
13123 \begin_inset Box Frameless
13124 position "b"
13125 hor_pos "c"
13126 has_inner_box 1
13127 inner_pos "c"
13128 use_parbox 0
13129 width "15col%"
13130 special "none"
13131 height "1in"
13132 height_special "totalheight"
13133 status collapsed
13134
13135 \begin_layout Standard
13136 \begin_inset Tabular
13137 <lyxtabular version="3" rows="3" columns="3">
13138 <features>
13139 <column alignment="center" valignment="top" leftline="true" width="0">
13140 <column alignment="center" valignment="top" leftline="true" width="0">
13141 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13142 <row topline="true">
13143 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13144 \begin_inset Text
13145
13146 \begin_layout Standard
13147 a
13148 \end_layout
13149
13150 \end_inset
13151 </cell>
13152 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13153 \begin_inset Text
13154
13155 \begin_layout Standard
13156 d
13157 \end_layout
13158
13159 \end_inset
13160 </cell>
13161 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13162 \begin_inset Text
13163
13164 \begin_layout Standard
13165 g
13166 \end_layout
13167
13168 \end_inset
13169 </cell>
13170 </row>
13171 <row topline="true">
13172 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13173 \begin_inset Text
13174
13175 \begin_layout Standard
13176 b
13177 \end_layout
13178
13179 \end_inset
13180 </cell>
13181 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13182 \begin_inset Text
13183
13184 \begin_layout Standard
13185 e
13186 \end_layout
13187
13188 \end_inset
13189 </cell>
13190 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13191 \begin_inset Text
13192
13193 \begin_layout Standard
13194 h
13195 \end_layout
13196
13197 \end_inset
13198 </cell>
13199 </row>
13200 <row topline="true" bottomline="true">
13201 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13202 \begin_inset Text
13203
13204 \begin_layout Standard
13205 c
13206 \end_layout
13207
13208 \end_inset
13209 </cell>
13210 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13211 \begin_inset Text
13212
13213 \begin_layout Standard
13214 f
13215 \end_layout
13216
13217 \end_inset
13218 </cell>
13219 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13220 \begin_inset Text
13221
13222 \begin_layout Standard
13223 i
13224 \end_layout
13225
13226 \end_inset
13227 </cell>
13228 </row>
13229 </lyxtabular>
13230
13231 \end_inset
13232
13233
13234 \end_layout
13235
13236 \end_inset
13237
13238
13239 \begin_inset ERT
13240 status collapsed
13241
13242 \begin_layout Standard
13243
13244 }
13245 \end_layout
13246
13247 \end_inset
13248
13249
13250 \end_layout
13251
13252 \begin_layout Standard
13253 As you can see, the content of the first and last table row is not correctly
13254  aligned with the text line where the table is in.
13255  To get this alignment, the minipage box must be set into a raisebox
13256 \begin_inset Foot
13257 status collapsed
13258
13259 \begin_layout Standard
13260 Raiseboxes are described in section\InsetSpace ~
13261
13262 \begin_inset LatexCommand ref
13263 reference "sub:Vertical-Alignment"
13264
13265 \end_inset
13266
13267 .
13268 \end_layout
13269
13270 \end_inset
13271
13272 .
13273  In the example above the second table in the first item is aligned using
13274  the ERT-command
13275 \end_layout
13276
13277 \begin_layout Standard
13278
13279 \series bold
13280
13281 \backslash
13282 raisebox{0.85
13283 \backslash
13284 baselineskip}{
13285 \end_layout
13286
13287 \begin_layout Standard
13288 before the box.
13289  Behind the box the closing brace 
13290 \series bold
13291 }
13292 \series default
13293  is inserted as ERT.
13294  For the second table in the last item the command
13295 \end_layout
13296
13297 \begin_layout Standard
13298
13299 \series bold
13300
13301 \backslash
13302 raisebox{-0.32
13303 \backslash
13304 baselineskip}{
13305 \end_layout
13306
13307 \begin_layout Standard
13308 is used.
13309 \end_layout
13310
13311 \begin_layout Standard
13312 \begin_inset Note Greyedout
13313 status open
13314
13315 \begin_layout Standard
13316
13317 \series bold
13318 Note:
13319 \series default
13320  The alignment of the table row content to the surrounding text line is
13321  not exact.
13322  The needed factor of the 
13323 \series bold
13324
13325 \backslash
13326 raisebox
13327 \series default
13328  command for this alignment depends on the document font, the font size,
13329  and the table line thickness.
13330 \end_layout
13331
13332 \end_inset
13333
13334
13335 \end_layout
13336
13337 \begin_layout Section
13338 Colored Tables
13339 \begin_inset LatexCommand label
13340 name "sec:Colored-Tables"
13341
13342 \end_inset
13343
13344
13345 \begin_inset LatexCommand index
13346 name "Table ! Color"
13347
13348 \end_inset
13349
13350
13351 \end_layout
13352
13353 \begin_layout Subsection
13354 Colored Cells
13355 \begin_inset LatexCommand index
13356 name "Table Color ! for Cells"
13357
13358 \end_inset
13359
13360
13361 \begin_inset LatexCommand index
13362 name "Color ! for Table Cells"
13363
13364 \end_inset
13365
13366
13367 \end_layout
13368
13369 \begin_layout Standard
13370 \begin_inset Float table
13371 placement h
13372 wide false
13373 sideways false
13374 status open
13375
13376 \begin_layout Standard
13377 \begin_inset Caption
13378
13379 \begin_layout Standard
13380 \begin_inset LatexCommand label
13381 name "tab:Table-colored-without"
13382
13383 \end_inset
13384
13385 Table colored without using the package 
13386 \series bold
13387 colortbl
13388 \series default
13389
13390 \begin_inset OptArg
13391 status collapsed
13392
13393 \begin_layout Standard
13394 Table without colortbl
13395 \end_layout
13396
13397 \end_inset
13398
13399
13400 \end_layout
13401
13402 \end_inset
13403
13404
13405 \end_layout
13406
13407 \begin_layout Standard
13408 \align center
13409 \begin_inset Tabular
13410 <lyxtabular version="3" rows="3" columns="3">
13411 <features>
13412 <column alignment="center" valignment="top" leftline="true" width="0">
13413 <column alignment="center" valignment="top" leftline="true" width="0">
13414 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13415 <row topline="true">
13416 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13417 \begin_inset Text
13418
13419 \begin_layout Standard
13420
13421 \color green
13422 a
13423 \end_layout
13424
13425 \end_inset
13426 </cell>
13427 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13428 \begin_inset Text
13429
13430 \begin_layout Standard
13431
13432 \color red
13433 b
13434 \end_layout
13435
13436 \end_inset
13437 </cell>
13438 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13439 \begin_inset Text
13440
13441 \begin_layout Standard
13442
13443 \color red
13444 c
13445 \end_layout
13446
13447 \end_inset
13448 </cell>
13449 </row>
13450 <row topline="true">
13451 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13452 \begin_inset Text
13453
13454 \begin_layout Standard
13455
13456 \color green
13457 d
13458 \end_layout
13459
13460 \end_inset
13461 </cell>
13462 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13463 \begin_inset Text
13464
13465 \begin_layout Standard
13466
13467 \color blue
13468 e
13469 \end_layout
13470
13471 \end_inset
13472 </cell>
13473 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13474 \begin_inset Text
13475
13476 \begin_layout Standard
13477
13478 \color blue
13479 f
13480 \end_layout
13481
13482 \end_inset
13483 </cell>
13484 </row>
13485 <row topline="true" bottomline="true">
13486 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13487 \begin_inset Text
13488
13489 \begin_layout Standard
13490
13491 \color green
13492 g
13493 \end_layout
13494
13495 \end_inset
13496 </cell>
13497 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13498 \begin_inset Text
13499
13500 \begin_layout Standard
13501
13502 \color blue
13503 h
13504 \end_layout
13505
13506 \end_inset
13507 </cell>
13508 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13509 \begin_inset Text
13510
13511 \begin_layout Standard
13512
13513 \color blue
13514 i
13515 \end_layout
13516
13517 \end_inset
13518 </cell>
13519 </row>
13520 </lyxtabular>
13521
13522 \end_inset
13523
13524
13525 \end_layout
13526
13527 \end_inset
13528
13529
13530 \end_layout
13531
13532 \begin_layout Standard
13533 If you only need colored text, mark the cells and choose a color in the
13534  menu 
13535 \family sans
13536 Edit\SpecialChar \menuseparator
13537 Text\InsetSpace ~
13538 Style
13539 \family default
13540 .
13541  This was used to create Table\InsetSpace ~
13542
13543 \begin_inset LatexCommand ref
13544 reference "tab:Table-colored-without"
13545
13546 \end_inset
13547
13548 .
13549  In any other case you have to use the LaTeX-package 
13550 \series bold
13551 colortbl
13552 \series default
13553 .
13554 \begin_inset LatexCommand index
13555 name "LaTeX-packages ! colortbl"
13556
13557 \end_inset
13558
13559
13560 \end_layout
13561
13562 \begin_layout Standard
13563 To create colored tables, 
13564 \series bold
13565 colortbl
13566 \series default
13567  must be loaded in the preamble with the line
13568 \end_layout
13569
13570 \begin_layout Standard
13571
13572 \series bold
13573
13574 \backslash
13575 usepackage{colortbl}
13576 \end_layout
13577
13578 \begin_layout Standard
13579 The color of a column is adjusted with the command
13580 \end_layout
13581
13582 \begin_layout Standard
13583
13584 \series bold
13585
13586 \backslash
13587 columncolor{name of color}
13588 \end_layout
13589
13590 \begin_layout Standard
13591 inside the command 
13592 \series bold
13593 >{ }
13594 \series default
13595 .
13596  More about the command 
13597 \series bold
13598 >{}
13599 \series default
13600  is described in section\InsetSpace ~
13601
13602 \begin_inset LatexCommand ref
13603 reference "sub:Multicolumn-Calculations"
13604
13605 \end_inset
13606
13607 .
13608 \end_layout
13609
13610 \begin_layout Standard
13611 The following color names are predefined:
13612 \end_layout
13613
13614 \begin_layout Standard
13615
13616 \family sans
13617 red
13618 \family default
13619
13620 \family sans
13621 green
13622 \family default
13623
13624 \family sans
13625 yellow
13626 \family default
13627
13628 \family sans
13629 blue
13630 \family default
13631
13632 \family sans
13633 cyan
13634 \family default
13635
13636 \family sans
13637 magenta
13638 \family default
13639
13640 \family sans
13641 black
13642 \family default
13643  and 
13644 \family sans
13645 white
13646 \end_layout
13647
13648 \begin_layout Standard
13649 \begin_inset VSpace medskip
13650 \end_inset
13651
13652
13653 \end_layout
13654
13655 \begin_layout Standard
13656 You can also define your own color with the command
13657 \end_layout
13658
13659 \begin_layout Standard
13660
13661 \series bold
13662
13663 \backslash
13664 def\SpecialChar \textcompwordmark{}
13665 inecolor{color name}{color model}{color values}
13666 \end_layout
13667
13668 \begin_layout Standard
13669 The color model can be
13670 \end_layout
13671
13672 \begin_layout Labeling
13673 \labelwidthstring 00.00.0000
13674 cmyk: cyan, magenta, yellow, black
13675 \end_layout
13676
13677 \begin_layout Labeling
13678 \labelwidthstring 00.00.0000
13679 rgb: red, green blue
13680 \end_layout
13681
13682 \begin_layout Labeling
13683 \labelwidthstring 00.00.0000
13684 gray gray
13685 \end_layout
13686
13687 \begin_layout Standard
13688 and the color values are comma separated numbers between 0 and 1 describing
13689  the factor for the corresponding color of the color model.
13690 \end_layout
13691
13692 \begin_layout Standard
13693 You can e.\InsetSpace \thinspace{}
13694 g.\InsetSpace ~
13695 define the color "
13696 \emph on
13697 darkgreen
13698 \emph default
13699 " in the preamble with
13700 \end_layout
13701
13702 \begin_layout Standard
13703
13704 \series bold
13705
13706 \backslash
13707 def\SpecialChar \textcompwordmark{}
13708 inecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
13709 \end_layout
13710
13711 \begin_layout Standard
13712 and the color "
13713 \emph on
13714 lightgray
13715 \emph default
13716 " with
13717 \end_layout
13718
13719 \begin_layout Standard
13720
13721 \series bold
13722
13723 \backslash
13724 def\SpecialChar \textcompwordmark{}
13725 inecolor{lightgray}{gray}{0.8}
13726 \end_layout
13727
13728 \begin_layout Standard
13729 \begin_inset VSpace medskip
13730 \end_inset
13731
13732
13733 \end_layout
13734
13735 \begin_layout Standard
13736 Lines are colored with the command
13737 \end_layout
13738
13739 \begin_layout Standard
13740
13741 \series bold
13742
13743 \backslash
13744 rowcolor{name of color}
13745 \end_layout
13746
13747 \begin_layout Standard
13748 and cells are colored with the command
13749 \end_layout
13750
13751 \begin_layout Standard
13752
13753 \series bold
13754
13755 \backslash
13756 cellcolor{name of color}
13757 \end_layout
13758
13759 \begin_layout Standard
13760 Both commands are inserted at the beginning of a cell as ERT.
13761 \end_layout
13762
13763 \begin_layout Standard
13764 To color characters in the table, mark the cells and use the LyX menu 
13765 \family sans
13766 Edit\SpecialChar \menuseparator
13767 Text\InsetSpace ~
13768 Style
13769 \family default
13770 .
13771  If a cell contains ERT mark only the characters, otherwise the colored
13772  ERT will cause LaTeX-errors.
13773 \end_layout
13774
13775 \begin_layout Standard
13776 \begin_inset Note Greyedout
13777 status open
13778
13779 \begin_layout Standard
13780
13781 \series bold
13782 Note:
13783 \series default
13784  Not all DVI-viewers are able to display self-defined colors.
13785 \end_layout
13786
13787 \end_inset
13788
13789
13790 \end_layout
13791
13792 \begin_layout Standard
13793 \begin_inset VSpace bigskip
13794 \end_inset
13795
13796
13797 \end_layout
13798
13799 \begin_layout Standard
13800 To create Table\InsetSpace ~
13801
13802 \begin_inset LatexCommand ref
13803 reference "tab:Table-colored-using"
13804
13805 \end_inset
13806
13807  do the following: The color of the first column should be 
13808 \emph on
13809 darkgreen
13810 \emph default
13811 .
13812  So insert
13813 \end_layout
13814
13815 \begin_layout Standard
13816
13817 \series bold
13818 >{
13819 \backslash
13820 columncolor{darkgreen}
13821 \backslash
13822 centering}c
13823 \end_layout
13824
13825 \begin_layout Standard
13826 as LaTeX-argument for this column.
13827  The first row should be blue, therefore the ERT command
13828 \end_layout
13829
13830 \begin_layout Standard
13831
13832 \series bold
13833
13834 \backslash
13835 rowcolow{cyan}
13836 \end_layout
13837
13838 \begin_layout Standard
13839 is inserted to the first cell of this row.
13840  Note that this overwrites the column color for the first cell.
13841  The last cell of the last row is colored magenta by inserting the ERT command
13842 \end_layout
13843
13844 \begin_layout Standard
13845
13846 \series bold
13847
13848 \backslash
13849 cellcolor{magenta}
13850 \end_layout
13851
13852 \begin_layout Standard
13853 The characters could now be colored using the menu 
13854 \family sans
13855 Edit\SpecialChar \menuseparator
13856 Text\InsetSpace ~
13857 Style
13858 \family default
13859 .
13860 \end_layout
13861
13862 \begin_layout Standard
13863 \begin_inset Float table
13864 placement h
13865 wide false
13866 sideways false
13867 status open
13868
13869 \begin_layout Standard
13870 \begin_inset Caption
13871
13872 \begin_layout Standard
13873 \begin_inset LatexCommand label
13874 name "tab:Table-colored-using"
13875
13876 \end_inset
13877
13878 Table colored using the package 
13879 \series bold
13880 colortbl
13881 \series default
13882
13883 \begin_inset OptArg
13884 status collapsed
13885
13886 \begin_layout Standard
13887 Table with colortbl
13888 \end_layout
13889
13890 \end_inset
13891
13892
13893 \end_layout
13894
13895 \end_inset
13896
13897
13898 \end_layout
13899
13900 \begin_layout Standard
13901 \align center
13902 \begin_inset Tabular
13903 <lyxtabular version="3" rows="3" columns="3">
13904 <features>
13905 <column alignment="center" valignment="top" width="0" special=">{\columncolor{darkgreen}\centering}c">
13906 <column alignment="center" valignment="top" width="0">
13907 <column alignment="center" valignment="top" width="0">
13908 <row>
13909 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13910 \begin_inset Text
13911
13912 \begin_layout Standard
13913 \begin_inset ERT
13914 status collapsed
13915
13916 \begin_layout Standard
13917
13918
13919 \backslash
13920 rowcolor{cyan}
13921 \end_layout
13922
13923 \end_inset
13924
13925
13926 \color magenta
13927 a
13928 \end_layout
13929
13930 \end_inset
13931 </cell>
13932 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13933 \begin_inset Text
13934
13935 \begin_layout Standard
13936
13937 \color red
13938 b
13939 \end_layout
13940
13941 \end_inset
13942 </cell>
13943 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13944 \begin_inset Text
13945
13946 \begin_layout Standard
13947
13948 \color red
13949 c
13950 \end_layout
13951
13952 \end_inset
13953 </cell>
13954 </row>
13955 <row>
13956 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13957 \begin_inset Text
13958
13959 \begin_layout Standard
13960
13961 \color yellow
13962 d
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 Standard
13971
13972 \color blue
13973 e
13974 \end_layout
13975
13976 \end_inset
13977 </cell>
13978 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13979 \begin_inset Text
13980
13981 \begin_layout Standard
13982
13983 \color blue
13984 f
13985 \end_layout
13986
13987 \end_inset
13988 </cell>
13989 </row>
13990 <row>
13991 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13992 \begin_inset Text
13993
13994 \begin_layout Standard
13995
13996 \color yellow
13997 g
13998 \end_layout
13999
14000 \end_inset
14001 </cell>
14002 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14003 \begin_inset Text
14004
14005 \begin_layout Standard
14006
14007 \color blue
14008 h
14009 \end_layout
14010
14011 \end_inset
14012 </cell>
14013 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14014 \begin_inset Text
14015
14016 \begin_layout Standard
14017 \begin_inset ERT
14018 status collapsed
14019
14020 \begin_layout Standard
14021
14022
14023 \backslash
14024 cellcolor{magenta}
14025 \end_layout
14026
14027 \end_inset
14028
14029
14030 \color green
14031 i
14032 \end_layout
14033
14034 \end_inset
14035 </cell>
14036 </row>
14037 </lyxtabular>
14038
14039 \end_inset
14040
14041
14042 \end_layout
14043
14044 \end_inset
14045
14046
14047 \end_layout
14048
14049 \begin_layout Subsection
14050 Colored Lines
14051 \begin_inset LatexCommand index
14052 name "Table Color ! for Lines"
14053
14054 \end_inset
14055
14056
14057 \begin_inset LatexCommand index
14058 name "Color ! for Table Lines"
14059
14060 \end_inset
14061
14062
14063 \end_layout
14064
14065 \begin_layout Standard
14066 As described in section\InsetSpace ~
14067
14068 \begin_inset LatexCommand ref
14069 reference "sub:Line-Thickness"
14070
14071 \end_inset
14072
14073 , the line thickness for all lines in a table can be adjusted with the length
14074  
14075 \series bold
14076
14077 \backslash
14078 arrayrulewidth
14079 \series default
14080 .
14081  It is set to 1.5\InsetSpace \thinspace{}
14082 pt for all tables of this section.
14083 \begin_inset ERT
14084 status collapsed
14085
14086 \begin_layout Standard
14087
14088
14089 \backslash
14090 setlength{
14091 \backslash
14092 arrayrulewidth}{1.5pt}
14093 \end_layout
14094
14095 \end_inset
14096
14097
14098 \end_layout
14099
14100 \begin_layout Standard
14101 To color vertical lines for example with green, create the following column
14102  format in the document preamble, according to the description in section\InsetSpace ~
14103
14104 \begin_inset LatexCommand ref
14105 reference "sub:Customized-Format"
14106
14107 \end_inset
14108
14109 :
14110 \end_layout
14111
14112 \begin_layout Standard
14113
14114 \series bold
14115
14116 \backslash
14117 newcolumntype{W}{!{
14118 \backslash
14119 color{green}
14120 \backslash
14121 vline}}
14122 \end_layout
14123
14124 \begin_layout Standard
14125 For Table\InsetSpace ~
14126
14127 \begin_inset LatexCommand ref
14128 reference "tab:Table-with-vertical-colored"
14129
14130 \end_inset
14131
14132  the LaTeX-argument
14133 \series bold
14134  WcW
14135 \series default
14136  was used for the last column and
14137 \series bold
14138  Wc
14139 \series default
14140  for the other columns.
14141 \end_layout
14142
14143 \begin_layout Standard
14144 If you want to have several colors, define more column formats.
14145 \end_layout
14146
14147 \begin_layout Standard
14148 \begin_inset Float table
14149 wide false
14150 sideways false
14151 status open
14152
14153 \begin_layout Standard
14154 \begin_inset Caption
14155
14156 \begin_layout Standard
14157 \begin_inset LatexCommand label
14158 name "tab:Table-with-vertical-colored"
14159
14160 \end_inset
14161
14162 Table with colored vertical lines
14163 \end_layout
14164
14165 \end_inset
14166
14167
14168 \end_layout
14169
14170 \begin_layout Standard
14171 \align center
14172 \begin_inset Tabular
14173 <lyxtabular version="3" rows="3" columns="3">
14174 <features>
14175 <column alignment="center" valignment="top" width="0" special="Wc">
14176 <column alignment="center" valignment="top" width="0" special="Wc">
14177 <column alignment="center" valignment="top" width="0" special="WcW">
14178 <row topline="true">
14179 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14180 \begin_inset Text
14181
14182 \begin_layout Standard
14183 sd
14184 \end_layout
14185
14186 \end_inset
14187 </cell>
14188 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14189 \begin_inset Text
14190
14191 \begin_layout Standard
14192
14193 \end_layout
14194
14195 \end_inset
14196 </cell>
14197 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14198 \begin_inset Text
14199
14200 \begin_layout Standard
14201
14202 \end_layout
14203
14204 \end_inset
14205 </cell>
14206 </row>
14207 <row topline="true">
14208 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14209 \begin_inset Text
14210
14211 \begin_layout Standard
14212
14213 \end_layout
14214
14215 \end_inset
14216 </cell>
14217 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14218 \begin_inset Text
14219
14220 \begin_layout Standard
14221 sd
14222 \end_layout
14223
14224 \end_inset
14225 </cell>
14226 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14227 \begin_inset Text
14228
14229 \begin_layout Standard
14230
14231 \end_layout
14232
14233 \end_inset
14234 </cell>
14235 </row>
14236 <row topline="true" bottomline="true">
14237 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14238 \begin_inset Text
14239
14240 \begin_layout Standard
14241
14242 \end_layout
14243
14244 \end_inset
14245 </cell>
14246 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14247 \begin_inset Text
14248
14249 \begin_layout Standard
14250
14251 \end_layout
14252
14253 \end_inset
14254 </cell>
14255 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14256 \begin_inset Text
14257
14258 \begin_layout Standard
14259 sd
14260 \end_layout
14261
14262 \end_inset
14263 </cell>
14264 </row>
14265 </lyxtabular>
14266
14267 \end_inset
14268
14269
14270 \end_layout
14271
14272 \end_inset
14273
14274
14275 \end_layout
14276
14277 \begin_layout Standard
14278 \begin_inset VSpace bigskip
14279 \end_inset
14280
14281 To color horizontal lines for example with red, like in Table\InsetSpace ~
14282
14283 \begin_inset LatexCommand ref
14284 reference "tab:Table-with-horizontal-colored"
14285
14286 \end_inset
14287
14288 , insert these commands in ERT before the table or table float:
14289 \end_layout
14290
14291 \begin_layout Standard
14292
14293 \series bold
14294
14295 \backslash
14296 let
14297 \backslash
14298 myHlineC
14299 \backslash
14300 hline
14301 \newline
14302
14303 \backslash
14304 renewcommand{
14305 \backslash
14306 hline}
14307 \newline
14308
14309 \begin_inset ERT
14310 status collapsed
14311
14312 \begin_layout Standard
14313
14314
14315 \backslash
14316 hphantom{ }
14317 \end_layout
14318
14319 \end_inset
14320
14321 {
14322 \backslash
14323 arrayrulecolor{red}
14324 \backslash
14325 myHlineC
14326 \backslash
14327 arrayrulecolor{black}}
14328 \end_layout
14329
14330 \begin_layout Standard
14331 \begin_inset ERT
14332 status collapsed
14333
14334 \begin_layout Standard
14335
14336
14337 \backslash
14338 let
14339 \backslash
14340 myHlineC
14341 \backslash
14342 hline
14343 \end_layout
14344
14345 \begin_layout Standard
14346
14347
14348 \backslash
14349 renewcommand{
14350 \backslash
14351 hline}
14352 \end_layout
14353
14354 \begin_layout Standard
14355
14356  {
14357 \backslash
14358 arrayrulecolor{red}
14359 \backslash
14360 myHlineC
14361 \backslash
14362 arrayrulecolor{black}}
14363 \end_layout
14364
14365 \end_inset
14366
14367
14368 \begin_inset Float table
14369 wide false
14370 sideways false
14371 status open
14372
14373 \begin_layout Standard
14374 \begin_inset Caption
14375
14376 \begin_layout Standard
14377 \begin_inset LatexCommand label
14378 name "tab:Table-with-horizontal-colored"
14379
14380 \end_inset
14381
14382 Table with colored horizontal lines
14383 \end_layout
14384
14385 \end_inset
14386
14387
14388 \end_layout
14389
14390 \begin_layout Standard
14391 \align center
14392 \begin_inset Tabular
14393 <lyxtabular version="3" rows="3" columns="3">
14394 <features>
14395 <column alignment="center" valignment="top" leftline="true" width="0">
14396 <column alignment="center" valignment="top" leftline="true" width="0">
14397 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14398 <row topline="true">
14399 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14400 \begin_inset Text
14401
14402 \begin_layout Standard
14403 sd
14404 \end_layout
14405
14406 \end_inset
14407 </cell>
14408 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14409 \begin_inset Text
14410
14411 \begin_layout Standard
14412
14413 \end_layout
14414
14415 \end_inset
14416 </cell>
14417 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14418 \begin_inset Text
14419
14420 \begin_layout Standard
14421
14422 \end_layout
14423
14424 \end_inset
14425 </cell>
14426 </row>
14427 <row topline="true">
14428 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14429 \begin_inset Text
14430
14431 \begin_layout Standard
14432
14433 \end_layout
14434
14435 \end_inset
14436 </cell>
14437 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14438 \begin_inset Text
14439
14440 \begin_layout Standard
14441 sd
14442 \end_layout
14443
14444 \end_inset
14445 </cell>
14446 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14447 \begin_inset Text
14448
14449 \begin_layout Standard
14450
14451 \end_layout
14452
14453 \end_inset
14454 </cell>
14455 </row>
14456 <row topline="true" bottomline="true">
14457 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14458 \begin_inset Text
14459
14460 \begin_layout Standard
14461
14462 \end_layout
14463
14464 \end_inset
14465 </cell>
14466 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14467 \begin_inset Text
14468
14469 \begin_layout Standard
14470
14471 \end_layout
14472
14473 \end_inset
14474 </cell>
14475 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14476 \begin_inset Text
14477
14478 \begin_layout Standard
14479 sd
14480 \end_layout
14481
14482 \end_inset
14483 </cell>
14484 </row>
14485 </lyxtabular>
14486
14487 \end_inset
14488
14489
14490 \end_layout
14491
14492 \end_inset
14493
14494
14495 \end_layout
14496
14497 \begin_layout Standard
14498 \begin_inset ERT
14499 status collapsed
14500
14501 \begin_layout Standard
14502
14503
14504 \backslash
14505 pagebreak 
14506 \end_layout
14507
14508 \end_inset
14509
14510
14511 \end_layout
14512
14513 \begin_layout Standard
14514 To return to the default line color black, insert this command in ERT behind
14515  the table or table float:
14516 \end_layout
14517
14518 \begin_layout Standard
14519
14520 \series bold
14521
14522 \backslash
14523 renewcommand{
14524 \backslash
14525 hline}{
14526 \backslash
14527 myHlineC}
14528 \end_layout
14529
14530 \begin_layout Standard
14531 Table\InsetSpace ~
14532
14533 \begin_inset LatexCommand ref
14534 reference "tab:Table-with-colored"
14535
14536 \end_inset
14537
14538  is an example with colored vertical and horizontal lines.
14539 \end_layout
14540
14541 \begin_layout Standard
14542 \begin_inset Float table
14543 placement h
14544 wide false
14545 sideways false
14546 status open
14547
14548 \begin_layout Standard
14549 \begin_inset Caption
14550
14551 \begin_layout Standard
14552 \begin_inset LatexCommand label
14553 name "tab:Table-with-colored"
14554
14555 \end_inset
14556
14557 Table with colored lines
14558 \end_layout
14559
14560 \end_inset
14561
14562
14563 \end_layout
14564
14565 \begin_layout Standard
14566 \align center
14567 \begin_inset Tabular
14568 <lyxtabular version="3" rows="3" columns="3">
14569 <features>
14570 <column alignment="center" valignment="top" width="0" special="Wc">
14571 <column alignment="center" valignment="top" width="0" special="Wc">
14572 <column alignment="center" valignment="top" width="0" special="WcW">
14573 <row topline="true">
14574 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14575 \begin_inset Text
14576
14577 \begin_layout Standard
14578 sd
14579 \end_layout
14580
14581 \end_inset
14582 </cell>
14583 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14584 \begin_inset Text
14585
14586 \begin_layout Standard
14587
14588 \end_layout
14589
14590 \end_inset
14591 </cell>
14592 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14593 \begin_inset Text
14594
14595 \begin_layout Standard
14596
14597 \end_layout
14598
14599 \end_inset
14600 </cell>
14601 </row>
14602 <row topline="true">
14603 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14604 \begin_inset Text
14605
14606 \begin_layout Standard
14607
14608 \end_layout
14609
14610 \end_inset
14611 </cell>
14612 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14613 \begin_inset Text
14614
14615 \begin_layout Standard
14616 sd
14617 \end_layout
14618
14619 \end_inset
14620 </cell>
14621 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14622 \begin_inset Text
14623
14624 \begin_layout Standard
14625
14626 \end_layout
14627
14628 \end_inset
14629 </cell>
14630 </row>
14631 <row topline="true" bottomline="true" topspace="default">
14632 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14633 \begin_inset Text
14634
14635 \begin_layout Standard
14636
14637 \end_layout
14638
14639 \end_inset
14640 </cell>
14641 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14642 \begin_inset Text
14643
14644 \begin_layout Standard
14645
14646 \end_layout
14647
14648 \end_inset
14649 </cell>
14650 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14651 \begin_inset Text
14652
14653 \begin_layout Standard
14654 sd
14655 \end_layout
14656
14657 \end_inset
14658 </cell>
14659 </row>
14660 </lyxtabular>
14661
14662 \end_inset
14663
14664
14665 \end_layout
14666
14667 \end_inset
14668
14669
14670 \end_layout
14671
14672 \begin_layout Standard
14673 \begin_inset ERT
14674 status collapsed
14675
14676 \begin_layout Standard
14677
14678
14679 \backslash
14680 renewcommand{
14681 \backslash
14682 hline}{
14683 \backslash
14684 myHlineC}
14685 \end_layout
14686
14687 \end_inset
14688
14689
14690 \end_layout
14691
14692 \begin_layout Standard
14693 \begin_inset ERT
14694 status collapsed
14695
14696 \begin_layout Standard
14697
14698
14699 \backslash
14700 setlength{
14701 \backslash
14702 arrayrulewidth}{0.4pt}
14703 \end_layout
14704
14705 \end_inset
14706
14707
14708 \end_layout
14709
14710 \begin_layout Section
14711 Table Customization
14712 \begin_inset LatexCommand index
14713 name "Table Customization"
14714
14715 \end_inset
14716
14717
14718 \begin_inset LatexCommand index
14719 name "Table ! Customization"
14720
14721 \end_inset
14722
14723
14724 \end_layout
14725
14726 \begin_layout Subsection
14727 Row Spacing
14728 \begin_inset LatexCommand label
14729 name "sub:Row-Spacing"
14730
14731 \end_inset
14732
14733
14734 \begin_inset LatexCommand index
14735 name "Table Customization ! Row Spacing"
14736
14737 \end_inset
14738
14739
14740 \end_layout
14741
14742 \begin_layout Standard
14743 You can add vertical space to table rows in the 
14744 \family sans
14745 Borders
14746 \family default
14747  tab of the table dialog.
14748  You find there three possibilities:
14749 \end_layout
14750
14751 \begin_layout Description
14752 Top\InsetSpace ~
14753 of\InsetSpace ~
14754 row will add space above the characters of the table row.
14755  If the table is a formal table
14756 \begin_inset Foot
14757 status collapsed
14758
14759 \begin_layout Standard
14760 Formal tables are explained in section\InsetSpace ~
14761
14762 \begin_inset LatexCommand ref
14763 reference "sec:Formal-Tables"
14764
14765 \end_inset
14766
14767 .
14768 \end_layout
14769
14770 \end_inset
14771
14772  LyX will insert as default 0.5\InsetSpace \thinspace{}
14773 em space.
14774  For normal tables the inserted space will unfortunately destroy the vertical
14775  table lines as in the following table:
14776 \begin_inset VSpace medskip
14777 \end_inset
14778
14779
14780 \newline
14781
14782 \begin_inset ERT
14783 status collapsed
14784
14785 \begin_layout Standard
14786
14787
14788 \backslash
14789 hspace*{0pt}
14790 \end_layout
14791
14792 \end_inset
14793
14794
14795 \hfill
14796
14797 \begin_inset Tabular
14798 <lyxtabular version="3" rows="3" columns="1">
14799 <features>
14800 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14801 <row topline="true">
14802 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14803 \begin_inset Text
14804
14805 \begin_layout Standard
14806 A
14807 \end_layout
14808
14809 \end_inset
14810 </cell>
14811 </row>
14812 <row topline="true" topspace="3mm">
14813 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14814 \begin_inset Text
14815
14816 \begin_layout Standard
14817 3\InsetSpace \thinspace{}
14818 mm space top of row
14819 \end_layout
14820
14821 \end_inset
14822 </cell>
14823 </row>
14824 <row topline="true" bottomline="true">
14825 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14826 \begin_inset Text
14827
14828 \begin_layout Standard
14829 C
14830 \end_layout
14831
14832 \end_inset
14833 </cell>
14834 </row>
14835 </lyxtabular>
14836
14837 \end_inset
14838
14839
14840 \hfill
14841
14842 \begin_inset ERT
14843 status collapsed
14844
14845 \begin_layout Standard
14846
14847
14848 \backslash
14849 hspace*{0pt}
14850 \end_layout
14851
14852 \end_inset
14853
14854
14855 \begin_inset VSpace medskip
14856 \end_inset
14857
14858
14859 \newline
14860 So inserting space to the top of row for normal tables is only useful when
14861  you don't have vertical lines.
14862 \end_layout
14863
14864 \begin_layout Description
14865 Bottom\InsetSpace ~
14866 of\InsetSpace ~
14867 row will add space below the characters of the table row.
14868  If the table is a formal table LyX will insert as default 0.5\InsetSpace \thinspace{}
14869 em space, for
14870  normal tables the default size is 2\InsetSpace \thinspace{}
14871 pt.
14872 \end_layout
14873
14874 \begin_layout Description
14875 Between\InsetSpace ~
14876 rows adds space between the current and the following row.
14877  If the table is a formal table LyX will insert as default 0.5\InsetSpace \thinspace{}
14878 em space.
14879  For normal tables the inserted space will unfortunately destroy the vertical
14880  table lines as in the following table:
14881 \begin_inset VSpace medskip
14882 \end_inset
14883
14884
14885 \newline
14886
14887 \begin_inset ERT
14888 status collapsed
14889
14890 \begin_layout Standard
14891
14892
14893 \backslash
14894 hspace*{0pt}
14895 \end_layout
14896
14897 \end_inset
14898
14899
14900 \hfill
14901
14902 \begin_inset Tabular
14903 <lyxtabular version="3" rows="3" columns="1">
14904 <features>
14905 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14906 <row topline="true">
14907 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14908 \begin_inset Text
14909
14910 \begin_layout Standard
14911 A
14912 \end_layout
14913
14914 \end_inset
14915 </cell>
14916 </row>
14917 <row topline="true" interlinespace="3mm">
14918 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14919 \begin_inset Text
14920
14921 \begin_layout Standard
14922 \begin_inset Formula $\downarrow$
14923 \end_inset
14924
14925  3\InsetSpace \thinspace{}
14926 mm space between row 
14927 \begin_inset Formula $\downarrow$
14928 \end_inset
14929
14930
14931 \end_layout
14932
14933 \end_inset
14934 </cell>
14935 </row>
14936 <row topline="true" bottomline="true">
14937 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14938 \begin_inset Text
14939
14940 \begin_layout Standard
14941 \begin_inset Formula $\uparrow$
14942 \end_inset
14943
14944  3\InsetSpace \thinspace{}
14945 mm space between row 
14946 \begin_inset Formula $\uparrow$
14947 \end_inset
14948
14949
14950 \end_layout
14951
14952 \end_inset
14953 </cell>
14954 </row>
14955 </lyxtabular>
14956
14957 \end_inset
14958
14959
14960 \hfill
14961
14962 \begin_inset ERT
14963 status collapsed
14964
14965 \begin_layout Standard
14966
14967
14968 \backslash
14969 hspace*{0pt}
14970 \end_layout
14971
14972 \end_inset
14973
14974
14975 \begin_inset VSpace medskip
14976 \end_inset
14977
14978
14979 \newline
14980 So inserting space between rows for normal tables is only useful when you
14981  don't have vertical lines.
14982 \end_layout
14983
14984 \begin_layout Standard
14985 \begin_inset VSpace bigskip
14986 \end_inset
14987
14988 When you want to add extra height to all cells of all tables, you can do
14989  this with the following preamble lines:
14990 \end_layout
14991
14992 \begin_layout Standard
14993
14994 \series bold
14995
14996 \backslash
14997 @ifundef\SpecialChar \textcompwordmark{}
14998 ined{extrarowheight}
14999 \newline
15000
15001 \begin_inset ERT
15002 status collapsed
15003
15004 \begin_layout Standard
15005
15006
15007 \backslash
15008 hphantom{ }
15009 \end_layout
15010
15011 \end_inset
15012
15013 {
15014 \backslash
15015 usepackage{array}}{}
15016 \newline
15017
15018 \backslash
15019 setlength{
15020 \backslash
15021 extrarowheight}{height}
15022 \end_layout
15023
15024 \begin_layout Standard
15025 But this has the disadvantage that the cell texts are no longer exactly
15026  vertically centered.
15027  (The package 
15028 \series bold
15029 array
15030 \series default
15031  will be loaded automatically by LyX when you use self defined table formats.
15032  To avoid that it is loaded twice the command 
15033 \series bold
15034
15035 \backslash
15036 @ifundef\SpecialChar \textcompwordmark{}
15037 ined
15038 \series default
15039  is used in the above command.)
15040 \end_layout
15041
15042 \begin_layout Subsection
15043 Special Cell Alignment
15044 \begin_inset LatexCommand index
15045 name "Table Customization ! Special Cell Alignment"
15046
15047 \end_inset
15048
15049
15050 \end_layout
15051
15052 \begin_layout Standard
15053 Sometimes it looks better when the cell entries of a column are aligned
15054  with a special character, e.\InsetSpace \thinspace{}
15055 g.\InsetSpace ~
15056 with the decimal separator as in Table\InsetSpace ~
15057
15058 \begin_inset LatexCommand ref
15059 reference "tab:Table-cells-of"
15060
15061 \end_inset
15062
15063 .
15064 \end_layout
15065
15066 \begin_layout Standard
15067 \begin_inset Float table
15068 placement h
15069 wide false
15070 sideways false
15071 status open
15072
15073 \begin_layout Standard
15074 \begin_inset Caption
15075
15076 \begin_layout Standard
15077 \begin_inset LatexCommand label
15078 name "tab:Table-cells-of"
15079
15080 \end_inset
15081
15082 Table cells of a column aligned with the decimal separator.
15083 \end_layout
15084
15085 \end_inset
15086
15087
15088 \end_layout
15089
15090 \begin_layout Standard
15091 \align center
15092 \begin_inset Tabular
15093 <lyxtabular version="3" rows="4" columns="2">
15094 <features>
15095 <column alignment="right" valignment="top" width="0">
15096 <column alignment="left" valignment="top" width="0" special="@{}l">
15097 <row bottomline="true">
15098 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15099 \begin_inset Text
15100
15101 \begin_layout Standard
15102 heading
15103 \end_layout
15104
15105 \end_inset
15106 </cell>
15107 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15108 \begin_inset Text
15109
15110 \begin_layout Standard
15111
15112 \end_layout
15113
15114 \end_inset
15115 </cell>
15116 </row>
15117 <row>
15118 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15119 \begin_inset Text
15120
15121 \begin_layout Standard
15122 12.
15123 \end_layout
15124
15125 \end_inset
15126 </cell>
15127 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15128 \begin_inset Text
15129
15130 \begin_layout Standard
15131 6
15132 \end_layout
15133
15134 \end_inset
15135 </cell>
15136 </row>
15137 <row>
15138 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15139 \begin_inset Text
15140
15141 \begin_layout Standard
15142 0.
15143 \end_layout
15144
15145 \end_inset
15146 </cell>
15147 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15148 \begin_inset Text
15149
15150 \begin_layout Standard
15151 68
15152 \end_layout
15153
15154 \end_inset
15155 </cell>
15156 </row>
15157 <row>
15158 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15159 \begin_inset Text
15160
15161 \begin_layout Standard
15162 -123.
15163 \end_layout
15164
15165 \end_inset
15166 </cell>
15167 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15168 \begin_inset Text
15169
15170 \begin_layout Standard
15171 0
15172 \end_layout
15173
15174 \end_inset
15175 </cell>
15176 </row>
15177 </lyxtabular>
15178
15179 \end_inset
15180
15181
15182 \end_layout
15183
15184 \end_inset
15185
15186
15187 \end_layout
15188
15189 \begin_layout Standard
15190 This table was created with a 4×2 table.
15191  The heading is a centered multicolumn.
15192  The first column is right-aligned and contains the digits before the decimal
15193  point and the decimal point.
15194  The second column is left aligned and contains the digits after the decimal
15195  point.
15196  To omit the space that is normally between two table columns, use the following
15197  LaTeX-argument for the second column:
15198 \end_layout
15199
15200 \begin_layout Standard
15201
15202 \series bold
15203 @{}l
15204 \end_layout
15205
15206 \begin_layout Standard
15207 Table\InsetSpace ~
15208
15209 \begin_inset LatexCommand ref
15210 reference "tab:Several-table-cell"
15211
15212 \end_inset
15213
15214  shows some example alignments.
15215  For the alignment with the relation sign, you must add the second smallest
15216  math-space at the beginning of the last column to get the correct space
15217  surrounding the relation sign.
15218 \end_layout
15219
15220 \begin_layout Standard
15221 \begin_inset Float table
15222 wide false
15223 sideways false
15224 status open
15225
15226 \begin_layout Standard
15227 \begin_inset Caption
15228
15229 \begin_layout Standard
15230 \begin_inset LatexCommand label
15231 name "tab:Several-table-cell"
15232
15233 \end_inset
15234
15235 Several table cell alignments.
15236 \end_layout
15237
15238 \end_inset
15239
15240
15241 \end_layout
15242
15243 \begin_layout Standard
15244 \align center
15245 \begin_inset Tabular
15246 <lyxtabular version="3" rows="4" columns="6">
15247 <features>
15248 <column alignment="right" valignment="top" width="0">
15249 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l">
15250 <column alignment="right" valignment="top" width="0">
15251 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l">
15252 <column alignment="right" valignment="top" width="0">
15253 <column alignment="left" valignment="top" width="0" special="@{}l">
15254 <row bottomline="true">
15255 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15256 \begin_inset Text
15257
15258 \begin_layout Standard
15259 units
15260 \end_layout
15261
15262 \end_inset
15263 </cell>
15264 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15265 \begin_inset Text
15266
15267 \begin_layout Standard
15268
15269 \end_layout
15270
15271 \end_inset
15272 </cell>
15273 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15274 \begin_inset Text
15275
15276 \begin_layout Standard
15277 exponents
15278 \end_layout
15279
15280 \end_inset
15281 </cell>
15282 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15283 \begin_inset Text
15284
15285 \begin_layout Standard
15286
15287 \end_layout
15288
15289 \end_inset
15290 </cell>
15291 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15292 \begin_inset Text
15293
15294 \begin_layout Standard
15295 relations
15296 \end_layout
15297
15298 \end_inset
15299 </cell>
15300 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15301 \begin_inset Text
15302
15303 \begin_layout Standard
15304
15305 \end_layout
15306
15307 \end_inset
15308 </cell>
15309 </row>
15310 <row>
15311 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15312 \begin_inset Text
15313
15314 \begin_layout Standard
15315 12×
15316 \end_layout
15317
15318 \end_inset
15319 </cell>
15320 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15321 \begin_inset Text
15322
15323 \begin_layout Standard
15324 24\InsetSpace \thinspace{}
15325 bottles
15326 \end_layout
15327
15328 \end_inset
15329 </cell>
15330 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15331 \begin_inset Text
15332
15333 \begin_layout Standard
15334 \begin_inset Formula $10\cdot$
15335 \end_inset
15336
15337
15338 \end_layout
15339
15340 \end_inset
15341 </cell>
15342 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15343 \begin_inset Text
15344
15345 \begin_layout Standard
15346 \begin_inset Formula $10^{\mbox{-}17}$
15347 \end_inset
15348
15349
15350 \end_layout
15351
15352 \end_inset
15353 </cell>
15354 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15355 \begin_inset Text
15356
15357 \begin_layout Standard
15358 \begin_inset Formula $\Gamma(t)\propto$
15359 \end_inset
15360
15361
15362 \end_layout
15363
15364 \end_inset
15365 </cell>
15366 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15367 \begin_inset Text
15368
15369 \begin_layout Standard
15370 \begin_inset Formula $\:\Upsilon(t)$
15371 \end_inset
15372
15373
15374 \end_layout
15375
15376 \end_inset
15377 </cell>
15378 </row>
15379 <row>
15380 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15381 \begin_inset Text
15382
15383 \begin_layout Standard
15384 1024×
15385 \end_layout
15386
15387 \end_inset
15388 </cell>
15389 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15390 \begin_inset Text
15391
15392 \begin_layout Standard
15393 768\InsetSpace \thinspace{}
15394 Pixels
15395 \end_layout
15396
15397 \end_inset
15398 </cell>
15399 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15400 \begin_inset Text
15401
15402 \begin_layout Standard
15403 \begin_inset Formula $5.78\cdot$
15404 \end_inset
15405
15406
15407 \end_layout
15408
15409 \end_inset
15410 </cell>
15411 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15412 \begin_inset Text
15413
15414 \begin_layout Standard
15415 \begin_inset Formula $10^{7}$
15416 \end_inset
15417
15418
15419 \end_layout
15420
15421 \end_inset
15422 </cell>
15423 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15424 \begin_inset Text
15425
15426 \begin_layout Standard
15427 \begin_inset Formula $A\ne$
15428 \end_inset
15429
15430
15431 \end_layout
15432
15433 \end_inset
15434 </cell>
15435 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15436 \begin_inset Text
15437
15438 \begin_layout Standard
15439 \begin_inset Formula $\: B_{\mathrm{red}}$
15440 \end_inset
15441
15442
15443 \end_layout
15444
15445 \end_inset
15446 </cell>
15447 </row>
15448 <row>
15449 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15450 \begin_inset Text
15451
15452 \begin_layout Standard
15453 32×
15454 \end_layout
15455
15456 \end_inset
15457 </cell>
15458 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15459 \begin_inset Text
15460
15461 \begin_layout Standard
15462 6\InsetSpace \thinspace{}
15463 cm
15464 \end_layout
15465
15466 \end_inset
15467 </cell>
15468 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15469 \begin_inset Text
15470
15471 \begin_layout Standard
15472 -
15473 \begin_inset Formula $33.5\cdot$
15474 \end_inset
15475
15476
15477 \end_layout
15478
15479 \end_inset
15480 </cell>
15481 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15482 \begin_inset Text
15483
15484 \begin_layout Standard
15485 \begin_inset Formula $10^{4}$
15486 \end_inset
15487
15488
15489 \end_layout
15490
15491 \end_inset
15492 </cell>
15493 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15494 \begin_inset Text
15495
15496 \begin_layout Standard
15497 \begin_inset Formula $\sin(\alpha)\ge$
15498 \end_inset
15499
15500
15501 \end_layout
15502
15503 \end_inset
15504 </cell>
15505 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15506 \begin_inset Text
15507
15508 \begin_layout Standard
15509 \begin_inset Formula $\:\sin(\beta)$
15510 \end_inset
15511
15512
15513 \end_layout
15514
15515 \end_inset
15516 </cell>
15517 </row>
15518 </lyxtabular>
15519
15520 \end_inset
15521
15522
15523 \end_layout
15524
15525 \end_inset
15526
15527
15528 \end_layout
15529
15530 \begin_layout Standard
15531 \begin_inset VSpace bigskip
15532 \end_inset
15533
15534 There is also the LaTeX-package 
15535 \series bold
15536 dcolumn
15537 \series default
15538
15539 \begin_inset LatexCommand index
15540 name "LaTeX-packages ! dcolumn"
15541
15542 \end_inset
15543
15544  that provides table cell alignments.
15545  But this unfortunately treats the cell entries as math and doesn't allow
15546  formulas in table cells: The first column of Table\InsetSpace ~
15547
15548 \begin_inset LatexCommand ref
15549 reference "tab:Several-table-cell"
15550
15551 \end_inset
15552
15553  will look with 
15554 \series bold
15555 dcolumn
15556 \series default
15557  like the first column in Table\InsetSpace ~
15558
15559 \begin_inset LatexCommand ref
15560 reference "tab:Alignments-when"
15561
15562 \end_inset
15563
15564  and only with some tricks like the expected.
15565  The alignment of the second and third column of Table\InsetSpace ~
15566
15567 \begin_inset LatexCommand ref
15568 reference "tab:Several-table-cell"
15569
15570 \end_inset
15571
15572  is not possible with 
15573 \series bold
15574 dcolumn
15575 \series default
15576 .
15577 \end_layout
15578
15579 \begin_layout Standard
15580 \begin_inset Float table
15581 placement h
15582 wide false
15583 sideways false
15584 status open
15585
15586 \begin_layout Standard
15587 \begin_inset Caption
15588
15589 \begin_layout Standard
15590 \begin_inset LatexCommand label
15591 name "tab:Alignments-when"
15592
15593 \end_inset
15594
15595 Alignments when LaTeX-package dcolumn is used.
15596  For all column alignments tricks have to be used to get the output.
15597 \end_layout
15598
15599 \end_inset
15600
15601
15602 \end_layout
15603
15604 \begin_layout Standard
15605 \align center
15606 \begin_inset Tabular
15607 <lyxtabular version="3" rows="4" columns="3">
15608 <features>
15609 <column alignment="center" valignment="top" rightline="true" width="0" special="D{x}{\times}{-1}">
15610 <column alignment="center" valignment="top" rightline="true" width="0" special="D{x}{\times}{4.9}">
15611 <column alignment="center" valignment="top" width="0" special="D{~}{\,}{9.7}">
15612 <row bottomline="true">
15613 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15614 \begin_inset Text
15615
15616 \begin_layout Standard
15617 units
15618 \end_layout
15619
15620 \end_inset
15621 </cell>
15622 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15623 \begin_inset Text
15624
15625 \begin_layout Standard
15626 units
15627 \end_layout
15628
15629 \end_inset
15630 </cell>
15631 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15632 \begin_inset Text
15633
15634 \begin_layout Standard
15635 units
15636 \end_layout
15637
15638 \end_inset
15639 </cell>
15640 </row>
15641 <row>
15642 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15643 \begin_inset Text
15644
15645 \begin_layout Standard
15646 12x24\InsetSpace \thinspace{}
15647 bottles
15648 \end_layout
15649
15650 \end_inset
15651 </cell>
15652 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15653 \begin_inset Text
15654
15655 \begin_layout Standard
15656 12x24\InsetSpace \thinspace{}
15657
15658 \begin_inset Formula $\mbox{bottles}$
15659 \end_inset
15660
15661
15662 \end_layout
15663
15664 \end_inset
15665 </cell>
15666 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15667 \begin_inset Text
15668
15669 \begin_layout Standard
15670 12
15671 \begin_inset ERT
15672 status collapsed
15673
15674 \begin_layout Standard
15675
15676
15677 \backslash
15678 times 
15679 \end_layout
15680
15681 \end_inset
15682
15683 24~
15684 \begin_inset Formula $\mbox{bottles}$
15685 \end_inset
15686
15687
15688 \end_layout
15689
15690 \end_inset
15691 </cell>
15692 </row>
15693 <row>
15694 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15695 \begin_inset Text
15696
15697 \begin_layout Standard
15698 1024x768\InsetSpace \thinspace{}
15699 Pixels
15700 \end_layout
15701
15702 \end_inset
15703 </cell>
15704 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15705 \begin_inset Text
15706
15707 \begin_layout Standard
15708 1024x768\InsetSpace \thinspace{}
15709
15710 \begin_inset Formula $\mbox{Pixels}$
15711 \end_inset
15712
15713
15714 \end_layout
15715
15716 \end_inset
15717 </cell>
15718 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15719 \begin_inset Text
15720
15721 \begin_layout Standard
15722 1024
15723 \begin_inset ERT
15724 status collapsed
15725
15726 \begin_layout Standard
15727
15728
15729 \backslash
15730 times 
15731 \end_layout
15732
15733 \end_inset
15734
15735 768~
15736 \begin_inset Formula $\mbox{Pixels}$
15737 \end_inset
15738
15739
15740 \end_layout
15741
15742 \end_inset
15743 </cell>
15744 </row>
15745 <row>
15746 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15747 \begin_inset Text
15748
15749 \begin_layout Standard
15750 32x6\InsetSpace \thinspace{}
15751 cm
15752 \end_layout
15753
15754 \end_inset
15755 </cell>
15756 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15757 \begin_inset Text
15758
15759 \begin_layout Standard
15760 32x6\InsetSpace \thinspace{}
15761
15762 \begin_inset Formula $\mbox{cm}$
15763 \end_inset
15764
15765
15766 \end_layout
15767
15768 \end_inset
15769 </cell>
15770 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15771 \begin_inset Text
15772
15773 \begin_layout Standard
15774 32
15775 \begin_inset ERT
15776 status collapsed
15777
15778 \begin_layout Standard
15779
15780
15781 \backslash
15782 times 
15783 \end_layout
15784
15785 \end_inset
15786
15787 6~
15788 \begin_inset Formula $\mbox{cm}$
15789 \end_inset
15790
15791
15792 \end_layout
15793
15794 \end_inset
15795 </cell>
15796 </row>
15797 </lyxtabular>
15798
15799 \end_inset
15800
15801
15802 \end_layout
15803
15804 \end_inset
15805
15806
15807 \end_layout
15808
15809 \begin_layout Subsection
15810 Customized Cell/Column Format
15811 \begin_inset LatexCommand label
15812 name "sub:Customized-Format"
15813
15814 \end_inset
15815
15816
15817 \begin_inset LatexCommand index
15818 name "Table Customization ! Cell/Column Format"
15819
15820 \end_inset
15821
15822
15823 \end_layout
15824
15825 \begin_layout Standard
15826 Calculating the needed width for spanned columns like in section\InsetSpace ~
15827
15828 \begin_inset LatexCommand ref
15829 reference "sub:Multicolumn-Calculations"
15830
15831 \end_inset
15832
15833  is very annoying if you have several tables with multicolumn cells.
15834  To make life easier, you can define a cell/column format in the preamble,
15835  so that it can be used in all tables of the document.
15836  The format is defined with the command
15837 \end_layout
15838
15839 \begin_layout Standard
15840
15841 \series bold
15842
15843 \backslash
15844 newcolumntype{name of format}[number of arguments]{commands}
15845 \end_layout
15846
15847 \begin_layout Standard
15848 The format name may only consist of one letter.
15849  The letters 
15850 \emph on
15851 b
15852 \emph default
15853
15854 \emph on
15855 c
15856 \emph default
15857
15858 \emph on
15859 l
15860 \emph default
15861
15862 \emph on
15863 m
15864 \emph default
15865
15866 \emph on
15867 p
15868 \emph default
15869  and 
15870 \emph on
15871 r
15872 \emph default
15873  are predefined and cannot be used.
15874  But all letters are allowed as capitals.
15875 \end_layout
15876
15877 \begin_layout Standard
15878 \begin_inset VSpace medskip
15879 \end_inset
15880
15881
15882 \end_layout
15883
15884 \begin_layout Standard
15885 For vertically and horizontally centered multicolumn cells with a fixed
15886  width you can define the cell format
15887 \end_layout
15888
15889 \begin_layout Standard
15890
15891 \series bold
15892
15893 \backslash
15894 newcolumntype{M}[1]{>{
15895 \backslash
15896 centering
15897 \backslash
15898 hspace{0pt}}m{#1}}
15899 \end_layout
15900
15901 \begin_layout Standard
15902 where 
15903 \series bold
15904
15905 \backslash
15906 hspace{0pt}
15907 \series default
15908  avoids the problem of hyphenating the first word, as described in section\InsetSpace ~
15909
15910 \begin_inset LatexCommand ref
15911 reference "sub:Multiple-Lines-in"
15912
15913 \end_inset
15914
15915 .
15916  Now you can simply enter
15917 \end_layout
15918
15919 \begin_layout Standard
15920
15921 \series bold
15922 M{width}
15923 \end_layout
15924
15925 \begin_layout Standard
15926 as LaTeX-argument in the table dialog to create a multicolumn.
15927 \end_layout
15928
15929 \begin_layout Standard
15930 \begin_inset VSpace bigskip
15931 \end_inset
15932
15933
15934 \end_layout
15935
15936 \begin_layout Standard
15937 For cells spanned by a multicolumn cell, you can define the format
15938 \end_layout
15939
15940 \begin_layout Standard
15941
15942 \series bold
15943
15944 \backslash
15945 newcolumntype{S}[2]{>{
15946 \backslash
15947 centering
15948 \backslash
15949 hspace{0pt}}
15950 \newline
15951
15952 \begin_inset ERT
15953 status collapsed
15954
15955 \begin_layout Standard
15956
15957
15958 \backslash
15959 phantom{
15960 \end_layout
15961
15962 \end_inset
15963
15964
15965 \backslash
15966 newcolumntype{S}[2]
15967 \begin_inset ERT
15968 status collapsed
15969
15970 \begin_layout Standard
15971
15972 }
15973 \end_layout
15974
15975 \end_inset
15976
15977 m{(#1+(2
15978 \backslash
15979 tabcolsep+
15980 \backslash
15981 arrayrulewidth)*(1-#2))/#2}}
15982 \end_layout
15983
15984 \begin_layout Standard
15985 This format uses equation 
15986 \begin_inset LatexCommand eqref
15987 reference "eq:Wgn"
15988
15989 \end_inset
15990
15991  to calculate the needed width so that each spanned cell has the same width.
15992 \end_layout
15993
15994 \begin_layout Standard
15995 You can now enter
15996 \end_layout
15997
15998 \begin_layout Standard
15999
16000 \series bold
16001 S{width of multicolumn cell}{number of spanned columns}
16002 \end_layout
16003
16004 \begin_layout Standard
16005 as LaTeX-argument of the column.
16006 \end_layout
16007
16008 \begin_layout Standard
16009 \begin_inset VSpace bigskip
16010 \end_inset
16011
16012
16013 \end_layout
16014
16015 \begin_layout Standard
16016 For colored columns, you can define
16017 \end_layout
16018
16019 \begin_layout Standard
16020
16021 \series bold
16022
16023 \backslash
16024 newcolumntype{K}[1]{>{
16025 \backslash
16026 columncolor{#1}
16027 \backslash
16028 hspace{0pt}}c}
16029 \end_layout
16030
16031 \begin_layout Standard
16032 The 
16033 \begin_inset Quotes eld
16034 \end_inset
16035
16036 c
16037 \begin_inset Quotes erd
16038 \end_inset
16039
16040  at the end creates a column with a flexible width whose text is horizontally
16041  centered.
16042  You can now enter
16043 \end_layout
16044
16045 \begin_layout Standard
16046
16047 \series bold
16048 K{color name}
16049 \end_layout
16050
16051 \begin_layout Standard
16052 as LaTeX-argument.
16053 \end_layout
16054
16055 \begin_layout Standard
16056 \begin_inset VSpace bigskip
16057 \end_inset
16058
16059
16060 \end_layout
16061
16062 \begin_layout Standard
16063 To create Table\InsetSpace ~
16064
16065 \begin_inset LatexCommand ref
16066 reference "tab:Table-using-user-defined"
16067
16068 \end_inset
16069
16070  use the LaTeX-arguments
16071 \end_layout
16072
16073 \begin_layout Standard
16074
16075 \series bold
16076 M{2.5cm}
16077 \end_layout
16078
16079 \begin_layout Standard
16080 for the first column and the multicolumn,
16081 \end_layout
16082
16083 \begin_layout Standard
16084
16085 \series bold
16086 K{red}
16087 \end_layout
16088
16089 \begin_layout Standard
16090 for the the last column, and
16091 \end_layout
16092
16093 \begin_layout Standard
16094
16095 \series bold
16096 S{2.5cm}{2}
16097 \end_layout
16098
16099 \begin_layout Standard
16100 for the cells in the second column.
16101 \end_layout
16102
16103 \begin_layout Standard
16104 \begin_inset Float table
16105 placement h
16106 wide false
16107 sideways false
16108 status open
16109
16110 \begin_layout Standard
16111 \begin_inset Caption
16112
16113 \begin_layout Standard
16114 \begin_inset LatexCommand label
16115 name "tab:Table-using-user-defined"
16116
16117 \end_inset
16118
16119 Table using user-defined table formats
16120 \end_layout
16121
16122 \end_inset
16123
16124
16125 \end_layout
16126
16127 \begin_layout Standard
16128 \align center
16129 \begin_inset Tabular
16130 <lyxtabular version="3" rows="3" columns="4">
16131 <features>
16132 <column alignment="center" valignment="middle" leftline="true" width="2.5cm" special="M{2.5cm}">
16133 <column alignment="center" valignment="middle" leftline="true" width="0" special="S{2.5cm}{2}">
16134 <column alignment="center" valignment="middle" leftline="true" width="0">
16135 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0" special="K{red}">
16136 <row topline="true">
16137 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16138 \begin_inset Text
16139
16140 \begin_layout Standard
16141 verylongtablecellword
16142 \end_layout
16143
16144 \end_inset
16145 </cell>
16146 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none" special="M{2.5cm}">
16147 \begin_inset Text
16148
16149 \begin_layout Standard
16150 multiple lines multicolumn
16151 \end_layout
16152
16153 \end_inset
16154 </cell>
16155 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16156 \begin_inset Text
16157
16158 \begin_layout Standard
16159
16160 \end_layout
16161
16162 \end_inset
16163 </cell>
16164 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16165 \begin_inset Text
16166
16167 \begin_layout Standard
16168 c
16169 \end_layout
16170
16171 \end_inset
16172 </cell>
16173 </row>
16174 <row topline="true">
16175 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16176 \begin_inset Text
16177
16178 \begin_layout Standard
16179 d
16180 \end_layout
16181
16182 \end_inset
16183 </cell>
16184 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16185 \begin_inset Text
16186
16187 \begin_layout Standard
16188 e
16189 \end_layout
16190
16191 \end_inset
16192 </cell>
16193 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16194 \begin_inset Text
16195
16196 \begin_layout Standard
16197 f
16198 \end_layout
16199
16200 \end_inset
16201 </cell>
16202 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16203 \begin_inset Text
16204
16205 \begin_layout Standard
16206 g
16207 \end_layout
16208
16209 \end_inset
16210 </cell>
16211 </row>
16212 <row topline="true" bottomline="true">
16213 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16214 \begin_inset Text
16215
16216 \begin_layout Standard
16217 h
16218 \end_layout
16219
16220 \end_inset
16221 </cell>
16222 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16223 \begin_inset Text
16224
16225 \begin_layout Standard
16226 i
16227 \end_layout
16228
16229 \end_inset
16230 </cell>
16231 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16232 \begin_inset Text
16233
16234 \begin_layout Standard
16235 j
16236 \end_layout
16237
16238 \end_inset
16239 </cell>
16240 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16241 \begin_inset Text
16242
16243 \begin_layout Standard
16244 k
16245 \end_layout
16246
16247 \end_inset
16248 </cell>
16249 </row>
16250 </lyxtabular>
16251
16252 \end_inset
16253
16254
16255 \end_layout
16256
16257 \end_inset
16258
16259
16260 \end_layout
16261
16262 \begin_layout Subsection
16263 Line Thickness
16264 \begin_inset LatexCommand label
16265 name "sub:Line-Thickness"
16266
16267 \end_inset
16268
16269
16270 \begin_inset LatexCommand index
16271 name "Table Customization ! Line Thickness"
16272
16273 \end_inset
16274
16275
16276 \end_layout
16277
16278 \begin_layout Standard
16279 The line thickness for all lines in a table can be adjusted with the length
16280  
16281 \series bold
16282
16283 \backslash
16284 arrayrulewidth
16285 \series default
16286 .
16287  To set for example a line thickness of 1.5\InsetSpace \thinspace{}
16288 pt, like in Table\InsetSpace ~
16289
16290 \begin_inset LatexCommand ref
16291 reference "tab:Table-with-1.5"
16292
16293 \end_inset
16294
16295 , insert the command
16296 \end_layout
16297
16298 \begin_layout Standard
16299
16300 \series bold
16301
16302 \backslash
16303 setlength{
16304 \backslash
16305 arrayrulewidth}{1.5pt}
16306 \end_layout
16307
16308 \begin_layout Standard
16309 in ERT before the table or table float.
16310  The changed thickness is valid for all following tables.
16311  To use the default value again, set 
16312 \series bold
16313
16314 \backslash
16315 arrayrulewidth
16316 \series default
16317  to 0.4\InsetSpace \thinspace{}
16318 pt in ERT behind the table or table float.
16319 \end_layout
16320
16321 \begin_layout Standard
16322 \begin_inset ERT
16323 status collapsed
16324
16325 \begin_layout Standard
16326
16327
16328 \backslash
16329 setlength{
16330 \backslash
16331 arrayrulewidth}{1.5pt}
16332 \end_layout
16333
16334 \end_inset
16335
16336
16337 \begin_inset Float table
16338 wide false
16339 sideways false
16340 status open
16341
16342 \begin_layout Standard
16343 \begin_inset Caption
16344
16345 \begin_layout Standard
16346 \begin_inset LatexCommand label
16347 name "tab:Table-with-1.5"
16348
16349 \end_inset
16350
16351 Table with 1.5\InsetSpace \thinspace{}
16352 pt thick lines
16353 \end_layout
16354
16355 \end_inset
16356
16357
16358 \end_layout
16359
16360 \begin_layout Standard
16361 \align center
16362 \begin_inset Tabular
16363 <lyxtabular version="3" rows="3" columns="3">
16364 <features>
16365 <column alignment="center" valignment="top" leftline="true" width="0">
16366 <column alignment="center" valignment="top" leftline="true" width="0">
16367 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16368 <row topline="true">
16369 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16370 \begin_inset Text
16371
16372 \begin_layout Standard
16373 sd
16374 \end_layout
16375
16376 \end_inset
16377 </cell>
16378 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16379 \begin_inset Text
16380
16381 \begin_layout Standard
16382
16383 \end_layout
16384
16385 \end_inset
16386 </cell>
16387 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16388 \begin_inset Text
16389
16390 \begin_layout Standard
16391
16392 \end_layout
16393
16394 \end_inset
16395 </cell>
16396 </row>
16397 <row topline="true">
16398 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16399 \begin_inset Text
16400
16401 \begin_layout Standard
16402
16403 \end_layout
16404
16405 \end_inset
16406 </cell>
16407 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16408 \begin_inset Text
16409
16410 \begin_layout Standard
16411 sd
16412 \end_layout
16413
16414 \end_inset
16415 </cell>
16416 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16417 \begin_inset Text
16418
16419 \begin_layout Standard
16420
16421 \end_layout
16422
16423 \end_inset
16424 </cell>
16425 </row>
16426 <row topline="true" bottomline="true">
16427 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16428 \begin_inset Text
16429
16430 \begin_layout Standard
16431
16432 \end_layout
16433
16434 \end_inset
16435 </cell>
16436 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16437 \begin_inset Text
16438
16439 \begin_layout Standard
16440
16441 \end_layout
16442
16443 \end_inset
16444 </cell>
16445 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16446 \begin_inset Text
16447
16448 \begin_layout Standard
16449 sd
16450 \end_layout
16451
16452 \end_inset
16453 </cell>
16454 </row>
16455 </lyxtabular>
16456
16457 \end_inset
16458
16459
16460 \end_layout
16461
16462 \end_inset
16463
16464
16465 \begin_inset ERT
16466 status collapsed
16467
16468 \begin_layout Standard
16469
16470
16471 \backslash
16472 setlength{
16473 \backslash
16474 arrayrulewidth}{0.4pt}
16475 \end_layout
16476
16477 \end_inset
16478
16479
16480 \end_layout
16481
16482 \begin_layout Standard
16483 \begin_inset VSpace bigskip
16484 \end_inset
16485
16486 To set the line thickness to 1.5\InsetSpace \thinspace{}
16487 pt only for horizontal lines, like in Table\InsetSpace ~
16488
16489 \begin_inset LatexCommand ref
16490 reference "tab:Table-with-horizontal"
16491
16492 \end_inset
16493
16494 , insert these commands in ERT before the table or table float:
16495 \end_layout
16496
16497 \begin_layout Standard
16498
16499 \series bold
16500
16501 \backslash
16502 let
16503 \backslash
16504 myHline
16505 \backslash
16506 hline
16507 \newline
16508
16509 \backslash
16510 renewcommand{
16511 \backslash
16512 hline}
16513 \newline
16514  {
16515 \backslash
16516 noalign{
16517 \backslash
16518 global
16519 \backslash
16520 arrayrulewidth 1.5pt}
16521 \newline
16522  
16523 \backslash
16524 myHline
16525 \backslash
16526 noalign{
16527 \backslash
16528 global
16529 \backslash
16530 arrayrulewidth 0.4pt}}
16531 \end_layout
16532
16533 \begin_layout Standard
16534 To return to the default line thickness, insert this command in ERT behind
16535  the table or table float:
16536 \end_layout
16537
16538 \begin_layout Standard
16539
16540 \series bold
16541
16542 \backslash
16543 renewcommand{
16544 \backslash
16545 hline}{
16546 \backslash
16547 myHline}
16548 \end_layout
16549
16550 \begin_layout Standard
16551 \begin_inset ERT
16552 status collapsed
16553
16554 \begin_layout Standard
16555
16556
16557 \backslash
16558 let
16559 \backslash
16560 myHline
16561 \backslash
16562 hline
16563 \end_layout
16564
16565 \begin_layout Standard
16566
16567
16568 \backslash
16569 renewcommand{
16570 \backslash
16571 hline}
16572 \end_layout
16573
16574 \begin_layout Standard
16575
16576  {
16577 \backslash
16578 noalign{
16579 \backslash
16580 global
16581 \backslash
16582 arrayrulewidth 1.5pt}
16583 \end_layout
16584
16585 \begin_layout Standard
16586
16587   
16588 \backslash
16589 myHline
16590 \backslash
16591 noalign{
16592 \backslash
16593 global
16594 \backslash
16595 arrayrulewidth 0.4pt}}
16596 \end_layout
16597
16598 \end_inset
16599
16600
16601 \begin_inset Float table
16602 wide false
16603 sideways false
16604 status open
16605
16606 \begin_layout Standard
16607 \begin_inset Caption
16608
16609 \begin_layout Standard
16610 \begin_inset LatexCommand label
16611 name "tab:Table-with-horizontal"
16612
16613 \end_inset
16614
16615 Table with 1.5\InsetSpace \thinspace{}
16616 pt thick horizontal lines
16617 \end_layout
16618
16619 \end_inset
16620
16621
16622 \end_layout
16623
16624 \begin_layout Standard
16625 \align center
16626 \begin_inset Tabular
16627 <lyxtabular version="3" rows="3" columns="3">
16628 <features>
16629 <column alignment="center" valignment="top" leftline="true" width="0">
16630 <column alignment="center" valignment="top" leftline="true" width="0">
16631 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16632 <row topline="true">
16633 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16634 \begin_inset Text
16635
16636 \begin_layout Standard
16637 sd
16638 \end_layout
16639
16640 \end_inset
16641 </cell>
16642 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16643 \begin_inset Text
16644
16645 \begin_layout Standard
16646
16647 \end_layout
16648
16649 \end_inset
16650 </cell>
16651 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16652 \begin_inset Text
16653
16654 \begin_layout Standard
16655
16656 \end_layout
16657
16658 \end_inset
16659 </cell>
16660 </row>
16661 <row topline="true">
16662 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16663 \begin_inset Text
16664
16665 \begin_layout Standard
16666
16667 \end_layout
16668
16669 \end_inset
16670 </cell>
16671 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16672 \begin_inset Text
16673
16674 \begin_layout Standard
16675 sd
16676 \end_layout
16677
16678 \end_inset
16679 </cell>
16680 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16681 \begin_inset Text
16682
16683 \begin_layout Standard
16684
16685 \end_layout
16686
16687 \end_inset
16688 </cell>
16689 </row>
16690 <row topline="true" bottomline="true">
16691 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16692 \begin_inset Text
16693
16694 \begin_layout Standard
16695
16696 \end_layout
16697
16698 \end_inset
16699 </cell>
16700 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16701 \begin_inset Text
16702
16703 \begin_layout Standard
16704
16705 \end_layout
16706
16707 \end_inset
16708 </cell>
16709 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16710 \begin_inset Text
16711
16712 \begin_layout Standard
16713 sd
16714 \end_layout
16715
16716 \end_inset
16717 </cell>
16718 </row>
16719 </lyxtabular>
16720
16721 \end_inset
16722
16723
16724 \end_layout
16725
16726 \end_inset
16727
16728
16729 \begin_inset ERT
16730 status collapsed
16731
16732 \begin_layout Standard
16733
16734
16735 \backslash
16736 renewcommand{
16737 \backslash
16738 hline}{
16739 \backslash
16740 myHline}
16741 \end_layout
16742
16743 \end_inset
16744
16745
16746 \end_layout
16747
16748 \begin_layout Standard
16749 \begin_inset VSpace bigskip
16750 \end_inset
16751
16752 To set the line thickness to 1.5\InsetSpace \thinspace{}
16753 pt only for vertical lines, create the following
16754  column format in the document preamble, according to the description in
16755  section\InsetSpace ~
16756
16757 \begin_inset LatexCommand ref
16758 reference "sub:Customized-Format"
16759
16760 \end_inset
16761
16762 :
16763 \end_layout
16764
16765 \begin_layout Standard
16766
16767 \series bold
16768
16769 \backslash
16770 newcolumntype{V}{!{
16771 \backslash
16772 vrule width 1.5pt}}
16773 \end_layout
16774
16775 \begin_layout Standard
16776 For Table\InsetSpace ~
16777
16778 \begin_inset LatexCommand ref
16779 reference "tab:Table-with-vertical"
16780
16781 \end_inset
16782
16783  the LaTeX-argument
16784 \end_layout
16785
16786 \begin_layout Standard
16787
16788 \series bold
16789 VcV
16790 \end_layout
16791
16792 \begin_layout Standard
16793 was used for the last column and
16794 \end_layout
16795
16796 \begin_layout Standard
16797
16798 \series bold
16799 Vc
16800 \end_layout
16801
16802 \begin_layout Standard
16803 for the other columns.
16804 \end_layout
16805
16806 \begin_layout Standard
16807 \begin_inset Float table
16808 wide false
16809 sideways false
16810 status open
16811
16812 \begin_layout Standard
16813 \begin_inset Caption
16814
16815 \begin_layout Standard
16816 \begin_inset LatexCommand label
16817 name "tab:Table-with-vertical"
16818
16819 \end_inset
16820
16821 Table with 1.5\InsetSpace \thinspace{}
16822 pt thick vertical lines
16823 \end_layout
16824
16825 \end_inset
16826
16827
16828 \end_layout
16829
16830 \begin_layout Standard
16831 \align center
16832 \begin_inset Tabular
16833 <lyxtabular version="3" rows="3" columns="3">
16834 <features>
16835 <column alignment="center" valignment="top" width="0" special="Vc">
16836 <column alignment="center" valignment="top" width="0" special="Vc">
16837 <column alignment="center" valignment="top" width="0" special="VcV">
16838 <row topline="true">
16839 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16840 \begin_inset Text
16841
16842 \begin_layout Standard
16843 sd
16844 \end_layout
16845
16846 \end_inset
16847 </cell>
16848 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16849 \begin_inset Text
16850
16851 \begin_layout Standard
16852
16853 \end_layout
16854
16855 \end_inset
16856 </cell>
16857 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16858 \begin_inset Text
16859
16860 \begin_layout Standard
16861
16862 \end_layout
16863
16864 \end_inset
16865 </cell>
16866 </row>
16867 <row topline="true">
16868 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16869 \begin_inset Text
16870
16871 \begin_layout Standard
16872
16873 \end_layout
16874
16875 \end_inset
16876 </cell>
16877 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16878 \begin_inset Text
16879
16880 \begin_layout Standard
16881 sd
16882 \end_layout
16883
16884 \end_inset
16885 </cell>
16886 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16887 \begin_inset Text
16888
16889 \begin_layout Standard
16890
16891 \end_layout
16892
16893 \end_inset
16894 </cell>
16895 </row>
16896 <row topline="true" bottomline="true">
16897 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16898 \begin_inset Text
16899
16900 \begin_layout Standard
16901
16902 \end_layout
16903
16904 \end_inset
16905 </cell>
16906 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16907 \begin_inset Text
16908
16909 \begin_layout Standard
16910
16911 \end_layout
16912
16913 \end_inset
16914 </cell>
16915 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16916 \begin_inset Text
16917
16918 \begin_layout Standard
16919 sd
16920 \end_layout
16921
16922 \end_inset
16923 </cell>
16924 </row>
16925 </lyxtabular>
16926
16927 \end_inset
16928
16929
16930 \end_layout
16931
16932 \end_inset
16933
16934
16935 \end_layout
16936
16937 \begin_layout Subsection
16938 Dashed Lines
16939 \begin_inset LatexCommand index
16940 name "Table Customization ! Dashed Lines"
16941
16942 \end_inset
16943
16944
16945 \end_layout
16946
16947 \begin_layout Standard
16948 \begin_inset ERT
16949 status collapsed
16950
16951 \begin_layout Standard
16952
16953
16954 \backslash
16955 ifarydshln
16956 \end_layout
16957
16958 \end_inset
16959
16960
16961 \begin_inset Note Note
16962 status open
16963
16964 \begin_layout Standard
16965 The following section will only be displayed when you have the LaTeX-package
16966  
16967 \series bold
16968 arydshln
16969 \series default
16970  is installed.
16971 \end_layout
16972
16973 \end_inset
16974
16975
16976 \end_layout
16977
16978 \begin_layout Standard
16979 \begin_inset Float table
16980 placement H
16981 wide false
16982 sideways false
16983 status open
16984
16985 \begin_layout Standard
16986 \begin_inset Caption
16987
16988 \begin_layout Standard
16989 \begin_inset LatexCommand label
16990 name "tab:Table-with-dashed"
16991
16992 \end_inset
16993
16994 Table with dashed lines
16995 \end_layout
16996
16997 \end_inset
16998
16999
17000 \end_layout
17001
17002 \begin_layout Standard
17003 \align center
17004 \begin_inset Tabular
17005 <lyxtabular version="3" rows="5" columns="5">
17006 <features>
17007 <column alignment="center" valignment="top" leftline="true" width="0">
17008 <column alignment="center" valignment="top" leftline="true" width="0">
17009 <column alignment="center" valignment="top" width="0" special=":c">
17010 <column alignment="center" valignment="top" leftline="true" width="0">
17011 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
17012 <row topline="true" bottomline="true">
17013 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17014 \begin_inset Text
17015
17016 \begin_layout Standard
17017 a
17018 \end_layout
17019
17020 \end_inset
17021 </cell>
17022 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17023 \begin_inset Text
17024
17025 \begin_layout Standard
17026 b
17027 \end_layout
17028
17029 \end_inset
17030 </cell>
17031 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17032 \begin_inset Text
17033
17034 \begin_layout Standard
17035 c
17036 \end_layout
17037
17038 \end_inset
17039 </cell>
17040 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17041 \begin_inset Text
17042
17043 \begin_layout Standard
17044 d
17045 \end_layout
17046
17047 \end_inset
17048 </cell>
17049 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17050 \begin_inset Text
17051
17052 \begin_layout Standard
17053 e
17054 \end_layout
17055
17056 \end_inset
17057 </cell>
17058 </row>
17059 <row topline="true">
17060 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17061 \begin_inset Text
17062
17063 \begin_layout Standard
17064 f
17065 \end_layout
17066
17067 \end_inset
17068 </cell>
17069 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17070 \begin_inset Text
17071
17072 \begin_layout Standard
17073 g
17074 \end_layout
17075
17076 \end_inset
17077 </cell>
17078 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17079 \begin_inset Text
17080
17081 \begin_layout Standard
17082 h
17083 \end_layout
17084
17085 \end_inset
17086 </cell>
17087 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17088 \begin_inset Text
17089
17090 \begin_layout Standard
17091 i
17092 \end_layout
17093
17094 \end_inset
17095 </cell>
17096 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17097 \begin_inset Text
17098
17099 \begin_layout Standard
17100 j
17101 \end_layout
17102
17103 \end_inset
17104 </cell>
17105 </row>
17106 <row>
17107 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17108 \begin_inset Text
17109
17110 \begin_layout Standard
17111 \begin_inset ERT
17112 status collapsed
17113
17114 \begin_layout Standard
17115
17116
17117 \backslash
17118 hdashline 
17119 \end_layout
17120
17121 \end_inset
17122
17123 k
17124 \end_layout
17125
17126 \end_inset
17127 </cell>
17128 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17129 \begin_inset Text
17130
17131 \begin_layout Standard
17132 l
17133 \end_layout
17134
17135 \end_inset
17136 </cell>
17137 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17138 \begin_inset Text
17139
17140 \begin_layout Standard
17141 m
17142 \end_layout
17143
17144 \end_inset
17145 </cell>
17146 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17147 \begin_inset Text
17148
17149 \begin_layout Standard
17150 n
17151 \end_layout
17152
17153 \end_inset
17154 </cell>
17155 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17156 \begin_inset Text
17157
17158 \begin_layout Standard
17159 o
17160 \end_layout
17161
17162 \end_inset
17163 </cell>
17164 </row>
17165 <row topline="true">
17166 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17167 \begin_inset Text
17168
17169 \begin_layout Standard
17170 \begin_inset ERT
17171 status collapsed
17172
17173 \begin_layout Standard
17174
17175
17176 \backslash
17177 cdashline{4-5}
17178 \end_layout
17179
17180 \end_inset
17181
17182 p
17183 \end_layout
17184
17185 \end_inset
17186 </cell>
17187 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17188 \begin_inset Text
17189
17190 \begin_layout Standard
17191 q
17192 \end_layout
17193
17194 \end_inset
17195 </cell>
17196 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="c:">
17197 \begin_inset Text
17198
17199 \begin_layout Standard
17200 r
17201 \end_layout
17202
17203 \end_inset
17204 </cell>
17205 <cell multicolumn="1" alignment="center" valignment="top" rightline="true" usebox="none" special="c:">
17206 \begin_inset Text
17207
17208 \begin_layout Standard
17209 s
17210 \end_layout
17211
17212 \end_inset
17213 </cell>
17214 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17215 \begin_inset Text
17216
17217 \begin_layout Standard
17218
17219 \end_layout
17220
17221 \end_inset
17222 </cell>
17223 </row>
17224 <row topline="true" bottomline="true">
17225 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17226 \begin_inset Text
17227
17228 \begin_layout Standard
17229 t
17230 \end_layout
17231
17232 \end_inset
17233 </cell>
17234 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17235 \begin_inset Text
17236
17237 \begin_layout Standard
17238 u
17239 \end_layout
17240
17241 \end_inset
17242 </cell>
17243 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17244 \begin_inset Text
17245
17246 \begin_layout Standard
17247 v
17248 \end_layout
17249
17250 \end_inset
17251 </cell>
17252 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17253 \begin_inset Text
17254
17255 \begin_layout Standard
17256 w
17257 \end_layout
17258
17259 \end_inset
17260 </cell>
17261 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17262 \begin_inset Text
17263
17264 \begin_layout Standard
17265 x
17266 \end_layout
17267
17268 \end_inset
17269 </cell>
17270 </row>
17271 </lyxtabular>
17272
17273 \end_inset
17274
17275
17276 \end_layout
17277
17278 \end_inset
17279
17280
17281 \end_layout
17282
17283 \begin_layout Standard
17284 LyX doesn't natively support dashed lines, so you have to use ERT.
17285  As prerequisite the LaTeX-package 
17286 \series bold
17287 arydshln
17288 \series default
17289
17290 \begin_inset LatexCommand index
17291 name "LaTeX-packages ! arydshln"
17292
17293 \end_inset
17294
17295  must be loaded in the document preamble with the command
17296 \end_layout
17297
17298 \begin_layout Standard
17299
17300 \series bold
17301
17302 \backslash
17303 usepackage{arydshln}
17304 \end_layout
17305
17306 \begin_layout Standard
17307 To make a vertical line dashed, enter the colon 
17308 \begin_inset Quotes eld
17309 \end_inset
17310
17311 :
17312 \begin_inset Quotes erd
17313 \end_inset
17314
17315  together with the character for the horizontal alignment as LaTeX-argument
17316  in the table cell dialog.
17317 \end_layout
17318
17319 \begin_layout Standard
17320 For a horizontal dashed line add the command
17321 \end_layout
17322
17323 \begin_layout Standard
17324
17325 \series bold
17326
17327 \backslash
17328 hdashline
17329 \end_layout
17330
17331 \begin_layout Standard
17332 in ERT as first element of the first cell in the table row.
17333 \end_layout
17334
17335 \begin_layout Standard
17336 For dashed multicolumn lines use the command
17337 \end_layout
17338
17339 \begin_layout Standard
17340
17341 \series bold
17342
17343 \backslash
17344 cdashline{line number
17345 \series default
17346 }
17347 \end_layout
17348
17349 \begin_layout Standard
17350 in ERT as first element of the first cell in the table row.
17351  If you have for example a multicolumn spanning over columns 2 to 4 and
17352  you want to have a dashed line above, add the command
17353 \end_layout
17354
17355 \begin_layout Standard
17356
17357 \series bold
17358
17359 \backslash
17360 cdashline{2-4}
17361 \end_layout
17362
17363 \begin_layout Standard
17364 as first element of the first cell in the row of the multicolumn.
17365 \end_layout
17366
17367 \begin_layout Standard
17368 \begin_inset VSpace bigskip
17369 \end_inset
17370
17371
17372 \end_layout
17373
17374 \begin_layout Standard
17375 Table\InsetSpace ~
17376
17377 \begin_inset LatexCommand ref
17378 reference "tab:Table-with-dashed"
17379
17380 \end_inset
17381
17382  was created using 
17383 \begin_inset Quotes eld
17384 \end_inset
17385
17386
17387 \series bold
17388 :c
17389 \series default
17390
17391 \begin_inset Quotes erd
17392 \end_inset
17393
17394  as LaTeX-argument of the third column.
17395  The ERT command 
17396 \series bold
17397
17398 \backslash
17399 hdashline
17400 \series default
17401  was inserted to the first cell of the third row and the the ERT command
17402 \newline
17403
17404  
17405 \series bold
17406
17407 \backslash
17408 cdashline{4-5}
17409 \series default
17410  was inserted to the first cell of the fourth row.
17411 \end_layout
17412
17413 \begin_layout Standard
17414 \begin_inset Note Greyedout
17415 status open
17416
17417 \begin_layout Standard
17418
17419 \series bold
17420 Note:
17421 \series default
17422  The used LaTeX-package 
17423 \series bold
17424 arydshln
17425 \series default
17426  is apparently not compatible with the LaTeX-package 
17427 \series bold
17428 colortbl
17429 \series default
17430
17431 \begin_inset LatexCommand index
17432 name "LaTeX-packages ! colortbl"
17433
17434 \end_inset
17435
17436  that is used for colored tables in section\InsetSpace ~
17437
17438 \begin_inset LatexCommand ref
17439 reference "sec:Colored-Tables"
17440
17441 \end_inset
17442
17443 .
17444  That means colored tables cannot have dashed lines.
17445 \end_layout
17446
17447 \end_inset
17448
17449
17450 \end_layout
17451
17452 \begin_layout Standard
17453 \begin_inset ERT
17454 status collapsed
17455
17456 \begin_layout Standard
17457
17458
17459 \backslash
17460 else
17461 \end_layout
17462
17463 \end_inset
17464
17465
17466 \begin_inset Note Note
17467 status open
17468
17469 \begin_layout Standard
17470 The following will be displayed when the LaTeX-package 
17471 \series bold
17472 arydshln
17473 \series default
17474  is not installed:
17475 \end_layout
17476
17477 \end_inset
17478
17479
17480 \end_layout
17481
17482 \begin_layout Standard
17483 You need to install the package 
17484 \series bold
17485 arydshln
17486 \series default
17487  to see the contents of this section in the output.
17488 \end_layout
17489
17490 \begin_layout Standard
17491 \begin_inset ERT
17492 status collapsed
17493
17494 \begin_layout Standard
17495
17496
17497 \backslash
17498 fi
17499 \end_layout
17500
17501 \end_inset
17502
17503
17504 \end_layout
17505
17506 \begin_layout Chapter
17507 Floats
17508 \begin_inset LatexCommand index
17509 name "Floats"
17510
17511 \end_inset
17512
17513
17514 \begin_inset LatexCommand label
17515 name "cha:Floats"
17516
17517 \end_inset
17518
17519
17520 \end_layout
17521
17522 \begin_layout Section
17523 Introduction
17524 \begin_inset LatexCommand label
17525 name "sec:FloatIntroduction"
17526
17527 \end_inset
17528
17529
17530 \begin_inset LatexCommand index
17531 name "Floats ! Introduction"
17532
17533 \end_inset
17534
17535
17536 \end_layout
17537
17538 \begin_layout Standard
17539 A float is a block of text associated with some sort of label, which doesn't
17540  have a fixed location.
17541  It can 
17542 \begin_inset Quotes eld
17543 \end_inset
17544
17545 float
17546 \begin_inset Quotes erd
17547 \end_inset
17548
17549  forward or backward a page or two, to wherever it fits best.
17550  
17551 \family sans
17552 Footnotes
17553 \family default
17554  and 
17555 \family sans
17556 Margin\InsetSpace ~
17557 Notes
17558 \family default
17559  are also floats, because they can float to the next page when there are
17560  too many notes at the page.
17561 \end_layout
17562
17563 \begin_layout Standard
17564 Floats allow a high quality layout.
17565  Images and tables can evenly be spread to the pages to avoid white space
17566  and pages without text.
17567  As the floating often destroys the context between the text and the image/table
17568 , every float can be referenced in the text.
17569  Floats are therefore numbered.
17570  Referencing is described in section\InsetSpace ~
17571
17572 \begin_inset LatexCommand ref
17573 reference "sec:Referencing-Floats"
17574
17575 \end_inset
17576
17577 .
17578 \end_layout
17579
17580 \begin_layout Standard
17581 To insert a float, use the menu 
17582 \family sans
17583 Insert\SpecialChar \menuseparator
17584 Float
17585 \family default
17586 .
17587  This inserts the 
17588 \family sans
17589 Caption
17590 \family default
17591  inset, a box with a label.
17592  The label will automatically be translated to the document language in
17593  the output.
17594  Behind the label you can insert the caption text.
17595  The image or table is inserted above or below the caption in a separate
17596  paragraph within the float.
17597  More about the caption placement is described in section\InsetSpace ~
17598
17599 \begin_inset LatexCommand ref
17600 reference "sec:Caption-Placement"
17601
17602 \end_inset
17603
17604 .
17605  To keep your LyX-document readable, you can open and close the float box
17606  by left-clicking on the box label.
17607  A closed float box looks like this: 
17608 \begin_inset Graphics
17609         filename clipart/floatQt4.png
17610         scale 70
17611         scaleBeforeRotation
17612
17613 \end_inset
17614
17615  -- a gray button with a red label.
17616 \end_layout
17617
17618 \begin_layout Standard
17619 It is recommended to insert floats as a separate paragraph to avoid possible
17620  LaTeX-errors that can occur when the surrounding text is specially formatted.
17621 \end_layout
17622
17623 \begin_layout Standard
17624 Existing figures or tables can be put into a float by marking them and then
17625  pressing the corresponding toolbar button for a new float.
17626 \end_layout
17627
17628 \begin_layout Section
17629 Float Types
17630 \end_layout
17631
17632 \begin_layout Standard
17633 Besides figure and table floats that are described in section\InsetSpace ~
17634
17635 \begin_inset LatexCommand ref
17636 reference "sec:Figure-Floats"
17637
17638 \end_inset
17639
17640  and 
17641 \begin_inset LatexCommand ref
17642 reference "sec:Table-Floats"
17643
17644 \end_inset
17645
17646 , respectively, LyX offers the float types 
17647 \series bold
17648 Algorithm
17649 \series default
17650  and 
17651 \series bold
17652 Text\InsetSpace ~
17653 Wrap\InsetSpace ~
17654 Float
17655 \series default
17656 .
17657 \end_layout
17658
17659 \begin_layout Subsection
17660 Algorithm Floats
17661 \begin_inset LatexCommand index
17662 name "Floats ! Algorithms"
17663
17664 \end_inset
17665
17666
17667 \end_layout
17668
17669 \begin_layout Standard
17670 \begin_inset Float algorithm
17671 placement h
17672 wide false
17673 sideways false
17674 status open
17675
17676 \begin_layout Standard
17677 \begin_inset Caption
17678
17679 \begin_layout Standard
17680 \begin_inset LatexCommand label
17681 name "alg:Example-Algorithm-float"
17682
17683 \end_inset
17684
17685 Example Algorithm float
17686 \end_layout
17687
17688 \end_inset
17689
17690
17691 \end_layout
17692
17693 \begin_layout LyX-Code
17694 for I in 1..N loop
17695 \newline
17696  Sum:= Sum + A(I); /*comment*/
17697 \newline
17698 end loop
17699 \begin_inset VSpace -4mm
17700 \end_inset
17701
17702
17703 \end_layout
17704
17705 \end_inset
17706
17707
17708 \end_layout
17709
17710 \begin_layout Standard
17711 This float type is inserted with the menu 
17712 \family sans
17713 Insert\SpecialChar \menuseparator
17714 Floats\SpecialChar \menuseparator
17715 Algorithm
17716 \family default
17717 .
17718  It is used for program codes and descriptions of algorithms.
17719  A possible environment for algorithms is the 
17720 \family sans
17721 LyX-Code
17722 \family default
17723 , described in LyX's 
17724 \emph on
17725 Userguide
17726 \emph default
17727 .
17728  Algorithm\InsetSpace ~
17729
17730 \begin_inset LatexCommand ref
17731 reference "alg:Example-Algorithm-float"
17732
17733 \end_inset
17734
17735  is an example of an algorithm float where -4\InsetSpace \thinspace{}
17736 mm vertical space was added
17737  at the end of the float to have the bottom rule exactly below the last
17738  text line.
17739 \end_layout
17740
17741 \begin_layout Standard
17742 The float label is not automatically translated into the document language.
17743  If your document is not in English, you have to do this manually by adding
17744  the following line to the document preamble
17745 \series bold
17746 :
17747 \end_layout
17748
17749 \begin_layout Standard
17750
17751 \series bold
17752
17753 \backslash
17754 floatname{algorithm}{your\InsetSpace ~
17755 name}
17756 \end_layout
17757
17758 \begin_layout Standard
17759
17760 \family sans
17761 your\InsetSpace ~
17762 name
17763 \family default
17764  is the word 
17765 \begin_inset Quotes eld
17766 \end_inset
17767
17768
17769 \emph on
17770 algorithm
17771 \emph default
17772
17773 \begin_inset Quotes erd
17774 \end_inset
17775
17776  in your language.
17777 \end_layout
17778
17779 \begin_layout Description
17780
17781 \series bold
17782 Note:
17783 \series default
17784  When the LaTeX-package 
17785 \series bold
17786 hyperref
17787 \series default
17788
17789 \begin_inset LatexCommand index
17790 name "LaTeX-packages ! hyperref"
17791
17792 \end_inset
17793
17794  is used to link cross-references to floats in the PDF-output, it must be
17795  loaded in the document preamble before the definition of floats to be able
17796  to reference floats.
17797  As LyX sets the float definition for algorithm floats automatically before
17798  the user editable part of the document preamble, you need to insert the
17799  following preamble lines 
17800 \emph on
17801 after
17802 \emph default
17803  the loading command of 
17804 \series bold
17805 hyperref
17806 \series default
17807 :
17808 \series bold
17809
17810 \begin_inset VSpace defskip
17811 \end_inset
17812
17813
17814 \newline
17815
17816 \backslash
17817 newfloat{Xalgorithm}{tbp}{loa}
17818 \newline
17819
17820 \backslash
17821 floatname{Xalgorithm}{your\InsetSpace ~
17822 name}
17823 \newline
17824
17825 \backslash
17826 newcommand{
17827 \backslash
17828 theHalgorithm}{
17829 \backslash
17830 theHXalgorithm}
17831 \newline
17832
17833 \backslash
17834 renewenvironment{algorithm}[1][tbp]
17835 \newline
17836
17837 \begin_inset ERT
17838 status collapsed
17839
17840 \begin_layout Standard
17841
17842
17843 \backslash
17844 hphantom{ }
17845 \end_layout
17846
17847 \end_inset
17848
17849 {
17850 \backslash
17851 begin{Xalgorithm}[#1]}{
17852 \backslash
17853 end{Xalgorithm}}
17854 \begin_inset VSpace defskip
17855 \end_inset
17856
17857
17858 \end_layout
17859
17860 \begin_layout Standard
17861 Algorithm floats are not by default numbered in the scheme 
17862 \begin_inset Quotes eld
17863 \end_inset
17864
17865 chapter.algorithm
17866 \begin_inset Quotes erd
17867 \end_inset
17868
17869  like it is the case for table and figure floats in many document-classes.
17870  To number algorithm floats in the same scheme, add this command to your
17871  document preamble:
17872 \end_layout
17873
17874 \begin_layout Standard
17875
17876 \series bold
17877
17878 \backslash
17879 numberwithin{algorithm}{chapter}
17880 \end_layout
17881
17882 \begin_layout Standard
17883 If you use the LaTeX-package 
17884 \series bold
17885 hyperref
17886 \series default
17887 , add this line instead 
17888 \emph on
17889 after
17890 \emph default
17891  the definition of 
17892 \family sans
17893 Xalgorithm
17894 \family default
17895  (the commands from above) to the preamble:
17896 \end_layout
17897
17898 \begin_layout Standard
17899
17900 \series bold
17901
17902 \backslash
17903 numberwithin{Xalgorithm}{chapter}
17904 \end_layout
17905
17906 \begin_layout Standard
17907 To be able to use the command 
17908 \series bold
17909
17910 \backslash
17911 numberwithin
17912 \series default
17913 , set in the tab 
17914 \family sans
17915 Math\InsetSpace ~
17916 Options
17917 \family default
17918  in the document settings the option 
17919 \family sans
17920 Use\InsetSpace ~
17921 AMS\InsetSpace ~
17922 math\InsetSpace ~
17923 package
17924 \family default
17925 .
17926 \end_layout
17927
17928 \begin_layout Subsection
17929 Text Wrap Floats
17930 \begin_inset LatexCommand index
17931 name "Floats ! Text Wrap Floats"
17932
17933 \end_inset
17934
17935
17936 \begin_inset LatexCommand label
17937 name "sub:floatflt-wrap-float"
17938
17939 \end_inset
17940
17941
17942 \end_layout
17943
17944 \begin_layout Standard
17945 This float type is used if you want to 
17946 \begin_inset Quotes eld
17947 \end_inset
17948
17949 wrap
17950 \begin_inset Quotes erd
17951 \end_inset
17952
17953  text around a figure so that it only occupies some fraction of the column
17954  width.
17955  It can be inserted using the menu 
17956 \begin_inset Wrap figure
17957 placement l
17958 width "40col%"
17959 status open
17960
17961 \begin_layout Standard
17962 \begin_inset Graphics
17963         filename clipart/mobius.eps
17964         display color
17965         width 40col%
17966         scaleBeforeRotation
17967         rotateOrigin center
17968
17969 \end_inset
17970
17971
17972 \end_layout
17973
17974 \begin_layout Standard
17975 \begin_inset Caption
17976
17977 \begin_layout Standard
17978 \begin_inset LatexCommand label
17979 name "fig:This-is-a"
17980
17981 \end_inset
17982
17983 This is a wrapped figure, and this is the brilliant caption that describes
17984  it.
17985 \begin_inset VSpace medskip
17986 \end_inset
17987
17988
17989 \end_layout
17990
17991 \end_inset
17992
17993
17994 \end_layout
17995
17996 \end_inset
17997
17998  
17999 \family sans
18000 Insert\SpecialChar \menuseparator
18001 Floats\SpecialChar \menuseparator
18002 Text\InsetSpace ~
18003 Wrap\InsetSpace ~
18004 Float
18005 \family default
18006  if the LaTeX-package 
18007 \series bold
18008 f\SpecialChar \textcompwordmark{}
18009 loatf\SpecialChar \textcompwordmark{}
18010 lt
18011 \series default
18012
18013 \begin_inset LatexCommand index
18014 name "LaTeX-packages ! floatflt"
18015
18016 \end_inset
18017
18018  is installed.
18019 \begin_inset Foot
18020 status collapsed
18021
18022 \begin_layout Standard
18023 Installing a LaTeX-package is explained it in the 
18024 \emph on
18025 LaTeX\InsetSpace ~
18026 Configuration
18027 \emph default
18028  manual.
18029 \end_layout
18030
18031 \end_inset
18032
18033  The width and placement of the float is adjusted by right-clicking on the
18034  float box.
18035  Figure\InsetSpace ~
18036
18037 \begin_inset LatexCommand ref
18038 reference "fig:This-is-a"
18039
18040 \end_inset
18041
18042  is an example text wrap float with a width of 40
18043 \begin_inset Formula $\,$
18044 \end_inset
18045
18046 col%.
18047 \begin_inset Foot
18048 status collapsed
18049
18050 \begin_layout Standard
18051 Available units are explained in 
18052 \begin_inset LatexCommand ref
18053 reference "cha:Units-available-in"
18054
18055 \end_inset
18056
18057 .
18058 \end_layout
18059
18060 \end_inset
18061
18062  Some space was added under the caption to separate it better from the surroundi
18063 ng text.
18064 \end_layout
18065
18066 \begin_layout Standard
18067 The LaTeX-package 
18068 \series bold
18069 f\SpecialChar \textcompwordmark{}
18070 loatf\SpecialChar \textcompwordmark{}
18071 lt
18072 \series default
18073  also supports table wrap floats, but they are not yet supported by LyX.
18074  If you need this, read the documentation of 
18075 \series bold
18076 f\SpecialChar \textcompwordmark{}
18077 loatf\SpecialChar \textcompwordmark{}
18078 lt
18079 \series default
18080  
18081 \begin_inset LatexCommand cite
18082 key "floatflt"
18083
18084 \end_inset
18085
18086 .
18087 \end_layout
18088
18089 \begin_layout Standard
18090 \begin_inset Note Greyedout
18091 status open
18092
18093 \begin_layout Standard
18094
18095 \series bold
18096 Note:
18097 \series default
18098  Text\InsetSpace ~
18099 wrap float floats are fragile! E.\InsetSpace \thinspace{}
18100 g.\InsetSpace ~
18101 having a figure too close to the bottom
18102  of the page can mess things up in the way that the float doesn't appear
18103  in the output or that it is placed over some other text.
18104 \begin_inset Foot
18105 status open
18106
18107 \begin_layout Standard
18108 The better solution is to use the LaTeX-package 
18109 \series bold
18110 wrapf\SpecialChar \textcompwordmark{}
18111 ig
18112 \series default
18113
18114 \begin_inset LatexCommand index
18115 name "LaTeX-packages ! wrapfig\\vspace{4mm}"
18116
18117 \end_inset
18118
18119  instead of 
18120 \series bold
18121 f\SpecialChar \textcompwordmark{}
18122 loatf\SpecialChar \textcompwordmark{}
18123 lt
18124 \series default
18125 , but it is currently not supported by LyX.
18126 \end_layout
18127
18128 \end_inset
18129
18130
18131 \end_layout
18132
18133 \end_inset
18134
18135
18136 \end_layout
18137
18138 \begin_layout Standard
18139 In general:
18140 \end_layout
18141
18142 \begin_layout Itemize
18143 Wrap floats should not be placed in paragraphs that run over a page break.
18144  That means that wrap floats should better be inserted to the exact place
18145  when the document is nearly finished and you are able to estimate where
18146  page breaks will appear.
18147 \end_layout
18148
18149 \begin_layout Itemize
18150 Wrap floats should either be placed in an own paragraph before the paragraph
18151  where they should wrap into or within a paragraph.
18152 \end_layout
18153
18154 \begin_layout Itemize
18155 Wrap floats in consecutive paragraphs may cause troubles, so assure that
18156  there is a text paragraph between them as separator.
18157 \end_layout
18158
18159 \begin_layout Itemize
18160 Wrap floats are not allowed in section headings or tables.
18161 \end_layout
18162
18163 \begin_layout Section
18164 Float Numbering
18165 \begin_inset LatexCommand label
18166 name "sec:Float-Numbering"
18167
18168 \end_inset
18169
18170
18171 \begin_inset LatexCommand index
18172 name "Floats ! Numbering"
18173
18174 \end_inset
18175
18176
18177 \end_layout
18178
18179 \begin_layout Standard
18180 Floats are usually numbered either independent from the sections the floats
18181  are in, or in the scheme 
18182 \begin_inset Quotes eld
18183 \end_inset
18184
18185 chapter.number
18186 \begin_inset Quotes erd
18187 \end_inset
18188
18189  or 
18190 \begin_inset Quotes eld
18191 \end_inset
18192
18193 section.number
18194 \begin_inset Quotes erd
18195 \end_inset
18196
18197 .
18198  This depends on the used document class.
18199 \end_layout
18200
18201 \begin_layout Standard
18202 To change the section independent numbering, you can use this command in
18203  the document preamble:
18204 \end_layout
18205
18206 \begin_layout Standard
18207
18208 \series bold
18209
18210 \backslash
18211 renewcommand{
18212 \backslash
18213 thetable}{
18214 \backslash
18215 roman{table}}
18216 \end_layout
18217
18218 \begin_layout Standard
18219
18220 \series bold
18221
18222 \backslash
18223 thetable
18224 \series default
18225  is the command that prints the table number, for figure floats, the command
18226  would be 
18227 \series bold
18228
18229 \backslash
18230 thefigure
18231 \series default
18232 .
18233  The command 
18234 \series bold
18235
18236 \backslash
18237 roman
18238 \series default
18239  prints in the command above the table number as small roman number.
18240 \end_layout
18241
18242 \begin_layout Standard
18243 To change the numbering scheme for example to 
18244 \begin_inset Quotes eld
18245 \end_inset
18246
18247 subsection.number
18248 \begin_inset Quotes erd
18249 \end_inset
18250
18251 , use this command in the preamble:
18252 \end_layout
18253
18254 \begin_layout Standard
18255
18256 \series bold
18257
18258 \backslash
18259 numberwithin{table}{subsection}
18260 \end_layout
18261
18262 \begin_layout Standard
18263 To be able to use the command 
18264 \series bold
18265
18266 \backslash
18267 numberwithin
18268 \series default
18269 , set in the tab 
18270 \family sans
18271 Math\InsetSpace ~
18272 Options
18273 \family default
18274  in the document settings the option 
18275 \family sans
18276 Use\InsetSpace ~
18277 AMS\InsetSpace ~
18278 math\InsetSpace ~
18279 package
18280 \family default
18281 .
18282 \end_layout
18283
18284 \begin_layout Standard
18285 Please also have a look at section\InsetSpace ~
18286
18287 \begin_inset LatexCommand ref
18288 reference "sub:Footnote-Numbering"
18289
18290 \end_inset
18291
18292  for the details and important notes about the numbering commands.
18293 \end_layout
18294
18295 \begin_layout Section
18296 Referencing Floats
18297 \begin_inset LatexCommand label
18298 name "sec:Referencing-Floats"
18299
18300 \end_inset
18301
18302
18303 \begin_inset LatexCommand index
18304 name "Floats ! References"
18305
18306 \end_inset
18307
18308
18309 \begin_inset LatexCommand index
18310 name "References"
18311
18312 \end_inset
18313
18314
18315 \end_layout
18316
18317 \begin_layout Standard
18318 To reference a float, insert a label into its caption using the menu 
18319 \family sans
18320 Insert\SpecialChar \menuseparator
18321 Label
18322 \family default
18323  or the toolbar button 
18324 \begin_inset Graphics
18325         filename ../images/label-insert.xpm
18326         scale 85
18327         scaleBeforeRotation
18328
18329 \end_inset
18330
18331 .
18332  A grey label box like this one: 
18333 \begin_inset Graphics
18334         filename clipart/labelQt4.png
18335         scale 85
18336         scaleBeforeRotation
18337
18338 \end_inset
18339
18340  will be inserted and the label window pops up asking for the label text.
18341  LyX offers as text the first words of the caption with a prefix.
18342  The prefix depends on the float type, e.\InsetSpace \thinspace{}
18343 g.\InsetSpace ~
18344 for figure floats the prefix will
18345  be "
18346 \family sans
18347 fig:
18348 \family default
18349 ".
18350 \end_layout
18351
18352 \begin_layout Standard
18353 The label is used as anchor and name for the reference.
18354  You can refer to the label using the menu 
18355 \family sans
18356 Insert\SpecialChar \menuseparator
18357 Cross-reference
18358 \family default
18359  or the toolbar button 
18360 \begin_inset Graphics
18361         filename ../images/dialog-show-new-inset_ref.xpm
18362         scale 85
18363         scaleBeforeRotation
18364
18365 \end_inset
18366
18367 .
18368  A grey cross-reference box like this one: 
18369 \begin_inset Graphics
18370         filename clipart/referenceQt4.png
18371         scale 85
18372         scaleBeforeRotation
18373
18374 \end_inset
18375
18376  will be inserted and the cross-reference window appear showing all labels
18377  of the document.
18378  If you have multiple LyX-documents opened, choose the one you are working
18379  on from the drop-list at the top of the dialog.
18380  You can now sort the labels alphabetically and then choose one.
18381  At the position of the cross-reference box the float number will appear
18382  in the output.
18383 \end_layout
18384
18385 \begin_layout Standard
18386 It is recommended to use a protected space between the cross-reference name
18387  and its number to avoid line breaks between them.
18388  If a cross-reference refers to a non-existing label, you will see two question
18389  marks in the output instead of the reference.
18390 \end_layout
18391
18392 \begin_layout Standard
18393 You can change labels at any time by clicking on the label box.
18394  References to the changed label will automatically change its link to the
18395  new label text, so that you don't need to take care about this.
18396 \end_layout
18397
18398 \begin_layout Standard
18399 The button 
18400 \family sans
18401 Go\InsetSpace ~
18402 to\InsetSpace ~
18403 Label
18404 \family default
18405  in the cross-reference window sets the cursor before the referred label.
18406  The button text changes then to Go\InsetSpace ~
18407 Back and you can use it to set the cursor
18408  back to the cross-reference.
18409  Right-clicking on a cross-reference box also sets the cursor before the
18410  referenced label but without a possibility to go back.
18411 \end_layout
18412
18413 \begin_layout Subsection
18414 Cross-Reference Formats
18415 \begin_inset LatexCommand label
18416 name "sub:Cross-Reference-Formats"
18417
18418 \end_inset
18419
18420
18421 \begin_inset LatexCommand index
18422 name "References ! Formats"
18423
18424 \end_inset
18425
18426
18427 \end_layout
18428
18429 \begin_layout Standard
18430 There are six varieties of cross-references:
18431 \end_layout
18432
18433 \begin_layout Description
18434 <reference>: prints the float number, this is the default: 
18435 \begin_inset LatexCommand ref
18436 reference "fig:Two-distorted-images"
18437
18438 \end_inset
18439
18440
18441 \end_layout
18442
18443 \begin_layout Description
18444 (<reference>): prints the float number within two parentheses, this is the
18445  style normally used to reference formulas, especially when the reference
18446  name 
18447 \begin_inset Quotes eld
18448 \end_inset
18449
18450 Equation
18451 \begin_inset Quotes erd
18452 \end_inset
18453
18454  is omitted: 
18455 \begin_inset LatexCommand eqref
18456 reference "eq:Wgn"
18457
18458 \end_inset
18459
18460
18461 \end_layout
18462
18463 \begin_layout Description
18464 <page>: prints the page number: Page\InsetSpace ~
18465
18466 \begin_inset LatexCommand pageref
18467 reference "fig:Two-distorted-images"
18468
18469 \end_inset
18470
18471
18472 \end_layout
18473
18474 \begin_layout Description
18475 on\InsetSpace ~
18476 page\InsetSpace ~
18477 <page>: prints the text "on page" and the page number: 
18478 \begin_inset LatexCommand vpageref
18479 reference "fig:Two-distorted-images"
18480
18481 \end_inset
18482
18483
18484 \end_layout
18485
18486 \begin_layout Description
18487 <reference>\InsetSpace ~
18488 on\InsetSpace ~
18489 page\InsetSpace ~
18490 <page>: prints the float number, the text "on page", and
18491  the page number: 
18492 \begin_inset LatexCommand vref
18493 reference "fig:Two-distorted-images"
18494
18495 \end_inset
18496
18497
18498 \end_layout
18499
18500 \begin_layout Description
18501 Formatted\InsetSpace ~
18502 reference: prints a self defined cross-reference format.
18503  
18504 \begin_inset Note Greyedout
18505 status open
18506
18507 \begin_layout Standard
18508
18509 \series bold
18510 Note:
18511 \series default
18512  This feature is only available when you have the LaTeX-package 
18513 \series bold
18514 prettyref
18515 \series default
18516  installed.
18517 \end_layout
18518
18519 \end_inset
18520
18521
18522 \end_layout
18523
18524 \begin_layout Standard
18525 Note that the style <page> won't print the page number if the label is on
18526  the previous, the same, or the next page.
18527  You will e.\InsetSpace \thinspace{}
18528 g.\InsetSpace ~
18529 see the text 
18530 \begin_inset Quotes eld
18531 \end_inset
18532
18533
18534 \family sans
18535 on this page
18536 \family default
18537
18538 \begin_inset Quotes erd
18539 \end_inset
18540
18541  instead.
18542 \end_layout
18543
18544 \begin_layout Standard
18545 The number and current page of the referred document part in the output,
18546  is automatically calculated by LaTeX.
18547  The varieties are adjusted in the field 
18548 \family sans
18549 Format
18550 \family default
18551  of the cross-reference window, that appear when you click on the cross-referenc
18552 e box.
18553 \end_layout
18554
18555 \begin_layout Subsection
18556 Referencing Subfigures
18557 \begin_inset LatexCommand label
18558 name "sub:Referencing-Subfigures"
18559
18560 \end_inset
18561
18562
18563 \begin_inset LatexCommand index
18564 name "References ! to Subfigures"
18565
18566 \end_inset
18567
18568
18569 \end_layout
18570
18571 \begin_layout Standard
18572 Currently referencing subfigures is not supported by LyX, so you have to
18573  use LaTeX-commands.
18574  The label is the created with the command
18575 \end_layout
18576
18577 \begin_layout Standard
18578
18579 \series bold
18580
18581 \backslash
18582 label{fig:YourLabelName}
18583 \end_layout
18584
18585 \begin_layout Standard
18586 that is directly inserted into the subfigure caption field.
18587  To reference the label add this command in ERT
18588 \end_layout
18589
18590 \begin_layout Standard
18591
18592 \series bold
18593
18594 \backslash
18595 ref{fig:YourLabelName}
18596 \end_layout
18597
18598 \begin_layout Standard
18599 to the position in your document where the reference should be placed.
18600  Here is a reference to a subfigure: Subfigure\InsetSpace ~
18601
18602 \begin_inset ERT
18603 status collapsed
18604
18605 \begin_layout Standard
18606
18607
18608 \backslash
18609 ref{fig:Platypus}
18610 \end_layout
18611
18612 \end_inset
18613
18614 .
18615 \end_layout
18616
18617 \begin_layout Subsection
18618 Automatic Reference Naming
18619 \begin_inset LatexCommand index
18620 name "References ! Automatic Reference Naming"
18621
18622 \end_inset
18623
18624
18625 \end_layout
18626
18627 \begin_layout Standard
18628 The LaTeX-package 
18629 \series bold
18630 hyperref
18631 \series default
18632  provides a very useful feature that cross-references automatically include
18633  the name of the referenced floats (or text parts like sections).
18634  You save to write e.\InsetSpace \thinspace{}
18635 g.\InsetSpace ~
18636 the name 
18637 \begin_inset Quotes eld
18638 \end_inset
18639
18640 Figure
18641 \begin_inset Quotes erd
18642 \end_inset
18643
18644  before every reference box.
18645  To get this automatic reference naming, you have to load the LaTeX-package
18646  
18647 \series bold
18648 hyperref
18649 \series default
18650
18651 \begin_inset LatexCommand index
18652 name "LaTeX-packages ! hyperref"
18653
18654 \end_inset
18655
18656  in the document preamble with
18657 \end_layout
18658
18659 \begin_layout Standard
18660
18661 \series bold
18662
18663 \backslash
18664 usepackage[pdfborder={0 0 0}]{hyperref}
18665 \newline
18666
18667 \backslash
18668 AtBeginDocument{
18669 \backslash
18670 renewcommand{
18671 \backslash
18672 ref}[1]{
18673 \backslash
18674 mbox{
18675 \backslash
18676 autoref{#1}}}}
18677 \end_layout
18678
18679 \begin_layout Standard
18680
18681 \series bold
18682 hyperref
18683 \series default
18684  is used to link cross-references in the DVI- and PDF-output, this means
18685  that the reader of your document will be able to click on a table of content
18686  (TOC) entry or on a reference and he will be shown the referenced document
18687  part.
18688  
18689 \series bold
18690 hyperref
18691 \series default
18692  also creates PDF-bookmarks for every section of your document to make it
18693  easier for readers to navigate through the document.
18694  This is also used in this document but when you have a look in the document
18695  preamble you will find various options in the load command of 
18696 \series bold
18697 hyperref
18698 \series default
18699 .
18700  To learn more about the 
18701 \series bold
18702 hyperref
18703 \series default
18704  package, we refer to its documentation 
18705 \begin_inset LatexCommand cite
18706 key "hyperref"
18707
18708 \end_inset
18709
18710 .
18711 \end_layout
18712
18713 \begin_layout Standard
18714 \begin_inset Note Greyedout
18715 status open
18716
18717 \begin_layout Standard
18718
18719 \series bold
18720 Note:
18721 \series default
18722  Automatic reference naming cannot be used when you use cross-references
18723  in the 
18724 \family sans
18725 Formatted\InsetSpace ~
18726 reference
18727 \family default
18728  style, described in section\InsetSpace ~
18729
18730 \begin_inset LatexCommand ref
18731 reference "sub:Cross-Reference-Formats"
18732
18733 \end_inset
18734
18735 .
18736 \end_layout
18737
18738 \end_inset
18739
18740
18741 \end_layout
18742
18743 \begin_layout Subsection
18744 Reference Position
18745 \begin_inset LatexCommand label
18746 name "sub:Reference-Position"
18747
18748 \end_inset
18749
18750
18751 \begin_inset LatexCommand index
18752 name "References ! Reference Position"
18753
18754 \end_inset
18755
18756
18757 \end_layout
18758
18759 \begin_layout Standard
18760 If you use 
18761 \series bold
18762 hyperref
18763 \series default
18764
18765 \begin_inset LatexCommand index
18766 name "LaTeX-packages ! hyperref"
18767
18768 \end_inset
18769
18770  to link cross-references in the output, you will see that clicking on an
18771  image float reference jumps to the image label.
18772  The caption will be the first text part on the screen, so that you cannot
18773  see the image without scrolling.
18774  This is because the reference link anchor is placed at the position of
18775  the label.
18776  With the use of the package 
18777 \series bold
18778 hypcap
18779 \series default
18780
18781 \begin_inset LatexCommand index
18782 name "LaTeX-packages ! hypcap"
18783
18784 \end_inset
18785
18786 , which is part of the LaTeX-package 
18787 \series bold
18788 oberdiek
18789 \series default
18790
18791 \begin_inset LatexCommand index
18792 name "LaTeX-packages ! oberdiek"
18793
18794 \end_inset
18795
18796 , the link anchor is placed at the beginning of a float.
18797  To use this feature for figure floats, load 
18798 \series bold
18799 hypcap
18800 \series default
18801  in the document preamble with the line
18802 \end_layout
18803
18804 \begin_layout Standard
18805
18806 \series bold
18807
18808 \backslash
18809 usepackage[f\SpecialChar \textcompwordmark{}
18810 igure]{hypcap}
18811 \end_layout
18812
18813 \begin_layout Standard
18814 You can also use 
18815 \series bold
18816 hypcap
18817 \series default
18818  for all floats but this isn't recommended for stability reasons.
18819  For more informations, have a look at 
18820 \series bold
18821 hypcap
18822 \series default
18823 's manual 
18824 \begin_inset LatexCommand cite
18825 key "hypcap"
18826
18827 \end_inset
18828
18829 .
18830 \end_layout
18831
18832 \begin_layout Standard
18833 \begin_inset Note Greyedout
18834 status open
18835
18836 \begin_layout Standard
18837
18838 \series bold
18839 Note:
18840 \series default
18841  
18842 \series bold
18843 hypcap
18844 \series default
18845  must be loaded after 
18846 \series bold
18847 hyperref
18848 \series default
18849  in the document preamble.
18850 \end_layout
18851
18852 \end_inset
18853
18854
18855 \end_layout
18856
18857 \begin_layout Standard
18858 \begin_inset Note Greyedout
18859 status open
18860
18861 \begin_layout Standard
18862
18863 \series bold
18864 Note:
18865 \series default
18866  
18867 \series bold
18868 hypcap
18869 \series default
18870  has no effect for references to subfigures.
18871 \end_layout
18872
18873 \end_inset
18874
18875
18876 \end_layout
18877
18878 \begin_layout Section
18879 Float Placement
18880 \begin_inset LatexCommand label
18881 name "sec:Float-Placement"
18882
18883 \end_inset
18884
18885
18886 \begin_inset LatexCommand index
18887 name "Floats ! Placement"
18888
18889 \end_inset
18890
18891
18892 \end_layout
18893
18894 \begin_layout Standard
18895 Right-clicking on a float-box opens a dialog where you can alter the placement
18896  options that LaTeX uses for positioning the float.
18897 \newline
18898 The option 
18899 \family sans
18900 Span\InsetSpace ~
18901 columns
18902 \family default
18903  is only useful for two-column documents: If you select it, the float will
18904  span across both columns on the page instead of being confined to just
18905  one.
18906 \newline
18907 The option 
18908 \family sans
18909 Rotate\InsetSpace ~
18910 sideways
18911 \family default
18912  is used to rotate floats, see section 
18913 \begin_inset LatexCommand ref
18914 reference "sec:Rotated-Floats"
18915
18916 \end_inset
18917
18918 .
18919 \end_layout
18920
18921 \begin_layout Standard
18922 You can use one ore more of the following options in the float dialog to
18923  set the placement for a particular float when you uncheck the option 
18924 \family sans
18925 Use\InsetSpace ~
18926 default\InsetSpace ~
18927 placement
18928 \family default
18929 :
18930 \end_layout
18931
18932 \begin_layout Description
18933 Here\InsetSpace ~
18934 if\InsetSpace ~
18935 possible try to place the float on the position where it is inserted
18936 \end_layout
18937
18938 \begin_layout Description
18939 Top\InsetSpace ~
18940 of\InsetSpace ~
18941 page try to place the float on the top of the current page
18942 \end_layout
18943
18944 \begin_layout Description
18945 Bottom\InsetSpace ~
18946 of\InsetSpace ~
18947 page try to place the float on the bottom of the current page
18948 \end_layout
18949
18950 \begin_layout Description
18951 Page\InsetSpace ~
18952 of\InsetSpace ~
18953 floats try to place the float on an own page 
18954 \end_layout
18955
18956 \begin_layout Standard
18957 The order of the above option is 
18958 \emph on
18959 always
18960 \emph default
18961  used by LaTeX.
18962  That means, if you use the default placement, LaTeX will first try out
18963  
18964 \family sans
18965 Here\InsetSpace ~
18966 if\InsetSpace ~
18967 possible
18968 \family default
18969 , then 
18970 \family sans
18971 Top\InsetSpace ~
18972 of\InsetSpace ~
18973 page
18974 \family default
18975 , and then the others.
18976  If you don't use the default, LaTeX will try only the checked options but
18977  in the same order.
18978  If none of the 4 placements are possible the procedure is internally repeated
18979  but it is tried to put the float on the following page.
18980 \end_layout
18981
18982 \begin_layout Standard
18983 By default, each option has its own rules:
18984 \end_layout
18985
18986 \begin_layout Labeling
18987 \labelwidthstring 00.00.0000
18988
18989 \family sans
18990 Top\InsetSpace ~
18991 of\InsetSpace ~
18992 page
18993 \family default
18994  only floats occupying less than 70\InsetSpace \thinspace{}
18995 % of the page can be placed at the top
18996  of a page (
18997 \series bold
18998
18999 \backslash
19000 topfraction
19001 \series default
19002 )
19003 \end_layout
19004
19005 \begin_layout Labeling
19006 \labelwidthstring 00.00.0000
19007
19008 \family sans
19009 Bottom\InsetSpace ~
19010 of\InsetSpace ~
19011 page
19012 \family default
19013 : only floats occupying less than 30\InsetSpace \thinspace{}
19014 % of the page can be placed at the bottom
19015  of a page.
19016  (
19017 \series bold
19018
19019 \backslash
19020 bottomfraction
19021 \series default
19022 )
19023 \end_layout
19024
19025 \begin_layout Labeling
19026 \labelwidthstring 00.00.0000
19027
19028 \family sans
19029 Page\InsetSpace ~
19030 of\InsetSpace ~
19031 floats
19032 \family default
19033 : only if more than 50\InsetSpace \thinspace{}
19034 % of the page are occupied by floats, several floats
19035  can be set together on a page.
19036  (
19037 \series bold
19038
19039 \backslash
19040 f\SpecialChar \textcompwordmark{}
19041 loatpagefraction
19042 \series default
19043 )
19044 \end_layout
19045
19046 \begin_layout Standard
19047 If you don't like these rules, you can ignore them by using the additional
19048  option 
19049 \family sans
19050 Ignore\InsetSpace ~
19051 LaTeX\InsetSpace ~
19052 rules
19053 \family default
19054 .
19055 \newline
19056 You can also redefine the rules with LaTeX-commands that are given in parenthese
19057 s behind the rules description above.
19058  To increase for example the often too small default of the bottom-rule
19059  to 50\InsetSpace \thinspace{}
19060 % of the page, add this line to your document preamble:
19061 \end_layout
19062
19063 \begin_layout Standard
19064
19065 \series bold
19066
19067 \backslash
19068 renewcommand{
19069 \backslash
19070 bottomfraction}{0.5}
19071 \end_layout
19072
19073 \begin_layout Standard
19074 Sometimes you might need, under all circumstances, a float to be placed
19075  exactly at the position where it is inserted.
19076  For this case you can use the option 
19077 \family sans
19078 Here\InsetSpace ~
19079 definitely
19080 \family default
19081 .
19082  Use this option very rarely and only if the document is nearly ready to
19083  be printed.
19084  Because the float is then no longer able to 
19085 \begin_inset Quotes eld
19086 \end_inset
19087
19088 float
19089 \begin_inset Quotes erd
19090 \end_inset
19091
19092  when you change your document and this will often destroy the page layout.
19093 \end_layout
19094
19095 \begin_layout Standard
19096 There are no placement options for text wrap floats, because they are always
19097  surrounded by the text of a certain paragraph.
19098 \begin_inset VSpace bigskip
19099 \end_inset
19100
19101
19102 \end_layout
19103
19104 \begin_layout Standard
19105 Sometimes you have the problem that a float is placed at the top of a page
19106  while its corresponding section starts at the middle of the page, so that
19107  the reader could think the float is part of the previous section.
19108  To avoid this the LaTeX-command 
19109 \series bold
19110
19111 \backslash
19112 suppressf\SpecialChar \textcompwordmark{}
19113 loats
19114 \series default
19115  can be used.
19116  It suppresses a given float placement for the page where it is inserted
19117  and can therefore be used to avoid that floats could be set before a section
19118  starts.
19119  To get this, add these commands to your document preamble:
19120 \end_layout
19121
19122 \begin_layout Standard
19123
19124 \series bold
19125
19126 \backslash
19127 let
19128 \backslash
19129 mySection
19130 \backslash
19131 section
19132 \newline
19133
19134 \backslash
19135 renewcommand{
19136 \backslash
19137 section}{
19138 \backslash
19139 suppressf\SpecialChar \textcompwordmark{}
19140 loats[t]
19141 \backslash
19142 mySection}
19143 \end_layout
19144
19145 \begin_layout Standard
19146 You can define the same for all section headings, like chapters and subsections.
19147  This definition is not recommended to be used for small text parts like
19148  subsubsections because LaTeX may then have problems to find a suitable
19149  placement.
19150 \end_layout
19151
19152 \begin_layout Standard
19153 \begin_inset VSpace bigskip
19154 \end_inset
19155
19156 In some cases it is required to have all figures/tables at the end of the
19157  document.
19158  For this purpose the LaTeX-package 
19159 \series bold
19160 endf\SpecialChar \textcompwordmark{}
19161 loat
19162 \series default
19163
19164 \begin_inset LatexCommand index
19165 name "LaTeX-packages ! endfloat"
19166
19167 \end_inset
19168
19169  was developed.
19170  It puts all figure and table floats at the end of the document into own
19171  sections.
19172  At the original float position a text hint like 
19173 \begin_inset Quotes eld
19174 \end_inset
19175
19176
19177 \family sans
19178 [Figure\InsetSpace ~
19179 3.2 about here.]
19180 \family default
19181
19182 \begin_inset Quotes erd
19183 \end_inset
19184
19185  is inserted.
19186  The endfloat-package is loaded in the preamble with the line
19187 \end_layout
19188
19189 \begin_layout Standard
19190
19191 \series bold
19192
19193 \backslash
19194 usepackage[options]{endf\SpecialChar \textcompwordmark{}
19195 loat}
19196 \end_layout
19197
19198 \begin_layout Standard
19199 There are various package options to format the created figure/table sections.
19200  For more information we refer to the 
19201 \series bold
19202 endf\SpecialChar \textcompwordmark{}
19203 loat
19204 \series default
19205  documentation 
19206 \begin_inset LatexCommand cite
19207 key "endfloat"
19208
19209 \end_inset
19210
19211 .
19212 \newline
19213
19214 \begin_inset Note Greyedout
19215 status open
19216
19217 \begin_layout Standard
19218
19219 \series bold
19220 Note: endf\SpecialChar \textcompwordmark{}
19221 loat
19222 \series default
19223  doesn't provide an automatic translation for the text hint, you have to
19224  do this manually, see section\InsetSpace ~
19225 4 in 
19226 \begin_inset LatexCommand cite
19227 key "endfloat"
19228
19229 \end_inset
19230
19231 .
19232 \end_layout
19233
19234 \end_inset
19235
19236
19237 \newline
19238
19239 \begin_inset Note Greyedout
19240 status open
19241
19242 \begin_layout Standard
19243
19244 \series bold
19245 Note:
19246 \series default
19247  There is currently a bug in 
19248 \series bold
19249 endf\SpecialChar \textcompwordmark{}
19250 loat
19251 \series default
19252  when the caption contains a German 
19253 \begin_inset Quotes eld
19254 \end_inset
19255
19256 ß
19257 \begin_inset Quotes erd
19258 \end_inset
19259
19260 .
19261  Use in this case the command 
19262 \begin_inset Quotes eld
19263 \end_inset
19264
19265
19266 \series bold
19267
19268 \backslash
19269 ss
19270 \series default
19271
19272 \begin_inset Quotes erd
19273 \end_inset
19274
19275  in ERT instead of 
19276 \begin_inset Quotes eld
19277 \end_inset
19278
19279 ß
19280 \begin_inset Quotes erd
19281 \end_inset
19282
19283 .
19284 \end_layout
19285
19286 \end_inset
19287
19288
19289 \end_layout
19290
19291 \begin_layout Standard
19292 \begin_inset VSpace bigskip
19293 \end_inset
19294
19295 For more details about float placements, have a look at LaTeX books, 
19296 \begin_inset LatexCommand cite
19297 key "latexcompanion,latexguide,latexbook"
19298
19299 \end_inset
19300
19301 .
19302 \end_layout
19303
19304 \begin_layout Section
19305 Rotated Floats
19306 \begin_inset LatexCommand label
19307 name "sec:Rotated-Floats"
19308
19309 \end_inset
19310
19311
19312 \begin_inset LatexCommand index
19313 name "Floats ! Rotating"
19314
19315 \end_inset
19316
19317
19318 \end_layout
19319
19320 \begin_layout Standard
19321 Especially for wide tables you might have floats rotated.
19322  To rotate a whole float including the caption, right-click on the float-box
19323  and use the option 
19324 \family sans
19325 Rotate\InsetSpace ~
19326 sideways
19327 \family default
19328 .
19329 \end_layout
19330
19331 \begin_layout Standard
19332 Rotated floats are always placed on its own page (or column, when you have
19333  a two-column document).
19334  They are normally rotated so that you can read them from the outside margin
19335  -- to the left on even pages, to the right on odd pages.
19336  To force a certain rotation direction for all pages, you can add either
19337  the option 
19338 \series bold
19339 f\SpecialChar \textcompwordmark{}
19340 iguresleft
19341 \series default
19342  or 
19343 \series bold
19344 f\SpecialChar \textcompwordmark{}
19345 iguresright
19346 \series default
19347  to the document class options.
19348 \end_layout
19349
19350 \begin_layout Standard
19351 Referencing rotated floats is the same like for normal floats, the caption
19352  format is also the same: Table\InsetSpace ~
19353
19354 \begin_inset LatexCommand ref
19355 reference "tab:Rotated-table"
19356
19357 \end_inset
19358
19359  is an example of a rotated table float.
19360 \end_layout
19361
19362 \begin_layout Standard
19363 \begin_inset Note Greyedout
19364 status open
19365
19366 \begin_layout Standard
19367
19368 \series bold
19369 Note:
19370 \series default
19371  Not all DVI-viewers are able to display rotated floats.
19372 \end_layout
19373
19374 \end_inset
19375
19376
19377 \end_layout
19378
19379 \begin_layout Standard
19380 \begin_inset Float table
19381 wide false
19382 sideways true
19383 status open
19384
19385 \begin_layout Standard
19386 \begin_inset Caption
19387
19388 \begin_layout Standard
19389 \begin_inset LatexCommand label
19390 name "tab:Rotated-table"
19391
19392 \end_inset
19393
19394  Rotated table
19395 \end_layout
19396
19397 \end_inset
19398
19399
19400 \end_layout
19401
19402 \begin_layout Standard
19403 \align center
19404 \begin_inset Tabular
19405 <lyxtabular version="3" rows="1" columns="5">
19406 <features>
19407 <column alignment="center" valignment="top" leftline="true" width="0">
19408 <column alignment="center" valignment="top" leftline="true" width="0">
19409 <column alignment="center" valignment="top" leftline="true" width="0">
19410 <column alignment="center" valignment="top" leftline="true" width="0">
19411 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
19412 <row topline="true" bottomline="true">
19413 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19414 \begin_inset Text
19415
19416 \begin_layout Standard
19417 test
19418 \end_layout
19419
19420 \end_inset
19421 </cell>
19422 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19423 \begin_inset Text
19424
19425 \begin_layout Standard
19426 b
19427 \end_layout
19428
19429 \end_inset
19430 </cell>
19431 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19432 \begin_inset Text
19433
19434 \begin_layout Standard
19435 c
19436 \end_layout
19437
19438 \end_inset
19439 </cell>
19440 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19441 \begin_inset Text
19442
19443 \begin_layout Standard
19444 d
19445 \end_layout
19446
19447 \end_inset
19448 </cell>
19449 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19450 \begin_inset Text
19451
19452 \begin_layout Standard
19453 e
19454 \end_layout
19455
19456 \end_inset
19457 </cell>
19458 </row>
19459 </lyxtabular>
19460
19461 \end_inset
19462
19463
19464 \end_layout
19465
19466 \end_inset
19467
19468
19469 \end_layout
19470
19471 \begin_layout Section
19472 Caption Formatting
19473 \begin_inset LatexCommand index
19474 name "Caption ! Formatting"
19475
19476 \end_inset
19477
19478
19479 \begin_inset LatexCommand index
19480 name "Floats ! Caption Formatting"
19481
19482 \end_inset
19483
19484
19485 \begin_inset LatexCommand index
19486 name "LaTeX-packages ! caption"
19487
19488 \end_inset
19489
19490
19491 \begin_inset LatexCommand label
19492 name "sec:Caption-Formatting"
19493
19494 \end_inset
19495
19496
19497 \end_layout
19498
19499 \begin_layout Standard
19500 The 
19501 \family sans
19502 Caption
19503 \family default
19504  environment is the default paragraph environment for 
19505 \family sans
19506 Floats
19507 \family default
19508 .
19509  On the LyX screen captions appear as label, e.\InsetSpace \thinspace{}
19510 g.\InsetSpace ~
19511
19512 \begin_inset Quotes eld
19513 \end_inset
19514
19515
19516 \family sans
19517 Figure #:
19518 \family default
19519
19520 \begin_inset Quotes erd
19521 \end_inset
19522
19523  followed by the caption text.
19524  
19525 \begin_inset Quotes eld
19526 \end_inset
19527
19528 #
19529 \begin_inset Quotes erd
19530 \end_inset
19531
19532  is the actual reference number.
19533  By default the label and the number are in the same font as the caption
19534  text and a colon follows the number to divide the label from the text.
19535  This caption format is not suitable for all document formats.
19536  
19537 \end_layout
19538
19539 \begin_layout Standard
19540 To change the default caption format, load the LaTeX-package 
19541 \series bold
19542 caption
19543 \series default
19544
19545 \begin_inset LatexCommand index
19546 name "LaTeX-packages ! caption"
19547
19548 \end_inset
19549
19550  in the document preamble with this line:
19551 \end_layout
19552
19553 \begin_layout Standard
19554
19555 \series bold
19556
19557 \backslash
19558 usepackage[format definition]{caption}
19559 \end_layout
19560
19561 \begin_layout Standard
19562 To have for example the label and the number in sans-serif bold font and
19563  the table captions always above the table like in this document, use the
19564  following command:
19565 \end_layout
19566
19567 \begin_layout Standard
19568
19569 \series bold
19570
19571 \backslash
19572 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
19573 \end_layout
19574
19575 \begin_layout Standard
19576 You can also define different caption formats for the different float types.
19577  In this case load the 
19578 \series bold
19579 caption
19580 \series default
19581  package without format specific options and define the different formats
19582  with the help of the command
19583 \end_layout
19584
19585 \begin_layout Standard
19586
19587 \series bold
19588
19589 \backslash
19590 captionsetup[float type]{format definition}
19591 \end_layout
19592
19593 \begin_layout Standard
19594 in the document preamble.
19595  For example the caption formats of Figure\InsetSpace ~
19596
19597 \begin_inset LatexCommand ref
19598 reference "fig:This-is-an-fig"
19599
19600 \end_inset
19601
19602  and Table\InsetSpace ~
19603
19604 \begin_inset LatexCommand ref
19605 reference "tab:This-is-an-tab"
19606
19607 \end_inset
19608
19609  can be created using these commands in the document preamble:
19610 \end_layout
19611
19612 \begin_layout Standard
19613
19614 \series bold
19615
19616 \backslash
19617 usepackage[tableposition=top]{caption}
19618 \series default
19619
19620 \newline
19621
19622 \series bold
19623
19624 \backslash
19625 captionsetup[f\SpecialChar \textcompwordmark{}
19626 igure]{labelfont={tt}, textfont=it, indention=1cm,%
19627 \newline
19628
19629 \begin_inset ERT
19630 status collapsed
19631
19632 \begin_layout Standard
19633
19634
19635 \backslash
19636 hphantom{
19637 \backslash
19638
19639 \backslash
19640 captionsetup[figure]
19641 \backslash
19642 {}
19643 \end_layout
19644
19645 \end_inset
19646
19647  labelsep=period}
19648 \newline
19649
19650 \backslash
19651 captionsetup[table]{labelfont={bf,sf}}
19652 \end_layout
19653
19654 \begin_layout Standard
19655 \begin_inset Note Greyedout
19656 status open
19657
19658 \begin_layout Standard
19659
19660 \series bold
19661 Note:
19662 \series default
19663  The option 
19664 \series bold
19665 tableposition=top
19666 \series default
19667  has no effect when a 
19668 \series bold
19669 koma-script
19670 \series default
19671
19672 \begin_inset LatexCommand index
19673 name "LaTeX-packages ! koma-script"
19674
19675 \end_inset
19676
19677  document class is used.
19678  In this case the document class option 
19679 \series bold
19680 tablecaptionabove
19681 \series default
19682  must be used.
19683 \end_layout
19684
19685 \end_inset
19686
19687
19688 \end_layout
19689
19690 \begin_layout Standard
19691 For more information about the package 
19692 \series bold
19693 caption
19694 \series default
19695  we refer to its documentation 
19696 \begin_inset LatexCommand cite
19697 key "caption,caption-de"
19698
19699 \end_inset
19700
19701 .
19702 \end_layout
19703
19704 \begin_layout Standard
19705 To change the label name from e.g.
19706  
19707 \begin_inset Quotes eld
19708 \end_inset
19709
19710 Figure
19711 \begin_inset Quotes erd
19712 \end_inset
19713
19714  to 
19715 \begin_inset Quotes eld
19716 \end_inset
19717
19718 Image
19719 \begin_inset Quotes erd
19720 \end_inset
19721
19722  use this preamble command:
19723 \end_layout
19724
19725 \begin_layout Standard
19726
19727 \series bold
19728
19729 \backslash
19730 renewcommand{
19731 \backslash
19732 fnum@figure}{Image~
19733 \backslash
19734 thefigure}
19735 \end_layout
19736
19737 \begin_layout Standard
19738 where 
19739 \series bold
19740
19741 \backslash
19742 thefigure
19743 \series default
19744  inserts the figure number and
19745 \series bold
19746  
19747 \begin_inset Quotes eld
19748 \end_inset
19749
19750 ~
19751 \series default
19752
19753 \begin_inset Quotes erd
19754 \end_inset
19755
19756  creates a protected space.
19757 \end_layout
19758
19759 \begin_layout Standard
19760 \begin_inset VSpace bigskip
19761 \end_inset
19762
19763 If you are using a 
19764 \series bold
19765 koma-script
19766 \series default
19767
19768 \begin_inset LatexCommand index
19769 name "LaTeX-packages ! koma-script"
19770
19771 \end_inset
19772
19773  document class (
19774 \family sans
19775 article (koma-script)
19776 \family default
19777
19778 \family sans
19779 book (koma-script)
19780 \family default
19781
19782 \family sans
19783 letter (koma-script)
19784 \family default
19785 , or 
19786 \family sans
19787 report (koma-script)
19788 \family default
19789 \InsetSpace \thinspace{}
19790 ), you can alternatively to the 
19791 \series bold
19792 caption
19793 \series default
19794  package use 
19795 \series bold
19796 koma-script
19797 \series default
19798 's built-in command 
19799 \series bold
19800
19801 \backslash
19802 setkomafont
19803 \series default
19804 .
19805  For example, to have the caption label in bold, add this command to your
19806  document preamble:
19807 \end_layout
19808
19809 \begin_layout Standard
19810
19811 \series bold
19812
19813 \backslash
19814 setkomafont{captionlabel}{
19815 \backslash
19816 bfseries}
19817 \end_layout
19818
19819 \begin_layout Standard
19820 For more information about 
19821 \series bold
19822
19823 \backslash
19824 setkomafont
19825 \series default
19826  we refer to the 
19827 \series bold
19828 koma-script
19829 \series default
19830  documentation 
19831 \begin_inset LatexCommand cite
19832 key "koma-script,koma-script-de"
19833
19834 \end_inset
19835
19836 .
19837 \end_layout
19838
19839 \begin_layout Standard
19840 \begin_inset ERT
19841 status collapsed
19842
19843 \begin_layout Standard
19844
19845
19846 \backslash
19847 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
19848 }
19849 \end_layout
19850
19851 \end_inset
19852
19853
19854 \begin_inset Note Note
19855 status open
19856
19857 \begin_layout Standard
19858 The caption format is changed only for this example.
19859 \end_layout
19860
19861 \end_inset
19862
19863
19864 \end_layout
19865
19866 \begin_layout Standard
19867 \begin_inset Float figure
19868 placement !p
19869 wide false
19870 sideways false
19871 status open
19872
19873 \begin_layout Standard
19874 \align center
19875 \begin_inset Graphics
19876         filename clipart/mobius.eps
19877         lyxscale 50
19878         scale 50
19879         scaleBeforeRotation
19880
19881 \end_inset
19882
19883
19884 \end_layout
19885
19886 \begin_layout Standard
19887 \begin_inset Caption
19888
19889 \begin_layout Standard
19890 \begin_inset LatexCommand label
19891 name "fig:This-is-an-fig"
19892
19893 \end_inset
19894
19895 This is an example figure caption that is longer than one line to show the
19896  different caption format.
19897  Here a self-defined caption format is used.
19898 \end_layout
19899
19900 \end_inset
19901
19902
19903 \end_layout
19904
19905 \end_inset
19906
19907
19908 \end_layout
19909
19910 \begin_layout Standard
19911 \begin_inset ERT
19912 status collapsed
19913
19914 \begin_layout Standard
19915
19916
19917 \backslash
19918 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
19919 on}
19920 \end_layout
19921
19922 \end_inset
19923
19924
19925 \end_layout
19926
19927 \begin_layout Standard
19928 \begin_inset Float table
19929 placement !p
19930 wide false
19931 sideways false
19932 status open
19933
19934 \begin_layout Standard
19935 \begin_inset Caption
19936
19937 \begin_layout Standard
19938 \begin_inset LatexCommand label
19939 name "tab:This-is-an-tab"
19940
19941 \end_inset
19942
19943 This is an example table caption that is longer than one line to show the
19944  different caption format.
19945  Here the standard caption format for tables in this document is used.
19946 \end_layout
19947
19948 \end_inset
19949
19950
19951 \end_layout
19952
19953 \begin_layout Standard
19954 \align center
19955 \begin_inset Tabular
19956 <lyxtabular version="3" rows="1" columns="5">
19957 <features>
19958 <column alignment="center" valignment="top" leftline="true" width="0">
19959 <column alignment="center" valignment="top" leftline="true" width="0">
19960 <column alignment="center" valignment="top" leftline="true" width="0">
19961 <column alignment="center" valignment="top" leftline="true" width="0">
19962 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
19963 <row topline="true" bottomline="true">
19964 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19965 \begin_inset Text
19966
19967 \begin_layout Standard
19968 a
19969 \end_layout
19970
19971 \end_inset
19972 </cell>
19973 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19974 \begin_inset Text
19975
19976 \begin_layout Standard
19977 b
19978 \end_layout
19979
19980 \end_inset
19981 </cell>
19982 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19983 \begin_inset Text
19984
19985 \begin_layout Standard
19986 c
19987 \end_layout
19988
19989 \end_inset
19990 </cell>
19991 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19992 \begin_inset Text
19993
19994 \begin_layout Standard
19995 d
19996 \end_layout
19997
19998 \end_inset
19999 </cell>
20000 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20001 \begin_inset Text
20002
20003 \begin_layout Standard
20004 e
20005 \end_layout
20006
20007 \end_inset
20008 </cell>
20009 </row>
20010 </lyxtabular>
20011
20012 \end_inset
20013
20014
20015 \end_layout
20016
20017 \end_inset
20018
20019
20020 \end_layout
20021
20022 \begin_layout Section
20023 Caption Placement
20024 \begin_inset LatexCommand index
20025 name "Caption ! Placement"
20026
20027 \end_inset
20028
20029
20030 \begin_inset LatexCommand index
20031 name "Floats ! Caption Placement"
20032
20033 \end_inset
20034
20035
20036 \begin_inset LatexCommand label
20037 name "sec:Caption-Placement"
20038
20039 \end_inset
20040
20041
20042 \end_layout
20043
20044 \begin_layout Standard
20045 The common caption placement rule is:
20046 \end_layout
20047
20048 \begin_layout Description
20049 Figure: Caption is set below the figure
20050 \end_layout
20051
20052 \begin_layout Description
20053 Table: Caption is set above the table
20054 \end_layout
20055
20056 \begin_layout Standard
20057 Having the caption above the table is unfortunately not supported in LaTeX's
20058  standard classes.
20059  That means if you are using the document classes 
20060 \family sans
20061 article
20062 \family default
20063
20064 \family sans
20065 book
20066 \family default
20067
20068 \family sans
20069 letter
20070 \family default
20071 , or 
20072 \family sans
20073 report
20074 \family default
20075  there will be no space between the caption and the table.
20076  To insert the needed space, add the following option to the load command
20077  of the LaTeX-package 
20078 \series bold
20079 caption
20080 \series default
20081  in your document preamble
20082 \begin_inset Foot
20083 status collapsed
20084
20085 \begin_layout Standard
20086 See section\InsetSpace ~
20087
20088 \begin_inset LatexCommand ref
20089 reference "sec:Caption-Formatting"
20090
20091 \end_inset
20092
20093  for more information of the package 
20094 \series bold
20095 caption
20096 \series default
20097 .
20098 \end_layout
20099
20100 \end_inset
20101
20102 :
20103 \end_layout
20104
20105 \begin_layout Standard
20106
20107 \series bold
20108 tableposition=top
20109 \end_layout
20110
20111 \begin_layout Standard
20112 If you are using a 
20113 \series bold
20114 koma-script
20115 \series default
20116
20117 \begin_inset LatexCommand index
20118 name "LaTeX-packages ! koma-script"
20119
20120 \end_inset
20121
20122  document class (
20123 \family sans
20124 article (koma-script)
20125 \family default
20126
20127 \family sans
20128 book (koma-script)
20129 \family default
20130
20131 \family sans
20132 letter (koma-script)
20133 \family default
20134 , or 
20135 \family sans
20136 report (koma-script)
20137 \family default
20138 \InsetSpace \thinspace{}
20139 ), you can alternatively to the 
20140 \series bold
20141 caption
20142 \series default
20143  package set the document class option 
20144 \series bold
20145 tablecaptionabove
20146 \series default
20147 .
20148 \end_layout
20149
20150 \begin_layout Standard
20151 \begin_inset VSpace bigskip
20152 \end_inset
20153
20154 It is also possible to set the caption beside a figure or table.
20155  To get this the LaTeX-package 
20156 \series bold
20157 sidecap
20158 \series default
20159
20160 \begin_inset LatexCommand index
20161 name "LaTeX-packages ! sidecap"
20162
20163 \end_inset
20164
20165  has to be loaded in the document preamble with the line
20166 \end_layout
20167
20168 \begin_layout Standard
20169
20170 \series bold
20171
20172 \backslash
20173 usepackage[option]{sidecap}
20174 \end_layout
20175
20176 \begin_layout Standard
20177 If you set no option, the caption is placed on the side of the outer page
20178  margin -- to the right on odd pages, to the left on even pages.
20179  You can change the placement to inner margin with the option 
20180 \series bold
20181 innercaption
20182 \series default
20183 .
20184  To force the placement always to the right or left, use the option 
20185 \series bold
20186 rightcaption
20187 \series default
20188  or 
20189 \series bold
20190 leftcaption
20191 \series default
20192 , respectively.
20193 \end_layout
20194
20195 \begin_layout Standard
20196 To place in LyX the caption of a float on the side, it is necessary to add
20197  these commands to the document preamble:
20198 \end_layout
20199
20200 \begin_layout Standard
20201
20202 \lyxline
20203
20204 \end_layout
20205
20206 \begin_layout Standard
20207
20208 \series bold
20209
20210 \backslash
20211 newcommand{
20212 \backslash
20213 TabBesBeg}{%
20214 \newline
20215
20216 \begin_inset ERT
20217 status collapsed
20218
20219 \begin_layout Standard
20220
20221
20222 \backslash
20223 hphantom{ }
20224 \end_layout
20225
20226 \end_inset
20227
20228
20229 \backslash
20230 let
20231 \backslash
20232 MyTable
20233 \backslash
20234 table
20235 \newline
20236
20237 \begin_inset ERT
20238 status collapsed
20239
20240 \begin_layout Standard
20241
20242
20243 \backslash
20244 hphantom{ }
20245 \end_layout
20246
20247 \end_inset
20248
20249
20250 \backslash
20251 let
20252 \backslash
20253 MyEndtable
20254 \backslash
20255 endtable
20256 \newline
20257
20258 \begin_inset ERT
20259 status collapsed
20260
20261 \begin_layout Standard
20262
20263
20264 \backslash
20265 hphantom{ }
20266 \end_layout
20267
20268 \end_inset
20269
20270
20271 \backslash
20272 renewenvironment{table}{
20273 \backslash
20274 begin{SCtable}}{
20275 \backslash
20276 end{SCtable}}}
20277 \end_layout
20278
20279 \begin_layout Standard
20280
20281 \series bold
20282
20283 \backslash
20284 newcommand{
20285 \backslash
20286 TabBesEnd}{%
20287 \newline
20288
20289 \begin_inset ERT
20290 status collapsed
20291
20292 \begin_layout Standard
20293
20294
20295 \backslash
20296 hphantom{ }
20297 \end_layout
20298
20299 \end_inset
20300
20301
20302 \backslash
20303 let
20304 \backslash
20305 table
20306 \backslash
20307 MyTable
20308 \newline
20309
20310 \begin_inset ERT
20311 status collapsed
20312
20313 \begin_layout Standard
20314
20315
20316 \backslash
20317 hphantom{ }
20318 \end_layout
20319
20320 \end_inset
20321
20322
20323 \backslash
20324 let
20325 \backslash
20326 endtable
20327 \backslash
20328 MyEndtable
20329 \end_layout
20330
20331 \begin_layout Standard
20332
20333 \series bold
20334
20335 \backslash
20336 newcommand{
20337 \backslash
20338 FigBesBeg}{%
20339 \newline
20340
20341 \begin_inset ERT
20342 status collapsed
20343
20344 \begin_layout Standard
20345
20346
20347 \backslash
20348 hphantom{ }
20349 \end_layout
20350
20351 \end_inset
20352
20353
20354 \backslash
20355 let
20356 \backslash
20357 MyFigure
20358 \backslash
20359 f\SpecialChar \textcompwordmark{}
20360 igure
20361 \newline
20362
20363 \begin_inset ERT
20364 status collapsed
20365
20366 \begin_layout Standard
20367
20368
20369 \backslash
20370 hphantom{ }
20371 \end_layout
20372
20373 \end_inset
20374
20375
20376 \backslash
20377 let
20378 \backslash
20379 MyEndf\SpecialChar \textcompwordmark{}
20380 igure
20381 \backslash
20382 endf\SpecialChar \textcompwordmark{}
20383 igure
20384 \newline
20385
20386 \begin_inset ERT
20387 status collapsed
20388
20389 \begin_layout Standard
20390
20391
20392 \backslash
20393 hphantom{ }
20394 \end_layout
20395
20396 \end_inset
20397
20398
20399 \backslash
20400 renewenvironment{f\SpecialChar \textcompwordmark{}
20401 igure}{
20402 \backslash
20403 begin{SCf\SpecialChar \textcompwordmark{}
20404 igure}}{
20405 \backslash
20406 end{SCf\SpecialChar \textcompwordmark{}
20407 igure}}}
20408 \end_layout
20409
20410 \begin_layout Standard
20411
20412 \series bold
20413
20414 \backslash
20415 newcommand{
20416 \backslash
20417 FigBesEnd}{%
20418 \newline
20419
20420 \begin_inset ERT
20421 status collapsed
20422
20423 \begin_layout Standard
20424
20425
20426 \backslash
20427 hphantom{ }
20428 \end_layout
20429
20430 \end_inset
20431
20432
20433 \backslash
20434 let
20435 \backslash
20436 f\SpecialChar \textcompwordmark{}
20437 igure
20438 \backslash
20439 MyFigure
20440 \newline
20441
20442 \begin_inset ERT
20443 status collapsed
20444
20445 \begin_layout Standard
20446
20447
20448 \backslash
20449 hphantom{ }
20450 \end_layout
20451
20452 \end_inset
20453
20454
20455 \backslash
20456 let
20457 \backslash
20458 endf\SpecialChar \textcompwordmark{}
20459 igure
20460 \backslash
20461 MyEndf\SpecialChar \textcompwordmark{}
20462 igure}
20463 \end_layout
20464
20465 \begin_layout Standard
20466
20467 \lyxline
20468
20469 \end_layout
20470
20471 \begin_layout Standard
20472 The commands allow you to redefine the floats so that the caption is set
20473  on the side.
20474  For figure floats use the command
20475 \end_layout
20476
20477 \begin_layout Standard
20478
20479 \series bold
20480
20481 \backslash
20482 FigBesBeg
20483 \end_layout
20484
20485 \begin_layout Standard
20486 in ERT before the float.
20487  Behind the float insert the command
20488 \end_layout
20489
20490 \begin_layout Standard
20491
20492 \series bold
20493
20494 \backslash
20495 FigBesEnd
20496 \end_layout
20497
20498 \begin_layout Standard
20499 in ERT to get back to the original float definition.
20500 \end_layout
20501
20502 \begin_layout Standard
20503 For table floats use the corresponding commands
20504 \end_layout
20505
20506 \begin_layout Standard
20507
20508 \series bold
20509
20510 \backslash
20511 TabBesBeg
20512 \series default
20513  and 
20514 \series bold
20515
20516 \backslash
20517 TabBesEnd
20518 \end_layout
20519
20520 \begin_layout Standard
20521 Figure\InsetSpace ~
20522
20523 \begin_inset LatexCommand ref
20524 reference "fig:cap-beside-fig"
20525
20526 \end_inset
20527
20528  and Table\InsetSpace ~
20529
20530 \begin_inset LatexCommand ref
20531 reference "tab:cap-beside-tab"
20532
20533 \end_inset
20534
20535  are examples where the caption is set beside.
20536 \end_layout
20537
20538 \begin_layout Standard
20539 You can see in the examples that the caption text appears at the top of
20540  the floats for table floats and at the bottom for figure floats.
20541  To change this, you can use the command
20542 \end_layout
20543
20544 \begin_layout Standard
20545
20546 \series bold
20547
20548 \backslash
20549 sidecaptionvpos{float type}{placement}
20550 \end_layout
20551
20552 \begin_layout Standard
20553 in the document preamble or in ERT before the float.
20554  The float type is either 
20555 \family sans
20556 figure
20557 \family default
20558  or 
20559 \family sans
20560 table
20561 \family default
20562 , the placement can be 
20563 \begin_inset Quotes eld
20564 \end_inset
20565
20566
20567 \family sans
20568 t
20569 \family default
20570
20571 \begin_inset Quotes erd
20572 \end_inset
20573
20574  for top, 
20575 \begin_inset Quotes eld
20576 \end_inset
20577
20578
20579 \family sans
20580 c
20581 \family default
20582
20583 \begin_inset Quotes erd
20584 \end_inset
20585
20586  for center, or 
20587 \begin_inset Quotes eld
20588 \end_inset
20589
20590
20591 \family sans
20592 b
20593 \family default
20594
20595 \begin_inset Quotes erd
20596 \end_inset
20597
20598  for bottom.
20599  To have for example the caption of figure floats vertically centered, use
20600  the command
20601 \end_layout
20602
20603 \begin_layout Standard
20604
20605 \series bold
20606
20607 \backslash
20608 sidecaptionvpos{f\SpecialChar \textcompwordmark{}
20609 igure}{c}
20610 \end_layout
20611
20612 \begin_layout Standard
20613 This was used for Figure\InsetSpace ~
20614
20615 \begin_inset LatexCommand ref
20616 reference "fig:cap-beside-fig-2"
20617
20618 \end_inset
20619
20620 .
20621 \end_layout
20622
20623 \begin_layout Standard
20624 \begin_inset VSpace medskip
20625 \end_inset
20626
20627 For more information about the package 
20628 \series bold
20629 sidecap
20630 \series default
20631  we refer to its documentation 
20632 \begin_inset LatexCommand cite
20633 key "sidecap"
20634
20635 \end_inset
20636
20637 .
20638 \end_layout
20639
20640 \begin_layout Standard
20641 \begin_inset Note Greyedout
20642 status open
20643
20644 \begin_layout Standard
20645
20646 \series bold
20647 Note:
20648 \series default
20649  The LaTeX-package 
20650 \series bold
20651 hypcap
20652 \series default
20653
20654 \begin_inset LatexCommand index
20655 name "LaTeX-packages ! hypcap"
20656
20657 \end_inset
20658
20659 , described in section\InsetSpace ~
20660
20661 \begin_inset LatexCommand ref
20662 reference "sub:Reference-Position"
20663
20664 \end_inset
20665
20666 , has no effect on floats with the caption set beside.
20667 \end_layout
20668
20669 \end_inset
20670
20671
20672 \end_layout
20673
20674 \begin_layout Standard
20675 \begin_inset ERT
20676 status collapsed
20677
20678 \begin_layout Standard
20679
20680
20681 \backslash
20682 FigBesBeg 
20683 \end_layout
20684
20685 \end_inset
20686
20687
20688 \end_layout
20689
20690 \begin_layout Standard
20691 \begin_inset Float figure
20692 wide false
20693 sideways false
20694 status open
20695
20696 \begin_layout Standard
20697 \begin_inset Graphics
20698         filename clipart/escher-lsd.eps
20699         scale 75
20700         scaleBeforeRotation
20701
20702 \end_inset
20703
20704
20705 \end_layout
20706
20707 \begin_layout Standard
20708 \begin_inset Caption
20709
20710 \begin_layout Standard
20711 \begin_inset LatexCommand label
20712 name "fig:cap-beside-fig"
20713
20714 \end_inset
20715
20716 This is a caption beside a figure.
20717 \end_layout
20718
20719 \end_inset
20720
20721
20722 \end_layout
20723
20724 \end_inset
20725
20726
20727 \end_layout
20728
20729 \begin_layout Standard
20730 \begin_inset ERT
20731 status collapsed
20732
20733 \begin_layout Standard
20734
20735
20736 \backslash
20737 TabBesBeg 
20738 \end_layout
20739
20740 \end_inset
20741
20742
20743 \end_layout
20744
20745 \begin_layout Standard
20746 \begin_inset Float table
20747 wide false
20748 sideways false
20749 status open
20750
20751 \begin_layout Standard
20752 \begin_inset Caption
20753
20754 \begin_layout Standard
20755 \begin_inset LatexCommand label
20756 name "tab:cap-beside-tab"
20757
20758 \end_inset
20759
20760 This is a caption beside a table.
20761 \end_layout
20762
20763 \end_inset
20764
20765
20766 \end_layout
20767
20768 \begin_layout Standard
20769 \begin_inset Tabular
20770 <lyxtabular version="3" rows="4" columns="5">
20771 <features>
20772 <column alignment="center" valignment="top" leftline="true" width="0">
20773 <column alignment="center" valignment="top" leftline="true" width="0">
20774 <column alignment="center" valignment="top" leftline="true" width="0">
20775 <column alignment="center" valignment="top" leftline="true" width="0">
20776 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
20777 <row topline="true">
20778 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20779 \begin_inset Text
20780
20781 \begin_layout Standard
20782 a
20783 \end_layout
20784
20785 \end_inset
20786 </cell>
20787 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20788 \begin_inset Text
20789
20790 \begin_layout Standard
20791
20792 \end_layout
20793
20794 \end_inset
20795 </cell>
20796 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20797 \begin_inset Text
20798
20799 \begin_layout Standard
20800 b
20801 \end_layout
20802
20803 \end_inset
20804 </cell>
20805 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20806 \begin_inset Text
20807
20808 \begin_layout Standard
20809
20810 \end_layout
20811
20812 \end_inset
20813 </cell>
20814 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20815 \begin_inset Text
20816
20817 \begin_layout Standard
20818 c
20819 \end_layout
20820
20821 \end_inset
20822 </cell>
20823 </row>
20824 <row topline="true">
20825 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20826 \begin_inset Text
20827
20828 \begin_layout Standard
20829
20830 \end_layout
20831
20832 \end_inset
20833 </cell>
20834 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20835 \begin_inset Text
20836
20837 \begin_layout Standard
20838 d
20839 \end_layout
20840
20841 \end_inset
20842 </cell>
20843 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20844 \begin_inset Text
20845
20846 \begin_layout Standard
20847
20848 \end_layout
20849
20850 \end_inset
20851 </cell>
20852 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20853 \begin_inset Text
20854
20855 \begin_layout Standard
20856 e
20857 \end_layout
20858
20859 \end_inset
20860 </cell>
20861 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20862 \begin_inset Text
20863
20864 \begin_layout Standard
20865
20866 \end_layout
20867
20868 \end_inset
20869 </cell>
20870 </row>
20871 <row topline="true">
20872 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20873 \begin_inset Text
20874
20875 \begin_layout Standard
20876 f
20877 \end_layout
20878
20879 \end_inset
20880 </cell>
20881 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20882 \begin_inset Text
20883
20884 \begin_layout Standard
20885
20886 \end_layout
20887
20888 \end_inset
20889 </cell>
20890 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20891 \begin_inset Text
20892
20893 \begin_layout Standard
20894 g
20895 \end_layout
20896
20897 \end_inset
20898 </cell>
20899 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20900 \begin_inset Text
20901
20902 \begin_layout Standard
20903
20904 \end_layout
20905
20906 \end_inset
20907 </cell>
20908 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20909 \begin_inset Text
20910
20911 \begin_layout Standard
20912 h
20913 \end_layout
20914
20915 \end_inset
20916 </cell>
20917 </row>
20918 <row topline="true" bottomline="true">
20919 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20920 \begin_inset Text
20921
20922 \begin_layout Standard
20923
20924 \end_layout
20925
20926 \end_inset
20927 </cell>
20928 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20929 \begin_inset Text
20930
20931 \begin_layout Standard
20932 i
20933 \end_layout
20934
20935 \end_inset
20936 </cell>
20937 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20938 \begin_inset Text
20939
20940 \begin_layout Standard
20941
20942 \end_layout
20943
20944 \end_inset
20945 </cell>
20946 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20947 \begin_inset Text
20948
20949 \begin_layout Standard
20950 j
20951 \end_layout
20952
20953 \end_inset
20954 </cell>
20955 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20956 \begin_inset Text
20957
20958 \begin_layout Standard
20959
20960 \end_layout
20961
20962 \end_inset
20963 </cell>
20964 </row>
20965 </lyxtabular>
20966
20967 \end_inset
20968
20969
20970 \end_layout
20971
20972 \end_inset
20973
20974
20975 \end_layout
20976
20977 \begin_layout Standard
20978 \begin_inset ERT
20979 status collapsed
20980
20981 \begin_layout Standard
20982
20983
20984 \backslash
20985 TabBesEnd
20986 \end_layout
20987
20988 \end_inset
20989
20990
20991 \end_layout
20992
20993 \begin_layout Standard
20994 \begin_inset ERT
20995 status collapsed
20996
20997 \begin_layout Standard
20998
20999
21000 \backslash
21001 sidecaptionvpos{figure}{c}
21002 \end_layout
21003
21004 \end_inset
21005
21006
21007 \begin_inset Float figure
21008 wide false
21009 sideways false
21010 status open
21011
21012 \begin_layout Standard
21013 \begin_inset Graphics
21014         filename clipart/escher-lsd.eps
21015         scale 75
21016         scaleBeforeRotation
21017
21018 \end_inset
21019
21020
21021 \end_layout
21022
21023 \begin_layout Standard
21024 \begin_inset Caption
21025
21026 \begin_layout Standard
21027 \begin_inset LatexCommand label
21028 name "fig:cap-beside-fig-2"
21029
21030 \end_inset
21031
21032 This is a vertically centered caption beside a figure.
21033 \end_layout
21034
21035 \end_inset
21036
21037
21038 \end_layout
21039
21040 \end_inset
21041
21042
21043 \end_layout
21044
21045 \begin_layout Standard
21046 \begin_inset ERT
21047 status collapsed
21048
21049 \begin_layout Standard
21050
21051
21052 \backslash
21053 FigBesEnd
21054 \end_layout
21055
21056 \end_inset
21057
21058
21059 \end_layout
21060
21061 \begin_layout Section
21062 Listings of Floats
21063 \begin_inset LatexCommand label
21064 name "sec:Listings-of-Floats"
21065
21066 \end_inset
21067
21068
21069 \begin_inset LatexCommand index
21070 name "Floats ! Float Lists"
21071
21072 \end_inset
21073
21074
21075 \end_layout
21076
21077 \begin_layout Standard
21078 Similar to the the table of contents where the sections of the document
21079  are listed, there are listings for all float types, like the figures of
21080  the documents.
21081  You can insert them via the 
21082 \family sans
21083 Insert\SpecialChar \menuseparator
21084 List\InsetSpace ~
21085 /\InsetSpace ~
21086 TOC
21087 \family default
21088  sub menus.
21089 \end_layout
21090
21091 \begin_layout Standard
21092 The list entries are the float captions or its short title, the float number,
21093  and the page number where they appear in the document.
21094 \end_layout
21095
21096 \begin_layout Standard
21097 You can find the list of figures and tables at the end of this document.
21098 \end_layout
21099
21100 \begin_layout Chapter
21101 Notes
21102 \end_layout
21103
21104 \begin_layout Section
21105 \begin_inset ERT
21106 status collapsed
21107
21108 \begin_layout Standard
21109
21110
21111 \backslash
21112 texorpdfstring{
21113 \end_layout
21114
21115 \end_inset
21116
21117 LyX
21118 \begin_inset ERT
21119 status collapsed
21120
21121 \begin_layout Standard
21122
21123 }{LyX}
21124 \end_layout
21125
21126 \end_inset
21127
21128  Notes
21129 \begin_inset LatexCommand label
21130 name "sec:LyX-Notes"
21131
21132 \end_inset
21133
21134
21135 \begin_inset LatexCommand index
21136 name "Notes ! LyX Notes"
21137
21138 \end_inset
21139
21140
21141 \begin_inset Note Note
21142 status collapsed
21143
21144 \begin_layout Standard
21145 The command 
21146 \backslash
21147 texorpdfstring is provided by the LaTeX-package hyperref to avoid that ligatures
21148  are displayed wrongly in PDF-bookmarks.
21149  For more information about this, have a look at 
21150 \begin_inset LatexCommand cite
21151 key "hyperref"
21152
21153 \end_inset
21154
21155 .
21156 \end_layout
21157
21158 \end_inset
21159
21160
21161 \end_layout
21162
21163 \begin_layout Standard
21164 Notes are inserted with the toolbar button 
21165 \begin_inset Graphics
21166         filename ../images/note-insert.xpm
21167         scale 85
21168         scaleBeforeRotation
21169
21170 \end_inset
21171
21172  or the menu 
21173 \family sans
21174 Insert\SpecialChar \menuseparator
21175 Note
21176 \family default
21177 .
21178  There are five types of notes:
21179 \end_layout
21180
21181 \begin_layout Description
21182 LyX\InsetSpace ~
21183 Note This note type is for internal notes that won't appear in the output.
21184  Its note-box looks like this:
21185 \newline
21186
21187 \newline
21188
21189 \begin_inset Graphics
21190         filename clipart/LyXNoteImageQt4.png
21191         display none
21192         scale 85
21193         scaleBeforeRotation
21194
21195 \end_inset
21196
21197  
21198 \begin_inset Note Note
21199 status open
21200
21201 \begin_layout Standard
21202 This is text in a note box that doesn't appear in the output.
21203 \end_layout
21204
21205 \end_inset
21206
21207
21208 \end_layout
21209
21210 \begin_layout Description
21211 Comment This note also doesn't appear in the output but it appears as LaTeX-comm
21212 ent, when you export the document to LaTeX via the menu 
21213 \family sans
21214 File\SpecialChar \menuseparator
21215 Export\SpecialChar \menuseparator
21216 LaTeX (pdflatex) / LaTeX (plain)
21217 \family default
21218 .
21219  Its note-box looks like this:
21220 \newline
21221
21222 \newline
21223
21224 \begin_inset Graphics
21225         filename clipart/CommentNoteImageQt4.png
21226         display none
21227         scale 85
21228         scaleBeforeRotation
21229
21230 \end_inset
21231
21232  
21233 \begin_inset Note Comment
21234 status open
21235
21236 \begin_layout Standard
21237 This is text in a note box that only appears as comment in LaTeX-files.
21238 \end_layout
21239
21240 \end_inset
21241
21242
21243 \end_layout
21244
21245 \begin_layout Description
21246 Greyed\InsetSpace ~
21247 Out This note will appear in the output as grey text.
21248  Its note-box looks like this:
21249 \newline
21250
21251 \newline
21252
21253 \begin_inset Graphics
21254         filename clipart/GreyedOutNoteImageQt4.png
21255         display none
21256         scale 85
21257         scaleBeforeRotation
21258
21259 \end_inset
21260
21261
21262 \newline
21263
21264 \begin_inset ERT
21265 status collapsed
21266
21267 \begin_layout Standard
21268
21269
21270 \backslash
21271 renewenvironment{lyxgreyedout}
21272 \end_layout
21273
21274 \begin_layout Standard
21275
21276 {
21277 \backslash
21278 textcolor[gray]{0.8}
21279 \backslash
21280 bgroup}{
21281 \backslash
21282 egroup}
21283 \end_layout
21284
21285 \end_inset
21286
21287
21288 \begin_inset Note Greyedout
21289 status open
21290
21291 \begin_layout Standard
21292 This is text
21293 \begin_inset Foot
21294 status open
21295
21296 \begin_layout Standard
21297 This is an example footnote within a greyed out note.
21298 \end_layout
21299
21300 \end_inset
21301
21302  of a comment that appears in the output as grey text.
21303 \end_layout
21304
21305 \end_inset
21306
21307
21308 \begin_inset ERT
21309 status collapsed
21310
21311 \begin_layout Standard
21312
21313
21314 \backslash
21315 renewenvironment{lyxgreyedout}
21316 \end_layout
21317
21318 \begin_layout Standard
21319
21320 {
21321 \backslash
21322 textcolor{blue}
21323 \backslash
21324 bgroup}{
21325 \backslash
21326 egroup}
21327 \end_layout
21328
21329 \end_inset
21330
21331
21332 \begin_inset Note Note
21333 status collapsed
21334
21335 \begin_layout Standard
21336 The greyed out note is here redefined to show it with the original LyX definitio
21337 n because greyed out notes are redefined in the preamble of this document,
21338  as described below, to have blue text.
21339 \end_layout
21340
21341 \end_inset
21342
21343
21344 \newline
21345
21346 \newline
21347 As you can see in the example, the first line of greyed out notes is a bit
21348  indented and greyed out notes can have footnotes.
21349 \end_layout
21350
21351 \begin_layout Description
21352 Framed This note will appear in the output as framed text.
21353  Its note-box looks like this:
21354 \newline
21355
21356 \newline
21357
21358 \begin_inset Graphics
21359         filename clipart/FramedNoteImageQt4.png
21360         display none
21361         scale 85
21362         scaleBeforeRotation
21363
21364 \end_inset
21365
21366  
21367 \begin_inset Note Framed
21368 status open
21369
21370 \begin_layout Standard
21371 This is text in a note box that appears framed in the output.
21372 \end_layout
21373
21374 \end_inset
21375
21376  In contrary to framed boxes
21377 \begin_inset Foot
21378 status collapsed
21379
21380 \begin_layout Standard
21381 Framed boxes are described in section\InsetSpace ~
21382
21383 \begin_inset LatexCommand ref
21384 reference "sec:Framed-Boxes"
21385
21386 \end_inset
21387
21388 .
21389 \end_layout
21390
21391 \end_inset
21392
21393  the frame uses always the whole text width and the note is set into its
21394  own paragraph.
21395 \end_layout
21396
21397 \begin_layout Description
21398 Shaded This note will appear in the output with red background color.
21399  Its note box looks like this:
21400 \newline
21401
21402 \newline
21403
21404 \begin_inset Graphics
21405         filename clipart/ShadedNoteImageQt4.png
21406         display none
21407         scale 85
21408         scaleBeforeRotation
21409
21410 \end_inset
21411
21412
21413 \begin_inset Note Shaded
21414 status open
21415
21416 \begin_layout Standard
21417 This text in a note box appears in the output with red background.
21418 \end_layout
21419
21420 \end_inset
21421
21422 In contrary to colored boxes
21423 \begin_inset Foot
21424 status collapsed
21425
21426 \begin_layout Standard
21427 Colored boxes are described in section\InsetSpace ~
21428
21429 \begin_inset LatexCommand ref
21430 reference "sec:Colored-Boxes"
21431
21432 \end_inset
21433
21434 .
21435 \end_layout
21436
21437 \end_inset
21438
21439  the note uses always the whole text width and the note is set into its
21440  own paragraph.
21441 \end_layout
21442
21443 \begin_layout Standard
21444 \begin_inset VSpace bigskip
21445 \end_inset
21446
21447 When you use the toolbar button 
21448 \begin_inset Graphics
21449         filename ../images/note-insert.xpm
21450         scale 85
21451         scaleBeforeRotation
21452
21453 \end_inset
21454
21455  to insert notes, a 
21456 \family sans
21457 LyX\InsetSpace ~
21458 Note
21459 \family default
21460  is inserted.
21461  You can switch between the five note types by right-clicking on the note-box.
21462  
21463 \family roman
21464 \series medium
21465 \bar no
21466 If you want to turn existing text into a note, mark it and click on the
21467  note
21468 \family default
21469 \series default
21470 \bar default
21471  toolbar 
21472 \family roman
21473 \series medium
21474 \bar no
21475 button
21476 \family default
21477 \series default
21478 \bar default
21479 .
21480 \end_layout
21481
21482 \begin_layout Standard
21483 \begin_inset VSpace bigskip
21484 \end_inset
21485
21486 You can change the text color of the greyed out notes in the preamble with
21487  the following command:
21488 \end_layout
21489
21490 \begin_layout Standard
21491
21492 \series bold
21493
21494 \backslash
21495 renewenvironment{lyxgreyedout}
21496 \newline
21497
21498 \begin_inset ERT
21499 status collapsed
21500
21501 \begin_layout Standard
21502
21503
21504 \backslash
21505 hphantom{ }
21506 \end_layout
21507
21508 \end_inset
21509
21510 {
21511 \backslash
21512 textcolor{color}
21513 \backslash
21514 bgroup}{
21515 \backslash
21516 egroup}
21517 \end_layout
21518
21519 \begin_layout Standard
21520 The available colors and the method to define own colors is explained in
21521  section\InsetSpace ~
21522
21523 \begin_inset LatexCommand ref
21524 reference "sec:Colored-Tables"
21525
21526 \end_inset
21527
21528 .
21529 \end_layout
21530
21531 \begin_layout Standard
21532 Notes that appear in blue in this document are set using greyed out notes
21533  with blue text.
21534 \end_layout
21535
21536 \begin_layout Standard
21537 \begin_inset VSpace bigskip
21538 \end_inset
21539
21540
21541 \end_layout
21542
21543 \begin_layout Standard
21544 The text style of 
21545 \family sans
21546 Framed
21547 \family default
21548  and 
21549 \family sans
21550 Shaded
21551 \family default
21552  notes can be set in the 
21553 \family sans
21554 Text Style
21555 \family default
21556  dialog.
21557 \end_layout
21558
21559 \begin_layout Standard
21560 The default frame width for 
21561 \family sans
21562 Framed
21563 \family default
21564  notes is 0.4\InsetSpace \thinspace{}
21565 pt; it can be changed by changing the size 
21566 \series bold
21567
21568 \backslash
21569 FrameRule
21570 \series default
21571 .
21572  The default space between the note content and the frame is 9\InsetSpace \thinspace{}
21573 pt; it can
21574  be changed by changing the size 
21575 \series bold
21576
21577 \backslash
21578 FrameSep
21579 \series default
21580 .
21581  For example the frame appearance of the following 
21582 \family sans
21583 Framed
21584 \family default
21585  note is set with the ERT commands
21586 \end_layout
21587
21588 \begin_layout Standard
21589
21590 \series bold
21591
21592 \backslash
21593 FrameRule 5pt 
21594 \backslash
21595 FrameSep 0.5cm
21596 \end_layout
21597
21598 \begin_layout Standard
21599 \begin_inset ERT
21600 status collapsed
21601
21602 \begin_layout Standard
21603
21604
21605 \backslash
21606 FrameRule 5pt 
21607 \backslash
21608 FrameSep 0.5cm
21609 \end_layout
21610
21611 \end_inset
21612
21613
21614 \begin_inset Note Framed
21615 status open
21616
21617 \begin_layout Standard
21618 This is text in a 
21619 \family sans
21620 Framed
21621 \family default
21622  note.
21623 \end_layout
21624
21625 \end_inset
21626
21627
21628 \begin_inset ERT
21629 status collapsed
21630
21631 \begin_layout Standard
21632
21633
21634 \backslash
21635 FrameRule 0.4pt 
21636 \backslash
21637 FrameSep 9pt
21638 \end_layout
21639
21640 \end_inset
21641
21642
21643 \end_layout
21644
21645 \begin_layout Standard
21646 \begin_inset VSpace bigskip
21647 \end_inset
21648
21649
21650 \end_layout
21651
21652 \begin_layout Standard
21653 For 
21654 \family sans
21655 Shaded
21656 \family default
21657  notes the default space between the note content and the note border is
21658  3\InsetSpace \thinspace{}
21659 pt; it can be changed by changing the size 
21660 \series bold
21661
21662 \backslash
21663 fboxsep
21664 \series default
21665 .
21666 \newline
21667 The default background color red can be changed with the command 
21668 \series bold
21669
21670 \backslash
21671 def\SpecialChar \textcompwordmark{}
21672 inecolor{shadebox}
21673 \series default
21674 .
21675  The scheme of the 
21676 \series bold
21677
21678 \backslash
21679 def\SpecialChar \textcompwordmark{}
21680 inecolor
21681 \series default
21682  command is explained in section\InsetSpace ~
21683
21684 \begin_inset LatexCommand ref
21685 reference "sec:Colored-Tables"
21686
21687 \end_inset
21688
21689
21690 \begin_inset Foot
21691 status collapsed
21692
21693 \begin_layout Standard
21694 Note that 
21695 \series bold
21696
21697 \backslash
21698 def
21699 \series default
21700 \SpecialChar \textcompwordmark{}
21701
21702 \series bold
21703 inecolor
21704 \series default
21705  requires the LaTeX-package 
21706 \series bold
21707 color
21708 \series default
21709  in the preamble, see section\InsetSpace ~
21710
21711 \begin_inset LatexCommand ref
21712 reference "sec:Colored-Boxes"
21713
21714 \end_inset
21715
21716 .
21717 \end_layout
21718
21719 \end_inset
21720
21721 .
21722 \end_layout
21723
21724 \begin_layout Standard
21725 For example the appearance of the following 
21726 \family sans
21727 Shaded
21728 \family default
21729  note is set with the ERT commands
21730 \end_layout
21731
21732 \begin_layout Standard
21733
21734 \series bold
21735
21736 \backslash
21737 fboxsep 0.5cm
21738 \series default
21739
21740 \newline
21741
21742 \series bold
21743
21744 \backslash
21745 def\SpecialChar \textcompwordmark{}
21746 inecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
21747 \end_layout
21748
21749 \begin_layout Standard
21750 \begin_inset ERT
21751 status collapsed
21752
21753 \begin_layout Standard
21754
21755
21756 \backslash
21757 fboxsep 0.5cm
21758 \end_layout
21759
21760 \end_inset
21761
21762
21763 \begin_inset ERT
21764 status collapsed
21765
21766 \begin_layout Standard
21767
21768
21769 \backslash
21770 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
21771 \end_layout
21772
21773 \end_inset
21774
21775
21776 \begin_inset Note Shaded
21777 status open
21778
21779 \begin_layout Standard
21780
21781 \color yellow
21782 This is yellow text in a
21783 \color none
21784  
21785 \family sans
21786 \color yellow
21787 Shaded
21788 \family default
21789 \color none
21790  
21791 \color yellow
21792 note with darkgreen background.
21793 \end_layout
21794
21795 \end_inset
21796
21797
21798 \begin_inset ERT
21799 status collapsed
21800
21801 \begin_layout Standard
21802
21803
21804 \backslash
21805 fboxsep 3pt
21806 \end_layout
21807
21808 \end_inset
21809
21810
21811 \begin_inset ERT
21812 status collapsed
21813
21814 \begin_layout Standard
21815
21816
21817 \backslash
21818 definecolor{shadecolor}{rgb}{1,0,0}
21819 \end_layout
21820
21821 \end_inset
21822
21823
21824 \end_layout
21825
21826 \begin_layout Section
21827 Footnotes
21828 \begin_inset LatexCommand label
21829 name "sec:Footnotes"
21830
21831 \end_inset
21832
21833
21834 \begin_inset LatexCommand index
21835 name "Notes ! Footnotes"
21836
21837 \end_inset
21838
21839
21840 \begin_inset LatexCommand index
21841 name "Footnotes"
21842
21843 \end_inset
21844
21845
21846 \end_layout
21847
21848 \begin_layout Standard
21849 Footnotes can be inserted using the toolbar button 
21850 \begin_inset Graphics
21851         filename ../images/footnote-insert.xpm
21852         scale 85
21853         scaleBeforeRotation
21854
21855 \end_inset
21856
21857  or the menu 
21858 \family sans
21859 Insert\SpecialChar \menuseparator
21860 Footnote
21861 \family default
21862 .
21863  
21864 \family roman
21865 \series medium
21866 \bar no
21867 You'll see
21868 \family default
21869 \series default
21870 \bar default
21871  then the following footnote-box: 
21872 \begin_inset Graphics
21873         filename clipart/footnoteQt4.png
21874         scale 80
21875         scaleBeforeRotation
21876
21877 \end_inset
21878
21879  
21880 \family roman
21881 \series medium
21882 \bar no
21883 where you can enter the footnote text.
21884  If you want to turn existing text into a footnote, mark it and click on
21885  the footnote
21886 \family default
21887 \series default
21888 \bar default
21889  toolbar 
21890 \family roman
21891 \series medium
21892 \bar no
21893 button
21894 \family default
21895 \series default
21896 \bar default
21897 .
21898 \end_layout
21899
21900 \begin_layout Standard
21901 Here is an example footnote:
21902 \family roman
21903 \series medium
21904 \bar no
21905
21906 \begin_inset Foot
21907 status open
21908
21909 \begin_layout Standard
21910 \begin_inset LatexCommand label
21911 name "foot:This-is-an"
21912
21913 \end_inset
21914
21915 This is an example footnote.
21916 \end_layout
21917
21918 \end_inset
21919
21920
21921 \family default
21922 \series default
21923 \bar default
21924
21925 \begin_inset ERT
21926 status collapsed
21927
21928 \begin_layout Standard
21929
21930
21931 \backslash
21932 newcounter{MyRepeatFoot}
21933 \end_layout
21934
21935 \begin_layout Standard
21936
21937
21938 \backslash
21939 setcounter{MyRepeatFoot}{
21940 \backslash
21941 thefootnote}
21942 \end_layout
21943
21944 \end_inset
21945
21946
21947 \end_layout
21948
21949 \begin_layout Standard
21950 The footnote will appear in the output as a superscript number at the text
21951  position where the footnote box is placed.
21952  The footnote text is placed at the bottom of the current page.
21953  The footnote number is calculated by LaTeX, the numbers are consecutive.
21954  It depends on your document-class, if the footnote number is reset for
21955  every chapter.
21956 \end_layout
21957
21958 \begin_layout Standard
21959 Footnotes can be referenced like floats: Insert a label into the footnote
21960  and cross-reference this label in the text as described in section\InsetSpace ~
21961
21962 \begin_inset LatexCommand ref
21963 reference "sec:Referencing-Floats"
21964
21965 \end_inset
21966
21967 .
21968 \newline
21969 This is a cross-reference of Footnote\InsetSpace ~
21970
21971 \begin_inset LatexCommand ref
21972 reference "foot:This-is-an"
21973
21974 \end_inset
21975
21976 .
21977 \end_layout
21978
21979 \begin_layout Standard
21980 \begin_inset VSpace defskip
21981 \end_inset
21982
21983 To use footnotes within tables, you have to use minipages, see section\InsetSpace ~
21984
21985 \begin_inset LatexCommand ref
21986 reference "sec:Minipages"
21987
21988 \end_inset
21989
21990 .
21991  Footnotes within longtables are described in section\InsetSpace ~
21992
21993 \begin_inset LatexCommand ref
21994 reference "sub:Footnotes-in-Longtables"
21995
21996 \end_inset
21997
21998 .
21999 \end_layout
22000
22001 \begin_layout Standard
22002 \begin_inset VSpace defskip
22003 \end_inset
22004
22005 To create only a mark for a footnote, use the command 
22006 \series bold
22007
22008 \backslash
22009 footnotemark[number]
22010 \series default
22011  in ERT.
22012  This is used when you have the same annotation several times in a text
22013  but doesn't want to print the footnote text every time.
22014 \newline
22015 As you don't know
22016  the number of the repeating footnote while you are writing the text, you
22017  have to store its number.
22018  For the following footnote mark example, these commands were inserted in
22019  ERT behind Footnote\InsetSpace ~
22020
22021 \begin_inset LatexCommand ref
22022 reference "foot:This-is-an"
22023
22024 \end_inset
22025
22026  to store the footnote number:
22027 \end_layout
22028
22029 \begin_layout Standard
22030
22031 \series bold
22032
22033 \backslash
22034 newcounter{MyRepeatFoot}
22035 \newline
22036
22037 \backslash
22038 setcounter{MyRepeatFoot}{
22039 \backslash
22040 thefootnote}
22041 \end_layout
22042
22043 \begin_layout Standard
22044 The footnote mark was then created with this command:
22045 \end_layout
22046
22047 \begin_layout Standard
22048
22049 \series bold
22050
22051 \backslash
22052 footnotemark[
22053 \backslash
22054 theMyRepeatFoot]
22055 \end_layout
22056
22057 \begin_layout Standard
22058 Here is an example footnote mark:
22059 \family roman
22060 \series medium
22061 \bar no
22062
22063 \begin_inset ERT
22064 status collapsed
22065
22066 \begin_layout Standard
22067
22068
22069 \backslash
22070 footnotemark[
22071 \backslash
22072 theMyRepeatFoot]
22073 \end_layout
22074
22075 \end_inset
22076
22077
22078 \end_layout
22079
22080 \begin_layout Subsection
22081 Footnote Numbering
22082 \begin_inset LatexCommand label
22083 name "sub:Footnote-Numbering"
22084
22085 \end_inset
22086
22087
22088 \begin_inset LatexCommand index
22089 name "Footnotes ! Numbering"
22090
22091 \end_inset
22092
22093
22094 \end_layout
22095
22096 \begin_layout Standard
22097 To reset the footnote number back to 1 after each section
22098 \family roman
22099 , add this command to your document preamble:
22100 \end_layout
22101
22102 \begin_layout Standard
22103
22104 \series bold
22105
22106 \backslash
22107 @addtoreset{footnote}{section}
22108 \end_layout
22109
22110 \begin_layout Standard
22111 \begin_inset VSpace bigskip
22112 \end_inset
22113
22114 The following preamble command changes the footnote numbering style to small
22115  roman numerals:
22116 \end_layout
22117
22118 \begin_layout Standard
22119
22120 \series bold
22121
22122 \backslash
22123 renewcommand{
22124 \backslash
22125 thefootnote}{
22126 \backslash
22127 roman{footnote}}
22128 \end_layout
22129
22130 \begin_layout Standard
22131 \begin_inset ERT
22132 status collapsed
22133
22134 \begin_layout Standard
22135
22136
22137 \backslash
22138 renewcommand{
22139 \backslash
22140 thefootnote}{
22141 \backslash
22142 roman{footnote}}
22143 \end_layout
22144
22145 \end_inset
22146
22147  This is a footnote with roman numbering:
22148 \begin_inset Foot
22149 status open
22150
22151 \begin_layout Standard
22152 This is an example footnote with roman numbering.
22153 \end_layout
22154
22155 \end_inset
22156
22157
22158 \end_layout
22159
22160 \begin_layout Standard
22161 To change the numbering style to capital roman numerals replace in the command
22162  above 
22163 \series bold
22164
22165 \backslash
22166 roman
22167 \series default
22168  by 
22169 \series bold
22170
22171 \backslash
22172 Roman
22173 \series default
22174 .
22175  To 
22176 \begin_inset Quotes eld
22177 \end_inset
22178
22179 number
22180 \begin_inset Quotes erd
22181 \end_inset
22182
22183  footnotes with capital or small Latin letters use 
22184 \series bold
22185
22186 \backslash
22187 Alph
22188 \series default
22189  or 
22190 \series bold
22191
22192 \backslash
22193 alph
22194 \series default
22195 , respectively.
22196  To 
22197 \begin_inset Quotes eld
22198 \end_inset
22199
22200 number
22201 \begin_inset Quotes erd
22202 \end_inset
22203
22204  footnotes with symbols use 
22205 \series bold
22206
22207 \backslash
22208 fnsymbol
22209 \series default
22210 .
22211 \end_layout
22212
22213 \begin_layout Standard
22214 \begin_inset Note Greyedout
22215 status open
22216
22217 \begin_layout Standard
22218
22219 \series bold
22220 Note:
22221 \series default
22222  You can only number 26 footnotes with Latin letters, because this numbering
22223  is limited to single letters.
22224 \end_layout
22225
22226 \end_inset
22227
22228
22229 \newline
22230
22231 \begin_inset Note Greyedout
22232 status open
22233
22234 \begin_layout Standard
22235
22236 \series bold
22237 Note:
22238 \series default
22239  You can only number 9 footnotes with symbols.
22240 \end_layout
22241
22242 \end_inset
22243
22244
22245 \end_layout
22246
22247 \begin_layout Standard
22248 To return to the default numbering style when you changed to another one,
22249  use 
22250 \series bold
22251
22252 \backslash
22253 arabic
22254 \series default
22255  instead of 
22256 \series bold
22257
22258 \backslash
22259 roman
22260 \series default
22261  in the command above.
22262 \begin_inset ERT
22263 status collapsed
22264
22265 \begin_layout Standard
22266
22267
22268 \backslash
22269 renewcommand{
22270 \backslash
22271 thefootnote}{
22272 \backslash
22273 arabic{footnote}}
22274 \end_layout
22275
22276 \end_inset
22277
22278
22279 \end_layout
22280
22281 \begin_layout Standard
22282 \begin_inset VSpace bigskip
22283 \end_inset
22284
22285
22286 \end_layout
22287
22288 \begin_layout Standard
22289 If you want to have footnotes numbered in the scheme 
22290 \begin_inset Quotes eld
22291 \end_inset
22292
22293 chapter.footnote
22294 \begin_inset Quotes erd
22295 \end_inset
22296
22297 , add the following command to your document preamble:
22298 \end_layout
22299
22300 \begin_layout Standard
22301
22302 \series bold
22303
22304 \backslash
22305 numberwithin{footnote}{chapter}
22306 \end_layout
22307
22308 \begin_layout Standard
22309 To be able to use the command 
22310 \series bold
22311
22312 \backslash
22313 numberwithin
22314 \series default
22315 , set in the tab 
22316 \family sans
22317 Math\InsetSpace ~
22318 Options
22319 \family default
22320  in the document settings the option 
22321 \family sans
22322 Use\InsetSpace ~
22323 AMS\InsetSpace ~
22324 math\InsetSpace ~
22325 package
22326 \family default
22327 .
22328 \end_layout
22329
22330 \begin_layout Standard
22331 \begin_inset ERT
22332 status collapsed
22333
22334 \begin_layout Standard
22335
22336
22337 \backslash
22338 numberwithin{footnote}{chapter}
22339 \end_layout
22340
22341 \end_inset
22342
22343 This is another example footnote:
22344 \series bold
22345
22346 \begin_inset Foot
22347 status open
22348
22349 \begin_layout Standard
22350 This is a footnote numbered in the scheme 
22351 \begin_inset Quotes eld
22352 \end_inset
22353
22354 chapter.footnote
22355 \begin_inset Quotes erd
22356 \end_inset
22357
22358 .
22359 \end_layout
22360
22361 \end_inset
22362
22363
22364 \series default
22365
22366 \begin_inset ERT
22367 status collapsed
22368
22369 \begin_layout Standard
22370
22371
22372 \backslash
22373 renewcommand{
22374 \backslash
22375 thefootnote}{
22376 \backslash
22377 arabic{footnote}}
22378 \end_layout
22379
22380 \end_inset
22381
22382
22383 \end_layout
22384
22385 \begin_layout Standard
22386 \begin_inset Note Greyedout
22387 status open
22388
22389 \begin_layout Standard
22390
22391 \series bold
22392 Note:
22393 \series default
22394  
22395 \series bold
22396
22397 \backslash
22398 numberwithin
22399 \series default
22400  always prints out the footnote number as arabic number; previous redefinitions
22401  to get non-arabic numbers are overwritten.
22402 \end_layout
22403
22404 \end_inset
22405
22406
22407 \end_layout
22408
22409 \begin_layout Standard
22410 So to get for example the scheme 
22411 \begin_inset Quotes eld
22412 \end_inset
22413
22414 chapter.
22415 \backslash
22416 Roman{footnote}
22417 \begin_inset Quotes erd
22418 \end_inset
22419
22420 , use this command instead of 
22421 \series bold
22422
22423 \backslash
22424 numberwithin
22425 \series default
22426 :
22427 \end_layout
22428
22429 \begin_layout Standard
22430
22431 \series bold
22432
22433 \backslash
22434 renewcommand{
22435 \backslash
22436 thefootnote}{
22437 \backslash
22438 thechapter.
22439 \backslash
22440 Roman{footnote}}
22441 \end_layout
22442
22443 \begin_layout Subsection
22444 Footnote Placement
22445 \begin_inset LatexCommand index
22446 name "Footnotes ! Placement"
22447
22448 \end_inset
22449
22450
22451 \end_layout
22452
22453 \begin_layout Standard
22454 If you have several footnotes in one page, they appear without vertical
22455  space between them at the bottom of the page.
22456  To make them better readable you can e.\InsetSpace \thinspace{}
22457 g.\InsetSpace ~
22458 add 1.5\InsetSpace \thinspace{}
22459 mm space with the following
22460  preamble command:
22461 \end_layout
22462
22463 \begin_layout Standard
22464
22465 \series bold
22466
22467 \backslash
22468 let
22469 \backslash
22470 myFoot
22471 \backslash
22472 footnote
22473 \newline
22474
22475 \backslash
22476 renewcommand{
22477 \backslash
22478 footnote}[1]{
22479 \backslash
22480 myFoot{#1
22481 \backslash
22482 vspace{1.5mm}}}
22483 \end_layout
22484
22485 \begin_layout Standard
22486 \begin_inset VSpace bigskip
22487 \end_inset
22488
22489 In a two-column document the footnotes appear at the bottom of every column,
22490  see Figure\InsetSpace ~
22491
22492 \begin_inset LatexCommand ref
22493 reference "fig:Standard-footnote-placement"
22494
22495 \end_inset
22496
22497 .
22498  If the footnotes should only appear at the bottom of the right column,
22499  as in Figure\InsetSpace ~
22500
22501 \begin_inset LatexCommand ref
22502 reference "fig:Footnote-placement-in"
22503
22504 \end_inset
22505
22506 , use the LaTeX-package 
22507 \series bold
22508 ftnright
22509 \series default
22510
22511 \begin_inset LatexCommand index
22512 name "LaTeX-packages ! ftnright"
22513
22514 \end_inset
22515
22516  with this command in the document preamble:
22517 \end_layout
22518
22519 \begin_layout Standard
22520
22521 \series bold
22522
22523 \backslash
22524 usepackage{ftnright}
22525 \end_layout
22526
22527 \begin_layout Standard
22528 \begin_inset Float figure
22529 placement !h
22530 wide false
22531 sideways false
22532 status open
22533
22534 \begin_layout Standard
22535 \begin_inset ERT
22536 status collapsed
22537
22538 \begin_layout Standard
22539
22540
22541 \backslash
22542 framebox{
22543 \end_layout
22544
22545 \end_inset
22546
22547
22548 \begin_inset Graphics
22549         filename clipart/without_fntright.pdf
22550         width 100col%
22551         scaleBeforeRotation
22552
22553 \end_inset
22554
22555
22556 \begin_inset ERT
22557 status collapsed
22558
22559 \begin_layout Standard
22560
22561 }
22562 \end_layout
22563
22564 \end_inset
22565
22566
22567 \end_layout
22568
22569 \begin_layout Standard
22570 \begin_inset Caption
22571
22572 \begin_layout Standard
22573 \begin_inset LatexCommand label
22574 name "fig:Standard-footnote-placement"
22575
22576 \end_inset
22577
22578 Standard footnote placement in two-column documents.
22579 \end_layout
22580
22581 \end_inset
22582
22583
22584 \end_layout
22585
22586 \end_inset
22587
22588
22589 \end_layout
22590
22591 \begin_layout Standard
22592 \begin_inset Float figure
22593 placement !h
22594 wide false
22595 sideways false
22596 status open
22597
22598 \begin_layout Standard
22599 \begin_inset ERT
22600 status collapsed
22601
22602 \begin_layout Standard
22603
22604
22605 \backslash
22606 framebox{
22607 \end_layout
22608
22609 \end_inset
22610
22611
22612 \begin_inset Graphics
22613         filename clipart/with_fntright.pdf
22614         width 100col%
22615         scaleBeforeRotation
22616
22617 \end_inset
22618
22619
22620 \begin_inset ERT
22621 status collapsed
22622
22623 \begin_layout Standard
22624
22625 }
22626 \end_layout
22627
22628 \end_inset
22629
22630
22631 \end_layout
22632
22633 \begin_layout Standard
22634 \begin_inset Caption
22635
22636 \begin_layout Standard
22637 \begin_inset LatexCommand label
22638 name "fig:Footnote-placement-in"
22639
22640 \end_inset
22641
22642 Footnote placement in two-column documents when the LaTeX-package 
22643 \series bold
22644 ftnright
22645 \series default
22646  is used.
22647 \end_layout
22648
22649 \end_inset
22650
22651
22652 \end_layout
22653
22654 \end_inset
22655
22656
22657 \end_layout
22658
22659 \begin_layout Standard
22660 \begin_inset VSpace bigskip
22661 \end_inset
22662
22663 In some scientific literature it is usual to collect the footnotes and print
22664  them in a separate paragraph at the the end of a section, like in Figure\InsetSpace ~
22665
22666 \begin_inset LatexCommand ref
22667 reference "fig:Endnotes----footnotes"
22668
22669 \end_inset
22670
22671 .
22672  They are then so called 
22673 \begin_inset Quotes eld
22674 \end_inset
22675
22676 endnotes
22677 \begin_inset Quotes erd
22678 \end_inset
22679
22680 .
22681  To use endnotes instead of footnotes in your document, load the LaTeX-package
22682  
22683 \series bold
22684 endnotes
22685 \series default
22686
22687 \begin_inset LatexCommand index
22688 name "LaTeX-packages ! endnotes"
22689
22690 \end_inset
22691
22692  with the document preamble lines
22693 \end_layout
22694
22695 \begin_layout Standard
22696
22697 \series bold
22698
22699 \backslash
22700 usepackage{endnotes}
22701 \newline
22702
22703 \backslash
22704 let
22705 \backslash
22706 footnote
22707 \backslash
22708 endnote
22709 \end_layout
22710
22711 \begin_layout Standard
22712 To insert the collected footnotes, insert the command
22713 \end_layout
22714
22715 \begin_layout Standard
22716
22717 \series bold
22718
22719 \backslash
22720 theendnotes
22721 \end_layout
22722
22723 \begin_layout Standard
22724 in ERT at the the end of a section or chapter.
22725 \end_layout
22726
22727 \begin_layout Standard
22728 \begin_inset Float figure
22729 wide false
22730 sideways false
22731 status open
22732
22733 \begin_layout Standard
22734 \align center
22735 \begin_inset ERT
22736 status collapsed
22737
22738 \begin_layout Standard
22739
22740
22741 \backslash
22742 framebox{
22743 \end_layout
22744
22745 \end_inset
22746
22747
22748 \begin_inset Graphics
22749         filename clipart/endnotes.pdf
22750         scaleBeforeRotation
22751
22752 \end_inset
22753
22754
22755 \begin_inset ERT
22756 status collapsed
22757
22758 \begin_layout Standard
22759
22760 }
22761 \end_layout
22762
22763 \end_inset
22764
22765
22766 \end_layout
22767
22768 \begin_layout Standard
22769 \begin_inset Caption
22770
22771 \begin_layout Standard
22772 \begin_inset LatexCommand label
22773 name "fig:Endnotes----footnotes"
22774
22775 \end_inset
22776
22777 Endnotes -- footnotes are printed in a separate paragraph at the end of
22778  sections or chapters.
22779 \end_layout
22780
22781 \end_inset
22782
22783
22784 \end_layout
22785
22786 \end_inset
22787
22788
22789 \end_layout
22790
22791 \begin_layout Standard
22792 \begin_inset VSpace medskip
22793 \end_inset
22794
22795 The paragraph heading for the endnotes isn't automatically translated into
22796  the document language, this must be done manually.
22797  The following preamble command translate the default English name 
22798 \begin_inset Quotes eld
22799 \end_inset
22800
22801 Notes
22802 \begin_inset Quotes erd
22803 \end_inset
22804
22805  to the German translation 
22806 \begin_inset Quotes eld
22807 \end_inset
22808
22809 Anmerkungen
22810 \begin_inset Quotes erd
22811 \end_inset
22812
22813 :
22814 \end_layout
22815
22816 \begin_layout Standard
22817
22818 \series bold
22819
22820 \backslash
22821 renewcommand{
22822 \backslash
22823 notesname}{Anmerkungen}
22824 \end_layout
22825
22826 \begin_layout Standard
22827 \begin_inset VSpace medskip
22828 \end_inset
22829
22830 The numbering of endnotes can be changed like the footnote numbering as
22831  described in section\InsetSpace ~
22832
22833 \begin_inset LatexCommand ref
22834 reference "sub:Footnote-Numbering"
22835
22836 \end_inset
22837
22838 ; just replace the command 
22839 \series bold
22840
22841 \backslash
22842 thefootnote
22843 \series default
22844  by 
22845 \series bold
22846
22847 \backslash
22848 theendnote
22849 \series default
22850 .
22851  To reset the endnote number use the command 
22852 \series bold
22853
22854 \backslash
22855 @addtoreset
22856 \series default
22857  as described in section\InsetSpace ~
22858
22859 \begin_inset LatexCommand ref
22860 reference "sub:Footnote-Numbering"
22861
22862 \end_inset
22863
22864  and replace the command parameter 
22865 \series bold
22866 footnote
22867 \series default
22868  by 
22869 \series bold
22870 endnote
22871 \series default
22872 .
22873 \end_layout
22874
22875 \begin_layout Standard
22876 To create only a mark for an endnote, use the command 
22877 \series bold
22878
22879 \backslash
22880 endnotemark[number]
22881 \series default
22882  similar to the command 
22883 \series bold
22884
22885 \backslash
22886 footnotemark
22887 \series default
22888 , described in section\InsetSpace ~
22889
22890 \begin_inset LatexCommand ref
22891 reference "sec:Footnotes"
22892
22893 \end_inset
22894
22895 .
22896 \end_layout
22897
22898 \begin_layout Standard
22899 \begin_inset VSpace bigskip
22900 \end_inset
22901
22902 Footnotes can also be placed in the page margin and the footnote text alignment
22903  can be changed, see the LaTeX-package 
22904 \series bold
22905 footmisc
22906 \series default
22907
22908 \begin_inset LatexCommand index
22909 name "LaTeX-packages ! footmisc"
22910
22911 \end_inset
22912
22913
22914 \begin_inset LatexCommand cite
22915 key "footmisc"
22916
22917 \end_inset
22918
22919  for more information about this.
22920 \end_layout
22921
22922 \begin_layout Standard
22923 For various further footnote formatting issues have a look at LaTeX-books,
22924  
22925 \begin_inset LatexCommand cite
22926 key "latexcompanion,latexguide,latexbook"
22927
22928 \end_inset
22929
22930 .
22931 \end_layout
22932
22933 \begin_layout Section
22934 Margin Notes
22935 \begin_inset LatexCommand index
22936 name "Notes ! Margin Notes"
22937
22938 \end_inset
22939
22940
22941 \end_layout
22942
22943 \begin_layout Standard
22944 Margin notes look and behave in LyX like footnotes.
22945  They are inserted via the menu 
22946 \family sans
22947 Insert\SpecialChar \menuseparator
22948 Marginal\InsetSpace ~
22949 Note
22950 \family default
22951  or the toolbar button 
22952 \begin_inset Graphics
22953         filename ../images/marginalnote-insert.xpm
22954         scale 85
22955         scaleBeforeRotation
22956
22957 \end_inset
22958
22959 .
22960  A grey 
22961 \family roman
22962 \series medium
22963 box with the
22964 \family default
22965 \series default
22966  red 
22967 \family roman
22968 \series medium
22969 label 
22970 \begin_inset Quotes eld
22971 \end_inset
22972
22973 margin
22974 \begin_inset Quotes erd
22975 \end_inset
22976
22977  appears where you can enter the text of the margin note.
22978 \end_layout
22979
22980 \begin_layout Standard
22981 At the side is an example margin note.
22982 \family roman
22983 \series medium
22984
22985 \begin_inset Marginal
22986 status open
22987
22988 \begin_layout Standard
22989 This is a margin note.
22990 \end_layout
22991
22992 \end_inset
22993
22994
22995 \end_layout
22996
22997 \begin_layout Standard
22998 Margin notes appear at the right side in single-sided documents.
22999  In double-sided documents they appear in the outer margin -- left on even
23000  pages, right on odd pages.
23001  The text of margin notes is aligned opposite to the outer margin -- right-align
23002 ed when the note appears in the left margin.
23003  The first line of the margin note is placed at the position of the text
23004  line where it is inserted in the document.
23005 \end_layout
23006
23007 \begin_layout Standard
23008 \begin_inset VSpace bigskip
23009 \end_inset
23010
23011 To place the margin note in the inner margin, add the command
23012 \end_layout
23013
23014 \begin_layout Standard
23015
23016 \series bold
23017
23018 \backslash
23019 reversemarginpar
23020 \end_layout
23021
23022 \begin_layout Standard
23023 in ERT before a margin note.
23024  The new placement is valid for all following margin notes.
23025 \begin_inset ERT
23026 status collapsed
23027
23028 \begin_layout Standard
23029
23030
23031 \backslash
23032 reversemarginpar 
23033 \end_layout
23034
23035 \end_inset
23036
23037
23038 \begin_inset Marginal
23039 status open
23040
23041 \begin_layout Standard
23042 This is a margin note in the inner margin.
23043 \end_layout
23044
23045 \end_inset
23046
23047
23048 \series bold
23049
23050 \newline
23051
23052 \series default
23053
23054 \begin_inset Note Greyedout
23055 status open
23056
23057 \begin_layout Standard
23058
23059 \series bold
23060 Note:
23061 \series default
23062  There is often not enough space in the inner margin so that the notes are
23063  not correctly displayed in the output.
23064 \end_layout
23065
23066 \end_inset
23067
23068
23069 \end_layout
23070
23071 \begin_layout Standard
23072 To return to the default placement insert the command
23073 \end_layout
23074
23075 \begin_layout Standard
23076
23077 \series bold
23078
23079 \backslash
23080 normalmarginpar
23081 \end_layout
23082
23083 \begin_layout Standard
23084 in ERT.
23085 \begin_inset ERT
23086 status collapsed
23087
23088 \begin_layout Standard
23089
23090
23091 \backslash
23092 normalmarginpar 
23093 \end_layout
23094
23095 \end_inset
23096
23097  
23098 \begin_inset Note Greyedout
23099 status open
23100
23101 \begin_layout Standard
23102
23103 \series bold
23104 Note:
23105 \series default
23106  The command is ignored when it is within a paragraph where also the command
23107  
23108 \series bold
23109
23110 \backslash
23111 reversemarginpar
23112 \series default
23113  is inserted.
23114 \end_layout
23115
23116 \end_inset
23117
23118
23119 \end_layout
23120
23121 \begin_layout Standard
23122 \begin_inset VSpace bigskip
23123 \end_inset
23124
23125
23126 \family roman
23127 \series medium
23128
23129 \begin_inset Marginal
23130 status open
23131
23132 \begin_layout Standard
23133 AVeryLongMarginParWord that isn't hyphenated.
23134 \end_layout
23135
23136 \end_inset
23137
23138
23139 \family default
23140 \series default
23141 Similar to the case described in section\InsetSpace ~
23142
23143 \begin_inset LatexCommand ref
23144 reference "sub:Multiple-Lines-in"
23145
23146 \end_inset
23147
23148 , long words cannot be hyphenated when they are the first word in a margin
23149  note.
23150  To avoid this, insert the command
23151 \end_layout
23152
23153 \begin_layout Standard
23154
23155 \series bold
23156
23157 \backslash
23158 hspace{0pt}
23159 \end_layout
23160
23161 \begin_layout Standard
23162 in ERT before the word
23163 \family roman
23164 \series medium
23165 .
23166 \begin_inset Marginal
23167 status open
23168
23169 \begin_layout Standard
23170 \begin_inset ERT
23171 status collapsed
23172
23173 \begin_layout Standard
23174
23175
23176 \backslash
23177 hspace{0pt}
23178 \end_layout
23179
23180 \end_inset
23181
23182 AVeryLongMarginParWord that is hyphenated.
23183 \end_layout
23184
23185 \end_inset
23186
23187
23188 \end_layout
23189
23190 \begin_layout Standard
23191 \begin_inset VSpace bigskip
23192 \end_inset
23193
23194
23195 \end_layout
23196
23197 \begin_layout Standard
23198 \begin_inset Note Greyedout
23199 status open
23200
23201 \begin_layout Standard
23202
23203 \series bold
23204 Note:
23205 \series default
23206  Margin notes can normally not be used inside tables, floats, and footnotes.
23207 \end_layout
23208
23209 \end_inset
23210
23211
23212 \end_layout
23213
23214 \begin_layout Standard
23215 \begin_inset VSpace bigskip
23216 \end_inset
23217
23218
23219 \end_layout
23220
23221 \begin_layout Standard
23222 \begin_inset ERT
23223 status collapsed
23224
23225 \begin_layout Standard
23226
23227
23228 \backslash
23229 ifmarginnote
23230 \end_layout
23231
23232 \end_inset
23233
23234
23235 \begin_inset Note Note
23236 status open
23237
23238 \begin_layout Standard
23239 The following section will only be displayed when you have the LaTeX-package
23240  
23241 \series bold
23242 marginnote
23243 \series default
23244  is installed.
23245 \end_layout
23246
23247 \end_inset
23248
23249
23250 \end_layout
23251
23252 \begin_layout Standard
23253 This restriction can be evaded by using the LaTeX-package 
23254 \series bold
23255 marginnote
23256 \series default
23257
23258 \begin_inset LatexCommand index
23259 name "LaTeX-packages ! marginnote"
23260
23261 \end_inset
23262
23263 .
23264  By adding these two lines to your document preamble, the command used by
23265  LyX for margin notes is redefined to use the command provided by the 
23266 \series bold
23267 marginnote
23268 \series default
23269 -package:
23270 \end_layout
23271
23272 \begin_layout Standard
23273
23274 \series bold
23275
23276 \backslash
23277 usepackage{marginnote}
23278 \newline
23279
23280 \backslash
23281 let
23282 \backslash
23283 marginpar
23284 \backslash
23285 marginnote
23286 \end_layout
23287
23288 \begin_layout Standard
23289 This is also used in this document because 
23290 \series bold
23291 marginnote
23292 \series default
23293  has another useful feature: You can set a vertical offset for the note.
23294  This is often needed when too many margin notes are too close together
23295  or for a better page layout.
23296  The offset is set in LyX as ERT directly behind the margin note in the
23297  scheme
23298 \end_layout
23299
23300 \begin_layout Standard
23301
23302 \series bold
23303 [offset]
23304 \end_layout
23305
23306 \begin_layout Standard
23307 where the offset is a length with one of the units listed in Table\InsetSpace ~
23308
23309 \begin_inset LatexCommand ref
23310 reference "tab:Units"
23311
23312 \end_inset
23313
23314 .
23315  A negative value shifts the note up, a positive value shifts it down.
23316  
23317 \family roman
23318 \series medium
23319 For example the margin note beside this text line is shifted up 1.5\InsetSpace \thinspace{}
23320 cm with
23321  the ERT-command 
23322 \begin_inset Quotes eld
23323 \end_inset
23324
23325
23326 \family default
23327 \series bold
23328 [-1.5cm]
23329 \family roman
23330 \series medium
23331
23332 \begin_inset Quotes erd
23333 \end_inset
23334
23335
23336 \begin_inset Marginal
23337 status open
23338
23339 \begin_layout Standard
23340 This margin note is shifted up 1.5\InsetSpace \thinspace{}
23341 cm from its original position.
23342 \end_layout
23343
23344 \end_inset
23345
23346
23347 \family default
23348 \series default
23349
23350 \begin_inset ERT
23351 status collapsed
23352
23353 \begin_layout Standard
23354
23355 [-1.5cm]
23356 \end_layout
23357
23358 \end_inset
23359
23360
23361 \end_layout
23362
23363 \begin_layout Standard
23364 \begin_inset VSpace medskip
23365 \end_inset
23366
23367 With 
23368 \series bold
23369 marginnote
23370 \series default
23371  you can also change the alignment of the text in the margin note.
23372  For example the commands
23373 \end_layout
23374
23375 \begin_layout Standard
23376
23377 \series bold
23378
23379 \backslash
23380 renewcommand*{
23381 \backslash
23382 raggedleftmarginnote}{
23383 \backslash
23384 centering}
23385 \newline
23386
23387 \backslash
23388 renewcommand*{
23389 \backslash
23390 raggedrightmarginnote}{
23391 \backslash
23392 centering}
23393 \end_layout
23394
23395 \begin_layout Standard
23396 set the alignment to centered.
23397  
23398 \series bold
23399
23400 \backslash
23401 raggedleftmarginnote
23402 \series default
23403  denotes margin notes that appear at the left side.
23404 \family roman
23405 \series medium
23406
23407 \begin_inset ERT
23408 status collapsed
23409
23410 \begin_layout Standard
23411
23412
23413 \backslash
23414 renewcommand*{
23415 \backslash
23416 raggedleftmarginnote}{
23417 \backslash
23418 centering}
23419 \end_layout
23420
23421 \begin_layout Standard
23422
23423
23424 \backslash
23425 renewcommand*{
23426 \backslash
23427 raggedrightmarginnote}{
23428 \backslash
23429 centering}
23430 \end_layout
23431
23432 \end_inset
23433
23434
23435 \begin_inset Marginal
23436 status open
23437
23438 \begin_layout Standard
23439 The text of this margin note is centered.
23440 \end_layout
23441
23442 \end_inset
23443
23444
23445 \family default
23446 \series default
23447  The default is
23448 \end_layout
23449
23450 \begin_layout Standard
23451
23452 \series bold
23453
23454 \backslash
23455 renewcommand*{
23456 \backslash
23457 raggedleftmarginnote}{
23458 \backslash
23459 raggedleft}
23460 \newline
23461
23462 \backslash
23463 renewcommand*{
23464 \backslash
23465 raggedrightmarginnote}{
23466 \backslash
23467 raggedright}
23468 \family roman
23469 \series medium
23470
23471 \begin_inset ERT
23472 status collapsed
23473
23474 \begin_layout Standard
23475
23476
23477 \backslash
23478 renewcommand*{
23479 \backslash
23480 raggedleftmarginnote}{
23481 \backslash
23482 raggedleft}
23483 \end_layout
23484
23485 \begin_layout Standard
23486
23487
23488 \backslash
23489 renewcommand*{
23490 \backslash
23491 raggedrightmarginnote}{
23492 \backslash
23493 raggedright}
23494 \end_layout
23495
23496 \end_inset
23497
23498
23499 \end_layout
23500
23501 \begin_layout Standard
23502 \begin_inset VSpace medskip
23503 \end_inset
23504
23505 For the other features of 
23506 \series bold
23507 marginnote
23508 \series default
23509  we refer to its documentation 
23510 \begin_inset LatexCommand cite
23511 key "marginnote"
23512
23513 \end_inset
23514
23515 .
23516 \end_layout
23517
23518 \begin_layout Standard
23519 \begin_inset VSpace bigskip
23520 \end_inset
23521
23522 You can adjust the layout of margin notes by changing its definition.
23523  To create for example a header for all margin notes with the underlined,
23524  sans-serif, and bold header text 
23525 \begin_inset Quotes eld
23526 \end_inset
23527
23528
23529 \family sans
23530 \series bold
23531 \bar under
23532 Attention!
23533 \family default
23534 \series default
23535 \bar default
23536
23537 \begin_inset Quotes erd
23538 \end_inset
23539
23540 , add this to your document preamble:
23541 \end_layout
23542
23543 \begin_layout Standard
23544
23545 \series bold
23546
23547 \backslash
23548 let
23549 \backslash
23550 myMarginpar
23551 \backslash
23552 marginpar
23553 \newline
23554
23555 \backslash
23556 renewcommand{
23557 \backslash
23558 marginpar}[1]{
23559 \backslash
23560 myMarginpar{%
23561 \newline
23562
23563 \begin_inset ERT
23564 status collapsed
23565
23566 \begin_layout Standard
23567
23568
23569 \backslash
23570 hphantom{ }
23571 \end_layout
23572
23573 \end_inset
23574
23575
23576 \backslash
23577 hspace{0pt}
23578 \backslash
23579 textsf{
23580 \backslash
23581 textbf{
23582 \backslash
23583 underbar{Attention!}}}%
23584 \newline
23585
23586 \begin_inset ERT
23587 status collapsed
23588
23589 \begin_layout Standard
23590
23591
23592 \backslash
23593 hphantom{ }
23594 \end_layout
23595
23596 \end_inset
23597
23598
23599 \backslash
23600 vspace{1.5mm}
23601 \backslash
23602
23603 \backslash
23604 #1}}
23605 \end_layout
23606
23607 \begin_layout Standard
23608
23609 \family roman
23610 \series medium
23611 \begin_inset ERT
23612 status collapsed
23613
23614 \begin_layout Standard
23615
23616
23617 \backslash
23618 let
23619 \backslash
23620 myMarginpar
23621 \backslash
23622 marginpar
23623 \end_layout
23624
23625 \begin_layout Standard
23626
23627
23628 \backslash
23629 renewcommand{
23630 \backslash
23631 marginpar}[1]{
23632 \backslash
23633 myMarginpar{%
23634 \end_layout
23635
23636 \begin_layout Standard
23637
23638    
23639 \backslash
23640 textsf{
23641 \backslash
23642 textbf{
23643 \backslash
23644 underbar{Attention!}}}%
23645 \end_layout
23646
23647 \begin_layout Standard
23648
23649    
23650 \backslash
23651 vspace{1.5mm}
23652 \backslash
23653
23654 \backslash
23655 #1}}
23656 \end_layout
23657
23658 \end_inset
23659
23660
23661 \begin_inset Marginal
23662 status open
23663
23664 \begin_layout Standard
23665 This is a margin note with a defined heading.
23666 \end_layout
23667
23668 \end_inset
23669
23670
23671 \family default
23672 \series default
23673
23674 \begin_inset ERT
23675 status collapsed
23676
23677 \begin_layout Standard
23678
23679 [-1.5cm]
23680 \end_layout
23681
23682 \end_inset
23683
23684
23685 \family roman
23686 \series medium
23687
23688 \begin_inset ERT
23689 status collapsed
23690
23691 \begin_layout Standard
23692
23693
23694 \backslash
23695 renewcommand{
23696 \backslash
23697 marginpar}[1]{
23698 \backslash
23699 myMarginpar{#1}}
23700 \end_layout
23701
23702 \end_inset
23703
23704
23705 \family default
23706 \series default
23707
23708 \begin_inset Note Note
23709 status collapsed
23710
23711 \begin_layout Standard
23712 The margin note format is changed only for this example.
23713 \end_layout
23714
23715 \end_inset
23716
23717
23718 \end_layout
23719
23720 \begin_layout Standard
23721 \begin_inset ERT
23722 status collapsed
23723
23724 \begin_layout Standard
23725
23726
23727 \backslash
23728 else
23729 \end_layout
23730
23731 \end_inset
23732
23733
23734 \begin_inset Note Note
23735 status open
23736
23737 \begin_layout Standard
23738 The following will be displayed when the LaTeX-package 
23739 \series bold
23740 marginnote
23741 \series default
23742  is not installed:
23743 \end_layout
23744
23745 \end_inset
23746
23747
23748 \end_layout
23749
23750 \begin_layout Standard
23751 You need to install the LaTeX-package 
23752 \series bold
23753 marginnote
23754 \series default
23755  to see the following part of this section in the output.
23756 \end_layout
23757
23758 \begin_layout Standard
23759 \begin_inset ERT
23760 status collapsed
23761
23762 \begin_layout Standard
23763
23764
23765 \backslash
23766 fi
23767 \end_layout
23768
23769 \end_inset
23770
23771
23772 \end_layout
23773
23774 \begin_layout Chapter
23775 Boxes
23776 \end_layout
23777
23778 \begin_layout Section
23779 Introduction
23780 \begin_inset LatexCommand index
23781 name "Boxes ! Introduction"
23782
23783 \end_inset
23784
23785
23786 \end_layout
23787
23788 \begin_layout Standard
23789 Boxes are used to format a block of text.
23790  Boxes can be used to write documents with multiple languages, see section\InsetSpace ~
23791
23792 \begin_inset LatexCommand ref
23793 reference "sec:Minipages"
23794
23795 \end_inset
23796
23797 , to frame texts, see section\InsetSpace ~
23798
23799 \begin_inset LatexCommand ref
23800 reference "sec:Framed-Boxes"
23801
23802 \end_inset
23803
23804 , to prevent words to be hyphenated, see section\InsetSpace ~
23805
23806 \begin_inset LatexCommand ref
23807 reference "sec:Prevent-Hyphenation"
23808
23809 \end_inset
23810
23811 , to align text, see section\InsetSpace ~
23812
23813 \begin_inset LatexCommand ref
23814 reference "sub:Vertical-Alignment"
23815
23816 \end_inset
23817
23818 , or to set the background color of texts, see section\InsetSpace ~
23819
23820 \begin_inset LatexCommand ref
23821 reference "sec:Colored-Boxes"
23822
23823 \end_inset
23824
23825 .
23826 \end_layout
23827
23828 \begin_layout Standard
23829 Boxes can be inserted with the menu 
23830 \family sans
23831 Insert\SpecialChar \menuseparator
23832 Box
23833 \family default
23834 .
23835  A grey box with the label 
23836 \family sans
23837 Box (Minipage)
23838 \family default
23839
23840 \begin_inset Graphics
23841         filename clipart/BoxInsetDefaultQt4.png
23842         scale 85
23843         scaleBeforeRotation
23844
23845 \end_inset
23846
23847 , will be inserted.
23848  The box type can be specified by right-clicking on the box.
23849  The appearing box dialog offers the 
23850 \family sans
23851 Inner\InsetSpace ~
23852 Box
23853 \family default
23854  types 
23855 \family sans
23856 Parbox
23857 \family default
23858  and 
23859 \family sans
23860 Minipage
23861 \family default
23862 .
23863  The type 
23864 \family sans
23865 Minipage
23866 \family default
23867  is the default for new boxes and is explained in section\InsetSpace ~
23868
23869 \begin_inset LatexCommand ref
23870 reference "sec:Minipages"
23871
23872 \end_inset
23873
23874 ; the type 
23875 \family sans
23876 Parbox
23877 \family default
23878  is described in section\InsetSpace ~
23879
23880 \begin_inset LatexCommand ref
23881 reference "sec:Parboxes"
23882
23883 \end_inset
23884
23885 .
23886 \end_layout
23887
23888 \begin_layout Standard
23889 Boxes aren't numbered and can therefore not be referenced like floats or
23890  footnotes.
23891 \end_layout
23892
23893 \begin_layout Standard
23894 \begin_inset Note Greyedout
23895 status open
23896
23897 \begin_layout Standard
23898
23899 \series bold
23900 Note:
23901 \series default
23902  Due to a bug in LyX you have to insert a protected space behind a box when
23903  you want to separate in a line the box from the following text with a space.
23904 \end_layout
23905
23906 \end_inset
23907
23908
23909 \end_layout
23910
23911 \begin_layout Standard
23912 \begin_inset Note Greyedout
23913 status open
23914
23915 \begin_layout Standard
23916
23917 \series bold
23918 Note:
23919 \series default
23920  Boxes must not be the item in an 
23921 \family sans
23922 Itemize
23923 \family default
23924  or 
23925 \family sans
23926 Description
23927 \family default
23928  environment.
23929 \end_layout
23930
23931 \end_inset
23932
23933
23934 \end_layout
23935
23936 \begin_layout Standard
23937 \begin_inset Note Greyedout
23938 status open
23939
23940 \begin_layout Standard
23941
23942 \series bold
23943 Note:
23944 \series default
23945  For an unknown reason you can only set the 
23946 \family sans
23947 Inner\InsetSpace ~
23948 Box
23949 \family default
23950  type to 
23951 \family sans
23952 None
23953 \family default
23954  when you use a framed box.
23955  Boxes without an 
23956 \family sans
23957 Inner\InsetSpace ~
23958 Box
23959 \family default
23960  type and without frames are explained in section\InsetSpace ~
23961
23962 \begin_inset LatexCommand ref
23963 reference "sec:Prevent-Hyphenation"
23964
23965 \end_inset
23966
23967 .
23968 \end_layout
23969
23970 \end_inset
23971
23972
23973 \end_layout
23974
23975 \begin_layout Section
23976 Box Dialog
23977 \begin_inset LatexCommand label
23978 name "sec:Box-Dialog"
23979
23980 \end_inset
23981
23982
23983 \begin_inset LatexCommand index
23984 name "Boxes ! Box Dialog"
23985
23986 \end_inset
23987
23988
23989 \begin_inset LatexCommand index
23990 name "Boxes ! Alignment"
23991
23992 \end_inset
23993
23994
23995 \end_layout
23996
23997 \begin_layout Standard
23998 In the box dialog you can adjust the box geometry in the fields 
23999 \family sans
24000 Width
24001 \family default
24002  and 
24003 \family sans
24004 Height
24005 \family default
24006 .
24007  The available units for the geometry are explained in Table\InsetSpace ~
24008
24009 \begin_inset LatexCommand ref
24010 reference "tab:Units"
24011
24012 \end_inset
24013
24014 .
24015  The field 
24016 \family sans
24017 Heigth
24018 \family default
24019  offers the following additional sizes:
24020 \end_layout
24021
24022 \begin_layout Description
24023 Depth This is the plain text 
24024 \begin_inset Quotes eld
24025 \end_inset
24026
24027 height
24028 \begin_inset Quotes erd
24029 \end_inset
24030
24031 .
24032  It ignores the total depth when there are multiple text lines in the box:
24033 \newline
24034
24035 \newline
24036
24037 \newline
24038
24039 \begin_inset Box Boxed
24040 position "c"
24041 hor_pos "c"
24042 has_inner_box 1
24043 inner_pos "c"
24044 use_parbox 0
24045 width "12col%"
24046 special "none"
24047 height "1in"
24048 height_special "depth"
24049 status collapsed
24050
24051 \begin_layout Standard
24052 \align center
24053 Box height set to 1\InsetSpace \thinspace{}
24054 Depth
24055 \end_layout
24056
24057 \end_inset
24058
24059
24060 \newline
24061
24062 \newline
24063
24064 \end_layout
24065
24066 \begin_layout Description
24067 Height This is the heigth of the text that is inside the box.
24068  A value of e.\InsetSpace \thinspace{}
24069 g.\InsetSpace ~
24070 2 for this size will set the box heigth to 2 times the text
24071  height: 
24072 \begin_inset Box Boxed
24073 position "c"
24074 hor_pos "c"
24075 has_inner_box 1
24076 inner_pos "c"
24077 use_parbox 0
24078 width "20col%"
24079 special "none"
24080 height "2in"
24081 height_special "height"
24082 status collapsed
24083
24084 \begin_layout Standard
24085 \align center
24086 Box height set to 2\InsetSpace \thinspace{}
24087 Height
24088 \end_layout
24089
24090 \end_inset
24091
24092
24093 \end_layout
24094
24095 \begin_layout Description
24096 Total\InsetSpace ~
24097 Height This is the Height\InsetSpace \thinspace{}
24098 +\InsetSpace \thinspace{}
24099 Depth: 
24100 \begin_inset Box Boxed
24101 position "c"
24102 hor_pos "c"
24103 has_inner_box 1
24104 inner_pos "c"
24105 use_parbox 0
24106 width "20col%"
24107 special "none"
24108 height "1in"
24109 height_special "totalheight"
24110 status collapsed
24111
24112 \begin_layout Standard
24113 \align center
24114 Box height set to 1\InsetSpace \thinspace{}
24115 Total\InsetSpace ~
24116 Height
24117 \end_layout
24118
24119 \end_inset
24120
24121
24122 \end_layout
24123
24124 \begin_layout Description
24125 Width This set the width of the box as heigth: 
24126 \begin_inset Box Boxed
24127 position "c"
24128 hor_pos "c"
24129 has_inner_box 1
24130 inner_pos "c"
24131 use_parbox 0
24132 width "12col%"
24133 special "none"
24134 height "1in"
24135 height_special "width"
24136 status collapsed
24137
24138 \begin_layout Standard
24139 \align center
24140 Box height set to 1\InsetSpace \thinspace{}
24141 Width
24142 \end_layout
24143
24144 \end_inset
24145
24146
24147 \end_layout
24148
24149 \begin_layout Standard
24150 \begin_inset VSpace bigskip
24151 \end_inset
24152
24153 When you have chosen an 
24154 \family sans
24155 Inner\InsetSpace ~
24156 Box
24157 \family default
24158 , the vertical box alignment can be:
24159 \end_layout
24160
24161 \begin_layout Description
24162 Top This is an example text line.
24163  
24164 \begin_inset Box Boxed
24165 position "t"
24166 hor_pos "c"
24167 has_inner_box 1
24168 inner_pos "c"
24169 use_parbox 0
24170 width "12col%"
24171 special "none"
24172 height "1in"
24173 height_special "totalheight"
24174 status collapsed
24175
24176 \begin_layout Standard
24177 \align center
24178 This box is top-aligned.
24179 \end_layout
24180
24181 \end_inset
24182
24183 \InsetSpace ~
24184 This is an example text line.
24185 \end_layout
24186
24187 \begin_layout Description
24188 Middle This is an example text line.
24189  
24190 \begin_inset Box Boxed
24191 position "c"
24192 hor_pos "c"
24193 has_inner_box 1
24194 inner_pos "c"
24195 use_parbox 0
24196 width "12col%"
24197 special "none"
24198 height "1in"
24199 height_special "totalheight"
24200 status collapsed
24201
24202 \begin_layout Standard
24203 \align center
24204 This box is middle-aligned.
24205 \end_layout
24206
24207 \end_inset
24208
24209 \InsetSpace ~
24210 This is an example text line.
24211 \end_layout
24212
24213 \begin_layout Description
24214 Bottom This is an example text line.
24215  
24216 \begin_inset Box Boxed
24217 position "b"
24218 hor_pos "c"
24219 has_inner_box 1
24220 inner_pos "c"
24221 use_parbox 0
24222 width "12col%"
24223 special "none"
24224 height "1in"
24225 height_special "totalheight"
24226 status collapsed
24227
24228 \begin_layout Standard
24229 \align center
24230 This box is bottom-aligned.
24231 \end_layout
24232
24233 \end_inset
24234
24235 \InsetSpace ~
24236 This is an example text line.
24237 \end_layout
24238
24239 \begin_layout Standard
24240 The horizontal box alignment can be set via LyX's paragraph dialog when
24241  you set the box into its own paragraph.
24242 \end_layout
24243
24244 \begin_layout Standard
24245 \begin_inset VSpace bigskip
24246 \end_inset
24247
24248 When you have chosen an 
24249 \family sans
24250 Inner\InsetSpace ~
24251 Box
24252 \family default
24253 , the box content can be vertical aligned to:
24254 \end_layout
24255
24256 \begin_layout Description
24257 top This is an example text line.
24258  
24259 \begin_inset Box Boxed
24260 position "c"
24261 hor_pos "c"
24262 has_inner_box 1
24263 inner_pos "t"
24264 use_parbox 0
24265 width "12col%"
24266 special "none"
24267 height "1.5in"
24268 height_special "totalheight"
24269 status collapsed
24270
24271 \begin_layout Standard
24272 \align center
24273 This box text is top-aligned.
24274 \end_layout
24275
24276 \end_inset
24277
24278 \InsetSpace ~
24279 This is an example text line.
24280 \end_layout
24281
24282 \begin_layout Description
24283 middle This is an example text line.
24284  
24285 \begin_inset Box Boxed
24286 position "c"
24287 hor_pos "c"
24288 has_inner_box 1
24289 inner_pos "c"
24290 use_parbox 0
24291 width "12col%"
24292 special "none"
24293 height "1.5in"
24294 height_special "totalheight"
24295 status collapsed
24296
24297 \begin_layout Standard
24298 \align center
24299 This box text is middle-aligned.
24300 \end_layout
24301
24302 \end_inset
24303
24304 \InsetSpace ~
24305 This is an example text line.
24306 \end_layout
24307
24308 \begin_layout Description
24309 bottom This is an example text line.
24310  
24311 \begin_inset Box Boxed
24312 position "c"
24313 hor_pos "c"
24314 has_inner_box 1
24315 inner_pos "b"
24316 use_parbox 0
24317 width "12col%"
24318 special "none"
24319 height "1.5in"
24320 height_special "totalheight"
24321 status collapsed
24322
24323 \begin_layout Standard
24324 \align center
24325 This box text is bottom-aligned.
24326 \end_layout
24327
24328 \end_inset
24329
24330 \InsetSpace ~
24331 This is an example text line.
24332 \end_layout
24333
24334 \begin_layout Description
24335 stretch This is an example text line.
24336  
24337 \begin_inset Box Boxed
24338 position "c"
24339 hor_pos "c"
24340 has_inner_box 1
24341 inner_pos "s"
24342 use_parbox 0
24343 width "12col%"
24344 special "none"
24345 height "1.5in"
24346 height_special "totalheight"
24347 status collapsed
24348
24349 \begin_layout Standard
24350 \align center
24351 This box
24352 \end_layout
24353
24354 \begin_layout Standard
24355 \align center
24356 text is
24357 \end_layout
24358
24359 \begin_layout Standard
24360 \align center
24361 stretched.
24362 \end_layout
24363
24364 \end_inset
24365
24366 \InsetSpace ~
24367 This is an example text line.
24368 \end_layout
24369
24370 \begin_layout Standard
24371 To stretch the box content, it must consist of more than one paragraph.
24372  In the example above every text line is in an own paragraph.
24373 \end_layout
24374
24375 \begin_layout Standard
24376 \begin_inset VSpace bigskip
24377 \end_inset
24378
24379 To align the box content horizontally you can use LyX's paragraph dialog
24380  when you have chosen an 
24381 \family sans
24382 Inner\InsetSpace ~
24383 Box
24384 \family default
24385 .
24386 \end_layout
24387
24388 \begin_layout Standard
24389 \align center
24390 \begin_inset Box Boxed
24391 position "c"
24392 hor_pos "c"
24393 has_inner_box 1
24394 inner_pos "s"
24395 use_parbox 0
24396 width "15col%"
24397 special "none"
24398 height "1.25in"
24399 height_special "totalheight"
24400 status collapsed
24401
24402 \begin_layout Standard
24403 \align left
24404 This box
24405 \end_layout
24406
24407 \begin_layout Standard
24408 \align center
24409 text is
24410 \end_layout
24411
24412 \begin_layout Standard
24413 \align right
24414 stretched.
24415 \end_layout
24416
24417 \end_inset
24418
24419
24420 \end_layout
24421
24422 \begin_layout Standard
24423 If you haven't set an 
24424 \family sans
24425 Inner\InsetSpace ~
24426 Box
24427 \family default
24428 , you can align the box content horizontally in the box dialog.
24429 \end_layout
24430
24431 \begin_layout Standard
24432 \align center
24433 \begin_inset Box Boxed
24434 position "c"
24435 hor_pos "s"
24436 has_inner_box 0
24437 inner_pos "s"
24438 use_parbox 0
24439 width "90col%"
24440 special "none"
24441 height "1.25in"
24442 height_special "totalheight"
24443 status collapsed
24444
24445 \begin_layout Standard
24446 \align left
24447 This box text is horizontally stretched.
24448 \end_layout
24449
24450 \end_inset
24451
24452
24453 \end_layout
24454
24455 \begin_layout Section
24456 Framed Boxes
24457 \begin_inset LatexCommand label
24458 name "sec:Framed-Boxes"
24459
24460 \end_inset
24461
24462
24463 \begin_inset LatexCommand index
24464 name "Boxes ! Frames"
24465
24466 \end_inset
24467
24468
24469 \end_layout
24470
24471 \begin_layout Standard
24472 The frame style of the box can be specified in the box-dialog in the drop-down
24473  list 
24474 \family sans
24475 Type
24476 \family default
24477 .
24478  The following frame types are possible:
24479 \end_layout
24480
24481 \begin_layout Description
24482 Rectangular\InsetSpace ~
24483 box This draws a rectangle frame around the box.
24484  The frame line thickness has the size of 
24485 \series bold
24486
24487 \backslash
24488 fboxrule
24489 \series default
24490 .
24491  
24492 \begin_inset Box Boxed
24493 position "c"
24494 hor_pos "c"
24495 has_inner_box 1
24496 inner_pos "c"
24497 use_parbox 0
24498 width "20col%"
24499 special "none"
24500 height "1in"
24501 height_special "totalheight"
24502 status collapsed
24503
24504 \begin_layout Standard
24505 \align center
24506 Rectangular box
24507 \end_layout
24508
24509 \end_inset
24510
24511
24512 \end_layout
24513
24514 \begin_layout Description
24515 Oval\InsetSpace ~
24516 box,\InsetSpace ~
24517 thin This draws an oval frame around the box.
24518  The frame line thickness has the size 0.4\InsetSpace \thinspace{}
24519 pt.
24520  
24521 \begin_inset Box ovalbox
24522 position "c"
24523 hor_pos "c"
24524 has_inner_box 1
24525 inner_pos "c"
24526 use_parbox 0
24527 width "20col%"
24528 special "none"
24529 height "1in"
24530 height_special "totalheight"
24531 status collapsed
24532
24533 \begin_layout Standard
24534 \align center
24535 Oval box, thin
24536 \end_layout
24537
24538 \end_inset
24539
24540
24541 \end_layout
24542
24543 \begin_layout Description
24544 Oval\InsetSpace ~
24545 box,\InsetSpace ~
24546 thick This draws an oval frame around the box.
24547  The frame line thickness has the size 0.8\InsetSpace \thinspace{}
24548 pt.
24549  
24550 \begin_inset Box Ovalbox
24551 position "c"
24552 hor_pos "c"
24553 has_inner_box 1
24554 inner_pos "c"
24555 use_parbox 0
24556 width "20col%"
24557 special "none"
24558 height "1in"
24559 height_special "totalheight"
24560 status collapsed
24561
24562 \begin_layout Standard
24563 \align center
24564 Oval box, thick
24565 \end_layout
24566
24567 \end_inset
24568
24569
24570 \end_layout
24571
24572 \begin_layout Description
24573 Shadow\InsetSpace ~
24574 box This draws a rectangle frame with a shadow around the box.
24575  The frame line thickness has the size of 
24576 \series bold
24577
24578 \backslash
24579 fboxrule
24580 \series default
24581 , the shadow has a width of 4\InsetSpace \thinspace{}
24582 pt.
24583  
24584 \begin_inset Box Shadowbox
24585 position "c"
24586 hor_pos "c"
24587 has_inner_box 1
24588 inner_pos "c"
24589 use_parbox 0
24590 width "20col%"
24591 special "none"
24592 height "1in"
24593 height_special "totalheight"
24594 status collapsed
24595
24596 \begin_layout Standard
24597 \align center
24598 Shadow box
24599 \end_layout
24600
24601 \end_inset
24602
24603
24604 \end_layout
24605
24606 \begin_layout Description
24607 Double\InsetSpace ~
24608 box This draws a double-line rectangle frame around the box.
24609  The line thickness of the inner frame is 0.75\InsetSpace \thinspace{}
24610
24611 \series bold
24612
24613 \backslash
24614 fboxrule
24615 \series default
24616 , the thickness of the outer frame is 1.5\InsetSpace \thinspace{}
24617
24618 \series bold
24619
24620 \backslash
24621 fboxrule
24622 \series default
24623 .
24624  The distance between the lines is 1.5\InsetSpace \thinspace{}
24625
24626 \series bold
24627
24628 \backslash
24629 fboxrule
24630 \series default
24631 \InsetSpace \thinspace{}
24632 +\InsetSpace \thinspace{}
24633 0.5\InsetSpace \thinspace{}
24634 pt.
24635  
24636 \begin_inset Box Doublebox
24637 position "c"
24638 hor_pos "c"
24639 has_inner_box 1
24640 inner_pos "c"
24641 use_parbox 0
24642 width "20col%"
24643 special "none"
24644 height "1in"
24645 height_special "totalheight"
24646 status collapsed
24647
24648 \begin_layout Standard
24649 \align center
24650 Double box
24651 \end_layout
24652
24653 \end_inset
24654
24655
24656 \end_layout
24657
24658 \begin_layout Standard
24659 \begin_inset VSpace bigskip
24660 \end_inset
24661
24662 LyX's box label will change to the used frame style when you set a frame.
24663  To be able to use the different frame styles, the LaTeX-package 
24664 \series bold
24665 fancybox
24666 \series default
24667
24668 \begin_inset LatexCommand index
24669 name "LaTeX-packages ! fancybox"
24670
24671 \end_inset
24672
24673  must be installed.
24674 \end_layout
24675
24676 \begin_layout Standard
24677 \begin_inset VSpace bigskip
24678 \end_inset
24679
24680 The default value for the size 
24681 \series bold
24682
24683 \backslash
24684 fboxrule
24685 \series default
24686  is 0.4\InsetSpace \thinspace{}
24687 pt.
24688  It can be changed with the following command in ERT to e.\InsetSpace \thinspace{}
24689 g.\InsetSpace ~
24690 2\InsetSpace \thinspace{}
24691 pt:
24692 \end_layout
24693
24694 \begin_layout Standard
24695
24696 \series bold
24697
24698 \backslash
24699 setlength{
24700 \backslash
24701 fboxrule}{2pt}
24702 \end_layout
24703
24704 \begin_layout Standard
24705 \begin_inset ERT
24706 status collapsed
24707
24708 \begin_layout Standard
24709
24710
24711 \backslash
24712 setlength{
24713 \backslash
24714 fboxrule}{2pt}
24715 \end_layout
24716
24717 \end_inset
24718
24719
24720 \begin_inset Box Boxed
24721 position "c"
24722 hor_pos "c"
24723 has_inner_box 1
24724 inner_pos "c"
24725 use_parbox 0
24726 width "25col%"
24727 special "none"
24728 height "1in"
24729 height_special "totalheight"
24730 status collapsed
24731
24732 \begin_layout Standard
24733 \align center
24734 Rectangular box with 
24735 \series bold
24736
24737 \backslash
24738 fboxrule
24739 \series default
24740 \InsetSpace \thinspace{}
24741 =\InsetSpace \thinspace{}
24742 2\InsetSpace \thinspace{}
24743 pt
24744 \end_layout
24745
24746 \end_inset
24747
24748
24749 \begin_inset ERT
24750 status collapsed
24751
24752 \begin_layout Standard
24753
24754
24755 \backslash
24756 setlength{
24757 \backslash
24758 fboxrule}{0.4pt}
24759 \end_layout
24760
24761 \end_inset
24762
24763
24764 \end_layout
24765
24766 \begin_layout Standard
24767 \begin_inset VSpace bigskip
24768 \end_inset
24769
24770 The space between the frame and the box content is for all frame styles
24771  by default 3\InsetSpace \thinspace{}
24772 pt.
24773  You can change it by setting the length 
24774 \series bold
24775
24776 \backslash
24777 fboxsep
24778 \series default
24779  to another value.
24780  For example the command
24781 \end_layout
24782
24783 \begin_layout Standard
24784
24785 \series bold
24786
24787 \backslash
24788 setlength{
24789 \backslash
24790 fboxsep}{10pt}
24791 \end_layout
24792
24793 \begin_layout Standard
24794 sets the value to 10\InsetSpace \thinspace{}
24795 pt, like for the following box:
24796 \end_layout
24797
24798 \begin_layout Standard
24799 \begin_inset ERT
24800 status collapsed
24801
24802 \begin_layout Standard
24803
24804
24805 \backslash
24806 setlength{
24807 \backslash
24808 fboxsep}{10pt}
24809 \end_layout
24810
24811 \end_inset
24812
24813
24814 \begin_inset Box Boxed
24815 position "c"
24816 hor_pos "c"
24817 has_inner_box 1
24818 inner_pos "c"
24819 use_parbox 0
24820 width "25col%"
24821 special "none"
24822 height "1in"
24823 height_special "totalheight"
24824 status collapsed
24825
24826 \begin_layout Standard
24827 \align center
24828 Rectangular box with 
24829 \series bold
24830
24831 \backslash
24832 fboxsep
24833 \series default
24834 \InsetSpace \thinspace{}
24835 =\InsetSpace \thinspace{}
24836 10\InsetSpace \thinspace{}
24837 pt
24838 \end_layout
24839
24840 \end_inset
24841
24842
24843 \begin_inset ERT
24844 status collapsed
24845
24846 \begin_layout Standard
24847
24848
24849 \backslash
24850 setlength{
24851 \backslash
24852 fboxsep}{3pt}
24853 \end_layout
24854
24855 \end_inset
24856
24857
24858 \end_layout
24859
24860 \begin_layout Standard
24861 \begin_inset VSpace bigskip
24862 \end_inset
24863
24864 The diameter of the round corners of the oval boxes can be set with the
24865  command 
24866 \series bold
24867
24868 \backslash
24869 cornersize
24870 \series default
24871 .
24872  The command
24873 \end_layout
24874
24875 \begin_layout Standard
24876
24877 \series bold
24878
24879 \backslash
24880 cornersize*{1cm}
24881 \end_layout
24882
24883 \begin_layout Standard
24884 sets the diameter to 1\InsetSpace \thinspace{}
24885 cm.
24886  The command
24887 \end_layout
24888
24889 \begin_layout Standard
24890
24891 \series bold
24892
24893 \backslash
24894 cornersize{num}
24895 \end_layout
24896
24897 \begin_layout Standard
24898 sets the diameter to 
24899 \family sans
24900 num\InsetSpace \thinspace{}
24901 ×\InsetSpace \thinspace{}
24902 minimum(width and heigth of box)
24903 \family default
24904 .
24905  The default is 
24906 \series bold
24907
24908 \backslash
24909 cornersize{0.5}
24910 \series default
24911 .
24912 \end_layout
24913
24914 \begin_layout Standard
24915 \begin_inset ERT
24916 status collapsed
24917
24918 \begin_layout Standard
24919
24920
24921 \backslash
24922 cornersize*{1.5cm}
24923 \end_layout
24924
24925 \end_inset
24926
24927
24928 \begin_inset Box Ovalbox
24929 position "c"
24930 hor_pos "c"
24931 has_inner_box 1
24932 inner_pos "c"
24933 use_parbox 0
24934 width "25col%"
24935 special "none"
24936 height "1in"
24937 height_special "totalheight"
24938 status collapsed
24939
24940 \begin_layout Standard
24941 \align center
24942 Oval box with 
24943 \series bold
24944
24945 \backslash
24946 cornersize
24947 \series default
24948 \InsetSpace \thinspace{}
24949 =\InsetSpace \thinspace{}
24950 1.5\InsetSpace \thinspace{}
24951 cm
24952 \end_layout
24953
24954 \end_inset
24955
24956
24957 \begin_inset ERT
24958 status collapsed
24959
24960 \begin_layout Standard
24961
24962
24963 \backslash
24964 cornersize{0.5}
24965 \end_layout
24966
24967 \end_inset
24968
24969
24970 \end_layout
24971
24972 \begin_layout Standard
24973 \begin_inset VSpace bigskip
24974 \end_inset
24975
24976 The size of the shadow can be adjusted by changing the length 
24977 \series bold
24978
24979 \backslash
24980 shadowsize
24981 \series default
24982 .
24983  It it set to 2\InsetSpace \thinspace{}
24984 pt for the following box by this command:
24985 \end_layout
24986
24987 \begin_layout Standard
24988
24989 \series bold
24990
24991 \backslash
24992 setlength{
24993 \backslash
24994 shadowsize}{2pt}
24995 \end_layout
24996
24997 \begin_layout Standard
24998 \begin_inset ERT
24999 status collapsed
25000
25001 \begin_layout Standard
25002
25003
25004 \backslash
25005 setlength{
25006 \backslash
25007 shadowsize}{2pt}
25008 \end_layout
25009
25010 \end_inset
25011
25012
25013 \begin_inset Box Shadowbox
25014 position "c"
25015 hor_pos "c"
25016 has_inner_box 1
25017 inner_pos "c"
25018 use_parbox 0
25019 width "25col%"
25020 special "none"
25021 height "1in"
25022 height_special "totalheight"
25023 status collapsed
25024
25025 \begin_layout Standard
25026 \align center
25027 Shadow box with 
25028 \series bold
25029
25030 \backslash
25031 shadowsize
25032 \series default
25033 \InsetSpace \thinspace{}
25034 =\InsetSpace \thinspace{}
25035 2\InsetSpace \thinspace{}
25036 pt
25037 \end_layout
25038
25039 \end_inset
25040
25041
25042 \begin_inset ERT
25043 status collapsed
25044
25045 \begin_layout Standard
25046
25047
25048 \backslash
25049 setlength{
25050 \backslash
25051 shadowsize}{4pt}
25052 \end_layout
25053
25054 \end_inset
25055
25056
25057 \end_layout
25058
25059 \begin_layout Standard
25060 \begin_inset VSpace bigskip
25061 \end_inset
25062
25063 Changed lengths and widths are valid for all boxes following the commands
25064  that change them.
25065 \end_layout
25066
25067 \begin_layout Section
25068 Minipages
25069 \begin_inset LatexCommand label
25070 name "sec:Minipages"
25071
25072 \end_inset
25073
25074
25075 \begin_inset LatexCommand index
25076 name "Boxes ! Minipages"
25077
25078 \end_inset
25079
25080
25081 \end_layout
25082
25083 \begin_layout Standard
25084 Minipages are treated by LaTeX as pages within pages and can therefore for
25085  example have their own footnotes.
25086 \end_layout
25087
25088 \begin_layout Standard
25089 Minipages are useful when you write documents with different languages.
25090 \end_layout
25091
25092 \begin_layout Standard
25093 Below are two example minipages side by side.
25094  Their width is set to 45\InsetSpace \thinspace{}
25095 col% and they are separated by a horizontal fill,
25096  that was inserted via the menu 
25097 \family sans
25098 Insert\SpecialChar \menuseparator
25099 Special\InsetSpace ~
25100 Formatting\SpecialChar \menuseparator
25101 Horizontal\InsetSpace ~
25102 Fill
25103 \family default
25104 .
25105 \end_layout
25106
25107 \begin_layout Standard
25108 \begin_inset Box Frameless
25109 position "t"
25110 hor_pos "c"
25111 has_inner_box 1
25112 inner_pos "c"
25113 use_parbox 0
25114 width "45col%"
25115 special "none"
25116 height "1in"
25117 height_special "totalheight"
25118 status open
25119
25120 \begin_layout Standard
25121
25122 \lang german
25123 Dies ist ein deutscher Text.
25124  Dies ist ein deutscher Text.
25125  Dies ist ein deutscher Text.
25126  Dies ist ein deutscher Text.
25127  Dies ist ein deutscher Text.
25128  Dies ist ein deutscher Text.
25129  Dies ist ein deutscher Text.
25130  Dies ist ein deutscher Text.
25131  Dies ist ein deutscher Text.
25132  Dies ist ein deutscher Text.
25133  Dies ist ein deutscher Text.
25134  Dies ist ein deutscher Text.
25135  Dies ist ein deutscher Text
25136 \begin_inset Foot
25137 status collapsed
25138
25139 \begin_layout Standard
25140
25141 \lang german
25142 Dies ist eine deutsche Fußnote.
25143 \end_layout
25144
25145 \end_inset
25146
25147 .
25148  Dies ist ein deutscher Text.
25149  Dies ist ein deutscher Text.
25150 \end_layout
25151
25152 \end_inset
25153
25154
25155 \hfill
25156
25157 \begin_inset Box Frameless
25158 position "t"
25159 hor_pos "c"
25160 has_inner_box 1
25161 inner_pos "c"
25162 use_parbox 0
25163 width "45col%"
25164 special "none"
25165 height "1in"
25166 height_special "totalheight"
25167 status open
25168
25169 \begin_layout Standard
25170 This is an English Text.
25171  This is an English Text.
25172  This is an English Text.
25173  This is an English Text.
25174  This is an English Text.
25175  This is an English Text.
25176  This is an English Text.
25177  This is an English Text.
25178  This is an English Text.
25179  This is an English Text.
25180  This is an English Text.
25181  This is an English Text.
25182  This is an English Text.
25183  This is an English Text.
25184  This is an English Text.
25185  This is an English Text.
25186 \begin_inset Foot
25187 status collapsed
25188
25189 \begin_layout Standard
25190 This is an English footnote.
25191 \end_layout
25192
25193 \end_inset
25194
25195  This is an English Text.
25196  
25197 \end_layout
25198
25199 \end_inset
25200
25201
25202 \end_layout
25203
25204 \begin_layout Standard
25205 \begin_inset VSpace bigskip
25206 \end_inset
25207
25208 Another application for minipages are footnotes within tables.
25209  Due to a LaTeX restriction footnotes within tables doesn't appear at the
25210  bottom of the current page.
25211  But when you put the table with the footnote to a minipage, the footnote
25212  will appear at its bottom, numbered with Latin letters.
25213  The footnote number is reset to 1 in every minipage but not outside the
25214  minipages.
25215 \end_layout
25216
25217 \begin_layout Standard
25218 The footnote of this table doesn't appear: 
25219 \begin_inset Tabular
25220 <lyxtabular version="3" rows="3" columns="4">
25221 <features>
25222 <column alignment="center" valignment="top" leftline="true" width="0pt">
25223 <column alignment="center" valignment="top" leftline="true" width="0pt">
25224 <column alignment="center" valignment="top" leftline="true" width="0pt">
25225 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
25226 <row topline="true">
25227 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25228 \begin_inset Text
25229
25230 \begin_layout Standard
25231 1
25232 \end_layout
25233
25234 \end_inset
25235 </cell>
25236 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25237 \begin_inset Text
25238
25239 \begin_layout Standard
25240 2
25241 \end_layout
25242
25243 \end_inset
25244 </cell>
25245 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25246 \begin_inset Text
25247
25248 \begin_layout Standard
25249 3
25250 \begin_inset Foot
25251 status collapsed
25252
25253 \begin_layout Standard
25254 This is a footnote within a table.
25255 \end_layout
25256
25257 \end_inset
25258
25259
25260 \end_layout
25261
25262 \end_inset
25263 </cell>
25264 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25265 \begin_inset Text
25266
25267 \begin_layout Standard
25268 4
25269 \end_layout
25270
25271 \end_inset
25272 </cell>
25273 </row>
25274 <row topline="true">
25275 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25276 \begin_inset Text
25277
25278 \begin_layout Standard
25279 a
25280 \end_layout
25281
25282 \end_inset
25283 </cell>
25284 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25285 \begin_inset Text
25286
25287 \begin_layout Standard
25288 b
25289 \end_layout
25290
25291 \end_inset
25292 </cell>
25293 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25294 \begin_inset Text
25295
25296 \begin_layout Standard
25297 c
25298 \end_layout
25299
25300 \end_inset
25301 </cell>
25302 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25303 \begin_inset Text
25304
25305 \begin_layout Standard
25306 d
25307 \end_layout
25308
25309 \end_inset
25310 </cell>
25311 </row>
25312 <row topline="true" bottomline="true">
25313 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25314 \begin_inset Text
25315
25316 \begin_layout Standard
25317 e
25318 \end_layout
25319
25320 \end_inset
25321 </cell>
25322 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25323 \begin_inset Text
25324
25325 \begin_layout Standard
25326 f
25327 \end_layout
25328
25329 \end_inset
25330 </cell>
25331 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25332 \begin_inset Text
25333
25334 \begin_layout Standard
25335 g
25336 \end_layout
25337
25338 \end_inset
25339 </cell>
25340 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25341 \begin_inset Text
25342
25343 \begin_layout Standard
25344 h
25345 \end_layout
25346
25347 \end_inset
25348 </cell>
25349 </row>
25350 </lyxtabular>
25351
25352 \end_inset
25353
25354
25355 \end_layout
25356
25357 \begin_layout Standard
25358 \align center
25359 \begin_inset Box Frameless
25360 position "t"
25361 hor_pos "c"
25362 has_inner_box 1
25363 inner_pos "c"
25364 use_parbox 0
25365 width "30col%"
25366 special "none"
25367 height "1in"
25368 height_special "totalheight"
25369 status open
25370
25371 \begin_layout Standard
25372 \align center
25373 \begin_inset Tabular
25374 <lyxtabular version="3" rows="3" columns="4">
25375 <features>
25376 <column alignment="center" valignment="top" leftline="true" width="0pt">
25377 <column alignment="center" valignment="top" leftline="true" width="0pt">
25378 <column alignment="center" valignment="top" leftline="true" width="0pt">
25379 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
25380 <row topline="true">
25381 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25382 \begin_inset Text
25383
25384 \begin_layout Standard
25385 1
25386 \end_layout
25387
25388 \end_inset
25389 </cell>
25390 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25391 \begin_inset Text
25392
25393 \begin_layout Standard
25394 2
25395 \end_layout
25396
25397 \end_inset
25398 </cell>
25399 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25400 \begin_inset Text
25401
25402 \begin_layout Standard
25403 3
25404 \begin_inset Foot
25405 status collapsed
25406
25407 \begin_layout Standard
25408 This is a footnote within a table.
25409 \end_layout
25410
25411 \end_inset
25412
25413
25414 \end_layout
25415
25416 \end_inset
25417 </cell>
25418 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25419 \begin_inset Text
25420
25421 \begin_layout Standard
25422 4
25423 \end_layout
25424
25425 \end_inset
25426 </cell>
25427 </row>
25428 <row topline="true">
25429 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25430 \begin_inset Text
25431
25432 \begin_layout Standard
25433 a
25434 \end_layout
25435
25436 \end_inset
25437 </cell>
25438 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25439 \begin_inset Text
25440
25441 \begin_layout Standard
25442 b
25443 \end_layout
25444
25445 \end_inset
25446 </cell>
25447 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25448 \begin_inset Text
25449
25450 \begin_layout Standard
25451 c
25452 \end_layout
25453
25454 \end_inset
25455 </cell>
25456 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25457 \begin_inset Text
25458
25459 \begin_layout Standard
25460 d
25461 \end_layout
25462
25463 \end_inset
25464 </cell>
25465 </row>
25466 <row topline="true" bottomline="true">
25467 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25468 \begin_inset Text
25469
25470 \begin_layout Standard
25471 e
25472 \end_layout
25473
25474 \end_inset
25475 </cell>
25476 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25477 \begin_inset Text
25478
25479 \begin_layout Standard
25480 f
25481 \end_layout
25482
25483 \end_inset
25484 </cell>
25485 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25486 \begin_inset Text
25487
25488 \begin_layout Standard
25489 g
25490 \end_layout
25491
25492 \end_inset
25493 </cell>
25494 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25495 \begin_inset Text
25496
25497 \begin_layout Standard
25498 h
25499 \end_layout
25500
25501 \end_inset
25502 </cell>
25503 </row>
25504 </lyxtabular>
25505
25506 \end_inset
25507
25508
25509 \end_layout
25510
25511 \end_inset
25512
25513
25514 \end_layout
25515
25516 \begin_layout Standard
25517 \begin_inset VSpace bigskip
25518 \end_inset
25519
25520 The document-wide paragraph settings are ignored within minipages.
25521  That means that there will be no space between paragraphs in minipages
25522  although you set it to e.\InsetSpace \thinspace{}
25523 g.\InsetSpace ~
25524
25525 \family sans
25526 MedSkip
25527 \family default
25528  in the document settings.
25529 \end_layout
25530
25531 \begin_layout Standard
25532 Minipages can also be used to set a background color for text parts, see
25533  section\InsetSpace ~
25534
25535 \begin_inset LatexCommand ref
25536 reference "sub:Color-for-Paragraphs"
25537
25538 \end_inset
25539
25540 .
25541 \end_layout
25542
25543 \begin_layout Standard
25544 \begin_inset Note Greyedout
25545 status open
25546
25547 \begin_layout Standard
25548
25549 \series bold
25550 Note:
25551 \series default
25552  You cannot have floats or margin notes inside minipages but minipages can
25553  be used inside tables, floats, and other boxes.
25554 \end_layout
25555
25556 \end_inset
25557
25558
25559 \end_layout
25560
25561 \begin_layout Section
25562 Parboxes
25563 \begin_inset LatexCommand label
25564 name "sec:Parboxes"
25565
25566 \end_inset
25567
25568
25569 \begin_inset LatexCommand index
25570 name "Boxes ! Parboxes"
25571
25572 \end_inset
25573
25574
25575 \end_layout
25576
25577 \begin_layout Standard
25578 Parboxes are very similar to minipages with the difference that they cannot
25579  have footnotes.
25580  The main difference to minipages is that minipages are in contrary to parboxes
25581  no real boxes but LaTeX-environments.
25582 \end_layout
25583
25584 \begin_layout Standard
25585 \align center
25586 \begin_inset Box Frameless
25587 position "t"
25588 hor_pos "c"
25589 has_inner_box 1
25590 inner_pos "t"
25591 use_parbox 1
25592 width "33col%"
25593 special "none"
25594 height "1in"
25595 height_special "totalheight"
25596 status collapsed
25597
25598 \begin_layout Standard
25599 This a text within a parbox.
25600  This a text within a parbox.
25601 \end_layout
25602
25603 \begin_layout Standard
25604 This footnote won't appear:
25605 \begin_inset Foot
25606 status collapsed
25607
25608 \begin_layout Standard
25609 This footnote is inside a parbox and will therefore not appear.
25610 \end_layout
25611
25612 \end_inset
25613
25614
25615 \end_layout
25616
25617 \end_inset
25618
25619
25620 \end_layout
25621
25622 \begin_layout Section
25623 Boxes for Words and Characters
25624 \begin_inset LatexCommand index
25625 name "Boxes ! for Characters"
25626
25627 \end_inset
25628
25629
25630 \end_layout
25631
25632 \begin_layout Subsection
25633 Prevent Hyphenation
25634 \begin_inset LatexCommand label
25635 name "sec:Prevent-Hyphenation"
25636
25637 \end_inset
25638
25639
25640 \begin_inset LatexCommand index
25641 name "Boxes ! to Prevent Hyphenation"
25642
25643 \end_inset
25644
25645
25646 \end_layout
25647
25648 \begin_layout Standard
25649 You can use a special kind of boxes to prevent words or text to be hyphenated.
25650 \newline
25651 Her
25652 e is an example text:
25653 \end_layout
25654
25655 \begin_layout Standard
25656 This line is an example to show how you can prevent the hyphenation of 
25657 \begin_inset Quotes eld
25658 \end_inset
25659
25660 veryverylongword
25661 \begin_inset Quotes erd
25662 \end_inset
25663
25664 .
25665 \end_layout
25666
25667 \begin_layout Standard
25668 To prevent the hyphenation of the word 
25669 \begin_inset Quotes eld
25670 \end_inset
25671
25672 veryverylongword
25673 \begin_inset Quotes erd
25674 \end_inset
25675
25676 , add the command
25677 \end_layout
25678
25679 \begin_layout Standard
25680
25681 \series bold
25682
25683 \backslash
25684 mbox{
25685 \end_layout
25686
25687 \begin_layout Standard
25688 in ERT before the word.
25689  Behind the word insert a closing brace 
25690 \begin_inset Quotes eld
25691 \end_inset
25692
25693
25694 \series bold
25695 }
25696 \series default
25697
25698 \begin_inset Quotes erd
25699 \end_inset
25700
25701  in ERT.
25702 \begin_inset ERT
25703 status collapsed
25704
25705 \begin_layout Standard
25706
25707
25708 \backslash
25709 pagebreak 
25710 \end_layout
25711
25712 \end_inset
25713
25714
25715 \end_layout
25716
25717 \begin_layout Standard
25718 This is the result:
25719 \end_layout
25720
25721 \begin_layout Standard
25722 This line is an example to show how you can prevent the hyphenation of 
25723 \begin_inset ERT
25724 status collapsed
25725
25726 \begin_layout Standard
25727
25728
25729 \backslash
25730 mbox{
25731 \end_layout
25732
25733 \end_inset
25734
25735
25736 \begin_inset Quotes eld
25737 \end_inset
25738
25739 veryverylongword
25740 \begin_inset Quotes erd
25741 \end_inset
25742
25743 .
25744 \begin_inset ERT
25745 status collapsed
25746
25747 \begin_layout Standard
25748
25749 }
25750 \end_layout
25751
25752 \end_inset
25753
25754
25755 \end_layout
25756
25757 \begin_layout Standard
25758 You can alternatively set the command 
25759 \begin_inset Quotes eld
25760 \end_inset
25761
25762
25763 \series bold
25764
25765 \backslash
25766 -
25767 \series default
25768
25769 \begin_inset Quotes grd
25770 \end_inset
25771
25772  as ERT directly before the word:
25773 \end_layout
25774
25775 \begin_layout Standard
25776 This line is an example to show how you can prevent the hyphenation of 
25777 \begin_inset Quotes eld
25778 \end_inset
25779
25780
25781 \begin_inset ERT
25782 status collapsed
25783
25784 \begin_layout Standard
25785
25786
25787 \backslash
25788 -
25789 \end_layout
25790
25791 \end_inset
25792
25793 veryverylongword
25794 \begin_inset Quotes erd
25795 \end_inset
25796
25797 .
25798 \end_layout
25799
25800 \begin_layout Standard
25801 Of course the word now protrudes over the side margin.
25802  To avoid this, add via the menu 
25803 \family sans
25804 Insert\SpecialChar \menuseparator
25805 Special\InsetSpace ~
25806 Formatting\SpecialChar \menuseparator
25807 Line\InsetSpace ~
25808 Break
25809 \family default
25810  (shortcut 
25811 \series bold
25812 Ctrl-Return
25813 \series default
25814 ) a line break before the word:
25815 \end_layout
25816
25817 \begin_layout Standard
25818 This line is an example to show how you can prevent the hyphenation of 
25819 \newline
25820
25821 \begin_inset ERT
25822 status collapsed
25823
25824 \begin_layout Standard
25825
25826
25827 \backslash
25828 mbox{
25829 \end_layout
25830
25831 \end_inset
25832
25833
25834 \begin_inset Quotes eld
25835 \end_inset
25836
25837 veryverylongword
25838 \begin_inset Quotes erd
25839 \end_inset
25840
25841 .
25842 \begin_inset ERT
25843 status collapsed
25844
25845 \begin_layout Standard
25846
25847 }
25848 \end_layout
25849
25850 \end_inset
25851
25852
25853 \end_layout
25854
25855 \begin_layout Subsection
25856 Vertical Alignment
25857 \begin_inset LatexCommand label
25858 name "sub:Vertical-Alignment"
25859
25860 \end_inset
25861
25862
25863 \begin_inset LatexCommand index
25864 name "Boxes ! for Vertical Alignment"
25865
25866 \end_inset
25867
25868
25869 \begin_inset LatexCommand index
25870 name "Boxes ! Raiseboxes"
25871
25872 \end_inset
25873
25874
25875 \end_layout
25876
25877 \begin_layout Standard
25878 With the help of the command 
25879 \series bold
25880
25881 \backslash
25882 raisebox
25883 \series default
25884  you can align words, characters or other boxes vertically to the surrounding
25885  text.
25886  
25887 \series bold
25888
25889 \backslash
25890 raisebox
25891 \series default
25892  is used with the following scheme:
25893 \end_layout
25894
25895 \begin_layout Standard
25896
25897 \series bold
25898
25899 \backslash
25900 raisebox{lift}[height][depth]{box content}
25901 \end_layout
25902
25903 \begin_layout Standard
25904 The lift can be a positive value to raise the box or a negative value to
25905  lower the box.
25906 \end_layout
25907
25908 \begin_layout Standard
25909 To align for example the word 
25910 \begin_inset Quotes eld
25911 \end_inset
25912
25913 preventing
25914 \begin_inset Quotes erd
25915 \end_inset
25916
25917  so that the bottom of the 
25918 \begin_inset Quotes eld
25919 \end_inset
25920
25921 deepest
25922 \begin_inset Quotes erd
25923 \end_inset
25924
25925  character 
25926 \begin_inset Quotes eld
25927 \end_inset
25928
25929 p
25930 \begin_inset Quotes erd
25931 \end_inset
25932
25933  is at the baseline, insert the command
25934 \end_layout
25935
25936 \begin_layout Standard
25937
25938 \series bold
25939
25940 \backslash
25941 raisebox{
25942 \backslash
25943 depth}{
25944 \end_layout
25945
25946 \begin_layout Standard
25947 in ERT before the word.
25948  Behind the word insert a closing brace 
25949 \begin_inset Quotes eld
25950 \end_inset
25951
25952
25953 \series bold
25954 }
25955 \series default
25956
25957 \begin_inset Quotes erd
25958 \end_inset
25959
25960  in ERT.
25961 \newline
25962 This is the result:
25963 \end_layout
25964
25965 \begin_layout Standard
25966 This is a text line with the word 
25967 \begin_inset ERT
25968 status collapsed
25969
25970 \begin_layout Standard
25971
25972
25973 \backslash
25974 raisebox{
25975 \backslash
25976 depth}{
25977 \end_layout
25978
25979 \end_inset
25980
25981
25982 \begin_inset Quotes eld
25983 \end_inset
25984
25985 preventing
25986 \begin_inset Quotes erd
25987 \end_inset
25988
25989
25990 \begin_inset ERT
25991 status collapsed
25992
25993 \begin_layout Standard
25994
25995 }
25996 \end_layout
25997
25998 \end_inset
25999
26000  as raised word.
26001 \end_layout
26002
26003 \begin_layout Standard
26004 \begin_inset VSpace bigskip
26005 \end_inset
26006
26007 When you raise or lower characters in a line, the line distance will be
26008  spread:
26009 \end_layout
26010
26011 \begin_layout Standard
26012 This is a text line with the word 
26013 \begin_inset ERT
26014 status collapsed
26015
26016 \begin_layout Standard
26017
26018
26019 \backslash
26020 raisebox{-
26021 \backslash
26022 depth}{
26023 \end_layout
26024
26025 \end_inset
26026
26027
26028 \begin_inset Quotes eld
26029 \end_inset
26030
26031 preventing
26032 \begin_inset Quotes erd
26033 \end_inset
26034
26035
26036 \begin_inset ERT
26037 status collapsed
26038
26039 \begin_layout Standard
26040
26041 }
26042 \end_layout
26043
26044 \end_inset
26045
26046  as lowered word.
26047 \newline
26048 This is a text line with the word 
26049 \begin_inset ERT
26050 status collapsed
26051
26052 \begin_layout Standard
26053
26054
26055 \backslash
26056 raisebox{0.5cm}{
26057 \end_layout
26058
26059 \end_inset
26060
26061
26062 \begin_inset Quotes eld
26063 \end_inset
26064
26065 testing
26066 \begin_inset Quotes erd
26067 \end_inset
26068
26069
26070 \begin_inset ERT
26071 status collapsed
26072
26073 \begin_layout Standard
26074
26075 }
26076 \end_layout
26077
26078 \end_inset
26079
26080  as raised word.
26081 \end_layout
26082
26083 \begin_layout Standard
26084 If you want to prevent this for a certain reason, set the box height to
26085  a zero value.
26086  For example use
26087 \end_layout
26088
26089 \begin_layout Standard
26090
26091 \series bold
26092
26093 \backslash
26094 raisebox{-
26095 \backslash
26096 depth}[0pt]{
26097 \end_layout
26098
26099 \begin_layout Standard
26100 This is a text line with the word 
26101 \begin_inset ERT
26102 status collapsed
26103
26104 \begin_layout Standard
26105
26106
26107 \backslash
26108 raisebox{-
26109 \backslash
26110 depth}[0pt]{
26111 \end_layout
26112
26113 \end_inset
26114
26115
26116 \begin_inset Quotes eld
26117 \end_inset
26118
26119 preventing
26120 \begin_inset Quotes erd
26121 \end_inset
26122
26123
26124 \begin_inset ERT
26125 status collapsed
26126
26127 \begin_layout Standard
26128
26129 }
26130 \end_layout
26131
26132 \end_inset
26133
26134  as lowered word.
26135 \newline
26136 This is a text line with the word 
26137 \begin_inset ERT
26138 status collapsed
26139
26140 \begin_layout Standard
26141
26142
26143 \backslash
26144 raisebox{0.5cm}[0pt]{
26145 \end_layout
26146
26147 \end_inset
26148
26149
26150 \begin_inset Quotes eld
26151 \end_inset
26152
26153 testing
26154 \begin_inset Quotes erd
26155 \end_inset
26156
26157
26158 \begin_inset ERT
26159 status collapsed
26160
26161 \begin_layout Standard
26162
26163 }
26164 \end_layout
26165
26166 \end_inset
26167
26168  as raised word.
26169 \end_layout
26170
26171 \begin_layout Section
26172 Colored Boxes
26173 \begin_inset LatexCommand label
26174 name "sec:Colored-Boxes"
26175
26176 \end_inset
26177
26178
26179 \begin_inset LatexCommand index
26180 name "Boxes ! Color"
26181
26182 \end_inset
26183
26184
26185 \end_layout
26186
26187 \begin_layout Subsection
26188 Color for Text
26189 \begin_inset LatexCommand index
26190 name "Color ! for Text"
26191
26192 \end_inset
26193
26194
26195 \end_layout
26196
26197 \begin_layout Standard
26198 To color the background of text the text must be put into a so called 
26199 \begin_inset Quotes eld
26200 \end_inset
26201
26202 colorbox
26203 \begin_inset Quotes erd
26204 \end_inset
26205
26206 .
26207  This requires that the LaTeX-package 
26208 \series bold
26209 color
26210 \series default
26211
26212 \begin_inset LatexCommand index
26213 name "LaTeX-packages ! color"
26214
26215 \end_inset
26216
26217  is loaded in the document preamble with the command
26218 \end_layout
26219
26220 \begin_layout Standard
26221
26222 \series bold
26223
26224 \backslash
26225 @ifundef\SpecialChar \textcompwordmark{}
26226 ined{textcolor}
26227 \newline
26228
26229 \begin_inset ERT
26230 status collapsed
26231
26232 \begin_layout Standard
26233
26234
26235 \backslash
26236 hphantom{ }
26237 \end_layout
26238
26239 \end_inset
26240
26241 {
26242 \backslash
26243 usepackage{color}}{}
26244 \end_layout
26245
26246 \begin_layout Standard
26247 The package 
26248 \series bold
26249 color
26250 \series default
26251  will be loaded automatically by LyX when you color text
26252 \begin_inset Foot
26253 status collapsed
26254
26255 \begin_layout Standard
26256 To avoid that it is loaded twice the command 
26257 \series bold
26258
26259 \backslash
26260 @ifundef\SpecialChar \textcompwordmark{}
26261 ined
26262 \series default
26263  is used.
26264 \end_layout
26265
26266 \end_inset
26267
26268 .
26269 \end_layout
26270
26271 \begin_layout Standard
26272 \begin_inset VSpace medskip
26273 \end_inset
26274
26275 Colorboxes are created with the command 
26276 \series bold
26277
26278 \backslash
26279 colorbox
26280 \series default
26281 .
26282  This will be used with the following scheme:
26283 \end_layout
26284
26285 \begin_layout Standard
26286
26287 \series bold
26288
26289 \backslash
26290 colorbox{color}{box content}
26291 \end_layout
26292
26293 \begin_layout Standard
26294 The box content can also be a box and colorboxes can also be within other
26295  boxes.
26296 \end_layout
26297
26298 \begin_layout Standard
26299 The following colors are predefined:
26300 \newline
26301
26302 \family sans
26303 black
26304 \family default
26305
26306 \family sans
26307 blue
26308 \family default
26309
26310 \family sans
26311 cyan
26312 \family default
26313 \series bold
26314 ,
26315 \series default
26316  
26317 \family sans
26318 green
26319 \family default
26320
26321 \family sans
26322 magenta
26323 \family default
26324
26325 \family sans
26326 red
26327 \family default
26328
26329 \family sans
26330 white
26331 \family default
26332 , and 
26333 \family sans
26334 yellow
26335 \family default
26336 .
26337 \newline
26338 You can also define your own color as described in section\InsetSpace ~
26339
26340 \begin_inset LatexCommand ref
26341 reference "sec:Colored-Tables"
26342
26343 \end_inset
26344
26345 .
26346 \end_layout
26347
26348 \begin_layout Standard
26349 To have e.\InsetSpace \thinspace{}
26350 g.\InsetSpace ~
26351 a red background for a word, insert the command
26352 \end_layout
26353
26354 \begin_layout Standard
26355
26356 \series bold
26357
26358 \backslash
26359 colorbox{red}{
26360 \end_layout
26361
26362 \begin_layout Standard
26363 before the word in ERT.
26364  Behind the word insert a closing brace 
26365 \begin_inset Quotes eld
26366 \end_inset
26367
26368
26369 \series bold
26370 }
26371 \series default
26372
26373 \begin_inset Quotes erd
26374 \end_inset
26375
26376  in ERT.
26377 \newline
26378 This is the result:
26379 \end_layout
26380
26381 \begin_layout Standard
26382 This is a line where the word 
26383 \begin_inset ERT
26384 status collapsed
26385
26386 \begin_layout Standard
26387
26388
26389 \backslash
26390 colorbox{red}{
26391 \end_layout
26392
26393 \end_inset
26394
26395
26396 \begin_inset Quotes eld
26397 \end_inset
26398
26399 Attention!
26400 \begin_inset Quotes erd
26401 \end_inset
26402
26403
26404 \begin_inset ERT
26405 status collapsed
26406
26407 \begin_layout Standard
26408
26409 }
26410 \end_layout
26411
26412 \end_inset
26413
26414  has a red background.
26415 \end_layout
26416
26417 \begin_layout Standard
26418 \begin_inset VSpace bigskip
26419 \end_inset
26420
26421 If you would have the box frame in a different color, you can use the command
26422  
26423 \series bold
26424
26425 \backslash
26426 fcolorbox
26427 \series default
26428  with the following scheme:
26429 \end_layout
26430
26431 \begin_layout Standard
26432
26433 \series bold
26434
26435 \backslash
26436 fcolorbox{frame color}{box color}{box content}
26437 \end_layout
26438
26439 \begin_layout Standard
26440
26441 \series bold
26442
26443 \backslash
26444 fcolorbox
26445 \series default
26446  is an extension to 
26447 \series bold
26448
26449 \backslash
26450 colorbox
26451 \series default
26452 .
26453  The frame thickness and the space between the frame and the box content
26454  can be adjusted with the lengths 
26455 \series bold
26456
26457 \backslash
26458 fboxrule
26459 \series default
26460  and 
26461 \series bold
26462
26463 \backslash
26464 fboxsep
26465 \series default
26466 , respectively, as described in section\InsetSpace ~
26467
26468 \begin_inset LatexCommand ref
26469 reference "sec:Framed-Boxes"
26470
26471 \end_inset
26472
26473 .
26474 \end_layout
26475
26476 \begin_layout Standard
26477 For the following example the command
26478 \end_layout
26479
26480 \begin_layout Standard
26481
26482 \series bold
26483
26484 \backslash
26485 fcolorbox{cyan}{magenta}{
26486 \end_layout
26487
26488 \begin_layout Standard
26489 was used.
26490 \end_layout
26491
26492 \begin_layout Standard
26493 Here is an example where the frame line thickness was set to 1\InsetSpace \thinspace{}
26494 mm:
26495 \newline
26496
26497 \begin_inset ERT
26498 status collapsed
26499
26500 \begin_layout Standard
26501
26502
26503 \backslash
26504 fboxrule 1mm 
26505 \backslash
26506 fboxsep 1mm
26507 \end_layout
26508
26509 \end_inset
26510
26511
26512 \begin_inset ERT
26513 status collapsed
26514
26515 \begin_layout Standard
26516
26517
26518 \backslash
26519 fcolorbox{cyan}{magenta}{
26520 \end_layout
26521
26522 \end_inset
26523
26524 This is text within a colored, framed box.
26525 \begin_inset ERT
26526 status collapsed
26527
26528 \begin_layout Standard
26529
26530 }
26531 \end_layout
26532
26533 \end_inset
26534
26535
26536 \end_layout
26537
26538 \begin_layout Standard
26539 \begin_inset VSpace bigskip
26540 \end_inset
26541
26542 Of course you can also have colored text inside a colorbox:
26543 \newline
26544
26545 \begin_inset ERT
26546 status collapsed
26547
26548 \begin_layout Standard
26549
26550
26551 \backslash
26552 fcolorbox{cyan}{magenta}{
26553 \end_layout
26554
26555 \end_inset
26556
26557
26558 \color yellow
26559 This is colored text within a colored, framed box.
26560 \color none
26561
26562 \begin_inset ERT
26563 status collapsed
26564
26565 \begin_layout Standard
26566
26567 }
26568 \end_layout
26569
26570 \end_inset
26571
26572
26573 \begin_inset ERT
26574 status collapsed
26575
26576 \begin_layout Standard
26577
26578
26579 \backslash
26580 fboxrule 0.4pt 
26581 \backslash
26582 fboxsep 3pt
26583 \end_layout
26584
26585 \end_inset
26586
26587
26588 \end_layout
26589
26590 \begin_layout Standard
26591
26592 \series bold
26593 \begin_inset VSpace medskip
26594 \end_inset
26595
26596
26597 \end_layout
26598
26599 \begin_layout Standard
26600 \begin_inset Note Greyedout
26601 status open
26602
26603 \begin_layout Standard
26604
26605 \series bold
26606 Note:
26607 \series default
26608  Text in colorboxes cannot have line breaks.
26609  To color multiple text lines or paragraphs, use a box inside a colorbox
26610  as described in the following.
26611 \end_layout
26612
26613 \end_inset
26614
26615
26616 \end_layout
26617
26618 \begin_layout Subsection
26619 Color for Paragraphs
26620 \begin_inset LatexCommand label
26621 name "sub:Color-for-Paragraphs"
26622
26623 \end_inset
26624
26625
26626 \begin_inset LatexCommand index
26627 name "Color ! for Paragraphs"
26628
26629 \end_inset
26630
26631
26632 \end_layout
26633
26634 \begin_layout Standard
26635 To set the background color for more than one text line, put the text into
26636  a minipage.
26637  Before the minipage insert the 
26638 \series bold
26639
26640 \backslash
26641 colorbox
26642 \series default
26643  command
26644 \end_layout
26645
26646 \begin_layout Standard
26647
26648 \series bold
26649
26650 \backslash
26651 colorbox{color}{
26652 \end_layout
26653
26654 \begin_layout Standard
26655 in ERT.
26656  Behind the minipage insert a closing brace 
26657 \begin_inset Quotes eld
26658 \end_inset
26659
26660
26661 \series bold
26662 }
26663 \series default
26664
26665 \begin_inset Quotes erd
26666 \end_inset
26667
26668  in ERT.
26669 \end_layout
26670
26671 \begin_layout Standard
26672 \begin_inset ERT
26673 status collapsed
26674
26675 \begin_layout Standard
26676
26677
26678 \backslash
26679 colorbox{lightgrey}{
26680 \end_layout
26681
26682 \end_inset
26683
26684
26685 \begin_inset Box Frameless
26686 position "t"
26687 hor_pos "c"
26688 has_inner_box 1
26689 inner_pos "t"
26690 use_parbox 0
26691 width "100col%"
26692 special "none"
26693 height "1in"
26694 height_special "totalheight"
26695 status collapsed
26696
26697 \begin_layout Standard
26698 This is text with background color.
26699  This is text with background color.
26700 \end_layout
26701
26702 \begin_layout Standard
26703 \begin_inset VSpace defskip
26704 \end_inset
26705
26706 The text can have footnotes
26707 \begin_inset Foot
26708 status collapsed
26709
26710 \begin_layout Standard
26711 Another example footnote
26712 \end_layout
26713
26714 \end_inset
26715
26716  and can include tables and figures.
26717 \end_layout
26718
26719 \begin_layout Standard
26720 \align center
26721 \begin_inset Tabular
26722 <lyxtabular version="3" rows="3" columns="3">
26723 <features>
26724 <column alignment="center" valignment="top" leftline="true" width="0">
26725 <column alignment="center" valignment="top" leftline="true" width="0">
26726 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
26727 <row topline="true">
26728 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26729 \begin_inset Text
26730
26731 \begin_layout Standard
26732 a
26733 \end_layout
26734
26735 \end_inset
26736 </cell>
26737 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26738 \begin_inset Text
26739
26740 \begin_layout Standard
26741 !
26742 \end_layout
26743
26744 \end_inset
26745 </cell>
26746 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26747 \begin_inset Text
26748
26749 \begin_layout Standard
26750 3
26751 \end_layout
26752
26753 \end_inset
26754 </cell>
26755 </row>
26756 <row topline="true">
26757 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26758 \begin_inset Text
26759
26760 \begin_layout Standard
26761 <
26762 \end_layout
26763
26764 \end_inset
26765 </cell>
26766 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26767 \begin_inset Text
26768
26769 \begin_layout Standard
26770 b2
26771 \begin_inset Quotes erd
26772 \end_inset
26773
26774 |
26775 \end_layout
26776
26777 \end_inset
26778 </cell>
26779 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26780 \begin_inset Text
26781
26782 \begin_layout Standard
26783 >
26784 \end_layout
26785
26786 \end_inset
26787 </cell>
26788 </row>
26789 <row topline="true" bottomline="true">
26790 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26791 \begin_inset Text
26792
26793 \begin_layout Standard
26794 1
26795 \end_layout
26796
26797 \end_inset
26798 </cell>
26799 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26800 \begin_inset Text
26801
26802 \begin_layout Standard
26803 §
26804 \end_layout
26805
26806 \end_inset
26807 </cell>
26808 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26809 \begin_inset Text
26810
26811 \begin_layout Standard
26812 c
26813 \end_layout
26814
26815 \end_inset
26816 </cell>
26817 </row>
26818 </lyxtabular>
26819
26820 \end_inset
26821
26822
26823 \end_layout
26824
26825 \end_inset
26826
26827
26828 \begin_inset ERT
26829 status collapsed
26830
26831 \begin_layout Standard
26832
26833 }
26834 \end_layout
26835
26836 \end_inset
26837
26838
26839 \end_layout
26840
26841 \begin_layout Section
26842 URLs (Uniform Resource Locators)
26843 \begin_inset LatexCommand index
26844 name "URLs"
26845
26846 \end_inset
26847
26848
26849 \end_layout
26850
26851 \begin_layout Standard
26852 Links to web pages or email addresses can be inserted via the menu 
26853 \family sans
26854 Insert\SpecialChar \menuseparator
26855 URL
26856 \family default
26857 .
26858  The appearing URL dialog has two fields; the 
26859 \family sans
26860 URL
26861 \family default
26862  field and the 
26863 \family sans
26864 Name
26865 \family default
26866  field for the URL description, which will be typeset as plain text immediately
26867  before the URL.
26868 \end_layout
26869
26870 \begin_layout Standard
26871 Here is an example URL: 
26872 \begin_inset LatexCommand url
26873 name "LyX's homepage"
26874 target "http://www.lyx.org"
26875
26876 \end_inset
26877
26878
26879 \end_layout
26880
26881 \begin_layout Standard
26882 The option 
26883 \family sans
26884 Generate\InsetSpace ~
26885 hyperlink
26886 \family default
26887  in the URL dialog does nothing.
26888  This relict will be removed in the next LyX-version.
26889 \end_layout
26890
26891 \begin_layout Standard
26892 You cannot change the style of the link text.
26893  The text of the 
26894 \family sans
26895 Name
26896 \family default
26897  field will have the default text style of the document while the text of
26898  the 
26899 \family sans
26900 URL
26901 \family default
26902  field will have the style 
26903 \begin_inset Quotes eld
26904 \end_inset
26905
26906
26907 \family sans
26908 Typewriter
26909 \family default
26910
26911 \begin_inset Quotes erd
26912 \end_inset
26913
26914 .
26915 \end_layout
26916
26917 \begin_layout Standard
26918 When you use the LaTeX-package 
26919 \series bold
26920 hyperref
26921 \series default
26922
26923 \begin_inset LatexCommand index
26924 name "LaTeX-packages ! hyperref"
26925
26926 \end_inset
26927
26928  to link cross-references in the output, URLs will automatically become
26929  clickable hyperlinks in DVI and PDF-output.
26930 \end_layout
26931
26932 \begin_layout Standard
26933 \begin_inset Note Greyedout
26934 status open
26935
26936 \begin_layout Standard
26937
26938 \series bold
26939 Note:
26940 \series default
26941  When you use the following characters: "%", "#", "^", you have to write
26942  them with a preceding backslash, e.\InsetSpace \thinspace{}
26943 g.\InsetSpace ~
26944
26945 \begin_inset Quotes eld
26946 \end_inset
26947
26948
26949 \backslash
26950 #
26951 \begin_inset Quotes erd
26952 \end_inset
26953
26954 .
26955  URLs must not end with a backslash.
26956 \end_layout
26957
26958 \end_inset
26959
26960
26961 \end_layout
26962
26963 \begin_layout Standard
26964 \begin_inset VSpace bigskip
26965 \end_inset
26966
26967 To create real hyperlinks without the force to write the link location to
26968  the text, you can use the command
26969 \end_layout
26970
26971 \begin_layout Standard
26972
26973 \series bold
26974
26975 \backslash
26976 href{link location}{link text}
26977 \end_layout
26978
26979 \begin_layout Standard
26980 in ERT.
26981  To get for example a link to LyX's web page, write the command
26982 \end_layout
26983
26984 \begin_layout Standard
26985
26986 \series bold
26987
26988 \backslash
26989 href{http://www.lyx.org}{
26990 \end_layout
26991
26992 \begin_layout Standard
26993 in ERT.
26994  Insert after the command the link text 
26995 \begin_inset Quotes eld
26996 \end_inset
26997
26998 LyX's homepage
26999 \begin_inset Quotes erd
27000 \end_inset
27001
27002  as normal text followed by a closing brace 
27003 \begin_inset Quotes eld
27004 \end_inset
27005
27006
27007 \series bold
27008 }
27009 \series default
27010
27011 \begin_inset Quotes erd
27012 \end_inset
27013
27014  in ERT.
27015  This is the result: 
27016 \begin_inset ERT
27017 status collapsed
27018
27019 \begin_layout Standard
27020
27021
27022 \backslash
27023 href{http://www.lyx.org}{
27024 \end_layout
27025
27026 \end_inset
27027
27028 LyX's homepage
27029 \begin_inset ERT
27030 status collapsed
27031
27032 \begin_layout Standard
27033
27034 }
27035 \end_layout
27036
27037 \end_inset
27038
27039
27040 \end_layout
27041
27042 \begin_layout Standard
27043 To link to email addresses, add the prefix 
27044 \begin_inset Quotes eld
27045 \end_inset
27046
27047
27048 \family sans
27049 mailto:
27050 \family default
27051
27052 \begin_inset Quotes erd
27053 \end_inset
27054
27055  to the link location:
27056 \newline
27057 Email to 
27058 \begin_inset ERT
27059 status collapsed
27060
27061 \begin_layout Standard
27062
27063
27064 \backslash
27065 href{mailto:lyx-docs@lists.lyx.org?subject=LyX's documentation}{
27066 \end_layout
27067
27068 \end_inset
27069
27070 lyx-docs mailing list
27071 \begin_inset ERT
27072 status collapsed
27073
27074 \begin_layout Standard
27075
27076 }
27077 \end_layout
27078
27079 \end_inset
27080
27081 .
27082 \end_layout
27083
27084 \begin_layout Standard
27085 Using 
27086 \series bold
27087
27088 \backslash
27089 href
27090 \series default
27091  instead of LyX's URL box has the advantage that you can specify the text
27092  style of the link text like for all other text parts.
27093  You can then set hyphenation points and forced linebreaks to have long
27094  link text broken at the page margin.
27095  You are furthermore able to change the text style for all URLs in your
27096  document with an option in 
27097 \series bold
27098 hyperref
27099 \series default
27100 's load command and the restrictions mentioned above doesn't apply for 
27101 \series bold
27102
27103 \backslash
27104 href
27105 \series default
27106 .
27107 \end_layout
27108
27109 \begin_layout Chapter
27110 External Stuff
27111 \begin_inset LatexCommand index
27112 name "External Stuff"
27113
27114 \end_inset
27115
27116
27117 \end_layout
27118
27119 \begin_layout Standard
27120 With the menu 
27121 \family sans
27122 Insert\SpecialChar \menuseparator
27123 File
27124 \family default
27125  you can insert external material to your document.
27126  This can be:
27127 \end_layout
27128
27129 \begin_layout Description
27130 LyX\InsetSpace ~
27131 Document Another LyX document; its content is directly inserted to your
27132  document.
27133 \end_layout
27134
27135 \begin_layout Description
27136 Plain\InsetSpace ~
27137 Text A text document; every of its text lines is inserted to your document
27138  as own paragraph.
27139 \end_layout
27140
27141 \begin_layout Description
27142 Plain\InsetSpace ~
27143 Text,\InsetSpace ~
27144 Join\InsetSpace ~
27145 Lines A text document; its text lines are inserted as they
27146  are.
27147  Empty text lines creates a new paragraph in your document.
27148 \end_layout
27149
27150 \begin_layout Description
27151 External\InsetSpace ~
27152 Material Files in various formats.
27153 \end_layout
27154
27155 \begin_layout Description
27156 Child\InsetSpace ~
27157 Document LyX or LaTeX-documents.
27158 \end_layout
27159
27160 \begin_layout Section
27161 External Material
27162 \begin_inset LatexCommand index
27163 name "External Stuff ! External Material"
27164
27165 \end_inset
27166
27167
27168 \end_layout
27169
27170 \begin_layout Standard
27171 The external material feature allows you to insert files to your document
27172  without converting them previously to a format that can be read by the
27173  document output format because LyX takes care of needed conversions.
27174  This is similar to images that can be inserted in various image formats
27175  to LyX documents.
27176 \end_layout
27177
27178 \begin_layout Standard
27179 External material can be inserted via the 
27180 \family sans
27181 External Material
27182 \family default
27183  dialog that is accessible with the menu 
27184 \family sans
27185 Insert\SpecialChar \menuseparator
27186 File\SpecialChar \menuseparator
27187 External\InsetSpace ~
27188 Material
27189 \family default
27190 .
27191  Currently the following file types (
27192 \family sans
27193 Templates
27194 \family default
27195 ) are allowed:
27196 \end_layout
27197
27198 \begin_layout Description
27199 ChessDiagram This template supports chess position diagrams made with the
27200  program 
27201 \begin_inset ERT
27202 status collapsed
27203
27204 \begin_layout Standard
27205
27206
27207 \backslash
27208 href{http://en.wikipedia.org/wiki/XBoard}{
27209 \end_layout
27210
27211 \end_inset
27212
27213
27214 \series bold
27215 XBoard
27216 \series default
27217
27218 \begin_inset ERT
27219 status collapsed
27220
27221 \begin_layout Standard
27222
27223 }
27224 \end_layout
27225
27226 \end_inset
27227
27228 .
27229 \end_layout
27230
27231 \begin_layout Description
27232 Date This inserts the date in the form 
27233 \emph on
27234 Day-Month-Year
27235 \emph default
27236 .
27237  This is a date inserted as external material: 
27238 \begin_inset External
27239         template Date
27240         filename .
27241
27242 \end_inset
27243
27244
27245 \newline
27246 The date is not shown within LyX, only in the output.
27247  There are two other methods of inserting a date: Via menu 
27248 \family sans
27249 Insert\SpecialChar \menuseparator
27250 Date
27251 \family default
27252  and with the LaTeX command 
27253 \series bold
27254
27255 \backslash
27256 today
27257 \series default
27258  as ERT.
27259  The different methods are compared in Table\InsetSpace ~
27260
27261 \begin_inset LatexCommand ref
27262 reference "tab:Comparison-of-the"
27263
27264 \end_inset
27265
27266 .
27267 \end_layout
27268
27269 \begin_layout Description
27270 LilyPond This template is used for music notation typeset with the program
27271 \begin_inset ERT
27272 status collapsed
27273
27274 \begin_layout Standard
27275
27276
27277 \backslash
27278 linebreak 
27279 \end_layout
27280
27281 \end_inset
27282
27283
27284 \begin_inset ERT
27285 status collapsed
27286
27287 \begin_layout Standard
27288
27289
27290 \backslash
27291 href{http://en.wikipedia.org/wiki/LilyPond}{
27292 \end_layout
27293
27294 \end_inset
27295
27296
27297 \series bold
27298 LilyPond
27299 \series default
27300
27301 \begin_inset ERT
27302 status collapsed
27303
27304 \begin_layout Standard
27305
27306 }
27307 \end_layout
27308
27309 \end_inset
27310
27311 .
27312 \begin_inset Note Note
27313 status collapsed
27314
27315 \begin_layout Standard
27316 The command 
27317 \series bold
27318
27319 \backslash
27320 linebreak
27321 \series default
27322  breaks the line while the remaining text in the line is stretched to the
27323  page margin.
27324 \end_layout
27325
27326 \end_inset
27327
27328
27329 \end_layout
27330
27331 \begin_layout Description
27332 RasterImage This can be used for bitmap images.
27333  Nearly all popular image formats are supported.
27334  The image can be treated in the 
27335 \family sans
27336 External material
27337 \family default
27338  dialog like the images that are usually included via the 
27339 \family sans
27340 Graphics
27341 \family default
27342  dialog as described in section\InsetSpace ~
27343
27344 \begin_inset LatexCommand ref
27345 reference "sec:Graphics-Dialog"
27346
27347 \end_inset
27348
27349 .
27350  The difference is that only raster images are allowed, that means that
27351  PDF and EPS-images are not supported.
27352 \end_layout
27353
27354 \begin_layout Description
27355 XFig This template supports images created with the program 
27356 \begin_inset ERT
27357 status collapsed
27358
27359 \begin_layout Standard
27360
27361
27362 \backslash
27363 href{http://en.wikipedia.org/wiki/Xfig}{
27364 \end_layout
27365
27366 \end_inset
27367
27368
27369 \series bold
27370 Xfig
27371 \series default
27372
27373 \begin_inset ERT
27374 status collapsed
27375
27376 \begin_layout Standard
27377
27378 }
27379 \end_layout
27380
27381 \end_inset
27382
27383 .
27384 \end_layout
27385
27386 \begin_layout Standard
27387 \begin_inset Float table
27388 placement h
27389 wide false
27390 sideways false
27391 status open
27392
27393 \begin_layout Standard
27394 \begin_inset Caption
27395
27396 \begin_layout Standard
27397 \begin_inset LatexCommand label
27398 name "tab:Comparison-of-the"
27399
27400 \end_inset
27401
27402 Comparison of the date input methods.
27403 \end_layout
27404
27405 \end_inset
27406
27407
27408 \end_layout
27409
27410 \begin_layout Standard
27411 \align center
27412 \begin_inset Tabular
27413 <lyxtabular version="3" rows="4" columns="4">
27414 <features>
27415 <column alignment="center" valignment="top" leftline="true" width="0">
27416 <column alignment="center" valignment="top" leftline="true" width="0">
27417 <column alignment="center" valignment="top" leftline="true" width="0">
27418 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
27419 <row topline="true">
27420 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27421 \begin_inset Text
27422
27423 \begin_layout Standard
27424 Document format
27425 \end_layout
27426
27427 \end_inset
27428 </cell>
27429 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27430 \begin_inset Text
27431
27432 \begin_layout Standard
27433
27434 \family sans
27435 External Material\SpecialChar \menuseparator
27436 Date
27437 \end_layout
27438
27439 \end_inset
27440 </cell>
27441 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27442 \begin_inset Text
27443
27444 \begin_layout Standard
27445
27446 \family sans
27447 Insert\SpecialChar \menuseparator
27448 Date
27449 \end_layout
27450
27451 \end_inset
27452 </cell>
27453 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27454 \begin_inset Text
27455
27456 \begin_layout Standard
27457 command 
27458 \series bold
27459
27460 \backslash
27461 today
27462 \end_layout
27463
27464 \end_inset
27465 </cell>
27466 </row>
27467 <row topline="true">
27468 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27469 \begin_inset Text
27470
27471 \begin_layout Standard
27472 LyX
27473 \end_layout
27474
27475 \end_inset
27476 </cell>
27477 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27478 \begin_inset Text
27479
27480 \begin_layout Standard
27481 as inset box
27482 \end_layout
27483
27484 \end_inset
27485 </cell>
27486 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27487 \begin_inset Text
27488
27489 \begin_layout Standard
27490 as date
27491 \end_layout
27492
27493 \end_inset
27494 </cell>
27495 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27496 \begin_inset Text
27497
27498 \begin_layout Standard
27499 as ERT inset box
27500 \end_layout
27501
27502 \end_inset
27503 </cell>
27504 </row>
27505 <row topline="true">
27506 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27507 \begin_inset Text
27508
27509 \begin_layout Standard
27510 LaTeX
27511 \end_layout
27512
27513 \end_inset
27514 </cell>
27515 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27516 \begin_inset Text
27517
27518 \begin_layout Standard
27519 as date
27520 \end_layout
27521
27522 \end_inset
27523 </cell>
27524 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27525 \begin_inset Text
27526
27527 \begin_layout Standard
27528 as date
27529 \end_layout
27530
27531 \end_inset
27532 </cell>
27533 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27534 \begin_inset Text
27535
27536 \begin_layout Standard
27537 as command
27538 \end_layout
27539
27540 \end_inset
27541 </cell>
27542 </row>
27543 <row topline="true" bottomline="true">
27544 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27545 \begin_inset Text
27546
27547 \begin_layout Standard
27548 DVI, PDF, PS
27549 \end_layout
27550
27551 \end_inset
27552 </cell>
27553 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27554 \begin_inset Text
27555
27556 \begin_layout Standard
27557 as date
27558 \end_layout
27559
27560 \end_inset
27561 </cell>
27562 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27563 \begin_inset Text
27564
27565 \begin_layout Standard
27566 as date
27567 \end_layout
27568
27569 \end_inset
27570 </cell>
27571 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27572 \begin_inset Text
27573
27574 \begin_layout Standard
27575 as date
27576 \end_layout
27577
27578 \end_inset
27579 </cell>
27580 </row>
27581 </lyxtabular>
27582
27583 \end_inset
27584
27585
27586 \end_layout
27587
27588 \end_inset
27589
27590
27591 \end_layout
27592
27593 \begin_layout Standard
27594 When you use the option 
27595 \family sans
27596 Draft
27597 \family default
27598  in the 
27599 \family sans
27600 File
27601 \family default
27602  tab of the 
27603 \family sans
27604 External Material
27605 \family default
27606  dialog, only the path to the inserted file is shown in the output.
27607 \newline
27608 External
27609  material is displayed in LyX either as box like this: 
27610 \begin_inset Graphics
27611         filename clipart/ExternalMaterialQt4.png
27612         scale 85
27613         scaleBeforeRotation
27614
27615 \end_inset
27616
27617  or as image, depending on the setting in the 
27618 \family sans
27619 LyX\InsetSpace ~
27620 View
27621 \family default
27622  tab of the 
27623 \family sans
27624 External Material
27625 \family default
27626  dialog.
27627 \end_layout
27628
27629 \begin_layout Standard
27630 The 
27631 \family sans
27632 \emph on
27633 Customization
27634 \family default
27635 \emph default
27636  manual explains how you can define your own templates.
27637 \end_layout
27638
27639 \begin_layout Section
27640 Child Documents
27641 \begin_inset LatexCommand label
27642 name "sec:Child-Documents"
27643
27644 \end_inset
27645
27646
27647 \begin_inset LatexCommand index
27648 name "External Stuff ! Child Documents"
27649
27650 \end_inset
27651
27652
27653 \begin_inset LatexCommand index
27654 name "Files ! Include"
27655
27656 \end_inset
27657
27658
27659 \end_layout
27660
27661 \begin_layout Standard
27662 Child documents are used when you have a long document consisting of several
27663  larger parts or sections.
27664  For maintenance it is often useful and sometimes even required to split
27665  the document in several files that can be revised separately.
27666  The different documents are then the so called child documents and a master
27667  document connects them to print the full document or parts of it.
27668 \end_layout
27669
27670 \begin_layout Standard
27671 Included documents are displayed in LyX as a box like this: 
27672 \begin_inset Graphics
27673         filename clipart/ChildDocumentQt4.png
27674         scale 85
27675         scaleBeforeRotation
27676
27677 \end_inset
27678
27679  To include child documents to a master document use the menu 
27680 \family sans
27681 Insert\SpecialChar \menuseparator
27682 File\SpecialChar \menuseparator
27683 Child\InsetSpace ~
27684 Documents
27685 \family default
27686 .
27687  A dialog pops up where you can choose between four include methods:
27688 \end_layout
27689
27690 \begin_layout Description
27691 Include You can include LyX and LaTeX-documents.
27692  When you press the 
27693 \family sans
27694 Load
27695 \family default
27696  button in the 
27697 \family sans
27698 Child Document
27699 \family default
27700  dialog, the included documents will be opened in LyX in a new file tab
27701  so that you can modify it.
27702 \newline
27703
27704 \end_layout
27705
27706 \begin_layout Standard
27707 Here is a child document inserted using 
27708 \family sans
27709 Include
27710 \family default
27711
27712 \begin_inset Include \include{DummyDocument1.lyx}
27713 preview false
27714
27715 \end_inset
27716
27717
27718 \end_layout
27719
27720 \begin_layout Standard
27721 The section numbering includes the sections of the included files in the
27722  order they are inserted in the master document.
27723  The included example document has for example a subsection that is numbered
27724  as subsection of this section.
27725  Labels of included documents can be referenced: Subsection\InsetSpace ~
27726
27727 \begin_inset LatexCommand ref
27728 reference "sub:External-Subsection-1"
27729
27730 \end_inset
27731
27732
27733 \end_layout
27734
27735 \begin_layout Standard
27736 The preamble of the child document is ignored, only the preamble of the
27737  master document is used.
27738  Included documents are inserted starting on a new page and end with a pagebreak.
27739 \end_layout
27740
27741 \begin_layout Standard
27742 With the LaTeX-command 
27743 \series bold
27744
27745 \backslash
27746 includeonly 
27747 \series default
27748 you can specify which included child documents are processed when the output
27749  is generated.
27750  This is useful when you are perhaps only working on a certain chapter of
27751  your large document as this saves compiling time.
27752  
27753 \series bold
27754
27755 \backslash
27756 includeonly
27757 \series default
27758  is inserted to the master document preamble.
27759  It takes a comma-separated list of the filenames as argument, e.g.
27760 \end_layout
27761
27762 \begin_layout Standard
27763
27764 \series bold
27765
27766 \backslash
27767 includeonly{chapter1,chapter5}
27768 \end_layout
27769
27770 \begin_layout Standard
27771 will only process the included files named 
27772 \begin_inset Quotes eld
27773 \end_inset
27774
27775 chapter1.lyx
27776 \begin_inset Quotes erd
27777 \end_inset
27778
27779  (or 
27780 \begin_inset Quotes eld
27781 \end_inset
27782
27783 chapter1.tex
27784 \begin_inset Quotes erd
27785 \end_inset
27786
27787 ) and 
27788 \begin_inset Quotes eld
27789 \end_inset
27790
27791 chapter5.lyx
27792 \begin_inset Quotes erd
27793 \end_inset
27794
27795  .
27796 \end_layout
27797
27798 \begin_layout Standard
27799 \begin_inset Note Greyedout
27800 status open
27801
27802 \begin_layout Standard
27803
27804 \series bold
27805 Note:
27806 \series default
27807  When you have included a LyX- or LaTeX-file, you are warned when you export/vie
27808 w the document in case that the child document uses another document class
27809  than the master document as this will lead to unexpected outputs.
27810 \end_layout
27811
27812 \end_inset
27813
27814
27815 \end_layout
27816
27817 \begin_layout Description
27818 Input This method is very similar to the Include method.
27819  The differences are:
27820 \end_layout
27821
27822 \begin_deeper
27823 \begin_layout Itemize
27824 Input files don't start with a new page and don't end with a pagebreak.
27825 \end_layout
27826
27827 \begin_layout Itemize
27828 Input files can be previewed in LyX when 
27829 \family sans
27830 Instant\InsetSpace ~
27831 Preview
27832 \family default
27833  is enabled in LyX's preferences under 
27834 \family sans
27835 Look\InsetSpace ~
27836 and\InsetSpace ~
27837 feel\SpecialChar \menuseparator
27838 Graphics
27839 \family default
27840 .
27841 \end_layout
27842
27843 \begin_layout Itemize
27844 The LaTeX-command 
27845 \series bold
27846
27847 \backslash
27848 includeonly
27849 \series default
27850  cannot be used.
27851 \end_layout
27852
27853 \end_deeper
27854 \begin_layout Standard
27855 Here is a child document inserted using 
27856 \family sans
27857 Input
27858 \family default
27859
27860 \begin_inset Include \input{DummyDocument2.lyx}
27861 preview false
27862
27863 \end_inset
27864
27865
27866 \end_layout
27867
27868 \begin_layout Description
27869 Verbatim With this method every text file can be included.
27870  The file is shown in the output with its source code, no command used in
27871  the text is invoked.
27872  You can use the option 
27873 \family sans
27874 Mark spaces in output
27875 \family default
27876  that displays the character 
27877 \begin_inset Quotes eld
27878 \end_inset
27879
27880
27881 \begin_inset ERT
27882 status collapsed
27883
27884 \begin_layout Standard
27885
27886
27887 \backslash
27888 textvisiblespace 
27889 \end_layout
27890
27891 \end_inset
27892
27893
27894 \begin_inset Quotes erd
27895 \end_inset
27896
27897  for every space character in the source code.
27898  The difference to the method via the menu 
27899 \family sans
27900 Insert\SpecialChar \menuseparator
27901 File\SpecialChar \menuseparator
27902 Plain\InsetSpace ~
27903 Text
27904 \family default
27905  is that the document content is not shown in LyX.
27906 \end_layout
27907
27908 \begin_layout Standard
27909 Here is a child document inserted as Verbatim: 
27910 \begin_inset Include \verbatiminput{DummyTextDocument.txt}
27911 preview false
27912
27913 \end_inset
27914
27915
27916 \begin_inset VSpace bigskip
27917 \end_inset
27918
27919 Here is a child document inserted as Verbatim using the 
27920 \family sans
27921 Mark spaces in output
27922 \family default
27923  option: 
27924 \begin_inset Include \verbatiminput*{DummyTextDocument.txt}
27925 preview false
27926
27927 \end_inset
27928
27929
27930 \end_layout
27931
27932 \begin_layout Standard
27933 \begin_inset VSpace bigskip
27934 \end_inset
27935
27936
27937 \end_layout
27938
27939 \begin_layout Standard
27940 \begin_inset Note Greyedout
27941 status open
27942
27943 \begin_layout Standard
27944
27945 \series bold
27946 Note:
27947 \series default
27948  As you can see in the examples above, the text of the documents included
27949  as 
27950 \family sans
27951 verbatim
27952 \family default
27953  is not broken at the end of the document lines.
27954 \end_layout
27955
27956 \end_inset
27957
27958
27959 \end_layout
27960
27961 \begin_layout Description
27962 Listings This type is described in chapter\InsetSpace ~
27963
27964 \begin_inset LatexCommand ref
27965 reference "cha:Program-Code-Listings"
27966
27967 \end_inset
27968
27969 .
27970 \end_layout
27971
27972 \begin_layout Standard
27973 \begin_inset Note Greyedout
27974 status open
27975
27976 \begin_layout Standard
27977
27978 \series bold
27979 Note:
27980 \series default
27981  Including the same document twice in a document using different methods
27982  could cause LaTeX-problems.
27983 \end_layout
27984
27985 \end_inset
27986
27987
27988 \end_layout
27989
27990 \begin_layout Chapter
27991 Program Code Listings
27992 \begin_inset LatexCommand label
27993 name "cha:Program-Code-Listings"
27994
27995 \end_inset
27996
27997
27998 \begin_inset LatexCommand index
27999 name "Listings"
28000
28001 \end_inset
28002
28003
28004 \begin_inset LatexCommand index
28005 name "Program Code"
28006
28007 \end_inset
28008
28009
28010 \begin_inset LatexCommand index
28011 name "Floats ! Listings"
28012
28013 \end_inset
28014
28015
28016 \end_layout
28017
28018 \begin_layout Standard
28019 To include and typeset program code you can use the 
28020 \family sans
28021 Listings
28022 \family default
28023  inset that can be inserted via the menu 
28024 \family sans
28025 Insert\SpecialChar \menuseparator
28026 Program Listing
28027 \family default
28028 .
28029  The LaTeX-package 
28030 \series bold
28031 listings
28032 \series default
28033
28034 \begin_inset LatexCommand index
28035 name "LaTeX-packages ! listings"
28036
28037 \end_inset
28038
28039  provides a powerful and flexible way to insert program source code to your
28040  document.
28041 \end_layout
28042
28043 \begin_layout Standard
28044 When right-clicking on a listings inset a dialog pops up where you can set
28045  the listings format.
28046 \end_layout
28047
28048 \begin_layout Standard
28049 By default, a listing starts a new paragraph in the output.
28050  The placement option 
28051 \family sans
28052 Inline\InsetSpace ~
28053 listing
28054 \family default
28055  prints the listing inline like this: 
28056 \begin_inset listings
28057 lstparams "language={C++}"
28058 inline true
28059 status open
28060
28061 \begin_layout Standard
28062
28063 int a=5;
28064 \end_layout
28065
28066 \end_inset
28067
28068
28069 \newline
28070 The option 
28071 \family sans
28072 Float
28073 \family default
28074  creates a listings float where you can specify the placement options 
28075 \begin_inset Quotes eld
28076 \end_inset
28077
28078
28079 \family sans
28080 h
28081 \family default
28082
28083 \begin_inset Quotes erd
28084 \end_inset
28085
28086
28087 \begin_inset Quotes eld
28088 \end_inset
28089
28090
28091 \family sans
28092 t
28093 \family default
28094
28095 \begin_inset Quotes erd
28096 \end_inset
28097
28098
28099 \begin_inset Quotes eld
28100 \end_inset
28101
28102
28103 \family sans
28104 b
28105 \family default
28106
28107 \begin_inset Quotes erd
28108 \end_inset
28109
28110 , and 
28111 \begin_inset Quotes eld
28112 \end_inset
28113
28114
28115 \family sans
28116 p
28117 \family default
28118
28119 \begin_inset Quotes erd
28120 \end_inset
28121
28122  corresponding to the float placement options described in section\InsetSpace ~
28123
28124 \begin_inset LatexCommand ref
28125 reference "sec:Float-Placement"
28126
28127 \end_inset
28128
28129 .
28130  The placement options can be mixed and are inserted without any separation,
28131  e.\InsetSpace \thinspace{}
28132 g.\InsetSpace ~
28133
28134 \begin_inset Quotes eld
28135 \end_inset
28136
28137
28138 \family sans
28139 htbp
28140 \family default
28141
28142 \begin_inset Quotes erd
28143 \end_inset
28144
28145 .
28146  The option 
28147 \begin_inset Quotes eld
28148 \end_inset
28149
28150 h
28151 \begin_inset Quotes erd
28152 \end_inset
28153
28154  has sometimes no effect, but you don't need to use the 
28155 \family sans
28156 Float
28157 \family default
28158  option in this case as also non-float listings can have captions and be
28159  referenced.
28160 \end_layout
28161
28162 \begin_layout Standard
28163 You can add captions to listings with the menu 
28164 \family sans
28165 Insert\SpecialChar \menuseparator
28166 Caption
28167 \family default
28168 .
28169  Listings can be referenced like floats: Listing\InsetSpace ~
28170
28171 \begin_inset LatexCommand ref
28172 reference "lst:Example-Listing"
28173
28174 \end_inset
28175
28176
28177 \end_layout
28178
28179 \begin_layout Standard
28180 \begin_inset listings
28181 lstparams "language=Python"
28182 inline false
28183 status open
28184
28185 \begin_layout Standard
28186
28187 \begin_inset Caption
28188
28189 \begin_layout Standard
28190 \begin_inset LatexCommand label
28191 name "lst:Example-Listing"
28192
28193 \end_inset
28194
28195 Example Listing float
28196 \end_layout
28197
28198 \end_inset
28199
28200 # Example listing float
28201 \end_layout
28202
28203 \begin_layout Standard
28204
28205 def func(param):
28206 \end_layout
28207
28208 \begin_layout Standard
28209
28210     'this is a python function'
28211 \end_layout
28212
28213 \begin_layout Standard
28214
28215     pass
28216 \end_layout
28217
28218 \end_inset
28219
28220
28221 \end_layout
28222
28223 \begin_layout Standard
28224 When you have set a programming language in the listings dialog, the keywords
28225  of this language will be recognized and specially typeset in the output.
28226  In the example listings the Python keyword 
28227 \begin_inset Quotes eld
28228 \end_inset
28229
28230 def
28231 \begin_inset Quotes erd
28232 \end_inset
28233
28234  is recognized and printed bold in the output.
28235 \end_layout
28236
28237 \begin_layout Standard
28238 \begin_inset Note Greyedout
28239 status open
28240
28241 \begin_layout Standard
28242
28243 \series bold
28244 Note:
28245 \series default
28246  If you don't get bold keywords when using typewriter fonts, your typewriter
28247  font probably doesn't provide a bold shape.
28248  In this case select a different one in the menu 
28249 \family sans
28250 Document\SpecialChar \menuseparator
28251 Settings\SpecialChar \menuseparator
28252 Fonts
28253 \family default
28254 .
28255  (The fonts 
28256 \emph on
28257 LuxiMono, BeraMono
28258 \emph default
28259  and 
28260 \emph on
28261 Courier
28262 \emph default
28263  provide bold shapes.)
28264 \end_layout
28265
28266 \end_inset
28267
28268
28269 \end_layout
28270
28271 \begin_layout Standard
28272 In section 
28273 \family sans
28274 Line\InsetSpace ~
28275 numbering
28276 \family default
28277  of the listings dialog you can specify the line numbering style.
28278  You can insert a number to specify which lines are numbered to the field
28279  
28280 \family sans
28281 Step
28282 \family default
28283 .
28284  When you insert e.g.
28285  
28286 \begin_inset Quotes eld
28287 \end_inset
28288
28289 3
28290 \begin_inset Quotes erd
28291 \end_inset
28292
28293 , only every 3rd line will be numbered.
28294 \end_layout
28295
28296 \begin_layout Standard
28297 You can furthermore specify a range of lines, only these will then appear
28298  in the output.
28299  The option 
28300 \family sans
28301 Extended\InsetSpace ~
28302 chars
28303 \family default
28304  should be used when you use national characters like the German umlauts
28305  in the listing.
28306 \newline
28307 Here is an example listing with left line numbering, step
28308  
28309 \begin_inset Quotes eld
28310 \end_inset
28311
28312 3
28313 \begin_inset Quotes erd
28314 \end_inset
28315
28316 , language 
28317 \begin_inset Quotes eld
28318 \end_inset
28319
28320 Python
28321 \begin_inset Quotes erd
28322 \end_inset
28323
28324 , options 
28325 \begin_inset Quotes eld
28326 \end_inset
28327
28328 Extended\InsetSpace ~
28329 chars
28330 \begin_inset Quotes erd
28331 \end_inset
28332
28333  and 
28334 \begin_inset Quotes eld
28335 \end_inset
28336
28337 Space\InsetSpace ~
28338 as\InsetSpace ~
28339 Symbol
28340 \begin_inset Quotes erd
28341 \end_inset
28342
28343 , range lines 3\InsetSpace \thinspace{}
28344 -\InsetSpace \thinspace{}
28345 8:
28346 \end_layout
28347
28348 \begin_layout Standard
28349 \begin_inset listings
28350 lstparams "extendedchars=true,firstline=3,language=Python,lastline=8,numbers=left,showspaces=true,stepnumber=3"
28351 inline false
28352 status open
28353
28354 \begin_layout Standard
28355
28356 def func(param):
28357 \end_layout
28358
28359 \begin_layout Standard
28360
28361     'this is a python function'
28362 \end_layout
28363
28364 \begin_layout Standard
28365
28366     pass
28367 \end_layout
28368
28369 \begin_layout Standard
28370
28371 def func(param):
28372 \end_layout
28373
28374 \begin_layout Standard
28375
28376 'This is a German word: Tschüß'
28377 \end_layout
28378
28379 \begin_layout Standard
28380
28381 pass
28382 \end_layout
28383
28384 \begin_layout Standard
28385
28386 def func(param):
28387 \end_layout
28388
28389 \begin_layout Standard
28390
28391 'this is a python function'
28392 \end_layout
28393
28394 \begin_layout Standard
28395
28396 pass
28397 \end_layout
28398
28399 \end_inset
28400
28401
28402 \end_layout
28403
28404 \begin_layout Standard
28405 \begin_inset Note Greyedout
28406 status open
28407
28408 \begin_layout Standard
28409
28410 \series bold
28411 Note:
28412 \series default
28413  Due to a bug in the 
28414 \series bold
28415 listings
28416 \series default
28417  package the line numbering is shifted by a line by every previous listing.
28418  That's the reason why the lines 2 and 5 are numbered in the above listing
28419  and not the lines 3 and 6.
28420 \end_layout
28421
28422 \end_inset
28423
28424
28425 \end_layout
28426
28427 \begin_layout Standard
28428 \begin_inset VSpace bigskip
28429 \end_inset
28430
28431
28432 \end_layout
28433
28434 \begin_layout Standard
28435 It is also possible to print lines from a file as listing.
28436  To do this, use the menu 
28437 \family sans
28438 Insert\SpecialChar \menuseparator
28439 File\SpecialChar \menuseparator
28440 Child Document
28441 \family default
28442  and choose the type 
28443 \family sans
28444 Listings
28445 \family default
28446 .
28447 \begin_inset Foot
28448 status collapsed
28449
28450 \begin_layout Standard
28451 The other child document types are described in section\InsetSpace ~
28452
28453 \begin_inset LatexCommand ref
28454 reference "sec:Child-Documents"
28455
28456 \end_inset
28457
28458 .
28459 \end_layout
28460
28461 \end_inset
28462
28463  In the child document dialog you can specify the listing parameters in
28464  a text box.
28465  To show a list of all available parameters, type in a question mark 
28466 \begin_inset Quotes eld
28467 \end_inset
28468
28469 ?
28470 \begin_inset Quotes erd
28471 \end_inset
28472
28473  in the text box.
28474 \end_layout
28475
28476 \begin_layout Standard
28477 To reference child document listings, write a label text into the corresponding
28478  field of the child document dialog.
28479  The label can then be referenced using the menu 
28480 \family sans
28481 Insert\SpecialChar \menuseparator
28482 Cross-Reference
28483 \family default
28484 .
28485 \end_layout
28486
28487 \begin_layout Standard
28488 Listing\InsetSpace ~
28489
28490 \begin_inset LatexCommand ref
28491 reference "lst:file-listing"
28492
28493 \end_inset
28494
28495  is an example for a listing of a file; there the lines 10\InsetSpace \thinspace{}
28496 -\InsetSpace \thinspace{}
28497 15 of this LyX
28498  file are listed.
28499 \end_layout
28500
28501 \begin_layout Standard
28502 \begin_inset Include \lstinputlisting{EmbeddedObjects.lyx}[breaklines=true,caption={Lines 10 - 15 of this LyX file},firstline=10,label={lst:file-listing},language={[LaTeX]TeX},lastline=15]
28503 preview false
28504
28505 \end_inset
28506
28507
28508 \end_layout
28509
28510 \begin_layout Standard
28511 \begin_inset VSpace bigskip
28512 \end_inset
28513
28514
28515 \end_layout
28516
28517 \begin_layout Standard
28518 Global listings settings can be set in the 
28519 \family sans
28520 Document\SpecialChar \menuseparator
28521 Settings\SpecialChar \menuseparator
28522 Text Layout
28523 \family default
28524  dialog.
28525  To get there a list of available options, type in a question mark 
28526 \begin_inset Quotes eld
28527 \end_inset
28528
28529 ?
28530 \begin_inset Quotes erd
28531 \end_inset
28532
28533  in the 
28534 \family sans
28535 Listings\InsetSpace ~
28536 settings
28537 \family default
28538  field.
28539 \end_layout
28540
28541 \begin_layout Standard
28542 For more information about the 
28543 \series bold
28544 listings
28545 \series default
28546  package, we refer to its documentation 
28547 \begin_inset LatexCommand cite
28548 key "listings"
28549
28550 \end_inset
28551
28552 .
28553 \end_layout
28554
28555 \begin_layout Standard
28556
28557 \newpage
28558
28559 \end_layout
28560
28561 \begin_layout Chapter
28562 \start_of_appendix
28563 Units available in 
28564 \begin_inset ERT
28565 status collapsed
28566
28567 \begin_layout Standard
28568
28569
28570 \backslash
28571 texorpdfstring{
28572 \end_layout
28573
28574 \end_inset
28575
28576 LyX
28577 \begin_inset ERT
28578 status collapsed
28579
28580 \begin_layout Standard
28581
28582 }{LyX}
28583 \end_layout
28584
28585 \end_inset
28586
28587
28588 \begin_inset LatexCommand index
28589 name "Units"
28590
28591 \end_inset
28592
28593
28594 \begin_inset LatexCommand label
28595 name "cha:Units-available-in"
28596
28597 \end_inset
28598
28599
28600 \begin_inset Note Note
28601 status collapsed
28602
28603 \begin_layout Standard
28604 The command 
28605 \backslash
28606 texorpdfstring is provided by the LaTeX-package hyperref to avoid that ligatures
28607  are displayed wrongly in PDF-bookmarks.
28608  For more information about this, have a look at 
28609 \begin_inset LatexCommand cite
28610 key "hyperref"
28611
28612 \end_inset
28613
28614 .
28615 \end_layout
28616
28617 \end_inset
28618
28619
28620 \end_layout
28621
28622 \begin_layout Standard
28623 To understand the units described in this documentation, Table\InsetSpace ~
28624
28625 \begin_inset LatexCommand ref
28626 reference "tab:Units"
28627
28628 \end_inset
28629
28630  explains all units available in LyX.
28631 \end_layout
28632
28633 \begin_layout Standard
28634 \begin_inset Float table
28635 placement h
28636 wide false
28637 sideways false
28638 status open
28639
28640 \begin_layout Standard
28641 \begin_inset Caption
28642
28643 \begin_layout Standard
28644 \begin_inset LatexCommand label
28645 name "tab:Units"
28646
28647 \end_inset
28648
28649 Units
28650 \end_layout
28651
28652 \end_inset
28653
28654
28655 \end_layout
28656
28657 \begin_layout Standard
28658 \begin_inset VSpace medskip
28659 \end_inset
28660
28661
28662 \end_layout
28663
28664 \begin_layout Standard
28665 \align center
28666 \begin_inset Tabular
28667 <lyxtabular version="3" rows="20" columns="2">
28668 <features>
28669 <column alignment="center" valignment="top" leftline="true" width="0">
28670 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
28671 <row topline="true" bottomline="true">
28672 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28673 \begin_inset Text
28674
28675 \begin_layout Standard
28676 unit
28677 \end_layout
28678
28679 \end_inset
28680 </cell>
28681 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28682 \begin_inset Text
28683
28684 \begin_layout Standard
28685 name/description
28686 \end_layout
28687
28688 \end_inset
28689 </cell>
28690 </row>
28691 <row topline="true">
28692 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28693 \begin_inset Text
28694
28695 \begin_layout Standard
28696 mm
28697 \end_layout
28698
28699 \end_inset
28700 </cell>
28701 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28702 \begin_inset Text
28703
28704 \begin_layout Standard
28705 millimeter
28706 \end_layout
28707
28708 \end_inset
28709 </cell>
28710 </row>
28711 <row topline="true">
28712 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28713 \begin_inset Text
28714
28715 \begin_layout Standard
28716 cm
28717 \end_layout
28718
28719 \end_inset
28720 </cell>
28721 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28722 \begin_inset Text
28723
28724 \begin_layout Standard
28725 centimeter
28726 \end_layout
28727
28728 \end_inset
28729 </cell>
28730 </row>
28731 <row topline="true">
28732 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28733 \begin_inset Text
28734
28735 \begin_layout Standard
28736 in
28737 \end_layout
28738
28739 \end_inset
28740 </cell>
28741 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28742 \begin_inset Text
28743
28744 \begin_layout Standard
28745 inch
28746 \end_layout
28747
28748 \end_inset
28749 </cell>
28750 </row>
28751 <row topline="true">
28752 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28753 \begin_inset Text
28754
28755 \begin_layout Standard
28756 pt
28757 \end_layout
28758
28759 \end_inset
28760 </cell>
28761 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28762 \begin_inset Text
28763
28764 \begin_layout Standard
28765 point (72.27\InsetSpace \thinspace{}
28766 pt = 1\InsetSpace \thinspace{}
28767 in)
28768 \end_layout
28769
28770 \end_inset
28771 </cell>
28772 </row>
28773 <row topline="true">
28774 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28775 \begin_inset Text
28776
28777 \begin_layout Standard
28778 pc
28779 \end_layout
28780
28781 \end_inset
28782 </cell>
28783 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28784 \begin_inset Text
28785
28786 \begin_layout Standard
28787 pica (1\InsetSpace \thinspace{}
28788 pc = 12\InsetSpace \thinspace{}
28789 pt)
28790 \end_layout
28791
28792 \end_inset
28793 </cell>
28794 </row>
28795 <row topline="true">
28796 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28797 \begin_inset Text
28798
28799 \begin_layout Standard
28800 sp
28801 \end_layout
28802
28803 \end_inset
28804 </cell>
28805 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28806 \begin_inset Text
28807
28808 \begin_layout Standard
28809 scaled point (65536\InsetSpace \thinspace{}
28810 sp = 1\InsetSpace \thinspace{}
28811 pt)
28812 \end_layout
28813
28814 \end_inset
28815 </cell>
28816 </row>
28817 <row topline="true">
28818 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28819 \begin_inset Text
28820
28821 \begin_layout Standard
28822 bp
28823 \end_layout
28824
28825 \end_inset
28826 </cell>
28827 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28828 \begin_inset Text
28829
28830 \begin_layout Standard
28831 big point (72\InsetSpace \thinspace{}
28832 bp = 1\InsetSpace \thinspace{}
28833 in)
28834 \end_layout
28835
28836 \end_inset
28837 </cell>
28838 </row>
28839 <row topline="true">
28840 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28841 \begin_inset Text
28842
28843 \begin_layout Standard
28844 dd
28845 \end_layout
28846
28847 \end_inset
28848 </cell>
28849 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28850 \begin_inset Text
28851
28852 \begin_layout Standard
28853 didot (1\InsetSpace \thinspace{}
28854 dd 
28855 \begin_inset Formula $\approx$
28856 \end_inset
28857
28858  0.376\InsetSpace \thinspace{}
28859 mm)
28860 \end_layout
28861
28862 \end_inset
28863 </cell>
28864 </row>
28865 <row topline="true">
28866 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28867 \begin_inset Text
28868
28869 \begin_layout Standard
28870 cc
28871 \end_layout
28872
28873 \end_inset
28874 </cell>
28875 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28876 \begin_inset Text
28877
28878 \begin_layout Standard
28879 cicero (1\InsetSpace \thinspace{}
28880 cc = 12\InsetSpace \thinspace{}
28881 dd)
28882 \end_layout
28883
28884 \end_inset
28885 </cell>
28886 </row>
28887 <row topline="true">
28888 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28889 \begin_inset Text
28890
28891 \begin_layout Standard
28892 Scale%
28893 \end_layout
28894
28895 \end_inset
28896 </cell>
28897 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28898 \begin_inset Text
28899
28900 \begin_layout Standard
28901 % of original image width
28902 \end_layout
28903
28904 \end_inset
28905 </cell>
28906 </row>
28907 <row topline="true">
28908 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28909 \begin_inset Text
28910
28911 \begin_layout Standard
28912 text%
28913 \end_layout
28914
28915 \end_inset
28916 </cell>
28917 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28918 \begin_inset Text
28919
28920 \begin_layout Standard
28921 % of text width
28922 \end_layout
28923
28924 \end_inset
28925 </cell>
28926 </row>
28927 <row topline="true">
28928 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28929 \begin_inset Text
28930
28931 \begin_layout Standard
28932 col%
28933 \end_layout
28934
28935 \end_inset
28936 </cell>
28937 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28938 \begin_inset Text
28939
28940 \begin_layout Standard
28941 % of column width
28942 \end_layout
28943
28944 \end_inset
28945 </cell>
28946 </row>
28947 <row topline="true">
28948 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28949 \begin_inset Text
28950
28951 \begin_layout Standard
28952 page%
28953 \end_layout
28954
28955 \end_inset
28956 </cell>
28957 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28958 \begin_inset Text
28959
28960 \begin_layout Standard
28961 % of paper width
28962 \end_layout
28963
28964 \end_inset
28965 </cell>
28966 </row>
28967 <row topline="true">
28968 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28969 \begin_inset Text
28970
28971 \begin_layout Standard
28972 line%
28973 \end_layout
28974
28975 \end_inset
28976 </cell>
28977 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28978 \begin_inset Text
28979
28980 \begin_layout Standard
28981 % of line width
28982 \end_layout
28983
28984 \end_inset
28985 </cell>
28986 </row>
28987 <row topline="true">
28988 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28989 \begin_inset Text
28990
28991 \begin_layout Standard
28992 theight%
28993 \end_layout
28994
28995 \end_inset
28996 </cell>
28997 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28998 \begin_inset Text
28999
29000 \begin_layout Standard
29001 % of text height
29002 \end_layout
29003
29004 \end_inset
29005 </cell>
29006 </row>
29007 <row topline="true">
29008 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29009 \begin_inset Text
29010
29011 \begin_layout Standard
29012 pheight%
29013 \end_layout
29014
29015 \end_inset
29016 </cell>
29017 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29018 \begin_inset Text
29019
29020 \begin_layout Standard
29021 % of paper height
29022 \end_layout
29023
29024 \end_inset
29025 </cell>
29026 </row>
29027 <row topline="true">
29028 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29029 \begin_inset Text
29030
29031 \begin_layout Standard
29032 ex
29033 \end_layout
29034
29035 \end_inset
29036 </cell>
29037 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29038 \begin_inset Text
29039
29040 \begin_layout Standard
29041 height of letter 
29042 \emph on
29043 x
29044 \emph default
29045  in current font
29046 \end_layout
29047
29048 \end_inset
29049 </cell>
29050 </row>
29051 <row topline="true">
29052 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29053 \begin_inset Text
29054
29055 \begin_layout Standard
29056 em
29057 \end_layout
29058
29059 \end_inset
29060 </cell>
29061 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29062 \begin_inset Text
29063
29064 \begin_layout Standard
29065 width of letter 
29066 \emph on
29067 M
29068 \emph default
29069  in current font
29070 \end_layout
29071
29072 \end_inset
29073 </cell>
29074 </row>
29075 <row topline="true" bottomline="true">
29076 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29077 \begin_inset Text
29078
29079 \begin_layout Standard
29080 mu
29081 \end_layout
29082
29083 \end_inset
29084 </cell>
29085 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29086 \begin_inset Text
29087
29088 \begin_layout Standard
29089 math unit (1\InsetSpace \thinspace{}
29090 mu = 1/18\InsetSpace \thinspace{}
29091 em)
29092 \end_layout
29093
29094 \end_inset
29095 </cell>
29096 </row>
29097 </lyxtabular>
29098
29099 \end_inset
29100
29101
29102 \end_layout
29103
29104 \end_inset
29105
29106
29107 \end_layout
29108
29109 \begin_layout Chapter
29110 Output File Formats with Graphics
29111 \begin_inset LatexCommand label
29112 name "cha:Output-File-Formats"
29113
29114 \end_inset
29115
29116
29117 \end_layout
29118
29119 \begin_layout Section
29120 DVI
29121 \begin_inset LatexCommand index
29122 name "File Formats ! DVI"
29123
29124 \end_inset
29125
29126
29127 \begin_inset LatexCommand index
29128 name "DVI|see{File Formats}"
29129
29130 \end_inset
29131
29132
29133 \end_layout
29134
29135 \begin_layout Standard
29136 This file type has the extension 
29137 \begin_inset Quotes eld
29138 \end_inset
29139
29140
29141 \family typewriter
29142 .dvi
29143 \family default
29144
29145 \begin_inset Quotes erd
29146 \end_inset
29147
29148 .
29149  It is called 
29150 \begin_inset Quotes eld
29151 \end_inset
29152
29153 device-independent
29154 \begin_inset Quotes erd
29155 \end_inset
29156
29157  (DVI), because it is completely portable; you can move them from one machine
29158  to another without needing to do any sort of conversion.
29159  At the time when this file-format was developed, this was no matter of
29160  course.
29161  DVIs are used for quick previews and as pre-stage for other output formats,
29162  like PostScript.
29163 \end_layout
29164
29165 \begin_layout Standard
29166 \begin_inset Note Greyedout
29167 status open
29168
29169 \begin_layout Standard
29170
29171 \series bold
29172 Note:
29173 \series default
29174  DVI-files doesn't contain images, they will only be a linked.
29175 \end_layout
29176
29177 \end_inset
29178
29179  So don't forget this, if you move your 
29180 \family typewriter
29181 .dvi
29182 \family default
29183  file to another computer.
29184  This property can also slow down your computer when you view the DVI.
29185  Because the DVI-viewer has to convert the image in the background to make
29186  it visible when you scroll in the DVI.
29187  So we recommend to use PDF for files with many images.
29188 \end_layout
29189
29190 \begin_layout Standard
29191 You can export your document to DVI by using the menu 
29192 \family sans
29193 File\SpecialChar \menuseparator
29194 Export\SpecialChar \menuseparator
29195 DVI
29196 \family default
29197 .
29198  You can view your document as DVI via the 
29199 \family sans
29200 View
29201 \family default
29202  menu or by using the toolbar button 
29203 \begin_inset Graphics
29204         filename ../images/buffer-view_dvi.xpm
29205         scale 85
29206         scaleBeforeRotation
29207
29208 \end_inset
29209
29210 .
29211 \end_layout
29212
29213 \begin_layout Section
29214 PostScript
29215 \begin_inset LatexCommand label
29216 name "sec:PostScript"
29217
29218 \end_inset
29219
29220
29221 \begin_inset LatexCommand index
29222 name "File Formats ! PostScript"
29223
29224 \end_inset
29225
29226
29227 \begin_inset LatexCommand index
29228 name "PostScript|see{File Formats}"
29229
29230 \end_inset
29231
29232
29233 \end_layout
29234
29235 \begin_layout Standard
29236 This file type has the extension 
29237 \begin_inset Quotes eld
29238 \end_inset
29239
29240
29241 \family typewriter
29242 .ps
29243 \family default
29244
29245 \begin_inset Quotes erd
29246 \end_inset
29247
29248 .
29249  PostScript was developed by the company 
29250 \family typewriter
29251 Adobe
29252 \family default
29253  as printer language.
29254  The file contains therefore commands that the printer uses to print the
29255  file.
29256  PostScript can be seen as 
29257 \begin_inset Quotes eld
29258 \end_inset
29259
29260 programming language
29261 \begin_inset Quotes erd
29262 \end_inset
29263
29264 ; you can calculate with it and draw diagrams and images
29265 \begin_inset Foot
29266 status collapsed
29267
29268 \begin_layout Standard
29269 If you are interested to learn more about this, have a look at the LaTeX-package
29270  
29271 \series bold
29272 PSTricks
29273 \series default
29274  
29275 \begin_inset LatexCommand cite
29276 key "pstricks"
29277
29278 \end_inset
29279
29280 .
29281 \end_layout
29282
29283 \end_inset
29284
29285 .
29286  Due to this ability, the files are often bigger than PDFs.
29287 \end_layout
29288
29289 \begin_layout Standard
29290 PostScript can only contain images in the format 
29291 \begin_inset Quotes eld
29292 \end_inset
29293
29294 Encapsulated PostScript
29295 \begin_inset Quotes erd
29296 \end_inset
29297
29298  (EPS, file extension 
29299 \begin_inset Quotes eld
29300 \end_inset
29301
29302
29303 \family typewriter
29304 .eps
29305 \family default
29306
29307 \begin_inset Quotes erd
29308 \end_inset
29309
29310 ).
29311  As LyX allows you to use any known image format in your document, it has
29312  to convert images in the background to EPS.
29313  If you have e.g 50 images in your document, LyX has to do 50 conversions
29314  whenever you view or export your document.
29315  This will slow down your work flow with LyX drastically.
29316  So if you plan to use PostScript, you can insert your images directly as
29317  EPS to avoid this problem.
29318 \end_layout
29319
29320 \begin_layout Standard
29321 You can export your document to PostScript using the menu 
29322 \family sans
29323 File\SpecialChar \menuseparator
29324 Export\SpecialChar \menuseparator
29325 Postscript
29326 \family default
29327 .
29328  You can view your document as PostScript via the 
29329 \family sans
29330 View
29331 \family default
29332  menu or by using the toolbar button 
29333 \begin_inset Graphics
29334         filename ../images/buffer-view_ps.xpm
29335         scale 85
29336         scaleBeforeRotation
29337
29338 \end_inset
29339
29340 .
29341 \end_layout
29342
29343 \begin_layout Section
29344 PDF
29345 \begin_inset LatexCommand label
29346 name "sec:PDF"
29347
29348 \end_inset
29349
29350
29351 \begin_inset LatexCommand index
29352 name "File Formats ! PDF"
29353
29354 \end_inset
29355
29356
29357 \begin_inset LatexCommand index
29358 name "PDF"
29359
29360 \end_inset
29361
29362
29363 \end_layout
29364
29365 \begin_layout Standard
29366 This file type has the extension 
29367 \begin_inset Quotes eld
29368 \end_inset
29369
29370
29371 \family typewriter
29372 .pdf
29373 \family default
29374
29375 \begin_inset Quotes erd
29376 \end_inset
29377
29378 .
29379  The 
29380 \begin_inset Quotes eld
29381 \end_inset
29382
29383 Portable Document Format
29384 \begin_inset Quotes erd
29385 \end_inset
29386
29387  (PDF) is developed by 
29388 \family typewriter
29389 Adobe
29390 \family default
29391  as derivative from PostScript.
29392  It is more compressed and it uses much less commands than PostScript.
29393  As the name 
29394 \begin_inset Quotes eld
29395 \end_inset
29396
29397 portable
29398 \begin_inset Quotes erd
29399 \end_inset
29400
29401  implies, it can be processed at any computer system and the printed output
29402  looks exactly the same.
29403 \end_layout
29404
29405 \begin_layout Standard
29406 PDF can contain images in its own PDF format, in the format 
29407 \begin_inset Quotes eld
29408 \end_inset
29409
29410 Joint Photographic Experts Group
29411 \begin_inset Quotes erd
29412 \end_inset
29413
29414  (JPG, file extension 
29415 \begin_inset Quotes eld
29416 \end_inset
29417
29418
29419 \family typewriter
29420 .jpg
29421 \family default
29422
29423 \begin_inset Quotes erd
29424 \end_inset
29425
29426  or 
29427 \begin_inset Quotes eld
29428 \end_inset
29429
29430
29431 \family typewriter
29432 .jpeg
29433 \family default
29434
29435 \begin_inset Quotes erd
29436 \end_inset
29437
29438 ), and in the format 
29439 \begin_inset Quotes eld
29440 \end_inset
29441
29442 Portable Network Graphics
29443 \begin_inset Quotes erd
29444 \end_inset
29445
29446  (PNG, file extension 
29447 \begin_inset Quotes eld
29448 \end_inset
29449
29450
29451 \family typewriter
29452 .png
29453 \family default
29454
29455 \begin_inset Quotes erd
29456 \end_inset
29457
29458 ).
29459  Nevertheless you can use any other image format, because LyX converts them
29460  in the background to one of these formats.
29461  But as described in the section about PostScript, the image conversion
29462  will slow down your work flow.
29463  So it is recommended to use images in one of the three mentioned formats.
29464 \end_layout
29465
29466 \begin_layout Standard
29467 You can export your document to PDF via the menu 
29468 \family sans
29469 File\SpecialChar \menuseparator
29470 Export
29471 \family default
29472  in three different ways:
29473 \end_layout
29474
29475 \begin_layout Description
29476 PDF\InsetSpace ~
29477 (ps2pdf) This uses the program 
29478 \family typewriter
29479 ps2pdf
29480 \family default
29481  that creates a PDF from a PostScript-version of your file.
29482  The PostScript-version is produced by the program 
29483 \family typewriter
29484 dvips
29485 \family default
29486  which uses a DVI-version as intermediate step.
29487  So this export variant consist of three conversions.
29488 \end_layout
29489
29490 \begin_layout Description
29491 PDF\InsetSpace ~
29492 (dvipdfm) This uses the program 
29493 \family typewriter
29494 dvipdfm
29495 \family default
29496  that converts your file in the background to DVI and in a second step to
29497  PDF.
29498 \end_layout
29499
29500 \begin_layout Description
29501 PDF\InsetSpace ~
29502 (pdflatex) This uses the program 
29503 \family typewriter
29504 pdftex
29505 \family default
29506  that converts your file directly to PDF.
29507 \end_layout
29508
29509 \begin_layout Standard
29510 It is recommended to use 
29511 \family sans
29512 PDF\InsetSpace ~
29513 (pdflatex)
29514 \family default
29515  because 
29516 \family typewriter
29517 pdftex
29518 \family default
29519  supports all features of actual PDF-versions, is quick and works stable
29520  without problems.
29521  The program 
29522 \family typewriter
29523 dvipdfm
29524 \family default
29525  is not under development and therefore a bit outdated.
29526 \end_layout
29527
29528 \begin_layout Standard
29529 You can view your document as PDF via the 
29530 \family sans
29531 View
29532 \family default
29533  menu or by using the toolbar button 
29534 \begin_inset Graphics
29535         filename ../images/buffer-view_pdf2.xpm
29536         scale 85
29537         scaleBeforeRotation
29538
29539 \end_inset
29540
29541  
29542 \family sans
29543 (
29544 \family default
29545 that uses 
29546 \family sans
29547 PDF\InsetSpace ~
29548 (pdflatex)
29549 \family default
29550 ).
29551 \end_layout
29552
29553 \begin_layout Chapter
29554 Explanation of Equation\InsetSpace ~
29555
29556 \begin_inset LatexCommand eqref
29557 reference "eq:Wgn"
29558
29559 \end_inset
29560
29561
29562 \begin_inset LatexCommand label
29563 name "cha:Explanation-of-Equation"
29564
29565 \end_inset
29566
29567
29568 \end_layout
29569
29570 \begin_layout Standard
29571 The total width of 
29572 \emph on
29573 n
29574 \emph default
29575  table cells 
29576 \begin_inset Formula $W_{\mathrm{tot\, n}}$
29577 \end_inset
29578
29579  can be calculated to
29580 \end_layout
29581
29582 \begin_layout Standard
29583 \begin_inset Formula \begin{equation}
29584 W_{\mathrm{tot}\, n}=n\cdot(W_{g\, n}+2\cdot\backslash\mbox{tabcolsep})+(n+1)\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}\end{equation}
29585
29586 \end_inset
29587
29588
29589 \end_layout
29590
29591 \begin_layout Standard
29592 Where 
29593 \begin_inset Formula $W_{g\, n}$
29594 \end_inset
29595
29596  is the given width of all cells.
29597  
29598 \series bold
29599
29600 \backslash
29601 tabcolsep
29602 \series default
29603  is the LaTeX-length between the cell text and the cell border, its default
29604  value is 6\InsetSpace \thinspace{}
29605 pt.
29606  
29607 \series bold
29608
29609 \backslash
29610 arrayrulewidth
29611 \series default
29612  is the thickness of the cell border line, the default is 0.4\InsetSpace \thinspace{}
29613 pt.
29614 \end_layout
29615
29616 \begin_layout Standard
29617 Following equation\InsetSpace ~
29618
29619 \begin_inset LatexCommand eqref
29620 reference "eq:Wtot_n"
29621
29622 \end_inset
29623
29624 , the total width of a multicolumn 
29625 \begin_inset Formula $W_{\mathrm{tot\, mult}}$
29626 \end_inset
29627
29628  is
29629 \end_layout
29630
29631 \begin_layout Standard
29632 \begin_inset Formula \begin{equation}
29633 W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2\cdot\backslash\mbox{tabcolsep}+2\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}\end{equation}
29634
29635 \end_inset
29636
29637
29638 \end_layout
29639
29640 \begin_layout Standard
29641 By setting equation\InsetSpace ~
29642
29643 \begin_inset LatexCommand eqref
29644 reference "eq:Wtot_n"
29645
29646 \end_inset
29647
29648  and 
29649 \begin_inset LatexCommand eqref
29650 reference "eq:Wtot_mult"
29651
29652 \end_inset
29653
29654  equal we can calculate the needed given width 
29655 \begin_inset Formula $W_{g\, n}$
29656 \end_inset
29657
29658  when 
29659 \emph on
29660 n
29661 \emph default
29662  columns are spanned, so that each column has a total width of 
29663 \begin_inset Formula $W_{\mathrm{tot\, mult}}/n$
29664 \end_inset
29665
29666 :
29667 \end_layout
29668
29669 \begin_layout Standard
29670 \begin_inset Formula \begin{equation}
29671 W_{g\, n}=(W_{g\,\mathrm{mult}}+(1-n)\cdot(2\cdot\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}))/n\end{equation}
29672
29673 \end_inset
29674
29675
29676 \end_layout
29677
29678 \begin_layout Bibliography
29679 \begin_inset LatexCommand bibitem
29680 key "latexcompanion"
29681
29682 \end_inset
29683
29684 Frank Mittelbach and Michel Goossens: 
29685 \emph on
29686 The LaTeX Companion Second Edition.
29687
29688 \emph default
29689  Addison-Wesley, 2004
29690 \end_layout
29691
29692 \begin_layout Bibliography
29693 \begin_inset LatexCommand bibitem
29694 key "latexguide"
29695
29696 \end_inset
29697
29698 Helmut Kopka and Patrick W.
29699  Daly: 
29700 \emph on
29701 A Guide to LaTeX Fourth Edition.
29702
29703 \emph default
29704  Addison-Wesley, 2003
29705 \end_layout
29706
29707 \begin_layout Bibliography
29708 \begin_inset LatexCommand bibitem
29709 key "latexbook"
29710
29711 \end_inset
29712
29713 Leslie Lamport: 
29714 \emph on
29715 LaTeX: A Document Preparation System.
29716
29717 \emph default
29718  Addison-Wesley, second edition, 1994
29719 \end_layout
29720
29721 \begin_layout Bibliography
29722 \begin_inset LatexCommand bibitem
29723 key "booktabs"
29724
29725 \end_inset
29726
29727
29728 \begin_inset ERT
29729 status collapsed
29730
29731 \begin_layout Standard
29732
29733
29734 \backslash
29735 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf}
29736 {
29737 \end_layout
29738
29739 \end_inset
29740
29741 Documentation
29742 \begin_inset ERT
29743 status collapsed
29744
29745 \begin_layout Standard
29746
29747 }
29748 \end_layout
29749
29750 \end_inset
29751
29752  of the LaTeX-package 
29753 \series bold
29754 booktabs
29755 \series default
29756
29757 \begin_inset LatexCommand index
29758 name "LaTeX-packages ! booktabs"
29759
29760 \end_inset
29761
29762
29763 \end_layout
29764
29765 \begin_layout Bibliography
29766 \begin_inset LatexCommand bibitem
29767 key "caption"
29768
29769 \end_inset
29770
29771
29772 \begin_inset ERT
29773 status collapsed
29774
29775 \begin_layout Standard
29776
29777
29778 \backslash
29779 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf}{
29780 \end_layout
29781
29782 \end_inset
29783
29784 Documentation
29785 \begin_inset ERT
29786 status collapsed
29787
29788 \begin_layout Standard
29789
29790 }
29791 \end_layout
29792
29793 \end_inset
29794
29795  of the LaTeX-package 
29796 \series bold
29797 caption
29798 \series default
29799
29800 \begin_inset LatexCommand index
29801 name "LaTeX-packages ! caption"
29802
29803 \end_inset
29804
29805
29806 \end_layout
29807
29808 \begin_layout Bibliography
29809 \begin_inset LatexCommand bibitem
29810 key "caption-de"
29811
29812 \end_inset
29813
29814 German 
29815 \begin_inset ERT
29816 status collapsed
29817
29818 \begin_layout Standard
29819
29820
29821 \backslash
29822 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/anleitung.pdf}
29823 {
29824 \end_layout
29825
29826 \end_inset
29827
29828 documentation
29829 \begin_inset ERT
29830 status collapsed
29831
29832 \begin_layout Standard
29833
29834 }
29835 \end_layout
29836
29837 \end_inset
29838
29839  of the LaTeX-package 
29840 \series bold
29841 caption
29842 \end_layout
29843
29844 \begin_layout Bibliography
29845 \begin_inset LatexCommand bibitem
29846 key "endfloat"
29847
29848 \end_inset
29849
29850
29851 \begin_inset ERT
29852 status collapsed
29853
29854 \begin_layout Standard
29855
29856
29857 \backslash
29858 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf}
29859 {
29860 \end_layout
29861
29862 \end_inset
29863
29864 Documentation
29865 \begin_inset ERT
29866 status collapsed
29867
29868 \begin_layout Standard
29869
29870 }
29871 \end_layout
29872
29873 \end_inset
29874
29875  of the LaTeX-package 
29876 \series bold
29877 endf\SpecialChar \textcompwordmark{}
29878 loat
29879 \series default
29880
29881 \begin_inset LatexCommand index
29882 name "LaTeX-packages ! endfloat"
29883
29884 \end_inset
29885
29886
29887 \end_layout
29888
29889 \begin_layout Bibliography
29890 \begin_inset LatexCommand bibitem
29891 key "floatflt"
29892
29893 \end_inset
29894
29895
29896 \begin_inset ERT
29897 status collapsed
29898
29899 \begin_layout Standard
29900
29901
29902 \backslash
29903 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/floatflt/floatflt.pdf}
29904 {
29905 \end_layout
29906
29907 \end_inset
29908
29909 Documentation
29910 \begin_inset ERT
29911 status collapsed
29912
29913 \begin_layout Standard
29914
29915 }
29916 \end_layout
29917
29918 \end_inset
29919
29920  of the LaTeX-package 
29921 \series bold
29922 f\SpecialChar \textcompwordmark{}
29923 loatf\SpecialChar \textcompwordmark{}
29924 lt
29925 \series default
29926
29927 \begin_inset LatexCommand index
29928 name "LaTeX-packages ! floatflt"
29929
29930 \end_inset
29931
29932
29933 \end_layout
29934
29935 \begin_layout Bibliography
29936 \begin_inset LatexCommand bibitem
29937 key "footmisc"
29938
29939 \end_inset
29940
29941
29942 \begin_inset ERT
29943 status collapsed
29944
29945 \begin_layout Standard
29946
29947
29948 \backslash
29949 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf}
29950 {
29951 \end_layout
29952
29953 \end_inset
29954
29955 Documentation
29956 \begin_inset ERT
29957 status collapsed
29958
29959 \begin_layout Standard
29960
29961 }
29962 \end_layout
29963
29964 \end_inset
29965
29966  of the LaTeX-package 
29967 \series bold
29968 footmisc
29969 \series default
29970
29971 \begin_inset LatexCommand index
29972 name "LaTeX-packages ! footmisc"
29973
29974 \end_inset
29975
29976
29977 \end_layout
29978
29979 \begin_layout Bibliography
29980 \begin_inset LatexCommand bibitem
29981 key "hypcap"
29982
29983 \end_inset
29984
29985
29986 \begin_inset ERT
29987 status collapsed
29988
29989 \begin_layout Standard
29990
29991
29992 \backslash
29993 href{http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf}{
29994 \end_layout
29995
29996 \end_inset
29997
29998 Documentation
29999 \begin_inset ERT
30000 status collapsed
30001
30002 \begin_layout Standard
30003
30004 }
30005 \end_layout
30006
30007 \end_inset
30008
30009  of the LaTeX-package 
30010 \series bold
30011 hypcap
30012 \series default
30013
30014 \begin_inset LatexCommand index
30015 name "LaTeX-packages ! hyperref"
30016
30017 \end_inset
30018
30019
30020 \end_layout
30021
30022 \begin_layout Bibliography
30023 \begin_inset LatexCommand bibitem
30024 key "hyperref"
30025
30026 \end_inset
30027
30028
30029 \begin_inset ERT
30030 status collapsed
30031
30032 \begin_layout Standard
30033
30034
30035 \backslash
30036 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf}
30037 {
30038 \end_layout
30039
30040 \end_inset
30041
30042 Documentation
30043 \begin_inset ERT
30044 status collapsed
30045
30046 \begin_layout Standard
30047
30048 }
30049 \end_layout
30050
30051 \end_inset
30052
30053  of the LaTeX-package 
30054 \series bold
30055 hyperref
30056 \series default
30057
30058 \begin_inset LatexCommand index
30059 name "LaTeX-packages ! hyperref"
30060
30061 \end_inset
30062
30063
30064 \end_layout
30065
30066 \begin_layout Bibliography
30067 \begin_inset LatexCommand bibitem
30068 key "koma-script"
30069
30070 \end_inset
30071
30072
30073 \begin_inset ERT
30074 status collapsed
30075
30076 \begin_layout Standard
30077
30078
30079 \backslash
30080 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.p
30081 df}{
30082 \end_layout
30083
30084 \end_inset
30085
30086 Documentation
30087 \begin_inset ERT
30088 status collapsed
30089
30090 \begin_layout Standard
30091
30092 }
30093 \end_layout
30094
30095 \end_inset
30096
30097  of the LaTeX-package 
30098 \series bold
30099 koma-script
30100 \series default
30101
30102 \begin_inset LatexCommand index
30103 name "LaTeX-packages ! koma-script"
30104
30105 \end_inset
30106
30107
30108 \end_layout
30109
30110 \begin_layout Bibliography
30111 \begin_inset LatexCommand bibitem
30112 key "koma-script-de"
30113
30114 \end_inset
30115
30116 German 
30117 \begin_inset ERT
30118 status collapsed
30119
30120 \begin_layout Standard
30121
30122
30123 \backslash
30124 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguide.p
30125 df}{
30126 \end_layout
30127
30128 \end_inset
30129
30130 documentation
30131 \begin_inset ERT
30132 status collapsed
30133
30134 \begin_layout Standard
30135
30136 }
30137 \end_layout
30138
30139 \end_inset
30140
30141  of the LaTeX-package 
30142 \series bold
30143 koma-script
30144 \series default
30145
30146 \begin_inset LatexCommand index
30147 name "LaTeX-packages ! koma-script"
30148
30149 \end_inset
30150
30151
30152 \end_layout
30153
30154 \begin_layout Bibliography
30155 \begin_inset LatexCommand bibitem
30156 key "listings"
30157
30158 \end_inset
30159
30160
30161 \begin_inset ERT
30162 status collapsed
30163
30164 \begin_layout Standard
30165
30166
30167 \backslash
30168 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/listings/listings.pdf}
30169 {
30170 \end_layout
30171
30172 \end_inset
30173
30174 Documentation
30175 \begin_inset ERT
30176 status collapsed
30177
30178 \begin_layout Standard
30179
30180 }
30181 \end_layout
30182
30183 \end_inset
30184
30185  of the LaTeX-package 
30186 \series bold
30187 listings
30188 \series default
30189
30190 \begin_inset LatexCommand index
30191 name "LaTeX-packages ! listings"
30192
30193 \end_inset
30194
30195
30196 \end_layout
30197
30198 \begin_layout Bibliography
30199 \begin_inset LatexCommand bibitem
30200 key "marginnote"
30201
30202 \end_inset
30203
30204
30205 \begin_inset ERT
30206 status collapsed
30207
30208 \begin_layout Standard
30209
30210
30211 \backslash
30212 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.
30213 pdf}{
30214 \end_layout
30215
30216 \end_inset
30217
30218 Documentation
30219 \begin_inset ERT
30220 status collapsed
30221
30222 \begin_layout Standard
30223
30224 }
30225 \end_layout
30226
30227 \end_inset
30228
30229  of the LaTeX-package 
30230 \series bold
30231 marginnote
30232 \series default
30233
30234 \begin_inset LatexCommand index
30235 name "LaTeX-packages ! marginnote"
30236
30237 \end_inset
30238
30239
30240 \end_layout
30241
30242 \begin_layout Bibliography
30243 \begin_inset LatexCommand bibitem
30244 key "pstricks"
30245
30246 \end_inset
30247
30248
30249 \begin_inset ERT
30250 status collapsed
30251
30252 \begin_layout Standard
30253
30254
30255 \backslash
30256 href{http://tug.org/PSTricks/main.cgi/}{
30257 \end_layout
30258
30259 \end_inset
30260
30261 Web page
30262 \begin_inset ERT
30263 status collapsed
30264
30265 \begin_layout Standard
30266
30267 }
30268 \end_layout
30269
30270 \end_inset
30271
30272  of the LaTeX-package 
30273 \series bold
30274 PSTricks
30275 \series default
30276
30277 \begin_inset LatexCommand index
30278 name "LaTeX-packages ! PSTricks"
30279
30280 \end_inset
30281
30282
30283 \end_layout
30284
30285 \begin_layout Bibliography
30286 \begin_inset LatexCommand bibitem
30287 key "sidecap"
30288
30289 \end_inset
30290
30291
30292 \begin_inset ERT
30293 status collapsed
30294
30295 \begin_layout Standard
30296
30297
30298 \backslash
30299 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf}{
30300 \end_layout
30301
30302 \end_inset
30303
30304 Documentation
30305 \begin_inset ERT
30306 status collapsed
30307
30308 \begin_layout Standard
30309
30310 }
30311 \end_layout
30312
30313 \end_inset
30314
30315  of the LaTeX-package 
30316 \series bold
30317 sidecap
30318 \series default
30319
30320 \begin_inset LatexCommand index
30321 name "LaTeX-packages ! sidecap"
30322
30323 \end_inset
30324
30325
30326 \end_layout
30327
30328 \begin_layout Bibliography
30329 \begin_inset LatexCommand bibitem
30330 key "NewInLyX15"
30331
30332 \end_inset
30333
30334
30335 \begin_inset ERT
30336 status collapsed
30337
30338 \begin_layout Standard
30339
30340
30341 \backslash
30342 href{http://wiki.lyx.org/LyX/NewInLyX15}{
30343 \end_layout
30344
30345 \end_inset
30346
30347 Wiki page
30348 \begin_inset ERT
30349 status collapsed
30350
30351 \begin_layout Standard
30352
30353 }
30354 \end_layout
30355
30356 \end_inset
30357
30358  about new LyX-features planned for the release 
30359 \family sans
30360 LyX 1.5
30361 \family default
30362 .0.
30363 \end_layout
30364
30365 \begin_layout Standard
30366 \begin_inset LatexCommand printindex
30367
30368 \end_inset
30369
30370
30371 \end_layout
30372
30373 \begin_layout Standard
30374 \begin_inset FloatList figure
30375
30376 \end_inset
30377
30378
30379 \end_layout
30380
30381 \begin_layout Standard
30382 \begin_inset FloatList table
30383
30384 \end_inset
30385
30386
30387 \end_layout
30388
30389 \end_body
30390 \end_document