]> git.lyx.org Git - features.git/blob - lib/doc/EmbeddedObjects.lyx
f9d5b8fb9ce063e41604a819823568ed1369eec4
[features.git] / lib / doc / EmbeddedObjects.lyx
1 #LyX 1.5.0svn created this file. For more info see http://www.lyx.org/
2 \lyxformat 270
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 \setlength{\extrarowheight}{2pt}
111
112 % used for customized tables
113 % ---
114 \newcolumntype{M}[1]
115  {>{\centering\hspace{0pt}}m{#1}}
116
117 \newcolumntype{S}[2]
118  {>{\centering\hspace{0pt}}m{(#1+(2\tabcolsep+\arrayrulewidth)*(1-#2))/#2}}
119
120 \newcolumntype{K}[1]
121  {>{\columncolor{#1}\hspace{0pt}}c}
122
123 \newcolumntype{V}{!{\vrule width 1.5pt}}
124
125 \newcolumntype{W}{!{\color{green}\vline}}
126 % ---
127
128 % To be able to enter the characters ° and · directly in LyX
129 \DeclareInputText{176}{\ifmmode^\circ\else\textdegree\fi}
130 \DeclareInputText{183}{\ifmmode\cdot\else\textperiodcentered\fi}
131
132 % insert additional vertical space of
133 % 1.5 mm between footnotes
134 \let\myFoot\footnote
135 \renewcommand{\footnote}[1]{\myFoot{#1\vspace{1.5mm}}}
136
137 % enable algorithm floats to be referenced
138 \newfloat{Xalgorithm}{tbp}{loa}
139 \floatname{Xalgorithm}{Algorithm}
140 \newcommand{\theHalgorithm}{\theHXalgorithm}
141 \renewenvironment{algorithm}[1][tbp]
142  {\begin{Xalgorithm}[#1]}{\end{Xalgorithm}}
143
144 % number algorithm floats within chapters
145 \numberwithin{Xalgorithm}{chapter}
146
147 % redefine the greyed out note
148 \renewenvironment{lyxgreyedout}
149  {\textcolor{blue}\bgroup}{\egroup}
150
151 % ------------------------------------
152 % used to check for needed LaTeX packages
153 \usepackage{ifthen}
154
155 % check for package arydshln
156 % used for tables with dashed lines
157 \newboolean{arydshln}
158 \IfFileExists{arydshln.sty}
159  {\usepackage{arydshln}
160   \setboolean{arydshln}{true}}
161  {\setboolean{arydshln}{false}}
162
163 % check for package marginnote
164 % used for margin notes
165 \newboolean{marginnote}
166 \IfFileExists{marginnote.sty}
167  {\usepackage{marginnote}
168   \let\marginpar\marginnote
169   \setboolean{marginnote}{true}}
170  {\setboolean{marginnote}{false}}
171 \end_preamble
172 \options fleqn,liststotoc,bibtotoc,idxtotoc,BCOR7.5mm,titlepage,tablecaptionabove
173 \language english
174 \inputencoding auto
175 \font_roman default
176 \font_sans default
177 \font_typewriter default
178 \font_default_family default
179 \font_sc false
180 \font_osf false
181 \font_sf_scale 100
182 \font_tt_scale 100
183 \graphics default
184 \paperfontsize 12
185 \spacing single
186 \papersize default
187 \use_geometry false
188 \use_amsmath 2
189 \use_esint 0
190 \cite_engine basic
191 \use_bibtopic false
192 \paperorientation portrait
193 \secnumdepth 3
194 \tocdepth 3
195 \paragraph_separation skip
196 \defskip medskip
197 \quotes_language english
198 \papercolumns 1
199 \papersides 2
200 \paperpagestyle default
201 \bullet 1 1 34 -1
202 \bullet 2 2 35 -1
203 \bullet 3 2 7 -1
204 \tracking_changes false
205 \output_changes false
206 \author "Bo Peng" 
207 \author "usti" 
208 \author "Uwe Stöhr" 
209 \end_header
210
211 \begin_body
212
213 \begin_layout Title
214 LyX's detailed Figure, Table, Floats, Notes, Boxes and External Material
215  manual
216 \end_layout
217
218 \begin_layout Author
219 by the LyX Team
220 \begin_inset Foot
221 status collapsed
222
223 \begin_layout Standard
224 \noindent
225 If you have comments or error corrections, please send them to the LyX Documenta
226 tion mailing list: 
227 \family typewriter
228
229 \begin_inset ERT
230 status open
231
232 \begin_layout Standard
233
234
235 \backslash
236 href{mailto:lyx-docs@lists.lyx.org?subject=LyX's ExtendedInsets manual}{
237 \end_layout
238
239 \end_inset
240
241 lyx-docs@lists.lyx.org
242 \begin_inset ERT
243 status collapsed
244
245 \begin_layout Standard
246
247 }
248 \end_layout
249
250 \end_inset
251
252
253 \end_layout
254
255 \end_inset
256
257
258 \begin_inset Note Note
259 status collapsed
260
261 \begin_layout Standard
262 original author: Uwe Stöhr
263 \end_layout
264
265 \end_inset
266
267
268 \newline
269
270 \newline
271
272 \family sans
273 Version 1.5.0-
274 \family default
275 1
276 \end_layout
277
278 \begin_layout Standard
279 \begin_inset LatexCommand tableofcontents
280
281 \end_inset
282
283
284 \end_layout
285
286 \begin_layout Standard
287 \begin_inset Note Note
288 status open
289
290 \begin_layout Standard
291 To export all parts of this document to PDF, PS, or DVI the LaTeX-packages
292  
293 \series bold
294 arydshln
295 \series default
296  and 
297 \series bold
298 marginnote
299 \series default
300  must be installed.
301  If they are not installed you can export the document anyway but the sections
302  where the packages are required won't appear in the output.
303 \end_layout
304
305 \begin_layout Standard
306 The latest PDF-version of this document can be found here:
307 \newline
308
309 \series bold
310 http://wiki.lyx.org/LyX/DocumentationDevelopment#EmbeddedObjects
311 \end_layout
312
313 \end_inset
314
315
316 \end_layout
317
318 \begin_layout Chapter
319 Figures
320 \begin_inset LatexCommand label
321 name "cha:Figures"
322
323 \end_inset
324
325
326 \begin_inset LatexCommand index
327 name "Figures"
328
329 \end_inset
330
331
332 \begin_inset LatexCommand index
333 name "Graphics|see{Figures}"
334
335 \end_inset
336
337
338 \end_layout
339
340 \begin_layout Section
341 Graphics Dialog
342 \begin_inset LatexCommand index
343 name "Figures ! Graphics Dialog"
344
345 \end_inset
346
347
348 \begin_inset LatexCommand label
349 name "sec:Graphics-Dialog"
350
351 \end_inset
352
353
354 \end_layout
355
356 \begin_layout Standard
357 To insert an image into your document, place the cursor at the text position
358  you want and click on the toolbar icon 
359 \begin_inset Graphics
360         filename ../images/dialog-show-new-inset_graphics.xpm
361         scale 85
362
363 \end_inset
364
365  or use the menu 
366 \family sans
367 Insert\SpecialChar \menuseparator
368 Graphics
369 \family default
370 .
371  Then a dialog will appear to choose the file to load.
372  The image will appear in the output exactly at the position where it is
373  in the text.
374 \end_layout
375
376 \begin_layout Standard
377 The graphics dialog can be called at any time by right-clicking on an image.
378  This dialog has three tabs:
379 \end_layout
380
381 \begin_layout Description
382
383 \family sans
384 Graphics
385 \family default
386  Here you can choose an image file and adjust its appearance in the output.
387  The available units for the image size are explained in appendix\InsetSpace ~
388
389 \begin_inset LatexCommand ref
390 reference "cha:Units-available-in"
391
392 \end_inset
393
394 .
395 \newline
396 You can rotate images counter-clockwise by setting a rotation angle and
397  a rotation origin.
398  The image will also be rotated inside LyX.
399 \newline
400 Images can be scaled by using
401  a percentage value or by setting the width and height explicitly.
402  If you set only the width or only the height, the other size will be determined
403  automatically.
404  If you set both, then the image will be transformed to the given size,
405  possibly distorting it.
406  To prevent the image from distortion, use the option 
407 \family sans
408 Maintain aspect ratio
409 \family default
410 .
411  The image will then be scaled so that its width and height don't exceed
412  the specified dimensions.
413 \newline
414 Images can be opened in a program of your choice
415  when pressing the 
416 \family sans
417 Edit
418 \family default
419  button.
420  The program can be set for every image format in the file format settings
421  in LyX's preferences.
422 \end_layout
423
424 \begin_layout Description
425
426 \family sans
427 Clipping
428 \family default
429  Alternatively to the usage of scaling units it is possible to set image
430  coordinates to adjust the height and width of the image in the output.
431  The coordinates can also be calculated automatically by pressing the button
432  
433 \family sans
434 Get\InsetSpace ~
435 from\InsetSpace ~
436 File
437 \family default
438 .
439  The option 
440 \family sans
441 Clip\InsetSpace ~
442 to\InsetSpace ~
443 bounding\InsetSpace ~
444 box
445 \family default
446  will only print the image region within the given coordinates.
447  Normally you don't need to take care about image coordinates and can ignore
448  this tab.
449 \end_layout
450
451 \begin_layout Description
452
453 \family sans
454 Extra\InsetSpace ~
455 options
456 \family default
457  In this tab you can modify the appearance of the image within LyX and set
458  the image to be a subfigure of a figure float with an own caption.
459  Subfigures are explained in section\InsetSpace ~
460
461 \begin_inset LatexCommand ref
462 reference "sec:Figure-Floats"
463
464 \end_inset
465
466 .
467 \newline
468  LaTeX experts can also specify on this tab additional LaTeX options.
469 \newline
470  The
471  option 
472 \family sans
473 Draft\InsetSpace ~
474 mode
475 \family default
476  makes the image appear in the output only as a frame with the size of the
477  image.
478 \newline
479 The 
480 \family sans
481 Don't\InsetSpace ~
482 unzip\InsetSpace ~
483 on\InsetSpace ~
484 export
485 \family default
486  option only affects zipped EPS-graphics, e.\InsetSpace \thinspace{}
487 g.\InsetSpace ~
488
489 \emph on
490 x.eps.gz
491 \emph default
492 .
493  When the option is used the images will not be unzipped on export, since
494  LaTeX can handle them as they are.
495 \newline
496 Zipped EPS-graphics are useful to save
497  disk space when you choose PostScript as output format, see appendix\InsetSpace ~
498
499 \begin_inset LatexCommand ref
500 reference "sec:PostScript"
501
502 \end_inset
503
504 .
505  To zip EPS-graphics, use the following commands in a UNIX-shell or a Windows
506  console:
507 \newline
508
509 \series bold
510 gzip x.eps
511 \series default
512
513 \newline
514
515 \series bold
516 zgrep %%Bounding x.eps.gz > x.eps.bb
517 \series default
518
519 \newline
520 The second command creates the bounding box file 
521 \begin_inset Quotes eld
522 \end_inset
523
524 x.eps.bb
525 \begin_inset Quotes erd
526 \end_inset
527
528  that is needed by LaTeX for zipped graphics.
529 \end_layout
530
531 \begin_layout Standard
532 \begin_inset VSpace bigskip
533 \end_inset
534
535
536 \end_layout
537
538 \begin_layout Standard
539 This is an example image in EPS format
540 \begin_inset Foot
541 status collapsed
542
543 \begin_layout Standard
544 Image formats are explained in section\InsetSpace ~
545
546 \begin_inset LatexCommand ref
547 reference "sec:Image-Formats"
548
549 \end_inset
550
551 .
552 \end_layout
553
554 \end_inset
555
556  within a separate, horizontally centered paragraph:
557 \end_layout
558
559 \begin_layout Standard
560 \align center
561 \begin_inset Graphics
562         filename clipart/mobius.eps
563         display color
564         scale 70
565         rotateOrigin center
566
567 \end_inset
568
569
570 \end_layout
571
572 \begin_layout Standard
573 This is the same image like the one above but in draft mode:
574 \end_layout
575
576 \begin_layout Standard
577 \align center
578 \begin_inset Graphics
579         filename clipart/mobius.eps
580         display color
581         scale 70
582         draft
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 ! Figure Floats"
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
629 \end_inset
630
631  and the menu 
632 \family sans
633 Insert\SpecialChar \menuseparator
634 Float\SpecialChar \menuseparator
635 Figure
636 \family default
637  inserts a float with a caption that has the label 
638 \begin_inset Quotes eld
639 \end_inset
640
641 Figure\InsetSpace ~
642 #:
643 \begin_inset Quotes erd
644 \end_inset
645
646  (# is the actual number).
647  You can insert the image above the caption, like in Figure\InsetSpace ~
648
649 \begin_inset LatexCommand ref
650 reference "fig:kill-plat"
651
652 \end_inset
653
654  or below the caption, like in Figure\InsetSpace ~
655
656 \begin_inset LatexCommand ref
657 reference "fig:escher"
658
659 \end_inset
660
661 .
662  More about the caption placement is described in section\InsetSpace ~
663
664 \begin_inset LatexCommand ref
665 reference "sec:Caption-Placement"
666
667 \end_inset
668
669 .
670 \end_layout
671
672 \begin_layout Standard
673 \begin_inset Float figure
674 wide false
675 sideways false
676 status open
677
678 \begin_layout Standard
679 \align center
680 \begin_inset Graphics
681         filename clipart/platypus.eps
682         display color
683         width 50col%
684         rotateOrigin center
685
686 \end_inset
687
688
689 \end_layout
690
691 \begin_layout Standard
692 \begin_inset Caption
693
694 \begin_layout Standard
695 \begin_inset LatexCommand label
696 name "fig:kill-plat"
697
698 \end_inset
699
700 A severely distorted platypus in a float.
701 \end_layout
702
703 \end_inset
704
705
706 \end_layout
707
708 \end_inset
709
710
711 \end_layout
712
713 \begin_layout Standard
714 \begin_inset Float figure
715 wide false
716 sideways false
717 status open
718
719 \begin_layout Standard
720 \begin_inset Caption
721
722 \begin_layout Standard
723 \begin_inset LatexCommand label
724 name "fig:escher"
725
726 \end_inset
727
728 M.C.
729  Escher on acid.
730 \end_layout
731
732 \end_inset
733
734
735 \end_layout
736
737 \begin_layout Standard
738 \align center
739 \begin_inset Graphics
740         filename clipart/escher-lsd.eps
741         display color
742         scale 80
743         rotateOrigin center
744
745 \end_inset
746
747
748 \end_layout
749
750 \end_inset
751
752
753 \end_layout
754
755 \begin_layout Standard
756 \begin_inset LatexCommand index
757 name "References ! to Figures"
758
759 \end_inset
760
761 Figure\InsetSpace ~
762
763 \begin_inset LatexCommand ref
764 reference "fig:kill-plat"
765
766 \end_inset
767
768  and 
769 \begin_inset LatexCommand ref
770 reference "fig:escher"
771
772 \end_inset
773
774  are examples of referenced figures.
775  Figures can be referenced in the text by referencing their label.
776  To do this insert a label in the caption using the menu 
777 \family sans
778 Insert\SpecialChar \menuseparator
779 Label
780 \family default
781  or the toolbar button 
782 \begin_inset Graphics
783         filename ../images/label-insert.xpm
784         scale 85
785
786 \end_inset
787
788 .
789  You can now refer to the label using the menu 
790 \family sans
791 Insert\SpecialChar \menuseparator
792 Cross\InsetSpace ~
793 reference
794 \family default
795  or the toolbar button 
796 \begin_inset Graphics
797         filename ../images/dialog-show-new-inset_ref.xpm
798         scale 85
799
800 \end_inset
801
802 .
803  It is important to use references to floats, rather than using vague references
804  like 
805 \begin_inset Quotes eld
806 \end_inset
807
808 the figure above
809 \begin_inset Quotes erd
810 \end_inset
811
812 , because as LaTeX will reposition the floats in the final document, it
813  might not be 
814 \begin_inset Quotes eld
815 \end_inset
816
817 above
818 \begin_inset Quotes erd
819 \end_inset
820
821  at all.
822 \newline
823 Referencing is explained in detail in section\InsetSpace ~
824
825 \begin_inset LatexCommand ref
826 reference "sec:Referencing-Floats"
827
828 \end_inset
829
830 .
831 \end_layout
832
833 \begin_layout Standard
834 Normally only one image is inserted to a figure float, but sometimes you
835  might want to use two images with separate subcaptions.
836  This can be set in the tab 
837 \family sans
838 Extra\InsetSpace ~
839 options
840 \family default
841  of the graphics dialog.
842  Choose there the option 
843 \family sans
844 Subfigure
845 \family default
846  and enter the subcaption for the image in the caption field.
847  Note that only the main caption of the float is added to the List of Figures.
848 \newline
849 Ref
850 erencing subfigures is explained in section\InsetSpace ~
851
852 \begin_inset LatexCommand ref
853 reference "sub:Referencing-Subfigures"
854
855 \end_inset
856
857 .
858 \end_layout
859
860 \begin_layout Standard
861 Figure\InsetSpace ~
862
863 \begin_inset LatexCommand ref
864 reference "fig:Two-distorted-images"
865
866 \end_inset
867
868  is an example of a figure float with two images set side by side.
869  You can also set the images one below the other.
870 \end_layout
871
872 \begin_layout Standard
873 \begin_inset Float figure
874 wide false
875 sideways false
876 status open
877
878 \begin_layout Standard
879
880 \hfill
881
882 \begin_inset Graphics
883         filename clipart/escher-lsd.eps
884         width 45col%
885         subcaption
886         subcaptionText "Undefinable structure"
887
888 \end_inset
889
890
891 \hfill
892
893 \begin_inset Graphics
894         filename clipart/platypus.eps
895         lyxscale 60
896         width 45col%
897         subcaption
898         subcaptionText "\label{fig:Platypus} Platypus"
899
900 \end_inset
901
902
903 \hfill
904
905 \end_layout
906
907 \begin_layout Standard
908 \begin_inset Caption
909
910 \begin_layout Standard
911 \begin_inset LatexCommand label
912 name "fig:Two-distorted-images"
913
914 \end_inset
915
916 Two distorted images.
917 \end_layout
918
919 \end_inset
920
921
922 \end_layout
923
924 \end_inset
925
926
927 \end_layout
928
929 \begin_layout Section
930 Image Formats
931 \begin_inset LatexCommand label
932 name "sec:Image-Formats"
933
934 \end_inset
935
936
937 \begin_inset LatexCommand index
938 name "Image Formats"
939
940 \end_inset
941
942
943 \begin_inset LatexCommand index
944 name "Figures ! Image Formats"
945
946 \end_inset
947
948
949 \end_layout
950
951 \begin_layout Standard
952 You can insert images in any known file format.
953  But as explained in appendix\InsetSpace ~
954
955 \begin_inset LatexCommand ref
956 reference "cha:Output-File-Formats"
957
958 \end_inset
959
960 , every output document format allows only a few image formats.
961  LyX uses therefore the program 
962 \family typewriter
963 Imagemagick
964 \family default
965  in the background to convert the images to the right format.
966  To increase your work flow by avoiding these conversions in the background,
967  you can use only the image formats that can directly be embedded in the
968  output file format.
969  The output file formats are explained in appendix\InsetSpace ~
970
971 \begin_inset LatexCommand ref
972 reference "cha:Output-File-Formats"
973
974 \end_inset
975
976 .
977 \end_layout
978
979 \begin_layout Standard
980 Similar to fonts there are two types of image formats:
981 \end_layout
982
983 \begin_layout Description
984 Bitmap\InsetSpace ~
985 images consist of pixel values, often in a compressed form.
986  They are therefore not fully scalable and look pixeled in large zooms.
987  Well-known bitmap image formats are 
988 \begin_inset Quotes eld
989 \end_inset
990
991 Graphics Interchange Format
992 \begin_inset Quotes erd
993 \end_inset
994
995  (GIF, file extension 
996 \begin_inset Quotes eld
997 \end_inset
998
999
1000 \family typewriter
1001 .gif
1002 \family default
1003
1004 \begin_inset Quotes erd
1005 \end_inset
1006
1007 )
1008 \begin_inset LatexCommand index
1009 name "GIF|see{Image formats}"
1010
1011 \end_inset
1012
1013
1014 \begin_inset Quotes eld
1015 \end_inset
1016
1017 Portable Network Graphics
1018 \begin_inset Quotes erd
1019 \end_inset
1020
1021  (PNG, file extension 
1022 \begin_inset Quotes eld
1023 \end_inset
1024
1025
1026 \family typewriter
1027 .png
1028 \family default
1029
1030 \begin_inset Quotes erd
1031 \end_inset
1032
1033 )
1034 \begin_inset LatexCommand index
1035 name "PNG|see{Image formats}"
1036
1037 \end_inset
1038
1039 , and 
1040 \begin_inset Quotes eld
1041 \end_inset
1042
1043 Joint Photographic Experts Group
1044 \begin_inset Quotes erd
1045 \end_inset
1046
1047  (JPG, file extension 
1048 \begin_inset Quotes eld
1049 \end_inset
1050
1051
1052 \family typewriter
1053 .jpg
1054 \family default
1055
1056 \begin_inset Quotes erd
1057 \end_inset
1058
1059  or 
1060 \begin_inset Quotes eld
1061 \end_inset
1062
1063
1064 \family typewriter
1065 .jpeg
1066 \family default
1067
1068 \begin_inset Quotes erd
1069 \end_inset
1070
1071 )
1072 \begin_inset LatexCommand index
1073 name "JPG|see{Image formats}"
1074
1075 \end_inset
1076
1077 .
1078 \end_layout
1079
1080 \begin_layout Description
1081 Vector\InsetSpace ~
1082 images consist of vectors and can therefore be scaled to any size
1083  without data loss.
1084  The scaling ability is necessary if you want to create presentations, because
1085  presentations are always scaled by the video projector.
1086  Scaling is also useful for online documents to let the user zoom into diagrams.
1087 \newline
1088 W
1089 ell-known scalable image formats are 
1090 \begin_inset Quotes eld
1091 \end_inset
1092
1093 Scalable Vector Graphics
1094 \begin_inset Quotes erd
1095 \end_inset
1096
1097  (SVG, file extension 
1098 \begin_inset Quotes eld
1099 \end_inset
1100
1101
1102 \family typewriter
1103 .svg
1104 \family default
1105
1106 \begin_inset Quotes erd
1107 \end_inset
1108
1109 )
1110 \begin_inset LatexCommand index
1111 name "SVG|see{Image formats}"
1112
1113 \end_inset
1114
1115
1116 \begin_inset Quotes eld
1117 \end_inset
1118
1119 Encapsulated PostScript
1120 \begin_inset Quotes erd
1121 \end_inset
1122
1123  (EPS, file extension 
1124 \begin_inset Quotes eld
1125 \end_inset
1126
1127
1128 \family typewriter
1129 .eps
1130 \family default
1131
1132 \begin_inset Quotes erd
1133 \end_inset
1134
1135 )
1136 \begin_inset LatexCommand index
1137 name "EPS|see{Image formats}"
1138
1139 \end_inset
1140
1141
1142 \begin_inset Quotes eld
1143 \end_inset
1144
1145 Portable Document Format
1146 \begin_inset Quotes erd
1147 \end_inset
1148
1149  (PDF, file extension 
1150 \begin_inset Quotes eld
1151 \end_inset
1152
1153
1154 \family typewriter
1155 .pdf
1156 \family default
1157
1158 \begin_inset Quotes erd
1159 \end_inset
1160
1161 )
1162 \begin_inset LatexCommand index
1163 name "PDF"
1164
1165 \end_inset
1166
1167 , and 
1168 \begin_inset Quotes eld
1169 \end_inset
1170
1171 Windows Metafile
1172 \begin_inset Quotes erd
1173 \end_inset
1174
1175  (WMF, file extension 
1176 \begin_inset Quotes eld
1177 \end_inset
1178
1179
1180 \family typewriter
1181 .wmf
1182 \family default
1183
1184 \begin_inset Quotes erd
1185 \end_inset
1186
1187 )
1188 \begin_inset LatexCommand index
1189 name "SVG|see{Image formats}"
1190
1191 \end_inset
1192
1193 .
1194  We wrote 
1195 \begin_inset Quotes eld
1196 \end_inset
1197
1198 can be
1199 \begin_inset Quotes erd
1200 \end_inset
1201
1202 , because you can convert any bitmap image to a PDF or EPS-image and the
1203  result will still be a bitmap image.
1204  In this cases only a header with the image properties is added to the original
1205  image
1206 \begin_inset Foot
1207 status open
1208
1209 \begin_layout Standard
1210 In the case of PDF, the original image is additionally compressed.
1211 \end_layout
1212
1213 \end_inset
1214
1215 .
1216  The PDF-files generated by 
1217 \family typewriter
1218 Adobe Photoshop
1219 \family default
1220  are for example bitmap images.
1221 \end_layout
1222
1223 \begin_layout Standard
1224 Normally it is not possible to convert a bitmap image into a scalable one,
1225  only vice versa.
1226  Only the image formats PDF and EPS can directly be embedded to PDF and
1227  PostScript output files, respectively.
1228  SVG and WMF-images are currently recalculated to bitmaps when the output
1229  file is generated because there is currently no adequate WMF/SVG
1230 \begin_inset Formula $\to$
1231 \end_inset
1232
1233 PDF/EPS converter available.
1234 \end_layout
1235
1236 \begin_layout Chapter
1237 Tables
1238 \begin_inset LatexCommand label
1239 name "cha:Tables"
1240
1241 \end_inset
1242
1243
1244 \begin_inset LatexCommand index
1245 name "Table"
1246
1247 \end_inset
1248
1249
1250 \end_layout
1251
1252 \begin_layout Section
1253 Introduction
1254 \begin_inset LatexCommand index
1255 name "Table ! Introduction"
1256
1257 \end_inset
1258
1259
1260 \end_layout
1261
1262 \begin_layout Standard
1263 You can insert a table using either the toolbar button 
1264 \begin_inset Graphics
1265         filename ../images/tabular-insert.xpm
1266         scale 85
1267
1268 \end_inset
1269
1270  or the menu 
1271 \family sans
1272 Insert\SpecialChar \menuseparator
1273 Table
1274 \family default
1275 .
1276  The toolbar button offers you a graphical selection: Move the mouse to
1277  set the column/row number of the table that should be created and then
1278  press a mouse button.
1279  When you use the menu to create a table, a dialog will appear, asking you
1280  for the number of rows and columns.
1281 \newline
1282  The default table has lines around any
1283  cell and the first row appears separated from the rest of the table.
1284  This separation occurs due to a double line: The cells of the first row
1285  have a line below them and the cells of the second row have a line above
1286  them.
1287  Here is an example table:
1288 \end_layout
1289
1290 \begin_layout Standard
1291 \align center
1292 \begin_inset Tabular
1293 <lyxtabular version="3" rows="4" columns="4">
1294 <features>
1295 <column alignment="center" valignment="top" leftline="true" width="0">
1296 <column alignment="center" valignment="top" leftline="true" width="0">
1297 <column alignment="center" valignment="top" leftline="true" width="0">
1298 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
1299 <row topline="true" bottomline="true">
1300 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1301 \begin_inset Text
1302
1303 \begin_layout Standard
1304
1305 \end_layout
1306
1307 \end_inset
1308 </cell>
1309 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1310 \begin_inset Text
1311
1312 \begin_layout Standard
1313
1314 \family roman
1315 \series medium
1316 \shape up
1317 \size normal
1318 \emph off
1319 \bar no
1320 \noun off
1321 \color none
1322 1
1323 \end_layout
1324
1325 \end_inset
1326 </cell>
1327 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1328 \begin_inset Text
1329
1330 \begin_layout Standard
1331 2
1332 \end_layout
1333
1334 \end_inset
1335 </cell>
1336 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1337 \begin_inset Text
1338
1339 \begin_layout Standard
1340 3
1341 \end_layout
1342
1343 \end_inset
1344 </cell>
1345 </row>
1346 <row topline="true">
1347 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1348 \begin_inset Text
1349
1350 \begin_layout Standard
1351
1352 \family roman
1353 \series medium
1354 \shape up
1355 \size normal
1356 \emph off
1357 \bar no
1358 \noun off
1359 \color none
1360 A
1361 \end_layout
1362
1363 \end_inset
1364 </cell>
1365 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1366 \begin_inset Text
1367
1368 \begin_layout Standard
1369
1370 \end_layout
1371
1372 \end_inset
1373 </cell>
1374 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1375 \begin_inset Text
1376
1377 \begin_layout Standard
1378
1379 \end_layout
1380
1381 \end_inset
1382 </cell>
1383 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1384 \begin_inset Text
1385
1386 \begin_layout Standard
1387
1388 \end_layout
1389
1390 \end_inset
1391 </cell>
1392 </row>
1393 <row topline="true">
1394 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1395 \begin_inset Text
1396
1397 \begin_layout Standard
1398
1399 \family roman
1400 \series medium
1401 \shape up
1402 \size normal
1403 \emph off
1404 \bar no
1405 \noun off
1406 \color none
1407 B
1408 \end_layout
1409
1410 \end_inset
1411 </cell>
1412 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1413 \begin_inset Text
1414
1415 \begin_layout Standard
1416
1417 \end_layout
1418
1419 \end_inset
1420 </cell>
1421 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1422 \begin_inset Text
1423
1424 \begin_layout Standard
1425
1426 \end_layout
1427
1428 \end_inset
1429 </cell>
1430 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1431 \begin_inset Text
1432
1433 \begin_layout Standard
1434
1435 \end_layout
1436
1437 \end_inset
1438 </cell>
1439 </row>
1440 <row topline="true" bottomline="true">
1441 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1442 \begin_inset Text
1443
1444 \begin_layout Standard
1445
1446 \family roman
1447 \series medium
1448 \shape up
1449 \size normal
1450 \emph off
1451 \bar no
1452 \noun off
1453 \color none
1454 C
1455 \end_layout
1456
1457 \end_inset
1458 </cell>
1459 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1460 \begin_inset Text
1461
1462 \begin_layout Standard
1463
1464 \end_layout
1465
1466 \end_inset
1467 </cell>
1468 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1469 \begin_inset Text
1470
1471 \begin_layout Standard
1472
1473 \end_layout
1474
1475 \end_inset
1476 </cell>
1477 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1478 \begin_inset Text
1479
1480 \begin_layout Standard
1481
1482 \end_layout
1483
1484 \end_inset
1485 </cell>
1486 </row>
1487 </lyxtabular>
1488
1489 \end_inset
1490
1491
1492 \end_layout
1493
1494 \begin_layout Section
1495 Table Dialog
1496 \begin_inset LatexCommand index
1497 name "Table ! Dialog"
1498
1499 \end_inset
1500
1501
1502 \end_layout
1503
1504 \begin_layout Standard
1505 You can alter a table by clicking on it with the right mouse button, which
1506  brings up the table dialog.
1507  Here you can adjust the settings of that cell and row/column respectively
1508  where the cursor is currently placed.
1509  Most of the dialog options also work on selections.
1510  This means if you select more cells, columns or rows, the action is done
1511  for the whole selection.
1512  Note that there is a difference between selecting the 
1513 \emph on
1514 contents
1515 \emph default
1516  of the cell, and the cell itself.
1517  You can alter tables with the following tabs of the table dialog:
1518 \end_layout
1519
1520 \begin_layout Description
1521
1522 \family sans
1523 Table\InsetSpace ~
1524 Settings
1525 \family default
1526  Here you can set the horizontal alignment and the width of the current
1527  column.
1528  When you have set a width you can also adjust the vertical alignment of
1529  the current row.
1530  A given width will allow the cell to have line breaks and multiple paragraphs
1531  of text, see section\InsetSpace ~
1532
1533 \begin_inset LatexCommand ref
1534 reference "sub:Multiple-Lines-in"
1535
1536 \end_inset
1537
1538 .
1539  If you set no width, the column is as wide as their widest cell content
1540  is.
1541 \newline
1542 Furthermore, you can mark one or multiple cells of one row as a multicolumn
1543  cell, see section\InsetSpace ~
1544
1545 \begin_inset LatexCommand ref
1546 reference "sub:Multicolumns"
1547
1548 \end_inset
1549
1550 .
1551 \newline
1552 The rotate check boxes rotates the current cell, a selection, or the whole
1553  table counter-clockwise by 90°.
1554  The rotation is not shown within LyX, only in the output.
1555 \newline
1556
1557 \begin_inset Note Greyedout
1558 status open
1559
1560 \begin_layout Standard
1561
1562 \series bold
1563 Note:
1564 \series default
1565  Not all DVI-viewers are able to display rotations.
1566 \end_layout
1567
1568 \end_inset
1569
1570
1571 \newline
1572 It is also possible to enter a LaTeX-argument which is needed for special
1573  table formattings, see section\InsetSpace ~
1574
1575 \begin_inset LatexCommand ref
1576 reference "sub:Multicolumn-Calculations"
1577
1578 \end_inset
1579
1580  and 
1581 \begin_inset LatexCommand ref
1582 reference "sec:Colored-Tables"
1583
1584 \end_inset
1585
1586 .
1587 \end_layout
1588
1589 \begin_layout Description
1590
1591 \family sans
1592 Borders
1593 \family default
1594  In this tab you can add and delete border lines for the current row/column.
1595 \newline
1596 Using
1597  the style option 
1598 \family sans
1599 Formal
1600 \family default
1601  will convert the table to a formal table as described in section\InsetSpace ~
1602
1603 \begin_inset LatexCommand ref
1604 reference "sec:Formal-Tables"
1605
1606 \end_inset
1607
1608 .
1609 \newline
1610 You can also add here space to table rows as decribed in section\InsetSpace ~
1611
1612 \begin_inset LatexCommand ref
1613 reference "sub:Row-Spacing"
1614
1615 \end_inset
1616
1617 .
1618 \end_layout
1619
1620 \begin_layout Description
1621
1622 \family sans
1623 Longtable
1624 \family default
1625  This tab is to make a table a so called 
1626 \begin_inset Quotes eld
1627 \end_inset
1628
1629
1630 \emph on
1631 longtable
1632 \emph default
1633
1634 \begin_inset Quotes erd
1635 \end_inset
1636
1637  that can run over several pages.
1638  Section\InsetSpace ~
1639
1640 \begin_inset LatexCommand ref
1641 reference "sec:Longtables"
1642
1643 \end_inset
1644
1645  and 
1646 \begin_inset LatexCommand ref
1647 reference "sec:Special-Longtable-Issues"
1648
1649 \end_inset
1650
1651  describe the longtable features in detail.
1652 \end_layout
1653
1654 \begin_layout Standard
1655 When the table toolbar is opened, you can move the cursor with the arrow
1656  keys from cell to cell and the property of the current cell will immediately
1657  be displayed in the dialog.
1658 \end_layout
1659
1660 \begin_layout Section
1661 Table Toolbar
1662 \begin_inset LatexCommand index
1663 name "Table ! Toolbar"
1664
1665 \end_inset
1666
1667
1668 \end_layout
1669
1670 \begin_layout Standard
1671 The table toolbar is an alternative to the table dialog to be able to alter
1672  tables faster.
1673  It should normally appear at the bottom of LyX's main window when the cursor
1674  is inside a table.
1675  You can alternatively switch it on to appear always, by right-clicking
1676  in LyX's main menu bar.
1677 \end_layout
1678
1679 \begin_layout Standard
1680 The toolbar has the following icons:
1681 \end_layout
1682
1683 \begin_layout Labeling
1684 \labelwidthstring 00.00.0000
1685 \begin_inset Graphics
1686         filename ../images/tabular-feature_append-row.xpm
1687
1688 \end_inset
1689
1690  adds a row below the current cell or selection
1691 \end_layout
1692
1693 \begin_layout Labeling
1694 \labelwidthstring 00.00.0000
1695 \begin_inset Graphics
1696         filename ../images/tabular-feature_append-column.xpm
1697
1698 \end_inset
1699
1700  adds a column right beside the current cell or selection
1701 \end_layout
1702
1703 \begin_layout Labeling
1704 \labelwidthstring 00.00.0000
1705 \begin_inset Graphics
1706         filename ../images/tabular-feature_delete-row.xpm
1707
1708 \end_inset
1709
1710  deletes the current row 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-column.xpm
1717
1718 \end_inset
1719
1720  deletes the current column or selection
1721 \end_layout
1722
1723 \begin_layout Labeling
1724 \labelwidthstring 00.00.0000
1725 \begin_inset Graphics
1726         filename ../images/tabular-feature_toggle-line-top.xpm
1727
1728 \end_inset
1729
1730  adds a line at the top of the current cell / row or of a selection
1731 \end_layout
1732
1733 \begin_layout Labeling
1734 \labelwidthstring 00.00.0000
1735 \begin_inset Graphics
1736         filename ../images/tabular-feature_toggle-line-bottom.xpm
1737
1738 \end_inset
1739
1740  adds a line at the bottom of the current cell / row or of a selection
1741 \end_layout
1742
1743 \begin_layout Labeling
1744 \labelwidthstring 00.00.0000
1745 \begin_inset Graphics
1746         filename ../images/tabular-feature_toggle-line-left.xpm
1747
1748 \end_inset
1749
1750  adds a line at the left side of the current cell / row or of a selection
1751 \end_layout
1752
1753 \begin_layout Labeling
1754 \labelwidthstring 00.00.0000
1755 \begin_inset Graphics
1756         filename ../images/tabular-feature_toggle-line-right.xpm
1757
1758 \end_inset
1759
1760  adds a line at the right side of the current cell / row or of a selection
1761 \end_layout
1762
1763 \begin_layout Labeling
1764 \labelwidthstring 00.00.0000
1765 \begin_inset Graphics
1766         filename ../images/tabular-feature_set-all-lines.xpm
1767
1768 \end_inset
1769
1770  adds lines around the current or selected cells - if the current cell no
1771  multicolumn this also affects the current row and column
1772 \end_layout
1773
1774 \begin_layout Labeling
1775 \labelwidthstring 00.00.0000
1776 \begin_inset Graphics
1777         filename ../images/tabular-feature_unset-all-lines.xpm
1778
1779 \end_inset
1780
1781  deletes all lines of the current or selected cells - if the current cell
1782  no multicolumn this also affects the current row and column
1783 \end_layout
1784
1785 \begin_layout Labeling
1786 \labelwidthstring 00.00.0000
1787 \begin_inset Graphics
1788         filename ../images/tabular-feature_align-left.xpm
1789
1790 \end_inset
1791
1792  left-aligns the content of the current cell / column
1793 \end_layout
1794
1795 \begin_layout Labeling
1796 \labelwidthstring 00.00.0000
1797 \begin_inset Graphics
1798         filename ../images/tabular-feature_align-center.xpm
1799
1800 \end_inset
1801
1802  centers the content of the current cell / column horizontally
1803 \end_layout
1804
1805 \begin_layout Labeling
1806 \labelwidthstring 00.00.0000
1807 \begin_inset Graphics
1808         filename ../images/tabular-feature_align-right.xpm
1809
1810 \end_inset
1811
1812  right-aligns the content of the current cell / column
1813 \end_layout
1814
1815 \begin_layout Labeling
1816 \labelwidthstring 00.00.0000
1817 \begin_inset Graphics
1818         filename ../images/tabular-feature_valign-top.xpm
1819
1820 \end_inset
1821
1822  aligns the content of the current cell vertically to the top
1823 \end_layout
1824
1825 \begin_layout Labeling
1826 \labelwidthstring 00.00.0000
1827 \begin_inset Graphics
1828         filename ../images/tabular-feature_valign-middle.xpm
1829
1830 \end_inset
1831
1832  centers the content of the current cell vertically
1833 \end_layout
1834
1835 \begin_layout Labeling
1836 \labelwidthstring 00.00.0000
1837 \begin_inset Graphics
1838         filename ../images/tabular-feature_valign-bottom.xpm
1839
1840 \end_inset
1841
1842  aligns the content of the current cell vertically to the bottom
1843 \end_layout
1844
1845 \begin_layout Labeling
1846 \labelwidthstring 00.00.0000
1847 \begin_inset Graphics
1848         filename ../images/tabular-feature_set-rotate-cell.xpm
1849
1850 \end_inset
1851
1852  rotates the current cell or selection counter-clockwise by 90°
1853 \end_layout
1854
1855 \begin_layout Labeling
1856 \labelwidthstring 00.00.0000
1857 \begin_inset Graphics
1858         filename ../images/tabular-feature_set-rotate-tabular.xpm
1859
1860 \end_inset
1861
1862  rotates the whole table counter-clockwise by 90°
1863 \end_layout
1864
1865 \begin_layout Labeling
1866 \labelwidthstring 00.00.0000
1867 \begin_inset Graphics
1868         filename ../images/tabular-feature_multicolumn.xpm
1869
1870 \end_inset
1871
1872  sets the current cell or selection as a multicolumn
1873 \end_layout
1874
1875 \begin_layout Standard
1876 \begin_inset Note Greyedout
1877 status open
1878
1879 \begin_layout Standard
1880
1881 \series bold
1882 Note:
1883 \series default
1884  For the output the vertical alignment of the first cell in a row is used
1885  for all following cells in the row.
1886 \end_layout
1887
1888 \end_inset
1889
1890
1891 \end_layout
1892
1893 \begin_layout Section
1894 Edit Table Menu
1895 \begin_inset LatexCommand index
1896 name "Table ! Edit Menu"
1897
1898 \end_inset
1899
1900
1901 \end_layout
1902
1903 \begin_layout Standard
1904 Additionally to the table dialog and toolbar, the menu 
1905 \family sans
1906 Edit\SpecialChar \menuseparator
1907 Table
1908 \family default
1909  allows you to add and delete border lines for the current row/column and
1910  to set the current selection as multicolumn.
1911  The menu is only available when the cursor is inside a table.
1912 \end_layout
1913
1914 \begin_layout Section
1915 Table Floats
1916 \begin_inset LatexCommand label
1917 name "sec:Table-Floats"
1918
1919 \end_inset
1920
1921
1922 \begin_inset LatexCommand index
1923 name "Floats ! Tables"
1924
1925 \end_inset
1926
1927
1928 \begin_inset LatexCommand index
1929 name "Table ! Floats"
1930
1931 \end_inset
1932
1933
1934 \end_layout
1935
1936 \begin_layout Standard
1937 For general explanations about floats, have a look at section\InsetSpace ~
1938
1939 \begin_inset LatexCommand ref
1940 reference "sec:FloatIntroduction"
1941
1942 \end_inset
1943
1944 .
1945 \end_layout
1946
1947 \begin_layout Standard
1948 \begin_inset Float table
1949 placement h
1950 wide false
1951 sideways false
1952 status open
1953
1954 \begin_layout Standard
1955 \begin_inset Caption
1956
1957 \begin_layout Standard
1958 \begin_inset LatexCommand label
1959 name "tab:a table float"
1960
1961 \end_inset
1962
1963 A table float.
1964 \end_layout
1965
1966 \end_inset
1967
1968
1969 \end_layout
1970
1971 \begin_layout Standard
1972 \align center
1973 \begin_inset Tabular
1974 <lyxtabular version="3" rows="3" columns="3">
1975 <features>
1976 <column alignment="center" valignment="top" leftline="true" width="0pt">
1977 <column alignment="center" valignment="top" leftline="true" width="0pt">
1978 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
1979 <row topline="true" bottomline="true">
1980 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1981 \begin_inset Text
1982
1983 \begin_layout Standard
1984
1985 \family roman
1986 \series medium
1987 \shape up
1988 \size normal
1989 \emph off
1990 \bar no
1991 \noun off
1992 \color none
1993 1
1994 \end_layout
1995
1996 \end_inset
1997 </cell>
1998 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1999 \begin_inset Text
2000
2001 \begin_layout Standard
2002
2003 \family roman
2004 \series medium
2005 \shape up
2006 \size normal
2007 \emph off
2008 \bar no
2009 \noun off
2010 \color none
2011 2
2012 \end_layout
2013
2014 \end_inset
2015 </cell>
2016 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2017 \begin_inset Text
2018
2019 \begin_layout Standard
2020
2021 \family roman
2022 \series medium
2023 \shape up
2024 \size normal
2025 \emph off
2026 \bar no
2027 \noun off
2028 \color none
2029 3
2030 \end_layout
2031
2032 \end_inset
2033 </cell>
2034 </row>
2035 <row topline="true">
2036 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2037 \begin_inset Text
2038
2039 \begin_layout Standard
2040
2041 \family roman
2042 \series medium
2043 \shape up
2044 \size normal
2045 \emph off
2046 \bar no
2047 \noun off
2048 \color none
2049 Joe
2050 \end_layout
2051
2052 \end_inset
2053 </cell>
2054 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2055 \begin_inset Text
2056
2057 \begin_layout Standard
2058
2059 \family roman
2060 \series medium
2061 \shape up
2062 \size normal
2063 \emph off
2064 \bar no
2065 \noun off
2066 \color none
2067 Mary
2068 \end_layout
2069
2070 \end_inset
2071 </cell>
2072 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2073 \begin_inset Text
2074
2075 \begin_layout Standard
2076
2077 \family roman
2078 \series medium
2079 \shape up
2080 \size normal
2081 \emph off
2082 \bar no
2083 \noun off
2084 \color none
2085 Ted
2086 \end_layout
2087
2088 \end_inset
2089 </cell>
2090 </row>
2091 <row topline="true" bottomline="true">
2092 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2093 \begin_inset Text
2094
2095 \begin_layout Standard
2096
2097 \family roman
2098 \series medium
2099 \shape up
2100 \size normal
2101 \emph off
2102 \bar no
2103 \noun off
2104 \color none
2105 \begin_inset Formula $\int x^{2}dx$
2106 \end_inset
2107
2108
2109 \end_layout
2110
2111 \end_inset
2112 </cell>
2113 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2114 \begin_inset Text
2115
2116 \begin_layout Standard
2117
2118 \family roman
2119 \series medium
2120 \shape up
2121 \size normal
2122 \emph off
2123 \bar no
2124 \noun off
2125 \color none
2126 \begin_inset Formula $\left[\begin{array}{cc}
2127 a & b\\
2128 c & d\end{array}\right]$
2129 \end_inset
2130
2131
2132 \end_layout
2133
2134 \end_inset
2135 </cell>
2136 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2137 \begin_inset Text
2138
2139 \begin_layout Standard
2140
2141 \family roman
2142 \series medium
2143 \shape up
2144 \size normal
2145 \emph off
2146 \bar no
2147 \noun off
2148 \color none
2149 \begin_inset Formula $1+1=2$
2150 \end_inset
2151
2152
2153 \end_layout
2154
2155 \end_inset
2156 </cell>
2157 </row>
2158 </lyxtabular>
2159
2160 \end_inset
2161
2162
2163 \end_layout
2164
2165 \end_inset
2166
2167
2168 \end_layout
2169
2170 \begin_layout Standard
2171 Table floats can be inserted using the menu 
2172 \family sans
2173 Insert\SpecialChar \menuseparator
2174 Float\SpecialChar \menuseparator
2175 Table
2176 \family default
2177  or the toolbar button 
2178 \begin_inset Graphics
2179         filename ../images/float-insert_table.xpm
2180         scale 85
2181
2182 \end_inset
2183
2184 .
2185 \end_layout
2186
2187 \begin_layout Standard
2188 The float appears as a collapsible box with a caption that has the label
2189  
2190 \begin_inset Quotes eld
2191 \end_inset
2192
2193 Table\InsetSpace ~
2194 #:
2195 \begin_inset Quotes erd
2196 \end_inset
2197
2198  (# is the actual table number).
2199  You can insert tables to the float above or below the caption.
2200 \end_layout
2201
2202 \begin_layout Standard
2203 Table\InsetSpace ~
2204
2205 \begin_inset LatexCommand ref
2206 reference "tab:a table float"
2207
2208 \end_inset
2209
2210  is an example table within a table float.
2211 \end_layout
2212
2213 \begin_layout Standard
2214 Having the caption above the table is the common rule that is unfortunately
2215  not supported in LaTeX's standard classes.
2216  That means if you are using the document classes 
2217 \family sans
2218 article
2219 \family default
2220
2221 \family sans
2222 book
2223 \family default
2224
2225 \family sans
2226 letter
2227 \family default
2228 , or 
2229 \family sans
2230 report
2231 \family default
2232  there will be no space between the caption and the table.
2233  To insert the needed space, add the following option to the load command
2234  of the LaTeX-package 
2235 \series bold
2236 caption
2237 \series default
2238
2239 \begin_inset LatexCommand index
2240 name "LaTeX-packages ! caption"
2241
2242 \end_inset
2243
2244  in your document preamble
2245 \begin_inset Foot
2246 status collapsed
2247
2248 \begin_layout Standard
2249 For more information have a look at section\InsetSpace ~
2250
2251 \begin_inset LatexCommand ref
2252 reference "sec:Caption-Placement"
2253
2254 \end_inset
2255
2256 .
2257 \end_layout
2258
2259 \end_inset
2260
2261 :
2262 \end_layout
2263
2264 \begin_layout Standard
2265
2266 \series bold
2267 tableposition=top
2268 \end_layout
2269
2270 \begin_layout Standard
2271 The package 
2272 \series bold
2273 caption
2274 \series default
2275 , which is described in section\InsetSpace ~
2276
2277 \begin_inset LatexCommand ref
2278 reference "sec:Caption-Formatting"
2279
2280 \end_inset
2281
2282 , is used to adjust the caption format.
2283 \end_layout
2284
2285 \begin_layout Standard
2286 \begin_inset LatexCommand index
2287 name "References ! to Tables"
2288
2289 \end_inset
2290
2291 Tables can be cross-referenced in the text by referencing their label.
2292  To do this insert a label in the caption using the menu 
2293 \family sans
2294 Insert\SpecialChar \menuseparator
2295 Label
2296 \family default
2297  or the toolbar button 
2298 \begin_inset Graphics
2299         filename ../images/label-insert.xpm
2300         scale 85
2301
2302 \end_inset
2303
2304 .
2305  You can now refer to the label using the menu 
2306 \family sans
2307 Insert\SpecialChar \menuseparator
2308 Cross\InsetSpace ~
2309 reference
2310 \family default
2311  or the toolbar button 
2312 \begin_inset Graphics
2313         filename ../images/dialog-show-new-inset_ref.xpm
2314         scale 85
2315
2316 \end_inset
2317
2318 .
2319 \newline
2320 Referencing is explained in detail in section\InsetSpace ~
2321
2322 \begin_inset LatexCommand ref
2323 reference "sec:Referencing-Floats"
2324
2325 \end_inset
2326
2327 .
2328 \end_layout
2329
2330 \begin_layout Section
2331 Longtables
2332 \begin_inset LatexCommand label
2333 name "sec:Longtables"
2334
2335 \end_inset
2336
2337
2338 \begin_inset LatexCommand index
2339 name "Longtables"
2340
2341 \end_inset
2342
2343
2344 \begin_inset LatexCommand index
2345 name "Table ! Longtables"
2346
2347 \end_inset
2348
2349
2350 \end_layout
2351
2352 \begin_layout Standard
2353 If the table is too long to fit on one page, you can use the option 
2354 \family sans
2355 Use\InsetSpace ~
2356 long\InsetSpace ~
2357 table
2358 \family default
2359  in the tab 
2360 \family sans
2361 Longtable
2362 \family default
2363  of the table dialog to split the table automatically over more pages.
2364  Doing this enables some check boxes and you can now define:
2365 \end_layout
2366
2367 \begin_layout Description
2368
2369 \family sans
2370 Header
2371 \family default
2372 : The current row and all rows above, that don't have any special options
2373  defined, are defined to be the header rows of all pages of the longtable;
2374  except for the first page, if 
2375 \family sans
2376 First\InsetSpace ~
2377 header
2378 \family default
2379  is defined.
2380  This therefore called the main header.
2381 \end_layout
2382
2383 \begin_layout Description
2384
2385 \family sans
2386 First\InsetSpace ~
2387 header
2388 \family default
2389 : The current row and all rows above, that don't have any special options
2390  defined, are defined to be the header rows of the first page of the longtable.
2391 \end_layout
2392
2393 \begin_layout Description
2394
2395 \family sans
2396 Footer
2397 \family default
2398 : The current row and all rows below, that don't have any special options
2399  defined, are defined to be the footer rows of all pages of the longtable;
2400  except for the last page, if 
2401 \family sans
2402 Last\InsetSpace ~
2403 footer
2404 \family default
2405  is defined.
2406 \end_layout
2407
2408 \begin_layout Description
2409
2410 \family sans
2411 Last\InsetSpace ~
2412 footer
2413 \family default
2414 : The current row and all rows below, that don't have any special options
2415  defined, are defined to be the footer rows of the last page of the longtable.
2416 \end_layout
2417
2418 \begin_layout Standard
2419 You can also specify a row where the table is splitted.
2420  If you set more than one option in the same table row, you should be aware
2421  of the fact that only the first one is used in the given table row.
2422  The others will then be defined as 
2423 \emph on
2424 empty
2425 \emph default
2426 .
2427  In this context, first means first in this order: 
2428 \family sans
2429 Header,
2430 \family default
2431  
2432 \family sans
2433 First\InsetSpace ~
2434 header, Footer, Last\InsetSpace ~
2435 footer.
2436
2437 \family default
2438  See the following longtable to see how it works:
2439 \end_layout
2440
2441 \begin_layout Standard
2442 \align center
2443 \begin_inset Tabular
2444 <lyxtabular version="3" rows="69" columns="3">
2445 <features islongtable="true">
2446 <column alignment="left" valignment="top" leftline="true" width="0cm">
2447 <column alignment="left" valignment="top" width="0pt">
2448 <column alignment="right" valignment="top" leftline="true" rightline="true" width="0pt">
2449 <row topline="true" bottomline="true" endfirsthead="true">
2450 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2451 \begin_inset Text
2452
2453 \begin_layout Standard
2454
2455 \series bold
2456 Example Phone List (ignore the names)
2457 \end_layout
2458
2459 \end_inset
2460 </cell>
2461 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2462 \begin_inset Text
2463
2464 \begin_layout Standard
2465
2466 \end_layout
2467
2468 \end_inset
2469 </cell>
2470 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2471 \begin_inset Text
2472
2473 \begin_layout Standard
2474
2475 \end_layout
2476
2477 \end_inset
2478 </cell>
2479 </row>
2480 <row topline="true" bottomline="true" endfirsthead="true">
2481 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2482 \begin_inset Text
2483
2484 \begin_layout Standard
2485
2486 \series bold
2487 NAME
2488 \end_layout
2489
2490 \end_inset
2491 </cell>
2492 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2493 \begin_inset Text
2494
2495 \begin_layout Standard
2496
2497 \end_layout
2498
2499 \end_inset
2500 </cell>
2501 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2502 \begin_inset Text
2503
2504 \begin_layout Standard
2505
2506 \series bold
2507 TEL.
2508 \end_layout
2509
2510 \end_inset
2511 </cell>
2512 </row>
2513 <row topline="true" bottomline="true" endhead="true">
2514 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2515 \begin_inset Text
2516
2517 \begin_layout Standard
2518
2519 \series bold
2520 Example Phone List
2521 \end_layout
2522
2523 \end_inset
2524 </cell>
2525 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2526 \begin_inset Text
2527
2528 \begin_layout Standard
2529
2530 \end_layout
2531
2532 \end_inset
2533 </cell>
2534 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2535 \begin_inset Text
2536
2537 \begin_layout Standard
2538
2539 \end_layout
2540
2541 \end_inset
2542 </cell>
2543 </row>
2544 <row topline="true" bottomline="true" endhead="true">
2545 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2546 \begin_inset Text
2547
2548 \begin_layout Standard
2549
2550 \series bold
2551 NAME
2552 \end_layout
2553
2554 \end_inset
2555 </cell>
2556 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2557 \begin_inset Text
2558
2559 \begin_layout Standard
2560
2561 \end_layout
2562
2563 \end_inset
2564 </cell>
2565 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2566 \begin_inset Text
2567
2568 \begin_layout Standard
2569
2570 \series bold
2571 TEL.
2572 \end_layout
2573
2574 \end_inset
2575 </cell>
2576 </row>
2577 <row topline="true" bottomline="true" endfoot="true">
2578 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
2579 \begin_inset Text
2580
2581 \begin_layout Standard
2582  continued on next page
2583 \end_layout
2584
2585 \end_inset
2586 </cell>
2587 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2588 \begin_inset Text
2589
2590 \begin_layout Standard
2591
2592 \end_layout
2593
2594 \end_inset
2595 </cell>
2596 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2597 \begin_inset Text
2598
2599 \begin_layout Standard
2600
2601 \end_layout
2602
2603 \end_inset
2604 </cell>
2605 </row>
2606 <row>
2607 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2608 \begin_inset Text
2609
2610 \begin_layout Standard
2611
2612 \series bold
2613 Annovi
2614 \end_layout
2615
2616 \end_inset
2617 </cell>
2618 <cell alignment="center" valignment="top" topline="true" usebox="none">
2619 \begin_inset Text
2620
2621 \begin_layout Standard
2622 Silvia
2623 \end_layout
2624
2625 \end_inset
2626 </cell>
2627 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2628 \begin_inset Text
2629
2630 \begin_layout Standard
2631 111
2632 \end_layout
2633
2634 \end_inset
2635 </cell>
2636 </row>
2637 <row>
2638 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2639 \begin_inset Text
2640
2641 \begin_layout Standard
2642
2643 \series bold
2644 Bertoli
2645 \end_layout
2646
2647 \end_inset
2648 </cell>
2649 <cell alignment="center" valignment="top" topline="true" usebox="none">
2650 \begin_inset Text
2651
2652 \begin_layout Standard
2653 Stefano
2654 \end_layout
2655
2656 \end_inset
2657 </cell>
2658 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2659 \begin_inset Text
2660
2661 \begin_layout Standard
2662 111
2663 \end_layout
2664
2665 \end_inset
2666 </cell>
2667 </row>
2668 <row>
2669 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2670 \begin_inset Text
2671
2672 \begin_layout Standard
2673
2674 \series bold
2675 Bozzi
2676 \end_layout
2677
2678 \end_inset
2679 </cell>
2680 <cell alignment="center" valignment="top" topline="true" usebox="none">
2681 \begin_inset Text
2682
2683 \begin_layout Standard
2684 Walter
2685 \end_layout
2686
2687 \end_inset
2688 </cell>
2689 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2690 \begin_inset Text
2691
2692 \begin_layout Standard
2693 111
2694 \end_layout
2695
2696 \end_inset
2697 </cell>
2698 </row>
2699 <row>
2700 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2701 \begin_inset Text
2702
2703 \begin_layout Standard
2704
2705 \series bold
2706 Cachia
2707 \end_layout
2708
2709 \end_inset
2710 </cell>
2711 <cell alignment="center" valignment="top" topline="true" usebox="none">
2712 \begin_inset Text
2713
2714 \begin_layout Standard
2715 Maria
2716 \end_layout
2717
2718 \end_inset
2719 </cell>
2720 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2721 \begin_inset Text
2722
2723 \begin_layout Standard
2724 111
2725 \end_layout
2726
2727 \end_inset
2728 </cell>
2729 </row>
2730 <row>
2731 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2732 \begin_inset Text
2733
2734 \begin_layout Standard
2735
2736 \series bold
2737 Cachia
2738 \end_layout
2739
2740 \end_inset
2741 </cell>
2742 <cell alignment="center" valignment="top" topline="true" usebox="none">
2743 \begin_inset Text
2744
2745 \begin_layout Standard
2746 Maurizio
2747 \end_layout
2748
2749 \end_inset
2750 </cell>
2751 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2752 \begin_inset Text
2753
2754 \begin_layout Standard
2755 111
2756 \end_layout
2757
2758 \end_inset
2759 </cell>
2760 </row>
2761 <row>
2762 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2763 \begin_inset Text
2764
2765 \begin_layout Standard
2766
2767 \series bold
2768 Cinquemani
2769 \end_layout
2770
2771 \end_inset
2772 </cell>
2773 <cell alignment="center" valignment="top" topline="true" usebox="none">
2774 \begin_inset Text
2775
2776 \begin_layout Standard
2777 Giusi
2778 \end_layout
2779
2780 \end_inset
2781 </cell>
2782 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2783 \begin_inset Text
2784
2785 \begin_layout Standard
2786 111
2787 \end_layout
2788
2789 \end_inset
2790 </cell>
2791 </row>
2792 <row>
2793 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2794 \begin_inset Text
2795
2796 \begin_layout Standard
2797
2798 \series bold
2799 Colin
2800 \end_layout
2801
2802 \end_inset
2803 </cell>
2804 <cell alignment="center" valignment="top" topline="true" usebox="none">
2805 \begin_inset Text
2806
2807 \begin_layout Standard
2808 Bernard
2809 \end_layout
2810
2811 \end_inset
2812 </cell>
2813 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2814 \begin_inset Text
2815
2816 \begin_layout Standard
2817 111
2818 \end_layout
2819
2820 \end_inset
2821 </cell>
2822 </row>
2823 <row>
2824 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2825 \begin_inset Text
2826
2827 \begin_layout Standard
2828
2829 \series bold
2830 Concli
2831 \end_layout
2832
2833 \end_inset
2834 </cell>
2835 <cell alignment="center" valignment="top" topline="true" usebox="none">
2836 \begin_inset Text
2837
2838 \begin_layout Standard
2839 Gianfranco
2840 \end_layout
2841
2842 \end_inset
2843 </cell>
2844 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2845 \begin_inset Text
2846
2847 \begin_layout Standard
2848 111
2849 \end_layout
2850
2851 \end_inset
2852 </cell>
2853 </row>
2854 <row>
2855 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2856 \begin_inset Text
2857
2858 \begin_layout Standard
2859
2860 \series bold
2861 Dal Bosco
2862 \end_layout
2863
2864 \end_inset
2865 </cell>
2866 <cell alignment="center" valignment="top" topline="true" usebox="none">
2867 \begin_inset Text
2868
2869 \begin_layout Standard
2870 Carolina
2871 \end_layout
2872
2873 \end_inset
2874 </cell>
2875 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2876 \begin_inset Text
2877
2878 \begin_layout Standard
2879 111
2880 \end_layout
2881
2882 \end_inset
2883 </cell>
2884 </row>
2885 <row>
2886 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2887 \begin_inset Text
2888
2889 \begin_layout Standard
2890
2891 \series bold
2892 Dalpiaz
2893 \end_layout
2894
2895 \end_inset
2896 </cell>
2897 <cell alignment="center" valignment="top" topline="true" usebox="none">
2898 \begin_inset Text
2899
2900 \begin_layout Standard
2901 Annamaria
2902 \end_layout
2903
2904 \end_inset
2905 </cell>
2906 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2907 \begin_inset Text
2908
2909 \begin_layout Standard
2910 111
2911 \end_layout
2912
2913 \end_inset
2914 </cell>
2915 </row>
2916 <row>
2917 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2918 \begin_inset Text
2919
2920 \begin_layout Standard
2921
2922 \series bold
2923 Feliciello
2924 \end_layout
2925
2926 \end_inset
2927 </cell>
2928 <cell alignment="center" valignment="top" topline="true" usebox="none">
2929 \begin_inset Text
2930
2931 \begin_layout Standard
2932 Domenico
2933 \end_layout
2934
2935 \end_inset
2936 </cell>
2937 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2938 \begin_inset Text
2939
2940 \begin_layout Standard
2941 111
2942 \end_layout
2943
2944 \end_inset
2945 </cell>
2946 </row>
2947 <row>
2948 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2949 \begin_inset Text
2950
2951 \begin_layout Standard
2952
2953 \series bold
2954 Focarelli
2955 \end_layout
2956
2957 \end_inset
2958 </cell>
2959 <cell alignment="center" valignment="top" topline="true" usebox="none">
2960 \begin_inset Text
2961
2962 \begin_layout Standard
2963 Paola
2964 \end_layout
2965
2966 \end_inset
2967 </cell>
2968 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2969 \begin_inset Text
2970
2971 \begin_layout Standard
2972 111
2973 \end_layout
2974
2975 \end_inset
2976 </cell>
2977 </row>
2978 <row>
2979 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2980 \begin_inset Text
2981
2982 \begin_layout Standard
2983
2984 \series bold
2985 Galletti
2986 \end_layout
2987
2988 \end_inset
2989 </cell>
2990 <cell alignment="center" valignment="top" topline="true" usebox="none">
2991 \begin_inset Text
2992
2993 \begin_layout Standard
2994 Oreste
2995 \end_layout
2996
2997 \end_inset
2998 </cell>
2999 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3000 \begin_inset Text
3001
3002 \begin_layout Standard
3003 111
3004 \end_layout
3005
3006 \end_inset
3007 </cell>
3008 </row>
3009 <row>
3010 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3011 \begin_inset Text
3012
3013 \begin_layout Standard
3014
3015 \series bold
3016 Gasparini
3017 \end_layout
3018
3019 \end_inset
3020 </cell>
3021 <cell alignment="center" valignment="top" topline="true" usebox="none">
3022 \begin_inset Text
3023
3024 \begin_layout Standard
3025 Franca
3026 \end_layout
3027
3028 \end_inset
3029 </cell>
3030 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3031 \begin_inset Text
3032
3033 \begin_layout Standard
3034 111
3035 \end_layout
3036
3037 \end_inset
3038 </cell>
3039 </row>
3040 <row>
3041 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3042 \begin_inset Text
3043
3044 \begin_layout Standard
3045
3046 \series bold
3047 Rizzardi
3048 \end_layout
3049
3050 \end_inset
3051 </cell>
3052 <cell alignment="center" valignment="top" topline="true" usebox="none">
3053 \begin_inset Text
3054
3055 \begin_layout Standard
3056 Paola
3057 \end_layout
3058
3059 \end_inset
3060 </cell>
3061 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3062 \begin_inset Text
3063
3064 \begin_layout Standard
3065 111
3066 \end_layout
3067
3068 \end_inset
3069 </cell>
3070 </row>
3071 <row>
3072 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3073 \begin_inset Text
3074
3075 \begin_layout Standard
3076
3077 \series bold
3078 Lassini
3079 \end_layout
3080
3081 \end_inset
3082 </cell>
3083 <cell alignment="center" valignment="top" topline="true" usebox="none">
3084 \begin_inset Text
3085
3086 \begin_layout Standard
3087 Giancarlo
3088 \end_layout
3089
3090 \end_inset
3091 </cell>
3092 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3093 \begin_inset Text
3094
3095 \begin_layout Standard
3096 111
3097 \end_layout
3098
3099 \end_inset
3100 </cell>
3101 </row>
3102 <row>
3103 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3104 \begin_inset Text
3105
3106 \begin_layout Standard
3107
3108 \series bold
3109 Malfatti
3110 \end_layout
3111
3112 \end_inset
3113 </cell>
3114 <cell alignment="center" valignment="top" topline="true" usebox="none">
3115 \begin_inset Text
3116
3117 \begin_layout Standard
3118 Luciano
3119 \end_layout
3120
3121 \end_inset
3122 </cell>
3123 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3124 \begin_inset Text
3125
3126 \begin_layout Standard
3127 111
3128 \end_layout
3129
3130 \end_inset
3131 </cell>
3132 </row>
3133 <row>
3134 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3135 \begin_inset Text
3136
3137 \begin_layout Standard
3138
3139 \series bold
3140 Malfatti
3141 \end_layout
3142
3143 \end_inset
3144 </cell>
3145 <cell alignment="center" valignment="top" topline="true" usebox="none">
3146 \begin_inset Text
3147
3148 \begin_layout Standard
3149 Valeriano
3150 \end_layout
3151
3152 \end_inset
3153 </cell>
3154 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3155 \begin_inset Text
3156
3157 \begin_layout Standard
3158 111
3159 \end_layout
3160
3161 \end_inset
3162 </cell>
3163 </row>
3164 <row>
3165 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3166 \begin_inset Text
3167
3168 \begin_layout Standard
3169
3170 \series bold
3171 Meneguzzo
3172 \end_layout
3173
3174 \end_inset
3175 </cell>
3176 <cell alignment="center" valignment="top" topline="true" usebox="none">
3177 \begin_inset Text
3178
3179 \begin_layout Standard
3180 Roberto
3181 \end_layout
3182
3183 \end_inset
3184 </cell>
3185 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3186 \begin_inset Text
3187
3188 \begin_layout Standard
3189 111
3190 \end_layout
3191
3192 \end_inset
3193 </cell>
3194 </row>
3195 <row>
3196 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3197 \begin_inset Text
3198
3199 \begin_layout Standard
3200
3201 \series bold
3202 Mezzadra
3203 \end_layout
3204
3205 \end_inset
3206 </cell>
3207 <cell alignment="center" valignment="top" topline="true" usebox="none">
3208 \begin_inset Text
3209
3210 \begin_layout Standard
3211 Roberto
3212 \end_layout
3213
3214 \end_inset
3215 </cell>
3216 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3217 \begin_inset Text
3218
3219 \begin_layout Standard
3220 111
3221 \end_layout
3222
3223 \end_inset
3224 </cell>
3225 </row>
3226 <row>
3227 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3228 \begin_inset Text
3229
3230 \begin_layout Standard
3231
3232 \series bold
3233 Pirpamer
3234 \end_layout
3235
3236 \end_inset
3237 </cell>
3238 <cell alignment="center" valignment="top" topline="true" usebox="none">
3239 \begin_inset Text
3240
3241 \begin_layout Standard
3242 Erich
3243 \end_layout
3244
3245 \end_inset
3246 </cell>
3247 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3248 \begin_inset Text
3249
3250 \begin_layout Standard
3251 111
3252 \end_layout
3253
3254 \end_inset
3255 </cell>
3256 </row>
3257 <row>
3258 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3259 \begin_inset Text
3260
3261 \begin_layout Standard
3262
3263 \series bold
3264 Pochiesa
3265 \end_layout
3266
3267 \end_inset
3268 </cell>
3269 <cell alignment="center" valignment="top" topline="true" usebox="none">
3270 \begin_inset Text
3271
3272 \begin_layout Standard
3273 Paolo
3274 \end_layout
3275
3276 \end_inset
3277 </cell>
3278 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3279 \begin_inset Text
3280
3281 \begin_layout Standard
3282 111, 222
3283 \end_layout
3284
3285 \end_inset
3286 </cell>
3287 </row>
3288 <row>
3289 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3290 \begin_inset Text
3291
3292 \begin_layout Standard
3293
3294 \series bold
3295 Radina
3296 \end_layout
3297
3298 \end_inset
3299 </cell>
3300 <cell alignment="center" valignment="top" topline="true" usebox="none">
3301 \begin_inset Text
3302
3303 \begin_layout Standard
3304 Claudio
3305 \end_layout
3306
3307 \end_inset
3308 </cell>
3309 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3310 \begin_inset Text
3311
3312 \begin_layout Standard
3313 111
3314 \end_layout
3315
3316 \end_inset
3317 </cell>
3318 </row>
3319 <row>
3320 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3321 \begin_inset Text
3322
3323 \begin_layout Standard
3324
3325 \series bold
3326 Stuffer
3327 \end_layout
3328
3329 \end_inset
3330 </cell>
3331 <cell alignment="center" valignment="top" topline="true" usebox="none">
3332 \begin_inset Text
3333
3334 \begin_layout Standard
3335 Oskar
3336 \end_layout
3337
3338 \end_inset
3339 </cell>
3340 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3341 \begin_inset Text
3342
3343 \begin_layout Standard
3344 111
3345 \end_layout
3346
3347 \end_inset
3348 </cell>
3349 </row>
3350 <row>
3351 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3352 \begin_inset Text
3353
3354 \begin_layout Standard
3355
3356 \series bold
3357 Tacchelli
3358 \end_layout
3359
3360 \end_inset
3361 </cell>
3362 <cell alignment="center" valignment="top" topline="true" usebox="none">
3363 \begin_inset Text
3364
3365 \begin_layout Standard
3366 Ugo
3367 \end_layout
3368
3369 \end_inset
3370 </cell>
3371 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3372 \begin_inset Text
3373
3374 \begin_layout Standard
3375 111
3376 \end_layout
3377
3378 \end_inset
3379 </cell>
3380 </row>
3381 <row>
3382 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3383 \begin_inset Text
3384
3385 \begin_layout Standard
3386
3387 \series bold
3388 Tezzele
3389 \end_layout
3390
3391 \end_inset
3392 </cell>
3393 <cell alignment="center" valignment="top" topline="true" usebox="none">
3394 \begin_inset Text
3395
3396 \begin_layout Standard
3397 Margit
3398 \end_layout
3399
3400 \end_inset
3401 </cell>
3402 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3403 \begin_inset Text
3404
3405 \begin_layout Standard
3406 111
3407 \end_layout
3408
3409 \end_inset
3410 </cell>
3411 </row>
3412 <row>
3413 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3414 \begin_inset Text
3415
3416 \begin_layout Standard
3417
3418 \series bold
3419 Unterkalmsteiner
3420 \end_layout
3421
3422 \end_inset
3423 </cell>
3424 <cell alignment="center" valignment="top" topline="true" usebox="none">
3425 \begin_inset Text
3426
3427 \begin_layout Standard
3428 Frieda
3429 \end_layout
3430
3431 \end_inset
3432 </cell>
3433 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3434 \begin_inset Text
3435
3436 \begin_layout Standard
3437 111
3438 \end_layout
3439
3440 \end_inset
3441 </cell>
3442 </row>
3443 <row>
3444 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3445 \begin_inset Text
3446
3447 \begin_layout Standard
3448
3449 \series bold
3450 Vieider
3451 \end_layout
3452
3453 \end_inset
3454 </cell>
3455 <cell alignment="center" valignment="top" topline="true" usebox="none">
3456 \begin_inset Text
3457
3458 \begin_layout Standard
3459 Hilde
3460 \end_layout
3461
3462 \end_inset
3463 </cell>
3464 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3465 \begin_inset Text
3466
3467 \begin_layout Standard
3468 111
3469 \end_layout
3470
3471 \end_inset
3472 </cell>
3473 </row>
3474 <row>
3475 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3476 \begin_inset Text
3477
3478 \begin_layout Standard
3479
3480 \series bold
3481 Vigna
3482 \end_layout
3483
3484 \end_inset
3485 </cell>
3486 <cell alignment="center" valignment="top" topline="true" usebox="none">
3487 \begin_inset Text
3488
3489 \begin_layout Standard
3490 Jürgen
3491 \end_layout
3492
3493 \end_inset
3494 </cell>
3495 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3496 \begin_inset Text
3497
3498 \begin_layout Standard
3499 111
3500 \end_layout
3501
3502 \end_inset
3503 </cell>
3504 </row>
3505 <row>
3506 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3507 \begin_inset Text
3508
3509 \begin_layout Standard
3510
3511 \series bold
3512 Weber
3513 \end_layout
3514
3515 \end_inset
3516 </cell>
3517 <cell alignment="center" valignment="top" topline="true" usebox="none">
3518 \begin_inset Text
3519
3520 \begin_layout Standard
3521 Maurizio
3522 \end_layout
3523
3524 \end_inset
3525 </cell>
3526 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3527 \begin_inset Text
3528
3529 \begin_layout Standard
3530 111
3531 \end_layout
3532
3533 \end_inset
3534 </cell>
3535 </row>
3536 <row bottomline="true">
3537 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3538 \begin_inset Text
3539
3540 \begin_layout Standard
3541
3542 \series bold
3543 Winkler
3544 \end_layout
3545
3546 \end_inset
3547 </cell>
3548 <cell alignment="center" valignment="top" topline="true" usebox="none">
3549 \begin_inset Text
3550
3551 \begin_layout Standard
3552 Franz
3553 \end_layout
3554
3555 \end_inset
3556 </cell>
3557 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3558 \begin_inset Text
3559
3560 \begin_layout Standard
3561 111
3562 \end_layout
3563
3564 \end_inset
3565 </cell>
3566 </row>
3567 <row bottomline="true">
3568 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3569 \begin_inset Text
3570
3571 \begin_layout Standard
3572  
3573 \end_layout
3574
3575 \end_inset
3576 </cell>
3577 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
3578 \begin_inset Text
3579
3580 \begin_layout Standard
3581
3582 \end_layout
3583
3584 \end_inset
3585 </cell>
3586 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3587 \begin_inset Text
3588
3589 \begin_layout Standard
3590
3591 \end_layout
3592
3593 \end_inset
3594 </cell>
3595 </row>
3596 <row>
3597 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3598 \begin_inset Text
3599
3600 \begin_layout Standard
3601
3602 \series bold
3603 Annovi
3604 \end_layout
3605
3606 \end_inset
3607 </cell>
3608 <cell alignment="center" valignment="top" topline="true" usebox="none">
3609 \begin_inset Text
3610
3611 \begin_layout Standard
3612 Silvia
3613 \end_layout
3614
3615 \end_inset
3616 </cell>
3617 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3618 \begin_inset Text
3619
3620 \begin_layout Standard
3621 555
3622 \end_layout
3623
3624 \end_inset
3625 </cell>
3626 </row>
3627 <row>
3628 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3629 \begin_inset Text
3630
3631 \begin_layout Standard
3632
3633 \series bold
3634 Bertoli
3635 \end_layout
3636
3637 \end_inset
3638 </cell>
3639 <cell alignment="center" valignment="top" topline="true" usebox="none">
3640 \begin_inset Text
3641
3642 \begin_layout Standard
3643 Stefano
3644 \end_layout
3645
3646 \end_inset
3647 </cell>
3648 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3649 \begin_inset Text
3650
3651 \begin_layout Standard
3652 555
3653 \end_layout
3654
3655 \end_inset
3656 </cell>
3657 </row>
3658 <row>
3659 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3660 \begin_inset Text
3661
3662 \begin_layout Standard
3663
3664 \series bold
3665 Bozzi
3666 \end_layout
3667
3668 \end_inset
3669 </cell>
3670 <cell alignment="center" valignment="top" topline="true" usebox="none">
3671 \begin_inset Text
3672
3673 \begin_layout Standard
3674 Walter
3675 \end_layout
3676
3677 \end_inset
3678 </cell>
3679 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3680 \begin_inset Text
3681
3682 \begin_layout Standard
3683 555
3684 \end_layout
3685
3686 \end_inset
3687 </cell>
3688 </row>
3689 <row>
3690 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3691 \begin_inset Text
3692
3693 \begin_layout Standard
3694
3695 \series bold
3696 Cachia
3697 \end_layout
3698
3699 \end_inset
3700 </cell>
3701 <cell alignment="center" valignment="top" topline="true" usebox="none">
3702 \begin_inset Text
3703
3704 \begin_layout Standard
3705 Maria
3706 \end_layout
3707
3708 \end_inset
3709 </cell>
3710 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3711 \begin_inset Text
3712
3713 \begin_layout Standard
3714 555
3715 \end_layout
3716
3717 \end_inset
3718 </cell>
3719 </row>
3720 <row>
3721 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3722 \begin_inset Text
3723
3724 \begin_layout Standard
3725
3726 \series bold
3727 Cachia
3728 \end_layout
3729
3730 \end_inset
3731 </cell>
3732 <cell alignment="center" valignment="top" topline="true" usebox="none">
3733 \begin_inset Text
3734
3735 \begin_layout Standard
3736 Maurizio
3737 \end_layout
3738
3739 \end_inset
3740 </cell>
3741 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3742 \begin_inset Text
3743
3744 \begin_layout Standard
3745 555
3746 \end_layout
3747
3748 \end_inset
3749 </cell>
3750 </row>
3751 <row>
3752 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3753 \begin_inset Text
3754
3755 \begin_layout Standard
3756
3757 \series bold
3758 Cinquemani
3759 \end_layout
3760
3761 \end_inset
3762 </cell>
3763 <cell alignment="center" valignment="top" topline="true" usebox="none">
3764 \begin_inset Text
3765
3766 \begin_layout Standard
3767 Giusi
3768 \end_layout
3769
3770 \end_inset
3771 </cell>
3772 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3773 \begin_inset Text
3774
3775 \begin_layout Standard
3776 555
3777 \end_layout
3778
3779 \end_inset
3780 </cell>
3781 </row>
3782 <row>
3783 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3784 \begin_inset Text
3785
3786 \begin_layout Standard
3787
3788 \series bold
3789 Colin
3790 \end_layout
3791
3792 \end_inset
3793 </cell>
3794 <cell alignment="center" valignment="top" topline="true" usebox="none">
3795 \begin_inset Text
3796
3797 \begin_layout Standard
3798 Bernard
3799 \end_layout
3800
3801 \end_inset
3802 </cell>
3803 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3804 \begin_inset Text
3805
3806 \begin_layout Standard
3807 555
3808 \end_layout
3809
3810 \end_inset
3811 </cell>
3812 </row>
3813 <row>
3814 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3815 \begin_inset Text
3816
3817 \begin_layout Standard
3818
3819 \series bold
3820 Concli
3821 \end_layout
3822
3823 \end_inset
3824 </cell>
3825 <cell alignment="center" valignment="top" topline="true" usebox="none">
3826 \begin_inset Text
3827
3828 \begin_layout Standard
3829 Gianfranco
3830 \end_layout
3831
3832 \end_inset
3833 </cell>
3834 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3835 \begin_inset Text
3836
3837 \begin_layout Standard
3838 555
3839 \end_layout
3840
3841 \end_inset
3842 </cell>
3843 </row>
3844 <row>
3845 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3846 \begin_inset Text
3847
3848 \begin_layout Standard
3849
3850 \series bold
3851 Dal Bosco
3852 \end_layout
3853
3854 \end_inset
3855 </cell>
3856 <cell alignment="center" valignment="top" topline="true" usebox="none">
3857 \begin_inset Text
3858
3859 \begin_layout Standard
3860 Carolina
3861 \end_layout
3862
3863 \end_inset
3864 </cell>
3865 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3866 \begin_inset Text
3867
3868 \begin_layout Standard
3869 555
3870 \end_layout
3871
3872 \end_inset
3873 </cell>
3874 </row>
3875 <row>
3876 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3877 \begin_inset Text
3878
3879 \begin_layout Standard
3880
3881 \series bold
3882 Dalpiaz
3883 \end_layout
3884
3885 \end_inset
3886 </cell>
3887 <cell alignment="center" valignment="top" topline="true" usebox="none">
3888 \begin_inset Text
3889
3890 \begin_layout Standard
3891 Annamaria
3892 \end_layout
3893
3894 \end_inset
3895 </cell>
3896 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3897 \begin_inset Text
3898
3899 \begin_layout Standard
3900 555
3901 \end_layout
3902
3903 \end_inset
3904 </cell>
3905 </row>
3906 <row>
3907 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3908 \begin_inset Text
3909
3910 \begin_layout Standard
3911
3912 \series bold
3913 Feliciello
3914 \end_layout
3915
3916 \end_inset
3917 </cell>
3918 <cell alignment="center" valignment="top" topline="true" usebox="none">
3919 \begin_inset Text
3920
3921 \begin_layout Standard
3922 Domenico
3923 \end_layout
3924
3925 \end_inset
3926 </cell>
3927 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3928 \begin_inset Text
3929
3930 \begin_layout Standard
3931 555
3932 \end_layout
3933
3934 \end_inset
3935 </cell>
3936 </row>
3937 <row>
3938 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3939 \begin_inset Text
3940
3941 \begin_layout Standard
3942
3943 \series bold
3944 Focarelli
3945 \end_layout
3946
3947 \end_inset
3948 </cell>
3949 <cell alignment="center" valignment="top" topline="true" usebox="none">
3950 \begin_inset Text
3951
3952 \begin_layout Standard
3953 Paola
3954 \end_layout
3955
3956 \end_inset
3957 </cell>
3958 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3959 \begin_inset Text
3960
3961 \begin_layout Standard
3962 555
3963 \end_layout
3964
3965 \end_inset
3966 </cell>
3967 </row>
3968 <row>
3969 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3970 \begin_inset Text
3971
3972 \begin_layout Standard
3973
3974 \series bold
3975 Galletti
3976 \end_layout
3977
3978 \end_inset
3979 </cell>
3980 <cell alignment="center" valignment="top" topline="true" usebox="none">
3981 \begin_inset Text
3982
3983 \begin_layout Standard
3984 Oreste
3985 \end_layout
3986
3987 \end_inset
3988 </cell>
3989 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3990 \begin_inset Text
3991
3992 \begin_layout Standard
3993 555
3994 \end_layout
3995
3996 \end_inset
3997 </cell>
3998 </row>
3999 <row>
4000 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4001 \begin_inset Text
4002
4003 \begin_layout Standard
4004
4005 \series bold
4006 Gasparini
4007 \end_layout
4008
4009 \end_inset
4010 </cell>
4011 <cell alignment="center" valignment="top" topline="true" usebox="none">
4012 \begin_inset Text
4013
4014 \begin_layout Standard
4015 Franca
4016 \end_layout
4017
4018 \end_inset
4019 </cell>
4020 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4021 \begin_inset Text
4022
4023 \begin_layout Standard
4024 555
4025 \end_layout
4026
4027 \end_inset
4028 </cell>
4029 </row>
4030 <row>
4031 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4032 \begin_inset Text
4033
4034 \begin_layout Standard
4035
4036 \series bold
4037 Rizzardi
4038 \end_layout
4039
4040 \end_inset
4041 </cell>
4042 <cell alignment="center" valignment="top" topline="true" usebox="none">
4043 \begin_inset Text
4044
4045 \begin_layout Standard
4046 Paola
4047 \end_layout
4048
4049 \end_inset
4050 </cell>
4051 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4052 \begin_inset Text
4053
4054 \begin_layout Standard
4055 555
4056 \end_layout
4057
4058 \end_inset
4059 </cell>
4060 </row>
4061 <row>
4062 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4063 \begin_inset Text
4064
4065 \begin_layout Standard
4066
4067 \series bold
4068 Lassini
4069 \end_layout
4070
4071 \end_inset
4072 </cell>
4073 <cell alignment="center" valignment="top" topline="true" usebox="none">
4074 \begin_inset Text
4075
4076 \begin_layout Standard
4077 Giancarlo
4078 \end_layout
4079
4080 \end_inset
4081 </cell>
4082 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4083 \begin_inset Text
4084
4085 \begin_layout Standard
4086 555
4087 \end_layout
4088
4089 \end_inset
4090 </cell>
4091 </row>
4092 <row>
4093 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4094 \begin_inset Text
4095
4096 \begin_layout Standard
4097
4098 \series bold
4099 Malfatti
4100 \end_layout
4101
4102 \end_inset
4103 </cell>
4104 <cell alignment="center" valignment="top" topline="true" usebox="none">
4105 \begin_inset Text
4106
4107 \begin_layout Standard
4108 Luciano
4109 \end_layout
4110
4111 \end_inset
4112 </cell>
4113 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4114 \begin_inset Text
4115
4116 \begin_layout Standard
4117 555
4118 \end_layout
4119
4120 \end_inset
4121 </cell>
4122 </row>
4123 <row>
4124 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4125 \begin_inset Text
4126
4127 \begin_layout Standard
4128
4129 \series bold
4130 Malfatti
4131 \end_layout
4132
4133 \end_inset
4134 </cell>
4135 <cell alignment="center" valignment="top" topline="true" usebox="none">
4136 \begin_inset Text
4137
4138 \begin_layout Standard
4139 Valeriano
4140 \end_layout
4141
4142 \end_inset
4143 </cell>
4144 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4145 \begin_inset Text
4146
4147 \begin_layout Standard
4148 555
4149 \end_layout
4150
4151 \end_inset
4152 </cell>
4153 </row>
4154 <row>
4155 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4156 \begin_inset Text
4157
4158 \begin_layout Standard
4159
4160 \series bold
4161 Meneguzzo
4162 \end_layout
4163
4164 \end_inset
4165 </cell>
4166 <cell alignment="center" valignment="top" topline="true" usebox="none">
4167 \begin_inset Text
4168
4169 \begin_layout Standard
4170 Roberto
4171 \end_layout
4172
4173 \end_inset
4174 </cell>
4175 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4176 \begin_inset Text
4177
4178 \begin_layout Standard
4179 555
4180 \end_layout
4181
4182 \end_inset
4183 </cell>
4184 </row>
4185 <row>
4186 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4187 \begin_inset Text
4188
4189 \begin_layout Standard
4190
4191 \series bold
4192 Mezzadra
4193 \end_layout
4194
4195 \end_inset
4196 </cell>
4197 <cell alignment="center" valignment="top" topline="true" usebox="none">
4198 \begin_inset Text
4199
4200 \begin_layout Standard
4201 Roberto
4202 \end_layout
4203
4204 \end_inset
4205 </cell>
4206 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4207 \begin_inset Text
4208
4209 \begin_layout Standard
4210 555
4211 \end_layout
4212
4213 \end_inset
4214 </cell>
4215 </row>
4216 <row>
4217 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4218 \begin_inset Text
4219
4220 \begin_layout Standard
4221
4222 \series bold
4223 Pirpamer
4224 \end_layout
4225
4226 \end_inset
4227 </cell>
4228 <cell alignment="center" valignment="top" topline="true" usebox="none">
4229 \begin_inset Text
4230
4231 \begin_layout Standard
4232 Erich
4233 \end_layout
4234
4235 \end_inset
4236 </cell>
4237 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4238 \begin_inset Text
4239
4240 \begin_layout Standard
4241 555
4242 \end_layout
4243
4244 \end_inset
4245 </cell>
4246 </row>
4247 <row>
4248 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4249 \begin_inset Text
4250
4251 \begin_layout Standard
4252
4253 \series bold
4254 Pochiesa
4255 \end_layout
4256
4257 \end_inset
4258 </cell>
4259 <cell alignment="center" valignment="top" topline="true" usebox="none">
4260 \begin_inset Text
4261
4262 \begin_layout Standard
4263 Paolo
4264 \end_layout
4265
4266 \end_inset
4267 </cell>
4268 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4269 \begin_inset Text
4270
4271 \begin_layout Standard
4272 555, 222
4273 \end_layout
4274
4275 \end_inset
4276 </cell>
4277 </row>
4278 <row>
4279 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4280 \begin_inset Text
4281
4282 \begin_layout Standard
4283
4284 \series bold
4285 Radina
4286 \end_layout
4287
4288 \end_inset
4289 </cell>
4290 <cell alignment="center" valignment="top" topline="true" usebox="none">
4291 \begin_inset Text
4292
4293 \begin_layout Standard
4294 Claudio
4295 \end_layout
4296
4297 \end_inset
4298 </cell>
4299 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4300 \begin_inset Text
4301
4302 \begin_layout Standard
4303 555
4304 \end_layout
4305
4306 \end_inset
4307 </cell>
4308 </row>
4309 <row>
4310 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4311 \begin_inset Text
4312
4313 \begin_layout Standard
4314
4315 \series bold
4316 Stuffer
4317 \end_layout
4318
4319 \end_inset
4320 </cell>
4321 <cell alignment="center" valignment="top" topline="true" usebox="none">
4322 \begin_inset Text
4323
4324 \begin_layout Standard
4325 Oskar
4326 \end_layout
4327
4328 \end_inset
4329 </cell>
4330 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4331 \begin_inset Text
4332
4333 \begin_layout Standard
4334 555
4335 \end_layout
4336
4337 \end_inset
4338 </cell>
4339 </row>
4340 <row>
4341 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4342 \begin_inset Text
4343
4344 \begin_layout Standard
4345
4346 \series bold
4347 Tacchelli
4348 \end_layout
4349
4350 \end_inset
4351 </cell>
4352 <cell alignment="center" valignment="top" topline="true" usebox="none">
4353 \begin_inset Text
4354
4355 \begin_layout Standard
4356 Ugo
4357 \end_layout
4358
4359 \end_inset
4360 </cell>
4361 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4362 \begin_inset Text
4363
4364 \begin_layout Standard
4365 555
4366 \end_layout
4367
4368 \end_inset
4369 </cell>
4370 </row>
4371 <row>
4372 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4373 \begin_inset Text
4374
4375 \begin_layout Standard
4376
4377 \series bold
4378 Tezzele
4379 \end_layout
4380
4381 \end_inset
4382 </cell>
4383 <cell alignment="center" valignment="top" topline="true" usebox="none">
4384 \begin_inset Text
4385
4386 \begin_layout Standard
4387 Margit
4388 \end_layout
4389
4390 \end_inset
4391 </cell>
4392 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4393 \begin_inset Text
4394
4395 \begin_layout Standard
4396 555
4397 \end_layout
4398
4399 \end_inset
4400 </cell>
4401 </row>
4402 <row>
4403 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4404 \begin_inset Text
4405
4406 \begin_layout Standard
4407
4408 \series bold
4409 Unterkalmsteiner
4410 \end_layout
4411
4412 \end_inset
4413 </cell>
4414 <cell alignment="center" valignment="top" topline="true" usebox="none">
4415 \begin_inset Text
4416
4417 \begin_layout Standard
4418 Frieda
4419 \end_layout
4420
4421 \end_inset
4422 </cell>
4423 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4424 \begin_inset Text
4425
4426 \begin_layout Standard
4427 555
4428 \end_layout
4429
4430 \end_inset
4431 </cell>
4432 </row>
4433 <row>
4434 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4435 \begin_inset Text
4436
4437 \begin_layout Standard
4438
4439 \series bold
4440 Vieider
4441 \end_layout
4442
4443 \end_inset
4444 </cell>
4445 <cell alignment="center" valignment="top" topline="true" usebox="none">
4446 \begin_inset Text
4447
4448 \begin_layout Standard
4449 Hilde
4450 \end_layout
4451
4452 \end_inset
4453 </cell>
4454 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4455 \begin_inset Text
4456
4457 \begin_layout Standard
4458 555
4459 \end_layout
4460
4461 \end_inset
4462 </cell>
4463 </row>
4464 <row>
4465 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4466 \begin_inset Text
4467
4468 \begin_layout Standard
4469
4470 \series bold
4471 Vigna
4472 \end_layout
4473
4474 \end_inset
4475 </cell>
4476 <cell alignment="center" valignment="top" topline="true" usebox="none">
4477 \begin_inset Text
4478
4479 \begin_layout Standard
4480 Jürgen
4481 \end_layout
4482
4483 \end_inset
4484 </cell>
4485 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4486 \begin_inset Text
4487
4488 \begin_layout Standard
4489 999
4490 \end_layout
4491
4492 \end_inset
4493 </cell>
4494 </row>
4495 <row>
4496 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4497 \begin_inset Text
4498
4499 \begin_layout Standard
4500
4501 \series bold
4502 Weber
4503 \end_layout
4504
4505 \end_inset
4506 </cell>
4507 <cell alignment="center" valignment="top" topline="true" usebox="none">
4508 \begin_inset Text
4509
4510 \begin_layout Standard
4511 Maurizio
4512 \end_layout
4513
4514 \end_inset
4515 </cell>
4516 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4517 \begin_inset Text
4518
4519 \begin_layout Standard
4520 555
4521 \end_layout
4522
4523 \end_inset
4524 </cell>
4525 </row>
4526 <row bottomline="true">
4527 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4528 \begin_inset Text
4529
4530 \begin_layout Standard
4531
4532 \series bold
4533 Winkler
4534 \end_layout
4535
4536 \end_inset
4537 </cell>
4538 <cell alignment="center" valignment="top" topline="true" usebox="none">
4539 \begin_inset Text
4540
4541 \begin_layout Standard
4542 Franz
4543 \end_layout
4544
4545 \end_inset
4546 </cell>
4547 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4548 \begin_inset Text
4549
4550 \begin_layout Standard
4551 555
4552 \end_layout
4553
4554 \end_inset
4555 </cell>
4556 </row>
4557 <row bottomline="true" endlastfoot="true">
4558 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
4559 \begin_inset Text
4560
4561 \begin_layout Standard
4562 end
4563 \end_layout
4564
4565 \end_inset
4566 </cell>
4567 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
4568 \begin_inset Text
4569
4570 \begin_layout Standard
4571
4572 \end_layout
4573
4574 \end_inset
4575 </cell>
4576 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4577 \begin_inset Text
4578
4579 \begin_layout Standard
4580
4581 \end_layout
4582
4583 \end_inset
4584 </cell>
4585 </row>
4586 </lyxtabular>
4587
4588 \end_inset
4589
4590
4591 \begin_inset ERT
4592 status collapsed
4593
4594 \begin_layout Standard
4595
4596
4597 \backslash
4598 addtocounter{table}{-1}
4599 \end_layout
4600
4601 \end_inset
4602
4603
4604 \begin_inset Note Note
4605 status collapsed
4606
4607 \begin_layout Standard
4608 See greyed-out note in section 2.6.2 for an explanation of this command.
4609 \end_layout
4610
4611 \end_inset
4612
4613
4614 \end_layout
4615
4616 \begin_layout Subsection
4617 Footnotes in Longtables
4618 \begin_inset LatexCommand label
4619 name "sub:Footnotes-in-Longtables"
4620
4621 \end_inset
4622
4623
4624 \begin_inset LatexCommand index
4625 name "Longtables ! Footnotes"
4626
4627 \end_inset
4628
4629
4630 \end_layout
4631
4632 \begin_layout Standard
4633 Footnotes can be inserted to every longtable cell.
4634  They appear at the bottom of the page where the table cell with the footnote
4635  appears.
4636  Table\InsetSpace ~
4637
4638 \begin_inset LatexCommand ref
4639 reference "tab:DiffCaptions"
4640
4641 \end_inset
4642
4643  has for example a footnote.
4644 \end_layout
4645
4646 \begin_layout Subsection
4647 Longtable Captions
4648 \begin_inset LatexCommand index
4649 name "Longtables ! Captions"
4650
4651 \end_inset
4652
4653
4654 \end_layout
4655
4656 \begin_layout Standard
4657 A longtable cannot be put into a table float because floats can only be
4658  on one page but the caption environment of floats can also be used for
4659  longtables.
4660 \end_layout
4661
4662 \begin_layout Standard
4663 As LyX does not yet fully support captions in longtables, a hack is needed
4664  to create them:
4665 \end_layout
4666
4667 \begin_layout Enumerate
4668 Create a longtable
4669 \family sans
4670 .
4671 \end_layout
4672
4673 \begin_layout Enumerate
4674 Mark the first row and disable its upper line.
4675 \end_layout
4676
4677 \begin_layout Enumerate
4678 Insert a caption via the menu 
4679 \family sans
4680 Insert\SpecialChar \menuseparator
4681 Caption
4682 \family default
4683  into the first table cell.
4684 \newline
4685 You can also add a short title for the caption.
4686 \end_layout
4687
4688 \begin_layout Enumerate
4689 Insert a 
4690 \begin_inset Quotes eld
4691 \end_inset
4692
4693
4694 \series bold
4695
4696 \backslash
4697
4698 \backslash
4699 %
4700 \series default
4701
4702 \begin_inset Quotes erd
4703 \end_inset
4704
4705  as ERT behind the caption.
4706 \end_layout
4707
4708 \begin_layout Standard
4709 A short title that will appear in the LOT instead of the full title.
4710  The 
4711 \series bold
4712
4713 \backslash
4714
4715 \backslash
4716 %
4717 \series default
4718  behind the caption omits the vertical lines between the following cells
4719  in the row.
4720  The first table row is now only a dummy row for the caption, the actual
4721  table starts with the second row.
4722 \end_layout
4723
4724 \begin_layout Standard
4725 Here is a short longtable to see how it works:
4726 \end_layout
4727
4728 \begin_layout Standard
4729 \begin_inset Tabular
4730 <lyxtabular version="3" rows="6" columns="5">
4731 <features islongtable="true">
4732 <column alignment="center" valignment="top" leftline="true" width="0">
4733 <column alignment="center" valignment="top" leftline="true" width="0">
4734 <column alignment="center" valignment="top" leftline="true" width="0">
4735 <column alignment="center" valignment="top" leftline="true" width="0">
4736 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
4737 <row>
4738 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4739 \begin_inset Text
4740
4741 \begin_layout Standard
4742 \begin_inset Caption
4743
4744 \begin_layout Standard
4745 Longtable with caption
4746 \begin_inset OptArg
4747 status open
4748
4749 \begin_layout Standard
4750 Longtable
4751 \end_layout
4752
4753 \end_inset
4754
4755
4756 \end_layout
4757
4758 \end_inset
4759
4760
4761 \begin_inset ERT
4762 status collapsed
4763
4764 \begin_layout Standard
4765
4766
4767 \backslash
4768
4769 \backslash
4770 %
4771 \end_layout
4772
4773 \end_inset
4774
4775
4776 \end_layout
4777
4778 \end_inset
4779 </cell>
4780 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4781 \begin_inset Text
4782
4783 \begin_layout Standard
4784
4785 \end_layout
4786
4787 \end_inset
4788 </cell>
4789 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4790 \begin_inset Text
4791
4792 \begin_layout Standard
4793
4794 \end_layout
4795
4796 \end_inset
4797 </cell>
4798 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4799 \begin_inset Text
4800
4801 \begin_layout Standard
4802
4803 \end_layout
4804
4805 \end_inset
4806 </cell>
4807 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4808 \begin_inset Text
4809
4810 \begin_layout Standard
4811
4812 \end_layout
4813
4814 \end_inset
4815 </cell>
4816 </row>
4817 <row topline="true">
4818 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4819 \begin_inset Text
4820
4821 \begin_layout Standard
4822 1
4823 \end_layout
4824
4825 \end_inset
4826 </cell>
4827 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4828 \begin_inset Text
4829
4830 \begin_layout Standard
4831 2
4832 \end_layout
4833
4834 \end_inset
4835 </cell>
4836 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4837 \begin_inset Text
4838
4839 \begin_layout Standard
4840 3
4841 \end_layout
4842
4843 \end_inset
4844 </cell>
4845 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4846 \begin_inset Text
4847
4848 \begin_layout Standard
4849 4
4850 \end_layout
4851
4852 \end_inset
4853 </cell>
4854 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4855 \begin_inset Text
4856
4857 \begin_layout Standard
4858 5
4859 \end_layout
4860
4861 \end_inset
4862 </cell>
4863 </row>
4864 <row topline="true">
4865 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4866 \begin_inset Text
4867
4868 \begin_layout Standard
4869 asd
4870 \end_layout
4871
4872 \end_inset
4873 </cell>
4874 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4875 \begin_inset Text
4876
4877 \begin_layout Standard
4878 s
4879 \end_layout
4880
4881 \end_inset
4882 </cell>
4883 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4884 \begin_inset Text
4885
4886 \begin_layout Standard
4887 s
4888 \end_layout
4889
4890 \end_inset
4891 </cell>
4892 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4893 \begin_inset Text
4894
4895 \begin_layout Standard
4896 s
4897 \end_layout
4898
4899 \end_inset
4900 </cell>
4901 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4902 \begin_inset Text
4903
4904 \begin_layout Standard
4905 asd
4906 \end_layout
4907
4908 \end_inset
4909 </cell>
4910 </row>
4911 <row topline="true">
4912 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4913 \begin_inset Text
4914
4915 \begin_layout Standard
4916 asd
4917 \end_layout
4918
4919 \end_inset
4920 </cell>
4921 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4922 \begin_inset Text
4923
4924 \begin_layout Standard
4925 s
4926 \end_layout
4927
4928 \end_inset
4929 </cell>
4930 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4931 \begin_inset Text
4932
4933 \begin_layout Standard
4934 s
4935 \end_layout
4936
4937 \end_inset
4938 </cell>
4939 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4940 \begin_inset Text
4941
4942 \begin_layout Standard
4943 s
4944 \end_layout
4945
4946 \end_inset
4947 </cell>
4948 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4949 \begin_inset Text
4950
4951 \begin_layout Standard
4952 asd
4953 \end_layout
4954
4955 \end_inset
4956 </cell>
4957 </row>
4958 <row topline="true">
4959 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4960 \begin_inset Text
4961
4962 \begin_layout Standard
4963 asd
4964 \end_layout
4965
4966 \end_inset
4967 </cell>
4968 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4969 \begin_inset Text
4970
4971 \begin_layout Standard
4972 s
4973 \end_layout
4974
4975 \end_inset
4976 </cell>
4977 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4978 \begin_inset Text
4979
4980 \begin_layout Standard
4981 s
4982 \end_layout
4983
4984 \end_inset
4985 </cell>
4986 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4987 \begin_inset Text
4988
4989 \begin_layout Standard
4990 s
4991 \end_layout
4992
4993 \end_inset
4994 </cell>
4995 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4996 \begin_inset Text
4997
4998 \begin_layout Standard
4999 asd
5000 \end_layout
5001
5002 \end_inset
5003 </cell>
5004 </row>
5005 <row topline="true" bottomline="true">
5006 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5007 \begin_inset Text
5008
5009 \begin_layout Standard
5010 asd
5011 \end_layout
5012
5013 \end_inset
5014 </cell>
5015 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5016 \begin_inset Text
5017
5018 \begin_layout Standard
5019 asd
5020 \end_layout
5021
5022 \end_inset
5023 </cell>
5024 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5025 \begin_inset Text
5026
5027 \begin_layout Standard
5028 asd
5029 \end_layout
5030
5031 \end_inset
5032 </cell>
5033 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5034 \begin_inset Text
5035
5036 \begin_layout Standard
5037 asd
5038 \end_layout
5039
5040 \end_inset
5041 </cell>
5042 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5043 \begin_inset Text
5044
5045 \begin_layout Standard
5046 asd
5047 \end_layout
5048
5049 \end_inset
5050 </cell>
5051 </row>
5052 </lyxtabular>
5053
5054 \end_inset
5055
5056
5057 \end_layout
5058
5059 \begin_layout Standard
5060 \begin_inset VSpace medskip
5061 \end_inset
5062
5063
5064 \begin_inset Note Greyedout
5065 status open
5066
5067 \begin_layout Standard
5068
5069 \series bold
5070 Note:
5071 \series default
5072  The table number is increased for every longtable, also if you didn't set
5073  a caption for it.
5074  For this reason you could have the case that e.g.
5075  Table\InsetSpace ~
5076 2.4 follows on Table\InsetSpace ~
5077 2.1 in the list of tables if there are two longtables
5078  without captions.
5079  To avoid this you can add the following command in ERT behind every longtable
5080  without a caption:
5081 \end_layout
5082
5083 \begin_layout Standard
5084
5085 \series bold
5086
5087 \backslash
5088 addtocounter{table}{-1}
5089 \end_layout
5090
5091 \end_inset
5092
5093
5094 \end_layout
5095
5096 \begin_layout Standard
5097 \begin_inset Note Greyedout
5098 status open
5099
5100 \begin_layout Standard
5101
5102 \series bold
5103 Note:
5104 \series default
5105  If you are using the LaTeX-package 
5106 \series bold
5107 hyperref
5108 \series default
5109
5110 \begin_inset LatexCommand index
5111 name "LaTeX-packages ! hyperref"
5112
5113 \end_inset
5114
5115  to link cross-references, the link to a longtable caption will always point
5116  to the beginning of the document.
5117 \end_layout
5118
5119 \end_inset
5120
5121
5122 \end_layout
5123
5124 \begin_layout Subsubsection
5125 References to Longtables
5126 \begin_inset LatexCommand index
5127 name "Longtables ! References"
5128
5129 \end_inset
5130
5131
5132 \end_layout
5133
5134 \begin_layout Standard
5135 \begin_inset Tabular
5136 <lyxtabular version="3" rows="6" columns="5">
5137 <features islongtable="true">
5138 <column alignment="center" valignment="top" leftline="true" width="0">
5139 <column alignment="center" valignment="top" leftline="true" width="0">
5140 <column alignment="center" valignment="top" leftline="true" width="0">
5141 <column alignment="center" valignment="top" leftline="true" width="0">
5142 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5143 <row>
5144 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5145 \begin_inset Text
5146
5147 \begin_layout Standard
5148 \begin_inset Caption
5149
5150 \begin_layout Standard
5151 Referenced longtable
5152 \begin_inset LatexCommand label
5153 name "tab:RefExample"
5154
5155 \end_inset
5156
5157
5158 \end_layout
5159
5160 \end_inset
5161
5162
5163 \begin_inset ERT
5164 status collapsed
5165
5166 \begin_layout Standard
5167
5168
5169 \backslash
5170
5171 \backslash
5172 %
5173 \end_layout
5174
5175 \end_inset
5176
5177
5178 \end_layout
5179
5180 \end_inset
5181 </cell>
5182 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5183 \begin_inset Text
5184
5185 \begin_layout Standard
5186
5187 \end_layout
5188
5189 \end_inset
5190 </cell>
5191 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5192 \begin_inset Text
5193
5194 \begin_layout Standard
5195
5196 \end_layout
5197
5198 \end_inset
5199 </cell>
5200 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5201 \begin_inset Text
5202
5203 \begin_layout Standard
5204
5205 \end_layout
5206
5207 \end_inset
5208 </cell>
5209 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5210 \begin_inset Text
5211
5212 \begin_layout Standard
5213
5214 \end_layout
5215
5216 \end_inset
5217 </cell>
5218 </row>
5219 <row topline="true">
5220 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5221 \begin_inset Text
5222
5223 \begin_layout Standard
5224 1
5225 \end_layout
5226
5227 \end_inset
5228 </cell>
5229 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5230 \begin_inset Text
5231
5232 \begin_layout Standard
5233 2
5234 \end_layout
5235
5236 \end_inset
5237 </cell>
5238 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5239 \begin_inset Text
5240
5241 \begin_layout Standard
5242 3
5243 \end_layout
5244
5245 \end_inset
5246 </cell>
5247 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5248 \begin_inset Text
5249
5250 \begin_layout Standard
5251 4
5252 \end_layout
5253
5254 \end_inset
5255 </cell>
5256 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5257 \begin_inset Text
5258
5259 \begin_layout Standard
5260 5
5261 \end_layout
5262
5263 \end_inset
5264 </cell>
5265 </row>
5266 <row topline="true">
5267 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5268 \begin_inset Text
5269
5270 \begin_layout Standard
5271 asd
5272 \end_layout
5273
5274 \end_inset
5275 </cell>
5276 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5277 \begin_inset Text
5278
5279 \begin_layout Standard
5280 s
5281 \end_layout
5282
5283 \end_inset
5284 </cell>
5285 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5286 \begin_inset Text
5287
5288 \begin_layout Standard
5289 s
5290 \end_layout
5291
5292 \end_inset
5293 </cell>
5294 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5295 \begin_inset Text
5296
5297 \begin_layout Standard
5298 s
5299 \end_layout
5300
5301 \end_inset
5302 </cell>
5303 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5304 \begin_inset Text
5305
5306 \begin_layout Standard
5307 asd
5308 \end_layout
5309
5310 \end_inset
5311 </cell>
5312 </row>
5313 <row topline="true">
5314 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5315 \begin_inset Text
5316
5317 \begin_layout Standard
5318 asd
5319 \end_layout
5320
5321 \end_inset
5322 </cell>
5323 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5324 \begin_inset Text
5325
5326 \begin_layout Standard
5327 s
5328 \end_layout
5329
5330 \end_inset
5331 </cell>
5332 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5333 \begin_inset Text
5334
5335 \begin_layout Standard
5336 s
5337 \end_layout
5338
5339 \end_inset
5340 </cell>
5341 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5342 \begin_inset Text
5343
5344 \begin_layout Standard
5345 s
5346 \end_layout
5347
5348 \end_inset
5349 </cell>
5350 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5351 \begin_inset Text
5352
5353 \begin_layout Standard
5354 asd
5355 \end_layout
5356
5357 \end_inset
5358 </cell>
5359 </row>
5360 <row topline="true">
5361 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5362 \begin_inset Text
5363
5364 \begin_layout Standard
5365 asd
5366 \end_layout
5367
5368 \end_inset
5369 </cell>
5370 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5371 \begin_inset Text
5372
5373 \begin_layout Standard
5374 s
5375 \end_layout
5376
5377 \end_inset
5378 </cell>
5379 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5380 \begin_inset Text
5381
5382 \begin_layout Standard
5383 s
5384 \end_layout
5385
5386 \end_inset
5387 </cell>
5388 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5389 \begin_inset Text
5390
5391 \begin_layout Standard
5392 s
5393 \end_layout
5394
5395 \end_inset
5396 </cell>
5397 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5398 \begin_inset Text
5399
5400 \begin_layout Standard
5401 asd
5402 \end_layout
5403
5404 \end_inset
5405 </cell>
5406 </row>
5407 <row topline="true" bottomline="true">
5408 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5409 \begin_inset Text
5410
5411 \begin_layout Standard
5412 asd
5413 \end_layout
5414
5415 \end_inset
5416 </cell>
5417 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5418 \begin_inset Text
5419
5420 \begin_layout Standard
5421 sad
5422 \end_layout
5423
5424 \end_inset
5425 </cell>
5426 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5427 \begin_inset Text
5428
5429 \begin_layout Standard
5430 asd
5431 \end_layout
5432
5433 \end_inset
5434 </cell>
5435 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5436 \begin_inset Text
5437
5438 \begin_layout Standard
5439 asd
5440 \end_layout
5441
5442 \end_inset
5443 </cell>
5444 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5445 \begin_inset Text
5446
5447 \begin_layout Standard
5448 asd
5449 \end_layout
5450
5451 \end_inset
5452 </cell>
5453 </row>
5454 </lyxtabular>
5455
5456 \end_inset
5457
5458
5459 \end_layout
5460
5461 \begin_layout Standard
5462 To reference a longtable, insert a label into the caption.
5463  Note that you have to add the label prefix 
5464 \begin_inset Quotes eld
5465 \end_inset
5466
5467
5468 \emph on
5469 tab:
5470 \emph default
5471
5472 \begin_inset Quotes eld
5473 \end_inset
5474
5475  manually in the label field.
5476 \end_layout
5477
5478 \begin_layout Standard
5479 This is a reference to Table\InsetSpace ~
5480
5481 \begin_inset LatexCommand ref
5482 reference "tab:RefExample"
5483
5484 \end_inset
5485
5486 .
5487 \end_layout
5488
5489 \begin_layout Standard
5490 The caption layout can be set together with all other caption of your document
5491  using the LaTeX-package 
5492 \series bold
5493 caption
5494 \series default
5495
5496 \begin_inset LatexCommand index
5497 name "LaTeX-packages ! caption"
5498
5499 \end_inset
5500
5501 , see section\InsetSpace ~
5502
5503 \begin_inset LatexCommand ref
5504 reference "sec:Caption-Formatting"
5505
5506 \end_inset
5507
5508 .
5509 \end_layout
5510
5511 \begin_layout Subsubsection
5512 Caption Width
5513 \begin_inset LatexCommand index
5514 name "Longtables ! Caption Width"
5515
5516 \end_inset
5517
5518
5519 \end_layout
5520
5521 \begin_layout Standard
5522 The maximal width of of caption lines is defined by the length 
5523 \series bold
5524
5525 \backslash
5526 LTcapwidth
5527 \series default
5528 .
5529  Its default value is 4\InsetSpace \thinspace{}
5530 in.
5531  To change it add the following command to your document preamble or as
5532  ERT into your document before the longtable that should be affected
5533 \end_layout
5534
5535 \begin_layout Standard
5536
5537 \series bold
5538
5539 \backslash
5540 setlength{
5541 \backslash
5542 LTcapwidth}{width}
5543 \end_layout
5544
5545 \begin_layout Standard
5546 where the width could have one of the units listed in appendix\InsetSpace ~
5547
5548 \begin_inset LatexCommand ref
5549 reference "cha:Units-available-in"
5550
5551 \end_inset
5552
5553 .
5554 \end_layout
5555
5556 \begin_layout Standard
5557 The following tables show the difference:
5558 \end_layout
5559
5560 \begin_layout Standard
5561 \begin_inset Tabular
5562 <lyxtabular version="3" rows="6" columns="5">
5563 <features islongtable="true">
5564 <column alignment="center" valignment="top" leftline="true" width="0">
5565 <column alignment="center" valignment="top" leftline="true" width="0">
5566 <column alignment="center" valignment="top" leftline="true" width="0">
5567 <column alignment="center" valignment="top" leftline="true" width="0">
5568 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5569 <row>
5570 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5571 \begin_inset Text
5572
5573 \begin_layout Standard
5574 \begin_inset Caption
5575
5576 \begin_layout Standard
5577 long full title with default width long full title with default width long
5578  full title with default width
5579 \begin_inset OptArg
5580 status collapsed
5581
5582 \begin_layout Standard
5583 caption with default width
5584 \end_layout
5585
5586 \end_inset
5587
5588
5589 \end_layout
5590
5591 \end_inset
5592
5593
5594 \begin_inset ERT
5595 status collapsed
5596
5597 \begin_layout Standard
5598
5599
5600 \backslash
5601
5602 \backslash
5603 %
5604 \end_layout
5605
5606 \end_inset
5607
5608
5609 \end_layout
5610
5611 \end_inset
5612 </cell>
5613 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5614 \begin_inset Text
5615
5616 \begin_layout Standard
5617
5618 \end_layout
5619
5620 \end_inset
5621 </cell>
5622 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5623 \begin_inset Text
5624
5625 \begin_layout Standard
5626
5627 \end_layout
5628
5629 \end_inset
5630 </cell>
5631 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5632 \begin_inset Text
5633
5634 \begin_layout Standard
5635
5636 \end_layout
5637
5638 \end_inset
5639 </cell>
5640 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5641 \begin_inset Text
5642
5643 \begin_layout Standard
5644
5645 \end_layout
5646
5647 \end_inset
5648 </cell>
5649 </row>
5650 <row topline="true">
5651 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5652 \begin_inset Text
5653
5654 \begin_layout Standard
5655 1
5656 \end_layout
5657
5658 \end_inset
5659 </cell>
5660 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5661 \begin_inset Text
5662
5663 \begin_layout Standard
5664 2
5665 \end_layout
5666
5667 \end_inset
5668 </cell>
5669 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5670 \begin_inset Text
5671
5672 \begin_layout Standard
5673 3
5674 \end_layout
5675
5676 \end_inset
5677 </cell>
5678 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5679 \begin_inset Text
5680
5681 \begin_layout Standard
5682 4
5683 \end_layout
5684
5685 \end_inset
5686 </cell>
5687 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5688 \begin_inset Text
5689
5690 \begin_layout Standard
5691 5
5692 \end_layout
5693
5694 \end_inset
5695 </cell>
5696 </row>
5697 <row topline="true">
5698 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5699 \begin_inset Text
5700
5701 \begin_layout Standard
5702 asd
5703 \end_layout
5704
5705 \end_inset
5706 </cell>
5707 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5708 \begin_inset Text
5709
5710 \begin_layout Standard
5711 s
5712 \end_layout
5713
5714 \end_inset
5715 </cell>
5716 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5717 \begin_inset Text
5718
5719 \begin_layout Standard
5720 s
5721 \end_layout
5722
5723 \end_inset
5724 </cell>
5725 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5726 \begin_inset Text
5727
5728 \begin_layout Standard
5729 s
5730 \end_layout
5731
5732 \end_inset
5733 </cell>
5734 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5735 \begin_inset Text
5736
5737 \begin_layout Standard
5738 asd
5739 \end_layout
5740
5741 \end_inset
5742 </cell>
5743 </row>
5744 <row topline="true">
5745 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5746 \begin_inset Text
5747
5748 \begin_layout Standard
5749 asd
5750 \end_layout
5751
5752 \end_inset
5753 </cell>
5754 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5755 \begin_inset Text
5756
5757 \begin_layout Standard
5758 s
5759 \end_layout
5760
5761 \end_inset
5762 </cell>
5763 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5764 \begin_inset Text
5765
5766 \begin_layout Standard
5767 s
5768 \end_layout
5769
5770 \end_inset
5771 </cell>
5772 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5773 \begin_inset Text
5774
5775 \begin_layout Standard
5776 s
5777 \end_layout
5778
5779 \end_inset
5780 </cell>
5781 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5782 \begin_inset Text
5783
5784 \begin_layout Standard
5785 asd
5786 \end_layout
5787
5788 \end_inset
5789 </cell>
5790 </row>
5791 <row topline="true">
5792 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5793 \begin_inset Text
5794
5795 \begin_layout Standard
5796 asd
5797 \end_layout
5798
5799 \end_inset
5800 </cell>
5801 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5802 \begin_inset Text
5803
5804 \begin_layout Standard
5805 s
5806 \end_layout
5807
5808 \end_inset
5809 </cell>
5810 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5811 \begin_inset Text
5812
5813 \begin_layout Standard
5814 s
5815 \end_layout
5816
5817 \end_inset
5818 </cell>
5819 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5820 \begin_inset Text
5821
5822 \begin_layout Standard
5823 s
5824 \end_layout
5825
5826 \end_inset
5827 </cell>
5828 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5829 \begin_inset Text
5830
5831 \begin_layout Standard
5832 asd
5833 \end_layout
5834
5835 \end_inset
5836 </cell>
5837 </row>
5838 <row topline="true" bottomline="true">
5839 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5840 \begin_inset Text
5841
5842 \begin_layout Standard
5843 asd
5844 \end_layout
5845
5846 \end_inset
5847 </cell>
5848 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5849 \begin_inset Text
5850
5851 \begin_layout Standard
5852 sad
5853 \end_layout
5854
5855 \end_inset
5856 </cell>
5857 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5858 \begin_inset Text
5859
5860 \begin_layout Standard
5861 asd
5862 \end_layout
5863
5864 \end_inset
5865 </cell>
5866 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5867 \begin_inset Text
5868
5869 \begin_layout Standard
5870 asd
5871 \end_layout
5872
5873 \end_inset
5874 </cell>
5875 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5876 \begin_inset Text
5877
5878 \begin_layout Standard
5879 asd
5880 \end_layout
5881
5882 \end_inset
5883 </cell>
5884 </row>
5885 </lyxtabular>
5886
5887 \end_inset
5888
5889
5890 \end_layout
5891
5892 \begin_layout Standard
5893 \begin_inset ERT
5894 status collapsed
5895
5896 \begin_layout Standard
5897
5898
5899 \backslash
5900 setlength{
5901 \backslash
5902 LTcapwidth}{5cm}
5903 \end_layout
5904
5905 \end_inset
5906
5907
5908 \begin_inset Tabular
5909 <lyxtabular version="3" rows="6" columns="5">
5910 <features islongtable="true">
5911 <column alignment="center" valignment="top" leftline="true" width="0">
5912 <column alignment="center" valignment="top" leftline="true" width="0">
5913 <column alignment="center" valignment="top" leftline="true" width="0">
5914 <column alignment="center" valignment="top" leftline="true" width="0">
5915 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5916 <row>
5917 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5918 \begin_inset Text
5919
5920 \begin_layout Standard
5921 \begin_inset Caption
5922
5923 \begin_layout Standard
5924 long full title with width set to 5\InsetSpace \thinspace{}
5925 cm long full title with width set to
5926  5\InsetSpace \thinspace{}
5927 cm long full title with width set to 5\InsetSpace \thinspace{}
5928 cm
5929 \begin_inset OptArg
5930 status collapsed
5931
5932 \begin_layout Standard
5933 caption with width\InsetSpace \thinspace{}
5934 =\InsetSpace \thinspace{}
5935 5\InsetSpace \thinspace{}
5936 cm
5937 \end_layout
5938
5939 \end_inset
5940
5941
5942 \end_layout
5943
5944 \end_inset
5945
5946
5947 \begin_inset ERT
5948 status collapsed
5949
5950 \begin_layout Standard
5951
5952
5953 \backslash
5954
5955 \backslash
5956 %
5957 \end_layout
5958
5959 \end_inset
5960
5961
5962 \end_layout
5963
5964 \end_inset
5965 </cell>
5966 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5967 \begin_inset Text
5968
5969 \begin_layout Standard
5970
5971 \end_layout
5972
5973 \end_inset
5974 </cell>
5975 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5976 \begin_inset Text
5977
5978 \begin_layout Standard
5979
5980 \end_layout
5981
5982 \end_inset
5983 </cell>
5984 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5985 \begin_inset Text
5986
5987 \begin_layout Standard
5988
5989 \end_layout
5990
5991 \end_inset
5992 </cell>
5993 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5994 \begin_inset Text
5995
5996 \begin_layout Standard
5997
5998 \end_layout
5999
6000 \end_inset
6001 </cell>
6002 </row>
6003 <row topline="true">
6004 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6005 \begin_inset Text
6006
6007 \begin_layout Standard
6008 1
6009 \end_layout
6010
6011 \end_inset
6012 </cell>
6013 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6014 \begin_inset Text
6015
6016 \begin_layout Standard
6017 2
6018 \end_layout
6019
6020 \end_inset
6021 </cell>
6022 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6023 \begin_inset Text
6024
6025 \begin_layout Standard
6026 3
6027 \end_layout
6028
6029 \end_inset
6030 </cell>
6031 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6032 \begin_inset Text
6033
6034 \begin_layout Standard
6035 4
6036 \end_layout
6037
6038 \end_inset
6039 </cell>
6040 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6041 \begin_inset Text
6042
6043 \begin_layout Standard
6044 5
6045 \end_layout
6046
6047 \end_inset
6048 </cell>
6049 </row>
6050 <row topline="true">
6051 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6052 \begin_inset Text
6053
6054 \begin_layout Standard
6055 asd
6056 \end_layout
6057
6058 \end_inset
6059 </cell>
6060 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6061 \begin_inset Text
6062
6063 \begin_layout Standard
6064 s
6065 \end_layout
6066
6067 \end_inset
6068 </cell>
6069 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6070 \begin_inset Text
6071
6072 \begin_layout Standard
6073 s
6074 \end_layout
6075
6076 \end_inset
6077 </cell>
6078 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6079 \begin_inset Text
6080
6081 \begin_layout Standard
6082 s
6083 \end_layout
6084
6085 \end_inset
6086 </cell>
6087 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6088 \begin_inset Text
6089
6090 \begin_layout Standard
6091 asd
6092 \end_layout
6093
6094 \end_inset
6095 </cell>
6096 </row>
6097 <row topline="true">
6098 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6099 \begin_inset Text
6100
6101 \begin_layout Standard
6102 asd
6103 \end_layout
6104
6105 \end_inset
6106 </cell>
6107 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6108 \begin_inset Text
6109
6110 \begin_layout Standard
6111 s
6112 \end_layout
6113
6114 \end_inset
6115 </cell>
6116 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6117 \begin_inset Text
6118
6119 \begin_layout Standard
6120 s
6121 \end_layout
6122
6123 \end_inset
6124 </cell>
6125 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6126 \begin_inset Text
6127
6128 \begin_layout Standard
6129 s
6130 \end_layout
6131
6132 \end_inset
6133 </cell>
6134 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6135 \begin_inset Text
6136
6137 \begin_layout Standard
6138 asd
6139 \end_layout
6140
6141 \end_inset
6142 </cell>
6143 </row>
6144 <row topline="true">
6145 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6146 \begin_inset Text
6147
6148 \begin_layout Standard
6149 asd
6150 \end_layout
6151
6152 \end_inset
6153 </cell>
6154 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6155 \begin_inset Text
6156
6157 \begin_layout Standard
6158 s
6159 \end_layout
6160
6161 \end_inset
6162 </cell>
6163 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6164 \begin_inset Text
6165
6166 \begin_layout Standard
6167 s
6168 \end_layout
6169
6170 \end_inset
6171 </cell>
6172 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6173 \begin_inset Text
6174
6175 \begin_layout Standard
6176 s
6177 \end_layout
6178
6179 \end_inset
6180 </cell>
6181 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6182 \begin_inset Text
6183
6184 \begin_layout Standard
6185 asd
6186 \end_layout
6187
6188 \end_inset
6189 </cell>
6190 </row>
6191 <row topline="true" bottomline="true">
6192 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6193 \begin_inset Text
6194
6195 \begin_layout Standard
6196 asd
6197 \end_layout
6198
6199 \end_inset
6200 </cell>
6201 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6202 \begin_inset Text
6203
6204 \begin_layout Standard
6205 sad
6206 \end_layout
6207
6208 \end_inset
6209 </cell>
6210 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6211 \begin_inset Text
6212
6213 \begin_layout Standard
6214 asd
6215 \end_layout
6216
6217 \end_inset
6218 </cell>
6219 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6220 \begin_inset Text
6221
6222 \begin_layout Standard
6223 asd
6224 \end_layout
6225
6226 \end_inset
6227 </cell>
6228 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6229 \begin_inset Text
6230
6231 \begin_layout Standard
6232 asd
6233 \end_layout
6234
6235 \end_inset
6236 </cell>
6237 </row>
6238 </lyxtabular>
6239
6240 \end_inset
6241
6242
6243 \end_layout
6244
6245 \begin_layout Standard
6246 \begin_inset ERT
6247 status collapsed
6248
6249 \begin_layout Standard
6250
6251
6252 \backslash
6253 setlength{
6254 \backslash
6255 LTcapwidth}{4in}
6256 \end_layout
6257
6258 \end_inset
6259
6260
6261 \end_layout
6262
6263 \begin_layout Standard
6264 \begin_inset Note Greyedout
6265 status open
6266
6267 \begin_layout Standard
6268
6269 \series bold
6270 Note:
6271 \series default
6272  When the LaTeX-package 
6273 \series bold
6274 caption
6275 \series default
6276
6277 \begin_inset LatexCommand index
6278 name "LaTeX-packages ! caption"
6279
6280 \end_inset
6281
6282  is used, as in this document, the full page width is used for the caption
6283  when you use the default value of 4\InsetSpace \thinspace{}
6284 in for 
6285 \series bold
6286
6287 \backslash
6288 LTcapwidth
6289 \series default
6290 .
6291  To get in this case exactly a 4\InsetSpace \thinspace{}
6292 in wide caption, you can either use a value
6293  slightly different from 4.0\InsetSpace \thinspace{}
6294 in, e.g.
6295  3.99\InsetSpace \thinspace{}
6296 in, or the LaTeX-command 
6297 \series bold
6298
6299 \backslash
6300 captionsetup{width=value}
6301 \series default
6302  that is provided by the 
6303 \series bold
6304 caption
6305 \series default
6306 -package.
6307 \end_layout
6308
6309 \end_inset
6310
6311
6312 \end_layout
6313
6314 \begin_layout Subsubsection
6315 Different Captions for Table Pages
6316 \begin_inset LatexCommand index
6317 name "Longtables ! Different Captions for Pages"
6318
6319 \end_inset
6320
6321
6322 \end_layout
6323
6324 \begin_layout Standard
6325 When the other captions should differ from the one of the first table page,
6326  insert a caption with a non-empty short title in a dummy caption row marked
6327  as first header.
6328  The caption used for the other table pages is inserted as caption without
6329  a short title in a dummy caption row that is marked as main header.
6330  When this caption shouldn't include the table number, use the command
6331 \end_layout
6332
6333 \begin_layout Standard
6334
6335 \series bold
6336
6337 \backslash
6338 caption*{caption text}
6339 \end_layout
6340
6341 \begin_layout Standard
6342 instead of LyX's caption box.
6343  The label to reference the table is inserted into the caption of the first
6344  header.
6345  Table\InsetSpace ~
6346
6347 \begin_inset LatexCommand ref
6348 reference "tab:DiffCaptions"
6349
6350 \end_inset
6351
6352  is an example for a longtable with different heading where the second caption
6353  doesn't include the table number.
6354 \end_layout
6355
6356 \begin_layout Standard
6357 \align center
6358 \begin_inset Tabular
6359 <lyxtabular version="3" rows="60" columns="3">
6360 <features islongtable="true">
6361 <column alignment="left" valignment="top" leftline="true" width="0cm">
6362 <column alignment="left" valignment="top" rightline="true" width="0pt">
6363 <column alignment="right" valignment="top" rightline="true" width="0pt">
6364 <row endfirsthead="true">
6365 <cell alignment="right" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6366 \begin_inset Text
6367
6368 \begin_layout Standard
6369 \begin_inset Caption
6370
6371 \begin_layout Standard
6372 Example Phone List
6373 \begin_inset LatexCommand label
6374 name "tab:DiffCaptions"
6375
6376 \end_inset
6377
6378
6379 \begin_inset OptArg
6380 status collapsed
6381
6382 \begin_layout Standard
6383 Example Phone List
6384 \end_layout
6385
6386 \end_inset
6387
6388
6389 \end_layout
6390
6391 \end_inset
6392
6393
6394 \begin_inset ERT
6395 status collapsed
6396
6397 \begin_layout Standard
6398
6399
6400 \backslash
6401
6402 \backslash
6403 %
6404 \end_layout
6405
6406 \end_inset
6407
6408
6409 \end_layout
6410
6411 \end_inset
6412 </cell>
6413 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6414 \begin_inset Text
6415
6416 \begin_layout Standard
6417
6418 \end_layout
6419
6420 \end_inset
6421 </cell>
6422 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6423 \begin_inset Text
6424
6425 \begin_layout Standard
6426
6427 \end_layout
6428
6429 \end_inset
6430 </cell>
6431 </row>
6432 <row topline="true" bottomline="true" endfirsthead="true">
6433 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6434 \begin_inset Text
6435
6436 \begin_layout Standard
6437
6438 \series bold
6439 Example Phone List (ignore the names)
6440 \end_layout
6441
6442 \end_inset
6443 </cell>
6444 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6445 \begin_inset Text
6446
6447 \begin_layout Standard
6448
6449 \end_layout
6450
6451 \end_inset
6452 </cell>
6453 <cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6454 \begin_inset Text
6455
6456 \begin_layout Standard
6457
6458 \end_layout
6459
6460 \end_inset
6461 </cell>
6462 </row>
6463 <row topline="true" bottomline="true" endfirsthead="true">
6464 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
6465 \begin_inset Text
6466
6467 \begin_layout Standard
6468
6469 \series bold
6470 NAME
6471 \end_layout
6472
6473 \end_inset
6474 </cell>
6475 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6476 \begin_inset Text
6477
6478 \begin_layout Standard
6479
6480 \end_layout
6481
6482 \end_inset
6483 </cell>
6484 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6485 \begin_inset Text
6486
6487 \begin_layout Standard
6488
6489 \series bold
6490 TEL.
6491 \end_layout
6492
6493 \end_inset
6494 </cell>
6495 </row>
6496 <row bottomline="true" endhead="true">
6497 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6498 \begin_inset Text
6499
6500 \begin_layout Standard
6501 \begin_inset ERT
6502 status collapsed
6503
6504 \begin_layout Standard
6505
6506
6507 \backslash
6508 caption*{Continued Example Phone List}
6509 \backslash
6510
6511 \backslash
6512 %
6513 \end_layout
6514
6515 \end_inset
6516
6517
6518 \end_layout
6519
6520 \end_inset
6521 </cell>
6522 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6523 \begin_inset Text
6524
6525 \begin_layout Standard
6526
6527 \end_layout
6528
6529 \end_inset
6530 </cell>
6531 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6532 \begin_inset Text
6533
6534 \begin_layout Standard
6535
6536 \end_layout
6537
6538 \end_inset
6539 </cell>
6540 </row>
6541 <row topline="true" bottomline="true" endhead="true">
6542 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6543 \begin_inset Text
6544
6545 \begin_layout Standard
6546
6547 \series bold
6548 Example Phone List
6549 \end_layout
6550
6551 \end_inset
6552 </cell>
6553 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6554 \begin_inset Text
6555
6556 \begin_layout Standard
6557
6558 \end_layout
6559
6560 \end_inset
6561 </cell>
6562 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6563 \begin_inset Text
6564
6565 \begin_layout Standard
6566
6567 \end_layout
6568
6569 \end_inset
6570 </cell>
6571 </row>
6572 <row topline="true" bottomline="true" endhead="true">
6573 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
6574 \begin_inset Text
6575
6576 \begin_layout Standard
6577
6578 \series bold
6579 NAME
6580 \end_layout
6581
6582 \end_inset
6583 </cell>
6584 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6585 \begin_inset Text
6586
6587 \begin_layout Standard
6588
6589 \end_layout
6590
6591 \end_inset
6592 </cell>
6593 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6594 \begin_inset Text
6595
6596 \begin_layout Standard
6597
6598 \series bold
6599 TEL.
6600 \end_layout
6601
6602 \end_inset
6603 </cell>
6604 </row>
6605 <row topline="true" bottomline="true" endfoot="true">
6606 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
6607 \begin_inset Text
6608
6609 \begin_layout Standard
6610 continued on next page
6611 \end_layout
6612
6613 \end_inset
6614 </cell>
6615 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6616 \begin_inset Text
6617
6618 \begin_layout Standard
6619
6620 \end_layout
6621
6622 \end_inset
6623 </cell>
6624 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6625 \begin_inset Text
6626
6627 \begin_layout Standard
6628
6629 \end_layout
6630
6631 \end_inset
6632 </cell>
6633 </row>
6634 <row>
6635 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6636 \begin_inset Text
6637
6638 \begin_layout Standard
6639
6640 \series bold
6641 Annovi
6642 \end_layout
6643
6644 \end_inset
6645 </cell>
6646 <cell alignment="center" valignment="top" topline="true" usebox="none">
6647 \begin_inset Text
6648
6649 \begin_layout Standard
6650 Silvia
6651 \end_layout
6652
6653 \end_inset
6654 </cell>
6655 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6656 \begin_inset Text
6657
6658 \begin_layout Standard
6659 111
6660 \end_layout
6661
6662 \end_inset
6663 </cell>
6664 </row>
6665 <row>
6666 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6667 \begin_inset Text
6668
6669 \begin_layout Standard
6670
6671 \series bold
6672 Bertoli
6673 \end_layout
6674
6675 \end_inset
6676 </cell>
6677 <cell alignment="center" valignment="top" topline="true" usebox="none">
6678 \begin_inset Text
6679
6680 \begin_layout Standard
6681 Stefano
6682 \end_layout
6683
6684 \end_inset
6685 </cell>
6686 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6687 \begin_inset Text
6688
6689 \begin_layout Standard
6690 111
6691 \end_layout
6692
6693 \end_inset
6694 </cell>
6695 </row>
6696 <row>
6697 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6698 \begin_inset Text
6699
6700 \begin_layout Standard
6701
6702 \series bold
6703 Bozzi
6704 \end_layout
6705
6706 \end_inset
6707 </cell>
6708 <cell alignment="center" valignment="top" topline="true" usebox="none">
6709 \begin_inset Text
6710
6711 \begin_layout Standard
6712 Walter
6713 \end_layout
6714
6715 \end_inset
6716 </cell>
6717 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6718 \begin_inset Text
6719
6720 \begin_layout Standard
6721 111
6722 \end_layout
6723
6724 \end_inset
6725 </cell>
6726 </row>
6727 <row>
6728 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6729 \begin_inset Text
6730
6731 \begin_layout Standard
6732
6733 \series bold
6734 Cachia
6735 \end_layout
6736
6737 \end_inset
6738 </cell>
6739 <cell alignment="center" valignment="top" topline="true" usebox="none">
6740 \begin_inset Text
6741
6742 \begin_layout Standard
6743 Maria
6744 \end_layout
6745
6746 \end_inset
6747 </cell>
6748 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6749 \begin_inset Text
6750
6751 \begin_layout Standard
6752 111
6753 \end_layout
6754
6755 \end_inset
6756 </cell>
6757 </row>
6758 <row>
6759 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6760 \begin_inset Text
6761
6762 \begin_layout Standard
6763
6764 \series bold
6765 Cachia
6766 \end_layout
6767
6768 \end_inset
6769 </cell>
6770 <cell alignment="center" valignment="top" topline="true" usebox="none">
6771 \begin_inset Text
6772
6773 \begin_layout Standard
6774 Maurizio
6775 \end_layout
6776
6777 \end_inset
6778 </cell>
6779 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6780 \begin_inset Text
6781
6782 \begin_layout Standard
6783 111
6784 \end_layout
6785
6786 \end_inset
6787 </cell>
6788 </row>
6789 <row>
6790 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6791 \begin_inset Text
6792
6793 \begin_layout Standard
6794
6795 \series bold
6796 Cinquemani
6797 \end_layout
6798
6799 \end_inset
6800 </cell>
6801 <cell alignment="center" valignment="top" topline="true" usebox="none">
6802 \begin_inset Text
6803
6804 \begin_layout Standard
6805 Giusi
6806 \end_layout
6807
6808 \end_inset
6809 </cell>
6810 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6811 \begin_inset Text
6812
6813 \begin_layout Standard
6814 111
6815 \end_layout
6816
6817 \end_inset
6818 </cell>
6819 </row>
6820 <row>
6821 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6822 \begin_inset Text
6823
6824 \begin_layout Standard
6825
6826 \series bold
6827 Colin
6828 \end_layout
6829
6830 \end_inset
6831 </cell>
6832 <cell alignment="center" valignment="top" topline="true" usebox="none">
6833 \begin_inset Text
6834
6835 \begin_layout Standard
6836 Bernard
6837 \end_layout
6838
6839 \end_inset
6840 </cell>
6841 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6842 \begin_inset Text
6843
6844 \begin_layout Standard
6845 111
6846 \end_layout
6847
6848 \end_inset
6849 </cell>
6850 </row>
6851 <row>
6852 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6853 \begin_inset Text
6854
6855 \begin_layout Standard
6856
6857 \series bold
6858 Concli
6859 \end_layout
6860
6861 \end_inset
6862 </cell>
6863 <cell alignment="center" valignment="top" topline="true" usebox="none">
6864 \begin_inset Text
6865
6866 \begin_layout Standard
6867 Gianfranco
6868 \end_layout
6869
6870 \end_inset
6871 </cell>
6872 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6873 \begin_inset Text
6874
6875 \begin_layout Standard
6876 111
6877 \end_layout
6878
6879 \end_inset
6880 </cell>
6881 </row>
6882 <row>
6883 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6884 \begin_inset Text
6885
6886 \begin_layout Standard
6887
6888 \series bold
6889 Dal Bosco
6890 \end_layout
6891
6892 \end_inset
6893 </cell>
6894 <cell alignment="center" valignment="top" topline="true" usebox="none">
6895 \begin_inset Text
6896
6897 \begin_layout Standard
6898 Carolina
6899 \end_layout
6900
6901 \end_inset
6902 </cell>
6903 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6904 \begin_inset Text
6905
6906 \begin_layout Standard
6907 111
6908 \end_layout
6909
6910 \end_inset
6911 </cell>
6912 </row>
6913 <row>
6914 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6915 \begin_inset Text
6916
6917 \begin_layout Standard
6918
6919 \series bold
6920 Dalpiaz
6921 \end_layout
6922
6923 \end_inset
6924 </cell>
6925 <cell alignment="center" valignment="top" topline="true" usebox="none">
6926 \begin_inset Text
6927
6928 \begin_layout Standard
6929 Annamaria
6930 \end_layout
6931
6932 \end_inset
6933 </cell>
6934 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6935 \begin_inset Text
6936
6937 \begin_layout Standard
6938 111
6939 \end_layout
6940
6941 \end_inset
6942 </cell>
6943 </row>
6944 <row>
6945 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6946 \begin_inset Text
6947
6948 \begin_layout Standard
6949
6950 \series bold
6951 Feliciello
6952 \end_layout
6953
6954 \end_inset
6955 </cell>
6956 <cell alignment="center" valignment="top" topline="true" usebox="none">
6957 \begin_inset Text
6958
6959 \begin_layout Standard
6960 Domenico
6961 \end_layout
6962
6963 \end_inset
6964 </cell>
6965 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6966 \begin_inset Text
6967
6968 \begin_layout Standard
6969 111
6970 \end_layout
6971
6972 \end_inset
6973 </cell>
6974 </row>
6975 <row>
6976 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6977 \begin_inset Text
6978
6979 \begin_layout Standard
6980
6981 \series bold
6982 Focarelli
6983 \end_layout
6984
6985 \end_inset
6986 </cell>
6987 <cell alignment="center" valignment="top" topline="true" usebox="none">
6988 \begin_inset Text
6989
6990 \begin_layout Standard
6991 Paola
6992 \end_layout
6993
6994 \end_inset
6995 </cell>
6996 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6997 \begin_inset Text
6998
6999 \begin_layout Standard
7000 111
7001 \end_layout
7002
7003 \end_inset
7004 </cell>
7005 </row>
7006 <row>
7007 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7008 \begin_inset Text
7009
7010 \begin_layout Standard
7011
7012 \series bold
7013 Galletti
7014 \end_layout
7015
7016 \end_inset
7017 </cell>
7018 <cell alignment="center" valignment="top" topline="true" usebox="none">
7019 \begin_inset Text
7020
7021 \begin_layout Standard
7022 Oreste
7023 \end_layout
7024
7025 \end_inset
7026 </cell>
7027 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7028 \begin_inset Text
7029
7030 \begin_layout Standard
7031 111
7032 \end_layout
7033
7034 \end_inset
7035 </cell>
7036 </row>
7037 <row>
7038 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7039 \begin_inset Text
7040
7041 \begin_layout Standard
7042
7043 \series bold
7044 Gasparini
7045 \end_layout
7046
7047 \end_inset
7048 </cell>
7049 <cell alignment="center" valignment="top" topline="true" usebox="none">
7050 \begin_inset Text
7051
7052 \begin_layout Standard
7053 Franca
7054 \end_layout
7055
7056 \end_inset
7057 </cell>
7058 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7059 \begin_inset Text
7060
7061 \begin_layout Standard
7062 111
7063 \end_layout
7064
7065 \end_inset
7066 </cell>
7067 </row>
7068 <row>
7069 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7070 \begin_inset Text
7071
7072 \begin_layout Standard
7073
7074 \series bold
7075 Rizzardi
7076 \series default
7077
7078 \begin_inset Foot
7079 status collapsed
7080
7081 \begin_layout Standard
7082 Example footnote
7083 \end_layout
7084
7085 \end_inset
7086
7087
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 Paola
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 Lassini
7119 \end_layout
7120
7121 \end_inset
7122 </cell>
7123 <cell alignment="center" valignment="top" topline="true" usebox="none">
7124 \begin_inset Text
7125
7126 \begin_layout Standard
7127 Giancarlo
7128 \end_layout
7129
7130 \end_inset
7131 </cell>
7132 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7133 \begin_inset Text
7134
7135 \begin_layout Standard
7136 111
7137 \end_layout
7138
7139 \end_inset
7140 </cell>
7141 </row>
7142 <row>
7143 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7144 \begin_inset Text
7145
7146 \begin_layout Standard
7147
7148 \series bold
7149 Malfatti
7150 \end_layout
7151
7152 \end_inset
7153 </cell>
7154 <cell alignment="center" valignment="top" topline="true" usebox="none">
7155 \begin_inset Text
7156
7157 \begin_layout Standard
7158 Luciano
7159 \end_layout
7160
7161 \end_inset
7162 </cell>
7163 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7164 \begin_inset Text
7165
7166 \begin_layout Standard
7167 111
7168 \end_layout
7169
7170 \end_inset
7171 </cell>
7172 </row>
7173 <row>
7174 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7175 \begin_inset Text
7176
7177 \begin_layout Standard
7178
7179 \series bold
7180 Malfatti
7181 \end_layout
7182
7183 \end_inset
7184 </cell>
7185 <cell alignment="center" valignment="top" topline="true" usebox="none">
7186 \begin_inset Text
7187
7188 \begin_layout Standard
7189 Valeriano
7190 \end_layout
7191
7192 \end_inset
7193 </cell>
7194 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7195 \begin_inset Text
7196
7197 \begin_layout Standard
7198 111
7199 \end_layout
7200
7201 \end_inset
7202 </cell>
7203 </row>
7204 <row>
7205 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7206 \begin_inset Text
7207
7208 \begin_layout Standard
7209
7210 \series bold
7211 Meneguzzo
7212 \end_layout
7213
7214 \end_inset
7215 </cell>
7216 <cell alignment="center" valignment="top" topline="true" usebox="none">
7217 \begin_inset Text
7218
7219 \begin_layout Standard
7220 Roberto
7221 \end_layout
7222
7223 \end_inset
7224 </cell>
7225 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7226 \begin_inset Text
7227
7228 \begin_layout Standard
7229 111
7230 \end_layout
7231
7232 \end_inset
7233 </cell>
7234 </row>
7235 <row>
7236 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7237 \begin_inset Text
7238
7239 \begin_layout Standard
7240
7241 \series bold
7242 Mezzadra
7243 \end_layout
7244
7245 \end_inset
7246 </cell>
7247 <cell alignment="center" valignment="top" topline="true" usebox="none">
7248 \begin_inset Text
7249
7250 \begin_layout Standard
7251 Roberto
7252 \end_layout
7253
7254 \end_inset
7255 </cell>
7256 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7257 \begin_inset Text
7258
7259 \begin_layout Standard
7260 111
7261 \end_layout
7262
7263 \end_inset
7264 </cell>
7265 </row>
7266 <row>
7267 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7268 \begin_inset Text
7269
7270 \begin_layout Standard
7271
7272 \series bold
7273 Pirpamer
7274 \end_layout
7275
7276 \end_inset
7277 </cell>
7278 <cell alignment="center" valignment="top" topline="true" usebox="none">
7279 \begin_inset Text
7280
7281 \begin_layout Standard
7282 Erich
7283 \end_layout
7284
7285 \end_inset
7286 </cell>
7287 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7288 \begin_inset Text
7289
7290 \begin_layout Standard
7291 111
7292 \end_layout
7293
7294 \end_inset
7295 </cell>
7296 </row>
7297 <row>
7298 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7299 \begin_inset Text
7300
7301 \begin_layout Standard
7302
7303 \series bold
7304 Pochiesa
7305 \end_layout
7306
7307 \end_inset
7308 </cell>
7309 <cell alignment="center" valignment="top" topline="true" usebox="none">
7310 \begin_inset Text
7311
7312 \begin_layout Standard
7313 Paolo
7314 \end_layout
7315
7316 \end_inset
7317 </cell>
7318 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7319 \begin_inset Text
7320
7321 \begin_layout Standard
7322 111, 222
7323 \end_layout
7324
7325 \end_inset
7326 </cell>
7327 </row>
7328 <row>
7329 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7330 \begin_inset Text
7331
7332 \begin_layout Standard
7333
7334 \series bold
7335 Radina
7336 \end_layout
7337
7338 \end_inset
7339 </cell>
7340 <cell alignment="center" valignment="top" topline="true" usebox="none">
7341 \begin_inset Text
7342
7343 \begin_layout Standard
7344 Claudio
7345 \end_layout
7346
7347 \end_inset
7348 </cell>
7349 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7350 \begin_inset Text
7351
7352 \begin_layout Standard
7353 111
7354 \end_layout
7355
7356 \end_inset
7357 </cell>
7358 </row>
7359 <row>
7360 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7361 \begin_inset Text
7362
7363 \begin_layout Standard
7364
7365 \series bold
7366 Stuffer
7367 \end_layout
7368
7369 \end_inset
7370 </cell>
7371 <cell alignment="center" valignment="top" topline="true" usebox="none">
7372 \begin_inset Text
7373
7374 \begin_layout Standard
7375 Oskar
7376 \end_layout
7377
7378 \end_inset
7379 </cell>
7380 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7381 \begin_inset Text
7382
7383 \begin_layout Standard
7384 111
7385 \end_layout
7386
7387 \end_inset
7388 </cell>
7389 </row>
7390 <row>
7391 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7392 \begin_inset Text
7393
7394 \begin_layout Standard
7395
7396 \series bold
7397 Tacchelli
7398 \end_layout
7399
7400 \end_inset
7401 </cell>
7402 <cell alignment="center" valignment="top" topline="true" usebox="none">
7403 \begin_inset Text
7404
7405 \begin_layout Standard
7406 Ugo
7407 \end_layout
7408
7409 \end_inset
7410 </cell>
7411 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7412 \begin_inset Text
7413
7414 \begin_layout Standard
7415 111
7416 \end_layout
7417
7418 \end_inset
7419 </cell>
7420 </row>
7421 <row>
7422 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7423 \begin_inset Text
7424
7425 \begin_layout Standard
7426
7427 \series bold
7428 Tezzele
7429 \end_layout
7430
7431 \end_inset
7432 </cell>
7433 <cell alignment="center" valignment="top" topline="true" usebox="none">
7434 \begin_inset Text
7435
7436 \begin_layout Standard
7437 Margit
7438 \end_layout
7439
7440 \end_inset
7441 </cell>
7442 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7443 \begin_inset Text
7444
7445 \begin_layout Standard
7446 111
7447 \end_layout
7448
7449 \end_inset
7450 </cell>
7451 </row>
7452 <row>
7453 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7454 \begin_inset Text
7455
7456 \begin_layout Standard
7457
7458 \series bold
7459 Unterkalmsteiner
7460 \end_layout
7461
7462 \end_inset
7463 </cell>
7464 <cell alignment="center" valignment="top" topline="true" usebox="none">
7465 \begin_inset Text
7466
7467 \begin_layout Standard
7468 Frieda
7469 \end_layout
7470
7471 \end_inset
7472 </cell>
7473 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7474 \begin_inset Text
7475
7476 \begin_layout Standard
7477 111
7478 \end_layout
7479
7480 \end_inset
7481 </cell>
7482 </row>
7483 <row>
7484 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7485 \begin_inset Text
7486
7487 \begin_layout Standard
7488
7489 \series bold
7490 Vieider
7491 \end_layout
7492
7493 \end_inset
7494 </cell>
7495 <cell alignment="center" valignment="top" topline="true" usebox="none">
7496 \begin_inset Text
7497
7498 \begin_layout Standard
7499 Hilde
7500 \end_layout
7501
7502 \end_inset
7503 </cell>
7504 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7505 \begin_inset Text
7506
7507 \begin_layout Standard
7508 111
7509 \end_layout
7510
7511 \end_inset
7512 </cell>
7513 </row>
7514 <row>
7515 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7516 \begin_inset Text
7517
7518 \begin_layout Standard
7519
7520 \series bold
7521 Vigna
7522 \end_layout
7523
7524 \end_inset
7525 </cell>
7526 <cell alignment="center" valignment="top" topline="true" usebox="none">
7527 \begin_inset Text
7528
7529 \begin_layout Standard
7530 Jürgen
7531 \end_layout
7532
7533 \end_inset
7534 </cell>
7535 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7536 \begin_inset Text
7537
7538 \begin_layout Standard
7539 111
7540 \end_layout
7541
7542 \end_inset
7543 </cell>
7544 </row>
7545 <row>
7546 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7547 \begin_inset Text
7548
7549 \begin_layout Standard
7550
7551 \series bold
7552 Weber
7553 \end_layout
7554
7555 \end_inset
7556 </cell>
7557 <cell alignment="center" valignment="top" topline="true" usebox="none">
7558 \begin_inset Text
7559
7560 \begin_layout Standard
7561 Maurizio
7562 \end_layout
7563
7564 \end_inset
7565 </cell>
7566 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7567 \begin_inset Text
7568
7569 \begin_layout Standard
7570 111
7571 \end_layout
7572
7573 \end_inset
7574 </cell>
7575 </row>
7576 <row bottomline="true">
7577 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7578 \begin_inset Text
7579
7580 \begin_layout Standard
7581
7582 \series bold
7583 Winkler
7584 \end_layout
7585
7586 \end_inset
7587 </cell>
7588 <cell alignment="center" valignment="top" topline="true" usebox="none">
7589 \begin_inset Text
7590
7591 \begin_layout Standard
7592 Franz
7593 \end_layout
7594
7595 \end_inset
7596 </cell>
7597 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7598 \begin_inset Text
7599
7600 \begin_layout Standard
7601 111
7602 \end_layout
7603
7604 \end_inset
7605 </cell>
7606 </row>
7607 <row bottomline="true">
7608 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7609 \begin_inset Text
7610
7611 \begin_layout Standard
7612  
7613 \end_layout
7614
7615 \end_inset
7616 </cell>
7617 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
7618 \begin_inset Text
7619
7620 \begin_layout Standard
7621
7622 \end_layout
7623
7624 \end_inset
7625 </cell>
7626 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7627 \begin_inset Text
7628
7629 \begin_layout Standard
7630
7631 \end_layout
7632
7633 \end_inset
7634 </cell>
7635 </row>
7636 <row>
7637 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7638 \begin_inset Text
7639
7640 \begin_layout Standard
7641
7642 \series bold
7643 Annovi
7644 \end_layout
7645
7646 \end_inset
7647 </cell>
7648 <cell alignment="center" valignment="top" topline="true" usebox="none">
7649 \begin_inset Text
7650
7651 \begin_layout Standard
7652 Silvia
7653 \end_layout
7654
7655 \end_inset
7656 </cell>
7657 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7658 \begin_inset Text
7659
7660 \begin_layout Standard
7661 555
7662 \end_layout
7663
7664 \end_inset
7665 </cell>
7666 </row>
7667 <row>
7668 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7669 \begin_inset Text
7670
7671 \begin_layout Standard
7672
7673 \series bold
7674 Bertoli
7675 \end_layout
7676
7677 \end_inset
7678 </cell>
7679 <cell alignment="center" valignment="top" topline="true" usebox="none">
7680 \begin_inset Text
7681
7682 \begin_layout Standard
7683 Stefano
7684 \end_layout
7685
7686 \end_inset
7687 </cell>
7688 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7689 \begin_inset Text
7690
7691 \begin_layout Standard
7692 555
7693 \end_layout
7694
7695 \end_inset
7696 </cell>
7697 </row>
7698 <row>
7699 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7700 \begin_inset Text
7701
7702 \begin_layout Standard
7703
7704 \series bold
7705 Bozzi
7706 \end_layout
7707
7708 \end_inset
7709 </cell>
7710 <cell alignment="center" valignment="top" topline="true" usebox="none">
7711 \begin_inset Text
7712
7713 \begin_layout Standard
7714 Walter
7715 \end_layout
7716
7717 \end_inset
7718 </cell>
7719 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7720 \begin_inset Text
7721
7722 \begin_layout Standard
7723 555
7724 \end_layout
7725
7726 \end_inset
7727 </cell>
7728 </row>
7729 <row>
7730 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7731 \begin_inset Text
7732
7733 \begin_layout Standard
7734
7735 \series bold
7736 Cachia
7737 \end_layout
7738
7739 \end_inset
7740 </cell>
7741 <cell alignment="center" valignment="top" topline="true" usebox="none">
7742 \begin_inset Text
7743
7744 \begin_layout Standard
7745 Maria
7746 \end_layout
7747
7748 \end_inset
7749 </cell>
7750 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7751 \begin_inset Text
7752
7753 \begin_layout Standard
7754 555
7755 \end_layout
7756
7757 \end_inset
7758 </cell>
7759 </row>
7760 <row>
7761 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7762 \begin_inset Text
7763
7764 \begin_layout Standard
7765
7766 \series bold
7767 Cachia
7768 \end_layout
7769
7770 \end_inset
7771 </cell>
7772 <cell alignment="center" valignment="top" topline="true" usebox="none">
7773 \begin_inset Text
7774
7775 \begin_layout Standard
7776 Maurizio
7777 \end_layout
7778
7779 \end_inset
7780 </cell>
7781 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7782 \begin_inset Text
7783
7784 \begin_layout Standard
7785 555
7786 \end_layout
7787
7788 \end_inset
7789 </cell>
7790 </row>
7791 <row>
7792 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7793 \begin_inset Text
7794
7795 \begin_layout Standard
7796
7797 \series bold
7798 Cinquemani
7799 \end_layout
7800
7801 \end_inset
7802 </cell>
7803 <cell alignment="center" valignment="top" topline="true" usebox="none">
7804 \begin_inset Text
7805
7806 \begin_layout Standard
7807 Giusi
7808 \end_layout
7809
7810 \end_inset
7811 </cell>
7812 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7813 \begin_inset Text
7814
7815 \begin_layout Standard
7816 555
7817 \end_layout
7818
7819 \end_inset
7820 </cell>
7821 </row>
7822 <row>
7823 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7824 \begin_inset Text
7825
7826 \begin_layout Standard
7827
7828 \series bold
7829 Colin
7830 \end_layout
7831
7832 \end_inset
7833 </cell>
7834 <cell alignment="center" valignment="top" topline="true" usebox="none">
7835 \begin_inset Text
7836
7837 \begin_layout Standard
7838 Bernard
7839 \end_layout
7840
7841 \end_inset
7842 </cell>
7843 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7844 \begin_inset Text
7845
7846 \begin_layout Standard
7847 555
7848 \end_layout
7849
7850 \end_inset
7851 </cell>
7852 </row>
7853 <row>
7854 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7855 \begin_inset Text
7856
7857 \begin_layout Standard
7858
7859 \series bold
7860 Concli
7861 \end_layout
7862
7863 \end_inset
7864 </cell>
7865 <cell alignment="center" valignment="top" topline="true" usebox="none">
7866 \begin_inset Text
7867
7868 \begin_layout Standard
7869 Gianfranco
7870 \end_layout
7871
7872 \end_inset
7873 </cell>
7874 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7875 \begin_inset Text
7876
7877 \begin_layout Standard
7878 555
7879 \end_layout
7880
7881 \end_inset
7882 </cell>
7883 </row>
7884 <row>
7885 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7886 \begin_inset Text
7887
7888 \begin_layout Standard
7889
7890 \series bold
7891 Dal Bosco
7892 \end_layout
7893
7894 \end_inset
7895 </cell>
7896 <cell alignment="center" valignment="top" topline="true" usebox="none">
7897 \begin_inset Text
7898
7899 \begin_layout Standard
7900 Carolina
7901 \end_layout
7902
7903 \end_inset
7904 </cell>
7905 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7906 \begin_inset Text
7907
7908 \begin_layout Standard
7909 555
7910 \end_layout
7911
7912 \end_inset
7913 </cell>
7914 </row>
7915 <row>
7916 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7917 \begin_inset Text
7918
7919 \begin_layout Standard
7920
7921 \series bold
7922 Dalpiaz
7923 \end_layout
7924
7925 \end_inset
7926 </cell>
7927 <cell alignment="center" valignment="top" topline="true" usebox="none">
7928 \begin_inset Text
7929
7930 \begin_layout Standard
7931 Annamaria
7932 \end_layout
7933
7934 \end_inset
7935 </cell>
7936 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7937 \begin_inset Text
7938
7939 \begin_layout Standard
7940 555
7941 \end_layout
7942
7943 \end_inset
7944 </cell>
7945 </row>
7946 <row>
7947 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7948 \begin_inset Text
7949
7950 \begin_layout Standard
7951
7952 \series bold
7953 Feliciello
7954 \end_layout
7955
7956 \end_inset
7957 </cell>
7958 <cell alignment="center" valignment="top" topline="true" usebox="none">
7959 \begin_inset Text
7960
7961 \begin_layout Standard
7962 Domenico
7963 \end_layout
7964
7965 \end_inset
7966 </cell>
7967 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7968 \begin_inset Text
7969
7970 \begin_layout Standard
7971 555
7972 \end_layout
7973
7974 \end_inset
7975 </cell>
7976 </row>
7977 <row>
7978 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7979 \begin_inset Text
7980
7981 \begin_layout Standard
7982
7983 \series bold
7984 Focarelli
7985 \end_layout
7986
7987 \end_inset
7988 </cell>
7989 <cell alignment="center" valignment="top" topline="true" usebox="none">
7990 \begin_inset Text
7991
7992 \begin_layout Standard
7993 Paola
7994 \end_layout
7995
7996 \end_inset
7997 </cell>
7998 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7999 \begin_inset Text
8000
8001 \begin_layout Standard
8002 555
8003 \end_layout
8004
8005 \end_inset
8006 </cell>
8007 </row>
8008 <row>
8009 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8010 \begin_inset Text
8011
8012 \begin_layout Standard
8013
8014 \series bold
8015 Galletti
8016 \end_layout
8017
8018 \end_inset
8019 </cell>
8020 <cell alignment="center" valignment="top" topline="true" usebox="none">
8021 \begin_inset Text
8022
8023 \begin_layout Standard
8024 Oreste
8025 \end_layout
8026
8027 \end_inset
8028 </cell>
8029 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8030 \begin_inset Text
8031
8032 \begin_layout Standard
8033 555
8034 \end_layout
8035
8036 \end_inset
8037 </cell>
8038 </row>
8039 <row>
8040 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8041 \begin_inset Text
8042
8043 \begin_layout Standard
8044
8045 \series bold
8046 Gasparini
8047 \end_layout
8048
8049 \end_inset
8050 </cell>
8051 <cell alignment="center" valignment="top" topline="true" usebox="none">
8052 \begin_inset Text
8053
8054 \begin_layout Standard
8055 Franca
8056 \end_layout
8057
8058 \end_inset
8059 </cell>
8060 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8061 \begin_inset Text
8062
8063 \begin_layout Standard
8064 555
8065 \end_layout
8066
8067 \end_inset
8068 </cell>
8069 </row>
8070 <row>
8071 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8072 \begin_inset Text
8073
8074 \begin_layout Standard
8075
8076 \series bold
8077 Rizzardi
8078 \end_layout
8079
8080 \end_inset
8081 </cell>
8082 <cell alignment="center" valignment="top" topline="true" usebox="none">
8083 \begin_inset Text
8084
8085 \begin_layout Standard
8086 Paola
8087 \end_layout
8088
8089 \end_inset
8090 </cell>
8091 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8092 \begin_inset Text
8093
8094 \begin_layout Standard
8095 555
8096 \end_layout
8097
8098 \end_inset
8099 </cell>
8100 </row>
8101 <row>
8102 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8103 \begin_inset Text
8104
8105 \begin_layout Standard
8106
8107 \series bold
8108 Lassini
8109 \end_layout
8110
8111 \end_inset
8112 </cell>
8113 <cell alignment="center" valignment="top" topline="true" usebox="none">
8114 \begin_inset Text
8115
8116 \begin_layout Standard
8117 Giancarlo
8118 \end_layout
8119
8120 \end_inset
8121 </cell>
8122 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8123 \begin_inset Text
8124
8125 \begin_layout Standard
8126 555
8127 \end_layout
8128
8129 \end_inset
8130 </cell>
8131 </row>
8132 <row>
8133 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8134 \begin_inset Text
8135
8136 \begin_layout Standard
8137
8138 \series bold
8139 Malfatti
8140 \end_layout
8141
8142 \end_inset
8143 </cell>
8144 <cell alignment="center" valignment="top" topline="true" usebox="none">
8145 \begin_inset Text
8146
8147 \begin_layout Standard
8148 Luciano
8149 \end_layout
8150
8151 \end_inset
8152 </cell>
8153 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8154 \begin_inset Text
8155
8156 \begin_layout Standard
8157 555
8158 \end_layout
8159
8160 \end_inset
8161 </cell>
8162 </row>
8163 <row>
8164 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8165 \begin_inset Text
8166
8167 \begin_layout Standard
8168
8169 \series bold
8170 Malfatti
8171 \end_layout
8172
8173 \end_inset
8174 </cell>
8175 <cell alignment="center" valignment="top" topline="true" usebox="none">
8176 \begin_inset Text
8177
8178 \begin_layout Standard
8179 Valeriano
8180 \end_layout
8181
8182 \end_inset
8183 </cell>
8184 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8185 \begin_inset Text
8186
8187 \begin_layout Standard
8188 555
8189 \end_layout
8190
8191 \end_inset
8192 </cell>
8193 </row>
8194 <row>
8195 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8196 \begin_inset Text
8197
8198 \begin_layout Standard
8199
8200 \series bold
8201 Meneguzzo
8202 \end_layout
8203
8204 \end_inset
8205 </cell>
8206 <cell alignment="center" valignment="top" topline="true" usebox="none">
8207 \begin_inset Text
8208
8209 \begin_layout Standard
8210 Roberto
8211 \end_layout
8212
8213 \end_inset
8214 </cell>
8215 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8216 \begin_inset Text
8217
8218 \begin_layout Standard
8219 555
8220 \end_layout
8221
8222 \end_inset
8223 </cell>
8224 </row>
8225 <row bottomline="true">
8226 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8227 \begin_inset Text
8228
8229 \begin_layout Standard
8230
8231 \series bold
8232 Mezzadra
8233 \end_layout
8234
8235 \end_inset
8236 </cell>
8237 <cell alignment="center" valignment="top" topline="true" usebox="none">
8238 \begin_inset Text
8239
8240 \begin_layout Standard
8241 Roberto
8242 \end_layout
8243
8244 \end_inset
8245 </cell>
8246 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8247 \begin_inset Text
8248
8249 \begin_layout Standard
8250 555
8251 \end_layout
8252
8253 \end_inset
8254 </cell>
8255 </row>
8256 <row bottomline="true" endlastfoot="true">
8257 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
8258 \begin_inset Text
8259
8260 \begin_layout Standard
8261
8262 \end_layout
8263
8264 \end_inset
8265 </cell>
8266 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8267 \begin_inset Text
8268
8269 \begin_layout Standard
8270
8271 \end_layout
8272
8273 \end_inset
8274 </cell>
8275 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8276 \begin_inset Text
8277
8278 \begin_layout Standard
8279
8280 \end_layout
8281
8282 \end_inset
8283 </cell>
8284 </row>
8285 </lyxtabular>
8286
8287 \end_inset
8288
8289
8290 \end_layout
8291
8292 \begin_layout Section
8293 Special Longtable Issues
8294 \begin_inset LatexCommand label
8295 name "sec:Special-Longtable-Issues"
8296
8297 \end_inset
8298
8299
8300 \end_layout
8301
8302 \begin_layout Subsection
8303 Longtable Calculation
8304 \begin_inset LatexCommand index
8305 name "Longtables ! Calculation"
8306
8307 \end_inset
8308
8309
8310 \end_layout
8311
8312 \begin_layout Standard
8313 LaTeX calculates the height of table pages and their page breaks using so
8314  called chunks.
8315  Chunks are pieces of the tables that are at once in LaTeX's memory.
8316  The default value is historically set to only 20 table rows.
8317  If you are using longtables with many pages this may slow down the creation
8318  of your document.
8319  You can safely increase the chunk size to values of 100-1000 by adding
8320  this command line to your document preamble:
8321 \end_layout
8322
8323 \begin_layout Standard
8324
8325 \series bold
8326
8327 \backslash
8328 setcounter{LTchunksize}{100}
8329 \end_layout
8330
8331 \begin_layout Subsection
8332 Floats and Longtables
8333 \begin_inset LatexCommand index
8334 name "Longtables ! Floats"
8335
8336 \end_inset
8337
8338
8339 \end_layout
8340
8341 \begin_layout Standard
8342 There might be problems when a float appears on the same page where a longtable
8343  starts.
8344  To avoid such situation, add the command 
8345 \series bold
8346
8347 \backslash
8348 clearpage
8349 \series default
8350  as ERT before your longtable.
8351 \end_layout
8352
8353 \begin_layout Subsection
8354 Forced Page Breaks
8355 \begin_inset LatexCommand index
8356 name "Longtables ! Forced Page Breaks"
8357
8358 \end_inset
8359
8360
8361 \end_layout
8362
8363 \begin_layout Standard
8364 By default tables are only broken between rows.
8365  If you have a cell with multiples lines and want to have a page break within
8366  the cell, insert the new line command 
8367 \begin_inset Quotes eld
8368 \end_inset
8369
8370
8371 \series bold
8372
8373 \backslash
8374
8375 \backslash
8376
8377 \series default
8378
8379 \begin_inset Quotes erd
8380 \end_inset
8381
8382  as ERT at this point of the cell where it should be broken.
8383  Before the 
8384 \series bold
8385
8386 \backslash
8387
8388 \backslash
8389
8390 \series default
8391  command you have to insert in ERT so many 
8392 \begin_inset Quotes eld
8393 \end_inset
8394
8395
8396 \series bold
8397 &
8398 \series default
8399
8400 \begin_inset Quotes erd
8401 \end_inset
8402
8403  characters like the number of the following table columns.
8404  The 
8405 \series bold
8406 &
8407 \series default
8408  is the character to separate table cells.
8409  Write in ERT after each 
8410 \series bold
8411 &
8412 \series default
8413  the content of the corresponding following cell and delete the content
8414  of these cells.
8415 \newline
8416 Behind the the 
8417 \series bold
8418
8419 \backslash
8420
8421 \backslash
8422
8423 \series default
8424  command, insert so many 
8425 \series bold
8426 &
8427 \series default
8428  characters like the number of table columns before the current column.
8429  In Table\InsetSpace ~
8430
8431 \begin_inset LatexCommand ref
8432 reference "tab:ForcedPagebreak"
8433
8434 \end_inset
8435
8436  the cell that should be broken is in the second column followed by another
8437  column.
8438  Therefore the following command was inserted in the cell as ERT behind
8439  
8440 \begin_inset Quotes eld
8441 \end_inset
8442
8443
8444 \emph on
8445 Castelchiodato,
8446 \emph default
8447
8448 \begin_inset Quotes erd
8449 \end_inset
8450
8451 :
8452 \end_layout
8453
8454 \begin_layout Standard
8455
8456 \series bold
8457 & 111
8458 \backslash
8459
8460 \backslash
8461
8462 \newline
8463 &
8464 \end_layout
8465
8466 \begin_layout Standard
8467 The 
8468 \begin_inset Quotes eld
8469 \end_inset
8470
8471 111
8472 \begin_inset Quotes erd
8473 \end_inset
8474
8475  in the third columns of the row was deleted.
8476  If your footer row of the longtable has for a certain reason no upper line
8477  but you would have a horizontal line where the cell is broken, use this
8478  command instead:
8479 \end_layout
8480
8481 \begin_layout Standard
8482
8483 \series bold
8484 & 111
8485 \backslash
8486
8487 \backslash
8488
8489 \newline
8490
8491 \backslash
8492 hline &
8493 \end_layout
8494
8495 \begin_layout Standard
8496 When the cell to be broken is in the last column, the command
8497 \end_layout
8498
8499 \begin_layout Standard
8500
8501 \series bold
8502
8503 \backslash
8504 setlength{
8505 \backslash
8506 parf\SpecialChar \textcompwordmark{}
8507 illskip}{0pt}
8508 \end_layout
8509
8510 \begin_layout Standard
8511 must be inserted as ERT at the beginning of the cell.
8512  This assures that the part of the cell that will be displayed on the new
8513  page appears with the full width.
8514  
8515 \end_layout
8516
8517 \begin_layout Standard
8518 \align center
8519 \begin_inset Tabular
8520 <lyxtabular version="3" rows="39" columns="3">
8521 <features islongtable="true">
8522 <column alignment="left" valignment="top" leftline="true" width="0cm">
8523 <column alignment="left" valignment="top" rightline="true" width="3cm">
8524 <column alignment="right" valignment="top" rightline="true" width="0pt">
8525 <row endfirsthead="true">
8526 <cell alignment="right" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8527 \begin_inset Text
8528
8529 \begin_layout Standard
8530 \begin_inset Caption
8531
8532 \begin_layout Standard
8533 Table with forced page break in table cell
8534 \begin_inset LatexCommand label
8535 name "tab:ForcedPagebreak"
8536
8537 \end_inset
8538
8539
8540 \begin_inset OptArg
8541 status collapsed
8542
8543 \begin_layout Standard
8544 Table with forced page break in table cell
8545 \end_layout
8546
8547 \end_inset
8548
8549
8550 \end_layout
8551
8552 \end_inset
8553
8554
8555 \begin_inset ERT
8556 status collapsed
8557
8558 \begin_layout Standard
8559
8560
8561 \backslash
8562
8563 \backslash
8564 %
8565 \end_layout
8566
8567 \end_inset
8568
8569
8570 \end_layout
8571
8572 \end_inset
8573 </cell>
8574 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8575 \begin_inset Text
8576
8577 \begin_layout Standard
8578
8579 \end_layout
8580
8581 \end_inset
8582 </cell>
8583 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8584 \begin_inset Text
8585
8586 \begin_layout Standard
8587
8588 \end_layout
8589
8590 \end_inset
8591 </cell>
8592 </row>
8593 <row topline="true" bottomline="true" endfirsthead="true">
8594 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8595 \begin_inset Text
8596
8597 \begin_layout Standard
8598
8599 \series bold
8600 Example Phone List (ignore the names)
8601 \end_layout
8602
8603 \end_inset
8604 </cell>
8605 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8606 \begin_inset Text
8607
8608 \begin_layout Standard
8609
8610 \end_layout
8611
8612 \end_inset
8613 </cell>
8614 <cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8615 \begin_inset Text
8616
8617 \begin_layout Standard
8618
8619 \end_layout
8620
8621 \end_inset
8622 </cell>
8623 </row>
8624 <row topline="true" bottomline="true" endfirsthead="true">
8625 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8626 \begin_inset Text
8627
8628 \begin_layout Standard
8629
8630 \series bold
8631 NAME
8632 \end_layout
8633
8634 \end_inset
8635 </cell>
8636 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8637 \begin_inset Text
8638
8639 \begin_layout Standard
8640
8641 \end_layout
8642
8643 \end_inset
8644 </cell>
8645 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8646 \begin_inset Text
8647
8648 \begin_layout Standard
8649
8650 \series bold
8651 TEL.
8652 \end_layout
8653
8654 \end_inset
8655 </cell>
8656 </row>
8657 <row bottomline="true" endhead="true">
8658 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8659 \begin_inset Text
8660
8661 \begin_layout Standard
8662 \begin_inset ERT
8663 status collapsed
8664
8665 \begin_layout Standard
8666
8667
8668 \backslash
8669 caption*{Continued table with forced page break in table cell}
8670 \backslash
8671
8672 \backslash
8673 %
8674 \end_layout
8675
8676 \end_inset
8677
8678
8679 \end_layout
8680
8681 \end_inset
8682 </cell>
8683 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8684 \begin_inset Text
8685
8686 \begin_layout Standard
8687
8688 \end_layout
8689
8690 \end_inset
8691 </cell>
8692 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8693 \begin_inset Text
8694
8695 \begin_layout Standard
8696
8697 \end_layout
8698
8699 \end_inset
8700 </cell>
8701 </row>
8702 <row topline="true" bottomline="true" endhead="true">
8703 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8704 \begin_inset Text
8705
8706 \begin_layout Standard
8707  
8708 \series bold
8709 Example Phone List
8710 \end_layout
8711
8712 \end_inset
8713 </cell>
8714 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8715 \begin_inset Text
8716
8717 \begin_layout Standard
8718
8719 \end_layout
8720
8721 \end_inset
8722 </cell>
8723 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8724 \begin_inset Text
8725
8726 \begin_layout Standard
8727
8728 \end_layout
8729
8730 \end_inset
8731 </cell>
8732 </row>
8733 <row topline="true" bottomline="true" endhead="true">
8734 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8735 \begin_inset Text
8736
8737 \begin_layout Standard
8738
8739 \series bold
8740 NAME
8741 \end_layout
8742
8743 \end_inset
8744 </cell>
8745 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8746 \begin_inset Text
8747
8748 \begin_layout Standard
8749
8750 \end_layout
8751
8752 \end_inset
8753 </cell>
8754 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8755 \begin_inset Text
8756
8757 \begin_layout Standard
8758
8759 \series bold
8760 TEL.
8761 \end_layout
8762
8763 \end_inset
8764 </cell>
8765 </row>
8766 <row topline="true" bottomline="true" endfoot="true">
8767 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
8768 \begin_inset Text
8769
8770 \begin_layout Standard
8771 continued on next page
8772 \end_layout
8773
8774 \end_inset
8775 </cell>
8776 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8777 \begin_inset Text
8778
8779 \begin_layout Standard
8780
8781 \end_layout
8782
8783 \end_inset
8784 </cell>
8785 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8786 \begin_inset Text
8787
8788 \begin_layout Standard
8789
8790 \end_layout
8791
8792 \end_inset
8793 </cell>
8794 </row>
8795 <row>
8796 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8797 \begin_inset Text
8798
8799 \begin_layout Standard
8800
8801 \series bold
8802 Annovi
8803 \end_layout
8804
8805 \end_inset
8806 </cell>
8807 <cell alignment="center" valignment="top" topline="true" usebox="none">
8808 \begin_inset Text
8809
8810 \begin_layout Standard
8811 Silvia
8812 \end_layout
8813
8814 \end_inset
8815 </cell>
8816 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8817 \begin_inset Text
8818
8819 \begin_layout Standard
8820 111
8821 \end_layout
8822
8823 \end_inset
8824 </cell>
8825 </row>
8826 <row>
8827 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8828 \begin_inset Text
8829
8830 \begin_layout Standard
8831
8832 \series bold
8833 Bertoli
8834 \end_layout
8835
8836 \end_inset
8837 </cell>
8838 <cell alignment="center" valignment="top" topline="true" usebox="none">
8839 \begin_inset Text
8840
8841 \begin_layout Standard
8842 Stefano
8843 \end_layout
8844
8845 \end_inset
8846 </cell>
8847 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8848 \begin_inset Text
8849
8850 \begin_layout Standard
8851 111
8852 \end_layout
8853
8854 \end_inset
8855 </cell>
8856 </row>
8857 <row>
8858 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8859 \begin_inset Text
8860
8861 \begin_layout Standard
8862
8863 \series bold
8864 Bozzi
8865 \end_layout
8866
8867 \end_inset
8868 </cell>
8869 <cell alignment="center" valignment="top" topline="true" usebox="none">
8870 \begin_inset Text
8871
8872 \begin_layout Standard
8873 Walter
8874 \end_layout
8875
8876 \end_inset
8877 </cell>
8878 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8879 \begin_inset Text
8880
8881 \begin_layout Standard
8882 111
8883 \end_layout
8884
8885 \end_inset
8886 </cell>
8887 </row>
8888 <row>
8889 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8890 \begin_inset Text
8891
8892 \begin_layout Standard
8893
8894 \series bold
8895 Cachia
8896 \end_layout
8897
8898 \end_inset
8899 </cell>
8900 <cell alignment="center" valignment="top" topline="true" usebox="none">
8901 \begin_inset Text
8902
8903 \begin_layout Standard
8904 Maria
8905 \end_layout
8906
8907 \end_inset
8908 </cell>
8909 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8910 \begin_inset Text
8911
8912 \begin_layout Standard
8913 111
8914 \end_layout
8915
8916 \end_inset
8917 </cell>
8918 </row>
8919 <row>
8920 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8921 \begin_inset Text
8922
8923 \begin_layout Standard
8924
8925 \series bold
8926 Cachia
8927 \end_layout
8928
8929 \end_inset
8930 </cell>
8931 <cell alignment="center" valignment="top" topline="true" usebox="none">
8932 \begin_inset Text
8933
8934 \begin_layout Standard
8935 Maurizio
8936 \end_layout
8937
8938 \end_inset
8939 </cell>
8940 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8941 \begin_inset Text
8942
8943 \begin_layout Standard
8944 111
8945 \end_layout
8946
8947 \end_inset
8948 </cell>
8949 </row>
8950 <row>
8951 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8952 \begin_inset Text
8953
8954 \begin_layout Standard
8955
8956 \series bold
8957 Cinquemani
8958 \end_layout
8959
8960 \end_inset
8961 </cell>
8962 <cell alignment="center" valignment="top" topline="true" usebox="none">
8963 \begin_inset Text
8964
8965 \begin_layout Standard
8966 Giusi
8967 \end_layout
8968
8969 \end_inset
8970 </cell>
8971 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8972 \begin_inset Text
8973
8974 \begin_layout Standard
8975 111
8976 \end_layout
8977
8978 \end_inset
8979 </cell>
8980 </row>
8981 <row>
8982 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8983 \begin_inset Text
8984
8985 \begin_layout Standard
8986
8987 \series bold
8988 Colin
8989 \end_layout
8990
8991 \end_inset
8992 </cell>
8993 <cell alignment="center" valignment="top" topline="true" usebox="none">
8994 \begin_inset Text
8995
8996 \begin_layout Standard
8997 Bernard
8998 \end_layout
8999
9000 \end_inset
9001 </cell>
9002 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9003 \begin_inset Text
9004
9005 \begin_layout Standard
9006 111
9007 \end_layout
9008
9009 \end_inset
9010 </cell>
9011 </row>
9012 <row>
9013 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9014 \begin_inset Text
9015
9016 \begin_layout Standard
9017
9018 \series bold
9019 Concli
9020 \end_layout
9021
9022 \end_inset
9023 </cell>
9024 <cell alignment="center" valignment="top" topline="true" usebox="none">
9025 \begin_inset Text
9026
9027 \begin_layout Standard
9028 Gianfranco
9029 \end_layout
9030
9031 \end_inset
9032 </cell>
9033 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9034 \begin_inset Text
9035
9036 \begin_layout Standard
9037 111
9038 \end_layout
9039
9040 \end_inset
9041 </cell>
9042 </row>
9043 <row>
9044 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9045 \begin_inset Text
9046
9047 \begin_layout Standard
9048
9049 \series bold
9050 Dal Bosco
9051 \end_layout
9052
9053 \end_inset
9054 </cell>
9055 <cell alignment="center" valignment="top" topline="true" usebox="none">
9056 \begin_inset Text
9057
9058 \begin_layout Standard
9059 Carolina
9060 \end_layout
9061
9062 \end_inset
9063 </cell>
9064 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9065 \begin_inset Text
9066
9067 \begin_layout Standard
9068 111
9069 \end_layout
9070
9071 \end_inset
9072 </cell>
9073 </row>
9074 <row>
9075 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9076 \begin_inset Text
9077
9078 \begin_layout Standard
9079
9080 \series bold
9081 Dalpiaz
9082 \end_layout
9083
9084 \end_inset
9085 </cell>
9086 <cell alignment="center" valignment="top" topline="true" usebox="none">
9087 \begin_inset Text
9088
9089 \begin_layout Standard
9090 Annamaria
9091 \end_layout
9092
9093 \end_inset
9094 </cell>
9095 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9096 \begin_inset Text
9097
9098 \begin_layout Standard
9099 111
9100 \end_layout
9101
9102 \end_inset
9103 </cell>
9104 </row>
9105 <row>
9106 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9107 \begin_inset Text
9108
9109 \begin_layout Standard
9110
9111 \series bold
9112 Feliciello
9113 \end_layout
9114
9115 \end_inset
9116 </cell>
9117 <cell alignment="center" valignment="top" topline="true" usebox="none">
9118 \begin_inset Text
9119
9120 \begin_layout Standard
9121 Domenico
9122 \end_layout
9123
9124 \end_inset
9125 </cell>
9126 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9127 \begin_inset Text
9128
9129 \begin_layout Standard
9130 111
9131 \end_layout
9132
9133 \end_inset
9134 </cell>
9135 </row>
9136 <row>
9137 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9138 \begin_inset Text
9139
9140 \begin_layout Standard
9141
9142 \series bold
9143 Focarelli
9144 \end_layout
9145
9146 \end_inset
9147 </cell>
9148 <cell alignment="center" valignment="top" topline="true" usebox="none">
9149 \begin_inset Text
9150
9151 \begin_layout Standard
9152 Paola
9153 \end_layout
9154
9155 \end_inset
9156 </cell>
9157 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9158 \begin_inset Text
9159
9160 \begin_layout Standard
9161 111
9162 \end_layout
9163
9164 \end_inset
9165 </cell>
9166 </row>
9167 <row>
9168 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9169 \begin_inset Text
9170
9171 \begin_layout Standard
9172
9173 \series bold
9174 Galletti
9175 \end_layout
9176
9177 \end_inset
9178 </cell>
9179 <cell alignment="center" valignment="top" topline="true" usebox="none">
9180 \begin_inset Text
9181
9182 \begin_layout Standard
9183 Oreste
9184 \end_layout
9185
9186 \end_inset
9187 </cell>
9188 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9189 \begin_inset Text
9190
9191 \begin_layout Standard
9192 111
9193 \end_layout
9194
9195 \end_inset
9196 </cell>
9197 </row>
9198 <row>
9199 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9200 \begin_inset Text
9201
9202 \begin_layout Standard
9203
9204 \series bold
9205 Gasparini
9206 \end_layout
9207
9208 \end_inset
9209 </cell>
9210 <cell alignment="center" valignment="top" topline="true" usebox="none">
9211 \begin_inset Text
9212
9213 \begin_layout Standard
9214 Franca
9215 \end_layout
9216
9217 \end_inset
9218 </cell>
9219 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9220 \begin_inset Text
9221
9222 \begin_layout Standard
9223 111
9224 \end_layout
9225
9226 \end_inset
9227 </cell>
9228 </row>
9229 <row>
9230 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9231 \begin_inset Text
9232
9233 \begin_layout Standard
9234
9235 \series bold
9236 Lassini
9237 \end_layout
9238
9239 \end_inset
9240 </cell>
9241 <cell alignment="center" valignment="top" topline="true" usebox="none">
9242 \begin_inset Text
9243
9244 \begin_layout Standard
9245 Giancarlo
9246 \end_layout
9247
9248 \end_inset
9249 </cell>
9250 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9251 \begin_inset Text
9252
9253 \begin_layout Standard
9254 111
9255 \end_layout
9256
9257 \end_inset
9258 </cell>
9259 </row>
9260 <row>
9261 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9262 \begin_inset Text
9263
9264 \begin_layout Standard
9265
9266 \series bold
9267 Malfatti
9268 \end_layout
9269
9270 \end_inset
9271 </cell>
9272 <cell alignment="center" valignment="top" topline="true" usebox="none">
9273 \begin_inset Text
9274
9275 \begin_layout Standard
9276 Luciano
9277 \end_layout
9278
9279 \end_inset
9280 </cell>
9281 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9282 \begin_inset Text
9283
9284 \begin_layout Standard
9285 111
9286 \end_layout
9287
9288 \end_inset
9289 </cell>
9290 </row>
9291 <row>
9292 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9293 \begin_inset Text
9294
9295 \begin_layout Standard
9296
9297 \series bold
9298 Malfatti
9299 \end_layout
9300
9301 \end_inset
9302 </cell>
9303 <cell alignment="center" valignment="top" topline="true" usebox="none">
9304 \begin_inset Text
9305
9306 \begin_layout Standard
9307 Valeriano
9308 \end_layout
9309
9310 \end_inset
9311 </cell>
9312 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9313 \begin_inset Text
9314
9315 \begin_layout Standard
9316 111
9317 \end_layout
9318
9319 \end_inset
9320 </cell>
9321 </row>
9322 <row>
9323 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9324 \begin_inset Text
9325
9326 \begin_layout Standard
9327
9328 \series bold
9329 Meneguzzo
9330 \end_layout
9331
9332 \end_inset
9333 </cell>
9334 <cell alignment="center" valignment="top" topline="true" usebox="none">
9335 \begin_inset Text
9336
9337 \begin_layout Standard
9338 Roberto
9339 \end_layout
9340
9341 \end_inset
9342 </cell>
9343 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9344 \begin_inset Text
9345
9346 \begin_layout Standard
9347 111
9348 \end_layout
9349
9350 \end_inset
9351 </cell>
9352 </row>
9353 <row>
9354 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9355 \begin_inset Text
9356
9357 \begin_layout Standard
9358
9359 \series bold
9360 Mezzadra
9361 \end_layout
9362
9363 \end_inset
9364 </cell>
9365 <cell alignment="center" valignment="top" topline="true" usebox="none">
9366 \begin_inset Text
9367
9368 \begin_layout Standard
9369 Roberto
9370 \end_layout
9371
9372 \end_inset
9373 </cell>
9374 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9375 \begin_inset Text
9376
9377 \begin_layout Standard
9378 111
9379 \end_layout
9380
9381 \end_inset
9382 </cell>
9383 </row>
9384 <row>
9385 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9386 \begin_inset Text
9387
9388 \begin_layout Standard
9389
9390 \series bold
9391 Pirpamer
9392 \end_layout
9393
9394 \end_inset
9395 </cell>
9396 <cell alignment="center" valignment="top" topline="true" usebox="none">
9397 \begin_inset Text
9398
9399 \begin_layout Standard
9400 Erich
9401 \end_layout
9402
9403 \end_inset
9404 </cell>
9405 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9406 \begin_inset Text
9407
9408 \begin_layout Standard
9409 111
9410 \end_layout
9411
9412 \end_inset
9413 </cell>
9414 </row>
9415 <row>
9416 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9417 \begin_inset Text
9418
9419 \begin_layout Standard
9420
9421 \series bold
9422 Pochiesa
9423 \end_layout
9424
9425 \end_inset
9426 </cell>
9427 <cell alignment="center" valignment="top" topline="true" usebox="none">
9428 \begin_inset Text
9429
9430 \begin_layout Standard
9431 Paolo
9432 \end_layout
9433
9434 \end_inset
9435 </cell>
9436 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9437 \begin_inset Text
9438
9439 \begin_layout Standard
9440 111, 222
9441 \end_layout
9442
9443 \end_inset
9444 </cell>
9445 </row>
9446 <row>
9447 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9448 \begin_inset Text
9449
9450 \begin_layout Standard
9451
9452 \series bold
9453 Radina
9454 \end_layout
9455
9456 \end_inset
9457 </cell>
9458 <cell alignment="center" valignment="top" topline="true" usebox="none">
9459 \begin_inset Text
9460
9461 \begin_layout Standard
9462 Claudio
9463 \end_layout
9464
9465 \end_inset
9466 </cell>
9467 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9468 \begin_inset Text
9469
9470 \begin_layout Standard
9471 111
9472 \end_layout
9473
9474 \end_inset
9475 </cell>
9476 </row>
9477 <row>
9478 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9479 \begin_inset Text
9480
9481 \begin_layout Standard
9482
9483 \series bold
9484 Rizzardi
9485 \end_layout
9486
9487 \end_inset
9488 </cell>
9489 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9490 \begin_inset Text
9491
9492 \begin_layout Standard
9493 Paolo, 11.
9494  Fürst von Montecompatri, 11.
9495  Fürst von Sulmona und Vivaro, 10.
9496  Fürst von Rossano, 5.
9497  Herzog von Canemorte, 11.
9498  Herzog von Palombara, 5.
9499  Herzog von Castelchiodato,
9500 \begin_inset ERT
9501 status collapsed
9502
9503 \begin_layout Standard
9504
9505 & 111
9506 \backslash
9507
9508 \backslash
9509
9510 \end_layout
9511
9512 \begin_layout Standard
9513
9514 &
9515 \end_layout
9516
9517 \end_inset
9518
9519  11.
9520  Herzog von Poggionativo, 11.
9521  Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
9522  Graf von Valinfreda, 11.
9523  Baron von Cropalati, 11.
9524  Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
9525 \end_layout
9526
9527 \end_inset
9528 </cell>
9529 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9530 \begin_inset Text
9531
9532 \begin_layout Standard
9533
9534 \end_layout
9535
9536 \end_inset
9537 </cell>
9538 </row>
9539 <row>
9540 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9541 \begin_inset Text
9542
9543 \begin_layout Standard
9544
9545 \series bold
9546 Stuffer
9547 \end_layout
9548
9549 \end_inset
9550 </cell>
9551 <cell alignment="center" valignment="top" topline="true" usebox="none">
9552 \begin_inset Text
9553
9554 \begin_layout Standard
9555 Oskar
9556 \end_layout
9557
9558 \end_inset
9559 </cell>
9560 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9561 \begin_inset Text
9562
9563 \begin_layout Standard
9564 111
9565 \end_layout
9566
9567 \end_inset
9568 </cell>
9569 </row>
9570 <row>
9571 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9572 \begin_inset Text
9573
9574 \begin_layout Standard
9575
9576 \series bold
9577 Tacchelli
9578 \end_layout
9579
9580 \end_inset
9581 </cell>
9582 <cell alignment="center" valignment="top" topline="true" usebox="none">
9583 \begin_inset Text
9584
9585 \begin_layout Standard
9586 Ugo
9587 \end_layout
9588
9589 \end_inset
9590 </cell>
9591 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9592 \begin_inset Text
9593
9594 \begin_layout Standard
9595 111
9596 \end_layout
9597
9598 \end_inset
9599 </cell>
9600 </row>
9601 <row>
9602 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9603 \begin_inset Text
9604
9605 \begin_layout Standard
9606
9607 \series bold
9608 Tezzele
9609 \end_layout
9610
9611 \end_inset
9612 </cell>
9613 <cell alignment="center" valignment="top" topline="true" usebox="none">
9614 \begin_inset Text
9615
9616 \begin_layout Standard
9617 Margit
9618 \end_layout
9619
9620 \end_inset
9621 </cell>
9622 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9623 \begin_inset Text
9624
9625 \begin_layout Standard
9626 111
9627 \end_layout
9628
9629 \end_inset
9630 </cell>
9631 </row>
9632 <row>
9633 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9634 \begin_inset Text
9635
9636 \begin_layout Standard
9637
9638 \series bold
9639 Unterkalmsteiner
9640 \end_layout
9641
9642 \end_inset
9643 </cell>
9644 <cell alignment="center" valignment="top" topline="true" usebox="none">
9645 \begin_inset Text
9646
9647 \begin_layout Standard
9648 Frieda
9649 \end_layout
9650
9651 \end_inset
9652 </cell>
9653 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9654 \begin_inset Text
9655
9656 \begin_layout Standard
9657 111
9658 \end_layout
9659
9660 \end_inset
9661 </cell>
9662 </row>
9663 <row>
9664 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9665 \begin_inset Text
9666
9667 \begin_layout Standard
9668
9669 \series bold
9670 Vieider
9671 \end_layout
9672
9673 \end_inset
9674 </cell>
9675 <cell alignment="center" valignment="top" topline="true" usebox="none">
9676 \begin_inset Text
9677
9678 \begin_layout Standard
9679 Hilde
9680 \end_layout
9681
9682 \end_inset
9683 </cell>
9684 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9685 \begin_inset Text
9686
9687 \begin_layout Standard
9688 111
9689 \end_layout
9690
9691 \end_inset
9692 </cell>
9693 </row>
9694 <row>
9695 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9696 \begin_inset Text
9697
9698 \begin_layout Standard
9699
9700 \series bold
9701 Vigna
9702 \end_layout
9703
9704 \end_inset
9705 </cell>
9706 <cell alignment="center" valignment="top" topline="true" usebox="none">
9707 \begin_inset Text
9708
9709 \begin_layout Standard
9710 Jürgen
9711 \end_layout
9712
9713 \end_inset
9714 </cell>
9715 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9716 \begin_inset Text
9717
9718 \begin_layout Standard
9719 111
9720 \end_layout
9721
9722 \end_inset
9723 </cell>
9724 </row>
9725 <row>
9726 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9727 \begin_inset Text
9728
9729 \begin_layout Standard
9730
9731 \series bold
9732 Weber
9733 \end_layout
9734
9735 \end_inset
9736 </cell>
9737 <cell alignment="center" valignment="top" topline="true" usebox="none">
9738 \begin_inset Text
9739
9740 \begin_layout Standard
9741 Maurizio
9742 \end_layout
9743
9744 \end_inset
9745 </cell>
9746 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9747 \begin_inset Text
9748
9749 \begin_layout Standard
9750 111
9751 \end_layout
9752
9753 \end_inset
9754 </cell>
9755 </row>
9756 <row bottomline="true">
9757 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9758 \begin_inset Text
9759
9760 \begin_layout Standard
9761
9762 \series bold
9763 Winkler
9764 \end_layout
9765
9766 \end_inset
9767 </cell>
9768 <cell alignment="center" valignment="top" topline="true" usebox="none">
9769 \begin_inset Text
9770
9771 \begin_layout Standard
9772 Franz
9773 \end_layout
9774
9775 \end_inset
9776 </cell>
9777 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9778 \begin_inset Text
9779
9780 \begin_layout Standard
9781 111
9782 \end_layout
9783
9784 \end_inset
9785 </cell>
9786 </row>
9787 <row endlastfoot="true">
9788 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
9789 \begin_inset Text
9790
9791 \begin_layout Standard
9792
9793 \end_layout
9794
9795 \end_inset
9796 </cell>
9797 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9798 \begin_inset Text
9799
9800 \begin_layout Standard
9801
9802 \end_layout
9803
9804 \end_inset
9805 </cell>
9806 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9807 \begin_inset Text
9808
9809 \begin_layout Standard
9810
9811 \end_layout
9812
9813 \end_inset
9814 </cell>
9815 </row>
9816 </lyxtabular>
9817
9818 \end_inset
9819
9820
9821 \end_layout
9822
9823 \begin_layout Section
9824 Multiple Lines Columns and Rows
9825 \end_layout
9826
9827 \begin_layout Subsection
9828 Multiple Lines in Table Cells
9829 \begin_inset LatexCommand label
9830 name "sub:Multiple-Lines-in"
9831
9832 \end_inset
9833
9834
9835 \begin_inset LatexCommand index
9836 name "Multiple Lines in Table Cells"
9837
9838 \end_inset
9839
9840
9841 \begin_inset LatexCommand index
9842 name "Table ! Linebreaks"
9843
9844 \end_inset
9845
9846
9847 \end_layout
9848
9849 \begin_layout Standard
9850 \align center
9851 \begin_inset Float table
9852 placement H
9853 wide false
9854 sideways false
9855 status open
9856
9857 \begin_layout Standard
9858 \begin_inset Caption
9859
9860 \begin_layout Standard
9861 \begin_inset LatexCommand label
9862 name "tab:Table-with-multiple"
9863
9864 \end_inset
9865
9866 Table with multiple lines in cells
9867 \end_layout
9868
9869 \end_inset
9870
9871
9872 \end_layout
9873
9874 \begin_layout Standard
9875 \align center
9876 \begin_inset Tabular
9877 <lyxtabular version="3" rows="3" columns="3">
9878 <features>
9879 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
9880 <column alignment="center" valignment="middle" leftline="true" width="0">
9881 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0">
9882 <row topline="true">
9883 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9884 \begin_inset Text
9885
9886 \begin_layout Standard
9887 multiple
9888 \begin_inset ERT
9889 status collapsed
9890
9891 \begin_layout Standard
9892
9893
9894 \backslash
9895 linebreak 
9896 \end_layout
9897
9898 \end_inset
9899
9900  lines
9901 \end_layout
9902
9903 \end_inset
9904 </cell>
9905 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9906 \begin_inset Text
9907
9908 \begin_layout Standard
9909 b
9910 \end_layout
9911
9912 \end_inset
9913 </cell>
9914 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9915 \begin_inset Text
9916
9917 \begin_layout Standard
9918 c
9919 \end_layout
9920
9921 \end_inset
9922 </cell>
9923 </row>
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 d
9930 \end_layout
9931
9932 \end_inset
9933 </cell>
9934 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9935 \begin_inset Text
9936
9937 \begin_layout Standard
9938 e
9939 \end_layout
9940
9941 \end_inset
9942 </cell>
9943 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9944 \begin_inset Text
9945
9946 \begin_layout Standard
9947 f
9948 \end_layout
9949
9950 \end_inset
9951 </cell>
9952 </row>
9953 <row topline="true" bottomline="true">
9954 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9955 \begin_inset Text
9956
9957 \begin_layout Standard
9958 g
9959 \end_layout
9960
9961 \end_inset
9962 </cell>
9963 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9964 \begin_inset Text
9965
9966 \begin_layout Standard
9967 h
9968 \end_layout
9969
9970 \end_inset
9971 </cell>
9972 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9973 \begin_inset Text
9974
9975 \begin_layout Standard
9976 i
9977 \end_layout
9978
9979 \end_inset
9980 </cell>
9981 </row>
9982 </lyxtabular>
9983
9984 \end_inset
9985
9986
9987 \end_layout
9988
9989 \end_inset
9990
9991
9992 \end_layout
9993
9994 \begin_layout Standard
9995 Adjusting a fixed width for a column, enables to enter text as a paragraph
9996  with multiple lines and hyphenations.
9997 \end_layout
9998
9999 \begin_layout Standard
10000 To produce Table\InsetSpace ~
10001
10002 \begin_inset LatexCommand ref
10003 reference "tab:Table-with-multiple"
10004
10005 \end_inset
10006
10007 , create a 3×3 table, mark the first cell and right-click on it.
10008  In the appearing table dialog we set a cell width of 2.5\InsetSpace \thinspace{}
10009 cm and choose centered
10010  for the vertical and horizontal alignment.
10011  The vertical alignment is used for all cells of the row.
10012  As our text is smaller than than 2.5\InsetSpace \thinspace{}
10013 cm, only one line will appear.
10014  To get two lines, we add a line break with the command
10015 \end_layout
10016
10017 \begin_layout Standard
10018
10019 \series bold
10020
10021 \backslash
10022 linebreak
10023 \end_layout
10024
10025 \begin_layout Standard
10026 in ERT.
10027  If the text is wider than the set cell width it will automatically be broken
10028  to several lines.
10029 \end_layout
10030
10031 \begin_layout Standard
10032 If you have a long word in a cell with a fixed width, it cannot be hyphenated
10033  by LaTeX if it is the first entry.
10034  Therefore you need to insert something, to make the word not being the
10035  first entry: Add the command
10036 \end_layout
10037
10038 \begin_layout Standard
10039
10040 \series bold
10041
10042 \backslash
10043 hspace{0pt}
10044 \end_layout
10045
10046 \begin_layout Standard
10047 in ERT before the word.
10048  As the space is zero, it doesn't change the output.
10049  Table\InsetSpace ~
10050
10051 \begin_inset LatexCommand ref
10052 reference "tab:Table-with-and"
10053
10054 \end_inset
10055
10056  shows the effect.
10057 \end_layout
10058
10059 \begin_layout Standard
10060 \begin_inset Float table
10061 placement h
10062 wide false
10063 sideways false
10064 status open
10065
10066 \begin_layout Standard
10067 \begin_inset Caption
10068
10069 \begin_layout Standard
10070 \begin_inset LatexCommand label
10071 name "tab:Table-with-and"
10072
10073 \end_inset
10074
10075 Table with and without hyphenation
10076 \end_layout
10077
10078 \end_inset
10079
10080
10081 \end_layout
10082
10083 \begin_layout Standard
10084
10085 \hfill
10086
10087 \begin_inset Tabular
10088 <lyxtabular version="3" rows="3" columns="3">
10089 <features>
10090 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
10091 <column alignment="center" valignment="middle" leftline="true" width="0">
10092 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0">
10093 <row topline="true">
10094 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10095 \begin_inset Text
10096
10097 \begin_layout Standard
10098 verylongtablecellword
10099 \end_layout
10100
10101 \end_inset
10102 </cell>
10103 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10104 \begin_inset Text
10105
10106 \begin_layout Standard
10107 b
10108 \end_layout
10109
10110 \end_inset
10111 </cell>
10112 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10113 \begin_inset Text
10114
10115 \begin_layout Standard
10116 c
10117 \end_layout
10118
10119 \end_inset
10120 </cell>
10121 </row>
10122 <row topline="true">
10123 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10124 \begin_inset Text
10125
10126 \begin_layout Standard
10127 d
10128 \end_layout
10129
10130 \end_inset
10131 </cell>
10132 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10133 \begin_inset Text
10134
10135 \begin_layout Standard
10136 e
10137 \end_layout
10138
10139 \end_inset
10140 </cell>
10141 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10142 \begin_inset Text
10143
10144 \begin_layout Standard
10145 f
10146 \end_layout
10147
10148 \end_inset
10149 </cell>
10150 </row>
10151 <row topline="true" bottomline="true">
10152 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10153 \begin_inset Text
10154
10155 \begin_layout Standard
10156 g
10157 \end_layout
10158
10159 \end_inset
10160 </cell>
10161 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10162 \begin_inset Text
10163
10164 \begin_layout Standard
10165 h
10166 \end_layout
10167
10168 \end_inset
10169 </cell>
10170 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10171 \begin_inset Text
10172
10173 \begin_layout Standard
10174 i
10175 \end_layout
10176
10177 \end_inset
10178 </cell>
10179 </row>
10180 </lyxtabular>
10181
10182 \end_inset
10183
10184
10185 \hfill
10186
10187 \begin_inset Tabular
10188 <lyxtabular version="3" rows="3" columns="3">
10189 <features>
10190 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
10191 <column alignment="center" valignment="middle" leftline="true" width="0">
10192 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0">
10193 <row topline="true">
10194 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10195 \begin_inset Text
10196
10197 \begin_layout Standard
10198 \begin_inset ERT
10199 status collapsed
10200
10201 \begin_layout Standard
10202
10203
10204 \backslash
10205 hspace{0pt}
10206 \end_layout
10207
10208 \end_inset
10209
10210 verylongtablecellword
10211 \end_layout
10212
10213 \end_inset
10214 </cell>
10215 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10216 \begin_inset Text
10217
10218 \begin_layout Standard
10219 b
10220 \end_layout
10221
10222 \end_inset
10223 </cell>
10224 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10225 \begin_inset Text
10226
10227 \begin_layout Standard
10228 c
10229 \end_layout
10230
10231 \end_inset
10232 </cell>
10233 </row>
10234 <row topline="true">
10235 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10236 \begin_inset Text
10237
10238 \begin_layout Standard
10239 d
10240 \end_layout
10241
10242 \end_inset
10243 </cell>
10244 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10245 \begin_inset Text
10246
10247 \begin_layout Standard
10248 e
10249 \end_layout
10250
10251 \end_inset
10252 </cell>
10253 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10254 \begin_inset Text
10255
10256 \begin_layout Standard
10257 f
10258 \end_layout
10259
10260 \end_inset
10261 </cell>
10262 </row>
10263 <row topline="true" bottomline="true">
10264 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10265 \begin_inset Text
10266
10267 \begin_layout Standard
10268 g
10269 \end_layout
10270
10271 \end_inset
10272 </cell>
10273 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10274 \begin_inset Text
10275
10276 \begin_layout Standard
10277 h
10278 \end_layout
10279
10280 \end_inset
10281 </cell>
10282 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10283 \begin_inset Text
10284
10285 \begin_layout Standard
10286 i
10287 \end_layout
10288
10289 \end_inset
10290 </cell>
10291 </row>
10292 </lyxtabular>
10293
10294 \end_inset
10295
10296
10297 \hfill
10298
10299 \end_layout
10300
10301 \end_inset
10302
10303
10304 \end_layout
10305
10306 \begin_layout Standard
10307
10308 \newpage
10309
10310 \end_layout
10311
10312 \begin_layout Subsection
10313 Multicolumns
10314 \begin_inset LatexCommand label
10315 name "sub:Multicolumns"
10316
10317 \end_inset
10318
10319
10320 \begin_inset LatexCommand index
10321 name "Multicolumns"
10322
10323 \end_inset
10324
10325
10326 \begin_inset LatexCommand index
10327 name "Table ! Multicolumns"
10328
10329 \end_inset
10330
10331
10332 \end_layout
10333
10334 \begin_layout Subsubsection
10335 Multicolumn Basics
10336 \end_layout
10337
10338 \begin_layout Standard
10339 To span a cell over multiple columns, mark as much cells within a line that
10340  should be one spanned cell and use either the table-toolbar button 
10341 \begin_inset Graphics
10342         filename ../images/tabular-feature_multicolumn.xpm
10343         scale 85
10344
10345 \end_inset
10346
10347 , or the menu 
10348 \family sans
10349 Edit\SpecialChar \menuseparator
10350 Table\SpecialChar \menuseparator
10351 Multicolumn
10352 \family default
10353 , or right click on the marked cells and choose multicolumn in the appearing
10354  table dialog under the tab 
10355 \family sans
10356 Table Settings
10357 \family default
10358 .
10359 \end_layout
10360
10361 \begin_layout Standard
10362 Multicolumns have there own cell settings.
10363  That means changing cell borders, cell alignment, and the width only affects
10364  the multicolumn.
10365  Here is an example table with a multicolumn cell in the first row and one
10366  in the last row without the upper border:
10367 \end_layout
10368
10369 \begin_layout Standard
10370 \align center
10371 \begin_inset Tabular
10372 <lyxtabular version="3" rows="3" columns="4">
10373 <features firstHeadTopDL="true" firstHeadBottomDL="true">
10374 <column alignment="center" valignment="top" leftline="true" width="0pt">
10375 <column alignment="center" valignment="middle" leftline="true" width="0">
10376 <column alignment="center" valignment="top" leftline="true" width="0in">
10377 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
10378 <row topline="true" bottomline="true">
10379 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10380 \begin_inset Text
10381
10382 \begin_layout Standard
10383 abc
10384 \end_layout
10385
10386 \end_inset
10387 </cell>
10388 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
10389 \begin_inset Text
10390
10391 \begin_layout Standard
10392 def
10393 \lang ngerman
10394  
10395 \lang english
10396 ghi
10397 \end_layout
10398
10399 \end_inset
10400 </cell>
10401 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10402 \begin_inset Text
10403
10404 \begin_layout Standard
10405
10406 \end_layout
10407
10408 \end_inset
10409 </cell>
10410 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10411 \begin_inset Text
10412
10413 \begin_layout Standard
10414 jkl
10415 \end_layout
10416
10417 \end_inset
10418 </cell>
10419 </row>
10420 <row topline="true">
10421 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10422 \begin_inset Text
10423
10424 \begin_layout Standard
10425
10426 \family roman
10427 \series medium
10428 \shape up
10429 \size normal
10430 \emph off
10431 \bar no
10432 \noun off
10433 \color none
10434 A
10435 \end_layout
10436
10437 \end_inset
10438 </cell>
10439 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10440 \begin_inset Text
10441
10442 \begin_layout Standard
10443 B
10444 \end_layout
10445
10446 \end_inset
10447 </cell>
10448 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10449 \begin_inset Text
10450
10451 \begin_layout Standard
10452 C
10453 \end_layout
10454
10455 \end_inset
10456 </cell>
10457 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10458 \begin_inset Text
10459
10460 \begin_layout Standard
10461 D
10462 \end_layout
10463
10464 \end_inset
10465 </cell>
10466 </row>
10467 <row topline="true" bottomline="true">
10468 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10469 \begin_inset Text
10470
10471 \begin_layout Standard
10472 1
10473 \end_layout
10474
10475 \end_inset
10476 </cell>
10477 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10478 \begin_inset Text
10479
10480 \begin_layout Standard
10481 2
10482 \end_layout
10483
10484 \end_inset
10485 </cell>
10486 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10487 \begin_inset Text
10488
10489 \begin_layout Standard
10490 3
10491 \end_layout
10492
10493 \end_inset
10494 </cell>
10495 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10496 \begin_inset Text
10497
10498 \begin_layout Standard
10499 4
10500 \end_layout
10501
10502 \end_inset
10503 </cell>
10504 </row>
10505 </lyxtabular>
10506
10507 \end_inset
10508
10509
10510 \end_layout
10511
10512 \begin_layout Subsubsection
10513 Multicolumn Calculations
10514 \begin_inset LatexCommand label
10515 name "sub:Multicolumn-Calculations"
10516
10517 \end_inset
10518
10519
10520 \begin_inset LatexCommand index
10521 name "Multicolumns ! Calculations"
10522
10523 \end_inset
10524
10525
10526 \end_layout
10527
10528 \begin_layout Standard
10529 LyX supports multicolumns directly, but we have to take notice of the cell
10530  width of the columns spanned by the multicolumn cell.
10531 \end_layout
10532
10533 \begin_layout Standard
10534 \begin_inset Float table
10535 wide false
10536 sideways false
10537 status open
10538
10539 \begin_layout Standard
10540 \begin_inset Caption
10541
10542 \begin_layout Standard
10543 \begin_inset LatexCommand label
10544 name "tab:Table-with-centered"
10545
10546 \end_inset
10547
10548 Table with centered multicolumn text above two columns that have exactly
10549  half the width of the multicolumn cell
10550 \begin_inset OptArg
10551 status collapsed
10552
10553 \begin_layout Standard
10554 Perfect multicolumn table
10555 \end_layout
10556
10557 \end_inset
10558
10559
10560 \end_layout
10561
10562 \end_inset
10563
10564
10565 \end_layout
10566
10567 \begin_layout Standard
10568 \align center
10569 \begin_inset Tabular
10570 <lyxtabular version="3" rows="3" columns="3">
10571 <features>
10572 <column alignment="center" valignment="middle" leftline="true" width="0" special=">{\centering}m{1.25cm-6.2pt}">
10573 <column alignment="center" valignment="middle" leftline="true" width="0">
10574 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
10575 <row topline="true">
10576 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" special=">{\centering}m{2.5cm}">
10577 \begin_inset Text
10578
10579 \begin_layout Standard
10580 multiple lines multicolumn
10581 \end_layout
10582
10583 \end_inset
10584 </cell>
10585 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10586 \begin_inset Text
10587
10588 \begin_layout Standard
10589
10590 \end_layout
10591
10592 \end_inset
10593 </cell>
10594 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10595 \begin_inset Text
10596
10597 \begin_layout Standard
10598 c
10599 \end_layout
10600
10601 \end_inset
10602 </cell>
10603 </row>
10604 <row topline="true">
10605 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10606 \begin_inset Text
10607
10608 \begin_layout Standard
10609 d
10610 \end_layout
10611
10612 \end_inset
10613 </cell>
10614 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10615 \begin_inset Text
10616
10617 \begin_layout Standard
10618 e
10619 \end_layout
10620
10621 \end_inset
10622 </cell>
10623 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10624 \begin_inset Text
10625
10626 \begin_layout Standard
10627 f
10628 \end_layout
10629
10630 \end_inset
10631 </cell>
10632 </row>
10633 <row topline="true" bottomline="true">
10634 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10635 \begin_inset Text
10636
10637 \begin_layout Standard
10638 g
10639 \end_layout
10640
10641 \end_inset
10642 </cell>
10643 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10644 \begin_inset Text
10645
10646 \begin_layout Standard
10647 h
10648 \end_layout
10649
10650 \end_inset
10651 </cell>
10652 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10653 \begin_inset Text
10654
10655 \begin_layout Standard
10656 i
10657 \end_layout
10658
10659 \end_inset
10660 </cell>
10661 </row>
10662 </lyxtabular>
10663
10664 \end_inset
10665
10666
10667 \end_layout
10668
10669 \end_inset
10670
10671
10672 \end_layout
10673
10674 \begin_layout Standard
10675 To create for example Table\InsetSpace ~
10676
10677 \begin_inset LatexCommand ref
10678 reference "tab:Table-with-centered"
10679
10680 \end_inset
10681
10682 , mark the first two cells in the first row of a 3×3 table and right-click
10683  on them.
10684  Now choose for this cell 
10685 \emph on
10686 multicolumn
10687 \emph default
10688
10689 \emph on
10690 centered alignment
10691 \emph default
10692  and a width of 2.5\InsetSpace \thinspace{}
10693 cm in the table dialog.
10694  The spanned columns should have exactly half the width of the multicolumn
10695  cell, so that you would adjust a width of 1.25\InsetSpace \thinspace{}
10696 cm for the first column.
10697  The second column has then automatically a width of 1.25\InsetSpace \thinspace{}
10698 cm (multicolumn
10699  width - width of first column).
10700  This was done for Table\InsetSpace ~
10701
10702 \begin_inset LatexCommand ref
10703 reference "tab:Table-without-half"
10704
10705 \end_inset
10706
10707 .
10708 \end_layout
10709
10710 \begin_layout Standard
10711 \begin_inset Float table
10712 wide false
10713 sideways false
10714 status open
10715
10716 \begin_layout Standard
10717 \begin_inset Caption
10718
10719 \begin_layout Standard
10720 \begin_inset LatexCommand label
10721 name "tab:Table-without-half"
10722
10723 \end_inset
10724
10725 Table where the spanned table columns have not exactly half the width of
10726  the multicolumn cell
10727 \begin_inset OptArg
10728 status collapsed
10729
10730 \begin_layout Standard
10731 Imperfect multicolumn table
10732 \end_layout
10733
10734 \end_inset
10735
10736
10737 \end_layout
10738
10739 \end_inset
10740
10741
10742 \end_layout
10743
10744 \begin_layout Standard
10745 \align center
10746 \begin_inset Tabular
10747 <lyxtabular version="3" rows="3" columns="3">
10748 <features>
10749 <column alignment="center" valignment="top" leftline="true" width="1.25cm">
10750 <column alignment="center" valignment="top" leftline="true" width="0">
10751 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
10752 <row topline="true" bottomline="true">
10753 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
10754 \begin_inset Text
10755
10756 \begin_layout Standard
10757 multiple lines multicolumn
10758 \end_layout
10759
10760 \end_inset
10761 </cell>
10762 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10763 \begin_inset Text
10764
10765 \begin_layout Standard
10766
10767 \end_layout
10768
10769 \end_inset
10770 </cell>
10771 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10772 \begin_inset Text
10773
10774 \begin_layout Standard
10775 c
10776 \end_layout
10777
10778 \end_inset
10779 </cell>
10780 </row>
10781 <row topline="true">
10782 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10783 \begin_inset Text
10784
10785 \begin_layout Standard
10786 d
10787 \end_layout
10788
10789 \end_inset
10790 </cell>
10791 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10792 \begin_inset Text
10793
10794 \begin_layout Standard
10795 e
10796 \end_layout
10797
10798 \end_inset
10799 </cell>
10800 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10801 \begin_inset Text
10802
10803 \begin_layout Standard
10804 f
10805 \end_layout
10806
10807 \end_inset
10808 </cell>
10809 </row>
10810 <row topline="true" bottomline="true">
10811 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10812 \begin_inset Text
10813
10814 \begin_layout Standard
10815 g
10816 \end_layout
10817
10818 \end_inset
10819 </cell>
10820 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10821 \begin_inset Text
10822
10823 \begin_layout Standard
10824 h
10825 \end_layout
10826
10827 \end_inset
10828 </cell>
10829 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10830 \begin_inset Text
10831
10832 \begin_layout Standard
10833 i
10834 \end_layout
10835
10836 \end_inset
10837 </cell>
10838 </row>
10839 </lyxtabular>
10840
10841 \end_inset
10842
10843
10844 \end_layout
10845
10846 \end_inset
10847
10848
10849 \end_layout
10850
10851 \begin_layout Standard
10852 You can see that the first column has not the half width of the multicolumn
10853  cell, it is a bit bigger.
10854  The reason is that the given width of a cell 
10855 \begin_inset Formula $W_{g}$
10856 \end_inset
10857
10858  is not its total width 
10859 \begin_inset Formula $W_{\mathrm{tot}}$
10860 \end_inset
10861
10862  because a cell is always a bit larger than its given width.
10863  Appendix\InsetSpace ~
10864
10865 \begin_inset LatexCommand eqref
10866 reference "cha:Explanation-of-Equation"
10867
10868 \end_inset
10869
10870  explains it in detail.
10871 \end_layout
10872
10873 \begin_layout Standard
10874 The needed given width 
10875 \begin_inset Formula $W_{g\, n}$
10876 \end_inset
10877
10878  when 
10879 \emph on
10880 n
10881 \emph default
10882  columns are spanned can be calculated, so that each column has a total
10883  width of 
10884 \begin_inset Formula $W_{\mathrm{tot\, multicolumn}}/n$
10885 \end_inset
10886
10887 :
10888 \begin_inset Formula \begin{equation}
10889 W_{g\, n}=(W_{g\,\mathrm{multicolumn}}+(1-n)·(12.4\,\mathrm{pt}))/n\label{eq:Wgn}\end{equation}
10890
10891 \end_inset
10892
10893
10894 \end_layout
10895
10896 \begin_layout Standard
10897 In our case we have 
10898 \begin_inset Formula $n=2$
10899 \end_inset
10900
10901
10902 \begin_inset Formula $W_{g\,\mathrm{multicolumn}}=2.5\,$
10903 \end_inset
10904
10905 cm and the default values for the lengths, so that equation 
10906 \begin_inset LatexCommand ref
10907 reference "eq:Wgn"
10908
10909 \end_inset
10910
10911  becomes
10912 \begin_inset Formula \begin{equation}
10913 W_{g\,2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}\end{equation}
10914
10915 \end_inset
10916
10917
10918 \end_layout
10919
10920 \begin_layout Standard
10921 To enable calculations in LaTeX, the LaTeX-package 
10922 \series bold
10923 calc
10924 \series default
10925  must be loaded with the document preamble line
10926 \begin_inset LatexCommand index
10927 name "LaTeX-packages ! calc"
10928
10929 \end_inset
10930
10931
10932 \end_layout
10933
10934 \begin_layout Standard
10935
10936 \series bold
10937
10938 \backslash
10939 usepackage{calc}
10940 \end_layout
10941
10942 \begin_layout Standard
10943 LyX does not allow to calculate lengths in the width-field of the table
10944  dialog.
10945  Therefore you have to format the column by inserting a LaTeX-argument in
10946  the dialog.
10947  Here is an overview about the arguments:
10948 \end_layout
10949
10950 \begin_layout Itemize
10951
10952 \series bold
10953 p{width}
10954 \series default
10955  creates cell with a fixed width, its text is vertically top-aligned
10956 \end_layout
10957
10958 \begin_layout Itemize
10959
10960 \series bold
10961 m{width}
10962 \series default
10963  creates cell with a fixed width, its text is vertically centered
10964 \end_layout
10965
10966 \begin_layout Itemize
10967
10968 \series bold
10969 b{width}
10970 \series default
10971  creates cell with a fixed width, its text is vertically bottom-aligned
10972 \end_layout
10973
10974 \begin_layout Standard
10975 By entering a LaTeX-argument, all cell properties set in the table dialog
10976  are overwritten.
10977  
10978 \begin_inset Note Greyedout
10979 status open
10980
10981 \begin_layout Standard
10982
10983 \series bold
10984 Note:
10985 \series default
10986  Due to a bug, LyX shows the overwritten properties anyway.
10987 \end_layout
10988
10989 \end_inset
10990
10991  As the text should be horizontally centered, the command 
10992 \series bold
10993
10994 \backslash
10995 centering
10996 \series default
10997  is added.
10998  You can now enter the following LaTeX-argument for the first spanned column:
10999 \end_layout
11000
11001 \begin_layout Standard
11002
11003 \series bold
11004 >{
11005 \backslash
11006 centering}m{1.25cm-6.2pt}
11007 \end_layout
11008
11009 \begin_layout Standard
11010 The command 
11011 \series bold
11012 >{ }
11013 \series default
11014  means, that the commands inside the braces are applied before the cell
11015  is created.
11016 \end_layout
11017
11018 \begin_layout Standard
11019 Although we have chosen centered alignment for the text of the multicolumn
11020  cell, it is still left aligned.
11021  This is because LyX only applies the alignment to single columns.
11022  So we have to use for the multicolumn the LaTeX-argument
11023 \end_layout
11024
11025 \begin_layout Standard
11026
11027 \series bold
11028 >{
11029 \backslash
11030 centering}m{2.5cm}
11031 \end_layout
11032
11033 \begin_layout Subsection
11034 Multirows
11035 \begin_inset LatexCommand index
11036 name "Multirows"
11037
11038 \end_inset
11039
11040
11041 \begin_inset LatexCommand index
11042 name "Table ! Multirows"
11043
11044 \end_inset
11045
11046
11047 \begin_inset LatexCommand index
11048 name "LaTeX-packages ! multirow"
11049
11050 \end_inset
11051
11052
11053 \end_layout
11054
11055 \begin_layout Standard
11056 In contrary to multicolumns multirows are not yet supported by LyX so a
11057  bit of ERT needs to be used.
11058  To use multirows load the LaTeX-package 
11059 \series bold
11060 multirow
11061 \series default
11062  in your document preamble with the command
11063 \end_layout
11064
11065 \begin_layout Standard
11066
11067 \series bold
11068
11069 \backslash
11070 usepackage{multirow}
11071 \end_layout
11072
11073 \begin_layout Standard
11074 Multirows are created with the command
11075 \end_layout
11076
11077 \begin_layout Standard
11078
11079 \series bold
11080
11081 \backslash
11082 multirow{number of rows}{cell width}{cell entry}
11083 \end_layout
11084
11085 \begin_layout Standard
11086 To create the following table:
11087 \end_layout
11088
11089 \begin_layout Standard
11090 \align center
11091 \begin_inset ERT
11092 status collapsed
11093
11094 \begin_layout Standard
11095
11096
11097 \backslash
11098 renewcommand{
11099 \backslash
11100 multirowsetup}{
11101 \backslash
11102 centering}
11103 \end_layout
11104
11105 \end_inset
11106
11107
11108 \begin_inset Tabular
11109 <lyxtabular version="3" rows="3" columns="3">
11110 <features>
11111 <column alignment="center" valignment="top" leftline="true" width="0">
11112 <column alignment="center" valignment="top" leftline="true" width="0">
11113 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
11114 <row topline="true">
11115 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11116 \begin_inset Text
11117
11118 \begin_layout Standard
11119 a
11120 \end_layout
11121
11122 \end_inset
11123 </cell>
11124 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11125 \begin_inset Text
11126
11127 \begin_layout Standard
11128 b
11129 \end_layout
11130
11131 \end_inset
11132 </cell>
11133 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11134 \begin_inset Text
11135
11136 \begin_layout Standard
11137 c
11138 \end_layout
11139
11140 \end_inset
11141 </cell>
11142 </row>
11143 <row topline="true">
11144 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11145 \begin_inset Text
11146
11147 \begin_layout Standard
11148 \begin_inset ERT
11149 status collapsed
11150
11151 \begin_layout Standard
11152
11153
11154 \backslash
11155 multirow{2}{2.5cm}{
11156 \end_layout
11157
11158 \end_inset
11159
11160 multirow entry
11161 \begin_inset ERT
11162 status collapsed
11163
11164 \begin_layout Standard
11165
11166 }
11167 \end_layout
11168
11169 \end_inset
11170
11171
11172 \end_layout
11173
11174 \end_inset
11175 </cell>
11176 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11177 \begin_inset Text
11178
11179 \begin_layout Standard
11180 e
11181 \end_layout
11182
11183 \end_inset
11184 </cell>
11185 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11186 \begin_inset Text
11187
11188 \begin_layout Standard
11189 f
11190 \end_layout
11191
11192 \end_inset
11193 </cell>
11194 </row>
11195 <row topline="true" bottomline="true">
11196 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11197 \begin_inset Text
11198
11199 \begin_layout Standard
11200
11201 \end_layout
11202
11203 \end_inset
11204 </cell>
11205 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11206 \begin_inset Text
11207
11208 \begin_layout Standard
11209 h
11210 \end_layout
11211
11212 \end_inset
11213 </cell>
11214 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11215 \begin_inset Text
11216
11217 \begin_layout Standard
11218 i
11219 \end_layout
11220
11221 \end_inset
11222 </cell>
11223 </row>
11224 </lyxtabular>
11225
11226 \end_inset
11227
11228
11229 \begin_inset ERT
11230 status collapsed
11231
11232 \begin_layout Standard
11233
11234
11235 \backslash
11236 renewcommand{
11237 \backslash
11238 multirowsetup}{
11239 \backslash
11240 raggedright}
11241 \end_layout
11242
11243 \end_inset
11244
11245
11246 \end_layout
11247
11248 \begin_layout Standard
11249 create a 3×3 table.
11250  To get rid of the line above the last cell in the first column, the cell
11251  is marked as multicolumn and the upper border is unset.
11252  The multirow is now created in the second row of the first column by inserting
11253  there the command
11254 \end_layout
11255
11256 \begin_layout Standard
11257
11258 \series bold
11259
11260 \backslash
11261 multirow{2}{2.5cm}{
11262 \end_layout
11263
11264 \begin_layout Standard
11265 as ERT.
11266  According to the command parameters the multirow spans now two rows and
11267  has a width of 2.5\InsetSpace \thinspace{}
11268 cm.
11269  The content of the multirow cell follows outside the ERT box and the command
11270  is finished with a right brace 
11271 \series bold
11272 }
11273 \series default
11274  in another ERT-box behind the text.
11275 \end_layout
11276
11277 \begin_layout Standard
11278
11279 \series bold
11280
11281 \backslash
11282 multirow
11283 \series default
11284  left-aligns its content by default.
11285  To override the default, renew the command 
11286 \series bold
11287
11288 \backslash
11289 multirowsetup
11290 \series default
11291  with the command
11292 \end_layout
11293
11294 \begin_layout Standard
11295
11296 \series bold
11297
11298 \backslash
11299 renewcommand{
11300 \backslash
11301 multirowsetup}{
11302 \backslash
11303 centering}
11304 \end_layout
11305
11306 \begin_layout Standard
11307 in ERT in the document preamble.
11308  Then all entries of multirow cells in the document are centered.
11309  If centering is only needed for several tables, you can renew the command
11310  in an ERT box just before the table instead of the preamble.
11311  If the text should be right-aligned, replace 
11312 \series bold
11313
11314 \backslash
11315 centering
11316 \series default
11317  by 
11318 \series bold
11319
11320 \backslash
11321 raggedleft
11322 \series default
11323 .
11324  To return to left-alignment 
11325 \series bold
11326
11327 \backslash
11328 raggedright
11329 \series default
11330  is used.
11331 \end_layout
11332
11333 \begin_layout Section
11334 Formal Tables
11335 \begin_inset LatexCommand label
11336 name "sec:Formal-Tables"
11337
11338 \end_inset
11339
11340
11341 \begin_inset LatexCommand index
11342 name "Table ! Formal"
11343
11344 \end_inset
11345
11346
11347 \end_layout
11348
11349 \begin_layout Standard
11350 Tables are often typeset in books similar to Table\InsetSpace ~
11351
11352 \begin_inset LatexCommand ref
11353 reference "tab:Example-booktabs-table"
11354
11355 \end_inset
11356
11357 .
11358  This kind of tables is called 
11359 \begin_inset Quotes eld
11360 \end_inset
11361
11362
11363 \emph on
11364 formal
11365 \emph default
11366
11367 \begin_inset Quotes erd
11368 \end_inset
11369
11370 .
11371  To make a table a formal table use the option 
11372 \family sans
11373 Formal
11374 \family default
11375  in the 
11376 \family sans
11377 Borders
11378 \family default
11379  tab of the table dialog.
11380 \end_layout
11381
11382 \begin_layout Standard
11383 \begin_inset Float table
11384 placement h
11385 wide false
11386 sideways false
11387 status open
11388
11389 \begin_layout Standard
11390 \begin_inset Caption
11391
11392 \begin_layout Standard
11393 \begin_inset LatexCommand label
11394 name "tab:Example-booktabs-table"
11395
11396 \end_inset
11397
11398 Example booktabs-table
11399 \end_layout
11400
11401 \end_inset
11402
11403
11404 \end_layout
11405
11406 \begin_layout Standard
11407 \align center
11408 \begin_inset Tabular
11409 <lyxtabular version="3" rows="8" columns="4">
11410 <features booktabs="true">
11411 <column alignment="center" valignment="top" rightline="true" width="0">
11412 <column alignment="center" valignment="top" width="0">
11413 <column alignment="center" valignment="top" width="0">
11414 <column alignment="center" valignment="top" width="0">
11415 <row topline="true">
11416 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11417 \begin_inset Text
11418
11419 \begin_layout Standard
11420 System
11421 \end_layout
11422
11423 \end_inset
11424 </cell>
11425 <cell alignment="center" valignment="top" topline="true" usebox="none">
11426 \begin_inset Text
11427
11428 \begin_layout Standard
11429 Medipix
11430 \begin_inset Formula $\,$
11431 \end_inset
11432
11433 1
11434 \end_layout
11435
11436 \end_inset
11437 </cell>
11438 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" usebox="none">
11439 \begin_inset Text
11440
11441 \begin_layout Standard
11442 Medipix
11443 \begin_inset Formula $\,$
11444 \end_inset
11445
11446 2
11447 \end_layout
11448
11449 \end_inset
11450 </cell>
11451 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11452 \begin_inset Text
11453
11454 \begin_layout Standard
11455
11456 \end_layout
11457
11458 \end_inset
11459 </cell>
11460 </row>
11461 <row>
11462 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11463 \begin_inset Text
11464
11465 \begin_layout Standard
11466 \begin_inset ERT
11467 status collapsed
11468
11469 \begin_layout Standard
11470
11471
11472 \backslash
11473 cmidrule(r){2-2}
11474 \end_layout
11475
11476 \end_inset
11477
11478
11479 \begin_inset ERT
11480 status collapsed
11481
11482 \begin_layout Standard
11483
11484
11485 \backslash
11486 cmidrule(l){3-4}
11487 \end_layout
11488
11489 \end_inset
11490
11491 Detector thickness [µm]
11492 \end_layout
11493
11494 \end_inset
11495 </cell>
11496 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11497 \begin_inset Text
11498
11499 \begin_layout Standard
11500 300
11501 \end_layout
11502
11503 \end_inset
11504 </cell>
11505 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11506 \begin_inset Text
11507
11508 \begin_layout Standard
11509 300
11510 \end_layout
11511
11512 \end_inset
11513 </cell>
11514 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11515 \begin_inset Text
11516
11517 \begin_layout Standard
11518 700
11519 \end_layout
11520
11521 \end_inset
11522 </cell>
11523 </row>
11524 <row topline="true">
11525 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11526 \begin_inset Text
11527
11528 \begin_layout Standard
11529 Edge angle [°]
11530 \end_layout
11531
11532 \end_inset
11533 </cell>
11534 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11535 \begin_inset Text
11536
11537 \begin_layout Standard
11538 3.55
11539 \end_layout
11540
11541 \end_inset
11542 </cell>
11543 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11544 \begin_inset Text
11545
11546 \begin_layout Standard
11547 2.71
11548 \end_layout
11549
11550 \end_inset
11551 </cell>
11552 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11553 \begin_inset Text
11554
11555 \begin_layout Standard
11556 7.99
11557 \end_layout
11558
11559 \end_inset
11560 </cell>
11561 </row>
11562 <row topspace="default">
11563 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11564 \begin_inset Text
11565
11566 \begin_layout Standard
11567 Spatial resolution [µm]
11568 \end_layout
11569
11570 \end_inset
11571 </cell>
11572 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11573 \begin_inset Text
11574
11575 \begin_layout Standard
11576 4.26
11577 \end_layout
11578
11579 \end_inset
11580 </cell>
11581 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11582 \begin_inset Text
11583
11584 \begin_layout Standard
11585 10.17
11586 \end_layout
11587
11588 \end_inset
11589 </cell>
11590 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11591 \begin_inset Text
11592
11593 \begin_layout Standard
11594 10.56
11595 \end_layout
11596
11597 \end_inset
11598 </cell>
11599 </row>
11600 <row topspace="default">
11601 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11602 \begin_inset Text
11603
11604 \begin_layout Standard
11605 MTF at 
11606 \begin_inset Formula $f_{\mathrm{max}}$
11607 \end_inset
11608
11609
11610 \end_layout
11611
11612 \end_inset
11613 </cell>
11614 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11615 \begin_inset Text
11616
11617 \begin_layout Standard
11618 0.53
11619 \end_layout
11620
11621 \end_inset
11622 </cell>
11623 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11624 \begin_inset Text
11625
11626 \begin_layout Standard
11627 0.37
11628 \end_layout
11629
11630 \end_inset
11631 </cell>
11632 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11633 \begin_inset Text
11634
11635 \begin_layout Standard
11636 0.39
11637 \end_layout
11638
11639 \end_inset
11640 </cell>
11641 </row>
11642 <row topspace="default">
11643 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11644 \begin_inset Text
11645
11646 \begin_layout Standard
11647 \begin_inset ERT
11648 status collapsed
11649
11650 \begin_layout Standard
11651
11652
11653 \backslash
11654 cmidrule(l{10pt}){1-1}
11655 \end_layout
11656
11657 \end_inset
11658
11659 LSF-spatial resolution
11660 \end_layout
11661
11662 \end_inset
11663 </cell>
11664 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11665 \begin_inset Text
11666
11667 \begin_layout Standard
11668
11669 \end_layout
11670
11671 \end_inset
11672 </cell>
11673 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11674 \begin_inset Text
11675
11676 \begin_layout Standard
11677
11678 \end_layout
11679
11680 \end_inset
11681 </cell>
11682 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11683 \begin_inset Text
11684
11685 \begin_layout Standard
11686
11687 \end_layout
11688
11689 \end_inset
11690 </cell>
11691 </row>
11692 <row>
11693 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11694 \begin_inset Text
11695
11696 \begin_layout Standard
11697 in µm
11698 \end_layout
11699
11700 \end_inset
11701 </cell>
11702 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11703 \begin_inset Text
11704
11705 \begin_layout Standard
11706 129.7
11707 \end_layout
11708
11709 \end_inset
11710 </cell>
11711 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11712 \begin_inset Text
11713
11714 \begin_layout Standard
11715 52.75
11716 \end_layout
11717
11718 \end_inset
11719 </cell>
11720 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11721 \begin_inset Text
11722
11723 \begin_layout Standard
11724 50.78
11725 \end_layout
11726
11727 \end_inset
11728 </cell>
11729 </row>
11730 <row bottomline="true">
11731 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11732 \begin_inset Text
11733
11734 \begin_layout Standard
11735 in % of pixel size
11736 \end_layout
11737
11738 \end_inset
11739 </cell>
11740 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11741 \begin_inset Text
11742
11743 \begin_layout Standard
11744 76.3
11745 \end_layout
11746
11747 \end_inset
11748 </cell>
11749 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11750 \begin_inset Text
11751
11752 \begin_layout Standard
11753 95.9
11754 \end_layout
11755
11756 \end_inset
11757 </cell>
11758 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11759 \begin_inset Text
11760
11761 \begin_layout Standard
11762 92.3
11763 \end_layout
11764
11765 \end_inset
11766 </cell>
11767 </row>
11768 </lyxtabular>
11769
11770 \end_inset
11771
11772
11773 \end_layout
11774
11775 \end_inset
11776
11777
11778 \end_layout
11779
11780 \begin_layout Standard
11781 Spaces to table rows can be added using the 
11782 \family sans
11783 Borders
11784 \family default
11785  tab of the table dialog as described in section\InsetSpace ~
11786
11787 \begin_inset LatexCommand ref
11788 reference "sub:Row-Spacing"
11789
11790 \end_inset
11791
11792 .
11793 \end_layout
11794
11795 \begin_layout Standard
11796 In contrary to normal tables, formal tables have no vertical table lines.
11797  The horizontal table lines can be set like for normal tables but they appear
11798  with different width in the output:
11799 \newline
11800 The first and the last table line have
11801  a default width of 0.08\InsetSpace \thinspace{}
11802 em while the other lines have a default width of
11803  0.05\InsetSpace \thinspace{}
11804 em.
11805 \end_layout
11806
11807 \begin_layout Standard
11808 The default widths can be changed with the following preamble lines
11809 \end_layout
11810
11811 \begin_layout Standard
11812
11813 \series bold
11814
11815 \backslash
11816 let
11817 \backslash
11818 mytoprule
11819 \backslash
11820 toprule
11821 \newline
11822
11823 \backslash
11824 renewcommand{
11825 \backslash
11826 toprule}{
11827 \backslash
11828 mytoprule[width]}
11829 \end_layout
11830
11831 \begin_layout Standard
11832 This example is for the first line, the so called toprule.
11833  If you want to change the width for the last line, replace 
11834 \series bold
11835 toprule
11836 \series default
11837  by 
11838 \series bold
11839 bottomrule
11840 \series default
11841 .
11842  To change the width for the other lines replace 
11843 \series bold
11844 toprule
11845 \series default
11846  by 
11847 \series bold
11848 midrule
11849 \series default
11850 .
11851  You can use all units listed in appendix\InsetSpace ~
11852
11853 \begin_inset LatexCommand ref
11854 reference "cha:Units-available-in"
11855
11856 \end_inset
11857
11858  to set the width.
11859 \end_layout
11860
11861 \begin_layout Standard
11862 Lines that don't span over all table columns can be created by setting a
11863  table line for multicolumn cells.
11864  LyX will then internally use the command 
11865 \series bold
11866
11867 \backslash
11868 cmidrule
11869 \series default
11870  to create this line.
11871  Its full scheme is
11872 \end_layout
11873
11874 \begin_layout Standard
11875
11876 \series bold
11877
11878 \backslash
11879 cmidrule[width](trim){startcol-endcol}
11880 \end_layout
11881
11882 \begin_layout Standard
11883 The options of 
11884 \series bold
11885
11886 \backslash
11887 cmidrule
11888 \series default
11889  are are currently not supported by LyX so you have to use ERT to be able
11890  to use them.
11891  
11892 \series bold
11893
11894 \backslash
11895 cmidrule
11896 \series default
11897 s can manually be created by inserting the command as ERT as first cell
11898  entry of the first cell of a row.
11899  The line is then drawn in the output above the current row.
11900 \end_layout
11901
11902 \begin_layout Standard
11903 The default for the width is 0.03\InsetSpace \thinspace{}
11904 em.
11905  Startcol is the number of the column where the line starts and endcol the
11906  column number where the line ends.
11907  The endcol always needs to be specified, also when the line should span
11908  only one column.
11909  The optional parameter trim could be either 
11910 \emph on
11911 l{trimwidth}
11912 \emph default
11913 , or 
11914 \emph on
11915 r{trimwidth}
11916 \emph default
11917  where the trimwidth is also optional.
11918  Using for example the parameter 
11919 \emph on
11920 l{2pt}
11921 \emph default
11922  means that the line is trimmed from its left end by 2\InsetSpace \thinspace{}
11923 pt.
11924  If you don't specify the trimwidth the lines are trimmed by the default
11925  of 0.5\InsetSpace \thinspace{}
11926 em.
11927 \end_layout
11928
11929 \begin_layout Standard
11930 \begin_inset VSpace bigskip
11931 \end_inset
11932
11933 Table\InsetSpace ~
11934
11935 \begin_inset LatexCommand ref
11936 reference "tab:Example-booktabs-table"
11937
11938 \end_inset
11939
11940  was created using the commands
11941 \end_layout
11942
11943 \begin_layout Standard
11944
11945 \series bold
11946
11947 \backslash
11948 cmidrule(r){2-2}
11949 \backslash
11950 cmidrule(l){3-4}
11951 \end_layout
11952
11953 \begin_layout Standard
11954 at the beginning of the in the second row and
11955 \end_layout
11956
11957 \begin_layout Standard
11958
11959 \series bold
11960
11961 \backslash
11962 cmidrule(l{10pt}){1-1}
11963 \end_layout
11964
11965 \begin_layout Standard
11966 in the sixth row.
11967 \end_layout
11968
11969 \begin_layout Standard
11970
11971 \end_layout
11972
11973 \begin_layout Standard
11974 \begin_inset VSpace bigskip
11975 \end_inset
11976
11977
11978 \end_layout
11979
11980 \begin_layout Standard
11981 You might want to have overlapping 
11982 \series bold
11983
11984 \backslash
11985 cmidrule
11986 \series default
11987 s like in Table\InsetSpace ~
11988
11989 \begin_inset LatexCommand ref
11990 reference "tab:Special-booktabs-table"
11991
11992 \end_inset
11993
11994 .
11995  This can be achieved with the ERT command
11996 \end_layout
11997
11998 \begin_layout Standard
11999
12000 \series bold
12001
12002 \backslash
12003 morecmidrules
12004 \end_layout
12005
12006 \begin_layout Standard
12007 The command that was used for the second row of Table\InsetSpace ~
12008
12009 \begin_inset LatexCommand ref
12010 reference "tab:Special-booktabs-table"
12011
12012 \end_inset
12013
12014  is
12015 \end_layout
12016
12017 \begin_layout Standard
12018
12019 \series bold
12020
12021 \backslash
12022 cmidrule(r){2-2}
12023 \backslash
12024 cmidrule(l){3-4}
12025 \backslash
12026 morecmidrules
12027 \backslash
12028 cmidrule{2-4}
12029 \end_layout
12030
12031 \begin_layout Standard
12032 The command for the sixth row is
12033 \end_layout
12034
12035 \begin_layout Standard
12036
12037 \series bold
12038
12039 \backslash
12040 midrule
12041 \backslash
12042 morecmidrules
12043 \backslash
12044 cmidrule{3-4}
12045 \end_layout
12046
12047 \begin_layout Standard
12048 \begin_inset VSpace bigskip
12049 \end_inset
12050
12051
12052 \end_layout
12053
12054 \begin_layout Standard
12055 If you are anyway not satisfied with the border line spacing, you can use
12056  the following command to produce lines that span over all table columns
12057 \series bold
12058 :
12059 \end_layout
12060
12061 \begin_layout Standard
12062
12063 \series bold
12064
12065 \backslash
12066 specialrule{width}{space above}{space below}
12067 \end_layout
12068
12069 \begin_layout Standard
12070 For more informations about these specialties, we refer to the manual of
12071  the LaTeX-package 
12072 \series bold
12073 booktabs
12074 \series default
12075  
12076 \begin_inset LatexCommand cite
12077 key "booktabs"
12078
12079 \end_inset
12080
12081 .
12082 \begin_inset LatexCommand index
12083 name "LaTeX-packages ! booktabs"
12084
12085 \end_inset
12086
12087
12088 \end_layout
12089
12090 \begin_layout Standard
12091 \begin_inset Float table
12092 placement h
12093 wide false
12094 sideways false
12095 status open
12096
12097 \begin_layout Standard
12098 \begin_inset Caption
12099
12100 \begin_layout Standard
12101 \begin_inset LatexCommand label
12102 name "tab:Special-booktabs-table"
12103
12104 \end_inset
12105
12106 Special booktabs-table
12107 \end_layout
12108
12109 \end_inset
12110
12111
12112 \end_layout
12113
12114 \begin_layout Standard
12115 \align center
12116 \begin_inset Tabular
12117 <lyxtabular version="3" rows="8" columns="4">
12118 <features booktabs="true">
12119 <column alignment="center" valignment="top" width="0">
12120 <column alignment="center" valignment="top" width="0">
12121 <column alignment="center" valignment="top" width="0">
12122 <column alignment="center" valignment="top" width="0">
12123 <row topline="true">
12124 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12125 \begin_inset Text
12126
12127 \begin_layout Standard
12128 System
12129 \end_layout
12130
12131 \end_inset
12132 </cell>
12133 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12134 \begin_inset Text
12135
12136 \begin_layout Standard
12137 Medipix\InsetSpace \thinspace{}
12138 1
12139 \end_layout
12140
12141 \end_inset
12142 </cell>
12143 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" usebox="none">
12144 \begin_inset Text
12145
12146 \begin_layout Standard
12147 Medipix\InsetSpace \thinspace{}
12148 2
12149 \end_layout
12150
12151 \end_inset
12152 </cell>
12153 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12154 \begin_inset Text
12155
12156 \begin_layout Standard
12157
12158 \end_layout
12159
12160 \end_inset
12161 </cell>
12162 </row>
12163 <row>
12164 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12165 \begin_inset Text
12166
12167 \begin_layout Standard
12168 \begin_inset ERT
12169 status collapsed
12170
12171 \begin_layout Standard
12172
12173
12174 \backslash
12175 cmidrule(r){2-2}
12176 \end_layout
12177
12178 \end_inset
12179
12180
12181 \begin_inset ERT
12182 status collapsed
12183
12184 \begin_layout Standard
12185
12186
12187 \backslash
12188 cmidrule(l){3-4}
12189 \end_layout
12190
12191 \end_inset
12192
12193
12194 \begin_inset ERT
12195 status collapsed
12196
12197 \begin_layout Standard
12198
12199
12200 \backslash
12201 morecmidrules 
12202 \end_layout
12203
12204 \end_inset
12205
12206
12207 \begin_inset ERT
12208 status collapsed
12209
12210 \begin_layout Standard
12211
12212
12213 \backslash
12214 cmidrule{2-4}
12215 \end_layout
12216
12217 \end_inset
12218
12219 Detector thickness [µm]
12220 \end_layout
12221
12222 \end_inset
12223 </cell>
12224 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12225 \begin_inset Text
12226
12227 \begin_layout Standard
12228 300
12229 \end_layout
12230
12231 \end_inset
12232 </cell>
12233 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12234 \begin_inset Text
12235
12236 \begin_layout Standard
12237 300
12238 \end_layout
12239
12240 \end_inset
12241 </cell>
12242 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12243 \begin_inset Text
12244
12245 \begin_layout Standard
12246 700
12247 \end_layout
12248
12249 \end_inset
12250 </cell>
12251 </row>
12252 <row topline="true">
12253 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12254 \begin_inset Text
12255
12256 \begin_layout Standard
12257 Edge angle [°]
12258 \end_layout
12259
12260 \end_inset
12261 </cell>
12262 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12263 \begin_inset Text
12264
12265 \begin_layout Standard
12266 3.55
12267 \end_layout
12268
12269 \end_inset
12270 </cell>
12271 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12272 \begin_inset Text
12273
12274 \begin_layout Standard
12275 2.71
12276 \end_layout
12277
12278 \end_inset
12279 </cell>
12280 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12281 \begin_inset Text
12282
12283 \begin_layout Standard
12284 7.99
12285 \end_layout
12286
12287 \end_inset
12288 </cell>
12289 </row>
12290 <row topspace="default">
12291 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12292 \begin_inset Text
12293
12294 \begin_layout Standard
12295 Spatial resolution [µm]
12296 \end_layout
12297
12298 \end_inset
12299 </cell>
12300 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12301 \begin_inset Text
12302
12303 \begin_layout Standard
12304 4.26
12305 \end_layout
12306
12307 \end_inset
12308 </cell>
12309 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12310 \begin_inset Text
12311
12312 \begin_layout Standard
12313 10.17
12314 \end_layout
12315
12316 \end_inset
12317 </cell>
12318 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12319 \begin_inset Text
12320
12321 \begin_layout Standard
12322 10.56
12323 \end_layout
12324
12325 \end_inset
12326 </cell>
12327 </row>
12328 <row topspace="default">
12329 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12330 \begin_inset Text
12331
12332 \begin_layout Standard
12333 MTF at 
12334 \begin_inset Formula $f_{\mathrm{max}}$
12335 \end_inset
12336
12337
12338 \end_layout
12339
12340 \end_inset
12341 </cell>
12342 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12343 \begin_inset Text
12344
12345 \begin_layout Standard
12346 0.53
12347 \end_layout
12348
12349 \end_inset
12350 </cell>
12351 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12352 \begin_inset Text
12353
12354 \begin_layout Standard
12355 0.37
12356 \end_layout
12357
12358 \end_inset
12359 </cell>
12360 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12361 \begin_inset Text
12362
12363 \begin_layout Standard
12364 0.39
12365 \end_layout
12366
12367 \end_inset
12368 </cell>
12369 </row>
12370 <row topline="true">
12371 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12372 \begin_inset Text
12373
12374 \begin_layout Standard
12375 \begin_inset ERT
12376 status collapsed
12377
12378 \begin_layout Standard
12379
12380
12381 \backslash
12382 morecmidrules 
12383 \end_layout
12384
12385 \end_inset
12386
12387
12388 \begin_inset ERT
12389 status collapsed
12390
12391 \begin_layout Standard
12392
12393
12394 \backslash
12395 cmidrule{3-4}
12396 \end_layout
12397
12398 \end_inset
12399
12400 LSF-spatial resolution
12401 \end_layout
12402
12403 \end_inset
12404 </cell>
12405 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12406 \begin_inset Text
12407
12408 \begin_layout Standard
12409
12410 \end_layout
12411
12412 \end_inset
12413 </cell>
12414 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12415 \begin_inset Text
12416
12417 \begin_layout Standard
12418
12419 \end_layout
12420
12421 \end_inset
12422 </cell>
12423 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12424 \begin_inset Text
12425
12426 \begin_layout Standard
12427
12428 \end_layout
12429
12430 \end_inset
12431 </cell>
12432 </row>
12433 <row>
12434 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12435 \begin_inset Text
12436
12437 \begin_layout Standard
12438 in µm
12439 \end_layout
12440
12441 \end_inset
12442 </cell>
12443 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12444 \begin_inset Text
12445
12446 \begin_layout Standard
12447 129.7
12448 \end_layout
12449
12450 \end_inset
12451 </cell>
12452 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12453 \begin_inset Text
12454
12455 \begin_layout Standard
12456 52.75
12457 \end_layout
12458
12459 \end_inset
12460 </cell>
12461 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12462 \begin_inset Text
12463
12464 \begin_layout Standard
12465 50.78
12466 \end_layout
12467
12468 \end_inset
12469 </cell>
12470 </row>
12471 <row bottomline="true">
12472 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12473 \begin_inset Text
12474
12475 \begin_layout Standard
12476 in % of pixel size
12477 \end_layout
12478
12479 \end_inset
12480 </cell>
12481 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12482 \begin_inset Text
12483
12484 \begin_layout Standard
12485 76.3
12486 \end_layout
12487
12488 \end_inset
12489 </cell>
12490 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12491 \begin_inset Text
12492
12493 \begin_layout Standard
12494 95.9
12495 \end_layout
12496
12497 \end_inset
12498 </cell>
12499 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12500 \begin_inset Text
12501
12502 \begin_layout Standard
12503 92.3
12504 \end_layout
12505
12506 \end_inset
12507 </cell>
12508 </row>
12509 </lyxtabular>
12510
12511 \end_inset
12512
12513
12514 \end_layout
12515
12516 \end_inset
12517
12518
12519 \end_layout
12520
12521 \begin_layout Section
12522 Vertical Table Alignment
12523 \begin_inset LatexCommand index
12524 name "Table ! Alignment"
12525
12526 \end_inset
12527
12528
12529 \end_layout
12530
12531 \begin_layout Standard
12532 To align tables vertically in a text line the table must be inside a box.
12533  The box can then be vertically aligned as described in section\InsetSpace ~
12534
12535 \begin_inset LatexCommand ref
12536 reference "sec:Box-Dialog"
12537
12538 \end_inset
12539
12540 .
12541 \end_layout
12542
12543 \begin_layout Standard
12544 In the following example the tables are inside a minipage
12545 \begin_inset Foot
12546 status collapsed
12547
12548 \begin_layout Standard
12549 Minipages are described in section\InsetSpace ~
12550
12551 \begin_inset LatexCommand ref
12552 reference "sec:Minipages"
12553
12554 \end_inset
12555
12556 .
12557 \end_layout
12558
12559 \end_inset
12560
12561  box that has a width of 15\InsetSpace \thinspace{}
12562 col%:
12563 \end_layout
12564
12565 \begin_layout Itemize
12566 test 
12567 \begin_inset Box Frameless
12568 position "t"
12569 hor_pos "c"
12570 has_inner_box 1
12571 inner_pos "c"
12572 use_parbox 0
12573 width "15col%"
12574 special "none"
12575 height "1in"
12576 height_special "totalheight"
12577 status collapsed
12578
12579 \begin_layout Standard
12580 \begin_inset Tabular
12581 <lyxtabular version="3" rows="3" columns="3">
12582 <features>
12583 <column alignment="center" valignment="top" leftline="true" width="0">
12584 <column alignment="center" valignment="top" leftline="true" width="0">
12585 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12586 <row topline="true">
12587 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12588 \begin_inset Text
12589
12590 \begin_layout Standard
12591 a
12592 \end_layout
12593
12594 \end_inset
12595 </cell>
12596 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12597 \begin_inset Text
12598
12599 \begin_layout Standard
12600 d
12601 \end_layout
12602
12603 \end_inset
12604 </cell>
12605 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12606 \begin_inset Text
12607
12608 \begin_layout Standard
12609 g
12610 \end_layout
12611
12612 \end_inset
12613 </cell>
12614 </row>
12615 <row topline="true">
12616 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12617 \begin_inset Text
12618
12619 \begin_layout Standard
12620 b
12621 \end_layout
12622
12623 \end_inset
12624 </cell>
12625 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12626 \begin_inset Text
12627
12628 \begin_layout Standard
12629 e
12630 \end_layout
12631
12632 \end_inset
12633 </cell>
12634 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12635 \begin_inset Text
12636
12637 \begin_layout Standard
12638 h
12639 \end_layout
12640
12641 \end_inset
12642 </cell>
12643 </row>
12644 <row topline="true" bottomline="true">
12645 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12646 \begin_inset Text
12647
12648 \begin_layout Standard
12649 c
12650 \end_layout
12651
12652 \end_inset
12653 </cell>
12654 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12655 \begin_inset Text
12656
12657 \begin_layout Standard
12658 f
12659 \end_layout
12660
12661 \end_inset
12662 </cell>
12663 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12664 \begin_inset Text
12665
12666 \begin_layout Standard
12667 i
12668 \end_layout
12669
12670 \end_inset
12671 </cell>
12672 </row>
12673 </lyxtabular>
12674
12675 \end_inset
12676
12677
12678 \end_layout
12679
12680 \end_inset
12681
12682  test 
12683 \begin_inset ERT
12684 status collapsed
12685
12686 \begin_layout Standard
12687
12688
12689 \backslash
12690 raisebox{0.85
12691 \backslash
12692 baselineskip}{
12693 \end_layout
12694
12695 \end_inset
12696
12697
12698 \begin_inset Box Frameless
12699 position "t"
12700 hor_pos "c"
12701 has_inner_box 1
12702 inner_pos "c"
12703 use_parbox 0
12704 width "15col%"
12705 special "none"
12706 height "1in"
12707 height_special "totalheight"
12708 status collapsed
12709
12710 \begin_layout Standard
12711 \begin_inset Tabular
12712 <lyxtabular version="3" rows="3" columns="3">
12713 <features>
12714 <column alignment="center" valignment="top" leftline="true" width="0">
12715 <column alignment="center" valignment="top" leftline="true" width="0">
12716 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12717 <row topline="true">
12718 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12719 \begin_inset Text
12720
12721 \begin_layout Standard
12722 a
12723 \end_layout
12724
12725 \end_inset
12726 </cell>
12727 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12728 \begin_inset Text
12729
12730 \begin_layout Standard
12731 d
12732 \end_layout
12733
12734 \end_inset
12735 </cell>
12736 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12737 \begin_inset Text
12738
12739 \begin_layout Standard
12740 g
12741 \end_layout
12742
12743 \end_inset
12744 </cell>
12745 </row>
12746 <row topline="true">
12747 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12748 \begin_inset Text
12749
12750 \begin_layout Standard
12751 b
12752 \end_layout
12753
12754 \end_inset
12755 </cell>
12756 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12757 \begin_inset Text
12758
12759 \begin_layout Standard
12760 e
12761 \end_layout
12762
12763 \end_inset
12764 </cell>
12765 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12766 \begin_inset Text
12767
12768 \begin_layout Standard
12769 h
12770 \end_layout
12771
12772 \end_inset
12773 </cell>
12774 </row>
12775 <row topline="true" bottomline="true">
12776 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12777 \begin_inset Text
12778
12779 \begin_layout Standard
12780 c
12781 \end_layout
12782
12783 \end_inset
12784 </cell>
12785 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12786 \begin_inset Text
12787
12788 \begin_layout Standard
12789 f
12790 \end_layout
12791
12792 \end_inset
12793 </cell>
12794 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12795 \begin_inset Text
12796
12797 \begin_layout Standard
12798 i
12799 \end_layout
12800
12801 \end_inset
12802 </cell>
12803 </row>
12804 </lyxtabular>
12805
12806 \end_inset
12807
12808
12809 \end_layout
12810
12811 \end_inset
12812
12813
12814 \begin_inset ERT
12815 status collapsed
12816
12817 \begin_layout Standard
12818
12819 }
12820 \end_layout
12821
12822 \end_inset
12823
12824
12825 \end_layout
12826
12827 \begin_layout Itemize
12828 test 
12829 \begin_inset Box Frameless
12830 position "c"
12831 hor_pos "c"
12832 has_inner_box 1
12833 inner_pos "c"
12834 use_parbox 0
12835 width "15col%"
12836 special "none"
12837 height "1in"
12838 height_special "totalheight"
12839 status collapsed
12840
12841 \begin_layout Standard
12842 \begin_inset Tabular
12843 <lyxtabular version="3" rows="3" columns="3">
12844 <features>
12845 <column alignment="center" valignment="top" leftline="true" width="0">
12846 <column alignment="center" valignment="top" leftline="true" width="0">
12847 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12848 <row topline="true">
12849 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12850 \begin_inset Text
12851
12852 \begin_layout Standard
12853 a
12854 \end_layout
12855
12856 \end_inset
12857 </cell>
12858 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12859 \begin_inset Text
12860
12861 \begin_layout Standard
12862 d
12863 \end_layout
12864
12865 \end_inset
12866 </cell>
12867 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12868 \begin_inset Text
12869
12870 \begin_layout Standard
12871 g
12872 \end_layout
12873
12874 \end_inset
12875 </cell>
12876 </row>
12877 <row topline="true">
12878 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12879 \begin_inset Text
12880
12881 \begin_layout Standard
12882 b
12883 \end_layout
12884
12885 \end_inset
12886 </cell>
12887 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12888 \begin_inset Text
12889
12890 \begin_layout Standard
12891 e
12892 \end_layout
12893
12894 \end_inset
12895 </cell>
12896 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12897 \begin_inset Text
12898
12899 \begin_layout Standard
12900 h
12901 \end_layout
12902
12903 \end_inset
12904 </cell>
12905 </row>
12906 <row topline="true" bottomline="true">
12907 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12908 \begin_inset Text
12909
12910 \begin_layout Standard
12911 c
12912 \end_layout
12913
12914 \end_inset
12915 </cell>
12916 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12917 \begin_inset Text
12918
12919 \begin_layout Standard
12920 f
12921 \end_layout
12922
12923 \end_inset
12924 </cell>
12925 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12926 \begin_inset Text
12927
12928 \begin_layout Standard
12929 i
12930 \end_layout
12931
12932 \end_inset
12933 </cell>
12934 </row>
12935 </lyxtabular>
12936
12937 \end_inset
12938
12939
12940 \end_layout
12941
12942 \end_inset
12943
12944
12945 \end_layout
12946
12947 \begin_layout Itemize
12948 test 
12949 \begin_inset Box Frameless
12950 position "b"
12951 hor_pos "c"
12952 has_inner_box 1
12953 inner_pos "c"
12954 use_parbox 0
12955 width "15col%"
12956 special "none"
12957 height "1in"
12958 height_special "totalheight"
12959 status collapsed
12960
12961 \begin_layout Standard
12962 \begin_inset Tabular
12963 <lyxtabular version="3" rows="3" columns="3">
12964 <features>
12965 <column alignment="center" valignment="top" leftline="true" width="0">
12966 <column alignment="center" valignment="top" leftline="true" width="0">
12967 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12968 <row topline="true">
12969 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12970 \begin_inset Text
12971
12972 \begin_layout Standard
12973 a
12974 \end_layout
12975
12976 \end_inset
12977 </cell>
12978 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12979 \begin_inset Text
12980
12981 \begin_layout Standard
12982 d
12983 \end_layout
12984
12985 \end_inset
12986 </cell>
12987 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12988 \begin_inset Text
12989
12990 \begin_layout Standard
12991 g
12992 \end_layout
12993
12994 \end_inset
12995 </cell>
12996 </row>
12997 <row topline="true">
12998 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12999 \begin_inset Text
13000
13001 \begin_layout Standard
13002 b
13003 \end_layout
13004
13005 \end_inset
13006 </cell>
13007 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13008 \begin_inset Text
13009
13010 \begin_layout Standard
13011 e
13012 \end_layout
13013
13014 \end_inset
13015 </cell>
13016 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13017 \begin_inset Text
13018
13019 \begin_layout Standard
13020 h
13021 \end_layout
13022
13023 \end_inset
13024 </cell>
13025 </row>
13026 <row topline="true" bottomline="true">
13027 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13028 \begin_inset Text
13029
13030 \begin_layout Standard
13031 c
13032 \end_layout
13033
13034 \end_inset
13035 </cell>
13036 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13037 \begin_inset Text
13038
13039 \begin_layout Standard
13040 f
13041 \end_layout
13042
13043 \end_inset
13044 </cell>
13045 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13046 \begin_inset Text
13047
13048 \begin_layout Standard
13049 i
13050 \end_layout
13051
13052 \end_inset
13053 </cell>
13054 </row>
13055 </lyxtabular>
13056
13057 \end_inset
13058
13059
13060 \end_layout
13061
13062 \end_inset
13063
13064  test 
13065 \begin_inset ERT
13066 status collapsed
13067
13068 \begin_layout Standard
13069
13070
13071 \backslash
13072 raisebox{-0.32
13073 \backslash
13074 baselineskip}{
13075 \end_layout
13076
13077 \end_inset
13078
13079
13080 \begin_inset Box Frameless
13081 position "b"
13082 hor_pos "c"
13083 has_inner_box 1
13084 inner_pos "c"
13085 use_parbox 0
13086 width "15col%"
13087 special "none"
13088 height "1in"
13089 height_special "totalheight"
13090 status collapsed
13091
13092 \begin_layout Standard
13093 \begin_inset Tabular
13094 <lyxtabular version="3" rows="3" columns="3">
13095 <features>
13096 <column alignment="center" valignment="top" leftline="true" width="0">
13097 <column alignment="center" valignment="top" leftline="true" width="0">
13098 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13099 <row topline="true">
13100 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13101 \begin_inset Text
13102
13103 \begin_layout Standard
13104 a
13105 \end_layout
13106
13107 \end_inset
13108 </cell>
13109 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13110 \begin_inset Text
13111
13112 \begin_layout Standard
13113 d
13114 \end_layout
13115
13116 \end_inset
13117 </cell>
13118 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13119 \begin_inset Text
13120
13121 \begin_layout Standard
13122 g
13123 \end_layout
13124
13125 \end_inset
13126 </cell>
13127 </row>
13128 <row topline="true">
13129 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13130 \begin_inset Text
13131
13132 \begin_layout Standard
13133 b
13134 \end_layout
13135
13136 \end_inset
13137 </cell>
13138 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13139 \begin_inset Text
13140
13141 \begin_layout Standard
13142 e
13143 \end_layout
13144
13145 \end_inset
13146 </cell>
13147 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13148 \begin_inset Text
13149
13150 \begin_layout Standard
13151 h
13152 \end_layout
13153
13154 \end_inset
13155 </cell>
13156 </row>
13157 <row topline="true" bottomline="true">
13158 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13159 \begin_inset Text
13160
13161 \begin_layout Standard
13162 c
13163 \end_layout
13164
13165 \end_inset
13166 </cell>
13167 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13168 \begin_inset Text
13169
13170 \begin_layout Standard
13171 f
13172 \end_layout
13173
13174 \end_inset
13175 </cell>
13176 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13177 \begin_inset Text
13178
13179 \begin_layout Standard
13180 i
13181 \end_layout
13182
13183 \end_inset
13184 </cell>
13185 </row>
13186 </lyxtabular>
13187
13188 \end_inset
13189
13190
13191 \end_layout
13192
13193 \end_inset
13194
13195
13196 \begin_inset ERT
13197 status collapsed
13198
13199 \begin_layout Standard
13200
13201 }
13202 \end_layout
13203
13204 \end_inset
13205
13206
13207 \end_layout
13208
13209 \begin_layout Standard
13210 As you can see, the content of the first and last table row is not correctly
13211  aligned with the text line where the table is in.
13212  To get this alignment, the minipage box must be set into a raisebox
13213 \begin_inset Foot
13214 status collapsed
13215
13216 \begin_layout Standard
13217 Raiseboxes are described in section\InsetSpace ~
13218
13219 \begin_inset LatexCommand ref
13220 reference "sub:Vertical-Alignment"
13221
13222 \end_inset
13223
13224 .
13225 \end_layout
13226
13227 \end_inset
13228
13229 .
13230  In the example above the second table in the first item is aligned using
13231  the ERT-command
13232 \end_layout
13233
13234 \begin_layout Standard
13235
13236 \series bold
13237
13238 \backslash
13239 raisebox{0.85
13240 \backslash
13241 baselineskip}{
13242 \end_layout
13243
13244 \begin_layout Standard
13245 before the box.
13246  Behind the box the closing brace 
13247 \series bold
13248 }
13249 \series default
13250  is inserted as ERT.
13251  For the second table in the last item the command
13252 \end_layout
13253
13254 \begin_layout Standard
13255
13256 \series bold
13257
13258 \backslash
13259 raisebox{-0.32
13260 \backslash
13261 baselineskip}{
13262 \end_layout
13263
13264 \begin_layout Standard
13265 is used.
13266 \end_layout
13267
13268 \begin_layout Standard
13269 \begin_inset Note Greyedout
13270 status open
13271
13272 \begin_layout Standard
13273
13274 \series bold
13275 Note:
13276 \series default
13277  The alignment of the table row content to the surrounding text line is
13278  not exact.
13279  The needed factor of the 
13280 \series bold
13281
13282 \backslash
13283 raisebox
13284 \series default
13285  command for this alignment depends on the document font, the font size,
13286  and the table line thickness.
13287 \end_layout
13288
13289 \end_inset
13290
13291
13292 \end_layout
13293
13294 \begin_layout Section
13295 Colored Tables
13296 \begin_inset LatexCommand label
13297 name "sec:Colored-Tables"
13298
13299 \end_inset
13300
13301
13302 \begin_inset LatexCommand index
13303 name "Table ! Color"
13304
13305 \end_inset
13306
13307
13308 \end_layout
13309
13310 \begin_layout Subsection
13311 Colored Cells
13312 \begin_inset LatexCommand index
13313 name "Table Color ! for Cells"
13314
13315 \end_inset
13316
13317
13318 \begin_inset LatexCommand index
13319 name "Color ! for Table Cells"
13320
13321 \end_inset
13322
13323
13324 \end_layout
13325
13326 \begin_layout Standard
13327 \begin_inset Float table
13328 placement h
13329 wide false
13330 sideways false
13331 status open
13332
13333 \begin_layout Standard
13334 \begin_inset Caption
13335
13336 \begin_layout Standard
13337 \begin_inset LatexCommand label
13338 name "tab:Table-colored-without"
13339
13340 \end_inset
13341
13342 Table colored without using the package 
13343 \series bold
13344 colortbl
13345 \series default
13346
13347 \begin_inset OptArg
13348 status collapsed
13349
13350 \begin_layout Standard
13351 Table without colortbl
13352 \end_layout
13353
13354 \end_inset
13355
13356
13357 \end_layout
13358
13359 \end_inset
13360
13361
13362 \end_layout
13363
13364 \begin_layout Standard
13365 \align center
13366 \begin_inset Tabular
13367 <lyxtabular version="3" rows="3" columns="3">
13368 <features>
13369 <column alignment="center" valignment="top" leftline="true" width="0">
13370 <column alignment="center" valignment="top" leftline="true" width="0">
13371 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13372 <row topline="true">
13373 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13374 \begin_inset Text
13375
13376 \begin_layout Standard
13377
13378 \color green
13379 a
13380 \end_layout
13381
13382 \end_inset
13383 </cell>
13384 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13385 \begin_inset Text
13386
13387 \begin_layout Standard
13388
13389 \color red
13390 b
13391 \end_layout
13392
13393 \end_inset
13394 </cell>
13395 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13396 \begin_inset Text
13397
13398 \begin_layout Standard
13399
13400 \color red
13401 c
13402 \end_layout
13403
13404 \end_inset
13405 </cell>
13406 </row>
13407 <row topline="true">
13408 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13409 \begin_inset Text
13410
13411 \begin_layout Standard
13412
13413 \color green
13414 d
13415 \end_layout
13416
13417 \end_inset
13418 </cell>
13419 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13420 \begin_inset Text
13421
13422 \begin_layout Standard
13423
13424 \color blue
13425 e
13426 \end_layout
13427
13428 \end_inset
13429 </cell>
13430 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13431 \begin_inset Text
13432
13433 \begin_layout Standard
13434
13435 \color blue
13436 f
13437 \end_layout
13438
13439 \end_inset
13440 </cell>
13441 </row>
13442 <row topline="true" bottomline="true">
13443 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13444 \begin_inset Text
13445
13446 \begin_layout Standard
13447
13448 \color green
13449 g
13450 \end_layout
13451
13452 \end_inset
13453 </cell>
13454 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13455 \begin_inset Text
13456
13457 \begin_layout Standard
13458
13459 \color blue
13460 h
13461 \end_layout
13462
13463 \end_inset
13464 </cell>
13465 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13466 \begin_inset Text
13467
13468 \begin_layout Standard
13469
13470 \color blue
13471 i
13472 \end_layout
13473
13474 \end_inset
13475 </cell>
13476 </row>
13477 </lyxtabular>
13478
13479 \end_inset
13480
13481
13482 \end_layout
13483
13484 \end_inset
13485
13486
13487 \end_layout
13488
13489 \begin_layout Standard
13490 If you only need colored text, mark the cells and choose a color in the
13491  menu 
13492 \family sans
13493 Edit\SpecialChar \menuseparator
13494 Text\InsetSpace ~
13495 Style
13496 \family default
13497 .
13498  This was used to create Table\InsetSpace ~
13499
13500 \begin_inset LatexCommand ref
13501 reference "tab:Table-colored-without"
13502
13503 \end_inset
13504
13505 .
13506  In any other case you have to use the LaTeX-package 
13507 \series bold
13508 colortbl
13509 \series default
13510 .
13511 \begin_inset LatexCommand index
13512 name "LaTeX-packages ! colortbl"
13513
13514 \end_inset
13515
13516
13517 \end_layout
13518
13519 \begin_layout Standard
13520 To create colored tables, 
13521 \series bold
13522 colortbl
13523 \series default
13524  must be loaded in the preamble with the line
13525 \end_layout
13526
13527 \begin_layout Standard
13528
13529 \series bold
13530
13531 \backslash
13532 usepackage{colortbl}
13533 \end_layout
13534
13535 \begin_layout Standard
13536 The color of a column is adjusted with the command
13537 \end_layout
13538
13539 \begin_layout Standard
13540
13541 \series bold
13542
13543 \backslash
13544 columncolor{name of color}
13545 \end_layout
13546
13547 \begin_layout Standard
13548 inside the command 
13549 \series bold
13550 >{ }
13551 \series default
13552 .
13553  More about the command 
13554 \series bold
13555 >{}
13556 \series default
13557  is described in section\InsetSpace ~
13558
13559 \begin_inset LatexCommand ref
13560 reference "sub:Multicolumn-Calculations"
13561
13562 \end_inset
13563
13564 .
13565 \end_layout
13566
13567 \begin_layout Standard
13568 The following color names are predefined:
13569 \end_layout
13570
13571 \begin_layout Standard
13572
13573 \family sans
13574 red
13575 \family default
13576
13577 \family sans
13578 green
13579 \family default
13580
13581 \family sans
13582 yellow
13583 \family default
13584
13585 \family sans
13586 blue
13587 \family default
13588
13589 \family sans
13590 cyan
13591 \family default
13592
13593 \family sans
13594 magenta
13595 \family default
13596
13597 \family sans
13598 black
13599 \family default
13600  and 
13601 \family sans
13602 white
13603 \end_layout
13604
13605 \begin_layout Standard
13606 \begin_inset VSpace medskip
13607 \end_inset
13608
13609
13610 \end_layout
13611
13612 \begin_layout Standard
13613 You can also define your own color with the command
13614 \end_layout
13615
13616 \begin_layout Standard
13617
13618 \series bold
13619
13620 \backslash
13621 def\SpecialChar \textcompwordmark{}
13622 inecolor{color name}{color model}{color values}
13623 \end_layout
13624
13625 \begin_layout Standard
13626 The color model can be
13627 \end_layout
13628
13629 \begin_layout Labeling
13630 \labelwidthstring 00.00.0000
13631 cmyk: cyan, magenta, yellow, black
13632 \end_layout
13633
13634 \begin_layout Labeling
13635 \labelwidthstring 00.00.0000
13636 rgb: red, green blue
13637 \end_layout
13638
13639 \begin_layout Labeling
13640 \labelwidthstring 00.00.0000
13641 gray gray
13642 \end_layout
13643
13644 \begin_layout Standard
13645 and the color values are comma separated numbers between 0 and 1 describing
13646  the factor for the corresponding color of the color model.
13647 \end_layout
13648
13649 \begin_layout Standard
13650 You can e.\InsetSpace \thinspace{}
13651 g.\InsetSpace ~
13652 define the color "
13653 \emph on
13654 darkgreen
13655 \emph default
13656 " in the preamble with
13657 \end_layout
13658
13659 \begin_layout Standard
13660
13661 \series bold
13662
13663 \backslash
13664 def\SpecialChar \textcompwordmark{}
13665 inecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
13666 \end_layout
13667
13668 \begin_layout Standard
13669 and the color "
13670 \emph on
13671 lightgray
13672 \emph default
13673 " with
13674 \end_layout
13675
13676 \begin_layout Standard
13677
13678 \series bold
13679
13680 \backslash
13681 def\SpecialChar \textcompwordmark{}
13682 inecolor{lightgray}{gray}{0.8}
13683 \end_layout
13684
13685 \begin_layout Standard
13686 \begin_inset VSpace medskip
13687 \end_inset
13688
13689
13690 \end_layout
13691
13692 \begin_layout Standard
13693 Lines are colored with the command
13694 \end_layout
13695
13696 \begin_layout Standard
13697
13698 \series bold
13699
13700 \backslash
13701 rowcolor{name of color}
13702 \end_layout
13703
13704 \begin_layout Standard
13705 and cells are colored with the command
13706 \end_layout
13707
13708 \begin_layout Standard
13709
13710 \series bold
13711
13712 \backslash
13713 cellcolor{name of color}
13714 \end_layout
13715
13716 \begin_layout Standard
13717 Both commands are inserted at the beginning of a cell as ERT.
13718 \end_layout
13719
13720 \begin_layout Standard
13721 To color characters in the table, mark the cells and use the LyX menu 
13722 \family sans
13723 Edit\SpecialChar \menuseparator
13724 Text\InsetSpace ~
13725 Style
13726 \family default
13727 .
13728  If a cell contains ERT mark only the characters, otherwise the colored
13729  ERT will cause LaTeX-errors.
13730 \end_layout
13731
13732 \begin_layout Standard
13733 \begin_inset VSpace bigskip
13734 \end_inset
13735
13736
13737 \end_layout
13738
13739 \begin_layout Standard
13740 To create Table\InsetSpace ~
13741
13742 \begin_inset LatexCommand ref
13743 reference "tab:Table-colored-using"
13744
13745 \end_inset
13746
13747  do the following: The color of the first column should be 
13748 \emph on
13749 darkgreen
13750 \emph default
13751 .
13752  So insert
13753 \end_layout
13754
13755 \begin_layout Standard
13756
13757 \series bold
13758 >{
13759 \backslash
13760 columncolor{darkgreen}
13761 \backslash
13762 centering}c
13763 \end_layout
13764
13765 \begin_layout Standard
13766 as LaTeX-argument for this column.
13767  The first row should be blue, therefore the ERT command
13768 \end_layout
13769
13770 \begin_layout Standard
13771
13772 \series bold
13773
13774 \backslash
13775 rowcolow{cyan}
13776 \end_layout
13777
13778 \begin_layout Standard
13779 is inserted to the first cell of this row.
13780  Note that this overwrites the column color for the first cell.
13781  The last cell of the last row is colored magenta by inserting the ERT command
13782 \end_layout
13783
13784 \begin_layout Standard
13785
13786 \series bold
13787
13788 \backslash
13789 cellcolor{magenta}
13790 \end_layout
13791
13792 \begin_layout Standard
13793 The characters could now be colored using the menu 
13794 \family sans
13795 Edit\SpecialChar \menuseparator
13796 Text\InsetSpace ~
13797 Style
13798 \family default
13799 .
13800 \end_layout
13801
13802 \begin_layout Standard
13803 \begin_inset Float table
13804 placement h
13805 wide false
13806 sideways false
13807 status open
13808
13809 \begin_layout Standard
13810 \begin_inset Caption
13811
13812 \begin_layout Standard
13813 \begin_inset LatexCommand label
13814 name "tab:Table-colored-using"
13815
13816 \end_inset
13817
13818 Table colored using the package 
13819 \series bold
13820 colortbl
13821 \series default
13822
13823 \begin_inset OptArg
13824 status collapsed
13825
13826 \begin_layout Standard
13827 Table with colortbl
13828 \end_layout
13829
13830 \end_inset
13831
13832
13833 \end_layout
13834
13835 \end_inset
13836
13837
13838 \end_layout
13839
13840 \begin_layout Standard
13841 \align center
13842 \begin_inset Tabular
13843 <lyxtabular version="3" rows="3" columns="3">
13844 <features>
13845 <column alignment="center" valignment="top" width="0" special=">{\columncolor{darkgreen}\centering}c">
13846 <column alignment="center" valignment="top" width="0">
13847 <column alignment="center" valignment="top" width="0">
13848 <row>
13849 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13850 \begin_inset Text
13851
13852 \begin_layout Standard
13853 \begin_inset ERT
13854 status collapsed
13855
13856 \begin_layout Standard
13857
13858
13859 \backslash
13860 rowcolor{cyan}
13861 \end_layout
13862
13863 \end_inset
13864
13865
13866 \color magenta
13867 a
13868 \end_layout
13869
13870 \end_inset
13871 </cell>
13872 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13873 \begin_inset Text
13874
13875 \begin_layout Standard
13876
13877 \color red
13878 b
13879 \end_layout
13880
13881 \end_inset
13882 </cell>
13883 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13884 \begin_inset Text
13885
13886 \begin_layout Standard
13887
13888 \color red
13889 c
13890 \end_layout
13891
13892 \end_inset
13893 </cell>
13894 </row>
13895 <row>
13896 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13897 \begin_inset Text
13898
13899 \begin_layout Standard
13900
13901 \color yellow
13902 d
13903 \end_layout
13904
13905 \end_inset
13906 </cell>
13907 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13908 \begin_inset Text
13909
13910 \begin_layout Standard
13911
13912 \color blue
13913 e
13914 \end_layout
13915
13916 \end_inset
13917 </cell>
13918 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13919 \begin_inset Text
13920
13921 \begin_layout Standard
13922
13923 \color blue
13924 f
13925 \end_layout
13926
13927 \end_inset
13928 </cell>
13929 </row>
13930 <row>
13931 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13932 \begin_inset Text
13933
13934 \begin_layout Standard
13935
13936 \color yellow
13937 g
13938 \end_layout
13939
13940 \end_inset
13941 </cell>
13942 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13943 \begin_inset Text
13944
13945 \begin_layout Standard
13946
13947 \color blue
13948 h
13949 \end_layout
13950
13951 \end_inset
13952 </cell>
13953 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13954 \begin_inset Text
13955
13956 \begin_layout Standard
13957 \begin_inset ERT
13958 status collapsed
13959
13960 \begin_layout Standard
13961
13962
13963 \backslash
13964 cellcolor{magenta}
13965 \end_layout
13966
13967 \end_inset
13968
13969
13970 \color green
13971 i
13972 \end_layout
13973
13974 \end_inset
13975 </cell>
13976 </row>
13977 </lyxtabular>
13978
13979 \end_inset
13980
13981
13982 \end_layout
13983
13984 \end_inset
13985
13986
13987 \end_layout
13988
13989 \begin_layout Subsection
13990 Colored Lines
13991 \begin_inset LatexCommand index
13992 name "Table Color ! for Lines"
13993
13994 \end_inset
13995
13996
13997 \begin_inset LatexCommand index
13998 name "Color ! for Table Lines"
13999
14000 \end_inset
14001
14002
14003 \end_layout
14004
14005 \begin_layout Standard
14006 As described in section\InsetSpace ~
14007
14008 \begin_inset LatexCommand ref
14009 reference "sub:Line-Thickness"
14010
14011 \end_inset
14012
14013 , the line thickness for all lines in a table can be adjusted with the length
14014  
14015 \series bold
14016
14017 \backslash
14018 arrayrulewidth
14019 \series default
14020 .
14021  It is set to 1.5\InsetSpace \thinspace{}
14022 pt for all tables of this section.
14023 \begin_inset ERT
14024 status collapsed
14025
14026 \begin_layout Standard
14027
14028
14029 \backslash
14030 setlength{
14031 \backslash
14032 arrayrulewidth}{1.5pt}
14033 \end_layout
14034
14035 \end_inset
14036
14037
14038 \end_layout
14039
14040 \begin_layout Standard
14041 To color vertical lines for example with green, create the following column
14042  format in the document preamble, according to the description in section\InsetSpace ~
14043
14044 \begin_inset LatexCommand ref
14045 reference "sub:Customized-Format"
14046
14047 \end_inset
14048
14049 :
14050 \end_layout
14051
14052 \begin_layout Standard
14053
14054 \series bold
14055
14056 \backslash
14057 newcolumntype{W}{!{
14058 \backslash
14059 color{green}
14060 \backslash
14061 vline}}
14062 \end_layout
14063
14064 \begin_layout Standard
14065 For Table\InsetSpace ~
14066
14067 \begin_inset LatexCommand ref
14068 reference "tab:Table-with-vertical-colored"
14069
14070 \end_inset
14071
14072  the LaTeX-argument
14073 \end_layout
14074
14075 \begin_layout Standard
14076
14077 \series bold
14078 WcW
14079 \end_layout
14080
14081 \begin_layout Standard
14082 was used for the last column and
14083 \end_layout
14084
14085 \begin_layout Standard
14086
14087 \series bold
14088 Wc
14089 \end_layout
14090
14091 \begin_layout Standard
14092 for the other columns.
14093 \end_layout
14094
14095 \begin_layout Standard
14096 If you want to have several colors, define more column formats.
14097 \end_layout
14098
14099 \begin_layout Standard
14100 \begin_inset Float table
14101 wide false
14102 sideways false
14103 status open
14104
14105 \begin_layout Standard
14106 \begin_inset Caption
14107
14108 \begin_layout Standard
14109 \begin_inset LatexCommand label
14110 name "tab:Table-with-vertical-colored"
14111
14112 \end_inset
14113
14114 Table with colored vertical lines
14115 \end_layout
14116
14117 \end_inset
14118
14119
14120 \end_layout
14121
14122 \begin_layout Standard
14123 \align center
14124 \begin_inset Tabular
14125 <lyxtabular version="3" rows="3" columns="3">
14126 <features>
14127 <column alignment="center" valignment="top" width="0" special="Wc">
14128 <column alignment="center" valignment="top" width="0" special="Wc">
14129 <column alignment="center" valignment="top" width="0" special="WcW">
14130 <row topline="true">
14131 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14132 \begin_inset Text
14133
14134 \begin_layout Standard
14135 sd
14136 \end_layout
14137
14138 \end_inset
14139 </cell>
14140 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14141 \begin_inset Text
14142
14143 \begin_layout Standard
14144
14145 \end_layout
14146
14147 \end_inset
14148 </cell>
14149 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14150 \begin_inset Text
14151
14152 \begin_layout Standard
14153
14154 \end_layout
14155
14156 \end_inset
14157 </cell>
14158 </row>
14159 <row topline="true">
14160 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14161 \begin_inset Text
14162
14163 \begin_layout Standard
14164
14165 \end_layout
14166
14167 \end_inset
14168 </cell>
14169 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14170 \begin_inset Text
14171
14172 \begin_layout Standard
14173 sd
14174 \end_layout
14175
14176 \end_inset
14177 </cell>
14178 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14179 \begin_inset Text
14180
14181 \begin_layout Standard
14182
14183 \end_layout
14184
14185 \end_inset
14186 </cell>
14187 </row>
14188 <row topline="true" bottomline="true">
14189 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14190 \begin_inset Text
14191
14192 \begin_layout Standard
14193
14194 \end_layout
14195
14196 \end_inset
14197 </cell>
14198 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14199 \begin_inset Text
14200
14201 \begin_layout Standard
14202
14203 \end_layout
14204
14205 \end_inset
14206 </cell>
14207 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14208 \begin_inset Text
14209
14210 \begin_layout Standard
14211 sd
14212 \end_layout
14213
14214 \end_inset
14215 </cell>
14216 </row>
14217 </lyxtabular>
14218
14219 \end_inset
14220
14221
14222 \end_layout
14223
14224 \end_inset
14225
14226
14227 \end_layout
14228
14229 \begin_layout Standard
14230 \begin_inset VSpace bigskip
14231 \end_inset
14232
14233 To color horizontal lines for example with red, like in Table\InsetSpace ~
14234
14235 \begin_inset LatexCommand ref
14236 reference "tab:Table-with-horizontal-colored"
14237
14238 \end_inset
14239
14240 , insert these commands in ERT before the table or table float:
14241 \end_layout
14242
14243 \begin_layout Standard
14244
14245 \series bold
14246
14247 \backslash
14248 let
14249 \backslash
14250 myHlineC
14251 \backslash
14252 hline
14253 \newline
14254
14255 \backslash
14256 renewcommand{
14257 \backslash
14258 hline}{
14259 \backslash
14260 arrayrulecolor{red}
14261 \backslash
14262 myHlineC
14263 \backslash
14264 arrayrulecolor{black}}
14265 \end_layout
14266
14267 \begin_layout Standard
14268 \begin_inset ERT
14269 status collapsed
14270
14271 \begin_layout Standard
14272
14273
14274 \backslash
14275 let
14276 \backslash
14277 myHlineC
14278 \backslash
14279 hline
14280 \end_layout
14281
14282 \begin_layout Standard
14283
14284
14285 \backslash
14286 renewcommand{
14287 \backslash
14288 hline}{
14289 \backslash
14290 arrayrulecolor{red}
14291 \backslash
14292 myHlineC
14293 \backslash
14294 arrayrulecolor{black}}
14295 \end_layout
14296
14297 \end_inset
14298
14299
14300 \begin_inset Float table
14301 wide false
14302 sideways false
14303 status open
14304
14305 \begin_layout Standard
14306 \begin_inset Caption
14307
14308 \begin_layout Standard
14309 \begin_inset LatexCommand label
14310 name "tab:Table-with-horizontal-colored"
14311
14312 \end_inset
14313
14314 Table with colored horizontal lines
14315 \end_layout
14316
14317 \end_inset
14318
14319
14320 \end_layout
14321
14322 \begin_layout Standard
14323 \align center
14324 \begin_inset Tabular
14325 <lyxtabular version="3" rows="3" columns="3">
14326 <features>
14327 <column alignment="center" valignment="top" leftline="true" width="0">
14328 <column alignment="center" valignment="top" leftline="true" width="0">
14329 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14330 <row topline="true">
14331 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14332 \begin_inset Text
14333
14334 \begin_layout Standard
14335 sd
14336 \end_layout
14337
14338 \end_inset
14339 </cell>
14340 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14341 \begin_inset Text
14342
14343 \begin_layout Standard
14344
14345 \end_layout
14346
14347 \end_inset
14348 </cell>
14349 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14350 \begin_inset Text
14351
14352 \begin_layout Standard
14353
14354 \end_layout
14355
14356 \end_inset
14357 </cell>
14358 </row>
14359 <row topline="true">
14360 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14361 \begin_inset Text
14362
14363 \begin_layout Standard
14364
14365 \end_layout
14366
14367 \end_inset
14368 </cell>
14369 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14370 \begin_inset Text
14371
14372 \begin_layout Standard
14373 sd
14374 \end_layout
14375
14376 \end_inset
14377 </cell>
14378 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14379 \begin_inset Text
14380
14381 \begin_layout Standard
14382
14383 \end_layout
14384
14385 \end_inset
14386 </cell>
14387 </row>
14388 <row topline="true" bottomline="true">
14389 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14390 \begin_inset Text
14391
14392 \begin_layout Standard
14393
14394 \end_layout
14395
14396 \end_inset
14397 </cell>
14398 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14399 \begin_inset Text
14400
14401 \begin_layout Standard
14402
14403 \end_layout
14404
14405 \end_inset
14406 </cell>
14407 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14408 \begin_inset Text
14409
14410 \begin_layout Standard
14411 sd
14412 \end_layout
14413
14414 \end_inset
14415 </cell>
14416 </row>
14417 </lyxtabular>
14418
14419 \end_inset
14420
14421
14422 \end_layout
14423
14424 \end_inset
14425
14426
14427 \end_layout
14428
14429 \begin_layout Standard
14430 \begin_inset ERT
14431 status collapsed
14432
14433 \begin_layout Standard
14434
14435
14436 \backslash
14437 pagebreak 
14438 \end_layout
14439
14440 \end_inset
14441
14442
14443 \end_layout
14444
14445 \begin_layout Standard
14446 To return to the default line color black, insert this command in ERT behind
14447  the table or table float:
14448 \end_layout
14449
14450 \begin_layout Standard
14451
14452 \series bold
14453
14454 \backslash
14455 renewcommand{
14456 \backslash
14457 hline}{
14458 \backslash
14459 myHlineC}
14460 \end_layout
14461
14462 \begin_layout Standard
14463 Table\InsetSpace ~
14464
14465 \begin_inset LatexCommand ref
14466 reference "tab:Table-with-colored"
14467
14468 \end_inset
14469
14470  is an example with colored vertical and horizontal lines.
14471 \end_layout
14472
14473 \begin_layout Standard
14474 \begin_inset Float table
14475 wide false
14476 sideways false
14477 status open
14478
14479 \begin_layout Standard
14480 \begin_inset Caption
14481
14482 \begin_layout Standard
14483 \begin_inset LatexCommand label
14484 name "tab:Table-with-colored"
14485
14486 \end_inset
14487
14488 Table with colored lines
14489 \end_layout
14490
14491 \end_inset
14492
14493
14494 \end_layout
14495
14496 \begin_layout Standard
14497 \align center
14498 \begin_inset Tabular
14499 <lyxtabular version="3" rows="3" columns="3">
14500 <features>
14501 <column alignment="center" valignment="top" width="0" special="Wc">
14502 <column alignment="center" valignment="top" width="0" special="Wc">
14503 <column alignment="center" valignment="top" width="0" special="WcW">
14504 <row topline="true">
14505 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14506 \begin_inset Text
14507
14508 \begin_layout Standard
14509 sd
14510 \end_layout
14511
14512 \end_inset
14513 </cell>
14514 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14515 \begin_inset Text
14516
14517 \begin_layout Standard
14518
14519 \end_layout
14520
14521 \end_inset
14522 </cell>
14523 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14524 \begin_inset Text
14525
14526 \begin_layout Standard
14527
14528 \end_layout
14529
14530 \end_inset
14531 </cell>
14532 </row>
14533 <row topline="true">
14534 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14535 \begin_inset Text
14536
14537 \begin_layout Standard
14538
14539 \end_layout
14540
14541 \end_inset
14542 </cell>
14543 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14544 \begin_inset Text
14545
14546 \begin_layout Standard
14547 sd
14548 \end_layout
14549
14550 \end_inset
14551 </cell>
14552 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14553 \begin_inset Text
14554
14555 \begin_layout Standard
14556
14557 \end_layout
14558
14559 \end_inset
14560 </cell>
14561 </row>
14562 <row topline="true" bottomline="true" topspace="default">
14563 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14564 \begin_inset Text
14565
14566 \begin_layout Standard
14567
14568 \end_layout
14569
14570 \end_inset
14571 </cell>
14572 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14573 \begin_inset Text
14574
14575 \begin_layout Standard
14576
14577 \end_layout
14578
14579 \end_inset
14580 </cell>
14581 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14582 \begin_inset Text
14583
14584 \begin_layout Standard
14585 sd
14586 \end_layout
14587
14588 \end_inset
14589 </cell>
14590 </row>
14591 </lyxtabular>
14592
14593 \end_inset
14594
14595
14596 \end_layout
14597
14598 \end_inset
14599
14600
14601 \end_layout
14602
14603 \begin_layout Standard
14604 \begin_inset ERT
14605 status collapsed
14606
14607 \begin_layout Standard
14608
14609
14610 \backslash
14611 renewcommand{
14612 \backslash
14613 hline}{
14614 \backslash
14615 myHlineC}
14616 \end_layout
14617
14618 \end_inset
14619
14620
14621 \end_layout
14622
14623 \begin_layout Standard
14624 \begin_inset ERT
14625 status collapsed
14626
14627 \begin_layout Standard
14628
14629
14630 \backslash
14631 setlength{
14632 \backslash
14633 arrayrulewidth}{0.4pt}
14634 \end_layout
14635
14636 \end_inset
14637
14638
14639 \end_layout
14640
14641 \begin_layout Section
14642 Table Customization
14643 \begin_inset LatexCommand index
14644 name "Table Customization"
14645
14646 \end_inset
14647
14648
14649 \begin_inset LatexCommand index
14650 name "Table ! Customization"
14651
14652 \end_inset
14653
14654
14655 \end_layout
14656
14657 \begin_layout Subsection
14658 Row Spacing
14659 \begin_inset LatexCommand label
14660 name "sub:Row-Spacing"
14661
14662 \end_inset
14663
14664
14665 \begin_inset LatexCommand index
14666 name "Table Customization ! Row Spacing"
14667
14668 \end_inset
14669
14670
14671 \end_layout
14672
14673 \begin_layout Standard
14674 You can add vertical space to table rows in the 
14675 \family sans
14676 Borders
14677 \family default
14678  tab of the table dialog.
14679  You find there three possibilities:
14680 \end_layout
14681
14682 \begin_layout Description
14683 Top\InsetSpace ~
14684 of\InsetSpace ~
14685 row will add space above the characters of the table row.
14686  If the table is a formal table
14687 \begin_inset Foot
14688 status collapsed
14689
14690 \begin_layout Standard
14691 Formal tables are explained in section\InsetSpace ~
14692
14693 \begin_inset LatexCommand ref
14694 reference "sec:Formal-Tables"
14695
14696 \end_inset
14697
14698 .
14699 \end_layout
14700
14701 \end_inset
14702
14703  LyX will insert as default 0.5\InsetSpace \thinspace{}
14704 em space.
14705  For normal tables the inserted space will unfortunately destroy the vertical
14706  table lines as in the following table:
14707 \begin_inset VSpace defskip
14708 \end_inset
14709
14710
14711 \newline
14712
14713 \begin_inset ERT
14714 status collapsed
14715
14716 \begin_layout Standard
14717
14718
14719 \backslash
14720 hspace*{0pt}
14721 \end_layout
14722
14723 \end_inset
14724
14725
14726 \hfill
14727
14728 \begin_inset Tabular
14729 <lyxtabular version="3" rows="3" columns="1">
14730 <features>
14731 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14732 <row topline="true">
14733 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14734 \begin_inset Text
14735
14736 \begin_layout Standard
14737 A
14738 \end_layout
14739
14740 \end_inset
14741 </cell>
14742 </row>
14743 <row topline="true" topspace="3mm">
14744 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14745 \begin_inset Text
14746
14747 \begin_layout Standard
14748 3\InsetSpace \thinspace{}
14749 mm space top of row
14750 \end_layout
14751
14752 \end_inset
14753 </cell>
14754 </row>
14755 <row topline="true" bottomline="true">
14756 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14757 \begin_inset Text
14758
14759 \begin_layout Standard
14760 C
14761 \end_layout
14762
14763 \end_inset
14764 </cell>
14765 </row>
14766 </lyxtabular>
14767
14768 \end_inset
14769
14770
14771 \hfill
14772
14773 \begin_inset ERT
14774 status collapsed
14775
14776 \begin_layout Standard
14777
14778
14779 \backslash
14780 hspace*{0pt}
14781 \end_layout
14782
14783 \end_inset
14784
14785
14786 \begin_inset VSpace defskip
14787 \end_inset
14788
14789
14790 \newline
14791 So inserting space to the top of row for normal tables is only useful when
14792  you don't have vertical lines.
14793 \end_layout
14794
14795 \begin_layout Description
14796 Bottom\InsetSpace ~
14797 of\InsetSpace ~
14798 row will add space below the characters of the table row.
14799  If the table is a formal table LyX will insert as default 0.5\InsetSpace \thinspace{}
14800 em space, for
14801  normal tables the default size is 2\InsetSpace \thinspace{}
14802 pt.
14803 \end_layout
14804
14805 \begin_layout Description
14806 Between\InsetSpace ~
14807 rows adds space between the current and the following row.
14808  If the table is a formal table LyX will insert as default 0.5\InsetSpace \thinspace{}
14809 em space.
14810  For normal tables the inserted space will unfortunately destroy the vertical
14811  table lines as in the following table:
14812 \begin_inset VSpace defskip
14813 \end_inset
14814
14815
14816 \newline
14817
14818 \begin_inset ERT
14819 status collapsed
14820
14821 \begin_layout Standard
14822
14823
14824 \backslash
14825 hspace*{0pt}
14826 \end_layout
14827
14828 \end_inset
14829
14830
14831 \hfill
14832
14833 \begin_inset Tabular
14834 <lyxtabular version="3" rows="3" columns="1">
14835 <features>
14836 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14837 <row topline="true">
14838 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14839 \begin_inset Text
14840
14841 \begin_layout Standard
14842 A
14843 \end_layout
14844
14845 \end_inset
14846 </cell>
14847 </row>
14848 <row topline="true" interlinespace="3mm">
14849 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14850 \begin_inset Text
14851
14852 \begin_layout Standard
14853 \begin_inset Formula $\downarrow$
14854 \end_inset
14855
14856  3\InsetSpace \thinspace{}
14857 mm space between row 
14858 \begin_inset Formula $\downarrow$
14859 \end_inset
14860
14861
14862 \end_layout
14863
14864 \end_inset
14865 </cell>
14866 </row>
14867 <row topline="true" bottomline="true">
14868 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14869 \begin_inset Text
14870
14871 \begin_layout Standard
14872 \begin_inset Formula $\uparrow$
14873 \end_inset
14874
14875  3\InsetSpace \thinspace{}
14876 mm space between row 
14877 \begin_inset Formula $\uparrow$
14878 \end_inset
14879
14880
14881 \end_layout
14882
14883 \end_inset
14884 </cell>
14885 </row>
14886 </lyxtabular>
14887
14888 \end_inset
14889
14890
14891 \hfill
14892
14893 \begin_inset ERT
14894 status collapsed
14895
14896 \begin_layout Standard
14897
14898
14899 \backslash
14900 hspace*{0pt}
14901 \end_layout
14902
14903 \end_inset
14904
14905
14906 \begin_inset VSpace defskip
14907 \end_inset
14908
14909
14910 \newline
14911 So inserting space between rows for normal tables is only useful when you
14912  don't have vertical lines.
14913 \end_layout
14914
14915 \begin_layout Standard
14916 When you want to add extra height to all cells of all tables, you can do
14917  this with the following preamble line:
14918 \end_layout
14919
14920 \begin_layout Standard
14921
14922 \series bold
14923
14924 \backslash
14925 setlength{
14926 \backslash
14927 extrarowheight}{height}
14928 \end_layout
14929
14930 \begin_layout Standard
14931 But this has the disadvantage that the cell texts are no longer exactly
14932  vertically centered.
14933 \end_layout
14934
14935 \begin_layout Subsection
14936 Special Cell Alignment
14937 \begin_inset LatexCommand index
14938 name "Table Customization ! Special Cell Alignment"
14939
14940 \end_inset
14941
14942
14943 \end_layout
14944
14945 \begin_layout Standard
14946 Sometimes it looks better when the cell entries of a column are aligned
14947  with a special character, e.\InsetSpace \thinspace{}
14948 g.\InsetSpace ~
14949 with the decimal separator as in Table\InsetSpace ~
14950
14951 \begin_inset LatexCommand ref
14952 reference "tab:Table-cells-of"
14953
14954 \end_inset
14955
14956 .
14957 \end_layout
14958
14959 \begin_layout Standard
14960 \begin_inset Float table
14961 placement h
14962 wide false
14963 sideways false
14964 status open
14965
14966 \begin_layout Standard
14967 \begin_inset Caption
14968
14969 \begin_layout Standard
14970 \begin_inset LatexCommand label
14971 name "tab:Table-cells-of"
14972
14973 \end_inset
14974
14975 Table cells of a column aligned with the decimal separator.
14976 \end_layout
14977
14978 \end_inset
14979
14980
14981 \end_layout
14982
14983 \begin_layout Standard
14984 \align center
14985 \begin_inset Tabular
14986 <lyxtabular version="3" rows="4" columns="2">
14987 <features>
14988 <column alignment="right" valignment="top" width="0">
14989 <column alignment="left" valignment="top" width="0" special="@{}l">
14990 <row bottomline="true">
14991 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
14992 \begin_inset Text
14993
14994 \begin_layout Standard
14995 heading
14996 \end_layout
14997
14998 \end_inset
14999 </cell>
15000 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15001 \begin_inset Text
15002
15003 \begin_layout Standard
15004
15005 \end_layout
15006
15007 \end_inset
15008 </cell>
15009 </row>
15010 <row>
15011 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15012 \begin_inset Text
15013
15014 \begin_layout Standard
15015 12.
15016 \end_layout
15017
15018 \end_inset
15019 </cell>
15020 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15021 \begin_inset Text
15022
15023 \begin_layout Standard
15024 6
15025 \end_layout
15026
15027 \end_inset
15028 </cell>
15029 </row>
15030 <row>
15031 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15032 \begin_inset Text
15033
15034 \begin_layout Standard
15035 0.
15036 \end_layout
15037
15038 \end_inset
15039 </cell>
15040 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15041 \begin_inset Text
15042
15043 \begin_layout Standard
15044 68
15045 \end_layout
15046
15047 \end_inset
15048 </cell>
15049 </row>
15050 <row>
15051 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15052 \begin_inset Text
15053
15054 \begin_layout Standard
15055 -123.
15056 \end_layout
15057
15058 \end_inset
15059 </cell>
15060 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15061 \begin_inset Text
15062
15063 \begin_layout Standard
15064 0
15065 \end_layout
15066
15067 \end_inset
15068 </cell>
15069 </row>
15070 </lyxtabular>
15071
15072 \end_inset
15073
15074
15075 \end_layout
15076
15077 \end_inset
15078
15079
15080 \end_layout
15081
15082 \begin_layout Standard
15083 This table was created with a 4×2 table.
15084  The heading is a centered multicolumn.
15085  The first column is right-aligned and contains the digits before the decimal
15086  point and the decimal point.
15087  The second column is left aligned and contains the digits after the decimal
15088  point.
15089  To omit the space that is normally between two table columns, use the following
15090  LaTeX-argument for the second column:
15091 \end_layout
15092
15093 \begin_layout Standard
15094
15095 \series bold
15096 @{}l
15097 \end_layout
15098
15099 \begin_layout Standard
15100 Table\InsetSpace ~
15101
15102 \begin_inset LatexCommand ref
15103 reference "tab:Several-table-cell"
15104
15105 \end_inset
15106
15107  shows some example alignments.
15108  For the alignment with the relation sign, you must add the second smallest
15109  math-space at the beginning of the last column to get the correct space
15110  surrounding the relation sign.
15111 \end_layout
15112
15113 \begin_layout Standard
15114 \begin_inset Float table
15115 wide false
15116 sideways false
15117 status open
15118
15119 \begin_layout Standard
15120 \begin_inset Caption
15121
15122 \begin_layout Standard
15123 \begin_inset LatexCommand label
15124 name "tab:Several-table-cell"
15125
15126 \end_inset
15127
15128 Several table cell alignments.
15129 \end_layout
15130
15131 \end_inset
15132
15133
15134 \end_layout
15135
15136 \begin_layout Standard
15137 \align center
15138 \begin_inset Tabular
15139 <lyxtabular version="3" rows="4" columns="6">
15140 <features>
15141 <column alignment="right" valignment="top" width="0">
15142 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l">
15143 <column alignment="right" valignment="top" width="0">
15144 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l">
15145 <column alignment="right" valignment="top" width="0">
15146 <column alignment="left" valignment="top" width="0" special="@{}l">
15147 <row bottomline="true">
15148 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15149 \begin_inset Text
15150
15151 \begin_layout Standard
15152 units
15153 \end_layout
15154
15155 \end_inset
15156 </cell>
15157 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15158 \begin_inset Text
15159
15160 \begin_layout Standard
15161
15162 \end_layout
15163
15164 \end_inset
15165 </cell>
15166 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15167 \begin_inset Text
15168
15169 \begin_layout Standard
15170 exponents
15171 \end_layout
15172
15173 \end_inset
15174 </cell>
15175 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15176 \begin_inset Text
15177
15178 \begin_layout Standard
15179
15180 \end_layout
15181
15182 \end_inset
15183 </cell>
15184 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15185 \begin_inset Text
15186
15187 \begin_layout Standard
15188 relations
15189 \end_layout
15190
15191 \end_inset
15192 </cell>
15193 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15194 \begin_inset Text
15195
15196 \begin_layout Standard
15197
15198 \end_layout
15199
15200 \end_inset
15201 </cell>
15202 </row>
15203 <row>
15204 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15205 \begin_inset Text
15206
15207 \begin_layout Standard
15208 12×
15209 \end_layout
15210
15211 \end_inset
15212 </cell>
15213 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15214 \begin_inset Text
15215
15216 \begin_layout Standard
15217 24\InsetSpace \thinspace{}
15218 bottles
15219 \end_layout
15220
15221 \end_inset
15222 </cell>
15223 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15224 \begin_inset Text
15225
15226 \begin_layout Standard
15227 \begin_inset Formula $10\cdot$
15228 \end_inset
15229
15230
15231 \end_layout
15232
15233 \end_inset
15234 </cell>
15235 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15236 \begin_inset Text
15237
15238 \begin_layout Standard
15239 \begin_inset Formula $10^{\mbox{-}17}$
15240 \end_inset
15241
15242
15243 \end_layout
15244
15245 \end_inset
15246 </cell>
15247 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15248 \begin_inset Text
15249
15250 \begin_layout Standard
15251 \begin_inset Formula $\Gamma(t)\propto$
15252 \end_inset
15253
15254
15255 \end_layout
15256
15257 \end_inset
15258 </cell>
15259 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15260 \begin_inset Text
15261
15262 \begin_layout Standard
15263 \begin_inset Formula $\:\Upsilon(t)$
15264 \end_inset
15265
15266
15267 \end_layout
15268
15269 \end_inset
15270 </cell>
15271 </row>
15272 <row>
15273 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15274 \begin_inset Text
15275
15276 \begin_layout Standard
15277 1024×
15278 \end_layout
15279
15280 \end_inset
15281 </cell>
15282 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15283 \begin_inset Text
15284
15285 \begin_layout Standard
15286 768\InsetSpace \thinspace{}
15287 Pixels
15288 \end_layout
15289
15290 \end_inset
15291 </cell>
15292 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15293 \begin_inset Text
15294
15295 \begin_layout Standard
15296 \begin_inset Formula $5.78\cdot$
15297 \end_inset
15298
15299
15300 \end_layout
15301
15302 \end_inset
15303 </cell>
15304 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15305 \begin_inset Text
15306
15307 \begin_layout Standard
15308 \begin_inset Formula $10^{7}$
15309 \end_inset
15310
15311
15312 \end_layout
15313
15314 \end_inset
15315 </cell>
15316 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15317 \begin_inset Text
15318
15319 \begin_layout Standard
15320 \begin_inset Formula $A\ne$
15321 \end_inset
15322
15323
15324 \end_layout
15325
15326 \end_inset
15327 </cell>
15328 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15329 \begin_inset Text
15330
15331 \begin_layout Standard
15332 \begin_inset Formula $\: B_{\mathrm{red}}$
15333 \end_inset
15334
15335
15336 \end_layout
15337
15338 \end_inset
15339 </cell>
15340 </row>
15341 <row>
15342 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15343 \begin_inset Text
15344
15345 \begin_layout Standard
15346 32×
15347 \end_layout
15348
15349 \end_inset
15350 </cell>
15351 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15352 \begin_inset Text
15353
15354 \begin_layout Standard
15355 6\InsetSpace \thinspace{}
15356 cm
15357 \end_layout
15358
15359 \end_inset
15360 </cell>
15361 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15362 \begin_inset Text
15363
15364 \begin_layout Standard
15365 -
15366 \begin_inset Formula $33.5\cdot$
15367 \end_inset
15368
15369
15370 \end_layout
15371
15372 \end_inset
15373 </cell>
15374 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15375 \begin_inset Text
15376
15377 \begin_layout Standard
15378 \begin_inset Formula $10^{4}$
15379 \end_inset
15380
15381
15382 \end_layout
15383
15384 \end_inset
15385 </cell>
15386 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15387 \begin_inset Text
15388
15389 \begin_layout Standard
15390 \begin_inset Formula $\sin(\alpha)\ge$
15391 \end_inset
15392
15393
15394 \end_layout
15395
15396 \end_inset
15397 </cell>
15398 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15399 \begin_inset Text
15400
15401 \begin_layout Standard
15402 \begin_inset Formula $\:\sin(\beta)$
15403 \end_inset
15404
15405
15406 \end_layout
15407
15408 \end_inset
15409 </cell>
15410 </row>
15411 </lyxtabular>
15412
15413 \end_inset
15414
15415
15416 \end_layout
15417
15418 \end_inset
15419
15420
15421 \end_layout
15422
15423 \begin_layout Standard
15424 \begin_inset VSpace bigskip
15425 \end_inset
15426
15427 There is also the LaTeX-package 
15428 \series bold
15429 dcolumn
15430 \series default
15431
15432 \begin_inset LatexCommand index
15433 name "LaTeX-packages ! dcolumn"
15434
15435 \end_inset
15436
15437  that provides table cell alignments.
15438  But this unfortunately treats the cell entries as math and doesn't allow
15439  formulas in table cells: The first column of Table\InsetSpace ~
15440
15441 \begin_inset LatexCommand ref
15442 reference "tab:Several-table-cell"
15443
15444 \end_inset
15445
15446  will look with 
15447 \series bold
15448 dcolumn
15449 \series default
15450  like the first column in Table\InsetSpace ~
15451
15452 \begin_inset LatexCommand ref
15453 reference "tab:Alignments-when"
15454
15455 \end_inset
15456
15457  and only with some tricks like the expected.
15458  The alignment of the second and third column of Table\InsetSpace ~
15459
15460 \begin_inset LatexCommand ref
15461 reference "tab:Several-table-cell"
15462
15463 \end_inset
15464
15465  is not possible with 
15466 \series bold
15467 dcolumn
15468 \series default
15469 .
15470 \end_layout
15471
15472 \begin_layout Standard
15473 \begin_inset Float table
15474 placement h
15475 wide false
15476 sideways false
15477 status open
15478
15479 \begin_layout Standard
15480 \begin_inset Caption
15481
15482 \begin_layout Standard
15483 \begin_inset LatexCommand label
15484 name "tab:Alignments-when"
15485
15486 \end_inset
15487
15488 Alignments when LaTeX-package dcolumn is used.
15489  For all column alignments tricks have to be used to get the output.
15490 \end_layout
15491
15492 \end_inset
15493
15494
15495 \end_layout
15496
15497 \begin_layout Standard
15498 \align center
15499 \begin_inset Tabular
15500 <lyxtabular version="3" rows="4" columns="3">
15501 <features>
15502 <column alignment="center" valignment="top" rightline="true" width="0" special="D{x}{\times}{-1}">
15503 <column alignment="center" valignment="top" rightline="true" width="0" special="D{x}{\times}{4.9}">
15504 <column alignment="center" valignment="top" width="0" special="D{~}{\,}{9.7}">
15505 <row bottomline="true">
15506 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15507 \begin_inset Text
15508
15509 \begin_layout Standard
15510 units
15511 \end_layout
15512
15513 \end_inset
15514 </cell>
15515 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15516 \begin_inset Text
15517
15518 \begin_layout Standard
15519 units
15520 \end_layout
15521
15522 \end_inset
15523 </cell>
15524 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15525 \begin_inset Text
15526
15527 \begin_layout Standard
15528 units
15529 \end_layout
15530
15531 \end_inset
15532 </cell>
15533 </row>
15534 <row>
15535 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15536 \begin_inset Text
15537
15538 \begin_layout Standard
15539 12x24\InsetSpace \thinspace{}
15540 bottles
15541 \end_layout
15542
15543 \end_inset
15544 </cell>
15545 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15546 \begin_inset Text
15547
15548 \begin_layout Standard
15549 12x24\InsetSpace \thinspace{}
15550
15551 \begin_inset Formula $\mbox{bottles}$
15552 \end_inset
15553
15554
15555 \end_layout
15556
15557 \end_inset
15558 </cell>
15559 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15560 \begin_inset Text
15561
15562 \begin_layout Standard
15563 12
15564 \begin_inset ERT
15565 status collapsed
15566
15567 \begin_layout Standard
15568
15569
15570 \backslash
15571 times 
15572 \end_layout
15573
15574 \end_inset
15575
15576 24~
15577 \begin_inset Formula $\mbox{bottles}$
15578 \end_inset
15579
15580
15581 \end_layout
15582
15583 \end_inset
15584 </cell>
15585 </row>
15586 <row>
15587 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15588 \begin_inset Text
15589
15590 \begin_layout Standard
15591 1024x768\InsetSpace \thinspace{}
15592 Pixels
15593 \end_layout
15594
15595 \end_inset
15596 </cell>
15597 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15598 \begin_inset Text
15599
15600 \begin_layout Standard
15601 1024x768\InsetSpace \thinspace{}
15602
15603 \begin_inset Formula $\mbox{Pixels}$
15604 \end_inset
15605
15606
15607 \end_layout
15608
15609 \end_inset
15610 </cell>
15611 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15612 \begin_inset Text
15613
15614 \begin_layout Standard
15615 1024
15616 \begin_inset ERT
15617 status collapsed
15618
15619 \begin_layout Standard
15620
15621
15622 \backslash
15623 times 
15624 \end_layout
15625
15626 \end_inset
15627
15628 768~
15629 \begin_inset Formula $\mbox{Pixels}$
15630 \end_inset
15631
15632
15633 \end_layout
15634
15635 \end_inset
15636 </cell>
15637 </row>
15638 <row>
15639 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15640 \begin_inset Text
15641
15642 \begin_layout Standard
15643 32x6\InsetSpace \thinspace{}
15644 cm
15645 \end_layout
15646
15647 \end_inset
15648 </cell>
15649 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15650 \begin_inset Text
15651
15652 \begin_layout Standard
15653 32x6\InsetSpace \thinspace{}
15654
15655 \begin_inset Formula $\mbox{cm}$
15656 \end_inset
15657
15658
15659 \end_layout
15660
15661 \end_inset
15662 </cell>
15663 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15664 \begin_inset Text
15665
15666 \begin_layout Standard
15667 32
15668 \begin_inset ERT
15669 status collapsed
15670
15671 \begin_layout Standard
15672
15673
15674 \backslash
15675 times 
15676 \end_layout
15677
15678 \end_inset
15679
15680 6~
15681 \begin_inset Formula $\mbox{cm}$
15682 \end_inset
15683
15684
15685 \end_layout
15686
15687 \end_inset
15688 </cell>
15689 </row>
15690 </lyxtabular>
15691
15692 \end_inset
15693
15694
15695 \end_layout
15696
15697 \end_inset
15698
15699
15700 \end_layout
15701
15702 \begin_layout Subsection
15703 Customized Cell/Column Format
15704 \begin_inset LatexCommand label
15705 name "sub:Customized-Format"
15706
15707 \end_inset
15708
15709
15710 \begin_inset LatexCommand index
15711 name "Table Customization ! Cell/Column Format"
15712
15713 \end_inset
15714
15715
15716 \end_layout
15717
15718 \begin_layout Standard
15719 Calculating the needed width for spanned columns like in section\InsetSpace ~
15720
15721 \begin_inset LatexCommand ref
15722 reference "sub:Multicolumn-Calculations"
15723
15724 \end_inset
15725
15726  is very annoying if you have several tables with multicolumn cells.
15727  To make life easier, you can define a cell/column format in the preamble,
15728  so that it can be used in all tables of the document.
15729  The format is defined with the command
15730 \end_layout
15731
15732 \begin_layout Standard
15733
15734 \series bold
15735
15736 \backslash
15737 newcolumntype{name of format}[number of arguments]{commands}
15738 \end_layout
15739
15740 \begin_layout Standard
15741 The format name may only consist of one letter.
15742  The letters 
15743 \emph on
15744 b
15745 \emph default
15746
15747 \emph on
15748 c
15749 \emph default
15750
15751 \emph on
15752 l
15753 \emph default
15754
15755 \emph on
15756 m
15757 \emph default
15758
15759 \emph on
15760 p
15761 \emph default
15762  and 
15763 \emph on
15764 r
15765 \emph default
15766  are predefined and cannot be used.
15767  But all letters are allowed as capitals.
15768 \end_layout
15769
15770 \begin_layout Standard
15771 \begin_inset VSpace medskip
15772 \end_inset
15773
15774
15775 \end_layout
15776
15777 \begin_layout Standard
15778 For vertically and horizontally centered multicolumn cells with a fixed
15779  width you can define the cell format
15780 \end_layout
15781
15782 \begin_layout Standard
15783
15784 \series bold
15785
15786 \backslash
15787 newcolumntype{M}[1]{>{
15788 \backslash
15789 centering
15790 \backslash
15791 hspace{0pt}}m{#1}}
15792 \end_layout
15793
15794 \begin_layout Standard
15795 where 
15796 \series bold
15797
15798 \backslash
15799 hspace{0pt}
15800 \series default
15801  avoids the problem of hyphenating the first word, as described in section\InsetSpace ~
15802
15803 \begin_inset LatexCommand ref
15804 reference "sub:Multiple-Lines-in"
15805
15806 \end_inset
15807
15808 .
15809  Now you can simply enter
15810 \end_layout
15811
15812 \begin_layout Standard
15813
15814 \series bold
15815 M{width}
15816 \end_layout
15817
15818 \begin_layout Standard
15819 as LaTeX-argument in the table dialog to create a multicolumn.
15820 \end_layout
15821
15822 \begin_layout Standard
15823 \begin_inset VSpace bigskip
15824 \end_inset
15825
15826
15827 \end_layout
15828
15829 \begin_layout Standard
15830 For cells spanned by a multicolumn cell, you can define the format
15831 \end_layout
15832
15833 \begin_layout Standard
15834
15835 \series bold
15836
15837 \backslash
15838 newcolumntype{S}[2]{>{
15839 \backslash
15840 centering
15841 \backslash
15842 hspace{0pt}}
15843 \newline
15844
15845 \begin_inset ERT
15846 status collapsed
15847
15848 \begin_layout Standard
15849
15850
15851 \backslash
15852 phantom{
15853 \end_layout
15854
15855 \end_inset
15856
15857
15858 \backslash
15859 newcolumntype{S}[2]
15860 \begin_inset ERT
15861 status collapsed
15862
15863 \begin_layout Standard
15864
15865 }
15866 \end_layout
15867
15868 \end_inset
15869
15870 m{(#1+(2
15871 \backslash
15872 tabcolsep+
15873 \backslash
15874 arrayrulewidth)*(1-#2))/#2}}
15875 \end_layout
15876
15877 \begin_layout Standard
15878 This format uses equation 
15879 \begin_inset LatexCommand eqref
15880 reference "eq:Wgn"
15881
15882 \end_inset
15883
15884  to calculate the needed width so that each spanned cell has the same width.
15885 \end_layout
15886
15887 \begin_layout Standard
15888 You can now enter
15889 \end_layout
15890
15891 \begin_layout Standard
15892
15893 \series bold
15894 S{width of multicolumn cell}{number of spanned columns}
15895 \end_layout
15896
15897 \begin_layout Standard
15898 as LaTeX-argument of the column.
15899 \end_layout
15900
15901 \begin_layout Standard
15902 \begin_inset VSpace bigskip
15903 \end_inset
15904
15905
15906 \end_layout
15907
15908 \begin_layout Standard
15909 For colored columns, you can define
15910 \end_layout
15911
15912 \begin_layout Standard
15913
15914 \series bold
15915
15916 \backslash
15917 newcolumntype{K}[1]{>{
15918 \backslash
15919 columncolor{#1}
15920 \backslash
15921 hspace{0pt}}c}
15922 \end_layout
15923
15924 \begin_layout Standard
15925 The 
15926 \begin_inset Quotes eld
15927 \end_inset
15928
15929 c
15930 \begin_inset Quotes erd
15931 \end_inset
15932
15933  at the end creates a column with a flexible width whose text is horizontally
15934  centered.
15935  You can now enter
15936 \end_layout
15937
15938 \begin_layout Standard
15939
15940 \series bold
15941 K{color name}
15942 \end_layout
15943
15944 \begin_layout Standard
15945 as LaTeX-argument.
15946 \end_layout
15947
15948 \begin_layout Standard
15949 \begin_inset VSpace bigskip
15950 \end_inset
15951
15952
15953 \end_layout
15954
15955 \begin_layout Standard
15956 To create Table\InsetSpace ~
15957
15958 \begin_inset LatexCommand ref
15959 reference "tab:Table-using-user-defined"
15960
15961 \end_inset
15962
15963  use the LaTeX-arguments
15964 \end_layout
15965
15966 \begin_layout Standard
15967
15968 \series bold
15969 M{2.5cm}
15970 \end_layout
15971
15972 \begin_layout Standard
15973 for the first column and the multicolumn,
15974 \end_layout
15975
15976 \begin_layout Standard
15977
15978 \series bold
15979 K{red}
15980 \end_layout
15981
15982 \begin_layout Standard
15983 for the the last column, and
15984 \end_layout
15985
15986 \begin_layout Standard
15987
15988 \series bold
15989 S{2.5cm}{2}
15990 \end_layout
15991
15992 \begin_layout Standard
15993 for the cells in the second column.
15994 \end_layout
15995
15996 \begin_layout Standard
15997 \begin_inset Float table
15998 placement h
15999 wide false
16000 sideways false
16001 status open
16002
16003 \begin_layout Standard
16004 \begin_inset Caption
16005
16006 \begin_layout Standard
16007 \begin_inset LatexCommand label
16008 name "tab:Table-using-user-defined"
16009
16010 \end_inset
16011
16012 Table using user-defined table formats
16013 \end_layout
16014
16015 \end_inset
16016
16017
16018 \end_layout
16019
16020 \begin_layout Standard
16021 \align center
16022 \begin_inset Tabular
16023 <lyxtabular version="3" rows="3" columns="4">
16024 <features>
16025 <column alignment="center" valignment="middle" leftline="true" width="2.5cm" special="M{2.5cm}">
16026 <column alignment="center" valignment="middle" leftline="true" width="0" special="S{2.5cm}{2}">
16027 <column alignment="center" valignment="middle" leftline="true" width="0">
16028 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0" special="K{red}">
16029 <row topline="true">
16030 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16031 \begin_inset Text
16032
16033 \begin_layout Standard
16034 verylongtablecellword
16035 \end_layout
16036
16037 \end_inset
16038 </cell>
16039 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none" special="M{2.5cm}">
16040 \begin_inset Text
16041
16042 \begin_layout Standard
16043 multiple lines multicolumn
16044 \end_layout
16045
16046 \end_inset
16047 </cell>
16048 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16049 \begin_inset Text
16050
16051 \begin_layout Standard
16052
16053 \end_layout
16054
16055 \end_inset
16056 </cell>
16057 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16058 \begin_inset Text
16059
16060 \begin_layout Standard
16061 c
16062 \end_layout
16063
16064 \end_inset
16065 </cell>
16066 </row>
16067 <row topline="true">
16068 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16069 \begin_inset Text
16070
16071 \begin_layout Standard
16072 d
16073 \end_layout
16074
16075 \end_inset
16076 </cell>
16077 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16078 \begin_inset Text
16079
16080 \begin_layout Standard
16081 e
16082 \end_layout
16083
16084 \end_inset
16085 </cell>
16086 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16087 \begin_inset Text
16088
16089 \begin_layout Standard
16090 f
16091 \end_layout
16092
16093 \end_inset
16094 </cell>
16095 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16096 \begin_inset Text
16097
16098 \begin_layout Standard
16099 g
16100 \end_layout
16101
16102 \end_inset
16103 </cell>
16104 </row>
16105 <row topline="true" bottomline="true">
16106 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16107 \begin_inset Text
16108
16109 \begin_layout Standard
16110 h
16111 \end_layout
16112
16113 \end_inset
16114 </cell>
16115 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16116 \begin_inset Text
16117
16118 \begin_layout Standard
16119 i
16120 \end_layout
16121
16122 \end_inset
16123 </cell>
16124 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16125 \begin_inset Text
16126
16127 \begin_layout Standard
16128 j
16129 \end_layout
16130
16131 \end_inset
16132 </cell>
16133 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16134 \begin_inset Text
16135
16136 \begin_layout Standard
16137 k
16138 \end_layout
16139
16140 \end_inset
16141 </cell>
16142 </row>
16143 </lyxtabular>
16144
16145 \end_inset
16146
16147
16148 \end_layout
16149
16150 \end_inset
16151
16152
16153 \end_layout
16154
16155 \begin_layout Subsection
16156 Line Thickness
16157 \begin_inset LatexCommand label
16158 name "sub:Line-Thickness"
16159
16160 \end_inset
16161
16162
16163 \begin_inset LatexCommand index
16164 name "Table Customization ! Line Thickness"
16165
16166 \end_inset
16167
16168
16169 \end_layout
16170
16171 \begin_layout Standard
16172 The line thickness for all lines in a table can be adjusted with the length
16173  
16174 \series bold
16175
16176 \backslash
16177 arrayrulewidth
16178 \series default
16179 .
16180  To set for example a line thickness of 1.5\InsetSpace \thinspace{}
16181 pt, like in Table\InsetSpace ~
16182
16183 \begin_inset LatexCommand ref
16184 reference "tab:Table-with-1.5"
16185
16186 \end_inset
16187
16188 , insert the command
16189 \end_layout
16190
16191 \begin_layout Standard
16192
16193 \series bold
16194
16195 \backslash
16196 setlength{
16197 \backslash
16198 arrayrulewidth}{1.5pt}
16199 \end_layout
16200
16201 \begin_layout Standard
16202 in ERT before the table or table float.
16203  The changed thickness is valid for all following tables.
16204  To use the default value again, set 
16205 \series bold
16206
16207 \backslash
16208 arrayrulewidth
16209 \series default
16210  to 0.4\InsetSpace \thinspace{}
16211 pt in ERT behind the table or table float.
16212 \end_layout
16213
16214 \begin_layout Standard
16215 \begin_inset ERT
16216 status collapsed
16217
16218 \begin_layout Standard
16219
16220
16221 \backslash
16222 setlength{
16223 \backslash
16224 arrayrulewidth}{1.5pt}
16225 \end_layout
16226
16227 \end_inset
16228
16229
16230 \begin_inset Float table
16231 wide false
16232 sideways false
16233 status open
16234
16235 \begin_layout Standard
16236 \begin_inset Caption
16237
16238 \begin_layout Standard
16239 \begin_inset LatexCommand label
16240 name "tab:Table-with-1.5"
16241
16242 \end_inset
16243
16244 Table with 1.5\InsetSpace \thinspace{}
16245 pt thick lines
16246 \end_layout
16247
16248 \end_inset
16249
16250
16251 \end_layout
16252
16253 \begin_layout Standard
16254 \align center
16255 \begin_inset Tabular
16256 <lyxtabular version="3" rows="3" columns="3">
16257 <features>
16258 <column alignment="center" valignment="top" leftline="true" width="0">
16259 <column alignment="center" valignment="top" leftline="true" width="0">
16260 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16261 <row topline="true">
16262 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16263 \begin_inset Text
16264
16265 \begin_layout Standard
16266 sd
16267 \end_layout
16268
16269 \end_inset
16270 </cell>
16271 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16272 \begin_inset Text
16273
16274 \begin_layout Standard
16275
16276 \end_layout
16277
16278 \end_inset
16279 </cell>
16280 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16281 \begin_inset Text
16282
16283 \begin_layout Standard
16284
16285 \end_layout
16286
16287 \end_inset
16288 </cell>
16289 </row>
16290 <row topline="true">
16291 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16292 \begin_inset Text
16293
16294 \begin_layout Standard
16295
16296 \end_layout
16297
16298 \end_inset
16299 </cell>
16300 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16301 \begin_inset Text
16302
16303 \begin_layout Standard
16304 sd
16305 \end_layout
16306
16307 \end_inset
16308 </cell>
16309 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16310 \begin_inset Text
16311
16312 \begin_layout Standard
16313
16314 \end_layout
16315
16316 \end_inset
16317 </cell>
16318 </row>
16319 <row topline="true" bottomline="true">
16320 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16321 \begin_inset Text
16322
16323 \begin_layout Standard
16324
16325 \end_layout
16326
16327 \end_inset
16328 </cell>
16329 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16330 \begin_inset Text
16331
16332 \begin_layout Standard
16333
16334 \end_layout
16335
16336 \end_inset
16337 </cell>
16338 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16339 \begin_inset Text
16340
16341 \begin_layout Standard
16342 sd
16343 \end_layout
16344
16345 \end_inset
16346 </cell>
16347 </row>
16348 </lyxtabular>
16349
16350 \end_inset
16351
16352
16353 \end_layout
16354
16355 \end_inset
16356
16357
16358 \begin_inset ERT
16359 status collapsed
16360
16361 \begin_layout Standard
16362
16363
16364 \backslash
16365 setlength{
16366 \backslash
16367 arrayrulewidth}{0.4pt}
16368 \end_layout
16369
16370 \end_inset
16371
16372
16373 \end_layout
16374
16375 \begin_layout Standard
16376 \begin_inset VSpace bigskip
16377 \end_inset
16378
16379 To set the line thickness to 1.5\InsetSpace \thinspace{}
16380 pt only for horizontal lines, like in Table\InsetSpace ~
16381
16382 \begin_inset LatexCommand ref
16383 reference "tab:Table-with-horizontal"
16384
16385 \end_inset
16386
16387 , insert these commands in ERT before the table or table float:
16388 \end_layout
16389
16390 \begin_layout Standard
16391
16392 \series bold
16393
16394 \backslash
16395 let
16396 \backslash
16397 myHline
16398 \backslash
16399 hline
16400 \newline
16401
16402 \backslash
16403 renewcommand{
16404 \backslash
16405 hline}
16406 \newline
16407  {
16408 \backslash
16409 noalign{
16410 \backslash
16411 global
16412 \backslash
16413 arrayrulewidth 1.5pt}
16414 \newline
16415   
16416 \backslash
16417 myHline
16418 \backslash
16419 noalign{
16420 \backslash
16421 global
16422 \backslash
16423 arrayrulewidth 0.4pt}}
16424 \end_layout
16425
16426 \begin_layout Standard
16427 To return to the default line thickness, insert this command in ERT behind
16428  the table or table float:
16429 \end_layout
16430
16431 \begin_layout Standard
16432
16433 \series bold
16434
16435 \backslash
16436 renewcommand{
16437 \backslash
16438 hline}{
16439 \backslash
16440 myHline}
16441 \end_layout
16442
16443 \begin_layout Standard
16444 \begin_inset ERT
16445 status collapsed
16446
16447 \begin_layout Standard
16448
16449
16450 \backslash
16451 let
16452 \backslash
16453 myHline
16454 \backslash
16455 hline
16456 \end_layout
16457
16458 \begin_layout Standard
16459
16460
16461 \backslash
16462 renewcommand{
16463 \backslash
16464 hline}
16465 \end_layout
16466
16467 \begin_layout Standard
16468
16469  {
16470 \backslash
16471 noalign{
16472 \backslash
16473 global
16474 \backslash
16475 arrayrulewidth 1.5pt}
16476 \end_layout
16477
16478 \begin_layout Standard
16479
16480   
16481 \backslash
16482 myHline
16483 \backslash
16484 noalign{
16485 \backslash
16486 global
16487 \backslash
16488 arrayrulewidth 0.4pt}}
16489 \end_layout
16490
16491 \end_inset
16492
16493
16494 \begin_inset Float table
16495 wide false
16496 sideways false
16497 status open
16498
16499 \begin_layout Standard
16500 \begin_inset Caption
16501
16502 \begin_layout Standard
16503 \begin_inset LatexCommand label
16504 name "tab:Table-with-horizontal"
16505
16506 \end_inset
16507
16508 Table with 1.5\InsetSpace \thinspace{}
16509 pt thick horizontal lines
16510 \end_layout
16511
16512 \end_inset
16513
16514
16515 \end_layout
16516
16517 \begin_layout Standard
16518 \align center
16519 \begin_inset Tabular
16520 <lyxtabular version="3" rows="3" columns="3">
16521 <features>
16522 <column alignment="center" valignment="top" leftline="true" width="0">
16523 <column alignment="center" valignment="top" leftline="true" width="0">
16524 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16525 <row topline="true">
16526 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16527 \begin_inset Text
16528
16529 \begin_layout Standard
16530 sd
16531 \end_layout
16532
16533 \end_inset
16534 </cell>
16535 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16536 \begin_inset Text
16537
16538 \begin_layout Standard
16539
16540 \end_layout
16541
16542 \end_inset
16543 </cell>
16544 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16545 \begin_inset Text
16546
16547 \begin_layout Standard
16548
16549 \end_layout
16550
16551 \end_inset
16552 </cell>
16553 </row>
16554 <row topline="true">
16555 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16556 \begin_inset Text
16557
16558 \begin_layout Standard
16559
16560 \end_layout
16561
16562 \end_inset
16563 </cell>
16564 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16565 \begin_inset Text
16566
16567 \begin_layout Standard
16568 sd
16569 \end_layout
16570
16571 \end_inset
16572 </cell>
16573 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16574 \begin_inset Text
16575
16576 \begin_layout Standard
16577
16578 \end_layout
16579
16580 \end_inset
16581 </cell>
16582 </row>
16583 <row topline="true" bottomline="true">
16584 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16585 \begin_inset Text
16586
16587 \begin_layout Standard
16588
16589 \end_layout
16590
16591 \end_inset
16592 </cell>
16593 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16594 \begin_inset Text
16595
16596 \begin_layout Standard
16597
16598 \end_layout
16599
16600 \end_inset
16601 </cell>
16602 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16603 \begin_inset Text
16604
16605 \begin_layout Standard
16606 sd
16607 \end_layout
16608
16609 \end_inset
16610 </cell>
16611 </row>
16612 </lyxtabular>
16613
16614 \end_inset
16615
16616
16617 \end_layout
16618
16619 \end_inset
16620
16621
16622 \begin_inset ERT
16623 status collapsed
16624
16625 \begin_layout Standard
16626
16627
16628 \backslash
16629 renewcommand{
16630 \backslash
16631 hline}{
16632 \backslash
16633 myHline}
16634 \end_layout
16635
16636 \end_inset
16637
16638
16639 \end_layout
16640
16641 \begin_layout Standard
16642 \begin_inset VSpace bigskip
16643 \end_inset
16644
16645 To set the line thickness to 1.5\InsetSpace \thinspace{}
16646 pt only for vertical lines, create the following
16647  column format in the document preamble, according to the description in
16648  section\InsetSpace ~
16649
16650 \begin_inset LatexCommand ref
16651 reference "sub:Customized-Format"
16652
16653 \end_inset
16654
16655 :
16656 \end_layout
16657
16658 \begin_layout Standard
16659
16660 \series bold
16661
16662 \backslash
16663 newcolumntype{V}{!{
16664 \backslash
16665 vrule width 1.5pt}}
16666 \end_layout
16667
16668 \begin_layout Standard
16669 For Table\InsetSpace ~
16670
16671 \begin_inset LatexCommand ref
16672 reference "tab:Table-with-vertical"
16673
16674 \end_inset
16675
16676  the LaTeX-argument
16677 \end_layout
16678
16679 \begin_layout Standard
16680
16681 \series bold
16682 VcV
16683 \end_layout
16684
16685 \begin_layout Standard
16686 was used for the last column and
16687 \end_layout
16688
16689 \begin_layout Standard
16690
16691 \series bold
16692 Vc
16693 \end_layout
16694
16695 \begin_layout Standard
16696 for the other columns.
16697 \end_layout
16698
16699 \begin_layout Standard
16700 \begin_inset Float table
16701 wide false
16702 sideways false
16703 status open
16704
16705 \begin_layout Standard
16706 \begin_inset Caption
16707
16708 \begin_layout Standard
16709 \begin_inset LatexCommand label
16710 name "tab:Table-with-vertical"
16711
16712 \end_inset
16713
16714 Table with 1.5\InsetSpace \thinspace{}
16715 pt thick vertical lines
16716 \end_layout
16717
16718 \end_inset
16719
16720
16721 \end_layout
16722
16723 \begin_layout Standard
16724 \align center
16725 \begin_inset Tabular
16726 <lyxtabular version="3" rows="3" columns="3">
16727 <features>
16728 <column alignment="center" valignment="top" width="0" special="Vc">
16729 <column alignment="center" valignment="top" width="0" special="Vc">
16730 <column alignment="center" valignment="top" width="0" special="VcV">
16731 <row topline="true">
16732 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16733 \begin_inset Text
16734
16735 \begin_layout Standard
16736 sd
16737 \end_layout
16738
16739 \end_inset
16740 </cell>
16741 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16742 \begin_inset Text
16743
16744 \begin_layout Standard
16745
16746 \end_layout
16747
16748 \end_inset
16749 </cell>
16750 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16751 \begin_inset Text
16752
16753 \begin_layout Standard
16754
16755 \end_layout
16756
16757 \end_inset
16758 </cell>
16759 </row>
16760 <row topline="true">
16761 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16762 \begin_inset Text
16763
16764 \begin_layout Standard
16765
16766 \end_layout
16767
16768 \end_inset
16769 </cell>
16770 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16771 \begin_inset Text
16772
16773 \begin_layout Standard
16774 sd
16775 \end_layout
16776
16777 \end_inset
16778 </cell>
16779 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16780 \begin_inset Text
16781
16782 \begin_layout Standard
16783
16784 \end_layout
16785
16786 \end_inset
16787 </cell>
16788 </row>
16789 <row topline="true" bottomline="true">
16790 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16791 \begin_inset Text
16792
16793 \begin_layout Standard
16794
16795 \end_layout
16796
16797 \end_inset
16798 </cell>
16799 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16800 \begin_inset Text
16801
16802 \begin_layout Standard
16803
16804 \end_layout
16805
16806 \end_inset
16807 </cell>
16808 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16809 \begin_inset Text
16810
16811 \begin_layout Standard
16812 sd
16813 \end_layout
16814
16815 \end_inset
16816 </cell>
16817 </row>
16818 </lyxtabular>
16819
16820 \end_inset
16821
16822
16823 \end_layout
16824
16825 \end_inset
16826
16827
16828 \end_layout
16829
16830 \begin_layout Subsection
16831 Dashed Lines
16832 \begin_inset LatexCommand index
16833 name "Table Customization ! Dashed Lines"
16834
16835 \end_inset
16836
16837
16838 \end_layout
16839
16840 \begin_layout Standard
16841 \begin_inset ERT
16842 status collapsed
16843
16844 \begin_layout Standard
16845
16846
16847 \backslash
16848 ifarydshln
16849 \end_layout
16850
16851 \end_inset
16852
16853
16854 \begin_inset Note Note
16855 status open
16856
16857 \begin_layout Standard
16858 The following section will only be displayed when you have the LaTeX-package
16859  
16860 \series bold
16861 arydshln
16862 \series default
16863  is installed.
16864 \end_layout
16865
16866 \end_inset
16867
16868
16869 \end_layout
16870
16871 \begin_layout Standard
16872 \begin_inset Float table
16873 placement H
16874 wide false
16875 sideways false
16876 status open
16877
16878 \begin_layout Standard
16879 \begin_inset Caption
16880
16881 \begin_layout Standard
16882 \begin_inset LatexCommand label
16883 name "tab:Table-with-dashed"
16884
16885 \end_inset
16886
16887 Table with dashed lines
16888 \end_layout
16889
16890 \end_inset
16891
16892
16893 \end_layout
16894
16895 \begin_layout Standard
16896 \align center
16897 \begin_inset Tabular
16898 <lyxtabular version="3" rows="5" columns="5">
16899 <features>
16900 <column alignment="center" valignment="top" leftline="true" width="0">
16901 <column alignment="center" valignment="top" leftline="true" width="0">
16902 <column alignment="center" valignment="top" width="0" special=":c">
16903 <column alignment="center" valignment="top" leftline="true" width="0">
16904 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16905 <row topline="true" bottomline="true">
16906 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16907 \begin_inset Text
16908
16909 \begin_layout Standard
16910 a
16911 \end_layout
16912
16913 \end_inset
16914 </cell>
16915 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16916 \begin_inset Text
16917
16918 \begin_layout Standard
16919 b
16920 \end_layout
16921
16922 \end_inset
16923 </cell>
16924 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16925 \begin_inset Text
16926
16927 \begin_layout Standard
16928 c
16929 \end_layout
16930
16931 \end_inset
16932 </cell>
16933 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16934 \begin_inset Text
16935
16936 \begin_layout Standard
16937 d
16938 \end_layout
16939
16940 \end_inset
16941 </cell>
16942 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16943 \begin_inset Text
16944
16945 \begin_layout Standard
16946 e
16947 \end_layout
16948
16949 \end_inset
16950 </cell>
16951 </row>
16952 <row topline="true">
16953 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16954 \begin_inset Text
16955
16956 \begin_layout Standard
16957 f
16958 \end_layout
16959
16960 \end_inset
16961 </cell>
16962 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16963 \begin_inset Text
16964
16965 \begin_layout Standard
16966 g
16967 \end_layout
16968
16969 \end_inset
16970 </cell>
16971 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16972 \begin_inset Text
16973
16974 \begin_layout Standard
16975 h
16976 \end_layout
16977
16978 \end_inset
16979 </cell>
16980 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16981 \begin_inset Text
16982
16983 \begin_layout Standard
16984 i
16985 \end_layout
16986
16987 \end_inset
16988 </cell>
16989 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16990 \begin_inset Text
16991
16992 \begin_layout Standard
16993 j
16994 \end_layout
16995
16996 \end_inset
16997 </cell>
16998 </row>
16999 <row>
17000 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17001 \begin_inset Text
17002
17003 \begin_layout Standard
17004 \begin_inset ERT
17005 status collapsed
17006
17007 \begin_layout Standard
17008
17009
17010 \backslash
17011 hdashline 
17012 \end_layout
17013
17014 \end_inset
17015
17016 k
17017 \end_layout
17018
17019 \end_inset
17020 </cell>
17021 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17022 \begin_inset Text
17023
17024 \begin_layout Standard
17025 l
17026 \end_layout
17027
17028 \end_inset
17029 </cell>
17030 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17031 \begin_inset Text
17032
17033 \begin_layout Standard
17034 m
17035 \end_layout
17036
17037 \end_inset
17038 </cell>
17039 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17040 \begin_inset Text
17041
17042 \begin_layout Standard
17043 n
17044 \end_layout
17045
17046 \end_inset
17047 </cell>
17048 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17049 \begin_inset Text
17050
17051 \begin_layout Standard
17052 o
17053 \end_layout
17054
17055 \end_inset
17056 </cell>
17057 </row>
17058 <row topline="true">
17059 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17060 \begin_inset Text
17061
17062 \begin_layout Standard
17063 \begin_inset ERT
17064 status collapsed
17065
17066 \begin_layout Standard
17067
17068
17069 \backslash
17070 cdashline{4-5}
17071 \end_layout
17072
17073 \end_inset
17074
17075 p
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 q
17085 \end_layout
17086
17087 \end_inset
17088 </cell>
17089 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="c:">
17090 \begin_inset Text
17091
17092 \begin_layout Standard
17093 r
17094 \end_layout
17095
17096 \end_inset
17097 </cell>
17098 <cell multicolumn="1" alignment="center" valignment="top" rightline="true" usebox="none" special="c:">
17099 \begin_inset Text
17100
17101 \begin_layout Standard
17102 s
17103 \end_layout
17104
17105 \end_inset
17106 </cell>
17107 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17108 \begin_inset Text
17109
17110 \begin_layout Standard
17111
17112 \end_layout
17113
17114 \end_inset
17115 </cell>
17116 </row>
17117 <row topline="true" bottomline="true">
17118 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17119 \begin_inset Text
17120
17121 \begin_layout Standard
17122 t
17123 \end_layout
17124
17125 \end_inset
17126 </cell>
17127 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17128 \begin_inset Text
17129
17130 \begin_layout Standard
17131 u
17132 \end_layout
17133
17134 \end_inset
17135 </cell>
17136 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17137 \begin_inset Text
17138
17139 \begin_layout Standard
17140 v
17141 \end_layout
17142
17143 \end_inset
17144 </cell>
17145 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17146 \begin_inset Text
17147
17148 \begin_layout Standard
17149 w
17150 \end_layout
17151
17152 \end_inset
17153 </cell>
17154 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17155 \begin_inset Text
17156
17157 \begin_layout Standard
17158 x
17159 \end_layout
17160
17161 \end_inset
17162 </cell>
17163 </row>
17164 </lyxtabular>
17165
17166 \end_inset
17167
17168
17169 \end_layout
17170
17171 \end_inset
17172
17173
17174 \end_layout
17175
17176 \begin_layout Standard
17177 LyX doesn't natively support dashed lines, so you have to use ERT.
17178  As prerequisite the LaTeX-package 
17179 \series bold
17180 arydshln
17181 \series default
17182
17183 \begin_inset LatexCommand index
17184 name "LaTeX-packages ! arydshln"
17185
17186 \end_inset
17187
17188  must be loaded in the document preamble with the command
17189 \end_layout
17190
17191 \begin_layout Standard
17192
17193 \series bold
17194
17195 \backslash
17196 usepackage{arydshln}
17197 \end_layout
17198
17199 \begin_layout Standard
17200 To make a vertical line dashed, enter the colon 
17201 \begin_inset Quotes eld
17202 \end_inset
17203
17204 :
17205 \begin_inset Quotes erd
17206 \end_inset
17207
17208  together with the character for the horizontal alignment as LaTeX-argument
17209  in the table cell dialog.
17210 \end_layout
17211
17212 \begin_layout Standard
17213 For a horizontal dashed line add the command
17214 \end_layout
17215
17216 \begin_layout Standard
17217
17218 \series bold
17219
17220 \backslash
17221 hdashline
17222 \end_layout
17223
17224 \begin_layout Standard
17225 in ERT as first element of the first cell in the table row.
17226 \end_layout
17227
17228 \begin_layout Standard
17229 For dashed multicolumn lines use the command
17230 \end_layout
17231
17232 \begin_layout Standard
17233
17234 \series bold
17235
17236 \backslash
17237 cdashline{line number
17238 \series default
17239 }
17240 \end_layout
17241
17242 \begin_layout Standard
17243 in ERT as first element of the first cell in the table row.
17244  If you have for example a multicolumn spanning over columns 2 to 4 and
17245  you want to have a dashed line above, add the command
17246 \end_layout
17247
17248 \begin_layout Standard
17249
17250 \series bold
17251
17252 \backslash
17253 cdashline{2-4}
17254 \end_layout
17255
17256 \begin_layout Standard
17257 as first element of the first cell in the row of the multicolumn.
17258 \end_layout
17259
17260 \begin_layout Standard
17261 \begin_inset VSpace bigskip
17262 \end_inset
17263
17264
17265 \end_layout
17266
17267 \begin_layout Standard
17268 Table\InsetSpace ~
17269
17270 \begin_inset LatexCommand ref
17271 reference "tab:Table-with-dashed"
17272
17273 \end_inset
17274
17275  was created using 
17276 \begin_inset Quotes eld
17277 \end_inset
17278
17279
17280 \series bold
17281 :c
17282 \series default
17283
17284 \begin_inset Quotes erd
17285 \end_inset
17286
17287  as LaTeX-argument of the third column.
17288  The ERT command 
17289 \series bold
17290
17291 \backslash
17292 hdashline
17293 \series default
17294  was inserted to the first cell of the third row and the the ERT command
17295 \newline
17296
17297  
17298 \series bold
17299
17300 \backslash
17301 cdashline{4-5}
17302 \series default
17303  was inserted to the first cell of the fourth row.
17304 \end_layout
17305
17306 \begin_layout Standard
17307 \begin_inset Note Greyedout
17308 status open
17309
17310 \begin_layout Standard
17311
17312 \series bold
17313 Note:
17314 \series default
17315  The used LaTeX-package 
17316 \series bold
17317 arydshln
17318 \series default
17319  is apparently not compatible with the LaTeX-package 
17320 \series bold
17321 colortbl
17322 \series default
17323
17324 \begin_inset LatexCommand index
17325 name "LaTeX-packages ! colortbl"
17326
17327 \end_inset
17328
17329  that is used for colored tables in section\InsetSpace ~
17330
17331 \begin_inset LatexCommand ref
17332 reference "sec:Colored-Tables"
17333
17334 \end_inset
17335
17336 .
17337  That means colored tables cannot have dashed lines.
17338 \end_layout
17339
17340 \end_inset
17341
17342
17343 \end_layout
17344
17345 \begin_layout Standard
17346 \begin_inset ERT
17347 status collapsed
17348
17349 \begin_layout Standard
17350
17351
17352 \backslash
17353 else
17354 \end_layout
17355
17356 \end_inset
17357
17358
17359 \begin_inset Note Note
17360 status open
17361
17362 \begin_layout Standard
17363 The following will be displayed when the LaTeX-package 
17364 \series bold
17365 arydshln
17366 \series default
17367  is not installed:
17368 \end_layout
17369
17370 \end_inset
17371
17372
17373 \end_layout
17374
17375 \begin_layout Standard
17376 You need to install the package 
17377 \series bold
17378 arydshln
17379 \series default
17380  to see the contents of this section in the output.
17381 \end_layout
17382
17383 \begin_layout Standard
17384 \begin_inset ERT
17385 status collapsed
17386
17387 \begin_layout Standard
17388
17389
17390 \backslash
17391 fi
17392 \end_layout
17393
17394 \end_inset
17395
17396
17397 \end_layout
17398
17399 \begin_layout Chapter
17400 Floats
17401 \begin_inset LatexCommand index
17402 name "Floats"
17403
17404 \end_inset
17405
17406
17407 \begin_inset LatexCommand label
17408 name "cha:Floats"
17409
17410 \end_inset
17411
17412
17413 \end_layout
17414
17415 \begin_layout Section
17416 Introduction
17417 \begin_inset LatexCommand label
17418 name "sec:FloatIntroduction"
17419
17420 \end_inset
17421
17422
17423 \begin_inset LatexCommand index
17424 name "Floats ! Introduction"
17425
17426 \end_inset
17427
17428
17429 \end_layout
17430
17431 \begin_layout Standard
17432 A float is a block of text associated with some sort of label, which doesn't
17433  have a fixed location.
17434  It can 
17435 \begin_inset Quotes eld
17436 \end_inset
17437
17438 float
17439 \begin_inset Quotes erd
17440 \end_inset
17441
17442  forward or backward a page or two, to wherever it fits best.
17443  
17444 \family sans
17445 Footnotes
17446 \family default
17447  and 
17448 \family sans
17449 Margin\InsetSpace ~
17450 Notes
17451 \family default
17452  are also floats, because they can float to the next page when there are
17453  too many notes at the page.
17454 \end_layout
17455
17456 \begin_layout Standard
17457 Floats allow a high quality layout.
17458  Images and tables can evenly be spread to the pages to avoid white space
17459  and pages without text.
17460  As the floating often destroys the context between the text and the image/table
17461 , every float can be referenced in the text.
17462  Floats are therefore numbered.
17463  Referencing is described in section\InsetSpace ~
17464
17465 \begin_inset LatexCommand ref
17466 reference "sec:Referencing-Floats"
17467
17468 \end_inset
17469
17470 .
17471 \end_layout
17472
17473 \begin_layout Standard
17474 To insert a float, use the menu 
17475 \family sans
17476 Insert\SpecialChar \menuseparator
17477 Float
17478 \family default
17479 .
17480  This inserts the 
17481 \family sans
17482 Caption
17483 \family default
17484  inset, a box with a label.
17485  The label will automatically be translated to the document language in
17486  the output.
17487  Behind the label you can insert the caption text.
17488  The image or table is inserted above or below the caption in a separate
17489  paragraph within the float.
17490  More about the caption placement is described in section\InsetSpace ~
17491
17492 \begin_inset LatexCommand ref
17493 reference "sec:Caption-Placement"
17494
17495 \end_inset
17496
17497 .
17498  To keep your LyX-document readable, you can open and close the float box
17499  by left-clicking on the box label.
17500  A closed float box looks like this: 
17501 \begin_inset Graphics
17502         filename clipart/floatQt4.png
17503         scale 70
17504
17505 \end_inset
17506
17507  -- a gray button with a red label.
17508 \end_layout
17509
17510 \begin_layout Standard
17511 It is recommended to insert floats as a separate paragraph to avoid possible
17512  LaTeX-errors that can occur when the surrounding text is specially formatted.
17513 \end_layout
17514
17515 \begin_layout Standard
17516 Existing figures or tables can be put into a float by marking them and then
17517  pressing the corresponding toolbar button for a new float.
17518 \end_layout
17519
17520 \begin_layout Section
17521 Float Types
17522 \end_layout
17523
17524 \begin_layout Standard
17525 Besides figure and table floats that are described in section\InsetSpace ~
17526
17527 \begin_inset LatexCommand ref
17528 reference "sec:Figure-Floats"
17529
17530 \end_inset
17531
17532  and 
17533 \begin_inset LatexCommand ref
17534 reference "sec:Table-Floats"
17535
17536 \end_inset
17537
17538 , respectively, LyX offers the float types 
17539 \series bold
17540 Algorithm
17541 \series default
17542  and 
17543 \series bold
17544 Text\InsetSpace ~
17545 Wrap\InsetSpace ~
17546 Float
17547 \series default
17548 .
17549 \end_layout
17550
17551 \begin_layout Subsection
17552 Algorithm Floats
17553 \begin_inset LatexCommand index
17554 name "Floats ! Algorithm Floats"
17555
17556 \end_inset
17557
17558
17559 \end_layout
17560
17561 \begin_layout Standard
17562 \begin_inset Float algorithm
17563 placement h
17564 wide false
17565 sideways false
17566 status open
17567
17568 \begin_layout Standard
17569 \begin_inset Caption
17570
17571 \begin_layout Standard
17572 \begin_inset LatexCommand label
17573 name "alg:Example-Algorithm-float"
17574
17575 \end_inset
17576
17577 Example Algorithm float
17578 \end_layout
17579
17580 \end_inset
17581
17582
17583 \end_layout
17584
17585 \begin_layout LyX-Code
17586 for I in 1..N loop
17587 \newline
17588  Sum:= Sum + A(I); /*senseless comment*/
17589 \newline
17590 end loop
17591 \begin_inset VSpace -4mm
17592 \end_inset
17593
17594
17595 \end_layout
17596
17597 \end_inset
17598
17599
17600 \end_layout
17601
17602 \begin_layout Standard
17603 This float type is inserted with the menu 
17604 \family sans
17605 Insert\SpecialChar \menuseparator
17606 Floats\SpecialChar \menuseparator
17607 Algorithm
17608 \family default
17609 .
17610  It is used for program codes and descriptions of algorithms.
17611  A possible environment for algorithms is the 
17612 \family sans
17613 LyX-Code
17614 \family default
17615 , described in LyX's 
17616 \emph on
17617 Userguide
17618 \emph default
17619 .
17620  Algorithm\InsetSpace ~
17621
17622 \begin_inset LatexCommand ref
17623 reference "alg:Example-Algorithm-float"
17624
17625 \end_inset
17626
17627  is an example of an algorithm float where -4\InsetSpace \thinspace{}
17628 mm vertical space was added
17629  at the end of the float to have the bottom rule exactly below the last
17630  text line.
17631 \end_layout
17632
17633 \begin_layout Standard
17634 The float label is not automatically translated into the document language.
17635  If your document is not in English, you have to do this manually by adding
17636  the following line to the document preamble
17637 \series bold
17638 :
17639 \end_layout
17640
17641 \begin_layout Standard
17642
17643 \series bold
17644
17645 \backslash
17646 floatname{algorithm}{your\InsetSpace ~
17647 name}
17648 \end_layout
17649
17650 \begin_layout Standard
17651
17652 \family sans
17653 your\InsetSpace ~
17654 name
17655 \family default
17656  is the word 
17657 \begin_inset Quotes eld
17658 \end_inset
17659
17660
17661 \emph on
17662 algorithm
17663 \emph default
17664
17665 \begin_inset Quotes erd
17666 \end_inset
17667
17668  in your language.
17669 \end_layout
17670
17671 \begin_layout Description
17672
17673 \series bold
17674 Note:
17675 \series default
17676  When the LaTeX-package 
17677 \series bold
17678 hyperref
17679 \series default
17680
17681 \begin_inset LatexCommand index
17682 name "LaTeX-packages ! hyperref"
17683
17684 \end_inset
17685
17686  is used to link cross-references to floats in the PDF-output, it must be
17687  loaded in the document preamble before the definition of floats to be able
17688  to reference floats.
17689  As LyX sets the float definition for algorithm floats automatically before
17690  the user editable part of the document preamble, you need to insert the
17691  following preamble lines 
17692 \emph on
17693 after
17694 \emph default
17695  the loading command of 
17696 \series bold
17697 hyperref
17698 \series default
17699 :
17700 \series bold
17701
17702 \begin_inset VSpace defskip
17703 \end_inset
17704
17705
17706 \newline
17707
17708 \backslash
17709 newfloat{Xalgorithm}{tbp}{loa}
17710 \newline
17711
17712 \backslash
17713 floatname{Xalgorithm}{your\InsetSpace ~
17714 name}
17715 \newline
17716
17717 \backslash
17718 newcommand{
17719 \backslash
17720 theHalgorithm}{
17721 \backslash
17722 theHXalgorithm}
17723 \newline
17724
17725 \backslash
17726 renewenvironment{algorithm}[1][tbp]
17727 \newline
17728
17729 \begin_inset ERT
17730 status collapsed
17731
17732 \begin_layout Standard
17733
17734
17735 \backslash
17736 hphantom{ }
17737 \end_layout
17738
17739 \end_inset
17740
17741 {
17742 \backslash
17743 begin{Xalgorithm}[#1]}{
17744 \backslash
17745 end{Xalgorithm}}
17746 \begin_inset VSpace defskip
17747 \end_inset
17748
17749
17750 \series default
17751
17752 \newline
17753 Where 
17754 \family sans
17755 your\InsetSpace ~
17756 name
17757 \family default
17758  is the word 
17759 \begin_inset Quotes eld
17760 \end_inset
17761
17762
17763 \emph on
17764 algorithm
17765 \emph default
17766
17767 \begin_inset Quotes erd
17768 \end_inset
17769
17770  in your language.
17771 \end_layout
17772
17773 \begin_layout Standard
17774 Algorithm floats are not by default numbered in the scheme 
17775 \begin_inset Quotes eld
17776 \end_inset
17777
17778 chapter.algorithm
17779 \begin_inset Quotes erd
17780 \end_inset
17781
17782  like it is the case for table and figure floats in many document-classes.
17783  To number algorithm floats in the same scheme, add this command to your
17784  document preamble:
17785 \end_layout
17786
17787 \begin_layout Standard
17788
17789 \series bold
17790
17791 \backslash
17792 numberwithin{algorithm}{chapter}
17793 \end_layout
17794
17795 \begin_layout Standard
17796 If you use the LaTeX-package 
17797 \series bold
17798 hyperref
17799 \series default
17800 , add this line instead 
17801 \emph on
17802 after
17803 \emph default
17804  the definition of 
17805 \family sans
17806 Xalgorithm
17807 \family default
17808  (the commands from above) to the preamble:
17809 \end_layout
17810
17811 \begin_layout Standard
17812
17813 \series bold
17814
17815 \backslash
17816 numberwithin{Xalgorithm}{chapter}
17817 \end_layout
17818
17819 \begin_layout Standard
17820 To be able to use the command 
17821 \series bold
17822
17823 \backslash
17824 numberwithin
17825 \series default
17826 , set in the tab 
17827 \family sans
17828 Math\InsetSpace ~
17829 Options
17830 \family default
17831  in the document settings the option 
17832 \family sans
17833 Use\InsetSpace ~
17834 AMS\InsetSpace ~
17835 math\InsetSpace ~
17836 package
17837 \family default
17838 .
17839 \end_layout
17840
17841 \begin_layout Subsection
17842 Text Wrap Floats
17843 \begin_inset LatexCommand index
17844 name "Floats ! Text Wrap Floats"
17845
17846 \end_inset
17847
17848
17849 \begin_inset LatexCommand label
17850 name "sub:floatflt-wrap-float"
17851
17852 \end_inset
17853
17854
17855 \end_layout
17856
17857 \begin_layout Standard
17858 This float type is used if you want to 
17859 \begin_inset Quotes eld
17860 \end_inset
17861
17862 wrap
17863 \begin_inset Quotes erd
17864 \end_inset
17865
17866  text around a figure so that it only occupies some fraction of the column
17867  width.
17868  It can be inserted using the menu 
17869 \begin_inset Wrap figure
17870 placement l
17871 width "40col%"
17872 status open
17873
17874 \begin_layout Standard
17875 \begin_inset Graphics
17876         filename clipart/mobius.eps
17877         display color
17878         width 40col%
17879         rotateOrigin center
17880
17881 \end_inset
17882
17883
17884 \end_layout
17885
17886 \begin_layout Standard
17887 \begin_inset Caption
17888
17889 \begin_layout Standard
17890 \begin_inset LatexCommand label
17891 name "fig:This-is-a"
17892
17893 \end_inset
17894
17895 This is a wrapped figure, and this is the brilliant caption that describes
17896  it.
17897 \begin_inset VSpace medskip
17898 \end_inset
17899
17900
17901 \end_layout
17902
17903 \end_inset
17904
17905
17906 \end_layout
17907
17908 \end_inset
17909
17910  
17911 \family sans
17912 Insert\SpecialChar \menuseparator
17913 Floats\SpecialChar \menuseparator
17914 Text\InsetSpace ~
17915 Wrap\InsetSpace ~
17916 Float
17917 \family default
17918  if the LaTeX-package 
17919 \series bold
17920 floatflt
17921 \series default
17922
17923 \begin_inset LatexCommand index
17924 name "LaTeX-packages ! floatflt"
17925
17926 \end_inset
17927
17928  is installed.
17929 \begin_inset Foot
17930 status collapsed
17931
17932 \begin_layout Standard
17933 Installing a LaTeX-package is explained it in the 
17934 \emph on
17935 LaTeX\InsetSpace ~
17936 Configuration
17937 \emph default
17938  manual.
17939 \end_layout
17940
17941 \end_inset
17942
17943  The width and placement of the float is adjusted by right-clicking on the
17944  float box.
17945  Figure\InsetSpace ~
17946
17947 \begin_inset LatexCommand ref
17948 reference "fig:This-is-a"
17949
17950 \end_inset
17951
17952  is an example text wrap float with a width of 40
17953 \begin_inset Formula $\,$
17954 \end_inset
17955
17956 col%.
17957 \begin_inset Foot
17958 status collapsed
17959
17960 \begin_layout Standard
17961 Available units are explained in 
17962 \begin_inset LatexCommand ref
17963 reference "cha:Units-available-in"
17964
17965 \end_inset
17966
17967 .
17968 \end_layout
17969
17970 \end_inset
17971
17972  Some space was added under the caption to separate it better from the surroundi
17973 ng text.
17974 \end_layout
17975
17976 \begin_layout Standard
17977 The LaTeX-package 
17978 \series bold
17979 floatflt
17980 \series default
17981  also supports table wrap floats, but they are not yet supported by LyX.
17982  If you need this, read the documentation of 
17983 \series bold
17984 floatflt
17985 \series default
17986  
17987 \begin_inset LatexCommand cite
17988 key "floatflt"
17989
17990 \end_inset
17991
17992 .
17993 \end_layout
17994
17995 \begin_layout Standard
17996 \begin_inset Note Greyedout
17997 status open
17998
17999 \begin_layout Standard
18000
18001 \series bold
18002 Note:
18003 \series default
18004  Text\InsetSpace ~
18005 wrap float floats are fragile! E.\InsetSpace \thinspace{}
18006 g.\InsetSpace ~
18007 having a figure too close to the bottom
18008  of the page can mess things up in the way that the float doesn't appear
18009  in the output or that it is placed over some other text.
18010 \begin_inset Foot
18011 status open
18012
18013 \begin_layout Standard
18014 The better solution is to use the LaTeX-package 
18015 \series bold
18016 wrapf\SpecialChar \textcompwordmark{}
18017 ig
18018 \series default
18019
18020 \begin_inset LatexCommand index
18021 name "LaTeX-packages ! wrapfig\\vspace{4mm}"
18022
18023 \end_inset
18024
18025  instead of 
18026 \series bold
18027 floatf\SpecialChar \textcompwordmark{}
18028 lt
18029 \series default
18030 , but it is currently not supported by LyX.
18031 \end_layout
18032
18033 \end_inset
18034
18035
18036 \end_layout
18037
18038 \end_inset
18039
18040
18041 \end_layout
18042
18043 \begin_layout Standard
18044 In general:
18045 \end_layout
18046
18047 \begin_layout Itemize
18048 Wrap floats should not be placed in paragraphs that run over a page break.
18049  That means that wrap floats should better be inserted to the exact place
18050  when the document is nearly finished and you are able to estimate where
18051  page breaks will appear.
18052 \end_layout
18053
18054 \begin_layout Itemize
18055 Wrap floats should either be placed in an own paragraph before the paragraph
18056  where they should wrap into or within a paragraph.
18057 \end_layout
18058
18059 \begin_layout Itemize
18060 Wrap floats in consecutive paragraphs may cause troubles, so assure that
18061  there is a text paragraph between them as separator.
18062 \end_layout
18063
18064 \begin_layout Itemize
18065 Wrap floats are not allowed in section headings or tables.
18066 \end_layout
18067
18068 \begin_layout Section
18069 Float Numbering
18070 \begin_inset LatexCommand label
18071 name "sec:Float-Numbering"
18072
18073 \end_inset
18074
18075
18076 \begin_inset LatexCommand index
18077 name "Floats ! Numbering"
18078
18079 \end_inset
18080
18081
18082 \end_layout
18083
18084 \begin_layout Standard
18085 Floats are usually numbered either independent from the sections the floats
18086  are in, or in the scheme 
18087 \begin_inset Quotes eld
18088 \end_inset
18089
18090 chapter.number
18091 \begin_inset Quotes erd
18092 \end_inset
18093
18094  or 
18095 \begin_inset Quotes eld
18096 \end_inset
18097
18098 section.number
18099 \begin_inset Quotes erd
18100 \end_inset
18101
18102 .
18103  This depends on the used document class.
18104 \end_layout
18105
18106 \begin_layout Standard
18107 To change the section independent numbering, you can use this command in
18108  the document preamble:
18109 \end_layout
18110
18111 \begin_layout Standard
18112
18113 \series bold
18114
18115 \backslash
18116 renewcommand{
18117 \backslash
18118 thetable}{
18119 \backslash
18120 roman{table}}
18121 \end_layout
18122
18123 \begin_layout Standard
18124
18125 \series bold
18126
18127 \backslash
18128 thetable
18129 \series default
18130  is the command that prints the table number, for figure floats, the command
18131  would be 
18132 \series bold
18133
18134 \backslash
18135 thefigure
18136 \series default
18137 .
18138  The command 
18139 \series bold
18140
18141 \backslash
18142 roman
18143 \series default
18144  prints in the command above the table number as small roman number.
18145 \end_layout
18146
18147 \begin_layout Standard
18148 To change the numbering scheme for example to 
18149 \begin_inset Quotes eld
18150 \end_inset
18151
18152 subsection.number
18153 \begin_inset Quotes erd
18154 \end_inset
18155
18156 , use this command in the preamble:
18157 \end_layout
18158
18159 \begin_layout Standard
18160
18161 \series bold
18162
18163 \backslash
18164 numberwithin{table}{subsection}
18165 \end_layout
18166
18167 \begin_layout Standard
18168 To be able to use the command 
18169 \series bold
18170
18171 \backslash
18172 numberwithin
18173 \series default
18174 , set in the tab 
18175 \family sans
18176 Math\InsetSpace ~
18177 Options
18178 \family default
18179  in the document settings the option 
18180 \family sans
18181 Use\InsetSpace ~
18182 AMS\InsetSpace ~
18183 math\InsetSpace ~
18184 package
18185 \family default
18186 .
18187 \end_layout
18188
18189 \begin_layout Standard
18190 Please also have a look at section\InsetSpace ~
18191
18192 \begin_inset LatexCommand ref
18193 reference "sub:Footnote-Numbering"
18194
18195 \end_inset
18196
18197  for the details and important notes about the numbering commands.
18198 \end_layout
18199
18200 \begin_layout Section
18201 Referencing Floats
18202 \begin_inset LatexCommand label
18203 name "sec:Referencing-Floats"
18204
18205 \end_inset
18206
18207
18208 \begin_inset LatexCommand index
18209 name "Floats ! References"
18210
18211 \end_inset
18212
18213
18214 \begin_inset LatexCommand index
18215 name "References"
18216
18217 \end_inset
18218
18219
18220 \end_layout
18221
18222 \begin_layout Standard
18223 To reference a float, insert a label into its caption using the menu 
18224 \family sans
18225 Insert\SpecialChar \menuseparator
18226 Label
18227 \family default
18228  or the toolbar button 
18229 \begin_inset Graphics
18230         filename ../images/label-insert.xpm
18231         scale 85
18232
18233 \end_inset
18234
18235 .
18236  A grey label box like this one: 
18237 \begin_inset Graphics
18238         filename clipart/labelQt4.png
18239         scale 85
18240
18241 \end_inset
18242
18243  will be inserted and the label window pops up asking for the label text.
18244  LyX offers as text the first words of the caption with a prefix.
18245  The prefix depends on the float type, e.\InsetSpace \thinspace{}
18246 g.\InsetSpace ~
18247 for figure floats the prefix will
18248  be "
18249 \family sans
18250 fig:
18251 \family default
18252 ".
18253 \end_layout
18254
18255 \begin_layout Standard
18256 The label is used as anchor and name for the reference.
18257  You can refer to the label using the menu 
18258 \family sans
18259 Insert\SpecialChar \menuseparator
18260 Cross-reference
18261 \family default
18262  or the toolbar button 
18263 \begin_inset Graphics
18264         filename ../images/dialog-show-new-inset_ref.xpm
18265         scale 85
18266
18267 \end_inset
18268
18269 .
18270  A grey cross-reference box like this one: 
18271 \begin_inset Graphics
18272         filename clipart/referenceQt4.png
18273         scale 85
18274
18275 \end_inset
18276
18277  will be inserted and the cross-reference window appear showing all labels
18278  of the document.
18279  If you have multiple LyX-documents opened, choose the one you are working
18280  on from the drop-list at the top of the dialog.
18281  You can now sort the labels alphabetically and then choose one.
18282  At the position of the cross-reference box the float number will appear
18283  in the output.
18284 \end_layout
18285
18286 \begin_layout Standard
18287 It is recommended to use a protected space between the cross-reference name
18288  and its number to avoid line breaks between them.
18289  If a cross-reference refers to a non-existing label, you will see two question
18290  marks in the output instead of the reference.
18291 \end_layout
18292
18293 \begin_layout Standard
18294 You can change labels at any time by clicking on the label box.
18295  References to the changed label will automatically change its link to the
18296  new label text, so that you don't need to take care about this.
18297 \end_layout
18298
18299 \begin_layout Standard
18300 The button 
18301 \family sans
18302 Go\InsetSpace ~
18303 to\InsetSpace ~
18304 Label
18305 \family default
18306  in the cross-reference window sets the cursor before the referred label.
18307  The button text changes then to Go\InsetSpace ~
18308 Back and you can use it to set the cursor
18309  back to the cross-reference.
18310  Right-clicking on a cross-reference box also sets the cursor before the
18311  referenced label but without a possibility to go back.
18312 \end_layout
18313
18314 \begin_layout Subsection
18315 Cross-Reference Formats
18316 \begin_inset LatexCommand label
18317 name "sub:Cross-Reference-Formats"
18318
18319 \end_inset
18320
18321
18322 \begin_inset LatexCommand index
18323 name "References ! Formats"
18324
18325 \end_inset
18326
18327
18328 \end_layout
18329
18330 \begin_layout Standard
18331 There are six varieties of cross-references:
18332 \end_layout
18333
18334 \begin_layout Description
18335 <reference>: prints the float number, this is the default: 
18336 \begin_inset LatexCommand ref
18337 reference "fig:Two-distorted-images"
18338
18339 \end_inset
18340
18341
18342 \end_layout
18343
18344 \begin_layout Description
18345 (<reference>): prints the float number within two parentheses, this is the
18346  style normally used to reference formulas, especially when the reference
18347  name 
18348 \begin_inset Quotes eld
18349 \end_inset
18350
18351 Equation
18352 \begin_inset Quotes erd
18353 \end_inset
18354
18355  is omitted: 
18356 \begin_inset LatexCommand eqref
18357 reference "eq:Wgn"
18358
18359 \end_inset
18360
18361
18362 \end_layout
18363
18364 \begin_layout Description
18365 <page>: prints the page number: Page\InsetSpace ~
18366
18367 \begin_inset LatexCommand pageref
18368 reference "fig:Two-distorted-images"
18369
18370 \end_inset
18371
18372
18373 \end_layout
18374
18375 \begin_layout Description
18376 on\InsetSpace ~
18377 page\InsetSpace ~
18378 <page>: prints the text "on page" and the page number: 
18379 \begin_inset LatexCommand vpageref
18380 reference "fig:Two-distorted-images"
18381
18382 \end_inset
18383
18384
18385 \end_layout
18386
18387 \begin_layout Description
18388 <reference>\InsetSpace ~
18389 on\InsetSpace ~
18390 page\InsetSpace ~
18391 <page>: prints the float number, the text "on page", and
18392  the page number: 
18393 \begin_inset LatexCommand vref
18394 reference "fig:Two-distorted-images"
18395
18396 \end_inset
18397
18398
18399 \end_layout
18400
18401 \begin_layout Description
18402 Formatted\InsetSpace ~
18403 reference: prints a self defined cross-reference format.
18404  
18405 \begin_inset Note Greyedout
18406 status open
18407
18408 \begin_layout Standard
18409
18410 \series bold
18411 Note:
18412 \series default
18413  This feature is only available when you have the LaTeX-package 
18414 \series bold
18415 prettyref
18416 \series default
18417  installed.
18418 \end_layout
18419
18420 \end_inset
18421
18422
18423 \end_layout
18424
18425 \begin_layout Standard
18426 Note that the style <page> won't print the page number if the label is on
18427  the previous, the same, or the next page.
18428  You will e.\InsetSpace \thinspace{}
18429 g.\InsetSpace ~
18430 see the text 
18431 \begin_inset Quotes eld
18432 \end_inset
18433
18434
18435 \family sans
18436 on this page
18437 \family default
18438
18439 \begin_inset Quotes erd
18440 \end_inset
18441
18442  instead.
18443 \end_layout
18444
18445 \begin_layout Standard
18446 The number and current page of the referred document part in the output,
18447  is automatically calculated by LaTeX.
18448  The varieties are adjusted in the field 
18449 \family sans
18450 Format
18451 \family default
18452  of the cross-reference window, that appear when you click on the cross-referenc
18453 e box.
18454 \end_layout
18455
18456 \begin_layout Subsection
18457 Referencing Subfigures
18458 \begin_inset LatexCommand label
18459 name "sub:Referencing-Subfigures"
18460
18461 \end_inset
18462
18463
18464 \begin_inset LatexCommand index
18465 name "References ! to Subfigures"
18466
18467 \end_inset
18468
18469
18470 \end_layout
18471
18472 \begin_layout Standard
18473 Currently referencing subfigures is not supported by LyX, so you have to
18474  use LaTeX-commands.
18475  The label is the created with the command
18476 \end_layout
18477
18478 \begin_layout Standard
18479
18480 \series bold
18481
18482 \backslash
18483 label{fig:YourLabelName}
18484 \end_layout
18485
18486 \begin_layout Standard
18487 that is directly inserted into the subfigure caption field.
18488  To reference the label add this command in ERT
18489 \end_layout
18490
18491 \begin_layout Standard
18492
18493 \series bold
18494
18495 \backslash
18496 ref{fig:YourLabelName}
18497 \end_layout
18498
18499 \begin_layout Standard
18500 to the position in your document where the reference should be placed.
18501  Here is a reference to a subfigure: Subfigure\InsetSpace ~
18502
18503 \begin_inset ERT
18504 status collapsed
18505
18506 \begin_layout Standard
18507
18508
18509 \backslash
18510 ref{fig:Platypus}
18511 \end_layout
18512
18513 \end_inset
18514
18515 .
18516 \end_layout
18517
18518 \begin_layout Subsection
18519 Automatic Reference Naming
18520 \begin_inset LatexCommand index
18521 name "References ! Automatic Reference Naming"
18522
18523 \end_inset
18524
18525
18526 \end_layout
18527
18528 \begin_layout Standard
18529 The LaTeX-package 
18530 \series bold
18531 hyperref
18532 \series default
18533  provides a very useful feature that cross-references automatically include
18534  the name of the referenced floats (or text parts like sections).
18535  You save to write e.\InsetSpace \thinspace{}
18536 g.\InsetSpace ~
18537 the name 
18538 \begin_inset Quotes eld
18539 \end_inset
18540
18541 Figure
18542 \begin_inset Quotes erd
18543 \end_inset
18544
18545  before every reference box.
18546  To get this automatic reference naming, you have to load the LaTeX-package
18547  
18548 \series bold
18549 hyperref
18550 \series default
18551
18552 \begin_inset LatexCommand index
18553 name "LaTeX-packages ! hyperref"
18554
18555 \end_inset
18556
18557  in the document preamble with
18558 \end_layout
18559
18560 \begin_layout Standard
18561
18562 \series bold
18563
18564 \backslash
18565 usepackage[pdfborder={0 0 0}]{hyperref}
18566 \newline
18567
18568 \backslash
18569 AtBeginDocument{
18570 \backslash
18571 renewcommand{
18572 \backslash
18573 ref}[1]{
18574 \backslash
18575 mbox{
18576 \backslash
18577 autoref{#1}}}}
18578 \end_layout
18579
18580 \begin_layout Standard
18581
18582 \series bold
18583 hyperref
18584 \series default
18585  is used to link cross-references in the DVI- and PDF-output, this means
18586  that the reader of your document will be able to click on a table of content
18587  (TOC) entry or on a reference and he will be shown the referenced document
18588  part.
18589  
18590 \series bold
18591 hyperref
18592 \series default
18593  also creates PDF-bookmarks for every section of your document to make it
18594  easier for readers to navigate through the document.
18595  This is also used in this document but when you have a look in the document
18596  preamble you will find various options in the load command of 
18597 \series bold
18598 hyperref
18599 \series default
18600 .
18601  To learn more about the 
18602 \series bold
18603 hyperref
18604 \series default
18605  package, we refer to its documentation 
18606 \begin_inset LatexCommand cite
18607 key "hyperref"
18608
18609 \end_inset
18610
18611 .
18612 \end_layout
18613
18614 \begin_layout Standard
18615 \begin_inset Note Greyedout
18616 status open
18617
18618 \begin_layout Standard
18619
18620 \series bold
18621 Note:
18622 \series default
18623  Automatic reference naming cannot be used when you use cross-references
18624  in the 
18625 \family sans
18626 Formatted\InsetSpace ~
18627 reference
18628 \family default
18629  style, described in section\InsetSpace ~
18630
18631 \begin_inset LatexCommand ref
18632 reference "sub:Cross-Reference-Formats"
18633
18634 \end_inset
18635
18636 .
18637 \end_layout
18638
18639 \end_inset
18640
18641
18642 \end_layout
18643
18644 \begin_layout Subsection
18645 Reference Position
18646 \begin_inset LatexCommand label
18647 name "sub:Reference-Position"
18648
18649 \end_inset
18650
18651
18652 \begin_inset LatexCommand index
18653 name "References ! Reference Position"
18654
18655 \end_inset
18656
18657
18658 \end_layout
18659
18660 \begin_layout Standard
18661 If you use 
18662 \series bold
18663 hyperref
18664 \series default
18665
18666 \begin_inset LatexCommand index
18667 name "LaTeX-packages ! hyperref"
18668
18669 \end_inset
18670
18671  to link cross-references in the output, you will see that clicking on an
18672  image float reference jumps to the image label.
18673  The caption will be the first text part on the screen, so that you cannot
18674  see the image without scrolling.
18675  This is because the reference link anchor is placed at the position of
18676  the label.
18677  With the use of the package 
18678 \series bold
18679 hypcap
18680 \series default
18681
18682 \begin_inset LatexCommand index
18683 name "LaTeX-packages ! hypcap"
18684
18685 \end_inset
18686
18687 , which is part of the LaTeX-package 
18688 \series bold
18689 oberdiek
18690 \series default
18691
18692 \begin_inset LatexCommand index
18693 name "LaTeX-packages ! oberdiek"
18694
18695 \end_inset
18696
18697 , the link anchor is placed at the beginning of a float.
18698  To use this feature for figure floats, load 
18699 \series bold
18700 hypcap
18701 \series default
18702  in the document preamble with the line
18703 \end_layout
18704
18705 \begin_layout Standard
18706
18707 \series bold
18708
18709 \backslash
18710 usepackage[f\SpecialChar \textcompwordmark{}
18711 igure]{hypcap}
18712 \end_layout
18713
18714 \begin_layout Standard
18715 You can also use 
18716 \series bold
18717 hypcap
18718 \series default
18719  for all floats but this isn't recommended for stability reasons.
18720  For more informations, have a look at 
18721 \series bold
18722 hypcap
18723 \series default
18724 's manual 
18725 \begin_inset LatexCommand cite
18726 key "hypcap"
18727
18728 \end_inset
18729
18730 .
18731 \end_layout
18732
18733 \begin_layout Standard
18734 \begin_inset Note Greyedout
18735 status open
18736
18737 \begin_layout Standard
18738
18739 \series bold
18740 Note:
18741 \series default
18742  
18743 \series bold
18744 hypcap
18745 \series default
18746  must be loaded after 
18747 \series bold
18748 hyperref
18749 \series default
18750  in the document preamble.
18751 \end_layout
18752
18753 \end_inset
18754
18755
18756 \end_layout
18757
18758 \begin_layout Standard
18759 \begin_inset Note Greyedout
18760 status open
18761
18762 \begin_layout Standard
18763
18764 \series bold
18765 Note:
18766 \series default
18767  
18768 \series bold
18769 hypcap
18770 \series default
18771  has no effect for references to subfigures.
18772 \end_layout
18773
18774 \end_inset
18775
18776
18777 \end_layout
18778
18779 \begin_layout Section
18780 Float Placement
18781 \begin_inset LatexCommand label
18782 name "sec:Float-Placement"
18783
18784 \end_inset
18785
18786
18787 \begin_inset LatexCommand index
18788 name "Floats ! Placement"
18789
18790 \end_inset
18791
18792
18793 \end_layout
18794
18795 \begin_layout Standard
18796 Right-clicking on a float-box opens a dialog where you can alter the placement
18797  options that LaTeX uses for positioning the float.
18798 \newline
18799 The option 
18800 \family sans
18801 Span\InsetSpace ~
18802 columns
18803 \family default
18804  is only useful for two-column documents: If you select it, the float will
18805  span across both columns on the page instead of being confined to just
18806  one.
18807 \newline
18808 The option 
18809 \family sans
18810 Rotate\InsetSpace ~
18811 sideways
18812 \family default
18813  is used to rotate floats, see section 
18814 \begin_inset LatexCommand ref
18815 reference "sec:Rotated-Floats"
18816
18817 \end_inset
18818
18819 .
18820 \end_layout
18821
18822 \begin_layout Standard
18823 You can use one ore more of the following options in the float dialog to
18824  set the placement for a particular float when you uncheck the option 
18825 \family sans
18826 Use\InsetSpace ~
18827 default\InsetSpace ~
18828 placement
18829 \family default
18830 :
18831 \end_layout
18832
18833 \begin_layout Description
18834 Here\InsetSpace ~
18835 if\InsetSpace ~
18836 possible: try to place the float on the position where it is inserted
18837 \end_layout
18838
18839 \begin_layout Description
18840 Top\InsetSpace ~
18841 of\InsetSpace ~
18842 page: try to place the float on the top of the current page
18843 \end_layout
18844
18845 \begin_layout Description
18846 Bottom\InsetSpace ~
18847 of\InsetSpace ~
18848 page: try to place the float on the bottom of the current page
18849 \end_layout
18850
18851 \begin_layout Description
18852 Page\InsetSpace ~
18853 of\InsetSpace ~
18854 floats: try to place the float on an own page 
18855 \end_layout
18856
18857 \begin_layout Standard
18858 The order of the above option is 
18859 \emph on
18860 always
18861 \emph default
18862  used by LaTeX.
18863  That means, if you use the default placement, LaTeX will first try out
18864  
18865 \family sans
18866 Here\InsetSpace ~
18867 if\InsetSpace ~
18868 possible
18869 \family default
18870 , then 
18871 \family sans
18872 Top\InsetSpace ~
18873 of\InsetSpace ~
18874 page
18875 \family default
18876 , and then the others.
18877  If you don't use the default, LaTeX will try only the checked options but
18878  in the same order.
18879  If none of the 4 placements are possible the procedure is internally repeated
18880  but it is tried to put the float on the following page.
18881 \end_layout
18882
18883 \begin_layout Standard
18884 By default, each option has its own rules:
18885 \end_layout
18886
18887 \begin_layout Labeling
18888 \labelwidthstring 00.00.0000
18889
18890 \family sans
18891 Top\InsetSpace ~
18892 of\InsetSpace ~
18893 page
18894 \family default
18895  only floats occupying less than 70\InsetSpace \thinspace{}
18896 % of the page can be placed at the top
18897  of a page (
18898 \series bold
18899
18900 \backslash
18901 topfraction
18902 \series default
18903 )
18904 \end_layout
18905
18906 \begin_layout Labeling
18907 \labelwidthstring 00.00.0000
18908
18909 \family sans
18910 Bottom\InsetSpace ~
18911 of\InsetSpace ~
18912 page
18913 \family default
18914 : only floats occupying less than 30\InsetSpace \thinspace{}
18915 % of the page can be placed at the bottom
18916  of a page.
18917  (
18918 \series bold
18919
18920 \backslash
18921 bottomfraction
18922 \series default
18923 )
18924 \end_layout
18925
18926 \begin_layout Labeling
18927 \labelwidthstring 00.00.0000
18928
18929 \family sans
18930 Page\InsetSpace ~
18931 of\InsetSpace ~
18932 floats
18933 \family default
18934 : only if more than 50\InsetSpace \thinspace{}
18935 % of the page are occupied by floats, several floats
18936  can be set together on a page.
18937  (
18938 \series bold
18939
18940 \backslash
18941 floatpagefraction
18942 \series default
18943 )
18944 \end_layout
18945
18946 \begin_layout Standard
18947 If you don't like these rules, you can ignore them by using the additional
18948  option 
18949 \family sans
18950 Ignore\InsetSpace ~
18951 LaTeX\InsetSpace ~
18952 rules
18953 \family default
18954 .
18955 \newline
18956 You can also redefine the rules with LaTeX-commands that are given in parenthese
18957 s behind the rules description above.
18958  To increase for example the often too small default of the bottom-rule
18959  to 50\InsetSpace \thinspace{}
18960 % of the page, add this line to your document preamble:
18961 \end_layout
18962
18963 \begin_layout Standard
18964
18965 \series bold
18966
18967 \backslash
18968 renewcommand{
18969 \backslash
18970 bottomfraction}{0.5}
18971 \end_layout
18972
18973 \begin_layout Standard
18974 Sometimes you might need, under all circumstances, a float to be placed
18975  exactly at the position where it is inserted.
18976  For this case you can use the option 
18977 \family sans
18978 Here\InsetSpace ~
18979 definitely
18980 \family default
18981 .
18982  Use this option very rarely and only if the document is nearly ready to
18983  be printed.
18984  Because the float is then no longer able to 
18985 \begin_inset Quotes eld
18986 \end_inset
18987
18988 float
18989 \begin_inset Quotes erd
18990 \end_inset
18991
18992  when you change your document and this will often destroy the page layout.
18993 \end_layout
18994
18995 \begin_layout Standard
18996 There are no placement options for text wrap floats, because they are always
18997  surrounded by the text of a certain paragraph.
18998 \begin_inset VSpace bigskip
18999 \end_inset
19000
19001
19002 \end_layout
19003
19004 \begin_layout Standard
19005 Sometimes you have the problem that a float is placed at the top of a page
19006  while its corresponding section starts at the middle of the page, so that
19007  the reader could think the float is part of the previous section.
19008  To avoid this the LaTeX-command 
19009 \series bold
19010
19011 \backslash
19012 suppressf\SpecialChar \textcompwordmark{}
19013 loats
19014 \series default
19015  can be used.
19016  It suppresses a given float placement for the page where it is inserted
19017  and can therefore be used to avoid that floats could be set before a section
19018  starts.
19019  To get this, add these commands to your document preamble:
19020 \end_layout
19021
19022 \begin_layout Standard
19023
19024 \series bold
19025
19026 \backslash
19027 let
19028 \backslash
19029 mySection
19030 \backslash
19031 section
19032 \newline
19033
19034 \backslash
19035 renewcommand{
19036 \backslash
19037 section}{
19038 \backslash
19039 suppressf\SpecialChar \textcompwordmark{}
19040 loats[t]
19041 \backslash
19042 mySection}
19043 \end_layout
19044
19045 \begin_layout Standard
19046 You can define the same for all section headings, like chapters and subsections.
19047  This definition is not recommended to be used for small text parts like
19048  subsubsections because LaTeX may then have problems to find a suitable
19049  placement.
19050 \end_layout
19051
19052 \begin_layout Standard
19053 \begin_inset VSpace bigskip
19054 \end_inset
19055
19056 In some cases it is required to have all figures/tables at the end of the
19057  document.
19058  For this purpose the LaTeX-package 
19059 \series bold
19060 endf\SpecialChar \textcompwordmark{}
19061 loat
19062 \series default
19063
19064 \begin_inset LatexCommand index
19065 name "LaTeX-packages ! endfloat"
19066
19067 \end_inset
19068
19069  was developed.
19070  It puts all figure and table floats at the end of the document into own
19071  sections.
19072  At the original float position a text hint like 
19073 \begin_inset Quotes eld
19074 \end_inset
19075
19076
19077 \family sans
19078 [Figure\InsetSpace ~
19079 3.2 about here.]
19080 \family default
19081
19082 \begin_inset Quotes erd
19083 \end_inset
19084
19085  is inserted.
19086  The endfloat-package is loaded in the preamble with the line
19087 \end_layout
19088
19089 \begin_layout Standard
19090
19091 \series bold
19092
19093 \backslash
19094 usepackage[options]{endf\SpecialChar \textcompwordmark{}
19095 loat}
19096 \end_layout
19097
19098 \begin_layout Standard
19099 There are various package options to format the created figure/table sections.
19100  For more information we refer to the 
19101 \series bold
19102 endf\SpecialChar \textcompwordmark{}
19103 loat
19104 \series default
19105  documentation 
19106 \begin_inset LatexCommand cite
19107 key "endfloat"
19108
19109 \end_inset
19110
19111 .
19112 \newline
19113
19114 \begin_inset Note Greyedout
19115 status open
19116
19117 \begin_layout Standard
19118
19119 \series bold
19120 Note: endf\SpecialChar \textcompwordmark{}
19121 loat
19122 \series default
19123  doesn't provide an automatic translation for the text hint, you have to
19124  do this manually, see section\InsetSpace ~
19125 4 in 
19126 \begin_inset LatexCommand cite
19127 key "endfloat"
19128
19129 \end_inset
19130
19131 .
19132 \end_layout
19133
19134 \end_inset
19135
19136
19137 \newline
19138
19139 \begin_inset Note Greyedout
19140 status open
19141
19142 \begin_layout Standard
19143
19144 \series bold
19145 Note:
19146 \series default
19147  There is currently a bug in 
19148 \series bold
19149 endf\SpecialChar \textcompwordmark{}
19150 loat
19151 \series default
19152  when the caption contains a German 
19153 \begin_inset Quotes eld
19154 \end_inset
19155
19156 ß
19157 \begin_inset Quotes erd
19158 \end_inset
19159
19160 .
19161  Use in this case the command 
19162 \begin_inset Quotes eld
19163 \end_inset
19164
19165
19166 \series bold
19167
19168 \backslash
19169 ss
19170 \series default
19171
19172 \begin_inset Quotes erd
19173 \end_inset
19174
19175  in ERT instead of 
19176 \begin_inset Quotes eld
19177 \end_inset
19178
19179 ß
19180 \begin_inset Quotes erd
19181 \end_inset
19182
19183 .
19184 \end_layout
19185
19186 \end_inset
19187
19188
19189 \end_layout
19190
19191 \begin_layout Standard
19192 \begin_inset VSpace bigskip
19193 \end_inset
19194
19195 For more details about float placements, have a look at LaTeX books, 
19196 \begin_inset LatexCommand cite
19197 key "latexcompanion,latexguide,latexbook"
19198
19199 \end_inset
19200
19201 .
19202 \end_layout
19203
19204 \begin_layout Section
19205 Rotated Floats
19206 \begin_inset LatexCommand label
19207 name "sec:Rotated-Floats"
19208
19209 \end_inset
19210
19211
19212 \begin_inset LatexCommand index
19213 name "Floats ! Rotating"
19214
19215 \end_inset
19216
19217
19218 \end_layout
19219
19220 \begin_layout Standard
19221 Especially for wide tables you might have floats rotated.
19222  To rotate a whole float including the caption, right-click on the float-box
19223  and use the option 
19224 \family sans
19225 Rotate\InsetSpace ~
19226 sideways
19227 \family default
19228 .
19229 \end_layout
19230
19231 \begin_layout Standard
19232 Rotated floats are always placed on its own page (or column, when you have
19233  a two-column document).
19234  They are normally rotated so that you can read them from the outside margin
19235  -- to the left on even pages, to the right on odd pages.
19236 \end_layout
19237
19238 \begin_layout Standard
19239 Referencing rotated floats is the same like for normal floats, the caption
19240  format is also the same: Table\InsetSpace ~
19241
19242 \begin_inset LatexCommand ref
19243 reference "tab:Rotated-table"
19244
19245 \end_inset
19246
19247  is an example of a rotated table float.
19248 \end_layout
19249
19250 \begin_layout Standard
19251 \begin_inset Note Greyedout
19252 status open
19253
19254 \begin_layout Standard
19255
19256 \series bold
19257 Note:
19258 \series default
19259  Not all DVI-viewers are able to display rotated floats.
19260 \end_layout
19261
19262 \end_inset
19263
19264
19265 \end_layout
19266
19267 \begin_layout Standard
19268 \begin_inset Float table
19269 wide false
19270 sideways true
19271 status open
19272
19273 \begin_layout Standard
19274 \begin_inset Caption
19275
19276 \begin_layout Standard
19277 \begin_inset LatexCommand label
19278 name "tab:Rotated-table"
19279
19280 \end_inset
19281
19282  Rotated table
19283 \end_layout
19284
19285 \end_inset
19286
19287
19288 \end_layout
19289
19290 \begin_layout Standard
19291 \align center
19292 \begin_inset Tabular
19293 <lyxtabular version="3" rows="1" columns="5">
19294 <features>
19295 <column alignment="center" valignment="top" leftline="true" width="0">
19296 <column alignment="center" valignment="top" leftline="true" width="0">
19297 <column alignment="center" valignment="top" leftline="true" width="0">
19298 <column alignment="center" valignment="top" leftline="true" width="0">
19299 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
19300 <row topline="true" bottomline="true">
19301 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19302 \begin_inset Text
19303
19304 \begin_layout Standard
19305 test
19306 \end_layout
19307
19308 \end_inset
19309 </cell>
19310 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19311 \begin_inset Text
19312
19313 \begin_layout Standard
19314 b
19315 \end_layout
19316
19317 \end_inset
19318 </cell>
19319 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19320 \begin_inset Text
19321
19322 \begin_layout Standard
19323 c
19324 \end_layout
19325
19326 \end_inset
19327 </cell>
19328 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19329 \begin_inset Text
19330
19331 \begin_layout Standard
19332 d
19333 \end_layout
19334
19335 \end_inset
19336 </cell>
19337 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19338 \begin_inset Text
19339
19340 \begin_layout Standard
19341 e
19342 \end_layout
19343
19344 \end_inset
19345 </cell>
19346 </row>
19347 </lyxtabular>
19348
19349 \end_inset
19350
19351
19352 \end_layout
19353
19354 \end_inset
19355
19356
19357 \end_layout
19358
19359 \begin_layout Section
19360 Caption Formatting
19361 \begin_inset LatexCommand index
19362 name "Caption ! Formatting"
19363
19364 \end_inset
19365
19366
19367 \begin_inset LatexCommand index
19368 name "Floats ! Caption Formatting"
19369
19370 \end_inset
19371
19372
19373 \begin_inset LatexCommand index
19374 name "LaTeX-packages ! caption"
19375
19376 \end_inset
19377
19378
19379 \begin_inset LatexCommand label
19380 name "sec:Caption-Formatting"
19381
19382 \end_inset
19383
19384
19385 \end_layout
19386
19387 \begin_layout Standard
19388 The 
19389 \family sans
19390 Caption
19391 \family default
19392  environment is the default paragraph environment for 
19393 \family sans
19394 Floats
19395 \family default
19396 .
19397  On the LyX screen captions appear as label, e.\InsetSpace \thinspace{}
19398 g.\InsetSpace ~
19399
19400 \begin_inset Quotes eld
19401 \end_inset
19402
19403
19404 \family sans
19405 Figure #:
19406 \family default
19407
19408 \begin_inset Quotes erd
19409 \end_inset
19410
19411  followed by the caption text.
19412  
19413 \begin_inset Quotes eld
19414 \end_inset
19415
19416 #
19417 \begin_inset Quotes erd
19418 \end_inset
19419
19420  is the actual reference number.
19421  By default the label and the number are in the same font as the caption
19422  text and a colon follows the number to divide the label from the text.
19423  This caption format is not suitable for all document formats.
19424  
19425 \end_layout
19426
19427 \begin_layout Standard
19428 To change the default caption format, load the LaTeX-package 
19429 \series bold
19430 caption
19431 \series default
19432
19433 \begin_inset LatexCommand index
19434 name "LaTeX-packages ! caption"
19435
19436 \end_inset
19437
19438  in the document preamble with this line:
19439 \end_layout
19440
19441 \begin_layout Standard
19442
19443 \series bold
19444
19445 \backslash
19446 usepackage[format definition]{caption}
19447 \end_layout
19448
19449 \begin_layout Standard
19450 To have for example the label and the number in sans-serif bold font and
19451  the table captions always above the table like in this document, use the
19452  following command:
19453 \end_layout
19454
19455 \begin_layout Standard
19456
19457 \series bold
19458
19459 \backslash
19460 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
19461 \end_layout
19462
19463 \begin_layout Standard
19464 You can also define different caption formats for the different float types.
19465  In this case load the 
19466 \series bold
19467 caption
19468 \series default
19469  package without format specific options and define the different formats
19470  with the help of the command
19471 \end_layout
19472
19473 \begin_layout Standard
19474
19475 \series bold
19476
19477 \backslash
19478 captionsetup[float type]{format definition}
19479 \end_layout
19480
19481 \begin_layout Standard
19482 in the document preamble.
19483  For example the caption formats of Figure\InsetSpace ~
19484
19485 \begin_inset LatexCommand ref
19486 reference "fig:This-is-an-fig"
19487
19488 \end_inset
19489
19490  and Table\InsetSpace ~
19491
19492 \begin_inset LatexCommand ref
19493 reference "tab:This-is-an-tab"
19494
19495 \end_inset
19496
19497  can be created using these commands in the document preamble:
19498 \end_layout
19499
19500 \begin_layout Standard
19501
19502 \series bold
19503
19504 \backslash
19505 usepackage[tableposition=top]{caption}
19506 \series default
19507
19508 \newline
19509
19510 \series bold
19511
19512 \backslash
19513 captionsetup[f\SpecialChar \textcompwordmark{}
19514 igure]{labelfont={tt}, textfont=it, indention=1cm,%
19515 \newline
19516
19517 \begin_inset ERT
19518 status collapsed
19519
19520 \begin_layout Standard
19521
19522
19523 \backslash
19524 hphantom{
19525 \backslash
19526
19527 \backslash
19528 captionsetup[figure]
19529 \backslash
19530 {}
19531 \end_layout
19532
19533 \end_inset
19534
19535  labelsep=period}
19536 \newline
19537
19538 \backslash
19539 captionsetup[table]{labelfont={bf,sf}}
19540 \end_layout
19541
19542 \begin_layout Standard
19543 \begin_inset Note Greyedout
19544 status open
19545
19546 \begin_layout Standard
19547
19548 \series bold
19549 Note:
19550 \series default
19551  The option 
19552 \series bold
19553 tableposition=top
19554 \series default
19555  has no effect when a 
19556 \series bold
19557 koma-script
19558 \series default
19559
19560 \begin_inset LatexCommand index
19561 name "LaTeX-packages ! koma-script"
19562
19563 \end_inset
19564
19565  document class is used.
19566  In this case the document class option 
19567 \series bold
19568 tablecaptionabove
19569 \series default
19570  must be used.
19571 \end_layout
19572
19573 \end_inset
19574
19575
19576 \end_layout
19577
19578 \begin_layout Standard
19579 For more information about the package 
19580 \series bold
19581 caption
19582 \series default
19583  we refer to its documentation 
19584 \begin_inset LatexCommand cite
19585 key "caption,caption-de"
19586
19587 \end_inset
19588
19589 .
19590 \end_layout
19591
19592 \begin_layout Standard
19593 To change the label name from e.g.
19594  
19595 \begin_inset Quotes eld
19596 \end_inset
19597
19598 Figure
19599 \begin_inset Quotes erd
19600 \end_inset
19601
19602  to 
19603 \begin_inset Quotes eld
19604 \end_inset
19605
19606 Image
19607 \begin_inset Quotes erd
19608 \end_inset
19609
19610  use this preamble command:
19611 \end_layout
19612
19613 \begin_layout Standard
19614
19615 \series bold
19616
19617 \backslash
19618 renewcommand{
19619 \backslash
19620 fnum@figure}{Image~
19621 \backslash
19622 thefigure}
19623 \end_layout
19624
19625 \begin_layout Standard
19626 where 
19627 \series bold
19628
19629 \backslash
19630 thefigure
19631 \series default
19632  inserts the figure number and
19633 \series bold
19634  
19635 \begin_inset Quotes eld
19636 \end_inset
19637
19638 ~
19639 \series default
19640
19641 \begin_inset Quotes erd
19642 \end_inset
19643
19644  creates a protected space.
19645 \end_layout
19646
19647 \begin_layout Standard
19648 \begin_inset VSpace bigskip
19649 \end_inset
19650
19651 If you are using a 
19652 \series bold
19653 koma-script
19654 \series default
19655
19656 \begin_inset LatexCommand index
19657 name "LaTeX-packages ! koma-script"
19658
19659 \end_inset
19660
19661  document class (
19662 \family sans
19663 article (koma-script)
19664 \family default
19665
19666 \family sans
19667 book (koma-script)
19668 \family default
19669
19670 \family sans
19671 letter (koma-script)
19672 \family default
19673 , or 
19674 \family sans
19675 report (koma-script)
19676 \family default
19677 \InsetSpace \thinspace{}
19678 ), you can alternatively to the 
19679 \series bold
19680 caption
19681 \series default
19682  package use 
19683 \series bold
19684 koma-script
19685 \series default
19686 's built-in command 
19687 \series bold
19688
19689 \backslash
19690 setkomafont
19691 \series default
19692 .
19693  For example, to have the caption label in bold, add this command to your
19694  document preamble:
19695 \end_layout
19696
19697 \begin_layout Standard
19698
19699 \series bold
19700
19701 \backslash
19702 setkomafont{captionlabel}{
19703 \backslash
19704 bfseries}
19705 \end_layout
19706
19707 \begin_layout Standard
19708 For more information about 
19709 \series bold
19710
19711 \backslash
19712 setkomafont
19713 \series default
19714  we refer to the 
19715 \series bold
19716 koma-script
19717 \series default
19718  documentation 
19719 \begin_inset LatexCommand cite
19720 key "koma-script,koma-script-de"
19721
19722 \end_inset
19723
19724 .
19725 \end_layout
19726
19727 \begin_layout Standard
19728 \begin_inset ERT
19729 status collapsed
19730
19731 \begin_layout Standard
19732
19733
19734 \backslash
19735 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
19736 }
19737 \end_layout
19738
19739 \end_inset
19740
19741
19742 \begin_inset Note Note
19743 status open
19744
19745 \begin_layout Standard
19746 The caption format is changed only for this example.
19747 \end_layout
19748
19749 \end_inset
19750
19751
19752 \end_layout
19753
19754 \begin_layout Standard
19755 \begin_inset Float figure
19756 placement !p
19757 wide false
19758 sideways false
19759 status open
19760
19761 \begin_layout Standard
19762 \align center
19763 \begin_inset Graphics
19764         filename clipart/mobius.eps
19765         lyxscale 50
19766         scale 50
19767
19768 \end_inset
19769
19770
19771 \end_layout
19772
19773 \begin_layout Standard
19774 \begin_inset Caption
19775
19776 \begin_layout Standard
19777 \begin_inset LatexCommand label
19778 name "fig:This-is-an-fig"
19779
19780 \end_inset
19781
19782 This is an example figure caption that is longer than one line to show the
19783  different caption format.
19784  Here a self-defined caption format is used.
19785 \end_layout
19786
19787 \end_inset
19788
19789
19790 \end_layout
19791
19792 \end_inset
19793
19794
19795 \end_layout
19796
19797 \begin_layout Standard
19798 \begin_inset ERT
19799 status collapsed
19800
19801 \begin_layout Standard
19802
19803
19804 \backslash
19805 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
19806 on}
19807 \end_layout
19808
19809 \end_inset
19810
19811
19812 \end_layout
19813
19814 \begin_layout Standard
19815 \begin_inset Float table
19816 placement !p
19817 wide false
19818 sideways false
19819 status open
19820
19821 \begin_layout Standard
19822 \begin_inset Caption
19823
19824 \begin_layout Standard
19825 \begin_inset LatexCommand label
19826 name "tab:This-is-an-tab"
19827
19828 \end_inset
19829
19830 This is an example table caption that is longer than one line to show the
19831  different caption format.
19832  Here the standard caption format for tables in this document is used.
19833 \end_layout
19834
19835 \end_inset
19836
19837
19838 \end_layout
19839
19840 \begin_layout Standard
19841 \align center
19842 \begin_inset Tabular
19843 <lyxtabular version="3" rows="1" columns="5">
19844 <features>
19845 <column alignment="center" valignment="top" leftline="true" width="0">
19846 <column alignment="center" valignment="top" leftline="true" width="0">
19847 <column alignment="center" valignment="top" leftline="true" width="0">
19848 <column alignment="center" valignment="top" leftline="true" width="0">
19849 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
19850 <row topline="true" bottomline="true">
19851 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19852 \begin_inset Text
19853
19854 \begin_layout Standard
19855 a
19856 \end_layout
19857
19858 \end_inset
19859 </cell>
19860 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19861 \begin_inset Text
19862
19863 \begin_layout Standard
19864 b
19865 \end_layout
19866
19867 \end_inset
19868 </cell>
19869 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19870 \begin_inset Text
19871
19872 \begin_layout Standard
19873 c
19874 \end_layout
19875
19876 \end_inset
19877 </cell>
19878 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19879 \begin_inset Text
19880
19881 \begin_layout Standard
19882 d
19883 \end_layout
19884
19885 \end_inset
19886 </cell>
19887 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19888 \begin_inset Text
19889
19890 \begin_layout Standard
19891 e
19892 \end_layout
19893
19894 \end_inset
19895 </cell>
19896 </row>
19897 </lyxtabular>
19898
19899 \end_inset
19900
19901
19902 \end_layout
19903
19904 \end_inset
19905
19906
19907 \end_layout
19908
19909 \begin_layout Section
19910 Caption Placement
19911 \begin_inset LatexCommand index
19912 name "Caption ! Placement"
19913
19914 \end_inset
19915
19916
19917 \begin_inset LatexCommand index
19918 name "Floats ! Caption Placement"
19919
19920 \end_inset
19921
19922
19923 \begin_inset LatexCommand label
19924 name "sec:Caption-Placement"
19925
19926 \end_inset
19927
19928
19929 \end_layout
19930
19931 \begin_layout Standard
19932 The common caption placement rule is:
19933 \end_layout
19934
19935 \begin_layout Description
19936 Figure: Caption is set below the figure
19937 \end_layout
19938
19939 \begin_layout Description
19940 Table: Caption is set above the table
19941 \end_layout
19942
19943 \begin_layout Standard
19944 Having the caption above the table is unfortunately not supported in LaTeX's
19945  standard classes.
19946  That means if you are using the document classes 
19947 \family sans
19948 article
19949 \family default
19950
19951 \family sans
19952 book
19953 \family default
19954
19955 \family sans
19956 letter
19957 \family default
19958 , or 
19959 \family sans
19960 report
19961 \family default
19962  there will be no space between the caption and the table.
19963  To insert the needed space, add the following option to the load command
19964  of the LaTeX-package 
19965 \series bold
19966 caption
19967 \series default
19968  in your document preamble
19969 \begin_inset Foot
19970 status collapsed
19971
19972 \begin_layout Standard
19973 See section\InsetSpace ~
19974
19975 \begin_inset LatexCommand ref
19976 reference "sec:Caption-Formatting"
19977
19978 \end_inset
19979
19980  for more information of the package 
19981 \series bold
19982 caption
19983 \series default
19984 .
19985 \end_layout
19986
19987 \end_inset
19988
19989 :
19990 \end_layout
19991
19992 \begin_layout Standard
19993
19994 \series bold
19995 tableposition=top
19996 \end_layout
19997
19998 \begin_layout Standard
19999 If you are using a 
20000 \series bold
20001 koma-script
20002 \series default
20003
20004 \begin_inset LatexCommand index
20005 name "LaTeX-packages ! koma-script"
20006
20007 \end_inset
20008
20009  document class (
20010 \family sans
20011 article (koma-script)
20012 \family default
20013
20014 \family sans
20015 book (koma-script)
20016 \family default
20017
20018 \family sans
20019 letter (koma-script)
20020 \family default
20021 , or 
20022 \family sans
20023 report (koma-script)
20024 \family default
20025 \InsetSpace \thinspace{}
20026 ), you can alternatively to the 
20027 \series bold
20028 caption
20029 \series default
20030  package set the document class option 
20031 \series bold
20032 tablecaptionabove
20033 \series default
20034 , or you can use the environment 
20035 \family sans
20036 caption\InsetSpace ~
20037 above
20038 \family default
20039  instead of the 
20040 \family sans
20041 caption
20042 \family default
20043  environment.
20044 \end_layout
20045
20046 \begin_layout Standard
20047 \begin_inset VSpace bigskip
20048 \end_inset
20049
20050 It is also possible to set the caption beside a figure or table.
20051  To get this the LaTeX-package 
20052 \series bold
20053 sidecap
20054 \series default
20055
20056 \begin_inset LatexCommand index
20057 name "LaTeX-packages ! sidecap"
20058
20059 \end_inset
20060
20061  has to be loaded in the document preamble with the line
20062 \end_layout
20063
20064 \begin_layout Standard
20065
20066 \series bold
20067
20068 \backslash
20069 usepackage[option]{sidecap}
20070 \end_layout
20071
20072 \begin_layout Standard
20073 If you set no option, the caption is placed on the side of the outer page
20074  margin -- to the right on odd pages, to the left on even pages.
20075  You can change the placement to inner margin with the option 
20076 \series bold
20077 innercaption
20078 \series default
20079 .
20080  To force the placement always to the right or left, use the option 
20081 \series bold
20082 rightcaption
20083 \series default
20084  or 
20085 \series bold
20086 leftcaption
20087 \series default
20088 , respectively.
20089 \end_layout
20090
20091 \begin_layout Standard
20092 To place in LyX the caption of a float on the side, it is necessary to add
20093  these commands to the document preamble:
20094 \end_layout
20095
20096 \begin_layout Standard
20097
20098 \lyxline
20099
20100 \end_layout
20101
20102 \begin_layout Standard
20103
20104 \series bold
20105
20106 \backslash
20107 newcommand{
20108 \backslash
20109 TabBesBeg}{%
20110 \newline
20111
20112 \begin_inset ERT
20113 status collapsed
20114
20115 \begin_layout Standard
20116
20117
20118 \backslash
20119 hphantom{ }
20120 \end_layout
20121
20122 \end_inset
20123
20124
20125 \backslash
20126 let
20127 \backslash
20128 MyTable
20129 \backslash
20130 table
20131 \newline
20132
20133 \begin_inset ERT
20134 status collapsed
20135
20136 \begin_layout Standard
20137
20138
20139 \backslash
20140 hphantom{ }
20141 \end_layout
20142
20143 \end_inset
20144
20145
20146 \backslash
20147 let
20148 \backslash
20149 MyEndtable
20150 \backslash
20151 endtable
20152 \newline
20153
20154 \begin_inset ERT
20155 status collapsed
20156
20157 \begin_layout Standard
20158
20159
20160 \backslash
20161 hphantom{ }
20162 \end_layout
20163
20164 \end_inset
20165
20166
20167 \backslash
20168 renewenvironment{table}{
20169 \backslash
20170 begin{SCtable}}{
20171 \backslash
20172 end{SCtable}}}
20173 \end_layout
20174
20175 \begin_layout Standard
20176
20177 \series bold
20178
20179 \backslash
20180 newcommand{
20181 \backslash
20182 TabBesEnd}{%
20183 \newline
20184
20185 \begin_inset ERT
20186 status collapsed
20187
20188 \begin_layout Standard
20189
20190
20191 \backslash
20192 hphantom{ }
20193 \end_layout
20194
20195 \end_inset
20196
20197
20198 \backslash
20199 let
20200 \backslash
20201 table
20202 \backslash
20203 MyTable
20204 \newline
20205
20206 \begin_inset ERT
20207 status collapsed
20208
20209 \begin_layout Standard
20210
20211
20212 \backslash
20213 hphantom{ }
20214 \end_layout
20215
20216 \end_inset
20217
20218
20219 \backslash
20220 let
20221 \backslash
20222 endtable
20223 \backslash
20224 MyEndtable
20225 \end_layout
20226
20227 \begin_layout Standard
20228
20229 \series bold
20230
20231 \backslash
20232 newcommand{
20233 \backslash
20234 FigBesBeg}{%
20235 \newline
20236
20237 \begin_inset ERT
20238 status collapsed
20239
20240 \begin_layout Standard
20241
20242
20243 \backslash
20244 hphantom{ }
20245 \end_layout
20246
20247 \end_inset
20248
20249
20250 \backslash
20251 let
20252 \backslash
20253 MyFigure
20254 \backslash
20255 f\SpecialChar \textcompwordmark{}
20256 igure
20257 \newline
20258
20259 \begin_inset ERT
20260 status collapsed
20261
20262 \begin_layout Standard
20263
20264
20265 \backslash
20266 hphantom{ }
20267 \end_layout
20268
20269 \end_inset
20270
20271
20272 \backslash
20273 let
20274 \backslash
20275 MyEndf\SpecialChar \textcompwordmark{}
20276 igure
20277 \backslash
20278 endf\SpecialChar \textcompwordmark{}
20279 igure
20280 \newline
20281
20282 \begin_inset ERT
20283 status collapsed
20284
20285 \begin_layout Standard
20286
20287
20288 \backslash
20289 hphantom{ }
20290 \end_layout
20291
20292 \end_inset
20293
20294
20295 \backslash
20296 renewenvironment{f\SpecialChar \textcompwordmark{}
20297 igure}{
20298 \backslash
20299 begin{SCf\SpecialChar \textcompwordmark{}
20300 igure}}{
20301 \backslash
20302 end{SCf\SpecialChar \textcompwordmark{}
20303 igure}}}
20304 \end_layout
20305
20306 \begin_layout Standard
20307
20308 \series bold
20309
20310 \backslash
20311 newcommand{
20312 \backslash
20313 FigBesEnd}{%
20314 \newline
20315
20316 \begin_inset ERT
20317 status collapsed
20318
20319 \begin_layout Standard
20320
20321
20322 \backslash
20323 hphantom{ }
20324 \end_layout
20325
20326 \end_inset
20327
20328
20329 \backslash
20330 let
20331 \backslash
20332 f\SpecialChar \textcompwordmark{}
20333 igure
20334 \backslash
20335 MyFigure
20336 \newline
20337
20338 \begin_inset ERT
20339 status collapsed
20340
20341 \begin_layout Standard
20342
20343
20344 \backslash
20345 hphantom{ }
20346 \end_layout
20347
20348 \end_inset
20349
20350
20351 \backslash
20352 let
20353 \backslash
20354 endf\SpecialChar \textcompwordmark{}
20355 igure
20356 \backslash
20357 MyEndf\SpecialChar \textcompwordmark{}
20358 igure}
20359 \end_layout
20360
20361 \begin_layout Standard
20362
20363 \lyxline
20364
20365 \end_layout
20366
20367 \begin_layout Standard
20368 The commands allow you to redefine the floats so that the caption is set
20369  on the side.
20370  For figure floats use the command
20371 \end_layout
20372
20373 \begin_layout Standard
20374
20375 \series bold
20376
20377 \backslash
20378 FigBesBeg
20379 \end_layout
20380
20381 \begin_layout Standard
20382 in ERT before the float.
20383  Behind the float insert the command
20384 \end_layout
20385
20386 \begin_layout Standard
20387
20388 \series bold
20389
20390 \backslash
20391 FigBesEnd
20392 \end_layout
20393
20394 \begin_layout Standard
20395 in ERT to get back to the original float definition.
20396 \end_layout
20397
20398 \begin_layout Standard
20399 For table floats use the corresponding commands
20400 \end_layout
20401
20402 \begin_layout Standard
20403
20404 \series bold
20405
20406 \backslash
20407 TabBesBeg
20408 \series default
20409  and 
20410 \series bold
20411
20412 \backslash
20413 TabBesEnd
20414 \end_layout
20415
20416 \begin_layout Standard
20417 Figure\InsetSpace ~
20418
20419 \begin_inset LatexCommand ref
20420 reference "fig:cap-beside-fig"
20421
20422 \end_inset
20423
20424  and Table\InsetSpace ~
20425
20426 \begin_inset LatexCommand ref
20427 reference "tab:cap-beside-tab"
20428
20429 \end_inset
20430
20431  are examples where the caption is set beside.
20432 \end_layout
20433
20434 \begin_layout Standard
20435 You can see in the examples that the caption text appears at the top of
20436  the floats for table floats and at the bottom for figure floats.
20437  To change this, you can use the command
20438 \end_layout
20439
20440 \begin_layout Standard
20441
20442 \series bold
20443
20444 \backslash
20445 sidecaptionvpos{float type}{placement}
20446 \end_layout
20447
20448 \begin_layout Standard
20449 in the document preamble or in ERT before the float.
20450  The float type is either 
20451 \family sans
20452 figure
20453 \family default
20454  or 
20455 \family sans
20456 table
20457 \family default
20458 , the placement can be 
20459 \begin_inset Quotes eld
20460 \end_inset
20461
20462
20463 \family sans
20464 t
20465 \family default
20466
20467 \begin_inset Quotes erd
20468 \end_inset
20469
20470  for top, 
20471 \begin_inset Quotes eld
20472 \end_inset
20473
20474
20475 \family sans
20476 c
20477 \family default
20478
20479 \begin_inset Quotes erd
20480 \end_inset
20481
20482  for center, or 
20483 \begin_inset Quotes eld
20484 \end_inset
20485
20486
20487 \family sans
20488 b
20489 \family default
20490
20491 \begin_inset Quotes erd
20492 \end_inset
20493
20494  for bottom.
20495  To have for example the caption of figure floats vertically centered, use
20496  the command
20497 \end_layout
20498
20499 \begin_layout Standard
20500
20501 \series bold
20502
20503 \backslash
20504 sidecaptionvpos{f\SpecialChar \textcompwordmark{}
20505 igure}{c}
20506 \end_layout
20507
20508 \begin_layout Standard
20509 This was used for Figure\InsetSpace ~
20510
20511 \begin_inset LatexCommand ref
20512 reference "fig:cap-beside-fig-2"
20513
20514 \end_inset
20515
20516 .
20517 \end_layout
20518
20519 \begin_layout Standard
20520 \begin_inset VSpace defskip
20521 \end_inset
20522
20523 For more information about the package 
20524 \series bold
20525 sidecap
20526 \series default
20527  we refer to its documentation 
20528 \begin_inset LatexCommand cite
20529 key "sidecap"
20530
20531 \end_inset
20532
20533 .
20534 \end_layout
20535
20536 \begin_layout Standard
20537 \begin_inset Note Greyedout
20538 status open
20539
20540 \begin_layout Standard
20541
20542 \series bold
20543 Note:
20544 \series default
20545  The LaTeX-package 
20546 \series bold
20547 hypcap
20548 \series default
20549
20550 \begin_inset LatexCommand index
20551 name "LaTeX-packages ! hypcap"
20552
20553 \end_inset
20554
20555 , described in section\InsetSpace ~
20556
20557 \begin_inset LatexCommand ref
20558 reference "sub:Reference-Position"
20559
20560 \end_inset
20561
20562 , has no effect on floats with the caption set beside.
20563 \end_layout
20564
20565 \end_inset
20566
20567
20568 \end_layout
20569
20570 \begin_layout Standard
20571 \begin_inset ERT
20572 status collapsed
20573
20574 \begin_layout Standard
20575
20576
20577 \backslash
20578 FigBesBeg 
20579 \end_layout
20580
20581 \end_inset
20582
20583
20584 \end_layout
20585
20586 \begin_layout Standard
20587 \begin_inset Float figure
20588 wide false
20589 sideways false
20590 status open
20591
20592 \begin_layout Standard
20593 \begin_inset Graphics
20594         filename clipart/escher-lsd.eps
20595         scale 75
20596
20597 \end_inset
20598
20599
20600 \end_layout
20601
20602 \begin_layout Standard
20603 \begin_inset Caption
20604
20605 \begin_layout Standard
20606 \begin_inset LatexCommand label
20607 name "fig:cap-beside-fig"
20608
20609 \end_inset
20610
20611 This is a caption beside a figure.
20612 \end_layout
20613
20614 \end_inset
20615
20616
20617 \end_layout
20618
20619 \end_inset
20620
20621
20622 \end_layout
20623
20624 \begin_layout Standard
20625 \begin_inset ERT
20626 status collapsed
20627
20628 \begin_layout Standard
20629
20630
20631 \backslash
20632 TabBesBeg 
20633 \end_layout
20634
20635 \end_inset
20636
20637
20638 \end_layout
20639
20640 \begin_layout Standard
20641 \begin_inset Float table
20642 wide false
20643 sideways false
20644 status open
20645
20646 \begin_layout Standard
20647 \begin_inset Caption
20648
20649 \begin_layout Standard
20650 \begin_inset LatexCommand label
20651 name "tab:cap-beside-tab"
20652
20653 \end_inset
20654
20655 This is a caption beside a table.
20656 \end_layout
20657
20658 \end_inset
20659
20660
20661 \end_layout
20662
20663 \begin_layout Standard
20664 \begin_inset Tabular
20665 <lyxtabular version="3" rows="4" columns="5">
20666 <features>
20667 <column alignment="center" valignment="top" leftline="true" width="0">
20668 <column alignment="center" valignment="top" leftline="true" width="0">
20669 <column alignment="center" valignment="top" leftline="true" width="0">
20670 <column alignment="center" valignment="top" leftline="true" width="0">
20671 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
20672 <row topline="true">
20673 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20674 \begin_inset Text
20675
20676 \begin_layout Standard
20677 a
20678 \end_layout
20679
20680 \end_inset
20681 </cell>
20682 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20683 \begin_inset Text
20684
20685 \begin_layout Standard
20686
20687 \end_layout
20688
20689 \end_inset
20690 </cell>
20691 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20692 \begin_inset Text
20693
20694 \begin_layout Standard
20695 b
20696 \end_layout
20697
20698 \end_inset
20699 </cell>
20700 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20701 \begin_inset Text
20702
20703 \begin_layout Standard
20704
20705 \end_layout
20706
20707 \end_inset
20708 </cell>
20709 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20710 \begin_inset Text
20711
20712 \begin_layout Standard
20713 c
20714 \end_layout
20715
20716 \end_inset
20717 </cell>
20718 </row>
20719 <row topline="true">
20720 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20721 \begin_inset Text
20722
20723 \begin_layout Standard
20724
20725 \end_layout
20726
20727 \end_inset
20728 </cell>
20729 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20730 \begin_inset Text
20731
20732 \begin_layout Standard
20733 d
20734 \end_layout
20735
20736 \end_inset
20737 </cell>
20738 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20739 \begin_inset Text
20740
20741 \begin_layout Standard
20742
20743 \end_layout
20744
20745 \end_inset
20746 </cell>
20747 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20748 \begin_inset Text
20749
20750 \begin_layout Standard
20751 e
20752 \end_layout
20753
20754 \end_inset
20755 </cell>
20756 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20757 \begin_inset Text
20758
20759 \begin_layout Standard
20760
20761 \end_layout
20762
20763 \end_inset
20764 </cell>
20765 </row>
20766 <row topline="true">
20767 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20768 \begin_inset Text
20769
20770 \begin_layout Standard
20771 f
20772 \end_layout
20773
20774 \end_inset
20775 </cell>
20776 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20777 \begin_inset Text
20778
20779 \begin_layout Standard
20780
20781 \end_layout
20782
20783 \end_inset
20784 </cell>
20785 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20786 \begin_inset Text
20787
20788 \begin_layout Standard
20789 g
20790 \end_layout
20791
20792 \end_inset
20793 </cell>
20794 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20795 \begin_inset Text
20796
20797 \begin_layout Standard
20798
20799 \end_layout
20800
20801 \end_inset
20802 </cell>
20803 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20804 \begin_inset Text
20805
20806 \begin_layout Standard
20807 h
20808 \end_layout
20809
20810 \end_inset
20811 </cell>
20812 </row>
20813 <row topline="true" bottomline="true">
20814 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20815 \begin_inset Text
20816
20817 \begin_layout Standard
20818
20819 \end_layout
20820
20821 \end_inset
20822 </cell>
20823 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20824 \begin_inset Text
20825
20826 \begin_layout Standard
20827 i
20828 \end_layout
20829
20830 \end_inset
20831 </cell>
20832 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20833 \begin_inset Text
20834
20835 \begin_layout Standard
20836
20837 \end_layout
20838
20839 \end_inset
20840 </cell>
20841 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20842 \begin_inset Text
20843
20844 \begin_layout Standard
20845 j
20846 \end_layout
20847
20848 \end_inset
20849 </cell>
20850 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20851 \begin_inset Text
20852
20853 \begin_layout Standard
20854
20855 \end_layout
20856
20857 \end_inset
20858 </cell>
20859 </row>
20860 </lyxtabular>
20861
20862 \end_inset
20863
20864
20865 \end_layout
20866
20867 \end_inset
20868
20869
20870 \end_layout
20871
20872 \begin_layout Standard
20873 \begin_inset ERT
20874 status collapsed
20875
20876 \begin_layout Standard
20877
20878
20879 \backslash
20880 TabBesEnd
20881 \end_layout
20882
20883 \end_inset
20884
20885
20886 \end_layout
20887
20888 \begin_layout Standard
20889 \begin_inset ERT
20890 status collapsed
20891
20892 \begin_layout Standard
20893
20894
20895 \backslash
20896 sidecaptionvpos{figure}{c}
20897 \end_layout
20898
20899 \end_inset
20900
20901
20902 \begin_inset Float figure
20903 wide false
20904 sideways false
20905 status open
20906
20907 \begin_layout Standard
20908 \begin_inset Graphics
20909         filename clipart/escher-lsd.eps
20910         scale 75
20911
20912 \end_inset
20913
20914
20915 \end_layout
20916
20917 \begin_layout Standard
20918 \begin_inset Caption
20919
20920 \begin_layout Standard
20921 \begin_inset LatexCommand label
20922 name "fig:cap-beside-fig-2"
20923
20924 \end_inset
20925
20926 This is a vertically centered caption beside a figure.
20927 \end_layout
20928
20929 \end_inset
20930
20931
20932 \end_layout
20933
20934 \end_inset
20935
20936
20937 \end_layout
20938
20939 \begin_layout Standard
20940 \begin_inset ERT
20941 status collapsed
20942
20943 \begin_layout Standard
20944
20945
20946 \backslash
20947 FigBesEnd
20948 \end_layout
20949
20950 \end_inset
20951
20952
20953 \end_layout
20954
20955 \begin_layout Section
20956 Listings of Floats
20957 \begin_inset LatexCommand label
20958 name "sec:Listings-of-Floats"
20959
20960 \end_inset
20961
20962
20963 \begin_inset LatexCommand index
20964 name "Floats ! Listings"
20965
20966 \end_inset
20967
20968
20969 \end_layout
20970
20971 \begin_layout Standard
20972 Similar to the the table of contents where the sections of the document
20973  are listed, there are listings for all float types, like the figures of
20974  the documents.
20975  You can insert them via the 
20976 \family sans
20977 Insert\SpecialChar \menuseparator
20978 List\InsetSpace ~
20979 /\InsetSpace ~
20980 TOC
20981 \family default
20982  sub menus.
20983 \end_layout
20984
20985 \begin_layout Standard
20986 The list entries are the float captions or its short title, the float number,
20987  and the page number where they appear in the document.
20988 \end_layout
20989
20990 \begin_layout Standard
20991 You can find the list of figures and tables at the end of this document.
20992 \end_layout
20993
20994 \begin_layout Chapter
20995 Notes
20996 \end_layout
20997
20998 \begin_layout Section
20999 \begin_inset ERT
21000 status collapsed
21001
21002 \begin_layout Standard
21003
21004
21005 \backslash
21006 texorpdfstring{
21007 \end_layout
21008
21009 \end_inset
21010
21011 LyX
21012 \begin_inset ERT
21013 status collapsed
21014
21015 \begin_layout Standard
21016
21017 }{LyX}
21018 \end_layout
21019
21020 \end_inset
21021
21022  Notes
21023 \begin_inset LatexCommand label
21024 name "sec:LyX-Notes"
21025
21026 \end_inset
21027
21028
21029 \begin_inset LatexCommand index
21030 name "Notes ! LyX Notes"
21031
21032 \end_inset
21033
21034
21035 \begin_inset Note Note
21036 status collapsed
21037
21038 \begin_layout Standard
21039 The command 
21040 \backslash
21041 texorpdfstring is provided by the LaTeX-package hyperref to avoid that ligatures
21042  are displayed wrongly in PDF-bookmarks.
21043  For more information about this, have a look at 
21044 \begin_inset LatexCommand cite
21045 key "hyperref"
21046
21047 \end_inset
21048
21049 .
21050 \end_layout
21051
21052 \end_inset
21053
21054
21055 \end_layout
21056
21057 \begin_layout Standard
21058 Notes are inserted with the toolbar button 
21059 \begin_inset Graphics
21060         filename ../images/note-insert.xpm
21061         scale 85
21062
21063 \end_inset
21064
21065  or the menu 
21066 \family sans
21067 Insert\SpecialChar \menuseparator
21068 Note
21069 \family default
21070 .
21071  There are five types of notes:
21072 \end_layout
21073
21074 \begin_layout Description
21075 LyX\InsetSpace ~
21076 Note This note type is for internal notes that won't appear in the output.
21077  Its note-box looks like this:
21078 \newline
21079
21080 \newline
21081
21082 \begin_inset Graphics
21083         filename clipart/LyXNoteImageQt4.png
21084         display none
21085         scale 85
21086
21087 \end_inset
21088
21089  
21090 \begin_inset Note Note
21091 status open
21092
21093 \begin_layout Standard
21094 This is text in a note box that doesn't appear in the output.
21095 \end_layout
21096
21097 \end_inset
21098
21099
21100 \end_layout
21101
21102 \begin_layout Description
21103 Comment This note also doesn't appear in the output but it appears as LaTeX-comm
21104 ent, when you export the document to LaTeX via the menu 
21105 \family sans
21106 File\SpecialChar \menuseparator
21107 Export\SpecialChar \menuseparator
21108 LaTeX (pdflatex) / LaTeX (plain)
21109 \family default
21110 .
21111  Its note-box looks like this:
21112 \newline
21113
21114 \newline
21115
21116 \begin_inset Graphics
21117         filename clipart/CommentNoteImageQt4.png
21118         display none
21119         scale 85
21120
21121 \end_inset
21122
21123  
21124 \begin_inset Note Comment
21125 status open
21126
21127 \begin_layout Standard
21128 This is text in a note box that only appears as comment in LaTeX-files.
21129 \end_layout
21130
21131 \end_inset
21132
21133
21134 \end_layout
21135
21136 \begin_layout Description
21137 Greyed\InsetSpace ~
21138 Out This note will appear in the output as grey text.
21139  Its note-box looks like this:
21140 \newline
21141
21142 \newline
21143
21144 \begin_inset Graphics
21145         filename clipart/GreyedOutNoteImageQt4.png
21146         display none
21147         scale 85
21148
21149 \end_inset
21150
21151
21152 \newline
21153
21154 \begin_inset ERT
21155 status collapsed
21156
21157 \begin_layout Standard
21158
21159
21160 \backslash
21161 renewenvironment{lyxgreyedout}
21162 \end_layout
21163
21164 \begin_layout Standard
21165
21166 {
21167 \backslash
21168 textcolor[gray]{0.8}
21169 \backslash
21170 bgroup}{
21171 \backslash
21172 egroup}
21173 \end_layout
21174
21175 \end_inset
21176
21177
21178 \begin_inset Note Greyedout
21179 status open
21180
21181 \begin_layout Standard
21182 This is text
21183 \begin_inset Foot
21184 status open
21185
21186 \begin_layout Standard
21187 This is an example footnote within a greyed out note.
21188 \end_layout
21189
21190 \end_inset
21191
21192  of a comment that appears in the output as grey text.
21193 \end_layout
21194
21195 \end_inset
21196
21197
21198 \begin_inset ERT
21199 status collapsed
21200
21201 \begin_layout Standard
21202
21203
21204 \backslash
21205 renewenvironment{lyxgreyedout}
21206 \end_layout
21207
21208 \begin_layout Standard
21209
21210 {
21211 \backslash
21212 textcolor{blue}
21213 \backslash
21214 bgroup}{
21215 \backslash
21216 egroup}
21217 \end_layout
21218
21219 \end_inset
21220
21221
21222 \begin_inset Note Note
21223 status collapsed
21224
21225 \begin_layout Standard
21226 The greyed out note is here redefined to show it with the original LyX definitio
21227 n because greyed out notes are redefined in the preamble of this document,
21228  as described below, to have blue text.
21229 \end_layout
21230
21231 \end_inset
21232
21233
21234 \newline
21235
21236 \newline
21237 As you can see in the example, the first line of greyed out notes is a bit
21238  indented and greyed out notes can have footnotes.
21239 \end_layout
21240
21241 \begin_layout Description
21242 Framed This note will appear in the output as framed text.
21243  Its note-box looks like this:
21244 \newline
21245
21246 \newline
21247
21248 \begin_inset Graphics
21249         filename clipart/FramedNoteImageQt4.png
21250         display none
21251         scale 85
21252
21253 \end_inset
21254
21255  
21256 \begin_inset Note Framed
21257 status open
21258
21259 \begin_layout Standard
21260 This is text in a note box that appears framed in the output.
21261 \end_layout
21262
21263 \end_inset
21264
21265  In contrary to framed boxes
21266 \begin_inset Foot
21267 status collapsed
21268
21269 \begin_layout Standard
21270 Framed boxes are described in section\InsetSpace ~
21271
21272 \begin_inset LatexCommand ref
21273 reference "sec:Framed-Boxes"
21274
21275 \end_inset
21276
21277 .
21278 \end_layout
21279
21280 \end_inset
21281
21282  the frame uses always the whole text width and the note is set into its
21283  own paragraph.
21284 \end_layout
21285
21286 \begin_layout Description
21287 Shaded This note will appear in the output with red background color.
21288  Its note box looks like this:
21289 \newline
21290
21291 \newline
21292
21293 \begin_inset Graphics
21294         filename clipart/ShadedNoteImageQt4.png
21295         display none
21296         scale 85
21297
21298 \end_inset
21299
21300
21301 \begin_inset Note Shaded
21302 status open
21303
21304 \begin_layout Standard
21305 This text in a note box appears in the output with red background.
21306 \end_layout
21307
21308 \end_inset
21309
21310 In contrary to colored boxes
21311 \begin_inset Foot
21312 status collapsed
21313
21314 \begin_layout Standard
21315 Colored boxes are described in section\InsetSpace ~
21316
21317 \begin_inset LatexCommand ref
21318 reference "sec:Colored-Boxes"
21319
21320 \end_inset
21321
21322 .
21323 \end_layout
21324
21325 \end_inset
21326
21327  the note uses always the whole text width and the note is set into its
21328  own paragraph.
21329 \end_layout
21330
21331 \begin_layout Standard
21332 \begin_inset VSpace bigskip
21333 \end_inset
21334
21335 When you use the toolbar button to insert notes, a 
21336 \family sans
21337 LyX\InsetSpace ~
21338 Note
21339 \family default
21340  is inserted.
21341  You can switch between the five note types by right-clicking on the note-box.
21342  
21343 \family roman
21344 \series medium
21345 \bar no
21346 If you want to turn existing text into a note, mark it and click on the
21347  note
21348 \family default
21349 \series default
21350 \bar default
21351  toolbar 
21352 \family roman
21353 \series medium
21354 \bar no
21355 button
21356 \family default
21357 \series default
21358 \bar default
21359 .
21360 \end_layout
21361
21362 \begin_layout Standard
21363 \begin_inset VSpace bigskip
21364 \end_inset
21365
21366 You can change the text color of the greyed out notes in the preamble with
21367  the following command:
21368 \end_layout
21369
21370 \begin_layout Standard
21371
21372 \series bold
21373
21374 \backslash
21375 renewenvironment{lyxgreyedout}
21376 \newline
21377
21378 \begin_inset ERT
21379 status collapsed
21380
21381 \begin_layout Standard
21382
21383
21384 \backslash
21385 hphantom{ }
21386 \end_layout
21387
21388 \end_inset
21389
21390 {
21391 \backslash
21392 textcolor{color}
21393 \backslash
21394 bgroup}{
21395 \backslash
21396 egroup}
21397 \end_layout
21398
21399 \begin_layout Standard
21400 The available colors and the method to define own colors is explained in
21401  section\InsetSpace ~
21402
21403 \begin_inset LatexCommand ref
21404 reference "sec:Colored-Tables"
21405
21406 \end_inset
21407
21408 .
21409 \end_layout
21410
21411 \begin_layout Standard
21412 Notes that appear in blue in this document are set using greyed out notes
21413  with blue text.
21414 \end_layout
21415
21416 \begin_layout Standard
21417 \begin_inset VSpace bigskip
21418 \end_inset
21419
21420
21421 \end_layout
21422
21423 \begin_layout Standard
21424 The text style of 
21425 \family sans
21426 Framed
21427 \family default
21428  and 
21429 \family sans
21430 Shaded
21431 \family default
21432  notes can be set in the 
21433 \family sans
21434 Text Style
21435 \family default
21436  dialog.
21437 \end_layout
21438
21439 \begin_layout Standard
21440 The default frame width for 
21441 \family sans
21442 Framed
21443 \family default
21444  notes is 0.4\InsetSpace \thinspace{}
21445 pt; it can be changed by changing the size 
21446 \series bold
21447
21448 \backslash
21449 FrameRule
21450 \series default
21451 .
21452  The default space between the note content and the frame is 9\InsetSpace \thinspace{}
21453 pt; it can
21454  be changed by changing the size 
21455 \series bold
21456
21457 \backslash
21458 FrameSep
21459 \series default
21460 .
21461  For example the frame appearance of the following 
21462 \family sans
21463 Framed
21464 \family default
21465  note is set with the ERT commands
21466 \end_layout
21467
21468 \begin_layout Standard
21469
21470 \series bold
21471
21472 \backslash
21473 FrameRule 5pt 
21474 \backslash
21475 FrameSep 0.5cm
21476 \end_layout
21477
21478 \begin_layout Standard
21479 \begin_inset ERT
21480 status collapsed
21481
21482 \begin_layout Standard
21483
21484
21485 \backslash
21486 FrameRule 5pt 
21487 \backslash
21488 FrameSep 0.5cm
21489 \end_layout
21490
21491 \end_inset
21492
21493
21494 \begin_inset Note Framed
21495 status open
21496
21497 \begin_layout Standard
21498 This is text in a 
21499 \family sans
21500 Framed
21501 \family default
21502  note.
21503 \end_layout
21504
21505 \end_inset
21506
21507
21508 \begin_inset ERT
21509 status collapsed
21510
21511 \begin_layout Standard
21512
21513
21514 \backslash
21515 FrameRule 0.4pt 
21516 \backslash
21517 FrameSep 9pt
21518 \end_layout
21519
21520 \end_inset
21521
21522
21523 \end_layout
21524
21525 \begin_layout Standard
21526 \begin_inset VSpace bigskip
21527 \end_inset
21528
21529
21530 \end_layout
21531
21532 \begin_layout Standard
21533 For 
21534 \family sans
21535 Shaded
21536 \family default
21537  notes the default space between the note content and the note border is
21538  3\InsetSpace \thinspace{}
21539 pt; it can be changed by changing the size 
21540 \series bold
21541
21542 \backslash
21543 fboxsep
21544 \series default
21545 .
21546 \newline
21547 The default background color red can be changed with the command 
21548 \series bold
21549
21550 \backslash
21551 def\SpecialChar \textcompwordmark{}
21552 inecolor{shadebox}
21553 \series default
21554 .
21555  The scheme of the 
21556 \series bold
21557
21558 \backslash
21559 def\SpecialChar \textcompwordmark{}
21560 inecolor
21561 \series default
21562  command is explained in section\InsetSpace ~
21563
21564 \begin_inset LatexCommand ref
21565 reference "sec:Colored-Tables"
21566
21567 \end_inset
21568
21569
21570 \begin_inset Foot
21571 status collapsed
21572
21573 \begin_layout Standard
21574 Note that 
21575 \series bold
21576
21577 \backslash
21578 def
21579 \series default
21580 \SpecialChar \textcompwordmark{}
21581
21582 \series bold
21583 inecolor
21584 \series default
21585  requires the LaTeX-package 
21586 \series bold
21587 color
21588 \series default
21589  in the preamble, see section\InsetSpace ~
21590
21591 \begin_inset LatexCommand ref
21592 reference "sec:Colored-Boxes"
21593
21594 \end_inset
21595
21596 .
21597 \end_layout
21598
21599 \end_inset
21600
21601 .
21602 \end_layout
21603
21604 \begin_layout Standard
21605 For example the appearance of the following 
21606 \family sans
21607 Shaded
21608 \family default
21609  note is set with the ERT commands
21610 \end_layout
21611
21612 \begin_layout Standard
21613
21614 \series bold
21615
21616 \backslash
21617 fboxsep 0.5cm
21618 \series default
21619
21620 \newline
21621
21622 \series bold
21623
21624 \backslash
21625 def\SpecialChar \textcompwordmark{}
21626 inecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
21627 \end_layout
21628
21629 \begin_layout Standard
21630 \begin_inset ERT
21631 status collapsed
21632
21633 \begin_layout Standard
21634
21635
21636 \backslash
21637 fboxsep 0.5cm
21638 \end_layout
21639
21640 \end_inset
21641
21642
21643 \begin_inset ERT
21644 status collapsed
21645
21646 \begin_layout Standard
21647
21648
21649 \backslash
21650 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
21651 \end_layout
21652
21653 \end_inset
21654
21655
21656 \begin_inset Note Shaded
21657 status open
21658
21659 \begin_layout Standard
21660
21661 \color yellow
21662 This is yellow text in a
21663 \color none
21664  
21665 \family sans
21666 \color yellow
21667 Shaded
21668 \family default
21669 \color none
21670  
21671 \color yellow
21672 note with darkgreen background.
21673 \end_layout
21674
21675 \end_inset
21676
21677
21678 \begin_inset ERT
21679 status collapsed
21680
21681 \begin_layout Standard
21682
21683
21684 \backslash
21685 fboxsep 3pt
21686 \end_layout
21687
21688 \end_inset
21689
21690
21691 \begin_inset ERT
21692 status collapsed
21693
21694 \begin_layout Standard
21695
21696
21697 \backslash
21698 definecolor{shadecolor}{rgb}{1,0,0}
21699 \end_layout
21700
21701 \end_inset
21702
21703
21704 \end_layout
21705
21706 \begin_layout Section
21707 Footnotes
21708 \begin_inset LatexCommand label
21709 name "sec:Footnotes"
21710
21711 \end_inset
21712
21713
21714 \begin_inset LatexCommand index
21715 name "Notes ! Footnotes"
21716
21717 \end_inset
21718
21719
21720 \begin_inset LatexCommand index
21721 name "Footnotes"
21722
21723 \end_inset
21724
21725
21726 \end_layout
21727
21728 \begin_layout Standard
21729 Footnotes can be inserted using the toolbar button 
21730 \begin_inset Graphics
21731         filename ../images/footnote-insert.xpm
21732         scale 85
21733
21734 \end_inset
21735
21736  or the menu 
21737 \family sans
21738 Insert\SpecialChar \menuseparator
21739 Footnote
21740 \family default
21741 .
21742  
21743 \family roman
21744 \series medium
21745 \bar no
21746 You'll see
21747 \family default
21748 \series default
21749 \bar default
21750  then the following footnote-box: 
21751 \begin_inset Graphics
21752         filename clipart/footnoteQt4.png
21753         scale 80
21754
21755 \end_inset
21756
21757  
21758 \family roman
21759 \series medium
21760 \bar no
21761 where you can enter the footnote text.
21762  If you want to turn existing text into a footnote, mark it and click on
21763  the footnote
21764 \family default
21765 \series default
21766 \bar default
21767  toolbar 
21768 \family roman
21769 \series medium
21770 \bar no
21771 button
21772 \family default
21773 \series default
21774 \bar default
21775 .
21776 \end_layout
21777
21778 \begin_layout Standard
21779 Here is an example footnote:
21780 \family roman
21781 \series medium
21782 \bar no
21783
21784 \begin_inset Foot
21785 status open
21786
21787 \begin_layout Standard
21788 \begin_inset LatexCommand label
21789 name "foot:This-is-an"
21790
21791 \end_inset
21792
21793 This is an example footnote.
21794 \end_layout
21795
21796 \end_inset
21797
21798
21799 \family default
21800 \series default
21801 \bar default
21802
21803 \begin_inset ERT
21804 status collapsed
21805
21806 \begin_layout Standard
21807
21808
21809 \backslash
21810 newcounter{MyRepeatFoot}
21811 \end_layout
21812
21813 \begin_layout Standard
21814
21815
21816 \backslash
21817 setcounter{MyRepeatFoot}{
21818 \backslash
21819 thefootnote}
21820 \end_layout
21821
21822 \end_inset
21823
21824
21825 \end_layout
21826
21827 \begin_layout Standard
21828 The footnote will appear in the output as a superscript number at the text
21829  position where the footnote box is placed.
21830  The footnote text is placed at the bottom of the current page.
21831  The footnote number is calculated by LaTeX, the numbers are consecutive.
21832  It depends on your document-class, if the footnote number is reset for
21833  every chapter.
21834 \end_layout
21835
21836 \begin_layout Standard
21837 Footnotes can be referenced like floats: Insert a label into the footnote
21838  and cross-reference this label in the text as described in section\InsetSpace ~
21839
21840 \begin_inset LatexCommand ref
21841 reference "sec:Referencing-Floats"
21842
21843 \end_inset
21844
21845 .
21846 \newline
21847 This is a cross-reference of Footnote\InsetSpace ~
21848
21849 \begin_inset LatexCommand ref
21850 reference "foot:This-is-an"
21851
21852 \end_inset
21853
21854 .
21855 \end_layout
21856
21857 \begin_layout Standard
21858 \begin_inset VSpace defskip
21859 \end_inset
21860
21861 To use footnotes within tables, you have to use minipages, see section\InsetSpace ~
21862
21863 \begin_inset LatexCommand ref
21864 reference "sec:Minipages"
21865
21866 \end_inset
21867
21868 .
21869  Footnotes within longtables are described in section\InsetSpace ~
21870
21871 \begin_inset LatexCommand ref
21872 reference "sub:Footnotes-in-Longtables"
21873
21874 \end_inset
21875
21876 .
21877 \end_layout
21878
21879 \begin_layout Standard
21880 \begin_inset VSpace defskip
21881 \end_inset
21882
21883 To create only a mark for a footnote, use the command 
21884 \series bold
21885
21886 \backslash
21887 footnotemark[number]
21888 \series default
21889  in ERT.
21890  This is used when you have the same annotation several times in a text
21891  but doesn't want to print the footnote text every time.
21892 \newline
21893 As you don't know
21894  the number of the repeating footnote while you are writing the text, you
21895  have to store its number.
21896  For the following footnote mark example, these commands were inserted in
21897  ERT behind Footnote\InsetSpace ~
21898
21899 \begin_inset LatexCommand ref
21900 reference "foot:This-is-an"
21901
21902 \end_inset
21903
21904  to store the footnote number:
21905 \end_layout
21906
21907 \begin_layout Standard
21908
21909 \series bold
21910
21911 \backslash
21912 newcounter{MyRepeatFoot}
21913 \newline
21914
21915 \backslash
21916 setcounter{MyRepeatFoot}{
21917 \backslash
21918 thefootnote}
21919 \end_layout
21920
21921 \begin_layout Standard
21922 The footnote mark was then created with this command:
21923 \end_layout
21924
21925 \begin_layout Standard
21926
21927 \series bold
21928
21929 \backslash
21930 footnotemark[
21931 \backslash
21932 theMyRepeatFoot]
21933 \end_layout
21934
21935 \begin_layout Standard
21936 Here is an example footnote mark:
21937 \family roman
21938 \series medium
21939 \bar no
21940
21941 \begin_inset ERT
21942 status collapsed
21943
21944 \begin_layout Standard
21945
21946
21947 \backslash
21948 footnotemark[
21949 \backslash
21950 theMyRepeatFoot]
21951 \end_layout
21952
21953 \end_inset
21954
21955
21956 \end_layout
21957
21958 \begin_layout Subsection
21959 Footnote Numbering
21960 \begin_inset LatexCommand label
21961 name "sub:Footnote-Numbering"
21962
21963 \end_inset
21964
21965
21966 \begin_inset LatexCommand index
21967 name "Footnotes ! Numbering"
21968
21969 \end_inset
21970
21971
21972 \end_layout
21973
21974 \begin_layout Standard
21975 To reset the footnote number back to 1 after each section
21976 \family roman
21977 , add this command to your document preamble:
21978 \end_layout
21979
21980 \begin_layout Standard
21981
21982 \series bold
21983
21984 \backslash
21985 @addtoreset{footnote}{section}
21986 \end_layout
21987
21988 \begin_layout Standard
21989 \begin_inset VSpace bigskip
21990 \end_inset
21991
21992 The following preamble command changes the footnote numbering style to small
21993  roman numerals:
21994 \end_layout
21995
21996 \begin_layout Standard
21997
21998 \series bold
21999
22000 \backslash
22001 renewcommand{
22002 \backslash
22003 thefootnote}{
22004 \backslash
22005 roman{footnote}}
22006 \end_layout
22007
22008 \begin_layout Standard
22009 \begin_inset ERT
22010 status collapsed
22011
22012 \begin_layout Standard
22013
22014
22015 \backslash
22016 renewcommand{
22017 \backslash
22018 thefootnote}{
22019 \backslash
22020 roman{footnote}}
22021 \end_layout
22022
22023 \end_inset
22024
22025  This is a footnote with roman numbering:
22026 \begin_inset Foot
22027 status open
22028
22029 \begin_layout Standard
22030 This is an example footnote with roman numbering.
22031 \end_layout
22032
22033 \end_inset
22034
22035
22036 \begin_inset ERT
22037 status collapsed
22038
22039 \begin_layout Standard
22040
22041
22042 \backslash
22043 renewcommand{
22044 \backslash
22045 thefootnote}{
22046 \backslash
22047 arabic{footnote}}
22048 \end_layout
22049
22050 \end_inset
22051
22052
22053 \end_layout
22054
22055 \begin_layout Standard
22056 To change the numbering style to capital roman numerals replace in the command
22057  above 
22058 \series bold
22059
22060 \backslash
22061 roman
22062 \series default
22063  by 
22064 \series bold
22065
22066 \backslash
22067 Roman
22068 \series default
22069 .
22070  To 
22071 \begin_inset Quotes eld
22072 \end_inset
22073
22074 number
22075 \begin_inset Quotes erd
22076 \end_inset
22077
22078  footnotes with capital or small Latin letters use 
22079 \series bold
22080
22081 \backslash
22082 Alph
22083 \series default
22084  or 
22085 \series bold
22086
22087 \backslash
22088 alph
22089 \series default
22090 , respectively.
22091  To 
22092 \begin_inset Quotes eld
22093 \end_inset
22094
22095 number
22096 \begin_inset Quotes erd
22097 \end_inset
22098
22099  footnotes with symbols use 
22100 \series bold
22101
22102 \backslash
22103 fnsymbol
22104 \series default
22105 .
22106 \end_layout
22107
22108 \begin_layout Standard
22109 \begin_inset Note Greyedout
22110 status open
22111
22112 \begin_layout Standard
22113
22114 \series bold
22115 Note:
22116 \series default
22117  You can only number 26 footnotes with Latin letters, because this numbering
22118  is limited to single letters.
22119 \end_layout
22120
22121 \end_inset
22122
22123
22124 \newline
22125
22126 \begin_inset Note Greyedout
22127 status open
22128
22129 \begin_layout Standard
22130
22131 \series bold
22132 Note:
22133 \series default
22134  You can only number 9 footnotes with symbols.
22135 \end_layout
22136
22137 \end_inset
22138
22139
22140 \end_layout
22141
22142 \begin_layout Standard
22143 To return to the default numbering style when you changed to another one,
22144  use 
22145 \series bold
22146
22147 \backslash
22148 arabic
22149 \series default
22150  instead of 
22151 \series bold
22152
22153 \backslash
22154 roman
22155 \series default
22156  in the command above.
22157 \end_layout
22158
22159 \begin_layout Standard
22160 \begin_inset VSpace bigskip
22161 \end_inset
22162
22163
22164 \end_layout
22165
22166 \begin_layout Standard
22167 If you want to have footnotes numbered in the scheme 
22168 \begin_inset Quotes eld
22169 \end_inset
22170
22171 chapter.footnote
22172 \begin_inset Quotes erd
22173 \end_inset
22174
22175 , add the following command to your document preamble:
22176 \end_layout
22177
22178 \begin_layout Standard
22179
22180 \series bold
22181
22182 \backslash
22183 numberwithin{footnote}{chapter}
22184 \end_layout
22185
22186 \begin_layout Standard
22187 To be able to use the command 
22188 \series bold
22189
22190 \backslash
22191 numberwithin
22192 \series default
22193 , set in the tab 
22194 \family sans
22195 Math\InsetSpace ~
22196 Options
22197 \family default
22198  in the document settings the option 
22199 \family sans
22200 Use\InsetSpace ~
22201 AMS\InsetSpace ~
22202 math\InsetSpace ~
22203 package
22204 \family default
22205 .
22206 \end_layout
22207
22208 \begin_layout Standard
22209 \begin_inset ERT
22210 status collapsed
22211
22212 \begin_layout Standard
22213
22214
22215 \backslash
22216 numberwithin{footnote}{chapter}
22217 \end_layout
22218
22219 \end_inset
22220
22221 This is another example footnote:
22222 \series bold
22223
22224 \begin_inset Foot
22225 status open
22226
22227 \begin_layout Standard
22228 This is a footnote numbered in the scheme 
22229 \begin_inset Quotes eld
22230 \end_inset
22231
22232 chapter.footnote
22233 \begin_inset Quotes erd
22234 \end_inset
22235
22236 .
22237 \end_layout
22238
22239 \end_inset
22240
22241
22242 \series default
22243
22244 \begin_inset ERT
22245 status collapsed
22246
22247 \begin_layout Standard
22248
22249
22250 \backslash
22251 numberwithin{footnote}{part}
22252 \end_layout
22253
22254 \end_inset
22255
22256
22257 \end_layout
22258
22259 \begin_layout Standard
22260 \begin_inset Note Greyedout
22261 status open
22262
22263 \begin_layout Standard
22264
22265 \series bold
22266 Note:
22267 \series default
22268  
22269 \series bold
22270
22271 \backslash
22272 numberwithin
22273 \series default
22274  always prints out the footnote number as arabic number; previous redefinitions
22275  to get non-arabic numbers are overwritten.
22276 \end_layout
22277
22278 \end_inset
22279
22280
22281 \end_layout
22282
22283 \begin_layout Standard
22284 So to get for example the scheme 
22285 \begin_inset Quotes eld
22286 \end_inset
22287
22288 chapter.
22289 \backslash
22290 Roman{footnote}
22291 \begin_inset Quotes erd
22292 \end_inset
22293
22294 , use this command instead of 
22295 \series bold
22296
22297 \backslash
22298 numberwithin
22299 \series default
22300 :
22301 \end_layout
22302
22303 \begin_layout Standard
22304
22305 \series bold
22306
22307 \backslash
22308 renewcommand{
22309 \backslash
22310 thefootnote}{
22311 \backslash
22312 thechapter.
22313 \backslash
22314 Roman{footnote}}
22315 \end_layout
22316
22317 \begin_layout Subsection
22318 Footnote Placement
22319 \begin_inset LatexCommand index
22320 name "Footnotes ! Placement"
22321
22322 \end_inset
22323
22324
22325 \end_layout
22326
22327 \begin_layout Standard
22328 If you have several footnotes in one page, they appear without vertical
22329  space between them at the bottom of the page.
22330  To make them better readable you can e.\InsetSpace \thinspace{}
22331 g.\InsetSpace ~
22332 add 1.5\InsetSpace \thinspace{}
22333 mm space with the following
22334  preamble command:
22335 \end_layout
22336
22337 \begin_layout Standard
22338
22339 \series bold
22340
22341 \backslash
22342 let
22343 \backslash
22344 myFoot
22345 \backslash
22346 footnote
22347 \newline
22348
22349 \backslash
22350 renewcommand{
22351 \backslash
22352 footnote}[1]{
22353 \backslash
22354 myFoot{#1
22355 \backslash
22356 vspace{1.5mm}}}
22357 \end_layout
22358
22359 \begin_layout Standard
22360 \begin_inset VSpace bigskip
22361 \end_inset
22362
22363 In a two-column document the footnotes appear at the bottom of every column,
22364  see Figure\InsetSpace ~
22365
22366 \begin_inset LatexCommand ref
22367 reference "fig:Standard-footnote-placement"
22368
22369 \end_inset
22370
22371 .
22372  If the footnotes should only appear at the bottom of the right column,
22373  as in Figure\InsetSpace ~
22374
22375 \begin_inset LatexCommand ref
22376 reference "fig:Footnote-placement-in"
22377
22378 \end_inset
22379
22380 , use the LaTeX-package 
22381 \series bold
22382 ftnright
22383 \series default
22384
22385 \begin_inset LatexCommand index
22386 name "LaTeX-packages ! ftnright"
22387
22388 \end_inset
22389
22390  with this command in the document preamble:
22391 \end_layout
22392
22393 \begin_layout Standard
22394
22395 \series bold
22396
22397 \backslash
22398 usepackage{ftnright}
22399 \end_layout
22400
22401 \begin_layout Standard
22402 \begin_inset Float figure
22403 placement !h
22404 wide false
22405 sideways false
22406 status open
22407
22408 \begin_layout Standard
22409 \begin_inset ERT
22410 status collapsed
22411
22412 \begin_layout Standard
22413
22414
22415 \backslash
22416 framebox{
22417 \end_layout
22418
22419 \end_inset
22420
22421
22422 \begin_inset Graphics
22423         filename clipart/without_fntright.pdf
22424         width 100col%
22425
22426 \end_inset
22427
22428
22429 \begin_inset ERT
22430 status collapsed
22431
22432 \begin_layout Standard
22433
22434 }
22435 \end_layout
22436
22437 \end_inset
22438
22439
22440 \end_layout
22441
22442 \begin_layout Standard
22443 \begin_inset Caption
22444
22445 \begin_layout Standard
22446 \begin_inset LatexCommand label
22447 name "fig:Standard-footnote-placement"
22448
22449 \end_inset
22450
22451 Standard footnote placement in two-column documents.
22452 \end_layout
22453
22454 \end_inset
22455
22456
22457 \end_layout
22458
22459 \end_inset
22460
22461
22462 \end_layout
22463
22464 \begin_layout Standard
22465 \begin_inset Float figure
22466 placement !h
22467 wide false
22468 sideways false
22469 status open
22470
22471 \begin_layout Standard
22472 \begin_inset ERT
22473 status collapsed
22474
22475 \begin_layout Standard
22476
22477
22478 \backslash
22479 framebox{
22480 \end_layout
22481
22482 \end_inset
22483
22484
22485 \begin_inset Graphics
22486         filename clipart/with_fntright.pdf
22487         width 100col%
22488
22489 \end_inset
22490
22491
22492 \begin_inset ERT
22493 status collapsed
22494
22495 \begin_layout Standard
22496
22497 }
22498 \end_layout
22499
22500 \end_inset
22501
22502
22503 \end_layout
22504
22505 \begin_layout Standard
22506 \begin_inset Caption
22507
22508 \begin_layout Standard
22509 \begin_inset LatexCommand label
22510 name "fig:Footnote-placement-in"
22511
22512 \end_inset
22513
22514 Footnote placement in two-column documents when the LaTeX-package 
22515 \series bold
22516 ftnright
22517 \series default
22518  is used.
22519 \end_layout
22520
22521 \end_inset
22522
22523
22524 \end_layout
22525
22526 \end_inset
22527
22528
22529 \end_layout
22530
22531 \begin_layout Standard
22532 \begin_inset VSpace bigskip
22533 \end_inset
22534
22535 In some scientific literature it is usual to collect the footnotes and print
22536  them in a separate paragraph at the the end of a section, like in Figure\InsetSpace ~
22537
22538 \begin_inset LatexCommand ref
22539 reference "fig:Endnotes----footnotes"
22540
22541 \end_inset
22542
22543 .
22544  They are then so called 
22545 \begin_inset Quotes eld
22546 \end_inset
22547
22548 endnotes
22549 \begin_inset Quotes erd
22550 \end_inset
22551
22552 .
22553  To use endnotes instead of footnotes in your document, load the LaTeX-package
22554  
22555 \series bold
22556 endnotes
22557 \series default
22558
22559 \begin_inset LatexCommand index
22560 name "LaTeX-packages ! endnotes"
22561
22562 \end_inset
22563
22564  with the document preamble lines
22565 \end_layout
22566
22567 \begin_layout Standard
22568
22569 \series bold
22570
22571 \backslash
22572 usepackage{endnotes}
22573 \newline
22574
22575 \backslash
22576 let
22577 \backslash
22578 footnote
22579 \backslash
22580 endnote
22581 \end_layout
22582
22583 \begin_layout Standard
22584 To insert the collected footnotes, insert the command
22585 \end_layout
22586
22587 \begin_layout Standard
22588
22589 \series bold
22590
22591 \backslash
22592 theendnotes
22593 \end_layout
22594
22595 \begin_layout Standard
22596 in ERT at the the end of a section or chapter.
22597 \end_layout
22598
22599 \begin_layout Standard
22600 \begin_inset Float figure
22601 wide false
22602 sideways false
22603 status open
22604
22605 \begin_layout Standard
22606 \align center
22607 \begin_inset ERT
22608 status collapsed
22609
22610 \begin_layout Standard
22611
22612
22613 \backslash
22614 framebox{
22615 \end_layout
22616
22617 \end_inset
22618
22619
22620 \begin_inset Graphics
22621         filename clipart/endnotes.pdf
22622
22623 \end_inset
22624
22625
22626 \begin_inset ERT
22627 status collapsed
22628
22629 \begin_layout Standard
22630
22631 }
22632 \end_layout
22633
22634 \end_inset
22635
22636
22637 \end_layout
22638
22639 \begin_layout Standard
22640 \begin_inset Caption
22641
22642 \begin_layout Standard
22643 \begin_inset LatexCommand label
22644 name "fig:Endnotes----footnotes"
22645
22646 \end_inset
22647
22648 Endnotes -- footnotes are printed in a separate paragraph at the end of
22649  sections or chapters.
22650 \end_layout
22651
22652 \end_inset
22653
22654
22655 \end_layout
22656
22657 \end_inset
22658
22659
22660 \end_layout
22661
22662 \begin_layout Standard
22663 \begin_inset VSpace defskip
22664 \end_inset
22665
22666 The paragraph heading for the endnotes isn't automatically translated into
22667  the document language, this must be done manually.
22668  The following preamble command translate the default English name 
22669 \begin_inset Quotes eld
22670 \end_inset
22671
22672 Notes
22673 \begin_inset Quotes erd
22674 \end_inset
22675
22676  to the German translation 
22677 \begin_inset Quotes eld
22678 \end_inset
22679
22680 Anmerkungen
22681 \begin_inset Quotes erd
22682 \end_inset
22683
22684 :
22685 \end_layout
22686
22687 \begin_layout Standard
22688
22689 \series bold
22690
22691 \backslash
22692 renewcommand{
22693 \backslash
22694 notesname}{Anmerkungen}
22695 \end_layout
22696
22697 \begin_layout Standard
22698 \begin_inset VSpace defskip
22699 \end_inset
22700
22701 The numbering of endnotes can be changed like the footnote numbering as
22702  described in section\InsetSpace ~
22703
22704 \begin_inset LatexCommand ref
22705 reference "sub:Footnote-Numbering"
22706
22707 \end_inset
22708
22709 ; just replace the command 
22710 \series bold
22711
22712 \backslash
22713 thefootnote
22714 \series default
22715  by 
22716 \series bold
22717
22718 \backslash
22719 theendnote
22720 \series default
22721 .
22722  To reset the endnote number use the command 
22723 \series bold
22724
22725 \backslash
22726 @addtoreset
22727 \series default
22728  as described in section\InsetSpace ~
22729
22730 \begin_inset LatexCommand ref
22731 reference "sub:Footnote-Numbering"
22732
22733 \end_inset
22734
22735  and replace the command parameter 
22736 \series bold
22737 footnote
22738 \series default
22739  by 
22740 \series bold
22741 endnote
22742 \series default
22743 .
22744 \end_layout
22745
22746 \begin_layout Standard
22747 To create only a mark for an endnote, use the command 
22748 \series bold
22749
22750 \backslash
22751 endnotemark[number]
22752 \series default
22753  similar to the command 
22754 \series bold
22755
22756 \backslash
22757 footnotemark
22758 \series default
22759 , described in section\InsetSpace ~
22760
22761 \begin_inset LatexCommand ref
22762 reference "sec:Footnotes"
22763
22764 \end_inset
22765
22766 .
22767 \end_layout
22768
22769 \begin_layout Standard
22770 \begin_inset VSpace bigskip
22771 \end_inset
22772
22773 Footnotes can also be placed in the page margin and the footnote text alignment
22774  can be changed, see the LaTeX-package 
22775 \series bold
22776 footmisc
22777 \series default
22778
22779 \begin_inset LatexCommand index
22780 name "LaTeX-packages ! footmisc"
22781
22782 \end_inset
22783
22784
22785 \begin_inset LatexCommand cite
22786 key "footmisc"
22787
22788 \end_inset
22789
22790  for more information about this.
22791 \end_layout
22792
22793 \begin_layout Standard
22794 For various further footnote formatting issues have a look at LaTeX-books,
22795  
22796 \begin_inset LatexCommand cite
22797 key "latexcompanion,latexguide,latexbook"
22798
22799 \end_inset
22800
22801 .
22802 \end_layout
22803
22804 \begin_layout Section
22805 Margin Notes
22806 \begin_inset LatexCommand index
22807 name "Notes ! Margin Notes"
22808
22809 \end_inset
22810
22811
22812 \end_layout
22813
22814 \begin_layout Standard
22815 Margin notes look and behave in LyX like footnotes.
22816  They are inserted via the menu 
22817 \family sans
22818 Insert\SpecialChar \menuseparator
22819 Marginal\InsetSpace ~
22820 Note
22821 \family default
22822  or the toolbar button 
22823 \begin_inset Graphics
22824         filename ../images/marginalnote-insert.xpm
22825         scale 85
22826
22827 \end_inset
22828
22829 .
22830  A grey 
22831 \family roman
22832 \series medium
22833 box with the
22834 \family default
22835 \series default
22836  red 
22837 \family roman
22838 \series medium
22839 label 
22840 \begin_inset Quotes eld
22841 \end_inset
22842
22843 margin
22844 \begin_inset Quotes erd
22845 \end_inset
22846
22847  appears where you can enter the text of the margin note.
22848 \end_layout
22849
22850 \begin_layout Standard
22851 At the side is an example margin note.
22852 \family roman
22853 \series medium
22854
22855 \begin_inset Marginal
22856 status open
22857
22858 \begin_layout Standard
22859 This is a margin note.
22860 \end_layout
22861
22862 \end_inset
22863
22864
22865 \end_layout
22866
22867 \begin_layout Standard
22868 Margin notes appear at the right side in single-sided documents.
22869  In double-sided documents they appear in the outer margin -- left on even
22870  pages, right on odd pages.
22871  The text of margin notes is aligned opposite to the outer margin -- right-align
22872 ed when the note appears in the left margin.
22873  The first line of the margin note is placed at the position of the text
22874  line where it is inserted in the document.
22875 \end_layout
22876
22877 \begin_layout Standard
22878 \begin_inset VSpace bigskip
22879 \end_inset
22880
22881 To place the margin note in the inner margin, add the command
22882 \end_layout
22883
22884 \begin_layout Standard
22885
22886 \series bold
22887
22888 \backslash
22889 reversemarginpar
22890 \end_layout
22891
22892 \begin_layout Standard
22893 in ERT before a margin note.
22894  The new placement is valid for all following margin notes.
22895 \begin_inset ERT
22896 status collapsed
22897
22898 \begin_layout Standard
22899
22900
22901 \backslash
22902 reversemarginpar 
22903 \end_layout
22904
22905 \end_inset
22906
22907
22908 \begin_inset Marginal
22909 status open
22910
22911 \begin_layout Standard
22912 This is a margin note in the inner margin.
22913 \end_layout
22914
22915 \end_inset
22916
22917
22918 \series bold
22919
22920 \newline
22921
22922 \series default
22923
22924 \begin_inset Note Greyedout
22925 status open
22926
22927 \begin_layout Standard
22928
22929 \series bold
22930 Note:
22931 \series default
22932  There is often not enough space in the inner margin so that the notes are
22933  not correctly displayed in the output.
22934 \end_layout
22935
22936 \end_inset
22937
22938
22939 \end_layout
22940
22941 \begin_layout Standard
22942 \begin_inset ERT
22943 status collapsed
22944
22945 \begin_layout Standard
22946
22947
22948 \backslash
22949 normalmarginpar 
22950 \end_layout
22951
22952 \end_inset
22953
22954 To return to the default placement insert the command
22955 \end_layout
22956
22957 \begin_layout Standard
22958
22959 \series bold
22960
22961 \backslash
22962 normalmarginpar
22963 \end_layout
22964
22965 \begin_layout Standard
22966 in ERT.
22967  
22968 \begin_inset Note Greyedout
22969 status open
22970
22971 \begin_layout Standard
22972
22973 \series bold
22974 Note:
22975 \series default
22976  The command is ignored when it is within a paragraph where also the command
22977  
22978 \series bold
22979
22980 \backslash
22981 reversemarginpar
22982 \series default
22983  is inserted.
22984 \end_layout
22985
22986 \end_inset
22987
22988
22989 \end_layout
22990
22991 \begin_layout Standard
22992 \begin_inset VSpace bigskip
22993 \end_inset
22994
22995
22996 \family roman
22997 \series medium
22998
22999 \begin_inset Marginal
23000 status open
23001
23002 \begin_layout Standard
23003 AVeryLongMarginParWord that isn't hyphenated.
23004 \end_layout
23005
23006 \end_inset
23007
23008
23009 \family default
23010 \series default
23011 Similar to the case described in section\InsetSpace ~
23012
23013 \begin_inset LatexCommand ref
23014 reference "sub:Multiple-Lines-in"
23015
23016 \end_inset
23017
23018 , long words cannot be hyphenated when they are the first word in a margin
23019  note.
23020  To avoid this, insert the command
23021 \end_layout
23022
23023 \begin_layout Standard
23024
23025 \series bold
23026
23027 \backslash
23028 hspace{0pt}
23029 \end_layout
23030
23031 \begin_layout Standard
23032 in ERT before the word
23033 \family roman
23034 \series medium
23035 .
23036 \begin_inset Marginal
23037 status open
23038
23039 \begin_layout Standard
23040 \begin_inset ERT
23041 status collapsed
23042
23043 \begin_layout Standard
23044
23045
23046 \backslash
23047 hspace{0pt}
23048 \end_layout
23049
23050 \end_inset
23051
23052 AVeryLongMarginParWord that is hyphenated.
23053 \end_layout
23054
23055 \end_inset
23056
23057
23058 \end_layout
23059
23060 \begin_layout Standard
23061 \begin_inset VSpace bigskip
23062 \end_inset
23063
23064
23065 \end_layout
23066
23067 \begin_layout Standard
23068 \begin_inset Note Greyedout
23069 status open
23070
23071 \begin_layout Standard
23072
23073 \series bold
23074 Note:
23075 \series default
23076  Margin notes can normally not be used inside tables, floats, and footnotes.
23077 \end_layout
23078
23079 \end_inset
23080
23081
23082 \end_layout
23083
23084 \begin_layout Standard
23085 \begin_inset VSpace bigskip
23086 \end_inset
23087
23088
23089 \end_layout
23090
23091 \begin_layout Standard
23092 \begin_inset ERT
23093 status collapsed
23094
23095 \begin_layout Standard
23096
23097
23098 \backslash
23099 ifmarginnote
23100 \end_layout
23101
23102 \end_inset
23103
23104
23105 \begin_inset Note Note
23106 status open
23107
23108 \begin_layout Standard
23109 The following section will only be displayed when you have the LaTeX-package
23110  
23111 \series bold
23112 marginnote
23113 \series default
23114  is installed.
23115 \end_layout
23116
23117 \end_inset
23118
23119
23120 \end_layout
23121
23122 \begin_layout Standard
23123 This restriction can be evaded by using the LaTeX-package 
23124 \series bold
23125 marginnote
23126 \series default
23127
23128 \begin_inset LatexCommand index
23129 name "LaTeX-packages ! marginnote"
23130
23131 \end_inset
23132
23133 .
23134  By adding these two lines to your document preamble, the command used by
23135  LyX for margin notes is redefined to use the command provided by the 
23136 \series bold
23137 marginnote
23138 \series default
23139 -package:
23140 \end_layout
23141
23142 \begin_layout Standard
23143
23144 \series bold
23145
23146 \backslash
23147 usepackage{marginnote}
23148 \newline
23149
23150 \backslash
23151 let
23152 \backslash
23153 marginpar
23154 \backslash
23155 marginnote
23156 \end_layout
23157
23158 \begin_layout Standard
23159 This is also used in this document because 
23160 \series bold
23161 marginnote
23162 \series default
23163  has another useful feature: You can set a vertical offset for the note.
23164  This is often needed when too many margin notes are too close together
23165  or for a better page layout.
23166  The offset is set in LyX as ERT directly behind the margin note in the
23167  scheme
23168 \end_layout
23169
23170 \begin_layout Standard
23171
23172 \series bold
23173 [offset]
23174 \end_layout
23175
23176 \begin_layout Standard
23177 where the offset is a length with one of the units listed in Table\InsetSpace ~
23178
23179 \begin_inset LatexCommand ref
23180 reference "tab:Units"
23181
23182 \end_inset
23183
23184 .
23185  A negative value shifts the note up, a positive value shifts it down.
23186  
23187 \family roman
23188 \series medium
23189 For example the margin note beside this text line is shifted up 1.5\InsetSpace \thinspace{}
23190 cm with
23191  the ERT-command 
23192 \begin_inset Quotes eld
23193 \end_inset
23194
23195
23196 \family default
23197 \series bold
23198 [-1.5cm]
23199 \family roman
23200 \series medium
23201
23202 \begin_inset Quotes erd
23203 \end_inset
23204
23205
23206 \begin_inset Marginal
23207 status open
23208
23209 \begin_layout Standard
23210 This margin note is shifted up 1.5\InsetSpace \thinspace{}
23211 cm from its original position.
23212 \end_layout
23213
23214 \end_inset
23215
23216
23217 \family default
23218 \series default
23219
23220 \begin_inset ERT
23221 status collapsed
23222
23223 \begin_layout Standard
23224
23225 [-1.5cm]
23226 \end_layout
23227
23228 \end_inset
23229
23230
23231 \end_layout
23232
23233 \begin_layout Standard
23234 \begin_inset VSpace defskip
23235 \end_inset
23236
23237 With 
23238 \series bold
23239 marginnote
23240 \series default
23241  you can also change the alignment of the text in the margin note.
23242  For example the commands
23243 \end_layout
23244
23245 \begin_layout Standard
23246
23247 \series bold
23248
23249 \backslash
23250 renewcommand*{
23251 \backslash
23252 raggedleftmarginnote}{
23253 \backslash
23254 centering}
23255 \newline
23256
23257 \backslash
23258 renewcommand*{
23259 \backslash
23260 raggedrightmarginnote}{
23261 \backslash
23262 centering}
23263 \end_layout
23264
23265 \begin_layout Standard
23266 set the alignment to centered.
23267  
23268 \series bold
23269
23270 \backslash
23271 raggedleftmarginnote
23272 \series default
23273  denotes margin notes that appear at the left side.
23274 \family roman
23275 \series medium
23276
23277 \begin_inset ERT
23278 status collapsed
23279
23280 \begin_layout Standard
23281
23282
23283 \backslash
23284 renewcommand*{
23285 \backslash
23286 raggedleftmarginnote}{
23287 \backslash
23288 centering}
23289 \end_layout
23290
23291 \begin_layout Standard
23292
23293
23294 \backslash
23295 renewcommand*{
23296 \backslash
23297 raggedrightmarginnote}{
23298 \backslash
23299 centering}
23300 \end_layout
23301
23302 \end_inset
23303
23304
23305 \begin_inset Marginal
23306 status open
23307
23308 \begin_layout Standard
23309 The text of this margin note is centered.
23310 \end_layout
23311
23312 \end_inset
23313
23314
23315 \family default
23316 \series default
23317  The default is
23318 \end_layout
23319
23320 \begin_layout Standard
23321
23322 \series bold
23323
23324 \backslash
23325 renewcommand*{
23326 \backslash
23327 raggedleftmarginnote}{
23328 \backslash
23329 raggedleft}
23330 \newline
23331
23332 \backslash
23333 renewcommand*{
23334 \backslash
23335 raggedrightmarginnote}{
23336 \backslash
23337 raggedright}
23338 \family roman
23339 \series medium
23340
23341 \begin_inset ERT
23342 status collapsed
23343
23344 \begin_layout Standard
23345
23346
23347 \backslash
23348 renewcommand*{
23349 \backslash
23350 raggedleftmarginnote}{
23351 \backslash
23352 raggedleft}
23353 \end_layout
23354
23355 \begin_layout Standard
23356
23357
23358 \backslash
23359 renewcommand*{
23360 \backslash
23361 raggedrightmarginnote}{
23362 \backslash
23363 raggedright}
23364 \end_layout
23365
23366 \end_inset
23367
23368
23369 \end_layout
23370
23371 \begin_layout Standard
23372 \begin_inset VSpace defskip
23373 \end_inset
23374
23375 For the other features of 
23376 \series bold
23377 marginnote
23378 \series default
23379  we refer to its documentation 
23380 \begin_inset LatexCommand cite
23381 key "marginnote"
23382
23383 \end_inset
23384
23385 .
23386 \end_layout
23387
23388 \begin_layout Standard
23389 \begin_inset VSpace bigskip
23390 \end_inset
23391
23392 You can change the layout of margin notes by redefining its definition.
23393  To create for example a header for all margin notes with the underlined,
23394  sans-serif, and bold header text 
23395 \begin_inset Quotes eld
23396 \end_inset
23397
23398
23399 \family sans
23400 \series bold
23401 \bar under
23402 Attention!
23403 \family default
23404 \series default
23405 \bar default
23406
23407 \begin_inset Quotes erd
23408 \end_inset
23409
23410 , add this to your document preamble:
23411 \end_layout
23412
23413 \begin_layout Standard
23414
23415 \series bold
23416
23417 \backslash
23418 let
23419 \backslash
23420 myMarginpar
23421 \backslash
23422 marginpar
23423 \newline
23424
23425 \backslash
23426 renewcommand{
23427 \backslash
23428 marginpar}[1]{
23429 \backslash
23430 myMarginpar{%
23431 \newline
23432
23433 \begin_inset ERT
23434 status collapsed
23435
23436 \begin_layout Standard
23437
23438
23439 \backslash
23440 hphantom{ }
23441 \end_layout
23442
23443 \end_inset
23444
23445
23446 \backslash
23447 hspace{0pt}
23448 \backslash
23449 textsf{
23450 \backslash
23451 textbf{
23452 \backslash
23453 underbar{Attention!}}}%
23454 \newline
23455
23456 \begin_inset ERT
23457 status collapsed
23458
23459 \begin_layout Standard
23460
23461
23462 \backslash
23463 hphantom{ }
23464 \end_layout
23465
23466 \end_inset
23467
23468
23469 \backslash
23470 vspace{1.5mm}
23471 \backslash
23472
23473 \backslash
23474 #1}}
23475 \end_layout
23476
23477 \begin_layout Standard
23478
23479 \family roman
23480 \series medium
23481 \begin_inset ERT
23482 status collapsed
23483
23484 \begin_layout Standard
23485
23486
23487 \backslash
23488 let
23489 \backslash
23490 myMarginpar
23491 \backslash
23492 marginpar
23493 \end_layout
23494
23495 \begin_layout Standard
23496
23497
23498 \backslash
23499 renewcommand{
23500 \backslash
23501 marginpar}[1]{
23502 \backslash
23503 myMarginpar{%
23504 \end_layout
23505
23506 \begin_layout Standard
23507
23508    
23509 \backslash
23510 textsf{
23511 \backslash
23512 textbf{
23513 \backslash
23514 underbar{Attention!}}}%
23515 \end_layout
23516
23517 \begin_layout Standard
23518
23519    
23520 \backslash
23521 vspace{1.5mm}
23522 \backslash
23523
23524 \backslash
23525 #1}}
23526 \end_layout
23527
23528 \end_inset
23529
23530
23531 \begin_inset Marginal
23532 status open
23533
23534 \begin_layout Standard
23535 This is a margin note with a defined heading.
23536 \end_layout
23537
23538 \end_inset
23539
23540
23541 \family default
23542 \series default
23543
23544 \begin_inset ERT
23545 status collapsed
23546
23547 \begin_layout Standard
23548
23549 [-1.5cm]
23550 \end_layout
23551
23552 \end_inset
23553
23554
23555 \family roman
23556 \series medium
23557
23558 \begin_inset ERT
23559 status collapsed
23560
23561 \begin_layout Standard
23562
23563
23564 \backslash
23565 renewcommand{
23566 \backslash
23567 marginpar}[1]{
23568 \backslash
23569 myMarginpar{#1}}
23570 \end_layout
23571
23572 \end_inset
23573
23574
23575 \family default
23576 \series default
23577
23578 \begin_inset Note Note
23579 status collapsed
23580
23581 \begin_layout Standard
23582 The margin note format is changed only for this example.
23583 \end_layout
23584
23585 \end_inset
23586
23587
23588 \end_layout
23589
23590 \begin_layout Standard
23591 \begin_inset ERT
23592 status collapsed
23593
23594 \begin_layout Standard
23595
23596
23597 \backslash
23598 else
23599 \end_layout
23600
23601 \end_inset
23602
23603
23604 \begin_inset Note Note
23605 status open
23606
23607 \begin_layout Standard
23608 The following will be displayed when the LaTeX-package 
23609 \series bold
23610 marginnote
23611 \series default
23612  is not installed:
23613 \end_layout
23614
23615 \end_inset
23616
23617
23618 \end_layout
23619
23620 \begin_layout Standard
23621 You need to install the LaTeX-package 
23622 \series bold
23623 marginnote
23624 \series default
23625  to see the following part of this section in the output.
23626 \end_layout
23627
23628 \begin_layout Standard
23629 \begin_inset ERT
23630 status collapsed
23631
23632 \begin_layout Standard
23633
23634
23635 \backslash
23636 fi
23637 \end_layout
23638
23639 \end_inset
23640
23641
23642 \end_layout
23643
23644 \begin_layout Chapter
23645 Program Listings
23646 \end_layout
23647
23648 \begin_layout Standard
23649 The 
23650 \family typewriter
23651 listings 
23652 \family default
23653 latex package provides a powerful and flexible way to insert program source
23654  code into your document.
23655 \end_layout
23656
23657 \begin_layout Standard
23658 There are three types of listings, in listings package terms:
23659 \end_layout
23660
23661 \begin_layout Description
23662 lstinline short piece of program code like 
23663 \begin_inset listings
23664 inline false
23665 status open
23666
23667 \begin_layout Standard
23668
23669 \color foreground
23670 int a=5;
23671 \end_layout
23672
23673 \end_inset
23674
23675  .
23676  To insert this listing, choose 
23677 \family typewriter
23678 Insert->Program Listing
23679 \family default
23680  and choose 
23681 \family typewriter
23682 inline listing 
23683 \family default
23684 from the 
23685 \family typewriter
23686 placement 
23687 \family default
23688 section.
23689 \end_layout
23690
23691 \begin_layout Description
23692 lstlisting long program listing in its own paragraphs and decorations, For
23693  example, 
23694 \begin_inset listings
23695 inline false
23696 status open
23697
23698 \begin_layout Standard
23699
23700 \color foreground
23701 def func(param):
23702 \end_layout
23703
23704 \begin_layout Standard
23705     'this is a python function'
23706 \end_layout
23707
23708 \begin_layout Standard
23709     pass
23710 \end_layout
23711
23712 \end_inset
23713
23714 To insert this listing, choose 
23715 \family typewriter
23716 Insert->Program Listing
23717 \family default
23718 .
23719 \end_layout
23720
23721 \begin_layout Description
23722 lstinputlisting read program listing from a file.
23723  Parameters can be given to list only given lines.
23724  For example, the following listings list line 10 - 15 of this lyx file.
23725 \end_layout
23726
23727 \begin_layout Standard
23728 \begin_inset Include \lstinputlisting{EmbeddedObjects.lyx}[firstline=10,lastline=15,language=TeX,breaklines=true,caption={Line 10 - 15 of this lyx file}]
23729 preview false
23730
23731 \end_inset
23732
23733
23734 \end_layout
23735
23736 \begin_layout Standard
23737 To insert this listing, choose 
23738 \family typewriter
23739 Insert-> File->Child Document
23740 \family default
23741 , and choose 
23742 \family typewriter
23743 listings 
23744 \family default
23745 type.
23746 \end_layout
23747
23748 \begin_layout Standard
23749 A lot of listings parameters can be set through the listings dialog, child
23750  document dialog.
23751  Global listings settings can be set through 
23752 \family typewriter
23753 Document -> Settings -> Text Layout.
23754 \end_layout
23755
23756 \begin_layout Chapter
23757 Boxes
23758 \end_layout
23759
23760 \begin_layout Section
23761 Introduction
23762 \begin_inset LatexCommand index
23763 name "Boxes ! Introduction"
23764
23765 \end_inset
23766
23767
23768 \end_layout
23769
23770 \begin_layout Standard
23771 Boxes are used to format a block of text.
23772  Boxes can be used to write documents with multiple languages, see section\InsetSpace ~
23773
23774 \begin_inset LatexCommand ref
23775 reference "sec:Minipages"
23776
23777 \end_inset
23778
23779 , to frame texts, see section\InsetSpace ~
23780
23781 \begin_inset LatexCommand ref
23782 reference "sec:Framed-Boxes"
23783
23784 \end_inset
23785
23786 , to prevent words to be hyphenated, see section\InsetSpace ~
23787
23788 \begin_inset LatexCommand ref
23789 reference "sec:Prevent-Hyphenation"
23790
23791 \end_inset
23792
23793 , to align text, see section\InsetSpace ~
23794
23795 \begin_inset LatexCommand ref
23796 reference "sub:Vertical-Alignment"
23797
23798 \end_inset
23799
23800 , or to set the background color of texts, see section\InsetSpace ~
23801
23802 \begin_inset LatexCommand ref
23803 reference "sec:Colored-Boxes"
23804
23805 \end_inset
23806
23807 .
23808 \end_layout
23809
23810 \begin_layout Standard
23811 Boxes can be inserted with the menu 
23812 \family sans
23813 Insert\SpecialChar \menuseparator
23814 Box
23815 \family default
23816 .
23817  A grey box with the label 
23818 \family sans
23819 Box (Minipage)
23820 \family default
23821
23822 \begin_inset Graphics
23823         filename clipart/BoxInsetDefaultQt4.png
23824         scale 85
23825
23826 \end_inset
23827
23828 , will be inserted.
23829  The box type can be specified by right-clicking on the box.
23830  The appearing box dialog offers the 
23831 \family sans
23832 Inner\InsetSpace ~
23833 Box
23834 \family default
23835  types 
23836 \family sans
23837 Parbox
23838 \family default
23839  and 
23840 \family sans
23841 Minipage
23842 \family default
23843 .
23844  The type 
23845 \family sans
23846 Minipage
23847 \family default
23848  is the default for new boxes and is explained in section\InsetSpace ~
23849
23850 \begin_inset LatexCommand ref
23851 reference "sec:Minipages"
23852
23853 \end_inset
23854
23855 ; the type 
23856 \family sans
23857 Parbox
23858 \family default
23859  is described in section\InsetSpace ~
23860
23861 \begin_inset LatexCommand ref
23862 reference "sec:Parboxes"
23863
23864 \end_inset
23865
23866 .
23867 \end_layout
23868
23869 \begin_layout Standard
23870 Boxes aren't numbered and can therefore not be referenced like floats or
23871  footnotes.
23872 \end_layout
23873
23874 \begin_layout Standard
23875 \begin_inset Note Greyedout
23876 status open
23877
23878 \begin_layout Standard
23879
23880 \series bold
23881 Note:
23882 \series default
23883  Due to a bug in LyX you have to insert a protected space behind a box when
23884  you want to separate in a line the box from the following text with a space.
23885 \end_layout
23886
23887 \end_inset
23888
23889
23890 \end_layout
23891
23892 \begin_layout Standard
23893 \begin_inset Note Greyedout
23894 status open
23895
23896 \begin_layout Standard
23897
23898 \series bold
23899 Note:
23900 \series default
23901  Boxes must not be the item in an 
23902 \family sans
23903 Itemize
23904 \family default
23905  or 
23906 \family sans
23907 Description
23908 \family default
23909  environment.
23910 \end_layout
23911
23912 \end_inset
23913
23914
23915 \end_layout
23916
23917 \begin_layout Standard
23918 \begin_inset Note Greyedout
23919 status open
23920
23921 \begin_layout Standard
23922
23923 \series bold
23924 Note:
23925 \series default
23926  For an unknown reason you can only set the 
23927 \family sans
23928 Inner\InsetSpace ~
23929 Box
23930 \family default
23931  type to 
23932 \family sans
23933 None
23934 \family default
23935  when you use a framed box.
23936  Boxes without an 
23937 \family sans
23938 Inner\InsetSpace ~
23939 Box
23940 \family default
23941  type and without frames are explained in section\InsetSpace ~
23942
23943 \begin_inset LatexCommand ref
23944 reference "sec:Prevent-Hyphenation"
23945
23946 \end_inset
23947
23948 .
23949 \end_layout
23950
23951 \end_inset
23952
23953
23954 \end_layout
23955
23956 \begin_layout Section
23957 Box Dialog
23958 \begin_inset LatexCommand label
23959 name "sec:Box-Dialog"
23960
23961 \end_inset
23962
23963
23964 \begin_inset LatexCommand index
23965 name "Boxes ! Box Dialog"
23966
23967 \end_inset
23968
23969
23970 \begin_inset LatexCommand index
23971 name "Boxes ! Alignment"
23972
23973 \end_inset
23974
23975
23976 \end_layout
23977
23978 \begin_layout Standard
23979 In the box dialog you can adjust the box geometry in the fields 
23980 \family sans
23981 Width
23982 \family default
23983  and 
23984 \family sans
23985 Height
23986 \family default
23987 .
23988  The available units for the geometry are explained in Table\InsetSpace ~
23989
23990 \begin_inset LatexCommand ref
23991 reference "tab:Units"
23992
23993 \end_inset
23994
23995 .
23996  The field 
23997 \family sans
23998 Heigth
23999 \family default
24000  offers the following additional sizes:
24001 \end_layout
24002
24003 \begin_layout Description
24004 Depth This is the plain text 
24005 \begin_inset Quotes eld
24006 \end_inset
24007
24008 height
24009 \begin_inset Quotes erd
24010 \end_inset
24011
24012 .
24013  It ignores the total depth when there are multiple text lines in the box:
24014 \newline
24015
24016 \newline
24017
24018 \newline
24019
24020 \begin_inset Box Boxed
24021 position "c"
24022 hor_pos "c"
24023 has_inner_box 1
24024 inner_pos "c"
24025 use_parbox 0
24026 width "12col%"
24027 special "none"
24028 height "1in"
24029 height_special "depth"
24030 status collapsed
24031
24032 \begin_layout Standard
24033 \align center
24034 Box height set to 1\InsetSpace \thinspace{}
24035 Depth
24036 \end_layout
24037
24038 \end_inset
24039
24040
24041 \newline
24042
24043 \newline
24044
24045 \end_layout
24046
24047 \begin_layout Description
24048 Height This is the heigth of the text that is inside the box.
24049  A value of e.\InsetSpace \thinspace{}
24050 g.\InsetSpace ~
24051 2 for this size will set the box heigth to 2 times the text
24052  height: 
24053 \begin_inset Box Boxed
24054 position "c"
24055 hor_pos "c"
24056 has_inner_box 1
24057 inner_pos "c"
24058 use_parbox 0
24059 width "20col%"
24060 special "none"
24061 height "2in"
24062 height_special "height"
24063 status collapsed
24064
24065 \begin_layout Standard
24066 \align center
24067 Box height set to 2\InsetSpace \thinspace{}
24068 Height
24069 \end_layout
24070
24071 \end_inset
24072
24073
24074 \end_layout
24075
24076 \begin_layout Description
24077 Total\InsetSpace ~
24078 Height This is the Height\InsetSpace \thinspace{}
24079 +\InsetSpace \thinspace{}
24080 Depth: 
24081 \begin_inset Box Boxed
24082 position "c"
24083 hor_pos "c"
24084 has_inner_box 1
24085 inner_pos "c"
24086 use_parbox 0
24087 width "20col%"
24088 special "none"
24089 height "1in"
24090 height_special "totalheight"
24091 status collapsed
24092
24093 \begin_layout Standard
24094 \align center
24095 Box height set to 1\InsetSpace \thinspace{}
24096 Total\InsetSpace ~
24097 Height
24098 \end_layout
24099
24100 \end_inset
24101
24102
24103 \end_layout
24104
24105 \begin_layout Description
24106 Width This set the width of the box as heigth: 
24107 \begin_inset Box Boxed
24108 position "c"
24109 hor_pos "c"
24110 has_inner_box 1
24111 inner_pos "c"
24112 use_parbox 0
24113 width "12col%"
24114 special "none"
24115 height "1in"
24116 height_special "width"
24117 status collapsed
24118
24119 \begin_layout Standard
24120 \align center
24121 Box height set to 1\InsetSpace \thinspace{}
24122 Width
24123 \end_layout
24124
24125 \end_inset
24126
24127
24128 \end_layout
24129
24130 \begin_layout Standard
24131 \begin_inset VSpace bigskip
24132 \end_inset
24133
24134 When you have chosen an 
24135 \family sans
24136 Inner\InsetSpace ~
24137 Box
24138 \family default
24139 , the vertical box alignment can be:
24140 \end_layout
24141
24142 \begin_layout Description
24143 Top This is an example text line.
24144  
24145 \begin_inset Box Boxed
24146 position "t"
24147 hor_pos "c"
24148 has_inner_box 1
24149 inner_pos "c"
24150 use_parbox 0
24151 width "12col%"
24152 special "none"
24153 height "1in"
24154 height_special "totalheight"
24155 status collapsed
24156
24157 \begin_layout Standard
24158 \align center
24159 This box is top-aligned.
24160 \end_layout
24161
24162 \end_inset
24163
24164 \InsetSpace ~
24165 This is an example text line.
24166 \end_layout
24167
24168 \begin_layout Description
24169 Middle This is an example text line.
24170  
24171 \begin_inset Box Boxed
24172 position "c"
24173 hor_pos "c"
24174 has_inner_box 1
24175 inner_pos "c"
24176 use_parbox 0
24177 width "12col%"
24178 special "none"
24179 height "1in"
24180 height_special "totalheight"
24181 status collapsed
24182
24183 \begin_layout Standard
24184 \align center
24185 This box is middle-aligned.
24186 \end_layout
24187
24188 \end_inset
24189
24190 \InsetSpace ~
24191 This is an example text line.
24192 \end_layout
24193
24194 \begin_layout Description
24195 Bottom This is an example text line.
24196  
24197 \begin_inset Box Boxed
24198 position "b"
24199 hor_pos "c"
24200 has_inner_box 1
24201 inner_pos "c"
24202 use_parbox 0
24203 width "12col%"
24204 special "none"
24205 height "1in"
24206 height_special "totalheight"
24207 status collapsed
24208
24209 \begin_layout Standard
24210 \align center
24211 This box is bottom-aligned.
24212 \end_layout
24213
24214 \end_inset
24215
24216 \InsetSpace ~
24217 This is an example text line.
24218 \end_layout
24219
24220 \begin_layout Standard
24221 The horizontal box alignment can be set via LyX's paragraph dialog when
24222  you set the box into its own paragraph.
24223 \end_layout
24224
24225 \begin_layout Standard
24226 \begin_inset VSpace bigskip
24227 \end_inset
24228
24229 When you have chosen an 
24230 \family sans
24231 Inner\InsetSpace ~
24232 Box
24233 \family default
24234 , the box content can be vertical aligned to:
24235 \end_layout
24236
24237 \begin_layout Description
24238 top This is an example text line.
24239  
24240 \begin_inset Box Boxed
24241 position "c"
24242 hor_pos "c"
24243 has_inner_box 1
24244 inner_pos "t"
24245 use_parbox 0
24246 width "12col%"
24247 special "none"
24248 height "1.5in"
24249 height_special "totalheight"
24250 status collapsed
24251
24252 \begin_layout Standard
24253 \align center
24254 This box text is top-aligned.
24255 \end_layout
24256
24257 \end_inset
24258
24259 \InsetSpace ~
24260 This is an example text line.
24261 \end_layout
24262
24263 \begin_layout Description
24264 middle This is an example text line.
24265  
24266 \begin_inset Box Boxed
24267 position "c"
24268 hor_pos "c"
24269 has_inner_box 1
24270 inner_pos "c"
24271 use_parbox 0
24272 width "12col%"
24273 special "none"
24274 height "1.5in"
24275 height_special "totalheight"
24276 status collapsed
24277
24278 \begin_layout Standard
24279 \align center
24280 This box text is middle-aligned.
24281 \end_layout
24282
24283 \end_inset
24284
24285 \InsetSpace ~
24286 This is an example text line.
24287 \end_layout
24288
24289 \begin_layout Description
24290 bottom This is an example text line.
24291  
24292 \begin_inset Box Boxed
24293 position "c"
24294 hor_pos "c"
24295 has_inner_box 1
24296 inner_pos "b"
24297 use_parbox 0
24298 width "12col%"
24299 special "none"
24300 height "1.5in"
24301 height_special "totalheight"
24302 status collapsed
24303
24304 \begin_layout Standard
24305 \align center
24306 This box text is bottom-aligned.
24307 \end_layout
24308
24309 \end_inset
24310
24311 \InsetSpace ~
24312 This is an example text line.
24313 \end_layout
24314
24315 \begin_layout Description
24316 stretch This is an example text line.
24317  
24318 \begin_inset Box Boxed
24319 position "c"
24320 hor_pos "c"
24321 has_inner_box 1
24322 inner_pos "s"
24323 use_parbox 0
24324 width "12col%"
24325 special "none"
24326 height "1.5in"
24327 height_special "totalheight"
24328 status collapsed
24329
24330 \begin_layout Standard
24331 \align center
24332 This box
24333 \end_layout
24334
24335 \begin_layout Standard
24336 \align center
24337 text is
24338 \end_layout
24339
24340 \begin_layout Standard
24341 \align center
24342 stretched.
24343 \end_layout
24344
24345 \end_inset
24346
24347 \InsetSpace ~
24348 This is an example text line.
24349 \end_layout
24350
24351 \begin_layout Standard
24352 To stretch the box content, it must consist of more than one paragraph.
24353  In the example above every text line is in an own paragraph.
24354 \end_layout
24355
24356 \begin_layout Standard
24357 \begin_inset VSpace bigskip
24358 \end_inset
24359
24360 To align the box content horizontally you can use LyX's paragraph dialog
24361  when you have chosen an 
24362 \family sans
24363 Inner\InsetSpace ~
24364 Box
24365 \family default
24366 .
24367 \end_layout
24368
24369 \begin_layout Standard
24370 \align center
24371 \begin_inset Box Boxed
24372 position "c"
24373 hor_pos "c"
24374 has_inner_box 1
24375 inner_pos "s"
24376 use_parbox 0
24377 width "15col%"
24378 special "none"
24379 height "1.25in"
24380 height_special "totalheight"
24381 status collapsed
24382
24383 \begin_layout Standard
24384 \align left
24385 This box
24386 \end_layout
24387
24388 \begin_layout Standard
24389 \align center
24390 text is
24391 \end_layout
24392
24393 \begin_layout Standard
24394 \align right
24395 stretched.
24396 \end_layout
24397
24398 \end_inset
24399
24400
24401 \end_layout
24402
24403 \begin_layout Standard
24404 If you haven't set an 
24405 \family sans
24406 Inner\InsetSpace ~
24407 Box
24408 \family default
24409 , you can align the box content horizontally in the box dialog.
24410 \end_layout
24411
24412 \begin_layout Standard
24413 \align center
24414 \begin_inset Box Boxed
24415 position "c"
24416 hor_pos "s"
24417 has_inner_box 0
24418 inner_pos "s"
24419 use_parbox 0
24420 width "90col%"
24421 special "none"
24422 height "1.25in"
24423 height_special "totalheight"
24424 status collapsed
24425
24426 \begin_layout Standard
24427 \align left
24428 This box text is horizontally stretched.
24429 \end_layout
24430
24431 \end_inset
24432
24433
24434 \end_layout
24435
24436 \begin_layout Section
24437 Framed Boxes
24438 \begin_inset LatexCommand label
24439 name "sec:Framed-Boxes"
24440
24441 \end_inset
24442
24443
24444 \begin_inset LatexCommand index
24445 name "Boxes ! Frames"
24446
24447 \end_inset
24448
24449
24450 \end_layout
24451
24452 \begin_layout Standard
24453 The frame style of the box can be specified in the box-dialog in the drop-down
24454  list 
24455 \family sans
24456 Type
24457 \family default
24458 .
24459  The following frame types are possible:
24460 \end_layout
24461
24462 \begin_layout Description
24463 Rectangular\InsetSpace ~
24464 box This draws a rectangle frame around the box.
24465  The frame line thickness has the size of 
24466 \series bold
24467
24468 \backslash
24469 fboxrule
24470 \series default
24471 .
24472  
24473 \begin_inset Box Boxed
24474 position "c"
24475 hor_pos "c"
24476 has_inner_box 1
24477 inner_pos "c"
24478 use_parbox 0
24479 width "20col%"
24480 special "none"
24481 height "1in"
24482 height_special "totalheight"
24483 status collapsed
24484
24485 \begin_layout Standard
24486 \align center
24487 Rectangular box
24488 \end_layout
24489
24490 \end_inset
24491
24492
24493 \end_layout
24494
24495 \begin_layout Description
24496 Oval\InsetSpace ~
24497 box,\InsetSpace ~
24498 thin This draws an oval frame around the box.
24499  The frame line thickness has the size 0.4\InsetSpace \thinspace{}
24500 pt.
24501  
24502 \begin_inset Box ovalbox
24503 position "c"
24504 hor_pos "c"
24505 has_inner_box 1
24506 inner_pos "c"
24507 use_parbox 0
24508 width "20col%"
24509 special "none"
24510 height "1in"
24511 height_special "totalheight"
24512 status collapsed
24513
24514 \begin_layout Standard
24515 \align center
24516 Oval box, thin
24517 \end_layout
24518
24519 \end_inset
24520
24521
24522 \end_layout
24523
24524 \begin_layout Description
24525 Oval\InsetSpace ~
24526 box,\InsetSpace ~
24527 thick This draws an oval frame around the box.
24528  The frame line thickness has the size 0.8\InsetSpace \thinspace{}
24529 pt.
24530  
24531 \begin_inset Box Ovalbox
24532 position "c"
24533 hor_pos "c"
24534 has_inner_box 1
24535 inner_pos "c"
24536 use_parbox 0
24537 width "20col%"
24538 special "none"
24539 height "1in"
24540 height_special "totalheight"
24541 status collapsed
24542
24543 \begin_layout Standard
24544 \align center
24545 Oval box, thick
24546 \end_layout
24547
24548 \end_inset
24549
24550
24551 \end_layout
24552
24553 \begin_layout Description
24554 Shadow\InsetSpace ~
24555 box This draws a rectangle frame with a shadow around the box.
24556  The frame line thickness has the size of 
24557 \series bold
24558
24559 \backslash
24560 fboxrule
24561 \series default
24562 , the shadow has a width of 4\InsetSpace \thinspace{}
24563 pt.
24564  
24565 \begin_inset Box Shadowbox
24566 position "c"
24567 hor_pos "c"
24568 has_inner_box 1
24569 inner_pos "c"
24570 use_parbox 0
24571 width "20col%"
24572 special "none"
24573 height "1in"
24574 height_special "totalheight"
24575 status collapsed
24576
24577 \begin_layout Standard
24578 \align center
24579 Shadow box
24580 \end_layout
24581
24582 \end_inset
24583
24584
24585 \end_layout
24586
24587 \begin_layout Description
24588 Double\InsetSpace ~
24589 box This draws a double-line rectangle frame around the box.
24590  The line thickness of the inner frame is 0.75\InsetSpace \thinspace{}
24591
24592 \series bold
24593
24594 \backslash
24595 fboxrule
24596 \series default
24597 , the thickness of the outer frame is 1.5\InsetSpace \thinspace{}
24598
24599 \series bold
24600
24601 \backslash
24602 fboxrule
24603 \series default
24604 .
24605  The distance between the lines is 1.5\InsetSpace \thinspace{}
24606
24607 \series bold
24608
24609 \backslash
24610 fboxrule
24611 \series default
24612 \InsetSpace \thinspace{}
24613 +\InsetSpace \thinspace{}
24614 0.5\InsetSpace \thinspace{}
24615 pt.
24616  
24617 \begin_inset Box Doublebox
24618 position "c"
24619 hor_pos "c"
24620 has_inner_box 1
24621 inner_pos "c"
24622 use_parbox 0
24623 width "20col%"
24624 special "none"
24625 height "1in"
24626 height_special "totalheight"
24627 status collapsed
24628
24629 \begin_layout Standard
24630 \align center
24631 Double box
24632 \end_layout
24633
24634 \end_inset
24635
24636
24637 \end_layout
24638
24639 \begin_layout Standard
24640 \begin_inset VSpace bigskip
24641 \end_inset
24642
24643 LyX's box label will change to the used frame style when you set a frame.
24644  To be able to use the different frame styles, the LaTeX-package 
24645 \series bold
24646 fancybox
24647 \series default
24648
24649 \begin_inset LatexCommand index
24650 name "LaTeX-packages ! fancybox"
24651
24652 \end_inset
24653
24654  must be installed.
24655 \end_layout
24656
24657 \begin_layout Standard
24658 \begin_inset VSpace bigskip
24659 \end_inset
24660
24661 The default value for the size 
24662 \series bold
24663
24664 \backslash
24665 fboxrule
24666 \series default
24667  is 0.4\InsetSpace \thinspace{}
24668 pt.
24669  It can be changed with the following command in ERT to e.\InsetSpace \thinspace{}
24670 g.\InsetSpace ~
24671 2\InsetSpace \thinspace{}
24672 pt:
24673 \end_layout
24674
24675 \begin_layout Standard
24676
24677 \series bold
24678
24679 \backslash
24680 setlength{
24681 \backslash
24682 fboxrule}{2pt}
24683 \end_layout
24684
24685 \begin_layout Standard
24686 \begin_inset ERT
24687 status collapsed
24688
24689 \begin_layout Standard
24690
24691
24692 \backslash
24693 setlength{
24694 \backslash
24695 fboxrule}{2pt}
24696 \end_layout
24697
24698 \end_inset
24699
24700
24701 \begin_inset Box Boxed
24702 position "c"
24703 hor_pos "c"
24704 has_inner_box 1
24705 inner_pos "c"
24706 use_parbox 0
24707 width "25col%"
24708 special "none"
24709 height "1in"
24710 height_special "totalheight"
24711 status collapsed
24712
24713 \begin_layout Standard
24714 \align center
24715 Rectangular box with 
24716 \series bold
24717
24718 \backslash
24719 fboxrule
24720 \series default
24721 \InsetSpace \thinspace{}
24722 =\InsetSpace \thinspace{}
24723 2\InsetSpace \thinspace{}
24724 pt
24725 \end_layout
24726
24727 \end_inset
24728
24729
24730 \begin_inset ERT
24731 status collapsed
24732
24733 \begin_layout Standard
24734
24735
24736 \backslash
24737 setlength{
24738 \backslash
24739 fboxrule}{0.4pt}
24740 \end_layout
24741
24742 \end_inset
24743
24744
24745 \end_layout
24746
24747 \begin_layout Standard
24748 \begin_inset VSpace bigskip
24749 \end_inset
24750
24751 The space between the frame and the box content is for all frame styles
24752  by default 3\InsetSpace \thinspace{}
24753 pt.
24754  You can change it by setting the length 
24755 \series bold
24756
24757 \backslash
24758 fboxsep
24759 \series default
24760  to another value.
24761  For example the command
24762 \end_layout
24763
24764 \begin_layout Standard
24765
24766 \series bold
24767
24768 \backslash
24769 setlength{
24770 \backslash
24771 fboxsep}{10pt}
24772 \end_layout
24773
24774 \begin_layout Standard
24775 sets the value to 10\InsetSpace \thinspace{}
24776 pt, like for the following box:
24777 \end_layout
24778
24779 \begin_layout Standard
24780 \begin_inset ERT
24781 status collapsed
24782
24783 \begin_layout Standard
24784
24785
24786 \backslash
24787 setlength{
24788 \backslash
24789 fboxsep}{10pt}
24790 \end_layout
24791
24792 \end_inset
24793
24794
24795 \begin_inset Box Boxed
24796 position "c"
24797 hor_pos "c"
24798 has_inner_box 1
24799 inner_pos "c"
24800 use_parbox 0
24801 width "25col%"
24802 special "none"
24803 height "1in"
24804 height_special "totalheight"
24805 status collapsed
24806
24807 \begin_layout Standard
24808 \align center
24809 Rectangular box with 
24810 \series bold
24811
24812 \backslash
24813 fboxsep
24814 \series default
24815 \InsetSpace \thinspace{}
24816 =\InsetSpace \thinspace{}
24817 10\InsetSpace \thinspace{}
24818 pt
24819 \end_layout
24820
24821 \end_inset
24822
24823
24824 \begin_inset ERT
24825 status collapsed
24826
24827 \begin_layout Standard
24828
24829
24830 \backslash
24831 setlength{
24832 \backslash
24833 fboxsep}{3pt}
24834 \end_layout
24835
24836 \end_inset
24837
24838
24839 \end_layout
24840
24841 \begin_layout Standard
24842 \begin_inset VSpace bigskip
24843 \end_inset
24844
24845 The diameter of the round corners of the oval boxes can be set with the
24846  command 
24847 \series bold
24848
24849 \backslash
24850 cornersize
24851 \series default
24852 .
24853  The command
24854 \end_layout
24855
24856 \begin_layout Standard
24857
24858 \series bold
24859
24860 \backslash
24861 cornersize*{1cm}
24862 \end_layout
24863
24864 \begin_layout Standard
24865 sets the diameter to 1\InsetSpace \thinspace{}
24866 cm.
24867  The command
24868 \end_layout
24869
24870 \begin_layout Standard
24871
24872 \series bold
24873
24874 \backslash
24875 cornersize{num}
24876 \end_layout
24877
24878 \begin_layout Standard
24879 sets the diameter to 
24880 \family sans
24881 num\InsetSpace \thinspace{}
24882 ×\InsetSpace \thinspace{}
24883 minimum(width and heigth of box)
24884 \family default
24885 .
24886  The default is 
24887 \series bold
24888
24889 \backslash
24890 cornersize{0.5}
24891 \series default
24892 .
24893 \end_layout
24894
24895 \begin_layout Standard
24896 \begin_inset ERT
24897 status collapsed
24898
24899 \begin_layout Standard
24900
24901
24902 \backslash
24903 cornersize*{1.5cm}
24904 \end_layout
24905
24906 \end_inset
24907
24908
24909 \begin_inset Box Ovalbox
24910 position "c"
24911 hor_pos "c"
24912 has_inner_box 1
24913 inner_pos "c"
24914 use_parbox 0
24915 width "25col%"
24916 special "none"
24917 height "1in"
24918 height_special "totalheight"
24919 status collapsed
24920
24921 \begin_layout Standard
24922 \align center
24923 Oval box with 
24924 \series bold
24925
24926 \backslash
24927 cornersize
24928 \series default
24929 \InsetSpace \thinspace{}
24930 =\InsetSpace \thinspace{}
24931 1.5\InsetSpace \thinspace{}
24932 cm
24933 \end_layout
24934
24935 \end_inset
24936
24937
24938 \begin_inset ERT
24939 status collapsed
24940
24941 \begin_layout Standard
24942
24943
24944 \backslash
24945 cornersize{0.5}
24946 \end_layout
24947
24948 \end_inset
24949
24950
24951 \end_layout
24952
24953 \begin_layout Standard
24954 \begin_inset VSpace bigskip
24955 \end_inset
24956
24957 The size of the shadow can be adjusted by changing the length 
24958 \series bold
24959
24960 \backslash
24961 shadowsize
24962 \series default
24963 .
24964  It it set to 2\InsetSpace \thinspace{}
24965 pt for the following box by this command:
24966 \end_layout
24967
24968 \begin_layout Standard
24969
24970 \series bold
24971
24972 \backslash
24973 setlength{
24974 \backslash
24975 shadowsize}{2pt}
24976 \end_layout
24977
24978 \begin_layout Standard
24979 \begin_inset ERT
24980 status collapsed
24981
24982 \begin_layout Standard
24983
24984
24985 \backslash
24986 setlength{
24987 \backslash
24988 shadowsize}{2pt}
24989 \end_layout
24990
24991 \end_inset
24992
24993
24994 \begin_inset Box Shadowbox
24995 position "c"
24996 hor_pos "c"
24997 has_inner_box 1
24998 inner_pos "c"
24999 use_parbox 0
25000 width "25col%"
25001 special "none"
25002 height "1in"
25003 height_special "totalheight"
25004 status collapsed
25005
25006 \begin_layout Standard
25007 \align center
25008 Shadow box with 
25009 \series bold
25010
25011 \backslash
25012 shadowsize
25013 \series default
25014 \InsetSpace \thinspace{}
25015 =\InsetSpace \thinspace{}
25016 2\InsetSpace \thinspace{}
25017 pt
25018 \end_layout
25019
25020 \end_inset
25021
25022
25023 \begin_inset ERT
25024 status collapsed
25025
25026 \begin_layout Standard
25027
25028
25029 \backslash
25030 setlength{
25031 \backslash
25032 shadowsize}{4pt}
25033 \end_layout
25034
25035 \end_inset
25036
25037
25038 \end_layout
25039
25040 \begin_layout Standard
25041 \begin_inset VSpace bigskip
25042 \end_inset
25043
25044 Changed lengths and widths are valid for all boxes following the commands
25045  that change them.
25046 \end_layout
25047
25048 \begin_layout Section
25049 Minipages
25050 \begin_inset LatexCommand label
25051 name "sec:Minipages"
25052
25053 \end_inset
25054
25055
25056 \begin_inset LatexCommand index
25057 name "Boxes ! Minipages"
25058
25059 \end_inset
25060
25061
25062 \end_layout
25063
25064 \begin_layout Standard
25065 Minipages are treated by LaTeX as pages within pages and can therefore for
25066  example have their own footnotes.
25067 \end_layout
25068
25069 \begin_layout Standard
25070 Minipages are useful when you write documents with different languages.
25071 \end_layout
25072
25073 \begin_layout Standard
25074 Below are two example minipages side by side.
25075  Their width is set to 45\InsetSpace \thinspace{}
25076 col% and they are separated by a horizontal fill,
25077  that was inserted via the menu 
25078 \family sans
25079 Insert\SpecialChar \menuseparator
25080 Special\InsetSpace ~
25081 Formatting\SpecialChar \menuseparator
25082 Horizontal\InsetSpace ~
25083 Fill
25084 \family default
25085 .
25086 \end_layout
25087
25088 \begin_layout Standard
25089 \begin_inset Box Frameless
25090 position "t"
25091 hor_pos "c"
25092 has_inner_box 1
25093 inner_pos "c"
25094 use_parbox 0
25095 width "45col%"
25096 special "none"
25097 height "1in"
25098 height_special "totalheight"
25099 status open
25100
25101 \begin_layout Standard
25102
25103 \lang german
25104 Dies ist ein deutscher Text.
25105  Dies ist ein deutscher Text.
25106  Dies ist ein deutscher Text.
25107  Dies ist ein deutscher Text.
25108  Dies ist ein deutscher Text.
25109  Dies ist ein deutscher Text.
25110  Dies ist ein deutscher Text.
25111  Dies ist ein deutscher Text.
25112  Dies ist ein deutscher Text.
25113  Dies ist ein deutscher Text.
25114  Dies ist ein deutscher Text.
25115  Dies ist ein deutscher Text.
25116  Dies ist ein deutscher Text
25117 \begin_inset Foot
25118 status collapsed
25119
25120 \begin_layout Standard
25121
25122 \lang german
25123 Dies ist eine deutsche Fußnote.
25124 \end_layout
25125
25126 \end_inset
25127
25128 .
25129  Dies ist ein deutscher Text.
25130  Dies ist ein deutscher Text.
25131 \end_layout
25132
25133 \end_inset
25134
25135
25136 \hfill
25137
25138 \begin_inset Box Frameless
25139 position "t"
25140 hor_pos "c"
25141 has_inner_box 1
25142 inner_pos "c"
25143 use_parbox 0
25144 width "45col%"
25145 special "none"
25146 height "1in"
25147 height_special "totalheight"
25148 status open
25149
25150 \begin_layout Standard
25151 This is an English Text.
25152  This is an English Text.
25153  This is an English Text.
25154  This is an English Text.
25155  This is an English Text.
25156  This is an English Text.
25157  This is an English Text.
25158  This is an English Text.
25159  This is an English Text.
25160  This is an English Text.
25161  This is an English Text.
25162  This is an English Text.
25163  This is an English Text.
25164  This is an English Text.
25165  This is an English Text.
25166  This is an English Text.
25167 \begin_inset Foot
25168 status collapsed
25169
25170 \begin_layout Standard
25171 This is an English footnote.
25172 \end_layout
25173
25174 \end_inset
25175
25176  This is an English Text.
25177  
25178 \end_layout
25179
25180 \end_inset
25181
25182
25183 \end_layout
25184
25185 \begin_layout Standard
25186 \begin_inset VSpace bigskip
25187 \end_inset
25188
25189 Another application for minipages are footnotes within tables.
25190  Due to a LaTeX restriction footnotes within tables doesn't appear at the
25191  bottom of the current page.
25192  But when you put the table with the footnote to a minipage, the footnote
25193  will appear at its bottom, numbered with Latin letters.
25194  The footnote number is reset to 1 in every minipage but not outside the
25195  minipages.
25196 \end_layout
25197
25198 \begin_layout Standard
25199 The footnote of this table doesn't appear: 
25200 \begin_inset Tabular
25201 <lyxtabular version="3" rows="3" columns="4">
25202 <features>
25203 <column alignment="center" valignment="top" leftline="true" width="0pt">
25204 <column alignment="center" valignment="top" leftline="true" width="0pt">
25205 <column alignment="center" valignment="top" leftline="true" width="0pt">
25206 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
25207 <row topline="true">
25208 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25209 \begin_inset Text
25210
25211 \begin_layout Standard
25212 1
25213 \end_layout
25214
25215 \end_inset
25216 </cell>
25217 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25218 \begin_inset Text
25219
25220 \begin_layout Standard
25221 2
25222 \end_layout
25223
25224 \end_inset
25225 </cell>
25226 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25227 \begin_inset Text
25228
25229 \begin_layout Standard
25230 3
25231 \begin_inset Foot
25232 status collapsed
25233
25234 \begin_layout Standard
25235 This is a footnote within a table.
25236 \end_layout
25237
25238 \end_inset
25239
25240
25241 \end_layout
25242
25243 \end_inset
25244 </cell>
25245 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25246 \begin_inset Text
25247
25248 \begin_layout Standard
25249 4
25250 \end_layout
25251
25252 \end_inset
25253 </cell>
25254 </row>
25255 <row topline="true">
25256 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25257 \begin_inset Text
25258
25259 \begin_layout Standard
25260 a
25261 \end_layout
25262
25263 \end_inset
25264 </cell>
25265 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25266 \begin_inset Text
25267
25268 \begin_layout Standard
25269 b
25270 \end_layout
25271
25272 \end_inset
25273 </cell>
25274 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25275 \begin_inset Text
25276
25277 \begin_layout Standard
25278 c
25279 \end_layout
25280
25281 \end_inset
25282 </cell>
25283 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25284 \begin_inset Text
25285
25286 \begin_layout Standard
25287 d
25288 \end_layout
25289
25290 \end_inset
25291 </cell>
25292 </row>
25293 <row topline="true" bottomline="true">
25294 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25295 \begin_inset Text
25296
25297 \begin_layout Standard
25298 e
25299 \end_layout
25300
25301 \end_inset
25302 </cell>
25303 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25304 \begin_inset Text
25305
25306 \begin_layout Standard
25307 f
25308 \end_layout
25309
25310 \end_inset
25311 </cell>
25312 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25313 \begin_inset Text
25314
25315 \begin_layout Standard
25316 g
25317 \end_layout
25318
25319 \end_inset
25320 </cell>
25321 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25322 \begin_inset Text
25323
25324 \begin_layout Standard
25325 h
25326 \end_layout
25327
25328 \end_inset
25329 </cell>
25330 </row>
25331 </lyxtabular>
25332
25333 \end_inset
25334
25335
25336 \end_layout
25337
25338 \begin_layout Standard
25339 \align center
25340 \begin_inset Box Frameless
25341 position "t"
25342 hor_pos "c"
25343 has_inner_box 1
25344 inner_pos "c"
25345 use_parbox 0
25346 width "30col%"
25347 special "none"
25348 height "1in"
25349 height_special "totalheight"
25350 status open
25351
25352 \begin_layout Standard
25353 \align center
25354 \begin_inset Tabular
25355 <lyxtabular version="3" rows="3" columns="4">
25356 <features>
25357 <column alignment="center" valignment="top" leftline="true" width="0pt">
25358 <column alignment="center" valignment="top" leftline="true" width="0pt">
25359 <column alignment="center" valignment="top" leftline="true" width="0pt">
25360 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
25361 <row topline="true">
25362 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25363 \begin_inset Text
25364
25365 \begin_layout Standard
25366 1
25367 \end_layout
25368
25369 \end_inset
25370 </cell>
25371 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25372 \begin_inset Text
25373
25374 \begin_layout Standard
25375 2
25376 \end_layout
25377
25378 \end_inset
25379 </cell>
25380 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25381 \begin_inset Text
25382
25383 \begin_layout Standard
25384 3
25385 \begin_inset Foot
25386 status collapsed
25387
25388 \begin_layout Standard
25389 This is a footnote within a table.
25390 \end_layout
25391
25392 \end_inset
25393
25394
25395 \end_layout
25396
25397 \end_inset
25398 </cell>
25399 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25400 \begin_inset Text
25401
25402 \begin_layout Standard
25403 4
25404 \end_layout
25405
25406 \end_inset
25407 </cell>
25408 </row>
25409 <row topline="true">
25410 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25411 \begin_inset Text
25412
25413 \begin_layout Standard
25414 a
25415 \end_layout
25416
25417 \end_inset
25418 </cell>
25419 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25420 \begin_inset Text
25421
25422 \begin_layout Standard
25423 b
25424 \end_layout
25425
25426 \end_inset
25427 </cell>
25428 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25429 \begin_inset Text
25430
25431 \begin_layout Standard
25432 c
25433 \end_layout
25434
25435 \end_inset
25436 </cell>
25437 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25438 \begin_inset Text
25439
25440 \begin_layout Standard
25441 d
25442 \end_layout
25443
25444 \end_inset
25445 </cell>
25446 </row>
25447 <row topline="true" bottomline="true">
25448 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25449 \begin_inset Text
25450
25451 \begin_layout Standard
25452 e
25453 \end_layout
25454
25455 \end_inset
25456 </cell>
25457 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25458 \begin_inset Text
25459
25460 \begin_layout Standard
25461 f
25462 \end_layout
25463
25464 \end_inset
25465 </cell>
25466 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25467 \begin_inset Text
25468
25469 \begin_layout Standard
25470 g
25471 \end_layout
25472
25473 \end_inset
25474 </cell>
25475 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25476 \begin_inset Text
25477
25478 \begin_layout Standard
25479 h
25480 \end_layout
25481
25482 \end_inset
25483 </cell>
25484 </row>
25485 </lyxtabular>
25486
25487 \end_inset
25488
25489
25490 \end_layout
25491
25492 \end_inset
25493
25494
25495 \end_layout
25496
25497 \begin_layout Standard
25498 \begin_inset VSpace bigskip
25499 \end_inset
25500
25501 The document-wide paragraph settings are ignored within minipages.
25502  That means that there will be no space between paragraphs in minipages
25503  although you set it to e.\InsetSpace \thinspace{}
25504 g.\InsetSpace ~
25505
25506 \family sans
25507 MedSkip
25508 \family default
25509  in the document settings.
25510 \end_layout
25511
25512 \begin_layout Standard
25513 Minipages can also be used to set a background color for text parts, see
25514  section\InsetSpace ~
25515
25516 \begin_inset LatexCommand ref
25517 reference "sub:Color-for-Paragraphs"
25518
25519 \end_inset
25520
25521 .
25522 \end_layout
25523
25524 \begin_layout Standard
25525 \begin_inset Note Greyedout
25526 status open
25527
25528 \begin_layout Standard
25529
25530 \series bold
25531 Note:
25532 \series default
25533  You cannot have floats or margin notes inside minipages but minipages can
25534  be used inside tables, floats, and other boxes.
25535 \end_layout
25536
25537 \end_inset
25538
25539
25540 \end_layout
25541
25542 \begin_layout Section
25543 Parboxes
25544 \begin_inset LatexCommand label
25545 name "sec:Parboxes"
25546
25547 \end_inset
25548
25549
25550 \begin_inset LatexCommand index
25551 name "Boxes ! Parboxes"
25552
25553 \end_inset
25554
25555
25556 \end_layout
25557
25558 \begin_layout Standard
25559 Parboxes are very similar to minipages with the difference that they cannot
25560  have footnotes.
25561  The main difference to minipages is that minipages are in contrary to parboxes
25562  no real boxes but LaTeX-environments.
25563 \end_layout
25564
25565 \begin_layout Standard
25566 \align center
25567 \begin_inset Box Frameless
25568 position "t"
25569 hor_pos "c"
25570 has_inner_box 1
25571 inner_pos "t"
25572 use_parbox 1
25573 width "33col%"
25574 special "none"
25575 height "1in"
25576 height_special "totalheight"
25577 status collapsed
25578
25579 \begin_layout Standard
25580 This a text within a parbox.
25581  This a text within a parbox.
25582 \end_layout
25583
25584 \begin_layout Standard
25585 This footnote won't appear:
25586 \begin_inset Foot
25587 status collapsed
25588
25589 \begin_layout Standard
25590 This footnote is inside a parbox and will therefore not appear.
25591 \end_layout
25592
25593 \end_inset
25594
25595
25596 \end_layout
25597
25598 \end_inset
25599
25600
25601 \end_layout
25602
25603 \begin_layout Section
25604 Boxes for Words and Characters
25605 \begin_inset LatexCommand index
25606 name "Boxes ! for Characters"
25607
25608 \end_inset
25609
25610
25611 \end_layout
25612
25613 \begin_layout Subsection
25614 Prevent Hyphenation
25615 \begin_inset LatexCommand label
25616 name "sec:Prevent-Hyphenation"
25617
25618 \end_inset
25619
25620
25621 \begin_inset LatexCommand index
25622 name "Boxes ! to Prevent Hyphenation"
25623
25624 \end_inset
25625
25626
25627 \end_layout
25628
25629 \begin_layout Standard
25630 You can use a special kind of boxes to prevent words or text to be hyphenated.
25631 \newline
25632 Her
25633 e is an example text:
25634 \end_layout
25635
25636 \begin_layout Standard
25637 This line is an example to show how you can prevent the hyphenation of e.\InsetSpace \thinspace{}
25638 g.\InsetSpace ~
25639 veryver
25640 ylongwords.
25641 \end_layout
25642
25643 \begin_layout Standard
25644 To prevent the hyphenation of the word 
25645 \begin_inset Quotes eld
25646 \end_inset
25647
25648 veryverylongwords
25649 \begin_inset Quotes erd
25650 \end_inset
25651
25652 , add the command
25653 \end_layout
25654
25655 \begin_layout Standard
25656
25657 \series bold
25658
25659 \backslash
25660 mbox{
25661 \end_layout
25662
25663 \begin_layout Standard
25664 in ERT before the word.
25665  Behind the word insert a closing brace 
25666 \begin_inset Quotes eld
25667 \end_inset
25668
25669
25670 \series bold
25671 }
25672 \series default
25673
25674 \begin_inset Quotes erd
25675 \end_inset
25676
25677  in ERT.
25678 \begin_inset ERT
25679 status collapsed
25680
25681 \begin_layout Standard
25682
25683
25684 \backslash
25685 pagebreak 
25686 \end_layout
25687
25688 \end_inset
25689
25690
25691 \end_layout
25692
25693 \begin_layout Standard
25694 This is the result:
25695 \end_layout
25696
25697 \begin_layout Standard
25698 This line is an example to show how you can prevent the hyphenation of e.\InsetSpace \thinspace{}
25699 g.\InsetSpace ~
25700
25701 \begin_inset ERT
25702 status collapsed
25703
25704 \begin_layout Standard
25705
25706
25707 \backslash
25708 mbox{
25709 \end_layout
25710
25711 \end_inset
25712
25713 veryverylongwords.
25714 \begin_inset ERT
25715 status collapsed
25716
25717 \begin_layout Standard
25718
25719 }
25720 \end_layout
25721
25722 \end_inset
25723
25724
25725 \end_layout
25726
25727 \begin_layout Standard
25728 Of course the word now protrudes over the side margin.
25729  To avoid this, add via the menu 
25730 \family sans
25731 Insert\SpecialChar \menuseparator
25732 Special\InsetSpace ~
25733 Formatting\SpecialChar \menuseparator
25734 Line\InsetSpace ~
25735 Break
25736 \family default
25737  (shortcut 
25738 \series bold
25739 Ctrl-Return
25740 \series default
25741 ) a line break before the word:
25742 \end_layout
25743
25744 \begin_layout Standard
25745 This line is an example to show how you can prevent the hyphenation of e.\InsetSpace \thinspace{}
25746 g.\InsetSpace ~
25747
25748 \newline
25749
25750 \begin_inset ERT
25751 status collapsed
25752
25753 \begin_layout Standard
25754
25755
25756 \backslash
25757 mbox{
25758 \end_layout
25759
25760 \end_inset
25761
25762 veryverylongwords.
25763 \begin_inset ERT
25764 status collapsed
25765
25766 \begin_layout Standard
25767
25768 }
25769 \end_layout
25770
25771 \end_inset
25772
25773
25774 \end_layout
25775
25776 \begin_layout Subsection
25777 Vertical Alignment
25778 \begin_inset LatexCommand label
25779 name "sub:Vertical-Alignment"
25780
25781 \end_inset
25782
25783
25784 \begin_inset LatexCommand index
25785 name "Boxes ! for Vertical Alignment"
25786
25787 \end_inset
25788
25789
25790 \begin_inset LatexCommand index
25791 name "Boxes ! Raiseboxes"
25792
25793 \end_inset
25794
25795
25796 \end_layout
25797
25798 \begin_layout Standard
25799 With the help of the command 
25800 \series bold
25801
25802 \backslash
25803 raisebox
25804 \series default
25805  you can align words, characters or other boxes vertically to the surrounding
25806  text.
25807  
25808 \series bold
25809
25810 \backslash
25811 raisebox
25812 \series default
25813  is used with the following scheme:
25814 \end_layout
25815
25816 \begin_layout Standard
25817
25818 \series bold
25819
25820 \backslash
25821 raisebox{lift}[height][depth]{box content}
25822 \end_layout
25823
25824 \begin_layout Standard
25825 The lift can be a positive value to raise the box or a negative value to
25826  lower the box.
25827 \end_layout
25828
25829 \begin_layout Standard
25830 To align for example the word 
25831 \begin_inset Quotes eld
25832 \end_inset
25833
25834 preventing
25835 \begin_inset Quotes erd
25836 \end_inset
25837
25838  so that the bottom of the 
25839 \begin_inset Quotes eld
25840 \end_inset
25841
25842 deepest
25843 \begin_inset Quotes erd
25844 \end_inset
25845
25846  character 
25847 \begin_inset Quotes eld
25848 \end_inset
25849
25850 p
25851 \begin_inset Quotes erd
25852 \end_inset
25853
25854  is at the baseline, insert the command
25855 \end_layout
25856
25857 \begin_layout Standard
25858
25859 \series bold
25860
25861 \backslash
25862 raisebox{
25863 \backslash
25864 depth}{
25865 \end_layout
25866
25867 \begin_layout Standard
25868 in ERT before the word.
25869  Behind the word insert a closing brace 
25870 \begin_inset Quotes eld
25871 \end_inset
25872
25873
25874 \series bold
25875 }
25876 \series default
25877
25878 \begin_inset Quotes erd
25879 \end_inset
25880
25881  in ERT.
25882 \newline
25883 This is the result:
25884 \end_layout
25885
25886 \begin_layout Standard
25887 This is a text line with the word 
25888 \begin_inset ERT
25889 status collapsed
25890
25891 \begin_layout Standard
25892
25893
25894 \backslash
25895 raisebox{
25896 \backslash
25897 depth}{
25898 \end_layout
25899
25900 \end_inset
25901
25902
25903 \begin_inset Quotes eld
25904 \end_inset
25905
25906 preventing
25907 \begin_inset Quotes erd
25908 \end_inset
25909
25910
25911 \begin_inset ERT
25912 status collapsed
25913
25914 \begin_layout Standard
25915
25916 }
25917 \end_layout
25918
25919 \end_inset
25920
25921  as raised word.
25922 \end_layout
25923
25924 \begin_layout Standard
25925 \begin_inset VSpace bigskip
25926 \end_inset
25927
25928 When you raise or lower characters in a line, the line distance will be
25929  spread:
25930 \end_layout
25931
25932 \begin_layout Standard
25933 This is a text line with the word 
25934 \begin_inset ERT
25935 status collapsed
25936
25937 \begin_layout Standard
25938
25939
25940 \backslash
25941 raisebox{-
25942 \backslash
25943 depth}{
25944 \end_layout
25945
25946 \end_inset
25947
25948
25949 \begin_inset Quotes eld
25950 \end_inset
25951
25952 preventing
25953 \begin_inset Quotes erd
25954 \end_inset
25955
25956
25957 \begin_inset ERT
25958 status collapsed
25959
25960 \begin_layout Standard
25961
25962 }
25963 \end_layout
25964
25965 \end_inset
25966
25967  as lowered word.
25968 \newline
25969 This is a text line with the word 
25970 \begin_inset ERT
25971 status collapsed
25972
25973 \begin_layout Standard
25974
25975
25976 \backslash
25977 raisebox{0.5cm}{
25978 \end_layout
25979
25980 \end_inset
25981
25982
25983 \begin_inset Quotes eld
25984 \end_inset
25985
25986 testing
25987 \begin_inset Quotes erd
25988 \end_inset
25989
25990
25991 \begin_inset ERT
25992 status collapsed
25993
25994 \begin_layout Standard
25995
25996 }
25997 \end_layout
25998
25999 \end_inset
26000
26001  as raised word.
26002 \end_layout
26003
26004 \begin_layout Standard
26005 If you want to prevent this for a certain reason, set the box height to
26006  a zero value.
26007  For example use
26008 \end_layout
26009
26010 \begin_layout Standard
26011
26012 \series bold
26013
26014 \backslash
26015 raisebox{-
26016 \backslash
26017 depth}[0pt]{
26018 \end_layout
26019
26020 \begin_layout Standard
26021 This is a text line with the word 
26022 \begin_inset ERT
26023 status collapsed
26024
26025 \begin_layout Standard
26026
26027
26028 \backslash
26029 raisebox{-
26030 \backslash
26031 depth}[0pt]{
26032 \end_layout
26033
26034 \end_inset
26035
26036
26037 \begin_inset Quotes eld
26038 \end_inset
26039
26040 preventing
26041 \begin_inset Quotes erd
26042 \end_inset
26043
26044
26045 \begin_inset ERT
26046 status collapsed
26047
26048 \begin_layout Standard
26049
26050 }
26051 \end_layout
26052
26053 \end_inset
26054
26055  as lowered word.
26056 \newline
26057 This is a text line with the word 
26058 \begin_inset ERT
26059 status collapsed
26060
26061 \begin_layout Standard
26062
26063
26064 \backslash
26065 raisebox{0.5cm}[0pt]{
26066 \end_layout
26067
26068 \end_inset
26069
26070
26071 \begin_inset Quotes eld
26072 \end_inset
26073
26074 testing
26075 \begin_inset Quotes erd
26076 \end_inset
26077
26078
26079 \begin_inset ERT
26080 status collapsed
26081
26082 \begin_layout Standard
26083
26084 }
26085 \end_layout
26086
26087 \end_inset
26088
26089  as raised word.
26090 \end_layout
26091
26092 \begin_layout Section
26093 Colored Boxes
26094 \begin_inset LatexCommand label
26095 name "sec:Colored-Boxes"
26096
26097 \end_inset
26098
26099
26100 \begin_inset LatexCommand index
26101 name "Boxes ! Color"
26102
26103 \end_inset
26104
26105
26106 \end_layout
26107
26108 \begin_layout Subsection
26109 Color for Text
26110 \begin_inset LatexCommand index
26111 name "Color ! for Text"
26112
26113 \end_inset
26114
26115
26116 \end_layout
26117
26118 \begin_layout Standard
26119 To color the background of text the text must be put into a so called colorbox.
26120  This requires that the LaTeX-package 
26121 \series bold
26122 color
26123 \series default
26124
26125 \begin_inset LatexCommand index
26126 name "LaTeX-packages ! color"
26127
26128 \end_inset
26129
26130  is loaded in the document preamble with the command
26131 \end_layout
26132
26133 \begin_layout Standard
26134
26135 \series bold
26136
26137 \backslash
26138 @ifundef\SpecialChar \textcompwordmark{}
26139 ined{textcolor}
26140 \newline
26141
26142 \begin_inset ERT
26143 status collapsed
26144
26145 \begin_layout Standard
26146
26147
26148 \backslash
26149 hphantom{ }
26150 \end_layout
26151
26152 \end_inset
26153
26154 {
26155 \backslash
26156 usepackage{color}}{}
26157 \end_layout
26158
26159 \begin_layout Standard
26160 The package 
26161 \series bold
26162 color
26163 \series default
26164  will be loaded automatically by LyX when you color text
26165 \begin_inset Foot
26166 status collapsed
26167
26168 \begin_layout Standard
26169 To avoid that it is loaded twice the command 
26170 \series bold
26171
26172 \backslash
26173 @ifundef\SpecialChar \textcompwordmark{}
26174 ined
26175 \series default
26176  is used.
26177 \end_layout
26178
26179 \end_inset
26180
26181 .
26182 \end_layout
26183
26184 \begin_layout Standard
26185 \begin_inset VSpace medskip
26186 \end_inset
26187
26188 Colorboxes are created with the command 
26189 \series bold
26190
26191 \backslash
26192 colorbox
26193 \series default
26194 .
26195  This will be used with the following scheme:
26196 \end_layout
26197
26198 \begin_layout Standard
26199
26200 \series bold
26201
26202 \backslash
26203 colorbox{color}{box content}
26204 \end_layout
26205
26206 \begin_layout Standard
26207 The box content can also be a box and colorboxes can also be within other
26208  boxes.
26209 \end_layout
26210
26211 \begin_layout Standard
26212 The following colors are predefined:
26213 \newline
26214
26215 \family sans
26216 black
26217 \family default
26218
26219 \family sans
26220 blue
26221 \family default
26222
26223 \family sans
26224 cyan
26225 \family default
26226 \series bold
26227 ,
26228 \series default
26229  
26230 \family sans
26231 green
26232 \family default
26233
26234 \family sans
26235 magenta
26236 \family default
26237
26238 \family sans
26239 red
26240 \family default
26241
26242 \family sans
26243 white
26244 \family default
26245 , and 
26246 \family sans
26247 yellow
26248 \family default
26249 .
26250 \newline
26251 You can also define your own color as described in section\InsetSpace ~
26252
26253 \begin_inset LatexCommand ref
26254 reference "sec:Colored-Tables"
26255
26256 \end_inset
26257
26258 .
26259 \end_layout
26260
26261 \begin_layout Standard
26262 To have e.\InsetSpace \thinspace{}
26263 g.\InsetSpace ~
26264 a red background for a word, insert the command
26265 \end_layout
26266
26267 \begin_layout Standard
26268
26269 \series bold
26270
26271 \backslash
26272 colorbox{red}{
26273 \end_layout
26274
26275 \begin_layout Standard
26276 before the word in ERT.
26277  Behind the word insert a closing brace 
26278 \begin_inset Quotes eld
26279 \end_inset
26280
26281
26282 \series bold
26283 }
26284 \series default
26285
26286 \begin_inset Quotes erd
26287 \end_inset
26288
26289  in ERT.
26290 \newline
26291 This is the result:
26292 \end_layout
26293
26294 \begin_layout Standard
26295 This is a line where the word 
26296 \begin_inset ERT
26297 status collapsed
26298
26299 \begin_layout Standard
26300
26301
26302 \backslash
26303 colorbox{red}{
26304 \end_layout
26305
26306 \end_inset
26307
26308
26309 \begin_inset Quotes eld
26310 \end_inset
26311
26312 Attention!
26313 \begin_inset Quotes erd
26314 \end_inset
26315
26316
26317 \begin_inset ERT
26318 status collapsed
26319
26320 \begin_layout Standard
26321
26322 }
26323 \end_layout
26324
26325 \end_inset
26326
26327  has a red background.
26328 \end_layout
26329
26330 \begin_layout Standard
26331 \begin_inset VSpace bigskip
26332 \end_inset
26333
26334 If you would have the box frame in a different color, you can use the command
26335  
26336 \series bold
26337
26338 \backslash
26339 fcolorbox
26340 \series default
26341  with the following scheme:
26342 \end_layout
26343
26344 \begin_layout Standard
26345
26346 \series bold
26347
26348 \backslash
26349 fcolorbox{frame color}{box color}{box content}
26350 \end_layout
26351
26352 \begin_layout Standard
26353
26354 \series bold
26355
26356 \backslash
26357 fcolorbox
26358 \series default
26359  is an extension to 
26360 \series bold
26361
26362 \backslash
26363 colorbox
26364 \series default
26365 .
26366  The frame thickness and the space between the frame and the box content
26367  can be adjusted with the lengths 
26368 \series bold
26369
26370 \backslash
26371 fboxrule
26372 \series default
26373  and 
26374 \series bold
26375
26376 \backslash
26377 fboxsep
26378 \series default
26379 , respectively, as described in section\InsetSpace ~
26380
26381 \begin_inset LatexCommand ref
26382 reference "sec:Framed-Boxes"
26383
26384 \end_inset
26385
26386 .
26387 \end_layout
26388
26389 \begin_layout Standard
26390 For the following example the command
26391 \end_layout
26392
26393 \begin_layout Standard
26394
26395 \series bold
26396
26397 \backslash
26398 fcolorbox{cyan}{magenta}{
26399 \end_layout
26400
26401 \begin_layout Standard
26402 was used.
26403 \end_layout
26404
26405 \begin_layout Standard
26406 Here is an example where the frame line thickness was set to 1\InsetSpace \thinspace{}
26407 mm:
26408 \newline
26409
26410 \begin_inset ERT
26411 status collapsed
26412
26413 \begin_layout Standard
26414
26415
26416 \backslash
26417 fboxrule 1mm 
26418 \backslash
26419 fboxsep 1mm
26420 \end_layout
26421
26422 \end_inset
26423
26424
26425 \begin_inset ERT
26426 status collapsed
26427
26428 \begin_layout Standard
26429
26430
26431 \backslash
26432 fcolorbox{cyan}{magenta}{
26433 \end_layout
26434
26435 \end_inset
26436
26437 This is text within a colored, framed box.
26438 \begin_inset ERT
26439 status collapsed
26440
26441 \begin_layout Standard
26442
26443 }
26444 \end_layout
26445
26446 \end_inset
26447
26448
26449 \end_layout
26450
26451 \begin_layout Standard
26452 \begin_inset VSpace bigskip
26453 \end_inset
26454
26455 Of course you can also have colored text inside a colorbox:
26456 \newline
26457
26458 \begin_inset ERT
26459 status collapsed
26460
26461 \begin_layout Standard
26462
26463
26464 \backslash
26465 fcolorbox{cyan}{magenta}{
26466 \end_layout
26467
26468 \end_inset
26469
26470
26471 \color yellow
26472 This is colored text within a colored, framed box.
26473 \color none
26474
26475 \begin_inset ERT
26476 status collapsed
26477
26478 \begin_layout Standard
26479
26480 }
26481 \end_layout
26482
26483 \end_inset
26484
26485
26486 \begin_inset ERT
26487 status collapsed
26488
26489 \begin_layout Standard
26490
26491
26492 \backslash
26493 fboxrule 0.4pt 
26494 \backslash
26495 fboxsep 3pt
26496 \end_layout
26497
26498 \end_inset
26499
26500
26501 \end_layout
26502
26503 \begin_layout Standard
26504
26505 \series bold
26506 \begin_inset VSpace medskip
26507 \end_inset
26508
26509
26510 \end_layout
26511
26512 \begin_layout Standard
26513 \begin_inset Note Greyedout
26514 status open
26515
26516 \begin_layout Standard
26517
26518 \series bold
26519 Note:
26520 \series default
26521  Text in colorboxes cannot have line breaks.
26522  To color multiple text lines or paragraphs, use a box inside a colorbox
26523  as described in the following.
26524 \end_layout
26525
26526 \end_inset
26527
26528
26529 \end_layout
26530
26531 \begin_layout Subsection
26532 Color for Paragraphs
26533 \begin_inset LatexCommand label
26534 name "sub:Color-for-Paragraphs"
26535
26536 \end_inset
26537
26538
26539 \begin_inset LatexCommand index
26540 name "Color ! for Paragraphs"
26541
26542 \end_inset
26543
26544
26545 \end_layout
26546
26547 \begin_layout Standard
26548 To set the background color for more than one text line, put the text into
26549  a minipage.
26550  Before the minipage insert the 
26551 \series bold
26552
26553 \backslash
26554 colorbox
26555 \series default
26556  command
26557 \end_layout
26558
26559 \begin_layout Standard
26560
26561 \series bold
26562
26563 \backslash
26564 colorbox{color}{
26565 \end_layout
26566
26567 \begin_layout Standard
26568 in ERT.
26569  Behind the minipage insert a closing brace 
26570 \begin_inset Quotes eld
26571 \end_inset
26572
26573
26574 \series bold
26575 }
26576 \series default
26577
26578 \begin_inset Quotes erd
26579 \end_inset
26580
26581  in ERT.
26582 \end_layout
26583
26584 \begin_layout Standard
26585 \begin_inset ERT
26586 status collapsed
26587
26588 \begin_layout Standard
26589
26590
26591 \backslash
26592 colorbox{lightgrey}{
26593 \end_layout
26594
26595 \end_inset
26596
26597
26598 \begin_inset Box Frameless
26599 position "t"
26600 hor_pos "c"
26601 has_inner_box 1
26602 inner_pos "t"
26603 use_parbox 0
26604 width "100col%"
26605 special "none"
26606 height "1in"
26607 height_special "totalheight"
26608 status collapsed
26609
26610 \begin_layout Standard
26611 This is text with background color.
26612  This is text with background color.
26613 \end_layout
26614
26615 \begin_layout Standard
26616 \begin_inset VSpace defskip
26617 \end_inset
26618
26619 The text can have footnotes
26620 \begin_inset Foot
26621 status collapsed
26622
26623 \begin_layout Standard
26624 Another example footnote
26625 \end_layout
26626
26627 \end_inset
26628
26629  and can include tables and figures.
26630 \end_layout
26631
26632 \begin_layout Standard
26633 \align center
26634 \begin_inset Tabular
26635 <lyxtabular version="3" rows="3" columns="3">
26636 <features>
26637 <column alignment="center" valignment="top" leftline="true" width="0">
26638 <column alignment="center" valignment="top" leftline="true" width="0">
26639 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
26640 <row topline="true">
26641 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26642 \begin_inset Text
26643
26644 \begin_layout Standard
26645 a
26646 \end_layout
26647
26648 \end_inset
26649 </cell>
26650 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26651 \begin_inset Text
26652
26653 \begin_layout Standard
26654 !
26655 \end_layout
26656
26657 \end_inset
26658 </cell>
26659 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26660 \begin_inset Text
26661
26662 \begin_layout Standard
26663 3
26664 \end_layout
26665
26666 \end_inset
26667 </cell>
26668 </row>
26669 <row topline="true">
26670 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26671 \begin_inset Text
26672
26673 \begin_layout Standard
26674 <
26675 \end_layout
26676
26677 \end_inset
26678 </cell>
26679 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26680 \begin_inset Text
26681
26682 \begin_layout Standard
26683 b2
26684 \begin_inset Quotes erd
26685 \end_inset
26686
26687 |
26688 \end_layout
26689
26690 \end_inset
26691 </cell>
26692 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26693 \begin_inset Text
26694
26695 \begin_layout Standard
26696 >
26697 \end_layout
26698
26699 \end_inset
26700 </cell>
26701 </row>
26702 <row topline="true" bottomline="true">
26703 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26704 \begin_inset Text
26705
26706 \begin_layout Standard
26707 1
26708 \end_layout
26709
26710 \end_inset
26711 </cell>
26712 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26713 \begin_inset Text
26714
26715 \begin_layout Standard
26716 §
26717 \end_layout
26718
26719 \end_inset
26720 </cell>
26721 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26722 \begin_inset Text
26723
26724 \begin_layout Standard
26725 c
26726 \end_layout
26727
26728 \end_inset
26729 </cell>
26730 </row>
26731 </lyxtabular>
26732
26733 \end_inset
26734
26735
26736 \end_layout
26737
26738 \end_inset
26739
26740
26741 \begin_inset ERT
26742 status collapsed
26743
26744 \begin_layout Standard
26745
26746 }
26747 \end_layout
26748
26749 \end_inset
26750
26751
26752 \end_layout
26753
26754 \begin_layout Section
26755 URLs (Uniform Resource Locators)
26756 \begin_inset LatexCommand index
26757 name "URLs"
26758
26759 \end_inset
26760
26761
26762 \end_layout
26763
26764 \begin_layout Standard
26765 Links to web pages or email addresses can be inserted via the menu 
26766 \family sans
26767 Insert\SpecialChar \menuseparator
26768 URL
26769 \family default
26770 .
26771  The appearing URL dialog has two fields; the 
26772 \family sans
26773 URL
26774 \family default
26775  field and the 
26776 \family sans
26777 Name
26778 \family default
26779  field for the URL description, which will be typeset as plain text immediately
26780  before the URL.
26781 \end_layout
26782
26783 \begin_layout Standard
26784 Here is an example URL: 
26785 \begin_inset LatexCommand url
26786 name "LyX's homepage"
26787 target "http://www.lyx.org"
26788
26789 \end_inset
26790
26791
26792 \end_layout
26793
26794 \begin_layout Standard
26795 The option 
26796 \family sans
26797 Generate\InsetSpace ~
26798 hyperlink
26799 \family default
26800  in the URL dialog has only an affect when you export your document to the
26801  format 
26802 \begin_inset Quotes eld
26803 \end_inset
26804
26805
26806 \family sans
26807 LinuxDoc
26808 \family default
26809
26810 \begin_inset Quotes erd
26811 \end_inset
26812
26813 .
26814 \end_layout
26815
26816 \begin_layout Standard
26817 You cannot change the style of the link text.
26818  The text of the 
26819 \family sans
26820 Name
26821 \family default
26822  field will have the default text style of the document while the text of
26823  the 
26824 \family sans
26825 URL
26826 \family default
26827  field will have the style 
26828 \begin_inset Quotes eld
26829 \end_inset
26830
26831
26832 \family sans
26833 Typewriter
26834 \family default
26835
26836 \begin_inset Quotes erd
26837 \end_inset
26838
26839 .
26840 \end_layout
26841
26842 \begin_layout Standard
26843 When you use the LaTeX-package 
26844 \series bold
26845 hyperref
26846 \series default
26847
26848 \begin_inset LatexCommand index
26849 name "LaTeX-packages ! hyperref"
26850
26851 \end_inset
26852
26853  to link cross-references in the output, URLs will automatically become
26854  clickable hyperlinks in DVI and PDF-output.
26855 \end_layout
26856
26857 \begin_layout Standard
26858 \begin_inset Note Greyedout
26859 status open
26860
26861 \begin_layout Standard
26862
26863 \series bold
26864 Note:
26865 \series default
26866  When you use the following characters: "%", "#", "^", you have to write
26867  them with a preceding backslash, e.\InsetSpace \thinspace{}
26868 g.\InsetSpace ~
26869
26870 \begin_inset Quotes eld
26871 \end_inset
26872
26873
26874 \backslash
26875 #
26876 \begin_inset Quotes erd
26877 \end_inset
26878
26879 .
26880  URLs must not end with a backslash.
26881 \end_layout
26882
26883 \end_inset
26884
26885
26886 \end_layout
26887
26888 \begin_layout Standard
26889 \begin_inset VSpace bigskip
26890 \end_inset
26891
26892 To create real hyperlinks without the force to write the link location to
26893  the text, you can use the command
26894 \end_layout
26895
26896 \begin_layout Standard
26897
26898 \series bold
26899
26900 \backslash
26901 href{link location}{link text}
26902 \end_layout
26903
26904 \begin_layout Standard
26905 in ERT.
26906  To get for example a link to LyX's web page, write the command
26907 \end_layout
26908
26909 \begin_layout Standard
26910
26911 \series bold
26912
26913 \backslash
26914 href{http://www.lyx.org}{
26915 \end_layout
26916
26917 \begin_layout Standard
26918 in ERT.
26919  Insert after the command the link text 
26920 \begin_inset Quotes eld
26921 \end_inset
26922
26923 LyX's homepage
26924 \begin_inset Quotes erd
26925 \end_inset
26926
26927  as normal text followed by a closing brace 
26928 \begin_inset Quotes eld
26929 \end_inset
26930
26931
26932 \series bold
26933 }
26934 \series default
26935
26936 \begin_inset Quotes erd
26937 \end_inset
26938
26939  in ERT.
26940  This is the result: 
26941 \begin_inset ERT
26942 status collapsed
26943
26944 \begin_layout Standard
26945
26946
26947 \backslash
26948 href{http://www.lyx.org}{
26949 \end_layout
26950
26951 \end_inset
26952
26953 LyX's homepage
26954 \begin_inset ERT
26955 status collapsed
26956
26957 \begin_layout Standard
26958
26959 }
26960 \end_layout
26961
26962 \end_inset
26963
26964
26965 \end_layout
26966
26967 \begin_layout Standard
26968 To link to email addresses, add the prefix 
26969 \begin_inset Quotes eld
26970 \end_inset
26971
26972
26973 \family sans
26974 mailto:
26975 \family default
26976
26977 \begin_inset Quotes erd
26978 \end_inset
26979
26980  to the link location:
26981 \newline
26982 Email to 
26983 \begin_inset ERT
26984 status collapsed
26985
26986 \begin_layout Standard
26987
26988
26989 \backslash
26990 href{mailto:lyx-docs@lists.lyx.org?subject=LyX's documentation}{
26991 \end_layout
26992
26993 \end_inset
26994
26995 lyx-docs mailing list
26996 \begin_inset ERT
26997 status collapsed
26998
26999 \begin_layout Standard
27000
27001 }
27002 \end_layout
27003
27004 \end_inset
27005
27006 .
27007 \end_layout
27008
27009 \begin_layout Standard
27010 Using 
27011 \series bold
27012
27013 \backslash
27014 href
27015 \series default
27016  instead of LyX's URL box has the advantage that you can specify the text
27017  style of the link text like for all other text parts.
27018  You can therefore set hyphenation points and forced linebreaks to have
27019  long link text broken at the page margin.
27020  You are furthermore able to change the text style for all URLs in your
27021  document with an option in 
27022 \series bold
27023 hyperref
27024 \series default
27025 's load command and the restrictions mentioned above doesn't apply for 
27026 \series bold
27027
27028 \backslash
27029 href
27030 \series default
27031 .
27032 \end_layout
27033
27034 \begin_layout Chapter
27035 External Stuff
27036 \begin_inset LatexCommand index
27037 name "External Stuff"
27038
27039 \end_inset
27040
27041
27042 \end_layout
27043
27044 \begin_layout Standard
27045 With the menu 
27046 \family sans
27047 Insert\SpecialChar \menuseparator
27048 File
27049 \family default
27050  you can insert external material to your document.
27051  This can be:
27052 \end_layout
27053
27054 \begin_layout Description
27055 LyX\InsetSpace ~
27056 Document Another LyX document; its content is directly inserted to your
27057  document.
27058 \end_layout
27059
27060 \begin_layout Description
27061 Plain\InsetSpace ~
27062 Text A text document; every of its text lines is inserted to your document
27063  as own paragraph.
27064 \end_layout
27065
27066 \begin_layout Description
27067 Plain\InsetSpace ~
27068 Text,\InsetSpace ~
27069 Join\InsetSpace ~
27070 Lines A text document; its text lines are inserted as they
27071  are.
27072  Empty text lines creates a new paragraph in your document.
27073 \end_layout
27074
27075 \begin_layout Description
27076 External\InsetSpace ~
27077 Material Files in various formats.
27078 \end_layout
27079
27080 \begin_layout Description
27081 Child\InsetSpace ~
27082 Document LyX or LaTeX-documents.
27083 \end_layout
27084
27085 \begin_layout Section
27086 External Material
27087 \begin_inset LatexCommand index
27088 name "External Stuff ! External Material"
27089
27090 \end_inset
27091
27092
27093 \end_layout
27094
27095 \begin_layout Standard
27096 The external material feature allows you to insert files to your document
27097  without converting them previously to a format that can be read by the
27098  document output format because LyX takes care of needed conversions.
27099  This is similar to images that can be inserted in various image formats
27100  to LyX documents.
27101 \end_layout
27102
27103 \begin_layout Standard
27104 External material can be inserted via the 
27105 \family sans
27106 External Material
27107 \family default
27108  dialog that is accessible with the menu 
27109 \family sans
27110 Insert\SpecialChar \menuseparator
27111 File\SpecialChar \menuseparator
27112 External\InsetSpace ~
27113 Material
27114 \family default
27115 .
27116  Currently the following file types (
27117 \family sans
27118 Templates
27119 \family default
27120 ) are allowed:
27121 \end_layout
27122
27123 \begin_layout Description
27124 ChessDiagram This template supports chess position diagrams made with the
27125  program 
27126 \begin_inset ERT
27127 status collapsed
27128
27129 \begin_layout Standard
27130
27131
27132 \backslash
27133 href{http://en.wikipedia.org/wiki/XBoard}{
27134 \end_layout
27135
27136 \end_inset
27137
27138
27139 \series bold
27140 XBoard
27141 \series default
27142
27143 \begin_inset ERT
27144 status collapsed
27145
27146 \begin_layout Standard
27147
27148 }
27149 \end_layout
27150
27151 \end_inset
27152
27153 .
27154 \end_layout
27155
27156 \begin_layout Description
27157 Date This inserts the date in the form 
27158 \emph on
27159 Date-Month-Year
27160 \emph default
27161 .
27162  This is a date inserted as external material: 
27163 \begin_inset External
27164         template Date
27165         filename .
27166
27167 \end_inset
27168
27169
27170 \newline
27171 The date is not shown within LyX, only in the output.
27172  There are two other methods of inserting a date, via menu 
27173 \family sans
27174 Insert\SpecialChar \menuseparator
27175 Date
27176 \family default
27177  and with the LaTeX command 
27178 \series bold
27179
27180 \backslash
27181 today
27182 \series default
27183  as ERT.
27184  The different methods are compared in Table\InsetSpace ~
27185
27186 \begin_inset LatexCommand ref
27187 reference "tab:Comparison-of-the"
27188
27189 \end_inset
27190
27191 .
27192 \end_layout
27193
27194 \begin_layout Description
27195 LilyPond This template is used for music notation typeset with the program
27196 \begin_inset ERT
27197 status collapsed
27198
27199 \begin_layout Standard
27200
27201
27202 \backslash
27203 linebreak 
27204 \end_layout
27205
27206 \end_inset
27207
27208
27209 \begin_inset ERT
27210 status collapsed
27211
27212 \begin_layout Standard
27213
27214
27215 \backslash
27216 href{http://en.wikipedia.org/wiki/LilyPond}{
27217 \end_layout
27218
27219 \end_inset
27220
27221
27222 \series bold
27223 LilyPond
27224 \series default
27225
27226 \begin_inset ERT
27227 status collapsed
27228
27229 \begin_layout Standard
27230
27231 }
27232 \end_layout
27233
27234 \end_inset
27235
27236 .
27237 \begin_inset Note Note
27238 status collapsed
27239
27240 \begin_layout Standard
27241 The command 
27242 \series bold
27243
27244 \backslash
27245 linebreak
27246 \series default
27247  breaks the line while the remaining text in the line is stretched to the
27248  page margin.
27249 \end_layout
27250
27251 \end_inset
27252
27253
27254 \end_layout
27255
27256 \begin_layout Description
27257 RasterImage This can be used for bitmap images.
27258  Nearly all popular image formats are supported.
27259  The image can be treated in the 
27260 \family sans
27261 External material
27262 \family default
27263  dialog like the images that are usually included via the 
27264 \family sans
27265 Graphics
27266 \family default
27267  dialog as described in section\InsetSpace ~
27268
27269 \begin_inset LatexCommand ref
27270 reference "sec:Graphics-Dialog"
27271
27272 \end_inset
27273
27274 .
27275  The difference is that only raster images are allowed, that means that
27276  PDF and EPS-images are not supported.
27277 \end_layout
27278
27279 \begin_layout Description
27280 XFig This template supports images created with the program 
27281 \begin_inset ERT
27282 status collapsed
27283
27284 \begin_layout Standard
27285
27286
27287 \backslash
27288 href{http://en.wikipedia.org/wiki/Xfig}{
27289 \end_layout
27290
27291 \end_inset
27292
27293
27294 \series bold
27295 Xfig
27296 \series default
27297
27298 \begin_inset ERT
27299 status collapsed
27300
27301 \begin_layout Standard
27302
27303 }
27304 \end_layout
27305
27306 \end_inset
27307
27308 .
27309 \end_layout
27310
27311 \begin_layout Standard
27312 \begin_inset Float table
27313 placement h
27314 wide false
27315 sideways false
27316 status open
27317
27318 \begin_layout Standard
27319 \begin_inset Caption
27320
27321 \begin_layout Standard
27322 \begin_inset LatexCommand label
27323 name "tab:Comparison-of-the"
27324
27325 \end_inset
27326
27327 Comparison of the date input methods.
27328 \end_layout
27329
27330 \end_inset
27331
27332
27333 \end_layout
27334
27335 \begin_layout Standard
27336 \align center
27337 \begin_inset Tabular
27338 <lyxtabular version="3" rows="4" columns="4">
27339 <features>
27340 <column alignment="center" valignment="top" leftline="true" width="0">
27341 <column alignment="center" valignment="top" leftline="true" width="0">
27342 <column alignment="center" valignment="top" leftline="true" width="0">
27343 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
27344 <row topline="true">
27345 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27346 \begin_inset Text
27347
27348 \begin_layout Standard
27349 Document format
27350 \end_layout
27351
27352 \end_inset
27353 </cell>
27354 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27355 \begin_inset Text
27356
27357 \begin_layout Standard
27358
27359 \family sans
27360 External Material\SpecialChar \menuseparator
27361 Date
27362 \end_layout
27363
27364 \end_inset
27365 </cell>
27366 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27367 \begin_inset Text
27368
27369 \begin_layout Standard
27370
27371 \family sans
27372 Insert\SpecialChar \menuseparator
27373 Date
27374 \end_layout
27375
27376 \end_inset
27377 </cell>
27378 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27379 \begin_inset Text
27380
27381 \begin_layout Standard
27382 command 
27383 \series bold
27384
27385 \backslash
27386 today
27387 \end_layout
27388
27389 \end_inset
27390 </cell>
27391 </row>
27392 <row topline="true">
27393 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27394 \begin_inset Text
27395
27396 \begin_layout Standard
27397 LyX
27398 \end_layout
27399
27400 \end_inset
27401 </cell>
27402 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27403 \begin_inset Text
27404
27405 \begin_layout Standard
27406 as inset box
27407 \end_layout
27408
27409 \end_inset
27410 </cell>
27411 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27412 \begin_inset Text
27413
27414 \begin_layout Standard
27415 as date
27416 \end_layout
27417
27418 \end_inset
27419 </cell>
27420 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27421 \begin_inset Text
27422
27423 \begin_layout Standard
27424 as ERT inset box
27425 \end_layout
27426
27427 \end_inset
27428 </cell>
27429 </row>
27430 <row topline="true">
27431 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27432 \begin_inset Text
27433
27434 \begin_layout Standard
27435 LaTeX
27436 \end_layout
27437
27438 \end_inset
27439 </cell>
27440 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27441 \begin_inset Text
27442
27443 \begin_layout Standard
27444 as date
27445 \end_layout
27446
27447 \end_inset
27448 </cell>
27449 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27450 \begin_inset Text
27451
27452 \begin_layout Standard
27453 as date
27454 \end_layout
27455
27456 \end_inset
27457 </cell>
27458 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27459 \begin_inset Text
27460
27461 \begin_layout Standard
27462 as command
27463 \end_layout
27464
27465 \end_inset
27466 </cell>
27467 </row>
27468 <row topline="true" bottomline="true">
27469 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27470 \begin_inset Text
27471
27472 \begin_layout Standard
27473 DVI, PDF, PS
27474 \end_layout
27475
27476 \end_inset
27477 </cell>
27478 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27479 \begin_inset Text
27480
27481 \begin_layout Standard
27482 as date
27483 \end_layout
27484
27485 \end_inset
27486 </cell>
27487 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27488 \begin_inset Text
27489
27490 \begin_layout Standard
27491 as date
27492 \end_layout
27493
27494 \end_inset
27495 </cell>
27496 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27497 \begin_inset Text
27498
27499 \begin_layout Standard
27500 as date
27501 \end_layout
27502
27503 \end_inset
27504 </cell>
27505 </row>
27506 </lyxtabular>
27507
27508 \end_inset
27509
27510
27511 \end_layout
27512
27513 \end_inset
27514
27515
27516 \end_layout
27517
27518 \begin_layout Standard
27519 When you use the option 
27520 \family sans
27521 Draft
27522 \family default
27523  in the 
27524 \family sans
27525 File
27526 \family default
27527  tab of the 
27528 \family sans
27529 External Material
27530 \family default
27531  dialog, only the path to the inserted file is shown in the output.
27532 \newline
27533 External
27534  material is displayed in LyX either as box like this: 
27535 \begin_inset Graphics
27536         filename clipart/ExternalMaterialQt4.png
27537         scale 85
27538
27539 \end_inset
27540
27541  or as image, depending on the setting in the 
27542 \family sans
27543 LyX\InsetSpace ~
27544 View
27545 \family default
27546  tab of the 
27547 \family sans
27548 External Material
27549 \family default
27550  dialog.
27551 \end_layout
27552
27553 \begin_layout Standard
27554 The 
27555 \family sans
27556 \emph on
27557 Customization
27558 \family default
27559 \emph default
27560  manual explains how you can define your own templates.
27561 \end_layout
27562
27563 \begin_layout Section
27564 Child Documents
27565 \begin_inset LatexCommand index
27566 name "External Stuff ! Child Documents"
27567
27568 \end_inset
27569
27570
27571 \begin_inset LatexCommand index
27572 name "Files ! Include"
27573
27574 \end_inset
27575
27576
27577 \end_layout
27578
27579 \begin_layout Standard
27580 Child documents are used when you have a long document consisting of several
27581  larger parts or sections.
27582  For maintenance it is often useful and sometimes even required to split
27583  the document in several files that can be revised separately.
27584  The different documents are then the so called child documents and a master
27585  document connects them to print the full document or parts of it.
27586 \end_layout
27587
27588 \begin_layout Standard
27589 Included documents are displayed in LyX as a box like this: 
27590 \begin_inset Graphics
27591         filename clipart/ChildDocumentQt4.png
27592         scale 85
27593
27594 \end_inset
27595
27596  To include child documents to a master document use the menu 
27597 \family sans
27598 Insert\SpecialChar \menuseparator
27599 File\SpecialChar \menuseparator
27600 Child\InsetSpace ~
27601 Documents
27602 \family default
27603 .
27604  A dialog pops up where you can choose between three include methods:
27605 \end_layout
27606
27607 \begin_layout Description
27608 Include You can include LyX and LaTeX-documents.
27609  When you press the 
27610 \family sans
27611 Load
27612 \family default
27613  button in the 
27614 \family sans
27615 Child Document
27616 \family default
27617  dialog, the included documents will be opened in LyX in a new file tab
27618  so that you can modify it.
27619 \newline
27620
27621 \end_layout
27622
27623 \begin_layout Standard
27624 Here is a child document inserted using 
27625 \family sans
27626 Include
27627 \family default
27628
27629 \begin_inset Include \include{DummyDocument1.lyx}
27630 preview false
27631
27632 \end_inset
27633
27634
27635 \end_layout
27636
27637 \begin_layout Standard
27638 The section numbering includes the sections of the included files in the
27639  order they are inserted in the master document.
27640  The included example document has for example a subsection that is numbered
27641  as subsection of this section.
27642  Labels of included documents can be referenced: Subsection\InsetSpace ~
27643
27644 \begin_inset LatexCommand ref
27645 reference "sub:External-Subsection-1"
27646
27647 \end_inset
27648
27649
27650 \end_layout
27651
27652 \begin_layout Standard
27653 The preamble of the child document is ignored, only the preamble of the
27654  master document is used.
27655  Included documents are inserted starting on a new page and end with a pagebreak.
27656 \end_layout
27657
27658 \begin_layout Standard
27659 With the LaTeX-command 
27660 \series bold
27661
27662 \backslash
27663 includeonly 
27664 \series default
27665 you can specify which included child documents are processed when the output
27666  is generated.
27667  This is useful when you are perhaps only working on a certain chapter of
27668  your large document as this saves compiling time.
27669  
27670 \series bold
27671
27672 \backslash
27673 includeonly
27674 \series default
27675  is inserted to the master document preamble.
27676  It takes a comma-separated list of the filenames as argument, e.g.
27677 \end_layout
27678
27679 \begin_layout Standard
27680
27681 \series bold
27682
27683 \backslash
27684 includeonly{chapter1,chapter5}
27685 \end_layout
27686
27687 \begin_layout Standard
27688 will only process the included files named 
27689 \begin_inset Quotes eld
27690 \end_inset
27691
27692 chapter1.lyx
27693 \begin_inset Quotes erd
27694 \end_inset
27695
27696  (or 
27697 \begin_inset Quotes eld
27698 \end_inset
27699
27700 chapter1.tex
27701 \begin_inset Quotes erd
27702 \end_inset
27703
27704 ) and 
27705 \begin_inset Quotes eld
27706 \end_inset
27707
27708 chapter5.lyx
27709 \begin_inset Quotes erd
27710 \end_inset
27711
27712  .
27713 \end_layout
27714
27715 \begin_layout Standard
27716 \begin_inset Note Greyedout
27717 status open
27718
27719 \begin_layout Standard
27720
27721 \series bold
27722 Note:
27723 \series default
27724  When you have included a LyX- or LaTeX-file, you are warned when you export/vie
27725 w the document in case that the child document uses another document class
27726  than the master document as this will lead to unexpected outputs.
27727 \end_layout
27728
27729 \end_inset
27730
27731
27732 \end_layout
27733
27734 \begin_layout Description
27735 Input This method is very similar to the Include method.
27736  The differences are:
27737 \end_layout
27738
27739 \begin_deeper
27740 \begin_layout Itemize
27741 Input files don't start with a new page and don't end with a pagebreak.
27742 \end_layout
27743
27744 \begin_layout Itemize
27745 Input files can be previewed in LyX when 
27746 \family sans
27747 Instant\InsetSpace ~
27748 Preview
27749 \family default
27750  is enabled in LyX's preferences under 
27751 \family sans
27752 Look\InsetSpace ~
27753 and\InsetSpace ~
27754 feel\SpecialChar \menuseparator
27755 Graphics
27756 \family default
27757 .
27758 \end_layout
27759
27760 \begin_layout Itemize
27761 The LaTeX-command 
27762 \series bold
27763
27764 \backslash
27765 includeonly
27766 \series default
27767  cannot be used.
27768 \end_layout
27769
27770 \end_deeper
27771 \begin_layout Standard
27772 Here is a child document inserted using 
27773 \family sans
27774 Input
27775 \family default
27776
27777 \begin_inset Include \input{DummyDocument2.lyx}
27778 preview true
27779
27780 \end_inset
27781
27782
27783 \end_layout
27784
27785 \begin_layout Description
27786 Verbatim With this method every text file can be included.
27787  The file is shown in the output with its source code, no command used in
27788  the text is invoked.
27789  You can use the option 
27790 \family sans
27791 Mark spaces in output
27792 \family default
27793  that displays the character 
27794 \begin_inset Quotes eld
27795 \end_inset
27796
27797
27798 \begin_inset ERT
27799 status collapsed
27800
27801 \begin_layout Standard
27802
27803
27804 \backslash
27805 textvisiblespace 
27806 \end_layout
27807
27808 \end_inset
27809
27810
27811 \begin_inset Quotes erd
27812 \end_inset
27813
27814  for every space character in the source code.
27815  The difference to the method via the menu 
27816 \family sans
27817 Insert\SpecialChar \menuseparator
27818 File\SpecialChar \menuseparator
27819 Plain\InsetSpace ~
27820 Text
27821 \family default
27822  is that the document content is not shown in LyX.
27823 \end_layout
27824
27825 \begin_layout Standard
27826 Here is a child document inserted as Verbatim: 
27827 \begin_inset Include \verbatiminput{DummyTextDocument.txt}
27828 preview false
27829
27830 \end_inset
27831
27832
27833 \begin_inset VSpace bigskip
27834 \end_inset
27835
27836 Here is a child document inserted as Verbatim using the 
27837 \family sans
27838 Mark spaces in output
27839 \family default
27840  option: 
27841 \begin_inset Include \verbatiminput*{DummyTextDocument.txt}
27842 preview false
27843
27844 \end_inset
27845
27846
27847 \end_layout
27848
27849 \begin_layout Standard
27850 \begin_inset VSpace bigskip
27851 \end_inset
27852
27853
27854 \end_layout
27855
27856 \begin_layout Standard
27857 \begin_inset Note Greyedout
27858 status open
27859
27860 \begin_layout Standard
27861
27862 \series bold
27863 Note:
27864 \series default
27865  As you can see in the examples above, the text of the documents included
27866  as verbatim is not broken at the end of the document lines.
27867 \end_layout
27868
27869 \end_inset
27870
27871
27872 \end_layout
27873
27874 \begin_layout Standard
27875 \begin_inset Note Greyedout
27876 status open
27877
27878 \begin_layout Standard
27879
27880 \series bold
27881 Note:
27882 \series default
27883  Including the same document twice in a document using different methods
27884  could cause LaTeX-problems.
27885 \end_layout
27886
27887 \end_inset
27888
27889
27890 \end_layout
27891
27892 \begin_layout Standard
27893
27894 \newpage
27895
27896 \end_layout
27897
27898 \begin_layout Chapter
27899 \start_of_appendix
27900 Units available in 
27901 \begin_inset ERT
27902 status collapsed
27903
27904 \begin_layout Standard
27905
27906
27907 \backslash
27908 texorpdfstring{
27909 \end_layout
27910
27911 \end_inset
27912
27913 LyX
27914 \begin_inset ERT
27915 status collapsed
27916
27917 \begin_layout Standard
27918
27919 }{LyX}
27920 \end_layout
27921
27922 \end_inset
27923
27924
27925 \begin_inset LatexCommand index
27926 name "Units"
27927
27928 \end_inset
27929
27930
27931 \begin_inset LatexCommand label
27932 name "cha:Units-available-in"
27933
27934 \end_inset
27935
27936
27937 \begin_inset Note Note
27938 status collapsed
27939
27940 \begin_layout Standard
27941 The command 
27942 \backslash
27943 texorpdfstring is provided by the LaTeX-package hyperref to avoid that ligatures
27944  are displayed wrongly in PDF-bookmarks.
27945  For more information about this, have a look at 
27946 \begin_inset LatexCommand cite
27947 key "hyperref"
27948
27949 \end_inset
27950
27951 .
27952 \end_layout
27953
27954 \end_inset
27955
27956
27957 \end_layout
27958
27959 \begin_layout Standard
27960 To understand the units described in this documentation, Table\InsetSpace ~
27961
27962 \begin_inset LatexCommand ref
27963 reference "tab:Units"
27964
27965 \end_inset
27966
27967  explains all units available in LyX.
27968 \end_layout
27969
27970 \begin_layout Standard
27971 \begin_inset Float table
27972 placement h
27973 wide false
27974 sideways false
27975 status open
27976
27977 \begin_layout Standard
27978 \begin_inset Caption
27979
27980 \begin_layout Standard
27981 \begin_inset LatexCommand label
27982 name "tab:Units"
27983
27984 \end_inset
27985
27986 Units
27987 \end_layout
27988
27989 \end_inset
27990
27991
27992 \end_layout
27993
27994 \begin_layout Standard
27995 \begin_inset VSpace medskip
27996 \end_inset
27997
27998
27999 \end_layout
28000
28001 \begin_layout Standard
28002 \align center
28003 \begin_inset Tabular
28004 <lyxtabular version="3" rows="20" columns="2">
28005 <features>
28006 <column alignment="center" valignment="top" leftline="true" width="0">
28007 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
28008 <row topline="true" bottomline="true">
28009 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28010 \begin_inset Text
28011
28012 \begin_layout Standard
28013 unit
28014 \end_layout
28015
28016 \end_inset
28017 </cell>
28018 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28019 \begin_inset Text
28020
28021 \begin_layout Standard
28022 name/description
28023 \end_layout
28024
28025 \end_inset
28026 </cell>
28027 </row>
28028 <row topline="true">
28029 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28030 \begin_inset Text
28031
28032 \begin_layout Standard
28033 mm
28034 \end_layout
28035
28036 \end_inset
28037 </cell>
28038 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28039 \begin_inset Text
28040
28041 \begin_layout Standard
28042 millimeter
28043 \end_layout
28044
28045 \end_inset
28046 </cell>
28047 </row>
28048 <row topline="true">
28049 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28050 \begin_inset Text
28051
28052 \begin_layout Standard
28053 cm
28054 \end_layout
28055
28056 \end_inset
28057 </cell>
28058 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28059 \begin_inset Text
28060
28061 \begin_layout Standard
28062 centimeter
28063 \end_layout
28064
28065 \end_inset
28066 </cell>
28067 </row>
28068 <row topline="true">
28069 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28070 \begin_inset Text
28071
28072 \begin_layout Standard
28073 in
28074 \end_layout
28075
28076 \end_inset
28077 </cell>
28078 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28079 \begin_inset Text
28080
28081 \begin_layout Standard
28082 inch
28083 \end_layout
28084
28085 \end_inset
28086 </cell>
28087 </row>
28088 <row topline="true">
28089 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28090 \begin_inset Text
28091
28092 \begin_layout Standard
28093 pt
28094 \end_layout
28095
28096 \end_inset
28097 </cell>
28098 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28099 \begin_inset Text
28100
28101 \begin_layout Standard
28102 point (72.27\InsetSpace \thinspace{}
28103 pt = 1\InsetSpace \thinspace{}
28104 in)
28105 \end_layout
28106
28107 \end_inset
28108 </cell>
28109 </row>
28110 <row topline="true">
28111 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28112 \begin_inset Text
28113
28114 \begin_layout Standard
28115 pc
28116 \end_layout
28117
28118 \end_inset
28119 </cell>
28120 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28121 \begin_inset Text
28122
28123 \begin_layout Standard
28124 pica (1\InsetSpace \thinspace{}
28125 pc = 12\InsetSpace \thinspace{}
28126 pt)
28127 \end_layout
28128
28129 \end_inset
28130 </cell>
28131 </row>
28132 <row topline="true">
28133 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28134 \begin_inset Text
28135
28136 \begin_layout Standard
28137 sp
28138 \end_layout
28139
28140 \end_inset
28141 </cell>
28142 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28143 \begin_inset Text
28144
28145 \begin_layout Standard
28146 scaled point (65536\InsetSpace \thinspace{}
28147 sp = 1\InsetSpace \thinspace{}
28148 pt)
28149 \end_layout
28150
28151 \end_inset
28152 </cell>
28153 </row>
28154 <row topline="true">
28155 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28156 \begin_inset Text
28157
28158 \begin_layout Standard
28159 bp
28160 \end_layout
28161
28162 \end_inset
28163 </cell>
28164 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28165 \begin_inset Text
28166
28167 \begin_layout Standard
28168 big point (72\InsetSpace \thinspace{}
28169 bp = 1\InsetSpace \thinspace{}
28170 in)
28171 \end_layout
28172
28173 \end_inset
28174 </cell>
28175 </row>
28176 <row topline="true">
28177 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28178 \begin_inset Text
28179
28180 \begin_layout Standard
28181 dd
28182 \end_layout
28183
28184 \end_inset
28185 </cell>
28186 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28187 \begin_inset Text
28188
28189 \begin_layout Standard
28190 didot (72\InsetSpace \thinspace{}
28191 dd 
28192 \begin_inset Formula $\approx$
28193 \end_inset
28194
28195  37.6\InsetSpace \thinspace{}
28196 mm)
28197 \end_layout
28198
28199 \end_inset
28200 </cell>
28201 </row>
28202 <row topline="true">
28203 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28204 \begin_inset Text
28205
28206 \begin_layout Standard
28207 cc
28208 \end_layout
28209
28210 \end_inset
28211 </cell>
28212 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28213 \begin_inset Text
28214
28215 \begin_layout Standard
28216 cicero (1\InsetSpace \thinspace{}
28217 cc = 12\InsetSpace \thinspace{}
28218 dd)
28219 \end_layout
28220
28221 \end_inset
28222 </cell>
28223 </row>
28224 <row topline="true">
28225 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28226 \begin_inset Text
28227
28228 \begin_layout Standard
28229 Scale%
28230 \end_layout
28231
28232 \end_inset
28233 </cell>
28234 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28235 \begin_inset Text
28236
28237 \begin_layout Standard
28238 % of original image width
28239 \end_layout
28240
28241 \end_inset
28242 </cell>
28243 </row>
28244 <row topline="true">
28245 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28246 \begin_inset Text
28247
28248 \begin_layout Standard
28249 text%
28250 \end_layout
28251
28252 \end_inset
28253 </cell>
28254 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28255 \begin_inset Text
28256
28257 \begin_layout Standard
28258 % of text width
28259 \end_layout
28260
28261 \end_inset
28262 </cell>
28263 </row>
28264 <row topline="true">
28265 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28266 \begin_inset Text
28267
28268 \begin_layout Standard
28269 col%
28270 \end_layout
28271
28272 \end_inset
28273 </cell>
28274 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28275 \begin_inset Text
28276
28277 \begin_layout Standard
28278 % of column width
28279 \end_layout
28280
28281 \end_inset
28282 </cell>
28283 </row>
28284 <row topline="true">
28285 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28286 \begin_inset Text
28287
28288 \begin_layout Standard
28289 page%
28290 \end_layout
28291
28292 \end_inset
28293 </cell>
28294 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28295 \begin_inset Text
28296
28297 \begin_layout Standard
28298 % of paper width
28299 \end_layout
28300
28301 \end_inset
28302 </cell>
28303 </row>
28304 <row topline="true">
28305 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28306 \begin_inset Text
28307
28308 \begin_layout Standard
28309 line%
28310 \end_layout
28311
28312 \end_inset
28313 </cell>
28314 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28315 \begin_inset Text
28316
28317 \begin_layout Standard
28318 % of line width
28319 \end_layout
28320
28321 \end_inset
28322 </cell>
28323 </row>
28324 <row topline="true">
28325 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28326 \begin_inset Text
28327
28328 \begin_layout Standard
28329 theight%
28330 \end_layout
28331
28332 \end_inset
28333 </cell>
28334 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28335 \begin_inset Text
28336
28337 \begin_layout Standard
28338 % of text height
28339 \end_layout
28340
28341 \end_inset
28342 </cell>
28343 </row>
28344 <row topline="true">
28345 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28346 \begin_inset Text
28347
28348 \begin_layout Standard
28349 pheight%
28350 \end_layout
28351
28352 \end_inset
28353 </cell>
28354 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28355 \begin_inset Text
28356
28357 \begin_layout Standard
28358 % of paper height
28359 \end_layout
28360
28361 \end_inset
28362 </cell>
28363 </row>
28364 <row topline="true">
28365 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28366 \begin_inset Text
28367
28368 \begin_layout Standard
28369 ex
28370 \end_layout
28371
28372 \end_inset
28373 </cell>
28374 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28375 \begin_inset Text
28376
28377 \begin_layout Standard
28378 height of letter 
28379 \emph on
28380 x
28381 \emph default
28382  in current font
28383 \end_layout
28384
28385 \end_inset
28386 </cell>
28387 </row>
28388 <row topline="true">
28389 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28390 \begin_inset Text
28391
28392 \begin_layout Standard
28393 em
28394 \end_layout
28395
28396 \end_inset
28397 </cell>
28398 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28399 \begin_inset Text
28400
28401 \begin_layout Standard
28402 width of letter 
28403 \emph on
28404 M
28405 \emph default
28406  in current font
28407 \end_layout
28408
28409 \end_inset
28410 </cell>
28411 </row>
28412 <row topline="true" bottomline="true">
28413 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28414 \begin_inset Text
28415
28416 \begin_layout Standard
28417 mu
28418 \end_layout
28419
28420 \end_inset
28421 </cell>
28422 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28423 \begin_inset Text
28424
28425 \begin_layout Standard
28426 math unit (1\InsetSpace \thinspace{}
28427 mu = 1/18\InsetSpace \thinspace{}
28428 em)
28429 \end_layout
28430
28431 \end_inset
28432 </cell>
28433 </row>
28434 </lyxtabular>
28435
28436 \end_inset
28437
28438
28439 \end_layout
28440
28441 \end_inset
28442
28443
28444 \end_layout
28445
28446 \begin_layout Chapter
28447 Output File Formats with Graphics
28448 \begin_inset LatexCommand label
28449 name "cha:Output-File-Formats"
28450
28451 \end_inset
28452
28453
28454 \end_layout
28455
28456 \begin_layout Section
28457 DVI
28458 \begin_inset LatexCommand index
28459 name "File Formats ! DVI"
28460
28461 \end_inset
28462
28463
28464 \begin_inset LatexCommand index
28465 name "DVI|see{File Formats}"
28466
28467 \end_inset
28468
28469
28470 \end_layout
28471
28472 \begin_layout Standard
28473 This file type has the extension 
28474 \begin_inset Quotes eld
28475 \end_inset
28476
28477
28478 \family typewriter
28479 .dvi
28480 \family default
28481
28482 \begin_inset Quotes erd
28483 \end_inset
28484
28485 .
28486  It is called 
28487 \begin_inset Quotes eld
28488 \end_inset
28489
28490 device-independent
28491 \begin_inset Quotes erd
28492 \end_inset
28493
28494  (DVI), because it is completely portable; you can move them from one machine
28495  to another without needing to do any sort of conversion.
28496  At the time when this file-format was developed, this was no matter of
28497  course.
28498  DVIs are used for quick previews and as pre-stage for other output formats,
28499  like PostScript.
28500 \end_layout
28501
28502 \begin_layout Standard
28503 \begin_inset Note Greyedout
28504 status open
28505
28506 \begin_layout Standard
28507
28508 \series bold
28509 Note:
28510 \series default
28511  DVI-files doesn't contain images, they will only be a linked.
28512 \end_layout
28513
28514 \end_inset
28515
28516  So don't forget this, if you move your 
28517 \family typewriter
28518 .dvi
28519 \family default
28520  file to another computer.
28521  This property can also slow down your computer when you view the DVI.
28522  Because the DVI-viewer has to convert the image in the background to make
28523  it visible when you scroll in the DVI.
28524  So we recommend to use PDF for files with many images.
28525 \end_layout
28526
28527 \begin_layout Standard
28528 You can export your document to DVI by using the menu 
28529 \family sans
28530 File\SpecialChar \menuseparator
28531 Export\SpecialChar \menuseparator
28532 DVI
28533 \family default
28534 .
28535  You can view your document as DVI via the 
28536 \family sans
28537 View
28538 \family default
28539  menu or by using the toolbar button 
28540 \begin_inset Graphics
28541         filename ../images/buffer-view_dvi.xpm
28542         scale 85
28543
28544 \end_inset
28545
28546 .
28547 \end_layout
28548
28549 \begin_layout Section
28550 PostScript
28551 \begin_inset LatexCommand label
28552 name "sec:PostScript"
28553
28554 \end_inset
28555
28556
28557 \begin_inset LatexCommand index
28558 name "File Formats ! PostScript"
28559
28560 \end_inset
28561
28562
28563 \begin_inset LatexCommand index
28564 name "PostScript|see{File Formats}"
28565
28566 \end_inset
28567
28568
28569 \end_layout
28570
28571 \begin_layout Standard
28572 This file type has the extension 
28573 \begin_inset Quotes eld
28574 \end_inset
28575
28576
28577 \family typewriter
28578 .ps
28579 \family default
28580
28581 \begin_inset Quotes erd
28582 \end_inset
28583
28584 .
28585  PostScript was developed by the company 
28586 \family typewriter
28587 Adobe
28588 \family default
28589  as printer language.
28590  The file contains therefore commands that the printer uses to print the
28591  file.
28592  PostScript can be seen as 
28593 \begin_inset Quotes eld
28594 \end_inset
28595
28596 programming language
28597 \begin_inset Quotes erd
28598 \end_inset
28599
28600 ; you can calculate with it and draw diagrams and images
28601 \begin_inset Foot
28602 status collapsed
28603
28604 \begin_layout Standard
28605 If you are interested to learn more about this, have a look at the LaTeX-package
28606  
28607 \series bold
28608 PSTricks
28609 \series default
28610  
28611 \begin_inset LatexCommand cite
28612 key "pstricks"
28613
28614 \end_inset
28615
28616 .
28617 \end_layout
28618
28619 \end_inset
28620
28621 .
28622  Due to this ability, the files are often bigger than PDFs.
28623 \end_layout
28624
28625 \begin_layout Standard
28626 PostScript can only contain images in the format 
28627 \begin_inset Quotes eld
28628 \end_inset
28629
28630 Encapsulated PostScript
28631 \begin_inset Quotes erd
28632 \end_inset
28633
28634  (EPS, file extension 
28635 \begin_inset Quotes eld
28636 \end_inset
28637
28638
28639 \family typewriter
28640 .eps
28641 \family default
28642
28643 \begin_inset Quotes erd
28644 \end_inset
28645
28646 ).
28647  As LyX allows you to use any known image format in your document, it has
28648  to convert images in the background to EPS.
28649  If you have e.g 50 images in your document, LyX has to do 50 conversions
28650  whenever you view or export your document.
28651  This will slow down your work flow with LyX drastically.
28652  So if you plan to use PostScript, you can insert your images directly as
28653  EPS to avoid this problem.
28654 \end_layout
28655
28656 \begin_layout Standard
28657 You can export your document to PostScript using the menu 
28658 \family sans
28659 File\SpecialChar \menuseparator
28660 Export\SpecialChar \menuseparator
28661 Postscript
28662 \family default
28663 .
28664  You can view your document as PostScript via the 
28665 \family sans
28666 View
28667 \family default
28668  menu or by using the toolbar button 
28669 \begin_inset Graphics
28670         filename ../images/buffer-view_ps.xpm
28671         scale 85
28672
28673 \end_inset
28674
28675 .
28676 \end_layout
28677
28678 \begin_layout Section
28679 PDF
28680 \begin_inset LatexCommand label
28681 name "sec:PDF"
28682
28683 \end_inset
28684
28685
28686 \begin_inset LatexCommand index
28687 name "File Formats ! PDF"
28688
28689 \end_inset
28690
28691
28692 \begin_inset LatexCommand index
28693 name "PDF"
28694
28695 \end_inset
28696
28697
28698 \end_layout
28699
28700 \begin_layout Standard
28701 This file type has the extension 
28702 \begin_inset Quotes eld
28703 \end_inset
28704
28705
28706 \family typewriter
28707 .pdf
28708 \family default
28709
28710 \begin_inset Quotes erd
28711 \end_inset
28712
28713 .
28714  The 
28715 \begin_inset Quotes eld
28716 \end_inset
28717
28718 Portable Document Format
28719 \begin_inset Quotes erd
28720 \end_inset
28721
28722  (PDF) is developed by 
28723 \family typewriter
28724 Adobe
28725 \family default
28726  as derivative from PostScript.
28727  It is more compressed and it uses much less commands than PostScript.
28728  As the name 
28729 \begin_inset Quotes eld
28730 \end_inset
28731
28732 portable
28733 \begin_inset Quotes erd
28734 \end_inset
28735
28736  implies, it can be processed at any computer system and the printed output
28737  looks exactly the same.
28738 \end_layout
28739
28740 \begin_layout Standard
28741 PDF can contain images in its own PDF format, in the format 
28742 \begin_inset Quotes eld
28743 \end_inset
28744
28745 Joint Photographic Experts Group
28746 \begin_inset Quotes erd
28747 \end_inset
28748
28749  (JPG, file extension 
28750 \begin_inset Quotes eld
28751 \end_inset
28752
28753
28754 \family typewriter
28755 .jpg
28756 \family default
28757
28758 \begin_inset Quotes erd
28759 \end_inset
28760
28761  or 
28762 \begin_inset Quotes eld
28763 \end_inset
28764
28765
28766 \family typewriter
28767 .jpeg
28768 \family default
28769
28770 \begin_inset Quotes erd
28771 \end_inset
28772
28773 ), and in the format 
28774 \begin_inset Quotes eld
28775 \end_inset
28776
28777 Portable Network Graphics
28778 \begin_inset Quotes erd
28779 \end_inset
28780
28781  (PNG, file extension 
28782 \begin_inset Quotes eld
28783 \end_inset
28784
28785
28786 \family typewriter
28787 .png
28788 \family default
28789
28790 \begin_inset Quotes erd
28791 \end_inset
28792
28793 ).
28794  You can although use any other image format, because LyX converts them
28795  in the background to one of these formats.
28796  But as described in the section about PostScript, the image conversion
28797  will slow down your work flow.
28798  So it is recommended to use images in one of the three mentioned formats.
28799 \end_layout
28800
28801 \begin_layout Standard
28802 You can export your document to PDF via the menu 
28803 \family sans
28804 File\SpecialChar \menuseparator
28805 Export
28806 \family default
28807  in three different ways:
28808 \end_layout
28809
28810 \begin_layout Description
28811 PDF This uses the program 
28812 \family typewriter
28813 ps2pdf
28814 \family default
28815  that creates a PDF from a PostScript-version of your file.
28816  The PostScript-version is produced by the program 
28817 \family typewriter
28818 dvips
28819 \family default
28820  which uses a DVI-version as intermediate step.
28821  So this export variant consist of three conversions.
28822 \end_layout
28823
28824 \begin_layout Description
28825 PDF\InsetSpace ~
28826 (dvipdfm) This uses the program 
28827 \family typewriter
28828 dvipdfm
28829 \family default
28830  that converts your file in the background to DVI and in a second step to
28831  PDF.
28832 \end_layout
28833
28834 \begin_layout Description
28835 PDF\InsetSpace ~
28836 (pdflatex) This uses the program 
28837 \family typewriter
28838 pdftex
28839 \family default
28840  that converts your file directly to PDF.
28841 \end_layout
28842
28843 \begin_layout Standard
28844 It is recommended to use 
28845 \family sans
28846 PDF\InsetSpace ~
28847 (pdflatex)
28848 \family default
28849  because 
28850 \family typewriter
28851 pdftex
28852 \family default
28853  supports all features of actual PDF-versions, is quick and works stable
28854  without problems.
28855  The program 
28856 \family typewriter
28857 dvipdfm
28858 \family default
28859  is not under development and therefore a bit outdated.
28860 \end_layout
28861
28862 \begin_layout Standard
28863 You can view your document as PDF via the 
28864 \family sans
28865 View
28866 \family default
28867  menu or by using the toolbar button 
28868 \begin_inset Graphics
28869         filename ../images/buffer-view_pdf2.xpm
28870         scale 85
28871
28872 \end_inset
28873
28874  
28875 \family sans
28876 (
28877 \family default
28878 that uses 
28879 \family sans
28880 PDF\InsetSpace ~
28881 (pdflatex)
28882 \family default
28883 ).
28884 \end_layout
28885
28886 \begin_layout Chapter
28887 Explanation of Equation\InsetSpace ~
28888
28889 \begin_inset LatexCommand eqref
28890 reference "eq:Wgn"
28891
28892 \end_inset
28893
28894
28895 \begin_inset LatexCommand label
28896 name "cha:Explanation-of-Equation"
28897
28898 \end_inset
28899
28900
28901 \end_layout
28902
28903 \begin_layout Standard
28904 The total width of 
28905 \emph on
28906 n
28907 \emph default
28908  table cells 
28909 \begin_inset Formula $W_{\mathrm{tot\, n}}$
28910 \end_inset
28911
28912  can be calculated to
28913 \end_layout
28914
28915 \begin_layout Standard
28916 \begin_inset Formula \begin{equation}
28917 W_{\mathrm{tot}\, n}=n·(W_{g\, n}+2·\backslash\mbox{tabcolsep})+(n+1)·\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}\end{equation}
28918
28919 \end_inset
28920
28921
28922 \end_layout
28923
28924 \begin_layout Standard
28925 Where 
28926 \begin_inset Formula $W_{g\, n}$
28927 \end_inset
28928
28929  is the given width of all cells.
28930  
28931 \series bold
28932
28933 \backslash
28934 tabcolsep
28935 \series default
28936  is the LaTeX-length between the cell text and the cell border, its default
28937  value is 6\InsetSpace \thinspace{}
28938 pt.
28939  
28940 \series bold
28941
28942 \backslash
28943 arrayrulewidth
28944 \series default
28945  is the thickness of the cell border line, the default is 0.4\InsetSpace \thinspace{}
28946 pt.
28947 \end_layout
28948
28949 \begin_layout Standard
28950 Following equation\InsetSpace ~
28951
28952 \begin_inset LatexCommand eqref
28953 reference "eq:Wtot_n"
28954
28955 \end_inset
28956
28957 , the total width of a multicolumn 
28958 \begin_inset Formula $W_{\mathrm{tot\, mult}}$
28959 \end_inset
28960
28961  is
28962 \end_layout
28963
28964 \begin_layout Standard
28965 \begin_inset Formula \begin{equation}
28966 W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2·\backslash\mbox{tabcolsep}+2·\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}\end{equation}
28967
28968 \end_inset
28969
28970
28971 \end_layout
28972
28973 \begin_layout Standard
28974 By setting equation\InsetSpace ~
28975
28976 \begin_inset LatexCommand eqref
28977 reference "eq:Wtot_n"
28978
28979 \end_inset
28980
28981  and 
28982 \begin_inset LatexCommand eqref
28983 reference "eq:Wtot_mult"
28984
28985 \end_inset
28986
28987  equal we can calculate the needed given width 
28988 \begin_inset Formula $W_{g\, n}$
28989 \end_inset
28990
28991  when 
28992 \emph on
28993 n
28994 \emph default
28995  columns are spanned, so that each column has a total width of 
28996 \begin_inset Formula $W_{\mathrm{tot\, mult}}/n$
28997 \end_inset
28998
28999 :
29000 \end_layout
29001
29002 \begin_layout Standard
29003 \begin_inset Formula \begin{equation}
29004 W_{g\, n}=(W_{g\,\mathrm{mult}}+(1-n)·(2·\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}))/n\end{equation}
29005
29006 \end_inset
29007
29008
29009 \end_layout
29010
29011 \begin_layout Bibliography
29012 \begin_inset LatexCommand bibitem
29013 key "latexcompanion"
29014
29015 \end_inset
29016
29017 Frank Mittelbach and Michel Goossens: 
29018 \emph on
29019 The LaTeX Companion Second Edition.
29020
29021 \emph default
29022  Addison-Wesley, 2004
29023 \end_layout
29024
29025 \begin_layout Bibliography
29026 \begin_inset LatexCommand bibitem
29027 key "latexguide"
29028
29029 \end_inset
29030
29031 Helmut Kopka and Patrick W.
29032  Daly: 
29033 \emph on
29034 A Guide to LaTeX Fourth Edition.
29035
29036 \emph default
29037  Addison-Wesley, 2003
29038 \end_layout
29039
29040 \begin_layout Bibliography
29041 \begin_inset LatexCommand bibitem
29042 key "latexbook"
29043
29044 \end_inset
29045
29046 Leslie Lamport: 
29047 \emph on
29048 LaTeX: A Document Preparation System.
29049
29050 \emph default
29051  Addison-Wesley, second edition, 1994
29052 \end_layout
29053
29054 \begin_layout Bibliography
29055 \begin_inset LatexCommand bibitem
29056 key "booktabs"
29057
29058 \end_inset
29059
29060
29061 \begin_inset ERT
29062 status collapsed
29063
29064 \begin_layout Standard
29065
29066
29067 \backslash
29068 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf}
29069 {
29070 \end_layout
29071
29072 \end_inset
29073
29074 Documentation
29075 \begin_inset ERT
29076 status collapsed
29077
29078 \begin_layout Standard
29079
29080 }
29081 \end_layout
29082
29083 \end_inset
29084
29085  of the LaTeX-package 
29086 \series bold
29087 booktabs
29088 \series default
29089
29090 \begin_inset LatexCommand index
29091 name "LaTeX-packages ! booktabs"
29092
29093 \end_inset
29094
29095
29096 \end_layout
29097
29098 \begin_layout Bibliography
29099 \begin_inset LatexCommand bibitem
29100 key "caption"
29101
29102 \end_inset
29103
29104
29105 \begin_inset ERT
29106 status collapsed
29107
29108 \begin_layout Standard
29109
29110
29111 \backslash
29112 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf}{
29113 \end_layout
29114
29115 \end_inset
29116
29117 Documentation
29118 \begin_inset ERT
29119 status collapsed
29120
29121 \begin_layout Standard
29122
29123 }
29124 \end_layout
29125
29126 \end_inset
29127
29128  of the LaTeX-package 
29129 \series bold
29130 caption
29131 \series default
29132
29133 \begin_inset LatexCommand index
29134 name "LaTeX-packages ! caption"
29135
29136 \end_inset
29137
29138
29139 \end_layout
29140
29141 \begin_layout Bibliography
29142 \begin_inset LatexCommand bibitem
29143 key "caption-de"
29144
29145 \end_inset
29146
29147 German 
29148 \begin_inset ERT
29149 status collapsed
29150
29151 \begin_layout Standard
29152
29153
29154 \backslash
29155 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/anleitung.pdf}
29156 {
29157 \end_layout
29158
29159 \end_inset
29160
29161 documentation
29162 \begin_inset ERT
29163 status collapsed
29164
29165 \begin_layout Standard
29166
29167 }
29168 \end_layout
29169
29170 \end_inset
29171
29172  of the LaTeX-package 
29173 \series bold
29174 caption
29175 \end_layout
29176
29177 \begin_layout Bibliography
29178 \begin_inset LatexCommand bibitem
29179 key "endfloat"
29180
29181 \end_inset
29182
29183
29184 \begin_inset ERT
29185 status collapsed
29186
29187 \begin_layout Standard
29188
29189
29190 \backslash
29191 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf}
29192 {
29193 \end_layout
29194
29195 \end_inset
29196
29197 Documentation
29198 \begin_inset ERT
29199 status collapsed
29200
29201 \begin_layout Standard
29202
29203 }
29204 \end_layout
29205
29206 \end_inset
29207
29208  of the LaTeX-package 
29209 \series bold
29210 endf\SpecialChar \textcompwordmark{}
29211 loat
29212 \series default
29213
29214 \begin_inset LatexCommand index
29215 name "LaTeX-packages ! endfloat"
29216
29217 \end_inset
29218
29219
29220 \end_layout
29221
29222 \begin_layout Bibliography
29223 \begin_inset LatexCommand bibitem
29224 key "floatflt"
29225
29226 \end_inset
29227
29228
29229 \begin_inset ERT
29230 status collapsed
29231
29232 \begin_layout Standard
29233
29234
29235 \backslash
29236 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/floatflt/floatflt.pdf}
29237 {
29238 \end_layout
29239
29240 \end_inset
29241
29242 Documentation
29243 \begin_inset ERT
29244 status collapsed
29245
29246 \begin_layout Standard
29247
29248 }
29249 \end_layout
29250
29251 \end_inset
29252
29253  of the LaTeX-package 
29254 \series bold
29255 floatf\SpecialChar \textcompwordmark{}
29256 lt
29257 \series default
29258
29259 \begin_inset LatexCommand index
29260 name "LaTeX-packages ! floatflt"
29261
29262 \end_inset
29263
29264
29265 \end_layout
29266
29267 \begin_layout Bibliography
29268 \begin_inset LatexCommand bibitem
29269 key "footmisc"
29270
29271 \end_inset
29272
29273
29274 \begin_inset ERT
29275 status collapsed
29276
29277 \begin_layout Standard
29278
29279
29280 \backslash
29281 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf}
29282 {
29283 \end_layout
29284
29285 \end_inset
29286
29287 Documentation
29288 \begin_inset ERT
29289 status collapsed
29290
29291 \begin_layout Standard
29292
29293 }
29294 \end_layout
29295
29296 \end_inset
29297
29298  of the LaTeX-package 
29299 \series bold
29300 footmisc
29301 \series default
29302
29303 \begin_inset LatexCommand index
29304 name "LaTeX-packages ! footmisc"
29305
29306 \end_inset
29307
29308
29309 \end_layout
29310
29311 \begin_layout Bibliography
29312 \begin_inset LatexCommand bibitem
29313 key "hypcap"
29314
29315 \end_inset
29316
29317
29318 \begin_inset ERT
29319 status collapsed
29320
29321 \begin_layout Standard
29322
29323
29324 \backslash
29325 href{http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf}{
29326 \end_layout
29327
29328 \end_inset
29329
29330 Documentation
29331 \begin_inset ERT
29332 status collapsed
29333
29334 \begin_layout Standard
29335
29336 }
29337 \end_layout
29338
29339 \end_inset
29340
29341  of the LaTeX-package 
29342 \series bold
29343 hypcap
29344 \series default
29345
29346 \begin_inset LatexCommand index
29347 name "LaTeX-packages ! hyperref"
29348
29349 \end_inset
29350
29351
29352 \end_layout
29353
29354 \begin_layout Bibliography
29355 \begin_inset LatexCommand bibitem
29356 key "hyperref"
29357
29358 \end_inset
29359
29360
29361 \begin_inset ERT
29362 status collapsed
29363
29364 \begin_layout Standard
29365
29366
29367 \backslash
29368 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf}
29369 {
29370 \end_layout
29371
29372 \end_inset
29373
29374 Documentation
29375 \begin_inset ERT
29376 status collapsed
29377
29378 \begin_layout Standard
29379
29380 }
29381 \end_layout
29382
29383 \end_inset
29384
29385  of the LaTeX-package 
29386 \series bold
29387 hyperref
29388 \series default
29389
29390 \begin_inset LatexCommand index
29391 name "LaTeX-packages ! hyperref"
29392
29393 \end_inset
29394
29395
29396 \end_layout
29397
29398 \begin_layout Bibliography
29399 \begin_inset LatexCommand bibitem
29400 key "koma-script"
29401
29402 \end_inset
29403
29404
29405 \begin_inset ERT
29406 status collapsed
29407
29408 \begin_layout Standard
29409
29410
29411 \backslash
29412 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.p
29413 df}{
29414 \end_layout
29415
29416 \end_inset
29417
29418 Documentation
29419 \begin_inset ERT
29420 status collapsed
29421
29422 \begin_layout Standard
29423
29424 }
29425 \end_layout
29426
29427 \end_inset
29428
29429  of the LaTeX-package 
29430 \series bold
29431 koma-script
29432 \series default
29433
29434 \begin_inset LatexCommand index
29435 name "LaTeX-packages ! koma-script"
29436
29437 \end_inset
29438
29439
29440 \end_layout
29441
29442 \begin_layout Bibliography
29443 \begin_inset LatexCommand bibitem
29444 key "koma-script-de"
29445
29446 \end_inset
29447
29448 German 
29449 \begin_inset ERT
29450 status collapsed
29451
29452 \begin_layout Standard
29453
29454
29455 \backslash
29456 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguide.p
29457 df}{
29458 \end_layout
29459
29460 \end_inset
29461
29462 documentation
29463 \begin_inset ERT
29464 status collapsed
29465
29466 \begin_layout Standard
29467
29468 }
29469 \end_layout
29470
29471 \end_inset
29472
29473  of the LaTeX-package 
29474 \series bold
29475 koma-script
29476 \series default
29477
29478 \begin_inset LatexCommand index
29479 name "LaTeX-packages ! koma-script"
29480
29481 \end_inset
29482
29483
29484 \end_layout
29485
29486 \begin_layout Bibliography
29487 \begin_inset LatexCommand bibitem
29488 key "marginnote"
29489
29490 \end_inset
29491
29492
29493 \begin_inset ERT
29494 status collapsed
29495
29496 \begin_layout Standard
29497
29498
29499 \backslash
29500 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.
29501 pdf}{
29502 \end_layout
29503
29504 \end_inset
29505
29506 Documentation
29507 \begin_inset ERT
29508 status collapsed
29509
29510 \begin_layout Standard
29511
29512 }
29513 \end_layout
29514
29515 \end_inset
29516
29517  of the LaTeX-package 
29518 \series bold
29519 marginnote
29520 \series default
29521
29522 \begin_inset LatexCommand index
29523 name "LaTeX-packages ! marginnote"
29524
29525 \end_inset
29526
29527
29528 \end_layout
29529
29530 \begin_layout Bibliography
29531 \begin_inset LatexCommand bibitem
29532 key "pstricks"
29533
29534 \end_inset
29535
29536
29537 \begin_inset ERT
29538 status collapsed
29539
29540 \begin_layout Standard
29541
29542
29543 \backslash
29544 href{http://tug.org/PSTricks/main.cgi/}{
29545 \end_layout
29546
29547 \end_inset
29548
29549 Web page
29550 \begin_inset ERT
29551 status collapsed
29552
29553 \begin_layout Standard
29554
29555 }
29556 \end_layout
29557
29558 \end_inset
29559
29560  of the LaTeX-package 
29561 \series bold
29562 PSTricks
29563 \series default
29564
29565 \begin_inset LatexCommand index
29566 name "LaTeX-packages ! PSTricks"
29567
29568 \end_inset
29569
29570
29571 \end_layout
29572
29573 \begin_layout Bibliography
29574 \begin_inset LatexCommand bibitem
29575 key "sidecap"
29576
29577 \end_inset
29578
29579
29580 \begin_inset ERT
29581 status collapsed
29582
29583 \begin_layout Standard
29584
29585
29586 \backslash
29587 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf}{
29588 \end_layout
29589
29590 \end_inset
29591
29592 Documentation
29593 \begin_inset ERT
29594 status collapsed
29595
29596 \begin_layout Standard
29597
29598 }
29599 \end_layout
29600
29601 \end_inset
29602
29603  of the LaTeX-package 
29604 \series bold
29605 sidecap
29606 \series default
29607
29608 \begin_inset LatexCommand index
29609 name "LaTeX-packages ! sidecap"
29610
29611 \end_inset
29612
29613
29614 \end_layout
29615
29616 \begin_layout Bibliography
29617 \begin_inset LatexCommand bibitem
29618 key "NewInLyX15"
29619
29620 \end_inset
29621
29622
29623 \begin_inset ERT
29624 status collapsed
29625
29626 \begin_layout Standard
29627
29628
29629 \backslash
29630 href{http://wiki.lyx.org/LyX/NewInLyX15}{
29631 \end_layout
29632
29633 \end_inset
29634
29635 Wiki page
29636 \begin_inset ERT
29637 status collapsed
29638
29639 \begin_layout Standard
29640
29641 }
29642 \end_layout
29643
29644 \end_inset
29645
29646  about new LyX-features planned for the release 
29647 \family sans
29648 LyX 1.5
29649 \family default
29650 .
29651 \end_layout
29652
29653 \begin_layout Standard
29654 \begin_inset LatexCommand printindex
29655
29656 \end_inset
29657
29658
29659 \end_layout
29660
29661 \begin_layout Standard
29662 \begin_inset FloatList figure
29663
29664 \end_inset
29665
29666
29667 \end_layout
29668
29669 \begin_layout Standard
29670 \begin_inset FloatList table
29671
29672 \end_inset
29673
29674
29675 \end_layout
29676
29677 \end_body
29678 \end_document