]> git.lyx.org Git - lyx.git/blob - lib/doc/EmbeddedObjects.lyx
EmbeddedObjects: fix character for centered dot
[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 "" 
205 \author "" 
206 \end_header
207
208 \begin_body
209
210 \begin_layout Title
211 LyX's detailed Figure, Table, Floats, Notes, Boxes and External Material
212  manual
213 \end_layout
214
215 \begin_layout Author
216 by the LyX Team
217 \begin_inset Foot
218 status collapsed
219
220 \begin_layout Standard
221 \noindent
222 If you have comments or error corrections, please send them to the LyX Documenta
223 tion mailing list: 
224 \family typewriter
225
226 \begin_inset ERT
227 status open
228
229 \begin_layout Standard
230
231
232 \backslash
233 href{mailto:lyx-docs@lists.lyx.org?subject=LyX's ExtendedInsets manual}{
234 \end_layout
235
236 \end_inset
237
238 lyx-docs@lists.lyx.org
239 \begin_inset ERT
240 status collapsed
241
242 \begin_layout Standard
243
244 }
245 \end_layout
246
247 \end_inset
248
249
250 \end_layout
251
252 \end_inset
253
254
255 \begin_inset Note Note
256 status collapsed
257
258 \begin_layout Standard
259 original author: Uwe Stöhr
260 \end_layout
261
262 \end_inset
263
264
265 \newline
266
267 \newline
268
269 \family sans
270 Version 1.5.0-
271 \family default
272 1
273 \end_layout
274
275 \begin_layout Standard
276 \begin_inset LatexCommand tableofcontents
277
278 \end_inset
279
280
281 \end_layout
282
283 \begin_layout Standard
284 \begin_inset Note Note
285 status open
286
287 \begin_layout Standard
288 To export all parts of this document to PDF, PS, or DVI the LaTeX-packages
289  
290 \series bold
291 arydshln
292 \series default
293  and 
294 \series bold
295 marginnote
296 \series default
297  must be installed.
298  If they are not installed you can export the document anyway but the sections
299  where the packages are required won't appear in the output.
300 \end_layout
301
302 \begin_layout Standard
303 The latest PDF-version of this document can be found here:
304 \newline
305
306 \series bold
307 http://wiki.lyx.org/LyX/DocumentationDevelopment#EmbeddedObjects
308 \end_layout
309
310 \end_inset
311
312
313 \end_layout
314
315 \begin_layout Chapter
316 Figures
317 \begin_inset LatexCommand label
318 name "cha:Figures"
319
320 \end_inset
321
322
323 \begin_inset LatexCommand index
324 name "Figures"
325
326 \end_inset
327
328
329 \begin_inset LatexCommand index
330 name "Graphics|see{Figures}"
331
332 \end_inset
333
334
335 \end_layout
336
337 \begin_layout Section
338 Graphics Dialog
339 \begin_inset LatexCommand index
340 name "Figures ! Graphics Dialog"
341
342 \end_inset
343
344
345 \begin_inset LatexCommand label
346 name "sec:Graphics-Dialog"
347
348 \end_inset
349
350
351 \end_layout
352
353 \begin_layout Standard
354 To insert an image into your document, place the cursor at the text position
355  you want and click on the toolbar icon 
356 \begin_inset Graphics
357         filename ../images/dialog-show-new-inset_graphics.xpm
358         scale 85
359         scaleBeforeRotation
360
361 \end_inset
362
363  or use the menu 
364 \family sans
365 Insert\SpecialChar \menuseparator
366 Graphics
367 \family default
368 .
369  Then a dialog will appear to choose the file to load.
370  The image will appear in the output exactly at the position where it is
371  in the text.
372 \end_layout
373
374 \begin_layout Standard
375 The graphics dialog can be called at any time by right-clicking on an image.
376  This dialog has three tabs:
377 \end_layout
378
379 \begin_layout Description
380
381 \family sans
382 Graphics
383 \family default
384  Here you can choose an image file and adjust its appearance in the output.
385  The available units for the image size are explained in appendix\InsetSpace ~
386
387 \begin_inset LatexCommand ref
388 reference "cha:Units-available-in"
389
390 \end_inset
391
392 .
393 \newline
394 You can rotate images counter-clockwise by setting a rotation angle and
395  a rotation origin.
396  The image will also be rotated inside LyX.
397 \newline
398 Images can be scaled by using
399  a percentage value or by setting the width and height explicitly.
400  If you set only the width or only the height, the other size will be determined
401  automatically.
402  If you set both, then the image will be transformed to the given size,
403  possibly distorting it.
404  To prevent the image from distortion, use the option 
405 \family sans
406 Maintain aspect ratio
407 \family default
408 .
409  The image will then be scaled so that its width and height don't exceed
410  the specified dimensions.
411 \newline
412 Images can be opened in a program of your choice
413  when pressing the 
414 \family sans
415 Edit
416 \family default
417  button.
418  The program can be set for every image format in the file format settings
419  in LyX's preferences.
420 \end_layout
421
422 \begin_layout Description
423
424 \family sans
425 Clipping
426 \family default
427  Alternatively to the usage of scaling units it is possible to set image
428  coordinates to adjust the height and width of the image in the output.
429  The coordinates can also be calculated automatically by pressing the button
430  
431 \family sans
432 Get\InsetSpace ~
433 from\InsetSpace ~
434 File
435 \family default
436 .
437  The option 
438 \family sans
439 Clip\InsetSpace ~
440 to\InsetSpace ~
441 bounding\InsetSpace ~
442 box
443 \family default
444  will only print the image region within the given coordinates.
445  Normally you don't need to take care about image coordinates and can ignore
446  this tab.
447 \end_layout
448
449 \begin_layout Description
450
451 \family sans
452 Extra\InsetSpace ~
453 options
454 \family default
455  In this tab you can modify the appearance of the image within LyX and set
456  the image to be a subfigure of a figure float with an own caption.
457  Subfigures are explained in section\InsetSpace ~
458
459 \begin_inset LatexCommand ref
460 reference "sec:Figure-Floats"
461
462 \end_inset
463
464 .
465 \newline
466  LaTeX experts can also specify on this tab additional LaTeX options.
467 \newline
468  The
469  option 
470 \family sans
471 Draft\InsetSpace ~
472 mode
473 \family default
474  makes the image appear in the output only as a frame with the size of the
475  image.
476 \newline
477 The 
478 \family sans
479 Don't\InsetSpace ~
480 unzip\InsetSpace ~
481 on\InsetSpace ~
482 export
483 \family default
484  option only affects zipped EPS-graphics, e.\InsetSpace \thinspace{}
485 g.\InsetSpace ~
486
487 \emph on
488 x.eps.gz
489 \emph default
490 .
491  When the option is used the images will not be unzipped on export, since
492  LaTeX can handle them as they are.
493 \newline
494 Zipped EPS-graphics are useful to save
495  disk space when you choose PostScript as output format, see appendix\InsetSpace ~
496
497 \begin_inset LatexCommand ref
498 reference "sec:PostScript"
499
500 \end_inset
501
502 .
503  To zip EPS-graphics, use the following commands in a UNIX-shell or a Windows
504  console:
505 \newline
506
507 \series bold
508 gzip x.eps
509 \series default
510
511 \newline
512
513 \series bold
514 zgrep %%Bounding x.eps.gz > x.eps.bb
515 \series default
516
517 \newline
518 The second command creates the bounding box file 
519 \begin_inset Quotes eld
520 \end_inset
521
522 x.eps.bb
523 \begin_inset Quotes erd
524 \end_inset
525
526  that is needed by LaTeX for zipped graphics.
527 \end_layout
528
529 \begin_layout Standard
530 \begin_inset VSpace bigskip
531 \end_inset
532
533
534 \end_layout
535
536 \begin_layout Standard
537 This is an example image in EPS format
538 \begin_inset Foot
539 status collapsed
540
541 \begin_layout Standard
542 Image formats are explained in section\InsetSpace ~
543
544 \begin_inset LatexCommand ref
545 reference "sec:Image-Formats"
546
547 \end_inset
548
549 .
550 \end_layout
551
552 \end_inset
553
554  within a separate, horizontally centered paragraph:
555 \end_layout
556
557 \begin_layout Standard
558 \align center
559 \begin_inset Graphics
560         filename clipart/mobius.eps
561         display color
562         scale 70
563         scaleBeforeRotation
564         rotateOrigin center
565
566 \end_inset
567
568
569 \end_layout
570
571 \begin_layout Standard
572 This is the same image like the one above but in draft mode:
573 \end_layout
574
575 \begin_layout Standard
576 \align center
577 \begin_inset Graphics
578         filename clipart/mobius.eps
579         display color
580         scale 70
581         draft
582         scaleBeforeRotation
583         rotateOrigin center
584
585 \end_inset
586
587
588 \end_layout
589
590 \begin_layout Section
591 Figure Floats
592 \begin_inset LatexCommand label
593 name "sec:Figure-Floats"
594
595 \end_inset
596
597
598 \begin_inset LatexCommand index
599 name "Floats ! Figures"
600
601 \end_inset
602
603
604 \begin_inset LatexCommand index
605 name "Figures ! Floats"
606
607 \end_inset
608
609
610 \end_layout
611
612 \begin_layout Standard
613 For general explanations about floats, have a look at section\InsetSpace ~
614
615 \begin_inset LatexCommand ref
616 reference "sec:FloatIntroduction"
617
618 \end_inset
619
620 .
621 \end_layout
622
623 \begin_layout Standard
624 The toolbar button 
625 \begin_inset Graphics
626         filename ../images/float-insert_figure.xpm
627         scale 85
628         scaleBeforeRotation
629
630 \end_inset
631
632  and the menu 
633 \family sans
634 Insert\SpecialChar \menuseparator
635 Float\SpecialChar \menuseparator
636 Figure
637 \family default
638  inserts a float with a caption that has the label 
639 \begin_inset Quotes eld
640 \end_inset
641
642 Figure\InsetSpace ~
643 #:
644 \begin_inset Quotes erd
645 \end_inset
646
647  (# is the actual number).
648  You can insert the image above the caption, like in Figure\InsetSpace ~
649
650 \begin_inset LatexCommand ref
651 reference "fig:kill-plat"
652
653 \end_inset
654
655  or below the caption, like in Figure\InsetSpace ~
656
657 \begin_inset LatexCommand ref
658 reference "fig:escher"
659
660 \end_inset
661
662 .
663  More about the caption placement is described in section\InsetSpace ~
664
665 \begin_inset LatexCommand ref
666 reference "sec:Caption-Placement"
667
668 \end_inset
669
670 .
671 \end_layout
672
673 \begin_layout Standard
674 \begin_inset Float figure
675 wide false
676 sideways false
677 status open
678
679 \begin_layout Standard
680 \align center
681 \begin_inset Graphics
682         filename clipart/platypus.eps
683         display color
684         width 50col%
685         scaleBeforeRotation
686         rotateOrigin center
687
688 \end_inset
689
690
691 \end_layout
692
693 \begin_layout Standard
694 \begin_inset Caption
695
696 \begin_layout Standard
697 \begin_inset LatexCommand label
698 name "fig:kill-plat"
699
700 \end_inset
701
702 A severely distorted platypus in a float.
703 \end_layout
704
705 \end_inset
706
707
708 \end_layout
709
710 \end_inset
711
712
713 \end_layout
714
715 \begin_layout Standard
716 \begin_inset Float figure
717 wide false
718 sideways false
719 status open
720
721 \begin_layout Standard
722 \begin_inset Caption
723
724 \begin_layout Standard
725 \begin_inset LatexCommand label
726 name "fig:escher"
727
728 \end_inset
729
730 M.C.
731  Escher on acid.
732 \end_layout
733
734 \end_inset
735
736
737 \end_layout
738
739 \begin_layout Standard
740 \align center
741 \begin_inset Graphics
742         filename clipart/escher-lsd.eps
743         display color
744         scale 80
745         scaleBeforeRotation
746         rotateOrigin center
747
748 \end_inset
749
750
751 \end_layout
752
753 \end_inset
754
755
756 \end_layout
757
758 \begin_layout Standard
759 \begin_inset LatexCommand index
760 name "References ! to Figures"
761
762 \end_inset
763
764 Figure\InsetSpace ~
765
766 \begin_inset LatexCommand ref
767 reference "fig:kill-plat"
768
769 \end_inset
770
771  and 
772 \begin_inset LatexCommand ref
773 reference "fig:escher"
774
775 \end_inset
776
777  are examples of referenced figures.
778  Figures can be referenced in the text by referencing their label.
779  To do this insert a label in the caption using the menu 
780 \family sans
781 Insert\SpecialChar \menuseparator
782 Label
783 \family default
784  or the toolbar button 
785 \begin_inset Graphics
786         filename ../images/label-insert.xpm
787         scale 85
788         scaleBeforeRotation
789
790 \end_inset
791
792 .
793  You can now refer to the label using the menu 
794 \family sans
795 Insert\SpecialChar \menuseparator
796 Cross\InsetSpace ~
797 reference
798 \family default
799  or the toolbar button 
800 \begin_inset Graphics
801         filename ../images/dialog-show-new-inset_ref.xpm
802         scale 85
803         scaleBeforeRotation
804
805 \end_inset
806
807 .
808  It is important to use references to floats, rather than using vague references
809  like 
810 \begin_inset Quotes eld
811 \end_inset
812
813 the figure above
814 \begin_inset Quotes erd
815 \end_inset
816
817 , because as LaTeX will reposition the floats in the final document, it
818  might not be 
819 \begin_inset Quotes eld
820 \end_inset
821
822 above
823 \begin_inset Quotes erd
824 \end_inset
825
826  at all.
827 \newline
828 Referencing is explained in detail in section\InsetSpace ~
829
830 \begin_inset LatexCommand ref
831 reference "sec:Referencing-Floats"
832
833 \end_inset
834
835 .
836 \end_layout
837
838 \begin_layout Standard
839 Normally only one image is inserted to a figure float, but sometimes you
840  might want to use two images with separate subcaptions.
841  This can be set in the tab 
842 \family sans
843 Extra\InsetSpace ~
844 options
845 \family default
846  of the graphics dialog.
847  Choose there the option 
848 \family sans
849 Subfigure
850 \family default
851  and enter the subcaption for the image in the caption field.
852  Note that only the main caption of the float is added to the List of Figures.
853 \newline
854 Ref
855 erencing subfigures is explained in section\InsetSpace ~
856
857 \begin_inset LatexCommand ref
858 reference "sub:Referencing-Subfigures"
859
860 \end_inset
861
862 .
863 \end_layout
864
865 \begin_layout Standard
866 Figure\InsetSpace ~
867
868 \begin_inset LatexCommand ref
869 reference "fig:Two-distorted-images"
870
871 \end_inset
872
873  is an example of a figure float with two images set side by side.
874  You can also set the images one below the other.
875 \end_layout
876
877 \begin_layout Standard
878 \begin_inset Float figure
879 wide false
880 sideways false
881 status open
882
883 \begin_layout Standard
884
885 \hfill
886
887 \begin_inset Graphics
888         filename clipart/escher-lsd.eps
889         width 45col%
890         scaleBeforeRotation
891         subcaption
892         subcaptionText "Undefinable structure"
893
894 \end_inset
895
896
897 \hfill
898
899 \begin_inset Graphics
900         filename clipart/platypus.eps
901         lyxscale 60
902         width 45col%
903         scaleBeforeRotation
904         subcaption
905         subcaptionText "\label{fig:Platypus} Platypus"
906
907 \end_inset
908
909
910 \hfill
911
912 \end_layout
913
914 \begin_layout Standard
915 \begin_inset Caption
916
917 \begin_layout Standard
918 \begin_inset LatexCommand label
919 name "fig:Two-distorted-images"
920
921 \end_inset
922
923 Two distorted images.
924 \end_layout
925
926 \end_inset
927
928
929 \end_layout
930
931 \end_inset
932
933
934 \end_layout
935
936 \begin_layout Section
937 Image Formats
938 \begin_inset LatexCommand label
939 name "sec:Image-Formats"
940
941 \end_inset
942
943
944 \begin_inset LatexCommand index
945 name "Image Formats"
946
947 \end_inset
948
949
950 \begin_inset LatexCommand index
951 name "Figures ! Image Formats"
952
953 \end_inset
954
955
956 \end_layout
957
958 \begin_layout Standard
959 You can insert images in any known file format.
960  But as explained in appendix\InsetSpace ~
961
962 \begin_inset LatexCommand ref
963 reference "cha:Output-File-Formats"
964
965 \end_inset
966
967 , every output document format allows only a few image formats.
968  LyX uses therefore the program 
969 \family typewriter
970 Imagemagick
971 \family default
972  in the background to convert the images to the right format.
973  To increase your work flow by avoiding these conversions in the background,
974  you can use only the image formats that can directly be embedded in the
975  output file format.
976  The output file formats are explained in appendix\InsetSpace ~
977
978 \begin_inset LatexCommand ref
979 reference "cha:Output-File-Formats"
980
981 \end_inset
982
983 .
984 \end_layout
985
986 \begin_layout Standard
987 Similar to fonts there are two types of image formats:
988 \end_layout
989
990 \begin_layout Description
991 Bitmap\InsetSpace ~
992 images consist of pixel values, often in a compressed form.
993  They are therefore not fully scalable and look pixeled in large zooms.
994  Well-known bitmap image formats are 
995 \begin_inset Quotes eld
996 \end_inset
997
998 Graphics Interchange Format
999 \begin_inset Quotes erd
1000 \end_inset
1001
1002  (GIF, file extension 
1003 \begin_inset Quotes eld
1004 \end_inset
1005
1006
1007 \family typewriter
1008 .gif
1009 \family default
1010
1011 \begin_inset Quotes erd
1012 \end_inset
1013
1014 )
1015 \begin_inset LatexCommand index
1016 name "GIF|see{Image formats}"
1017
1018 \end_inset
1019
1020
1021 \begin_inset Quotes eld
1022 \end_inset
1023
1024 Portable Network Graphics
1025 \begin_inset Quotes erd
1026 \end_inset
1027
1028  (PNG, file extension 
1029 \begin_inset Quotes eld
1030 \end_inset
1031
1032
1033 \family typewriter
1034 .png
1035 \family default
1036
1037 \begin_inset Quotes erd
1038 \end_inset
1039
1040 )
1041 \begin_inset LatexCommand index
1042 name "PNG|see{Image formats}"
1043
1044 \end_inset
1045
1046 , and 
1047 \begin_inset Quotes eld
1048 \end_inset
1049
1050 Joint Photographic Experts Group
1051 \begin_inset Quotes erd
1052 \end_inset
1053
1054  (JPG, file extension 
1055 \begin_inset Quotes eld
1056 \end_inset
1057
1058
1059 \family typewriter
1060 .jpg
1061 \family default
1062
1063 \begin_inset Quotes erd
1064 \end_inset
1065
1066  or 
1067 \begin_inset Quotes eld
1068 \end_inset
1069
1070
1071 \family typewriter
1072 .jpeg
1073 \family default
1074
1075 \begin_inset Quotes erd
1076 \end_inset
1077
1078 )
1079 \begin_inset LatexCommand index
1080 name "JPG|see{Image formats}"
1081
1082 \end_inset
1083
1084 .
1085 \end_layout
1086
1087 \begin_layout Description
1088 Vector\InsetSpace ~
1089 images consist of vectors and can therefore be scaled to any size
1090  without data loss.
1091  The scaling ability is necessary if you want to create presentations, because
1092  presentations are always scaled by the video projector.
1093  Scaling is also useful for online documents to let the user zoom into diagrams.
1094 \newline
1095 W
1096 ell-known scalable image formats are 
1097 \begin_inset Quotes eld
1098 \end_inset
1099
1100 Scalable Vector Graphics
1101 \begin_inset Quotes erd
1102 \end_inset
1103
1104  (SVG, file extension 
1105 \begin_inset Quotes eld
1106 \end_inset
1107
1108
1109 \family typewriter
1110 .svg
1111 \family default
1112
1113 \begin_inset Quotes erd
1114 \end_inset
1115
1116 )
1117 \begin_inset LatexCommand index
1118 name "SVG|see{Image formats}"
1119
1120 \end_inset
1121
1122
1123 \begin_inset Quotes eld
1124 \end_inset
1125
1126 Encapsulated PostScript
1127 \begin_inset Quotes erd
1128 \end_inset
1129
1130  (EPS, file extension 
1131 \begin_inset Quotes eld
1132 \end_inset
1133
1134
1135 \family typewriter
1136 .eps
1137 \family default
1138
1139 \begin_inset Quotes erd
1140 \end_inset
1141
1142 )
1143 \begin_inset LatexCommand index
1144 name "EPS|see{Image formats}"
1145
1146 \end_inset
1147
1148
1149 \begin_inset Quotes eld
1150 \end_inset
1151
1152 Portable Document Format
1153 \begin_inset Quotes erd
1154 \end_inset
1155
1156  (PDF, file extension 
1157 \begin_inset Quotes eld
1158 \end_inset
1159
1160
1161 \family typewriter
1162 .pdf
1163 \family default
1164
1165 \begin_inset Quotes erd
1166 \end_inset
1167
1168 )
1169 \begin_inset LatexCommand index
1170 name "PDF"
1171
1172 \end_inset
1173
1174 , and 
1175 \begin_inset Quotes eld
1176 \end_inset
1177
1178 Windows Metafile
1179 \begin_inset Quotes erd
1180 \end_inset
1181
1182  (WMF, file extension 
1183 \begin_inset Quotes eld
1184 \end_inset
1185
1186
1187 \family typewriter
1188 .wmf
1189 \family default
1190
1191 \begin_inset Quotes erd
1192 \end_inset
1193
1194 )
1195 \begin_inset LatexCommand index
1196 name "SVG|see{Image formats}"
1197
1198 \end_inset
1199
1200 .
1201  We wrote 
1202 \begin_inset Quotes eld
1203 \end_inset
1204
1205 can be
1206 \begin_inset Quotes erd
1207 \end_inset
1208
1209 , because you can convert any bitmap image to a PDF or EPS-image and the
1210  result will still be a bitmap image.
1211  In this cases only a header with the image properties is added to the original
1212  image
1213 \begin_inset Foot
1214 status open
1215
1216 \begin_layout Standard
1217 In the case of PDF, the original image is additionally compressed.
1218 \end_layout
1219
1220 \end_inset
1221
1222 .
1223  The PDF-files generated by 
1224 \family typewriter
1225 Adobe Photoshop
1226 \family default
1227  are for example bitmap images.
1228 \end_layout
1229
1230 \begin_layout Standard
1231 Normally it is not possible to convert a bitmap image into a scalable one,
1232  only vice versa.
1233  Only the image formats PDF and EPS can directly be embedded to PDF and
1234  PostScript output files, respectively.
1235  SVG and WMF-images are recalculated to bitmaps when the output file is
1236  generated because there is currently no adequate WMF/SVG
1237 \begin_inset Formula $\to$
1238 \end_inset
1239
1240 PDF/EPS converter available.
1241 \end_layout
1242
1243 \begin_layout Chapter
1244 Tables
1245 \begin_inset LatexCommand label
1246 name "cha:Tables"
1247
1248 \end_inset
1249
1250
1251 \begin_inset LatexCommand index
1252 name "Table"
1253
1254 \end_inset
1255
1256
1257 \end_layout
1258
1259 \begin_layout Section
1260 Introduction
1261 \begin_inset LatexCommand index
1262 name "Table ! Introduction"
1263
1264 \end_inset
1265
1266
1267 \end_layout
1268
1269 \begin_layout Standard
1270 You can insert a table using either the toolbar button 
1271 \begin_inset Graphics
1272         filename ../images/tabular-insert.xpm
1273         scale 85
1274         scaleBeforeRotation
1275
1276 \end_inset
1277
1278  or the menu 
1279 \family sans
1280 Insert\SpecialChar \menuseparator
1281 Table
1282 \family default
1283 .
1284  The toolbar button offers you a graphical selection: Move the mouse to
1285  set the column/row number of the table that should be created and then
1286  press a mouse button.
1287  When you use the menu to create a table, a dialog will appear, asking you
1288  for the number of rows and columns.
1289 \newline
1290  The default table has lines around any
1291  cell and the first row appears separated from the rest of the table.
1292  This separation occurs due to a double line: The cells of the first row
1293  have a line below them and the cells of the second row have a line above
1294  them.
1295  Here is an example table:
1296 \end_layout
1297
1298 \begin_layout Standard
1299 \align center
1300 \begin_inset Tabular
1301 <lyxtabular version="3" rows="4" columns="4">
1302 <features>
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" width="0">
1306 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
1307 <row topline="true" bottomline="true">
1308 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1309 \begin_inset Text
1310
1311 \begin_layout Standard
1312
1313 \end_layout
1314
1315 \end_inset
1316 </cell>
1317 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1318 \begin_inset Text
1319
1320 \begin_layout Standard
1321
1322 \family roman
1323 \series medium
1324 \shape up
1325 \size normal
1326 \emph off
1327 \bar no
1328 \noun off
1329 \color none
1330 1
1331 \end_layout
1332
1333 \end_inset
1334 </cell>
1335 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1336 \begin_inset Text
1337
1338 \begin_layout Standard
1339 2
1340 \end_layout
1341
1342 \end_inset
1343 </cell>
1344 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1345 \begin_inset Text
1346
1347 \begin_layout Standard
1348 3
1349 \end_layout
1350
1351 \end_inset
1352 </cell>
1353 </row>
1354 <row topline="true">
1355 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1356 \begin_inset Text
1357
1358 \begin_layout Standard
1359
1360 \family roman
1361 \series medium
1362 \shape up
1363 \size normal
1364 \emph off
1365 \bar no
1366 \noun off
1367 \color none
1368 A
1369 \end_layout
1370
1371 \end_inset
1372 </cell>
1373 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1374 \begin_inset Text
1375
1376 \begin_layout Standard
1377
1378 \end_layout
1379
1380 \end_inset
1381 </cell>
1382 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1383 \begin_inset Text
1384
1385 \begin_layout Standard
1386
1387 \end_layout
1388
1389 \end_inset
1390 </cell>
1391 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1392 \begin_inset Text
1393
1394 \begin_layout Standard
1395
1396 \end_layout
1397
1398 \end_inset
1399 </cell>
1400 </row>
1401 <row topline="true">
1402 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1403 \begin_inset Text
1404
1405 \begin_layout Standard
1406
1407 \family roman
1408 \series medium
1409 \shape up
1410 \size normal
1411 \emph off
1412 \bar no
1413 \noun off
1414 \color none
1415 B
1416 \end_layout
1417
1418 \end_inset
1419 </cell>
1420 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1421 \begin_inset Text
1422
1423 \begin_layout Standard
1424
1425 \end_layout
1426
1427 \end_inset
1428 </cell>
1429 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1430 \begin_inset Text
1431
1432 \begin_layout Standard
1433
1434 \end_layout
1435
1436 \end_inset
1437 </cell>
1438 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1439 \begin_inset Text
1440
1441 \begin_layout Standard
1442
1443 \end_layout
1444
1445 \end_inset
1446 </cell>
1447 </row>
1448 <row topline="true" bottomline="true">
1449 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1450 \begin_inset Text
1451
1452 \begin_layout Standard
1453
1454 \family roman
1455 \series medium
1456 \shape up
1457 \size normal
1458 \emph off
1459 \bar no
1460 \noun off
1461 \color none
1462 C
1463 \end_layout
1464
1465 \end_inset
1466 </cell>
1467 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1468 \begin_inset Text
1469
1470 \begin_layout Standard
1471
1472 \end_layout
1473
1474 \end_inset
1475 </cell>
1476 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1477 \begin_inset Text
1478
1479 \begin_layout Standard
1480
1481 \end_layout
1482
1483 \end_inset
1484 </cell>
1485 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1486 \begin_inset Text
1487
1488 \begin_layout Standard
1489
1490 \end_layout
1491
1492 \end_inset
1493 </cell>
1494 </row>
1495 </lyxtabular>
1496
1497 \end_inset
1498
1499
1500 \end_layout
1501
1502 \begin_layout Section
1503 Table Dialog
1504 \begin_inset LatexCommand index
1505 name "Table ! Dialog"
1506
1507 \end_inset
1508
1509
1510 \end_layout
1511
1512 \begin_layout Standard
1513 You can alter a table by clicking on it with the right mouse button, which
1514  brings up the table dialog.
1515  Here you can adjust the settings of that cell and row/column respectively
1516  where the cursor is currently placed.
1517  Most of the dialog options also work on selections.
1518  This means if you select more cells, columns or rows, the action is done
1519  for the whole selection.
1520  Note that there is a difference between selecting the 
1521 \emph on
1522 contents
1523 \emph default
1524  of the cell, and the cell itself.
1525  You can alter tables with the following tabs of the table dialog:
1526 \end_layout
1527
1528 \begin_layout Description
1529
1530 \family sans
1531 Table\InsetSpace ~
1532 Settings
1533 \family default
1534  Here you can set the horizontal alignment and the width of the current
1535  column.
1536  When you have set a width you can also adjust the vertical alignment of
1537  the current row.
1538  A given width will allow the cell to have line breaks and multiple paragraphs
1539  of text, see section\InsetSpace ~
1540
1541 \begin_inset LatexCommand ref
1542 reference "sub:Multiple-Lines-in"
1543
1544 \end_inset
1545
1546 .
1547  If you set no width, the column is as wide as their widest cell content
1548  is.
1549 \newline
1550 Furthermore, you can mark one or multiple cells of one row as a multicolumn
1551  cell, see section\InsetSpace ~
1552
1553 \begin_inset LatexCommand ref
1554 reference "sub:Multicolumns"
1555
1556 \end_inset
1557
1558 .
1559 \newline
1560 The rotate check boxes rotates the current cell, a selection, or the whole
1561  table counter-clockwise by 90°.
1562  The rotation is not shown within LyX, only in the output.
1563 \newline
1564
1565 \begin_inset Note Greyedout
1566 status open
1567
1568 \begin_layout Standard
1569
1570 \series bold
1571 Note:
1572 \series default
1573  Not all DVI-viewers are able to display rotations.
1574 \end_layout
1575
1576 \end_inset
1577
1578
1579 \newline
1580 It is also possible to enter a LaTeX-argument which is needed for special
1581  table formattings, see section\InsetSpace ~
1582
1583 \begin_inset LatexCommand ref
1584 reference "sub:Multicolumn-Calculations"
1585
1586 \end_inset
1587
1588  and 
1589 \begin_inset LatexCommand ref
1590 reference "sec:Colored-Tables"
1591
1592 \end_inset
1593
1594 .
1595 \end_layout
1596
1597 \begin_layout Description
1598
1599 \family sans
1600 Borders
1601 \family default
1602  In this tab you can add and delete border lines for the current row/column.
1603 \newline
1604 Using
1605  the style option 
1606 \family sans
1607 Formal
1608 \family default
1609  will convert the table to a formal table as described in section\InsetSpace ~
1610
1611 \begin_inset LatexCommand ref
1612 reference "sec:Formal-Tables"
1613
1614 \end_inset
1615
1616 .
1617 \newline
1618 You can also add here space to table rows as decribed in section\InsetSpace ~
1619
1620 \begin_inset LatexCommand ref
1621 reference "sub:Row-Spacing"
1622
1623 \end_inset
1624
1625 .
1626 \end_layout
1627
1628 \begin_layout Description
1629
1630 \family sans
1631 Longtable
1632 \family default
1633  This tab is to make a table a so called 
1634 \begin_inset Quotes eld
1635 \end_inset
1636
1637
1638 \emph on
1639 longtable
1640 \emph default
1641
1642 \begin_inset Quotes erd
1643 \end_inset
1644
1645  that can run over several pages.
1646  Section\InsetSpace ~
1647
1648 \begin_inset LatexCommand ref
1649 reference "sec:Longtables"
1650
1651 \end_inset
1652
1653  and 
1654 \begin_inset LatexCommand ref
1655 reference "sec:Special-Longtable-Issues"
1656
1657 \end_inset
1658
1659  describe the longtable features in detail.
1660 \end_layout
1661
1662 \begin_layout Standard
1663 When the table toolbar is opened, you can move the cursor with the arrow
1664  keys from cell to cell and the property of the current cell will immediately
1665  be displayed in the dialog.
1666 \end_layout
1667
1668 \begin_layout Section
1669 Table Toolbar
1670 \begin_inset LatexCommand index
1671 name "Table ! Toolbar"
1672
1673 \end_inset
1674
1675
1676 \end_layout
1677
1678 \begin_layout Standard
1679 The table toolbar is an alternative to the table dialog to be able to alter
1680  tables faster.
1681  It should normally appear at the bottom of LyX's main window when the cursor
1682  is inside a table.
1683  You can alternatively switch it on to appear always, by right-clicking
1684  in LyX's main menu bar.
1685 \end_layout
1686
1687 \begin_layout Standard
1688 The toolbar has the following icons:
1689 \end_layout
1690
1691 \begin_layout Labeling
1692 \labelwidthstring 00.00.0000
1693 \begin_inset Graphics
1694         filename ../images/tabular-feature_append-row.xpm
1695         scaleBeforeRotation
1696
1697 \end_inset
1698
1699  adds a row below the current cell or selection
1700 \end_layout
1701
1702 \begin_layout Labeling
1703 \labelwidthstring 00.00.0000
1704 \begin_inset Graphics
1705         filename ../images/tabular-feature_append-column.xpm
1706         scaleBeforeRotation
1707
1708 \end_inset
1709
1710  adds a column right beside the current cell or selection
1711 \end_layout
1712
1713 \begin_layout Labeling
1714 \labelwidthstring 00.00.0000
1715 \begin_inset Graphics
1716         filename ../images/tabular-feature_delete-row.xpm
1717         scaleBeforeRotation
1718
1719 \end_inset
1720
1721  deletes the current row or selection
1722 \end_layout
1723
1724 \begin_layout Labeling
1725 \labelwidthstring 00.00.0000
1726 \begin_inset Graphics
1727         filename ../images/tabular-feature_delete-column.xpm
1728         scaleBeforeRotation
1729
1730 \end_inset
1731
1732  deletes the current column or selection
1733 \end_layout
1734
1735 \begin_layout Labeling
1736 \labelwidthstring 00.00.0000
1737 \begin_inset Graphics
1738         filename ../images/tabular-feature_toggle-line-top.xpm
1739         scaleBeforeRotation
1740
1741 \end_inset
1742
1743  adds a line at the top of the current cell / row or of a selection
1744 \end_layout
1745
1746 \begin_layout Labeling
1747 \labelwidthstring 00.00.0000
1748 \begin_inset Graphics
1749         filename ../images/tabular-feature_toggle-line-bottom.xpm
1750         scaleBeforeRotation
1751
1752 \end_inset
1753
1754  adds a line at the bottom of the current cell / row or of a selection
1755 \end_layout
1756
1757 \begin_layout Labeling
1758 \labelwidthstring 00.00.0000
1759 \begin_inset Graphics
1760         filename ../images/tabular-feature_toggle-line-left.xpm
1761         scaleBeforeRotation
1762
1763 \end_inset
1764
1765  adds a line at the left side of the current cell / row or of a selection
1766 \end_layout
1767
1768 \begin_layout Labeling
1769 \labelwidthstring 00.00.0000
1770 \begin_inset Graphics
1771         filename ../images/tabular-feature_toggle-line-right.xpm
1772         scaleBeforeRotation
1773
1774 \end_inset
1775
1776  adds a line at the right side of the current cell / row or of a selection
1777 \end_layout
1778
1779 \begin_layout Labeling
1780 \labelwidthstring 00.00.0000
1781 \begin_inset Graphics
1782         filename ../images/tabular-feature_set-all-lines.xpm
1783         scaleBeforeRotation
1784
1785 \end_inset
1786
1787  adds lines around the current or selected cells - if the current cell no
1788  multicolumn this also affects the current row and column
1789 \end_layout
1790
1791 \begin_layout Labeling
1792 \labelwidthstring 00.00.0000
1793 \begin_inset Graphics
1794         filename ../images/tabular-feature_unset-all-lines.xpm
1795         scaleBeforeRotation
1796
1797 \end_inset
1798
1799  deletes all lines of the current or selected cells - if the current cell
1800  no multicolumn this also affects the current row and column
1801 \end_layout
1802
1803 \begin_layout Labeling
1804 \labelwidthstring 00.00.0000
1805 \begin_inset Graphics
1806         filename ../images/tabular-feature_align-left.xpm
1807         scaleBeforeRotation
1808
1809 \end_inset
1810
1811  left-aligns the content of the current cell / column
1812 \end_layout
1813
1814 \begin_layout Labeling
1815 \labelwidthstring 00.00.0000
1816 \begin_inset Graphics
1817         filename ../images/tabular-feature_align-center.xpm
1818         scaleBeforeRotation
1819
1820 \end_inset
1821
1822  centers the content of the current cell / column horizontally
1823 \end_layout
1824
1825 \begin_layout Labeling
1826 \labelwidthstring 00.00.0000
1827 \begin_inset Graphics
1828         filename ../images/tabular-feature_align-right.xpm
1829         scaleBeforeRotation
1830
1831 \end_inset
1832
1833  right-aligns the content of the current cell / column
1834 \end_layout
1835
1836 \begin_layout Labeling
1837 \labelwidthstring 00.00.0000
1838 \begin_inset Graphics
1839         filename ../images/tabular-feature_valign-top.xpm
1840         scaleBeforeRotation
1841
1842 \end_inset
1843
1844  aligns the content of the current cell vertically to the top
1845 \end_layout
1846
1847 \begin_layout Labeling
1848 \labelwidthstring 00.00.0000
1849 \begin_inset Graphics
1850         filename ../images/tabular-feature_valign-middle.xpm
1851         scaleBeforeRotation
1852
1853 \end_inset
1854
1855  centers the content of the current cell vertically
1856 \end_layout
1857
1858 \begin_layout Labeling
1859 \labelwidthstring 00.00.0000
1860 \begin_inset Graphics
1861         filename ../images/tabular-feature_valign-bottom.xpm
1862         scaleBeforeRotation
1863
1864 \end_inset
1865
1866  aligns the content of the current cell vertically to the bottom
1867 \end_layout
1868
1869 \begin_layout Labeling
1870 \labelwidthstring 00.00.0000
1871 \begin_inset Graphics
1872         filename ../images/tabular-feature_set-rotate-cell.xpm
1873         scaleBeforeRotation
1874
1875 \end_inset
1876
1877  rotates the current cell or selection counter-clockwise by 90°
1878 \end_layout
1879
1880 \begin_layout Labeling
1881 \labelwidthstring 00.00.0000
1882 \begin_inset Graphics
1883         filename ../images/tabular-feature_set-rotate-tabular.xpm
1884         scaleBeforeRotation
1885
1886 \end_inset
1887
1888  rotates the whole table counter-clockwise by 90°
1889 \end_layout
1890
1891 \begin_layout Labeling
1892 \labelwidthstring 00.00.0000
1893 \begin_inset Graphics
1894         filename ../images/tabular-feature_multicolumn.xpm
1895         scaleBeforeRotation
1896
1897 \end_inset
1898
1899  sets the current cell or selection as a multicolumn
1900 \end_layout
1901
1902 \begin_layout Standard
1903 \begin_inset Note Greyedout
1904 status open
1905
1906 \begin_layout Standard
1907
1908 \series bold
1909 Note:
1910 \series default
1911  For the output the vertical alignment of the first cell in a row is used
1912  for all following cells in the row.
1913 \end_layout
1914
1915 \end_inset
1916
1917
1918 \end_layout
1919
1920 \begin_layout Section
1921 Edit Table Menu
1922 \begin_inset LatexCommand index
1923 name "Table ! Edit Menu"
1924
1925 \end_inset
1926
1927
1928 \end_layout
1929
1930 \begin_layout Standard
1931 Additionally to the table dialog and toolbar, the menu 
1932 \family sans
1933 Edit\SpecialChar \menuseparator
1934 Table
1935 \family default
1936  allows you to add and delete border lines for the current row/column and
1937  to set the current selection as multicolumn.
1938  The menu is only available when the cursor is inside a table.
1939 \end_layout
1940
1941 \begin_layout Section
1942 Table Floats
1943 \begin_inset LatexCommand label
1944 name "sec:Table-Floats"
1945
1946 \end_inset
1947
1948
1949 \begin_inset LatexCommand index
1950 name "Floats ! Tables"
1951
1952 \end_inset
1953
1954
1955 \begin_inset LatexCommand index
1956 name "Table ! Floats"
1957
1958 \end_inset
1959
1960
1961 \end_layout
1962
1963 \begin_layout Standard
1964 For general explanations about floats, have a look at section\InsetSpace ~
1965
1966 \begin_inset LatexCommand ref
1967 reference "sec:FloatIntroduction"
1968
1969 \end_inset
1970
1971 .
1972 \end_layout
1973
1974 \begin_layout Standard
1975 \begin_inset Float table
1976 placement h
1977 wide false
1978 sideways false
1979 status open
1980
1981 \begin_layout Standard
1982 \begin_inset Caption
1983
1984 \begin_layout Standard
1985 \begin_inset LatexCommand label
1986 name "tab:a table float"
1987
1988 \end_inset
1989
1990 A table float.
1991 \end_layout
1992
1993 \end_inset
1994
1995
1996 \end_layout
1997
1998 \begin_layout Standard
1999 \align center
2000 \begin_inset Tabular
2001 <lyxtabular version="3" rows="3" columns="3">
2002 <features>
2003 <column alignment="center" valignment="top" leftline="true" width="0pt">
2004 <column alignment="center" valignment="top" leftline="true" width="0pt">
2005 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
2006 <row topline="true" bottomline="true">
2007 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2008 \begin_inset Text
2009
2010 \begin_layout Standard
2011
2012 \family roman
2013 \series medium
2014 \shape up
2015 \size normal
2016 \emph off
2017 \bar no
2018 \noun off
2019 \color none
2020 1
2021 \end_layout
2022
2023 \end_inset
2024 </cell>
2025 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2026 \begin_inset Text
2027
2028 \begin_layout Standard
2029
2030 \family roman
2031 \series medium
2032 \shape up
2033 \size normal
2034 \emph off
2035 \bar no
2036 \noun off
2037 \color none
2038 2
2039 \end_layout
2040
2041 \end_inset
2042 </cell>
2043 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2044 \begin_inset Text
2045
2046 \begin_layout Standard
2047
2048 \family roman
2049 \series medium
2050 \shape up
2051 \size normal
2052 \emph off
2053 \bar no
2054 \noun off
2055 \color none
2056 3
2057 \end_layout
2058
2059 \end_inset
2060 </cell>
2061 </row>
2062 <row topline="true">
2063 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2064 \begin_inset Text
2065
2066 \begin_layout Standard
2067
2068 \family roman
2069 \series medium
2070 \shape up
2071 \size normal
2072 \emph off
2073 \bar no
2074 \noun off
2075 \color none
2076 Joe
2077 \end_layout
2078
2079 \end_inset
2080 </cell>
2081 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2082 \begin_inset Text
2083
2084 \begin_layout Standard
2085
2086 \family roman
2087 \series medium
2088 \shape up
2089 \size normal
2090 \emph off
2091 \bar no
2092 \noun off
2093 \color none
2094 Mary
2095 \end_layout
2096
2097 \end_inset
2098 </cell>
2099 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2100 \begin_inset Text
2101
2102 \begin_layout Standard
2103
2104 \family roman
2105 \series medium
2106 \shape up
2107 \size normal
2108 \emph off
2109 \bar no
2110 \noun off
2111 \color none
2112 Ted
2113 \end_layout
2114
2115 \end_inset
2116 </cell>
2117 </row>
2118 <row topline="true" bottomline="true">
2119 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2120 \begin_inset Text
2121
2122 \begin_layout Standard
2123
2124 \family roman
2125 \series medium
2126 \shape up
2127 \size normal
2128 \emph off
2129 \bar no
2130 \noun off
2131 \color none
2132 \begin_inset Formula $\int x^{2}dx$
2133 \end_inset
2134
2135
2136 \end_layout
2137
2138 \end_inset
2139 </cell>
2140 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2141 \begin_inset Text
2142
2143 \begin_layout Standard
2144
2145 \family roman
2146 \series medium
2147 \shape up
2148 \size normal
2149 \emph off
2150 \bar no
2151 \noun off
2152 \color none
2153 \begin_inset Formula $\left[\begin{array}{cc}
2154 a & b\\
2155 c & d\end{array}\right]$
2156 \end_inset
2157
2158
2159 \end_layout
2160
2161 \end_inset
2162 </cell>
2163 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2164 \begin_inset Text
2165
2166 \begin_layout Standard
2167
2168 \family roman
2169 \series medium
2170 \shape up
2171 \size normal
2172 \emph off
2173 \bar no
2174 \noun off
2175 \color none
2176 \begin_inset Formula $1+1=2$
2177 \end_inset
2178
2179
2180 \end_layout
2181
2182 \end_inset
2183 </cell>
2184 </row>
2185 </lyxtabular>
2186
2187 \end_inset
2188
2189
2190 \end_layout
2191
2192 \end_inset
2193
2194
2195 \end_layout
2196
2197 \begin_layout Standard
2198 Table floats can be inserted using the menu 
2199 \family sans
2200 Insert\SpecialChar \menuseparator
2201 Float\SpecialChar \menuseparator
2202 Table
2203 \family default
2204  or the toolbar button 
2205 \begin_inset Graphics
2206         filename ../images/float-insert_table.xpm
2207         scale 85
2208         scaleBeforeRotation
2209
2210 \end_inset
2211
2212 .
2213 \end_layout
2214
2215 \begin_layout Standard
2216 The float appears as a collapsible box with a caption that has the label
2217  
2218 \begin_inset Quotes eld
2219 \end_inset
2220
2221 Table\InsetSpace ~
2222 #:
2223 \begin_inset Quotes erd
2224 \end_inset
2225
2226  (# is the actual table number).
2227  You can insert tables to the float above or below the caption.
2228 \end_layout
2229
2230 \begin_layout Standard
2231 Table\InsetSpace ~
2232
2233 \begin_inset LatexCommand ref
2234 reference "tab:a table float"
2235
2236 \end_inset
2237
2238  is an example table within a table float.
2239 \end_layout
2240
2241 \begin_layout Standard
2242 Having the caption above the table is the common rule that is unfortunately
2243  not supported in LaTeX's standard classes.
2244  That means if you are using the document classes 
2245 \family sans
2246 article
2247 \family default
2248
2249 \family sans
2250 book
2251 \family default
2252
2253 \family sans
2254 letter
2255 \family default
2256 , or 
2257 \family sans
2258 report
2259 \family default
2260  there will be no space between the caption and the table.
2261  To insert the needed space, add the following option to the load command
2262  of the LaTeX-package 
2263 \series bold
2264 caption
2265 \series default
2266
2267 \begin_inset LatexCommand index
2268 name "LaTeX-packages ! caption"
2269
2270 \end_inset
2271
2272  in your document preamble
2273 \begin_inset Foot
2274 status collapsed
2275
2276 \begin_layout Standard
2277 For more information have a look at section\InsetSpace ~
2278
2279 \begin_inset LatexCommand ref
2280 reference "sec:Caption-Placement"
2281
2282 \end_inset
2283
2284 .
2285 \end_layout
2286
2287 \end_inset
2288
2289 :
2290 \end_layout
2291
2292 \begin_layout Standard
2293
2294 \series bold
2295 tableposition=top
2296 \end_layout
2297
2298 \begin_layout Standard
2299 The package 
2300 \series bold
2301 caption
2302 \series default
2303 , which is described in section\InsetSpace ~
2304
2305 \begin_inset LatexCommand ref
2306 reference "sec:Caption-Formatting"
2307
2308 \end_inset
2309
2310 , is used to adjust the caption format.
2311 \end_layout
2312
2313 \begin_layout Standard
2314 \begin_inset LatexCommand index
2315 name "References ! to Tables"
2316
2317 \end_inset
2318
2319 Tables can be cross-referenced in the text by referencing their label.
2320  To do this insert a label in the caption using the menu 
2321 \family sans
2322 Insert\SpecialChar \menuseparator
2323 Label
2324 \family default
2325  or the toolbar button 
2326 \begin_inset Graphics
2327         filename ../images/label-insert.xpm
2328         scale 85
2329         scaleBeforeRotation
2330
2331 \end_inset
2332
2333 .
2334  You can now refer to the label using the menu 
2335 \family sans
2336 Insert\SpecialChar \menuseparator
2337 Cross\InsetSpace ~
2338 reference
2339 \family default
2340  or the toolbar button 
2341 \begin_inset Graphics
2342         filename ../images/dialog-show-new-inset_ref.xpm
2343         scale 85
2344         scaleBeforeRotation
2345
2346 \end_inset
2347
2348 .
2349 \newline
2350 Referencing is explained in detail in section\InsetSpace ~
2351
2352 \begin_inset LatexCommand ref
2353 reference "sec:Referencing-Floats"
2354
2355 \end_inset
2356
2357 .
2358 \end_layout
2359
2360 \begin_layout Section
2361 Longtables
2362 \begin_inset LatexCommand label
2363 name "sec:Longtables"
2364
2365 \end_inset
2366
2367
2368 \begin_inset LatexCommand index
2369 name "Longtables"
2370
2371 \end_inset
2372
2373
2374 \begin_inset LatexCommand index
2375 name "Table ! Longtables"
2376
2377 \end_inset
2378
2379
2380 \end_layout
2381
2382 \begin_layout Standard
2383 If the table is too long to fit on one page, you can use the option 
2384 \family sans
2385 Use\InsetSpace ~
2386 long\InsetSpace ~
2387 table
2388 \family default
2389  in the tab 
2390 \family sans
2391 Longtable
2392 \family default
2393  of the table dialog to split the table automatically over more pages.
2394  Doing this enables some check boxes and you can now define:
2395 \end_layout
2396
2397 \begin_layout Description
2398
2399 \family sans
2400 Header
2401 \family default
2402 : The current row and all rows above, that don't have any special options
2403  defined, are defined to be the header rows of all pages of the longtable;
2404  except for the first page, if 
2405 \family sans
2406 First\InsetSpace ~
2407 header
2408 \family default
2409  is defined.
2410  This therefore called the main header.
2411 \end_layout
2412
2413 \begin_layout Description
2414
2415 \family sans
2416 First\InsetSpace ~
2417 header
2418 \family default
2419 : The current row and all rows above, that don't have any special options
2420  defined, are defined to be the header rows of the first page of the longtable.
2421 \end_layout
2422
2423 \begin_layout Description
2424
2425 \family sans
2426 Footer
2427 \family default
2428 : The current row and all rows below, that don't have any special options
2429  defined, are defined to be the footer rows of all pages of the longtable;
2430  except for the last page, if 
2431 \family sans
2432 Last\InsetSpace ~
2433 footer
2434 \family default
2435  is defined.
2436 \end_layout
2437
2438 \begin_layout Description
2439
2440 \family sans
2441 Last\InsetSpace ~
2442 footer
2443 \family default
2444 : The current row and all rows below, that don't have any special options
2445  defined, are defined to be the footer rows of the last page of the longtable.
2446 \end_layout
2447
2448 \begin_layout Standard
2449 You can also specify a row where the table is splitted.
2450  If you set more than one option in the same table row, you should be aware
2451  of the fact that only the first one is used in the given table row.
2452  The others will then be defined as 
2453 \emph on
2454 empty
2455 \emph default
2456 .
2457  In this context, first means first in this order: 
2458 \family sans
2459 Header,
2460 \family default
2461  
2462 \family sans
2463 First\InsetSpace ~
2464 header, Footer, Last\InsetSpace ~
2465 footer.
2466
2467 \family default
2468  See the following longtable to see how it works:
2469 \end_layout
2470
2471 \begin_layout Standard
2472 \align center
2473 \begin_inset Tabular
2474 <lyxtabular version="3" rows="69" columns="3">
2475 <features islongtable="true">
2476 <column alignment="left" valignment="top" leftline="true" width="0cm">
2477 <column alignment="left" valignment="top" width="0pt">
2478 <column alignment="right" valignment="top" leftline="true" rightline="true" width="0pt">
2479 <row topline="true" bottomline="true" endfirsthead="true">
2480 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2481 \begin_inset Text
2482
2483 \begin_layout Standard
2484
2485 \series bold
2486 Example Phone List (ignore the names)
2487 \end_layout
2488
2489 \end_inset
2490 </cell>
2491 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2492 \begin_inset Text
2493
2494 \begin_layout Standard
2495
2496 \end_layout
2497
2498 \end_inset
2499 </cell>
2500 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2501 \begin_inset Text
2502
2503 \begin_layout Standard
2504
2505 \end_layout
2506
2507 \end_inset
2508 </cell>
2509 </row>
2510 <row topline="true" bottomline="true" endfirsthead="true">
2511 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2512 \begin_inset Text
2513
2514 \begin_layout Standard
2515
2516 \series bold
2517 NAME
2518 \end_layout
2519
2520 \end_inset
2521 </cell>
2522 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2523 \begin_inset Text
2524
2525 \begin_layout Standard
2526
2527 \end_layout
2528
2529 \end_inset
2530 </cell>
2531 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2532 \begin_inset Text
2533
2534 \begin_layout Standard
2535
2536 \series bold
2537 TEL.
2538 \end_layout
2539
2540 \end_inset
2541 </cell>
2542 </row>
2543 <row topline="true" bottomline="true" endhead="true">
2544 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2545 \begin_inset Text
2546
2547 \begin_layout Standard
2548
2549 \series bold
2550 Example Phone List
2551 \end_layout
2552
2553 \end_inset
2554 </cell>
2555 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2556 \begin_inset Text
2557
2558 \begin_layout Standard
2559
2560 \end_layout
2561
2562 \end_inset
2563 </cell>
2564 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2565 \begin_inset Text
2566
2567 \begin_layout Standard
2568
2569 \end_layout
2570
2571 \end_inset
2572 </cell>
2573 </row>
2574 <row topline="true" bottomline="true" endhead="true">
2575 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2576 \begin_inset Text
2577
2578 \begin_layout Standard
2579
2580 \series bold
2581 NAME
2582 \end_layout
2583
2584 \end_inset
2585 </cell>
2586 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2587 \begin_inset Text
2588
2589 \begin_layout Standard
2590
2591 \end_layout
2592
2593 \end_inset
2594 </cell>
2595 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2596 \begin_inset Text
2597
2598 \begin_layout Standard
2599
2600 \series bold
2601 TEL.
2602 \end_layout
2603
2604 \end_inset
2605 </cell>
2606 </row>
2607 <row topline="true" bottomline="true" endfoot="true">
2608 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
2609 \begin_inset Text
2610
2611 \begin_layout Standard
2612  continued on next page
2613 \end_layout
2614
2615 \end_inset
2616 </cell>
2617 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2618 \begin_inset Text
2619
2620 \begin_layout Standard
2621
2622 \end_layout
2623
2624 \end_inset
2625 </cell>
2626 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2627 \begin_inset Text
2628
2629 \begin_layout Standard
2630
2631 \end_layout
2632
2633 \end_inset
2634 </cell>
2635 </row>
2636 <row>
2637 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2638 \begin_inset Text
2639
2640 \begin_layout Standard
2641
2642 \series bold
2643 Annovi
2644 \end_layout
2645
2646 \end_inset
2647 </cell>
2648 <cell alignment="center" valignment="top" topline="true" usebox="none">
2649 \begin_inset Text
2650
2651 \begin_layout Standard
2652 Silvia
2653 \end_layout
2654
2655 \end_inset
2656 </cell>
2657 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2658 \begin_inset Text
2659
2660 \begin_layout Standard
2661 111
2662 \end_layout
2663
2664 \end_inset
2665 </cell>
2666 </row>
2667 <row>
2668 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2669 \begin_inset Text
2670
2671 \begin_layout Standard
2672
2673 \series bold
2674 Bertoli
2675 \end_layout
2676
2677 \end_inset
2678 </cell>
2679 <cell alignment="center" valignment="top" topline="true" usebox="none">
2680 \begin_inset Text
2681
2682 \begin_layout Standard
2683 Stefano
2684 \end_layout
2685
2686 \end_inset
2687 </cell>
2688 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2689 \begin_inset Text
2690
2691 \begin_layout Standard
2692 111
2693 \end_layout
2694
2695 \end_inset
2696 </cell>
2697 </row>
2698 <row>
2699 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2700 \begin_inset Text
2701
2702 \begin_layout Standard
2703
2704 \series bold
2705 Bozzi
2706 \end_layout
2707
2708 \end_inset
2709 </cell>
2710 <cell alignment="center" valignment="top" topline="true" usebox="none">
2711 \begin_inset Text
2712
2713 \begin_layout Standard
2714 Walter
2715 \end_layout
2716
2717 \end_inset
2718 </cell>
2719 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2720 \begin_inset Text
2721
2722 \begin_layout Standard
2723 111
2724 \end_layout
2725
2726 \end_inset
2727 </cell>
2728 </row>
2729 <row>
2730 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2731 \begin_inset Text
2732
2733 \begin_layout Standard
2734
2735 \series bold
2736 Cachia
2737 \end_layout
2738
2739 \end_inset
2740 </cell>
2741 <cell alignment="center" valignment="top" topline="true" usebox="none">
2742 \begin_inset Text
2743
2744 \begin_layout Standard
2745 Maria
2746 \end_layout
2747
2748 \end_inset
2749 </cell>
2750 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2751 \begin_inset Text
2752
2753 \begin_layout Standard
2754 111
2755 \end_layout
2756
2757 \end_inset
2758 </cell>
2759 </row>
2760 <row>
2761 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2762 \begin_inset Text
2763
2764 \begin_layout Standard
2765
2766 \series bold
2767 Cachia
2768 \end_layout
2769
2770 \end_inset
2771 </cell>
2772 <cell alignment="center" valignment="top" topline="true" usebox="none">
2773 \begin_inset Text
2774
2775 \begin_layout Standard
2776 Maurizio
2777 \end_layout
2778
2779 \end_inset
2780 </cell>
2781 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2782 \begin_inset Text
2783
2784 \begin_layout Standard
2785 111
2786 \end_layout
2787
2788 \end_inset
2789 </cell>
2790 </row>
2791 <row>
2792 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2793 \begin_inset Text
2794
2795 \begin_layout Standard
2796
2797 \series bold
2798 Cinquemani
2799 \end_layout
2800
2801 \end_inset
2802 </cell>
2803 <cell alignment="center" valignment="top" topline="true" usebox="none">
2804 \begin_inset Text
2805
2806 \begin_layout Standard
2807 Giusi
2808 \end_layout
2809
2810 \end_inset
2811 </cell>
2812 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2813 \begin_inset Text
2814
2815 \begin_layout Standard
2816 111
2817 \end_layout
2818
2819 \end_inset
2820 </cell>
2821 </row>
2822 <row>
2823 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2824 \begin_inset Text
2825
2826 \begin_layout Standard
2827
2828 \series bold
2829 Colin
2830 \end_layout
2831
2832 \end_inset
2833 </cell>
2834 <cell alignment="center" valignment="top" topline="true" usebox="none">
2835 \begin_inset Text
2836
2837 \begin_layout Standard
2838 Bernard
2839 \end_layout
2840
2841 \end_inset
2842 </cell>
2843 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2844 \begin_inset Text
2845
2846 \begin_layout Standard
2847 111
2848 \end_layout
2849
2850 \end_inset
2851 </cell>
2852 </row>
2853 <row>
2854 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2855 \begin_inset Text
2856
2857 \begin_layout Standard
2858
2859 \series bold
2860 Concli
2861 \end_layout
2862
2863 \end_inset
2864 </cell>
2865 <cell alignment="center" valignment="top" topline="true" usebox="none">
2866 \begin_inset Text
2867
2868 \begin_layout Standard
2869 Gianfranco
2870 \end_layout
2871
2872 \end_inset
2873 </cell>
2874 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2875 \begin_inset Text
2876
2877 \begin_layout Standard
2878 111
2879 \end_layout
2880
2881 \end_inset
2882 </cell>
2883 </row>
2884 <row>
2885 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2886 \begin_inset Text
2887
2888 \begin_layout Standard
2889
2890 \series bold
2891 Dal Bosco
2892 \end_layout
2893
2894 \end_inset
2895 </cell>
2896 <cell alignment="center" valignment="top" topline="true" usebox="none">
2897 \begin_inset Text
2898
2899 \begin_layout Standard
2900 Carolina
2901 \end_layout
2902
2903 \end_inset
2904 </cell>
2905 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2906 \begin_inset Text
2907
2908 \begin_layout Standard
2909 111
2910 \end_layout
2911
2912 \end_inset
2913 </cell>
2914 </row>
2915 <row>
2916 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2917 \begin_inset Text
2918
2919 \begin_layout Standard
2920
2921 \series bold
2922 Dalpiaz
2923 \end_layout
2924
2925 \end_inset
2926 </cell>
2927 <cell alignment="center" valignment="top" topline="true" usebox="none">
2928 \begin_inset Text
2929
2930 \begin_layout Standard
2931 Annamaria
2932 \end_layout
2933
2934 \end_inset
2935 </cell>
2936 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2937 \begin_inset Text
2938
2939 \begin_layout Standard
2940 111
2941 \end_layout
2942
2943 \end_inset
2944 </cell>
2945 </row>
2946 <row>
2947 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2948 \begin_inset Text
2949
2950 \begin_layout Standard
2951
2952 \series bold
2953 Feliciello
2954 \end_layout
2955
2956 \end_inset
2957 </cell>
2958 <cell alignment="center" valignment="top" topline="true" usebox="none">
2959 \begin_inset Text
2960
2961 \begin_layout Standard
2962 Domenico
2963 \end_layout
2964
2965 \end_inset
2966 </cell>
2967 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2968 \begin_inset Text
2969
2970 \begin_layout Standard
2971 111
2972 \end_layout
2973
2974 \end_inset
2975 </cell>
2976 </row>
2977 <row>
2978 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2979 \begin_inset Text
2980
2981 \begin_layout Standard
2982
2983 \series bold
2984 Focarelli
2985 \end_layout
2986
2987 \end_inset
2988 </cell>
2989 <cell alignment="center" valignment="top" topline="true" usebox="none">
2990 \begin_inset Text
2991
2992 \begin_layout Standard
2993 Paola
2994 \end_layout
2995
2996 \end_inset
2997 </cell>
2998 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2999 \begin_inset Text
3000
3001 \begin_layout Standard
3002 111
3003 \end_layout
3004
3005 \end_inset
3006 </cell>
3007 </row>
3008 <row>
3009 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3010 \begin_inset Text
3011
3012 \begin_layout Standard
3013
3014 \series bold
3015 Galletti
3016 \end_layout
3017
3018 \end_inset
3019 </cell>
3020 <cell alignment="center" valignment="top" topline="true" usebox="none">
3021 \begin_inset Text
3022
3023 \begin_layout Standard
3024 Oreste
3025 \end_layout
3026
3027 \end_inset
3028 </cell>
3029 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3030 \begin_inset Text
3031
3032 \begin_layout Standard
3033 111
3034 \end_layout
3035
3036 \end_inset
3037 </cell>
3038 </row>
3039 <row>
3040 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3041 \begin_inset Text
3042
3043 \begin_layout Standard
3044
3045 \series bold
3046 Gasparini
3047 \end_layout
3048
3049 \end_inset
3050 </cell>
3051 <cell alignment="center" valignment="top" topline="true" usebox="none">
3052 \begin_inset Text
3053
3054 \begin_layout Standard
3055 Franca
3056 \end_layout
3057
3058 \end_inset
3059 </cell>
3060 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3061 \begin_inset Text
3062
3063 \begin_layout Standard
3064 111
3065 \end_layout
3066
3067 \end_inset
3068 </cell>
3069 </row>
3070 <row>
3071 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3072 \begin_inset Text
3073
3074 \begin_layout Standard
3075
3076 \series bold
3077 Rizzardi
3078 \end_layout
3079
3080 \end_inset
3081 </cell>
3082 <cell alignment="center" valignment="top" topline="true" usebox="none">
3083 \begin_inset Text
3084
3085 \begin_layout Standard
3086 Paola
3087 \end_layout
3088
3089 \end_inset
3090 </cell>
3091 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3092 \begin_inset Text
3093
3094 \begin_layout Standard
3095 111
3096 \end_layout
3097
3098 \end_inset
3099 </cell>
3100 </row>
3101 <row>
3102 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3103 \begin_inset Text
3104
3105 \begin_layout Standard
3106
3107 \series bold
3108 Lassini
3109 \end_layout
3110
3111 \end_inset
3112 </cell>
3113 <cell alignment="center" valignment="top" topline="true" usebox="none">
3114 \begin_inset Text
3115
3116 \begin_layout Standard
3117 Giancarlo
3118 \end_layout
3119
3120 \end_inset
3121 </cell>
3122 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3123 \begin_inset Text
3124
3125 \begin_layout Standard
3126 111
3127 \end_layout
3128
3129 \end_inset
3130 </cell>
3131 </row>
3132 <row>
3133 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3134 \begin_inset Text
3135
3136 \begin_layout Standard
3137
3138 \series bold
3139 Malfatti
3140 \end_layout
3141
3142 \end_inset
3143 </cell>
3144 <cell alignment="center" valignment="top" topline="true" usebox="none">
3145 \begin_inset Text
3146
3147 \begin_layout Standard
3148 Luciano
3149 \end_layout
3150
3151 \end_inset
3152 </cell>
3153 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3154 \begin_inset Text
3155
3156 \begin_layout Standard
3157 111
3158 \end_layout
3159
3160 \end_inset
3161 </cell>
3162 </row>
3163 <row>
3164 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3165 \begin_inset Text
3166
3167 \begin_layout Standard
3168
3169 \series bold
3170 Malfatti
3171 \end_layout
3172
3173 \end_inset
3174 </cell>
3175 <cell alignment="center" valignment="top" topline="true" usebox="none">
3176 \begin_inset Text
3177
3178 \begin_layout Standard
3179 Valeriano
3180 \end_layout
3181
3182 \end_inset
3183 </cell>
3184 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3185 \begin_inset Text
3186
3187 \begin_layout Standard
3188 111
3189 \end_layout
3190
3191 \end_inset
3192 </cell>
3193 </row>
3194 <row>
3195 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3196 \begin_inset Text
3197
3198 \begin_layout Standard
3199
3200 \series bold
3201 Meneguzzo
3202 \end_layout
3203
3204 \end_inset
3205 </cell>
3206 <cell alignment="center" valignment="top" topline="true" usebox="none">
3207 \begin_inset Text
3208
3209 \begin_layout Standard
3210 Roberto
3211 \end_layout
3212
3213 \end_inset
3214 </cell>
3215 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3216 \begin_inset Text
3217
3218 \begin_layout Standard
3219 111
3220 \end_layout
3221
3222 \end_inset
3223 </cell>
3224 </row>
3225 <row>
3226 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3227 \begin_inset Text
3228
3229 \begin_layout Standard
3230
3231 \series bold
3232 Mezzadra
3233 \end_layout
3234
3235 \end_inset
3236 </cell>
3237 <cell alignment="center" valignment="top" topline="true" usebox="none">
3238 \begin_inset Text
3239
3240 \begin_layout Standard
3241 Roberto
3242 \end_layout
3243
3244 \end_inset
3245 </cell>
3246 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3247 \begin_inset Text
3248
3249 \begin_layout Standard
3250 111
3251 \end_layout
3252
3253 \end_inset
3254 </cell>
3255 </row>
3256 <row>
3257 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3258 \begin_inset Text
3259
3260 \begin_layout Standard
3261
3262 \series bold
3263 Pirpamer
3264 \end_layout
3265
3266 \end_inset
3267 </cell>
3268 <cell alignment="center" valignment="top" topline="true" usebox="none">
3269 \begin_inset Text
3270
3271 \begin_layout Standard
3272 Erich
3273 \end_layout
3274
3275 \end_inset
3276 </cell>
3277 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3278 \begin_inset Text
3279
3280 \begin_layout Standard
3281 111
3282 \end_layout
3283
3284 \end_inset
3285 </cell>
3286 </row>
3287 <row>
3288 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3289 \begin_inset Text
3290
3291 \begin_layout Standard
3292
3293 \series bold
3294 Pochiesa
3295 \end_layout
3296
3297 \end_inset
3298 </cell>
3299 <cell alignment="center" valignment="top" topline="true" usebox="none">
3300 \begin_inset Text
3301
3302 \begin_layout Standard
3303 Paolo
3304 \end_layout
3305
3306 \end_inset
3307 </cell>
3308 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3309 \begin_inset Text
3310
3311 \begin_layout Standard
3312 111, 222
3313 \end_layout
3314
3315 \end_inset
3316 </cell>
3317 </row>
3318 <row>
3319 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3320 \begin_inset Text
3321
3322 \begin_layout Standard
3323
3324 \series bold
3325 Radina
3326 \end_layout
3327
3328 \end_inset
3329 </cell>
3330 <cell alignment="center" valignment="top" topline="true" usebox="none">
3331 \begin_inset Text
3332
3333 \begin_layout Standard
3334 Claudio
3335 \end_layout
3336
3337 \end_inset
3338 </cell>
3339 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3340 \begin_inset Text
3341
3342 \begin_layout Standard
3343 111
3344 \end_layout
3345
3346 \end_inset
3347 </cell>
3348 </row>
3349 <row>
3350 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3351 \begin_inset Text
3352
3353 \begin_layout Standard
3354
3355 \series bold
3356 Stuffer
3357 \end_layout
3358
3359 \end_inset
3360 </cell>
3361 <cell alignment="center" valignment="top" topline="true" usebox="none">
3362 \begin_inset Text
3363
3364 \begin_layout Standard
3365 Oskar
3366 \end_layout
3367
3368 \end_inset
3369 </cell>
3370 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3371 \begin_inset Text
3372
3373 \begin_layout Standard
3374 111
3375 \end_layout
3376
3377 \end_inset
3378 </cell>
3379 </row>
3380 <row>
3381 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3382 \begin_inset Text
3383
3384 \begin_layout Standard
3385
3386 \series bold
3387 Tacchelli
3388 \end_layout
3389
3390 \end_inset
3391 </cell>
3392 <cell alignment="center" valignment="top" topline="true" usebox="none">
3393 \begin_inset Text
3394
3395 \begin_layout Standard
3396 Ugo
3397 \end_layout
3398
3399 \end_inset
3400 </cell>
3401 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3402 \begin_inset Text
3403
3404 \begin_layout Standard
3405 111
3406 \end_layout
3407
3408 \end_inset
3409 </cell>
3410 </row>
3411 <row>
3412 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3413 \begin_inset Text
3414
3415 \begin_layout Standard
3416
3417 \series bold
3418 Tezzele
3419 \end_layout
3420
3421 \end_inset
3422 </cell>
3423 <cell alignment="center" valignment="top" topline="true" usebox="none">
3424 \begin_inset Text
3425
3426 \begin_layout Standard
3427 Margit
3428 \end_layout
3429
3430 \end_inset
3431 </cell>
3432 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3433 \begin_inset Text
3434
3435 \begin_layout Standard
3436 111
3437 \end_layout
3438
3439 \end_inset
3440 </cell>
3441 </row>
3442 <row>
3443 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3444 \begin_inset Text
3445
3446 \begin_layout Standard
3447
3448 \series bold
3449 Unterkalmsteiner
3450 \end_layout
3451
3452 \end_inset
3453 </cell>
3454 <cell alignment="center" valignment="top" topline="true" usebox="none">
3455 \begin_inset Text
3456
3457 \begin_layout Standard
3458 Frieda
3459 \end_layout
3460
3461 \end_inset
3462 </cell>
3463 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3464 \begin_inset Text
3465
3466 \begin_layout Standard
3467 111
3468 \end_layout
3469
3470 \end_inset
3471 </cell>
3472 </row>
3473 <row>
3474 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3475 \begin_inset Text
3476
3477 \begin_layout Standard
3478
3479 \series bold
3480 Vieider
3481 \end_layout
3482
3483 \end_inset
3484 </cell>
3485 <cell alignment="center" valignment="top" topline="true" usebox="none">
3486 \begin_inset Text
3487
3488 \begin_layout Standard
3489 Hilde
3490 \end_layout
3491
3492 \end_inset
3493 </cell>
3494 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3495 \begin_inset Text
3496
3497 \begin_layout Standard
3498 111
3499 \end_layout
3500
3501 \end_inset
3502 </cell>
3503 </row>
3504 <row>
3505 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3506 \begin_inset Text
3507
3508 \begin_layout Standard
3509
3510 \series bold
3511 Vigna
3512 \end_layout
3513
3514 \end_inset
3515 </cell>
3516 <cell alignment="center" valignment="top" topline="true" usebox="none">
3517 \begin_inset Text
3518
3519 \begin_layout Standard
3520 Jürgen
3521 \end_layout
3522
3523 \end_inset
3524 </cell>
3525 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3526 \begin_inset Text
3527
3528 \begin_layout Standard
3529 111
3530 \end_layout
3531
3532 \end_inset
3533 </cell>
3534 </row>
3535 <row>
3536 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3537 \begin_inset Text
3538
3539 \begin_layout Standard
3540
3541 \series bold
3542 Weber
3543 \end_layout
3544
3545 \end_inset
3546 </cell>
3547 <cell alignment="center" valignment="top" topline="true" usebox="none">
3548 \begin_inset Text
3549
3550 \begin_layout Standard
3551 Maurizio
3552 \end_layout
3553
3554 \end_inset
3555 </cell>
3556 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3557 \begin_inset Text
3558
3559 \begin_layout Standard
3560 111
3561 \end_layout
3562
3563 \end_inset
3564 </cell>
3565 </row>
3566 <row bottomline="true">
3567 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3568 \begin_inset Text
3569
3570 \begin_layout Standard
3571
3572 \series bold
3573 Winkler
3574 \end_layout
3575
3576 \end_inset
3577 </cell>
3578 <cell alignment="center" valignment="top" topline="true" usebox="none">
3579 \begin_inset Text
3580
3581 \begin_layout Standard
3582 Franz
3583 \end_layout
3584
3585 \end_inset
3586 </cell>
3587 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3588 \begin_inset Text
3589
3590 \begin_layout Standard
3591 111
3592 \end_layout
3593
3594 \end_inset
3595 </cell>
3596 </row>
3597 <row bottomline="true">
3598 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3599 \begin_inset Text
3600
3601 \begin_layout Standard
3602  
3603 \end_layout
3604
3605 \end_inset
3606 </cell>
3607 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
3608 \begin_inset Text
3609
3610 \begin_layout Standard
3611
3612 \end_layout
3613
3614 \end_inset
3615 </cell>
3616 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3617 \begin_inset Text
3618
3619 \begin_layout Standard
3620
3621 \end_layout
3622
3623 \end_inset
3624 </cell>
3625 </row>
3626 <row>
3627 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3628 \begin_inset Text
3629
3630 \begin_layout Standard
3631
3632 \series bold
3633 Annovi
3634 \end_layout
3635
3636 \end_inset
3637 </cell>
3638 <cell alignment="center" valignment="top" topline="true" usebox="none">
3639 \begin_inset Text
3640
3641 \begin_layout Standard
3642 Silvia
3643 \end_layout
3644
3645 \end_inset
3646 </cell>
3647 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3648 \begin_inset Text
3649
3650 \begin_layout Standard
3651 555
3652 \end_layout
3653
3654 \end_inset
3655 </cell>
3656 </row>
3657 <row>
3658 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3659 \begin_inset Text
3660
3661 \begin_layout Standard
3662
3663 \series bold
3664 Bertoli
3665 \end_layout
3666
3667 \end_inset
3668 </cell>
3669 <cell alignment="center" valignment="top" topline="true" usebox="none">
3670 \begin_inset Text
3671
3672 \begin_layout Standard
3673 Stefano
3674 \end_layout
3675
3676 \end_inset
3677 </cell>
3678 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3679 \begin_inset Text
3680
3681 \begin_layout Standard
3682 555
3683 \end_layout
3684
3685 \end_inset
3686 </cell>
3687 </row>
3688 <row>
3689 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3690 \begin_inset Text
3691
3692 \begin_layout Standard
3693
3694 \series bold
3695 Bozzi
3696 \end_layout
3697
3698 \end_inset
3699 </cell>
3700 <cell alignment="center" valignment="top" topline="true" usebox="none">
3701 \begin_inset Text
3702
3703 \begin_layout Standard
3704 Walter
3705 \end_layout
3706
3707 \end_inset
3708 </cell>
3709 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3710 \begin_inset Text
3711
3712 \begin_layout Standard
3713 555
3714 \end_layout
3715
3716 \end_inset
3717 </cell>
3718 </row>
3719 <row>
3720 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3721 \begin_inset Text
3722
3723 \begin_layout Standard
3724
3725 \series bold
3726 Cachia
3727 \end_layout
3728
3729 \end_inset
3730 </cell>
3731 <cell alignment="center" valignment="top" topline="true" usebox="none">
3732 \begin_inset Text
3733
3734 \begin_layout Standard
3735 Maria
3736 \end_layout
3737
3738 \end_inset
3739 </cell>
3740 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3741 \begin_inset Text
3742
3743 \begin_layout Standard
3744 555
3745 \end_layout
3746
3747 \end_inset
3748 </cell>
3749 </row>
3750 <row>
3751 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3752 \begin_inset Text
3753
3754 \begin_layout Standard
3755
3756 \series bold
3757 Cachia
3758 \end_layout
3759
3760 \end_inset
3761 </cell>
3762 <cell alignment="center" valignment="top" topline="true" usebox="none">
3763 \begin_inset Text
3764
3765 \begin_layout Standard
3766 Maurizio
3767 \end_layout
3768
3769 \end_inset
3770 </cell>
3771 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3772 \begin_inset Text
3773
3774 \begin_layout Standard
3775 555
3776 \end_layout
3777
3778 \end_inset
3779 </cell>
3780 </row>
3781 <row>
3782 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3783 \begin_inset Text
3784
3785 \begin_layout Standard
3786
3787 \series bold
3788 Cinquemani
3789 \end_layout
3790
3791 \end_inset
3792 </cell>
3793 <cell alignment="center" valignment="top" topline="true" usebox="none">
3794 \begin_inset Text
3795
3796 \begin_layout Standard
3797 Giusi
3798 \end_layout
3799
3800 \end_inset
3801 </cell>
3802 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3803 \begin_inset Text
3804
3805 \begin_layout Standard
3806 555
3807 \end_layout
3808
3809 \end_inset
3810 </cell>
3811 </row>
3812 <row>
3813 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3814 \begin_inset Text
3815
3816 \begin_layout Standard
3817
3818 \series bold
3819 Colin
3820 \end_layout
3821
3822 \end_inset
3823 </cell>
3824 <cell alignment="center" valignment="top" topline="true" usebox="none">
3825 \begin_inset Text
3826
3827 \begin_layout Standard
3828 Bernard
3829 \end_layout
3830
3831 \end_inset
3832 </cell>
3833 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3834 \begin_inset Text
3835
3836 \begin_layout Standard
3837 555
3838 \end_layout
3839
3840 \end_inset
3841 </cell>
3842 </row>
3843 <row>
3844 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3845 \begin_inset Text
3846
3847 \begin_layout Standard
3848
3849 \series bold
3850 Concli
3851 \end_layout
3852
3853 \end_inset
3854 </cell>
3855 <cell alignment="center" valignment="top" topline="true" usebox="none">
3856 \begin_inset Text
3857
3858 \begin_layout Standard
3859 Gianfranco
3860 \end_layout
3861
3862 \end_inset
3863 </cell>
3864 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3865 \begin_inset Text
3866
3867 \begin_layout Standard
3868 555
3869 \end_layout
3870
3871 \end_inset
3872 </cell>
3873 </row>
3874 <row>
3875 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3876 \begin_inset Text
3877
3878 \begin_layout Standard
3879
3880 \series bold
3881 Dal Bosco
3882 \end_layout
3883
3884 \end_inset
3885 </cell>
3886 <cell alignment="center" valignment="top" topline="true" usebox="none">
3887 \begin_inset Text
3888
3889 \begin_layout Standard
3890 Carolina
3891 \end_layout
3892
3893 \end_inset
3894 </cell>
3895 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3896 \begin_inset Text
3897
3898 \begin_layout Standard
3899 555
3900 \end_layout
3901
3902 \end_inset
3903 </cell>
3904 </row>
3905 <row>
3906 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3907 \begin_inset Text
3908
3909 \begin_layout Standard
3910
3911 \series bold
3912 Dalpiaz
3913 \end_layout
3914
3915 \end_inset
3916 </cell>
3917 <cell alignment="center" valignment="top" topline="true" usebox="none">
3918 \begin_inset Text
3919
3920 \begin_layout Standard
3921 Annamaria
3922 \end_layout
3923
3924 \end_inset
3925 </cell>
3926 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3927 \begin_inset Text
3928
3929 \begin_layout Standard
3930 555
3931 \end_layout
3932
3933 \end_inset
3934 </cell>
3935 </row>
3936 <row>
3937 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3938 \begin_inset Text
3939
3940 \begin_layout Standard
3941
3942 \series bold
3943 Feliciello
3944 \end_layout
3945
3946 \end_inset
3947 </cell>
3948 <cell alignment="center" valignment="top" topline="true" usebox="none">
3949 \begin_inset Text
3950
3951 \begin_layout Standard
3952 Domenico
3953 \end_layout
3954
3955 \end_inset
3956 </cell>
3957 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3958 \begin_inset Text
3959
3960 \begin_layout Standard
3961 555
3962 \end_layout
3963
3964 \end_inset
3965 </cell>
3966 </row>
3967 <row>
3968 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3969 \begin_inset Text
3970
3971 \begin_layout Standard
3972
3973 \series bold
3974 Focarelli
3975 \end_layout
3976
3977 \end_inset
3978 </cell>
3979 <cell alignment="center" valignment="top" topline="true" usebox="none">
3980 \begin_inset Text
3981
3982 \begin_layout Standard
3983 Paola
3984 \end_layout
3985
3986 \end_inset
3987 </cell>
3988 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3989 \begin_inset Text
3990
3991 \begin_layout Standard
3992 555
3993 \end_layout
3994
3995 \end_inset
3996 </cell>
3997 </row>
3998 <row>
3999 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4000 \begin_inset Text
4001
4002 \begin_layout Standard
4003
4004 \series bold
4005 Galletti
4006 \end_layout
4007
4008 \end_inset
4009 </cell>
4010 <cell alignment="center" valignment="top" topline="true" usebox="none">
4011 \begin_inset Text
4012
4013 \begin_layout Standard
4014 Oreste
4015 \end_layout
4016
4017 \end_inset
4018 </cell>
4019 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4020 \begin_inset Text
4021
4022 \begin_layout Standard
4023 555
4024 \end_layout
4025
4026 \end_inset
4027 </cell>
4028 </row>
4029 <row>
4030 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4031 \begin_inset Text
4032
4033 \begin_layout Standard
4034
4035 \series bold
4036 Gasparini
4037 \end_layout
4038
4039 \end_inset
4040 </cell>
4041 <cell alignment="center" valignment="top" topline="true" usebox="none">
4042 \begin_inset Text
4043
4044 \begin_layout Standard
4045 Franca
4046 \end_layout
4047
4048 \end_inset
4049 </cell>
4050 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4051 \begin_inset Text
4052
4053 \begin_layout Standard
4054 555
4055 \end_layout
4056
4057 \end_inset
4058 </cell>
4059 </row>
4060 <row>
4061 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4062 \begin_inset Text
4063
4064 \begin_layout Standard
4065
4066 \series bold
4067 Rizzardi
4068 \end_layout
4069
4070 \end_inset
4071 </cell>
4072 <cell alignment="center" valignment="top" topline="true" usebox="none">
4073 \begin_inset Text
4074
4075 \begin_layout Standard
4076 Paola
4077 \end_layout
4078
4079 \end_inset
4080 </cell>
4081 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4082 \begin_inset Text
4083
4084 \begin_layout Standard
4085 555
4086 \end_layout
4087
4088 \end_inset
4089 </cell>
4090 </row>
4091 <row>
4092 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4093 \begin_inset Text
4094
4095 \begin_layout Standard
4096
4097 \series bold
4098 Lassini
4099 \end_layout
4100
4101 \end_inset
4102 </cell>
4103 <cell alignment="center" valignment="top" topline="true" usebox="none">
4104 \begin_inset Text
4105
4106 \begin_layout Standard
4107 Giancarlo
4108 \end_layout
4109
4110 \end_inset
4111 </cell>
4112 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4113 \begin_inset Text
4114
4115 \begin_layout Standard
4116 555
4117 \end_layout
4118
4119 \end_inset
4120 </cell>
4121 </row>
4122 <row>
4123 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4124 \begin_inset Text
4125
4126 \begin_layout Standard
4127
4128 \series bold
4129 Malfatti
4130 \end_layout
4131
4132 \end_inset
4133 </cell>
4134 <cell alignment="center" valignment="top" topline="true" usebox="none">
4135 \begin_inset Text
4136
4137 \begin_layout Standard
4138 Luciano
4139 \end_layout
4140
4141 \end_inset
4142 </cell>
4143 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4144 \begin_inset Text
4145
4146 \begin_layout Standard
4147 555
4148 \end_layout
4149
4150 \end_inset
4151 </cell>
4152 </row>
4153 <row>
4154 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4155 \begin_inset Text
4156
4157 \begin_layout Standard
4158
4159 \series bold
4160 Malfatti
4161 \end_layout
4162
4163 \end_inset
4164 </cell>
4165 <cell alignment="center" valignment="top" topline="true" usebox="none">
4166 \begin_inset Text
4167
4168 \begin_layout Standard
4169 Valeriano
4170 \end_layout
4171
4172 \end_inset
4173 </cell>
4174 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4175 \begin_inset Text
4176
4177 \begin_layout Standard
4178 555
4179 \end_layout
4180
4181 \end_inset
4182 </cell>
4183 </row>
4184 <row>
4185 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4186 \begin_inset Text
4187
4188 \begin_layout Standard
4189
4190 \series bold
4191 Meneguzzo
4192 \end_layout
4193
4194 \end_inset
4195 </cell>
4196 <cell alignment="center" valignment="top" topline="true" usebox="none">
4197 \begin_inset Text
4198
4199 \begin_layout Standard
4200 Roberto
4201 \end_layout
4202
4203 \end_inset
4204 </cell>
4205 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4206 \begin_inset Text
4207
4208 \begin_layout Standard
4209 555
4210 \end_layout
4211
4212 \end_inset
4213 </cell>
4214 </row>
4215 <row>
4216 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4217 \begin_inset Text
4218
4219 \begin_layout Standard
4220
4221 \series bold
4222 Mezzadra
4223 \end_layout
4224
4225 \end_inset
4226 </cell>
4227 <cell alignment="center" valignment="top" topline="true" usebox="none">
4228 \begin_inset Text
4229
4230 \begin_layout Standard
4231 Roberto
4232 \end_layout
4233
4234 \end_inset
4235 </cell>
4236 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4237 \begin_inset Text
4238
4239 \begin_layout Standard
4240 555
4241 \end_layout
4242
4243 \end_inset
4244 </cell>
4245 </row>
4246 <row>
4247 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4248 \begin_inset Text
4249
4250 \begin_layout Standard
4251
4252 \series bold
4253 Pirpamer
4254 \end_layout
4255
4256 \end_inset
4257 </cell>
4258 <cell alignment="center" valignment="top" topline="true" usebox="none">
4259 \begin_inset Text
4260
4261 \begin_layout Standard
4262 Erich
4263 \end_layout
4264
4265 \end_inset
4266 </cell>
4267 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4268 \begin_inset Text
4269
4270 \begin_layout Standard
4271 555
4272 \end_layout
4273
4274 \end_inset
4275 </cell>
4276 </row>
4277 <row>
4278 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4279 \begin_inset Text
4280
4281 \begin_layout Standard
4282
4283 \series bold
4284 Pochiesa
4285 \end_layout
4286
4287 \end_inset
4288 </cell>
4289 <cell alignment="center" valignment="top" topline="true" usebox="none">
4290 \begin_inset Text
4291
4292 \begin_layout Standard
4293 Paolo
4294 \end_layout
4295
4296 \end_inset
4297 </cell>
4298 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4299 \begin_inset Text
4300
4301 \begin_layout Standard
4302 555, 222
4303 \end_layout
4304
4305 \end_inset
4306 </cell>
4307 </row>
4308 <row>
4309 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4310 \begin_inset Text
4311
4312 \begin_layout Standard
4313
4314 \series bold
4315 Radina
4316 \end_layout
4317
4318 \end_inset
4319 </cell>
4320 <cell alignment="center" valignment="top" topline="true" usebox="none">
4321 \begin_inset Text
4322
4323 \begin_layout Standard
4324 Claudio
4325 \end_layout
4326
4327 \end_inset
4328 </cell>
4329 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4330 \begin_inset Text
4331
4332 \begin_layout Standard
4333 555
4334 \end_layout
4335
4336 \end_inset
4337 </cell>
4338 </row>
4339 <row>
4340 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4341 \begin_inset Text
4342
4343 \begin_layout Standard
4344
4345 \series bold
4346 Stuffer
4347 \end_layout
4348
4349 \end_inset
4350 </cell>
4351 <cell alignment="center" valignment="top" topline="true" usebox="none">
4352 \begin_inset Text
4353
4354 \begin_layout Standard
4355 Oskar
4356 \end_layout
4357
4358 \end_inset
4359 </cell>
4360 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4361 \begin_inset Text
4362
4363 \begin_layout Standard
4364 555
4365 \end_layout
4366
4367 \end_inset
4368 </cell>
4369 </row>
4370 <row>
4371 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4372 \begin_inset Text
4373
4374 \begin_layout Standard
4375
4376 \series bold
4377 Tacchelli
4378 \end_layout
4379
4380 \end_inset
4381 </cell>
4382 <cell alignment="center" valignment="top" topline="true" usebox="none">
4383 \begin_inset Text
4384
4385 \begin_layout Standard
4386 Ugo
4387 \end_layout
4388
4389 \end_inset
4390 </cell>
4391 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4392 \begin_inset Text
4393
4394 \begin_layout Standard
4395 555
4396 \end_layout
4397
4398 \end_inset
4399 </cell>
4400 </row>
4401 <row>
4402 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4403 \begin_inset Text
4404
4405 \begin_layout Standard
4406
4407 \series bold
4408 Tezzele
4409 \end_layout
4410
4411 \end_inset
4412 </cell>
4413 <cell alignment="center" valignment="top" topline="true" usebox="none">
4414 \begin_inset Text
4415
4416 \begin_layout Standard
4417 Margit
4418 \end_layout
4419
4420 \end_inset
4421 </cell>
4422 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4423 \begin_inset Text
4424
4425 \begin_layout Standard
4426 555
4427 \end_layout
4428
4429 \end_inset
4430 </cell>
4431 </row>
4432 <row>
4433 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4434 \begin_inset Text
4435
4436 \begin_layout Standard
4437
4438 \series bold
4439 Unterkalmsteiner
4440 \end_layout
4441
4442 \end_inset
4443 </cell>
4444 <cell alignment="center" valignment="top" topline="true" usebox="none">
4445 \begin_inset Text
4446
4447 \begin_layout Standard
4448 Frieda
4449 \end_layout
4450
4451 \end_inset
4452 </cell>
4453 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4454 \begin_inset Text
4455
4456 \begin_layout Standard
4457 555
4458 \end_layout
4459
4460 \end_inset
4461 </cell>
4462 </row>
4463 <row>
4464 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4465 \begin_inset Text
4466
4467 \begin_layout Standard
4468
4469 \series bold
4470 Vieider
4471 \end_layout
4472
4473 \end_inset
4474 </cell>
4475 <cell alignment="center" valignment="top" topline="true" usebox="none">
4476 \begin_inset Text
4477
4478 \begin_layout Standard
4479 Hilde
4480 \end_layout
4481
4482 \end_inset
4483 </cell>
4484 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4485 \begin_inset Text
4486
4487 \begin_layout Standard
4488 555
4489 \end_layout
4490
4491 \end_inset
4492 </cell>
4493 </row>
4494 <row>
4495 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4496 \begin_inset Text
4497
4498 \begin_layout Standard
4499
4500 \series bold
4501 Vigna
4502 \end_layout
4503
4504 \end_inset
4505 </cell>
4506 <cell alignment="center" valignment="top" topline="true" usebox="none">
4507 \begin_inset Text
4508
4509 \begin_layout Standard
4510 Jürgen
4511 \end_layout
4512
4513 \end_inset
4514 </cell>
4515 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4516 \begin_inset Text
4517
4518 \begin_layout Standard
4519 999
4520 \end_layout
4521
4522 \end_inset
4523 </cell>
4524 </row>
4525 <row>
4526 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4527 \begin_inset Text
4528
4529 \begin_layout Standard
4530
4531 \series bold
4532 Weber
4533 \end_layout
4534
4535 \end_inset
4536 </cell>
4537 <cell alignment="center" valignment="top" topline="true" usebox="none">
4538 \begin_inset Text
4539
4540 \begin_layout Standard
4541 Maurizio
4542 \end_layout
4543
4544 \end_inset
4545 </cell>
4546 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4547 \begin_inset Text
4548
4549 \begin_layout Standard
4550 555
4551 \end_layout
4552
4553 \end_inset
4554 </cell>
4555 </row>
4556 <row bottomline="true">
4557 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4558 \begin_inset Text
4559
4560 \begin_layout Standard
4561
4562 \series bold
4563 Winkler
4564 \end_layout
4565
4566 \end_inset
4567 </cell>
4568 <cell alignment="center" valignment="top" topline="true" usebox="none">
4569 \begin_inset Text
4570
4571 \begin_layout Standard
4572 Franz
4573 \end_layout
4574
4575 \end_inset
4576 </cell>
4577 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4578 \begin_inset Text
4579
4580 \begin_layout Standard
4581 555
4582 \end_layout
4583
4584 \end_inset
4585 </cell>
4586 </row>
4587 <row bottomline="true" endlastfoot="true">
4588 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
4589 \begin_inset Text
4590
4591 \begin_layout Standard
4592 end
4593 \end_layout
4594
4595 \end_inset
4596 </cell>
4597 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
4598 \begin_inset Text
4599
4600 \begin_layout Standard
4601
4602 \end_layout
4603
4604 \end_inset
4605 </cell>
4606 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4607 \begin_inset Text
4608
4609 \begin_layout Standard
4610
4611 \end_layout
4612
4613 \end_inset
4614 </cell>
4615 </row>
4616 </lyxtabular>
4617
4618 \end_inset
4619
4620
4621 \begin_inset ERT
4622 status collapsed
4623
4624 \begin_layout Standard
4625
4626
4627 \backslash
4628 addtocounter{table}{-1}
4629 \end_layout
4630
4631 \end_inset
4632
4633
4634 \begin_inset Note Note
4635 status collapsed
4636
4637 \begin_layout Standard
4638 See greyed-out note in section\InsetSpace ~
4639
4640 \begin_inset LatexCommand ref
4641 reference "sub:Longtable-Captions"
4642
4643 \end_inset
4644
4645  for an explanation of this command.
4646 \end_layout
4647
4648 \end_inset
4649
4650
4651 \end_layout
4652
4653 \begin_layout Subsection
4654 Footnotes in Longtables
4655 \begin_inset LatexCommand label
4656 name "sub:Footnotes-in-Longtables"
4657
4658 \end_inset
4659
4660
4661 \begin_inset LatexCommand index
4662 name "Longtables ! Footnotes"
4663
4664 \end_inset
4665
4666
4667 \end_layout
4668
4669 \begin_layout Standard
4670 Footnotes can be inserted to every longtable cell.
4671  They appear at the bottom of the page where the table cell with the footnote
4672  appears.
4673  Table\InsetSpace ~
4674
4675 \begin_inset LatexCommand ref
4676 reference "tab:DiffCaptions"
4677
4678 \end_inset
4679
4680  has for example a footnote.
4681 \end_layout
4682
4683 \begin_layout Subsection
4684 Longtable Captions
4685 \begin_inset LatexCommand index
4686 name "Longtables ! Captions"
4687
4688 \end_inset
4689
4690
4691 \begin_inset LatexCommand label
4692 name "sub:Longtable-Captions"
4693
4694 \end_inset
4695
4696
4697 \end_layout
4698
4699 \begin_layout Standard
4700 A longtable cannot be put into a table float because floats can only be
4701  on one page but the caption environment of floats can also be used for
4702  longtables.
4703 \end_layout
4704
4705 \begin_layout Standard
4706 As LyX does not yet fully support captions in longtables, a hack is needed
4707  to create them:
4708 \end_layout
4709
4710 \begin_layout Enumerate
4711 Create a longtable
4712 \family sans
4713 .
4714 \end_layout
4715
4716 \begin_layout Enumerate
4717 Mark the first row and disable its upper line.
4718 \end_layout
4719
4720 \begin_layout Enumerate
4721 Insert a caption via the menu 
4722 \family sans
4723 Insert\SpecialChar \menuseparator
4724 Caption
4725 \family default
4726  into the first table cell.
4727 \newline
4728 You can also add a short title for the caption.
4729 \end_layout
4730
4731 \begin_layout Enumerate
4732 Insert a 
4733 \begin_inset Quotes eld
4734 \end_inset
4735
4736
4737 \series bold
4738
4739 \backslash
4740
4741 \backslash
4742 %
4743 \series default
4744
4745 \begin_inset Quotes erd
4746 \end_inset
4747
4748  as ERT behind the caption.
4749 \end_layout
4750
4751 \begin_layout Standard
4752 A short title that will appear in the LOT instead of the full title.
4753  The 
4754 \series bold
4755
4756 \backslash
4757
4758 \backslash
4759 %
4760 \series default
4761  behind the caption omits the vertical lines between the following cells
4762  in the row.
4763  The first table row is now only a dummy row for the caption, the actual
4764  table starts with the second row.
4765 \end_layout
4766
4767 \begin_layout Standard
4768 Here is a short longtable to see how it works:
4769 \end_layout
4770
4771 \begin_layout Standard
4772 \begin_inset Tabular
4773 <lyxtabular version="3" rows="6" columns="5">
4774 <features islongtable="true">
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" width="0">
4779 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
4780 <row>
4781 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4782 \begin_inset Text
4783
4784 \begin_layout Standard
4785 \begin_inset Caption
4786
4787 \begin_layout Standard
4788 Longtable with caption
4789 \begin_inset OptArg
4790 status open
4791
4792 \begin_layout Standard
4793 Longtable
4794 \end_layout
4795
4796 \end_inset
4797
4798
4799 \end_layout
4800
4801 \end_inset
4802
4803
4804 \begin_inset ERT
4805 status collapsed
4806
4807 \begin_layout Standard
4808
4809
4810 \backslash
4811
4812 \backslash
4813 %
4814 \end_layout
4815
4816 \end_inset
4817
4818
4819 \end_layout
4820
4821 \end_inset
4822 </cell>
4823 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4824 \begin_inset Text
4825
4826 \begin_layout Standard
4827
4828 \end_layout
4829
4830 \end_inset
4831 </cell>
4832 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4833 \begin_inset Text
4834
4835 \begin_layout Standard
4836
4837 \end_layout
4838
4839 \end_inset
4840 </cell>
4841 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4842 \begin_inset Text
4843
4844 \begin_layout Standard
4845
4846 \end_layout
4847
4848 \end_inset
4849 </cell>
4850 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4851 \begin_inset Text
4852
4853 \begin_layout Standard
4854
4855 \end_layout
4856
4857 \end_inset
4858 </cell>
4859 </row>
4860 <row topline="true">
4861 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4862 \begin_inset Text
4863
4864 \begin_layout Standard
4865 1
4866 \end_layout
4867
4868 \end_inset
4869 </cell>
4870 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4871 \begin_inset Text
4872
4873 \begin_layout Standard
4874 2
4875 \end_layout
4876
4877 \end_inset
4878 </cell>
4879 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4880 \begin_inset Text
4881
4882 \begin_layout Standard
4883 3
4884 \end_layout
4885
4886 \end_inset
4887 </cell>
4888 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4889 \begin_inset Text
4890
4891 \begin_layout Standard
4892 4
4893 \end_layout
4894
4895 \end_inset
4896 </cell>
4897 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4898 \begin_inset Text
4899
4900 \begin_layout Standard
4901 5
4902 \end_layout
4903
4904 \end_inset
4905 </cell>
4906 </row>
4907 <row topline="true">
4908 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4909 \begin_inset Text
4910
4911 \begin_layout Standard
4912 asd
4913 \end_layout
4914
4915 \end_inset
4916 </cell>
4917 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4918 \begin_inset Text
4919
4920 \begin_layout Standard
4921 s
4922 \end_layout
4923
4924 \end_inset
4925 </cell>
4926 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4927 \begin_inset Text
4928
4929 \begin_layout Standard
4930 s
4931 \end_layout
4932
4933 \end_inset
4934 </cell>
4935 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4936 \begin_inset Text
4937
4938 \begin_layout Standard
4939 s
4940 \end_layout
4941
4942 \end_inset
4943 </cell>
4944 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4945 \begin_inset Text
4946
4947 \begin_layout Standard
4948 asd
4949 \end_layout
4950
4951 \end_inset
4952 </cell>
4953 </row>
4954 <row topline="true">
4955 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4956 \begin_inset Text
4957
4958 \begin_layout Standard
4959 asd
4960 \end_layout
4961
4962 \end_inset
4963 </cell>
4964 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4965 \begin_inset Text
4966
4967 \begin_layout Standard
4968 s
4969 \end_layout
4970
4971 \end_inset
4972 </cell>
4973 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4974 \begin_inset Text
4975
4976 \begin_layout Standard
4977 s
4978 \end_layout
4979
4980 \end_inset
4981 </cell>
4982 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4983 \begin_inset Text
4984
4985 \begin_layout Standard
4986 s
4987 \end_layout
4988
4989 \end_inset
4990 </cell>
4991 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4992 \begin_inset Text
4993
4994 \begin_layout Standard
4995 asd
4996 \end_layout
4997
4998 \end_inset
4999 </cell>
5000 </row>
5001 <row topline="true">
5002 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5003 \begin_inset Text
5004
5005 \begin_layout Standard
5006 asd
5007 \end_layout
5008
5009 \end_inset
5010 </cell>
5011 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5012 \begin_inset Text
5013
5014 \begin_layout Standard
5015 s
5016 \end_layout
5017
5018 \end_inset
5019 </cell>
5020 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5021 \begin_inset Text
5022
5023 \begin_layout Standard
5024 s
5025 \end_layout
5026
5027 \end_inset
5028 </cell>
5029 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5030 \begin_inset Text
5031
5032 \begin_layout Standard
5033 s
5034 \end_layout
5035
5036 \end_inset
5037 </cell>
5038 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5039 \begin_inset Text
5040
5041 \begin_layout Standard
5042 asd
5043 \end_layout
5044
5045 \end_inset
5046 </cell>
5047 </row>
5048 <row topline="true" bottomline="true">
5049 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5050 \begin_inset Text
5051
5052 \begin_layout Standard
5053 asd
5054 \end_layout
5055
5056 \end_inset
5057 </cell>
5058 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5059 \begin_inset Text
5060
5061 \begin_layout Standard
5062 asd
5063 \end_layout
5064
5065 \end_inset
5066 </cell>
5067 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5068 \begin_inset Text
5069
5070 \begin_layout Standard
5071 asd
5072 \end_layout
5073
5074 \end_inset
5075 </cell>
5076 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5077 \begin_inset Text
5078
5079 \begin_layout Standard
5080 asd
5081 \end_layout
5082
5083 \end_inset
5084 </cell>
5085 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5086 \begin_inset Text
5087
5088 \begin_layout Standard
5089 asd
5090 \end_layout
5091
5092 \end_inset
5093 </cell>
5094 </row>
5095 </lyxtabular>
5096
5097 \end_inset
5098
5099
5100 \end_layout
5101
5102 \begin_layout Standard
5103 \begin_inset VSpace medskip
5104 \end_inset
5105
5106
5107 \begin_inset Note Greyedout
5108 status open
5109
5110 \begin_layout Standard
5111
5112 \series bold
5113 Note:
5114 \series default
5115  The table number is increased for every longtable, also if you didn't set
5116  a caption for it.
5117  For this reason you could have the case that e.g.
5118  Table\InsetSpace ~
5119 2.4 follows on Table\InsetSpace ~
5120 2.1 in the list of tables if there are two longtables
5121  without captions.
5122  To avoid this you can add the following command in ERT behind every longtable
5123  without a caption:
5124 \end_layout
5125
5126 \begin_layout Standard
5127
5128 \series bold
5129
5130 \backslash
5131 addtocounter{table}{-1}
5132 \end_layout
5133
5134 \end_inset
5135
5136
5137 \end_layout
5138
5139 \begin_layout Standard
5140 \begin_inset Note Greyedout
5141 status open
5142
5143 \begin_layout Standard
5144
5145 \series bold
5146 Note:
5147 \series default
5148  If you are using the LaTeX-package 
5149 \series bold
5150 hyperref
5151 \series default
5152
5153 \begin_inset LatexCommand index
5154 name "LaTeX-packages ! hyperref"
5155
5156 \end_inset
5157
5158  to link cross-references, the link to a longtable caption will always point
5159  to the beginning of the document.
5160 \end_layout
5161
5162 \end_inset
5163
5164
5165 \end_layout
5166
5167 \begin_layout Subsubsection
5168 References to Longtables
5169 \begin_inset LatexCommand index
5170 name "Longtables ! References"
5171
5172 \end_inset
5173
5174
5175 \end_layout
5176
5177 \begin_layout Standard
5178 \begin_inset Tabular
5179 <lyxtabular version="3" rows="6" columns="5">
5180 <features islongtable="true">
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" width="0">
5185 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5186 <row>
5187 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5188 \begin_inset Text
5189
5190 \begin_layout Standard
5191 \begin_inset Caption
5192
5193 \begin_layout Standard
5194 Referenced longtable
5195 \begin_inset LatexCommand label
5196 name "tab:RefExample"
5197
5198 \end_inset
5199
5200
5201 \end_layout
5202
5203 \end_inset
5204
5205
5206 \begin_inset ERT
5207 status collapsed
5208
5209 \begin_layout Standard
5210
5211
5212 \backslash
5213
5214 \backslash
5215 %
5216 \end_layout
5217
5218 \end_inset
5219
5220
5221 \end_layout
5222
5223 \end_inset
5224 </cell>
5225 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5226 \begin_inset Text
5227
5228 \begin_layout Standard
5229
5230 \end_layout
5231
5232 \end_inset
5233 </cell>
5234 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5235 \begin_inset Text
5236
5237 \begin_layout Standard
5238
5239 \end_layout
5240
5241 \end_inset
5242 </cell>
5243 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5244 \begin_inset Text
5245
5246 \begin_layout Standard
5247
5248 \end_layout
5249
5250 \end_inset
5251 </cell>
5252 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5253 \begin_inset Text
5254
5255 \begin_layout Standard
5256
5257 \end_layout
5258
5259 \end_inset
5260 </cell>
5261 </row>
5262 <row topline="true">
5263 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5264 \begin_inset Text
5265
5266 \begin_layout Standard
5267 1
5268 \end_layout
5269
5270 \end_inset
5271 </cell>
5272 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5273 \begin_inset Text
5274
5275 \begin_layout Standard
5276 2
5277 \end_layout
5278
5279 \end_inset
5280 </cell>
5281 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5282 \begin_inset Text
5283
5284 \begin_layout Standard
5285 3
5286 \end_layout
5287
5288 \end_inset
5289 </cell>
5290 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5291 \begin_inset Text
5292
5293 \begin_layout Standard
5294 4
5295 \end_layout
5296
5297 \end_inset
5298 </cell>
5299 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5300 \begin_inset Text
5301
5302 \begin_layout Standard
5303 5
5304 \end_layout
5305
5306 \end_inset
5307 </cell>
5308 </row>
5309 <row topline="true">
5310 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5311 \begin_inset Text
5312
5313 \begin_layout Standard
5314 asd
5315 \end_layout
5316
5317 \end_inset
5318 </cell>
5319 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5320 \begin_inset Text
5321
5322 \begin_layout Standard
5323 s
5324 \end_layout
5325
5326 \end_inset
5327 </cell>
5328 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5329 \begin_inset Text
5330
5331 \begin_layout Standard
5332 s
5333 \end_layout
5334
5335 \end_inset
5336 </cell>
5337 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5338 \begin_inset Text
5339
5340 \begin_layout Standard
5341 s
5342 \end_layout
5343
5344 \end_inset
5345 </cell>
5346 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5347 \begin_inset Text
5348
5349 \begin_layout Standard
5350 asd
5351 \end_layout
5352
5353 \end_inset
5354 </cell>
5355 </row>
5356 <row topline="true">
5357 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5358 \begin_inset Text
5359
5360 \begin_layout Standard
5361 asd
5362 \end_layout
5363
5364 \end_inset
5365 </cell>
5366 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5367 \begin_inset Text
5368
5369 \begin_layout Standard
5370 s
5371 \end_layout
5372
5373 \end_inset
5374 </cell>
5375 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5376 \begin_inset Text
5377
5378 \begin_layout Standard
5379 s
5380 \end_layout
5381
5382 \end_inset
5383 </cell>
5384 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5385 \begin_inset Text
5386
5387 \begin_layout Standard
5388 s
5389 \end_layout
5390
5391 \end_inset
5392 </cell>
5393 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5394 \begin_inset Text
5395
5396 \begin_layout Standard
5397 asd
5398 \end_layout
5399
5400 \end_inset
5401 </cell>
5402 </row>
5403 <row topline="true">
5404 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5405 \begin_inset Text
5406
5407 \begin_layout Standard
5408 asd
5409 \end_layout
5410
5411 \end_inset
5412 </cell>
5413 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5414 \begin_inset Text
5415
5416 \begin_layout Standard
5417 s
5418 \end_layout
5419
5420 \end_inset
5421 </cell>
5422 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5423 \begin_inset Text
5424
5425 \begin_layout Standard
5426 s
5427 \end_layout
5428
5429 \end_inset
5430 </cell>
5431 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5432 \begin_inset Text
5433
5434 \begin_layout Standard
5435 s
5436 \end_layout
5437
5438 \end_inset
5439 </cell>
5440 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5441 \begin_inset Text
5442
5443 \begin_layout Standard
5444 asd
5445 \end_layout
5446
5447 \end_inset
5448 </cell>
5449 </row>
5450 <row topline="true" bottomline="true">
5451 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5452 \begin_inset Text
5453
5454 \begin_layout Standard
5455 asd
5456 \end_layout
5457
5458 \end_inset
5459 </cell>
5460 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5461 \begin_inset Text
5462
5463 \begin_layout Standard
5464 sad
5465 \end_layout
5466
5467 \end_inset
5468 </cell>
5469 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5470 \begin_inset Text
5471
5472 \begin_layout Standard
5473 asd
5474 \end_layout
5475
5476 \end_inset
5477 </cell>
5478 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5479 \begin_inset Text
5480
5481 \begin_layout Standard
5482 asd
5483 \end_layout
5484
5485 \end_inset
5486 </cell>
5487 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5488 \begin_inset Text
5489
5490 \begin_layout Standard
5491 asd
5492 \end_layout
5493
5494 \end_inset
5495 </cell>
5496 </row>
5497 </lyxtabular>
5498
5499 \end_inset
5500
5501
5502 \end_layout
5503
5504 \begin_layout Standard
5505 To reference a longtable, insert a label into the caption.
5506  Note that you have to add the label prefix 
5507 \begin_inset Quotes eld
5508 \end_inset
5509
5510
5511 \emph on
5512 tab:
5513 \emph default
5514
5515 \begin_inset Quotes eld
5516 \end_inset
5517
5518  manually in the label field.
5519 \end_layout
5520
5521 \begin_layout Standard
5522 This is a reference to Table\InsetSpace ~
5523
5524 \begin_inset LatexCommand ref
5525 reference "tab:RefExample"
5526
5527 \end_inset
5528
5529 .
5530 \end_layout
5531
5532 \begin_layout Standard
5533 The caption layout can be set together with all other caption of your document
5534  using the LaTeX-package 
5535 \series bold
5536 caption
5537 \series default
5538
5539 \begin_inset LatexCommand index
5540 name "LaTeX-packages ! caption"
5541
5542 \end_inset
5543
5544 , see section\InsetSpace ~
5545
5546 \begin_inset LatexCommand ref
5547 reference "sec:Caption-Formatting"
5548
5549 \end_inset
5550
5551 .
5552 \end_layout
5553
5554 \begin_layout Subsubsection
5555 Caption Width
5556 \begin_inset LatexCommand index
5557 name "Longtables ! Caption Width"
5558
5559 \end_inset
5560
5561
5562 \end_layout
5563
5564 \begin_layout Standard
5565 The maximal width of of caption lines is defined by the length 
5566 \series bold
5567
5568 \backslash
5569 LTcapwidth
5570 \series default
5571 .
5572  Its default value is 4\InsetSpace \thinspace{}
5573 in.
5574  To change it add the following command to your document preamble or as
5575  ERT into your document before the longtable that should be affected
5576 \end_layout
5577
5578 \begin_layout Standard
5579
5580 \series bold
5581
5582 \backslash
5583 setlength{
5584 \backslash
5585 LTcapwidth}{width}
5586 \end_layout
5587
5588 \begin_layout Standard
5589 where the width could have one of the units listed in appendix\InsetSpace ~
5590
5591 \begin_inset LatexCommand ref
5592 reference "cha:Units-available-in"
5593
5594 \end_inset
5595
5596 .
5597 \end_layout
5598
5599 \begin_layout Standard
5600 The following tables show the difference:
5601 \end_layout
5602
5603 \begin_layout Standard
5604 \begin_inset Tabular
5605 <lyxtabular version="3" rows="6" columns="5">
5606 <features islongtable="true">
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" width="0">
5611 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5612 <row>
5613 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5614 \begin_inset Text
5615
5616 \begin_layout Standard
5617 \begin_inset Caption
5618
5619 \begin_layout Standard
5620 long full title with default width long full title with default width long
5621  full title with default width
5622 \begin_inset OptArg
5623 status collapsed
5624
5625 \begin_layout Standard
5626 caption with default width
5627 \end_layout
5628
5629 \end_inset
5630
5631
5632 \end_layout
5633
5634 \end_inset
5635
5636
5637 \begin_inset ERT
5638 status collapsed
5639
5640 \begin_layout Standard
5641
5642
5643 \backslash
5644
5645 \backslash
5646 %
5647 \end_layout
5648
5649 \end_inset
5650
5651
5652 \end_layout
5653
5654 \end_inset
5655 </cell>
5656 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5657 \begin_inset Text
5658
5659 \begin_layout Standard
5660
5661 \end_layout
5662
5663 \end_inset
5664 </cell>
5665 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5666 \begin_inset Text
5667
5668 \begin_layout Standard
5669
5670 \end_layout
5671
5672 \end_inset
5673 </cell>
5674 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5675 \begin_inset Text
5676
5677 \begin_layout Standard
5678
5679 \end_layout
5680
5681 \end_inset
5682 </cell>
5683 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5684 \begin_inset Text
5685
5686 \begin_layout Standard
5687
5688 \end_layout
5689
5690 \end_inset
5691 </cell>
5692 </row>
5693 <row topline="true">
5694 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5695 \begin_inset Text
5696
5697 \begin_layout Standard
5698 1
5699 \end_layout
5700
5701 \end_inset
5702 </cell>
5703 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5704 \begin_inset Text
5705
5706 \begin_layout Standard
5707 2
5708 \end_layout
5709
5710 \end_inset
5711 </cell>
5712 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5713 \begin_inset Text
5714
5715 \begin_layout Standard
5716 3
5717 \end_layout
5718
5719 \end_inset
5720 </cell>
5721 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5722 \begin_inset Text
5723
5724 \begin_layout Standard
5725 4
5726 \end_layout
5727
5728 \end_inset
5729 </cell>
5730 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5731 \begin_inset Text
5732
5733 \begin_layout Standard
5734 5
5735 \end_layout
5736
5737 \end_inset
5738 </cell>
5739 </row>
5740 <row topline="true">
5741 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5742 \begin_inset Text
5743
5744 \begin_layout Standard
5745 asd
5746 \end_layout
5747
5748 \end_inset
5749 </cell>
5750 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5751 \begin_inset Text
5752
5753 \begin_layout Standard
5754 s
5755 \end_layout
5756
5757 \end_inset
5758 </cell>
5759 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5760 \begin_inset Text
5761
5762 \begin_layout Standard
5763 s
5764 \end_layout
5765
5766 \end_inset
5767 </cell>
5768 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5769 \begin_inset Text
5770
5771 \begin_layout Standard
5772 s
5773 \end_layout
5774
5775 \end_inset
5776 </cell>
5777 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5778 \begin_inset Text
5779
5780 \begin_layout Standard
5781 asd
5782 \end_layout
5783
5784 \end_inset
5785 </cell>
5786 </row>
5787 <row topline="true">
5788 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5789 \begin_inset Text
5790
5791 \begin_layout Standard
5792 asd
5793 \end_layout
5794
5795 \end_inset
5796 </cell>
5797 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5798 \begin_inset Text
5799
5800 \begin_layout Standard
5801 s
5802 \end_layout
5803
5804 \end_inset
5805 </cell>
5806 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5807 \begin_inset Text
5808
5809 \begin_layout Standard
5810 s
5811 \end_layout
5812
5813 \end_inset
5814 </cell>
5815 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5816 \begin_inset Text
5817
5818 \begin_layout Standard
5819 s
5820 \end_layout
5821
5822 \end_inset
5823 </cell>
5824 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5825 \begin_inset Text
5826
5827 \begin_layout Standard
5828 asd
5829 \end_layout
5830
5831 \end_inset
5832 </cell>
5833 </row>
5834 <row topline="true">
5835 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5836 \begin_inset Text
5837
5838 \begin_layout Standard
5839 asd
5840 \end_layout
5841
5842 \end_inset
5843 </cell>
5844 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5845 \begin_inset Text
5846
5847 \begin_layout Standard
5848 s
5849 \end_layout
5850
5851 \end_inset
5852 </cell>
5853 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5854 \begin_inset Text
5855
5856 \begin_layout Standard
5857 s
5858 \end_layout
5859
5860 \end_inset
5861 </cell>
5862 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5863 \begin_inset Text
5864
5865 \begin_layout Standard
5866 s
5867 \end_layout
5868
5869 \end_inset
5870 </cell>
5871 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5872 \begin_inset Text
5873
5874 \begin_layout Standard
5875 asd
5876 \end_layout
5877
5878 \end_inset
5879 </cell>
5880 </row>
5881 <row topline="true" bottomline="true">
5882 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5883 \begin_inset Text
5884
5885 \begin_layout Standard
5886 asd
5887 \end_layout
5888
5889 \end_inset
5890 </cell>
5891 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5892 \begin_inset Text
5893
5894 \begin_layout Standard
5895 sad
5896 \end_layout
5897
5898 \end_inset
5899 </cell>
5900 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5901 \begin_inset Text
5902
5903 \begin_layout Standard
5904 asd
5905 \end_layout
5906
5907 \end_inset
5908 </cell>
5909 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5910 \begin_inset Text
5911
5912 \begin_layout Standard
5913 asd
5914 \end_layout
5915
5916 \end_inset
5917 </cell>
5918 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5919 \begin_inset Text
5920
5921 \begin_layout Standard
5922 asd
5923 \end_layout
5924
5925 \end_inset
5926 </cell>
5927 </row>
5928 </lyxtabular>
5929
5930 \end_inset
5931
5932
5933 \end_layout
5934
5935 \begin_layout Standard
5936 \begin_inset ERT
5937 status open
5938
5939 \begin_layout Standard
5940
5941
5942 \backslash
5943 setlength{
5944 \backslash
5945 LTcapwidth}{5cm}
5946 \end_layout
5947
5948 \end_inset
5949
5950
5951 \begin_inset Tabular
5952 <lyxtabular version="3" rows="6" columns="5">
5953 <features islongtable="true">
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" width="0">
5958 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5959 <row>
5960 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5961 \begin_inset Text
5962
5963 \begin_layout Standard
5964 \begin_inset Caption
5965
5966 \begin_layout Standard
5967 long full title with width set to 5\InsetSpace \thinspace{}
5968 cm long full title with width set to
5969  5\InsetSpace \thinspace{}
5970 cm long full title with width set to 5\InsetSpace \thinspace{}
5971 cm
5972 \begin_inset OptArg
5973 status collapsed
5974
5975 \begin_layout Standard
5976 caption with width\InsetSpace \thinspace{}
5977 =\InsetSpace \thinspace{}
5978 5\InsetSpace \thinspace{}
5979 cm
5980 \end_layout
5981
5982 \end_inset
5983
5984
5985 \end_layout
5986
5987 \end_inset
5988
5989
5990 \begin_inset ERT
5991 status collapsed
5992
5993 \begin_layout Standard
5994
5995
5996 \backslash
5997
5998 \backslash
5999 %
6000 \end_layout
6001
6002 \end_inset
6003
6004
6005 \end_layout
6006
6007 \end_inset
6008 </cell>
6009 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6010 \begin_inset Text
6011
6012 \begin_layout Standard
6013
6014 \end_layout
6015
6016 \end_inset
6017 </cell>
6018 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6019 \begin_inset Text
6020
6021 \begin_layout Standard
6022
6023 \end_layout
6024
6025 \end_inset
6026 </cell>
6027 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6028 \begin_inset Text
6029
6030 \begin_layout Standard
6031
6032 \end_layout
6033
6034 \end_inset
6035 </cell>
6036 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6037 \begin_inset Text
6038
6039 \begin_layout Standard
6040
6041 \end_layout
6042
6043 \end_inset
6044 </cell>
6045 </row>
6046 <row topline="true">
6047 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6048 \begin_inset Text
6049
6050 \begin_layout Standard
6051 1
6052 \end_layout
6053
6054 \end_inset
6055 </cell>
6056 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6057 \begin_inset Text
6058
6059 \begin_layout Standard
6060 2
6061 \end_layout
6062
6063 \end_inset
6064 </cell>
6065 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6066 \begin_inset Text
6067
6068 \begin_layout Standard
6069 3
6070 \end_layout
6071
6072 \end_inset
6073 </cell>
6074 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6075 \begin_inset Text
6076
6077 \begin_layout Standard
6078 4
6079 \end_layout
6080
6081 \end_inset
6082 </cell>
6083 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6084 \begin_inset Text
6085
6086 \begin_layout Standard
6087 5
6088 \end_layout
6089
6090 \end_inset
6091 </cell>
6092 </row>
6093 <row topline="true">
6094 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6095 \begin_inset Text
6096
6097 \begin_layout Standard
6098 asd
6099 \end_layout
6100
6101 \end_inset
6102 </cell>
6103 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6104 \begin_inset Text
6105
6106 \begin_layout Standard
6107 s
6108 \end_layout
6109
6110 \end_inset
6111 </cell>
6112 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6113 \begin_inset Text
6114
6115 \begin_layout Standard
6116 s
6117 \end_layout
6118
6119 \end_inset
6120 </cell>
6121 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6122 \begin_inset Text
6123
6124 \begin_layout Standard
6125 s
6126 \end_layout
6127
6128 \end_inset
6129 </cell>
6130 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6131 \begin_inset Text
6132
6133 \begin_layout Standard
6134 asd
6135 \end_layout
6136
6137 \end_inset
6138 </cell>
6139 </row>
6140 <row topline="true">
6141 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6142 \begin_inset Text
6143
6144 \begin_layout Standard
6145 asd
6146 \end_layout
6147
6148 \end_inset
6149 </cell>
6150 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6151 \begin_inset Text
6152
6153 \begin_layout Standard
6154 s
6155 \end_layout
6156
6157 \end_inset
6158 </cell>
6159 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6160 \begin_inset Text
6161
6162 \begin_layout Standard
6163 s
6164 \end_layout
6165
6166 \end_inset
6167 </cell>
6168 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6169 \begin_inset Text
6170
6171 \begin_layout Standard
6172 s
6173 \end_layout
6174
6175 \end_inset
6176 </cell>
6177 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6178 \begin_inset Text
6179
6180 \begin_layout Standard
6181 asd
6182 \end_layout
6183
6184 \end_inset
6185 </cell>
6186 </row>
6187 <row topline="true">
6188 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6189 \begin_inset Text
6190
6191 \begin_layout Standard
6192 asd
6193 \end_layout
6194
6195 \end_inset
6196 </cell>
6197 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6198 \begin_inset Text
6199
6200 \begin_layout Standard
6201 s
6202 \end_layout
6203
6204 \end_inset
6205 </cell>
6206 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6207 \begin_inset Text
6208
6209 \begin_layout Standard
6210 s
6211 \end_layout
6212
6213 \end_inset
6214 </cell>
6215 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6216 \begin_inset Text
6217
6218 \begin_layout Standard
6219 s
6220 \end_layout
6221
6222 \end_inset
6223 </cell>
6224 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6225 \begin_inset Text
6226
6227 \begin_layout Standard
6228 asd
6229 \end_layout
6230
6231 \end_inset
6232 </cell>
6233 </row>
6234 <row topline="true" bottomline="true">
6235 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6236 \begin_inset Text
6237
6238 \begin_layout Standard
6239 asd
6240 \end_layout
6241
6242 \end_inset
6243 </cell>
6244 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6245 \begin_inset Text
6246
6247 \begin_layout Standard
6248 sad
6249 \end_layout
6250
6251 \end_inset
6252 </cell>
6253 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6254 \begin_inset Text
6255
6256 \begin_layout Standard
6257 asd
6258 \end_layout
6259
6260 \end_inset
6261 </cell>
6262 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6263 \begin_inset Text
6264
6265 \begin_layout Standard
6266 asd
6267 \end_layout
6268
6269 \end_inset
6270 </cell>
6271 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6272 \begin_inset Text
6273
6274 \begin_layout Standard
6275 asd
6276 \end_layout
6277
6278 \end_inset
6279 </cell>
6280 </row>
6281 </lyxtabular>
6282
6283 \end_inset
6284
6285
6286 \end_layout
6287
6288 \begin_layout Standard
6289 \begin_inset ERT
6290 status collapsed
6291
6292 \begin_layout Standard
6293
6294
6295 \backslash
6296 setlength{
6297 \backslash
6298 LTcapwidth}{4in}
6299 \end_layout
6300
6301 \end_inset
6302
6303
6304 \end_layout
6305
6306 \begin_layout Standard
6307 \begin_inset Note Greyedout
6308 status open
6309
6310 \begin_layout Standard
6311
6312 \series bold
6313 Note:
6314 \series default
6315  When the LaTeX-package 
6316 \series bold
6317 caption
6318 \series default
6319
6320 \begin_inset LatexCommand index
6321 name "LaTeX-packages ! caption"
6322
6323 \end_inset
6324
6325  is used, as in this document, the full page width is used for the caption
6326  when you use the default value of 4\InsetSpace \thinspace{}
6327 in for 
6328 \series bold
6329
6330 \backslash
6331 LTcapwidth
6332 \series default
6333 .
6334  To get in this case exactly a 4\InsetSpace \thinspace{}
6335 in wide caption, you can either use a value
6336  slightly different from 4.0\InsetSpace \thinspace{}
6337 in, e.g.
6338  3.99\InsetSpace \thinspace{}
6339 in, or the LaTeX-command 
6340 \series bold
6341
6342 \backslash
6343 captionsetup{width=value}
6344 \series default
6345  that is provided by the 
6346 \series bold
6347 caption
6348 \series default
6349 -package.
6350 \end_layout
6351
6352 \end_inset
6353
6354
6355 \end_layout
6356
6357 \begin_layout Subsubsection
6358 Different Captions for Table Pages
6359 \begin_inset LatexCommand index
6360 name "Longtables ! Different Captions for Pages"
6361
6362 \end_inset
6363
6364
6365 \end_layout
6366
6367 \begin_layout Standard
6368 When the other captions should differ from the one of the first table page,
6369  insert a caption with a non-empty short title in a dummy caption row marked
6370  as first header.
6371  The caption used for the other table pages is inserted as caption without
6372  a short title in a dummy caption row that is marked as main header.
6373  When this caption shouldn't include the table number, use the command
6374 \end_layout
6375
6376 \begin_layout Standard
6377
6378 \series bold
6379
6380 \backslash
6381 caption*{caption text}
6382 \end_layout
6383
6384 \begin_layout Standard
6385 instead of LyX's caption box.
6386  The label to reference the table is inserted into the caption of the first
6387  header.
6388  Table\InsetSpace ~
6389
6390 \begin_inset LatexCommand ref
6391 reference "tab:DiffCaptions"
6392
6393 \end_inset
6394
6395  is an example for a longtable with different heading where the second caption
6396  doesn't include the table number.
6397 \end_layout
6398
6399 \begin_layout Standard
6400 \align center
6401 \begin_inset Tabular
6402 <lyxtabular version="3" rows="60" columns="3">
6403 <features islongtable="true">
6404 <column alignment="left" valignment="top" leftline="true" width="0cm">
6405 <column alignment="left" valignment="top" rightline="true" width="0pt">
6406 <column alignment="right" valignment="top" rightline="true" width="0pt">
6407 <row endfirsthead="true">
6408 <cell alignment="right" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6409 \begin_inset Text
6410
6411 \begin_layout Standard
6412 \begin_inset Caption
6413
6414 \begin_layout Standard
6415 Example Phone List
6416 \begin_inset LatexCommand label
6417 name "tab:DiffCaptions"
6418
6419 \end_inset
6420
6421
6422 \begin_inset OptArg
6423 status collapsed
6424
6425 \begin_layout Standard
6426 Example Phone List
6427 \end_layout
6428
6429 \end_inset
6430
6431
6432 \end_layout
6433
6434 \end_inset
6435
6436
6437 \begin_inset ERT
6438 status collapsed
6439
6440 \begin_layout Standard
6441
6442
6443 \backslash
6444
6445 \backslash
6446 %
6447 \end_layout
6448
6449 \end_inset
6450
6451
6452 \end_layout
6453
6454 \end_inset
6455 </cell>
6456 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6457 \begin_inset Text
6458
6459 \begin_layout Standard
6460
6461 \end_layout
6462
6463 \end_inset
6464 </cell>
6465 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6466 \begin_inset Text
6467
6468 \begin_layout Standard
6469
6470 \end_layout
6471
6472 \end_inset
6473 </cell>
6474 </row>
6475 <row topline="true" bottomline="true" endfirsthead="true">
6476 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6477 \begin_inset Text
6478
6479 \begin_layout Standard
6480
6481 \series bold
6482 Example Phone List (ignore the names)
6483 \end_layout
6484
6485 \end_inset
6486 </cell>
6487 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6488 \begin_inset Text
6489
6490 \begin_layout Standard
6491
6492 \end_layout
6493
6494 \end_inset
6495 </cell>
6496 <cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6497 \begin_inset Text
6498
6499 \begin_layout Standard
6500
6501 \end_layout
6502
6503 \end_inset
6504 </cell>
6505 </row>
6506 <row topline="true" bottomline="true" endfirsthead="true">
6507 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
6508 \begin_inset Text
6509
6510 \begin_layout Standard
6511
6512 \series bold
6513 NAME
6514 \end_layout
6515
6516 \end_inset
6517 </cell>
6518 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6519 \begin_inset Text
6520
6521 \begin_layout Standard
6522
6523 \end_layout
6524
6525 \end_inset
6526 </cell>
6527 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6528 \begin_inset Text
6529
6530 \begin_layout Standard
6531
6532 \series bold
6533 TEL.
6534 \end_layout
6535
6536 \end_inset
6537 </cell>
6538 </row>
6539 <row bottomline="true" endhead="true">
6540 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6541 \begin_inset Text
6542
6543 \begin_layout Standard
6544 \begin_inset ERT
6545 status open
6546
6547 \begin_layout Standard
6548
6549
6550 \backslash
6551 caption*{Continued Example Phone List}
6552 \backslash
6553
6554 \backslash
6555 %
6556 \end_layout
6557
6558 \end_inset
6559
6560
6561 \end_layout
6562
6563 \end_inset
6564 </cell>
6565 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6566 \begin_inset Text
6567
6568 \begin_layout Standard
6569
6570 \end_layout
6571
6572 \end_inset
6573 </cell>
6574 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6575 \begin_inset Text
6576
6577 \begin_layout Standard
6578
6579 \end_layout
6580
6581 \end_inset
6582 </cell>
6583 </row>
6584 <row topline="true" bottomline="true" endhead="true">
6585 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6586 \begin_inset Text
6587
6588 \begin_layout Standard
6589
6590 \series bold
6591 Example Phone List
6592 \end_layout
6593
6594 \end_inset
6595 </cell>
6596 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6597 \begin_inset Text
6598
6599 \begin_layout Standard
6600
6601 \end_layout
6602
6603 \end_inset
6604 </cell>
6605 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6606 \begin_inset Text
6607
6608 \begin_layout Standard
6609
6610 \end_layout
6611
6612 \end_inset
6613 </cell>
6614 </row>
6615 <row topline="true" bottomline="true" endhead="true">
6616 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
6617 \begin_inset Text
6618
6619 \begin_layout Standard
6620
6621 \series bold
6622 NAME
6623 \end_layout
6624
6625 \end_inset
6626 </cell>
6627 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6628 \begin_inset Text
6629
6630 \begin_layout Standard
6631
6632 \end_layout
6633
6634 \end_inset
6635 </cell>
6636 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6637 \begin_inset Text
6638
6639 \begin_layout Standard
6640
6641 \series bold
6642 TEL.
6643 \end_layout
6644
6645 \end_inset
6646 </cell>
6647 </row>
6648 <row topline="true" bottomline="true" endfoot="true">
6649 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
6650 \begin_inset Text
6651
6652 \begin_layout Standard
6653 continued on next page
6654 \end_layout
6655
6656 \end_inset
6657 </cell>
6658 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6659 \begin_inset Text
6660
6661 \begin_layout Standard
6662
6663 \end_layout
6664
6665 \end_inset
6666 </cell>
6667 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6668 \begin_inset Text
6669
6670 \begin_layout Standard
6671
6672 \end_layout
6673
6674 \end_inset
6675 </cell>
6676 </row>
6677 <row>
6678 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6679 \begin_inset Text
6680
6681 \begin_layout Standard
6682
6683 \series bold
6684 Annovi
6685 \end_layout
6686
6687 \end_inset
6688 </cell>
6689 <cell alignment="center" valignment="top" topline="true" usebox="none">
6690 \begin_inset Text
6691
6692 \begin_layout Standard
6693 Silvia
6694 \end_layout
6695
6696 \end_inset
6697 </cell>
6698 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6699 \begin_inset Text
6700
6701 \begin_layout Standard
6702 111
6703 \end_layout
6704
6705 \end_inset
6706 </cell>
6707 </row>
6708 <row>
6709 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6710 \begin_inset Text
6711
6712 \begin_layout Standard
6713
6714 \series bold
6715 Bertoli
6716 \end_layout
6717
6718 \end_inset
6719 </cell>
6720 <cell alignment="center" valignment="top" topline="true" usebox="none">
6721 \begin_inset Text
6722
6723 \begin_layout Standard
6724 Stefano
6725 \end_layout
6726
6727 \end_inset
6728 </cell>
6729 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6730 \begin_inset Text
6731
6732 \begin_layout Standard
6733 111
6734 \end_layout
6735
6736 \end_inset
6737 </cell>
6738 </row>
6739 <row>
6740 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6741 \begin_inset Text
6742
6743 \begin_layout Standard
6744
6745 \series bold
6746 Bozzi
6747 \end_layout
6748
6749 \end_inset
6750 </cell>
6751 <cell alignment="center" valignment="top" topline="true" usebox="none">
6752 \begin_inset Text
6753
6754 \begin_layout Standard
6755 Walter
6756 \end_layout
6757
6758 \end_inset
6759 </cell>
6760 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6761 \begin_inset Text
6762
6763 \begin_layout Standard
6764 111
6765 \end_layout
6766
6767 \end_inset
6768 </cell>
6769 </row>
6770 <row>
6771 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6772 \begin_inset Text
6773
6774 \begin_layout Standard
6775
6776 \series bold
6777 Cachia
6778 \end_layout
6779
6780 \end_inset
6781 </cell>
6782 <cell alignment="center" valignment="top" topline="true" usebox="none">
6783 \begin_inset Text
6784
6785 \begin_layout Standard
6786 Maria
6787 \end_layout
6788
6789 \end_inset
6790 </cell>
6791 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6792 \begin_inset Text
6793
6794 \begin_layout Standard
6795 111
6796 \end_layout
6797
6798 \end_inset
6799 </cell>
6800 </row>
6801 <row>
6802 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6803 \begin_inset Text
6804
6805 \begin_layout Standard
6806
6807 \series bold
6808 Cachia
6809 \end_layout
6810
6811 \end_inset
6812 </cell>
6813 <cell alignment="center" valignment="top" topline="true" usebox="none">
6814 \begin_inset Text
6815
6816 \begin_layout Standard
6817 Maurizio
6818 \end_layout
6819
6820 \end_inset
6821 </cell>
6822 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6823 \begin_inset Text
6824
6825 \begin_layout Standard
6826 111
6827 \end_layout
6828
6829 \end_inset
6830 </cell>
6831 </row>
6832 <row>
6833 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6834 \begin_inset Text
6835
6836 \begin_layout Standard
6837
6838 \series bold
6839 Cinquemani
6840 \end_layout
6841
6842 \end_inset
6843 </cell>
6844 <cell alignment="center" valignment="top" topline="true" usebox="none">
6845 \begin_inset Text
6846
6847 \begin_layout Standard
6848 Giusi
6849 \end_layout
6850
6851 \end_inset
6852 </cell>
6853 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6854 \begin_inset Text
6855
6856 \begin_layout Standard
6857 111
6858 \end_layout
6859
6860 \end_inset
6861 </cell>
6862 </row>
6863 <row>
6864 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6865 \begin_inset Text
6866
6867 \begin_layout Standard
6868
6869 \series bold
6870 Colin
6871 \end_layout
6872
6873 \end_inset
6874 </cell>
6875 <cell alignment="center" valignment="top" topline="true" usebox="none">
6876 \begin_inset Text
6877
6878 \begin_layout Standard
6879 Bernard
6880 \end_layout
6881
6882 \end_inset
6883 </cell>
6884 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6885 \begin_inset Text
6886
6887 \begin_layout Standard
6888 111
6889 \end_layout
6890
6891 \end_inset
6892 </cell>
6893 </row>
6894 <row>
6895 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6896 \begin_inset Text
6897
6898 \begin_layout Standard
6899
6900 \series bold
6901 Concli
6902 \end_layout
6903
6904 \end_inset
6905 </cell>
6906 <cell alignment="center" valignment="top" topline="true" usebox="none">
6907 \begin_inset Text
6908
6909 \begin_layout Standard
6910 Gianfranco
6911 \end_layout
6912
6913 \end_inset
6914 </cell>
6915 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6916 \begin_inset Text
6917
6918 \begin_layout Standard
6919 111
6920 \end_layout
6921
6922 \end_inset
6923 </cell>
6924 </row>
6925 <row>
6926 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6927 \begin_inset Text
6928
6929 \begin_layout Standard
6930
6931 \series bold
6932 Dal Bosco
6933 \end_layout
6934
6935 \end_inset
6936 </cell>
6937 <cell alignment="center" valignment="top" topline="true" usebox="none">
6938 \begin_inset Text
6939
6940 \begin_layout Standard
6941 Carolina
6942 \end_layout
6943
6944 \end_inset
6945 </cell>
6946 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6947 \begin_inset Text
6948
6949 \begin_layout Standard
6950 111
6951 \end_layout
6952
6953 \end_inset
6954 </cell>
6955 </row>
6956 <row>
6957 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6958 \begin_inset Text
6959
6960 \begin_layout Standard
6961
6962 \series bold
6963 Dalpiaz
6964 \end_layout
6965
6966 \end_inset
6967 </cell>
6968 <cell alignment="center" valignment="top" topline="true" usebox="none">
6969 \begin_inset Text
6970
6971 \begin_layout Standard
6972 Annamaria
6973 \end_layout
6974
6975 \end_inset
6976 </cell>
6977 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6978 \begin_inset Text
6979
6980 \begin_layout Standard
6981 111
6982 \end_layout
6983
6984 \end_inset
6985 </cell>
6986 </row>
6987 <row>
6988 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6989 \begin_inset Text
6990
6991 \begin_layout Standard
6992
6993 \series bold
6994 Feliciello
6995 \end_layout
6996
6997 \end_inset
6998 </cell>
6999 <cell alignment="center" valignment="top" topline="true" usebox="none">
7000 \begin_inset Text
7001
7002 \begin_layout Standard
7003 Domenico
7004 \end_layout
7005
7006 \end_inset
7007 </cell>
7008 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7009 \begin_inset Text
7010
7011 \begin_layout Standard
7012 111
7013 \end_layout
7014
7015 \end_inset
7016 </cell>
7017 </row>
7018 <row>
7019 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7020 \begin_inset Text
7021
7022 \begin_layout Standard
7023
7024 \series bold
7025 Focarelli
7026 \end_layout
7027
7028 \end_inset
7029 </cell>
7030 <cell alignment="center" valignment="top" topline="true" usebox="none">
7031 \begin_inset Text
7032
7033 \begin_layout Standard
7034 Paola
7035 \end_layout
7036
7037 \end_inset
7038 </cell>
7039 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7040 \begin_inset Text
7041
7042 \begin_layout Standard
7043 111
7044 \end_layout
7045
7046 \end_inset
7047 </cell>
7048 </row>
7049 <row>
7050 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7051 \begin_inset Text
7052
7053 \begin_layout Standard
7054
7055 \series bold
7056 Galletti
7057 \end_layout
7058
7059 \end_inset
7060 </cell>
7061 <cell alignment="center" valignment="top" topline="true" usebox="none">
7062 \begin_inset Text
7063
7064 \begin_layout Standard
7065 Oreste
7066 \end_layout
7067
7068 \end_inset
7069 </cell>
7070 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7071 \begin_inset Text
7072
7073 \begin_layout Standard
7074 111
7075 \end_layout
7076
7077 \end_inset
7078 </cell>
7079 </row>
7080 <row>
7081 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7082 \begin_inset Text
7083
7084 \begin_layout Standard
7085
7086 \series bold
7087 Gasparini
7088 \end_layout
7089
7090 \end_inset
7091 </cell>
7092 <cell alignment="center" valignment="top" topline="true" usebox="none">
7093 \begin_inset Text
7094
7095 \begin_layout Standard
7096 Franca
7097 \end_layout
7098
7099 \end_inset
7100 </cell>
7101 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7102 \begin_inset Text
7103
7104 \begin_layout Standard
7105 111
7106 \end_layout
7107
7108 \end_inset
7109 </cell>
7110 </row>
7111 <row>
7112 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7113 \begin_inset Text
7114
7115 \begin_layout Standard
7116
7117 \series bold
7118 Rizzardi
7119 \series default
7120
7121 \begin_inset Foot
7122 status collapsed
7123
7124 \begin_layout Standard
7125 Example footnote
7126 \end_layout
7127
7128 \end_inset
7129
7130
7131 \end_layout
7132
7133 \end_inset
7134 </cell>
7135 <cell alignment="center" valignment="top" topline="true" usebox="none">
7136 \begin_inset Text
7137
7138 \begin_layout Standard
7139 Paola
7140 \end_layout
7141
7142 \end_inset
7143 </cell>
7144 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7145 \begin_inset Text
7146
7147 \begin_layout Standard
7148 111
7149 \end_layout
7150
7151 \end_inset
7152 </cell>
7153 </row>
7154 <row>
7155 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7156 \begin_inset Text
7157
7158 \begin_layout Standard
7159
7160 \series bold
7161 Lassini
7162 \end_layout
7163
7164 \end_inset
7165 </cell>
7166 <cell alignment="center" valignment="top" topline="true" usebox="none">
7167 \begin_inset Text
7168
7169 \begin_layout Standard
7170 Giancarlo
7171 \end_layout
7172
7173 \end_inset
7174 </cell>
7175 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7176 \begin_inset Text
7177
7178 \begin_layout Standard
7179 111
7180 \end_layout
7181
7182 \end_inset
7183 </cell>
7184 </row>
7185 <row>
7186 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7187 \begin_inset Text
7188
7189 \begin_layout Standard
7190
7191 \series bold
7192 Malfatti
7193 \end_layout
7194
7195 \end_inset
7196 </cell>
7197 <cell alignment="center" valignment="top" topline="true" usebox="none">
7198 \begin_inset Text
7199
7200 \begin_layout Standard
7201 Luciano
7202 \end_layout
7203
7204 \end_inset
7205 </cell>
7206 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7207 \begin_inset Text
7208
7209 \begin_layout Standard
7210 111
7211 \end_layout
7212
7213 \end_inset
7214 </cell>
7215 </row>
7216 <row>
7217 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7218 \begin_inset Text
7219
7220 \begin_layout Standard
7221
7222 \series bold
7223 Malfatti
7224 \end_layout
7225
7226 \end_inset
7227 </cell>
7228 <cell alignment="center" valignment="top" topline="true" usebox="none">
7229 \begin_inset Text
7230
7231 \begin_layout Standard
7232 Valeriano
7233 \end_layout
7234
7235 \end_inset
7236 </cell>
7237 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7238 \begin_inset Text
7239
7240 \begin_layout Standard
7241 111
7242 \end_layout
7243
7244 \end_inset
7245 </cell>
7246 </row>
7247 <row>
7248 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7249 \begin_inset Text
7250
7251 \begin_layout Standard
7252
7253 \series bold
7254 Meneguzzo
7255 \end_layout
7256
7257 \end_inset
7258 </cell>
7259 <cell alignment="center" valignment="top" topline="true" usebox="none">
7260 \begin_inset Text
7261
7262 \begin_layout Standard
7263 Roberto
7264 \end_layout
7265
7266 \end_inset
7267 </cell>
7268 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7269 \begin_inset Text
7270
7271 \begin_layout Standard
7272 111
7273 \end_layout
7274
7275 \end_inset
7276 </cell>
7277 </row>
7278 <row>
7279 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7280 \begin_inset Text
7281
7282 \begin_layout Standard
7283
7284 \series bold
7285 Mezzadra
7286 \end_layout
7287
7288 \end_inset
7289 </cell>
7290 <cell alignment="center" valignment="top" topline="true" usebox="none">
7291 \begin_inset Text
7292
7293 \begin_layout Standard
7294 Roberto
7295 \end_layout
7296
7297 \end_inset
7298 </cell>
7299 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7300 \begin_inset Text
7301
7302 \begin_layout Standard
7303 111
7304 \end_layout
7305
7306 \end_inset
7307 </cell>
7308 </row>
7309 <row>
7310 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7311 \begin_inset Text
7312
7313 \begin_layout Standard
7314
7315 \series bold
7316 Pirpamer
7317 \end_layout
7318
7319 \end_inset
7320 </cell>
7321 <cell alignment="center" valignment="top" topline="true" usebox="none">
7322 \begin_inset Text
7323
7324 \begin_layout Standard
7325 Erich
7326 \end_layout
7327
7328 \end_inset
7329 </cell>
7330 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7331 \begin_inset Text
7332
7333 \begin_layout Standard
7334 111
7335 \end_layout
7336
7337 \end_inset
7338 </cell>
7339 </row>
7340 <row>
7341 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7342 \begin_inset Text
7343
7344 \begin_layout Standard
7345
7346 \series bold
7347 Pochiesa
7348 \end_layout
7349
7350 \end_inset
7351 </cell>
7352 <cell alignment="center" valignment="top" topline="true" usebox="none">
7353 \begin_inset Text
7354
7355 \begin_layout Standard
7356 Paolo
7357 \end_layout
7358
7359 \end_inset
7360 </cell>
7361 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7362 \begin_inset Text
7363
7364 \begin_layout Standard
7365 111, 222
7366 \end_layout
7367
7368 \end_inset
7369 </cell>
7370 </row>
7371 <row>
7372 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7373 \begin_inset Text
7374
7375 \begin_layout Standard
7376
7377 \series bold
7378 Radina
7379 \end_layout
7380
7381 \end_inset
7382 </cell>
7383 <cell alignment="center" valignment="top" topline="true" usebox="none">
7384 \begin_inset Text
7385
7386 \begin_layout Standard
7387 Claudio
7388 \end_layout
7389
7390 \end_inset
7391 </cell>
7392 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7393 \begin_inset Text
7394
7395 \begin_layout Standard
7396 111
7397 \end_layout
7398
7399 \end_inset
7400 </cell>
7401 </row>
7402 <row>
7403 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7404 \begin_inset Text
7405
7406 \begin_layout Standard
7407
7408 \series bold
7409 Stuffer
7410 \end_layout
7411
7412 \end_inset
7413 </cell>
7414 <cell alignment="center" valignment="top" topline="true" usebox="none">
7415 \begin_inset Text
7416
7417 \begin_layout Standard
7418 Oskar
7419 \end_layout
7420
7421 \end_inset
7422 </cell>
7423 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7424 \begin_inset Text
7425
7426 \begin_layout Standard
7427 111
7428 \end_layout
7429
7430 \end_inset
7431 </cell>
7432 </row>
7433 <row>
7434 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7435 \begin_inset Text
7436
7437 \begin_layout Standard
7438
7439 \series bold
7440 Tacchelli
7441 \end_layout
7442
7443 \end_inset
7444 </cell>
7445 <cell alignment="center" valignment="top" topline="true" usebox="none">
7446 \begin_inset Text
7447
7448 \begin_layout Standard
7449 Ugo
7450 \end_layout
7451
7452 \end_inset
7453 </cell>
7454 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7455 \begin_inset Text
7456
7457 \begin_layout Standard
7458 111
7459 \end_layout
7460
7461 \end_inset
7462 </cell>
7463 </row>
7464 <row>
7465 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7466 \begin_inset Text
7467
7468 \begin_layout Standard
7469
7470 \series bold
7471 Tezzele
7472 \end_layout
7473
7474 \end_inset
7475 </cell>
7476 <cell alignment="center" valignment="top" topline="true" usebox="none">
7477 \begin_inset Text
7478
7479 \begin_layout Standard
7480 Margit
7481 \end_layout
7482
7483 \end_inset
7484 </cell>
7485 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7486 \begin_inset Text
7487
7488 \begin_layout Standard
7489 111
7490 \end_layout
7491
7492 \end_inset
7493 </cell>
7494 </row>
7495 <row>
7496 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7497 \begin_inset Text
7498
7499 \begin_layout Standard
7500
7501 \series bold
7502 Unterkalmsteiner
7503 \end_layout
7504
7505 \end_inset
7506 </cell>
7507 <cell alignment="center" valignment="top" topline="true" usebox="none">
7508 \begin_inset Text
7509
7510 \begin_layout Standard
7511 Frieda
7512 \end_layout
7513
7514 \end_inset
7515 </cell>
7516 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7517 \begin_inset Text
7518
7519 \begin_layout Standard
7520 111
7521 \end_layout
7522
7523 \end_inset
7524 </cell>
7525 </row>
7526 <row>
7527 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7528 \begin_inset Text
7529
7530 \begin_layout Standard
7531
7532 \series bold
7533 Vieider
7534 \end_layout
7535
7536 \end_inset
7537 </cell>
7538 <cell alignment="center" valignment="top" topline="true" usebox="none">
7539 \begin_inset Text
7540
7541 \begin_layout Standard
7542 Hilde
7543 \end_layout
7544
7545 \end_inset
7546 </cell>
7547 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7548 \begin_inset Text
7549
7550 \begin_layout Standard
7551 111
7552 \end_layout
7553
7554 \end_inset
7555 </cell>
7556 </row>
7557 <row>
7558 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7559 \begin_inset Text
7560
7561 \begin_layout Standard
7562
7563 \series bold
7564 Vigna
7565 \end_layout
7566
7567 \end_inset
7568 </cell>
7569 <cell alignment="center" valignment="top" topline="true" usebox="none">
7570 \begin_inset Text
7571
7572 \begin_layout Standard
7573 Jürgen
7574 \end_layout
7575
7576 \end_inset
7577 </cell>
7578 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7579 \begin_inset Text
7580
7581 \begin_layout Standard
7582 111
7583 \end_layout
7584
7585 \end_inset
7586 </cell>
7587 </row>
7588 <row>
7589 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7590 \begin_inset Text
7591
7592 \begin_layout Standard
7593
7594 \series bold
7595 Weber
7596 \end_layout
7597
7598 \end_inset
7599 </cell>
7600 <cell alignment="center" valignment="top" topline="true" usebox="none">
7601 \begin_inset Text
7602
7603 \begin_layout Standard
7604 Maurizio
7605 \end_layout
7606
7607 \end_inset
7608 </cell>
7609 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7610 \begin_inset Text
7611
7612 \begin_layout Standard
7613 111
7614 \end_layout
7615
7616 \end_inset
7617 </cell>
7618 </row>
7619 <row bottomline="true">
7620 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7621 \begin_inset Text
7622
7623 \begin_layout Standard
7624
7625 \series bold
7626 Winkler
7627 \end_layout
7628
7629 \end_inset
7630 </cell>
7631 <cell alignment="center" valignment="top" topline="true" usebox="none">
7632 \begin_inset Text
7633
7634 \begin_layout Standard
7635 Franz
7636 \end_layout
7637
7638 \end_inset
7639 </cell>
7640 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7641 \begin_inset Text
7642
7643 \begin_layout Standard
7644 111
7645 \end_layout
7646
7647 \end_inset
7648 </cell>
7649 </row>
7650 <row bottomline="true">
7651 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7652 \begin_inset Text
7653
7654 \begin_layout Standard
7655  
7656 \end_layout
7657
7658 \end_inset
7659 </cell>
7660 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
7661 \begin_inset Text
7662
7663 \begin_layout Standard
7664
7665 \end_layout
7666
7667 \end_inset
7668 </cell>
7669 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7670 \begin_inset Text
7671
7672 \begin_layout Standard
7673
7674 \end_layout
7675
7676 \end_inset
7677 </cell>
7678 </row>
7679 <row>
7680 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7681 \begin_inset Text
7682
7683 \begin_layout Standard
7684
7685 \series bold
7686 Annovi
7687 \end_layout
7688
7689 \end_inset
7690 </cell>
7691 <cell alignment="center" valignment="top" topline="true" usebox="none">
7692 \begin_inset Text
7693
7694 \begin_layout Standard
7695 Silvia
7696 \end_layout
7697
7698 \end_inset
7699 </cell>
7700 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7701 \begin_inset Text
7702
7703 \begin_layout Standard
7704 555
7705 \end_layout
7706
7707 \end_inset
7708 </cell>
7709 </row>
7710 <row>
7711 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7712 \begin_inset Text
7713
7714 \begin_layout Standard
7715
7716 \series bold
7717 Bertoli
7718 \end_layout
7719
7720 \end_inset
7721 </cell>
7722 <cell alignment="center" valignment="top" topline="true" usebox="none">
7723 \begin_inset Text
7724
7725 \begin_layout Standard
7726 Stefano
7727 \end_layout
7728
7729 \end_inset
7730 </cell>
7731 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7732 \begin_inset Text
7733
7734 \begin_layout Standard
7735 555
7736 \end_layout
7737
7738 \end_inset
7739 </cell>
7740 </row>
7741 <row>
7742 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7743 \begin_inset Text
7744
7745 \begin_layout Standard
7746
7747 \series bold
7748 Bozzi
7749 \end_layout
7750
7751 \end_inset
7752 </cell>
7753 <cell alignment="center" valignment="top" topline="true" usebox="none">
7754 \begin_inset Text
7755
7756 \begin_layout Standard
7757 Walter
7758 \end_layout
7759
7760 \end_inset
7761 </cell>
7762 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7763 \begin_inset Text
7764
7765 \begin_layout Standard
7766 555
7767 \end_layout
7768
7769 \end_inset
7770 </cell>
7771 </row>
7772 <row>
7773 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7774 \begin_inset Text
7775
7776 \begin_layout Standard
7777
7778 \series bold
7779 Cachia
7780 \end_layout
7781
7782 \end_inset
7783 </cell>
7784 <cell alignment="center" valignment="top" topline="true" usebox="none">
7785 \begin_inset Text
7786
7787 \begin_layout Standard
7788 Maria
7789 \end_layout
7790
7791 \end_inset
7792 </cell>
7793 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7794 \begin_inset Text
7795
7796 \begin_layout Standard
7797 555
7798 \end_layout
7799
7800 \end_inset
7801 </cell>
7802 </row>
7803 <row>
7804 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7805 \begin_inset Text
7806
7807 \begin_layout Standard
7808
7809 \series bold
7810 Cachia
7811 \end_layout
7812
7813 \end_inset
7814 </cell>
7815 <cell alignment="center" valignment="top" topline="true" usebox="none">
7816 \begin_inset Text
7817
7818 \begin_layout Standard
7819 Maurizio
7820 \end_layout
7821
7822 \end_inset
7823 </cell>
7824 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7825 \begin_inset Text
7826
7827 \begin_layout Standard
7828 555
7829 \end_layout
7830
7831 \end_inset
7832 </cell>
7833 </row>
7834 <row>
7835 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7836 \begin_inset Text
7837
7838 \begin_layout Standard
7839
7840 \series bold
7841 Cinquemani
7842 \end_layout
7843
7844 \end_inset
7845 </cell>
7846 <cell alignment="center" valignment="top" topline="true" usebox="none">
7847 \begin_inset Text
7848
7849 \begin_layout Standard
7850 Giusi
7851 \end_layout
7852
7853 \end_inset
7854 </cell>
7855 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7856 \begin_inset Text
7857
7858 \begin_layout Standard
7859 555
7860 \end_layout
7861
7862 \end_inset
7863 </cell>
7864 </row>
7865 <row>
7866 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7867 \begin_inset Text
7868
7869 \begin_layout Standard
7870
7871 \series bold
7872 Colin
7873 \end_layout
7874
7875 \end_inset
7876 </cell>
7877 <cell alignment="center" valignment="top" topline="true" usebox="none">
7878 \begin_inset Text
7879
7880 \begin_layout Standard
7881 Bernard
7882 \end_layout
7883
7884 \end_inset
7885 </cell>
7886 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7887 \begin_inset Text
7888
7889 \begin_layout Standard
7890 555
7891 \end_layout
7892
7893 \end_inset
7894 </cell>
7895 </row>
7896 <row>
7897 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7898 \begin_inset Text
7899
7900 \begin_layout Standard
7901
7902 \series bold
7903 Concli
7904 \end_layout
7905
7906 \end_inset
7907 </cell>
7908 <cell alignment="center" valignment="top" topline="true" usebox="none">
7909 \begin_inset Text
7910
7911 \begin_layout Standard
7912 Gianfranco
7913 \end_layout
7914
7915 \end_inset
7916 </cell>
7917 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7918 \begin_inset Text
7919
7920 \begin_layout Standard
7921 555
7922 \end_layout
7923
7924 \end_inset
7925 </cell>
7926 </row>
7927 <row>
7928 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7929 \begin_inset Text
7930
7931 \begin_layout Standard
7932
7933 \series bold
7934 Dal Bosco
7935 \end_layout
7936
7937 \end_inset
7938 </cell>
7939 <cell alignment="center" valignment="top" topline="true" usebox="none">
7940 \begin_inset Text
7941
7942 \begin_layout Standard
7943 Carolina
7944 \end_layout
7945
7946 \end_inset
7947 </cell>
7948 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7949 \begin_inset Text
7950
7951 \begin_layout Standard
7952 555
7953 \end_layout
7954
7955 \end_inset
7956 </cell>
7957 </row>
7958 <row>
7959 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7960 \begin_inset Text
7961
7962 \begin_layout Standard
7963
7964 \series bold
7965 Dalpiaz
7966 \end_layout
7967
7968 \end_inset
7969 </cell>
7970 <cell alignment="center" valignment="top" topline="true" usebox="none">
7971 \begin_inset Text
7972
7973 \begin_layout Standard
7974 Annamaria
7975 \end_layout
7976
7977 \end_inset
7978 </cell>
7979 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7980 \begin_inset Text
7981
7982 \begin_layout Standard
7983 555
7984 \end_layout
7985
7986 \end_inset
7987 </cell>
7988 </row>
7989 <row>
7990 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7991 \begin_inset Text
7992
7993 \begin_layout Standard
7994
7995 \series bold
7996 Feliciello
7997 \end_layout
7998
7999 \end_inset
8000 </cell>
8001 <cell alignment="center" valignment="top" topline="true" usebox="none">
8002 \begin_inset Text
8003
8004 \begin_layout Standard
8005 Domenico
8006 \end_layout
8007
8008 \end_inset
8009 </cell>
8010 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8011 \begin_inset Text
8012
8013 \begin_layout Standard
8014 555
8015 \end_layout
8016
8017 \end_inset
8018 </cell>
8019 </row>
8020 <row>
8021 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8022 \begin_inset Text
8023
8024 \begin_layout Standard
8025
8026 \series bold
8027 Focarelli
8028 \end_layout
8029
8030 \end_inset
8031 </cell>
8032 <cell alignment="center" valignment="top" topline="true" usebox="none">
8033 \begin_inset Text
8034
8035 \begin_layout Standard
8036 Paola
8037 \end_layout
8038
8039 \end_inset
8040 </cell>
8041 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8042 \begin_inset Text
8043
8044 \begin_layout Standard
8045 555
8046 \end_layout
8047
8048 \end_inset
8049 </cell>
8050 </row>
8051 <row>
8052 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8053 \begin_inset Text
8054
8055 \begin_layout Standard
8056
8057 \series bold
8058 Galletti
8059 \end_layout
8060
8061 \end_inset
8062 </cell>
8063 <cell alignment="center" valignment="top" topline="true" usebox="none">
8064 \begin_inset Text
8065
8066 \begin_layout Standard
8067 Oreste
8068 \end_layout
8069
8070 \end_inset
8071 </cell>
8072 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8073 \begin_inset Text
8074
8075 \begin_layout Standard
8076 555
8077 \end_layout
8078
8079 \end_inset
8080 </cell>
8081 </row>
8082 <row>
8083 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8084 \begin_inset Text
8085
8086 \begin_layout Standard
8087
8088 \series bold
8089 Gasparini
8090 \end_layout
8091
8092 \end_inset
8093 </cell>
8094 <cell alignment="center" valignment="top" topline="true" usebox="none">
8095 \begin_inset Text
8096
8097 \begin_layout Standard
8098 Franca
8099 \end_layout
8100
8101 \end_inset
8102 </cell>
8103 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8104 \begin_inset Text
8105
8106 \begin_layout Standard
8107 555
8108 \end_layout
8109
8110 \end_inset
8111 </cell>
8112 </row>
8113 <row>
8114 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8115 \begin_inset Text
8116
8117 \begin_layout Standard
8118
8119 \series bold
8120 Rizzardi
8121 \end_layout
8122
8123 \end_inset
8124 </cell>
8125 <cell alignment="center" valignment="top" topline="true" usebox="none">
8126 \begin_inset Text
8127
8128 \begin_layout Standard
8129 Paola
8130 \end_layout
8131
8132 \end_inset
8133 </cell>
8134 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8135 \begin_inset Text
8136
8137 \begin_layout Standard
8138 555
8139 \end_layout
8140
8141 \end_inset
8142 </cell>
8143 </row>
8144 <row>
8145 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8146 \begin_inset Text
8147
8148 \begin_layout Standard
8149
8150 \series bold
8151 Lassini
8152 \end_layout
8153
8154 \end_inset
8155 </cell>
8156 <cell alignment="center" valignment="top" topline="true" usebox="none">
8157 \begin_inset Text
8158
8159 \begin_layout Standard
8160 Giancarlo
8161 \end_layout
8162
8163 \end_inset
8164 </cell>
8165 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8166 \begin_inset Text
8167
8168 \begin_layout Standard
8169 555
8170 \end_layout
8171
8172 \end_inset
8173 </cell>
8174 </row>
8175 <row>
8176 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8177 \begin_inset Text
8178
8179 \begin_layout Standard
8180
8181 \series bold
8182 Malfatti
8183 \end_layout
8184
8185 \end_inset
8186 </cell>
8187 <cell alignment="center" valignment="top" topline="true" usebox="none">
8188 \begin_inset Text
8189
8190 \begin_layout Standard
8191 Luciano
8192 \end_layout
8193
8194 \end_inset
8195 </cell>
8196 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8197 \begin_inset Text
8198
8199 \begin_layout Standard
8200 555
8201 \end_layout
8202
8203 \end_inset
8204 </cell>
8205 </row>
8206 <row>
8207 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8208 \begin_inset Text
8209
8210 \begin_layout Standard
8211
8212 \series bold
8213 Malfatti
8214 \end_layout
8215
8216 \end_inset
8217 </cell>
8218 <cell alignment="center" valignment="top" topline="true" usebox="none">
8219 \begin_inset Text
8220
8221 \begin_layout Standard
8222 Valeriano
8223 \end_layout
8224
8225 \end_inset
8226 </cell>
8227 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8228 \begin_inset Text
8229
8230 \begin_layout Standard
8231 555
8232 \end_layout
8233
8234 \end_inset
8235 </cell>
8236 </row>
8237 <row>
8238 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8239 \begin_inset Text
8240
8241 \begin_layout Standard
8242
8243 \series bold
8244 Meneguzzo
8245 \end_layout
8246
8247 \end_inset
8248 </cell>
8249 <cell alignment="center" valignment="top" topline="true" usebox="none">
8250 \begin_inset Text
8251
8252 \begin_layout Standard
8253 Roberto
8254 \end_layout
8255
8256 \end_inset
8257 </cell>
8258 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8259 \begin_inset Text
8260
8261 \begin_layout Standard
8262 555
8263 \end_layout
8264
8265 \end_inset
8266 </cell>
8267 </row>
8268 <row bottomline="true">
8269 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8270 \begin_inset Text
8271
8272 \begin_layout Standard
8273
8274 \series bold
8275 Mezzadra
8276 \end_layout
8277
8278 \end_inset
8279 </cell>
8280 <cell alignment="center" valignment="top" topline="true" usebox="none">
8281 \begin_inset Text
8282
8283 \begin_layout Standard
8284 Roberto
8285 \end_layout
8286
8287 \end_inset
8288 </cell>
8289 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8290 \begin_inset Text
8291
8292 \begin_layout Standard
8293 555
8294 \end_layout
8295
8296 \end_inset
8297 </cell>
8298 </row>
8299 <row bottomline="true" endlastfoot="true">
8300 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
8301 \begin_inset Text
8302
8303 \begin_layout Standard
8304
8305 \end_layout
8306
8307 \end_inset
8308 </cell>
8309 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8310 \begin_inset Text
8311
8312 \begin_layout Standard
8313
8314 \end_layout
8315
8316 \end_inset
8317 </cell>
8318 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8319 \begin_inset Text
8320
8321 \begin_layout Standard
8322
8323 \end_layout
8324
8325 \end_inset
8326 </cell>
8327 </row>
8328 </lyxtabular>
8329
8330 \end_inset
8331
8332
8333 \end_layout
8334
8335 \begin_layout Section
8336 Special Longtable Issues
8337 \begin_inset LatexCommand label
8338 name "sec:Special-Longtable-Issues"
8339
8340 \end_inset
8341
8342
8343 \end_layout
8344
8345 \begin_layout Subsection
8346 Longtable Calculation
8347 \begin_inset LatexCommand index
8348 name "Longtables ! Calculation"
8349
8350 \end_inset
8351
8352
8353 \end_layout
8354
8355 \begin_layout Standard
8356 LaTeX calculates the height of table pages and their page breaks using so
8357  called chunks.
8358  Chunks are pieces of the tables that are at once in LaTeX's memory.
8359  The default value is historically set to only 20 table rows.
8360  If you are using longtables with many pages this may slow down the creation
8361  of your document.
8362  You can safely increase the chunk size to values of 100-1000 by adding
8363  this command line to your document preamble:
8364 \end_layout
8365
8366 \begin_layout Standard
8367
8368 \series bold
8369
8370 \backslash
8371 setcounter{LTchunksize}{100}
8372 \end_layout
8373
8374 \begin_layout Subsection
8375 Floats and Longtables
8376 \begin_inset LatexCommand index
8377 name "Longtables ! Floats"
8378
8379 \end_inset
8380
8381
8382 \end_layout
8383
8384 \begin_layout Standard
8385 There might be problems when a float appears on the same page where a longtable
8386  starts.
8387  To avoid such situation, add the command 
8388 \series bold
8389
8390 \backslash
8391 clearpage
8392 \series default
8393  as ERT before your longtable.
8394 \end_layout
8395
8396 \begin_layout Subsection
8397 Forced Page Breaks
8398 \begin_inset LatexCommand index
8399 name "Longtables ! Forced Page Breaks"
8400
8401 \end_inset
8402
8403
8404 \end_layout
8405
8406 \begin_layout Standard
8407 By default tables are only broken between rows.
8408  If you have a cell with multiples lines and want to have a page break within
8409  the cell, insert the new line command 
8410 \begin_inset Quotes eld
8411 \end_inset
8412
8413
8414 \series bold
8415
8416 \backslash
8417
8418 \backslash
8419
8420 \series default
8421
8422 \begin_inset Quotes erd
8423 \end_inset
8424
8425  as ERT at this point of the cell where it should be broken.
8426  Before the 
8427 \series bold
8428
8429 \backslash
8430
8431 \backslash
8432
8433 \series default
8434  command you have to insert in ERT so many 
8435 \begin_inset Quotes eld
8436 \end_inset
8437
8438
8439 \series bold
8440 &
8441 \series default
8442
8443 \begin_inset Quotes erd
8444 \end_inset
8445
8446  characters like the number of the following table columns.
8447  The 
8448 \series bold
8449 &
8450 \series default
8451  is the character to separate table cells.
8452  Write in ERT after each 
8453 \series bold
8454 &
8455 \series default
8456  the content of the corresponding following cell and delete the content
8457  of these cells.
8458 \newline
8459 Behind the the 
8460 \series bold
8461
8462 \backslash
8463
8464 \backslash
8465
8466 \series default
8467  command, insert so many 
8468 \series bold
8469 &
8470 \series default
8471  characters like the number of table columns before the current column.
8472  In Table\InsetSpace ~
8473
8474 \begin_inset LatexCommand ref
8475 reference "tab:ForcedPagebreak"
8476
8477 \end_inset
8478
8479  the cell that should be broken is in the second column followed by another
8480  column.
8481  Therefore the following command was inserted in the cell as ERT behind
8482  
8483 \begin_inset Quotes eld
8484 \end_inset
8485
8486
8487 \emph on
8488 Castelchiodato,
8489 \emph default
8490
8491 \begin_inset Quotes erd
8492 \end_inset
8493
8494 :
8495 \end_layout
8496
8497 \begin_layout Standard
8498
8499 \series bold
8500 & 111
8501 \backslash
8502
8503 \backslash
8504
8505 \newline
8506 &
8507 \end_layout
8508
8509 \begin_layout Standard
8510 The 
8511 \begin_inset Quotes eld
8512 \end_inset
8513
8514 111
8515 \begin_inset Quotes erd
8516 \end_inset
8517
8518  in the third columns of the row was deleted.
8519  If your footer row of the longtable has for a certain reason no upper line
8520  but you would have a horizontal line where the cell is broken, use this
8521  command instead:
8522 \end_layout
8523
8524 \begin_layout Standard
8525
8526 \series bold
8527 & 111
8528 \backslash
8529
8530 \backslash
8531
8532 \newline
8533
8534 \backslash
8535 hline &
8536 \end_layout
8537
8538 \begin_layout Standard
8539 When the cell to be broken is in the last column, the command
8540 \end_layout
8541
8542 \begin_layout Standard
8543
8544 \series bold
8545
8546 \backslash
8547 setlength{
8548 \backslash
8549 parf\SpecialChar \textcompwordmark{}
8550 illskip}{0pt}
8551 \end_layout
8552
8553 \begin_layout Standard
8554 must be inserted as ERT at the beginning of the cell.
8555  This assures that the part of the cell that will be displayed on the new
8556  page appears with the full width.
8557 \end_layout
8558
8559 \begin_layout Standard
8560 \align center
8561 \begin_inset Tabular
8562 <lyxtabular version="3" rows="39" columns="3">
8563 <features islongtable="true">
8564 <column alignment="left" valignment="top" leftline="true" width="0cm">
8565 <column alignment="left" valignment="top" rightline="true" width="3cm">
8566 <column alignment="right" valignment="top" rightline="true" width="0pt">
8567 <row endfirsthead="true">
8568 <cell alignment="right" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8569 \begin_inset Text
8570
8571 \begin_layout Standard
8572 \begin_inset Caption
8573
8574 \begin_layout Standard
8575 Table with forced page break in table cell
8576 \begin_inset LatexCommand label
8577 name "tab:ForcedPagebreak"
8578
8579 \end_inset
8580
8581
8582 \begin_inset OptArg
8583 status collapsed
8584
8585 \begin_layout Standard
8586 Table with forced page break in table cell
8587 \end_layout
8588
8589 \end_inset
8590
8591
8592 \end_layout
8593
8594 \end_inset
8595
8596
8597 \begin_inset ERT
8598 status collapsed
8599
8600 \begin_layout Standard
8601
8602
8603 \backslash
8604
8605 \backslash
8606 %
8607 \end_layout
8608
8609 \end_inset
8610
8611
8612 \end_layout
8613
8614 \end_inset
8615 </cell>
8616 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8617 \begin_inset Text
8618
8619 \begin_layout Standard
8620
8621 \end_layout
8622
8623 \end_inset
8624 </cell>
8625 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8626 \begin_inset Text
8627
8628 \begin_layout Standard
8629
8630 \end_layout
8631
8632 \end_inset
8633 </cell>
8634 </row>
8635 <row topline="true" bottomline="true" endfirsthead="true">
8636 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8637 \begin_inset Text
8638
8639 \begin_layout Standard
8640
8641 \series bold
8642 Example Phone List (ignore the names)
8643 \end_layout
8644
8645 \end_inset
8646 </cell>
8647 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8648 \begin_inset Text
8649
8650 \begin_layout Standard
8651
8652 \end_layout
8653
8654 \end_inset
8655 </cell>
8656 <cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8657 \begin_inset Text
8658
8659 \begin_layout Standard
8660
8661 \end_layout
8662
8663 \end_inset
8664 </cell>
8665 </row>
8666 <row topline="true" bottomline="true" endfirsthead="true">
8667 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8668 \begin_inset Text
8669
8670 \begin_layout Standard
8671
8672 \series bold
8673 NAME
8674 \end_layout
8675
8676 \end_inset
8677 </cell>
8678 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8679 \begin_inset Text
8680
8681 \begin_layout Standard
8682
8683 \end_layout
8684
8685 \end_inset
8686 </cell>
8687 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8688 \begin_inset Text
8689
8690 \begin_layout Standard
8691
8692 \series bold
8693 TEL.
8694 \end_layout
8695
8696 \end_inset
8697 </cell>
8698 </row>
8699 <row bottomline="true" endhead="true">
8700 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8701 \begin_inset Text
8702
8703 \begin_layout Standard
8704 \begin_inset ERT
8705 status collapsed
8706
8707 \begin_layout Standard
8708
8709
8710 \backslash
8711 caption*{Continued table with forced page break in table cell}
8712 \backslash
8713
8714 \backslash
8715 %
8716 \end_layout
8717
8718 \end_inset
8719
8720
8721 \end_layout
8722
8723 \end_inset
8724 </cell>
8725 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8726 \begin_inset Text
8727
8728 \begin_layout Standard
8729
8730 \end_layout
8731
8732 \end_inset
8733 </cell>
8734 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8735 \begin_inset Text
8736
8737 \begin_layout Standard
8738
8739 \end_layout
8740
8741 \end_inset
8742 </cell>
8743 </row>
8744 <row topline="true" bottomline="true" endhead="true">
8745 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8746 \begin_inset Text
8747
8748 \begin_layout Standard
8749  
8750 \series bold
8751 Example Phone List
8752 \end_layout
8753
8754 \end_inset
8755 </cell>
8756 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8757 \begin_inset Text
8758
8759 \begin_layout Standard
8760
8761 \end_layout
8762
8763 \end_inset
8764 </cell>
8765 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8766 \begin_inset Text
8767
8768 \begin_layout Standard
8769
8770 \end_layout
8771
8772 \end_inset
8773 </cell>
8774 </row>
8775 <row topline="true" bottomline="true" endhead="true">
8776 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8777 \begin_inset Text
8778
8779 \begin_layout Standard
8780
8781 \series bold
8782 NAME
8783 \end_layout
8784
8785 \end_inset
8786 </cell>
8787 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8788 \begin_inset Text
8789
8790 \begin_layout Standard
8791
8792 \end_layout
8793
8794 \end_inset
8795 </cell>
8796 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8797 \begin_inset Text
8798
8799 \begin_layout Standard
8800
8801 \series bold
8802 TEL.
8803 \end_layout
8804
8805 \end_inset
8806 </cell>
8807 </row>
8808 <row topline="true" bottomline="true" endfoot="true">
8809 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
8810 \begin_inset Text
8811
8812 \begin_layout Standard
8813 continued on next page
8814 \end_layout
8815
8816 \end_inset
8817 </cell>
8818 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8819 \begin_inset Text
8820
8821 \begin_layout Standard
8822
8823 \end_layout
8824
8825 \end_inset
8826 </cell>
8827 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8828 \begin_inset Text
8829
8830 \begin_layout Standard
8831
8832 \end_layout
8833
8834 \end_inset
8835 </cell>
8836 </row>
8837 <row>
8838 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8839 \begin_inset Text
8840
8841 \begin_layout Standard
8842
8843 \series bold
8844 Annovi
8845 \end_layout
8846
8847 \end_inset
8848 </cell>
8849 <cell alignment="center" valignment="top" topline="true" usebox="none">
8850 \begin_inset Text
8851
8852 \begin_layout Standard
8853 Silvia
8854 \end_layout
8855
8856 \end_inset
8857 </cell>
8858 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8859 \begin_inset Text
8860
8861 \begin_layout Standard
8862 111
8863 \end_layout
8864
8865 \end_inset
8866 </cell>
8867 </row>
8868 <row>
8869 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8870 \begin_inset Text
8871
8872 \begin_layout Standard
8873
8874 \series bold
8875 Bertoli
8876 \end_layout
8877
8878 \end_inset
8879 </cell>
8880 <cell alignment="center" valignment="top" topline="true" usebox="none">
8881 \begin_inset Text
8882
8883 \begin_layout Standard
8884 Stefano
8885 \end_layout
8886
8887 \end_inset
8888 </cell>
8889 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8890 \begin_inset Text
8891
8892 \begin_layout Standard
8893 111
8894 \end_layout
8895
8896 \end_inset
8897 </cell>
8898 </row>
8899 <row>
8900 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8901 \begin_inset Text
8902
8903 \begin_layout Standard
8904
8905 \series bold
8906 Bozzi
8907 \end_layout
8908
8909 \end_inset
8910 </cell>
8911 <cell alignment="center" valignment="top" topline="true" usebox="none">
8912 \begin_inset Text
8913
8914 \begin_layout Standard
8915 Walter
8916 \end_layout
8917
8918 \end_inset
8919 </cell>
8920 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8921 \begin_inset Text
8922
8923 \begin_layout Standard
8924 111
8925 \end_layout
8926
8927 \end_inset
8928 </cell>
8929 </row>
8930 <row>
8931 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8932 \begin_inset Text
8933
8934 \begin_layout Standard
8935
8936 \series bold
8937 Cachia
8938 \end_layout
8939
8940 \end_inset
8941 </cell>
8942 <cell alignment="center" valignment="top" topline="true" usebox="none">
8943 \begin_inset Text
8944
8945 \begin_layout Standard
8946 Maria
8947 \end_layout
8948
8949 \end_inset
8950 </cell>
8951 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8952 \begin_inset Text
8953
8954 \begin_layout Standard
8955 111
8956 \end_layout
8957
8958 \end_inset
8959 </cell>
8960 </row>
8961 <row>
8962 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8963 \begin_inset Text
8964
8965 \begin_layout Standard
8966
8967 \series bold
8968 Cachia
8969 \end_layout
8970
8971 \end_inset
8972 </cell>
8973 <cell alignment="center" valignment="top" topline="true" usebox="none">
8974 \begin_inset Text
8975
8976 \begin_layout Standard
8977 Maurizio
8978 \end_layout
8979
8980 \end_inset
8981 </cell>
8982 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8983 \begin_inset Text
8984
8985 \begin_layout Standard
8986 111
8987 \end_layout
8988
8989 \end_inset
8990 </cell>
8991 </row>
8992 <row>
8993 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8994 \begin_inset Text
8995
8996 \begin_layout Standard
8997
8998 \series bold
8999 Cinquemani
9000 \end_layout
9001
9002 \end_inset
9003 </cell>
9004 <cell alignment="center" valignment="top" topline="true" usebox="none">
9005 \begin_inset Text
9006
9007 \begin_layout Standard
9008 Giusi
9009 \end_layout
9010
9011 \end_inset
9012 </cell>
9013 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9014 \begin_inset Text
9015
9016 \begin_layout Standard
9017 111
9018 \end_layout
9019
9020 \end_inset
9021 </cell>
9022 </row>
9023 <row>
9024 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9025 \begin_inset Text
9026
9027 \begin_layout Standard
9028
9029 \series bold
9030 Colin
9031 \end_layout
9032
9033 \end_inset
9034 </cell>
9035 <cell alignment="center" valignment="top" topline="true" usebox="none">
9036 \begin_inset Text
9037
9038 \begin_layout Standard
9039 Bernard
9040 \end_layout
9041
9042 \end_inset
9043 </cell>
9044 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9045 \begin_inset Text
9046
9047 \begin_layout Standard
9048 111
9049 \end_layout
9050
9051 \end_inset
9052 </cell>
9053 </row>
9054 <row>
9055 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9056 \begin_inset Text
9057
9058 \begin_layout Standard
9059
9060 \series bold
9061 Concli
9062 \end_layout
9063
9064 \end_inset
9065 </cell>
9066 <cell alignment="center" valignment="top" topline="true" usebox="none">
9067 \begin_inset Text
9068
9069 \begin_layout Standard
9070 Gianfranco
9071 \end_layout
9072
9073 \end_inset
9074 </cell>
9075 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9076 \begin_inset Text
9077
9078 \begin_layout Standard
9079 111
9080 \end_layout
9081
9082 \end_inset
9083 </cell>
9084 </row>
9085 <row>
9086 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9087 \begin_inset Text
9088
9089 \begin_layout Standard
9090
9091 \series bold
9092 Dal Bosco
9093 \end_layout
9094
9095 \end_inset
9096 </cell>
9097 <cell alignment="center" valignment="top" topline="true" usebox="none">
9098 \begin_inset Text
9099
9100 \begin_layout Standard
9101 Carolina
9102 \end_layout
9103
9104 \end_inset
9105 </cell>
9106 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9107 \begin_inset Text
9108
9109 \begin_layout Standard
9110 111
9111 \end_layout
9112
9113 \end_inset
9114 </cell>
9115 </row>
9116 <row>
9117 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9118 \begin_inset Text
9119
9120 \begin_layout Standard
9121
9122 \series bold
9123 Dalpiaz
9124 \end_layout
9125
9126 \end_inset
9127 </cell>
9128 <cell alignment="center" valignment="top" topline="true" usebox="none">
9129 \begin_inset Text
9130
9131 \begin_layout Standard
9132 Annamaria
9133 \end_layout
9134
9135 \end_inset
9136 </cell>
9137 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9138 \begin_inset Text
9139
9140 \begin_layout Standard
9141 111
9142 \end_layout
9143
9144 \end_inset
9145 </cell>
9146 </row>
9147 <row>
9148 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9149 \begin_inset Text
9150
9151 \begin_layout Standard
9152
9153 \series bold
9154 Feliciello
9155 \end_layout
9156
9157 \end_inset
9158 </cell>
9159 <cell alignment="center" valignment="top" topline="true" usebox="none">
9160 \begin_inset Text
9161
9162 \begin_layout Standard
9163 Domenico
9164 \end_layout
9165
9166 \end_inset
9167 </cell>
9168 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9169 \begin_inset Text
9170
9171 \begin_layout Standard
9172 111
9173 \end_layout
9174
9175 \end_inset
9176 </cell>
9177 </row>
9178 <row>
9179 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9180 \begin_inset Text
9181
9182 \begin_layout Standard
9183
9184 \series bold
9185 Focarelli
9186 \end_layout
9187
9188 \end_inset
9189 </cell>
9190 <cell alignment="center" valignment="top" topline="true" usebox="none">
9191 \begin_inset Text
9192
9193 \begin_layout Standard
9194 Paola
9195 \end_layout
9196
9197 \end_inset
9198 </cell>
9199 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9200 \begin_inset Text
9201
9202 \begin_layout Standard
9203 111
9204 \end_layout
9205
9206 \end_inset
9207 </cell>
9208 </row>
9209 <row>
9210 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9211 \begin_inset Text
9212
9213 \begin_layout Standard
9214
9215 \series bold
9216 Galletti
9217 \end_layout
9218
9219 \end_inset
9220 </cell>
9221 <cell alignment="center" valignment="top" topline="true" usebox="none">
9222 \begin_inset Text
9223
9224 \begin_layout Standard
9225 Oreste
9226 \end_layout
9227
9228 \end_inset
9229 </cell>
9230 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9231 \begin_inset Text
9232
9233 \begin_layout Standard
9234 111
9235 \end_layout
9236
9237 \end_inset
9238 </cell>
9239 </row>
9240 <row>
9241 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9242 \begin_inset Text
9243
9244 \begin_layout Standard
9245
9246 \series bold
9247 Gasparini
9248 \end_layout
9249
9250 \end_inset
9251 </cell>
9252 <cell alignment="center" valignment="top" topline="true" usebox="none">
9253 \begin_inset Text
9254
9255 \begin_layout Standard
9256 Franca
9257 \end_layout
9258
9259 \end_inset
9260 </cell>
9261 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9262 \begin_inset Text
9263
9264 \begin_layout Standard
9265 111
9266 \end_layout
9267
9268 \end_inset
9269 </cell>
9270 </row>
9271 <row>
9272 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9273 \begin_inset Text
9274
9275 \begin_layout Standard
9276
9277 \series bold
9278 Lassini
9279 \end_layout
9280
9281 \end_inset
9282 </cell>
9283 <cell alignment="center" valignment="top" topline="true" usebox="none">
9284 \begin_inset Text
9285
9286 \begin_layout Standard
9287 Giancarlo
9288 \end_layout
9289
9290 \end_inset
9291 </cell>
9292 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9293 \begin_inset Text
9294
9295 \begin_layout Standard
9296 111
9297 \end_layout
9298
9299 \end_inset
9300 </cell>
9301 </row>
9302 <row>
9303 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9304 \begin_inset Text
9305
9306 \begin_layout Standard
9307
9308 \series bold
9309 Malfatti
9310 \end_layout
9311
9312 \end_inset
9313 </cell>
9314 <cell alignment="center" valignment="top" topline="true" usebox="none">
9315 \begin_inset Text
9316
9317 \begin_layout Standard
9318 Luciano
9319 \end_layout
9320
9321 \end_inset
9322 </cell>
9323 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9324 \begin_inset Text
9325
9326 \begin_layout Standard
9327 111
9328 \end_layout
9329
9330 \end_inset
9331 </cell>
9332 </row>
9333 <row>
9334 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9335 \begin_inset Text
9336
9337 \begin_layout Standard
9338
9339 \series bold
9340 Malfatti
9341 \end_layout
9342
9343 \end_inset
9344 </cell>
9345 <cell alignment="center" valignment="top" topline="true" usebox="none">
9346 \begin_inset Text
9347
9348 \begin_layout Standard
9349 Valeriano
9350 \end_layout
9351
9352 \end_inset
9353 </cell>
9354 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9355 \begin_inset Text
9356
9357 \begin_layout Standard
9358 111
9359 \end_layout
9360
9361 \end_inset
9362 </cell>
9363 </row>
9364 <row>
9365 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9366 \begin_inset Text
9367
9368 \begin_layout Standard
9369
9370 \series bold
9371 Meneguzzo
9372 \end_layout
9373
9374 \end_inset
9375 </cell>
9376 <cell alignment="center" valignment="top" topline="true" usebox="none">
9377 \begin_inset Text
9378
9379 \begin_layout Standard
9380 Roberto
9381 \end_layout
9382
9383 \end_inset
9384 </cell>
9385 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9386 \begin_inset Text
9387
9388 \begin_layout Standard
9389 111
9390 \end_layout
9391
9392 \end_inset
9393 </cell>
9394 </row>
9395 <row>
9396 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9397 \begin_inset Text
9398
9399 \begin_layout Standard
9400
9401 \series bold
9402 Mezzadra
9403 \end_layout
9404
9405 \end_inset
9406 </cell>
9407 <cell alignment="center" valignment="top" topline="true" usebox="none">
9408 \begin_inset Text
9409
9410 \begin_layout Standard
9411 Roberto
9412 \end_layout
9413
9414 \end_inset
9415 </cell>
9416 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9417 \begin_inset Text
9418
9419 \begin_layout Standard
9420 111
9421 \end_layout
9422
9423 \end_inset
9424 </cell>
9425 </row>
9426 <row>
9427 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9428 \begin_inset Text
9429
9430 \begin_layout Standard
9431
9432 \series bold
9433 Pirpamer
9434 \end_layout
9435
9436 \end_inset
9437 </cell>
9438 <cell alignment="center" valignment="top" topline="true" usebox="none">
9439 \begin_inset Text
9440
9441 \begin_layout Standard
9442 Erich
9443 \end_layout
9444
9445 \end_inset
9446 </cell>
9447 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9448 \begin_inset Text
9449
9450 \begin_layout Standard
9451 111
9452 \end_layout
9453
9454 \end_inset
9455 </cell>
9456 </row>
9457 <row>
9458 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9459 \begin_inset Text
9460
9461 \begin_layout Standard
9462
9463 \series bold
9464 Pochiesa
9465 \end_layout
9466
9467 \end_inset
9468 </cell>
9469 <cell alignment="center" valignment="top" topline="true" usebox="none">
9470 \begin_inset Text
9471
9472 \begin_layout Standard
9473 Paolo
9474 \end_layout
9475
9476 \end_inset
9477 </cell>
9478 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9479 \begin_inset Text
9480
9481 \begin_layout Standard
9482 111, 222
9483 \end_layout
9484
9485 \end_inset
9486 </cell>
9487 </row>
9488 <row>
9489 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9490 \begin_inset Text
9491
9492 \begin_layout Standard
9493
9494 \series bold
9495 Radina
9496 \end_layout
9497
9498 \end_inset
9499 </cell>
9500 <cell alignment="center" valignment="top" topline="true" usebox="none">
9501 \begin_inset Text
9502
9503 \begin_layout Standard
9504 Claudio
9505 \end_layout
9506
9507 \end_inset
9508 </cell>
9509 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9510 \begin_inset Text
9511
9512 \begin_layout Standard
9513 111
9514 \end_layout
9515
9516 \end_inset
9517 </cell>
9518 </row>
9519 <row>
9520 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9521 \begin_inset Text
9522
9523 \begin_layout Standard
9524
9525 \series bold
9526 Rizzardi
9527 \end_layout
9528
9529 \end_inset
9530 </cell>
9531 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9532 \begin_inset Text
9533
9534 \begin_layout Standard
9535 Paolo, 11.
9536  Fürst von Montecompatri, 11.
9537  Fürst von Sulmona und Vivaro, 10.
9538  Fürst von Rossano, 5.
9539  Herzog von Canemorte, 11.
9540  Herzog von Palombara, 5.
9541  Herzog von Castelchiodato,
9542 \begin_inset ERT
9543 status collapsed
9544
9545 \begin_layout Standard
9546
9547 & 111
9548 \backslash
9549
9550 \backslash
9551
9552 \end_layout
9553
9554 \begin_layout Standard
9555
9556 &
9557 \end_layout
9558
9559 \end_inset
9560
9561  11.
9562  Herzog von Poggionativo, 11.
9563  Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
9564  Graf von Valinfreda, 11.
9565  Baron von Cropalati, 11.
9566  Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
9567 \end_layout
9568
9569 \end_inset
9570 </cell>
9571 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9572 \begin_inset Text
9573
9574 \begin_layout Standard
9575
9576 \end_layout
9577
9578 \end_inset
9579 </cell>
9580 </row>
9581 <row>
9582 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9583 \begin_inset Text
9584
9585 \begin_layout Standard
9586
9587 \series bold
9588 Stuffer
9589 \end_layout
9590
9591 \end_inset
9592 </cell>
9593 <cell alignment="center" valignment="top" topline="true" usebox="none">
9594 \begin_inset Text
9595
9596 \begin_layout Standard
9597 Oskar
9598 \end_layout
9599
9600 \end_inset
9601 </cell>
9602 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9603 \begin_inset Text
9604
9605 \begin_layout Standard
9606 111
9607 \end_layout
9608
9609 \end_inset
9610 </cell>
9611 </row>
9612 <row>
9613 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9614 \begin_inset Text
9615
9616 \begin_layout Standard
9617
9618 \series bold
9619 Tacchelli
9620 \end_layout
9621
9622 \end_inset
9623 </cell>
9624 <cell alignment="center" valignment="top" topline="true" usebox="none">
9625 \begin_inset Text
9626
9627 \begin_layout Standard
9628 Ugo
9629 \end_layout
9630
9631 \end_inset
9632 </cell>
9633 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9634 \begin_inset Text
9635
9636 \begin_layout Standard
9637 111
9638 \end_layout
9639
9640 \end_inset
9641 </cell>
9642 </row>
9643 <row>
9644 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9645 \begin_inset Text
9646
9647 \begin_layout Standard
9648
9649 \series bold
9650 Tezzele
9651 \end_layout
9652
9653 \end_inset
9654 </cell>
9655 <cell alignment="center" valignment="top" topline="true" usebox="none">
9656 \begin_inset Text
9657
9658 \begin_layout Standard
9659 Margit
9660 \end_layout
9661
9662 \end_inset
9663 </cell>
9664 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9665 \begin_inset Text
9666
9667 \begin_layout Standard
9668 111
9669 \end_layout
9670
9671 \end_inset
9672 </cell>
9673 </row>
9674 <row>
9675 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9676 \begin_inset Text
9677
9678 \begin_layout Standard
9679
9680 \series bold
9681 Unterkalmsteiner
9682 \end_layout
9683
9684 \end_inset
9685 </cell>
9686 <cell alignment="center" valignment="top" topline="true" usebox="none">
9687 \begin_inset Text
9688
9689 \begin_layout Standard
9690 Frieda
9691 \end_layout
9692
9693 \end_inset
9694 </cell>
9695 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9696 \begin_inset Text
9697
9698 \begin_layout Standard
9699 111
9700 \end_layout
9701
9702 \end_inset
9703 </cell>
9704 </row>
9705 <row>
9706 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9707 \begin_inset Text
9708
9709 \begin_layout Standard
9710
9711 \series bold
9712 Vieider
9713 \end_layout
9714
9715 \end_inset
9716 </cell>
9717 <cell alignment="center" valignment="top" topline="true" usebox="none">
9718 \begin_inset Text
9719
9720 \begin_layout Standard
9721 Hilde
9722 \end_layout
9723
9724 \end_inset
9725 </cell>
9726 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9727 \begin_inset Text
9728
9729 \begin_layout Standard
9730 111
9731 \end_layout
9732
9733 \end_inset
9734 </cell>
9735 </row>
9736 <row>
9737 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9738 \begin_inset Text
9739
9740 \begin_layout Standard
9741
9742 \series bold
9743 Vigna
9744 \end_layout
9745
9746 \end_inset
9747 </cell>
9748 <cell alignment="center" valignment="top" topline="true" usebox="none">
9749 \begin_inset Text
9750
9751 \begin_layout Standard
9752 Jürgen
9753 \end_layout
9754
9755 \end_inset
9756 </cell>
9757 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9758 \begin_inset Text
9759
9760 \begin_layout Standard
9761 111
9762 \end_layout
9763
9764 \end_inset
9765 </cell>
9766 </row>
9767 <row>
9768 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9769 \begin_inset Text
9770
9771 \begin_layout Standard
9772
9773 \series bold
9774 Weber
9775 \end_layout
9776
9777 \end_inset
9778 </cell>
9779 <cell alignment="center" valignment="top" topline="true" usebox="none">
9780 \begin_inset Text
9781
9782 \begin_layout Standard
9783 Maurizio
9784 \end_layout
9785
9786 \end_inset
9787 </cell>
9788 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9789 \begin_inset Text
9790
9791 \begin_layout Standard
9792 111
9793 \end_layout
9794
9795 \end_inset
9796 </cell>
9797 </row>
9798 <row bottomline="true">
9799 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9800 \begin_inset Text
9801
9802 \begin_layout Standard
9803
9804 \series bold
9805 Winkler
9806 \end_layout
9807
9808 \end_inset
9809 </cell>
9810 <cell alignment="center" valignment="top" topline="true" usebox="none">
9811 \begin_inset Text
9812
9813 \begin_layout Standard
9814 Franz
9815 \end_layout
9816
9817 \end_inset
9818 </cell>
9819 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9820 \begin_inset Text
9821
9822 \begin_layout Standard
9823 111
9824 \end_layout
9825
9826 \end_inset
9827 </cell>
9828 </row>
9829 <row endlastfoot="true">
9830 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
9831 \begin_inset Text
9832
9833 \begin_layout Standard
9834
9835 \end_layout
9836
9837 \end_inset
9838 </cell>
9839 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9840 \begin_inset Text
9841
9842 \begin_layout Standard
9843
9844 \end_layout
9845
9846 \end_inset
9847 </cell>
9848 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9849 \begin_inset Text
9850
9851 \begin_layout Standard
9852
9853 \end_layout
9854
9855 \end_inset
9856 </cell>
9857 </row>
9858 </lyxtabular>
9859
9860 \end_inset
9861
9862
9863 \end_layout
9864
9865 \begin_layout Section
9866 Multiple Lines Columns and Rows
9867 \end_layout
9868
9869 \begin_layout Subsection
9870 Multiple Lines in Table Cells
9871 \begin_inset LatexCommand label
9872 name "sub:Multiple-Lines-in"
9873
9874 \end_inset
9875
9876
9877 \begin_inset LatexCommand index
9878 name "Multiple Lines in Table Cells"
9879
9880 \end_inset
9881
9882
9883 \begin_inset LatexCommand index
9884 name "Table ! Linebreaks"
9885
9886 \end_inset
9887
9888
9889 \end_layout
9890
9891 \begin_layout Standard
9892 \align center
9893 \begin_inset Float table
9894 placement H
9895 wide false
9896 sideways false
9897 status open
9898
9899 \begin_layout Standard
9900 \begin_inset Caption
9901
9902 \begin_layout Standard
9903 \begin_inset LatexCommand label
9904 name "tab:Table-with-multiple"
9905
9906 \end_inset
9907
9908 Table with multiple lines in cells
9909 \end_layout
9910
9911 \end_inset
9912
9913
9914 \end_layout
9915
9916 \begin_layout Standard
9917 \align center
9918 \begin_inset Tabular
9919 <lyxtabular version="3" rows="3" columns="3">
9920 <features>
9921 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
9922 <column alignment="center" valignment="middle" leftline="true" width="0">
9923 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0">
9924 <row topline="true">
9925 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9926 \begin_inset Text
9927
9928 \begin_layout Standard
9929 multiple
9930 \begin_inset ERT
9931 status collapsed
9932
9933 \begin_layout Standard
9934
9935
9936 \backslash
9937 linebreak 
9938 \end_layout
9939
9940 \end_inset
9941
9942  lines
9943 \end_layout
9944
9945 \end_inset
9946 </cell>
9947 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9948 \begin_inset Text
9949
9950 \begin_layout Standard
9951 b
9952 \end_layout
9953
9954 \end_inset
9955 </cell>
9956 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9957 \begin_inset Text
9958
9959 \begin_layout Standard
9960 c
9961 \end_layout
9962
9963 \end_inset
9964 </cell>
9965 </row>
9966 <row topline="true">
9967 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9968 \begin_inset Text
9969
9970 \begin_layout Standard
9971 d
9972 \end_layout
9973
9974 \end_inset
9975 </cell>
9976 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9977 \begin_inset Text
9978
9979 \begin_layout Standard
9980 e
9981 \end_layout
9982
9983 \end_inset
9984 </cell>
9985 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9986 \begin_inset Text
9987
9988 \begin_layout Standard
9989 f
9990 \end_layout
9991
9992 \end_inset
9993 </cell>
9994 </row>
9995 <row topline="true" bottomline="true">
9996 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9997 \begin_inset Text
9998
9999 \begin_layout Standard
10000 g
10001 \end_layout
10002
10003 \end_inset
10004 </cell>
10005 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10006 \begin_inset Text
10007
10008 \begin_layout Standard
10009 h
10010 \end_layout
10011
10012 \end_inset
10013 </cell>
10014 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10015 \begin_inset Text
10016
10017 \begin_layout Standard
10018 i
10019 \end_layout
10020
10021 \end_inset
10022 </cell>
10023 </row>
10024 </lyxtabular>
10025
10026 \end_inset
10027
10028
10029 \end_layout
10030
10031 \end_inset
10032
10033
10034 \end_layout
10035
10036 \begin_layout Standard
10037 Adjusting a fixed width for a column, enables to enter text as a paragraph
10038  with multiple lines and hyphenations.
10039 \end_layout
10040
10041 \begin_layout Standard
10042 To produce Table\InsetSpace ~
10043
10044 \begin_inset LatexCommand ref
10045 reference "tab:Table-with-multiple"
10046
10047 \end_inset
10048
10049 , create a 3×3 table, mark the first cell and right-click on it.
10050  In the appearing table dialog we set a cell width of 2.5\InsetSpace \thinspace{}
10051 cm and choose centered
10052  for the vertical and horizontal alignment.
10053  The vertical alignment is used for all cells of the row.
10054  As our text is smaller than than 2.5\InsetSpace \thinspace{}
10055 cm, only one line will appear.
10056  To get two lines, we add a line break with the command
10057 \end_layout
10058
10059 \begin_layout Standard
10060
10061 \series bold
10062
10063 \backslash
10064 linebreak
10065 \end_layout
10066
10067 \begin_layout Standard
10068 in ERT.
10069  If the text is wider than the set cell width it will automatically be broken
10070  to several lines.
10071 \end_layout
10072
10073 \begin_layout Standard
10074 If you have a long word in a cell with a fixed width, it cannot be hyphenated
10075  by LaTeX if it is the first entry.
10076  Therefore you need to insert something, to make the word not being the
10077  first entry: Add the command
10078 \end_layout
10079
10080 \begin_layout Standard
10081
10082 \series bold
10083
10084 \backslash
10085 hspace{0pt}
10086 \end_layout
10087
10088 \begin_layout Standard
10089 in ERT before the word.
10090  As the space is zero, it doesn't change the output.
10091  Table\InsetSpace ~
10092
10093 \begin_inset LatexCommand ref
10094 reference "tab:Table-with-and"
10095
10096 \end_inset
10097
10098  shows the effect.
10099 \end_layout
10100
10101 \begin_layout Standard
10102 \begin_inset Float table
10103 placement h
10104 wide false
10105 sideways false
10106 status open
10107
10108 \begin_layout Standard
10109 \begin_inset Caption
10110
10111 \begin_layout Standard
10112 \begin_inset LatexCommand label
10113 name "tab:Table-with-and"
10114
10115 \end_inset
10116
10117 Table with and without hyphenation
10118 \end_layout
10119
10120 \end_inset
10121
10122
10123 \end_layout
10124
10125 \begin_layout Standard
10126
10127 \hfill
10128
10129 \begin_inset Tabular
10130 <lyxtabular version="3" rows="3" columns="3">
10131 <features>
10132 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
10133 <column alignment="center" valignment="middle" leftline="true" width="0">
10134 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0">
10135 <row topline="true">
10136 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10137 \begin_inset Text
10138
10139 \begin_layout Standard
10140 verylongtablecellword
10141 \end_layout
10142
10143 \end_inset
10144 </cell>
10145 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10146 \begin_inset Text
10147
10148 \begin_layout Standard
10149 b
10150 \end_layout
10151
10152 \end_inset
10153 </cell>
10154 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10155 \begin_inset Text
10156
10157 \begin_layout Standard
10158 c
10159 \end_layout
10160
10161 \end_inset
10162 </cell>
10163 </row>
10164 <row topline="true">
10165 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10166 \begin_inset Text
10167
10168 \begin_layout Standard
10169 d
10170 \end_layout
10171
10172 \end_inset
10173 </cell>
10174 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10175 \begin_inset Text
10176
10177 \begin_layout Standard
10178 e
10179 \end_layout
10180
10181 \end_inset
10182 </cell>
10183 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10184 \begin_inset Text
10185
10186 \begin_layout Standard
10187 f
10188 \end_layout
10189
10190 \end_inset
10191 </cell>
10192 </row>
10193 <row topline="true" bottomline="true">
10194 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10195 \begin_inset Text
10196
10197 \begin_layout Standard
10198 g
10199 \end_layout
10200
10201 \end_inset
10202 </cell>
10203 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10204 \begin_inset Text
10205
10206 \begin_layout Standard
10207 h
10208 \end_layout
10209
10210 \end_inset
10211 </cell>
10212 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10213 \begin_inset Text
10214
10215 \begin_layout Standard
10216 i
10217 \end_layout
10218
10219 \end_inset
10220 </cell>
10221 </row>
10222 </lyxtabular>
10223
10224 \end_inset
10225
10226
10227 \hfill
10228
10229 \begin_inset Tabular
10230 <lyxtabular version="3" rows="3" columns="3">
10231 <features>
10232 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
10233 <column alignment="center" valignment="middle" leftline="true" width="0">
10234 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0">
10235 <row topline="true">
10236 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10237 \begin_inset Text
10238
10239 \begin_layout Standard
10240 \begin_inset ERT
10241 status collapsed
10242
10243 \begin_layout Standard
10244
10245
10246 \backslash
10247 hspace{0pt}
10248 \end_layout
10249
10250 \end_inset
10251
10252 verylongtablecellword
10253 \end_layout
10254
10255 \end_inset
10256 </cell>
10257 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10258 \begin_inset Text
10259
10260 \begin_layout Standard
10261 b
10262 \end_layout
10263
10264 \end_inset
10265 </cell>
10266 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10267 \begin_inset Text
10268
10269 \begin_layout Standard
10270 c
10271 \end_layout
10272
10273 \end_inset
10274 </cell>
10275 </row>
10276 <row topline="true">
10277 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10278 \begin_inset Text
10279
10280 \begin_layout Standard
10281 d
10282 \end_layout
10283
10284 \end_inset
10285 </cell>
10286 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10287 \begin_inset Text
10288
10289 \begin_layout Standard
10290 e
10291 \end_layout
10292
10293 \end_inset
10294 </cell>
10295 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10296 \begin_inset Text
10297
10298 \begin_layout Standard
10299 f
10300 \end_layout
10301
10302 \end_inset
10303 </cell>
10304 </row>
10305 <row topline="true" bottomline="true">
10306 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10307 \begin_inset Text
10308
10309 \begin_layout Standard
10310 g
10311 \end_layout
10312
10313 \end_inset
10314 </cell>
10315 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10316 \begin_inset Text
10317
10318 \begin_layout Standard
10319 h
10320 \end_layout
10321
10322 \end_inset
10323 </cell>
10324 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10325 \begin_inset Text
10326
10327 \begin_layout Standard
10328 i
10329 \end_layout
10330
10331 \end_inset
10332 </cell>
10333 </row>
10334 </lyxtabular>
10335
10336 \end_inset
10337
10338
10339 \hfill
10340
10341 \end_layout
10342
10343 \end_inset
10344
10345
10346 \end_layout
10347
10348 \begin_layout Standard
10349
10350 \newpage
10351
10352 \end_layout
10353
10354 \begin_layout Subsection
10355 Multicolumns
10356 \begin_inset LatexCommand label
10357 name "sub:Multicolumns"
10358
10359 \end_inset
10360
10361
10362 \begin_inset LatexCommand index
10363 name "Multicolumns"
10364
10365 \end_inset
10366
10367
10368 \begin_inset LatexCommand index
10369 name "Table ! Multicolumns"
10370
10371 \end_inset
10372
10373
10374 \end_layout
10375
10376 \begin_layout Subsubsection
10377 Multicolumn Basics
10378 \end_layout
10379
10380 \begin_layout Standard
10381 To span a cell over multiple columns, mark as much cells within a line that
10382  should be one spanned cell and use either the table-toolbar button 
10383 \begin_inset Graphics
10384         filename ../images/tabular-feature_multicolumn.xpm
10385         scale 85
10386         scaleBeforeRotation
10387
10388 \end_inset
10389
10390 , or the menu 
10391 \family sans
10392 Edit\SpecialChar \menuseparator
10393 Table\SpecialChar \menuseparator
10394 Multicolumn
10395 \family default
10396 , or right click on the marked cells and choose multicolumn in the appearing
10397  table dialog under the tab 
10398 \family sans
10399 Table Settings
10400 \family default
10401 .
10402 \end_layout
10403
10404 \begin_layout Standard
10405 Multicolumns have there own cell settings.
10406  That means changing cell borders, cell alignment, and the width only affects
10407  the multicolumn.
10408  Here is an example table with a multicolumn cell in the first row and one
10409  in the last row without the upper border:
10410 \end_layout
10411
10412 \begin_layout Standard
10413 \align center
10414 \begin_inset Tabular
10415 <lyxtabular version="3" rows="3" columns="4">
10416 <features firstHeadTopDL="true" firstHeadBottomDL="true">
10417 <column alignment="center" valignment="top" leftline="true" width="0pt">
10418 <column alignment="center" valignment="middle" leftline="true" width="0">
10419 <column alignment="center" valignment="top" leftline="true" width="0in">
10420 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
10421 <row topline="true" bottomline="true">
10422 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10423 \begin_inset Text
10424
10425 \begin_layout Standard
10426 abc
10427 \end_layout
10428
10429 \end_inset
10430 </cell>
10431 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
10432 \begin_inset Text
10433
10434 \begin_layout Standard
10435 def ghi
10436 \end_layout
10437
10438 \end_inset
10439 </cell>
10440 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10441 \begin_inset Text
10442
10443 \begin_layout Standard
10444
10445 \end_layout
10446
10447 \end_inset
10448 </cell>
10449 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10450 \begin_inset Text
10451
10452 \begin_layout Standard
10453 jkl
10454 \end_layout
10455
10456 \end_inset
10457 </cell>
10458 </row>
10459 <row topline="true">
10460 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10461 \begin_inset Text
10462
10463 \begin_layout Standard
10464
10465 \family roman
10466 \series medium
10467 \shape up
10468 \size normal
10469 \emph off
10470 \bar no
10471 \noun off
10472 \color none
10473 A
10474 \end_layout
10475
10476 \end_inset
10477 </cell>
10478 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10479 \begin_inset Text
10480
10481 \begin_layout Standard
10482 B
10483 \end_layout
10484
10485 \end_inset
10486 </cell>
10487 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10488 \begin_inset Text
10489
10490 \begin_layout Standard
10491 C
10492 \end_layout
10493
10494 \end_inset
10495 </cell>
10496 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10497 \begin_inset Text
10498
10499 \begin_layout Standard
10500 D
10501 \end_layout
10502
10503 \end_inset
10504 </cell>
10505 </row>
10506 <row topline="true" bottomline="true">
10507 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10508 \begin_inset Text
10509
10510 \begin_layout Standard
10511 1
10512 \end_layout
10513
10514 \end_inset
10515 </cell>
10516 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10517 \begin_inset Text
10518
10519 \begin_layout Standard
10520 2
10521 \end_layout
10522
10523 \end_inset
10524 </cell>
10525 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10526 \begin_inset Text
10527
10528 \begin_layout Standard
10529 3
10530 \end_layout
10531
10532 \end_inset
10533 </cell>
10534 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10535 \begin_inset Text
10536
10537 \begin_layout Standard
10538 4
10539 \end_layout
10540
10541 \end_inset
10542 </cell>
10543 </row>
10544 </lyxtabular>
10545
10546 \end_inset
10547
10548
10549 \end_layout
10550
10551 \begin_layout Subsubsection
10552 Multicolumn Calculations
10553 \begin_inset LatexCommand label
10554 name "sub:Multicolumn-Calculations"
10555
10556 \end_inset
10557
10558
10559 \begin_inset LatexCommand index
10560 name "Multicolumns ! Calculations"
10561
10562 \end_inset
10563
10564
10565 \end_layout
10566
10567 \begin_layout Standard
10568 LyX supports multicolumns directly, but we have to take notice of the cell
10569  width of the columns spanned by the multicolumn cell.
10570 \end_layout
10571
10572 \begin_layout Standard
10573 \begin_inset Float table
10574 wide false
10575 sideways false
10576 status open
10577
10578 \begin_layout Standard
10579 \begin_inset Caption
10580
10581 \begin_layout Standard
10582 \begin_inset LatexCommand label
10583 name "tab:Table-with-centered"
10584
10585 \end_inset
10586
10587 Table with centered multicolumn text above two columns that have exactly
10588  half the width of the multicolumn cell
10589 \begin_inset OptArg
10590 status collapsed
10591
10592 \begin_layout Standard
10593 Perfect multicolumn table
10594 \end_layout
10595
10596 \end_inset
10597
10598
10599 \end_layout
10600
10601 \end_inset
10602
10603
10604 \end_layout
10605
10606 \begin_layout Standard
10607 \align center
10608 \begin_inset Tabular
10609 <lyxtabular version="3" rows="3" columns="3">
10610 <features>
10611 <column alignment="center" valignment="middle" leftline="true" width="0" special=">{\centering}m{1.25cm-6.2pt}">
10612 <column alignment="center" valignment="middle" leftline="true" width="0">
10613 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
10614 <row topline="true">
10615 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" special=">{\centering}m{2.5cm}">
10616 \begin_inset Text
10617
10618 \begin_layout Standard
10619 multiple lines multicolumn
10620 \end_layout
10621
10622 \end_inset
10623 </cell>
10624 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10625 \begin_inset Text
10626
10627 \begin_layout Standard
10628
10629 \end_layout
10630
10631 \end_inset
10632 </cell>
10633 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10634 \begin_inset Text
10635
10636 \begin_layout Standard
10637 c
10638 \end_layout
10639
10640 \end_inset
10641 </cell>
10642 </row>
10643 <row topline="true">
10644 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10645 \begin_inset Text
10646
10647 \begin_layout Standard
10648 d
10649 \end_layout
10650
10651 \end_inset
10652 </cell>
10653 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10654 \begin_inset Text
10655
10656 \begin_layout Standard
10657 e
10658 \end_layout
10659
10660 \end_inset
10661 </cell>
10662 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10663 \begin_inset Text
10664
10665 \begin_layout Standard
10666 f
10667 \end_layout
10668
10669 \end_inset
10670 </cell>
10671 </row>
10672 <row topline="true" bottomline="true">
10673 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10674 \begin_inset Text
10675
10676 \begin_layout Standard
10677 g
10678 \end_layout
10679
10680 \end_inset
10681 </cell>
10682 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10683 \begin_inset Text
10684
10685 \begin_layout Standard
10686 h
10687 \end_layout
10688
10689 \end_inset
10690 </cell>
10691 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10692 \begin_inset Text
10693
10694 \begin_layout Standard
10695 i
10696 \end_layout
10697
10698 \end_inset
10699 </cell>
10700 </row>
10701 </lyxtabular>
10702
10703 \end_inset
10704
10705
10706 \end_layout
10707
10708 \end_inset
10709
10710
10711 \end_layout
10712
10713 \begin_layout Standard
10714 To create for example Table\InsetSpace ~
10715
10716 \begin_inset LatexCommand ref
10717 reference "tab:Table-with-centered"
10718
10719 \end_inset
10720
10721 , mark the first two cells in the first row of a 3×3 table and right-click
10722  on them.
10723  Now choose for this cell 
10724 \emph on
10725 multicolumn
10726 \emph default
10727
10728 \emph on
10729 centered alignment
10730 \emph default
10731  and a width of 2.5\InsetSpace \thinspace{}
10732 cm in the table dialog.
10733  The spanned columns should have exactly half the width of the multicolumn
10734  cell, so that you would adjust a width of 1.25\InsetSpace \thinspace{}
10735 cm for the first column.
10736  The second column has then automatically a width of 1.25\InsetSpace \thinspace{}
10737 cm (multicolumn
10738  width - width of first column).
10739  This was done for Table\InsetSpace ~
10740
10741 \begin_inset LatexCommand ref
10742 reference "tab:Table-without-half"
10743
10744 \end_inset
10745
10746 .
10747 \end_layout
10748
10749 \begin_layout Standard
10750 \begin_inset Float table
10751 wide false
10752 sideways false
10753 status open
10754
10755 \begin_layout Standard
10756 \begin_inset Caption
10757
10758 \begin_layout Standard
10759 \begin_inset LatexCommand label
10760 name "tab:Table-without-half"
10761
10762 \end_inset
10763
10764 Table where the spanned table columns have not exactly half the width of
10765  the multicolumn cell
10766 \begin_inset OptArg
10767 status collapsed
10768
10769 \begin_layout Standard
10770 Imperfect multicolumn table
10771 \end_layout
10772
10773 \end_inset
10774
10775
10776 \end_layout
10777
10778 \end_inset
10779
10780
10781 \end_layout
10782
10783 \begin_layout Standard
10784 \align center
10785 \begin_inset Tabular
10786 <lyxtabular version="3" rows="3" columns="3">
10787 <features>
10788 <column alignment="center" valignment="top" leftline="true" width="1.25cm">
10789 <column alignment="center" valignment="top" leftline="true" width="0">
10790 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
10791 <row topline="true" bottomline="true">
10792 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
10793 \begin_inset Text
10794
10795 \begin_layout Standard
10796 multiple lines multicolumn
10797 \end_layout
10798
10799 \end_inset
10800 </cell>
10801 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10802 \begin_inset Text
10803
10804 \begin_layout Standard
10805
10806 \end_layout
10807
10808 \end_inset
10809 </cell>
10810 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10811 \begin_inset Text
10812
10813 \begin_layout Standard
10814 c
10815 \end_layout
10816
10817 \end_inset
10818 </cell>
10819 </row>
10820 <row topline="true">
10821 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10822 \begin_inset Text
10823
10824 \begin_layout Standard
10825 d
10826 \end_layout
10827
10828 \end_inset
10829 </cell>
10830 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10831 \begin_inset Text
10832
10833 \begin_layout Standard
10834 e
10835 \end_layout
10836
10837 \end_inset
10838 </cell>
10839 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10840 \begin_inset Text
10841
10842 \begin_layout Standard
10843 f
10844 \end_layout
10845
10846 \end_inset
10847 </cell>
10848 </row>
10849 <row topline="true" bottomline="true">
10850 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10851 \begin_inset Text
10852
10853 \begin_layout Standard
10854 g
10855 \end_layout
10856
10857 \end_inset
10858 </cell>
10859 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10860 \begin_inset Text
10861
10862 \begin_layout Standard
10863 h
10864 \end_layout
10865
10866 \end_inset
10867 </cell>
10868 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10869 \begin_inset Text
10870
10871 \begin_layout Standard
10872 i
10873 \end_layout
10874
10875 \end_inset
10876 </cell>
10877 </row>
10878 </lyxtabular>
10879
10880 \end_inset
10881
10882
10883 \end_layout
10884
10885 \end_inset
10886
10887
10888 \end_layout
10889
10890 \begin_layout Standard
10891 You can see that the first column has not the half width of the multicolumn
10892  cell, it is a bit bigger.
10893  The reason is that the given width of a cell 
10894 \begin_inset Formula $W_{g}$
10895 \end_inset
10896
10897  is not its total width 
10898 \begin_inset Formula $W_{\mathrm{tot}}$
10899 \end_inset
10900
10901  because a cell is always a bit larger than its given width.
10902  Appendix\InsetSpace ~
10903
10904 \begin_inset LatexCommand eqref
10905 reference "cha:Explanation-of-Equation"
10906
10907 \end_inset
10908
10909  explains it in detail.
10910 \end_layout
10911
10912 \begin_layout Standard
10913 The needed given width 
10914 \begin_inset Formula $W_{g\, n}$
10915 \end_inset
10916
10917  when 
10918 \emph on
10919 n
10920 \emph default
10921  columns are spanned can be calculated, so that each column has a total
10922  width of 
10923 \begin_inset Formula $W_{\mathrm{tot\, multicolumn}}/n$
10924 \end_inset
10925
10926 :
10927 \begin_inset Formula \begin{equation}
10928 W_{g\, n}=(W_{g\,\mathrm{multicolumn}}+(1-n)\cdot(12.4\,\mathrm{pt}))/n\label{eq:Wgn}\end{equation}
10929
10930 \end_inset
10931
10932
10933 \end_layout
10934
10935 \begin_layout Standard
10936 In our case we have 
10937 \begin_inset Formula $n=2$
10938 \end_inset
10939
10940
10941 \begin_inset Formula $W_{g\,\mathrm{multicolumn}}=2.5\,$
10942 \end_inset
10943
10944 cm and the default values for the lengths, so that equation 
10945 \begin_inset LatexCommand ref
10946 reference "eq:Wgn"
10947
10948 \end_inset
10949
10950  becomes
10951 \begin_inset Formula \begin{equation}
10952 W_{g\,2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}\end{equation}
10953
10954 \end_inset
10955
10956
10957 \end_layout
10958
10959 \begin_layout Standard
10960 To enable calculations in LaTeX, the LaTeX-package 
10961 \series bold
10962 calc
10963 \series default
10964  must be loaded with the document preamble line
10965 \begin_inset LatexCommand index
10966 name "LaTeX-packages ! calc"
10967
10968 \end_inset
10969
10970
10971 \end_layout
10972
10973 \begin_layout Standard
10974
10975 \series bold
10976
10977 \backslash
10978 usepackage{calc}
10979 \end_layout
10980
10981 \begin_layout Standard
10982 LyX does not allow to calculate lengths in the width-field of the table
10983  dialog.
10984  Therefore you have to format the column by inserting a LaTeX-argument in
10985  the dialog.
10986  Here is an overview about the arguments:
10987 \end_layout
10988
10989 \begin_layout Itemize
10990
10991 \series bold
10992 p{width}
10993 \series default
10994  creates cell with a fixed width, its text is vertically top-aligned
10995 \end_layout
10996
10997 \begin_layout Itemize
10998
10999 \series bold
11000 m{width}
11001 \series default
11002  creates cell with a fixed width, its text is vertically centered
11003 \end_layout
11004
11005 \begin_layout Itemize
11006
11007 \series bold
11008 b{width}
11009 \series default
11010  creates cell with a fixed width, its text is vertically bottom-aligned
11011 \end_layout
11012
11013 \begin_layout Standard
11014 By entering a LaTeX-argument, all cell settings set in the table dialog
11015  are overwritten.
11016 \end_layout
11017
11018 \begin_layout Standard
11019 \begin_inset Note Greyedout
11020 status open
11021
11022 \begin_layout Standard
11023
11024 \series bold
11025 Note:
11026 \series default
11027  Due to a bug, LyX shows the overwritten settings anyway.
11028 \end_layout
11029
11030 \end_inset
11031
11032
11033 \end_layout
11034
11035 \begin_layout Standard
11036 As the text should be horizontally centered, the command 
11037 \series bold
11038
11039 \backslash
11040 centering
11041 \series default
11042  is added.
11043  You can now enter the following LaTeX-argument for the first spanned column:
11044 \end_layout
11045
11046 \begin_layout Standard
11047
11048 \series bold
11049 >{
11050 \backslash
11051 centering}m{1.25cm-6.2pt}
11052 \end_layout
11053
11054 \begin_layout Standard
11055 The command 
11056 \series bold
11057 >{ }
11058 \series default
11059  means, that the commands inside the braces are applied before the cell
11060  is created.
11061 \end_layout
11062
11063 \begin_layout Standard
11064 Although we have chosen centered alignment for the text of the multicolumn
11065  cell, it is still left aligned.
11066  This is because LyX only applies the alignment to single columns.
11067  So we have to use for the multicolumn the LaTeX-argument
11068 \end_layout
11069
11070 \begin_layout Standard
11071
11072 \series bold
11073 >{
11074 \backslash
11075 centering}m{2.5cm}
11076 \end_layout
11077
11078 \begin_layout Subsection
11079 Multirows
11080 \begin_inset LatexCommand index
11081 name "Multirows"
11082
11083 \end_inset
11084
11085
11086 \begin_inset LatexCommand index
11087 name "Table ! Multirows"
11088
11089 \end_inset
11090
11091
11092 \begin_inset LatexCommand index
11093 name "LaTeX-packages ! multirow"
11094
11095 \end_inset
11096
11097
11098 \end_layout
11099
11100 \begin_layout Standard
11101 In contrary to multicolumns multirows are not yet supported by LyX so a
11102  bit of ERT needs to be used.
11103  To use multirows load the LaTeX-package 
11104 \series bold
11105 multirow
11106 \series default
11107  in your document preamble with the command
11108 \end_layout
11109
11110 \begin_layout Standard
11111
11112 \series bold
11113
11114 \backslash
11115 usepackage{multirow}
11116 \end_layout
11117
11118 \begin_layout Standard
11119 Multirows are created with the command
11120 \end_layout
11121
11122 \begin_layout Standard
11123
11124 \series bold
11125
11126 \backslash
11127 multirow{number of rows}{cell width}{cell entry}
11128 \end_layout
11129
11130 \begin_layout Standard
11131 To create the following table:
11132 \end_layout
11133
11134 \begin_layout Standard
11135 \align center
11136 \begin_inset ERT
11137 status collapsed
11138
11139 \begin_layout Standard
11140
11141
11142 \backslash
11143 renewcommand{
11144 \backslash
11145 multirowsetup}{
11146 \backslash
11147 centering}
11148 \end_layout
11149
11150 \end_inset
11151
11152
11153 \begin_inset Tabular
11154 <lyxtabular version="3" rows="3" columns="3">
11155 <features>
11156 <column alignment="center" valignment="top" leftline="true" width="0">
11157 <column alignment="center" valignment="top" leftline="true" width="0">
11158 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
11159 <row topline="true">
11160 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11161 \begin_inset Text
11162
11163 \begin_layout Standard
11164 a
11165 \end_layout
11166
11167 \end_inset
11168 </cell>
11169 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11170 \begin_inset Text
11171
11172 \begin_layout Standard
11173 b
11174 \end_layout
11175
11176 \end_inset
11177 </cell>
11178 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11179 \begin_inset Text
11180
11181 \begin_layout Standard
11182 c
11183 \end_layout
11184
11185 \end_inset
11186 </cell>
11187 </row>
11188 <row topline="true">
11189 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11190 \begin_inset Text
11191
11192 \begin_layout Standard
11193 \begin_inset ERT
11194 status collapsed
11195
11196 \begin_layout Standard
11197
11198
11199 \backslash
11200 multirow{2}{2.5cm}{
11201 \end_layout
11202
11203 \end_inset
11204
11205 multirow entry
11206 \begin_inset ERT
11207 status collapsed
11208
11209 \begin_layout Standard
11210
11211 }
11212 \end_layout
11213
11214 \end_inset
11215
11216
11217 \end_layout
11218
11219 \end_inset
11220 </cell>
11221 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11222 \begin_inset Text
11223
11224 \begin_layout Standard
11225 e
11226 \end_layout
11227
11228 \end_inset
11229 </cell>
11230 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11231 \begin_inset Text
11232
11233 \begin_layout Standard
11234 f
11235 \end_layout
11236
11237 \end_inset
11238 </cell>
11239 </row>
11240 <row topline="true" bottomline="true">
11241 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11242 \begin_inset Text
11243
11244 \begin_layout Standard
11245
11246 \end_layout
11247
11248 \end_inset
11249 </cell>
11250 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11251 \begin_inset Text
11252
11253 \begin_layout Standard
11254 h
11255 \end_layout
11256
11257 \end_inset
11258 </cell>
11259 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11260 \begin_inset Text
11261
11262 \begin_layout Standard
11263 i
11264 \end_layout
11265
11266 \end_inset
11267 </cell>
11268 </row>
11269 </lyxtabular>
11270
11271 \end_inset
11272
11273
11274 \begin_inset ERT
11275 status collapsed
11276
11277 \begin_layout Standard
11278
11279
11280 \backslash
11281 renewcommand{
11282 \backslash
11283 multirowsetup}{
11284 \backslash
11285 raggedright}
11286 \end_layout
11287
11288 \end_inset
11289
11290
11291 \end_layout
11292
11293 \begin_layout Standard
11294 create a 3×3 table.
11295  To get rid of the line above the last cell in the first column, the cell
11296  is marked as multicolumn and the upper border is unset.
11297  The multirow is now created in the second row of the first column by inserting
11298  there the command
11299 \end_layout
11300
11301 \begin_layout Standard
11302
11303 \series bold
11304
11305 \backslash
11306 multirow{2}{2.5cm}{
11307 \end_layout
11308
11309 \begin_layout Standard
11310 as ERT.
11311  According to the command parameters the multirow spans now two rows and
11312  has a width of 2.5\InsetSpace \thinspace{}
11313 cm.
11314  The content of the multirow cell follows outside the ERT box and the command
11315  is finished with a right brace 
11316 \series bold
11317 }
11318 \series default
11319  in another ERT-box behind the text.
11320 \end_layout
11321
11322 \begin_layout Standard
11323
11324 \series bold
11325
11326 \backslash
11327 multirow
11328 \series default
11329  left-aligns its content by default.
11330  To override the default, renew the command 
11331 \series bold
11332
11333 \backslash
11334 multirowsetup
11335 \series default
11336  with the command
11337 \end_layout
11338
11339 \begin_layout Standard
11340
11341 \series bold
11342
11343 \backslash
11344 renewcommand{
11345 \backslash
11346 multirowsetup}{
11347 \backslash
11348 centering}
11349 \end_layout
11350
11351 \begin_layout Standard
11352 in ERT in the document preamble.
11353  Then all entries of multirow cells in the document are centered.
11354  If centering is only needed for several tables, you can renew the command
11355  in an ERT box just before the table instead of the preamble.
11356  If the text should be right-aligned, replace 
11357 \series bold
11358
11359 \backslash
11360 centering
11361 \series default
11362  by 
11363 \series bold
11364
11365 \backslash
11366 raggedleft
11367 \series default
11368 .
11369  To return to left-alignment 
11370 \series bold
11371
11372 \backslash
11373 raggedright
11374 \series default
11375  is used.
11376 \end_layout
11377
11378 \begin_layout Section
11379 Formal Tables
11380 \begin_inset LatexCommand label
11381 name "sec:Formal-Tables"
11382
11383 \end_inset
11384
11385
11386 \begin_inset LatexCommand index
11387 name "Table ! Formal"
11388
11389 \end_inset
11390
11391
11392 \end_layout
11393
11394 \begin_layout Standard
11395 Tables are often typeset in books similar to Table\InsetSpace ~
11396
11397 \begin_inset LatexCommand ref
11398 reference "tab:Example-booktabs-table"
11399
11400 \end_inset
11401
11402 .
11403  This kind of tables is called 
11404 \begin_inset Quotes eld
11405 \end_inset
11406
11407
11408 \emph on
11409 formal
11410 \emph default
11411
11412 \begin_inset Quotes erd
11413 \end_inset
11414
11415 .
11416  To make a table a formal table use the option 
11417 \family sans
11418 Formal
11419 \family default
11420  in the 
11421 \family sans
11422 Borders
11423 \family default
11424  tab of the table dialog.
11425 \end_layout
11426
11427 \begin_layout Standard
11428 \begin_inset Float table
11429 placement h
11430 wide false
11431 sideways false
11432 status open
11433
11434 \begin_layout Standard
11435 \begin_inset Caption
11436
11437 \begin_layout Standard
11438 \begin_inset LatexCommand label
11439 name "tab:Example-booktabs-table"
11440
11441 \end_inset
11442
11443 Example booktabs-table
11444 \end_layout
11445
11446 \end_inset
11447
11448
11449 \end_layout
11450
11451 \begin_layout Standard
11452 \align center
11453 \begin_inset Tabular
11454 <lyxtabular version="3" rows="8" columns="4">
11455 <features booktabs="true">
11456 <column alignment="center" valignment="top" rightline="true" width="0">
11457 <column alignment="center" valignment="top" width="0">
11458 <column alignment="center" valignment="top" width="0">
11459 <column alignment="center" valignment="top" width="0">
11460 <row topline="true">
11461 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11462 \begin_inset Text
11463
11464 \begin_layout Standard
11465 System
11466 \end_layout
11467
11468 \end_inset
11469 </cell>
11470 <cell alignment="center" valignment="top" topline="true" usebox="none">
11471 \begin_inset Text
11472
11473 \begin_layout Standard
11474 Medipix
11475 \begin_inset Formula $\,$
11476 \end_inset
11477
11478 1
11479 \end_layout
11480
11481 \end_inset
11482 </cell>
11483 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" usebox="none">
11484 \begin_inset Text
11485
11486 \begin_layout Standard
11487 Medipix
11488 \begin_inset Formula $\,$
11489 \end_inset
11490
11491 2
11492 \end_layout
11493
11494 \end_inset
11495 </cell>
11496 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11497 \begin_inset Text
11498
11499 \begin_layout Standard
11500
11501 \end_layout
11502
11503 \end_inset
11504 </cell>
11505 </row>
11506 <row>
11507 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11508 \begin_inset Text
11509
11510 \begin_layout Standard
11511 \begin_inset ERT
11512 status collapsed
11513
11514 \begin_layout Standard
11515
11516
11517 \backslash
11518 cmidrule(r){2-2}
11519 \end_layout
11520
11521 \end_inset
11522
11523
11524 \begin_inset ERT
11525 status collapsed
11526
11527 \begin_layout Standard
11528
11529
11530 \backslash
11531 cmidrule(l){3-4}
11532 \end_layout
11533
11534 \end_inset
11535
11536 Detector thickness [µm]
11537 \end_layout
11538
11539 \end_inset
11540 </cell>
11541 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11542 \begin_inset Text
11543
11544 \begin_layout Standard
11545 300
11546 \end_layout
11547
11548 \end_inset
11549 </cell>
11550 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11551 \begin_inset Text
11552
11553 \begin_layout Standard
11554 300
11555 \end_layout
11556
11557 \end_inset
11558 </cell>
11559 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11560 \begin_inset Text
11561
11562 \begin_layout Standard
11563 700
11564 \end_layout
11565
11566 \end_inset
11567 </cell>
11568 </row>
11569 <row topline="true">
11570 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11571 \begin_inset Text
11572
11573 \begin_layout Standard
11574 Edge angle [°]
11575 \end_layout
11576
11577 \end_inset
11578 </cell>
11579 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11580 \begin_inset Text
11581
11582 \begin_layout Standard
11583 3.55
11584 \end_layout
11585
11586 \end_inset
11587 </cell>
11588 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11589 \begin_inset Text
11590
11591 \begin_layout Standard
11592 2.71
11593 \end_layout
11594
11595 \end_inset
11596 </cell>
11597 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11598 \begin_inset Text
11599
11600 \begin_layout Standard
11601 7.99
11602 \end_layout
11603
11604 \end_inset
11605 </cell>
11606 </row>
11607 <row topspace="default">
11608 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11609 \begin_inset Text
11610
11611 \begin_layout Standard
11612 Spatial resolution [µm]
11613 \end_layout
11614
11615 \end_inset
11616 </cell>
11617 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11618 \begin_inset Text
11619
11620 \begin_layout Standard
11621 4.26
11622 \end_layout
11623
11624 \end_inset
11625 </cell>
11626 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11627 \begin_inset Text
11628
11629 \begin_layout Standard
11630 10.17
11631 \end_layout
11632
11633 \end_inset
11634 </cell>
11635 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11636 \begin_inset Text
11637
11638 \begin_layout Standard
11639 10.56
11640 \end_layout
11641
11642 \end_inset
11643 </cell>
11644 </row>
11645 <row topspace="default">
11646 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11647 \begin_inset Text
11648
11649 \begin_layout Standard
11650 MTF at 
11651 \begin_inset Formula $f_{\mathrm{max}}$
11652 \end_inset
11653
11654
11655 \end_layout
11656
11657 \end_inset
11658 </cell>
11659 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11660 \begin_inset Text
11661
11662 \begin_layout Standard
11663 0.53
11664 \end_layout
11665
11666 \end_inset
11667 </cell>
11668 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11669 \begin_inset Text
11670
11671 \begin_layout Standard
11672 0.37
11673 \end_layout
11674
11675 \end_inset
11676 </cell>
11677 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11678 \begin_inset Text
11679
11680 \begin_layout Standard
11681 0.39
11682 \end_layout
11683
11684 \end_inset
11685 </cell>
11686 </row>
11687 <row topspace="default">
11688 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11689 \begin_inset Text
11690
11691 \begin_layout Standard
11692 \begin_inset ERT
11693 status collapsed
11694
11695 \begin_layout Standard
11696
11697
11698 \backslash
11699 cmidrule(l{10pt}){1-1}
11700 \end_layout
11701
11702 \end_inset
11703
11704 LSF-spatial resolution
11705 \end_layout
11706
11707 \end_inset
11708 </cell>
11709 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11710 \begin_inset Text
11711
11712 \begin_layout Standard
11713
11714 \end_layout
11715
11716 \end_inset
11717 </cell>
11718 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11719 \begin_inset Text
11720
11721 \begin_layout Standard
11722
11723 \end_layout
11724
11725 \end_inset
11726 </cell>
11727 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11728 \begin_inset Text
11729
11730 \begin_layout Standard
11731
11732 \end_layout
11733
11734 \end_inset
11735 </cell>
11736 </row>
11737 <row>
11738 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11739 \begin_inset Text
11740
11741 \begin_layout Standard
11742 in Âµm
11743 \end_layout
11744
11745 \end_inset
11746 </cell>
11747 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11748 \begin_inset Text
11749
11750 \begin_layout Standard
11751 129.7
11752 \end_layout
11753
11754 \end_inset
11755 </cell>
11756 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11757 \begin_inset Text
11758
11759 \begin_layout Standard
11760 52.75
11761 \end_layout
11762
11763 \end_inset
11764 </cell>
11765 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11766 \begin_inset Text
11767
11768 \begin_layout Standard
11769 50.78
11770 \end_layout
11771
11772 \end_inset
11773 </cell>
11774 </row>
11775 <row bottomline="true">
11776 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11777 \begin_inset Text
11778
11779 \begin_layout Standard
11780 in % of pixel size
11781 \end_layout
11782
11783 \end_inset
11784 </cell>
11785 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11786 \begin_inset Text
11787
11788 \begin_layout Standard
11789 76.3
11790 \end_layout
11791
11792 \end_inset
11793 </cell>
11794 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11795 \begin_inset Text
11796
11797 \begin_layout Standard
11798 95.9
11799 \end_layout
11800
11801 \end_inset
11802 </cell>
11803 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11804 \begin_inset Text
11805
11806 \begin_layout Standard
11807 92.3
11808 \end_layout
11809
11810 \end_inset
11811 </cell>
11812 </row>
11813 </lyxtabular>
11814
11815 \end_inset
11816
11817
11818 \end_layout
11819
11820 \end_inset
11821
11822
11823 \end_layout
11824
11825 \begin_layout Standard
11826 Spaces to table rows can be added using the 
11827 \family sans
11828 Borders
11829 \family default
11830  tab of the table dialog as described in section\InsetSpace ~
11831
11832 \begin_inset LatexCommand ref
11833 reference "sub:Row-Spacing"
11834
11835 \end_inset
11836
11837 .
11838 \end_layout
11839
11840 \begin_layout Standard
11841 In contrary to normal tables, formal tables have no vertical table lines.
11842  The horizontal table lines can be set like for normal tables but they appear
11843  with different width in the output:
11844 \newline
11845 The first and the last table line have
11846  a default width of 0.08\InsetSpace \thinspace{}
11847 em while the other lines have a default width of
11848  0.05\InsetSpace \thinspace{}
11849 em.
11850 \end_layout
11851
11852 \begin_layout Standard
11853 The default widths can be changed with the following preamble lines
11854 \end_layout
11855
11856 \begin_layout Standard
11857
11858 \series bold
11859
11860 \backslash
11861 let
11862 \backslash
11863 mytoprule
11864 \backslash
11865 toprule
11866 \newline
11867
11868 \backslash
11869 renewcommand{
11870 \backslash
11871 toprule}{
11872 \backslash
11873 mytoprule[width]}
11874 \end_layout
11875
11876 \begin_layout Standard
11877 This example is for the first line, the so called 
11878 \series bold
11879 toprule
11880 \series default
11881 .
11882  If you want to change the width for the last line, replace 
11883 \series bold
11884 toprule
11885 \series default
11886  by 
11887 \series bold
11888 bottomrule
11889 \series default
11890 .
11891  To change the width for the other lines replace 
11892 \series bold
11893 toprule
11894 \series default
11895  by 
11896 \series bold
11897 midrule
11898 \series default
11899 .
11900  You can use all units listed in appendix\InsetSpace ~
11901
11902 \begin_inset LatexCommand ref
11903 reference "cha:Units-available-in"
11904
11905 \end_inset
11906
11907  to set the width.
11908 \end_layout
11909
11910 \begin_layout Standard
11911 Lines that don't span over all table columns can be created by setting a
11912  table line for multicolumn cells.
11913  LyX will then internally use the command 
11914 \series bold
11915
11916 \backslash
11917 cmidrule
11918 \series default
11919  to create this line.
11920  Its full scheme is
11921 \end_layout
11922
11923 \begin_layout Standard
11924
11925 \series bold
11926
11927 \backslash
11928 cmidrule[width](trim){startcol-endcol}
11929 \end_layout
11930
11931 \begin_layout Standard
11932 The options of 
11933 \series bold
11934
11935 \backslash
11936 cmidrule
11937 \series default
11938  are are currently not supported by LyX so you have to use ERT to be able
11939  to use them.
11940  
11941 \series bold
11942
11943 \backslash
11944 cmidrule
11945 \series default
11946 s can manually be created by inserting the command as ERT as first cell
11947  entry of the first cell of a row.
11948  The line is then drawn in the output above the current row.
11949 \end_layout
11950
11951 \begin_layout Standard
11952 The default for the width is 0.03\InsetSpace \thinspace{}
11953 em.
11954  Startcol is the number of the column where the line starts and endcol the
11955  column number where the line ends.
11956  The endcol always needs to be specified, also when the line should span
11957  only one column.
11958  The optional parameter trim could be either 
11959 \emph on
11960 l{trimwidth}
11961 \emph default
11962 , or 
11963 \emph on
11964 r{trimwidth}
11965 \emph default
11966  where the trimwidth is also optional.
11967  Using for example the parameter 
11968 \emph on
11969 l{2pt}
11970 \emph default
11971  means that the line is trimmed from its left end by 2\InsetSpace \thinspace{}
11972 pt.
11973  If you don't specify the trimwidth the lines are trimmed by the default
11974  of 0.5\InsetSpace \thinspace{}
11975 em.
11976 \end_layout
11977
11978 \begin_layout Standard
11979 \begin_inset VSpace bigskip
11980 \end_inset
11981
11982 Table\InsetSpace ~
11983
11984 \begin_inset LatexCommand ref
11985 reference "tab:Example-booktabs-table"
11986
11987 \end_inset
11988
11989  was created using the commands
11990 \end_layout
11991
11992 \begin_layout Standard
11993
11994 \series bold
11995
11996 \backslash
11997 cmidrule(r){2-2}
11998 \backslash
11999 cmidrule(l){3-4}
12000 \end_layout
12001
12002 \begin_layout Standard
12003 at the beginning of the in the second row and
12004 \end_layout
12005
12006 \begin_layout Standard
12007
12008 \series bold
12009
12010 \backslash
12011 cmidrule(l{10pt}){1-1}
12012 \end_layout
12013
12014 \begin_layout Standard
12015 in the sixth row.
12016 \end_layout
12017
12018 \begin_layout Standard
12019 \begin_inset VSpace bigskip
12020 \end_inset
12021
12022
12023 \end_layout
12024
12025 \begin_layout Standard
12026 You might want to have overlapping 
12027 \series bold
12028
12029 \backslash
12030 cmidrule
12031 \series default
12032 s like in Table\InsetSpace ~
12033
12034 \begin_inset LatexCommand ref
12035 reference "tab:Special-booktabs-table"
12036
12037 \end_inset
12038
12039 .
12040  This can be achieved with the ERT command
12041 \end_layout
12042
12043 \begin_layout Standard
12044
12045 \series bold
12046
12047 \backslash
12048 morecmidrules
12049 \end_layout
12050
12051 \begin_layout Standard
12052 The command that was used for the second row of Table\InsetSpace ~
12053
12054 \begin_inset LatexCommand ref
12055 reference "tab:Special-booktabs-table"
12056
12057 \end_inset
12058
12059  is
12060 \end_layout
12061
12062 \begin_layout Standard
12063
12064 \series bold
12065
12066 \backslash
12067 cmidrule(r){2-2}
12068 \backslash
12069 cmidrule(l){3-4}
12070 \backslash
12071 morecmidrules
12072 \backslash
12073 cmidrule{2-4}
12074 \end_layout
12075
12076 \begin_layout Standard
12077 The command for the sixth row is
12078 \end_layout
12079
12080 \begin_layout Standard
12081
12082 \series bold
12083
12084 \backslash
12085 midrule
12086 \backslash
12087 morecmidrules
12088 \backslash
12089 cmidrule{3-4}
12090 \end_layout
12091
12092 \begin_layout Standard
12093 \begin_inset VSpace bigskip
12094 \end_inset
12095
12096
12097 \end_layout
12098
12099 \begin_layout Standard
12100 If you are anyway not satisfied with the border line spacing, you can use
12101  the following command to produce lines that span over all table columns
12102 \series bold
12103 :
12104 \end_layout
12105
12106 \begin_layout Standard
12107
12108 \series bold
12109
12110 \backslash
12111 specialrule{width}{space above}{space below}
12112 \end_layout
12113
12114 \begin_layout Standard
12115 For more informations about these specialties, we refer to the manual of
12116  the LaTeX-package 
12117 \series bold
12118 booktabs
12119 \series default
12120  
12121 \begin_inset LatexCommand cite
12122 key "booktabs"
12123
12124 \end_inset
12125
12126 .
12127 \begin_inset LatexCommand index
12128 name "LaTeX-packages ! booktabs"
12129
12130 \end_inset
12131
12132
12133 \end_layout
12134
12135 \begin_layout Standard
12136 \begin_inset Float table
12137 placement h
12138 wide false
12139 sideways false
12140 status open
12141
12142 \begin_layout Standard
12143 \begin_inset Caption
12144
12145 \begin_layout Standard
12146 \begin_inset LatexCommand label
12147 name "tab:Special-booktabs-table"
12148
12149 \end_inset
12150
12151 Special booktabs-table
12152 \end_layout
12153
12154 \end_inset
12155
12156
12157 \end_layout
12158
12159 \begin_layout Standard
12160 \align center
12161 \begin_inset Tabular
12162 <lyxtabular version="3" rows="8" columns="4">
12163 <features booktabs="true">
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 <column alignment="center" valignment="top" width="0">
12168 <row topline="true">
12169 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12170 \begin_inset Text
12171
12172 \begin_layout Standard
12173 System
12174 \end_layout
12175
12176 \end_inset
12177 </cell>
12178 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12179 \begin_inset Text
12180
12181 \begin_layout Standard
12182 Medipix\InsetSpace \thinspace{}
12183 1
12184 \end_layout
12185
12186 \end_inset
12187 </cell>
12188 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" usebox="none">
12189 \begin_inset Text
12190
12191 \begin_layout Standard
12192 Medipix\InsetSpace \thinspace{}
12193 2
12194 \end_layout
12195
12196 \end_inset
12197 </cell>
12198 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12199 \begin_inset Text
12200
12201 \begin_layout Standard
12202
12203 \end_layout
12204
12205 \end_inset
12206 </cell>
12207 </row>
12208 <row>
12209 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12210 \begin_inset Text
12211
12212 \begin_layout Standard
12213 \begin_inset ERT
12214 status collapsed
12215
12216 \begin_layout Standard
12217
12218
12219 \backslash
12220 cmidrule(r){2-2}
12221 \end_layout
12222
12223 \end_inset
12224
12225
12226 \begin_inset ERT
12227 status collapsed
12228
12229 \begin_layout Standard
12230
12231
12232 \backslash
12233 cmidrule(l){3-4}
12234 \end_layout
12235
12236 \end_inset
12237
12238
12239 \begin_inset ERT
12240 status collapsed
12241
12242 \begin_layout Standard
12243
12244
12245 \backslash
12246 morecmidrules 
12247 \end_layout
12248
12249 \end_inset
12250
12251
12252 \begin_inset ERT
12253 status collapsed
12254
12255 \begin_layout Standard
12256
12257
12258 \backslash
12259 cmidrule{2-4}
12260 \end_layout
12261
12262 \end_inset
12263
12264 Detector thickness [µm]
12265 \end_layout
12266
12267 \end_inset
12268 </cell>
12269 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12270 \begin_inset Text
12271
12272 \begin_layout Standard
12273 300
12274 \end_layout
12275
12276 \end_inset
12277 </cell>
12278 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12279 \begin_inset Text
12280
12281 \begin_layout Standard
12282 300
12283 \end_layout
12284
12285 \end_inset
12286 </cell>
12287 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12288 \begin_inset Text
12289
12290 \begin_layout Standard
12291 700
12292 \end_layout
12293
12294 \end_inset
12295 </cell>
12296 </row>
12297 <row topline="true">
12298 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12299 \begin_inset Text
12300
12301 \begin_layout Standard
12302 Edge angle [°]
12303 \end_layout
12304
12305 \end_inset
12306 </cell>
12307 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12308 \begin_inset Text
12309
12310 \begin_layout Standard
12311 3.55
12312 \end_layout
12313
12314 \end_inset
12315 </cell>
12316 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12317 \begin_inset Text
12318
12319 \begin_layout Standard
12320 2.71
12321 \end_layout
12322
12323 \end_inset
12324 </cell>
12325 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12326 \begin_inset Text
12327
12328 \begin_layout Standard
12329 7.99
12330 \end_layout
12331
12332 \end_inset
12333 </cell>
12334 </row>
12335 <row topspace="default">
12336 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12337 \begin_inset Text
12338
12339 \begin_layout Standard
12340 Spatial resolution [µm]
12341 \end_layout
12342
12343 \end_inset
12344 </cell>
12345 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12346 \begin_inset Text
12347
12348 \begin_layout Standard
12349 4.26
12350 \end_layout
12351
12352 \end_inset
12353 </cell>
12354 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12355 \begin_inset Text
12356
12357 \begin_layout Standard
12358 10.17
12359 \end_layout
12360
12361 \end_inset
12362 </cell>
12363 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12364 \begin_inset Text
12365
12366 \begin_layout Standard
12367 10.56
12368 \end_layout
12369
12370 \end_inset
12371 </cell>
12372 </row>
12373 <row topspace="default">
12374 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12375 \begin_inset Text
12376
12377 \begin_layout Standard
12378 MTF at 
12379 \begin_inset Formula $f_{\mathrm{max}}$
12380 \end_inset
12381
12382
12383 \end_layout
12384
12385 \end_inset
12386 </cell>
12387 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12388 \begin_inset Text
12389
12390 \begin_layout Standard
12391 0.53
12392 \end_layout
12393
12394 \end_inset
12395 </cell>
12396 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12397 \begin_inset Text
12398
12399 \begin_layout Standard
12400 0.37
12401 \end_layout
12402
12403 \end_inset
12404 </cell>
12405 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12406 \begin_inset Text
12407
12408 \begin_layout Standard
12409 0.39
12410 \end_layout
12411
12412 \end_inset
12413 </cell>
12414 </row>
12415 <row topline="true">
12416 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12417 \begin_inset Text
12418
12419 \begin_layout Standard
12420 \begin_inset ERT
12421 status collapsed
12422
12423 \begin_layout Standard
12424
12425
12426 \backslash
12427 morecmidrules 
12428 \end_layout
12429
12430 \end_inset
12431
12432
12433 \begin_inset ERT
12434 status collapsed
12435
12436 \begin_layout Standard
12437
12438
12439 \backslash
12440 cmidrule{3-4}
12441 \end_layout
12442
12443 \end_inset
12444
12445 LSF-spatial resolution
12446 \end_layout
12447
12448 \end_inset
12449 </cell>
12450 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12451 \begin_inset Text
12452
12453 \begin_layout Standard
12454
12455 \end_layout
12456
12457 \end_inset
12458 </cell>
12459 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12460 \begin_inset Text
12461
12462 \begin_layout Standard
12463
12464 \end_layout
12465
12466 \end_inset
12467 </cell>
12468 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12469 \begin_inset Text
12470
12471 \begin_layout Standard
12472
12473 \end_layout
12474
12475 \end_inset
12476 </cell>
12477 </row>
12478 <row>
12479 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12480 \begin_inset Text
12481
12482 \begin_layout Standard
12483 in Âµm
12484 \end_layout
12485
12486 \end_inset
12487 </cell>
12488 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12489 \begin_inset Text
12490
12491 \begin_layout Standard
12492 129.7
12493 \end_layout
12494
12495 \end_inset
12496 </cell>
12497 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12498 \begin_inset Text
12499
12500 \begin_layout Standard
12501 52.75
12502 \end_layout
12503
12504 \end_inset
12505 </cell>
12506 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12507 \begin_inset Text
12508
12509 \begin_layout Standard
12510 50.78
12511 \end_layout
12512
12513 \end_inset
12514 </cell>
12515 </row>
12516 <row bottomline="true">
12517 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12518 \begin_inset Text
12519
12520 \begin_layout Standard
12521 in % of pixel size
12522 \end_layout
12523
12524 \end_inset
12525 </cell>
12526 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12527 \begin_inset Text
12528
12529 \begin_layout Standard
12530 76.3
12531 \end_layout
12532
12533 \end_inset
12534 </cell>
12535 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12536 \begin_inset Text
12537
12538 \begin_layout Standard
12539 95.9
12540 \end_layout
12541
12542 \end_inset
12543 </cell>
12544 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12545 \begin_inset Text
12546
12547 \begin_layout Standard
12548 92.3
12549 \end_layout
12550
12551 \end_inset
12552 </cell>
12553 </row>
12554 </lyxtabular>
12555
12556 \end_inset
12557
12558
12559 \end_layout
12560
12561 \end_inset
12562
12563
12564 \end_layout
12565
12566 \begin_layout Section
12567 Vertical Table Alignment
12568 \begin_inset LatexCommand index
12569 name "Table ! Alignment"
12570
12571 \end_inset
12572
12573
12574 \end_layout
12575
12576 \begin_layout Standard
12577 To align tables vertically in a text line the table must be inside a box.
12578  The box can then be vertically aligned as described in section\InsetSpace ~
12579
12580 \begin_inset LatexCommand ref
12581 reference "sec:Box-Dialog"
12582
12583 \end_inset
12584
12585 .
12586 \end_layout
12587
12588 \begin_layout Standard
12589 In the following example the tables are inside a minipage
12590 \begin_inset Foot
12591 status collapsed
12592
12593 \begin_layout Standard
12594 Minipages are described in section\InsetSpace ~
12595
12596 \begin_inset LatexCommand ref
12597 reference "sec:Minipages"
12598
12599 \end_inset
12600
12601 .
12602 \end_layout
12603
12604 \end_inset
12605
12606  box that has a width of 15\InsetSpace \thinspace{}
12607 col%:
12608 \end_layout
12609
12610 \begin_layout Itemize
12611 test 
12612 \begin_inset Box Frameless
12613 position "t"
12614 hor_pos "c"
12615 has_inner_box 1
12616 inner_pos "c"
12617 use_parbox 0
12618 width "15col%"
12619 special "none"
12620 height "1in"
12621 height_special "totalheight"
12622 status collapsed
12623
12624 \begin_layout Standard
12625 \begin_inset Tabular
12626 <lyxtabular version="3" rows="3" columns="3">
12627 <features>
12628 <column alignment="center" valignment="top" leftline="true" width="0">
12629 <column alignment="center" valignment="top" leftline="true" width="0">
12630 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12631 <row topline="true">
12632 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12633 \begin_inset Text
12634
12635 \begin_layout Standard
12636 a
12637 \end_layout
12638
12639 \end_inset
12640 </cell>
12641 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12642 \begin_inset Text
12643
12644 \begin_layout Standard
12645 d
12646 \end_layout
12647
12648 \end_inset
12649 </cell>
12650 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12651 \begin_inset Text
12652
12653 \begin_layout Standard
12654 g
12655 \end_layout
12656
12657 \end_inset
12658 </cell>
12659 </row>
12660 <row topline="true">
12661 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12662 \begin_inset Text
12663
12664 \begin_layout Standard
12665 b
12666 \end_layout
12667
12668 \end_inset
12669 </cell>
12670 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12671 \begin_inset Text
12672
12673 \begin_layout Standard
12674 e
12675 \end_layout
12676
12677 \end_inset
12678 </cell>
12679 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12680 \begin_inset Text
12681
12682 \begin_layout Standard
12683 h
12684 \end_layout
12685
12686 \end_inset
12687 </cell>
12688 </row>
12689 <row topline="true" bottomline="true">
12690 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12691 \begin_inset Text
12692
12693 \begin_layout Standard
12694 c
12695 \end_layout
12696
12697 \end_inset
12698 </cell>
12699 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12700 \begin_inset Text
12701
12702 \begin_layout Standard
12703 f
12704 \end_layout
12705
12706 \end_inset
12707 </cell>
12708 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12709 \begin_inset Text
12710
12711 \begin_layout Standard
12712 i
12713 \end_layout
12714
12715 \end_inset
12716 </cell>
12717 </row>
12718 </lyxtabular>
12719
12720 \end_inset
12721
12722
12723 \end_layout
12724
12725 \end_inset
12726
12727  test 
12728 \begin_inset ERT
12729 status collapsed
12730
12731 \begin_layout Standard
12732
12733
12734 \backslash
12735 raisebox{0.85
12736 \backslash
12737 baselineskip}{
12738 \end_layout
12739
12740 \end_inset
12741
12742
12743 \begin_inset Box Frameless
12744 position "t"
12745 hor_pos "c"
12746 has_inner_box 1
12747 inner_pos "c"
12748 use_parbox 0
12749 width "15col%"
12750 special "none"
12751 height "1in"
12752 height_special "totalheight"
12753 status collapsed
12754
12755 \begin_layout Standard
12756 \begin_inset Tabular
12757 <lyxtabular version="3" rows="3" columns="3">
12758 <features>
12759 <column alignment="center" valignment="top" leftline="true" width="0">
12760 <column alignment="center" valignment="top" leftline="true" width="0">
12761 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12762 <row topline="true">
12763 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12764 \begin_inset Text
12765
12766 \begin_layout Standard
12767 a
12768 \end_layout
12769
12770 \end_inset
12771 </cell>
12772 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12773 \begin_inset Text
12774
12775 \begin_layout Standard
12776 d
12777 \end_layout
12778
12779 \end_inset
12780 </cell>
12781 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12782 \begin_inset Text
12783
12784 \begin_layout Standard
12785 g
12786 \end_layout
12787
12788 \end_inset
12789 </cell>
12790 </row>
12791 <row topline="true">
12792 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12793 \begin_inset Text
12794
12795 \begin_layout Standard
12796 b
12797 \end_layout
12798
12799 \end_inset
12800 </cell>
12801 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12802 \begin_inset Text
12803
12804 \begin_layout Standard
12805 e
12806 \end_layout
12807
12808 \end_inset
12809 </cell>
12810 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12811 \begin_inset Text
12812
12813 \begin_layout Standard
12814 h
12815 \end_layout
12816
12817 \end_inset
12818 </cell>
12819 </row>
12820 <row topline="true" bottomline="true">
12821 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12822 \begin_inset Text
12823
12824 \begin_layout Standard
12825 c
12826 \end_layout
12827
12828 \end_inset
12829 </cell>
12830 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12831 \begin_inset Text
12832
12833 \begin_layout Standard
12834 f
12835 \end_layout
12836
12837 \end_inset
12838 </cell>
12839 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12840 \begin_inset Text
12841
12842 \begin_layout Standard
12843 i
12844 \end_layout
12845
12846 \end_inset
12847 </cell>
12848 </row>
12849 </lyxtabular>
12850
12851 \end_inset
12852
12853
12854 \end_layout
12855
12856 \end_inset
12857
12858
12859 \begin_inset ERT
12860 status collapsed
12861
12862 \begin_layout Standard
12863
12864 }
12865 \end_layout
12866
12867 \end_inset
12868
12869
12870 \end_layout
12871
12872 \begin_layout Itemize
12873 test 
12874 \begin_inset Box Frameless
12875 position "c"
12876 hor_pos "c"
12877 has_inner_box 1
12878 inner_pos "c"
12879 use_parbox 0
12880 width "15col%"
12881 special "none"
12882 height "1in"
12883 height_special "totalheight"
12884 status collapsed
12885
12886 \begin_layout Standard
12887 \begin_inset Tabular
12888 <lyxtabular version="3" rows="3" columns="3">
12889 <features>
12890 <column alignment="center" valignment="top" leftline="true" width="0">
12891 <column alignment="center" valignment="top" leftline="true" width="0">
12892 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12893 <row topline="true">
12894 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12895 \begin_inset Text
12896
12897 \begin_layout Standard
12898 a
12899 \end_layout
12900
12901 \end_inset
12902 </cell>
12903 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12904 \begin_inset Text
12905
12906 \begin_layout Standard
12907 d
12908 \end_layout
12909
12910 \end_inset
12911 </cell>
12912 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12913 \begin_inset Text
12914
12915 \begin_layout Standard
12916 g
12917 \end_layout
12918
12919 \end_inset
12920 </cell>
12921 </row>
12922 <row topline="true">
12923 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12924 \begin_inset Text
12925
12926 \begin_layout Standard
12927 b
12928 \end_layout
12929
12930 \end_inset
12931 </cell>
12932 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12933 \begin_inset Text
12934
12935 \begin_layout Standard
12936 e
12937 \end_layout
12938
12939 \end_inset
12940 </cell>
12941 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12942 \begin_inset Text
12943
12944 \begin_layout Standard
12945 h
12946 \end_layout
12947
12948 \end_inset
12949 </cell>
12950 </row>
12951 <row topline="true" bottomline="true">
12952 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12953 \begin_inset Text
12954
12955 \begin_layout Standard
12956 c
12957 \end_layout
12958
12959 \end_inset
12960 </cell>
12961 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12962 \begin_inset Text
12963
12964 \begin_layout Standard
12965 f
12966 \end_layout
12967
12968 \end_inset
12969 </cell>
12970 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12971 \begin_inset Text
12972
12973 \begin_layout Standard
12974 i
12975 \end_layout
12976
12977 \end_inset
12978 </cell>
12979 </row>
12980 </lyxtabular>
12981
12982 \end_inset
12983
12984
12985 \end_layout
12986
12987 \end_inset
12988
12989
12990 \end_layout
12991
12992 \begin_layout Itemize
12993 test 
12994 \begin_inset Box Frameless
12995 position "b"
12996 hor_pos "c"
12997 has_inner_box 1
12998 inner_pos "c"
12999 use_parbox 0
13000 width "15col%"
13001 special "none"
13002 height "1in"
13003 height_special "totalheight"
13004 status collapsed
13005
13006 \begin_layout Standard
13007 \begin_inset Tabular
13008 <lyxtabular version="3" rows="3" columns="3">
13009 <features>
13010 <column alignment="center" valignment="top" leftline="true" width="0">
13011 <column alignment="center" valignment="top" leftline="true" width="0">
13012 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13013 <row topline="true">
13014 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13015 \begin_inset Text
13016
13017 \begin_layout Standard
13018 a
13019 \end_layout
13020
13021 \end_inset
13022 </cell>
13023 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13024 \begin_inset Text
13025
13026 \begin_layout Standard
13027 d
13028 \end_layout
13029
13030 \end_inset
13031 </cell>
13032 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13033 \begin_inset Text
13034
13035 \begin_layout Standard
13036 g
13037 \end_layout
13038
13039 \end_inset
13040 </cell>
13041 </row>
13042 <row topline="true">
13043 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13044 \begin_inset Text
13045
13046 \begin_layout Standard
13047 b
13048 \end_layout
13049
13050 \end_inset
13051 </cell>
13052 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13053 \begin_inset Text
13054
13055 \begin_layout Standard
13056 e
13057 \end_layout
13058
13059 \end_inset
13060 </cell>
13061 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13062 \begin_inset Text
13063
13064 \begin_layout Standard
13065 h
13066 \end_layout
13067
13068 \end_inset
13069 </cell>
13070 </row>
13071 <row topline="true" bottomline="true">
13072 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13073 \begin_inset Text
13074
13075 \begin_layout Standard
13076 c
13077 \end_layout
13078
13079 \end_inset
13080 </cell>
13081 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13082 \begin_inset Text
13083
13084 \begin_layout Standard
13085 f
13086 \end_layout
13087
13088 \end_inset
13089 </cell>
13090 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13091 \begin_inset Text
13092
13093 \begin_layout Standard
13094 i
13095 \end_layout
13096
13097 \end_inset
13098 </cell>
13099 </row>
13100 </lyxtabular>
13101
13102 \end_inset
13103
13104
13105 \end_layout
13106
13107 \end_inset
13108
13109  test 
13110 \begin_inset ERT
13111 status collapsed
13112
13113 \begin_layout Standard
13114
13115
13116 \backslash
13117 raisebox{-0.32
13118 \backslash
13119 baselineskip}{
13120 \end_layout
13121
13122 \end_inset
13123
13124
13125 \begin_inset Box Frameless
13126 position "b"
13127 hor_pos "c"
13128 has_inner_box 1
13129 inner_pos "c"
13130 use_parbox 0
13131 width "15col%"
13132 special "none"
13133 height "1in"
13134 height_special "totalheight"
13135 status collapsed
13136
13137 \begin_layout Standard
13138 \begin_inset Tabular
13139 <lyxtabular version="3" rows="3" columns="3">
13140 <features>
13141 <column alignment="center" valignment="top" leftline="true" width="0">
13142 <column alignment="center" valignment="top" leftline="true" width="0">
13143 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13144 <row topline="true">
13145 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13146 \begin_inset Text
13147
13148 \begin_layout Standard
13149 a
13150 \end_layout
13151
13152 \end_inset
13153 </cell>
13154 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13155 \begin_inset Text
13156
13157 \begin_layout Standard
13158 d
13159 \end_layout
13160
13161 \end_inset
13162 </cell>
13163 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13164 \begin_inset Text
13165
13166 \begin_layout Standard
13167 g
13168 \end_layout
13169
13170 \end_inset
13171 </cell>
13172 </row>
13173 <row topline="true">
13174 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13175 \begin_inset Text
13176
13177 \begin_layout Standard
13178 b
13179 \end_layout
13180
13181 \end_inset
13182 </cell>
13183 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13184 \begin_inset Text
13185
13186 \begin_layout Standard
13187 e
13188 \end_layout
13189
13190 \end_inset
13191 </cell>
13192 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13193 \begin_inset Text
13194
13195 \begin_layout Standard
13196 h
13197 \end_layout
13198
13199 \end_inset
13200 </cell>
13201 </row>
13202 <row topline="true" bottomline="true">
13203 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13204 \begin_inset Text
13205
13206 \begin_layout Standard
13207 c
13208 \end_layout
13209
13210 \end_inset
13211 </cell>
13212 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13213 \begin_inset Text
13214
13215 \begin_layout Standard
13216 f
13217 \end_layout
13218
13219 \end_inset
13220 </cell>
13221 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13222 \begin_inset Text
13223
13224 \begin_layout Standard
13225 i
13226 \end_layout
13227
13228 \end_inset
13229 </cell>
13230 </row>
13231 </lyxtabular>
13232
13233 \end_inset
13234
13235
13236 \end_layout
13237
13238 \end_inset
13239
13240
13241 \begin_inset ERT
13242 status collapsed
13243
13244 \begin_layout Standard
13245
13246 }
13247 \end_layout
13248
13249 \end_inset
13250
13251
13252 \end_layout
13253
13254 \begin_layout Standard
13255 As you can see, the content of the first and last table row is not correctly
13256  aligned with the text line where the table is in.
13257  To get this alignment, the minipage box must be set into a raisebox
13258 \begin_inset Foot
13259 status collapsed
13260
13261 \begin_layout Standard
13262 Raiseboxes are described in section\InsetSpace ~
13263
13264 \begin_inset LatexCommand ref
13265 reference "sub:Vertical-Alignment"
13266
13267 \end_inset
13268
13269 .
13270 \end_layout
13271
13272 \end_inset
13273
13274 .
13275  In the example above the second table in the first item is aligned using
13276  the ERT-command
13277 \end_layout
13278
13279 \begin_layout Standard
13280
13281 \series bold
13282
13283 \backslash
13284 raisebox{0.85
13285 \backslash
13286 baselineskip}{
13287 \end_layout
13288
13289 \begin_layout Standard
13290 before the box.
13291  Behind the box the closing brace 
13292 \series bold
13293 }
13294 \series default
13295  is inserted as ERT.
13296  For the second table in the last item the command
13297 \end_layout
13298
13299 \begin_layout Standard
13300
13301 \series bold
13302
13303 \backslash
13304 raisebox{-0.32
13305 \backslash
13306 baselineskip}{
13307 \end_layout
13308
13309 \begin_layout Standard
13310 is used.
13311 \end_layout
13312
13313 \begin_layout Standard
13314 \begin_inset Note Greyedout
13315 status open
13316
13317 \begin_layout Standard
13318
13319 \series bold
13320 Note:
13321 \series default
13322  The alignment of the table row content to the surrounding text line is
13323  not exact.
13324  The needed factor of the 
13325 \series bold
13326
13327 \backslash
13328 raisebox
13329 \series default
13330  command for this alignment depends on the document font, the font size,
13331  and the table line thickness.
13332 \end_layout
13333
13334 \end_inset
13335
13336
13337 \end_layout
13338
13339 \begin_layout Section
13340 Colored Tables
13341 \begin_inset LatexCommand label
13342 name "sec:Colored-Tables"
13343
13344 \end_inset
13345
13346
13347 \begin_inset LatexCommand index
13348 name "Table ! Color"
13349
13350 \end_inset
13351
13352
13353 \end_layout
13354
13355 \begin_layout Subsection
13356 Colored Cells
13357 \begin_inset LatexCommand index
13358 name "Table Color ! for Cells"
13359
13360 \end_inset
13361
13362
13363 \begin_inset LatexCommand index
13364 name "Color ! for Table Cells"
13365
13366 \end_inset
13367
13368
13369 \end_layout
13370
13371 \begin_layout Standard
13372 \begin_inset Float table
13373 placement h
13374 wide false
13375 sideways false
13376 status open
13377
13378 \begin_layout Standard
13379 \begin_inset Caption
13380
13381 \begin_layout Standard
13382 \begin_inset LatexCommand label
13383 name "tab:Table-colored-without"
13384
13385 \end_inset
13386
13387 Table colored without using the package 
13388 \series bold
13389 colortbl
13390 \series default
13391
13392 \begin_inset OptArg
13393 status collapsed
13394
13395 \begin_layout Standard
13396 Table without colortbl
13397 \end_layout
13398
13399 \end_inset
13400
13401
13402 \end_layout
13403
13404 \end_inset
13405
13406
13407 \end_layout
13408
13409 \begin_layout Standard
13410 \align center
13411 \begin_inset Tabular
13412 <lyxtabular version="3" rows="3" columns="3">
13413 <features>
13414 <column alignment="center" valignment="top" leftline="true" width="0">
13415 <column alignment="center" valignment="top" leftline="true" width="0">
13416 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13417 <row topline="true">
13418 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13419 \begin_inset Text
13420
13421 \begin_layout Standard
13422
13423 \color green
13424 a
13425 \end_layout
13426
13427 \end_inset
13428 </cell>
13429 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13430 \begin_inset Text
13431
13432 \begin_layout Standard
13433
13434 \color red
13435 b
13436 \end_layout
13437
13438 \end_inset
13439 </cell>
13440 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13441 \begin_inset Text
13442
13443 \begin_layout Standard
13444
13445 \color red
13446 c
13447 \end_layout
13448
13449 \end_inset
13450 </cell>
13451 </row>
13452 <row topline="true">
13453 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13454 \begin_inset Text
13455
13456 \begin_layout Standard
13457
13458 \color green
13459 d
13460 \end_layout
13461
13462 \end_inset
13463 </cell>
13464 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13465 \begin_inset Text
13466
13467 \begin_layout Standard
13468
13469 \color blue
13470 e
13471 \end_layout
13472
13473 \end_inset
13474 </cell>
13475 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13476 \begin_inset Text
13477
13478 \begin_layout Standard
13479
13480 \color blue
13481 f
13482 \end_layout
13483
13484 \end_inset
13485 </cell>
13486 </row>
13487 <row topline="true" bottomline="true">
13488 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13489 \begin_inset Text
13490
13491 \begin_layout Standard
13492
13493 \color green
13494 g
13495 \end_layout
13496
13497 \end_inset
13498 </cell>
13499 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13500 \begin_inset Text
13501
13502 \begin_layout Standard
13503
13504 \color blue
13505 h
13506 \end_layout
13507
13508 \end_inset
13509 </cell>
13510 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13511 \begin_inset Text
13512
13513 \begin_layout Standard
13514
13515 \color blue
13516 i
13517 \end_layout
13518
13519 \end_inset
13520 </cell>
13521 </row>
13522 </lyxtabular>
13523
13524 \end_inset
13525
13526
13527 \end_layout
13528
13529 \end_inset
13530
13531
13532 \end_layout
13533
13534 \begin_layout Standard
13535 If you only need colored text, mark the cells and choose a color in the
13536  menu 
13537 \family sans
13538 Edit\SpecialChar \menuseparator
13539 Text\InsetSpace ~
13540 Style
13541 \family default
13542 .
13543  This was used to create Table\InsetSpace ~
13544
13545 \begin_inset LatexCommand ref
13546 reference "tab:Table-colored-without"
13547
13548 \end_inset
13549
13550 .
13551  In any other case you have to use the LaTeX-package 
13552 \series bold
13553 colortbl
13554 \series default
13555 .
13556 \begin_inset LatexCommand index
13557 name "LaTeX-packages ! colortbl"
13558
13559 \end_inset
13560
13561
13562 \end_layout
13563
13564 \begin_layout Standard
13565 To create colored tables, 
13566 \series bold
13567 colortbl
13568 \series default
13569  must be loaded in the preamble with the line
13570 \end_layout
13571
13572 \begin_layout Standard
13573
13574 \series bold
13575
13576 \backslash
13577 usepackage{colortbl}
13578 \end_layout
13579
13580 \begin_layout Standard
13581 The color of a column is adjusted with the command
13582 \end_layout
13583
13584 \begin_layout Standard
13585
13586 \series bold
13587
13588 \backslash
13589 columncolor{name of color}
13590 \end_layout
13591
13592 \begin_layout Standard
13593 inside the command 
13594 \series bold
13595 >{ }
13596 \series default
13597 .
13598  More about the command 
13599 \series bold
13600 >{}
13601 \series default
13602  is described in section\InsetSpace ~
13603
13604 \begin_inset LatexCommand ref
13605 reference "sub:Multicolumn-Calculations"
13606
13607 \end_inset
13608
13609 .
13610 \end_layout
13611
13612 \begin_layout Standard
13613 The following color names are predefined:
13614 \end_layout
13615
13616 \begin_layout Standard
13617
13618 \family sans
13619 red
13620 \family default
13621
13622 \family sans
13623 green
13624 \family default
13625
13626 \family sans
13627 yellow
13628 \family default
13629
13630 \family sans
13631 blue
13632 \family default
13633
13634 \family sans
13635 cyan
13636 \family default
13637
13638 \family sans
13639 magenta
13640 \family default
13641
13642 \family sans
13643 black
13644 \family default
13645  and 
13646 \family sans
13647 white
13648 \end_layout
13649
13650 \begin_layout Standard
13651 \begin_inset VSpace medskip
13652 \end_inset
13653
13654
13655 \end_layout
13656
13657 \begin_layout Standard
13658 You can also define your own color with the command
13659 \end_layout
13660
13661 \begin_layout Standard
13662
13663 \series bold
13664
13665 \backslash
13666 def\SpecialChar \textcompwordmark{}
13667 inecolor{color name}{color model}{color values}
13668 \end_layout
13669
13670 \begin_layout Standard
13671 The color model can be
13672 \end_layout
13673
13674 \begin_layout Labeling
13675 \labelwidthstring 00.00.0000
13676 cmyk: cyan, magenta, yellow, black
13677 \end_layout
13678
13679 \begin_layout Labeling
13680 \labelwidthstring 00.00.0000
13681 rgb: red, green blue
13682 \end_layout
13683
13684 \begin_layout Labeling
13685 \labelwidthstring 00.00.0000
13686 gray gray
13687 \end_layout
13688
13689 \begin_layout Standard
13690 and the color values are comma separated numbers between 0 and 1 describing
13691  the factor for the corresponding color of the color model.
13692 \end_layout
13693
13694 \begin_layout Standard
13695 You can e.\InsetSpace \thinspace{}
13696 g.\InsetSpace ~
13697 define the color "
13698 \emph on
13699 darkgreen
13700 \emph default
13701 " in the preamble with
13702 \end_layout
13703
13704 \begin_layout Standard
13705
13706 \series bold
13707
13708 \backslash
13709 def\SpecialChar \textcompwordmark{}
13710 inecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
13711 \end_layout
13712
13713 \begin_layout Standard
13714 and the color "
13715 \emph on
13716 lightgray
13717 \emph default
13718 " with
13719 \end_layout
13720
13721 \begin_layout Standard
13722
13723 \series bold
13724
13725 \backslash
13726 def\SpecialChar \textcompwordmark{}
13727 inecolor{lightgray}{gray}{0.8}
13728 \end_layout
13729
13730 \begin_layout Standard
13731 \begin_inset VSpace medskip
13732 \end_inset
13733
13734
13735 \end_layout
13736
13737 \begin_layout Standard
13738 Lines are colored with the command
13739 \end_layout
13740
13741 \begin_layout Standard
13742
13743 \series bold
13744
13745 \backslash
13746 rowcolor{name of color}
13747 \end_layout
13748
13749 \begin_layout Standard
13750 and cells are colored with the command
13751 \end_layout
13752
13753 \begin_layout Standard
13754
13755 \series bold
13756
13757 \backslash
13758 cellcolor{name of color}
13759 \end_layout
13760
13761 \begin_layout Standard
13762 Both commands are inserted at the beginning of a cell as ERT.
13763 \end_layout
13764
13765 \begin_layout Standard
13766 To color characters in the table, mark the cells and use the LyX menu 
13767 \family sans
13768 Edit\SpecialChar \menuseparator
13769 Text\InsetSpace ~
13770 Style
13771 \family default
13772 .
13773  If a cell contains ERT mark only the characters, otherwise the colored
13774  ERT will cause LaTeX-errors.
13775 \end_layout
13776
13777 \begin_layout Standard
13778 \begin_inset Note Greyedout
13779 status open
13780
13781 \begin_layout Standard
13782
13783 \series bold
13784 Note:
13785 \series default
13786  Not all DVI-viewers are able to display self-defined colors.
13787 \end_layout
13788
13789 \end_inset
13790
13791
13792 \end_layout
13793
13794 \begin_layout Standard
13795 \begin_inset VSpace bigskip
13796 \end_inset
13797
13798
13799 \end_layout
13800
13801 \begin_layout Standard
13802 To create Table\InsetSpace ~
13803
13804 \begin_inset LatexCommand ref
13805 reference "tab:Table-colored-using"
13806
13807 \end_inset
13808
13809  do the following: The color of the first column should be 
13810 \emph on
13811 darkgreen
13812 \emph default
13813 .
13814  So insert
13815 \end_layout
13816
13817 \begin_layout Standard
13818
13819 \series bold
13820 >{
13821 \backslash
13822 columncolor{darkgreen}
13823 \backslash
13824 centering}c
13825 \end_layout
13826
13827 \begin_layout Standard
13828 as LaTeX-argument for this column.
13829  The first row should be blue, therefore the ERT command
13830 \end_layout
13831
13832 \begin_layout Standard
13833
13834 \series bold
13835
13836 \backslash
13837 rowcolow{cyan}
13838 \end_layout
13839
13840 \begin_layout Standard
13841 is inserted to the first cell of this row.
13842  Note that this overwrites the column color for the first cell.
13843  The last cell of the last row is colored magenta by inserting the ERT command
13844 \end_layout
13845
13846 \begin_layout Standard
13847
13848 \series bold
13849
13850 \backslash
13851 cellcolor{magenta}
13852 \end_layout
13853
13854 \begin_layout Standard
13855 The characters could now be colored using the menu 
13856 \family sans
13857 Edit\SpecialChar \menuseparator
13858 Text\InsetSpace ~
13859 Style
13860 \family default
13861 .
13862 \end_layout
13863
13864 \begin_layout Standard
13865 \begin_inset Float table
13866 placement h
13867 wide false
13868 sideways false
13869 status open
13870
13871 \begin_layout Standard
13872 \begin_inset Caption
13873
13874 \begin_layout Standard
13875 \begin_inset LatexCommand label
13876 name "tab:Table-colored-using"
13877
13878 \end_inset
13879
13880 Table colored using the package 
13881 \series bold
13882 colortbl
13883 \series default
13884
13885 \begin_inset OptArg
13886 status collapsed
13887
13888 \begin_layout Standard
13889 Table with colortbl
13890 \end_layout
13891
13892 \end_inset
13893
13894
13895 \end_layout
13896
13897 \end_inset
13898
13899
13900 \end_layout
13901
13902 \begin_layout Standard
13903 \align center
13904 \begin_inset Tabular
13905 <lyxtabular version="3" rows="3" columns="3">
13906 <features>
13907 <column alignment="center" valignment="top" width="0" special=">{\columncolor{darkgreen}\centering}c">
13908 <column alignment="center" valignment="top" width="0">
13909 <column alignment="center" valignment="top" width="0">
13910 <row>
13911 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13912 \begin_inset Text
13913
13914 \begin_layout Standard
13915 \begin_inset ERT
13916 status collapsed
13917
13918 \begin_layout Standard
13919
13920
13921 \backslash
13922 rowcolor{cyan}
13923 \end_layout
13924
13925 \end_inset
13926
13927
13928 \color magenta
13929 a
13930 \end_layout
13931
13932 \end_inset
13933 </cell>
13934 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13935 \begin_inset Text
13936
13937 \begin_layout Standard
13938
13939 \color red
13940 b
13941 \end_layout
13942
13943 \end_inset
13944 </cell>
13945 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13946 \begin_inset Text
13947
13948 \begin_layout Standard
13949
13950 \color red
13951 c
13952 \end_layout
13953
13954 \end_inset
13955 </cell>
13956 </row>
13957 <row>
13958 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13959 \begin_inset Text
13960
13961 \begin_layout Standard
13962
13963 \color yellow
13964 d
13965 \end_layout
13966
13967 \end_inset
13968 </cell>
13969 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13970 \begin_inset Text
13971
13972 \begin_layout Standard
13973
13974 \color blue
13975 e
13976 \end_layout
13977
13978 \end_inset
13979 </cell>
13980 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13981 \begin_inset Text
13982
13983 \begin_layout Standard
13984
13985 \color blue
13986 f
13987 \end_layout
13988
13989 \end_inset
13990 </cell>
13991 </row>
13992 <row>
13993 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13994 \begin_inset Text
13995
13996 \begin_layout Standard
13997
13998 \color yellow
13999 g
14000 \end_layout
14001
14002 \end_inset
14003 </cell>
14004 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14005 \begin_inset Text
14006
14007 \begin_layout Standard
14008
14009 \color blue
14010 h
14011 \end_layout
14012
14013 \end_inset
14014 </cell>
14015 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14016 \begin_inset Text
14017
14018 \begin_layout Standard
14019 \begin_inset ERT
14020 status collapsed
14021
14022 \begin_layout Standard
14023
14024
14025 \backslash
14026 cellcolor{magenta}
14027 \end_layout
14028
14029 \end_inset
14030
14031
14032 \color green
14033 i
14034 \end_layout
14035
14036 \end_inset
14037 </cell>
14038 </row>
14039 </lyxtabular>
14040
14041 \end_inset
14042
14043
14044 \end_layout
14045
14046 \end_inset
14047
14048
14049 \end_layout
14050
14051 \begin_layout Subsection
14052 Colored Lines
14053 \begin_inset LatexCommand index
14054 name "Table Color ! for Lines"
14055
14056 \end_inset
14057
14058
14059 \begin_inset LatexCommand index
14060 name "Color ! for Table Lines"
14061
14062 \end_inset
14063
14064
14065 \end_layout
14066
14067 \begin_layout Standard
14068 As described in section\InsetSpace ~
14069
14070 \begin_inset LatexCommand ref
14071 reference "sub:Line-Thickness"
14072
14073 \end_inset
14074
14075 , the line thickness for all lines in a table can be adjusted with the length
14076  
14077 \series bold
14078
14079 \backslash
14080 arrayrulewidth
14081 \series default
14082 .
14083  It is set to 1.5\InsetSpace \thinspace{}
14084 pt for all tables of this section.
14085 \begin_inset ERT
14086 status collapsed
14087
14088 \begin_layout Standard
14089
14090
14091 \backslash
14092 setlength{
14093 \backslash
14094 arrayrulewidth}{1.5pt}
14095 \end_layout
14096
14097 \end_inset
14098
14099
14100 \end_layout
14101
14102 \begin_layout Standard
14103 To color vertical lines for example with green, create the following column
14104  format in the document preamble, according to the description in section\InsetSpace ~
14105
14106 \begin_inset LatexCommand ref
14107 reference "sub:Customized-Format"
14108
14109 \end_inset
14110
14111 :
14112 \end_layout
14113
14114 \begin_layout Standard
14115
14116 \series bold
14117
14118 \backslash
14119 newcolumntype{W}{!{
14120 \backslash
14121 color{green}
14122 \backslash
14123 vline}}
14124 \end_layout
14125
14126 \begin_layout Standard
14127 For Table\InsetSpace ~
14128
14129 \begin_inset LatexCommand ref
14130 reference "tab:Table-with-vertical-colored"
14131
14132 \end_inset
14133
14134  the LaTeX-argument
14135 \series bold
14136  WcW
14137 \series default
14138  was used for the last column and
14139 \series bold
14140  Wc
14141 \series default
14142  for the other columns.
14143 \end_layout
14144
14145 \begin_layout Standard
14146 If you want to have several colors, define more column formats.
14147 \end_layout
14148
14149 \begin_layout Standard
14150 \begin_inset Float table
14151 wide false
14152 sideways false
14153 status open
14154
14155 \begin_layout Standard
14156 \begin_inset Caption
14157
14158 \begin_layout Standard
14159 \begin_inset LatexCommand label
14160 name "tab:Table-with-vertical-colored"
14161
14162 \end_inset
14163
14164 Table with colored vertical lines
14165 \end_layout
14166
14167 \end_inset
14168
14169
14170 \end_layout
14171
14172 \begin_layout Standard
14173 \align center
14174 \begin_inset Tabular
14175 <lyxtabular version="3" rows="3" columns="3">
14176 <features>
14177 <column alignment="center" valignment="top" width="0" special="Wc">
14178 <column alignment="center" valignment="top" width="0" special="Wc">
14179 <column alignment="center" valignment="top" width="0" special="WcW">
14180 <row topline="true">
14181 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14182 \begin_inset Text
14183
14184 \begin_layout Standard
14185 sd
14186 \end_layout
14187
14188 \end_inset
14189 </cell>
14190 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14191 \begin_inset Text
14192
14193 \begin_layout Standard
14194
14195 \end_layout
14196
14197 \end_inset
14198 </cell>
14199 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14200 \begin_inset Text
14201
14202 \begin_layout Standard
14203
14204 \end_layout
14205
14206 \end_inset
14207 </cell>
14208 </row>
14209 <row topline="true">
14210 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14211 \begin_inset Text
14212
14213 \begin_layout Standard
14214
14215 \end_layout
14216
14217 \end_inset
14218 </cell>
14219 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14220 \begin_inset Text
14221
14222 \begin_layout Standard
14223 sd
14224 \end_layout
14225
14226 \end_inset
14227 </cell>
14228 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14229 \begin_inset Text
14230
14231 \begin_layout Standard
14232
14233 \end_layout
14234
14235 \end_inset
14236 </cell>
14237 </row>
14238 <row topline="true" bottomline="true">
14239 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14240 \begin_inset Text
14241
14242 \begin_layout Standard
14243
14244 \end_layout
14245
14246 \end_inset
14247 </cell>
14248 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14249 \begin_inset Text
14250
14251 \begin_layout Standard
14252
14253 \end_layout
14254
14255 \end_inset
14256 </cell>
14257 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14258 \begin_inset Text
14259
14260 \begin_layout Standard
14261 sd
14262 \end_layout
14263
14264 \end_inset
14265 </cell>
14266 </row>
14267 </lyxtabular>
14268
14269 \end_inset
14270
14271
14272 \end_layout
14273
14274 \end_inset
14275
14276
14277 \end_layout
14278
14279 \begin_layout Standard
14280 \begin_inset VSpace bigskip
14281 \end_inset
14282
14283 To color horizontal lines for example with red, like in Table\InsetSpace ~
14284
14285 \begin_inset LatexCommand ref
14286 reference "tab:Table-with-horizontal-colored"
14287
14288 \end_inset
14289
14290 , insert these commands in ERT before the table or table float:
14291 \end_layout
14292
14293 \begin_layout Standard
14294
14295 \series bold
14296
14297 \backslash
14298 let
14299 \backslash
14300 myHlineC
14301 \backslash
14302 hline
14303 \newline
14304
14305 \backslash
14306 renewcommand{
14307 \backslash
14308 hline}
14309 \newline
14310
14311 \begin_inset ERT
14312 status collapsed
14313
14314 \begin_layout Standard
14315
14316
14317 \backslash
14318 hphantom{ }
14319 \end_layout
14320
14321 \end_inset
14322
14323 {
14324 \backslash
14325 arrayrulecolor{red}
14326 \backslash
14327 myHlineC
14328 \backslash
14329 arrayrulecolor{black}}
14330 \end_layout
14331
14332 \begin_layout Standard
14333 \begin_inset ERT
14334 status collapsed
14335
14336 \begin_layout Standard
14337
14338
14339 \backslash
14340 let
14341 \backslash
14342 myHlineC
14343 \backslash
14344 hline
14345 \end_layout
14346
14347 \begin_layout Standard
14348
14349
14350 \backslash
14351 renewcommand{
14352 \backslash
14353 hline}
14354 \end_layout
14355
14356 \begin_layout Standard
14357
14358  {
14359 \backslash
14360 arrayrulecolor{red}
14361 \backslash
14362 myHlineC
14363 \backslash
14364 arrayrulecolor{black}}
14365 \end_layout
14366
14367 \end_inset
14368
14369
14370 \begin_inset Float table
14371 wide false
14372 sideways false
14373 status open
14374
14375 \begin_layout Standard
14376 \begin_inset Caption
14377
14378 \begin_layout Standard
14379 \begin_inset LatexCommand label
14380 name "tab:Table-with-horizontal-colored"
14381
14382 \end_inset
14383
14384 Table with colored horizontal lines
14385 \end_layout
14386
14387 \end_inset
14388
14389
14390 \end_layout
14391
14392 \begin_layout Standard
14393 \align center
14394 \begin_inset Tabular
14395 <lyxtabular version="3" rows="3" columns="3">
14396 <features>
14397 <column alignment="center" valignment="top" leftline="true" width="0">
14398 <column alignment="center" valignment="top" leftline="true" width="0">
14399 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14400 <row topline="true">
14401 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14402 \begin_inset Text
14403
14404 \begin_layout Standard
14405 sd
14406 \end_layout
14407
14408 \end_inset
14409 </cell>
14410 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14411 \begin_inset Text
14412
14413 \begin_layout Standard
14414
14415 \end_layout
14416
14417 \end_inset
14418 </cell>
14419 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14420 \begin_inset Text
14421
14422 \begin_layout Standard
14423
14424 \end_layout
14425
14426 \end_inset
14427 </cell>
14428 </row>
14429 <row topline="true">
14430 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14431 \begin_inset Text
14432
14433 \begin_layout Standard
14434
14435 \end_layout
14436
14437 \end_inset
14438 </cell>
14439 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14440 \begin_inset Text
14441
14442 \begin_layout Standard
14443 sd
14444 \end_layout
14445
14446 \end_inset
14447 </cell>
14448 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14449 \begin_inset Text
14450
14451 \begin_layout Standard
14452
14453 \end_layout
14454
14455 \end_inset
14456 </cell>
14457 </row>
14458 <row topline="true" bottomline="true">
14459 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14460 \begin_inset Text
14461
14462 \begin_layout Standard
14463
14464 \end_layout
14465
14466 \end_inset
14467 </cell>
14468 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14469 \begin_inset Text
14470
14471 \begin_layout Standard
14472
14473 \end_layout
14474
14475 \end_inset
14476 </cell>
14477 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14478 \begin_inset Text
14479
14480 \begin_layout Standard
14481 sd
14482 \end_layout
14483
14484 \end_inset
14485 </cell>
14486 </row>
14487 </lyxtabular>
14488
14489 \end_inset
14490
14491
14492 \end_layout
14493
14494 \end_inset
14495
14496
14497 \end_layout
14498
14499 \begin_layout Standard
14500 \begin_inset ERT
14501 status collapsed
14502
14503 \begin_layout Standard
14504
14505
14506 \backslash
14507 pagebreak 
14508 \end_layout
14509
14510 \end_inset
14511
14512
14513 \end_layout
14514
14515 \begin_layout Standard
14516 To return to the default line color black, insert this command in ERT behind
14517  the table or table float:
14518 \end_layout
14519
14520 \begin_layout Standard
14521
14522 \series bold
14523
14524 \backslash
14525 renewcommand{
14526 \backslash
14527 hline}{
14528 \backslash
14529 myHlineC}
14530 \end_layout
14531
14532 \begin_layout Standard
14533 Table\InsetSpace ~
14534
14535 \begin_inset LatexCommand ref
14536 reference "tab:Table-with-colored"
14537
14538 \end_inset
14539
14540  is an example with colored vertical and horizontal lines.
14541 \end_layout
14542
14543 \begin_layout Standard
14544 \begin_inset Float table
14545 placement h
14546 wide false
14547 sideways false
14548 status open
14549
14550 \begin_layout Standard
14551 \begin_inset Caption
14552
14553 \begin_layout Standard
14554 \begin_inset LatexCommand label
14555 name "tab:Table-with-colored"
14556
14557 \end_inset
14558
14559 Table with colored lines
14560 \end_layout
14561
14562 \end_inset
14563
14564
14565 \end_layout
14566
14567 \begin_layout Standard
14568 \align center
14569 \begin_inset Tabular
14570 <lyxtabular version="3" rows="3" columns="3">
14571 <features>
14572 <column alignment="center" valignment="top" width="0" special="Wc">
14573 <column alignment="center" valignment="top" width="0" special="Wc">
14574 <column alignment="center" valignment="top" width="0" special="WcW">
14575 <row topline="true">
14576 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14577 \begin_inset Text
14578
14579 \begin_layout Standard
14580 sd
14581 \end_layout
14582
14583 \end_inset
14584 </cell>
14585 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14586 \begin_inset Text
14587
14588 \begin_layout Standard
14589
14590 \end_layout
14591
14592 \end_inset
14593 </cell>
14594 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14595 \begin_inset Text
14596
14597 \begin_layout Standard
14598
14599 \end_layout
14600
14601 \end_inset
14602 </cell>
14603 </row>
14604 <row topline="true">
14605 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14606 \begin_inset Text
14607
14608 \begin_layout Standard
14609
14610 \end_layout
14611
14612 \end_inset
14613 </cell>
14614 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14615 \begin_inset Text
14616
14617 \begin_layout Standard
14618 sd
14619 \end_layout
14620
14621 \end_inset
14622 </cell>
14623 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14624 \begin_inset Text
14625
14626 \begin_layout Standard
14627
14628 \end_layout
14629
14630 \end_inset
14631 </cell>
14632 </row>
14633 <row topline="true" bottomline="true" topspace="default">
14634 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14635 \begin_inset Text
14636
14637 \begin_layout Standard
14638
14639 \end_layout
14640
14641 \end_inset
14642 </cell>
14643 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14644 \begin_inset Text
14645
14646 \begin_layout Standard
14647
14648 \end_layout
14649
14650 \end_inset
14651 </cell>
14652 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14653 \begin_inset Text
14654
14655 \begin_layout Standard
14656 sd
14657 \end_layout
14658
14659 \end_inset
14660 </cell>
14661 </row>
14662 </lyxtabular>
14663
14664 \end_inset
14665
14666
14667 \end_layout
14668
14669 \end_inset
14670
14671
14672 \end_layout
14673
14674 \begin_layout Standard
14675 \begin_inset ERT
14676 status collapsed
14677
14678 \begin_layout Standard
14679
14680
14681 \backslash
14682 renewcommand{
14683 \backslash
14684 hline}{
14685 \backslash
14686 myHlineC}
14687 \end_layout
14688
14689 \end_inset
14690
14691
14692 \end_layout
14693
14694 \begin_layout Standard
14695 \begin_inset ERT
14696 status collapsed
14697
14698 \begin_layout Standard
14699
14700
14701 \backslash
14702 setlength{
14703 \backslash
14704 arrayrulewidth}{0.4pt}
14705 \end_layout
14706
14707 \end_inset
14708
14709
14710 \end_layout
14711
14712 \begin_layout Section
14713 Table Customization
14714 \begin_inset LatexCommand index
14715 name "Table Customization"
14716
14717 \end_inset
14718
14719
14720 \begin_inset LatexCommand index
14721 name "Table ! Customization"
14722
14723 \end_inset
14724
14725
14726 \end_layout
14727
14728 \begin_layout Subsection
14729 Row Spacing
14730 \begin_inset LatexCommand label
14731 name "sub:Row-Spacing"
14732
14733 \end_inset
14734
14735
14736 \begin_inset LatexCommand index
14737 name "Table Customization ! Row Spacing"
14738
14739 \end_inset
14740
14741
14742 \end_layout
14743
14744 \begin_layout Standard
14745 You can add vertical space to table rows in the 
14746 \family sans
14747 Borders
14748 \family default
14749  tab of the table dialog.
14750  You find there three possibilities:
14751 \end_layout
14752
14753 \begin_layout Description
14754 Top\InsetSpace ~
14755 of\InsetSpace ~
14756 row will add space above the characters of the table row.
14757  If the table is a formal table
14758 \begin_inset Foot
14759 status collapsed
14760
14761 \begin_layout Standard
14762 Formal tables are explained in section\InsetSpace ~
14763
14764 \begin_inset LatexCommand ref
14765 reference "sec:Formal-Tables"
14766
14767 \end_inset
14768
14769 .
14770 \end_layout
14771
14772 \end_inset
14773
14774  LyX will insert as default 0.5\InsetSpace \thinspace{}
14775 em space.
14776  For normal tables the inserted space will unfortunately destroy the vertical
14777  table lines as in the following table:
14778 \begin_inset VSpace medskip
14779 \end_inset
14780
14781
14782 \newline
14783
14784 \begin_inset ERT
14785 status collapsed
14786
14787 \begin_layout Standard
14788
14789
14790 \backslash
14791 hspace*{0pt}
14792 \end_layout
14793
14794 \end_inset
14795
14796
14797 \hfill
14798
14799 \begin_inset Tabular
14800 <lyxtabular version="3" rows="3" columns="1">
14801 <features>
14802 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14803 <row topline="true">
14804 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14805 \begin_inset Text
14806
14807 \begin_layout Standard
14808 A
14809 \end_layout
14810
14811 \end_inset
14812 </cell>
14813 </row>
14814 <row topline="true" topspace="3mm">
14815 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14816 \begin_inset Text
14817
14818 \begin_layout Standard
14819 3\InsetSpace \thinspace{}
14820 mm space top of row
14821 \end_layout
14822
14823 \end_inset
14824 </cell>
14825 </row>
14826 <row topline="true" bottomline="true">
14827 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14828 \begin_inset Text
14829
14830 \begin_layout Standard
14831 C
14832 \end_layout
14833
14834 \end_inset
14835 </cell>
14836 </row>
14837 </lyxtabular>
14838
14839 \end_inset
14840
14841
14842 \hfill
14843
14844 \begin_inset ERT
14845 status collapsed
14846
14847 \begin_layout Standard
14848
14849
14850 \backslash
14851 hspace*{0pt}
14852 \end_layout
14853
14854 \end_inset
14855
14856
14857 \begin_inset VSpace medskip
14858 \end_inset
14859
14860
14861 \newline
14862 So inserting space to the top of row for normal tables is only useful when
14863  you don't have vertical lines.
14864 \end_layout
14865
14866 \begin_layout Description
14867 Bottom\InsetSpace ~
14868 of\InsetSpace ~
14869 row will add space below the characters of the table row.
14870  If the table is a formal table LyX will insert as default 0.5\InsetSpace \thinspace{}
14871 em space, for
14872  normal tables the default size is 2\InsetSpace \thinspace{}
14873 pt.
14874 \end_layout
14875
14876 \begin_layout Description
14877 Between\InsetSpace ~
14878 rows adds space between the current and the following row.
14879  If the table is a formal table LyX will insert as default 0.5\InsetSpace \thinspace{}
14880 em space.
14881  For normal tables the inserted space will unfortunately destroy the vertical
14882  table lines as in the following table:
14883 \begin_inset VSpace medskip
14884 \end_inset
14885
14886
14887 \newline
14888
14889 \begin_inset ERT
14890 status collapsed
14891
14892 \begin_layout Standard
14893
14894
14895 \backslash
14896 hspace*{0pt}
14897 \end_layout
14898
14899 \end_inset
14900
14901
14902 \hfill
14903
14904 \begin_inset Tabular
14905 <lyxtabular version="3" rows="3" columns="1">
14906 <features>
14907 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14908 <row topline="true">
14909 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14910 \begin_inset Text
14911
14912 \begin_layout Standard
14913 A
14914 \end_layout
14915
14916 \end_inset
14917 </cell>
14918 </row>
14919 <row topline="true" interlinespace="3mm">
14920 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14921 \begin_inset Text
14922
14923 \begin_layout Standard
14924 \begin_inset Formula $\downarrow$
14925 \end_inset
14926
14927  3\InsetSpace \thinspace{}
14928 mm space between row 
14929 \begin_inset Formula $\downarrow$
14930 \end_inset
14931
14932
14933 \end_layout
14934
14935 \end_inset
14936 </cell>
14937 </row>
14938 <row topline="true" bottomline="true">
14939 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14940 \begin_inset Text
14941
14942 \begin_layout Standard
14943 \begin_inset Formula $\uparrow$
14944 \end_inset
14945
14946  3\InsetSpace \thinspace{}
14947 mm space between row 
14948 \begin_inset Formula $\uparrow$
14949 \end_inset
14950
14951
14952 \end_layout
14953
14954 \end_inset
14955 </cell>
14956 </row>
14957 </lyxtabular>
14958
14959 \end_inset
14960
14961
14962 \hfill
14963
14964 \begin_inset ERT
14965 status collapsed
14966
14967 \begin_layout Standard
14968
14969
14970 \backslash
14971 hspace*{0pt}
14972 \end_layout
14973
14974 \end_inset
14975
14976
14977 \begin_inset VSpace medskip
14978 \end_inset
14979
14980
14981 \newline
14982 So inserting space between rows for normal tables is only useful when you
14983  don't have vertical lines.
14984 \end_layout
14985
14986 \begin_layout Standard
14987 \begin_inset VSpace bigskip
14988 \end_inset
14989
14990 When you want to add extra height to all cells of all tables, you can do
14991  this with the following preamble lines:
14992 \end_layout
14993
14994 \begin_layout Standard
14995
14996 \series bold
14997
14998 \backslash
14999 @ifundef\SpecialChar \textcompwordmark{}
15000 ined{extrarowheight}
15001 \newline
15002
15003 \begin_inset ERT
15004 status collapsed
15005
15006 \begin_layout Standard
15007
15008
15009 \backslash
15010 hphantom{ }
15011 \end_layout
15012
15013 \end_inset
15014
15015 {
15016 \backslash
15017 usepackage{array}}{}
15018 \newline
15019
15020 \backslash
15021 setlength{
15022 \backslash
15023 extrarowheight}{height}
15024 \end_layout
15025
15026 \begin_layout Standard
15027 But this has the disadvantage that the cell texts are no longer exactly
15028  vertically centered.
15029  (The package 
15030 \series bold
15031 array
15032 \series default
15033  will be loaded automatically by LyX when you use self defined table formats.
15034  To avoid that it is loaded twice the command 
15035 \series bold
15036
15037 \backslash
15038 @ifundef\SpecialChar \textcompwordmark{}
15039 ined
15040 \series default
15041  is used in the above command.)
15042 \end_layout
15043
15044 \begin_layout Subsection
15045 Special Cell Alignment
15046 \begin_inset LatexCommand index
15047 name "Table Customization ! Special Cell Alignment"
15048
15049 \end_inset
15050
15051
15052 \end_layout
15053
15054 \begin_layout Standard
15055 Sometimes it looks better when the cell entries of a column are aligned
15056  with a special character, e.\InsetSpace \thinspace{}
15057 g.\InsetSpace ~
15058 with the decimal separator as in Table\InsetSpace ~
15059
15060 \begin_inset LatexCommand ref
15061 reference "tab:Table-cells-of"
15062
15063 \end_inset
15064
15065 .
15066 \end_layout
15067
15068 \begin_layout Standard
15069 \begin_inset Float table
15070 placement h
15071 wide false
15072 sideways false
15073 status open
15074
15075 \begin_layout Standard
15076 \begin_inset Caption
15077
15078 \begin_layout Standard
15079 \begin_inset LatexCommand label
15080 name "tab:Table-cells-of"
15081
15082 \end_inset
15083
15084 Table cells of a column aligned with the decimal separator.
15085 \end_layout
15086
15087 \end_inset
15088
15089
15090 \end_layout
15091
15092 \begin_layout Standard
15093 \align center
15094 \begin_inset Tabular
15095 <lyxtabular version="3" rows="4" columns="2">
15096 <features>
15097 <column alignment="right" valignment="top" width="0">
15098 <column alignment="left" valignment="top" width="0" special="@{}l">
15099 <row bottomline="true">
15100 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15101 \begin_inset Text
15102
15103 \begin_layout Standard
15104 heading
15105 \end_layout
15106
15107 \end_inset
15108 </cell>
15109 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15110 \begin_inset Text
15111
15112 \begin_layout Standard
15113
15114 \end_layout
15115
15116 \end_inset
15117 </cell>
15118 </row>
15119 <row>
15120 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15121 \begin_inset Text
15122
15123 \begin_layout Standard
15124 12.
15125 \end_layout
15126
15127 \end_inset
15128 </cell>
15129 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15130 \begin_inset Text
15131
15132 \begin_layout Standard
15133 6
15134 \end_layout
15135
15136 \end_inset
15137 </cell>
15138 </row>
15139 <row>
15140 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15141 \begin_inset Text
15142
15143 \begin_layout Standard
15144 0.
15145 \end_layout
15146
15147 \end_inset
15148 </cell>
15149 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15150 \begin_inset Text
15151
15152 \begin_layout Standard
15153 68
15154 \end_layout
15155
15156 \end_inset
15157 </cell>
15158 </row>
15159 <row>
15160 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15161 \begin_inset Text
15162
15163 \begin_layout Standard
15164 -123.
15165 \end_layout
15166
15167 \end_inset
15168 </cell>
15169 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15170 \begin_inset Text
15171
15172 \begin_layout Standard
15173 0
15174 \end_layout
15175
15176 \end_inset
15177 </cell>
15178 </row>
15179 </lyxtabular>
15180
15181 \end_inset
15182
15183
15184 \end_layout
15185
15186 \end_inset
15187
15188
15189 \end_layout
15190
15191 \begin_layout Standard
15192 This table was created with a 4×2 table.
15193  The heading is a centered multicolumn.
15194  The first column is right-aligned and contains the digits before the decimal
15195  point and the decimal point.
15196  The second column is left aligned and contains the digits after the decimal
15197  point.
15198  To omit the space that is normally between two table columns, use the following
15199  LaTeX-argument for the second column:
15200 \end_layout
15201
15202 \begin_layout Standard
15203
15204 \series bold
15205 @{}l
15206 \end_layout
15207
15208 \begin_layout Standard
15209 Table\InsetSpace ~
15210
15211 \begin_inset LatexCommand ref
15212 reference "tab:Several-table-cell"
15213
15214 \end_inset
15215
15216  shows some example alignments.
15217  For the alignment with the relation sign, you must add the second smallest
15218  math-space at the beginning of the last column to get the correct space
15219  surrounding the relation sign.
15220 \end_layout
15221
15222 \begin_layout Standard
15223 \begin_inset Float table
15224 wide false
15225 sideways false
15226 status open
15227
15228 \begin_layout Standard
15229 \begin_inset Caption
15230
15231 \begin_layout Standard
15232 \begin_inset LatexCommand label
15233 name "tab:Several-table-cell"
15234
15235 \end_inset
15236
15237 Several table cell alignments.
15238 \end_layout
15239
15240 \end_inset
15241
15242
15243 \end_layout
15244
15245 \begin_layout Standard
15246 \align center
15247 \begin_inset Tabular
15248 <lyxtabular version="3" rows="4" columns="6">
15249 <features>
15250 <column alignment="right" valignment="top" width="0">
15251 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l">
15252 <column alignment="right" valignment="top" width="0">
15253 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l">
15254 <column alignment="right" valignment="top" width="0">
15255 <column alignment="left" valignment="top" width="0" special="@{}l">
15256 <row bottomline="true">
15257 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15258 \begin_inset Text
15259
15260 \begin_layout Standard
15261 units
15262 \end_layout
15263
15264 \end_inset
15265 </cell>
15266 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15267 \begin_inset Text
15268
15269 \begin_layout Standard
15270
15271 \end_layout
15272
15273 \end_inset
15274 </cell>
15275 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15276 \begin_inset Text
15277
15278 \begin_layout Standard
15279 exponents
15280 \end_layout
15281
15282 \end_inset
15283 </cell>
15284 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15285 \begin_inset Text
15286
15287 \begin_layout Standard
15288
15289 \end_layout
15290
15291 \end_inset
15292 </cell>
15293 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15294 \begin_inset Text
15295
15296 \begin_layout Standard
15297 relations
15298 \end_layout
15299
15300 \end_inset
15301 </cell>
15302 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15303 \begin_inset Text
15304
15305 \begin_layout Standard
15306
15307 \end_layout
15308
15309 \end_inset
15310 </cell>
15311 </row>
15312 <row>
15313 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15314 \begin_inset Text
15315
15316 \begin_layout Standard
15317 12×
15318 \end_layout
15319
15320 \end_inset
15321 </cell>
15322 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15323 \begin_inset Text
15324
15325 \begin_layout Standard
15326 24\InsetSpace \thinspace{}
15327 bottles
15328 \end_layout
15329
15330 \end_inset
15331 </cell>
15332 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15333 \begin_inset Text
15334
15335 \begin_layout Standard
15336 \begin_inset Formula $10\cdot$
15337 \end_inset
15338
15339
15340 \end_layout
15341
15342 \end_inset
15343 </cell>
15344 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15345 \begin_inset Text
15346
15347 \begin_layout Standard
15348 \begin_inset Formula $10^{\mbox{-}17}$
15349 \end_inset
15350
15351
15352 \end_layout
15353
15354 \end_inset
15355 </cell>
15356 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15357 \begin_inset Text
15358
15359 \begin_layout Standard
15360 \begin_inset Formula $\Gamma(t)\propto$
15361 \end_inset
15362
15363
15364 \end_layout
15365
15366 \end_inset
15367 </cell>
15368 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15369 \begin_inset Text
15370
15371 \begin_layout Standard
15372 \begin_inset Formula $\:\Upsilon(t)$
15373 \end_inset
15374
15375
15376 \end_layout
15377
15378 \end_inset
15379 </cell>
15380 </row>
15381 <row>
15382 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15383 \begin_inset Text
15384
15385 \begin_layout Standard
15386 1024×
15387 \end_layout
15388
15389 \end_inset
15390 </cell>
15391 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15392 \begin_inset Text
15393
15394 \begin_layout Standard
15395 768\InsetSpace \thinspace{}
15396 Pixels
15397 \end_layout
15398
15399 \end_inset
15400 </cell>
15401 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15402 \begin_inset Text
15403
15404 \begin_layout Standard
15405 \begin_inset Formula $5.78\cdot$
15406 \end_inset
15407
15408
15409 \end_layout
15410
15411 \end_inset
15412 </cell>
15413 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15414 \begin_inset Text
15415
15416 \begin_layout Standard
15417 \begin_inset Formula $10^{7}$
15418 \end_inset
15419
15420
15421 \end_layout
15422
15423 \end_inset
15424 </cell>
15425 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15426 \begin_inset Text
15427
15428 \begin_layout Standard
15429 \begin_inset Formula $A\ne$
15430 \end_inset
15431
15432
15433 \end_layout
15434
15435 \end_inset
15436 </cell>
15437 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15438 \begin_inset Text
15439
15440 \begin_layout Standard
15441 \begin_inset Formula $\: B_{\mathrm{red}}$
15442 \end_inset
15443
15444
15445 \end_layout
15446
15447 \end_inset
15448 </cell>
15449 </row>
15450 <row>
15451 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15452 \begin_inset Text
15453
15454 \begin_layout Standard
15455 32×
15456 \end_layout
15457
15458 \end_inset
15459 </cell>
15460 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15461 \begin_inset Text
15462
15463 \begin_layout Standard
15464 6\InsetSpace \thinspace{}
15465 cm
15466 \end_layout
15467
15468 \end_inset
15469 </cell>
15470 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15471 \begin_inset Text
15472
15473 \begin_layout Standard
15474 -
15475 \begin_inset Formula $33.5\cdot$
15476 \end_inset
15477
15478
15479 \end_layout
15480
15481 \end_inset
15482 </cell>
15483 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15484 \begin_inset Text
15485
15486 \begin_layout Standard
15487 \begin_inset Formula $10^{4}$
15488 \end_inset
15489
15490
15491 \end_layout
15492
15493 \end_inset
15494 </cell>
15495 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15496 \begin_inset Text
15497
15498 \begin_layout Standard
15499 \begin_inset Formula $\sin(\alpha)\ge$
15500 \end_inset
15501
15502
15503 \end_layout
15504
15505 \end_inset
15506 </cell>
15507 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15508 \begin_inset Text
15509
15510 \begin_layout Standard
15511 \begin_inset Formula $\:\sin(\beta)$
15512 \end_inset
15513
15514
15515 \end_layout
15516
15517 \end_inset
15518 </cell>
15519 </row>
15520 </lyxtabular>
15521
15522 \end_inset
15523
15524
15525 \end_layout
15526
15527 \end_inset
15528
15529
15530 \end_layout
15531
15532 \begin_layout Standard
15533 \begin_inset VSpace bigskip
15534 \end_inset
15535
15536 There is also the LaTeX-package 
15537 \series bold
15538 dcolumn
15539 \series default
15540
15541 \begin_inset LatexCommand index
15542 name "LaTeX-packages ! dcolumn"
15543
15544 \end_inset
15545
15546  that provides table cell alignments.
15547  But this unfortunately treats the cell entries as math and doesn't allow
15548  formulas in table cells: The first column of Table\InsetSpace ~
15549
15550 \begin_inset LatexCommand ref
15551 reference "tab:Several-table-cell"
15552
15553 \end_inset
15554
15555  will look with 
15556 \series bold
15557 dcolumn
15558 \series default
15559  like the first column in Table\InsetSpace ~
15560
15561 \begin_inset LatexCommand ref
15562 reference "tab:Alignments-when"
15563
15564 \end_inset
15565
15566  and only with some tricks like the expected.
15567  The alignment of the second and third column of Table\InsetSpace ~
15568
15569 \begin_inset LatexCommand ref
15570 reference "tab:Several-table-cell"
15571
15572 \end_inset
15573
15574  is not possible with 
15575 \series bold
15576 dcolumn
15577 \series default
15578 .
15579 \end_layout
15580
15581 \begin_layout Standard
15582 \begin_inset Float table
15583 placement h
15584 wide false
15585 sideways false
15586 status open
15587
15588 \begin_layout Standard
15589 \begin_inset Caption
15590
15591 \begin_layout Standard
15592 \begin_inset LatexCommand label
15593 name "tab:Alignments-when"
15594
15595 \end_inset
15596
15597 Alignments when LaTeX-package dcolumn is used.
15598  For all column alignments tricks have to be used to get the output.
15599 \end_layout
15600
15601 \end_inset
15602
15603
15604 \end_layout
15605
15606 \begin_layout Standard
15607 \align center
15608 \begin_inset Tabular
15609 <lyxtabular version="3" rows="4" columns="3">
15610 <features>
15611 <column alignment="center" valignment="top" rightline="true" width="0" special="D{x}{\times}{-1}">
15612 <column alignment="center" valignment="top" rightline="true" width="0" special="D{x}{\times}{4.9}">
15613 <column alignment="center" valignment="top" width="0" special="D{~}{\,}{9.7}">
15614 <row bottomline="true">
15615 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15616 \begin_inset Text
15617
15618 \begin_layout Standard
15619 units
15620 \end_layout
15621
15622 \end_inset
15623 </cell>
15624 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15625 \begin_inset Text
15626
15627 \begin_layout Standard
15628 units
15629 \end_layout
15630
15631 \end_inset
15632 </cell>
15633 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15634 \begin_inset Text
15635
15636 \begin_layout Standard
15637 units
15638 \end_layout
15639
15640 \end_inset
15641 </cell>
15642 </row>
15643 <row>
15644 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15645 \begin_inset Text
15646
15647 \begin_layout Standard
15648 12x24\InsetSpace \thinspace{}
15649 bottles
15650 \end_layout
15651
15652 \end_inset
15653 </cell>
15654 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15655 \begin_inset Text
15656
15657 \begin_layout Standard
15658 12x24\InsetSpace \thinspace{}
15659
15660 \begin_inset Formula $\mbox{bottles}$
15661 \end_inset
15662
15663
15664 \end_layout
15665
15666 \end_inset
15667 </cell>
15668 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15669 \begin_inset Text
15670
15671 \begin_layout Standard
15672 12
15673 \begin_inset ERT
15674 status collapsed
15675
15676 \begin_layout Standard
15677
15678
15679 \backslash
15680 times 
15681 \end_layout
15682
15683 \end_inset
15684
15685 24~
15686 \begin_inset Formula $\mbox{bottles}$
15687 \end_inset
15688
15689
15690 \end_layout
15691
15692 \end_inset
15693 </cell>
15694 </row>
15695 <row>
15696 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15697 \begin_inset Text
15698
15699 \begin_layout Standard
15700 1024x768\InsetSpace \thinspace{}
15701 Pixels
15702 \end_layout
15703
15704 \end_inset
15705 </cell>
15706 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15707 \begin_inset Text
15708
15709 \begin_layout Standard
15710 1024x768\InsetSpace \thinspace{}
15711
15712 \begin_inset Formula $\mbox{Pixels}$
15713 \end_inset
15714
15715
15716 \end_layout
15717
15718 \end_inset
15719 </cell>
15720 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15721 \begin_inset Text
15722
15723 \begin_layout Standard
15724 1024
15725 \begin_inset ERT
15726 status collapsed
15727
15728 \begin_layout Standard
15729
15730
15731 \backslash
15732 times 
15733 \end_layout
15734
15735 \end_inset
15736
15737 768~
15738 \begin_inset Formula $\mbox{Pixels}$
15739 \end_inset
15740
15741
15742 \end_layout
15743
15744 \end_inset
15745 </cell>
15746 </row>
15747 <row>
15748 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15749 \begin_inset Text
15750
15751 \begin_layout Standard
15752 32x6\InsetSpace \thinspace{}
15753 cm
15754 \end_layout
15755
15756 \end_inset
15757 </cell>
15758 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15759 \begin_inset Text
15760
15761 \begin_layout Standard
15762 32x6\InsetSpace \thinspace{}
15763
15764 \begin_inset Formula $\mbox{cm}$
15765 \end_inset
15766
15767
15768 \end_layout
15769
15770 \end_inset
15771 </cell>
15772 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15773 \begin_inset Text
15774
15775 \begin_layout Standard
15776 32
15777 \begin_inset ERT
15778 status collapsed
15779
15780 \begin_layout Standard
15781
15782
15783 \backslash
15784 times 
15785 \end_layout
15786
15787 \end_inset
15788
15789 6~
15790 \begin_inset Formula $\mbox{cm}$
15791 \end_inset
15792
15793
15794 \end_layout
15795
15796 \end_inset
15797 </cell>
15798 </row>
15799 </lyxtabular>
15800
15801 \end_inset
15802
15803
15804 \end_layout
15805
15806 \end_inset
15807
15808
15809 \end_layout
15810
15811 \begin_layout Subsection
15812 Customized Cell/Column Format
15813 \begin_inset LatexCommand label
15814 name "sub:Customized-Format"
15815
15816 \end_inset
15817
15818
15819 \begin_inset LatexCommand index
15820 name "Table Customization ! Cell/Column Format"
15821
15822 \end_inset
15823
15824
15825 \end_layout
15826
15827 \begin_layout Standard
15828 Calculating the needed width for spanned columns like in section\InsetSpace ~
15829
15830 \begin_inset LatexCommand ref
15831 reference "sub:Multicolumn-Calculations"
15832
15833 \end_inset
15834
15835  is very annoying if you have several tables with multicolumn cells.
15836  To make life easier, you can define a cell/column format in the preamble,
15837  so that it can be used in all tables of the document.
15838  The format is defined with the command
15839 \end_layout
15840
15841 \begin_layout Standard
15842
15843 \series bold
15844
15845 \backslash
15846 newcolumntype{name of format}[number of arguments]{commands}
15847 \end_layout
15848
15849 \begin_layout Standard
15850 The format name may only consist of one letter.
15851  The letters 
15852 \emph on
15853 b
15854 \emph default
15855
15856 \emph on
15857 c
15858 \emph default
15859
15860 \emph on
15861 l
15862 \emph default
15863
15864 \emph on
15865 m
15866 \emph default
15867
15868 \emph on
15869 p
15870 \emph default
15871  and 
15872 \emph on
15873 r
15874 \emph default
15875  are predefined and cannot be used.
15876  But all letters are allowed as capitals.
15877 \end_layout
15878
15879 \begin_layout Standard
15880 \begin_inset VSpace medskip
15881 \end_inset
15882
15883
15884 \end_layout
15885
15886 \begin_layout Standard
15887 For vertically and horizontally centered multicolumn cells with a fixed
15888  width you can define the cell format
15889 \end_layout
15890
15891 \begin_layout Standard
15892
15893 \series bold
15894
15895 \backslash
15896 newcolumntype{M}[1]{>{
15897 \backslash
15898 centering
15899 \backslash
15900 hspace{0pt}}m{#1}}
15901 \end_layout
15902
15903 \begin_layout Standard
15904 where 
15905 \series bold
15906
15907 \backslash
15908 hspace{0pt}
15909 \series default
15910  avoids the problem of hyphenating the first word, as described in section\InsetSpace ~
15911
15912 \begin_inset LatexCommand ref
15913 reference "sub:Multiple-Lines-in"
15914
15915 \end_inset
15916
15917 .
15918  Now you can simply enter
15919 \end_layout
15920
15921 \begin_layout Standard
15922
15923 \series bold
15924 M{width}
15925 \end_layout
15926
15927 \begin_layout Standard
15928 as LaTeX-argument in the table dialog to create a multicolumn.
15929 \end_layout
15930
15931 \begin_layout Standard
15932 \begin_inset VSpace bigskip
15933 \end_inset
15934
15935
15936 \end_layout
15937
15938 \begin_layout Standard
15939 For cells spanned by a multicolumn cell, you can define the format
15940 \end_layout
15941
15942 \begin_layout Standard
15943
15944 \series bold
15945
15946 \backslash
15947 newcolumntype{S}[2]{>{
15948 \backslash
15949 centering
15950 \backslash
15951 hspace{0pt}}
15952 \newline
15953
15954 \begin_inset ERT
15955 status collapsed
15956
15957 \begin_layout Standard
15958
15959
15960 \backslash
15961 phantom{
15962 \end_layout
15963
15964 \end_inset
15965
15966
15967 \backslash
15968 newcolumntype{S}[2]
15969 \begin_inset ERT
15970 status collapsed
15971
15972 \begin_layout Standard
15973
15974 }
15975 \end_layout
15976
15977 \end_inset
15978
15979 m{(#1+(2
15980 \backslash
15981 tabcolsep+
15982 \backslash
15983 arrayrulewidth)*(1-#2))/#2}}
15984 \end_layout
15985
15986 \begin_layout Standard
15987 This format uses equation 
15988 \begin_inset LatexCommand eqref
15989 reference "eq:Wgn"
15990
15991 \end_inset
15992
15993  to calculate the needed width so that each spanned cell has the same width.
15994 \end_layout
15995
15996 \begin_layout Standard
15997 You can now enter
15998 \end_layout
15999
16000 \begin_layout Standard
16001
16002 \series bold
16003 S{width of multicolumn cell}{number of spanned columns}
16004 \end_layout
16005
16006 \begin_layout Standard
16007 as LaTeX-argument of the column.
16008 \end_layout
16009
16010 \begin_layout Standard
16011 \begin_inset VSpace bigskip
16012 \end_inset
16013
16014
16015 \end_layout
16016
16017 \begin_layout Standard
16018 For colored columns, you can define
16019 \end_layout
16020
16021 \begin_layout Standard
16022
16023 \series bold
16024
16025 \backslash
16026 newcolumntype{K}[1]{>{
16027 \backslash
16028 columncolor{#1}
16029 \backslash
16030 hspace{0pt}}c}
16031 \end_layout
16032
16033 \begin_layout Standard
16034 The 
16035 \begin_inset Quotes eld
16036 \end_inset
16037
16038 c
16039 \begin_inset Quotes erd
16040 \end_inset
16041
16042  at the end creates a column with a flexible width whose text is horizontally
16043  centered.
16044  You can now enter
16045 \end_layout
16046
16047 \begin_layout Standard
16048
16049 \series bold
16050 K{color name}
16051 \end_layout
16052
16053 \begin_layout Standard
16054 as LaTeX-argument.
16055 \end_layout
16056
16057 \begin_layout Standard
16058 \begin_inset VSpace bigskip
16059 \end_inset
16060
16061
16062 \end_layout
16063
16064 \begin_layout Standard
16065 To create Table\InsetSpace ~
16066
16067 \begin_inset LatexCommand ref
16068 reference "tab:Table-using-user-defined"
16069
16070 \end_inset
16071
16072  use the LaTeX-arguments
16073 \end_layout
16074
16075 \begin_layout Standard
16076
16077 \series bold
16078 M{2.5cm}
16079 \end_layout
16080
16081 \begin_layout Standard
16082 for the first column and the multicolumn,
16083 \end_layout
16084
16085 \begin_layout Standard
16086
16087 \series bold
16088 K{red}
16089 \end_layout
16090
16091 \begin_layout Standard
16092 for the the last column, and
16093 \end_layout
16094
16095 \begin_layout Standard
16096
16097 \series bold
16098 S{2.5cm}{2}
16099 \end_layout
16100
16101 \begin_layout Standard
16102 for the cells in the second column.
16103 \end_layout
16104
16105 \begin_layout Standard
16106 \begin_inset Float table
16107 placement h
16108 wide false
16109 sideways false
16110 status open
16111
16112 \begin_layout Standard
16113 \begin_inset Caption
16114
16115 \begin_layout Standard
16116 \begin_inset LatexCommand label
16117 name "tab:Table-using-user-defined"
16118
16119 \end_inset
16120
16121 Table using user-defined table formats
16122 \end_layout
16123
16124 \end_inset
16125
16126
16127 \end_layout
16128
16129 \begin_layout Standard
16130 \align center
16131 \begin_inset Tabular
16132 <lyxtabular version="3" rows="3" columns="4">
16133 <features>
16134 <column alignment="center" valignment="middle" leftline="true" width="2.5cm" special="M{2.5cm}">
16135 <column alignment="center" valignment="middle" leftline="true" width="0" special="S{2.5cm}{2}">
16136 <column alignment="center" valignment="middle" leftline="true" width="0">
16137 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0" special="K{red}">
16138 <row topline="true">
16139 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16140 \begin_inset Text
16141
16142 \begin_layout Standard
16143 verylongtablecellword
16144 \end_layout
16145
16146 \end_inset
16147 </cell>
16148 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none" special="M{2.5cm}">
16149 \begin_inset Text
16150
16151 \begin_layout Standard
16152 multiple lines multicolumn
16153 \end_layout
16154
16155 \end_inset
16156 </cell>
16157 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16158 \begin_inset Text
16159
16160 \begin_layout Standard
16161
16162 \end_layout
16163
16164 \end_inset
16165 </cell>
16166 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16167 \begin_inset Text
16168
16169 \begin_layout Standard
16170 c
16171 \end_layout
16172
16173 \end_inset
16174 </cell>
16175 </row>
16176 <row topline="true">
16177 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16178 \begin_inset Text
16179
16180 \begin_layout Standard
16181 d
16182 \end_layout
16183
16184 \end_inset
16185 </cell>
16186 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16187 \begin_inset Text
16188
16189 \begin_layout Standard
16190 e
16191 \end_layout
16192
16193 \end_inset
16194 </cell>
16195 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16196 \begin_inset Text
16197
16198 \begin_layout Standard
16199 f
16200 \end_layout
16201
16202 \end_inset
16203 </cell>
16204 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16205 \begin_inset Text
16206
16207 \begin_layout Standard
16208 g
16209 \end_layout
16210
16211 \end_inset
16212 </cell>
16213 </row>
16214 <row topline="true" bottomline="true">
16215 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16216 \begin_inset Text
16217
16218 \begin_layout Standard
16219 h
16220 \end_layout
16221
16222 \end_inset
16223 </cell>
16224 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16225 \begin_inset Text
16226
16227 \begin_layout Standard
16228 i
16229 \end_layout
16230
16231 \end_inset
16232 </cell>
16233 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16234 \begin_inset Text
16235
16236 \begin_layout Standard
16237 j
16238 \end_layout
16239
16240 \end_inset
16241 </cell>
16242 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16243 \begin_inset Text
16244
16245 \begin_layout Standard
16246 k
16247 \end_layout
16248
16249 \end_inset
16250 </cell>
16251 </row>
16252 </lyxtabular>
16253
16254 \end_inset
16255
16256
16257 \end_layout
16258
16259 \end_inset
16260
16261
16262 \end_layout
16263
16264 \begin_layout Subsection
16265 Line Thickness
16266 \begin_inset LatexCommand label
16267 name "sub:Line-Thickness"
16268
16269 \end_inset
16270
16271
16272 \begin_inset LatexCommand index
16273 name "Table Customization ! Line Thickness"
16274
16275 \end_inset
16276
16277
16278 \end_layout
16279
16280 \begin_layout Standard
16281 The line thickness for all lines in a table can be adjusted with the length
16282  
16283 \series bold
16284
16285 \backslash
16286 arrayrulewidth
16287 \series default
16288 .
16289  To set for example a line thickness of 1.5\InsetSpace \thinspace{}
16290 pt, like in Table\InsetSpace ~
16291
16292 \begin_inset LatexCommand ref
16293 reference "tab:Table-with-1.5"
16294
16295 \end_inset
16296
16297 , insert the command
16298 \end_layout
16299
16300 \begin_layout Standard
16301
16302 \series bold
16303
16304 \backslash
16305 setlength{
16306 \backslash
16307 arrayrulewidth}{1.5pt}
16308 \end_layout
16309
16310 \begin_layout Standard
16311 in ERT before the table or table float.
16312  The changed thickness is valid for all following tables.
16313  To use the default value again, set 
16314 \series bold
16315
16316 \backslash
16317 arrayrulewidth
16318 \series default
16319  to 0.4\InsetSpace \thinspace{}
16320 pt in ERT behind the table or table float.
16321 \end_layout
16322
16323 \begin_layout Standard
16324 \begin_inset ERT
16325 status collapsed
16326
16327 \begin_layout Standard
16328
16329
16330 \backslash
16331 setlength{
16332 \backslash
16333 arrayrulewidth}{1.5pt}
16334 \end_layout
16335
16336 \end_inset
16337
16338
16339 \begin_inset Float table
16340 wide false
16341 sideways false
16342 status open
16343
16344 \begin_layout Standard
16345 \begin_inset Caption
16346
16347 \begin_layout Standard
16348 \begin_inset LatexCommand label
16349 name "tab:Table-with-1.5"
16350
16351 \end_inset
16352
16353 Table with 1.5\InsetSpace \thinspace{}
16354 pt thick lines
16355 \end_layout
16356
16357 \end_inset
16358
16359
16360 \end_layout
16361
16362 \begin_layout Standard
16363 \align center
16364 \begin_inset Tabular
16365 <lyxtabular version="3" rows="3" columns="3">
16366 <features>
16367 <column alignment="center" valignment="top" leftline="true" width="0">
16368 <column alignment="center" valignment="top" leftline="true" width="0">
16369 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16370 <row topline="true">
16371 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16372 \begin_inset Text
16373
16374 \begin_layout Standard
16375 sd
16376 \end_layout
16377
16378 \end_inset
16379 </cell>
16380 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16381 \begin_inset Text
16382
16383 \begin_layout Standard
16384
16385 \end_layout
16386
16387 \end_inset
16388 </cell>
16389 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16390 \begin_inset Text
16391
16392 \begin_layout Standard
16393
16394 \end_layout
16395
16396 \end_inset
16397 </cell>
16398 </row>
16399 <row topline="true">
16400 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16401 \begin_inset Text
16402
16403 \begin_layout Standard
16404
16405 \end_layout
16406
16407 \end_inset
16408 </cell>
16409 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16410 \begin_inset Text
16411
16412 \begin_layout Standard
16413 sd
16414 \end_layout
16415
16416 \end_inset
16417 </cell>
16418 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16419 \begin_inset Text
16420
16421 \begin_layout Standard
16422
16423 \end_layout
16424
16425 \end_inset
16426 </cell>
16427 </row>
16428 <row topline="true" bottomline="true">
16429 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16430 \begin_inset Text
16431
16432 \begin_layout Standard
16433
16434 \end_layout
16435
16436 \end_inset
16437 </cell>
16438 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16439 \begin_inset Text
16440
16441 \begin_layout Standard
16442
16443 \end_layout
16444
16445 \end_inset
16446 </cell>
16447 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16448 \begin_inset Text
16449
16450 \begin_layout Standard
16451 sd
16452 \end_layout
16453
16454 \end_inset
16455 </cell>
16456 </row>
16457 </lyxtabular>
16458
16459 \end_inset
16460
16461
16462 \end_layout
16463
16464 \end_inset
16465
16466
16467 \begin_inset ERT
16468 status collapsed
16469
16470 \begin_layout Standard
16471
16472
16473 \backslash
16474 setlength{
16475 \backslash
16476 arrayrulewidth}{0.4pt}
16477 \end_layout
16478
16479 \end_inset
16480
16481
16482 \end_layout
16483
16484 \begin_layout Standard
16485 \begin_inset VSpace bigskip
16486 \end_inset
16487
16488 To set the line thickness to 1.5\InsetSpace \thinspace{}
16489 pt only for horizontal lines, like in Table\InsetSpace ~
16490
16491 \begin_inset LatexCommand ref
16492 reference "tab:Table-with-horizontal"
16493
16494 \end_inset
16495
16496 , insert these commands in ERT before the table or table float:
16497 \end_layout
16498
16499 \begin_layout Standard
16500
16501 \series bold
16502
16503 \backslash
16504 let
16505 \backslash
16506 myHline
16507 \backslash
16508 hline
16509 \newline
16510
16511 \backslash
16512 renewcommand{
16513 \backslash
16514 hline}
16515 \newline
16516  {
16517 \backslash
16518 noalign{
16519 \backslash
16520 global
16521 \backslash
16522 arrayrulewidth 1.5pt}
16523 \newline
16524  
16525 \backslash
16526 myHline
16527 \backslash
16528 noalign{
16529 \backslash
16530 global
16531 \backslash
16532 arrayrulewidth 0.4pt}}
16533 \end_layout
16534
16535 \begin_layout Standard
16536 To return to the default line thickness, insert this command in ERT behind
16537  the table or table float:
16538 \end_layout
16539
16540 \begin_layout Standard
16541
16542 \series bold
16543
16544 \backslash
16545 renewcommand{
16546 \backslash
16547 hline}{
16548 \backslash
16549 myHline}
16550 \end_layout
16551
16552 \begin_layout Standard
16553 \begin_inset ERT
16554 status collapsed
16555
16556 \begin_layout Standard
16557
16558
16559 \backslash
16560 let
16561 \backslash
16562 myHline
16563 \backslash
16564 hline
16565 \end_layout
16566
16567 \begin_layout Standard
16568
16569
16570 \backslash
16571 renewcommand{
16572 \backslash
16573 hline}
16574 \end_layout
16575
16576 \begin_layout Standard
16577
16578  {
16579 \backslash
16580 noalign{
16581 \backslash
16582 global
16583 \backslash
16584 arrayrulewidth 1.5pt}
16585 \end_layout
16586
16587 \begin_layout Standard
16588
16589   
16590 \backslash
16591 myHline
16592 \backslash
16593 noalign{
16594 \backslash
16595 global
16596 \backslash
16597 arrayrulewidth 0.4pt}}
16598 \end_layout
16599
16600 \end_inset
16601
16602
16603 \begin_inset Float table
16604 wide false
16605 sideways false
16606 status open
16607
16608 \begin_layout Standard
16609 \begin_inset Caption
16610
16611 \begin_layout Standard
16612 \begin_inset LatexCommand label
16613 name "tab:Table-with-horizontal"
16614
16615 \end_inset
16616
16617 Table with 1.5\InsetSpace \thinspace{}
16618 pt thick horizontal lines
16619 \end_layout
16620
16621 \end_inset
16622
16623
16624 \end_layout
16625
16626 \begin_layout Standard
16627 \align center
16628 \begin_inset Tabular
16629 <lyxtabular version="3" rows="3" columns="3">
16630 <features>
16631 <column alignment="center" valignment="top" leftline="true" width="0">
16632 <column alignment="center" valignment="top" leftline="true" width="0">
16633 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16634 <row topline="true">
16635 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16636 \begin_inset Text
16637
16638 \begin_layout Standard
16639 sd
16640 \end_layout
16641
16642 \end_inset
16643 </cell>
16644 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16645 \begin_inset Text
16646
16647 \begin_layout Standard
16648
16649 \end_layout
16650
16651 \end_inset
16652 </cell>
16653 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16654 \begin_inset Text
16655
16656 \begin_layout Standard
16657
16658 \end_layout
16659
16660 \end_inset
16661 </cell>
16662 </row>
16663 <row topline="true">
16664 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16665 \begin_inset Text
16666
16667 \begin_layout Standard
16668
16669 \end_layout
16670
16671 \end_inset
16672 </cell>
16673 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16674 \begin_inset Text
16675
16676 \begin_layout Standard
16677 sd
16678 \end_layout
16679
16680 \end_inset
16681 </cell>
16682 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16683 \begin_inset Text
16684
16685 \begin_layout Standard
16686
16687 \end_layout
16688
16689 \end_inset
16690 </cell>
16691 </row>
16692 <row topline="true" bottomline="true">
16693 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16694 \begin_inset Text
16695
16696 \begin_layout Standard
16697
16698 \end_layout
16699
16700 \end_inset
16701 </cell>
16702 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16703 \begin_inset Text
16704
16705 \begin_layout Standard
16706
16707 \end_layout
16708
16709 \end_inset
16710 </cell>
16711 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16712 \begin_inset Text
16713
16714 \begin_layout Standard
16715 sd
16716 \end_layout
16717
16718 \end_inset
16719 </cell>
16720 </row>
16721 </lyxtabular>
16722
16723 \end_inset
16724
16725
16726 \end_layout
16727
16728 \end_inset
16729
16730
16731 \begin_inset ERT
16732 status collapsed
16733
16734 \begin_layout Standard
16735
16736
16737 \backslash
16738 renewcommand{
16739 \backslash
16740 hline}{
16741 \backslash
16742 myHline}
16743 \end_layout
16744
16745 \end_inset
16746
16747
16748 \end_layout
16749
16750 \begin_layout Standard
16751 \begin_inset VSpace bigskip
16752 \end_inset
16753
16754 To set the line thickness to 1.5\InsetSpace \thinspace{}
16755 pt only for vertical lines, create the following
16756  column format in the document preamble, according to the description in
16757  section\InsetSpace ~
16758
16759 \begin_inset LatexCommand ref
16760 reference "sub:Customized-Format"
16761
16762 \end_inset
16763
16764 :
16765 \end_layout
16766
16767 \begin_layout Standard
16768
16769 \series bold
16770
16771 \backslash
16772 newcolumntype{V}{!{
16773 \backslash
16774 vrule width 1.5pt}}
16775 \end_layout
16776
16777 \begin_layout Standard
16778 For Table\InsetSpace ~
16779
16780 \begin_inset LatexCommand ref
16781 reference "tab:Table-with-vertical"
16782
16783 \end_inset
16784
16785  the LaTeX-argument
16786 \end_layout
16787
16788 \begin_layout Standard
16789
16790 \series bold
16791 VcV
16792 \end_layout
16793
16794 \begin_layout Standard
16795 was used for the last column and
16796 \end_layout
16797
16798 \begin_layout Standard
16799
16800 \series bold
16801 Vc
16802 \end_layout
16803
16804 \begin_layout Standard
16805 for the other columns.
16806 \end_layout
16807
16808 \begin_layout Standard
16809 \begin_inset Float table
16810 wide false
16811 sideways false
16812 status open
16813
16814 \begin_layout Standard
16815 \begin_inset Caption
16816
16817 \begin_layout Standard
16818 \begin_inset LatexCommand label
16819 name "tab:Table-with-vertical"
16820
16821 \end_inset
16822
16823 Table with 1.5\InsetSpace \thinspace{}
16824 pt thick vertical lines
16825 \end_layout
16826
16827 \end_inset
16828
16829
16830 \end_layout
16831
16832 \begin_layout Standard
16833 \align center
16834 \begin_inset Tabular
16835 <lyxtabular version="3" rows="3" columns="3">
16836 <features>
16837 <column alignment="center" valignment="top" width="0" special="Vc">
16838 <column alignment="center" valignment="top" width="0" special="Vc">
16839 <column alignment="center" valignment="top" width="0" special="VcV">
16840 <row topline="true">
16841 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16842 \begin_inset Text
16843
16844 \begin_layout Standard
16845 sd
16846 \end_layout
16847
16848 \end_inset
16849 </cell>
16850 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16851 \begin_inset Text
16852
16853 \begin_layout Standard
16854
16855 \end_layout
16856
16857 \end_inset
16858 </cell>
16859 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16860 \begin_inset Text
16861
16862 \begin_layout Standard
16863
16864 \end_layout
16865
16866 \end_inset
16867 </cell>
16868 </row>
16869 <row topline="true">
16870 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16871 \begin_inset Text
16872
16873 \begin_layout Standard
16874
16875 \end_layout
16876
16877 \end_inset
16878 </cell>
16879 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16880 \begin_inset Text
16881
16882 \begin_layout Standard
16883 sd
16884 \end_layout
16885
16886 \end_inset
16887 </cell>
16888 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16889 \begin_inset Text
16890
16891 \begin_layout Standard
16892
16893 \end_layout
16894
16895 \end_inset
16896 </cell>
16897 </row>
16898 <row topline="true" bottomline="true">
16899 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16900 \begin_inset Text
16901
16902 \begin_layout Standard
16903
16904 \end_layout
16905
16906 \end_inset
16907 </cell>
16908 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16909 \begin_inset Text
16910
16911 \begin_layout Standard
16912
16913 \end_layout
16914
16915 \end_inset
16916 </cell>
16917 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16918 \begin_inset Text
16919
16920 \begin_layout Standard
16921 sd
16922 \end_layout
16923
16924 \end_inset
16925 </cell>
16926 </row>
16927 </lyxtabular>
16928
16929 \end_inset
16930
16931
16932 \end_layout
16933
16934 \end_inset
16935
16936
16937 \end_layout
16938
16939 \begin_layout Subsection
16940 Dashed Lines
16941 \begin_inset LatexCommand index
16942 name "Table Customization ! Dashed Lines"
16943
16944 \end_inset
16945
16946
16947 \end_layout
16948
16949 \begin_layout Standard
16950 \begin_inset ERT
16951 status collapsed
16952
16953 \begin_layout Standard
16954
16955
16956 \backslash
16957 ifarydshln
16958 \end_layout
16959
16960 \end_inset
16961
16962
16963 \begin_inset Note Note
16964 status open
16965
16966 \begin_layout Standard
16967 The following section will only be displayed when you have the LaTeX-package
16968  
16969 \series bold
16970 arydshln
16971 \series default
16972  is installed.
16973 \end_layout
16974
16975 \end_inset
16976
16977
16978 \end_layout
16979
16980 \begin_layout Standard
16981 \begin_inset Float table
16982 placement H
16983 wide false
16984 sideways false
16985 status open
16986
16987 \begin_layout Standard
16988 \begin_inset Caption
16989
16990 \begin_layout Standard
16991 \begin_inset LatexCommand label
16992 name "tab:Table-with-dashed"
16993
16994 \end_inset
16995
16996 Table with dashed lines
16997 \end_layout
16998
16999 \end_inset
17000
17001
17002 \end_layout
17003
17004 \begin_layout Standard
17005 \align center
17006 \begin_inset Tabular
17007 <lyxtabular version="3" rows="5" columns="5">
17008 <features>
17009 <column alignment="center" valignment="top" leftline="true" width="0">
17010 <column alignment="center" valignment="top" leftline="true" width="0">
17011 <column alignment="center" valignment="top" width="0" special=":c">
17012 <column alignment="center" valignment="top" leftline="true" width="0">
17013 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
17014 <row topline="true" bottomline="true">
17015 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17016 \begin_inset Text
17017
17018 \begin_layout Standard
17019 a
17020 \end_layout
17021
17022 \end_inset
17023 </cell>
17024 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17025 \begin_inset Text
17026
17027 \begin_layout Standard
17028 b
17029 \end_layout
17030
17031 \end_inset
17032 </cell>
17033 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17034 \begin_inset Text
17035
17036 \begin_layout Standard
17037 c
17038 \end_layout
17039
17040 \end_inset
17041 </cell>
17042 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17043 \begin_inset Text
17044
17045 \begin_layout Standard
17046 d
17047 \end_layout
17048
17049 \end_inset
17050 </cell>
17051 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17052 \begin_inset Text
17053
17054 \begin_layout Standard
17055 e
17056 \end_layout
17057
17058 \end_inset
17059 </cell>
17060 </row>
17061 <row topline="true">
17062 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17063 \begin_inset Text
17064
17065 \begin_layout Standard
17066 f
17067 \end_layout
17068
17069 \end_inset
17070 </cell>
17071 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17072 \begin_inset Text
17073
17074 \begin_layout Standard
17075 g
17076 \end_layout
17077
17078 \end_inset
17079 </cell>
17080 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17081 \begin_inset Text
17082
17083 \begin_layout Standard
17084 h
17085 \end_layout
17086
17087 \end_inset
17088 </cell>
17089 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17090 \begin_inset Text
17091
17092 \begin_layout Standard
17093 i
17094 \end_layout
17095
17096 \end_inset
17097 </cell>
17098 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17099 \begin_inset Text
17100
17101 \begin_layout Standard
17102 j
17103 \end_layout
17104
17105 \end_inset
17106 </cell>
17107 </row>
17108 <row>
17109 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17110 \begin_inset Text
17111
17112 \begin_layout Standard
17113 \begin_inset ERT
17114 status collapsed
17115
17116 \begin_layout Standard
17117
17118
17119 \backslash
17120 hdashline 
17121 \end_layout
17122
17123 \end_inset
17124
17125 k
17126 \end_layout
17127
17128 \end_inset
17129 </cell>
17130 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17131 \begin_inset Text
17132
17133 \begin_layout Standard
17134 l
17135 \end_layout
17136
17137 \end_inset
17138 </cell>
17139 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17140 \begin_inset Text
17141
17142 \begin_layout Standard
17143 m
17144 \end_layout
17145
17146 \end_inset
17147 </cell>
17148 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17149 \begin_inset Text
17150
17151 \begin_layout Standard
17152 n
17153 \end_layout
17154
17155 \end_inset
17156 </cell>
17157 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17158 \begin_inset Text
17159
17160 \begin_layout Standard
17161 o
17162 \end_layout
17163
17164 \end_inset
17165 </cell>
17166 </row>
17167 <row topline="true">
17168 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17169 \begin_inset Text
17170
17171 \begin_layout Standard
17172 \begin_inset ERT
17173 status collapsed
17174
17175 \begin_layout Standard
17176
17177
17178 \backslash
17179 cdashline{4-5}
17180 \end_layout
17181
17182 \end_inset
17183
17184 p
17185 \end_layout
17186
17187 \end_inset
17188 </cell>
17189 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17190 \begin_inset Text
17191
17192 \begin_layout Standard
17193 q
17194 \end_layout
17195
17196 \end_inset
17197 </cell>
17198 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="c:">
17199 \begin_inset Text
17200
17201 \begin_layout Standard
17202 r
17203 \end_layout
17204
17205 \end_inset
17206 </cell>
17207 <cell multicolumn="1" alignment="center" valignment="top" rightline="true" usebox="none" special="c:">
17208 \begin_inset Text
17209
17210 \begin_layout Standard
17211 s
17212 \end_layout
17213
17214 \end_inset
17215 </cell>
17216 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17217 \begin_inset Text
17218
17219 \begin_layout Standard
17220
17221 \end_layout
17222
17223 \end_inset
17224 </cell>
17225 </row>
17226 <row topline="true" bottomline="true">
17227 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17228 \begin_inset Text
17229
17230 \begin_layout Standard
17231 t
17232 \end_layout
17233
17234 \end_inset
17235 </cell>
17236 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17237 \begin_inset Text
17238
17239 \begin_layout Standard
17240 u
17241 \end_layout
17242
17243 \end_inset
17244 </cell>
17245 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17246 \begin_inset Text
17247
17248 \begin_layout Standard
17249 v
17250 \end_layout
17251
17252 \end_inset
17253 </cell>
17254 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17255 \begin_inset Text
17256
17257 \begin_layout Standard
17258 w
17259 \end_layout
17260
17261 \end_inset
17262 </cell>
17263 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17264 \begin_inset Text
17265
17266 \begin_layout Standard
17267 x
17268 \end_layout
17269
17270 \end_inset
17271 </cell>
17272 </row>
17273 </lyxtabular>
17274
17275 \end_inset
17276
17277
17278 \end_layout
17279
17280 \end_inset
17281
17282
17283 \end_layout
17284
17285 \begin_layout Standard
17286 LyX doesn't natively support dashed lines, so you have to use ERT.
17287  As prerequisite the LaTeX-package 
17288 \series bold
17289 arydshln
17290 \series default
17291
17292 \begin_inset LatexCommand index
17293 name "LaTeX-packages ! arydshln"
17294
17295 \end_inset
17296
17297  must be loaded in the document preamble with the command
17298 \end_layout
17299
17300 \begin_layout Standard
17301
17302 \series bold
17303
17304 \backslash
17305 usepackage{arydshln}
17306 \end_layout
17307
17308 \begin_layout Standard
17309 To make a vertical line dashed, enter the colon 
17310 \begin_inset Quotes eld
17311 \end_inset
17312
17313 :
17314 \begin_inset Quotes erd
17315 \end_inset
17316
17317  together with the character for the horizontal alignment as LaTeX-argument
17318  in the table cell dialog.
17319 \end_layout
17320
17321 \begin_layout Standard
17322 For a horizontal dashed line add the command
17323 \end_layout
17324
17325 \begin_layout Standard
17326
17327 \series bold
17328
17329 \backslash
17330 hdashline
17331 \end_layout
17332
17333 \begin_layout Standard
17334 in ERT as first element of the first cell in the table row.
17335 \end_layout
17336
17337 \begin_layout Standard
17338 For dashed multicolumn lines use the command
17339 \end_layout
17340
17341 \begin_layout Standard
17342
17343 \series bold
17344
17345 \backslash
17346 cdashline{line number
17347 \series default
17348 }
17349 \end_layout
17350
17351 \begin_layout Standard
17352 in ERT as first element of the first cell in the table row.
17353  If you have for example a multicolumn spanning over columns 2 to 4 and
17354  you want to have a dashed line above, add the command
17355 \end_layout
17356
17357 \begin_layout Standard
17358
17359 \series bold
17360
17361 \backslash
17362 cdashline{2-4}
17363 \end_layout
17364
17365 \begin_layout Standard
17366 as first element of the first cell in the row of the multicolumn.
17367 \end_layout
17368
17369 \begin_layout Standard
17370 \begin_inset VSpace bigskip
17371 \end_inset
17372
17373
17374 \end_layout
17375
17376 \begin_layout Standard
17377 Table\InsetSpace ~
17378
17379 \begin_inset LatexCommand ref
17380 reference "tab:Table-with-dashed"
17381
17382 \end_inset
17383
17384  was created using 
17385 \begin_inset Quotes eld
17386 \end_inset
17387
17388
17389 \series bold
17390 :c
17391 \series default
17392
17393 \begin_inset Quotes erd
17394 \end_inset
17395
17396  as LaTeX-argument of the third column.
17397  The ERT command 
17398 \series bold
17399
17400 \backslash
17401 hdashline
17402 \series default
17403  was inserted to the first cell of the third row and the the ERT command
17404 \newline
17405
17406  
17407 \series bold
17408
17409 \backslash
17410 cdashline{4-5}
17411 \series default
17412  was inserted to the first cell of the fourth row.
17413 \end_layout
17414
17415 \begin_layout Standard
17416 \begin_inset Note Greyedout
17417 status open
17418
17419 \begin_layout Standard
17420
17421 \series bold
17422 Note:
17423 \series default
17424  The used LaTeX-package 
17425 \series bold
17426 arydshln
17427 \series default
17428  is apparently not compatible with the LaTeX-package 
17429 \series bold
17430 colortbl
17431 \series default
17432
17433 \begin_inset LatexCommand index
17434 name "LaTeX-packages ! colortbl"
17435
17436 \end_inset
17437
17438  that is used for colored tables in section\InsetSpace ~
17439
17440 \begin_inset LatexCommand ref
17441 reference "sec:Colored-Tables"
17442
17443 \end_inset
17444
17445 .
17446  That means colored tables cannot have dashed lines.
17447 \end_layout
17448
17449 \end_inset
17450
17451
17452 \end_layout
17453
17454 \begin_layout Standard
17455 \begin_inset ERT
17456 status collapsed
17457
17458 \begin_layout Standard
17459
17460
17461 \backslash
17462 else
17463 \end_layout
17464
17465 \end_inset
17466
17467
17468 \begin_inset Note Note
17469 status open
17470
17471 \begin_layout Standard
17472 The following will be displayed when the LaTeX-package 
17473 \series bold
17474 arydshln
17475 \series default
17476  is not installed:
17477 \end_layout
17478
17479 \end_inset
17480
17481
17482 \end_layout
17483
17484 \begin_layout Standard
17485 You need to install the package 
17486 \series bold
17487 arydshln
17488 \series default
17489  to see the contents of this section in the output.
17490 \end_layout
17491
17492 \begin_layout Standard
17493 \begin_inset ERT
17494 status collapsed
17495
17496 \begin_layout Standard
17497
17498
17499 \backslash
17500 fi
17501 \end_layout
17502
17503 \end_inset
17504
17505
17506 \end_layout
17507
17508 \begin_layout Chapter
17509 Floats
17510 \begin_inset LatexCommand index
17511 name "Floats"
17512
17513 \end_inset
17514
17515
17516 \begin_inset LatexCommand label
17517 name "cha:Floats"
17518
17519 \end_inset
17520
17521
17522 \end_layout
17523
17524 \begin_layout Section
17525 Introduction
17526 \begin_inset LatexCommand label
17527 name "sec:FloatIntroduction"
17528
17529 \end_inset
17530
17531
17532 \begin_inset LatexCommand index
17533 name "Floats ! Introduction"
17534
17535 \end_inset
17536
17537
17538 \end_layout
17539
17540 \begin_layout Standard
17541 A float is a block of text associated with some sort of label, which doesn't
17542  have a fixed location.
17543  It can 
17544 \begin_inset Quotes eld
17545 \end_inset
17546
17547 float
17548 \begin_inset Quotes erd
17549 \end_inset
17550
17551  forward or backward a page or two, to wherever it fits best.
17552  
17553 \family sans
17554 Footnotes
17555 \family default
17556  and 
17557 \family sans
17558 Margin\InsetSpace ~
17559 Notes
17560 \family default
17561  are also floats, because they can float to the next page when there are
17562  too many notes at the page.
17563 \end_layout
17564
17565 \begin_layout Standard
17566 Floats allow a high quality layout.
17567  Images and tables can evenly be spread to the pages to avoid white space
17568  and pages without text.
17569  As the floating often destroys the context between the text and the image/table
17570 , every float can be referenced in the text.
17571  Floats are therefore numbered.
17572  Referencing is described in section\InsetSpace ~
17573
17574 \begin_inset LatexCommand ref
17575 reference "sec:Referencing-Floats"
17576
17577 \end_inset
17578
17579 .
17580 \end_layout
17581
17582 \begin_layout Standard
17583 To insert a float, use the menu 
17584 \family sans
17585 Insert\SpecialChar \menuseparator
17586 Float
17587 \family default
17588 .
17589  This inserts the 
17590 \family sans
17591 Caption
17592 \family default
17593  inset, a box with a label.
17594  The label will automatically be translated to the document language in
17595  the output.
17596  Behind the label you can insert the caption text.
17597  The image or table is inserted above or below the caption in a separate
17598  paragraph within the float.
17599  More about the caption placement is described in section\InsetSpace ~
17600
17601 \begin_inset LatexCommand ref
17602 reference "sec:Caption-Placement"
17603
17604 \end_inset
17605
17606 .
17607  To keep your LyX-document readable, you can open and close the float box
17608  by left-clicking on the box label.
17609  A closed float box looks like this: 
17610 \begin_inset Graphics
17611         filename clipart/floatQt4.png
17612         scale 70
17613         scaleBeforeRotation
17614
17615 \end_inset
17616
17617  -- a gray button with a red label.
17618 \end_layout
17619
17620 \begin_layout Standard
17621 It is recommended to insert floats as a separate paragraph to avoid possible
17622  LaTeX-errors that can occur when the surrounding text is specially formatted.
17623 \end_layout
17624
17625 \begin_layout Standard
17626 Existing figures or tables can be put into a float by marking them and then
17627  pressing the corresponding toolbar button for a new float.
17628 \end_layout
17629
17630 \begin_layout Section
17631 Float Types
17632 \end_layout
17633
17634 \begin_layout Standard
17635 Besides figure and table floats that are described in section\InsetSpace ~
17636
17637 \begin_inset LatexCommand ref
17638 reference "sec:Figure-Floats"
17639
17640 \end_inset
17641
17642  and 
17643 \begin_inset LatexCommand ref
17644 reference "sec:Table-Floats"
17645
17646 \end_inset
17647
17648 , respectively, LyX offers the float types 
17649 \series bold
17650 Algorithm
17651 \series default
17652  and 
17653 \series bold
17654 Text\InsetSpace ~
17655 Wrap\InsetSpace ~
17656 Float
17657 \series default
17658 .
17659 \end_layout
17660
17661 \begin_layout Subsection
17662 Algorithm Floats
17663 \begin_inset LatexCommand index
17664 name "Floats ! Algorithms"
17665
17666 \end_inset
17667
17668
17669 \end_layout
17670
17671 \begin_layout Standard
17672 \begin_inset Float algorithm
17673 placement h
17674 wide false
17675 sideways false
17676 status open
17677
17678 \begin_layout Standard
17679 \begin_inset Caption
17680
17681 \begin_layout Standard
17682 \begin_inset LatexCommand label
17683 name "alg:Example-Algorithm-float"
17684
17685 \end_inset
17686
17687 Example Algorithm float
17688 \end_layout
17689
17690 \end_inset
17691
17692
17693 \end_layout
17694
17695 \begin_layout LyX-Code
17696 for I in 1..N loop
17697 \newline
17698  Sum:= Sum + A(I); /*comment*/
17699 \newline
17700 end loop
17701 \begin_inset VSpace -4mm
17702 \end_inset
17703
17704
17705 \end_layout
17706
17707 \end_inset
17708
17709
17710 \end_layout
17711
17712 \begin_layout Standard
17713 This float type is inserted with the menu 
17714 \family sans
17715 Insert\SpecialChar \menuseparator
17716 Floats\SpecialChar \menuseparator
17717 Algorithm
17718 \family default
17719 .
17720  It is used for program codes and descriptions of algorithms.
17721  A possible environment for algorithms is the 
17722 \family sans
17723 LyX-Code
17724 \family default
17725 , described in LyX's 
17726 \emph on
17727 Userguide
17728 \emph default
17729 .
17730  Algorithm\InsetSpace ~
17731
17732 \begin_inset LatexCommand ref
17733 reference "alg:Example-Algorithm-float"
17734
17735 \end_inset
17736
17737  is an example of an algorithm float where -4\InsetSpace \thinspace{}
17738 mm vertical space was added
17739  at the end of the float to have the bottom rule exactly below the last
17740  text line.
17741 \end_layout
17742
17743 \begin_layout Standard
17744 The float label is not automatically translated into the document language.
17745  If your document is not in English, you have to do this manually by adding
17746  the following line to the document preamble
17747 \series bold
17748 :
17749 \end_layout
17750
17751 \begin_layout Standard
17752
17753 \series bold
17754
17755 \backslash
17756 floatname{algorithm}{your\InsetSpace ~
17757 name}
17758 \end_layout
17759
17760 \begin_layout Standard
17761
17762 \family sans
17763 your\InsetSpace ~
17764 name
17765 \family default
17766  is the word 
17767 \begin_inset Quotes eld
17768 \end_inset
17769
17770
17771 \emph on
17772 algorithm
17773 \emph default
17774
17775 \begin_inset Quotes erd
17776 \end_inset
17777
17778  in your language.
17779 \end_layout
17780
17781 \begin_layout Description
17782
17783 \series bold
17784 Note:
17785 \series default
17786  When the LaTeX-package 
17787 \series bold
17788 hyperref
17789 \series default
17790
17791 \begin_inset LatexCommand index
17792 name "LaTeX-packages ! hyperref"
17793
17794 \end_inset
17795
17796  is used to link cross-references to floats in the PDF-output, it must be
17797  loaded in the document preamble before the definition of floats to be able
17798  to reference floats.
17799  As LyX sets the float definition for algorithm floats automatically before
17800  the user editable part of the document preamble, you need to insert the
17801  following preamble lines 
17802 \emph on
17803 after
17804 \emph default
17805  the loading command of 
17806 \series bold
17807 hyperref
17808 \series default
17809 :
17810 \series bold
17811
17812 \begin_inset VSpace defskip
17813 \end_inset
17814
17815
17816 \newline
17817
17818 \backslash
17819 newfloat{Xalgorithm}{tbp}{loa}
17820 \newline
17821
17822 \backslash
17823 floatname{Xalgorithm}{your\InsetSpace ~
17824 name}
17825 \newline
17826
17827 \backslash
17828 newcommand{
17829 \backslash
17830 theHalgorithm}{
17831 \backslash
17832 theHXalgorithm}
17833 \newline
17834
17835 \backslash
17836 renewenvironment{algorithm}[1][tbp]
17837 \newline
17838
17839 \begin_inset ERT
17840 status collapsed
17841
17842 \begin_layout Standard
17843
17844
17845 \backslash
17846 hphantom{ }
17847 \end_layout
17848
17849 \end_inset
17850
17851 {
17852 \backslash
17853 begin{Xalgorithm}[#1]}{
17854 \backslash
17855 end{Xalgorithm}}
17856 \begin_inset VSpace defskip
17857 \end_inset
17858
17859
17860 \end_layout
17861
17862 \begin_layout Standard
17863 Algorithm floats are not by default numbered in the scheme 
17864 \begin_inset Quotes eld
17865 \end_inset
17866
17867 chapter.algorithm
17868 \begin_inset Quotes erd
17869 \end_inset
17870
17871  like it is the case for table and figure floats in many document-classes.
17872  To number algorithm floats in the same scheme, add this command to your
17873  document preamble:
17874 \end_layout
17875
17876 \begin_layout Standard
17877
17878 \series bold
17879
17880 \backslash
17881 numberwithin{algorithm}{chapter}
17882 \end_layout
17883
17884 \begin_layout Standard
17885 If you use the LaTeX-package 
17886 \series bold
17887 hyperref
17888 \series default
17889 , add this line instead 
17890 \emph on
17891 after
17892 \emph default
17893  the definition of 
17894 \family sans
17895 Xalgorithm
17896 \family default
17897  (the commands from above) to the preamble:
17898 \end_layout
17899
17900 \begin_layout Standard
17901
17902 \series bold
17903
17904 \backslash
17905 numberwithin{Xalgorithm}{chapter}
17906 \end_layout
17907
17908 \begin_layout Standard
17909 To be able to use the command 
17910 \series bold
17911
17912 \backslash
17913 numberwithin
17914 \series default
17915 , set in the tab 
17916 \family sans
17917 Math\InsetSpace ~
17918 Options
17919 \family default
17920  in the document settings the option 
17921 \family sans
17922 Use\InsetSpace ~
17923 AMS\InsetSpace ~
17924 math\InsetSpace ~
17925 package
17926 \family default
17927 .
17928 \end_layout
17929
17930 \begin_layout Subsection
17931 Text Wrap Floats
17932 \begin_inset LatexCommand index
17933 name "Floats ! Text Wrap Floats"
17934
17935 \end_inset
17936
17937
17938 \begin_inset LatexCommand label
17939 name "sub:floatflt-wrap-float"
17940
17941 \end_inset
17942
17943
17944 \end_layout
17945
17946 \begin_layout Standard
17947 This float type is used if you want to 
17948 \begin_inset Quotes eld
17949 \end_inset
17950
17951 wrap
17952 \begin_inset Quotes erd
17953 \end_inset
17954
17955  text around a figure so that it only occupies some fraction of the column
17956  width.
17957  It can be inserted using the menu 
17958 \begin_inset Wrap figure
17959 placement l
17960 width "40col%"
17961 status open
17962
17963 \begin_layout Standard
17964 \begin_inset Graphics
17965         filename clipart/mobius.eps
17966         display color
17967         width 40col%
17968         scaleBeforeRotation
17969         rotateOrigin center
17970
17971 \end_inset
17972
17973
17974 \end_layout
17975
17976 \begin_layout Standard
17977 \begin_inset Caption
17978
17979 \begin_layout Standard
17980 \begin_inset LatexCommand label
17981 name "fig:This-is-a"
17982
17983 \end_inset
17984
17985 This is a wrapped figure, and this is the brilliant caption that describes
17986  it.
17987 \begin_inset VSpace medskip
17988 \end_inset
17989
17990
17991 \end_layout
17992
17993 \end_inset
17994
17995
17996 \end_layout
17997
17998 \end_inset
17999
18000  
18001 \family sans
18002 Insert\SpecialChar \menuseparator
18003 Floats\SpecialChar \menuseparator
18004 Text\InsetSpace ~
18005 Wrap\InsetSpace ~
18006 Float
18007 \family default
18008  if the LaTeX-package 
18009 \series bold
18010 f\SpecialChar \textcompwordmark{}
18011 loatf\SpecialChar \textcompwordmark{}
18012 lt
18013 \series default
18014
18015 \begin_inset LatexCommand index
18016 name "LaTeX-packages ! floatflt"
18017
18018 \end_inset
18019
18020  is installed.
18021 \begin_inset Foot
18022 status collapsed
18023
18024 \begin_layout Standard
18025 Installing a LaTeX-package is explained it in the 
18026 \emph on
18027 LaTeX\InsetSpace ~
18028 Configuration
18029 \emph default
18030  manual.
18031 \end_layout
18032
18033 \end_inset
18034
18035  The width and placement of the float is adjusted by right-clicking on the
18036  float box.
18037  Figure\InsetSpace ~
18038
18039 \begin_inset LatexCommand ref
18040 reference "fig:This-is-a"
18041
18042 \end_inset
18043
18044  is an example text wrap float with a width of 40
18045 \begin_inset Formula $\,$
18046 \end_inset
18047
18048 col%.
18049 \begin_inset Foot
18050 status collapsed
18051
18052 \begin_layout Standard
18053 Available units are explained in 
18054 \begin_inset LatexCommand ref
18055 reference "cha:Units-available-in"
18056
18057 \end_inset
18058
18059 .
18060 \end_layout
18061
18062 \end_inset
18063
18064  Some space was added under the caption to separate it better from the surroundi
18065 ng text.
18066 \end_layout
18067
18068 \begin_layout Standard
18069 The LaTeX-package 
18070 \series bold
18071 f\SpecialChar \textcompwordmark{}
18072 loatf\SpecialChar \textcompwordmark{}
18073 lt
18074 \series default
18075  also supports table wrap floats, but they are not yet supported by LyX.
18076  If you need this, read the documentation of 
18077 \series bold
18078 f\SpecialChar \textcompwordmark{}
18079 loatf\SpecialChar \textcompwordmark{}
18080 lt
18081 \series default
18082  
18083 \begin_inset LatexCommand cite
18084 key "floatflt"
18085
18086 \end_inset
18087
18088 .
18089 \end_layout
18090
18091 \begin_layout Standard
18092 \begin_inset Note Greyedout
18093 status open
18094
18095 \begin_layout Standard
18096
18097 \series bold
18098 Note:
18099 \series default
18100  Text\InsetSpace ~
18101 wrap float floats are fragile! E.\InsetSpace \thinspace{}
18102 g.\InsetSpace ~
18103 having a figure too close to the bottom
18104  of the page can mess things up in the way that the float doesn't appear
18105  in the output or that it is placed over some other text.
18106 \begin_inset Foot
18107 status open
18108
18109 \begin_layout Standard
18110 The better solution is to use the LaTeX-package 
18111 \series bold
18112 wrapf\SpecialChar \textcompwordmark{}
18113 ig
18114 \series default
18115
18116 \begin_inset LatexCommand index
18117 name "LaTeX-packages ! wrapfig\\vspace{4mm}"
18118
18119 \end_inset
18120
18121  instead of 
18122 \series bold
18123 f\SpecialChar \textcompwordmark{}
18124 loatf\SpecialChar \textcompwordmark{}
18125 lt
18126 \series default
18127 , but it is currently not supported by LyX.
18128 \end_layout
18129
18130 \end_inset
18131
18132
18133 \end_layout
18134
18135 \end_inset
18136
18137
18138 \end_layout
18139
18140 \begin_layout Standard
18141 In general:
18142 \end_layout
18143
18144 \begin_layout Itemize
18145 Wrap floats should not be placed in paragraphs that run over a page break.
18146  That means that wrap floats should better be inserted to the exact place
18147  when the document is nearly finished and you are able to estimate where
18148  page breaks will appear.
18149 \end_layout
18150
18151 \begin_layout Itemize
18152 Wrap floats should either be placed in an own paragraph before the paragraph
18153  where they should wrap into or within a paragraph.
18154 \end_layout
18155
18156 \begin_layout Itemize
18157 Wrap floats in consecutive paragraphs may cause troubles, so assure that
18158  there is a text paragraph between them as separator.
18159 \end_layout
18160
18161 \begin_layout Itemize
18162 Wrap floats are not allowed in section headings or tables.
18163 \end_layout
18164
18165 \begin_layout Section
18166 Float Numbering
18167 \begin_inset LatexCommand label
18168 name "sec:Float-Numbering"
18169
18170 \end_inset
18171
18172
18173 \begin_inset LatexCommand index
18174 name "Floats ! Numbering"
18175
18176 \end_inset
18177
18178
18179 \end_layout
18180
18181 \begin_layout Standard
18182 Floats are usually numbered either independent from the sections the floats
18183  are in, or in the scheme 
18184 \begin_inset Quotes eld
18185 \end_inset
18186
18187 chapter.number
18188 \begin_inset Quotes erd
18189 \end_inset
18190
18191  or 
18192 \begin_inset Quotes eld
18193 \end_inset
18194
18195 section.number
18196 \begin_inset Quotes erd
18197 \end_inset
18198
18199 .
18200  This depends on the used document class.
18201 \end_layout
18202
18203 \begin_layout Standard
18204 To change the section independent numbering, you can use this command in
18205  the document preamble:
18206 \end_layout
18207
18208 \begin_layout Standard
18209
18210 \series bold
18211
18212 \backslash
18213 renewcommand{
18214 \backslash
18215 thetable}{
18216 \backslash
18217 roman{table}}
18218 \end_layout
18219
18220 \begin_layout Standard
18221
18222 \series bold
18223
18224 \backslash
18225 thetable
18226 \series default
18227  is the command that prints the table number, for figure floats, the command
18228  would be 
18229 \series bold
18230
18231 \backslash
18232 thefigure
18233 \series default
18234 .
18235  The command 
18236 \series bold
18237
18238 \backslash
18239 roman
18240 \series default
18241  prints in the command above the table number as small roman number.
18242 \end_layout
18243
18244 \begin_layout Standard
18245 To change the numbering scheme for example to 
18246 \begin_inset Quotes eld
18247 \end_inset
18248
18249 subsection.number
18250 \begin_inset Quotes erd
18251 \end_inset
18252
18253 , use this command in the preamble:
18254 \end_layout
18255
18256 \begin_layout Standard
18257
18258 \series bold
18259
18260 \backslash
18261 numberwithin{table}{subsection}
18262 \end_layout
18263
18264 \begin_layout Standard
18265 To be able to use the command 
18266 \series bold
18267
18268 \backslash
18269 numberwithin
18270 \series default
18271 , set in the tab 
18272 \family sans
18273 Math\InsetSpace ~
18274 Options
18275 \family default
18276  in the document settings the option 
18277 \family sans
18278 Use\InsetSpace ~
18279 AMS\InsetSpace ~
18280 math\InsetSpace ~
18281 package
18282 \family default
18283 .
18284 \end_layout
18285
18286 \begin_layout Standard
18287 Please also have a look at section\InsetSpace ~
18288
18289 \begin_inset LatexCommand ref
18290 reference "sub:Footnote-Numbering"
18291
18292 \end_inset
18293
18294  for the details and important notes about the numbering commands.
18295 \end_layout
18296
18297 \begin_layout Section
18298 Referencing Floats
18299 \begin_inset LatexCommand label
18300 name "sec:Referencing-Floats"
18301
18302 \end_inset
18303
18304
18305 \begin_inset LatexCommand index
18306 name "Floats ! References"
18307
18308 \end_inset
18309
18310
18311 \begin_inset LatexCommand index
18312 name "References"
18313
18314 \end_inset
18315
18316
18317 \end_layout
18318
18319 \begin_layout Standard
18320 To reference a float, insert a label into its caption using the menu 
18321 \family sans
18322 Insert\SpecialChar \menuseparator
18323 Label
18324 \family default
18325  or the toolbar button 
18326 \begin_inset Graphics
18327         filename ../images/label-insert.xpm
18328         scale 85
18329         scaleBeforeRotation
18330
18331 \end_inset
18332
18333 .
18334  A grey label box like this one: 
18335 \begin_inset Graphics
18336         filename clipart/labelQt4.png
18337         scale 85
18338         scaleBeforeRotation
18339
18340 \end_inset
18341
18342  will be inserted and the label window pops up asking for the label text.
18343  LyX offers as text the first words of the caption with a prefix.
18344  The prefix depends on the float type, e.\InsetSpace \thinspace{}
18345 g.\InsetSpace ~
18346 for figure floats the prefix will
18347  be "
18348 \family sans
18349 fig:
18350 \family default
18351 ".
18352 \end_layout
18353
18354 \begin_layout Standard
18355 The label is used as anchor and name for the reference.
18356  You can refer to the label using the menu 
18357 \family sans
18358 Insert\SpecialChar \menuseparator
18359 Cross-reference
18360 \family default
18361  or the toolbar button 
18362 \begin_inset Graphics
18363         filename ../images/dialog-show-new-inset_ref.xpm
18364         scale 85
18365         scaleBeforeRotation
18366
18367 \end_inset
18368
18369 .
18370  A grey cross-reference box like this one: 
18371 \begin_inset Graphics
18372         filename clipart/referenceQt4.png
18373         scale 85
18374         scaleBeforeRotation
18375
18376 \end_inset
18377
18378  will be inserted and the cross-reference window appear showing all labels
18379  of the document.
18380  If you have multiple LyX-documents opened, choose the one you are working
18381  on from the drop-list at the top of the dialog.
18382  You can now sort the labels alphabetically and then choose one.
18383  At the position of the cross-reference box the float number will appear
18384  in the output.
18385 \end_layout
18386
18387 \begin_layout Standard
18388 It is recommended to use a protected space between the cross-reference name
18389  and its number to avoid line breaks between them.
18390  If a cross-reference refers to a non-existing label, you will see two question
18391  marks in the output instead of the reference.
18392 \end_layout
18393
18394 \begin_layout Standard
18395 You can change labels at any time by clicking on the label box.
18396  References to the changed label will automatically change its link to the
18397  new label text, so that you don't need to take care about this.
18398 \end_layout
18399
18400 \begin_layout Standard
18401 The button 
18402 \family sans
18403 Go\InsetSpace ~
18404 to\InsetSpace ~
18405 Label
18406 \family default
18407  in the cross-reference window sets the cursor before the referred label.
18408  The button text changes then to Go\InsetSpace ~
18409 Back and you can use it to set the cursor
18410  back to the cross-reference.
18411  Right-clicking on a cross-reference box also sets the cursor before the
18412  referenced label but without a possibility to go back.
18413 \end_layout
18414
18415 \begin_layout Subsection
18416 Cross-Reference Formats
18417 \begin_inset LatexCommand label
18418 name "sub:Cross-Reference-Formats"
18419
18420 \end_inset
18421
18422
18423 \begin_inset LatexCommand index
18424 name "References ! Formats"
18425
18426 \end_inset
18427
18428
18429 \end_layout
18430
18431 \begin_layout Standard
18432 There are six varieties of cross-references:
18433 \end_layout
18434
18435 \begin_layout Description
18436 <reference>: prints the float number, this is the default: 
18437 \begin_inset LatexCommand ref
18438 reference "fig:Two-distorted-images"
18439
18440 \end_inset
18441
18442
18443 \end_layout
18444
18445 \begin_layout Description
18446 (<reference>): prints the float number within two parentheses, this is the
18447  style normally used to reference formulas, especially when the reference
18448  name 
18449 \begin_inset Quotes eld
18450 \end_inset
18451
18452 Equation
18453 \begin_inset Quotes erd
18454 \end_inset
18455
18456  is omitted: 
18457 \begin_inset LatexCommand eqref
18458 reference "eq:Wgn"
18459
18460 \end_inset
18461
18462
18463 \end_layout
18464
18465 \begin_layout Description
18466 <page>: prints the page number: Page\InsetSpace ~
18467
18468 \begin_inset LatexCommand pageref
18469 reference "fig:Two-distorted-images"
18470
18471 \end_inset
18472
18473
18474 \end_layout
18475
18476 \begin_layout Description
18477 on\InsetSpace ~
18478 page\InsetSpace ~
18479 <page>: prints the text "on page" and the page number: 
18480 \begin_inset LatexCommand vpageref
18481 reference "fig:Two-distorted-images"
18482
18483 \end_inset
18484
18485
18486 \end_layout
18487
18488 \begin_layout Description
18489 <reference>\InsetSpace ~
18490 on\InsetSpace ~
18491 page\InsetSpace ~
18492 <page>: prints the float number, the text "on page", and
18493  the page number: 
18494 \begin_inset LatexCommand vref
18495 reference "fig:Two-distorted-images"
18496
18497 \end_inset
18498
18499
18500 \end_layout
18501
18502 \begin_layout Description
18503 Formatted\InsetSpace ~
18504 reference: prints a self defined cross-reference format.
18505  
18506 \begin_inset Note Greyedout
18507 status open
18508
18509 \begin_layout Standard
18510
18511 \series bold
18512 Note:
18513 \series default
18514  This feature is only available when you have the LaTeX-package 
18515 \series bold
18516 prettyref
18517 \series default
18518  installed.
18519 \end_layout
18520
18521 \end_inset
18522
18523
18524 \end_layout
18525
18526 \begin_layout Standard
18527 Note that the style <page> won't print the page number if the label is on
18528  the previous, the same, or the next page.
18529  You will e.\InsetSpace \thinspace{}
18530 g.\InsetSpace ~
18531 see the text 
18532 \begin_inset Quotes eld
18533 \end_inset
18534
18535
18536 \family sans
18537 on this page
18538 \family default
18539
18540 \begin_inset Quotes erd
18541 \end_inset
18542
18543  instead.
18544 \end_layout
18545
18546 \begin_layout Standard
18547 The number and current page of the referred document part in the output,
18548  is automatically calculated by LaTeX.
18549  The varieties are adjusted in the field 
18550 \family sans
18551 Format
18552 \family default
18553  of the cross-reference window, that appear when you click on the cross-referenc
18554 e box.
18555 \end_layout
18556
18557 \begin_layout Subsection
18558 Referencing Subfigures
18559 \begin_inset LatexCommand label
18560 name "sub:Referencing-Subfigures"
18561
18562 \end_inset
18563
18564
18565 \begin_inset LatexCommand index
18566 name "References ! to Subfigures"
18567
18568 \end_inset
18569
18570
18571 \end_layout
18572
18573 \begin_layout Standard
18574 Currently referencing subfigures is not supported by LyX, so you have to
18575  use LaTeX-commands.
18576  The label is the created with the command
18577 \end_layout
18578
18579 \begin_layout Standard
18580
18581 \series bold
18582
18583 \backslash
18584 label{fig:YourLabelName}
18585 \end_layout
18586
18587 \begin_layout Standard
18588 that is directly inserted into the subfigure caption field.
18589  To reference the label add this command in ERT
18590 \end_layout
18591
18592 \begin_layout Standard
18593
18594 \series bold
18595
18596 \backslash
18597 ref{fig:YourLabelName}
18598 \end_layout
18599
18600 \begin_layout Standard
18601 to the position in your document where the reference should be placed.
18602  Here is a reference to a subfigure: Subfigure\InsetSpace ~
18603
18604 \begin_inset ERT
18605 status collapsed
18606
18607 \begin_layout Standard
18608
18609
18610 \backslash
18611 ref{fig:Platypus}
18612 \end_layout
18613
18614 \end_inset
18615
18616 .
18617 \end_layout
18618
18619 \begin_layout Subsection
18620 Automatic Reference Naming
18621 \begin_inset LatexCommand index
18622 name "References ! Automatic Reference Naming"
18623
18624 \end_inset
18625
18626
18627 \end_layout
18628
18629 \begin_layout Standard
18630 The LaTeX-package 
18631 \series bold
18632 hyperref
18633 \series default
18634  provides a very useful feature that cross-references automatically include
18635  the name of the referenced floats (or text parts like sections).
18636  You save to write e.\InsetSpace \thinspace{}
18637 g.\InsetSpace ~
18638 the name 
18639 \begin_inset Quotes eld
18640 \end_inset
18641
18642 Figure
18643 \begin_inset Quotes erd
18644 \end_inset
18645
18646  before every reference box.
18647  To get this automatic reference naming, you have to load the LaTeX-package
18648  
18649 \series bold
18650 hyperref
18651 \series default
18652
18653 \begin_inset LatexCommand index
18654 name "LaTeX-packages ! hyperref"
18655
18656 \end_inset
18657
18658  in the document preamble with
18659 \end_layout
18660
18661 \begin_layout Standard
18662
18663 \series bold
18664
18665 \backslash
18666 usepackage[pdfborder={0 0 0}]{hyperref}
18667 \newline
18668
18669 \backslash
18670 AtBeginDocument{
18671 \backslash
18672 renewcommand{
18673 \backslash
18674 ref}[1]{
18675 \backslash
18676 mbox{
18677 \backslash
18678 autoref{#1}}}}
18679 \end_layout
18680
18681 \begin_layout Standard
18682
18683 \series bold
18684 hyperref
18685 \series default
18686  is used to link cross-references in the DVI- and PDF-output, this means
18687  that the reader of your document will be able to click on a table of content
18688  (TOC) entry or on a reference and he will be shown the referenced document
18689  part.
18690  
18691 \series bold
18692 hyperref
18693 \series default
18694  also creates PDF-bookmarks for every section of your document to make it
18695  easier for readers to navigate through the document.
18696  This is also used in this document but when you have a look in the document
18697  preamble you will find various options in the load command of 
18698 \series bold
18699 hyperref
18700 \series default
18701 .
18702  To learn more about the 
18703 \series bold
18704 hyperref
18705 \series default
18706  package, we refer to its documentation 
18707 \begin_inset LatexCommand cite
18708 key "hyperref"
18709
18710 \end_inset
18711
18712 .
18713 \end_layout
18714
18715 \begin_layout Standard
18716 \begin_inset Note Greyedout
18717 status open
18718
18719 \begin_layout Standard
18720
18721 \series bold
18722 Note:
18723 \series default
18724  Automatic reference naming cannot be used when you use cross-references
18725  in the 
18726 \family sans
18727 Formatted\InsetSpace ~
18728 reference
18729 \family default
18730  style, described in section\InsetSpace ~
18731
18732 \begin_inset LatexCommand ref
18733 reference "sub:Cross-Reference-Formats"
18734
18735 \end_inset
18736
18737 .
18738 \end_layout
18739
18740 \end_inset
18741
18742
18743 \end_layout
18744
18745 \begin_layout Subsection
18746 Reference Position
18747 \begin_inset LatexCommand label
18748 name "sub:Reference-Position"
18749
18750 \end_inset
18751
18752
18753 \begin_inset LatexCommand index
18754 name "References ! Reference Position"
18755
18756 \end_inset
18757
18758
18759 \end_layout
18760
18761 \begin_layout Standard
18762 If you use 
18763 \series bold
18764 hyperref
18765 \series default
18766
18767 \begin_inset LatexCommand index
18768 name "LaTeX-packages ! hyperref"
18769
18770 \end_inset
18771
18772  to link cross-references in the output, you will see that clicking on an
18773  image float reference jumps to the image label.
18774  The caption will be the first text part on the screen, so that you cannot
18775  see the image without scrolling.
18776  This is because the reference link anchor is placed at the position of
18777  the label.
18778  With the use of the package 
18779 \series bold
18780 hypcap
18781 \series default
18782
18783 \begin_inset LatexCommand index
18784 name "LaTeX-packages ! hypcap"
18785
18786 \end_inset
18787
18788 , which is part of the LaTeX-package 
18789 \series bold
18790 oberdiek
18791 \series default
18792
18793 \begin_inset LatexCommand index
18794 name "LaTeX-packages ! oberdiek"
18795
18796 \end_inset
18797
18798 , the link anchor is placed at the beginning of a float.
18799  To use this feature for figure floats, load 
18800 \series bold
18801 hypcap
18802 \series default
18803  in the document preamble with the line
18804 \end_layout
18805
18806 \begin_layout Standard
18807
18808 \series bold
18809
18810 \backslash
18811 usepackage[f\SpecialChar \textcompwordmark{}
18812 igure]{hypcap}
18813 \end_layout
18814
18815 \begin_layout Standard
18816 You can also use 
18817 \series bold
18818 hypcap
18819 \series default
18820  for all floats but this isn't recommended for stability reasons.
18821  For more informations, have a look at 
18822 \series bold
18823 hypcap
18824 \series default
18825 's manual 
18826 \begin_inset LatexCommand cite
18827 key "hypcap"
18828
18829 \end_inset
18830
18831 .
18832 \end_layout
18833
18834 \begin_layout Standard
18835 \begin_inset Note Greyedout
18836 status open
18837
18838 \begin_layout Standard
18839
18840 \series bold
18841 Note:
18842 \series default
18843  
18844 \series bold
18845 hypcap
18846 \series default
18847  must be loaded after 
18848 \series bold
18849 hyperref
18850 \series default
18851  in the document preamble.
18852 \end_layout
18853
18854 \end_inset
18855
18856
18857 \end_layout
18858
18859 \begin_layout Standard
18860 \begin_inset Note Greyedout
18861 status open
18862
18863 \begin_layout Standard
18864
18865 \series bold
18866 Note:
18867 \series default
18868  
18869 \series bold
18870 hypcap
18871 \series default
18872  has no effect for references to subfigures.
18873 \end_layout
18874
18875 \end_inset
18876
18877
18878 \end_layout
18879
18880 \begin_layout Section
18881 Float Placement
18882 \begin_inset LatexCommand label
18883 name "sec:Float-Placement"
18884
18885 \end_inset
18886
18887
18888 \begin_inset LatexCommand index
18889 name "Floats ! Placement"
18890
18891 \end_inset
18892
18893
18894 \end_layout
18895
18896 \begin_layout Standard
18897 Right-clicking on a float-box opens a dialog where you can alter the placement
18898  options that LaTeX uses for positioning the float.
18899 \newline
18900 The option 
18901 \family sans
18902 Span\InsetSpace ~
18903 columns
18904 \family default
18905  is only useful for two-column documents: If you select it, the float will
18906  span across both columns on the page instead of being confined to just
18907  one.
18908 \newline
18909 The option 
18910 \family sans
18911 Rotate\InsetSpace ~
18912 sideways
18913 \family default
18914  is used to rotate floats, see section 
18915 \begin_inset LatexCommand ref
18916 reference "sec:Rotated-Floats"
18917
18918 \end_inset
18919
18920 .
18921 \end_layout
18922
18923 \begin_layout Standard
18924 You can use one ore more of the following options in the float dialog to
18925  set the placement for a particular float when you uncheck the option 
18926 \family sans
18927 Use\InsetSpace ~
18928 default\InsetSpace ~
18929 placement
18930 \family default
18931 :
18932 \end_layout
18933
18934 \begin_layout Description
18935 Here\InsetSpace ~
18936 if\InsetSpace ~
18937 possible try to place the float on the position where it is inserted
18938 \end_layout
18939
18940 \begin_layout Description
18941 Top\InsetSpace ~
18942 of\InsetSpace ~
18943 page try to place the float on the top of the current page
18944 \end_layout
18945
18946 \begin_layout Description
18947 Bottom\InsetSpace ~
18948 of\InsetSpace ~
18949 page try to place the float on the bottom of the current page
18950 \end_layout
18951
18952 \begin_layout Description
18953 Page\InsetSpace ~
18954 of\InsetSpace ~
18955 floats try to place the float on an own page 
18956 \end_layout
18957
18958 \begin_layout Standard
18959 The order of the above option is 
18960 \emph on
18961 always
18962 \emph default
18963  used by LaTeX.
18964  That means, if you use the default placement, LaTeX will first try out
18965  
18966 \family sans
18967 Here\InsetSpace ~
18968 if\InsetSpace ~
18969 possible
18970 \family default
18971 , then 
18972 \family sans
18973 Top\InsetSpace ~
18974 of\InsetSpace ~
18975 page
18976 \family default
18977 , and then the others.
18978  If you don't use the default, LaTeX will try only the checked options but
18979  in the same order.
18980  If none of the 4 placements are possible the procedure is internally repeated
18981  but it is tried to put the float on the following page.
18982 \end_layout
18983
18984 \begin_layout Standard
18985 By default, each option has its own rules:
18986 \end_layout
18987
18988 \begin_layout Labeling
18989 \labelwidthstring 00.00.0000
18990
18991 \family sans
18992 Top\InsetSpace ~
18993 of\InsetSpace ~
18994 page
18995 \family default
18996  only floats occupying less than 70\InsetSpace \thinspace{}
18997 % of the page can be placed at the top
18998  of a page (
18999 \series bold
19000
19001 \backslash
19002 topfraction
19003 \series default
19004 )
19005 \end_layout
19006
19007 \begin_layout Labeling
19008 \labelwidthstring 00.00.0000
19009
19010 \family sans
19011 Bottom\InsetSpace ~
19012 of\InsetSpace ~
19013 page
19014 \family default
19015 : only floats occupying less than 30\InsetSpace \thinspace{}
19016 % of the page can be placed at the bottom
19017  of a page.
19018  (
19019 \series bold
19020
19021 \backslash
19022 bottomfraction
19023 \series default
19024 )
19025 \end_layout
19026
19027 \begin_layout Labeling
19028 \labelwidthstring 00.00.0000
19029
19030 \family sans
19031 Page\InsetSpace ~
19032 of\InsetSpace ~
19033 floats
19034 \family default
19035 : only if more than 50\InsetSpace \thinspace{}
19036 % of the page are occupied by floats, several floats
19037  can be set together on a page.
19038  (
19039 \series bold
19040
19041 \backslash
19042 f\SpecialChar \textcompwordmark{}
19043 loatpagefraction
19044 \series default
19045 )
19046 \end_layout
19047
19048 \begin_layout Standard
19049 If you don't like these rules, you can ignore them by using the additional
19050  option 
19051 \family sans
19052 Ignore\InsetSpace ~
19053 LaTeX\InsetSpace ~
19054 rules
19055 \family default
19056 .
19057 \newline
19058 You can also redefine the rules with LaTeX-commands that are given in parenthese
19059 s behind the rules description above.
19060  To increase for example the often too small default of the bottom-rule
19061  to 50\InsetSpace \thinspace{}
19062 % of the page, add this line to your document preamble:
19063 \end_layout
19064
19065 \begin_layout Standard
19066
19067 \series bold
19068
19069 \backslash
19070 renewcommand{
19071 \backslash
19072 bottomfraction}{0.5}
19073 \end_layout
19074
19075 \begin_layout Standard
19076 Sometimes you might need, under all circumstances, a float to be placed
19077  exactly at the position where it is inserted.
19078  For this case you can use the option 
19079 \family sans
19080 Here\InsetSpace ~
19081 definitely
19082 \family default
19083 .
19084  Use this option very rarely and only if the document is nearly ready to
19085  be printed.
19086  Because the float is then no longer able to 
19087 \begin_inset Quotes eld
19088 \end_inset
19089
19090 float
19091 \begin_inset Quotes erd
19092 \end_inset
19093
19094  when you change your document and this will often destroy the page layout.
19095 \end_layout
19096
19097 \begin_layout Standard
19098 There are no placement options for text wrap floats, because they are always
19099  surrounded by the text of a certain paragraph.
19100 \begin_inset VSpace bigskip
19101 \end_inset
19102
19103
19104 \end_layout
19105
19106 \begin_layout Standard
19107 Sometimes you have the problem that a float is placed at the top of a page
19108  while its corresponding section starts at the middle of the page, so that
19109  the reader could think the float is part of the previous section.
19110  To avoid this the LaTeX-command 
19111 \series bold
19112
19113 \backslash
19114 suppressf\SpecialChar \textcompwordmark{}
19115 loats
19116 \series default
19117  can be used.
19118  It suppresses a given float placement for the page where it is inserted
19119  and can therefore be used to avoid that floats could be set before a section
19120  starts.
19121  To get this, add these commands to your document preamble:
19122 \end_layout
19123
19124 \begin_layout Standard
19125
19126 \series bold
19127
19128 \backslash
19129 let
19130 \backslash
19131 mySection
19132 \backslash
19133 section
19134 \newline
19135
19136 \backslash
19137 renewcommand{
19138 \backslash
19139 section}{
19140 \backslash
19141 suppressf\SpecialChar \textcompwordmark{}
19142 loats[t]
19143 \backslash
19144 mySection}
19145 \end_layout
19146
19147 \begin_layout Standard
19148 You can define the same for all section headings, like chapters and subsections.
19149  This definition is not recommended to be used for small text parts like
19150  subsubsections because LaTeX may then have problems to find a suitable
19151  placement.
19152 \end_layout
19153
19154 \begin_layout Standard
19155 \begin_inset VSpace bigskip
19156 \end_inset
19157
19158 In some cases it is required to have all figures/tables at the end of the
19159  document.
19160  For this purpose the LaTeX-package 
19161 \series bold
19162 endf\SpecialChar \textcompwordmark{}
19163 loat
19164 \series default
19165
19166 \begin_inset LatexCommand index
19167 name "LaTeX-packages ! endfloat"
19168
19169 \end_inset
19170
19171  was developed.
19172  It puts all figure and table floats at the end of the document into own
19173  sections.
19174  At the original float position a text hint like 
19175 \begin_inset Quotes eld
19176 \end_inset
19177
19178
19179 \family sans
19180 [Figure\InsetSpace ~
19181 3.2 about here.]
19182 \family default
19183
19184 \begin_inset Quotes erd
19185 \end_inset
19186
19187  is inserted.
19188  The endfloat-package is loaded in the preamble with the line
19189 \end_layout
19190
19191 \begin_layout Standard
19192
19193 \series bold
19194
19195 \backslash
19196 usepackage[options]{endf\SpecialChar \textcompwordmark{}
19197 loat}
19198 \end_layout
19199
19200 \begin_layout Standard
19201 There are various package options to format the created figure/table sections.
19202  For more information we refer to the 
19203 \series bold
19204 endf\SpecialChar \textcompwordmark{}
19205 loat
19206 \series default
19207  documentation 
19208 \begin_inset LatexCommand cite
19209 key "endfloat"
19210
19211 \end_inset
19212
19213 .
19214 \newline
19215
19216 \begin_inset Note Greyedout
19217 status open
19218
19219 \begin_layout Standard
19220
19221 \series bold
19222 Note: endf\SpecialChar \textcompwordmark{}
19223 loat
19224 \series default
19225  doesn't provide an automatic translation for the text hint, you have to
19226  do this manually, see section\InsetSpace ~
19227 4 in 
19228 \begin_inset LatexCommand cite
19229 key "endfloat"
19230
19231 \end_inset
19232
19233 .
19234 \end_layout
19235
19236 \end_inset
19237
19238
19239 \newline
19240
19241 \begin_inset Note Greyedout
19242 status open
19243
19244 \begin_layout Standard
19245
19246 \series bold
19247 Note:
19248 \series default
19249  There is currently a bug in 
19250 \series bold
19251 endf\SpecialChar \textcompwordmark{}
19252 loat
19253 \series default
19254  when the caption contains a German 
19255 \begin_inset Quotes eld
19256 \end_inset
19257
19258 ß
19259 \begin_inset Quotes erd
19260 \end_inset
19261
19262 .
19263  Use in this case the command 
19264 \begin_inset Quotes eld
19265 \end_inset
19266
19267
19268 \series bold
19269
19270 \backslash
19271 ss
19272 \series default
19273
19274 \begin_inset Quotes erd
19275 \end_inset
19276
19277  in ERT instead of 
19278 \begin_inset Quotes eld
19279 \end_inset
19280
19281 ß
19282 \begin_inset Quotes erd
19283 \end_inset
19284
19285 .
19286 \end_layout
19287
19288 \end_inset
19289
19290
19291 \end_layout
19292
19293 \begin_layout Standard
19294 \begin_inset VSpace bigskip
19295 \end_inset
19296
19297 For more details about float placements, have a look at LaTeX books, 
19298 \begin_inset LatexCommand cite
19299 key "latexcompanion,latexguide,latexbook"
19300
19301 \end_inset
19302
19303 .
19304 \end_layout
19305
19306 \begin_layout Section
19307 Rotated Floats
19308 \begin_inset LatexCommand label
19309 name "sec:Rotated-Floats"
19310
19311 \end_inset
19312
19313
19314 \begin_inset LatexCommand index
19315 name "Floats ! Rotating"
19316
19317 \end_inset
19318
19319
19320 \end_layout
19321
19322 \begin_layout Standard
19323 Especially for wide tables you might have floats rotated.
19324  To rotate a whole float including the caption, right-click on the float-box
19325  and use the option 
19326 \family sans
19327 Rotate\InsetSpace ~
19328 sideways
19329 \family default
19330 .
19331 \end_layout
19332
19333 \begin_layout Standard
19334 Rotated floats are always placed on its own page (or column, when you have
19335  a two-column document).
19336  They are normally rotated so that you can read them from the outside margin
19337  -- to the left on even pages, to the right on odd pages.
19338  To force a certain rotation direction for all pages, you can add either
19339  the option 
19340 \series bold
19341 f\SpecialChar \textcompwordmark{}
19342 iguresleft
19343 \series default
19344  or 
19345 \series bold
19346 f\SpecialChar \textcompwordmark{}
19347 iguresright
19348 \series default
19349  to the document class options.
19350 \end_layout
19351
19352 \begin_layout Standard
19353 Referencing rotated floats is the same like for normal floats, the caption
19354  format is also the same: Table\InsetSpace ~
19355
19356 \begin_inset LatexCommand ref
19357 reference "tab:Rotated-table"
19358
19359 \end_inset
19360
19361  is an example of a rotated table float.
19362 \end_layout
19363
19364 \begin_layout Standard
19365 \begin_inset Note Greyedout
19366 status open
19367
19368 \begin_layout Standard
19369
19370 \series bold
19371 Note:
19372 \series default
19373  Not all DVI-viewers are able to display rotated floats.
19374 \end_layout
19375
19376 \end_inset
19377
19378
19379 \end_layout
19380
19381 \begin_layout Standard
19382 \begin_inset Float table
19383 wide false
19384 sideways true
19385 status open
19386
19387 \begin_layout Standard
19388 \begin_inset Caption
19389
19390 \begin_layout Standard
19391 \begin_inset LatexCommand label
19392 name "tab:Rotated-table"
19393
19394 \end_inset
19395
19396  Rotated table
19397 \end_layout
19398
19399 \end_inset
19400
19401
19402 \end_layout
19403
19404 \begin_layout Standard
19405 \align center
19406 \begin_inset Tabular
19407 <lyxtabular version="3" rows="1" columns="5">
19408 <features>
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" width="0">
19413 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
19414 <row topline="true" bottomline="true">
19415 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19416 \begin_inset Text
19417
19418 \begin_layout Standard
19419 test
19420 \end_layout
19421
19422 \end_inset
19423 </cell>
19424 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19425 \begin_inset Text
19426
19427 \begin_layout Standard
19428 b
19429 \end_layout
19430
19431 \end_inset
19432 </cell>
19433 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19434 \begin_inset Text
19435
19436 \begin_layout Standard
19437 c
19438 \end_layout
19439
19440 \end_inset
19441 </cell>
19442 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19443 \begin_inset Text
19444
19445 \begin_layout Standard
19446 d
19447 \end_layout
19448
19449 \end_inset
19450 </cell>
19451 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19452 \begin_inset Text
19453
19454 \begin_layout Standard
19455 e
19456 \end_layout
19457
19458 \end_inset
19459 </cell>
19460 </row>
19461 </lyxtabular>
19462
19463 \end_inset
19464
19465
19466 \end_layout
19467
19468 \end_inset
19469
19470
19471 \end_layout
19472
19473 \begin_layout Section
19474 Caption Formatting
19475 \begin_inset LatexCommand index
19476 name "Caption ! Formatting"
19477
19478 \end_inset
19479
19480
19481 \begin_inset LatexCommand index
19482 name "Floats ! Caption Formatting"
19483
19484 \end_inset
19485
19486
19487 \begin_inset LatexCommand index
19488 name "LaTeX-packages ! caption"
19489
19490 \end_inset
19491
19492
19493 \begin_inset LatexCommand label
19494 name "sec:Caption-Formatting"
19495
19496 \end_inset
19497
19498
19499 \end_layout
19500
19501 \begin_layout Standard
19502 The 
19503 \family sans
19504 Caption
19505 \family default
19506  environment is the default paragraph environment for 
19507 \family sans
19508 Floats
19509 \family default
19510 .
19511  On the LyX screen captions appear as label, e.\InsetSpace \thinspace{}
19512 g.\InsetSpace ~
19513
19514 \begin_inset Quotes eld
19515 \end_inset
19516
19517
19518 \family sans
19519 Figure #:
19520 \family default
19521
19522 \begin_inset Quotes erd
19523 \end_inset
19524
19525  followed by the caption text.
19526  
19527 \begin_inset Quotes eld
19528 \end_inset
19529
19530 #
19531 \begin_inset Quotes erd
19532 \end_inset
19533
19534  is the actual reference number.
19535  By default the label and the number are in the same font as the caption
19536  text and a colon follows the number to divide the label from the text.
19537  This caption format is not suitable for all document formats.
19538  
19539 \end_layout
19540
19541 \begin_layout Standard
19542 To change the default caption format, load the LaTeX-package 
19543 \series bold
19544 caption
19545 \series default
19546
19547 \begin_inset LatexCommand index
19548 name "LaTeX-packages ! caption"
19549
19550 \end_inset
19551
19552  in the document preamble with this line:
19553 \end_layout
19554
19555 \begin_layout Standard
19556
19557 \series bold
19558
19559 \backslash
19560 usepackage[format definition]{caption}
19561 \end_layout
19562
19563 \begin_layout Standard
19564 To have for example the label and the number in sans-serif bold font and
19565  the table captions always above the table like in this document, use the
19566  following command:
19567 \end_layout
19568
19569 \begin_layout Standard
19570
19571 \series bold
19572
19573 \backslash
19574 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
19575 \end_layout
19576
19577 \begin_layout Standard
19578 You can also define different caption formats for the different float types.
19579  In this case load the 
19580 \series bold
19581 caption
19582 \series default
19583  package without format specific options and define the different formats
19584  with the help of the command
19585 \end_layout
19586
19587 \begin_layout Standard
19588
19589 \series bold
19590
19591 \backslash
19592 captionsetup[float type]{format definition}
19593 \end_layout
19594
19595 \begin_layout Standard
19596 in the document preamble.
19597  For example the caption formats of Figure\InsetSpace ~
19598
19599 \begin_inset LatexCommand ref
19600 reference "fig:This-is-an-fig"
19601
19602 \end_inset
19603
19604  and Table\InsetSpace ~
19605
19606 \begin_inset LatexCommand ref
19607 reference "tab:This-is-an-tab"
19608
19609 \end_inset
19610
19611  can be created using these commands in the document preamble:
19612 \end_layout
19613
19614 \begin_layout Standard
19615
19616 \series bold
19617
19618 \backslash
19619 usepackage[tableposition=top]{caption}
19620 \series default
19621
19622 \newline
19623
19624 \series bold
19625
19626 \backslash
19627 captionsetup[f\SpecialChar \textcompwordmark{}
19628 igure]{labelfont={tt}, textfont=it, indention=1cm,%
19629 \newline
19630
19631 \begin_inset ERT
19632 status collapsed
19633
19634 \begin_layout Standard
19635
19636
19637 \backslash
19638 hphantom{
19639 \backslash
19640
19641 \backslash
19642 captionsetup[figure]
19643 \backslash
19644 {}
19645 \end_layout
19646
19647 \end_inset
19648
19649  labelsep=period}
19650 \newline
19651
19652 \backslash
19653 captionsetup[table]{labelfont={bf,sf}}
19654 \end_layout
19655
19656 \begin_layout Standard
19657 \begin_inset Note Greyedout
19658 status open
19659
19660 \begin_layout Standard
19661
19662 \series bold
19663 Note:
19664 \series default
19665  The option 
19666 \series bold
19667 tableposition=top
19668 \series default
19669  has no effect when a 
19670 \series bold
19671 koma-script
19672 \series default
19673
19674 \begin_inset LatexCommand index
19675 name "LaTeX-packages ! koma-script"
19676
19677 \end_inset
19678
19679  document class is used.
19680  In this case the document class option 
19681 \series bold
19682 tablecaptionabove
19683 \series default
19684  must be used.
19685 \end_layout
19686
19687 \end_inset
19688
19689
19690 \end_layout
19691
19692 \begin_layout Standard
19693 For more information about the package 
19694 \series bold
19695 caption
19696 \series default
19697  we refer to its documentation 
19698 \begin_inset LatexCommand cite
19699 key "caption,caption-de"
19700
19701 \end_inset
19702
19703 .
19704 \end_layout
19705
19706 \begin_layout Standard
19707 To change the label name from e.g.
19708  
19709 \begin_inset Quotes eld
19710 \end_inset
19711
19712 Figure
19713 \begin_inset Quotes erd
19714 \end_inset
19715
19716  to 
19717 \begin_inset Quotes eld
19718 \end_inset
19719
19720 Image
19721 \begin_inset Quotes erd
19722 \end_inset
19723
19724  use this preamble command:
19725 \end_layout
19726
19727 \begin_layout Standard
19728
19729 \series bold
19730
19731 \backslash
19732 renewcommand{
19733 \backslash
19734 fnum@figure}{Image~
19735 \backslash
19736 thefigure}
19737 \end_layout
19738
19739 \begin_layout Standard
19740 where 
19741 \series bold
19742
19743 \backslash
19744 thefigure
19745 \series default
19746  inserts the figure number and
19747 \series bold
19748  
19749 \begin_inset Quotes eld
19750 \end_inset
19751
19752 ~
19753 \series default
19754
19755 \begin_inset Quotes erd
19756 \end_inset
19757
19758  creates a protected space.
19759 \end_layout
19760
19761 \begin_layout Standard
19762 \begin_inset VSpace bigskip
19763 \end_inset
19764
19765 If you are using a 
19766 \series bold
19767 koma-script
19768 \series default
19769
19770 \begin_inset LatexCommand index
19771 name "LaTeX-packages ! koma-script"
19772
19773 \end_inset
19774
19775  document class (
19776 \family sans
19777 article (koma-script)
19778 \family default
19779
19780 \family sans
19781 book (koma-script)
19782 \family default
19783
19784 \family sans
19785 letter (koma-script)
19786 \family default
19787 , or 
19788 \family sans
19789 report (koma-script)
19790 \family default
19791 \InsetSpace \thinspace{}
19792 ), you can alternatively to the 
19793 \series bold
19794 caption
19795 \series default
19796  package use 
19797 \series bold
19798 koma-script
19799 \series default
19800 's built-in command 
19801 \series bold
19802
19803 \backslash
19804 setkomafont
19805 \series default
19806 .
19807  For example, to have the caption label in bold, add this command to your
19808  document preamble:
19809 \end_layout
19810
19811 \begin_layout Standard
19812
19813 \series bold
19814
19815 \backslash
19816 setkomafont{captionlabel}{
19817 \backslash
19818 bfseries}
19819 \end_layout
19820
19821 \begin_layout Standard
19822 For more information about 
19823 \series bold
19824
19825 \backslash
19826 setkomafont
19827 \series default
19828  we refer to the 
19829 \series bold
19830 koma-script
19831 \series default
19832  documentation 
19833 \begin_inset LatexCommand cite
19834 key "koma-script,koma-script-de"
19835
19836 \end_inset
19837
19838 .
19839 \end_layout
19840
19841 \begin_layout Standard
19842 \begin_inset ERT
19843 status collapsed
19844
19845 \begin_layout Standard
19846
19847
19848 \backslash
19849 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
19850 }
19851 \end_layout
19852
19853 \end_inset
19854
19855
19856 \begin_inset Note Note
19857 status open
19858
19859 \begin_layout Standard
19860 The caption format is changed only for this example.
19861 \end_layout
19862
19863 \end_inset
19864
19865
19866 \end_layout
19867
19868 \begin_layout Standard
19869 \begin_inset Float figure
19870 placement !p
19871 wide false
19872 sideways false
19873 status open
19874
19875 \begin_layout Standard
19876 \align center
19877 \begin_inset Graphics
19878         filename clipart/mobius.eps
19879         lyxscale 50
19880         scale 50
19881         scaleBeforeRotation
19882
19883 \end_inset
19884
19885
19886 \end_layout
19887
19888 \begin_layout Standard
19889 \begin_inset Caption
19890
19891 \begin_layout Standard
19892 \begin_inset LatexCommand label
19893 name "fig:This-is-an-fig"
19894
19895 \end_inset
19896
19897 This is an example figure caption that is longer than one line to show the
19898  different caption format.
19899  Here a self-defined caption format is used.
19900 \end_layout
19901
19902 \end_inset
19903
19904
19905 \end_layout
19906
19907 \end_inset
19908
19909
19910 \end_layout
19911
19912 \begin_layout Standard
19913 \begin_inset ERT
19914 status collapsed
19915
19916 \begin_layout Standard
19917
19918
19919 \backslash
19920 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
19921 on}
19922 \end_layout
19923
19924 \end_inset
19925
19926
19927 \end_layout
19928
19929 \begin_layout Standard
19930 \begin_inset Float table
19931 placement !p
19932 wide false
19933 sideways false
19934 status open
19935
19936 \begin_layout Standard
19937 \begin_inset Caption
19938
19939 \begin_layout Standard
19940 \begin_inset LatexCommand label
19941 name "tab:This-is-an-tab"
19942
19943 \end_inset
19944
19945 This is an example table caption that is longer than one line to show the
19946  different caption format.
19947  Here the standard caption format for tables in this document is used.
19948 \end_layout
19949
19950 \end_inset
19951
19952
19953 \end_layout
19954
19955 \begin_layout Standard
19956 \align center
19957 \begin_inset Tabular
19958 <lyxtabular version="3" rows="1" columns="5">
19959 <features>
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" width="0">
19964 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
19965 <row topline="true" bottomline="true">
19966 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19967 \begin_inset Text
19968
19969 \begin_layout Standard
19970 a
19971 \end_layout
19972
19973 \end_inset
19974 </cell>
19975 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19976 \begin_inset Text
19977
19978 \begin_layout Standard
19979 b
19980 \end_layout
19981
19982 \end_inset
19983 </cell>
19984 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19985 \begin_inset Text
19986
19987 \begin_layout Standard
19988 c
19989 \end_layout
19990
19991 \end_inset
19992 </cell>
19993 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19994 \begin_inset Text
19995
19996 \begin_layout Standard
19997 d
19998 \end_layout
19999
20000 \end_inset
20001 </cell>
20002 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20003 \begin_inset Text
20004
20005 \begin_layout Standard
20006 e
20007 \end_layout
20008
20009 \end_inset
20010 </cell>
20011 </row>
20012 </lyxtabular>
20013
20014 \end_inset
20015
20016
20017 \end_layout
20018
20019 \end_inset
20020
20021
20022 \end_layout
20023
20024 \begin_layout Section
20025 Caption Placement
20026 \begin_inset LatexCommand index
20027 name "Caption ! Placement"
20028
20029 \end_inset
20030
20031
20032 \begin_inset LatexCommand index
20033 name "Floats ! Caption Placement"
20034
20035 \end_inset
20036
20037
20038 \begin_inset LatexCommand label
20039 name "sec:Caption-Placement"
20040
20041 \end_inset
20042
20043
20044 \end_layout
20045
20046 \begin_layout Standard
20047 The common caption placement rule is:
20048 \end_layout
20049
20050 \begin_layout Description
20051 Figure: Caption is set below the figure
20052 \end_layout
20053
20054 \begin_layout Description
20055 Table: Caption is set above the table
20056 \end_layout
20057
20058 \begin_layout Standard
20059 Having the caption above the table is unfortunately not supported in LaTeX's
20060  standard classes.
20061  That means if you are using the document classes 
20062 \family sans
20063 article
20064 \family default
20065
20066 \family sans
20067 book
20068 \family default
20069
20070 \family sans
20071 letter
20072 \family default
20073 , or 
20074 \family sans
20075 report
20076 \family default
20077  there will be no space between the caption and the table.
20078  To insert the needed space, add the following option to the load command
20079  of the LaTeX-package 
20080 \series bold
20081 caption
20082 \series default
20083  in your document preamble
20084 \begin_inset Foot
20085 status collapsed
20086
20087 \begin_layout Standard
20088 See section\InsetSpace ~
20089
20090 \begin_inset LatexCommand ref
20091 reference "sec:Caption-Formatting"
20092
20093 \end_inset
20094
20095  for more information of the package 
20096 \series bold
20097 caption
20098 \series default
20099 .
20100 \end_layout
20101
20102 \end_inset
20103
20104 :
20105 \end_layout
20106
20107 \begin_layout Standard
20108
20109 \series bold
20110 tableposition=top
20111 \end_layout
20112
20113 \begin_layout Standard
20114 If you are using a 
20115 \series bold
20116 koma-script
20117 \series default
20118
20119 \begin_inset LatexCommand index
20120 name "LaTeX-packages ! koma-script"
20121
20122 \end_inset
20123
20124  document class (
20125 \family sans
20126 article (koma-script)
20127 \family default
20128
20129 \family sans
20130 book (koma-script)
20131 \family default
20132
20133 \family sans
20134 letter (koma-script)
20135 \family default
20136 , or 
20137 \family sans
20138 report (koma-script)
20139 \family default
20140 \InsetSpace \thinspace{}
20141 ), you can alternatively to the 
20142 \series bold
20143 caption
20144 \series default
20145  package set the document class option 
20146 \series bold
20147 tablecaptionabove
20148 \series default
20149 .
20150 \end_layout
20151
20152 \begin_layout Standard
20153 \begin_inset VSpace bigskip
20154 \end_inset
20155
20156 It is also possible to set the caption beside a figure or table.
20157  To get this the LaTeX-package 
20158 \series bold
20159 sidecap
20160 \series default
20161
20162 \begin_inset LatexCommand index
20163 name "LaTeX-packages ! sidecap"
20164
20165 \end_inset
20166
20167  has to be loaded in the document preamble with the line
20168 \end_layout
20169
20170 \begin_layout Standard
20171
20172 \series bold
20173
20174 \backslash
20175 usepackage[option]{sidecap}
20176 \end_layout
20177
20178 \begin_layout Standard
20179 If you set no option, the caption is placed on the side of the outer page
20180  margin -- to the right on odd pages, to the left on even pages.
20181  You can change the placement to inner margin with the option 
20182 \series bold
20183 innercaption
20184 \series default
20185 .
20186  To force the placement always to the right or left, use the option 
20187 \series bold
20188 rightcaption
20189 \series default
20190  or 
20191 \series bold
20192 leftcaption
20193 \series default
20194 , respectively.
20195 \end_layout
20196
20197 \begin_layout Standard
20198 To place in LyX the caption of a float on the side, it is necessary to add
20199  these commands to the document preamble:
20200 \end_layout
20201
20202 \begin_layout Standard
20203
20204 \lyxline
20205
20206 \end_layout
20207
20208 \begin_layout Standard
20209
20210 \series bold
20211
20212 \backslash
20213 newcommand{
20214 \backslash
20215 TabBesBeg}{%
20216 \newline
20217
20218 \begin_inset ERT
20219 status collapsed
20220
20221 \begin_layout Standard
20222
20223
20224 \backslash
20225 hphantom{ }
20226 \end_layout
20227
20228 \end_inset
20229
20230
20231 \backslash
20232 let
20233 \backslash
20234 MyTable
20235 \backslash
20236 table
20237 \newline
20238
20239 \begin_inset ERT
20240 status collapsed
20241
20242 \begin_layout Standard
20243
20244
20245 \backslash
20246 hphantom{ }
20247 \end_layout
20248
20249 \end_inset
20250
20251
20252 \backslash
20253 let
20254 \backslash
20255 MyEndtable
20256 \backslash
20257 endtable
20258 \newline
20259
20260 \begin_inset ERT
20261 status collapsed
20262
20263 \begin_layout Standard
20264
20265
20266 \backslash
20267 hphantom{ }
20268 \end_layout
20269
20270 \end_inset
20271
20272
20273 \backslash
20274 renewenvironment{table}{
20275 \backslash
20276 begin{SCtable}}{
20277 \backslash
20278 end{SCtable}}}
20279 \end_layout
20280
20281 \begin_layout Standard
20282
20283 \series bold
20284
20285 \backslash
20286 newcommand{
20287 \backslash
20288 TabBesEnd}{%
20289 \newline
20290
20291 \begin_inset ERT
20292 status collapsed
20293
20294 \begin_layout Standard
20295
20296
20297 \backslash
20298 hphantom{ }
20299 \end_layout
20300
20301 \end_inset
20302
20303
20304 \backslash
20305 let
20306 \backslash
20307 table
20308 \backslash
20309 MyTable
20310 \newline
20311
20312 \begin_inset ERT
20313 status collapsed
20314
20315 \begin_layout Standard
20316
20317
20318 \backslash
20319 hphantom{ }
20320 \end_layout
20321
20322 \end_inset
20323
20324
20325 \backslash
20326 let
20327 \backslash
20328 endtable
20329 \backslash
20330 MyEndtable
20331 \end_layout
20332
20333 \begin_layout Standard
20334
20335 \series bold
20336
20337 \backslash
20338 newcommand{
20339 \backslash
20340 FigBesBeg}{%
20341 \newline
20342
20343 \begin_inset ERT
20344 status collapsed
20345
20346 \begin_layout Standard
20347
20348
20349 \backslash
20350 hphantom{ }
20351 \end_layout
20352
20353 \end_inset
20354
20355
20356 \backslash
20357 let
20358 \backslash
20359 MyFigure
20360 \backslash
20361 f\SpecialChar \textcompwordmark{}
20362 igure
20363 \newline
20364
20365 \begin_inset ERT
20366 status collapsed
20367
20368 \begin_layout Standard
20369
20370
20371 \backslash
20372 hphantom{ }
20373 \end_layout
20374
20375 \end_inset
20376
20377
20378 \backslash
20379 let
20380 \backslash
20381 MyEndf\SpecialChar \textcompwordmark{}
20382 igure
20383 \backslash
20384 endf\SpecialChar \textcompwordmark{}
20385 igure
20386 \newline
20387
20388 \begin_inset ERT
20389 status collapsed
20390
20391 \begin_layout Standard
20392
20393
20394 \backslash
20395 hphantom{ }
20396 \end_layout
20397
20398 \end_inset
20399
20400
20401 \backslash
20402 renewenvironment{f\SpecialChar \textcompwordmark{}
20403 igure}{
20404 \backslash
20405 begin{SCf\SpecialChar \textcompwordmark{}
20406 igure}}{
20407 \backslash
20408 end{SCf\SpecialChar \textcompwordmark{}
20409 igure}}}
20410 \end_layout
20411
20412 \begin_layout Standard
20413
20414 \series bold
20415
20416 \backslash
20417 newcommand{
20418 \backslash
20419 FigBesEnd}{%
20420 \newline
20421
20422 \begin_inset ERT
20423 status collapsed
20424
20425 \begin_layout Standard
20426
20427
20428 \backslash
20429 hphantom{ }
20430 \end_layout
20431
20432 \end_inset
20433
20434
20435 \backslash
20436 let
20437 \backslash
20438 f\SpecialChar \textcompwordmark{}
20439 igure
20440 \backslash
20441 MyFigure
20442 \newline
20443
20444 \begin_inset ERT
20445 status collapsed
20446
20447 \begin_layout Standard
20448
20449
20450 \backslash
20451 hphantom{ }
20452 \end_layout
20453
20454 \end_inset
20455
20456
20457 \backslash
20458 let
20459 \backslash
20460 endf\SpecialChar \textcompwordmark{}
20461 igure
20462 \backslash
20463 MyEndf\SpecialChar \textcompwordmark{}
20464 igure}
20465 \end_layout
20466
20467 \begin_layout Standard
20468
20469 \lyxline
20470
20471 \end_layout
20472
20473 \begin_layout Standard
20474 The commands allow you to redefine the floats so that the caption is set
20475  on the side.
20476  For figure floats use the command
20477 \end_layout
20478
20479 \begin_layout Standard
20480
20481 \series bold
20482
20483 \backslash
20484 FigBesBeg
20485 \end_layout
20486
20487 \begin_layout Standard
20488 in ERT before the float.
20489  Behind the float insert the command
20490 \end_layout
20491
20492 \begin_layout Standard
20493
20494 \series bold
20495
20496 \backslash
20497 FigBesEnd
20498 \end_layout
20499
20500 \begin_layout Standard
20501 in ERT to get back to the original float definition.
20502 \end_layout
20503
20504 \begin_layout Standard
20505 For table floats use the corresponding commands
20506 \end_layout
20507
20508 \begin_layout Standard
20509
20510 \series bold
20511
20512 \backslash
20513 TabBesBeg
20514 \series default
20515  and 
20516 \series bold
20517
20518 \backslash
20519 TabBesEnd
20520 \end_layout
20521
20522 \begin_layout Standard
20523 Figure\InsetSpace ~
20524
20525 \begin_inset LatexCommand ref
20526 reference "fig:cap-beside-fig"
20527
20528 \end_inset
20529
20530  and Table\InsetSpace ~
20531
20532 \begin_inset LatexCommand ref
20533 reference "tab:cap-beside-tab"
20534
20535 \end_inset
20536
20537  are examples where the caption is set beside.
20538 \end_layout
20539
20540 \begin_layout Standard
20541 You can see in the examples that the caption text appears at the top of
20542  the floats for table floats and at the bottom for figure floats.
20543  To change this, you can use the command
20544 \end_layout
20545
20546 \begin_layout Standard
20547
20548 \series bold
20549
20550 \backslash
20551 sidecaptionvpos{float type}{placement}
20552 \end_layout
20553
20554 \begin_layout Standard
20555 in the document preamble or in ERT before the float.
20556  The float type is either 
20557 \family sans
20558 figure
20559 \family default
20560  or 
20561 \family sans
20562 table
20563 \family default
20564 , the placement can be 
20565 \begin_inset Quotes eld
20566 \end_inset
20567
20568
20569 \family sans
20570 t
20571 \family default
20572
20573 \begin_inset Quotes erd
20574 \end_inset
20575
20576  for top, 
20577 \begin_inset Quotes eld
20578 \end_inset
20579
20580
20581 \family sans
20582 c
20583 \family default
20584
20585 \begin_inset Quotes erd
20586 \end_inset
20587
20588  for center, or 
20589 \begin_inset Quotes eld
20590 \end_inset
20591
20592
20593 \family sans
20594 b
20595 \family default
20596
20597 \begin_inset Quotes erd
20598 \end_inset
20599
20600  for bottom.
20601  To have for example the caption of figure floats vertically centered, use
20602  the command
20603 \end_layout
20604
20605 \begin_layout Standard
20606
20607 \series bold
20608
20609 \backslash
20610 sidecaptionvpos{f\SpecialChar \textcompwordmark{}
20611 igure}{c}
20612 \end_layout
20613
20614 \begin_layout Standard
20615 This was used for Figure\InsetSpace ~
20616
20617 \begin_inset LatexCommand ref
20618 reference "fig:cap-beside-fig-2"
20619
20620 \end_inset
20621
20622 .
20623 \end_layout
20624
20625 \begin_layout Standard
20626 \begin_inset VSpace medskip
20627 \end_inset
20628
20629 For more information about the package 
20630 \series bold
20631 sidecap
20632 \series default
20633  we refer to its documentation 
20634 \begin_inset LatexCommand cite
20635 key "sidecap"
20636
20637 \end_inset
20638
20639 .
20640 \end_layout
20641
20642 \begin_layout Standard
20643 \begin_inset Note Greyedout
20644 status open
20645
20646 \begin_layout Standard
20647
20648 \series bold
20649 Note:
20650 \series default
20651  The LaTeX-package 
20652 \series bold
20653 hypcap
20654 \series default
20655
20656 \begin_inset LatexCommand index
20657 name "LaTeX-packages ! hypcap"
20658
20659 \end_inset
20660
20661 , described in section\InsetSpace ~
20662
20663 \begin_inset LatexCommand ref
20664 reference "sub:Reference-Position"
20665
20666 \end_inset
20667
20668 , has no effect on floats with the caption set beside.
20669 \end_layout
20670
20671 \end_inset
20672
20673
20674 \end_layout
20675
20676 \begin_layout Standard
20677 \begin_inset ERT
20678 status collapsed
20679
20680 \begin_layout Standard
20681
20682
20683 \backslash
20684 FigBesBeg 
20685 \end_layout
20686
20687 \end_inset
20688
20689
20690 \end_layout
20691
20692 \begin_layout Standard
20693 \begin_inset Float figure
20694 wide false
20695 sideways false
20696 status open
20697
20698 \begin_layout Standard
20699 \begin_inset Graphics
20700         filename clipart/escher-lsd.eps
20701         scale 75
20702         scaleBeforeRotation
20703
20704 \end_inset
20705
20706
20707 \end_layout
20708
20709 \begin_layout Standard
20710 \begin_inset Caption
20711
20712 \begin_layout Standard
20713 \begin_inset LatexCommand label
20714 name "fig:cap-beside-fig"
20715
20716 \end_inset
20717
20718 This is a caption beside a figure.
20719 \end_layout
20720
20721 \end_inset
20722
20723
20724 \end_layout
20725
20726 \end_inset
20727
20728
20729 \end_layout
20730
20731 \begin_layout Standard
20732 \begin_inset ERT
20733 status collapsed
20734
20735 \begin_layout Standard
20736
20737
20738 \backslash
20739 TabBesBeg 
20740 \end_layout
20741
20742 \end_inset
20743
20744
20745 \end_layout
20746
20747 \begin_layout Standard
20748 \begin_inset Float table
20749 wide false
20750 sideways false
20751 status open
20752
20753 \begin_layout Standard
20754 \begin_inset Caption
20755
20756 \begin_layout Standard
20757 \begin_inset LatexCommand label
20758 name "tab:cap-beside-tab"
20759
20760 \end_inset
20761
20762 This is a caption beside a table.
20763 \end_layout
20764
20765 \end_inset
20766
20767
20768 \end_layout
20769
20770 \begin_layout Standard
20771 \begin_inset Tabular
20772 <lyxtabular version="3" rows="4" columns="5">
20773 <features>
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" width="0">
20778 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
20779 <row topline="true">
20780 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20781 \begin_inset Text
20782
20783 \begin_layout Standard
20784 a
20785 \end_layout
20786
20787 \end_inset
20788 </cell>
20789 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20790 \begin_inset Text
20791
20792 \begin_layout Standard
20793
20794 \end_layout
20795
20796 \end_inset
20797 </cell>
20798 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20799 \begin_inset Text
20800
20801 \begin_layout Standard
20802 b
20803 \end_layout
20804
20805 \end_inset
20806 </cell>
20807 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20808 \begin_inset Text
20809
20810 \begin_layout Standard
20811
20812 \end_layout
20813
20814 \end_inset
20815 </cell>
20816 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20817 \begin_inset Text
20818
20819 \begin_layout Standard
20820 c
20821 \end_layout
20822
20823 \end_inset
20824 </cell>
20825 </row>
20826 <row topline="true">
20827 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20828 \begin_inset Text
20829
20830 \begin_layout Standard
20831
20832 \end_layout
20833
20834 \end_inset
20835 </cell>
20836 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20837 \begin_inset Text
20838
20839 \begin_layout Standard
20840 d
20841 \end_layout
20842
20843 \end_inset
20844 </cell>
20845 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20846 \begin_inset Text
20847
20848 \begin_layout Standard
20849
20850 \end_layout
20851
20852 \end_inset
20853 </cell>
20854 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20855 \begin_inset Text
20856
20857 \begin_layout Standard
20858 e
20859 \end_layout
20860
20861 \end_inset
20862 </cell>
20863 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20864 \begin_inset Text
20865
20866 \begin_layout Standard
20867
20868 \end_layout
20869
20870 \end_inset
20871 </cell>
20872 </row>
20873 <row topline="true">
20874 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20875 \begin_inset Text
20876
20877 \begin_layout Standard
20878 f
20879 \end_layout
20880
20881 \end_inset
20882 </cell>
20883 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20884 \begin_inset Text
20885
20886 \begin_layout Standard
20887
20888 \end_layout
20889
20890 \end_inset
20891 </cell>
20892 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20893 \begin_inset Text
20894
20895 \begin_layout Standard
20896 g
20897 \end_layout
20898
20899 \end_inset
20900 </cell>
20901 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20902 \begin_inset Text
20903
20904 \begin_layout Standard
20905
20906 \end_layout
20907
20908 \end_inset
20909 </cell>
20910 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20911 \begin_inset Text
20912
20913 \begin_layout Standard
20914 h
20915 \end_layout
20916
20917 \end_inset
20918 </cell>
20919 </row>
20920 <row topline="true" bottomline="true">
20921 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20922 \begin_inset Text
20923
20924 \begin_layout Standard
20925
20926 \end_layout
20927
20928 \end_inset
20929 </cell>
20930 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20931 \begin_inset Text
20932
20933 \begin_layout Standard
20934 i
20935 \end_layout
20936
20937 \end_inset
20938 </cell>
20939 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20940 \begin_inset Text
20941
20942 \begin_layout Standard
20943
20944 \end_layout
20945
20946 \end_inset
20947 </cell>
20948 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20949 \begin_inset Text
20950
20951 \begin_layout Standard
20952 j
20953 \end_layout
20954
20955 \end_inset
20956 </cell>
20957 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20958 \begin_inset Text
20959
20960 \begin_layout Standard
20961
20962 \end_layout
20963
20964 \end_inset
20965 </cell>
20966 </row>
20967 </lyxtabular>
20968
20969 \end_inset
20970
20971
20972 \end_layout
20973
20974 \end_inset
20975
20976
20977 \end_layout
20978
20979 \begin_layout Standard
20980 \begin_inset ERT
20981 status collapsed
20982
20983 \begin_layout Standard
20984
20985
20986 \backslash
20987 TabBesEnd
20988 \end_layout
20989
20990 \end_inset
20991
20992
20993 \end_layout
20994
20995 \begin_layout Standard
20996 \begin_inset ERT
20997 status collapsed
20998
20999 \begin_layout Standard
21000
21001
21002 \backslash
21003 sidecaptionvpos{figure}{c}
21004 \end_layout
21005
21006 \end_inset
21007
21008
21009 \begin_inset Float figure
21010 wide false
21011 sideways false
21012 status open
21013
21014 \begin_layout Standard
21015 \begin_inset Graphics
21016         filename clipart/escher-lsd.eps
21017         scale 75
21018         scaleBeforeRotation
21019
21020 \end_inset
21021
21022
21023 \end_layout
21024
21025 \begin_layout Standard
21026 \begin_inset Caption
21027
21028 \begin_layout Standard
21029 \begin_inset LatexCommand label
21030 name "fig:cap-beside-fig-2"
21031
21032 \end_inset
21033
21034 This is a vertically centered caption beside a figure.
21035 \end_layout
21036
21037 \end_inset
21038
21039
21040 \end_layout
21041
21042 \end_inset
21043
21044
21045 \end_layout
21046
21047 \begin_layout Standard
21048 \begin_inset ERT
21049 status collapsed
21050
21051 \begin_layout Standard
21052
21053
21054 \backslash
21055 FigBesEnd
21056 \end_layout
21057
21058 \end_inset
21059
21060
21061 \end_layout
21062
21063 \begin_layout Section
21064 Listings of Floats
21065 \begin_inset LatexCommand label
21066 name "sec:Listings-of-Floats"
21067
21068 \end_inset
21069
21070
21071 \begin_inset LatexCommand index
21072 name "Floats ! Float Lists"
21073
21074 \end_inset
21075
21076
21077 \end_layout
21078
21079 \begin_layout Standard
21080 Similar to the the table of contents where the sections of the document
21081  are listed, there are listings for all float types, like the figures of
21082  the documents.
21083  You can insert them via the 
21084 \family sans
21085 Insert\SpecialChar \menuseparator
21086 List\InsetSpace ~
21087 /\InsetSpace ~
21088 TOC
21089 \family default
21090  sub menus.
21091 \end_layout
21092
21093 \begin_layout Standard
21094 The list entries are the float captions or its short title, the float number,
21095  and the page number where they appear in the document.
21096 \end_layout
21097
21098 \begin_layout Standard
21099 You can find the list of figures and tables at the end of this document.
21100 \end_layout
21101
21102 \begin_layout Chapter
21103 Notes
21104 \end_layout
21105
21106 \begin_layout Section
21107 \begin_inset ERT
21108 status collapsed
21109
21110 \begin_layout Standard
21111
21112
21113 \backslash
21114 texorpdfstring{
21115 \end_layout
21116
21117 \end_inset
21118
21119 LyX
21120 \begin_inset ERT
21121 status collapsed
21122
21123 \begin_layout Standard
21124
21125 }{LyX}
21126 \end_layout
21127
21128 \end_inset
21129
21130  Notes
21131 \begin_inset LatexCommand label
21132 name "sec:LyX-Notes"
21133
21134 \end_inset
21135
21136
21137 \begin_inset LatexCommand index
21138 name "Notes ! LyX Notes"
21139
21140 \end_inset
21141
21142
21143 \begin_inset Note Note
21144 status collapsed
21145
21146 \begin_layout Standard
21147 The command 
21148 \backslash
21149 texorpdfstring is provided by the LaTeX-package hyperref to avoid that ligatures
21150  are displayed wrongly in PDF-bookmarks.
21151  For more information about this, have a look at 
21152 \begin_inset LatexCommand cite
21153 key "hyperref"
21154
21155 \end_inset
21156
21157 .
21158 \end_layout
21159
21160 \end_inset
21161
21162
21163 \end_layout
21164
21165 \begin_layout Standard
21166 Notes are inserted with the toolbar button 
21167 \begin_inset Graphics
21168         filename ../images/note-insert.xpm
21169         scale 85
21170         scaleBeforeRotation
21171
21172 \end_inset
21173
21174  or the menu 
21175 \family sans
21176 Insert\SpecialChar \menuseparator
21177 Note
21178 \family default
21179 .
21180  There are five types of notes:
21181 \end_layout
21182
21183 \begin_layout Description
21184 LyX\InsetSpace ~
21185 Note This note type is for internal notes that won't appear in the output.
21186  Its note-box looks like this:
21187 \newline
21188
21189 \newline
21190
21191 \begin_inset Graphics
21192         filename clipart/LyXNoteImageQt4.png
21193         display none
21194         scale 85
21195         scaleBeforeRotation
21196
21197 \end_inset
21198
21199  
21200 \begin_inset Note Note
21201 status open
21202
21203 \begin_layout Standard
21204 This is text in a note box that doesn't appear in the output.
21205 \end_layout
21206
21207 \end_inset
21208
21209
21210 \end_layout
21211
21212 \begin_layout Description
21213 Comment This note also doesn't appear in the output but it appears as LaTeX-comm
21214 ent, when you export the document to LaTeX via the menu 
21215 \family sans
21216 File\SpecialChar \menuseparator
21217 Export\SpecialChar \menuseparator
21218 LaTeX (pdflatex) / LaTeX (plain)
21219 \family default
21220 .
21221  Its note-box looks like this:
21222 \newline
21223
21224 \newline
21225
21226 \begin_inset Graphics
21227         filename clipart/CommentNoteImageQt4.png
21228         display none
21229         scale 85
21230         scaleBeforeRotation
21231
21232 \end_inset
21233
21234  
21235 \begin_inset Note Comment
21236 status open
21237
21238 \begin_layout Standard
21239 This is text in a note box that only appears as comment in LaTeX-files.
21240 \end_layout
21241
21242 \end_inset
21243
21244
21245 \end_layout
21246
21247 \begin_layout Description
21248 Greyed\InsetSpace ~
21249 Out This note will appear in the output as grey text.
21250  Its note-box looks like this:
21251 \newline
21252
21253 \newline
21254
21255 \begin_inset Graphics
21256         filename clipart/GreyedOutNoteImageQt4.png
21257         display none
21258         scale 85
21259         scaleBeforeRotation
21260
21261 \end_inset
21262
21263
21264 \newline
21265
21266 \begin_inset ERT
21267 status collapsed
21268
21269 \begin_layout Standard
21270
21271
21272 \backslash
21273 renewenvironment{lyxgreyedout}
21274 \end_layout
21275
21276 \begin_layout Standard
21277
21278 {
21279 \backslash
21280 textcolor[gray]{0.8}
21281 \backslash
21282 bgroup}{
21283 \backslash
21284 egroup}
21285 \end_layout
21286
21287 \end_inset
21288
21289
21290 \begin_inset Note Greyedout
21291 status open
21292
21293 \begin_layout Standard
21294 This is text
21295 \begin_inset Foot
21296 status open
21297
21298 \begin_layout Standard
21299 This is an example footnote within a greyed out note.
21300 \end_layout
21301
21302 \end_inset
21303
21304  of a comment that appears in the output as grey text.
21305 \end_layout
21306
21307 \end_inset
21308
21309
21310 \begin_inset ERT
21311 status collapsed
21312
21313 \begin_layout Standard
21314
21315
21316 \backslash
21317 renewenvironment{lyxgreyedout}
21318 \end_layout
21319
21320 \begin_layout Standard
21321
21322 {
21323 \backslash
21324 textcolor{blue}
21325 \backslash
21326 bgroup}{
21327 \backslash
21328 egroup}
21329 \end_layout
21330
21331 \end_inset
21332
21333
21334 \begin_inset Note Note
21335 status collapsed
21336
21337 \begin_layout Standard
21338 The greyed out note is here redefined to show it with the original LyX definitio
21339 n because greyed out notes are redefined in the preamble of this document,
21340  as described below, to have blue text.
21341 \end_layout
21342
21343 \end_inset
21344
21345
21346 \newline
21347
21348 \newline
21349 As you can see in the example, the first line of greyed out notes is a bit
21350  indented and greyed out notes can have footnotes.
21351 \end_layout
21352
21353 \begin_layout Description
21354 Framed This note will appear in the output as framed text.
21355  Its note-box looks like this:
21356 \newline
21357
21358 \newline
21359
21360 \begin_inset Graphics
21361         filename clipart/FramedNoteImageQt4.png
21362         display none
21363         scale 85
21364         scaleBeforeRotation
21365
21366 \end_inset
21367
21368  
21369 \begin_inset Note Framed
21370 status open
21371
21372 \begin_layout Standard
21373 This is text in a note box that appears framed in the output.
21374 \end_layout
21375
21376 \end_inset
21377
21378  In contrary to framed boxes
21379 \begin_inset Foot
21380 status collapsed
21381
21382 \begin_layout Standard
21383 Framed boxes are described in section\InsetSpace ~
21384
21385 \begin_inset LatexCommand ref
21386 reference "sec:Framed-Boxes"
21387
21388 \end_inset
21389
21390 .
21391 \end_layout
21392
21393 \end_inset
21394
21395  the frame uses always the whole text width and the note is set into its
21396  own paragraph.
21397 \end_layout
21398
21399 \begin_layout Description
21400 Shaded This note will appear in the output with red background color.
21401  Its note box looks like this:
21402 \newline
21403
21404 \newline
21405
21406 \begin_inset Graphics
21407         filename clipart/ShadedNoteImageQt4.png
21408         display none
21409         scale 85
21410         scaleBeforeRotation
21411
21412 \end_inset
21413
21414
21415 \begin_inset Note Shaded
21416 status open
21417
21418 \begin_layout Standard
21419 This text in a note box appears in the output with red background.
21420 \end_layout
21421
21422 \end_inset
21423
21424 In contrary to colored boxes
21425 \begin_inset Foot
21426 status collapsed
21427
21428 \begin_layout Standard
21429 Colored boxes are described in section\InsetSpace ~
21430
21431 \begin_inset LatexCommand ref
21432 reference "sec:Colored-Boxes"
21433
21434 \end_inset
21435
21436 .
21437 \end_layout
21438
21439 \end_inset
21440
21441  the note uses always the whole text width and the note is set into its
21442  own paragraph.
21443 \end_layout
21444
21445 \begin_layout Standard
21446 \begin_inset VSpace bigskip
21447 \end_inset
21448
21449 When you use the toolbar button 
21450 \begin_inset Graphics
21451         filename ../images/note-insert.xpm
21452         scale 85
21453         scaleBeforeRotation
21454
21455 \end_inset
21456
21457  to insert notes, a 
21458 \family sans
21459 LyX\InsetSpace ~
21460 Note
21461 \family default
21462  is inserted.
21463  You can switch between the five note types by right-clicking on the note-box.
21464  
21465 \family roman
21466 \series medium
21467 \bar no
21468 If you want to turn existing text into a note, mark it and click on the
21469  note
21470 \family default
21471 \series default
21472 \bar default
21473  toolbar 
21474 \family roman
21475 \series medium
21476 \bar no
21477 button
21478 \family default
21479 \series default
21480 \bar default
21481 .
21482 \end_layout
21483
21484 \begin_layout Standard
21485 \begin_inset VSpace bigskip
21486 \end_inset
21487
21488 You can change the text color of the greyed out notes in the preamble with
21489  the following command:
21490 \end_layout
21491
21492 \begin_layout Standard
21493
21494 \series bold
21495
21496 \backslash
21497 renewenvironment{lyxgreyedout}
21498 \newline
21499
21500 \begin_inset ERT
21501 status collapsed
21502
21503 \begin_layout Standard
21504
21505
21506 \backslash
21507 hphantom{ }
21508 \end_layout
21509
21510 \end_inset
21511
21512 {
21513 \backslash
21514 textcolor{color}
21515 \backslash
21516 bgroup}{
21517 \backslash
21518 egroup}
21519 \end_layout
21520
21521 \begin_layout Standard
21522 The available colors and the method to define own colors is explained in
21523  section\InsetSpace ~
21524
21525 \begin_inset LatexCommand ref
21526 reference "sec:Colored-Tables"
21527
21528 \end_inset
21529
21530 .
21531 \end_layout
21532
21533 \begin_layout Standard
21534 Notes that appear in blue in this document are set using greyed out notes
21535  with blue text.
21536 \end_layout
21537
21538 \begin_layout Standard
21539 \begin_inset VSpace bigskip
21540 \end_inset
21541
21542
21543 \end_layout
21544
21545 \begin_layout Standard
21546 The text style of 
21547 \family sans
21548 Framed
21549 \family default
21550  and 
21551 \family sans
21552 Shaded
21553 \family default
21554  notes can be set in the 
21555 \family sans
21556 Text Style
21557 \family default
21558  dialog.
21559 \end_layout
21560
21561 \begin_layout Standard
21562 The default frame width for 
21563 \family sans
21564 Framed
21565 \family default
21566  notes is 0.4\InsetSpace \thinspace{}
21567 pt; it can be changed by changing the size 
21568 \series bold
21569
21570 \backslash
21571 FrameRule
21572 \series default
21573 .
21574  The default space between the note content and the frame is 9\InsetSpace \thinspace{}
21575 pt; it can
21576  be changed by changing the size 
21577 \series bold
21578
21579 \backslash
21580 FrameSep
21581 \series default
21582 .
21583  For example the frame appearance of the following 
21584 \family sans
21585 Framed
21586 \family default
21587  note is set with the ERT commands
21588 \end_layout
21589
21590 \begin_layout Standard
21591
21592 \series bold
21593
21594 \backslash
21595 FrameRule 5pt 
21596 \backslash
21597 FrameSep 0.5cm
21598 \end_layout
21599
21600 \begin_layout Standard
21601 \begin_inset ERT
21602 status collapsed
21603
21604 \begin_layout Standard
21605
21606
21607 \backslash
21608 FrameRule 5pt 
21609 \backslash
21610 FrameSep 0.5cm
21611 \end_layout
21612
21613 \end_inset
21614
21615
21616 \begin_inset Note Framed
21617 status open
21618
21619 \begin_layout Standard
21620 This is text in a 
21621 \family sans
21622 Framed
21623 \family default
21624  note.
21625 \end_layout
21626
21627 \end_inset
21628
21629
21630 \begin_inset ERT
21631 status collapsed
21632
21633 \begin_layout Standard
21634
21635
21636 \backslash
21637 FrameRule 0.4pt 
21638 \backslash
21639 FrameSep 9pt
21640 \end_layout
21641
21642 \end_inset
21643
21644
21645 \end_layout
21646
21647 \begin_layout Standard
21648 \begin_inset VSpace bigskip
21649 \end_inset
21650
21651
21652 \end_layout
21653
21654 \begin_layout Standard
21655 For 
21656 \family sans
21657 Shaded
21658 \family default
21659  notes the default space between the note content and the note border is
21660  3\InsetSpace \thinspace{}
21661 pt; it can be changed by changing the size 
21662 \series bold
21663
21664 \backslash
21665 fboxsep
21666 \series default
21667 .
21668 \newline
21669 The default background color red can be changed with the command 
21670 \series bold
21671
21672 \backslash
21673 def\SpecialChar \textcompwordmark{}
21674 inecolor{shadebox}
21675 \series default
21676 .
21677  The scheme of the 
21678 \series bold
21679
21680 \backslash
21681 def\SpecialChar \textcompwordmark{}
21682 inecolor
21683 \series default
21684  command is explained in section\InsetSpace ~
21685
21686 \begin_inset LatexCommand ref
21687 reference "sec:Colored-Tables"
21688
21689 \end_inset
21690
21691
21692 \begin_inset Foot
21693 status collapsed
21694
21695 \begin_layout Standard
21696 Note that 
21697 \series bold
21698
21699 \backslash
21700 def
21701 \series default
21702 \SpecialChar \textcompwordmark{}
21703
21704 \series bold
21705 inecolor
21706 \series default
21707  requires the LaTeX-package 
21708 \series bold
21709 color
21710 \series default
21711  in the preamble, see section\InsetSpace ~
21712
21713 \begin_inset LatexCommand ref
21714 reference "sec:Colored-Boxes"
21715
21716 \end_inset
21717
21718 .
21719 \end_layout
21720
21721 \end_inset
21722
21723 .
21724 \end_layout
21725
21726 \begin_layout Standard
21727 For example the appearance of the following 
21728 \family sans
21729 Shaded
21730 \family default
21731  note is set with the ERT commands
21732 \end_layout
21733
21734 \begin_layout Standard
21735
21736 \series bold
21737
21738 \backslash
21739 fboxsep 0.5cm
21740 \series default
21741
21742 \newline
21743
21744 \series bold
21745
21746 \backslash
21747 def\SpecialChar \textcompwordmark{}
21748 inecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
21749 \end_layout
21750
21751 \begin_layout Standard
21752 \begin_inset ERT
21753 status collapsed
21754
21755 \begin_layout Standard
21756
21757
21758 \backslash
21759 fboxsep 0.5cm
21760 \end_layout
21761
21762 \end_inset
21763
21764
21765 \begin_inset ERT
21766 status collapsed
21767
21768 \begin_layout Standard
21769
21770
21771 \backslash
21772 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
21773 \end_layout
21774
21775 \end_inset
21776
21777
21778 \begin_inset Note Shaded
21779 status open
21780
21781 \begin_layout Standard
21782
21783 \color yellow
21784 This is yellow text in a
21785 \color none
21786  
21787 \family sans
21788 \color yellow
21789 Shaded
21790 \family default
21791 \color none
21792  
21793 \color yellow
21794 note with darkgreen background.
21795 \end_layout
21796
21797 \end_inset
21798
21799
21800 \begin_inset ERT
21801 status collapsed
21802
21803 \begin_layout Standard
21804
21805
21806 \backslash
21807 fboxsep 3pt
21808 \end_layout
21809
21810 \end_inset
21811
21812
21813 \begin_inset ERT
21814 status collapsed
21815
21816 \begin_layout Standard
21817
21818
21819 \backslash
21820 definecolor{shadecolor}{rgb}{1,0,0}
21821 \end_layout
21822
21823 \end_inset
21824
21825
21826 \end_layout
21827
21828 \begin_layout Section
21829 Footnotes
21830 \begin_inset LatexCommand label
21831 name "sec:Footnotes"
21832
21833 \end_inset
21834
21835
21836 \begin_inset LatexCommand index
21837 name "Notes ! Footnotes"
21838
21839 \end_inset
21840
21841
21842 \begin_inset LatexCommand index
21843 name "Footnotes"
21844
21845 \end_inset
21846
21847
21848 \end_layout
21849
21850 \begin_layout Standard
21851 Footnotes can be inserted using the toolbar button 
21852 \begin_inset Graphics
21853         filename ../images/footnote-insert.xpm
21854         scale 85
21855         scaleBeforeRotation
21856
21857 \end_inset
21858
21859  or the menu 
21860 \family sans
21861 Insert\SpecialChar \menuseparator
21862 Footnote
21863 \family default
21864 .
21865  
21866 \family roman
21867 \series medium
21868 \bar no
21869 You'll see
21870 \family default
21871 \series default
21872 \bar default
21873  then the following footnote-box: 
21874 \begin_inset Graphics
21875         filename clipart/footnoteQt4.png
21876         scale 80
21877         scaleBeforeRotation
21878
21879 \end_inset
21880
21881  
21882 \family roman
21883 \series medium
21884 \bar no
21885 where you can enter the footnote text.
21886  If you want to turn existing text into a footnote, mark it and click on
21887  the footnote
21888 \family default
21889 \series default
21890 \bar default
21891  toolbar 
21892 \family roman
21893 \series medium
21894 \bar no
21895 button
21896 \family default
21897 \series default
21898 \bar default
21899 .
21900 \end_layout
21901
21902 \begin_layout Standard
21903 Here is an example footnote:
21904 \family roman
21905 \series medium
21906 \bar no
21907
21908 \begin_inset Foot
21909 status open
21910
21911 \begin_layout Standard
21912 \begin_inset LatexCommand label
21913 name "foot:This-is-an"
21914
21915 \end_inset
21916
21917 This is an example footnote.
21918 \end_layout
21919
21920 \end_inset
21921
21922
21923 \family default
21924 \series default
21925 \bar default
21926
21927 \begin_inset ERT
21928 status collapsed
21929
21930 \begin_layout Standard
21931
21932
21933 \backslash
21934 newcounter{MyRepeatFoot}
21935 \end_layout
21936
21937 \begin_layout Standard
21938
21939
21940 \backslash
21941 setcounter{MyRepeatFoot}{
21942 \backslash
21943 thefootnote}
21944 \end_layout
21945
21946 \end_inset
21947
21948
21949 \end_layout
21950
21951 \begin_layout Standard
21952 The footnote will appear in the output as a superscript number at the text
21953  position where the footnote box is placed.
21954  The footnote text is placed at the bottom of the current page.
21955  The footnote number is calculated by LaTeX, the numbers are consecutive.
21956  It depends on your document-class, if the footnote number is reset for
21957  every chapter.
21958 \end_layout
21959
21960 \begin_layout Standard
21961 Footnotes can be referenced like floats: Insert a label into the footnote
21962  and cross-reference this label in the text as described in section\InsetSpace ~
21963
21964 \begin_inset LatexCommand ref
21965 reference "sec:Referencing-Floats"
21966
21967 \end_inset
21968
21969 .
21970 \newline
21971 This is a cross-reference of Footnote\InsetSpace ~
21972
21973 \begin_inset LatexCommand ref
21974 reference "foot:This-is-an"
21975
21976 \end_inset
21977
21978 .
21979 \end_layout
21980
21981 \begin_layout Standard
21982 \begin_inset VSpace defskip
21983 \end_inset
21984
21985 To use footnotes within tables, you have to use minipages, see section\InsetSpace ~
21986
21987 \begin_inset LatexCommand ref
21988 reference "sec:Minipages"
21989
21990 \end_inset
21991
21992 .
21993  Footnotes within longtables are described in section\InsetSpace ~
21994
21995 \begin_inset LatexCommand ref
21996 reference "sub:Footnotes-in-Longtables"
21997
21998 \end_inset
21999
22000 .
22001 \end_layout
22002
22003 \begin_layout Standard
22004 \begin_inset VSpace defskip
22005 \end_inset
22006
22007 To create only a mark for a footnote, use the command 
22008 \series bold
22009
22010 \backslash
22011 footnotemark[number]
22012 \series default
22013  in ERT.
22014  This is used when you have the same annotation several times in a text
22015  but doesn't want to print the footnote text every time.
22016 \newline
22017 As you don't know
22018  the number of the repeating footnote while you are writing the text, you
22019  have to store its number.
22020  For the following footnote mark example, these commands were inserted in
22021  ERT behind Footnote\InsetSpace ~
22022
22023 \begin_inset LatexCommand ref
22024 reference "foot:This-is-an"
22025
22026 \end_inset
22027
22028  to store the footnote number:
22029 \end_layout
22030
22031 \begin_layout Standard
22032
22033 \series bold
22034
22035 \backslash
22036 newcounter{MyRepeatFoot}
22037 \newline
22038
22039 \backslash
22040 setcounter{MyRepeatFoot}{
22041 \backslash
22042 thefootnote}
22043 \end_layout
22044
22045 \begin_layout Standard
22046 The footnote mark was then created with this command:
22047 \end_layout
22048
22049 \begin_layout Standard
22050
22051 \series bold
22052
22053 \backslash
22054 footnotemark[
22055 \backslash
22056 theMyRepeatFoot]
22057 \end_layout
22058
22059 \begin_layout Standard
22060 Here is an example footnote mark:
22061 \family roman
22062 \series medium
22063 \bar no
22064
22065 \begin_inset ERT
22066 status collapsed
22067
22068 \begin_layout Standard
22069
22070
22071 \backslash
22072 footnotemark[
22073 \backslash
22074 theMyRepeatFoot]
22075 \end_layout
22076
22077 \end_inset
22078
22079
22080 \end_layout
22081
22082 \begin_layout Subsection
22083 Footnote Numbering
22084 \begin_inset LatexCommand label
22085 name "sub:Footnote-Numbering"
22086
22087 \end_inset
22088
22089
22090 \begin_inset LatexCommand index
22091 name "Footnotes ! Numbering"
22092
22093 \end_inset
22094
22095
22096 \end_layout
22097
22098 \begin_layout Standard
22099 To reset the footnote number back to 1 after each section
22100 \family roman
22101 , add this command to your document preamble:
22102 \end_layout
22103
22104 \begin_layout Standard
22105
22106 \series bold
22107
22108 \backslash
22109 @addtoreset{footnote}{section}
22110 \end_layout
22111
22112 \begin_layout Standard
22113 \begin_inset VSpace bigskip
22114 \end_inset
22115
22116 The following preamble command changes the footnote numbering style to small
22117  roman numerals:
22118 \end_layout
22119
22120 \begin_layout Standard
22121
22122 \series bold
22123
22124 \backslash
22125 renewcommand{
22126 \backslash
22127 thefootnote}{
22128 \backslash
22129 roman{footnote}}
22130 \end_layout
22131
22132 \begin_layout Standard
22133 \begin_inset ERT
22134 status collapsed
22135
22136 \begin_layout Standard
22137
22138
22139 \backslash
22140 renewcommand{
22141 \backslash
22142 thefootnote}{
22143 \backslash
22144 roman{footnote}}
22145 \end_layout
22146
22147 \end_inset
22148
22149  This is a footnote with roman numbering:
22150 \begin_inset Foot
22151 status open
22152
22153 \begin_layout Standard
22154 This is an example footnote with roman numbering.
22155 \end_layout
22156
22157 \end_inset
22158
22159
22160 \end_layout
22161
22162 \begin_layout Standard
22163 To change the numbering style to capital roman numerals replace in the command
22164  above 
22165 \series bold
22166
22167 \backslash
22168 roman
22169 \series default
22170  by 
22171 \series bold
22172
22173 \backslash
22174 Roman
22175 \series default
22176 .
22177  To 
22178 \begin_inset Quotes eld
22179 \end_inset
22180
22181 number
22182 \begin_inset Quotes erd
22183 \end_inset
22184
22185  footnotes with capital or small Latin letters use 
22186 \series bold
22187
22188 \backslash
22189 Alph
22190 \series default
22191  or 
22192 \series bold
22193
22194 \backslash
22195 alph
22196 \series default
22197 , respectively.
22198  To 
22199 \begin_inset Quotes eld
22200 \end_inset
22201
22202 number
22203 \begin_inset Quotes erd
22204 \end_inset
22205
22206  footnotes with symbols use 
22207 \series bold
22208
22209 \backslash
22210 fnsymbol
22211 \series default
22212 .
22213 \end_layout
22214
22215 \begin_layout Standard
22216 \begin_inset Note Greyedout
22217 status open
22218
22219 \begin_layout Standard
22220
22221 \series bold
22222 Note:
22223 \series default
22224  You can only number 26 footnotes with Latin letters, because this numbering
22225  is limited to single letters.
22226 \end_layout
22227
22228 \end_inset
22229
22230
22231 \newline
22232
22233 \begin_inset Note Greyedout
22234 status open
22235
22236 \begin_layout Standard
22237
22238 \series bold
22239 Note:
22240 \series default
22241  You can only number 9 footnotes with symbols.
22242 \end_layout
22243
22244 \end_inset
22245
22246
22247 \end_layout
22248
22249 \begin_layout Standard
22250 To return to the default numbering style when you changed to another one,
22251  use 
22252 \series bold
22253
22254 \backslash
22255 arabic
22256 \series default
22257  instead of 
22258 \series bold
22259
22260 \backslash
22261 roman
22262 \series default
22263  in the command above.
22264 \begin_inset ERT
22265 status collapsed
22266
22267 \begin_layout Standard
22268
22269
22270 \backslash
22271 renewcommand{
22272 \backslash
22273 thefootnote}{
22274 \backslash
22275 arabic{footnote}}
22276 \end_layout
22277
22278 \end_inset
22279
22280
22281 \end_layout
22282
22283 \begin_layout Standard
22284 \begin_inset VSpace bigskip
22285 \end_inset
22286
22287
22288 \end_layout
22289
22290 \begin_layout Standard
22291 If you want to have footnotes numbered in the scheme 
22292 \begin_inset Quotes eld
22293 \end_inset
22294
22295 chapter.footnote
22296 \begin_inset Quotes erd
22297 \end_inset
22298
22299 , add the following command to your document preamble:
22300 \end_layout
22301
22302 \begin_layout Standard
22303
22304 \series bold
22305
22306 \backslash
22307 numberwithin{footnote}{chapter}
22308 \end_layout
22309
22310 \begin_layout Standard
22311 To be able to use the command 
22312 \series bold
22313
22314 \backslash
22315 numberwithin
22316 \series default
22317 , set in the tab 
22318 \family sans
22319 Math\InsetSpace ~
22320 Options
22321 \family default
22322  in the document settings the option 
22323 \family sans
22324 Use\InsetSpace ~
22325 AMS\InsetSpace ~
22326 math\InsetSpace ~
22327 package
22328 \family default
22329 .
22330 \end_layout
22331
22332 \begin_layout Standard
22333 \begin_inset ERT
22334 status collapsed
22335
22336 \begin_layout Standard
22337
22338
22339 \backslash
22340 numberwithin{footnote}{chapter}
22341 \end_layout
22342
22343 \end_inset
22344
22345 This is another example footnote:
22346 \series bold
22347
22348 \begin_inset Foot
22349 status open
22350
22351 \begin_layout Standard
22352 This is a footnote numbered in the scheme 
22353 \begin_inset Quotes eld
22354 \end_inset
22355
22356 chapter.footnote
22357 \begin_inset Quotes erd
22358 \end_inset
22359
22360 .
22361 \end_layout
22362
22363 \end_inset
22364
22365
22366 \series default
22367
22368 \begin_inset ERT
22369 status collapsed
22370
22371 \begin_layout Standard
22372
22373
22374 \backslash
22375 renewcommand{
22376 \backslash
22377 thefootnote}{
22378 \backslash
22379 arabic{footnote}}
22380 \end_layout
22381
22382 \end_inset
22383
22384
22385 \end_layout
22386
22387 \begin_layout Standard
22388 \begin_inset Note Greyedout
22389 status open
22390
22391 \begin_layout Standard
22392
22393 \series bold
22394 Note:
22395 \series default
22396  
22397 \series bold
22398
22399 \backslash
22400 numberwithin
22401 \series default
22402  always prints out the footnote number as arabic number; previous redefinitions
22403  to get non-arabic numbers are overwritten.
22404 \end_layout
22405
22406 \end_inset
22407
22408
22409 \end_layout
22410
22411 \begin_layout Standard
22412 So to get for example the scheme 
22413 \begin_inset Quotes eld
22414 \end_inset
22415
22416 chapter.
22417 \backslash
22418 Roman{footnote}
22419 \begin_inset Quotes erd
22420 \end_inset
22421
22422 , use this command instead of 
22423 \series bold
22424
22425 \backslash
22426 numberwithin
22427 \series default
22428 :
22429 \end_layout
22430
22431 \begin_layout Standard
22432
22433 \series bold
22434
22435 \backslash
22436 renewcommand{
22437 \backslash
22438 thefootnote}{
22439 \backslash
22440 thechapter.
22441 \backslash
22442 Roman{footnote}}
22443 \end_layout
22444
22445 \begin_layout Subsection
22446 Footnote Placement
22447 \begin_inset LatexCommand index
22448 name "Footnotes ! Placement"
22449
22450 \end_inset
22451
22452
22453 \end_layout
22454
22455 \begin_layout Standard
22456 If you have several footnotes in one page, they appear without vertical
22457  space between them at the bottom of the page.
22458  To make them better readable you can e.\InsetSpace \thinspace{}
22459 g.\InsetSpace ~
22460 add 1.5\InsetSpace \thinspace{}
22461 mm space with the following
22462  preamble command:
22463 \end_layout
22464
22465 \begin_layout Standard
22466
22467 \series bold
22468
22469 \backslash
22470 let
22471 \backslash
22472 myFoot
22473 \backslash
22474 footnote
22475 \newline
22476
22477 \backslash
22478 renewcommand{
22479 \backslash
22480 footnote}[1]{
22481 \backslash
22482 myFoot{#1
22483 \backslash
22484 vspace{1.5mm}}}
22485 \end_layout
22486
22487 \begin_layout Standard
22488 \begin_inset VSpace bigskip
22489 \end_inset
22490
22491 In a two-column document the footnotes appear at the bottom of every column,
22492  see Figure\InsetSpace ~
22493
22494 \begin_inset LatexCommand ref
22495 reference "fig:Standard-footnote-placement"
22496
22497 \end_inset
22498
22499 .
22500  If the footnotes should only appear at the bottom of the right column,
22501  as in Figure\InsetSpace ~
22502
22503 \begin_inset LatexCommand ref
22504 reference "fig:Footnote-placement-in"
22505
22506 \end_inset
22507
22508 , use the LaTeX-package 
22509 \series bold
22510 ftnright
22511 \series default
22512
22513 \begin_inset LatexCommand index
22514 name "LaTeX-packages ! ftnright"
22515
22516 \end_inset
22517
22518  with this command in the document preamble:
22519 \end_layout
22520
22521 \begin_layout Standard
22522
22523 \series bold
22524
22525 \backslash
22526 usepackage{ftnright}
22527 \end_layout
22528
22529 \begin_layout Standard
22530 \begin_inset Float figure
22531 placement !h
22532 wide false
22533 sideways false
22534 status open
22535
22536 \begin_layout Standard
22537 \begin_inset ERT
22538 status collapsed
22539
22540 \begin_layout Standard
22541
22542
22543 \backslash
22544 framebox{
22545 \end_layout
22546
22547 \end_inset
22548
22549
22550 \begin_inset Graphics
22551         filename clipart/without_fntright.pdf
22552         width 100col%
22553         scaleBeforeRotation
22554
22555 \end_inset
22556
22557
22558 \begin_inset ERT
22559 status collapsed
22560
22561 \begin_layout Standard
22562
22563 }
22564 \end_layout
22565
22566 \end_inset
22567
22568
22569 \end_layout
22570
22571 \begin_layout Standard
22572 \begin_inset Caption
22573
22574 \begin_layout Standard
22575 \begin_inset LatexCommand label
22576 name "fig:Standard-footnote-placement"
22577
22578 \end_inset
22579
22580 Standard footnote placement in two-column documents.
22581 \end_layout
22582
22583 \end_inset
22584
22585
22586 \end_layout
22587
22588 \end_inset
22589
22590
22591 \end_layout
22592
22593 \begin_layout Standard
22594 \begin_inset Float figure
22595 placement !h
22596 wide false
22597 sideways false
22598 status open
22599
22600 \begin_layout Standard
22601 \begin_inset ERT
22602 status collapsed
22603
22604 \begin_layout Standard
22605
22606
22607 \backslash
22608 framebox{
22609 \end_layout
22610
22611 \end_inset
22612
22613
22614 \begin_inset Graphics
22615         filename clipart/with_fntright.pdf
22616         width 100col%
22617         scaleBeforeRotation
22618
22619 \end_inset
22620
22621
22622 \begin_inset ERT
22623 status collapsed
22624
22625 \begin_layout Standard
22626
22627 }
22628 \end_layout
22629
22630 \end_inset
22631
22632
22633 \end_layout
22634
22635 \begin_layout Standard
22636 \begin_inset Caption
22637
22638 \begin_layout Standard
22639 \begin_inset LatexCommand label
22640 name "fig:Footnote-placement-in"
22641
22642 \end_inset
22643
22644 Footnote placement in two-column documents when the LaTeX-package 
22645 \series bold
22646 ftnright
22647 \series default
22648  is used.
22649 \end_layout
22650
22651 \end_inset
22652
22653
22654 \end_layout
22655
22656 \end_inset
22657
22658
22659 \end_layout
22660
22661 \begin_layout Standard
22662 \begin_inset VSpace bigskip
22663 \end_inset
22664
22665 In some scientific literature it is usual to collect the footnotes and print
22666  them in a separate paragraph at the the end of a section, like in Figure\InsetSpace ~
22667
22668 \begin_inset LatexCommand ref
22669 reference "fig:Endnotes----footnotes"
22670
22671 \end_inset
22672
22673 .
22674  They are then so called 
22675 \begin_inset Quotes eld
22676 \end_inset
22677
22678 endnotes
22679 \begin_inset Quotes erd
22680 \end_inset
22681
22682 .
22683  To use endnotes instead of footnotes in your document, load the LaTeX-package
22684  
22685 \series bold
22686 endnotes
22687 \series default
22688
22689 \begin_inset LatexCommand index
22690 name "LaTeX-packages ! endnotes"
22691
22692 \end_inset
22693
22694  with the document preamble lines
22695 \end_layout
22696
22697 \begin_layout Standard
22698
22699 \series bold
22700
22701 \backslash
22702 usepackage{endnotes}
22703 \newline
22704
22705 \backslash
22706 let
22707 \backslash
22708 footnote
22709 \backslash
22710 endnote
22711 \end_layout
22712
22713 \begin_layout Standard
22714 To insert the collected footnotes, insert the command
22715 \end_layout
22716
22717 \begin_layout Standard
22718
22719 \series bold
22720
22721 \backslash
22722 theendnotes
22723 \end_layout
22724
22725 \begin_layout Standard
22726 in ERT at the the end of a section or chapter.
22727 \end_layout
22728
22729 \begin_layout Standard
22730 \begin_inset Float figure
22731 wide false
22732 sideways false
22733 status open
22734
22735 \begin_layout Standard
22736 \align center
22737 \begin_inset ERT
22738 status collapsed
22739
22740 \begin_layout Standard
22741
22742
22743 \backslash
22744 framebox{
22745 \end_layout
22746
22747 \end_inset
22748
22749
22750 \begin_inset Graphics
22751         filename clipart/endnotes.pdf
22752         scaleBeforeRotation
22753
22754 \end_inset
22755
22756
22757 \begin_inset ERT
22758 status collapsed
22759
22760 \begin_layout Standard
22761
22762 }
22763 \end_layout
22764
22765 \end_inset
22766
22767
22768 \end_layout
22769
22770 \begin_layout Standard
22771 \begin_inset Caption
22772
22773 \begin_layout Standard
22774 \begin_inset LatexCommand label
22775 name "fig:Endnotes----footnotes"
22776
22777 \end_inset
22778
22779 Endnotes -- footnotes are printed in a separate paragraph at the end of
22780  sections or chapters.
22781 \end_layout
22782
22783 \end_inset
22784
22785
22786 \end_layout
22787
22788 \end_inset
22789
22790
22791 \end_layout
22792
22793 \begin_layout Standard
22794 \begin_inset VSpace medskip
22795 \end_inset
22796
22797 The paragraph heading for the endnotes isn't automatically translated into
22798  the document language, this must be done manually.
22799  The following preamble command translate the default English name 
22800 \begin_inset Quotes eld
22801 \end_inset
22802
22803 Notes
22804 \begin_inset Quotes erd
22805 \end_inset
22806
22807  to the German translation 
22808 \begin_inset Quotes eld
22809 \end_inset
22810
22811 Anmerkungen
22812 \begin_inset Quotes erd
22813 \end_inset
22814
22815 :
22816 \end_layout
22817
22818 \begin_layout Standard
22819
22820 \series bold
22821
22822 \backslash
22823 renewcommand{
22824 \backslash
22825 notesname}{Anmerkungen}
22826 \end_layout
22827
22828 \begin_layout Standard
22829 \begin_inset VSpace medskip
22830 \end_inset
22831
22832 The numbering of endnotes can be changed like the footnote numbering as
22833  described in section\InsetSpace ~
22834
22835 \begin_inset LatexCommand ref
22836 reference "sub:Footnote-Numbering"
22837
22838 \end_inset
22839
22840 ; just replace the command 
22841 \series bold
22842
22843 \backslash
22844 thefootnote
22845 \series default
22846  by 
22847 \series bold
22848
22849 \backslash
22850 theendnote
22851 \series default
22852 .
22853  To reset the endnote number use the command 
22854 \series bold
22855
22856 \backslash
22857 @addtoreset
22858 \series default
22859  as described in section\InsetSpace ~
22860
22861 \begin_inset LatexCommand ref
22862 reference "sub:Footnote-Numbering"
22863
22864 \end_inset
22865
22866  and replace the command parameter 
22867 \series bold
22868 footnote
22869 \series default
22870  by 
22871 \series bold
22872 endnote
22873 \series default
22874 .
22875 \end_layout
22876
22877 \begin_layout Standard
22878 To create only a mark for an endnote, use the command 
22879 \series bold
22880
22881 \backslash
22882 endnotemark[number]
22883 \series default
22884  similar to the command 
22885 \series bold
22886
22887 \backslash
22888 footnotemark
22889 \series default
22890 , described in section\InsetSpace ~
22891
22892 \begin_inset LatexCommand ref
22893 reference "sec:Footnotes"
22894
22895 \end_inset
22896
22897 .
22898 \end_layout
22899
22900 \begin_layout Standard
22901 \begin_inset VSpace bigskip
22902 \end_inset
22903
22904 Footnotes can also be placed in the page margin and the footnote text alignment
22905  can be changed, see the LaTeX-package 
22906 \series bold
22907 footmisc
22908 \series default
22909
22910 \begin_inset LatexCommand index
22911 name "LaTeX-packages ! footmisc"
22912
22913 \end_inset
22914
22915
22916 \begin_inset LatexCommand cite
22917 key "footmisc"
22918
22919 \end_inset
22920
22921  for more information about this.
22922 \end_layout
22923
22924 \begin_layout Standard
22925 For various further footnote formatting issues have a look at LaTeX-books,
22926  
22927 \begin_inset LatexCommand cite
22928 key "latexcompanion,latexguide,latexbook"
22929
22930 \end_inset
22931
22932 .
22933 \end_layout
22934
22935 \begin_layout Section
22936 Margin Notes
22937 \begin_inset LatexCommand index
22938 name "Notes ! Margin Notes"
22939
22940 \end_inset
22941
22942
22943 \end_layout
22944
22945 \begin_layout Standard
22946 Margin notes look and behave in LyX like footnotes.
22947  They are inserted via the menu 
22948 \family sans
22949 Insert\SpecialChar \menuseparator
22950 Marginal\InsetSpace ~
22951 Note
22952 \family default
22953  or the toolbar button 
22954 \begin_inset Graphics
22955         filename ../images/marginalnote-insert.xpm
22956         scale 85
22957         scaleBeforeRotation
22958
22959 \end_inset
22960
22961 .
22962  A grey 
22963 \family roman
22964 \series medium
22965 box with the
22966 \family default
22967 \series default
22968  red 
22969 \family roman
22970 \series medium
22971 label 
22972 \begin_inset Quotes eld
22973 \end_inset
22974
22975 margin
22976 \begin_inset Quotes erd
22977 \end_inset
22978
22979  appears where you can enter the text of the margin note.
22980 \end_layout
22981
22982 \begin_layout Standard
22983 At the side is an example margin note.
22984 \family roman
22985 \series medium
22986
22987 \begin_inset Marginal
22988 status open
22989
22990 \begin_layout Standard
22991 This is a margin note.
22992 \end_layout
22993
22994 \end_inset
22995
22996
22997 \end_layout
22998
22999 \begin_layout Standard
23000 Margin notes appear at the right side in single-sided documents.
23001  In double-sided documents they appear in the outer margin -- left on even
23002  pages, right on odd pages.
23003  The text of margin notes is aligned opposite to the outer margin -- right-align
23004 ed when the note appears in the left margin.
23005  The first line of the margin note is placed at the position of the text
23006  line where it is inserted in the document.
23007 \end_layout
23008
23009 \begin_layout Standard
23010 \begin_inset VSpace bigskip
23011 \end_inset
23012
23013 To place the margin note in the inner margin, add the command
23014 \end_layout
23015
23016 \begin_layout Standard
23017
23018 \series bold
23019
23020 \backslash
23021 reversemarginpar
23022 \end_layout
23023
23024 \begin_layout Standard
23025 in ERT before a margin note.
23026  The new placement is valid for all following margin notes.
23027 \begin_inset ERT
23028 status collapsed
23029
23030 \begin_layout Standard
23031
23032
23033 \backslash
23034 reversemarginpar 
23035 \end_layout
23036
23037 \end_inset
23038
23039
23040 \begin_inset Marginal
23041 status open
23042
23043 \begin_layout Standard
23044 This is a margin note in the inner margin.
23045 \end_layout
23046
23047 \end_inset
23048
23049
23050 \series bold
23051
23052 \newline
23053
23054 \series default
23055
23056 \begin_inset Note Greyedout
23057 status open
23058
23059 \begin_layout Standard
23060
23061 \series bold
23062 Note:
23063 \series default
23064  There is often not enough space in the inner margin so that the notes are
23065  not correctly displayed in the output.
23066 \end_layout
23067
23068 \end_inset
23069
23070
23071 \end_layout
23072
23073 \begin_layout Standard
23074 To return to the default placement insert the command
23075 \end_layout
23076
23077 \begin_layout Standard
23078
23079 \series bold
23080
23081 \backslash
23082 normalmarginpar
23083 \end_layout
23084
23085 \begin_layout Standard
23086 in ERT.
23087 \begin_inset ERT
23088 status collapsed
23089
23090 \begin_layout Standard
23091
23092
23093 \backslash
23094 normalmarginpar 
23095 \end_layout
23096
23097 \end_inset
23098
23099  
23100 \begin_inset Note Greyedout
23101 status open
23102
23103 \begin_layout Standard
23104
23105 \series bold
23106 Note:
23107 \series default
23108  The command is ignored when it is within a paragraph where also the command
23109  
23110 \series bold
23111
23112 \backslash
23113 reversemarginpar
23114 \series default
23115  is inserted.
23116 \end_layout
23117
23118 \end_inset
23119
23120
23121 \end_layout
23122
23123 \begin_layout Standard
23124 \begin_inset VSpace bigskip
23125 \end_inset
23126
23127
23128 \family roman
23129 \series medium
23130
23131 \begin_inset Marginal
23132 status open
23133
23134 \begin_layout Standard
23135 AVeryLongMarginParWord that isn't hyphenated.
23136 \end_layout
23137
23138 \end_inset
23139
23140
23141 \family default
23142 \series default
23143 Similar to the case described in section\InsetSpace ~
23144
23145 \begin_inset LatexCommand ref
23146 reference "sub:Multiple-Lines-in"
23147
23148 \end_inset
23149
23150 , long words cannot be hyphenated when they are the first word in a margin
23151  note.
23152  To avoid this, insert the command
23153 \end_layout
23154
23155 \begin_layout Standard
23156
23157 \series bold
23158
23159 \backslash
23160 hspace{0pt}
23161 \end_layout
23162
23163 \begin_layout Standard
23164 in ERT before the word
23165 \family roman
23166 \series medium
23167 .
23168 \begin_inset Marginal
23169 status open
23170
23171 \begin_layout Standard
23172 \begin_inset ERT
23173 status collapsed
23174
23175 \begin_layout Standard
23176
23177
23178 \backslash
23179 hspace{0pt}
23180 \end_layout
23181
23182 \end_inset
23183
23184 AVeryLongMarginParWord that is hyphenated.
23185 \end_layout
23186
23187 \end_inset
23188
23189
23190 \end_layout
23191
23192 \begin_layout Standard
23193 \begin_inset VSpace bigskip
23194 \end_inset
23195
23196
23197 \end_layout
23198
23199 \begin_layout Standard
23200 \begin_inset Note Greyedout
23201 status open
23202
23203 \begin_layout Standard
23204
23205 \series bold
23206 Note:
23207 \series default
23208  Margin notes can normally not be used inside tables, floats, and footnotes.
23209 \end_layout
23210
23211 \end_inset
23212
23213
23214 \end_layout
23215
23216 \begin_layout Standard
23217 \begin_inset VSpace bigskip
23218 \end_inset
23219
23220
23221 \end_layout
23222
23223 \begin_layout Standard
23224 \begin_inset ERT
23225 status collapsed
23226
23227 \begin_layout Standard
23228
23229
23230 \backslash
23231 ifmarginnote
23232 \end_layout
23233
23234 \end_inset
23235
23236
23237 \begin_inset Note Note
23238 status open
23239
23240 \begin_layout Standard
23241 The following section will only be displayed when you have the LaTeX-package
23242  
23243 \series bold
23244 marginnote
23245 \series default
23246  is installed.
23247 \end_layout
23248
23249 \end_inset
23250
23251
23252 \end_layout
23253
23254 \begin_layout Standard
23255 This restriction can be evaded by using the LaTeX-package 
23256 \series bold
23257 marginnote
23258 \series default
23259
23260 \begin_inset LatexCommand index
23261 name "LaTeX-packages ! marginnote"
23262
23263 \end_inset
23264
23265 .
23266  By adding these two lines to your document preamble, the command used by
23267  LyX for margin notes is redefined to use the command provided by the 
23268 \series bold
23269 marginnote
23270 \series default
23271 -package:
23272 \end_layout
23273
23274 \begin_layout Standard
23275
23276 \series bold
23277
23278 \backslash
23279 usepackage{marginnote}
23280 \newline
23281
23282 \backslash
23283 let
23284 \backslash
23285 marginpar
23286 \backslash
23287 marginnote
23288 \end_layout
23289
23290 \begin_layout Standard
23291 This is also used in this document because 
23292 \series bold
23293 marginnote
23294 \series default
23295  has another useful feature: You can set a vertical offset for the note.
23296  This is often needed when too many margin notes are too close together
23297  or for a better page layout.
23298  The offset is set in LyX as ERT directly behind the margin note in the
23299  scheme
23300 \end_layout
23301
23302 \begin_layout Standard
23303
23304 \series bold
23305 [offset]
23306 \end_layout
23307
23308 \begin_layout Standard
23309 where the offset is a length with one of the units listed in Table\InsetSpace ~
23310
23311 \begin_inset LatexCommand ref
23312 reference "tab:Units"
23313
23314 \end_inset
23315
23316 .
23317  A negative value shifts the note up, a positive value shifts it down.
23318  
23319 \family roman
23320 \series medium
23321 For example the margin note beside this text line is shifted up 1.5\InsetSpace \thinspace{}
23322 cm with
23323  the ERT-command 
23324 \begin_inset Quotes eld
23325 \end_inset
23326
23327
23328 \family default
23329 \series bold
23330 [-1.5cm]
23331 \family roman
23332 \series medium
23333
23334 \begin_inset Quotes erd
23335 \end_inset
23336
23337
23338 \begin_inset Marginal
23339 status open
23340
23341 \begin_layout Standard
23342 This margin note is shifted up 1.5\InsetSpace \thinspace{}
23343 cm from its original position.
23344 \end_layout
23345
23346 \end_inset
23347
23348
23349 \family default
23350 \series default
23351
23352 \begin_inset ERT
23353 status collapsed
23354
23355 \begin_layout Standard
23356
23357 [-1.5cm]
23358 \end_layout
23359
23360 \end_inset
23361
23362
23363 \end_layout
23364
23365 \begin_layout Standard
23366 \begin_inset VSpace medskip
23367 \end_inset
23368
23369 With 
23370 \series bold
23371 marginnote
23372 \series default
23373  you can also change the alignment of the text in the margin note.
23374  For example the commands
23375 \end_layout
23376
23377 \begin_layout Standard
23378
23379 \series bold
23380
23381 \backslash
23382 renewcommand*{
23383 \backslash
23384 raggedleftmarginnote}{
23385 \backslash
23386 centering}
23387 \newline
23388
23389 \backslash
23390 renewcommand*{
23391 \backslash
23392 raggedrightmarginnote}{
23393 \backslash
23394 centering}
23395 \end_layout
23396
23397 \begin_layout Standard
23398 set the alignment to centered.
23399  
23400 \series bold
23401
23402 \backslash
23403 raggedleftmarginnote
23404 \series default
23405  denotes margin notes that appear at the left side.
23406 \family roman
23407 \series medium
23408
23409 \begin_inset ERT
23410 status collapsed
23411
23412 \begin_layout Standard
23413
23414
23415 \backslash
23416 renewcommand*{
23417 \backslash
23418 raggedleftmarginnote}{
23419 \backslash
23420 centering}
23421 \end_layout
23422
23423 \begin_layout Standard
23424
23425
23426 \backslash
23427 renewcommand*{
23428 \backslash
23429 raggedrightmarginnote}{
23430 \backslash
23431 centering}
23432 \end_layout
23433
23434 \end_inset
23435
23436
23437 \begin_inset Marginal
23438 status open
23439
23440 \begin_layout Standard
23441 The text of this margin note is centered.
23442 \end_layout
23443
23444 \end_inset
23445
23446
23447 \family default
23448 \series default
23449  The default is
23450 \end_layout
23451
23452 \begin_layout Standard
23453
23454 \series bold
23455
23456 \backslash
23457 renewcommand*{
23458 \backslash
23459 raggedleftmarginnote}{
23460 \backslash
23461 raggedleft}
23462 \newline
23463
23464 \backslash
23465 renewcommand*{
23466 \backslash
23467 raggedrightmarginnote}{
23468 \backslash
23469 raggedright}
23470 \family roman
23471 \series medium
23472
23473 \begin_inset ERT
23474 status collapsed
23475
23476 \begin_layout Standard
23477
23478
23479 \backslash
23480 renewcommand*{
23481 \backslash
23482 raggedleftmarginnote}{
23483 \backslash
23484 raggedleft}
23485 \end_layout
23486
23487 \begin_layout Standard
23488
23489
23490 \backslash
23491 renewcommand*{
23492 \backslash
23493 raggedrightmarginnote}{
23494 \backslash
23495 raggedright}
23496 \end_layout
23497
23498 \end_inset
23499
23500
23501 \end_layout
23502
23503 \begin_layout Standard
23504 \begin_inset VSpace medskip
23505 \end_inset
23506
23507 For the other features of 
23508 \series bold
23509 marginnote
23510 \series default
23511  we refer to its documentation 
23512 \begin_inset LatexCommand cite
23513 key "marginnote"
23514
23515 \end_inset
23516
23517 .
23518 \end_layout
23519
23520 \begin_layout Standard
23521 \begin_inset VSpace bigskip
23522 \end_inset
23523
23524 You can adjust the layout of margin notes by changing its definition.
23525  To create for example a header for all margin notes with the underlined,
23526  sans-serif, and bold header text 
23527 \begin_inset Quotes eld
23528 \end_inset
23529
23530
23531 \family sans
23532 \series bold
23533 \bar under
23534 Attention!
23535 \family default
23536 \series default
23537 \bar default
23538
23539 \begin_inset Quotes erd
23540 \end_inset
23541
23542 , add this to your document preamble:
23543 \end_layout
23544
23545 \begin_layout Standard
23546
23547 \series bold
23548
23549 \backslash
23550 let
23551 \backslash
23552 myMarginpar
23553 \backslash
23554 marginpar
23555 \newline
23556
23557 \backslash
23558 renewcommand{
23559 \backslash
23560 marginpar}[1]{
23561 \backslash
23562 myMarginpar{%
23563 \newline
23564
23565 \begin_inset ERT
23566 status collapsed
23567
23568 \begin_layout Standard
23569
23570
23571 \backslash
23572 hphantom{ }
23573 \end_layout
23574
23575 \end_inset
23576
23577
23578 \backslash
23579 hspace{0pt}
23580 \backslash
23581 textsf{
23582 \backslash
23583 textbf{
23584 \backslash
23585 underbar{Attention!}}}%
23586 \newline
23587
23588 \begin_inset ERT
23589 status collapsed
23590
23591 \begin_layout Standard
23592
23593
23594 \backslash
23595 hphantom{ }
23596 \end_layout
23597
23598 \end_inset
23599
23600
23601 \backslash
23602 vspace{1.5mm}
23603 \backslash
23604
23605 \backslash
23606 #1}}
23607 \end_layout
23608
23609 \begin_layout Standard
23610
23611 \family roman
23612 \series medium
23613 \begin_inset ERT
23614 status collapsed
23615
23616 \begin_layout Standard
23617
23618
23619 \backslash
23620 let
23621 \backslash
23622 myMarginpar
23623 \backslash
23624 marginpar
23625 \end_layout
23626
23627 \begin_layout Standard
23628
23629
23630 \backslash
23631 renewcommand{
23632 \backslash
23633 marginpar}[1]{
23634 \backslash
23635 myMarginpar{%
23636 \end_layout
23637
23638 \begin_layout Standard
23639
23640    
23641 \backslash
23642 textsf{
23643 \backslash
23644 textbf{
23645 \backslash
23646 underbar{Attention!}}}%
23647 \end_layout
23648
23649 \begin_layout Standard
23650
23651    
23652 \backslash
23653 vspace{1.5mm}
23654 \backslash
23655
23656 \backslash
23657 #1}}
23658 \end_layout
23659
23660 \end_inset
23661
23662
23663 \begin_inset Marginal
23664 status open
23665
23666 \begin_layout Standard
23667 This is a margin note with a defined heading.
23668 \end_layout
23669
23670 \end_inset
23671
23672
23673 \family default
23674 \series default
23675
23676 \begin_inset ERT
23677 status collapsed
23678
23679 \begin_layout Standard
23680
23681 [-1.5cm]
23682 \end_layout
23683
23684 \end_inset
23685
23686
23687 \family roman
23688 \series medium
23689
23690 \begin_inset ERT
23691 status collapsed
23692
23693 \begin_layout Standard
23694
23695
23696 \backslash
23697 renewcommand{
23698 \backslash
23699 marginpar}[1]{
23700 \backslash
23701 myMarginpar{#1}}
23702 \end_layout
23703
23704 \end_inset
23705
23706
23707 \family default
23708 \series default
23709
23710 \begin_inset Note Note
23711 status collapsed
23712
23713 \begin_layout Standard
23714 The margin note format is changed only for this example.
23715 \end_layout
23716
23717 \end_inset
23718
23719
23720 \end_layout
23721
23722 \begin_layout Standard
23723 \begin_inset ERT
23724 status collapsed
23725
23726 \begin_layout Standard
23727
23728
23729 \backslash
23730 else
23731 \end_layout
23732
23733 \end_inset
23734
23735
23736 \begin_inset Note Note
23737 status open
23738
23739 \begin_layout Standard
23740 The following will be displayed when the LaTeX-package 
23741 \series bold
23742 marginnote
23743 \series default
23744  is not installed:
23745 \end_layout
23746
23747 \end_inset
23748
23749
23750 \end_layout
23751
23752 \begin_layout Standard
23753 You need to install the LaTeX-package 
23754 \series bold
23755 marginnote
23756 \series default
23757  to see the following part of this section in the output.
23758 \end_layout
23759
23760 \begin_layout Standard
23761 \begin_inset ERT
23762 status collapsed
23763
23764 \begin_layout Standard
23765
23766
23767 \backslash
23768 fi
23769 \end_layout
23770
23771 \end_inset
23772
23773
23774 \end_layout
23775
23776 \begin_layout Chapter
23777 Boxes
23778 \end_layout
23779
23780 \begin_layout Section
23781 Introduction
23782 \begin_inset LatexCommand index
23783 name "Boxes ! Introduction"
23784
23785 \end_inset
23786
23787
23788 \end_layout
23789
23790 \begin_layout Standard
23791 Boxes are used to format a block of text.
23792  Boxes can be used to write documents with multiple languages, see section\InsetSpace ~
23793
23794 \begin_inset LatexCommand ref
23795 reference "sec:Minipages"
23796
23797 \end_inset
23798
23799 , to frame texts, see section\InsetSpace ~
23800
23801 \begin_inset LatexCommand ref
23802 reference "sec:Framed-Boxes"
23803
23804 \end_inset
23805
23806 , to prevent words to be hyphenated, see section\InsetSpace ~
23807
23808 \begin_inset LatexCommand ref
23809 reference "sec:Prevent-Hyphenation"
23810
23811 \end_inset
23812
23813 , to align text, see section\InsetSpace ~
23814
23815 \begin_inset LatexCommand ref
23816 reference "sub:Vertical-Alignment"
23817
23818 \end_inset
23819
23820 , or to set the background color of texts, see section\InsetSpace ~
23821
23822 \begin_inset LatexCommand ref
23823 reference "sec:Colored-Boxes"
23824
23825 \end_inset
23826
23827 .
23828 \end_layout
23829
23830 \begin_layout Standard
23831 Boxes can be inserted with the menu 
23832 \family sans
23833 Insert\SpecialChar \menuseparator
23834 Box
23835 \family default
23836 .
23837  A grey box with the label 
23838 \family sans
23839 Box (Minipage)
23840 \family default
23841
23842 \begin_inset Graphics
23843         filename clipart/BoxInsetDefaultQt4.png
23844         scale 85
23845         scaleBeforeRotation
23846
23847 \end_inset
23848
23849 , will be inserted.
23850  The box type can be specified by right-clicking on the box.
23851  The appearing box dialog offers the 
23852 \family sans
23853 Inner\InsetSpace ~
23854 Box
23855 \family default
23856  types 
23857 \family sans
23858 Parbox
23859 \family default
23860  and 
23861 \family sans
23862 Minipage
23863 \family default
23864 .
23865  The type 
23866 \family sans
23867 Minipage
23868 \family default
23869  is the default for new boxes and is explained in section\InsetSpace ~
23870
23871 \begin_inset LatexCommand ref
23872 reference "sec:Minipages"
23873
23874 \end_inset
23875
23876 ; the type 
23877 \family sans
23878 Parbox
23879 \family default
23880  is described in section\InsetSpace ~
23881
23882 \begin_inset LatexCommand ref
23883 reference "sec:Parboxes"
23884
23885 \end_inset
23886
23887 .
23888 \end_layout
23889
23890 \begin_layout Standard
23891 Boxes aren't numbered and can therefore not be referenced like floats or
23892  footnotes.
23893 \end_layout
23894
23895 \begin_layout Standard
23896 \begin_inset Note Greyedout
23897 status open
23898
23899 \begin_layout Standard
23900
23901 \series bold
23902 Note:
23903 \series default
23904  Due to a bug in LyX you have to insert a protected space behind a box when
23905  you want to separate in a line the box from the following text with a space.
23906 \end_layout
23907
23908 \end_inset
23909
23910
23911 \end_layout
23912
23913 \begin_layout Standard
23914 \begin_inset Note Greyedout
23915 status open
23916
23917 \begin_layout Standard
23918
23919 \series bold
23920 Note:
23921 \series default
23922  Boxes must not be the item in an 
23923 \family sans
23924 Itemize
23925 \family default
23926  or 
23927 \family sans
23928 Description
23929 \family default
23930  environment.
23931 \end_layout
23932
23933 \end_inset
23934
23935
23936 \end_layout
23937
23938 \begin_layout Standard
23939 \begin_inset Note Greyedout
23940 status open
23941
23942 \begin_layout Standard
23943
23944 \series bold
23945 Note:
23946 \series default
23947  For an unknown reason you can only set the 
23948 \family sans
23949 Inner\InsetSpace ~
23950 Box
23951 \family default
23952  type to 
23953 \family sans
23954 None
23955 \family default
23956  when you use a framed box.
23957  Boxes without an 
23958 \family sans
23959 Inner\InsetSpace ~
23960 Box
23961 \family default
23962  type and without frames are explained in section\InsetSpace ~
23963
23964 \begin_inset LatexCommand ref
23965 reference "sec:Prevent-Hyphenation"
23966
23967 \end_inset
23968
23969 .
23970 \end_layout
23971
23972 \end_inset
23973
23974
23975 \end_layout
23976
23977 \begin_layout Section
23978 Box Dialog
23979 \begin_inset LatexCommand label
23980 name "sec:Box-Dialog"
23981
23982 \end_inset
23983
23984
23985 \begin_inset LatexCommand index
23986 name "Boxes ! Box Dialog"
23987
23988 \end_inset
23989
23990
23991 \begin_inset LatexCommand index
23992 name "Boxes ! Alignment"
23993
23994 \end_inset
23995
23996
23997 \end_layout
23998
23999 \begin_layout Standard
24000 In the box dialog you can adjust the box geometry in the fields 
24001 \family sans
24002 Width
24003 \family default
24004  and 
24005 \family sans
24006 Height
24007 \family default
24008 .
24009  The available units for the geometry are explained in Table\InsetSpace ~
24010
24011 \begin_inset LatexCommand ref
24012 reference "tab:Units"
24013
24014 \end_inset
24015
24016 .
24017  The field 
24018 \family sans
24019 Heigth
24020 \family default
24021  offers the following additional sizes:
24022 \end_layout
24023
24024 \begin_layout Description
24025 Depth This is the plain text 
24026 \begin_inset Quotes eld
24027 \end_inset
24028
24029 height
24030 \begin_inset Quotes erd
24031 \end_inset
24032
24033 .
24034  It ignores the total depth when there are multiple text lines in the box:
24035 \newline
24036
24037 \newline
24038
24039 \newline
24040
24041 \begin_inset Box Boxed
24042 position "c"
24043 hor_pos "c"
24044 has_inner_box 1
24045 inner_pos "c"
24046 use_parbox 0
24047 width "12col%"
24048 special "none"
24049 height "1in"
24050 height_special "depth"
24051 status collapsed
24052
24053 \begin_layout Standard
24054 \align center
24055 Box height set to 1\InsetSpace \thinspace{}
24056 Depth
24057 \end_layout
24058
24059 \end_inset
24060
24061
24062 \newline
24063
24064 \newline
24065
24066 \end_layout
24067
24068 \begin_layout Description
24069 Height This is the heigth of the text that is inside the box.
24070  A value of e.\InsetSpace \thinspace{}
24071 g.\InsetSpace ~
24072 2 for this size will set the box heigth to 2 times the text
24073  height: 
24074 \begin_inset Box Boxed
24075 position "c"
24076 hor_pos "c"
24077 has_inner_box 1
24078 inner_pos "c"
24079 use_parbox 0
24080 width "20col%"
24081 special "none"
24082 height "2in"
24083 height_special "height"
24084 status collapsed
24085
24086 \begin_layout Standard
24087 \align center
24088 Box height set to 2\InsetSpace \thinspace{}
24089 Height
24090 \end_layout
24091
24092 \end_inset
24093
24094
24095 \end_layout
24096
24097 \begin_layout Description
24098 Total\InsetSpace ~
24099 Height This is the Height\InsetSpace \thinspace{}
24100 +\InsetSpace \thinspace{}
24101 Depth: 
24102 \begin_inset Box Boxed
24103 position "c"
24104 hor_pos "c"
24105 has_inner_box 1
24106 inner_pos "c"
24107 use_parbox 0
24108 width "20col%"
24109 special "none"
24110 height "1in"
24111 height_special "totalheight"
24112 status collapsed
24113
24114 \begin_layout Standard
24115 \align center
24116 Box height set to 1\InsetSpace \thinspace{}
24117 Total\InsetSpace ~
24118 Height
24119 \end_layout
24120
24121 \end_inset
24122
24123
24124 \end_layout
24125
24126 \begin_layout Description
24127 Width This set the width of the box as heigth: 
24128 \begin_inset Box Boxed
24129 position "c"
24130 hor_pos "c"
24131 has_inner_box 1
24132 inner_pos "c"
24133 use_parbox 0
24134 width "12col%"
24135 special "none"
24136 height "1in"
24137 height_special "width"
24138 status collapsed
24139
24140 \begin_layout Standard
24141 \align center
24142 Box height set to 1\InsetSpace \thinspace{}
24143 Width
24144 \end_layout
24145
24146 \end_inset
24147
24148
24149 \end_layout
24150
24151 \begin_layout Standard
24152 \begin_inset VSpace bigskip
24153 \end_inset
24154
24155 When you have chosen an 
24156 \family sans
24157 Inner\InsetSpace ~
24158 Box
24159 \family default
24160 , the vertical box alignment can be:
24161 \end_layout
24162
24163 \begin_layout Description
24164 Top This is an example text line.
24165  
24166 \begin_inset Box Boxed
24167 position "t"
24168 hor_pos "c"
24169 has_inner_box 1
24170 inner_pos "c"
24171 use_parbox 0
24172 width "12col%"
24173 special "none"
24174 height "1in"
24175 height_special "totalheight"
24176 status collapsed
24177
24178 \begin_layout Standard
24179 \align center
24180 This box is top-aligned.
24181 \end_layout
24182
24183 \end_inset
24184
24185 \InsetSpace ~
24186 This is an example text line.
24187 \end_layout
24188
24189 \begin_layout Description
24190 Middle This is an example text line.
24191  
24192 \begin_inset Box Boxed
24193 position "c"
24194 hor_pos "c"
24195 has_inner_box 1
24196 inner_pos "c"
24197 use_parbox 0
24198 width "12col%"
24199 special "none"
24200 height "1in"
24201 height_special "totalheight"
24202 status collapsed
24203
24204 \begin_layout Standard
24205 \align center
24206 This box is middle-aligned.
24207 \end_layout
24208
24209 \end_inset
24210
24211 \InsetSpace ~
24212 This is an example text line.
24213 \end_layout
24214
24215 \begin_layout Description
24216 Bottom This is an example text line.
24217  
24218 \begin_inset Box Boxed
24219 position "b"
24220 hor_pos "c"
24221 has_inner_box 1
24222 inner_pos "c"
24223 use_parbox 0
24224 width "12col%"
24225 special "none"
24226 height "1in"
24227 height_special "totalheight"
24228 status collapsed
24229
24230 \begin_layout Standard
24231 \align center
24232 This box is bottom-aligned.
24233 \end_layout
24234
24235 \end_inset
24236
24237 \InsetSpace ~
24238 This is an example text line.
24239 \end_layout
24240
24241 \begin_layout Standard
24242 The horizontal box alignment can be set via LyX's paragraph dialog when
24243  you set the box into its own paragraph.
24244 \end_layout
24245
24246 \begin_layout Standard
24247 \begin_inset VSpace bigskip
24248 \end_inset
24249
24250 When you have chosen an 
24251 \family sans
24252 Inner\InsetSpace ~
24253 Box
24254 \family default
24255 , the box content can be vertical aligned to:
24256 \end_layout
24257
24258 \begin_layout Description
24259 top This is an example text line.
24260  
24261 \begin_inset Box Boxed
24262 position "c"
24263 hor_pos "c"
24264 has_inner_box 1
24265 inner_pos "t"
24266 use_parbox 0
24267 width "12col%"
24268 special "none"
24269 height "1.5in"
24270 height_special "totalheight"
24271 status collapsed
24272
24273 \begin_layout Standard
24274 \align center
24275 This box text is top-aligned.
24276 \end_layout
24277
24278 \end_inset
24279
24280 \InsetSpace ~
24281 This is an example text line.
24282 \end_layout
24283
24284 \begin_layout Description
24285 middle This is an example text line.
24286  
24287 \begin_inset Box Boxed
24288 position "c"
24289 hor_pos "c"
24290 has_inner_box 1
24291 inner_pos "c"
24292 use_parbox 0
24293 width "12col%"
24294 special "none"
24295 height "1.5in"
24296 height_special "totalheight"
24297 status collapsed
24298
24299 \begin_layout Standard
24300 \align center
24301 This box text is middle-aligned.
24302 \end_layout
24303
24304 \end_inset
24305
24306 \InsetSpace ~
24307 This is an example text line.
24308 \end_layout
24309
24310 \begin_layout Description
24311 bottom This is an example text line.
24312  
24313 \begin_inset Box Boxed
24314 position "c"
24315 hor_pos "c"
24316 has_inner_box 1
24317 inner_pos "b"
24318 use_parbox 0
24319 width "12col%"
24320 special "none"
24321 height "1.5in"
24322 height_special "totalheight"
24323 status collapsed
24324
24325 \begin_layout Standard
24326 \align center
24327 This box text is bottom-aligned.
24328 \end_layout
24329
24330 \end_inset
24331
24332 \InsetSpace ~
24333 This is an example text line.
24334 \end_layout
24335
24336 \begin_layout Description
24337 stretch This is an example text line.
24338  
24339 \begin_inset Box Boxed
24340 position "c"
24341 hor_pos "c"
24342 has_inner_box 1
24343 inner_pos "s"
24344 use_parbox 0
24345 width "12col%"
24346 special "none"
24347 height "1.5in"
24348 height_special "totalheight"
24349 status collapsed
24350
24351 \begin_layout Standard
24352 \align center
24353 This box
24354 \end_layout
24355
24356 \begin_layout Standard
24357 \align center
24358 text is
24359 \end_layout
24360
24361 \begin_layout Standard
24362 \align center
24363 stretched.
24364 \end_layout
24365
24366 \end_inset
24367
24368 \InsetSpace ~
24369 This is an example text line.
24370 \end_layout
24371
24372 \begin_layout Standard
24373 To stretch the box content, it must consist of more than one paragraph.
24374  In the example above every text line is in an own paragraph.
24375 \end_layout
24376
24377 \begin_layout Standard
24378 \begin_inset VSpace bigskip
24379 \end_inset
24380
24381 To align the box content horizontally you can use LyX's paragraph dialog
24382  when you have chosen an 
24383 \family sans
24384 Inner\InsetSpace ~
24385 Box
24386 \family default
24387 .
24388 \end_layout
24389
24390 \begin_layout Standard
24391 \align center
24392 \begin_inset Box Boxed
24393 position "c"
24394 hor_pos "c"
24395 has_inner_box 1
24396 inner_pos "s"
24397 use_parbox 0
24398 width "15col%"
24399 special "none"
24400 height "1.25in"
24401 height_special "totalheight"
24402 status collapsed
24403
24404 \begin_layout Standard
24405 \align left
24406 This box
24407 \end_layout
24408
24409 \begin_layout Standard
24410 \align center
24411 text is
24412 \end_layout
24413
24414 \begin_layout Standard
24415 \align right
24416 stretched.
24417 \end_layout
24418
24419 \end_inset
24420
24421
24422 \end_layout
24423
24424 \begin_layout Standard
24425 If you haven't set an 
24426 \family sans
24427 Inner\InsetSpace ~
24428 Box
24429 \family default
24430 , you can align the box content horizontally in the box dialog.
24431 \end_layout
24432
24433 \begin_layout Standard
24434 \align center
24435 \begin_inset Box Boxed
24436 position "c"
24437 hor_pos "s"
24438 has_inner_box 0
24439 inner_pos "s"
24440 use_parbox 0
24441 width "90col%"
24442 special "none"
24443 height "1.25in"
24444 height_special "totalheight"
24445 status collapsed
24446
24447 \begin_layout Standard
24448 \align left
24449 This box text is horizontally stretched.
24450 \end_layout
24451
24452 \end_inset
24453
24454
24455 \end_layout
24456
24457 \begin_layout Section
24458 Framed Boxes
24459 \begin_inset LatexCommand label
24460 name "sec:Framed-Boxes"
24461
24462 \end_inset
24463
24464
24465 \begin_inset LatexCommand index
24466 name "Boxes ! Frames"
24467
24468 \end_inset
24469
24470
24471 \end_layout
24472
24473 \begin_layout Standard
24474 The frame style of the box can be specified in the box-dialog in the drop-down
24475  list 
24476 \family sans
24477 Type
24478 \family default
24479 .
24480  The following frame types are possible:
24481 \end_layout
24482
24483 \begin_layout Description
24484 Rectangular\InsetSpace ~
24485 box This draws a rectangle frame around the box.
24486  The frame line thickness has the size of 
24487 \series bold
24488
24489 \backslash
24490 fboxrule
24491 \series default
24492 .
24493  
24494 \begin_inset Box Boxed
24495 position "c"
24496 hor_pos "c"
24497 has_inner_box 1
24498 inner_pos "c"
24499 use_parbox 0
24500 width "20col%"
24501 special "none"
24502 height "1in"
24503 height_special "totalheight"
24504 status collapsed
24505
24506 \begin_layout Standard
24507 \align center
24508 Rectangular box
24509 \end_layout
24510
24511 \end_inset
24512
24513
24514 \end_layout
24515
24516 \begin_layout Description
24517 Oval\InsetSpace ~
24518 box,\InsetSpace ~
24519 thin This draws an oval frame around the box.
24520  The frame line thickness has the size 0.4\InsetSpace \thinspace{}
24521 pt.
24522  
24523 \begin_inset Box ovalbox
24524 position "c"
24525 hor_pos "c"
24526 has_inner_box 1
24527 inner_pos "c"
24528 use_parbox 0
24529 width "20col%"
24530 special "none"
24531 height "1in"
24532 height_special "totalheight"
24533 status collapsed
24534
24535 \begin_layout Standard
24536 \align center
24537 Oval box, thin
24538 \end_layout
24539
24540 \end_inset
24541
24542
24543 \end_layout
24544
24545 \begin_layout Description
24546 Oval\InsetSpace ~
24547 box,\InsetSpace ~
24548 thick This draws an oval frame around the box.
24549  The frame line thickness has the size 0.8\InsetSpace \thinspace{}
24550 pt.
24551  
24552 \begin_inset Box Ovalbox
24553 position "c"
24554 hor_pos "c"
24555 has_inner_box 1
24556 inner_pos "c"
24557 use_parbox 0
24558 width "20col%"
24559 special "none"
24560 height "1in"
24561 height_special "totalheight"
24562 status collapsed
24563
24564 \begin_layout Standard
24565 \align center
24566 Oval box, thick
24567 \end_layout
24568
24569 \end_inset
24570
24571
24572 \end_layout
24573
24574 \begin_layout Description
24575 Shadow\InsetSpace ~
24576 box This draws a rectangle frame with a shadow around the box.
24577  The frame line thickness has the size of 
24578 \series bold
24579
24580 \backslash
24581 fboxrule
24582 \series default
24583 , the shadow has a width of 4\InsetSpace \thinspace{}
24584 pt.
24585  
24586 \begin_inset Box Shadowbox
24587 position "c"
24588 hor_pos "c"
24589 has_inner_box 1
24590 inner_pos "c"
24591 use_parbox 0
24592 width "20col%"
24593 special "none"
24594 height "1in"
24595 height_special "totalheight"
24596 status collapsed
24597
24598 \begin_layout Standard
24599 \align center
24600 Shadow box
24601 \end_layout
24602
24603 \end_inset
24604
24605
24606 \end_layout
24607
24608 \begin_layout Description
24609 Double\InsetSpace ~
24610 box This draws a double-line rectangle frame around the box.
24611  The line thickness of the inner frame is 0.75\InsetSpace \thinspace{}
24612
24613 \series bold
24614
24615 \backslash
24616 fboxrule
24617 \series default
24618 , the thickness of the outer frame is 1.5\InsetSpace \thinspace{}
24619
24620 \series bold
24621
24622 \backslash
24623 fboxrule
24624 \series default
24625 .
24626  The distance between the lines is 1.5\InsetSpace \thinspace{}
24627
24628 \series bold
24629
24630 \backslash
24631 fboxrule
24632 \series default
24633 \InsetSpace \thinspace{}
24634 +\InsetSpace \thinspace{}
24635 0.5\InsetSpace \thinspace{}
24636 pt.
24637  
24638 \begin_inset Box Doublebox
24639 position "c"
24640 hor_pos "c"
24641 has_inner_box 1
24642 inner_pos "c"
24643 use_parbox 0
24644 width "20col%"
24645 special "none"
24646 height "1in"
24647 height_special "totalheight"
24648 status collapsed
24649
24650 \begin_layout Standard
24651 \align center
24652 Double box
24653 \end_layout
24654
24655 \end_inset
24656
24657
24658 \end_layout
24659
24660 \begin_layout Standard
24661 \begin_inset VSpace bigskip
24662 \end_inset
24663
24664 LyX's box label will change to the used frame style when you set a frame.
24665  To be able to use the different frame styles, the LaTeX-package 
24666 \series bold
24667 fancybox
24668 \series default
24669
24670 \begin_inset LatexCommand index
24671 name "LaTeX-packages ! fancybox"
24672
24673 \end_inset
24674
24675  must be installed.
24676 \end_layout
24677
24678 \begin_layout Standard
24679 \begin_inset VSpace bigskip
24680 \end_inset
24681
24682 The default value for the size 
24683 \series bold
24684
24685 \backslash
24686 fboxrule
24687 \series default
24688  is 0.4\InsetSpace \thinspace{}
24689 pt.
24690  It can be changed with the following command in ERT to e.\InsetSpace \thinspace{}
24691 g.\InsetSpace ~
24692 2\InsetSpace \thinspace{}
24693 pt:
24694 \end_layout
24695
24696 \begin_layout Standard
24697
24698 \series bold
24699
24700 \backslash
24701 setlength{
24702 \backslash
24703 fboxrule}{2pt}
24704 \end_layout
24705
24706 \begin_layout Standard
24707 \begin_inset ERT
24708 status collapsed
24709
24710 \begin_layout Standard
24711
24712
24713 \backslash
24714 setlength{
24715 \backslash
24716 fboxrule}{2pt}
24717 \end_layout
24718
24719 \end_inset
24720
24721
24722 \begin_inset Box Boxed
24723 position "c"
24724 hor_pos "c"
24725 has_inner_box 1
24726 inner_pos "c"
24727 use_parbox 0
24728 width "25col%"
24729 special "none"
24730 height "1in"
24731 height_special "totalheight"
24732 status collapsed
24733
24734 \begin_layout Standard
24735 \align center
24736 Rectangular box with 
24737 \series bold
24738
24739 \backslash
24740 fboxrule
24741 \series default
24742 \InsetSpace \thinspace{}
24743 =\InsetSpace \thinspace{}
24744 2\InsetSpace \thinspace{}
24745 pt
24746 \end_layout
24747
24748 \end_inset
24749
24750
24751 \begin_inset ERT
24752 status collapsed
24753
24754 \begin_layout Standard
24755
24756
24757 \backslash
24758 setlength{
24759 \backslash
24760 fboxrule}{0.4pt}
24761 \end_layout
24762
24763 \end_inset
24764
24765
24766 \end_layout
24767
24768 \begin_layout Standard
24769 \begin_inset VSpace bigskip
24770 \end_inset
24771
24772 The space between the frame and the box content is for all frame styles
24773  by default 3\InsetSpace \thinspace{}
24774 pt.
24775  You can change it by setting the length 
24776 \series bold
24777
24778 \backslash
24779 fboxsep
24780 \series default
24781  to another value.
24782  For example the command
24783 \end_layout
24784
24785 \begin_layout Standard
24786
24787 \series bold
24788
24789 \backslash
24790 setlength{
24791 \backslash
24792 fboxsep}{10pt}
24793 \end_layout
24794
24795 \begin_layout Standard
24796 sets the value to 10\InsetSpace \thinspace{}
24797 pt, like for the following box:
24798 \end_layout
24799
24800 \begin_layout Standard
24801 \begin_inset ERT
24802 status collapsed
24803
24804 \begin_layout Standard
24805
24806
24807 \backslash
24808 setlength{
24809 \backslash
24810 fboxsep}{10pt}
24811 \end_layout
24812
24813 \end_inset
24814
24815
24816 \begin_inset Box Boxed
24817 position "c"
24818 hor_pos "c"
24819 has_inner_box 1
24820 inner_pos "c"
24821 use_parbox 0
24822 width "25col%"
24823 special "none"
24824 height "1in"
24825 height_special "totalheight"
24826 status collapsed
24827
24828 \begin_layout Standard
24829 \align center
24830 Rectangular box with 
24831 \series bold
24832
24833 \backslash
24834 fboxsep
24835 \series default
24836 \InsetSpace \thinspace{}
24837 =\InsetSpace \thinspace{}
24838 10\InsetSpace \thinspace{}
24839 pt
24840 \end_layout
24841
24842 \end_inset
24843
24844
24845 \begin_inset ERT
24846 status collapsed
24847
24848 \begin_layout Standard
24849
24850
24851 \backslash
24852 setlength{
24853 \backslash
24854 fboxsep}{3pt}
24855 \end_layout
24856
24857 \end_inset
24858
24859
24860 \end_layout
24861
24862 \begin_layout Standard
24863 \begin_inset VSpace bigskip
24864 \end_inset
24865
24866 The diameter of the round corners of the oval boxes can be set with the
24867  command 
24868 \series bold
24869
24870 \backslash
24871 cornersize
24872 \series default
24873 .
24874  The command
24875 \end_layout
24876
24877 \begin_layout Standard
24878
24879 \series bold
24880
24881 \backslash
24882 cornersize*{1cm}
24883 \end_layout
24884
24885 \begin_layout Standard
24886 sets the diameter to 1\InsetSpace \thinspace{}
24887 cm.
24888  The command
24889 \end_layout
24890
24891 \begin_layout Standard
24892
24893 \series bold
24894
24895 \backslash
24896 cornersize{num}
24897 \end_layout
24898
24899 \begin_layout Standard
24900 sets the diameter to 
24901 \family sans
24902 num\InsetSpace \thinspace{}
24903 ×\InsetSpace \thinspace{}
24904 minimum(width and heigth of box)
24905 \family default
24906 .
24907  The default is 
24908 \series bold
24909
24910 \backslash
24911 cornersize{0.5}
24912 \series default
24913 .
24914 \end_layout
24915
24916 \begin_layout Standard
24917 \begin_inset ERT
24918 status collapsed
24919
24920 \begin_layout Standard
24921
24922
24923 \backslash
24924 cornersize*{1.5cm}
24925 \end_layout
24926
24927 \end_inset
24928
24929
24930 \begin_inset Box Ovalbox
24931 position "c"
24932 hor_pos "c"
24933 has_inner_box 1
24934 inner_pos "c"
24935 use_parbox 0
24936 width "25col%"
24937 special "none"
24938 height "1in"
24939 height_special "totalheight"
24940 status collapsed
24941
24942 \begin_layout Standard
24943 \align center
24944 Oval box with 
24945 \series bold
24946
24947 \backslash
24948 cornersize
24949 \series default
24950 \InsetSpace \thinspace{}
24951 =\InsetSpace \thinspace{}
24952 1.5\InsetSpace \thinspace{}
24953 cm
24954 \end_layout
24955
24956 \end_inset
24957
24958
24959 \begin_inset ERT
24960 status collapsed
24961
24962 \begin_layout Standard
24963
24964
24965 \backslash
24966 cornersize{0.5}
24967 \end_layout
24968
24969 \end_inset
24970
24971
24972 \end_layout
24973
24974 \begin_layout Standard
24975 \begin_inset VSpace bigskip
24976 \end_inset
24977
24978 The size of the shadow can be adjusted by changing the length 
24979 \series bold
24980
24981 \backslash
24982 shadowsize
24983 \series default
24984 .
24985  It it set to 2\InsetSpace \thinspace{}
24986 pt for the following box by this command:
24987 \end_layout
24988
24989 \begin_layout Standard
24990
24991 \series bold
24992
24993 \backslash
24994 setlength{
24995 \backslash
24996 shadowsize}{2pt}
24997 \end_layout
24998
24999 \begin_layout Standard
25000 \begin_inset ERT
25001 status collapsed
25002
25003 \begin_layout Standard
25004
25005
25006 \backslash
25007 setlength{
25008 \backslash
25009 shadowsize}{2pt}
25010 \end_layout
25011
25012 \end_inset
25013
25014
25015 \begin_inset Box Shadowbox
25016 position "c"
25017 hor_pos "c"
25018 has_inner_box 1
25019 inner_pos "c"
25020 use_parbox 0
25021 width "25col%"
25022 special "none"
25023 height "1in"
25024 height_special "totalheight"
25025 status collapsed
25026
25027 \begin_layout Standard
25028 \align center
25029 Shadow box with 
25030 \series bold
25031
25032 \backslash
25033 shadowsize
25034 \series default
25035 \InsetSpace \thinspace{}
25036 =\InsetSpace \thinspace{}
25037 2\InsetSpace \thinspace{}
25038 pt
25039 \end_layout
25040
25041 \end_inset
25042
25043
25044 \begin_inset ERT
25045 status collapsed
25046
25047 \begin_layout Standard
25048
25049
25050 \backslash
25051 setlength{
25052 \backslash
25053 shadowsize}{4pt}
25054 \end_layout
25055
25056 \end_inset
25057
25058
25059 \end_layout
25060
25061 \begin_layout Standard
25062 \begin_inset VSpace bigskip
25063 \end_inset
25064
25065 Changed lengths and widths are valid for all boxes following the commands
25066  that change them.
25067 \end_layout
25068
25069 \begin_layout Section
25070 Minipages
25071 \begin_inset LatexCommand label
25072 name "sec:Minipages"
25073
25074 \end_inset
25075
25076
25077 \begin_inset LatexCommand index
25078 name "Boxes ! Minipages"
25079
25080 \end_inset
25081
25082
25083 \end_layout
25084
25085 \begin_layout Standard
25086 Minipages are treated by LaTeX as pages within pages and can therefore for
25087  example have their own footnotes.
25088 \end_layout
25089
25090 \begin_layout Standard
25091 Minipages are useful when you write documents with different languages.
25092 \end_layout
25093
25094 \begin_layout Standard
25095 Below are two example minipages side by side.
25096  Their width is set to 45\InsetSpace \thinspace{}
25097 col% and they are separated by a horizontal fill,
25098  that was inserted via the menu 
25099 \family sans
25100 Insert\SpecialChar \menuseparator
25101 Special\InsetSpace ~
25102 Formatting\SpecialChar \menuseparator
25103 Horizontal\InsetSpace ~
25104 Fill
25105 \family default
25106 .
25107 \end_layout
25108
25109 \begin_layout Standard
25110 \begin_inset Box Frameless
25111 position "t"
25112 hor_pos "c"
25113 has_inner_box 1
25114 inner_pos "c"
25115 use_parbox 0
25116 width "45col%"
25117 special "none"
25118 height "1in"
25119 height_special "totalheight"
25120 status open
25121
25122 \begin_layout Standard
25123
25124 \lang german
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  Dies ist ein deutscher Text
25138 \begin_inset Foot
25139 status collapsed
25140
25141 \begin_layout Standard
25142
25143 \lang german
25144 Dies ist eine deutsche Fußnote.
25145 \end_layout
25146
25147 \end_inset
25148
25149 .
25150  Dies ist ein deutscher Text.
25151  Dies ist ein deutscher Text.
25152 \end_layout
25153
25154 \end_inset
25155
25156
25157 \hfill
25158
25159 \begin_inset Box Frameless
25160 position "t"
25161 hor_pos "c"
25162 has_inner_box 1
25163 inner_pos "c"
25164 use_parbox 0
25165 width "45col%"
25166 special "none"
25167 height "1in"
25168 height_special "totalheight"
25169 status open
25170
25171 \begin_layout Standard
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  This is an English Text.
25188 \begin_inset Foot
25189 status collapsed
25190
25191 \begin_layout Standard
25192 This is an English footnote.
25193 \end_layout
25194
25195 \end_inset
25196
25197  This is an English Text.
25198  
25199 \end_layout
25200
25201 \end_inset
25202
25203
25204 \end_layout
25205
25206 \begin_layout Standard
25207 \begin_inset VSpace bigskip
25208 \end_inset
25209
25210 Another application for minipages are footnotes within tables.
25211  Due to a LaTeX restriction footnotes within tables doesn't appear at the
25212  bottom of the current page.
25213  But when you put the table with the footnote to a minipage, the footnote
25214  will appear at its bottom, numbered with Latin letters.
25215  The footnote number is reset to 1 in every minipage but not outside the
25216  minipages.
25217 \end_layout
25218
25219 \begin_layout Standard
25220 The footnote of this table doesn't appear: 
25221 \begin_inset Tabular
25222 <lyxtabular version="3" rows="3" columns="4">
25223 <features>
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" width="0pt">
25227 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
25228 <row topline="true">
25229 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25230 \begin_inset Text
25231
25232 \begin_layout Standard
25233 1
25234 \end_layout
25235
25236 \end_inset
25237 </cell>
25238 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25239 \begin_inset Text
25240
25241 \begin_layout Standard
25242 2
25243 \end_layout
25244
25245 \end_inset
25246 </cell>
25247 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25248 \begin_inset Text
25249
25250 \begin_layout Standard
25251 3
25252 \begin_inset Foot
25253 status collapsed
25254
25255 \begin_layout Standard
25256 This is a footnote within a table.
25257 \end_layout
25258
25259 \end_inset
25260
25261
25262 \end_layout
25263
25264 \end_inset
25265 </cell>
25266 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25267 \begin_inset Text
25268
25269 \begin_layout Standard
25270 4
25271 \end_layout
25272
25273 \end_inset
25274 </cell>
25275 </row>
25276 <row topline="true">
25277 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25278 \begin_inset Text
25279
25280 \begin_layout Standard
25281 a
25282 \end_layout
25283
25284 \end_inset
25285 </cell>
25286 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25287 \begin_inset Text
25288
25289 \begin_layout Standard
25290 b
25291 \end_layout
25292
25293 \end_inset
25294 </cell>
25295 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25296 \begin_inset Text
25297
25298 \begin_layout Standard
25299 c
25300 \end_layout
25301
25302 \end_inset
25303 </cell>
25304 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25305 \begin_inset Text
25306
25307 \begin_layout Standard
25308 d
25309 \end_layout
25310
25311 \end_inset
25312 </cell>
25313 </row>
25314 <row topline="true" bottomline="true">
25315 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25316 \begin_inset Text
25317
25318 \begin_layout Standard
25319 e
25320 \end_layout
25321
25322 \end_inset
25323 </cell>
25324 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25325 \begin_inset Text
25326
25327 \begin_layout Standard
25328 f
25329 \end_layout
25330
25331 \end_inset
25332 </cell>
25333 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25334 \begin_inset Text
25335
25336 \begin_layout Standard
25337 g
25338 \end_layout
25339
25340 \end_inset
25341 </cell>
25342 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25343 \begin_inset Text
25344
25345 \begin_layout Standard
25346 h
25347 \end_layout
25348
25349 \end_inset
25350 </cell>
25351 </row>
25352 </lyxtabular>
25353
25354 \end_inset
25355
25356
25357 \end_layout
25358
25359 \begin_layout Standard
25360 \align center
25361 \begin_inset Box Frameless
25362 position "t"
25363 hor_pos "c"
25364 has_inner_box 1
25365 inner_pos "c"
25366 use_parbox 0
25367 width "30col%"
25368 special "none"
25369 height "1in"
25370 height_special "totalheight"
25371 status open
25372
25373 \begin_layout Standard
25374 \align center
25375 \begin_inset Tabular
25376 <lyxtabular version="3" rows="3" columns="4">
25377 <features>
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" width="0pt">
25381 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
25382 <row topline="true">
25383 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25384 \begin_inset Text
25385
25386 \begin_layout Standard
25387 1
25388 \end_layout
25389
25390 \end_inset
25391 </cell>
25392 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25393 \begin_inset Text
25394
25395 \begin_layout Standard
25396 2
25397 \end_layout
25398
25399 \end_inset
25400 </cell>
25401 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25402 \begin_inset Text
25403
25404 \begin_layout Standard
25405 3
25406 \begin_inset Foot
25407 status collapsed
25408
25409 \begin_layout Standard
25410 This is a footnote within a table.
25411 \end_layout
25412
25413 \end_inset
25414
25415
25416 \end_layout
25417
25418 \end_inset
25419 </cell>
25420 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25421 \begin_inset Text
25422
25423 \begin_layout Standard
25424 4
25425 \end_layout
25426
25427 \end_inset
25428 </cell>
25429 </row>
25430 <row topline="true">
25431 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25432 \begin_inset Text
25433
25434 \begin_layout Standard
25435 a
25436 \end_layout
25437
25438 \end_inset
25439 </cell>
25440 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25441 \begin_inset Text
25442
25443 \begin_layout Standard
25444 b
25445 \end_layout
25446
25447 \end_inset
25448 </cell>
25449 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25450 \begin_inset Text
25451
25452 \begin_layout Standard
25453 c
25454 \end_layout
25455
25456 \end_inset
25457 </cell>
25458 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25459 \begin_inset Text
25460
25461 \begin_layout Standard
25462 d
25463 \end_layout
25464
25465 \end_inset
25466 </cell>
25467 </row>
25468 <row topline="true" bottomline="true">
25469 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25470 \begin_inset Text
25471
25472 \begin_layout Standard
25473 e
25474 \end_layout
25475
25476 \end_inset
25477 </cell>
25478 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25479 \begin_inset Text
25480
25481 \begin_layout Standard
25482 f
25483 \end_layout
25484
25485 \end_inset
25486 </cell>
25487 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25488 \begin_inset Text
25489
25490 \begin_layout Standard
25491 g
25492 \end_layout
25493
25494 \end_inset
25495 </cell>
25496 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25497 \begin_inset Text
25498
25499 \begin_layout Standard
25500 h
25501 \end_layout
25502
25503 \end_inset
25504 </cell>
25505 </row>
25506 </lyxtabular>
25507
25508 \end_inset
25509
25510
25511 \end_layout
25512
25513 \end_inset
25514
25515
25516 \end_layout
25517
25518 \begin_layout Standard
25519 \begin_inset VSpace bigskip
25520 \end_inset
25521
25522 The document-wide paragraph settings are ignored within minipages.
25523  That means that there will be no space between paragraphs in minipages
25524  although you set it to e.\InsetSpace \thinspace{}
25525 g.\InsetSpace ~
25526
25527 \family sans
25528 MedSkip
25529 \family default
25530  in the document settings.
25531 \end_layout
25532
25533 \begin_layout Standard
25534 Minipages can also be used to set a background color for text parts, see
25535  section\InsetSpace ~
25536
25537 \begin_inset LatexCommand ref
25538 reference "sub:Color-for-Paragraphs"
25539
25540 \end_inset
25541
25542 .
25543 \end_layout
25544
25545 \begin_layout Standard
25546 \begin_inset Note Greyedout
25547 status open
25548
25549 \begin_layout Standard
25550
25551 \series bold
25552 Note:
25553 \series default
25554  You cannot have floats or margin notes inside minipages but minipages can
25555  be used inside tables, floats, and other boxes.
25556 \end_layout
25557
25558 \end_inset
25559
25560
25561 \end_layout
25562
25563 \begin_layout Section
25564 Parboxes
25565 \begin_inset LatexCommand label
25566 name "sec:Parboxes"
25567
25568 \end_inset
25569
25570
25571 \begin_inset LatexCommand index
25572 name "Boxes ! Parboxes"
25573
25574 \end_inset
25575
25576
25577 \end_layout
25578
25579 \begin_layout Standard
25580 Parboxes are very similar to minipages with the difference that they cannot
25581  have footnotes.
25582  The main difference to minipages is that minipages are in contrary to parboxes
25583  no real boxes but LaTeX-environments.
25584 \end_layout
25585
25586 \begin_layout Standard
25587 \align center
25588 \begin_inset Box Frameless
25589 position "t"
25590 hor_pos "c"
25591 has_inner_box 1
25592 inner_pos "t"
25593 use_parbox 1
25594 width "33col%"
25595 special "none"
25596 height "1in"
25597 height_special "totalheight"
25598 status collapsed
25599
25600 \begin_layout Standard
25601 This a text within a parbox.
25602  This a text within a parbox.
25603 \end_layout
25604
25605 \begin_layout Standard
25606 This footnote won't appear:
25607 \begin_inset Foot
25608 status collapsed
25609
25610 \begin_layout Standard
25611 This footnote is inside a parbox and will therefore not appear.
25612 \end_layout
25613
25614 \end_inset
25615
25616
25617 \end_layout
25618
25619 \end_inset
25620
25621
25622 \end_layout
25623
25624 \begin_layout Section
25625 Boxes for Words and Characters
25626 \begin_inset LatexCommand index
25627 name "Boxes ! for Characters"
25628
25629 \end_inset
25630
25631
25632 \end_layout
25633
25634 \begin_layout Subsection
25635 Prevent Hyphenation
25636 \begin_inset LatexCommand label
25637 name "sec:Prevent-Hyphenation"
25638
25639 \end_inset
25640
25641
25642 \begin_inset LatexCommand index
25643 name "Boxes ! to Prevent Hyphenation"
25644
25645 \end_inset
25646
25647
25648 \end_layout
25649
25650 \begin_layout Standard
25651 You can use a special kind of boxes to prevent words or text to be hyphenated.
25652 \newline
25653 Her
25654 e is an example text:
25655 \end_layout
25656
25657 \begin_layout Standard
25658 This line is an example to show how you can prevent the hyphenation of 
25659 \begin_inset Quotes eld
25660 \end_inset
25661
25662 veryverylongword
25663 \begin_inset Quotes erd
25664 \end_inset
25665
25666 .
25667 \end_layout
25668
25669 \begin_layout Standard
25670 To prevent the hyphenation of the word 
25671 \begin_inset Quotes eld
25672 \end_inset
25673
25674 veryverylongword
25675 \begin_inset Quotes erd
25676 \end_inset
25677
25678 , add the command
25679 \end_layout
25680
25681 \begin_layout Standard
25682
25683 \series bold
25684
25685 \backslash
25686 mbox{
25687 \end_layout
25688
25689 \begin_layout Standard
25690 in ERT before the word.
25691  Behind the word insert a closing brace 
25692 \begin_inset Quotes eld
25693 \end_inset
25694
25695
25696 \series bold
25697 }
25698 \series default
25699
25700 \begin_inset Quotes erd
25701 \end_inset
25702
25703  in ERT.
25704 \begin_inset ERT
25705 status collapsed
25706
25707 \begin_layout Standard
25708
25709
25710 \backslash
25711 pagebreak 
25712 \end_layout
25713
25714 \end_inset
25715
25716
25717 \end_layout
25718
25719 \begin_layout Standard
25720 This is the result:
25721 \end_layout
25722
25723 \begin_layout Standard
25724 This line is an example to show how you can prevent the hyphenation of 
25725 \begin_inset ERT
25726 status collapsed
25727
25728 \begin_layout Standard
25729
25730
25731 \backslash
25732 mbox{
25733 \end_layout
25734
25735 \end_inset
25736
25737
25738 \begin_inset Quotes eld
25739 \end_inset
25740
25741 veryverylongword
25742 \begin_inset Quotes erd
25743 \end_inset
25744
25745 .
25746 \begin_inset ERT
25747 status collapsed
25748
25749 \begin_layout Standard
25750
25751 }
25752 \end_layout
25753
25754 \end_inset
25755
25756
25757 \end_layout
25758
25759 \begin_layout Standard
25760 You can alternatively set the command 
25761 \begin_inset Quotes eld
25762 \end_inset
25763
25764
25765 \series bold
25766
25767 \backslash
25768 -
25769 \series default
25770
25771 \begin_inset Quotes grd
25772 \end_inset
25773
25774  as ERT directly before the word:
25775 \end_layout
25776
25777 \begin_layout Standard
25778 This line is an example to show how you can prevent the hyphenation of 
25779 \begin_inset Quotes eld
25780 \end_inset
25781
25782
25783 \begin_inset ERT
25784 status collapsed
25785
25786 \begin_layout Standard
25787
25788
25789 \backslash
25790 -
25791 \end_layout
25792
25793 \end_inset
25794
25795 veryverylongword
25796 \begin_inset Quotes erd
25797 \end_inset
25798
25799 .
25800 \end_layout
25801
25802 \begin_layout Standard
25803 Of course the word now protrudes over the side margin.
25804  To avoid this, add via the menu 
25805 \family sans
25806 Insert\SpecialChar \menuseparator
25807 Special\InsetSpace ~
25808 Formatting\SpecialChar \menuseparator
25809 Line\InsetSpace ~
25810 Break
25811 \family default
25812  (shortcut 
25813 \series bold
25814 Ctrl-Return
25815 \series default
25816 ) a line break before the word:
25817 \end_layout
25818
25819 \begin_layout Standard
25820 This line is an example to show how you can prevent the hyphenation of 
25821 \newline
25822
25823 \begin_inset ERT
25824 status collapsed
25825
25826 \begin_layout Standard
25827
25828
25829 \backslash
25830 mbox{
25831 \end_layout
25832
25833 \end_inset
25834
25835
25836 \begin_inset Quotes eld
25837 \end_inset
25838
25839 veryverylongword
25840 \begin_inset Quotes erd
25841 \end_inset
25842
25843 .
25844 \begin_inset ERT
25845 status collapsed
25846
25847 \begin_layout Standard
25848
25849 }
25850 \end_layout
25851
25852 \end_inset
25853
25854
25855 \end_layout
25856
25857 \begin_layout Subsection
25858 Vertical Alignment
25859 \begin_inset LatexCommand label
25860 name "sub:Vertical-Alignment"
25861
25862 \end_inset
25863
25864
25865 \begin_inset LatexCommand index
25866 name "Boxes ! for Vertical Alignment"
25867
25868 \end_inset
25869
25870
25871 \begin_inset LatexCommand index
25872 name "Boxes ! Raiseboxes"
25873
25874 \end_inset
25875
25876
25877 \end_layout
25878
25879 \begin_layout Standard
25880 With the help of the command 
25881 \series bold
25882
25883 \backslash
25884 raisebox
25885 \series default
25886  you can align words, characters or other boxes vertically to the surrounding
25887  text.
25888  
25889 \series bold
25890
25891 \backslash
25892 raisebox
25893 \series default
25894  is used with the following scheme:
25895 \end_layout
25896
25897 \begin_layout Standard
25898
25899 \series bold
25900
25901 \backslash
25902 raisebox{lift}[height][depth]{box content}
25903 \end_layout
25904
25905 \begin_layout Standard
25906 The lift can be a positive value to raise the box or a negative value to
25907  lower the box.
25908 \end_layout
25909
25910 \begin_layout Standard
25911 To align for example the word 
25912 \begin_inset Quotes eld
25913 \end_inset
25914
25915 preventing
25916 \begin_inset Quotes erd
25917 \end_inset
25918
25919  so that the bottom of the 
25920 \begin_inset Quotes eld
25921 \end_inset
25922
25923 deepest
25924 \begin_inset Quotes erd
25925 \end_inset
25926
25927  character 
25928 \begin_inset Quotes eld
25929 \end_inset
25930
25931 p
25932 \begin_inset Quotes erd
25933 \end_inset
25934
25935  is at the baseline, insert the command
25936 \end_layout
25937
25938 \begin_layout Standard
25939
25940 \series bold
25941
25942 \backslash
25943 raisebox{
25944 \backslash
25945 depth}{
25946 \end_layout
25947
25948 \begin_layout Standard
25949 in ERT before the word.
25950  Behind the word insert a closing brace 
25951 \begin_inset Quotes eld
25952 \end_inset
25953
25954
25955 \series bold
25956 }
25957 \series default
25958
25959 \begin_inset Quotes erd
25960 \end_inset
25961
25962  in ERT.
25963 \newline
25964 This is the result:
25965 \end_layout
25966
25967 \begin_layout Standard
25968 This is a text line with the word 
25969 \begin_inset ERT
25970 status collapsed
25971
25972 \begin_layout Standard
25973
25974
25975 \backslash
25976 raisebox{
25977 \backslash
25978 depth}{
25979 \end_layout
25980
25981 \end_inset
25982
25983
25984 \begin_inset Quotes eld
25985 \end_inset
25986
25987 preventing
25988 \begin_inset Quotes erd
25989 \end_inset
25990
25991
25992 \begin_inset ERT
25993 status collapsed
25994
25995 \begin_layout Standard
25996
25997 }
25998 \end_layout
25999
26000 \end_inset
26001
26002  as raised word.
26003 \end_layout
26004
26005 \begin_layout Standard
26006 \begin_inset VSpace bigskip
26007 \end_inset
26008
26009 When you raise or lower characters in a line, the line distance will be
26010  spread:
26011 \end_layout
26012
26013 \begin_layout Standard
26014 This is a text line with the word 
26015 \begin_inset ERT
26016 status collapsed
26017
26018 \begin_layout Standard
26019
26020
26021 \backslash
26022 raisebox{-
26023 \backslash
26024 depth}{
26025 \end_layout
26026
26027 \end_inset
26028
26029
26030 \begin_inset Quotes eld
26031 \end_inset
26032
26033 preventing
26034 \begin_inset Quotes erd
26035 \end_inset
26036
26037
26038 \begin_inset ERT
26039 status collapsed
26040
26041 \begin_layout Standard
26042
26043 }
26044 \end_layout
26045
26046 \end_inset
26047
26048  as lowered word.
26049 \newline
26050 This is a text line with the word 
26051 \begin_inset ERT
26052 status collapsed
26053
26054 \begin_layout Standard
26055
26056
26057 \backslash
26058 raisebox{0.5cm}{
26059 \end_layout
26060
26061 \end_inset
26062
26063
26064 \begin_inset Quotes eld
26065 \end_inset
26066
26067 testing
26068 \begin_inset Quotes erd
26069 \end_inset
26070
26071
26072 \begin_inset ERT
26073 status collapsed
26074
26075 \begin_layout Standard
26076
26077 }
26078 \end_layout
26079
26080 \end_inset
26081
26082  as raised word.
26083 \end_layout
26084
26085 \begin_layout Standard
26086 If you want to prevent this for a certain reason, set the box height to
26087  a zero value.
26088  For example use
26089 \end_layout
26090
26091 \begin_layout Standard
26092
26093 \series bold
26094
26095 \backslash
26096 raisebox{-
26097 \backslash
26098 depth}[0pt]{
26099 \end_layout
26100
26101 \begin_layout Standard
26102 This is a text line with the word 
26103 \begin_inset ERT
26104 status collapsed
26105
26106 \begin_layout Standard
26107
26108
26109 \backslash
26110 raisebox{-
26111 \backslash
26112 depth}[0pt]{
26113 \end_layout
26114
26115 \end_inset
26116
26117
26118 \begin_inset Quotes eld
26119 \end_inset
26120
26121 preventing
26122 \begin_inset Quotes erd
26123 \end_inset
26124
26125
26126 \begin_inset ERT
26127 status collapsed
26128
26129 \begin_layout Standard
26130
26131 }
26132 \end_layout
26133
26134 \end_inset
26135
26136  as lowered word.
26137 \newline
26138 This is a text line with the word 
26139 \begin_inset ERT
26140 status collapsed
26141
26142 \begin_layout Standard
26143
26144
26145 \backslash
26146 raisebox{0.5cm}[0pt]{
26147 \end_layout
26148
26149 \end_inset
26150
26151
26152 \begin_inset Quotes eld
26153 \end_inset
26154
26155 testing
26156 \begin_inset Quotes erd
26157 \end_inset
26158
26159
26160 \begin_inset ERT
26161 status collapsed
26162
26163 \begin_layout Standard
26164
26165 }
26166 \end_layout
26167
26168 \end_inset
26169
26170  as raised word.
26171 \end_layout
26172
26173 \begin_layout Section
26174 Colored Boxes
26175 \begin_inset LatexCommand label
26176 name "sec:Colored-Boxes"
26177
26178 \end_inset
26179
26180
26181 \begin_inset LatexCommand index
26182 name "Boxes ! Color"
26183
26184 \end_inset
26185
26186
26187 \end_layout
26188
26189 \begin_layout Subsection
26190 Color for Text
26191 \begin_inset LatexCommand index
26192 name "Color ! for Text"
26193
26194 \end_inset
26195
26196
26197 \end_layout
26198
26199 \begin_layout Standard
26200 To color the background of text the text must be put into a so called 
26201 \begin_inset Quotes eld
26202 \end_inset
26203
26204 colorbox
26205 \begin_inset Quotes erd
26206 \end_inset
26207
26208 .
26209  This requires that the LaTeX-package 
26210 \series bold
26211 color
26212 \series default
26213
26214 \begin_inset LatexCommand index
26215 name "LaTeX-packages ! color"
26216
26217 \end_inset
26218
26219  is loaded in the document preamble with the command
26220 \end_layout
26221
26222 \begin_layout Standard
26223
26224 \series bold
26225
26226 \backslash
26227 @ifundef\SpecialChar \textcompwordmark{}
26228 ined{textcolor}
26229 \newline
26230
26231 \begin_inset ERT
26232 status collapsed
26233
26234 \begin_layout Standard
26235
26236
26237 \backslash
26238 hphantom{ }
26239 \end_layout
26240
26241 \end_inset
26242
26243 {
26244 \backslash
26245 usepackage{color}}{}
26246 \end_layout
26247
26248 \begin_layout Standard
26249 The package 
26250 \series bold
26251 color
26252 \series default
26253  will be loaded automatically by LyX when you color text
26254 \begin_inset Foot
26255 status collapsed
26256
26257 \begin_layout Standard
26258 To avoid that it is loaded twice the command 
26259 \series bold
26260
26261 \backslash
26262 @ifundef\SpecialChar \textcompwordmark{}
26263 ined
26264 \series default
26265  is used.
26266 \end_layout
26267
26268 \end_inset
26269
26270 .
26271 \end_layout
26272
26273 \begin_layout Standard
26274 \begin_inset VSpace medskip
26275 \end_inset
26276
26277 Colorboxes are created with the command 
26278 \series bold
26279
26280 \backslash
26281 colorbox
26282 \series default
26283 .
26284  This will be used with the following scheme:
26285 \end_layout
26286
26287 \begin_layout Standard
26288
26289 \series bold
26290
26291 \backslash
26292 colorbox{color}{box content}
26293 \end_layout
26294
26295 \begin_layout Standard
26296 The box content can also be a box and colorboxes can also be within other
26297  boxes.
26298 \end_layout
26299
26300 \begin_layout Standard
26301 The following colors are predefined:
26302 \newline
26303
26304 \family sans
26305 black
26306 \family default
26307
26308 \family sans
26309 blue
26310 \family default
26311
26312 \family sans
26313 cyan
26314 \family default
26315 \series bold
26316 ,
26317 \series default
26318  
26319 \family sans
26320 green
26321 \family default
26322
26323 \family sans
26324 magenta
26325 \family default
26326
26327 \family sans
26328 red
26329 \family default
26330
26331 \family sans
26332 white
26333 \family default
26334 , and 
26335 \family sans
26336 yellow
26337 \family default
26338 .
26339 \newline
26340 You can also define your own color as described in section\InsetSpace ~
26341
26342 \begin_inset LatexCommand ref
26343 reference "sec:Colored-Tables"
26344
26345 \end_inset
26346
26347 .
26348 \end_layout
26349
26350 \begin_layout Standard
26351 To have e.\InsetSpace \thinspace{}
26352 g.\InsetSpace ~
26353 a red background for a word, insert the command
26354 \end_layout
26355
26356 \begin_layout Standard
26357
26358 \series bold
26359
26360 \backslash
26361 colorbox{red}{
26362 \end_layout
26363
26364 \begin_layout Standard
26365 before the word in ERT.
26366  Behind the word insert a closing brace 
26367 \begin_inset Quotes eld
26368 \end_inset
26369
26370
26371 \series bold
26372 }
26373 \series default
26374
26375 \begin_inset Quotes erd
26376 \end_inset
26377
26378  in ERT.
26379 \newline
26380 This is the result:
26381 \end_layout
26382
26383 \begin_layout Standard
26384 This is a line where the word 
26385 \begin_inset ERT
26386 status collapsed
26387
26388 \begin_layout Standard
26389
26390
26391 \backslash
26392 colorbox{red}{
26393 \end_layout
26394
26395 \end_inset
26396
26397
26398 \begin_inset Quotes eld
26399 \end_inset
26400
26401 Attention!
26402 \begin_inset Quotes erd
26403 \end_inset
26404
26405
26406 \begin_inset ERT
26407 status collapsed
26408
26409 \begin_layout Standard
26410
26411 }
26412 \end_layout
26413
26414 \end_inset
26415
26416  has a red background.
26417 \end_layout
26418
26419 \begin_layout Standard
26420 \begin_inset VSpace bigskip
26421 \end_inset
26422
26423 If you would have the box frame in a different color, you can use the command
26424  
26425 \series bold
26426
26427 \backslash
26428 fcolorbox
26429 \series default
26430  with the following scheme:
26431 \end_layout
26432
26433 \begin_layout Standard
26434
26435 \series bold
26436
26437 \backslash
26438 fcolorbox{frame color}{box color}{box content}
26439 \end_layout
26440
26441 \begin_layout Standard
26442
26443 \series bold
26444
26445 \backslash
26446 fcolorbox
26447 \series default
26448  is an extension to 
26449 \series bold
26450
26451 \backslash
26452 colorbox
26453 \series default
26454 .
26455  The frame thickness and the space between the frame and the box content
26456  can be adjusted with the lengths 
26457 \series bold
26458
26459 \backslash
26460 fboxrule
26461 \series default
26462  and 
26463 \series bold
26464
26465 \backslash
26466 fboxsep
26467 \series default
26468 , respectively, as described in section\InsetSpace ~
26469
26470 \begin_inset LatexCommand ref
26471 reference "sec:Framed-Boxes"
26472
26473 \end_inset
26474
26475 .
26476 \end_layout
26477
26478 \begin_layout Standard
26479 For the following example the command
26480 \end_layout
26481
26482 \begin_layout Standard
26483
26484 \series bold
26485
26486 \backslash
26487 fcolorbox{cyan}{magenta}{
26488 \end_layout
26489
26490 \begin_layout Standard
26491 was used.
26492 \end_layout
26493
26494 \begin_layout Standard
26495 Here is an example where the frame line thickness was set to 1\InsetSpace \thinspace{}
26496 mm:
26497 \newline
26498
26499 \begin_inset ERT
26500 status collapsed
26501
26502 \begin_layout Standard
26503
26504
26505 \backslash
26506 fboxrule 1mm 
26507 \backslash
26508 fboxsep 1mm
26509 \end_layout
26510
26511 \end_inset
26512
26513
26514 \begin_inset ERT
26515 status collapsed
26516
26517 \begin_layout Standard
26518
26519
26520 \backslash
26521 fcolorbox{cyan}{magenta}{
26522 \end_layout
26523
26524 \end_inset
26525
26526 This is text within a colored, framed box.
26527 \begin_inset ERT
26528 status collapsed
26529
26530 \begin_layout Standard
26531
26532 }
26533 \end_layout
26534
26535 \end_inset
26536
26537
26538 \end_layout
26539
26540 \begin_layout Standard
26541 \begin_inset VSpace bigskip
26542 \end_inset
26543
26544 Of course you can also have colored text inside a colorbox:
26545 \newline
26546
26547 \begin_inset ERT
26548 status collapsed
26549
26550 \begin_layout Standard
26551
26552
26553 \backslash
26554 fcolorbox{cyan}{magenta}{
26555 \end_layout
26556
26557 \end_inset
26558
26559
26560 \color yellow
26561 This is colored text within a colored, framed box.
26562 \color none
26563
26564 \begin_inset ERT
26565 status collapsed
26566
26567 \begin_layout Standard
26568
26569 }
26570 \end_layout
26571
26572 \end_inset
26573
26574
26575 \begin_inset ERT
26576 status collapsed
26577
26578 \begin_layout Standard
26579
26580
26581 \backslash
26582 fboxrule 0.4pt 
26583 \backslash
26584 fboxsep 3pt
26585 \end_layout
26586
26587 \end_inset
26588
26589
26590 \end_layout
26591
26592 \begin_layout Standard
26593
26594 \series bold
26595 \begin_inset VSpace medskip
26596 \end_inset
26597
26598
26599 \end_layout
26600
26601 \begin_layout Standard
26602 \begin_inset Note Greyedout
26603 status open
26604
26605 \begin_layout Standard
26606
26607 \series bold
26608 Note:
26609 \series default
26610  Text in colorboxes cannot have line breaks.
26611  To color multiple text lines or paragraphs, use a box inside a colorbox
26612  as described in the following.
26613 \end_layout
26614
26615 \end_inset
26616
26617
26618 \end_layout
26619
26620 \begin_layout Subsection
26621 Color for Paragraphs
26622 \begin_inset LatexCommand label
26623 name "sub:Color-for-Paragraphs"
26624
26625 \end_inset
26626
26627
26628 \begin_inset LatexCommand index
26629 name "Color ! for Paragraphs"
26630
26631 \end_inset
26632
26633
26634 \end_layout
26635
26636 \begin_layout Standard
26637 To set the background color for more than one text line, put the text into
26638  a minipage.
26639  Before the minipage insert the 
26640 \series bold
26641
26642 \backslash
26643 colorbox
26644 \series default
26645  command
26646 \end_layout
26647
26648 \begin_layout Standard
26649
26650 \series bold
26651
26652 \backslash
26653 colorbox{color}{
26654 \end_layout
26655
26656 \begin_layout Standard
26657 in ERT.
26658  Behind the minipage insert a closing brace 
26659 \begin_inset Quotes eld
26660 \end_inset
26661
26662
26663 \series bold
26664 }
26665 \series default
26666
26667 \begin_inset Quotes erd
26668 \end_inset
26669
26670  in ERT.
26671 \end_layout
26672
26673 \begin_layout Standard
26674 \begin_inset ERT
26675 status collapsed
26676
26677 \begin_layout Standard
26678
26679
26680 \backslash
26681 colorbox{lightgrey}{
26682 \end_layout
26683
26684 \end_inset
26685
26686
26687 \begin_inset Box Frameless
26688 position "t"
26689 hor_pos "c"
26690 has_inner_box 1
26691 inner_pos "t"
26692 use_parbox 0
26693 width "100col%"
26694 special "none"
26695 height "1in"
26696 height_special "totalheight"
26697 status collapsed
26698
26699 \begin_layout Standard
26700 This is text with background color.
26701  This is text with background color.
26702 \end_layout
26703
26704 \begin_layout Standard
26705 \begin_inset VSpace defskip
26706 \end_inset
26707
26708 The text can have footnotes
26709 \begin_inset Foot
26710 status collapsed
26711
26712 \begin_layout Standard
26713 Another example footnote
26714 \end_layout
26715
26716 \end_inset
26717
26718  and can include tables and figures.
26719 \end_layout
26720
26721 \begin_layout Standard
26722 \align center
26723 \begin_inset Tabular
26724 <lyxtabular version="3" rows="3" columns="3">
26725 <features>
26726 <column alignment="center" valignment="top" leftline="true" width="0">
26727 <column alignment="center" valignment="top" leftline="true" width="0">
26728 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
26729 <row topline="true">
26730 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26731 \begin_inset Text
26732
26733 \begin_layout Standard
26734 a
26735 \end_layout
26736
26737 \end_inset
26738 </cell>
26739 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26740 \begin_inset Text
26741
26742 \begin_layout Standard
26743 !
26744 \end_layout
26745
26746 \end_inset
26747 </cell>
26748 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26749 \begin_inset Text
26750
26751 \begin_layout Standard
26752 3
26753 \end_layout
26754
26755 \end_inset
26756 </cell>
26757 </row>
26758 <row topline="true">
26759 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26760 \begin_inset Text
26761
26762 \begin_layout Standard
26763 <
26764 \end_layout
26765
26766 \end_inset
26767 </cell>
26768 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26769 \begin_inset Text
26770
26771 \begin_layout Standard
26772 b2
26773 \begin_inset Quotes erd
26774 \end_inset
26775
26776 |
26777 \end_layout
26778
26779 \end_inset
26780 </cell>
26781 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26782 \begin_inset Text
26783
26784 \begin_layout Standard
26785 >
26786 \end_layout
26787
26788 \end_inset
26789 </cell>
26790 </row>
26791 <row topline="true" bottomline="true">
26792 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26793 \begin_inset Text
26794
26795 \begin_layout Standard
26796 1
26797 \end_layout
26798
26799 \end_inset
26800 </cell>
26801 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26802 \begin_inset Text
26803
26804 \begin_layout Standard
26805 §
26806 \end_layout
26807
26808 \end_inset
26809 </cell>
26810 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26811 \begin_inset Text
26812
26813 \begin_layout Standard
26814 c
26815 \end_layout
26816
26817 \end_inset
26818 </cell>
26819 </row>
26820 </lyxtabular>
26821
26822 \end_inset
26823
26824
26825 \end_layout
26826
26827 \end_inset
26828
26829
26830 \begin_inset ERT
26831 status collapsed
26832
26833 \begin_layout Standard
26834
26835 }
26836 \end_layout
26837
26838 \end_inset
26839
26840
26841 \end_layout
26842
26843 \begin_layout Section
26844 URLs (Uniform Resource Locators)
26845 \begin_inset LatexCommand index
26846 name "URLs"
26847
26848 \end_inset
26849
26850
26851 \end_layout
26852
26853 \begin_layout Standard
26854 Links to web pages or email addresses can be inserted via the menu 
26855 \family sans
26856 Insert\SpecialChar \menuseparator
26857 URL
26858 \family default
26859 .
26860  The appearing URL dialog has two fields; the 
26861 \family sans
26862 URL
26863 \family default
26864  field and the 
26865 \family sans
26866 Name
26867 \family default
26868  field for the URL description, which will be typeset as plain text immediately
26869  before the URL.
26870 \end_layout
26871
26872 \begin_layout Standard
26873 Here is an example URL: 
26874 \begin_inset LatexCommand url
26875 name "LyX's homepage"
26876 target "http://www.lyx.org"
26877
26878 \end_inset
26879
26880
26881 \end_layout
26882
26883 \begin_layout Standard
26884 The option 
26885 \family sans
26886 Generate\InsetSpace ~
26887 hyperlink
26888 \family default
26889  in the URL dialog has only an affect when you export your document to the
26890  format 
26891 \begin_inset Quotes eld
26892 \end_inset
26893
26894
26895 \family sans
26896 LinuxDoc
26897 \family default
26898
26899 \begin_inset Quotes erd
26900 \end_inset
26901
26902 .
26903 \end_layout
26904
26905 \begin_layout Standard
26906 You cannot change the style of the link text.
26907  The text of the 
26908 \family sans
26909 Name
26910 \family default
26911  field will have the default text style of the document while the text of
26912  the 
26913 \family sans
26914 URL
26915 \family default
26916  field will have the style 
26917 \begin_inset Quotes eld
26918 \end_inset
26919
26920
26921 \family sans
26922 Typewriter
26923 \family default
26924
26925 \begin_inset Quotes erd
26926 \end_inset
26927
26928 .
26929 \end_layout
26930
26931 \begin_layout Standard
26932 When you use the LaTeX-package 
26933 \series bold
26934 hyperref
26935 \series default
26936
26937 \begin_inset LatexCommand index
26938 name "LaTeX-packages ! hyperref"
26939
26940 \end_inset
26941
26942  to link cross-references in the output, URLs will automatically become
26943  clickable hyperlinks in DVI and PDF-output.
26944 \end_layout
26945
26946 \begin_layout Standard
26947 \begin_inset Note Greyedout
26948 status open
26949
26950 \begin_layout Standard
26951
26952 \series bold
26953 Note:
26954 \series default
26955  When you use the following characters: "%", "#", "^", you have to write
26956  them with a preceding backslash, e.\InsetSpace \thinspace{}
26957 g.\InsetSpace ~
26958
26959 \begin_inset Quotes eld
26960 \end_inset
26961
26962
26963 \backslash
26964 #
26965 \begin_inset Quotes erd
26966 \end_inset
26967
26968 .
26969  URLs must not end with a backslash.
26970 \end_layout
26971
26972 \end_inset
26973
26974
26975 \end_layout
26976
26977 \begin_layout Standard
26978 \begin_inset VSpace bigskip
26979 \end_inset
26980
26981 To create real hyperlinks without the force to write the link location to
26982  the text, you can use the command
26983 \end_layout
26984
26985 \begin_layout Standard
26986
26987 \series bold
26988
26989 \backslash
26990 href{link location}{link text}
26991 \end_layout
26992
26993 \begin_layout Standard
26994 in ERT.
26995  To get for example a link to LyX's web page, write the command
26996 \end_layout
26997
26998 \begin_layout Standard
26999
27000 \series bold
27001
27002 \backslash
27003 href{http://www.lyx.org}{
27004 \end_layout
27005
27006 \begin_layout Standard
27007 in ERT.
27008  Insert after the command the link text 
27009 \begin_inset Quotes eld
27010 \end_inset
27011
27012 LyX's homepage
27013 \begin_inset Quotes erd
27014 \end_inset
27015
27016  as normal text followed by a closing brace 
27017 \begin_inset Quotes eld
27018 \end_inset
27019
27020
27021 \series bold
27022 }
27023 \series default
27024
27025 \begin_inset Quotes erd
27026 \end_inset
27027
27028  in ERT.
27029  This is the result: 
27030 \begin_inset ERT
27031 status collapsed
27032
27033 \begin_layout Standard
27034
27035
27036 \backslash
27037 href{http://www.lyx.org}{
27038 \end_layout
27039
27040 \end_inset
27041
27042 LyX's homepage
27043 \begin_inset ERT
27044 status collapsed
27045
27046 \begin_layout Standard
27047
27048 }
27049 \end_layout
27050
27051 \end_inset
27052
27053
27054 \end_layout
27055
27056 \begin_layout Standard
27057 To link to email addresses, add the prefix 
27058 \begin_inset Quotes eld
27059 \end_inset
27060
27061
27062 \family sans
27063 mailto:
27064 \family default
27065
27066 \begin_inset Quotes erd
27067 \end_inset
27068
27069  to the link location:
27070 \newline
27071 Email to 
27072 \begin_inset ERT
27073 status collapsed
27074
27075 \begin_layout Standard
27076
27077
27078 \backslash
27079 href{mailto:lyx-docs@lists.lyx.org?subject=LyX's documentation}{
27080 \end_layout
27081
27082 \end_inset
27083
27084 lyx-docs mailing list
27085 \begin_inset ERT
27086 status collapsed
27087
27088 \begin_layout Standard
27089
27090 }
27091 \end_layout
27092
27093 \end_inset
27094
27095 .
27096 \end_layout
27097
27098 \begin_layout Standard
27099 Using 
27100 \series bold
27101
27102 \backslash
27103 href
27104 \series default
27105  instead of LyX's URL box has the advantage that you can specify the text
27106  style of the link text like for all other text parts.
27107  You can then set hyphenation points and forced linebreaks to have long
27108  link text broken at the page margin.
27109  You are furthermore able to change the text style for all URLs in your
27110  document with an option in 
27111 \series bold
27112 hyperref
27113 \series default
27114 's load command and the restrictions mentioned above doesn't apply for 
27115 \series bold
27116
27117 \backslash
27118 href
27119 \series default
27120 .
27121 \end_layout
27122
27123 \begin_layout Chapter
27124 External Stuff
27125 \begin_inset LatexCommand index
27126 name "External Stuff"
27127
27128 \end_inset
27129
27130
27131 \end_layout
27132
27133 \begin_layout Standard
27134 With the menu 
27135 \family sans
27136 Insert\SpecialChar \menuseparator
27137 File
27138 \family default
27139  you can insert external material to your document.
27140  This can be:
27141 \end_layout
27142
27143 \begin_layout Description
27144 LyX\InsetSpace ~
27145 Document Another LyX document; its content is directly inserted to your
27146  document.
27147 \end_layout
27148
27149 \begin_layout Description
27150 Plain\InsetSpace ~
27151 Text A text document; every of its text lines is inserted to your document
27152  as own paragraph.
27153 \end_layout
27154
27155 \begin_layout Description
27156 Plain\InsetSpace ~
27157 Text,\InsetSpace ~
27158 Join\InsetSpace ~
27159 Lines A text document; its text lines are inserted as they
27160  are.
27161  Empty text lines creates a new paragraph in your document.
27162 \end_layout
27163
27164 \begin_layout Description
27165 External\InsetSpace ~
27166 Material Files in various formats.
27167 \end_layout
27168
27169 \begin_layout Description
27170 Child\InsetSpace ~
27171 Document LyX or LaTeX-documents.
27172 \end_layout
27173
27174 \begin_layout Section
27175 External Material
27176 \begin_inset LatexCommand index
27177 name "External Stuff ! External Material"
27178
27179 \end_inset
27180
27181
27182 \end_layout
27183
27184 \begin_layout Standard
27185 The external material feature allows you to insert files to your document
27186  without converting them previously to a format that can be read by the
27187  document output format because LyX takes care of needed conversions.
27188  This is similar to images that can be inserted in various image formats
27189  to LyX documents.
27190 \end_layout
27191
27192 \begin_layout Standard
27193 External material can be inserted via the 
27194 \family sans
27195 External Material
27196 \family default
27197  dialog that is accessible with the menu 
27198 \family sans
27199 Insert\SpecialChar \menuseparator
27200 File\SpecialChar \menuseparator
27201 External\InsetSpace ~
27202 Material
27203 \family default
27204 .
27205  Currently the following file types (
27206 \family sans
27207 Templates
27208 \family default
27209 ) are allowed:
27210 \end_layout
27211
27212 \begin_layout Description
27213 ChessDiagram This template supports chess position diagrams made with the
27214  program 
27215 \begin_inset ERT
27216 status collapsed
27217
27218 \begin_layout Standard
27219
27220
27221 \backslash
27222 href{http://en.wikipedia.org/wiki/XBoard}{
27223 \end_layout
27224
27225 \end_inset
27226
27227
27228 \series bold
27229 XBoard
27230 \series default
27231
27232 \begin_inset ERT
27233 status collapsed
27234
27235 \begin_layout Standard
27236
27237 }
27238 \end_layout
27239
27240 \end_inset
27241
27242 .
27243 \end_layout
27244
27245 \begin_layout Description
27246 Date This inserts the date in the form 
27247 \emph on
27248 Day-Month-Year
27249 \emph default
27250 .
27251  This is a date inserted as external material: 
27252 \begin_inset External
27253         template Date
27254         filename .
27255
27256 \end_inset
27257
27258
27259 \newline
27260 The date is not shown within LyX, only in the output.
27261  There are two other methods of inserting a date: Via menu 
27262 \family sans
27263 Insert\SpecialChar \menuseparator
27264 Date
27265 \family default
27266  and with the LaTeX command 
27267 \series bold
27268
27269 \backslash
27270 today
27271 \series default
27272  as ERT.
27273  The different methods are compared in Table\InsetSpace ~
27274
27275 \begin_inset LatexCommand ref
27276 reference "tab:Comparison-of-the"
27277
27278 \end_inset
27279
27280 .
27281 \end_layout
27282
27283 \begin_layout Description
27284 LilyPond This template is used for music notation typeset with the program
27285 \begin_inset ERT
27286 status collapsed
27287
27288 \begin_layout Standard
27289
27290
27291 \backslash
27292 linebreak 
27293 \end_layout
27294
27295 \end_inset
27296
27297
27298 \begin_inset ERT
27299 status collapsed
27300
27301 \begin_layout Standard
27302
27303
27304 \backslash
27305 href{http://en.wikipedia.org/wiki/LilyPond}{
27306 \end_layout
27307
27308 \end_inset
27309
27310
27311 \series bold
27312 LilyPond
27313 \series default
27314
27315 \begin_inset ERT
27316 status collapsed
27317
27318 \begin_layout Standard
27319
27320 }
27321 \end_layout
27322
27323 \end_inset
27324
27325 .
27326 \begin_inset Note Note
27327 status collapsed
27328
27329 \begin_layout Standard
27330 The command 
27331 \series bold
27332
27333 \backslash
27334 linebreak
27335 \series default
27336  breaks the line while the remaining text in the line is stretched to the
27337  page margin.
27338 \end_layout
27339
27340 \end_inset
27341
27342
27343 \end_layout
27344
27345 \begin_layout Description
27346 RasterImage This can be used for bitmap images.
27347  Nearly all popular image formats are supported.
27348  The image can be treated in the 
27349 \family sans
27350 External material
27351 \family default
27352  dialog like the images that are usually included via the 
27353 \family sans
27354 Graphics
27355 \family default
27356  dialog as described in section\InsetSpace ~
27357
27358 \begin_inset LatexCommand ref
27359 reference "sec:Graphics-Dialog"
27360
27361 \end_inset
27362
27363 .
27364  The difference is that only raster images are allowed, that means that
27365  PDF and EPS-images are not supported.
27366 \end_layout
27367
27368 \begin_layout Description
27369 XFig This template supports images created with the program 
27370 \begin_inset ERT
27371 status collapsed
27372
27373 \begin_layout Standard
27374
27375
27376 \backslash
27377 href{http://en.wikipedia.org/wiki/Xfig}{
27378 \end_layout
27379
27380 \end_inset
27381
27382
27383 \series bold
27384 Xfig
27385 \series default
27386
27387 \begin_inset ERT
27388 status collapsed
27389
27390 \begin_layout Standard
27391
27392 }
27393 \end_layout
27394
27395 \end_inset
27396
27397 .
27398 \end_layout
27399
27400 \begin_layout Standard
27401 \begin_inset Float table
27402 placement h
27403 wide false
27404 sideways false
27405 status open
27406
27407 \begin_layout Standard
27408 \begin_inset Caption
27409
27410 \begin_layout Standard
27411 \begin_inset LatexCommand label
27412 name "tab:Comparison-of-the"
27413
27414 \end_inset
27415
27416 Comparison of the date input methods.
27417 \end_layout
27418
27419 \end_inset
27420
27421
27422 \end_layout
27423
27424 \begin_layout Standard
27425 \align center
27426 \begin_inset Tabular
27427 <lyxtabular version="3" rows="4" columns="4">
27428 <features>
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" width="0">
27432 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
27433 <row topline="true">
27434 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27435 \begin_inset Text
27436
27437 \begin_layout Standard
27438 Document format
27439 \end_layout
27440
27441 \end_inset
27442 </cell>
27443 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27444 \begin_inset Text
27445
27446 \begin_layout Standard
27447
27448 \family sans
27449 External Material\SpecialChar \menuseparator
27450 Date
27451 \end_layout
27452
27453 \end_inset
27454 </cell>
27455 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27456 \begin_inset Text
27457
27458 \begin_layout Standard
27459
27460 \family sans
27461 Insert\SpecialChar \menuseparator
27462 Date
27463 \end_layout
27464
27465 \end_inset
27466 </cell>
27467 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27468 \begin_inset Text
27469
27470 \begin_layout Standard
27471 command 
27472 \series bold
27473
27474 \backslash
27475 today
27476 \end_layout
27477
27478 \end_inset
27479 </cell>
27480 </row>
27481 <row topline="true">
27482 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27483 \begin_inset Text
27484
27485 \begin_layout Standard
27486 LyX
27487 \end_layout
27488
27489 \end_inset
27490 </cell>
27491 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27492 \begin_inset Text
27493
27494 \begin_layout Standard
27495 as inset box
27496 \end_layout
27497
27498 \end_inset
27499 </cell>
27500 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27501 \begin_inset Text
27502
27503 \begin_layout Standard
27504 as date
27505 \end_layout
27506
27507 \end_inset
27508 </cell>
27509 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27510 \begin_inset Text
27511
27512 \begin_layout Standard
27513 as ERT inset box
27514 \end_layout
27515
27516 \end_inset
27517 </cell>
27518 </row>
27519 <row topline="true">
27520 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27521 \begin_inset Text
27522
27523 \begin_layout Standard
27524 LaTeX
27525 \end_layout
27526
27527 \end_inset
27528 </cell>
27529 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27530 \begin_inset Text
27531
27532 \begin_layout Standard
27533 as date
27534 \end_layout
27535
27536 \end_inset
27537 </cell>
27538 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27539 \begin_inset Text
27540
27541 \begin_layout Standard
27542 as date
27543 \end_layout
27544
27545 \end_inset
27546 </cell>
27547 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27548 \begin_inset Text
27549
27550 \begin_layout Standard
27551 as command
27552 \end_layout
27553
27554 \end_inset
27555 </cell>
27556 </row>
27557 <row topline="true" bottomline="true">
27558 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27559 \begin_inset Text
27560
27561 \begin_layout Standard
27562 DVI, PDF, PS
27563 \end_layout
27564
27565 \end_inset
27566 </cell>
27567 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27568 \begin_inset Text
27569
27570 \begin_layout Standard
27571 as date
27572 \end_layout
27573
27574 \end_inset
27575 </cell>
27576 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27577 \begin_inset Text
27578
27579 \begin_layout Standard
27580 as date
27581 \end_layout
27582
27583 \end_inset
27584 </cell>
27585 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27586 \begin_inset Text
27587
27588 \begin_layout Standard
27589 as date
27590 \end_layout
27591
27592 \end_inset
27593 </cell>
27594 </row>
27595 </lyxtabular>
27596
27597 \end_inset
27598
27599
27600 \end_layout
27601
27602 \end_inset
27603
27604
27605 \end_layout
27606
27607 \begin_layout Standard
27608 When you use the option 
27609 \family sans
27610 Draft
27611 \family default
27612  in the 
27613 \family sans
27614 File
27615 \family default
27616  tab of the 
27617 \family sans
27618 External Material
27619 \family default
27620  dialog, only the path to the inserted file is shown in the output.
27621 \newline
27622 External
27623  material is displayed in LyX either as box like this: 
27624 \begin_inset Graphics
27625         filename clipart/ExternalMaterialQt4.png
27626         scale 85
27627         scaleBeforeRotation
27628
27629 \end_inset
27630
27631  or as image, depending on the setting in the 
27632 \family sans
27633 LyX\InsetSpace ~
27634 View
27635 \family default
27636  tab of the 
27637 \family sans
27638 External Material
27639 \family default
27640  dialog.
27641 \end_layout
27642
27643 \begin_layout Standard
27644 The 
27645 \family sans
27646 \emph on
27647 Customization
27648 \family default
27649 \emph default
27650  manual explains how you can define your own templates.
27651 \end_layout
27652
27653 \begin_layout Section
27654 Child Documents
27655 \begin_inset LatexCommand label
27656 name "sec:Child-Documents"
27657
27658 \end_inset
27659
27660
27661 \begin_inset LatexCommand index
27662 name "External Stuff ! Child Documents"
27663
27664 \end_inset
27665
27666
27667 \begin_inset LatexCommand index
27668 name "Files ! Include"
27669
27670 \end_inset
27671
27672
27673 \end_layout
27674
27675 \begin_layout Standard
27676 Child documents are used when you have a long document consisting of several
27677  larger parts or sections.
27678  For maintenance it is often useful and sometimes even required to split
27679  the document in several files that can be revised separately.
27680  The different documents are then the so called child documents and a master
27681  document connects them to print the full document or parts of it.
27682 \end_layout
27683
27684 \begin_layout Standard
27685 Included documents are displayed in LyX as a box like this: 
27686 \begin_inset Graphics
27687         filename clipart/ChildDocumentQt4.png
27688         scale 85
27689         scaleBeforeRotation
27690
27691 \end_inset
27692
27693  To include child documents to a master document use the menu 
27694 \family sans
27695 Insert\SpecialChar \menuseparator
27696 File\SpecialChar \menuseparator
27697 Child\InsetSpace ~
27698 Documents
27699 \family default
27700 .
27701  A dialog pops up where you can choose between four include methods:
27702 \end_layout
27703
27704 \begin_layout Description
27705 Include You can include LyX and LaTeX-documents.
27706  When you press the 
27707 \family sans
27708 Load
27709 \family default
27710  button in the 
27711 \family sans
27712 Child Document
27713 \family default
27714  dialog, the included documents will be opened in LyX in a new file tab
27715  so that you can modify it.
27716 \newline
27717
27718 \end_layout
27719
27720 \begin_layout Standard
27721 Here is a child document inserted using 
27722 \family sans
27723 Include
27724 \family default
27725
27726 \begin_inset Include \include{DummyDocument1.lyx}
27727 preview false
27728
27729 \end_inset
27730
27731
27732 \end_layout
27733
27734 \begin_layout Standard
27735 The section numbering includes the sections of the included files in the
27736  order they are inserted in the master document.
27737  The included example document has for example a subsection that is numbered
27738  as subsection of this section.
27739  Labels of included documents can be referenced: Subsection\InsetSpace ~
27740
27741 \begin_inset LatexCommand ref
27742 reference "sub:External-Subsection-1"
27743
27744 \end_inset
27745
27746
27747 \end_layout
27748
27749 \begin_layout Standard
27750 The preamble of the child document is ignored, only the preamble of the
27751  master document is used.
27752  Included documents are inserted starting on a new page and end with a pagebreak.
27753 \end_layout
27754
27755 \begin_layout Standard
27756 With the LaTeX-command 
27757 \series bold
27758
27759 \backslash
27760 includeonly 
27761 \series default
27762 you can specify which included child documents are processed when the output
27763  is generated.
27764  This is useful when you are perhaps only working on a certain chapter of
27765  your large document as this saves compiling time.
27766  
27767 \series bold
27768
27769 \backslash
27770 includeonly
27771 \series default
27772  is inserted to the master document preamble.
27773  It takes a comma-separated list of the filenames as argument, e.g.
27774 \end_layout
27775
27776 \begin_layout Standard
27777
27778 \series bold
27779
27780 \backslash
27781 includeonly{chapter1,chapter5}
27782 \end_layout
27783
27784 \begin_layout Standard
27785 will only process the included files named 
27786 \begin_inset Quotes eld
27787 \end_inset
27788
27789 chapter1.lyx
27790 \begin_inset Quotes erd
27791 \end_inset
27792
27793  (or 
27794 \begin_inset Quotes eld
27795 \end_inset
27796
27797 chapter1.tex
27798 \begin_inset Quotes erd
27799 \end_inset
27800
27801 ) and 
27802 \begin_inset Quotes eld
27803 \end_inset
27804
27805 chapter5.lyx
27806 \begin_inset Quotes erd
27807 \end_inset
27808
27809  .
27810 \end_layout
27811
27812 \begin_layout Standard
27813 \begin_inset Note Greyedout
27814 status open
27815
27816 \begin_layout Standard
27817
27818 \series bold
27819 Note:
27820 \series default
27821  When you have included a LyX- or LaTeX-file, you are warned when you export/vie
27822 w the document in case that the child document uses another document class
27823  than the master document as this will lead to unexpected outputs.
27824 \end_layout
27825
27826 \end_inset
27827
27828
27829 \end_layout
27830
27831 \begin_layout Description
27832 Input This method is very similar to the Include method.
27833  The differences are:
27834 \end_layout
27835
27836 \begin_deeper
27837 \begin_layout Itemize
27838 Input files don't start with a new page and don't end with a pagebreak.
27839 \end_layout
27840
27841 \begin_layout Itemize
27842 Input files can be previewed in LyX when 
27843 \family sans
27844 Instant\InsetSpace ~
27845 Preview
27846 \family default
27847  is enabled in LyX's preferences under 
27848 \family sans
27849 Look\InsetSpace ~
27850 and\InsetSpace ~
27851 feel\SpecialChar \menuseparator
27852 Graphics
27853 \family default
27854 .
27855 \end_layout
27856
27857 \begin_layout Itemize
27858 The LaTeX-command 
27859 \series bold
27860
27861 \backslash
27862 includeonly
27863 \series default
27864  cannot be used.
27865 \end_layout
27866
27867 \end_deeper
27868 \begin_layout Standard
27869 Here is a child document inserted using 
27870 \family sans
27871 Input
27872 \family default
27873
27874 \begin_inset Include \input{DummyDocument2.lyx}
27875 preview false
27876
27877 \end_inset
27878
27879
27880 \end_layout
27881
27882 \begin_layout Description
27883 Verbatim With this method every text file can be included.
27884  The file is shown in the output with its source code, no command used in
27885  the text is invoked.
27886  You can use the option 
27887 \family sans
27888 Mark spaces in output
27889 \family default
27890  that displays the character 
27891 \begin_inset Quotes eld
27892 \end_inset
27893
27894
27895 \begin_inset ERT
27896 status collapsed
27897
27898 \begin_layout Standard
27899
27900
27901 \backslash
27902 textvisiblespace 
27903 \end_layout
27904
27905 \end_inset
27906
27907
27908 \begin_inset Quotes erd
27909 \end_inset
27910
27911  for every space character in the source code.
27912  The difference to the method via the menu 
27913 \family sans
27914 Insert\SpecialChar \menuseparator
27915 File\SpecialChar \menuseparator
27916 Plain\InsetSpace ~
27917 Text
27918 \family default
27919  is that the document content is not shown in LyX.
27920 \end_layout
27921
27922 \begin_layout Standard
27923 Here is a child document inserted as Verbatim: 
27924 \begin_inset Include \verbatiminput{DummyTextDocument.txt}
27925 preview false
27926
27927 \end_inset
27928
27929
27930 \begin_inset VSpace bigskip
27931 \end_inset
27932
27933 Here is a child document inserted as Verbatim using the 
27934 \family sans
27935 Mark spaces in output
27936 \family default
27937  option: 
27938 \begin_inset Include \verbatiminput*{DummyTextDocument.txt}
27939 preview false
27940
27941 \end_inset
27942
27943
27944 \end_layout
27945
27946 \begin_layout Standard
27947 \begin_inset VSpace bigskip
27948 \end_inset
27949
27950
27951 \end_layout
27952
27953 \begin_layout Standard
27954 \begin_inset Note Greyedout
27955 status open
27956
27957 \begin_layout Standard
27958
27959 \series bold
27960 Note:
27961 \series default
27962  As you can see in the examples above, the text of the documents included
27963  as 
27964 \family sans
27965 verbatim
27966 \family default
27967  is not broken at the end of the document lines.
27968 \end_layout
27969
27970 \end_inset
27971
27972
27973 \end_layout
27974
27975 \begin_layout Description
27976 Listings This type is described in chapter\InsetSpace ~
27977
27978 \begin_inset LatexCommand ref
27979 reference "cha:Program-Code-Listings"
27980
27981 \end_inset
27982
27983 .
27984 \end_layout
27985
27986 \begin_layout Standard
27987 \begin_inset Note Greyedout
27988 status open
27989
27990 \begin_layout Standard
27991
27992 \series bold
27993 Note:
27994 \series default
27995  Including the same document twice in a document using different methods
27996  could cause LaTeX-problems.
27997 \end_layout
27998
27999 \end_inset
28000
28001
28002 \end_layout
28003
28004 \begin_layout Chapter
28005 Program Code Listings
28006 \begin_inset LatexCommand label
28007 name "cha:Program-Code-Listings"
28008
28009 \end_inset
28010
28011
28012 \begin_inset LatexCommand index
28013 name "Listings"
28014
28015 \end_inset
28016
28017
28018 \begin_inset LatexCommand index
28019 name "Program Code"
28020
28021 \end_inset
28022
28023
28024 \begin_inset LatexCommand index
28025 name "Floats ! Listings"
28026
28027 \end_inset
28028
28029
28030 \end_layout
28031
28032 \begin_layout Standard
28033 To include and typeset program code you can use the 
28034 \family sans
28035 Listings
28036 \family default
28037  inset that can be inserted via the menu 
28038 \family sans
28039 Insert\SpecialChar \menuseparator
28040 Program Listing
28041 \family default
28042 .
28043  The LaTeX-package 
28044 \series bold
28045 listings
28046 \series default
28047
28048 \begin_inset LatexCommand index
28049 name "LaTeX-packages ! listings"
28050
28051 \end_inset
28052
28053  provides a powerful and flexible way to insert program source code to your
28054  document.
28055 \end_layout
28056
28057 \begin_layout Standard
28058 When right-clicking on a listings inset a dialog pops up where you can set
28059  the listings format.
28060 \end_layout
28061
28062 \begin_layout Standard
28063 By default, a listing starts a new paragraph in the output.
28064  The placement option 
28065 \family sans
28066 Inline\InsetSpace ~
28067 listing
28068 \family default
28069  prints the listing inline like this: 
28070 \begin_inset listings
28071 lstparams "language={C++}"
28072 inline true
28073 status open
28074
28075 \begin_layout Standard
28076
28077 int a=5;
28078 \end_layout
28079
28080 \end_inset
28081
28082
28083 \newline
28084 The option 
28085 \family sans
28086 Float
28087 \family default
28088  creates a listings float where you can specify the placement options 
28089 \begin_inset Quotes eld
28090 \end_inset
28091
28092
28093 \family sans
28094 h
28095 \family default
28096
28097 \begin_inset Quotes erd
28098 \end_inset
28099
28100
28101 \begin_inset Quotes eld
28102 \end_inset
28103
28104
28105 \family sans
28106 t
28107 \family default
28108
28109 \begin_inset Quotes erd
28110 \end_inset
28111
28112
28113 \begin_inset Quotes eld
28114 \end_inset
28115
28116
28117 \family sans
28118 b
28119 \family default
28120
28121 \begin_inset Quotes erd
28122 \end_inset
28123
28124 , and 
28125 \begin_inset Quotes eld
28126 \end_inset
28127
28128
28129 \family sans
28130 p
28131 \family default
28132
28133 \begin_inset Quotes erd
28134 \end_inset
28135
28136  corresponding to the float placement options described in section\InsetSpace ~
28137
28138 \begin_inset LatexCommand ref
28139 reference "sec:Float-Placement"
28140
28141 \end_inset
28142
28143 .
28144  The placement options can be mixed and are inserted without any separation,
28145  e.\InsetSpace \thinspace{}
28146 g.\InsetSpace ~
28147
28148 \begin_inset Quotes eld
28149 \end_inset
28150
28151
28152 \family sans
28153 htbp
28154 \family default
28155
28156 \begin_inset Quotes erd
28157 \end_inset
28158
28159 .
28160  The option 
28161 \begin_inset Quotes eld
28162 \end_inset
28163
28164 h
28165 \begin_inset Quotes erd
28166 \end_inset
28167
28168  has sometimes no effect, but you don't need to use the 
28169 \family sans
28170 Float
28171 \family default
28172  option in this case as also non-float listings can have captions and be
28173  referenced.
28174 \end_layout
28175
28176 \begin_layout Standard
28177 You can add captions to listings with the menu 
28178 \family sans
28179 Insert\SpecialChar \menuseparator
28180 Caption
28181 \family default
28182 .
28183  Listings can be referenced like floats: Listing\InsetSpace ~
28184
28185 \begin_inset LatexCommand ref
28186 reference "lst:Example-Listing"
28187
28188 \end_inset
28189
28190
28191 \end_layout
28192
28193 \begin_layout Standard
28194 \begin_inset listings
28195 lstparams "language=Python"
28196 inline false
28197 status open
28198
28199 \begin_layout Standard
28200
28201 \begin_inset Caption
28202
28203 \begin_layout Standard
28204 \begin_inset LatexCommand label
28205 name "lst:Example-Listing"
28206
28207 \end_inset
28208
28209 Example Listing float
28210 \end_layout
28211
28212 \end_inset
28213
28214 # Example listing float
28215 \end_layout
28216
28217 \begin_layout Standard
28218
28219 def func(param):
28220 \end_layout
28221
28222 \begin_layout Standard
28223
28224     'this is a python function'
28225 \end_layout
28226
28227 \begin_layout Standard
28228
28229     pass
28230 \end_layout
28231
28232 \end_inset
28233
28234
28235 \end_layout
28236
28237 \begin_layout Standard
28238 When you have set a programming language in the listings dialog, the keywords
28239  of this language will be recognized and specially typeset in the output.
28240  In the example listings the Python keyword 
28241 \begin_inset Quotes eld
28242 \end_inset
28243
28244 def
28245 \begin_inset Quotes erd
28246 \end_inset
28247
28248  is recognized and printed bold in the output.
28249 \end_layout
28250
28251 \begin_layout Standard
28252 \begin_inset Note Greyedout
28253 status open
28254
28255 \begin_layout Standard
28256
28257 \series bold
28258 Note:
28259 \series default
28260  If you don't get bold keywords when using typewriter fonts, your typewriter
28261  font probably doesn't provide a bold shape.
28262  In this case select a different one in the menu 
28263 \family sans
28264 Document\SpecialChar \menuseparator
28265 Settings\SpecialChar \menuseparator
28266 Fonts
28267 \family default
28268 .
28269  (The fonts 
28270 \emph on
28271 LuxiMono, BeraMono
28272 \emph default
28273  and 
28274 \emph on
28275 Courier
28276 \emph default
28277  provide bold shapes.)
28278 \end_layout
28279
28280 \end_inset
28281
28282
28283 \end_layout
28284
28285 \begin_layout Standard
28286 In section 
28287 \family sans
28288 Line\InsetSpace ~
28289 numbering
28290 \family default
28291  of the listings dialog you can specify the line numbering style.
28292  You can insert a number to specify which lines are numbered to the field
28293  
28294 \family sans
28295 Step
28296 \family default
28297 .
28298  When you insert e.g.
28299  
28300 \begin_inset Quotes eld
28301 \end_inset
28302
28303 3
28304 \begin_inset Quotes erd
28305 \end_inset
28306
28307 , only every 3rd line will be numbered.
28308 \end_layout
28309
28310 \begin_layout Standard
28311 You can furthermore specify a range of lines, only these will then appear
28312  in the output.
28313  The option 
28314 \family sans
28315 Extended\InsetSpace ~
28316 chars
28317 \family default
28318  should be used when you use national characters like the German umlauts
28319  in the listing.
28320 \newline
28321 Here is an example listing with left line numbering, step
28322  
28323 \begin_inset Quotes eld
28324 \end_inset
28325
28326 3
28327 \begin_inset Quotes erd
28328 \end_inset
28329
28330 , language 
28331 \begin_inset Quotes eld
28332 \end_inset
28333
28334 Python
28335 \begin_inset Quotes erd
28336 \end_inset
28337
28338 , options 
28339 \begin_inset Quotes eld
28340 \end_inset
28341
28342 Extended\InsetSpace ~
28343 chars
28344 \begin_inset Quotes erd
28345 \end_inset
28346
28347  and 
28348 \begin_inset Quotes eld
28349 \end_inset
28350
28351 Space\InsetSpace ~
28352 as\InsetSpace ~
28353 Symbol
28354 \begin_inset Quotes erd
28355 \end_inset
28356
28357 , range lines 3\InsetSpace \thinspace{}
28358 -\InsetSpace \thinspace{}
28359 8:
28360 \end_layout
28361
28362 \begin_layout Standard
28363 \begin_inset listings
28364 lstparams "extendedchars=true,firstline=3,language=Python,lastline=8,numbers=left,showspaces=true,stepnumber=3"
28365 inline false
28366 status open
28367
28368 \begin_layout Standard
28369
28370 def func(param):
28371 \end_layout
28372
28373 \begin_layout Standard
28374
28375     'this is a python function'
28376 \end_layout
28377
28378 \begin_layout Standard
28379
28380     pass
28381 \end_layout
28382
28383 \begin_layout Standard
28384
28385 def func(param):
28386 \end_layout
28387
28388 \begin_layout Standard
28389
28390 'This is a German word: Tschüß'
28391 \end_layout
28392
28393 \begin_layout Standard
28394
28395 pass
28396 \end_layout
28397
28398 \begin_layout Standard
28399
28400 def func(param):
28401 \end_layout
28402
28403 \begin_layout Standard
28404
28405 'this is a python function'
28406 \end_layout
28407
28408 \begin_layout Standard
28409
28410 pass
28411 \end_layout
28412
28413 \end_inset
28414
28415
28416 \end_layout
28417
28418 \begin_layout Standard
28419 \begin_inset Note Greyedout
28420 status open
28421
28422 \begin_layout Standard
28423
28424 \series bold
28425 Note:
28426 \series default
28427  Due to a bug in the 
28428 \series bold
28429 listings
28430 \series default
28431  package the line numbering is shifted by a line by every previous listing.
28432  That's the reason why the lines 2 and 5 are numbered in the above listing
28433  and not the lines 3 and 6.
28434 \end_layout
28435
28436 \end_inset
28437
28438
28439 \end_layout
28440
28441 \begin_layout Standard
28442 \begin_inset VSpace bigskip
28443 \end_inset
28444
28445
28446 \end_layout
28447
28448 \begin_layout Standard
28449 It is also possible to print lines from a file as listing.
28450  To do this, use the menu 
28451 \family sans
28452 Insert\SpecialChar \menuseparator
28453 File\SpecialChar \menuseparator
28454 Child Document
28455 \family default
28456  and choose the type 
28457 \family sans
28458 Listings
28459 \family default
28460 .
28461 \begin_inset Foot
28462 status collapsed
28463
28464 \begin_layout Standard
28465 The other child document types are described in section\InsetSpace ~
28466
28467 \begin_inset LatexCommand ref
28468 reference "sec:Child-Documents"
28469
28470 \end_inset
28471
28472 .
28473 \end_layout
28474
28475 \end_inset
28476
28477  In the child document dialog you can specify the listing parameters in
28478  a text box.
28479  To show a list of all available parameters, type in a question mark 
28480 \begin_inset Quotes eld
28481 \end_inset
28482
28483 ?
28484 \begin_inset Quotes erd
28485 \end_inset
28486
28487  in the text box.
28488 \end_layout
28489
28490 \begin_layout Standard
28491 To reference child document listings, write a label text into the corresponding
28492  field of the child document dialog.
28493  The label can then be referenced using the menu 
28494 \family sans
28495 Insert\SpecialChar \menuseparator
28496 Cross-Reference
28497 \family default
28498 .
28499 \end_layout
28500
28501 \begin_layout Standard
28502 Listing\InsetSpace ~
28503
28504 \begin_inset LatexCommand ref
28505 reference "lst:file-listing"
28506
28507 \end_inset
28508
28509  is an example for a listing of a file; there the lines 10\InsetSpace \thinspace{}
28510 -\InsetSpace \thinspace{}
28511 15 of this LyX
28512  file are listed.
28513 \end_layout
28514
28515 \begin_layout Standard
28516 \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]
28517 preview false
28518
28519 \end_inset
28520
28521
28522 \end_layout
28523
28524 \begin_layout Standard
28525 \begin_inset VSpace bigskip
28526 \end_inset
28527
28528
28529 \end_layout
28530
28531 \begin_layout Standard
28532 Global listings settings can be set in the 
28533 \family sans
28534 Document\SpecialChar \menuseparator
28535 Settings\SpecialChar \menuseparator
28536 Text Layout
28537 \family default
28538  dialog.
28539  To get there a list of available options, type in a question mark 
28540 \begin_inset Quotes eld
28541 \end_inset
28542
28543 ?
28544 \begin_inset Quotes erd
28545 \end_inset
28546
28547  in the 
28548 \family sans
28549 Listings\InsetSpace ~
28550 settings
28551 \family default
28552  field.
28553 \end_layout
28554
28555 \begin_layout Standard
28556 For more information about the 
28557 \series bold
28558 listings
28559 \series default
28560  package, we refer to its documentation 
28561 \begin_inset LatexCommand cite
28562 key "listings"
28563
28564 \end_inset
28565
28566 .
28567 \end_layout
28568
28569 \begin_layout Standard
28570
28571 \newpage
28572
28573 \end_layout
28574
28575 \begin_layout Chapter
28576 \start_of_appendix
28577 Units available in 
28578 \begin_inset ERT
28579 status collapsed
28580
28581 \begin_layout Standard
28582
28583
28584 \backslash
28585 texorpdfstring{
28586 \end_layout
28587
28588 \end_inset
28589
28590 LyX
28591 \begin_inset ERT
28592 status collapsed
28593
28594 \begin_layout Standard
28595
28596 }{LyX}
28597 \end_layout
28598
28599 \end_inset
28600
28601
28602 \begin_inset LatexCommand index
28603 name "Units"
28604
28605 \end_inset
28606
28607
28608 \begin_inset LatexCommand label
28609 name "cha:Units-available-in"
28610
28611 \end_inset
28612
28613
28614 \begin_inset Note Note
28615 status collapsed
28616
28617 \begin_layout Standard
28618 The command 
28619 \backslash
28620 texorpdfstring is provided by the LaTeX-package hyperref to avoid that ligatures
28621  are displayed wrongly in PDF-bookmarks.
28622  For more information about this, have a look at 
28623 \begin_inset LatexCommand cite
28624 key "hyperref"
28625
28626 \end_inset
28627
28628 .
28629 \end_layout
28630
28631 \end_inset
28632
28633
28634 \end_layout
28635
28636 \begin_layout Standard
28637 To understand the units described in this documentation, Table\InsetSpace ~
28638
28639 \begin_inset LatexCommand ref
28640 reference "tab:Units"
28641
28642 \end_inset
28643
28644  explains all units available in LyX.
28645 \end_layout
28646
28647 \begin_layout Standard
28648 \begin_inset Float table
28649 placement h
28650 wide false
28651 sideways false
28652 status open
28653
28654 \begin_layout Standard
28655 \begin_inset Caption
28656
28657 \begin_layout Standard
28658 \begin_inset LatexCommand label
28659 name "tab:Units"
28660
28661 \end_inset
28662
28663 Units
28664 \end_layout
28665
28666 \end_inset
28667
28668
28669 \end_layout
28670
28671 \begin_layout Standard
28672 \begin_inset VSpace medskip
28673 \end_inset
28674
28675
28676 \end_layout
28677
28678 \begin_layout Standard
28679 \align center
28680 \begin_inset Tabular
28681 <lyxtabular version="3" rows="20" columns="2">
28682 <features>
28683 <column alignment="center" valignment="top" leftline="true" width="0">
28684 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
28685 <row topline="true" bottomline="true">
28686 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28687 \begin_inset Text
28688
28689 \begin_layout Standard
28690 unit
28691 \end_layout
28692
28693 \end_inset
28694 </cell>
28695 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28696 \begin_inset Text
28697
28698 \begin_layout Standard
28699 name/description
28700 \end_layout
28701
28702 \end_inset
28703 </cell>
28704 </row>
28705 <row topline="true">
28706 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28707 \begin_inset Text
28708
28709 \begin_layout Standard
28710 mm
28711 \end_layout
28712
28713 \end_inset
28714 </cell>
28715 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28716 \begin_inset Text
28717
28718 \begin_layout Standard
28719 millimeter
28720 \end_layout
28721
28722 \end_inset
28723 </cell>
28724 </row>
28725 <row topline="true">
28726 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28727 \begin_inset Text
28728
28729 \begin_layout Standard
28730 cm
28731 \end_layout
28732
28733 \end_inset
28734 </cell>
28735 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28736 \begin_inset Text
28737
28738 \begin_layout Standard
28739 centimeter
28740 \end_layout
28741
28742 \end_inset
28743 </cell>
28744 </row>
28745 <row topline="true">
28746 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28747 \begin_inset Text
28748
28749 \begin_layout Standard
28750 in
28751 \end_layout
28752
28753 \end_inset
28754 </cell>
28755 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28756 \begin_inset Text
28757
28758 \begin_layout Standard
28759 inch
28760 \end_layout
28761
28762 \end_inset
28763 </cell>
28764 </row>
28765 <row topline="true">
28766 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28767 \begin_inset Text
28768
28769 \begin_layout Standard
28770 pt
28771 \end_layout
28772
28773 \end_inset
28774 </cell>
28775 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28776 \begin_inset Text
28777
28778 \begin_layout Standard
28779 point (72.27\InsetSpace \thinspace{}
28780 pt = 1\InsetSpace \thinspace{}
28781 in)
28782 \end_layout
28783
28784 \end_inset
28785 </cell>
28786 </row>
28787 <row topline="true">
28788 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28789 \begin_inset Text
28790
28791 \begin_layout Standard
28792 pc
28793 \end_layout
28794
28795 \end_inset
28796 </cell>
28797 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28798 \begin_inset Text
28799
28800 \begin_layout Standard
28801 pica (1\InsetSpace \thinspace{}
28802 pc = 12\InsetSpace \thinspace{}
28803 pt)
28804 \end_layout
28805
28806 \end_inset
28807 </cell>
28808 </row>
28809 <row topline="true">
28810 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28811 \begin_inset Text
28812
28813 \begin_layout Standard
28814 sp
28815 \end_layout
28816
28817 \end_inset
28818 </cell>
28819 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28820 \begin_inset Text
28821
28822 \begin_layout Standard
28823 scaled point (65536\InsetSpace \thinspace{}
28824 sp = 1\InsetSpace \thinspace{}
28825 pt)
28826 \end_layout
28827
28828 \end_inset
28829 </cell>
28830 </row>
28831 <row topline="true">
28832 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28833 \begin_inset Text
28834
28835 \begin_layout Standard
28836 bp
28837 \end_layout
28838
28839 \end_inset
28840 </cell>
28841 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28842 \begin_inset Text
28843
28844 \begin_layout Standard
28845 big point (72\InsetSpace \thinspace{}
28846 bp = 1\InsetSpace \thinspace{}
28847 in)
28848 \end_layout
28849
28850 \end_inset
28851 </cell>
28852 </row>
28853 <row topline="true">
28854 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28855 \begin_inset Text
28856
28857 \begin_layout Standard
28858 dd
28859 \end_layout
28860
28861 \end_inset
28862 </cell>
28863 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28864 \begin_inset Text
28865
28866 \begin_layout Standard
28867 didot (1\InsetSpace \thinspace{}
28868 dd 
28869 \begin_inset Formula $\approx$
28870 \end_inset
28871
28872  0.376\InsetSpace \thinspace{}
28873 mm)
28874 \end_layout
28875
28876 \end_inset
28877 </cell>
28878 </row>
28879 <row topline="true">
28880 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28881 \begin_inset Text
28882
28883 \begin_layout Standard
28884 cc
28885 \end_layout
28886
28887 \end_inset
28888 </cell>
28889 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28890 \begin_inset Text
28891
28892 \begin_layout Standard
28893 cicero (1\InsetSpace \thinspace{}
28894 cc = 12\InsetSpace \thinspace{}
28895 dd)
28896 \end_layout
28897
28898 \end_inset
28899 </cell>
28900 </row>
28901 <row topline="true">
28902 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28903 \begin_inset Text
28904
28905 \begin_layout Standard
28906 Scale%
28907 \end_layout
28908
28909 \end_inset
28910 </cell>
28911 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28912 \begin_inset Text
28913
28914 \begin_layout Standard
28915 % of original image width
28916 \end_layout
28917
28918 \end_inset
28919 </cell>
28920 </row>
28921 <row topline="true">
28922 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28923 \begin_inset Text
28924
28925 \begin_layout Standard
28926 text%
28927 \end_layout
28928
28929 \end_inset
28930 </cell>
28931 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28932 \begin_inset Text
28933
28934 \begin_layout Standard
28935 % of text width
28936 \end_layout
28937
28938 \end_inset
28939 </cell>
28940 </row>
28941 <row topline="true">
28942 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28943 \begin_inset Text
28944
28945 \begin_layout Standard
28946 col%
28947 \end_layout
28948
28949 \end_inset
28950 </cell>
28951 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28952 \begin_inset Text
28953
28954 \begin_layout Standard
28955 % of column width
28956 \end_layout
28957
28958 \end_inset
28959 </cell>
28960 </row>
28961 <row topline="true">
28962 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28963 \begin_inset Text
28964
28965 \begin_layout Standard
28966 page%
28967 \end_layout
28968
28969 \end_inset
28970 </cell>
28971 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28972 \begin_inset Text
28973
28974 \begin_layout Standard
28975 % of paper width
28976 \end_layout
28977
28978 \end_inset
28979 </cell>
28980 </row>
28981 <row topline="true">
28982 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28983 \begin_inset Text
28984
28985 \begin_layout Standard
28986 line%
28987 \end_layout
28988
28989 \end_inset
28990 </cell>
28991 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28992 \begin_inset Text
28993
28994 \begin_layout Standard
28995 % of line width
28996 \end_layout
28997
28998 \end_inset
28999 </cell>
29000 </row>
29001 <row topline="true">
29002 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29003 \begin_inset Text
29004
29005 \begin_layout Standard
29006 theight%
29007 \end_layout
29008
29009 \end_inset
29010 </cell>
29011 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29012 \begin_inset Text
29013
29014 \begin_layout Standard
29015 % of text height
29016 \end_layout
29017
29018 \end_inset
29019 </cell>
29020 </row>
29021 <row topline="true">
29022 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29023 \begin_inset Text
29024
29025 \begin_layout Standard
29026 pheight%
29027 \end_layout
29028
29029 \end_inset
29030 </cell>
29031 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29032 \begin_inset Text
29033
29034 \begin_layout Standard
29035 % of paper height
29036 \end_layout
29037
29038 \end_inset
29039 </cell>
29040 </row>
29041 <row topline="true">
29042 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29043 \begin_inset Text
29044
29045 \begin_layout Standard
29046 ex
29047 \end_layout
29048
29049 \end_inset
29050 </cell>
29051 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29052 \begin_inset Text
29053
29054 \begin_layout Standard
29055 height of letter 
29056 \emph on
29057 x
29058 \emph default
29059  in current font
29060 \end_layout
29061
29062 \end_inset
29063 </cell>
29064 </row>
29065 <row topline="true">
29066 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29067 \begin_inset Text
29068
29069 \begin_layout Standard
29070 em
29071 \end_layout
29072
29073 \end_inset
29074 </cell>
29075 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29076 \begin_inset Text
29077
29078 \begin_layout Standard
29079 width of letter 
29080 \emph on
29081 M
29082 \emph default
29083  in current font
29084 \end_layout
29085
29086 \end_inset
29087 </cell>
29088 </row>
29089 <row topline="true" bottomline="true">
29090 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29091 \begin_inset Text
29092
29093 \begin_layout Standard
29094 mu
29095 \end_layout
29096
29097 \end_inset
29098 </cell>
29099 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29100 \begin_inset Text
29101
29102 \begin_layout Standard
29103 math unit (1\InsetSpace \thinspace{}
29104 mu = 1/18\InsetSpace \thinspace{}
29105 em)
29106 \end_layout
29107
29108 \end_inset
29109 </cell>
29110 </row>
29111 </lyxtabular>
29112
29113 \end_inset
29114
29115
29116 \end_layout
29117
29118 \end_inset
29119
29120
29121 \end_layout
29122
29123 \begin_layout Chapter
29124 Output File Formats with Graphics
29125 \begin_inset LatexCommand label
29126 name "cha:Output-File-Formats"
29127
29128 \end_inset
29129
29130
29131 \end_layout
29132
29133 \begin_layout Section
29134 DVI
29135 \begin_inset LatexCommand index
29136 name "File Formats ! DVI"
29137
29138 \end_inset
29139
29140
29141 \begin_inset LatexCommand index
29142 name "DVI|see{File Formats}"
29143
29144 \end_inset
29145
29146
29147 \end_layout
29148
29149 \begin_layout Standard
29150 This file type has the extension 
29151 \begin_inset Quotes eld
29152 \end_inset
29153
29154
29155 \family typewriter
29156 .dvi
29157 \family default
29158
29159 \begin_inset Quotes erd
29160 \end_inset
29161
29162 .
29163  It is called 
29164 \begin_inset Quotes eld
29165 \end_inset
29166
29167 device-independent
29168 \begin_inset Quotes erd
29169 \end_inset
29170
29171  (DVI), because it is completely portable; you can move them from one machine
29172  to another without needing to do any sort of conversion.
29173  At the time when this file-format was developed, this was no matter of
29174  course.
29175  DVIs are used for quick previews and as pre-stage for other output formats,
29176  like PostScript.
29177 \end_layout
29178
29179 \begin_layout Standard
29180 \begin_inset Note Greyedout
29181 status open
29182
29183 \begin_layout Standard
29184
29185 \series bold
29186 Note:
29187 \series default
29188  DVI-files doesn't contain images, they will only be a linked.
29189 \end_layout
29190
29191 \end_inset
29192
29193  So don't forget this, if you move your 
29194 \family typewriter
29195 .dvi
29196 \family default
29197  file to another computer.
29198  This property can also slow down your computer when you view the DVI.
29199  Because the DVI-viewer has to convert the image in the background to make
29200  it visible when you scroll in the DVI.
29201  So we recommend to use PDF for files with many images.
29202 \end_layout
29203
29204 \begin_layout Standard
29205 You can export your document to DVI by using the menu 
29206 \family sans
29207 File\SpecialChar \menuseparator
29208 Export\SpecialChar \menuseparator
29209 DVI
29210 \family default
29211 .
29212  You can view your document as DVI via the 
29213 \family sans
29214 View
29215 \family default
29216  menu or by using the toolbar button 
29217 \begin_inset Graphics
29218         filename ../images/buffer-view_dvi.xpm
29219         scale 85
29220         scaleBeforeRotation
29221
29222 \end_inset
29223
29224 .
29225 \end_layout
29226
29227 \begin_layout Section
29228 PostScript
29229 \begin_inset LatexCommand label
29230 name "sec:PostScript"
29231
29232 \end_inset
29233
29234
29235 \begin_inset LatexCommand index
29236 name "File Formats ! PostScript"
29237
29238 \end_inset
29239
29240
29241 \begin_inset LatexCommand index
29242 name "PostScript|see{File Formats}"
29243
29244 \end_inset
29245
29246
29247 \end_layout
29248
29249 \begin_layout Standard
29250 This file type has the extension 
29251 \begin_inset Quotes eld
29252 \end_inset
29253
29254
29255 \family typewriter
29256 .ps
29257 \family default
29258
29259 \begin_inset Quotes erd
29260 \end_inset
29261
29262 .
29263  PostScript was developed by the company 
29264 \family typewriter
29265 Adobe
29266 \family default
29267  as printer language.
29268  The file contains therefore commands that the printer uses to print the
29269  file.
29270  PostScript can be seen as 
29271 \begin_inset Quotes eld
29272 \end_inset
29273
29274 programming language
29275 \begin_inset Quotes erd
29276 \end_inset
29277
29278 ; you can calculate with it and draw diagrams and images
29279 \begin_inset Foot
29280 status collapsed
29281
29282 \begin_layout Standard
29283 If you are interested to learn more about this, have a look at the LaTeX-package
29284  
29285 \series bold
29286 PSTricks
29287 \series default
29288  
29289 \begin_inset LatexCommand cite
29290 key "pstricks"
29291
29292 \end_inset
29293
29294 .
29295 \end_layout
29296
29297 \end_inset
29298
29299 .
29300  Due to this ability, the files are often bigger than PDFs.
29301 \end_layout
29302
29303 \begin_layout Standard
29304 PostScript can only contain images in the format 
29305 \begin_inset Quotes eld
29306 \end_inset
29307
29308 Encapsulated PostScript
29309 \begin_inset Quotes erd
29310 \end_inset
29311
29312  (EPS, file extension 
29313 \begin_inset Quotes eld
29314 \end_inset
29315
29316
29317 \family typewriter
29318 .eps
29319 \family default
29320
29321 \begin_inset Quotes erd
29322 \end_inset
29323
29324 ).
29325  As LyX allows you to use any known image format in your document, it has
29326  to convert images in the background to EPS.
29327  If you have e.g 50 images in your document, LyX has to do 50 conversions
29328  whenever you view or export your document.
29329  This will slow down your work flow with LyX drastically.
29330  So if you plan to use PostScript, you can insert your images directly as
29331  EPS to avoid this problem.
29332 \end_layout
29333
29334 \begin_layout Standard
29335 You can export your document to PostScript using the menu 
29336 \family sans
29337 File\SpecialChar \menuseparator
29338 Export\SpecialChar \menuseparator
29339 Postscript
29340 \family default
29341 .
29342  You can view your document as PostScript via the 
29343 \family sans
29344 View
29345 \family default
29346  menu or by using the toolbar button 
29347 \begin_inset Graphics
29348         filename ../images/buffer-view_ps.xpm
29349         scale 85
29350         scaleBeforeRotation
29351
29352 \end_inset
29353
29354 .
29355 \end_layout
29356
29357 \begin_layout Section
29358 PDF
29359 \begin_inset LatexCommand label
29360 name "sec:PDF"
29361
29362 \end_inset
29363
29364
29365 \begin_inset LatexCommand index
29366 name "File Formats ! PDF"
29367
29368 \end_inset
29369
29370
29371 \begin_inset LatexCommand index
29372 name "PDF"
29373
29374 \end_inset
29375
29376
29377 \end_layout
29378
29379 \begin_layout Standard
29380 This file type has the extension 
29381 \begin_inset Quotes eld
29382 \end_inset
29383
29384
29385 \family typewriter
29386 .pdf
29387 \family default
29388
29389 \begin_inset Quotes erd
29390 \end_inset
29391
29392 .
29393  The 
29394 \begin_inset Quotes eld
29395 \end_inset
29396
29397 Portable Document Format
29398 \begin_inset Quotes erd
29399 \end_inset
29400
29401  (PDF) is developed by 
29402 \family typewriter
29403 Adobe
29404 \family default
29405  as derivative from PostScript.
29406  It is more compressed and it uses much less commands than PostScript.
29407  As the name 
29408 \begin_inset Quotes eld
29409 \end_inset
29410
29411 portable
29412 \begin_inset Quotes erd
29413 \end_inset
29414
29415  implies, it can be processed at any computer system and the printed output
29416  looks exactly the same.
29417 \end_layout
29418
29419 \begin_layout Standard
29420 PDF can contain images in its own PDF format, in the format 
29421 \begin_inset Quotes eld
29422 \end_inset
29423
29424 Joint Photographic Experts Group
29425 \begin_inset Quotes erd
29426 \end_inset
29427
29428  (JPG, file extension 
29429 \begin_inset Quotes eld
29430 \end_inset
29431
29432
29433 \family typewriter
29434 .jpg
29435 \family default
29436
29437 \begin_inset Quotes erd
29438 \end_inset
29439
29440  or 
29441 \begin_inset Quotes eld
29442 \end_inset
29443
29444
29445 \family typewriter
29446 .jpeg
29447 \family default
29448
29449 \begin_inset Quotes erd
29450 \end_inset
29451
29452 ), and in the format 
29453 \begin_inset Quotes eld
29454 \end_inset
29455
29456 Portable Network Graphics
29457 \begin_inset Quotes erd
29458 \end_inset
29459
29460  (PNG, file extension 
29461 \begin_inset Quotes eld
29462 \end_inset
29463
29464
29465 \family typewriter
29466 .png
29467 \family default
29468
29469 \begin_inset Quotes erd
29470 \end_inset
29471
29472 ).
29473  Nevertheless you can use any other image format, because LyX converts them
29474  in the background to one of these formats.
29475  But as described in the section about PostScript, the image conversion
29476  will slow down your work flow.
29477  So it is recommended to use images in one of the three mentioned formats.
29478 \end_layout
29479
29480 \begin_layout Standard
29481 You can export your document to PDF via the menu 
29482 \family sans
29483 File\SpecialChar \menuseparator
29484 Export
29485 \family default
29486  in three different ways:
29487 \end_layout
29488
29489 \begin_layout Description
29490 PDF\InsetSpace ~
29491 (ps2pdf) This uses the program 
29492 \family typewriter
29493 ps2pdf
29494 \family default
29495  that creates a PDF from a PostScript-version of your file.
29496  The PostScript-version is produced by the program 
29497 \family typewriter
29498 dvips
29499 \family default
29500  which uses a DVI-version as intermediate step.
29501  So this export variant consist of three conversions.
29502 \end_layout
29503
29504 \begin_layout Description
29505 PDF\InsetSpace ~
29506 (dvipdfm) This uses the program 
29507 \family typewriter
29508 dvipdfm
29509 \family default
29510  that converts your file in the background to DVI and in a second step to
29511  PDF.
29512 \end_layout
29513
29514 \begin_layout Description
29515 PDF\InsetSpace ~
29516 (pdflatex) This uses the program 
29517 \family typewriter
29518 pdftex
29519 \family default
29520  that converts your file directly to PDF.
29521 \end_layout
29522
29523 \begin_layout Standard
29524 It is recommended to use 
29525 \family sans
29526 PDF\InsetSpace ~
29527 (pdflatex)
29528 \family default
29529  because 
29530 \family typewriter
29531 pdftex
29532 \family default
29533  supports all features of actual PDF-versions, is quick and works stable
29534  without problems.
29535  The program 
29536 \family typewriter
29537 dvipdfm
29538 \family default
29539  is not under development and therefore a bit outdated.
29540 \end_layout
29541
29542 \begin_layout Standard
29543 You can view your document as PDF via the 
29544 \family sans
29545 View
29546 \family default
29547  menu or by using the toolbar button 
29548 \begin_inset Graphics
29549         filename ../images/buffer-view_pdf2.xpm
29550         scale 85
29551         scaleBeforeRotation
29552
29553 \end_inset
29554
29555  
29556 \family sans
29557 (
29558 \family default
29559 that uses 
29560 \family sans
29561 PDF\InsetSpace ~
29562 (pdflatex)
29563 \family default
29564 ).
29565 \end_layout
29566
29567 \begin_layout Chapter
29568 Explanation of Equation\InsetSpace ~
29569
29570 \begin_inset LatexCommand eqref
29571 reference "eq:Wgn"
29572
29573 \end_inset
29574
29575
29576 \begin_inset LatexCommand label
29577 name "cha:Explanation-of-Equation"
29578
29579 \end_inset
29580
29581
29582 \end_layout
29583
29584 \begin_layout Standard
29585 The total width of 
29586 \emph on
29587 n
29588 \emph default
29589  table cells 
29590 \begin_inset Formula $W_{\mathrm{tot\, n}}$
29591 \end_inset
29592
29593  can be calculated to
29594 \end_layout
29595
29596 \begin_layout Standard
29597 \begin_inset Formula \begin{equation}
29598 W_{\mathrm{tot}\, n}=n\cdot(W_{g\, n}+2\cdot\backslash\mbox{tabcolsep})+(n+1)\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}\end{equation}
29599
29600 \end_inset
29601
29602
29603 \end_layout
29604
29605 \begin_layout Standard
29606 Where 
29607 \begin_inset Formula $W_{g\, n}$
29608 \end_inset
29609
29610  is the given width of all cells.
29611  
29612 \series bold
29613
29614 \backslash
29615 tabcolsep
29616 \series default
29617  is the LaTeX-length between the cell text and the cell border, its default
29618  value is 6\InsetSpace \thinspace{}
29619 pt.
29620  
29621 \series bold
29622
29623 \backslash
29624 arrayrulewidth
29625 \series default
29626  is the thickness of the cell border line, the default is 0.4\InsetSpace \thinspace{}
29627 pt.
29628 \end_layout
29629
29630 \begin_layout Standard
29631 Following equation\InsetSpace ~
29632
29633 \begin_inset LatexCommand eqref
29634 reference "eq:Wtot_n"
29635
29636 \end_inset
29637
29638 , the total width of a multicolumn 
29639 \begin_inset Formula $W_{\mathrm{tot\, mult}}$
29640 \end_inset
29641
29642  is
29643 \end_layout
29644
29645 \begin_layout Standard
29646 \begin_inset Formula \begin{equation}
29647 W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2\cdot\backslash\mbox{tabcolsep}+2\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}\end{equation}
29648
29649 \end_inset
29650
29651
29652 \end_layout
29653
29654 \begin_layout Standard
29655 By setting equation\InsetSpace ~
29656
29657 \begin_inset LatexCommand eqref
29658 reference "eq:Wtot_n"
29659
29660 \end_inset
29661
29662  and 
29663 \begin_inset LatexCommand eqref
29664 reference "eq:Wtot_mult"
29665
29666 \end_inset
29667
29668  equal we can calculate the needed given width 
29669 \begin_inset Formula $W_{g\, n}$
29670 \end_inset
29671
29672  when 
29673 \emph on
29674 n
29675 \emph default
29676  columns are spanned, so that each column has a total width of 
29677 \begin_inset Formula $W_{\mathrm{tot\, mult}}/n$
29678 \end_inset
29679
29680 :
29681 \end_layout
29682
29683 \begin_layout Standard
29684 \begin_inset Formula \begin{equation}
29685 W_{g\, n}=(W_{g\,\mathrm{mult}}+(1-n)\cdot(2\cdot\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}))/n\end{equation}
29686
29687 \end_inset
29688
29689
29690 \end_layout
29691
29692 \begin_layout Bibliography
29693 \begin_inset LatexCommand bibitem
29694 key "latexcompanion"
29695
29696 \end_inset
29697
29698 Frank Mittelbach and Michel Goossens: 
29699 \emph on
29700 The LaTeX Companion Second Edition.
29701
29702 \emph default
29703  Addison-Wesley, 2004
29704 \end_layout
29705
29706 \begin_layout Bibliography
29707 \begin_inset LatexCommand bibitem
29708 key "latexguide"
29709
29710 \end_inset
29711
29712 Helmut Kopka and Patrick W.
29713  Daly: 
29714 \emph on
29715 A Guide to LaTeX Fourth Edition.
29716
29717 \emph default
29718  Addison-Wesley, 2003
29719 \end_layout
29720
29721 \begin_layout Bibliography
29722 \begin_inset LatexCommand bibitem
29723 key "latexbook"
29724
29725 \end_inset
29726
29727 Leslie Lamport: 
29728 \emph on
29729 LaTeX: A Document Preparation System.
29730
29731 \emph default
29732  Addison-Wesley, second edition, 1994
29733 \end_layout
29734
29735 \begin_layout Bibliography
29736 \begin_inset LatexCommand bibitem
29737 key "booktabs"
29738
29739 \end_inset
29740
29741
29742 \begin_inset ERT
29743 status collapsed
29744
29745 \begin_layout Standard
29746
29747
29748 \backslash
29749 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf}
29750 {
29751 \end_layout
29752
29753 \end_inset
29754
29755 Documentation
29756 \begin_inset ERT
29757 status collapsed
29758
29759 \begin_layout Standard
29760
29761 }
29762 \end_layout
29763
29764 \end_inset
29765
29766  of the LaTeX-package 
29767 \series bold
29768 booktabs
29769 \series default
29770
29771 \begin_inset LatexCommand index
29772 name "LaTeX-packages ! booktabs"
29773
29774 \end_inset
29775
29776
29777 \end_layout
29778
29779 \begin_layout Bibliography
29780 \begin_inset LatexCommand bibitem
29781 key "caption"
29782
29783 \end_inset
29784
29785
29786 \begin_inset ERT
29787 status collapsed
29788
29789 \begin_layout Standard
29790
29791
29792 \backslash
29793 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf}{
29794 \end_layout
29795
29796 \end_inset
29797
29798 Documentation
29799 \begin_inset ERT
29800 status collapsed
29801
29802 \begin_layout Standard
29803
29804 }
29805 \end_layout
29806
29807 \end_inset
29808
29809  of the LaTeX-package 
29810 \series bold
29811 caption
29812 \series default
29813
29814 \begin_inset LatexCommand index
29815 name "LaTeX-packages ! caption"
29816
29817 \end_inset
29818
29819
29820 \end_layout
29821
29822 \begin_layout Bibliography
29823 \begin_inset LatexCommand bibitem
29824 key "caption-de"
29825
29826 \end_inset
29827
29828 German 
29829 \begin_inset ERT
29830 status collapsed
29831
29832 \begin_layout Standard
29833
29834
29835 \backslash
29836 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/anleitung.pdf}
29837 {
29838 \end_layout
29839
29840 \end_inset
29841
29842 documentation
29843 \begin_inset ERT
29844 status collapsed
29845
29846 \begin_layout Standard
29847
29848 }
29849 \end_layout
29850
29851 \end_inset
29852
29853  of the LaTeX-package 
29854 \series bold
29855 caption
29856 \end_layout
29857
29858 \begin_layout Bibliography
29859 \begin_inset LatexCommand bibitem
29860 key "endfloat"
29861
29862 \end_inset
29863
29864
29865 \begin_inset ERT
29866 status collapsed
29867
29868 \begin_layout Standard
29869
29870
29871 \backslash
29872 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf}
29873 {
29874 \end_layout
29875
29876 \end_inset
29877
29878 Documentation
29879 \begin_inset ERT
29880 status collapsed
29881
29882 \begin_layout Standard
29883
29884 }
29885 \end_layout
29886
29887 \end_inset
29888
29889  of the LaTeX-package 
29890 \series bold
29891 endf\SpecialChar \textcompwordmark{}
29892 loat
29893 \series default
29894
29895 \begin_inset LatexCommand index
29896 name "LaTeX-packages ! endfloat"
29897
29898 \end_inset
29899
29900
29901 \end_layout
29902
29903 \begin_layout Bibliography
29904 \begin_inset LatexCommand bibitem
29905 key "floatflt"
29906
29907 \end_inset
29908
29909
29910 \begin_inset ERT
29911 status collapsed
29912
29913 \begin_layout Standard
29914
29915
29916 \backslash
29917 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/floatflt/floatflt.pdf}
29918 {
29919 \end_layout
29920
29921 \end_inset
29922
29923 Documentation
29924 \begin_inset ERT
29925 status collapsed
29926
29927 \begin_layout Standard
29928
29929 }
29930 \end_layout
29931
29932 \end_inset
29933
29934  of the LaTeX-package 
29935 \series bold
29936 f\SpecialChar \textcompwordmark{}
29937 loatf\SpecialChar \textcompwordmark{}
29938 lt
29939 \series default
29940
29941 \begin_inset LatexCommand index
29942 name "LaTeX-packages ! floatflt"
29943
29944 \end_inset
29945
29946
29947 \end_layout
29948
29949 \begin_layout Bibliography
29950 \begin_inset LatexCommand bibitem
29951 key "footmisc"
29952
29953 \end_inset
29954
29955
29956 \begin_inset ERT
29957 status collapsed
29958
29959 \begin_layout Standard
29960
29961
29962 \backslash
29963 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf}
29964 {
29965 \end_layout
29966
29967 \end_inset
29968
29969 Documentation
29970 \begin_inset ERT
29971 status collapsed
29972
29973 \begin_layout Standard
29974
29975 }
29976 \end_layout
29977
29978 \end_inset
29979
29980  of the LaTeX-package 
29981 \series bold
29982 footmisc
29983 \series default
29984
29985 \begin_inset LatexCommand index
29986 name "LaTeX-packages ! footmisc"
29987
29988 \end_inset
29989
29990
29991 \end_layout
29992
29993 \begin_layout Bibliography
29994 \begin_inset LatexCommand bibitem
29995 key "hypcap"
29996
29997 \end_inset
29998
29999
30000 \begin_inset ERT
30001 status collapsed
30002
30003 \begin_layout Standard
30004
30005
30006 \backslash
30007 href{http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf}{
30008 \end_layout
30009
30010 \end_inset
30011
30012 Documentation
30013 \begin_inset ERT
30014 status collapsed
30015
30016 \begin_layout Standard
30017
30018 }
30019 \end_layout
30020
30021 \end_inset
30022
30023  of the LaTeX-package 
30024 \series bold
30025 hypcap
30026 \series default
30027
30028 \begin_inset LatexCommand index
30029 name "LaTeX-packages ! hyperref"
30030
30031 \end_inset
30032
30033
30034 \end_layout
30035
30036 \begin_layout Bibliography
30037 \begin_inset LatexCommand bibitem
30038 key "hyperref"
30039
30040 \end_inset
30041
30042
30043 \begin_inset ERT
30044 status collapsed
30045
30046 \begin_layout Standard
30047
30048
30049 \backslash
30050 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf}
30051 {
30052 \end_layout
30053
30054 \end_inset
30055
30056 Documentation
30057 \begin_inset ERT
30058 status collapsed
30059
30060 \begin_layout Standard
30061
30062 }
30063 \end_layout
30064
30065 \end_inset
30066
30067  of the LaTeX-package 
30068 \series bold
30069 hyperref
30070 \series default
30071
30072 \begin_inset LatexCommand index
30073 name "LaTeX-packages ! hyperref"
30074
30075 \end_inset
30076
30077
30078 \end_layout
30079
30080 \begin_layout Bibliography
30081 \begin_inset LatexCommand bibitem
30082 key "koma-script"
30083
30084 \end_inset
30085
30086
30087 \begin_inset ERT
30088 status collapsed
30089
30090 \begin_layout Standard
30091
30092
30093 \backslash
30094 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.p
30095 df}{
30096 \end_layout
30097
30098 \end_inset
30099
30100 Documentation
30101 \begin_inset ERT
30102 status collapsed
30103
30104 \begin_layout Standard
30105
30106 }
30107 \end_layout
30108
30109 \end_inset
30110
30111  of the LaTeX-package 
30112 \series bold
30113 koma-script
30114 \series default
30115
30116 \begin_inset LatexCommand index
30117 name "LaTeX-packages ! koma-script"
30118
30119 \end_inset
30120
30121
30122 \end_layout
30123
30124 \begin_layout Bibliography
30125 \begin_inset LatexCommand bibitem
30126 key "koma-script-de"
30127
30128 \end_inset
30129
30130 German 
30131 \begin_inset ERT
30132 status collapsed
30133
30134 \begin_layout Standard
30135
30136
30137 \backslash
30138 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguide.p
30139 df}{
30140 \end_layout
30141
30142 \end_inset
30143
30144 documentation
30145 \begin_inset ERT
30146 status collapsed
30147
30148 \begin_layout Standard
30149
30150 }
30151 \end_layout
30152
30153 \end_inset
30154
30155  of the LaTeX-package 
30156 \series bold
30157 koma-script
30158 \series default
30159
30160 \begin_inset LatexCommand index
30161 name "LaTeX-packages ! koma-script"
30162
30163 \end_inset
30164
30165
30166 \end_layout
30167
30168 \begin_layout Bibliography
30169 \begin_inset LatexCommand bibitem
30170 key "listings"
30171
30172 \end_inset
30173
30174
30175 \begin_inset ERT
30176 status collapsed
30177
30178 \begin_layout Standard
30179
30180
30181 \backslash
30182 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/listings/listings.pdf}
30183 {
30184 \end_layout
30185
30186 \end_inset
30187
30188 Documentation
30189 \begin_inset ERT
30190 status collapsed
30191
30192 \begin_layout Standard
30193
30194 }
30195 \end_layout
30196
30197 \end_inset
30198
30199  of the LaTeX-package 
30200 \series bold
30201 listings
30202 \series default
30203
30204 \begin_inset LatexCommand index
30205 name "LaTeX-packages ! listings"
30206
30207 \end_inset
30208
30209
30210 \end_layout
30211
30212 \begin_layout Bibliography
30213 \begin_inset LatexCommand bibitem
30214 key "marginnote"
30215
30216 \end_inset
30217
30218
30219 \begin_inset ERT
30220 status collapsed
30221
30222 \begin_layout Standard
30223
30224
30225 \backslash
30226 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.
30227 pdf}{
30228 \end_layout
30229
30230 \end_inset
30231
30232 Documentation
30233 \begin_inset ERT
30234 status collapsed
30235
30236 \begin_layout Standard
30237
30238 }
30239 \end_layout
30240
30241 \end_inset
30242
30243  of the LaTeX-package 
30244 \series bold
30245 marginnote
30246 \series default
30247
30248 \begin_inset LatexCommand index
30249 name "LaTeX-packages ! marginnote"
30250
30251 \end_inset
30252
30253
30254 \end_layout
30255
30256 \begin_layout Bibliography
30257 \begin_inset LatexCommand bibitem
30258 key "pstricks"
30259
30260 \end_inset
30261
30262
30263 \begin_inset ERT
30264 status collapsed
30265
30266 \begin_layout Standard
30267
30268
30269 \backslash
30270 href{http://tug.org/PSTricks/main.cgi/}{
30271 \end_layout
30272
30273 \end_inset
30274
30275 Web page
30276 \begin_inset ERT
30277 status collapsed
30278
30279 \begin_layout Standard
30280
30281 }
30282 \end_layout
30283
30284 \end_inset
30285
30286  of the LaTeX-package 
30287 \series bold
30288 PSTricks
30289 \series default
30290
30291 \begin_inset LatexCommand index
30292 name "LaTeX-packages ! PSTricks"
30293
30294 \end_inset
30295
30296
30297 \end_layout
30298
30299 \begin_layout Bibliography
30300 \begin_inset LatexCommand bibitem
30301 key "sidecap"
30302
30303 \end_inset
30304
30305
30306 \begin_inset ERT
30307 status collapsed
30308
30309 \begin_layout Standard
30310
30311
30312 \backslash
30313 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf}{
30314 \end_layout
30315
30316 \end_inset
30317
30318 Documentation
30319 \begin_inset ERT
30320 status collapsed
30321
30322 \begin_layout Standard
30323
30324 }
30325 \end_layout
30326
30327 \end_inset
30328
30329  of the LaTeX-package 
30330 \series bold
30331 sidecap
30332 \series default
30333
30334 \begin_inset LatexCommand index
30335 name "LaTeX-packages ! sidecap"
30336
30337 \end_inset
30338
30339
30340 \end_layout
30341
30342 \begin_layout Bibliography
30343 \begin_inset LatexCommand bibitem
30344 key "NewInLyX15"
30345
30346 \end_inset
30347
30348
30349 \begin_inset ERT
30350 status collapsed
30351
30352 \begin_layout Standard
30353
30354
30355 \backslash
30356 href{http://wiki.lyx.org/LyX/NewInLyX15}{
30357 \end_layout
30358
30359 \end_inset
30360
30361 Wiki page
30362 \begin_inset ERT
30363 status collapsed
30364
30365 \begin_layout Standard
30366
30367 }
30368 \end_layout
30369
30370 \end_inset
30371
30372  about new LyX-features planned for the release 
30373 \family sans
30374 LyX 1.5
30375 \family default
30376 .0.
30377 \end_layout
30378
30379 \begin_layout Standard
30380 \begin_inset LatexCommand printindex
30381
30382 \end_inset
30383
30384
30385 \end_layout
30386
30387 \begin_layout Standard
30388 \begin_inset FloatList figure
30389
30390 \end_inset
30391
30392
30393 \end_layout
30394
30395 \begin_layout Standard
30396 \begin_inset FloatList table
30397
30398 \end_inset
30399
30400
30401 \end_layout
30402
30403 \end_body
30404 \end_document