]> git.lyx.org Git - lyx.git/blob - lib/doc/EmbeddedObjects.lyx
a5077ad04251823b5ee64d71b9ce0baf1e7b0f7c
[lyx.git] / lib / doc / EmbeddedObjects.lyx
1 #LyX 1.5.0svn 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 "Uwe Stöhr" 
205 \end_header
206
207 \begin_body
208
209 \begin_layout Title
210 LyX's detailed Figure, Table, Floats, Notes, Boxes and External Material
211  manual
212 \end_layout
213
214 \begin_layout Author
215 by the LyX Team
216 \begin_inset Foot
217 status collapsed
218
219 \begin_layout Standard
220 \noindent
221 If you have comments or error corrections, please send them to the LyX Documenta
222 tion mailing list: 
223 \family typewriter
224
225 \begin_inset ERT
226 status open
227
228 \begin_layout Standard
229
230
231 \backslash
232 href{mailto:lyx-docs@lists.lyx.org?subject=LyX's ExtendedInsets manual}{
233 \end_layout
234
235 \end_inset
236
237 lyx-docs@lists.lyx.org
238 \begin_inset ERT
239 status collapsed
240
241 \begin_layout Standard
242
243 }
244 \end_layout
245
246 \end_inset
247
248
249 \end_layout
250
251 \end_inset
252
253
254 \begin_inset Note Note
255 status collapsed
256
257 \begin_layout Standard
258 original author: Uwe Stöhr
259 \end_layout
260
261 \end_inset
262
263
264 \newline
265
266 \newline
267
268 \family sans
269 Version 1.5.0-
270 \family default
271 1
272 \end_layout
273
274 \begin_layout Standard
275 \begin_inset LatexCommand tableofcontents
276
277 \end_inset
278
279
280 \end_layout
281
282 \begin_layout Standard
283 \begin_inset Note Note
284 status open
285
286 \begin_layout Standard
287 To export all parts of this document to PDF, PS, or DVI the LaTeX-packages
288  
289 \series bold
290 arydshln
291 \series default
292  and 
293 \series bold
294 marginnote
295 \series default
296  must be installed.
297  If they are not installed you can export the document anyway but the sections
298  where the packages are required won't appear in the output.
299 \end_layout
300
301 \begin_layout Standard
302 The latest PDF-version of this document can be found here:
303 \newline
304
305 \series bold
306 http://wiki.lyx.org/LyX/DocumentationDevelopment#EmbeddedObjects
307 \end_layout
308
309 \end_inset
310
311
312 \end_layout
313
314 \begin_layout Chapter
315 Figures
316 \begin_inset LatexCommand label
317 name "cha:Figures"
318
319 \end_inset
320
321
322 \begin_inset LatexCommand index
323 name "Figures"
324
325 \end_inset
326
327
328 \begin_inset LatexCommand index
329 name "Graphics|see{Figures}"
330
331 \end_inset
332
333
334 \end_layout
335
336 \begin_layout Section
337 Graphics Dialog
338 \begin_inset LatexCommand index
339 name "Figures ! Graphics Dialog"
340
341 \end_inset
342
343
344 \begin_inset LatexCommand label
345 name "sec:Graphics-Dialog"
346
347 \end_inset
348
349
350 \end_layout
351
352 \begin_layout Standard
353 To insert an image into your document, place the cursor at the text position
354  you want and click on the toolbar icon 
355 \begin_inset Graphics
356         filename ../images/dialog-show-new-inset_graphics.xpm
357         scale 85
358         scaleBeforeRotation
359
360 \end_inset
361
362  or use the menu 
363 \family sans
364 Insert\SpecialChar \menuseparator
365 Graphics
366 \family default
367 .
368  Then a dialog will appear to choose the file to load.
369  The image will appear in the output exactly at the position where it is
370  in the text.
371 \end_layout
372
373 \begin_layout Standard
374 The graphics dialog can be called at any time by right-clicking on an image.
375  This dialog has three tabs:
376 \end_layout
377
378 \begin_layout Description
379
380 \family sans
381 Graphics
382 \family default
383  Here you can choose an image file and adjust its appearance in the output.
384  The available units for the image size are explained in appendix\InsetSpace ~
385
386 \begin_inset LatexCommand ref
387 reference "cha:Units-available-in"
388
389 \end_inset
390
391 .
392 \newline
393 You can rotate images counter-clockwise by setting a rotation angle and
394  a rotation origin.
395  The image will also be rotated inside LyX.
396 \newline
397 Images can be scaled by using
398  a percentage value or by setting the width and height explicitly.
399  If you set only the width or only the height, the other size will be determined
400  automatically.
401  If you set both, then the image will be transformed to the given size,
402  possibly distorting it.
403  To prevent the image from distortion, use the option 
404 \family sans
405 Maintain aspect ratio
406 \family default
407 .
408  The image will then be scaled so that its width and height don't exceed
409  the specified dimensions.
410 \newline
411 Images can be opened in a program of your choice
412  when pressing the 
413 \family sans
414 Edit
415 \family default
416  button.
417  The program can be set for every image format in the file format settings
418  in LyX's preferences.
419 \end_layout
420
421 \begin_layout Description
422
423 \family sans
424 Clipping
425 \family default
426  Alternatively to the usage of scaling units it is possible to set image
427  coordinates to adjust the height and width of the image in the output.
428  The coordinates can also be calculated automatically by pressing the button
429  
430 \family sans
431 Get\InsetSpace ~
432 from\InsetSpace ~
433 File
434 \family default
435 .
436  The option 
437 \family sans
438 Clip\InsetSpace ~
439 to\InsetSpace ~
440 bounding\InsetSpace ~
441 box
442 \family default
443  will only print the image region within the given coordinates.
444  Normally you don't need to take care about image coordinates and can ignore
445  this tab.
446 \end_layout
447
448 \begin_layout Description
449
450 \family sans
451 Extra\InsetSpace ~
452 options
453 \family default
454  In this tab you can modify the appearance of the image within LyX and set
455  the image to be a subfigure of a figure float with an own caption.
456  Subfigures are explained in section\InsetSpace ~
457
458 \begin_inset LatexCommand ref
459 reference "sec:Figure-Floats"
460
461 \end_inset
462
463 .
464 \newline
465  LaTeX experts can also specify on this tab additional LaTeX options.
466 \newline
467  The
468  option 
469 \family sans
470 Draft\InsetSpace ~
471 mode
472 \family default
473  makes the image appear in the output only as a frame with the size of the
474  image.
475 \newline
476 The 
477 \family sans
478 Don't\InsetSpace ~
479 unzip\InsetSpace ~
480 on\InsetSpace ~
481 export
482 \family default
483  option only affects zipped EPS-graphics, e.\InsetSpace \thinspace{}
484 g.\InsetSpace ~
485
486 \emph on
487 x.eps.gz
488 \emph default
489 .
490  When the option is used the images will not be unzipped on export, since
491  LaTeX can handle them as they are.
492 \newline
493 Zipped EPS-graphics are useful to save
494  disk space when you choose PostScript as output format, see appendix\InsetSpace ~
495
496 \begin_inset LatexCommand ref
497 reference "sec:PostScript"
498
499 \end_inset
500
501 .
502  To zip EPS-graphics, use the following commands in a UNIX-shell or a Windows
503  console:
504 \newline
505
506 \series bold
507 gzip x.eps
508 \series default
509
510 \newline
511
512 \series bold
513 zgrep %%Bounding x.eps.gz > x.eps.bb
514 \series default
515
516 \newline
517 The second command creates the bounding box file 
518 \begin_inset Quotes eld
519 \end_inset
520
521 x.eps.bb
522 \begin_inset Quotes erd
523 \end_inset
524
525  that is needed by LaTeX for zipped graphics.
526 \end_layout
527
528 \begin_layout Standard
529 \begin_inset VSpace bigskip
530 \end_inset
531
532
533 \end_layout
534
535 \begin_layout Standard
536 This is an example image in EPS format
537 \begin_inset Foot
538 status collapsed
539
540 \begin_layout Standard
541 Image formats are explained in section\InsetSpace ~
542
543 \begin_inset LatexCommand ref
544 reference "sec:Image-Formats"
545
546 \end_inset
547
548 .
549 \end_layout
550
551 \end_inset
552
553  within a separate, horizontally centered paragraph:
554 \end_layout
555
556 \begin_layout Standard
557 \align center
558 \begin_inset Graphics
559         filename clipart/mobius.eps
560         display color
561         scale 70
562         scaleBeforeRotation
563         rotateOrigin center
564
565 \end_inset
566
567
568 \end_layout
569
570 \begin_layout Standard
571 This is the same image like the one above but in draft mode:
572 \end_layout
573
574 \begin_layout Standard
575 \align center
576 \begin_inset Graphics
577         filename clipart/mobius.eps
578         display color
579         scale 70
580         draft
581         scaleBeforeRotation
582         rotateOrigin center
583
584 \end_inset
585
586
587 \end_layout
588
589 \begin_layout Section
590 Figure Floats
591 \begin_inset LatexCommand label
592 name "sec:Figure-Floats"
593
594 \end_inset
595
596
597 \begin_inset LatexCommand index
598 name "Floats ! Figures"
599
600 \end_inset
601
602
603 \begin_inset LatexCommand index
604 name "Figures ! Floats"
605
606 \end_inset
607
608
609 \end_layout
610
611 \begin_layout Standard
612 For general explanations about floats, have a look at section\InsetSpace ~
613
614 \begin_inset LatexCommand ref
615 reference "sec:FloatIntroduction"
616
617 \end_inset
618
619 .
620 \end_layout
621
622 \begin_layout Standard
623 The toolbar button 
624 \begin_inset Graphics
625         filename ../images/float-insert_figure.xpm
626         scale 85
627         scaleBeforeRotation
628
629 \end_inset
630
631  and the menu 
632 \family sans
633 Insert\SpecialChar \menuseparator
634 Float\SpecialChar \menuseparator
635 Figure
636 \family default
637  inserts a float with a caption that has the label 
638 \begin_inset Quotes eld
639 \end_inset
640
641 Figure\InsetSpace ~
642 #:
643 \begin_inset Quotes erd
644 \end_inset
645
646  (# is the actual number).
647  You can insert the image above the caption, like in Figure\InsetSpace ~
648
649 \begin_inset LatexCommand ref
650 reference "fig:kill-plat"
651
652 \end_inset
653
654  or below the caption, like in Figure\InsetSpace ~
655
656 \begin_inset LatexCommand ref
657 reference "fig:escher"
658
659 \end_inset
660
661 .
662  More about the caption placement is described in section\InsetSpace ~
663
664 \begin_inset LatexCommand ref
665 reference "sec:Caption-Placement"
666
667 \end_inset
668
669 .
670 \end_layout
671
672 \begin_layout Standard
673 \begin_inset Float figure
674 wide false
675 sideways false
676 status open
677
678 \begin_layout Standard
679 \align center
680 \begin_inset Graphics
681         filename clipart/platypus.eps
682         display color
683         width 50col%
684         scaleBeforeRotation
685         rotateOrigin center
686
687 \end_inset
688
689
690 \end_layout
691
692 \begin_layout Standard
693 \begin_inset Caption
694
695 \begin_layout Standard
696 \begin_inset LatexCommand label
697 name "fig:kill-plat"
698
699 \end_inset
700
701 A severely distorted platypus in a float.
702 \end_layout
703
704 \end_inset
705
706
707 \end_layout
708
709 \end_inset
710
711
712 \end_layout
713
714 \begin_layout Standard
715 \begin_inset Float figure
716 wide false
717 sideways false
718 status open
719
720 \begin_layout Standard
721 \begin_inset Caption
722
723 \begin_layout Standard
724 \begin_inset LatexCommand label
725 name "fig:escher"
726
727 \end_inset
728
729 M.C.
730  Escher on acid.
731 \end_layout
732
733 \end_inset
734
735
736 \end_layout
737
738 \begin_layout Standard
739 \align center
740 \begin_inset Graphics
741         filename clipart/escher-lsd.eps
742         display color
743         scale 80
744         scaleBeforeRotation
745         rotateOrigin center
746
747 \end_inset
748
749
750 \end_layout
751
752 \end_inset
753
754
755 \end_layout
756
757 \begin_layout Standard
758 \begin_inset LatexCommand index
759 name "References ! to Figures"
760
761 \end_inset
762
763 Figure\InsetSpace ~
764
765 \begin_inset LatexCommand ref
766 reference "fig:kill-plat"
767
768 \end_inset
769
770  and 
771 \begin_inset LatexCommand ref
772 reference "fig:escher"
773
774 \end_inset
775
776  are examples of referenced figures.
777  Figures can be referenced in the text by referencing their label.
778  To do this insert a label in the caption using the menu 
779 \family sans
780 Insert\SpecialChar \menuseparator
781 Label
782 \family default
783  or the toolbar button 
784 \begin_inset Graphics
785         filename ../images/label-insert.xpm
786         scale 85
787         scaleBeforeRotation
788
789 \end_inset
790
791 .
792  You can now refer to the label using the menu 
793 \family sans
794 Insert\SpecialChar \menuseparator
795 Cross\InsetSpace ~
796 reference
797 \family default
798  or the toolbar button 
799 \begin_inset Graphics
800         filename ../images/dialog-show-new-inset_ref.xpm
801         scale 85
802         scaleBeforeRotation
803
804 \end_inset
805
806 .
807  It is important to use references to floats, rather than using vague references
808  like 
809 \begin_inset Quotes eld
810 \end_inset
811
812 the figure above
813 \begin_inset Quotes erd
814 \end_inset
815
816 , because as LaTeX will reposition the floats in the final document, it
817  might not be 
818 \begin_inset Quotes eld
819 \end_inset
820
821 above
822 \begin_inset Quotes erd
823 \end_inset
824
825  at all.
826 \newline
827 Referencing is explained in detail in section\InsetSpace ~
828
829 \begin_inset LatexCommand ref
830 reference "sec:Referencing-Floats"
831
832 \end_inset
833
834 .
835 \end_layout
836
837 \begin_layout Standard
838 Normally only one image is inserted to a figure float, but sometimes you
839  might want to use two images with separate subcaptions.
840  This can be set in the tab 
841 \family sans
842 Extra\InsetSpace ~
843 options
844 \family default
845  of the graphics dialog.
846  Choose there the option 
847 \family sans
848 Subfigure
849 \family default
850  and enter the subcaption for the image in the caption field.
851  Note that only the main caption of the float is added to the List of Figures.
852 \newline
853 Ref
854 erencing subfigures is explained in section\InsetSpace ~
855
856 \begin_inset LatexCommand ref
857 reference "sub:Referencing-Subfigures"
858
859 \end_inset
860
861 .
862 \end_layout
863
864 \begin_layout Standard
865 Figure\InsetSpace ~
866
867 \begin_inset LatexCommand ref
868 reference "fig:Two-distorted-images"
869
870 \end_inset
871
872  is an example of a figure float with two images set side by side.
873  You can also set the images one below the other.
874 \end_layout
875
876 \begin_layout Standard
877 \begin_inset Float figure
878 wide false
879 sideways false
880 status open
881
882 \begin_layout Standard
883
884 \hfill
885
886 \begin_inset Graphics
887         filename clipart/escher-lsd.eps
888         width 45col%
889         scaleBeforeRotation
890         subcaption
891         subcaptionText "Undefinable structure"
892
893 \end_inset
894
895
896 \hfill
897
898 \begin_inset Graphics
899         filename clipart/platypus.eps
900         lyxscale 60
901         width 45col%
902         scaleBeforeRotation
903         subcaption
904         subcaptionText "\label{fig:Platypus} Platypus"
905
906 \end_inset
907
908
909 \hfill
910
911 \end_layout
912
913 \begin_layout Standard
914 \begin_inset Caption
915
916 \begin_layout Standard
917 \begin_inset LatexCommand label
918 name "fig:Two-distorted-images"
919
920 \end_inset
921
922 Two distorted images.
923 \end_layout
924
925 \end_inset
926
927
928 \end_layout
929
930 \end_inset
931
932
933 \end_layout
934
935 \begin_layout Section
936 Image Formats
937 \begin_inset LatexCommand label
938 name "sec:Image-Formats"
939
940 \end_inset
941
942
943 \begin_inset LatexCommand index
944 name "Image Formats"
945
946 \end_inset
947
948
949 \begin_inset LatexCommand index
950 name "Figures ! Image Formats"
951
952 \end_inset
953
954
955 \end_layout
956
957 \begin_layout Standard
958 You can insert images in any known file format.
959  But as explained in appendix\InsetSpace ~
960
961 \begin_inset LatexCommand ref
962 reference "cha:Output-File-Formats"
963
964 \end_inset
965
966 , every output document format allows only a few image formats.
967  LyX uses therefore the program 
968 \family typewriter
969 Imagemagick
970 \family default
971  in the background to convert the images to the right format.
972  To increase your work flow by avoiding these conversions in the background,
973  you can use only the image formats that can directly be embedded in the
974  output file format.
975  The output file formats are explained in appendix\InsetSpace ~
976
977 \begin_inset LatexCommand ref
978 reference "cha:Output-File-Formats"
979
980 \end_inset
981
982 .
983 \end_layout
984
985 \begin_layout Standard
986 Similar to fonts there are two types of image formats:
987 \end_layout
988
989 \begin_layout Description
990 Bitmap\InsetSpace ~
991 images consist of pixel values, often in a compressed form.
992  They are therefore not fully scalable and look pixeled in large zooms.
993  Well-known bitmap image formats are 
994 \begin_inset Quotes eld
995 \end_inset
996
997 Graphics Interchange Format
998 \begin_inset Quotes erd
999 \end_inset
1000
1001  (GIF, file extension 
1002 \begin_inset Quotes eld
1003 \end_inset
1004
1005
1006 \family typewriter
1007 .gif
1008 \family default
1009
1010 \begin_inset Quotes erd
1011 \end_inset
1012
1013 )
1014 \begin_inset LatexCommand index
1015 name "GIF|see{Image formats}"
1016
1017 \end_inset
1018
1019
1020 \begin_inset Quotes eld
1021 \end_inset
1022
1023 Portable Network Graphics
1024 \begin_inset Quotes erd
1025 \end_inset
1026
1027  (PNG, file extension 
1028 \begin_inset Quotes eld
1029 \end_inset
1030
1031
1032 \family typewriter
1033 .png
1034 \family default
1035
1036 \begin_inset Quotes erd
1037 \end_inset
1038
1039 )
1040 \begin_inset LatexCommand index
1041 name "PNG|see{Image formats}"
1042
1043 \end_inset
1044
1045 , and 
1046 \begin_inset Quotes eld
1047 \end_inset
1048
1049 Joint Photographic Experts Group
1050 \begin_inset Quotes erd
1051 \end_inset
1052
1053  (JPG, file extension 
1054 \begin_inset Quotes eld
1055 \end_inset
1056
1057
1058 \family typewriter
1059 .jpg
1060 \family default
1061
1062 \begin_inset Quotes erd
1063 \end_inset
1064
1065  or 
1066 \begin_inset Quotes eld
1067 \end_inset
1068
1069
1070 \family typewriter
1071 .jpeg
1072 \family default
1073
1074 \begin_inset Quotes erd
1075 \end_inset
1076
1077 )
1078 \begin_inset LatexCommand index
1079 name "JPG|see{Image formats}"
1080
1081 \end_inset
1082
1083 .
1084 \end_layout
1085
1086 \begin_layout Description
1087 Vector\InsetSpace ~
1088 images consist of vectors and can therefore be scaled to any size
1089  without data loss.
1090  The scaling ability is necessary if you want to create presentations, because
1091  presentations are always scaled by the video projector.
1092  Scaling is also useful for online documents to let the user zoom into diagrams.
1093 \newline
1094 W
1095 ell-known scalable image formats are 
1096 \begin_inset Quotes eld
1097 \end_inset
1098
1099 Scalable Vector Graphics
1100 \begin_inset Quotes erd
1101 \end_inset
1102
1103  (SVG, file extension 
1104 \begin_inset Quotes eld
1105 \end_inset
1106
1107
1108 \family typewriter
1109 .svg
1110 \family default
1111
1112 \begin_inset Quotes erd
1113 \end_inset
1114
1115 )
1116 \begin_inset LatexCommand index
1117 name "SVG|see{Image formats}"
1118
1119 \end_inset
1120
1121
1122 \begin_inset Quotes eld
1123 \end_inset
1124
1125 Encapsulated PostScript
1126 \begin_inset Quotes erd
1127 \end_inset
1128
1129  (EPS, file extension 
1130 \begin_inset Quotes eld
1131 \end_inset
1132
1133
1134 \family typewriter
1135 .eps
1136 \family default
1137
1138 \begin_inset Quotes erd
1139 \end_inset
1140
1141 )
1142 \begin_inset LatexCommand index
1143 name "EPS|see{Image formats}"
1144
1145 \end_inset
1146
1147
1148 \begin_inset Quotes eld
1149 \end_inset
1150
1151 Portable Document Format
1152 \begin_inset Quotes erd
1153 \end_inset
1154
1155  (PDF, file extension 
1156 \begin_inset Quotes eld
1157 \end_inset
1158
1159
1160 \family typewriter
1161 .pdf
1162 \family default
1163
1164 \begin_inset Quotes erd
1165 \end_inset
1166
1167 )
1168 \begin_inset LatexCommand index
1169 name "PDF"
1170
1171 \end_inset
1172
1173 , and 
1174 \begin_inset Quotes eld
1175 \end_inset
1176
1177 Windows Metafile
1178 \begin_inset Quotes erd
1179 \end_inset
1180
1181  (WMF, file extension 
1182 \begin_inset Quotes eld
1183 \end_inset
1184
1185
1186 \family typewriter
1187 .wmf
1188 \family default
1189
1190 \begin_inset Quotes erd
1191 \end_inset
1192
1193 )
1194 \begin_inset LatexCommand index
1195 name "SVG|see{Image formats}"
1196
1197 \end_inset
1198
1199 .
1200  We wrote 
1201 \begin_inset Quotes eld
1202 \end_inset
1203
1204 can be
1205 \begin_inset Quotes erd
1206 \end_inset
1207
1208 , because you can convert any bitmap image to a PDF or EPS-image and the
1209  result will still be a bitmap image.
1210  In this cases only a header with the image properties is added to the original
1211  image
1212 \begin_inset Foot
1213 status open
1214
1215 \begin_layout Standard
1216 In the case of PDF, the original image is additionally compressed.
1217 \end_layout
1218
1219 \end_inset
1220
1221 .
1222  The PDF-files generated by 
1223 \family typewriter
1224 Adobe Photoshop
1225 \family default
1226  are for example bitmap images.
1227 \end_layout
1228
1229 \begin_layout Standard
1230 Normally it is not possible to convert a bitmap image into a scalable one,
1231  only vice versa.
1232  Only the image formats PDF and EPS can directly be embedded to PDF and
1233  PostScript output files, respectively.
1234  SVG and WMF-images are recalculated to bitmaps when the output file is
1235  generated because there is currently no adequate WMF/SVG
1236 \begin_inset Formula $\to$
1237 \end_inset
1238
1239 PDF/EPS converter available.
1240 \end_layout
1241
1242 \begin_layout Chapter
1243 Tables
1244 \begin_inset LatexCommand label
1245 name "cha:Tables"
1246
1247 \end_inset
1248
1249
1250 \begin_inset LatexCommand index
1251 name "Table"
1252
1253 \end_inset
1254
1255
1256 \end_layout
1257
1258 \begin_layout Section
1259 Introduction
1260 \begin_inset LatexCommand index
1261 name "Table ! Introduction"
1262
1263 \end_inset
1264
1265
1266 \end_layout
1267
1268 \begin_layout Standard
1269 You can insert a table using either the toolbar button 
1270 \begin_inset Graphics
1271         filename ../images/tabular-insert.xpm
1272         scale 85
1273         scaleBeforeRotation
1274
1275 \end_inset
1276
1277  or the menu 
1278 \family sans
1279 Insert\SpecialChar \menuseparator
1280 Table
1281 \family default
1282 .
1283  The toolbar button offers you a graphical selection: Move the mouse to
1284  set the column/row number of the table that should be created and then
1285  press a mouse button.
1286  When you use the menu to create a table, a dialog will appear, asking you
1287  for the number of rows and columns.
1288 \newline
1289  The default table has lines around any
1290  cell and the first row appears separated from the rest of the table.
1291  This separation occurs due to a double line: The cells of the first row
1292  have a line below them and the cells of the second row have a line above
1293  them.
1294  Here is an example table:
1295 \end_layout
1296
1297 \begin_layout Standard
1298 \align center
1299 \begin_inset Tabular
1300 <lyxtabular version="3" rows="4" columns="4">
1301 <features>
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" width="0">
1305 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
1306 <row topline="true" bottomline="true">
1307 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1308 \begin_inset Text
1309
1310 \begin_layout Standard
1311
1312 \end_layout
1313
1314 \end_inset
1315 </cell>
1316 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1317 \begin_inset Text
1318
1319 \begin_layout Standard
1320
1321 \family roman
1322 \series medium
1323 \shape up
1324 \size normal
1325 \emph off
1326 \bar no
1327 \noun off
1328 \color none
1329 1
1330 \end_layout
1331
1332 \end_inset
1333 </cell>
1334 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1335 \begin_inset Text
1336
1337 \begin_layout Standard
1338 2
1339 \end_layout
1340
1341 \end_inset
1342 </cell>
1343 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1344 \begin_inset Text
1345
1346 \begin_layout Standard
1347 3
1348 \end_layout
1349
1350 \end_inset
1351 </cell>
1352 </row>
1353 <row topline="true">
1354 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1355 \begin_inset Text
1356
1357 \begin_layout Standard
1358
1359 \family roman
1360 \series medium
1361 \shape up
1362 \size normal
1363 \emph off
1364 \bar no
1365 \noun off
1366 \color none
1367 A
1368 \end_layout
1369
1370 \end_inset
1371 </cell>
1372 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1373 \begin_inset Text
1374
1375 \begin_layout Standard
1376
1377 \end_layout
1378
1379 \end_inset
1380 </cell>
1381 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1382 \begin_inset Text
1383
1384 \begin_layout Standard
1385
1386 \end_layout
1387
1388 \end_inset
1389 </cell>
1390 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1391 \begin_inset Text
1392
1393 \begin_layout Standard
1394
1395 \end_layout
1396
1397 \end_inset
1398 </cell>
1399 </row>
1400 <row topline="true">
1401 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1402 \begin_inset Text
1403
1404 \begin_layout Standard
1405
1406 \family roman
1407 \series medium
1408 \shape up
1409 \size normal
1410 \emph off
1411 \bar no
1412 \noun off
1413 \color none
1414 B
1415 \end_layout
1416
1417 \end_inset
1418 </cell>
1419 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1420 \begin_inset Text
1421
1422 \begin_layout Standard
1423
1424 \end_layout
1425
1426 \end_inset
1427 </cell>
1428 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1429 \begin_inset Text
1430
1431 \begin_layout Standard
1432
1433 \end_layout
1434
1435 \end_inset
1436 </cell>
1437 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1438 \begin_inset Text
1439
1440 \begin_layout Standard
1441
1442 \end_layout
1443
1444 \end_inset
1445 </cell>
1446 </row>
1447 <row topline="true" bottomline="true">
1448 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1449 \begin_inset Text
1450
1451 \begin_layout Standard
1452
1453 \family roman
1454 \series medium
1455 \shape up
1456 \size normal
1457 \emph off
1458 \bar no
1459 \noun off
1460 \color none
1461 C
1462 \end_layout
1463
1464 \end_inset
1465 </cell>
1466 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1467 \begin_inset Text
1468
1469 \begin_layout Standard
1470
1471 \end_layout
1472
1473 \end_inset
1474 </cell>
1475 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1476 \begin_inset Text
1477
1478 \begin_layout Standard
1479
1480 \end_layout
1481
1482 \end_inset
1483 </cell>
1484 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1485 \begin_inset Text
1486
1487 \begin_layout Standard
1488
1489 \end_layout
1490
1491 \end_inset
1492 </cell>
1493 </row>
1494 </lyxtabular>
1495
1496 \end_inset
1497
1498
1499 \end_layout
1500
1501 \begin_layout Section
1502 Table Dialog
1503 \begin_inset LatexCommand index
1504 name "Table ! Dialog"
1505
1506 \end_inset
1507
1508
1509 \end_layout
1510
1511 \begin_layout Standard
1512 You can alter a table by clicking on it with the right mouse button, which
1513  brings up the table dialog.
1514  Here you can adjust the settings of that cell and row/column respectively
1515  where the cursor is currently placed.
1516  Most of the dialog options also work on selections.
1517  This means if you select more cells, columns or rows, the action is done
1518  for the whole selection.
1519  Note that there is a difference between selecting the 
1520 \emph on
1521 contents
1522 \emph default
1523  of the cell, and the cell itself.
1524  You can alter tables with the following tabs of the table dialog:
1525 \end_layout
1526
1527 \begin_layout Description
1528
1529 \family sans
1530 Table\InsetSpace ~
1531 Settings
1532 \family default
1533  Here you can set the horizontal alignment and the width of the current
1534  column.
1535  When you have set a width you can also adjust the vertical alignment of
1536  the current row.
1537  A given width will allow the cell to have line breaks and multiple paragraphs
1538  of text, see section\InsetSpace ~
1539
1540 \begin_inset LatexCommand ref
1541 reference "sub:Multiple-Lines-in"
1542
1543 \end_inset
1544
1545 .
1546  If you set no width, the column is as wide as their widest cell content
1547  is.
1548 \newline
1549 Furthermore, you can mark one or multiple cells of one row as a multicolumn
1550  cell, see section\InsetSpace ~
1551
1552 \begin_inset LatexCommand ref
1553 reference "sub:Multicolumns"
1554
1555 \end_inset
1556
1557 .
1558 \newline
1559 The rotate check boxes rotates the current cell, a selection, or the whole
1560  table counter-clockwise by 90°.
1561  The rotation is not shown within LyX, only in the output.
1562 \newline
1563
1564 \begin_inset Note Greyedout
1565 status open
1566
1567 \begin_layout Standard
1568
1569 \series bold
1570 Note:
1571 \series default
1572  Not all DVI-viewers are able to display rotations.
1573 \end_layout
1574
1575 \end_inset
1576
1577
1578 \newline
1579 It is also possible to enter a LaTeX-argument which is needed for special
1580  table formattings, see section\InsetSpace ~
1581
1582 \begin_inset LatexCommand ref
1583 reference "sub:Multicolumn-Calculations"
1584
1585 \end_inset
1586
1587  and 
1588 \begin_inset LatexCommand ref
1589 reference "sec:Colored-Tables"
1590
1591 \end_inset
1592
1593 .
1594 \end_layout
1595
1596 \begin_layout Description
1597
1598 \family sans
1599 Borders
1600 \family default
1601  In this tab you can add and delete border lines for the current row/column.
1602 \newline
1603 Using
1604  the style option 
1605 \family sans
1606 Formal
1607 \family default
1608  will convert the table to a formal table as described in section\InsetSpace ~
1609
1610 \begin_inset LatexCommand ref
1611 reference "sec:Formal-Tables"
1612
1613 \end_inset
1614
1615 .
1616 \newline
1617 You can also add here space to table rows as decribed in section\InsetSpace ~
1618
1619 \begin_inset LatexCommand ref
1620 reference "sub:Row-Spacing"
1621
1622 \end_inset
1623
1624 .
1625 \end_layout
1626
1627 \begin_layout Description
1628
1629 \family sans
1630 Longtable
1631 \family default
1632  This tab is to make a table a so called 
1633 \begin_inset Quotes eld
1634 \end_inset
1635
1636
1637 \emph on
1638 longtable
1639 \emph default
1640
1641 \begin_inset Quotes erd
1642 \end_inset
1643
1644  that can run over several pages.
1645  Section\InsetSpace ~
1646
1647 \begin_inset LatexCommand ref
1648 reference "sec:Longtables"
1649
1650 \end_inset
1651
1652  and 
1653 \begin_inset LatexCommand ref
1654 reference "sec:Special-Longtable-Issues"
1655
1656 \end_inset
1657
1658  describe the longtable features in detail.
1659 \end_layout
1660
1661 \begin_layout Standard
1662 When the table toolbar is opened, you can move the cursor with the arrow
1663  keys from cell to cell and the property of the current cell will immediately
1664  be displayed in the dialog.
1665 \end_layout
1666
1667 \begin_layout Section
1668 Table Toolbar
1669 \begin_inset LatexCommand index
1670 name "Table ! Toolbar"
1671
1672 \end_inset
1673
1674
1675 \end_layout
1676
1677 \begin_layout Standard
1678 The table toolbar is an alternative to the table dialog to be able to alter
1679  tables faster.
1680  It should normally appear at the bottom of LyX's main window when the cursor
1681  is inside a table.
1682  You can alternatively switch it on to appear always, by right-clicking
1683  in LyX's main menu bar.
1684 \end_layout
1685
1686 \begin_layout Standard
1687 The toolbar has the following icons:
1688 \end_layout
1689
1690 \begin_layout Labeling
1691 \labelwidthstring 00.00.0000
1692 \begin_inset Graphics
1693         filename ../images/tabular-feature_append-row.xpm
1694         scaleBeforeRotation
1695
1696 \end_inset
1697
1698  adds a row below the current cell or selection
1699 \end_layout
1700
1701 \begin_layout Labeling
1702 \labelwidthstring 00.00.0000
1703 \begin_inset Graphics
1704         filename ../images/tabular-feature_append-column.xpm
1705         scaleBeforeRotation
1706
1707 \end_inset
1708
1709  adds a column right beside the current cell or selection
1710 \end_layout
1711
1712 \begin_layout Labeling
1713 \labelwidthstring 00.00.0000
1714 \begin_inset Graphics
1715         filename ../images/tabular-feature_delete-row.xpm
1716         scaleBeforeRotation
1717
1718 \end_inset
1719
1720  deletes the current row or selection
1721 \end_layout
1722
1723 \begin_layout Labeling
1724 \labelwidthstring 00.00.0000
1725 \begin_inset Graphics
1726         filename ../images/tabular-feature_delete-column.xpm
1727         scaleBeforeRotation
1728
1729 \end_inset
1730
1731  deletes the current column or selection
1732 \end_layout
1733
1734 \begin_layout Labeling
1735 \labelwidthstring 00.00.0000
1736 \begin_inset Graphics
1737         filename ../images/tabular-feature_toggle-line-top.xpm
1738         scaleBeforeRotation
1739
1740 \end_inset
1741
1742  adds a line at the top of the current cell / row or of a selection
1743 \end_layout
1744
1745 \begin_layout Labeling
1746 \labelwidthstring 00.00.0000
1747 \begin_inset Graphics
1748         filename ../images/tabular-feature_toggle-line-bottom.xpm
1749         scaleBeforeRotation
1750
1751 \end_inset
1752
1753  adds a line at the bottom of the current cell / row or of a selection
1754 \end_layout
1755
1756 \begin_layout Labeling
1757 \labelwidthstring 00.00.0000
1758 \begin_inset Graphics
1759         filename ../images/tabular-feature_toggle-line-left.xpm
1760         scaleBeforeRotation
1761
1762 \end_inset
1763
1764  adds a line at the left side of the current cell / row or of a selection
1765 \end_layout
1766
1767 \begin_layout Labeling
1768 \labelwidthstring 00.00.0000
1769 \begin_inset Graphics
1770         filename ../images/tabular-feature_toggle-line-right.xpm
1771         scaleBeforeRotation
1772
1773 \end_inset
1774
1775  adds a line at the right side of the current cell / row or of a selection
1776 \end_layout
1777
1778 \begin_layout Labeling
1779 \labelwidthstring 00.00.0000
1780 \begin_inset Graphics
1781         filename ../images/tabular-feature_set-all-lines.xpm
1782         scaleBeforeRotation
1783
1784 \end_inset
1785
1786  adds lines around the current or selected cells - if the current cell no
1787  multicolumn this also affects the current row and column
1788 \end_layout
1789
1790 \begin_layout Labeling
1791 \labelwidthstring 00.00.0000
1792 \begin_inset Graphics
1793         filename ../images/tabular-feature_unset-all-lines.xpm
1794         scaleBeforeRotation
1795
1796 \end_inset
1797
1798  deletes all lines of the current or selected cells - if the current cell
1799  no multicolumn this also affects the current row and column
1800 \end_layout
1801
1802 \begin_layout Labeling
1803 \labelwidthstring 00.00.0000
1804 \begin_inset Graphics
1805         filename ../images/tabular-feature_align-left.xpm
1806         scaleBeforeRotation
1807
1808 \end_inset
1809
1810  left-aligns the content of the current cell / column
1811 \end_layout
1812
1813 \begin_layout Labeling
1814 \labelwidthstring 00.00.0000
1815 \begin_inset Graphics
1816         filename ../images/tabular-feature_align-center.xpm
1817         scaleBeforeRotation
1818
1819 \end_inset
1820
1821  centers the content of the current cell / column horizontally
1822 \end_layout
1823
1824 \begin_layout Labeling
1825 \labelwidthstring 00.00.0000
1826 \begin_inset Graphics
1827         filename ../images/tabular-feature_align-right.xpm
1828         scaleBeforeRotation
1829
1830 \end_inset
1831
1832  right-aligns the content of the current cell / column
1833 \end_layout
1834
1835 \begin_layout Labeling
1836 \labelwidthstring 00.00.0000
1837 \begin_inset Graphics
1838         filename ../images/tabular-feature_valign-top.xpm
1839         scaleBeforeRotation
1840
1841 \end_inset
1842
1843  aligns the content of the current cell vertically to the top
1844 \end_layout
1845
1846 \begin_layout Labeling
1847 \labelwidthstring 00.00.0000
1848 \begin_inset Graphics
1849         filename ../images/tabular-feature_valign-middle.xpm
1850         scaleBeforeRotation
1851
1852 \end_inset
1853
1854  centers the content of the current cell vertically
1855 \end_layout
1856
1857 \begin_layout Labeling
1858 \labelwidthstring 00.00.0000
1859 \begin_inset Graphics
1860         filename ../images/tabular-feature_valign-bottom.xpm
1861         scaleBeforeRotation
1862
1863 \end_inset
1864
1865  aligns the content of the current cell vertically to the bottom
1866 \end_layout
1867
1868 \begin_layout Labeling
1869 \labelwidthstring 00.00.0000
1870 \begin_inset Graphics
1871         filename ../images/tabular-feature_set-rotate-cell.xpm
1872         scaleBeforeRotation
1873
1874 \end_inset
1875
1876  rotates the current cell or selection counter-clockwise by 90°
1877 \end_layout
1878
1879 \begin_layout Labeling
1880 \labelwidthstring 00.00.0000
1881 \begin_inset Graphics
1882         filename ../images/tabular-feature_set-rotate-tabular.xpm
1883         scaleBeforeRotation
1884
1885 \end_inset
1886
1887  rotates the whole table counter-clockwise by 90°
1888 \end_layout
1889
1890 \begin_layout Labeling
1891 \labelwidthstring 00.00.0000
1892 \begin_inset Graphics
1893         filename ../images/tabular-feature_multicolumn.xpm
1894         scaleBeforeRotation
1895
1896 \end_inset
1897
1898  sets the current cell or selection as a multicolumn
1899 \end_layout
1900
1901 \begin_layout Standard
1902 \begin_inset Note Greyedout
1903 status open
1904
1905 \begin_layout Standard
1906
1907 \series bold
1908 Note:
1909 \series default
1910  For the output the vertical alignment of the first cell in a row is used
1911  for all following cells in the row.
1912 \end_layout
1913
1914 \end_inset
1915
1916
1917 \end_layout
1918
1919 \begin_layout Section
1920 Edit Table Menu
1921 \begin_inset LatexCommand index
1922 name "Table ! Edit Menu"
1923
1924 \end_inset
1925
1926
1927 \end_layout
1928
1929 \begin_layout Standard
1930 Additionally to the table dialog and toolbar, the menu 
1931 \family sans
1932 Edit\SpecialChar \menuseparator
1933 Table
1934 \family default
1935  allows you to add and delete border lines for the current row/column and
1936  to set the current selection as multicolumn.
1937  The menu is only available when the cursor is inside a table.
1938 \end_layout
1939
1940 \begin_layout Section
1941 Table Floats
1942 \begin_inset LatexCommand label
1943 name "sec:Table-Floats"
1944
1945 \end_inset
1946
1947
1948 \begin_inset LatexCommand index
1949 name "Floats ! Tables"
1950
1951 \end_inset
1952
1953
1954 \begin_inset LatexCommand index
1955 name "Table ! Floats"
1956
1957 \end_inset
1958
1959
1960 \end_layout
1961
1962 \begin_layout Standard
1963 For general explanations about floats, have a look at section\InsetSpace ~
1964
1965 \begin_inset LatexCommand ref
1966 reference "sec:FloatIntroduction"
1967
1968 \end_inset
1969
1970 .
1971 \end_layout
1972
1973 \begin_layout Standard
1974 \begin_inset Float table
1975 placement h
1976 wide false
1977 sideways false
1978 status open
1979
1980 \begin_layout Standard
1981 \begin_inset Caption
1982
1983 \begin_layout Standard
1984 \begin_inset LatexCommand label
1985 name "tab:a table float"
1986
1987 \end_inset
1988
1989 A table float.
1990 \end_layout
1991
1992 \end_inset
1993
1994
1995 \end_layout
1996
1997 \begin_layout Standard
1998 \align center
1999 \begin_inset Tabular
2000 <lyxtabular version="3" rows="3" columns="3">
2001 <features>
2002 <column alignment="center" valignment="top" leftline="true" width="0pt">
2003 <column alignment="center" valignment="top" leftline="true" width="0pt">
2004 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
2005 <row topline="true" bottomline="true">
2006 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2007 \begin_inset Text
2008
2009 \begin_layout Standard
2010
2011 \family roman
2012 \series medium
2013 \shape up
2014 \size normal
2015 \emph off
2016 \bar no
2017 \noun off
2018 \color none
2019 1
2020 \end_layout
2021
2022 \end_inset
2023 </cell>
2024 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2025 \begin_inset Text
2026
2027 \begin_layout Standard
2028
2029 \family roman
2030 \series medium
2031 \shape up
2032 \size normal
2033 \emph off
2034 \bar no
2035 \noun off
2036 \color none
2037 2
2038 \end_layout
2039
2040 \end_inset
2041 </cell>
2042 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2043 \begin_inset Text
2044
2045 \begin_layout Standard
2046
2047 \family roman
2048 \series medium
2049 \shape up
2050 \size normal
2051 \emph off
2052 \bar no
2053 \noun off
2054 \color none
2055 3
2056 \end_layout
2057
2058 \end_inset
2059 </cell>
2060 </row>
2061 <row topline="true">
2062 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2063 \begin_inset Text
2064
2065 \begin_layout Standard
2066
2067 \family roman
2068 \series medium
2069 \shape up
2070 \size normal
2071 \emph off
2072 \bar no
2073 \noun off
2074 \color none
2075 Joe
2076 \end_layout
2077
2078 \end_inset
2079 </cell>
2080 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2081 \begin_inset Text
2082
2083 \begin_layout Standard
2084
2085 \family roman
2086 \series medium
2087 \shape up
2088 \size normal
2089 \emph off
2090 \bar no
2091 \noun off
2092 \color none
2093 Mary
2094 \end_layout
2095
2096 \end_inset
2097 </cell>
2098 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2099 \begin_inset Text
2100
2101 \begin_layout Standard
2102
2103 \family roman
2104 \series medium
2105 \shape up
2106 \size normal
2107 \emph off
2108 \bar no
2109 \noun off
2110 \color none
2111 Ted
2112 \end_layout
2113
2114 \end_inset
2115 </cell>
2116 </row>
2117 <row topline="true" bottomline="true">
2118 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2119 \begin_inset Text
2120
2121 \begin_layout Standard
2122
2123 \family roman
2124 \series medium
2125 \shape up
2126 \size normal
2127 \emph off
2128 \bar no
2129 \noun off
2130 \color none
2131 \begin_inset Formula $\int x^{2}dx$
2132 \end_inset
2133
2134
2135 \end_layout
2136
2137 \end_inset
2138 </cell>
2139 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2140 \begin_inset Text
2141
2142 \begin_layout Standard
2143
2144 \family roman
2145 \series medium
2146 \shape up
2147 \size normal
2148 \emph off
2149 \bar no
2150 \noun off
2151 \color none
2152 \begin_inset Formula $\left[\begin{array}{cc}
2153 a & b\\
2154 c & d\end{array}\right]$
2155 \end_inset
2156
2157
2158 \end_layout
2159
2160 \end_inset
2161 </cell>
2162 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2163 \begin_inset Text
2164
2165 \begin_layout Standard
2166
2167 \family roman
2168 \series medium
2169 \shape up
2170 \size normal
2171 \emph off
2172 \bar no
2173 \noun off
2174 \color none
2175 \begin_inset Formula $1+1=2$
2176 \end_inset
2177
2178
2179 \end_layout
2180
2181 \end_inset
2182 </cell>
2183 </row>
2184 </lyxtabular>
2185
2186 \end_inset
2187
2188
2189 \end_layout
2190
2191 \end_inset
2192
2193
2194 \end_layout
2195
2196 \begin_layout Standard
2197 Table floats can be inserted using the menu 
2198 \family sans
2199 Insert\SpecialChar \menuseparator
2200 Float\SpecialChar \menuseparator
2201 Table
2202 \family default
2203  or the toolbar button 
2204 \begin_inset Graphics
2205         filename ../images/float-insert_table.xpm
2206         scale 85
2207         scaleBeforeRotation
2208
2209 \end_inset
2210
2211 .
2212 \end_layout
2213
2214 \begin_layout Standard
2215 The float appears as a collapsible box with a caption that has the label
2216  
2217 \begin_inset Quotes eld
2218 \end_inset
2219
2220 Table\InsetSpace ~
2221 #:
2222 \begin_inset Quotes erd
2223 \end_inset
2224
2225  (# is the actual table number).
2226  You can insert tables to the float above or below the caption.
2227 \end_layout
2228
2229 \begin_layout Standard
2230 Table\InsetSpace ~
2231
2232 \begin_inset LatexCommand ref
2233 reference "tab:a table float"
2234
2235 \end_inset
2236
2237  is an example table within a table float.
2238 \end_layout
2239
2240 \begin_layout Standard
2241 Having the caption above the table is the common rule that is unfortunately
2242  not supported in LaTeX's standard classes.
2243  That means if you are using the document classes 
2244 \family sans
2245 article
2246 \family default
2247
2248 \family sans
2249 book
2250 \family default
2251
2252 \family sans
2253 letter
2254 \family default
2255 , or 
2256 \family sans
2257 report
2258 \family default
2259  there will be no space between the caption and the table.
2260  To insert the needed space, add the following option to the load command
2261  of the LaTeX-package 
2262 \series bold
2263 caption
2264 \series default
2265
2266 \begin_inset LatexCommand index
2267 name "LaTeX-packages ! caption"
2268
2269 \end_inset
2270
2271  in your document preamble
2272 \begin_inset Foot
2273 status collapsed
2274
2275 \begin_layout Standard
2276 For more information have a look at section\InsetSpace ~
2277
2278 \begin_inset LatexCommand ref
2279 reference "sec:Caption-Placement"
2280
2281 \end_inset
2282
2283 .
2284 \end_layout
2285
2286 \end_inset
2287
2288 :
2289 \end_layout
2290
2291 \begin_layout Standard
2292
2293 \series bold
2294 tableposition=top
2295 \end_layout
2296
2297 \begin_layout Standard
2298 The package 
2299 \series bold
2300 caption
2301 \series default
2302 , which is described in section\InsetSpace ~
2303
2304 \begin_inset LatexCommand ref
2305 reference "sec:Caption-Formatting"
2306
2307 \end_inset
2308
2309 , is used to adjust the caption format.
2310 \end_layout
2311
2312 \begin_layout Standard
2313 \begin_inset LatexCommand index
2314 name "References ! to Tables"
2315
2316 \end_inset
2317
2318 Tables can be cross-referenced in the text by referencing their label.
2319  To do this insert a label in the caption using the menu 
2320 \family sans
2321 Insert\SpecialChar \menuseparator
2322 Label
2323 \family default
2324  or the toolbar button 
2325 \begin_inset Graphics
2326         filename ../images/label-insert.xpm
2327         scale 85
2328         scaleBeforeRotation
2329
2330 \end_inset
2331
2332 .
2333  You can now refer to the label using the menu 
2334 \family sans
2335 Insert\SpecialChar \menuseparator
2336 Cross\InsetSpace ~
2337 reference
2338 \family default
2339  or the toolbar button 
2340 \begin_inset Graphics
2341         filename ../images/dialog-show-new-inset_ref.xpm
2342         scale 85
2343         scaleBeforeRotation
2344
2345 \end_inset
2346
2347 .
2348 \newline
2349 Referencing is explained in detail in section\InsetSpace ~
2350
2351 \begin_inset LatexCommand ref
2352 reference "sec:Referencing-Floats"
2353
2354 \end_inset
2355
2356 .
2357 \end_layout
2358
2359 \begin_layout Section
2360 Longtables
2361 \begin_inset LatexCommand label
2362 name "sec:Longtables"
2363
2364 \end_inset
2365
2366
2367 \begin_inset LatexCommand index
2368 name "Longtables"
2369
2370 \end_inset
2371
2372
2373 \begin_inset LatexCommand index
2374 name "Table ! Longtables"
2375
2376 \end_inset
2377
2378
2379 \end_layout
2380
2381 \begin_layout Standard
2382 If the table is too long to fit on one page, you can use the option 
2383 \family sans
2384 Use\InsetSpace ~
2385 long\InsetSpace ~
2386 table
2387 \family default
2388  in the tab 
2389 \family sans
2390 Longtable
2391 \family default
2392  of the table dialog to split the table automatically over more pages.
2393  Doing this enables some check boxes and you can now define:
2394 \end_layout
2395
2396 \begin_layout Description
2397
2398 \family sans
2399 Header
2400 \family default
2401 : The current row and all rows above, that don't have any special options
2402  defined, are defined to be the header rows of all pages of the longtable;
2403  except for the first page, if 
2404 \family sans
2405 First\InsetSpace ~
2406 header
2407 \family default
2408  is defined.
2409  This therefore called the main header.
2410 \end_layout
2411
2412 \begin_layout Description
2413
2414 \family sans
2415 First\InsetSpace ~
2416 header
2417 \family default
2418 : The current row and all rows above, that don't have any special options
2419  defined, are defined to be the header rows of the first page of the longtable.
2420 \end_layout
2421
2422 \begin_layout Description
2423
2424 \family sans
2425 Footer
2426 \family default
2427 : The current row and all rows below, that don't have any special options
2428  defined, are defined to be the footer rows of all pages of the longtable;
2429  except for the last page, if 
2430 \family sans
2431 Last\InsetSpace ~
2432 footer
2433 \family default
2434  is defined.
2435 \end_layout
2436
2437 \begin_layout Description
2438
2439 \family sans
2440 Last\InsetSpace ~
2441 footer
2442 \family default
2443 : The current row and all rows below, that don't have any special options
2444  defined, are defined to be the footer rows of the last page of the longtable.
2445 \end_layout
2446
2447 \begin_layout Standard
2448 You can also specify a row where the table is splitted.
2449  If you set more than one option in the same table row, you should be aware
2450  of the fact that only the first one is used in the given table row.
2451  The others will then be defined as 
2452 \emph on
2453 empty
2454 \emph default
2455 .
2456  In this context, first means first in this order: 
2457 \family sans
2458 Header,
2459 \family default
2460  
2461 \family sans
2462 First\InsetSpace ~
2463 header, Footer, Last\InsetSpace ~
2464 footer.
2465
2466 \family default
2467  See the following longtable to see how it works:
2468 \end_layout
2469
2470 \begin_layout Standard
2471 \align center
2472 \begin_inset Tabular
2473 <lyxtabular version="3" rows="69" columns="3">
2474 <features islongtable="true">
2475 <column alignment="left" valignment="top" leftline="true" width="0cm">
2476 <column alignment="left" valignment="top" width="0pt">
2477 <column alignment="right" valignment="top" leftline="true" rightline="true" width="0pt">
2478 <row topline="true" bottomline="true" endfirsthead="true">
2479 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2480 \begin_inset Text
2481
2482 \begin_layout Standard
2483
2484 \series bold
2485 Example Phone List (ignore the names)
2486 \end_layout
2487
2488 \end_inset
2489 </cell>
2490 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2491 \begin_inset Text
2492
2493 \begin_layout Standard
2494
2495 \end_layout
2496
2497 \end_inset
2498 </cell>
2499 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2500 \begin_inset Text
2501
2502 \begin_layout Standard
2503
2504 \end_layout
2505
2506 \end_inset
2507 </cell>
2508 </row>
2509 <row topline="true" bottomline="true" endfirsthead="true">
2510 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2511 \begin_inset Text
2512
2513 \begin_layout Standard
2514
2515 \series bold
2516 NAME
2517 \end_layout
2518
2519 \end_inset
2520 </cell>
2521 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2522 \begin_inset Text
2523
2524 \begin_layout Standard
2525
2526 \end_layout
2527
2528 \end_inset
2529 </cell>
2530 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2531 \begin_inset Text
2532
2533 \begin_layout Standard
2534
2535 \series bold
2536 TEL.
2537 \end_layout
2538
2539 \end_inset
2540 </cell>
2541 </row>
2542 <row topline="true" bottomline="true" endhead="true">
2543 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2544 \begin_inset Text
2545
2546 \begin_layout Standard
2547
2548 \series bold
2549 Example Phone List
2550 \end_layout
2551
2552 \end_inset
2553 </cell>
2554 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2555 \begin_inset Text
2556
2557 \begin_layout Standard
2558
2559 \end_layout
2560
2561 \end_inset
2562 </cell>
2563 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2564 \begin_inset Text
2565
2566 \begin_layout Standard
2567
2568 \end_layout
2569
2570 \end_inset
2571 </cell>
2572 </row>
2573 <row topline="true" bottomline="true" endhead="true">
2574 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2575 \begin_inset Text
2576
2577 \begin_layout Standard
2578
2579 \series bold
2580 NAME
2581 \end_layout
2582
2583 \end_inset
2584 </cell>
2585 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2586 \begin_inset Text
2587
2588 \begin_layout Standard
2589
2590 \end_layout
2591
2592 \end_inset
2593 </cell>
2594 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2595 \begin_inset Text
2596
2597 \begin_layout Standard
2598
2599 \series bold
2600 TEL.
2601 \end_layout
2602
2603 \end_inset
2604 </cell>
2605 </row>
2606 <row topline="true" bottomline="true" endfoot="true">
2607 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
2608 \begin_inset Text
2609
2610 \begin_layout Standard
2611  continued on next page
2612 \end_layout
2613
2614 \end_inset
2615 </cell>
2616 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2617 \begin_inset Text
2618
2619 \begin_layout Standard
2620
2621 \end_layout
2622
2623 \end_inset
2624 </cell>
2625 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2626 \begin_inset Text
2627
2628 \begin_layout Standard
2629
2630 \end_layout
2631
2632 \end_inset
2633 </cell>
2634 </row>
2635 <row>
2636 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2637 \begin_inset Text
2638
2639 \begin_layout Standard
2640
2641 \series bold
2642 Annovi
2643 \end_layout
2644
2645 \end_inset
2646 </cell>
2647 <cell alignment="center" valignment="top" topline="true" usebox="none">
2648 \begin_inset Text
2649
2650 \begin_layout Standard
2651 Silvia
2652 \end_layout
2653
2654 \end_inset
2655 </cell>
2656 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2657 \begin_inset Text
2658
2659 \begin_layout Standard
2660 111
2661 \end_layout
2662
2663 \end_inset
2664 </cell>
2665 </row>
2666 <row>
2667 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2668 \begin_inset Text
2669
2670 \begin_layout Standard
2671
2672 \series bold
2673 Bertoli
2674 \end_layout
2675
2676 \end_inset
2677 </cell>
2678 <cell alignment="center" valignment="top" topline="true" usebox="none">
2679 \begin_inset Text
2680
2681 \begin_layout Standard
2682 Stefano
2683 \end_layout
2684
2685 \end_inset
2686 </cell>
2687 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2688 \begin_inset Text
2689
2690 \begin_layout Standard
2691 111
2692 \end_layout
2693
2694 \end_inset
2695 </cell>
2696 </row>
2697 <row>
2698 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2699 \begin_inset Text
2700
2701 \begin_layout Standard
2702
2703 \series bold
2704 Bozzi
2705 \end_layout
2706
2707 \end_inset
2708 </cell>
2709 <cell alignment="center" valignment="top" topline="true" usebox="none">
2710 \begin_inset Text
2711
2712 \begin_layout Standard
2713 Walter
2714 \end_layout
2715
2716 \end_inset
2717 </cell>
2718 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2719 \begin_inset Text
2720
2721 \begin_layout Standard
2722 111
2723 \end_layout
2724
2725 \end_inset
2726 </cell>
2727 </row>
2728 <row>
2729 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2730 \begin_inset Text
2731
2732 \begin_layout Standard
2733
2734 \series bold
2735 Cachia
2736 \end_layout
2737
2738 \end_inset
2739 </cell>
2740 <cell alignment="center" valignment="top" topline="true" usebox="none">
2741 \begin_inset Text
2742
2743 \begin_layout Standard
2744 Maria
2745 \end_layout
2746
2747 \end_inset
2748 </cell>
2749 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2750 \begin_inset Text
2751
2752 \begin_layout Standard
2753 111
2754 \end_layout
2755
2756 \end_inset
2757 </cell>
2758 </row>
2759 <row>
2760 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2761 \begin_inset Text
2762
2763 \begin_layout Standard
2764
2765 \series bold
2766 Cachia
2767 \end_layout
2768
2769 \end_inset
2770 </cell>
2771 <cell alignment="center" valignment="top" topline="true" usebox="none">
2772 \begin_inset Text
2773
2774 \begin_layout Standard
2775 Maurizio
2776 \end_layout
2777
2778 \end_inset
2779 </cell>
2780 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2781 \begin_inset Text
2782
2783 \begin_layout Standard
2784 111
2785 \end_layout
2786
2787 \end_inset
2788 </cell>
2789 </row>
2790 <row>
2791 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2792 \begin_inset Text
2793
2794 \begin_layout Standard
2795
2796 \series bold
2797 Cinquemani
2798 \end_layout
2799
2800 \end_inset
2801 </cell>
2802 <cell alignment="center" valignment="top" topline="true" usebox="none">
2803 \begin_inset Text
2804
2805 \begin_layout Standard
2806 Giusi
2807 \end_layout
2808
2809 \end_inset
2810 </cell>
2811 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2812 \begin_inset Text
2813
2814 \begin_layout Standard
2815 111
2816 \end_layout
2817
2818 \end_inset
2819 </cell>
2820 </row>
2821 <row>
2822 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2823 \begin_inset Text
2824
2825 \begin_layout Standard
2826
2827 \series bold
2828 Colin
2829 \end_layout
2830
2831 \end_inset
2832 </cell>
2833 <cell alignment="center" valignment="top" topline="true" usebox="none">
2834 \begin_inset Text
2835
2836 \begin_layout Standard
2837 Bernard
2838 \end_layout
2839
2840 \end_inset
2841 </cell>
2842 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2843 \begin_inset Text
2844
2845 \begin_layout Standard
2846 111
2847 \end_layout
2848
2849 \end_inset
2850 </cell>
2851 </row>
2852 <row>
2853 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2854 \begin_inset Text
2855
2856 \begin_layout Standard
2857
2858 \series bold
2859 Concli
2860 \end_layout
2861
2862 \end_inset
2863 </cell>
2864 <cell alignment="center" valignment="top" topline="true" usebox="none">
2865 \begin_inset Text
2866
2867 \begin_layout Standard
2868 Gianfranco
2869 \end_layout
2870
2871 \end_inset
2872 </cell>
2873 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2874 \begin_inset Text
2875
2876 \begin_layout Standard
2877 111
2878 \end_layout
2879
2880 \end_inset
2881 </cell>
2882 </row>
2883 <row>
2884 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2885 \begin_inset Text
2886
2887 \begin_layout Standard
2888
2889 \series bold
2890 Dal Bosco
2891 \end_layout
2892
2893 \end_inset
2894 </cell>
2895 <cell alignment="center" valignment="top" topline="true" usebox="none">
2896 \begin_inset Text
2897
2898 \begin_layout Standard
2899 Carolina
2900 \end_layout
2901
2902 \end_inset
2903 </cell>
2904 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2905 \begin_inset Text
2906
2907 \begin_layout Standard
2908 111
2909 \end_layout
2910
2911 \end_inset
2912 </cell>
2913 </row>
2914 <row>
2915 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2916 \begin_inset Text
2917
2918 \begin_layout Standard
2919
2920 \series bold
2921 Dalpiaz
2922 \end_layout
2923
2924 \end_inset
2925 </cell>
2926 <cell alignment="center" valignment="top" topline="true" usebox="none">
2927 \begin_inset Text
2928
2929 \begin_layout Standard
2930 Annamaria
2931 \end_layout
2932
2933 \end_inset
2934 </cell>
2935 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2936 \begin_inset Text
2937
2938 \begin_layout Standard
2939 111
2940 \end_layout
2941
2942 \end_inset
2943 </cell>
2944 </row>
2945 <row>
2946 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2947 \begin_inset Text
2948
2949 \begin_layout Standard
2950
2951 \series bold
2952 Feliciello
2953 \end_layout
2954
2955 \end_inset
2956 </cell>
2957 <cell alignment="center" valignment="top" topline="true" usebox="none">
2958 \begin_inset Text
2959
2960 \begin_layout Standard
2961 Domenico
2962 \end_layout
2963
2964 \end_inset
2965 </cell>
2966 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2967 \begin_inset Text
2968
2969 \begin_layout Standard
2970 111
2971 \end_layout
2972
2973 \end_inset
2974 </cell>
2975 </row>
2976 <row>
2977 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2978 \begin_inset Text
2979
2980 \begin_layout Standard
2981
2982 \series bold
2983 Focarelli
2984 \end_layout
2985
2986 \end_inset
2987 </cell>
2988 <cell alignment="center" valignment="top" topline="true" usebox="none">
2989 \begin_inset Text
2990
2991 \begin_layout Standard
2992 Paola
2993 \end_layout
2994
2995 \end_inset
2996 </cell>
2997 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2998 \begin_inset Text
2999
3000 \begin_layout Standard
3001 111
3002 \end_layout
3003
3004 \end_inset
3005 </cell>
3006 </row>
3007 <row>
3008 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3009 \begin_inset Text
3010
3011 \begin_layout Standard
3012
3013 \series bold
3014 Galletti
3015 \end_layout
3016
3017 \end_inset
3018 </cell>
3019 <cell alignment="center" valignment="top" topline="true" usebox="none">
3020 \begin_inset Text
3021
3022 \begin_layout Standard
3023 Oreste
3024 \end_layout
3025
3026 \end_inset
3027 </cell>
3028 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3029 \begin_inset Text
3030
3031 \begin_layout Standard
3032 111
3033 \end_layout
3034
3035 \end_inset
3036 </cell>
3037 </row>
3038 <row>
3039 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3040 \begin_inset Text
3041
3042 \begin_layout Standard
3043
3044 \series bold
3045 Gasparini
3046 \end_layout
3047
3048 \end_inset
3049 </cell>
3050 <cell alignment="center" valignment="top" topline="true" usebox="none">
3051 \begin_inset Text
3052
3053 \begin_layout Standard
3054 Franca
3055 \end_layout
3056
3057 \end_inset
3058 </cell>
3059 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3060 \begin_inset Text
3061
3062 \begin_layout Standard
3063 111
3064 \end_layout
3065
3066 \end_inset
3067 </cell>
3068 </row>
3069 <row>
3070 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3071 \begin_inset Text
3072
3073 \begin_layout Standard
3074
3075 \series bold
3076 Rizzardi
3077 \end_layout
3078
3079 \end_inset
3080 </cell>
3081 <cell alignment="center" valignment="top" topline="true" usebox="none">
3082 \begin_inset Text
3083
3084 \begin_layout Standard
3085 Paola
3086 \end_layout
3087
3088 \end_inset
3089 </cell>
3090 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3091 \begin_inset Text
3092
3093 \begin_layout Standard
3094 111
3095 \end_layout
3096
3097 \end_inset
3098 </cell>
3099 </row>
3100 <row>
3101 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3102 \begin_inset Text
3103
3104 \begin_layout Standard
3105
3106 \series bold
3107 Lassini
3108 \end_layout
3109
3110 \end_inset
3111 </cell>
3112 <cell alignment="center" valignment="top" topline="true" usebox="none">
3113 \begin_inset Text
3114
3115 \begin_layout Standard
3116 Giancarlo
3117 \end_layout
3118
3119 \end_inset
3120 </cell>
3121 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3122 \begin_inset Text
3123
3124 \begin_layout Standard
3125 111
3126 \end_layout
3127
3128 \end_inset
3129 </cell>
3130 </row>
3131 <row>
3132 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3133 \begin_inset Text
3134
3135 \begin_layout Standard
3136
3137 \series bold
3138 Malfatti
3139 \end_layout
3140
3141 \end_inset
3142 </cell>
3143 <cell alignment="center" valignment="top" topline="true" usebox="none">
3144 \begin_inset Text
3145
3146 \begin_layout Standard
3147 Luciano
3148 \end_layout
3149
3150 \end_inset
3151 </cell>
3152 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3153 \begin_inset Text
3154
3155 \begin_layout Standard
3156 111
3157 \end_layout
3158
3159 \end_inset
3160 </cell>
3161 </row>
3162 <row>
3163 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3164 \begin_inset Text
3165
3166 \begin_layout Standard
3167
3168 \series bold
3169 Malfatti
3170 \end_layout
3171
3172 \end_inset
3173 </cell>
3174 <cell alignment="center" valignment="top" topline="true" usebox="none">
3175 \begin_inset Text
3176
3177 \begin_layout Standard
3178 Valeriano
3179 \end_layout
3180
3181 \end_inset
3182 </cell>
3183 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3184 \begin_inset Text
3185
3186 \begin_layout Standard
3187 111
3188 \end_layout
3189
3190 \end_inset
3191 </cell>
3192 </row>
3193 <row>
3194 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3195 \begin_inset Text
3196
3197 \begin_layout Standard
3198
3199 \series bold
3200 Meneguzzo
3201 \end_layout
3202
3203 \end_inset
3204 </cell>
3205 <cell alignment="center" valignment="top" topline="true" usebox="none">
3206 \begin_inset Text
3207
3208 \begin_layout Standard
3209 Roberto
3210 \end_layout
3211
3212 \end_inset
3213 </cell>
3214 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3215 \begin_inset Text
3216
3217 \begin_layout Standard
3218 111
3219 \end_layout
3220
3221 \end_inset
3222 </cell>
3223 </row>
3224 <row>
3225 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3226 \begin_inset Text
3227
3228 \begin_layout Standard
3229
3230 \series bold
3231 Mezzadra
3232 \end_layout
3233
3234 \end_inset
3235 </cell>
3236 <cell alignment="center" valignment="top" topline="true" usebox="none">
3237 \begin_inset Text
3238
3239 \begin_layout Standard
3240 Roberto
3241 \end_layout
3242
3243 \end_inset
3244 </cell>
3245 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3246 \begin_inset Text
3247
3248 \begin_layout Standard
3249 111
3250 \end_layout
3251
3252 \end_inset
3253 </cell>
3254 </row>
3255 <row>
3256 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3257 \begin_inset Text
3258
3259 \begin_layout Standard
3260
3261 \series bold
3262 Pirpamer
3263 \end_layout
3264
3265 \end_inset
3266 </cell>
3267 <cell alignment="center" valignment="top" topline="true" usebox="none">
3268 \begin_inset Text
3269
3270 \begin_layout Standard
3271 Erich
3272 \end_layout
3273
3274 \end_inset
3275 </cell>
3276 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3277 \begin_inset Text
3278
3279 \begin_layout Standard
3280 111
3281 \end_layout
3282
3283 \end_inset
3284 </cell>
3285 </row>
3286 <row>
3287 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3288 \begin_inset Text
3289
3290 \begin_layout Standard
3291
3292 \series bold
3293 Pochiesa
3294 \end_layout
3295
3296 \end_inset
3297 </cell>
3298 <cell alignment="center" valignment="top" topline="true" usebox="none">
3299 \begin_inset Text
3300
3301 \begin_layout Standard
3302 Paolo
3303 \end_layout
3304
3305 \end_inset
3306 </cell>
3307 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3308 \begin_inset Text
3309
3310 \begin_layout Standard
3311 111, 222
3312 \end_layout
3313
3314 \end_inset
3315 </cell>
3316 </row>
3317 <row>
3318 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3319 \begin_inset Text
3320
3321 \begin_layout Standard
3322
3323 \series bold
3324 Radina
3325 \end_layout
3326
3327 \end_inset
3328 </cell>
3329 <cell alignment="center" valignment="top" topline="true" usebox="none">
3330 \begin_inset Text
3331
3332 \begin_layout Standard
3333 Claudio
3334 \end_layout
3335
3336 \end_inset
3337 </cell>
3338 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3339 \begin_inset Text
3340
3341 \begin_layout Standard
3342 111
3343 \end_layout
3344
3345 \end_inset
3346 </cell>
3347 </row>
3348 <row>
3349 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3350 \begin_inset Text
3351
3352 \begin_layout Standard
3353
3354 \series bold
3355 Stuffer
3356 \end_layout
3357
3358 \end_inset
3359 </cell>
3360 <cell alignment="center" valignment="top" topline="true" usebox="none">
3361 \begin_inset Text
3362
3363 \begin_layout Standard
3364 Oskar
3365 \end_layout
3366
3367 \end_inset
3368 </cell>
3369 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3370 \begin_inset Text
3371
3372 \begin_layout Standard
3373 111
3374 \end_layout
3375
3376 \end_inset
3377 </cell>
3378 </row>
3379 <row>
3380 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3381 \begin_inset Text
3382
3383 \begin_layout Standard
3384
3385 \series bold
3386 Tacchelli
3387 \end_layout
3388
3389 \end_inset
3390 </cell>
3391 <cell alignment="center" valignment="top" topline="true" usebox="none">
3392 \begin_inset Text
3393
3394 \begin_layout Standard
3395 Ugo
3396 \end_layout
3397
3398 \end_inset
3399 </cell>
3400 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3401 \begin_inset Text
3402
3403 \begin_layout Standard
3404 111
3405 \end_layout
3406
3407 \end_inset
3408 </cell>
3409 </row>
3410 <row>
3411 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3412 \begin_inset Text
3413
3414 \begin_layout Standard
3415
3416 \series bold
3417 Tezzele
3418 \end_layout
3419
3420 \end_inset
3421 </cell>
3422 <cell alignment="center" valignment="top" topline="true" usebox="none">
3423 \begin_inset Text
3424
3425 \begin_layout Standard
3426 Margit
3427 \end_layout
3428
3429 \end_inset
3430 </cell>
3431 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3432 \begin_inset Text
3433
3434 \begin_layout Standard
3435 111
3436 \end_layout
3437
3438 \end_inset
3439 </cell>
3440 </row>
3441 <row>
3442 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3443 \begin_inset Text
3444
3445 \begin_layout Standard
3446
3447 \series bold
3448 Unterkalmsteiner
3449 \end_layout
3450
3451 \end_inset
3452 </cell>
3453 <cell alignment="center" valignment="top" topline="true" usebox="none">
3454 \begin_inset Text
3455
3456 \begin_layout Standard
3457 Frieda
3458 \end_layout
3459
3460 \end_inset
3461 </cell>
3462 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3463 \begin_inset Text
3464
3465 \begin_layout Standard
3466 111
3467 \end_layout
3468
3469 \end_inset
3470 </cell>
3471 </row>
3472 <row>
3473 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3474 \begin_inset Text
3475
3476 \begin_layout Standard
3477
3478 \series bold
3479 Vieider
3480 \end_layout
3481
3482 \end_inset
3483 </cell>
3484 <cell alignment="center" valignment="top" topline="true" usebox="none">
3485 \begin_inset Text
3486
3487 \begin_layout Standard
3488 Hilde
3489 \end_layout
3490
3491 \end_inset
3492 </cell>
3493 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3494 \begin_inset Text
3495
3496 \begin_layout Standard
3497 111
3498 \end_layout
3499
3500 \end_inset
3501 </cell>
3502 </row>
3503 <row>
3504 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3505 \begin_inset Text
3506
3507 \begin_layout Standard
3508
3509 \series bold
3510 Vigna
3511 \end_layout
3512
3513 \end_inset
3514 </cell>
3515 <cell alignment="center" valignment="top" topline="true" usebox="none">
3516 \begin_inset Text
3517
3518 \begin_layout Standard
3519 Jürgen
3520 \end_layout
3521
3522 \end_inset
3523 </cell>
3524 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3525 \begin_inset Text
3526
3527 \begin_layout Standard
3528 111
3529 \end_layout
3530
3531 \end_inset
3532 </cell>
3533 </row>
3534 <row>
3535 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3536 \begin_inset Text
3537
3538 \begin_layout Standard
3539
3540 \series bold
3541 Weber
3542 \end_layout
3543
3544 \end_inset
3545 </cell>
3546 <cell alignment="center" valignment="top" topline="true" usebox="none">
3547 \begin_inset Text
3548
3549 \begin_layout Standard
3550 Maurizio
3551 \end_layout
3552
3553 \end_inset
3554 </cell>
3555 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3556 \begin_inset Text
3557
3558 \begin_layout Standard
3559 111
3560 \end_layout
3561
3562 \end_inset
3563 </cell>
3564 </row>
3565 <row bottomline="true">
3566 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3567 \begin_inset Text
3568
3569 \begin_layout Standard
3570
3571 \series bold
3572 Winkler
3573 \end_layout
3574
3575 \end_inset
3576 </cell>
3577 <cell alignment="center" valignment="top" topline="true" usebox="none">
3578 \begin_inset Text
3579
3580 \begin_layout Standard
3581 Franz
3582 \end_layout
3583
3584 \end_inset
3585 </cell>
3586 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3587 \begin_inset Text
3588
3589 \begin_layout Standard
3590 111
3591 \end_layout
3592
3593 \end_inset
3594 </cell>
3595 </row>
3596 <row bottomline="true">
3597 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3598 \begin_inset Text
3599
3600 \begin_layout Standard
3601  
3602 \end_layout
3603
3604 \end_inset
3605 </cell>
3606 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
3607 \begin_inset Text
3608
3609 \begin_layout Standard
3610
3611 \end_layout
3612
3613 \end_inset
3614 </cell>
3615 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3616 \begin_inset Text
3617
3618 \begin_layout Standard
3619
3620 \end_layout
3621
3622 \end_inset
3623 </cell>
3624 </row>
3625 <row>
3626 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3627 \begin_inset Text
3628
3629 \begin_layout Standard
3630
3631 \series bold
3632 Annovi
3633 \end_layout
3634
3635 \end_inset
3636 </cell>
3637 <cell alignment="center" valignment="top" topline="true" usebox="none">
3638 \begin_inset Text
3639
3640 \begin_layout Standard
3641 Silvia
3642 \end_layout
3643
3644 \end_inset
3645 </cell>
3646 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3647 \begin_inset Text
3648
3649 \begin_layout Standard
3650 555
3651 \end_layout
3652
3653 \end_inset
3654 </cell>
3655 </row>
3656 <row>
3657 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3658 \begin_inset Text
3659
3660 \begin_layout Standard
3661
3662 \series bold
3663 Bertoli
3664 \end_layout
3665
3666 \end_inset
3667 </cell>
3668 <cell alignment="center" valignment="top" topline="true" usebox="none">
3669 \begin_inset Text
3670
3671 \begin_layout Standard
3672 Stefano
3673 \end_layout
3674
3675 \end_inset
3676 </cell>
3677 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3678 \begin_inset Text
3679
3680 \begin_layout Standard
3681 555
3682 \end_layout
3683
3684 \end_inset
3685 </cell>
3686 </row>
3687 <row>
3688 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3689 \begin_inset Text
3690
3691 \begin_layout Standard
3692
3693 \series bold
3694 Bozzi
3695 \end_layout
3696
3697 \end_inset
3698 </cell>
3699 <cell alignment="center" valignment="top" topline="true" usebox="none">
3700 \begin_inset Text
3701
3702 \begin_layout Standard
3703 Walter
3704 \end_layout
3705
3706 \end_inset
3707 </cell>
3708 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3709 \begin_inset Text
3710
3711 \begin_layout Standard
3712 555
3713 \end_layout
3714
3715 \end_inset
3716 </cell>
3717 </row>
3718 <row>
3719 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3720 \begin_inset Text
3721
3722 \begin_layout Standard
3723
3724 \series bold
3725 Cachia
3726 \end_layout
3727
3728 \end_inset
3729 </cell>
3730 <cell alignment="center" valignment="top" topline="true" usebox="none">
3731 \begin_inset Text
3732
3733 \begin_layout Standard
3734 Maria
3735 \end_layout
3736
3737 \end_inset
3738 </cell>
3739 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3740 \begin_inset Text
3741
3742 \begin_layout Standard
3743 555
3744 \end_layout
3745
3746 \end_inset
3747 </cell>
3748 </row>
3749 <row>
3750 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3751 \begin_inset Text
3752
3753 \begin_layout Standard
3754
3755 \series bold
3756 Cachia
3757 \end_layout
3758
3759 \end_inset
3760 </cell>
3761 <cell alignment="center" valignment="top" topline="true" usebox="none">
3762 \begin_inset Text
3763
3764 \begin_layout Standard
3765 Maurizio
3766 \end_layout
3767
3768 \end_inset
3769 </cell>
3770 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3771 \begin_inset Text
3772
3773 \begin_layout Standard
3774 555
3775 \end_layout
3776
3777 \end_inset
3778 </cell>
3779 </row>
3780 <row>
3781 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3782 \begin_inset Text
3783
3784 \begin_layout Standard
3785
3786 \series bold
3787 Cinquemani
3788 \end_layout
3789
3790 \end_inset
3791 </cell>
3792 <cell alignment="center" valignment="top" topline="true" usebox="none">
3793 \begin_inset Text
3794
3795 \begin_layout Standard
3796 Giusi
3797 \end_layout
3798
3799 \end_inset
3800 </cell>
3801 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3802 \begin_inset Text
3803
3804 \begin_layout Standard
3805 555
3806 \end_layout
3807
3808 \end_inset
3809 </cell>
3810 </row>
3811 <row>
3812 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3813 \begin_inset Text
3814
3815 \begin_layout Standard
3816
3817 \series bold
3818 Colin
3819 \end_layout
3820
3821 \end_inset
3822 </cell>
3823 <cell alignment="center" valignment="top" topline="true" usebox="none">
3824 \begin_inset Text
3825
3826 \begin_layout Standard
3827 Bernard
3828 \end_layout
3829
3830 \end_inset
3831 </cell>
3832 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3833 \begin_inset Text
3834
3835 \begin_layout Standard
3836 555
3837 \end_layout
3838
3839 \end_inset
3840 </cell>
3841 </row>
3842 <row>
3843 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3844 \begin_inset Text
3845
3846 \begin_layout Standard
3847
3848 \series bold
3849 Concli
3850 \end_layout
3851
3852 \end_inset
3853 </cell>
3854 <cell alignment="center" valignment="top" topline="true" usebox="none">
3855 \begin_inset Text
3856
3857 \begin_layout Standard
3858 Gianfranco
3859 \end_layout
3860
3861 \end_inset
3862 </cell>
3863 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3864 \begin_inset Text
3865
3866 \begin_layout Standard
3867 555
3868 \end_layout
3869
3870 \end_inset
3871 </cell>
3872 </row>
3873 <row>
3874 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3875 \begin_inset Text
3876
3877 \begin_layout Standard
3878
3879 \series bold
3880 Dal Bosco
3881 \end_layout
3882
3883 \end_inset
3884 </cell>
3885 <cell alignment="center" valignment="top" topline="true" usebox="none">
3886 \begin_inset Text
3887
3888 \begin_layout Standard
3889 Carolina
3890 \end_layout
3891
3892 \end_inset
3893 </cell>
3894 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3895 \begin_inset Text
3896
3897 \begin_layout Standard
3898 555
3899 \end_layout
3900
3901 \end_inset
3902 </cell>
3903 </row>
3904 <row>
3905 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3906 \begin_inset Text
3907
3908 \begin_layout Standard
3909
3910 \series bold
3911 Dalpiaz
3912 \end_layout
3913
3914 \end_inset
3915 </cell>
3916 <cell alignment="center" valignment="top" topline="true" usebox="none">
3917 \begin_inset Text
3918
3919 \begin_layout Standard
3920 Annamaria
3921 \end_layout
3922
3923 \end_inset
3924 </cell>
3925 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3926 \begin_inset Text
3927
3928 \begin_layout Standard
3929 555
3930 \end_layout
3931
3932 \end_inset
3933 </cell>
3934 </row>
3935 <row>
3936 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3937 \begin_inset Text
3938
3939 \begin_layout Standard
3940
3941 \series bold
3942 Feliciello
3943 \end_layout
3944
3945 \end_inset
3946 </cell>
3947 <cell alignment="center" valignment="top" topline="true" usebox="none">
3948 \begin_inset Text
3949
3950 \begin_layout Standard
3951 Domenico
3952 \end_layout
3953
3954 \end_inset
3955 </cell>
3956 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3957 \begin_inset Text
3958
3959 \begin_layout Standard
3960 555
3961 \end_layout
3962
3963 \end_inset
3964 </cell>
3965 </row>
3966 <row>
3967 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3968 \begin_inset Text
3969
3970 \begin_layout Standard
3971
3972 \series bold
3973 Focarelli
3974 \end_layout
3975
3976 \end_inset
3977 </cell>
3978 <cell alignment="center" valignment="top" topline="true" usebox="none">
3979 \begin_inset Text
3980
3981 \begin_layout Standard
3982 Paola
3983 \end_layout
3984
3985 \end_inset
3986 </cell>
3987 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3988 \begin_inset Text
3989
3990 \begin_layout Standard
3991 555
3992 \end_layout
3993
3994 \end_inset
3995 </cell>
3996 </row>
3997 <row>
3998 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3999 \begin_inset Text
4000
4001 \begin_layout Standard
4002
4003 \series bold
4004 Galletti
4005 \end_layout
4006
4007 \end_inset
4008 </cell>
4009 <cell alignment="center" valignment="top" topline="true" usebox="none">
4010 \begin_inset Text
4011
4012 \begin_layout Standard
4013 Oreste
4014 \end_layout
4015
4016 \end_inset
4017 </cell>
4018 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4019 \begin_inset Text
4020
4021 \begin_layout Standard
4022 555
4023 \end_layout
4024
4025 \end_inset
4026 </cell>
4027 </row>
4028 <row>
4029 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4030 \begin_inset Text
4031
4032 \begin_layout Standard
4033
4034 \series bold
4035 Gasparini
4036 \end_layout
4037
4038 \end_inset
4039 </cell>
4040 <cell alignment="center" valignment="top" topline="true" usebox="none">
4041 \begin_inset Text
4042
4043 \begin_layout Standard
4044 Franca
4045 \end_layout
4046
4047 \end_inset
4048 </cell>
4049 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4050 \begin_inset Text
4051
4052 \begin_layout Standard
4053 555
4054 \end_layout
4055
4056 \end_inset
4057 </cell>
4058 </row>
4059 <row>
4060 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4061 \begin_inset Text
4062
4063 \begin_layout Standard
4064
4065 \series bold
4066 Rizzardi
4067 \end_layout
4068
4069 \end_inset
4070 </cell>
4071 <cell alignment="center" valignment="top" topline="true" usebox="none">
4072 \begin_inset Text
4073
4074 \begin_layout Standard
4075 Paola
4076 \end_layout
4077
4078 \end_inset
4079 </cell>
4080 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4081 \begin_inset Text
4082
4083 \begin_layout Standard
4084 555
4085 \end_layout
4086
4087 \end_inset
4088 </cell>
4089 </row>
4090 <row>
4091 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4092 \begin_inset Text
4093
4094 \begin_layout Standard
4095
4096 \series bold
4097 Lassini
4098 \end_layout
4099
4100 \end_inset
4101 </cell>
4102 <cell alignment="center" valignment="top" topline="true" usebox="none">
4103 \begin_inset Text
4104
4105 \begin_layout Standard
4106 Giancarlo
4107 \end_layout
4108
4109 \end_inset
4110 </cell>
4111 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4112 \begin_inset Text
4113
4114 \begin_layout Standard
4115 555
4116 \end_layout
4117
4118 \end_inset
4119 </cell>
4120 </row>
4121 <row>
4122 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4123 \begin_inset Text
4124
4125 \begin_layout Standard
4126
4127 \series bold
4128 Malfatti
4129 \end_layout
4130
4131 \end_inset
4132 </cell>
4133 <cell alignment="center" valignment="top" topline="true" usebox="none">
4134 \begin_inset Text
4135
4136 \begin_layout Standard
4137 Luciano
4138 \end_layout
4139
4140 \end_inset
4141 </cell>
4142 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4143 \begin_inset Text
4144
4145 \begin_layout Standard
4146 555
4147 \end_layout
4148
4149 \end_inset
4150 </cell>
4151 </row>
4152 <row>
4153 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4154 \begin_inset Text
4155
4156 \begin_layout Standard
4157
4158 \series bold
4159 Malfatti
4160 \end_layout
4161
4162 \end_inset
4163 </cell>
4164 <cell alignment="center" valignment="top" topline="true" usebox="none">
4165 \begin_inset Text
4166
4167 \begin_layout Standard
4168 Valeriano
4169 \end_layout
4170
4171 \end_inset
4172 </cell>
4173 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4174 \begin_inset Text
4175
4176 \begin_layout Standard
4177 555
4178 \end_layout
4179
4180 \end_inset
4181 </cell>
4182 </row>
4183 <row>
4184 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4185 \begin_inset Text
4186
4187 \begin_layout Standard
4188
4189 \series bold
4190 Meneguzzo
4191 \end_layout
4192
4193 \end_inset
4194 </cell>
4195 <cell alignment="center" valignment="top" topline="true" usebox="none">
4196 \begin_inset Text
4197
4198 \begin_layout Standard
4199 Roberto
4200 \end_layout
4201
4202 \end_inset
4203 </cell>
4204 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4205 \begin_inset Text
4206
4207 \begin_layout Standard
4208 555
4209 \end_layout
4210
4211 \end_inset
4212 </cell>
4213 </row>
4214 <row>
4215 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4216 \begin_inset Text
4217
4218 \begin_layout Standard
4219
4220 \series bold
4221 Mezzadra
4222 \end_layout
4223
4224 \end_inset
4225 </cell>
4226 <cell alignment="center" valignment="top" topline="true" usebox="none">
4227 \begin_inset Text
4228
4229 \begin_layout Standard
4230 Roberto
4231 \end_layout
4232
4233 \end_inset
4234 </cell>
4235 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4236 \begin_inset Text
4237
4238 \begin_layout Standard
4239 555
4240 \end_layout
4241
4242 \end_inset
4243 </cell>
4244 </row>
4245 <row>
4246 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4247 \begin_inset Text
4248
4249 \begin_layout Standard
4250
4251 \series bold
4252 Pirpamer
4253 \end_layout
4254
4255 \end_inset
4256 </cell>
4257 <cell alignment="center" valignment="top" topline="true" usebox="none">
4258 \begin_inset Text
4259
4260 \begin_layout Standard
4261 Erich
4262 \end_layout
4263
4264 \end_inset
4265 </cell>
4266 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4267 \begin_inset Text
4268
4269 \begin_layout Standard
4270 555
4271 \end_layout
4272
4273 \end_inset
4274 </cell>
4275 </row>
4276 <row>
4277 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4278 \begin_inset Text
4279
4280 \begin_layout Standard
4281
4282 \series bold
4283 Pochiesa
4284 \end_layout
4285
4286 \end_inset
4287 </cell>
4288 <cell alignment="center" valignment="top" topline="true" usebox="none">
4289 \begin_inset Text
4290
4291 \begin_layout Standard
4292 Paolo
4293 \end_layout
4294
4295 \end_inset
4296 </cell>
4297 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4298 \begin_inset Text
4299
4300 \begin_layout Standard
4301 555, 222
4302 \end_layout
4303
4304 \end_inset
4305 </cell>
4306 </row>
4307 <row>
4308 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4309 \begin_inset Text
4310
4311 \begin_layout Standard
4312
4313 \series bold
4314 Radina
4315 \end_layout
4316
4317 \end_inset
4318 </cell>
4319 <cell alignment="center" valignment="top" topline="true" usebox="none">
4320 \begin_inset Text
4321
4322 \begin_layout Standard
4323 Claudio
4324 \end_layout
4325
4326 \end_inset
4327 </cell>
4328 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4329 \begin_inset Text
4330
4331 \begin_layout Standard
4332 555
4333 \end_layout
4334
4335 \end_inset
4336 </cell>
4337 </row>
4338 <row>
4339 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4340 \begin_inset Text
4341
4342 \begin_layout Standard
4343
4344 \series bold
4345 Stuffer
4346 \end_layout
4347
4348 \end_inset
4349 </cell>
4350 <cell alignment="center" valignment="top" topline="true" usebox="none">
4351 \begin_inset Text
4352
4353 \begin_layout Standard
4354 Oskar
4355 \end_layout
4356
4357 \end_inset
4358 </cell>
4359 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4360 \begin_inset Text
4361
4362 \begin_layout Standard
4363 555
4364 \end_layout
4365
4366 \end_inset
4367 </cell>
4368 </row>
4369 <row>
4370 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4371 \begin_inset Text
4372
4373 \begin_layout Standard
4374
4375 \series bold
4376 Tacchelli
4377 \end_layout
4378
4379 \end_inset
4380 </cell>
4381 <cell alignment="center" valignment="top" topline="true" usebox="none">
4382 \begin_inset Text
4383
4384 \begin_layout Standard
4385 Ugo
4386 \end_layout
4387
4388 \end_inset
4389 </cell>
4390 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4391 \begin_inset Text
4392
4393 \begin_layout Standard
4394 555
4395 \end_layout
4396
4397 \end_inset
4398 </cell>
4399 </row>
4400 <row>
4401 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4402 \begin_inset Text
4403
4404 \begin_layout Standard
4405
4406 \series bold
4407 Tezzele
4408 \end_layout
4409
4410 \end_inset
4411 </cell>
4412 <cell alignment="center" valignment="top" topline="true" usebox="none">
4413 \begin_inset Text
4414
4415 \begin_layout Standard
4416 Margit
4417 \end_layout
4418
4419 \end_inset
4420 </cell>
4421 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4422 \begin_inset Text
4423
4424 \begin_layout Standard
4425 555
4426 \end_layout
4427
4428 \end_inset
4429 </cell>
4430 </row>
4431 <row>
4432 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4433 \begin_inset Text
4434
4435 \begin_layout Standard
4436
4437 \series bold
4438 Unterkalmsteiner
4439 \end_layout
4440
4441 \end_inset
4442 </cell>
4443 <cell alignment="center" valignment="top" topline="true" usebox="none">
4444 \begin_inset Text
4445
4446 \begin_layout Standard
4447 Frieda
4448 \end_layout
4449
4450 \end_inset
4451 </cell>
4452 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4453 \begin_inset Text
4454
4455 \begin_layout Standard
4456 555
4457 \end_layout
4458
4459 \end_inset
4460 </cell>
4461 </row>
4462 <row>
4463 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4464 \begin_inset Text
4465
4466 \begin_layout Standard
4467
4468 \series bold
4469 Vieider
4470 \end_layout
4471
4472 \end_inset
4473 </cell>
4474 <cell alignment="center" valignment="top" topline="true" usebox="none">
4475 \begin_inset Text
4476
4477 \begin_layout Standard
4478 Hilde
4479 \end_layout
4480
4481 \end_inset
4482 </cell>
4483 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4484 \begin_inset Text
4485
4486 \begin_layout Standard
4487 555
4488 \end_layout
4489
4490 \end_inset
4491 </cell>
4492 </row>
4493 <row>
4494 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4495 \begin_inset Text
4496
4497 \begin_layout Standard
4498
4499 \series bold
4500 Vigna
4501 \end_layout
4502
4503 \end_inset
4504 </cell>
4505 <cell alignment="center" valignment="top" topline="true" usebox="none">
4506 \begin_inset Text
4507
4508 \begin_layout Standard
4509 Jürgen
4510 \end_layout
4511
4512 \end_inset
4513 </cell>
4514 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4515 \begin_inset Text
4516
4517 \begin_layout Standard
4518 999
4519 \end_layout
4520
4521 \end_inset
4522 </cell>
4523 </row>
4524 <row>
4525 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4526 \begin_inset Text
4527
4528 \begin_layout Standard
4529
4530 \series bold
4531 Weber
4532 \end_layout
4533
4534 \end_inset
4535 </cell>
4536 <cell alignment="center" valignment="top" topline="true" usebox="none">
4537 \begin_inset Text
4538
4539 \begin_layout Standard
4540 Maurizio
4541 \end_layout
4542
4543 \end_inset
4544 </cell>
4545 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4546 \begin_inset Text
4547
4548 \begin_layout Standard
4549 555
4550 \end_layout
4551
4552 \end_inset
4553 </cell>
4554 </row>
4555 <row bottomline="true">
4556 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4557 \begin_inset Text
4558
4559 \begin_layout Standard
4560
4561 \series bold
4562 Winkler
4563 \end_layout
4564
4565 \end_inset
4566 </cell>
4567 <cell alignment="center" valignment="top" topline="true" usebox="none">
4568 \begin_inset Text
4569
4570 \begin_layout Standard
4571 Franz
4572 \end_layout
4573
4574 \end_inset
4575 </cell>
4576 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4577 \begin_inset Text
4578
4579 \begin_layout Standard
4580 555
4581 \end_layout
4582
4583 \end_inset
4584 </cell>
4585 </row>
4586 <row bottomline="true" endlastfoot="true">
4587 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
4588 \begin_inset Text
4589
4590 \begin_layout Standard
4591 end
4592 \end_layout
4593
4594 \end_inset
4595 </cell>
4596 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
4597 \begin_inset Text
4598
4599 \begin_layout Standard
4600
4601 \end_layout
4602
4603 \end_inset
4604 </cell>
4605 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4606 \begin_inset Text
4607
4608 \begin_layout Standard
4609
4610 \end_layout
4611
4612 \end_inset
4613 </cell>
4614 </row>
4615 </lyxtabular>
4616
4617 \end_inset
4618
4619
4620 \begin_inset ERT
4621 status collapsed
4622
4623 \begin_layout Standard
4624
4625
4626 \backslash
4627 addtocounter{table}{-1}
4628 \end_layout
4629
4630 \end_inset
4631
4632
4633 \begin_inset Note Note
4634 status collapsed
4635
4636 \begin_layout Standard
4637 See greyed-out note in section\InsetSpace ~
4638
4639 \begin_inset LatexCommand ref
4640 reference "sub:Longtable-Captions"
4641
4642 \end_inset
4643
4644  for an explanation of this command.
4645 \end_layout
4646
4647 \end_inset
4648
4649
4650 \end_layout
4651
4652 \begin_layout Subsection
4653 Footnotes in Longtables
4654 \begin_inset LatexCommand label
4655 name "sub:Footnotes-in-Longtables"
4656
4657 \end_inset
4658
4659
4660 \begin_inset LatexCommand index
4661 name "Longtables ! Footnotes"
4662
4663 \end_inset
4664
4665
4666 \end_layout
4667
4668 \begin_layout Standard
4669 Footnotes can be inserted to every longtable cell.
4670  They appear at the bottom of the page where the table cell with the footnote
4671  appears.
4672  Table\InsetSpace ~
4673
4674 \begin_inset LatexCommand ref
4675 reference "tab:DiffCaptions"
4676
4677 \end_inset
4678
4679  has for example a footnote.
4680 \end_layout
4681
4682 \begin_layout Subsection
4683 Longtable Captions
4684 \begin_inset LatexCommand index
4685 name "Longtables ! Captions"
4686
4687 \end_inset
4688
4689
4690 \begin_inset LatexCommand label
4691 name "sub:Longtable-Captions"
4692
4693 \end_inset
4694
4695
4696 \end_layout
4697
4698 \begin_layout Standard
4699 A longtable cannot be put into a table float because floats can only be
4700  on one page but the caption environment of floats can also be used for
4701  longtables.
4702 \end_layout
4703
4704 \begin_layout Standard
4705 As LyX does not yet fully support captions in longtables, a hack is needed
4706  to create them:
4707 \end_layout
4708
4709 \begin_layout Enumerate
4710 Create a longtable
4711 \family sans
4712 .
4713 \end_layout
4714
4715 \begin_layout Enumerate
4716 Mark the first row and disable its upper line.
4717 \end_layout
4718
4719 \begin_layout Enumerate
4720 Insert a caption via the menu 
4721 \family sans
4722 Insert\SpecialChar \menuseparator
4723 Caption
4724 \family default
4725  into the first table cell.
4726 \newline
4727 You can also add a short title for the caption.
4728 \end_layout
4729
4730 \begin_layout Enumerate
4731 Insert a 
4732 \begin_inset Quotes eld
4733 \end_inset
4734
4735
4736 \series bold
4737
4738 \backslash
4739
4740 \backslash
4741 %
4742 \series default
4743
4744 \begin_inset Quotes erd
4745 \end_inset
4746
4747  as ERT behind the caption.
4748 \end_layout
4749
4750 \begin_layout Standard
4751 A short title that will appear in the LOT instead of the full title.
4752  The 
4753 \series bold
4754
4755 \backslash
4756
4757 \backslash
4758 %
4759 \series default
4760  behind the caption omits the vertical lines between the following cells
4761  in the row.
4762  The first table row is now only a dummy row for the caption, the actual
4763  table starts with the second row.
4764 \end_layout
4765
4766 \begin_layout Standard
4767 Here is a short longtable to see how it works:
4768 \end_layout
4769
4770 \begin_layout Standard
4771 \begin_inset Tabular
4772 <lyxtabular version="3" rows="6" columns="5">
4773 <features islongtable="true">
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" width="0">
4778 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
4779 <row>
4780 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4781 \begin_inset Text
4782
4783 \begin_layout Standard
4784 \begin_inset Caption
4785
4786 \begin_layout Standard
4787 Longtable with caption
4788 \begin_inset OptArg
4789 status open
4790
4791 \begin_layout Standard
4792 Longtable
4793 \end_layout
4794
4795 \end_inset
4796
4797
4798 \end_layout
4799
4800 \end_inset
4801
4802
4803 \begin_inset ERT
4804 status collapsed
4805
4806 \begin_layout Standard
4807
4808
4809 \backslash
4810
4811 \backslash
4812 %
4813 \end_layout
4814
4815 \end_inset
4816
4817
4818 \end_layout
4819
4820 \end_inset
4821 </cell>
4822 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4823 \begin_inset Text
4824
4825 \begin_layout Standard
4826
4827 \end_layout
4828
4829 \end_inset
4830 </cell>
4831 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4832 \begin_inset Text
4833
4834 \begin_layout Standard
4835
4836 \end_layout
4837
4838 \end_inset
4839 </cell>
4840 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4841 \begin_inset Text
4842
4843 \begin_layout Standard
4844
4845 \end_layout
4846
4847 \end_inset
4848 </cell>
4849 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4850 \begin_inset Text
4851
4852 \begin_layout Standard
4853
4854 \end_layout
4855
4856 \end_inset
4857 </cell>
4858 </row>
4859 <row topline="true">
4860 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4861 \begin_inset Text
4862
4863 \begin_layout Standard
4864 1
4865 \end_layout
4866
4867 \end_inset
4868 </cell>
4869 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4870 \begin_inset Text
4871
4872 \begin_layout Standard
4873 2
4874 \end_layout
4875
4876 \end_inset
4877 </cell>
4878 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4879 \begin_inset Text
4880
4881 \begin_layout Standard
4882 3
4883 \end_layout
4884
4885 \end_inset
4886 </cell>
4887 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4888 \begin_inset Text
4889
4890 \begin_layout Standard
4891 4
4892 \end_layout
4893
4894 \end_inset
4895 </cell>
4896 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4897 \begin_inset Text
4898
4899 \begin_layout Standard
4900 5
4901 \end_layout
4902
4903 \end_inset
4904 </cell>
4905 </row>
4906 <row topline="true">
4907 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4908 \begin_inset Text
4909
4910 \begin_layout Standard
4911 asd
4912 \end_layout
4913
4914 \end_inset
4915 </cell>
4916 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4917 \begin_inset Text
4918
4919 \begin_layout Standard
4920 s
4921 \end_layout
4922
4923 \end_inset
4924 </cell>
4925 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4926 \begin_inset Text
4927
4928 \begin_layout Standard
4929 s
4930 \end_layout
4931
4932 \end_inset
4933 </cell>
4934 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4935 \begin_inset Text
4936
4937 \begin_layout Standard
4938 s
4939 \end_layout
4940
4941 \end_inset
4942 </cell>
4943 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4944 \begin_inset Text
4945
4946 \begin_layout Standard
4947 asd
4948 \end_layout
4949
4950 \end_inset
4951 </cell>
4952 </row>
4953 <row topline="true">
4954 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4955 \begin_inset Text
4956
4957 \begin_layout Standard
4958 asd
4959 \end_layout
4960
4961 \end_inset
4962 </cell>
4963 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4964 \begin_inset Text
4965
4966 \begin_layout Standard
4967 s
4968 \end_layout
4969
4970 \end_inset
4971 </cell>
4972 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4973 \begin_inset Text
4974
4975 \begin_layout Standard
4976 s
4977 \end_layout
4978
4979 \end_inset
4980 </cell>
4981 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4982 \begin_inset Text
4983
4984 \begin_layout Standard
4985 s
4986 \end_layout
4987
4988 \end_inset
4989 </cell>
4990 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4991 \begin_inset Text
4992
4993 \begin_layout Standard
4994 asd
4995 \end_layout
4996
4997 \end_inset
4998 </cell>
4999 </row>
5000 <row topline="true">
5001 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5002 \begin_inset Text
5003
5004 \begin_layout Standard
5005 asd
5006 \end_layout
5007
5008 \end_inset
5009 </cell>
5010 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5011 \begin_inset Text
5012
5013 \begin_layout Standard
5014 s
5015 \end_layout
5016
5017 \end_inset
5018 </cell>
5019 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5020 \begin_inset Text
5021
5022 \begin_layout Standard
5023 s
5024 \end_layout
5025
5026 \end_inset
5027 </cell>
5028 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5029 \begin_inset Text
5030
5031 \begin_layout Standard
5032 s
5033 \end_layout
5034
5035 \end_inset
5036 </cell>
5037 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5038 \begin_inset Text
5039
5040 \begin_layout Standard
5041 asd
5042 \end_layout
5043
5044 \end_inset
5045 </cell>
5046 </row>
5047 <row topline="true" bottomline="true">
5048 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5049 \begin_inset Text
5050
5051 \begin_layout Standard
5052 asd
5053 \end_layout
5054
5055 \end_inset
5056 </cell>
5057 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5058 \begin_inset Text
5059
5060 \begin_layout Standard
5061 asd
5062 \end_layout
5063
5064 \end_inset
5065 </cell>
5066 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5067 \begin_inset Text
5068
5069 \begin_layout Standard
5070 asd
5071 \end_layout
5072
5073 \end_inset
5074 </cell>
5075 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5076 \begin_inset Text
5077
5078 \begin_layout Standard
5079 asd
5080 \end_layout
5081
5082 \end_inset
5083 </cell>
5084 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5085 \begin_inset Text
5086
5087 \begin_layout Standard
5088 asd
5089 \end_layout
5090
5091 \end_inset
5092 </cell>
5093 </row>
5094 </lyxtabular>
5095
5096 \end_inset
5097
5098
5099 \end_layout
5100
5101 \begin_layout Standard
5102 \begin_inset VSpace medskip
5103 \end_inset
5104
5105
5106 \begin_inset Note Greyedout
5107 status open
5108
5109 \begin_layout Standard
5110
5111 \series bold
5112 Note:
5113 \series default
5114  The table number is increased for every longtable, also if you didn't set
5115  a caption for it.
5116  For this reason you could have the case that e.g.
5117  Table\InsetSpace ~
5118 2.4 follows on Table\InsetSpace ~
5119 2.1 in the list of tables if there are two longtables
5120  without captions.
5121  To avoid this you can add the following command in ERT behind every longtable
5122  without a caption:
5123 \end_layout
5124
5125 \begin_layout Standard
5126
5127 \series bold
5128
5129 \backslash
5130 addtocounter{table}{-1}
5131 \end_layout
5132
5133 \end_inset
5134
5135
5136 \end_layout
5137
5138 \begin_layout Standard
5139 \begin_inset Note Greyedout
5140 status open
5141
5142 \begin_layout Standard
5143
5144 \series bold
5145 Note:
5146 \series default
5147  If you are using the LaTeX-package 
5148 \series bold
5149 hyperref
5150 \series default
5151
5152 \begin_inset LatexCommand index
5153 name "LaTeX-packages ! hyperref"
5154
5155 \end_inset
5156
5157  to link cross-references, the link to a longtable caption will always point
5158  to the beginning of the document.
5159 \end_layout
5160
5161 \end_inset
5162
5163
5164 \end_layout
5165
5166 \begin_layout Subsubsection
5167 References to Longtables
5168 \begin_inset LatexCommand index
5169 name "Longtables ! References"
5170
5171 \end_inset
5172
5173
5174 \end_layout
5175
5176 \begin_layout Standard
5177 \begin_inset Tabular
5178 <lyxtabular version="3" rows="6" columns="5">
5179 <features islongtable="true">
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" width="0">
5184 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5185 <row>
5186 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5187 \begin_inset Text
5188
5189 \begin_layout Standard
5190 \begin_inset Caption
5191
5192 \begin_layout Standard
5193 Referenced longtable
5194 \begin_inset LatexCommand label
5195 name "tab:RefExample"
5196
5197 \end_inset
5198
5199
5200 \end_layout
5201
5202 \end_inset
5203
5204
5205 \begin_inset ERT
5206 status collapsed
5207
5208 \begin_layout Standard
5209
5210
5211 \backslash
5212
5213 \backslash
5214 %
5215 \end_layout
5216
5217 \end_inset
5218
5219
5220 \end_layout
5221
5222 \end_inset
5223 </cell>
5224 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5225 \begin_inset Text
5226
5227 \begin_layout Standard
5228
5229 \end_layout
5230
5231 \end_inset
5232 </cell>
5233 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5234 \begin_inset Text
5235
5236 \begin_layout Standard
5237
5238 \end_layout
5239
5240 \end_inset
5241 </cell>
5242 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5243 \begin_inset Text
5244
5245 \begin_layout Standard
5246
5247 \end_layout
5248
5249 \end_inset
5250 </cell>
5251 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5252 \begin_inset Text
5253
5254 \begin_layout Standard
5255
5256 \end_layout
5257
5258 \end_inset
5259 </cell>
5260 </row>
5261 <row topline="true">
5262 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5263 \begin_inset Text
5264
5265 \begin_layout Standard
5266 1
5267 \end_layout
5268
5269 \end_inset
5270 </cell>
5271 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5272 \begin_inset Text
5273
5274 \begin_layout Standard
5275 2
5276 \end_layout
5277
5278 \end_inset
5279 </cell>
5280 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5281 \begin_inset Text
5282
5283 \begin_layout Standard
5284 3
5285 \end_layout
5286
5287 \end_inset
5288 </cell>
5289 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5290 \begin_inset Text
5291
5292 \begin_layout Standard
5293 4
5294 \end_layout
5295
5296 \end_inset
5297 </cell>
5298 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5299 \begin_inset Text
5300
5301 \begin_layout Standard
5302 5
5303 \end_layout
5304
5305 \end_inset
5306 </cell>
5307 </row>
5308 <row topline="true">
5309 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5310 \begin_inset Text
5311
5312 \begin_layout Standard
5313 asd
5314 \end_layout
5315
5316 \end_inset
5317 </cell>
5318 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5319 \begin_inset Text
5320
5321 \begin_layout Standard
5322 s
5323 \end_layout
5324
5325 \end_inset
5326 </cell>
5327 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5328 \begin_inset Text
5329
5330 \begin_layout Standard
5331 s
5332 \end_layout
5333
5334 \end_inset
5335 </cell>
5336 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5337 \begin_inset Text
5338
5339 \begin_layout Standard
5340 s
5341 \end_layout
5342
5343 \end_inset
5344 </cell>
5345 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5346 \begin_inset Text
5347
5348 \begin_layout Standard
5349 asd
5350 \end_layout
5351
5352 \end_inset
5353 </cell>
5354 </row>
5355 <row topline="true">
5356 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5357 \begin_inset Text
5358
5359 \begin_layout Standard
5360 asd
5361 \end_layout
5362
5363 \end_inset
5364 </cell>
5365 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5366 \begin_inset Text
5367
5368 \begin_layout Standard
5369 s
5370 \end_layout
5371
5372 \end_inset
5373 </cell>
5374 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5375 \begin_inset Text
5376
5377 \begin_layout Standard
5378 s
5379 \end_layout
5380
5381 \end_inset
5382 </cell>
5383 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5384 \begin_inset Text
5385
5386 \begin_layout Standard
5387 s
5388 \end_layout
5389
5390 \end_inset
5391 </cell>
5392 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5393 \begin_inset Text
5394
5395 \begin_layout Standard
5396 asd
5397 \end_layout
5398
5399 \end_inset
5400 </cell>
5401 </row>
5402 <row topline="true">
5403 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5404 \begin_inset Text
5405
5406 \begin_layout Standard
5407 asd
5408 \end_layout
5409
5410 \end_inset
5411 </cell>
5412 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5413 \begin_inset Text
5414
5415 \begin_layout Standard
5416 s
5417 \end_layout
5418
5419 \end_inset
5420 </cell>
5421 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5422 \begin_inset Text
5423
5424 \begin_layout Standard
5425 s
5426 \end_layout
5427
5428 \end_inset
5429 </cell>
5430 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5431 \begin_inset Text
5432
5433 \begin_layout Standard
5434 s
5435 \end_layout
5436
5437 \end_inset
5438 </cell>
5439 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5440 \begin_inset Text
5441
5442 \begin_layout Standard
5443 asd
5444 \end_layout
5445
5446 \end_inset
5447 </cell>
5448 </row>
5449 <row topline="true" bottomline="true">
5450 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5451 \begin_inset Text
5452
5453 \begin_layout Standard
5454 asd
5455 \end_layout
5456
5457 \end_inset
5458 </cell>
5459 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5460 \begin_inset Text
5461
5462 \begin_layout Standard
5463 sad
5464 \end_layout
5465
5466 \end_inset
5467 </cell>
5468 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5469 \begin_inset Text
5470
5471 \begin_layout Standard
5472 asd
5473 \end_layout
5474
5475 \end_inset
5476 </cell>
5477 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5478 \begin_inset Text
5479
5480 \begin_layout Standard
5481 asd
5482 \end_layout
5483
5484 \end_inset
5485 </cell>
5486 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5487 \begin_inset Text
5488
5489 \begin_layout Standard
5490 asd
5491 \end_layout
5492
5493 \end_inset
5494 </cell>
5495 </row>
5496 </lyxtabular>
5497
5498 \end_inset
5499
5500
5501 \end_layout
5502
5503 \begin_layout Standard
5504 To reference a longtable, insert a label into the caption.
5505  Note that you have to add the label prefix 
5506 \begin_inset Quotes eld
5507 \end_inset
5508
5509
5510 \emph on
5511 tab:
5512 \emph default
5513
5514 \begin_inset Quotes eld
5515 \end_inset
5516
5517  manually in the label field.
5518 \end_layout
5519
5520 \begin_layout Standard
5521 This is a reference to Table\InsetSpace ~
5522
5523 \begin_inset LatexCommand ref
5524 reference "tab:RefExample"
5525
5526 \end_inset
5527
5528 .
5529 \end_layout
5530
5531 \begin_layout Standard
5532 The caption layout can be set together with all other caption of your document
5533  using the LaTeX-package 
5534 \series bold
5535 caption
5536 \series default
5537
5538 \begin_inset LatexCommand index
5539 name "LaTeX-packages ! caption"
5540
5541 \end_inset
5542
5543 , see section\InsetSpace ~
5544
5545 \begin_inset LatexCommand ref
5546 reference "sec:Caption-Formatting"
5547
5548 \end_inset
5549
5550 .
5551 \end_layout
5552
5553 \begin_layout Subsubsection
5554 Caption Width
5555 \begin_inset LatexCommand index
5556 name "Longtables ! Caption Width"
5557
5558 \end_inset
5559
5560
5561 \end_layout
5562
5563 \begin_layout Standard
5564 The maximal width of of caption lines is defined by the length 
5565 \series bold
5566
5567 \backslash
5568 LTcapwidth
5569 \series default
5570 .
5571  Its default value is 4\InsetSpace \thinspace{}
5572 in.
5573  To change it add the following command to your document preamble or as
5574  ERT into your document before the longtable that should be affected
5575 \end_layout
5576
5577 \begin_layout Standard
5578
5579 \series bold
5580
5581 \backslash
5582 setlength{
5583 \backslash
5584 LTcapwidth}{width}
5585 \end_layout
5586
5587 \begin_layout Standard
5588 where the width could have one of the units listed in appendix\InsetSpace ~
5589
5590 \begin_inset LatexCommand ref
5591 reference "cha:Units-available-in"
5592
5593 \end_inset
5594
5595 .
5596 \end_layout
5597
5598 \begin_layout Standard
5599 The following tables show the difference:
5600 \end_layout
5601
5602 \begin_layout Standard
5603 \begin_inset Tabular
5604 <lyxtabular version="3" rows="6" columns="5">
5605 <features islongtable="true">
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" width="0">
5610 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5611 <row>
5612 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5613 \begin_inset Text
5614
5615 \begin_layout Standard
5616 \begin_inset Caption
5617
5618 \begin_layout Standard
5619 long full title with default width long full title with default width long
5620  full title with default width
5621 \begin_inset OptArg
5622 status collapsed
5623
5624 \begin_layout Standard
5625 caption with default width
5626 \end_layout
5627
5628 \end_inset
5629
5630
5631 \end_layout
5632
5633 \end_inset
5634
5635
5636 \begin_inset ERT
5637 status collapsed
5638
5639 \begin_layout Standard
5640
5641
5642 \backslash
5643
5644 \backslash
5645 %
5646 \end_layout
5647
5648 \end_inset
5649
5650
5651 \end_layout
5652
5653 \end_inset
5654 </cell>
5655 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5656 \begin_inset Text
5657
5658 \begin_layout Standard
5659
5660 \end_layout
5661
5662 \end_inset
5663 </cell>
5664 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5665 \begin_inset Text
5666
5667 \begin_layout Standard
5668
5669 \end_layout
5670
5671 \end_inset
5672 </cell>
5673 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5674 \begin_inset Text
5675
5676 \begin_layout Standard
5677
5678 \end_layout
5679
5680 \end_inset
5681 </cell>
5682 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5683 \begin_inset Text
5684
5685 \begin_layout Standard
5686
5687 \end_layout
5688
5689 \end_inset
5690 </cell>
5691 </row>
5692 <row topline="true">
5693 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5694 \begin_inset Text
5695
5696 \begin_layout Standard
5697 1
5698 \end_layout
5699
5700 \end_inset
5701 </cell>
5702 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5703 \begin_inset Text
5704
5705 \begin_layout Standard
5706 2
5707 \end_layout
5708
5709 \end_inset
5710 </cell>
5711 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5712 \begin_inset Text
5713
5714 \begin_layout Standard
5715 3
5716 \end_layout
5717
5718 \end_inset
5719 </cell>
5720 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5721 \begin_inset Text
5722
5723 \begin_layout Standard
5724 4
5725 \end_layout
5726
5727 \end_inset
5728 </cell>
5729 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5730 \begin_inset Text
5731
5732 \begin_layout Standard
5733 5
5734 \end_layout
5735
5736 \end_inset
5737 </cell>
5738 </row>
5739 <row topline="true">
5740 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5741 \begin_inset Text
5742
5743 \begin_layout Standard
5744 asd
5745 \end_layout
5746
5747 \end_inset
5748 </cell>
5749 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5750 \begin_inset Text
5751
5752 \begin_layout Standard
5753 s
5754 \end_layout
5755
5756 \end_inset
5757 </cell>
5758 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5759 \begin_inset Text
5760
5761 \begin_layout Standard
5762 s
5763 \end_layout
5764
5765 \end_inset
5766 </cell>
5767 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5768 \begin_inset Text
5769
5770 \begin_layout Standard
5771 s
5772 \end_layout
5773
5774 \end_inset
5775 </cell>
5776 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5777 \begin_inset Text
5778
5779 \begin_layout Standard
5780 asd
5781 \end_layout
5782
5783 \end_inset
5784 </cell>
5785 </row>
5786 <row topline="true">
5787 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5788 \begin_inset Text
5789
5790 \begin_layout Standard
5791 asd
5792 \end_layout
5793
5794 \end_inset
5795 </cell>
5796 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5797 \begin_inset Text
5798
5799 \begin_layout Standard
5800 s
5801 \end_layout
5802
5803 \end_inset
5804 </cell>
5805 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5806 \begin_inset Text
5807
5808 \begin_layout Standard
5809 s
5810 \end_layout
5811
5812 \end_inset
5813 </cell>
5814 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5815 \begin_inset Text
5816
5817 \begin_layout Standard
5818 s
5819 \end_layout
5820
5821 \end_inset
5822 </cell>
5823 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5824 \begin_inset Text
5825
5826 \begin_layout Standard
5827 asd
5828 \end_layout
5829
5830 \end_inset
5831 </cell>
5832 </row>
5833 <row topline="true">
5834 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5835 \begin_inset Text
5836
5837 \begin_layout Standard
5838 asd
5839 \end_layout
5840
5841 \end_inset
5842 </cell>
5843 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5844 \begin_inset Text
5845
5846 \begin_layout Standard
5847 s
5848 \end_layout
5849
5850 \end_inset
5851 </cell>
5852 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5853 \begin_inset Text
5854
5855 \begin_layout Standard
5856 s
5857 \end_layout
5858
5859 \end_inset
5860 </cell>
5861 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5862 \begin_inset Text
5863
5864 \begin_layout Standard
5865 s
5866 \end_layout
5867
5868 \end_inset
5869 </cell>
5870 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5871 \begin_inset Text
5872
5873 \begin_layout Standard
5874 asd
5875 \end_layout
5876
5877 \end_inset
5878 </cell>
5879 </row>
5880 <row topline="true" bottomline="true">
5881 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5882 \begin_inset Text
5883
5884 \begin_layout Standard
5885 asd
5886 \end_layout
5887
5888 \end_inset
5889 </cell>
5890 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5891 \begin_inset Text
5892
5893 \begin_layout Standard
5894 sad
5895 \end_layout
5896
5897 \end_inset
5898 </cell>
5899 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5900 \begin_inset Text
5901
5902 \begin_layout Standard
5903 asd
5904 \end_layout
5905
5906 \end_inset
5907 </cell>
5908 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5909 \begin_inset Text
5910
5911 \begin_layout Standard
5912 asd
5913 \end_layout
5914
5915 \end_inset
5916 </cell>
5917 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5918 \begin_inset Text
5919
5920 \begin_layout Standard
5921 asd
5922 \end_layout
5923
5924 \end_inset
5925 </cell>
5926 </row>
5927 </lyxtabular>
5928
5929 \end_inset
5930
5931
5932 \end_layout
5933
5934 \begin_layout Standard
5935 \begin_inset ERT
5936 status open
5937
5938 \begin_layout Standard
5939
5940
5941 \backslash
5942 setlength{
5943 \backslash
5944 LTcapwidth}{5cm}
5945 \end_layout
5946
5947 \end_inset
5948
5949
5950 \begin_inset Tabular
5951 <lyxtabular version="3" rows="6" columns="5">
5952 <features islongtable="true">
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" width="0">
5957 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5958 <row>
5959 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5960 \begin_inset Text
5961
5962 \begin_layout Standard
5963 \begin_inset Caption
5964
5965 \begin_layout Standard
5966 long full title with width set to 5\InsetSpace \thinspace{}
5967 cm long full title with width set to
5968  5\InsetSpace \thinspace{}
5969 cm long full title with width set to 5\InsetSpace \thinspace{}
5970 cm
5971 \begin_inset OptArg
5972 status collapsed
5973
5974 \begin_layout Standard
5975 caption with width\InsetSpace \thinspace{}
5976 =\InsetSpace \thinspace{}
5977 5\InsetSpace \thinspace{}
5978 cm
5979 \end_layout
5980
5981 \end_inset
5982
5983
5984 \end_layout
5985
5986 \end_inset
5987
5988
5989 \begin_inset ERT
5990 status collapsed
5991
5992 \begin_layout Standard
5993
5994
5995 \backslash
5996
5997 \backslash
5998 %
5999 \end_layout
6000
6001 \end_inset
6002
6003
6004 \end_layout
6005
6006 \end_inset
6007 </cell>
6008 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6009 \begin_inset Text
6010
6011 \begin_layout Standard
6012
6013 \end_layout
6014
6015 \end_inset
6016 </cell>
6017 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6018 \begin_inset Text
6019
6020 \begin_layout Standard
6021
6022 \end_layout
6023
6024 \end_inset
6025 </cell>
6026 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6027 \begin_inset Text
6028
6029 \begin_layout Standard
6030
6031 \end_layout
6032
6033 \end_inset
6034 </cell>
6035 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6036 \begin_inset Text
6037
6038 \begin_layout Standard
6039
6040 \end_layout
6041
6042 \end_inset
6043 </cell>
6044 </row>
6045 <row topline="true">
6046 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6047 \begin_inset Text
6048
6049 \begin_layout Standard
6050 1
6051 \end_layout
6052
6053 \end_inset
6054 </cell>
6055 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6056 \begin_inset Text
6057
6058 \begin_layout Standard
6059 2
6060 \end_layout
6061
6062 \end_inset
6063 </cell>
6064 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6065 \begin_inset Text
6066
6067 \begin_layout Standard
6068 3
6069 \end_layout
6070
6071 \end_inset
6072 </cell>
6073 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6074 \begin_inset Text
6075
6076 \begin_layout Standard
6077 4
6078 \end_layout
6079
6080 \end_inset
6081 </cell>
6082 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6083 \begin_inset Text
6084
6085 \begin_layout Standard
6086 5
6087 \end_layout
6088
6089 \end_inset
6090 </cell>
6091 </row>
6092 <row topline="true">
6093 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6094 \begin_inset Text
6095
6096 \begin_layout Standard
6097 asd
6098 \end_layout
6099
6100 \end_inset
6101 </cell>
6102 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6103 \begin_inset Text
6104
6105 \begin_layout Standard
6106 s
6107 \end_layout
6108
6109 \end_inset
6110 </cell>
6111 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6112 \begin_inset Text
6113
6114 \begin_layout Standard
6115 s
6116 \end_layout
6117
6118 \end_inset
6119 </cell>
6120 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6121 \begin_inset Text
6122
6123 \begin_layout Standard
6124 s
6125 \end_layout
6126
6127 \end_inset
6128 </cell>
6129 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6130 \begin_inset Text
6131
6132 \begin_layout Standard
6133 asd
6134 \end_layout
6135
6136 \end_inset
6137 </cell>
6138 </row>
6139 <row topline="true">
6140 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6141 \begin_inset Text
6142
6143 \begin_layout Standard
6144 asd
6145 \end_layout
6146
6147 \end_inset
6148 </cell>
6149 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6150 \begin_inset Text
6151
6152 \begin_layout Standard
6153 s
6154 \end_layout
6155
6156 \end_inset
6157 </cell>
6158 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6159 \begin_inset Text
6160
6161 \begin_layout Standard
6162 s
6163 \end_layout
6164
6165 \end_inset
6166 </cell>
6167 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6168 \begin_inset Text
6169
6170 \begin_layout Standard
6171 s
6172 \end_layout
6173
6174 \end_inset
6175 </cell>
6176 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6177 \begin_inset Text
6178
6179 \begin_layout Standard
6180 asd
6181 \end_layout
6182
6183 \end_inset
6184 </cell>
6185 </row>
6186 <row topline="true">
6187 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6188 \begin_inset Text
6189
6190 \begin_layout Standard
6191 asd
6192 \end_layout
6193
6194 \end_inset
6195 </cell>
6196 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6197 \begin_inset Text
6198
6199 \begin_layout Standard
6200 s
6201 \end_layout
6202
6203 \end_inset
6204 </cell>
6205 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6206 \begin_inset Text
6207
6208 \begin_layout Standard
6209 s
6210 \end_layout
6211
6212 \end_inset
6213 </cell>
6214 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6215 \begin_inset Text
6216
6217 \begin_layout Standard
6218 s
6219 \end_layout
6220
6221 \end_inset
6222 </cell>
6223 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6224 \begin_inset Text
6225
6226 \begin_layout Standard
6227 asd
6228 \end_layout
6229
6230 \end_inset
6231 </cell>
6232 </row>
6233 <row topline="true" bottomline="true">
6234 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6235 \begin_inset Text
6236
6237 \begin_layout Standard
6238 asd
6239 \end_layout
6240
6241 \end_inset
6242 </cell>
6243 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6244 \begin_inset Text
6245
6246 \begin_layout Standard
6247 sad
6248 \end_layout
6249
6250 \end_inset
6251 </cell>
6252 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6253 \begin_inset Text
6254
6255 \begin_layout Standard
6256 asd
6257 \end_layout
6258
6259 \end_inset
6260 </cell>
6261 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6262 \begin_inset Text
6263
6264 \begin_layout Standard
6265 asd
6266 \end_layout
6267
6268 \end_inset
6269 </cell>
6270 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6271 \begin_inset Text
6272
6273 \begin_layout Standard
6274 asd
6275 \end_layout
6276
6277 \end_inset
6278 </cell>
6279 </row>
6280 </lyxtabular>
6281
6282 \end_inset
6283
6284
6285 \end_layout
6286
6287 \begin_layout Standard
6288 \begin_inset ERT
6289 status collapsed
6290
6291 \begin_layout Standard
6292
6293
6294 \backslash
6295 setlength{
6296 \backslash
6297 LTcapwidth}{4in}
6298 \end_layout
6299
6300 \end_inset
6301
6302
6303 \end_layout
6304
6305 \begin_layout Standard
6306 \begin_inset Note Greyedout
6307 status open
6308
6309 \begin_layout Standard
6310
6311 \series bold
6312 Note:
6313 \series default
6314  When the LaTeX-package 
6315 \series bold
6316 caption
6317 \series default
6318
6319 \begin_inset LatexCommand index
6320 name "LaTeX-packages ! caption"
6321
6322 \end_inset
6323
6324  is used, as in this document, the full page width is used for the caption
6325  when you use the default value of 4\InsetSpace \thinspace{}
6326 in for 
6327 \series bold
6328
6329 \backslash
6330 LTcapwidth
6331 \series default
6332 .
6333  To get in this case exactly a 4\InsetSpace \thinspace{}
6334 in wide caption, you can either use a value
6335  slightly different from 4.0\InsetSpace \thinspace{}
6336 in, e.g.
6337  3.99\InsetSpace \thinspace{}
6338 in, or the LaTeX-command 
6339 \series bold
6340
6341 \backslash
6342 captionsetup{width=value}
6343 \series default
6344  that is provided by the 
6345 \series bold
6346 caption
6347 \series default
6348 -package.
6349 \end_layout
6350
6351 \end_inset
6352
6353
6354 \end_layout
6355
6356 \begin_layout Subsubsection
6357 Different Captions for Table Pages
6358 \begin_inset LatexCommand index
6359 name "Longtables ! Different Captions for Pages"
6360
6361 \end_inset
6362
6363
6364 \end_layout
6365
6366 \begin_layout Standard
6367 When the other captions should differ from the one of the first table page,
6368  insert a caption with a non-empty short title in a dummy caption row marked
6369  as first header.
6370  The caption used for the other table pages is inserted as caption without
6371  a short title in a dummy caption row that is marked as main header.
6372  When this caption shouldn't include the table number, use the command
6373 \end_layout
6374
6375 \begin_layout Standard
6376
6377 \series bold
6378
6379 \backslash
6380 caption*{caption text}
6381 \end_layout
6382
6383 \begin_layout Standard
6384 instead of LyX's caption box.
6385  The label to reference the table is inserted into the caption of the first
6386  header.
6387  Table\InsetSpace ~
6388
6389 \begin_inset LatexCommand ref
6390 reference "tab:DiffCaptions"
6391
6392 \end_inset
6393
6394  is an example for a longtable with different heading where the second caption
6395  doesn't include the table number.
6396 \end_layout
6397
6398 \begin_layout Standard
6399 \align center
6400 \begin_inset Tabular
6401 <lyxtabular version="3" rows="60" columns="3">
6402 <features islongtable="true">
6403 <column alignment="left" valignment="top" leftline="true" width="0cm">
6404 <column alignment="left" valignment="top" rightline="true" width="0pt">
6405 <column alignment="right" valignment="top" rightline="true" width="0pt">
6406 <row endfirsthead="true">
6407 <cell alignment="right" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6408 \begin_inset Text
6409
6410 \begin_layout Standard
6411 \begin_inset Caption
6412
6413 \begin_layout Standard
6414 Example Phone List
6415 \begin_inset LatexCommand label
6416 name "tab:DiffCaptions"
6417
6418 \end_inset
6419
6420
6421 \begin_inset OptArg
6422 status collapsed
6423
6424 \begin_layout Standard
6425 Example Phone List
6426 \end_layout
6427
6428 \end_inset
6429
6430
6431 \end_layout
6432
6433 \end_inset
6434
6435
6436 \begin_inset ERT
6437 status collapsed
6438
6439 \begin_layout Standard
6440
6441
6442 \backslash
6443
6444 \backslash
6445 %
6446 \end_layout
6447
6448 \end_inset
6449
6450
6451 \end_layout
6452
6453 \end_inset
6454 </cell>
6455 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6456 \begin_inset Text
6457
6458 \begin_layout Standard
6459
6460 \end_layout
6461
6462 \end_inset
6463 </cell>
6464 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6465 \begin_inset Text
6466
6467 \begin_layout Standard
6468
6469 \end_layout
6470
6471 \end_inset
6472 </cell>
6473 </row>
6474 <row topline="true" bottomline="true" endfirsthead="true">
6475 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6476 \begin_inset Text
6477
6478 \begin_layout Standard
6479
6480 \series bold
6481 Example Phone List (ignore the names)
6482 \end_layout
6483
6484 \end_inset
6485 </cell>
6486 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6487 \begin_inset Text
6488
6489 \begin_layout Standard
6490
6491 \end_layout
6492
6493 \end_inset
6494 </cell>
6495 <cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6496 \begin_inset Text
6497
6498 \begin_layout Standard
6499
6500 \end_layout
6501
6502 \end_inset
6503 </cell>
6504 </row>
6505 <row topline="true" bottomline="true" endfirsthead="true">
6506 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
6507 \begin_inset Text
6508
6509 \begin_layout Standard
6510
6511 \series bold
6512 NAME
6513 \end_layout
6514
6515 \end_inset
6516 </cell>
6517 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6518 \begin_inset Text
6519
6520 \begin_layout Standard
6521
6522 \end_layout
6523
6524 \end_inset
6525 </cell>
6526 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6527 \begin_inset Text
6528
6529 \begin_layout Standard
6530
6531 \series bold
6532 TEL.
6533 \end_layout
6534
6535 \end_inset
6536 </cell>
6537 </row>
6538 <row bottomline="true" endhead="true">
6539 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6540 \begin_inset Text
6541
6542 \begin_layout Standard
6543 \begin_inset ERT
6544 status open
6545
6546 \begin_layout Standard
6547
6548
6549 \backslash
6550 caption*{Continued Example Phone List}
6551 \backslash
6552
6553 \backslash
6554 %
6555 \end_layout
6556
6557 \end_inset
6558
6559
6560 \end_layout
6561
6562 \end_inset
6563 </cell>
6564 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6565 \begin_inset Text
6566
6567 \begin_layout Standard
6568
6569 \end_layout
6570
6571 \end_inset
6572 </cell>
6573 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6574 \begin_inset Text
6575
6576 \begin_layout Standard
6577
6578 \end_layout
6579
6580 \end_inset
6581 </cell>
6582 </row>
6583 <row topline="true" bottomline="true" endhead="true">
6584 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6585 \begin_inset Text
6586
6587 \begin_layout Standard
6588
6589 \series bold
6590 Example Phone List
6591 \end_layout
6592
6593 \end_inset
6594 </cell>
6595 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6596 \begin_inset Text
6597
6598 \begin_layout Standard
6599
6600 \end_layout
6601
6602 \end_inset
6603 </cell>
6604 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6605 \begin_inset Text
6606
6607 \begin_layout Standard
6608
6609 \end_layout
6610
6611 \end_inset
6612 </cell>
6613 </row>
6614 <row topline="true" bottomline="true" endhead="true">
6615 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
6616 \begin_inset Text
6617
6618 \begin_layout Standard
6619
6620 \series bold
6621 NAME
6622 \end_layout
6623
6624 \end_inset
6625 </cell>
6626 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6627 \begin_inset Text
6628
6629 \begin_layout Standard
6630
6631 \end_layout
6632
6633 \end_inset
6634 </cell>
6635 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6636 \begin_inset Text
6637
6638 \begin_layout Standard
6639
6640 \series bold
6641 TEL.
6642 \end_layout
6643
6644 \end_inset
6645 </cell>
6646 </row>
6647 <row topline="true" bottomline="true" endfoot="true">
6648 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
6649 \begin_inset Text
6650
6651 \begin_layout Standard
6652 continued on next page
6653 \end_layout
6654
6655 \end_inset
6656 </cell>
6657 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6658 \begin_inset Text
6659
6660 \begin_layout Standard
6661
6662 \end_layout
6663
6664 \end_inset
6665 </cell>
6666 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6667 \begin_inset Text
6668
6669 \begin_layout Standard
6670
6671 \end_layout
6672
6673 \end_inset
6674 </cell>
6675 </row>
6676 <row>
6677 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6678 \begin_inset Text
6679
6680 \begin_layout Standard
6681
6682 \series bold
6683 Annovi
6684 \end_layout
6685
6686 \end_inset
6687 </cell>
6688 <cell alignment="center" valignment="top" topline="true" usebox="none">
6689 \begin_inset Text
6690
6691 \begin_layout Standard
6692 Silvia
6693 \end_layout
6694
6695 \end_inset
6696 </cell>
6697 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6698 \begin_inset Text
6699
6700 \begin_layout Standard
6701 111
6702 \end_layout
6703
6704 \end_inset
6705 </cell>
6706 </row>
6707 <row>
6708 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6709 \begin_inset Text
6710
6711 \begin_layout Standard
6712
6713 \series bold
6714 Bertoli
6715 \end_layout
6716
6717 \end_inset
6718 </cell>
6719 <cell alignment="center" valignment="top" topline="true" usebox="none">
6720 \begin_inset Text
6721
6722 \begin_layout Standard
6723 Stefano
6724 \end_layout
6725
6726 \end_inset
6727 </cell>
6728 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6729 \begin_inset Text
6730
6731 \begin_layout Standard
6732 111
6733 \end_layout
6734
6735 \end_inset
6736 </cell>
6737 </row>
6738 <row>
6739 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6740 \begin_inset Text
6741
6742 \begin_layout Standard
6743
6744 \series bold
6745 Bozzi
6746 \end_layout
6747
6748 \end_inset
6749 </cell>
6750 <cell alignment="center" valignment="top" topline="true" usebox="none">
6751 \begin_inset Text
6752
6753 \begin_layout Standard
6754 Walter
6755 \end_layout
6756
6757 \end_inset
6758 </cell>
6759 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6760 \begin_inset Text
6761
6762 \begin_layout Standard
6763 111
6764 \end_layout
6765
6766 \end_inset
6767 </cell>
6768 </row>
6769 <row>
6770 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6771 \begin_inset Text
6772
6773 \begin_layout Standard
6774
6775 \series bold
6776 Cachia
6777 \end_layout
6778
6779 \end_inset
6780 </cell>
6781 <cell alignment="center" valignment="top" topline="true" usebox="none">
6782 \begin_inset Text
6783
6784 \begin_layout Standard
6785 Maria
6786 \end_layout
6787
6788 \end_inset
6789 </cell>
6790 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6791 \begin_inset Text
6792
6793 \begin_layout Standard
6794 111
6795 \end_layout
6796
6797 \end_inset
6798 </cell>
6799 </row>
6800 <row>
6801 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6802 \begin_inset Text
6803
6804 \begin_layout Standard
6805
6806 \series bold
6807 Cachia
6808 \end_layout
6809
6810 \end_inset
6811 </cell>
6812 <cell alignment="center" valignment="top" topline="true" usebox="none">
6813 \begin_inset Text
6814
6815 \begin_layout Standard
6816 Maurizio
6817 \end_layout
6818
6819 \end_inset
6820 </cell>
6821 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6822 \begin_inset Text
6823
6824 \begin_layout Standard
6825 111
6826 \end_layout
6827
6828 \end_inset
6829 </cell>
6830 </row>
6831 <row>
6832 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6833 \begin_inset Text
6834
6835 \begin_layout Standard
6836
6837 \series bold
6838 Cinquemani
6839 \end_layout
6840
6841 \end_inset
6842 </cell>
6843 <cell alignment="center" valignment="top" topline="true" usebox="none">
6844 \begin_inset Text
6845
6846 \begin_layout Standard
6847 Giusi
6848 \end_layout
6849
6850 \end_inset
6851 </cell>
6852 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6853 \begin_inset Text
6854
6855 \begin_layout Standard
6856 111
6857 \end_layout
6858
6859 \end_inset
6860 </cell>
6861 </row>
6862 <row>
6863 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6864 \begin_inset Text
6865
6866 \begin_layout Standard
6867
6868 \series bold
6869 Colin
6870 \end_layout
6871
6872 \end_inset
6873 </cell>
6874 <cell alignment="center" valignment="top" topline="true" usebox="none">
6875 \begin_inset Text
6876
6877 \begin_layout Standard
6878 Bernard
6879 \end_layout
6880
6881 \end_inset
6882 </cell>
6883 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6884 \begin_inset Text
6885
6886 \begin_layout Standard
6887 111
6888 \end_layout
6889
6890 \end_inset
6891 </cell>
6892 </row>
6893 <row>
6894 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6895 \begin_inset Text
6896
6897 \begin_layout Standard
6898
6899 \series bold
6900 Concli
6901 \end_layout
6902
6903 \end_inset
6904 </cell>
6905 <cell alignment="center" valignment="top" topline="true" usebox="none">
6906 \begin_inset Text
6907
6908 \begin_layout Standard
6909 Gianfranco
6910 \end_layout
6911
6912 \end_inset
6913 </cell>
6914 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6915 \begin_inset Text
6916
6917 \begin_layout Standard
6918 111
6919 \end_layout
6920
6921 \end_inset
6922 </cell>
6923 </row>
6924 <row>
6925 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6926 \begin_inset Text
6927
6928 \begin_layout Standard
6929
6930 \series bold
6931 Dal Bosco
6932 \end_layout
6933
6934 \end_inset
6935 </cell>
6936 <cell alignment="center" valignment="top" topline="true" usebox="none">
6937 \begin_inset Text
6938
6939 \begin_layout Standard
6940 Carolina
6941 \end_layout
6942
6943 \end_inset
6944 </cell>
6945 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6946 \begin_inset Text
6947
6948 \begin_layout Standard
6949 111
6950 \end_layout
6951
6952 \end_inset
6953 </cell>
6954 </row>
6955 <row>
6956 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6957 \begin_inset Text
6958
6959 \begin_layout Standard
6960
6961 \series bold
6962 Dalpiaz
6963 \end_layout
6964
6965 \end_inset
6966 </cell>
6967 <cell alignment="center" valignment="top" topline="true" usebox="none">
6968 \begin_inset Text
6969
6970 \begin_layout Standard
6971 Annamaria
6972 \end_layout
6973
6974 \end_inset
6975 </cell>
6976 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6977 \begin_inset Text
6978
6979 \begin_layout Standard
6980 111
6981 \end_layout
6982
6983 \end_inset
6984 </cell>
6985 </row>
6986 <row>
6987 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6988 \begin_inset Text
6989
6990 \begin_layout Standard
6991
6992 \series bold
6993 Feliciello
6994 \end_layout
6995
6996 \end_inset
6997 </cell>
6998 <cell alignment="center" valignment="top" topline="true" usebox="none">
6999 \begin_inset Text
7000
7001 \begin_layout Standard
7002 Domenico
7003 \end_layout
7004
7005 \end_inset
7006 </cell>
7007 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7008 \begin_inset Text
7009
7010 \begin_layout Standard
7011 111
7012 \end_layout
7013
7014 \end_inset
7015 </cell>
7016 </row>
7017 <row>
7018 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7019 \begin_inset Text
7020
7021 \begin_layout Standard
7022
7023 \series bold
7024 Focarelli
7025 \end_layout
7026
7027 \end_inset
7028 </cell>
7029 <cell alignment="center" valignment="top" topline="true" usebox="none">
7030 \begin_inset Text
7031
7032 \begin_layout Standard
7033 Paola
7034 \end_layout
7035
7036 \end_inset
7037 </cell>
7038 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7039 \begin_inset Text
7040
7041 \begin_layout Standard
7042 111
7043 \end_layout
7044
7045 \end_inset
7046 </cell>
7047 </row>
7048 <row>
7049 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7050 \begin_inset Text
7051
7052 \begin_layout Standard
7053
7054 \series bold
7055 Galletti
7056 \end_layout
7057
7058 \end_inset
7059 </cell>
7060 <cell alignment="center" valignment="top" topline="true" usebox="none">
7061 \begin_inset Text
7062
7063 \begin_layout Standard
7064 Oreste
7065 \end_layout
7066
7067 \end_inset
7068 </cell>
7069 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7070 \begin_inset Text
7071
7072 \begin_layout Standard
7073 111
7074 \end_layout
7075
7076 \end_inset
7077 </cell>
7078 </row>
7079 <row>
7080 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7081 \begin_inset Text
7082
7083 \begin_layout Standard
7084
7085 \series bold
7086 Gasparini
7087 \end_layout
7088
7089 \end_inset
7090 </cell>
7091 <cell alignment="center" valignment="top" topline="true" usebox="none">
7092 \begin_inset Text
7093
7094 \begin_layout Standard
7095 Franca
7096 \end_layout
7097
7098 \end_inset
7099 </cell>
7100 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7101 \begin_inset Text
7102
7103 \begin_layout Standard
7104 111
7105 \end_layout
7106
7107 \end_inset
7108 </cell>
7109 </row>
7110 <row>
7111 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7112 \begin_inset Text
7113
7114 \begin_layout Standard
7115
7116 \series bold
7117 Rizzardi
7118 \series default
7119
7120 \begin_inset Foot
7121 status collapsed
7122
7123 \begin_layout Standard
7124 Example footnote
7125 \end_layout
7126
7127 \end_inset
7128
7129
7130 \end_layout
7131
7132 \end_inset
7133 </cell>
7134 <cell alignment="center" valignment="top" topline="true" usebox="none">
7135 \begin_inset Text
7136
7137 \begin_layout Standard
7138 Paola
7139 \end_layout
7140
7141 \end_inset
7142 </cell>
7143 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7144 \begin_inset Text
7145
7146 \begin_layout Standard
7147 111
7148 \end_layout
7149
7150 \end_inset
7151 </cell>
7152 </row>
7153 <row>
7154 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7155 \begin_inset Text
7156
7157 \begin_layout Standard
7158
7159 \series bold
7160 Lassini
7161 \end_layout
7162
7163 \end_inset
7164 </cell>
7165 <cell alignment="center" valignment="top" topline="true" usebox="none">
7166 \begin_inset Text
7167
7168 \begin_layout Standard
7169 Giancarlo
7170 \end_layout
7171
7172 \end_inset
7173 </cell>
7174 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7175 \begin_inset Text
7176
7177 \begin_layout Standard
7178 111
7179 \end_layout
7180
7181 \end_inset
7182 </cell>
7183 </row>
7184 <row>
7185 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7186 \begin_inset Text
7187
7188 \begin_layout Standard
7189
7190 \series bold
7191 Malfatti
7192 \end_layout
7193
7194 \end_inset
7195 </cell>
7196 <cell alignment="center" valignment="top" topline="true" usebox="none">
7197 \begin_inset Text
7198
7199 \begin_layout Standard
7200 Luciano
7201 \end_layout
7202
7203 \end_inset
7204 </cell>
7205 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7206 \begin_inset Text
7207
7208 \begin_layout Standard
7209 111
7210 \end_layout
7211
7212 \end_inset
7213 </cell>
7214 </row>
7215 <row>
7216 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7217 \begin_inset Text
7218
7219 \begin_layout Standard
7220
7221 \series bold
7222 Malfatti
7223 \end_layout
7224
7225 \end_inset
7226 </cell>
7227 <cell alignment="center" valignment="top" topline="true" usebox="none">
7228 \begin_inset Text
7229
7230 \begin_layout Standard
7231 Valeriano
7232 \end_layout
7233
7234 \end_inset
7235 </cell>
7236 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7237 \begin_inset Text
7238
7239 \begin_layout Standard
7240 111
7241 \end_layout
7242
7243 \end_inset
7244 </cell>
7245 </row>
7246 <row>
7247 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7248 \begin_inset Text
7249
7250 \begin_layout Standard
7251
7252 \series bold
7253 Meneguzzo
7254 \end_layout
7255
7256 \end_inset
7257 </cell>
7258 <cell alignment="center" valignment="top" topline="true" usebox="none">
7259 \begin_inset Text
7260
7261 \begin_layout Standard
7262 Roberto
7263 \end_layout
7264
7265 \end_inset
7266 </cell>
7267 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7268 \begin_inset Text
7269
7270 \begin_layout Standard
7271 111
7272 \end_layout
7273
7274 \end_inset
7275 </cell>
7276 </row>
7277 <row>
7278 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7279 \begin_inset Text
7280
7281 \begin_layout Standard
7282
7283 \series bold
7284 Mezzadra
7285 \end_layout
7286
7287 \end_inset
7288 </cell>
7289 <cell alignment="center" valignment="top" topline="true" usebox="none">
7290 \begin_inset Text
7291
7292 \begin_layout Standard
7293 Roberto
7294 \end_layout
7295
7296 \end_inset
7297 </cell>
7298 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7299 \begin_inset Text
7300
7301 \begin_layout Standard
7302 111
7303 \end_layout
7304
7305 \end_inset
7306 </cell>
7307 </row>
7308 <row>
7309 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7310 \begin_inset Text
7311
7312 \begin_layout Standard
7313
7314 \series bold
7315 Pirpamer
7316 \end_layout
7317
7318 \end_inset
7319 </cell>
7320 <cell alignment="center" valignment="top" topline="true" usebox="none">
7321 \begin_inset Text
7322
7323 \begin_layout Standard
7324 Erich
7325 \end_layout
7326
7327 \end_inset
7328 </cell>
7329 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7330 \begin_inset Text
7331
7332 \begin_layout Standard
7333 111
7334 \end_layout
7335
7336 \end_inset
7337 </cell>
7338 </row>
7339 <row>
7340 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7341 \begin_inset Text
7342
7343 \begin_layout Standard
7344
7345 \series bold
7346 Pochiesa
7347 \end_layout
7348
7349 \end_inset
7350 </cell>
7351 <cell alignment="center" valignment="top" topline="true" usebox="none">
7352 \begin_inset Text
7353
7354 \begin_layout Standard
7355 Paolo
7356 \end_layout
7357
7358 \end_inset
7359 </cell>
7360 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7361 \begin_inset Text
7362
7363 \begin_layout Standard
7364 111, 222
7365 \end_layout
7366
7367 \end_inset
7368 </cell>
7369 </row>
7370 <row>
7371 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7372 \begin_inset Text
7373
7374 \begin_layout Standard
7375
7376 \series bold
7377 Radina
7378 \end_layout
7379
7380 \end_inset
7381 </cell>
7382 <cell alignment="center" valignment="top" topline="true" usebox="none">
7383 \begin_inset Text
7384
7385 \begin_layout Standard
7386 Claudio
7387 \end_layout
7388
7389 \end_inset
7390 </cell>
7391 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7392 \begin_inset Text
7393
7394 \begin_layout Standard
7395 111
7396 \end_layout
7397
7398 \end_inset
7399 </cell>
7400 </row>
7401 <row>
7402 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7403 \begin_inset Text
7404
7405 \begin_layout Standard
7406
7407 \series bold
7408 Stuffer
7409 \end_layout
7410
7411 \end_inset
7412 </cell>
7413 <cell alignment="center" valignment="top" topline="true" usebox="none">
7414 \begin_inset Text
7415
7416 \begin_layout Standard
7417 Oskar
7418 \end_layout
7419
7420 \end_inset
7421 </cell>
7422 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7423 \begin_inset Text
7424
7425 \begin_layout Standard
7426 111
7427 \end_layout
7428
7429 \end_inset
7430 </cell>
7431 </row>
7432 <row>
7433 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7434 \begin_inset Text
7435
7436 \begin_layout Standard
7437
7438 \series bold
7439 Tacchelli
7440 \end_layout
7441
7442 \end_inset
7443 </cell>
7444 <cell alignment="center" valignment="top" topline="true" usebox="none">
7445 \begin_inset Text
7446
7447 \begin_layout Standard
7448 Ugo
7449 \end_layout
7450
7451 \end_inset
7452 </cell>
7453 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7454 \begin_inset Text
7455
7456 \begin_layout Standard
7457 111
7458 \end_layout
7459
7460 \end_inset
7461 </cell>
7462 </row>
7463 <row>
7464 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7465 \begin_inset Text
7466
7467 \begin_layout Standard
7468
7469 \series bold
7470 Tezzele
7471 \end_layout
7472
7473 \end_inset
7474 </cell>
7475 <cell alignment="center" valignment="top" topline="true" usebox="none">
7476 \begin_inset Text
7477
7478 \begin_layout Standard
7479 Margit
7480 \end_layout
7481
7482 \end_inset
7483 </cell>
7484 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7485 \begin_inset Text
7486
7487 \begin_layout Standard
7488 111
7489 \end_layout
7490
7491 \end_inset
7492 </cell>
7493 </row>
7494 <row>
7495 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7496 \begin_inset Text
7497
7498 \begin_layout Standard
7499
7500 \series bold
7501 Unterkalmsteiner
7502 \end_layout
7503
7504 \end_inset
7505 </cell>
7506 <cell alignment="center" valignment="top" topline="true" usebox="none">
7507 \begin_inset Text
7508
7509 \begin_layout Standard
7510 Frieda
7511 \end_layout
7512
7513 \end_inset
7514 </cell>
7515 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7516 \begin_inset Text
7517
7518 \begin_layout Standard
7519 111
7520 \end_layout
7521
7522 \end_inset
7523 </cell>
7524 </row>
7525 <row>
7526 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7527 \begin_inset Text
7528
7529 \begin_layout Standard
7530
7531 \series bold
7532 Vieider
7533 \end_layout
7534
7535 \end_inset
7536 </cell>
7537 <cell alignment="center" valignment="top" topline="true" usebox="none">
7538 \begin_inset Text
7539
7540 \begin_layout Standard
7541 Hilde
7542 \end_layout
7543
7544 \end_inset
7545 </cell>
7546 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7547 \begin_inset Text
7548
7549 \begin_layout Standard
7550 111
7551 \end_layout
7552
7553 \end_inset
7554 </cell>
7555 </row>
7556 <row>
7557 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7558 \begin_inset Text
7559
7560 \begin_layout Standard
7561
7562 \series bold
7563 Vigna
7564 \end_layout
7565
7566 \end_inset
7567 </cell>
7568 <cell alignment="center" valignment="top" topline="true" usebox="none">
7569 \begin_inset Text
7570
7571 \begin_layout Standard
7572 Jürgen
7573 \end_layout
7574
7575 \end_inset
7576 </cell>
7577 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7578 \begin_inset Text
7579
7580 \begin_layout Standard
7581 111
7582 \end_layout
7583
7584 \end_inset
7585 </cell>
7586 </row>
7587 <row>
7588 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7589 \begin_inset Text
7590
7591 \begin_layout Standard
7592
7593 \series bold
7594 Weber
7595 \end_layout
7596
7597 \end_inset
7598 </cell>
7599 <cell alignment="center" valignment="top" topline="true" usebox="none">
7600 \begin_inset Text
7601
7602 \begin_layout Standard
7603 Maurizio
7604 \end_layout
7605
7606 \end_inset
7607 </cell>
7608 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7609 \begin_inset Text
7610
7611 \begin_layout Standard
7612 111
7613 \end_layout
7614
7615 \end_inset
7616 </cell>
7617 </row>
7618 <row bottomline="true">
7619 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7620 \begin_inset Text
7621
7622 \begin_layout Standard
7623
7624 \series bold
7625 Winkler
7626 \end_layout
7627
7628 \end_inset
7629 </cell>
7630 <cell alignment="center" valignment="top" topline="true" usebox="none">
7631 \begin_inset Text
7632
7633 \begin_layout Standard
7634 Franz
7635 \end_layout
7636
7637 \end_inset
7638 </cell>
7639 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7640 \begin_inset Text
7641
7642 \begin_layout Standard
7643 111
7644 \end_layout
7645
7646 \end_inset
7647 </cell>
7648 </row>
7649 <row bottomline="true">
7650 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7651 \begin_inset Text
7652
7653 \begin_layout Standard
7654  
7655 \end_layout
7656
7657 \end_inset
7658 </cell>
7659 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
7660 \begin_inset Text
7661
7662 \begin_layout Standard
7663
7664 \end_layout
7665
7666 \end_inset
7667 </cell>
7668 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7669 \begin_inset Text
7670
7671 \begin_layout Standard
7672
7673 \end_layout
7674
7675 \end_inset
7676 </cell>
7677 </row>
7678 <row>
7679 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7680 \begin_inset Text
7681
7682 \begin_layout Standard
7683
7684 \series bold
7685 Annovi
7686 \end_layout
7687
7688 \end_inset
7689 </cell>
7690 <cell alignment="center" valignment="top" topline="true" usebox="none">
7691 \begin_inset Text
7692
7693 \begin_layout Standard
7694 Silvia
7695 \end_layout
7696
7697 \end_inset
7698 </cell>
7699 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7700 \begin_inset Text
7701
7702 \begin_layout Standard
7703 555
7704 \end_layout
7705
7706 \end_inset
7707 </cell>
7708 </row>
7709 <row>
7710 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7711 \begin_inset Text
7712
7713 \begin_layout Standard
7714
7715 \series bold
7716 Bertoli
7717 \end_layout
7718
7719 \end_inset
7720 </cell>
7721 <cell alignment="center" valignment="top" topline="true" usebox="none">
7722 \begin_inset Text
7723
7724 \begin_layout Standard
7725 Stefano
7726 \end_layout
7727
7728 \end_inset
7729 </cell>
7730 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7731 \begin_inset Text
7732
7733 \begin_layout Standard
7734 555
7735 \end_layout
7736
7737 \end_inset
7738 </cell>
7739 </row>
7740 <row>
7741 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7742 \begin_inset Text
7743
7744 \begin_layout Standard
7745
7746 \series bold
7747 Bozzi
7748 \end_layout
7749
7750 \end_inset
7751 </cell>
7752 <cell alignment="center" valignment="top" topline="true" usebox="none">
7753 \begin_inset Text
7754
7755 \begin_layout Standard
7756 Walter
7757 \end_layout
7758
7759 \end_inset
7760 </cell>
7761 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7762 \begin_inset Text
7763
7764 \begin_layout Standard
7765 555
7766 \end_layout
7767
7768 \end_inset
7769 </cell>
7770 </row>
7771 <row>
7772 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7773 \begin_inset Text
7774
7775 \begin_layout Standard
7776
7777 \series bold
7778 Cachia
7779 \end_layout
7780
7781 \end_inset
7782 </cell>
7783 <cell alignment="center" valignment="top" topline="true" usebox="none">
7784 \begin_inset Text
7785
7786 \begin_layout Standard
7787 Maria
7788 \end_layout
7789
7790 \end_inset
7791 </cell>
7792 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7793 \begin_inset Text
7794
7795 \begin_layout Standard
7796 555
7797 \end_layout
7798
7799 \end_inset
7800 </cell>
7801 </row>
7802 <row>
7803 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7804 \begin_inset Text
7805
7806 \begin_layout Standard
7807
7808 \series bold
7809 Cachia
7810 \end_layout
7811
7812 \end_inset
7813 </cell>
7814 <cell alignment="center" valignment="top" topline="true" usebox="none">
7815 \begin_inset Text
7816
7817 \begin_layout Standard
7818 Maurizio
7819 \end_layout
7820
7821 \end_inset
7822 </cell>
7823 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7824 \begin_inset Text
7825
7826 \begin_layout Standard
7827 555
7828 \end_layout
7829
7830 \end_inset
7831 </cell>
7832 </row>
7833 <row>
7834 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7835 \begin_inset Text
7836
7837 \begin_layout Standard
7838
7839 \series bold
7840 Cinquemani
7841 \end_layout
7842
7843 \end_inset
7844 </cell>
7845 <cell alignment="center" valignment="top" topline="true" usebox="none">
7846 \begin_inset Text
7847
7848 \begin_layout Standard
7849 Giusi
7850 \end_layout
7851
7852 \end_inset
7853 </cell>
7854 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7855 \begin_inset Text
7856
7857 \begin_layout Standard
7858 555
7859 \end_layout
7860
7861 \end_inset
7862 </cell>
7863 </row>
7864 <row>
7865 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7866 \begin_inset Text
7867
7868 \begin_layout Standard
7869
7870 \series bold
7871 Colin
7872 \end_layout
7873
7874 \end_inset
7875 </cell>
7876 <cell alignment="center" valignment="top" topline="true" usebox="none">
7877 \begin_inset Text
7878
7879 \begin_layout Standard
7880 Bernard
7881 \end_layout
7882
7883 \end_inset
7884 </cell>
7885 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7886 \begin_inset Text
7887
7888 \begin_layout Standard
7889 555
7890 \end_layout
7891
7892 \end_inset
7893 </cell>
7894 </row>
7895 <row>
7896 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7897 \begin_inset Text
7898
7899 \begin_layout Standard
7900
7901 \series bold
7902 Concli
7903 \end_layout
7904
7905 \end_inset
7906 </cell>
7907 <cell alignment="center" valignment="top" topline="true" usebox="none">
7908 \begin_inset Text
7909
7910 \begin_layout Standard
7911 Gianfranco
7912 \end_layout
7913
7914 \end_inset
7915 </cell>
7916 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7917 \begin_inset Text
7918
7919 \begin_layout Standard
7920 555
7921 \end_layout
7922
7923 \end_inset
7924 </cell>
7925 </row>
7926 <row>
7927 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7928 \begin_inset Text
7929
7930 \begin_layout Standard
7931
7932 \series bold
7933 Dal Bosco
7934 \end_layout
7935
7936 \end_inset
7937 </cell>
7938 <cell alignment="center" valignment="top" topline="true" usebox="none">
7939 \begin_inset Text
7940
7941 \begin_layout Standard
7942 Carolina
7943 \end_layout
7944
7945 \end_inset
7946 </cell>
7947 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7948 \begin_inset Text
7949
7950 \begin_layout Standard
7951 555
7952 \end_layout
7953
7954 \end_inset
7955 </cell>
7956 </row>
7957 <row>
7958 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7959 \begin_inset Text
7960
7961 \begin_layout Standard
7962
7963 \series bold
7964 Dalpiaz
7965 \end_layout
7966
7967 \end_inset
7968 </cell>
7969 <cell alignment="center" valignment="top" topline="true" usebox="none">
7970 \begin_inset Text
7971
7972 \begin_layout Standard
7973 Annamaria
7974 \end_layout
7975
7976 \end_inset
7977 </cell>
7978 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7979 \begin_inset Text
7980
7981 \begin_layout Standard
7982 555
7983 \end_layout
7984
7985 \end_inset
7986 </cell>
7987 </row>
7988 <row>
7989 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7990 \begin_inset Text
7991
7992 \begin_layout Standard
7993
7994 \series bold
7995 Feliciello
7996 \end_layout
7997
7998 \end_inset
7999 </cell>
8000 <cell alignment="center" valignment="top" topline="true" usebox="none">
8001 \begin_inset Text
8002
8003 \begin_layout Standard
8004 Domenico
8005 \end_layout
8006
8007 \end_inset
8008 </cell>
8009 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8010 \begin_inset Text
8011
8012 \begin_layout Standard
8013 555
8014 \end_layout
8015
8016 \end_inset
8017 </cell>
8018 </row>
8019 <row>
8020 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8021 \begin_inset Text
8022
8023 \begin_layout Standard
8024
8025 \series bold
8026 Focarelli
8027 \end_layout
8028
8029 \end_inset
8030 </cell>
8031 <cell alignment="center" valignment="top" topline="true" usebox="none">
8032 \begin_inset Text
8033
8034 \begin_layout Standard
8035 Paola
8036 \end_layout
8037
8038 \end_inset
8039 </cell>
8040 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8041 \begin_inset Text
8042
8043 \begin_layout Standard
8044 555
8045 \end_layout
8046
8047 \end_inset
8048 </cell>
8049 </row>
8050 <row>
8051 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8052 \begin_inset Text
8053
8054 \begin_layout Standard
8055
8056 \series bold
8057 Galletti
8058 \end_layout
8059
8060 \end_inset
8061 </cell>
8062 <cell alignment="center" valignment="top" topline="true" usebox="none">
8063 \begin_inset Text
8064
8065 \begin_layout Standard
8066 Oreste
8067 \end_layout
8068
8069 \end_inset
8070 </cell>
8071 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8072 \begin_inset Text
8073
8074 \begin_layout Standard
8075 555
8076 \end_layout
8077
8078 \end_inset
8079 </cell>
8080 </row>
8081 <row>
8082 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8083 \begin_inset Text
8084
8085 \begin_layout Standard
8086
8087 \series bold
8088 Gasparini
8089 \end_layout
8090
8091 \end_inset
8092 </cell>
8093 <cell alignment="center" valignment="top" topline="true" usebox="none">
8094 \begin_inset Text
8095
8096 \begin_layout Standard
8097 Franca
8098 \end_layout
8099
8100 \end_inset
8101 </cell>
8102 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8103 \begin_inset Text
8104
8105 \begin_layout Standard
8106 555
8107 \end_layout
8108
8109 \end_inset
8110 </cell>
8111 </row>
8112 <row>
8113 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8114 \begin_inset Text
8115
8116 \begin_layout Standard
8117
8118 \series bold
8119 Rizzardi
8120 \end_layout
8121
8122 \end_inset
8123 </cell>
8124 <cell alignment="center" valignment="top" topline="true" usebox="none">
8125 \begin_inset Text
8126
8127 \begin_layout Standard
8128 Paola
8129 \end_layout
8130
8131 \end_inset
8132 </cell>
8133 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8134 \begin_inset Text
8135
8136 \begin_layout Standard
8137 555
8138 \end_layout
8139
8140 \end_inset
8141 </cell>
8142 </row>
8143 <row>
8144 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8145 \begin_inset Text
8146
8147 \begin_layout Standard
8148
8149 \series bold
8150 Lassini
8151 \end_layout
8152
8153 \end_inset
8154 </cell>
8155 <cell alignment="center" valignment="top" topline="true" usebox="none">
8156 \begin_inset Text
8157
8158 \begin_layout Standard
8159 Giancarlo
8160 \end_layout
8161
8162 \end_inset
8163 </cell>
8164 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8165 \begin_inset Text
8166
8167 \begin_layout Standard
8168 555
8169 \end_layout
8170
8171 \end_inset
8172 </cell>
8173 </row>
8174 <row>
8175 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8176 \begin_inset Text
8177
8178 \begin_layout Standard
8179
8180 \series bold
8181 Malfatti
8182 \end_layout
8183
8184 \end_inset
8185 </cell>
8186 <cell alignment="center" valignment="top" topline="true" usebox="none">
8187 \begin_inset Text
8188
8189 \begin_layout Standard
8190 Luciano
8191 \end_layout
8192
8193 \end_inset
8194 </cell>
8195 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8196 \begin_inset Text
8197
8198 \begin_layout Standard
8199 555
8200 \end_layout
8201
8202 \end_inset
8203 </cell>
8204 </row>
8205 <row>
8206 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8207 \begin_inset Text
8208
8209 \begin_layout Standard
8210
8211 \series bold
8212 Malfatti
8213 \end_layout
8214
8215 \end_inset
8216 </cell>
8217 <cell alignment="center" valignment="top" topline="true" usebox="none">
8218 \begin_inset Text
8219
8220 \begin_layout Standard
8221 Valeriano
8222 \end_layout
8223
8224 \end_inset
8225 </cell>
8226 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8227 \begin_inset Text
8228
8229 \begin_layout Standard
8230 555
8231 \end_layout
8232
8233 \end_inset
8234 </cell>
8235 </row>
8236 <row>
8237 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8238 \begin_inset Text
8239
8240 \begin_layout Standard
8241
8242 \series bold
8243 Meneguzzo
8244 \end_layout
8245
8246 \end_inset
8247 </cell>
8248 <cell alignment="center" valignment="top" topline="true" usebox="none">
8249 \begin_inset Text
8250
8251 \begin_layout Standard
8252 Roberto
8253 \end_layout
8254
8255 \end_inset
8256 </cell>
8257 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8258 \begin_inset Text
8259
8260 \begin_layout Standard
8261 555
8262 \end_layout
8263
8264 \end_inset
8265 </cell>
8266 </row>
8267 <row bottomline="true">
8268 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8269 \begin_inset Text
8270
8271 \begin_layout Standard
8272
8273 \series bold
8274 Mezzadra
8275 \end_layout
8276
8277 \end_inset
8278 </cell>
8279 <cell alignment="center" valignment="top" topline="true" usebox="none">
8280 \begin_inset Text
8281
8282 \begin_layout Standard
8283 Roberto
8284 \end_layout
8285
8286 \end_inset
8287 </cell>
8288 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8289 \begin_inset Text
8290
8291 \begin_layout Standard
8292 555
8293 \end_layout
8294
8295 \end_inset
8296 </cell>
8297 </row>
8298 <row bottomline="true" endlastfoot="true">
8299 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
8300 \begin_inset Text
8301
8302 \begin_layout Standard
8303
8304 \end_layout
8305
8306 \end_inset
8307 </cell>
8308 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8309 \begin_inset Text
8310
8311 \begin_layout Standard
8312
8313 \end_layout
8314
8315 \end_inset
8316 </cell>
8317 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8318 \begin_inset Text
8319
8320 \begin_layout Standard
8321
8322 \end_layout
8323
8324 \end_inset
8325 </cell>
8326 </row>
8327 </lyxtabular>
8328
8329 \end_inset
8330
8331
8332 \end_layout
8333
8334 \begin_layout Section
8335 Special Longtable Issues
8336 \begin_inset LatexCommand label
8337 name "sec:Special-Longtable-Issues"
8338
8339 \end_inset
8340
8341
8342 \end_layout
8343
8344 \begin_layout Subsection
8345 Longtable Calculation
8346 \begin_inset LatexCommand index
8347 name "Longtables ! Calculation"
8348
8349 \end_inset
8350
8351
8352 \end_layout
8353
8354 \begin_layout Standard
8355 LaTeX calculates the height of table pages and their page breaks using so
8356  called chunks.
8357  Chunks are pieces of the tables that are at once in LaTeX's memory.
8358  The default value is historically set to only 20 table rows.
8359  If you are using longtables with many pages this may slow down the creation
8360  of your document.
8361  You can safely increase the chunk size to values of 100-1000 by adding
8362  this command line to your document preamble:
8363 \end_layout
8364
8365 \begin_layout Standard
8366
8367 \series bold
8368
8369 \backslash
8370 setcounter{LTchunksize}{100}
8371 \end_layout
8372
8373 \begin_layout Subsection
8374 Floats and Longtables
8375 \begin_inset LatexCommand index
8376 name "Longtables ! Floats"
8377
8378 \end_inset
8379
8380
8381 \end_layout
8382
8383 \begin_layout Standard
8384 There might be problems when a float appears on the same page where a longtable
8385  starts.
8386  To avoid such situation, add the command 
8387 \series bold
8388
8389 \backslash
8390 clearpage
8391 \series default
8392  as ERT before your longtable.
8393 \end_layout
8394
8395 \begin_layout Subsection
8396 Forced Page Breaks
8397 \begin_inset LatexCommand index
8398 name "Longtables ! Forced Page Breaks"
8399
8400 \end_inset
8401
8402
8403 \end_layout
8404
8405 \begin_layout Standard
8406 By default tables are only broken between rows.
8407  If you have a cell with multiples lines and want to have a page break within
8408  the cell, insert the new line command 
8409 \begin_inset Quotes eld
8410 \end_inset
8411
8412
8413 \series bold
8414
8415 \backslash
8416
8417 \backslash
8418
8419 \series default
8420
8421 \begin_inset Quotes erd
8422 \end_inset
8423
8424  as ERT at this point of the cell where it should be broken.
8425  Before the 
8426 \series bold
8427
8428 \backslash
8429
8430 \backslash
8431
8432 \series default
8433  command you have to insert in ERT so many 
8434 \begin_inset Quotes eld
8435 \end_inset
8436
8437
8438 \series bold
8439 &
8440 \series default
8441
8442 \begin_inset Quotes erd
8443 \end_inset
8444
8445  characters like the number of the following table columns.
8446  The 
8447 \series bold
8448 &
8449 \series default
8450  is the character to separate table cells.
8451  Write in ERT after each 
8452 \series bold
8453 &
8454 \series default
8455  the content of the corresponding following cell and delete the content
8456  of these cells.
8457 \newline
8458 Behind the the 
8459 \series bold
8460
8461 \backslash
8462
8463 \backslash
8464
8465 \series default
8466  command, insert so many 
8467 \series bold
8468 &
8469 \series default
8470  characters like the number of table columns before the current column.
8471  In Table\InsetSpace ~
8472
8473 \begin_inset LatexCommand ref
8474 reference "tab:ForcedPagebreak"
8475
8476 \end_inset
8477
8478  the cell that should be broken is in the second column followed by another
8479  column.
8480  Therefore the following command was inserted in the cell as ERT behind
8481  
8482 \begin_inset Quotes eld
8483 \end_inset
8484
8485
8486 \emph on
8487 Castelchiodato,
8488 \emph default
8489
8490 \begin_inset Quotes erd
8491 \end_inset
8492
8493 :
8494 \end_layout
8495
8496 \begin_layout Standard
8497
8498 \series bold
8499 & 111
8500 \backslash
8501
8502 \backslash
8503
8504 \newline
8505 &
8506 \end_layout
8507
8508 \begin_layout Standard
8509 The 
8510 \begin_inset Quotes eld
8511 \end_inset
8512
8513 111
8514 \begin_inset Quotes erd
8515 \end_inset
8516
8517  in the third columns of the row was deleted.
8518  If your footer row of the longtable has for a certain reason no upper line
8519  but you would have a horizontal line where the cell is broken, use this
8520  command instead:
8521 \end_layout
8522
8523 \begin_layout Standard
8524
8525 \series bold
8526 & 111
8527 \backslash
8528
8529 \backslash
8530
8531 \newline
8532
8533 \backslash
8534 hline &
8535 \end_layout
8536
8537 \begin_layout Standard
8538 When the cell to be broken is in the last column, the command
8539 \end_layout
8540
8541 \begin_layout Standard
8542
8543 \series bold
8544
8545 \backslash
8546 setlength{
8547 \backslash
8548 parf\SpecialChar \textcompwordmark{}
8549 illskip}{0pt}
8550 \end_layout
8551
8552 \begin_layout Standard
8553 must be inserted as ERT at the beginning of the cell.
8554  This assures that the part of the cell that will be displayed on the new
8555  page appears with the full width.
8556 \end_layout
8557
8558 \begin_layout Standard
8559 \align center
8560 \begin_inset Tabular
8561 <lyxtabular version="3" rows="39" columns="3">
8562 <features islongtable="true">
8563 <column alignment="left" valignment="top" leftline="true" width="0cm">
8564 <column alignment="left" valignment="top" rightline="true" width="3cm">
8565 <column alignment="right" valignment="top" rightline="true" width="0pt">
8566 <row endfirsthead="true">
8567 <cell alignment="right" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8568 \begin_inset Text
8569
8570 \begin_layout Standard
8571 \begin_inset Caption
8572
8573 \begin_layout Standard
8574 Table with forced page break in table cell
8575 \begin_inset LatexCommand label
8576 name "tab:ForcedPagebreak"
8577
8578 \end_inset
8579
8580
8581 \begin_inset OptArg
8582 status collapsed
8583
8584 \begin_layout Standard
8585 Table with forced page break in table cell
8586 \end_layout
8587
8588 \end_inset
8589
8590
8591 \end_layout
8592
8593 \end_inset
8594
8595
8596 \begin_inset ERT
8597 status collapsed
8598
8599 \begin_layout Standard
8600
8601
8602 \backslash
8603
8604 \backslash
8605 %
8606 \end_layout
8607
8608 \end_inset
8609
8610
8611 \end_layout
8612
8613 \end_inset
8614 </cell>
8615 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8616 \begin_inset Text
8617
8618 \begin_layout Standard
8619
8620 \end_layout
8621
8622 \end_inset
8623 </cell>
8624 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8625 \begin_inset Text
8626
8627 \begin_layout Standard
8628
8629 \end_layout
8630
8631 \end_inset
8632 </cell>
8633 </row>
8634 <row topline="true" bottomline="true" endfirsthead="true">
8635 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8636 \begin_inset Text
8637
8638 \begin_layout Standard
8639
8640 \series bold
8641 Example Phone List (ignore the names)
8642 \end_layout
8643
8644 \end_inset
8645 </cell>
8646 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8647 \begin_inset Text
8648
8649 \begin_layout Standard
8650
8651 \end_layout
8652
8653 \end_inset
8654 </cell>
8655 <cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8656 \begin_inset Text
8657
8658 \begin_layout Standard
8659
8660 \end_layout
8661
8662 \end_inset
8663 </cell>
8664 </row>
8665 <row topline="true" bottomline="true" endfirsthead="true">
8666 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8667 \begin_inset Text
8668
8669 \begin_layout Standard
8670
8671 \series bold
8672 NAME
8673 \end_layout
8674
8675 \end_inset
8676 </cell>
8677 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8678 \begin_inset Text
8679
8680 \begin_layout Standard
8681
8682 \end_layout
8683
8684 \end_inset
8685 </cell>
8686 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8687 \begin_inset Text
8688
8689 \begin_layout Standard
8690
8691 \series bold
8692 TEL.
8693 \end_layout
8694
8695 \end_inset
8696 </cell>
8697 </row>
8698 <row bottomline="true" endhead="true">
8699 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8700 \begin_inset Text
8701
8702 \begin_layout Standard
8703 \begin_inset ERT
8704 status collapsed
8705
8706 \begin_layout Standard
8707
8708
8709 \backslash
8710 caption*{Continued table with forced page break in table cell}
8711 \backslash
8712
8713 \backslash
8714 %
8715 \end_layout
8716
8717 \end_inset
8718
8719
8720 \end_layout
8721
8722 \end_inset
8723 </cell>
8724 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8725 \begin_inset Text
8726
8727 \begin_layout Standard
8728
8729 \end_layout
8730
8731 \end_inset
8732 </cell>
8733 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8734 \begin_inset Text
8735
8736 \begin_layout Standard
8737
8738 \end_layout
8739
8740 \end_inset
8741 </cell>
8742 </row>
8743 <row topline="true" bottomline="true" endhead="true">
8744 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8745 \begin_inset Text
8746
8747 \begin_layout Standard
8748  
8749 \series bold
8750 Example Phone List
8751 \end_layout
8752
8753 \end_inset
8754 </cell>
8755 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8756 \begin_inset Text
8757
8758 \begin_layout Standard
8759
8760 \end_layout
8761
8762 \end_inset
8763 </cell>
8764 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8765 \begin_inset Text
8766
8767 \begin_layout Standard
8768
8769 \end_layout
8770
8771 \end_inset
8772 </cell>
8773 </row>
8774 <row topline="true" bottomline="true" endhead="true">
8775 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8776 \begin_inset Text
8777
8778 \begin_layout Standard
8779
8780 \series bold
8781 NAME
8782 \end_layout
8783
8784 \end_inset
8785 </cell>
8786 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8787 \begin_inset Text
8788
8789 \begin_layout Standard
8790
8791 \end_layout
8792
8793 \end_inset
8794 </cell>
8795 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8796 \begin_inset Text
8797
8798 \begin_layout Standard
8799
8800 \series bold
8801 TEL.
8802 \end_layout
8803
8804 \end_inset
8805 </cell>
8806 </row>
8807 <row topline="true" bottomline="true" endfoot="true">
8808 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
8809 \begin_inset Text
8810
8811 \begin_layout Standard
8812 continued on next page
8813 \end_layout
8814
8815 \end_inset
8816 </cell>
8817 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8818 \begin_inset Text
8819
8820 \begin_layout Standard
8821
8822 \end_layout
8823
8824 \end_inset
8825 </cell>
8826 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8827 \begin_inset Text
8828
8829 \begin_layout Standard
8830
8831 \end_layout
8832
8833 \end_inset
8834 </cell>
8835 </row>
8836 <row>
8837 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8838 \begin_inset Text
8839
8840 \begin_layout Standard
8841
8842 \series bold
8843 Annovi
8844 \end_layout
8845
8846 \end_inset
8847 </cell>
8848 <cell alignment="center" valignment="top" topline="true" usebox="none">
8849 \begin_inset Text
8850
8851 \begin_layout Standard
8852 Silvia
8853 \end_layout
8854
8855 \end_inset
8856 </cell>
8857 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8858 \begin_inset Text
8859
8860 \begin_layout Standard
8861 111
8862 \end_layout
8863
8864 \end_inset
8865 </cell>
8866 </row>
8867 <row>
8868 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8869 \begin_inset Text
8870
8871 \begin_layout Standard
8872
8873 \series bold
8874 Bertoli
8875 \end_layout
8876
8877 \end_inset
8878 </cell>
8879 <cell alignment="center" valignment="top" topline="true" usebox="none">
8880 \begin_inset Text
8881
8882 \begin_layout Standard
8883 Stefano
8884 \end_layout
8885
8886 \end_inset
8887 </cell>
8888 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8889 \begin_inset Text
8890
8891 \begin_layout Standard
8892 111
8893 \end_layout
8894
8895 \end_inset
8896 </cell>
8897 </row>
8898 <row>
8899 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8900 \begin_inset Text
8901
8902 \begin_layout Standard
8903
8904 \series bold
8905 Bozzi
8906 \end_layout
8907
8908 \end_inset
8909 </cell>
8910 <cell alignment="center" valignment="top" topline="true" usebox="none">
8911 \begin_inset Text
8912
8913 \begin_layout Standard
8914 Walter
8915 \end_layout
8916
8917 \end_inset
8918 </cell>
8919 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8920 \begin_inset Text
8921
8922 \begin_layout Standard
8923 111
8924 \end_layout
8925
8926 \end_inset
8927 </cell>
8928 </row>
8929 <row>
8930 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8931 \begin_inset Text
8932
8933 \begin_layout Standard
8934
8935 \series bold
8936 Cachia
8937 \end_layout
8938
8939 \end_inset
8940 </cell>
8941 <cell alignment="center" valignment="top" topline="true" usebox="none">
8942 \begin_inset Text
8943
8944 \begin_layout Standard
8945 Maria
8946 \end_layout
8947
8948 \end_inset
8949 </cell>
8950 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8951 \begin_inset Text
8952
8953 \begin_layout Standard
8954 111
8955 \end_layout
8956
8957 \end_inset
8958 </cell>
8959 </row>
8960 <row>
8961 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8962 \begin_inset Text
8963
8964 \begin_layout Standard
8965
8966 \series bold
8967 Cachia
8968 \end_layout
8969
8970 \end_inset
8971 </cell>
8972 <cell alignment="center" valignment="top" topline="true" usebox="none">
8973 \begin_inset Text
8974
8975 \begin_layout Standard
8976 Maurizio
8977 \end_layout
8978
8979 \end_inset
8980 </cell>
8981 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8982 \begin_inset Text
8983
8984 \begin_layout Standard
8985 111
8986 \end_layout
8987
8988 \end_inset
8989 </cell>
8990 </row>
8991 <row>
8992 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8993 \begin_inset Text
8994
8995 \begin_layout Standard
8996
8997 \series bold
8998 Cinquemani
8999 \end_layout
9000
9001 \end_inset
9002 </cell>
9003 <cell alignment="center" valignment="top" topline="true" usebox="none">
9004 \begin_inset Text
9005
9006 \begin_layout Standard
9007 Giusi
9008 \end_layout
9009
9010 \end_inset
9011 </cell>
9012 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9013 \begin_inset Text
9014
9015 \begin_layout Standard
9016 111
9017 \end_layout
9018
9019 \end_inset
9020 </cell>
9021 </row>
9022 <row>
9023 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9024 \begin_inset Text
9025
9026 \begin_layout Standard
9027
9028 \series bold
9029 Colin
9030 \end_layout
9031
9032 \end_inset
9033 </cell>
9034 <cell alignment="center" valignment="top" topline="true" usebox="none">
9035 \begin_inset Text
9036
9037 \begin_layout Standard
9038 Bernard
9039 \end_layout
9040
9041 \end_inset
9042 </cell>
9043 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9044 \begin_inset Text
9045
9046 \begin_layout Standard
9047 111
9048 \end_layout
9049
9050 \end_inset
9051 </cell>
9052 </row>
9053 <row>
9054 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9055 \begin_inset Text
9056
9057 \begin_layout Standard
9058
9059 \series bold
9060 Concli
9061 \end_layout
9062
9063 \end_inset
9064 </cell>
9065 <cell alignment="center" valignment="top" topline="true" usebox="none">
9066 \begin_inset Text
9067
9068 \begin_layout Standard
9069 Gianfranco
9070 \end_layout
9071
9072 \end_inset
9073 </cell>
9074 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9075 \begin_inset Text
9076
9077 \begin_layout Standard
9078 111
9079 \end_layout
9080
9081 \end_inset
9082 </cell>
9083 </row>
9084 <row>
9085 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9086 \begin_inset Text
9087
9088 \begin_layout Standard
9089
9090 \series bold
9091 Dal Bosco
9092 \end_layout
9093
9094 \end_inset
9095 </cell>
9096 <cell alignment="center" valignment="top" topline="true" usebox="none">
9097 \begin_inset Text
9098
9099 \begin_layout Standard
9100 Carolina
9101 \end_layout
9102
9103 \end_inset
9104 </cell>
9105 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9106 \begin_inset Text
9107
9108 \begin_layout Standard
9109 111
9110 \end_layout
9111
9112 \end_inset
9113 </cell>
9114 </row>
9115 <row>
9116 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9117 \begin_inset Text
9118
9119 \begin_layout Standard
9120
9121 \series bold
9122 Dalpiaz
9123 \end_layout
9124
9125 \end_inset
9126 </cell>
9127 <cell alignment="center" valignment="top" topline="true" usebox="none">
9128 \begin_inset Text
9129
9130 \begin_layout Standard
9131 Annamaria
9132 \end_layout
9133
9134 \end_inset
9135 </cell>
9136 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9137 \begin_inset Text
9138
9139 \begin_layout Standard
9140 111
9141 \end_layout
9142
9143 \end_inset
9144 </cell>
9145 </row>
9146 <row>
9147 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9148 \begin_inset Text
9149
9150 \begin_layout Standard
9151
9152 \series bold
9153 Feliciello
9154 \end_layout
9155
9156 \end_inset
9157 </cell>
9158 <cell alignment="center" valignment="top" topline="true" usebox="none">
9159 \begin_inset Text
9160
9161 \begin_layout Standard
9162 Domenico
9163 \end_layout
9164
9165 \end_inset
9166 </cell>
9167 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9168 \begin_inset Text
9169
9170 \begin_layout Standard
9171 111
9172 \end_layout
9173
9174 \end_inset
9175 </cell>
9176 </row>
9177 <row>
9178 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9179 \begin_inset Text
9180
9181 \begin_layout Standard
9182
9183 \series bold
9184 Focarelli
9185 \end_layout
9186
9187 \end_inset
9188 </cell>
9189 <cell alignment="center" valignment="top" topline="true" usebox="none">
9190 \begin_inset Text
9191
9192 \begin_layout Standard
9193 Paola
9194 \end_layout
9195
9196 \end_inset
9197 </cell>
9198 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9199 \begin_inset Text
9200
9201 \begin_layout Standard
9202 111
9203 \end_layout
9204
9205 \end_inset
9206 </cell>
9207 </row>
9208 <row>
9209 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9210 \begin_inset Text
9211
9212 \begin_layout Standard
9213
9214 \series bold
9215 Galletti
9216 \end_layout
9217
9218 \end_inset
9219 </cell>
9220 <cell alignment="center" valignment="top" topline="true" usebox="none">
9221 \begin_inset Text
9222
9223 \begin_layout Standard
9224 Oreste
9225 \end_layout
9226
9227 \end_inset
9228 </cell>
9229 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9230 \begin_inset Text
9231
9232 \begin_layout Standard
9233 111
9234 \end_layout
9235
9236 \end_inset
9237 </cell>
9238 </row>
9239 <row>
9240 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9241 \begin_inset Text
9242
9243 \begin_layout Standard
9244
9245 \series bold
9246 Gasparini
9247 \end_layout
9248
9249 \end_inset
9250 </cell>
9251 <cell alignment="center" valignment="top" topline="true" usebox="none">
9252 \begin_inset Text
9253
9254 \begin_layout Standard
9255 Franca
9256 \end_layout
9257
9258 \end_inset
9259 </cell>
9260 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9261 \begin_inset Text
9262
9263 \begin_layout Standard
9264 111
9265 \end_layout
9266
9267 \end_inset
9268 </cell>
9269 </row>
9270 <row>
9271 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9272 \begin_inset Text
9273
9274 \begin_layout Standard
9275
9276 \series bold
9277 Lassini
9278 \end_layout
9279
9280 \end_inset
9281 </cell>
9282 <cell alignment="center" valignment="top" topline="true" usebox="none">
9283 \begin_inset Text
9284
9285 \begin_layout Standard
9286 Giancarlo
9287 \end_layout
9288
9289 \end_inset
9290 </cell>
9291 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9292 \begin_inset Text
9293
9294 \begin_layout Standard
9295 111
9296 \end_layout
9297
9298 \end_inset
9299 </cell>
9300 </row>
9301 <row>
9302 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9303 \begin_inset Text
9304
9305 \begin_layout Standard
9306
9307 \series bold
9308 Malfatti
9309 \end_layout
9310
9311 \end_inset
9312 </cell>
9313 <cell alignment="center" valignment="top" topline="true" usebox="none">
9314 \begin_inset Text
9315
9316 \begin_layout Standard
9317 Luciano
9318 \end_layout
9319
9320 \end_inset
9321 </cell>
9322 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9323 \begin_inset Text
9324
9325 \begin_layout Standard
9326 111
9327 \end_layout
9328
9329 \end_inset
9330 </cell>
9331 </row>
9332 <row>
9333 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9334 \begin_inset Text
9335
9336 \begin_layout Standard
9337
9338 \series bold
9339 Malfatti
9340 \end_layout
9341
9342 \end_inset
9343 </cell>
9344 <cell alignment="center" valignment="top" topline="true" usebox="none">
9345 \begin_inset Text
9346
9347 \begin_layout Standard
9348 Valeriano
9349 \end_layout
9350
9351 \end_inset
9352 </cell>
9353 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9354 \begin_inset Text
9355
9356 \begin_layout Standard
9357 111
9358 \end_layout
9359
9360 \end_inset
9361 </cell>
9362 </row>
9363 <row>
9364 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9365 \begin_inset Text
9366
9367 \begin_layout Standard
9368
9369 \series bold
9370 Meneguzzo
9371 \end_layout
9372
9373 \end_inset
9374 </cell>
9375 <cell alignment="center" valignment="top" topline="true" usebox="none">
9376 \begin_inset Text
9377
9378 \begin_layout Standard
9379 Roberto
9380 \end_layout
9381
9382 \end_inset
9383 </cell>
9384 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9385 \begin_inset Text
9386
9387 \begin_layout Standard
9388 111
9389 \end_layout
9390
9391 \end_inset
9392 </cell>
9393 </row>
9394 <row>
9395 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9396 \begin_inset Text
9397
9398 \begin_layout Standard
9399
9400 \series bold
9401 Mezzadra
9402 \end_layout
9403
9404 \end_inset
9405 </cell>
9406 <cell alignment="center" valignment="top" topline="true" usebox="none">
9407 \begin_inset Text
9408
9409 \begin_layout Standard
9410 Roberto
9411 \end_layout
9412
9413 \end_inset
9414 </cell>
9415 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9416 \begin_inset Text
9417
9418 \begin_layout Standard
9419 111
9420 \end_layout
9421
9422 \end_inset
9423 </cell>
9424 </row>
9425 <row>
9426 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9427 \begin_inset Text
9428
9429 \begin_layout Standard
9430
9431 \series bold
9432 Pirpamer
9433 \end_layout
9434
9435 \end_inset
9436 </cell>
9437 <cell alignment="center" valignment="top" topline="true" usebox="none">
9438 \begin_inset Text
9439
9440 \begin_layout Standard
9441 Erich
9442 \end_layout
9443
9444 \end_inset
9445 </cell>
9446 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9447 \begin_inset Text
9448
9449 \begin_layout Standard
9450 111
9451 \end_layout
9452
9453 \end_inset
9454 </cell>
9455 </row>
9456 <row>
9457 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9458 \begin_inset Text
9459
9460 \begin_layout Standard
9461
9462 \series bold
9463 Pochiesa
9464 \end_layout
9465
9466 \end_inset
9467 </cell>
9468 <cell alignment="center" valignment="top" topline="true" usebox="none">
9469 \begin_inset Text
9470
9471 \begin_layout Standard
9472 Paolo
9473 \end_layout
9474
9475 \end_inset
9476 </cell>
9477 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9478 \begin_inset Text
9479
9480 \begin_layout Standard
9481 111, 222
9482 \end_layout
9483
9484 \end_inset
9485 </cell>
9486 </row>
9487 <row>
9488 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9489 \begin_inset Text
9490
9491 \begin_layout Standard
9492
9493 \series bold
9494 Radina
9495 \end_layout
9496
9497 \end_inset
9498 </cell>
9499 <cell alignment="center" valignment="top" topline="true" usebox="none">
9500 \begin_inset Text
9501
9502 \begin_layout Standard
9503 Claudio
9504 \end_layout
9505
9506 \end_inset
9507 </cell>
9508 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9509 \begin_inset Text
9510
9511 \begin_layout Standard
9512 111
9513 \end_layout
9514
9515 \end_inset
9516 </cell>
9517 </row>
9518 <row>
9519 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9520 \begin_inset Text
9521
9522 \begin_layout Standard
9523
9524 \series bold
9525 Rizzardi
9526 \end_layout
9527
9528 \end_inset
9529 </cell>
9530 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9531 \begin_inset Text
9532
9533 \begin_layout Standard
9534 Paolo, 11.
9535  Fürst von Montecompatri, 11.
9536  Fürst von Sulmona und Vivaro, 10.
9537  Fürst von Rossano, 5.
9538  Herzog von Canemorte, 11.
9539  Herzog von Palombara, 5.
9540  Herzog von Castelchiodato,
9541 \begin_inset ERT
9542 status collapsed
9543
9544 \begin_layout Standard
9545
9546 & 111
9547 \backslash
9548
9549 \backslash
9550
9551 \end_layout
9552
9553 \begin_layout Standard
9554
9555 &
9556 \end_layout
9557
9558 \end_inset
9559
9560  11.
9561  Herzog von Poggionativo, 11.
9562  Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
9563  Graf von Valinfreda, 11.
9564  Baron von Cropalati, 11.
9565  Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
9566 \end_layout
9567
9568 \end_inset
9569 </cell>
9570 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9571 \begin_inset Text
9572
9573 \begin_layout Standard
9574
9575 \end_layout
9576
9577 \end_inset
9578 </cell>
9579 </row>
9580 <row>
9581 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9582 \begin_inset Text
9583
9584 \begin_layout Standard
9585
9586 \series bold
9587 Stuffer
9588 \end_layout
9589
9590 \end_inset
9591 </cell>
9592 <cell alignment="center" valignment="top" topline="true" usebox="none">
9593 \begin_inset Text
9594
9595 \begin_layout Standard
9596 Oskar
9597 \end_layout
9598
9599 \end_inset
9600 </cell>
9601 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9602 \begin_inset Text
9603
9604 \begin_layout Standard
9605 111
9606 \end_layout
9607
9608 \end_inset
9609 </cell>
9610 </row>
9611 <row>
9612 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9613 \begin_inset Text
9614
9615 \begin_layout Standard
9616
9617 \series bold
9618 Tacchelli
9619 \end_layout
9620
9621 \end_inset
9622 </cell>
9623 <cell alignment="center" valignment="top" topline="true" usebox="none">
9624 \begin_inset Text
9625
9626 \begin_layout Standard
9627 Ugo
9628 \end_layout
9629
9630 \end_inset
9631 </cell>
9632 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9633 \begin_inset Text
9634
9635 \begin_layout Standard
9636 111
9637 \end_layout
9638
9639 \end_inset
9640 </cell>
9641 </row>
9642 <row>
9643 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9644 \begin_inset Text
9645
9646 \begin_layout Standard
9647
9648 \series bold
9649 Tezzele
9650 \end_layout
9651
9652 \end_inset
9653 </cell>
9654 <cell alignment="center" valignment="top" topline="true" usebox="none">
9655 \begin_inset Text
9656
9657 \begin_layout Standard
9658 Margit
9659 \end_layout
9660
9661 \end_inset
9662 </cell>
9663 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9664 \begin_inset Text
9665
9666 \begin_layout Standard
9667 111
9668 \end_layout
9669
9670 \end_inset
9671 </cell>
9672 </row>
9673 <row>
9674 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9675 \begin_inset Text
9676
9677 \begin_layout Standard
9678
9679 \series bold
9680 Unterkalmsteiner
9681 \end_layout
9682
9683 \end_inset
9684 </cell>
9685 <cell alignment="center" valignment="top" topline="true" usebox="none">
9686 \begin_inset Text
9687
9688 \begin_layout Standard
9689 Frieda
9690 \end_layout
9691
9692 \end_inset
9693 </cell>
9694 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9695 \begin_inset Text
9696
9697 \begin_layout Standard
9698 111
9699 \end_layout
9700
9701 \end_inset
9702 </cell>
9703 </row>
9704 <row>
9705 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9706 \begin_inset Text
9707
9708 \begin_layout Standard
9709
9710 \series bold
9711 Vieider
9712 \end_layout
9713
9714 \end_inset
9715 </cell>
9716 <cell alignment="center" valignment="top" topline="true" usebox="none">
9717 \begin_inset Text
9718
9719 \begin_layout Standard
9720 Hilde
9721 \end_layout
9722
9723 \end_inset
9724 </cell>
9725 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9726 \begin_inset Text
9727
9728 \begin_layout Standard
9729 111
9730 \end_layout
9731
9732 \end_inset
9733 </cell>
9734 </row>
9735 <row>
9736 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9737 \begin_inset Text
9738
9739 \begin_layout Standard
9740
9741 \series bold
9742 Vigna
9743 \end_layout
9744
9745 \end_inset
9746 </cell>
9747 <cell alignment="center" valignment="top" topline="true" usebox="none">
9748 \begin_inset Text
9749
9750 \begin_layout Standard
9751 Jürgen
9752 \end_layout
9753
9754 \end_inset
9755 </cell>
9756 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9757 \begin_inset Text
9758
9759 \begin_layout Standard
9760 111
9761 \end_layout
9762
9763 \end_inset
9764 </cell>
9765 </row>
9766 <row>
9767 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9768 \begin_inset Text
9769
9770 \begin_layout Standard
9771
9772 \series bold
9773 Weber
9774 \end_layout
9775
9776 \end_inset
9777 </cell>
9778 <cell alignment="center" valignment="top" topline="true" usebox="none">
9779 \begin_inset Text
9780
9781 \begin_layout Standard
9782 Maurizio
9783 \end_layout
9784
9785 \end_inset
9786 </cell>
9787 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9788 \begin_inset Text
9789
9790 \begin_layout Standard
9791 111
9792 \end_layout
9793
9794 \end_inset
9795 </cell>
9796 </row>
9797 <row bottomline="true">
9798 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9799 \begin_inset Text
9800
9801 \begin_layout Standard
9802
9803 \series bold
9804 Winkler
9805 \end_layout
9806
9807 \end_inset
9808 </cell>
9809 <cell alignment="center" valignment="top" topline="true" usebox="none">
9810 \begin_inset Text
9811
9812 \begin_layout Standard
9813 Franz
9814 \end_layout
9815
9816 \end_inset
9817 </cell>
9818 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9819 \begin_inset Text
9820
9821 \begin_layout Standard
9822 111
9823 \end_layout
9824
9825 \end_inset
9826 </cell>
9827 </row>
9828 <row endlastfoot="true">
9829 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
9830 \begin_inset Text
9831
9832 \begin_layout Standard
9833
9834 \end_layout
9835
9836 \end_inset
9837 </cell>
9838 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9839 \begin_inset Text
9840
9841 \begin_layout Standard
9842
9843 \end_layout
9844
9845 \end_inset
9846 </cell>
9847 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9848 \begin_inset Text
9849
9850 \begin_layout Standard
9851
9852 \end_layout
9853
9854 \end_inset
9855 </cell>
9856 </row>
9857 </lyxtabular>
9858
9859 \end_inset
9860
9861
9862 \end_layout
9863
9864 \begin_layout Section
9865 Multiple Lines Columns and Rows
9866 \end_layout
9867
9868 \begin_layout Subsection
9869 Multiple Lines in Table Cells
9870 \begin_inset LatexCommand label
9871 name "sub:Multiple-Lines-in"
9872
9873 \end_inset
9874
9875
9876 \begin_inset LatexCommand index
9877 name "Multiple Lines in Table Cells"
9878
9879 \end_inset
9880
9881
9882 \begin_inset LatexCommand index
9883 name "Table ! Linebreaks"
9884
9885 \end_inset
9886
9887
9888 \end_layout
9889
9890 \begin_layout Standard
9891 \align center
9892 \begin_inset Float table
9893 placement H
9894 wide false
9895 sideways false
9896 status open
9897
9898 \begin_layout Standard
9899 \begin_inset Caption
9900
9901 \begin_layout Standard
9902 \begin_inset LatexCommand label
9903 name "tab:Table-with-multiple"
9904
9905 \end_inset
9906
9907 Table with multiple lines in cells
9908 \end_layout
9909
9910 \end_inset
9911
9912
9913 \end_layout
9914
9915 \begin_layout Standard
9916 \align center
9917 \begin_inset Tabular
9918 <lyxtabular version="3" rows="3" columns="3">
9919 <features>
9920 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
9921 <column alignment="center" valignment="middle" leftline="true" width="0">
9922 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0">
9923 <row topline="true">
9924 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9925 \begin_inset Text
9926
9927 \begin_layout Standard
9928 multiple
9929 \begin_inset ERT
9930 status collapsed
9931
9932 \begin_layout Standard
9933
9934
9935 \backslash
9936 linebreak 
9937 \end_layout
9938
9939 \end_inset
9940
9941  lines
9942 \end_layout
9943
9944 \end_inset
9945 </cell>
9946 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9947 \begin_inset Text
9948
9949 \begin_layout Standard
9950 b
9951 \end_layout
9952
9953 \end_inset
9954 </cell>
9955 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9956 \begin_inset Text
9957
9958 \begin_layout Standard
9959 c
9960 \end_layout
9961
9962 \end_inset
9963 </cell>
9964 </row>
9965 <row topline="true">
9966 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9967 \begin_inset Text
9968
9969 \begin_layout Standard
9970 d
9971 \end_layout
9972
9973 \end_inset
9974 </cell>
9975 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9976 \begin_inset Text
9977
9978 \begin_layout Standard
9979 e
9980 \end_layout
9981
9982 \end_inset
9983 </cell>
9984 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9985 \begin_inset Text
9986
9987 \begin_layout Standard
9988 f
9989 \end_layout
9990
9991 \end_inset
9992 </cell>
9993 </row>
9994 <row topline="true" bottomline="true">
9995 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9996 \begin_inset Text
9997
9998 \begin_layout Standard
9999 g
10000 \end_layout
10001
10002 \end_inset
10003 </cell>
10004 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10005 \begin_inset Text
10006
10007 \begin_layout Standard
10008 h
10009 \end_layout
10010
10011 \end_inset
10012 </cell>
10013 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10014 \begin_inset Text
10015
10016 \begin_layout Standard
10017 i
10018 \end_layout
10019
10020 \end_inset
10021 </cell>
10022 </row>
10023 </lyxtabular>
10024
10025 \end_inset
10026
10027
10028 \end_layout
10029
10030 \end_inset
10031
10032
10033 \end_layout
10034
10035 \begin_layout Standard
10036 Adjusting a fixed width for a column, enables to enter text as a paragraph
10037  with multiple lines and hyphenations.
10038 \end_layout
10039
10040 \begin_layout Standard
10041 To produce Table\InsetSpace ~
10042
10043 \begin_inset LatexCommand ref
10044 reference "tab:Table-with-multiple"
10045
10046 \end_inset
10047
10048 , create a 3×3 table, mark the first cell and right-click on it.
10049  In the appearing table dialog we set a cell width of 2.5\InsetSpace \thinspace{}
10050 cm and choose centered
10051  for the vertical and horizontal alignment.
10052  The vertical alignment is used for all cells of the row.
10053  As our text is smaller than than 2.5\InsetSpace \thinspace{}
10054 cm, only one line will appear.
10055  To get two lines, we add a line break with the command
10056 \end_layout
10057
10058 \begin_layout Standard
10059
10060 \series bold
10061
10062 \backslash
10063 linebreak
10064 \end_layout
10065
10066 \begin_layout Standard
10067 in ERT.
10068  If the text is wider than the set cell width it will automatically be broken
10069  to several lines.
10070 \end_layout
10071
10072 \begin_layout Standard
10073 If you have a long word in a cell with a fixed width, it cannot be hyphenated
10074  by LaTeX if it is the first entry.
10075  Therefore you need to insert something, to make the word not being the
10076  first entry: Add the command
10077 \end_layout
10078
10079 \begin_layout Standard
10080
10081 \series bold
10082
10083 \backslash
10084 hspace{0pt}
10085 \end_layout
10086
10087 \begin_layout Standard
10088 in ERT before the word.
10089  As the space is zero, it doesn't change the output.
10090  Table\InsetSpace ~
10091
10092 \begin_inset LatexCommand ref
10093 reference "tab:Table-with-and"
10094
10095 \end_inset
10096
10097  shows the effect.
10098 \end_layout
10099
10100 \begin_layout Standard
10101 \begin_inset Float table
10102 placement h
10103 wide false
10104 sideways false
10105 status open
10106
10107 \begin_layout Standard
10108 \begin_inset Caption
10109
10110 \begin_layout Standard
10111 \begin_inset LatexCommand label
10112 name "tab:Table-with-and"
10113
10114 \end_inset
10115
10116 Table with and without hyphenation
10117 \end_layout
10118
10119 \end_inset
10120
10121
10122 \end_layout
10123
10124 \begin_layout Standard
10125
10126 \hfill
10127
10128 \begin_inset Tabular
10129 <lyxtabular version="3" rows="3" columns="3">
10130 <features>
10131 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
10132 <column alignment="center" valignment="middle" leftline="true" width="0">
10133 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0">
10134 <row topline="true">
10135 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10136 \begin_inset Text
10137
10138 \begin_layout Standard
10139 verylongtablecellword
10140 \end_layout
10141
10142 \end_inset
10143 </cell>
10144 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10145 \begin_inset Text
10146
10147 \begin_layout Standard
10148 b
10149 \end_layout
10150
10151 \end_inset
10152 </cell>
10153 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10154 \begin_inset Text
10155
10156 \begin_layout Standard
10157 c
10158 \end_layout
10159
10160 \end_inset
10161 </cell>
10162 </row>
10163 <row topline="true">
10164 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10165 \begin_inset Text
10166
10167 \begin_layout Standard
10168 d
10169 \end_layout
10170
10171 \end_inset
10172 </cell>
10173 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10174 \begin_inset Text
10175
10176 \begin_layout Standard
10177 e
10178 \end_layout
10179
10180 \end_inset
10181 </cell>
10182 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10183 \begin_inset Text
10184
10185 \begin_layout Standard
10186 f
10187 \end_layout
10188
10189 \end_inset
10190 </cell>
10191 </row>
10192 <row topline="true" bottomline="true">
10193 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10194 \begin_inset Text
10195
10196 \begin_layout Standard
10197 g
10198 \end_layout
10199
10200 \end_inset
10201 </cell>
10202 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10203 \begin_inset Text
10204
10205 \begin_layout Standard
10206 h
10207 \end_layout
10208
10209 \end_inset
10210 </cell>
10211 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10212 \begin_inset Text
10213
10214 \begin_layout Standard
10215 i
10216 \end_layout
10217
10218 \end_inset
10219 </cell>
10220 </row>
10221 </lyxtabular>
10222
10223 \end_inset
10224
10225
10226 \hfill
10227
10228 \begin_inset Tabular
10229 <lyxtabular version="3" rows="3" columns="3">
10230 <features>
10231 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
10232 <column alignment="center" valignment="middle" leftline="true" width="0">
10233 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0">
10234 <row topline="true">
10235 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10236 \begin_inset Text
10237
10238 \begin_layout Standard
10239 \begin_inset ERT
10240 status collapsed
10241
10242 \begin_layout Standard
10243
10244
10245 \backslash
10246 hspace{0pt}
10247 \end_layout
10248
10249 \end_inset
10250
10251 verylongtablecellword
10252 \end_layout
10253
10254 \end_inset
10255 </cell>
10256 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10257 \begin_inset Text
10258
10259 \begin_layout Standard
10260 b
10261 \end_layout
10262
10263 \end_inset
10264 </cell>
10265 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10266 \begin_inset Text
10267
10268 \begin_layout Standard
10269 c
10270 \end_layout
10271
10272 \end_inset
10273 </cell>
10274 </row>
10275 <row topline="true">
10276 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10277 \begin_inset Text
10278
10279 \begin_layout Standard
10280 d
10281 \end_layout
10282
10283 \end_inset
10284 </cell>
10285 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10286 \begin_inset Text
10287
10288 \begin_layout Standard
10289 e
10290 \end_layout
10291
10292 \end_inset
10293 </cell>
10294 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10295 \begin_inset Text
10296
10297 \begin_layout Standard
10298 f
10299 \end_layout
10300
10301 \end_inset
10302 </cell>
10303 </row>
10304 <row topline="true" bottomline="true">
10305 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10306 \begin_inset Text
10307
10308 \begin_layout Standard
10309 g
10310 \end_layout
10311
10312 \end_inset
10313 </cell>
10314 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10315 \begin_inset Text
10316
10317 \begin_layout Standard
10318 h
10319 \end_layout
10320
10321 \end_inset
10322 </cell>
10323 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10324 \begin_inset Text
10325
10326 \begin_layout Standard
10327 i
10328 \end_layout
10329
10330 \end_inset
10331 </cell>
10332 </row>
10333 </lyxtabular>
10334
10335 \end_inset
10336
10337
10338 \hfill
10339
10340 \end_layout
10341
10342 \end_inset
10343
10344
10345 \end_layout
10346
10347 \begin_layout Standard
10348
10349 \newpage
10350
10351 \end_layout
10352
10353 \begin_layout Subsection
10354 Multicolumns
10355 \begin_inset LatexCommand label
10356 name "sub:Multicolumns"
10357
10358 \end_inset
10359
10360
10361 \begin_inset LatexCommand index
10362 name "Multicolumns"
10363
10364 \end_inset
10365
10366
10367 \begin_inset LatexCommand index
10368 name "Table ! Multicolumns"
10369
10370 \end_inset
10371
10372
10373 \end_layout
10374
10375 \begin_layout Subsubsection
10376 Multicolumn Basics
10377 \end_layout
10378
10379 \begin_layout Standard
10380 To span a cell over multiple columns, mark as much cells within a line that
10381  should be one spanned cell and use either the table-toolbar button 
10382 \begin_inset Graphics
10383         filename ../images/tabular-feature_multicolumn.xpm
10384         scale 85
10385         scaleBeforeRotation
10386
10387 \end_inset
10388
10389 , or the menu 
10390 \family sans
10391 Edit\SpecialChar \menuseparator
10392 Table\SpecialChar \menuseparator
10393 Multicolumn
10394 \family default
10395 , or right click on the marked cells and choose multicolumn in the appearing
10396  table dialog under the tab 
10397 \family sans
10398 Table Settings
10399 \family default
10400 .
10401 \end_layout
10402
10403 \begin_layout Standard
10404 Multicolumns have there own cell settings.
10405  That means changing cell borders, cell alignment, and the width only affects
10406  the multicolumn.
10407  Here is an example table with a multicolumn cell in the first row and one
10408  in the last row without the upper border:
10409 \end_layout
10410
10411 \begin_layout Standard
10412 \align center
10413 \begin_inset Tabular
10414 <lyxtabular version="3" rows="3" columns="4">
10415 <features firstHeadTopDL="true" firstHeadBottomDL="true">
10416 <column alignment="center" valignment="top" leftline="true" width="0pt">
10417 <column alignment="center" valignment="middle" leftline="true" width="0">
10418 <column alignment="center" valignment="top" leftline="true" width="0in">
10419 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
10420 <row topline="true" bottomline="true">
10421 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10422 \begin_inset Text
10423
10424 \begin_layout Standard
10425 abc
10426 \end_layout
10427
10428 \end_inset
10429 </cell>
10430 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
10431 \begin_inset Text
10432
10433 \begin_layout Standard
10434 def ghi
10435 \end_layout
10436
10437 \end_inset
10438 </cell>
10439 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10440 \begin_inset Text
10441
10442 \begin_layout Standard
10443
10444 \end_layout
10445
10446 \end_inset
10447 </cell>
10448 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10449 \begin_inset Text
10450
10451 \begin_layout Standard
10452 jkl
10453 \end_layout
10454
10455 \end_inset
10456 </cell>
10457 </row>
10458 <row topline="true">
10459 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10460 \begin_inset Text
10461
10462 \begin_layout Standard
10463
10464 \family roman
10465 \series medium
10466 \shape up
10467 \size normal
10468 \emph off
10469 \bar no
10470 \noun off
10471 \color none
10472 A
10473 \end_layout
10474
10475 \end_inset
10476 </cell>
10477 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10478 \begin_inset Text
10479
10480 \begin_layout Standard
10481 B
10482 \end_layout
10483
10484 \end_inset
10485 </cell>
10486 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10487 \begin_inset Text
10488
10489 \begin_layout Standard
10490 C
10491 \end_layout
10492
10493 \end_inset
10494 </cell>
10495 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10496 \begin_inset Text
10497
10498 \begin_layout Standard
10499 D
10500 \end_layout
10501
10502 \end_inset
10503 </cell>
10504 </row>
10505 <row topline="true" bottomline="true">
10506 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10507 \begin_inset Text
10508
10509 \begin_layout Standard
10510 1
10511 \end_layout
10512
10513 \end_inset
10514 </cell>
10515 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10516 \begin_inset Text
10517
10518 \begin_layout Standard
10519 2
10520 \end_layout
10521
10522 \end_inset
10523 </cell>
10524 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10525 \begin_inset Text
10526
10527 \begin_layout Standard
10528 3
10529 \end_layout
10530
10531 \end_inset
10532 </cell>
10533 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10534 \begin_inset Text
10535
10536 \begin_layout Standard
10537 4
10538 \end_layout
10539
10540 \end_inset
10541 </cell>
10542 </row>
10543 </lyxtabular>
10544
10545 \end_inset
10546
10547
10548 \end_layout
10549
10550 \begin_layout Subsubsection
10551 Multicolumn Calculations
10552 \begin_inset LatexCommand label
10553 name "sub:Multicolumn-Calculations"
10554
10555 \end_inset
10556
10557
10558 \begin_inset LatexCommand index
10559 name "Multicolumns ! Calculations"
10560
10561 \end_inset
10562
10563
10564 \end_layout
10565
10566 \begin_layout Standard
10567 LyX supports multicolumns directly, but we have to take notice of the cell
10568  width of the columns spanned by the multicolumn cell.
10569 \end_layout
10570
10571 \begin_layout Standard
10572 \begin_inset Float table
10573 wide false
10574 sideways false
10575 status open
10576
10577 \begin_layout Standard
10578 \begin_inset Caption
10579
10580 \begin_layout Standard
10581 \begin_inset LatexCommand label
10582 name "tab:Table-with-centered"
10583
10584 \end_inset
10585
10586 Table with centered multicolumn text above two columns that have exactly
10587  half the width of the multicolumn cell
10588 \begin_inset OptArg
10589 status collapsed
10590
10591 \begin_layout Standard
10592 Perfect multicolumn table
10593 \end_layout
10594
10595 \end_inset
10596
10597
10598 \end_layout
10599
10600 \end_inset
10601
10602
10603 \end_layout
10604
10605 \begin_layout Standard
10606 \align center
10607 \begin_inset Tabular
10608 <lyxtabular version="3" rows="3" columns="3">
10609 <features>
10610 <column alignment="center" valignment="middle" leftline="true" width="0" special=">{\centering}m{1.25cm-6.2pt}">
10611 <column alignment="center" valignment="middle" leftline="true" width="0">
10612 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
10613 <row topline="true">
10614 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" special=">{\centering}m{2.5cm}">
10615 \begin_inset Text
10616
10617 \begin_layout Standard
10618 multiple lines multicolumn
10619 \end_layout
10620
10621 \end_inset
10622 </cell>
10623 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10624 \begin_inset Text
10625
10626 \begin_layout Standard
10627
10628 \end_layout
10629
10630 \end_inset
10631 </cell>
10632 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10633 \begin_inset Text
10634
10635 \begin_layout Standard
10636 c
10637 \end_layout
10638
10639 \end_inset
10640 </cell>
10641 </row>
10642 <row topline="true">
10643 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10644 \begin_inset Text
10645
10646 \begin_layout Standard
10647 d
10648 \end_layout
10649
10650 \end_inset
10651 </cell>
10652 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10653 \begin_inset Text
10654
10655 \begin_layout Standard
10656 e
10657 \end_layout
10658
10659 \end_inset
10660 </cell>
10661 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10662 \begin_inset Text
10663
10664 \begin_layout Standard
10665 f
10666 \end_layout
10667
10668 \end_inset
10669 </cell>
10670 </row>
10671 <row topline="true" bottomline="true">
10672 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10673 \begin_inset Text
10674
10675 \begin_layout Standard
10676 g
10677 \end_layout
10678
10679 \end_inset
10680 </cell>
10681 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10682 \begin_inset Text
10683
10684 \begin_layout Standard
10685 h
10686 \end_layout
10687
10688 \end_inset
10689 </cell>
10690 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10691 \begin_inset Text
10692
10693 \begin_layout Standard
10694 i
10695 \end_layout
10696
10697 \end_inset
10698 </cell>
10699 </row>
10700 </lyxtabular>
10701
10702 \end_inset
10703
10704
10705 \end_layout
10706
10707 \end_inset
10708
10709
10710 \end_layout
10711
10712 \begin_layout Standard
10713 To create for example Table\InsetSpace ~
10714
10715 \begin_inset LatexCommand ref
10716 reference "tab:Table-with-centered"
10717
10718 \end_inset
10719
10720 , mark the first two cells in the first row of a 3×3 table and right-click
10721  on them.
10722  Now choose for this cell 
10723 \emph on
10724 multicolumn
10725 \emph default
10726
10727 \emph on
10728 centered alignment
10729 \emph default
10730  and a width of 2.5\InsetSpace \thinspace{}
10731 cm in the table dialog.
10732  The spanned columns should have exactly half the width of the multicolumn
10733  cell, so that you would adjust a width of 1.25\InsetSpace \thinspace{}
10734 cm for the first column.
10735  The second column has then automatically a width of 1.25\InsetSpace \thinspace{}
10736 cm (multicolumn
10737  width - width of first column).
10738  This was done for Table\InsetSpace ~
10739
10740 \begin_inset LatexCommand ref
10741 reference "tab:Table-without-half"
10742
10743 \end_inset
10744
10745 .
10746 \end_layout
10747
10748 \begin_layout Standard
10749 \begin_inset Float table
10750 wide false
10751 sideways false
10752 status open
10753
10754 \begin_layout Standard
10755 \begin_inset Caption
10756
10757 \begin_layout Standard
10758 \begin_inset LatexCommand label
10759 name "tab:Table-without-half"
10760
10761 \end_inset
10762
10763 Table where the spanned table columns have not exactly half the width of
10764  the multicolumn cell
10765 \begin_inset OptArg
10766 status collapsed
10767
10768 \begin_layout Standard
10769 Imperfect multicolumn table
10770 \end_layout
10771
10772 \end_inset
10773
10774
10775 \end_layout
10776
10777 \end_inset
10778
10779
10780 \end_layout
10781
10782 \begin_layout Standard
10783 \align center
10784 \begin_inset Tabular
10785 <lyxtabular version="3" rows="3" columns="3">
10786 <features>
10787 <column alignment="center" valignment="top" leftline="true" width="1.25cm">
10788 <column alignment="center" valignment="top" leftline="true" width="0">
10789 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
10790 <row topline="true" bottomline="true">
10791 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
10792 \begin_inset Text
10793
10794 \begin_layout Standard
10795 multiple lines multicolumn
10796 \end_layout
10797
10798 \end_inset
10799 </cell>
10800 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10801 \begin_inset Text
10802
10803 \begin_layout Standard
10804
10805 \end_layout
10806
10807 \end_inset
10808 </cell>
10809 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10810 \begin_inset Text
10811
10812 \begin_layout Standard
10813 c
10814 \end_layout
10815
10816 \end_inset
10817 </cell>
10818 </row>
10819 <row topline="true">
10820 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10821 \begin_inset Text
10822
10823 \begin_layout Standard
10824 d
10825 \end_layout
10826
10827 \end_inset
10828 </cell>
10829 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10830 \begin_inset Text
10831
10832 \begin_layout Standard
10833 e
10834 \end_layout
10835
10836 \end_inset
10837 </cell>
10838 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10839 \begin_inset Text
10840
10841 \begin_layout Standard
10842 f
10843 \end_layout
10844
10845 \end_inset
10846 </cell>
10847 </row>
10848 <row topline="true" bottomline="true">
10849 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10850 \begin_inset Text
10851
10852 \begin_layout Standard
10853 g
10854 \end_layout
10855
10856 \end_inset
10857 </cell>
10858 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10859 \begin_inset Text
10860
10861 \begin_layout Standard
10862 h
10863 \end_layout
10864
10865 \end_inset
10866 </cell>
10867 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10868 \begin_inset Text
10869
10870 \begin_layout Standard
10871 i
10872 \end_layout
10873
10874 \end_inset
10875 </cell>
10876 </row>
10877 </lyxtabular>
10878
10879 \end_inset
10880
10881
10882 \end_layout
10883
10884 \end_inset
10885
10886
10887 \end_layout
10888
10889 \begin_layout Standard
10890 You can see that the first column has not the half width of the multicolumn
10891  cell, it is a bit bigger.
10892  The reason is that the given width of a cell 
10893 \begin_inset Formula $W_{g}$
10894 \end_inset
10895
10896  is not its total width 
10897 \begin_inset Formula $W_{\mathrm{tot}}$
10898 \end_inset
10899
10900  because a cell is always a bit larger than its given width.
10901  Appendix\InsetSpace ~
10902
10903 \begin_inset LatexCommand eqref
10904 reference "cha:Explanation-of-Equation"
10905
10906 \end_inset
10907
10908  explains it in detail.
10909 \end_layout
10910
10911 \begin_layout Standard
10912 The needed given width 
10913 \begin_inset Formula $W_{g\, n}$
10914 \end_inset
10915
10916  when 
10917 \emph on
10918 n
10919 \emph default
10920  columns are spanned can be calculated, so that each column has a total
10921  width of 
10922 \begin_inset Formula $W_{\mathrm{tot\, multicolumn}}/n$
10923 \end_inset
10924
10925 :
10926 \begin_inset Formula \begin{equation}
10927 W_{g\, n}=(W_{g\,\mathrm{multicolumn}}+(1-n)·(12.4\,\mathrm{pt}))/n\label{eq:Wgn}\end{equation}
10928
10929 \end_inset
10930
10931
10932 \end_layout
10933
10934 \begin_layout Standard
10935 In our case we have 
10936 \begin_inset Formula $n=2$
10937 \end_inset
10938
10939
10940 \begin_inset Formula $W_{g\,\mathrm{multicolumn}}=2.5\,$
10941 \end_inset
10942
10943 cm and the default values for the lengths, so that equation 
10944 \begin_inset LatexCommand ref
10945 reference "eq:Wgn"
10946
10947 \end_inset
10948
10949  becomes
10950 \begin_inset Formula \begin{equation}
10951 W_{g\,2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}\end{equation}
10952
10953 \end_inset
10954
10955
10956 \end_layout
10957
10958 \begin_layout Standard
10959 To enable calculations in LaTeX, the LaTeX-package 
10960 \series bold
10961 calc
10962 \series default
10963  must be loaded with the document preamble line
10964 \begin_inset LatexCommand index
10965 name "LaTeX-packages ! calc"
10966
10967 \end_inset
10968
10969
10970 \end_layout
10971
10972 \begin_layout Standard
10973
10974 \series bold
10975
10976 \backslash
10977 usepackage{calc}
10978 \end_layout
10979
10980 \begin_layout Standard
10981 LyX does not allow to calculate lengths in the width-field of the table
10982  dialog.
10983  Therefore you have to format the column by inserting a LaTeX-argument in
10984  the dialog.
10985  Here is an overview about the arguments:
10986 \end_layout
10987
10988 \begin_layout Itemize
10989
10990 \series bold
10991 p{width}
10992 \series default
10993  creates cell with a fixed width, its text is vertically top-aligned
10994 \end_layout
10995
10996 \begin_layout Itemize
10997
10998 \series bold
10999 m{width}
11000 \series default
11001  creates cell with a fixed width, its text is vertically centered
11002 \end_layout
11003
11004 \begin_layout Itemize
11005
11006 \series bold
11007 b{width}
11008 \series default
11009  creates cell with a fixed width, its text is vertically bottom-aligned
11010 \end_layout
11011
11012 \begin_layout Standard
11013 By entering a LaTeX-argument, all cell settings set in the table dialog
11014  are overwritten.
11015 \end_layout
11016
11017 \begin_layout Standard
11018 \begin_inset Note Greyedout
11019 status open
11020
11021 \begin_layout Standard
11022
11023 \series bold
11024 Note:
11025 \series default
11026  Due to a bug, LyX shows the overwritten settings anyway.
11027 \end_layout
11028
11029 \end_inset
11030
11031
11032 \end_layout
11033
11034 \begin_layout Standard
11035 As the text should be horizontally centered, the command 
11036 \series bold
11037
11038 \backslash
11039 centering
11040 \series default
11041  is added.
11042  You can now enter the following LaTeX-argument for the first spanned column:
11043 \end_layout
11044
11045 \begin_layout Standard
11046
11047 \series bold
11048 >{
11049 \backslash
11050 centering}m{1.25cm-6.2pt}
11051 \end_layout
11052
11053 \begin_layout Standard
11054 The command 
11055 \series bold
11056 >{ }
11057 \series default
11058  means, that the commands inside the braces are applied before the cell
11059  is created.
11060 \end_layout
11061
11062 \begin_layout Standard
11063 Although we have chosen centered alignment for the text of the multicolumn
11064  cell, it is still left aligned.
11065  This is because LyX only applies the alignment to single columns.
11066  So we have to use for the multicolumn the LaTeX-argument
11067 \end_layout
11068
11069 \begin_layout Standard
11070
11071 \series bold
11072 >{
11073 \backslash
11074 centering}m{2.5cm}
11075 \end_layout
11076
11077 \begin_layout Subsection
11078 Multirows
11079 \begin_inset LatexCommand index
11080 name "Multirows"
11081
11082 \end_inset
11083
11084
11085 \begin_inset LatexCommand index
11086 name "Table ! Multirows"
11087
11088 \end_inset
11089
11090
11091 \begin_inset LatexCommand index
11092 name "LaTeX-packages ! multirow"
11093
11094 \end_inset
11095
11096
11097 \end_layout
11098
11099 \begin_layout Standard
11100 In contrary to multicolumns multirows are not yet supported by LyX so a
11101  bit of ERT needs to be used.
11102  To use multirows load the LaTeX-package 
11103 \series bold
11104 multirow
11105 \series default
11106  in your document preamble with the command
11107 \end_layout
11108
11109 \begin_layout Standard
11110
11111 \series bold
11112
11113 \backslash
11114 usepackage{multirow}
11115 \end_layout
11116
11117 \begin_layout Standard
11118 Multirows are created with the command
11119 \end_layout
11120
11121 \begin_layout Standard
11122
11123 \series bold
11124
11125 \backslash
11126 multirow{number of rows}{cell width}{cell entry}
11127 \end_layout
11128
11129 \begin_layout Standard
11130 To create the following table:
11131 \end_layout
11132
11133 \begin_layout Standard
11134 \align center
11135 \begin_inset ERT
11136 status collapsed
11137
11138 \begin_layout Standard
11139
11140
11141 \backslash
11142 renewcommand{
11143 \backslash
11144 multirowsetup}{
11145 \backslash
11146 centering}
11147 \end_layout
11148
11149 \end_inset
11150
11151
11152 \begin_inset Tabular
11153 <lyxtabular version="3" rows="3" columns="3">
11154 <features>
11155 <column alignment="center" valignment="top" leftline="true" width="0">
11156 <column alignment="center" valignment="top" leftline="true" width="0">
11157 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
11158 <row topline="true">
11159 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11160 \begin_inset Text
11161
11162 \begin_layout Standard
11163 a
11164 \end_layout
11165
11166 \end_inset
11167 </cell>
11168 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11169 \begin_inset Text
11170
11171 \begin_layout Standard
11172 b
11173 \end_layout
11174
11175 \end_inset
11176 </cell>
11177 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11178 \begin_inset Text
11179
11180 \begin_layout Standard
11181 c
11182 \end_layout
11183
11184 \end_inset
11185 </cell>
11186 </row>
11187 <row topline="true">
11188 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11189 \begin_inset Text
11190
11191 \begin_layout Standard
11192 \begin_inset ERT
11193 status collapsed
11194
11195 \begin_layout Standard
11196
11197
11198 \backslash
11199 multirow{2}{2.5cm}{
11200 \end_layout
11201
11202 \end_inset
11203
11204 multirow entry
11205 \begin_inset ERT
11206 status collapsed
11207
11208 \begin_layout Standard
11209
11210 }
11211 \end_layout
11212
11213 \end_inset
11214
11215
11216 \end_layout
11217
11218 \end_inset
11219 </cell>
11220 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11221 \begin_inset Text
11222
11223 \begin_layout Standard
11224 e
11225 \end_layout
11226
11227 \end_inset
11228 </cell>
11229 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11230 \begin_inset Text
11231
11232 \begin_layout Standard
11233 f
11234 \end_layout
11235
11236 \end_inset
11237 </cell>
11238 </row>
11239 <row topline="true" bottomline="true">
11240 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11241 \begin_inset Text
11242
11243 \begin_layout Standard
11244
11245 \end_layout
11246
11247 \end_inset
11248 </cell>
11249 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11250 \begin_inset Text
11251
11252 \begin_layout Standard
11253 h
11254 \end_layout
11255
11256 \end_inset
11257 </cell>
11258 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11259 \begin_inset Text
11260
11261 \begin_layout Standard
11262 i
11263 \end_layout
11264
11265 \end_inset
11266 </cell>
11267 </row>
11268 </lyxtabular>
11269
11270 \end_inset
11271
11272
11273 \begin_inset ERT
11274 status collapsed
11275
11276 \begin_layout Standard
11277
11278
11279 \backslash
11280 renewcommand{
11281 \backslash
11282 multirowsetup}{
11283 \backslash
11284 raggedright}
11285 \end_layout
11286
11287 \end_inset
11288
11289
11290 \end_layout
11291
11292 \begin_layout Standard
11293 create a 3×3 table.
11294  To get rid of the line above the last cell in the first column, the cell
11295  is marked as multicolumn and the upper border is unset.
11296  The multirow is now created in the second row of the first column by inserting
11297  there the command
11298 \end_layout
11299
11300 \begin_layout Standard
11301
11302 \series bold
11303
11304 \backslash
11305 multirow{2}{2.5cm}{
11306 \end_layout
11307
11308 \begin_layout Standard
11309 as ERT.
11310  According to the command parameters the multirow spans now two rows and
11311  has a width of 2.5\InsetSpace \thinspace{}
11312 cm.
11313  The content of the multirow cell follows outside the ERT box and the command
11314  is finished with a right brace 
11315 \series bold
11316 }
11317 \series default
11318  in another ERT-box behind the text.
11319 \end_layout
11320
11321 \begin_layout Standard
11322
11323 \series bold
11324
11325 \backslash
11326 multirow
11327 \series default
11328  left-aligns its content by default.
11329  To override the default, renew the command 
11330 \series bold
11331
11332 \backslash
11333 multirowsetup
11334 \series default
11335  with the command
11336 \end_layout
11337
11338 \begin_layout Standard
11339
11340 \series bold
11341
11342 \backslash
11343 renewcommand{
11344 \backslash
11345 multirowsetup}{
11346 \backslash
11347 centering}
11348 \end_layout
11349
11350 \begin_layout Standard
11351 in ERT in the document preamble.
11352  Then all entries of multirow cells in the document are centered.
11353  If centering is only needed for several tables, you can renew the command
11354  in an ERT box just before the table instead of the preamble.
11355  If the text should be right-aligned, replace 
11356 \series bold
11357
11358 \backslash
11359 centering
11360 \series default
11361  by 
11362 \series bold
11363
11364 \backslash
11365 raggedleft
11366 \series default
11367 .
11368  To return to left-alignment 
11369 \series bold
11370
11371 \backslash
11372 raggedright
11373 \series default
11374  is used.
11375 \end_layout
11376
11377 \begin_layout Section
11378 Formal Tables
11379 \begin_inset LatexCommand label
11380 name "sec:Formal-Tables"
11381
11382 \end_inset
11383
11384
11385 \begin_inset LatexCommand index
11386 name "Table ! Formal"
11387
11388 \end_inset
11389
11390
11391 \end_layout
11392
11393 \begin_layout Standard
11394 Tables are often typeset in books similar to Table\InsetSpace ~
11395
11396 \begin_inset LatexCommand ref
11397 reference "tab:Example-booktabs-table"
11398
11399 \end_inset
11400
11401 .
11402  This kind of tables is called 
11403 \begin_inset Quotes eld
11404 \end_inset
11405
11406
11407 \emph on
11408 formal
11409 \emph default
11410
11411 \begin_inset Quotes erd
11412 \end_inset
11413
11414 .
11415  To make a table a formal table use the option 
11416 \family sans
11417 Formal
11418 \family default
11419  in the 
11420 \family sans
11421 Borders
11422 \family default
11423  tab of the table dialog.
11424 \end_layout
11425
11426 \begin_layout Standard
11427 \begin_inset Float table
11428 placement h
11429 wide false
11430 sideways false
11431 status open
11432
11433 \begin_layout Standard
11434 \begin_inset Caption
11435
11436 \begin_layout Standard
11437 \begin_inset LatexCommand label
11438 name "tab:Example-booktabs-table"
11439
11440 \end_inset
11441
11442 Example booktabs-table
11443 \end_layout
11444
11445 \end_inset
11446
11447
11448 \end_layout
11449
11450 \begin_layout Standard
11451 \align center
11452 \begin_inset Tabular
11453 <lyxtabular version="3" rows="8" columns="4">
11454 <features booktabs="true">
11455 <column alignment="center" valignment="top" rightline="true" width="0">
11456 <column alignment="center" valignment="top" width="0">
11457 <column alignment="center" valignment="top" width="0">
11458 <column alignment="center" valignment="top" width="0">
11459 <row topline="true">
11460 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11461 \begin_inset Text
11462
11463 \begin_layout Standard
11464 System
11465 \end_layout
11466
11467 \end_inset
11468 </cell>
11469 <cell alignment="center" valignment="top" topline="true" usebox="none">
11470 \begin_inset Text
11471
11472 \begin_layout Standard
11473 Medipix
11474 \begin_inset Formula $\,$
11475 \end_inset
11476
11477 1
11478 \end_layout
11479
11480 \end_inset
11481 </cell>
11482 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" usebox="none">
11483 \begin_inset Text
11484
11485 \begin_layout Standard
11486 Medipix
11487 \begin_inset Formula $\,$
11488 \end_inset
11489
11490 2
11491 \end_layout
11492
11493 \end_inset
11494 </cell>
11495 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11496 \begin_inset Text
11497
11498 \begin_layout Standard
11499
11500 \end_layout
11501
11502 \end_inset
11503 </cell>
11504 </row>
11505 <row>
11506 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11507 \begin_inset Text
11508
11509 \begin_layout Standard
11510 \begin_inset ERT
11511 status collapsed
11512
11513 \begin_layout Standard
11514
11515
11516 \backslash
11517 cmidrule(r){2-2}
11518 \end_layout
11519
11520 \end_inset
11521
11522
11523 \begin_inset ERT
11524 status collapsed
11525
11526 \begin_layout Standard
11527
11528
11529 \backslash
11530 cmidrule(l){3-4}
11531 \end_layout
11532
11533 \end_inset
11534
11535 Detector thickness [µm]
11536 \end_layout
11537
11538 \end_inset
11539 </cell>
11540 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11541 \begin_inset Text
11542
11543 \begin_layout Standard
11544 300
11545 \end_layout
11546
11547 \end_inset
11548 </cell>
11549 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11550 \begin_inset Text
11551
11552 \begin_layout Standard
11553 300
11554 \end_layout
11555
11556 \end_inset
11557 </cell>
11558 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11559 \begin_inset Text
11560
11561 \begin_layout Standard
11562 700
11563 \end_layout
11564
11565 \end_inset
11566 </cell>
11567 </row>
11568 <row topline="true">
11569 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11570 \begin_inset Text
11571
11572 \begin_layout Standard
11573 Edge angle [°]
11574 \end_layout
11575
11576 \end_inset
11577 </cell>
11578 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11579 \begin_inset Text
11580
11581 \begin_layout Standard
11582 3.55
11583 \end_layout
11584
11585 \end_inset
11586 </cell>
11587 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11588 \begin_inset Text
11589
11590 \begin_layout Standard
11591 2.71
11592 \end_layout
11593
11594 \end_inset
11595 </cell>
11596 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11597 \begin_inset Text
11598
11599 \begin_layout Standard
11600 7.99
11601 \end_layout
11602
11603 \end_inset
11604 </cell>
11605 </row>
11606 <row topspace="default">
11607 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11608 \begin_inset Text
11609
11610 \begin_layout Standard
11611 Spatial resolution [µm]
11612 \end_layout
11613
11614 \end_inset
11615 </cell>
11616 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11617 \begin_inset Text
11618
11619 \begin_layout Standard
11620 4.26
11621 \end_layout
11622
11623 \end_inset
11624 </cell>
11625 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11626 \begin_inset Text
11627
11628 \begin_layout Standard
11629 10.17
11630 \end_layout
11631
11632 \end_inset
11633 </cell>
11634 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11635 \begin_inset Text
11636
11637 \begin_layout Standard
11638 10.56
11639 \end_layout
11640
11641 \end_inset
11642 </cell>
11643 </row>
11644 <row topspace="default">
11645 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11646 \begin_inset Text
11647
11648 \begin_layout Standard
11649 MTF at 
11650 \begin_inset Formula $f_{\mathrm{max}}$
11651 \end_inset
11652
11653
11654 \end_layout
11655
11656 \end_inset
11657 </cell>
11658 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11659 \begin_inset Text
11660
11661 \begin_layout Standard
11662 0.53
11663 \end_layout
11664
11665 \end_inset
11666 </cell>
11667 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11668 \begin_inset Text
11669
11670 \begin_layout Standard
11671 0.37
11672 \end_layout
11673
11674 \end_inset
11675 </cell>
11676 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11677 \begin_inset Text
11678
11679 \begin_layout Standard
11680 0.39
11681 \end_layout
11682
11683 \end_inset
11684 </cell>
11685 </row>
11686 <row topspace="default">
11687 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11688 \begin_inset Text
11689
11690 \begin_layout Standard
11691 \begin_inset ERT
11692 status collapsed
11693
11694 \begin_layout Standard
11695
11696
11697 \backslash
11698 cmidrule(l{10pt}){1-1}
11699 \end_layout
11700
11701 \end_inset
11702
11703 LSF-spatial resolution
11704 \end_layout
11705
11706 \end_inset
11707 </cell>
11708 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11709 \begin_inset Text
11710
11711 \begin_layout Standard
11712
11713 \end_layout
11714
11715 \end_inset
11716 </cell>
11717 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11718 \begin_inset Text
11719
11720 \begin_layout Standard
11721
11722 \end_layout
11723
11724 \end_inset
11725 </cell>
11726 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11727 \begin_inset Text
11728
11729 \begin_layout Standard
11730
11731 \end_layout
11732
11733 \end_inset
11734 </cell>
11735 </row>
11736 <row>
11737 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11738 \begin_inset Text
11739
11740 \begin_layout Standard
11741 in Âµm
11742 \end_layout
11743
11744 \end_inset
11745 </cell>
11746 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11747 \begin_inset Text
11748
11749 \begin_layout Standard
11750 129.7
11751 \end_layout
11752
11753 \end_inset
11754 </cell>
11755 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11756 \begin_inset Text
11757
11758 \begin_layout Standard
11759 52.75
11760 \end_layout
11761
11762 \end_inset
11763 </cell>
11764 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11765 \begin_inset Text
11766
11767 \begin_layout Standard
11768 50.78
11769 \end_layout
11770
11771 \end_inset
11772 </cell>
11773 </row>
11774 <row bottomline="true">
11775 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11776 \begin_inset Text
11777
11778 \begin_layout Standard
11779 in % of pixel size
11780 \end_layout
11781
11782 \end_inset
11783 </cell>
11784 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11785 \begin_inset Text
11786
11787 \begin_layout Standard
11788 76.3
11789 \end_layout
11790
11791 \end_inset
11792 </cell>
11793 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11794 \begin_inset Text
11795
11796 \begin_layout Standard
11797 95.9
11798 \end_layout
11799
11800 \end_inset
11801 </cell>
11802 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11803 \begin_inset Text
11804
11805 \begin_layout Standard
11806 92.3
11807 \end_layout
11808
11809 \end_inset
11810 </cell>
11811 </row>
11812 </lyxtabular>
11813
11814 \end_inset
11815
11816
11817 \end_layout
11818
11819 \end_inset
11820
11821
11822 \end_layout
11823
11824 \begin_layout Standard
11825 Spaces to table rows can be added using the 
11826 \family sans
11827 Borders
11828 \family default
11829  tab of the table dialog as described in section\InsetSpace ~
11830
11831 \begin_inset LatexCommand ref
11832 reference "sub:Row-Spacing"
11833
11834 \end_inset
11835
11836 .
11837 \end_layout
11838
11839 \begin_layout Standard
11840 In contrary to normal tables, formal tables have no vertical table lines.
11841  The horizontal table lines can be set like for normal tables but they appear
11842  with different width in the output:
11843 \newline
11844 The first and the last table line have
11845  a default width of 0.08\InsetSpace \thinspace{}
11846 em while the other lines have a default width of
11847  0.05\InsetSpace \thinspace{}
11848 em.
11849 \end_layout
11850
11851 \begin_layout Standard
11852 The default widths can be changed with the following preamble lines
11853 \end_layout
11854
11855 \begin_layout Standard
11856
11857 \series bold
11858
11859 \backslash
11860 let
11861 \backslash
11862 mytoprule
11863 \backslash
11864 toprule
11865 \newline
11866
11867 \backslash
11868 renewcommand{
11869 \backslash
11870 toprule}{
11871 \backslash
11872 mytoprule[width]}
11873 \end_layout
11874
11875 \begin_layout Standard
11876 This example is for the first line, the so called 
11877 \series bold
11878 toprule
11879 \series default
11880 .
11881  If you want to change the width for the last line, replace 
11882 \series bold
11883 toprule
11884 \series default
11885  by 
11886 \series bold
11887 bottomrule
11888 \series default
11889 .
11890  To change the width for the other lines replace 
11891 \series bold
11892 toprule
11893 \series default
11894  by 
11895 \series bold
11896 midrule
11897 \series default
11898 .
11899  You can use all units listed in appendix\InsetSpace ~
11900
11901 \begin_inset LatexCommand ref
11902 reference "cha:Units-available-in"
11903
11904 \end_inset
11905
11906  to set the width.
11907 \end_layout
11908
11909 \begin_layout Standard
11910 Lines that don't span over all table columns can be created by setting a
11911  table line for multicolumn cells.
11912  LyX will then internally use the command 
11913 \series bold
11914
11915 \backslash
11916 cmidrule
11917 \series default
11918  to create this line.
11919  Its full scheme is
11920 \end_layout
11921
11922 \begin_layout Standard
11923
11924 \series bold
11925
11926 \backslash
11927 cmidrule[width](trim){startcol-endcol}
11928 \end_layout
11929
11930 \begin_layout Standard
11931 The options of 
11932 \series bold
11933
11934 \backslash
11935 cmidrule
11936 \series default
11937  are are currently not supported by LyX so you have to use ERT to be able
11938  to use them.
11939  
11940 \series bold
11941
11942 \backslash
11943 cmidrule
11944 \series default
11945 s can manually be created by inserting the command as ERT as first cell
11946  entry of the first cell of a row.
11947  The line is then drawn in the output above the current row.
11948 \end_layout
11949
11950 \begin_layout Standard
11951 The default for the width is 0.03\InsetSpace \thinspace{}
11952 em.
11953  Startcol is the number of the column where the line starts and endcol the
11954  column number where the line ends.
11955  The endcol always needs to be specified, also when the line should span
11956  only one column.
11957  The optional parameter trim could be either 
11958 \emph on
11959 l{trimwidth}
11960 \emph default
11961 , or 
11962 \emph on
11963 r{trimwidth}
11964 \emph default
11965  where the trimwidth is also optional.
11966  Using for example the parameter 
11967 \emph on
11968 l{2pt}
11969 \emph default
11970  means that the line is trimmed from its left end by 2\InsetSpace \thinspace{}
11971 pt.
11972  If you don't specify the trimwidth the lines are trimmed by the default
11973  of 0.5\InsetSpace \thinspace{}
11974 em.
11975 \end_layout
11976
11977 \begin_layout Standard
11978 \begin_inset VSpace bigskip
11979 \end_inset
11980
11981 Table\InsetSpace ~
11982
11983 \begin_inset LatexCommand ref
11984 reference "tab:Example-booktabs-table"
11985
11986 \end_inset
11987
11988  was created using the commands
11989 \end_layout
11990
11991 \begin_layout Standard
11992
11993 \series bold
11994
11995 \backslash
11996 cmidrule(r){2-2}
11997 \backslash
11998 cmidrule(l){3-4}
11999 \end_layout
12000
12001 \begin_layout Standard
12002 at the beginning of the in the second row and
12003 \end_layout
12004
12005 \begin_layout Standard
12006
12007 \series bold
12008
12009 \backslash
12010 cmidrule(l{10pt}){1-1}
12011 \end_layout
12012
12013 \begin_layout Standard
12014 in the sixth row.
12015 \end_layout
12016
12017 \begin_layout Standard
12018 \begin_inset VSpace bigskip
12019 \end_inset
12020
12021
12022 \end_layout
12023
12024 \begin_layout Standard
12025 You might want to have overlapping 
12026 \series bold
12027
12028 \backslash
12029 cmidrule
12030 \series default
12031 s like in Table\InsetSpace ~
12032
12033 \begin_inset LatexCommand ref
12034 reference "tab:Special-booktabs-table"
12035
12036 \end_inset
12037
12038 .
12039  This can be achieved with the ERT command
12040 \end_layout
12041
12042 \begin_layout Standard
12043
12044 \series bold
12045
12046 \backslash
12047 morecmidrules
12048 \end_layout
12049
12050 \begin_layout Standard
12051 The command that was used for the second row of Table\InsetSpace ~
12052
12053 \begin_inset LatexCommand ref
12054 reference "tab:Special-booktabs-table"
12055
12056 \end_inset
12057
12058  is
12059 \end_layout
12060
12061 \begin_layout Standard
12062
12063 \series bold
12064
12065 \backslash
12066 cmidrule(r){2-2}
12067 \backslash
12068 cmidrule(l){3-4}
12069 \backslash
12070 morecmidrules
12071 \backslash
12072 cmidrule{2-4}
12073 \end_layout
12074
12075 \begin_layout Standard
12076 The command for the sixth row is
12077 \end_layout
12078
12079 \begin_layout Standard
12080
12081 \series bold
12082
12083 \backslash
12084 midrule
12085 \backslash
12086 morecmidrules
12087 \backslash
12088 cmidrule{3-4}
12089 \end_layout
12090
12091 \begin_layout Standard
12092 \begin_inset VSpace bigskip
12093 \end_inset
12094
12095
12096 \end_layout
12097
12098 \begin_layout Standard
12099 If you are anyway not satisfied with the border line spacing, you can use
12100  the following command to produce lines that span over all table columns
12101 \series bold
12102 :
12103 \end_layout
12104
12105 \begin_layout Standard
12106
12107 \series bold
12108
12109 \backslash
12110 specialrule{width}{space above}{space below}
12111 \end_layout
12112
12113 \begin_layout Standard
12114 For more informations about these specialties, we refer to the manual of
12115  the LaTeX-package 
12116 \series bold
12117 booktabs
12118 \series default
12119  
12120 \begin_inset LatexCommand cite
12121 key "booktabs"
12122
12123 \end_inset
12124
12125 .
12126 \begin_inset LatexCommand index
12127 name "LaTeX-packages ! booktabs"
12128
12129 \end_inset
12130
12131
12132 \end_layout
12133
12134 \begin_layout Standard
12135 \begin_inset Float table
12136 placement h
12137 wide false
12138 sideways false
12139 status open
12140
12141 \begin_layout Standard
12142 \begin_inset Caption
12143
12144 \begin_layout Standard
12145 \begin_inset LatexCommand label
12146 name "tab:Special-booktabs-table"
12147
12148 \end_inset
12149
12150 Special booktabs-table
12151 \end_layout
12152
12153 \end_inset
12154
12155
12156 \end_layout
12157
12158 \begin_layout Standard
12159 \align center
12160 \begin_inset Tabular
12161 <lyxtabular version="3" rows="8" columns="4">
12162 <features booktabs="true">
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 <column alignment="center" valignment="top" width="0">
12167 <row topline="true">
12168 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12169 \begin_inset Text
12170
12171 \begin_layout Standard
12172 System
12173 \end_layout
12174
12175 \end_inset
12176 </cell>
12177 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12178 \begin_inset Text
12179
12180 \begin_layout Standard
12181 Medipix\InsetSpace \thinspace{}
12182 1
12183 \end_layout
12184
12185 \end_inset
12186 </cell>
12187 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" usebox="none">
12188 \begin_inset Text
12189
12190 \begin_layout Standard
12191 Medipix\InsetSpace \thinspace{}
12192 2
12193 \end_layout
12194
12195 \end_inset
12196 </cell>
12197 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12198 \begin_inset Text
12199
12200 \begin_layout Standard
12201
12202 \end_layout
12203
12204 \end_inset
12205 </cell>
12206 </row>
12207 <row>
12208 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12209 \begin_inset Text
12210
12211 \begin_layout Standard
12212 \begin_inset ERT
12213 status collapsed
12214
12215 \begin_layout Standard
12216
12217
12218 \backslash
12219 cmidrule(r){2-2}
12220 \end_layout
12221
12222 \end_inset
12223
12224
12225 \begin_inset ERT
12226 status collapsed
12227
12228 \begin_layout Standard
12229
12230
12231 \backslash
12232 cmidrule(l){3-4}
12233 \end_layout
12234
12235 \end_inset
12236
12237
12238 \begin_inset ERT
12239 status collapsed
12240
12241 \begin_layout Standard
12242
12243
12244 \backslash
12245 morecmidrules 
12246 \end_layout
12247
12248 \end_inset
12249
12250
12251 \begin_inset ERT
12252 status collapsed
12253
12254 \begin_layout Standard
12255
12256
12257 \backslash
12258 cmidrule{2-4}
12259 \end_layout
12260
12261 \end_inset
12262
12263 Detector thickness [µm]
12264 \end_layout
12265
12266 \end_inset
12267 </cell>
12268 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12269 \begin_inset Text
12270
12271 \begin_layout Standard
12272 300
12273 \end_layout
12274
12275 \end_inset
12276 </cell>
12277 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12278 \begin_inset Text
12279
12280 \begin_layout Standard
12281 300
12282 \end_layout
12283
12284 \end_inset
12285 </cell>
12286 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12287 \begin_inset Text
12288
12289 \begin_layout Standard
12290 700
12291 \end_layout
12292
12293 \end_inset
12294 </cell>
12295 </row>
12296 <row topline="true">
12297 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12298 \begin_inset Text
12299
12300 \begin_layout Standard
12301 Edge angle [°]
12302 \end_layout
12303
12304 \end_inset
12305 </cell>
12306 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12307 \begin_inset Text
12308
12309 \begin_layout Standard
12310 3.55
12311 \end_layout
12312
12313 \end_inset
12314 </cell>
12315 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12316 \begin_inset Text
12317
12318 \begin_layout Standard
12319 2.71
12320 \end_layout
12321
12322 \end_inset
12323 </cell>
12324 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12325 \begin_inset Text
12326
12327 \begin_layout Standard
12328 7.99
12329 \end_layout
12330
12331 \end_inset
12332 </cell>
12333 </row>
12334 <row topspace="default">
12335 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12336 \begin_inset Text
12337
12338 \begin_layout Standard
12339 Spatial resolution [µm]
12340 \end_layout
12341
12342 \end_inset
12343 </cell>
12344 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12345 \begin_inset Text
12346
12347 \begin_layout Standard
12348 4.26
12349 \end_layout
12350
12351 \end_inset
12352 </cell>
12353 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12354 \begin_inset Text
12355
12356 \begin_layout Standard
12357 10.17
12358 \end_layout
12359
12360 \end_inset
12361 </cell>
12362 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12363 \begin_inset Text
12364
12365 \begin_layout Standard
12366 10.56
12367 \end_layout
12368
12369 \end_inset
12370 </cell>
12371 </row>
12372 <row topspace="default">
12373 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12374 \begin_inset Text
12375
12376 \begin_layout Standard
12377 MTF at 
12378 \begin_inset Formula $f_{\mathrm{max}}$
12379 \end_inset
12380
12381
12382 \end_layout
12383
12384 \end_inset
12385 </cell>
12386 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12387 \begin_inset Text
12388
12389 \begin_layout Standard
12390 0.53
12391 \end_layout
12392
12393 \end_inset
12394 </cell>
12395 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12396 \begin_inset Text
12397
12398 \begin_layout Standard
12399 0.37
12400 \end_layout
12401
12402 \end_inset
12403 </cell>
12404 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12405 \begin_inset Text
12406
12407 \begin_layout Standard
12408 0.39
12409 \end_layout
12410
12411 \end_inset
12412 </cell>
12413 </row>
12414 <row topline="true">
12415 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12416 \begin_inset Text
12417
12418 \begin_layout Standard
12419 \begin_inset ERT
12420 status collapsed
12421
12422 \begin_layout Standard
12423
12424
12425 \backslash
12426 morecmidrules 
12427 \end_layout
12428
12429 \end_inset
12430
12431
12432 \begin_inset ERT
12433 status collapsed
12434
12435 \begin_layout Standard
12436
12437
12438 \backslash
12439 cmidrule{3-4}
12440 \end_layout
12441
12442 \end_inset
12443
12444 LSF-spatial resolution
12445 \end_layout
12446
12447 \end_inset
12448 </cell>
12449 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12450 \begin_inset Text
12451
12452 \begin_layout Standard
12453
12454 \end_layout
12455
12456 \end_inset
12457 </cell>
12458 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12459 \begin_inset Text
12460
12461 \begin_layout Standard
12462
12463 \end_layout
12464
12465 \end_inset
12466 </cell>
12467 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12468 \begin_inset Text
12469
12470 \begin_layout Standard
12471
12472 \end_layout
12473
12474 \end_inset
12475 </cell>
12476 </row>
12477 <row>
12478 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12479 \begin_inset Text
12480
12481 \begin_layout Standard
12482 in Âµm
12483 \end_layout
12484
12485 \end_inset
12486 </cell>
12487 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12488 \begin_inset Text
12489
12490 \begin_layout Standard
12491 129.7
12492 \end_layout
12493
12494 \end_inset
12495 </cell>
12496 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12497 \begin_inset Text
12498
12499 \begin_layout Standard
12500 52.75
12501 \end_layout
12502
12503 \end_inset
12504 </cell>
12505 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12506 \begin_inset Text
12507
12508 \begin_layout Standard
12509 50.78
12510 \end_layout
12511
12512 \end_inset
12513 </cell>
12514 </row>
12515 <row bottomline="true">
12516 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12517 \begin_inset Text
12518
12519 \begin_layout Standard
12520 in % of pixel size
12521 \end_layout
12522
12523 \end_inset
12524 </cell>
12525 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12526 \begin_inset Text
12527
12528 \begin_layout Standard
12529 76.3
12530 \end_layout
12531
12532 \end_inset
12533 </cell>
12534 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12535 \begin_inset Text
12536
12537 \begin_layout Standard
12538 95.9
12539 \end_layout
12540
12541 \end_inset
12542 </cell>
12543 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12544 \begin_inset Text
12545
12546 \begin_layout Standard
12547 92.3
12548 \end_layout
12549
12550 \end_inset
12551 </cell>
12552 </row>
12553 </lyxtabular>
12554
12555 \end_inset
12556
12557
12558 \end_layout
12559
12560 \end_inset
12561
12562
12563 \end_layout
12564
12565 \begin_layout Section
12566 Vertical Table Alignment
12567 \begin_inset LatexCommand index
12568 name "Table ! Alignment"
12569
12570 \end_inset
12571
12572
12573 \end_layout
12574
12575 \begin_layout Standard
12576 To align tables vertically in a text line the table must be inside a box.
12577  The box can then be vertically aligned as described in section\InsetSpace ~
12578
12579 \begin_inset LatexCommand ref
12580 reference "sec:Box-Dialog"
12581
12582 \end_inset
12583
12584 .
12585 \end_layout
12586
12587 \begin_layout Standard
12588 In the following example the tables are inside a minipage
12589 \begin_inset Foot
12590 status collapsed
12591
12592 \begin_layout Standard
12593 Minipages are described in section\InsetSpace ~
12594
12595 \begin_inset LatexCommand ref
12596 reference "sec:Minipages"
12597
12598 \end_inset
12599
12600 .
12601 \end_layout
12602
12603 \end_inset
12604
12605  box that has a width of 15\InsetSpace \thinspace{}
12606 col%:
12607 \end_layout
12608
12609 \begin_layout Itemize
12610 test 
12611 \begin_inset Box Frameless
12612 position "t"
12613 hor_pos "c"
12614 has_inner_box 1
12615 inner_pos "c"
12616 use_parbox 0
12617 width "15col%"
12618 special "none"
12619 height "1in"
12620 height_special "totalheight"
12621 status collapsed
12622
12623 \begin_layout Standard
12624 \begin_inset Tabular
12625 <lyxtabular version="3" rows="3" columns="3">
12626 <features>
12627 <column alignment="center" valignment="top" leftline="true" width="0">
12628 <column alignment="center" valignment="top" leftline="true" width="0">
12629 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12630 <row topline="true">
12631 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12632 \begin_inset Text
12633
12634 \begin_layout Standard
12635 a
12636 \end_layout
12637
12638 \end_inset
12639 </cell>
12640 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12641 \begin_inset Text
12642
12643 \begin_layout Standard
12644 d
12645 \end_layout
12646
12647 \end_inset
12648 </cell>
12649 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12650 \begin_inset Text
12651
12652 \begin_layout Standard
12653 g
12654 \end_layout
12655
12656 \end_inset
12657 </cell>
12658 </row>
12659 <row topline="true">
12660 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12661 \begin_inset Text
12662
12663 \begin_layout Standard
12664 b
12665 \end_layout
12666
12667 \end_inset
12668 </cell>
12669 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12670 \begin_inset Text
12671
12672 \begin_layout Standard
12673 e
12674 \end_layout
12675
12676 \end_inset
12677 </cell>
12678 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12679 \begin_inset Text
12680
12681 \begin_layout Standard
12682 h
12683 \end_layout
12684
12685 \end_inset
12686 </cell>
12687 </row>
12688 <row topline="true" bottomline="true">
12689 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12690 \begin_inset Text
12691
12692 \begin_layout Standard
12693 c
12694 \end_layout
12695
12696 \end_inset
12697 </cell>
12698 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12699 \begin_inset Text
12700
12701 \begin_layout Standard
12702 f
12703 \end_layout
12704
12705 \end_inset
12706 </cell>
12707 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12708 \begin_inset Text
12709
12710 \begin_layout Standard
12711 i
12712 \end_layout
12713
12714 \end_inset
12715 </cell>
12716 </row>
12717 </lyxtabular>
12718
12719 \end_inset
12720
12721
12722 \end_layout
12723
12724 \end_inset
12725
12726  test 
12727 \begin_inset ERT
12728 status collapsed
12729
12730 \begin_layout Standard
12731
12732
12733 \backslash
12734 raisebox{0.85
12735 \backslash
12736 baselineskip}{
12737 \end_layout
12738
12739 \end_inset
12740
12741
12742 \begin_inset Box Frameless
12743 position "t"
12744 hor_pos "c"
12745 has_inner_box 1
12746 inner_pos "c"
12747 use_parbox 0
12748 width "15col%"
12749 special "none"
12750 height "1in"
12751 height_special "totalheight"
12752 status collapsed
12753
12754 \begin_layout Standard
12755 \begin_inset Tabular
12756 <lyxtabular version="3" rows="3" columns="3">
12757 <features>
12758 <column alignment="center" valignment="top" leftline="true" width="0">
12759 <column alignment="center" valignment="top" leftline="true" width="0">
12760 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12761 <row topline="true">
12762 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12763 \begin_inset Text
12764
12765 \begin_layout Standard
12766 a
12767 \end_layout
12768
12769 \end_inset
12770 </cell>
12771 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12772 \begin_inset Text
12773
12774 \begin_layout Standard
12775 d
12776 \end_layout
12777
12778 \end_inset
12779 </cell>
12780 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12781 \begin_inset Text
12782
12783 \begin_layout Standard
12784 g
12785 \end_layout
12786
12787 \end_inset
12788 </cell>
12789 </row>
12790 <row topline="true">
12791 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12792 \begin_inset Text
12793
12794 \begin_layout Standard
12795 b
12796 \end_layout
12797
12798 \end_inset
12799 </cell>
12800 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12801 \begin_inset Text
12802
12803 \begin_layout Standard
12804 e
12805 \end_layout
12806
12807 \end_inset
12808 </cell>
12809 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12810 \begin_inset Text
12811
12812 \begin_layout Standard
12813 h
12814 \end_layout
12815
12816 \end_inset
12817 </cell>
12818 </row>
12819 <row topline="true" bottomline="true">
12820 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12821 \begin_inset Text
12822
12823 \begin_layout Standard
12824 c
12825 \end_layout
12826
12827 \end_inset
12828 </cell>
12829 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12830 \begin_inset Text
12831
12832 \begin_layout Standard
12833 f
12834 \end_layout
12835
12836 \end_inset
12837 </cell>
12838 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12839 \begin_inset Text
12840
12841 \begin_layout Standard
12842 i
12843 \end_layout
12844
12845 \end_inset
12846 </cell>
12847 </row>
12848 </lyxtabular>
12849
12850 \end_inset
12851
12852
12853 \end_layout
12854
12855 \end_inset
12856
12857
12858 \begin_inset ERT
12859 status collapsed
12860
12861 \begin_layout Standard
12862
12863 }
12864 \end_layout
12865
12866 \end_inset
12867
12868
12869 \end_layout
12870
12871 \begin_layout Itemize
12872 test 
12873 \begin_inset Box Frameless
12874 position "c"
12875 hor_pos "c"
12876 has_inner_box 1
12877 inner_pos "c"
12878 use_parbox 0
12879 width "15col%"
12880 special "none"
12881 height "1in"
12882 height_special "totalheight"
12883 status collapsed
12884
12885 \begin_layout Standard
12886 \begin_inset Tabular
12887 <lyxtabular version="3" rows="3" columns="3">
12888 <features>
12889 <column alignment="center" valignment="top" leftline="true" width="0">
12890 <column alignment="center" valignment="top" leftline="true" width="0">
12891 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12892 <row topline="true">
12893 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12894 \begin_inset Text
12895
12896 \begin_layout Standard
12897 a
12898 \end_layout
12899
12900 \end_inset
12901 </cell>
12902 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12903 \begin_inset Text
12904
12905 \begin_layout Standard
12906 d
12907 \end_layout
12908
12909 \end_inset
12910 </cell>
12911 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12912 \begin_inset Text
12913
12914 \begin_layout Standard
12915 g
12916 \end_layout
12917
12918 \end_inset
12919 </cell>
12920 </row>
12921 <row topline="true">
12922 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12923 \begin_inset Text
12924
12925 \begin_layout Standard
12926 b
12927 \end_layout
12928
12929 \end_inset
12930 </cell>
12931 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12932 \begin_inset Text
12933
12934 \begin_layout Standard
12935 e
12936 \end_layout
12937
12938 \end_inset
12939 </cell>
12940 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12941 \begin_inset Text
12942
12943 \begin_layout Standard
12944 h
12945 \end_layout
12946
12947 \end_inset
12948 </cell>
12949 </row>
12950 <row topline="true" bottomline="true">
12951 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12952 \begin_inset Text
12953
12954 \begin_layout Standard
12955 c
12956 \end_layout
12957
12958 \end_inset
12959 </cell>
12960 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12961 \begin_inset Text
12962
12963 \begin_layout Standard
12964 f
12965 \end_layout
12966
12967 \end_inset
12968 </cell>
12969 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12970 \begin_inset Text
12971
12972 \begin_layout Standard
12973 i
12974 \end_layout
12975
12976 \end_inset
12977 </cell>
12978 </row>
12979 </lyxtabular>
12980
12981 \end_inset
12982
12983
12984 \end_layout
12985
12986 \end_inset
12987
12988
12989 \end_layout
12990
12991 \begin_layout Itemize
12992 test 
12993 \begin_inset Box Frameless
12994 position "b"
12995 hor_pos "c"
12996 has_inner_box 1
12997 inner_pos "c"
12998 use_parbox 0
12999 width "15col%"
13000 special "none"
13001 height "1in"
13002 height_special "totalheight"
13003 status collapsed
13004
13005 \begin_layout Standard
13006 \begin_inset Tabular
13007 <lyxtabular version="3" rows="3" columns="3">
13008 <features>
13009 <column alignment="center" valignment="top" leftline="true" width="0">
13010 <column alignment="center" valignment="top" leftline="true" width="0">
13011 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13012 <row topline="true">
13013 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13014 \begin_inset Text
13015
13016 \begin_layout Standard
13017 a
13018 \end_layout
13019
13020 \end_inset
13021 </cell>
13022 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13023 \begin_inset Text
13024
13025 \begin_layout Standard
13026 d
13027 \end_layout
13028
13029 \end_inset
13030 </cell>
13031 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13032 \begin_inset Text
13033
13034 \begin_layout Standard
13035 g
13036 \end_layout
13037
13038 \end_inset
13039 </cell>
13040 </row>
13041 <row topline="true">
13042 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13043 \begin_inset Text
13044
13045 \begin_layout Standard
13046 b
13047 \end_layout
13048
13049 \end_inset
13050 </cell>
13051 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13052 \begin_inset Text
13053
13054 \begin_layout Standard
13055 e
13056 \end_layout
13057
13058 \end_inset
13059 </cell>
13060 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13061 \begin_inset Text
13062
13063 \begin_layout Standard
13064 h
13065 \end_layout
13066
13067 \end_inset
13068 </cell>
13069 </row>
13070 <row topline="true" bottomline="true">
13071 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13072 \begin_inset Text
13073
13074 \begin_layout Standard
13075 c
13076 \end_layout
13077
13078 \end_inset
13079 </cell>
13080 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13081 \begin_inset Text
13082
13083 \begin_layout Standard
13084 f
13085 \end_layout
13086
13087 \end_inset
13088 </cell>
13089 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13090 \begin_inset Text
13091
13092 \begin_layout Standard
13093 i
13094 \end_layout
13095
13096 \end_inset
13097 </cell>
13098 </row>
13099 </lyxtabular>
13100
13101 \end_inset
13102
13103
13104 \end_layout
13105
13106 \end_inset
13107
13108  test 
13109 \begin_inset ERT
13110 status collapsed
13111
13112 \begin_layout Standard
13113
13114
13115 \backslash
13116 raisebox{-0.32
13117 \backslash
13118 baselineskip}{
13119 \end_layout
13120
13121 \end_inset
13122
13123
13124 \begin_inset Box Frameless
13125 position "b"
13126 hor_pos "c"
13127 has_inner_box 1
13128 inner_pos "c"
13129 use_parbox 0
13130 width "15col%"
13131 special "none"
13132 height "1in"
13133 height_special "totalheight"
13134 status collapsed
13135
13136 \begin_layout Standard
13137 \begin_inset Tabular
13138 <lyxtabular version="3" rows="3" columns="3">
13139 <features>
13140 <column alignment="center" valignment="top" leftline="true" width="0">
13141 <column alignment="center" valignment="top" leftline="true" width="0">
13142 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13143 <row topline="true">
13144 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13145 \begin_inset Text
13146
13147 \begin_layout Standard
13148 a
13149 \end_layout
13150
13151 \end_inset
13152 </cell>
13153 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13154 \begin_inset Text
13155
13156 \begin_layout Standard
13157 d
13158 \end_layout
13159
13160 \end_inset
13161 </cell>
13162 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13163 \begin_inset Text
13164
13165 \begin_layout Standard
13166 g
13167 \end_layout
13168
13169 \end_inset
13170 </cell>
13171 </row>
13172 <row topline="true">
13173 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13174 \begin_inset Text
13175
13176 \begin_layout Standard
13177 b
13178 \end_layout
13179
13180 \end_inset
13181 </cell>
13182 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13183 \begin_inset Text
13184
13185 \begin_layout Standard
13186 e
13187 \end_layout
13188
13189 \end_inset
13190 </cell>
13191 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13192 \begin_inset Text
13193
13194 \begin_layout Standard
13195 h
13196 \end_layout
13197
13198 \end_inset
13199 </cell>
13200 </row>
13201 <row topline="true" bottomline="true">
13202 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13203 \begin_inset Text
13204
13205 \begin_layout Standard
13206 c
13207 \end_layout
13208
13209 \end_inset
13210 </cell>
13211 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13212 \begin_inset Text
13213
13214 \begin_layout Standard
13215 f
13216 \end_layout
13217
13218 \end_inset
13219 </cell>
13220 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13221 \begin_inset Text
13222
13223 \begin_layout Standard
13224 i
13225 \end_layout
13226
13227 \end_inset
13228 </cell>
13229 </row>
13230 </lyxtabular>
13231
13232 \end_inset
13233
13234
13235 \end_layout
13236
13237 \end_inset
13238
13239
13240 \begin_inset ERT
13241 status collapsed
13242
13243 \begin_layout Standard
13244
13245 }
13246 \end_layout
13247
13248 \end_inset
13249
13250
13251 \end_layout
13252
13253 \begin_layout Standard
13254 As you can see, the content of the first and last table row is not correctly
13255  aligned with the text line where the table is in.
13256  To get this alignment, the minipage box must be set into a raisebox
13257 \begin_inset Foot
13258 status collapsed
13259
13260 \begin_layout Standard
13261 Raiseboxes are described in section\InsetSpace ~
13262
13263 \begin_inset LatexCommand ref
13264 reference "sub:Vertical-Alignment"
13265
13266 \end_inset
13267
13268 .
13269 \end_layout
13270
13271 \end_inset
13272
13273 .
13274  In the example above the second table in the first item is aligned using
13275  the ERT-command
13276 \end_layout
13277
13278 \begin_layout Standard
13279
13280 \series bold
13281
13282 \backslash
13283 raisebox{0.85
13284 \backslash
13285 baselineskip}{
13286 \end_layout
13287
13288 \begin_layout Standard
13289 before the box.
13290  Behind the box the closing brace 
13291 \series bold
13292 }
13293 \series default
13294  is inserted as ERT.
13295  For the second table in the last item the command
13296 \end_layout
13297
13298 \begin_layout Standard
13299
13300 \series bold
13301
13302 \backslash
13303 raisebox{-0.32
13304 \backslash
13305 baselineskip}{
13306 \end_layout
13307
13308 \begin_layout Standard
13309 is used.
13310 \end_layout
13311
13312 \begin_layout Standard
13313 \begin_inset Note Greyedout
13314 status open
13315
13316 \begin_layout Standard
13317
13318 \series bold
13319 Note:
13320 \series default
13321  The alignment of the table row content to the surrounding text line is
13322  not exact.
13323  The needed factor of the 
13324 \series bold
13325
13326 \backslash
13327 raisebox
13328 \series default
13329  command for this alignment depends on the document font, the font size,
13330  and the table line thickness.
13331 \end_layout
13332
13333 \end_inset
13334
13335
13336 \end_layout
13337
13338 \begin_layout Section
13339 Colored Tables
13340 \begin_inset LatexCommand label
13341 name "sec:Colored-Tables"
13342
13343 \end_inset
13344
13345
13346 \begin_inset LatexCommand index
13347 name "Table ! Color"
13348
13349 \end_inset
13350
13351
13352 \end_layout
13353
13354 \begin_layout Subsection
13355 Colored Cells
13356 \begin_inset LatexCommand index
13357 name "Table Color ! for Cells"
13358
13359 \end_inset
13360
13361
13362 \begin_inset LatexCommand index
13363 name "Color ! for Table Cells"
13364
13365 \end_inset
13366
13367
13368 \end_layout
13369
13370 \begin_layout Standard
13371 \begin_inset Float table
13372 placement h
13373 wide false
13374 sideways false
13375 status open
13376
13377 \begin_layout Standard
13378 \begin_inset Caption
13379
13380 \begin_layout Standard
13381 \begin_inset LatexCommand label
13382 name "tab:Table-colored-without"
13383
13384 \end_inset
13385
13386 Table colored without using the package 
13387 \series bold
13388 colortbl
13389 \series default
13390
13391 \begin_inset OptArg
13392 status collapsed
13393
13394 \begin_layout Standard
13395 Table without colortbl
13396 \end_layout
13397
13398 \end_inset
13399
13400
13401 \end_layout
13402
13403 \end_inset
13404
13405
13406 \end_layout
13407
13408 \begin_layout Standard
13409 \align center
13410 \begin_inset Tabular
13411 <lyxtabular version="3" rows="3" columns="3">
13412 <features>
13413 <column alignment="center" valignment="top" leftline="true" width="0">
13414 <column alignment="center" valignment="top" leftline="true" width="0">
13415 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13416 <row topline="true">
13417 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13418 \begin_inset Text
13419
13420 \begin_layout Standard
13421
13422 \color green
13423 a
13424 \end_layout
13425
13426 \end_inset
13427 </cell>
13428 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13429 \begin_inset Text
13430
13431 \begin_layout Standard
13432
13433 \color red
13434 b
13435 \end_layout
13436
13437 \end_inset
13438 </cell>
13439 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13440 \begin_inset Text
13441
13442 \begin_layout Standard
13443
13444 \color red
13445 c
13446 \end_layout
13447
13448 \end_inset
13449 </cell>
13450 </row>
13451 <row topline="true">
13452 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13453 \begin_inset Text
13454
13455 \begin_layout Standard
13456
13457 \color green
13458 d
13459 \end_layout
13460
13461 \end_inset
13462 </cell>
13463 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13464 \begin_inset Text
13465
13466 \begin_layout Standard
13467
13468 \color blue
13469 e
13470 \end_layout
13471
13472 \end_inset
13473 </cell>
13474 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13475 \begin_inset Text
13476
13477 \begin_layout Standard
13478
13479 \color blue
13480 f
13481 \end_layout
13482
13483 \end_inset
13484 </cell>
13485 </row>
13486 <row topline="true" bottomline="true">
13487 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13488 \begin_inset Text
13489
13490 \begin_layout Standard
13491
13492 \color green
13493 g
13494 \end_layout
13495
13496 \end_inset
13497 </cell>
13498 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13499 \begin_inset Text
13500
13501 \begin_layout Standard
13502
13503 \color blue
13504 h
13505 \end_layout
13506
13507 \end_inset
13508 </cell>
13509 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13510 \begin_inset Text
13511
13512 \begin_layout Standard
13513
13514 \color blue
13515 i
13516 \end_layout
13517
13518 \end_inset
13519 </cell>
13520 </row>
13521 </lyxtabular>
13522
13523 \end_inset
13524
13525
13526 \end_layout
13527
13528 \end_inset
13529
13530
13531 \end_layout
13532
13533 \begin_layout Standard
13534 If you only need colored text, mark the cells and choose a color in the
13535  menu 
13536 \family sans
13537 Edit\SpecialChar \menuseparator
13538 Text\InsetSpace ~
13539 Style
13540 \family default
13541 .
13542  This was used to create Table\InsetSpace ~
13543
13544 \begin_inset LatexCommand ref
13545 reference "tab:Table-colored-without"
13546
13547 \end_inset
13548
13549 .
13550  In any other case you have to use the LaTeX-package 
13551 \series bold
13552 colortbl
13553 \series default
13554 .
13555 \begin_inset LatexCommand index
13556 name "LaTeX-packages ! colortbl"
13557
13558 \end_inset
13559
13560
13561 \end_layout
13562
13563 \begin_layout Standard
13564 To create colored tables, 
13565 \series bold
13566 colortbl
13567 \series default
13568  must be loaded in the preamble with the line
13569 \end_layout
13570
13571 \begin_layout Standard
13572
13573 \series bold
13574
13575 \backslash
13576 usepackage{colortbl}
13577 \end_layout
13578
13579 \begin_layout Standard
13580 The color of a column is adjusted with the command
13581 \end_layout
13582
13583 \begin_layout Standard
13584
13585 \series bold
13586
13587 \backslash
13588 columncolor{name of color}
13589 \end_layout
13590
13591 \begin_layout Standard
13592 inside the command 
13593 \series bold
13594 >{ }
13595 \series default
13596 .
13597  More about the command 
13598 \series bold
13599 >{}
13600 \series default
13601  is described in section\InsetSpace ~
13602
13603 \begin_inset LatexCommand ref
13604 reference "sub:Multicolumn-Calculations"
13605
13606 \end_inset
13607
13608 .
13609 \end_layout
13610
13611 \begin_layout Standard
13612 The following color names are predefined:
13613 \end_layout
13614
13615 \begin_layout Standard
13616
13617 \family sans
13618 red
13619 \family default
13620
13621 \family sans
13622 green
13623 \family default
13624
13625 \family sans
13626 yellow
13627 \family default
13628
13629 \family sans
13630 blue
13631 \family default
13632
13633 \family sans
13634 cyan
13635 \family default
13636
13637 \family sans
13638 magenta
13639 \family default
13640
13641 \family sans
13642 black
13643 \family default
13644  and 
13645 \family sans
13646 white
13647 \end_layout
13648
13649 \begin_layout Standard
13650 \begin_inset VSpace medskip
13651 \end_inset
13652
13653
13654 \end_layout
13655
13656 \begin_layout Standard
13657 You can also define your own color with the command
13658 \end_layout
13659
13660 \begin_layout Standard
13661
13662 \series bold
13663
13664 \backslash
13665 def\SpecialChar \textcompwordmark{}
13666 inecolor{color name}{color model}{color values}
13667 \end_layout
13668
13669 \begin_layout Standard
13670 The color model can be
13671 \end_layout
13672
13673 \begin_layout Labeling
13674 \labelwidthstring 00.00.0000
13675 cmyk: cyan, magenta, yellow, black
13676 \end_layout
13677
13678 \begin_layout Labeling
13679 \labelwidthstring 00.00.0000
13680 rgb: red, green blue
13681 \end_layout
13682
13683 \begin_layout Labeling
13684 \labelwidthstring 00.00.0000
13685 gray gray
13686 \end_layout
13687
13688 \begin_layout Standard
13689 and the color values are comma separated numbers between 0 and 1 describing
13690  the factor for the corresponding color of the color model.
13691 \end_layout
13692
13693 \begin_layout Standard
13694 You can e.\InsetSpace \thinspace{}
13695 g.\InsetSpace ~
13696 define the color "
13697 \emph on
13698 darkgreen
13699 \emph default
13700 " in the preamble with
13701 \end_layout
13702
13703 \begin_layout Standard
13704
13705 \series bold
13706
13707 \backslash
13708 def\SpecialChar \textcompwordmark{}
13709 inecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
13710 \end_layout
13711
13712 \begin_layout Standard
13713 and the color "
13714 \emph on
13715 lightgray
13716 \emph default
13717 " with
13718 \end_layout
13719
13720 \begin_layout Standard
13721
13722 \series bold
13723
13724 \backslash
13725 def\SpecialChar \textcompwordmark{}
13726 inecolor{lightgray}{gray}{0.8}
13727 \end_layout
13728
13729 \begin_layout Standard
13730 \begin_inset VSpace medskip
13731 \end_inset
13732
13733
13734 \end_layout
13735
13736 \begin_layout Standard
13737 Lines are colored with the command
13738 \end_layout
13739
13740 \begin_layout Standard
13741
13742 \series bold
13743
13744 \backslash
13745 rowcolor{name of color}
13746 \end_layout
13747
13748 \begin_layout Standard
13749 and cells are colored with the command
13750 \end_layout
13751
13752 \begin_layout Standard
13753
13754 \series bold
13755
13756 \backslash
13757 cellcolor{name of color}
13758 \end_layout
13759
13760 \begin_layout Standard
13761 Both commands are inserted at the beginning of a cell as ERT.
13762 \end_layout
13763
13764 \begin_layout Standard
13765 To color characters in the table, mark the cells and use the LyX menu 
13766 \family sans
13767 Edit\SpecialChar \menuseparator
13768 Text\InsetSpace ~
13769 Style
13770 \family default
13771 .
13772  If a cell contains ERT mark only the characters, otherwise the colored
13773  ERT will cause LaTeX-errors.
13774 \end_layout
13775
13776 \begin_layout Standard
13777 \begin_inset Note Greyedout
13778 status open
13779
13780 \begin_layout Standard
13781
13782 \series bold
13783 Note:
13784 \series default
13785  Not all DVI-viewers are able to display self-defined colors.
13786 \end_layout
13787
13788 \end_inset
13789
13790
13791 \end_layout
13792
13793 \begin_layout Standard
13794 \begin_inset VSpace bigskip
13795 \end_inset
13796
13797
13798 \end_layout
13799
13800 \begin_layout Standard
13801 To create Table\InsetSpace ~
13802
13803 \begin_inset LatexCommand ref
13804 reference "tab:Table-colored-using"
13805
13806 \end_inset
13807
13808  do the following: The color of the first column should be 
13809 \emph on
13810 darkgreen
13811 \emph default
13812 .
13813  So insert
13814 \end_layout
13815
13816 \begin_layout Standard
13817
13818 \series bold
13819 >{
13820 \backslash
13821 columncolor{darkgreen}
13822 \backslash
13823 centering}c
13824 \end_layout
13825
13826 \begin_layout Standard
13827 as LaTeX-argument for this column.
13828  The first row should be blue, therefore the ERT command
13829 \end_layout
13830
13831 \begin_layout Standard
13832
13833 \series bold
13834
13835 \backslash
13836 rowcolow{cyan}
13837 \end_layout
13838
13839 \begin_layout Standard
13840 is inserted to the first cell of this row.
13841  Note that this overwrites the column color for the first cell.
13842  The last cell of the last row is colored magenta by inserting the ERT command
13843 \end_layout
13844
13845 \begin_layout Standard
13846
13847 \series bold
13848
13849 \backslash
13850 cellcolor{magenta}
13851 \end_layout
13852
13853 \begin_layout Standard
13854 The characters could now be colored using the menu 
13855 \family sans
13856 Edit\SpecialChar \menuseparator
13857 Text\InsetSpace ~
13858 Style
13859 \family default
13860 .
13861 \end_layout
13862
13863 \begin_layout Standard
13864 \begin_inset Float table
13865 placement h
13866 wide false
13867 sideways false
13868 status open
13869
13870 \begin_layout Standard
13871 \begin_inset Caption
13872
13873 \begin_layout Standard
13874 \begin_inset LatexCommand label
13875 name "tab:Table-colored-using"
13876
13877 \end_inset
13878
13879 Table colored using the package 
13880 \series bold
13881 colortbl
13882 \series default
13883
13884 \begin_inset OptArg
13885 status collapsed
13886
13887 \begin_layout Standard
13888 Table with colortbl
13889 \end_layout
13890
13891 \end_inset
13892
13893
13894 \end_layout
13895
13896 \end_inset
13897
13898
13899 \end_layout
13900
13901 \begin_layout Standard
13902 \align center
13903 \begin_inset Tabular
13904 <lyxtabular version="3" rows="3" columns="3">
13905 <features>
13906 <column alignment="center" valignment="top" width="0" special=">{\columncolor{darkgreen}\centering}c">
13907 <column alignment="center" valignment="top" width="0">
13908 <column alignment="center" valignment="top" width="0">
13909 <row>
13910 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13911 \begin_inset Text
13912
13913 \begin_layout Standard
13914 \begin_inset ERT
13915 status collapsed
13916
13917 \begin_layout Standard
13918
13919
13920 \backslash
13921 rowcolor{cyan}
13922 \end_layout
13923
13924 \end_inset
13925
13926
13927 \color magenta
13928 a
13929 \end_layout
13930
13931 \end_inset
13932 </cell>
13933 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13934 \begin_inset Text
13935
13936 \begin_layout Standard
13937
13938 \color red
13939 b
13940 \end_layout
13941
13942 \end_inset
13943 </cell>
13944 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13945 \begin_inset Text
13946
13947 \begin_layout Standard
13948
13949 \color red
13950 c
13951 \end_layout
13952
13953 \end_inset
13954 </cell>
13955 </row>
13956 <row>
13957 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13958 \begin_inset Text
13959
13960 \begin_layout Standard
13961
13962 \color yellow
13963 d
13964 \end_layout
13965
13966 \end_inset
13967 </cell>
13968 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13969 \begin_inset Text
13970
13971 \begin_layout Standard
13972
13973 \color blue
13974 e
13975 \end_layout
13976
13977 \end_inset
13978 </cell>
13979 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13980 \begin_inset Text
13981
13982 \begin_layout Standard
13983
13984 \color blue
13985 f
13986 \end_layout
13987
13988 \end_inset
13989 </cell>
13990 </row>
13991 <row>
13992 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13993 \begin_inset Text
13994
13995 \begin_layout Standard
13996
13997 \color yellow
13998 g
13999 \end_layout
14000
14001 \end_inset
14002 </cell>
14003 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14004 \begin_inset Text
14005
14006 \begin_layout Standard
14007
14008 \color blue
14009 h
14010 \end_layout
14011
14012 \end_inset
14013 </cell>
14014 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14015 \begin_inset Text
14016
14017 \begin_layout Standard
14018 \begin_inset ERT
14019 status collapsed
14020
14021 \begin_layout Standard
14022
14023
14024 \backslash
14025 cellcolor{magenta}
14026 \end_layout
14027
14028 \end_inset
14029
14030
14031 \color green
14032 i
14033 \end_layout
14034
14035 \end_inset
14036 </cell>
14037 </row>
14038 </lyxtabular>
14039
14040 \end_inset
14041
14042
14043 \end_layout
14044
14045 \end_inset
14046
14047
14048 \end_layout
14049
14050 \begin_layout Subsection
14051 Colored Lines
14052 \begin_inset LatexCommand index
14053 name "Table Color ! for Lines"
14054
14055 \end_inset
14056
14057
14058 \begin_inset LatexCommand index
14059 name "Color ! for Table Lines"
14060
14061 \end_inset
14062
14063
14064 \end_layout
14065
14066 \begin_layout Standard
14067 As described in section\InsetSpace ~
14068
14069 \begin_inset LatexCommand ref
14070 reference "sub:Line-Thickness"
14071
14072 \end_inset
14073
14074 , the line thickness for all lines in a table can be adjusted with the length
14075  
14076 \series bold
14077
14078 \backslash
14079 arrayrulewidth
14080 \series default
14081 .
14082  It is set to 1.5\InsetSpace \thinspace{}
14083 pt for all tables of this section.
14084 \begin_inset ERT
14085 status collapsed
14086
14087 \begin_layout Standard
14088
14089
14090 \backslash
14091 setlength{
14092 \backslash
14093 arrayrulewidth}{1.5pt}
14094 \end_layout
14095
14096 \end_inset
14097
14098
14099 \end_layout
14100
14101 \begin_layout Standard
14102 To color vertical lines for example with green, create the following column
14103  format in the document preamble, according to the description in section\InsetSpace ~
14104
14105 \begin_inset LatexCommand ref
14106 reference "sub:Customized-Format"
14107
14108 \end_inset
14109
14110 :
14111 \end_layout
14112
14113 \begin_layout Standard
14114
14115 \series bold
14116
14117 \backslash
14118 newcolumntype{W}{!{
14119 \backslash
14120 color{green}
14121 \backslash
14122 vline}}
14123 \end_layout
14124
14125 \begin_layout Standard
14126 For Table\InsetSpace ~
14127
14128 \begin_inset LatexCommand ref
14129 reference "tab:Table-with-vertical-colored"
14130
14131 \end_inset
14132
14133  the LaTeX-argument
14134 \series bold
14135  WcW
14136 \series default
14137  was used for the last column and
14138 \series bold
14139  Wc
14140 \series default
14141  for the other columns.
14142 \end_layout
14143
14144 \begin_layout Standard
14145 If you want to have several colors, define more column formats.
14146 \end_layout
14147
14148 \begin_layout Standard
14149 \begin_inset Float table
14150 wide false
14151 sideways false
14152 status open
14153
14154 \begin_layout Standard
14155 \begin_inset Caption
14156
14157 \begin_layout Standard
14158 \begin_inset LatexCommand label
14159 name "tab:Table-with-vertical-colored"
14160
14161 \end_inset
14162
14163 Table with colored vertical lines
14164 \end_layout
14165
14166 \end_inset
14167
14168
14169 \end_layout
14170
14171 \begin_layout Standard
14172 \align center
14173 \begin_inset Tabular
14174 <lyxtabular version="3" rows="3" columns="3">
14175 <features>
14176 <column alignment="center" valignment="top" width="0" special="Wc">
14177 <column alignment="center" valignment="top" width="0" special="Wc">
14178 <column alignment="center" valignment="top" width="0" special="WcW">
14179 <row topline="true">
14180 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14181 \begin_inset Text
14182
14183 \begin_layout Standard
14184 sd
14185 \end_layout
14186
14187 \end_inset
14188 </cell>
14189 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14190 \begin_inset Text
14191
14192 \begin_layout Standard
14193
14194 \end_layout
14195
14196 \end_inset
14197 </cell>
14198 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14199 \begin_inset Text
14200
14201 \begin_layout Standard
14202
14203 \end_layout
14204
14205 \end_inset
14206 </cell>
14207 </row>
14208 <row topline="true">
14209 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14210 \begin_inset Text
14211
14212 \begin_layout Standard
14213
14214 \end_layout
14215
14216 \end_inset
14217 </cell>
14218 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14219 \begin_inset Text
14220
14221 \begin_layout Standard
14222 sd
14223 \end_layout
14224
14225 \end_inset
14226 </cell>
14227 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14228 \begin_inset Text
14229
14230 \begin_layout Standard
14231
14232 \end_layout
14233
14234 \end_inset
14235 </cell>
14236 </row>
14237 <row topline="true" bottomline="true">
14238 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14239 \begin_inset Text
14240
14241 \begin_layout Standard
14242
14243 \end_layout
14244
14245 \end_inset
14246 </cell>
14247 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14248 \begin_inset Text
14249
14250 \begin_layout Standard
14251
14252 \end_layout
14253
14254 \end_inset
14255 </cell>
14256 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14257 \begin_inset Text
14258
14259 \begin_layout Standard
14260 sd
14261 \end_layout
14262
14263 \end_inset
14264 </cell>
14265 </row>
14266 </lyxtabular>
14267
14268 \end_inset
14269
14270
14271 \end_layout
14272
14273 \end_inset
14274
14275
14276 \end_layout
14277
14278 \begin_layout Standard
14279 \begin_inset VSpace bigskip
14280 \end_inset
14281
14282 To color horizontal lines for example with red, like in Table\InsetSpace ~
14283
14284 \begin_inset LatexCommand ref
14285 reference "tab:Table-with-horizontal-colored"
14286
14287 \end_inset
14288
14289 , insert these commands in ERT before the table or table float:
14290 \end_layout
14291
14292 \begin_layout Standard
14293
14294 \series bold
14295
14296 \backslash
14297 let
14298 \backslash
14299 myHlineC
14300 \backslash
14301 hline
14302 \newline
14303
14304 \backslash
14305 renewcommand{
14306 \backslash
14307 hline}
14308 \newline
14309
14310 \begin_inset ERT
14311 status collapsed
14312
14313 \begin_layout Standard
14314
14315
14316 \backslash
14317 hphantom{ }
14318 \end_layout
14319
14320 \end_inset
14321
14322 {
14323 \backslash
14324 arrayrulecolor{red}
14325 \backslash
14326 myHlineC
14327 \backslash
14328 arrayrulecolor{black}}
14329 \end_layout
14330
14331 \begin_layout Standard
14332 \begin_inset ERT
14333 status collapsed
14334
14335 \begin_layout Standard
14336
14337
14338 \backslash
14339 let
14340 \backslash
14341 myHlineC
14342 \backslash
14343 hline
14344 \end_layout
14345
14346 \begin_layout Standard
14347
14348
14349 \backslash
14350 renewcommand{
14351 \backslash
14352 hline}
14353 \end_layout
14354
14355 \begin_layout Standard
14356
14357  {
14358 \backslash
14359 arrayrulecolor{red}
14360 \backslash
14361 myHlineC
14362 \backslash
14363 arrayrulecolor{black}}
14364 \end_layout
14365
14366 \end_inset
14367
14368
14369 \begin_inset Float table
14370 wide false
14371 sideways false
14372 status open
14373
14374 \begin_layout Standard
14375 \begin_inset Caption
14376
14377 \begin_layout Standard
14378 \begin_inset LatexCommand label
14379 name "tab:Table-with-horizontal-colored"
14380
14381 \end_inset
14382
14383 Table with colored horizontal lines
14384 \end_layout
14385
14386 \end_inset
14387
14388
14389 \end_layout
14390
14391 \begin_layout Standard
14392 \align center
14393 \begin_inset Tabular
14394 <lyxtabular version="3" rows="3" columns="3">
14395 <features>
14396 <column alignment="center" valignment="top" leftline="true" width="0">
14397 <column alignment="center" valignment="top" leftline="true" width="0">
14398 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14399 <row topline="true">
14400 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14401 \begin_inset Text
14402
14403 \begin_layout Standard
14404 sd
14405 \end_layout
14406
14407 \end_inset
14408 </cell>
14409 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14410 \begin_inset Text
14411
14412 \begin_layout Standard
14413
14414 \end_layout
14415
14416 \end_inset
14417 </cell>
14418 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14419 \begin_inset Text
14420
14421 \begin_layout Standard
14422
14423 \end_layout
14424
14425 \end_inset
14426 </cell>
14427 </row>
14428 <row topline="true">
14429 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14430 \begin_inset Text
14431
14432 \begin_layout Standard
14433
14434 \end_layout
14435
14436 \end_inset
14437 </cell>
14438 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14439 \begin_inset Text
14440
14441 \begin_layout Standard
14442 sd
14443 \end_layout
14444
14445 \end_inset
14446 </cell>
14447 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14448 \begin_inset Text
14449
14450 \begin_layout Standard
14451
14452 \end_layout
14453
14454 \end_inset
14455 </cell>
14456 </row>
14457 <row topline="true" bottomline="true">
14458 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14459 \begin_inset Text
14460
14461 \begin_layout Standard
14462
14463 \end_layout
14464
14465 \end_inset
14466 </cell>
14467 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14468 \begin_inset Text
14469
14470 \begin_layout Standard
14471
14472 \end_layout
14473
14474 \end_inset
14475 </cell>
14476 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14477 \begin_inset Text
14478
14479 \begin_layout Standard
14480 sd
14481 \end_layout
14482
14483 \end_inset
14484 </cell>
14485 </row>
14486 </lyxtabular>
14487
14488 \end_inset
14489
14490
14491 \end_layout
14492
14493 \end_inset
14494
14495
14496 \end_layout
14497
14498 \begin_layout Standard
14499 \begin_inset ERT
14500 status collapsed
14501
14502 \begin_layout Standard
14503
14504
14505 \backslash
14506 pagebreak 
14507 \end_layout
14508
14509 \end_inset
14510
14511
14512 \end_layout
14513
14514 \begin_layout Standard
14515 To return to the default line color black, insert this command in ERT behind
14516  the table or table float:
14517 \end_layout
14518
14519 \begin_layout Standard
14520
14521 \series bold
14522
14523 \backslash
14524 renewcommand{
14525 \backslash
14526 hline}{
14527 \backslash
14528 myHlineC}
14529 \end_layout
14530
14531 \begin_layout Standard
14532 Table\InsetSpace ~
14533
14534 \begin_inset LatexCommand ref
14535 reference "tab:Table-with-colored"
14536
14537 \end_inset
14538
14539  is an example with colored vertical and horizontal lines.
14540 \end_layout
14541
14542 \begin_layout Standard
14543 \begin_inset Float table
14544 placement h
14545 wide false
14546 sideways false
14547 status open
14548
14549 \begin_layout Standard
14550 \begin_inset Caption
14551
14552 \begin_layout Standard
14553 \begin_inset LatexCommand label
14554 name "tab:Table-with-colored"
14555
14556 \end_inset
14557
14558 Table with colored lines
14559 \end_layout
14560
14561 \end_inset
14562
14563
14564 \end_layout
14565
14566 \begin_layout Standard
14567 \align center
14568 \begin_inset Tabular
14569 <lyxtabular version="3" rows="3" columns="3">
14570 <features>
14571 <column alignment="center" valignment="top" width="0" special="Wc">
14572 <column alignment="center" valignment="top" width="0" special="Wc">
14573 <column alignment="center" valignment="top" width="0" special="WcW">
14574 <row topline="true">
14575 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14576 \begin_inset Text
14577
14578 \begin_layout Standard
14579 sd
14580 \end_layout
14581
14582 \end_inset
14583 </cell>
14584 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14585 \begin_inset Text
14586
14587 \begin_layout Standard
14588
14589 \end_layout
14590
14591 \end_inset
14592 </cell>
14593 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14594 \begin_inset Text
14595
14596 \begin_layout Standard
14597
14598 \end_layout
14599
14600 \end_inset
14601 </cell>
14602 </row>
14603 <row topline="true">
14604 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14605 \begin_inset Text
14606
14607 \begin_layout Standard
14608
14609 \end_layout
14610
14611 \end_inset
14612 </cell>
14613 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14614 \begin_inset Text
14615
14616 \begin_layout Standard
14617 sd
14618 \end_layout
14619
14620 \end_inset
14621 </cell>
14622 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14623 \begin_inset Text
14624
14625 \begin_layout Standard
14626
14627 \end_layout
14628
14629 \end_inset
14630 </cell>
14631 </row>
14632 <row topline="true" bottomline="true" topspace="default">
14633 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14634 \begin_inset Text
14635
14636 \begin_layout Standard
14637
14638 \end_layout
14639
14640 \end_inset
14641 </cell>
14642 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14643 \begin_inset Text
14644
14645 \begin_layout Standard
14646
14647 \end_layout
14648
14649 \end_inset
14650 </cell>
14651 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14652 \begin_inset Text
14653
14654 \begin_layout Standard
14655 sd
14656 \end_layout
14657
14658 \end_inset
14659 </cell>
14660 </row>
14661 </lyxtabular>
14662
14663 \end_inset
14664
14665
14666 \end_layout
14667
14668 \end_inset
14669
14670
14671 \end_layout
14672
14673 \begin_layout Standard
14674 \begin_inset ERT
14675 status collapsed
14676
14677 \begin_layout Standard
14678
14679
14680 \backslash
14681 renewcommand{
14682 \backslash
14683 hline}{
14684 \backslash
14685 myHlineC}
14686 \end_layout
14687
14688 \end_inset
14689
14690
14691 \end_layout
14692
14693 \begin_layout Standard
14694 \begin_inset ERT
14695 status collapsed
14696
14697 \begin_layout Standard
14698
14699
14700 \backslash
14701 setlength{
14702 \backslash
14703 arrayrulewidth}{0.4pt}
14704 \end_layout
14705
14706 \end_inset
14707
14708
14709 \end_layout
14710
14711 \begin_layout Section
14712 Table Customization
14713 \begin_inset LatexCommand index
14714 name "Table Customization"
14715
14716 \end_inset
14717
14718
14719 \begin_inset LatexCommand index
14720 name "Table ! Customization"
14721
14722 \end_inset
14723
14724
14725 \end_layout
14726
14727 \begin_layout Subsection
14728 Row Spacing
14729 \begin_inset LatexCommand label
14730 name "sub:Row-Spacing"
14731
14732 \end_inset
14733
14734
14735 \begin_inset LatexCommand index
14736 name "Table Customization ! Row Spacing"
14737
14738 \end_inset
14739
14740
14741 \end_layout
14742
14743 \begin_layout Standard
14744 You can add vertical space to table rows in the 
14745 \family sans
14746 Borders
14747 \family default
14748  tab of the table dialog.
14749  You find there three possibilities:
14750 \end_layout
14751
14752 \begin_layout Description
14753 Top\InsetSpace ~
14754 of\InsetSpace ~
14755 row will add space above the characters of the table row.
14756  If the table is a formal table
14757 \begin_inset Foot
14758 status collapsed
14759
14760 \begin_layout Standard
14761 Formal tables are explained in section\InsetSpace ~
14762
14763 \begin_inset LatexCommand ref
14764 reference "sec:Formal-Tables"
14765
14766 \end_inset
14767
14768 .
14769 \end_layout
14770
14771 \end_inset
14772
14773  LyX will insert as default 0.5\InsetSpace \thinspace{}
14774 em space.
14775  For normal tables the inserted space will unfortunately destroy the vertical
14776  table lines as in the following table:
14777 \begin_inset VSpace medskip
14778 \end_inset
14779
14780
14781 \newline
14782
14783 \begin_inset ERT
14784 status collapsed
14785
14786 \begin_layout Standard
14787
14788
14789 \backslash
14790 hspace*{0pt}
14791 \end_layout
14792
14793 \end_inset
14794
14795
14796 \hfill
14797
14798 \begin_inset Tabular
14799 <lyxtabular version="3" rows="3" columns="1">
14800 <features>
14801 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14802 <row topline="true">
14803 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14804 \begin_inset Text
14805
14806 \begin_layout Standard
14807 A
14808 \end_layout
14809
14810 \end_inset
14811 </cell>
14812 </row>
14813 <row topline="true" topspace="3mm">
14814 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14815 \begin_inset Text
14816
14817 \begin_layout Standard
14818 3\InsetSpace \thinspace{}
14819 mm space top of row
14820 \end_layout
14821
14822 \end_inset
14823 </cell>
14824 </row>
14825 <row topline="true" bottomline="true">
14826 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14827 \begin_inset Text
14828
14829 \begin_layout Standard
14830 C
14831 \end_layout
14832
14833 \end_inset
14834 </cell>
14835 </row>
14836 </lyxtabular>
14837
14838 \end_inset
14839
14840
14841 \hfill
14842
14843 \begin_inset ERT
14844 status collapsed
14845
14846 \begin_layout Standard
14847
14848
14849 \backslash
14850 hspace*{0pt}
14851 \end_layout
14852
14853 \end_inset
14854
14855
14856 \begin_inset VSpace medskip
14857 \end_inset
14858
14859
14860 \newline
14861 So inserting space to the top of row for normal tables is only useful when
14862  you don't have vertical lines.
14863 \end_layout
14864
14865 \begin_layout Description
14866 Bottom\InsetSpace ~
14867 of\InsetSpace ~
14868 row will add space below the characters of the table row.
14869  If the table is a formal table LyX will insert as default 0.5\InsetSpace \thinspace{}
14870 em space, for
14871  normal tables the default size is 2\InsetSpace \thinspace{}
14872 pt.
14873 \end_layout
14874
14875 \begin_layout Description
14876 Between\InsetSpace ~
14877 rows adds space between the current and the following row.
14878  If the table is a formal table LyX will insert as default 0.5\InsetSpace \thinspace{}
14879 em space.
14880  For normal tables the inserted space will unfortunately destroy the vertical
14881  table lines as in the following table:
14882 \begin_inset VSpace medskip
14883 \end_inset
14884
14885
14886 \newline
14887
14888 \begin_inset ERT
14889 status collapsed
14890
14891 \begin_layout Standard
14892
14893
14894 \backslash
14895 hspace*{0pt}
14896 \end_layout
14897
14898 \end_inset
14899
14900
14901 \hfill
14902
14903 \begin_inset Tabular
14904 <lyxtabular version="3" rows="3" columns="1">
14905 <features>
14906 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14907 <row topline="true">
14908 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14909 \begin_inset Text
14910
14911 \begin_layout Standard
14912 A
14913 \end_layout
14914
14915 \end_inset
14916 </cell>
14917 </row>
14918 <row topline="true" interlinespace="3mm">
14919 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14920 \begin_inset Text
14921
14922 \begin_layout Standard
14923 \begin_inset Formula $\downarrow$
14924 \end_inset
14925
14926  3\InsetSpace \thinspace{}
14927 mm space between row 
14928 \begin_inset Formula $\downarrow$
14929 \end_inset
14930
14931
14932 \end_layout
14933
14934 \end_inset
14935 </cell>
14936 </row>
14937 <row topline="true" bottomline="true">
14938 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14939 \begin_inset Text
14940
14941 \begin_layout Standard
14942 \begin_inset Formula $\uparrow$
14943 \end_inset
14944
14945  3\InsetSpace \thinspace{}
14946 mm space between row 
14947 \begin_inset Formula $\uparrow$
14948 \end_inset
14949
14950
14951 \end_layout
14952
14953 \end_inset
14954 </cell>
14955 </row>
14956 </lyxtabular>
14957
14958 \end_inset
14959
14960
14961 \hfill
14962
14963 \begin_inset ERT
14964 status collapsed
14965
14966 \begin_layout Standard
14967
14968
14969 \backslash
14970 hspace*{0pt}
14971 \end_layout
14972
14973 \end_inset
14974
14975
14976 \begin_inset VSpace medskip
14977 \end_inset
14978
14979
14980 \newline
14981 So inserting space between rows for normal tables is only useful when you
14982  don't have vertical lines.
14983 \end_layout
14984
14985 \begin_layout Standard
14986 \begin_inset VSpace bigskip
14987 \end_inset
14988
14989 When you want to add extra height to all cells of all tables, you can do
14990  this with the following preamble lines:
14991 \end_layout
14992
14993 \begin_layout Standard
14994
14995 \series bold
14996
14997 \backslash
14998 @ifundef\SpecialChar \textcompwordmark{}
14999 ined{extrarowheight}
15000 \newline
15001
15002 \begin_inset ERT
15003 status collapsed
15004
15005 \begin_layout Standard
15006
15007
15008 \backslash
15009 hphantom{ }
15010 \end_layout
15011
15012 \end_inset
15013
15014 {
15015 \backslash
15016 usepackage{array}}{}
15017 \newline
15018
15019 \backslash
15020 setlength{
15021 \backslash
15022 extrarowheight}{height}
15023 \end_layout
15024
15025 \begin_layout Standard
15026 But this has the disadvantage that the cell texts are no longer exactly
15027  vertically centered.
15028  (The package 
15029 \series bold
15030 array
15031 \series default
15032  will be loaded automatically by LyX when you use self defined table formats.
15033  To avoid that it is loaded twice the command 
15034 \series bold
15035
15036 \backslash
15037 @ifundef\SpecialChar \textcompwordmark{}
15038 ined
15039 \series default
15040  is used in the above command.)
15041 \end_layout
15042
15043 \begin_layout Subsection
15044 Special Cell Alignment
15045 \begin_inset LatexCommand index
15046 name "Table Customization ! Special Cell Alignment"
15047
15048 \end_inset
15049
15050
15051 \end_layout
15052
15053 \begin_layout Standard
15054 Sometimes it looks better when the cell entries of a column are aligned
15055  with a special character, e.\InsetSpace \thinspace{}
15056 g.\InsetSpace ~
15057 with the decimal separator as in Table\InsetSpace ~
15058
15059 \begin_inset LatexCommand ref
15060 reference "tab:Table-cells-of"
15061
15062 \end_inset
15063
15064 .
15065 \end_layout
15066
15067 \begin_layout Standard
15068 \begin_inset Float table
15069 placement h
15070 wide false
15071 sideways false
15072 status open
15073
15074 \begin_layout Standard
15075 \begin_inset Caption
15076
15077 \begin_layout Standard
15078 \begin_inset LatexCommand label
15079 name "tab:Table-cells-of"
15080
15081 \end_inset
15082
15083 Table cells of a column aligned with the decimal separator.
15084 \end_layout
15085
15086 \end_inset
15087
15088
15089 \end_layout
15090
15091 \begin_layout Standard
15092 \align center
15093 \begin_inset Tabular
15094 <lyxtabular version="3" rows="4" columns="2">
15095 <features>
15096 <column alignment="right" valignment="top" width="0">
15097 <column alignment="left" valignment="top" width="0" special="@{}l">
15098 <row bottomline="true">
15099 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15100 \begin_inset Text
15101
15102 \begin_layout Standard
15103 heading
15104 \end_layout
15105
15106 \end_inset
15107 </cell>
15108 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15109 \begin_inset Text
15110
15111 \begin_layout Standard
15112
15113 \end_layout
15114
15115 \end_inset
15116 </cell>
15117 </row>
15118 <row>
15119 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15120 \begin_inset Text
15121
15122 \begin_layout Standard
15123 12.
15124 \end_layout
15125
15126 \end_inset
15127 </cell>
15128 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15129 \begin_inset Text
15130
15131 \begin_layout Standard
15132 6
15133 \end_layout
15134
15135 \end_inset
15136 </cell>
15137 </row>
15138 <row>
15139 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15140 \begin_inset Text
15141
15142 \begin_layout Standard
15143 0.
15144 \end_layout
15145
15146 \end_inset
15147 </cell>
15148 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15149 \begin_inset Text
15150
15151 \begin_layout Standard
15152 68
15153 \end_layout
15154
15155 \end_inset
15156 </cell>
15157 </row>
15158 <row>
15159 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15160 \begin_inset Text
15161
15162 \begin_layout Standard
15163 -123.
15164 \end_layout
15165
15166 \end_inset
15167 </cell>
15168 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15169 \begin_inset Text
15170
15171 \begin_layout Standard
15172 0
15173 \end_layout
15174
15175 \end_inset
15176 </cell>
15177 </row>
15178 </lyxtabular>
15179
15180 \end_inset
15181
15182
15183 \end_layout
15184
15185 \end_inset
15186
15187
15188 \end_layout
15189
15190 \begin_layout Standard
15191 This table was created with a 4×2 table.
15192  The heading is a centered multicolumn.
15193  The first column is right-aligned and contains the digits before the decimal
15194  point and the decimal point.
15195  The second column is left aligned and contains the digits after the decimal
15196  point.
15197  To omit the space that is normally between two table columns, use the following
15198  LaTeX-argument for the second column:
15199 \end_layout
15200
15201 \begin_layout Standard
15202
15203 \series bold
15204 @{}l
15205 \end_layout
15206
15207 \begin_layout Standard
15208 Table\InsetSpace ~
15209
15210 \begin_inset LatexCommand ref
15211 reference "tab:Several-table-cell"
15212
15213 \end_inset
15214
15215  shows some example alignments.
15216  For the alignment with the relation sign, you must add the second smallest
15217  math-space at the beginning of the last column to get the correct space
15218  surrounding the relation sign.
15219 \end_layout
15220
15221 \begin_layout Standard
15222 \begin_inset Float table
15223 wide false
15224 sideways false
15225 status open
15226
15227 \begin_layout Standard
15228 \begin_inset Caption
15229
15230 \begin_layout Standard
15231 \begin_inset LatexCommand label
15232 name "tab:Several-table-cell"
15233
15234 \end_inset
15235
15236 Several table cell alignments.
15237 \end_layout
15238
15239 \end_inset
15240
15241
15242 \end_layout
15243
15244 \begin_layout Standard
15245 \align center
15246 \begin_inset Tabular
15247 <lyxtabular version="3" rows="4" columns="6">
15248 <features>
15249 <column alignment="right" valignment="top" width="0">
15250 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l">
15251 <column alignment="right" valignment="top" width="0">
15252 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l">
15253 <column alignment="right" valignment="top" width="0">
15254 <column alignment="left" valignment="top" width="0" special="@{}l">
15255 <row bottomline="true">
15256 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15257 \begin_inset Text
15258
15259 \begin_layout Standard
15260 units
15261 \end_layout
15262
15263 \end_inset
15264 </cell>
15265 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15266 \begin_inset Text
15267
15268 \begin_layout Standard
15269
15270 \end_layout
15271
15272 \end_inset
15273 </cell>
15274 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15275 \begin_inset Text
15276
15277 \begin_layout Standard
15278 exponents
15279 \end_layout
15280
15281 \end_inset
15282 </cell>
15283 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15284 \begin_inset Text
15285
15286 \begin_layout Standard
15287
15288 \end_layout
15289
15290 \end_inset
15291 </cell>
15292 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15293 \begin_inset Text
15294
15295 \begin_layout Standard
15296 relations
15297 \end_layout
15298
15299 \end_inset
15300 </cell>
15301 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15302 \begin_inset Text
15303
15304 \begin_layout Standard
15305
15306 \end_layout
15307
15308 \end_inset
15309 </cell>
15310 </row>
15311 <row>
15312 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15313 \begin_inset Text
15314
15315 \begin_layout Standard
15316 12×
15317 \end_layout
15318
15319 \end_inset
15320 </cell>
15321 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15322 \begin_inset Text
15323
15324 \begin_layout Standard
15325 24\InsetSpace \thinspace{}
15326 bottles
15327 \end_layout
15328
15329 \end_inset
15330 </cell>
15331 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15332 \begin_inset Text
15333
15334 \begin_layout Standard
15335 \begin_inset Formula $10\cdot$
15336 \end_inset
15337
15338
15339 \end_layout
15340
15341 \end_inset
15342 </cell>
15343 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15344 \begin_inset Text
15345
15346 \begin_layout Standard
15347 \begin_inset Formula $10^{\mbox{-}17}$
15348 \end_inset
15349
15350
15351 \end_layout
15352
15353 \end_inset
15354 </cell>
15355 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15356 \begin_inset Text
15357
15358 \begin_layout Standard
15359 \begin_inset Formula $\Gamma(t)\propto$
15360 \end_inset
15361
15362
15363 \end_layout
15364
15365 \end_inset
15366 </cell>
15367 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15368 \begin_inset Text
15369
15370 \begin_layout Standard
15371 \begin_inset Formula $\:\Upsilon(t)$
15372 \end_inset
15373
15374
15375 \end_layout
15376
15377 \end_inset
15378 </cell>
15379 </row>
15380 <row>
15381 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15382 \begin_inset Text
15383
15384 \begin_layout Standard
15385 1024×
15386 \end_layout
15387
15388 \end_inset
15389 </cell>
15390 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15391 \begin_inset Text
15392
15393 \begin_layout Standard
15394 768\InsetSpace \thinspace{}
15395 Pixels
15396 \end_layout
15397
15398 \end_inset
15399 </cell>
15400 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15401 \begin_inset Text
15402
15403 \begin_layout Standard
15404 \begin_inset Formula $5.78\cdot$
15405 \end_inset
15406
15407
15408 \end_layout
15409
15410 \end_inset
15411 </cell>
15412 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15413 \begin_inset Text
15414
15415 \begin_layout Standard
15416 \begin_inset Formula $10^{7}$
15417 \end_inset
15418
15419
15420 \end_layout
15421
15422 \end_inset
15423 </cell>
15424 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15425 \begin_inset Text
15426
15427 \begin_layout Standard
15428 \begin_inset Formula $A\ne$
15429 \end_inset
15430
15431
15432 \end_layout
15433
15434 \end_inset
15435 </cell>
15436 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15437 \begin_inset Text
15438
15439 \begin_layout Standard
15440 \begin_inset Formula $\: B_{\mathrm{red}}$
15441 \end_inset
15442
15443
15444 \end_layout
15445
15446 \end_inset
15447 </cell>
15448 </row>
15449 <row>
15450 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15451 \begin_inset Text
15452
15453 \begin_layout Standard
15454 32×
15455 \end_layout
15456
15457 \end_inset
15458 </cell>
15459 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15460 \begin_inset Text
15461
15462 \begin_layout Standard
15463 6\InsetSpace \thinspace{}
15464 cm
15465 \end_layout
15466
15467 \end_inset
15468 </cell>
15469 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15470 \begin_inset Text
15471
15472 \begin_layout Standard
15473 -
15474 \begin_inset Formula $33.5\cdot$
15475 \end_inset
15476
15477
15478 \end_layout
15479
15480 \end_inset
15481 </cell>
15482 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15483 \begin_inset Text
15484
15485 \begin_layout Standard
15486 \begin_inset Formula $10^{4}$
15487 \end_inset
15488
15489
15490 \end_layout
15491
15492 \end_inset
15493 </cell>
15494 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15495 \begin_inset Text
15496
15497 \begin_layout Standard
15498 \begin_inset Formula $\sin(\alpha)\ge$
15499 \end_inset
15500
15501
15502 \end_layout
15503
15504 \end_inset
15505 </cell>
15506 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15507 \begin_inset Text
15508
15509 \begin_layout Standard
15510 \begin_inset Formula $\:\sin(\beta)$
15511 \end_inset
15512
15513
15514 \end_layout
15515
15516 \end_inset
15517 </cell>
15518 </row>
15519 </lyxtabular>
15520
15521 \end_inset
15522
15523
15524 \end_layout
15525
15526 \end_inset
15527
15528
15529 \end_layout
15530
15531 \begin_layout Standard
15532 \begin_inset VSpace bigskip
15533 \end_inset
15534
15535 There is also the LaTeX-package 
15536 \series bold
15537 dcolumn
15538 \series default
15539
15540 \begin_inset LatexCommand index
15541 name "LaTeX-packages ! dcolumn"
15542
15543 \end_inset
15544
15545  that provides table cell alignments.
15546  But this unfortunately treats the cell entries as math and doesn't allow
15547  formulas in table cells: The first column of Table\InsetSpace ~
15548
15549 \begin_inset LatexCommand ref
15550 reference "tab:Several-table-cell"
15551
15552 \end_inset
15553
15554  will look with 
15555 \series bold
15556 dcolumn
15557 \series default
15558  like the first column in Table\InsetSpace ~
15559
15560 \begin_inset LatexCommand ref
15561 reference "tab:Alignments-when"
15562
15563 \end_inset
15564
15565  and only with some tricks like the expected.
15566  The alignment of the second and third column of Table\InsetSpace ~
15567
15568 \begin_inset LatexCommand ref
15569 reference "tab:Several-table-cell"
15570
15571 \end_inset
15572
15573  is not possible with 
15574 \series bold
15575 dcolumn
15576 \series default
15577 .
15578 \end_layout
15579
15580 \begin_layout Standard
15581 \begin_inset Float table
15582 placement h
15583 wide false
15584 sideways false
15585 status open
15586
15587 \begin_layout Standard
15588 \begin_inset Caption
15589
15590 \begin_layout Standard
15591 \begin_inset LatexCommand label
15592 name "tab:Alignments-when"
15593
15594 \end_inset
15595
15596 Alignments when LaTeX-package dcolumn is used.
15597  For all column alignments tricks have to be used to get the output.
15598 \end_layout
15599
15600 \end_inset
15601
15602
15603 \end_layout
15604
15605 \begin_layout Standard
15606 \align center
15607 \begin_inset Tabular
15608 <lyxtabular version="3" rows="4" columns="3">
15609 <features>
15610 <column alignment="center" valignment="top" rightline="true" width="0" special="D{x}{\times}{-1}">
15611 <column alignment="center" valignment="top" rightline="true" width="0" special="D{x}{\times}{4.9}">
15612 <column alignment="center" valignment="top" width="0" special="D{~}{\,}{9.7}">
15613 <row bottomline="true">
15614 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15615 \begin_inset Text
15616
15617 \begin_layout Standard
15618 units
15619 \end_layout
15620
15621 \end_inset
15622 </cell>
15623 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15624 \begin_inset Text
15625
15626 \begin_layout Standard
15627 units
15628 \end_layout
15629
15630 \end_inset
15631 </cell>
15632 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15633 \begin_inset Text
15634
15635 \begin_layout Standard
15636 units
15637 \end_layout
15638
15639 \end_inset
15640 </cell>
15641 </row>
15642 <row>
15643 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15644 \begin_inset Text
15645
15646 \begin_layout Standard
15647 12x24\InsetSpace \thinspace{}
15648 bottles
15649 \end_layout
15650
15651 \end_inset
15652 </cell>
15653 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15654 \begin_inset Text
15655
15656 \begin_layout Standard
15657 12x24\InsetSpace \thinspace{}
15658
15659 \begin_inset Formula $\mbox{bottles}$
15660 \end_inset
15661
15662
15663 \end_layout
15664
15665 \end_inset
15666 </cell>
15667 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15668 \begin_inset Text
15669
15670 \begin_layout Standard
15671 12
15672 \begin_inset ERT
15673 status collapsed
15674
15675 \begin_layout Standard
15676
15677
15678 \backslash
15679 times 
15680 \end_layout
15681
15682 \end_inset
15683
15684 24~
15685 \begin_inset Formula $\mbox{bottles}$
15686 \end_inset
15687
15688
15689 \end_layout
15690
15691 \end_inset
15692 </cell>
15693 </row>
15694 <row>
15695 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15696 \begin_inset Text
15697
15698 \begin_layout Standard
15699 1024x768\InsetSpace \thinspace{}
15700 Pixels
15701 \end_layout
15702
15703 \end_inset
15704 </cell>
15705 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15706 \begin_inset Text
15707
15708 \begin_layout Standard
15709 1024x768\InsetSpace \thinspace{}
15710
15711 \begin_inset Formula $\mbox{Pixels}$
15712 \end_inset
15713
15714
15715 \end_layout
15716
15717 \end_inset
15718 </cell>
15719 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15720 \begin_inset Text
15721
15722 \begin_layout Standard
15723 1024
15724 \begin_inset ERT
15725 status collapsed
15726
15727 \begin_layout Standard
15728
15729
15730 \backslash
15731 times 
15732 \end_layout
15733
15734 \end_inset
15735
15736 768~
15737 \begin_inset Formula $\mbox{Pixels}$
15738 \end_inset
15739
15740
15741 \end_layout
15742
15743 \end_inset
15744 </cell>
15745 </row>
15746 <row>
15747 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15748 \begin_inset Text
15749
15750 \begin_layout Standard
15751 32x6\InsetSpace \thinspace{}
15752 cm
15753 \end_layout
15754
15755 \end_inset
15756 </cell>
15757 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15758 \begin_inset Text
15759
15760 \begin_layout Standard
15761 32x6\InsetSpace \thinspace{}
15762
15763 \begin_inset Formula $\mbox{cm}$
15764 \end_inset
15765
15766
15767 \end_layout
15768
15769 \end_inset
15770 </cell>
15771 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15772 \begin_inset Text
15773
15774 \begin_layout Standard
15775 32
15776 \begin_inset ERT
15777 status collapsed
15778
15779 \begin_layout Standard
15780
15781
15782 \backslash
15783 times 
15784 \end_layout
15785
15786 \end_inset
15787
15788 6~
15789 \begin_inset Formula $\mbox{cm}$
15790 \end_inset
15791
15792
15793 \end_layout
15794
15795 \end_inset
15796 </cell>
15797 </row>
15798 </lyxtabular>
15799
15800 \end_inset
15801
15802
15803 \end_layout
15804
15805 \end_inset
15806
15807
15808 \end_layout
15809
15810 \begin_layout Subsection
15811 Customized Cell/Column Format
15812 \begin_inset LatexCommand label
15813 name "sub:Customized-Format"
15814
15815 \end_inset
15816
15817
15818 \begin_inset LatexCommand index
15819 name "Table Customization ! Cell/Column Format"
15820
15821 \end_inset
15822
15823
15824 \end_layout
15825
15826 \begin_layout Standard
15827 Calculating the needed width for spanned columns like in section\InsetSpace ~
15828
15829 \begin_inset LatexCommand ref
15830 reference "sub:Multicolumn-Calculations"
15831
15832 \end_inset
15833
15834  is very annoying if you have several tables with multicolumn cells.
15835  To make life easier, you can define a cell/column format in the preamble,
15836  so that it can be used in all tables of the document.
15837  The format is defined with the command
15838 \end_layout
15839
15840 \begin_layout Standard
15841
15842 \series bold
15843
15844 \backslash
15845 newcolumntype{name of format}[number of arguments]{commands}
15846 \end_layout
15847
15848 \begin_layout Standard
15849 The format name may only consist of one letter.
15850  The letters 
15851 \emph on
15852 b
15853 \emph default
15854
15855 \emph on
15856 c
15857 \emph default
15858
15859 \emph on
15860 l
15861 \emph default
15862
15863 \emph on
15864 m
15865 \emph default
15866
15867 \emph on
15868 p
15869 \emph default
15870  and 
15871 \emph on
15872 r
15873 \emph default
15874  are predefined and cannot be used.
15875  But all letters are allowed as capitals.
15876 \end_layout
15877
15878 \begin_layout Standard
15879 \begin_inset VSpace medskip
15880 \end_inset
15881
15882
15883 \end_layout
15884
15885 \begin_layout Standard
15886 For vertically and horizontally centered multicolumn cells with a fixed
15887  width you can define the cell format
15888 \end_layout
15889
15890 \begin_layout Standard
15891
15892 \series bold
15893
15894 \backslash
15895 newcolumntype{M}[1]{>{
15896 \backslash
15897 centering
15898 \backslash
15899 hspace{0pt}}m{#1}}
15900 \end_layout
15901
15902 \begin_layout Standard
15903 where 
15904 \series bold
15905
15906 \backslash
15907 hspace{0pt}
15908 \series default
15909  avoids the problem of hyphenating the first word, as described in section\InsetSpace ~
15910
15911 \begin_inset LatexCommand ref
15912 reference "sub:Multiple-Lines-in"
15913
15914 \end_inset
15915
15916 .
15917  Now you can simply enter
15918 \end_layout
15919
15920 \begin_layout Standard
15921
15922 \series bold
15923 M{width}
15924 \end_layout
15925
15926 \begin_layout Standard
15927 as LaTeX-argument in the table dialog to create a multicolumn.
15928 \end_layout
15929
15930 \begin_layout Standard
15931 \begin_inset VSpace bigskip
15932 \end_inset
15933
15934
15935 \end_layout
15936
15937 \begin_layout Standard
15938 For cells spanned by a multicolumn cell, you can define the format
15939 \end_layout
15940
15941 \begin_layout Standard
15942
15943 \series bold
15944
15945 \backslash
15946 newcolumntype{S}[2]{>{
15947 \backslash
15948 centering
15949 \backslash
15950 hspace{0pt}}
15951 \newline
15952
15953 \begin_inset ERT
15954 status collapsed
15955
15956 \begin_layout Standard
15957
15958
15959 \backslash
15960 phantom{
15961 \end_layout
15962
15963 \end_inset
15964
15965
15966 \backslash
15967 newcolumntype{S}[2]
15968 \begin_inset ERT
15969 status collapsed
15970
15971 \begin_layout Standard
15972
15973 }
15974 \end_layout
15975
15976 \end_inset
15977
15978 m{(#1+(2
15979 \backslash
15980 tabcolsep+
15981 \backslash
15982 arrayrulewidth)*(1-#2))/#2}}
15983 \end_layout
15984
15985 \begin_layout Standard
15986 This format uses equation 
15987 \begin_inset LatexCommand eqref
15988 reference "eq:Wgn"
15989
15990 \end_inset
15991
15992  to calculate the needed width so that each spanned cell has the same width.
15993 \end_layout
15994
15995 \begin_layout Standard
15996 You can now enter
15997 \end_layout
15998
15999 \begin_layout Standard
16000
16001 \series bold
16002 S{width of multicolumn cell}{number of spanned columns}
16003 \end_layout
16004
16005 \begin_layout Standard
16006 as LaTeX-argument of the column.
16007 \end_layout
16008
16009 \begin_layout Standard
16010 \begin_inset VSpace bigskip
16011 \end_inset
16012
16013
16014 \end_layout
16015
16016 \begin_layout Standard
16017 For colored columns, you can define
16018 \end_layout
16019
16020 \begin_layout Standard
16021
16022 \series bold
16023
16024 \backslash
16025 newcolumntype{K}[1]{>{
16026 \backslash
16027 columncolor{#1}
16028 \backslash
16029 hspace{0pt}}c}
16030 \end_layout
16031
16032 \begin_layout Standard
16033 The 
16034 \begin_inset Quotes eld
16035 \end_inset
16036
16037 c
16038 \begin_inset Quotes erd
16039 \end_inset
16040
16041  at the end creates a column with a flexible width whose text is horizontally
16042  centered.
16043  You can now enter
16044 \end_layout
16045
16046 \begin_layout Standard
16047
16048 \series bold
16049 K{color name}
16050 \end_layout
16051
16052 \begin_layout Standard
16053 as LaTeX-argument.
16054 \end_layout
16055
16056 \begin_layout Standard
16057 \begin_inset VSpace bigskip
16058 \end_inset
16059
16060
16061 \end_layout
16062
16063 \begin_layout Standard
16064 To create Table\InsetSpace ~
16065
16066 \begin_inset LatexCommand ref
16067 reference "tab:Table-using-user-defined"
16068
16069 \end_inset
16070
16071  use the LaTeX-arguments
16072 \end_layout
16073
16074 \begin_layout Standard
16075
16076 \series bold
16077 M{2.5cm}
16078 \end_layout
16079
16080 \begin_layout Standard
16081 for the first column and the multicolumn,
16082 \end_layout
16083
16084 \begin_layout Standard
16085
16086 \series bold
16087 K{red}
16088 \end_layout
16089
16090 \begin_layout Standard
16091 for the the last column, and
16092 \end_layout
16093
16094 \begin_layout Standard
16095
16096 \series bold
16097 S{2.5cm}{2}
16098 \end_layout
16099
16100 \begin_layout Standard
16101 for the cells in the second column.
16102 \end_layout
16103
16104 \begin_layout Standard
16105 \begin_inset Float table
16106 placement h
16107 wide false
16108 sideways false
16109 status open
16110
16111 \begin_layout Standard
16112 \begin_inset Caption
16113
16114 \begin_layout Standard
16115 \begin_inset LatexCommand label
16116 name "tab:Table-using-user-defined"
16117
16118 \end_inset
16119
16120 Table using user-defined table formats
16121 \end_layout
16122
16123 \end_inset
16124
16125
16126 \end_layout
16127
16128 \begin_layout Standard
16129 \align center
16130 \begin_inset Tabular
16131 <lyxtabular version="3" rows="3" columns="4">
16132 <features>
16133 <column alignment="center" valignment="middle" leftline="true" width="2.5cm" special="M{2.5cm}">
16134 <column alignment="center" valignment="middle" leftline="true" width="0" special="S{2.5cm}{2}">
16135 <column alignment="center" valignment="middle" leftline="true" width="0">
16136 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0" special="K{red}">
16137 <row topline="true">
16138 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16139 \begin_inset Text
16140
16141 \begin_layout Standard
16142 verylongtablecellword
16143 \end_layout
16144
16145 \end_inset
16146 </cell>
16147 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none" special="M{2.5cm}">
16148 \begin_inset Text
16149
16150 \begin_layout Standard
16151 multiple lines multicolumn
16152 \end_layout
16153
16154 \end_inset
16155 </cell>
16156 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16157 \begin_inset Text
16158
16159 \begin_layout Standard
16160
16161 \end_layout
16162
16163 \end_inset
16164 </cell>
16165 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16166 \begin_inset Text
16167
16168 \begin_layout Standard
16169 c
16170 \end_layout
16171
16172 \end_inset
16173 </cell>
16174 </row>
16175 <row topline="true">
16176 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16177 \begin_inset Text
16178
16179 \begin_layout Standard
16180 d
16181 \end_layout
16182
16183 \end_inset
16184 </cell>
16185 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16186 \begin_inset Text
16187
16188 \begin_layout Standard
16189 e
16190 \end_layout
16191
16192 \end_inset
16193 </cell>
16194 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16195 \begin_inset Text
16196
16197 \begin_layout Standard
16198 f
16199 \end_layout
16200
16201 \end_inset
16202 </cell>
16203 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16204 \begin_inset Text
16205
16206 \begin_layout Standard
16207 g
16208 \end_layout
16209
16210 \end_inset
16211 </cell>
16212 </row>
16213 <row topline="true" bottomline="true">
16214 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16215 \begin_inset Text
16216
16217 \begin_layout Standard
16218 h
16219 \end_layout
16220
16221 \end_inset
16222 </cell>
16223 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16224 \begin_inset Text
16225
16226 \begin_layout Standard
16227 i
16228 \end_layout
16229
16230 \end_inset
16231 </cell>
16232 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16233 \begin_inset Text
16234
16235 \begin_layout Standard
16236 j
16237 \end_layout
16238
16239 \end_inset
16240 </cell>
16241 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16242 \begin_inset Text
16243
16244 \begin_layout Standard
16245 k
16246 \end_layout
16247
16248 \end_inset
16249 </cell>
16250 </row>
16251 </lyxtabular>
16252
16253 \end_inset
16254
16255
16256 \end_layout
16257
16258 \end_inset
16259
16260
16261 \end_layout
16262
16263 \begin_layout Subsection
16264 Line Thickness
16265 \begin_inset LatexCommand label
16266 name "sub:Line-Thickness"
16267
16268 \end_inset
16269
16270
16271 \begin_inset LatexCommand index
16272 name "Table Customization ! Line Thickness"
16273
16274 \end_inset
16275
16276
16277 \end_layout
16278
16279 \begin_layout Standard
16280 The line thickness for all lines in a table can be adjusted with the length
16281  
16282 \series bold
16283
16284 \backslash
16285 arrayrulewidth
16286 \series default
16287 .
16288  To set for example a line thickness of 1.5\InsetSpace \thinspace{}
16289 pt, like in Table\InsetSpace ~
16290
16291 \begin_inset LatexCommand ref
16292 reference "tab:Table-with-1.5"
16293
16294 \end_inset
16295
16296 , insert the command
16297 \end_layout
16298
16299 \begin_layout Standard
16300
16301 \series bold
16302
16303 \backslash
16304 setlength{
16305 \backslash
16306 arrayrulewidth}{1.5pt}
16307 \end_layout
16308
16309 \begin_layout Standard
16310 in ERT before the table or table float.
16311  The changed thickness is valid for all following tables.
16312  To use the default value again, set 
16313 \series bold
16314
16315 \backslash
16316 arrayrulewidth
16317 \series default
16318  to 0.4\InsetSpace \thinspace{}
16319 pt in ERT behind the table or table float.
16320 \end_layout
16321
16322 \begin_layout Standard
16323 \begin_inset ERT
16324 status collapsed
16325
16326 \begin_layout Standard
16327
16328
16329 \backslash
16330 setlength{
16331 \backslash
16332 arrayrulewidth}{1.5pt}
16333 \end_layout
16334
16335 \end_inset
16336
16337
16338 \begin_inset Float table
16339 wide false
16340 sideways false
16341 status open
16342
16343 \begin_layout Standard
16344 \begin_inset Caption
16345
16346 \begin_layout Standard
16347 \begin_inset LatexCommand label
16348 name "tab:Table-with-1.5"
16349
16350 \end_inset
16351
16352 Table with 1.5\InsetSpace \thinspace{}
16353 pt thick lines
16354 \end_layout
16355
16356 \end_inset
16357
16358
16359 \end_layout
16360
16361 \begin_layout Standard
16362 \align center
16363 \begin_inset Tabular
16364 <lyxtabular version="3" rows="3" columns="3">
16365 <features>
16366 <column alignment="center" valignment="top" leftline="true" width="0">
16367 <column alignment="center" valignment="top" leftline="true" width="0">
16368 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16369 <row topline="true">
16370 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16371 \begin_inset Text
16372
16373 \begin_layout Standard
16374 sd
16375 \end_layout
16376
16377 \end_inset
16378 </cell>
16379 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16380 \begin_inset Text
16381
16382 \begin_layout Standard
16383
16384 \end_layout
16385
16386 \end_inset
16387 </cell>
16388 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16389 \begin_inset Text
16390
16391 \begin_layout Standard
16392
16393 \end_layout
16394
16395 \end_inset
16396 </cell>
16397 </row>
16398 <row topline="true">
16399 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16400 \begin_inset Text
16401
16402 \begin_layout Standard
16403
16404 \end_layout
16405
16406 \end_inset
16407 </cell>
16408 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16409 \begin_inset Text
16410
16411 \begin_layout Standard
16412 sd
16413 \end_layout
16414
16415 \end_inset
16416 </cell>
16417 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16418 \begin_inset Text
16419
16420 \begin_layout Standard
16421
16422 \end_layout
16423
16424 \end_inset
16425 </cell>
16426 </row>
16427 <row topline="true" bottomline="true">
16428 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16429 \begin_inset Text
16430
16431 \begin_layout Standard
16432
16433 \end_layout
16434
16435 \end_inset
16436 </cell>
16437 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16438 \begin_inset Text
16439
16440 \begin_layout Standard
16441
16442 \end_layout
16443
16444 \end_inset
16445 </cell>
16446 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16447 \begin_inset Text
16448
16449 \begin_layout Standard
16450 sd
16451 \end_layout
16452
16453 \end_inset
16454 </cell>
16455 </row>
16456 </lyxtabular>
16457
16458 \end_inset
16459
16460
16461 \end_layout
16462
16463 \end_inset
16464
16465
16466 \begin_inset ERT
16467 status collapsed
16468
16469 \begin_layout Standard
16470
16471
16472 \backslash
16473 setlength{
16474 \backslash
16475 arrayrulewidth}{0.4pt}
16476 \end_layout
16477
16478 \end_inset
16479
16480
16481 \end_layout
16482
16483 \begin_layout Standard
16484 \begin_inset VSpace bigskip
16485 \end_inset
16486
16487 To set the line thickness to 1.5\InsetSpace \thinspace{}
16488 pt only for horizontal lines, like in Table\InsetSpace ~
16489
16490 \begin_inset LatexCommand ref
16491 reference "tab:Table-with-horizontal"
16492
16493 \end_inset
16494
16495 , insert these commands in ERT before the table or table float:
16496 \end_layout
16497
16498 \begin_layout Standard
16499
16500 \series bold
16501
16502 \backslash
16503 let
16504 \backslash
16505 myHline
16506 \backslash
16507 hline
16508 \newline
16509
16510 \backslash
16511 renewcommand{
16512 \backslash
16513 hline}
16514 \newline
16515  {
16516 \backslash
16517 noalign{
16518 \backslash
16519 global
16520 \backslash
16521 arrayrulewidth 1.5pt}
16522 \newline
16523  
16524 \backslash
16525 myHline
16526 \backslash
16527 noalign{
16528 \backslash
16529 global
16530 \backslash
16531 arrayrulewidth 0.4pt}}
16532 \end_layout
16533
16534 \begin_layout Standard
16535 To return to the default line thickness, insert this command in ERT behind
16536  the table or table float:
16537 \end_layout
16538
16539 \begin_layout Standard
16540
16541 \series bold
16542
16543 \backslash
16544 renewcommand{
16545 \backslash
16546 hline}{
16547 \backslash
16548 myHline}
16549 \end_layout
16550
16551 \begin_layout Standard
16552 \begin_inset ERT
16553 status collapsed
16554
16555 \begin_layout Standard
16556
16557
16558 \backslash
16559 let
16560 \backslash
16561 myHline
16562 \backslash
16563 hline
16564 \end_layout
16565
16566 \begin_layout Standard
16567
16568
16569 \backslash
16570 renewcommand{
16571 \backslash
16572 hline}
16573 \end_layout
16574
16575 \begin_layout Standard
16576
16577  {
16578 \backslash
16579 noalign{
16580 \backslash
16581 global
16582 \backslash
16583 arrayrulewidth 1.5pt}
16584 \end_layout
16585
16586 \begin_layout Standard
16587
16588   
16589 \backslash
16590 myHline
16591 \backslash
16592 noalign{
16593 \backslash
16594 global
16595 \backslash
16596 arrayrulewidth 0.4pt}}
16597 \end_layout
16598
16599 \end_inset
16600
16601
16602 \begin_inset Float table
16603 wide false
16604 sideways false
16605 status open
16606
16607 \begin_layout Standard
16608 \begin_inset Caption
16609
16610 \begin_layout Standard
16611 \begin_inset LatexCommand label
16612 name "tab:Table-with-horizontal"
16613
16614 \end_inset
16615
16616 Table with 1.5\InsetSpace \thinspace{}
16617 pt thick horizontal lines
16618 \end_layout
16619
16620 \end_inset
16621
16622
16623 \end_layout
16624
16625 \begin_layout Standard
16626 \align center
16627 \begin_inset Tabular
16628 <lyxtabular version="3" rows="3" columns="3">
16629 <features>
16630 <column alignment="center" valignment="top" leftline="true" width="0">
16631 <column alignment="center" valignment="top" leftline="true" width="0">
16632 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16633 <row topline="true">
16634 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16635 \begin_inset Text
16636
16637 \begin_layout Standard
16638 sd
16639 \end_layout
16640
16641 \end_inset
16642 </cell>
16643 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16644 \begin_inset Text
16645
16646 \begin_layout Standard
16647
16648 \end_layout
16649
16650 \end_inset
16651 </cell>
16652 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16653 \begin_inset Text
16654
16655 \begin_layout Standard
16656
16657 \end_layout
16658
16659 \end_inset
16660 </cell>
16661 </row>
16662 <row topline="true">
16663 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16664 \begin_inset Text
16665
16666 \begin_layout Standard
16667
16668 \end_layout
16669
16670 \end_inset
16671 </cell>
16672 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16673 \begin_inset Text
16674
16675 \begin_layout Standard
16676 sd
16677 \end_layout
16678
16679 \end_inset
16680 </cell>
16681 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16682 \begin_inset Text
16683
16684 \begin_layout Standard
16685
16686 \end_layout
16687
16688 \end_inset
16689 </cell>
16690 </row>
16691 <row topline="true" bottomline="true">
16692 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16693 \begin_inset Text
16694
16695 \begin_layout Standard
16696
16697 \end_layout
16698
16699 \end_inset
16700 </cell>
16701 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16702 \begin_inset Text
16703
16704 \begin_layout Standard
16705
16706 \end_layout
16707
16708 \end_inset
16709 </cell>
16710 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16711 \begin_inset Text
16712
16713 \begin_layout Standard
16714 sd
16715 \end_layout
16716
16717 \end_inset
16718 </cell>
16719 </row>
16720 </lyxtabular>
16721
16722 \end_inset
16723
16724
16725 \end_layout
16726
16727 \end_inset
16728
16729
16730 \begin_inset ERT
16731 status collapsed
16732
16733 \begin_layout Standard
16734
16735
16736 \backslash
16737 renewcommand{
16738 \backslash
16739 hline}{
16740 \backslash
16741 myHline}
16742 \end_layout
16743
16744 \end_inset
16745
16746
16747 \end_layout
16748
16749 \begin_layout Standard
16750 \begin_inset VSpace bigskip
16751 \end_inset
16752
16753 To set the line thickness to 1.5\InsetSpace \thinspace{}
16754 pt only for vertical lines, create the following
16755  column format in the document preamble, according to the description in
16756  section\InsetSpace ~
16757
16758 \begin_inset LatexCommand ref
16759 reference "sub:Customized-Format"
16760
16761 \end_inset
16762
16763 :
16764 \end_layout
16765
16766 \begin_layout Standard
16767
16768 \series bold
16769
16770 \backslash
16771 newcolumntype{V}{!{
16772 \backslash
16773 vrule width 1.5pt}}
16774 \end_layout
16775
16776 \begin_layout Standard
16777 For Table\InsetSpace ~
16778
16779 \begin_inset LatexCommand ref
16780 reference "tab:Table-with-vertical"
16781
16782 \end_inset
16783
16784  the LaTeX-argument
16785 \end_layout
16786
16787 \begin_layout Standard
16788
16789 \series bold
16790 VcV
16791 \end_layout
16792
16793 \begin_layout Standard
16794 was used for the last column and
16795 \end_layout
16796
16797 \begin_layout Standard
16798
16799 \series bold
16800 Vc
16801 \end_layout
16802
16803 \begin_layout Standard
16804 for the other columns.
16805 \end_layout
16806
16807 \begin_layout Standard
16808 \begin_inset Float table
16809 wide false
16810 sideways false
16811 status open
16812
16813 \begin_layout Standard
16814 \begin_inset Caption
16815
16816 \begin_layout Standard
16817 \begin_inset LatexCommand label
16818 name "tab:Table-with-vertical"
16819
16820 \end_inset
16821
16822 Table with 1.5\InsetSpace \thinspace{}
16823 pt thick vertical lines
16824 \end_layout
16825
16826 \end_inset
16827
16828
16829 \end_layout
16830
16831 \begin_layout Standard
16832 \align center
16833 \begin_inset Tabular
16834 <lyxtabular version="3" rows="3" columns="3">
16835 <features>
16836 <column alignment="center" valignment="top" width="0" special="Vc">
16837 <column alignment="center" valignment="top" width="0" special="Vc">
16838 <column alignment="center" valignment="top" width="0" special="VcV">
16839 <row topline="true">
16840 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16841 \begin_inset Text
16842
16843 \begin_layout Standard
16844 sd
16845 \end_layout
16846
16847 \end_inset
16848 </cell>
16849 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16850 \begin_inset Text
16851
16852 \begin_layout Standard
16853
16854 \end_layout
16855
16856 \end_inset
16857 </cell>
16858 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16859 \begin_inset Text
16860
16861 \begin_layout Standard
16862
16863 \end_layout
16864
16865 \end_inset
16866 </cell>
16867 </row>
16868 <row topline="true">
16869 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16870 \begin_inset Text
16871
16872 \begin_layout Standard
16873
16874 \end_layout
16875
16876 \end_inset
16877 </cell>
16878 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16879 \begin_inset Text
16880
16881 \begin_layout Standard
16882 sd
16883 \end_layout
16884
16885 \end_inset
16886 </cell>
16887 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16888 \begin_inset Text
16889
16890 \begin_layout Standard
16891
16892 \end_layout
16893
16894 \end_inset
16895 </cell>
16896 </row>
16897 <row topline="true" bottomline="true">
16898 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16899 \begin_inset Text
16900
16901 \begin_layout Standard
16902
16903 \end_layout
16904
16905 \end_inset
16906 </cell>
16907 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16908 \begin_inset Text
16909
16910 \begin_layout Standard
16911
16912 \end_layout
16913
16914 \end_inset
16915 </cell>
16916 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16917 \begin_inset Text
16918
16919 \begin_layout Standard
16920 sd
16921 \end_layout
16922
16923 \end_inset
16924 </cell>
16925 </row>
16926 </lyxtabular>
16927
16928 \end_inset
16929
16930
16931 \end_layout
16932
16933 \end_inset
16934
16935
16936 \end_layout
16937
16938 \begin_layout Subsection
16939 Dashed Lines
16940 \begin_inset LatexCommand index
16941 name "Table Customization ! Dashed Lines"
16942
16943 \end_inset
16944
16945
16946 \end_layout
16947
16948 \begin_layout Standard
16949 \begin_inset ERT
16950 status collapsed
16951
16952 \begin_layout Standard
16953
16954
16955 \backslash
16956 ifarydshln
16957 \end_layout
16958
16959 \end_inset
16960
16961
16962 \begin_inset Note Note
16963 status open
16964
16965 \begin_layout Standard
16966 The following section will only be displayed when you have the LaTeX-package
16967  
16968 \series bold
16969 arydshln
16970 \series default
16971  is installed.
16972 \end_layout
16973
16974 \end_inset
16975
16976
16977 \end_layout
16978
16979 \begin_layout Standard
16980 \begin_inset Float table
16981 placement H
16982 wide false
16983 sideways false
16984 status open
16985
16986 \begin_layout Standard
16987 \begin_inset Caption
16988
16989 \begin_layout Standard
16990 \begin_inset LatexCommand label
16991 name "tab:Table-with-dashed"
16992
16993 \end_inset
16994
16995 Table with dashed lines
16996 \end_layout
16997
16998 \end_inset
16999
17000
17001 \end_layout
17002
17003 \begin_layout Standard
17004 \align center
17005 \begin_inset Tabular
17006 <lyxtabular version="3" rows="5" columns="5">
17007 <features>
17008 <column alignment="center" valignment="top" leftline="true" width="0">
17009 <column alignment="center" valignment="top" leftline="true" width="0">
17010 <column alignment="center" valignment="top" width="0" special=":c">
17011 <column alignment="center" valignment="top" leftline="true" width="0">
17012 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
17013 <row topline="true" bottomline="true">
17014 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17015 \begin_inset Text
17016
17017 \begin_layout Standard
17018 a
17019 \end_layout
17020
17021 \end_inset
17022 </cell>
17023 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17024 \begin_inset Text
17025
17026 \begin_layout Standard
17027 b
17028 \end_layout
17029
17030 \end_inset
17031 </cell>
17032 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17033 \begin_inset Text
17034
17035 \begin_layout Standard
17036 c
17037 \end_layout
17038
17039 \end_inset
17040 </cell>
17041 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17042 \begin_inset Text
17043
17044 \begin_layout Standard
17045 d
17046 \end_layout
17047
17048 \end_inset
17049 </cell>
17050 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17051 \begin_inset Text
17052
17053 \begin_layout Standard
17054 e
17055 \end_layout
17056
17057 \end_inset
17058 </cell>
17059 </row>
17060 <row topline="true">
17061 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17062 \begin_inset Text
17063
17064 \begin_layout Standard
17065 f
17066 \end_layout
17067
17068 \end_inset
17069 </cell>
17070 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17071 \begin_inset Text
17072
17073 \begin_layout Standard
17074 g
17075 \end_layout
17076
17077 \end_inset
17078 </cell>
17079 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17080 \begin_inset Text
17081
17082 \begin_layout Standard
17083 h
17084 \end_layout
17085
17086 \end_inset
17087 </cell>
17088 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17089 \begin_inset Text
17090
17091 \begin_layout Standard
17092 i
17093 \end_layout
17094
17095 \end_inset
17096 </cell>
17097 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17098 \begin_inset Text
17099
17100 \begin_layout Standard
17101 j
17102 \end_layout
17103
17104 \end_inset
17105 </cell>
17106 </row>
17107 <row>
17108 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17109 \begin_inset Text
17110
17111 \begin_layout Standard
17112 \begin_inset ERT
17113 status collapsed
17114
17115 \begin_layout Standard
17116
17117
17118 \backslash
17119 hdashline 
17120 \end_layout
17121
17122 \end_inset
17123
17124 k
17125 \end_layout
17126
17127 \end_inset
17128 </cell>
17129 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17130 \begin_inset Text
17131
17132 \begin_layout Standard
17133 l
17134 \end_layout
17135
17136 \end_inset
17137 </cell>
17138 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17139 \begin_inset Text
17140
17141 \begin_layout Standard
17142 m
17143 \end_layout
17144
17145 \end_inset
17146 </cell>
17147 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17148 \begin_inset Text
17149
17150 \begin_layout Standard
17151 n
17152 \end_layout
17153
17154 \end_inset
17155 </cell>
17156 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17157 \begin_inset Text
17158
17159 \begin_layout Standard
17160 o
17161 \end_layout
17162
17163 \end_inset
17164 </cell>
17165 </row>
17166 <row topline="true">
17167 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17168 \begin_inset Text
17169
17170 \begin_layout Standard
17171 \begin_inset ERT
17172 status collapsed
17173
17174 \begin_layout Standard
17175
17176
17177 \backslash
17178 cdashline{4-5}
17179 \end_layout
17180
17181 \end_inset
17182
17183 p
17184 \end_layout
17185
17186 \end_inset
17187 </cell>
17188 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17189 \begin_inset Text
17190
17191 \begin_layout Standard
17192 q
17193 \end_layout
17194
17195 \end_inset
17196 </cell>
17197 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="c:">
17198 \begin_inset Text
17199
17200 \begin_layout Standard
17201 r
17202 \end_layout
17203
17204 \end_inset
17205 </cell>
17206 <cell multicolumn="1" alignment="center" valignment="top" rightline="true" usebox="none" special="c:">
17207 \begin_inset Text
17208
17209 \begin_layout Standard
17210 s
17211 \end_layout
17212
17213 \end_inset
17214 </cell>
17215 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17216 \begin_inset Text
17217
17218 \begin_layout Standard
17219
17220 \end_layout
17221
17222 \end_inset
17223 </cell>
17224 </row>
17225 <row topline="true" bottomline="true">
17226 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17227 \begin_inset Text
17228
17229 \begin_layout Standard
17230 t
17231 \end_layout
17232
17233 \end_inset
17234 </cell>
17235 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17236 \begin_inset Text
17237
17238 \begin_layout Standard
17239 u
17240 \end_layout
17241
17242 \end_inset
17243 </cell>
17244 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17245 \begin_inset Text
17246
17247 \begin_layout Standard
17248 v
17249 \end_layout
17250
17251 \end_inset
17252 </cell>
17253 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17254 \begin_inset Text
17255
17256 \begin_layout Standard
17257 w
17258 \end_layout
17259
17260 \end_inset
17261 </cell>
17262 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17263 \begin_inset Text
17264
17265 \begin_layout Standard
17266 x
17267 \end_layout
17268
17269 \end_inset
17270 </cell>
17271 </row>
17272 </lyxtabular>
17273
17274 \end_inset
17275
17276
17277 \end_layout
17278
17279 \end_inset
17280
17281
17282 \end_layout
17283
17284 \begin_layout Standard
17285 LyX doesn't natively support dashed lines, so you have to use ERT.
17286  As prerequisite the LaTeX-package 
17287 \series bold
17288 arydshln
17289 \series default
17290
17291 \begin_inset LatexCommand index
17292 name "LaTeX-packages ! arydshln"
17293
17294 \end_inset
17295
17296  must be loaded in the document preamble with the command
17297 \end_layout
17298
17299 \begin_layout Standard
17300
17301 \series bold
17302
17303 \backslash
17304 usepackage{arydshln}
17305 \end_layout
17306
17307 \begin_layout Standard
17308 To make a vertical line dashed, enter the colon 
17309 \begin_inset Quotes eld
17310 \end_inset
17311
17312 :
17313 \begin_inset Quotes erd
17314 \end_inset
17315
17316  together with the character for the horizontal alignment as LaTeX-argument
17317  in the table cell dialog.
17318 \end_layout
17319
17320 \begin_layout Standard
17321 For a horizontal dashed line add the command
17322 \end_layout
17323
17324 \begin_layout Standard
17325
17326 \series bold
17327
17328 \backslash
17329 hdashline
17330 \end_layout
17331
17332 \begin_layout Standard
17333 in ERT as first element of the first cell in the table row.
17334 \end_layout
17335
17336 \begin_layout Standard
17337 For dashed multicolumn lines use the command
17338 \end_layout
17339
17340 \begin_layout Standard
17341
17342 \series bold
17343
17344 \backslash
17345 cdashline{line number
17346 \series default
17347 }
17348 \end_layout
17349
17350 \begin_layout Standard
17351 in ERT as first element of the first cell in the table row.
17352  If you have for example a multicolumn spanning over columns 2 to 4 and
17353  you want to have a dashed line above, add the command
17354 \end_layout
17355
17356 \begin_layout Standard
17357
17358 \series bold
17359
17360 \backslash
17361 cdashline{2-4}
17362 \end_layout
17363
17364 \begin_layout Standard
17365 as first element of the first cell in the row of the multicolumn.
17366 \end_layout
17367
17368 \begin_layout Standard
17369 \begin_inset VSpace bigskip
17370 \end_inset
17371
17372
17373 \end_layout
17374
17375 \begin_layout Standard
17376 Table\InsetSpace ~
17377
17378 \begin_inset LatexCommand ref
17379 reference "tab:Table-with-dashed"
17380
17381 \end_inset
17382
17383  was created using 
17384 \begin_inset Quotes eld
17385 \end_inset
17386
17387
17388 \series bold
17389 :c
17390 \series default
17391
17392 \begin_inset Quotes erd
17393 \end_inset
17394
17395  as LaTeX-argument of the third column.
17396  The ERT command 
17397 \series bold
17398
17399 \backslash
17400 hdashline
17401 \series default
17402  was inserted to the first cell of the third row and the the ERT command
17403 \newline
17404
17405  
17406 \series bold
17407
17408 \backslash
17409 cdashline{4-5}
17410 \series default
17411  was inserted to the first cell of the fourth row.
17412 \end_layout
17413
17414 \begin_layout Standard
17415 \begin_inset Note Greyedout
17416 status open
17417
17418 \begin_layout Standard
17419
17420 \series bold
17421 Note:
17422 \series default
17423  The used LaTeX-package 
17424 \series bold
17425 arydshln
17426 \series default
17427  is apparently not compatible with the LaTeX-package 
17428 \series bold
17429 colortbl
17430 \series default
17431
17432 \begin_inset LatexCommand index
17433 name "LaTeX-packages ! colortbl"
17434
17435 \end_inset
17436
17437  that is used for colored tables in section\InsetSpace ~
17438
17439 \begin_inset LatexCommand ref
17440 reference "sec:Colored-Tables"
17441
17442 \end_inset
17443
17444 .
17445  That means colored tables cannot have dashed lines.
17446 \end_layout
17447
17448 \end_inset
17449
17450
17451 \end_layout
17452
17453 \begin_layout Standard
17454 \begin_inset ERT
17455 status collapsed
17456
17457 \begin_layout Standard
17458
17459
17460 \backslash
17461 else
17462 \end_layout
17463
17464 \end_inset
17465
17466
17467 \begin_inset Note Note
17468 status open
17469
17470 \begin_layout Standard
17471 The following will be displayed when the LaTeX-package 
17472 \series bold
17473 arydshln
17474 \series default
17475  is not installed:
17476 \end_layout
17477
17478 \end_inset
17479
17480
17481 \end_layout
17482
17483 \begin_layout Standard
17484 You need to install the package 
17485 \series bold
17486 arydshln
17487 \series default
17488  to see the contents of this section in the output.
17489 \end_layout
17490
17491 \begin_layout Standard
17492 \begin_inset ERT
17493 status collapsed
17494
17495 \begin_layout Standard
17496
17497
17498 \backslash
17499 fi
17500 \end_layout
17501
17502 \end_inset
17503
17504
17505 \end_layout
17506
17507 \begin_layout Chapter
17508 Floats
17509 \begin_inset LatexCommand index
17510 name "Floats"
17511
17512 \end_inset
17513
17514
17515 \begin_inset LatexCommand label
17516 name "cha:Floats"
17517
17518 \end_inset
17519
17520
17521 \end_layout
17522
17523 \begin_layout Section
17524 Introduction
17525 \begin_inset LatexCommand label
17526 name "sec:FloatIntroduction"
17527
17528 \end_inset
17529
17530
17531 \begin_inset LatexCommand index
17532 name "Floats ! Introduction"
17533
17534 \end_inset
17535
17536
17537 \end_layout
17538
17539 \begin_layout Standard
17540 A float is a block of text associated with some sort of label, which doesn't
17541  have a fixed location.
17542  It can 
17543 \begin_inset Quotes eld
17544 \end_inset
17545
17546 float
17547 \begin_inset Quotes erd
17548 \end_inset
17549
17550  forward or backward a page or two, to wherever it fits best.
17551  
17552 \family sans
17553 Footnotes
17554 \family default
17555  and 
17556 \family sans
17557 Margin\InsetSpace ~
17558 Notes
17559 \family default
17560  are also floats, because they can float to the next page when there are
17561  too many notes at the page.
17562 \end_layout
17563
17564 \begin_layout Standard
17565 Floats allow a high quality layout.
17566  Images and tables can evenly be spread to the pages to avoid white space
17567  and pages without text.
17568  As the floating often destroys the context between the text and the image/table
17569 , every float can be referenced in the text.
17570  Floats are therefore numbered.
17571  Referencing is described in section\InsetSpace ~
17572
17573 \begin_inset LatexCommand ref
17574 reference "sec:Referencing-Floats"
17575
17576 \end_inset
17577
17578 .
17579 \end_layout
17580
17581 \begin_layout Standard
17582 To insert a float, use the menu 
17583 \family sans
17584 Insert\SpecialChar \menuseparator
17585 Float
17586 \family default
17587 .
17588  This inserts the 
17589 \family sans
17590 Caption
17591 \family default
17592  inset, a box with a label.
17593  The label will automatically be translated to the document language in
17594  the output.
17595  Behind the label you can insert the caption text.
17596  The image or table is inserted above or below the caption in a separate
17597  paragraph within the float.
17598  More about the caption placement is described in section\InsetSpace ~
17599
17600 \begin_inset LatexCommand ref
17601 reference "sec:Caption-Placement"
17602
17603 \end_inset
17604
17605 .
17606  To keep your LyX-document readable, you can open and close the float box
17607  by left-clicking on the box label.
17608  A closed float box looks like this: 
17609 \begin_inset Graphics
17610         filename clipart/floatQt4.png
17611         scale 70
17612         scaleBeforeRotation
17613
17614 \end_inset
17615
17616  -- a gray button with a red label.
17617 \end_layout
17618
17619 \begin_layout Standard
17620 It is recommended to insert floats as a separate paragraph to avoid possible
17621  LaTeX-errors that can occur when the surrounding text is specially formatted.
17622 \end_layout
17623
17624 \begin_layout Standard
17625 Existing figures or tables can be put into a float by marking them and then
17626  pressing the corresponding toolbar button for a new float.
17627 \end_layout
17628
17629 \begin_layout Section
17630 Float Types
17631 \end_layout
17632
17633 \begin_layout Standard
17634 Besides figure and table floats that are described in section\InsetSpace ~
17635
17636 \begin_inset LatexCommand ref
17637 reference "sec:Figure-Floats"
17638
17639 \end_inset
17640
17641  and 
17642 \begin_inset LatexCommand ref
17643 reference "sec:Table-Floats"
17644
17645 \end_inset
17646
17647 , respectively, LyX offers the float types 
17648 \series bold
17649 Algorithm
17650 \series default
17651  and 
17652 \series bold
17653 Text\InsetSpace ~
17654 Wrap\InsetSpace ~
17655 Float
17656 \series default
17657 .
17658 \end_layout
17659
17660 \begin_layout Subsection
17661 Algorithm Floats
17662 \begin_inset LatexCommand index
17663 name "Floats ! Algorithms"
17664
17665 \end_inset
17666
17667
17668 \end_layout
17669
17670 \begin_layout Standard
17671 \begin_inset Float algorithm
17672 placement h
17673 wide false
17674 sideways false
17675 status open
17676
17677 \begin_layout Standard
17678 \begin_inset Caption
17679
17680 \begin_layout Standard
17681 \begin_inset LatexCommand label
17682 name "alg:Example-Algorithm-float"
17683
17684 \end_inset
17685
17686 Example Algorithm float
17687 \end_layout
17688
17689 \end_inset
17690
17691
17692 \end_layout
17693
17694 \begin_layout LyX-Code
17695 for I in 1..N loop
17696 \newline
17697  Sum:= Sum + A(I); /*comment*/
17698 \newline
17699 end loop
17700 \begin_inset VSpace -4mm
17701 \end_inset
17702
17703
17704 \end_layout
17705
17706 \end_inset
17707
17708
17709 \end_layout
17710
17711 \begin_layout Standard
17712 This float type is inserted with the menu 
17713 \family sans
17714 Insert\SpecialChar \menuseparator
17715 Floats\SpecialChar \menuseparator
17716 Algorithm
17717 \family default
17718 .
17719  It is used for program codes and descriptions of algorithms.
17720  A possible environment for algorithms is the 
17721 \family sans
17722 LyX-Code
17723 \family default
17724 , described in LyX's 
17725 \emph on
17726 Userguide
17727 \emph default
17728 .
17729  Algorithm\InsetSpace ~
17730
17731 \begin_inset LatexCommand ref
17732 reference "alg:Example-Algorithm-float"
17733
17734 \end_inset
17735
17736  is an example of an algorithm float where -4\InsetSpace \thinspace{}
17737 mm vertical space was added
17738  at the end of the float to have the bottom rule exactly below the last
17739  text line.
17740 \end_layout
17741
17742 \begin_layout Standard
17743 The float label is not automatically translated into the document language.
17744  If your document is not in English, you have to do this manually by adding
17745  the following line to the document preamble
17746 \series bold
17747 :
17748 \end_layout
17749
17750 \begin_layout Standard
17751
17752 \series bold
17753
17754 \backslash
17755 floatname{algorithm}{your\InsetSpace ~
17756 name}
17757 \end_layout
17758
17759 \begin_layout Standard
17760
17761 \family sans
17762 your\InsetSpace ~
17763 name
17764 \family default
17765  is the word 
17766 \begin_inset Quotes eld
17767 \end_inset
17768
17769
17770 \emph on
17771 algorithm
17772 \emph default
17773
17774 \begin_inset Quotes erd
17775 \end_inset
17776
17777  in your language.
17778 \end_layout
17779
17780 \begin_layout Description
17781
17782 \series bold
17783 Note:
17784 \series default
17785  When the LaTeX-package 
17786 \series bold
17787 hyperref
17788 \series default
17789
17790 \begin_inset LatexCommand index
17791 name "LaTeX-packages ! hyperref"
17792
17793 \end_inset
17794
17795  is used to link cross-references to floats in the PDF-output, it must be
17796  loaded in the document preamble before the definition of floats to be able
17797  to reference floats.
17798  As LyX sets the float definition for algorithm floats automatically before
17799  the user editable part of the document preamble, you need to insert the
17800  following preamble lines 
17801 \emph on
17802 after
17803 \emph default
17804  the loading command of 
17805 \series bold
17806 hyperref
17807 \series default
17808 :
17809 \series bold
17810
17811 \begin_inset VSpace defskip
17812 \end_inset
17813
17814
17815 \newline
17816
17817 \backslash
17818 newfloat{Xalgorithm}{tbp}{loa}
17819 \newline
17820
17821 \backslash
17822 floatname{Xalgorithm}{your\InsetSpace ~
17823 name}
17824 \newline
17825
17826 \backslash
17827 newcommand{
17828 \backslash
17829 theHalgorithm}{
17830 \backslash
17831 theHXalgorithm}
17832 \newline
17833
17834 \backslash
17835 renewenvironment{algorithm}[1][tbp]
17836 \newline
17837
17838 \begin_inset ERT
17839 status collapsed
17840
17841 \begin_layout Standard
17842
17843
17844 \backslash
17845 hphantom{ }
17846 \end_layout
17847
17848 \end_inset
17849
17850 {
17851 \backslash
17852 begin{Xalgorithm}[#1]}{
17853 \backslash
17854 end{Xalgorithm}}
17855 \begin_inset VSpace defskip
17856 \end_inset
17857
17858
17859 \end_layout
17860
17861 \begin_layout Standard
17862 Algorithm floats are not by default numbered in the scheme 
17863 \begin_inset Quotes eld
17864 \end_inset
17865
17866 chapter.algorithm
17867 \begin_inset Quotes erd
17868 \end_inset
17869
17870  like it is the case for table and figure floats in many document-classes.
17871  To number algorithm floats in the same scheme, add this command to your
17872  document preamble:
17873 \end_layout
17874
17875 \begin_layout Standard
17876
17877 \series bold
17878
17879 \backslash
17880 numberwithin{algorithm}{chapter}
17881 \end_layout
17882
17883 \begin_layout Standard
17884 If you use the LaTeX-package 
17885 \series bold
17886 hyperref
17887 \series default
17888 , add this line instead 
17889 \emph on
17890 after
17891 \emph default
17892  the definition of 
17893 \family sans
17894 Xalgorithm
17895 \family default
17896  (the commands from above) to the preamble:
17897 \end_layout
17898
17899 \begin_layout Standard
17900
17901 \series bold
17902
17903 \backslash
17904 numberwithin{Xalgorithm}{chapter}
17905 \end_layout
17906
17907 \begin_layout Standard
17908 To be able to use the command 
17909 \series bold
17910
17911 \backslash
17912 numberwithin
17913 \series default
17914 , set in the tab 
17915 \family sans
17916 Math\InsetSpace ~
17917 Options
17918 \family default
17919  in the document settings the option 
17920 \family sans
17921 Use\InsetSpace ~
17922 AMS\InsetSpace ~
17923 math\InsetSpace ~
17924 package
17925 \family default
17926 .
17927 \end_layout
17928
17929 \begin_layout Subsection
17930 Text Wrap Floats
17931 \begin_inset LatexCommand index
17932 name "Floats ! Text Wrap Floats"
17933
17934 \end_inset
17935
17936
17937 \begin_inset LatexCommand label
17938 name "sub:floatflt-wrap-float"
17939
17940 \end_inset
17941
17942
17943 \end_layout
17944
17945 \begin_layout Standard
17946 This float type is used if you want to 
17947 \begin_inset Quotes eld
17948 \end_inset
17949
17950 wrap
17951 \begin_inset Quotes erd
17952 \end_inset
17953
17954  text around a figure so that it only occupies some fraction of the column
17955  width.
17956  It can be inserted using the menu 
17957 \begin_inset Wrap figure
17958 placement l
17959 width "40col%"
17960 status open
17961
17962 \begin_layout Standard
17963 \begin_inset Graphics
17964         filename clipart/mobius.eps
17965         display color
17966         width 40col%
17967         scaleBeforeRotation
17968         rotateOrigin center
17969
17970 \end_inset
17971
17972
17973 \end_layout
17974
17975 \begin_layout Standard
17976 \begin_inset Caption
17977
17978 \begin_layout Standard
17979 \begin_inset LatexCommand label
17980 name "fig:This-is-a"
17981
17982 \end_inset
17983
17984 This is a wrapped figure, and this is the brilliant caption that describes
17985  it.
17986 \begin_inset VSpace medskip
17987 \end_inset
17988
17989
17990 \end_layout
17991
17992 \end_inset
17993
17994
17995 \end_layout
17996
17997 \end_inset
17998
17999  
18000 \family sans
18001 Insert\SpecialChar \menuseparator
18002 Floats\SpecialChar \menuseparator
18003 Text\InsetSpace ~
18004 Wrap\InsetSpace ~
18005 Float
18006 \family default
18007  if the LaTeX-package 
18008 \series bold
18009 f\SpecialChar \textcompwordmark{}
18010 loatf\SpecialChar \textcompwordmark{}
18011 lt
18012 \series default
18013
18014 \begin_inset LatexCommand index
18015 name "LaTeX-packages ! floatflt"
18016
18017 \end_inset
18018
18019  is installed.
18020 \begin_inset Foot
18021 status collapsed
18022
18023 \begin_layout Standard
18024 Installing a LaTeX-package is explained it in the 
18025 \emph on
18026 LaTeX\InsetSpace ~
18027 Configuration
18028 \emph default
18029  manual.
18030 \end_layout
18031
18032 \end_inset
18033
18034  The width and placement of the float is adjusted by right-clicking on the
18035  float box.
18036  Figure\InsetSpace ~
18037
18038 \begin_inset LatexCommand ref
18039 reference "fig:This-is-a"
18040
18041 \end_inset
18042
18043  is an example text wrap float with a width of 40
18044 \begin_inset Formula $\,$
18045 \end_inset
18046
18047 col%.
18048 \begin_inset Foot
18049 status collapsed
18050
18051 \begin_layout Standard
18052 Available units are explained in 
18053 \begin_inset LatexCommand ref
18054 reference "cha:Units-available-in"
18055
18056 \end_inset
18057
18058 .
18059 \end_layout
18060
18061 \end_inset
18062
18063  Some space was added under the caption to separate it better from the surroundi
18064 ng text.
18065 \end_layout
18066
18067 \begin_layout Standard
18068 The LaTeX-package 
18069 \series bold
18070 f\SpecialChar \textcompwordmark{}
18071 loatf\SpecialChar \textcompwordmark{}
18072 lt
18073 \series default
18074  also supports table wrap floats, but they are not yet supported by LyX.
18075  If you need this, read the documentation of 
18076 \series bold
18077 f\SpecialChar \textcompwordmark{}
18078 loatf\SpecialChar \textcompwordmark{}
18079 lt
18080 \series default
18081  
18082 \begin_inset LatexCommand cite
18083 key "floatflt"
18084
18085 \end_inset
18086
18087 .
18088 \end_layout
18089
18090 \begin_layout Standard
18091 \begin_inset Note Greyedout
18092 status open
18093
18094 \begin_layout Standard
18095
18096 \series bold
18097 Note:
18098 \series default
18099  Text\InsetSpace ~
18100 wrap float floats are fragile! E.\InsetSpace \thinspace{}
18101 g.\InsetSpace ~
18102 having a figure too close to the bottom
18103  of the page can mess things up in the way that the float doesn't appear
18104  in the output or that it is placed over some other text.
18105 \begin_inset Foot
18106 status open
18107
18108 \begin_layout Standard
18109 The better solution is to use the LaTeX-package 
18110 \series bold
18111 wrapf\SpecialChar \textcompwordmark{}
18112 ig
18113 \series default
18114
18115 \begin_inset LatexCommand index
18116 name "LaTeX-packages ! wrapfig\\vspace{4mm}"
18117
18118 \end_inset
18119
18120  instead of 
18121 \series bold
18122 f\SpecialChar \textcompwordmark{}
18123 loatf\SpecialChar \textcompwordmark{}
18124 lt
18125 \series default
18126 , but it is currently not supported by LyX.
18127 \end_layout
18128
18129 \end_inset
18130
18131
18132 \end_layout
18133
18134 \end_inset
18135
18136
18137 \end_layout
18138
18139 \begin_layout Standard
18140 In general:
18141 \end_layout
18142
18143 \begin_layout Itemize
18144 Wrap floats should not be placed in paragraphs that run over a page break.
18145  That means that wrap floats should better be inserted to the exact place
18146  when the document is nearly finished and you are able to estimate where
18147  page breaks will appear.
18148 \end_layout
18149
18150 \begin_layout Itemize
18151 Wrap floats should either be placed in an own paragraph before the paragraph
18152  where they should wrap into or within a paragraph.
18153 \end_layout
18154
18155 \begin_layout Itemize
18156 Wrap floats in consecutive paragraphs may cause troubles, so assure that
18157  there is a text paragraph between them as separator.
18158 \end_layout
18159
18160 \begin_layout Itemize
18161 Wrap floats are not allowed in section headings or tables.
18162 \end_layout
18163
18164 \begin_layout Section
18165 Float Numbering
18166 \begin_inset LatexCommand label
18167 name "sec:Float-Numbering"
18168
18169 \end_inset
18170
18171
18172 \begin_inset LatexCommand index
18173 name "Floats ! Numbering"
18174
18175 \end_inset
18176
18177
18178 \end_layout
18179
18180 \begin_layout Standard
18181 Floats are usually numbered either independent from the sections the floats
18182  are in, or in the scheme 
18183 \begin_inset Quotes eld
18184 \end_inset
18185
18186 chapter.number
18187 \begin_inset Quotes erd
18188 \end_inset
18189
18190  or 
18191 \begin_inset Quotes eld
18192 \end_inset
18193
18194 section.number
18195 \begin_inset Quotes erd
18196 \end_inset
18197
18198 .
18199  This depends on the used document class.
18200 \end_layout
18201
18202 \begin_layout Standard
18203 To change the section independent numbering, you can use this command in
18204  the document preamble:
18205 \end_layout
18206
18207 \begin_layout Standard
18208
18209 \series bold
18210
18211 \backslash
18212 renewcommand{
18213 \backslash
18214 thetable}{
18215 \backslash
18216 roman{table}}
18217 \end_layout
18218
18219 \begin_layout Standard
18220
18221 \series bold
18222
18223 \backslash
18224 thetable
18225 \series default
18226  is the command that prints the table number, for figure floats, the command
18227  would be 
18228 \series bold
18229
18230 \backslash
18231 thefigure
18232 \series default
18233 .
18234  The command 
18235 \series bold
18236
18237 \backslash
18238 roman
18239 \series default
18240  prints in the command above the table number as small roman number.
18241 \end_layout
18242
18243 \begin_layout Standard
18244 To change the numbering scheme for example to 
18245 \begin_inset Quotes eld
18246 \end_inset
18247
18248 subsection.number
18249 \begin_inset Quotes erd
18250 \end_inset
18251
18252 , use this command in the preamble:
18253 \end_layout
18254
18255 \begin_layout Standard
18256
18257 \series bold
18258
18259 \backslash
18260 numberwithin{table}{subsection}
18261 \end_layout
18262
18263 \begin_layout Standard
18264 To be able to use the command 
18265 \series bold
18266
18267 \backslash
18268 numberwithin
18269 \series default
18270 , set in the tab 
18271 \family sans
18272 Math\InsetSpace ~
18273 Options
18274 \family default
18275  in the document settings the option 
18276 \family sans
18277 Use\InsetSpace ~
18278 AMS\InsetSpace ~
18279 math\InsetSpace ~
18280 package
18281 \family default
18282 .
18283 \end_layout
18284
18285 \begin_layout Standard
18286 Please also have a look at section\InsetSpace ~
18287
18288 \begin_inset LatexCommand ref
18289 reference "sub:Footnote-Numbering"
18290
18291 \end_inset
18292
18293  for the details and important notes about the numbering commands.
18294 \end_layout
18295
18296 \begin_layout Section
18297 Referencing Floats
18298 \begin_inset LatexCommand label
18299 name "sec:Referencing-Floats"
18300
18301 \end_inset
18302
18303
18304 \begin_inset LatexCommand index
18305 name "Floats ! References"
18306
18307 \end_inset
18308
18309
18310 \begin_inset LatexCommand index
18311 name "References"
18312
18313 \end_inset
18314
18315
18316 \end_layout
18317
18318 \begin_layout Standard
18319 To reference a float, insert a label into its caption using the menu 
18320 \family sans
18321 Insert\SpecialChar \menuseparator
18322 Label
18323 \family default
18324  or the toolbar button 
18325 \begin_inset Graphics
18326         filename ../images/label-insert.xpm
18327         scale 85
18328         scaleBeforeRotation
18329
18330 \end_inset
18331
18332 .
18333  A grey label box like this one: 
18334 \begin_inset Graphics
18335         filename clipart/labelQt4.png
18336         scale 85
18337         scaleBeforeRotation
18338
18339 \end_inset
18340
18341  will be inserted and the label window pops up asking for the label text.
18342  LyX offers as text the first words of the caption with a prefix.
18343  The prefix depends on the float type, e.\InsetSpace \thinspace{}
18344 g.\InsetSpace ~
18345 for figure floats the prefix will
18346  be "
18347 \family sans
18348 fig:
18349 \family default
18350 ".
18351 \end_layout
18352
18353 \begin_layout Standard
18354 The label is used as anchor and name for the reference.
18355  You can refer to the label using the menu 
18356 \family sans
18357 Insert\SpecialChar \menuseparator
18358 Cross-reference
18359 \family default
18360  or the toolbar button 
18361 \begin_inset Graphics
18362         filename ../images/dialog-show-new-inset_ref.xpm
18363         scale 85
18364         scaleBeforeRotation
18365
18366 \end_inset
18367
18368 .
18369  A grey cross-reference box like this one: 
18370 \begin_inset Graphics
18371         filename clipart/referenceQt4.png
18372         scale 85
18373         scaleBeforeRotation
18374
18375 \end_inset
18376
18377  will be inserted and the cross-reference window appear showing all labels
18378  of the document.
18379  If you have multiple LyX-documents opened, choose the one you are working
18380  on from the drop-list at the top of the dialog.
18381  You can now sort the labels alphabetically and then choose one.
18382  At the position of the cross-reference box the float number will appear
18383  in the output.
18384 \end_layout
18385
18386 \begin_layout Standard
18387 It is recommended to use a protected space between the cross-reference name
18388  and its number to avoid line breaks between them.
18389  If a cross-reference refers to a non-existing label, you will see two question
18390  marks in the output instead of the reference.
18391 \end_layout
18392
18393 \begin_layout Standard
18394 You can change labels at any time by clicking on the label box.
18395  References to the changed label will automatically change its link to the
18396  new label text, so that you don't need to take care about this.
18397 \end_layout
18398
18399 \begin_layout Standard
18400 The button 
18401 \family sans
18402 Go\InsetSpace ~
18403 to\InsetSpace ~
18404 Label
18405 \family default
18406  in the cross-reference window sets the cursor before the referred label.
18407  The button text changes then to Go\InsetSpace ~
18408 Back and you can use it to set the cursor
18409  back to the cross-reference.
18410  Right-clicking on a cross-reference box also sets the cursor before the
18411  referenced label but without a possibility to go back.
18412 \end_layout
18413
18414 \begin_layout Subsection
18415 Cross-Reference Formats
18416 \begin_inset LatexCommand label
18417 name "sub:Cross-Reference-Formats"
18418
18419 \end_inset
18420
18421
18422 \begin_inset LatexCommand index
18423 name "References ! Formats"
18424
18425 \end_inset
18426
18427
18428 \end_layout
18429
18430 \begin_layout Standard
18431 There are six varieties of cross-references:
18432 \end_layout
18433
18434 \begin_layout Description
18435 <reference>: prints the float number, this is the default: 
18436 \begin_inset LatexCommand ref
18437 reference "fig:Two-distorted-images"
18438
18439 \end_inset
18440
18441
18442 \end_layout
18443
18444 \begin_layout Description
18445 (<reference>): prints the float number within two parentheses, this is the
18446  style normally used to reference formulas, especially when the reference
18447  name 
18448 \begin_inset Quotes eld
18449 \end_inset
18450
18451 Equation
18452 \begin_inset Quotes erd
18453 \end_inset
18454
18455  is omitted: 
18456 \begin_inset LatexCommand eqref
18457 reference "eq:Wgn"
18458
18459 \end_inset
18460
18461
18462 \end_layout
18463
18464 \begin_layout Description
18465 <page>: prints the page number: Page\InsetSpace ~
18466
18467 \begin_inset LatexCommand pageref
18468 reference "fig:Two-distorted-images"
18469
18470 \end_inset
18471
18472
18473 \end_layout
18474
18475 \begin_layout Description
18476 on\InsetSpace ~
18477 page\InsetSpace ~
18478 <page>: prints the text "on page" and the page number: 
18479 \begin_inset LatexCommand vpageref
18480 reference "fig:Two-distorted-images"
18481
18482 \end_inset
18483
18484
18485 \end_layout
18486
18487 \begin_layout Description
18488 <reference>\InsetSpace ~
18489 on\InsetSpace ~
18490 page\InsetSpace ~
18491 <page>: prints the float number, the text "on page", and
18492  the page number: 
18493 \begin_inset LatexCommand vref
18494 reference "fig:Two-distorted-images"
18495
18496 \end_inset
18497
18498
18499 \end_layout
18500
18501 \begin_layout Description
18502 Formatted\InsetSpace ~
18503 reference: prints a self defined cross-reference format.
18504  
18505 \begin_inset Note Greyedout
18506 status open
18507
18508 \begin_layout Standard
18509
18510 \series bold
18511 Note:
18512 \series default
18513  This feature is only available when you have the LaTeX-package 
18514 \series bold
18515 prettyref
18516 \series default
18517  installed.
18518 \end_layout
18519
18520 \end_inset
18521
18522
18523 \end_layout
18524
18525 \begin_layout Standard
18526 Note that the style <page> won't print the page number if the label is on
18527  the previous, the same, or the next page.
18528  You will e.\InsetSpace \thinspace{}
18529 g.\InsetSpace ~
18530 see the text 
18531 \begin_inset Quotes eld
18532 \end_inset
18533
18534
18535 \family sans
18536 on this page
18537 \family default
18538
18539 \begin_inset Quotes erd
18540 \end_inset
18541
18542  instead.
18543 \end_layout
18544
18545 \begin_layout Standard
18546 The number and current page of the referred document part in the output,
18547  is automatically calculated by LaTeX.
18548  The varieties are adjusted in the field 
18549 \family sans
18550 Format
18551 \family default
18552  of the cross-reference window, that appear when you click on the cross-referenc
18553 e box.
18554 \end_layout
18555
18556 \begin_layout Subsection
18557 Referencing Subfigures
18558 \begin_inset LatexCommand label
18559 name "sub:Referencing-Subfigures"
18560
18561 \end_inset
18562
18563
18564 \begin_inset LatexCommand index
18565 name "References ! to Subfigures"
18566
18567 \end_inset
18568
18569
18570 \end_layout
18571
18572 \begin_layout Standard
18573 Currently referencing subfigures is not supported by LyX, so you have to
18574  use LaTeX-commands.
18575  The label is the created with the command
18576 \end_layout
18577
18578 \begin_layout Standard
18579
18580 \series bold
18581
18582 \backslash
18583 label{fig:YourLabelName}
18584 \end_layout
18585
18586 \begin_layout Standard
18587 that is directly inserted into the subfigure caption field.
18588  To reference the label add this command in ERT
18589 \end_layout
18590
18591 \begin_layout Standard
18592
18593 \series bold
18594
18595 \backslash
18596 ref{fig:YourLabelName}
18597 \end_layout
18598
18599 \begin_layout Standard
18600 to the position in your document where the reference should be placed.
18601  Here is a reference to a subfigure: Subfigure\InsetSpace ~
18602
18603 \begin_inset ERT
18604 status collapsed
18605
18606 \begin_layout Standard
18607
18608
18609 \backslash
18610 ref{fig:Platypus}
18611 \end_layout
18612
18613 \end_inset
18614
18615 .
18616 \end_layout
18617
18618 \begin_layout Subsection
18619 Automatic Reference Naming
18620 \begin_inset LatexCommand index
18621 name "References ! Automatic Reference Naming"
18622
18623 \end_inset
18624
18625
18626 \end_layout
18627
18628 \begin_layout Standard
18629 The LaTeX-package 
18630 \series bold
18631 hyperref
18632 \series default
18633  provides a very useful feature that cross-references automatically include
18634  the name of the referenced floats (or text parts like sections).
18635  You save to write e.\InsetSpace \thinspace{}
18636 g.\InsetSpace ~
18637 the name 
18638 \begin_inset Quotes eld
18639 \end_inset
18640
18641 Figure
18642 \begin_inset Quotes erd
18643 \end_inset
18644
18645  before every reference box.
18646  To get this automatic reference naming, you have to load the LaTeX-package
18647  
18648 \series bold
18649 hyperref
18650 \series default
18651
18652 \begin_inset LatexCommand index
18653 name "LaTeX-packages ! hyperref"
18654
18655 \end_inset
18656
18657  in the document preamble with
18658 \end_layout
18659
18660 \begin_layout Standard
18661
18662 \series bold
18663
18664 \backslash
18665 usepackage[pdfborder={0 0 0}]{hyperref}
18666 \newline
18667
18668 \backslash
18669 AtBeginDocument{
18670 \backslash
18671 renewcommand{
18672 \backslash
18673 ref}[1]{
18674 \backslash
18675 mbox{
18676 \backslash
18677 autoref{#1}}}}
18678 \end_layout
18679
18680 \begin_layout Standard
18681
18682 \series bold
18683 hyperref
18684 \series default
18685  is used to link cross-references in the DVI- and PDF-output, this means
18686  that the reader of your document will be able to click on a table of content
18687  (TOC) entry or on a reference and he will be shown the referenced document
18688  part.
18689  
18690 \series bold
18691 hyperref
18692 \series default
18693  also creates PDF-bookmarks for every section of your document to make it
18694  easier for readers to navigate through the document.
18695  This is also used in this document but when you have a look in the document
18696  preamble you will find various options in the load command of 
18697 \series bold
18698 hyperref
18699 \series default
18700 .
18701  To learn more about the 
18702 \series bold
18703 hyperref
18704 \series default
18705  package, we refer to its documentation 
18706 \begin_inset LatexCommand cite
18707 key "hyperref"
18708
18709 \end_inset
18710
18711 .
18712 \end_layout
18713
18714 \begin_layout Standard
18715 \begin_inset Note Greyedout
18716 status open
18717
18718 \begin_layout Standard
18719
18720 \series bold
18721 Note:
18722 \series default
18723  Automatic reference naming cannot be used when you use cross-references
18724  in the 
18725 \family sans
18726 Formatted\InsetSpace ~
18727 reference
18728 \family default
18729  style, described in section\InsetSpace ~
18730
18731 \begin_inset LatexCommand ref
18732 reference "sub:Cross-Reference-Formats"
18733
18734 \end_inset
18735
18736 .
18737 \end_layout
18738
18739 \end_inset
18740
18741
18742 \end_layout
18743
18744 \begin_layout Subsection
18745 Reference Position
18746 \begin_inset LatexCommand label
18747 name "sub:Reference-Position"
18748
18749 \end_inset
18750
18751
18752 \begin_inset LatexCommand index
18753 name "References ! Reference Position"
18754
18755 \end_inset
18756
18757
18758 \end_layout
18759
18760 \begin_layout Standard
18761 If you use 
18762 \series bold
18763 hyperref
18764 \series default
18765
18766 \begin_inset LatexCommand index
18767 name "LaTeX-packages ! hyperref"
18768
18769 \end_inset
18770
18771  to link cross-references in the output, you will see that clicking on an
18772  image float reference jumps to the image label.
18773  The caption will be the first text part on the screen, so that you cannot
18774  see the image without scrolling.
18775  This is because the reference link anchor is placed at the position of
18776  the label.
18777  With the use of the package 
18778 \series bold
18779 hypcap
18780 \series default
18781
18782 \begin_inset LatexCommand index
18783 name "LaTeX-packages ! hypcap"
18784
18785 \end_inset
18786
18787 , which is part of the LaTeX-package 
18788 \series bold
18789 oberdiek
18790 \series default
18791
18792 \begin_inset LatexCommand index
18793 name "LaTeX-packages ! oberdiek"
18794
18795 \end_inset
18796
18797 , the link anchor is placed at the beginning of a float.
18798  To use this feature for figure floats, load 
18799 \series bold
18800 hypcap
18801 \series default
18802  in the document preamble with the line
18803 \end_layout
18804
18805 \begin_layout Standard
18806
18807 \series bold
18808
18809 \backslash
18810 usepackage[f\SpecialChar \textcompwordmark{}
18811 igure]{hypcap}
18812 \end_layout
18813
18814 \begin_layout Standard
18815 You can also use 
18816 \series bold
18817 hypcap
18818 \series default
18819  for all floats but this isn't recommended for stability reasons.
18820  For more informations, have a look at 
18821 \series bold
18822 hypcap
18823 \series default
18824 's manual 
18825 \begin_inset LatexCommand cite
18826 key "hypcap"
18827
18828 \end_inset
18829
18830 .
18831 \end_layout
18832
18833 \begin_layout Standard
18834 \begin_inset Note Greyedout
18835 status open
18836
18837 \begin_layout Standard
18838
18839 \series bold
18840 Note:
18841 \series default
18842  
18843 \series bold
18844 hypcap
18845 \series default
18846  must be loaded after 
18847 \series bold
18848 hyperref
18849 \series default
18850  in the document preamble.
18851 \end_layout
18852
18853 \end_inset
18854
18855
18856 \end_layout
18857
18858 \begin_layout Standard
18859 \begin_inset Note Greyedout
18860 status open
18861
18862 \begin_layout Standard
18863
18864 \series bold
18865 Note:
18866 \series default
18867  
18868 \series bold
18869 hypcap
18870 \series default
18871  has no effect for references to subfigures.
18872 \end_layout
18873
18874 \end_inset
18875
18876
18877 \end_layout
18878
18879 \begin_layout Section
18880 Float Placement
18881 \begin_inset LatexCommand label
18882 name "sec:Float-Placement"
18883
18884 \end_inset
18885
18886
18887 \begin_inset LatexCommand index
18888 name "Floats ! Placement"
18889
18890 \end_inset
18891
18892
18893 \end_layout
18894
18895 \begin_layout Standard
18896 Right-clicking on a float-box opens a dialog where you can alter the placement
18897  options that LaTeX uses for positioning the float.
18898 \newline
18899 The option 
18900 \family sans
18901 Span\InsetSpace ~
18902 columns
18903 \family default
18904  is only useful for two-column documents: If you select it, the float will
18905  span across both columns on the page instead of being confined to just
18906  one.
18907 \newline
18908 The option 
18909 \family sans
18910 Rotate\InsetSpace ~
18911 sideways
18912 \family default
18913  is used to rotate floats, see section 
18914 \begin_inset LatexCommand ref
18915 reference "sec:Rotated-Floats"
18916
18917 \end_inset
18918
18919 .
18920 \end_layout
18921
18922 \begin_layout Standard
18923 You can use one ore more of the following options in the float dialog to
18924  set the placement for a particular float when you uncheck the option 
18925 \family sans
18926 Use\InsetSpace ~
18927 default\InsetSpace ~
18928 placement
18929 \family default
18930 :
18931 \end_layout
18932
18933 \begin_layout Description
18934 Here\InsetSpace ~
18935 if\InsetSpace ~
18936 possible try to place the float on the position where it is inserted
18937 \end_layout
18938
18939 \begin_layout Description
18940 Top\InsetSpace ~
18941 of\InsetSpace ~
18942 page try to place the float on the top of the current page
18943 \end_layout
18944
18945 \begin_layout Description
18946 Bottom\InsetSpace ~
18947 of\InsetSpace ~
18948 page try to place the float on the bottom of the current page
18949 \end_layout
18950
18951 \begin_layout Description
18952 Page\InsetSpace ~
18953 of\InsetSpace ~
18954 floats try to place the float on an own page 
18955 \end_layout
18956
18957 \begin_layout Standard
18958 The order of the above option is 
18959 \emph on
18960 always
18961 \emph default
18962  used by LaTeX.
18963  That means, if you use the default placement, LaTeX will first try out
18964  
18965 \family sans
18966 Here\InsetSpace ~
18967 if\InsetSpace ~
18968 possible
18969 \family default
18970 , then 
18971 \family sans
18972 Top\InsetSpace ~
18973 of\InsetSpace ~
18974 page
18975 \family default
18976 , and then the others.
18977  If you don't use the default, LaTeX will try only the checked options but
18978  in the same order.
18979  If none of the 4 placements are possible the procedure is internally repeated
18980  but it is tried to put the float on the following page.
18981 \end_layout
18982
18983 \begin_layout Standard
18984 By default, each option has its own rules:
18985 \end_layout
18986
18987 \begin_layout Labeling
18988 \labelwidthstring 00.00.0000
18989
18990 \family sans
18991 Top\InsetSpace ~
18992 of\InsetSpace ~
18993 page
18994 \family default
18995  only floats occupying less than 70\InsetSpace \thinspace{}
18996 % of the page can be placed at the top
18997  of a page (
18998 \series bold
18999
19000 \backslash
19001 topfraction
19002 \series default
19003 )
19004 \end_layout
19005
19006 \begin_layout Labeling
19007 \labelwidthstring 00.00.0000
19008
19009 \family sans
19010 Bottom\InsetSpace ~
19011 of\InsetSpace ~
19012 page
19013 \family default
19014 : only floats occupying less than 30\InsetSpace \thinspace{}
19015 % of the page can be placed at the bottom
19016  of a page.
19017  (
19018 \series bold
19019
19020 \backslash
19021 bottomfraction
19022 \series default
19023 )
19024 \end_layout
19025
19026 \begin_layout Labeling
19027 \labelwidthstring 00.00.0000
19028
19029 \family sans
19030 Page\InsetSpace ~
19031 of\InsetSpace ~
19032 floats
19033 \family default
19034 : only if more than 50\InsetSpace \thinspace{}
19035 % of the page are occupied by floats, several floats
19036  can be set together on a page.
19037  (
19038 \series bold
19039
19040 \backslash
19041 f\SpecialChar \textcompwordmark{}
19042 loatpagefraction
19043 \series default
19044 )
19045 \end_layout
19046
19047 \begin_layout Standard
19048 If you don't like these rules, you can ignore them by using the additional
19049  option 
19050 \family sans
19051 Ignore\InsetSpace ~
19052 LaTeX\InsetSpace ~
19053 rules
19054 \family default
19055 .
19056 \newline
19057 You can also redefine the rules with LaTeX-commands that are given in parenthese
19058 s behind the rules description above.
19059  To increase for example the often too small default of the bottom-rule
19060  to 50\InsetSpace \thinspace{}
19061 % of the page, add this line to your document preamble:
19062 \end_layout
19063
19064 \begin_layout Standard
19065
19066 \series bold
19067
19068 \backslash
19069 renewcommand{
19070 \backslash
19071 bottomfraction}{0.5}
19072 \end_layout
19073
19074 \begin_layout Standard
19075 Sometimes you might need, under all circumstances, a float to be placed
19076  exactly at the position where it is inserted.
19077  For this case you can use the option 
19078 \family sans
19079 Here\InsetSpace ~
19080 definitely
19081 \family default
19082 .
19083  Use this option very rarely and only if the document is nearly ready to
19084  be printed.
19085  Because the float is then no longer able to 
19086 \begin_inset Quotes eld
19087 \end_inset
19088
19089 float
19090 \begin_inset Quotes erd
19091 \end_inset
19092
19093  when you change your document and this will often destroy the page layout.
19094 \end_layout
19095
19096 \begin_layout Standard
19097 There are no placement options for text wrap floats, because they are always
19098  surrounded by the text of a certain paragraph.
19099 \begin_inset VSpace bigskip
19100 \end_inset
19101
19102
19103 \end_layout
19104
19105 \begin_layout Standard
19106 Sometimes you have the problem that a float is placed at the top of a page
19107  while its corresponding section starts at the middle of the page, so that
19108  the reader could think the float is part of the previous section.
19109  To avoid this the LaTeX-command 
19110 \series bold
19111
19112 \backslash
19113 suppressf\SpecialChar \textcompwordmark{}
19114 loats
19115 \series default
19116  can be used.
19117  It suppresses a given float placement for the page where it is inserted
19118  and can therefore be used to avoid that floats could be set before a section
19119  starts.
19120  To get this, add these commands to your document preamble:
19121 \end_layout
19122
19123 \begin_layout Standard
19124
19125 \series bold
19126
19127 \backslash
19128 let
19129 \backslash
19130 mySection
19131 \backslash
19132 section
19133 \newline
19134
19135 \backslash
19136 renewcommand{
19137 \backslash
19138 section}{
19139 \backslash
19140 suppressf\SpecialChar \textcompwordmark{}
19141 loats[t]
19142 \backslash
19143 mySection}
19144 \end_layout
19145
19146 \begin_layout Standard
19147 You can define the same for all section headings, like chapters and subsections.
19148  This definition is not recommended to be used for small text parts like
19149  subsubsections because LaTeX may then have problems to find a suitable
19150  placement.
19151 \end_layout
19152
19153 \begin_layout Standard
19154 \begin_inset VSpace bigskip
19155 \end_inset
19156
19157 In some cases it is required to have all figures/tables at the end of the
19158  document.
19159  For this purpose the LaTeX-package 
19160 \series bold
19161 endf\SpecialChar \textcompwordmark{}
19162 loat
19163 \series default
19164
19165 \begin_inset LatexCommand index
19166 name "LaTeX-packages ! endfloat"
19167
19168 \end_inset
19169
19170  was developed.
19171  It puts all figure and table floats at the end of the document into own
19172  sections.
19173  At the original float position a text hint like 
19174 \begin_inset Quotes eld
19175 \end_inset
19176
19177
19178 \family sans
19179 [Figure\InsetSpace ~
19180 3.2 about here.]
19181 \family default
19182
19183 \begin_inset Quotes erd
19184 \end_inset
19185
19186  is inserted.
19187  The endfloat-package is loaded in the preamble with the line
19188 \end_layout
19189
19190 \begin_layout Standard
19191
19192 \series bold
19193
19194 \backslash
19195 usepackage[options]{endf\SpecialChar \textcompwordmark{}
19196 loat}
19197 \end_layout
19198
19199 \begin_layout Standard
19200 There are various package options to format the created figure/table sections.
19201  For more information we refer to the 
19202 \series bold
19203 endf\SpecialChar \textcompwordmark{}
19204 loat
19205 \series default
19206  documentation 
19207 \begin_inset LatexCommand cite
19208 key "endfloat"
19209
19210 \end_inset
19211
19212 .
19213 \newline
19214
19215 \begin_inset Note Greyedout
19216 status open
19217
19218 \begin_layout Standard
19219
19220 \series bold
19221 Note: endf\SpecialChar \textcompwordmark{}
19222 loat
19223 \series default
19224  doesn't provide an automatic translation for the text hint, you have to
19225  do this manually, see section\InsetSpace ~
19226 4 in 
19227 \begin_inset LatexCommand cite
19228 key "endfloat"
19229
19230 \end_inset
19231
19232 .
19233 \end_layout
19234
19235 \end_inset
19236
19237
19238 \newline
19239
19240 \begin_inset Note Greyedout
19241 status open
19242
19243 \begin_layout Standard
19244
19245 \series bold
19246 Note:
19247 \series default
19248  There is currently a bug in 
19249 \series bold
19250 endf\SpecialChar \textcompwordmark{}
19251 loat
19252 \series default
19253  when the caption contains a German 
19254 \begin_inset Quotes eld
19255 \end_inset
19256
19257 ß
19258 \begin_inset Quotes erd
19259 \end_inset
19260
19261 .
19262  Use in this case the command 
19263 \begin_inset Quotes eld
19264 \end_inset
19265
19266
19267 \series bold
19268
19269 \backslash
19270 ss
19271 \series default
19272
19273 \begin_inset Quotes erd
19274 \end_inset
19275
19276  in ERT instead of 
19277 \begin_inset Quotes eld
19278 \end_inset
19279
19280 ß
19281 \begin_inset Quotes erd
19282 \end_inset
19283
19284 .
19285 \end_layout
19286
19287 \end_inset
19288
19289
19290 \end_layout
19291
19292 \begin_layout Standard
19293 \begin_inset VSpace bigskip
19294 \end_inset
19295
19296 For more details about float placements, have a look at LaTeX books, 
19297 \begin_inset LatexCommand cite
19298 key "latexcompanion,latexguide,latexbook"
19299
19300 \end_inset
19301
19302 .
19303 \end_layout
19304
19305 \begin_layout Section
19306 Rotated Floats
19307 \begin_inset LatexCommand label
19308 name "sec:Rotated-Floats"
19309
19310 \end_inset
19311
19312
19313 \begin_inset LatexCommand index
19314 name "Floats ! Rotating"
19315
19316 \end_inset
19317
19318
19319 \end_layout
19320
19321 \begin_layout Standard
19322 Especially for wide tables you might have floats rotated.
19323  To rotate a whole float including the caption, right-click on the float-box
19324  and use the option 
19325 \family sans
19326 Rotate\InsetSpace ~
19327 sideways
19328 \family default
19329 .
19330 \end_layout
19331
19332 \begin_layout Standard
19333 Rotated floats are always placed on its own page (or column, when you have
19334  a two-column document).
19335  They are normally rotated so that you can read them from the outside margin
19336  -- to the left on even pages, to the right on odd pages.
19337  To force a certain rotation direction for all pages, you can add either
19338  the option 
19339 \series bold
19340 f\SpecialChar \textcompwordmark{}
19341 iguresleft
19342 \series default
19343  or 
19344 \series bold
19345 f\SpecialChar \textcompwordmark{}
19346 iguresright
19347 \series default
19348  to the document class options.
19349 \end_layout
19350
19351 \begin_layout Standard
19352 Referencing rotated floats is the same like for normal floats, the caption
19353  format is also the same: Table\InsetSpace ~
19354
19355 \begin_inset LatexCommand ref
19356 reference "tab:Rotated-table"
19357
19358 \end_inset
19359
19360  is an example of a rotated table float.
19361 \end_layout
19362
19363 \begin_layout Standard
19364 \begin_inset Note Greyedout
19365 status open
19366
19367 \begin_layout Standard
19368
19369 \series bold
19370 Note:
19371 \series default
19372  Not all DVI-viewers are able to display rotated floats.
19373 \end_layout
19374
19375 \end_inset
19376
19377
19378 \end_layout
19379
19380 \begin_layout Standard
19381 \begin_inset Float table
19382 wide false
19383 sideways true
19384 status open
19385
19386 \begin_layout Standard
19387 \begin_inset Caption
19388
19389 \begin_layout Standard
19390 \begin_inset LatexCommand label
19391 name "tab:Rotated-table"
19392
19393 \end_inset
19394
19395  Rotated table
19396 \end_layout
19397
19398 \end_inset
19399
19400
19401 \end_layout
19402
19403 \begin_layout Standard
19404 \align center
19405 \begin_inset Tabular
19406 <lyxtabular version="3" rows="1" columns="5">
19407 <features>
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" width="0">
19412 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
19413 <row topline="true" bottomline="true">
19414 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19415 \begin_inset Text
19416
19417 \begin_layout Standard
19418 test
19419 \end_layout
19420
19421 \end_inset
19422 </cell>
19423 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19424 \begin_inset Text
19425
19426 \begin_layout Standard
19427 b
19428 \end_layout
19429
19430 \end_inset
19431 </cell>
19432 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19433 \begin_inset Text
19434
19435 \begin_layout Standard
19436 c
19437 \end_layout
19438
19439 \end_inset
19440 </cell>
19441 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19442 \begin_inset Text
19443
19444 \begin_layout Standard
19445 d
19446 \end_layout
19447
19448 \end_inset
19449 </cell>
19450 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19451 \begin_inset Text
19452
19453 \begin_layout Standard
19454 e
19455 \end_layout
19456
19457 \end_inset
19458 </cell>
19459 </row>
19460 </lyxtabular>
19461
19462 \end_inset
19463
19464
19465 \end_layout
19466
19467 \end_inset
19468
19469
19470 \end_layout
19471
19472 \begin_layout Section
19473 Caption Formatting
19474 \begin_inset LatexCommand index
19475 name "Caption ! Formatting"
19476
19477 \end_inset
19478
19479
19480 \begin_inset LatexCommand index
19481 name "Floats ! Caption Formatting"
19482
19483 \end_inset
19484
19485
19486 \begin_inset LatexCommand index
19487 name "LaTeX-packages ! caption"
19488
19489 \end_inset
19490
19491
19492 \begin_inset LatexCommand label
19493 name "sec:Caption-Formatting"
19494
19495 \end_inset
19496
19497
19498 \end_layout
19499
19500 \begin_layout Standard
19501 The 
19502 \family sans
19503 Caption
19504 \family default
19505  environment is the default paragraph environment for 
19506 \family sans
19507 Floats
19508 \family default
19509 .
19510  On the LyX screen captions appear as label, e.\InsetSpace \thinspace{}
19511 g.\InsetSpace ~
19512
19513 \begin_inset Quotes eld
19514 \end_inset
19515
19516
19517 \family sans
19518 Figure #:
19519 \family default
19520
19521 \begin_inset Quotes erd
19522 \end_inset
19523
19524  followed by the caption text.
19525  
19526 \begin_inset Quotes eld
19527 \end_inset
19528
19529 #
19530 \begin_inset Quotes erd
19531 \end_inset
19532
19533  is the actual reference number.
19534  By default the label and the number are in the same font as the caption
19535  text and a colon follows the number to divide the label from the text.
19536  This caption format is not suitable for all document formats.
19537  
19538 \end_layout
19539
19540 \begin_layout Standard
19541 To change the default caption format, load the LaTeX-package 
19542 \series bold
19543 caption
19544 \series default
19545
19546 \begin_inset LatexCommand index
19547 name "LaTeX-packages ! caption"
19548
19549 \end_inset
19550
19551  in the document preamble with this line:
19552 \end_layout
19553
19554 \begin_layout Standard
19555
19556 \series bold
19557
19558 \backslash
19559 usepackage[format definition]{caption}
19560 \end_layout
19561
19562 \begin_layout Standard
19563 To have for example the label and the number in sans-serif bold font and
19564  the table captions always above the table like in this document, use the
19565  following command:
19566 \end_layout
19567
19568 \begin_layout Standard
19569
19570 \series bold
19571
19572 \backslash
19573 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
19574 \end_layout
19575
19576 \begin_layout Standard
19577 You can also define different caption formats for the different float types.
19578  In this case load the 
19579 \series bold
19580 caption
19581 \series default
19582  package without format specific options and define the different formats
19583  with the help of the command
19584 \end_layout
19585
19586 \begin_layout Standard
19587
19588 \series bold
19589
19590 \backslash
19591 captionsetup[float type]{format definition}
19592 \end_layout
19593
19594 \begin_layout Standard
19595 in the document preamble.
19596  For example the caption formats of Figure\InsetSpace ~
19597
19598 \begin_inset LatexCommand ref
19599 reference "fig:This-is-an-fig"
19600
19601 \end_inset
19602
19603  and Table\InsetSpace ~
19604
19605 \begin_inset LatexCommand ref
19606 reference "tab:This-is-an-tab"
19607
19608 \end_inset
19609
19610  can be created using these commands in the document preamble:
19611 \end_layout
19612
19613 \begin_layout Standard
19614
19615 \series bold
19616
19617 \backslash
19618 usepackage[tableposition=top]{caption}
19619 \series default
19620
19621 \newline
19622
19623 \series bold
19624
19625 \backslash
19626 captionsetup[f\SpecialChar \textcompwordmark{}
19627 igure]{labelfont={tt}, textfont=it, indention=1cm,%
19628 \newline
19629
19630 \begin_inset ERT
19631 status collapsed
19632
19633 \begin_layout Standard
19634
19635
19636 \backslash
19637 hphantom{
19638 \backslash
19639
19640 \backslash
19641 captionsetup[figure]
19642 \backslash
19643 {}
19644 \end_layout
19645
19646 \end_inset
19647
19648  labelsep=period}
19649 \newline
19650
19651 \backslash
19652 captionsetup[table]{labelfont={bf,sf}}
19653 \end_layout
19654
19655 \begin_layout Standard
19656 \begin_inset Note Greyedout
19657 status open
19658
19659 \begin_layout Standard
19660
19661 \series bold
19662 Note:
19663 \series default
19664  The option 
19665 \series bold
19666 tableposition=top
19667 \series default
19668  has no effect when a 
19669 \series bold
19670 koma-script
19671 \series default
19672
19673 \begin_inset LatexCommand index
19674 name "LaTeX-packages ! koma-script"
19675
19676 \end_inset
19677
19678  document class is used.
19679  In this case the document class option 
19680 \series bold
19681 tablecaptionabove
19682 \series default
19683  must be used.
19684 \end_layout
19685
19686 \end_inset
19687
19688
19689 \end_layout
19690
19691 \begin_layout Standard
19692 For more information about the package 
19693 \series bold
19694 caption
19695 \series default
19696  we refer to its documentation 
19697 \begin_inset LatexCommand cite
19698 key "caption,caption-de"
19699
19700 \end_inset
19701
19702 .
19703 \end_layout
19704
19705 \begin_layout Standard
19706 To change the label name from e.g.
19707  
19708 \begin_inset Quotes eld
19709 \end_inset
19710
19711 Figure
19712 \begin_inset Quotes erd
19713 \end_inset
19714
19715  to 
19716 \begin_inset Quotes eld
19717 \end_inset
19718
19719 Image
19720 \begin_inset Quotes erd
19721 \end_inset
19722
19723  use this preamble command:
19724 \end_layout
19725
19726 \begin_layout Standard
19727
19728 \series bold
19729
19730 \backslash
19731 renewcommand{
19732 \backslash
19733 fnum@figure}{Image~
19734 \backslash
19735 thefigure}
19736 \end_layout
19737
19738 \begin_layout Standard
19739 where 
19740 \series bold
19741
19742 \backslash
19743 thefigure
19744 \series default
19745  inserts the figure number and
19746 \series bold
19747  
19748 \begin_inset Quotes eld
19749 \end_inset
19750
19751 ~
19752 \series default
19753
19754 \begin_inset Quotes erd
19755 \end_inset
19756
19757  creates a protected space.
19758 \end_layout
19759
19760 \begin_layout Standard
19761 \begin_inset VSpace bigskip
19762 \end_inset
19763
19764 If you are using a 
19765 \series bold
19766 koma-script
19767 \series default
19768
19769 \begin_inset LatexCommand index
19770 name "LaTeX-packages ! koma-script"
19771
19772 \end_inset
19773
19774  document class (
19775 \family sans
19776 article (koma-script)
19777 \family default
19778
19779 \family sans
19780 book (koma-script)
19781 \family default
19782
19783 \family sans
19784 letter (koma-script)
19785 \family default
19786 , or 
19787 \family sans
19788 report (koma-script)
19789 \family default
19790 \InsetSpace \thinspace{}
19791 ), you can alternatively to the 
19792 \series bold
19793 caption
19794 \series default
19795  package use 
19796 \series bold
19797 koma-script
19798 \series default
19799 's built-in command 
19800 \series bold
19801
19802 \backslash
19803 setkomafont
19804 \series default
19805 .
19806  For example, to have the caption label in bold, add this command to your
19807  document preamble:
19808 \end_layout
19809
19810 \begin_layout Standard
19811
19812 \series bold
19813
19814 \backslash
19815 setkomafont{captionlabel}{
19816 \backslash
19817 bfseries}
19818 \end_layout
19819
19820 \begin_layout Standard
19821 For more information about 
19822 \series bold
19823
19824 \backslash
19825 setkomafont
19826 \series default
19827  we refer to the 
19828 \series bold
19829 koma-script
19830 \series default
19831  documentation 
19832 \begin_inset LatexCommand cite
19833 key "koma-script,koma-script-de"
19834
19835 \end_inset
19836
19837 .
19838 \end_layout
19839
19840 \begin_layout Standard
19841 \begin_inset ERT
19842 status collapsed
19843
19844 \begin_layout Standard
19845
19846
19847 \backslash
19848 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
19849 }
19850 \end_layout
19851
19852 \end_inset
19853
19854
19855 \begin_inset Note Note
19856 status open
19857
19858 \begin_layout Standard
19859 The caption format is changed only for this example.
19860 \end_layout
19861
19862 \end_inset
19863
19864
19865 \end_layout
19866
19867 \begin_layout Standard
19868 \begin_inset Float figure
19869 placement !p
19870 wide false
19871 sideways false
19872 status open
19873
19874 \begin_layout Standard
19875 \align center
19876 \begin_inset Graphics
19877         filename clipart/mobius.eps
19878         lyxscale 50
19879         scale 50
19880         scaleBeforeRotation
19881
19882 \end_inset
19883
19884
19885 \end_layout
19886
19887 \begin_layout Standard
19888 \begin_inset Caption
19889
19890 \begin_layout Standard
19891 \begin_inset LatexCommand label
19892 name "fig:This-is-an-fig"
19893
19894 \end_inset
19895
19896 This is an example figure caption that is longer than one line to show the
19897  different caption format.
19898  Here a self-defined caption format is used.
19899 \end_layout
19900
19901 \end_inset
19902
19903
19904 \end_layout
19905
19906 \end_inset
19907
19908
19909 \end_layout
19910
19911 \begin_layout Standard
19912 \begin_inset ERT
19913 status collapsed
19914
19915 \begin_layout Standard
19916
19917
19918 \backslash
19919 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
19920 on}
19921 \end_layout
19922
19923 \end_inset
19924
19925
19926 \end_layout
19927
19928 \begin_layout Standard
19929 \begin_inset Float table
19930 placement !p
19931 wide false
19932 sideways false
19933 status open
19934
19935 \begin_layout Standard
19936 \begin_inset Caption
19937
19938 \begin_layout Standard
19939 \begin_inset LatexCommand label
19940 name "tab:This-is-an-tab"
19941
19942 \end_inset
19943
19944 This is an example table caption that is longer than one line to show the
19945  different caption format.
19946  Here the standard caption format for tables in this document is used.
19947 \end_layout
19948
19949 \end_inset
19950
19951
19952 \end_layout
19953
19954 \begin_layout Standard
19955 \align center
19956 \begin_inset Tabular
19957 <lyxtabular version="3" rows="1" columns="5">
19958 <features>
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" width="0">
19963 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
19964 <row topline="true" bottomline="true">
19965 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19966 \begin_inset Text
19967
19968 \begin_layout Standard
19969 a
19970 \end_layout
19971
19972 \end_inset
19973 </cell>
19974 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19975 \begin_inset Text
19976
19977 \begin_layout Standard
19978 b
19979 \end_layout
19980
19981 \end_inset
19982 </cell>
19983 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19984 \begin_inset Text
19985
19986 \begin_layout Standard
19987 c
19988 \end_layout
19989
19990 \end_inset
19991 </cell>
19992 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19993 \begin_inset Text
19994
19995 \begin_layout Standard
19996 d
19997 \end_layout
19998
19999 \end_inset
20000 </cell>
20001 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20002 \begin_inset Text
20003
20004 \begin_layout Standard
20005 e
20006 \end_layout
20007
20008 \end_inset
20009 </cell>
20010 </row>
20011 </lyxtabular>
20012
20013 \end_inset
20014
20015
20016 \end_layout
20017
20018 \end_inset
20019
20020
20021 \end_layout
20022
20023 \begin_layout Section
20024 Caption Placement
20025 \begin_inset LatexCommand index
20026 name "Caption ! Placement"
20027
20028 \end_inset
20029
20030
20031 \begin_inset LatexCommand index
20032 name "Floats ! Caption Placement"
20033
20034 \end_inset
20035
20036
20037 \begin_inset LatexCommand label
20038 name "sec:Caption-Placement"
20039
20040 \end_inset
20041
20042
20043 \end_layout
20044
20045 \begin_layout Standard
20046 The common caption placement rule is:
20047 \end_layout
20048
20049 \begin_layout Description
20050 Figure: Caption is set below the figure
20051 \end_layout
20052
20053 \begin_layout Description
20054 Table: Caption is set above the table
20055 \end_layout
20056
20057 \begin_layout Standard
20058 Having the caption above the table is unfortunately not supported in LaTeX's
20059  standard classes.
20060  That means if you are using the document classes 
20061 \family sans
20062 article
20063 \family default
20064
20065 \family sans
20066 book
20067 \family default
20068
20069 \family sans
20070 letter
20071 \family default
20072 , or 
20073 \family sans
20074 report
20075 \family default
20076  there will be no space between the caption and the table.
20077  To insert the needed space, add the following option to the load command
20078  of the LaTeX-package 
20079 \series bold
20080 caption
20081 \series default
20082  in your document preamble
20083 \begin_inset Foot
20084 status collapsed
20085
20086 \begin_layout Standard
20087 See section\InsetSpace ~
20088
20089 \begin_inset LatexCommand ref
20090 reference "sec:Caption-Formatting"
20091
20092 \end_inset
20093
20094  for more information of the package 
20095 \series bold
20096 caption
20097 \series default
20098 .
20099 \end_layout
20100
20101 \end_inset
20102
20103 :
20104 \end_layout
20105
20106 \begin_layout Standard
20107
20108 \series bold
20109 tableposition=top
20110 \end_layout
20111
20112 \begin_layout Standard
20113 If you are using a 
20114 \series bold
20115 koma-script
20116 \series default
20117
20118 \begin_inset LatexCommand index
20119 name "LaTeX-packages ! koma-script"
20120
20121 \end_inset
20122
20123  document class (
20124 \family sans
20125 article (koma-script)
20126 \family default
20127
20128 \family sans
20129 book (koma-script)
20130 \family default
20131
20132 \family sans
20133 letter (koma-script)
20134 \family default
20135 , or 
20136 \family sans
20137 report (koma-script)
20138 \family default
20139 \InsetSpace \thinspace{}
20140 ), you can alternatively to the 
20141 \series bold
20142 caption
20143 \series default
20144  package set the document class option 
20145 \series bold
20146 tablecaptionabove
20147 \series default
20148 .
20149 \end_layout
20150
20151 \begin_layout Standard
20152 \begin_inset VSpace bigskip
20153 \end_inset
20154
20155 It is also possible to set the caption beside a figure or table.
20156  To get this the LaTeX-package 
20157 \series bold
20158 sidecap
20159 \series default
20160
20161 \begin_inset LatexCommand index
20162 name "LaTeX-packages ! sidecap"
20163
20164 \end_inset
20165
20166  has to be loaded in the document preamble with the line
20167 \end_layout
20168
20169 \begin_layout Standard
20170
20171 \series bold
20172
20173 \backslash
20174 usepackage[option]{sidecap}
20175 \end_layout
20176
20177 \begin_layout Standard
20178 If you set no option, the caption is placed on the side of the outer page
20179  margin -- to the right on odd pages, to the left on even pages.
20180  You can change the placement to inner margin with the option 
20181 \series bold
20182 innercaption
20183 \series default
20184 .
20185  To force the placement always to the right or left, use the option 
20186 \series bold
20187 rightcaption
20188 \series default
20189  or 
20190 \series bold
20191 leftcaption
20192 \series default
20193 , respectively.
20194 \end_layout
20195
20196 \begin_layout Standard
20197 To place in LyX the caption of a float on the side, it is necessary to add
20198  these commands to the document preamble:
20199 \end_layout
20200
20201 \begin_layout Standard
20202
20203 \lyxline
20204
20205 \end_layout
20206
20207 \begin_layout Standard
20208
20209 \series bold
20210
20211 \backslash
20212 newcommand{
20213 \backslash
20214 TabBesBeg}{%
20215 \newline
20216
20217 \begin_inset ERT
20218 status collapsed
20219
20220 \begin_layout Standard
20221
20222
20223 \backslash
20224 hphantom{ }
20225 \end_layout
20226
20227 \end_inset
20228
20229
20230 \backslash
20231 let
20232 \backslash
20233 MyTable
20234 \backslash
20235 table
20236 \newline
20237
20238 \begin_inset ERT
20239 status collapsed
20240
20241 \begin_layout Standard
20242
20243
20244 \backslash
20245 hphantom{ }
20246 \end_layout
20247
20248 \end_inset
20249
20250
20251 \backslash
20252 let
20253 \backslash
20254 MyEndtable
20255 \backslash
20256 endtable
20257 \newline
20258
20259 \begin_inset ERT
20260 status collapsed
20261
20262 \begin_layout Standard
20263
20264
20265 \backslash
20266 hphantom{ }
20267 \end_layout
20268
20269 \end_inset
20270
20271
20272 \backslash
20273 renewenvironment{table}{
20274 \backslash
20275 begin{SCtable}}{
20276 \backslash
20277 end{SCtable}}}
20278 \end_layout
20279
20280 \begin_layout Standard
20281
20282 \series bold
20283
20284 \backslash
20285 newcommand{
20286 \backslash
20287 TabBesEnd}{%
20288 \newline
20289
20290 \begin_inset ERT
20291 status collapsed
20292
20293 \begin_layout Standard
20294
20295
20296 \backslash
20297 hphantom{ }
20298 \end_layout
20299
20300 \end_inset
20301
20302
20303 \backslash
20304 let
20305 \backslash
20306 table
20307 \backslash
20308 MyTable
20309 \newline
20310
20311 \begin_inset ERT
20312 status collapsed
20313
20314 \begin_layout Standard
20315
20316
20317 \backslash
20318 hphantom{ }
20319 \end_layout
20320
20321 \end_inset
20322
20323
20324 \backslash
20325 let
20326 \backslash
20327 endtable
20328 \backslash
20329 MyEndtable
20330 \end_layout
20331
20332 \begin_layout Standard
20333
20334 \series bold
20335
20336 \backslash
20337 newcommand{
20338 \backslash
20339 FigBesBeg}{%
20340 \newline
20341
20342 \begin_inset ERT
20343 status collapsed
20344
20345 \begin_layout Standard
20346
20347
20348 \backslash
20349 hphantom{ }
20350 \end_layout
20351
20352 \end_inset
20353
20354
20355 \backslash
20356 let
20357 \backslash
20358 MyFigure
20359 \backslash
20360 f\SpecialChar \textcompwordmark{}
20361 igure
20362 \newline
20363
20364 \begin_inset ERT
20365 status collapsed
20366
20367 \begin_layout Standard
20368
20369
20370 \backslash
20371 hphantom{ }
20372 \end_layout
20373
20374 \end_inset
20375
20376
20377 \backslash
20378 let
20379 \backslash
20380 MyEndf\SpecialChar \textcompwordmark{}
20381 igure
20382 \backslash
20383 endf\SpecialChar \textcompwordmark{}
20384 igure
20385 \newline
20386
20387 \begin_inset ERT
20388 status collapsed
20389
20390 \begin_layout Standard
20391
20392
20393 \backslash
20394 hphantom{ }
20395 \end_layout
20396
20397 \end_inset
20398
20399
20400 \backslash
20401 renewenvironment{f\SpecialChar \textcompwordmark{}
20402 igure}{
20403 \backslash
20404 begin{SCf\SpecialChar \textcompwordmark{}
20405 igure}}{
20406 \backslash
20407 end{SCf\SpecialChar \textcompwordmark{}
20408 igure}}}
20409 \end_layout
20410
20411 \begin_layout Standard
20412
20413 \series bold
20414
20415 \backslash
20416 newcommand{
20417 \backslash
20418 FigBesEnd}{%
20419 \newline
20420
20421 \begin_inset ERT
20422 status collapsed
20423
20424 \begin_layout Standard
20425
20426
20427 \backslash
20428 hphantom{ }
20429 \end_layout
20430
20431 \end_inset
20432
20433
20434 \backslash
20435 let
20436 \backslash
20437 f\SpecialChar \textcompwordmark{}
20438 igure
20439 \backslash
20440 MyFigure
20441 \newline
20442
20443 \begin_inset ERT
20444 status collapsed
20445
20446 \begin_layout Standard
20447
20448
20449 \backslash
20450 hphantom{ }
20451 \end_layout
20452
20453 \end_inset
20454
20455
20456 \backslash
20457 let
20458 \backslash
20459 endf\SpecialChar \textcompwordmark{}
20460 igure
20461 \backslash
20462 MyEndf\SpecialChar \textcompwordmark{}
20463 igure}
20464 \end_layout
20465
20466 \begin_layout Standard
20467
20468 \lyxline
20469
20470 \end_layout
20471
20472 \begin_layout Standard
20473 The commands allow you to redefine the floats so that the caption is set
20474  on the side.
20475  For figure floats use the command
20476 \end_layout
20477
20478 \begin_layout Standard
20479
20480 \series bold
20481
20482 \backslash
20483 FigBesBeg
20484 \end_layout
20485
20486 \begin_layout Standard
20487 in ERT before the float.
20488  Behind the float insert the command
20489 \end_layout
20490
20491 \begin_layout Standard
20492
20493 \series bold
20494
20495 \backslash
20496 FigBesEnd
20497 \end_layout
20498
20499 \begin_layout Standard
20500 in ERT to get back to the original float definition.
20501 \end_layout
20502
20503 \begin_layout Standard
20504 For table floats use the corresponding commands
20505 \end_layout
20506
20507 \begin_layout Standard
20508
20509 \series bold
20510
20511 \backslash
20512 TabBesBeg
20513 \series default
20514  and 
20515 \series bold
20516
20517 \backslash
20518 TabBesEnd
20519 \end_layout
20520
20521 \begin_layout Standard
20522 Figure\InsetSpace ~
20523
20524 \begin_inset LatexCommand ref
20525 reference "fig:cap-beside-fig"
20526
20527 \end_inset
20528
20529  and Table\InsetSpace ~
20530
20531 \begin_inset LatexCommand ref
20532 reference "tab:cap-beside-tab"
20533
20534 \end_inset
20535
20536  are examples where the caption is set beside.
20537 \end_layout
20538
20539 \begin_layout Standard
20540 You can see in the examples that the caption text appears at the top of
20541  the floats for table floats and at the bottom for figure floats.
20542  To change this, you can use the command
20543 \end_layout
20544
20545 \begin_layout Standard
20546
20547 \series bold
20548
20549 \backslash
20550 sidecaptionvpos{float type}{placement}
20551 \end_layout
20552
20553 \begin_layout Standard
20554 in the document preamble or in ERT before the float.
20555  The float type is either 
20556 \family sans
20557 figure
20558 \family default
20559  or 
20560 \family sans
20561 table
20562 \family default
20563 , the placement can be 
20564 \begin_inset Quotes eld
20565 \end_inset
20566
20567
20568 \family sans
20569 t
20570 \family default
20571
20572 \begin_inset Quotes erd
20573 \end_inset
20574
20575  for top, 
20576 \begin_inset Quotes eld
20577 \end_inset
20578
20579
20580 \family sans
20581 c
20582 \family default
20583
20584 \begin_inset Quotes erd
20585 \end_inset
20586
20587  for center, or 
20588 \begin_inset Quotes eld
20589 \end_inset
20590
20591
20592 \family sans
20593 b
20594 \family default
20595
20596 \begin_inset Quotes erd
20597 \end_inset
20598
20599  for bottom.
20600  To have for example the caption of figure floats vertically centered, use
20601  the command
20602 \end_layout
20603
20604 \begin_layout Standard
20605
20606 \series bold
20607
20608 \backslash
20609 sidecaptionvpos{f\SpecialChar \textcompwordmark{}
20610 igure}{c}
20611 \end_layout
20612
20613 \begin_layout Standard
20614 This was used for Figure\InsetSpace ~
20615
20616 \begin_inset LatexCommand ref
20617 reference "fig:cap-beside-fig-2"
20618
20619 \end_inset
20620
20621 .
20622 \end_layout
20623
20624 \begin_layout Standard
20625 \begin_inset VSpace medskip
20626 \end_inset
20627
20628 For more information about the package 
20629 \series bold
20630 sidecap
20631 \series default
20632  we refer to its documentation 
20633 \begin_inset LatexCommand cite
20634 key "sidecap"
20635
20636 \end_inset
20637
20638 .
20639 \end_layout
20640
20641 \begin_layout Standard
20642 \begin_inset Note Greyedout
20643 status open
20644
20645 \begin_layout Standard
20646
20647 \series bold
20648 Note:
20649 \series default
20650  The LaTeX-package 
20651 \series bold
20652 hypcap
20653 \series default
20654
20655 \begin_inset LatexCommand index
20656 name "LaTeX-packages ! hypcap"
20657
20658 \end_inset
20659
20660 , described in section\InsetSpace ~
20661
20662 \begin_inset LatexCommand ref
20663 reference "sub:Reference-Position"
20664
20665 \end_inset
20666
20667 , has no effect on floats with the caption set beside.
20668 \end_layout
20669
20670 \end_inset
20671
20672
20673 \end_layout
20674
20675 \begin_layout Standard
20676 \begin_inset ERT
20677 status collapsed
20678
20679 \begin_layout Standard
20680
20681
20682 \backslash
20683 FigBesBeg 
20684 \end_layout
20685
20686 \end_inset
20687
20688
20689 \end_layout
20690
20691 \begin_layout Standard
20692 \begin_inset Float figure
20693 wide false
20694 sideways false
20695 status open
20696
20697 \begin_layout Standard
20698 \begin_inset Graphics
20699         filename clipart/escher-lsd.eps
20700         scale 75
20701         scaleBeforeRotation
20702
20703 \end_inset
20704
20705
20706 \end_layout
20707
20708 \begin_layout Standard
20709 \begin_inset Caption
20710
20711 \begin_layout Standard
20712 \begin_inset LatexCommand label
20713 name "fig:cap-beside-fig"
20714
20715 \end_inset
20716
20717 This is a caption beside a figure.
20718 \end_layout
20719
20720 \end_inset
20721
20722
20723 \end_layout
20724
20725 \end_inset
20726
20727
20728 \end_layout
20729
20730 \begin_layout Standard
20731 \begin_inset ERT
20732 status collapsed
20733
20734 \begin_layout Standard
20735
20736
20737 \backslash
20738 TabBesBeg 
20739 \end_layout
20740
20741 \end_inset
20742
20743
20744 \end_layout
20745
20746 \begin_layout Standard
20747 \begin_inset Float table
20748 wide false
20749 sideways false
20750 status open
20751
20752 \begin_layout Standard
20753 \begin_inset Caption
20754
20755 \begin_layout Standard
20756 \begin_inset LatexCommand label
20757 name "tab:cap-beside-tab"
20758
20759 \end_inset
20760
20761 This is a caption beside a table.
20762 \end_layout
20763
20764 \end_inset
20765
20766
20767 \end_layout
20768
20769 \begin_layout Standard
20770 \begin_inset Tabular
20771 <lyxtabular version="3" rows="4" columns="5">
20772 <features>
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" width="0">
20777 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
20778 <row topline="true">
20779 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20780 \begin_inset Text
20781
20782 \begin_layout Standard
20783 a
20784 \end_layout
20785
20786 \end_inset
20787 </cell>
20788 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20789 \begin_inset Text
20790
20791 \begin_layout Standard
20792
20793 \end_layout
20794
20795 \end_inset
20796 </cell>
20797 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20798 \begin_inset Text
20799
20800 \begin_layout Standard
20801 b
20802 \end_layout
20803
20804 \end_inset
20805 </cell>
20806 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20807 \begin_inset Text
20808
20809 \begin_layout Standard
20810
20811 \end_layout
20812
20813 \end_inset
20814 </cell>
20815 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20816 \begin_inset Text
20817
20818 \begin_layout Standard
20819 c
20820 \end_layout
20821
20822 \end_inset
20823 </cell>
20824 </row>
20825 <row topline="true">
20826 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20827 \begin_inset Text
20828
20829 \begin_layout Standard
20830
20831 \end_layout
20832
20833 \end_inset
20834 </cell>
20835 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20836 \begin_inset Text
20837
20838 \begin_layout Standard
20839 d
20840 \end_layout
20841
20842 \end_inset
20843 </cell>
20844 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20845 \begin_inset Text
20846
20847 \begin_layout Standard
20848
20849 \end_layout
20850
20851 \end_inset
20852 </cell>
20853 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20854 \begin_inset Text
20855
20856 \begin_layout Standard
20857 e
20858 \end_layout
20859
20860 \end_inset
20861 </cell>
20862 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20863 \begin_inset Text
20864
20865 \begin_layout Standard
20866
20867 \end_layout
20868
20869 \end_inset
20870 </cell>
20871 </row>
20872 <row topline="true">
20873 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20874 \begin_inset Text
20875
20876 \begin_layout Standard
20877 f
20878 \end_layout
20879
20880 \end_inset
20881 </cell>
20882 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20883 \begin_inset Text
20884
20885 \begin_layout Standard
20886
20887 \end_layout
20888
20889 \end_inset
20890 </cell>
20891 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20892 \begin_inset Text
20893
20894 \begin_layout Standard
20895 g
20896 \end_layout
20897
20898 \end_inset
20899 </cell>
20900 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20901 \begin_inset Text
20902
20903 \begin_layout Standard
20904
20905 \end_layout
20906
20907 \end_inset
20908 </cell>
20909 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20910 \begin_inset Text
20911
20912 \begin_layout Standard
20913 h
20914 \end_layout
20915
20916 \end_inset
20917 </cell>
20918 </row>
20919 <row topline="true" bottomline="true">
20920 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20921 \begin_inset Text
20922
20923 \begin_layout Standard
20924
20925 \end_layout
20926
20927 \end_inset
20928 </cell>
20929 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20930 \begin_inset Text
20931
20932 \begin_layout Standard
20933 i
20934 \end_layout
20935
20936 \end_inset
20937 </cell>
20938 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20939 \begin_inset Text
20940
20941 \begin_layout Standard
20942
20943 \end_layout
20944
20945 \end_inset
20946 </cell>
20947 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20948 \begin_inset Text
20949
20950 \begin_layout Standard
20951 j
20952 \end_layout
20953
20954 \end_inset
20955 </cell>
20956 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20957 \begin_inset Text
20958
20959 \begin_layout Standard
20960
20961 \end_layout
20962
20963 \end_inset
20964 </cell>
20965 </row>
20966 </lyxtabular>
20967
20968 \end_inset
20969
20970
20971 \end_layout
20972
20973 \end_inset
20974
20975
20976 \end_layout
20977
20978 \begin_layout Standard
20979 \begin_inset ERT
20980 status collapsed
20981
20982 \begin_layout Standard
20983
20984
20985 \backslash
20986 TabBesEnd
20987 \end_layout
20988
20989 \end_inset
20990
20991
20992 \end_layout
20993
20994 \begin_layout Standard
20995 \begin_inset ERT
20996 status collapsed
20997
20998 \begin_layout Standard
20999
21000
21001 \backslash
21002 sidecaptionvpos{figure}{c}
21003 \end_layout
21004
21005 \end_inset
21006
21007
21008 \begin_inset Float figure
21009 wide false
21010 sideways false
21011 status open
21012
21013 \begin_layout Standard
21014 \begin_inset Graphics
21015         filename clipart/escher-lsd.eps
21016         scale 75
21017         scaleBeforeRotation
21018
21019 \end_inset
21020
21021
21022 \end_layout
21023
21024 \begin_layout Standard
21025 \begin_inset Caption
21026
21027 \begin_layout Standard
21028 \begin_inset LatexCommand label
21029 name "fig:cap-beside-fig-2"
21030
21031 \end_inset
21032
21033 This is a vertically centered caption beside a figure.
21034 \end_layout
21035
21036 \end_inset
21037
21038
21039 \end_layout
21040
21041 \end_inset
21042
21043
21044 \end_layout
21045
21046 \begin_layout Standard
21047 \begin_inset ERT
21048 status collapsed
21049
21050 \begin_layout Standard
21051
21052
21053 \backslash
21054 FigBesEnd
21055 \end_layout
21056
21057 \end_inset
21058
21059
21060 \end_layout
21061
21062 \begin_layout Section
21063 Listings of Floats
21064 \begin_inset LatexCommand label
21065 name "sec:Listings-of-Floats"
21066
21067 \end_inset
21068
21069
21070 \begin_inset LatexCommand index
21071 name "Floats ! Float Lists"
21072
21073 \end_inset
21074
21075
21076 \end_layout
21077
21078 \begin_layout Standard
21079 Similar to the the table of contents where the sections of the document
21080  are listed, there are listings for all float types, like the figures of
21081  the documents.
21082  You can insert them via the 
21083 \family sans
21084 Insert\SpecialChar \menuseparator
21085 List\InsetSpace ~
21086 /\InsetSpace ~
21087 TOC
21088 \family default
21089  sub menus.
21090 \end_layout
21091
21092 \begin_layout Standard
21093 The list entries are the float captions or its short title, the float number,
21094  and the page number where they appear in the document.
21095 \end_layout
21096
21097 \begin_layout Standard
21098 You can find the list of figures and tables at the end of this document.
21099 \end_layout
21100
21101 \begin_layout Chapter
21102 Notes
21103 \end_layout
21104
21105 \begin_layout Section
21106 \begin_inset ERT
21107 status collapsed
21108
21109 \begin_layout Standard
21110
21111
21112 \backslash
21113 texorpdfstring{
21114 \end_layout
21115
21116 \end_inset
21117
21118 LyX
21119 \begin_inset ERT
21120 status collapsed
21121
21122 \begin_layout Standard
21123
21124 }{LyX}
21125 \end_layout
21126
21127 \end_inset
21128
21129  Notes
21130 \begin_inset LatexCommand label
21131 name "sec:LyX-Notes"
21132
21133 \end_inset
21134
21135
21136 \begin_inset LatexCommand index
21137 name "Notes ! LyX Notes"
21138
21139 \end_inset
21140
21141
21142 \begin_inset Note Note
21143 status collapsed
21144
21145 \begin_layout Standard
21146 The command 
21147 \backslash
21148 texorpdfstring is provided by the LaTeX-package hyperref to avoid that ligatures
21149  are displayed wrongly in PDF-bookmarks.
21150  For more information about this, have a look at 
21151 \begin_inset LatexCommand cite
21152 key "hyperref"
21153
21154 \end_inset
21155
21156 .
21157 \end_layout
21158
21159 \end_inset
21160
21161
21162 \end_layout
21163
21164 \begin_layout Standard
21165 Notes are inserted with the toolbar button 
21166 \begin_inset Graphics
21167         filename ../images/note-insert.xpm
21168         scale 85
21169         scaleBeforeRotation
21170
21171 \end_inset
21172
21173  or the menu 
21174 \family sans
21175 Insert\SpecialChar \menuseparator
21176 Note
21177 \family default
21178 .
21179  There are five types of notes:
21180 \end_layout
21181
21182 \begin_layout Description
21183 LyX\InsetSpace ~
21184 Note This note type is for internal notes that won't appear in the output.
21185  Its note-box looks like this:
21186 \newline
21187
21188 \newline
21189
21190 \begin_inset Graphics
21191         filename clipart/LyXNoteImageQt4.png
21192         display none
21193         scale 85
21194         scaleBeforeRotation
21195
21196 \end_inset
21197
21198  
21199 \begin_inset Note Note
21200 status open
21201
21202 \begin_layout Standard
21203 This is text in a note box that doesn't appear in the output.
21204 \end_layout
21205
21206 \end_inset
21207
21208
21209 \end_layout
21210
21211 \begin_layout Description
21212 Comment This note also doesn't appear in the output but it appears as LaTeX-comm
21213 ent, when you export the document to LaTeX via the menu 
21214 \family sans
21215 File\SpecialChar \menuseparator
21216 Export\SpecialChar \menuseparator
21217 LaTeX (pdflatex) / LaTeX (plain)
21218 \family default
21219 .
21220  Its note-box looks like this:
21221 \newline
21222
21223 \newline
21224
21225 \begin_inset Graphics
21226         filename clipart/CommentNoteImageQt4.png
21227         display none
21228         scale 85
21229         scaleBeforeRotation
21230
21231 \end_inset
21232
21233  
21234 \begin_inset Note Comment
21235 status open
21236
21237 \begin_layout Standard
21238 This is text in a note box that only appears as comment in LaTeX-files.
21239 \end_layout
21240
21241 \end_inset
21242
21243
21244 \end_layout
21245
21246 \begin_layout Description
21247 Greyed\InsetSpace ~
21248 Out This note will appear in the output as grey text.
21249  Its note-box looks like this:
21250 \newline
21251
21252 \newline
21253
21254 \begin_inset Graphics
21255         filename clipart/GreyedOutNoteImageQt4.png
21256         display none
21257         scale 85
21258         scaleBeforeRotation
21259
21260 \end_inset
21261
21262
21263 \newline
21264
21265 \begin_inset ERT
21266 status collapsed
21267
21268 \begin_layout Standard
21269
21270
21271 \backslash
21272 renewenvironment{lyxgreyedout}
21273 \end_layout
21274
21275 \begin_layout Standard
21276
21277 {
21278 \backslash
21279 textcolor[gray]{0.8}
21280 \backslash
21281 bgroup}{
21282 \backslash
21283 egroup}
21284 \end_layout
21285
21286 \end_inset
21287
21288
21289 \begin_inset Note Greyedout
21290 status open
21291
21292 \begin_layout Standard
21293 This is text
21294 \begin_inset Foot
21295 status open
21296
21297 \begin_layout Standard
21298 This is an example footnote within a greyed out note.
21299 \end_layout
21300
21301 \end_inset
21302
21303  of a comment that appears in the output as grey text.
21304 \end_layout
21305
21306 \end_inset
21307
21308
21309 \begin_inset ERT
21310 status collapsed
21311
21312 \begin_layout Standard
21313
21314
21315 \backslash
21316 renewenvironment{lyxgreyedout}
21317 \end_layout
21318
21319 \begin_layout Standard
21320
21321 {
21322 \backslash
21323 textcolor{blue}
21324 \backslash
21325 bgroup}{
21326 \backslash
21327 egroup}
21328 \end_layout
21329
21330 \end_inset
21331
21332
21333 \begin_inset Note Note
21334 status collapsed
21335
21336 \begin_layout Standard
21337 The greyed out note is here redefined to show it with the original LyX definitio
21338 n because greyed out notes are redefined in the preamble of this document,
21339  as described below, to have blue text.
21340 \end_layout
21341
21342 \end_inset
21343
21344
21345 \newline
21346
21347 \newline
21348 As you can see in the example, the first line of greyed out notes is a bit
21349  indented and greyed out notes can have footnotes.
21350 \end_layout
21351
21352 \begin_layout Description
21353 Framed This note will appear in the output as framed text.
21354  Its note-box looks like this:
21355 \newline
21356
21357 \newline
21358
21359 \begin_inset Graphics
21360         filename clipart/FramedNoteImageQt4.png
21361         display none
21362         scale 85
21363         scaleBeforeRotation
21364
21365 \end_inset
21366
21367  
21368 \begin_inset Note Framed
21369 status open
21370
21371 \begin_layout Standard
21372 This is text in a note box that appears framed in the output.
21373 \end_layout
21374
21375 \end_inset
21376
21377  In contrary to framed boxes
21378 \begin_inset Foot
21379 status collapsed
21380
21381 \begin_layout Standard
21382 Framed boxes are described in section\InsetSpace ~
21383
21384 \begin_inset LatexCommand ref
21385 reference "sec:Framed-Boxes"
21386
21387 \end_inset
21388
21389 .
21390 \end_layout
21391
21392 \end_inset
21393
21394  the frame uses always the whole text width and the note is set into its
21395  own paragraph.
21396 \end_layout
21397
21398 \begin_layout Description
21399 Shaded This note will appear in the output with red background color.
21400  Its note box looks like this:
21401 \newline
21402
21403 \newline
21404
21405 \begin_inset Graphics
21406         filename clipart/ShadedNoteImageQt4.png
21407         display none
21408         scale 85
21409         scaleBeforeRotation
21410
21411 \end_inset
21412
21413
21414 \begin_inset Note Shaded
21415 status open
21416
21417 \begin_layout Standard
21418 This text in a note box appears in the output with red background.
21419 \end_layout
21420
21421 \end_inset
21422
21423 In contrary to colored boxes
21424 \begin_inset Foot
21425 status collapsed
21426
21427 \begin_layout Standard
21428 Colored boxes are described in section\InsetSpace ~
21429
21430 \begin_inset LatexCommand ref
21431 reference "sec:Colored-Boxes"
21432
21433 \end_inset
21434
21435 .
21436 \end_layout
21437
21438 \end_inset
21439
21440  the note uses always the whole text width and the note is set into its
21441  own paragraph.
21442 \end_layout
21443
21444 \begin_layout Standard
21445 \begin_inset VSpace bigskip
21446 \end_inset
21447
21448 When you use the toolbar button 
21449 \begin_inset Graphics
21450         filename ../images/note-insert.xpm
21451         scale 85
21452         scaleBeforeRotation
21453
21454 \end_inset
21455
21456  to insert notes, a 
21457 \family sans
21458 LyX\InsetSpace ~
21459 Note
21460 \family default
21461  is inserted.
21462  You can switch between the five note types by right-clicking on the note-box.
21463  
21464 \family roman
21465 \series medium
21466 \bar no
21467 If you want to turn existing text into a note, mark it and click on the
21468  note
21469 \family default
21470 \series default
21471 \bar default
21472  toolbar 
21473 \family roman
21474 \series medium
21475 \bar no
21476 button
21477 \family default
21478 \series default
21479 \bar default
21480 .
21481 \end_layout
21482
21483 \begin_layout Standard
21484 \begin_inset VSpace bigskip
21485 \end_inset
21486
21487 You can change the text color of the greyed out notes in the preamble with
21488  the following command:
21489 \end_layout
21490
21491 \begin_layout Standard
21492
21493 \series bold
21494
21495 \backslash
21496 renewenvironment{lyxgreyedout}
21497 \newline
21498
21499 \begin_inset ERT
21500 status collapsed
21501
21502 \begin_layout Standard
21503
21504
21505 \backslash
21506 hphantom{ }
21507 \end_layout
21508
21509 \end_inset
21510
21511 {
21512 \backslash
21513 textcolor{color}
21514 \backslash
21515 bgroup}{
21516 \backslash
21517 egroup}
21518 \end_layout
21519
21520 \begin_layout Standard
21521 The available colors and the method to define own colors is explained in
21522  section\InsetSpace ~
21523
21524 \begin_inset LatexCommand ref
21525 reference "sec:Colored-Tables"
21526
21527 \end_inset
21528
21529 .
21530 \end_layout
21531
21532 \begin_layout Standard
21533 Notes that appear in blue in this document are set using greyed out notes
21534  with blue text.
21535 \end_layout
21536
21537 \begin_layout Standard
21538 \begin_inset VSpace bigskip
21539 \end_inset
21540
21541
21542 \end_layout
21543
21544 \begin_layout Standard
21545 The text style of 
21546 \family sans
21547 Framed
21548 \family default
21549  and 
21550 \family sans
21551 Shaded
21552 \family default
21553  notes can be set in the 
21554 \family sans
21555 Text Style
21556 \family default
21557  dialog.
21558 \end_layout
21559
21560 \begin_layout Standard
21561 The default frame width for 
21562 \family sans
21563 Framed
21564 \family default
21565  notes is 0.4\InsetSpace \thinspace{}
21566 pt; it can be changed by changing the size 
21567 \series bold
21568
21569 \backslash
21570 FrameRule
21571 \series default
21572 .
21573  The default space between the note content and the frame is 9\InsetSpace \thinspace{}
21574 pt; it can
21575  be changed by changing the size 
21576 \series bold
21577
21578 \backslash
21579 FrameSep
21580 \series default
21581 .
21582  For example the frame appearance of the following 
21583 \family sans
21584 Framed
21585 \family default
21586  note is set with the ERT commands
21587 \end_layout
21588
21589 \begin_layout Standard
21590
21591 \series bold
21592
21593 \backslash
21594 FrameRule 5pt 
21595 \backslash
21596 FrameSep 0.5cm
21597 \end_layout
21598
21599 \begin_layout Standard
21600 \begin_inset ERT
21601 status collapsed
21602
21603 \begin_layout Standard
21604
21605
21606 \backslash
21607 FrameRule 5pt 
21608 \backslash
21609 FrameSep 0.5cm
21610 \end_layout
21611
21612 \end_inset
21613
21614
21615 \begin_inset Note Framed
21616 status open
21617
21618 \begin_layout Standard
21619 This is text in a 
21620 \family sans
21621 Framed
21622 \family default
21623  note.
21624 \end_layout
21625
21626 \end_inset
21627
21628
21629 \begin_inset ERT
21630 status collapsed
21631
21632 \begin_layout Standard
21633
21634
21635 \backslash
21636 FrameRule 0.4pt 
21637 \backslash
21638 FrameSep 9pt
21639 \end_layout
21640
21641 \end_inset
21642
21643
21644 \end_layout
21645
21646 \begin_layout Standard
21647 \begin_inset VSpace bigskip
21648 \end_inset
21649
21650
21651 \end_layout
21652
21653 \begin_layout Standard
21654 For 
21655 \family sans
21656 Shaded
21657 \family default
21658  notes the default space between the note content and the note border is
21659  3\InsetSpace \thinspace{}
21660 pt; it can be changed by changing the size 
21661 \series bold
21662
21663 \backslash
21664 fboxsep
21665 \series default
21666 .
21667 \newline
21668 The default background color red can be changed with the command 
21669 \series bold
21670
21671 \backslash
21672 def\SpecialChar \textcompwordmark{}
21673 inecolor{shadebox}
21674 \series default
21675 .
21676  The scheme of the 
21677 \series bold
21678
21679 \backslash
21680 def\SpecialChar \textcompwordmark{}
21681 inecolor
21682 \series default
21683  command is explained in section\InsetSpace ~
21684
21685 \begin_inset LatexCommand ref
21686 reference "sec:Colored-Tables"
21687
21688 \end_inset
21689
21690
21691 \begin_inset Foot
21692 status collapsed
21693
21694 \begin_layout Standard
21695 Note that 
21696 \series bold
21697
21698 \backslash
21699 def
21700 \series default
21701 \SpecialChar \textcompwordmark{}
21702
21703 \series bold
21704 inecolor
21705 \series default
21706  requires the LaTeX-package 
21707 \series bold
21708 color
21709 \series default
21710  in the preamble, see section\InsetSpace ~
21711
21712 \begin_inset LatexCommand ref
21713 reference "sec:Colored-Boxes"
21714
21715 \end_inset
21716
21717 .
21718 \end_layout
21719
21720 \end_inset
21721
21722 .
21723 \end_layout
21724
21725 \begin_layout Standard
21726 For example the appearance of the following 
21727 \family sans
21728 Shaded
21729 \family default
21730  note is set with the ERT commands
21731 \end_layout
21732
21733 \begin_layout Standard
21734
21735 \series bold
21736
21737 \backslash
21738 fboxsep 0.5cm
21739 \series default
21740
21741 \newline
21742
21743 \series bold
21744
21745 \backslash
21746 def\SpecialChar \textcompwordmark{}
21747 inecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
21748 \end_layout
21749
21750 \begin_layout Standard
21751 \begin_inset ERT
21752 status collapsed
21753
21754 \begin_layout Standard
21755
21756
21757 \backslash
21758 fboxsep 0.5cm
21759 \end_layout
21760
21761 \end_inset
21762
21763
21764 \begin_inset ERT
21765 status collapsed
21766
21767 \begin_layout Standard
21768
21769
21770 \backslash
21771 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
21772 \end_layout
21773
21774 \end_inset
21775
21776
21777 \begin_inset Note Shaded
21778 status open
21779
21780 \begin_layout Standard
21781
21782 \color yellow
21783 This is yellow text in a
21784 \color none
21785  
21786 \family sans
21787 \color yellow
21788 Shaded
21789 \family default
21790 \color none
21791  
21792 \color yellow
21793 note with darkgreen background.
21794 \end_layout
21795
21796 \end_inset
21797
21798
21799 \begin_inset ERT
21800 status collapsed
21801
21802 \begin_layout Standard
21803
21804
21805 \backslash
21806 fboxsep 3pt
21807 \end_layout
21808
21809 \end_inset
21810
21811
21812 \begin_inset ERT
21813 status collapsed
21814
21815 \begin_layout Standard
21816
21817
21818 \backslash
21819 definecolor{shadecolor}{rgb}{1,0,0}
21820 \end_layout
21821
21822 \end_inset
21823
21824
21825 \end_layout
21826
21827 \begin_layout Section
21828 Footnotes
21829 \begin_inset LatexCommand label
21830 name "sec:Footnotes"
21831
21832 \end_inset
21833
21834
21835 \begin_inset LatexCommand index
21836 name "Notes ! Footnotes"
21837
21838 \end_inset
21839
21840
21841 \begin_inset LatexCommand index
21842 name "Footnotes"
21843
21844 \end_inset
21845
21846
21847 \end_layout
21848
21849 \begin_layout Standard
21850 Footnotes can be inserted using the toolbar button 
21851 \begin_inset Graphics
21852         filename ../images/footnote-insert.xpm
21853         scale 85
21854         scaleBeforeRotation
21855
21856 \end_inset
21857
21858  or the menu 
21859 \family sans
21860 Insert\SpecialChar \menuseparator
21861 Footnote
21862 \family default
21863 .
21864  
21865 \family roman
21866 \series medium
21867 \bar no
21868 You'll see
21869 \family default
21870 \series default
21871 \bar default
21872  then the following footnote-box: 
21873 \begin_inset Graphics
21874         filename clipart/footnoteQt4.png
21875         scale 80
21876         scaleBeforeRotation
21877
21878 \end_inset
21879
21880  
21881 \family roman
21882 \series medium
21883 \bar no
21884 where you can enter the footnote text.
21885  If you want to turn existing text into a footnote, mark it and click on
21886  the footnote
21887 \family default
21888 \series default
21889 \bar default
21890  toolbar 
21891 \family roman
21892 \series medium
21893 \bar no
21894 button
21895 \family default
21896 \series default
21897 \bar default
21898 .
21899 \end_layout
21900
21901 \begin_layout Standard
21902 Here is an example footnote:
21903 \family roman
21904 \series medium
21905 \bar no
21906
21907 \begin_inset Foot
21908 status open
21909
21910 \begin_layout Standard
21911 \begin_inset LatexCommand label
21912 name "foot:This-is-an"
21913
21914 \end_inset
21915
21916 This is an example footnote.
21917 \end_layout
21918
21919 \end_inset
21920
21921
21922 \family default
21923 \series default
21924 \bar default
21925
21926 \begin_inset ERT
21927 status collapsed
21928
21929 \begin_layout Standard
21930
21931
21932 \backslash
21933 newcounter{MyRepeatFoot}
21934 \end_layout
21935
21936 \begin_layout Standard
21937
21938
21939 \backslash
21940 setcounter{MyRepeatFoot}{
21941 \backslash
21942 thefootnote}
21943 \end_layout
21944
21945 \end_inset
21946
21947
21948 \end_layout
21949
21950 \begin_layout Standard
21951 The footnote will appear in the output as a superscript number at the text
21952  position where the footnote box is placed.
21953  The footnote text is placed at the bottom of the current page.
21954  The footnote number is calculated by LaTeX, the numbers are consecutive.
21955  It depends on your document-class, if the footnote number is reset for
21956  every chapter.
21957 \end_layout
21958
21959 \begin_layout Standard
21960 Footnotes can be referenced like floats: Insert a label into the footnote
21961  and cross-reference this label in the text as described in section\InsetSpace ~
21962
21963 \begin_inset LatexCommand ref
21964 reference "sec:Referencing-Floats"
21965
21966 \end_inset
21967
21968 .
21969 \newline
21970 This is a cross-reference of Footnote\InsetSpace ~
21971
21972 \begin_inset LatexCommand ref
21973 reference "foot:This-is-an"
21974
21975 \end_inset
21976
21977 .
21978 \end_layout
21979
21980 \begin_layout Standard
21981 \begin_inset VSpace defskip
21982 \end_inset
21983
21984 To use footnotes within tables, you have to use minipages, see section\InsetSpace ~
21985
21986 \begin_inset LatexCommand ref
21987 reference "sec:Minipages"
21988
21989 \end_inset
21990
21991 .
21992  Footnotes within longtables are described in section\InsetSpace ~
21993
21994 \begin_inset LatexCommand ref
21995 reference "sub:Footnotes-in-Longtables"
21996
21997 \end_inset
21998
21999 .
22000 \end_layout
22001
22002 \begin_layout Standard
22003 \begin_inset VSpace defskip
22004 \end_inset
22005
22006 To create only a mark for a footnote, use the command 
22007 \series bold
22008
22009 \backslash
22010 footnotemark[number]
22011 \series default
22012  in ERT.
22013  This is used when you have the same annotation several times in a text
22014  but doesn't want to print the footnote text every time.
22015 \newline
22016 As you don't know
22017  the number of the repeating footnote while you are writing the text, you
22018  have to store its number.
22019  For the following footnote mark example, these commands were inserted in
22020  ERT behind Footnote\InsetSpace ~
22021
22022 \begin_inset LatexCommand ref
22023 reference "foot:This-is-an"
22024
22025 \end_inset
22026
22027  to store the footnote number:
22028 \end_layout
22029
22030 \begin_layout Standard
22031
22032 \series bold
22033
22034 \backslash
22035 newcounter{MyRepeatFoot}
22036 \newline
22037
22038 \backslash
22039 setcounter{MyRepeatFoot}{
22040 \backslash
22041 thefootnote}
22042 \end_layout
22043
22044 \begin_layout Standard
22045 The footnote mark was then created with this command:
22046 \end_layout
22047
22048 \begin_layout Standard
22049
22050 \series bold
22051
22052 \backslash
22053 footnotemark[
22054 \backslash
22055 theMyRepeatFoot]
22056 \end_layout
22057
22058 \begin_layout Standard
22059 Here is an example footnote mark:
22060 \family roman
22061 \series medium
22062 \bar no
22063
22064 \begin_inset ERT
22065 status collapsed
22066
22067 \begin_layout Standard
22068
22069
22070 \backslash
22071 footnotemark[
22072 \backslash
22073 theMyRepeatFoot]
22074 \end_layout
22075
22076 \end_inset
22077
22078
22079 \end_layout
22080
22081 \begin_layout Subsection
22082 Footnote Numbering
22083 \begin_inset LatexCommand label
22084 name "sub:Footnote-Numbering"
22085
22086 \end_inset
22087
22088
22089 \begin_inset LatexCommand index
22090 name "Footnotes ! Numbering"
22091
22092 \end_inset
22093
22094
22095 \end_layout
22096
22097 \begin_layout Standard
22098 To reset the footnote number back to 1 after each section
22099 \family roman
22100 , add this command to your document preamble:
22101 \end_layout
22102
22103 \begin_layout Standard
22104
22105 \series bold
22106
22107 \backslash
22108 @addtoreset{footnote}{section}
22109 \end_layout
22110
22111 \begin_layout Standard
22112 \begin_inset VSpace bigskip
22113 \end_inset
22114
22115 The following preamble command changes the footnote numbering style to small
22116  roman numerals:
22117 \end_layout
22118
22119 \begin_layout Standard
22120
22121 \series bold
22122
22123 \backslash
22124 renewcommand{
22125 \backslash
22126 thefootnote}{
22127 \backslash
22128 roman{footnote}}
22129 \end_layout
22130
22131 \begin_layout Standard
22132 \begin_inset ERT
22133 status collapsed
22134
22135 \begin_layout Standard
22136
22137
22138 \backslash
22139 renewcommand{
22140 \backslash
22141 thefootnote}{
22142 \backslash
22143 roman{footnote}}
22144 \end_layout
22145
22146 \end_inset
22147
22148  This is a footnote with roman numbering:
22149 \begin_inset Foot
22150 status open
22151
22152 \begin_layout Standard
22153 This is an example footnote with roman numbering.
22154 \end_layout
22155
22156 \end_inset
22157
22158
22159 \end_layout
22160
22161 \begin_layout Standard
22162 To change the numbering style to capital roman numerals replace in the command
22163  above 
22164 \series bold
22165
22166 \backslash
22167 roman
22168 \series default
22169  by 
22170 \series bold
22171
22172 \backslash
22173 Roman
22174 \series default
22175 .
22176  To 
22177 \begin_inset Quotes eld
22178 \end_inset
22179
22180 number
22181 \begin_inset Quotes erd
22182 \end_inset
22183
22184  footnotes with capital or small Latin letters use 
22185 \series bold
22186
22187 \backslash
22188 Alph
22189 \series default
22190  or 
22191 \series bold
22192
22193 \backslash
22194 alph
22195 \series default
22196 , respectively.
22197  To 
22198 \begin_inset Quotes eld
22199 \end_inset
22200
22201 number
22202 \begin_inset Quotes erd
22203 \end_inset
22204
22205  footnotes with symbols use 
22206 \series bold
22207
22208 \backslash
22209 fnsymbol
22210 \series default
22211 .
22212 \end_layout
22213
22214 \begin_layout Standard
22215 \begin_inset Note Greyedout
22216 status open
22217
22218 \begin_layout Standard
22219
22220 \series bold
22221 Note:
22222 \series default
22223  You can only number 26 footnotes with Latin letters, because this numbering
22224  is limited to single letters.
22225 \end_layout
22226
22227 \end_inset
22228
22229
22230 \newline
22231
22232 \begin_inset Note Greyedout
22233 status open
22234
22235 \begin_layout Standard
22236
22237 \series bold
22238 Note:
22239 \series default
22240  You can only number 9 footnotes with symbols.
22241 \end_layout
22242
22243 \end_inset
22244
22245
22246 \end_layout
22247
22248 \begin_layout Standard
22249 To return to the default numbering style when you changed to another one,
22250  use 
22251 \series bold
22252
22253 \backslash
22254 arabic
22255 \series default
22256  instead of 
22257 \series bold
22258
22259 \backslash
22260 roman
22261 \series default
22262  in the command above.
22263 \begin_inset ERT
22264 status collapsed
22265
22266 \begin_layout Standard
22267
22268
22269 \backslash
22270 renewcommand{
22271 \backslash
22272 thefootnote}{
22273 \backslash
22274 arabic{footnote}}
22275 \end_layout
22276
22277 \end_inset
22278
22279
22280 \end_layout
22281
22282 \begin_layout Standard
22283 \begin_inset VSpace bigskip
22284 \end_inset
22285
22286
22287 \end_layout
22288
22289 \begin_layout Standard
22290 If you want to have footnotes numbered in the scheme 
22291 \begin_inset Quotes eld
22292 \end_inset
22293
22294 chapter.footnote
22295 \begin_inset Quotes erd
22296 \end_inset
22297
22298 , add the following command to your document preamble:
22299 \end_layout
22300
22301 \begin_layout Standard
22302
22303 \series bold
22304
22305 \backslash
22306 numberwithin{footnote}{chapter}
22307 \end_layout
22308
22309 \begin_layout Standard
22310 To be able to use the command 
22311 \series bold
22312
22313 \backslash
22314 numberwithin
22315 \series default
22316 , set in the tab 
22317 \family sans
22318 Math\InsetSpace ~
22319 Options
22320 \family default
22321  in the document settings the option 
22322 \family sans
22323 Use\InsetSpace ~
22324 AMS\InsetSpace ~
22325 math\InsetSpace ~
22326 package
22327 \family default
22328 .
22329 \end_layout
22330
22331 \begin_layout Standard
22332 \begin_inset ERT
22333 status collapsed
22334
22335 \begin_layout Standard
22336
22337
22338 \backslash
22339 numberwithin{footnote}{chapter}
22340 \end_layout
22341
22342 \end_inset
22343
22344 This is another example footnote:
22345 \series bold
22346
22347 \begin_inset Foot
22348 status open
22349
22350 \begin_layout Standard
22351 This is a footnote numbered in the scheme 
22352 \begin_inset Quotes eld
22353 \end_inset
22354
22355 chapter.footnote
22356 \begin_inset Quotes erd
22357 \end_inset
22358
22359 .
22360 \end_layout
22361
22362 \end_inset
22363
22364
22365 \series default
22366
22367 \begin_inset ERT
22368 status collapsed
22369
22370 \begin_layout Standard
22371
22372
22373 \backslash
22374 renewcommand{
22375 \backslash
22376 thefootnote}{
22377 \backslash
22378 arabic{footnote}}
22379 \end_layout
22380
22381 \end_inset
22382
22383
22384 \end_layout
22385
22386 \begin_layout Standard
22387 \begin_inset Note Greyedout
22388 status open
22389
22390 \begin_layout Standard
22391
22392 \series bold
22393 Note:
22394 \series default
22395  
22396 \series bold
22397
22398 \backslash
22399 numberwithin
22400 \series default
22401  always prints out the footnote number as arabic number; previous redefinitions
22402  to get non-arabic numbers are overwritten.
22403 \end_layout
22404
22405 \end_inset
22406
22407
22408 \end_layout
22409
22410 \begin_layout Standard
22411 So to get for example the scheme 
22412 \begin_inset Quotes eld
22413 \end_inset
22414
22415 chapter.
22416 \backslash
22417 Roman{footnote}
22418 \begin_inset Quotes erd
22419 \end_inset
22420
22421 , use this command instead of 
22422 \series bold
22423
22424 \backslash
22425 numberwithin
22426 \series default
22427 :
22428 \end_layout
22429
22430 \begin_layout Standard
22431
22432 \series bold
22433
22434 \backslash
22435 renewcommand{
22436 \backslash
22437 thefootnote}{
22438 \backslash
22439 thechapter.
22440 \backslash
22441 Roman{footnote}}
22442 \end_layout
22443
22444 \begin_layout Subsection
22445 Footnote Placement
22446 \begin_inset LatexCommand index
22447 name "Footnotes ! Placement"
22448
22449 \end_inset
22450
22451
22452 \end_layout
22453
22454 \begin_layout Standard
22455 If you have several footnotes in one page, they appear without vertical
22456  space between them at the bottom of the page.
22457  To make them better readable you can e.\InsetSpace \thinspace{}
22458 g.\InsetSpace ~
22459 add 1.5\InsetSpace \thinspace{}
22460 mm space with the following
22461  preamble command:
22462 \end_layout
22463
22464 \begin_layout Standard
22465
22466 \series bold
22467
22468 \backslash
22469 let
22470 \backslash
22471 myFoot
22472 \backslash
22473 footnote
22474 \newline
22475
22476 \backslash
22477 renewcommand{
22478 \backslash
22479 footnote}[1]{
22480 \backslash
22481 myFoot{#1
22482 \backslash
22483 vspace{1.5mm}}}
22484 \end_layout
22485
22486 \begin_layout Standard
22487 \begin_inset VSpace bigskip
22488 \end_inset
22489
22490 In a two-column document the footnotes appear at the bottom of every column,
22491  see Figure\InsetSpace ~
22492
22493 \begin_inset LatexCommand ref
22494 reference "fig:Standard-footnote-placement"
22495
22496 \end_inset
22497
22498 .
22499  If the footnotes should only appear at the bottom of the right column,
22500  as in Figure\InsetSpace ~
22501
22502 \begin_inset LatexCommand ref
22503 reference "fig:Footnote-placement-in"
22504
22505 \end_inset
22506
22507 , use the LaTeX-package 
22508 \series bold
22509 ftnright
22510 \series default
22511
22512 \begin_inset LatexCommand index
22513 name "LaTeX-packages ! ftnright"
22514
22515 \end_inset
22516
22517  with this command in the document preamble:
22518 \end_layout
22519
22520 \begin_layout Standard
22521
22522 \series bold
22523
22524 \backslash
22525 usepackage{ftnright}
22526 \end_layout
22527
22528 \begin_layout Standard
22529 \begin_inset Float figure
22530 placement !h
22531 wide false
22532 sideways false
22533 status open
22534
22535 \begin_layout Standard
22536 \begin_inset ERT
22537 status collapsed
22538
22539 \begin_layout Standard
22540
22541
22542 \backslash
22543 framebox{
22544 \end_layout
22545
22546 \end_inset
22547
22548
22549 \begin_inset Graphics
22550         filename clipart/without_fntright.pdf
22551         width 100col%
22552         scaleBeforeRotation
22553
22554 \end_inset
22555
22556
22557 \begin_inset ERT
22558 status collapsed
22559
22560 \begin_layout Standard
22561
22562 }
22563 \end_layout
22564
22565 \end_inset
22566
22567
22568 \end_layout
22569
22570 \begin_layout Standard
22571 \begin_inset Caption
22572
22573 \begin_layout Standard
22574 \begin_inset LatexCommand label
22575 name "fig:Standard-footnote-placement"
22576
22577 \end_inset
22578
22579 Standard footnote placement in two-column documents.
22580 \end_layout
22581
22582 \end_inset
22583
22584
22585 \end_layout
22586
22587 \end_inset
22588
22589
22590 \end_layout
22591
22592 \begin_layout Standard
22593 \begin_inset Float figure
22594 placement !h
22595 wide false
22596 sideways false
22597 status open
22598
22599 \begin_layout Standard
22600 \begin_inset ERT
22601 status collapsed
22602
22603 \begin_layout Standard
22604
22605
22606 \backslash
22607 framebox{
22608 \end_layout
22609
22610 \end_inset
22611
22612
22613 \begin_inset Graphics
22614         filename clipart/with_fntright.pdf
22615         width 100col%
22616         scaleBeforeRotation
22617
22618 \end_inset
22619
22620
22621 \begin_inset ERT
22622 status collapsed
22623
22624 \begin_layout Standard
22625
22626 }
22627 \end_layout
22628
22629 \end_inset
22630
22631
22632 \end_layout
22633
22634 \begin_layout Standard
22635 \begin_inset Caption
22636
22637 \begin_layout Standard
22638 \begin_inset LatexCommand label
22639 name "fig:Footnote-placement-in"
22640
22641 \end_inset
22642
22643 Footnote placement in two-column documents when the LaTeX-package 
22644 \series bold
22645 ftnright
22646 \series default
22647  is used.
22648 \end_layout
22649
22650 \end_inset
22651
22652
22653 \end_layout
22654
22655 \end_inset
22656
22657
22658 \end_layout
22659
22660 \begin_layout Standard
22661 \begin_inset VSpace bigskip
22662 \end_inset
22663
22664 In some scientific literature it is usual to collect the footnotes and print
22665  them in a separate paragraph at the the end of a section, like in Figure\InsetSpace ~
22666
22667 \begin_inset LatexCommand ref
22668 reference "fig:Endnotes----footnotes"
22669
22670 \end_inset
22671
22672 .
22673  They are then so called 
22674 \begin_inset Quotes eld
22675 \end_inset
22676
22677 endnotes
22678 \begin_inset Quotes erd
22679 \end_inset
22680
22681 .
22682  To use endnotes instead of footnotes in your document, load the LaTeX-package
22683  
22684 \series bold
22685 endnotes
22686 \series default
22687
22688 \begin_inset LatexCommand index
22689 name "LaTeX-packages ! endnotes"
22690
22691 \end_inset
22692
22693  with the document preamble lines
22694 \end_layout
22695
22696 \begin_layout Standard
22697
22698 \series bold
22699
22700 \backslash
22701 usepackage{endnotes}
22702 \newline
22703
22704 \backslash
22705 let
22706 \backslash
22707 footnote
22708 \backslash
22709 endnote
22710 \end_layout
22711
22712 \begin_layout Standard
22713 To insert the collected footnotes, insert the command
22714 \end_layout
22715
22716 \begin_layout Standard
22717
22718 \series bold
22719
22720 \backslash
22721 theendnotes
22722 \end_layout
22723
22724 \begin_layout Standard
22725 in ERT at the the end of a section or chapter.
22726 \end_layout
22727
22728 \begin_layout Standard
22729 \begin_inset Float figure
22730 wide false
22731 sideways false
22732 status open
22733
22734 \begin_layout Standard
22735 \align center
22736 \begin_inset ERT
22737 status collapsed
22738
22739 \begin_layout Standard
22740
22741
22742 \backslash
22743 framebox{
22744 \end_layout
22745
22746 \end_inset
22747
22748
22749 \begin_inset Graphics
22750         filename clipart/endnotes.pdf
22751         scaleBeforeRotation
22752
22753 \end_inset
22754
22755
22756 \begin_inset ERT
22757 status collapsed
22758
22759 \begin_layout Standard
22760
22761 }
22762 \end_layout
22763
22764 \end_inset
22765
22766
22767 \end_layout
22768
22769 \begin_layout Standard
22770 \begin_inset Caption
22771
22772 \begin_layout Standard
22773 \begin_inset LatexCommand label
22774 name "fig:Endnotes----footnotes"
22775
22776 \end_inset
22777
22778 Endnotes -- footnotes are printed in a separate paragraph at the end of
22779  sections or chapters.
22780 \end_layout
22781
22782 \end_inset
22783
22784
22785 \end_layout
22786
22787 \end_inset
22788
22789
22790 \end_layout
22791
22792 \begin_layout Standard
22793 \begin_inset VSpace medskip
22794 \end_inset
22795
22796 The paragraph heading for the endnotes isn't automatically translated into
22797  the document language, this must be done manually.
22798  The following preamble command translate the default English name 
22799 \begin_inset Quotes eld
22800 \end_inset
22801
22802 Notes
22803 \begin_inset Quotes erd
22804 \end_inset
22805
22806  to the German translation 
22807 \begin_inset Quotes eld
22808 \end_inset
22809
22810 Anmerkungen
22811 \begin_inset Quotes erd
22812 \end_inset
22813
22814 :
22815 \end_layout
22816
22817 \begin_layout Standard
22818
22819 \series bold
22820
22821 \backslash
22822 renewcommand{
22823 \backslash
22824 notesname}{Anmerkungen}
22825 \end_layout
22826
22827 \begin_layout Standard
22828 \begin_inset VSpace medskip
22829 \end_inset
22830
22831 The numbering of endnotes can be changed like the footnote numbering as
22832  described in section\InsetSpace ~
22833
22834 \begin_inset LatexCommand ref
22835 reference "sub:Footnote-Numbering"
22836
22837 \end_inset
22838
22839 ; just replace the command 
22840 \series bold
22841
22842 \backslash
22843 thefootnote
22844 \series default
22845  by 
22846 \series bold
22847
22848 \backslash
22849 theendnote
22850 \series default
22851 .
22852  To reset the endnote number use the command 
22853 \series bold
22854
22855 \backslash
22856 @addtoreset
22857 \series default
22858  as described in section\InsetSpace ~
22859
22860 \begin_inset LatexCommand ref
22861 reference "sub:Footnote-Numbering"
22862
22863 \end_inset
22864
22865  and replace the command parameter 
22866 \series bold
22867 footnote
22868 \series default
22869  by 
22870 \series bold
22871 endnote
22872 \series default
22873 .
22874 \end_layout
22875
22876 \begin_layout Standard
22877 To create only a mark for an endnote, use the command 
22878 \series bold
22879
22880 \backslash
22881 endnotemark[number]
22882 \series default
22883  similar to the command 
22884 \series bold
22885
22886 \backslash
22887 footnotemark
22888 \series default
22889 , described in section\InsetSpace ~
22890
22891 \begin_inset LatexCommand ref
22892 reference "sec:Footnotes"
22893
22894 \end_inset
22895
22896 .
22897 \end_layout
22898
22899 \begin_layout Standard
22900 \begin_inset VSpace bigskip
22901 \end_inset
22902
22903 Footnotes can also be placed in the page margin and the footnote text alignment
22904  can be changed, see the LaTeX-package 
22905 \series bold
22906 footmisc
22907 \series default
22908
22909 \begin_inset LatexCommand index
22910 name "LaTeX-packages ! footmisc"
22911
22912 \end_inset
22913
22914
22915 \begin_inset LatexCommand cite
22916 key "footmisc"
22917
22918 \end_inset
22919
22920  for more information about this.
22921 \end_layout
22922
22923 \begin_layout Standard
22924 For various further footnote formatting issues have a look at LaTeX-books,
22925  
22926 \begin_inset LatexCommand cite
22927 key "latexcompanion,latexguide,latexbook"
22928
22929 \end_inset
22930
22931 .
22932 \end_layout
22933
22934 \begin_layout Section
22935 Margin Notes
22936 \begin_inset LatexCommand index
22937 name "Notes ! Margin Notes"
22938
22939 \end_inset
22940
22941
22942 \end_layout
22943
22944 \begin_layout Standard
22945 Margin notes look and behave in LyX like footnotes.
22946  They are inserted via the menu 
22947 \family sans
22948 Insert\SpecialChar \menuseparator
22949 Marginal\InsetSpace ~
22950 Note
22951 \family default
22952  or the toolbar button 
22953 \begin_inset Graphics
22954         filename ../images/marginalnote-insert.xpm
22955         scale 85
22956         scaleBeforeRotation
22957
22958 \end_inset
22959
22960 .
22961  A grey 
22962 \family roman
22963 \series medium
22964 box with the
22965 \family default
22966 \series default
22967  red 
22968 \family roman
22969 \series medium
22970 label 
22971 \begin_inset Quotes eld
22972 \end_inset
22973
22974 margin
22975 \begin_inset Quotes erd
22976 \end_inset
22977
22978  appears where you can enter the text of the margin note.
22979 \end_layout
22980
22981 \begin_layout Standard
22982 At the side is an example margin note.
22983 \family roman
22984 \series medium
22985
22986 \begin_inset Marginal
22987 status open
22988
22989 \begin_layout Standard
22990 This is a margin note.
22991 \end_layout
22992
22993 \end_inset
22994
22995
22996 \end_layout
22997
22998 \begin_layout Standard
22999 Margin notes appear at the right side in single-sided documents.
23000  In double-sided documents they appear in the outer margin -- left on even
23001  pages, right on odd pages.
23002  The text of margin notes is aligned opposite to the outer margin -- right-align
23003 ed when the note appears in the left margin.
23004  The first line of the margin note is placed at the position of the text
23005  line where it is inserted in the document.
23006 \end_layout
23007
23008 \begin_layout Standard
23009 \begin_inset VSpace bigskip
23010 \end_inset
23011
23012 To place the margin note in the inner margin, add the command
23013 \end_layout
23014
23015 \begin_layout Standard
23016
23017 \series bold
23018
23019 \backslash
23020 reversemarginpar
23021 \end_layout
23022
23023 \begin_layout Standard
23024 in ERT before a margin note.
23025  The new placement is valid for all following margin notes.
23026 \begin_inset ERT
23027 status collapsed
23028
23029 \begin_layout Standard
23030
23031
23032 \backslash
23033 reversemarginpar 
23034 \end_layout
23035
23036 \end_inset
23037
23038
23039 \begin_inset Marginal
23040 status open
23041
23042 \begin_layout Standard
23043 This is a margin note in the inner margin.
23044 \end_layout
23045
23046 \end_inset
23047
23048
23049 \series bold
23050
23051 \newline
23052
23053 \series default
23054
23055 \begin_inset Note Greyedout
23056 status open
23057
23058 \begin_layout Standard
23059
23060 \series bold
23061 Note:
23062 \series default
23063  There is often not enough space in the inner margin so that the notes are
23064  not correctly displayed in the output.
23065 \end_layout
23066
23067 \end_inset
23068
23069
23070 \end_layout
23071
23072 \begin_layout Standard
23073 To return to the default placement insert the command
23074 \end_layout
23075
23076 \begin_layout Standard
23077
23078 \series bold
23079
23080 \backslash
23081 normalmarginpar
23082 \end_layout
23083
23084 \begin_layout Standard
23085 in ERT.
23086 \begin_inset ERT
23087 status collapsed
23088
23089 \begin_layout Standard
23090
23091
23092 \backslash
23093 normalmarginpar 
23094 \end_layout
23095
23096 \end_inset
23097
23098  
23099 \begin_inset Note Greyedout
23100 status open
23101
23102 \begin_layout Standard
23103
23104 \series bold
23105 Note:
23106 \series default
23107  The command is ignored when it is within a paragraph where also the command
23108  
23109 \series bold
23110
23111 \backslash
23112 reversemarginpar
23113 \series default
23114  is inserted.
23115 \end_layout
23116
23117 \end_inset
23118
23119
23120 \end_layout
23121
23122 \begin_layout Standard
23123 \begin_inset VSpace bigskip
23124 \end_inset
23125
23126
23127 \family roman
23128 \series medium
23129
23130 \begin_inset Marginal
23131 status open
23132
23133 \begin_layout Standard
23134 AVeryLongMarginParWord that isn't hyphenated.
23135 \end_layout
23136
23137 \end_inset
23138
23139
23140 \family default
23141 \series default
23142 Similar to the case described in section\InsetSpace ~
23143
23144 \begin_inset LatexCommand ref
23145 reference "sub:Multiple-Lines-in"
23146
23147 \end_inset
23148
23149 , long words cannot be hyphenated when they are the first word in a margin
23150  note.
23151  To avoid this, insert the command
23152 \end_layout
23153
23154 \begin_layout Standard
23155
23156 \series bold
23157
23158 \backslash
23159 hspace{0pt}
23160 \end_layout
23161
23162 \begin_layout Standard
23163 in ERT before the word
23164 \family roman
23165 \series medium
23166 .
23167 \begin_inset Marginal
23168 status open
23169
23170 \begin_layout Standard
23171 \begin_inset ERT
23172 status collapsed
23173
23174 \begin_layout Standard
23175
23176
23177 \backslash
23178 hspace{0pt}
23179 \end_layout
23180
23181 \end_inset
23182
23183 AVeryLongMarginParWord that is hyphenated.
23184 \end_layout
23185
23186 \end_inset
23187
23188
23189 \end_layout
23190
23191 \begin_layout Standard
23192 \begin_inset VSpace bigskip
23193 \end_inset
23194
23195
23196 \end_layout
23197
23198 \begin_layout Standard
23199 \begin_inset Note Greyedout
23200 status open
23201
23202 \begin_layout Standard
23203
23204 \series bold
23205 Note:
23206 \series default
23207  Margin notes can normally not be used inside tables, floats, and footnotes.
23208 \end_layout
23209
23210 \end_inset
23211
23212
23213 \end_layout
23214
23215 \begin_layout Standard
23216 \begin_inset VSpace bigskip
23217 \end_inset
23218
23219
23220 \end_layout
23221
23222 \begin_layout Standard
23223 \begin_inset ERT
23224 status collapsed
23225
23226 \begin_layout Standard
23227
23228
23229 \backslash
23230 ifmarginnote
23231 \end_layout
23232
23233 \end_inset
23234
23235
23236 \begin_inset Note Note
23237 status open
23238
23239 \begin_layout Standard
23240 The following section will only be displayed when you have the LaTeX-package
23241  
23242 \series bold
23243 marginnote
23244 \series default
23245  is installed.
23246 \end_layout
23247
23248 \end_inset
23249
23250
23251 \end_layout
23252
23253 \begin_layout Standard
23254 This restriction can be evaded by using the LaTeX-package 
23255 \series bold
23256 marginnote
23257 \series default
23258
23259 \begin_inset LatexCommand index
23260 name "LaTeX-packages ! marginnote"
23261
23262 \end_inset
23263
23264 .
23265  By adding these two lines to your document preamble, the command used by
23266  LyX for margin notes is redefined to use the command provided by the 
23267 \series bold
23268 marginnote
23269 \series default
23270 -package:
23271 \end_layout
23272
23273 \begin_layout Standard
23274
23275 \series bold
23276
23277 \backslash
23278 usepackage{marginnote}
23279 \newline
23280
23281 \backslash
23282 let
23283 \backslash
23284 marginpar
23285 \backslash
23286 marginnote
23287 \end_layout
23288
23289 \begin_layout Standard
23290 This is also used in this document because 
23291 \series bold
23292 marginnote
23293 \series default
23294  has another useful feature: You can set a vertical offset for the note.
23295  This is often needed when too many margin notes are too close together
23296  or for a better page layout.
23297  The offset is set in LyX as ERT directly behind the margin note in the
23298  scheme
23299 \end_layout
23300
23301 \begin_layout Standard
23302
23303 \series bold
23304 [offset]
23305 \end_layout
23306
23307 \begin_layout Standard
23308 where the offset is a length with one of the units listed in Table\InsetSpace ~
23309
23310 \begin_inset LatexCommand ref
23311 reference "tab:Units"
23312
23313 \end_inset
23314
23315 .
23316  A negative value shifts the note up, a positive value shifts it down.
23317  
23318 \family roman
23319 \series medium
23320 For example the margin note beside this text line is shifted up 1.5\InsetSpace \thinspace{}
23321 cm with
23322  the ERT-command 
23323 \begin_inset Quotes eld
23324 \end_inset
23325
23326
23327 \family default
23328 \series bold
23329 [-1.5cm]
23330 \family roman
23331 \series medium
23332
23333 \begin_inset Quotes erd
23334 \end_inset
23335
23336
23337 \begin_inset Marginal
23338 status open
23339
23340 \begin_layout Standard
23341 This margin note is shifted up 1.5\InsetSpace \thinspace{}
23342 cm from its original position.
23343 \end_layout
23344
23345 \end_inset
23346
23347
23348 \family default
23349 \series default
23350
23351 \begin_inset ERT
23352 status collapsed
23353
23354 \begin_layout Standard
23355
23356 [-1.5cm]
23357 \end_layout
23358
23359 \end_inset
23360
23361
23362 \end_layout
23363
23364 \begin_layout Standard
23365 \begin_inset VSpace medskip
23366 \end_inset
23367
23368 With 
23369 \series bold
23370 marginnote
23371 \series default
23372  you can also change the alignment of the text in the margin note.
23373  For example the commands
23374 \end_layout
23375
23376 \begin_layout Standard
23377
23378 \series bold
23379
23380 \backslash
23381 renewcommand*{
23382 \backslash
23383 raggedleftmarginnote}{
23384 \backslash
23385 centering}
23386 \newline
23387
23388 \backslash
23389 renewcommand*{
23390 \backslash
23391 raggedrightmarginnote}{
23392 \backslash
23393 centering}
23394 \end_layout
23395
23396 \begin_layout Standard
23397 set the alignment to centered.
23398  
23399 \series bold
23400
23401 \backslash
23402 raggedleftmarginnote
23403 \series default
23404  denotes margin notes that appear at the left side.
23405 \family roman
23406 \series medium
23407
23408 \begin_inset ERT
23409 status collapsed
23410
23411 \begin_layout Standard
23412
23413
23414 \backslash
23415 renewcommand*{
23416 \backslash
23417 raggedleftmarginnote}{
23418 \backslash
23419 centering}
23420 \end_layout
23421
23422 \begin_layout Standard
23423
23424
23425 \backslash
23426 renewcommand*{
23427 \backslash
23428 raggedrightmarginnote}{
23429 \backslash
23430 centering}
23431 \end_layout
23432
23433 \end_inset
23434
23435
23436 \begin_inset Marginal
23437 status open
23438
23439 \begin_layout Standard
23440 The text of this margin note is centered.
23441 \end_layout
23442
23443 \end_inset
23444
23445
23446 \family default
23447 \series default
23448  The default is
23449 \end_layout
23450
23451 \begin_layout Standard
23452
23453 \series bold
23454
23455 \backslash
23456 renewcommand*{
23457 \backslash
23458 raggedleftmarginnote}{
23459 \backslash
23460 raggedleft}
23461 \newline
23462
23463 \backslash
23464 renewcommand*{
23465 \backslash
23466 raggedrightmarginnote}{
23467 \backslash
23468 raggedright}
23469 \family roman
23470 \series medium
23471
23472 \begin_inset ERT
23473 status collapsed
23474
23475 \begin_layout Standard
23476
23477
23478 \backslash
23479 renewcommand*{
23480 \backslash
23481 raggedleftmarginnote}{
23482 \backslash
23483 raggedleft}
23484 \end_layout
23485
23486 \begin_layout Standard
23487
23488
23489 \backslash
23490 renewcommand*{
23491 \backslash
23492 raggedrightmarginnote}{
23493 \backslash
23494 raggedright}
23495 \end_layout
23496
23497 \end_inset
23498
23499
23500 \end_layout
23501
23502 \begin_layout Standard
23503 \begin_inset VSpace medskip
23504 \end_inset
23505
23506 For the other features of 
23507 \series bold
23508 marginnote
23509 \series default
23510  we refer to its documentation 
23511 \begin_inset LatexCommand cite
23512 key "marginnote"
23513
23514 \end_inset
23515
23516 .
23517 \end_layout
23518
23519 \begin_layout Standard
23520 \begin_inset VSpace bigskip
23521 \end_inset
23522
23523 You can adjust the layout of margin notes by changing its definition.
23524  To create for example a header for all margin notes with the underlined,
23525  sans-serif, and bold header text 
23526 \begin_inset Quotes eld
23527 \end_inset
23528
23529
23530 \family sans
23531 \series bold
23532 \bar under
23533 Attention!
23534 \family default
23535 \series default
23536 \bar default
23537
23538 \begin_inset Quotes erd
23539 \end_inset
23540
23541 , add this to your document preamble:
23542 \end_layout
23543
23544 \begin_layout Standard
23545
23546 \series bold
23547
23548 \backslash
23549 let
23550 \backslash
23551 myMarginpar
23552 \backslash
23553 marginpar
23554 \newline
23555
23556 \backslash
23557 renewcommand{
23558 \backslash
23559 marginpar}[1]{
23560 \backslash
23561 myMarginpar{%
23562 \newline
23563
23564 \begin_inset ERT
23565 status collapsed
23566
23567 \begin_layout Standard
23568
23569
23570 \backslash
23571 hphantom{ }
23572 \end_layout
23573
23574 \end_inset
23575
23576
23577 \backslash
23578 hspace{0pt}
23579 \backslash
23580 textsf{
23581 \backslash
23582 textbf{
23583 \backslash
23584 underbar{Attention!}}}%
23585 \newline
23586
23587 \begin_inset ERT
23588 status collapsed
23589
23590 \begin_layout Standard
23591
23592
23593 \backslash
23594 hphantom{ }
23595 \end_layout
23596
23597 \end_inset
23598
23599
23600 \backslash
23601 vspace{1.5mm}
23602 \backslash
23603
23604 \backslash
23605 #1}}
23606 \end_layout
23607
23608 \begin_layout Standard
23609
23610 \family roman
23611 \series medium
23612 \begin_inset ERT
23613 status collapsed
23614
23615 \begin_layout Standard
23616
23617
23618 \backslash
23619 let
23620 \backslash
23621 myMarginpar
23622 \backslash
23623 marginpar
23624 \end_layout
23625
23626 \begin_layout Standard
23627
23628
23629 \backslash
23630 renewcommand{
23631 \backslash
23632 marginpar}[1]{
23633 \backslash
23634 myMarginpar{%
23635 \end_layout
23636
23637 \begin_layout Standard
23638
23639    
23640 \backslash
23641 textsf{
23642 \backslash
23643 textbf{
23644 \backslash
23645 underbar{Attention!}}}%
23646 \end_layout
23647
23648 \begin_layout Standard
23649
23650    
23651 \backslash
23652 vspace{1.5mm}
23653 \backslash
23654
23655 \backslash
23656 #1}}
23657 \end_layout
23658
23659 \end_inset
23660
23661
23662 \begin_inset Marginal
23663 status open
23664
23665 \begin_layout Standard
23666 This is a margin note with a defined heading.
23667 \end_layout
23668
23669 \end_inset
23670
23671
23672 \family default
23673 \series default
23674
23675 \begin_inset ERT
23676 status collapsed
23677
23678 \begin_layout Standard
23679
23680 [-1.5cm]
23681 \end_layout
23682
23683 \end_inset
23684
23685
23686 \family roman
23687 \series medium
23688
23689 \begin_inset ERT
23690 status collapsed
23691
23692 \begin_layout Standard
23693
23694
23695 \backslash
23696 renewcommand{
23697 \backslash
23698 marginpar}[1]{
23699 \backslash
23700 myMarginpar{#1}}
23701 \end_layout
23702
23703 \end_inset
23704
23705
23706 \family default
23707 \series default
23708
23709 \begin_inset Note Note
23710 status collapsed
23711
23712 \begin_layout Standard
23713 The margin note format is changed only for this example.
23714 \end_layout
23715
23716 \end_inset
23717
23718
23719 \end_layout
23720
23721 \begin_layout Standard
23722 \begin_inset ERT
23723 status collapsed
23724
23725 \begin_layout Standard
23726
23727
23728 \backslash
23729 else
23730 \end_layout
23731
23732 \end_inset
23733
23734
23735 \begin_inset Note Note
23736 status open
23737
23738 \begin_layout Standard
23739 The following will be displayed when the LaTeX-package 
23740 \series bold
23741 marginnote
23742 \series default
23743  is not installed:
23744 \end_layout
23745
23746 \end_inset
23747
23748
23749 \end_layout
23750
23751 \begin_layout Standard
23752 You need to install the LaTeX-package 
23753 \series bold
23754 marginnote
23755 \series default
23756  to see the following part of this section in the output.
23757 \end_layout
23758
23759 \begin_layout Standard
23760 \begin_inset ERT
23761 status collapsed
23762
23763 \begin_layout Standard
23764
23765
23766 \backslash
23767 fi
23768 \end_layout
23769
23770 \end_inset
23771
23772
23773 \end_layout
23774
23775 \begin_layout Chapter
23776 Boxes
23777 \end_layout
23778
23779 \begin_layout Section
23780 Introduction
23781 \begin_inset LatexCommand index
23782 name "Boxes ! Introduction"
23783
23784 \end_inset
23785
23786
23787 \end_layout
23788
23789 \begin_layout Standard
23790 Boxes are used to format a block of text.
23791  Boxes can be used to write documents with multiple languages, see section\InsetSpace ~
23792
23793 \begin_inset LatexCommand ref
23794 reference "sec:Minipages"
23795
23796 \end_inset
23797
23798 , to frame texts, see section\InsetSpace ~
23799
23800 \begin_inset LatexCommand ref
23801 reference "sec:Framed-Boxes"
23802
23803 \end_inset
23804
23805 , to prevent words to be hyphenated, see section\InsetSpace ~
23806
23807 \begin_inset LatexCommand ref
23808 reference "sec:Prevent-Hyphenation"
23809
23810 \end_inset
23811
23812 , to align text, see section\InsetSpace ~
23813
23814 \begin_inset LatexCommand ref
23815 reference "sub:Vertical-Alignment"
23816
23817 \end_inset
23818
23819 , or to set the background color of texts, see section\InsetSpace ~
23820
23821 \begin_inset LatexCommand ref
23822 reference "sec:Colored-Boxes"
23823
23824 \end_inset
23825
23826 .
23827 \end_layout
23828
23829 \begin_layout Standard
23830 Boxes can be inserted with the menu 
23831 \family sans
23832 Insert\SpecialChar \menuseparator
23833 Box
23834 \family default
23835 .
23836  A grey box with the label 
23837 \family sans
23838 Box (Minipage)
23839 \family default
23840
23841 \begin_inset Graphics
23842         filename clipart/BoxInsetDefaultQt4.png
23843         scale 85
23844         scaleBeforeRotation
23845
23846 \end_inset
23847
23848 , will be inserted.
23849  The box type can be specified by right-clicking on the box.
23850  The appearing box dialog offers the 
23851 \family sans
23852 Inner\InsetSpace ~
23853 Box
23854 \family default
23855  types 
23856 \family sans
23857 Parbox
23858 \family default
23859  and 
23860 \family sans
23861 Minipage
23862 \family default
23863 .
23864  The type 
23865 \family sans
23866 Minipage
23867 \family default
23868  is the default for new boxes and is explained in section\InsetSpace ~
23869
23870 \begin_inset LatexCommand ref
23871 reference "sec:Minipages"
23872
23873 \end_inset
23874
23875 ; the type 
23876 \family sans
23877 Parbox
23878 \family default
23879  is described in section\InsetSpace ~
23880
23881 \begin_inset LatexCommand ref
23882 reference "sec:Parboxes"
23883
23884 \end_inset
23885
23886 .
23887 \end_layout
23888
23889 \begin_layout Standard
23890 Boxes aren't numbered and can therefore not be referenced like floats or
23891  footnotes.
23892 \end_layout
23893
23894 \begin_layout Standard
23895 \begin_inset Note Greyedout
23896 status open
23897
23898 \begin_layout Standard
23899
23900 \series bold
23901 Note:
23902 \series default
23903  Due to a bug in LyX you have to insert a protected space behind a box when
23904  you want to separate in a line the box from the following text with a space.
23905 \end_layout
23906
23907 \end_inset
23908
23909
23910 \end_layout
23911
23912 \begin_layout Standard
23913 \begin_inset Note Greyedout
23914 status open
23915
23916 \begin_layout Standard
23917
23918 \series bold
23919 Note:
23920 \series default
23921  Boxes must not be the item in an 
23922 \family sans
23923 Itemize
23924 \family default
23925  or 
23926 \family sans
23927 Description
23928 \family default
23929  environment.
23930 \end_layout
23931
23932 \end_inset
23933
23934
23935 \end_layout
23936
23937 \begin_layout Standard
23938 \begin_inset Note Greyedout
23939 status open
23940
23941 \begin_layout Standard
23942
23943 \series bold
23944 Note:
23945 \series default
23946  For an unknown reason you can only set the 
23947 \family sans
23948 Inner\InsetSpace ~
23949 Box
23950 \family default
23951  type to 
23952 \family sans
23953 None
23954 \family default
23955  when you use a framed box.
23956  Boxes without an 
23957 \family sans
23958 Inner\InsetSpace ~
23959 Box
23960 \family default
23961  type and without frames are explained in section\InsetSpace ~
23962
23963 \begin_inset LatexCommand ref
23964 reference "sec:Prevent-Hyphenation"
23965
23966 \end_inset
23967
23968 .
23969 \end_layout
23970
23971 \end_inset
23972
23973
23974 \end_layout
23975
23976 \begin_layout Section
23977 Box Dialog
23978 \begin_inset LatexCommand label
23979 name "sec:Box-Dialog"
23980
23981 \end_inset
23982
23983
23984 \begin_inset LatexCommand index
23985 name "Boxes ! Box Dialog"
23986
23987 \end_inset
23988
23989
23990 \begin_inset LatexCommand index
23991 name "Boxes ! Alignment"
23992
23993 \end_inset
23994
23995
23996 \end_layout
23997
23998 \begin_layout Standard
23999 In the box dialog you can adjust the box geometry in the fields 
24000 \family sans
24001 Width
24002 \family default
24003  and 
24004 \family sans
24005 Height
24006 \family default
24007 .
24008  The available units for the geometry are explained in Table\InsetSpace ~
24009
24010 \begin_inset LatexCommand ref
24011 reference "tab:Units"
24012
24013 \end_inset
24014
24015 .
24016  The field 
24017 \family sans
24018 Heigth
24019 \family default
24020  offers the following additional sizes:
24021 \end_layout
24022
24023 \begin_layout Description
24024 Depth This is the plain text 
24025 \begin_inset Quotes eld
24026 \end_inset
24027
24028 height
24029 \begin_inset Quotes erd
24030 \end_inset
24031
24032 .
24033  It ignores the total depth when there are multiple text lines in the box:
24034 \newline
24035
24036 \newline
24037
24038 \newline
24039
24040 \begin_inset Box Boxed
24041 position "c"
24042 hor_pos "c"
24043 has_inner_box 1
24044 inner_pos "c"
24045 use_parbox 0
24046 width "12col%"
24047 special "none"
24048 height "1in"
24049 height_special "depth"
24050 status collapsed
24051
24052 \begin_layout Standard
24053 \align center
24054 Box height set to 1\InsetSpace \thinspace{}
24055 Depth
24056 \end_layout
24057
24058 \end_inset
24059
24060
24061 \newline
24062
24063 \newline
24064
24065 \end_layout
24066
24067 \begin_layout Description
24068 Height This is the heigth of the text that is inside the box.
24069  A value of e.\InsetSpace \thinspace{}
24070 g.\InsetSpace ~
24071 2 for this size will set the box heigth to 2 times the text
24072  height: 
24073 \begin_inset Box Boxed
24074 position "c"
24075 hor_pos "c"
24076 has_inner_box 1
24077 inner_pos "c"
24078 use_parbox 0
24079 width "20col%"
24080 special "none"
24081 height "2in"
24082 height_special "height"
24083 status collapsed
24084
24085 \begin_layout Standard
24086 \align center
24087 Box height set to 2\InsetSpace \thinspace{}
24088 Height
24089 \end_layout
24090
24091 \end_inset
24092
24093
24094 \end_layout
24095
24096 \begin_layout Description
24097 Total\InsetSpace ~
24098 Height This is the Height\InsetSpace \thinspace{}
24099 +\InsetSpace \thinspace{}
24100 Depth: 
24101 \begin_inset Box Boxed
24102 position "c"
24103 hor_pos "c"
24104 has_inner_box 1
24105 inner_pos "c"
24106 use_parbox 0
24107 width "20col%"
24108 special "none"
24109 height "1in"
24110 height_special "totalheight"
24111 status collapsed
24112
24113 \begin_layout Standard
24114 \align center
24115 Box height set to 1\InsetSpace \thinspace{}
24116 Total\InsetSpace ~
24117 Height
24118 \end_layout
24119
24120 \end_inset
24121
24122
24123 \end_layout
24124
24125 \begin_layout Description
24126 Width This set the width of the box as heigth: 
24127 \begin_inset Box Boxed
24128 position "c"
24129 hor_pos "c"
24130 has_inner_box 1
24131 inner_pos "c"
24132 use_parbox 0
24133 width "12col%"
24134 special "none"
24135 height "1in"
24136 height_special "width"
24137 status collapsed
24138
24139 \begin_layout Standard
24140 \align center
24141 Box height set to 1\InsetSpace \thinspace{}
24142 Width
24143 \end_layout
24144
24145 \end_inset
24146
24147
24148 \end_layout
24149
24150 \begin_layout Standard
24151 \begin_inset VSpace bigskip
24152 \end_inset
24153
24154 When you have chosen an 
24155 \family sans
24156 Inner\InsetSpace ~
24157 Box
24158 \family default
24159 , the vertical box alignment can be:
24160 \end_layout
24161
24162 \begin_layout Description
24163 Top This is an example text line.
24164  
24165 \begin_inset Box Boxed
24166 position "t"
24167 hor_pos "c"
24168 has_inner_box 1
24169 inner_pos "c"
24170 use_parbox 0
24171 width "12col%"
24172 special "none"
24173 height "1in"
24174 height_special "totalheight"
24175 status collapsed
24176
24177 \begin_layout Standard
24178 \align center
24179 This box is top-aligned.
24180 \end_layout
24181
24182 \end_inset
24183
24184 \InsetSpace ~
24185 This is an example text line.
24186 \end_layout
24187
24188 \begin_layout Description
24189 Middle This is an example text line.
24190  
24191 \begin_inset Box Boxed
24192 position "c"
24193 hor_pos "c"
24194 has_inner_box 1
24195 inner_pos "c"
24196 use_parbox 0
24197 width "12col%"
24198 special "none"
24199 height "1in"
24200 height_special "totalheight"
24201 status collapsed
24202
24203 \begin_layout Standard
24204 \align center
24205 This box is middle-aligned.
24206 \end_layout
24207
24208 \end_inset
24209
24210 \InsetSpace ~
24211 This is an example text line.
24212 \end_layout
24213
24214 \begin_layout Description
24215 Bottom This is an example text line.
24216  
24217 \begin_inset Box Boxed
24218 position "b"
24219 hor_pos "c"
24220 has_inner_box 1
24221 inner_pos "c"
24222 use_parbox 0
24223 width "12col%"
24224 special "none"
24225 height "1in"
24226 height_special "totalheight"
24227 status collapsed
24228
24229 \begin_layout Standard
24230 \align center
24231 This box is bottom-aligned.
24232 \end_layout
24233
24234 \end_inset
24235
24236 \InsetSpace ~
24237 This is an example text line.
24238 \end_layout
24239
24240 \begin_layout Standard
24241 The horizontal box alignment can be set via LyX's paragraph dialog when
24242  you set the box into its own paragraph.
24243 \end_layout
24244
24245 \begin_layout Standard
24246 \begin_inset VSpace bigskip
24247 \end_inset
24248
24249 When you have chosen an 
24250 \family sans
24251 Inner\InsetSpace ~
24252 Box
24253 \family default
24254 , the box content can be vertical aligned to:
24255 \end_layout
24256
24257 \begin_layout Description
24258 top This is an example text line.
24259  
24260 \begin_inset Box Boxed
24261 position "c"
24262 hor_pos "c"
24263 has_inner_box 1
24264 inner_pos "t"
24265 use_parbox 0
24266 width "12col%"
24267 special "none"
24268 height "1.5in"
24269 height_special "totalheight"
24270 status collapsed
24271
24272 \begin_layout Standard
24273 \align center
24274 This box text is top-aligned.
24275 \end_layout
24276
24277 \end_inset
24278
24279 \InsetSpace ~
24280 This is an example text line.
24281 \end_layout
24282
24283 \begin_layout Description
24284 middle This is an example text line.
24285  
24286 \begin_inset Box Boxed
24287 position "c"
24288 hor_pos "c"
24289 has_inner_box 1
24290 inner_pos "c"
24291 use_parbox 0
24292 width "12col%"
24293 special "none"
24294 height "1.5in"
24295 height_special "totalheight"
24296 status collapsed
24297
24298 \begin_layout Standard
24299 \align center
24300 This box text is middle-aligned.
24301 \end_layout
24302
24303 \end_inset
24304
24305 \InsetSpace ~
24306 This is an example text line.
24307 \end_layout
24308
24309 \begin_layout Description
24310 bottom This is an example text line.
24311  
24312 \begin_inset Box Boxed
24313 position "c"
24314 hor_pos "c"
24315 has_inner_box 1
24316 inner_pos "b"
24317 use_parbox 0
24318 width "12col%"
24319 special "none"
24320 height "1.5in"
24321 height_special "totalheight"
24322 status collapsed
24323
24324 \begin_layout Standard
24325 \align center
24326 This box text is bottom-aligned.
24327 \end_layout
24328
24329 \end_inset
24330
24331 \InsetSpace ~
24332 This is an example text line.
24333 \end_layout
24334
24335 \begin_layout Description
24336 stretch This is an example text line.
24337  
24338 \begin_inset Box Boxed
24339 position "c"
24340 hor_pos "c"
24341 has_inner_box 1
24342 inner_pos "s"
24343 use_parbox 0
24344 width "12col%"
24345 special "none"
24346 height "1.5in"
24347 height_special "totalheight"
24348 status collapsed
24349
24350 \begin_layout Standard
24351 \align center
24352 This box
24353 \end_layout
24354
24355 \begin_layout Standard
24356 \align center
24357 text is
24358 \end_layout
24359
24360 \begin_layout Standard
24361 \align center
24362 stretched.
24363 \end_layout
24364
24365 \end_inset
24366
24367 \InsetSpace ~
24368 This is an example text line.
24369 \end_layout
24370
24371 \begin_layout Standard
24372 To stretch the box content, it must consist of more than one paragraph.
24373  In the example above every text line is in an own paragraph.
24374 \end_layout
24375
24376 \begin_layout Standard
24377 \begin_inset VSpace bigskip
24378 \end_inset
24379
24380 To align the box content horizontally you can use LyX's paragraph dialog
24381  when you have chosen an 
24382 \family sans
24383 Inner\InsetSpace ~
24384 Box
24385 \family default
24386 .
24387 \end_layout
24388
24389 \begin_layout Standard
24390 \align center
24391 \begin_inset Box Boxed
24392 position "c"
24393 hor_pos "c"
24394 has_inner_box 1
24395 inner_pos "s"
24396 use_parbox 0
24397 width "15col%"
24398 special "none"
24399 height "1.25in"
24400 height_special "totalheight"
24401 status collapsed
24402
24403 \begin_layout Standard
24404 \align left
24405 This box
24406 \end_layout
24407
24408 \begin_layout Standard
24409 \align center
24410 text is
24411 \end_layout
24412
24413 \begin_layout Standard
24414 \align right
24415 stretched.
24416 \end_layout
24417
24418 \end_inset
24419
24420
24421 \end_layout
24422
24423 \begin_layout Standard
24424 If you haven't set an 
24425 \family sans
24426 Inner\InsetSpace ~
24427 Box
24428 \family default
24429 , you can align the box content horizontally in the box dialog.
24430 \end_layout
24431
24432 \begin_layout Standard
24433 \align center
24434 \begin_inset Box Boxed
24435 position "c"
24436 hor_pos "s"
24437 has_inner_box 0
24438 inner_pos "s"
24439 use_parbox 0
24440 width "90col%"
24441 special "none"
24442 height "1.25in"
24443 height_special "totalheight"
24444 status collapsed
24445
24446 \begin_layout Standard
24447 \align left
24448 This box text is horizontally stretched.
24449 \end_layout
24450
24451 \end_inset
24452
24453
24454 \end_layout
24455
24456 \begin_layout Section
24457 Framed Boxes
24458 \begin_inset LatexCommand label
24459 name "sec:Framed-Boxes"
24460
24461 \end_inset
24462
24463
24464 \begin_inset LatexCommand index
24465 name "Boxes ! Frames"
24466
24467 \end_inset
24468
24469
24470 \end_layout
24471
24472 \begin_layout Standard
24473 The frame style of the box can be specified in the box-dialog in the drop-down
24474  list 
24475 \family sans
24476 Type
24477 \family default
24478 .
24479  The following frame types are possible:
24480 \end_layout
24481
24482 \begin_layout Description
24483 Rectangular\InsetSpace ~
24484 box This draws a rectangle frame around the box.
24485  The frame line thickness has the size of 
24486 \series bold
24487
24488 \backslash
24489 fboxrule
24490 \series default
24491 .
24492  
24493 \begin_inset Box Boxed
24494 position "c"
24495 hor_pos "c"
24496 has_inner_box 1
24497 inner_pos "c"
24498 use_parbox 0
24499 width "20col%"
24500 special "none"
24501 height "1in"
24502 height_special "totalheight"
24503 status collapsed
24504
24505 \begin_layout Standard
24506 \align center
24507 Rectangular box
24508 \end_layout
24509
24510 \end_inset
24511
24512
24513 \end_layout
24514
24515 \begin_layout Description
24516 Oval\InsetSpace ~
24517 box,\InsetSpace ~
24518 thin This draws an oval frame around the box.
24519  The frame line thickness has the size 0.4\InsetSpace \thinspace{}
24520 pt.
24521  
24522 \begin_inset Box ovalbox
24523 position "c"
24524 hor_pos "c"
24525 has_inner_box 1
24526 inner_pos "c"
24527 use_parbox 0
24528 width "20col%"
24529 special "none"
24530 height "1in"
24531 height_special "totalheight"
24532 status collapsed
24533
24534 \begin_layout Standard
24535 \align center
24536 Oval box, thin
24537 \end_layout
24538
24539 \end_inset
24540
24541
24542 \end_layout
24543
24544 \begin_layout Description
24545 Oval\InsetSpace ~
24546 box,\InsetSpace ~
24547 thick This draws an oval frame around the box.
24548  The frame line thickness has the size 0.8\InsetSpace \thinspace{}
24549 pt.
24550  
24551 \begin_inset Box Ovalbox
24552 position "c"
24553 hor_pos "c"
24554 has_inner_box 1
24555 inner_pos "c"
24556 use_parbox 0
24557 width "20col%"
24558 special "none"
24559 height "1in"
24560 height_special "totalheight"
24561 status collapsed
24562
24563 \begin_layout Standard
24564 \align center
24565 Oval box, thick
24566 \end_layout
24567
24568 \end_inset
24569
24570
24571 \end_layout
24572
24573 \begin_layout Description
24574 Shadow\InsetSpace ~
24575 box This draws a rectangle frame with a shadow around the box.
24576  The frame line thickness has the size of 
24577 \series bold
24578
24579 \backslash
24580 fboxrule
24581 \series default
24582 , the shadow has a width of 4\InsetSpace \thinspace{}
24583 pt.
24584  
24585 \begin_inset Box Shadowbox
24586 position "c"
24587 hor_pos "c"
24588 has_inner_box 1
24589 inner_pos "c"
24590 use_parbox 0
24591 width "20col%"
24592 special "none"
24593 height "1in"
24594 height_special "totalheight"
24595 status collapsed
24596
24597 \begin_layout Standard
24598 \align center
24599 Shadow box
24600 \end_layout
24601
24602 \end_inset
24603
24604
24605 \end_layout
24606
24607 \begin_layout Description
24608 Double\InsetSpace ~
24609 box This draws a double-line rectangle frame around the box.
24610  The line thickness of the inner frame is 0.75\InsetSpace \thinspace{}
24611
24612 \series bold
24613
24614 \backslash
24615 fboxrule
24616 \series default
24617 , the thickness of the outer frame is 1.5\InsetSpace \thinspace{}
24618
24619 \series bold
24620
24621 \backslash
24622 fboxrule
24623 \series default
24624 .
24625  The distance between the lines is 1.5\InsetSpace \thinspace{}
24626
24627 \series bold
24628
24629 \backslash
24630 fboxrule
24631 \series default
24632 \InsetSpace \thinspace{}
24633 +\InsetSpace \thinspace{}
24634 0.5\InsetSpace \thinspace{}
24635 pt.
24636  
24637 \begin_inset Box Doublebox
24638 position "c"
24639 hor_pos "c"
24640 has_inner_box 1
24641 inner_pos "c"
24642 use_parbox 0
24643 width "20col%"
24644 special "none"
24645 height "1in"
24646 height_special "totalheight"
24647 status collapsed
24648
24649 \begin_layout Standard
24650 \align center
24651 Double box
24652 \end_layout
24653
24654 \end_inset
24655
24656
24657 \end_layout
24658
24659 \begin_layout Standard
24660 \begin_inset VSpace bigskip
24661 \end_inset
24662
24663 LyX's box label will change to the used frame style when you set a frame.
24664  To be able to use the different frame styles, the LaTeX-package 
24665 \series bold
24666 fancybox
24667 \series default
24668
24669 \begin_inset LatexCommand index
24670 name "LaTeX-packages ! fancybox"
24671
24672 \end_inset
24673
24674  must be installed.
24675 \end_layout
24676
24677 \begin_layout Standard
24678 \begin_inset VSpace bigskip
24679 \end_inset
24680
24681 The default value for the size 
24682 \series bold
24683
24684 \backslash
24685 fboxrule
24686 \series default
24687  is 0.4\InsetSpace \thinspace{}
24688 pt.
24689  It can be changed with the following command in ERT to e.\InsetSpace \thinspace{}
24690 g.\InsetSpace ~
24691 2\InsetSpace \thinspace{}
24692 pt:
24693 \end_layout
24694
24695 \begin_layout Standard
24696
24697 \series bold
24698
24699 \backslash
24700 setlength{
24701 \backslash
24702 fboxrule}{2pt}
24703 \end_layout
24704
24705 \begin_layout Standard
24706 \begin_inset ERT
24707 status collapsed
24708
24709 \begin_layout Standard
24710
24711
24712 \backslash
24713 setlength{
24714 \backslash
24715 fboxrule}{2pt}
24716 \end_layout
24717
24718 \end_inset
24719
24720
24721 \begin_inset Box Boxed
24722 position "c"
24723 hor_pos "c"
24724 has_inner_box 1
24725 inner_pos "c"
24726 use_parbox 0
24727 width "25col%"
24728 special "none"
24729 height "1in"
24730 height_special "totalheight"
24731 status collapsed
24732
24733 \begin_layout Standard
24734 \align center
24735 Rectangular box with 
24736 \series bold
24737
24738 \backslash
24739 fboxrule
24740 \series default
24741 \InsetSpace \thinspace{}
24742 =\InsetSpace \thinspace{}
24743 2\InsetSpace \thinspace{}
24744 pt
24745 \end_layout
24746
24747 \end_inset
24748
24749
24750 \begin_inset ERT
24751 status collapsed
24752
24753 \begin_layout Standard
24754
24755
24756 \backslash
24757 setlength{
24758 \backslash
24759 fboxrule}{0.4pt}
24760 \end_layout
24761
24762 \end_inset
24763
24764
24765 \end_layout
24766
24767 \begin_layout Standard
24768 \begin_inset VSpace bigskip
24769 \end_inset
24770
24771 The space between the frame and the box content is for all frame styles
24772  by default 3\InsetSpace \thinspace{}
24773 pt.
24774  You can change it by setting the length 
24775 \series bold
24776
24777 \backslash
24778 fboxsep
24779 \series default
24780  to another value.
24781  For example the command
24782 \end_layout
24783
24784 \begin_layout Standard
24785
24786 \series bold
24787
24788 \backslash
24789 setlength{
24790 \backslash
24791 fboxsep}{10pt}
24792 \end_layout
24793
24794 \begin_layout Standard
24795 sets the value to 10\InsetSpace \thinspace{}
24796 pt, like for the following box:
24797 \end_layout
24798
24799 \begin_layout Standard
24800 \begin_inset ERT
24801 status collapsed
24802
24803 \begin_layout Standard
24804
24805
24806 \backslash
24807 setlength{
24808 \backslash
24809 fboxsep}{10pt}
24810 \end_layout
24811
24812 \end_inset
24813
24814
24815 \begin_inset Box Boxed
24816 position "c"
24817 hor_pos "c"
24818 has_inner_box 1
24819 inner_pos "c"
24820 use_parbox 0
24821 width "25col%"
24822 special "none"
24823 height "1in"
24824 height_special "totalheight"
24825 status collapsed
24826
24827 \begin_layout Standard
24828 \align center
24829 Rectangular box with 
24830 \series bold
24831
24832 \backslash
24833 fboxsep
24834 \series default
24835 \InsetSpace \thinspace{}
24836 =\InsetSpace \thinspace{}
24837 10\InsetSpace \thinspace{}
24838 pt
24839 \end_layout
24840
24841 \end_inset
24842
24843
24844 \begin_inset ERT
24845 status collapsed
24846
24847 \begin_layout Standard
24848
24849
24850 \backslash
24851 setlength{
24852 \backslash
24853 fboxsep}{3pt}
24854 \end_layout
24855
24856 \end_inset
24857
24858
24859 \end_layout
24860
24861 \begin_layout Standard
24862 \begin_inset VSpace bigskip
24863 \end_inset
24864
24865 The diameter of the round corners of the oval boxes can be set with the
24866  command 
24867 \series bold
24868
24869 \backslash
24870 cornersize
24871 \series default
24872 .
24873  The command
24874 \end_layout
24875
24876 \begin_layout Standard
24877
24878 \series bold
24879
24880 \backslash
24881 cornersize*{1cm}
24882 \end_layout
24883
24884 \begin_layout Standard
24885 sets the diameter to 1\InsetSpace \thinspace{}
24886 cm.
24887  The command
24888 \end_layout
24889
24890 \begin_layout Standard
24891
24892 \series bold
24893
24894 \backslash
24895 cornersize{num}
24896 \end_layout
24897
24898 \begin_layout Standard
24899 sets the diameter to 
24900 \family sans
24901 num\InsetSpace \thinspace{}
24902 ×\InsetSpace \thinspace{}
24903 minimum(width and heigth of box)
24904 \family default
24905 .
24906  The default is 
24907 \series bold
24908
24909 \backslash
24910 cornersize{0.5}
24911 \series default
24912 .
24913 \end_layout
24914
24915 \begin_layout Standard
24916 \begin_inset ERT
24917 status collapsed
24918
24919 \begin_layout Standard
24920
24921
24922 \backslash
24923 cornersize*{1.5cm}
24924 \end_layout
24925
24926 \end_inset
24927
24928
24929 \begin_inset Box Ovalbox
24930 position "c"
24931 hor_pos "c"
24932 has_inner_box 1
24933 inner_pos "c"
24934 use_parbox 0
24935 width "25col%"
24936 special "none"
24937 height "1in"
24938 height_special "totalheight"
24939 status collapsed
24940
24941 \begin_layout Standard
24942 \align center
24943 Oval box with 
24944 \series bold
24945
24946 \backslash
24947 cornersize
24948 \series default
24949 \InsetSpace \thinspace{}
24950 =\InsetSpace \thinspace{}
24951 1.5\InsetSpace \thinspace{}
24952 cm
24953 \end_layout
24954
24955 \end_inset
24956
24957
24958 \begin_inset ERT
24959 status collapsed
24960
24961 \begin_layout Standard
24962
24963
24964 \backslash
24965 cornersize{0.5}
24966 \end_layout
24967
24968 \end_inset
24969
24970
24971 \end_layout
24972
24973 \begin_layout Standard
24974 \begin_inset VSpace bigskip
24975 \end_inset
24976
24977 The size of the shadow can be adjusted by changing the length 
24978 \series bold
24979
24980 \backslash
24981 shadowsize
24982 \series default
24983 .
24984  It it set to 2\InsetSpace \thinspace{}
24985 pt for the following box by this command:
24986 \end_layout
24987
24988 \begin_layout Standard
24989
24990 \series bold
24991
24992 \backslash
24993 setlength{
24994 \backslash
24995 shadowsize}{2pt}
24996 \end_layout
24997
24998 \begin_layout Standard
24999 \begin_inset ERT
25000 status collapsed
25001
25002 \begin_layout Standard
25003
25004
25005 \backslash
25006 setlength{
25007 \backslash
25008 shadowsize}{2pt}
25009 \end_layout
25010
25011 \end_inset
25012
25013
25014 \begin_inset Box Shadowbox
25015 position "c"
25016 hor_pos "c"
25017 has_inner_box 1
25018 inner_pos "c"
25019 use_parbox 0
25020 width "25col%"
25021 special "none"
25022 height "1in"
25023 height_special "totalheight"
25024 status collapsed
25025
25026 \begin_layout Standard
25027 \align center
25028 Shadow box with 
25029 \series bold
25030
25031 \backslash
25032 shadowsize
25033 \series default
25034 \InsetSpace \thinspace{}
25035 =\InsetSpace \thinspace{}
25036 2\InsetSpace \thinspace{}
25037 pt
25038 \end_layout
25039
25040 \end_inset
25041
25042
25043 \begin_inset ERT
25044 status collapsed
25045
25046 \begin_layout Standard
25047
25048
25049 \backslash
25050 setlength{
25051 \backslash
25052 shadowsize}{4pt}
25053 \end_layout
25054
25055 \end_inset
25056
25057
25058 \end_layout
25059
25060 \begin_layout Standard
25061 \begin_inset VSpace bigskip
25062 \end_inset
25063
25064 Changed lengths and widths are valid for all boxes following the commands
25065  that change them.
25066 \end_layout
25067
25068 \begin_layout Section
25069 Minipages
25070 \begin_inset LatexCommand label
25071 name "sec:Minipages"
25072
25073 \end_inset
25074
25075
25076 \begin_inset LatexCommand index
25077 name "Boxes ! Minipages"
25078
25079 \end_inset
25080
25081
25082 \end_layout
25083
25084 \begin_layout Standard
25085 Minipages are treated by LaTeX as pages within pages and can therefore for
25086  example have their own footnotes.
25087 \end_layout
25088
25089 \begin_layout Standard
25090 Minipages are useful when you write documents with different languages.
25091 \end_layout
25092
25093 \begin_layout Standard
25094 Below are two example minipages side by side.
25095  Their width is set to 45\InsetSpace \thinspace{}
25096 col% and they are separated by a horizontal fill,
25097  that was inserted via the menu 
25098 \family sans
25099 Insert\SpecialChar \menuseparator
25100 Special\InsetSpace ~
25101 Formatting\SpecialChar \menuseparator
25102 Horizontal\InsetSpace ~
25103 Fill
25104 \family default
25105 .
25106 \end_layout
25107
25108 \begin_layout Standard
25109 \begin_inset Box Frameless
25110 position "t"
25111 hor_pos "c"
25112 has_inner_box 1
25113 inner_pos "c"
25114 use_parbox 0
25115 width "45col%"
25116 special "none"
25117 height "1in"
25118 height_special "totalheight"
25119 status open
25120
25121 \begin_layout Standard
25122
25123 \lang german
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  Dies ist ein deutscher Text
25137 \begin_inset Foot
25138 status collapsed
25139
25140 \begin_layout Standard
25141
25142 \lang german
25143 Dies ist eine deutsche Fußnote.
25144 \end_layout
25145
25146 \end_inset
25147
25148 .
25149  Dies ist ein deutscher Text.
25150  Dies ist ein deutscher Text.
25151 \end_layout
25152
25153 \end_inset
25154
25155
25156 \hfill
25157
25158 \begin_inset Box Frameless
25159 position "t"
25160 hor_pos "c"
25161 has_inner_box 1
25162 inner_pos "c"
25163 use_parbox 0
25164 width "45col%"
25165 special "none"
25166 height "1in"
25167 height_special "totalheight"
25168 status open
25169
25170 \begin_layout Standard
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  This is an English Text.
25187 \begin_inset Foot
25188 status collapsed
25189
25190 \begin_layout Standard
25191 This is an English footnote.
25192 \end_layout
25193
25194 \end_inset
25195
25196  This is an English Text.
25197  
25198 \end_layout
25199
25200 \end_inset
25201
25202
25203 \end_layout
25204
25205 \begin_layout Standard
25206 \begin_inset VSpace bigskip
25207 \end_inset
25208
25209 Another application for minipages are footnotes within tables.
25210  Due to a LaTeX restriction footnotes within tables doesn't appear at the
25211  bottom of the current page.
25212  But when you put the table with the footnote to a minipage, the footnote
25213  will appear at its bottom, numbered with Latin letters.
25214  The footnote number is reset to 1 in every minipage but not outside the
25215  minipages.
25216 \end_layout
25217
25218 \begin_layout Standard
25219 The footnote of this table doesn't appear: 
25220 \begin_inset Tabular
25221 <lyxtabular version="3" rows="3" columns="4">
25222 <features>
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" width="0pt">
25226 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
25227 <row topline="true">
25228 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25229 \begin_inset Text
25230
25231 \begin_layout Standard
25232 1
25233 \end_layout
25234
25235 \end_inset
25236 </cell>
25237 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25238 \begin_inset Text
25239
25240 \begin_layout Standard
25241 2
25242 \end_layout
25243
25244 \end_inset
25245 </cell>
25246 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25247 \begin_inset Text
25248
25249 \begin_layout Standard
25250 3
25251 \begin_inset Foot
25252 status collapsed
25253
25254 \begin_layout Standard
25255 This is a footnote within a table.
25256 \end_layout
25257
25258 \end_inset
25259
25260
25261 \end_layout
25262
25263 \end_inset
25264 </cell>
25265 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25266 \begin_inset Text
25267
25268 \begin_layout Standard
25269 4
25270 \end_layout
25271
25272 \end_inset
25273 </cell>
25274 </row>
25275 <row topline="true">
25276 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25277 \begin_inset Text
25278
25279 \begin_layout Standard
25280 a
25281 \end_layout
25282
25283 \end_inset
25284 </cell>
25285 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25286 \begin_inset Text
25287
25288 \begin_layout Standard
25289 b
25290 \end_layout
25291
25292 \end_inset
25293 </cell>
25294 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25295 \begin_inset Text
25296
25297 \begin_layout Standard
25298 c
25299 \end_layout
25300
25301 \end_inset
25302 </cell>
25303 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25304 \begin_inset Text
25305
25306 \begin_layout Standard
25307 d
25308 \end_layout
25309
25310 \end_inset
25311 </cell>
25312 </row>
25313 <row topline="true" bottomline="true">
25314 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25315 \begin_inset Text
25316
25317 \begin_layout Standard
25318 e
25319 \end_layout
25320
25321 \end_inset
25322 </cell>
25323 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25324 \begin_inset Text
25325
25326 \begin_layout Standard
25327 f
25328 \end_layout
25329
25330 \end_inset
25331 </cell>
25332 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25333 \begin_inset Text
25334
25335 \begin_layout Standard
25336 g
25337 \end_layout
25338
25339 \end_inset
25340 </cell>
25341 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25342 \begin_inset Text
25343
25344 \begin_layout Standard
25345 h
25346 \end_layout
25347
25348 \end_inset
25349 </cell>
25350 </row>
25351 </lyxtabular>
25352
25353 \end_inset
25354
25355
25356 \end_layout
25357
25358 \begin_layout Standard
25359 \align center
25360 \begin_inset Box Frameless
25361 position "t"
25362 hor_pos "c"
25363 has_inner_box 1
25364 inner_pos "c"
25365 use_parbox 0
25366 width "30col%"
25367 special "none"
25368 height "1in"
25369 height_special "totalheight"
25370 status open
25371
25372 \begin_layout Standard
25373 \align center
25374 \begin_inset Tabular
25375 <lyxtabular version="3" rows="3" columns="4">
25376 <features>
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" width="0pt">
25380 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
25381 <row topline="true">
25382 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25383 \begin_inset Text
25384
25385 \begin_layout Standard
25386 1
25387 \end_layout
25388
25389 \end_inset
25390 </cell>
25391 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25392 \begin_inset Text
25393
25394 \begin_layout Standard
25395 2
25396 \end_layout
25397
25398 \end_inset
25399 </cell>
25400 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25401 \begin_inset Text
25402
25403 \begin_layout Standard
25404 3
25405 \begin_inset Foot
25406 status collapsed
25407
25408 \begin_layout Standard
25409 This is a footnote within a table.
25410 \end_layout
25411
25412 \end_inset
25413
25414
25415 \end_layout
25416
25417 \end_inset
25418 </cell>
25419 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25420 \begin_inset Text
25421
25422 \begin_layout Standard
25423 4
25424 \end_layout
25425
25426 \end_inset
25427 </cell>
25428 </row>
25429 <row topline="true">
25430 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25431 \begin_inset Text
25432
25433 \begin_layout Standard
25434 a
25435 \end_layout
25436
25437 \end_inset
25438 </cell>
25439 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25440 \begin_inset Text
25441
25442 \begin_layout Standard
25443 b
25444 \end_layout
25445
25446 \end_inset
25447 </cell>
25448 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25449 \begin_inset Text
25450
25451 \begin_layout Standard
25452 c
25453 \end_layout
25454
25455 \end_inset
25456 </cell>
25457 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25458 \begin_inset Text
25459
25460 \begin_layout Standard
25461 d
25462 \end_layout
25463
25464 \end_inset
25465 </cell>
25466 </row>
25467 <row topline="true" bottomline="true">
25468 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25469 \begin_inset Text
25470
25471 \begin_layout Standard
25472 e
25473 \end_layout
25474
25475 \end_inset
25476 </cell>
25477 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25478 \begin_inset Text
25479
25480 \begin_layout Standard
25481 f
25482 \end_layout
25483
25484 \end_inset
25485 </cell>
25486 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25487 \begin_inset Text
25488
25489 \begin_layout Standard
25490 g
25491 \end_layout
25492
25493 \end_inset
25494 </cell>
25495 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25496 \begin_inset Text
25497
25498 \begin_layout Standard
25499 h
25500 \end_layout
25501
25502 \end_inset
25503 </cell>
25504 </row>
25505 </lyxtabular>
25506
25507 \end_inset
25508
25509
25510 \end_layout
25511
25512 \end_inset
25513
25514
25515 \end_layout
25516
25517 \begin_layout Standard
25518 \begin_inset VSpace bigskip
25519 \end_inset
25520
25521 The document-wide paragraph settings are ignored within minipages.
25522  That means that there will be no space between paragraphs in minipages
25523  although you set it to e.\InsetSpace \thinspace{}
25524 g.\InsetSpace ~
25525
25526 \family sans
25527 MedSkip
25528 \family default
25529  in the document settings.
25530 \end_layout
25531
25532 \begin_layout Standard
25533 Minipages can also be used to set a background color for text parts, see
25534  section\InsetSpace ~
25535
25536 \begin_inset LatexCommand ref
25537 reference "sub:Color-for-Paragraphs"
25538
25539 \end_inset
25540
25541 .
25542 \end_layout
25543
25544 \begin_layout Standard
25545 \begin_inset Note Greyedout
25546 status open
25547
25548 \begin_layout Standard
25549
25550 \series bold
25551 Note:
25552 \series default
25553  You cannot have floats or margin notes inside minipages but minipages can
25554  be used inside tables, floats, and other boxes.
25555 \end_layout
25556
25557 \end_inset
25558
25559
25560 \end_layout
25561
25562 \begin_layout Section
25563 Parboxes
25564 \begin_inset LatexCommand label
25565 name "sec:Parboxes"
25566
25567 \end_inset
25568
25569
25570 \begin_inset LatexCommand index
25571 name "Boxes ! Parboxes"
25572
25573 \end_inset
25574
25575
25576 \end_layout
25577
25578 \begin_layout Standard
25579 Parboxes are very similar to minipages with the difference that they cannot
25580  have footnotes.
25581  The main difference to minipages is that minipages are in contrary to parboxes
25582  no real boxes but LaTeX-environments.
25583 \end_layout
25584
25585 \begin_layout Standard
25586 \align center
25587 \begin_inset Box Frameless
25588 position "t"
25589 hor_pos "c"
25590 has_inner_box 1
25591 inner_pos "t"
25592 use_parbox 1
25593 width "33col%"
25594 special "none"
25595 height "1in"
25596 height_special "totalheight"
25597 status collapsed
25598
25599 \begin_layout Standard
25600 This a text within a parbox.
25601  This a text within a parbox.
25602 \end_layout
25603
25604 \begin_layout Standard
25605 This footnote won't appear:
25606 \begin_inset Foot
25607 status collapsed
25608
25609 \begin_layout Standard
25610 This footnote is inside a parbox and will therefore not appear.
25611 \end_layout
25612
25613 \end_inset
25614
25615
25616 \end_layout
25617
25618 \end_inset
25619
25620
25621 \end_layout
25622
25623 \begin_layout Section
25624 Boxes for Words and Characters
25625 \begin_inset LatexCommand index
25626 name "Boxes ! for Characters"
25627
25628 \end_inset
25629
25630
25631 \end_layout
25632
25633 \begin_layout Subsection
25634 Prevent Hyphenation
25635 \begin_inset LatexCommand label
25636 name "sec:Prevent-Hyphenation"
25637
25638 \end_inset
25639
25640
25641 \begin_inset LatexCommand index
25642 name "Boxes ! to Prevent Hyphenation"
25643
25644 \end_inset
25645
25646
25647 \end_layout
25648
25649 \begin_layout Standard
25650 You can use a special kind of boxes to prevent words or text to be hyphenated.
25651 \newline
25652 Her
25653 e is an example text:
25654 \end_layout
25655
25656 \begin_layout Standard
25657 This line is an example to show how you can prevent the hyphenation of 
25658 \begin_inset Quotes eld
25659 \end_inset
25660
25661 veryverylongword
25662 \begin_inset Quotes erd
25663 \end_inset
25664
25665 .
25666 \end_layout
25667
25668 \begin_layout Standard
25669 To prevent the hyphenation of the word 
25670 \begin_inset Quotes eld
25671 \end_inset
25672
25673 veryverylongword
25674 \begin_inset Quotes erd
25675 \end_inset
25676
25677 , add the command
25678 \end_layout
25679
25680 \begin_layout Standard
25681
25682 \series bold
25683
25684 \backslash
25685 mbox{
25686 \end_layout
25687
25688 \begin_layout Standard
25689 in ERT before the word.
25690  Behind the word insert a closing brace 
25691 \begin_inset Quotes eld
25692 \end_inset
25693
25694
25695 \series bold
25696 }
25697 \series default
25698
25699 \begin_inset Quotes erd
25700 \end_inset
25701
25702  in ERT.
25703 \begin_inset ERT
25704 status collapsed
25705
25706 \begin_layout Standard
25707
25708
25709 \backslash
25710 pagebreak 
25711 \end_layout
25712
25713 \end_inset
25714
25715
25716 \end_layout
25717
25718 \begin_layout Standard
25719 This is the result:
25720 \end_layout
25721
25722 \begin_layout Standard
25723 This line is an example to show how you can prevent the hyphenation of 
25724 \begin_inset ERT
25725 status collapsed
25726
25727 \begin_layout Standard
25728
25729
25730 \backslash
25731 mbox{
25732 \end_layout
25733
25734 \end_inset
25735
25736
25737 \begin_inset Quotes eld
25738 \end_inset
25739
25740 veryverylongword
25741 \begin_inset Quotes erd
25742 \end_inset
25743
25744 .
25745 \begin_inset ERT
25746 status collapsed
25747
25748 \begin_layout Standard
25749
25750 }
25751 \end_layout
25752
25753 \end_inset
25754
25755
25756 \end_layout
25757
25758 \begin_layout Standard
25759 You can alternatively set the command 
25760 \begin_inset Quotes eld
25761 \end_inset
25762
25763
25764 \series bold
25765
25766 \backslash
25767 -
25768 \series default
25769
25770 \begin_inset Quotes grd
25771 \end_inset
25772
25773  as ERT directly before the word:
25774 \end_layout
25775
25776 \begin_layout Standard
25777 This line is an example to show how you can prevent the hyphenation of 
25778 \begin_inset Quotes eld
25779 \end_inset
25780
25781
25782 \begin_inset ERT
25783 status collapsed
25784
25785 \begin_layout Standard
25786
25787
25788 \backslash
25789 -
25790 \end_layout
25791
25792 \end_inset
25793
25794 veryverylongword
25795 \begin_inset Quotes erd
25796 \end_inset
25797
25798 .
25799 \end_layout
25800
25801 \begin_layout Standard
25802 Of course the word now protrudes over the side margin.
25803  To avoid this, add via the menu 
25804 \family sans
25805 Insert\SpecialChar \menuseparator
25806 Special\InsetSpace ~
25807 Formatting\SpecialChar \menuseparator
25808 Line\InsetSpace ~
25809 Break
25810 \family default
25811  (shortcut 
25812 \series bold
25813 Ctrl-Return
25814 \series default
25815 ) a line break before the word:
25816 \end_layout
25817
25818 \begin_layout Standard
25819 This line is an example to show how you can prevent the hyphenation of 
25820 \newline
25821
25822 \begin_inset ERT
25823 status collapsed
25824
25825 \begin_layout Standard
25826
25827
25828 \backslash
25829 mbox{
25830 \end_layout
25831
25832 \end_inset
25833
25834
25835 \begin_inset Quotes eld
25836 \end_inset
25837
25838 veryverylongword
25839 \begin_inset Quotes erd
25840 \end_inset
25841
25842 .
25843 \begin_inset ERT
25844 status collapsed
25845
25846 \begin_layout Standard
25847
25848 }
25849 \end_layout
25850
25851 \end_inset
25852
25853
25854 \end_layout
25855
25856 \begin_layout Subsection
25857 Vertical Alignment
25858 \begin_inset LatexCommand label
25859 name "sub:Vertical-Alignment"
25860
25861 \end_inset
25862
25863
25864 \begin_inset LatexCommand index
25865 name "Boxes ! for Vertical Alignment"
25866
25867 \end_inset
25868
25869
25870 \begin_inset LatexCommand index
25871 name "Boxes ! Raiseboxes"
25872
25873 \end_inset
25874
25875
25876 \end_layout
25877
25878 \begin_layout Standard
25879 With the help of the command 
25880 \series bold
25881
25882 \backslash
25883 raisebox
25884 \series default
25885  you can align words, characters or other boxes vertically to the surrounding
25886  text.
25887  
25888 \series bold
25889
25890 \backslash
25891 raisebox
25892 \series default
25893  is used with the following scheme:
25894 \end_layout
25895
25896 \begin_layout Standard
25897
25898 \series bold
25899
25900 \backslash
25901 raisebox{lift}[height][depth]{box content}
25902 \end_layout
25903
25904 \begin_layout Standard
25905 The lift can be a positive value to raise the box or a negative value to
25906  lower the box.
25907 \end_layout
25908
25909 \begin_layout Standard
25910 To align for example the word 
25911 \begin_inset Quotes eld
25912 \end_inset
25913
25914 preventing
25915 \begin_inset Quotes erd
25916 \end_inset
25917
25918  so that the bottom of the 
25919 \begin_inset Quotes eld
25920 \end_inset
25921
25922 deepest
25923 \begin_inset Quotes erd
25924 \end_inset
25925
25926  character 
25927 \begin_inset Quotes eld
25928 \end_inset
25929
25930 p
25931 \begin_inset Quotes erd
25932 \end_inset
25933
25934  is at the baseline, insert the command
25935 \end_layout
25936
25937 \begin_layout Standard
25938
25939 \series bold
25940
25941 \backslash
25942 raisebox{
25943 \backslash
25944 depth}{
25945 \end_layout
25946
25947 \begin_layout Standard
25948 in ERT before the word.
25949  Behind the word insert a closing brace 
25950 \begin_inset Quotes eld
25951 \end_inset
25952
25953
25954 \series bold
25955 }
25956 \series default
25957
25958 \begin_inset Quotes erd
25959 \end_inset
25960
25961  in ERT.
25962 \newline
25963 This is the result:
25964 \end_layout
25965
25966 \begin_layout Standard
25967 This is a text line with the word 
25968 \begin_inset ERT
25969 status collapsed
25970
25971 \begin_layout Standard
25972
25973
25974 \backslash
25975 raisebox{
25976 \backslash
25977 depth}{
25978 \end_layout
25979
25980 \end_inset
25981
25982
25983 \begin_inset Quotes eld
25984 \end_inset
25985
25986 preventing
25987 \begin_inset Quotes erd
25988 \end_inset
25989
25990
25991 \begin_inset ERT
25992 status collapsed
25993
25994 \begin_layout Standard
25995
25996 }
25997 \end_layout
25998
25999 \end_inset
26000
26001  as raised word.
26002 \end_layout
26003
26004 \begin_layout Standard
26005 \begin_inset VSpace bigskip
26006 \end_inset
26007
26008 When you raise or lower characters in a line, the line distance will be
26009  spread:
26010 \end_layout
26011
26012 \begin_layout Standard
26013 This is a text line with the word 
26014 \begin_inset ERT
26015 status collapsed
26016
26017 \begin_layout Standard
26018
26019
26020 \backslash
26021 raisebox{-
26022 \backslash
26023 depth}{
26024 \end_layout
26025
26026 \end_inset
26027
26028
26029 \begin_inset Quotes eld
26030 \end_inset
26031
26032 preventing
26033 \begin_inset Quotes erd
26034 \end_inset
26035
26036
26037 \begin_inset ERT
26038 status collapsed
26039
26040 \begin_layout Standard
26041
26042 }
26043 \end_layout
26044
26045 \end_inset
26046
26047  as lowered word.
26048 \newline
26049 This is a text line with the word 
26050 \begin_inset ERT
26051 status collapsed
26052
26053 \begin_layout Standard
26054
26055
26056 \backslash
26057 raisebox{0.5cm}{
26058 \end_layout
26059
26060 \end_inset
26061
26062
26063 \begin_inset Quotes eld
26064 \end_inset
26065
26066 testing
26067 \begin_inset Quotes erd
26068 \end_inset
26069
26070
26071 \begin_inset ERT
26072 status collapsed
26073
26074 \begin_layout Standard
26075
26076 }
26077 \end_layout
26078
26079 \end_inset
26080
26081  as raised word.
26082 \end_layout
26083
26084 \begin_layout Standard
26085 If you want to prevent this for a certain reason, set the box height to
26086  a zero value.
26087  For example use
26088 \end_layout
26089
26090 \begin_layout Standard
26091
26092 \series bold
26093
26094 \backslash
26095 raisebox{-
26096 \backslash
26097 depth}[0pt]{
26098 \end_layout
26099
26100 \begin_layout Standard
26101 This is a text line with the word 
26102 \begin_inset ERT
26103 status collapsed
26104
26105 \begin_layout Standard
26106
26107
26108 \backslash
26109 raisebox{-
26110 \backslash
26111 depth}[0pt]{
26112 \end_layout
26113
26114 \end_inset
26115
26116
26117 \begin_inset Quotes eld
26118 \end_inset
26119
26120 preventing
26121 \begin_inset Quotes erd
26122 \end_inset
26123
26124
26125 \begin_inset ERT
26126 status collapsed
26127
26128 \begin_layout Standard
26129
26130 }
26131 \end_layout
26132
26133 \end_inset
26134
26135  as lowered word.
26136 \newline
26137 This is a text line with the word 
26138 \begin_inset ERT
26139 status collapsed
26140
26141 \begin_layout Standard
26142
26143
26144 \backslash
26145 raisebox{0.5cm}[0pt]{
26146 \end_layout
26147
26148 \end_inset
26149
26150
26151 \begin_inset Quotes eld
26152 \end_inset
26153
26154 testing
26155 \begin_inset Quotes erd
26156 \end_inset
26157
26158
26159 \begin_inset ERT
26160 status collapsed
26161
26162 \begin_layout Standard
26163
26164 }
26165 \end_layout
26166
26167 \end_inset
26168
26169  as raised word.
26170 \end_layout
26171
26172 \begin_layout Section
26173 Colored Boxes
26174 \begin_inset LatexCommand label
26175 name "sec:Colored-Boxes"
26176
26177 \end_inset
26178
26179
26180 \begin_inset LatexCommand index
26181 name "Boxes ! Color"
26182
26183 \end_inset
26184
26185
26186 \end_layout
26187
26188 \begin_layout Subsection
26189 Color for Text
26190 \begin_inset LatexCommand index
26191 name "Color ! for Text"
26192
26193 \end_inset
26194
26195
26196 \end_layout
26197
26198 \begin_layout Standard
26199 To color the background of text the text must be put into a so called 
26200 \begin_inset Quotes eld
26201 \end_inset
26202
26203 colorbox
26204 \begin_inset Quotes erd
26205 \end_inset
26206
26207 .
26208  This requires that the LaTeX-package 
26209 \series bold
26210 color
26211 \series default
26212
26213 \begin_inset LatexCommand index
26214 name "LaTeX-packages ! color"
26215
26216 \end_inset
26217
26218  is loaded in the document preamble with the command
26219 \end_layout
26220
26221 \begin_layout Standard
26222
26223 \series bold
26224
26225 \backslash
26226 @ifundef\SpecialChar \textcompwordmark{}
26227 ined{textcolor}
26228 \newline
26229
26230 \begin_inset ERT
26231 status collapsed
26232
26233 \begin_layout Standard
26234
26235
26236 \backslash
26237 hphantom{ }
26238 \end_layout
26239
26240 \end_inset
26241
26242 {
26243 \backslash
26244 usepackage{color}}{}
26245 \end_layout
26246
26247 \begin_layout Standard
26248 The package 
26249 \series bold
26250 color
26251 \series default
26252  will be loaded automatically by LyX when you color text
26253 \begin_inset Foot
26254 status collapsed
26255
26256 \begin_layout Standard
26257 To avoid that it is loaded twice the command 
26258 \series bold
26259
26260 \backslash
26261 @ifundef\SpecialChar \textcompwordmark{}
26262 ined
26263 \series default
26264  is used.
26265 \end_layout
26266
26267 \end_inset
26268
26269 .
26270 \end_layout
26271
26272 \begin_layout Standard
26273 \begin_inset VSpace medskip
26274 \end_inset
26275
26276 Colorboxes are created with the command 
26277 \series bold
26278
26279 \backslash
26280 colorbox
26281 \series default
26282 .
26283  This will be used with the following scheme:
26284 \end_layout
26285
26286 \begin_layout Standard
26287
26288 \series bold
26289
26290 \backslash
26291 colorbox{color}{box content}
26292 \end_layout
26293
26294 \begin_layout Standard
26295 The box content can also be a box and colorboxes can also be within other
26296  boxes.
26297 \end_layout
26298
26299 \begin_layout Standard
26300 The following colors are predefined:
26301 \newline
26302
26303 \family sans
26304 black
26305 \family default
26306
26307 \family sans
26308 blue
26309 \family default
26310
26311 \family sans
26312 cyan
26313 \family default
26314 \series bold
26315 ,
26316 \series default
26317  
26318 \family sans
26319 green
26320 \family default
26321
26322 \family sans
26323 magenta
26324 \family default
26325
26326 \family sans
26327 red
26328 \family default
26329
26330 \family sans
26331 white
26332 \family default
26333 , and 
26334 \family sans
26335 yellow
26336 \family default
26337 .
26338 \newline
26339 You can also define your own color as described in section\InsetSpace ~
26340
26341 \begin_inset LatexCommand ref
26342 reference "sec:Colored-Tables"
26343
26344 \end_inset
26345
26346 .
26347 \end_layout
26348
26349 \begin_layout Standard
26350 To have e.\InsetSpace \thinspace{}
26351 g.\InsetSpace ~
26352 a red background for a word, insert the command
26353 \end_layout
26354
26355 \begin_layout Standard
26356
26357 \series bold
26358
26359 \backslash
26360 colorbox{red}{
26361 \end_layout
26362
26363 \begin_layout Standard
26364 before the word in ERT.
26365  Behind the word insert a closing brace 
26366 \begin_inset Quotes eld
26367 \end_inset
26368
26369
26370 \series bold
26371 }
26372 \series default
26373
26374 \begin_inset Quotes erd
26375 \end_inset
26376
26377  in ERT.
26378 \newline
26379 This is the result:
26380 \end_layout
26381
26382 \begin_layout Standard
26383 This is a line where the word 
26384 \begin_inset ERT
26385 status collapsed
26386
26387 \begin_layout Standard
26388
26389
26390 \backslash
26391 colorbox{red}{
26392 \end_layout
26393
26394 \end_inset
26395
26396
26397 \begin_inset Quotes eld
26398 \end_inset
26399
26400 Attention!
26401 \begin_inset Quotes erd
26402 \end_inset
26403
26404
26405 \begin_inset ERT
26406 status collapsed
26407
26408 \begin_layout Standard
26409
26410 }
26411 \end_layout
26412
26413 \end_inset
26414
26415  has a red background.
26416 \end_layout
26417
26418 \begin_layout Standard
26419 \begin_inset VSpace bigskip
26420 \end_inset
26421
26422 If you would have the box frame in a different color, you can use the command
26423  
26424 \series bold
26425
26426 \backslash
26427 fcolorbox
26428 \series default
26429  with the following scheme:
26430 \end_layout
26431
26432 \begin_layout Standard
26433
26434 \series bold
26435
26436 \backslash
26437 fcolorbox{frame color}{box color}{box content}
26438 \end_layout
26439
26440 \begin_layout Standard
26441
26442 \series bold
26443
26444 \backslash
26445 fcolorbox
26446 \series default
26447  is an extension to 
26448 \series bold
26449
26450 \backslash
26451 colorbox
26452 \series default
26453 .
26454  The frame thickness and the space between the frame and the box content
26455  can be adjusted with the lengths 
26456 \series bold
26457
26458 \backslash
26459 fboxrule
26460 \series default
26461  and 
26462 \series bold
26463
26464 \backslash
26465 fboxsep
26466 \series default
26467 , respectively, as described in section\InsetSpace ~
26468
26469 \begin_inset LatexCommand ref
26470 reference "sec:Framed-Boxes"
26471
26472 \end_inset
26473
26474 .
26475 \end_layout
26476
26477 \begin_layout Standard
26478 For the following example the command
26479 \end_layout
26480
26481 \begin_layout Standard
26482
26483 \series bold
26484
26485 \backslash
26486 fcolorbox{cyan}{magenta}{
26487 \end_layout
26488
26489 \begin_layout Standard
26490 was used.
26491 \end_layout
26492
26493 \begin_layout Standard
26494 Here is an example where the frame line thickness was set to 1\InsetSpace \thinspace{}
26495 mm:
26496 \newline
26497
26498 \begin_inset ERT
26499 status collapsed
26500
26501 \begin_layout Standard
26502
26503
26504 \backslash
26505 fboxrule 1mm 
26506 \backslash
26507 fboxsep 1mm
26508 \end_layout
26509
26510 \end_inset
26511
26512
26513 \begin_inset ERT
26514 status collapsed
26515
26516 \begin_layout Standard
26517
26518
26519 \backslash
26520 fcolorbox{cyan}{magenta}{
26521 \end_layout
26522
26523 \end_inset
26524
26525 This is text within a colored, framed box.
26526 \begin_inset ERT
26527 status collapsed
26528
26529 \begin_layout Standard
26530
26531 }
26532 \end_layout
26533
26534 \end_inset
26535
26536
26537 \end_layout
26538
26539 \begin_layout Standard
26540 \begin_inset VSpace bigskip
26541 \end_inset
26542
26543 Of course you can also have colored text inside a colorbox:
26544 \newline
26545
26546 \begin_inset ERT
26547 status collapsed
26548
26549 \begin_layout Standard
26550
26551
26552 \backslash
26553 fcolorbox{cyan}{magenta}{
26554 \end_layout
26555
26556 \end_inset
26557
26558
26559 \color yellow
26560 This is colored text within a colored, framed box.
26561 \color none
26562
26563 \begin_inset ERT
26564 status collapsed
26565
26566 \begin_layout Standard
26567
26568 }
26569 \end_layout
26570
26571 \end_inset
26572
26573
26574 \begin_inset ERT
26575 status collapsed
26576
26577 \begin_layout Standard
26578
26579
26580 \backslash
26581 fboxrule 0.4pt 
26582 \backslash
26583 fboxsep 3pt
26584 \end_layout
26585
26586 \end_inset
26587
26588
26589 \end_layout
26590
26591 \begin_layout Standard
26592
26593 \series bold
26594 \begin_inset VSpace medskip
26595 \end_inset
26596
26597
26598 \end_layout
26599
26600 \begin_layout Standard
26601 \begin_inset Note Greyedout
26602 status open
26603
26604 \begin_layout Standard
26605
26606 \series bold
26607 Note:
26608 \series default
26609  Text in colorboxes cannot have line breaks.
26610  To color multiple text lines or paragraphs, use a box inside a colorbox
26611  as described in the following.
26612 \end_layout
26613
26614 \end_inset
26615
26616
26617 \end_layout
26618
26619 \begin_layout Subsection
26620 Color for Paragraphs
26621 \begin_inset LatexCommand label
26622 name "sub:Color-for-Paragraphs"
26623
26624 \end_inset
26625
26626
26627 \begin_inset LatexCommand index
26628 name "Color ! for Paragraphs"
26629
26630 \end_inset
26631
26632
26633 \end_layout
26634
26635 \begin_layout Standard
26636 To set the background color for more than one text line, put the text into
26637  a minipage.
26638  Before the minipage insert the 
26639 \series bold
26640
26641 \backslash
26642 colorbox
26643 \series default
26644  command
26645 \end_layout
26646
26647 \begin_layout Standard
26648
26649 \series bold
26650
26651 \backslash
26652 colorbox{color}{
26653 \end_layout
26654
26655 \begin_layout Standard
26656 in ERT.
26657  Behind the minipage insert a closing brace 
26658 \begin_inset Quotes eld
26659 \end_inset
26660
26661
26662 \series bold
26663 }
26664 \series default
26665
26666 \begin_inset Quotes erd
26667 \end_inset
26668
26669  in ERT.
26670 \end_layout
26671
26672 \begin_layout Standard
26673 \begin_inset ERT
26674 status collapsed
26675
26676 \begin_layout Standard
26677
26678
26679 \backslash
26680 colorbox{lightgrey}{
26681 \end_layout
26682
26683 \end_inset
26684
26685
26686 \begin_inset Box Frameless
26687 position "t"
26688 hor_pos "c"
26689 has_inner_box 1
26690 inner_pos "t"
26691 use_parbox 0
26692 width "100col%"
26693 special "none"
26694 height "1in"
26695 height_special "totalheight"
26696 status collapsed
26697
26698 \begin_layout Standard
26699 This is text with background color.
26700  This is text with background color.
26701 \end_layout
26702
26703 \begin_layout Standard
26704 \begin_inset VSpace defskip
26705 \end_inset
26706
26707 The text can have footnotes
26708 \begin_inset Foot
26709 status collapsed
26710
26711 \begin_layout Standard
26712 Another example footnote
26713 \end_layout
26714
26715 \end_inset
26716
26717  and can include tables and figures.
26718 \end_layout
26719
26720 \begin_layout Standard
26721 \align center
26722 \begin_inset Tabular
26723 <lyxtabular version="3" rows="3" columns="3">
26724 <features>
26725 <column alignment="center" valignment="top" leftline="true" width="0">
26726 <column alignment="center" valignment="top" leftline="true" width="0">
26727 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
26728 <row topline="true">
26729 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26730 \begin_inset Text
26731
26732 \begin_layout Standard
26733 a
26734 \end_layout
26735
26736 \end_inset
26737 </cell>
26738 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26739 \begin_inset Text
26740
26741 \begin_layout Standard
26742 !
26743 \end_layout
26744
26745 \end_inset
26746 </cell>
26747 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26748 \begin_inset Text
26749
26750 \begin_layout Standard
26751 3
26752 \end_layout
26753
26754 \end_inset
26755 </cell>
26756 </row>
26757 <row topline="true">
26758 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26759 \begin_inset Text
26760
26761 \begin_layout Standard
26762 <
26763 \end_layout
26764
26765 \end_inset
26766 </cell>
26767 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26768 \begin_inset Text
26769
26770 \begin_layout Standard
26771 b2
26772 \begin_inset Quotes erd
26773 \end_inset
26774
26775 |
26776 \end_layout
26777
26778 \end_inset
26779 </cell>
26780 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26781 \begin_inset Text
26782
26783 \begin_layout Standard
26784 >
26785 \end_layout
26786
26787 \end_inset
26788 </cell>
26789 </row>
26790 <row topline="true" bottomline="true">
26791 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26792 \begin_inset Text
26793
26794 \begin_layout Standard
26795 1
26796 \end_layout
26797
26798 \end_inset
26799 </cell>
26800 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26801 \begin_inset Text
26802
26803 \begin_layout Standard
26804 §
26805 \end_layout
26806
26807 \end_inset
26808 </cell>
26809 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26810 \begin_inset Text
26811
26812 \begin_layout Standard
26813 c
26814 \end_layout
26815
26816 \end_inset
26817 </cell>
26818 </row>
26819 </lyxtabular>
26820
26821 \end_inset
26822
26823
26824 \end_layout
26825
26826 \end_inset
26827
26828
26829 \begin_inset ERT
26830 status collapsed
26831
26832 \begin_layout Standard
26833
26834 }
26835 \end_layout
26836
26837 \end_inset
26838
26839
26840 \end_layout
26841
26842 \begin_layout Section
26843 URLs (Uniform Resource Locators)
26844 \begin_inset LatexCommand index
26845 name "URLs"
26846
26847 \end_inset
26848
26849
26850 \end_layout
26851
26852 \begin_layout Standard
26853 Links to web pages or email addresses can be inserted via the menu 
26854 \family sans
26855 Insert\SpecialChar \menuseparator
26856 URL
26857 \family default
26858 .
26859  The appearing URL dialog has two fields; the 
26860 \family sans
26861 URL
26862 \family default
26863  field and the 
26864 \family sans
26865 Name
26866 \family default
26867  field for the URL description, which will be typeset as plain text immediately
26868  before the URL.
26869 \end_layout
26870
26871 \begin_layout Standard
26872 Here is an example URL: 
26873 \begin_inset LatexCommand url
26874 name "LyX's homepage"
26875 target "http://www.lyx.org"
26876
26877 \end_inset
26878
26879
26880 \end_layout
26881
26882 \begin_layout Standard
26883 The option 
26884 \family sans
26885 Generate\InsetSpace ~
26886 hyperlink
26887 \family default
26888  in the URL dialog has only an affect when you export your document to the
26889  format 
26890 \begin_inset Quotes eld
26891 \end_inset
26892
26893
26894 \family sans
26895 LinuxDoc
26896 \family default
26897
26898 \begin_inset Quotes erd
26899 \end_inset
26900
26901 .
26902 \end_layout
26903
26904 \begin_layout Standard
26905 You cannot change the style of the link text.
26906  The text of the 
26907 \family sans
26908 Name
26909 \family default
26910  field will have the default text style of the document while the text of
26911  the 
26912 \family sans
26913 URL
26914 \family default
26915  field will have the style 
26916 \begin_inset Quotes eld
26917 \end_inset
26918
26919
26920 \family sans
26921 Typewriter
26922 \family default
26923
26924 \begin_inset Quotes erd
26925 \end_inset
26926
26927 .
26928 \end_layout
26929
26930 \begin_layout Standard
26931 When you use the LaTeX-package 
26932 \series bold
26933 hyperref
26934 \series default
26935
26936 \begin_inset LatexCommand index
26937 name "LaTeX-packages ! hyperref"
26938
26939 \end_inset
26940
26941  to link cross-references in the output, URLs will automatically become
26942  clickable hyperlinks in DVI and PDF-output.
26943 \end_layout
26944
26945 \begin_layout Standard
26946 \begin_inset Note Greyedout
26947 status open
26948
26949 \begin_layout Standard
26950
26951 \series bold
26952 Note:
26953 \series default
26954  When you use the following characters: "%", "#", "^", you have to write
26955  them with a preceding backslash, e.\InsetSpace \thinspace{}
26956 g.\InsetSpace ~
26957
26958 \begin_inset Quotes eld
26959 \end_inset
26960
26961
26962 \backslash
26963 #
26964 \begin_inset Quotes erd
26965 \end_inset
26966
26967 .
26968  URLs must not end with a backslash.
26969 \end_layout
26970
26971 \end_inset
26972
26973
26974 \end_layout
26975
26976 \begin_layout Standard
26977 \begin_inset VSpace bigskip
26978 \end_inset
26979
26980 To create real hyperlinks without the force to write the link location to
26981  the text, you can use the command
26982 \end_layout
26983
26984 \begin_layout Standard
26985
26986 \series bold
26987
26988 \backslash
26989 href{link location}{link text}
26990 \end_layout
26991
26992 \begin_layout Standard
26993 in ERT.
26994  To get for example a link to LyX's web page, write the command
26995 \end_layout
26996
26997 \begin_layout Standard
26998
26999 \series bold
27000
27001 \backslash
27002 href{http://www.lyx.org}{
27003 \end_layout
27004
27005 \begin_layout Standard
27006 in ERT.
27007  Insert after the command the link text 
27008 \begin_inset Quotes eld
27009 \end_inset
27010
27011 LyX's homepage
27012 \begin_inset Quotes erd
27013 \end_inset
27014
27015  as normal text followed by a closing brace 
27016 \begin_inset Quotes eld
27017 \end_inset
27018
27019
27020 \series bold
27021 }
27022 \series default
27023
27024 \begin_inset Quotes erd
27025 \end_inset
27026
27027  in ERT.
27028  This is the result: 
27029 \begin_inset ERT
27030 status collapsed
27031
27032 \begin_layout Standard
27033
27034
27035 \backslash
27036 href{http://www.lyx.org}{
27037 \end_layout
27038
27039 \end_inset
27040
27041 LyX's homepage
27042 \begin_inset ERT
27043 status collapsed
27044
27045 \begin_layout Standard
27046
27047 }
27048 \end_layout
27049
27050 \end_inset
27051
27052
27053 \end_layout
27054
27055 \begin_layout Standard
27056 To link to email addresses, add the prefix 
27057 \begin_inset Quotes eld
27058 \end_inset
27059
27060
27061 \family sans
27062 mailto:
27063 \family default
27064
27065 \begin_inset Quotes erd
27066 \end_inset
27067
27068  to the link location:
27069 \newline
27070 Email to 
27071 \begin_inset ERT
27072 status collapsed
27073
27074 \begin_layout Standard
27075
27076
27077 \backslash
27078 href{mailto:lyx-docs@lists.lyx.org?subject=LyX's documentation}{
27079 \end_layout
27080
27081 \end_inset
27082
27083 lyx-docs mailing list
27084 \begin_inset ERT
27085 status collapsed
27086
27087 \begin_layout Standard
27088
27089 }
27090 \end_layout
27091
27092 \end_inset
27093
27094 .
27095 \end_layout
27096
27097 \begin_layout Standard
27098 Using 
27099 \series bold
27100
27101 \backslash
27102 href
27103 \series default
27104  instead of LyX's URL box has the advantage that you can specify the text
27105  style of the link text like for all other text parts.
27106  You can then set hyphenation points and forced linebreaks to have long
27107  link text broken at the page margin.
27108  You are furthermore able to change the text style for all URLs in your
27109  document with an option in 
27110 \series bold
27111 hyperref
27112 \series default
27113 's load command and the restrictions mentioned above doesn't apply for 
27114 \series bold
27115
27116 \backslash
27117 href
27118 \series default
27119 .
27120 \end_layout
27121
27122 \begin_layout Chapter
27123 External Stuff
27124 \begin_inset LatexCommand index
27125 name "External Stuff"
27126
27127 \end_inset
27128
27129
27130 \end_layout
27131
27132 \begin_layout Standard
27133 With the menu 
27134 \family sans
27135 Insert\SpecialChar \menuseparator
27136 File
27137 \family default
27138  you can insert external material to your document.
27139  This can be:
27140 \end_layout
27141
27142 \begin_layout Description
27143 LyX\InsetSpace ~
27144 Document Another LyX document; its content is directly inserted to your
27145  document.
27146 \end_layout
27147
27148 \begin_layout Description
27149 Plain\InsetSpace ~
27150 Text A text document; every of its text lines is inserted to your document
27151  as own paragraph.
27152 \end_layout
27153
27154 \begin_layout Description
27155 Plain\InsetSpace ~
27156 Text,\InsetSpace ~
27157 Join\InsetSpace ~
27158 Lines A text document; its text lines are inserted as they
27159  are.
27160  Empty text lines creates a new paragraph in your document.
27161 \end_layout
27162
27163 \begin_layout Description
27164 External\InsetSpace ~
27165 Material Files in various formats.
27166 \end_layout
27167
27168 \begin_layout Description
27169 Child\InsetSpace ~
27170 Document LyX or LaTeX-documents.
27171 \end_layout
27172
27173 \begin_layout Section
27174 External Material
27175 \begin_inset LatexCommand index
27176 name "External Stuff ! External Material"
27177
27178 \end_inset
27179
27180
27181 \end_layout
27182
27183 \begin_layout Standard
27184 The external material feature allows you to insert files to your document
27185  without converting them previously to a format that can be read by the
27186  document output format because LyX takes care of needed conversions.
27187  This is similar to images that can be inserted in various image formats
27188  to LyX documents.
27189 \end_layout
27190
27191 \begin_layout Standard
27192 External material can be inserted via the 
27193 \family sans
27194 External Material
27195 \family default
27196  dialog that is accessible with the menu 
27197 \family sans
27198 Insert\SpecialChar \menuseparator
27199 File\SpecialChar \menuseparator
27200 External\InsetSpace ~
27201 Material
27202 \family default
27203 .
27204  Currently the following file types (
27205 \family sans
27206 Templates
27207 \family default
27208 ) are allowed:
27209 \end_layout
27210
27211 \begin_layout Description
27212 ChessDiagram This template supports chess position diagrams made with the
27213  program 
27214 \begin_inset ERT
27215 status collapsed
27216
27217 \begin_layout Standard
27218
27219
27220 \backslash
27221 href{http://en.wikipedia.org/wiki/XBoard}{
27222 \end_layout
27223
27224 \end_inset
27225
27226
27227 \series bold
27228 XBoard
27229 \series default
27230
27231 \begin_inset ERT
27232 status collapsed
27233
27234 \begin_layout Standard
27235
27236 }
27237 \end_layout
27238
27239 \end_inset
27240
27241 .
27242 \end_layout
27243
27244 \begin_layout Description
27245 Date This inserts the date in the form 
27246 \emph on
27247 Day-Month-Year
27248 \emph default
27249 .
27250  This is a date inserted as external material: 
27251 \begin_inset External
27252         template Date
27253         filename .
27254
27255 \end_inset
27256
27257
27258 \newline
27259 The date is not shown within LyX, only in the output.
27260  There are two other methods of inserting a date: Via menu 
27261 \family sans
27262 Insert\SpecialChar \menuseparator
27263 Date
27264 \family default
27265  and with the LaTeX command 
27266 \series bold
27267
27268 \backslash
27269 today
27270 \series default
27271  as ERT.
27272  The different methods are compared in Table\InsetSpace ~
27273
27274 \begin_inset LatexCommand ref
27275 reference "tab:Comparison-of-the"
27276
27277 \end_inset
27278
27279 .
27280 \end_layout
27281
27282 \begin_layout Description
27283 LilyPond This template is used for music notation typeset with the program
27284 \begin_inset ERT
27285 status collapsed
27286
27287 \begin_layout Standard
27288
27289
27290 \backslash
27291 linebreak 
27292 \end_layout
27293
27294 \end_inset
27295
27296
27297 \begin_inset ERT
27298 status collapsed
27299
27300 \begin_layout Standard
27301
27302
27303 \backslash
27304 href{http://en.wikipedia.org/wiki/LilyPond}{
27305 \end_layout
27306
27307 \end_inset
27308
27309
27310 \series bold
27311 LilyPond
27312 \series default
27313
27314 \begin_inset ERT
27315 status collapsed
27316
27317 \begin_layout Standard
27318
27319 }
27320 \end_layout
27321
27322 \end_inset
27323
27324 .
27325 \begin_inset Note Note
27326 status collapsed
27327
27328 \begin_layout Standard
27329 The command 
27330 \series bold
27331
27332 \backslash
27333 linebreak
27334 \series default
27335  breaks the line while the remaining text in the line is stretched to the
27336  page margin.
27337 \end_layout
27338
27339 \end_inset
27340
27341
27342 \end_layout
27343
27344 \begin_layout Description
27345 RasterImage This can be used for bitmap images.
27346  Nearly all popular image formats are supported.
27347  The image can be treated in the 
27348 \family sans
27349 External material
27350 \family default
27351  dialog like the images that are usually included via the 
27352 \family sans
27353 Graphics
27354 \family default
27355  dialog as described in section\InsetSpace ~
27356
27357 \begin_inset LatexCommand ref
27358 reference "sec:Graphics-Dialog"
27359
27360 \end_inset
27361
27362 .
27363  The difference is that only raster images are allowed, that means that
27364  PDF and EPS-images are not supported.
27365 \end_layout
27366
27367 \begin_layout Description
27368 XFig This template supports images created with the program 
27369 \begin_inset ERT
27370 status collapsed
27371
27372 \begin_layout Standard
27373
27374
27375 \backslash
27376 href{http://en.wikipedia.org/wiki/Xfig}{
27377 \end_layout
27378
27379 \end_inset
27380
27381
27382 \series bold
27383 Xfig
27384 \series default
27385
27386 \begin_inset ERT
27387 status collapsed
27388
27389 \begin_layout Standard
27390
27391 }
27392 \end_layout
27393
27394 \end_inset
27395
27396 .
27397 \end_layout
27398
27399 \begin_layout Standard
27400 \begin_inset Float table
27401 placement h
27402 wide false
27403 sideways false
27404 status open
27405
27406 \begin_layout Standard
27407 \begin_inset Caption
27408
27409 \begin_layout Standard
27410 \begin_inset LatexCommand label
27411 name "tab:Comparison-of-the"
27412
27413 \end_inset
27414
27415 Comparison of the date input methods.
27416 \end_layout
27417
27418 \end_inset
27419
27420
27421 \end_layout
27422
27423 \begin_layout Standard
27424 \align center
27425 \begin_inset Tabular
27426 <lyxtabular version="3" rows="4" columns="4">
27427 <features>
27428 <column alignment="center" valignment="top" leftline="true" width="0">
27429 <column alignment="center" valignment="top" leftline="true" width="0">
27430 <column alignment="center" valignment="top" leftline="true" width="0">
27431 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
27432 <row topline="true">
27433 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27434 \begin_inset Text
27435
27436 \begin_layout Standard
27437 Document format
27438 \end_layout
27439
27440 \end_inset
27441 </cell>
27442 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27443 \begin_inset Text
27444
27445 \begin_layout Standard
27446
27447 \family sans
27448 External Material\SpecialChar \menuseparator
27449 Date
27450 \end_layout
27451
27452 \end_inset
27453 </cell>
27454 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27455 \begin_inset Text
27456
27457 \begin_layout Standard
27458
27459 \family sans
27460 Insert\SpecialChar \menuseparator
27461 Date
27462 \end_layout
27463
27464 \end_inset
27465 </cell>
27466 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27467 \begin_inset Text
27468
27469 \begin_layout Standard
27470 command 
27471 \series bold
27472
27473 \backslash
27474 today
27475 \end_layout
27476
27477 \end_inset
27478 </cell>
27479 </row>
27480 <row topline="true">
27481 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27482 \begin_inset Text
27483
27484 \begin_layout Standard
27485 LyX
27486 \end_layout
27487
27488 \end_inset
27489 </cell>
27490 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27491 \begin_inset Text
27492
27493 \begin_layout Standard
27494 as inset box
27495 \end_layout
27496
27497 \end_inset
27498 </cell>
27499 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27500 \begin_inset Text
27501
27502 \begin_layout Standard
27503 as date
27504 \end_layout
27505
27506 \end_inset
27507 </cell>
27508 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27509 \begin_inset Text
27510
27511 \begin_layout Standard
27512 as ERT inset box
27513 \end_layout
27514
27515 \end_inset
27516 </cell>
27517 </row>
27518 <row topline="true">
27519 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27520 \begin_inset Text
27521
27522 \begin_layout Standard
27523 LaTeX
27524 \end_layout
27525
27526 \end_inset
27527 </cell>
27528 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27529 \begin_inset Text
27530
27531 \begin_layout Standard
27532 as date
27533 \end_layout
27534
27535 \end_inset
27536 </cell>
27537 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27538 \begin_inset Text
27539
27540 \begin_layout Standard
27541 as date
27542 \end_layout
27543
27544 \end_inset
27545 </cell>
27546 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27547 \begin_inset Text
27548
27549 \begin_layout Standard
27550 as command
27551 \end_layout
27552
27553 \end_inset
27554 </cell>
27555 </row>
27556 <row topline="true" bottomline="true">
27557 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27558 \begin_inset Text
27559
27560 \begin_layout Standard
27561 DVI, PDF, PS
27562 \end_layout
27563
27564 \end_inset
27565 </cell>
27566 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27567 \begin_inset Text
27568
27569 \begin_layout Standard
27570 as date
27571 \end_layout
27572
27573 \end_inset
27574 </cell>
27575 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27576 \begin_inset Text
27577
27578 \begin_layout Standard
27579 as date
27580 \end_layout
27581
27582 \end_inset
27583 </cell>
27584 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27585 \begin_inset Text
27586
27587 \begin_layout Standard
27588 as date
27589 \end_layout
27590
27591 \end_inset
27592 </cell>
27593 </row>
27594 </lyxtabular>
27595
27596 \end_inset
27597
27598
27599 \end_layout
27600
27601 \end_inset
27602
27603
27604 \end_layout
27605
27606 \begin_layout Standard
27607 When you use the option 
27608 \family sans
27609 Draft
27610 \family default
27611  in the 
27612 \family sans
27613 File
27614 \family default
27615  tab of the 
27616 \family sans
27617 External Material
27618 \family default
27619  dialog, only the path to the inserted file is shown in the output.
27620 \newline
27621 External
27622  material is displayed in LyX either as box like this: 
27623 \begin_inset Graphics
27624         filename clipart/ExternalMaterialQt4.png
27625         scale 85
27626         scaleBeforeRotation
27627
27628 \end_inset
27629
27630  or as image, depending on the setting in the 
27631 \family sans
27632 LyX\InsetSpace ~
27633 View
27634 \family default
27635  tab of the 
27636 \family sans
27637 External Material
27638 \family default
27639  dialog.
27640 \end_layout
27641
27642 \begin_layout Standard
27643 The 
27644 \family sans
27645 \emph on
27646 Customization
27647 \family default
27648 \emph default
27649  manual explains how you can define your own templates.
27650 \end_layout
27651
27652 \begin_layout Section
27653 Child Documents
27654 \begin_inset LatexCommand label
27655 name "sec:Child-Documents"
27656
27657 \end_inset
27658
27659
27660 \begin_inset LatexCommand index
27661 name "External Stuff ! Child Documents"
27662
27663 \end_inset
27664
27665
27666 \begin_inset LatexCommand index
27667 name "Files ! Include"
27668
27669 \end_inset
27670
27671
27672 \end_layout
27673
27674 \begin_layout Standard
27675 Child documents are used when you have a long document consisting of several
27676  larger parts or sections.
27677  For maintenance it is often useful and sometimes even required to split
27678  the document in several files that can be revised separately.
27679  The different documents are then the so called child documents and a master
27680  document connects them to print the full document or parts of it.
27681 \end_layout
27682
27683 \begin_layout Standard
27684 Included documents are displayed in LyX as a box like this: 
27685 \begin_inset Graphics
27686         filename clipart/ChildDocumentQt4.png
27687         scale 85
27688         scaleBeforeRotation
27689
27690 \end_inset
27691
27692  To include child documents to a master document use the menu 
27693 \family sans
27694 Insert\SpecialChar \menuseparator
27695 File\SpecialChar \menuseparator
27696 Child\InsetSpace ~
27697 Documents
27698 \family default
27699 .
27700  A dialog pops up where you can choose between four include methods:
27701 \end_layout
27702
27703 \begin_layout Description
27704 Include You can include LyX and LaTeX-documents.
27705  When you press the 
27706 \family sans
27707 Load
27708 \family default
27709  button in the 
27710 \family sans
27711 Child Document
27712 \family default
27713  dialog, the included documents will be opened in LyX in a new file tab
27714  so that you can modify it.
27715 \newline
27716
27717 \end_layout
27718
27719 \begin_layout Standard
27720 Here is a child document inserted using 
27721 \family sans
27722 Include
27723 \family default
27724
27725 \begin_inset Include \include{DummyDocument1.lyx}
27726 preview false
27727
27728 \end_inset
27729
27730
27731 \end_layout
27732
27733 \begin_layout Standard
27734 The section numbering includes the sections of the included files in the
27735  order they are inserted in the master document.
27736  The included example document has for example a subsection that is numbered
27737  as subsection of this section.
27738  Labels of included documents can be referenced: Subsection\InsetSpace ~
27739
27740 \begin_inset LatexCommand ref
27741 reference "sub:External-Subsection-1"
27742
27743 \end_inset
27744
27745
27746 \end_layout
27747
27748 \begin_layout Standard
27749 The preamble of the child document is ignored, only the preamble of the
27750  master document is used.
27751  Included documents are inserted starting on a new page and end with a pagebreak.
27752 \end_layout
27753
27754 \begin_layout Standard
27755 With the LaTeX-command 
27756 \series bold
27757
27758 \backslash
27759 includeonly 
27760 \series default
27761 you can specify which included child documents are processed when the output
27762  is generated.
27763  This is useful when you are perhaps only working on a certain chapter of
27764  your large document as this saves compiling time.
27765  
27766 \series bold
27767
27768 \backslash
27769 includeonly
27770 \series default
27771  is inserted to the master document preamble.
27772  It takes a comma-separated list of the filenames as argument, e.g.
27773 \end_layout
27774
27775 \begin_layout Standard
27776
27777 \series bold
27778
27779 \backslash
27780 includeonly{chapter1,chapter5}
27781 \end_layout
27782
27783 \begin_layout Standard
27784 will only process the included files named 
27785 \begin_inset Quotes eld
27786 \end_inset
27787
27788 chapter1.lyx
27789 \begin_inset Quotes erd
27790 \end_inset
27791
27792  (or 
27793 \begin_inset Quotes eld
27794 \end_inset
27795
27796 chapter1.tex
27797 \begin_inset Quotes erd
27798 \end_inset
27799
27800 ) and 
27801 \begin_inset Quotes eld
27802 \end_inset
27803
27804 chapter5.lyx
27805 \begin_inset Quotes erd
27806 \end_inset
27807
27808  .
27809 \end_layout
27810
27811 \begin_layout Standard
27812 \begin_inset Note Greyedout
27813 status open
27814
27815 \begin_layout Standard
27816
27817 \series bold
27818 Note:
27819 \series default
27820  When you have included a LyX- or LaTeX-file, you are warned when you export/vie
27821 w the document in case that the child document uses another document class
27822  than the master document as this will lead to unexpected outputs.
27823 \end_layout
27824
27825 \end_inset
27826
27827
27828 \end_layout
27829
27830 \begin_layout Description
27831 Input This method is very similar to the Include method.
27832  The differences are:
27833 \end_layout
27834
27835 \begin_deeper
27836 \begin_layout Itemize
27837 Input files don't start with a new page and don't end with a pagebreak.
27838 \end_layout
27839
27840 \begin_layout Itemize
27841 Input files can be previewed in LyX when 
27842 \family sans
27843 Instant\InsetSpace ~
27844 Preview
27845 \family default
27846  is enabled in LyX's preferences under 
27847 \family sans
27848 Look\InsetSpace ~
27849 and\InsetSpace ~
27850 feel\SpecialChar \menuseparator
27851 Graphics
27852 \family default
27853 .
27854 \end_layout
27855
27856 \begin_layout Itemize
27857 The LaTeX-command 
27858 \series bold
27859
27860 \backslash
27861 includeonly
27862 \series default
27863  cannot be used.
27864 \end_layout
27865
27866 \end_deeper
27867 \begin_layout Standard
27868 Here is a child document inserted using 
27869 \family sans
27870 Input
27871 \family default
27872
27873 \begin_inset Include \input{DummyDocument2.lyx}
27874 preview false
27875
27876 \end_inset
27877
27878
27879 \end_layout
27880
27881 \begin_layout Description
27882 Verbatim With this method every text file can be included.
27883  The file is shown in the output with its source code, no command used in
27884  the text is invoked.
27885  You can use the option 
27886 \family sans
27887 Mark spaces in output
27888 \family default
27889  that displays the character 
27890 \begin_inset Quotes eld
27891 \end_inset
27892
27893
27894 \begin_inset ERT
27895 status collapsed
27896
27897 \begin_layout Standard
27898
27899
27900 \backslash
27901 textvisiblespace 
27902 \end_layout
27903
27904 \end_inset
27905
27906
27907 \begin_inset Quotes erd
27908 \end_inset
27909
27910  for every space character in the source code.
27911  The difference to the method via the menu 
27912 \family sans
27913 Insert\SpecialChar \menuseparator
27914 File\SpecialChar \menuseparator
27915 Plain\InsetSpace ~
27916 Text
27917 \family default
27918  is that the document content is not shown in LyX.
27919 \end_layout
27920
27921 \begin_layout Standard
27922 Here is a child document inserted as Verbatim: 
27923 \begin_inset Include \verbatiminput{DummyTextDocument.txt}
27924 preview false
27925
27926 \end_inset
27927
27928
27929 \begin_inset VSpace bigskip
27930 \end_inset
27931
27932 Here is a child document inserted as Verbatim using the 
27933 \family sans
27934 Mark spaces in output
27935 \family default
27936  option: 
27937 \begin_inset Include \verbatiminput*{DummyTextDocument.txt}
27938 preview false
27939
27940 \end_inset
27941
27942
27943 \end_layout
27944
27945 \begin_layout Standard
27946 \begin_inset VSpace bigskip
27947 \end_inset
27948
27949
27950 \end_layout
27951
27952 \begin_layout Standard
27953 \begin_inset Note Greyedout
27954 status open
27955
27956 \begin_layout Standard
27957
27958 \series bold
27959 Note:
27960 \series default
27961  As you can see in the examples above, the text of the documents included
27962  as 
27963 \family sans
27964 verbatim
27965 \family default
27966  is not broken at the end of the document lines.
27967 \end_layout
27968
27969 \end_inset
27970
27971
27972 \end_layout
27973
27974 \begin_layout Description
27975 Listings This type is described in chapter\InsetSpace ~
27976
27977 \begin_inset LatexCommand ref
27978 reference "cha:Program-Code-Listings"
27979
27980 \end_inset
27981
27982 .
27983 \end_layout
27984
27985 \begin_layout Standard
27986 \begin_inset Note Greyedout
27987 status open
27988
27989 \begin_layout Standard
27990
27991 \series bold
27992 Note:
27993 \series default
27994  Including the same document twice in a document using different methods
27995  could cause LaTeX-problems.
27996 \end_layout
27997
27998 \end_inset
27999
28000
28001 \end_layout
28002
28003 \begin_layout Chapter
28004 Program Code Listings
28005 \begin_inset LatexCommand label
28006 name "cha:Program-Code-Listings"
28007
28008 \end_inset
28009
28010
28011 \begin_inset LatexCommand index
28012 name "Listings"
28013
28014 \end_inset
28015
28016
28017 \begin_inset LatexCommand index
28018 name "Program Code"
28019
28020 \end_inset
28021
28022
28023 \begin_inset LatexCommand index
28024 name "Floats ! Listings"
28025
28026 \end_inset
28027
28028
28029 \end_layout
28030
28031 \begin_layout Standard
28032 To include and typeset program code you can use the 
28033 \family sans
28034 Listings
28035 \family default
28036  inset that can be inserted via the menu 
28037 \family sans
28038 Insert\SpecialChar \menuseparator
28039 Program Listing
28040 \family default
28041 .
28042  The LaTeX-package 
28043 \series bold
28044 listings
28045 \series default
28046
28047 \begin_inset LatexCommand index
28048 name "LaTeX-packages ! listings"
28049
28050 \end_inset
28051
28052  provides a powerful and flexible way to insert program source code to your
28053  document.
28054 \end_layout
28055
28056 \begin_layout Standard
28057 When right-clicking on a listings inset a dialog pops up where you can set
28058  the listings format.
28059 \end_layout
28060
28061 \begin_layout Standard
28062 By default, a listing starts a new paragraph in the output.
28063  The placement option 
28064 \family sans
28065 Inline\InsetSpace ~
28066 listing
28067 \family default
28068  prints the listing inline like this: 
28069 \begin_inset listings
28070 lstparams "language={C++}"
28071 inline true
28072 status open
28073
28074 \begin_layout Standard
28075
28076 int a=5;
28077 \end_layout
28078
28079 \end_inset
28080
28081
28082 \newline
28083 The option 
28084 \family sans
28085 Float
28086 \family default
28087  creates a listings float where you can specify the placement options 
28088 \begin_inset Quotes eld
28089 \end_inset
28090
28091
28092 \family sans
28093 h
28094 \family default
28095
28096 \begin_inset Quotes erd
28097 \end_inset
28098
28099
28100 \begin_inset Quotes eld
28101 \end_inset
28102
28103
28104 \family sans
28105 t
28106 \family default
28107
28108 \begin_inset Quotes erd
28109 \end_inset
28110
28111
28112 \begin_inset Quotes eld
28113 \end_inset
28114
28115
28116 \family sans
28117 b
28118 \family default
28119
28120 \begin_inset Quotes erd
28121 \end_inset
28122
28123 , and 
28124 \begin_inset Quotes eld
28125 \end_inset
28126
28127
28128 \family sans
28129 p
28130 \family default
28131
28132 \begin_inset Quotes erd
28133 \end_inset
28134
28135  corresponding to the float placement options described in section\InsetSpace ~
28136
28137 \begin_inset LatexCommand ref
28138 reference "sec:Float-Placement"
28139
28140 \end_inset
28141
28142 .
28143  The placement options can be mixed and are inserted without any separation,
28144  e.\InsetSpace \thinspace{}
28145 g.\InsetSpace ~
28146
28147 \begin_inset Quotes eld
28148 \end_inset
28149
28150
28151 \family sans
28152 htbp
28153 \family default
28154
28155 \begin_inset Quotes erd
28156 \end_inset
28157
28158 .
28159  The option 
28160 \begin_inset Quotes eld
28161 \end_inset
28162
28163 h
28164 \begin_inset Quotes erd
28165 \end_inset
28166
28167  has sometimes no effect, but you don't need to use the 
28168 \family sans
28169 Float
28170 \family default
28171  option in this case as also non-float listings can have captions and be
28172  referenced.
28173 \end_layout
28174
28175 \begin_layout Standard
28176 You can add captions to listings with the menu 
28177 \family sans
28178 Insert\SpecialChar \menuseparator
28179 Caption
28180 \family default
28181 .
28182  Listings can be referenced like floats: Listing\InsetSpace ~
28183
28184 \begin_inset LatexCommand ref
28185 reference "lst:Example-Listing"
28186
28187 \end_inset
28188
28189
28190 \end_layout
28191
28192 \begin_layout Standard
28193 \begin_inset listings
28194 lstparams "language=Python"
28195 inline false
28196 status open
28197
28198 \begin_layout Standard
28199
28200 \begin_inset Caption
28201
28202 \begin_layout Standard
28203 \begin_inset LatexCommand label
28204 name "lst:Example-Listing"
28205
28206 \end_inset
28207
28208 Example Listing float
28209 \end_layout
28210
28211 \end_inset
28212
28213 # Example listing float
28214 \end_layout
28215
28216 \begin_layout Standard
28217
28218 def func(param):
28219 \end_layout
28220
28221 \begin_layout Standard
28222
28223     'this is a python function'
28224 \end_layout
28225
28226 \begin_layout Standard
28227
28228     pass
28229 \end_layout
28230
28231 \end_inset
28232
28233
28234 \end_layout
28235
28236 \begin_layout Standard
28237 When you have set a programming language in the listings dialog, the keywords
28238  of this language will be recognized and specially typeset in the output.
28239  In the example listings the Python keyword 
28240 \begin_inset Quotes eld
28241 \end_inset
28242
28243 def
28244 \begin_inset Quotes erd
28245 \end_inset
28246
28247  is recognized and printed bold in the output.
28248 \end_layout
28249
28250 \begin_layout Standard
28251 \begin_inset Note Greyedout
28252 status open
28253
28254 \begin_layout Standard
28255
28256 \series bold
28257 Note:
28258 \series default
28259  If you don't get bold keywords when using typewriter fonts, your typewriter
28260  font probably doesn't provide a bold shape.
28261  In this case select a different one in the menu 
28262 \family sans
28263 Document\SpecialChar \menuseparator
28264 Settings\SpecialChar \menuseparator
28265 Fonts
28266 \family default
28267 .
28268  (The fonts 
28269 \emph on
28270 LuxiMono, BeraMono
28271 \emph default
28272  and 
28273 \emph on
28274 Courier
28275 \emph default
28276  provide bold shapes.)
28277 \end_layout
28278
28279 \end_inset
28280
28281
28282 \end_layout
28283
28284 \begin_layout Standard
28285 In section 
28286 \family sans
28287 Line\InsetSpace ~
28288 numbering
28289 \family default
28290  of the listings dialog you can specify the line numbering style.
28291  You can insert a number to specify which lines are numbered to the field
28292  
28293 \family sans
28294 Step
28295 \family default
28296 .
28297  When you insert e.g.
28298  
28299 \begin_inset Quotes eld
28300 \end_inset
28301
28302 3
28303 \begin_inset Quotes erd
28304 \end_inset
28305
28306 , only every 3rd line will be numbered.
28307 \end_layout
28308
28309 \begin_layout Standard
28310 You can furthermore specify a range of lines, only these will then appear
28311  in the output.
28312  The option 
28313 \family sans
28314 Extended\InsetSpace ~
28315 chars
28316 \family default
28317  should be used when you use national characters like the German umlauts
28318  in the listing.
28319 \newline
28320 Here is an example listing with left line numbering, step
28321  
28322 \begin_inset Quotes eld
28323 \end_inset
28324
28325 3
28326 \begin_inset Quotes erd
28327 \end_inset
28328
28329 , language 
28330 \begin_inset Quotes eld
28331 \end_inset
28332
28333 Python
28334 \begin_inset Quotes erd
28335 \end_inset
28336
28337 , options 
28338 \begin_inset Quotes eld
28339 \end_inset
28340
28341 Extended\InsetSpace ~
28342 chars
28343 \begin_inset Quotes erd
28344 \end_inset
28345
28346  and 
28347 \begin_inset Quotes eld
28348 \end_inset
28349
28350 Space\InsetSpace ~
28351 as\InsetSpace ~
28352 Symbol
28353 \begin_inset Quotes erd
28354 \end_inset
28355
28356 , range lines 3\InsetSpace \thinspace{}
28357 -\InsetSpace \thinspace{}
28358 8:
28359 \end_layout
28360
28361 \begin_layout Standard
28362 \begin_inset listings
28363 lstparams "extendedchars=true,firstline=3,language=Python,lastline=8,numbers=left,showspaces=true,stepnumber=3"
28364 inline false
28365 status open
28366
28367 \begin_layout Standard
28368
28369 def func(param):
28370 \end_layout
28371
28372 \begin_layout Standard
28373
28374     'this is a python function'
28375 \end_layout
28376
28377 \begin_layout Standard
28378
28379     pass
28380 \end_layout
28381
28382 \begin_layout Standard
28383
28384 def func(param):
28385 \end_layout
28386
28387 \begin_layout Standard
28388
28389 'This is a German word: Tschüß'
28390 \end_layout
28391
28392 \begin_layout Standard
28393
28394 pass
28395 \end_layout
28396
28397 \begin_layout Standard
28398
28399 def func(param):
28400 \end_layout
28401
28402 \begin_layout Standard
28403
28404 'this is a python function'
28405 \end_layout
28406
28407 \begin_layout Standard
28408
28409 pass
28410 \end_layout
28411
28412 \end_inset
28413
28414
28415 \end_layout
28416
28417 \begin_layout Standard
28418 \begin_inset Note Greyedout
28419 status open
28420
28421 \begin_layout Standard
28422
28423 \series bold
28424 Note:
28425 \series default
28426  Due to a bug in the 
28427 \series bold
28428 listings
28429 \series default
28430  package the line numbering is shifted by a line by every previous listing.
28431  That's the reason why the lines 2 and 5 are numbered in the above listing
28432  and not the lines 3 and 6.
28433 \end_layout
28434
28435 \end_inset
28436
28437
28438 \end_layout
28439
28440 \begin_layout Standard
28441 \begin_inset VSpace bigskip
28442 \end_inset
28443
28444
28445 \end_layout
28446
28447 \begin_layout Standard
28448 It is also possible to print lines from a file as listing.
28449  To do this, use the menu 
28450 \family sans
28451 Insert\SpecialChar \menuseparator
28452 File\SpecialChar \menuseparator
28453 Child Document
28454 \family default
28455  and choose the type 
28456 \family sans
28457 Listings
28458 \family default
28459 .
28460 \begin_inset Foot
28461 status collapsed
28462
28463 \begin_layout Standard
28464 The other child document types are described in section\InsetSpace ~
28465
28466 \begin_inset LatexCommand ref
28467 reference "sec:Child-Documents"
28468
28469 \end_inset
28470
28471 .
28472 \end_layout
28473
28474 \end_inset
28475
28476  In the child document dialog you can specify the listing parameters in
28477  a text box.
28478  To show a list of all available parameters, type in a question mark 
28479 \begin_inset Quotes eld
28480 \end_inset
28481
28482 ?
28483 \begin_inset Quotes erd
28484 \end_inset
28485
28486  in the text box.
28487 \end_layout
28488
28489 \begin_layout Standard
28490 To reference child document listings, write a label text into the corresponding
28491  field of the child document dialog.
28492  The label can then be referenced using the menu 
28493 \family sans
28494 Insert\SpecialChar \menuseparator
28495 Cross-Reference
28496 \family default
28497 .
28498 \end_layout
28499
28500 \begin_layout Standard
28501 Listing\InsetSpace ~
28502
28503 \begin_inset LatexCommand ref
28504 reference "lst:file-listing"
28505
28506 \end_inset
28507
28508  is an example for a listing of a file; there the lines 10\InsetSpace \thinspace{}
28509 -\InsetSpace \thinspace{}
28510 15 of this LyX
28511  file are listed.
28512 \end_layout
28513
28514 \begin_layout Standard
28515 \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]
28516 preview false
28517
28518 \end_inset
28519
28520
28521 \end_layout
28522
28523 \begin_layout Standard
28524 \begin_inset VSpace bigskip
28525 \end_inset
28526
28527
28528 \end_layout
28529
28530 \begin_layout Standard
28531 Global listings settings can be set in the 
28532 \family sans
28533 Document\SpecialChar \menuseparator
28534 Settings\SpecialChar \menuseparator
28535 Text Layout
28536 \family default
28537  dialog.
28538  To get there a list of available options, type in a question mark 
28539 \begin_inset Quotes eld
28540 \end_inset
28541
28542 ?
28543 \begin_inset Quotes erd
28544 \end_inset
28545
28546  in the 
28547 \family sans
28548 Listings\InsetSpace ~
28549 settings
28550 \family default
28551  field.
28552 \end_layout
28553
28554 \begin_layout Standard
28555 For more information about the 
28556 \series bold
28557 listings
28558 \series default
28559  package, we refer to its documentation 
28560 \begin_inset LatexCommand cite
28561 key "listings"
28562
28563 \end_inset
28564
28565 .
28566 \end_layout
28567
28568 \begin_layout Standard
28569
28570 \newpage
28571
28572 \end_layout
28573
28574 \begin_layout Chapter
28575 \start_of_appendix
28576 Units available in 
28577 \begin_inset ERT
28578 status collapsed
28579
28580 \begin_layout Standard
28581
28582
28583 \backslash
28584 texorpdfstring{
28585 \end_layout
28586
28587 \end_inset
28588
28589 LyX
28590 \begin_inset ERT
28591 status collapsed
28592
28593 \begin_layout Standard
28594
28595 }{LyX}
28596 \end_layout
28597
28598 \end_inset
28599
28600
28601 \begin_inset LatexCommand index
28602 name "Units"
28603
28604 \end_inset
28605
28606
28607 \begin_inset LatexCommand label
28608 name "cha:Units-available-in"
28609
28610 \end_inset
28611
28612
28613 \begin_inset Note Note
28614 status collapsed
28615
28616 \begin_layout Standard
28617 The command 
28618 \backslash
28619 texorpdfstring is provided by the LaTeX-package hyperref to avoid that ligatures
28620  are displayed wrongly in PDF-bookmarks.
28621  For more information about this, have a look at 
28622 \begin_inset LatexCommand cite
28623 key "hyperref"
28624
28625 \end_inset
28626
28627 .
28628 \end_layout
28629
28630 \end_inset
28631
28632
28633 \end_layout
28634
28635 \begin_layout Standard
28636 To understand the units described in this documentation, Table\InsetSpace ~
28637
28638 \begin_inset LatexCommand ref
28639 reference "tab:Units"
28640
28641 \end_inset
28642
28643  explains all units available in LyX.
28644 \end_layout
28645
28646 \begin_layout Standard
28647 \begin_inset Float table
28648 placement h
28649 wide false
28650 sideways false
28651 status open
28652
28653 \begin_layout Standard
28654 \begin_inset Caption
28655
28656 \begin_layout Standard
28657 \begin_inset LatexCommand label
28658 name "tab:Units"
28659
28660 \end_inset
28661
28662 Units
28663 \end_layout
28664
28665 \end_inset
28666
28667
28668 \end_layout
28669
28670 \begin_layout Standard
28671 \begin_inset VSpace medskip
28672 \end_inset
28673
28674
28675 \end_layout
28676
28677 \begin_layout Standard
28678 \align center
28679 \begin_inset Tabular
28680 <lyxtabular version="3" rows="20" columns="2">
28681 <features>
28682 <column alignment="center" valignment="top" leftline="true" width="0">
28683 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
28684 <row topline="true" bottomline="true">
28685 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28686 \begin_inset Text
28687
28688 \begin_layout Standard
28689 unit
28690 \end_layout
28691
28692 \end_inset
28693 </cell>
28694 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28695 \begin_inset Text
28696
28697 \begin_layout Standard
28698 name/description
28699 \end_layout
28700
28701 \end_inset
28702 </cell>
28703 </row>
28704 <row topline="true">
28705 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28706 \begin_inset Text
28707
28708 \begin_layout Standard
28709 mm
28710 \end_layout
28711
28712 \end_inset
28713 </cell>
28714 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28715 \begin_inset Text
28716
28717 \begin_layout Standard
28718 millimeter
28719 \end_layout
28720
28721 \end_inset
28722 </cell>
28723 </row>
28724 <row topline="true">
28725 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28726 \begin_inset Text
28727
28728 \begin_layout Standard
28729 cm
28730 \end_layout
28731
28732 \end_inset
28733 </cell>
28734 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28735 \begin_inset Text
28736
28737 \begin_layout Standard
28738 centimeter
28739 \end_layout
28740
28741 \end_inset
28742 </cell>
28743 </row>
28744 <row topline="true">
28745 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28746 \begin_inset Text
28747
28748 \begin_layout Standard
28749 in
28750 \end_layout
28751
28752 \end_inset
28753 </cell>
28754 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28755 \begin_inset Text
28756
28757 \begin_layout Standard
28758 inch
28759 \end_layout
28760
28761 \end_inset
28762 </cell>
28763 </row>
28764 <row topline="true">
28765 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28766 \begin_inset Text
28767
28768 \begin_layout Standard
28769 pt
28770 \end_layout
28771
28772 \end_inset
28773 </cell>
28774 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28775 \begin_inset Text
28776
28777 \begin_layout Standard
28778 point (72.27\InsetSpace \thinspace{}
28779 pt = 1\InsetSpace \thinspace{}
28780 in)
28781 \end_layout
28782
28783 \end_inset
28784 </cell>
28785 </row>
28786 <row topline="true">
28787 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28788 \begin_inset Text
28789
28790 \begin_layout Standard
28791 pc
28792 \end_layout
28793
28794 \end_inset
28795 </cell>
28796 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28797 \begin_inset Text
28798
28799 \begin_layout Standard
28800 pica (1\InsetSpace \thinspace{}
28801 pc = 12\InsetSpace \thinspace{}
28802 pt)
28803 \end_layout
28804
28805 \end_inset
28806 </cell>
28807 </row>
28808 <row topline="true">
28809 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28810 \begin_inset Text
28811
28812 \begin_layout Standard
28813 sp
28814 \end_layout
28815
28816 \end_inset
28817 </cell>
28818 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28819 \begin_inset Text
28820
28821 \begin_layout Standard
28822 scaled point (65536\InsetSpace \thinspace{}
28823 sp = 1\InsetSpace \thinspace{}
28824 pt)
28825 \end_layout
28826
28827 \end_inset
28828 </cell>
28829 </row>
28830 <row topline="true">
28831 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28832 \begin_inset Text
28833
28834 \begin_layout Standard
28835 bp
28836 \end_layout
28837
28838 \end_inset
28839 </cell>
28840 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28841 \begin_inset Text
28842
28843 \begin_layout Standard
28844 big point (72\InsetSpace \thinspace{}
28845 bp = 1\InsetSpace \thinspace{}
28846 in)
28847 \end_layout
28848
28849 \end_inset
28850 </cell>
28851 </row>
28852 <row topline="true">
28853 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28854 \begin_inset Text
28855
28856 \begin_layout Standard
28857 dd
28858 \end_layout
28859
28860 \end_inset
28861 </cell>
28862 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28863 \begin_inset Text
28864
28865 \begin_layout Standard
28866 didot (1\InsetSpace \thinspace{}
28867 dd 
28868 \begin_inset Formula $\approx$
28869 \end_inset
28870
28871  0.376\InsetSpace \thinspace{}
28872 mm)
28873 \end_layout
28874
28875 \end_inset
28876 </cell>
28877 </row>
28878 <row topline="true">
28879 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28880 \begin_inset Text
28881
28882 \begin_layout Standard
28883 cc
28884 \end_layout
28885
28886 \end_inset
28887 </cell>
28888 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28889 \begin_inset Text
28890
28891 \begin_layout Standard
28892 cicero (1\InsetSpace \thinspace{}
28893 cc = 12\InsetSpace \thinspace{}
28894 dd)
28895 \end_layout
28896
28897 \end_inset
28898 </cell>
28899 </row>
28900 <row topline="true">
28901 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28902 \begin_inset Text
28903
28904 \begin_layout Standard
28905 Scale%
28906 \end_layout
28907
28908 \end_inset
28909 </cell>
28910 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28911 \begin_inset Text
28912
28913 \begin_layout Standard
28914 % of original image width
28915 \end_layout
28916
28917 \end_inset
28918 </cell>
28919 </row>
28920 <row topline="true">
28921 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28922 \begin_inset Text
28923
28924 \begin_layout Standard
28925 text%
28926 \end_layout
28927
28928 \end_inset
28929 </cell>
28930 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28931 \begin_inset Text
28932
28933 \begin_layout Standard
28934 % of text width
28935 \end_layout
28936
28937 \end_inset
28938 </cell>
28939 </row>
28940 <row topline="true">
28941 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28942 \begin_inset Text
28943
28944 \begin_layout Standard
28945 col%
28946 \end_layout
28947
28948 \end_inset
28949 </cell>
28950 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28951 \begin_inset Text
28952
28953 \begin_layout Standard
28954 % of column width
28955 \end_layout
28956
28957 \end_inset
28958 </cell>
28959 </row>
28960 <row topline="true">
28961 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28962 \begin_inset Text
28963
28964 \begin_layout Standard
28965 page%
28966 \end_layout
28967
28968 \end_inset
28969 </cell>
28970 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28971 \begin_inset Text
28972
28973 \begin_layout Standard
28974 % of paper width
28975 \end_layout
28976
28977 \end_inset
28978 </cell>
28979 </row>
28980 <row topline="true">
28981 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28982 \begin_inset Text
28983
28984 \begin_layout Standard
28985 line%
28986 \end_layout
28987
28988 \end_inset
28989 </cell>
28990 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28991 \begin_inset Text
28992
28993 \begin_layout Standard
28994 % of line width
28995 \end_layout
28996
28997 \end_inset
28998 </cell>
28999 </row>
29000 <row topline="true">
29001 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29002 \begin_inset Text
29003
29004 \begin_layout Standard
29005 theight%
29006 \end_layout
29007
29008 \end_inset
29009 </cell>
29010 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29011 \begin_inset Text
29012
29013 \begin_layout Standard
29014 % of text height
29015 \end_layout
29016
29017 \end_inset
29018 </cell>
29019 </row>
29020 <row topline="true">
29021 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29022 \begin_inset Text
29023
29024 \begin_layout Standard
29025 pheight%
29026 \end_layout
29027
29028 \end_inset
29029 </cell>
29030 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29031 \begin_inset Text
29032
29033 \begin_layout Standard
29034 % of paper height
29035 \end_layout
29036
29037 \end_inset
29038 </cell>
29039 </row>
29040 <row topline="true">
29041 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29042 \begin_inset Text
29043
29044 \begin_layout Standard
29045 ex
29046 \end_layout
29047
29048 \end_inset
29049 </cell>
29050 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29051 \begin_inset Text
29052
29053 \begin_layout Standard
29054 height of letter 
29055 \emph on
29056 x
29057 \emph default
29058  in current font
29059 \end_layout
29060
29061 \end_inset
29062 </cell>
29063 </row>
29064 <row topline="true">
29065 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29066 \begin_inset Text
29067
29068 \begin_layout Standard
29069 em
29070 \end_layout
29071
29072 \end_inset
29073 </cell>
29074 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29075 \begin_inset Text
29076
29077 \begin_layout Standard
29078 width of letter 
29079 \emph on
29080 M
29081 \emph default
29082  in current font
29083 \end_layout
29084
29085 \end_inset
29086 </cell>
29087 </row>
29088 <row topline="true" bottomline="true">
29089 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29090 \begin_inset Text
29091
29092 \begin_layout Standard
29093 mu
29094 \end_layout
29095
29096 \end_inset
29097 </cell>
29098 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29099 \begin_inset Text
29100
29101 \begin_layout Standard
29102 math unit (1\InsetSpace \thinspace{}
29103 mu = 1/18\InsetSpace \thinspace{}
29104 em)
29105 \end_layout
29106
29107 \end_inset
29108 </cell>
29109 </row>
29110 </lyxtabular>
29111
29112 \end_inset
29113
29114
29115 \end_layout
29116
29117 \end_inset
29118
29119
29120 \end_layout
29121
29122 \begin_layout Chapter
29123 Output File Formats with Graphics
29124 \begin_inset LatexCommand label
29125 name "cha:Output-File-Formats"
29126
29127 \end_inset
29128
29129
29130 \end_layout
29131
29132 \begin_layout Section
29133 DVI
29134 \begin_inset LatexCommand index
29135 name "File Formats ! DVI"
29136
29137 \end_inset
29138
29139
29140 \begin_inset LatexCommand index
29141 name "DVI|see{File Formats}"
29142
29143 \end_inset
29144
29145
29146 \end_layout
29147
29148 \begin_layout Standard
29149 This file type has the extension 
29150 \begin_inset Quotes eld
29151 \end_inset
29152
29153
29154 \family typewriter
29155 .dvi
29156 \family default
29157
29158 \begin_inset Quotes erd
29159 \end_inset
29160
29161 .
29162  It is called 
29163 \begin_inset Quotes eld
29164 \end_inset
29165
29166 device-independent
29167 \begin_inset Quotes erd
29168 \end_inset
29169
29170  (DVI), because it is completely portable; you can move them from one machine
29171  to another without needing to do any sort of conversion.
29172  At the time when this file-format was developed, this was no matter of
29173  course.
29174  DVIs are used for quick previews and as pre-stage for other output formats,
29175  like PostScript.
29176 \end_layout
29177
29178 \begin_layout Standard
29179 \begin_inset Note Greyedout
29180 status open
29181
29182 \begin_layout Standard
29183
29184 \series bold
29185 Note:
29186 \series default
29187  DVI-files doesn't contain images, they will only be a linked.
29188 \end_layout
29189
29190 \end_inset
29191
29192  So don't forget this, if you move your 
29193 \family typewriter
29194 .dvi
29195 \family default
29196  file to another computer.
29197  This property can also slow down your computer when you view the DVI.
29198  Because the DVI-viewer has to convert the image in the background to make
29199  it visible when you scroll in the DVI.
29200  So we recommend to use PDF for files with many images.
29201 \end_layout
29202
29203 \begin_layout Standard
29204 You can export your document to DVI by using the menu 
29205 \family sans
29206 File\SpecialChar \menuseparator
29207 Export\SpecialChar \menuseparator
29208 DVI
29209 \family default
29210 .
29211  You can view your document as DVI via the 
29212 \family sans
29213 View
29214 \family default
29215  menu or by using the toolbar button 
29216 \begin_inset Graphics
29217         filename ../images/buffer-view_dvi.xpm
29218         scale 85
29219         scaleBeforeRotation
29220
29221 \end_inset
29222
29223 .
29224 \end_layout
29225
29226 \begin_layout Section
29227 PostScript
29228 \begin_inset LatexCommand label
29229 name "sec:PostScript"
29230
29231 \end_inset
29232
29233
29234 \begin_inset LatexCommand index
29235 name "File Formats ! PostScript"
29236
29237 \end_inset
29238
29239
29240 \begin_inset LatexCommand index
29241 name "PostScript|see{File Formats}"
29242
29243 \end_inset
29244
29245
29246 \end_layout
29247
29248 \begin_layout Standard
29249 This file type has the extension 
29250 \begin_inset Quotes eld
29251 \end_inset
29252
29253
29254 \family typewriter
29255 .ps
29256 \family default
29257
29258 \begin_inset Quotes erd
29259 \end_inset
29260
29261 .
29262  PostScript was developed by the company 
29263 \family typewriter
29264 Adobe
29265 \family default
29266  as printer language.
29267  The file contains therefore commands that the printer uses to print the
29268  file.
29269  PostScript can be seen as 
29270 \begin_inset Quotes eld
29271 \end_inset
29272
29273 programming language
29274 \begin_inset Quotes erd
29275 \end_inset
29276
29277 ; you can calculate with it and draw diagrams and images
29278 \begin_inset Foot
29279 status collapsed
29280
29281 \begin_layout Standard
29282 If you are interested to learn more about this, have a look at the LaTeX-package
29283  
29284 \series bold
29285 PSTricks
29286 \series default
29287  
29288 \begin_inset LatexCommand cite
29289 key "pstricks"
29290
29291 \end_inset
29292
29293 .
29294 \end_layout
29295
29296 \end_inset
29297
29298 .
29299  Due to this ability, the files are often bigger than PDFs.
29300 \end_layout
29301
29302 \begin_layout Standard
29303 PostScript can only contain images in the format 
29304 \begin_inset Quotes eld
29305 \end_inset
29306
29307 Encapsulated PostScript
29308 \begin_inset Quotes erd
29309 \end_inset
29310
29311  (EPS, file extension 
29312 \begin_inset Quotes eld
29313 \end_inset
29314
29315
29316 \family typewriter
29317 .eps
29318 \family default
29319
29320 \begin_inset Quotes erd
29321 \end_inset
29322
29323 ).
29324  As LyX allows you to use any known image format in your document, it has
29325  to convert images in the background to EPS.
29326  If you have e.g 50 images in your document, LyX has to do 50 conversions
29327  whenever you view or export your document.
29328  This will slow down your work flow with LyX drastically.
29329  So if you plan to use PostScript, you can insert your images directly as
29330  EPS to avoid this problem.
29331 \end_layout
29332
29333 \begin_layout Standard
29334 You can export your document to PostScript using the menu 
29335 \family sans
29336 File\SpecialChar \menuseparator
29337 Export\SpecialChar \menuseparator
29338 Postscript
29339 \family default
29340 .
29341  You can view your document as PostScript via the 
29342 \family sans
29343 View
29344 \family default
29345  menu or by using the toolbar button 
29346 \begin_inset Graphics
29347         filename ../images/buffer-view_ps.xpm
29348         scale 85
29349         scaleBeforeRotation
29350
29351 \end_inset
29352
29353 .
29354 \end_layout
29355
29356 \begin_layout Section
29357 PDF
29358 \begin_inset LatexCommand label
29359 name "sec:PDF"
29360
29361 \end_inset
29362
29363
29364 \begin_inset LatexCommand index
29365 name "File Formats ! PDF"
29366
29367 \end_inset
29368
29369
29370 \begin_inset LatexCommand index
29371 name "PDF"
29372
29373 \end_inset
29374
29375
29376 \end_layout
29377
29378 \begin_layout Standard
29379 This file type has the extension 
29380 \begin_inset Quotes eld
29381 \end_inset
29382
29383
29384 \family typewriter
29385 .pdf
29386 \family default
29387
29388 \begin_inset Quotes erd
29389 \end_inset
29390
29391 .
29392  The 
29393 \begin_inset Quotes eld
29394 \end_inset
29395
29396 Portable Document Format
29397 \begin_inset Quotes erd
29398 \end_inset
29399
29400  (PDF) is developed by 
29401 \family typewriter
29402 Adobe
29403 \family default
29404  as derivative from PostScript.
29405  It is more compressed and it uses much less commands than PostScript.
29406  As the name 
29407 \begin_inset Quotes eld
29408 \end_inset
29409
29410 portable
29411 \begin_inset Quotes erd
29412 \end_inset
29413
29414  implies, it can be processed at any computer system and the printed output
29415  looks exactly the same.
29416 \end_layout
29417
29418 \begin_layout Standard
29419 PDF can contain images in its own PDF format, in the format 
29420 \begin_inset Quotes eld
29421 \end_inset
29422
29423 Joint Photographic Experts Group
29424 \begin_inset Quotes erd
29425 \end_inset
29426
29427  (JPG, file extension 
29428 \begin_inset Quotes eld
29429 \end_inset
29430
29431
29432 \family typewriter
29433 .jpg
29434 \family default
29435
29436 \begin_inset Quotes erd
29437 \end_inset
29438
29439  or 
29440 \begin_inset Quotes eld
29441 \end_inset
29442
29443
29444 \family typewriter
29445 .jpeg
29446 \family default
29447
29448 \begin_inset Quotes erd
29449 \end_inset
29450
29451 ), and in the format 
29452 \begin_inset Quotes eld
29453 \end_inset
29454
29455 Portable Network Graphics
29456 \begin_inset Quotes erd
29457 \end_inset
29458
29459  (PNG, file extension 
29460 \begin_inset Quotes eld
29461 \end_inset
29462
29463
29464 \family typewriter
29465 .png
29466 \family default
29467
29468 \begin_inset Quotes erd
29469 \end_inset
29470
29471 ).
29472  Nevertheless you can use any other image format, because LyX converts them
29473  in the background to one of these formats.
29474  But as described in the section about PostScript, the image conversion
29475  will slow down your work flow.
29476  So it is recommended to use images in one of the three mentioned formats.
29477 \end_layout
29478
29479 \begin_layout Standard
29480 You can export your document to PDF via the menu 
29481 \family sans
29482 File\SpecialChar \menuseparator
29483 Export
29484 \family default
29485  in three different ways:
29486 \end_layout
29487
29488 \begin_layout Description
29489 PDF\InsetSpace ~
29490 (ps2pdf) This uses the program 
29491 \family typewriter
29492 ps2pdf
29493 \family default
29494  that creates a PDF from a PostScript-version of your file.
29495  The PostScript-version is produced by the program 
29496 \family typewriter
29497 dvips
29498 \family default
29499  which uses a DVI-version as intermediate step.
29500  So this export variant consist of three conversions.
29501 \end_layout
29502
29503 \begin_layout Description
29504 PDF\InsetSpace ~
29505 (dvipdfm) This uses the program 
29506 \family typewriter
29507 dvipdfm
29508 \family default
29509  that converts your file in the background to DVI and in a second step to
29510  PDF.
29511 \end_layout
29512
29513 \begin_layout Description
29514 PDF\InsetSpace ~
29515 (pdflatex) This uses the program 
29516 \family typewriter
29517 pdftex
29518 \family default
29519  that converts your file directly to PDF.
29520 \end_layout
29521
29522 \begin_layout Standard
29523 It is recommended to use 
29524 \family sans
29525 PDF\InsetSpace ~
29526 (pdflatex)
29527 \family default
29528  because 
29529 \family typewriter
29530 pdftex
29531 \family default
29532  supports all features of actual PDF-versions, is quick and works stable
29533  without problems.
29534  The program 
29535 \family typewriter
29536 dvipdfm
29537 \family default
29538  is not under development and therefore a bit outdated.
29539 \end_layout
29540
29541 \begin_layout Standard
29542 You can view your document as PDF via the 
29543 \family sans
29544 View
29545 \family default
29546  menu or by using the toolbar button 
29547 \begin_inset Graphics
29548         filename ../images/buffer-view_pdf2.xpm
29549         scale 85
29550         scaleBeforeRotation
29551
29552 \end_inset
29553
29554  
29555 \family sans
29556 (
29557 \family default
29558 that uses 
29559 \family sans
29560 PDF\InsetSpace ~
29561 (pdflatex)
29562 \family default
29563 ).
29564 \end_layout
29565
29566 \begin_layout Chapter
29567 Explanation of Equation\InsetSpace ~
29568
29569 \begin_inset LatexCommand eqref
29570 reference "eq:Wgn"
29571
29572 \end_inset
29573
29574
29575 \begin_inset LatexCommand label
29576 name "cha:Explanation-of-Equation"
29577
29578 \end_inset
29579
29580
29581 \end_layout
29582
29583 \begin_layout Standard
29584 The total width of 
29585 \emph on
29586 n
29587 \emph default
29588  table cells 
29589 \begin_inset Formula $W_{\mathrm{tot\, n}}$
29590 \end_inset
29591
29592  can be calculated to
29593 \end_layout
29594
29595 \begin_layout Standard
29596 \begin_inset Formula \begin{equation}
29597 W_{\mathrm{tot}\, n}=n·(W_{g\, n}+2·\backslash\mbox{tabcolsep})+(n+1)·\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}\end{equation}
29598
29599 \end_inset
29600
29601
29602 \end_layout
29603
29604 \begin_layout Standard
29605 Where 
29606 \begin_inset Formula $W_{g\, n}$
29607 \end_inset
29608
29609  is the given width of all cells.
29610  
29611 \series bold
29612
29613 \backslash
29614 tabcolsep
29615 \series default
29616  is the LaTeX-length between the cell text and the cell border, its default
29617  value is 6\InsetSpace \thinspace{}
29618 pt.
29619  
29620 \series bold
29621
29622 \backslash
29623 arrayrulewidth
29624 \series default
29625  is the thickness of the cell border line, the default is 0.4\InsetSpace \thinspace{}
29626 pt.
29627 \end_layout
29628
29629 \begin_layout Standard
29630 Following equation\InsetSpace ~
29631
29632 \begin_inset LatexCommand eqref
29633 reference "eq:Wtot_n"
29634
29635 \end_inset
29636
29637 , the total width of a multicolumn 
29638 \begin_inset Formula $W_{\mathrm{tot\, mult}}$
29639 \end_inset
29640
29641  is
29642 \end_layout
29643
29644 \begin_layout Standard
29645 \begin_inset Formula \begin{equation}
29646 W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2·\backslash\mbox{tabcolsep}+2·\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}\end{equation}
29647
29648 \end_inset
29649
29650
29651 \end_layout
29652
29653 \begin_layout Standard
29654 By setting equation\InsetSpace ~
29655
29656 \begin_inset LatexCommand eqref
29657 reference "eq:Wtot_n"
29658
29659 \end_inset
29660
29661  and 
29662 \begin_inset LatexCommand eqref
29663 reference "eq:Wtot_mult"
29664
29665 \end_inset
29666
29667  equal we can calculate the needed given width 
29668 \begin_inset Formula $W_{g\, n}$
29669 \end_inset
29670
29671  when 
29672 \emph on
29673 n
29674 \emph default
29675  columns are spanned, so that each column has a total width of 
29676 \begin_inset Formula $W_{\mathrm{tot\, mult}}/n$
29677 \end_inset
29678
29679 :
29680 \end_layout
29681
29682 \begin_layout Standard
29683 \begin_inset Formula \begin{equation}
29684 W_{g\, n}=(W_{g\,\mathrm{mult}}+(1-n)·(2·\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}))/n\end{equation}
29685
29686 \end_inset
29687
29688
29689 \end_layout
29690
29691 \begin_layout Bibliography
29692 \begin_inset LatexCommand bibitem
29693 key "latexcompanion"
29694
29695 \end_inset
29696
29697 Frank Mittelbach and Michel Goossens: 
29698 \emph on
29699 The LaTeX Companion Second Edition.
29700
29701 \emph default
29702  Addison-Wesley, 2004
29703 \end_layout
29704
29705 \begin_layout Bibliography
29706 \begin_inset LatexCommand bibitem
29707 key "latexguide"
29708
29709 \end_inset
29710
29711 Helmut Kopka and Patrick W.
29712  Daly: 
29713 \emph on
29714 A Guide to LaTeX Fourth Edition.
29715
29716 \emph default
29717  Addison-Wesley, 2003
29718 \end_layout
29719
29720 \begin_layout Bibliography
29721 \begin_inset LatexCommand bibitem
29722 key "latexbook"
29723
29724 \end_inset
29725
29726 Leslie Lamport: 
29727 \emph on
29728 LaTeX: A Document Preparation System.
29729
29730 \emph default
29731  Addison-Wesley, second edition, 1994
29732 \end_layout
29733
29734 \begin_layout Bibliography
29735 \begin_inset LatexCommand bibitem
29736 key "booktabs"
29737
29738 \end_inset
29739
29740
29741 \begin_inset ERT
29742 status collapsed
29743
29744 \begin_layout Standard
29745
29746
29747 \backslash
29748 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf}
29749 {
29750 \end_layout
29751
29752 \end_inset
29753
29754 Documentation
29755 \begin_inset ERT
29756 status collapsed
29757
29758 \begin_layout Standard
29759
29760 }
29761 \end_layout
29762
29763 \end_inset
29764
29765  of the LaTeX-package 
29766 \series bold
29767 booktabs
29768 \series default
29769
29770 \begin_inset LatexCommand index
29771 name "LaTeX-packages ! booktabs"
29772
29773 \end_inset
29774
29775
29776 \end_layout
29777
29778 \begin_layout Bibliography
29779 \begin_inset LatexCommand bibitem
29780 key "caption"
29781
29782 \end_inset
29783
29784
29785 \begin_inset ERT
29786 status collapsed
29787
29788 \begin_layout Standard
29789
29790
29791 \backslash
29792 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf}{
29793 \end_layout
29794
29795 \end_inset
29796
29797 Documentation
29798 \begin_inset ERT
29799 status collapsed
29800
29801 \begin_layout Standard
29802
29803 }
29804 \end_layout
29805
29806 \end_inset
29807
29808  of the LaTeX-package 
29809 \series bold
29810 caption
29811 \series default
29812
29813 \begin_inset LatexCommand index
29814 name "LaTeX-packages ! caption"
29815
29816 \end_inset
29817
29818
29819 \end_layout
29820
29821 \begin_layout Bibliography
29822 \begin_inset LatexCommand bibitem
29823 key "caption-de"
29824
29825 \end_inset
29826
29827 German 
29828 \begin_inset ERT
29829 status collapsed
29830
29831 \begin_layout Standard
29832
29833
29834 \backslash
29835 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/anleitung.pdf}
29836 {
29837 \end_layout
29838
29839 \end_inset
29840
29841 documentation
29842 \begin_inset ERT
29843 status collapsed
29844
29845 \begin_layout Standard
29846
29847 }
29848 \end_layout
29849
29850 \end_inset
29851
29852  of the LaTeX-package 
29853 \series bold
29854 caption
29855 \end_layout
29856
29857 \begin_layout Bibliography
29858 \begin_inset LatexCommand bibitem
29859 key "endfloat"
29860
29861 \end_inset
29862
29863
29864 \begin_inset ERT
29865 status collapsed
29866
29867 \begin_layout Standard
29868
29869
29870 \backslash
29871 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf}
29872 {
29873 \end_layout
29874
29875 \end_inset
29876
29877 Documentation
29878 \begin_inset ERT
29879 status collapsed
29880
29881 \begin_layout Standard
29882
29883 }
29884 \end_layout
29885
29886 \end_inset
29887
29888  of the LaTeX-package 
29889 \series bold
29890 endf\SpecialChar \textcompwordmark{}
29891 loat
29892 \series default
29893
29894 \begin_inset LatexCommand index
29895 name "LaTeX-packages ! endfloat"
29896
29897 \end_inset
29898
29899
29900 \end_layout
29901
29902 \begin_layout Bibliography
29903 \begin_inset LatexCommand bibitem
29904 key "floatflt"
29905
29906 \end_inset
29907
29908
29909 \begin_inset ERT
29910 status collapsed
29911
29912 \begin_layout Standard
29913
29914
29915 \backslash
29916 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/floatflt/floatflt.pdf}
29917 {
29918 \end_layout
29919
29920 \end_inset
29921
29922 Documentation
29923 \begin_inset ERT
29924 status collapsed
29925
29926 \begin_layout Standard
29927
29928 }
29929 \end_layout
29930
29931 \end_inset
29932
29933  of the LaTeX-package 
29934 \series bold
29935 f\SpecialChar \textcompwordmark{}
29936 loatf\SpecialChar \textcompwordmark{}
29937 lt
29938 \series default
29939
29940 \begin_inset LatexCommand index
29941 name "LaTeX-packages ! floatflt"
29942
29943 \end_inset
29944
29945
29946 \end_layout
29947
29948 \begin_layout Bibliography
29949 \begin_inset LatexCommand bibitem
29950 key "footmisc"
29951
29952 \end_inset
29953
29954
29955 \begin_inset ERT
29956 status collapsed
29957
29958 \begin_layout Standard
29959
29960
29961 \backslash
29962 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf}
29963 {
29964 \end_layout
29965
29966 \end_inset
29967
29968 Documentation
29969 \begin_inset ERT
29970 status collapsed
29971
29972 \begin_layout Standard
29973
29974 }
29975 \end_layout
29976
29977 \end_inset
29978
29979  of the LaTeX-package 
29980 \series bold
29981 footmisc
29982 \series default
29983
29984 \begin_inset LatexCommand index
29985 name "LaTeX-packages ! footmisc"
29986
29987 \end_inset
29988
29989
29990 \end_layout
29991
29992 \begin_layout Bibliography
29993 \begin_inset LatexCommand bibitem
29994 key "hypcap"
29995
29996 \end_inset
29997
29998
29999 \begin_inset ERT
30000 status collapsed
30001
30002 \begin_layout Standard
30003
30004
30005 \backslash
30006 href{http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf}{
30007 \end_layout
30008
30009 \end_inset
30010
30011 Documentation
30012 \begin_inset ERT
30013 status collapsed
30014
30015 \begin_layout Standard
30016
30017 }
30018 \end_layout
30019
30020 \end_inset
30021
30022  of the LaTeX-package 
30023 \series bold
30024 hypcap
30025 \series default
30026
30027 \begin_inset LatexCommand index
30028 name "LaTeX-packages ! hyperref"
30029
30030 \end_inset
30031
30032
30033 \end_layout
30034
30035 \begin_layout Bibliography
30036 \begin_inset LatexCommand bibitem
30037 key "hyperref"
30038
30039 \end_inset
30040
30041
30042 \begin_inset ERT
30043 status collapsed
30044
30045 \begin_layout Standard
30046
30047
30048 \backslash
30049 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf}
30050 {
30051 \end_layout
30052
30053 \end_inset
30054
30055 Documentation
30056 \begin_inset ERT
30057 status collapsed
30058
30059 \begin_layout Standard
30060
30061 }
30062 \end_layout
30063
30064 \end_inset
30065
30066  of the LaTeX-package 
30067 \series bold
30068 hyperref
30069 \series default
30070
30071 \begin_inset LatexCommand index
30072 name "LaTeX-packages ! hyperref"
30073
30074 \end_inset
30075
30076
30077 \end_layout
30078
30079 \begin_layout Bibliography
30080 \begin_inset LatexCommand bibitem
30081 key "koma-script"
30082
30083 \end_inset
30084
30085
30086 \begin_inset ERT
30087 status collapsed
30088
30089 \begin_layout Standard
30090
30091
30092 \backslash
30093 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.p
30094 df}{
30095 \end_layout
30096
30097 \end_inset
30098
30099 Documentation
30100 \begin_inset ERT
30101 status collapsed
30102
30103 \begin_layout Standard
30104
30105 }
30106 \end_layout
30107
30108 \end_inset
30109
30110  of the LaTeX-package 
30111 \series bold
30112 koma-script
30113 \series default
30114
30115 \begin_inset LatexCommand index
30116 name "LaTeX-packages ! koma-script"
30117
30118 \end_inset
30119
30120
30121 \end_layout
30122
30123 \begin_layout Bibliography
30124 \begin_inset LatexCommand bibitem
30125 key "koma-script-de"
30126
30127 \end_inset
30128
30129 German 
30130 \begin_inset ERT
30131 status collapsed
30132
30133 \begin_layout Standard
30134
30135
30136 \backslash
30137 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguide.p
30138 df}{
30139 \end_layout
30140
30141 \end_inset
30142
30143 documentation
30144 \begin_inset ERT
30145 status collapsed
30146
30147 \begin_layout Standard
30148
30149 }
30150 \end_layout
30151
30152 \end_inset
30153
30154  of the LaTeX-package 
30155 \series bold
30156 koma-script
30157 \series default
30158
30159 \begin_inset LatexCommand index
30160 name "LaTeX-packages ! koma-script"
30161
30162 \end_inset
30163
30164
30165 \end_layout
30166
30167 \begin_layout Bibliography
30168 \begin_inset LatexCommand bibitem
30169 key "listings"
30170
30171 \end_inset
30172
30173
30174 \begin_inset ERT
30175 status collapsed
30176
30177 \begin_layout Standard
30178
30179
30180 \backslash
30181 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/listings/listings.pdf}
30182 {
30183 \end_layout
30184
30185 \end_inset
30186
30187 Documentation
30188 \begin_inset ERT
30189 status collapsed
30190
30191 \begin_layout Standard
30192
30193 }
30194 \end_layout
30195
30196 \end_inset
30197
30198  of the LaTeX-package 
30199 \series bold
30200 listings
30201 \series default
30202
30203 \begin_inset LatexCommand index
30204 name "LaTeX-packages ! listings"
30205
30206 \end_inset
30207
30208
30209 \end_layout
30210
30211 \begin_layout Bibliography
30212 \begin_inset LatexCommand bibitem
30213 key "marginnote"
30214
30215 \end_inset
30216
30217
30218 \begin_inset ERT
30219 status collapsed
30220
30221 \begin_layout Standard
30222
30223
30224 \backslash
30225 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.
30226 pdf}{
30227 \end_layout
30228
30229 \end_inset
30230
30231 Documentation
30232 \begin_inset ERT
30233 status collapsed
30234
30235 \begin_layout Standard
30236
30237 }
30238 \end_layout
30239
30240 \end_inset
30241
30242  of the LaTeX-package 
30243 \series bold
30244 marginnote
30245 \series default
30246
30247 \begin_inset LatexCommand index
30248 name "LaTeX-packages ! marginnote"
30249
30250 \end_inset
30251
30252
30253 \end_layout
30254
30255 \begin_layout Bibliography
30256 \begin_inset LatexCommand bibitem
30257 key "pstricks"
30258
30259 \end_inset
30260
30261
30262 \begin_inset ERT
30263 status collapsed
30264
30265 \begin_layout Standard
30266
30267
30268 \backslash
30269 href{http://tug.org/PSTricks/main.cgi/}{
30270 \end_layout
30271
30272 \end_inset
30273
30274 Web page
30275 \begin_inset ERT
30276 status collapsed
30277
30278 \begin_layout Standard
30279
30280 }
30281 \end_layout
30282
30283 \end_inset
30284
30285  of the LaTeX-package 
30286 \series bold
30287 PSTricks
30288 \series default
30289
30290 \begin_inset LatexCommand index
30291 name "LaTeX-packages ! PSTricks"
30292
30293 \end_inset
30294
30295
30296 \end_layout
30297
30298 \begin_layout Bibliography
30299 \begin_inset LatexCommand bibitem
30300 key "sidecap"
30301
30302 \end_inset
30303
30304
30305 \begin_inset ERT
30306 status collapsed
30307
30308 \begin_layout Standard
30309
30310
30311 \backslash
30312 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf}{
30313 \end_layout
30314
30315 \end_inset
30316
30317 Documentation
30318 \begin_inset ERT
30319 status collapsed
30320
30321 \begin_layout Standard
30322
30323 }
30324 \end_layout
30325
30326 \end_inset
30327
30328  of the LaTeX-package 
30329 \series bold
30330 sidecap
30331 \series default
30332
30333 \begin_inset LatexCommand index
30334 name "LaTeX-packages ! sidecap"
30335
30336 \end_inset
30337
30338
30339 \end_layout
30340
30341 \begin_layout Bibliography
30342 \begin_inset LatexCommand bibitem
30343 key "NewInLyX15"
30344
30345 \end_inset
30346
30347
30348 \begin_inset ERT
30349 status collapsed
30350
30351 \begin_layout Standard
30352
30353
30354 \backslash
30355 href{http://wiki.lyx.org/LyX/NewInLyX15}{
30356 \end_layout
30357
30358 \end_inset
30359
30360 Wiki page
30361 \begin_inset ERT
30362 status collapsed
30363
30364 \begin_layout Standard
30365
30366 }
30367 \end_layout
30368
30369 \end_inset
30370
30371  about new LyX-features planned for the release 
30372 \family sans
30373 LyX 1.5
30374 \family default
30375 .0.
30376 \end_layout
30377
30378 \begin_layout Standard
30379 \begin_inset LatexCommand printindex
30380
30381 \end_inset
30382
30383
30384 \end_layout
30385
30386 \begin_layout Standard
30387 \begin_inset FloatList figure
30388
30389 \end_inset
30390
30391
30392 \end_layout
30393
30394 \begin_layout Standard
30395 \begin_inset FloatList table
30396
30397 \end_inset
30398
30399
30400 \end_layout
30401
30402 \end_body
30403 \end_document