]> git.lyx.org Git - features.git/blob - lib/doc/EmbeddedObjects.lyx
EmbeddedObjects: small update
[features.git] / lib / doc / EmbeddedObjects.lyx
1 #LyX 1.5.0svn created this file. For more info see http://www.lyx.org/
2 \lyxformat 268
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 "usti" 
207 \author "Uwe Stöhr" 
208 \end_header
209
210 \begin_body
211
212 \begin_layout Title
213 LyX's detailed Figure, Table, Floats, Notes, Boxes and External Material
214  manual
215 \end_layout
216
217 \begin_layout Author
218 by the LyX Team
219 \begin_inset Foot
220 status collapsed
221
222 \begin_layout Standard
223 \noindent
224 If you have comments or error corrections, please send them to the LyX Documenta
225 tion mailing list: 
226 \family typewriter
227
228 \begin_inset ERT
229 status open
230
231 \begin_layout Standard
232
233
234 \backslash
235 href{mailto:lyx-docs@lists.lyx.org?subject=LyX's ExtendedInsets manual}{
236 \end_layout
237
238 \end_inset
239
240 lyx-docs@lists.lyx.org
241 \begin_inset ERT
242 status collapsed
243
244 \begin_layout Standard
245
246 }
247 \end_layout
248
249 \end_inset
250
251
252 \end_layout
253
254 \end_inset
255
256
257 \begin_inset Note Note
258 status collapsed
259
260 \begin_layout Standard
261 original author: Uwe Stöhr
262 \end_layout
263
264 \end_inset
265
266
267 \newline
268
269 \newline
270
271 \family sans
272 Version 1.5.0-
273 \family default
274 1
275 \end_layout
276
277 \begin_layout Standard
278 \begin_inset LatexCommand tableofcontents
279
280 \end_inset
281
282
283 \end_layout
284
285 \begin_layout Standard
286 \begin_inset Note Note
287 status open
288
289 \begin_layout Standard
290 To export all parts of this document to PDF, PS, or DVI the LaTeX-packages
291  
292 \series bold
293 arydshln
294 \series default
295  and 
296 \series bold
297 marginnote
298 \series default
299  must be installed.
300  If they are not installed you can export the document anyway but the sections
301  where the packages are required won't appear in the output.
302 \end_layout
303
304 \begin_layout Standard
305 The latest PDF-version of this document can be found here:
306 \newline
307
308 \series bold
309 http://wiki.lyx.org/LyX/DocumentationDevelopment#EmbeddedObjects
310 \end_layout
311
312 \end_inset
313
314
315 \end_layout
316
317 \begin_layout Chapter
318 Figures
319 \begin_inset LatexCommand label
320 name "cha:Figures"
321
322 \end_inset
323
324
325 \begin_inset LatexCommand index
326 name "Figures"
327
328 \end_inset
329
330
331 \begin_inset LatexCommand index
332 name "Graphics|see{Figures}"
333
334 \end_inset
335
336
337 \end_layout
338
339 \begin_layout Section
340 Graphics Dialog
341 \begin_inset LatexCommand index
342 name "Figures ! Graphics Dialog"
343
344 \end_inset
345
346
347 \begin_inset LatexCommand label
348 name "sec:Graphics-Dialog"
349
350 \end_inset
351
352
353 \end_layout
354
355 \begin_layout Standard
356 To insert an image into your document, place the cursor at the text position
357  you want and click on the toolbar icon 
358 \begin_inset Graphics
359         filename ../images/dialog-show-new-inset_graphics.xpm
360         scale 85
361
362 \end_inset
363
364  or use the menu 
365 \family sans
366 Insert\SpecialChar \menuseparator
367 Graphics
368 \family default
369 .
370  Then a dialog will appear to choose the file to load.
371  The image will appear in the output exactly at the position where it is
372  in the text.
373 \end_layout
374
375 \begin_layout Standard
376 The graphics dialog can be called at any time by right-clicking on an image.
377  This dialog has three tabs:
378 \end_layout
379
380 \begin_layout Description
381
382 \family sans
383 Graphics
384 \family default
385  Here you can choose an image file and adjust its appearance in the output.
386  The available units for the image size are explained in appendix\InsetSpace ~
387
388 \begin_inset LatexCommand ref
389 reference "cha:Units-available-in"
390
391 \end_inset
392
393 .
394 \newline
395 You can rotate images counter-clockwise by setting a rotation angle and
396  a rotation origin.
397  The image will also be rotated inside LyX.
398 \newline
399 Images can be scaled by using
400  a percentage value or by setting the width and height explicitly.
401  If you set only the width or only the height, the other size will be determined
402  automatically.
403  If you set both, then the image will be transformed to the given size,
404  possibly distorting it.
405  To prevent the image from distortion, use the option 
406 \family sans
407 Maintain aspect ratio
408 \family default
409 .
410  The image will then be scaled so that its width and height don't exceed
411  the specified dimensions.
412 \newline
413 Images can be opened in a program of your choice
414  when pressing the 
415 \family sans
416 Edit
417 \family default
418  button.
419  The program can be set for every image format in the file format settings
420  in LyX's preferences.
421 \end_layout
422
423 \begin_layout Description
424
425 \family sans
426 Clipping
427 \family default
428  Alternatively to the usage of scaling units it is possible to set image
429  coordinates to adjust the height and width of the image in the output.
430  The coordinates can also be calculated automatically by pressing the button
431  
432 \family sans
433 Get\InsetSpace ~
434 from\InsetSpace ~
435 File
436 \family default
437 .
438  The option 
439 \family sans
440 Clip\InsetSpace ~
441 to\InsetSpace ~
442 bounding\InsetSpace ~
443 box
444 \family default
445  will only print the image region within the given coordinates.
446  Normally you don't need to take care about image coordinates and can ignore
447  this tab.
448 \end_layout
449
450 \begin_layout Description
451
452 \family sans
453 Extra\InsetSpace ~
454 options
455 \family default
456  In this tab you can modify the appearance of the image within LyX and set
457  the image to be a subfigure of a figure float with an own caption.
458  Subfigures are explained in section\InsetSpace ~
459
460 \begin_inset LatexCommand ref
461 reference "sec:Figure-Floats"
462
463 \end_inset
464
465 .
466 \newline
467  LaTeX experts can also specify on this tab additional LaTeX options.
468 \newline
469  The
470  option 
471 \family sans
472 Draft\InsetSpace ~
473 mode
474 \family default
475  makes the image appear in the output only as a frame with the size of the
476  image.
477 \newline
478 The 
479 \family sans
480 Don't\InsetSpace ~
481 unzip\InsetSpace ~
482 on\InsetSpace ~
483 export
484 \family default
485  option only affects zipped EPS-graphics, e.\InsetSpace \thinspace{}
486 g.\InsetSpace ~
487
488 \emph on
489 x.eps.gz
490 \emph default
491 .
492  When the option is used the images will not be unzipped on export, since
493  LaTeX can handle them as they are.
494 \newline
495 Zipped EPS-graphics are useful to save
496  disk space when you choose PostScript as output format, see appendix\InsetSpace ~
497
498 \begin_inset LatexCommand ref
499 reference "sec:PostScript"
500
501 \end_inset
502
503 .
504  To zip EPS-graphics, use the following commands in a UNIX-shell or a Windows
505  console:
506 \newline
507
508 \series bold
509 gzip x.eps
510 \series default
511
512 \newline
513
514 \series bold
515 zgrep %%Bounding x.eps.gz > x.eps.bb
516 \series default
517
518 \newline
519 The second command creates the bounding box file 
520 \begin_inset Quotes eld
521 \end_inset
522
523 x.eps.bb
524 \begin_inset Quotes erd
525 \end_inset
526
527  that is needed by LaTeX for zipped graphics.
528 \end_layout
529
530 \begin_layout Standard
531 \begin_inset VSpace bigskip
532 \end_inset
533
534
535 \end_layout
536
537 \begin_layout Standard
538 This is an example image in EPS format
539 \begin_inset Foot
540 status collapsed
541
542 \begin_layout Standard
543 Image formats are explained in section\InsetSpace ~
544
545 \begin_inset LatexCommand ref
546 reference "sec:Image-Formats"
547
548 \end_inset
549
550 .
551 \end_layout
552
553 \end_inset
554
555  within a separate, horizontally centered paragraph:
556 \end_layout
557
558 \begin_layout Standard
559 \align center
560 \begin_inset Graphics
561         filename clipart/mobius.eps
562         display color
563         scale 70
564         rotateOrigin center
565
566 \end_inset
567
568
569 \end_layout
570
571 \begin_layout Standard
572 This is the same image like the one above but in draft mode:
573 \end_layout
574
575 \begin_layout Standard
576 \align center
577 \begin_inset Graphics
578         filename clipart/mobius.eps
579         display color
580         scale 70
581         draft
582         rotateOrigin center
583
584 \end_inset
585
586
587 \end_layout
588
589 \begin_layout Section
590 Figure Floats
591 \begin_inset LatexCommand label
592 name "sec:Figure-Floats"
593
594 \end_inset
595
596
597 \begin_inset LatexCommand index
598 name "Floats ! Figure Floats"
599
600 \end_inset
601
602
603 \begin_inset LatexCommand index
604 name "Figures ! Floats"
605
606 \end_inset
607
608
609 \end_layout
610
611 \begin_layout Standard
612 For general explanations about floats, have a look at section\InsetSpace ~
613
614 \begin_inset LatexCommand ref
615 reference "sec:FloatIntroduction"
616
617 \end_inset
618
619 .
620 \end_layout
621
622 \begin_layout Standard
623 The toolbar button 
624 \begin_inset Graphics
625         filename ../images/float-insert_figure.xpm
626         scale 85
627
628 \end_inset
629
630  and the menu 
631 \family sans
632 Insert\SpecialChar \menuseparator
633 Float\SpecialChar \menuseparator
634 Figure
635 \family default
636  inserts a float with a caption that has the label 
637 \begin_inset Quotes eld
638 \end_inset
639
640 Figure\InsetSpace ~
641 #:
642 \begin_inset Quotes erd
643 \end_inset
644
645  (# is the actual number).
646  You can insert the image above the caption, like in Figure\InsetSpace ~
647
648 \begin_inset LatexCommand ref
649 reference "fig:kill-plat"
650
651 \end_inset
652
653  or below the caption, like in Figure\InsetSpace ~
654
655 \begin_inset LatexCommand ref
656 reference "fig:escher"
657
658 \end_inset
659
660 .
661  More about the caption placement is described in section\InsetSpace ~
662
663 \begin_inset LatexCommand ref
664 reference "sec:Caption-Placement"
665
666 \end_inset
667
668 .
669 \end_layout
670
671 \begin_layout Standard
672 \begin_inset Float figure
673 wide false
674 sideways false
675 status open
676
677 \begin_layout Standard
678 \align center
679 \begin_inset Graphics
680         filename clipart/platypus.eps
681         display color
682         width 50col%
683         rotateOrigin center
684
685 \end_inset
686
687
688 \end_layout
689
690 \begin_layout Standard
691 \begin_inset Caption
692
693 \begin_layout Standard
694 \begin_inset LatexCommand label
695 name "fig:kill-plat"
696
697 \end_inset
698
699 A severely distorted platypus in a float.
700 \end_layout
701
702 \end_inset
703
704
705 \end_layout
706
707 \end_inset
708
709
710 \end_layout
711
712 \begin_layout Standard
713 \begin_inset Float figure
714 wide false
715 sideways false
716 status open
717
718 \begin_layout Standard
719 \begin_inset Caption
720
721 \begin_layout Standard
722 \begin_inset LatexCommand label
723 name "fig:escher"
724
725 \end_inset
726
727 M.C.
728  Escher on acid.
729 \end_layout
730
731 \end_inset
732
733
734 \end_layout
735
736 \begin_layout Standard
737 \align center
738 \begin_inset Graphics
739         filename clipart/escher-lsd.eps
740         display color
741         scale 80
742         rotateOrigin center
743
744 \end_inset
745
746
747 \end_layout
748
749 \end_inset
750
751
752 \end_layout
753
754 \begin_layout Standard
755 \begin_inset LatexCommand index
756 name "References ! to Figures"
757
758 \end_inset
759
760 Figure\InsetSpace ~
761
762 \begin_inset LatexCommand ref
763 reference "fig:kill-plat"
764
765 \end_inset
766
767  and 
768 \begin_inset LatexCommand ref
769 reference "fig:escher"
770
771 \end_inset
772
773  are examples of referenced figures.
774  Figures can be referenced in the text by referencing their label.
775  To do this insert a label in the caption using the menu 
776 \family sans
777 Insert\SpecialChar \menuseparator
778 Label
779 \family default
780  or the toolbar button 
781 \begin_inset Graphics
782         filename ../images/label-insert.xpm
783         scale 85
784
785 \end_inset
786
787 .
788  You can now refer to the label using the menu 
789 \family sans
790 Insert\SpecialChar \menuseparator
791 Cross\InsetSpace ~
792 reference
793 \family default
794  or the toolbar button 
795 \begin_inset Graphics
796         filename ../images/dialog-show-new-inset_ref.xpm
797         scale 85
798
799 \end_inset
800
801 .
802  It is important to use references to floats, rather than using vague references
803  like 
804 \begin_inset Quotes eld
805 \end_inset
806
807 the figure above
808 \begin_inset Quotes erd
809 \end_inset
810
811 , because as LaTeX will reposition the floats in the final document, it
812  might not be 
813 \begin_inset Quotes eld
814 \end_inset
815
816 above
817 \begin_inset Quotes erd
818 \end_inset
819
820  at all.
821 \newline
822 Referencing is explained in detail in section\InsetSpace ~
823
824 \begin_inset LatexCommand ref
825 reference "sec:Referencing-Floats"
826
827 \end_inset
828
829 .
830 \end_layout
831
832 \begin_layout Standard
833 Normally only one image is inserted to a figure float, but sometimes you
834  might want to use two images with separate subcaptions.
835  This can be set in the tab 
836 \family sans
837 Extra\InsetSpace ~
838 options
839 \family default
840  of the graphics dialog.
841  Choose there the option 
842 \family sans
843 Subfigure
844 \family default
845  and enter the subcaption for the image in the caption field.
846  Note that only the main caption of the float is added to the List of Figures.
847 \newline
848 Ref
849 erencing subfigures is explained in section\InsetSpace ~
850
851 \begin_inset LatexCommand ref
852 reference "sub:Referencing-Subfigures"
853
854 \end_inset
855
856 .
857 \end_layout
858
859 \begin_layout Standard
860 Figure\InsetSpace ~
861
862 \begin_inset LatexCommand ref
863 reference "fig:Two-distorted-images"
864
865 \end_inset
866
867  is an example of a figure float with two images set side by side.
868  You can also set the images one below the other.
869 \end_layout
870
871 \begin_layout Standard
872 \begin_inset Float figure
873 wide false
874 sideways false
875 status open
876
877 \begin_layout Standard
878
879 \hfill
880
881 \begin_inset Graphics
882         filename clipart/escher-lsd.eps
883         width 45col%
884         subcaption
885         subcaptionText "Undefinable structure"
886
887 \end_inset
888
889
890 \hfill
891
892 \begin_inset Graphics
893         filename clipart/platypus.eps
894         lyxscale 60
895         width 45col%
896         subcaption
897         subcaptionText "\label{fig:Platypus} Platypus"
898
899 \end_inset
900
901
902 \hfill
903
904 \end_layout
905
906 \begin_layout Standard
907 \begin_inset Caption
908
909 \begin_layout Standard
910 \begin_inset LatexCommand label
911 name "fig:Two-distorted-images"
912
913 \end_inset
914
915 Two distorted images.
916 \end_layout
917
918 \end_inset
919
920
921 \end_layout
922
923 \end_inset
924
925
926 \end_layout
927
928 \begin_layout Section
929 Image Formats
930 \begin_inset LatexCommand label
931 name "sec:Image-Formats"
932
933 \end_inset
934
935
936 \begin_inset LatexCommand index
937 name "Image Formats"
938
939 \end_inset
940
941
942 \begin_inset LatexCommand index
943 name "Figures ! Image Formats"
944
945 \end_inset
946
947
948 \end_layout
949
950 \begin_layout Standard
951 You can insert images in any known file format.
952  But as explained in appendix\InsetSpace ~
953
954 \begin_inset LatexCommand ref
955 reference "cha:Output-File-Formats"
956
957 \end_inset
958
959 , every output document format allows only a few image formats.
960  LyX uses therefore the program 
961 \family typewriter
962 Imagemagick
963 \family default
964  in the background to convert the images to the right format.
965  To increase your work flow by avoiding these conversions in the background,
966  you can use only the image formats that can directly be embedded in the
967  output file format.
968  The output file formats are explained in appendix\InsetSpace ~
969
970 \begin_inset LatexCommand ref
971 reference "cha:Output-File-Formats"
972
973 \end_inset
974
975 .
976 \end_layout
977
978 \begin_layout Standard
979 Similar to fonts there are two types of image formats:
980 \end_layout
981
982 \begin_layout Description
983 Bitmap\InsetSpace ~
984 images consist of pixel values, often in a compressed form.
985  They are therefore not fully scalable and look pixeled in large zooms.
986  Well-known bitmap image formats are 
987 \begin_inset Quotes eld
988 \end_inset
989
990 Graphics Interchange Format
991 \begin_inset Quotes erd
992 \end_inset
993
994  (GIF, file extension 
995 \begin_inset Quotes eld
996 \end_inset
997
998
999 \family typewriter
1000 .gif
1001 \family default
1002
1003 \begin_inset Quotes erd
1004 \end_inset
1005
1006 )
1007 \begin_inset LatexCommand index
1008 name "GIF|see{Image formats}"
1009
1010 \end_inset
1011
1012
1013 \begin_inset Quotes eld
1014 \end_inset
1015
1016 Portable Network Graphics
1017 \begin_inset Quotes erd
1018 \end_inset
1019
1020  (PNG, file extension 
1021 \begin_inset Quotes eld
1022 \end_inset
1023
1024
1025 \family typewriter
1026 .png
1027 \family default
1028
1029 \begin_inset Quotes erd
1030 \end_inset
1031
1032 )
1033 \begin_inset LatexCommand index
1034 name "PNG|see{Image formats}"
1035
1036 \end_inset
1037
1038 , and 
1039 \begin_inset Quotes eld
1040 \end_inset
1041
1042 Joint Photographic Experts Group
1043 \begin_inset Quotes erd
1044 \end_inset
1045
1046  (JPG, file extension 
1047 \begin_inset Quotes eld
1048 \end_inset
1049
1050
1051 \family typewriter
1052 .jpg
1053 \family default
1054
1055 \begin_inset Quotes erd
1056 \end_inset
1057
1058  or 
1059 \begin_inset Quotes eld
1060 \end_inset
1061
1062
1063 \family typewriter
1064 .jpeg
1065 \family default
1066
1067 \begin_inset Quotes erd
1068 \end_inset
1069
1070 )
1071 \begin_inset LatexCommand index
1072 name "JPG|see{Image formats}"
1073
1074 \end_inset
1075
1076 .
1077 \end_layout
1078
1079 \begin_layout Description
1080 Vector\InsetSpace ~
1081 images consist of vectors and can therefore be scaled to any size
1082  without data loss.
1083  The scaling ability is necessary if you want to create presentations, because
1084  presentations are always scaled by the video projector.
1085  Scaling is also useful for online documents to let the user zoom into diagrams.
1086 \newline
1087 W
1088 ell-known scalable image formats are 
1089 \begin_inset Quotes eld
1090 \end_inset
1091
1092 Scalable Vector Graphics
1093 \begin_inset Quotes erd
1094 \end_inset
1095
1096  (SVG, file extension 
1097 \begin_inset Quotes eld
1098 \end_inset
1099
1100
1101 \family typewriter
1102 .svg
1103 \family default
1104
1105 \begin_inset Quotes erd
1106 \end_inset
1107
1108 )
1109 \begin_inset LatexCommand index
1110 name "SVG|see{Image formats}"
1111
1112 \end_inset
1113
1114
1115 \begin_inset Quotes eld
1116 \end_inset
1117
1118 Encapsulated PostScript
1119 \begin_inset Quotes erd
1120 \end_inset
1121
1122  (EPS, file extension 
1123 \begin_inset Quotes eld
1124 \end_inset
1125
1126
1127 \family typewriter
1128 .eps
1129 \family default
1130
1131 \begin_inset Quotes erd
1132 \end_inset
1133
1134 )
1135 \begin_inset LatexCommand index
1136 name "EPS|see{Image formats}"
1137
1138 \end_inset
1139
1140
1141 \begin_inset Quotes eld
1142 \end_inset
1143
1144 Portable Document Format
1145 \begin_inset Quotes erd
1146 \end_inset
1147
1148  (PDF, file extension 
1149 \begin_inset Quotes eld
1150 \end_inset
1151
1152
1153 \family typewriter
1154 .pdf
1155 \family default
1156
1157 \begin_inset Quotes erd
1158 \end_inset
1159
1160 )
1161 \begin_inset LatexCommand index
1162 name "PDF"
1163
1164 \end_inset
1165
1166 , and 
1167 \begin_inset Quotes eld
1168 \end_inset
1169
1170 Windows Metafile
1171 \begin_inset Quotes erd
1172 \end_inset
1173
1174  (WMF, file extension 
1175 \begin_inset Quotes eld
1176 \end_inset
1177
1178
1179 \family typewriter
1180 .wmf
1181 \family default
1182
1183 \begin_inset Quotes erd
1184 \end_inset
1185
1186 )
1187 \begin_inset LatexCommand index
1188 name "SVG|see{Image formats}"
1189
1190 \end_inset
1191
1192 .
1193  We wrote 
1194 \begin_inset Quotes eld
1195 \end_inset
1196
1197 can be
1198 \begin_inset Quotes erd
1199 \end_inset
1200
1201 , because you can convert any bitmap image to a PDF or EPS-image and the
1202  result will still be a bitmap image.
1203  In this cases only a header with the image properties is added to the original
1204  image
1205 \begin_inset Foot
1206 status open
1207
1208 \begin_layout Standard
1209 In the case of PDF, the original image is additionally compressed.
1210 \end_layout
1211
1212 \end_inset
1213
1214 .
1215  The PDF-files generated by 
1216 \family typewriter
1217 Adobe Photoshop
1218 \family default
1219  are for example bitmap images.
1220 \end_layout
1221
1222 \begin_layout Standard
1223 Normally it is not possible to convert a bitmap image into a scalable one,
1224  only vice versa.
1225  Only the image formats PDF and EPS can directly be embedded to PDF and
1226  PostScript output files, respectively.
1227  SVG and WMF-images are currently recalculated to bitmaps when the output
1228  file is generated because there is currently no adequate WMF/SVG
1229 \begin_inset Formula $\to$
1230 \end_inset
1231
1232 PDF/EPS converter available.
1233 \end_layout
1234
1235 \begin_layout Chapter
1236 Tables
1237 \begin_inset LatexCommand label
1238 name "cha:Tables"
1239
1240 \end_inset
1241
1242
1243 \begin_inset LatexCommand index
1244 name "Table"
1245
1246 \end_inset
1247
1248
1249 \end_layout
1250
1251 \begin_layout Section
1252 Introduction
1253 \begin_inset LatexCommand index
1254 name "Table ! Introduction"
1255
1256 \end_inset
1257
1258
1259 \end_layout
1260
1261 \begin_layout Standard
1262 You can insert a table using either the toolbar button 
1263 \begin_inset Graphics
1264         filename ../images/tabular-insert.xpm
1265         scale 85
1266
1267 \end_inset
1268
1269  or the menu 
1270 \family sans
1271 Insert\SpecialChar \menuseparator
1272 Table
1273 \family default
1274 .
1275  The toolbar button offers you a graphical selection: Move the mouse to
1276  set the column/row number of the table that should be created and then
1277  press a mouse button.
1278  When you use the menu to create a table, a dialog will appear, asking you
1279  for the number of rows and columns.
1280 \newline
1281  The default table has lines around any
1282  cell and the first row appears separated from the rest of the table.
1283  This separation occurs due to a double line: The cells of the first row
1284  have a line below them and the cells of the second row have a line above
1285  them.
1286  Here is an example table:
1287 \end_layout
1288
1289 \begin_layout Standard
1290 \align center
1291 \begin_inset Tabular
1292 <lyxtabular version="3" rows="4" columns="4">
1293 <features>
1294 <column alignment="center" valignment="top" leftline="true" width="0">
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" rightline="true" width="0">
1298 <row topline="true" bottomline="true">
1299 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1300 \begin_inset Text
1301
1302 \begin_layout Standard
1303
1304 \end_layout
1305
1306 \end_inset
1307 </cell>
1308 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1309 \begin_inset Text
1310
1311 \begin_layout Standard
1312
1313 \family roman
1314 \series medium
1315 \shape up
1316 \size normal
1317 \emph off
1318 \bar no
1319 \noun off
1320 \color none
1321 1
1322 \end_layout
1323
1324 \end_inset
1325 </cell>
1326 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1327 \begin_inset Text
1328
1329 \begin_layout Standard
1330 2
1331 \end_layout
1332
1333 \end_inset
1334 </cell>
1335 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1336 \begin_inset Text
1337
1338 \begin_layout Standard
1339 3
1340 \end_layout
1341
1342 \end_inset
1343 </cell>
1344 </row>
1345 <row topline="true">
1346 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1347 \begin_inset Text
1348
1349 \begin_layout Standard
1350
1351 \family roman
1352 \series medium
1353 \shape up
1354 \size normal
1355 \emph off
1356 \bar no
1357 \noun off
1358 \color none
1359 A
1360 \end_layout
1361
1362 \end_inset
1363 </cell>
1364 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1365 \begin_inset Text
1366
1367 \begin_layout Standard
1368
1369 \end_layout
1370
1371 \end_inset
1372 </cell>
1373 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1374 \begin_inset Text
1375
1376 \begin_layout Standard
1377
1378 \end_layout
1379
1380 \end_inset
1381 </cell>
1382 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1383 \begin_inset Text
1384
1385 \begin_layout Standard
1386
1387 \end_layout
1388
1389 \end_inset
1390 </cell>
1391 </row>
1392 <row topline="true">
1393 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1394 \begin_inset Text
1395
1396 \begin_layout Standard
1397
1398 \family roman
1399 \series medium
1400 \shape up
1401 \size normal
1402 \emph off
1403 \bar no
1404 \noun off
1405 \color none
1406 B
1407 \end_layout
1408
1409 \end_inset
1410 </cell>
1411 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1412 \begin_inset Text
1413
1414 \begin_layout Standard
1415
1416 \end_layout
1417
1418 \end_inset
1419 </cell>
1420 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1421 \begin_inset Text
1422
1423 \begin_layout Standard
1424
1425 \end_layout
1426
1427 \end_inset
1428 </cell>
1429 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1430 \begin_inset Text
1431
1432 \begin_layout Standard
1433
1434 \end_layout
1435
1436 \end_inset
1437 </cell>
1438 </row>
1439 <row topline="true" bottomline="true">
1440 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1441 \begin_inset Text
1442
1443 \begin_layout Standard
1444
1445 \family roman
1446 \series medium
1447 \shape up
1448 \size normal
1449 \emph off
1450 \bar no
1451 \noun off
1452 \color none
1453 C
1454 \end_layout
1455
1456 \end_inset
1457 </cell>
1458 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1459 \begin_inset Text
1460
1461 \begin_layout Standard
1462
1463 \end_layout
1464
1465 \end_inset
1466 </cell>
1467 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1468 \begin_inset Text
1469
1470 \begin_layout Standard
1471
1472 \end_layout
1473
1474 \end_inset
1475 </cell>
1476 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1477 \begin_inset Text
1478
1479 \begin_layout Standard
1480
1481 \end_layout
1482
1483 \end_inset
1484 </cell>
1485 </row>
1486 </lyxtabular>
1487
1488 \end_inset
1489
1490
1491 \end_layout
1492
1493 \begin_layout Section
1494 Table Dialog
1495 \begin_inset LatexCommand index
1496 name "Table ! Dialog"
1497
1498 \end_inset
1499
1500
1501 \end_layout
1502
1503 \begin_layout Standard
1504 You can alter a table by clicking on it with the right mouse button, which
1505  brings up the table dialog.
1506  Here you can adjust the settings of that cell and row/column respectively
1507  where the cursor is currently placed.
1508  Most of the dialog options also work on selections.
1509  This means if you select more cells, columns or rows, the action is done
1510  for the whole selection.
1511  Note that there is a difference between selecting the 
1512 \emph on
1513 contents
1514 \emph default
1515  of the cell, and the cell itself.
1516  You can alter tables with the following tabs of the table dialog:
1517 \end_layout
1518
1519 \begin_layout Description
1520
1521 \family sans
1522 Table\InsetSpace ~
1523 Settings
1524 \family default
1525  Here you can set the horizontal alignment and the width of the current
1526  column.
1527  When you have set a width you can also adjust the vertical alignment of
1528  the current row.
1529  A given width will allow the cell to have line breaks and multiple paragraphs
1530  of text, see section\InsetSpace ~
1531
1532 \begin_inset LatexCommand ref
1533 reference "sub:Multiple-Lines-in"
1534
1535 \end_inset
1536
1537 .
1538  If you set no width, the column is as wide as their widest cell content
1539  is.
1540 \newline
1541 Furthermore, you can mark one or multiple cells of one row as a multicolumn
1542  cell, see section\InsetSpace ~
1543
1544 \begin_inset LatexCommand ref
1545 reference "sub:Multicolumns"
1546
1547 \end_inset
1548
1549 .
1550 \newline
1551 The rotate check boxes rotates the current cell, a selection, or the whole
1552  table counter-clockwise by 90°.
1553  The rotation is not shown within LyX, only in the output.
1554 \newline
1555
1556 \begin_inset Note Greyedout
1557 status open
1558
1559 \begin_layout Standard
1560
1561 \series bold
1562 Note:
1563 \series default
1564  Not all DVI-viewers are able to display rotations.
1565 \end_layout
1566
1567 \end_inset
1568
1569
1570 \newline
1571 It is also possible to enter a LaTeX-argument which is needed for special
1572  table formattings, see section\InsetSpace ~
1573
1574 \begin_inset LatexCommand ref
1575 reference "sub:Multicolumn-Calculations"
1576
1577 \end_inset
1578
1579  and 
1580 \begin_inset LatexCommand ref
1581 reference "sec:Colored-Tables"
1582
1583 \end_inset
1584
1585 .
1586 \end_layout
1587
1588 \begin_layout Description
1589
1590 \family sans
1591 Borders
1592 \family default
1593  In this tab you can add and delete border lines for the current row/column.
1594 \newline
1595 Using
1596  the style option 
1597 \family sans
1598 Formal
1599 \family default
1600  will convert the table to a formal table as described in section\InsetSpace ~
1601
1602 \begin_inset LatexCommand ref
1603 reference "sec:Formal-Tables"
1604
1605 \end_inset
1606
1607 .
1608 \newline
1609 You can also add here space to table rows as decribed in section\InsetSpace ~
1610
1611 \begin_inset LatexCommand ref
1612 reference "sub:Row-Spacing"
1613
1614 \end_inset
1615
1616 .
1617 \end_layout
1618
1619 \begin_layout Description
1620
1621 \family sans
1622 Longtable
1623 \family default
1624  This tab is to make a table a so called 
1625 \begin_inset Quotes eld
1626 \end_inset
1627
1628
1629 \emph on
1630 longtable
1631 \emph default
1632
1633 \begin_inset Quotes erd
1634 \end_inset
1635
1636  that can run over several pages.
1637  Section\InsetSpace ~
1638
1639 \begin_inset LatexCommand ref
1640 reference "sec:Longtables"
1641
1642 \end_inset
1643
1644  and 
1645 \begin_inset LatexCommand ref
1646 reference "sec:Special-Longtable-Issues"
1647
1648 \end_inset
1649
1650  describe the longtable features in detail.
1651 \end_layout
1652
1653 \begin_layout Standard
1654 When the table toolbar is opened, you can move the cursor with the arrow
1655  keys from cell to cell and the property of the current cell will immediately
1656  be displayed in the dialog.
1657 \end_layout
1658
1659 \begin_layout Section
1660 Table Toolbar
1661 \begin_inset LatexCommand index
1662 name "Table ! Toolbar"
1663
1664 \end_inset
1665
1666
1667 \end_layout
1668
1669 \begin_layout Standard
1670 The table toolbar is an alternative to the table dialog to be able to alter
1671  tables faster.
1672  It should normally appear at the bottom of LyX's main window when the cursor
1673  is inside a table.
1674  You can alternatively switch it on to appear always, by right-clicking
1675  in LyX's main menu bar.
1676 \end_layout
1677
1678 \begin_layout Standard
1679 The toolbar has the following icons:
1680 \end_layout
1681
1682 \begin_layout Labeling
1683 \labelwidthstring 00.00.0000
1684 \begin_inset Graphics
1685         filename ../images/tabular-feature_append-row.xpm
1686
1687 \end_inset
1688
1689  adds a row below the current cell or selection
1690 \end_layout
1691
1692 \begin_layout Labeling
1693 \labelwidthstring 00.00.0000
1694 \begin_inset Graphics
1695         filename ../images/tabular-feature_append-column.xpm
1696
1697 \end_inset
1698
1699  adds a column right beside the current cell or selection
1700 \end_layout
1701
1702 \begin_layout Labeling
1703 \labelwidthstring 00.00.0000
1704 \begin_inset Graphics
1705         filename ../images/tabular-feature_delete-row.xpm
1706
1707 \end_inset
1708
1709  deletes the current row or selection
1710 \end_layout
1711
1712 \begin_layout Labeling
1713 \labelwidthstring 00.00.0000
1714 \begin_inset Graphics
1715         filename ../images/tabular-feature_delete-column.xpm
1716
1717 \end_inset
1718
1719  deletes the current column or selection
1720 \end_layout
1721
1722 \begin_layout Labeling
1723 \labelwidthstring 00.00.0000
1724 \begin_inset Graphics
1725         filename ../images/tabular-feature_toggle-line-top.xpm
1726
1727 \end_inset
1728
1729  adds a line at the top of the current cell / row or of a selection
1730 \end_layout
1731
1732 \begin_layout Labeling
1733 \labelwidthstring 00.00.0000
1734 \begin_inset Graphics
1735         filename ../images/tabular-feature_toggle-line-bottom.xpm
1736
1737 \end_inset
1738
1739  adds a line at the bottom of the current cell / row or of a selection
1740 \end_layout
1741
1742 \begin_layout Labeling
1743 \labelwidthstring 00.00.0000
1744 \begin_inset Graphics
1745         filename ../images/tabular-feature_toggle-line-left.xpm
1746
1747 \end_inset
1748
1749  adds a line at the left side of the current cell / row or of a selection
1750 \end_layout
1751
1752 \begin_layout Labeling
1753 \labelwidthstring 00.00.0000
1754 \begin_inset Graphics
1755         filename ../images/tabular-feature_toggle-line-right.xpm
1756
1757 \end_inset
1758
1759  adds a line at the right side of the current cell / row or of a selection
1760 \end_layout
1761
1762 \begin_layout Labeling
1763 \labelwidthstring 00.00.0000
1764 \begin_inset Graphics
1765         filename ../images/tabular-feature_set-all-lines.xpm
1766
1767 \end_inset
1768
1769  adds lines around the current or selected cells - if the current cell no
1770  multicolumn this also affects the current row and column
1771 \end_layout
1772
1773 \begin_layout Labeling
1774 \labelwidthstring 00.00.0000
1775 \begin_inset Graphics
1776         filename ../images/tabular-feature_unset-all-lines.xpm
1777
1778 \end_inset
1779
1780  deletes all lines of the current or selected cells - if the current cell
1781  no multicolumn this also affects the current row and column
1782 \end_layout
1783
1784 \begin_layout Labeling
1785 \labelwidthstring 00.00.0000
1786 \begin_inset Graphics
1787         filename ../images/tabular-feature_align-left.xpm
1788
1789 \end_inset
1790
1791  left-aligns the content of the current cell / column
1792 \end_layout
1793
1794 \begin_layout Labeling
1795 \labelwidthstring 00.00.0000
1796 \begin_inset Graphics
1797         filename ../images/tabular-feature_align-center.xpm
1798
1799 \end_inset
1800
1801  centers the content of the current cell / column horizontally
1802 \end_layout
1803
1804 \begin_layout Labeling
1805 \labelwidthstring 00.00.0000
1806 \begin_inset Graphics
1807         filename ../images/tabular-feature_align-right.xpm
1808
1809 \end_inset
1810
1811  right-aligns the content of the current cell / column
1812 \end_layout
1813
1814 \begin_layout Labeling
1815 \labelwidthstring 00.00.0000
1816 \begin_inset Graphics
1817         filename ../images/tabular-feature_valign-top.xpm
1818
1819 \end_inset
1820
1821  aligns the content of the current cell vertically to the top
1822 \end_layout
1823
1824 \begin_layout Labeling
1825 \labelwidthstring 00.00.0000
1826 \begin_inset Graphics
1827         filename ../images/tabular-feature_valign-middle.xpm
1828
1829 \end_inset
1830
1831  centers the content of the current cell vertically
1832 \end_layout
1833
1834 \begin_layout Labeling
1835 \labelwidthstring 00.00.0000
1836 \begin_inset Graphics
1837         filename ../images/tabular-feature_valign-bottom.xpm
1838
1839 \end_inset
1840
1841  aligns the content of the current cell vertically to the bottom
1842 \end_layout
1843
1844 \begin_layout Labeling
1845 \labelwidthstring 00.00.0000
1846 \begin_inset Graphics
1847         filename ../images/tabular-feature_set-rotate-cell.xpm
1848
1849 \end_inset
1850
1851  rotates the current cell or selection counter-clockwise by 90°
1852 \end_layout
1853
1854 \begin_layout Labeling
1855 \labelwidthstring 00.00.0000
1856 \begin_inset Graphics
1857         filename ../images/tabular-feature_set-rotate-tabular.xpm
1858
1859 \end_inset
1860
1861  rotates the whole table counter-clockwise by 90°
1862 \end_layout
1863
1864 \begin_layout Labeling
1865 \labelwidthstring 00.00.0000
1866 \begin_inset Graphics
1867         filename ../images/tabular-feature_multicolumn.xpm
1868
1869 \end_inset
1870
1871  sets the current cell or selection as a multicolumn
1872 \end_layout
1873
1874 \begin_layout Section
1875 Edit Table Menu
1876 \begin_inset LatexCommand index
1877 name "Table ! Edit Menu"
1878
1879 \end_inset
1880
1881
1882 \end_layout
1883
1884 \begin_layout Standard
1885 Additionally to the table dialog and toolbar, the menu 
1886 \family sans
1887 Edit\SpecialChar \menuseparator
1888 Table
1889 \family default
1890  allows you to add and delete border lines for the current row/column and
1891  to set the current selection as multicolumn.
1892  The menu is only available when the cursor is inside a table.
1893 \end_layout
1894
1895 \begin_layout Section
1896 Table Floats
1897 \begin_inset LatexCommand label
1898 name "sec:Table-Floats"
1899
1900 \end_inset
1901
1902
1903 \begin_inset LatexCommand index
1904 name "Floats ! Tables"
1905
1906 \end_inset
1907
1908
1909 \begin_inset LatexCommand index
1910 name "Table ! Floats"
1911
1912 \end_inset
1913
1914
1915 \end_layout
1916
1917 \begin_layout Standard
1918 For general explanations about floats, have a look at section\InsetSpace ~
1919
1920 \begin_inset LatexCommand ref
1921 reference "sec:FloatIntroduction"
1922
1923 \end_inset
1924
1925 .
1926 \end_layout
1927
1928 \begin_layout Standard
1929 \begin_inset Float table
1930 placement h
1931 wide false
1932 sideways false
1933 status open
1934
1935 \begin_layout Standard
1936 \begin_inset Caption
1937
1938 \begin_layout Standard
1939 \begin_inset LatexCommand label
1940 name "tab:a table float"
1941
1942 \end_inset
1943
1944 A table float.
1945 \end_layout
1946
1947 \end_inset
1948
1949
1950 \end_layout
1951
1952 \begin_layout Standard
1953 \align center
1954 \begin_inset Tabular
1955 <lyxtabular version="3" rows="3" columns="3">
1956 <features>
1957 <column alignment="center" valignment="top" leftline="true" width="0pt">
1958 <column alignment="center" valignment="top" leftline="true" width="0pt">
1959 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
1960 <row topline="true" bottomline="true">
1961 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1962 \begin_inset Text
1963
1964 \begin_layout Standard
1965
1966 \family roman
1967 \series medium
1968 \shape up
1969 \size normal
1970 \emph off
1971 \bar no
1972 \noun off
1973 \color none
1974 1
1975 \end_layout
1976
1977 \end_inset
1978 </cell>
1979 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1980 \begin_inset Text
1981
1982 \begin_layout Standard
1983
1984 \family roman
1985 \series medium
1986 \shape up
1987 \size normal
1988 \emph off
1989 \bar no
1990 \noun off
1991 \color none
1992 2
1993 \end_layout
1994
1995 \end_inset
1996 </cell>
1997 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1998 \begin_inset Text
1999
2000 \begin_layout Standard
2001
2002 \family roman
2003 \series medium
2004 \shape up
2005 \size normal
2006 \emph off
2007 \bar no
2008 \noun off
2009 \color none
2010 3
2011 \end_layout
2012
2013 \end_inset
2014 </cell>
2015 </row>
2016 <row topline="true">
2017 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2018 \begin_inset Text
2019
2020 \begin_layout Standard
2021
2022 \family roman
2023 \series medium
2024 \shape up
2025 \size normal
2026 \emph off
2027 \bar no
2028 \noun off
2029 \color none
2030 Joe
2031 \end_layout
2032
2033 \end_inset
2034 </cell>
2035 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2036 \begin_inset Text
2037
2038 \begin_layout Standard
2039
2040 \family roman
2041 \series medium
2042 \shape up
2043 \size normal
2044 \emph off
2045 \bar no
2046 \noun off
2047 \color none
2048 Mary
2049 \end_layout
2050
2051 \end_inset
2052 </cell>
2053 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2054 \begin_inset Text
2055
2056 \begin_layout Standard
2057
2058 \family roman
2059 \series medium
2060 \shape up
2061 \size normal
2062 \emph off
2063 \bar no
2064 \noun off
2065 \color none
2066 Ted
2067 \end_layout
2068
2069 \end_inset
2070 </cell>
2071 </row>
2072 <row topline="true" bottomline="true">
2073 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2074 \begin_inset Text
2075
2076 \begin_layout Standard
2077
2078 \family roman
2079 \series medium
2080 \shape up
2081 \size normal
2082 \emph off
2083 \bar no
2084 \noun off
2085 \color none
2086 \begin_inset Formula $\int x^{2}dx$
2087 \end_inset
2088
2089
2090 \end_layout
2091
2092 \end_inset
2093 </cell>
2094 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2095 \begin_inset Text
2096
2097 \begin_layout Standard
2098
2099 \family roman
2100 \series medium
2101 \shape up
2102 \size normal
2103 \emph off
2104 \bar no
2105 \noun off
2106 \color none
2107 \begin_inset Formula $\left[\begin{array}{cc}
2108 a & b\\
2109 c & d\end{array}\right]$
2110 \end_inset
2111
2112
2113 \end_layout
2114
2115 \end_inset
2116 </cell>
2117 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2118 \begin_inset Text
2119
2120 \begin_layout Standard
2121
2122 \family roman
2123 \series medium
2124 \shape up
2125 \size normal
2126 \emph off
2127 \bar no
2128 \noun off
2129 \color none
2130 \begin_inset Formula $1+1=2$
2131 \end_inset
2132
2133
2134 \end_layout
2135
2136 \end_inset
2137 </cell>
2138 </row>
2139 </lyxtabular>
2140
2141 \end_inset
2142
2143
2144 \end_layout
2145
2146 \end_inset
2147
2148
2149 \end_layout
2150
2151 \begin_layout Standard
2152 Table floats can be inserted using the menu 
2153 \family sans
2154 Insert\SpecialChar \menuseparator
2155 Float\SpecialChar \menuseparator
2156 Table
2157 \family default
2158  or the toolbar button 
2159 \begin_inset Graphics
2160         filename ../images/float-insert_table.xpm
2161         scale 85
2162
2163 \end_inset
2164
2165 .
2166 \end_layout
2167
2168 \begin_layout Standard
2169 The float appears as a collapsible box with a caption that has the label
2170  
2171 \begin_inset Quotes eld
2172 \end_inset
2173
2174 Table\InsetSpace ~
2175 #:
2176 \begin_inset Quotes erd
2177 \end_inset
2178
2179  (# is the actual table number).
2180  You can insert tables to the float above or below the caption.
2181 \end_layout
2182
2183 \begin_layout Standard
2184 Table\InsetSpace ~
2185
2186 \begin_inset LatexCommand ref
2187 reference "tab:a table float"
2188
2189 \end_inset
2190
2191  is an example table within a table float.
2192 \end_layout
2193
2194 \begin_layout Standard
2195 Having the caption above the table is the common rule that is unfortunately
2196  not supported in LaTeX's standard classes.
2197  That means if you are using the document classes 
2198 \family sans
2199 article
2200 \family default
2201
2202 \family sans
2203 book
2204 \family default
2205
2206 \family sans
2207 letter
2208 \family default
2209 , or 
2210 \family sans
2211 report
2212 \family default
2213  there will be no space between the caption and the table.
2214  To insert the needed space, add the following option to the load command
2215  of the LaTeX-package 
2216 \series bold
2217 caption
2218 \series default
2219
2220 \begin_inset LatexCommand index
2221 name "LaTeX-packages ! caption"
2222
2223 \end_inset
2224
2225  in your document preamble
2226 \begin_inset Foot
2227 status collapsed
2228
2229 \begin_layout Standard
2230 For more information have a look at section\InsetSpace ~
2231
2232 \begin_inset LatexCommand ref
2233 reference "sec:Caption-Placement"
2234
2235 \end_inset
2236
2237 .
2238 \end_layout
2239
2240 \end_inset
2241
2242 :
2243 \end_layout
2244
2245 \begin_layout Standard
2246
2247 \series bold
2248 tableposition=top
2249 \end_layout
2250
2251 \begin_layout Standard
2252 The package 
2253 \series bold
2254 caption
2255 \series default
2256 , which is described in section\InsetSpace ~
2257
2258 \begin_inset LatexCommand ref
2259 reference "sec:Caption-Formatting"
2260
2261 \end_inset
2262
2263 , is used to adjust the caption format.
2264 \end_layout
2265
2266 \begin_layout Standard
2267 \begin_inset LatexCommand index
2268 name "References ! to Tables"
2269
2270 \end_inset
2271
2272 Tables can be cross-referenced in the text by referencing their label.
2273  To do this insert a label in the caption using the menu 
2274 \family sans
2275 Insert\SpecialChar \menuseparator
2276 Label
2277 \family default
2278  or the toolbar button 
2279 \begin_inset Graphics
2280         filename ../images/label-insert.xpm
2281         scale 85
2282
2283 \end_inset
2284
2285 .
2286  You can now refer to the label using the menu 
2287 \family sans
2288 Insert\SpecialChar \menuseparator
2289 Cross\InsetSpace ~
2290 reference
2291 \family default
2292  or the toolbar button 
2293 \begin_inset Graphics
2294         filename ../images/dialog-show-new-inset_ref.xpm
2295         scale 85
2296
2297 \end_inset
2298
2299 .
2300 \newline
2301 Referencing is explained in detail in section\InsetSpace ~
2302
2303 \begin_inset LatexCommand ref
2304 reference "sec:Referencing-Floats"
2305
2306 \end_inset
2307
2308 .
2309 \end_layout
2310
2311 \begin_layout Section
2312 Longtables
2313 \begin_inset LatexCommand label
2314 name "sec:Longtables"
2315
2316 \end_inset
2317
2318
2319 \begin_inset LatexCommand index
2320 name "Longtables"
2321
2322 \end_inset
2323
2324
2325 \begin_inset LatexCommand index
2326 name "Table ! Longtables"
2327
2328 \end_inset
2329
2330
2331 \end_layout
2332
2333 \begin_layout Standard
2334 If the table is too long to fit on one page, you can use the option 
2335 \family sans
2336 Use\InsetSpace ~
2337 long\InsetSpace ~
2338 table
2339 \family default
2340  in the tab 
2341 \family sans
2342 Longtable
2343 \family default
2344  of the table dialog to split the table automatically over more pages.
2345  Doing this enables some check boxes and you can now define:
2346 \end_layout
2347
2348 \begin_layout Description
2349
2350 \family sans
2351 Header
2352 \family default
2353 : The current row and all rows above, that don't have any special options
2354  defined, are defined to be the header rows of all pages of the longtable;
2355  except for the first page, if 
2356 \family sans
2357 First\InsetSpace ~
2358 header
2359 \family default
2360  is defined.
2361  This therefore called the main header.
2362 \end_layout
2363
2364 \begin_layout Description
2365
2366 \family sans
2367 First\InsetSpace ~
2368 header
2369 \family default
2370 : The current row and all rows above, that don't have any special options
2371  defined, are defined to be the header rows of the first page of the longtable.
2372 \end_layout
2373
2374 \begin_layout Description
2375
2376 \family sans
2377 Footer
2378 \family default
2379 : The current row and all rows below, that don't have any special options
2380  defined, are defined to be the footer rows of all pages of the longtable;
2381  except for the last page, if 
2382 \family sans
2383 Last\InsetSpace ~
2384 footer
2385 \family default
2386  is defined.
2387 \end_layout
2388
2389 \begin_layout Description
2390
2391 \family sans
2392 Last\InsetSpace ~
2393 footer
2394 \family default
2395 : The current row and all rows below, that don't have any special options
2396  defined, are defined to be the footer rows of the last page of the longtable.
2397 \end_layout
2398
2399 \begin_layout Standard
2400 You can also specify a row where the table is splitted.
2401  If you set more than one option in the same table row, you should be aware
2402  of the fact that only the first one is used in the given table row.
2403  The others will then be defined as 
2404 \emph on
2405 empty
2406 \emph default
2407 .
2408  In this context, first means first in this order: 
2409 \family sans
2410 Header,
2411 \family default
2412  
2413 \family sans
2414 First\InsetSpace ~
2415 header, Footer, Last\InsetSpace ~
2416 footer.
2417
2418 \family default
2419  See the following longtable to see how it works:
2420 \end_layout
2421
2422 \begin_layout Standard
2423 \align center
2424 \begin_inset Tabular
2425 <lyxtabular version="3" rows="69" columns="3">
2426 <features islongtable="true">
2427 <column alignment="left" valignment="top" leftline="true" width="0cm">
2428 <column alignment="left" valignment="top" width="0pt">
2429 <column alignment="right" valignment="top" leftline="true" rightline="true" width="0pt">
2430 <row topline="true" bottomline="true" endfirsthead="true">
2431 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2432 \begin_inset Text
2433
2434 \begin_layout Standard
2435
2436 \series bold
2437 Example Phone List (ignore the names)
2438 \end_layout
2439
2440 \end_inset
2441 </cell>
2442 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2443 \begin_inset Text
2444
2445 \begin_layout Standard
2446
2447 \end_layout
2448
2449 \end_inset
2450 </cell>
2451 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2452 \begin_inset Text
2453
2454 \begin_layout Standard
2455
2456 \end_layout
2457
2458 \end_inset
2459 </cell>
2460 </row>
2461 <row topline="true" bottomline="true" endfirsthead="true">
2462 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2463 \begin_inset Text
2464
2465 \begin_layout Standard
2466
2467 \series bold
2468 NAME
2469 \end_layout
2470
2471 \end_inset
2472 </cell>
2473 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2474 \begin_inset Text
2475
2476 \begin_layout Standard
2477
2478 \end_layout
2479
2480 \end_inset
2481 </cell>
2482 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2483 \begin_inset Text
2484
2485 \begin_layout Standard
2486
2487 \series bold
2488 TEL.
2489 \end_layout
2490
2491 \end_inset
2492 </cell>
2493 </row>
2494 <row topline="true" bottomline="true" endhead="true">
2495 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2496 \begin_inset Text
2497
2498 \begin_layout Standard
2499
2500 \series bold
2501 Example Phone List
2502 \end_layout
2503
2504 \end_inset
2505 </cell>
2506 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2507 \begin_inset Text
2508
2509 \begin_layout Standard
2510
2511 \end_layout
2512
2513 \end_inset
2514 </cell>
2515 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2516 \begin_inset Text
2517
2518 \begin_layout Standard
2519
2520 \end_layout
2521
2522 \end_inset
2523 </cell>
2524 </row>
2525 <row topline="true" bottomline="true" endhead="true">
2526 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2527 \begin_inset Text
2528
2529 \begin_layout Standard
2530
2531 \series bold
2532 NAME
2533 \end_layout
2534
2535 \end_inset
2536 </cell>
2537 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2538 \begin_inset Text
2539
2540 \begin_layout Standard
2541
2542 \end_layout
2543
2544 \end_inset
2545 </cell>
2546 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2547 \begin_inset Text
2548
2549 \begin_layout Standard
2550
2551 \series bold
2552 TEL.
2553 \end_layout
2554
2555 \end_inset
2556 </cell>
2557 </row>
2558 <row topline="true" bottomline="true" endfoot="true">
2559 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
2560 \begin_inset Text
2561
2562 \begin_layout Standard
2563  continued on next page
2564 \end_layout
2565
2566 \end_inset
2567 </cell>
2568 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2569 \begin_inset Text
2570
2571 \begin_layout Standard
2572
2573 \end_layout
2574
2575 \end_inset
2576 </cell>
2577 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2578 \begin_inset Text
2579
2580 \begin_layout Standard
2581
2582 \end_layout
2583
2584 \end_inset
2585 </cell>
2586 </row>
2587 <row>
2588 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2589 \begin_inset Text
2590
2591 \begin_layout Standard
2592
2593 \series bold
2594 Annovi
2595 \end_layout
2596
2597 \end_inset
2598 </cell>
2599 <cell alignment="center" valignment="top" topline="true" usebox="none">
2600 \begin_inset Text
2601
2602 \begin_layout Standard
2603 Silvia
2604 \end_layout
2605
2606 \end_inset
2607 </cell>
2608 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2609 \begin_inset Text
2610
2611 \begin_layout Standard
2612 111
2613 \end_layout
2614
2615 \end_inset
2616 </cell>
2617 </row>
2618 <row>
2619 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2620 \begin_inset Text
2621
2622 \begin_layout Standard
2623
2624 \series bold
2625 Bertoli
2626 \end_layout
2627
2628 \end_inset
2629 </cell>
2630 <cell alignment="center" valignment="top" topline="true" usebox="none">
2631 \begin_inset Text
2632
2633 \begin_layout Standard
2634 Stefano
2635 \end_layout
2636
2637 \end_inset
2638 </cell>
2639 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2640 \begin_inset Text
2641
2642 \begin_layout Standard
2643 111
2644 \end_layout
2645
2646 \end_inset
2647 </cell>
2648 </row>
2649 <row>
2650 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2651 \begin_inset Text
2652
2653 \begin_layout Standard
2654
2655 \series bold
2656 Bozzi
2657 \end_layout
2658
2659 \end_inset
2660 </cell>
2661 <cell alignment="center" valignment="top" topline="true" usebox="none">
2662 \begin_inset Text
2663
2664 \begin_layout Standard
2665 Walter
2666 \end_layout
2667
2668 \end_inset
2669 </cell>
2670 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2671 \begin_inset Text
2672
2673 \begin_layout Standard
2674 111
2675 \end_layout
2676
2677 \end_inset
2678 </cell>
2679 </row>
2680 <row>
2681 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2682 \begin_inset Text
2683
2684 \begin_layout Standard
2685
2686 \series bold
2687 Cachia
2688 \end_layout
2689
2690 \end_inset
2691 </cell>
2692 <cell alignment="center" valignment="top" topline="true" usebox="none">
2693 \begin_inset Text
2694
2695 \begin_layout Standard
2696 Maria
2697 \end_layout
2698
2699 \end_inset
2700 </cell>
2701 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2702 \begin_inset Text
2703
2704 \begin_layout Standard
2705 111
2706 \end_layout
2707
2708 \end_inset
2709 </cell>
2710 </row>
2711 <row>
2712 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2713 \begin_inset Text
2714
2715 \begin_layout Standard
2716
2717 \series bold
2718 Cachia
2719 \end_layout
2720
2721 \end_inset
2722 </cell>
2723 <cell alignment="center" valignment="top" topline="true" usebox="none">
2724 \begin_inset Text
2725
2726 \begin_layout Standard
2727 Maurizio
2728 \end_layout
2729
2730 \end_inset
2731 </cell>
2732 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2733 \begin_inset Text
2734
2735 \begin_layout Standard
2736 111
2737 \end_layout
2738
2739 \end_inset
2740 </cell>
2741 </row>
2742 <row>
2743 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2744 \begin_inset Text
2745
2746 \begin_layout Standard
2747
2748 \series bold
2749 Cinquemani
2750 \end_layout
2751
2752 \end_inset
2753 </cell>
2754 <cell alignment="center" valignment="top" topline="true" usebox="none">
2755 \begin_inset Text
2756
2757 \begin_layout Standard
2758 Giusi
2759 \end_layout
2760
2761 \end_inset
2762 </cell>
2763 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2764 \begin_inset Text
2765
2766 \begin_layout Standard
2767 111
2768 \end_layout
2769
2770 \end_inset
2771 </cell>
2772 </row>
2773 <row>
2774 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2775 \begin_inset Text
2776
2777 \begin_layout Standard
2778
2779 \series bold
2780 Colin
2781 \end_layout
2782
2783 \end_inset
2784 </cell>
2785 <cell alignment="center" valignment="top" topline="true" usebox="none">
2786 \begin_inset Text
2787
2788 \begin_layout Standard
2789 Bernard
2790 \end_layout
2791
2792 \end_inset
2793 </cell>
2794 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2795 \begin_inset Text
2796
2797 \begin_layout Standard
2798 111
2799 \end_layout
2800
2801 \end_inset
2802 </cell>
2803 </row>
2804 <row>
2805 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2806 \begin_inset Text
2807
2808 \begin_layout Standard
2809
2810 \series bold
2811 Concli
2812 \end_layout
2813
2814 \end_inset
2815 </cell>
2816 <cell alignment="center" valignment="top" topline="true" usebox="none">
2817 \begin_inset Text
2818
2819 \begin_layout Standard
2820 Gianfranco
2821 \end_layout
2822
2823 \end_inset
2824 </cell>
2825 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2826 \begin_inset Text
2827
2828 \begin_layout Standard
2829 111
2830 \end_layout
2831
2832 \end_inset
2833 </cell>
2834 </row>
2835 <row>
2836 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2837 \begin_inset Text
2838
2839 \begin_layout Standard
2840
2841 \series bold
2842 Dal Bosco
2843 \end_layout
2844
2845 \end_inset
2846 </cell>
2847 <cell alignment="center" valignment="top" topline="true" usebox="none">
2848 \begin_inset Text
2849
2850 \begin_layout Standard
2851 Carolina
2852 \end_layout
2853
2854 \end_inset
2855 </cell>
2856 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2857 \begin_inset Text
2858
2859 \begin_layout Standard
2860 111
2861 \end_layout
2862
2863 \end_inset
2864 </cell>
2865 </row>
2866 <row>
2867 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2868 \begin_inset Text
2869
2870 \begin_layout Standard
2871
2872 \series bold
2873 Dalpiaz
2874 \end_layout
2875
2876 \end_inset
2877 </cell>
2878 <cell alignment="center" valignment="top" topline="true" usebox="none">
2879 \begin_inset Text
2880
2881 \begin_layout Standard
2882 Annamaria
2883 \end_layout
2884
2885 \end_inset
2886 </cell>
2887 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2888 \begin_inset Text
2889
2890 \begin_layout Standard
2891 111
2892 \end_layout
2893
2894 \end_inset
2895 </cell>
2896 </row>
2897 <row>
2898 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2899 \begin_inset Text
2900
2901 \begin_layout Standard
2902
2903 \series bold
2904 Feliciello
2905 \end_layout
2906
2907 \end_inset
2908 </cell>
2909 <cell alignment="center" valignment="top" topline="true" usebox="none">
2910 \begin_inset Text
2911
2912 \begin_layout Standard
2913 Domenico
2914 \end_layout
2915
2916 \end_inset
2917 </cell>
2918 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2919 \begin_inset Text
2920
2921 \begin_layout Standard
2922 111
2923 \end_layout
2924
2925 \end_inset
2926 </cell>
2927 </row>
2928 <row>
2929 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2930 \begin_inset Text
2931
2932 \begin_layout Standard
2933
2934 \series bold
2935 Focarelli
2936 \end_layout
2937
2938 \end_inset
2939 </cell>
2940 <cell alignment="center" valignment="top" topline="true" usebox="none">
2941 \begin_inset Text
2942
2943 \begin_layout Standard
2944 Paola
2945 \end_layout
2946
2947 \end_inset
2948 </cell>
2949 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2950 \begin_inset Text
2951
2952 \begin_layout Standard
2953 111
2954 \end_layout
2955
2956 \end_inset
2957 </cell>
2958 </row>
2959 <row>
2960 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2961 \begin_inset Text
2962
2963 \begin_layout Standard
2964
2965 \series bold
2966 Galletti
2967 \end_layout
2968
2969 \end_inset
2970 </cell>
2971 <cell alignment="center" valignment="top" topline="true" usebox="none">
2972 \begin_inset Text
2973
2974 \begin_layout Standard
2975 Oreste
2976 \end_layout
2977
2978 \end_inset
2979 </cell>
2980 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2981 \begin_inset Text
2982
2983 \begin_layout Standard
2984 111
2985 \end_layout
2986
2987 \end_inset
2988 </cell>
2989 </row>
2990 <row>
2991 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2992 \begin_inset Text
2993
2994 \begin_layout Standard
2995
2996 \series bold
2997 Gasparini
2998 \end_layout
2999
3000 \end_inset
3001 </cell>
3002 <cell alignment="center" valignment="top" topline="true" usebox="none">
3003 \begin_inset Text
3004
3005 \begin_layout Standard
3006 Franca
3007 \end_layout
3008
3009 \end_inset
3010 </cell>
3011 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3012 \begin_inset Text
3013
3014 \begin_layout Standard
3015 111
3016 \end_layout
3017
3018 \end_inset
3019 </cell>
3020 </row>
3021 <row>
3022 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3023 \begin_inset Text
3024
3025 \begin_layout Standard
3026
3027 \series bold
3028 Rizzardi
3029 \end_layout
3030
3031 \end_inset
3032 </cell>
3033 <cell alignment="center" valignment="top" topline="true" usebox="none">
3034 \begin_inset Text
3035
3036 \begin_layout Standard
3037 Paola
3038 \end_layout
3039
3040 \end_inset
3041 </cell>
3042 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3043 \begin_inset Text
3044
3045 \begin_layout Standard
3046 111
3047 \end_layout
3048
3049 \end_inset
3050 </cell>
3051 </row>
3052 <row>
3053 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3054 \begin_inset Text
3055
3056 \begin_layout Standard
3057
3058 \series bold
3059 Lassini
3060 \end_layout
3061
3062 \end_inset
3063 </cell>
3064 <cell alignment="center" valignment="top" topline="true" usebox="none">
3065 \begin_inset Text
3066
3067 \begin_layout Standard
3068 Giancarlo
3069 \end_layout
3070
3071 \end_inset
3072 </cell>
3073 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3074 \begin_inset Text
3075
3076 \begin_layout Standard
3077 111
3078 \end_layout
3079
3080 \end_inset
3081 </cell>
3082 </row>
3083 <row>
3084 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3085 \begin_inset Text
3086
3087 \begin_layout Standard
3088
3089 \series bold
3090 Malfatti
3091 \end_layout
3092
3093 \end_inset
3094 </cell>
3095 <cell alignment="center" valignment="top" topline="true" usebox="none">
3096 \begin_inset Text
3097
3098 \begin_layout Standard
3099 Luciano
3100 \end_layout
3101
3102 \end_inset
3103 </cell>
3104 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3105 \begin_inset Text
3106
3107 \begin_layout Standard
3108 111
3109 \end_layout
3110
3111 \end_inset
3112 </cell>
3113 </row>
3114 <row>
3115 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3116 \begin_inset Text
3117
3118 \begin_layout Standard
3119
3120 \series bold
3121 Malfatti
3122 \end_layout
3123
3124 \end_inset
3125 </cell>
3126 <cell alignment="center" valignment="top" topline="true" usebox="none">
3127 \begin_inset Text
3128
3129 \begin_layout Standard
3130 Valeriano
3131 \end_layout
3132
3133 \end_inset
3134 </cell>
3135 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3136 \begin_inset Text
3137
3138 \begin_layout Standard
3139 111
3140 \end_layout
3141
3142 \end_inset
3143 </cell>
3144 </row>
3145 <row>
3146 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3147 \begin_inset Text
3148
3149 \begin_layout Standard
3150
3151 \series bold
3152 Meneguzzo
3153 \end_layout
3154
3155 \end_inset
3156 </cell>
3157 <cell alignment="center" valignment="top" topline="true" usebox="none">
3158 \begin_inset Text
3159
3160 \begin_layout Standard
3161 Roberto
3162 \end_layout
3163
3164 \end_inset
3165 </cell>
3166 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3167 \begin_inset Text
3168
3169 \begin_layout Standard
3170 111
3171 \end_layout
3172
3173 \end_inset
3174 </cell>
3175 </row>
3176 <row>
3177 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3178 \begin_inset Text
3179
3180 \begin_layout Standard
3181
3182 \series bold
3183 Mezzadra
3184 \end_layout
3185
3186 \end_inset
3187 </cell>
3188 <cell alignment="center" valignment="top" topline="true" usebox="none">
3189 \begin_inset Text
3190
3191 \begin_layout Standard
3192 Roberto
3193 \end_layout
3194
3195 \end_inset
3196 </cell>
3197 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3198 \begin_inset Text
3199
3200 \begin_layout Standard
3201 111
3202 \end_layout
3203
3204 \end_inset
3205 </cell>
3206 </row>
3207 <row>
3208 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3209 \begin_inset Text
3210
3211 \begin_layout Standard
3212
3213 \series bold
3214 Pirpamer
3215 \end_layout
3216
3217 \end_inset
3218 </cell>
3219 <cell alignment="center" valignment="top" topline="true" usebox="none">
3220 \begin_inset Text
3221
3222 \begin_layout Standard
3223 Erich
3224 \end_layout
3225
3226 \end_inset
3227 </cell>
3228 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3229 \begin_inset Text
3230
3231 \begin_layout Standard
3232 111
3233 \end_layout
3234
3235 \end_inset
3236 </cell>
3237 </row>
3238 <row>
3239 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3240 \begin_inset Text
3241
3242 \begin_layout Standard
3243
3244 \series bold
3245 Pochiesa
3246 \end_layout
3247
3248 \end_inset
3249 </cell>
3250 <cell alignment="center" valignment="top" topline="true" usebox="none">
3251 \begin_inset Text
3252
3253 \begin_layout Standard
3254 Paolo
3255 \end_layout
3256
3257 \end_inset
3258 </cell>
3259 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3260 \begin_inset Text
3261
3262 \begin_layout Standard
3263 111, 222
3264 \end_layout
3265
3266 \end_inset
3267 </cell>
3268 </row>
3269 <row>
3270 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3271 \begin_inset Text
3272
3273 \begin_layout Standard
3274
3275 \series bold
3276 Radina
3277 \end_layout
3278
3279 \end_inset
3280 </cell>
3281 <cell alignment="center" valignment="top" topline="true" usebox="none">
3282 \begin_inset Text
3283
3284 \begin_layout Standard
3285 Claudio
3286 \end_layout
3287
3288 \end_inset
3289 </cell>
3290 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3291 \begin_inset Text
3292
3293 \begin_layout Standard
3294 111
3295 \end_layout
3296
3297 \end_inset
3298 </cell>
3299 </row>
3300 <row>
3301 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3302 \begin_inset Text
3303
3304 \begin_layout Standard
3305
3306 \series bold
3307 Stuffer
3308 \end_layout
3309
3310 \end_inset
3311 </cell>
3312 <cell alignment="center" valignment="top" topline="true" usebox="none">
3313 \begin_inset Text
3314
3315 \begin_layout Standard
3316 Oskar
3317 \end_layout
3318
3319 \end_inset
3320 </cell>
3321 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3322 \begin_inset Text
3323
3324 \begin_layout Standard
3325 111
3326 \end_layout
3327
3328 \end_inset
3329 </cell>
3330 </row>
3331 <row>
3332 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3333 \begin_inset Text
3334
3335 \begin_layout Standard
3336
3337 \series bold
3338 Tacchelli
3339 \end_layout
3340
3341 \end_inset
3342 </cell>
3343 <cell alignment="center" valignment="top" topline="true" usebox="none">
3344 \begin_inset Text
3345
3346 \begin_layout Standard
3347 Ugo
3348 \end_layout
3349
3350 \end_inset
3351 </cell>
3352 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3353 \begin_inset Text
3354
3355 \begin_layout Standard
3356 111
3357 \end_layout
3358
3359 \end_inset
3360 </cell>
3361 </row>
3362 <row>
3363 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3364 \begin_inset Text
3365
3366 \begin_layout Standard
3367
3368 \series bold
3369 Tezzele
3370 \end_layout
3371
3372 \end_inset
3373 </cell>
3374 <cell alignment="center" valignment="top" topline="true" usebox="none">
3375 \begin_inset Text
3376
3377 \begin_layout Standard
3378 Margit
3379 \end_layout
3380
3381 \end_inset
3382 </cell>
3383 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3384 \begin_inset Text
3385
3386 \begin_layout Standard
3387 111
3388 \end_layout
3389
3390 \end_inset
3391 </cell>
3392 </row>
3393 <row>
3394 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3395 \begin_inset Text
3396
3397 \begin_layout Standard
3398
3399 \series bold
3400 Unterkalmsteiner
3401 \end_layout
3402
3403 \end_inset
3404 </cell>
3405 <cell alignment="center" valignment="top" topline="true" usebox="none">
3406 \begin_inset Text
3407
3408 \begin_layout Standard
3409 Frieda
3410 \end_layout
3411
3412 \end_inset
3413 </cell>
3414 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3415 \begin_inset Text
3416
3417 \begin_layout Standard
3418 111
3419 \end_layout
3420
3421 \end_inset
3422 </cell>
3423 </row>
3424 <row>
3425 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3426 \begin_inset Text
3427
3428 \begin_layout Standard
3429
3430 \series bold
3431 Vieider
3432 \end_layout
3433
3434 \end_inset
3435 </cell>
3436 <cell alignment="center" valignment="top" topline="true" usebox="none">
3437 \begin_inset Text
3438
3439 \begin_layout Standard
3440 Hilde
3441 \end_layout
3442
3443 \end_inset
3444 </cell>
3445 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3446 \begin_inset Text
3447
3448 \begin_layout Standard
3449 111
3450 \end_layout
3451
3452 \end_inset
3453 </cell>
3454 </row>
3455 <row>
3456 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3457 \begin_inset Text
3458
3459 \begin_layout Standard
3460
3461 \series bold
3462 Vigna
3463 \end_layout
3464
3465 \end_inset
3466 </cell>
3467 <cell alignment="center" valignment="top" topline="true" usebox="none">
3468 \begin_inset Text
3469
3470 \begin_layout Standard
3471 Jürgen
3472 \end_layout
3473
3474 \end_inset
3475 </cell>
3476 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3477 \begin_inset Text
3478
3479 \begin_layout Standard
3480 111
3481 \end_layout
3482
3483 \end_inset
3484 </cell>
3485 </row>
3486 <row>
3487 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3488 \begin_inset Text
3489
3490 \begin_layout Standard
3491
3492 \series bold
3493 Weber
3494 \end_layout
3495
3496 \end_inset
3497 </cell>
3498 <cell alignment="center" valignment="top" topline="true" usebox="none">
3499 \begin_inset Text
3500
3501 \begin_layout Standard
3502 Maurizio
3503 \end_layout
3504
3505 \end_inset
3506 </cell>
3507 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3508 \begin_inset Text
3509
3510 \begin_layout Standard
3511 111
3512 \end_layout
3513
3514 \end_inset
3515 </cell>
3516 </row>
3517 <row bottomline="true">
3518 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3519 \begin_inset Text
3520
3521 \begin_layout Standard
3522
3523 \series bold
3524 Winkler
3525 \end_layout
3526
3527 \end_inset
3528 </cell>
3529 <cell alignment="center" valignment="top" topline="true" usebox="none">
3530 \begin_inset Text
3531
3532 \begin_layout Standard
3533 Franz
3534 \end_layout
3535
3536 \end_inset
3537 </cell>
3538 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3539 \begin_inset Text
3540
3541 \begin_layout Standard
3542 111
3543 \end_layout
3544
3545 \end_inset
3546 </cell>
3547 </row>
3548 <row bottomline="true">
3549 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3550 \begin_inset Text
3551
3552 \begin_layout Standard
3553  
3554 \end_layout
3555
3556 \end_inset
3557 </cell>
3558 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
3559 \begin_inset Text
3560
3561 \begin_layout Standard
3562
3563 \end_layout
3564
3565 \end_inset
3566 </cell>
3567 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3568 \begin_inset Text
3569
3570 \begin_layout Standard
3571
3572 \end_layout
3573
3574 \end_inset
3575 </cell>
3576 </row>
3577 <row>
3578 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3579 \begin_inset Text
3580
3581 \begin_layout Standard
3582
3583 \series bold
3584 Annovi
3585 \end_layout
3586
3587 \end_inset
3588 </cell>
3589 <cell alignment="center" valignment="top" topline="true" usebox="none">
3590 \begin_inset Text
3591
3592 \begin_layout Standard
3593 Silvia
3594 \end_layout
3595
3596 \end_inset
3597 </cell>
3598 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3599 \begin_inset Text
3600
3601 \begin_layout Standard
3602 555
3603 \end_layout
3604
3605 \end_inset
3606 </cell>
3607 </row>
3608 <row>
3609 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3610 \begin_inset Text
3611
3612 \begin_layout Standard
3613
3614 \series bold
3615 Bertoli
3616 \end_layout
3617
3618 \end_inset
3619 </cell>
3620 <cell alignment="center" valignment="top" topline="true" usebox="none">
3621 \begin_inset Text
3622
3623 \begin_layout Standard
3624 Stefano
3625 \end_layout
3626
3627 \end_inset
3628 </cell>
3629 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3630 \begin_inset Text
3631
3632 \begin_layout Standard
3633 555
3634 \end_layout
3635
3636 \end_inset
3637 </cell>
3638 </row>
3639 <row>
3640 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3641 \begin_inset Text
3642
3643 \begin_layout Standard
3644
3645 \series bold
3646 Bozzi
3647 \end_layout
3648
3649 \end_inset
3650 </cell>
3651 <cell alignment="center" valignment="top" topline="true" usebox="none">
3652 \begin_inset Text
3653
3654 \begin_layout Standard
3655 Walter
3656 \end_layout
3657
3658 \end_inset
3659 </cell>
3660 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3661 \begin_inset Text
3662
3663 \begin_layout Standard
3664 555
3665 \end_layout
3666
3667 \end_inset
3668 </cell>
3669 </row>
3670 <row>
3671 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3672 \begin_inset Text
3673
3674 \begin_layout Standard
3675
3676 \series bold
3677 Cachia
3678 \end_layout
3679
3680 \end_inset
3681 </cell>
3682 <cell alignment="center" valignment="top" topline="true" usebox="none">
3683 \begin_inset Text
3684
3685 \begin_layout Standard
3686 Maria
3687 \end_layout
3688
3689 \end_inset
3690 </cell>
3691 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3692 \begin_inset Text
3693
3694 \begin_layout Standard
3695 555
3696 \end_layout
3697
3698 \end_inset
3699 </cell>
3700 </row>
3701 <row>
3702 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3703 \begin_inset Text
3704
3705 \begin_layout Standard
3706
3707 \series bold
3708 Cachia
3709 \end_layout
3710
3711 \end_inset
3712 </cell>
3713 <cell alignment="center" valignment="top" topline="true" usebox="none">
3714 \begin_inset Text
3715
3716 \begin_layout Standard
3717 Maurizio
3718 \end_layout
3719
3720 \end_inset
3721 </cell>
3722 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3723 \begin_inset Text
3724
3725 \begin_layout Standard
3726 555
3727 \end_layout
3728
3729 \end_inset
3730 </cell>
3731 </row>
3732 <row>
3733 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3734 \begin_inset Text
3735
3736 \begin_layout Standard
3737
3738 \series bold
3739 Cinquemani
3740 \end_layout
3741
3742 \end_inset
3743 </cell>
3744 <cell alignment="center" valignment="top" topline="true" usebox="none">
3745 \begin_inset Text
3746
3747 \begin_layout Standard
3748 Giusi
3749 \end_layout
3750
3751 \end_inset
3752 </cell>
3753 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3754 \begin_inset Text
3755
3756 \begin_layout Standard
3757 555
3758 \end_layout
3759
3760 \end_inset
3761 </cell>
3762 </row>
3763 <row>
3764 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3765 \begin_inset Text
3766
3767 \begin_layout Standard
3768
3769 \series bold
3770 Colin
3771 \end_layout
3772
3773 \end_inset
3774 </cell>
3775 <cell alignment="center" valignment="top" topline="true" usebox="none">
3776 \begin_inset Text
3777
3778 \begin_layout Standard
3779 Bernard
3780 \end_layout
3781
3782 \end_inset
3783 </cell>
3784 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3785 \begin_inset Text
3786
3787 \begin_layout Standard
3788 555
3789 \end_layout
3790
3791 \end_inset
3792 </cell>
3793 </row>
3794 <row>
3795 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3796 \begin_inset Text
3797
3798 \begin_layout Standard
3799
3800 \series bold
3801 Concli
3802 \end_layout
3803
3804 \end_inset
3805 </cell>
3806 <cell alignment="center" valignment="top" topline="true" usebox="none">
3807 \begin_inset Text
3808
3809 \begin_layout Standard
3810 Gianfranco
3811 \end_layout
3812
3813 \end_inset
3814 </cell>
3815 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3816 \begin_inset Text
3817
3818 \begin_layout Standard
3819 555
3820 \end_layout
3821
3822 \end_inset
3823 </cell>
3824 </row>
3825 <row>
3826 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3827 \begin_inset Text
3828
3829 \begin_layout Standard
3830
3831 \series bold
3832 Dal Bosco
3833 \end_layout
3834
3835 \end_inset
3836 </cell>
3837 <cell alignment="center" valignment="top" topline="true" usebox="none">
3838 \begin_inset Text
3839
3840 \begin_layout Standard
3841 Carolina
3842 \end_layout
3843
3844 \end_inset
3845 </cell>
3846 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3847 \begin_inset Text
3848
3849 \begin_layout Standard
3850 555
3851 \end_layout
3852
3853 \end_inset
3854 </cell>
3855 </row>
3856 <row>
3857 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3858 \begin_inset Text
3859
3860 \begin_layout Standard
3861
3862 \series bold
3863 Dalpiaz
3864 \end_layout
3865
3866 \end_inset
3867 </cell>
3868 <cell alignment="center" valignment="top" topline="true" usebox="none">
3869 \begin_inset Text
3870
3871 \begin_layout Standard
3872 Annamaria
3873 \end_layout
3874
3875 \end_inset
3876 </cell>
3877 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3878 \begin_inset Text
3879
3880 \begin_layout Standard
3881 555
3882 \end_layout
3883
3884 \end_inset
3885 </cell>
3886 </row>
3887 <row>
3888 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3889 \begin_inset Text
3890
3891 \begin_layout Standard
3892
3893 \series bold
3894 Feliciello
3895 \end_layout
3896
3897 \end_inset
3898 </cell>
3899 <cell alignment="center" valignment="top" topline="true" usebox="none">
3900 \begin_inset Text
3901
3902 \begin_layout Standard
3903 Domenico
3904 \end_layout
3905
3906 \end_inset
3907 </cell>
3908 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3909 \begin_inset Text
3910
3911 \begin_layout Standard
3912 555
3913 \end_layout
3914
3915 \end_inset
3916 </cell>
3917 </row>
3918 <row>
3919 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3920 \begin_inset Text
3921
3922 \begin_layout Standard
3923
3924 \series bold
3925 Focarelli
3926 \end_layout
3927
3928 \end_inset
3929 </cell>
3930 <cell alignment="center" valignment="top" topline="true" usebox="none">
3931 \begin_inset Text
3932
3933 \begin_layout Standard
3934 Paola
3935 \end_layout
3936
3937 \end_inset
3938 </cell>
3939 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3940 \begin_inset Text
3941
3942 \begin_layout Standard
3943 555
3944 \end_layout
3945
3946 \end_inset
3947 </cell>
3948 </row>
3949 <row>
3950 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3951 \begin_inset Text
3952
3953 \begin_layout Standard
3954
3955 \series bold
3956 Galletti
3957 \end_layout
3958
3959 \end_inset
3960 </cell>
3961 <cell alignment="center" valignment="top" topline="true" usebox="none">
3962 \begin_inset Text
3963
3964 \begin_layout Standard
3965 Oreste
3966 \end_layout
3967
3968 \end_inset
3969 </cell>
3970 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3971 \begin_inset Text
3972
3973 \begin_layout Standard
3974 555
3975 \end_layout
3976
3977 \end_inset
3978 </cell>
3979 </row>
3980 <row>
3981 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3982 \begin_inset Text
3983
3984 \begin_layout Standard
3985
3986 \series bold
3987 Gasparini
3988 \end_layout
3989
3990 \end_inset
3991 </cell>
3992 <cell alignment="center" valignment="top" topline="true" usebox="none">
3993 \begin_inset Text
3994
3995 \begin_layout Standard
3996 Franca
3997 \end_layout
3998
3999 \end_inset
4000 </cell>
4001 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4002 \begin_inset Text
4003
4004 \begin_layout Standard
4005 555
4006 \end_layout
4007
4008 \end_inset
4009 </cell>
4010 </row>
4011 <row>
4012 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4013 \begin_inset Text
4014
4015 \begin_layout Standard
4016
4017 \series bold
4018 Rizzardi
4019 \end_layout
4020
4021 \end_inset
4022 </cell>
4023 <cell alignment="center" valignment="top" topline="true" usebox="none">
4024 \begin_inset Text
4025
4026 \begin_layout Standard
4027 Paola
4028 \end_layout
4029
4030 \end_inset
4031 </cell>
4032 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4033 \begin_inset Text
4034
4035 \begin_layout Standard
4036 555
4037 \end_layout
4038
4039 \end_inset
4040 </cell>
4041 </row>
4042 <row>
4043 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4044 \begin_inset Text
4045
4046 \begin_layout Standard
4047
4048 \series bold
4049 Lassini
4050 \end_layout
4051
4052 \end_inset
4053 </cell>
4054 <cell alignment="center" valignment="top" topline="true" usebox="none">
4055 \begin_inset Text
4056
4057 \begin_layout Standard
4058 Giancarlo
4059 \end_layout
4060
4061 \end_inset
4062 </cell>
4063 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4064 \begin_inset Text
4065
4066 \begin_layout Standard
4067 555
4068 \end_layout
4069
4070 \end_inset
4071 </cell>
4072 </row>
4073 <row>
4074 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4075 \begin_inset Text
4076
4077 \begin_layout Standard
4078
4079 \series bold
4080 Malfatti
4081 \end_layout
4082
4083 \end_inset
4084 </cell>
4085 <cell alignment="center" valignment="top" topline="true" usebox="none">
4086 \begin_inset Text
4087
4088 \begin_layout Standard
4089 Luciano
4090 \end_layout
4091
4092 \end_inset
4093 </cell>
4094 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4095 \begin_inset Text
4096
4097 \begin_layout Standard
4098 555
4099 \end_layout
4100
4101 \end_inset
4102 </cell>
4103 </row>
4104 <row>
4105 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4106 \begin_inset Text
4107
4108 \begin_layout Standard
4109
4110 \series bold
4111 Malfatti
4112 \end_layout
4113
4114 \end_inset
4115 </cell>
4116 <cell alignment="center" valignment="top" topline="true" usebox="none">
4117 \begin_inset Text
4118
4119 \begin_layout Standard
4120 Valeriano
4121 \end_layout
4122
4123 \end_inset
4124 </cell>
4125 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4126 \begin_inset Text
4127
4128 \begin_layout Standard
4129 555
4130 \end_layout
4131
4132 \end_inset
4133 </cell>
4134 </row>
4135 <row>
4136 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4137 \begin_inset Text
4138
4139 \begin_layout Standard
4140
4141 \series bold
4142 Meneguzzo
4143 \end_layout
4144
4145 \end_inset
4146 </cell>
4147 <cell alignment="center" valignment="top" topline="true" usebox="none">
4148 \begin_inset Text
4149
4150 \begin_layout Standard
4151 Roberto
4152 \end_layout
4153
4154 \end_inset
4155 </cell>
4156 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4157 \begin_inset Text
4158
4159 \begin_layout Standard
4160 555
4161 \end_layout
4162
4163 \end_inset
4164 </cell>
4165 </row>
4166 <row>
4167 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4168 \begin_inset Text
4169
4170 \begin_layout Standard
4171
4172 \series bold
4173 Mezzadra
4174 \end_layout
4175
4176 \end_inset
4177 </cell>
4178 <cell alignment="center" valignment="top" topline="true" usebox="none">
4179 \begin_inset Text
4180
4181 \begin_layout Standard
4182 Roberto
4183 \end_layout
4184
4185 \end_inset
4186 </cell>
4187 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4188 \begin_inset Text
4189
4190 \begin_layout Standard
4191 555
4192 \end_layout
4193
4194 \end_inset
4195 </cell>
4196 </row>
4197 <row>
4198 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4199 \begin_inset Text
4200
4201 \begin_layout Standard
4202
4203 \series bold
4204 Pirpamer
4205 \end_layout
4206
4207 \end_inset
4208 </cell>
4209 <cell alignment="center" valignment="top" topline="true" usebox="none">
4210 \begin_inset Text
4211
4212 \begin_layout Standard
4213 Erich
4214 \end_layout
4215
4216 \end_inset
4217 </cell>
4218 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4219 \begin_inset Text
4220
4221 \begin_layout Standard
4222 555
4223 \end_layout
4224
4225 \end_inset
4226 </cell>
4227 </row>
4228 <row>
4229 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4230 \begin_inset Text
4231
4232 \begin_layout Standard
4233
4234 \series bold
4235 Pochiesa
4236 \end_layout
4237
4238 \end_inset
4239 </cell>
4240 <cell alignment="center" valignment="top" topline="true" usebox="none">
4241 \begin_inset Text
4242
4243 \begin_layout Standard
4244 Paolo
4245 \end_layout
4246
4247 \end_inset
4248 </cell>
4249 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4250 \begin_inset Text
4251
4252 \begin_layout Standard
4253 555, 222
4254 \end_layout
4255
4256 \end_inset
4257 </cell>
4258 </row>
4259 <row>
4260 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4261 \begin_inset Text
4262
4263 \begin_layout Standard
4264
4265 \series bold
4266 Radina
4267 \end_layout
4268
4269 \end_inset
4270 </cell>
4271 <cell alignment="center" valignment="top" topline="true" usebox="none">
4272 \begin_inset Text
4273
4274 \begin_layout Standard
4275 Claudio
4276 \end_layout
4277
4278 \end_inset
4279 </cell>
4280 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4281 \begin_inset Text
4282
4283 \begin_layout Standard
4284 555
4285 \end_layout
4286
4287 \end_inset
4288 </cell>
4289 </row>
4290 <row>
4291 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4292 \begin_inset Text
4293
4294 \begin_layout Standard
4295
4296 \series bold
4297 Stuffer
4298 \end_layout
4299
4300 \end_inset
4301 </cell>
4302 <cell alignment="center" valignment="top" topline="true" usebox="none">
4303 \begin_inset Text
4304
4305 \begin_layout Standard
4306 Oskar
4307 \end_layout
4308
4309 \end_inset
4310 </cell>
4311 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4312 \begin_inset Text
4313
4314 \begin_layout Standard
4315 555
4316 \end_layout
4317
4318 \end_inset
4319 </cell>
4320 </row>
4321 <row>
4322 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4323 \begin_inset Text
4324
4325 \begin_layout Standard
4326
4327 \series bold
4328 Tacchelli
4329 \end_layout
4330
4331 \end_inset
4332 </cell>
4333 <cell alignment="center" valignment="top" topline="true" usebox="none">
4334 \begin_inset Text
4335
4336 \begin_layout Standard
4337 Ugo
4338 \end_layout
4339
4340 \end_inset
4341 </cell>
4342 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4343 \begin_inset Text
4344
4345 \begin_layout Standard
4346 555
4347 \end_layout
4348
4349 \end_inset
4350 </cell>
4351 </row>
4352 <row>
4353 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4354 \begin_inset Text
4355
4356 \begin_layout Standard
4357
4358 \series bold
4359 Tezzele
4360 \end_layout
4361
4362 \end_inset
4363 </cell>
4364 <cell alignment="center" valignment="top" topline="true" usebox="none">
4365 \begin_inset Text
4366
4367 \begin_layout Standard
4368 Margit
4369 \end_layout
4370
4371 \end_inset
4372 </cell>
4373 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4374 \begin_inset Text
4375
4376 \begin_layout Standard
4377 555
4378 \end_layout
4379
4380 \end_inset
4381 </cell>
4382 </row>
4383 <row>
4384 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4385 \begin_inset Text
4386
4387 \begin_layout Standard
4388
4389 \series bold
4390 Unterkalmsteiner
4391 \end_layout
4392
4393 \end_inset
4394 </cell>
4395 <cell alignment="center" valignment="top" topline="true" usebox="none">
4396 \begin_inset Text
4397
4398 \begin_layout Standard
4399 Frieda
4400 \end_layout
4401
4402 \end_inset
4403 </cell>
4404 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4405 \begin_inset Text
4406
4407 \begin_layout Standard
4408 555
4409 \end_layout
4410
4411 \end_inset
4412 </cell>
4413 </row>
4414 <row>
4415 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4416 \begin_inset Text
4417
4418 \begin_layout Standard
4419
4420 \series bold
4421 Vieider
4422 \end_layout
4423
4424 \end_inset
4425 </cell>
4426 <cell alignment="center" valignment="top" topline="true" usebox="none">
4427 \begin_inset Text
4428
4429 \begin_layout Standard
4430 Hilde
4431 \end_layout
4432
4433 \end_inset
4434 </cell>
4435 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4436 \begin_inset Text
4437
4438 \begin_layout Standard
4439 555
4440 \end_layout
4441
4442 \end_inset
4443 </cell>
4444 </row>
4445 <row>
4446 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4447 \begin_inset Text
4448
4449 \begin_layout Standard
4450
4451 \series bold
4452 Vigna
4453 \end_layout
4454
4455 \end_inset
4456 </cell>
4457 <cell alignment="center" valignment="top" topline="true" usebox="none">
4458 \begin_inset Text
4459
4460 \begin_layout Standard
4461 Jürgen
4462 \end_layout
4463
4464 \end_inset
4465 </cell>
4466 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4467 \begin_inset Text
4468
4469 \begin_layout Standard
4470 999
4471 \end_layout
4472
4473 \end_inset
4474 </cell>
4475 </row>
4476 <row>
4477 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4478 \begin_inset Text
4479
4480 \begin_layout Standard
4481
4482 \series bold
4483 Weber
4484 \end_layout
4485
4486 \end_inset
4487 </cell>
4488 <cell alignment="center" valignment="top" topline="true" usebox="none">
4489 \begin_inset Text
4490
4491 \begin_layout Standard
4492 Maurizio
4493 \end_layout
4494
4495 \end_inset
4496 </cell>
4497 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4498 \begin_inset Text
4499
4500 \begin_layout Standard
4501 555
4502 \end_layout
4503
4504 \end_inset
4505 </cell>
4506 </row>
4507 <row bottomline="true">
4508 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4509 \begin_inset Text
4510
4511 \begin_layout Standard
4512
4513 \series bold
4514 Winkler
4515 \end_layout
4516
4517 \end_inset
4518 </cell>
4519 <cell alignment="center" valignment="top" topline="true" usebox="none">
4520 \begin_inset Text
4521
4522 \begin_layout Standard
4523 Franz
4524 \end_layout
4525
4526 \end_inset
4527 </cell>
4528 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4529 \begin_inset Text
4530
4531 \begin_layout Standard
4532 555
4533 \end_layout
4534
4535 \end_inset
4536 </cell>
4537 </row>
4538 <row bottomline="true" endlastfoot="true">
4539 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
4540 \begin_inset Text
4541
4542 \begin_layout Standard
4543 end
4544 \end_layout
4545
4546 \end_inset
4547 </cell>
4548 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
4549 \begin_inset Text
4550
4551 \begin_layout Standard
4552
4553 \end_layout
4554
4555 \end_inset
4556 </cell>
4557 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4558 \begin_inset Text
4559
4560 \begin_layout Standard
4561
4562 \end_layout
4563
4564 \end_inset
4565 </cell>
4566 </row>
4567 </lyxtabular>
4568
4569 \end_inset
4570
4571
4572 \begin_inset ERT
4573 status collapsed
4574
4575 \begin_layout Standard
4576
4577
4578 \backslash
4579 addtocounter{table}{-1}
4580 \end_layout
4581
4582 \end_inset
4583
4584
4585 \begin_inset Note Note
4586 status collapsed
4587
4588 \begin_layout Standard
4589 See greyed-out note in section 2.6.2 for an explanation of this command.
4590 \end_layout
4591
4592 \end_inset
4593
4594
4595 \end_layout
4596
4597 \begin_layout Subsection
4598 Footnotes in Longtables
4599 \begin_inset LatexCommand label
4600 name "sub:Footnotes-in-Longtables"
4601
4602 \end_inset
4603
4604
4605 \begin_inset LatexCommand index
4606 name "Longtables ! Footnotes"
4607
4608 \end_inset
4609
4610
4611 \end_layout
4612
4613 \begin_layout Standard
4614 Footnotes can be inserted to every longtable cell.
4615  They appear at the bottom of the page where the table cell with the footnote
4616  appears.
4617  Table\InsetSpace ~
4618
4619 \begin_inset LatexCommand ref
4620 reference "tab:DiffCaptions"
4621
4622 \end_inset
4623
4624  has for example a footnote.
4625 \end_layout
4626
4627 \begin_layout Subsection
4628 Longtable Captions
4629 \begin_inset LatexCommand index
4630 name "Longtables ! Captions"
4631
4632 \end_inset
4633
4634
4635 \end_layout
4636
4637 \begin_layout Standard
4638 A longtable cannot be put into a table float because floats can only be
4639  on one page but the caption environment of floats can also be used for
4640  longtables.
4641 \end_layout
4642
4643 \begin_layout Standard
4644 As LyX does not yet fully support captions in longtables, a hack is needed
4645  to create them:
4646 \end_layout
4647
4648 \begin_layout Enumerate
4649 Create a longtable
4650 \family sans
4651 .
4652 \end_layout
4653
4654 \begin_layout Enumerate
4655 Mark the first row and disable its upper line.
4656 \end_layout
4657
4658 \begin_layout Enumerate
4659 Insert a caption via the menu 
4660 \family sans
4661 Insert\SpecialChar \menuseparator
4662 Caption
4663 \family default
4664  into the first table cell.
4665 \newline
4666 You can also add a short title for the caption.
4667 \end_layout
4668
4669 \begin_layout Enumerate
4670 Insert a 
4671 \begin_inset Quotes eld
4672 \end_inset
4673
4674
4675 \series bold
4676
4677 \backslash
4678
4679 \backslash
4680 %
4681 \series default
4682
4683 \begin_inset Quotes erd
4684 \end_inset
4685
4686  as ERT behind the caption.
4687 \end_layout
4688
4689 \begin_layout Standard
4690 A short title that will appear in the LOT instead of the full title.
4691  The 
4692 \series bold
4693
4694 \backslash
4695
4696 \backslash
4697 %
4698 \series default
4699  behind the caption omits the vertical lines between the following cells
4700  in the row.
4701  The first table row is now only a dummy row for the caption, the actual
4702  table starts with the second row.
4703 \end_layout
4704
4705 \begin_layout Standard
4706 Here is a short longtable to see how it works:
4707 \end_layout
4708
4709 \begin_layout Standard
4710 \begin_inset Tabular
4711 <lyxtabular version="3" rows="6" columns="5">
4712 <features islongtable="true">
4713 <column alignment="center" valignment="top" leftline="true" width="0">
4714 <column alignment="center" valignment="top" leftline="true" width="0">
4715 <column alignment="center" valignment="top" leftline="true" width="0">
4716 <column alignment="center" valignment="top" leftline="true" width="0">
4717 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
4718 <row>
4719 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4720 \begin_inset Text
4721
4722 \begin_layout Standard
4723 \begin_inset Caption
4724
4725 \begin_layout Standard
4726 Longtable with caption
4727 \begin_inset OptArg
4728 status open
4729
4730 \begin_layout Standard
4731 Longtable
4732 \end_layout
4733
4734 \end_inset
4735
4736
4737 \end_layout
4738
4739 \end_inset
4740
4741
4742 \begin_inset ERT
4743 status collapsed
4744
4745 \begin_layout Standard
4746
4747
4748 \backslash
4749
4750 \backslash
4751 %
4752 \end_layout
4753
4754 \end_inset
4755
4756
4757 \end_layout
4758
4759 \end_inset
4760 </cell>
4761 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4762 \begin_inset Text
4763
4764 \begin_layout Standard
4765
4766 \end_layout
4767
4768 \end_inset
4769 </cell>
4770 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4771 \begin_inset Text
4772
4773 \begin_layout Standard
4774
4775 \end_layout
4776
4777 \end_inset
4778 </cell>
4779 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4780 \begin_inset Text
4781
4782 \begin_layout Standard
4783
4784 \end_layout
4785
4786 \end_inset
4787 </cell>
4788 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4789 \begin_inset Text
4790
4791 \begin_layout Standard
4792
4793 \end_layout
4794
4795 \end_inset
4796 </cell>
4797 </row>
4798 <row topline="true">
4799 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4800 \begin_inset Text
4801
4802 \begin_layout Standard
4803 1
4804 \end_layout
4805
4806 \end_inset
4807 </cell>
4808 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4809 \begin_inset Text
4810
4811 \begin_layout Standard
4812 2
4813 \end_layout
4814
4815 \end_inset
4816 </cell>
4817 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4818 \begin_inset Text
4819
4820 \begin_layout Standard
4821 3
4822 \end_layout
4823
4824 \end_inset
4825 </cell>
4826 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4827 \begin_inset Text
4828
4829 \begin_layout Standard
4830 4
4831 \end_layout
4832
4833 \end_inset
4834 </cell>
4835 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4836 \begin_inset Text
4837
4838 \begin_layout Standard
4839 5
4840 \end_layout
4841
4842 \end_inset
4843 </cell>
4844 </row>
4845 <row topline="true">
4846 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4847 \begin_inset Text
4848
4849 \begin_layout Standard
4850 asd
4851 \end_layout
4852
4853 \end_inset
4854 </cell>
4855 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4856 \begin_inset Text
4857
4858 \begin_layout Standard
4859 s
4860 \end_layout
4861
4862 \end_inset
4863 </cell>
4864 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4865 \begin_inset Text
4866
4867 \begin_layout Standard
4868 s
4869 \end_layout
4870
4871 \end_inset
4872 </cell>
4873 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4874 \begin_inset Text
4875
4876 \begin_layout Standard
4877 s
4878 \end_layout
4879
4880 \end_inset
4881 </cell>
4882 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4883 \begin_inset Text
4884
4885 \begin_layout Standard
4886 asd
4887 \end_layout
4888
4889 \end_inset
4890 </cell>
4891 </row>
4892 <row topline="true">
4893 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4894 \begin_inset Text
4895
4896 \begin_layout Standard
4897 asd
4898 \end_layout
4899
4900 \end_inset
4901 </cell>
4902 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4903 \begin_inset Text
4904
4905 \begin_layout Standard
4906 s
4907 \end_layout
4908
4909 \end_inset
4910 </cell>
4911 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4912 \begin_inset Text
4913
4914 \begin_layout Standard
4915 s
4916 \end_layout
4917
4918 \end_inset
4919 </cell>
4920 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4921 \begin_inset Text
4922
4923 \begin_layout Standard
4924 s
4925 \end_layout
4926
4927 \end_inset
4928 </cell>
4929 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4930 \begin_inset Text
4931
4932 \begin_layout Standard
4933 asd
4934 \end_layout
4935
4936 \end_inset
4937 </cell>
4938 </row>
4939 <row topline="true">
4940 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4941 \begin_inset Text
4942
4943 \begin_layout Standard
4944 asd
4945 \end_layout
4946
4947 \end_inset
4948 </cell>
4949 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4950 \begin_inset Text
4951
4952 \begin_layout Standard
4953 s
4954 \end_layout
4955
4956 \end_inset
4957 </cell>
4958 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4959 \begin_inset Text
4960
4961 \begin_layout Standard
4962 s
4963 \end_layout
4964
4965 \end_inset
4966 </cell>
4967 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4968 \begin_inset Text
4969
4970 \begin_layout Standard
4971 s
4972 \end_layout
4973
4974 \end_inset
4975 </cell>
4976 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4977 \begin_inset Text
4978
4979 \begin_layout Standard
4980 asd
4981 \end_layout
4982
4983 \end_inset
4984 </cell>
4985 </row>
4986 <row topline="true" bottomline="true">
4987 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4988 \begin_inset Text
4989
4990 \begin_layout Standard
4991 asd
4992 \end_layout
4993
4994 \end_inset
4995 </cell>
4996 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4997 \begin_inset Text
4998
4999 \begin_layout Standard
5000 asd
5001 \end_layout
5002
5003 \end_inset
5004 </cell>
5005 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5006 \begin_inset Text
5007
5008 \begin_layout Standard
5009 asd
5010 \end_layout
5011
5012 \end_inset
5013 </cell>
5014 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5015 \begin_inset Text
5016
5017 \begin_layout Standard
5018 asd
5019 \end_layout
5020
5021 \end_inset
5022 </cell>
5023 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5024 \begin_inset Text
5025
5026 \begin_layout Standard
5027 asd
5028 \end_layout
5029
5030 \end_inset
5031 </cell>
5032 </row>
5033 </lyxtabular>
5034
5035 \end_inset
5036
5037
5038 \end_layout
5039
5040 \begin_layout Standard
5041 \begin_inset VSpace medskip
5042 \end_inset
5043
5044
5045 \begin_inset Note Greyedout
5046 status open
5047
5048 \begin_layout Standard
5049
5050 \series bold
5051 Note:
5052 \series default
5053  The table number is increased for every longtable, also if you didn't set
5054  a caption for it.
5055  For this reason you could have the case that e.g.
5056  Table\InsetSpace ~
5057 2.4 follows on Table\InsetSpace ~
5058 2.1 in the list of tables if there are two longtables
5059  without captions.
5060  To avoid this you can add the following command in ERT behind every longtable
5061  without a caption:
5062 \end_layout
5063
5064 \begin_layout Standard
5065
5066 \series bold
5067
5068 \backslash
5069 addtocounter{table}{-1}
5070 \end_layout
5071
5072 \end_inset
5073
5074
5075 \end_layout
5076
5077 \begin_layout Standard
5078 \begin_inset Note Greyedout
5079 status open
5080
5081 \begin_layout Standard
5082
5083 \series bold
5084 Note:
5085 \series default
5086  If you are using the LaTeX-package 
5087 \series bold
5088 hyperref
5089 \series default
5090
5091 \begin_inset LatexCommand index
5092 name "LaTeX-packages ! hyperref"
5093
5094 \end_inset
5095
5096  to link cross-references, the link to a longtable caption will always point
5097  to the beginning of the document.
5098 \end_layout
5099
5100 \end_inset
5101
5102
5103 \end_layout
5104
5105 \begin_layout Subsubsection
5106 References to Longtables
5107 \begin_inset LatexCommand index
5108 name "Longtables ! References"
5109
5110 \end_inset
5111
5112
5113 \end_layout
5114
5115 \begin_layout Standard
5116 \begin_inset Tabular
5117 <lyxtabular version="3" rows="6" columns="5">
5118 <features islongtable="true">
5119 <column alignment="center" valignment="top" leftline="true" width="0">
5120 <column alignment="center" valignment="top" leftline="true" width="0">
5121 <column alignment="center" valignment="top" leftline="true" width="0">
5122 <column alignment="center" valignment="top" leftline="true" width="0">
5123 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5124 <row>
5125 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5126 \begin_inset Text
5127
5128 \begin_layout Standard
5129 \begin_inset Caption
5130
5131 \begin_layout Standard
5132 Referenced longtable
5133 \begin_inset LatexCommand label
5134 name "tab:RefExample"
5135
5136 \end_inset
5137
5138
5139 \end_layout
5140
5141 \end_inset
5142
5143
5144 \begin_inset ERT
5145 status collapsed
5146
5147 \begin_layout Standard
5148
5149
5150 \backslash
5151
5152 \backslash
5153 %
5154 \end_layout
5155
5156 \end_inset
5157
5158
5159 \end_layout
5160
5161 \end_inset
5162 </cell>
5163 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5164 \begin_inset Text
5165
5166 \begin_layout Standard
5167
5168 \end_layout
5169
5170 \end_inset
5171 </cell>
5172 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5173 \begin_inset Text
5174
5175 \begin_layout Standard
5176
5177 \end_layout
5178
5179 \end_inset
5180 </cell>
5181 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5182 \begin_inset Text
5183
5184 \begin_layout Standard
5185
5186 \end_layout
5187
5188 \end_inset
5189 </cell>
5190 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5191 \begin_inset Text
5192
5193 \begin_layout Standard
5194
5195 \end_layout
5196
5197 \end_inset
5198 </cell>
5199 </row>
5200 <row topline="true">
5201 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5202 \begin_inset Text
5203
5204 \begin_layout Standard
5205 1
5206 \end_layout
5207
5208 \end_inset
5209 </cell>
5210 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5211 \begin_inset Text
5212
5213 \begin_layout Standard
5214 2
5215 \end_layout
5216
5217 \end_inset
5218 </cell>
5219 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5220 \begin_inset Text
5221
5222 \begin_layout Standard
5223 3
5224 \end_layout
5225
5226 \end_inset
5227 </cell>
5228 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5229 \begin_inset Text
5230
5231 \begin_layout Standard
5232 4
5233 \end_layout
5234
5235 \end_inset
5236 </cell>
5237 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5238 \begin_inset Text
5239
5240 \begin_layout Standard
5241 5
5242 \end_layout
5243
5244 \end_inset
5245 </cell>
5246 </row>
5247 <row topline="true">
5248 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5249 \begin_inset Text
5250
5251 \begin_layout Standard
5252 asd
5253 \end_layout
5254
5255 \end_inset
5256 </cell>
5257 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5258 \begin_inset Text
5259
5260 \begin_layout Standard
5261 s
5262 \end_layout
5263
5264 \end_inset
5265 </cell>
5266 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5267 \begin_inset Text
5268
5269 \begin_layout Standard
5270 s
5271 \end_layout
5272
5273 \end_inset
5274 </cell>
5275 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5276 \begin_inset Text
5277
5278 \begin_layout Standard
5279 s
5280 \end_layout
5281
5282 \end_inset
5283 </cell>
5284 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5285 \begin_inset Text
5286
5287 \begin_layout Standard
5288 asd
5289 \end_layout
5290
5291 \end_inset
5292 </cell>
5293 </row>
5294 <row topline="true">
5295 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5296 \begin_inset Text
5297
5298 \begin_layout Standard
5299 asd
5300 \end_layout
5301
5302 \end_inset
5303 </cell>
5304 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5305 \begin_inset Text
5306
5307 \begin_layout Standard
5308 s
5309 \end_layout
5310
5311 \end_inset
5312 </cell>
5313 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5314 \begin_inset Text
5315
5316 \begin_layout Standard
5317 s
5318 \end_layout
5319
5320 \end_inset
5321 </cell>
5322 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5323 \begin_inset Text
5324
5325 \begin_layout Standard
5326 s
5327 \end_layout
5328
5329 \end_inset
5330 </cell>
5331 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5332 \begin_inset Text
5333
5334 \begin_layout Standard
5335 asd
5336 \end_layout
5337
5338 \end_inset
5339 </cell>
5340 </row>
5341 <row topline="true">
5342 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5343 \begin_inset Text
5344
5345 \begin_layout Standard
5346 asd
5347 \end_layout
5348
5349 \end_inset
5350 </cell>
5351 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5352 \begin_inset Text
5353
5354 \begin_layout Standard
5355 s
5356 \end_layout
5357
5358 \end_inset
5359 </cell>
5360 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5361 \begin_inset Text
5362
5363 \begin_layout Standard
5364 s
5365 \end_layout
5366
5367 \end_inset
5368 </cell>
5369 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5370 \begin_inset Text
5371
5372 \begin_layout Standard
5373 s
5374 \end_layout
5375
5376 \end_inset
5377 </cell>
5378 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5379 \begin_inset Text
5380
5381 \begin_layout Standard
5382 asd
5383 \end_layout
5384
5385 \end_inset
5386 </cell>
5387 </row>
5388 <row topline="true" bottomline="true">
5389 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5390 \begin_inset Text
5391
5392 \begin_layout Standard
5393 asd
5394 \end_layout
5395
5396 \end_inset
5397 </cell>
5398 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5399 \begin_inset Text
5400
5401 \begin_layout Standard
5402 sad
5403 \end_layout
5404
5405 \end_inset
5406 </cell>
5407 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5408 \begin_inset Text
5409
5410 \begin_layout Standard
5411 asd
5412 \end_layout
5413
5414 \end_inset
5415 </cell>
5416 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5417 \begin_inset Text
5418
5419 \begin_layout Standard
5420 asd
5421 \end_layout
5422
5423 \end_inset
5424 </cell>
5425 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5426 \begin_inset Text
5427
5428 \begin_layout Standard
5429 asd
5430 \end_layout
5431
5432 \end_inset
5433 </cell>
5434 </row>
5435 </lyxtabular>
5436
5437 \end_inset
5438
5439
5440 \end_layout
5441
5442 \begin_layout Standard
5443 To reference a longtable, insert a label into the caption.
5444  Note that you have to add the label prefix 
5445 \begin_inset Quotes eld
5446 \end_inset
5447
5448
5449 \emph on
5450 tab:
5451 \emph default
5452
5453 \begin_inset Quotes eld
5454 \end_inset
5455
5456  manually in the label field.
5457 \end_layout
5458
5459 \begin_layout Standard
5460 This is a reference to Table\InsetSpace ~
5461
5462 \begin_inset LatexCommand ref
5463 reference "tab:RefExample"
5464
5465 \end_inset
5466
5467 .
5468 \end_layout
5469
5470 \begin_layout Standard
5471 The caption layout can be set together with all other caption of your document
5472  using the LaTeX-package 
5473 \series bold
5474 caption
5475 \series default
5476
5477 \begin_inset LatexCommand index
5478 name "LaTeX-packages ! caption"
5479
5480 \end_inset
5481
5482 , see section\InsetSpace ~
5483
5484 \begin_inset LatexCommand ref
5485 reference "sec:Caption-Formatting"
5486
5487 \end_inset
5488
5489 .
5490 \end_layout
5491
5492 \begin_layout Subsubsection
5493 Caption Width
5494 \begin_inset LatexCommand index
5495 name "Longtables ! Caption Width"
5496
5497 \end_inset
5498
5499
5500 \end_layout
5501
5502 \begin_layout Standard
5503 The maximal width of of caption lines is defined by the length 
5504 \series bold
5505
5506 \backslash
5507 LTcapwidth
5508 \series default
5509 .
5510  Its default value is 4\InsetSpace \thinspace{}
5511 in.
5512  To change it add the following command to your document preamble or as
5513  ERT into your document before the longtable that should be affected
5514 \end_layout
5515
5516 \begin_layout Standard
5517
5518 \series bold
5519
5520 \backslash
5521 setlength{
5522 \backslash
5523 LTcapwidth}{width}
5524 \end_layout
5525
5526 \begin_layout Standard
5527 where the width could have one of the units listed in appendix\InsetSpace ~
5528
5529 \begin_inset LatexCommand ref
5530 reference "cha:Units-available-in"
5531
5532 \end_inset
5533
5534 .
5535 \end_layout
5536
5537 \begin_layout Standard
5538 The following tables show the difference:
5539 \end_layout
5540
5541 \begin_layout Standard
5542 \begin_inset Tabular
5543 <lyxtabular version="3" rows="6" columns="5">
5544 <features islongtable="true">
5545 <column alignment="center" valignment="top" leftline="true" width="0">
5546 <column alignment="center" valignment="top" leftline="true" width="0">
5547 <column alignment="center" valignment="top" leftline="true" width="0">
5548 <column alignment="center" valignment="top" leftline="true" width="0">
5549 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5550 <row>
5551 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5552 \begin_inset Text
5553
5554 \begin_layout Standard
5555 \begin_inset Caption
5556
5557 \begin_layout Standard
5558 long full title with default width long full title with default width long
5559  full title with default width
5560 \begin_inset OptArg
5561 status collapsed
5562
5563 \begin_layout Standard
5564 caption with default width
5565 \end_layout
5566
5567 \end_inset
5568
5569
5570 \end_layout
5571
5572 \end_inset
5573
5574
5575 \begin_inset ERT
5576 status collapsed
5577
5578 \begin_layout Standard
5579
5580
5581 \backslash
5582
5583 \backslash
5584 %
5585 \end_layout
5586
5587 \end_inset
5588
5589
5590 \end_layout
5591
5592 \end_inset
5593 </cell>
5594 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5595 \begin_inset Text
5596
5597 \begin_layout Standard
5598
5599 \end_layout
5600
5601 \end_inset
5602 </cell>
5603 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5604 \begin_inset Text
5605
5606 \begin_layout Standard
5607
5608 \end_layout
5609
5610 \end_inset
5611 </cell>
5612 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5613 \begin_inset Text
5614
5615 \begin_layout Standard
5616
5617 \end_layout
5618
5619 \end_inset
5620 </cell>
5621 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5622 \begin_inset Text
5623
5624 \begin_layout Standard
5625
5626 \end_layout
5627
5628 \end_inset
5629 </cell>
5630 </row>
5631 <row topline="true">
5632 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5633 \begin_inset Text
5634
5635 \begin_layout Standard
5636 1
5637 \end_layout
5638
5639 \end_inset
5640 </cell>
5641 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5642 \begin_inset Text
5643
5644 \begin_layout Standard
5645 2
5646 \end_layout
5647
5648 \end_inset
5649 </cell>
5650 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5651 \begin_inset Text
5652
5653 \begin_layout Standard
5654 3
5655 \end_layout
5656
5657 \end_inset
5658 </cell>
5659 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5660 \begin_inset Text
5661
5662 \begin_layout Standard
5663 4
5664 \end_layout
5665
5666 \end_inset
5667 </cell>
5668 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5669 \begin_inset Text
5670
5671 \begin_layout Standard
5672 5
5673 \end_layout
5674
5675 \end_inset
5676 </cell>
5677 </row>
5678 <row topline="true">
5679 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5680 \begin_inset Text
5681
5682 \begin_layout Standard
5683 asd
5684 \end_layout
5685
5686 \end_inset
5687 </cell>
5688 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5689 \begin_inset Text
5690
5691 \begin_layout Standard
5692 s
5693 \end_layout
5694
5695 \end_inset
5696 </cell>
5697 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5698 \begin_inset Text
5699
5700 \begin_layout Standard
5701 s
5702 \end_layout
5703
5704 \end_inset
5705 </cell>
5706 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5707 \begin_inset Text
5708
5709 \begin_layout Standard
5710 s
5711 \end_layout
5712
5713 \end_inset
5714 </cell>
5715 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5716 \begin_inset Text
5717
5718 \begin_layout Standard
5719 asd
5720 \end_layout
5721
5722 \end_inset
5723 </cell>
5724 </row>
5725 <row topline="true">
5726 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5727 \begin_inset Text
5728
5729 \begin_layout Standard
5730 asd
5731 \end_layout
5732
5733 \end_inset
5734 </cell>
5735 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5736 \begin_inset Text
5737
5738 \begin_layout Standard
5739 s
5740 \end_layout
5741
5742 \end_inset
5743 </cell>
5744 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5745 \begin_inset Text
5746
5747 \begin_layout Standard
5748 s
5749 \end_layout
5750
5751 \end_inset
5752 </cell>
5753 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5754 \begin_inset Text
5755
5756 \begin_layout Standard
5757 s
5758 \end_layout
5759
5760 \end_inset
5761 </cell>
5762 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5763 \begin_inset Text
5764
5765 \begin_layout Standard
5766 asd
5767 \end_layout
5768
5769 \end_inset
5770 </cell>
5771 </row>
5772 <row topline="true">
5773 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5774 \begin_inset Text
5775
5776 \begin_layout Standard
5777 asd
5778 \end_layout
5779
5780 \end_inset
5781 </cell>
5782 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5783 \begin_inset Text
5784
5785 \begin_layout Standard
5786 s
5787 \end_layout
5788
5789 \end_inset
5790 </cell>
5791 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5792 \begin_inset Text
5793
5794 \begin_layout Standard
5795 s
5796 \end_layout
5797
5798 \end_inset
5799 </cell>
5800 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5801 \begin_inset Text
5802
5803 \begin_layout Standard
5804 s
5805 \end_layout
5806
5807 \end_inset
5808 </cell>
5809 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5810 \begin_inset Text
5811
5812 \begin_layout Standard
5813 asd
5814 \end_layout
5815
5816 \end_inset
5817 </cell>
5818 </row>
5819 <row topline="true" bottomline="true">
5820 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5821 \begin_inset Text
5822
5823 \begin_layout Standard
5824 asd
5825 \end_layout
5826
5827 \end_inset
5828 </cell>
5829 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5830 \begin_inset Text
5831
5832 \begin_layout Standard
5833 sad
5834 \end_layout
5835
5836 \end_inset
5837 </cell>
5838 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5839 \begin_inset Text
5840
5841 \begin_layout Standard
5842 asd
5843 \end_layout
5844
5845 \end_inset
5846 </cell>
5847 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5848 \begin_inset Text
5849
5850 \begin_layout Standard
5851 asd
5852 \end_layout
5853
5854 \end_inset
5855 </cell>
5856 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5857 \begin_inset Text
5858
5859 \begin_layout Standard
5860 asd
5861 \end_layout
5862
5863 \end_inset
5864 </cell>
5865 </row>
5866 </lyxtabular>
5867
5868 \end_inset
5869
5870
5871 \end_layout
5872
5873 \begin_layout Standard
5874 \begin_inset ERT
5875 status collapsed
5876
5877 \begin_layout Standard
5878
5879
5880 \backslash
5881 setlength{
5882 \backslash
5883 LTcapwidth}{5cm}
5884 \end_layout
5885
5886 \end_inset
5887
5888
5889 \begin_inset Tabular
5890 <lyxtabular version="3" rows="6" columns="5">
5891 <features islongtable="true">
5892 <column alignment="center" valignment="top" leftline="true" width="0">
5893 <column alignment="center" valignment="top" leftline="true" width="0">
5894 <column alignment="center" valignment="top" leftline="true" width="0">
5895 <column alignment="center" valignment="top" leftline="true" width="0">
5896 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5897 <row>
5898 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5899 \begin_inset Text
5900
5901 \begin_layout Standard
5902 \begin_inset Caption
5903
5904 \begin_layout Standard
5905 long full title with width set to 5\InsetSpace \thinspace{}
5906 cm long full title with width set to
5907  5\InsetSpace \thinspace{}
5908 cm long full title with width set to 5\InsetSpace \thinspace{}
5909 cm
5910 \begin_inset OptArg
5911 status collapsed
5912
5913 \begin_layout Standard
5914 caption with width\InsetSpace \thinspace{}
5915 =\InsetSpace \thinspace{}
5916 5\InsetSpace \thinspace{}
5917 cm
5918 \end_layout
5919
5920 \end_inset
5921
5922
5923 \end_layout
5924
5925 \end_inset
5926
5927
5928 \begin_inset ERT
5929 status collapsed
5930
5931 \begin_layout Standard
5932
5933
5934 \backslash
5935
5936 \backslash
5937 %
5938 \end_layout
5939
5940 \end_inset
5941
5942
5943 \end_layout
5944
5945 \end_inset
5946 </cell>
5947 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5948 \begin_inset Text
5949
5950 \begin_layout Standard
5951
5952 \end_layout
5953
5954 \end_inset
5955 </cell>
5956 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5957 \begin_inset Text
5958
5959 \begin_layout Standard
5960
5961 \end_layout
5962
5963 \end_inset
5964 </cell>
5965 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5966 \begin_inset Text
5967
5968 \begin_layout Standard
5969
5970 \end_layout
5971
5972 \end_inset
5973 </cell>
5974 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5975 \begin_inset Text
5976
5977 \begin_layout Standard
5978
5979 \end_layout
5980
5981 \end_inset
5982 </cell>
5983 </row>
5984 <row topline="true">
5985 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5986 \begin_inset Text
5987
5988 \begin_layout Standard
5989 1
5990 \end_layout
5991
5992 \end_inset
5993 </cell>
5994 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5995 \begin_inset Text
5996
5997 \begin_layout Standard
5998 2
5999 \end_layout
6000
6001 \end_inset
6002 </cell>
6003 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6004 \begin_inset Text
6005
6006 \begin_layout Standard
6007 3
6008 \end_layout
6009
6010 \end_inset
6011 </cell>
6012 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6013 \begin_inset Text
6014
6015 \begin_layout Standard
6016 4
6017 \end_layout
6018
6019 \end_inset
6020 </cell>
6021 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6022 \begin_inset Text
6023
6024 \begin_layout Standard
6025 5
6026 \end_layout
6027
6028 \end_inset
6029 </cell>
6030 </row>
6031 <row topline="true">
6032 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6033 \begin_inset Text
6034
6035 \begin_layout Standard
6036 asd
6037 \end_layout
6038
6039 \end_inset
6040 </cell>
6041 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6042 \begin_inset Text
6043
6044 \begin_layout Standard
6045 s
6046 \end_layout
6047
6048 \end_inset
6049 </cell>
6050 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6051 \begin_inset Text
6052
6053 \begin_layout Standard
6054 s
6055 \end_layout
6056
6057 \end_inset
6058 </cell>
6059 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6060 \begin_inset Text
6061
6062 \begin_layout Standard
6063 s
6064 \end_layout
6065
6066 \end_inset
6067 </cell>
6068 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6069 \begin_inset Text
6070
6071 \begin_layout Standard
6072 asd
6073 \end_layout
6074
6075 \end_inset
6076 </cell>
6077 </row>
6078 <row topline="true">
6079 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6080 \begin_inset Text
6081
6082 \begin_layout Standard
6083 asd
6084 \end_layout
6085
6086 \end_inset
6087 </cell>
6088 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6089 \begin_inset Text
6090
6091 \begin_layout Standard
6092 s
6093 \end_layout
6094
6095 \end_inset
6096 </cell>
6097 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6098 \begin_inset Text
6099
6100 \begin_layout Standard
6101 s
6102 \end_layout
6103
6104 \end_inset
6105 </cell>
6106 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6107 \begin_inset Text
6108
6109 \begin_layout Standard
6110 s
6111 \end_layout
6112
6113 \end_inset
6114 </cell>
6115 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6116 \begin_inset Text
6117
6118 \begin_layout Standard
6119 asd
6120 \end_layout
6121
6122 \end_inset
6123 </cell>
6124 </row>
6125 <row topline="true">
6126 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6127 \begin_inset Text
6128
6129 \begin_layout Standard
6130 asd
6131 \end_layout
6132
6133 \end_inset
6134 </cell>
6135 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6136 \begin_inset Text
6137
6138 \begin_layout Standard
6139 s
6140 \end_layout
6141
6142 \end_inset
6143 </cell>
6144 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6145 \begin_inset Text
6146
6147 \begin_layout Standard
6148 s
6149 \end_layout
6150
6151 \end_inset
6152 </cell>
6153 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6154 \begin_inset Text
6155
6156 \begin_layout Standard
6157 s
6158 \end_layout
6159
6160 \end_inset
6161 </cell>
6162 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6163 \begin_inset Text
6164
6165 \begin_layout Standard
6166 asd
6167 \end_layout
6168
6169 \end_inset
6170 </cell>
6171 </row>
6172 <row topline="true" bottomline="true">
6173 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6174 \begin_inset Text
6175
6176 \begin_layout Standard
6177 asd
6178 \end_layout
6179
6180 \end_inset
6181 </cell>
6182 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6183 \begin_inset Text
6184
6185 \begin_layout Standard
6186 sad
6187 \end_layout
6188
6189 \end_inset
6190 </cell>
6191 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6192 \begin_inset Text
6193
6194 \begin_layout Standard
6195 asd
6196 \end_layout
6197
6198 \end_inset
6199 </cell>
6200 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6201 \begin_inset Text
6202
6203 \begin_layout Standard
6204 asd
6205 \end_layout
6206
6207 \end_inset
6208 </cell>
6209 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6210 \begin_inset Text
6211
6212 \begin_layout Standard
6213 asd
6214 \end_layout
6215
6216 \end_inset
6217 </cell>
6218 </row>
6219 </lyxtabular>
6220
6221 \end_inset
6222
6223
6224 \end_layout
6225
6226 \begin_layout Standard
6227 \begin_inset ERT
6228 status collapsed
6229
6230 \begin_layout Standard
6231
6232
6233 \backslash
6234 setlength{
6235 \backslash
6236 LTcapwidth}{4in}
6237 \end_layout
6238
6239 \end_inset
6240
6241
6242 \end_layout
6243
6244 \begin_layout Standard
6245 \begin_inset Note Greyedout
6246 status open
6247
6248 \begin_layout Standard
6249
6250 \series bold
6251 Note:
6252 \series default
6253  When the LaTeX-package 
6254 \series bold
6255 caption
6256 \series default
6257
6258 \begin_inset LatexCommand index
6259 name "LaTeX-packages ! caption"
6260
6261 \end_inset
6262
6263  is used, as in this document, the full page width is used for the caption
6264  when you use the default value of 4\InsetSpace \thinspace{}
6265 in for 
6266 \series bold
6267
6268 \backslash
6269 LTcapwidth
6270 \series default
6271 .
6272  To get in this case exactly a 4\InsetSpace \thinspace{}
6273 in wide caption, you can either use a value
6274  slightly different from 4.0\InsetSpace \thinspace{}
6275 in, e.g.
6276  3.99\InsetSpace \thinspace{}
6277 in, or the LaTeX-command 
6278 \series bold
6279
6280 \backslash
6281 captionsetup{width=value}
6282 \series default
6283  that is provided by the 
6284 \series bold
6285 caption
6286 \series default
6287 -package.
6288 \end_layout
6289
6290 \end_inset
6291
6292
6293 \end_layout
6294
6295 \begin_layout Subsubsection
6296 Different Captions for Table Pages
6297 \begin_inset LatexCommand index
6298 name "Longtables ! Different Captions for Pages"
6299
6300 \end_inset
6301
6302
6303 \end_layout
6304
6305 \begin_layout Standard
6306 When the other captions should differ from the one of the first table page,
6307  insert a caption with a non-empty short title in a dummy caption row marked
6308  as first header.
6309  The caption used for the other table pages is inserted as caption without
6310  a short title in a dummy caption row that is marked as main header.
6311  When this caption shouldn't include the table number, use the command
6312 \end_layout
6313
6314 \begin_layout Standard
6315
6316 \series bold
6317
6318 \backslash
6319 caption*{caption text}
6320 \end_layout
6321
6322 \begin_layout Standard
6323 instead of LyX's caption box.
6324  The label to reference the table is inserted into the caption of the first
6325  header.
6326  Table\InsetSpace ~
6327
6328 \begin_inset LatexCommand ref
6329 reference "tab:DiffCaptions"
6330
6331 \end_inset
6332
6333  is an example for a longtable with different heading where the second caption
6334  doesn't include the table number.
6335 \end_layout
6336
6337 \begin_layout Standard
6338 \align center
6339 \begin_inset Tabular
6340 <lyxtabular version="3" rows="60" columns="3">
6341 <features islongtable="true">
6342 <column alignment="left" valignment="top" leftline="true" width="0cm">
6343 <column alignment="left" valignment="top" rightline="true" width="0pt">
6344 <column alignment="right" valignment="top" rightline="true" width="0pt">
6345 <row endfirsthead="true">
6346 <cell alignment="right" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6347 \begin_inset Text
6348
6349 \begin_layout Standard
6350 \begin_inset Caption
6351
6352 \begin_layout Standard
6353 Example Phone List
6354 \begin_inset LatexCommand label
6355 name "tab:DiffCaptions"
6356
6357 \end_inset
6358
6359
6360 \begin_inset OptArg
6361 status collapsed
6362
6363 \begin_layout Standard
6364 Example Phone List
6365 \end_layout
6366
6367 \end_inset
6368
6369
6370 \end_layout
6371
6372 \end_inset
6373
6374
6375 \begin_inset ERT
6376 status collapsed
6377
6378 \begin_layout Standard
6379
6380
6381 \backslash
6382
6383 \backslash
6384 %
6385 \end_layout
6386
6387 \end_inset
6388
6389
6390 \end_layout
6391
6392 \end_inset
6393 </cell>
6394 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6395 \begin_inset Text
6396
6397 \begin_layout Standard
6398
6399 \end_layout
6400
6401 \end_inset
6402 </cell>
6403 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6404 \begin_inset Text
6405
6406 \begin_layout Standard
6407
6408 \end_layout
6409
6410 \end_inset
6411 </cell>
6412 </row>
6413 <row topline="true" bottomline="true" endfirsthead="true">
6414 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6415 \begin_inset Text
6416
6417 \begin_layout Standard
6418
6419 \series bold
6420 Example Phone List (ignore the names)
6421 \end_layout
6422
6423 \end_inset
6424 </cell>
6425 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6426 \begin_inset Text
6427
6428 \begin_layout Standard
6429
6430 \end_layout
6431
6432 \end_inset
6433 </cell>
6434 <cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6435 \begin_inset Text
6436
6437 \begin_layout Standard
6438
6439 \end_layout
6440
6441 \end_inset
6442 </cell>
6443 </row>
6444 <row topline="true" bottomline="true" endfirsthead="true">
6445 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
6446 \begin_inset Text
6447
6448 \begin_layout Standard
6449
6450 \series bold
6451 NAME
6452 \end_layout
6453
6454 \end_inset
6455 </cell>
6456 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6457 \begin_inset Text
6458
6459 \begin_layout Standard
6460
6461 \end_layout
6462
6463 \end_inset
6464 </cell>
6465 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6466 \begin_inset Text
6467
6468 \begin_layout Standard
6469
6470 \series bold
6471 TEL.
6472 \end_layout
6473
6474 \end_inset
6475 </cell>
6476 </row>
6477 <row bottomline="true" endhead="true">
6478 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6479 \begin_inset Text
6480
6481 \begin_layout Standard
6482 \begin_inset ERT
6483 status collapsed
6484
6485 \begin_layout Standard
6486
6487
6488 \backslash
6489 caption*{Continued Example Phone List}
6490 \backslash
6491
6492 \backslash
6493 %
6494 \end_layout
6495
6496 \end_inset
6497
6498
6499 \end_layout
6500
6501 \end_inset
6502 </cell>
6503 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6504 \begin_inset Text
6505
6506 \begin_layout Standard
6507
6508 \end_layout
6509
6510 \end_inset
6511 </cell>
6512 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6513 \begin_inset Text
6514
6515 \begin_layout Standard
6516
6517 \end_layout
6518
6519 \end_inset
6520 </cell>
6521 </row>
6522 <row topline="true" bottomline="true" endhead="true">
6523 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6524 \begin_inset Text
6525
6526 \begin_layout Standard
6527
6528 \series bold
6529 Example Phone List
6530 \end_layout
6531
6532 \end_inset
6533 </cell>
6534 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6535 \begin_inset Text
6536
6537 \begin_layout Standard
6538
6539 \end_layout
6540
6541 \end_inset
6542 </cell>
6543 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6544 \begin_inset Text
6545
6546 \begin_layout Standard
6547
6548 \end_layout
6549
6550 \end_inset
6551 </cell>
6552 </row>
6553 <row topline="true" bottomline="true" endhead="true">
6554 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
6555 \begin_inset Text
6556
6557 \begin_layout Standard
6558
6559 \series bold
6560 NAME
6561 \end_layout
6562
6563 \end_inset
6564 </cell>
6565 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6566 \begin_inset Text
6567
6568 \begin_layout Standard
6569
6570 \end_layout
6571
6572 \end_inset
6573 </cell>
6574 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6575 \begin_inset Text
6576
6577 \begin_layout Standard
6578
6579 \series bold
6580 TEL.
6581 \end_layout
6582
6583 \end_inset
6584 </cell>
6585 </row>
6586 <row topline="true" bottomline="true" endfoot="true">
6587 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
6588 \begin_inset Text
6589
6590 \begin_layout Standard
6591 continued on next page
6592 \end_layout
6593
6594 \end_inset
6595 </cell>
6596 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6597 \begin_inset Text
6598
6599 \begin_layout Standard
6600
6601 \end_layout
6602
6603 \end_inset
6604 </cell>
6605 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6606 \begin_inset Text
6607
6608 \begin_layout Standard
6609
6610 \end_layout
6611
6612 \end_inset
6613 </cell>
6614 </row>
6615 <row>
6616 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6617 \begin_inset Text
6618
6619 \begin_layout Standard
6620
6621 \series bold
6622 Annovi
6623 \end_layout
6624
6625 \end_inset
6626 </cell>
6627 <cell alignment="center" valignment="top" topline="true" usebox="none">
6628 \begin_inset Text
6629
6630 \begin_layout Standard
6631 Silvia
6632 \end_layout
6633
6634 \end_inset
6635 </cell>
6636 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6637 \begin_inset Text
6638
6639 \begin_layout Standard
6640 111
6641 \end_layout
6642
6643 \end_inset
6644 </cell>
6645 </row>
6646 <row>
6647 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6648 \begin_inset Text
6649
6650 \begin_layout Standard
6651
6652 \series bold
6653 Bertoli
6654 \end_layout
6655
6656 \end_inset
6657 </cell>
6658 <cell alignment="center" valignment="top" topline="true" usebox="none">
6659 \begin_inset Text
6660
6661 \begin_layout Standard
6662 Stefano
6663 \end_layout
6664
6665 \end_inset
6666 </cell>
6667 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6668 \begin_inset Text
6669
6670 \begin_layout Standard
6671 111
6672 \end_layout
6673
6674 \end_inset
6675 </cell>
6676 </row>
6677 <row>
6678 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6679 \begin_inset Text
6680
6681 \begin_layout Standard
6682
6683 \series bold
6684 Bozzi
6685 \end_layout
6686
6687 \end_inset
6688 </cell>
6689 <cell alignment="center" valignment="top" topline="true" usebox="none">
6690 \begin_inset Text
6691
6692 \begin_layout Standard
6693 Walter
6694 \end_layout
6695
6696 \end_inset
6697 </cell>
6698 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6699 \begin_inset Text
6700
6701 \begin_layout Standard
6702 111
6703 \end_layout
6704
6705 \end_inset
6706 </cell>
6707 </row>
6708 <row>
6709 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6710 \begin_inset Text
6711
6712 \begin_layout Standard
6713
6714 \series bold
6715 Cachia
6716 \end_layout
6717
6718 \end_inset
6719 </cell>
6720 <cell alignment="center" valignment="top" topline="true" usebox="none">
6721 \begin_inset Text
6722
6723 \begin_layout Standard
6724 Maria
6725 \end_layout
6726
6727 \end_inset
6728 </cell>
6729 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6730 \begin_inset Text
6731
6732 \begin_layout Standard
6733 111
6734 \end_layout
6735
6736 \end_inset
6737 </cell>
6738 </row>
6739 <row>
6740 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6741 \begin_inset Text
6742
6743 \begin_layout Standard
6744
6745 \series bold
6746 Cachia
6747 \end_layout
6748
6749 \end_inset
6750 </cell>
6751 <cell alignment="center" valignment="top" topline="true" usebox="none">
6752 \begin_inset Text
6753
6754 \begin_layout Standard
6755 Maurizio
6756 \end_layout
6757
6758 \end_inset
6759 </cell>
6760 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6761 \begin_inset Text
6762
6763 \begin_layout Standard
6764 111
6765 \end_layout
6766
6767 \end_inset
6768 </cell>
6769 </row>
6770 <row>
6771 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6772 \begin_inset Text
6773
6774 \begin_layout Standard
6775
6776 \series bold
6777 Cinquemani
6778 \end_layout
6779
6780 \end_inset
6781 </cell>
6782 <cell alignment="center" valignment="top" topline="true" usebox="none">
6783 \begin_inset Text
6784
6785 \begin_layout Standard
6786 Giusi
6787 \end_layout
6788
6789 \end_inset
6790 </cell>
6791 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6792 \begin_inset Text
6793
6794 \begin_layout Standard
6795 111
6796 \end_layout
6797
6798 \end_inset
6799 </cell>
6800 </row>
6801 <row>
6802 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6803 \begin_inset Text
6804
6805 \begin_layout Standard
6806
6807 \series bold
6808 Colin
6809 \end_layout
6810
6811 \end_inset
6812 </cell>
6813 <cell alignment="center" valignment="top" topline="true" usebox="none">
6814 \begin_inset Text
6815
6816 \begin_layout Standard
6817 Bernard
6818 \end_layout
6819
6820 \end_inset
6821 </cell>
6822 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6823 \begin_inset Text
6824
6825 \begin_layout Standard
6826 111
6827 \end_layout
6828
6829 \end_inset
6830 </cell>
6831 </row>
6832 <row>
6833 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6834 \begin_inset Text
6835
6836 \begin_layout Standard
6837
6838 \series bold
6839 Concli
6840 \end_layout
6841
6842 \end_inset
6843 </cell>
6844 <cell alignment="center" valignment="top" topline="true" usebox="none">
6845 \begin_inset Text
6846
6847 \begin_layout Standard
6848 Gianfranco
6849 \end_layout
6850
6851 \end_inset
6852 </cell>
6853 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6854 \begin_inset Text
6855
6856 \begin_layout Standard
6857 111
6858 \end_layout
6859
6860 \end_inset
6861 </cell>
6862 </row>
6863 <row>
6864 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6865 \begin_inset Text
6866
6867 \begin_layout Standard
6868
6869 \series bold
6870 Dal Bosco
6871 \end_layout
6872
6873 \end_inset
6874 </cell>
6875 <cell alignment="center" valignment="top" topline="true" usebox="none">
6876 \begin_inset Text
6877
6878 \begin_layout Standard
6879 Carolina
6880 \end_layout
6881
6882 \end_inset
6883 </cell>
6884 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6885 \begin_inset Text
6886
6887 \begin_layout Standard
6888 111
6889 \end_layout
6890
6891 \end_inset
6892 </cell>
6893 </row>
6894 <row>
6895 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6896 \begin_inset Text
6897
6898 \begin_layout Standard
6899
6900 \series bold
6901 Dalpiaz
6902 \end_layout
6903
6904 \end_inset
6905 </cell>
6906 <cell alignment="center" valignment="top" topline="true" usebox="none">
6907 \begin_inset Text
6908
6909 \begin_layout Standard
6910 Annamaria
6911 \end_layout
6912
6913 \end_inset
6914 </cell>
6915 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6916 \begin_inset Text
6917
6918 \begin_layout Standard
6919 111
6920 \end_layout
6921
6922 \end_inset
6923 </cell>
6924 </row>
6925 <row>
6926 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6927 \begin_inset Text
6928
6929 \begin_layout Standard
6930
6931 \series bold
6932 Feliciello
6933 \end_layout
6934
6935 \end_inset
6936 </cell>
6937 <cell alignment="center" valignment="top" topline="true" usebox="none">
6938 \begin_inset Text
6939
6940 \begin_layout Standard
6941 Domenico
6942 \end_layout
6943
6944 \end_inset
6945 </cell>
6946 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6947 \begin_inset Text
6948
6949 \begin_layout Standard
6950 111
6951 \end_layout
6952
6953 \end_inset
6954 </cell>
6955 </row>
6956 <row>
6957 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6958 \begin_inset Text
6959
6960 \begin_layout Standard
6961
6962 \series bold
6963 Focarelli
6964 \end_layout
6965
6966 \end_inset
6967 </cell>
6968 <cell alignment="center" valignment="top" topline="true" usebox="none">
6969 \begin_inset Text
6970
6971 \begin_layout Standard
6972 Paola
6973 \end_layout
6974
6975 \end_inset
6976 </cell>
6977 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6978 \begin_inset Text
6979
6980 \begin_layout Standard
6981 111
6982 \end_layout
6983
6984 \end_inset
6985 </cell>
6986 </row>
6987 <row>
6988 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6989 \begin_inset Text
6990
6991 \begin_layout Standard
6992
6993 \series bold
6994 Galletti
6995 \end_layout
6996
6997 \end_inset
6998 </cell>
6999 <cell alignment="center" valignment="top" topline="true" usebox="none">
7000 \begin_inset Text
7001
7002 \begin_layout Standard
7003 Oreste
7004 \end_layout
7005
7006 \end_inset
7007 </cell>
7008 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7009 \begin_inset Text
7010
7011 \begin_layout Standard
7012 111
7013 \end_layout
7014
7015 \end_inset
7016 </cell>
7017 </row>
7018 <row>
7019 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7020 \begin_inset Text
7021
7022 \begin_layout Standard
7023
7024 \series bold
7025 Gasparini
7026 \end_layout
7027
7028 \end_inset
7029 </cell>
7030 <cell alignment="center" valignment="top" topline="true" usebox="none">
7031 \begin_inset Text
7032
7033 \begin_layout Standard
7034 Franca
7035 \end_layout
7036
7037 \end_inset
7038 </cell>
7039 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7040 \begin_inset Text
7041
7042 \begin_layout Standard
7043 111
7044 \end_layout
7045
7046 \end_inset
7047 </cell>
7048 </row>
7049 <row>
7050 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7051 \begin_inset Text
7052
7053 \begin_layout Standard
7054
7055 \series bold
7056 Rizzardi
7057 \series default
7058
7059 \begin_inset Foot
7060 status collapsed
7061
7062 \begin_layout Standard
7063 Example footnote
7064 \end_layout
7065
7066 \end_inset
7067
7068
7069 \end_layout
7070
7071 \end_inset
7072 </cell>
7073 <cell alignment="center" valignment="top" topline="true" usebox="none">
7074 \begin_inset Text
7075
7076 \begin_layout Standard
7077 Paola
7078 \end_layout
7079
7080 \end_inset
7081 </cell>
7082 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7083 \begin_inset Text
7084
7085 \begin_layout Standard
7086 111
7087 \end_layout
7088
7089 \end_inset
7090 </cell>
7091 </row>
7092 <row>
7093 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7094 \begin_inset Text
7095
7096 \begin_layout Standard
7097
7098 \series bold
7099 Lassini
7100 \end_layout
7101
7102 \end_inset
7103 </cell>
7104 <cell alignment="center" valignment="top" topline="true" usebox="none">
7105 \begin_inset Text
7106
7107 \begin_layout Standard
7108 Giancarlo
7109 \end_layout
7110
7111 \end_inset
7112 </cell>
7113 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7114 \begin_inset Text
7115
7116 \begin_layout Standard
7117 111
7118 \end_layout
7119
7120 \end_inset
7121 </cell>
7122 </row>
7123 <row>
7124 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7125 \begin_inset Text
7126
7127 \begin_layout Standard
7128
7129 \series bold
7130 Malfatti
7131 \end_layout
7132
7133 \end_inset
7134 </cell>
7135 <cell alignment="center" valignment="top" topline="true" usebox="none">
7136 \begin_inset Text
7137
7138 \begin_layout Standard
7139 Luciano
7140 \end_layout
7141
7142 \end_inset
7143 </cell>
7144 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7145 \begin_inset Text
7146
7147 \begin_layout Standard
7148 111
7149 \end_layout
7150
7151 \end_inset
7152 </cell>
7153 </row>
7154 <row>
7155 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7156 \begin_inset Text
7157
7158 \begin_layout Standard
7159
7160 \series bold
7161 Malfatti
7162 \end_layout
7163
7164 \end_inset
7165 </cell>
7166 <cell alignment="center" valignment="top" topline="true" usebox="none">
7167 \begin_inset Text
7168
7169 \begin_layout Standard
7170 Valeriano
7171 \end_layout
7172
7173 \end_inset
7174 </cell>
7175 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7176 \begin_inset Text
7177
7178 \begin_layout Standard
7179 111
7180 \end_layout
7181
7182 \end_inset
7183 </cell>
7184 </row>
7185 <row>
7186 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7187 \begin_inset Text
7188
7189 \begin_layout Standard
7190
7191 \series bold
7192 Meneguzzo
7193 \end_layout
7194
7195 \end_inset
7196 </cell>
7197 <cell alignment="center" valignment="top" topline="true" usebox="none">
7198 \begin_inset Text
7199
7200 \begin_layout Standard
7201 Roberto
7202 \end_layout
7203
7204 \end_inset
7205 </cell>
7206 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7207 \begin_inset Text
7208
7209 \begin_layout Standard
7210 111
7211 \end_layout
7212
7213 \end_inset
7214 </cell>
7215 </row>
7216 <row>
7217 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7218 \begin_inset Text
7219
7220 \begin_layout Standard
7221
7222 \series bold
7223 Mezzadra
7224 \end_layout
7225
7226 \end_inset
7227 </cell>
7228 <cell alignment="center" valignment="top" topline="true" usebox="none">
7229 \begin_inset Text
7230
7231 \begin_layout Standard
7232 Roberto
7233 \end_layout
7234
7235 \end_inset
7236 </cell>
7237 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7238 \begin_inset Text
7239
7240 \begin_layout Standard
7241 111
7242 \end_layout
7243
7244 \end_inset
7245 </cell>
7246 </row>
7247 <row>
7248 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7249 \begin_inset Text
7250
7251 \begin_layout Standard
7252
7253 \series bold
7254 Pirpamer
7255 \end_layout
7256
7257 \end_inset
7258 </cell>
7259 <cell alignment="center" valignment="top" topline="true" usebox="none">
7260 \begin_inset Text
7261
7262 \begin_layout Standard
7263 Erich
7264 \end_layout
7265
7266 \end_inset
7267 </cell>
7268 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7269 \begin_inset Text
7270
7271 \begin_layout Standard
7272 111
7273 \end_layout
7274
7275 \end_inset
7276 </cell>
7277 </row>
7278 <row>
7279 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7280 \begin_inset Text
7281
7282 \begin_layout Standard
7283
7284 \series bold
7285 Pochiesa
7286 \end_layout
7287
7288 \end_inset
7289 </cell>
7290 <cell alignment="center" valignment="top" topline="true" usebox="none">
7291 \begin_inset Text
7292
7293 \begin_layout Standard
7294 Paolo
7295 \end_layout
7296
7297 \end_inset
7298 </cell>
7299 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7300 \begin_inset Text
7301
7302 \begin_layout Standard
7303 111, 222
7304 \end_layout
7305
7306 \end_inset
7307 </cell>
7308 </row>
7309 <row>
7310 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7311 \begin_inset Text
7312
7313 \begin_layout Standard
7314
7315 \series bold
7316 Radina
7317 \end_layout
7318
7319 \end_inset
7320 </cell>
7321 <cell alignment="center" valignment="top" topline="true" usebox="none">
7322 \begin_inset Text
7323
7324 \begin_layout Standard
7325 Claudio
7326 \end_layout
7327
7328 \end_inset
7329 </cell>
7330 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7331 \begin_inset Text
7332
7333 \begin_layout Standard
7334 111
7335 \end_layout
7336
7337 \end_inset
7338 </cell>
7339 </row>
7340 <row>
7341 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7342 \begin_inset Text
7343
7344 \begin_layout Standard
7345
7346 \series bold
7347 Stuffer
7348 \end_layout
7349
7350 \end_inset
7351 </cell>
7352 <cell alignment="center" valignment="top" topline="true" usebox="none">
7353 \begin_inset Text
7354
7355 \begin_layout Standard
7356 Oskar
7357 \end_layout
7358
7359 \end_inset
7360 </cell>
7361 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7362 \begin_inset Text
7363
7364 \begin_layout Standard
7365 111
7366 \end_layout
7367
7368 \end_inset
7369 </cell>
7370 </row>
7371 <row>
7372 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7373 \begin_inset Text
7374
7375 \begin_layout Standard
7376
7377 \series bold
7378 Tacchelli
7379 \end_layout
7380
7381 \end_inset
7382 </cell>
7383 <cell alignment="center" valignment="top" topline="true" usebox="none">
7384 \begin_inset Text
7385
7386 \begin_layout Standard
7387 Ugo
7388 \end_layout
7389
7390 \end_inset
7391 </cell>
7392 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7393 \begin_inset Text
7394
7395 \begin_layout Standard
7396 111
7397 \end_layout
7398
7399 \end_inset
7400 </cell>
7401 </row>
7402 <row>
7403 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7404 \begin_inset Text
7405
7406 \begin_layout Standard
7407
7408 \series bold
7409 Tezzele
7410 \end_layout
7411
7412 \end_inset
7413 </cell>
7414 <cell alignment="center" valignment="top" topline="true" usebox="none">
7415 \begin_inset Text
7416
7417 \begin_layout Standard
7418 Margit
7419 \end_layout
7420
7421 \end_inset
7422 </cell>
7423 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7424 \begin_inset Text
7425
7426 \begin_layout Standard
7427 111
7428 \end_layout
7429
7430 \end_inset
7431 </cell>
7432 </row>
7433 <row>
7434 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7435 \begin_inset Text
7436
7437 \begin_layout Standard
7438
7439 \series bold
7440 Unterkalmsteiner
7441 \end_layout
7442
7443 \end_inset
7444 </cell>
7445 <cell alignment="center" valignment="top" topline="true" usebox="none">
7446 \begin_inset Text
7447
7448 \begin_layout Standard
7449 Frieda
7450 \end_layout
7451
7452 \end_inset
7453 </cell>
7454 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7455 \begin_inset Text
7456
7457 \begin_layout Standard
7458 111
7459 \end_layout
7460
7461 \end_inset
7462 </cell>
7463 </row>
7464 <row>
7465 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7466 \begin_inset Text
7467
7468 \begin_layout Standard
7469
7470 \series bold
7471 Vieider
7472 \end_layout
7473
7474 \end_inset
7475 </cell>
7476 <cell alignment="center" valignment="top" topline="true" usebox="none">
7477 \begin_inset Text
7478
7479 \begin_layout Standard
7480 Hilde
7481 \end_layout
7482
7483 \end_inset
7484 </cell>
7485 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7486 \begin_inset Text
7487
7488 \begin_layout Standard
7489 111
7490 \end_layout
7491
7492 \end_inset
7493 </cell>
7494 </row>
7495 <row>
7496 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7497 \begin_inset Text
7498
7499 \begin_layout Standard
7500
7501 \series bold
7502 Vigna
7503 \end_layout
7504
7505 \end_inset
7506 </cell>
7507 <cell alignment="center" valignment="top" topline="true" usebox="none">
7508 \begin_inset Text
7509
7510 \begin_layout Standard
7511 Jürgen
7512 \end_layout
7513
7514 \end_inset
7515 </cell>
7516 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7517 \begin_inset Text
7518
7519 \begin_layout Standard
7520 111
7521 \end_layout
7522
7523 \end_inset
7524 </cell>
7525 </row>
7526 <row>
7527 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7528 \begin_inset Text
7529
7530 \begin_layout Standard
7531
7532 \series bold
7533 Weber
7534 \end_layout
7535
7536 \end_inset
7537 </cell>
7538 <cell alignment="center" valignment="top" topline="true" usebox="none">
7539 \begin_inset Text
7540
7541 \begin_layout Standard
7542 Maurizio
7543 \end_layout
7544
7545 \end_inset
7546 </cell>
7547 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7548 \begin_inset Text
7549
7550 \begin_layout Standard
7551 111
7552 \end_layout
7553
7554 \end_inset
7555 </cell>
7556 </row>
7557 <row bottomline="true">
7558 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7559 \begin_inset Text
7560
7561 \begin_layout Standard
7562
7563 \series bold
7564 Winkler
7565 \end_layout
7566
7567 \end_inset
7568 </cell>
7569 <cell alignment="center" valignment="top" topline="true" usebox="none">
7570 \begin_inset Text
7571
7572 \begin_layout Standard
7573 Franz
7574 \end_layout
7575
7576 \end_inset
7577 </cell>
7578 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7579 \begin_inset Text
7580
7581 \begin_layout Standard
7582 111
7583 \end_layout
7584
7585 \end_inset
7586 </cell>
7587 </row>
7588 <row bottomline="true">
7589 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7590 \begin_inset Text
7591
7592 \begin_layout Standard
7593  
7594 \end_layout
7595
7596 \end_inset
7597 </cell>
7598 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
7599 \begin_inset Text
7600
7601 \begin_layout Standard
7602
7603 \end_layout
7604
7605 \end_inset
7606 </cell>
7607 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7608 \begin_inset Text
7609
7610 \begin_layout Standard
7611
7612 \end_layout
7613
7614 \end_inset
7615 </cell>
7616 </row>
7617 <row>
7618 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7619 \begin_inset Text
7620
7621 \begin_layout Standard
7622
7623 \series bold
7624 Annovi
7625 \end_layout
7626
7627 \end_inset
7628 </cell>
7629 <cell alignment="center" valignment="top" topline="true" usebox="none">
7630 \begin_inset Text
7631
7632 \begin_layout Standard
7633 Silvia
7634 \end_layout
7635
7636 \end_inset
7637 </cell>
7638 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7639 \begin_inset Text
7640
7641 \begin_layout Standard
7642 555
7643 \end_layout
7644
7645 \end_inset
7646 </cell>
7647 </row>
7648 <row>
7649 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7650 \begin_inset Text
7651
7652 \begin_layout Standard
7653
7654 \series bold
7655 Bertoli
7656 \end_layout
7657
7658 \end_inset
7659 </cell>
7660 <cell alignment="center" valignment="top" topline="true" usebox="none">
7661 \begin_inset Text
7662
7663 \begin_layout Standard
7664 Stefano
7665 \end_layout
7666
7667 \end_inset
7668 </cell>
7669 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7670 \begin_inset Text
7671
7672 \begin_layout Standard
7673 555
7674 \end_layout
7675
7676 \end_inset
7677 </cell>
7678 </row>
7679 <row>
7680 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7681 \begin_inset Text
7682
7683 \begin_layout Standard
7684
7685 \series bold
7686 Bozzi
7687 \end_layout
7688
7689 \end_inset
7690 </cell>
7691 <cell alignment="center" valignment="top" topline="true" usebox="none">
7692 \begin_inset Text
7693
7694 \begin_layout Standard
7695 Walter
7696 \end_layout
7697
7698 \end_inset
7699 </cell>
7700 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7701 \begin_inset Text
7702
7703 \begin_layout Standard
7704 555
7705 \end_layout
7706
7707 \end_inset
7708 </cell>
7709 </row>
7710 <row>
7711 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7712 \begin_inset Text
7713
7714 \begin_layout Standard
7715
7716 \series bold
7717 Cachia
7718 \end_layout
7719
7720 \end_inset
7721 </cell>
7722 <cell alignment="center" valignment="top" topline="true" usebox="none">
7723 \begin_inset Text
7724
7725 \begin_layout Standard
7726 Maria
7727 \end_layout
7728
7729 \end_inset
7730 </cell>
7731 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7732 \begin_inset Text
7733
7734 \begin_layout Standard
7735 555
7736 \end_layout
7737
7738 \end_inset
7739 </cell>
7740 </row>
7741 <row>
7742 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7743 \begin_inset Text
7744
7745 \begin_layout Standard
7746
7747 \series bold
7748 Cachia
7749 \end_layout
7750
7751 \end_inset
7752 </cell>
7753 <cell alignment="center" valignment="top" topline="true" usebox="none">
7754 \begin_inset Text
7755
7756 \begin_layout Standard
7757 Maurizio
7758 \end_layout
7759
7760 \end_inset
7761 </cell>
7762 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7763 \begin_inset Text
7764
7765 \begin_layout Standard
7766 555
7767 \end_layout
7768
7769 \end_inset
7770 </cell>
7771 </row>
7772 <row>
7773 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7774 \begin_inset Text
7775
7776 \begin_layout Standard
7777
7778 \series bold
7779 Cinquemani
7780 \end_layout
7781
7782 \end_inset
7783 </cell>
7784 <cell alignment="center" valignment="top" topline="true" usebox="none">
7785 \begin_inset Text
7786
7787 \begin_layout Standard
7788 Giusi
7789 \end_layout
7790
7791 \end_inset
7792 </cell>
7793 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7794 \begin_inset Text
7795
7796 \begin_layout Standard
7797 555
7798 \end_layout
7799
7800 \end_inset
7801 </cell>
7802 </row>
7803 <row>
7804 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7805 \begin_inset Text
7806
7807 \begin_layout Standard
7808
7809 \series bold
7810 Colin
7811 \end_layout
7812
7813 \end_inset
7814 </cell>
7815 <cell alignment="center" valignment="top" topline="true" usebox="none">
7816 \begin_inset Text
7817
7818 \begin_layout Standard
7819 Bernard
7820 \end_layout
7821
7822 \end_inset
7823 </cell>
7824 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7825 \begin_inset Text
7826
7827 \begin_layout Standard
7828 555
7829 \end_layout
7830
7831 \end_inset
7832 </cell>
7833 </row>
7834 <row>
7835 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7836 \begin_inset Text
7837
7838 \begin_layout Standard
7839
7840 \series bold
7841 Concli
7842 \end_layout
7843
7844 \end_inset
7845 </cell>
7846 <cell alignment="center" valignment="top" topline="true" usebox="none">
7847 \begin_inset Text
7848
7849 \begin_layout Standard
7850 Gianfranco
7851 \end_layout
7852
7853 \end_inset
7854 </cell>
7855 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7856 \begin_inset Text
7857
7858 \begin_layout Standard
7859 555
7860 \end_layout
7861
7862 \end_inset
7863 </cell>
7864 </row>
7865 <row>
7866 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7867 \begin_inset Text
7868
7869 \begin_layout Standard
7870
7871 \series bold
7872 Dal Bosco
7873 \end_layout
7874
7875 \end_inset
7876 </cell>
7877 <cell alignment="center" valignment="top" topline="true" usebox="none">
7878 \begin_inset Text
7879
7880 \begin_layout Standard
7881 Carolina
7882 \end_layout
7883
7884 \end_inset
7885 </cell>
7886 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7887 \begin_inset Text
7888
7889 \begin_layout Standard
7890 555
7891 \end_layout
7892
7893 \end_inset
7894 </cell>
7895 </row>
7896 <row>
7897 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7898 \begin_inset Text
7899
7900 \begin_layout Standard
7901
7902 \series bold
7903 Dalpiaz
7904 \end_layout
7905
7906 \end_inset
7907 </cell>
7908 <cell alignment="center" valignment="top" topline="true" usebox="none">
7909 \begin_inset Text
7910
7911 \begin_layout Standard
7912 Annamaria
7913 \end_layout
7914
7915 \end_inset
7916 </cell>
7917 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7918 \begin_inset Text
7919
7920 \begin_layout Standard
7921 555
7922 \end_layout
7923
7924 \end_inset
7925 </cell>
7926 </row>
7927 <row>
7928 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7929 \begin_inset Text
7930
7931 \begin_layout Standard
7932
7933 \series bold
7934 Feliciello
7935 \end_layout
7936
7937 \end_inset
7938 </cell>
7939 <cell alignment="center" valignment="top" topline="true" usebox="none">
7940 \begin_inset Text
7941
7942 \begin_layout Standard
7943 Domenico
7944 \end_layout
7945
7946 \end_inset
7947 </cell>
7948 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7949 \begin_inset Text
7950
7951 \begin_layout Standard
7952 555
7953 \end_layout
7954
7955 \end_inset
7956 </cell>
7957 </row>
7958 <row>
7959 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7960 \begin_inset Text
7961
7962 \begin_layout Standard
7963
7964 \series bold
7965 Focarelli
7966 \end_layout
7967
7968 \end_inset
7969 </cell>
7970 <cell alignment="center" valignment="top" topline="true" usebox="none">
7971 \begin_inset Text
7972
7973 \begin_layout Standard
7974 Paola
7975 \end_layout
7976
7977 \end_inset
7978 </cell>
7979 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7980 \begin_inset Text
7981
7982 \begin_layout Standard
7983 555
7984 \end_layout
7985
7986 \end_inset
7987 </cell>
7988 </row>
7989 <row>
7990 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7991 \begin_inset Text
7992
7993 \begin_layout Standard
7994
7995 \series bold
7996 Galletti
7997 \end_layout
7998
7999 \end_inset
8000 </cell>
8001 <cell alignment="center" valignment="top" topline="true" usebox="none">
8002 \begin_inset Text
8003
8004 \begin_layout Standard
8005 Oreste
8006 \end_layout
8007
8008 \end_inset
8009 </cell>
8010 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8011 \begin_inset Text
8012
8013 \begin_layout Standard
8014 555
8015 \end_layout
8016
8017 \end_inset
8018 </cell>
8019 </row>
8020 <row>
8021 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8022 \begin_inset Text
8023
8024 \begin_layout Standard
8025
8026 \series bold
8027 Gasparini
8028 \end_layout
8029
8030 \end_inset
8031 </cell>
8032 <cell alignment="center" valignment="top" topline="true" usebox="none">
8033 \begin_inset Text
8034
8035 \begin_layout Standard
8036 Franca
8037 \end_layout
8038
8039 \end_inset
8040 </cell>
8041 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8042 \begin_inset Text
8043
8044 \begin_layout Standard
8045 555
8046 \end_layout
8047
8048 \end_inset
8049 </cell>
8050 </row>
8051 <row>
8052 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8053 \begin_inset Text
8054
8055 \begin_layout Standard
8056
8057 \series bold
8058 Rizzardi
8059 \end_layout
8060
8061 \end_inset
8062 </cell>
8063 <cell alignment="center" valignment="top" topline="true" usebox="none">
8064 \begin_inset Text
8065
8066 \begin_layout Standard
8067 Paola
8068 \end_layout
8069
8070 \end_inset
8071 </cell>
8072 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8073 \begin_inset Text
8074
8075 \begin_layout Standard
8076 555
8077 \end_layout
8078
8079 \end_inset
8080 </cell>
8081 </row>
8082 <row>
8083 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8084 \begin_inset Text
8085
8086 \begin_layout Standard
8087
8088 \series bold
8089 Lassini
8090 \end_layout
8091
8092 \end_inset
8093 </cell>
8094 <cell alignment="center" valignment="top" topline="true" usebox="none">
8095 \begin_inset Text
8096
8097 \begin_layout Standard
8098 Giancarlo
8099 \end_layout
8100
8101 \end_inset
8102 </cell>
8103 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8104 \begin_inset Text
8105
8106 \begin_layout Standard
8107 555
8108 \end_layout
8109
8110 \end_inset
8111 </cell>
8112 </row>
8113 <row>
8114 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8115 \begin_inset Text
8116
8117 \begin_layout Standard
8118
8119 \series bold
8120 Malfatti
8121 \end_layout
8122
8123 \end_inset
8124 </cell>
8125 <cell alignment="center" valignment="top" topline="true" usebox="none">
8126 \begin_inset Text
8127
8128 \begin_layout Standard
8129 Luciano
8130 \end_layout
8131
8132 \end_inset
8133 </cell>
8134 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8135 \begin_inset Text
8136
8137 \begin_layout Standard
8138 555
8139 \end_layout
8140
8141 \end_inset
8142 </cell>
8143 </row>
8144 <row>
8145 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8146 \begin_inset Text
8147
8148 \begin_layout Standard
8149
8150 \series bold
8151 Malfatti
8152 \end_layout
8153
8154 \end_inset
8155 </cell>
8156 <cell alignment="center" valignment="top" topline="true" usebox="none">
8157 \begin_inset Text
8158
8159 \begin_layout Standard
8160 Valeriano
8161 \end_layout
8162
8163 \end_inset
8164 </cell>
8165 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8166 \begin_inset Text
8167
8168 \begin_layout Standard
8169 555
8170 \end_layout
8171
8172 \end_inset
8173 </cell>
8174 </row>
8175 <row>
8176 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8177 \begin_inset Text
8178
8179 \begin_layout Standard
8180
8181 \series bold
8182 Meneguzzo
8183 \end_layout
8184
8185 \end_inset
8186 </cell>
8187 <cell alignment="center" valignment="top" topline="true" usebox="none">
8188 \begin_inset Text
8189
8190 \begin_layout Standard
8191 Roberto
8192 \end_layout
8193
8194 \end_inset
8195 </cell>
8196 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8197 \begin_inset Text
8198
8199 \begin_layout Standard
8200 555
8201 \end_layout
8202
8203 \end_inset
8204 </cell>
8205 </row>
8206 <row bottomline="true">
8207 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8208 \begin_inset Text
8209
8210 \begin_layout Standard
8211
8212 \series bold
8213 Mezzadra
8214 \end_layout
8215
8216 \end_inset
8217 </cell>
8218 <cell alignment="center" valignment="top" topline="true" usebox="none">
8219 \begin_inset Text
8220
8221 \begin_layout Standard
8222 Roberto
8223 \end_layout
8224
8225 \end_inset
8226 </cell>
8227 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8228 \begin_inset Text
8229
8230 \begin_layout Standard
8231 555
8232 \end_layout
8233
8234 \end_inset
8235 </cell>
8236 </row>
8237 <row bottomline="true" endlastfoot="true">
8238 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
8239 \begin_inset Text
8240
8241 \begin_layout Standard
8242
8243 \end_layout
8244
8245 \end_inset
8246 </cell>
8247 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8248 \begin_inset Text
8249
8250 \begin_layout Standard
8251
8252 \end_layout
8253
8254 \end_inset
8255 </cell>
8256 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8257 \begin_inset Text
8258
8259 \begin_layout Standard
8260
8261 \end_layout
8262
8263 \end_inset
8264 </cell>
8265 </row>
8266 </lyxtabular>
8267
8268 \end_inset
8269
8270
8271 \end_layout
8272
8273 \begin_layout Section
8274 Special Longtable Issues
8275 \begin_inset LatexCommand label
8276 name "sec:Special-Longtable-Issues"
8277
8278 \end_inset
8279
8280
8281 \end_layout
8282
8283 \begin_layout Subsection
8284 Longtable Calculation
8285 \begin_inset LatexCommand index
8286 name "Longtables ! Calculation"
8287
8288 \end_inset
8289
8290
8291 \end_layout
8292
8293 \begin_layout Standard
8294 LaTeX calculates the height of table pages and their page breaks using so
8295  called chunks.
8296  Chunks are pieces of the tables that are at once in LaTeX's memory.
8297  The default value is historically set to only 20 table rows.
8298  If you are using longtables with many pages this may slow down the creation
8299  of your document.
8300  You can safely increase the chunk size to values of 100-1000 by adding
8301  this command line to your document preamble:
8302 \end_layout
8303
8304 \begin_layout Standard
8305
8306 \series bold
8307
8308 \backslash
8309 setcounter{LTchunksize}{100}
8310 \end_layout
8311
8312 \begin_layout Subsection
8313 Floats and Longtables
8314 \begin_inset LatexCommand index
8315 name "Longtables ! Floats"
8316
8317 \end_inset
8318
8319
8320 \end_layout
8321
8322 \begin_layout Standard
8323 There might be problems when a float appears on the same page where a longtable
8324  starts.
8325  To avoid such situation, add the command 
8326 \series bold
8327
8328 \backslash
8329 clearpage
8330 \series default
8331  as ERT before your longtable.
8332 \end_layout
8333
8334 \begin_layout Subsection
8335 Forced Page Breaks
8336 \begin_inset LatexCommand index
8337 name "Longtables ! Forced Page Breaks"
8338
8339 \end_inset
8340
8341
8342 \end_layout
8343
8344 \begin_layout Standard
8345 By default tables are only broken between rows.
8346  If you have a cell with multiples lines and want to have a page break within
8347  the cell, insert the new line command 
8348 \begin_inset Quotes eld
8349 \end_inset
8350
8351
8352 \series bold
8353
8354 \backslash
8355
8356 \backslash
8357
8358 \series default
8359
8360 \begin_inset Quotes erd
8361 \end_inset
8362
8363  as ERT at this point of the cell where it should be broken.
8364  Before the 
8365 \series bold
8366
8367 \backslash
8368
8369 \backslash
8370
8371 \series default
8372  command you have to insert in ERT so many 
8373 \begin_inset Quotes eld
8374 \end_inset
8375
8376
8377 \series bold
8378 &
8379 \series default
8380
8381 \begin_inset Quotes erd
8382 \end_inset
8383
8384  characters like the number of the following table columns.
8385  The 
8386 \series bold
8387 &
8388 \series default
8389  is the character to separate table cells.
8390  Write in ERT after each 
8391 \series bold
8392 &
8393 \series default
8394  the content of the corresponding following cell and delete the content
8395  of these cells.
8396 \newline
8397 Behind the the 
8398 \series bold
8399
8400 \backslash
8401
8402 \backslash
8403
8404 \series default
8405  command, insert so many 
8406 \series bold
8407 &
8408 \series default
8409  characters like the number of table columns before the current column.
8410  In Table\InsetSpace ~
8411
8412 \begin_inset LatexCommand ref
8413 reference "tab:ForcedPagebreak"
8414
8415 \end_inset
8416
8417  the cell that should be broken is in the second column followed by another
8418  column.
8419  Therefore the following command was inserted in the cell as ERT behind
8420  
8421 \begin_inset Quotes eld
8422 \end_inset
8423
8424
8425 \emph on
8426 Castelchiodato,
8427 \emph default
8428
8429 \begin_inset Quotes erd
8430 \end_inset
8431
8432 :
8433 \end_layout
8434
8435 \begin_layout Standard
8436
8437 \series bold
8438 & 111
8439 \backslash
8440
8441 \backslash
8442
8443 \newline
8444 &
8445 \end_layout
8446
8447 \begin_layout Standard
8448 The 
8449 \begin_inset Quotes eld
8450 \end_inset
8451
8452 111
8453 \begin_inset Quotes erd
8454 \end_inset
8455
8456  in the third columns of the row was deleted.
8457  If your footer row of the longtable has for a certain reason no upper line
8458  but you would have a horizontal line where the cell is broken, use this
8459  command instead:
8460 \end_layout
8461
8462 \begin_layout Standard
8463
8464 \series bold
8465 & 111
8466 \backslash
8467
8468 \backslash
8469
8470 \newline
8471
8472 \backslash
8473 hline &
8474 \end_layout
8475
8476 \begin_layout Standard
8477 When the cell to be broken is in the last column, the command
8478 \end_layout
8479
8480 \begin_layout Standard
8481
8482 \series bold
8483
8484 \backslash
8485 setlength{
8486 \backslash
8487 parf\SpecialChar \textcompwordmark{}
8488 illskip}{0pt}
8489 \end_layout
8490
8491 \begin_layout Standard
8492 must be inserted as ERT at the beginning of the cell.
8493  This assures that the part of the cell that will be displayed on the new
8494  page appears with the full width.
8495  
8496 \end_layout
8497
8498 \begin_layout Standard
8499 \align center
8500 \begin_inset Tabular
8501 <lyxtabular version="3" rows="39" columns="3">
8502 <features islongtable="true">
8503 <column alignment="left" valignment="top" leftline="true" width="0cm">
8504 <column alignment="left" valignment="top" rightline="true" width="3cm">
8505 <column alignment="right" valignment="top" rightline="true" width="0pt">
8506 <row endfirsthead="true">
8507 <cell alignment="right" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8508 \begin_inset Text
8509
8510 \begin_layout Standard
8511 \begin_inset Caption
8512
8513 \begin_layout Standard
8514 Table with forced page break in table cell
8515 \begin_inset LatexCommand label
8516 name "tab:ForcedPagebreak"
8517
8518 \end_inset
8519
8520
8521 \begin_inset OptArg
8522 status collapsed
8523
8524 \begin_layout Standard
8525 Table with forced page break in table cell
8526 \end_layout
8527
8528 \end_inset
8529
8530
8531 \end_layout
8532
8533 \end_inset
8534
8535
8536 \begin_inset ERT
8537 status collapsed
8538
8539 \begin_layout Standard
8540
8541
8542 \backslash
8543
8544 \backslash
8545 %
8546 \end_layout
8547
8548 \end_inset
8549
8550
8551 \end_layout
8552
8553 \end_inset
8554 </cell>
8555 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8556 \begin_inset Text
8557
8558 \begin_layout Standard
8559
8560 \end_layout
8561
8562 \end_inset
8563 </cell>
8564 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8565 \begin_inset Text
8566
8567 \begin_layout Standard
8568
8569 \end_layout
8570
8571 \end_inset
8572 </cell>
8573 </row>
8574 <row topline="true" bottomline="true" endfirsthead="true">
8575 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8576 \begin_inset Text
8577
8578 \begin_layout Standard
8579
8580 \series bold
8581 Example Phone List (ignore the names)
8582 \end_layout
8583
8584 \end_inset
8585 </cell>
8586 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8587 \begin_inset Text
8588
8589 \begin_layout Standard
8590
8591 \end_layout
8592
8593 \end_inset
8594 </cell>
8595 <cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8596 \begin_inset Text
8597
8598 \begin_layout Standard
8599
8600 \end_layout
8601
8602 \end_inset
8603 </cell>
8604 </row>
8605 <row topline="true" bottomline="true" endfirsthead="true">
8606 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8607 \begin_inset Text
8608
8609 \begin_layout Standard
8610
8611 \series bold
8612 NAME
8613 \end_layout
8614
8615 \end_inset
8616 </cell>
8617 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8618 \begin_inset Text
8619
8620 \begin_layout Standard
8621
8622 \end_layout
8623
8624 \end_inset
8625 </cell>
8626 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8627 \begin_inset Text
8628
8629 \begin_layout Standard
8630
8631 \series bold
8632 TEL.
8633 \end_layout
8634
8635 \end_inset
8636 </cell>
8637 </row>
8638 <row bottomline="true" endhead="true">
8639 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8640 \begin_inset Text
8641
8642 \begin_layout Standard
8643 \begin_inset ERT
8644 status collapsed
8645
8646 \begin_layout Standard
8647
8648
8649 \backslash
8650 caption*{Continued table with forced page break in table cell}
8651 \backslash
8652
8653 \backslash
8654 %
8655 \end_layout
8656
8657 \end_inset
8658
8659
8660 \end_layout
8661
8662 \end_inset
8663 </cell>
8664 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8665 \begin_inset Text
8666
8667 \begin_layout Standard
8668
8669 \end_layout
8670
8671 \end_inset
8672 </cell>
8673 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8674 \begin_inset Text
8675
8676 \begin_layout Standard
8677
8678 \end_layout
8679
8680 \end_inset
8681 </cell>
8682 </row>
8683 <row topline="true" bottomline="true" endhead="true">
8684 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8685 \begin_inset Text
8686
8687 \begin_layout Standard
8688  
8689 \series bold
8690 Example Phone List
8691 \end_layout
8692
8693 \end_inset
8694 </cell>
8695 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8696 \begin_inset Text
8697
8698 \begin_layout Standard
8699
8700 \end_layout
8701
8702 \end_inset
8703 </cell>
8704 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8705 \begin_inset Text
8706
8707 \begin_layout Standard
8708
8709 \end_layout
8710
8711 \end_inset
8712 </cell>
8713 </row>
8714 <row topline="true" bottomline="true" endhead="true">
8715 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8716 \begin_inset Text
8717
8718 \begin_layout Standard
8719
8720 \series bold
8721 NAME
8722 \end_layout
8723
8724 \end_inset
8725 </cell>
8726 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8727 \begin_inset Text
8728
8729 \begin_layout Standard
8730
8731 \end_layout
8732
8733 \end_inset
8734 </cell>
8735 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8736 \begin_inset Text
8737
8738 \begin_layout Standard
8739
8740 \series bold
8741 TEL.
8742 \end_layout
8743
8744 \end_inset
8745 </cell>
8746 </row>
8747 <row topline="true" bottomline="true" endfoot="true">
8748 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
8749 \begin_inset Text
8750
8751 \begin_layout Standard
8752 continued on next page
8753 \end_layout
8754
8755 \end_inset
8756 </cell>
8757 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8758 \begin_inset Text
8759
8760 \begin_layout Standard
8761
8762 \end_layout
8763
8764 \end_inset
8765 </cell>
8766 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8767 \begin_inset Text
8768
8769 \begin_layout Standard
8770
8771 \end_layout
8772
8773 \end_inset
8774 </cell>
8775 </row>
8776 <row>
8777 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8778 \begin_inset Text
8779
8780 \begin_layout Standard
8781
8782 \series bold
8783 Annovi
8784 \end_layout
8785
8786 \end_inset
8787 </cell>
8788 <cell alignment="center" valignment="top" topline="true" usebox="none">
8789 \begin_inset Text
8790
8791 \begin_layout Standard
8792 Silvia
8793 \end_layout
8794
8795 \end_inset
8796 </cell>
8797 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8798 \begin_inset Text
8799
8800 \begin_layout Standard
8801 111
8802 \end_layout
8803
8804 \end_inset
8805 </cell>
8806 </row>
8807 <row>
8808 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8809 \begin_inset Text
8810
8811 \begin_layout Standard
8812
8813 \series bold
8814 Bertoli
8815 \end_layout
8816
8817 \end_inset
8818 </cell>
8819 <cell alignment="center" valignment="top" topline="true" usebox="none">
8820 \begin_inset Text
8821
8822 \begin_layout Standard
8823 Stefano
8824 \end_layout
8825
8826 \end_inset
8827 </cell>
8828 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8829 \begin_inset Text
8830
8831 \begin_layout Standard
8832 111
8833 \end_layout
8834
8835 \end_inset
8836 </cell>
8837 </row>
8838 <row>
8839 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8840 \begin_inset Text
8841
8842 \begin_layout Standard
8843
8844 \series bold
8845 Bozzi
8846 \end_layout
8847
8848 \end_inset
8849 </cell>
8850 <cell alignment="center" valignment="top" topline="true" usebox="none">
8851 \begin_inset Text
8852
8853 \begin_layout Standard
8854 Walter
8855 \end_layout
8856
8857 \end_inset
8858 </cell>
8859 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8860 \begin_inset Text
8861
8862 \begin_layout Standard
8863 111
8864 \end_layout
8865
8866 \end_inset
8867 </cell>
8868 </row>
8869 <row>
8870 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8871 \begin_inset Text
8872
8873 \begin_layout Standard
8874
8875 \series bold
8876 Cachia
8877 \end_layout
8878
8879 \end_inset
8880 </cell>
8881 <cell alignment="center" valignment="top" topline="true" usebox="none">
8882 \begin_inset Text
8883
8884 \begin_layout Standard
8885 Maria
8886 \end_layout
8887
8888 \end_inset
8889 </cell>
8890 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8891 \begin_inset Text
8892
8893 \begin_layout Standard
8894 111
8895 \end_layout
8896
8897 \end_inset
8898 </cell>
8899 </row>
8900 <row>
8901 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8902 \begin_inset Text
8903
8904 \begin_layout Standard
8905
8906 \series bold
8907 Cachia
8908 \end_layout
8909
8910 \end_inset
8911 </cell>
8912 <cell alignment="center" valignment="top" topline="true" usebox="none">
8913 \begin_inset Text
8914
8915 \begin_layout Standard
8916 Maurizio
8917 \end_layout
8918
8919 \end_inset
8920 </cell>
8921 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8922 \begin_inset Text
8923
8924 \begin_layout Standard
8925 111
8926 \end_layout
8927
8928 \end_inset
8929 </cell>
8930 </row>
8931 <row>
8932 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8933 \begin_inset Text
8934
8935 \begin_layout Standard
8936
8937 \series bold
8938 Cinquemani
8939 \end_layout
8940
8941 \end_inset
8942 </cell>
8943 <cell alignment="center" valignment="top" topline="true" usebox="none">
8944 \begin_inset Text
8945
8946 \begin_layout Standard
8947 Giusi
8948 \end_layout
8949
8950 \end_inset
8951 </cell>
8952 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8953 \begin_inset Text
8954
8955 \begin_layout Standard
8956 111
8957 \end_layout
8958
8959 \end_inset
8960 </cell>
8961 </row>
8962 <row>
8963 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8964 \begin_inset Text
8965
8966 \begin_layout Standard
8967
8968 \series bold
8969 Colin
8970 \end_layout
8971
8972 \end_inset
8973 </cell>
8974 <cell alignment="center" valignment="top" topline="true" usebox="none">
8975 \begin_inset Text
8976
8977 \begin_layout Standard
8978 Bernard
8979 \end_layout
8980
8981 \end_inset
8982 </cell>
8983 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8984 \begin_inset Text
8985
8986 \begin_layout Standard
8987 111
8988 \end_layout
8989
8990 \end_inset
8991 </cell>
8992 </row>
8993 <row>
8994 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8995 \begin_inset Text
8996
8997 \begin_layout Standard
8998
8999 \series bold
9000 Concli
9001 \end_layout
9002
9003 \end_inset
9004 </cell>
9005 <cell alignment="center" valignment="top" topline="true" usebox="none">
9006 \begin_inset Text
9007
9008 \begin_layout Standard
9009 Gianfranco
9010 \end_layout
9011
9012 \end_inset
9013 </cell>
9014 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9015 \begin_inset Text
9016
9017 \begin_layout Standard
9018 111
9019 \end_layout
9020
9021 \end_inset
9022 </cell>
9023 </row>
9024 <row>
9025 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9026 \begin_inset Text
9027
9028 \begin_layout Standard
9029
9030 \series bold
9031 Dal Bosco
9032 \end_layout
9033
9034 \end_inset
9035 </cell>
9036 <cell alignment="center" valignment="top" topline="true" usebox="none">
9037 \begin_inset Text
9038
9039 \begin_layout Standard
9040 Carolina
9041 \end_layout
9042
9043 \end_inset
9044 </cell>
9045 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9046 \begin_inset Text
9047
9048 \begin_layout Standard
9049 111
9050 \end_layout
9051
9052 \end_inset
9053 </cell>
9054 </row>
9055 <row>
9056 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9057 \begin_inset Text
9058
9059 \begin_layout Standard
9060
9061 \series bold
9062 Dalpiaz
9063 \end_layout
9064
9065 \end_inset
9066 </cell>
9067 <cell alignment="center" valignment="top" topline="true" usebox="none">
9068 \begin_inset Text
9069
9070 \begin_layout Standard
9071 Annamaria
9072 \end_layout
9073
9074 \end_inset
9075 </cell>
9076 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9077 \begin_inset Text
9078
9079 \begin_layout Standard
9080 111
9081 \end_layout
9082
9083 \end_inset
9084 </cell>
9085 </row>
9086 <row>
9087 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9088 \begin_inset Text
9089
9090 \begin_layout Standard
9091
9092 \series bold
9093 Feliciello
9094 \end_layout
9095
9096 \end_inset
9097 </cell>
9098 <cell alignment="center" valignment="top" topline="true" usebox="none">
9099 \begin_inset Text
9100
9101 \begin_layout Standard
9102 Domenico
9103 \end_layout
9104
9105 \end_inset
9106 </cell>
9107 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9108 \begin_inset Text
9109
9110 \begin_layout Standard
9111 111
9112 \end_layout
9113
9114 \end_inset
9115 </cell>
9116 </row>
9117 <row>
9118 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9119 \begin_inset Text
9120
9121 \begin_layout Standard
9122
9123 \series bold
9124 Focarelli
9125 \end_layout
9126
9127 \end_inset
9128 </cell>
9129 <cell alignment="center" valignment="top" topline="true" usebox="none">
9130 \begin_inset Text
9131
9132 \begin_layout Standard
9133 Paola
9134 \end_layout
9135
9136 \end_inset
9137 </cell>
9138 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9139 \begin_inset Text
9140
9141 \begin_layout Standard
9142 111
9143 \end_layout
9144
9145 \end_inset
9146 </cell>
9147 </row>
9148 <row>
9149 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9150 \begin_inset Text
9151
9152 \begin_layout Standard
9153
9154 \series bold
9155 Galletti
9156 \end_layout
9157
9158 \end_inset
9159 </cell>
9160 <cell alignment="center" valignment="top" topline="true" usebox="none">
9161 \begin_inset Text
9162
9163 \begin_layout Standard
9164 Oreste
9165 \end_layout
9166
9167 \end_inset
9168 </cell>
9169 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9170 \begin_inset Text
9171
9172 \begin_layout Standard
9173 111
9174 \end_layout
9175
9176 \end_inset
9177 </cell>
9178 </row>
9179 <row>
9180 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9181 \begin_inset Text
9182
9183 \begin_layout Standard
9184
9185 \series bold
9186 Gasparini
9187 \end_layout
9188
9189 \end_inset
9190 </cell>
9191 <cell alignment="center" valignment="top" topline="true" usebox="none">
9192 \begin_inset Text
9193
9194 \begin_layout Standard
9195 Franca
9196 \end_layout
9197
9198 \end_inset
9199 </cell>
9200 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9201 \begin_inset Text
9202
9203 \begin_layout Standard
9204 111
9205 \end_layout
9206
9207 \end_inset
9208 </cell>
9209 </row>
9210 <row>
9211 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9212 \begin_inset Text
9213
9214 \begin_layout Standard
9215
9216 \series bold
9217 Lassini
9218 \end_layout
9219
9220 \end_inset
9221 </cell>
9222 <cell alignment="center" valignment="top" topline="true" usebox="none">
9223 \begin_inset Text
9224
9225 \begin_layout Standard
9226 Giancarlo
9227 \end_layout
9228
9229 \end_inset
9230 </cell>
9231 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9232 \begin_inset Text
9233
9234 \begin_layout Standard
9235 111
9236 \end_layout
9237
9238 \end_inset
9239 </cell>
9240 </row>
9241 <row>
9242 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9243 \begin_inset Text
9244
9245 \begin_layout Standard
9246
9247 \series bold
9248 Malfatti
9249 \end_layout
9250
9251 \end_inset
9252 </cell>
9253 <cell alignment="center" valignment="top" topline="true" usebox="none">
9254 \begin_inset Text
9255
9256 \begin_layout Standard
9257 Luciano
9258 \end_layout
9259
9260 \end_inset
9261 </cell>
9262 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9263 \begin_inset Text
9264
9265 \begin_layout Standard
9266 111
9267 \end_layout
9268
9269 \end_inset
9270 </cell>
9271 </row>
9272 <row>
9273 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9274 \begin_inset Text
9275
9276 \begin_layout Standard
9277
9278 \series bold
9279 Malfatti
9280 \end_layout
9281
9282 \end_inset
9283 </cell>
9284 <cell alignment="center" valignment="top" topline="true" usebox="none">
9285 \begin_inset Text
9286
9287 \begin_layout Standard
9288 Valeriano
9289 \end_layout
9290
9291 \end_inset
9292 </cell>
9293 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9294 \begin_inset Text
9295
9296 \begin_layout Standard
9297 111
9298 \end_layout
9299
9300 \end_inset
9301 </cell>
9302 </row>
9303 <row>
9304 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9305 \begin_inset Text
9306
9307 \begin_layout Standard
9308
9309 \series bold
9310 Meneguzzo
9311 \end_layout
9312
9313 \end_inset
9314 </cell>
9315 <cell alignment="center" valignment="top" topline="true" usebox="none">
9316 \begin_inset Text
9317
9318 \begin_layout Standard
9319 Roberto
9320 \end_layout
9321
9322 \end_inset
9323 </cell>
9324 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9325 \begin_inset Text
9326
9327 \begin_layout Standard
9328 111
9329 \end_layout
9330
9331 \end_inset
9332 </cell>
9333 </row>
9334 <row>
9335 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9336 \begin_inset Text
9337
9338 \begin_layout Standard
9339
9340 \series bold
9341 Mezzadra
9342 \end_layout
9343
9344 \end_inset
9345 </cell>
9346 <cell alignment="center" valignment="top" topline="true" usebox="none">
9347 \begin_inset Text
9348
9349 \begin_layout Standard
9350 Roberto
9351 \end_layout
9352
9353 \end_inset
9354 </cell>
9355 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9356 \begin_inset Text
9357
9358 \begin_layout Standard
9359 111
9360 \end_layout
9361
9362 \end_inset
9363 </cell>
9364 </row>
9365 <row>
9366 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9367 \begin_inset Text
9368
9369 \begin_layout Standard
9370
9371 \series bold
9372 Pirpamer
9373 \end_layout
9374
9375 \end_inset
9376 </cell>
9377 <cell alignment="center" valignment="top" topline="true" usebox="none">
9378 \begin_inset Text
9379
9380 \begin_layout Standard
9381 Erich
9382 \end_layout
9383
9384 \end_inset
9385 </cell>
9386 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9387 \begin_inset Text
9388
9389 \begin_layout Standard
9390 111
9391 \end_layout
9392
9393 \end_inset
9394 </cell>
9395 </row>
9396 <row>
9397 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9398 \begin_inset Text
9399
9400 \begin_layout Standard
9401
9402 \series bold
9403 Pochiesa
9404 \end_layout
9405
9406 \end_inset
9407 </cell>
9408 <cell alignment="center" valignment="top" topline="true" usebox="none">
9409 \begin_inset Text
9410
9411 \begin_layout Standard
9412 Paolo
9413 \end_layout
9414
9415 \end_inset
9416 </cell>
9417 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9418 \begin_inset Text
9419
9420 \begin_layout Standard
9421 111, 222
9422 \end_layout
9423
9424 \end_inset
9425 </cell>
9426 </row>
9427 <row>
9428 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9429 \begin_inset Text
9430
9431 \begin_layout Standard
9432
9433 \series bold
9434 Radina
9435 \end_layout
9436
9437 \end_inset
9438 </cell>
9439 <cell alignment="center" valignment="top" topline="true" usebox="none">
9440 \begin_inset Text
9441
9442 \begin_layout Standard
9443 Claudio
9444 \end_layout
9445
9446 \end_inset
9447 </cell>
9448 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9449 \begin_inset Text
9450
9451 \begin_layout Standard
9452 111
9453 \end_layout
9454
9455 \end_inset
9456 </cell>
9457 </row>
9458 <row>
9459 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9460 \begin_inset Text
9461
9462 \begin_layout Standard
9463
9464 \series bold
9465 Rizzardi
9466 \end_layout
9467
9468 \end_inset
9469 </cell>
9470 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9471 \begin_inset Text
9472
9473 \begin_layout Standard
9474 Paolo, 11.
9475  Fürst von Montecompatri, 11.
9476  Fürst von Sulmona und Vivaro, 10.
9477  Fürst von Rossano, 5.
9478  Herzog von Canemorte, 11.
9479  Herzog von Palombara, 5.
9480  Herzog von Castelchiodato,
9481 \begin_inset ERT
9482 status collapsed
9483
9484 \begin_layout Standard
9485
9486 & 111
9487 \backslash
9488
9489 \backslash
9490
9491 \end_layout
9492
9493 \begin_layout Standard
9494
9495 &
9496 \end_layout
9497
9498 \end_inset
9499
9500  11.
9501  Herzog von Poggionativo, 11.
9502  Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
9503  Graf von Valinfreda, 11.
9504  Baron von Cropalati, 11.
9505  Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
9506 \end_layout
9507
9508 \end_inset
9509 </cell>
9510 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9511 \begin_inset Text
9512
9513 \begin_layout Standard
9514
9515 \end_layout
9516
9517 \end_inset
9518 </cell>
9519 </row>
9520 <row>
9521 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9522 \begin_inset Text
9523
9524 \begin_layout Standard
9525
9526 \series bold
9527 Stuffer
9528 \end_layout
9529
9530 \end_inset
9531 </cell>
9532 <cell alignment="center" valignment="top" topline="true" usebox="none">
9533 \begin_inset Text
9534
9535 \begin_layout Standard
9536 Oskar
9537 \end_layout
9538
9539 \end_inset
9540 </cell>
9541 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9542 \begin_inset Text
9543
9544 \begin_layout Standard
9545 111
9546 \end_layout
9547
9548 \end_inset
9549 </cell>
9550 </row>
9551 <row>
9552 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9553 \begin_inset Text
9554
9555 \begin_layout Standard
9556
9557 \series bold
9558 Tacchelli
9559 \end_layout
9560
9561 \end_inset
9562 </cell>
9563 <cell alignment="center" valignment="top" topline="true" usebox="none">
9564 \begin_inset Text
9565
9566 \begin_layout Standard
9567 Ugo
9568 \end_layout
9569
9570 \end_inset
9571 </cell>
9572 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9573 \begin_inset Text
9574
9575 \begin_layout Standard
9576 111
9577 \end_layout
9578
9579 \end_inset
9580 </cell>
9581 </row>
9582 <row>
9583 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9584 \begin_inset Text
9585
9586 \begin_layout Standard
9587
9588 \series bold
9589 Tezzele
9590 \end_layout
9591
9592 \end_inset
9593 </cell>
9594 <cell alignment="center" valignment="top" topline="true" usebox="none">
9595 \begin_inset Text
9596
9597 \begin_layout Standard
9598 Margit
9599 \end_layout
9600
9601 \end_inset
9602 </cell>
9603 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9604 \begin_inset Text
9605
9606 \begin_layout Standard
9607 111
9608 \end_layout
9609
9610 \end_inset
9611 </cell>
9612 </row>
9613 <row>
9614 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9615 \begin_inset Text
9616
9617 \begin_layout Standard
9618
9619 \series bold
9620 Unterkalmsteiner
9621 \end_layout
9622
9623 \end_inset
9624 </cell>
9625 <cell alignment="center" valignment="top" topline="true" usebox="none">
9626 \begin_inset Text
9627
9628 \begin_layout Standard
9629 Frieda
9630 \end_layout
9631
9632 \end_inset
9633 </cell>
9634 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9635 \begin_inset Text
9636
9637 \begin_layout Standard
9638 111
9639 \end_layout
9640
9641 \end_inset
9642 </cell>
9643 </row>
9644 <row>
9645 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9646 \begin_inset Text
9647
9648 \begin_layout Standard
9649
9650 \series bold
9651 Vieider
9652 \end_layout
9653
9654 \end_inset
9655 </cell>
9656 <cell alignment="center" valignment="top" topline="true" usebox="none">
9657 \begin_inset Text
9658
9659 \begin_layout Standard
9660 Hilde
9661 \end_layout
9662
9663 \end_inset
9664 </cell>
9665 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9666 \begin_inset Text
9667
9668 \begin_layout Standard
9669 111
9670 \end_layout
9671
9672 \end_inset
9673 </cell>
9674 </row>
9675 <row>
9676 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9677 \begin_inset Text
9678
9679 \begin_layout Standard
9680
9681 \series bold
9682 Vigna
9683 \end_layout
9684
9685 \end_inset
9686 </cell>
9687 <cell alignment="center" valignment="top" topline="true" usebox="none">
9688 \begin_inset Text
9689
9690 \begin_layout Standard
9691 Jürgen
9692 \end_layout
9693
9694 \end_inset
9695 </cell>
9696 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9697 \begin_inset Text
9698
9699 \begin_layout Standard
9700 111
9701 \end_layout
9702
9703 \end_inset
9704 </cell>
9705 </row>
9706 <row>
9707 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9708 \begin_inset Text
9709
9710 \begin_layout Standard
9711
9712 \series bold
9713 Weber
9714 \end_layout
9715
9716 \end_inset
9717 </cell>
9718 <cell alignment="center" valignment="top" topline="true" usebox="none">
9719 \begin_inset Text
9720
9721 \begin_layout Standard
9722 Maurizio
9723 \end_layout
9724
9725 \end_inset
9726 </cell>
9727 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9728 \begin_inset Text
9729
9730 \begin_layout Standard
9731 111
9732 \end_layout
9733
9734 \end_inset
9735 </cell>
9736 </row>
9737 <row bottomline="true">
9738 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9739 \begin_inset Text
9740
9741 \begin_layout Standard
9742
9743 \series bold
9744 Winkler
9745 \end_layout
9746
9747 \end_inset
9748 </cell>
9749 <cell alignment="center" valignment="top" topline="true" usebox="none">
9750 \begin_inset Text
9751
9752 \begin_layout Standard
9753 Franz
9754 \end_layout
9755
9756 \end_inset
9757 </cell>
9758 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9759 \begin_inset Text
9760
9761 \begin_layout Standard
9762 111
9763 \end_layout
9764
9765 \end_inset
9766 </cell>
9767 </row>
9768 <row endlastfoot="true">
9769 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
9770 \begin_inset Text
9771
9772 \begin_layout Standard
9773
9774 \end_layout
9775
9776 \end_inset
9777 </cell>
9778 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9779 \begin_inset Text
9780
9781 \begin_layout Standard
9782
9783 \end_layout
9784
9785 \end_inset
9786 </cell>
9787 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9788 \begin_inset Text
9789
9790 \begin_layout Standard
9791
9792 \end_layout
9793
9794 \end_inset
9795 </cell>
9796 </row>
9797 </lyxtabular>
9798
9799 \end_inset
9800
9801
9802 \end_layout
9803
9804 \begin_layout Section
9805 Multiple Lines Columns and Rows
9806 \end_layout
9807
9808 \begin_layout Subsection
9809 Multiple Lines in Table Cells
9810 \begin_inset LatexCommand label
9811 name "sub:Multiple-Lines-in"
9812
9813 \end_inset
9814
9815
9816 \begin_inset LatexCommand index
9817 name "Multiple Lines in Table Cells"
9818
9819 \end_inset
9820
9821
9822 \begin_inset LatexCommand index
9823 name "Table ! Linebreaks"
9824
9825 \end_inset
9826
9827
9828 \end_layout
9829
9830 \begin_layout Standard
9831 \align center
9832 \begin_inset Float table
9833 placement H
9834 wide false
9835 sideways false
9836 status open
9837
9838 \begin_layout Standard
9839 \begin_inset Caption
9840
9841 \begin_layout Standard
9842 \begin_inset LatexCommand label
9843 name "tab:Table-with-multiple"
9844
9845 \end_inset
9846
9847 Table with multiple lines in cells
9848 \end_layout
9849
9850 \end_inset
9851
9852
9853 \end_layout
9854
9855 \begin_layout Standard
9856 \align center
9857 \begin_inset Tabular
9858 <lyxtabular version="3" rows="3" columns="3">
9859 <features>
9860 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
9861 <column alignment="center" valignment="middle" leftline="true" width="0.5cm">
9862 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0.5cm">
9863 <row topline="true">
9864 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9865 \begin_inset Text
9866
9867 \begin_layout Standard
9868 multiple
9869 \begin_inset ERT
9870 status collapsed
9871
9872 \begin_layout Standard
9873
9874
9875 \backslash
9876 linebreak 
9877 \end_layout
9878
9879 \end_inset
9880
9881  lines
9882 \end_layout
9883
9884 \end_inset
9885 </cell>
9886 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9887 \begin_inset Text
9888
9889 \begin_layout Standard
9890 b
9891 \end_layout
9892
9893 \end_inset
9894 </cell>
9895 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9896 \begin_inset Text
9897
9898 \begin_layout Standard
9899 c
9900 \end_layout
9901
9902 \end_inset
9903 </cell>
9904 </row>
9905 <row topline="true">
9906 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9907 \begin_inset Text
9908
9909 \begin_layout Standard
9910 d
9911 \end_layout
9912
9913 \end_inset
9914 </cell>
9915 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9916 \begin_inset Text
9917
9918 \begin_layout Standard
9919 e
9920 \end_layout
9921
9922 \end_inset
9923 </cell>
9924 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9925 \begin_inset Text
9926
9927 \begin_layout Standard
9928 f
9929 \end_layout
9930
9931 \end_inset
9932 </cell>
9933 </row>
9934 <row topline="true" bottomline="true">
9935 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9936 \begin_inset Text
9937
9938 \begin_layout Standard
9939 g
9940 \end_layout
9941
9942 \end_inset
9943 </cell>
9944 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9945 \begin_inset Text
9946
9947 \begin_layout Standard
9948 h
9949 \end_layout
9950
9951 \end_inset
9952 </cell>
9953 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9954 \begin_inset Text
9955
9956 \begin_layout Standard
9957 i
9958 \end_layout
9959
9960 \end_inset
9961 </cell>
9962 </row>
9963 </lyxtabular>
9964
9965 \end_inset
9966
9967
9968 \end_layout
9969
9970 \end_inset
9971
9972
9973 \end_layout
9974
9975 \begin_layout Standard
9976 Adjusting a fixed width for a column, enables to enter text as a paragraph
9977  with multiple lines and hyphenations.
9978 \end_layout
9979
9980 \begin_layout Standard
9981 To produce Table\InsetSpace ~
9982
9983 \begin_inset LatexCommand ref
9984 reference "tab:Table-with-multiple"
9985
9986 \end_inset
9987
9988 , create a 3×3 table, mark the first cell and right-click on it.
9989  In the appearing table dialog we set a cell width of 2.5\InsetSpace \thinspace{}
9990 cm and choose centered
9991  for the vertical and horizontal alignment.
9992  As our text is smaller than than 2.5\InsetSpace \thinspace{}
9993 cm, only one line will appear.
9994  To get two lines, we add a line break with the command
9995 \end_layout
9996
9997 \begin_layout Standard
9998
9999 \series bold
10000
10001 \backslash
10002 linebreak
10003 \end_layout
10004
10005 \begin_layout Standard
10006 in ERT.
10007  If the text is wider than the set cell width it will automatically be broken
10008  to several lines.
10009 \end_layout
10010
10011 \begin_layout Standard
10012 To center the text inside the two other cells of the first row vertically,
10013  right-click in the second cell, adjust a fixed width of 0.5\InsetSpace \thinspace{}
10014 cm and choose
10015  centered alignments.
10016  Then do the same for the third cell of the row.
10017 \end_layout
10018
10019 \begin_layout Standard
10020 If you have a long word in a cell with a fixed width, it cannot be hyphenated
10021  by LaTeX if it is the first entry.
10022  Therefore you need to insert something, to make the word not being the
10023  first entry: Add the command
10024 \end_layout
10025
10026 \begin_layout Standard
10027
10028 \series bold
10029
10030 \backslash
10031 hspace{0pt}
10032 \end_layout
10033
10034 \begin_layout Standard
10035 in ERT before the word.
10036  As the space is zero, it doesn't change the output.
10037  Table\InsetSpace ~
10038
10039 \begin_inset LatexCommand ref
10040 reference "tab:Table-with-and"
10041
10042 \end_inset
10043
10044  shows the effect.
10045 \end_layout
10046
10047 \begin_layout Standard
10048 \begin_inset Float table
10049 placement h
10050 wide false
10051 sideways false
10052 status open
10053
10054 \begin_layout Standard
10055 \begin_inset Caption
10056
10057 \begin_layout Standard
10058 \begin_inset LatexCommand label
10059 name "tab:Table-with-and"
10060
10061 \end_inset
10062
10063 Table with and without hyphenation
10064 \end_layout
10065
10066 \end_inset
10067
10068
10069 \end_layout
10070
10071 \begin_layout Standard
10072
10073 \hfill
10074
10075 \begin_inset Tabular
10076 <lyxtabular version="3" rows="3" columns="3">
10077 <features>
10078 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
10079 <column alignment="center" valignment="middle" leftline="true" width="0.5cm">
10080 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0.5cm">
10081 <row topline="true">
10082 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10083 \begin_inset Text
10084
10085 \begin_layout Standard
10086 verylongtablecellword
10087 \end_layout
10088
10089 \end_inset
10090 </cell>
10091 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10092 \begin_inset Text
10093
10094 \begin_layout Standard
10095 b
10096 \end_layout
10097
10098 \end_inset
10099 </cell>
10100 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10101 \begin_inset Text
10102
10103 \begin_layout Standard
10104 c
10105 \end_layout
10106
10107 \end_inset
10108 </cell>
10109 </row>
10110 <row topline="true">
10111 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10112 \begin_inset Text
10113
10114 \begin_layout Standard
10115 d
10116 \end_layout
10117
10118 \end_inset
10119 </cell>
10120 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10121 \begin_inset Text
10122
10123 \begin_layout Standard
10124 e
10125 \end_layout
10126
10127 \end_inset
10128 </cell>
10129 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10130 \begin_inset Text
10131
10132 \begin_layout Standard
10133 f
10134 \end_layout
10135
10136 \end_inset
10137 </cell>
10138 </row>
10139 <row topline="true" bottomline="true">
10140 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10141 \begin_inset Text
10142
10143 \begin_layout Standard
10144 g
10145 \end_layout
10146
10147 \end_inset
10148 </cell>
10149 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10150 \begin_inset Text
10151
10152 \begin_layout Standard
10153 h
10154 \end_layout
10155
10156 \end_inset
10157 </cell>
10158 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10159 \begin_inset Text
10160
10161 \begin_layout Standard
10162 i
10163 \end_layout
10164
10165 \end_inset
10166 </cell>
10167 </row>
10168 </lyxtabular>
10169
10170 \end_inset
10171
10172
10173 \hfill
10174
10175 \begin_inset Tabular
10176 <lyxtabular version="3" rows="3" columns="3">
10177 <features>
10178 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
10179 <column alignment="center" valignment="middle" leftline="true" width="0.5cm">
10180 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0.5cm">
10181 <row topline="true">
10182 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10183 \begin_inset Text
10184
10185 \begin_layout Standard
10186 \begin_inset ERT
10187 status collapsed
10188
10189 \begin_layout Standard
10190
10191
10192 \backslash
10193 hspace{0pt}
10194 \end_layout
10195
10196 \end_inset
10197
10198 verylongtablecellword
10199 \end_layout
10200
10201 \end_inset
10202 </cell>
10203 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10204 \begin_inset Text
10205
10206 \begin_layout Standard
10207 b
10208 \end_layout
10209
10210 \end_inset
10211 </cell>
10212 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10213 \begin_inset Text
10214
10215 \begin_layout Standard
10216 c
10217 \end_layout
10218
10219 \end_inset
10220 </cell>
10221 </row>
10222 <row topline="true">
10223 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10224 \begin_inset Text
10225
10226 \begin_layout Standard
10227 d
10228 \end_layout
10229
10230 \end_inset
10231 </cell>
10232 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10233 \begin_inset Text
10234
10235 \begin_layout Standard
10236 e
10237 \end_layout
10238
10239 \end_inset
10240 </cell>
10241 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10242 \begin_inset Text
10243
10244 \begin_layout Standard
10245 f
10246 \end_layout
10247
10248 \end_inset
10249 </cell>
10250 </row>
10251 <row topline="true" bottomline="true">
10252 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10253 \begin_inset Text
10254
10255 \begin_layout Standard
10256 g
10257 \end_layout
10258
10259 \end_inset
10260 </cell>
10261 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10262 \begin_inset Text
10263
10264 \begin_layout Standard
10265 h
10266 \end_layout
10267
10268 \end_inset
10269 </cell>
10270 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10271 \begin_inset Text
10272
10273 \begin_layout Standard
10274 i
10275 \end_layout
10276
10277 \end_inset
10278 </cell>
10279 </row>
10280 </lyxtabular>
10281
10282 \end_inset
10283
10284
10285 \hfill
10286
10287 \end_layout
10288
10289 \end_inset
10290
10291
10292 \end_layout
10293
10294 \begin_layout Standard
10295
10296 \newpage
10297
10298 \end_layout
10299
10300 \begin_layout Subsection
10301 Multicolumns
10302 \begin_inset LatexCommand label
10303 name "sub:Multicolumns"
10304
10305 \end_inset
10306
10307
10308 \begin_inset LatexCommand index
10309 name "Multicolumns"
10310
10311 \end_inset
10312
10313
10314 \begin_inset LatexCommand index
10315 name "Table ! Multicolumns"
10316
10317 \end_inset
10318
10319
10320 \end_layout
10321
10322 \begin_layout Subsubsection
10323 Multicolumn Basics
10324 \end_layout
10325
10326 \begin_layout Standard
10327 To span a cell over multiple columns, mark as much cells within a line that
10328  should be one spanned cell and use either the table-toolbar button 
10329 \begin_inset Graphics
10330         filename ../images/tabular-feature_multicolumn.xpm
10331         scale 85
10332
10333 \end_inset
10334
10335 , or the menu 
10336 \family sans
10337 Edit\SpecialChar \menuseparator
10338 Table\SpecialChar \menuseparator
10339 Multicolumn
10340 \family default
10341 , or right click on the marked cells and choose multicolumn in the appearing
10342  table dialog under the tab 
10343 \family sans
10344 Table Settings
10345 \family default
10346 .
10347 \end_layout
10348
10349 \begin_layout Standard
10350 Multicolumns have there own cell settings.
10351  That means changing cell borders, cell alignment, and the width only affects
10352  the multicolumn.
10353  Here is an example table with a multicolumn cell in the first row and one
10354  in the last row without the upper border:
10355 \end_layout
10356
10357 \begin_layout Standard
10358 \align center
10359 \begin_inset Tabular
10360 <lyxtabular version="3" rows="3" columns="4">
10361 <features firstHeadTopDL="true" firstHeadBottomDL="true">
10362 <column alignment="center" valignment="top" leftline="true" width="0pt">
10363 <column alignment="center" valignment="middle" leftline="true" width="0">
10364 <column alignment="center" valignment="top" leftline="true" width="0in">
10365 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
10366 <row topline="true" bottomline="true">
10367 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10368 \begin_inset Text
10369
10370 \begin_layout Standard
10371 abc
10372 \end_layout
10373
10374 \end_inset
10375 </cell>
10376 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
10377 \begin_inset Text
10378
10379 \begin_layout Standard
10380 def
10381 \lang ngerman
10382  
10383 \lang english
10384 ghi
10385 \end_layout
10386
10387 \end_inset
10388 </cell>
10389 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10390 \begin_inset Text
10391
10392 \begin_layout Standard
10393
10394 \end_layout
10395
10396 \end_inset
10397 </cell>
10398 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10399 \begin_inset Text
10400
10401 \begin_layout Standard
10402 jkl
10403 \end_layout
10404
10405 \end_inset
10406 </cell>
10407 </row>
10408 <row topline="true">
10409 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10410 \begin_inset Text
10411
10412 \begin_layout Standard
10413
10414 \family roman
10415 \series medium
10416 \shape up
10417 \size normal
10418 \emph off
10419 \bar no
10420 \noun off
10421 \color none
10422 A
10423 \end_layout
10424
10425 \end_inset
10426 </cell>
10427 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10428 \begin_inset Text
10429
10430 \begin_layout Standard
10431 B
10432 \end_layout
10433
10434 \end_inset
10435 </cell>
10436 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10437 \begin_inset Text
10438
10439 \begin_layout Standard
10440 C
10441 \end_layout
10442
10443 \end_inset
10444 </cell>
10445 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10446 \begin_inset Text
10447
10448 \begin_layout Standard
10449 D
10450 \end_layout
10451
10452 \end_inset
10453 </cell>
10454 </row>
10455 <row topline="true" bottomline="true">
10456 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10457 \begin_inset Text
10458
10459 \begin_layout Standard
10460 1
10461 \end_layout
10462
10463 \end_inset
10464 </cell>
10465 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10466 \begin_inset Text
10467
10468 \begin_layout Standard
10469 2
10470 \end_layout
10471
10472 \end_inset
10473 </cell>
10474 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10475 \begin_inset Text
10476
10477 \begin_layout Standard
10478 3
10479 \end_layout
10480
10481 \end_inset
10482 </cell>
10483 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10484 \begin_inset Text
10485
10486 \begin_layout Standard
10487 4
10488 \end_layout
10489
10490 \end_inset
10491 </cell>
10492 </row>
10493 </lyxtabular>
10494
10495 \end_inset
10496
10497
10498 \end_layout
10499
10500 \begin_layout Subsubsection
10501 Multicolumn Calculations
10502 \begin_inset LatexCommand label
10503 name "sub:Multicolumn-Calculations"
10504
10505 \end_inset
10506
10507
10508 \begin_inset LatexCommand index
10509 name "Multicolumns ! Calculations"
10510
10511 \end_inset
10512
10513
10514 \end_layout
10515
10516 \begin_layout Standard
10517 LyX supports multicolumns directly, but we have to take notice of the cell
10518  width of the columns spanned by the multicolumn cell.
10519 \end_layout
10520
10521 \begin_layout Standard
10522 \begin_inset Float table
10523 wide false
10524 sideways false
10525 status open
10526
10527 \begin_layout Standard
10528 \begin_inset Caption
10529
10530 \begin_layout Standard
10531 \begin_inset LatexCommand label
10532 name "tab:Table-with-centered"
10533
10534 \end_inset
10535
10536 Table with centered multicolumn text above two columns that have exactly
10537  half the width of the multicolumn cell
10538 \begin_inset OptArg
10539 status collapsed
10540
10541 \begin_layout Standard
10542 Perfect multicolumn table
10543 \end_layout
10544
10545 \end_inset
10546
10547
10548 \end_layout
10549
10550 \end_inset
10551
10552
10553 \end_layout
10554
10555 \begin_layout Standard
10556 \align center
10557 \begin_inset Tabular
10558 <lyxtabular version="3" rows="3" columns="3">
10559 <features>
10560 <column alignment="center" valignment="middle" leftline="true" width="0" special=">{\centering}m{1.25cm-6.2pt}">
10561 <column alignment="center" valignment="middle" leftline="true" width="0">
10562 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
10563 <row topline="true">
10564 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" special=">{\centering}m{2.5cm}">
10565 \begin_inset Text
10566
10567 \begin_layout Standard
10568 multiple lines multicolumn
10569 \end_layout
10570
10571 \end_inset
10572 </cell>
10573 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10574 \begin_inset Text
10575
10576 \begin_layout Standard
10577
10578 \end_layout
10579
10580 \end_inset
10581 </cell>
10582 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10583 \begin_inset Text
10584
10585 \begin_layout Standard
10586 c
10587 \end_layout
10588
10589 \end_inset
10590 </cell>
10591 </row>
10592 <row topline="true">
10593 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10594 \begin_inset Text
10595
10596 \begin_layout Standard
10597 d
10598 \end_layout
10599
10600 \end_inset
10601 </cell>
10602 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10603 \begin_inset Text
10604
10605 \begin_layout Standard
10606 e
10607 \end_layout
10608
10609 \end_inset
10610 </cell>
10611 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10612 \begin_inset Text
10613
10614 \begin_layout Standard
10615 f
10616 \end_layout
10617
10618 \end_inset
10619 </cell>
10620 </row>
10621 <row topline="true" bottomline="true">
10622 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10623 \begin_inset Text
10624
10625 \begin_layout Standard
10626 g
10627 \end_layout
10628
10629 \end_inset
10630 </cell>
10631 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10632 \begin_inset Text
10633
10634 \begin_layout Standard
10635 h
10636 \end_layout
10637
10638 \end_inset
10639 </cell>
10640 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10641 \begin_inset Text
10642
10643 \begin_layout Standard
10644 i
10645 \end_layout
10646
10647 \end_inset
10648 </cell>
10649 </row>
10650 </lyxtabular>
10651
10652 \end_inset
10653
10654
10655 \end_layout
10656
10657 \end_inset
10658
10659
10660 \end_layout
10661
10662 \begin_layout Standard
10663 To create for example Table\InsetSpace ~
10664
10665 \begin_inset LatexCommand ref
10666 reference "tab:Table-with-centered"
10667
10668 \end_inset
10669
10670 , mark the first two cells in the first row of a 3×3 table and right-click
10671  on them.
10672  Now choose for this cell 
10673 \emph on
10674 multicolumn
10675 \emph default
10676
10677 \emph on
10678 centered alignment
10679 \emph default
10680  and a width of 2.5\InsetSpace \thinspace{}
10681 cm in the table dialog.
10682  The spanned columns should have exactly half the width of the multicolumn
10683  cell, so that you would adjust a width of 1.25\InsetSpace \thinspace{}
10684 cm for the first column.
10685  The second column has then automatically a width of 1.25\InsetSpace \thinspace{}
10686 cm (multicolumn
10687  width - width of first column).
10688  This was done for Table\InsetSpace ~
10689
10690 \begin_inset LatexCommand ref
10691 reference "tab:Table-without-half"
10692
10693 \end_inset
10694
10695 .
10696 \end_layout
10697
10698 \begin_layout Standard
10699 \begin_inset Float table
10700 wide false
10701 sideways false
10702 status open
10703
10704 \begin_layout Standard
10705 \begin_inset Caption
10706
10707 \begin_layout Standard
10708 \begin_inset LatexCommand label
10709 name "tab:Table-without-half"
10710
10711 \end_inset
10712
10713 Table where the spanned table columns have not exactly half the width of
10714  the multicolumn cell
10715 \begin_inset OptArg
10716 status collapsed
10717
10718 \begin_layout Standard
10719 Imperfect multicolumn table
10720 \end_layout
10721
10722 \end_inset
10723
10724
10725 \end_layout
10726
10727 \end_inset
10728
10729
10730 \end_layout
10731
10732 \begin_layout Standard
10733 \align center
10734 \begin_inset Tabular
10735 <lyxtabular version="3" rows="3" columns="3">
10736 <features>
10737 <column alignment="center" valignment="top" leftline="true" width="1.25cm">
10738 <column alignment="center" valignment="top" leftline="true" width="0">
10739 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
10740 <row topline="true" bottomline="true">
10741 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
10742 \begin_inset Text
10743
10744 \begin_layout Standard
10745 multiple lines multicolumn
10746 \end_layout
10747
10748 \end_inset
10749 </cell>
10750 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10751 \begin_inset Text
10752
10753 \begin_layout Standard
10754
10755 \end_layout
10756
10757 \end_inset
10758 </cell>
10759 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10760 \begin_inset Text
10761
10762 \begin_layout Standard
10763 c
10764 \end_layout
10765
10766 \end_inset
10767 </cell>
10768 </row>
10769 <row topline="true">
10770 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10771 \begin_inset Text
10772
10773 \begin_layout Standard
10774 d
10775 \end_layout
10776
10777 \end_inset
10778 </cell>
10779 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10780 \begin_inset Text
10781
10782 \begin_layout Standard
10783 e
10784 \end_layout
10785
10786 \end_inset
10787 </cell>
10788 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10789 \begin_inset Text
10790
10791 \begin_layout Standard
10792 f
10793 \end_layout
10794
10795 \end_inset
10796 </cell>
10797 </row>
10798 <row topline="true" bottomline="true">
10799 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10800 \begin_inset Text
10801
10802 \begin_layout Standard
10803 g
10804 \end_layout
10805
10806 \end_inset
10807 </cell>
10808 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10809 \begin_inset Text
10810
10811 \begin_layout Standard
10812 h
10813 \end_layout
10814
10815 \end_inset
10816 </cell>
10817 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10818 \begin_inset Text
10819
10820 \begin_layout Standard
10821 i
10822 \end_layout
10823
10824 \end_inset
10825 </cell>
10826 </row>
10827 </lyxtabular>
10828
10829 \end_inset
10830
10831
10832 \end_layout
10833
10834 \end_inset
10835
10836
10837 \end_layout
10838
10839 \begin_layout Standard
10840 You can see that the first column has not the half width of the multicolumn
10841  cell, it is a bit bigger.
10842  The reason is that the given width of a cell 
10843 \begin_inset Formula $W_{g}$
10844 \end_inset
10845
10846  is not its total width 
10847 \begin_inset Formula $W_{\mathrm{tot}}$
10848 \end_inset
10849
10850  because a cell is always a bit larger than its given width.
10851  Appendix\InsetSpace ~
10852
10853 \begin_inset LatexCommand eqref
10854 reference "cha:Explanation-of-Equation"
10855
10856 \end_inset
10857
10858  explains it in detail.
10859 \end_layout
10860
10861 \begin_layout Standard
10862 The needed given width 
10863 \begin_inset Formula $W_{g\, n}$
10864 \end_inset
10865
10866  when 
10867 \emph on
10868 n
10869 \emph default
10870  columns are spanned can be calculated, so that each column has a total
10871  width of 
10872 \begin_inset Formula $W_{\mathrm{tot\, multicolumn}}/n$
10873 \end_inset
10874
10875 :
10876 \begin_inset Formula \begin{equation}
10877 W_{g\, n}=(W_{g\,\mathrm{multicolumn}}+(1-n)·(12.4\,\mathrm{pt}))/n\label{eq:Wgn}\end{equation}
10878
10879 \end_inset
10880
10881
10882 \end_layout
10883
10884 \begin_layout Standard
10885 In our case we have 
10886 \begin_inset Formula $n=2$
10887 \end_inset
10888
10889
10890 \begin_inset Formula $W_{g\,\mathrm{multicolumn}}=2.5\,$
10891 \end_inset
10892
10893 cm and the default values for the lengths, so that equation 
10894 \begin_inset LatexCommand ref
10895 reference "eq:Wgn"
10896
10897 \end_inset
10898
10899  becomes
10900 \begin_inset Formula \begin{equation}
10901 W_{g\,2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}\end{equation}
10902
10903 \end_inset
10904
10905
10906 \end_layout
10907
10908 \begin_layout Standard
10909 To enable calculations in LaTeX, the LaTeX-package 
10910 \series bold
10911 calc
10912 \series default
10913  must be loaded with the document preamble line
10914 \begin_inset LatexCommand index
10915 name "LaTeX-packages ! calc"
10916
10917 \end_inset
10918
10919
10920 \end_layout
10921
10922 \begin_layout Standard
10923
10924 \series bold
10925
10926 \backslash
10927 usepackage{calc}
10928 \end_layout
10929
10930 \begin_layout Standard
10931 LyX does not allow to calculate lengths in the width-field of the table
10932  dialog.
10933  Therefore you have to format the column by inserting a LaTeX-argument in
10934  the dialog.
10935  Here is an overview about the arguments:
10936 \end_layout
10937
10938 \begin_layout Itemize
10939
10940 \series bold
10941 p{width}
10942 \series default
10943  creates cell with a fixed width, its text is vertically top-aligned
10944 \end_layout
10945
10946 \begin_layout Itemize
10947
10948 \series bold
10949 m{width}
10950 \series default
10951  creates cell with a fixed width, its text is vertically centered
10952 \end_layout
10953
10954 \begin_layout Itemize
10955
10956 \series bold
10957 b{width}
10958 \series default
10959  creates cell with a fixed width, its text is vertically bottom-aligned
10960 \end_layout
10961
10962 \begin_layout Standard
10963 By entering a LaTeX-argument, all cell properties set in the table dialog
10964  are overwritten.
10965  
10966 \begin_inset Note Greyedout
10967 status open
10968
10969 \begin_layout Standard
10970
10971 \series bold
10972 Note:
10973 \series default
10974  Due to a bug, LyX shows the overwritten properties anyway.
10975 \end_layout
10976
10977 \end_inset
10978
10979  As the text should be horizontally centered, the command 
10980 \series bold
10981
10982 \backslash
10983 centering
10984 \series default
10985  is added.
10986  You can now enter the following LaTeX-argument for the first spanned column:
10987 \end_layout
10988
10989 \begin_layout Standard
10990
10991 \series bold
10992 >{
10993 \backslash
10994 centering}m{1.25cm-6.2pt}
10995 \end_layout
10996
10997 \begin_layout Standard
10998 The command 
10999 \series bold
11000 >{ }
11001 \series default
11002  means, that the commands inside the braces are applied before the cell
11003  is created.
11004 \end_layout
11005
11006 \begin_layout Standard
11007 Although we have chosen centered alignment for the text of the multicolumn
11008  cell, it is still left aligned.
11009  This is because LyX only applies the alignment to single columns.
11010  So we have to use for the multicolumn the LaTeX-argument
11011 \end_layout
11012
11013 \begin_layout Standard
11014
11015 \series bold
11016 >{
11017 \backslash
11018 centering}m{2.5cm}
11019 \end_layout
11020
11021 \begin_layout Subsection
11022 Multirows
11023 \begin_inset LatexCommand index
11024 name "Multirows"
11025
11026 \end_inset
11027
11028
11029 \begin_inset LatexCommand index
11030 name "Table ! Multirows"
11031
11032 \end_inset
11033
11034
11035 \begin_inset LatexCommand index
11036 name "LaTeX-packages ! multirow"
11037
11038 \end_inset
11039
11040
11041 \end_layout
11042
11043 \begin_layout Standard
11044 In contrary to multicolumns multirows are not yet supported by LyX so a
11045  bit of ERT needs to be used.
11046  To use multirows load the LaTeX-package 
11047 \series bold
11048 multirow
11049 \series default
11050  in your document preamble with the command
11051 \end_layout
11052
11053 \begin_layout Standard
11054
11055 \series bold
11056
11057 \backslash
11058 usepackage{multirow}
11059 \end_layout
11060
11061 \begin_layout Standard
11062 Multirows are created with the command
11063 \end_layout
11064
11065 \begin_layout Standard
11066
11067 \series bold
11068
11069 \backslash
11070 multirow{number of rows}{cell width}{cell entry}
11071 \end_layout
11072
11073 \begin_layout Standard
11074 To create the following table:
11075 \end_layout
11076
11077 \begin_layout Standard
11078 \align center
11079 \begin_inset ERT
11080 status collapsed
11081
11082 \begin_layout Standard
11083
11084
11085 \backslash
11086 renewcommand{
11087 \backslash
11088 multirowsetup}{
11089 \backslash
11090 centering}
11091 \end_layout
11092
11093 \end_inset
11094
11095
11096 \begin_inset Tabular
11097 <lyxtabular version="3" rows="3" columns="3">
11098 <features>
11099 <column alignment="center" valignment="top" leftline="true" width="0">
11100 <column alignment="center" valignment="top" leftline="true" width="0">
11101 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
11102 <row topline="true">
11103 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11104 \begin_inset Text
11105
11106 \begin_layout Standard
11107 a
11108 \end_layout
11109
11110 \end_inset
11111 </cell>
11112 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11113 \begin_inset Text
11114
11115 \begin_layout Standard
11116 b
11117 \end_layout
11118
11119 \end_inset
11120 </cell>
11121 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11122 \begin_inset Text
11123
11124 \begin_layout Standard
11125 c
11126 \end_layout
11127
11128 \end_inset
11129 </cell>
11130 </row>
11131 <row topline="true">
11132 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11133 \begin_inset Text
11134
11135 \begin_layout Standard
11136 \begin_inset ERT
11137 status collapsed
11138
11139 \begin_layout Standard
11140
11141
11142 \backslash
11143 multirow{2}{2.5cm}{
11144 \end_layout
11145
11146 \end_inset
11147
11148 multirow entry
11149 \begin_inset ERT
11150 status collapsed
11151
11152 \begin_layout Standard
11153
11154 }
11155 \end_layout
11156
11157 \end_inset
11158
11159
11160 \end_layout
11161
11162 \end_inset
11163 </cell>
11164 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11165 \begin_inset Text
11166
11167 \begin_layout Standard
11168 e
11169 \end_layout
11170
11171 \end_inset
11172 </cell>
11173 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11174 \begin_inset Text
11175
11176 \begin_layout Standard
11177 f
11178 \end_layout
11179
11180 \end_inset
11181 </cell>
11182 </row>
11183 <row topline="true" bottomline="true">
11184 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11185 \begin_inset Text
11186
11187 \begin_layout Standard
11188
11189 \end_layout
11190
11191 \end_inset
11192 </cell>
11193 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11194 \begin_inset Text
11195
11196 \begin_layout Standard
11197 h
11198 \end_layout
11199
11200 \end_inset
11201 </cell>
11202 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11203 \begin_inset Text
11204
11205 \begin_layout Standard
11206 i
11207 \end_layout
11208
11209 \end_inset
11210 </cell>
11211 </row>
11212 </lyxtabular>
11213
11214 \end_inset
11215
11216
11217 \begin_inset ERT
11218 status collapsed
11219
11220 \begin_layout Standard
11221
11222
11223 \backslash
11224 renewcommand{
11225 \backslash
11226 multirowsetup}{
11227 \backslash
11228 raggedright}
11229 \end_layout
11230
11231 \end_inset
11232
11233
11234 \end_layout
11235
11236 \begin_layout Standard
11237 create a 3×3 table.
11238  To get rid of the line above the last cell in the first column, the cell
11239  is marked as multicolumn and the upper border is unset.
11240  The multirow is now created in the second row of the first column by inserting
11241  there the command
11242 \end_layout
11243
11244 \begin_layout Standard
11245
11246 \series bold
11247
11248 \backslash
11249 multirow{2}{2.5cm}{
11250 \end_layout
11251
11252 \begin_layout Standard
11253 as ERT.
11254  According to the command parameters the multirow spans now two rows and
11255  has a width of 2.5\InsetSpace \thinspace{}
11256 cm.
11257  The content of the multirow cell follows outside the ERT box and the command
11258  is finished with a right brace 
11259 \series bold
11260 }
11261 \series default
11262  in another ERT-box behind the text.
11263 \end_layout
11264
11265 \begin_layout Standard
11266
11267 \series bold
11268
11269 \backslash
11270 multirow
11271 \series default
11272  left-aligns its content by default.
11273  To override the default, renew the command 
11274 \series bold
11275
11276 \backslash
11277 multirowsetup
11278 \series default
11279  with the command
11280 \end_layout
11281
11282 \begin_layout Standard
11283
11284 \series bold
11285
11286 \backslash
11287 renewcommand{
11288 \backslash
11289 multirowsetup}{
11290 \backslash
11291 centering}
11292 \end_layout
11293
11294 \begin_layout Standard
11295 in ERT in the document preamble.
11296  Then all entries of multirow cells in the document are centered.
11297  If centering is only needed for several tables, you can renew the command
11298  in an ERT box just before the table instead of the preamble.
11299  If the text should be right-aligned, replace 
11300 \series bold
11301
11302 \backslash
11303 centering
11304 \series default
11305  by 
11306 \series bold
11307
11308 \backslash
11309 raggedleft
11310 \series default
11311 .
11312  To return to left-alignment 
11313 \series bold
11314
11315 \backslash
11316 raggedright
11317 \series default
11318  is used.
11319 \end_layout
11320
11321 \begin_layout Section
11322 Formal Tables
11323 \begin_inset LatexCommand label
11324 name "sec:Formal-Tables"
11325
11326 \end_inset
11327
11328
11329 \begin_inset LatexCommand index
11330 name "Table ! Formal"
11331
11332 \end_inset
11333
11334
11335 \end_layout
11336
11337 \begin_layout Standard
11338 Tables are often typeset in books similar to Table\InsetSpace ~
11339
11340 \begin_inset LatexCommand ref
11341 reference "tab:Example-booktabs-table"
11342
11343 \end_inset
11344
11345 .
11346  This kind of tables is called 
11347 \begin_inset Quotes eld
11348 \end_inset
11349
11350
11351 \emph on
11352 formal
11353 \emph default
11354
11355 \begin_inset Quotes erd
11356 \end_inset
11357
11358 .
11359  To make a table a formal table use the option 
11360 \family sans
11361 Formal
11362 \family default
11363  in the 
11364 \family sans
11365 Borders
11366 \family default
11367  tab of the table dialog.
11368 \end_layout
11369
11370 \begin_layout Standard
11371 \begin_inset Float table
11372 placement h
11373 wide false
11374 sideways false
11375 status open
11376
11377 \begin_layout Standard
11378 \begin_inset Caption
11379
11380 \begin_layout Standard
11381 \begin_inset LatexCommand label
11382 name "tab:Example-booktabs-table"
11383
11384 \end_inset
11385
11386 Example booktabs-table
11387 \end_layout
11388
11389 \end_inset
11390
11391
11392 \end_layout
11393
11394 \begin_layout Standard
11395 \align center
11396 \begin_inset Tabular
11397 <lyxtabular version="3" rows="8" columns="4">
11398 <features booktabs="true">
11399 <column alignment="center" valignment="top" rightline="true" width="0">
11400 <column alignment="center" valignment="top" width="0">
11401 <column alignment="center" valignment="top" width="0">
11402 <column alignment="center" valignment="top" width="0">
11403 <row topline="true">
11404 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11405 \begin_inset Text
11406
11407 \begin_layout Standard
11408 System
11409 \end_layout
11410
11411 \end_inset
11412 </cell>
11413 <cell alignment="center" valignment="top" topline="true" usebox="none">
11414 \begin_inset Text
11415
11416 \begin_layout Standard
11417 Medipix
11418 \begin_inset Formula $\,$
11419 \end_inset
11420
11421 1
11422 \end_layout
11423
11424 \end_inset
11425 </cell>
11426 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" usebox="none">
11427 \begin_inset Text
11428
11429 \begin_layout Standard
11430 Medipix
11431 \begin_inset Formula $\,$
11432 \end_inset
11433
11434 2
11435 \end_layout
11436
11437 \end_inset
11438 </cell>
11439 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11440 \begin_inset Text
11441
11442 \begin_layout Standard
11443
11444 \end_layout
11445
11446 \end_inset
11447 </cell>
11448 </row>
11449 <row>
11450 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11451 \begin_inset Text
11452
11453 \begin_layout Standard
11454 \begin_inset ERT
11455 status collapsed
11456
11457 \begin_layout Standard
11458
11459
11460 \backslash
11461 cmidrule(r){2-2}
11462 \end_layout
11463
11464 \end_inset
11465
11466
11467 \begin_inset ERT
11468 status collapsed
11469
11470 \begin_layout Standard
11471
11472
11473 \backslash
11474 cmidrule(l){3-4}
11475 \end_layout
11476
11477 \end_inset
11478
11479 Detector thickness [µm]
11480 \end_layout
11481
11482 \end_inset
11483 </cell>
11484 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11485 \begin_inset Text
11486
11487 \begin_layout Standard
11488 300
11489 \end_layout
11490
11491 \end_inset
11492 </cell>
11493 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11494 \begin_inset Text
11495
11496 \begin_layout Standard
11497 300
11498 \end_layout
11499
11500 \end_inset
11501 </cell>
11502 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11503 \begin_inset Text
11504
11505 \begin_layout Standard
11506 700
11507 \end_layout
11508
11509 \end_inset
11510 </cell>
11511 </row>
11512 <row topline="true">
11513 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11514 \begin_inset Text
11515
11516 \begin_layout Standard
11517 Edge angle [°]
11518 \end_layout
11519
11520 \end_inset
11521 </cell>
11522 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11523 \begin_inset Text
11524
11525 \begin_layout Standard
11526 3.55
11527 \end_layout
11528
11529 \end_inset
11530 </cell>
11531 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11532 \begin_inset Text
11533
11534 \begin_layout Standard
11535 2.71
11536 \end_layout
11537
11538 \end_inset
11539 </cell>
11540 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11541 \begin_inset Text
11542
11543 \begin_layout Standard
11544 7.99
11545 \end_layout
11546
11547 \end_inset
11548 </cell>
11549 </row>
11550 <row topspace="default">
11551 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11552 \begin_inset Text
11553
11554 \begin_layout Standard
11555 Spatial resolution [µm]
11556 \end_layout
11557
11558 \end_inset
11559 </cell>
11560 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11561 \begin_inset Text
11562
11563 \begin_layout Standard
11564 4.26
11565 \end_layout
11566
11567 \end_inset
11568 </cell>
11569 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11570 \begin_inset Text
11571
11572 \begin_layout Standard
11573 10.17
11574 \end_layout
11575
11576 \end_inset
11577 </cell>
11578 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11579 \begin_inset Text
11580
11581 \begin_layout Standard
11582 10.56
11583 \end_layout
11584
11585 \end_inset
11586 </cell>
11587 </row>
11588 <row topspace="default">
11589 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11590 \begin_inset Text
11591
11592 \begin_layout Standard
11593 MTF at 
11594 \begin_inset Formula $f_{\mathrm{max}}$
11595 \end_inset
11596
11597
11598 \end_layout
11599
11600 \end_inset
11601 </cell>
11602 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11603 \begin_inset Text
11604
11605 \begin_layout Standard
11606 0.53
11607 \end_layout
11608
11609 \end_inset
11610 </cell>
11611 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11612 \begin_inset Text
11613
11614 \begin_layout Standard
11615 0.37
11616 \end_layout
11617
11618 \end_inset
11619 </cell>
11620 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11621 \begin_inset Text
11622
11623 \begin_layout Standard
11624 0.39
11625 \end_layout
11626
11627 \end_inset
11628 </cell>
11629 </row>
11630 <row topspace="default">
11631 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11632 \begin_inset Text
11633
11634 \begin_layout Standard
11635 \begin_inset ERT
11636 status collapsed
11637
11638 \begin_layout Standard
11639
11640
11641 \backslash
11642 cmidrule(l{10pt}){1-1}
11643 \end_layout
11644
11645 \end_inset
11646
11647 LSF-spatial resolution
11648 \end_layout
11649
11650 \end_inset
11651 </cell>
11652 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11653 \begin_inset Text
11654
11655 \begin_layout Standard
11656
11657 \end_layout
11658
11659 \end_inset
11660 </cell>
11661 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11662 \begin_inset Text
11663
11664 \begin_layout Standard
11665
11666 \end_layout
11667
11668 \end_inset
11669 </cell>
11670 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11671 \begin_inset Text
11672
11673 \begin_layout Standard
11674
11675 \end_layout
11676
11677 \end_inset
11678 </cell>
11679 </row>
11680 <row>
11681 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11682 \begin_inset Text
11683
11684 \begin_layout Standard
11685 in µm
11686 \end_layout
11687
11688 \end_inset
11689 </cell>
11690 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11691 \begin_inset Text
11692
11693 \begin_layout Standard
11694 129.7
11695 \end_layout
11696
11697 \end_inset
11698 </cell>
11699 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11700 \begin_inset Text
11701
11702 \begin_layout Standard
11703 52.75
11704 \end_layout
11705
11706 \end_inset
11707 </cell>
11708 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11709 \begin_inset Text
11710
11711 \begin_layout Standard
11712 50.78
11713 \end_layout
11714
11715 \end_inset
11716 </cell>
11717 </row>
11718 <row bottomline="true">
11719 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11720 \begin_inset Text
11721
11722 \begin_layout Standard
11723 in % of pixel size
11724 \end_layout
11725
11726 \end_inset
11727 </cell>
11728 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11729 \begin_inset Text
11730
11731 \begin_layout Standard
11732 76.3
11733 \end_layout
11734
11735 \end_inset
11736 </cell>
11737 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11738 \begin_inset Text
11739
11740 \begin_layout Standard
11741 95.9
11742 \end_layout
11743
11744 \end_inset
11745 </cell>
11746 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11747 \begin_inset Text
11748
11749 \begin_layout Standard
11750 92.3
11751 \end_layout
11752
11753 \end_inset
11754 </cell>
11755 </row>
11756 </lyxtabular>
11757
11758 \end_inset
11759
11760
11761 \end_layout
11762
11763 \end_inset
11764
11765
11766 \end_layout
11767
11768 \begin_layout Standard
11769 Spaces to table rows can be added using the 
11770 \family sans
11771 Borders
11772 \family default
11773  tab of the table dialog as described in section\InsetSpace ~
11774
11775 \begin_inset LatexCommand ref
11776 reference "sub:Row-Spacing"
11777
11778 \end_inset
11779
11780 .
11781 \end_layout
11782
11783 \begin_layout Standard
11784 In contrary to normal tables, formal tables have no vertical table lines.
11785  The horizontal table lines can be set like for normal tables but they appear
11786  with different width in the output:
11787 \newline
11788 The first and the last table line have
11789  a default width of 0.08\InsetSpace \thinspace{}
11790 em while the other lines have a default width of
11791  0.05\InsetSpace \thinspace{}
11792 em.
11793 \end_layout
11794
11795 \begin_layout Standard
11796 The default widths can be changed with the following preamble lines
11797 \end_layout
11798
11799 \begin_layout Standard
11800
11801 \series bold
11802
11803 \backslash
11804 let
11805 \backslash
11806 mytoprule
11807 \backslash
11808 toprule
11809 \newline
11810
11811 \backslash
11812 renewcommand{
11813 \backslash
11814 toprule}{
11815 \backslash
11816 mytoprule[width]}
11817 \end_layout
11818
11819 \begin_layout Standard
11820 This example is for the first line, the so called toprule.
11821  If you want to change the width for the last line, replace 
11822 \series bold
11823 toprule
11824 \series default
11825  by 
11826 \series bold
11827 bottomrule
11828 \series default
11829 .
11830  To change the width for the other lines replace 
11831 \series bold
11832 toprule
11833 \series default
11834  by 
11835 \series bold
11836 midrule
11837 \series default
11838 .
11839  You can use all units listed in appendix\InsetSpace ~
11840
11841 \begin_inset LatexCommand ref
11842 reference "cha:Units-available-in"
11843
11844 \end_inset
11845
11846  to set the width.
11847 \end_layout
11848
11849 \begin_layout Standard
11850 Lines that don't span over all table columns can be created by setting a
11851  table line for multicolumn cells.
11852  LyX will then internally use the command 
11853 \series bold
11854
11855 \backslash
11856 cmidrule
11857 \series default
11858  to create this line.
11859  Its full scheme is
11860 \end_layout
11861
11862 \begin_layout Standard
11863
11864 \series bold
11865
11866 \backslash
11867 cmidrule[width](trim){startcol-endcol}
11868 \end_layout
11869
11870 \begin_layout Standard
11871 The options of 
11872 \series bold
11873
11874 \backslash
11875 cmidrule
11876 \series default
11877  are are currently not supported by LyX so you have to use ERT to be able
11878  to use them.
11879  
11880 \series bold
11881
11882 \backslash
11883 cmidrule
11884 \series default
11885 s can manually be created by inserting the command as ERT as first cell
11886  entry of the first cell of a row.
11887  The line is then drawn in the output above the current row.
11888 \end_layout
11889
11890 \begin_layout Standard
11891 The default for the width is 0.03\InsetSpace \thinspace{}
11892 em.
11893  Startcol is the number of the column where the line starts and endcol the
11894  column number where the line ends.
11895  The endcol always needs to be specified, also when the line should span
11896  only one column.
11897  The optional parameter trim could be either 
11898 \emph on
11899 l{trimwidth}
11900 \emph default
11901 , or 
11902 \emph on
11903 r{trimwidth}
11904 \emph default
11905  where the trimwidth is also optional.
11906  Using for example the parameter 
11907 \emph on
11908 l{2pt}
11909 \emph default
11910  means that the line is trimmed from its left end by 2\InsetSpace \thinspace{}
11911 pt.
11912  If you don't specify the trimwidth the lines are trimmed by the default
11913  of 0.5\InsetSpace \thinspace{}
11914 em.
11915 \end_layout
11916
11917 \begin_layout Standard
11918 \begin_inset VSpace bigskip
11919 \end_inset
11920
11921 Table\InsetSpace ~
11922
11923 \begin_inset LatexCommand ref
11924 reference "tab:Example-booktabs-table"
11925
11926 \end_inset
11927
11928  was created using the commands
11929 \end_layout
11930
11931 \begin_layout Standard
11932
11933 \series bold
11934
11935 \backslash
11936 cmidrule(r){2-2}
11937 \backslash
11938 cmidrule(l){3-4}
11939 \end_layout
11940
11941 \begin_layout Standard
11942 at the beginning of the in the second row and
11943 \end_layout
11944
11945 \begin_layout Standard
11946
11947 \series bold
11948
11949 \backslash
11950 cmidrule(l{10pt}){1-1}
11951 \end_layout
11952
11953 \begin_layout Standard
11954 in the sixth row.
11955 \end_layout
11956
11957 \begin_layout Standard
11958
11959 \end_layout
11960
11961 \begin_layout Standard
11962 \begin_inset VSpace bigskip
11963 \end_inset
11964
11965
11966 \end_layout
11967
11968 \begin_layout Standard
11969 You might want to have overlapping 
11970 \series bold
11971
11972 \backslash
11973 cmidrule
11974 \series default
11975 s like in Table\InsetSpace ~
11976
11977 \begin_inset LatexCommand ref
11978 reference "tab:Special-booktabs-table"
11979
11980 \end_inset
11981
11982 .
11983  This can be achieved with the ERT command
11984 \end_layout
11985
11986 \begin_layout Standard
11987
11988 \series bold
11989
11990 \backslash
11991 morecmidrules
11992 \end_layout
11993
11994 \begin_layout Standard
11995 The command that was used for the second row of Table\InsetSpace ~
11996
11997 \begin_inset LatexCommand ref
11998 reference "tab:Special-booktabs-table"
11999
12000 \end_inset
12001
12002  is
12003 \end_layout
12004
12005 \begin_layout Standard
12006
12007 \series bold
12008
12009 \backslash
12010 cmidrule(r){2-2}
12011 \backslash
12012 cmidrule(l){3-4}
12013 \backslash
12014 morecmidrules
12015 \backslash
12016 cmidrule{2-4}
12017 \end_layout
12018
12019 \begin_layout Standard
12020 The command for the sixth row is
12021 \end_layout
12022
12023 \begin_layout Standard
12024
12025 \series bold
12026
12027 \backslash
12028 midrule
12029 \backslash
12030 morecmidrules
12031 \backslash
12032 cmidrule{3-4}
12033 \end_layout
12034
12035 \begin_layout Standard
12036 \begin_inset VSpace bigskip
12037 \end_inset
12038
12039
12040 \end_layout
12041
12042 \begin_layout Standard
12043 If you are anyway not satisfied with the border line spacing, you can use
12044  the following command to produce lines that span over all table columns
12045 \series bold
12046 :
12047 \end_layout
12048
12049 \begin_layout Standard
12050
12051 \series bold
12052
12053 \backslash
12054 specialrule{width}{space above}{space below}
12055 \end_layout
12056
12057 \begin_layout Standard
12058 For more informations about these specialties, we refer to the manual of
12059  the LaTeX-package 
12060 \series bold
12061 booktabs
12062 \series default
12063  
12064 \begin_inset LatexCommand cite
12065 key "booktabs"
12066
12067 \end_inset
12068
12069 .
12070 \begin_inset LatexCommand index
12071 name "LaTeX-packages ! booktabs"
12072
12073 \end_inset
12074
12075
12076 \end_layout
12077
12078 \begin_layout Standard
12079 \begin_inset Float table
12080 placement h
12081 wide false
12082 sideways false
12083 status open
12084
12085 \begin_layout Standard
12086 \begin_inset Caption
12087
12088 \begin_layout Standard
12089 \begin_inset LatexCommand label
12090 name "tab:Special-booktabs-table"
12091
12092 \end_inset
12093
12094 Special booktabs-table
12095 \end_layout
12096
12097 \end_inset
12098
12099
12100 \end_layout
12101
12102 \begin_layout Standard
12103 \align center
12104 \begin_inset Tabular
12105 <lyxtabular version="3" rows="8" columns="4">
12106 <features booktabs="true">
12107 <column alignment="center" valignment="top" width="0">
12108 <column alignment="center" valignment="top" width="0">
12109 <column alignment="center" valignment="top" width="0">
12110 <column alignment="center" valignment="top" width="0">
12111 <row topline="true">
12112 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12113 \begin_inset Text
12114
12115 \begin_layout Standard
12116 System
12117 \end_layout
12118
12119 \end_inset
12120 </cell>
12121 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12122 \begin_inset Text
12123
12124 \begin_layout Standard
12125 Medipix\InsetSpace \thinspace{}
12126 1
12127 \end_layout
12128
12129 \end_inset
12130 </cell>
12131 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" usebox="none">
12132 \begin_inset Text
12133
12134 \begin_layout Standard
12135 Medipix\InsetSpace \thinspace{}
12136 2
12137 \end_layout
12138
12139 \end_inset
12140 </cell>
12141 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12142 \begin_inset Text
12143
12144 \begin_layout Standard
12145
12146 \end_layout
12147
12148 \end_inset
12149 </cell>
12150 </row>
12151 <row>
12152 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12153 \begin_inset Text
12154
12155 \begin_layout Standard
12156 \begin_inset ERT
12157 status collapsed
12158
12159 \begin_layout Standard
12160
12161
12162 \backslash
12163 cmidrule(r){2-2}
12164 \end_layout
12165
12166 \end_inset
12167
12168
12169 \begin_inset ERT
12170 status collapsed
12171
12172 \begin_layout Standard
12173
12174
12175 \backslash
12176 cmidrule(l){3-4}
12177 \end_layout
12178
12179 \end_inset
12180
12181
12182 \begin_inset ERT
12183 status collapsed
12184
12185 \begin_layout Standard
12186
12187
12188 \backslash
12189 morecmidrules 
12190 \end_layout
12191
12192 \end_inset
12193
12194
12195 \begin_inset ERT
12196 status collapsed
12197
12198 \begin_layout Standard
12199
12200
12201 \backslash
12202 cmidrule{2-4}
12203 \end_layout
12204
12205 \end_inset
12206
12207 Detector thickness [µm]
12208 \end_layout
12209
12210 \end_inset
12211 </cell>
12212 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12213 \begin_inset Text
12214
12215 \begin_layout Standard
12216 300
12217 \end_layout
12218
12219 \end_inset
12220 </cell>
12221 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12222 \begin_inset Text
12223
12224 \begin_layout Standard
12225 300
12226 \end_layout
12227
12228 \end_inset
12229 </cell>
12230 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12231 \begin_inset Text
12232
12233 \begin_layout Standard
12234 700
12235 \end_layout
12236
12237 \end_inset
12238 </cell>
12239 </row>
12240 <row topline="true">
12241 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12242 \begin_inset Text
12243
12244 \begin_layout Standard
12245 Edge angle [°]
12246 \end_layout
12247
12248 \end_inset
12249 </cell>
12250 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12251 \begin_inset Text
12252
12253 \begin_layout Standard
12254 3.55
12255 \end_layout
12256
12257 \end_inset
12258 </cell>
12259 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12260 \begin_inset Text
12261
12262 \begin_layout Standard
12263 2.71
12264 \end_layout
12265
12266 \end_inset
12267 </cell>
12268 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12269 \begin_inset Text
12270
12271 \begin_layout Standard
12272 7.99
12273 \end_layout
12274
12275 \end_inset
12276 </cell>
12277 </row>
12278 <row topspace="default">
12279 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12280 \begin_inset Text
12281
12282 \begin_layout Standard
12283 Spatial resolution [µm]
12284 \end_layout
12285
12286 \end_inset
12287 </cell>
12288 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12289 \begin_inset Text
12290
12291 \begin_layout Standard
12292 4.26
12293 \end_layout
12294
12295 \end_inset
12296 </cell>
12297 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12298 \begin_inset Text
12299
12300 \begin_layout Standard
12301 10.17
12302 \end_layout
12303
12304 \end_inset
12305 </cell>
12306 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12307 \begin_inset Text
12308
12309 \begin_layout Standard
12310 10.56
12311 \end_layout
12312
12313 \end_inset
12314 </cell>
12315 </row>
12316 <row topspace="default">
12317 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12318 \begin_inset Text
12319
12320 \begin_layout Standard
12321 MTF at 
12322 \begin_inset Formula $f_{\mathrm{max}}$
12323 \end_inset
12324
12325
12326 \end_layout
12327
12328 \end_inset
12329 </cell>
12330 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12331 \begin_inset Text
12332
12333 \begin_layout Standard
12334 0.53
12335 \end_layout
12336
12337 \end_inset
12338 </cell>
12339 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12340 \begin_inset Text
12341
12342 \begin_layout Standard
12343 0.37
12344 \end_layout
12345
12346 \end_inset
12347 </cell>
12348 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12349 \begin_inset Text
12350
12351 \begin_layout Standard
12352 0.39
12353 \end_layout
12354
12355 \end_inset
12356 </cell>
12357 </row>
12358 <row topline="true">
12359 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12360 \begin_inset Text
12361
12362 \begin_layout Standard
12363 \begin_inset ERT
12364 status collapsed
12365
12366 \begin_layout Standard
12367
12368
12369 \backslash
12370 morecmidrules 
12371 \end_layout
12372
12373 \end_inset
12374
12375
12376 \begin_inset ERT
12377 status collapsed
12378
12379 \begin_layout Standard
12380
12381
12382 \backslash
12383 cmidrule{3-4}
12384 \end_layout
12385
12386 \end_inset
12387
12388 LSF-spatial resolution
12389 \end_layout
12390
12391 \end_inset
12392 </cell>
12393 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12394 \begin_inset Text
12395
12396 \begin_layout Standard
12397
12398 \end_layout
12399
12400 \end_inset
12401 </cell>
12402 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12403 \begin_inset Text
12404
12405 \begin_layout Standard
12406
12407 \end_layout
12408
12409 \end_inset
12410 </cell>
12411 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12412 \begin_inset Text
12413
12414 \begin_layout Standard
12415
12416 \end_layout
12417
12418 \end_inset
12419 </cell>
12420 </row>
12421 <row>
12422 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12423 \begin_inset Text
12424
12425 \begin_layout Standard
12426 in µm
12427 \end_layout
12428
12429 \end_inset
12430 </cell>
12431 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12432 \begin_inset Text
12433
12434 \begin_layout Standard
12435 129.7
12436 \end_layout
12437
12438 \end_inset
12439 </cell>
12440 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12441 \begin_inset Text
12442
12443 \begin_layout Standard
12444 52.75
12445 \end_layout
12446
12447 \end_inset
12448 </cell>
12449 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12450 \begin_inset Text
12451
12452 \begin_layout Standard
12453 50.78
12454 \end_layout
12455
12456 \end_inset
12457 </cell>
12458 </row>
12459 <row bottomline="true">
12460 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12461 \begin_inset Text
12462
12463 \begin_layout Standard
12464 in % of pixel size
12465 \end_layout
12466
12467 \end_inset
12468 </cell>
12469 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12470 \begin_inset Text
12471
12472 \begin_layout Standard
12473 76.3
12474 \end_layout
12475
12476 \end_inset
12477 </cell>
12478 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12479 \begin_inset Text
12480
12481 \begin_layout Standard
12482 95.9
12483 \end_layout
12484
12485 \end_inset
12486 </cell>
12487 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12488 \begin_inset Text
12489
12490 \begin_layout Standard
12491 92.3
12492 \end_layout
12493
12494 \end_inset
12495 </cell>
12496 </row>
12497 </lyxtabular>
12498
12499 \end_inset
12500
12501
12502 \end_layout
12503
12504 \end_inset
12505
12506
12507 \end_layout
12508
12509 \begin_layout Section
12510 Vertical Table Alignment
12511 \begin_inset LatexCommand index
12512 name "Table ! Alignment"
12513
12514 \end_inset
12515
12516
12517 \end_layout
12518
12519 \begin_layout Standard
12520 To align tables vertically in a text line the table must be inside a box.
12521  The box can then be vertically aligned as described in section\InsetSpace ~
12522
12523 \begin_inset LatexCommand ref
12524 reference "sec:Box-Dialog"
12525
12526 \end_inset
12527
12528 .
12529 \end_layout
12530
12531 \begin_layout Standard
12532 In the following example the tables are inside a minipage
12533 \begin_inset Foot
12534 status collapsed
12535
12536 \begin_layout Standard
12537 Minipages are described in section\InsetSpace ~
12538
12539 \begin_inset LatexCommand ref
12540 reference "sec:Minipages"
12541
12542 \end_inset
12543
12544 .
12545 \end_layout
12546
12547 \end_inset
12548
12549  box that has a width of 15\InsetSpace \thinspace{}
12550 col%:
12551 \end_layout
12552
12553 \begin_layout Itemize
12554 test 
12555 \begin_inset Box Frameless
12556 position "t"
12557 hor_pos "c"
12558 has_inner_box 1
12559 inner_pos "c"
12560 use_parbox 0
12561 width "15col%"
12562 special "none"
12563 height "1in"
12564 height_special "totalheight"
12565 status collapsed
12566
12567 \begin_layout Standard
12568 \begin_inset Tabular
12569 <lyxtabular version="3" rows="3" columns="3">
12570 <features>
12571 <column alignment="center" valignment="top" leftline="true" width="0">
12572 <column alignment="center" valignment="top" leftline="true" width="0">
12573 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12574 <row topline="true">
12575 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12576 \begin_inset Text
12577
12578 \begin_layout Standard
12579 a
12580 \end_layout
12581
12582 \end_inset
12583 </cell>
12584 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12585 \begin_inset Text
12586
12587 \begin_layout Standard
12588 d
12589 \end_layout
12590
12591 \end_inset
12592 </cell>
12593 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12594 \begin_inset Text
12595
12596 \begin_layout Standard
12597 g
12598 \end_layout
12599
12600 \end_inset
12601 </cell>
12602 </row>
12603 <row topline="true">
12604 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12605 \begin_inset Text
12606
12607 \begin_layout Standard
12608 b
12609 \end_layout
12610
12611 \end_inset
12612 </cell>
12613 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12614 \begin_inset Text
12615
12616 \begin_layout Standard
12617 e
12618 \end_layout
12619
12620 \end_inset
12621 </cell>
12622 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12623 \begin_inset Text
12624
12625 \begin_layout Standard
12626 h
12627 \end_layout
12628
12629 \end_inset
12630 </cell>
12631 </row>
12632 <row topline="true" bottomline="true">
12633 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12634 \begin_inset Text
12635
12636 \begin_layout Standard
12637 c
12638 \end_layout
12639
12640 \end_inset
12641 </cell>
12642 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12643 \begin_inset Text
12644
12645 \begin_layout Standard
12646 f
12647 \end_layout
12648
12649 \end_inset
12650 </cell>
12651 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12652 \begin_inset Text
12653
12654 \begin_layout Standard
12655 i
12656 \end_layout
12657
12658 \end_inset
12659 </cell>
12660 </row>
12661 </lyxtabular>
12662
12663 \end_inset
12664
12665
12666 \end_layout
12667
12668 \end_inset
12669
12670  test 
12671 \begin_inset ERT
12672 status collapsed
12673
12674 \begin_layout Standard
12675
12676
12677 \backslash
12678 raisebox{0.85
12679 \backslash
12680 baselineskip}{
12681 \end_layout
12682
12683 \end_inset
12684
12685
12686 \begin_inset Box Frameless
12687 position "t"
12688 hor_pos "c"
12689 has_inner_box 1
12690 inner_pos "c"
12691 use_parbox 0
12692 width "15col%"
12693 special "none"
12694 height "1in"
12695 height_special "totalheight"
12696 status collapsed
12697
12698 \begin_layout Standard
12699 \begin_inset Tabular
12700 <lyxtabular version="3" rows="3" columns="3">
12701 <features>
12702 <column alignment="center" valignment="top" leftline="true" width="0">
12703 <column alignment="center" valignment="top" leftline="true" width="0">
12704 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12705 <row topline="true">
12706 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12707 \begin_inset Text
12708
12709 \begin_layout Standard
12710 a
12711 \end_layout
12712
12713 \end_inset
12714 </cell>
12715 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12716 \begin_inset Text
12717
12718 \begin_layout Standard
12719 d
12720 \end_layout
12721
12722 \end_inset
12723 </cell>
12724 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12725 \begin_inset Text
12726
12727 \begin_layout Standard
12728 g
12729 \end_layout
12730
12731 \end_inset
12732 </cell>
12733 </row>
12734 <row topline="true">
12735 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12736 \begin_inset Text
12737
12738 \begin_layout Standard
12739 b
12740 \end_layout
12741
12742 \end_inset
12743 </cell>
12744 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12745 \begin_inset Text
12746
12747 \begin_layout Standard
12748 e
12749 \end_layout
12750
12751 \end_inset
12752 </cell>
12753 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12754 \begin_inset Text
12755
12756 \begin_layout Standard
12757 h
12758 \end_layout
12759
12760 \end_inset
12761 </cell>
12762 </row>
12763 <row topline="true" bottomline="true">
12764 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12765 \begin_inset Text
12766
12767 \begin_layout Standard
12768 c
12769 \end_layout
12770
12771 \end_inset
12772 </cell>
12773 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12774 \begin_inset Text
12775
12776 \begin_layout Standard
12777 f
12778 \end_layout
12779
12780 \end_inset
12781 </cell>
12782 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12783 \begin_inset Text
12784
12785 \begin_layout Standard
12786 i
12787 \end_layout
12788
12789 \end_inset
12790 </cell>
12791 </row>
12792 </lyxtabular>
12793
12794 \end_inset
12795
12796
12797 \end_layout
12798
12799 \end_inset
12800
12801
12802 \begin_inset ERT
12803 status collapsed
12804
12805 \begin_layout Standard
12806
12807 }
12808 \end_layout
12809
12810 \end_inset
12811
12812
12813 \end_layout
12814
12815 \begin_layout Itemize
12816 test 
12817 \begin_inset Box Frameless
12818 position "c"
12819 hor_pos "c"
12820 has_inner_box 1
12821 inner_pos "c"
12822 use_parbox 0
12823 width "15col%"
12824 special "none"
12825 height "1in"
12826 height_special "totalheight"
12827 status collapsed
12828
12829 \begin_layout Standard
12830 \begin_inset Tabular
12831 <lyxtabular version="3" rows="3" columns="3">
12832 <features>
12833 <column alignment="center" valignment="top" leftline="true" width="0">
12834 <column alignment="center" valignment="top" leftline="true" width="0">
12835 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12836 <row topline="true">
12837 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12838 \begin_inset Text
12839
12840 \begin_layout Standard
12841 a
12842 \end_layout
12843
12844 \end_inset
12845 </cell>
12846 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12847 \begin_inset Text
12848
12849 \begin_layout Standard
12850 d
12851 \end_layout
12852
12853 \end_inset
12854 </cell>
12855 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12856 \begin_inset Text
12857
12858 \begin_layout Standard
12859 g
12860 \end_layout
12861
12862 \end_inset
12863 </cell>
12864 </row>
12865 <row topline="true">
12866 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12867 \begin_inset Text
12868
12869 \begin_layout Standard
12870 b
12871 \end_layout
12872
12873 \end_inset
12874 </cell>
12875 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12876 \begin_inset Text
12877
12878 \begin_layout Standard
12879 e
12880 \end_layout
12881
12882 \end_inset
12883 </cell>
12884 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12885 \begin_inset Text
12886
12887 \begin_layout Standard
12888 h
12889 \end_layout
12890
12891 \end_inset
12892 </cell>
12893 </row>
12894 <row topline="true" bottomline="true">
12895 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12896 \begin_inset Text
12897
12898 \begin_layout Standard
12899 c
12900 \end_layout
12901
12902 \end_inset
12903 </cell>
12904 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12905 \begin_inset Text
12906
12907 \begin_layout Standard
12908 f
12909 \end_layout
12910
12911 \end_inset
12912 </cell>
12913 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12914 \begin_inset Text
12915
12916 \begin_layout Standard
12917 i
12918 \end_layout
12919
12920 \end_inset
12921 </cell>
12922 </row>
12923 </lyxtabular>
12924
12925 \end_inset
12926
12927
12928 \end_layout
12929
12930 \end_inset
12931
12932
12933 \end_layout
12934
12935 \begin_layout Itemize
12936 test 
12937 \begin_inset Box Frameless
12938 position "b"
12939 hor_pos "c"
12940 has_inner_box 1
12941 inner_pos "c"
12942 use_parbox 0
12943 width "15col%"
12944 special "none"
12945 height "1in"
12946 height_special "totalheight"
12947 status collapsed
12948
12949 \begin_layout Standard
12950 \begin_inset Tabular
12951 <lyxtabular version="3" rows="3" columns="3">
12952 <features>
12953 <column alignment="center" valignment="top" leftline="true" width="0">
12954 <column alignment="center" valignment="top" leftline="true" width="0">
12955 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12956 <row topline="true">
12957 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12958 \begin_inset Text
12959
12960 \begin_layout Standard
12961 a
12962 \end_layout
12963
12964 \end_inset
12965 </cell>
12966 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12967 \begin_inset Text
12968
12969 \begin_layout Standard
12970 d
12971 \end_layout
12972
12973 \end_inset
12974 </cell>
12975 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12976 \begin_inset Text
12977
12978 \begin_layout Standard
12979 g
12980 \end_layout
12981
12982 \end_inset
12983 </cell>
12984 </row>
12985 <row topline="true">
12986 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12987 \begin_inset Text
12988
12989 \begin_layout Standard
12990 b
12991 \end_layout
12992
12993 \end_inset
12994 </cell>
12995 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12996 \begin_inset Text
12997
12998 \begin_layout Standard
12999 e
13000 \end_layout
13001
13002 \end_inset
13003 </cell>
13004 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13005 \begin_inset Text
13006
13007 \begin_layout Standard
13008 h
13009 \end_layout
13010
13011 \end_inset
13012 </cell>
13013 </row>
13014 <row topline="true" bottomline="true">
13015 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13016 \begin_inset Text
13017
13018 \begin_layout Standard
13019 c
13020 \end_layout
13021
13022 \end_inset
13023 </cell>
13024 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13025 \begin_inset Text
13026
13027 \begin_layout Standard
13028 f
13029 \end_layout
13030
13031 \end_inset
13032 </cell>
13033 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13034 \begin_inset Text
13035
13036 \begin_layout Standard
13037 i
13038 \end_layout
13039
13040 \end_inset
13041 </cell>
13042 </row>
13043 </lyxtabular>
13044
13045 \end_inset
13046
13047
13048 \end_layout
13049
13050 \end_inset
13051
13052  test 
13053 \begin_inset ERT
13054 status collapsed
13055
13056 \begin_layout Standard
13057
13058
13059 \backslash
13060 raisebox{-0.32
13061 \backslash
13062 baselineskip}{
13063 \end_layout
13064
13065 \end_inset
13066
13067
13068 \begin_inset Box Frameless
13069 position "b"
13070 hor_pos "c"
13071 has_inner_box 1
13072 inner_pos "c"
13073 use_parbox 0
13074 width "15col%"
13075 special "none"
13076 height "1in"
13077 height_special "totalheight"
13078 status collapsed
13079
13080 \begin_layout Standard
13081 \begin_inset Tabular
13082 <lyxtabular version="3" rows="3" columns="3">
13083 <features>
13084 <column alignment="center" valignment="top" leftline="true" width="0">
13085 <column alignment="center" valignment="top" leftline="true" width="0">
13086 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13087 <row topline="true">
13088 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13089 \begin_inset Text
13090
13091 \begin_layout Standard
13092 a
13093 \end_layout
13094
13095 \end_inset
13096 </cell>
13097 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13098 \begin_inset Text
13099
13100 \begin_layout Standard
13101 d
13102 \end_layout
13103
13104 \end_inset
13105 </cell>
13106 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13107 \begin_inset Text
13108
13109 \begin_layout Standard
13110 g
13111 \end_layout
13112
13113 \end_inset
13114 </cell>
13115 </row>
13116 <row topline="true">
13117 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13118 \begin_inset Text
13119
13120 \begin_layout Standard
13121 b
13122 \end_layout
13123
13124 \end_inset
13125 </cell>
13126 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13127 \begin_inset Text
13128
13129 \begin_layout Standard
13130 e
13131 \end_layout
13132
13133 \end_inset
13134 </cell>
13135 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13136 \begin_inset Text
13137
13138 \begin_layout Standard
13139 h
13140 \end_layout
13141
13142 \end_inset
13143 </cell>
13144 </row>
13145 <row topline="true" bottomline="true">
13146 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13147 \begin_inset Text
13148
13149 \begin_layout Standard
13150 c
13151 \end_layout
13152
13153 \end_inset
13154 </cell>
13155 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13156 \begin_inset Text
13157
13158 \begin_layout Standard
13159 f
13160 \end_layout
13161
13162 \end_inset
13163 </cell>
13164 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13165 \begin_inset Text
13166
13167 \begin_layout Standard
13168 i
13169 \end_layout
13170
13171 \end_inset
13172 </cell>
13173 </row>
13174 </lyxtabular>
13175
13176 \end_inset
13177
13178
13179 \end_layout
13180
13181 \end_inset
13182
13183
13184 \begin_inset ERT
13185 status collapsed
13186
13187 \begin_layout Standard
13188
13189 }
13190 \end_layout
13191
13192 \end_inset
13193
13194
13195 \end_layout
13196
13197 \begin_layout Standard
13198 As you can see, the content of the first and last table row is not correctly
13199  aligned with the text line where the table is in.
13200  To get this alignment, the minipage box must be set into a raisebox
13201 \begin_inset Foot
13202 status collapsed
13203
13204 \begin_layout Standard
13205 Raiseboxes are described in section\InsetSpace ~
13206
13207 \begin_inset LatexCommand ref
13208 reference "sub:Vertical-Alignment"
13209
13210 \end_inset
13211
13212 .
13213 \end_layout
13214
13215 \end_inset
13216
13217 .
13218  In the example above the second table in the first item is aligned using
13219  the ERT-command
13220 \end_layout
13221
13222 \begin_layout Standard
13223
13224 \series bold
13225
13226 \backslash
13227 raisebox{0.85
13228 \backslash
13229 baselineskip}{
13230 \end_layout
13231
13232 \begin_layout Standard
13233 before the box.
13234  Behind the box the closing brace 
13235 \series bold
13236 }
13237 \series default
13238  is inserted as ERT.
13239  For the second table in the last item the command
13240 \end_layout
13241
13242 \begin_layout Standard
13243
13244 \series bold
13245
13246 \backslash
13247 raisebox{-0.32
13248 \backslash
13249 baselineskip}{
13250 \end_layout
13251
13252 \begin_layout Standard
13253 is used.
13254 \end_layout
13255
13256 \begin_layout Standard
13257 \begin_inset Note Greyedout
13258 status open
13259
13260 \begin_layout Standard
13261
13262 \series bold
13263 Note:
13264 \series default
13265  The alignment of the table row content to the surrounding text line is
13266  not exact.
13267  The needed factor of the 
13268 \series bold
13269
13270 \backslash
13271 raisebox
13272 \series default
13273  command for this alignment depends on the document font, the font size,
13274  and the table line thickness.
13275 \end_layout
13276
13277 \end_inset
13278
13279
13280 \end_layout
13281
13282 \begin_layout Section
13283 Colored Tables
13284 \begin_inset LatexCommand label
13285 name "sec:Colored-Tables"
13286
13287 \end_inset
13288
13289
13290 \begin_inset LatexCommand index
13291 name "Table ! Color"
13292
13293 \end_inset
13294
13295
13296 \end_layout
13297
13298 \begin_layout Subsection
13299 Colored Cells
13300 \begin_inset LatexCommand index
13301 name "Table Color ! for Cells"
13302
13303 \end_inset
13304
13305
13306 \begin_inset LatexCommand index
13307 name "Color ! for Table Cells"
13308
13309 \end_inset
13310
13311
13312 \end_layout
13313
13314 \begin_layout Standard
13315 \begin_inset Float table
13316 placement h
13317 wide false
13318 sideways false
13319 status open
13320
13321 \begin_layout Standard
13322 \begin_inset Caption
13323
13324 \begin_layout Standard
13325 \begin_inset LatexCommand label
13326 name "tab:Table-colored-without"
13327
13328 \end_inset
13329
13330 Table colored without using the package 
13331 \series bold
13332 colortbl
13333 \series default
13334
13335 \begin_inset OptArg
13336 status collapsed
13337
13338 \begin_layout Standard
13339 Table without colortbl
13340 \end_layout
13341
13342 \end_inset
13343
13344
13345 \end_layout
13346
13347 \end_inset
13348
13349
13350 \end_layout
13351
13352 \begin_layout Standard
13353 \align center
13354 \begin_inset Tabular
13355 <lyxtabular version="3" rows="3" columns="3">
13356 <features>
13357 <column alignment="center" valignment="top" leftline="true" width="0">
13358 <column alignment="center" valignment="top" leftline="true" width="0">
13359 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13360 <row topline="true">
13361 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13362 \begin_inset Text
13363
13364 \begin_layout Standard
13365
13366 \color green
13367 a
13368 \end_layout
13369
13370 \end_inset
13371 </cell>
13372 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13373 \begin_inset Text
13374
13375 \begin_layout Standard
13376
13377 \color red
13378 b
13379 \end_layout
13380
13381 \end_inset
13382 </cell>
13383 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13384 \begin_inset Text
13385
13386 \begin_layout Standard
13387
13388 \color red
13389 c
13390 \end_layout
13391
13392 \end_inset
13393 </cell>
13394 </row>
13395 <row topline="true">
13396 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13397 \begin_inset Text
13398
13399 \begin_layout Standard
13400
13401 \color green
13402 d
13403 \end_layout
13404
13405 \end_inset
13406 </cell>
13407 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13408 \begin_inset Text
13409
13410 \begin_layout Standard
13411
13412 \color blue
13413 e
13414 \end_layout
13415
13416 \end_inset
13417 </cell>
13418 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13419 \begin_inset Text
13420
13421 \begin_layout Standard
13422
13423 \color blue
13424 f
13425 \end_layout
13426
13427 \end_inset
13428 </cell>
13429 </row>
13430 <row topline="true" bottomline="true">
13431 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13432 \begin_inset Text
13433
13434 \begin_layout Standard
13435
13436 \color green
13437 g
13438 \end_layout
13439
13440 \end_inset
13441 </cell>
13442 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13443 \begin_inset Text
13444
13445 \begin_layout Standard
13446
13447 \color blue
13448 h
13449 \end_layout
13450
13451 \end_inset
13452 </cell>
13453 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13454 \begin_inset Text
13455
13456 \begin_layout Standard
13457
13458 \color blue
13459 i
13460 \end_layout
13461
13462 \end_inset
13463 </cell>
13464 </row>
13465 </lyxtabular>
13466
13467 \end_inset
13468
13469
13470 \end_layout
13471
13472 \end_inset
13473
13474
13475 \end_layout
13476
13477 \begin_layout Standard
13478 If you only need colored text, mark the cells and choose a color in the
13479  menu 
13480 \family sans
13481 Edit\SpecialChar \menuseparator
13482 Text\InsetSpace ~
13483 Style
13484 \family default
13485 .
13486  This was used to create Table\InsetSpace ~
13487
13488 \begin_inset LatexCommand ref
13489 reference "tab:Table-colored-without"
13490
13491 \end_inset
13492
13493 .
13494  In any other case you have to use the LaTeX-package 
13495 \series bold
13496 colortbl
13497 \series default
13498 .
13499 \begin_inset LatexCommand index
13500 name "LaTeX-packages ! colortbl"
13501
13502 \end_inset
13503
13504
13505 \end_layout
13506
13507 \begin_layout Standard
13508 To create colored tables, 
13509 \series bold
13510 colortbl
13511 \series default
13512  must be loaded in the preamble with the line
13513 \end_layout
13514
13515 \begin_layout Standard
13516
13517 \series bold
13518
13519 \backslash
13520 usepackage{colortbl}
13521 \end_layout
13522
13523 \begin_layout Standard
13524 The color of a column is adjusted with the command
13525 \end_layout
13526
13527 \begin_layout Standard
13528
13529 \series bold
13530
13531 \backslash
13532 columncolor{name of color}
13533 \end_layout
13534
13535 \begin_layout Standard
13536 inside the command 
13537 \series bold
13538 >{ }
13539 \series default
13540 .
13541  More about the command 
13542 \series bold
13543 >{}
13544 \series default
13545  is described in section\InsetSpace ~
13546
13547 \begin_inset LatexCommand ref
13548 reference "sub:Multicolumn-Calculations"
13549
13550 \end_inset
13551
13552 .
13553 \end_layout
13554
13555 \begin_layout Standard
13556 The following color names are predefined:
13557 \end_layout
13558
13559 \begin_layout Standard
13560
13561 \family sans
13562 red
13563 \family default
13564
13565 \family sans
13566 green
13567 \family default
13568
13569 \family sans
13570 yellow
13571 \family default
13572
13573 \family sans
13574 blue
13575 \family default
13576
13577 \family sans
13578 cyan
13579 \family default
13580
13581 \family sans
13582 magenta
13583 \family default
13584
13585 \family sans
13586 black
13587 \family default
13588  and 
13589 \family sans
13590 white
13591 \end_layout
13592
13593 \begin_layout Standard
13594 \begin_inset VSpace medskip
13595 \end_inset
13596
13597
13598 \end_layout
13599
13600 \begin_layout Standard
13601 You can also define your own color with the command
13602 \end_layout
13603
13604 \begin_layout Standard
13605
13606 \series bold
13607
13608 \backslash
13609 def\SpecialChar \textcompwordmark{}
13610 inecolor{color name}{color model}{color values}
13611 \end_layout
13612
13613 \begin_layout Standard
13614 The color model can be
13615 \end_layout
13616
13617 \begin_layout Labeling
13618 \labelwidthstring 00.00.0000
13619 cmyk: cyan, magenta, yellow, black
13620 \end_layout
13621
13622 \begin_layout Labeling
13623 \labelwidthstring 00.00.0000
13624 rgb: red, green blue
13625 \end_layout
13626
13627 \begin_layout Labeling
13628 \labelwidthstring 00.00.0000
13629 gray gray
13630 \end_layout
13631
13632 \begin_layout Standard
13633 and the color values are comma separated numbers between 0 and 1 describing
13634  the factor for the corresponding color of the color model.
13635 \end_layout
13636
13637 \begin_layout Standard
13638 You can e.\InsetSpace \thinspace{}
13639 g.\InsetSpace ~
13640 define the color "
13641 \emph on
13642 darkgreen
13643 \emph default
13644 " in the preamble with
13645 \end_layout
13646
13647 \begin_layout Standard
13648
13649 \series bold
13650
13651 \backslash
13652 def\SpecialChar \textcompwordmark{}
13653 inecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
13654 \end_layout
13655
13656 \begin_layout Standard
13657 and the color "
13658 \emph on
13659 lightgray
13660 \emph default
13661 " with
13662 \end_layout
13663
13664 \begin_layout Standard
13665
13666 \series bold
13667
13668 \backslash
13669 def\SpecialChar \textcompwordmark{}
13670 inecolor{lightgray}{gray}{0.8}
13671 \end_layout
13672
13673 \begin_layout Standard
13674 \begin_inset VSpace medskip
13675 \end_inset
13676
13677
13678 \end_layout
13679
13680 \begin_layout Standard
13681 Lines are colored with the command
13682 \end_layout
13683
13684 \begin_layout Standard
13685
13686 \series bold
13687
13688 \backslash
13689 rowcolor{name of color}
13690 \end_layout
13691
13692 \begin_layout Standard
13693 and cells are colored with the command
13694 \end_layout
13695
13696 \begin_layout Standard
13697
13698 \series bold
13699
13700 \backslash
13701 cellcolor{name of color}
13702 \end_layout
13703
13704 \begin_layout Standard
13705 Both commands are inserted at the beginning of a cell as ERT.
13706 \end_layout
13707
13708 \begin_layout Standard
13709 To color characters in the table, mark the cells and use the LyX menu 
13710 \family sans
13711 Edit\SpecialChar \menuseparator
13712 Text\InsetSpace ~
13713 Style
13714 \family default
13715 .
13716  If a cell contains ERT mark only the characters, otherwise the colored
13717  ERT will cause LaTeX-errors.
13718 \end_layout
13719
13720 \begin_layout Standard
13721 \begin_inset VSpace bigskip
13722 \end_inset
13723
13724
13725 \end_layout
13726
13727 \begin_layout Standard
13728 To create Table\InsetSpace ~
13729
13730 \begin_inset LatexCommand ref
13731 reference "tab:Table-colored-using"
13732
13733 \end_inset
13734
13735  do the following: The color of the first column should be 
13736 \emph on
13737 darkgreen
13738 \emph default
13739 .
13740  So insert
13741 \end_layout
13742
13743 \begin_layout Standard
13744
13745 \series bold
13746 >{
13747 \backslash
13748 columncolor{darkgreen}
13749 \backslash
13750 centering}c
13751 \end_layout
13752
13753 \begin_layout Standard
13754 as LaTeX-argument for this column.
13755  The first row should be blue, therefore the ERT command
13756 \end_layout
13757
13758 \begin_layout Standard
13759
13760 \series bold
13761
13762 \backslash
13763 rowcolow{cyan}
13764 \end_layout
13765
13766 \begin_layout Standard
13767 is inserted to the first cell of this row.
13768  Note that this overwrites the column color for the first cell.
13769  The last cell of the last row is colored magenta by inserting the ERT command
13770 \end_layout
13771
13772 \begin_layout Standard
13773
13774 \series bold
13775
13776 \backslash
13777 cellcolor{magenta}
13778 \end_layout
13779
13780 \begin_layout Standard
13781 The characters could now be colored using the menu 
13782 \family sans
13783 Edit\SpecialChar \menuseparator
13784 Text\InsetSpace ~
13785 Style
13786 \family default
13787 .
13788 \end_layout
13789
13790 \begin_layout Standard
13791 \begin_inset Float table
13792 placement h
13793 wide false
13794 sideways false
13795 status open
13796
13797 \begin_layout Standard
13798 \begin_inset Caption
13799
13800 \begin_layout Standard
13801 \begin_inset LatexCommand label
13802 name "tab:Table-colored-using"
13803
13804 \end_inset
13805
13806 Table colored using the package 
13807 \series bold
13808 colortbl
13809 \series default
13810
13811 \begin_inset OptArg
13812 status collapsed
13813
13814 \begin_layout Standard
13815 Table with colortbl
13816 \end_layout
13817
13818 \end_inset
13819
13820
13821 \end_layout
13822
13823 \end_inset
13824
13825
13826 \end_layout
13827
13828 \begin_layout Standard
13829 \align center
13830 \begin_inset Tabular
13831 <lyxtabular version="3" rows="3" columns="3">
13832 <features>
13833 <column alignment="center" valignment="top" width="0" special=">{\columncolor{darkgreen}\centering}c">
13834 <column alignment="center" valignment="top" width="0">
13835 <column alignment="center" valignment="top" width="0">
13836 <row>
13837 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13838 \begin_inset Text
13839
13840 \begin_layout Standard
13841 \begin_inset ERT
13842 status collapsed
13843
13844 \begin_layout Standard
13845
13846
13847 \backslash
13848 rowcolor{cyan}
13849 \end_layout
13850
13851 \end_inset
13852
13853
13854 \color magenta
13855 a
13856 \end_layout
13857
13858 \end_inset
13859 </cell>
13860 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13861 \begin_inset Text
13862
13863 \begin_layout Standard
13864
13865 \color red
13866 b
13867 \end_layout
13868
13869 \end_inset
13870 </cell>
13871 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13872 \begin_inset Text
13873
13874 \begin_layout Standard
13875
13876 \color red
13877 c
13878 \end_layout
13879
13880 \end_inset
13881 </cell>
13882 </row>
13883 <row>
13884 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13885 \begin_inset Text
13886
13887 \begin_layout Standard
13888
13889 \color yellow
13890 d
13891 \end_layout
13892
13893 \end_inset
13894 </cell>
13895 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13896 \begin_inset Text
13897
13898 \begin_layout Standard
13899
13900 \color blue
13901 e
13902 \end_layout
13903
13904 \end_inset
13905 </cell>
13906 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13907 \begin_inset Text
13908
13909 \begin_layout Standard
13910
13911 \color blue
13912 f
13913 \end_layout
13914
13915 \end_inset
13916 </cell>
13917 </row>
13918 <row>
13919 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13920 \begin_inset Text
13921
13922 \begin_layout Standard
13923
13924 \color yellow
13925 g
13926 \end_layout
13927
13928 \end_inset
13929 </cell>
13930 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13931 \begin_inset Text
13932
13933 \begin_layout Standard
13934
13935 \color blue
13936 h
13937 \end_layout
13938
13939 \end_inset
13940 </cell>
13941 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13942 \begin_inset Text
13943
13944 \begin_layout Standard
13945 \begin_inset ERT
13946 status collapsed
13947
13948 \begin_layout Standard
13949
13950
13951 \backslash
13952 cellcolor{magenta}
13953 \end_layout
13954
13955 \end_inset
13956
13957
13958 \color green
13959 i
13960 \end_layout
13961
13962 \end_inset
13963 </cell>
13964 </row>
13965 </lyxtabular>
13966
13967 \end_inset
13968
13969
13970 \end_layout
13971
13972 \end_inset
13973
13974
13975 \end_layout
13976
13977 \begin_layout Subsection
13978 Colored Lines
13979 \begin_inset LatexCommand index
13980 name "Table Color ! for Lines"
13981
13982 \end_inset
13983
13984
13985 \begin_inset LatexCommand index
13986 name "Color ! for Table Lines"
13987
13988 \end_inset
13989
13990
13991 \end_layout
13992
13993 \begin_layout Standard
13994 As described in section\InsetSpace ~
13995
13996 \begin_inset LatexCommand ref
13997 reference "sub:Line-Thickness"
13998
13999 \end_inset
14000
14001 , the line thickness for all lines in a table can be adjusted with the length
14002  
14003 \series bold
14004
14005 \backslash
14006 arrayrulewidth
14007 \series default
14008 .
14009  It is set to 1.5\InsetSpace \thinspace{}
14010 pt for all tables of this section.
14011 \begin_inset ERT
14012 status collapsed
14013
14014 \begin_layout Standard
14015
14016
14017 \backslash
14018 setlength{
14019 \backslash
14020 arrayrulewidth}{1.5pt}
14021 \end_layout
14022
14023 \end_inset
14024
14025
14026 \end_layout
14027
14028 \begin_layout Standard
14029 To color vertical lines for example with green, create the following column
14030  format in the document preamble, according to the description in section\InsetSpace ~
14031
14032 \begin_inset LatexCommand ref
14033 reference "sub:Customized-Format"
14034
14035 \end_inset
14036
14037 :
14038 \end_layout
14039
14040 \begin_layout Standard
14041
14042 \series bold
14043
14044 \backslash
14045 newcolumntype{W}{!{
14046 \backslash
14047 color{green}
14048 \backslash
14049 vline}}
14050 \end_layout
14051
14052 \begin_layout Standard
14053 For Table\InsetSpace ~
14054
14055 \begin_inset LatexCommand ref
14056 reference "tab:Table-with-vertical-colored"
14057
14058 \end_inset
14059
14060  the LaTeX-argument
14061 \end_layout
14062
14063 \begin_layout Standard
14064
14065 \series bold
14066 WcW
14067 \end_layout
14068
14069 \begin_layout Standard
14070 was used for the last column and
14071 \end_layout
14072
14073 \begin_layout Standard
14074
14075 \series bold
14076 Wc
14077 \end_layout
14078
14079 \begin_layout Standard
14080 for the other columns.
14081 \end_layout
14082
14083 \begin_layout Standard
14084 If you want to have several colors, define more column formats.
14085 \end_layout
14086
14087 \begin_layout Standard
14088 \begin_inset Float table
14089 wide false
14090 sideways false
14091 status open
14092
14093 \begin_layout Standard
14094 \begin_inset Caption
14095
14096 \begin_layout Standard
14097 \begin_inset LatexCommand label
14098 name "tab:Table-with-vertical-colored"
14099
14100 \end_inset
14101
14102 Table with colored vertical lines
14103 \end_layout
14104
14105 \end_inset
14106
14107
14108 \end_layout
14109
14110 \begin_layout Standard
14111 \align center
14112 \begin_inset Tabular
14113 <lyxtabular version="3" rows="3" columns="3">
14114 <features>
14115 <column alignment="center" valignment="top" width="0" special="Wc">
14116 <column alignment="center" valignment="top" width="0" special="Wc">
14117 <column alignment="center" valignment="top" width="0" special="WcW">
14118 <row topline="true">
14119 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14120 \begin_inset Text
14121
14122 \begin_layout Standard
14123 sd
14124 \end_layout
14125
14126 \end_inset
14127 </cell>
14128 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14129 \begin_inset Text
14130
14131 \begin_layout Standard
14132
14133 \end_layout
14134
14135 \end_inset
14136 </cell>
14137 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14138 \begin_inset Text
14139
14140 \begin_layout Standard
14141
14142 \end_layout
14143
14144 \end_inset
14145 </cell>
14146 </row>
14147 <row topline="true">
14148 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14149 \begin_inset Text
14150
14151 \begin_layout Standard
14152
14153 \end_layout
14154
14155 \end_inset
14156 </cell>
14157 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14158 \begin_inset Text
14159
14160 \begin_layout Standard
14161 sd
14162 \end_layout
14163
14164 \end_inset
14165 </cell>
14166 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14167 \begin_inset Text
14168
14169 \begin_layout Standard
14170
14171 \end_layout
14172
14173 \end_inset
14174 </cell>
14175 </row>
14176 <row topline="true" bottomline="true">
14177 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14178 \begin_inset Text
14179
14180 \begin_layout Standard
14181
14182 \end_layout
14183
14184 \end_inset
14185 </cell>
14186 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14187 \begin_inset Text
14188
14189 \begin_layout Standard
14190
14191 \end_layout
14192
14193 \end_inset
14194 </cell>
14195 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14196 \begin_inset Text
14197
14198 \begin_layout Standard
14199 sd
14200 \end_layout
14201
14202 \end_inset
14203 </cell>
14204 </row>
14205 </lyxtabular>
14206
14207 \end_inset
14208
14209
14210 \end_layout
14211
14212 \end_inset
14213
14214
14215 \end_layout
14216
14217 \begin_layout Standard
14218 \begin_inset VSpace bigskip
14219 \end_inset
14220
14221 To color horizontal lines for example with red, like in Table\InsetSpace ~
14222
14223 \begin_inset LatexCommand ref
14224 reference "tab:Table-with-horizontal-colored"
14225
14226 \end_inset
14227
14228 , insert these commands in ERT before the table or table float:
14229 \end_layout
14230
14231 \begin_layout Standard
14232
14233 \series bold
14234
14235 \backslash
14236 let
14237 \backslash
14238 myHlineC
14239 \backslash
14240 hline
14241 \newline
14242
14243 \backslash
14244 renewcommand{
14245 \backslash
14246 hline}{
14247 \backslash
14248 arrayrulecolor{red}
14249 \backslash
14250 myHlineC
14251 \backslash
14252 arrayrulecolor{black}}
14253 \end_layout
14254
14255 \begin_layout Standard
14256 \begin_inset ERT
14257 status collapsed
14258
14259 \begin_layout Standard
14260
14261
14262 \backslash
14263 let
14264 \backslash
14265 myHlineC
14266 \backslash
14267 hline
14268 \end_layout
14269
14270 \begin_layout Standard
14271
14272
14273 \backslash
14274 renewcommand{
14275 \backslash
14276 hline}{
14277 \backslash
14278 arrayrulecolor{red}
14279 \backslash
14280 myHlineC
14281 \backslash
14282 arrayrulecolor{black}}
14283 \end_layout
14284
14285 \end_inset
14286
14287
14288 \begin_inset Float table
14289 wide false
14290 sideways false
14291 status open
14292
14293 \begin_layout Standard
14294 \begin_inset Caption
14295
14296 \begin_layout Standard
14297 \begin_inset LatexCommand label
14298 name "tab:Table-with-horizontal-colored"
14299
14300 \end_inset
14301
14302 Table with colored horizontal lines
14303 \end_layout
14304
14305 \end_inset
14306
14307
14308 \end_layout
14309
14310 \begin_layout Standard
14311 \align center
14312 \begin_inset Tabular
14313 <lyxtabular version="3" rows="3" columns="3">
14314 <features>
14315 <column alignment="center" valignment="top" leftline="true" width="0">
14316 <column alignment="center" valignment="top" leftline="true" width="0">
14317 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14318 <row topline="true">
14319 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14320 \begin_inset Text
14321
14322 \begin_layout Standard
14323 sd
14324 \end_layout
14325
14326 \end_inset
14327 </cell>
14328 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14329 \begin_inset Text
14330
14331 \begin_layout Standard
14332
14333 \end_layout
14334
14335 \end_inset
14336 </cell>
14337 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14338 \begin_inset Text
14339
14340 \begin_layout Standard
14341
14342 \end_layout
14343
14344 \end_inset
14345 </cell>
14346 </row>
14347 <row topline="true">
14348 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14349 \begin_inset Text
14350
14351 \begin_layout Standard
14352
14353 \end_layout
14354
14355 \end_inset
14356 </cell>
14357 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14358 \begin_inset Text
14359
14360 \begin_layout Standard
14361 sd
14362 \end_layout
14363
14364 \end_inset
14365 </cell>
14366 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14367 \begin_inset Text
14368
14369 \begin_layout Standard
14370
14371 \end_layout
14372
14373 \end_inset
14374 </cell>
14375 </row>
14376 <row topline="true" bottomline="true">
14377 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14378 \begin_inset Text
14379
14380 \begin_layout Standard
14381
14382 \end_layout
14383
14384 \end_inset
14385 </cell>
14386 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14387 \begin_inset Text
14388
14389 \begin_layout Standard
14390
14391 \end_layout
14392
14393 \end_inset
14394 </cell>
14395 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14396 \begin_inset Text
14397
14398 \begin_layout Standard
14399 sd
14400 \end_layout
14401
14402 \end_inset
14403 </cell>
14404 </row>
14405 </lyxtabular>
14406
14407 \end_inset
14408
14409
14410 \end_layout
14411
14412 \end_inset
14413
14414
14415 \end_layout
14416
14417 \begin_layout Standard
14418 \begin_inset ERT
14419 status collapsed
14420
14421 \begin_layout Standard
14422
14423
14424 \backslash
14425 pagebreak 
14426 \end_layout
14427
14428 \end_inset
14429
14430
14431 \end_layout
14432
14433 \begin_layout Standard
14434 To return to the default line color black, insert this command in ERT behind
14435  the table or table float:
14436 \end_layout
14437
14438 \begin_layout Standard
14439
14440 \series bold
14441
14442 \backslash
14443 renewcommand{
14444 \backslash
14445 hline}{
14446 \backslash
14447 myHlineC}
14448 \end_layout
14449
14450 \begin_layout Standard
14451 Table\InsetSpace ~
14452
14453 \begin_inset LatexCommand ref
14454 reference "tab:Table-with-colored"
14455
14456 \end_inset
14457
14458  is an example with colored vertical and horizontal lines.
14459 \end_layout
14460
14461 \begin_layout Standard
14462 \begin_inset Float table
14463 wide false
14464 sideways false
14465 status open
14466
14467 \begin_layout Standard
14468 \begin_inset Caption
14469
14470 \begin_layout Standard
14471 \begin_inset LatexCommand label
14472 name "tab:Table-with-colored"
14473
14474 \end_inset
14475
14476 Table with colored lines
14477 \end_layout
14478
14479 \end_inset
14480
14481
14482 \end_layout
14483
14484 \begin_layout Standard
14485 \align center
14486 \begin_inset Tabular
14487 <lyxtabular version="3" rows="3" columns="3">
14488 <features>
14489 <column alignment="center" valignment="top" width="0" special="Wc">
14490 <column alignment="center" valignment="top" width="0" special="Wc">
14491 <column alignment="center" valignment="top" width="0" special="WcW">
14492 <row topline="true">
14493 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14494 \begin_inset Text
14495
14496 \begin_layout Standard
14497 sd
14498 \end_layout
14499
14500 \end_inset
14501 </cell>
14502 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14503 \begin_inset Text
14504
14505 \begin_layout Standard
14506
14507 \end_layout
14508
14509 \end_inset
14510 </cell>
14511 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14512 \begin_inset Text
14513
14514 \begin_layout Standard
14515
14516 \end_layout
14517
14518 \end_inset
14519 </cell>
14520 </row>
14521 <row topline="true">
14522 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14523 \begin_inset Text
14524
14525 \begin_layout Standard
14526
14527 \end_layout
14528
14529 \end_inset
14530 </cell>
14531 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14532 \begin_inset Text
14533
14534 \begin_layout Standard
14535 sd
14536 \end_layout
14537
14538 \end_inset
14539 </cell>
14540 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14541 \begin_inset Text
14542
14543 \begin_layout Standard
14544
14545 \end_layout
14546
14547 \end_inset
14548 </cell>
14549 </row>
14550 <row topline="true" bottomline="true" topspace="default">
14551 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14552 \begin_inset Text
14553
14554 \begin_layout Standard
14555
14556 \end_layout
14557
14558 \end_inset
14559 </cell>
14560 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14561 \begin_inset Text
14562
14563 \begin_layout Standard
14564
14565 \end_layout
14566
14567 \end_inset
14568 </cell>
14569 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14570 \begin_inset Text
14571
14572 \begin_layout Standard
14573 sd
14574 \end_layout
14575
14576 \end_inset
14577 </cell>
14578 </row>
14579 </lyxtabular>
14580
14581 \end_inset
14582
14583
14584 \end_layout
14585
14586 \end_inset
14587
14588
14589 \end_layout
14590
14591 \begin_layout Standard
14592 \begin_inset ERT
14593 status collapsed
14594
14595 \begin_layout Standard
14596
14597
14598 \backslash
14599 renewcommand{
14600 \backslash
14601 hline}{
14602 \backslash
14603 myHlineC}
14604 \end_layout
14605
14606 \end_inset
14607
14608
14609 \end_layout
14610
14611 \begin_layout Standard
14612 \begin_inset ERT
14613 status collapsed
14614
14615 \begin_layout Standard
14616
14617
14618 \backslash
14619 setlength{
14620 \backslash
14621 arrayrulewidth}{0.4pt}
14622 \end_layout
14623
14624 \end_inset
14625
14626
14627 \end_layout
14628
14629 \begin_layout Section
14630 Table Customization
14631 \begin_inset LatexCommand index
14632 name "Table Customization"
14633
14634 \end_inset
14635
14636
14637 \begin_inset LatexCommand index
14638 name "Table ! Customization"
14639
14640 \end_inset
14641
14642
14643 \end_layout
14644
14645 \begin_layout Subsection
14646 Row Spacing
14647 \begin_inset LatexCommand label
14648 name "sub:Row-Spacing"
14649
14650 \end_inset
14651
14652
14653 \begin_inset LatexCommand index
14654 name "Table Customization ! Row Spacing"
14655
14656 \end_inset
14657
14658
14659 \end_layout
14660
14661 \begin_layout Standard
14662 You can add vertical space to table rows in the 
14663 \family sans
14664 Borders
14665 \family default
14666  tab of the table dialog.
14667  You find there three possibilities:
14668 \end_layout
14669
14670 \begin_layout Description
14671 Top\InsetSpace ~
14672 of\InsetSpace ~
14673 row will add space above the characters of the table row.
14674  If the table is a formal table
14675 \begin_inset Foot
14676 status collapsed
14677
14678 \begin_layout Standard
14679 Formal tables are explained in section\InsetSpace ~
14680
14681 \begin_inset LatexCommand ref
14682 reference "sec:Formal-Tables"
14683
14684 \end_inset
14685
14686 .
14687 \end_layout
14688
14689 \end_inset
14690
14691  LyX will insert as default 0.5\InsetSpace \thinspace{}
14692 em space.
14693  For normal tables the inserted space will unfortunately destroy the vertical
14694  table lines as in the following table:
14695 \begin_inset VSpace defskip
14696 \end_inset
14697
14698
14699 \newline
14700
14701 \begin_inset ERT
14702 status collapsed
14703
14704 \begin_layout Standard
14705
14706
14707 \backslash
14708 hspace*{0pt}
14709 \end_layout
14710
14711 \end_inset
14712
14713
14714 \hfill
14715
14716 \begin_inset Tabular
14717 <lyxtabular version="3" rows="3" columns="1">
14718 <features>
14719 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14720 <row topline="true">
14721 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14722 \begin_inset Text
14723
14724 \begin_layout Standard
14725 A
14726 \end_layout
14727
14728 \end_inset
14729 </cell>
14730 </row>
14731 <row topline="true" topspace="3mm">
14732 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14733 \begin_inset Text
14734
14735 \begin_layout Standard
14736 3\InsetSpace \thinspace{}
14737 mm space top of row
14738 \end_layout
14739
14740 \end_inset
14741 </cell>
14742 </row>
14743 <row topline="true" bottomline="true">
14744 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14745 \begin_inset Text
14746
14747 \begin_layout Standard
14748 C
14749 \end_layout
14750
14751 \end_inset
14752 </cell>
14753 </row>
14754 </lyxtabular>
14755
14756 \end_inset
14757
14758
14759 \hfill
14760
14761 \begin_inset ERT
14762 status collapsed
14763
14764 \begin_layout Standard
14765
14766
14767 \backslash
14768 hspace*{0pt}
14769 \end_layout
14770
14771 \end_inset
14772
14773
14774 \begin_inset VSpace defskip
14775 \end_inset
14776
14777
14778 \newline
14779 So inserting space to the top of row for normal tables is only useful when
14780  you don't have vertical lines.
14781 \end_layout
14782
14783 \begin_layout Description
14784 Bottom\InsetSpace ~
14785 of\InsetSpace ~
14786 row will add space below the characters of the table row.
14787  If the table is a formal table LyX will insert as default 0.5\InsetSpace \thinspace{}
14788 em space, for
14789  normal tables the default size is 2\InsetSpace \thinspace{}
14790 pt.
14791 \end_layout
14792
14793 \begin_layout Description
14794 Between\InsetSpace ~
14795 rows adds space between the current and the following row.
14796  If the table is a formal table LyX will insert as default 0.5\InsetSpace \thinspace{}
14797 em space.
14798  For normal tables the inserted space will unfortunately destroy the vertical
14799  table lines as in the following table:
14800 \begin_inset VSpace defskip
14801 \end_inset
14802
14803
14804 \newline
14805
14806 \begin_inset ERT
14807 status collapsed
14808
14809 \begin_layout Standard
14810
14811
14812 \backslash
14813 hspace*{0pt}
14814 \end_layout
14815
14816 \end_inset
14817
14818
14819 \hfill
14820
14821 \begin_inset Tabular
14822 <lyxtabular version="3" rows="3" columns="1">
14823 <features>
14824 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14825 <row topline="true">
14826 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14827 \begin_inset Text
14828
14829 \begin_layout Standard
14830 A
14831 \end_layout
14832
14833 \end_inset
14834 </cell>
14835 </row>
14836 <row topline="true" interlinespace="3mm">
14837 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14838 \begin_inset Text
14839
14840 \begin_layout Standard
14841 \begin_inset Formula $\downarrow$
14842 \end_inset
14843
14844  3\InsetSpace \thinspace{}
14845 mm space between row 
14846 \begin_inset Formula $\downarrow$
14847 \end_inset
14848
14849
14850 \end_layout
14851
14852 \end_inset
14853 </cell>
14854 </row>
14855 <row topline="true" bottomline="true">
14856 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14857 \begin_inset Text
14858
14859 \begin_layout Standard
14860 \begin_inset Formula $\uparrow$
14861 \end_inset
14862
14863  3\InsetSpace \thinspace{}
14864 mm space between row 
14865 \begin_inset Formula $\uparrow$
14866 \end_inset
14867
14868
14869 \end_layout
14870
14871 \end_inset
14872 </cell>
14873 </row>
14874 </lyxtabular>
14875
14876 \end_inset
14877
14878
14879 \hfill
14880
14881 \begin_inset ERT
14882 status collapsed
14883
14884 \begin_layout Standard
14885
14886
14887 \backslash
14888 hspace*{0pt}
14889 \end_layout
14890
14891 \end_inset
14892
14893
14894 \begin_inset VSpace defskip
14895 \end_inset
14896
14897
14898 \newline
14899 So inserting space between rows for normal tables is only useful when you
14900  don't have vertical lines.
14901 \end_layout
14902
14903 \begin_layout Standard
14904 When you want to add extra height to all cells of all tables, you can do
14905  this with the following preamble line:
14906 \end_layout
14907
14908 \begin_layout Standard
14909
14910 \series bold
14911
14912 \backslash
14913 setlength{
14914 \backslash
14915 extrarowheight}{height}
14916 \end_layout
14917
14918 \begin_layout Standard
14919 But this has the disadvantage that the cell texts are no longer exactly
14920  vertically centered.
14921 \end_layout
14922
14923 \begin_layout Subsection
14924 Special Cell Alignment
14925 \begin_inset LatexCommand index
14926 name "Table Customization ! Special Cell Alignment"
14927
14928 \end_inset
14929
14930
14931 \end_layout
14932
14933 \begin_layout Standard
14934 Sometimes it looks better when the cell entries of a column are aligned
14935  with a special character, e.\InsetSpace \thinspace{}
14936 g.\InsetSpace ~
14937 with the decimal separator as in Table\InsetSpace ~
14938
14939 \begin_inset LatexCommand ref
14940 reference "tab:Table-cells-of"
14941
14942 \end_inset
14943
14944 .
14945 \end_layout
14946
14947 \begin_layout Standard
14948 \begin_inset Float table
14949 placement h
14950 wide false
14951 sideways false
14952 status open
14953
14954 \begin_layout Standard
14955 \begin_inset Caption
14956
14957 \begin_layout Standard
14958 \begin_inset LatexCommand label
14959 name "tab:Table-cells-of"
14960
14961 \end_inset
14962
14963 Table cells of a column aligned with the decimal separator.
14964 \end_layout
14965
14966 \end_inset
14967
14968
14969 \end_layout
14970
14971 \begin_layout Standard
14972 \align center
14973 \begin_inset Tabular
14974 <lyxtabular version="3" rows="4" columns="2">
14975 <features>
14976 <column alignment="right" valignment="top" width="0">
14977 <column alignment="left" valignment="top" width="0" special="@{}l">
14978 <row bottomline="true">
14979 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
14980 \begin_inset Text
14981
14982 \begin_layout Standard
14983 heading
14984 \end_layout
14985
14986 \end_inset
14987 </cell>
14988 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14989 \begin_inset Text
14990
14991 \begin_layout Standard
14992
14993 \end_layout
14994
14995 \end_inset
14996 </cell>
14997 </row>
14998 <row>
14999 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15000 \begin_inset Text
15001
15002 \begin_layout Standard
15003 12.
15004 \end_layout
15005
15006 \end_inset
15007 </cell>
15008 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15009 \begin_inset Text
15010
15011 \begin_layout Standard
15012 6
15013 \end_layout
15014
15015 \end_inset
15016 </cell>
15017 </row>
15018 <row>
15019 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15020 \begin_inset Text
15021
15022 \begin_layout Standard
15023 0.
15024 \end_layout
15025
15026 \end_inset
15027 </cell>
15028 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15029 \begin_inset Text
15030
15031 \begin_layout Standard
15032 68
15033 \end_layout
15034
15035 \end_inset
15036 </cell>
15037 </row>
15038 <row>
15039 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15040 \begin_inset Text
15041
15042 \begin_layout Standard
15043 -123.
15044 \end_layout
15045
15046 \end_inset
15047 </cell>
15048 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15049 \begin_inset Text
15050
15051 \begin_layout Standard
15052 0
15053 \end_layout
15054
15055 \end_inset
15056 </cell>
15057 </row>
15058 </lyxtabular>
15059
15060 \end_inset
15061
15062
15063 \end_layout
15064
15065 \end_inset
15066
15067
15068 \end_layout
15069
15070 \begin_layout Standard
15071 This table was created with a 4×2 table.
15072  The heading is a centered multicolumn.
15073  The first column is right-aligned and contains the digits before the decimal
15074  point and the decimal point.
15075  The second column is left aligned and contains the digits after the decimal
15076  point.
15077  To omit the space that is normally between two table columns, use the following
15078  LaTeX-argument for the second column:
15079 \end_layout
15080
15081 \begin_layout Standard
15082
15083 \series bold
15084 @{}l
15085 \end_layout
15086
15087 \begin_layout Standard
15088 Table\InsetSpace ~
15089
15090 \begin_inset LatexCommand ref
15091 reference "tab:Several-table-cell"
15092
15093 \end_inset
15094
15095  shows some example alignments.
15096  For the alignment with the relation sign, you must add the second smallest
15097  math-space at the beginning of the last column to get the correct space
15098  surrounding the relation sign.
15099 \end_layout
15100
15101 \begin_layout Standard
15102 \begin_inset Float table
15103 wide false
15104 sideways false
15105 status open
15106
15107 \begin_layout Standard
15108 \begin_inset Caption
15109
15110 \begin_layout Standard
15111 \begin_inset LatexCommand label
15112 name "tab:Several-table-cell"
15113
15114 \end_inset
15115
15116 Several table cell alignments.
15117 \end_layout
15118
15119 \end_inset
15120
15121
15122 \end_layout
15123
15124 \begin_layout Standard
15125 \align center
15126 \begin_inset Tabular
15127 <lyxtabular version="3" rows="4" columns="6">
15128 <features>
15129 <column alignment="right" valignment="top" width="0">
15130 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l">
15131 <column alignment="right" valignment="top" width="0">
15132 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l">
15133 <column alignment="right" valignment="top" width="0">
15134 <column alignment="left" valignment="top" width="0" special="@{}l">
15135 <row bottomline="true">
15136 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15137 \begin_inset Text
15138
15139 \begin_layout Standard
15140 units
15141 \end_layout
15142
15143 \end_inset
15144 </cell>
15145 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15146 \begin_inset Text
15147
15148 \begin_layout Standard
15149
15150 \end_layout
15151
15152 \end_inset
15153 </cell>
15154 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15155 \begin_inset Text
15156
15157 \begin_layout Standard
15158 exponents
15159 \end_layout
15160
15161 \end_inset
15162 </cell>
15163 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15164 \begin_inset Text
15165
15166 \begin_layout Standard
15167
15168 \end_layout
15169
15170 \end_inset
15171 </cell>
15172 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15173 \begin_inset Text
15174
15175 \begin_layout Standard
15176 relations
15177 \end_layout
15178
15179 \end_inset
15180 </cell>
15181 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15182 \begin_inset Text
15183
15184 \begin_layout Standard
15185
15186 \end_layout
15187
15188 \end_inset
15189 </cell>
15190 </row>
15191 <row>
15192 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15193 \begin_inset Text
15194
15195 \begin_layout Standard
15196 12×
15197 \end_layout
15198
15199 \end_inset
15200 </cell>
15201 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15202 \begin_inset Text
15203
15204 \begin_layout Standard
15205 24\InsetSpace \thinspace{}
15206 bottles
15207 \end_layout
15208
15209 \end_inset
15210 </cell>
15211 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15212 \begin_inset Text
15213
15214 \begin_layout Standard
15215 \begin_inset Formula $10\cdot$
15216 \end_inset
15217
15218
15219 \end_layout
15220
15221 \end_inset
15222 </cell>
15223 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15224 \begin_inset Text
15225
15226 \begin_layout Standard
15227 \begin_inset Formula $10^{\mbox{-}17}$
15228 \end_inset
15229
15230
15231 \end_layout
15232
15233 \end_inset
15234 </cell>
15235 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15236 \begin_inset Text
15237
15238 \begin_layout Standard
15239 \begin_inset Formula $\Gamma(t)\propto$
15240 \end_inset
15241
15242
15243 \end_layout
15244
15245 \end_inset
15246 </cell>
15247 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15248 \begin_inset Text
15249
15250 \begin_layout Standard
15251 \begin_inset Formula $\:\Upsilon(t)$
15252 \end_inset
15253
15254
15255 \end_layout
15256
15257 \end_inset
15258 </cell>
15259 </row>
15260 <row>
15261 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15262 \begin_inset Text
15263
15264 \begin_layout Standard
15265 1024×
15266 \end_layout
15267
15268 \end_inset
15269 </cell>
15270 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15271 \begin_inset Text
15272
15273 \begin_layout Standard
15274 768\InsetSpace \thinspace{}
15275 Pixels
15276 \end_layout
15277
15278 \end_inset
15279 </cell>
15280 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15281 \begin_inset Text
15282
15283 \begin_layout Standard
15284 \begin_inset Formula $5.78\cdot$
15285 \end_inset
15286
15287
15288 \end_layout
15289
15290 \end_inset
15291 </cell>
15292 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15293 \begin_inset Text
15294
15295 \begin_layout Standard
15296 \begin_inset Formula $10^{7}$
15297 \end_inset
15298
15299
15300 \end_layout
15301
15302 \end_inset
15303 </cell>
15304 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15305 \begin_inset Text
15306
15307 \begin_layout Standard
15308 \begin_inset Formula $A\ne$
15309 \end_inset
15310
15311
15312 \end_layout
15313
15314 \end_inset
15315 </cell>
15316 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15317 \begin_inset Text
15318
15319 \begin_layout Standard
15320 \begin_inset Formula $\: B_{\mathrm{red}}$
15321 \end_inset
15322
15323
15324 \end_layout
15325
15326 \end_inset
15327 </cell>
15328 </row>
15329 <row>
15330 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15331 \begin_inset Text
15332
15333 \begin_layout Standard
15334 32×
15335 \end_layout
15336
15337 \end_inset
15338 </cell>
15339 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15340 \begin_inset Text
15341
15342 \begin_layout Standard
15343 6\InsetSpace \thinspace{}
15344 cm
15345 \end_layout
15346
15347 \end_inset
15348 </cell>
15349 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15350 \begin_inset Text
15351
15352 \begin_layout Standard
15353 -
15354 \begin_inset Formula $33.5\cdot$
15355 \end_inset
15356
15357
15358 \end_layout
15359
15360 \end_inset
15361 </cell>
15362 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15363 \begin_inset Text
15364
15365 \begin_layout Standard
15366 \begin_inset Formula $10^{4}$
15367 \end_inset
15368
15369
15370 \end_layout
15371
15372 \end_inset
15373 </cell>
15374 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15375 \begin_inset Text
15376
15377 \begin_layout Standard
15378 \begin_inset Formula $\sin(\alpha)\ge$
15379 \end_inset
15380
15381
15382 \end_layout
15383
15384 \end_inset
15385 </cell>
15386 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15387 \begin_inset Text
15388
15389 \begin_layout Standard
15390 \begin_inset Formula $\:\sin(\beta)$
15391 \end_inset
15392
15393
15394 \end_layout
15395
15396 \end_inset
15397 </cell>
15398 </row>
15399 </lyxtabular>
15400
15401 \end_inset
15402
15403
15404 \end_layout
15405
15406 \end_inset
15407
15408
15409 \end_layout
15410
15411 \begin_layout Standard
15412 \begin_inset VSpace bigskip
15413 \end_inset
15414
15415 There is also the LaTeX-package 
15416 \series bold
15417 dcolumn
15418 \series default
15419
15420 \begin_inset LatexCommand index
15421 name "LaTeX-packages ! dcolumn"
15422
15423 \end_inset
15424
15425  that provides table cell alignments.
15426  But this unfortunately treats the cell entries as math and doesn't allow
15427  formulas in table cells: The first column of Table\InsetSpace ~
15428
15429 \begin_inset LatexCommand ref
15430 reference "tab:Several-table-cell"
15431
15432 \end_inset
15433
15434  will look with 
15435 \series bold
15436 dcolumn
15437 \series default
15438  like the first column in Table\InsetSpace ~
15439
15440 \begin_inset LatexCommand ref
15441 reference "tab:Alignments-when"
15442
15443 \end_inset
15444
15445  and only with some tricks like the expected.
15446  The alignment of the second and third column of Table\InsetSpace ~
15447
15448 \begin_inset LatexCommand ref
15449 reference "tab:Several-table-cell"
15450
15451 \end_inset
15452
15453  is not possible with 
15454 \series bold
15455 dcolumn
15456 \series default
15457 .
15458 \end_layout
15459
15460 \begin_layout Standard
15461 \begin_inset Float table
15462 placement h
15463 wide false
15464 sideways false
15465 status open
15466
15467 \begin_layout Standard
15468 \begin_inset Caption
15469
15470 \begin_layout Standard
15471 \begin_inset LatexCommand label
15472 name "tab:Alignments-when"
15473
15474 \end_inset
15475
15476 Alignments when LaTeX-package dcolumn is used.
15477  For all column alignments tricks have to be used to get the output.
15478 \end_layout
15479
15480 \end_inset
15481
15482
15483 \end_layout
15484
15485 \begin_layout Standard
15486 \align center
15487 \begin_inset Tabular
15488 <lyxtabular version="3" rows="4" columns="3">
15489 <features>
15490 <column alignment="center" valignment="top" rightline="true" width="0" special="D{x}{\times}{-1}">
15491 <column alignment="center" valignment="top" rightline="true" width="0" special="D{x}{\times}{4.9}">
15492 <column alignment="center" valignment="top" width="0" special="D{~}{\,}{9.7}">
15493 <row bottomline="true">
15494 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15495 \begin_inset Text
15496
15497 \begin_layout Standard
15498 units
15499 \end_layout
15500
15501 \end_inset
15502 </cell>
15503 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15504 \begin_inset Text
15505
15506 \begin_layout Standard
15507 units
15508 \end_layout
15509
15510 \end_inset
15511 </cell>
15512 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15513 \begin_inset Text
15514
15515 \begin_layout Standard
15516 units
15517 \end_layout
15518
15519 \end_inset
15520 </cell>
15521 </row>
15522 <row>
15523 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15524 \begin_inset Text
15525
15526 \begin_layout Standard
15527 12x24\InsetSpace \thinspace{}
15528 bottles
15529 \end_layout
15530
15531 \end_inset
15532 </cell>
15533 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15534 \begin_inset Text
15535
15536 \begin_layout Standard
15537 12x24\InsetSpace \thinspace{}
15538
15539 \begin_inset Formula $\mbox{bottles}$
15540 \end_inset
15541
15542
15543 \end_layout
15544
15545 \end_inset
15546 </cell>
15547 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15548 \begin_inset Text
15549
15550 \begin_layout Standard
15551 12
15552 \begin_inset ERT
15553 status collapsed
15554
15555 \begin_layout Standard
15556
15557
15558 \backslash
15559 times 
15560 \end_layout
15561
15562 \end_inset
15563
15564 24~
15565 \begin_inset Formula $\mbox{bottles}$
15566 \end_inset
15567
15568
15569 \end_layout
15570
15571 \end_inset
15572 </cell>
15573 </row>
15574 <row>
15575 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15576 \begin_inset Text
15577
15578 \begin_layout Standard
15579 1024x768\InsetSpace \thinspace{}
15580 Pixels
15581 \end_layout
15582
15583 \end_inset
15584 </cell>
15585 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15586 \begin_inset Text
15587
15588 \begin_layout Standard
15589 1024x768\InsetSpace \thinspace{}
15590
15591 \begin_inset Formula $\mbox{Pixels}$
15592 \end_inset
15593
15594
15595 \end_layout
15596
15597 \end_inset
15598 </cell>
15599 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15600 \begin_inset Text
15601
15602 \begin_layout Standard
15603 1024
15604 \begin_inset ERT
15605 status collapsed
15606
15607 \begin_layout Standard
15608
15609
15610 \backslash
15611 times 
15612 \end_layout
15613
15614 \end_inset
15615
15616 768~
15617 \begin_inset Formula $\mbox{Pixels}$
15618 \end_inset
15619
15620
15621 \end_layout
15622
15623 \end_inset
15624 </cell>
15625 </row>
15626 <row>
15627 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15628 \begin_inset Text
15629
15630 \begin_layout Standard
15631 32x6\InsetSpace \thinspace{}
15632 cm
15633 \end_layout
15634
15635 \end_inset
15636 </cell>
15637 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15638 \begin_inset Text
15639
15640 \begin_layout Standard
15641 32x6\InsetSpace \thinspace{}
15642
15643 \begin_inset Formula $\mbox{cm}$
15644 \end_inset
15645
15646
15647 \end_layout
15648
15649 \end_inset
15650 </cell>
15651 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15652 \begin_inset Text
15653
15654 \begin_layout Standard
15655 32
15656 \begin_inset ERT
15657 status collapsed
15658
15659 \begin_layout Standard
15660
15661
15662 \backslash
15663 times 
15664 \end_layout
15665
15666 \end_inset
15667
15668 6~
15669 \begin_inset Formula $\mbox{cm}$
15670 \end_inset
15671
15672
15673 \end_layout
15674
15675 \end_inset
15676 </cell>
15677 </row>
15678 </lyxtabular>
15679
15680 \end_inset
15681
15682
15683 \end_layout
15684
15685 \end_inset
15686
15687
15688 \end_layout
15689
15690 \begin_layout Subsection
15691 Customized Cell/Column Format
15692 \begin_inset LatexCommand label
15693 name "sub:Customized-Format"
15694
15695 \end_inset
15696
15697
15698 \begin_inset LatexCommand index
15699 name "Table Customization ! Cell/Column Format"
15700
15701 \end_inset
15702
15703
15704 \end_layout
15705
15706 \begin_layout Standard
15707 Calculating the needed width for spanned columns like in section\InsetSpace ~
15708
15709 \begin_inset LatexCommand ref
15710 reference "sub:Multicolumn-Calculations"
15711
15712 \end_inset
15713
15714  is very annoying if you have several tables with multicolumn cells.
15715  To make life easier, you can define a cell/column format in the preamble,
15716  so that it can be used in all tables of the document.
15717  The format is defined with the command
15718 \end_layout
15719
15720 \begin_layout Standard
15721
15722 \series bold
15723
15724 \backslash
15725 newcolumntype{name of format}[number of arguments]{commands}
15726 \end_layout
15727
15728 \begin_layout Standard
15729 The format name may only consist of one letter.
15730  The letters 
15731 \emph on
15732 b
15733 \emph default
15734
15735 \emph on
15736 c
15737 \emph default
15738
15739 \emph on
15740 l
15741 \emph default
15742
15743 \emph on
15744 m
15745 \emph default
15746
15747 \emph on
15748 p
15749 \emph default
15750  and 
15751 \emph on
15752 r
15753 \emph default
15754  are predefined and cannot be used.
15755  But all letters are allowed as capitals.
15756 \end_layout
15757
15758 \begin_layout Standard
15759 \begin_inset VSpace medskip
15760 \end_inset
15761
15762
15763 \end_layout
15764
15765 \begin_layout Standard
15766 For vertically and horizontally centered multicolumn cells with a fixed
15767  width you can define the cell format
15768 \end_layout
15769
15770 \begin_layout Standard
15771
15772 \series bold
15773
15774 \backslash
15775 newcolumntype{M}[1]{>{
15776 \backslash
15777 centering
15778 \backslash
15779 hspace{0pt}}m{#1}}
15780 \end_layout
15781
15782 \begin_layout Standard
15783 where 
15784 \series bold
15785
15786 \backslash
15787 hspace{0pt}
15788 \series default
15789  avoids the problem of hyphenating the first word, as described in section\InsetSpace ~
15790
15791 \begin_inset LatexCommand ref
15792 reference "sub:Multiple-Lines-in"
15793
15794 \end_inset
15795
15796 .
15797  Now you can simply enter
15798 \end_layout
15799
15800 \begin_layout Standard
15801
15802 \series bold
15803 M{width}
15804 \end_layout
15805
15806 \begin_layout Standard
15807 as LaTeX-argument in the table dialog to create a multicolumn.
15808 \end_layout
15809
15810 \begin_layout Standard
15811 \begin_inset VSpace bigskip
15812 \end_inset
15813
15814
15815 \end_layout
15816
15817 \begin_layout Standard
15818 For cells spanned by a multicolumn cell, you can define the format
15819 \end_layout
15820
15821 \begin_layout Standard
15822
15823 \series bold
15824
15825 \backslash
15826 newcolumntype{S}[2]{>{
15827 \backslash
15828 centering
15829 \backslash
15830 hspace{0pt}}
15831 \newline
15832
15833 \begin_inset ERT
15834 status collapsed
15835
15836 \begin_layout Standard
15837
15838
15839 \backslash
15840 phantom{
15841 \end_layout
15842
15843 \end_inset
15844
15845
15846 \backslash
15847 newcolumntype{S}[2]
15848 \begin_inset ERT
15849 status collapsed
15850
15851 \begin_layout Standard
15852
15853 }
15854 \end_layout
15855
15856 \end_inset
15857
15858 m{(#1+(2
15859 \backslash
15860 tabcolsep+
15861 \backslash
15862 arrayrulewidth)*(1-#2))/#2}}
15863 \end_layout
15864
15865 \begin_layout Standard
15866 This format uses equation 
15867 \begin_inset LatexCommand eqref
15868 reference "eq:Wgn"
15869
15870 \end_inset
15871
15872  to calculate the needed width so that each spanned cell has the same width.
15873 \end_layout
15874
15875 \begin_layout Standard
15876 You can now enter
15877 \end_layout
15878
15879 \begin_layout Standard
15880
15881 \series bold
15882 S{width of multicolumn cell}{number of spanned columns}
15883 \end_layout
15884
15885 \begin_layout Standard
15886 as LaTeX-argument of the column.
15887 \end_layout
15888
15889 \begin_layout Standard
15890 \begin_inset VSpace bigskip
15891 \end_inset
15892
15893
15894 \end_layout
15895
15896 \begin_layout Standard
15897 For colored columns, you can define
15898 \end_layout
15899
15900 \begin_layout Standard
15901
15902 \series bold
15903
15904 \backslash
15905 newcolumntype{K}[1]{>{
15906 \backslash
15907 columncolor{#1}
15908 \backslash
15909 hspace{0pt}}c}
15910 \end_layout
15911
15912 \begin_layout Standard
15913 The 
15914 \begin_inset Quotes eld
15915 \end_inset
15916
15917 c
15918 \begin_inset Quotes erd
15919 \end_inset
15920
15921  at the end creates a column with a flexible width whose text is horizontally
15922  centered.
15923  You can now enter
15924 \end_layout
15925
15926 \begin_layout Standard
15927
15928 \series bold
15929 K{color name}
15930 \end_layout
15931
15932 \begin_layout Standard
15933 as LaTeX-argument.
15934 \end_layout
15935
15936 \begin_layout Standard
15937 \begin_inset VSpace bigskip
15938 \end_inset
15939
15940
15941 \end_layout
15942
15943 \begin_layout Standard
15944 To create Table\InsetSpace ~
15945
15946 \begin_inset LatexCommand ref
15947 reference "tab:Table-using-user-defined"
15948
15949 \end_inset
15950
15951  use the LaTeX-arguments
15952 \end_layout
15953
15954 \begin_layout Standard
15955
15956 \series bold
15957 M{2.5cm}
15958 \end_layout
15959
15960 \begin_layout Standard
15961 for the first column and the multicolumn,
15962 \end_layout
15963
15964 \begin_layout Standard
15965
15966 \series bold
15967 K{red}
15968 \end_layout
15969
15970 \begin_layout Standard
15971 for the the last column, and
15972 \end_layout
15973
15974 \begin_layout Standard
15975
15976 \series bold
15977 S{2.5cm}{2}
15978 \end_layout
15979
15980 \begin_layout Standard
15981 for the cells in the second column.
15982 \end_layout
15983
15984 \begin_layout Standard
15985 \begin_inset Float table
15986 placement h
15987 wide false
15988 sideways false
15989 status open
15990
15991 \begin_layout Standard
15992 \begin_inset Caption
15993
15994 \begin_layout Standard
15995 \begin_inset LatexCommand label
15996 name "tab:Table-using-user-defined"
15997
15998 \end_inset
15999
16000 Table using user-defined table formats
16001 \end_layout
16002
16003 \end_inset
16004
16005
16006 \end_layout
16007
16008 \begin_layout Standard
16009 \align center
16010 \begin_inset Tabular
16011 <lyxtabular version="3" rows="3" columns="4">
16012 <features>
16013 <column alignment="center" valignment="middle" leftline="true" width="2.5cm" special="M{2.5cm}">
16014 <column alignment="center" valignment="middle" leftline="true" width="0" special="S{2.5cm}{2}">
16015 <column alignment="center" valignment="middle" leftline="true" width="0">
16016 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0" special="K{red}">
16017 <row topline="true">
16018 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16019 \begin_inset Text
16020
16021 \begin_layout Standard
16022 verylongtablecellword
16023 \end_layout
16024
16025 \end_inset
16026 </cell>
16027 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none" special="M{2.5cm}">
16028 \begin_inset Text
16029
16030 \begin_layout Standard
16031 multiple lines multicolumn
16032 \end_layout
16033
16034 \end_inset
16035 </cell>
16036 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16037 \begin_inset Text
16038
16039 \begin_layout Standard
16040
16041 \end_layout
16042
16043 \end_inset
16044 </cell>
16045 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16046 \begin_inset Text
16047
16048 \begin_layout Standard
16049 c
16050 \end_layout
16051
16052 \end_inset
16053 </cell>
16054 </row>
16055 <row topline="true">
16056 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16057 \begin_inset Text
16058
16059 \begin_layout Standard
16060 d
16061 \end_layout
16062
16063 \end_inset
16064 </cell>
16065 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16066 \begin_inset Text
16067
16068 \begin_layout Standard
16069 e
16070 \end_layout
16071
16072 \end_inset
16073 </cell>
16074 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16075 \begin_inset Text
16076
16077 \begin_layout Standard
16078 f
16079 \end_layout
16080
16081 \end_inset
16082 </cell>
16083 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16084 \begin_inset Text
16085
16086 \begin_layout Standard
16087 g
16088 \end_layout
16089
16090 \end_inset
16091 </cell>
16092 </row>
16093 <row topline="true" bottomline="true">
16094 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16095 \begin_inset Text
16096
16097 \begin_layout Standard
16098 h
16099 \end_layout
16100
16101 \end_inset
16102 </cell>
16103 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16104 \begin_inset Text
16105
16106 \begin_layout Standard
16107 i
16108 \end_layout
16109
16110 \end_inset
16111 </cell>
16112 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16113 \begin_inset Text
16114
16115 \begin_layout Standard
16116 j
16117 \end_layout
16118
16119 \end_inset
16120 </cell>
16121 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16122 \begin_inset Text
16123
16124 \begin_layout Standard
16125 k
16126 \end_layout
16127
16128 \end_inset
16129 </cell>
16130 </row>
16131 </lyxtabular>
16132
16133 \end_inset
16134
16135
16136 \end_layout
16137
16138 \end_inset
16139
16140
16141 \end_layout
16142
16143 \begin_layout Subsection
16144 Line Thickness
16145 \begin_inset LatexCommand label
16146 name "sub:Line-Thickness"
16147
16148 \end_inset
16149
16150
16151 \begin_inset LatexCommand index
16152 name "Table Customization ! Line Thickness"
16153
16154 \end_inset
16155
16156
16157 \end_layout
16158
16159 \begin_layout Standard
16160 The line thickness for all lines in a table can be adjusted with the length
16161  
16162 \series bold
16163
16164 \backslash
16165 arrayrulewidth
16166 \series default
16167 .
16168  To set for example a line thickness of 1.5\InsetSpace \thinspace{}
16169 pt, like in Table\InsetSpace ~
16170
16171 \begin_inset LatexCommand ref
16172 reference "tab:Table-with-1.5"
16173
16174 \end_inset
16175
16176 , insert the command
16177 \end_layout
16178
16179 \begin_layout Standard
16180
16181 \series bold
16182
16183 \backslash
16184 setlength{
16185 \backslash
16186 arrayrulewidth}{1.5pt}
16187 \end_layout
16188
16189 \begin_layout Standard
16190 in ERT before the table or table float.
16191  The changed thickness is valid for all following tables.
16192  To use the default value again, set 
16193 \series bold
16194
16195 \backslash
16196 arrayrulewidth
16197 \series default
16198  to 0.4\InsetSpace \thinspace{}
16199 pt in ERT behind the table or table float.
16200 \end_layout
16201
16202 \begin_layout Standard
16203 \begin_inset ERT
16204 status collapsed
16205
16206 \begin_layout Standard
16207
16208
16209 \backslash
16210 setlength{
16211 \backslash
16212 arrayrulewidth}{1.5pt}
16213 \end_layout
16214
16215 \end_inset
16216
16217
16218 \begin_inset Float table
16219 wide false
16220 sideways false
16221 status open
16222
16223 \begin_layout Standard
16224 \begin_inset Caption
16225
16226 \begin_layout Standard
16227 \begin_inset LatexCommand label
16228 name "tab:Table-with-1.5"
16229
16230 \end_inset
16231
16232 Table with 1.5\InsetSpace \thinspace{}
16233 pt thick lines
16234 \end_layout
16235
16236 \end_inset
16237
16238
16239 \end_layout
16240
16241 \begin_layout Standard
16242 \align center
16243 \begin_inset Tabular
16244 <lyxtabular version="3" rows="3" columns="3">
16245 <features>
16246 <column alignment="center" valignment="top" leftline="true" width="0">
16247 <column alignment="center" valignment="top" leftline="true" width="0">
16248 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16249 <row topline="true">
16250 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16251 \begin_inset Text
16252
16253 \begin_layout Standard
16254 sd
16255 \end_layout
16256
16257 \end_inset
16258 </cell>
16259 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16260 \begin_inset Text
16261
16262 \begin_layout Standard
16263
16264 \end_layout
16265
16266 \end_inset
16267 </cell>
16268 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16269 \begin_inset Text
16270
16271 \begin_layout Standard
16272
16273 \end_layout
16274
16275 \end_inset
16276 </cell>
16277 </row>
16278 <row topline="true">
16279 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16280 \begin_inset Text
16281
16282 \begin_layout Standard
16283
16284 \end_layout
16285
16286 \end_inset
16287 </cell>
16288 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16289 \begin_inset Text
16290
16291 \begin_layout Standard
16292 sd
16293 \end_layout
16294
16295 \end_inset
16296 </cell>
16297 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16298 \begin_inset Text
16299
16300 \begin_layout Standard
16301
16302 \end_layout
16303
16304 \end_inset
16305 </cell>
16306 </row>
16307 <row topline="true" bottomline="true">
16308 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16309 \begin_inset Text
16310
16311 \begin_layout Standard
16312
16313 \end_layout
16314
16315 \end_inset
16316 </cell>
16317 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16318 \begin_inset Text
16319
16320 \begin_layout Standard
16321
16322 \end_layout
16323
16324 \end_inset
16325 </cell>
16326 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16327 \begin_inset Text
16328
16329 \begin_layout Standard
16330 sd
16331 \end_layout
16332
16333 \end_inset
16334 </cell>
16335 </row>
16336 </lyxtabular>
16337
16338 \end_inset
16339
16340
16341 \end_layout
16342
16343 \end_inset
16344
16345
16346 \begin_inset ERT
16347 status collapsed
16348
16349 \begin_layout Standard
16350
16351
16352 \backslash
16353 setlength{
16354 \backslash
16355 arrayrulewidth}{0.4pt}
16356 \end_layout
16357
16358 \end_inset
16359
16360
16361 \end_layout
16362
16363 \begin_layout Standard
16364 \begin_inset VSpace bigskip
16365 \end_inset
16366
16367 To set the line thickness to 1.5\InsetSpace \thinspace{}
16368 pt only for horizontal lines, like in Table\InsetSpace ~
16369
16370 \begin_inset LatexCommand ref
16371 reference "tab:Table-with-horizontal"
16372
16373 \end_inset
16374
16375 , insert these commands in ERT before the table or table float:
16376 \end_layout
16377
16378 \begin_layout Standard
16379
16380 \series bold
16381
16382 \backslash
16383 let
16384 \backslash
16385 myHline
16386 \backslash
16387 hline
16388 \newline
16389
16390 \backslash
16391 renewcommand{
16392 \backslash
16393 hline}
16394 \newline
16395  {
16396 \backslash
16397 noalign{
16398 \backslash
16399 global
16400 \backslash
16401 arrayrulewidth 1.5pt}
16402 \newline
16403   
16404 \backslash
16405 myHline
16406 \backslash
16407 noalign{
16408 \backslash
16409 global
16410 \backslash
16411 arrayrulewidth 0.4pt}}
16412 \end_layout
16413
16414 \begin_layout Standard
16415 To return to the default line thickness, insert this command in ERT behind
16416  the table or table float:
16417 \end_layout
16418
16419 \begin_layout Standard
16420
16421 \series bold
16422
16423 \backslash
16424 renewcommand{
16425 \backslash
16426 hline}{
16427 \backslash
16428 myHline}
16429 \end_layout
16430
16431 \begin_layout Standard
16432 \begin_inset ERT
16433 status collapsed
16434
16435 \begin_layout Standard
16436
16437
16438 \backslash
16439 let
16440 \backslash
16441 myHline
16442 \backslash
16443 hline
16444 \end_layout
16445
16446 \begin_layout Standard
16447
16448
16449 \backslash
16450 renewcommand{
16451 \backslash
16452 hline}
16453 \end_layout
16454
16455 \begin_layout Standard
16456
16457  {
16458 \backslash
16459 noalign{
16460 \backslash
16461 global
16462 \backslash
16463 arrayrulewidth 1.5pt}
16464 \end_layout
16465
16466 \begin_layout Standard
16467
16468   
16469 \backslash
16470 myHline
16471 \backslash
16472 noalign{
16473 \backslash
16474 global
16475 \backslash
16476 arrayrulewidth 0.4pt}}
16477 \end_layout
16478
16479 \end_inset
16480
16481
16482 \begin_inset Float table
16483 wide false
16484 sideways false
16485 status open
16486
16487 \begin_layout Standard
16488 \begin_inset Caption
16489
16490 \begin_layout Standard
16491 \begin_inset LatexCommand label
16492 name "tab:Table-with-horizontal"
16493
16494 \end_inset
16495
16496 Table with 1.5\InsetSpace \thinspace{}
16497 pt thick horizontal lines
16498 \end_layout
16499
16500 \end_inset
16501
16502
16503 \end_layout
16504
16505 \begin_layout Standard
16506 \align center
16507 \begin_inset Tabular
16508 <lyxtabular version="3" rows="3" columns="3">
16509 <features>
16510 <column alignment="center" valignment="top" leftline="true" width="0">
16511 <column alignment="center" valignment="top" leftline="true" width="0">
16512 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16513 <row topline="true">
16514 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16515 \begin_inset Text
16516
16517 \begin_layout Standard
16518 sd
16519 \end_layout
16520
16521 \end_inset
16522 </cell>
16523 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16524 \begin_inset Text
16525
16526 \begin_layout Standard
16527
16528 \end_layout
16529
16530 \end_inset
16531 </cell>
16532 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16533 \begin_inset Text
16534
16535 \begin_layout Standard
16536
16537 \end_layout
16538
16539 \end_inset
16540 </cell>
16541 </row>
16542 <row topline="true">
16543 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16544 \begin_inset Text
16545
16546 \begin_layout Standard
16547
16548 \end_layout
16549
16550 \end_inset
16551 </cell>
16552 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16553 \begin_inset Text
16554
16555 \begin_layout Standard
16556 sd
16557 \end_layout
16558
16559 \end_inset
16560 </cell>
16561 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16562 \begin_inset Text
16563
16564 \begin_layout Standard
16565
16566 \end_layout
16567
16568 \end_inset
16569 </cell>
16570 </row>
16571 <row topline="true" bottomline="true">
16572 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16573 \begin_inset Text
16574
16575 \begin_layout Standard
16576
16577 \end_layout
16578
16579 \end_inset
16580 </cell>
16581 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16582 \begin_inset Text
16583
16584 \begin_layout Standard
16585
16586 \end_layout
16587
16588 \end_inset
16589 </cell>
16590 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16591 \begin_inset Text
16592
16593 \begin_layout Standard
16594 sd
16595 \end_layout
16596
16597 \end_inset
16598 </cell>
16599 </row>
16600 </lyxtabular>
16601
16602 \end_inset
16603
16604
16605 \end_layout
16606
16607 \end_inset
16608
16609
16610 \begin_inset ERT
16611 status collapsed
16612
16613 \begin_layout Standard
16614
16615
16616 \backslash
16617 renewcommand{
16618 \backslash
16619 hline}{
16620 \backslash
16621 myHline}
16622 \end_layout
16623
16624 \end_inset
16625
16626
16627 \end_layout
16628
16629 \begin_layout Standard
16630 \begin_inset VSpace bigskip
16631 \end_inset
16632
16633 To set the line thickness to 1.5\InsetSpace \thinspace{}
16634 pt only for vertical lines, create the following
16635  column format in the document preamble, according to the description in
16636  section\InsetSpace ~
16637
16638 \begin_inset LatexCommand ref
16639 reference "sub:Customized-Format"
16640
16641 \end_inset
16642
16643 :
16644 \end_layout
16645
16646 \begin_layout Standard
16647
16648 \series bold
16649
16650 \backslash
16651 newcolumntype{V}{!{
16652 \backslash
16653 vrule width 1.5pt}}
16654 \end_layout
16655
16656 \begin_layout Standard
16657 For Table\InsetSpace ~
16658
16659 \begin_inset LatexCommand ref
16660 reference "tab:Table-with-vertical"
16661
16662 \end_inset
16663
16664  the LaTeX-argument
16665 \end_layout
16666
16667 \begin_layout Standard
16668
16669 \series bold
16670 VcV
16671 \end_layout
16672
16673 \begin_layout Standard
16674 was used for the last column and
16675 \end_layout
16676
16677 \begin_layout Standard
16678
16679 \series bold
16680 Vc
16681 \end_layout
16682
16683 \begin_layout Standard
16684 for the other columns.
16685 \end_layout
16686
16687 \begin_layout Standard
16688 \begin_inset Float table
16689 wide false
16690 sideways false
16691 status open
16692
16693 \begin_layout Standard
16694 \begin_inset Caption
16695
16696 \begin_layout Standard
16697 \begin_inset LatexCommand label
16698 name "tab:Table-with-vertical"
16699
16700 \end_inset
16701
16702 Table with 1.5\InsetSpace \thinspace{}
16703 pt thick vertical lines
16704 \end_layout
16705
16706 \end_inset
16707
16708
16709 \end_layout
16710
16711 \begin_layout Standard
16712 \align center
16713 \begin_inset Tabular
16714 <lyxtabular version="3" rows="3" columns="3">
16715 <features>
16716 <column alignment="center" valignment="top" width="0" special="Vc">
16717 <column alignment="center" valignment="top" width="0" special="Vc">
16718 <column alignment="center" valignment="top" width="0" special="VcV">
16719 <row topline="true">
16720 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16721 \begin_inset Text
16722
16723 \begin_layout Standard
16724 sd
16725 \end_layout
16726
16727 \end_inset
16728 </cell>
16729 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16730 \begin_inset Text
16731
16732 \begin_layout Standard
16733
16734 \end_layout
16735
16736 \end_inset
16737 </cell>
16738 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16739 \begin_inset Text
16740
16741 \begin_layout Standard
16742
16743 \end_layout
16744
16745 \end_inset
16746 </cell>
16747 </row>
16748 <row topline="true">
16749 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16750 \begin_inset Text
16751
16752 \begin_layout Standard
16753
16754 \end_layout
16755
16756 \end_inset
16757 </cell>
16758 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16759 \begin_inset Text
16760
16761 \begin_layout Standard
16762 sd
16763 \end_layout
16764
16765 \end_inset
16766 </cell>
16767 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16768 \begin_inset Text
16769
16770 \begin_layout Standard
16771
16772 \end_layout
16773
16774 \end_inset
16775 </cell>
16776 </row>
16777 <row topline="true" bottomline="true">
16778 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16779 \begin_inset Text
16780
16781 \begin_layout Standard
16782
16783 \end_layout
16784
16785 \end_inset
16786 </cell>
16787 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16788 \begin_inset Text
16789
16790 \begin_layout Standard
16791
16792 \end_layout
16793
16794 \end_inset
16795 </cell>
16796 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16797 \begin_inset Text
16798
16799 \begin_layout Standard
16800 sd
16801 \end_layout
16802
16803 \end_inset
16804 </cell>
16805 </row>
16806 </lyxtabular>
16807
16808 \end_inset
16809
16810
16811 \end_layout
16812
16813 \end_inset
16814
16815
16816 \end_layout
16817
16818 \begin_layout Subsection
16819 Dashed Lines
16820 \begin_inset LatexCommand index
16821 name "Table Customization ! Dashed Lines"
16822
16823 \end_inset
16824
16825
16826 \end_layout
16827
16828 \begin_layout Standard
16829 \begin_inset ERT
16830 status collapsed
16831
16832 \begin_layout Standard
16833
16834
16835 \backslash
16836 ifarydshln
16837 \end_layout
16838
16839 \end_inset
16840
16841
16842 \begin_inset Note Note
16843 status open
16844
16845 \begin_layout Standard
16846 The following section will only be displayed when you have the LaTeX-package
16847  
16848 \series bold
16849 arydshln
16850 \series default
16851  is installed.
16852 \end_layout
16853
16854 \end_inset
16855
16856
16857 \end_layout
16858
16859 \begin_layout Standard
16860 \begin_inset Float table
16861 placement H
16862 wide false
16863 sideways false
16864 status open
16865
16866 \begin_layout Standard
16867 \begin_inset Caption
16868
16869 \begin_layout Standard
16870 \begin_inset LatexCommand label
16871 name "tab:Table-with-dashed"
16872
16873 \end_inset
16874
16875 Table with dashed lines
16876 \end_layout
16877
16878 \end_inset
16879
16880
16881 \end_layout
16882
16883 \begin_layout Standard
16884 \align center
16885 \begin_inset Tabular
16886 <lyxtabular version="3" rows="5" columns="5">
16887 <features>
16888 <column alignment="center" valignment="top" leftline="true" width="0">
16889 <column alignment="center" valignment="top" leftline="true" width="0">
16890 <column alignment="center" valignment="top" width="0" special=":c">
16891 <column alignment="center" valignment="top" leftline="true" width="0">
16892 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16893 <row topline="true" bottomline="true">
16894 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16895 \begin_inset Text
16896
16897 \begin_layout Standard
16898 a
16899 \end_layout
16900
16901 \end_inset
16902 </cell>
16903 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16904 \begin_inset Text
16905
16906 \begin_layout Standard
16907 b
16908 \end_layout
16909
16910 \end_inset
16911 </cell>
16912 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16913 \begin_inset Text
16914
16915 \begin_layout Standard
16916 c
16917 \end_layout
16918
16919 \end_inset
16920 </cell>
16921 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16922 \begin_inset Text
16923
16924 \begin_layout Standard
16925 d
16926 \end_layout
16927
16928 \end_inset
16929 </cell>
16930 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16931 \begin_inset Text
16932
16933 \begin_layout Standard
16934 e
16935 \end_layout
16936
16937 \end_inset
16938 </cell>
16939 </row>
16940 <row topline="true">
16941 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16942 \begin_inset Text
16943
16944 \begin_layout Standard
16945 f
16946 \end_layout
16947
16948 \end_inset
16949 </cell>
16950 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16951 \begin_inset Text
16952
16953 \begin_layout Standard
16954 g
16955 \end_layout
16956
16957 \end_inset
16958 </cell>
16959 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16960 \begin_inset Text
16961
16962 \begin_layout Standard
16963 h
16964 \end_layout
16965
16966 \end_inset
16967 </cell>
16968 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16969 \begin_inset Text
16970
16971 \begin_layout Standard
16972 i
16973 \end_layout
16974
16975 \end_inset
16976 </cell>
16977 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16978 \begin_inset Text
16979
16980 \begin_layout Standard
16981 j
16982 \end_layout
16983
16984 \end_inset
16985 </cell>
16986 </row>
16987 <row>
16988 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16989 \begin_inset Text
16990
16991 \begin_layout Standard
16992 \begin_inset ERT
16993 status collapsed
16994
16995 \begin_layout Standard
16996
16997
16998 \backslash
16999 hdashline 
17000 \end_layout
17001
17002 \end_inset
17003
17004 k
17005 \end_layout
17006
17007 \end_inset
17008 </cell>
17009 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17010 \begin_inset Text
17011
17012 \begin_layout Standard
17013 l
17014 \end_layout
17015
17016 \end_inset
17017 </cell>
17018 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17019 \begin_inset Text
17020
17021 \begin_layout Standard
17022 m
17023 \end_layout
17024
17025 \end_inset
17026 </cell>
17027 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17028 \begin_inset Text
17029
17030 \begin_layout Standard
17031 n
17032 \end_layout
17033
17034 \end_inset
17035 </cell>
17036 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17037 \begin_inset Text
17038
17039 \begin_layout Standard
17040 o
17041 \end_layout
17042
17043 \end_inset
17044 </cell>
17045 </row>
17046 <row topline="true">
17047 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17048 \begin_inset Text
17049
17050 \begin_layout Standard
17051 \begin_inset ERT
17052 status collapsed
17053
17054 \begin_layout Standard
17055
17056
17057 \backslash
17058 cdashline{4-5}
17059 \end_layout
17060
17061 \end_inset
17062
17063 p
17064 \end_layout
17065
17066 \end_inset
17067 </cell>
17068 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17069 \begin_inset Text
17070
17071 \begin_layout Standard
17072 q
17073 \end_layout
17074
17075 \end_inset
17076 </cell>
17077 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="c:">
17078 \begin_inset Text
17079
17080 \begin_layout Standard
17081 r
17082 \end_layout
17083
17084 \end_inset
17085 </cell>
17086 <cell multicolumn="1" alignment="center" valignment="top" rightline="true" usebox="none" special="c:">
17087 \begin_inset Text
17088
17089 \begin_layout Standard
17090 s
17091 \end_layout
17092
17093 \end_inset
17094 </cell>
17095 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17096 \begin_inset Text
17097
17098 \begin_layout Standard
17099
17100 \end_layout
17101
17102 \end_inset
17103 </cell>
17104 </row>
17105 <row topline="true" bottomline="true">
17106 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17107 \begin_inset Text
17108
17109 \begin_layout Standard
17110 t
17111 \end_layout
17112
17113 \end_inset
17114 </cell>
17115 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17116 \begin_inset Text
17117
17118 \begin_layout Standard
17119 u
17120 \end_layout
17121
17122 \end_inset
17123 </cell>
17124 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17125 \begin_inset Text
17126
17127 \begin_layout Standard
17128 v
17129 \end_layout
17130
17131 \end_inset
17132 </cell>
17133 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17134 \begin_inset Text
17135
17136 \begin_layout Standard
17137 w
17138 \end_layout
17139
17140 \end_inset
17141 </cell>
17142 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17143 \begin_inset Text
17144
17145 \begin_layout Standard
17146 x
17147 \end_layout
17148
17149 \end_inset
17150 </cell>
17151 </row>
17152 </lyxtabular>
17153
17154 \end_inset
17155
17156
17157 \end_layout
17158
17159 \end_inset
17160
17161
17162 \end_layout
17163
17164 \begin_layout Standard
17165 LyX doesn't natively support dashed lines, so you have to use ERT.
17166  As prerequisite the LaTeX-package 
17167 \series bold
17168 arydshln
17169 \series default
17170
17171 \begin_inset LatexCommand index
17172 name "LaTeX-packages ! arydshln"
17173
17174 \end_inset
17175
17176  must be loaded in the document preamble with the command
17177 \end_layout
17178
17179 \begin_layout Standard
17180
17181 \series bold
17182
17183 \backslash
17184 usepackage{arydshln}
17185 \end_layout
17186
17187 \begin_layout Standard
17188 To make a vertical line dashed, enter the colon 
17189 \begin_inset Quotes eld
17190 \end_inset
17191
17192 :
17193 \begin_inset Quotes erd
17194 \end_inset
17195
17196  together with the character for the horizontal alignment as LaTeX-argument
17197  in the table cell dialog.
17198 \end_layout
17199
17200 \begin_layout Standard
17201 For a horizontal dashed line add the command
17202 \end_layout
17203
17204 \begin_layout Standard
17205
17206 \series bold
17207
17208 \backslash
17209 hdashline
17210 \end_layout
17211
17212 \begin_layout Standard
17213 in ERT as first element of the first cell in the table row.
17214 \end_layout
17215
17216 \begin_layout Standard
17217 For dashed multicolumn lines use the command
17218 \end_layout
17219
17220 \begin_layout Standard
17221
17222 \series bold
17223
17224 \backslash
17225 cdashline{line number
17226 \series default
17227 }
17228 \end_layout
17229
17230 \begin_layout Standard
17231 in ERT as first element of the first cell in the table row.
17232  If you have for example a multicolumn spanning over columns 2 to 4 and
17233  you want to have a dashed line above, add the command
17234 \end_layout
17235
17236 \begin_layout Standard
17237
17238 \series bold
17239
17240 \backslash
17241 cdashline{2-4}
17242 \end_layout
17243
17244 \begin_layout Standard
17245 as first element of the first cell in the row of the multicolumn.
17246 \end_layout
17247
17248 \begin_layout Standard
17249 \begin_inset VSpace bigskip
17250 \end_inset
17251
17252
17253 \end_layout
17254
17255 \begin_layout Standard
17256 Table\InsetSpace ~
17257
17258 \begin_inset LatexCommand ref
17259 reference "tab:Table-with-dashed"
17260
17261 \end_inset
17262
17263  was created using 
17264 \begin_inset Quotes eld
17265 \end_inset
17266
17267
17268 \series bold
17269 :c
17270 \series default
17271
17272 \begin_inset Quotes erd
17273 \end_inset
17274
17275  as LaTeX-argument of the third column.
17276  The ERT command 
17277 \series bold
17278
17279 \backslash
17280 hdashline
17281 \series default
17282  was inserted to the first cell of the third row and the the ERT command
17283 \newline
17284
17285  
17286 \series bold
17287
17288 \backslash
17289 cdashline{4-5}
17290 \series default
17291  was inserted to the first cell of the fourth row.
17292 \end_layout
17293
17294 \begin_layout Standard
17295 \begin_inset Note Greyedout
17296 status open
17297
17298 \begin_layout Standard
17299
17300 \series bold
17301 Note:
17302 \series default
17303  The used LaTeX-package 
17304 \series bold
17305 arydshln
17306 \series default
17307  is apparently not compatible with the LaTeX-package 
17308 \series bold
17309 colortbl
17310 \series default
17311
17312 \begin_inset LatexCommand index
17313 name "LaTeX-packages ! colortbl"
17314
17315 \end_inset
17316
17317  that is used for colored tables in section\InsetSpace ~
17318
17319 \begin_inset LatexCommand ref
17320 reference "sec:Colored-Tables"
17321
17322 \end_inset
17323
17324 .
17325  That means colored tables cannot have dashed lines.
17326 \end_layout
17327
17328 \end_inset
17329
17330
17331 \end_layout
17332
17333 \begin_layout Standard
17334 \begin_inset ERT
17335 status collapsed
17336
17337 \begin_layout Standard
17338
17339
17340 \backslash
17341 else
17342 \end_layout
17343
17344 \end_inset
17345
17346
17347 \begin_inset Note Note
17348 status open
17349
17350 \begin_layout Standard
17351 The following will be displayed when the LaTeX-package 
17352 \series bold
17353 arydshln
17354 \series default
17355  is not installed:
17356 \end_layout
17357
17358 \end_inset
17359
17360
17361 \end_layout
17362
17363 \begin_layout Standard
17364 You need to install the package 
17365 \series bold
17366 arydshln
17367 \series default
17368  to see the contents of this section in the output.
17369 \end_layout
17370
17371 \begin_layout Standard
17372 \begin_inset ERT
17373 status collapsed
17374
17375 \begin_layout Standard
17376
17377
17378 \backslash
17379 fi
17380 \end_layout
17381
17382 \end_inset
17383
17384
17385 \end_layout
17386
17387 \begin_layout Chapter
17388 Floats
17389 \begin_inset LatexCommand index
17390 name "Floats"
17391
17392 \end_inset
17393
17394
17395 \begin_inset LatexCommand label
17396 name "cha:Floats"
17397
17398 \end_inset
17399
17400
17401 \end_layout
17402
17403 \begin_layout Section
17404 Introduction
17405 \begin_inset LatexCommand label
17406 name "sec:FloatIntroduction"
17407
17408 \end_inset
17409
17410
17411 \begin_inset LatexCommand index
17412 name "Floats ! Introduction"
17413
17414 \end_inset
17415
17416
17417 \end_layout
17418
17419 \begin_layout Standard
17420 A float is a block of text associated with some sort of label, which doesn't
17421  have a fixed location.
17422  It can 
17423 \begin_inset Quotes eld
17424 \end_inset
17425
17426 float
17427 \begin_inset Quotes erd
17428 \end_inset
17429
17430  forward or backward a page or two, to wherever it fits best.
17431  
17432 \family sans
17433 Footnotes
17434 \family default
17435  and 
17436 \family sans
17437 Margin\InsetSpace ~
17438 Notes
17439 \family default
17440  are also floats, because they can float to the next page when there are
17441  too many notes at the page.
17442 \end_layout
17443
17444 \begin_layout Standard
17445 Floats allow a high quality layout.
17446  Images and tables can evenly be spread to the pages to avoid white space
17447  and pages without text.
17448  As the floating often destroys the context between the text and the image/table
17449 , every float can be referenced in the text.
17450  Floats are therefore numbered.
17451  Referencing is described in section\InsetSpace ~
17452
17453 \begin_inset LatexCommand ref
17454 reference "sec:Referencing-Floats"
17455
17456 \end_inset
17457
17458 .
17459 \end_layout
17460
17461 \begin_layout Standard
17462 To insert a float, use the menu 
17463 \family sans
17464 Insert\SpecialChar \menuseparator
17465 Float
17466 \family default
17467 .
17468  This inserts the 
17469 \family sans
17470 Caption
17471 \family default
17472  inset, a box with a label.
17473  The label will automatically be translated to the document language in
17474  the output.
17475  Behind the label you can insert the caption text.
17476  The image or table is inserted above or below the caption in a separate
17477  paragraph within the float.
17478  More about the caption placement is described in section\InsetSpace ~
17479
17480 \begin_inset LatexCommand ref
17481 reference "sec:Caption-Placement"
17482
17483 \end_inset
17484
17485 .
17486  To keep your LyX-document readable, you can open and close the float box
17487  by left-clicking on the box label.
17488  A closed float box looks like this: 
17489 \begin_inset Graphics
17490         filename clipart/floatQt4.png
17491         scale 70
17492
17493 \end_inset
17494
17495  -- a gray button with a red label.
17496 \end_layout
17497
17498 \begin_layout Standard
17499 It is recommended to insert floats as a separate paragraph to avoid possible
17500  LaTeX-errors that can occur when the surrounding text is specially formatted.
17501 \end_layout
17502
17503 \begin_layout Standard
17504 Existing figures or tables can be put into a float by marking them and then
17505  pressing the corresponding toolbar button for a new float.
17506 \end_layout
17507
17508 \begin_layout Section
17509 Float Types
17510 \end_layout
17511
17512 \begin_layout Standard
17513 Besides figure and table floats that are described in section\InsetSpace ~
17514
17515 \begin_inset LatexCommand ref
17516 reference "sec:Figure-Floats"
17517
17518 \end_inset
17519
17520  and 
17521 \begin_inset LatexCommand ref
17522 reference "sec:Table-Floats"
17523
17524 \end_inset
17525
17526 , respectively, LyX offers the float types 
17527 \series bold
17528 Algorithm
17529 \series default
17530  and 
17531 \series bold
17532 Text\InsetSpace ~
17533 Wrap\InsetSpace ~
17534 Float
17535 \series default
17536 .
17537 \end_layout
17538
17539 \begin_layout Subsection
17540 Algorithm Floats
17541 \begin_inset LatexCommand index
17542 name "Floats ! Algorithm Floats"
17543
17544 \end_inset
17545
17546
17547 \end_layout
17548
17549 \begin_layout Standard
17550 \begin_inset Float algorithm
17551 placement h
17552 wide false
17553 sideways false
17554 status open
17555
17556 \begin_layout Standard
17557 \begin_inset Caption
17558
17559 \begin_layout Standard
17560 \begin_inset LatexCommand label
17561 name "alg:Example-Algorithm-float"
17562
17563 \end_inset
17564
17565 Example Algorithm float
17566 \end_layout
17567
17568 \end_inset
17569
17570
17571 \end_layout
17572
17573 \begin_layout LyX-Code
17574 for I in 1..N loop
17575 \newline
17576  Sum:= Sum + A(I); /*senseless comment*/
17577 \newline
17578 end loop
17579 \begin_inset VSpace -4mm
17580 \end_inset
17581
17582
17583 \end_layout
17584
17585 \end_inset
17586
17587
17588 \end_layout
17589
17590 \begin_layout Standard
17591 This float type is inserted with the menu 
17592 \family sans
17593 Insert\SpecialChar \menuseparator
17594 Floats\SpecialChar \menuseparator
17595 Algorithm
17596 \family default
17597 .
17598  It is used for program codes and descriptions of algorithms.
17599  A possible environment for algorithms is the 
17600 \family sans
17601 LyX-Code
17602 \family default
17603 , described in LyX's 
17604 \emph on
17605 Userguide
17606 \emph default
17607 .
17608  Algorithm\InsetSpace ~
17609
17610 \begin_inset LatexCommand ref
17611 reference "alg:Example-Algorithm-float"
17612
17613 \end_inset
17614
17615  is an example of an algorithm float where -4\InsetSpace \thinspace{}
17616 mm vertical space was added
17617  at the end of the float to have the bottom rule exactly below the last
17618  text line.
17619 \end_layout
17620
17621 \begin_layout Standard
17622 The float label is not automatically translated into the document language.
17623  If your document is not in English, you have to do this manually by adding
17624  the following line to the document preamble
17625 \series bold
17626 :
17627 \end_layout
17628
17629 \begin_layout Standard
17630
17631 \series bold
17632
17633 \backslash
17634 floatname{algorithm}{your\InsetSpace ~
17635 name}
17636 \end_layout
17637
17638 \begin_layout Standard
17639
17640 \family sans
17641 your\InsetSpace ~
17642 name
17643 \family default
17644  is the word 
17645 \begin_inset Quotes eld
17646 \end_inset
17647
17648
17649 \emph on
17650 algorithm
17651 \emph default
17652
17653 \begin_inset Quotes erd
17654 \end_inset
17655
17656  in your language.
17657 \end_layout
17658
17659 \begin_layout Description
17660
17661 \series bold
17662 Note:
17663 \series default
17664  When the LaTeX-package 
17665 \series bold
17666 hyperref
17667 \series default
17668
17669 \begin_inset LatexCommand index
17670 name "LaTeX-packages ! hyperref"
17671
17672 \end_inset
17673
17674  is used to link cross-references to floats in the PDF-output, it must be
17675  loaded in the document preamble before the definition of floats to be able
17676  to reference floats.
17677  As LyX sets the float definition for algorithm floats automatically before
17678  the user editable part of the document preamble, you need to insert the
17679  following preamble lines 
17680 \emph on
17681 after
17682 \emph default
17683  the loading command of 
17684 \series bold
17685 hyperref
17686 \series default
17687 :
17688 \series bold
17689
17690 \begin_inset VSpace defskip
17691 \end_inset
17692
17693
17694 \newline
17695
17696 \backslash
17697 newfloat{Xalgorithm}{tbp}{loa}
17698 \newline
17699
17700 \backslash
17701 floatname{Xalgorithm}{your\InsetSpace ~
17702 name}
17703 \newline
17704
17705 \backslash
17706 newcommand{
17707 \backslash
17708 theHalgorithm}{
17709 \backslash
17710 theHXalgorithm}
17711 \newline
17712
17713 \backslash
17714 renewenvironment{algorithm}[1][tbp]
17715 \newline
17716
17717 \begin_inset ERT
17718 status collapsed
17719
17720 \begin_layout Standard
17721
17722
17723 \backslash
17724 hphantom{ }
17725 \end_layout
17726
17727 \end_inset
17728
17729 {
17730 \backslash
17731 begin{Xalgorithm}[#1]}{
17732 \backslash
17733 end{Xalgorithm}}
17734 \begin_inset VSpace defskip
17735 \end_inset
17736
17737
17738 \series default
17739
17740 \newline
17741 Where 
17742 \family sans
17743 your\InsetSpace ~
17744 name
17745 \family default
17746  is the word 
17747 \begin_inset Quotes eld
17748 \end_inset
17749
17750
17751 \emph on
17752 algorithm
17753 \emph default
17754
17755 \begin_inset Quotes erd
17756 \end_inset
17757
17758  in your language.
17759 \end_layout
17760
17761 \begin_layout Standard
17762 Algorithm floats are not by default numbered in the scheme 
17763 \begin_inset Quotes eld
17764 \end_inset
17765
17766 chapter.algorithm
17767 \begin_inset Quotes erd
17768 \end_inset
17769
17770  like it is the case for table and figure floats in many document-classes.
17771  To number algorithm floats in the same scheme, add this command to your
17772  document preamble:
17773 \end_layout
17774
17775 \begin_layout Standard
17776
17777 \series bold
17778
17779 \backslash
17780 numberwithin{algorithm}{chapter}
17781 \end_layout
17782
17783 \begin_layout Standard
17784 If you use the LaTeX-package 
17785 \series bold
17786 hyperref
17787 \series default
17788 , add this line instead 
17789 \emph on
17790 after
17791 \emph default
17792  the definition of 
17793 \family sans
17794 Xalgorithm
17795 \family default
17796  (the commands from above) to the preamble:
17797 \end_layout
17798
17799 \begin_layout Standard
17800
17801 \series bold
17802
17803 \backslash
17804 numberwithin{Xalgorithm}{chapter}
17805 \end_layout
17806
17807 \begin_layout Standard
17808 To be able to use the command 
17809 \series bold
17810
17811 \backslash
17812 numberwithin
17813 \series default
17814 , set in the tab 
17815 \family sans
17816 Math\InsetSpace ~
17817 Options
17818 \family default
17819  in the document settings the option 
17820 \family sans
17821 Use\InsetSpace ~
17822 AMS\InsetSpace ~
17823 math\InsetSpace ~
17824 package
17825 \family default
17826 .
17827 \end_layout
17828
17829 \begin_layout Subsection
17830 Text Wrap Floats
17831 \begin_inset LatexCommand index
17832 name "Floats ! Text Wrap Floats"
17833
17834 \end_inset
17835
17836
17837 \begin_inset LatexCommand label
17838 name "sub:floatflt-wrap-float"
17839
17840 \end_inset
17841
17842
17843 \end_layout
17844
17845 \begin_layout Standard
17846 This float type is used if you want to 
17847 \begin_inset Quotes eld
17848 \end_inset
17849
17850 wrap
17851 \begin_inset Quotes erd
17852 \end_inset
17853
17854  text around a figure so that it only occupies some fraction of the column
17855  width.
17856  It can be inserted using the menu 
17857 \begin_inset Wrap figure
17858 placement l
17859 width "40col%"
17860 status open
17861
17862 \begin_layout Standard
17863 \begin_inset Graphics
17864         filename clipart/mobius.eps
17865         display color
17866         width 40col%
17867         rotateOrigin center
17868
17869 \end_inset
17870
17871
17872 \end_layout
17873
17874 \begin_layout Standard
17875 \begin_inset Caption
17876
17877 \begin_layout Standard
17878 \begin_inset LatexCommand label
17879 name "fig:This-is-a"
17880
17881 \end_inset
17882
17883 This is a wrapped figure, and this is the brilliant caption that describes
17884  it.
17885 \begin_inset VSpace medskip
17886 \end_inset
17887
17888
17889 \end_layout
17890
17891 \end_inset
17892
17893
17894 \end_layout
17895
17896 \end_inset
17897
17898  
17899 \family sans
17900 Insert\SpecialChar \menuseparator
17901 Floats\SpecialChar \menuseparator
17902 Text\InsetSpace ~
17903 Wrap\InsetSpace ~
17904 Float
17905 \family default
17906  if the LaTeX-package 
17907 \series bold
17908 floatflt
17909 \series default
17910
17911 \begin_inset LatexCommand index
17912 name "LaTeX-packages ! floatflt"
17913
17914 \end_inset
17915
17916  is installed.
17917 \begin_inset Foot
17918 status collapsed
17919
17920 \begin_layout Standard
17921 Installing a LaTeX-package is explained it in the 
17922 \emph on
17923 LaTeX\InsetSpace ~
17924 Configuration
17925 \emph default
17926  manual.
17927 \end_layout
17928
17929 \end_inset
17930
17931  The width and placement of the float is adjusted by right-clicking on the
17932  float box.
17933  Figure\InsetSpace ~
17934
17935 \begin_inset LatexCommand ref
17936 reference "fig:This-is-a"
17937
17938 \end_inset
17939
17940  is an example text wrap float with a width of 40
17941 \begin_inset Formula $\,$
17942 \end_inset
17943
17944 col%.
17945 \begin_inset Foot
17946 status collapsed
17947
17948 \begin_layout Standard
17949 Available units are explained in 
17950 \begin_inset LatexCommand ref
17951 reference "cha:Units-available-in"
17952
17953 \end_inset
17954
17955 .
17956 \end_layout
17957
17958 \end_inset
17959
17960  Some space was added under the caption to separate it better from the surroundi
17961 ng text.
17962 \end_layout
17963
17964 \begin_layout Standard
17965 The LaTeX-package 
17966 \series bold
17967 floatflt
17968 \series default
17969  also supports table wrap floats, but they are not yet supported by LyX.
17970  If you need this, read the documentation of 
17971 \series bold
17972 floatflt
17973 \series default
17974  
17975 \begin_inset LatexCommand cite
17976 key "floatflt"
17977
17978 \end_inset
17979
17980 .
17981 \end_layout
17982
17983 \begin_layout Standard
17984 \begin_inset Note Greyedout
17985 status open
17986
17987 \begin_layout Standard
17988
17989 \series bold
17990 Note:
17991 \series default
17992  Text\InsetSpace ~
17993 wrap float floats are fragile! E.\InsetSpace \thinspace{}
17994 g.\InsetSpace ~
17995 having a figure too close to the bottom
17996  of the page can mess things up in the way that the float doesn't appear
17997  in the output or that it is placed over some other text.
17998 \begin_inset Foot
17999 status open
18000
18001 \begin_layout Standard
18002 The better solution is to use the LaTeX-package 
18003 \series bold
18004 wrapf\SpecialChar \textcompwordmark{}
18005 ig
18006 \series default
18007
18008 \begin_inset LatexCommand index
18009 name "LaTeX-packages ! wrapfig\\vspace{4mm}"
18010
18011 \end_inset
18012
18013  instead of 
18014 \series bold
18015 floatf\SpecialChar \textcompwordmark{}
18016 lt
18017 \series default
18018 , but it is currently not supported by LyX.
18019 \end_layout
18020
18021 \end_inset
18022
18023
18024 \end_layout
18025
18026 \end_inset
18027
18028
18029 \end_layout
18030
18031 \begin_layout Standard
18032 In general:
18033 \end_layout
18034
18035 \begin_layout Itemize
18036 Wrap floats should not be placed in paragraphs that run over a page break.
18037  That means that wrap floats should better be inserted to the exact place
18038  when the document is nearly ready and you are able to estimate where page
18039  breaks will appear.
18040 \end_layout
18041
18042 \begin_layout Itemize
18043 Wrap floats should either be placed in an own paragraph before the paragraph
18044  where they should wrap into or within a paragraph.
18045 \end_layout
18046
18047 \begin_layout Itemize
18048 Wrap floats in consecutive paragraphs may cause troubles, so assure that
18049  there is a text paragraph between them as separator.
18050 \end_layout
18051
18052 \begin_layout Itemize
18053 Wrap floats are not allowed in section headings or tables.
18054 \end_layout
18055
18056 \begin_layout Section
18057 Float Numbering
18058 \begin_inset LatexCommand label
18059 name "sec:Float-Numbering"
18060
18061 \end_inset
18062
18063
18064 \begin_inset LatexCommand index
18065 name "Floats ! Numbering"
18066
18067 \end_inset
18068
18069
18070 \end_layout
18071
18072 \begin_layout Standard
18073 Floats are usually numbered either independent from the sections the floats
18074  are in, or in the scheme 
18075 \begin_inset Quotes eld
18076 \end_inset
18077
18078 chapter.number
18079 \begin_inset Quotes erd
18080 \end_inset
18081
18082  or 
18083 \begin_inset Quotes eld
18084 \end_inset
18085
18086 section.number
18087 \begin_inset Quotes erd
18088 \end_inset
18089
18090 .
18091  This depends on the used document class.
18092 \end_layout
18093
18094 \begin_layout Standard
18095 To change the section independent numbering, you can use this command in
18096  the document preamble:
18097 \end_layout
18098
18099 \begin_layout Standard
18100
18101 \series bold
18102
18103 \backslash
18104 renewcommand{
18105 \backslash
18106 thetable}{
18107 \backslash
18108 roman{table}}
18109 \end_layout
18110
18111 \begin_layout Standard
18112
18113 \series bold
18114
18115 \backslash
18116 thetable
18117 \series default
18118  is the command that prints the table number, for figure floats, the command
18119  would be 
18120 \series bold
18121
18122 \backslash
18123 thefigure
18124 \series default
18125 .
18126  The command 
18127 \series bold
18128
18129 \backslash
18130 roman
18131 \series default
18132  prints in the command above the table number as small roman number.
18133 \end_layout
18134
18135 \begin_layout Standard
18136 To change the numbering scheme for example to 
18137 \begin_inset Quotes eld
18138 \end_inset
18139
18140 subsection.number
18141 \begin_inset Quotes erd
18142 \end_inset
18143
18144 , use this command in the preamble:
18145 \end_layout
18146
18147 \begin_layout Standard
18148
18149 \series bold
18150
18151 \backslash
18152 numberwithin{table}{subsection}
18153 \end_layout
18154
18155 \begin_layout Standard
18156 To be able to use the command 
18157 \series bold
18158
18159 \backslash
18160 numberwithin
18161 \series default
18162 , set in the tab 
18163 \family sans
18164 Math\InsetSpace ~
18165 Options
18166 \family default
18167  in the document settings the option 
18168 \family sans
18169 Use\InsetSpace ~
18170 AMS\InsetSpace ~
18171 math\InsetSpace ~
18172 package
18173 \family default
18174 .
18175 \end_layout
18176
18177 \begin_layout Standard
18178 Please also have a look at section\InsetSpace ~
18179
18180 \begin_inset LatexCommand ref
18181 reference "sub:Footnote-Numbering"
18182
18183 \end_inset
18184
18185  for the details and important notes about the numbering commands.
18186 \end_layout
18187
18188 \begin_layout Section
18189 Referencing Floats
18190 \begin_inset LatexCommand label
18191 name "sec:Referencing-Floats"
18192
18193 \end_inset
18194
18195
18196 \begin_inset LatexCommand index
18197 name "Floats ! References"
18198
18199 \end_inset
18200
18201
18202 \begin_inset LatexCommand index
18203 name "References"
18204
18205 \end_inset
18206
18207
18208 \end_layout
18209
18210 \begin_layout Standard
18211 To reference a float, insert a label into its caption using the menu 
18212 \family sans
18213 Insert\SpecialChar \menuseparator
18214 Label
18215 \family default
18216  or the toolbar button 
18217 \begin_inset Graphics
18218         filename ../images/label-insert.xpm
18219         scale 85
18220
18221 \end_inset
18222
18223 .
18224  A grey label box like this one: 
18225 \begin_inset Graphics
18226         filename clipart/labelQt4.png
18227         scale 85
18228
18229 \end_inset
18230
18231  will be inserted and the label window pops up asking for the label text.
18232  LyX offers as text the first words of the caption with a prefix.
18233  The prefix depends on the float type, e.\InsetSpace \thinspace{}
18234 g.\InsetSpace ~
18235 for figure floats the prefix will
18236  be "
18237 \family sans
18238 fig:
18239 \family default
18240 ".
18241 \end_layout
18242
18243 \begin_layout Standard
18244 The label is used as anchor and name for the reference.
18245  You can refer to the label using the menu 
18246 \family sans
18247 Insert\SpecialChar \menuseparator
18248 Cross-reference
18249 \family default
18250  or the toolbar button 
18251 \begin_inset Graphics
18252         filename ../images/dialog-show-new-inset_ref.xpm
18253         scale 85
18254
18255 \end_inset
18256
18257 .
18258  A grey cross-reference box like this one: 
18259 \begin_inset Graphics
18260         filename clipart/referenceQt4.png
18261         scale 85
18262
18263 \end_inset
18264
18265  will be inserted and the cross-reference window appear showing all labels
18266  of the document.
18267  If you have multiple LyX-documents opened, choose the one you are working
18268  on from the drop-list at the top of the dialog.
18269  You can now sort the labels alphabetically and then choose one.
18270  At the position of the cross-reference box the float number will appear
18271  in the output.
18272 \end_layout
18273
18274 \begin_layout Standard
18275 It is recommended to use a protected space between the cross-reference name
18276  and its number to avoid line breaks between them.
18277  If a cross-reference refers to a non-existing label, you will see two question
18278  marks in the output instead of the reference.
18279 \end_layout
18280
18281 \begin_layout Standard
18282 You can change labels at any time by clicking on the label box.
18283  References to the changed label will automatically change its link to the
18284  new label text, so that you don't need to take care about this.
18285 \end_layout
18286
18287 \begin_layout Standard
18288 The button 
18289 \family sans
18290 Go\InsetSpace ~
18291 to\InsetSpace ~
18292 Label
18293 \family default
18294  in the cross-reference window sets the cursor before the referred label.
18295  The button text changes then to Go\InsetSpace ~
18296 Back and you can use it to set the cursor
18297  back to the cross-reference.
18298  Right-clicking on a cross-reference box also sets the cursor before the
18299  referenced label but without a possibility to go back.
18300 \end_layout
18301
18302 \begin_layout Subsection
18303 Cross-Reference Formats
18304 \begin_inset LatexCommand label
18305 name "sub:Cross-Reference-Formats"
18306
18307 \end_inset
18308
18309
18310 \begin_inset LatexCommand index
18311 name "References ! Formats"
18312
18313 \end_inset
18314
18315
18316 \end_layout
18317
18318 \begin_layout Standard
18319 There are six varieties of cross-references:
18320 \end_layout
18321
18322 \begin_layout Description
18323 <reference>: prints the float number, this is the default: 
18324 \begin_inset LatexCommand ref
18325 reference "fig:Two-distorted-images"
18326
18327 \end_inset
18328
18329
18330 \end_layout
18331
18332 \begin_layout Description
18333 (<reference>): prints the float number within two parentheses, this is the
18334  style normally used to reference formulas, especially when the reference
18335  name 
18336 \begin_inset Quotes eld
18337 \end_inset
18338
18339 Equation
18340 \begin_inset Quotes erd
18341 \end_inset
18342
18343  is omitted: 
18344 \begin_inset LatexCommand eqref
18345 reference "eq:Wgn"
18346
18347 \end_inset
18348
18349
18350 \end_layout
18351
18352 \begin_layout Description
18353 <page>: prints the page number: Page\InsetSpace ~
18354
18355 \begin_inset LatexCommand pageref
18356 reference "fig:Two-distorted-images"
18357
18358 \end_inset
18359
18360
18361 \end_layout
18362
18363 \begin_layout Description
18364 on\InsetSpace ~
18365 page\InsetSpace ~
18366 <page>: prints the text "on page" and the page number: 
18367 \begin_inset LatexCommand vpageref
18368 reference "fig:Two-distorted-images"
18369
18370 \end_inset
18371
18372
18373 \end_layout
18374
18375 \begin_layout Description
18376 <reference>\InsetSpace ~
18377 on\InsetSpace ~
18378 page\InsetSpace ~
18379 <page>: prints the float number, the text "on page", and
18380  the page number: 
18381 \begin_inset LatexCommand vref
18382 reference "fig:Two-distorted-images"
18383
18384 \end_inset
18385
18386
18387 \end_layout
18388
18389 \begin_layout Description
18390 Formatted\InsetSpace ~
18391 reference: prints a self defined cross-reference format.
18392  
18393 \begin_inset Note Greyedout
18394 status open
18395
18396 \begin_layout Standard
18397
18398 \series bold
18399 Note:
18400 \series default
18401  This feature is only available when you have the LaTeX-package 
18402 \series bold
18403 prettyref
18404 \series default
18405  installed.
18406 \end_layout
18407
18408 \end_inset
18409
18410
18411 \end_layout
18412
18413 \begin_layout Standard
18414 Note that the style <page> won't print the page number if the label is on
18415  the previous, the same, or the next page.
18416  You will e.\InsetSpace \thinspace{}
18417 g.\InsetSpace ~
18418 see the text 
18419 \begin_inset Quotes eld
18420 \end_inset
18421
18422
18423 \family sans
18424 on this page
18425 \family default
18426
18427 \begin_inset Quotes erd
18428 \end_inset
18429
18430  instead.
18431 \end_layout
18432
18433 \begin_layout Standard
18434 The number and current page of the referred document part in the output,
18435  is automatically calculated by LaTeX.
18436  The varieties are adjusted in the field 
18437 \family sans
18438 Format
18439 \family default
18440  of the cross-reference window, that appear when you click on the cross-referenc
18441 e box.
18442 \end_layout
18443
18444 \begin_layout Subsection
18445 Referencing Subfigures
18446 \begin_inset LatexCommand label
18447 name "sub:Referencing-Subfigures"
18448
18449 \end_inset
18450
18451
18452 \begin_inset LatexCommand index
18453 name "References ! to Subfigures"
18454
18455 \end_inset
18456
18457
18458 \end_layout
18459
18460 \begin_layout Standard
18461 Currently referencing subfigures is not supported by LyX, so you have to
18462  use LaTeX-commands.
18463  The label is the created with the command
18464 \end_layout
18465
18466 \begin_layout Standard
18467
18468 \series bold
18469
18470 \backslash
18471 label{fig:YourLabelName}
18472 \end_layout
18473
18474 \begin_layout Standard
18475 that is directly inserted into the subfigure caption field.
18476  To reference the label add this command in ERT
18477 \end_layout
18478
18479 \begin_layout Standard
18480
18481 \series bold
18482
18483 \backslash
18484 ref{fig:YourLabelName}
18485 \end_layout
18486
18487 \begin_layout Standard
18488 to the position in your document where the reference should be placed.
18489  Here is a reference to a subfigure: Subfigure\InsetSpace ~
18490
18491 \begin_inset ERT
18492 status collapsed
18493
18494 \begin_layout Standard
18495
18496
18497 \backslash
18498 ref{fig:Platypus}
18499 \end_layout
18500
18501 \end_inset
18502
18503 .
18504 \end_layout
18505
18506 \begin_layout Subsection
18507 Automatic Reference Naming
18508 \begin_inset LatexCommand index
18509 name "References ! Automatic Reference Naming"
18510
18511 \end_inset
18512
18513
18514 \end_layout
18515
18516 \begin_layout Standard
18517 The LaTeX-package 
18518 \series bold
18519 hyperref
18520 \series default
18521  provides a very useful feature that cross-references automatically include
18522  the name of the referenced floats (or text parts like sections).
18523  You save to write e.\InsetSpace \thinspace{}
18524 g.\InsetSpace ~
18525 the name 
18526 \begin_inset Quotes eld
18527 \end_inset
18528
18529 Figure
18530 \begin_inset Quotes erd
18531 \end_inset
18532
18533  before every reference box.
18534  To get this automatic reference naming, you have to load the LaTeX-package
18535  
18536 \series bold
18537 hyperref
18538 \series default
18539
18540 \begin_inset LatexCommand index
18541 name "LaTeX-packages ! hyperref"
18542
18543 \end_inset
18544
18545  in the document preamble with
18546 \end_layout
18547
18548 \begin_layout Standard
18549
18550 \series bold
18551
18552 \backslash
18553 usepackage[pdfborder={0 0 0}]{hyperref}
18554 \newline
18555
18556 \backslash
18557 AtBeginDocument{
18558 \backslash
18559 renewcommand{
18560 \backslash
18561 ref}[1]{
18562 \backslash
18563 mbox{
18564 \backslash
18565 autoref{#1}}}}
18566 \end_layout
18567
18568 \begin_layout Standard
18569
18570 \series bold
18571 hyperref
18572 \series default
18573  is used to link cross-references in the DVI- and PDF-output, this means
18574  that the reader of your document will be able to click on a table of content
18575  (TOC) entry or on a reference and he will be shown the referenced document
18576  part.
18577  
18578 \series bold
18579 hyperref
18580 \series default
18581  also creates PDF-bookmarks for every section of your document to make it
18582  easier for readers to navigate through the document.
18583  This is also used in this document but when you have a look in the document
18584  preamble you will find various options in the load command of 
18585 \series bold
18586 hyperref
18587 \series default
18588 .
18589  To learn more about the 
18590 \series bold
18591 hyperref
18592 \series default
18593  package, we refer to its documentation 
18594 \begin_inset LatexCommand cite
18595 key "hyperref"
18596
18597 \end_inset
18598
18599 .
18600 \end_layout
18601
18602 \begin_layout Standard
18603 \begin_inset Note Greyedout
18604 status open
18605
18606 \begin_layout Standard
18607
18608 \series bold
18609 Note:
18610 \series default
18611  Automatic reference naming cannot be used when you use cross-references
18612  in the 
18613 \family sans
18614 Formatted\InsetSpace ~
18615 reference
18616 \family default
18617  style, described in section\InsetSpace ~
18618
18619 \begin_inset LatexCommand ref
18620 reference "sub:Cross-Reference-Formats"
18621
18622 \end_inset
18623
18624 .
18625 \end_layout
18626
18627 \end_inset
18628
18629
18630 \end_layout
18631
18632 \begin_layout Subsection
18633 Reference Position
18634 \begin_inset LatexCommand label
18635 name "sub:Reference-Position"
18636
18637 \end_inset
18638
18639
18640 \begin_inset LatexCommand index
18641 name "References ! Reference Position"
18642
18643 \end_inset
18644
18645
18646 \end_layout
18647
18648 \begin_layout Standard
18649 If you use 
18650 \series bold
18651 hyperref
18652 \series default
18653
18654 \begin_inset LatexCommand index
18655 name "LaTeX-packages ! hyperref"
18656
18657 \end_inset
18658
18659  to link cross-references in the output, you will see that clicking on an
18660  image float reference jumps to the image label.
18661  The caption will be the first text part on the screen, so that you cannot
18662  see the image without scrolling.
18663  This is because the reference link anchor is placed at the position of
18664  the label.
18665  With the use of the package 
18666 \series bold
18667 hypcap
18668 \series default
18669
18670 \begin_inset LatexCommand index
18671 name "LaTeX-packages ! hypcap"
18672
18673 \end_inset
18674
18675 , which is part of the LaTeX-package 
18676 \series bold
18677 oberdiek
18678 \series default
18679
18680 \begin_inset LatexCommand index
18681 name "LaTeX-packages ! oberdiek"
18682
18683 \end_inset
18684
18685 , the link anchor is placed at the beginning of a float.
18686  To use this feature for figure floats, load 
18687 \series bold
18688 hypcap
18689 \series default
18690  in the document preamble with the line
18691 \end_layout
18692
18693 \begin_layout Standard
18694
18695 \series bold
18696
18697 \backslash
18698 usepackage[f\SpecialChar \textcompwordmark{}
18699 igure]{hypcap}
18700 \end_layout
18701
18702 \begin_layout Standard
18703 You can also use 
18704 \series bold
18705 hypcap
18706 \series default
18707  for all floats but this isn't recommended for stability reasons.
18708  For more informations, have a look at 
18709 \series bold
18710 hypcap
18711 \series default
18712 's manual 
18713 \begin_inset LatexCommand cite
18714 key "hypcap"
18715
18716 \end_inset
18717
18718 .
18719 \end_layout
18720
18721 \begin_layout Standard
18722 \begin_inset Note Greyedout
18723 status open
18724
18725 \begin_layout Standard
18726
18727 \series bold
18728 Note:
18729 \series default
18730  
18731 \series bold
18732 hypcap
18733 \series default
18734  must be loaded after 
18735 \series bold
18736 hyperref
18737 \series default
18738  in the document preamble.
18739 \end_layout
18740
18741 \end_inset
18742
18743
18744 \end_layout
18745
18746 \begin_layout Standard
18747 \begin_inset Note Greyedout
18748 status open
18749
18750 \begin_layout Standard
18751
18752 \series bold
18753 Note:
18754 \series default
18755  The set reference position has no effect for references to subfigures.
18756 \end_layout
18757
18758 \end_inset
18759
18760
18761 \end_layout
18762
18763 \begin_layout Section
18764 Float Placement
18765 \begin_inset LatexCommand label
18766 name "sec:Float-Placement"
18767
18768 \end_inset
18769
18770
18771 \begin_inset LatexCommand index
18772 name "Floats ! Placement"
18773
18774 \end_inset
18775
18776
18777 \end_layout
18778
18779 \begin_layout Standard
18780 Right-clicking on a float-box opens a dialog where you can alter the placement
18781  options that LaTeX uses for positioning the float.
18782 \newline
18783 The option 
18784 \family sans
18785 Span\InsetSpace ~
18786 columns
18787 \family default
18788  is only useful for two-column documents: If you select it, the float will
18789  span across both columns on the page instead of being confined to just
18790  one.
18791 \newline
18792 The option 
18793 \family sans
18794 Rotate\InsetSpace ~
18795 sideways
18796 \family default
18797  is used to rotate floats, see section 
18798 \begin_inset LatexCommand ref
18799 reference "sec:Rotated-Floats"
18800
18801 \end_inset
18802
18803 .
18804 \end_layout
18805
18806 \begin_layout Standard
18807 You can use one ore more of the following options in the float dialog to
18808  set the placement for a particular float when you uncheck the option 
18809 \family sans
18810 Use\InsetSpace ~
18811 default\InsetSpace ~
18812 placement
18813 \family default
18814 :
18815 \end_layout
18816
18817 \begin_layout Description
18818 Here\InsetSpace ~
18819 if\InsetSpace ~
18820 possible: try to place the float on the position where it is inserted
18821 \end_layout
18822
18823 \begin_layout Description
18824 Top\InsetSpace ~
18825 of\InsetSpace ~
18826 page: try to place the float on the top of the current page
18827 \end_layout
18828
18829 \begin_layout Description
18830 Bottom\InsetSpace ~
18831 of\InsetSpace ~
18832 page: try to place the float on the bottom of the current page
18833 \end_layout
18834
18835 \begin_layout Description
18836 Page\InsetSpace ~
18837 of\InsetSpace ~
18838 floats: try to place the float on an own page 
18839 \end_layout
18840
18841 \begin_layout Standard
18842 The order of the above option is 
18843 \emph on
18844 always
18845 \emph default
18846  used by LaTeX.
18847  That means, if you use the default placement, LaTeX will first try out
18848  
18849 \family sans
18850 Here\InsetSpace ~
18851 if\InsetSpace ~
18852 possible
18853 \family default
18854 , then 
18855 \family sans
18856 Top\InsetSpace ~
18857 of\InsetSpace ~
18858 page
18859 \family default
18860 , and then the others.
18861  If you don't use the default, LaTeX will try only the checked options but
18862  in the same order.
18863  If none of the 4 placements are possible the procedure is internally repeated
18864  but it is tried to put the float on the following page.
18865 \end_layout
18866
18867 \begin_layout Standard
18868 By default, each options has its own rules:
18869 \end_layout
18870
18871 \begin_layout Labeling
18872 \labelwidthstring 00.00.0000
18873
18874 \family sans
18875 Top\InsetSpace ~
18876 of\InsetSpace ~
18877 page
18878 \family default
18879  only floats occupying less than 70\InsetSpace \thinspace{}
18880 % of the page can be placed at the top
18881  of a page (
18882 \series bold
18883
18884 \backslash
18885 topfraction
18886 \series default
18887 )
18888 \end_layout
18889
18890 \begin_layout Labeling
18891 \labelwidthstring 00.00.0000
18892
18893 \family sans
18894 Bottom\InsetSpace ~
18895 of\InsetSpace ~
18896 page
18897 \family default
18898 : only floats occupying less than 30\InsetSpace \thinspace{}
18899 % of the page can be placed at the bottom
18900  of a page.
18901  (
18902 \series bold
18903
18904 \backslash
18905 bottomfraction
18906 \series default
18907 )
18908 \end_layout
18909
18910 \begin_layout Labeling
18911 \labelwidthstring 00.00.0000
18912
18913 \family sans
18914 Page\InsetSpace ~
18915 of\InsetSpace ~
18916 floats
18917 \family default
18918 : only if more than 50\InsetSpace \thinspace{}
18919 % of the page are occupied by floats, several floats
18920  can be set together on a page.
18921  (
18922 \series bold
18923
18924 \backslash
18925 floatpagefraction
18926 \series default
18927 )
18928 \end_layout
18929
18930 \begin_layout Standard
18931 If you don't like these rules, you can ignore them by using the additional
18932  option 
18933 \family sans
18934 Ignore\InsetSpace ~
18935 LaTeX\InsetSpace ~
18936 rules
18937 \family default
18938 .
18939 \newline
18940 You can also redefine the rules with LaTeX-commands that are given in parenthese
18941 s behind the rules description above.
18942  To increase for example the often too small default of the bottom-rule
18943  to 50\InsetSpace \thinspace{}
18944 % of the page, add this line to your document preamble:
18945 \end_layout
18946
18947 \begin_layout Standard
18948
18949 \series bold
18950
18951 \backslash
18952 renewcommand{
18953 \backslash
18954 bottomfraction}{0.5}
18955 \end_layout
18956
18957 \begin_layout Standard
18958 Sometimes you might need, under all circumstances, a float to be placed
18959  exactly at the position where it is inserted.
18960  For this case you can use the option 
18961 \family sans
18962 Here\InsetSpace ~
18963 definitely
18964 \family default
18965 .
18966  Use this option very rarely and only if the document is nearly ready to
18967  be printed.
18968  Because the float is then no longer able to 
18969 \begin_inset Quotes eld
18970 \end_inset
18971
18972 float
18973 \begin_inset Quotes erd
18974 \end_inset
18975
18976  when you change your document and this will often destroy the page layout.
18977 \end_layout
18978
18979 \begin_layout Standard
18980 There are no placement options for text wrap floats, because they are always
18981  surrounded by the text of a certain paragraph.
18982 \begin_inset VSpace bigskip
18983 \end_inset
18984
18985
18986 \end_layout
18987
18988 \begin_layout Standard
18989 Sometimes you have the problem that a float is placed at the top of a page
18990  while its corresponding section starts at the middle of the page, so that
18991  the reader could think the float is part of the previous section.
18992  To avoid this the LaTeX-command 
18993 \series bold
18994
18995 \backslash
18996 suppressf\SpecialChar \textcompwordmark{}
18997 loats
18998 \series default
18999  can be used.
19000  It suppresses a given float placement for the page where it is inserted
19001  and can therefore be used to avoid that floats could be set before a section
19002  starts.
19003  To get this, add these commands to your document preamble:
19004 \end_layout
19005
19006 \begin_layout Standard
19007
19008 \series bold
19009
19010 \backslash
19011 let
19012 \backslash
19013 mySection
19014 \backslash
19015 section
19016 \newline
19017
19018 \backslash
19019 renewcommand{
19020 \backslash
19021 section}{
19022 \backslash
19023 suppressf\SpecialChar \textcompwordmark{}
19024 loats[t]
19025 \backslash
19026 mySection}
19027 \end_layout
19028
19029 \begin_layout Standard
19030 You can define the same for all section headings, like chapters and subsections.
19031  This definition is not recommended to be used for small text parts like
19032  subsubsections because LaTeX may then have problems to find a suitable
19033  placement.
19034 \end_layout
19035
19036 \begin_layout Standard
19037 \begin_inset VSpace bigskip
19038 \end_inset
19039
19040 In some cases it is required to have all figures/tables at the end of the
19041  document.
19042  For this purpose the LaTeX-package 
19043 \series bold
19044 endf\SpecialChar \textcompwordmark{}
19045 loat
19046 \series default
19047
19048 \begin_inset LatexCommand index
19049 name "LaTeX-packages ! endfloat"
19050
19051 \end_inset
19052
19053  was developed.
19054  It puts all figure and table floats at the end of the document into own
19055  sections.
19056  At the original float position a text hint like 
19057 \begin_inset Quotes eld
19058 \end_inset
19059
19060
19061 \family sans
19062 [Figure\InsetSpace ~
19063 3.2 about here.]
19064 \family default
19065
19066 \begin_inset Quotes erd
19067 \end_inset
19068
19069  is inserted.
19070  The endfloat-package is loaded in the preamble with the line
19071 \end_layout
19072
19073 \begin_layout Standard
19074
19075 \series bold
19076
19077 \backslash
19078 usepackage[options]{endf\SpecialChar \textcompwordmark{}
19079 loat}
19080 \end_layout
19081
19082 \begin_layout Standard
19083 There are various package options to format the created figure/table sections.
19084  For more information we refer to the 
19085 \series bold
19086 endf\SpecialChar \textcompwordmark{}
19087 loat
19088 \series default
19089  documentation 
19090 \begin_inset LatexCommand cite
19091 key "endfloat"
19092
19093 \end_inset
19094
19095 .
19096 \newline
19097
19098 \begin_inset Note Greyedout
19099 status open
19100
19101 \begin_layout Standard
19102
19103 \series bold
19104 Note: endf\SpecialChar \textcompwordmark{}
19105 loat
19106 \series default
19107  doesn't provide an automatic translation for the text hint, you have to
19108  do this manually, see section\InsetSpace ~
19109 4 in 
19110 \begin_inset LatexCommand cite
19111 key "endfloat"
19112
19113 \end_inset
19114
19115 .
19116 \end_layout
19117
19118 \end_inset
19119
19120
19121 \newline
19122
19123 \begin_inset Note Greyedout
19124 status open
19125
19126 \begin_layout Standard
19127
19128 \series bold
19129 Note:
19130 \series default
19131  There is currently a bug in 
19132 \series bold
19133 endf\SpecialChar \textcompwordmark{}
19134 loat
19135 \series default
19136  when the caption contains a German 
19137 \begin_inset Quotes eld
19138 \end_inset
19139
19140 ß
19141 \begin_inset Quotes erd
19142 \end_inset
19143
19144 .
19145  Use in this case the command 
19146 \begin_inset Quotes eld
19147 \end_inset
19148
19149
19150 \series bold
19151
19152 \backslash
19153 ss
19154 \series default
19155
19156 \begin_inset Quotes erd
19157 \end_inset
19158
19159  in ERT instead of 
19160 \begin_inset Quotes eld
19161 \end_inset
19162
19163 ß
19164 \begin_inset Quotes erd
19165 \end_inset
19166
19167 .
19168 \end_layout
19169
19170 \end_inset
19171
19172
19173 \end_layout
19174
19175 \begin_layout Standard
19176 \begin_inset VSpace bigskip
19177 \end_inset
19178
19179 For more details about float placements, have a look at LaTeX books, 
19180 \begin_inset LatexCommand cite
19181 key "latexcompanion,latexguide,latexbook"
19182
19183 \end_inset
19184
19185 .
19186 \end_layout
19187
19188 \begin_layout Section
19189 Rotated Floats
19190 \begin_inset LatexCommand label
19191 name "sec:Rotated-Floats"
19192
19193 \end_inset
19194
19195
19196 \begin_inset LatexCommand index
19197 name "Floats ! Rotating"
19198
19199 \end_inset
19200
19201
19202 \end_layout
19203
19204 \begin_layout Standard
19205 Especially for wide tables you might have floats rotated.
19206  To rotate a whole float including the caption, right-click on the float-box
19207  and use the option 
19208 \family sans
19209 Rotate\InsetSpace ~
19210 sideways
19211 \family default
19212 .
19213 \end_layout
19214
19215 \begin_layout Standard
19216 Rotated floats are always placed on its own page (or column, when you have
19217  a two-column document).
19218  They are normally rotated so that you can read them from the outside margin
19219  -- to the left on even pages, to the right on odd pages.
19220 \end_layout
19221
19222 \begin_layout Standard
19223 Referencing rotated floats is the same like for normal floats, the caption
19224  format is also the same: Table\InsetSpace ~
19225
19226 \begin_inset LatexCommand ref
19227 reference "tab:Rotated-table"
19228
19229 \end_inset
19230
19231  is an example of a rotated table float.
19232 \end_layout
19233
19234 \begin_layout Standard
19235 \begin_inset Note Greyedout
19236 status open
19237
19238 \begin_layout Standard
19239
19240 \series bold
19241 Note:
19242 \series default
19243  Not all DVI-viewers are able to display rotated floats.
19244 \end_layout
19245
19246 \end_inset
19247
19248
19249 \end_layout
19250
19251 \begin_layout Standard
19252 \begin_inset Float table
19253 wide false
19254 sideways true
19255 status open
19256
19257 \begin_layout Standard
19258 \begin_inset Caption
19259
19260 \begin_layout Standard
19261 \begin_inset LatexCommand label
19262 name "tab:Rotated-table"
19263
19264 \end_inset
19265
19266  Rotated table
19267 \end_layout
19268
19269 \end_inset
19270
19271
19272 \end_layout
19273
19274 \begin_layout Standard
19275 \align center
19276 \begin_inset Tabular
19277 <lyxtabular version="3" rows="1" columns="5">
19278 <features>
19279 <column alignment="center" valignment="top" leftline="true" width="0">
19280 <column alignment="center" valignment="top" leftline="true" width="0">
19281 <column alignment="center" valignment="top" leftline="true" width="0">
19282 <column alignment="center" valignment="top" leftline="true" width="0">
19283 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
19284 <row topline="true" bottomline="true">
19285 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19286 \begin_inset Text
19287
19288 \begin_layout Standard
19289 test
19290 \end_layout
19291
19292 \end_inset
19293 </cell>
19294 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19295 \begin_inset Text
19296
19297 \begin_layout Standard
19298 b
19299 \end_layout
19300
19301 \end_inset
19302 </cell>
19303 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19304 \begin_inset Text
19305
19306 \begin_layout Standard
19307 c
19308 \end_layout
19309
19310 \end_inset
19311 </cell>
19312 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19313 \begin_inset Text
19314
19315 \begin_layout Standard
19316 d
19317 \end_layout
19318
19319 \end_inset
19320 </cell>
19321 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19322 \begin_inset Text
19323
19324 \begin_layout Standard
19325 e
19326 \end_layout
19327
19328 \end_inset
19329 </cell>
19330 </row>
19331 </lyxtabular>
19332
19333 \end_inset
19334
19335
19336 \end_layout
19337
19338 \end_inset
19339
19340
19341 \end_layout
19342
19343 \begin_layout Section
19344 Caption Formatting
19345 \begin_inset LatexCommand index
19346 name "Caption ! Formatting"
19347
19348 \end_inset
19349
19350
19351 \begin_inset LatexCommand index
19352 name "Floats ! Caption Formatting"
19353
19354 \end_inset
19355
19356
19357 \begin_inset LatexCommand index
19358 name "LaTeX-packages ! caption"
19359
19360 \end_inset
19361
19362
19363 \begin_inset LatexCommand label
19364 name "sec:Caption-Formatting"
19365
19366 \end_inset
19367
19368
19369 \end_layout
19370
19371 \begin_layout Standard
19372 The 
19373 \family sans
19374 Caption
19375 \family default
19376  environment is the default paragraph environment for 
19377 \family sans
19378 Floats
19379 \family default
19380 .
19381  On the LyX screen captions appear as label, e.\InsetSpace \thinspace{}
19382 g.\InsetSpace ~
19383
19384 \begin_inset Quotes eld
19385 \end_inset
19386
19387
19388 \family sans
19389 Figure #:
19390 \family default
19391
19392 \begin_inset Quotes erd
19393 \end_inset
19394
19395  followed by the caption text.
19396  The number sign 
19397 \begin_inset Quotes eld
19398 \end_inset
19399
19400 #
19401 \begin_inset Quotes erd
19402 \end_inset
19403
19404  is substituted in the printed output by the actual reference number.
19405  By default the label and the number are in the same font as the caption
19406  text and a colon follows the number to divide then label from the text.
19407  This caption format is not suitable for all document formats.
19408  
19409 \end_layout
19410
19411 \begin_layout Standard
19412 To change the default caption format, load the LaTeX-package 
19413 \series bold
19414 caption
19415 \series default
19416
19417 \begin_inset LatexCommand index
19418 name "LaTeX-packages ! caption"
19419
19420 \end_inset
19421
19422  in the document preamble with this line:
19423 \end_layout
19424
19425 \begin_layout Standard
19426
19427 \series bold
19428
19429 \backslash
19430 usepackage[format definition]{caption}
19431 \end_layout
19432
19433 \begin_layout Standard
19434 To have for example the label and the number in sans-serif bold font and
19435  the table captions always above the table like in this document, use the
19436  following command:
19437 \end_layout
19438
19439 \begin_layout Standard
19440
19441 \series bold
19442
19443 \backslash
19444 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
19445 \end_layout
19446
19447 \begin_layout Standard
19448 You can also define different caption formats for the different float types.
19449  In this case load the 
19450 \series bold
19451 caption
19452 \series default
19453  package without format specific options and define the different formats
19454  with the help of the command
19455 \end_layout
19456
19457 \begin_layout Standard
19458
19459 \series bold
19460
19461 \backslash
19462 captionsetup[float type]{format definition}
19463 \end_layout
19464
19465 \begin_layout Standard
19466 in the document preamble.
19467  For example the caption formats of Figure\InsetSpace ~
19468
19469 \begin_inset LatexCommand ref
19470 reference "fig:This-is-an-fig"
19471
19472 \end_inset
19473
19474  and Table\InsetSpace ~
19475
19476 \begin_inset LatexCommand ref
19477 reference "tab:This-is-an-tab"
19478
19479 \end_inset
19480
19481  can be created using these commands in the document preamble:
19482 \end_layout
19483
19484 \begin_layout Standard
19485
19486 \series bold
19487
19488 \backslash
19489 usepackage[tableposition=top]{caption}
19490 \series default
19491
19492 \newline
19493
19494 \series bold
19495
19496 \backslash
19497 captionsetup[f\SpecialChar \textcompwordmark{}
19498 igure]{labelfont={tt}, textfont=it, indention=1cm,%
19499 \newline
19500
19501 \begin_inset ERT
19502 status collapsed
19503
19504 \begin_layout Standard
19505
19506
19507 \backslash
19508 hphantom{
19509 \backslash
19510
19511 \backslash
19512 captionsetup[figure]
19513 \backslash
19514 {}
19515 \end_layout
19516
19517 \end_inset
19518
19519  labelsep=period}
19520 \newline
19521
19522 \backslash
19523 captionsetup[table]{labelfont={bf,sf}}
19524 \end_layout
19525
19526 \begin_layout Standard
19527 \begin_inset Note Greyedout
19528 status open
19529
19530 \begin_layout Standard
19531
19532 \series bold
19533 Note:
19534 \series default
19535  The option 
19536 \series bold
19537 tableposition=top
19538 \series default
19539  has no effect when a 
19540 \series bold
19541 koma-script
19542 \series default
19543
19544 \begin_inset LatexCommand index
19545 name "LaTeX-packages ! koma-script"
19546
19547 \end_inset
19548
19549  document class is used.
19550  In this case the document class option 
19551 \series bold
19552 tablecaptionabove
19553 \series default
19554  must be used.
19555 \end_layout
19556
19557 \end_inset
19558
19559
19560 \end_layout
19561
19562 \begin_layout Standard
19563 For more information about the package 
19564 \series bold
19565 caption
19566 \series default
19567  we refer to its documentation 
19568 \begin_inset LatexCommand cite
19569 key "caption,caption-de"
19570
19571 \end_inset
19572
19573 .
19574 \end_layout
19575
19576 \begin_layout Standard
19577 To change the label name from e.g.
19578  
19579 \begin_inset Quotes eld
19580 \end_inset
19581
19582 Figure
19583 \begin_inset Quotes erd
19584 \end_inset
19585
19586  to 
19587 \begin_inset Quotes eld
19588 \end_inset
19589
19590 Image
19591 \begin_inset Quotes erd
19592 \end_inset
19593
19594  use this preamble command:
19595 \end_layout
19596
19597 \begin_layout Standard
19598
19599 \series bold
19600
19601 \backslash
19602 renewcommand{
19603 \backslash
19604 fnum@figure}{Image~
19605 \backslash
19606 thefigure}
19607 \end_layout
19608
19609 \begin_layout Standard
19610 where 
19611 \series bold
19612
19613 \backslash
19614 thefigure
19615 \series default
19616  inserts the figure number and
19617 \series bold
19618  
19619 \begin_inset Quotes eld
19620 \end_inset
19621
19622 ~
19623 \series default
19624
19625 \begin_inset Quotes erd
19626 \end_inset
19627
19628  creates a protected space.
19629 \end_layout
19630
19631 \begin_layout Standard
19632 \begin_inset VSpace bigskip
19633 \end_inset
19634
19635 If you are using a 
19636 \series bold
19637 koma-script
19638 \series default
19639
19640 \begin_inset LatexCommand index
19641 name "LaTeX-packages ! koma-script"
19642
19643 \end_inset
19644
19645  document class (
19646 \family sans
19647 article (koma-script)
19648 \family default
19649
19650 \family sans
19651 book (koma-script)
19652 \family default
19653
19654 \family sans
19655 letter (koma-script)
19656 \family default
19657 , or 
19658 \family sans
19659 report (koma-script)
19660 \family default
19661 \InsetSpace \thinspace{}
19662 ), you can alternatively to the 
19663 \series bold
19664 caption
19665 \series default
19666  package use 
19667 \series bold
19668 koma-script
19669 \series default
19670 's built-in command 
19671 \series bold
19672
19673 \backslash
19674 setkomafont
19675 \series default
19676 .
19677  For example, to have the caption label in bold, add this command to your
19678  document preamble:
19679 \end_layout
19680
19681 \begin_layout Standard
19682
19683 \series bold
19684
19685 \backslash
19686 setkomafont{captionlabel}{
19687 \backslash
19688 bfseries}
19689 \end_layout
19690
19691 \begin_layout Standard
19692 For more information about 
19693 \series bold
19694
19695 \backslash
19696 setkomafont
19697 \series default
19698  we refer to the 
19699 \series bold
19700 koma-script
19701 \series default
19702  documentation 
19703 \begin_inset LatexCommand cite
19704 key "koma-script,koma-script-de"
19705
19706 \end_inset
19707
19708 .
19709 \end_layout
19710
19711 \begin_layout Standard
19712 \begin_inset ERT
19713 status collapsed
19714
19715 \begin_layout Standard
19716
19717
19718 \backslash
19719 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
19720 }
19721 \end_layout
19722
19723 \end_inset
19724
19725
19726 \begin_inset Note Note
19727 status open
19728
19729 \begin_layout Standard
19730 The caption format is changed only for this example.
19731 \end_layout
19732
19733 \end_inset
19734
19735
19736 \end_layout
19737
19738 \begin_layout Standard
19739 \begin_inset Float figure
19740 placement !p
19741 wide false
19742 sideways false
19743 status open
19744
19745 \begin_layout Standard
19746 \align center
19747 \begin_inset Graphics
19748         filename clipart/mobius.eps
19749         lyxscale 50
19750         scale 50
19751
19752 \end_inset
19753
19754
19755 \end_layout
19756
19757 \begin_layout Standard
19758 \begin_inset Caption
19759
19760 \begin_layout Standard
19761 \begin_inset LatexCommand label
19762 name "fig:This-is-an-fig"
19763
19764 \end_inset
19765
19766 This is an example figure caption that is longer than one line to show the
19767  different caption format.
19768  Here a self-defined caption format is used.
19769 \end_layout
19770
19771 \end_inset
19772
19773
19774 \end_layout
19775
19776 \end_inset
19777
19778
19779 \end_layout
19780
19781 \begin_layout Standard
19782 \begin_inset ERT
19783 status collapsed
19784
19785 \begin_layout Standard
19786
19787
19788 \backslash
19789 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
19790 on}
19791 \end_layout
19792
19793 \end_inset
19794
19795
19796 \end_layout
19797
19798 \begin_layout Standard
19799 \begin_inset Float table
19800 placement !p
19801 wide false
19802 sideways false
19803 status open
19804
19805 \begin_layout Standard
19806 \begin_inset Caption
19807
19808 \begin_layout Standard
19809 \begin_inset LatexCommand label
19810 name "tab:This-is-an-tab"
19811
19812 \end_inset
19813
19814 This is an example table caption that is longer than one line to show the
19815  different caption format.
19816  Here the standard caption format for tables in this document is used.
19817 \end_layout
19818
19819 \end_inset
19820
19821
19822 \end_layout
19823
19824 \begin_layout Standard
19825 \align center
19826 \begin_inset Tabular
19827 <lyxtabular version="3" rows="1" columns="5">
19828 <features>
19829 <column alignment="center" valignment="top" leftline="true" width="0">
19830 <column alignment="center" valignment="top" leftline="true" width="0">
19831 <column alignment="center" valignment="top" leftline="true" width="0">
19832 <column alignment="center" valignment="top" leftline="true" width="0">
19833 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
19834 <row topline="true" bottomline="true">
19835 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19836 \begin_inset Text
19837
19838 \begin_layout Standard
19839 a
19840 \end_layout
19841
19842 \end_inset
19843 </cell>
19844 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19845 \begin_inset Text
19846
19847 \begin_layout Standard
19848 b
19849 \end_layout
19850
19851 \end_inset
19852 </cell>
19853 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19854 \begin_inset Text
19855
19856 \begin_layout Standard
19857 c
19858 \end_layout
19859
19860 \end_inset
19861 </cell>
19862 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19863 \begin_inset Text
19864
19865 \begin_layout Standard
19866 d
19867 \end_layout
19868
19869 \end_inset
19870 </cell>
19871 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19872 \begin_inset Text
19873
19874 \begin_layout Standard
19875 e
19876 \end_layout
19877
19878 \end_inset
19879 </cell>
19880 </row>
19881 </lyxtabular>
19882
19883 \end_inset
19884
19885
19886 \end_layout
19887
19888 \end_inset
19889
19890
19891 \end_layout
19892
19893 \begin_layout Section
19894 Caption Placement
19895 \begin_inset LatexCommand index
19896 name "Caption ! Placement"
19897
19898 \end_inset
19899
19900
19901 \begin_inset LatexCommand index
19902 name "Floats ! Caption Placement"
19903
19904 \end_inset
19905
19906
19907 \begin_inset LatexCommand label
19908 name "sec:Caption-Placement"
19909
19910 \end_inset
19911
19912
19913 \end_layout
19914
19915 \begin_layout Standard
19916 The common caption placement rule is:
19917 \end_layout
19918
19919 \begin_layout Description
19920 Figure: Caption is set below the figure
19921 \end_layout
19922
19923 \begin_layout Description
19924 Table: Caption is set above the table
19925 \end_layout
19926
19927 \begin_layout Standard
19928 Having the caption above the table is unfortunately not supported in LaTeX's
19929  standard classes.
19930  That means if you are using the document classes 
19931 \family sans
19932 article
19933 \family default
19934
19935 \family sans
19936 book
19937 \family default
19938
19939 \family sans
19940 letter
19941 \family default
19942 , or 
19943 \family sans
19944 report
19945 \family default
19946  there will be no space between the caption and the table.
19947  To insert the needed space, add the following option to the load command
19948  of the LaTeX-package 
19949 \series bold
19950 caption
19951 \series default
19952  in your document preamble
19953 \begin_inset Foot
19954 status collapsed
19955
19956 \begin_layout Standard
19957 See section\InsetSpace ~
19958
19959 \begin_inset LatexCommand ref
19960 reference "sec:Caption-Formatting"
19961
19962 \end_inset
19963
19964  for more information of the package 
19965 \series bold
19966 caption
19967 \series default
19968 .
19969 \end_layout
19970
19971 \end_inset
19972
19973 :
19974 \end_layout
19975
19976 \begin_layout Standard
19977
19978 \series bold
19979 tableposition=top
19980 \end_layout
19981
19982 \begin_layout Standard
19983 If you are using a 
19984 \series bold
19985 koma-script
19986 \series default
19987
19988 \begin_inset LatexCommand index
19989 name "LaTeX-packages ! koma-script"
19990
19991 \end_inset
19992
19993  document class (
19994 \family sans
19995 article (koma-script)
19996 \family default
19997
19998 \family sans
19999 book (koma-script)
20000 \family default
20001
20002 \family sans
20003 letter (koma-script)
20004 \family default
20005 , or 
20006 \family sans
20007 report (koma-script)
20008 \family default
20009 \InsetSpace \thinspace{}
20010 ), you can alternatively to the 
20011 \series bold
20012 caption
20013 \series default
20014  package set the document class option 
20015 \series bold
20016 tablecaptionabove
20017 \series default
20018 , or you can use the environment 
20019 \family sans
20020 caption\InsetSpace ~
20021 above
20022 \family default
20023  instead of the 
20024 \family sans
20025 caption
20026 \family default
20027  environment.
20028 \end_layout
20029
20030 \begin_layout Standard
20031 \begin_inset VSpace bigskip
20032 \end_inset
20033
20034 It is also possible to set the caption beside a figure or table.
20035  To get this the LaTeX-package 
20036 \series bold
20037 sidecap
20038 \series default
20039
20040 \begin_inset LatexCommand index
20041 name "LaTeX-packages ! sidecap"
20042
20043 \end_inset
20044
20045  has to be loaded in the document preamble with the line
20046 \end_layout
20047
20048 \begin_layout Standard
20049
20050 \series bold
20051
20052 \backslash
20053 usepackage[option]{sidecap}
20054 \end_layout
20055
20056 \begin_layout Standard
20057 If you set no option, the caption is placed on the side of the outer page
20058  margin -- to the right on odd pages, to the left on even pages.
20059  You can change the placement to inner margin with the option 
20060 \series bold
20061 innercaption
20062 \series default
20063 .
20064  To force the placement always to the right or left, use the option 
20065 \series bold
20066 rightcaption
20067 \series default
20068  or 
20069 \series bold
20070 leftcaption
20071 \series default
20072 , respectively.
20073 \end_layout
20074
20075 \begin_layout Standard
20076 To place in LyX the caption of a float on the side, it is necessary to add
20077  these commands to the document preamble:
20078 \end_layout
20079
20080 \begin_layout Standard
20081
20082 \lyxline
20083
20084 \end_layout
20085
20086 \begin_layout Standard
20087
20088 \series bold
20089
20090 \backslash
20091 newcommand{
20092 \backslash
20093 TabBesBeg}{%
20094 \newline
20095
20096 \begin_inset ERT
20097 status collapsed
20098
20099 \begin_layout Standard
20100
20101
20102 \backslash
20103 hphantom{ }
20104 \end_layout
20105
20106 \end_inset
20107
20108
20109 \backslash
20110 let
20111 \backslash
20112 MyTable
20113 \backslash
20114 table
20115 \newline
20116
20117 \begin_inset ERT
20118 status collapsed
20119
20120 \begin_layout Standard
20121
20122
20123 \backslash
20124 hphantom{ }
20125 \end_layout
20126
20127 \end_inset
20128
20129
20130 \backslash
20131 let
20132 \backslash
20133 MyEndtable
20134 \backslash
20135 endtable
20136 \newline
20137
20138 \begin_inset ERT
20139 status collapsed
20140
20141 \begin_layout Standard
20142
20143
20144 \backslash
20145 hphantom{ }
20146 \end_layout
20147
20148 \end_inset
20149
20150
20151 \backslash
20152 renewenvironment{table}{
20153 \backslash
20154 begin{SCtable}}{
20155 \backslash
20156 end{SCtable}}}
20157 \end_layout
20158
20159 \begin_layout Standard
20160
20161 \series bold
20162
20163 \backslash
20164 newcommand{
20165 \backslash
20166 TabBesEnd}{%
20167 \newline
20168
20169 \begin_inset ERT
20170 status collapsed
20171
20172 \begin_layout Standard
20173
20174
20175 \backslash
20176 hphantom{ }
20177 \end_layout
20178
20179 \end_inset
20180
20181
20182 \backslash
20183 let
20184 \backslash
20185 table
20186 \backslash
20187 MyTable
20188 \newline
20189
20190 \begin_inset ERT
20191 status collapsed
20192
20193 \begin_layout Standard
20194
20195
20196 \backslash
20197 hphantom{ }
20198 \end_layout
20199
20200 \end_inset
20201
20202
20203 \backslash
20204 let
20205 \backslash
20206 endtable
20207 \backslash
20208 MyEndtable
20209 \end_layout
20210
20211 \begin_layout Standard
20212
20213 \series bold
20214
20215 \backslash
20216 newcommand{
20217 \backslash
20218 FigBesBeg}{%
20219 \newline
20220
20221 \begin_inset ERT
20222 status collapsed
20223
20224 \begin_layout Standard
20225
20226
20227 \backslash
20228 hphantom{ }
20229 \end_layout
20230
20231 \end_inset
20232
20233
20234 \backslash
20235 let
20236 \backslash
20237 MyFigure
20238 \backslash
20239 f\SpecialChar \textcompwordmark{}
20240 igure
20241 \newline
20242
20243 \begin_inset ERT
20244 status collapsed
20245
20246 \begin_layout Standard
20247
20248
20249 \backslash
20250 hphantom{ }
20251 \end_layout
20252
20253 \end_inset
20254
20255
20256 \backslash
20257 let
20258 \backslash
20259 MyEndf\SpecialChar \textcompwordmark{}
20260 igure
20261 \backslash
20262 endf\SpecialChar \textcompwordmark{}
20263 igure
20264 \newline
20265
20266 \begin_inset ERT
20267 status collapsed
20268
20269 \begin_layout Standard
20270
20271
20272 \backslash
20273 hphantom{ }
20274 \end_layout
20275
20276 \end_inset
20277
20278
20279 \backslash
20280 renewenvironment{f\SpecialChar \textcompwordmark{}
20281 igure}{
20282 \backslash
20283 begin{SCf\SpecialChar \textcompwordmark{}
20284 igure}}{
20285 \backslash
20286 end{SCf\SpecialChar \textcompwordmark{}
20287 igure}}}
20288 \end_layout
20289
20290 \begin_layout Standard
20291
20292 \series bold
20293
20294 \backslash
20295 newcommand{
20296 \backslash
20297 FigBesEnd}{%
20298 \newline
20299
20300 \begin_inset ERT
20301 status collapsed
20302
20303 \begin_layout Standard
20304
20305
20306 \backslash
20307 hphantom{ }
20308 \end_layout
20309
20310 \end_inset
20311
20312
20313 \backslash
20314 let
20315 \backslash
20316 f\SpecialChar \textcompwordmark{}
20317 igure
20318 \backslash
20319 MyFigure
20320 \newline
20321
20322 \begin_inset ERT
20323 status collapsed
20324
20325 \begin_layout Standard
20326
20327
20328 \backslash
20329 hphantom{ }
20330 \end_layout
20331
20332 \end_inset
20333
20334
20335 \backslash
20336 let
20337 \backslash
20338 endf\SpecialChar \textcompwordmark{}
20339 igure
20340 \backslash
20341 MyEndf\SpecialChar \textcompwordmark{}
20342 igure}
20343 \end_layout
20344
20345 \begin_layout Standard
20346
20347 \lyxline
20348
20349 \end_layout
20350
20351 \begin_layout Standard
20352 The commands allow you to redefine the floats so that the caption is set
20353  on the side.
20354  For figure floats use the command
20355 \end_layout
20356
20357 \begin_layout Standard
20358
20359 \series bold
20360
20361 \backslash
20362 FigBesBeg
20363 \end_layout
20364
20365 \begin_layout Standard
20366 in ERT before the float.
20367  Behind the float insert the command
20368 \end_layout
20369
20370 \begin_layout Standard
20371
20372 \series bold
20373
20374 \backslash
20375 FigBesEnd
20376 \end_layout
20377
20378 \begin_layout Standard
20379 in ERT to get back to the original float definition.
20380 \end_layout
20381
20382 \begin_layout Standard
20383 For table floats use the corresponding commands
20384 \end_layout
20385
20386 \begin_layout Standard
20387
20388 \series bold
20389
20390 \backslash
20391 TabBesBeg
20392 \series default
20393  and 
20394 \series bold
20395
20396 \backslash
20397 TabBesEnd
20398 \end_layout
20399
20400 \begin_layout Standard
20401 Figure\InsetSpace ~
20402
20403 \begin_inset LatexCommand ref
20404 reference "fig:cap-beside-fig"
20405
20406 \end_inset
20407
20408  and Table\InsetSpace ~
20409
20410 \begin_inset LatexCommand ref
20411 reference "tab:cap-beside-tab"
20412
20413 \end_inset
20414
20415  are examples where the caption is set beside.
20416 \end_layout
20417
20418 \begin_layout Standard
20419 You can see in the examples that the caption text appears at the top of
20420  the floats for table floats and at the bottom for figure floats.
20421  To change this, you can use the command
20422 \end_layout
20423
20424 \begin_layout Standard
20425
20426 \series bold
20427
20428 \backslash
20429 sidecaptionvpos{float type}{placement}
20430 \end_layout
20431
20432 \begin_layout Standard
20433 in the document preamble or in ERT before the float.
20434  The float type is either 
20435 \family sans
20436 figure
20437 \family default
20438  or 
20439 \family sans
20440 table
20441 \family default
20442 , the placement can be 
20443 \begin_inset Quotes eld
20444 \end_inset
20445
20446
20447 \family sans
20448 t
20449 \family default
20450
20451 \begin_inset Quotes erd
20452 \end_inset
20453
20454  for top, 
20455 \begin_inset Quotes eld
20456 \end_inset
20457
20458
20459 \family sans
20460 c
20461 \family default
20462
20463 \begin_inset Quotes erd
20464 \end_inset
20465
20466  for center, or 
20467 \begin_inset Quotes eld
20468 \end_inset
20469
20470
20471 \family sans
20472 b
20473 \family default
20474
20475 \begin_inset Quotes erd
20476 \end_inset
20477
20478  for bottom.
20479  To have for example the caption of figure floats vertically centered, use
20480  the command
20481 \end_layout
20482
20483 \begin_layout Standard
20484
20485 \series bold
20486
20487 \backslash
20488 sidecaptionvpos{f\SpecialChar \textcompwordmark{}
20489 igure}{c}
20490 \end_layout
20491
20492 \begin_layout Standard
20493 This was used for Figure\InsetSpace ~
20494
20495 \begin_inset LatexCommand ref
20496 reference "fig:cap-beside-fig-2"
20497
20498 \end_inset
20499
20500 .
20501 \end_layout
20502
20503 \begin_layout Standard
20504 \begin_inset VSpace defskip
20505 \end_inset
20506
20507 For more information about the package 
20508 \series bold
20509 sidecap
20510 \series default
20511  we refer to its documentation 
20512 \begin_inset LatexCommand cite
20513 key "sidecap"
20514
20515 \end_inset
20516
20517 .
20518 \end_layout
20519
20520 \begin_layout Standard
20521 \begin_inset Note Greyedout
20522 status open
20523
20524 \begin_layout Standard
20525
20526 \series bold
20527 Note:
20528 \series default
20529  The LaTeX-package 
20530 \series bold
20531 hypcap
20532 \series default
20533
20534 \begin_inset LatexCommand index
20535 name "LaTeX-packages ! hypcap"
20536
20537 \end_inset
20538
20539 , described in section\InsetSpace ~
20540
20541 \begin_inset LatexCommand ref
20542 reference "sub:Reference-Position"
20543
20544 \end_inset
20545
20546 , has no effect on floats with the caption set beside.
20547 \end_layout
20548
20549 \end_inset
20550
20551
20552 \end_layout
20553
20554 \begin_layout Standard
20555 \begin_inset ERT
20556 status collapsed
20557
20558 \begin_layout Standard
20559
20560
20561 \backslash
20562 FigBesBeg 
20563 \end_layout
20564
20565 \end_inset
20566
20567
20568 \end_layout
20569
20570 \begin_layout Standard
20571 \begin_inset Float figure
20572 wide false
20573 sideways false
20574 status open
20575
20576 \begin_layout Standard
20577 \begin_inset Graphics
20578         filename clipart/escher-lsd.eps
20579         scale 75
20580
20581 \end_inset
20582
20583
20584 \end_layout
20585
20586 \begin_layout Standard
20587 \begin_inset Caption
20588
20589 \begin_layout Standard
20590 \begin_inset LatexCommand label
20591 name "fig:cap-beside-fig"
20592
20593 \end_inset
20594
20595 This is a caption beside a figure.
20596 \end_layout
20597
20598 \end_inset
20599
20600
20601 \end_layout
20602
20603 \end_inset
20604
20605
20606 \end_layout
20607
20608 \begin_layout Standard
20609 \begin_inset ERT
20610 status collapsed
20611
20612 \begin_layout Standard
20613
20614
20615 \backslash
20616 TabBesBeg 
20617 \end_layout
20618
20619 \end_inset
20620
20621
20622 \end_layout
20623
20624 \begin_layout Standard
20625 \begin_inset Float table
20626 wide false
20627 sideways false
20628 status open
20629
20630 \begin_layout Standard
20631 \begin_inset Caption
20632
20633 \begin_layout Standard
20634 \begin_inset LatexCommand label
20635 name "tab:cap-beside-tab"
20636
20637 \end_inset
20638
20639 This is a caption beside a table.
20640 \end_layout
20641
20642 \end_inset
20643
20644
20645 \end_layout
20646
20647 \begin_layout Standard
20648 \begin_inset Tabular
20649 <lyxtabular version="3" rows="4" columns="5">
20650 <features>
20651 <column alignment="center" valignment="top" leftline="true" width="0">
20652 <column alignment="center" valignment="top" leftline="true" width="0">
20653 <column alignment="center" valignment="top" leftline="true" width="0">
20654 <column alignment="center" valignment="top" leftline="true" width="0">
20655 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
20656 <row topline="true">
20657 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20658 \begin_inset Text
20659
20660 \begin_layout Standard
20661 a
20662 \end_layout
20663
20664 \end_inset
20665 </cell>
20666 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20667 \begin_inset Text
20668
20669 \begin_layout Standard
20670
20671 \end_layout
20672
20673 \end_inset
20674 </cell>
20675 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20676 \begin_inset Text
20677
20678 \begin_layout Standard
20679 b
20680 \end_layout
20681
20682 \end_inset
20683 </cell>
20684 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20685 \begin_inset Text
20686
20687 \begin_layout Standard
20688
20689 \end_layout
20690
20691 \end_inset
20692 </cell>
20693 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20694 \begin_inset Text
20695
20696 \begin_layout Standard
20697 c
20698 \end_layout
20699
20700 \end_inset
20701 </cell>
20702 </row>
20703 <row topline="true">
20704 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20705 \begin_inset Text
20706
20707 \begin_layout Standard
20708
20709 \end_layout
20710
20711 \end_inset
20712 </cell>
20713 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20714 \begin_inset Text
20715
20716 \begin_layout Standard
20717 d
20718 \end_layout
20719
20720 \end_inset
20721 </cell>
20722 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20723 \begin_inset Text
20724
20725 \begin_layout Standard
20726
20727 \end_layout
20728
20729 \end_inset
20730 </cell>
20731 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20732 \begin_inset Text
20733
20734 \begin_layout Standard
20735 e
20736 \end_layout
20737
20738 \end_inset
20739 </cell>
20740 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20741 \begin_inset Text
20742
20743 \begin_layout Standard
20744
20745 \end_layout
20746
20747 \end_inset
20748 </cell>
20749 </row>
20750 <row topline="true">
20751 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20752 \begin_inset Text
20753
20754 \begin_layout Standard
20755 f
20756 \end_layout
20757
20758 \end_inset
20759 </cell>
20760 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20761 \begin_inset Text
20762
20763 \begin_layout Standard
20764
20765 \end_layout
20766
20767 \end_inset
20768 </cell>
20769 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20770 \begin_inset Text
20771
20772 \begin_layout Standard
20773 g
20774 \end_layout
20775
20776 \end_inset
20777 </cell>
20778 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20779 \begin_inset Text
20780
20781 \begin_layout Standard
20782
20783 \end_layout
20784
20785 \end_inset
20786 </cell>
20787 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20788 \begin_inset Text
20789
20790 \begin_layout Standard
20791 h
20792 \end_layout
20793
20794 \end_inset
20795 </cell>
20796 </row>
20797 <row topline="true" bottomline="true">
20798 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20799 \begin_inset Text
20800
20801 \begin_layout Standard
20802
20803 \end_layout
20804
20805 \end_inset
20806 </cell>
20807 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20808 \begin_inset Text
20809
20810 \begin_layout Standard
20811 i
20812 \end_layout
20813
20814 \end_inset
20815 </cell>
20816 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20817 \begin_inset Text
20818
20819 \begin_layout Standard
20820
20821 \end_layout
20822
20823 \end_inset
20824 </cell>
20825 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20826 \begin_inset Text
20827
20828 \begin_layout Standard
20829 j
20830 \end_layout
20831
20832 \end_inset
20833 </cell>
20834 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20835 \begin_inset Text
20836
20837 \begin_layout Standard
20838
20839 \end_layout
20840
20841 \end_inset
20842 </cell>
20843 </row>
20844 </lyxtabular>
20845
20846 \end_inset
20847
20848
20849 \end_layout
20850
20851 \end_inset
20852
20853
20854 \end_layout
20855
20856 \begin_layout Standard
20857 \begin_inset ERT
20858 status collapsed
20859
20860 \begin_layout Standard
20861
20862
20863 \backslash
20864 TabBesEnd
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 sidecaptionvpos{figure}{c}
20881 \end_layout
20882
20883 \end_inset
20884
20885
20886 \begin_inset Float figure
20887 wide false
20888 sideways false
20889 status open
20890
20891 \begin_layout Standard
20892 \begin_inset Graphics
20893         filename clipart/escher-lsd.eps
20894         scale 75
20895
20896 \end_inset
20897
20898
20899 \end_layout
20900
20901 \begin_layout Standard
20902 \begin_inset Caption
20903
20904 \begin_layout Standard
20905 \begin_inset LatexCommand label
20906 name "fig:cap-beside-fig-2"
20907
20908 \end_inset
20909
20910 This is a vertically centered caption beside a figure.
20911 \end_layout
20912
20913 \end_inset
20914
20915
20916 \end_layout
20917
20918 \end_inset
20919
20920
20921 \end_layout
20922
20923 \begin_layout Standard
20924 \begin_inset ERT
20925 status collapsed
20926
20927 \begin_layout Standard
20928
20929
20930 \backslash
20931 FigBesEnd
20932 \end_layout
20933
20934 \end_inset
20935
20936
20937 \end_layout
20938
20939 \begin_layout Section
20940 Listings of Floats
20941 \begin_inset LatexCommand label
20942 name "sec:Listings-of-Floats"
20943
20944 \end_inset
20945
20946
20947 \begin_inset LatexCommand index
20948 name "Floats ! Listings"
20949
20950 \end_inset
20951
20952
20953 \end_layout
20954
20955 \begin_layout Standard
20956 Similar to the the table of contents where the sections of the document
20957  are listed, there are listings for all float types, like the figures of
20958  the documents.
20959  You can insert them via the 
20960 \family sans
20961 Insert\SpecialChar \menuseparator
20962 List\InsetSpace ~
20963 /\InsetSpace ~
20964 TOC
20965 \family default
20966  sub menus.
20967 \end_layout
20968
20969 \begin_layout Standard
20970 The list entries are the float captions or its short title, the float number,
20971  and the page number where they appear in the document.
20972 \end_layout
20973
20974 \begin_layout Standard
20975 You can find the list of figures and tables at the end of this document.
20976 \end_layout
20977
20978 \begin_layout Chapter
20979 Notes
20980 \end_layout
20981
20982 \begin_layout Section
20983 \begin_inset ERT
20984 status collapsed
20985
20986 \begin_layout Standard
20987
20988
20989 \backslash
20990 texorpdfstring{
20991 \end_layout
20992
20993 \end_inset
20994
20995 LyX
20996 \begin_inset ERT
20997 status collapsed
20998
20999 \begin_layout Standard
21000
21001 }{LyX}
21002 \end_layout
21003
21004 \end_inset
21005
21006  Notes
21007 \begin_inset LatexCommand label
21008 name "sec:LyX-Notes"
21009
21010 \end_inset
21011
21012
21013 \begin_inset LatexCommand index
21014 name "Notes ! LyX Notes"
21015
21016 \end_inset
21017
21018
21019 \begin_inset Note Note
21020 status collapsed
21021
21022 \begin_layout Standard
21023 The command 
21024 \backslash
21025 texorpdfstring is provided by the LaTeX-package hyperref to avoid that ligatures
21026  are displayed wrongly in PDF-bookmarks.
21027  For more information about this, have a look at 
21028 \begin_inset LatexCommand cite
21029 key "hyperref"
21030
21031 \end_inset
21032
21033 .
21034 \end_layout
21035
21036 \end_inset
21037
21038
21039 \end_layout
21040
21041 \begin_layout Standard
21042 Notes are inserted with the toolbar button 
21043 \begin_inset Graphics
21044         filename ../images/note-insert.xpm
21045         scale 85
21046
21047 \end_inset
21048
21049  or the menu 
21050 \family sans
21051 Insert\SpecialChar \menuseparator
21052 Note
21053 \family default
21054 .
21055  There are three types of notes:
21056 \end_layout
21057
21058 \begin_layout Description
21059 LyX\InsetSpace ~
21060 Note This note type is for internal notes that won't appear in the output.
21061  Its note-box looks like this:
21062 \newline
21063
21064 \newline
21065
21066 \begin_inset Graphics
21067         filename clipart/LyXNoteImageQt4.png
21068         display none
21069         scale 85
21070
21071 \end_inset
21072
21073  
21074 \begin_inset Note Note
21075 status open
21076
21077 \begin_layout Standard
21078 This is text in a note box that doesn't appear in the output.
21079 \end_layout
21080
21081 \end_inset
21082
21083
21084 \end_layout
21085
21086 \begin_layout Description
21087 Comment This note also doesn't appear in the output but it appears as LaTeX-comm
21088 ent, when you export the document to LaTeX via the menu 
21089 \family sans
21090 File\SpecialChar \menuseparator
21091 Export\SpecialChar \menuseparator
21092 LaTeX (pdflatex) / LaTeX (plain)
21093 \family default
21094 .
21095  Its note-box looks like this:
21096 \newline
21097
21098 \newline
21099
21100 \begin_inset Graphics
21101         filename clipart/CommentNoteImageQt4.png
21102         display none
21103         scale 85
21104
21105 \end_inset
21106
21107  
21108 \begin_inset Note Comment
21109 status open
21110
21111 \begin_layout Standard
21112 This is text in a note box that only appears as comment in LaTeX-files.
21113 \end_layout
21114
21115 \end_inset
21116
21117
21118 \end_layout
21119
21120 \begin_layout Description
21121 Greyed\InsetSpace ~
21122 Out This note will appear in the output as grey text.
21123  Its note-box looks like this:
21124 \newline
21125
21126 \newline
21127
21128 \begin_inset Graphics
21129         filename clipart/GreyedOutNoteImageQt4.png
21130         display none
21131         scale 85
21132
21133 \end_inset
21134
21135
21136 \newline
21137
21138 \begin_inset ERT
21139 status collapsed
21140
21141 \begin_layout Standard
21142
21143
21144 \backslash
21145 renewenvironment{lyxgreyedout}
21146 \end_layout
21147
21148 \begin_layout Standard
21149
21150 {
21151 \backslash
21152 textcolor[gray]{0.8}
21153 \backslash
21154 bgroup}{
21155 \backslash
21156 egroup}
21157 \end_layout
21158
21159 \end_inset
21160
21161
21162 \begin_inset Note Greyedout
21163 status open
21164
21165 \begin_layout Standard
21166 This is text
21167 \begin_inset Foot
21168 status open
21169
21170 \begin_layout Standard
21171 This is an example footnote within a greyed out note.
21172 \end_layout
21173
21174 \end_inset
21175
21176  of a comment that appears in the output as grey text.
21177 \end_layout
21178
21179 \end_inset
21180
21181
21182 \begin_inset ERT
21183 status collapsed
21184
21185 \begin_layout Standard
21186
21187
21188 \backslash
21189 renewenvironment{lyxgreyedout}
21190 \end_layout
21191
21192 \begin_layout Standard
21193
21194 {
21195 \backslash
21196 textcolor{blue}
21197 \backslash
21198 bgroup}{
21199 \backslash
21200 egroup}
21201 \end_layout
21202
21203 \end_inset
21204
21205
21206 \begin_inset Note Note
21207 status collapsed
21208
21209 \begin_layout Standard
21210 The greyed out note is here redefined to show it with the original LyX definitio
21211 n because greyed out notes are redefined in the preamble of this document,
21212  as described below, to have blue text.
21213 \end_layout
21214
21215 \end_inset
21216
21217
21218 \newline
21219
21220 \newline
21221 As you can see in the example, the first line of greyed out notes is a bit
21222  indented and greyed out notes can have footnotes.
21223 \end_layout
21224
21225 \begin_layout Description
21226 Framed This note will appear in the output as framed text.
21227  Its note-box looks like this:
21228 \newline
21229
21230 \newline
21231
21232 \begin_inset Graphics
21233         filename clipart/FramedNoteImageQt4.png
21234         display none
21235         scale 85
21236
21237 \end_inset
21238
21239  
21240 \begin_inset Note Framed
21241 status open
21242
21243 \begin_layout Standard
21244 This is text in a note box that appears framed in the output.
21245 \end_layout
21246
21247 \end_inset
21248
21249  In contrary to framed boxes
21250 \begin_inset Foot
21251 status collapsed
21252
21253 \begin_layout Standard
21254 Framed boxes are described in section\InsetSpace ~
21255
21256 \begin_inset LatexCommand ref
21257 reference "sec:Framed-Boxes"
21258
21259 \end_inset
21260
21261 .
21262 \end_layout
21263
21264 \end_inset
21265
21266  the frame uses always the whole text width and the note is set into its
21267  own paragraph.
21268 \end_layout
21269
21270 \begin_layout Description
21271 Shaded This note will appear in the output with red background color.
21272  Its note box looks like this:
21273 \newline
21274
21275 \newline
21276
21277 \begin_inset Graphics
21278         filename clipart/ShadedNoteImageQt4.png
21279         display none
21280         scale 85
21281
21282 \end_inset
21283
21284
21285 \begin_inset Note Shaded
21286 status open
21287
21288 \begin_layout Standard
21289 This text in a note box appears in the output with red background.
21290 \end_layout
21291
21292 \end_inset
21293
21294 In contrary to colored boxes
21295 \begin_inset Foot
21296 status collapsed
21297
21298 \begin_layout Standard
21299 Colored boxes are described in section\InsetSpace ~
21300
21301 \begin_inset LatexCommand ref
21302 reference "sec:Colored-Boxes"
21303
21304 \end_inset
21305
21306 .
21307 \end_layout
21308
21309 \end_inset
21310
21311  the note uses always the whole text width and the note is set into its
21312  own paragraph.
21313 \end_layout
21314
21315 \begin_layout Standard
21316 \begin_inset VSpace bigskip
21317 \end_inset
21318
21319 When you use the toolbar button to insert notes, a 
21320 \family sans
21321 LyX\InsetSpace ~
21322 Note
21323 \family default
21324  is inserted.
21325  You can switch between the three note types by right-clicking on the note-box.
21326  
21327 \family roman
21328 \series medium
21329 \bar no
21330 If you want to turn existing text into a note, mark it and click on the
21331  note
21332 \family default
21333 \series default
21334 \bar default
21335  toolbar 
21336 \family roman
21337 \series medium
21338 \bar no
21339 button
21340 \family default
21341 \series default
21342 \bar default
21343 .
21344 \end_layout
21345
21346 \begin_layout Standard
21347 \begin_inset VSpace bigskip
21348 \end_inset
21349
21350 You can change the text color of the greyed out notes in the preamble with
21351  the following command:
21352 \end_layout
21353
21354 \begin_layout Standard
21355
21356 \series bold
21357
21358 \backslash
21359 renewenvironment{lyxgreyedout}
21360 \newline
21361
21362 \begin_inset ERT
21363 status collapsed
21364
21365 \begin_layout Standard
21366
21367
21368 \backslash
21369 hphantom{ }
21370 \end_layout
21371
21372 \end_inset
21373
21374 {
21375 \backslash
21376 textcolor{color}
21377 \backslash
21378 bgroup}{
21379 \backslash
21380 egroup}
21381 \end_layout
21382
21383 \begin_layout Standard
21384 The available colors and the method to define own colors is explained in
21385  section\InsetSpace ~
21386
21387 \begin_inset LatexCommand ref
21388 reference "sec:Colored-Tables"
21389
21390 \end_inset
21391
21392 .
21393 \end_layout
21394
21395 \begin_layout Standard
21396 Notes that appear in blue in this document are set using greyed out notes
21397  with blue text.
21398 \end_layout
21399
21400 \begin_layout Standard
21401 \begin_inset VSpace bigskip
21402 \end_inset
21403
21404
21405 \end_layout
21406
21407 \begin_layout Standard
21408 The text style of 
21409 \family sans
21410 Framed
21411 \family default
21412  and 
21413 \family sans
21414 Shaded
21415 \family default
21416  notes can be set in the 
21417 \family sans
21418 Text Style
21419 \family default
21420  dialog.
21421 \end_layout
21422
21423 \begin_layout Standard
21424 The default frame width for 
21425 \family sans
21426 Framed
21427 \family default
21428  notes is 0.4\InsetSpace \thinspace{}
21429 pt; it can be changed by changing the size 
21430 \series bold
21431
21432 \backslash
21433 FrameRule
21434 \series default
21435 .
21436  The default space between the note content and the frame is 9\InsetSpace \thinspace{}
21437 pt; it can
21438  be changed by changing the size 
21439 \series bold
21440
21441 \backslash
21442 FrameSep
21443 \series default
21444 .
21445  For example the frame appearance of the following 
21446 \family sans
21447 Framed
21448 \family default
21449  note is set with the ERT commands
21450 \end_layout
21451
21452 \begin_layout Standard
21453
21454 \series bold
21455
21456 \backslash
21457 FrameRule 5pt 
21458 \backslash
21459 FrameSep 0.5cm
21460 \end_layout
21461
21462 \begin_layout Standard
21463 \begin_inset ERT
21464 status collapsed
21465
21466 \begin_layout Standard
21467
21468
21469 \backslash
21470 FrameRule 5pt 
21471 \backslash
21472 FrameSep 0.5cm
21473 \end_layout
21474
21475 \end_inset
21476
21477
21478 \begin_inset Note Framed
21479 status open
21480
21481 \begin_layout Standard
21482 This is text in a 
21483 \family sans
21484 Framed
21485 \family default
21486  note.
21487 \end_layout
21488
21489 \end_inset
21490
21491
21492 \begin_inset ERT
21493 status collapsed
21494
21495 \begin_layout Standard
21496
21497
21498 \backslash
21499 FrameRule 0.4pt 
21500 \backslash
21501 FrameSep 9pt
21502 \end_layout
21503
21504 \end_inset
21505
21506
21507 \end_layout
21508
21509 \begin_layout Standard
21510 \begin_inset VSpace bigskip
21511 \end_inset
21512
21513
21514 \end_layout
21515
21516 \begin_layout Standard
21517 For 
21518 \family sans
21519 Shaded
21520 \family default
21521  notes the default space between the note content and the note border is
21522  3\InsetSpace \thinspace{}
21523 pt; it can be changed by changing the size 
21524 \series bold
21525
21526 \backslash
21527 fboxsep
21528 \series default
21529 .
21530 \newline
21531 The default background color red can be changed with the command 
21532 \series bold
21533
21534 \backslash
21535 def\SpecialChar \textcompwordmark{}
21536 inecolor{shadebox}
21537 \series default
21538 .
21539  The scheme of the 
21540 \series bold
21541
21542 \backslash
21543 def\SpecialChar \textcompwordmark{}
21544 inecolor
21545 \series default
21546  command is explained in section\InsetSpace ~
21547
21548 \begin_inset LatexCommand ref
21549 reference "sec:Colored-Tables"
21550
21551 \end_inset
21552
21553
21554 \begin_inset Foot
21555 status collapsed
21556
21557 \begin_layout Standard
21558 Note that 
21559 \series bold
21560
21561 \backslash
21562 def
21563 \series default
21564 \SpecialChar \textcompwordmark{}
21565
21566 \series bold
21567 inecolor
21568 \series default
21569  requires the LaTeX-package 
21570 \series bold
21571 color
21572 \series default
21573  in the preamble, see section\InsetSpace ~
21574
21575 \begin_inset LatexCommand ref
21576 reference "sec:Colored-Boxes"
21577
21578 \end_inset
21579
21580 .
21581 \end_layout
21582
21583 \end_inset
21584
21585 .
21586 \end_layout
21587
21588 \begin_layout Standard
21589 For example the appearance of the following 
21590 \family sans
21591 Shaded
21592 \family default
21593  note is set with the ERT commands
21594 \end_layout
21595
21596 \begin_layout Standard
21597
21598 \series bold
21599
21600 \backslash
21601 fboxsep 0.5cm
21602 \series default
21603
21604 \newline
21605
21606 \series bold
21607
21608 \backslash
21609 def\SpecialChar \textcompwordmark{}
21610 inecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
21611 \end_layout
21612
21613 \begin_layout Standard
21614 \begin_inset ERT
21615 status collapsed
21616
21617 \begin_layout Standard
21618
21619
21620 \backslash
21621 fboxsep 0.5cm
21622 \end_layout
21623
21624 \end_inset
21625
21626
21627 \begin_inset ERT
21628 status collapsed
21629
21630 \begin_layout Standard
21631
21632
21633 \backslash
21634 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
21635 \end_layout
21636
21637 \end_inset
21638
21639
21640 \begin_inset Note Shaded
21641 status open
21642
21643 \begin_layout Standard
21644
21645 \color yellow
21646 This is yellow text in a
21647 \color none
21648  
21649 \family sans
21650 \color yellow
21651 Shaded
21652 \family default
21653 \color none
21654  
21655 \color yellow
21656 note with darkgreen background.
21657 \end_layout
21658
21659 \end_inset
21660
21661
21662 \begin_inset ERT
21663 status collapsed
21664
21665 \begin_layout Standard
21666
21667
21668 \backslash
21669 fboxsep 3pt
21670 \end_layout
21671
21672 \end_inset
21673
21674
21675 \begin_inset ERT
21676 status collapsed
21677
21678 \begin_layout Standard
21679
21680
21681 \backslash
21682 definecolor{shadecolor}{rgb}{1,0,0}
21683 \end_layout
21684
21685 \end_inset
21686
21687
21688 \end_layout
21689
21690 \begin_layout Section
21691 Footnotes
21692 \begin_inset LatexCommand label
21693 name "sec:Footnotes"
21694
21695 \end_inset
21696
21697
21698 \begin_inset LatexCommand index
21699 name "Notes ! Footnotes"
21700
21701 \end_inset
21702
21703
21704 \begin_inset LatexCommand index
21705 name "Footnotes"
21706
21707 \end_inset
21708
21709
21710 \end_layout
21711
21712 \begin_layout Standard
21713 Footnotes can be inserted using the toolbar button 
21714 \begin_inset Graphics
21715         filename ../images/footnote-insert.xpm
21716         scale 85
21717
21718 \end_inset
21719
21720  or the menu 
21721 \family sans
21722 Insert\SpecialChar \menuseparator
21723 Footnote
21724 \family default
21725 .
21726  
21727 \family roman
21728 \series medium
21729 \bar no
21730 You'll see
21731 \family default
21732 \series default
21733 \bar default
21734  then the following footnote-box: 
21735 \begin_inset Graphics
21736         filename clipart/footnoteQt4.png
21737         scale 80
21738
21739 \end_inset
21740
21741  
21742 \family roman
21743 \series medium
21744 \bar no
21745 where you can enter the footnote text.
21746  If you want to turn existing text into a footnote, mark it and click on
21747  the footnote
21748 \family default
21749 \series default
21750 \bar default
21751  toolbar 
21752 \family roman
21753 \series medium
21754 \bar no
21755 button
21756 \family default
21757 \series default
21758 \bar default
21759 .
21760 \end_layout
21761
21762 \begin_layout Standard
21763 Here is an example footnote:
21764 \family roman
21765 \series medium
21766 \bar no
21767
21768 \begin_inset Foot
21769 status open
21770
21771 \begin_layout Standard
21772 \begin_inset LatexCommand label
21773 name "foot:This-is-an"
21774
21775 \end_inset
21776
21777 This is an example footnote.
21778 \end_layout
21779
21780 \end_inset
21781
21782
21783 \family default
21784 \series default
21785 \bar default
21786
21787 \begin_inset ERT
21788 status collapsed
21789
21790 \begin_layout Standard
21791
21792
21793 \backslash
21794 newcounter{MyRepeatFoot}
21795 \end_layout
21796
21797 \begin_layout Standard
21798
21799
21800 \backslash
21801 setcounter{MyRepeatFoot}{
21802 \backslash
21803 thefootnote}
21804 \end_layout
21805
21806 \end_inset
21807
21808
21809 \end_layout
21810
21811 \begin_layout Standard
21812 The footnote will appear in the output as a superscript number at the text
21813  position where the footnote box is placed.
21814  The footnote text is placed at the bottom of the current page.
21815  The footnote number is calculated by LaTeX, the numbers are consecutive.
21816  It depends on your document-class, if the footnote number is reset for
21817  every chapter.
21818 \end_layout
21819
21820 \begin_layout Standard
21821 Footnotes can be referenced like floats: Insert a label into the footnote
21822  and cross-reference this label in the text as described in section\InsetSpace ~
21823
21824 \begin_inset LatexCommand ref
21825 reference "sec:Referencing-Floats"
21826
21827 \end_inset
21828
21829 .
21830 \newline
21831 This is a cross-reference of Footnote\InsetSpace ~
21832
21833 \begin_inset LatexCommand ref
21834 reference "foot:This-is-an"
21835
21836 \end_inset
21837
21838 .
21839 \newline
21840
21841 \begin_inset Note Greyedout
21842 status open
21843
21844 \begin_layout Standard
21845
21846 \series bold
21847 Note:
21848 \series default
21849  LyX doesn't provide a prefix for labels in footnotes, so you have to insert
21850  e.\InsetSpace \thinspace{}
21851 g.\InsetSpace ~
21852 the prefix 
21853 \family sans
21854
21855 \begin_inset Quotes eld
21856 \end_inset
21857
21858 foot:
21859 \family default
21860
21861 \begin_inset Quotes erd
21862 \end_inset
21863
21864  manually when you want to use the reference style 
21865 \family sans
21866 Formatted\InsetSpace ~
21867 reference
21868 \family default
21869 .
21870 \end_layout
21871
21872 \end_inset
21873
21874
21875 \end_layout
21876
21877 \begin_layout Standard
21878 \begin_inset VSpace defskip
21879 \end_inset
21880
21881 To use footnotes within tables, you have to use minipages, see section\InsetSpace ~
21882
21883 \begin_inset LatexCommand ref
21884 reference "sec:Minipages"
21885
21886 \end_inset
21887
21888 .
21889  Footnotes within longtables are described in section\InsetSpace ~
21890
21891 \begin_inset LatexCommand ref
21892 reference "sub:Footnotes-in-Longtables"
21893
21894 \end_inset
21895
21896 .
21897 \end_layout
21898
21899 \begin_layout Standard
21900 \begin_inset VSpace defskip
21901 \end_inset
21902
21903 To create only a mark for a footnote, use the command 
21904 \series bold
21905
21906 \backslash
21907 footnotemark[number]
21908 \series default
21909  in ERT.
21910  This is used when you have the same annotation several times in a text
21911  but doesn't want to print the footnote text every time.
21912 \newline
21913 As you don't know
21914  the number of the repeating footnote while you are writing the text, you
21915  have to store its number.
21916  For the following footnote mark example, these commands were inserted in
21917  ERT behind Footnote\InsetSpace ~
21918
21919 \begin_inset LatexCommand ref
21920 reference "foot:This-is-an"
21921
21922 \end_inset
21923
21924  to store the footnote number:
21925 \end_layout
21926
21927 \begin_layout Standard
21928
21929 \series bold
21930
21931 \backslash
21932 newcounter{MyRepeatFoot}
21933 \newline
21934
21935 \backslash
21936 setcounter{MyRepeatFoot}{
21937 \backslash
21938 thefootnote}
21939 \end_layout
21940
21941 \begin_layout Standard
21942 The footnote mark was then created with this command:
21943 \end_layout
21944
21945 \begin_layout Standard
21946
21947 \series bold
21948
21949 \backslash
21950 footnotemark[
21951 \backslash
21952 theMyRepeatFoot]
21953 \end_layout
21954
21955 \begin_layout Standard
21956 Here is an example footnote mark:
21957 \family roman
21958 \series medium
21959 \bar no
21960
21961 \begin_inset ERT
21962 status collapsed
21963
21964 \begin_layout Standard
21965
21966
21967 \backslash
21968 footnotemark[
21969 \backslash
21970 theMyRepeatFoot]
21971 \end_layout
21972
21973 \end_inset
21974
21975
21976 \end_layout
21977
21978 \begin_layout Subsection
21979 Footnote Numbering
21980 \begin_inset LatexCommand label
21981 name "sub:Footnote-Numbering"
21982
21983 \end_inset
21984
21985
21986 \begin_inset LatexCommand index
21987 name "Footnotes ! Numbering"
21988
21989 \end_inset
21990
21991
21992 \end_layout
21993
21994 \begin_layout Standard
21995 To reset the footnote number back to 1 after each section
21996 \family roman
21997 , add this command to your document preamble:
21998 \end_layout
21999
22000 \begin_layout Standard
22001
22002 \series bold
22003
22004 \backslash
22005 @addtoreset{footnote}{section}
22006 \end_layout
22007
22008 \begin_layout Standard
22009 \begin_inset VSpace bigskip
22010 \end_inset
22011
22012 The following preamble command changes the footnote numbering style to small
22013  roman numerals:
22014 \end_layout
22015
22016 \begin_layout Standard
22017
22018 \series bold
22019
22020 \backslash
22021 renewcommand{
22022 \backslash
22023 thefootnote}{
22024 \backslash
22025 roman{footnote}}
22026 \end_layout
22027
22028 \begin_layout Standard
22029 \begin_inset ERT
22030 status collapsed
22031
22032 \begin_layout Standard
22033
22034
22035 \backslash
22036 renewcommand{
22037 \backslash
22038 thefootnote}{
22039 \backslash
22040 roman{footnote}}
22041 \end_layout
22042
22043 \end_inset
22044
22045  This is a footnote with roman numbering:
22046 \begin_inset Foot
22047 status open
22048
22049 \begin_layout Standard
22050 This is an example footnote with roman numbering.
22051 \end_layout
22052
22053 \end_inset
22054
22055
22056 \begin_inset ERT
22057 status collapsed
22058
22059 \begin_layout Standard
22060
22061
22062 \backslash
22063 renewcommand{
22064 \backslash
22065 thefootnote}{
22066 \backslash
22067 arabic{footnote}}
22068 \end_layout
22069
22070 \end_inset
22071
22072
22073 \end_layout
22074
22075 \begin_layout Standard
22076 To change the numbering style to capital roman numerals replace in the command
22077  above 
22078 \series bold
22079
22080 \backslash
22081 roman
22082 \series default
22083  by 
22084 \series bold
22085
22086 \backslash
22087 Roman
22088 \series default
22089 .
22090  To 
22091 \begin_inset Quotes eld
22092 \end_inset
22093
22094 number
22095 \begin_inset Quotes erd
22096 \end_inset
22097
22098  footnotes with capital or small Latin letters use 
22099 \series bold
22100
22101 \backslash
22102 Alph
22103 \series default
22104  or 
22105 \series bold
22106
22107 \backslash
22108 alph
22109 \series default
22110 , respectively.
22111  To 
22112 \begin_inset Quotes eld
22113 \end_inset
22114
22115 number
22116 \begin_inset Quotes erd
22117 \end_inset
22118
22119  footnotes with symbols use 
22120 \series bold
22121
22122 \backslash
22123 fnsymbol
22124 \series default
22125 .
22126 \end_layout
22127
22128 \begin_layout Standard
22129 \begin_inset Note Greyedout
22130 status open
22131
22132 \begin_layout Standard
22133
22134 \series bold
22135 Note:
22136 \series default
22137  You can only number 26 footnotes with Latin letters, because this numbering
22138  is limited to single letters.
22139 \end_layout
22140
22141 \end_inset
22142
22143
22144 \newline
22145
22146 \begin_inset Note Greyedout
22147 status open
22148
22149 \begin_layout Standard
22150
22151 \series bold
22152 Note:
22153 \series default
22154  You can only number 9 footnotes with symbols.
22155 \end_layout
22156
22157 \end_inset
22158
22159
22160 \end_layout
22161
22162 \begin_layout Standard
22163 To return to the default numbering style when you changed to another one,
22164  use 
22165 \series bold
22166
22167 \backslash
22168 arabic
22169 \series default
22170  instead of 
22171 \series bold
22172
22173 \backslash
22174 roman
22175 \series default
22176  in the command above.
22177 \end_layout
22178
22179 \begin_layout Standard
22180 \begin_inset VSpace bigskip
22181 \end_inset
22182
22183
22184 \end_layout
22185
22186 \begin_layout Standard
22187 If you want to have footnotes numbered in the scheme 
22188 \begin_inset Quotes eld
22189 \end_inset
22190
22191 chapter.footnote
22192 \begin_inset Quotes erd
22193 \end_inset
22194
22195 , add the following command to your document preamble:
22196 \end_layout
22197
22198 \begin_layout Standard
22199
22200 \series bold
22201
22202 \backslash
22203 numberwithin{footnote}{chapter}
22204 \end_layout
22205
22206 \begin_layout Standard
22207 To be able to use the command 
22208 \series bold
22209
22210 \backslash
22211 numberwithin
22212 \series default
22213 , set in the tab 
22214 \family sans
22215 Math\InsetSpace ~
22216 Options
22217 \family default
22218  in the document settings the option 
22219 \family sans
22220 Use\InsetSpace ~
22221 AMS\InsetSpace ~
22222 math\InsetSpace ~
22223 package
22224 \family default
22225 .
22226 \end_layout
22227
22228 \begin_layout Standard
22229 \begin_inset ERT
22230 status collapsed
22231
22232 \begin_layout Standard
22233
22234
22235 \backslash
22236 numberwithin{footnote}{chapter}
22237 \end_layout
22238
22239 \end_inset
22240
22241 This is another example footnote:
22242 \series bold
22243
22244 \begin_inset Foot
22245 status open
22246
22247 \begin_layout Standard
22248 This is a footnote numbered in the scheme 
22249 \begin_inset Quotes eld
22250 \end_inset
22251
22252 chapter.footnote
22253 \begin_inset Quotes erd
22254 \end_inset
22255
22256 .
22257 \end_layout
22258
22259 \end_inset
22260
22261
22262 \series default
22263
22264 \begin_inset ERT
22265 status collapsed
22266
22267 \begin_layout Standard
22268
22269
22270 \backslash
22271 numberwithin{footnote}{part}
22272 \end_layout
22273
22274 \end_inset
22275
22276
22277 \end_layout
22278
22279 \begin_layout Standard
22280 \begin_inset Note Greyedout
22281 status open
22282
22283 \begin_layout Standard
22284
22285 \series bold
22286 Note:
22287 \series default
22288  
22289 \series bold
22290
22291 \backslash
22292 numberwithin
22293 \series default
22294  always prints out the footnote number as arabic number; previous redefinitions
22295  to get non-arabic numbers are overwritten.
22296 \end_layout
22297
22298 \end_inset
22299
22300
22301 \end_layout
22302
22303 \begin_layout Standard
22304 So to get for example the scheme 
22305 \begin_inset Quotes eld
22306 \end_inset
22307
22308 chapter.
22309 \backslash
22310 Roman{footnote}
22311 \begin_inset Quotes erd
22312 \end_inset
22313
22314 , use this command instead of 
22315 \series bold
22316
22317 \backslash
22318 numberwithin
22319 \series default
22320 :
22321 \end_layout
22322
22323 \begin_layout Standard
22324
22325 \series bold
22326
22327 \backslash
22328 renewcommand{
22329 \backslash
22330 thefootnote}{
22331 \backslash
22332 thechapter.
22333 \backslash
22334 Roman{footnote}}
22335 \end_layout
22336
22337 \begin_layout Subsection
22338 Footnote Placement
22339 \begin_inset LatexCommand index
22340 name "Footnotes ! Placement"
22341
22342 \end_inset
22343
22344
22345 \end_layout
22346
22347 \begin_layout Standard
22348 If you have several footnotes in one page, they appear without vertical
22349  space between them at the bottom of the page.
22350  To make them better readable you can e.\InsetSpace \thinspace{}
22351 g.\InsetSpace ~
22352 add 1.5\InsetSpace \thinspace{}
22353 mm space with the following
22354  preamble command:
22355 \end_layout
22356
22357 \begin_layout Standard
22358
22359 \series bold
22360
22361 \backslash
22362 let
22363 \backslash
22364 myFoot
22365 \backslash
22366 footnote
22367 \newline
22368
22369 \backslash
22370 renewcommand{
22371 \backslash
22372 footnote}[1]{
22373 \backslash
22374 myFoot{#1
22375 \backslash
22376 vspace{1.5mm}}}
22377 \end_layout
22378
22379 \begin_layout Standard
22380 \begin_inset VSpace bigskip
22381 \end_inset
22382
22383 In a two-column document the footnotes appear at the bottom of every column,
22384  see Figure\InsetSpace ~
22385
22386 \begin_inset LatexCommand ref
22387 reference "fig:Standard-footnote-placement"
22388
22389 \end_inset
22390
22391 .
22392  If the footnotes should only appear at the bottom of the right column,
22393  as in Figure\InsetSpace ~
22394
22395 \begin_inset LatexCommand ref
22396 reference "fig:Footnote-placement-in"
22397
22398 \end_inset
22399
22400 , use the LaTeX-package 
22401 \series bold
22402 ftnright
22403 \series default
22404
22405 \begin_inset LatexCommand index
22406 name "LaTeX-packages ! ftnright"
22407
22408 \end_inset
22409
22410  with this command in the document preamble:
22411 \end_layout
22412
22413 \begin_layout Standard
22414
22415 \series bold
22416
22417 \backslash
22418 usepackage{ftnright}
22419 \end_layout
22420
22421 \begin_layout Standard
22422 \begin_inset Float figure
22423 placement !h
22424 wide false
22425 sideways false
22426 status open
22427
22428 \begin_layout Standard
22429 \begin_inset ERT
22430 status collapsed
22431
22432 \begin_layout Standard
22433
22434
22435 \backslash
22436 framebox{
22437 \end_layout
22438
22439 \end_inset
22440
22441
22442 \begin_inset Graphics
22443         filename clipart/without_fntright.pdf
22444         width 100col%
22445
22446 \end_inset
22447
22448
22449 \begin_inset ERT
22450 status collapsed
22451
22452 \begin_layout Standard
22453
22454 }
22455 \end_layout
22456
22457 \end_inset
22458
22459
22460 \end_layout
22461
22462 \begin_layout Standard
22463 \begin_inset Caption
22464
22465 \begin_layout Standard
22466 \begin_inset LatexCommand label
22467 name "fig:Standard-footnote-placement"
22468
22469 \end_inset
22470
22471 Standard footnote placement in two-column documents.
22472 \end_layout
22473
22474 \end_inset
22475
22476
22477 \end_layout
22478
22479 \end_inset
22480
22481
22482 \end_layout
22483
22484 \begin_layout Standard
22485 \begin_inset Float figure
22486 placement !h
22487 wide false
22488 sideways false
22489 status open
22490
22491 \begin_layout Standard
22492 \begin_inset ERT
22493 status collapsed
22494
22495 \begin_layout Standard
22496
22497
22498 \backslash
22499 framebox{
22500 \end_layout
22501
22502 \end_inset
22503
22504
22505 \begin_inset Graphics
22506         filename clipart/with_fntright.pdf
22507         width 100col%
22508
22509 \end_inset
22510
22511
22512 \begin_inset ERT
22513 status collapsed
22514
22515 \begin_layout Standard
22516
22517 }
22518 \end_layout
22519
22520 \end_inset
22521
22522
22523 \end_layout
22524
22525 \begin_layout Standard
22526 \begin_inset Caption
22527
22528 \begin_layout Standard
22529 \begin_inset LatexCommand label
22530 name "fig:Footnote-placement-in"
22531
22532 \end_inset
22533
22534 Footnote placement in two-column documents when the LaTeX-package 
22535 \series bold
22536 ftnright
22537 \series default
22538  is used.
22539 \end_layout
22540
22541 \end_inset
22542
22543
22544 \end_layout
22545
22546 \end_inset
22547
22548
22549 \end_layout
22550
22551 \begin_layout Standard
22552 \begin_inset VSpace bigskip
22553 \end_inset
22554
22555 In some scientific literature it is usual to collect the footnotes and print
22556  them in a separate paragraph at the the end of a section, like in Figure\InsetSpace ~
22557
22558 \begin_inset LatexCommand ref
22559 reference "fig:Endnotes----footnotes"
22560
22561 \end_inset
22562
22563 .
22564  They are then so called 
22565 \begin_inset Quotes eld
22566 \end_inset
22567
22568 endnotes
22569 \begin_inset Quotes erd
22570 \end_inset
22571
22572 .
22573  To use endnotes instead of footnotes in your document, load the LaTeX-package
22574  
22575 \series bold
22576 endnotes
22577 \series default
22578
22579 \begin_inset LatexCommand index
22580 name "LaTeX-packages ! endnotes"
22581
22582 \end_inset
22583
22584  with the document preamble lines
22585 \end_layout
22586
22587 \begin_layout Standard
22588
22589 \series bold
22590
22591 \backslash
22592 usepackage{endnotes}
22593 \newline
22594
22595 \backslash
22596 let
22597 \backslash
22598 footnote
22599 \backslash
22600 endnote
22601 \end_layout
22602
22603 \begin_layout Standard
22604 To insert the collected footnotes, insert the command
22605 \end_layout
22606
22607 \begin_layout Standard
22608
22609 \series bold
22610
22611 \backslash
22612 theendnotes
22613 \end_layout
22614
22615 \begin_layout Standard
22616 in ERT at the the end of a section or chapter.
22617 \end_layout
22618
22619 \begin_layout Standard
22620 \begin_inset Float figure
22621 wide false
22622 sideways false
22623 status open
22624
22625 \begin_layout Standard
22626 \align center
22627 \begin_inset ERT
22628 status collapsed
22629
22630 \begin_layout Standard
22631
22632
22633 \backslash
22634 framebox{
22635 \end_layout
22636
22637 \end_inset
22638
22639
22640 \begin_inset Graphics
22641         filename clipart/endnotes.pdf
22642
22643 \end_inset
22644
22645
22646 \begin_inset ERT
22647 status collapsed
22648
22649 \begin_layout Standard
22650
22651 }
22652 \end_layout
22653
22654 \end_inset
22655
22656
22657 \end_layout
22658
22659 \begin_layout Standard
22660 \begin_inset Caption
22661
22662 \begin_layout Standard
22663 \begin_inset LatexCommand label
22664 name "fig:Endnotes----footnotes"
22665
22666 \end_inset
22667
22668 Endnotes -- footnotes are printed in a separate paragraph at the end of
22669  sections or chapters.
22670 \end_layout
22671
22672 \end_inset
22673
22674
22675 \end_layout
22676
22677 \end_inset
22678
22679
22680 \end_layout
22681
22682 \begin_layout Standard
22683 \begin_inset VSpace defskip
22684 \end_inset
22685
22686 The paragraph heading for the endnotes isn't automatically translated into
22687  the document language, this must be done manually.
22688  The following preamble command translate the default English name 
22689 \begin_inset Quotes eld
22690 \end_inset
22691
22692 Notes
22693 \begin_inset Quotes erd
22694 \end_inset
22695
22696  to the German translation 
22697 \begin_inset Quotes eld
22698 \end_inset
22699
22700 Anmerkungen
22701 \begin_inset Quotes erd
22702 \end_inset
22703
22704 :
22705 \end_layout
22706
22707 \begin_layout Standard
22708
22709 \series bold
22710
22711 \backslash
22712 renewcommand{
22713 \backslash
22714 notesname}{Anmerkungen}
22715 \end_layout
22716
22717 \begin_layout Standard
22718 \begin_inset VSpace defskip
22719 \end_inset
22720
22721 The numbering of endnotes can be changed like the footnote numbering as
22722  described in section\InsetSpace ~
22723
22724 \begin_inset LatexCommand ref
22725 reference "sub:Footnote-Numbering"
22726
22727 \end_inset
22728
22729 ; just replace the command 
22730 \series bold
22731
22732 \backslash
22733 thefootnote
22734 \series default
22735  by 
22736 \series bold
22737
22738 \backslash
22739 theendnote
22740 \series default
22741 .
22742  To reset the endnote number use the command 
22743 \series bold
22744
22745 \backslash
22746 @addtoreset
22747 \series default
22748  as described in section\InsetSpace ~
22749
22750 \begin_inset LatexCommand ref
22751 reference "sub:Footnote-Numbering"
22752
22753 \end_inset
22754
22755  and replace the command parameter 
22756 \series bold
22757 footnote
22758 \series default
22759  by 
22760 \series bold
22761 endnote
22762 \series default
22763 .
22764 \end_layout
22765
22766 \begin_layout Standard
22767 To create only a mark for an endnote, use the command 
22768 \series bold
22769
22770 \backslash
22771 endnotemark[number]
22772 \series default
22773  similar to the command 
22774 \series bold
22775
22776 \backslash
22777 footnotemark
22778 \series default
22779 , described in section\InsetSpace ~
22780
22781 \begin_inset LatexCommand ref
22782 reference "sec:Footnotes"
22783
22784 \end_inset
22785
22786 .
22787 \end_layout
22788
22789 \begin_layout Standard
22790 \begin_inset VSpace bigskip
22791 \end_inset
22792
22793 Footnotes can also be placed in the page margin and the footnote text alignment
22794  can be changed, see the LaTeX-package 
22795 \series bold
22796 footmisc
22797 \series default
22798
22799 \begin_inset LatexCommand index
22800 name "LaTeX-packages ! footmisc"
22801
22802 \end_inset
22803
22804
22805 \begin_inset LatexCommand cite
22806 key "footmisc"
22807
22808 \end_inset
22809
22810  for more information about this.
22811 \end_layout
22812
22813 \begin_layout Standard
22814 For various further footnote formatting issues have a look at LaTeX-books,
22815  
22816 \begin_inset LatexCommand cite
22817 key "latexcompanion,latexguide,latexbook"
22818
22819 \end_inset
22820
22821 .
22822 \end_layout
22823
22824 \begin_layout Section
22825 Margin Notes
22826 \begin_inset LatexCommand index
22827 name "Notes ! Margin Notes"
22828
22829 \end_inset
22830
22831
22832 \end_layout
22833
22834 \begin_layout Standard
22835 Margin notes look and behave in LyX like footnotes.
22836  They are inserted via the menu 
22837 \family sans
22838 Insert\SpecialChar \menuseparator
22839 Marginal\InsetSpace ~
22840 Note
22841 \family default
22842  or the toolbar button 
22843 \begin_inset Graphics
22844         filename ../images/marginalnote-insert.xpm
22845         scale 85
22846
22847 \end_inset
22848
22849 .
22850  A grey 
22851 \family roman
22852 \series medium
22853 box with the
22854 \family default
22855 \series default
22856  red 
22857 \family roman
22858 \series medium
22859 label 
22860 \begin_inset Quotes eld
22861 \end_inset
22862
22863 margin
22864 \begin_inset Quotes erd
22865 \end_inset
22866
22867  appears where you can enter the text of the margin note.
22868 \end_layout
22869
22870 \begin_layout Standard
22871 At the side is an example margin note.
22872 \family roman
22873 \series medium
22874
22875 \begin_inset Marginal
22876 status open
22877
22878 \begin_layout Standard
22879 This is a margin note.
22880 \end_layout
22881
22882 \end_inset
22883
22884
22885 \end_layout
22886
22887 \begin_layout Standard
22888 Margin notes appear at the right side in single-sided documents.
22889  In double-sided documents they appear in the outer margin -- left on even
22890  pages, right on odd pages.
22891  The text of margin notes is aligned opposite to the outer margin -- right-align
22892 ed when the note appears in the left margin.
22893  The first line of the margin note is placed at the position of the text
22894  line where it is inserted in the document.
22895 \end_layout
22896
22897 \begin_layout Standard
22898 \begin_inset VSpace bigskip
22899 \end_inset
22900
22901 To place the margin note in the inner margin, add the command
22902 \end_layout
22903
22904 \begin_layout Standard
22905
22906 \series bold
22907
22908 \backslash
22909 reversemarginpar
22910 \end_layout
22911
22912 \begin_layout Standard
22913 in ERT before a margin note.
22914  The new placement is valid for all following margin notes.
22915 \begin_inset ERT
22916 status collapsed
22917
22918 \begin_layout Standard
22919
22920
22921 \backslash
22922 reversemarginpar 
22923 \end_layout
22924
22925 \end_inset
22926
22927
22928 \begin_inset Marginal
22929 status open
22930
22931 \begin_layout Standard
22932 This is a margin note in the inner margin.
22933 \end_layout
22934
22935 \end_inset
22936
22937
22938 \series bold
22939
22940 \newline
22941
22942 \series default
22943
22944 \begin_inset Note Greyedout
22945 status open
22946
22947 \begin_layout Standard
22948
22949 \series bold
22950 Note:
22951 \series default
22952  There is often not enough space in the inner margin so that the notes are
22953  not correctly displayed in the output.
22954 \end_layout
22955
22956 \end_inset
22957
22958
22959 \end_layout
22960
22961 \begin_layout Standard
22962 \begin_inset ERT
22963 status collapsed
22964
22965 \begin_layout Standard
22966
22967
22968 \backslash
22969 normalmarginpar 
22970 \end_layout
22971
22972 \end_inset
22973
22974 To return to the default placement insert the command
22975 \end_layout
22976
22977 \begin_layout Standard
22978
22979 \series bold
22980
22981 \backslash
22982 normalmarginpar
22983 \end_layout
22984
22985 \begin_layout Standard
22986 in ERT.
22987  
22988 \begin_inset Note Greyedout
22989 status open
22990
22991 \begin_layout Standard
22992
22993 \series bold
22994 Note:
22995 \series default
22996  The command is ignored when it is within a paragraph where also the command
22997  
22998 \series bold
22999
23000 \backslash
23001 reversemarginpar
23002 \series default
23003  is inserted.
23004 \end_layout
23005
23006 \end_inset
23007
23008
23009 \end_layout
23010
23011 \begin_layout Standard
23012 \begin_inset VSpace bigskip
23013 \end_inset
23014
23015
23016 \family roman
23017 \series medium
23018
23019 \begin_inset Marginal
23020 status open
23021
23022 \begin_layout Standard
23023 AVeryLongMarginParWord that isn't hyphenated.
23024 \end_layout
23025
23026 \end_inset
23027
23028
23029 \family default
23030 \series default
23031 Similar to the case described in section\InsetSpace ~
23032
23033 \begin_inset LatexCommand ref
23034 reference "sub:Multiple-Lines-in"
23035
23036 \end_inset
23037
23038 , long words cannot be hyphenated when they are the first word in a margin
23039  note.
23040  To avoid this, insert the command
23041 \end_layout
23042
23043 \begin_layout Standard
23044
23045 \series bold
23046
23047 \backslash
23048 hspace{0pt}
23049 \end_layout
23050
23051 \begin_layout Standard
23052 in ERT before the word
23053 \family roman
23054 \series medium
23055 .
23056 \begin_inset Marginal
23057 status open
23058
23059 \begin_layout Standard
23060 \begin_inset ERT
23061 status collapsed
23062
23063 \begin_layout Standard
23064
23065
23066 \backslash
23067 hspace{0pt}
23068 \end_layout
23069
23070 \end_inset
23071
23072 AVeryLongMarginParWord that is hyphenated.
23073 \end_layout
23074
23075 \end_inset
23076
23077
23078 \end_layout
23079
23080 \begin_layout Standard
23081 \begin_inset VSpace bigskip
23082 \end_inset
23083
23084
23085 \end_layout
23086
23087 \begin_layout Standard
23088 \begin_inset Note Greyedout
23089 status open
23090
23091 \begin_layout Standard
23092
23093 \series bold
23094 Note:
23095 \series default
23096  Margin notes can normally not be used inside tables, floats, and footnotes.
23097 \end_layout
23098
23099 \end_inset
23100
23101
23102 \end_layout
23103
23104 \begin_layout Standard
23105 \begin_inset VSpace bigskip
23106 \end_inset
23107
23108
23109 \end_layout
23110
23111 \begin_layout Standard
23112 \begin_inset ERT
23113 status collapsed
23114
23115 \begin_layout Standard
23116
23117
23118 \backslash
23119 ifmarginnote
23120 \end_layout
23121
23122 \end_inset
23123
23124
23125 \begin_inset Note Note
23126 status open
23127
23128 \begin_layout Standard
23129 The following section will only be displayed when you have the LaTeX-package
23130  
23131 \series bold
23132 marginnote
23133 \series default
23134  is installed.
23135 \end_layout
23136
23137 \end_inset
23138
23139
23140 \end_layout
23141
23142 \begin_layout Standard
23143 This restriction can be evaded by using the LaTeX-package 
23144 \series bold
23145 marginnote
23146 \series default
23147
23148 \begin_inset LatexCommand index
23149 name "LaTeX-packages ! marginnote"
23150
23151 \end_inset
23152
23153 .
23154  By adding these two lines to your document preamble, the command used by
23155  LyX for margin notes is redefined to use the command provided by the 
23156 \series bold
23157 marginnote
23158 \series default
23159 -package:
23160 \end_layout
23161
23162 \begin_layout Standard
23163
23164 \series bold
23165
23166 \backslash
23167 usepackage{marginnote}
23168 \newline
23169
23170 \backslash
23171 let
23172 \backslash
23173 marginpar
23174 \backslash
23175 marginnote
23176 \end_layout
23177
23178 \begin_layout Standard
23179 This is also used in this document because 
23180 \series bold
23181 marginnote
23182 \series default
23183  has another useful feature: You can set a vertical offset for the note.
23184  This is often needed when too many margin notes are too close together
23185  or for a better page layout.
23186  The offset is set in LyX as ERT directly behind the margin note in the
23187  scheme
23188 \end_layout
23189
23190 \begin_layout Standard
23191
23192 \series bold
23193 [offset]
23194 \end_layout
23195
23196 \begin_layout Standard
23197 where the offset is a length with one of the units listed in Table\InsetSpace ~
23198
23199 \begin_inset LatexCommand ref
23200 reference "tab:Units"
23201
23202 \end_inset
23203
23204 .
23205  A negative value shifts the note up, a positive value shifts it down.
23206  
23207 \family roman
23208 \series medium
23209 For example the margin note beside this text line is shifted up 1.5\InsetSpace \thinspace{}
23210 cm with
23211  the ERT-command 
23212 \begin_inset Quotes eld
23213 \end_inset
23214
23215
23216 \family default
23217 \series bold
23218 [-1.5cm]
23219 \family roman
23220 \series medium
23221
23222 \begin_inset Quotes erd
23223 \end_inset
23224
23225
23226 \begin_inset Marginal
23227 status open
23228
23229 \begin_layout Standard
23230 This margin note is shifted up 1.5\InsetSpace \thinspace{}
23231 cm from its original position.
23232 \end_layout
23233
23234 \end_inset
23235
23236
23237 \family default
23238 \series default
23239
23240 \begin_inset ERT
23241 status collapsed
23242
23243 \begin_layout Standard
23244
23245 [-1.5cm]
23246 \end_layout
23247
23248 \end_inset
23249
23250
23251 \end_layout
23252
23253 \begin_layout Standard
23254 \begin_inset VSpace defskip
23255 \end_inset
23256
23257 With 
23258 \series bold
23259 marginnote
23260 \series default
23261  you can also change the alignment of the text in the margin note.
23262  For example the commands
23263 \end_layout
23264
23265 \begin_layout Standard
23266
23267 \series bold
23268
23269 \backslash
23270 renewcommand*{
23271 \backslash
23272 raggedleftmarginnote}{
23273 \backslash
23274 centering}
23275 \newline
23276
23277 \backslash
23278 renewcommand*{
23279 \backslash
23280 raggedrightmarginnote}{
23281 \backslash
23282 centering}
23283 \end_layout
23284
23285 \begin_layout Standard
23286 set the alignment to centered.
23287  
23288 \series bold
23289
23290 \backslash
23291 raggedleftmarginnote
23292 \series default
23293  denotes margin notes that appear at the left side.
23294 \family roman
23295 \series medium
23296
23297 \begin_inset ERT
23298 status collapsed
23299
23300 \begin_layout Standard
23301
23302
23303 \backslash
23304 renewcommand*{
23305 \backslash
23306 raggedleftmarginnote}{
23307 \backslash
23308 centering}
23309 \end_layout
23310
23311 \begin_layout Standard
23312
23313
23314 \backslash
23315 renewcommand*{
23316 \backslash
23317 raggedrightmarginnote}{
23318 \backslash
23319 centering}
23320 \end_layout
23321
23322 \end_inset
23323
23324
23325 \begin_inset Marginal
23326 status open
23327
23328 \begin_layout Standard
23329 The text of this margin note is centered.
23330 \end_layout
23331
23332 \end_inset
23333
23334
23335 \family default
23336 \series default
23337  The default is
23338 \end_layout
23339
23340 \begin_layout Standard
23341
23342 \series bold
23343
23344 \backslash
23345 renewcommand*{
23346 \backslash
23347 raggedleftmarginnote}{
23348 \backslash
23349 raggedleft}
23350 \newline
23351
23352 \backslash
23353 renewcommand*{
23354 \backslash
23355 raggedrightmarginnote}{
23356 \backslash
23357 raggedright}
23358 \family roman
23359 \series medium
23360
23361 \begin_inset ERT
23362 status collapsed
23363
23364 \begin_layout Standard
23365
23366
23367 \backslash
23368 renewcommand*{
23369 \backslash
23370 raggedleftmarginnote}{
23371 \backslash
23372 raggedleft}
23373 \end_layout
23374
23375 \begin_layout Standard
23376
23377
23378 \backslash
23379 renewcommand*{
23380 \backslash
23381 raggedrightmarginnote}{
23382 \backslash
23383 raggedright}
23384 \end_layout
23385
23386 \end_inset
23387
23388
23389 \end_layout
23390
23391 \begin_layout Standard
23392 \begin_inset VSpace defskip
23393 \end_inset
23394
23395 For the other features of 
23396 \series bold
23397 marginnote
23398 \series default
23399  we refer to its documentation 
23400 \begin_inset LatexCommand cite
23401 key "marginnote"
23402
23403 \end_inset
23404
23405 .
23406 \end_layout
23407
23408 \begin_layout Standard
23409 \begin_inset VSpace bigskip
23410 \end_inset
23411
23412 You can change the layout of margin notes by redefining its definition.
23413  To create for example a header for all margin notes with the underlined,
23414  sans-serif, and bold header text 
23415 \begin_inset Quotes eld
23416 \end_inset
23417
23418
23419 \family sans
23420 \series bold
23421 \bar under
23422 Attention!
23423 \family default
23424 \series default
23425 \bar default
23426
23427 \begin_inset Quotes erd
23428 \end_inset
23429
23430 , add this to your document preamble:
23431 \end_layout
23432
23433 \begin_layout Standard
23434
23435 \series bold
23436
23437 \backslash
23438 let
23439 \backslash
23440 myMarginpar
23441 \backslash
23442 marginpar
23443 \newline
23444
23445 \backslash
23446 renewcommand{
23447 \backslash
23448 marginpar}[1]{
23449 \backslash
23450 myMarginpar{%
23451 \newline
23452
23453 \begin_inset ERT
23454 status collapsed
23455
23456 \begin_layout Standard
23457
23458
23459 \backslash
23460 hphantom{ }
23461 \end_layout
23462
23463 \end_inset
23464
23465
23466 \backslash
23467 hspace{0pt}
23468 \backslash
23469 textsf{
23470 \backslash
23471 textbf{
23472 \backslash
23473 underbar{Attention!}}}%
23474 \newline
23475
23476 \begin_inset ERT
23477 status collapsed
23478
23479 \begin_layout Standard
23480
23481
23482 \backslash
23483 hphantom{ }
23484 \end_layout
23485
23486 \end_inset
23487
23488
23489 \backslash
23490 vspace{1.5mm}
23491 \backslash
23492
23493 \backslash
23494 #1}}
23495 \end_layout
23496
23497 \begin_layout Standard
23498
23499 \family roman
23500 \series medium
23501 \begin_inset ERT
23502 status collapsed
23503
23504 \begin_layout Standard
23505
23506
23507 \backslash
23508 let
23509 \backslash
23510 myMarginpar
23511 \backslash
23512 marginpar
23513 \end_layout
23514
23515 \begin_layout Standard
23516
23517
23518 \backslash
23519 renewcommand{
23520 \backslash
23521 marginpar}[1]{
23522 \backslash
23523 myMarginpar{%
23524 \end_layout
23525
23526 \begin_layout Standard
23527
23528    
23529 \backslash
23530 textsf{
23531 \backslash
23532 textbf{
23533 \backslash
23534 underbar{Attention!}}}%
23535 \end_layout
23536
23537 \begin_layout Standard
23538
23539    
23540 \backslash
23541 vspace{1.5mm}
23542 \backslash
23543
23544 \backslash
23545 #1}}
23546 \end_layout
23547
23548 \end_inset
23549
23550
23551 \begin_inset Marginal
23552 status open
23553
23554 \begin_layout Standard
23555 This is a margin note with a defined heading.
23556 \end_layout
23557
23558 \end_inset
23559
23560
23561 \family default
23562 \series default
23563
23564 \begin_inset ERT
23565 status collapsed
23566
23567 \begin_layout Standard
23568
23569 [-1.5cm]
23570 \end_layout
23571
23572 \end_inset
23573
23574
23575 \family roman
23576 \series medium
23577
23578 \begin_inset ERT
23579 status collapsed
23580
23581 \begin_layout Standard
23582
23583
23584 \backslash
23585 renewcommand{
23586 \backslash
23587 marginpar}[1]{
23588 \backslash
23589 myMarginpar{#1}}
23590 \end_layout
23591
23592 \end_inset
23593
23594
23595 \family default
23596 \series default
23597
23598 \begin_inset Note Note
23599 status collapsed
23600
23601 \begin_layout Standard
23602 The margin note format is changed only for this example.
23603 \end_layout
23604
23605 \end_inset
23606
23607
23608 \end_layout
23609
23610 \begin_layout Standard
23611 \begin_inset ERT
23612 status collapsed
23613
23614 \begin_layout Standard
23615
23616
23617 \backslash
23618 else
23619 \end_layout
23620
23621 \end_inset
23622
23623
23624 \begin_inset Note Note
23625 status open
23626
23627 \begin_layout Standard
23628 The following will be displayed when the LaTeX-package 
23629 \series bold
23630 marginnote
23631 \series default
23632  is not installed:
23633 \end_layout
23634
23635 \end_inset
23636
23637
23638 \end_layout
23639
23640 \begin_layout Standard
23641 You need to install the LaTeX-package 
23642 \series bold
23643 marginnote
23644 \series default
23645  to see the following part of this section in the output.
23646 \end_layout
23647
23648 \begin_layout Standard
23649 \begin_inset ERT
23650 status collapsed
23651
23652 \begin_layout Standard
23653
23654
23655 \backslash
23656 fi
23657 \end_layout
23658
23659 \end_inset
23660
23661
23662 \end_layout
23663
23664 \begin_layout Chapter
23665 Boxes
23666 \end_layout
23667
23668 \begin_layout Section
23669 Introduction
23670 \begin_inset LatexCommand index
23671 name "Boxes ! Introduction"
23672
23673 \end_inset
23674
23675
23676 \end_layout
23677
23678 \begin_layout Standard
23679 Boxes are used to format a block of text.
23680  Boxes can be used to write documents with multiple languages, see section\InsetSpace ~
23681
23682 \begin_inset LatexCommand ref
23683 reference "sec:Minipages"
23684
23685 \end_inset
23686
23687 , to frame texts, see section\InsetSpace ~
23688
23689 \begin_inset LatexCommand ref
23690 reference "sec:Framed-Boxes"
23691
23692 \end_inset
23693
23694 , to prevent words to be hyphenated, see section\InsetSpace ~
23695
23696 \begin_inset LatexCommand ref
23697 reference "sec:Prevent-Hyphenation"
23698
23699 \end_inset
23700
23701 , to align text, see section\InsetSpace ~
23702
23703 \begin_inset LatexCommand ref
23704 reference "sub:Vertical-Alignment"
23705
23706 \end_inset
23707
23708 , or to set the background color of texts, see section\InsetSpace ~
23709
23710 \begin_inset LatexCommand ref
23711 reference "sec:Colored-Boxes"
23712
23713 \end_inset
23714
23715 .
23716 \end_layout
23717
23718 \begin_layout Standard
23719 Boxes can be inserted with the menu 
23720 \family sans
23721 Insert\SpecialChar \menuseparator
23722 Box
23723 \family default
23724 .
23725  A grey box with the label 
23726 \family sans
23727 Box (Minipage)
23728 \family default
23729
23730 \begin_inset Graphics
23731         filename clipart/BoxInsetDefaultQt4.png
23732         scale 85
23733
23734 \end_inset
23735
23736 , will be inserted.
23737  The box type can be specified by right-clicking on the box.
23738  The appearing box dialog offers the 
23739 \family sans
23740 Inner\InsetSpace ~
23741 Box
23742 \family default
23743  types 
23744 \family sans
23745 Parbox
23746 \family default
23747  and 
23748 \family sans
23749 Minipage
23750 \family default
23751 .
23752  The type 
23753 \family sans
23754 Minipage
23755 \family default
23756  is the default for new boxes and is explained in section\InsetSpace ~
23757
23758 \begin_inset LatexCommand ref
23759 reference "sec:Minipages"
23760
23761 \end_inset
23762
23763 ; the type 
23764 \family sans
23765 Parbox
23766 \family default
23767  is described in section\InsetSpace ~
23768
23769 \begin_inset LatexCommand ref
23770 reference "sec:Parboxes"
23771
23772 \end_inset
23773
23774 .
23775 \end_layout
23776
23777 \begin_layout Standard
23778 Boxes aren't numbered and can therefore not be referenced like floats or
23779  footnotes.
23780 \end_layout
23781
23782 \begin_layout Standard
23783 \begin_inset Note Greyedout
23784 status open
23785
23786 \begin_layout Standard
23787
23788 \series bold
23789 Note:
23790 \series default
23791  Due to a bug in LyX you have to insert a protected space behind a box when
23792  you want to separate in a line the box from the following text with a space.
23793 \end_layout
23794
23795 \end_inset
23796
23797
23798 \end_layout
23799
23800 \begin_layout Standard
23801 \begin_inset Note Greyedout
23802 status open
23803
23804 \begin_layout Standard
23805
23806 \series bold
23807 Note:
23808 \series default
23809  Boxes must not be the item in an 
23810 \family sans
23811 Itemize
23812 \family default
23813  or 
23814 \family sans
23815 Description
23816 \family default
23817  environment.
23818 \end_layout
23819
23820 \end_inset
23821
23822
23823 \end_layout
23824
23825 \begin_layout Standard
23826 \begin_inset Note Greyedout
23827 status open
23828
23829 \begin_layout Standard
23830
23831 \series bold
23832 Note:
23833 \series default
23834  For an unknown reason you can only set the 
23835 \family sans
23836 Inner\InsetSpace ~
23837 Box
23838 \family default
23839  type to 
23840 \family sans
23841 None
23842 \family default
23843  when you use a framed box.
23844  Boxes without an 
23845 \family sans
23846 Inner\InsetSpace ~
23847 Box
23848 \family default
23849  type and without frames are explained in section\InsetSpace ~
23850
23851 \begin_inset LatexCommand ref
23852 reference "sec:Prevent-Hyphenation"
23853
23854 \end_inset
23855
23856 .
23857 \end_layout
23858
23859 \end_inset
23860
23861
23862 \end_layout
23863
23864 \begin_layout Section
23865 Box Dialog
23866 \begin_inset LatexCommand label
23867 name "sec:Box-Dialog"
23868
23869 \end_inset
23870
23871
23872 \begin_inset LatexCommand index
23873 name "Boxes ! Box Dialog"
23874
23875 \end_inset
23876
23877
23878 \begin_inset LatexCommand index
23879 name "Boxes ! Alignment"
23880
23881 \end_inset
23882
23883
23884 \end_layout
23885
23886 \begin_layout Standard
23887 In the box dialog you can adjust the box geometry in the fields 
23888 \family sans
23889 Width
23890 \family default
23891  and 
23892 \family sans
23893 Height
23894 \family default
23895 .
23896  The available units for the geometry are explained in Table\InsetSpace ~
23897
23898 \begin_inset LatexCommand ref
23899 reference "tab:Units"
23900
23901 \end_inset
23902
23903 .
23904  The field 
23905 \family sans
23906 Heigth
23907 \family default
23908  offers the following additional sizes:
23909 \end_layout
23910
23911 \begin_layout Description
23912 Depth This is the plain text 
23913 \begin_inset Quotes eld
23914 \end_inset
23915
23916 height
23917 \begin_inset Quotes erd
23918 \end_inset
23919
23920 .
23921  It ignores the total depth when there are multiple text lines in the box:
23922 \newline
23923
23924 \newline
23925
23926 \newline
23927
23928 \begin_inset Box Boxed
23929 position "c"
23930 hor_pos "c"
23931 has_inner_box 1
23932 inner_pos "c"
23933 use_parbox 0
23934 width "12col%"
23935 special "none"
23936 height "1in"
23937 height_special "depth"
23938 status collapsed
23939
23940 \begin_layout Standard
23941 \align center
23942 Box height set to 1\InsetSpace \thinspace{}
23943 Depth
23944 \end_layout
23945
23946 \end_inset
23947
23948
23949 \newline
23950
23951 \newline
23952
23953 \end_layout
23954
23955 \begin_layout Description
23956 Height This is the heigth of the text that is inside the box.
23957  A value of e.\InsetSpace \thinspace{}
23958 g.\InsetSpace ~
23959 2 for this size will set the box heigth to 2 times the text
23960  height: 
23961 \begin_inset Box Boxed
23962 position "c"
23963 hor_pos "c"
23964 has_inner_box 1
23965 inner_pos "c"
23966 use_parbox 0
23967 width "20col%"
23968 special "none"
23969 height "2in"
23970 height_special "height"
23971 status collapsed
23972
23973 \begin_layout Standard
23974 \align center
23975 Box height set to 2\InsetSpace \thinspace{}
23976 Height
23977 \end_layout
23978
23979 \end_inset
23980
23981
23982 \end_layout
23983
23984 \begin_layout Description
23985 Total\InsetSpace ~
23986 Height This is the Height\InsetSpace \thinspace{}
23987 +\InsetSpace \thinspace{}
23988 Depth: 
23989 \begin_inset Box Boxed
23990 position "c"
23991 hor_pos "c"
23992 has_inner_box 1
23993 inner_pos "c"
23994 use_parbox 0
23995 width "20col%"
23996 special "none"
23997 height "1in"
23998 height_special "totalheight"
23999 status collapsed
24000
24001 \begin_layout Standard
24002 \align center
24003 Box height set to 1\InsetSpace \thinspace{}
24004 Total\InsetSpace ~
24005 Height
24006 \end_layout
24007
24008 \end_inset
24009
24010
24011 \end_layout
24012
24013 \begin_layout Description
24014 Width This set the width of the box as heigth: 
24015 \begin_inset Box Boxed
24016 position "c"
24017 hor_pos "c"
24018 has_inner_box 1
24019 inner_pos "c"
24020 use_parbox 0
24021 width "12col%"
24022 special "none"
24023 height "1in"
24024 height_special "width"
24025 status collapsed
24026
24027 \begin_layout Standard
24028 \align center
24029 Box height set to 1\InsetSpace \thinspace{}
24030 Width
24031 \end_layout
24032
24033 \end_inset
24034
24035
24036 \end_layout
24037
24038 \begin_layout Standard
24039 \begin_inset VSpace bigskip
24040 \end_inset
24041
24042 When you have chosen an 
24043 \family sans
24044 Inner\InsetSpace ~
24045 Box
24046 \family default
24047 , the vertical box alignment can be:
24048 \end_layout
24049
24050 \begin_layout Description
24051 Top This is an example text line.
24052  
24053 \begin_inset Box Boxed
24054 position "t"
24055 hor_pos "c"
24056 has_inner_box 1
24057 inner_pos "c"
24058 use_parbox 0
24059 width "12col%"
24060 special "none"
24061 height "1in"
24062 height_special "totalheight"
24063 status collapsed
24064
24065 \begin_layout Standard
24066 \align center
24067 This box is top-aligned.
24068 \end_layout
24069
24070 \end_inset
24071
24072 \InsetSpace ~
24073 This is an example text line.
24074 \end_layout
24075
24076 \begin_layout Description
24077 Middle This is an example text line.
24078  
24079 \begin_inset Box Boxed
24080 position "c"
24081 hor_pos "c"
24082 has_inner_box 1
24083 inner_pos "c"
24084 use_parbox 0
24085 width "12col%"
24086 special "none"
24087 height "1in"
24088 height_special "totalheight"
24089 status collapsed
24090
24091 \begin_layout Standard
24092 \align center
24093 This box is middle-aligned.
24094 \end_layout
24095
24096 \end_inset
24097
24098 \InsetSpace ~
24099 This is an example text line.
24100 \end_layout
24101
24102 \begin_layout Description
24103 Bottom This is an example text line.
24104  
24105 \begin_inset Box Boxed
24106 position "b"
24107 hor_pos "c"
24108 has_inner_box 1
24109 inner_pos "c"
24110 use_parbox 0
24111 width "12col%"
24112 special "none"
24113 height "1in"
24114 height_special "totalheight"
24115 status collapsed
24116
24117 \begin_layout Standard
24118 \align center
24119 This box is bottom-aligned.
24120 \end_layout
24121
24122 \end_inset
24123
24124 \InsetSpace ~
24125 This is an example text line.
24126 \end_layout
24127
24128 \begin_layout Standard
24129 The horizontal box alignment can be set via LyX's paragraph dialog when
24130  you set the box into its own paragraph.
24131 \end_layout
24132
24133 \begin_layout Standard
24134 \begin_inset VSpace bigskip
24135 \end_inset
24136
24137 When you have chosen an 
24138 \family sans
24139 Inner\InsetSpace ~
24140 Box
24141 \family default
24142 , the box content can be vertical aligned to:
24143 \end_layout
24144
24145 \begin_layout Description
24146 top This is an example text line.
24147  
24148 \begin_inset Box Boxed
24149 position "c"
24150 hor_pos "c"
24151 has_inner_box 1
24152 inner_pos "t"
24153 use_parbox 0
24154 width "12col%"
24155 special "none"
24156 height "1.5in"
24157 height_special "totalheight"
24158 status collapsed
24159
24160 \begin_layout Standard
24161 \align center
24162 This box text is top-aligned.
24163 \end_layout
24164
24165 \end_inset
24166
24167 \InsetSpace ~
24168 This is an example text line.
24169 \end_layout
24170
24171 \begin_layout Description
24172 middle This is an example text line.
24173  
24174 \begin_inset Box Boxed
24175 position "c"
24176 hor_pos "c"
24177 has_inner_box 1
24178 inner_pos "c"
24179 use_parbox 0
24180 width "12col%"
24181 special "none"
24182 height "1.5in"
24183 height_special "totalheight"
24184 status collapsed
24185
24186 \begin_layout Standard
24187 \align center
24188 This box text is middle-aligned.
24189 \end_layout
24190
24191 \end_inset
24192
24193 \InsetSpace ~
24194 This is an example text line.
24195 \end_layout
24196
24197 \begin_layout Description
24198 bottom This is an example text line.
24199  
24200 \begin_inset Box Boxed
24201 position "c"
24202 hor_pos "c"
24203 has_inner_box 1
24204 inner_pos "b"
24205 use_parbox 0
24206 width "12col%"
24207 special "none"
24208 height "1.5in"
24209 height_special "totalheight"
24210 status collapsed
24211
24212 \begin_layout Standard
24213 \align center
24214 This box text is bottom-aligned.
24215 \end_layout
24216
24217 \end_inset
24218
24219 \InsetSpace ~
24220 This is an example text line.
24221 \end_layout
24222
24223 \begin_layout Description
24224 stretch This is an example text line.
24225  
24226 \begin_inset Box Boxed
24227 position "c"
24228 hor_pos "c"
24229 has_inner_box 1
24230 inner_pos "s"
24231 use_parbox 0
24232 width "12col%"
24233 special "none"
24234 height "1.5in"
24235 height_special "totalheight"
24236 status collapsed
24237
24238 \begin_layout Standard
24239 \align center
24240 This box
24241 \end_layout
24242
24243 \begin_layout Standard
24244 \align center
24245 text is
24246 \end_layout
24247
24248 \begin_layout Standard
24249 \align center
24250 stretched.
24251 \end_layout
24252
24253 \end_inset
24254
24255 \InsetSpace ~
24256 This is an example text line.
24257 \end_layout
24258
24259 \begin_layout Standard
24260 To stretch the box content, it must consist of more than one paragraph.
24261  In the example above every text line is in an own paragraph.
24262 \end_layout
24263
24264 \begin_layout Standard
24265 \begin_inset VSpace bigskip
24266 \end_inset
24267
24268 To align the box content horizontally you can use LyX's paragraph dialog
24269  when you have chosen an 
24270 \family sans
24271 Inner\InsetSpace ~
24272 Box
24273 \family default
24274 .
24275 \end_layout
24276
24277 \begin_layout Standard
24278 \align center
24279 \begin_inset Box Boxed
24280 position "c"
24281 hor_pos "c"
24282 has_inner_box 1
24283 inner_pos "s"
24284 use_parbox 0
24285 width "15col%"
24286 special "none"
24287 height "1.25in"
24288 height_special "totalheight"
24289 status collapsed
24290
24291 \begin_layout Standard
24292 \align left
24293 This box
24294 \end_layout
24295
24296 \begin_layout Standard
24297 \align center
24298 text is
24299 \end_layout
24300
24301 \begin_layout Standard
24302 \align right
24303 stretched.
24304 \end_layout
24305
24306 \end_inset
24307
24308
24309 \end_layout
24310
24311 \begin_layout Standard
24312 If you haven't set an 
24313 \family sans
24314 Inner\InsetSpace ~
24315 Box
24316 \family default
24317 , you can align the box content horizontally in the box dialog.
24318 \end_layout
24319
24320 \begin_layout Standard
24321 \align center
24322 \begin_inset Box Boxed
24323 position "c"
24324 hor_pos "s"
24325 has_inner_box 0
24326 inner_pos "s"
24327 use_parbox 0
24328 width "90col%"
24329 special "none"
24330 height "1.25in"
24331 height_special "totalheight"
24332 status collapsed
24333
24334 \begin_layout Standard
24335 \align left
24336 This box text is horizontally stretched.
24337 \end_layout
24338
24339 \end_inset
24340
24341
24342 \end_layout
24343
24344 \begin_layout Section
24345 Framed Boxes
24346 \begin_inset LatexCommand label
24347 name "sec:Framed-Boxes"
24348
24349 \end_inset
24350
24351
24352 \begin_inset LatexCommand index
24353 name "Boxes ! Frames"
24354
24355 \end_inset
24356
24357
24358 \end_layout
24359
24360 \begin_layout Standard
24361 The frame style of the box can be specified in the box-dialog in the drop-down
24362  list 
24363 \family sans
24364 Type
24365 \family default
24366 .
24367  The following frame types are possible:
24368 \end_layout
24369
24370 \begin_layout Description
24371 Rectangular\InsetSpace ~
24372 box This draws a rectangle frame around the box.
24373  The frame line thickness has the size of 
24374 \series bold
24375
24376 \backslash
24377 fboxrule
24378 \series default
24379 .
24380  
24381 \begin_inset Box Boxed
24382 position "c"
24383 hor_pos "c"
24384 has_inner_box 1
24385 inner_pos "c"
24386 use_parbox 0
24387 width "20col%"
24388 special "none"
24389 height "1in"
24390 height_special "totalheight"
24391 status collapsed
24392
24393 \begin_layout Standard
24394 \align center
24395 Rectangular box
24396 \end_layout
24397
24398 \end_inset
24399
24400
24401 \end_layout
24402
24403 \begin_layout Description
24404 Oval\InsetSpace ~
24405 box,\InsetSpace ~
24406 thin This draws an oval frame around the box.
24407  The frame line thickness has the size 0.4\InsetSpace \thinspace{}
24408 pt.
24409  
24410 \begin_inset Box ovalbox
24411 position "c"
24412 hor_pos "c"
24413 has_inner_box 1
24414 inner_pos "c"
24415 use_parbox 0
24416 width "20col%"
24417 special "none"
24418 height "1in"
24419 height_special "totalheight"
24420 status collapsed
24421
24422 \begin_layout Standard
24423 \align center
24424 Oval box, thin
24425 \end_layout
24426
24427 \end_inset
24428
24429
24430 \end_layout
24431
24432 \begin_layout Description
24433 Oval\InsetSpace ~
24434 box,\InsetSpace ~
24435 thick This draws an oval frame around the box.
24436  The frame line thickness has the size 0.8\InsetSpace \thinspace{}
24437 pt.
24438  
24439 \begin_inset Box Ovalbox
24440 position "c"
24441 hor_pos "c"
24442 has_inner_box 1
24443 inner_pos "c"
24444 use_parbox 0
24445 width "20col%"
24446 special "none"
24447 height "1in"
24448 height_special "totalheight"
24449 status collapsed
24450
24451 \begin_layout Standard
24452 \align center
24453 Oval box, thick
24454 \end_layout
24455
24456 \end_inset
24457
24458
24459 \end_layout
24460
24461 \begin_layout Description
24462 Shadow\InsetSpace ~
24463 box This draws a rectangle frame with a shadow around the box.
24464  The frame line thickness has the size of 
24465 \series bold
24466
24467 \backslash
24468 fboxrule
24469 \series default
24470 , the shadow has a width of 4\InsetSpace \thinspace{}
24471 pt.
24472  
24473 \begin_inset Box Shadowbox
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 Shadow box
24488 \end_layout
24489
24490 \end_inset
24491
24492
24493 \end_layout
24494
24495 \begin_layout Description
24496 Double\InsetSpace ~
24497 box This draws a double-line rectangle frame around the box.
24498  The line thickness of the inner frame is 0.75\InsetSpace \thinspace{}
24499
24500 \series bold
24501
24502 \backslash
24503 fboxrule
24504 \series default
24505 , the thickness of the outer frame is 1.5\InsetSpace \thinspace{}
24506
24507 \series bold
24508
24509 \backslash
24510 fboxrule
24511 \series default
24512 .
24513  The distance between the lines is 1.5\InsetSpace \thinspace{}
24514
24515 \series bold
24516
24517 \backslash
24518 fboxrule
24519 \series default
24520 \InsetSpace \thinspace{}
24521 +\InsetSpace \thinspace{}
24522 0.5\InsetSpace \thinspace{}
24523 pt.
24524  
24525 \begin_inset Box Doublebox
24526 position "c"
24527 hor_pos "c"
24528 has_inner_box 1
24529 inner_pos "c"
24530 use_parbox 0
24531 width "20col%"
24532 special "none"
24533 height "1in"
24534 height_special "totalheight"
24535 status collapsed
24536
24537 \begin_layout Standard
24538 \align center
24539 Double box
24540 \end_layout
24541
24542 \end_inset
24543
24544
24545 \end_layout
24546
24547 \begin_layout Standard
24548 \begin_inset VSpace bigskip
24549 \end_inset
24550
24551 LyX's box label will change to the used frame style when you set a frame.
24552  To be able to use the different frame styles, the LaTeX-package 
24553 \series bold
24554 fancybox
24555 \series default
24556
24557 \begin_inset LatexCommand index
24558 name "LaTeX-packages ! fancybox"
24559
24560 \end_inset
24561
24562  must be installed.
24563 \end_layout
24564
24565 \begin_layout Standard
24566 \begin_inset VSpace bigskip
24567 \end_inset
24568
24569 The default value for the size 
24570 \series bold
24571
24572 \backslash
24573 fboxrule
24574 \series default
24575  is 0.4\InsetSpace \thinspace{}
24576 pt.
24577  It can be changed with the following command in ERT to e.\InsetSpace \thinspace{}
24578 g.\InsetSpace ~
24579 2\InsetSpace \thinspace{}
24580 pt:
24581 \end_layout
24582
24583 \begin_layout Standard
24584
24585 \series bold
24586
24587 \backslash
24588 setlength{
24589 \backslash
24590 fboxrule}{2pt}
24591 \end_layout
24592
24593 \begin_layout Standard
24594 \begin_inset ERT
24595 status collapsed
24596
24597 \begin_layout Standard
24598
24599
24600 \backslash
24601 setlength{
24602 \backslash
24603 fboxrule}{2pt}
24604 \end_layout
24605
24606 \end_inset
24607
24608
24609 \begin_inset Box Boxed
24610 position "c"
24611 hor_pos "c"
24612 has_inner_box 1
24613 inner_pos "c"
24614 use_parbox 0
24615 width "25col%"
24616 special "none"
24617 height "1in"
24618 height_special "totalheight"
24619 status collapsed
24620
24621 \begin_layout Standard
24622 \align center
24623 Rectangular box with 
24624 \series bold
24625
24626 \backslash
24627 fboxrule
24628 \series default
24629 \InsetSpace \thinspace{}
24630 =\InsetSpace \thinspace{}
24631 2\InsetSpace \thinspace{}
24632 pt
24633 \end_layout
24634
24635 \end_inset
24636
24637
24638 \begin_inset ERT
24639 status collapsed
24640
24641 \begin_layout Standard
24642
24643
24644 \backslash
24645 setlength{
24646 \backslash
24647 fboxrule}{0.4pt}
24648 \end_layout
24649
24650 \end_inset
24651
24652
24653 \end_layout
24654
24655 \begin_layout Standard
24656 \begin_inset VSpace bigskip
24657 \end_inset
24658
24659 The space between the frame and the box content is for all frame styles
24660  by default 3\InsetSpace \thinspace{}
24661 pt.
24662  You can change it by setting the length 
24663 \series bold
24664
24665 \backslash
24666 fboxsep
24667 \series default
24668  to another value.
24669  For example the command
24670 \end_layout
24671
24672 \begin_layout Standard
24673
24674 \series bold
24675
24676 \backslash
24677 setlength{
24678 \backslash
24679 fboxsep}{10pt}
24680 \end_layout
24681
24682 \begin_layout Standard
24683 sets the value to 10\InsetSpace \thinspace{}
24684 pt, like for the following box:
24685 \end_layout
24686
24687 \begin_layout Standard
24688 \begin_inset ERT
24689 status collapsed
24690
24691 \begin_layout Standard
24692
24693
24694 \backslash
24695 setlength{
24696 \backslash
24697 fboxsep}{10pt}
24698 \end_layout
24699
24700 \end_inset
24701
24702
24703 \begin_inset Box Boxed
24704 position "c"
24705 hor_pos "c"
24706 has_inner_box 1
24707 inner_pos "c"
24708 use_parbox 0
24709 width "25col%"
24710 special "none"
24711 height "1in"
24712 height_special "totalheight"
24713 status collapsed
24714
24715 \begin_layout Standard
24716 \align center
24717 Rectangular box with 
24718 \series bold
24719
24720 \backslash
24721 fboxsep
24722 \series default
24723 \InsetSpace \thinspace{}
24724 =\InsetSpace \thinspace{}
24725 10\InsetSpace \thinspace{}
24726 pt
24727 \end_layout
24728
24729 \end_inset
24730
24731
24732 \begin_inset ERT
24733 status collapsed
24734
24735 \begin_layout Standard
24736
24737
24738 \backslash
24739 setlength{
24740 \backslash
24741 fboxsep}{3pt}
24742 \end_layout
24743
24744 \end_inset
24745
24746
24747 \end_layout
24748
24749 \begin_layout Standard
24750 \begin_inset VSpace bigskip
24751 \end_inset
24752
24753 The diameter of the round corners of the oval boxes can be set with the
24754  command 
24755 \series bold
24756
24757 \backslash
24758 cornersize
24759 \series default
24760 .
24761  The command
24762 \end_layout
24763
24764 \begin_layout Standard
24765
24766 \series bold
24767
24768 \backslash
24769 cornersize*{1cm}
24770 \end_layout
24771
24772 \begin_layout Standard
24773 sets the diameter to 1\InsetSpace \thinspace{}
24774 cm.
24775  The command
24776 \end_layout
24777
24778 \begin_layout Standard
24779
24780 \series bold
24781
24782 \backslash
24783 cornersize{num}
24784 \end_layout
24785
24786 \begin_layout Standard
24787 sets the diameter to 
24788 \family sans
24789 num\InsetSpace \thinspace{}
24790 ×\InsetSpace \thinspace{}
24791 minimum(width and heigth of box)
24792 \family default
24793 .
24794  The default is 
24795 \series bold
24796
24797 \backslash
24798 cornersize{0.5}
24799 \series default
24800 .
24801 \end_layout
24802
24803 \begin_layout Standard
24804 \begin_inset ERT
24805 status collapsed
24806
24807 \begin_layout Standard
24808
24809
24810 \backslash
24811 cornersize*{1.5cm}
24812 \end_layout
24813
24814 \end_inset
24815
24816
24817 \begin_inset Box Ovalbox
24818 position "c"
24819 hor_pos "c"
24820 has_inner_box 1
24821 inner_pos "c"
24822 use_parbox 0
24823 width "25col%"
24824 special "none"
24825 height "1in"
24826 height_special "totalheight"
24827 status collapsed
24828
24829 \begin_layout Standard
24830 \align center
24831 Oval box with 
24832 \series bold
24833
24834 \backslash
24835 cornersize
24836 \series default
24837 \InsetSpace \thinspace{}
24838 =\InsetSpace \thinspace{}
24839 1.5\InsetSpace \thinspace{}
24840 cm
24841 \end_layout
24842
24843 \end_inset
24844
24845
24846 \begin_inset ERT
24847 status collapsed
24848
24849 \begin_layout Standard
24850
24851
24852 \backslash
24853 cornersize{0.5}
24854 \end_layout
24855
24856 \end_inset
24857
24858
24859 \end_layout
24860
24861 \begin_layout Standard
24862 \begin_inset VSpace bigskip
24863 \end_inset
24864
24865 The size of the shadow can be adjusted by changing the length 
24866 \series bold
24867
24868 \backslash
24869 shadowsize
24870 \series default
24871 .
24872  It it set to 2\InsetSpace \thinspace{}
24873 pt for the following box by this command:
24874 \end_layout
24875
24876 \begin_layout Standard
24877
24878 \series bold
24879
24880 \backslash
24881 setlength{
24882 \backslash
24883 shadowsize}{2pt}
24884 \end_layout
24885
24886 \begin_layout Standard
24887 \begin_inset ERT
24888 status collapsed
24889
24890 \begin_layout Standard
24891
24892
24893 \backslash
24894 setlength{
24895 \backslash
24896 shadowsize}{2pt}
24897 \end_layout
24898
24899 \end_inset
24900
24901
24902 \begin_inset Box Shadowbox
24903 position "c"
24904 hor_pos "c"
24905 has_inner_box 1
24906 inner_pos "c"
24907 use_parbox 0
24908 width "25col%"
24909 special "none"
24910 height "1in"
24911 height_special "totalheight"
24912 status collapsed
24913
24914 \begin_layout Standard
24915 \align center
24916 Shadow box with 
24917 \series bold
24918
24919 \backslash
24920 shadowsize
24921 \series default
24922 \InsetSpace \thinspace{}
24923 =\InsetSpace \thinspace{}
24924 2\InsetSpace \thinspace{}
24925 pt
24926 \end_layout
24927
24928 \end_inset
24929
24930
24931 \begin_inset ERT
24932 status collapsed
24933
24934 \begin_layout Standard
24935
24936
24937 \backslash
24938 setlength{
24939 \backslash
24940 shadowsize}{4pt}
24941 \end_layout
24942
24943 \end_inset
24944
24945
24946 \end_layout
24947
24948 \begin_layout Standard
24949 \begin_inset VSpace bigskip
24950 \end_inset
24951
24952 Changed lengths and widths are valid for all boxes following the commands
24953  that change them.
24954 \end_layout
24955
24956 \begin_layout Section
24957 Minipages
24958 \begin_inset LatexCommand label
24959 name "sec:Minipages"
24960
24961 \end_inset
24962
24963
24964 \begin_inset LatexCommand index
24965 name "Boxes ! Minipages"
24966
24967 \end_inset
24968
24969
24970 \end_layout
24971
24972 \begin_layout Standard
24973 Minipages are treated by LaTeX as pages within pages and can therefore for
24974  example have their own footnotes.
24975 \end_layout
24976
24977 \begin_layout Standard
24978 Minipages are useful when you write documents with different languages.
24979 \end_layout
24980
24981 \begin_layout Standard
24982 Below are two example minipages side by side.
24983  Their width is set to 45\InsetSpace \thinspace{}
24984 col% and they are separated by a horizontal fill,
24985  that was inserted via the menu 
24986 \family sans
24987 Insert\SpecialChar \menuseparator
24988 Special\InsetSpace ~
24989 Formatting\SpecialChar \menuseparator
24990 Horizontal\InsetSpace ~
24991 Fill
24992 \family default
24993 .
24994 \end_layout
24995
24996 \begin_layout Standard
24997 \begin_inset Box Frameless
24998 position "t"
24999 hor_pos "c"
25000 has_inner_box 1
25001 inner_pos "c"
25002 use_parbox 0
25003 width "45col%"
25004 special "none"
25005 height "1in"
25006 height_special "totalheight"
25007 status open
25008
25009 \begin_layout Standard
25010
25011 \lang german
25012 Dies ist ein deutscher Text.
25013  Dies ist ein deutscher Text.
25014  Dies ist ein deutscher Text.
25015  Dies ist ein deutscher Text.
25016  Dies ist ein deutscher Text.
25017  Dies ist ein deutscher Text.
25018  Dies ist ein deutscher Text.
25019  Dies ist ein deutscher Text.
25020  Dies ist ein deutscher Text.
25021  Dies ist ein deutscher Text.
25022  Dies ist ein deutscher Text.
25023  Dies ist ein deutscher Text.
25024  Dies ist ein deutscher Text
25025 \begin_inset Foot
25026 status collapsed
25027
25028 \begin_layout Standard
25029
25030 \lang german
25031 Dies ist eine deutsche Fußnote.
25032 \end_layout
25033
25034 \end_inset
25035
25036 .
25037  Dies ist ein deutscher Text.
25038  Dies ist ein deutscher Text.
25039 \end_layout
25040
25041 \end_inset
25042
25043
25044 \hfill
25045
25046 \begin_inset Box Frameless
25047 position "t"
25048 hor_pos "c"
25049 has_inner_box 1
25050 inner_pos "c"
25051 use_parbox 0
25052 width "45col%"
25053 special "none"
25054 height "1in"
25055 height_special "totalheight"
25056 status open
25057
25058 \begin_layout Standard
25059 This is an English Text.
25060  This is an English Text.
25061  This is an English Text.
25062  This is an English Text.
25063  This is an English Text.
25064  This is an English Text.
25065  This is an English Text.
25066  This is an English Text.
25067  This is an English Text.
25068  This is an English Text.
25069  This is an English Text.
25070  This is an English Text.
25071  This is an English Text.
25072  This is an English Text.
25073  This is an English Text.
25074  This is an English Text.
25075 \begin_inset Foot
25076 status collapsed
25077
25078 \begin_layout Standard
25079 This is an English footnote.
25080 \end_layout
25081
25082 \end_inset
25083
25084  This is an English Text.
25085  
25086 \end_layout
25087
25088 \end_inset
25089
25090
25091 \end_layout
25092
25093 \begin_layout Standard
25094 \begin_inset VSpace bigskip
25095 \end_inset
25096
25097 Another application for minipages are footnotes within tables.
25098  Due to a LaTeX restriction footnotes within tables doesn't appear at the
25099  bottom of the current page.
25100  But when you put the table with the footnote to a minipage, the footnote
25101  will appear at its bottom, numbered with Latin letters.
25102  The footnote number is reset to 1 in every minipage but not outside the
25103  minipages.
25104 \end_layout
25105
25106 \begin_layout Standard
25107 The footnote of this table doesn't appear: 
25108 \begin_inset Tabular
25109 <lyxtabular version="3" rows="3" columns="4">
25110 <features>
25111 <column alignment="center" valignment="top" leftline="true" width="0pt">
25112 <column alignment="center" valignment="top" leftline="true" width="0pt">
25113 <column alignment="center" valignment="top" leftline="true" width="0pt">
25114 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
25115 <row topline="true">
25116 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25117 \begin_inset Text
25118
25119 \begin_layout Standard
25120 1
25121 \end_layout
25122
25123 \end_inset
25124 </cell>
25125 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25126 \begin_inset Text
25127
25128 \begin_layout Standard
25129 2
25130 \end_layout
25131
25132 \end_inset
25133 </cell>
25134 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25135 \begin_inset Text
25136
25137 \begin_layout Standard
25138 3
25139 \begin_inset Foot
25140 status collapsed
25141
25142 \begin_layout Standard
25143 This is a footnote within a table.
25144 \end_layout
25145
25146 \end_inset
25147
25148
25149 \end_layout
25150
25151 \end_inset
25152 </cell>
25153 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25154 \begin_inset Text
25155
25156 \begin_layout Standard
25157 4
25158 \end_layout
25159
25160 \end_inset
25161 </cell>
25162 </row>
25163 <row topline="true">
25164 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25165 \begin_inset Text
25166
25167 \begin_layout Standard
25168 a
25169 \end_layout
25170
25171 \end_inset
25172 </cell>
25173 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25174 \begin_inset Text
25175
25176 \begin_layout Standard
25177 b
25178 \end_layout
25179
25180 \end_inset
25181 </cell>
25182 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25183 \begin_inset Text
25184
25185 \begin_layout Standard
25186 c
25187 \end_layout
25188
25189 \end_inset
25190 </cell>
25191 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25192 \begin_inset Text
25193
25194 \begin_layout Standard
25195 d
25196 \end_layout
25197
25198 \end_inset
25199 </cell>
25200 </row>
25201 <row topline="true" bottomline="true">
25202 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25203 \begin_inset Text
25204
25205 \begin_layout Standard
25206 e
25207 \end_layout
25208
25209 \end_inset
25210 </cell>
25211 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25212 \begin_inset Text
25213
25214 \begin_layout Standard
25215 f
25216 \end_layout
25217
25218 \end_inset
25219 </cell>
25220 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25221 \begin_inset Text
25222
25223 \begin_layout Standard
25224 g
25225 \end_layout
25226
25227 \end_inset
25228 </cell>
25229 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25230 \begin_inset Text
25231
25232 \begin_layout Standard
25233 h
25234 \end_layout
25235
25236 \end_inset
25237 </cell>
25238 </row>
25239 </lyxtabular>
25240
25241 \end_inset
25242
25243
25244 \end_layout
25245
25246 \begin_layout Standard
25247 \align center
25248 \begin_inset Box Frameless
25249 position "t"
25250 hor_pos "c"
25251 has_inner_box 1
25252 inner_pos "c"
25253 use_parbox 0
25254 width "30col%"
25255 special "none"
25256 height "1in"
25257 height_special "totalheight"
25258 status open
25259
25260 \begin_layout Standard
25261 \align center
25262 \begin_inset Tabular
25263 <lyxtabular version="3" rows="3" columns="4">
25264 <features>
25265 <column alignment="center" valignment="top" leftline="true" width="0pt">
25266 <column alignment="center" valignment="top" leftline="true" width="0pt">
25267 <column alignment="center" valignment="top" leftline="true" width="0pt">
25268 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
25269 <row topline="true">
25270 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25271 \begin_inset Text
25272
25273 \begin_layout Standard
25274 1
25275 \end_layout
25276
25277 \end_inset
25278 </cell>
25279 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25280 \begin_inset Text
25281
25282 \begin_layout Standard
25283 2
25284 \end_layout
25285
25286 \end_inset
25287 </cell>
25288 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25289 \begin_inset Text
25290
25291 \begin_layout Standard
25292 3
25293 \begin_inset Foot
25294 status collapsed
25295
25296 \begin_layout Standard
25297 This is a footnote within a table.
25298 \end_layout
25299
25300 \end_inset
25301
25302
25303 \end_layout
25304
25305 \end_inset
25306 </cell>
25307 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25308 \begin_inset Text
25309
25310 \begin_layout Standard
25311 4
25312 \end_layout
25313
25314 \end_inset
25315 </cell>
25316 </row>
25317 <row topline="true">
25318 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25319 \begin_inset Text
25320
25321 \begin_layout Standard
25322 a
25323 \end_layout
25324
25325 \end_inset
25326 </cell>
25327 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25328 \begin_inset Text
25329
25330 \begin_layout Standard
25331 b
25332 \end_layout
25333
25334 \end_inset
25335 </cell>
25336 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25337 \begin_inset Text
25338
25339 \begin_layout Standard
25340 c
25341 \end_layout
25342
25343 \end_inset
25344 </cell>
25345 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25346 \begin_inset Text
25347
25348 \begin_layout Standard
25349 d
25350 \end_layout
25351
25352 \end_inset
25353 </cell>
25354 </row>
25355 <row topline="true" bottomline="true">
25356 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25357 \begin_inset Text
25358
25359 \begin_layout Standard
25360 e
25361 \end_layout
25362
25363 \end_inset
25364 </cell>
25365 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25366 \begin_inset Text
25367
25368 \begin_layout Standard
25369 f
25370 \end_layout
25371
25372 \end_inset
25373 </cell>
25374 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25375 \begin_inset Text
25376
25377 \begin_layout Standard
25378 g
25379 \end_layout
25380
25381 \end_inset
25382 </cell>
25383 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25384 \begin_inset Text
25385
25386 \begin_layout Standard
25387 h
25388 \end_layout
25389
25390 \end_inset
25391 </cell>
25392 </row>
25393 </lyxtabular>
25394
25395 \end_inset
25396
25397
25398 \end_layout
25399
25400 \end_inset
25401
25402
25403 \end_layout
25404
25405 \begin_layout Standard
25406 \begin_inset VSpace bigskip
25407 \end_inset
25408
25409 The document-wide paragraph settings are ignored within minipages.
25410  That means that there will be no space between paragraphs in minipages
25411  although you set it to e.\InsetSpace \thinspace{}
25412 g.\InsetSpace ~
25413
25414 \family sans
25415 MedSkip
25416 \family default
25417  in the document settings.
25418 \end_layout
25419
25420 \begin_layout Standard
25421 Minipages can also be used to set a background color for text parts, see
25422  section\InsetSpace ~
25423
25424 \begin_inset LatexCommand ref
25425 reference "sub:Color-for-Paragraphs"
25426
25427 \end_inset
25428
25429 .
25430 \end_layout
25431
25432 \begin_layout Standard
25433 \begin_inset Note Greyedout
25434 status open
25435
25436 \begin_layout Standard
25437
25438 \series bold
25439 Note:
25440 \series default
25441  You cannot have floats or margin notes inside minipages but minipages can
25442  be used inside tables, floats, and other boxes.
25443 \end_layout
25444
25445 \end_inset
25446
25447
25448 \end_layout
25449
25450 \begin_layout Section
25451 Parboxes
25452 \begin_inset LatexCommand label
25453 name "sec:Parboxes"
25454
25455 \end_inset
25456
25457
25458 \begin_inset LatexCommand index
25459 name "Boxes ! Parboxes"
25460
25461 \end_inset
25462
25463
25464 \end_layout
25465
25466 \begin_layout Standard
25467 Parboxes are very similar to minipages with the difference that they cannot
25468  have footnotes.
25469  The main difference to minipages is that minipages are in contrary to parboxes
25470  no real boxes but LaTeX-environments.
25471 \end_layout
25472
25473 \begin_layout Standard
25474 \align center
25475 \begin_inset Box Frameless
25476 position "t"
25477 hor_pos "c"
25478 has_inner_box 1
25479 inner_pos "t"
25480 use_parbox 1
25481 width "33col%"
25482 special "none"
25483 height "1in"
25484 height_special "totalheight"
25485 status collapsed
25486
25487 \begin_layout Standard
25488 This a text within a parbox.
25489  This a text within a parbox.
25490 \end_layout
25491
25492 \begin_layout Standard
25493 This footnote won't appear:
25494 \begin_inset Foot
25495 status collapsed
25496
25497 \begin_layout Standard
25498 This footnote is inside a parbox and will therefore not appear.
25499 \end_layout
25500
25501 \end_inset
25502
25503
25504 \end_layout
25505
25506 \end_inset
25507
25508
25509 \end_layout
25510
25511 \begin_layout Section
25512 Boxes for Words and Characters
25513 \begin_inset LatexCommand index
25514 name "Boxes ! for Characters"
25515
25516 \end_inset
25517
25518
25519 \end_layout
25520
25521 \begin_layout Subsection
25522 Prevent Hyphenation
25523 \begin_inset LatexCommand label
25524 name "sec:Prevent-Hyphenation"
25525
25526 \end_inset
25527
25528
25529 \begin_inset LatexCommand index
25530 name "Boxes ! to Prevent Hyphenation"
25531
25532 \end_inset
25533
25534
25535 \end_layout
25536
25537 \begin_layout Standard
25538 You can use a special kind of boxes to prevent words or text to be hyphenated.
25539 \newline
25540 Her
25541 e is an example text:
25542 \end_layout
25543
25544 \begin_layout Standard
25545 This line is an example to show how you can prevent the hyphenation of e.\InsetSpace \thinspace{}
25546 g.\InsetSpace ~
25547 veryver
25548 ylongwords.
25549 \end_layout
25550
25551 \begin_layout Standard
25552 To prevent the hyphenation of the word 
25553 \begin_inset Quotes eld
25554 \end_inset
25555
25556 veryverylongwords
25557 \begin_inset Quotes erd
25558 \end_inset
25559
25560 , add the command
25561 \end_layout
25562
25563 \begin_layout Standard
25564
25565 \series bold
25566
25567 \backslash
25568 mbox{
25569 \end_layout
25570
25571 \begin_layout Standard
25572 in ERT before the word.
25573  Behind the word insert a closing brace 
25574 \begin_inset Quotes eld
25575 \end_inset
25576
25577
25578 \series bold
25579 }
25580 \series default
25581
25582 \begin_inset Quotes erd
25583 \end_inset
25584
25585  in ERT.
25586 \begin_inset ERT
25587 status collapsed
25588
25589 \begin_layout Standard
25590
25591
25592 \backslash
25593 pagebreak 
25594 \end_layout
25595
25596 \end_inset
25597
25598
25599 \end_layout
25600
25601 \begin_layout Standard
25602 This is the result:
25603 \end_layout
25604
25605 \begin_layout Standard
25606 This line is an example to show how you can prevent the hyphenation of e.\InsetSpace \thinspace{}
25607 g.\InsetSpace ~
25608
25609 \begin_inset ERT
25610 status collapsed
25611
25612 \begin_layout Standard
25613
25614
25615 \backslash
25616 mbox{
25617 \end_layout
25618
25619 \end_inset
25620
25621 veryverylongwords.
25622 \begin_inset ERT
25623 status collapsed
25624
25625 \begin_layout Standard
25626
25627 }
25628 \end_layout
25629
25630 \end_inset
25631
25632
25633 \end_layout
25634
25635 \begin_layout Standard
25636 Of course the word now protrudes over the side margin.
25637  To avoid this, add via the menu 
25638 \family sans
25639 Insert\SpecialChar \menuseparator
25640 Special\InsetSpace ~
25641 Formatting\SpecialChar \menuseparator
25642 Line\InsetSpace ~
25643 Break
25644 \family default
25645  (shortcut 
25646 \series bold
25647 Ctrl-Return
25648 \series default
25649 ) a line break before the word:
25650 \end_layout
25651
25652 \begin_layout Standard
25653 This line is an example to show how you can prevent the hyphenation of e.\InsetSpace \thinspace{}
25654 g.\InsetSpace ~
25655
25656 \newline
25657
25658 \begin_inset ERT
25659 status collapsed
25660
25661 \begin_layout Standard
25662
25663
25664 \backslash
25665 mbox{
25666 \end_layout
25667
25668 \end_inset
25669
25670 veryverylongwords.
25671 \begin_inset ERT
25672 status collapsed
25673
25674 \begin_layout Standard
25675
25676 }
25677 \end_layout
25678
25679 \end_inset
25680
25681
25682 \end_layout
25683
25684 \begin_layout Subsection
25685 Vertical Alignment
25686 \begin_inset LatexCommand label
25687 name "sub:Vertical-Alignment"
25688
25689 \end_inset
25690
25691
25692 \begin_inset LatexCommand index
25693 name "Boxes ! for Vertical Alignment"
25694
25695 \end_inset
25696
25697
25698 \begin_inset LatexCommand index
25699 name "Boxes ! Raiseboxes"
25700
25701 \end_inset
25702
25703
25704 \end_layout
25705
25706 \begin_layout Standard
25707 With the help of the command 
25708 \series bold
25709
25710 \backslash
25711 raisebox
25712 \series default
25713  you can align words, characters or other boxes vertically to the surrounding
25714  text.
25715  
25716 \series bold
25717
25718 \backslash
25719 raisebox
25720 \series default
25721  is used with the following scheme:
25722 \end_layout
25723
25724 \begin_layout Standard
25725
25726 \series bold
25727
25728 \backslash
25729 raisebox{lift}[height][depth]{box content}
25730 \end_layout
25731
25732 \begin_layout Standard
25733 The lift can be a positive value to raise the box or a negative value to
25734  lower the box.
25735 \end_layout
25736
25737 \begin_layout Standard
25738 To align for example the word 
25739 \begin_inset Quotes eld
25740 \end_inset
25741
25742 preventing
25743 \begin_inset Quotes erd
25744 \end_inset
25745
25746  so that the bottom of the 
25747 \begin_inset Quotes eld
25748 \end_inset
25749
25750 deepest
25751 \begin_inset Quotes erd
25752 \end_inset
25753
25754  character 
25755 \begin_inset Quotes eld
25756 \end_inset
25757
25758 p
25759 \begin_inset Quotes erd
25760 \end_inset
25761
25762  is at the baseline, insert the command
25763 \end_layout
25764
25765 \begin_layout Standard
25766
25767 \series bold
25768
25769 \backslash
25770 raisebox{
25771 \backslash
25772 depth}{
25773 \end_layout
25774
25775 \begin_layout Standard
25776 in ERT before the word.
25777  Behind the word insert a closing brace 
25778 \begin_inset Quotes eld
25779 \end_inset
25780
25781
25782 \series bold
25783 }
25784 \series default
25785
25786 \begin_inset Quotes erd
25787 \end_inset
25788
25789  in ERT.
25790 \newline
25791 This is the result:
25792 \end_layout
25793
25794 \begin_layout Standard
25795 This is a text line with the word 
25796 \begin_inset ERT
25797 status collapsed
25798
25799 \begin_layout Standard
25800
25801
25802 \backslash
25803 raisebox{
25804 \backslash
25805 depth}{
25806 \end_layout
25807
25808 \end_inset
25809
25810
25811 \begin_inset Quotes eld
25812 \end_inset
25813
25814 preventing
25815 \begin_inset Quotes erd
25816 \end_inset
25817
25818
25819 \begin_inset ERT
25820 status collapsed
25821
25822 \begin_layout Standard
25823
25824 }
25825 \end_layout
25826
25827 \end_inset
25828
25829  as raised word.
25830 \end_layout
25831
25832 \begin_layout Standard
25833 \begin_inset VSpace bigskip
25834 \end_inset
25835
25836 When you raise or lower characters in a line, the line distance will be
25837  spread:
25838 \end_layout
25839
25840 \begin_layout Standard
25841 This is a text line with the word 
25842 \begin_inset ERT
25843 status collapsed
25844
25845 \begin_layout Standard
25846
25847
25848 \backslash
25849 raisebox{-
25850 \backslash
25851 depth}{
25852 \end_layout
25853
25854 \end_inset
25855
25856
25857 \begin_inset Quotes eld
25858 \end_inset
25859
25860 preventing
25861 \begin_inset Quotes erd
25862 \end_inset
25863
25864
25865 \begin_inset ERT
25866 status collapsed
25867
25868 \begin_layout Standard
25869
25870 }
25871 \end_layout
25872
25873 \end_inset
25874
25875  as lowered word.
25876 \newline
25877 This is a text line with the word 
25878 \begin_inset ERT
25879 status collapsed
25880
25881 \begin_layout Standard
25882
25883
25884 \backslash
25885 raisebox{0.5cm}{
25886 \end_layout
25887
25888 \end_inset
25889
25890
25891 \begin_inset Quotes eld
25892 \end_inset
25893
25894 testing
25895 \begin_inset Quotes erd
25896 \end_inset
25897
25898
25899 \begin_inset ERT
25900 status collapsed
25901
25902 \begin_layout Standard
25903
25904 }
25905 \end_layout
25906
25907 \end_inset
25908
25909  as raised word.
25910 \end_layout
25911
25912 \begin_layout Standard
25913 If you want to prevent this for a certain reason, set the box height to
25914  a zero value.
25915  For example use
25916 \end_layout
25917
25918 \begin_layout Standard
25919
25920 \series bold
25921
25922 \backslash
25923 raisebox{-
25924 \backslash
25925 depth}[0pt]{
25926 \end_layout
25927
25928 \begin_layout Standard
25929 This is a text line with the word 
25930 \begin_inset ERT
25931 status collapsed
25932
25933 \begin_layout Standard
25934
25935
25936 \backslash
25937 raisebox{-
25938 \backslash
25939 depth}[0pt]{
25940 \end_layout
25941
25942 \end_inset
25943
25944
25945 \begin_inset Quotes eld
25946 \end_inset
25947
25948 preventing
25949 \begin_inset Quotes erd
25950 \end_inset
25951
25952
25953 \begin_inset ERT
25954 status collapsed
25955
25956 \begin_layout Standard
25957
25958 }
25959 \end_layout
25960
25961 \end_inset
25962
25963  as lowered word.
25964 \newline
25965 This is a text line with the word 
25966 \begin_inset ERT
25967 status collapsed
25968
25969 \begin_layout Standard
25970
25971
25972 \backslash
25973 raisebox{0.5cm}[0pt]{
25974 \end_layout
25975
25976 \end_inset
25977
25978
25979 \begin_inset Quotes eld
25980 \end_inset
25981
25982 testing
25983 \begin_inset Quotes erd
25984 \end_inset
25985
25986
25987 \begin_inset ERT
25988 status collapsed
25989
25990 \begin_layout Standard
25991
25992 }
25993 \end_layout
25994
25995 \end_inset
25996
25997  as raised word.
25998 \end_layout
25999
26000 \begin_layout Section
26001 Colored Boxes
26002 \begin_inset LatexCommand label
26003 name "sec:Colored-Boxes"
26004
26005 \end_inset
26006
26007
26008 \begin_inset LatexCommand index
26009 name "Boxes ! Color"
26010
26011 \end_inset
26012
26013
26014 \end_layout
26015
26016 \begin_layout Subsection
26017 Color for Text
26018 \begin_inset LatexCommand index
26019 name "Color ! for Text"
26020
26021 \end_inset
26022
26023
26024 \end_layout
26025
26026 \begin_layout Standard
26027 To color the background of text the text must be put into a so called colorbox.
26028  This requires that the LaTeX-package 
26029 \series bold
26030 color
26031 \series default
26032
26033 \begin_inset LatexCommand index
26034 name "LaTeX-packages ! color"
26035
26036 \end_inset
26037
26038  is loaded in the document preamble with the command
26039 \end_layout
26040
26041 \begin_layout Standard
26042
26043 \series bold
26044
26045 \backslash
26046 @ifundef\SpecialChar \textcompwordmark{}
26047 ined{textcolor}
26048 \newline
26049
26050 \begin_inset ERT
26051 status collapsed
26052
26053 \begin_layout Standard
26054
26055
26056 \backslash
26057 hphantom{ }
26058 \end_layout
26059
26060 \end_inset
26061
26062 {
26063 \backslash
26064 usepackage{color}}{}
26065 \end_layout
26066
26067 \begin_layout Standard
26068 The package 
26069 \series bold
26070 color
26071 \series default
26072  will be loaded automatically by LyX when you color text
26073 \begin_inset Foot
26074 status collapsed
26075
26076 \begin_layout Standard
26077 To avoid that it is loaded twice the command 
26078 \series bold
26079
26080 \backslash
26081 @ifundef\SpecialChar \textcompwordmark{}
26082 ined
26083 \series default
26084  is used.
26085 \end_layout
26086
26087 \end_inset
26088
26089 .
26090 \end_layout
26091
26092 \begin_layout Standard
26093 \begin_inset VSpace medskip
26094 \end_inset
26095
26096 Colorboxes are created with the command 
26097 \series bold
26098
26099 \backslash
26100 colorbox
26101 \series default
26102 .
26103  This will be used with the following scheme:
26104 \end_layout
26105
26106 \begin_layout Standard
26107
26108 \series bold
26109
26110 \backslash
26111 colorbox{color}{box content}
26112 \end_layout
26113
26114 \begin_layout Standard
26115 The box content can also be a box and colorboxes can also be within other
26116  boxes.
26117 \end_layout
26118
26119 \begin_layout Standard
26120 The following colors are predefined:
26121 \newline
26122
26123 \family sans
26124 black
26125 \family default
26126
26127 \family sans
26128 blue
26129 \family default
26130
26131 \family sans
26132 cyan
26133 \family default
26134 \series bold
26135 ,
26136 \series default
26137  
26138 \family sans
26139 green
26140 \family default
26141
26142 \family sans
26143 magenta
26144 \family default
26145
26146 \family sans
26147 red
26148 \family default
26149
26150 \family sans
26151 white
26152 \family default
26153 , and 
26154 \family sans
26155 yellow
26156 \family default
26157 .
26158 \newline
26159 You can also define your own color as described in section\InsetSpace ~
26160
26161 \begin_inset LatexCommand ref
26162 reference "sec:Colored-Tables"
26163
26164 \end_inset
26165
26166 .
26167 \end_layout
26168
26169 \begin_layout Standard
26170 To have e.\InsetSpace \thinspace{}
26171 g.\InsetSpace ~
26172 a red background for a word, insert the command
26173 \end_layout
26174
26175 \begin_layout Standard
26176
26177 \series bold
26178
26179 \backslash
26180 colorbox{red}{
26181 \end_layout
26182
26183 \begin_layout Standard
26184 before the word in ERT.
26185  Behind the word insert a closing brace 
26186 \begin_inset Quotes eld
26187 \end_inset
26188
26189
26190 \series bold
26191 }
26192 \series default
26193
26194 \begin_inset Quotes erd
26195 \end_inset
26196
26197  in ERT.
26198 \newline
26199 This is the result:
26200 \end_layout
26201
26202 \begin_layout Standard
26203 This is a line where the word 
26204 \begin_inset ERT
26205 status collapsed
26206
26207 \begin_layout Standard
26208
26209
26210 \backslash
26211 colorbox{red}{
26212 \end_layout
26213
26214 \end_inset
26215
26216
26217 \begin_inset Quotes eld
26218 \end_inset
26219
26220 Attention!
26221 \begin_inset Quotes erd
26222 \end_inset
26223
26224
26225 \begin_inset ERT
26226 status collapsed
26227
26228 \begin_layout Standard
26229
26230 }
26231 \end_layout
26232
26233 \end_inset
26234
26235  has a red background.
26236 \end_layout
26237
26238 \begin_layout Standard
26239 \begin_inset VSpace bigskip
26240 \end_inset
26241
26242 If you would have the box frame in a different color, you can use the command
26243  
26244 \series bold
26245
26246 \backslash
26247 fcolorbox
26248 \series default
26249  with the following scheme:
26250 \end_layout
26251
26252 \begin_layout Standard
26253
26254 \series bold
26255
26256 \backslash
26257 fcolorbox{frame color}{box color}{box content}
26258 \end_layout
26259
26260 \begin_layout Standard
26261
26262 \series bold
26263
26264 \backslash
26265 fcolorbox
26266 \series default
26267  is an extension to 
26268 \series bold
26269
26270 \backslash
26271 colorbox
26272 \series default
26273 .
26274  The frame thickness and the space between the frame and the box content
26275  can be adjusted with the lengths 
26276 \series bold
26277
26278 \backslash
26279 fboxrule
26280 \series default
26281  and 
26282 \series bold
26283
26284 \backslash
26285 fboxsep
26286 \series default
26287 , respectively, as described in section\InsetSpace ~
26288
26289 \begin_inset LatexCommand ref
26290 reference "sec:Framed-Boxes"
26291
26292 \end_inset
26293
26294 .
26295 \end_layout
26296
26297 \begin_layout Standard
26298 For the following example the command
26299 \end_layout
26300
26301 \begin_layout Standard
26302
26303 \series bold
26304
26305 \backslash
26306 fcolorbox{cyan}{magenta}{
26307 \end_layout
26308
26309 \begin_layout Standard
26310 was used.
26311 \end_layout
26312
26313 \begin_layout Standard
26314 Here is an example where the frame line thickness was set to 1\InsetSpace \thinspace{}
26315 mm:
26316 \newline
26317
26318 \begin_inset ERT
26319 status collapsed
26320
26321 \begin_layout Standard
26322
26323
26324 \backslash
26325 fboxrule 1mm 
26326 \backslash
26327 fboxsep 1mm
26328 \end_layout
26329
26330 \end_inset
26331
26332
26333 \begin_inset ERT
26334 status collapsed
26335
26336 \begin_layout Standard
26337
26338
26339 \backslash
26340 fcolorbox{cyan}{magenta}{
26341 \end_layout
26342
26343 \end_inset
26344
26345 This is text within a colored, framed box.
26346 \begin_inset ERT
26347 status collapsed
26348
26349 \begin_layout Standard
26350
26351 }
26352 \end_layout
26353
26354 \end_inset
26355
26356
26357 \end_layout
26358
26359 \begin_layout Standard
26360 \begin_inset VSpace bigskip
26361 \end_inset
26362
26363 Of course you can also have colored text inside a colorbox:
26364 \newline
26365
26366 \begin_inset ERT
26367 status collapsed
26368
26369 \begin_layout Standard
26370
26371
26372 \backslash
26373 fcolorbox{cyan}{magenta}{
26374 \end_layout
26375
26376 \end_inset
26377
26378
26379 \color yellow
26380 This is colored text within a colored, framed box.
26381 \color none
26382
26383 \begin_inset ERT
26384 status collapsed
26385
26386 \begin_layout Standard
26387
26388 }
26389 \end_layout
26390
26391 \end_inset
26392
26393
26394 \begin_inset ERT
26395 status collapsed
26396
26397 \begin_layout Standard
26398
26399
26400 \backslash
26401 fboxrule 0.4pt 
26402 \backslash
26403 fboxsep 3pt
26404 \end_layout
26405
26406 \end_inset
26407
26408
26409 \end_layout
26410
26411 \begin_layout Standard
26412
26413 \series bold
26414 \begin_inset VSpace medskip
26415 \end_inset
26416
26417
26418 \end_layout
26419
26420 \begin_layout Standard
26421 \begin_inset Note Greyedout
26422 status open
26423
26424 \begin_layout Standard
26425
26426 \series bold
26427 Note:
26428 \series default
26429  Text in colorboxes cannot have line breaks.
26430  To color multiple text lines or paragraphs, use a box inside a colorbox
26431  as described in the following.
26432 \end_layout
26433
26434 \end_inset
26435
26436
26437 \end_layout
26438
26439 \begin_layout Subsection
26440 Color for Paragraphs
26441 \begin_inset LatexCommand label
26442 name "sub:Color-for-Paragraphs"
26443
26444 \end_inset
26445
26446
26447 \begin_inset LatexCommand index
26448 name "Color ! for Paragraphs"
26449
26450 \end_inset
26451
26452
26453 \end_layout
26454
26455 \begin_layout Standard
26456 To set the background color for more than one text line, put the text into
26457  a minipage.
26458  Before the minipage insert the 
26459 \series bold
26460
26461 \backslash
26462 colorbox
26463 \series default
26464  command
26465 \end_layout
26466
26467 \begin_layout Standard
26468
26469 \series bold
26470
26471 \backslash
26472 colorbox{color}{
26473 \end_layout
26474
26475 \begin_layout Standard
26476 in ERT.
26477  Behind the minipage insert a closing brace 
26478 \begin_inset Quotes eld
26479 \end_inset
26480
26481
26482 \series bold
26483 }
26484 \series default
26485
26486 \begin_inset Quotes erd
26487 \end_inset
26488
26489  in ERT.
26490 \end_layout
26491
26492 \begin_layout Standard
26493 \begin_inset ERT
26494 status collapsed
26495
26496 \begin_layout Standard
26497
26498
26499 \backslash
26500 colorbox{lightgrey}{
26501 \end_layout
26502
26503 \end_inset
26504
26505
26506 \begin_inset Box Frameless
26507 position "t"
26508 hor_pos "c"
26509 has_inner_box 1
26510 inner_pos "t"
26511 use_parbox 0
26512 width "100col%"
26513 special "none"
26514 height "1in"
26515 height_special "totalheight"
26516 status collapsed
26517
26518 \begin_layout Standard
26519 This is text with background color.
26520  This is text with background color.
26521 \end_layout
26522
26523 \begin_layout Standard
26524 \begin_inset VSpace defskip
26525 \end_inset
26526
26527 The text can have footnotes
26528 \begin_inset Foot
26529 status collapsed
26530
26531 \begin_layout Standard
26532 Another example footnote
26533 \end_layout
26534
26535 \end_inset
26536
26537  and can include tables and figures.
26538 \end_layout
26539
26540 \begin_layout Standard
26541 \align center
26542 \begin_inset Tabular
26543 <lyxtabular version="3" rows="3" columns="3">
26544 <features>
26545 <column alignment="center" valignment="top" leftline="true" width="0">
26546 <column alignment="center" valignment="top" leftline="true" width="0">
26547 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
26548 <row topline="true">
26549 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26550 \begin_inset Text
26551
26552 \begin_layout Standard
26553 a
26554 \end_layout
26555
26556 \end_inset
26557 </cell>
26558 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26559 \begin_inset Text
26560
26561 \begin_layout Standard
26562 !
26563 \end_layout
26564
26565 \end_inset
26566 </cell>
26567 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26568 \begin_inset Text
26569
26570 \begin_layout Standard
26571 3
26572 \end_layout
26573
26574 \end_inset
26575 </cell>
26576 </row>
26577 <row topline="true">
26578 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26579 \begin_inset Text
26580
26581 \begin_layout Standard
26582 <
26583 \end_layout
26584
26585 \end_inset
26586 </cell>
26587 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26588 \begin_inset Text
26589
26590 \begin_layout Standard
26591 b2
26592 \begin_inset Quotes erd
26593 \end_inset
26594
26595 |
26596 \end_layout
26597
26598 \end_inset
26599 </cell>
26600 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26601 \begin_inset Text
26602
26603 \begin_layout Standard
26604 >
26605 \end_layout
26606
26607 \end_inset
26608 </cell>
26609 </row>
26610 <row topline="true" bottomline="true">
26611 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26612 \begin_inset Text
26613
26614 \begin_layout Standard
26615 1
26616 \end_layout
26617
26618 \end_inset
26619 </cell>
26620 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26621 \begin_inset Text
26622
26623 \begin_layout Standard
26624 §
26625 \end_layout
26626
26627 \end_inset
26628 </cell>
26629 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26630 \begin_inset Text
26631
26632 \begin_layout Standard
26633 c
26634 \end_layout
26635
26636 \end_inset
26637 </cell>
26638 </row>
26639 </lyxtabular>
26640
26641 \end_inset
26642
26643
26644 \end_layout
26645
26646 \end_inset
26647
26648
26649 \begin_inset ERT
26650 status collapsed
26651
26652 \begin_layout Standard
26653
26654 }
26655 \end_layout
26656
26657 \end_inset
26658
26659
26660 \end_layout
26661
26662 \begin_layout Section
26663 URLs (Uniform Resource Locators)
26664 \begin_inset LatexCommand index
26665 name "URLs"
26666
26667 \end_inset
26668
26669
26670 \end_layout
26671
26672 \begin_layout Standard
26673 Links to web pages or email addresses can be inserted via the menu 
26674 \family sans
26675 Insert\SpecialChar \menuseparator
26676 URL
26677 \family default
26678 .
26679  The appearing URL dialog has two fields; the 
26680 \family sans
26681 URL
26682 \family default
26683  field and the 
26684 \family sans
26685 Name
26686 \family default
26687  field for the URL description, which will be typeset as plain text immediately
26688  before the URL.
26689 \end_layout
26690
26691 \begin_layout Standard
26692 Here is an example URL: 
26693 \begin_inset LatexCommand url
26694 name "LyX's homepage"
26695 target "http://www.lyx.org"
26696
26697 \end_inset
26698
26699
26700 \end_layout
26701
26702 \begin_layout Standard
26703 The option 
26704 \family sans
26705 Generate\InsetSpace ~
26706 hyperlink
26707 \family default
26708  in the URL dialog has only an affect when you export your document to the
26709  format 
26710 \begin_inset Quotes eld
26711 \end_inset
26712
26713
26714 \family sans
26715 LinuxDoc
26716 \family default
26717
26718 \begin_inset Quotes erd
26719 \end_inset
26720
26721 .
26722 \end_layout
26723
26724 \begin_layout Standard
26725 You cannot change the style of the link text.
26726  The text of the 
26727 \family sans
26728 Name
26729 \family default
26730  field will have the default text style of the document while the text of
26731  the 
26732 \family sans
26733 URL
26734 \family default
26735  field will have the style 
26736 \begin_inset Quotes eld
26737 \end_inset
26738
26739
26740 \family sans
26741 Typewriter
26742 \family default
26743
26744 \begin_inset Quotes erd
26745 \end_inset
26746
26747 .
26748 \end_layout
26749
26750 \begin_layout Standard
26751 When you use the LaTeX-package 
26752 \series bold
26753 hyperref
26754 \series default
26755
26756 \begin_inset LatexCommand index
26757 name "LaTeX-packages ! hyperref"
26758
26759 \end_inset
26760
26761  to link cross-references in the output, URLs will automatically become
26762  clickable hyperlinks in DVI and PDF-output.
26763 \end_layout
26764
26765 \begin_layout Standard
26766 \begin_inset Note Greyedout
26767 status open
26768
26769 \begin_layout Standard
26770
26771 \series bold
26772 Note:
26773 \series default
26774  When you use the following characters: "%", "#", "^", you have to write
26775  them with a preceding backslash, e.\InsetSpace \thinspace{}
26776 g.\InsetSpace ~
26777
26778 \begin_inset Quotes eld
26779 \end_inset
26780
26781
26782 \backslash
26783 #
26784 \begin_inset Quotes erd
26785 \end_inset
26786
26787 .
26788  URLs must not end with a backslash.
26789 \end_layout
26790
26791 \end_inset
26792
26793
26794 \end_layout
26795
26796 \begin_layout Standard
26797 \begin_inset VSpace bigskip
26798 \end_inset
26799
26800 To create real hyperlinks without the force to write the link location to
26801  the text, you can use the command
26802 \end_layout
26803
26804 \begin_layout Standard
26805
26806 \series bold
26807
26808 \backslash
26809 href{link location}{link text}
26810 \end_layout
26811
26812 \begin_layout Standard
26813 in ERT.
26814  To get for example a link to LyX's web page, write the command
26815 \end_layout
26816
26817 \begin_layout Standard
26818
26819 \series bold
26820
26821 \backslash
26822 href{http://www.lyx.org}{
26823 \end_layout
26824
26825 \begin_layout Standard
26826 in ERT.
26827  Insert after the command the link text 
26828 \begin_inset Quotes eld
26829 \end_inset
26830
26831 LyX's homepage
26832 \begin_inset Quotes erd
26833 \end_inset
26834
26835  as normal text followed by a closing brace 
26836 \begin_inset Quotes eld
26837 \end_inset
26838
26839
26840 \series bold
26841 }
26842 \series default
26843
26844 \begin_inset Quotes erd
26845 \end_inset
26846
26847  in ERT.
26848  This is the result: 
26849 \begin_inset ERT
26850 status collapsed
26851
26852 \begin_layout Standard
26853
26854
26855 \backslash
26856 href{http://www.lyx.org}{
26857 \end_layout
26858
26859 \end_inset
26860
26861 LyX's homepage
26862 \begin_inset ERT
26863 status collapsed
26864
26865 \begin_layout Standard
26866
26867 }
26868 \end_layout
26869
26870 \end_inset
26871
26872
26873 \end_layout
26874
26875 \begin_layout Standard
26876 To link to email addresses, add the prefix 
26877 \begin_inset Quotes eld
26878 \end_inset
26879
26880
26881 \family sans
26882 mailto:
26883 \family default
26884
26885 \begin_inset Quotes erd
26886 \end_inset
26887
26888  to the link location:
26889 \newline
26890 Email to 
26891 \begin_inset ERT
26892 status collapsed
26893
26894 \begin_layout Standard
26895
26896
26897 \backslash
26898 href{mailto:lyx-docs@lists.lyx.org?subject=LyX's documentation}{
26899 \end_layout
26900
26901 \end_inset
26902
26903 lyx-docs mailing list
26904 \begin_inset ERT
26905 status collapsed
26906
26907 \begin_layout Standard
26908
26909 }
26910 \end_layout
26911
26912 \end_inset
26913
26914 .
26915 \end_layout
26916
26917 \begin_layout Standard
26918 Using 
26919 \series bold
26920
26921 \backslash
26922 href
26923 \series default
26924  instead of LyX's URL box has the advantage that you can specify the text
26925  style of the link text like for all other text parts.
26926  You can therefore set hyphenation points and forced linebreaks to have
26927  long link text broken at the page margin.
26928  You are furthermore able to change the text style for all URLs in your
26929  document with an option in 
26930 \series bold
26931 hyperref
26932 \series default
26933 's load command and the restrictions mentioned above doesn't apply for 
26934 \series bold
26935
26936 \backslash
26937 href
26938 \series default
26939 .
26940 \end_layout
26941
26942 \begin_layout Chapter
26943 External Stuff
26944 \begin_inset LatexCommand index
26945 name "External Stuff"
26946
26947 \end_inset
26948
26949
26950 \end_layout
26951
26952 \begin_layout Standard
26953 With the menu 
26954 \family sans
26955 Insert\SpecialChar \menuseparator
26956 File
26957 \family default
26958  you can insert external material to your document.
26959  This can be:
26960 \end_layout
26961
26962 \begin_layout Description
26963 LyX\InsetSpace ~
26964 Document Another LyX document; its content is directly inserted to your
26965  document.
26966 \end_layout
26967
26968 \begin_layout Description
26969 Plain\InsetSpace ~
26970 Text A text document; every of its text lines is inserted to your document
26971  as own paragraph.
26972 \end_layout
26973
26974 \begin_layout Description
26975 Plain\InsetSpace ~
26976 Text,\InsetSpace ~
26977 Join\InsetSpace ~
26978 Lines A text document; its text lines are inserted as they
26979  are.
26980  Empty text lines creates a new paragraph in your document.
26981 \end_layout
26982
26983 \begin_layout Description
26984 External\InsetSpace ~
26985 Material Files in various formats.
26986 \end_layout
26987
26988 \begin_layout Description
26989 Child\InsetSpace ~
26990 Document LyX or LaTeX-documents.
26991 \end_layout
26992
26993 \begin_layout Section
26994 External Material
26995 \begin_inset LatexCommand index
26996 name "External Stuff ! External Material"
26997
26998 \end_inset
26999
27000
27001 \end_layout
27002
27003 \begin_layout Standard
27004 The external material feature allows you to insert files to your document
27005  without converting them previously to a format that can be read by the
27006  document output format because LyX takes care of needed conversions.
27007  This is similar to images that can be inserted in various image formats
27008  to LyX documents.
27009 \end_layout
27010
27011 \begin_layout Standard
27012 External material can be inserted via the 
27013 \family sans
27014 External Material
27015 \family default
27016  dialog that is accessible with the menu 
27017 \family sans
27018 Insert\SpecialChar \menuseparator
27019 File\SpecialChar \menuseparator
27020 External\InsetSpace ~
27021 Material
27022 \family default
27023 .
27024  Currently the following file types (
27025 \family sans
27026 Templates
27027 \family default
27028 ) are allowed:
27029 \end_layout
27030
27031 \begin_layout Description
27032 ChessDiagram This template supports chess position diagrams made with the
27033  program 
27034 \begin_inset ERT
27035 status collapsed
27036
27037 \begin_layout Standard
27038
27039
27040 \backslash
27041 href{http://en.wikipedia.org/wiki/XBoard}{
27042 \end_layout
27043
27044 \end_inset
27045
27046
27047 \series bold
27048 XBoard
27049 \series default
27050
27051 \begin_inset ERT
27052 status collapsed
27053
27054 \begin_layout Standard
27055
27056 }
27057 \end_layout
27058
27059 \end_inset
27060
27061 .
27062 \end_layout
27063
27064 \begin_layout Description
27065 Date This inserts the date in the form 
27066 \emph on
27067 Date-Month-Year
27068 \emph default
27069 .
27070  This is a date inserted as external material: 
27071 \begin_inset External
27072         template Date
27073         filename .
27074
27075 \end_inset
27076
27077
27078 \newline
27079 The date is not shown within LyX, only in the output.
27080  There are two other methods of inserting a date, via menu 
27081 \family sans
27082 Insert\SpecialChar \menuseparator
27083 Date
27084 \family default
27085  and with the LaTeX command 
27086 \series bold
27087
27088 \backslash
27089 today
27090 \series default
27091  as ERT.
27092  The different methods are compared in Table\InsetSpace ~
27093
27094 \begin_inset LatexCommand ref
27095 reference "tab:Comparison-of-the"
27096
27097 \end_inset
27098
27099 .
27100 \end_layout
27101
27102 \begin_layout Description
27103 LilyPond This template is used for music notation typeset with the program
27104 \begin_inset ERT
27105 status collapsed
27106
27107 \begin_layout Standard
27108
27109
27110 \backslash
27111 linebreak 
27112 \end_layout
27113
27114 \end_inset
27115
27116
27117 \begin_inset ERT
27118 status collapsed
27119
27120 \begin_layout Standard
27121
27122
27123 \backslash
27124 href{http://en.wikipedia.org/wiki/LilyPond}{
27125 \end_layout
27126
27127 \end_inset
27128
27129
27130 \series bold
27131 LilyPond
27132 \series default
27133
27134 \begin_inset ERT
27135 status collapsed
27136
27137 \begin_layout Standard
27138
27139 }
27140 \end_layout
27141
27142 \end_inset
27143
27144 .
27145 \begin_inset Note Note
27146 status collapsed
27147
27148 \begin_layout Standard
27149 The command 
27150 \series bold
27151
27152 \backslash
27153 linebreak
27154 \series default
27155  breaks the line while the remaining text in the line is stretched to the
27156  page margin.
27157 \end_layout
27158
27159 \end_inset
27160
27161
27162 \end_layout
27163
27164 \begin_layout Description
27165 RasterImage This can be used for bitmap images.
27166  Nearly all popular image formats are supported.
27167  The image can be treated in the 
27168 \family sans
27169 External material
27170 \family default
27171  dialog like the images that are usually included via the 
27172 \family sans
27173 Graphics
27174 \family default
27175  dialog as described in section\InsetSpace ~
27176
27177 \begin_inset LatexCommand ref
27178 reference "sec:Graphics-Dialog"
27179
27180 \end_inset
27181
27182 .
27183  The difference is that only raster images are allowed, that means that
27184  PDF and EPS-images are not supported.
27185 \end_layout
27186
27187 \begin_layout Description
27188 XFig This template supports images created with the program 
27189 \begin_inset ERT
27190 status collapsed
27191
27192 \begin_layout Standard
27193
27194
27195 \backslash
27196 href{http://en.wikipedia.org/wiki/Xfig}{
27197 \end_layout
27198
27199 \end_inset
27200
27201
27202 \series bold
27203 Xfig
27204 \series default
27205
27206 \begin_inset ERT
27207 status collapsed
27208
27209 \begin_layout Standard
27210
27211 }
27212 \end_layout
27213
27214 \end_inset
27215
27216 .
27217 \end_layout
27218
27219 \begin_layout Standard
27220 \begin_inset Float table
27221 placement h
27222 wide false
27223 sideways false
27224 status open
27225
27226 \begin_layout Standard
27227 \begin_inset Caption
27228
27229 \begin_layout Standard
27230 \begin_inset LatexCommand label
27231 name "tab:Comparison-of-the"
27232
27233 \end_inset
27234
27235 Comparison of the date input methods.
27236 \end_layout
27237
27238 \end_inset
27239
27240
27241 \end_layout
27242
27243 \begin_layout Standard
27244 \align center
27245 \begin_inset Tabular
27246 <lyxtabular version="3" rows="4" columns="4">
27247 <features>
27248 <column alignment="center" valignment="top" leftline="true" width="0">
27249 <column alignment="center" valignment="top" leftline="true" width="0">
27250 <column alignment="center" valignment="top" leftline="true" width="0">
27251 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
27252 <row topline="true">
27253 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27254 \begin_inset Text
27255
27256 \begin_layout Standard
27257 Document format
27258 \end_layout
27259
27260 \end_inset
27261 </cell>
27262 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27263 \begin_inset Text
27264
27265 \begin_layout Standard
27266
27267 \family sans
27268 External Material\SpecialChar \menuseparator
27269 Date
27270 \end_layout
27271
27272 \end_inset
27273 </cell>
27274 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27275 \begin_inset Text
27276
27277 \begin_layout Standard
27278
27279 \family sans
27280 Insert\SpecialChar \menuseparator
27281 Date
27282 \end_layout
27283
27284 \end_inset
27285 </cell>
27286 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27287 \begin_inset Text
27288
27289 \begin_layout Standard
27290 command 
27291 \series bold
27292
27293 \backslash
27294 today
27295 \end_layout
27296
27297 \end_inset
27298 </cell>
27299 </row>
27300 <row topline="true">
27301 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27302 \begin_inset Text
27303
27304 \begin_layout Standard
27305 LyX
27306 \end_layout
27307
27308 \end_inset
27309 </cell>
27310 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27311 \begin_inset Text
27312
27313 \begin_layout Standard
27314 as inset box
27315 \end_layout
27316
27317 \end_inset
27318 </cell>
27319 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27320 \begin_inset Text
27321
27322 \begin_layout Standard
27323 as date
27324 \end_layout
27325
27326 \end_inset
27327 </cell>
27328 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27329 \begin_inset Text
27330
27331 \begin_layout Standard
27332 as ERT inset box
27333 \end_layout
27334
27335 \end_inset
27336 </cell>
27337 </row>
27338 <row topline="true">
27339 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27340 \begin_inset Text
27341
27342 \begin_layout Standard
27343 LaTeX
27344 \end_layout
27345
27346 \end_inset
27347 </cell>
27348 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27349 \begin_inset Text
27350
27351 \begin_layout Standard
27352 as date
27353 \end_layout
27354
27355 \end_inset
27356 </cell>
27357 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27358 \begin_inset Text
27359
27360 \begin_layout Standard
27361 as date
27362 \end_layout
27363
27364 \end_inset
27365 </cell>
27366 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27367 \begin_inset Text
27368
27369 \begin_layout Standard
27370 as command
27371 \end_layout
27372
27373 \end_inset
27374 </cell>
27375 </row>
27376 <row topline="true" bottomline="true">
27377 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27378 \begin_inset Text
27379
27380 \begin_layout Standard
27381 DVI, PDF, PS
27382 \end_layout
27383
27384 \end_inset
27385 </cell>
27386 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27387 \begin_inset Text
27388
27389 \begin_layout Standard
27390 as date
27391 \end_layout
27392
27393 \end_inset
27394 </cell>
27395 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27396 \begin_inset Text
27397
27398 \begin_layout Standard
27399 as date
27400 \end_layout
27401
27402 \end_inset
27403 </cell>
27404 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27405 \begin_inset Text
27406
27407 \begin_layout Standard
27408 as date
27409 \end_layout
27410
27411 \end_inset
27412 </cell>
27413 </row>
27414 </lyxtabular>
27415
27416 \end_inset
27417
27418
27419 \end_layout
27420
27421 \end_inset
27422
27423
27424 \end_layout
27425
27426 \begin_layout Standard
27427 When you use the option 
27428 \family sans
27429 Draft
27430 \family default
27431  in the 
27432 \family sans
27433 File
27434 \family default
27435  tab of the 
27436 \family sans
27437 External Material
27438 \family default
27439  dialog, only the path to the inserted file is shown in the output.
27440 \newline
27441 External
27442  material is displayed in LyX either as box like this: 
27443 \begin_inset Graphics
27444         filename clipart/ExternalMaterialQt4.png
27445         scale 85
27446
27447 \end_inset
27448
27449  or as image, depending on the setting in the 
27450 \family sans
27451 LyX\InsetSpace ~
27452 View
27453 \family default
27454  tab of the 
27455 \family sans
27456 External Material
27457 \family default
27458  dialog.
27459 \end_layout
27460
27461 \begin_layout Standard
27462 The 
27463 \family sans
27464 \emph on
27465 Customization
27466 \family default
27467 \emph default
27468  manual explains how you can define your own templates.
27469 \end_layout
27470
27471 \begin_layout Section
27472 Child Documents
27473 \begin_inset LatexCommand index
27474 name "External Stuff ! Child Documents"
27475
27476 \end_inset
27477
27478
27479 \begin_inset LatexCommand index
27480 name "Files ! Include"
27481
27482 \end_inset
27483
27484
27485 \end_layout
27486
27487 \begin_layout Standard
27488 Child documents are used when you have a long document consisting of several
27489  larger parts or sections.
27490  For maintenance it is often useful and sometimes even required to split
27491  the document in several files that can be revised separately.
27492  The different documents are then the so called child documents and a master
27493  document connects them to print the full document or parts of it.
27494 \end_layout
27495
27496 \begin_layout Standard
27497 Included documents are displayed in LyX as a box like this: 
27498 \begin_inset Graphics
27499         filename clipart/ChildDocumentQt4.png
27500         scale 85
27501
27502 \end_inset
27503
27504  To include child documents to a master document use the menu 
27505 \family sans
27506 Insert\SpecialChar \menuseparator
27507 File\SpecialChar \menuseparator
27508 Child\InsetSpace ~
27509 Documents
27510 \family default
27511 .
27512  A dialog pops up where you can choose between three include methods:
27513 \end_layout
27514
27515 \begin_layout Description
27516 Include You can include LyX and LaTeX-documents.
27517  When you press the 
27518 \family sans
27519 Load
27520 \family default
27521  button in the 
27522 \family sans
27523 Child Document
27524 \family default
27525  dialog, the included documents will be opened in LyX in a new file tab
27526  so that you can modify it.
27527 \newline
27528
27529 \end_layout
27530
27531 \begin_layout Standard
27532 Here is a child document inserted using 
27533 \family sans
27534 Include
27535 \family default
27536
27537 \begin_inset Include \include{DummyDocument1.lyx}
27538 preview false
27539
27540 \end_inset
27541
27542
27543 \end_layout
27544
27545 \begin_layout Standard
27546 The section numbering includes the sections of the included files in the
27547  order they are inserted in the master document.
27548  The included example document has for example a subsection that is numbered
27549  as subsection of this section.
27550  Labels of included documents can be referenced: Subsection\InsetSpace ~
27551
27552 \begin_inset LatexCommand ref
27553 reference "sub:External-Subsection-1"
27554
27555 \end_inset
27556
27557
27558 \end_layout
27559
27560 \begin_layout Standard
27561 The preamble of the child document is ignored, only the preamble of the
27562  master document is used.
27563  Included documents are inserted starting on a new page and end with a pagebreak.
27564 \end_layout
27565
27566 \begin_layout Standard
27567 With the LaTeX-command 
27568 \series bold
27569
27570 \backslash
27571 includeonly 
27572 \series default
27573 you can specify which included child documents are processed when the output
27574  is generated.
27575  This is useful when you are perhaps only working on a certain chapter of
27576  your large document as this saves compiling time.
27577  
27578 \series bold
27579
27580 \backslash
27581 includeonly
27582 \series default
27583  is inserted to the master document preamble.
27584  It takes a comma-separated list of the filenames as argument, e.g.
27585 \end_layout
27586
27587 \begin_layout Standard
27588
27589 \series bold
27590
27591 \backslash
27592 includeonly{chapter1,chapter5}
27593 \end_layout
27594
27595 \begin_layout Standard
27596 will only process the included files named 
27597 \begin_inset Quotes eld
27598 \end_inset
27599
27600 chapter1.lyx
27601 \begin_inset Quotes erd
27602 \end_inset
27603
27604  (or 
27605 \begin_inset Quotes eld
27606 \end_inset
27607
27608 chapter1.tex
27609 \begin_inset Quotes erd
27610 \end_inset
27611
27612 ) and 
27613 \begin_inset Quotes eld
27614 \end_inset
27615
27616 chapter5.lyx
27617 \begin_inset Quotes erd
27618 \end_inset
27619
27620  .
27621 \end_layout
27622
27623 \begin_layout Standard
27624 \begin_inset Note Greyedout
27625 status open
27626
27627 \begin_layout Standard
27628
27629 \series bold
27630 Note:
27631 \series default
27632  When you have included a LyX- or LaTeX-file, you are warned when you export/vie
27633 w the document in case that the child document uses another document class
27634  than the master document as this will lead to unexpected outputs.
27635 \end_layout
27636
27637 \end_inset
27638
27639
27640 \end_layout
27641
27642 \begin_layout Description
27643 Input This method is very similar to the Include method.
27644  The differences are:
27645 \end_layout
27646
27647 \begin_deeper
27648 \begin_layout Itemize
27649 Input files don't start with a new page and don't end with a pagebreak.
27650 \end_layout
27651
27652 \begin_layout Itemize
27653 Input files can be previewed in LyX when 
27654 \family sans
27655 Instant\InsetSpace ~
27656 Preview
27657 \family default
27658  is enabled in LyX's preferences under 
27659 \family sans
27660 Look\InsetSpace ~
27661 and\InsetSpace ~
27662 feel\SpecialChar \menuseparator
27663 Graphics
27664 \family default
27665 .
27666 \end_layout
27667
27668 \begin_layout Itemize
27669 The LaTeX-command 
27670 \series bold
27671
27672 \backslash
27673 includeonly
27674 \series default
27675  cannot be used.
27676 \end_layout
27677
27678 \end_deeper
27679 \begin_layout Standard
27680 Here is a child document inserted using 
27681 \family sans
27682 Input
27683 \family default
27684
27685 \begin_inset Include \input{DummyDocument2.lyx}
27686 preview true
27687
27688 \end_inset
27689
27690
27691 \end_layout
27692
27693 \begin_layout Description
27694 Verbatim With this method every text file can be included.
27695  The file is shown in the output with its source code, no command used in
27696  the text is invoked.
27697  You can use the option 
27698 \family sans
27699 Mark spaces in output
27700 \family default
27701  that displays the character 
27702 \begin_inset Quotes eld
27703 \end_inset
27704
27705
27706 \begin_inset ERT
27707 status collapsed
27708
27709 \begin_layout Standard
27710
27711
27712 \backslash
27713 textvisiblespace 
27714 \end_layout
27715
27716 \end_inset
27717
27718
27719 \begin_inset Quotes erd
27720 \end_inset
27721
27722  for every space character in the source code.
27723  The difference to the method via the menu 
27724 \family sans
27725 Insert\SpecialChar \menuseparator
27726 File\SpecialChar \menuseparator
27727 Plain\InsetSpace ~
27728 Text
27729 \family default
27730  is that the document content is not shown in LyX.
27731 \end_layout
27732
27733 \begin_layout Standard
27734 Here is a child document inserted as Verbatim: 
27735 \begin_inset Include \verbatiminput{DummyTextDocument.txt}
27736 preview false
27737
27738 \end_inset
27739
27740
27741 \begin_inset VSpace bigskip
27742 \end_inset
27743
27744 Here is a child document inserted as Verbatim using the 
27745 \family sans
27746 Mark spaces in output
27747 \family default
27748  option: 
27749 \begin_inset Include \verbatiminput*{DummyTextDocument.txt}
27750 preview false
27751
27752 \end_inset
27753
27754
27755 \end_layout
27756
27757 \begin_layout Standard
27758 \begin_inset VSpace bigskip
27759 \end_inset
27760
27761
27762 \end_layout
27763
27764 \begin_layout Standard
27765 \begin_inset Note Greyedout
27766 status open
27767
27768 \begin_layout Standard
27769
27770 \series bold
27771 Note:
27772 \series default
27773  As you can see in the examples above, the text of the documents included
27774  as verbatim is not broken at the end of the document lines.
27775 \end_layout
27776
27777 \end_inset
27778
27779
27780 \end_layout
27781
27782 \begin_layout Standard
27783 \begin_inset Note Greyedout
27784 status open
27785
27786 \begin_layout Standard
27787
27788 \series bold
27789 Note:
27790 \series default
27791  Including the same document twice in a document using different methods
27792  could cause LaTeX-problems.
27793 \end_layout
27794
27795 \end_inset
27796
27797
27798 \end_layout
27799
27800 \begin_layout Standard
27801
27802 \newpage
27803
27804 \end_layout
27805
27806 \begin_layout Chapter
27807 \start_of_appendix
27808 Units available in 
27809 \begin_inset ERT
27810 status collapsed
27811
27812 \begin_layout Standard
27813
27814
27815 \backslash
27816 texorpdfstring{
27817 \end_layout
27818
27819 \end_inset
27820
27821 LyX
27822 \begin_inset ERT
27823 status collapsed
27824
27825 \begin_layout Standard
27826
27827 }{LyX}
27828 \end_layout
27829
27830 \end_inset
27831
27832
27833 \begin_inset LatexCommand index
27834 name "Units"
27835
27836 \end_inset
27837
27838
27839 \begin_inset LatexCommand label
27840 name "cha:Units-available-in"
27841
27842 \end_inset
27843
27844
27845 \begin_inset Note Note
27846 status collapsed
27847
27848 \begin_layout Standard
27849 The command 
27850 \backslash
27851 texorpdfstring is provided by the LaTeX-package hyperref to avoid that ligatures
27852  are displayed wrongly in PDF-bookmarks.
27853  For more information about this, have a look at 
27854 \begin_inset LatexCommand cite
27855 key "hyperref"
27856
27857 \end_inset
27858
27859 .
27860 \end_layout
27861
27862 \end_inset
27863
27864
27865 \end_layout
27866
27867 \begin_layout Standard
27868 To understand the units described in this documentation, Table\InsetSpace ~
27869
27870 \begin_inset LatexCommand ref
27871 reference "tab:Units"
27872
27873 \end_inset
27874
27875  explains all units available in LyX.
27876 \end_layout
27877
27878 \begin_layout Standard
27879 \begin_inset Float table
27880 placement h
27881 wide false
27882 sideways false
27883 status open
27884
27885 \begin_layout Standard
27886 \begin_inset Caption
27887
27888 \begin_layout Standard
27889 \begin_inset LatexCommand label
27890 name "tab:Units"
27891
27892 \end_inset
27893
27894 Units
27895 \end_layout
27896
27897 \end_inset
27898
27899
27900 \end_layout
27901
27902 \begin_layout Standard
27903 \begin_inset VSpace medskip
27904 \end_inset
27905
27906
27907 \end_layout
27908
27909 \begin_layout Standard
27910 \align center
27911 \begin_inset Tabular
27912 <lyxtabular version="3" rows="20" columns="2">
27913 <features>
27914 <column alignment="center" valignment="top" leftline="true" width="0">
27915 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
27916 <row topline="true" bottomline="true">
27917 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27918 \begin_inset Text
27919
27920 \begin_layout Standard
27921 unit
27922 \end_layout
27923
27924 \end_inset
27925 </cell>
27926 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27927 \begin_inset Text
27928
27929 \begin_layout Standard
27930 name/description
27931 \end_layout
27932
27933 \end_inset
27934 </cell>
27935 </row>
27936 <row topline="true">
27937 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27938 \begin_inset Text
27939
27940 \begin_layout Standard
27941 mm
27942 \end_layout
27943
27944 \end_inset
27945 </cell>
27946 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27947 \begin_inset Text
27948
27949 \begin_layout Standard
27950 millimeter
27951 \end_layout
27952
27953 \end_inset
27954 </cell>
27955 </row>
27956 <row topline="true">
27957 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27958 \begin_inset Text
27959
27960 \begin_layout Standard
27961 cm
27962 \end_layout
27963
27964 \end_inset
27965 </cell>
27966 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27967 \begin_inset Text
27968
27969 \begin_layout Standard
27970 centimeter
27971 \end_layout
27972
27973 \end_inset
27974 </cell>
27975 </row>
27976 <row topline="true">
27977 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27978 \begin_inset Text
27979
27980 \begin_layout Standard
27981 in
27982 \end_layout
27983
27984 \end_inset
27985 </cell>
27986 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27987 \begin_inset Text
27988
27989 \begin_layout Standard
27990 inch
27991 \end_layout
27992
27993 \end_inset
27994 </cell>
27995 </row>
27996 <row topline="true">
27997 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27998 \begin_inset Text
27999
28000 \begin_layout Standard
28001 pt
28002 \end_layout
28003
28004 \end_inset
28005 </cell>
28006 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28007 \begin_inset Text
28008
28009 \begin_layout Standard
28010 point (72.27\InsetSpace \thinspace{}
28011 pt = 1\InsetSpace \thinspace{}
28012 in)
28013 \end_layout
28014
28015 \end_inset
28016 </cell>
28017 </row>
28018 <row topline="true">
28019 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28020 \begin_inset Text
28021
28022 \begin_layout Standard
28023 pc
28024 \end_layout
28025
28026 \end_inset
28027 </cell>
28028 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28029 \begin_inset Text
28030
28031 \begin_layout Standard
28032 pica (1\InsetSpace \thinspace{}
28033 pc = 12\InsetSpace \thinspace{}
28034 pt)
28035 \end_layout
28036
28037 \end_inset
28038 </cell>
28039 </row>
28040 <row topline="true">
28041 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28042 \begin_inset Text
28043
28044 \begin_layout Standard
28045 sp
28046 \end_layout
28047
28048 \end_inset
28049 </cell>
28050 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28051 \begin_inset Text
28052
28053 \begin_layout Standard
28054 scaled point (65536\InsetSpace \thinspace{}
28055 sp = 1\InsetSpace \thinspace{}
28056 pt)
28057 \end_layout
28058
28059 \end_inset
28060 </cell>
28061 </row>
28062 <row topline="true">
28063 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28064 \begin_inset Text
28065
28066 \begin_layout Standard
28067 bp
28068 \end_layout
28069
28070 \end_inset
28071 </cell>
28072 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28073 \begin_inset Text
28074
28075 \begin_layout Standard
28076 big point (72\InsetSpace \thinspace{}
28077 bp = 1\InsetSpace \thinspace{}
28078 in)
28079 \end_layout
28080
28081 \end_inset
28082 </cell>
28083 </row>
28084 <row topline="true">
28085 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28086 \begin_inset Text
28087
28088 \begin_layout Standard
28089 dd
28090 \end_layout
28091
28092 \end_inset
28093 </cell>
28094 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28095 \begin_inset Text
28096
28097 \begin_layout Standard
28098 didot (72\InsetSpace \thinspace{}
28099 dd 
28100 \begin_inset Formula $\approx$
28101 \end_inset
28102
28103  37.6\InsetSpace \thinspace{}
28104 mm)
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 cc
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 cicero (1\InsetSpace \thinspace{}
28125 cc = 12\InsetSpace \thinspace{}
28126 dd)
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 Scale%
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 % of original image width
28147 \end_layout
28148
28149 \end_inset
28150 </cell>
28151 </row>
28152 <row topline="true">
28153 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28154 \begin_inset Text
28155
28156 \begin_layout Standard
28157 text%
28158 \end_layout
28159
28160 \end_inset
28161 </cell>
28162 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28163 \begin_inset Text
28164
28165 \begin_layout Standard
28166 % of text width
28167 \end_layout
28168
28169 \end_inset
28170 </cell>
28171 </row>
28172 <row topline="true">
28173 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28174 \begin_inset Text
28175
28176 \begin_layout Standard
28177 col%
28178 \end_layout
28179
28180 \end_inset
28181 </cell>
28182 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28183 \begin_inset Text
28184
28185 \begin_layout Standard
28186 % of column width
28187 \end_layout
28188
28189 \end_inset
28190 </cell>
28191 </row>
28192 <row topline="true">
28193 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28194 \begin_inset Text
28195
28196 \begin_layout Standard
28197 page%
28198 \end_layout
28199
28200 \end_inset
28201 </cell>
28202 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28203 \begin_inset Text
28204
28205 \begin_layout Standard
28206 % of paper width
28207 \end_layout
28208
28209 \end_inset
28210 </cell>
28211 </row>
28212 <row topline="true">
28213 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28214 \begin_inset Text
28215
28216 \begin_layout Standard
28217 line%
28218 \end_layout
28219
28220 \end_inset
28221 </cell>
28222 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28223 \begin_inset Text
28224
28225 \begin_layout Standard
28226 % of line width
28227 \end_layout
28228
28229 \end_inset
28230 </cell>
28231 </row>
28232 <row topline="true">
28233 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28234 \begin_inset Text
28235
28236 \begin_layout Standard
28237 theight%
28238 \end_layout
28239
28240 \end_inset
28241 </cell>
28242 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28243 \begin_inset Text
28244
28245 \begin_layout Standard
28246 % of text height
28247 \end_layout
28248
28249 \end_inset
28250 </cell>
28251 </row>
28252 <row topline="true">
28253 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28254 \begin_inset Text
28255
28256 \begin_layout Standard
28257 pheight%
28258 \end_layout
28259
28260 \end_inset
28261 </cell>
28262 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28263 \begin_inset Text
28264
28265 \begin_layout Standard
28266 % of paper height
28267 \end_layout
28268
28269 \end_inset
28270 </cell>
28271 </row>
28272 <row topline="true">
28273 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28274 \begin_inset Text
28275
28276 \begin_layout Standard
28277 ex
28278 \end_layout
28279
28280 \end_inset
28281 </cell>
28282 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28283 \begin_inset Text
28284
28285 \begin_layout Standard
28286 height of letter 
28287 \emph on
28288 x
28289 \emph default
28290  in current font
28291 \end_layout
28292
28293 \end_inset
28294 </cell>
28295 </row>
28296 <row topline="true">
28297 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28298 \begin_inset Text
28299
28300 \begin_layout Standard
28301 em
28302 \end_layout
28303
28304 \end_inset
28305 </cell>
28306 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28307 \begin_inset Text
28308
28309 \begin_layout Standard
28310 width of letter 
28311 \emph on
28312 M
28313 \emph default
28314  in current font
28315 \end_layout
28316
28317 \end_inset
28318 </cell>
28319 </row>
28320 <row topline="true" bottomline="true">
28321 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28322 \begin_inset Text
28323
28324 \begin_layout Standard
28325 mu
28326 \end_layout
28327
28328 \end_inset
28329 </cell>
28330 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28331 \begin_inset Text
28332
28333 \begin_layout Standard
28334 math unit (1\InsetSpace \thinspace{}
28335 mu = 1/18\InsetSpace \thinspace{}
28336 em)
28337 \end_layout
28338
28339 \end_inset
28340 </cell>
28341 </row>
28342 </lyxtabular>
28343
28344 \end_inset
28345
28346
28347 \end_layout
28348
28349 \end_inset
28350
28351
28352 \end_layout
28353
28354 \begin_layout Chapter
28355 Output File Formats with Graphics
28356 \begin_inset LatexCommand label
28357 name "cha:Output-File-Formats"
28358
28359 \end_inset
28360
28361
28362 \end_layout
28363
28364 \begin_layout Section
28365 DVI
28366 \begin_inset LatexCommand index
28367 name "File Formats ! DVI"
28368
28369 \end_inset
28370
28371
28372 \begin_inset LatexCommand index
28373 name "DVI|see{File Formats}"
28374
28375 \end_inset
28376
28377
28378 \end_layout
28379
28380 \begin_layout Standard
28381 This file type has the extension 
28382 \begin_inset Quotes eld
28383 \end_inset
28384
28385
28386 \family typewriter
28387 .dvi
28388 \family default
28389
28390 \begin_inset Quotes erd
28391 \end_inset
28392
28393 .
28394  It is called 
28395 \begin_inset Quotes eld
28396 \end_inset
28397
28398 device-independent
28399 \begin_inset Quotes erd
28400 \end_inset
28401
28402  (DVI), because it is completely portable; you can move them from one machine
28403  to another without needing to do any sort of conversion.
28404  At the time when this file-format was developed, this was no matter of
28405  course.
28406  DVIs are used for quick previews and as pre-stage for other output formats,
28407  like PostScript.
28408 \end_layout
28409
28410 \begin_layout Standard
28411 \begin_inset Note Greyedout
28412 status open
28413
28414 \begin_layout Standard
28415
28416 \series bold
28417 Note:
28418 \series default
28419  DVI-files doesn't contain images, they will only be a linked.
28420 \end_layout
28421
28422 \end_inset
28423
28424  So don't forget this, if you move your 
28425 \family typewriter
28426 .dvi
28427 \family default
28428  file to another computer.
28429  This property can also slow down your computer when you view the DVI.
28430  Because the DVI-viewer has to convert the image in the background to make
28431  it visible when you scroll in the DVI.
28432  So we recommend to use PDF for files with many images.
28433 \end_layout
28434
28435 \begin_layout Standard
28436 You can export your document to DVI by using the menu 
28437 \family sans
28438 File\SpecialChar \menuseparator
28439 Export\SpecialChar \menuseparator
28440 DVI
28441 \family default
28442 .
28443  You can view your document as DVI via the 
28444 \family sans
28445 View
28446 \family default
28447  menu or by using the toolbar button 
28448 \begin_inset Graphics
28449         filename ../images/buffer-view_dvi.xpm
28450         scale 85
28451
28452 \end_inset
28453
28454 .
28455 \end_layout
28456
28457 \begin_layout Section
28458 PostScript
28459 \begin_inset LatexCommand label
28460 name "sec:PostScript"
28461
28462 \end_inset
28463
28464
28465 \begin_inset LatexCommand index
28466 name "File Formats ! PostScript"
28467
28468 \end_inset
28469
28470
28471 \begin_inset LatexCommand index
28472 name "PostScript|see{File Formats}"
28473
28474 \end_inset
28475
28476
28477 \end_layout
28478
28479 \begin_layout Standard
28480 This file type has the extension 
28481 \begin_inset Quotes eld
28482 \end_inset
28483
28484
28485 \family typewriter
28486 .ps
28487 \family default
28488
28489 \begin_inset Quotes erd
28490 \end_inset
28491
28492 .
28493  PostScript was developed by the company 
28494 \family typewriter
28495 Adobe
28496 \family default
28497  as printer language.
28498  The file contains therefore commands that the printer uses to print the
28499  file.
28500  PostScript can be seen as 
28501 \begin_inset Quotes eld
28502 \end_inset
28503
28504 programming language
28505 \begin_inset Quotes erd
28506 \end_inset
28507
28508 ; you can calculate with it and draw diagrams and images
28509 \begin_inset Foot
28510 status collapsed
28511
28512 \begin_layout Standard
28513 If you are interested to learn more about this, have a look at the LaTeX-package
28514  
28515 \series bold
28516 PSTricks
28517 \series default
28518  
28519 \begin_inset LatexCommand cite
28520 key "pstricks"
28521
28522 \end_inset
28523
28524 .
28525 \end_layout
28526
28527 \end_inset
28528
28529 .
28530  Due to this ability, the files are often bigger than PDFs.
28531 \end_layout
28532
28533 \begin_layout Standard
28534 PostScript can only contain images in the format 
28535 \begin_inset Quotes eld
28536 \end_inset
28537
28538 Encapsulated PostScript
28539 \begin_inset Quotes erd
28540 \end_inset
28541
28542  (EPS, file extension 
28543 \begin_inset Quotes eld
28544 \end_inset
28545
28546
28547 \family typewriter
28548 .eps
28549 \family default
28550
28551 \begin_inset Quotes erd
28552 \end_inset
28553
28554 ).
28555  As LyX allows you to use any known image format in your document, it has
28556  to convert images in the background to EPS.
28557  If you have e.g 50 images in your document, LyX has to do 50 conversions
28558  whenever you view or export your document.
28559  This will slow down your work flow with LyX drastically.
28560  So if you plan to use PostScript, you can insert your images directly as
28561  EPS to avoid this problem.
28562 \end_layout
28563
28564 \begin_layout Standard
28565 You can export your document to PostScript using the menu 
28566 \family sans
28567 File\SpecialChar \menuseparator
28568 Export\SpecialChar \menuseparator
28569 Postscript
28570 \family default
28571 .
28572  You can view your document as PostScript via the 
28573 \family sans
28574 View
28575 \family default
28576  menu or by using the toolbar button 
28577 \begin_inset Graphics
28578         filename ../images/buffer-view_ps.xpm
28579         scale 85
28580
28581 \end_inset
28582
28583 .
28584 \end_layout
28585
28586 \begin_layout Section
28587 PDF
28588 \begin_inset LatexCommand label
28589 name "sec:PDF"
28590
28591 \end_inset
28592
28593
28594 \begin_inset LatexCommand index
28595 name "File Formats ! PDF"
28596
28597 \end_inset
28598
28599
28600 \begin_inset LatexCommand index
28601 name "PDF"
28602
28603 \end_inset
28604
28605
28606 \end_layout
28607
28608 \begin_layout Standard
28609 This file type has the extension 
28610 \begin_inset Quotes eld
28611 \end_inset
28612
28613
28614 \family typewriter
28615 .pdf
28616 \family default
28617
28618 \begin_inset Quotes erd
28619 \end_inset
28620
28621 .
28622  The 
28623 \begin_inset Quotes eld
28624 \end_inset
28625
28626 Portable Document Format
28627 \begin_inset Quotes erd
28628 \end_inset
28629
28630  (PDF) is developed by 
28631 \family typewriter
28632 Adobe
28633 \family default
28634  as derivative from PostScript.
28635  It is more compressed and it uses much less commands than PostScript.
28636  As the name 
28637 \begin_inset Quotes eld
28638 \end_inset
28639
28640 portable
28641 \begin_inset Quotes erd
28642 \end_inset
28643
28644  implies, it can be processed at any computer system and the printed output
28645  looks exactly the same.
28646 \end_layout
28647
28648 \begin_layout Standard
28649 PDF can contain images in its own PDF format, in the format 
28650 \begin_inset Quotes eld
28651 \end_inset
28652
28653 Joint Photographic Experts Group
28654 \begin_inset Quotes erd
28655 \end_inset
28656
28657  (JPG, file extension 
28658 \begin_inset Quotes eld
28659 \end_inset
28660
28661
28662 \family typewriter
28663 .jpg
28664 \family default
28665
28666 \begin_inset Quotes erd
28667 \end_inset
28668
28669  or 
28670 \begin_inset Quotes eld
28671 \end_inset
28672
28673
28674 \family typewriter
28675 .jpeg
28676 \family default
28677
28678 \begin_inset Quotes erd
28679 \end_inset
28680
28681 ), and in the format 
28682 \begin_inset Quotes eld
28683 \end_inset
28684
28685 Portable Network Graphics
28686 \begin_inset Quotes erd
28687 \end_inset
28688
28689  (PNG, file extension 
28690 \begin_inset Quotes eld
28691 \end_inset
28692
28693
28694 \family typewriter
28695 .png
28696 \family default
28697
28698 \begin_inset Quotes erd
28699 \end_inset
28700
28701 ).
28702  You can although use any other image format, because LyX converts them
28703  in the background to one of these formats.
28704  But as described in the section about PostScript, the image conversion
28705  will slow down your work flow.
28706  So it is recommended to use images in one of the three mentioned formats.
28707 \end_layout
28708
28709 \begin_layout Standard
28710 You can export your document to PDF via the menu 
28711 \family sans
28712 File\SpecialChar \menuseparator
28713 Export
28714 \family default
28715  in three different ways:
28716 \end_layout
28717
28718 \begin_layout Description
28719 PDF This uses the program 
28720 \family typewriter
28721 ps2pdf
28722 \family default
28723  that creates a PDF from a PostScript-version of your file.
28724  The PostScript-version is produced by the program 
28725 \family typewriter
28726 dvips
28727 \family default
28728  which uses a DVI-version as intermediate step.
28729  So this export variant consist of three conversions.
28730 \end_layout
28731
28732 \begin_layout Description
28733 PDF\InsetSpace ~
28734 (dvipdfm) This uses the program 
28735 \family typewriter
28736 dvipdfm
28737 \family default
28738  that converts your file in the background to DVI and in a second step to
28739  PDF.
28740 \end_layout
28741
28742 \begin_layout Description
28743 PDF\InsetSpace ~
28744 (pdflatex) This uses the program 
28745 \family typewriter
28746 pdftex
28747 \family default
28748  that converts your file directly to PDF.
28749 \end_layout
28750
28751 \begin_layout Standard
28752 It is recommended to use 
28753 \family sans
28754 PDF\InsetSpace ~
28755 (pdflatex)
28756 \family default
28757  because 
28758 \family typewriter
28759 pdftex
28760 \family default
28761  supports all features of actual PDF-versions, is quick and works stable
28762  without problems.
28763  The program 
28764 \family typewriter
28765 dvipdfm
28766 \family default
28767  is not under development and therefore a bit outdated.
28768 \end_layout
28769
28770 \begin_layout Standard
28771 You can view your document as PDF via the 
28772 \family sans
28773 View
28774 \family default
28775  menu or by using the toolbar button 
28776 \begin_inset Graphics
28777         filename ../images/buffer-view_pdf2.xpm
28778         scale 85
28779
28780 \end_inset
28781
28782  
28783 \family sans
28784 (
28785 \family default
28786 that uses 
28787 \family sans
28788 PDF\InsetSpace ~
28789 (pdflatex)
28790 \family default
28791 ).
28792 \end_layout
28793
28794 \begin_layout Chapter
28795 Explanation of Equation\InsetSpace ~
28796
28797 \begin_inset LatexCommand eqref
28798 reference "eq:Wgn"
28799
28800 \end_inset
28801
28802
28803 \begin_inset LatexCommand label
28804 name "cha:Explanation-of-Equation"
28805
28806 \end_inset
28807
28808
28809 \end_layout
28810
28811 \begin_layout Standard
28812 The total width of 
28813 \emph on
28814 n
28815 \emph default
28816  table cells 
28817 \begin_inset Formula $W_{\mathrm{tot\, n}}$
28818 \end_inset
28819
28820  can be calculated to
28821 \end_layout
28822
28823 \begin_layout Standard
28824 \begin_inset Formula \begin{equation}
28825 W_{\mathrm{tot}\, n}=n·(W_{g\, n}+2·\backslash\mbox{tabcolsep})+(n+1)·\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}\end{equation}
28826
28827 \end_inset
28828
28829
28830 \end_layout
28831
28832 \begin_layout Standard
28833 Where 
28834 \begin_inset Formula $W_{g\, n}$
28835 \end_inset
28836
28837  is the given width of all cells.
28838  
28839 \series bold
28840
28841 \backslash
28842 tabcolsep
28843 \series default
28844  is the LaTeX-length between the cell text and the cell border, its default
28845  value is 6\InsetSpace \thinspace{}
28846 pt.
28847  
28848 \series bold
28849
28850 \backslash
28851 arrayrulewidth
28852 \series default
28853  is the thickness of the cell border line, the default is 0.4\InsetSpace \thinspace{}
28854 pt.
28855 \end_layout
28856
28857 \begin_layout Standard
28858 Following equation\InsetSpace ~
28859
28860 \begin_inset LatexCommand eqref
28861 reference "eq:Wtot_n"
28862
28863 \end_inset
28864
28865 , the total width of a multicolumn 
28866 \begin_inset Formula $W_{\mathrm{tot\, mult}}$
28867 \end_inset
28868
28869  is
28870 \end_layout
28871
28872 \begin_layout Standard
28873 \begin_inset Formula \begin{equation}
28874 W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2·\backslash\mbox{tabcolsep}+2·\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}\end{equation}
28875
28876 \end_inset
28877
28878
28879 \end_layout
28880
28881 \begin_layout Standard
28882 By setting equation\InsetSpace ~
28883
28884 \begin_inset LatexCommand eqref
28885 reference "eq:Wtot_n"
28886
28887 \end_inset
28888
28889  and 
28890 \begin_inset LatexCommand eqref
28891 reference "eq:Wtot_mult"
28892
28893 \end_inset
28894
28895  equal we can calculate the needed given width 
28896 \begin_inset Formula $W_{g\, n}$
28897 \end_inset
28898
28899  when 
28900 \emph on
28901 n
28902 \emph default
28903  columns are spanned, so that each column has a total width of 
28904 \begin_inset Formula $W_{\mathrm{tot\, mult}}/n$
28905 \end_inset
28906
28907 :
28908 \end_layout
28909
28910 \begin_layout Standard
28911 \begin_inset Formula \begin{equation}
28912 W_{g\, n}=(W_{g\,\mathrm{mult}}+(1-n)·(2·\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}))/n\end{equation}
28913
28914 \end_inset
28915
28916
28917 \end_layout
28918
28919 \begin_layout Bibliography
28920 \begin_inset LatexCommand bibitem
28921 key "latexcompanion"
28922
28923 \end_inset
28924
28925 Frank Mittelbach and Michel Goossens: 
28926 \emph on
28927 The LaTeX Companion Second Edition.
28928
28929 \emph default
28930  Addison-Wesley, 2004
28931 \end_layout
28932
28933 \begin_layout Bibliography
28934 \begin_inset LatexCommand bibitem
28935 key "latexguide"
28936
28937 \end_inset
28938
28939 Helmut Kopka and Patrick W.
28940  Daly: 
28941 \emph on
28942 A Guide to LaTeX Fourth Edition.
28943
28944 \emph default
28945  Addison-Wesley, 2003
28946 \end_layout
28947
28948 \begin_layout Bibliography
28949 \begin_inset LatexCommand bibitem
28950 key "latexbook"
28951
28952 \end_inset
28953
28954 Leslie Lamport: 
28955 \emph on
28956 LaTeX: A Document Preparation System.
28957
28958 \emph default
28959  Addison-Wesley, second edition, 1994
28960 \end_layout
28961
28962 \begin_layout Bibliography
28963 \begin_inset LatexCommand bibitem
28964 key "booktabs"
28965
28966 \end_inset
28967
28968
28969 \begin_inset ERT
28970 status collapsed
28971
28972 \begin_layout Standard
28973
28974
28975 \backslash
28976 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf}
28977 {
28978 \end_layout
28979
28980 \end_inset
28981
28982 Documentation
28983 \begin_inset ERT
28984 status collapsed
28985
28986 \begin_layout Standard
28987
28988 }
28989 \end_layout
28990
28991 \end_inset
28992
28993  of the LaTeX-package 
28994 \series bold
28995 booktabs
28996 \series default
28997
28998 \begin_inset LatexCommand index
28999 name "LaTeX-packages ! booktabs"
29000
29001 \end_inset
29002
29003
29004 \end_layout
29005
29006 \begin_layout Bibliography
29007 \begin_inset LatexCommand bibitem
29008 key "caption"
29009
29010 \end_inset
29011
29012
29013 \begin_inset ERT
29014 status collapsed
29015
29016 \begin_layout Standard
29017
29018
29019 \backslash
29020 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf}{
29021 \end_layout
29022
29023 \end_inset
29024
29025 Documentation
29026 \begin_inset ERT
29027 status collapsed
29028
29029 \begin_layout Standard
29030
29031 }
29032 \end_layout
29033
29034 \end_inset
29035
29036  of the LaTeX-package 
29037 \series bold
29038 caption
29039 \series default
29040
29041 \begin_inset LatexCommand index
29042 name "LaTeX-packages ! caption"
29043
29044 \end_inset
29045
29046
29047 \end_layout
29048
29049 \begin_layout Bibliography
29050 \begin_inset LatexCommand bibitem
29051 key "caption-de"
29052
29053 \end_inset
29054
29055 German 
29056 \begin_inset ERT
29057 status collapsed
29058
29059 \begin_layout Standard
29060
29061
29062 \backslash
29063 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/anleitung.pdf}
29064 {
29065 \end_layout
29066
29067 \end_inset
29068
29069 documentation
29070 \begin_inset ERT
29071 status collapsed
29072
29073 \begin_layout Standard
29074
29075 }
29076 \end_layout
29077
29078 \end_inset
29079
29080  of the LaTeX-package 
29081 \series bold
29082 caption
29083 \end_layout
29084
29085 \begin_layout Bibliography
29086 \begin_inset LatexCommand bibitem
29087 key "endfloat"
29088
29089 \end_inset
29090
29091
29092 \begin_inset ERT
29093 status collapsed
29094
29095 \begin_layout Standard
29096
29097
29098 \backslash
29099 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf}
29100 {
29101 \end_layout
29102
29103 \end_inset
29104
29105 Documentation
29106 \begin_inset ERT
29107 status collapsed
29108
29109 \begin_layout Standard
29110
29111 }
29112 \end_layout
29113
29114 \end_inset
29115
29116  of the LaTeX-package 
29117 \series bold
29118 endf\SpecialChar \textcompwordmark{}
29119 loat
29120 \series default
29121
29122 \begin_inset LatexCommand index
29123 name "LaTeX-packages ! endfloat"
29124
29125 \end_inset
29126
29127
29128 \end_layout
29129
29130 \begin_layout Bibliography
29131 \begin_inset LatexCommand bibitem
29132 key "floatflt"
29133
29134 \end_inset
29135
29136
29137 \begin_inset ERT
29138 status collapsed
29139
29140 \begin_layout Standard
29141
29142
29143 \backslash
29144 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/floatflt/floatflt.pdf}
29145 {
29146 \end_layout
29147
29148 \end_inset
29149
29150 Documentation
29151 \begin_inset ERT
29152 status collapsed
29153
29154 \begin_layout Standard
29155
29156 }
29157 \end_layout
29158
29159 \end_inset
29160
29161  of the LaTeX-package 
29162 \series bold
29163 floatf\SpecialChar \textcompwordmark{}
29164 lt
29165 \series default
29166
29167 \begin_inset LatexCommand index
29168 name "LaTeX-packages ! floatflt"
29169
29170 \end_inset
29171
29172
29173 \end_layout
29174
29175 \begin_layout Bibliography
29176 \begin_inset LatexCommand bibitem
29177 key "footmisc"
29178
29179 \end_inset
29180
29181
29182 \begin_inset ERT
29183 status collapsed
29184
29185 \begin_layout Standard
29186
29187
29188 \backslash
29189 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf}
29190 {
29191 \end_layout
29192
29193 \end_inset
29194
29195 Documentation
29196 \begin_inset ERT
29197 status collapsed
29198
29199 \begin_layout Standard
29200
29201 }
29202 \end_layout
29203
29204 \end_inset
29205
29206  of the LaTeX-package 
29207 \series bold
29208 footmisc
29209 \series default
29210
29211 \begin_inset LatexCommand index
29212 name "LaTeX-packages ! footmisc"
29213
29214 \end_inset
29215
29216
29217 \end_layout
29218
29219 \begin_layout Bibliography
29220 \begin_inset LatexCommand bibitem
29221 key "hypcap"
29222
29223 \end_inset
29224
29225
29226 \begin_inset ERT
29227 status collapsed
29228
29229 \begin_layout Standard
29230
29231
29232 \backslash
29233 href{http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf}{
29234 \end_layout
29235
29236 \end_inset
29237
29238 Documentation
29239 \begin_inset ERT
29240 status collapsed
29241
29242 \begin_layout Standard
29243
29244 }
29245 \end_layout
29246
29247 \end_inset
29248
29249  of the LaTeX-package 
29250 \series bold
29251 hypcap
29252 \series default
29253
29254 \begin_inset LatexCommand index
29255 name "LaTeX-packages ! hyperref"
29256
29257 \end_inset
29258
29259
29260 \end_layout
29261
29262 \begin_layout Bibliography
29263 \begin_inset LatexCommand bibitem
29264 key "hyperref"
29265
29266 \end_inset
29267
29268
29269 \begin_inset ERT
29270 status collapsed
29271
29272 \begin_layout Standard
29273
29274
29275 \backslash
29276 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf}
29277 {
29278 \end_layout
29279
29280 \end_inset
29281
29282 Documentation
29283 \begin_inset ERT
29284 status collapsed
29285
29286 \begin_layout Standard
29287
29288 }
29289 \end_layout
29290
29291 \end_inset
29292
29293  of the LaTeX-package 
29294 \series bold
29295 hyperref
29296 \series default
29297
29298 \begin_inset LatexCommand index
29299 name "LaTeX-packages ! hyperref"
29300
29301 \end_inset
29302
29303
29304 \end_layout
29305
29306 \begin_layout Bibliography
29307 \begin_inset LatexCommand bibitem
29308 key "koma-script"
29309
29310 \end_inset
29311
29312
29313 \begin_inset ERT
29314 status collapsed
29315
29316 \begin_layout Standard
29317
29318
29319 \backslash
29320 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.p
29321 df}{
29322 \end_layout
29323
29324 \end_inset
29325
29326 Documentation
29327 \begin_inset ERT
29328 status collapsed
29329
29330 \begin_layout Standard
29331
29332 }
29333 \end_layout
29334
29335 \end_inset
29336
29337  of the LaTeX-package 
29338 \series bold
29339 koma-script
29340 \series default
29341
29342 \begin_inset LatexCommand index
29343 name "LaTeX-packages ! koma-script"
29344
29345 \end_inset
29346
29347
29348 \end_layout
29349
29350 \begin_layout Bibliography
29351 \begin_inset LatexCommand bibitem
29352 key "koma-script-de"
29353
29354 \end_inset
29355
29356 German 
29357 \begin_inset ERT
29358 status collapsed
29359
29360 \begin_layout Standard
29361
29362
29363 \backslash
29364 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguide.p
29365 df}{
29366 \end_layout
29367
29368 \end_inset
29369
29370 documentation
29371 \begin_inset ERT
29372 status collapsed
29373
29374 \begin_layout Standard
29375
29376 }
29377 \end_layout
29378
29379 \end_inset
29380
29381  of the LaTeX-package 
29382 \series bold
29383 koma-script
29384 \series default
29385
29386 \begin_inset LatexCommand index
29387 name "LaTeX-packages ! koma-script"
29388
29389 \end_inset
29390
29391
29392 \end_layout
29393
29394 \begin_layout Bibliography
29395 \begin_inset LatexCommand bibitem
29396 key "marginnote"
29397
29398 \end_inset
29399
29400
29401 \begin_inset ERT
29402 status collapsed
29403
29404 \begin_layout Standard
29405
29406
29407 \backslash
29408 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.
29409 pdf}{
29410 \end_layout
29411
29412 \end_inset
29413
29414 Documentation
29415 \begin_inset ERT
29416 status collapsed
29417
29418 \begin_layout Standard
29419
29420 }
29421 \end_layout
29422
29423 \end_inset
29424
29425  of the LaTeX-package 
29426 \series bold
29427 marginnote
29428 \series default
29429
29430 \begin_inset LatexCommand index
29431 name "LaTeX-packages ! marginnote"
29432
29433 \end_inset
29434
29435
29436 \end_layout
29437
29438 \begin_layout Bibliography
29439 \begin_inset LatexCommand bibitem
29440 key "pstricks"
29441
29442 \end_inset
29443
29444
29445 \begin_inset ERT
29446 status collapsed
29447
29448 \begin_layout Standard
29449
29450
29451 \backslash
29452 href{http://tug.org/PSTricks/main.cgi/}{
29453 \end_layout
29454
29455 \end_inset
29456
29457 Web page
29458 \begin_inset ERT
29459 status collapsed
29460
29461 \begin_layout Standard
29462
29463 }
29464 \end_layout
29465
29466 \end_inset
29467
29468  of the LaTeX-package 
29469 \series bold
29470 PSTricks
29471 \series default
29472
29473 \begin_inset LatexCommand index
29474 name "LaTeX-packages ! PSTricks"
29475
29476 \end_inset
29477
29478
29479 \end_layout
29480
29481 \begin_layout Bibliography
29482 \begin_inset LatexCommand bibitem
29483 key "sidecap"
29484
29485 \end_inset
29486
29487
29488 \begin_inset ERT
29489 status collapsed
29490
29491 \begin_layout Standard
29492
29493
29494 \backslash
29495 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf}{
29496 \end_layout
29497
29498 \end_inset
29499
29500 Documentation
29501 \begin_inset ERT
29502 status collapsed
29503
29504 \begin_layout Standard
29505
29506 }
29507 \end_layout
29508
29509 \end_inset
29510
29511  of the LaTeX-package 
29512 \series bold
29513 sidecap
29514 \series default
29515
29516 \begin_inset LatexCommand index
29517 name "LaTeX-packages ! sidecap"
29518
29519 \end_inset
29520
29521
29522 \end_layout
29523
29524 \begin_layout Bibliography
29525 \begin_inset LatexCommand bibitem
29526 key "NewInLyX15"
29527
29528 \end_inset
29529
29530
29531 \begin_inset ERT
29532 status collapsed
29533
29534 \begin_layout Standard
29535
29536
29537 \backslash
29538 href{http://wiki.lyx.org/LyX/NewInLyX15}{
29539 \end_layout
29540
29541 \end_inset
29542
29543 Wiki page
29544 \begin_inset ERT
29545 status collapsed
29546
29547 \begin_layout Standard
29548
29549 }
29550 \end_layout
29551
29552 \end_inset
29553
29554  about new LyX-features planned for the release 
29555 \family sans
29556 LyX 1.5
29557 \family default
29558 .
29559 \end_layout
29560
29561 \begin_layout Standard
29562 \begin_inset LatexCommand printindex
29563
29564 \end_inset
29565
29566
29567 \end_layout
29568
29569 \begin_layout Standard
29570 \begin_inset FloatList figure
29571
29572 \end_inset
29573
29574
29575 \end_layout
29576
29577 \begin_layout Standard
29578 \begin_inset FloatList table
29579
29580 \end_inset
29581
29582
29583 \end_layout
29584
29585 \end_body
29586 \end_document