]> git.lyx.org Git - features.git/blob - lib/doc/EmbeddedObjects.lyx
e7c1bf3820322b286dcc3c531dd60b7f5e9c4dd1
[features.git] / lib / doc / EmbeddedObjects.lyx
1 #LyX 1.5.0svn created this file. For more info see http://www.lyx.org/
2 \lyxformat 269
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 finished and you are able to estimate where
18039  page 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  
18756 \series bold
18757 hypcap
18758 \series default
18759  has no effect for references to subfigures.
18760 \end_layout
18761
18762 \end_inset
18763
18764
18765 \end_layout
18766
18767 \begin_layout Section
18768 Float Placement
18769 \begin_inset LatexCommand label
18770 name "sec:Float-Placement"
18771
18772 \end_inset
18773
18774
18775 \begin_inset LatexCommand index
18776 name "Floats ! Placement"
18777
18778 \end_inset
18779
18780
18781 \end_layout
18782
18783 \begin_layout Standard
18784 Right-clicking on a float-box opens a dialog where you can alter the placement
18785  options that LaTeX uses for positioning the float.
18786 \newline
18787 The option 
18788 \family sans
18789 Span\InsetSpace ~
18790 columns
18791 \family default
18792  is only useful for two-column documents: If you select it, the float will
18793  span across both columns on the page instead of being confined to just
18794  one.
18795 \newline
18796 The option 
18797 \family sans
18798 Rotate\InsetSpace ~
18799 sideways
18800 \family default
18801  is used to rotate floats, see section 
18802 \begin_inset LatexCommand ref
18803 reference "sec:Rotated-Floats"
18804
18805 \end_inset
18806
18807 .
18808 \end_layout
18809
18810 \begin_layout Standard
18811 You can use one ore more of the following options in the float dialog to
18812  set the placement for a particular float when you uncheck the option 
18813 \family sans
18814 Use\InsetSpace ~
18815 default\InsetSpace ~
18816 placement
18817 \family default
18818 :
18819 \end_layout
18820
18821 \begin_layout Description
18822 Here\InsetSpace ~
18823 if\InsetSpace ~
18824 possible: try to place the float on the position where it is inserted
18825 \end_layout
18826
18827 \begin_layout Description
18828 Top\InsetSpace ~
18829 of\InsetSpace ~
18830 page: try to place the float on the top of the current page
18831 \end_layout
18832
18833 \begin_layout Description
18834 Bottom\InsetSpace ~
18835 of\InsetSpace ~
18836 page: try to place the float on the bottom of the current page
18837 \end_layout
18838
18839 \begin_layout Description
18840 Page\InsetSpace ~
18841 of\InsetSpace ~
18842 floats: try to place the float on an own page 
18843 \end_layout
18844
18845 \begin_layout Standard
18846 The order of the above option is 
18847 \emph on
18848 always
18849 \emph default
18850  used by LaTeX.
18851  That means, if you use the default placement, LaTeX will first try out
18852  
18853 \family sans
18854 Here\InsetSpace ~
18855 if\InsetSpace ~
18856 possible
18857 \family default
18858 , then 
18859 \family sans
18860 Top\InsetSpace ~
18861 of\InsetSpace ~
18862 page
18863 \family default
18864 , and then the others.
18865  If you don't use the default, LaTeX will try only the checked options but
18866  in the same order.
18867  If none of the 4 placements are possible the procedure is internally repeated
18868  but it is tried to put the float on the following page.
18869 \end_layout
18870
18871 \begin_layout Standard
18872 By default, each options has its own rules:
18873 \end_layout
18874
18875 \begin_layout Labeling
18876 \labelwidthstring 00.00.0000
18877
18878 \family sans
18879 Top\InsetSpace ~
18880 of\InsetSpace ~
18881 page
18882 \family default
18883  only floats occupying less than 70\InsetSpace \thinspace{}
18884 % of the page can be placed at the top
18885  of a page (
18886 \series bold
18887
18888 \backslash
18889 topfraction
18890 \series default
18891 )
18892 \end_layout
18893
18894 \begin_layout Labeling
18895 \labelwidthstring 00.00.0000
18896
18897 \family sans
18898 Bottom\InsetSpace ~
18899 of\InsetSpace ~
18900 page
18901 \family default
18902 : only floats occupying less than 30\InsetSpace \thinspace{}
18903 % of the page can be placed at the bottom
18904  of a page.
18905  (
18906 \series bold
18907
18908 \backslash
18909 bottomfraction
18910 \series default
18911 )
18912 \end_layout
18913
18914 \begin_layout Labeling
18915 \labelwidthstring 00.00.0000
18916
18917 \family sans
18918 Page\InsetSpace ~
18919 of\InsetSpace ~
18920 floats
18921 \family default
18922 : only if more than 50\InsetSpace \thinspace{}
18923 % of the page are occupied by floats, several floats
18924  can be set together on a page.
18925  (
18926 \series bold
18927
18928 \backslash
18929 floatpagefraction
18930 \series default
18931 )
18932 \end_layout
18933
18934 \begin_layout Standard
18935 If you don't like these rules, you can ignore them by using the additional
18936  option 
18937 \family sans
18938 Ignore\InsetSpace ~
18939 LaTeX\InsetSpace ~
18940 rules
18941 \family default
18942 .
18943 \newline
18944 You can also redefine the rules with LaTeX-commands that are given in parenthese
18945 s behind the rules description above.
18946  To increase for example the often too small default of the bottom-rule
18947  to 50\InsetSpace \thinspace{}
18948 % of the page, add this line to your document preamble:
18949 \end_layout
18950
18951 \begin_layout Standard
18952
18953 \series bold
18954
18955 \backslash
18956 renewcommand{
18957 \backslash
18958 bottomfraction}{0.5}
18959 \end_layout
18960
18961 \begin_layout Standard
18962 Sometimes you might need, under all circumstances, a float to be placed
18963  exactly at the position where it is inserted.
18964  For this case you can use the option 
18965 \family sans
18966 Here\InsetSpace ~
18967 definitely
18968 \family default
18969 .
18970  Use this option very rarely and only if the document is nearly ready to
18971  be printed.
18972  Because the float is then no longer able to 
18973 \begin_inset Quotes eld
18974 \end_inset
18975
18976 float
18977 \begin_inset Quotes erd
18978 \end_inset
18979
18980  when you change your document and this will often destroy the page layout.
18981 \end_layout
18982
18983 \begin_layout Standard
18984 There are no placement options for text wrap floats, because they are always
18985  surrounded by the text of a certain paragraph.
18986 \begin_inset VSpace bigskip
18987 \end_inset
18988
18989
18990 \end_layout
18991
18992 \begin_layout Standard
18993 Sometimes you have the problem that a float is placed at the top of a page
18994  while its corresponding section starts at the middle of the page, so that
18995  the reader could think the float is part of the previous section.
18996  To avoid this the LaTeX-command 
18997 \series bold
18998
18999 \backslash
19000 suppressf\SpecialChar \textcompwordmark{}
19001 loats
19002 \series default
19003  can be used.
19004  It suppresses a given float placement for the page where it is inserted
19005  and can therefore be used to avoid that floats could be set before a section
19006  starts.
19007  To get this, add these commands to your document preamble:
19008 \end_layout
19009
19010 \begin_layout Standard
19011
19012 \series bold
19013
19014 \backslash
19015 let
19016 \backslash
19017 mySection
19018 \backslash
19019 section
19020 \newline
19021
19022 \backslash
19023 renewcommand{
19024 \backslash
19025 section}{
19026 \backslash
19027 suppressf\SpecialChar \textcompwordmark{}
19028 loats[t]
19029 \backslash
19030 mySection}
19031 \end_layout
19032
19033 \begin_layout Standard
19034 You can define the same for all section headings, like chapters and subsections.
19035  This definition is not recommended to be used for small text parts like
19036  subsubsections because LaTeX may then have problems to find a suitable
19037  placement.
19038 \end_layout
19039
19040 \begin_layout Standard
19041 \begin_inset VSpace bigskip
19042 \end_inset
19043
19044 In some cases it is required to have all figures/tables at the end of the
19045  document.
19046  For this purpose the LaTeX-package 
19047 \series bold
19048 endf\SpecialChar \textcompwordmark{}
19049 loat
19050 \series default
19051
19052 \begin_inset LatexCommand index
19053 name "LaTeX-packages ! endfloat"
19054
19055 \end_inset
19056
19057  was developed.
19058  It puts all figure and table floats at the end of the document into own
19059  sections.
19060  At the original float position a text hint like 
19061 \begin_inset Quotes eld
19062 \end_inset
19063
19064
19065 \family sans
19066 [Figure\InsetSpace ~
19067 3.2 about here.]
19068 \family default
19069
19070 \begin_inset Quotes erd
19071 \end_inset
19072
19073  is inserted.
19074  The endfloat-package is loaded in the preamble with the line
19075 \end_layout
19076
19077 \begin_layout Standard
19078
19079 \series bold
19080
19081 \backslash
19082 usepackage[options]{endf\SpecialChar \textcompwordmark{}
19083 loat}
19084 \end_layout
19085
19086 \begin_layout Standard
19087 There are various package options to format the created figure/table sections.
19088  For more information we refer to the 
19089 \series bold
19090 endf\SpecialChar \textcompwordmark{}
19091 loat
19092 \series default
19093  documentation 
19094 \begin_inset LatexCommand cite
19095 key "endfloat"
19096
19097 \end_inset
19098
19099 .
19100 \newline
19101
19102 \begin_inset Note Greyedout
19103 status open
19104
19105 \begin_layout Standard
19106
19107 \series bold
19108 Note: endf\SpecialChar \textcompwordmark{}
19109 loat
19110 \series default
19111  doesn't provide an automatic translation for the text hint, you have to
19112  do this manually, see section\InsetSpace ~
19113 4 in 
19114 \begin_inset LatexCommand cite
19115 key "endfloat"
19116
19117 \end_inset
19118
19119 .
19120 \end_layout
19121
19122 \end_inset
19123
19124
19125 \newline
19126
19127 \begin_inset Note Greyedout
19128 status open
19129
19130 \begin_layout Standard
19131
19132 \series bold
19133 Note:
19134 \series default
19135  There is currently a bug in 
19136 \series bold
19137 endf\SpecialChar \textcompwordmark{}
19138 loat
19139 \series default
19140  when the caption contains a German 
19141 \begin_inset Quotes eld
19142 \end_inset
19143
19144 ß
19145 \begin_inset Quotes erd
19146 \end_inset
19147
19148 .
19149  Use in this case the command 
19150 \begin_inset Quotes eld
19151 \end_inset
19152
19153
19154 \series bold
19155
19156 \backslash
19157 ss
19158 \series default
19159
19160 \begin_inset Quotes erd
19161 \end_inset
19162
19163  in ERT instead of 
19164 \begin_inset Quotes eld
19165 \end_inset
19166
19167 ß
19168 \begin_inset Quotes erd
19169 \end_inset
19170
19171 .
19172 \end_layout
19173
19174 \end_inset
19175
19176
19177 \end_layout
19178
19179 \begin_layout Standard
19180 \begin_inset VSpace bigskip
19181 \end_inset
19182
19183 For more details about float placements, have a look at LaTeX books, 
19184 \begin_inset LatexCommand cite
19185 key "latexcompanion,latexguide,latexbook"
19186
19187 \end_inset
19188
19189 .
19190 \end_layout
19191
19192 \begin_layout Section
19193 Rotated Floats
19194 \begin_inset LatexCommand label
19195 name "sec:Rotated-Floats"
19196
19197 \end_inset
19198
19199
19200 \begin_inset LatexCommand index
19201 name "Floats ! Rotating"
19202
19203 \end_inset
19204
19205
19206 \end_layout
19207
19208 \begin_layout Standard
19209 Especially for wide tables you might have floats rotated.
19210  To rotate a whole float including the caption, right-click on the float-box
19211  and use the option 
19212 \family sans
19213 Rotate\InsetSpace ~
19214 sideways
19215 \family default
19216 .
19217 \end_layout
19218
19219 \begin_layout Standard
19220 Rotated floats are always placed on its own page (or column, when you have
19221  a two-column document).
19222  They are normally rotated so that you can read them from the outside margin
19223  -- to the left on even pages, to the right on odd pages.
19224 \end_layout
19225
19226 \begin_layout Standard
19227 Referencing rotated floats is the same like for normal floats, the caption
19228  format is also the same: Table\InsetSpace ~
19229
19230 \begin_inset LatexCommand ref
19231 reference "tab:Rotated-table"
19232
19233 \end_inset
19234
19235  is an example of a rotated table float.
19236 \end_layout
19237
19238 \begin_layout Standard
19239 \begin_inset Note Greyedout
19240 status open
19241
19242 \begin_layout Standard
19243
19244 \series bold
19245 Note:
19246 \series default
19247  Not all DVI-viewers are able to display rotated floats.
19248 \end_layout
19249
19250 \end_inset
19251
19252
19253 \end_layout
19254
19255 \begin_layout Standard
19256 \begin_inset Float table
19257 wide false
19258 sideways true
19259 status open
19260
19261 \begin_layout Standard
19262 \begin_inset Caption
19263
19264 \begin_layout Standard
19265 \begin_inset LatexCommand label
19266 name "tab:Rotated-table"
19267
19268 \end_inset
19269
19270  Rotated table
19271 \end_layout
19272
19273 \end_inset
19274
19275
19276 \end_layout
19277
19278 \begin_layout Standard
19279 \align center
19280 \begin_inset Tabular
19281 <lyxtabular version="3" rows="1" columns="5">
19282 <features>
19283 <column alignment="center" valignment="top" leftline="true" width="0">
19284 <column alignment="center" valignment="top" leftline="true" width="0">
19285 <column alignment="center" valignment="top" leftline="true" width="0">
19286 <column alignment="center" valignment="top" leftline="true" width="0">
19287 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
19288 <row topline="true" bottomline="true">
19289 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19290 \begin_inset Text
19291
19292 \begin_layout Standard
19293 test
19294 \end_layout
19295
19296 \end_inset
19297 </cell>
19298 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19299 \begin_inset Text
19300
19301 \begin_layout Standard
19302 b
19303 \end_layout
19304
19305 \end_inset
19306 </cell>
19307 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19308 \begin_inset Text
19309
19310 \begin_layout Standard
19311 c
19312 \end_layout
19313
19314 \end_inset
19315 </cell>
19316 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19317 \begin_inset Text
19318
19319 \begin_layout Standard
19320 d
19321 \end_layout
19322
19323 \end_inset
19324 </cell>
19325 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19326 \begin_inset Text
19327
19328 \begin_layout Standard
19329 e
19330 \end_layout
19331
19332 \end_inset
19333 </cell>
19334 </row>
19335 </lyxtabular>
19336
19337 \end_inset
19338
19339
19340 \end_layout
19341
19342 \end_inset
19343
19344
19345 \end_layout
19346
19347 \begin_layout Section
19348 Caption Formatting
19349 \begin_inset LatexCommand index
19350 name "Caption ! Formatting"
19351
19352 \end_inset
19353
19354
19355 \begin_inset LatexCommand index
19356 name "Floats ! Caption Formatting"
19357
19358 \end_inset
19359
19360
19361 \begin_inset LatexCommand index
19362 name "LaTeX-packages ! caption"
19363
19364 \end_inset
19365
19366
19367 \begin_inset LatexCommand label
19368 name "sec:Caption-Formatting"
19369
19370 \end_inset
19371
19372
19373 \end_layout
19374
19375 \begin_layout Standard
19376 The 
19377 \family sans
19378 Caption
19379 \family default
19380  environment is the default paragraph environment for 
19381 \family sans
19382 Floats
19383 \family default
19384 .
19385  On the LyX screen captions appear as label, e.\InsetSpace \thinspace{}
19386 g.\InsetSpace ~
19387
19388 \begin_inset Quotes eld
19389 \end_inset
19390
19391
19392 \family sans
19393 Figure #:
19394 \family default
19395
19396 \begin_inset Quotes erd
19397 \end_inset
19398
19399  followed by the caption text.
19400  The number sign 
19401 \begin_inset Quotes eld
19402 \end_inset
19403
19404 #
19405 \begin_inset Quotes erd
19406 \end_inset
19407
19408  is substituted in the printed output by the actual reference number.
19409  By default the label and the number are in the same font as the caption
19410  text and a colon follows the number to divide then label from the text.
19411  This caption format is not suitable for all document formats.
19412  
19413 \end_layout
19414
19415 \begin_layout Standard
19416 To change the default caption format, load the LaTeX-package 
19417 \series bold
19418 caption
19419 \series default
19420
19421 \begin_inset LatexCommand index
19422 name "LaTeX-packages ! caption"
19423
19424 \end_inset
19425
19426  in the document preamble with this line:
19427 \end_layout
19428
19429 \begin_layout Standard
19430
19431 \series bold
19432
19433 \backslash
19434 usepackage[format definition]{caption}
19435 \end_layout
19436
19437 \begin_layout Standard
19438 To have for example the label and the number in sans-serif bold font and
19439  the table captions always above the table like in this document, use the
19440  following command:
19441 \end_layout
19442
19443 \begin_layout Standard
19444
19445 \series bold
19446
19447 \backslash
19448 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
19449 \end_layout
19450
19451 \begin_layout Standard
19452 You can also define different caption formats for the different float types.
19453  In this case load the 
19454 \series bold
19455 caption
19456 \series default
19457  package without format specific options and define the different formats
19458  with the help of the command
19459 \end_layout
19460
19461 \begin_layout Standard
19462
19463 \series bold
19464
19465 \backslash
19466 captionsetup[float type]{format definition}
19467 \end_layout
19468
19469 \begin_layout Standard
19470 in the document preamble.
19471  For example the caption formats of Figure\InsetSpace ~
19472
19473 \begin_inset LatexCommand ref
19474 reference "fig:This-is-an-fig"
19475
19476 \end_inset
19477
19478  and Table\InsetSpace ~
19479
19480 \begin_inset LatexCommand ref
19481 reference "tab:This-is-an-tab"
19482
19483 \end_inset
19484
19485  can be created using these commands in the document preamble:
19486 \end_layout
19487
19488 \begin_layout Standard
19489
19490 \series bold
19491
19492 \backslash
19493 usepackage[tableposition=top]{caption}
19494 \series default
19495
19496 \newline
19497
19498 \series bold
19499
19500 \backslash
19501 captionsetup[f\SpecialChar \textcompwordmark{}
19502 igure]{labelfont={tt}, textfont=it, indention=1cm,%
19503 \newline
19504
19505 \begin_inset ERT
19506 status collapsed
19507
19508 \begin_layout Standard
19509
19510
19511 \backslash
19512 hphantom{
19513 \backslash
19514
19515 \backslash
19516 captionsetup[figure]
19517 \backslash
19518 {}
19519 \end_layout
19520
19521 \end_inset
19522
19523  labelsep=period}
19524 \newline
19525
19526 \backslash
19527 captionsetup[table]{labelfont={bf,sf}}
19528 \end_layout
19529
19530 \begin_layout Standard
19531 \begin_inset Note Greyedout
19532 status open
19533
19534 \begin_layout Standard
19535
19536 \series bold
19537 Note:
19538 \series default
19539  The option 
19540 \series bold
19541 tableposition=top
19542 \series default
19543  has no effect when a 
19544 \series bold
19545 koma-script
19546 \series default
19547
19548 \begin_inset LatexCommand index
19549 name "LaTeX-packages ! koma-script"
19550
19551 \end_inset
19552
19553  document class is used.
19554  In this case the document class option 
19555 \series bold
19556 tablecaptionabove
19557 \series default
19558  must be used.
19559 \end_layout
19560
19561 \end_inset
19562
19563
19564 \end_layout
19565
19566 \begin_layout Standard
19567 For more information about the package 
19568 \series bold
19569 caption
19570 \series default
19571  we refer to its documentation 
19572 \begin_inset LatexCommand cite
19573 key "caption,caption-de"
19574
19575 \end_inset
19576
19577 .
19578 \end_layout
19579
19580 \begin_layout Standard
19581 To change the label name from e.g.
19582  
19583 \begin_inset Quotes eld
19584 \end_inset
19585
19586 Figure
19587 \begin_inset Quotes erd
19588 \end_inset
19589
19590  to 
19591 \begin_inset Quotes eld
19592 \end_inset
19593
19594 Image
19595 \begin_inset Quotes erd
19596 \end_inset
19597
19598  use this preamble command:
19599 \end_layout
19600
19601 \begin_layout Standard
19602
19603 \series bold
19604
19605 \backslash
19606 renewcommand{
19607 \backslash
19608 fnum@figure}{Image~
19609 \backslash
19610 thefigure}
19611 \end_layout
19612
19613 \begin_layout Standard
19614 where 
19615 \series bold
19616
19617 \backslash
19618 thefigure
19619 \series default
19620  inserts the figure number and
19621 \series bold
19622  
19623 \begin_inset Quotes eld
19624 \end_inset
19625
19626 ~
19627 \series default
19628
19629 \begin_inset Quotes erd
19630 \end_inset
19631
19632  creates a protected space.
19633 \end_layout
19634
19635 \begin_layout Standard
19636 \begin_inset VSpace bigskip
19637 \end_inset
19638
19639 If you are using a 
19640 \series bold
19641 koma-script
19642 \series default
19643
19644 \begin_inset LatexCommand index
19645 name "LaTeX-packages ! koma-script"
19646
19647 \end_inset
19648
19649  document class (
19650 \family sans
19651 article (koma-script)
19652 \family default
19653
19654 \family sans
19655 book (koma-script)
19656 \family default
19657
19658 \family sans
19659 letter (koma-script)
19660 \family default
19661 , or 
19662 \family sans
19663 report (koma-script)
19664 \family default
19665 \InsetSpace \thinspace{}
19666 ), you can alternatively to the 
19667 \series bold
19668 caption
19669 \series default
19670  package use 
19671 \series bold
19672 koma-script
19673 \series default
19674 's built-in command 
19675 \series bold
19676
19677 \backslash
19678 setkomafont
19679 \series default
19680 .
19681  For example, to have the caption label in bold, add this command to your
19682  document preamble:
19683 \end_layout
19684
19685 \begin_layout Standard
19686
19687 \series bold
19688
19689 \backslash
19690 setkomafont{captionlabel}{
19691 \backslash
19692 bfseries}
19693 \end_layout
19694
19695 \begin_layout Standard
19696 For more information about 
19697 \series bold
19698
19699 \backslash
19700 setkomafont
19701 \series default
19702  we refer to the 
19703 \series bold
19704 koma-script
19705 \series default
19706  documentation 
19707 \begin_inset LatexCommand cite
19708 key "koma-script,koma-script-de"
19709
19710 \end_inset
19711
19712 .
19713 \end_layout
19714
19715 \begin_layout Standard
19716 \begin_inset ERT
19717 status collapsed
19718
19719 \begin_layout Standard
19720
19721
19722 \backslash
19723 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
19724 }
19725 \end_layout
19726
19727 \end_inset
19728
19729
19730 \begin_inset Note Note
19731 status open
19732
19733 \begin_layout Standard
19734 The caption format is changed only for this example.
19735 \end_layout
19736
19737 \end_inset
19738
19739
19740 \end_layout
19741
19742 \begin_layout Standard
19743 \begin_inset Float figure
19744 placement !p
19745 wide false
19746 sideways false
19747 status open
19748
19749 \begin_layout Standard
19750 \align center
19751 \begin_inset Graphics
19752         filename clipart/mobius.eps
19753         lyxscale 50
19754         scale 50
19755
19756 \end_inset
19757
19758
19759 \end_layout
19760
19761 \begin_layout Standard
19762 \begin_inset Caption
19763
19764 \begin_layout Standard
19765 \begin_inset LatexCommand label
19766 name "fig:This-is-an-fig"
19767
19768 \end_inset
19769
19770 This is an example figure caption that is longer than one line to show the
19771  different caption format.
19772  Here a self-defined caption format is used.
19773 \end_layout
19774
19775 \end_inset
19776
19777
19778 \end_layout
19779
19780 \end_inset
19781
19782
19783 \end_layout
19784
19785 \begin_layout Standard
19786 \begin_inset ERT
19787 status collapsed
19788
19789 \begin_layout Standard
19790
19791
19792 \backslash
19793 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
19794 on}
19795 \end_layout
19796
19797 \end_inset
19798
19799
19800 \end_layout
19801
19802 \begin_layout Standard
19803 \begin_inset Float table
19804 placement !p
19805 wide false
19806 sideways false
19807 status open
19808
19809 \begin_layout Standard
19810 \begin_inset Caption
19811
19812 \begin_layout Standard
19813 \begin_inset LatexCommand label
19814 name "tab:This-is-an-tab"
19815
19816 \end_inset
19817
19818 This is an example table caption that is longer than one line to show the
19819  different caption format.
19820  Here the standard caption format for tables in this document is used.
19821 \end_layout
19822
19823 \end_inset
19824
19825
19826 \end_layout
19827
19828 \begin_layout Standard
19829 \align center
19830 \begin_inset Tabular
19831 <lyxtabular version="3" rows="1" columns="5">
19832 <features>
19833 <column alignment="center" valignment="top" leftline="true" width="0">
19834 <column alignment="center" valignment="top" leftline="true" width="0">
19835 <column alignment="center" valignment="top" leftline="true" width="0">
19836 <column alignment="center" valignment="top" leftline="true" width="0">
19837 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
19838 <row topline="true" bottomline="true">
19839 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19840 \begin_inset Text
19841
19842 \begin_layout Standard
19843 a
19844 \end_layout
19845
19846 \end_inset
19847 </cell>
19848 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19849 \begin_inset Text
19850
19851 \begin_layout Standard
19852 b
19853 \end_layout
19854
19855 \end_inset
19856 </cell>
19857 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19858 \begin_inset Text
19859
19860 \begin_layout Standard
19861 c
19862 \end_layout
19863
19864 \end_inset
19865 </cell>
19866 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19867 \begin_inset Text
19868
19869 \begin_layout Standard
19870 d
19871 \end_layout
19872
19873 \end_inset
19874 </cell>
19875 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19876 \begin_inset Text
19877
19878 \begin_layout Standard
19879 e
19880 \end_layout
19881
19882 \end_inset
19883 </cell>
19884 </row>
19885 </lyxtabular>
19886
19887 \end_inset
19888
19889
19890 \end_layout
19891
19892 \end_inset
19893
19894
19895 \end_layout
19896
19897 \begin_layout Section
19898 Caption Placement
19899 \begin_inset LatexCommand index
19900 name "Caption ! Placement"
19901
19902 \end_inset
19903
19904
19905 \begin_inset LatexCommand index
19906 name "Floats ! Caption Placement"
19907
19908 \end_inset
19909
19910
19911 \begin_inset LatexCommand label
19912 name "sec:Caption-Placement"
19913
19914 \end_inset
19915
19916
19917 \end_layout
19918
19919 \begin_layout Standard
19920 The common caption placement rule is:
19921 \end_layout
19922
19923 \begin_layout Description
19924 Figure: Caption is set below the figure
19925 \end_layout
19926
19927 \begin_layout Description
19928 Table: Caption is set above the table
19929 \end_layout
19930
19931 \begin_layout Standard
19932 Having the caption above the table is unfortunately not supported in LaTeX's
19933  standard classes.
19934  That means if you are using the document classes 
19935 \family sans
19936 article
19937 \family default
19938
19939 \family sans
19940 book
19941 \family default
19942
19943 \family sans
19944 letter
19945 \family default
19946 , or 
19947 \family sans
19948 report
19949 \family default
19950  there will be no space between the caption and the table.
19951  To insert the needed space, add the following option to the load command
19952  of the LaTeX-package 
19953 \series bold
19954 caption
19955 \series default
19956  in your document preamble
19957 \begin_inset Foot
19958 status collapsed
19959
19960 \begin_layout Standard
19961 See section\InsetSpace ~
19962
19963 \begin_inset LatexCommand ref
19964 reference "sec:Caption-Formatting"
19965
19966 \end_inset
19967
19968  for more information of the package 
19969 \series bold
19970 caption
19971 \series default
19972 .
19973 \end_layout
19974
19975 \end_inset
19976
19977 :
19978 \end_layout
19979
19980 \begin_layout Standard
19981
19982 \series bold
19983 tableposition=top
19984 \end_layout
19985
19986 \begin_layout Standard
19987 If you are using a 
19988 \series bold
19989 koma-script
19990 \series default
19991
19992 \begin_inset LatexCommand index
19993 name "LaTeX-packages ! koma-script"
19994
19995 \end_inset
19996
19997  document class (
19998 \family sans
19999 article (koma-script)
20000 \family default
20001
20002 \family sans
20003 book (koma-script)
20004 \family default
20005
20006 \family sans
20007 letter (koma-script)
20008 \family default
20009 , or 
20010 \family sans
20011 report (koma-script)
20012 \family default
20013 \InsetSpace \thinspace{}
20014 ), you can alternatively to the 
20015 \series bold
20016 caption
20017 \series default
20018  package set the document class option 
20019 \series bold
20020 tablecaptionabove
20021 \series default
20022 , or you can use the environment 
20023 \family sans
20024 caption\InsetSpace ~
20025 above
20026 \family default
20027  instead of the 
20028 \family sans
20029 caption
20030 \family default
20031  environment.
20032 \end_layout
20033
20034 \begin_layout Standard
20035 \begin_inset VSpace bigskip
20036 \end_inset
20037
20038 It is also possible to set the caption beside a figure or table.
20039  To get this the LaTeX-package 
20040 \series bold
20041 sidecap
20042 \series default
20043
20044 \begin_inset LatexCommand index
20045 name "LaTeX-packages ! sidecap"
20046
20047 \end_inset
20048
20049  has to be loaded in the document preamble with the line
20050 \end_layout
20051
20052 \begin_layout Standard
20053
20054 \series bold
20055
20056 \backslash
20057 usepackage[option]{sidecap}
20058 \end_layout
20059
20060 \begin_layout Standard
20061 If you set no option, the caption is placed on the side of the outer page
20062  margin -- to the right on odd pages, to the left on even pages.
20063  You can change the placement to inner margin with the option 
20064 \series bold
20065 innercaption
20066 \series default
20067 .
20068  To force the placement always to the right or left, use the option 
20069 \series bold
20070 rightcaption
20071 \series default
20072  or 
20073 \series bold
20074 leftcaption
20075 \series default
20076 , respectively.
20077 \end_layout
20078
20079 \begin_layout Standard
20080 To place in LyX the caption of a float on the side, it is necessary to add
20081  these commands to the document preamble:
20082 \end_layout
20083
20084 \begin_layout Standard
20085
20086 \lyxline
20087
20088 \end_layout
20089
20090 \begin_layout Standard
20091
20092 \series bold
20093
20094 \backslash
20095 newcommand{
20096 \backslash
20097 TabBesBeg}{%
20098 \newline
20099
20100 \begin_inset ERT
20101 status collapsed
20102
20103 \begin_layout Standard
20104
20105
20106 \backslash
20107 hphantom{ }
20108 \end_layout
20109
20110 \end_inset
20111
20112
20113 \backslash
20114 let
20115 \backslash
20116 MyTable
20117 \backslash
20118 table
20119 \newline
20120
20121 \begin_inset ERT
20122 status collapsed
20123
20124 \begin_layout Standard
20125
20126
20127 \backslash
20128 hphantom{ }
20129 \end_layout
20130
20131 \end_inset
20132
20133
20134 \backslash
20135 let
20136 \backslash
20137 MyEndtable
20138 \backslash
20139 endtable
20140 \newline
20141
20142 \begin_inset ERT
20143 status collapsed
20144
20145 \begin_layout Standard
20146
20147
20148 \backslash
20149 hphantom{ }
20150 \end_layout
20151
20152 \end_inset
20153
20154
20155 \backslash
20156 renewenvironment{table}{
20157 \backslash
20158 begin{SCtable}}{
20159 \backslash
20160 end{SCtable}}}
20161 \end_layout
20162
20163 \begin_layout Standard
20164
20165 \series bold
20166
20167 \backslash
20168 newcommand{
20169 \backslash
20170 TabBesEnd}{%
20171 \newline
20172
20173 \begin_inset ERT
20174 status collapsed
20175
20176 \begin_layout Standard
20177
20178
20179 \backslash
20180 hphantom{ }
20181 \end_layout
20182
20183 \end_inset
20184
20185
20186 \backslash
20187 let
20188 \backslash
20189 table
20190 \backslash
20191 MyTable
20192 \newline
20193
20194 \begin_inset ERT
20195 status collapsed
20196
20197 \begin_layout Standard
20198
20199
20200 \backslash
20201 hphantom{ }
20202 \end_layout
20203
20204 \end_inset
20205
20206
20207 \backslash
20208 let
20209 \backslash
20210 endtable
20211 \backslash
20212 MyEndtable
20213 \end_layout
20214
20215 \begin_layout Standard
20216
20217 \series bold
20218
20219 \backslash
20220 newcommand{
20221 \backslash
20222 FigBesBeg}{%
20223 \newline
20224
20225 \begin_inset ERT
20226 status collapsed
20227
20228 \begin_layout Standard
20229
20230
20231 \backslash
20232 hphantom{ }
20233 \end_layout
20234
20235 \end_inset
20236
20237
20238 \backslash
20239 let
20240 \backslash
20241 MyFigure
20242 \backslash
20243 f\SpecialChar \textcompwordmark{}
20244 igure
20245 \newline
20246
20247 \begin_inset ERT
20248 status collapsed
20249
20250 \begin_layout Standard
20251
20252
20253 \backslash
20254 hphantom{ }
20255 \end_layout
20256
20257 \end_inset
20258
20259
20260 \backslash
20261 let
20262 \backslash
20263 MyEndf\SpecialChar \textcompwordmark{}
20264 igure
20265 \backslash
20266 endf\SpecialChar \textcompwordmark{}
20267 igure
20268 \newline
20269
20270 \begin_inset ERT
20271 status collapsed
20272
20273 \begin_layout Standard
20274
20275
20276 \backslash
20277 hphantom{ }
20278 \end_layout
20279
20280 \end_inset
20281
20282
20283 \backslash
20284 renewenvironment{f\SpecialChar \textcompwordmark{}
20285 igure}{
20286 \backslash
20287 begin{SCf\SpecialChar \textcompwordmark{}
20288 igure}}{
20289 \backslash
20290 end{SCf\SpecialChar \textcompwordmark{}
20291 igure}}}
20292 \end_layout
20293
20294 \begin_layout Standard
20295
20296 \series bold
20297
20298 \backslash
20299 newcommand{
20300 \backslash
20301 FigBesEnd}{%
20302 \newline
20303
20304 \begin_inset ERT
20305 status collapsed
20306
20307 \begin_layout Standard
20308
20309
20310 \backslash
20311 hphantom{ }
20312 \end_layout
20313
20314 \end_inset
20315
20316
20317 \backslash
20318 let
20319 \backslash
20320 f\SpecialChar \textcompwordmark{}
20321 igure
20322 \backslash
20323 MyFigure
20324 \newline
20325
20326 \begin_inset ERT
20327 status collapsed
20328
20329 \begin_layout Standard
20330
20331
20332 \backslash
20333 hphantom{ }
20334 \end_layout
20335
20336 \end_inset
20337
20338
20339 \backslash
20340 let
20341 \backslash
20342 endf\SpecialChar \textcompwordmark{}
20343 igure
20344 \backslash
20345 MyEndf\SpecialChar \textcompwordmark{}
20346 igure}
20347 \end_layout
20348
20349 \begin_layout Standard
20350
20351 \lyxline
20352
20353 \end_layout
20354
20355 \begin_layout Standard
20356 The commands allow you to redefine the floats so that the caption is set
20357  on the side.
20358  For figure floats use the command
20359 \end_layout
20360
20361 \begin_layout Standard
20362
20363 \series bold
20364
20365 \backslash
20366 FigBesBeg
20367 \end_layout
20368
20369 \begin_layout Standard
20370 in ERT before the float.
20371  Behind the float insert the command
20372 \end_layout
20373
20374 \begin_layout Standard
20375
20376 \series bold
20377
20378 \backslash
20379 FigBesEnd
20380 \end_layout
20381
20382 \begin_layout Standard
20383 in ERT to get back to the original float definition.
20384 \end_layout
20385
20386 \begin_layout Standard
20387 For table floats use the corresponding commands
20388 \end_layout
20389
20390 \begin_layout Standard
20391
20392 \series bold
20393
20394 \backslash
20395 TabBesBeg
20396 \series default
20397  and 
20398 \series bold
20399
20400 \backslash
20401 TabBesEnd
20402 \end_layout
20403
20404 \begin_layout Standard
20405 Figure\InsetSpace ~
20406
20407 \begin_inset LatexCommand ref
20408 reference "fig:cap-beside-fig"
20409
20410 \end_inset
20411
20412  and Table\InsetSpace ~
20413
20414 \begin_inset LatexCommand ref
20415 reference "tab:cap-beside-tab"
20416
20417 \end_inset
20418
20419  are examples where the caption is set beside.
20420 \end_layout
20421
20422 \begin_layout Standard
20423 You can see in the examples that the caption text appears at the top of
20424  the floats for table floats and at the bottom for figure floats.
20425  To change this, you can use the command
20426 \end_layout
20427
20428 \begin_layout Standard
20429
20430 \series bold
20431
20432 \backslash
20433 sidecaptionvpos{float type}{placement}
20434 \end_layout
20435
20436 \begin_layout Standard
20437 in the document preamble or in ERT before the float.
20438  The float type is either 
20439 \family sans
20440 figure
20441 \family default
20442  or 
20443 \family sans
20444 table
20445 \family default
20446 , the placement can be 
20447 \begin_inset Quotes eld
20448 \end_inset
20449
20450
20451 \family sans
20452 t
20453 \family default
20454
20455 \begin_inset Quotes erd
20456 \end_inset
20457
20458  for top, 
20459 \begin_inset Quotes eld
20460 \end_inset
20461
20462
20463 \family sans
20464 c
20465 \family default
20466
20467 \begin_inset Quotes erd
20468 \end_inset
20469
20470  for center, or 
20471 \begin_inset Quotes eld
20472 \end_inset
20473
20474
20475 \family sans
20476 b
20477 \family default
20478
20479 \begin_inset Quotes erd
20480 \end_inset
20481
20482  for bottom.
20483  To have for example the caption of figure floats vertically centered, use
20484  the command
20485 \end_layout
20486
20487 \begin_layout Standard
20488
20489 \series bold
20490
20491 \backslash
20492 sidecaptionvpos{f\SpecialChar \textcompwordmark{}
20493 igure}{c}
20494 \end_layout
20495
20496 \begin_layout Standard
20497 This was used for Figure\InsetSpace ~
20498
20499 \begin_inset LatexCommand ref
20500 reference "fig:cap-beside-fig-2"
20501
20502 \end_inset
20503
20504 .
20505 \end_layout
20506
20507 \begin_layout Standard
20508 \begin_inset VSpace defskip
20509 \end_inset
20510
20511 For more information about the package 
20512 \series bold
20513 sidecap
20514 \series default
20515  we refer to its documentation 
20516 \begin_inset LatexCommand cite
20517 key "sidecap"
20518
20519 \end_inset
20520
20521 .
20522 \end_layout
20523
20524 \begin_layout Standard
20525 \begin_inset Note Greyedout
20526 status open
20527
20528 \begin_layout Standard
20529
20530 \series bold
20531 Note:
20532 \series default
20533  The LaTeX-package 
20534 \series bold
20535 hypcap
20536 \series default
20537
20538 \begin_inset LatexCommand index
20539 name "LaTeX-packages ! hypcap"
20540
20541 \end_inset
20542
20543 , described in section\InsetSpace ~
20544
20545 \begin_inset LatexCommand ref
20546 reference "sub:Reference-Position"
20547
20548 \end_inset
20549
20550 , has no effect on floats with the caption set beside.
20551 \end_layout
20552
20553 \end_inset
20554
20555
20556 \end_layout
20557
20558 \begin_layout Standard
20559 \begin_inset ERT
20560 status collapsed
20561
20562 \begin_layout Standard
20563
20564
20565 \backslash
20566 FigBesBeg 
20567 \end_layout
20568
20569 \end_inset
20570
20571
20572 \end_layout
20573
20574 \begin_layout Standard
20575 \begin_inset Float figure
20576 wide false
20577 sideways false
20578 status open
20579
20580 \begin_layout Standard
20581 \begin_inset Graphics
20582         filename clipart/escher-lsd.eps
20583         scale 75
20584
20585 \end_inset
20586
20587
20588 \end_layout
20589
20590 \begin_layout Standard
20591 \begin_inset Caption
20592
20593 \begin_layout Standard
20594 \begin_inset LatexCommand label
20595 name "fig:cap-beside-fig"
20596
20597 \end_inset
20598
20599 This is a caption beside a figure.
20600 \end_layout
20601
20602 \end_inset
20603
20604
20605 \end_layout
20606
20607 \end_inset
20608
20609
20610 \end_layout
20611
20612 \begin_layout Standard
20613 \begin_inset ERT
20614 status collapsed
20615
20616 \begin_layout Standard
20617
20618
20619 \backslash
20620 TabBesBeg 
20621 \end_layout
20622
20623 \end_inset
20624
20625
20626 \end_layout
20627
20628 \begin_layout Standard
20629 \begin_inset Float table
20630 wide false
20631 sideways false
20632 status open
20633
20634 \begin_layout Standard
20635 \begin_inset Caption
20636
20637 \begin_layout Standard
20638 \begin_inset LatexCommand label
20639 name "tab:cap-beside-tab"
20640
20641 \end_inset
20642
20643 This is a caption beside a table.
20644 \end_layout
20645
20646 \end_inset
20647
20648
20649 \end_layout
20650
20651 \begin_layout Standard
20652 \begin_inset Tabular
20653 <lyxtabular version="3" rows="4" columns="5">
20654 <features>
20655 <column alignment="center" valignment="top" leftline="true" width="0">
20656 <column alignment="center" valignment="top" leftline="true" width="0">
20657 <column alignment="center" valignment="top" leftline="true" width="0">
20658 <column alignment="center" valignment="top" leftline="true" width="0">
20659 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
20660 <row topline="true">
20661 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20662 \begin_inset Text
20663
20664 \begin_layout Standard
20665 a
20666 \end_layout
20667
20668 \end_inset
20669 </cell>
20670 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20671 \begin_inset Text
20672
20673 \begin_layout Standard
20674
20675 \end_layout
20676
20677 \end_inset
20678 </cell>
20679 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20680 \begin_inset Text
20681
20682 \begin_layout Standard
20683 b
20684 \end_layout
20685
20686 \end_inset
20687 </cell>
20688 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20689 \begin_inset Text
20690
20691 \begin_layout Standard
20692
20693 \end_layout
20694
20695 \end_inset
20696 </cell>
20697 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20698 \begin_inset Text
20699
20700 \begin_layout Standard
20701 c
20702 \end_layout
20703
20704 \end_inset
20705 </cell>
20706 </row>
20707 <row topline="true">
20708 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20709 \begin_inset Text
20710
20711 \begin_layout Standard
20712
20713 \end_layout
20714
20715 \end_inset
20716 </cell>
20717 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20718 \begin_inset Text
20719
20720 \begin_layout Standard
20721 d
20722 \end_layout
20723
20724 \end_inset
20725 </cell>
20726 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20727 \begin_inset Text
20728
20729 \begin_layout Standard
20730
20731 \end_layout
20732
20733 \end_inset
20734 </cell>
20735 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20736 \begin_inset Text
20737
20738 \begin_layout Standard
20739 e
20740 \end_layout
20741
20742 \end_inset
20743 </cell>
20744 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20745 \begin_inset Text
20746
20747 \begin_layout Standard
20748
20749 \end_layout
20750
20751 \end_inset
20752 </cell>
20753 </row>
20754 <row topline="true">
20755 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20756 \begin_inset Text
20757
20758 \begin_layout Standard
20759 f
20760 \end_layout
20761
20762 \end_inset
20763 </cell>
20764 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20765 \begin_inset Text
20766
20767 \begin_layout Standard
20768
20769 \end_layout
20770
20771 \end_inset
20772 </cell>
20773 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20774 \begin_inset Text
20775
20776 \begin_layout Standard
20777 g
20778 \end_layout
20779
20780 \end_inset
20781 </cell>
20782 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20783 \begin_inset Text
20784
20785 \begin_layout Standard
20786
20787 \end_layout
20788
20789 \end_inset
20790 </cell>
20791 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20792 \begin_inset Text
20793
20794 \begin_layout Standard
20795 h
20796 \end_layout
20797
20798 \end_inset
20799 </cell>
20800 </row>
20801 <row topline="true" bottomline="true">
20802 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20803 \begin_inset Text
20804
20805 \begin_layout Standard
20806
20807 \end_layout
20808
20809 \end_inset
20810 </cell>
20811 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20812 \begin_inset Text
20813
20814 \begin_layout Standard
20815 i
20816 \end_layout
20817
20818 \end_inset
20819 </cell>
20820 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20821 \begin_inset Text
20822
20823 \begin_layout Standard
20824
20825 \end_layout
20826
20827 \end_inset
20828 </cell>
20829 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20830 \begin_inset Text
20831
20832 \begin_layout Standard
20833 j
20834 \end_layout
20835
20836 \end_inset
20837 </cell>
20838 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20839 \begin_inset Text
20840
20841 \begin_layout Standard
20842
20843 \end_layout
20844
20845 \end_inset
20846 </cell>
20847 </row>
20848 </lyxtabular>
20849
20850 \end_inset
20851
20852
20853 \end_layout
20854
20855 \end_inset
20856
20857
20858 \end_layout
20859
20860 \begin_layout Standard
20861 \begin_inset ERT
20862 status collapsed
20863
20864 \begin_layout Standard
20865
20866
20867 \backslash
20868 TabBesEnd
20869 \end_layout
20870
20871 \end_inset
20872
20873
20874 \end_layout
20875
20876 \begin_layout Standard
20877 \begin_inset ERT
20878 status collapsed
20879
20880 \begin_layout Standard
20881
20882
20883 \backslash
20884 sidecaptionvpos{figure}{c}
20885 \end_layout
20886
20887 \end_inset
20888
20889
20890 \begin_inset Float figure
20891 wide false
20892 sideways false
20893 status open
20894
20895 \begin_layout Standard
20896 \begin_inset Graphics
20897         filename clipart/escher-lsd.eps
20898         scale 75
20899
20900 \end_inset
20901
20902
20903 \end_layout
20904
20905 \begin_layout Standard
20906 \begin_inset Caption
20907
20908 \begin_layout Standard
20909 \begin_inset LatexCommand label
20910 name "fig:cap-beside-fig-2"
20911
20912 \end_inset
20913
20914 This is a vertically centered caption beside a figure.
20915 \end_layout
20916
20917 \end_inset
20918
20919
20920 \end_layout
20921
20922 \end_inset
20923
20924
20925 \end_layout
20926
20927 \begin_layout Standard
20928 \begin_inset ERT
20929 status collapsed
20930
20931 \begin_layout Standard
20932
20933
20934 \backslash
20935 FigBesEnd
20936 \end_layout
20937
20938 \end_inset
20939
20940
20941 \end_layout
20942
20943 \begin_layout Section
20944 Listings of Floats
20945 \begin_inset LatexCommand label
20946 name "sec:Listings-of-Floats"
20947
20948 \end_inset
20949
20950
20951 \begin_inset LatexCommand index
20952 name "Floats ! Listings"
20953
20954 \end_inset
20955
20956
20957 \end_layout
20958
20959 \begin_layout Standard
20960 Similar to the the table of contents where the sections of the document
20961  are listed, there are listings for all float types, like the figures of
20962  the documents.
20963  You can insert them via the 
20964 \family sans
20965 Insert\SpecialChar \menuseparator
20966 List\InsetSpace ~
20967 /\InsetSpace ~
20968 TOC
20969 \family default
20970  sub menus.
20971 \end_layout
20972
20973 \begin_layout Standard
20974 The list entries are the float captions or its short title, the float number,
20975  and the page number where they appear in the document.
20976 \end_layout
20977
20978 \begin_layout Standard
20979 You can find the list of figures and tables at the end of this document.
20980 \end_layout
20981
20982 \begin_layout Chapter
20983 Notes
20984 \end_layout
20985
20986 \begin_layout Section
20987 \begin_inset ERT
20988 status collapsed
20989
20990 \begin_layout Standard
20991
20992
20993 \backslash
20994 texorpdfstring{
20995 \end_layout
20996
20997 \end_inset
20998
20999 LyX
21000 \begin_inset ERT
21001 status collapsed
21002
21003 \begin_layout Standard
21004
21005 }{LyX}
21006 \end_layout
21007
21008 \end_inset
21009
21010  Notes
21011 \begin_inset LatexCommand label
21012 name "sec:LyX-Notes"
21013
21014 \end_inset
21015
21016
21017 \begin_inset LatexCommand index
21018 name "Notes ! LyX Notes"
21019
21020 \end_inset
21021
21022
21023 \begin_inset Note Note
21024 status collapsed
21025
21026 \begin_layout Standard
21027 The command 
21028 \backslash
21029 texorpdfstring is provided by the LaTeX-package hyperref to avoid that ligatures
21030  are displayed wrongly in PDF-bookmarks.
21031  For more information about this, have a look at 
21032 \begin_inset LatexCommand cite
21033 key "hyperref"
21034
21035 \end_inset
21036
21037 .
21038 \end_layout
21039
21040 \end_inset
21041
21042
21043 \end_layout
21044
21045 \begin_layout Standard
21046 Notes are inserted with the toolbar button 
21047 \begin_inset Graphics
21048         filename ../images/note-insert.xpm
21049         scale 85
21050
21051 \end_inset
21052
21053  or the menu 
21054 \family sans
21055 Insert\SpecialChar \menuseparator
21056 Note
21057 \family default
21058 .
21059  There are three types of notes:
21060 \end_layout
21061
21062 \begin_layout Description
21063 LyX\InsetSpace ~
21064 Note This note type is for internal notes that won't appear in the output.
21065  Its note-box looks like this:
21066 \newline
21067
21068 \newline
21069
21070 \begin_inset Graphics
21071         filename clipart/LyXNoteImageQt4.png
21072         display none
21073         scale 85
21074
21075 \end_inset
21076
21077  
21078 \begin_inset Note Note
21079 status open
21080
21081 \begin_layout Standard
21082 This is text in a note box that doesn't appear in the output.
21083 \end_layout
21084
21085 \end_inset
21086
21087
21088 \end_layout
21089
21090 \begin_layout Description
21091 Comment This note also doesn't appear in the output but it appears as LaTeX-comm
21092 ent, when you export the document to LaTeX via the menu 
21093 \family sans
21094 File\SpecialChar \menuseparator
21095 Export\SpecialChar \menuseparator
21096 LaTeX (pdflatex) / LaTeX (plain)
21097 \family default
21098 .
21099  Its note-box looks like this:
21100 \newline
21101
21102 \newline
21103
21104 \begin_inset Graphics
21105         filename clipart/CommentNoteImageQt4.png
21106         display none
21107         scale 85
21108
21109 \end_inset
21110
21111  
21112 \begin_inset Note Comment
21113 status open
21114
21115 \begin_layout Standard
21116 This is text in a note box that only appears as comment in LaTeX-files.
21117 \end_layout
21118
21119 \end_inset
21120
21121
21122 \end_layout
21123
21124 \begin_layout Description
21125 Greyed\InsetSpace ~
21126 Out This note will appear in the output as grey text.
21127  Its note-box looks like this:
21128 \newline
21129
21130 \newline
21131
21132 \begin_inset Graphics
21133         filename clipart/GreyedOutNoteImageQt4.png
21134         display none
21135         scale 85
21136
21137 \end_inset
21138
21139
21140 \newline
21141
21142 \begin_inset ERT
21143 status collapsed
21144
21145 \begin_layout Standard
21146
21147
21148 \backslash
21149 renewenvironment{lyxgreyedout}
21150 \end_layout
21151
21152 \begin_layout Standard
21153
21154 {
21155 \backslash
21156 textcolor[gray]{0.8}
21157 \backslash
21158 bgroup}{
21159 \backslash
21160 egroup}
21161 \end_layout
21162
21163 \end_inset
21164
21165
21166 \begin_inset Note Greyedout
21167 status open
21168
21169 \begin_layout Standard
21170 This is text
21171 \begin_inset Foot
21172 status open
21173
21174 \begin_layout Standard
21175 This is an example footnote within a greyed out note.
21176 \end_layout
21177
21178 \end_inset
21179
21180  of a comment that appears in the output as grey text.
21181 \end_layout
21182
21183 \end_inset
21184
21185
21186 \begin_inset ERT
21187 status collapsed
21188
21189 \begin_layout Standard
21190
21191
21192 \backslash
21193 renewenvironment{lyxgreyedout}
21194 \end_layout
21195
21196 \begin_layout Standard
21197
21198 {
21199 \backslash
21200 textcolor{blue}
21201 \backslash
21202 bgroup}{
21203 \backslash
21204 egroup}
21205 \end_layout
21206
21207 \end_inset
21208
21209
21210 \begin_inset Note Note
21211 status collapsed
21212
21213 \begin_layout Standard
21214 The greyed out note is here redefined to show it with the original LyX definitio
21215 n because greyed out notes are redefined in the preamble of this document,
21216  as described below, to have blue text.
21217 \end_layout
21218
21219 \end_inset
21220
21221
21222 \newline
21223
21224 \newline
21225 As you can see in the example, the first line of greyed out notes is a bit
21226  indented and greyed out notes can have footnotes.
21227 \end_layout
21228
21229 \begin_layout Description
21230 Framed This note will appear in the output as framed text.
21231  Its note-box looks like this:
21232 \newline
21233
21234 \newline
21235
21236 \begin_inset Graphics
21237         filename clipart/FramedNoteImageQt4.png
21238         display none
21239         scale 85
21240
21241 \end_inset
21242
21243  
21244 \begin_inset Note Framed
21245 status open
21246
21247 \begin_layout Standard
21248 This is text in a note box that appears framed in the output.
21249 \end_layout
21250
21251 \end_inset
21252
21253  In contrary to framed boxes
21254 \begin_inset Foot
21255 status collapsed
21256
21257 \begin_layout Standard
21258 Framed boxes are described in section\InsetSpace ~
21259
21260 \begin_inset LatexCommand ref
21261 reference "sec:Framed-Boxes"
21262
21263 \end_inset
21264
21265 .
21266 \end_layout
21267
21268 \end_inset
21269
21270  the frame uses always the whole text width and the note is set into its
21271  own paragraph.
21272 \end_layout
21273
21274 \begin_layout Description
21275 Shaded This note will appear in the output with red background color.
21276  Its note box looks like this:
21277 \newline
21278
21279 \newline
21280
21281 \begin_inset Graphics
21282         filename clipart/ShadedNoteImageQt4.png
21283         display none
21284         scale 85
21285
21286 \end_inset
21287
21288
21289 \begin_inset Note Shaded
21290 status open
21291
21292 \begin_layout Standard
21293 This text in a note box appears in the output with red background.
21294 \end_layout
21295
21296 \end_inset
21297
21298 In contrary to colored boxes
21299 \begin_inset Foot
21300 status collapsed
21301
21302 \begin_layout Standard
21303 Colored boxes are described in section\InsetSpace ~
21304
21305 \begin_inset LatexCommand ref
21306 reference "sec:Colored-Boxes"
21307
21308 \end_inset
21309
21310 .
21311 \end_layout
21312
21313 \end_inset
21314
21315  the note uses always the whole text width and the note is set into its
21316  own paragraph.
21317 \end_layout
21318
21319 \begin_layout Standard
21320 \begin_inset VSpace bigskip
21321 \end_inset
21322
21323 When you use the toolbar button to insert notes, a 
21324 \family sans
21325 LyX\InsetSpace ~
21326 Note
21327 \family default
21328  is inserted.
21329  You can switch between the three note types by right-clicking on the note-box.
21330  
21331 \family roman
21332 \series medium
21333 \bar no
21334 If you want to turn existing text into a note, mark it and click on the
21335  note
21336 \family default
21337 \series default
21338 \bar default
21339  toolbar 
21340 \family roman
21341 \series medium
21342 \bar no
21343 button
21344 \family default
21345 \series default
21346 \bar default
21347 .
21348 \end_layout
21349
21350 \begin_layout Standard
21351 \begin_inset VSpace bigskip
21352 \end_inset
21353
21354 You can change the text color of the greyed out notes in the preamble with
21355  the following command:
21356 \end_layout
21357
21358 \begin_layout Standard
21359
21360 \series bold
21361
21362 \backslash
21363 renewenvironment{lyxgreyedout}
21364 \newline
21365
21366 \begin_inset ERT
21367 status collapsed
21368
21369 \begin_layout Standard
21370
21371
21372 \backslash
21373 hphantom{ }
21374 \end_layout
21375
21376 \end_inset
21377
21378 {
21379 \backslash
21380 textcolor{color}
21381 \backslash
21382 bgroup}{
21383 \backslash
21384 egroup}
21385 \end_layout
21386
21387 \begin_layout Standard
21388 The available colors and the method to define own colors is explained in
21389  section\InsetSpace ~
21390
21391 \begin_inset LatexCommand ref
21392 reference "sec:Colored-Tables"
21393
21394 \end_inset
21395
21396 .
21397 \end_layout
21398
21399 \begin_layout Standard
21400 Notes that appear in blue in this document are set using greyed out notes
21401  with blue text.
21402 \end_layout
21403
21404 \begin_layout Standard
21405 \begin_inset VSpace bigskip
21406 \end_inset
21407
21408
21409 \end_layout
21410
21411 \begin_layout Standard
21412 The text style of 
21413 \family sans
21414 Framed
21415 \family default
21416  and 
21417 \family sans
21418 Shaded
21419 \family default
21420  notes can be set in the 
21421 \family sans
21422 Text Style
21423 \family default
21424  dialog.
21425 \end_layout
21426
21427 \begin_layout Standard
21428 The default frame width for 
21429 \family sans
21430 Framed
21431 \family default
21432  notes is 0.4\InsetSpace \thinspace{}
21433 pt; it can be changed by changing the size 
21434 \series bold
21435
21436 \backslash
21437 FrameRule
21438 \series default
21439 .
21440  The default space between the note content and the frame is 9\InsetSpace \thinspace{}
21441 pt; it can
21442  be changed by changing the size 
21443 \series bold
21444
21445 \backslash
21446 FrameSep
21447 \series default
21448 .
21449  For example the frame appearance of the following 
21450 \family sans
21451 Framed
21452 \family default
21453  note is set with the ERT commands
21454 \end_layout
21455
21456 \begin_layout Standard
21457
21458 \series bold
21459
21460 \backslash
21461 FrameRule 5pt 
21462 \backslash
21463 FrameSep 0.5cm
21464 \end_layout
21465
21466 \begin_layout Standard
21467 \begin_inset ERT
21468 status collapsed
21469
21470 \begin_layout Standard
21471
21472
21473 \backslash
21474 FrameRule 5pt 
21475 \backslash
21476 FrameSep 0.5cm
21477 \end_layout
21478
21479 \end_inset
21480
21481
21482 \begin_inset Note Framed
21483 status open
21484
21485 \begin_layout Standard
21486 This is text in a 
21487 \family sans
21488 Framed
21489 \family default
21490  note.
21491 \end_layout
21492
21493 \end_inset
21494
21495
21496 \begin_inset ERT
21497 status collapsed
21498
21499 \begin_layout Standard
21500
21501
21502 \backslash
21503 FrameRule 0.4pt 
21504 \backslash
21505 FrameSep 9pt
21506 \end_layout
21507
21508 \end_inset
21509
21510
21511 \end_layout
21512
21513 \begin_layout Standard
21514 \begin_inset VSpace bigskip
21515 \end_inset
21516
21517
21518 \end_layout
21519
21520 \begin_layout Standard
21521 For 
21522 \family sans
21523 Shaded
21524 \family default
21525  notes the default space between the note content and the note border is
21526  3\InsetSpace \thinspace{}
21527 pt; it can be changed by changing the size 
21528 \series bold
21529
21530 \backslash
21531 fboxsep
21532 \series default
21533 .
21534 \newline
21535 The default background color red can be changed with the command 
21536 \series bold
21537
21538 \backslash
21539 def\SpecialChar \textcompwordmark{}
21540 inecolor{shadebox}
21541 \series default
21542 .
21543  The scheme of the 
21544 \series bold
21545
21546 \backslash
21547 def\SpecialChar \textcompwordmark{}
21548 inecolor
21549 \series default
21550  command is explained in section\InsetSpace ~
21551
21552 \begin_inset LatexCommand ref
21553 reference "sec:Colored-Tables"
21554
21555 \end_inset
21556
21557
21558 \begin_inset Foot
21559 status collapsed
21560
21561 \begin_layout Standard
21562 Note that 
21563 \series bold
21564
21565 \backslash
21566 def
21567 \series default
21568 \SpecialChar \textcompwordmark{}
21569
21570 \series bold
21571 inecolor
21572 \series default
21573  requires the LaTeX-package 
21574 \series bold
21575 color
21576 \series default
21577  in the preamble, see section\InsetSpace ~
21578
21579 \begin_inset LatexCommand ref
21580 reference "sec:Colored-Boxes"
21581
21582 \end_inset
21583
21584 .
21585 \end_layout
21586
21587 \end_inset
21588
21589 .
21590 \end_layout
21591
21592 \begin_layout Standard
21593 For example the appearance of the following 
21594 \family sans
21595 Shaded
21596 \family default
21597  note is set with the ERT commands
21598 \end_layout
21599
21600 \begin_layout Standard
21601
21602 \series bold
21603
21604 \backslash
21605 fboxsep 0.5cm
21606 \series default
21607
21608 \newline
21609
21610 \series bold
21611
21612 \backslash
21613 def\SpecialChar \textcompwordmark{}
21614 inecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
21615 \end_layout
21616
21617 \begin_layout Standard
21618 \begin_inset ERT
21619 status collapsed
21620
21621 \begin_layout Standard
21622
21623
21624 \backslash
21625 fboxsep 0.5cm
21626 \end_layout
21627
21628 \end_inset
21629
21630
21631 \begin_inset ERT
21632 status collapsed
21633
21634 \begin_layout Standard
21635
21636
21637 \backslash
21638 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
21639 \end_layout
21640
21641 \end_inset
21642
21643
21644 \begin_inset Note Shaded
21645 status open
21646
21647 \begin_layout Standard
21648
21649 \color yellow
21650 This is yellow text in a
21651 \color none
21652  
21653 \family sans
21654 \color yellow
21655 Shaded
21656 \family default
21657 \color none
21658  
21659 \color yellow
21660 note with darkgreen background.
21661 \end_layout
21662
21663 \end_inset
21664
21665
21666 \begin_inset ERT
21667 status collapsed
21668
21669 \begin_layout Standard
21670
21671
21672 \backslash
21673 fboxsep 3pt
21674 \end_layout
21675
21676 \end_inset
21677
21678
21679 \begin_inset ERT
21680 status collapsed
21681
21682 \begin_layout Standard
21683
21684
21685 \backslash
21686 definecolor{shadecolor}{rgb}{1,0,0}
21687 \end_layout
21688
21689 \end_inset
21690
21691
21692 \end_layout
21693
21694 \begin_layout Section
21695 Footnotes
21696 \begin_inset LatexCommand label
21697 name "sec:Footnotes"
21698
21699 \end_inset
21700
21701
21702 \begin_inset LatexCommand index
21703 name "Notes ! Footnotes"
21704
21705 \end_inset
21706
21707
21708 \begin_inset LatexCommand index
21709 name "Footnotes"
21710
21711 \end_inset
21712
21713
21714 \end_layout
21715
21716 \begin_layout Standard
21717 Footnotes can be inserted using the toolbar button 
21718 \begin_inset Graphics
21719         filename ../images/footnote-insert.xpm
21720         scale 85
21721
21722 \end_inset
21723
21724  or the menu 
21725 \family sans
21726 Insert\SpecialChar \menuseparator
21727 Footnote
21728 \family default
21729 .
21730  
21731 \family roman
21732 \series medium
21733 \bar no
21734 You'll see
21735 \family default
21736 \series default
21737 \bar default
21738  then the following footnote-box: 
21739 \begin_inset Graphics
21740         filename clipart/footnoteQt4.png
21741         scale 80
21742
21743 \end_inset
21744
21745  
21746 \family roman
21747 \series medium
21748 \bar no
21749 where you can enter the footnote text.
21750  If you want to turn existing text into a footnote, mark it and click on
21751  the footnote
21752 \family default
21753 \series default
21754 \bar default
21755  toolbar 
21756 \family roman
21757 \series medium
21758 \bar no
21759 button
21760 \family default
21761 \series default
21762 \bar default
21763 .
21764 \end_layout
21765
21766 \begin_layout Standard
21767 Here is an example footnote:
21768 \family roman
21769 \series medium
21770 \bar no
21771
21772 \begin_inset Foot
21773 status open
21774
21775 \begin_layout Standard
21776 \begin_inset LatexCommand label
21777 name "foot:This-is-an"
21778
21779 \end_inset
21780
21781 This is an example footnote.
21782 \end_layout
21783
21784 \end_inset
21785
21786
21787 \family default
21788 \series default
21789 \bar default
21790
21791 \begin_inset ERT
21792 status collapsed
21793
21794 \begin_layout Standard
21795
21796
21797 \backslash
21798 newcounter{MyRepeatFoot}
21799 \end_layout
21800
21801 \begin_layout Standard
21802
21803
21804 \backslash
21805 setcounter{MyRepeatFoot}{
21806 \backslash
21807 thefootnote}
21808 \end_layout
21809
21810 \end_inset
21811
21812
21813 \end_layout
21814
21815 \begin_layout Standard
21816 The footnote will appear in the output as a superscript number at the text
21817  position where the footnote box is placed.
21818  The footnote text is placed at the bottom of the current page.
21819  The footnote number is calculated by LaTeX, the numbers are consecutive.
21820  It depends on your document-class, if the footnote number is reset for
21821  every chapter.
21822 \end_layout
21823
21824 \begin_layout Standard
21825 Footnotes can be referenced like floats: Insert a label into the footnote
21826  and cross-reference this label in the text as described in section\InsetSpace ~
21827
21828 \begin_inset LatexCommand ref
21829 reference "sec:Referencing-Floats"
21830
21831 \end_inset
21832
21833 .
21834 \newline
21835 This is a cross-reference of Footnote\InsetSpace ~
21836
21837 \begin_inset LatexCommand ref
21838 reference "foot:This-is-an"
21839
21840 \end_inset
21841
21842 .
21843 \newline
21844
21845 \begin_inset Note Greyedout
21846 status open
21847
21848 \begin_layout Standard
21849
21850 \series bold
21851 Note:
21852 \series default
21853  LyX doesn't provide a prefix for labels in footnotes, so you have to insert
21854  e.\InsetSpace \thinspace{}
21855 g.\InsetSpace ~
21856 the prefix 
21857 \family sans
21858
21859 \begin_inset Quotes eld
21860 \end_inset
21861
21862 foot:
21863 \family default
21864
21865 \begin_inset Quotes erd
21866 \end_inset
21867
21868  manually when you want to use the reference style 
21869 \family sans
21870 Formatted\InsetSpace ~
21871 reference
21872 \family default
21873 .
21874 \end_layout
21875
21876 \end_inset
21877
21878
21879 \end_layout
21880
21881 \begin_layout Standard
21882 \begin_inset VSpace defskip
21883 \end_inset
21884
21885 To use footnotes within tables, you have to use minipages, see section\InsetSpace ~
21886
21887 \begin_inset LatexCommand ref
21888 reference "sec:Minipages"
21889
21890 \end_inset
21891
21892 .
21893  Footnotes within longtables are described in section\InsetSpace ~
21894
21895 \begin_inset LatexCommand ref
21896 reference "sub:Footnotes-in-Longtables"
21897
21898 \end_inset
21899
21900 .
21901 \end_layout
21902
21903 \begin_layout Standard
21904 \begin_inset VSpace defskip
21905 \end_inset
21906
21907 To create only a mark for a footnote, use the command 
21908 \series bold
21909
21910 \backslash
21911 footnotemark[number]
21912 \series default
21913  in ERT.
21914  This is used when you have the same annotation several times in a text
21915  but doesn't want to print the footnote text every time.
21916 \newline
21917 As you don't know
21918  the number of the repeating footnote while you are writing the text, you
21919  have to store its number.
21920  For the following footnote mark example, these commands were inserted in
21921  ERT behind Footnote\InsetSpace ~
21922
21923 \begin_inset LatexCommand ref
21924 reference "foot:This-is-an"
21925
21926 \end_inset
21927
21928  to store the footnote number:
21929 \end_layout
21930
21931 \begin_layout Standard
21932
21933 \series bold
21934
21935 \backslash
21936 newcounter{MyRepeatFoot}
21937 \newline
21938
21939 \backslash
21940 setcounter{MyRepeatFoot}{
21941 \backslash
21942 thefootnote}
21943 \end_layout
21944
21945 \begin_layout Standard
21946 The footnote mark was then created with this command:
21947 \end_layout
21948
21949 \begin_layout Standard
21950
21951 \series bold
21952
21953 \backslash
21954 footnotemark[
21955 \backslash
21956 theMyRepeatFoot]
21957 \end_layout
21958
21959 \begin_layout Standard
21960 Here is an example footnote mark:
21961 \family roman
21962 \series medium
21963 \bar no
21964
21965 \begin_inset ERT
21966 status collapsed
21967
21968 \begin_layout Standard
21969
21970
21971 \backslash
21972 footnotemark[
21973 \backslash
21974 theMyRepeatFoot]
21975 \end_layout
21976
21977 \end_inset
21978
21979
21980 \end_layout
21981
21982 \begin_layout Subsection
21983 Footnote Numbering
21984 \begin_inset LatexCommand label
21985 name "sub:Footnote-Numbering"
21986
21987 \end_inset
21988
21989
21990 \begin_inset LatexCommand index
21991 name "Footnotes ! Numbering"
21992
21993 \end_inset
21994
21995
21996 \end_layout
21997
21998 \begin_layout Standard
21999 To reset the footnote number back to 1 after each section
22000 \family roman
22001 , add this command to your document preamble:
22002 \end_layout
22003
22004 \begin_layout Standard
22005
22006 \series bold
22007
22008 \backslash
22009 @addtoreset{footnote}{section}
22010 \end_layout
22011
22012 \begin_layout Standard
22013 \begin_inset VSpace bigskip
22014 \end_inset
22015
22016 The following preamble command changes the footnote numbering style to small
22017  roman numerals:
22018 \end_layout
22019
22020 \begin_layout Standard
22021
22022 \series bold
22023
22024 \backslash
22025 renewcommand{
22026 \backslash
22027 thefootnote}{
22028 \backslash
22029 roman{footnote}}
22030 \end_layout
22031
22032 \begin_layout Standard
22033 \begin_inset ERT
22034 status collapsed
22035
22036 \begin_layout Standard
22037
22038
22039 \backslash
22040 renewcommand{
22041 \backslash
22042 thefootnote}{
22043 \backslash
22044 roman{footnote}}
22045 \end_layout
22046
22047 \end_inset
22048
22049  This is a footnote with roman numbering:
22050 \begin_inset Foot
22051 status open
22052
22053 \begin_layout Standard
22054 This is an example footnote with roman numbering.
22055 \end_layout
22056
22057 \end_inset
22058
22059
22060 \begin_inset ERT
22061 status collapsed
22062
22063 \begin_layout Standard
22064
22065
22066 \backslash
22067 renewcommand{
22068 \backslash
22069 thefootnote}{
22070 \backslash
22071 arabic{footnote}}
22072 \end_layout
22073
22074 \end_inset
22075
22076
22077 \end_layout
22078
22079 \begin_layout Standard
22080 To change the numbering style to capital roman numerals replace in the command
22081  above 
22082 \series bold
22083
22084 \backslash
22085 roman
22086 \series default
22087  by 
22088 \series bold
22089
22090 \backslash
22091 Roman
22092 \series default
22093 .
22094  To 
22095 \begin_inset Quotes eld
22096 \end_inset
22097
22098 number
22099 \begin_inset Quotes erd
22100 \end_inset
22101
22102  footnotes with capital or small Latin letters use 
22103 \series bold
22104
22105 \backslash
22106 Alph
22107 \series default
22108  or 
22109 \series bold
22110
22111 \backslash
22112 alph
22113 \series default
22114 , respectively.
22115  To 
22116 \begin_inset Quotes eld
22117 \end_inset
22118
22119 number
22120 \begin_inset Quotes erd
22121 \end_inset
22122
22123  footnotes with symbols use 
22124 \series bold
22125
22126 \backslash
22127 fnsymbol
22128 \series default
22129 .
22130 \end_layout
22131
22132 \begin_layout Standard
22133 \begin_inset Note Greyedout
22134 status open
22135
22136 \begin_layout Standard
22137
22138 \series bold
22139 Note:
22140 \series default
22141  You can only number 26 footnotes with Latin letters, because this numbering
22142  is limited to single letters.
22143 \end_layout
22144
22145 \end_inset
22146
22147
22148 \newline
22149
22150 \begin_inset Note Greyedout
22151 status open
22152
22153 \begin_layout Standard
22154
22155 \series bold
22156 Note:
22157 \series default
22158  You can only number 9 footnotes with symbols.
22159 \end_layout
22160
22161 \end_inset
22162
22163
22164 \end_layout
22165
22166 \begin_layout Standard
22167 To return to the default numbering style when you changed to another one,
22168  use 
22169 \series bold
22170
22171 \backslash
22172 arabic
22173 \series default
22174  instead of 
22175 \series bold
22176
22177 \backslash
22178 roman
22179 \series default
22180  in the command above.
22181 \end_layout
22182
22183 \begin_layout Standard
22184 \begin_inset VSpace bigskip
22185 \end_inset
22186
22187
22188 \end_layout
22189
22190 \begin_layout Standard
22191 If you want to have footnotes numbered in the scheme 
22192 \begin_inset Quotes eld
22193 \end_inset
22194
22195 chapter.footnote
22196 \begin_inset Quotes erd
22197 \end_inset
22198
22199 , add the following command to your document preamble:
22200 \end_layout
22201
22202 \begin_layout Standard
22203
22204 \series bold
22205
22206 \backslash
22207 numberwithin{footnote}{chapter}
22208 \end_layout
22209
22210 \begin_layout Standard
22211 To be able to use the command 
22212 \series bold
22213
22214 \backslash
22215 numberwithin
22216 \series default
22217 , set in the tab 
22218 \family sans
22219 Math\InsetSpace ~
22220 Options
22221 \family default
22222  in the document settings the option 
22223 \family sans
22224 Use\InsetSpace ~
22225 AMS\InsetSpace ~
22226 math\InsetSpace ~
22227 package
22228 \family default
22229 .
22230 \end_layout
22231
22232 \begin_layout Standard
22233 \begin_inset ERT
22234 status collapsed
22235
22236 \begin_layout Standard
22237
22238
22239 \backslash
22240 numberwithin{footnote}{chapter}
22241 \end_layout
22242
22243 \end_inset
22244
22245 This is another example footnote:
22246 \series bold
22247
22248 \begin_inset Foot
22249 status open
22250
22251 \begin_layout Standard
22252 This is a footnote numbered in the scheme 
22253 \begin_inset Quotes eld
22254 \end_inset
22255
22256 chapter.footnote
22257 \begin_inset Quotes erd
22258 \end_inset
22259
22260 .
22261 \end_layout
22262
22263 \end_inset
22264
22265
22266 \series default
22267
22268 \begin_inset ERT
22269 status collapsed
22270
22271 \begin_layout Standard
22272
22273
22274 \backslash
22275 numberwithin{footnote}{part}
22276 \end_layout
22277
22278 \end_inset
22279
22280
22281 \end_layout
22282
22283 \begin_layout Standard
22284 \begin_inset Note Greyedout
22285 status open
22286
22287 \begin_layout Standard
22288
22289 \series bold
22290 Note:
22291 \series default
22292  
22293 \series bold
22294
22295 \backslash
22296 numberwithin
22297 \series default
22298  always prints out the footnote number as arabic number; previous redefinitions
22299  to get non-arabic numbers are overwritten.
22300 \end_layout
22301
22302 \end_inset
22303
22304
22305 \end_layout
22306
22307 \begin_layout Standard
22308 So to get for example the scheme 
22309 \begin_inset Quotes eld
22310 \end_inset
22311
22312 chapter.
22313 \backslash
22314 Roman{footnote}
22315 \begin_inset Quotes erd
22316 \end_inset
22317
22318 , use this command instead of 
22319 \series bold
22320
22321 \backslash
22322 numberwithin
22323 \series default
22324 :
22325 \end_layout
22326
22327 \begin_layout Standard
22328
22329 \series bold
22330
22331 \backslash
22332 renewcommand{
22333 \backslash
22334 thefootnote}{
22335 \backslash
22336 thechapter.
22337 \backslash
22338 Roman{footnote}}
22339 \end_layout
22340
22341 \begin_layout Subsection
22342 Footnote Placement
22343 \begin_inset LatexCommand index
22344 name "Footnotes ! Placement"
22345
22346 \end_inset
22347
22348
22349 \end_layout
22350
22351 \begin_layout Standard
22352 If you have several footnotes in one page, they appear without vertical
22353  space between them at the bottom of the page.
22354  To make them better readable you can e.\InsetSpace \thinspace{}
22355 g.\InsetSpace ~
22356 add 1.5\InsetSpace \thinspace{}
22357 mm space with the following
22358  preamble command:
22359 \end_layout
22360
22361 \begin_layout Standard
22362
22363 \series bold
22364
22365 \backslash
22366 let
22367 \backslash
22368 myFoot
22369 \backslash
22370 footnote
22371 \newline
22372
22373 \backslash
22374 renewcommand{
22375 \backslash
22376 footnote}[1]{
22377 \backslash
22378 myFoot{#1
22379 \backslash
22380 vspace{1.5mm}}}
22381 \end_layout
22382
22383 \begin_layout Standard
22384 \begin_inset VSpace bigskip
22385 \end_inset
22386
22387 In a two-column document the footnotes appear at the bottom of every column,
22388  see Figure\InsetSpace ~
22389
22390 \begin_inset LatexCommand ref
22391 reference "fig:Standard-footnote-placement"
22392
22393 \end_inset
22394
22395 .
22396  If the footnotes should only appear at the bottom of the right column,
22397  as in Figure\InsetSpace ~
22398
22399 \begin_inset LatexCommand ref
22400 reference "fig:Footnote-placement-in"
22401
22402 \end_inset
22403
22404 , use the LaTeX-package 
22405 \series bold
22406 ftnright
22407 \series default
22408
22409 \begin_inset LatexCommand index
22410 name "LaTeX-packages ! ftnright"
22411
22412 \end_inset
22413
22414  with this command in the document preamble:
22415 \end_layout
22416
22417 \begin_layout Standard
22418
22419 \series bold
22420
22421 \backslash
22422 usepackage{ftnright}
22423 \end_layout
22424
22425 \begin_layout Standard
22426 \begin_inset Float figure
22427 placement !h
22428 wide false
22429 sideways false
22430 status open
22431
22432 \begin_layout Standard
22433 \begin_inset ERT
22434 status collapsed
22435
22436 \begin_layout Standard
22437
22438
22439 \backslash
22440 framebox{
22441 \end_layout
22442
22443 \end_inset
22444
22445
22446 \begin_inset Graphics
22447         filename clipart/without_fntright.pdf
22448         width 100col%
22449
22450 \end_inset
22451
22452
22453 \begin_inset ERT
22454 status collapsed
22455
22456 \begin_layout Standard
22457
22458 }
22459 \end_layout
22460
22461 \end_inset
22462
22463
22464 \end_layout
22465
22466 \begin_layout Standard
22467 \begin_inset Caption
22468
22469 \begin_layout Standard
22470 \begin_inset LatexCommand label
22471 name "fig:Standard-footnote-placement"
22472
22473 \end_inset
22474
22475 Standard footnote placement in two-column documents.
22476 \end_layout
22477
22478 \end_inset
22479
22480
22481 \end_layout
22482
22483 \end_inset
22484
22485
22486 \end_layout
22487
22488 \begin_layout Standard
22489 \begin_inset Float figure
22490 placement !h
22491 wide false
22492 sideways false
22493 status open
22494
22495 \begin_layout Standard
22496 \begin_inset ERT
22497 status collapsed
22498
22499 \begin_layout Standard
22500
22501
22502 \backslash
22503 framebox{
22504 \end_layout
22505
22506 \end_inset
22507
22508
22509 \begin_inset Graphics
22510         filename clipart/with_fntright.pdf
22511         width 100col%
22512
22513 \end_inset
22514
22515
22516 \begin_inset ERT
22517 status collapsed
22518
22519 \begin_layout Standard
22520
22521 }
22522 \end_layout
22523
22524 \end_inset
22525
22526
22527 \end_layout
22528
22529 \begin_layout Standard
22530 \begin_inset Caption
22531
22532 \begin_layout Standard
22533 \begin_inset LatexCommand label
22534 name "fig:Footnote-placement-in"
22535
22536 \end_inset
22537
22538 Footnote placement in two-column documents when the LaTeX-package 
22539 \series bold
22540 ftnright
22541 \series default
22542  is used.
22543 \end_layout
22544
22545 \end_inset
22546
22547
22548 \end_layout
22549
22550 \end_inset
22551
22552
22553 \end_layout
22554
22555 \begin_layout Standard
22556 \begin_inset VSpace bigskip
22557 \end_inset
22558
22559 In some scientific literature it is usual to collect the footnotes and print
22560  them in a separate paragraph at the the end of a section, like in Figure\InsetSpace ~
22561
22562 \begin_inset LatexCommand ref
22563 reference "fig:Endnotes----footnotes"
22564
22565 \end_inset
22566
22567 .
22568  They are then so called 
22569 \begin_inset Quotes eld
22570 \end_inset
22571
22572 endnotes
22573 \begin_inset Quotes erd
22574 \end_inset
22575
22576 .
22577  To use endnotes instead of footnotes in your document, load the LaTeX-package
22578  
22579 \series bold
22580 endnotes
22581 \series default
22582
22583 \begin_inset LatexCommand index
22584 name "LaTeX-packages ! endnotes"
22585
22586 \end_inset
22587
22588  with the document preamble lines
22589 \end_layout
22590
22591 \begin_layout Standard
22592
22593 \series bold
22594
22595 \backslash
22596 usepackage{endnotes}
22597 \newline
22598
22599 \backslash
22600 let
22601 \backslash
22602 footnote
22603 \backslash
22604 endnote
22605 \end_layout
22606
22607 \begin_layout Standard
22608 To insert the collected footnotes, insert the command
22609 \end_layout
22610
22611 \begin_layout Standard
22612
22613 \series bold
22614
22615 \backslash
22616 theendnotes
22617 \end_layout
22618
22619 \begin_layout Standard
22620 in ERT at the the end of a section or chapter.
22621 \end_layout
22622
22623 \begin_layout Standard
22624 \begin_inset Float figure
22625 wide false
22626 sideways false
22627 status open
22628
22629 \begin_layout Standard
22630 \align center
22631 \begin_inset ERT
22632 status collapsed
22633
22634 \begin_layout Standard
22635
22636
22637 \backslash
22638 framebox{
22639 \end_layout
22640
22641 \end_inset
22642
22643
22644 \begin_inset Graphics
22645         filename clipart/endnotes.pdf
22646
22647 \end_inset
22648
22649
22650 \begin_inset ERT
22651 status collapsed
22652
22653 \begin_layout Standard
22654
22655 }
22656 \end_layout
22657
22658 \end_inset
22659
22660
22661 \end_layout
22662
22663 \begin_layout Standard
22664 \begin_inset Caption
22665
22666 \begin_layout Standard
22667 \begin_inset LatexCommand label
22668 name "fig:Endnotes----footnotes"
22669
22670 \end_inset
22671
22672 Endnotes -- footnotes are printed in a separate paragraph at the end of
22673  sections or chapters.
22674 \end_layout
22675
22676 \end_inset
22677
22678
22679 \end_layout
22680
22681 \end_inset
22682
22683
22684 \end_layout
22685
22686 \begin_layout Standard
22687 \begin_inset VSpace defskip
22688 \end_inset
22689
22690 The paragraph heading for the endnotes isn't automatically translated into
22691  the document language, this must be done manually.
22692  The following preamble command translate the default English name 
22693 \begin_inset Quotes eld
22694 \end_inset
22695
22696 Notes
22697 \begin_inset Quotes erd
22698 \end_inset
22699
22700  to the German translation 
22701 \begin_inset Quotes eld
22702 \end_inset
22703
22704 Anmerkungen
22705 \begin_inset Quotes erd
22706 \end_inset
22707
22708 :
22709 \end_layout
22710
22711 \begin_layout Standard
22712
22713 \series bold
22714
22715 \backslash
22716 renewcommand{
22717 \backslash
22718 notesname}{Anmerkungen}
22719 \end_layout
22720
22721 \begin_layout Standard
22722 \begin_inset VSpace defskip
22723 \end_inset
22724
22725 The numbering of endnotes can be changed like the footnote numbering as
22726  described in section\InsetSpace ~
22727
22728 \begin_inset LatexCommand ref
22729 reference "sub:Footnote-Numbering"
22730
22731 \end_inset
22732
22733 ; just replace the command 
22734 \series bold
22735
22736 \backslash
22737 thefootnote
22738 \series default
22739  by 
22740 \series bold
22741
22742 \backslash
22743 theendnote
22744 \series default
22745 .
22746  To reset the endnote number use the command 
22747 \series bold
22748
22749 \backslash
22750 @addtoreset
22751 \series default
22752  as described in section\InsetSpace ~
22753
22754 \begin_inset LatexCommand ref
22755 reference "sub:Footnote-Numbering"
22756
22757 \end_inset
22758
22759  and replace the command parameter 
22760 \series bold
22761 footnote
22762 \series default
22763  by 
22764 \series bold
22765 endnote
22766 \series default
22767 .
22768 \end_layout
22769
22770 \begin_layout Standard
22771 To create only a mark for an endnote, use the command 
22772 \series bold
22773
22774 \backslash
22775 endnotemark[number]
22776 \series default
22777  similar to the command 
22778 \series bold
22779
22780 \backslash
22781 footnotemark
22782 \series default
22783 , described in section\InsetSpace ~
22784
22785 \begin_inset LatexCommand ref
22786 reference "sec:Footnotes"
22787
22788 \end_inset
22789
22790 .
22791 \end_layout
22792
22793 \begin_layout Standard
22794 \begin_inset VSpace bigskip
22795 \end_inset
22796
22797 Footnotes can also be placed in the page margin and the footnote text alignment
22798  can be changed, see the LaTeX-package 
22799 \series bold
22800 footmisc
22801 \series default
22802
22803 \begin_inset LatexCommand index
22804 name "LaTeX-packages ! footmisc"
22805
22806 \end_inset
22807
22808
22809 \begin_inset LatexCommand cite
22810 key "footmisc"
22811
22812 \end_inset
22813
22814  for more information about this.
22815 \end_layout
22816
22817 \begin_layout Standard
22818 For various further footnote formatting issues have a look at LaTeX-books,
22819  
22820 \begin_inset LatexCommand cite
22821 key "latexcompanion,latexguide,latexbook"
22822
22823 \end_inset
22824
22825 .
22826 \end_layout
22827
22828 \begin_layout Section
22829 Margin Notes
22830 \begin_inset LatexCommand index
22831 name "Notes ! Margin Notes"
22832
22833 \end_inset
22834
22835
22836 \end_layout
22837
22838 \begin_layout Standard
22839 Margin notes look and behave in LyX like footnotes.
22840  They are inserted via the menu 
22841 \family sans
22842 Insert\SpecialChar \menuseparator
22843 Marginal\InsetSpace ~
22844 Note
22845 \family default
22846  or the toolbar button 
22847 \begin_inset Graphics
22848         filename ../images/marginalnote-insert.xpm
22849         scale 85
22850
22851 \end_inset
22852
22853 .
22854  A grey 
22855 \family roman
22856 \series medium
22857 box with the
22858 \family default
22859 \series default
22860  red 
22861 \family roman
22862 \series medium
22863 label 
22864 \begin_inset Quotes eld
22865 \end_inset
22866
22867 margin
22868 \begin_inset Quotes erd
22869 \end_inset
22870
22871  appears where you can enter the text of the margin note.
22872 \end_layout
22873
22874 \begin_layout Standard
22875 At the side is an example margin note.
22876 \family roman
22877 \series medium
22878
22879 \begin_inset Marginal
22880 status open
22881
22882 \begin_layout Standard
22883 This is a margin note.
22884 \end_layout
22885
22886 \end_inset
22887
22888
22889 \end_layout
22890
22891 \begin_layout Standard
22892 Margin notes appear at the right side in single-sided documents.
22893  In double-sided documents they appear in the outer margin -- left on even
22894  pages, right on odd pages.
22895  The text of margin notes is aligned opposite to the outer margin -- right-align
22896 ed when the note appears in the left margin.
22897  The first line of the margin note is placed at the position of the text
22898  line where it is inserted in the document.
22899 \end_layout
22900
22901 \begin_layout Standard
22902 \begin_inset VSpace bigskip
22903 \end_inset
22904
22905 To place the margin note in the inner margin, add the command
22906 \end_layout
22907
22908 \begin_layout Standard
22909
22910 \series bold
22911
22912 \backslash
22913 reversemarginpar
22914 \end_layout
22915
22916 \begin_layout Standard
22917 in ERT before a margin note.
22918  The new placement is valid for all following margin notes.
22919 \begin_inset ERT
22920 status collapsed
22921
22922 \begin_layout Standard
22923
22924
22925 \backslash
22926 reversemarginpar 
22927 \end_layout
22928
22929 \end_inset
22930
22931
22932 \begin_inset Marginal
22933 status open
22934
22935 \begin_layout Standard
22936 This is a margin note in the inner margin.
22937 \end_layout
22938
22939 \end_inset
22940
22941
22942 \series bold
22943
22944 \newline
22945
22946 \series default
22947
22948 \begin_inset Note Greyedout
22949 status open
22950
22951 \begin_layout Standard
22952
22953 \series bold
22954 Note:
22955 \series default
22956  There is often not enough space in the inner margin so that the notes are
22957  not correctly displayed in the output.
22958 \end_layout
22959
22960 \end_inset
22961
22962
22963 \end_layout
22964
22965 \begin_layout Standard
22966 \begin_inset ERT
22967 status collapsed
22968
22969 \begin_layout Standard
22970
22971
22972 \backslash
22973 normalmarginpar 
22974 \end_layout
22975
22976 \end_inset
22977
22978 To return to the default placement insert the command
22979 \end_layout
22980
22981 \begin_layout Standard
22982
22983 \series bold
22984
22985 \backslash
22986 normalmarginpar
22987 \end_layout
22988
22989 \begin_layout Standard
22990 in ERT.
22991  
22992 \begin_inset Note Greyedout
22993 status open
22994
22995 \begin_layout Standard
22996
22997 \series bold
22998 Note:
22999 \series default
23000  The command is ignored when it is within a paragraph where also the command
23001  
23002 \series bold
23003
23004 \backslash
23005 reversemarginpar
23006 \series default
23007  is inserted.
23008 \end_layout
23009
23010 \end_inset
23011
23012
23013 \end_layout
23014
23015 \begin_layout Standard
23016 \begin_inset VSpace bigskip
23017 \end_inset
23018
23019
23020 \family roman
23021 \series medium
23022
23023 \begin_inset Marginal
23024 status open
23025
23026 \begin_layout Standard
23027 AVeryLongMarginParWord that isn't hyphenated.
23028 \end_layout
23029
23030 \end_inset
23031
23032
23033 \family default
23034 \series default
23035 Similar to the case described in section\InsetSpace ~
23036
23037 \begin_inset LatexCommand ref
23038 reference "sub:Multiple-Lines-in"
23039
23040 \end_inset
23041
23042 , long words cannot be hyphenated when they are the first word in a margin
23043  note.
23044  To avoid this, insert the command
23045 \end_layout
23046
23047 \begin_layout Standard
23048
23049 \series bold
23050
23051 \backslash
23052 hspace{0pt}
23053 \end_layout
23054
23055 \begin_layout Standard
23056 in ERT before the word
23057 \family roman
23058 \series medium
23059 .
23060 \begin_inset Marginal
23061 status open
23062
23063 \begin_layout Standard
23064 \begin_inset ERT
23065 status collapsed
23066
23067 \begin_layout Standard
23068
23069
23070 \backslash
23071 hspace{0pt}
23072 \end_layout
23073
23074 \end_inset
23075
23076 AVeryLongMarginParWord that is hyphenated.
23077 \end_layout
23078
23079 \end_inset
23080
23081
23082 \end_layout
23083
23084 \begin_layout Standard
23085 \begin_inset VSpace bigskip
23086 \end_inset
23087
23088
23089 \end_layout
23090
23091 \begin_layout Standard
23092 \begin_inset Note Greyedout
23093 status open
23094
23095 \begin_layout Standard
23096
23097 \series bold
23098 Note:
23099 \series default
23100  Margin notes can normally not be used inside tables, floats, and footnotes.
23101 \end_layout
23102
23103 \end_inset
23104
23105
23106 \end_layout
23107
23108 \begin_layout Standard
23109 \begin_inset VSpace bigskip
23110 \end_inset
23111
23112
23113 \end_layout
23114
23115 \begin_layout Standard
23116 \begin_inset ERT
23117 status collapsed
23118
23119 \begin_layout Standard
23120
23121
23122 \backslash
23123 ifmarginnote
23124 \end_layout
23125
23126 \end_inset
23127
23128
23129 \begin_inset Note Note
23130 status open
23131
23132 \begin_layout Standard
23133 The following section will only be displayed when you have the LaTeX-package
23134  
23135 \series bold
23136 marginnote
23137 \series default
23138  is installed.
23139 \end_layout
23140
23141 \end_inset
23142
23143
23144 \end_layout
23145
23146 \begin_layout Standard
23147 This restriction can be evaded by using the LaTeX-package 
23148 \series bold
23149 marginnote
23150 \series default
23151
23152 \begin_inset LatexCommand index
23153 name "LaTeX-packages ! marginnote"
23154
23155 \end_inset
23156
23157 .
23158  By adding these two lines to your document preamble, the command used by
23159  LyX for margin notes is redefined to use the command provided by the 
23160 \series bold
23161 marginnote
23162 \series default
23163 -package:
23164 \end_layout
23165
23166 \begin_layout Standard
23167
23168 \series bold
23169
23170 \backslash
23171 usepackage{marginnote}
23172 \newline
23173
23174 \backslash
23175 let
23176 \backslash
23177 marginpar
23178 \backslash
23179 marginnote
23180 \end_layout
23181
23182 \begin_layout Standard
23183 This is also used in this document because 
23184 \series bold
23185 marginnote
23186 \series default
23187  has another useful feature: You can set a vertical offset for the note.
23188  This is often needed when too many margin notes are too close together
23189  or for a better page layout.
23190  The offset is set in LyX as ERT directly behind the margin note in the
23191  scheme
23192 \end_layout
23193
23194 \begin_layout Standard
23195
23196 \series bold
23197 [offset]
23198 \end_layout
23199
23200 \begin_layout Standard
23201 where the offset is a length with one of the units listed in Table\InsetSpace ~
23202
23203 \begin_inset LatexCommand ref
23204 reference "tab:Units"
23205
23206 \end_inset
23207
23208 .
23209  A negative value shifts the note up, a positive value shifts it down.
23210  
23211 \family roman
23212 \series medium
23213 For example the margin note beside this text line is shifted up 1.5\InsetSpace \thinspace{}
23214 cm with
23215  the ERT-command 
23216 \begin_inset Quotes eld
23217 \end_inset
23218
23219
23220 \family default
23221 \series bold
23222 [-1.5cm]
23223 \family roman
23224 \series medium
23225
23226 \begin_inset Quotes erd
23227 \end_inset
23228
23229
23230 \begin_inset Marginal
23231 status open
23232
23233 \begin_layout Standard
23234 This margin note is shifted up 1.5\InsetSpace \thinspace{}
23235 cm from its original position.
23236 \end_layout
23237
23238 \end_inset
23239
23240
23241 \family default
23242 \series default
23243
23244 \begin_inset ERT
23245 status collapsed
23246
23247 \begin_layout Standard
23248
23249 [-1.5cm]
23250 \end_layout
23251
23252 \end_inset
23253
23254
23255 \end_layout
23256
23257 \begin_layout Standard
23258 \begin_inset VSpace defskip
23259 \end_inset
23260
23261 With 
23262 \series bold
23263 marginnote
23264 \series default
23265  you can also change the alignment of the text in the margin note.
23266  For example the commands
23267 \end_layout
23268
23269 \begin_layout Standard
23270
23271 \series bold
23272
23273 \backslash
23274 renewcommand*{
23275 \backslash
23276 raggedleftmarginnote}{
23277 \backslash
23278 centering}
23279 \newline
23280
23281 \backslash
23282 renewcommand*{
23283 \backslash
23284 raggedrightmarginnote}{
23285 \backslash
23286 centering}
23287 \end_layout
23288
23289 \begin_layout Standard
23290 set the alignment to centered.
23291  
23292 \series bold
23293
23294 \backslash
23295 raggedleftmarginnote
23296 \series default
23297  denotes margin notes that appear at the left side.
23298 \family roman
23299 \series medium
23300
23301 \begin_inset ERT
23302 status collapsed
23303
23304 \begin_layout Standard
23305
23306
23307 \backslash
23308 renewcommand*{
23309 \backslash
23310 raggedleftmarginnote}{
23311 \backslash
23312 centering}
23313 \end_layout
23314
23315 \begin_layout Standard
23316
23317
23318 \backslash
23319 renewcommand*{
23320 \backslash
23321 raggedrightmarginnote}{
23322 \backslash
23323 centering}
23324 \end_layout
23325
23326 \end_inset
23327
23328
23329 \begin_inset Marginal
23330 status open
23331
23332 \begin_layout Standard
23333 The text of this margin note is centered.
23334 \end_layout
23335
23336 \end_inset
23337
23338
23339 \family default
23340 \series default
23341  The default is
23342 \end_layout
23343
23344 \begin_layout Standard
23345
23346 \series bold
23347
23348 \backslash
23349 renewcommand*{
23350 \backslash
23351 raggedleftmarginnote}{
23352 \backslash
23353 raggedleft}
23354 \newline
23355
23356 \backslash
23357 renewcommand*{
23358 \backslash
23359 raggedrightmarginnote}{
23360 \backslash
23361 raggedright}
23362 \family roman
23363 \series medium
23364
23365 \begin_inset ERT
23366 status collapsed
23367
23368 \begin_layout Standard
23369
23370
23371 \backslash
23372 renewcommand*{
23373 \backslash
23374 raggedleftmarginnote}{
23375 \backslash
23376 raggedleft}
23377 \end_layout
23378
23379 \begin_layout Standard
23380
23381
23382 \backslash
23383 renewcommand*{
23384 \backslash
23385 raggedrightmarginnote}{
23386 \backslash
23387 raggedright}
23388 \end_layout
23389
23390 \end_inset
23391
23392
23393 \end_layout
23394
23395 \begin_layout Standard
23396 \begin_inset VSpace defskip
23397 \end_inset
23398
23399 For the other features of 
23400 \series bold
23401 marginnote
23402 \series default
23403  we refer to its documentation 
23404 \begin_inset LatexCommand cite
23405 key "marginnote"
23406
23407 \end_inset
23408
23409 .
23410 \end_layout
23411
23412 \begin_layout Standard
23413 \begin_inset VSpace bigskip
23414 \end_inset
23415
23416 You can change the layout of margin notes by redefining its definition.
23417  To create for example a header for all margin notes with the underlined,
23418  sans-serif, and bold header text 
23419 \begin_inset Quotes eld
23420 \end_inset
23421
23422
23423 \family sans
23424 \series bold
23425 \bar under
23426 Attention!
23427 \family default
23428 \series default
23429 \bar default
23430
23431 \begin_inset Quotes erd
23432 \end_inset
23433
23434 , add this to your document preamble:
23435 \end_layout
23436
23437 \begin_layout Standard
23438
23439 \series bold
23440
23441 \backslash
23442 let
23443 \backslash
23444 myMarginpar
23445 \backslash
23446 marginpar
23447 \newline
23448
23449 \backslash
23450 renewcommand{
23451 \backslash
23452 marginpar}[1]{
23453 \backslash
23454 myMarginpar{%
23455 \newline
23456
23457 \begin_inset ERT
23458 status collapsed
23459
23460 \begin_layout Standard
23461
23462
23463 \backslash
23464 hphantom{ }
23465 \end_layout
23466
23467 \end_inset
23468
23469
23470 \backslash
23471 hspace{0pt}
23472 \backslash
23473 textsf{
23474 \backslash
23475 textbf{
23476 \backslash
23477 underbar{Attention!}}}%
23478 \newline
23479
23480 \begin_inset ERT
23481 status collapsed
23482
23483 \begin_layout Standard
23484
23485
23486 \backslash
23487 hphantom{ }
23488 \end_layout
23489
23490 \end_inset
23491
23492
23493 \backslash
23494 vspace{1.5mm}
23495 \backslash
23496
23497 \backslash
23498 #1}}
23499 \end_layout
23500
23501 \begin_layout Standard
23502
23503 \family roman
23504 \series medium
23505 \begin_inset ERT
23506 status collapsed
23507
23508 \begin_layout Standard
23509
23510
23511 \backslash
23512 let
23513 \backslash
23514 myMarginpar
23515 \backslash
23516 marginpar
23517 \end_layout
23518
23519 \begin_layout Standard
23520
23521
23522 \backslash
23523 renewcommand{
23524 \backslash
23525 marginpar}[1]{
23526 \backslash
23527 myMarginpar{%
23528 \end_layout
23529
23530 \begin_layout Standard
23531
23532    
23533 \backslash
23534 textsf{
23535 \backslash
23536 textbf{
23537 \backslash
23538 underbar{Attention!}}}%
23539 \end_layout
23540
23541 \begin_layout Standard
23542
23543    
23544 \backslash
23545 vspace{1.5mm}
23546 \backslash
23547
23548 \backslash
23549 #1}}
23550 \end_layout
23551
23552 \end_inset
23553
23554
23555 \begin_inset Marginal
23556 status open
23557
23558 \begin_layout Standard
23559 This is a margin note with a defined heading.
23560 \end_layout
23561
23562 \end_inset
23563
23564
23565 \family default
23566 \series default
23567
23568 \begin_inset ERT
23569 status collapsed
23570
23571 \begin_layout Standard
23572
23573 [-1.5cm]
23574 \end_layout
23575
23576 \end_inset
23577
23578
23579 \family roman
23580 \series medium
23581
23582 \begin_inset ERT
23583 status collapsed
23584
23585 \begin_layout Standard
23586
23587
23588 \backslash
23589 renewcommand{
23590 \backslash
23591 marginpar}[1]{
23592 \backslash
23593 myMarginpar{#1}}
23594 \end_layout
23595
23596 \end_inset
23597
23598
23599 \family default
23600 \series default
23601
23602 \begin_inset Note Note
23603 status collapsed
23604
23605 \begin_layout Standard
23606 The margin note format is changed only for this example.
23607 \end_layout
23608
23609 \end_inset
23610
23611
23612 \end_layout
23613
23614 \begin_layout Standard
23615 \begin_inset ERT
23616 status collapsed
23617
23618 \begin_layout Standard
23619
23620
23621 \backslash
23622 else
23623 \end_layout
23624
23625 \end_inset
23626
23627
23628 \begin_inset Note Note
23629 status open
23630
23631 \begin_layout Standard
23632 The following will be displayed when the LaTeX-package 
23633 \series bold
23634 marginnote
23635 \series default
23636  is not installed:
23637 \end_layout
23638
23639 \end_inset
23640
23641
23642 \end_layout
23643
23644 \begin_layout Standard
23645 You need to install the LaTeX-package 
23646 \series bold
23647 marginnote
23648 \series default
23649  to see the following part of this section in the output.
23650 \end_layout
23651
23652 \begin_layout Standard
23653 \begin_inset ERT
23654 status collapsed
23655
23656 \begin_layout Standard
23657
23658
23659 \backslash
23660 fi
23661 \end_layout
23662
23663 \end_inset
23664
23665
23666 \end_layout
23667
23668 \begin_layout Chapter
23669 Boxes
23670 \end_layout
23671
23672 \begin_layout Section
23673 Introduction
23674 \begin_inset LatexCommand index
23675 name "Boxes ! Introduction"
23676
23677 \end_inset
23678
23679
23680 \end_layout
23681
23682 \begin_layout Standard
23683 Boxes are used to format a block of text.
23684  Boxes can be used to write documents with multiple languages, see section\InsetSpace ~
23685
23686 \begin_inset LatexCommand ref
23687 reference "sec:Minipages"
23688
23689 \end_inset
23690
23691 , to frame texts, see section\InsetSpace ~
23692
23693 \begin_inset LatexCommand ref
23694 reference "sec:Framed-Boxes"
23695
23696 \end_inset
23697
23698 , to prevent words to be hyphenated, see section\InsetSpace ~
23699
23700 \begin_inset LatexCommand ref
23701 reference "sec:Prevent-Hyphenation"
23702
23703 \end_inset
23704
23705 , to align text, see section\InsetSpace ~
23706
23707 \begin_inset LatexCommand ref
23708 reference "sub:Vertical-Alignment"
23709
23710 \end_inset
23711
23712 , or to set the background color of texts, see section\InsetSpace ~
23713
23714 \begin_inset LatexCommand ref
23715 reference "sec:Colored-Boxes"
23716
23717 \end_inset
23718
23719 .
23720 \end_layout
23721
23722 \begin_layout Standard
23723 Boxes can be inserted with the menu 
23724 \family sans
23725 Insert\SpecialChar \menuseparator
23726 Box
23727 \family default
23728 .
23729  A grey box with the label 
23730 \family sans
23731 Box (Minipage)
23732 \family default
23733
23734 \begin_inset Graphics
23735         filename clipart/BoxInsetDefaultQt4.png
23736         scale 85
23737
23738 \end_inset
23739
23740 , will be inserted.
23741  The box type can be specified by right-clicking on the box.
23742  The appearing box dialog offers the 
23743 \family sans
23744 Inner\InsetSpace ~
23745 Box
23746 \family default
23747  types 
23748 \family sans
23749 Parbox
23750 \family default
23751  and 
23752 \family sans
23753 Minipage
23754 \family default
23755 .
23756  The type 
23757 \family sans
23758 Minipage
23759 \family default
23760  is the default for new boxes and is explained in section\InsetSpace ~
23761
23762 \begin_inset LatexCommand ref
23763 reference "sec:Minipages"
23764
23765 \end_inset
23766
23767 ; the type 
23768 \family sans
23769 Parbox
23770 \family default
23771  is described in section\InsetSpace ~
23772
23773 \begin_inset LatexCommand ref
23774 reference "sec:Parboxes"
23775
23776 \end_inset
23777
23778 .
23779 \end_layout
23780
23781 \begin_layout Standard
23782 Boxes aren't numbered and can therefore not be referenced like floats or
23783  footnotes.
23784 \end_layout
23785
23786 \begin_layout Standard
23787 \begin_inset Note Greyedout
23788 status open
23789
23790 \begin_layout Standard
23791
23792 \series bold
23793 Note:
23794 \series default
23795  Due to a bug in LyX you have to insert a protected space behind a box when
23796  you want to separate in a line the box from the following text with a space.
23797 \end_layout
23798
23799 \end_inset
23800
23801
23802 \end_layout
23803
23804 \begin_layout Standard
23805 \begin_inset Note Greyedout
23806 status open
23807
23808 \begin_layout Standard
23809
23810 \series bold
23811 Note:
23812 \series default
23813  Boxes must not be the item in an 
23814 \family sans
23815 Itemize
23816 \family default
23817  or 
23818 \family sans
23819 Description
23820 \family default
23821  environment.
23822 \end_layout
23823
23824 \end_inset
23825
23826
23827 \end_layout
23828
23829 \begin_layout Standard
23830 \begin_inset Note Greyedout
23831 status open
23832
23833 \begin_layout Standard
23834
23835 \series bold
23836 Note:
23837 \series default
23838  For an unknown reason you can only set the 
23839 \family sans
23840 Inner\InsetSpace ~
23841 Box
23842 \family default
23843  type to 
23844 \family sans
23845 None
23846 \family default
23847  when you use a framed box.
23848  Boxes without an 
23849 \family sans
23850 Inner\InsetSpace ~
23851 Box
23852 \family default
23853  type and without frames are explained in section\InsetSpace ~
23854
23855 \begin_inset LatexCommand ref
23856 reference "sec:Prevent-Hyphenation"
23857
23858 \end_inset
23859
23860 .
23861 \end_layout
23862
23863 \end_inset
23864
23865
23866 \end_layout
23867
23868 \begin_layout Section
23869 Box Dialog
23870 \begin_inset LatexCommand label
23871 name "sec:Box-Dialog"
23872
23873 \end_inset
23874
23875
23876 \begin_inset LatexCommand index
23877 name "Boxes ! Box Dialog"
23878
23879 \end_inset
23880
23881
23882 \begin_inset LatexCommand index
23883 name "Boxes ! Alignment"
23884
23885 \end_inset
23886
23887
23888 \end_layout
23889
23890 \begin_layout Standard
23891 In the box dialog you can adjust the box geometry in the fields 
23892 \family sans
23893 Width
23894 \family default
23895  and 
23896 \family sans
23897 Height
23898 \family default
23899 .
23900  The available units for the geometry are explained in Table\InsetSpace ~
23901
23902 \begin_inset LatexCommand ref
23903 reference "tab:Units"
23904
23905 \end_inset
23906
23907 .
23908  The field 
23909 \family sans
23910 Heigth
23911 \family default
23912  offers the following additional sizes:
23913 \end_layout
23914
23915 \begin_layout Description
23916 Depth This is the plain text 
23917 \begin_inset Quotes eld
23918 \end_inset
23919
23920 height
23921 \begin_inset Quotes erd
23922 \end_inset
23923
23924 .
23925  It ignores the total depth when there are multiple text lines in the box:
23926 \newline
23927
23928 \newline
23929
23930 \newline
23931
23932 \begin_inset Box Boxed
23933 position "c"
23934 hor_pos "c"
23935 has_inner_box 1
23936 inner_pos "c"
23937 use_parbox 0
23938 width "12col%"
23939 special "none"
23940 height "1in"
23941 height_special "depth"
23942 status collapsed
23943
23944 \begin_layout Standard
23945 \align center
23946 Box height set to 1\InsetSpace \thinspace{}
23947 Depth
23948 \end_layout
23949
23950 \end_inset
23951
23952
23953 \newline
23954
23955 \newline
23956
23957 \end_layout
23958
23959 \begin_layout Description
23960 Height This is the heigth of the text that is inside the box.
23961  A value of e.\InsetSpace \thinspace{}
23962 g.\InsetSpace ~
23963 2 for this size will set the box heigth to 2 times the text
23964  height: 
23965 \begin_inset Box Boxed
23966 position "c"
23967 hor_pos "c"
23968 has_inner_box 1
23969 inner_pos "c"
23970 use_parbox 0
23971 width "20col%"
23972 special "none"
23973 height "2in"
23974 height_special "height"
23975 status collapsed
23976
23977 \begin_layout Standard
23978 \align center
23979 Box height set to 2\InsetSpace \thinspace{}
23980 Height
23981 \end_layout
23982
23983 \end_inset
23984
23985
23986 \end_layout
23987
23988 \begin_layout Description
23989 Total\InsetSpace ~
23990 Height This is the Height\InsetSpace \thinspace{}
23991 +\InsetSpace \thinspace{}
23992 Depth: 
23993 \begin_inset Box Boxed
23994 position "c"
23995 hor_pos "c"
23996 has_inner_box 1
23997 inner_pos "c"
23998 use_parbox 0
23999 width "20col%"
24000 special "none"
24001 height "1in"
24002 height_special "totalheight"
24003 status collapsed
24004
24005 \begin_layout Standard
24006 \align center
24007 Box height set to 1\InsetSpace \thinspace{}
24008 Total\InsetSpace ~
24009 Height
24010 \end_layout
24011
24012 \end_inset
24013
24014
24015 \end_layout
24016
24017 \begin_layout Description
24018 Width This set the width of the box as heigth: 
24019 \begin_inset Box Boxed
24020 position "c"
24021 hor_pos "c"
24022 has_inner_box 1
24023 inner_pos "c"
24024 use_parbox 0
24025 width "12col%"
24026 special "none"
24027 height "1in"
24028 height_special "width"
24029 status collapsed
24030
24031 \begin_layout Standard
24032 \align center
24033 Box height set to 1\InsetSpace \thinspace{}
24034 Width
24035 \end_layout
24036
24037 \end_inset
24038
24039
24040 \end_layout
24041
24042 \begin_layout Standard
24043 \begin_inset VSpace bigskip
24044 \end_inset
24045
24046 When you have chosen an 
24047 \family sans
24048 Inner\InsetSpace ~
24049 Box
24050 \family default
24051 , the vertical box alignment can be:
24052 \end_layout
24053
24054 \begin_layout Description
24055 Top This is an example text line.
24056  
24057 \begin_inset Box Boxed
24058 position "t"
24059 hor_pos "c"
24060 has_inner_box 1
24061 inner_pos "c"
24062 use_parbox 0
24063 width "12col%"
24064 special "none"
24065 height "1in"
24066 height_special "totalheight"
24067 status collapsed
24068
24069 \begin_layout Standard
24070 \align center
24071 This box is top-aligned.
24072 \end_layout
24073
24074 \end_inset
24075
24076 \InsetSpace ~
24077 This is an example text line.
24078 \end_layout
24079
24080 \begin_layout Description
24081 Middle This is an example text line.
24082  
24083 \begin_inset Box Boxed
24084 position "c"
24085 hor_pos "c"
24086 has_inner_box 1
24087 inner_pos "c"
24088 use_parbox 0
24089 width "12col%"
24090 special "none"
24091 height "1in"
24092 height_special "totalheight"
24093 status collapsed
24094
24095 \begin_layout Standard
24096 \align center
24097 This box is middle-aligned.
24098 \end_layout
24099
24100 \end_inset
24101
24102 \InsetSpace ~
24103 This is an example text line.
24104 \end_layout
24105
24106 \begin_layout Description
24107 Bottom This is an example text line.
24108  
24109 \begin_inset Box Boxed
24110 position "b"
24111 hor_pos "c"
24112 has_inner_box 1
24113 inner_pos "c"
24114 use_parbox 0
24115 width "12col%"
24116 special "none"
24117 height "1in"
24118 height_special "totalheight"
24119 status collapsed
24120
24121 \begin_layout Standard
24122 \align center
24123 This box is bottom-aligned.
24124 \end_layout
24125
24126 \end_inset
24127
24128 \InsetSpace ~
24129 This is an example text line.
24130 \end_layout
24131
24132 \begin_layout Standard
24133 The horizontal box alignment can be set via LyX's paragraph dialog when
24134  you set the box into its own paragraph.
24135 \end_layout
24136
24137 \begin_layout Standard
24138 \begin_inset VSpace bigskip
24139 \end_inset
24140
24141 When you have chosen an 
24142 \family sans
24143 Inner\InsetSpace ~
24144 Box
24145 \family default
24146 , the box content can be vertical aligned to:
24147 \end_layout
24148
24149 \begin_layout Description
24150 top This is an example text line.
24151  
24152 \begin_inset Box Boxed
24153 position "c"
24154 hor_pos "c"
24155 has_inner_box 1
24156 inner_pos "t"
24157 use_parbox 0
24158 width "12col%"
24159 special "none"
24160 height "1.5in"
24161 height_special "totalheight"
24162 status collapsed
24163
24164 \begin_layout Standard
24165 \align center
24166 This box text is top-aligned.
24167 \end_layout
24168
24169 \end_inset
24170
24171 \InsetSpace ~
24172 This is an example text line.
24173 \end_layout
24174
24175 \begin_layout Description
24176 middle This is an example text line.
24177  
24178 \begin_inset Box Boxed
24179 position "c"
24180 hor_pos "c"
24181 has_inner_box 1
24182 inner_pos "c"
24183 use_parbox 0
24184 width "12col%"
24185 special "none"
24186 height "1.5in"
24187 height_special "totalheight"
24188 status collapsed
24189
24190 \begin_layout Standard
24191 \align center
24192 This box text is middle-aligned.
24193 \end_layout
24194
24195 \end_inset
24196
24197 \InsetSpace ~
24198 This is an example text line.
24199 \end_layout
24200
24201 \begin_layout Description
24202 bottom This is an example text line.
24203  
24204 \begin_inset Box Boxed
24205 position "c"
24206 hor_pos "c"
24207 has_inner_box 1
24208 inner_pos "b"
24209 use_parbox 0
24210 width "12col%"
24211 special "none"
24212 height "1.5in"
24213 height_special "totalheight"
24214 status collapsed
24215
24216 \begin_layout Standard
24217 \align center
24218 This box text is bottom-aligned.
24219 \end_layout
24220
24221 \end_inset
24222
24223 \InsetSpace ~
24224 This is an example text line.
24225 \end_layout
24226
24227 \begin_layout Description
24228 stretch This is an example text line.
24229  
24230 \begin_inset Box Boxed
24231 position "c"
24232 hor_pos "c"
24233 has_inner_box 1
24234 inner_pos "s"
24235 use_parbox 0
24236 width "12col%"
24237 special "none"
24238 height "1.5in"
24239 height_special "totalheight"
24240 status collapsed
24241
24242 \begin_layout Standard
24243 \align center
24244 This box
24245 \end_layout
24246
24247 \begin_layout Standard
24248 \align center
24249 text is
24250 \end_layout
24251
24252 \begin_layout Standard
24253 \align center
24254 stretched.
24255 \end_layout
24256
24257 \end_inset
24258
24259 \InsetSpace ~
24260 This is an example text line.
24261 \end_layout
24262
24263 \begin_layout Standard
24264 To stretch the box content, it must consist of more than one paragraph.
24265  In the example above every text line is in an own paragraph.
24266 \end_layout
24267
24268 \begin_layout Standard
24269 \begin_inset VSpace bigskip
24270 \end_inset
24271
24272 To align the box content horizontally you can use LyX's paragraph dialog
24273  when you have chosen an 
24274 \family sans
24275 Inner\InsetSpace ~
24276 Box
24277 \family default
24278 .
24279 \end_layout
24280
24281 \begin_layout Standard
24282 \align center
24283 \begin_inset Box Boxed
24284 position "c"
24285 hor_pos "c"
24286 has_inner_box 1
24287 inner_pos "s"
24288 use_parbox 0
24289 width "15col%"
24290 special "none"
24291 height "1.25in"
24292 height_special "totalheight"
24293 status collapsed
24294
24295 \begin_layout Standard
24296 \align left
24297 This box
24298 \end_layout
24299
24300 \begin_layout Standard
24301 \align center
24302 text is
24303 \end_layout
24304
24305 \begin_layout Standard
24306 \align right
24307 stretched.
24308 \end_layout
24309
24310 \end_inset
24311
24312
24313 \end_layout
24314
24315 \begin_layout Standard
24316 If you haven't set an 
24317 \family sans
24318 Inner\InsetSpace ~
24319 Box
24320 \family default
24321 , you can align the box content horizontally in the box dialog.
24322 \end_layout
24323
24324 \begin_layout Standard
24325 \align center
24326 \begin_inset Box Boxed
24327 position "c"
24328 hor_pos "s"
24329 has_inner_box 0
24330 inner_pos "s"
24331 use_parbox 0
24332 width "90col%"
24333 special "none"
24334 height "1.25in"
24335 height_special "totalheight"
24336 status collapsed
24337
24338 \begin_layout Standard
24339 \align left
24340 This box text is horizontally stretched.
24341 \end_layout
24342
24343 \end_inset
24344
24345
24346 \end_layout
24347
24348 \begin_layout Section
24349 Framed Boxes
24350 \begin_inset LatexCommand label
24351 name "sec:Framed-Boxes"
24352
24353 \end_inset
24354
24355
24356 \begin_inset LatexCommand index
24357 name "Boxes ! Frames"
24358
24359 \end_inset
24360
24361
24362 \end_layout
24363
24364 \begin_layout Standard
24365 The frame style of the box can be specified in the box-dialog in the drop-down
24366  list 
24367 \family sans
24368 Type
24369 \family default
24370 .
24371  The following frame types are possible:
24372 \end_layout
24373
24374 \begin_layout Description
24375 Rectangular\InsetSpace ~
24376 box This draws a rectangle frame around the box.
24377  The frame line thickness has the size of 
24378 \series bold
24379
24380 \backslash
24381 fboxrule
24382 \series default
24383 .
24384  
24385 \begin_inset Box Boxed
24386 position "c"
24387 hor_pos "c"
24388 has_inner_box 1
24389 inner_pos "c"
24390 use_parbox 0
24391 width "20col%"
24392 special "none"
24393 height "1in"
24394 height_special "totalheight"
24395 status collapsed
24396
24397 \begin_layout Standard
24398 \align center
24399 Rectangular box
24400 \end_layout
24401
24402 \end_inset
24403
24404
24405 \end_layout
24406
24407 \begin_layout Description
24408 Oval\InsetSpace ~
24409 box,\InsetSpace ~
24410 thin This draws an oval frame around the box.
24411  The frame line thickness has the size 0.4\InsetSpace \thinspace{}
24412 pt.
24413  
24414 \begin_inset Box ovalbox
24415 position "c"
24416 hor_pos "c"
24417 has_inner_box 1
24418 inner_pos "c"
24419 use_parbox 0
24420 width "20col%"
24421 special "none"
24422 height "1in"
24423 height_special "totalheight"
24424 status collapsed
24425
24426 \begin_layout Standard
24427 \align center
24428 Oval box, thin
24429 \end_layout
24430
24431 \end_inset
24432
24433
24434 \end_layout
24435
24436 \begin_layout Description
24437 Oval\InsetSpace ~
24438 box,\InsetSpace ~
24439 thick This draws an oval frame around the box.
24440  The frame line thickness has the size 0.8\InsetSpace \thinspace{}
24441 pt.
24442  
24443 \begin_inset Box Ovalbox
24444 position "c"
24445 hor_pos "c"
24446 has_inner_box 1
24447 inner_pos "c"
24448 use_parbox 0
24449 width "20col%"
24450 special "none"
24451 height "1in"
24452 height_special "totalheight"
24453 status collapsed
24454
24455 \begin_layout Standard
24456 \align center
24457 Oval box, thick
24458 \end_layout
24459
24460 \end_inset
24461
24462
24463 \end_layout
24464
24465 \begin_layout Description
24466 Shadow\InsetSpace ~
24467 box This draws a rectangle frame with a shadow around the box.
24468  The frame line thickness has the size of 
24469 \series bold
24470
24471 \backslash
24472 fboxrule
24473 \series default
24474 , the shadow has a width of 4\InsetSpace \thinspace{}
24475 pt.
24476  
24477 \begin_inset Box Shadowbox
24478 position "c"
24479 hor_pos "c"
24480 has_inner_box 1
24481 inner_pos "c"
24482 use_parbox 0
24483 width "20col%"
24484 special "none"
24485 height "1in"
24486 height_special "totalheight"
24487 status collapsed
24488
24489 \begin_layout Standard
24490 \align center
24491 Shadow box
24492 \end_layout
24493
24494 \end_inset
24495
24496
24497 \end_layout
24498
24499 \begin_layout Description
24500 Double\InsetSpace ~
24501 box This draws a double-line rectangle frame around the box.
24502  The line thickness of the inner frame is 0.75\InsetSpace \thinspace{}
24503
24504 \series bold
24505
24506 \backslash
24507 fboxrule
24508 \series default
24509 , the thickness of the outer frame is 1.5\InsetSpace \thinspace{}
24510
24511 \series bold
24512
24513 \backslash
24514 fboxrule
24515 \series default
24516 .
24517  The distance between the lines is 1.5\InsetSpace \thinspace{}
24518
24519 \series bold
24520
24521 \backslash
24522 fboxrule
24523 \series default
24524 \InsetSpace \thinspace{}
24525 +\InsetSpace \thinspace{}
24526 0.5\InsetSpace \thinspace{}
24527 pt.
24528  
24529 \begin_inset Box Doublebox
24530 position "c"
24531 hor_pos "c"
24532 has_inner_box 1
24533 inner_pos "c"
24534 use_parbox 0
24535 width "20col%"
24536 special "none"
24537 height "1in"
24538 height_special "totalheight"
24539 status collapsed
24540
24541 \begin_layout Standard
24542 \align center
24543 Double box
24544 \end_layout
24545
24546 \end_inset
24547
24548
24549 \end_layout
24550
24551 \begin_layout Standard
24552 \begin_inset VSpace bigskip
24553 \end_inset
24554
24555 LyX's box label will change to the used frame style when you set a frame.
24556  To be able to use the different frame styles, the LaTeX-package 
24557 \series bold
24558 fancybox
24559 \series default
24560
24561 \begin_inset LatexCommand index
24562 name "LaTeX-packages ! fancybox"
24563
24564 \end_inset
24565
24566  must be installed.
24567 \end_layout
24568
24569 \begin_layout Standard
24570 \begin_inset VSpace bigskip
24571 \end_inset
24572
24573 The default value for the size 
24574 \series bold
24575
24576 \backslash
24577 fboxrule
24578 \series default
24579  is 0.4\InsetSpace \thinspace{}
24580 pt.
24581  It can be changed with the following command in ERT to e.\InsetSpace \thinspace{}
24582 g.\InsetSpace ~
24583 2\InsetSpace \thinspace{}
24584 pt:
24585 \end_layout
24586
24587 \begin_layout Standard
24588
24589 \series bold
24590
24591 \backslash
24592 setlength{
24593 \backslash
24594 fboxrule}{2pt}
24595 \end_layout
24596
24597 \begin_layout Standard
24598 \begin_inset ERT
24599 status collapsed
24600
24601 \begin_layout Standard
24602
24603
24604 \backslash
24605 setlength{
24606 \backslash
24607 fboxrule}{2pt}
24608 \end_layout
24609
24610 \end_inset
24611
24612
24613 \begin_inset Box Boxed
24614 position "c"
24615 hor_pos "c"
24616 has_inner_box 1
24617 inner_pos "c"
24618 use_parbox 0
24619 width "25col%"
24620 special "none"
24621 height "1in"
24622 height_special "totalheight"
24623 status collapsed
24624
24625 \begin_layout Standard
24626 \align center
24627 Rectangular box with 
24628 \series bold
24629
24630 \backslash
24631 fboxrule
24632 \series default
24633 \InsetSpace \thinspace{}
24634 =\InsetSpace \thinspace{}
24635 2\InsetSpace \thinspace{}
24636 pt
24637 \end_layout
24638
24639 \end_inset
24640
24641
24642 \begin_inset ERT
24643 status collapsed
24644
24645 \begin_layout Standard
24646
24647
24648 \backslash
24649 setlength{
24650 \backslash
24651 fboxrule}{0.4pt}
24652 \end_layout
24653
24654 \end_inset
24655
24656
24657 \end_layout
24658
24659 \begin_layout Standard
24660 \begin_inset VSpace bigskip
24661 \end_inset
24662
24663 The space between the frame and the box content is for all frame styles
24664  by default 3\InsetSpace \thinspace{}
24665 pt.
24666  You can change it by setting the length 
24667 \series bold
24668
24669 \backslash
24670 fboxsep
24671 \series default
24672  to another value.
24673  For example the command
24674 \end_layout
24675
24676 \begin_layout Standard
24677
24678 \series bold
24679
24680 \backslash
24681 setlength{
24682 \backslash
24683 fboxsep}{10pt}
24684 \end_layout
24685
24686 \begin_layout Standard
24687 sets the value to 10\InsetSpace \thinspace{}
24688 pt, like for the following box:
24689 \end_layout
24690
24691 \begin_layout Standard
24692 \begin_inset ERT
24693 status collapsed
24694
24695 \begin_layout Standard
24696
24697
24698 \backslash
24699 setlength{
24700 \backslash
24701 fboxsep}{10pt}
24702 \end_layout
24703
24704 \end_inset
24705
24706
24707 \begin_inset Box Boxed
24708 position "c"
24709 hor_pos "c"
24710 has_inner_box 1
24711 inner_pos "c"
24712 use_parbox 0
24713 width "25col%"
24714 special "none"
24715 height "1in"
24716 height_special "totalheight"
24717 status collapsed
24718
24719 \begin_layout Standard
24720 \align center
24721 Rectangular box with 
24722 \series bold
24723
24724 \backslash
24725 fboxsep
24726 \series default
24727 \InsetSpace \thinspace{}
24728 =\InsetSpace \thinspace{}
24729 10\InsetSpace \thinspace{}
24730 pt
24731 \end_layout
24732
24733 \end_inset
24734
24735
24736 \begin_inset ERT
24737 status collapsed
24738
24739 \begin_layout Standard
24740
24741
24742 \backslash
24743 setlength{
24744 \backslash
24745 fboxsep}{3pt}
24746 \end_layout
24747
24748 \end_inset
24749
24750
24751 \end_layout
24752
24753 \begin_layout Standard
24754 \begin_inset VSpace bigskip
24755 \end_inset
24756
24757 The diameter of the round corners of the oval boxes can be set with the
24758  command 
24759 \series bold
24760
24761 \backslash
24762 cornersize
24763 \series default
24764 .
24765  The command
24766 \end_layout
24767
24768 \begin_layout Standard
24769
24770 \series bold
24771
24772 \backslash
24773 cornersize*{1cm}
24774 \end_layout
24775
24776 \begin_layout Standard
24777 sets the diameter to 1\InsetSpace \thinspace{}
24778 cm.
24779  The command
24780 \end_layout
24781
24782 \begin_layout Standard
24783
24784 \series bold
24785
24786 \backslash
24787 cornersize{num}
24788 \end_layout
24789
24790 \begin_layout Standard
24791 sets the diameter to 
24792 \family sans
24793 num\InsetSpace \thinspace{}
24794 ×\InsetSpace \thinspace{}
24795 minimum(width and heigth of box)
24796 \family default
24797 .
24798  The default is 
24799 \series bold
24800
24801 \backslash
24802 cornersize{0.5}
24803 \series default
24804 .
24805 \end_layout
24806
24807 \begin_layout Standard
24808 \begin_inset ERT
24809 status collapsed
24810
24811 \begin_layout Standard
24812
24813
24814 \backslash
24815 cornersize*{1.5cm}
24816 \end_layout
24817
24818 \end_inset
24819
24820
24821 \begin_inset Box Ovalbox
24822 position "c"
24823 hor_pos "c"
24824 has_inner_box 1
24825 inner_pos "c"
24826 use_parbox 0
24827 width "25col%"
24828 special "none"
24829 height "1in"
24830 height_special "totalheight"
24831 status collapsed
24832
24833 \begin_layout Standard
24834 \align center
24835 Oval box with 
24836 \series bold
24837
24838 \backslash
24839 cornersize
24840 \series default
24841 \InsetSpace \thinspace{}
24842 =\InsetSpace \thinspace{}
24843 1.5\InsetSpace \thinspace{}
24844 cm
24845 \end_layout
24846
24847 \end_inset
24848
24849
24850 \begin_inset ERT
24851 status collapsed
24852
24853 \begin_layout Standard
24854
24855
24856 \backslash
24857 cornersize{0.5}
24858 \end_layout
24859
24860 \end_inset
24861
24862
24863 \end_layout
24864
24865 \begin_layout Standard
24866 \begin_inset VSpace bigskip
24867 \end_inset
24868
24869 The size of the shadow can be adjusted by changing the length 
24870 \series bold
24871
24872 \backslash
24873 shadowsize
24874 \series default
24875 .
24876  It it set to 2\InsetSpace \thinspace{}
24877 pt for the following box by this command:
24878 \end_layout
24879
24880 \begin_layout Standard
24881
24882 \series bold
24883
24884 \backslash
24885 setlength{
24886 \backslash
24887 shadowsize}{2pt}
24888 \end_layout
24889
24890 \begin_layout Standard
24891 \begin_inset ERT
24892 status collapsed
24893
24894 \begin_layout Standard
24895
24896
24897 \backslash
24898 setlength{
24899 \backslash
24900 shadowsize}{2pt}
24901 \end_layout
24902
24903 \end_inset
24904
24905
24906 \begin_inset Box Shadowbox
24907 position "c"
24908 hor_pos "c"
24909 has_inner_box 1
24910 inner_pos "c"
24911 use_parbox 0
24912 width "25col%"
24913 special "none"
24914 height "1in"
24915 height_special "totalheight"
24916 status collapsed
24917
24918 \begin_layout Standard
24919 \align center
24920 Shadow box with 
24921 \series bold
24922
24923 \backslash
24924 shadowsize
24925 \series default
24926 \InsetSpace \thinspace{}
24927 =\InsetSpace \thinspace{}
24928 2\InsetSpace \thinspace{}
24929 pt
24930 \end_layout
24931
24932 \end_inset
24933
24934
24935 \begin_inset ERT
24936 status collapsed
24937
24938 \begin_layout Standard
24939
24940
24941 \backslash
24942 setlength{
24943 \backslash
24944 shadowsize}{4pt}
24945 \end_layout
24946
24947 \end_inset
24948
24949
24950 \end_layout
24951
24952 \begin_layout Standard
24953 \begin_inset VSpace bigskip
24954 \end_inset
24955
24956 Changed lengths and widths are valid for all boxes following the commands
24957  that change them.
24958 \end_layout
24959
24960 \begin_layout Section
24961 Minipages
24962 \begin_inset LatexCommand label
24963 name "sec:Minipages"
24964
24965 \end_inset
24966
24967
24968 \begin_inset LatexCommand index
24969 name "Boxes ! Minipages"
24970
24971 \end_inset
24972
24973
24974 \end_layout
24975
24976 \begin_layout Standard
24977 Minipages are treated by LaTeX as pages within pages and can therefore for
24978  example have their own footnotes.
24979 \end_layout
24980
24981 \begin_layout Standard
24982 Minipages are useful when you write documents with different languages.
24983 \end_layout
24984
24985 \begin_layout Standard
24986 Below are two example minipages side by side.
24987  Their width is set to 45\InsetSpace \thinspace{}
24988 col% and they are separated by a horizontal fill,
24989  that was inserted via the menu 
24990 \family sans
24991 Insert\SpecialChar \menuseparator
24992 Special\InsetSpace ~
24993 Formatting\SpecialChar \menuseparator
24994 Horizontal\InsetSpace ~
24995 Fill
24996 \family default
24997 .
24998 \end_layout
24999
25000 \begin_layout Standard
25001 \begin_inset Box Frameless
25002 position "t"
25003 hor_pos "c"
25004 has_inner_box 1
25005 inner_pos "c"
25006 use_parbox 0
25007 width "45col%"
25008 special "none"
25009 height "1in"
25010 height_special "totalheight"
25011 status open
25012
25013 \begin_layout Standard
25014
25015 \lang german
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  Dies ist ein deutscher Text.
25026  Dies ist ein deutscher Text.
25027  Dies ist ein deutscher Text.
25028  Dies ist ein deutscher Text
25029 \begin_inset Foot
25030 status collapsed
25031
25032 \begin_layout Standard
25033
25034 \lang german
25035 Dies ist eine deutsche Fußnote.
25036 \end_layout
25037
25038 \end_inset
25039
25040 .
25041  Dies ist ein deutscher Text.
25042  Dies ist ein deutscher Text.
25043 \end_layout
25044
25045 \end_inset
25046
25047
25048 \hfill
25049
25050 \begin_inset Box Frameless
25051 position "t"
25052 hor_pos "c"
25053 has_inner_box 1
25054 inner_pos "c"
25055 use_parbox 0
25056 width "45col%"
25057 special "none"
25058 height "1in"
25059 height_special "totalheight"
25060 status open
25061
25062 \begin_layout Standard
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  This is an English Text.
25076  This is an English Text.
25077  This is an English Text.
25078  This is an English Text.
25079 \begin_inset Foot
25080 status collapsed
25081
25082 \begin_layout Standard
25083 This is an English footnote.
25084 \end_layout
25085
25086 \end_inset
25087
25088  This is an English Text.
25089  
25090 \end_layout
25091
25092 \end_inset
25093
25094
25095 \end_layout
25096
25097 \begin_layout Standard
25098 \begin_inset VSpace bigskip
25099 \end_inset
25100
25101 Another application for minipages are footnotes within tables.
25102  Due to a LaTeX restriction footnotes within tables doesn't appear at the
25103  bottom of the current page.
25104  But when you put the table with the footnote to a minipage, the footnote
25105  will appear at its bottom, numbered with Latin letters.
25106  The footnote number is reset to 1 in every minipage but not outside the
25107  minipages.
25108 \end_layout
25109
25110 \begin_layout Standard
25111 The footnote of this table doesn't appear: 
25112 \begin_inset Tabular
25113 <lyxtabular version="3" rows="3" columns="4">
25114 <features>
25115 <column alignment="center" valignment="top" leftline="true" width="0pt">
25116 <column alignment="center" valignment="top" leftline="true" width="0pt">
25117 <column alignment="center" valignment="top" leftline="true" width="0pt">
25118 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
25119 <row topline="true">
25120 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25121 \begin_inset Text
25122
25123 \begin_layout Standard
25124 1
25125 \end_layout
25126
25127 \end_inset
25128 </cell>
25129 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25130 \begin_inset Text
25131
25132 \begin_layout Standard
25133 2
25134 \end_layout
25135
25136 \end_inset
25137 </cell>
25138 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25139 \begin_inset Text
25140
25141 \begin_layout Standard
25142 3
25143 \begin_inset Foot
25144 status collapsed
25145
25146 \begin_layout Standard
25147 This is a footnote within a table.
25148 \end_layout
25149
25150 \end_inset
25151
25152
25153 \end_layout
25154
25155 \end_inset
25156 </cell>
25157 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25158 \begin_inset Text
25159
25160 \begin_layout Standard
25161 4
25162 \end_layout
25163
25164 \end_inset
25165 </cell>
25166 </row>
25167 <row topline="true">
25168 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25169 \begin_inset Text
25170
25171 \begin_layout Standard
25172 a
25173 \end_layout
25174
25175 \end_inset
25176 </cell>
25177 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25178 \begin_inset Text
25179
25180 \begin_layout Standard
25181 b
25182 \end_layout
25183
25184 \end_inset
25185 </cell>
25186 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25187 \begin_inset Text
25188
25189 \begin_layout Standard
25190 c
25191 \end_layout
25192
25193 \end_inset
25194 </cell>
25195 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25196 \begin_inset Text
25197
25198 \begin_layout Standard
25199 d
25200 \end_layout
25201
25202 \end_inset
25203 </cell>
25204 </row>
25205 <row topline="true" bottomline="true">
25206 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25207 \begin_inset Text
25208
25209 \begin_layout Standard
25210 e
25211 \end_layout
25212
25213 \end_inset
25214 </cell>
25215 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25216 \begin_inset Text
25217
25218 \begin_layout Standard
25219 f
25220 \end_layout
25221
25222 \end_inset
25223 </cell>
25224 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25225 \begin_inset Text
25226
25227 \begin_layout Standard
25228 g
25229 \end_layout
25230
25231 \end_inset
25232 </cell>
25233 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25234 \begin_inset Text
25235
25236 \begin_layout Standard
25237 h
25238 \end_layout
25239
25240 \end_inset
25241 </cell>
25242 </row>
25243 </lyxtabular>
25244
25245 \end_inset
25246
25247
25248 \end_layout
25249
25250 \begin_layout Standard
25251 \align center
25252 \begin_inset Box Frameless
25253 position "t"
25254 hor_pos "c"
25255 has_inner_box 1
25256 inner_pos "c"
25257 use_parbox 0
25258 width "30col%"
25259 special "none"
25260 height "1in"
25261 height_special "totalheight"
25262 status open
25263
25264 \begin_layout Standard
25265 \align center
25266 \begin_inset Tabular
25267 <lyxtabular version="3" rows="3" columns="4">
25268 <features>
25269 <column alignment="center" valignment="top" leftline="true" width="0pt">
25270 <column alignment="center" valignment="top" leftline="true" width="0pt">
25271 <column alignment="center" valignment="top" leftline="true" width="0pt">
25272 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
25273 <row topline="true">
25274 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25275 \begin_inset Text
25276
25277 \begin_layout Standard
25278 1
25279 \end_layout
25280
25281 \end_inset
25282 </cell>
25283 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25284 \begin_inset Text
25285
25286 \begin_layout Standard
25287 2
25288 \end_layout
25289
25290 \end_inset
25291 </cell>
25292 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25293 \begin_inset Text
25294
25295 \begin_layout Standard
25296 3
25297 \begin_inset Foot
25298 status collapsed
25299
25300 \begin_layout Standard
25301 This is a footnote within a table.
25302 \end_layout
25303
25304 \end_inset
25305
25306
25307 \end_layout
25308
25309 \end_inset
25310 </cell>
25311 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25312 \begin_inset Text
25313
25314 \begin_layout Standard
25315 4
25316 \end_layout
25317
25318 \end_inset
25319 </cell>
25320 </row>
25321 <row topline="true">
25322 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25323 \begin_inset Text
25324
25325 \begin_layout Standard
25326 a
25327 \end_layout
25328
25329 \end_inset
25330 </cell>
25331 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25332 \begin_inset Text
25333
25334 \begin_layout Standard
25335 b
25336 \end_layout
25337
25338 \end_inset
25339 </cell>
25340 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25341 \begin_inset Text
25342
25343 \begin_layout Standard
25344 c
25345 \end_layout
25346
25347 \end_inset
25348 </cell>
25349 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25350 \begin_inset Text
25351
25352 \begin_layout Standard
25353 d
25354 \end_layout
25355
25356 \end_inset
25357 </cell>
25358 </row>
25359 <row topline="true" bottomline="true">
25360 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25361 \begin_inset Text
25362
25363 \begin_layout Standard
25364 e
25365 \end_layout
25366
25367 \end_inset
25368 </cell>
25369 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25370 \begin_inset Text
25371
25372 \begin_layout Standard
25373 f
25374 \end_layout
25375
25376 \end_inset
25377 </cell>
25378 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25379 \begin_inset Text
25380
25381 \begin_layout Standard
25382 g
25383 \end_layout
25384
25385 \end_inset
25386 </cell>
25387 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25388 \begin_inset Text
25389
25390 \begin_layout Standard
25391 h
25392 \end_layout
25393
25394 \end_inset
25395 </cell>
25396 </row>
25397 </lyxtabular>
25398
25399 \end_inset
25400
25401
25402 \end_layout
25403
25404 \end_inset
25405
25406
25407 \end_layout
25408
25409 \begin_layout Standard
25410 \begin_inset VSpace bigskip
25411 \end_inset
25412
25413 The document-wide paragraph settings are ignored within minipages.
25414  That means that there will be no space between paragraphs in minipages
25415  although you set it to e.\InsetSpace \thinspace{}
25416 g.\InsetSpace ~
25417
25418 \family sans
25419 MedSkip
25420 \family default
25421  in the document settings.
25422 \end_layout
25423
25424 \begin_layout Standard
25425 Minipages can also be used to set a background color for text parts, see
25426  section\InsetSpace ~
25427
25428 \begin_inset LatexCommand ref
25429 reference "sub:Color-for-Paragraphs"
25430
25431 \end_inset
25432
25433 .
25434 \end_layout
25435
25436 \begin_layout Standard
25437 \begin_inset Note Greyedout
25438 status open
25439
25440 \begin_layout Standard
25441
25442 \series bold
25443 Note:
25444 \series default
25445  You cannot have floats or margin notes inside minipages but minipages can
25446  be used inside tables, floats, and other boxes.
25447 \end_layout
25448
25449 \end_inset
25450
25451
25452 \end_layout
25453
25454 \begin_layout Section
25455 Parboxes
25456 \begin_inset LatexCommand label
25457 name "sec:Parboxes"
25458
25459 \end_inset
25460
25461
25462 \begin_inset LatexCommand index
25463 name "Boxes ! Parboxes"
25464
25465 \end_inset
25466
25467
25468 \end_layout
25469
25470 \begin_layout Standard
25471 Parboxes are very similar to minipages with the difference that they cannot
25472  have footnotes.
25473  The main difference to minipages is that minipages are in contrary to parboxes
25474  no real boxes but LaTeX-environments.
25475 \end_layout
25476
25477 \begin_layout Standard
25478 \align center
25479 \begin_inset Box Frameless
25480 position "t"
25481 hor_pos "c"
25482 has_inner_box 1
25483 inner_pos "t"
25484 use_parbox 1
25485 width "33col%"
25486 special "none"
25487 height "1in"
25488 height_special "totalheight"
25489 status collapsed
25490
25491 \begin_layout Standard
25492 This a text within a parbox.
25493  This a text within a parbox.
25494 \end_layout
25495
25496 \begin_layout Standard
25497 This footnote won't appear:
25498 \begin_inset Foot
25499 status collapsed
25500
25501 \begin_layout Standard
25502 This footnote is inside a parbox and will therefore not appear.
25503 \end_layout
25504
25505 \end_inset
25506
25507
25508 \end_layout
25509
25510 \end_inset
25511
25512
25513 \end_layout
25514
25515 \begin_layout Section
25516 Boxes for Words and Characters
25517 \begin_inset LatexCommand index
25518 name "Boxes ! for Characters"
25519
25520 \end_inset
25521
25522
25523 \end_layout
25524
25525 \begin_layout Subsection
25526 Prevent Hyphenation
25527 \begin_inset LatexCommand label
25528 name "sec:Prevent-Hyphenation"
25529
25530 \end_inset
25531
25532
25533 \begin_inset LatexCommand index
25534 name "Boxes ! to Prevent Hyphenation"
25535
25536 \end_inset
25537
25538
25539 \end_layout
25540
25541 \begin_layout Standard
25542 You can use a special kind of boxes to prevent words or text to be hyphenated.
25543 \newline
25544 Her
25545 e is an example text:
25546 \end_layout
25547
25548 \begin_layout Standard
25549 This line is an example to show how you can prevent the hyphenation of e.\InsetSpace \thinspace{}
25550 g.\InsetSpace ~
25551 veryver
25552 ylongwords.
25553 \end_layout
25554
25555 \begin_layout Standard
25556 To prevent the hyphenation of the word 
25557 \begin_inset Quotes eld
25558 \end_inset
25559
25560 veryverylongwords
25561 \begin_inset Quotes erd
25562 \end_inset
25563
25564 , add the command
25565 \end_layout
25566
25567 \begin_layout Standard
25568
25569 \series bold
25570
25571 \backslash
25572 mbox{
25573 \end_layout
25574
25575 \begin_layout Standard
25576 in ERT before the word.
25577  Behind the word insert a closing brace 
25578 \begin_inset Quotes eld
25579 \end_inset
25580
25581
25582 \series bold
25583 }
25584 \series default
25585
25586 \begin_inset Quotes erd
25587 \end_inset
25588
25589  in ERT.
25590 \begin_inset ERT
25591 status collapsed
25592
25593 \begin_layout Standard
25594
25595
25596 \backslash
25597 pagebreak 
25598 \end_layout
25599
25600 \end_inset
25601
25602
25603 \end_layout
25604
25605 \begin_layout Standard
25606 This is the result:
25607 \end_layout
25608
25609 \begin_layout Standard
25610 This line is an example to show how you can prevent the hyphenation of e.\InsetSpace \thinspace{}
25611 g.\InsetSpace ~
25612
25613 \begin_inset ERT
25614 status collapsed
25615
25616 \begin_layout Standard
25617
25618
25619 \backslash
25620 mbox{
25621 \end_layout
25622
25623 \end_inset
25624
25625 veryverylongwords.
25626 \begin_inset ERT
25627 status collapsed
25628
25629 \begin_layout Standard
25630
25631 }
25632 \end_layout
25633
25634 \end_inset
25635
25636
25637 \end_layout
25638
25639 \begin_layout Standard
25640 Of course the word now protrudes over the side margin.
25641  To avoid this, add via the menu 
25642 \family sans
25643 Insert\SpecialChar \menuseparator
25644 Special\InsetSpace ~
25645 Formatting\SpecialChar \menuseparator
25646 Line\InsetSpace ~
25647 Break
25648 \family default
25649  (shortcut 
25650 \series bold
25651 Ctrl-Return
25652 \series default
25653 ) a line break before the word:
25654 \end_layout
25655
25656 \begin_layout Standard
25657 This line is an example to show how you can prevent the hyphenation of e.\InsetSpace \thinspace{}
25658 g.\InsetSpace ~
25659
25660 \newline
25661
25662 \begin_inset ERT
25663 status collapsed
25664
25665 \begin_layout Standard
25666
25667
25668 \backslash
25669 mbox{
25670 \end_layout
25671
25672 \end_inset
25673
25674 veryverylongwords.
25675 \begin_inset ERT
25676 status collapsed
25677
25678 \begin_layout Standard
25679
25680 }
25681 \end_layout
25682
25683 \end_inset
25684
25685
25686 \end_layout
25687
25688 \begin_layout Subsection
25689 Vertical Alignment
25690 \begin_inset LatexCommand label
25691 name "sub:Vertical-Alignment"
25692
25693 \end_inset
25694
25695
25696 \begin_inset LatexCommand index
25697 name "Boxes ! for Vertical Alignment"
25698
25699 \end_inset
25700
25701
25702 \begin_inset LatexCommand index
25703 name "Boxes ! Raiseboxes"
25704
25705 \end_inset
25706
25707
25708 \end_layout
25709
25710 \begin_layout Standard
25711 With the help of the command 
25712 \series bold
25713
25714 \backslash
25715 raisebox
25716 \series default
25717  you can align words, characters or other boxes vertically to the surrounding
25718  text.
25719  
25720 \series bold
25721
25722 \backslash
25723 raisebox
25724 \series default
25725  is used with the following scheme:
25726 \end_layout
25727
25728 \begin_layout Standard
25729
25730 \series bold
25731
25732 \backslash
25733 raisebox{lift}[height][depth]{box content}
25734 \end_layout
25735
25736 \begin_layout Standard
25737 The lift can be a positive value to raise the box or a negative value to
25738  lower the box.
25739 \end_layout
25740
25741 \begin_layout Standard
25742 To align for example the word 
25743 \begin_inset Quotes eld
25744 \end_inset
25745
25746 preventing
25747 \begin_inset Quotes erd
25748 \end_inset
25749
25750  so that the bottom of the 
25751 \begin_inset Quotes eld
25752 \end_inset
25753
25754 deepest
25755 \begin_inset Quotes erd
25756 \end_inset
25757
25758  character 
25759 \begin_inset Quotes eld
25760 \end_inset
25761
25762 p
25763 \begin_inset Quotes erd
25764 \end_inset
25765
25766  is at the baseline, insert the command
25767 \end_layout
25768
25769 \begin_layout Standard
25770
25771 \series bold
25772
25773 \backslash
25774 raisebox{
25775 \backslash
25776 depth}{
25777 \end_layout
25778
25779 \begin_layout Standard
25780 in ERT before the word.
25781  Behind the word insert a closing brace 
25782 \begin_inset Quotes eld
25783 \end_inset
25784
25785
25786 \series bold
25787 }
25788 \series default
25789
25790 \begin_inset Quotes erd
25791 \end_inset
25792
25793  in ERT.
25794 \newline
25795 This is the result:
25796 \end_layout
25797
25798 \begin_layout Standard
25799 This is a text line with the word 
25800 \begin_inset ERT
25801 status collapsed
25802
25803 \begin_layout Standard
25804
25805
25806 \backslash
25807 raisebox{
25808 \backslash
25809 depth}{
25810 \end_layout
25811
25812 \end_inset
25813
25814
25815 \begin_inset Quotes eld
25816 \end_inset
25817
25818 preventing
25819 \begin_inset Quotes erd
25820 \end_inset
25821
25822
25823 \begin_inset ERT
25824 status collapsed
25825
25826 \begin_layout Standard
25827
25828 }
25829 \end_layout
25830
25831 \end_inset
25832
25833  as raised word.
25834 \end_layout
25835
25836 \begin_layout Standard
25837 \begin_inset VSpace bigskip
25838 \end_inset
25839
25840 When you raise or lower characters in a line, the line distance will be
25841  spread:
25842 \end_layout
25843
25844 \begin_layout Standard
25845 This is a text line with the word 
25846 \begin_inset ERT
25847 status collapsed
25848
25849 \begin_layout Standard
25850
25851
25852 \backslash
25853 raisebox{-
25854 \backslash
25855 depth}{
25856 \end_layout
25857
25858 \end_inset
25859
25860
25861 \begin_inset Quotes eld
25862 \end_inset
25863
25864 preventing
25865 \begin_inset Quotes erd
25866 \end_inset
25867
25868
25869 \begin_inset ERT
25870 status collapsed
25871
25872 \begin_layout Standard
25873
25874 }
25875 \end_layout
25876
25877 \end_inset
25878
25879  as lowered word.
25880 \newline
25881 This is a text line with the word 
25882 \begin_inset ERT
25883 status collapsed
25884
25885 \begin_layout Standard
25886
25887
25888 \backslash
25889 raisebox{0.5cm}{
25890 \end_layout
25891
25892 \end_inset
25893
25894
25895 \begin_inset Quotes eld
25896 \end_inset
25897
25898 testing
25899 \begin_inset Quotes erd
25900 \end_inset
25901
25902
25903 \begin_inset ERT
25904 status collapsed
25905
25906 \begin_layout Standard
25907
25908 }
25909 \end_layout
25910
25911 \end_inset
25912
25913  as raised word.
25914 \end_layout
25915
25916 \begin_layout Standard
25917 If you want to prevent this for a certain reason, set the box height to
25918  a zero value.
25919  For example use
25920 \end_layout
25921
25922 \begin_layout Standard
25923
25924 \series bold
25925
25926 \backslash
25927 raisebox{-
25928 \backslash
25929 depth}[0pt]{
25930 \end_layout
25931
25932 \begin_layout Standard
25933 This is a text line with the word 
25934 \begin_inset ERT
25935 status collapsed
25936
25937 \begin_layout Standard
25938
25939
25940 \backslash
25941 raisebox{-
25942 \backslash
25943 depth}[0pt]{
25944 \end_layout
25945
25946 \end_inset
25947
25948
25949 \begin_inset Quotes eld
25950 \end_inset
25951
25952 preventing
25953 \begin_inset Quotes erd
25954 \end_inset
25955
25956
25957 \begin_inset ERT
25958 status collapsed
25959
25960 \begin_layout Standard
25961
25962 }
25963 \end_layout
25964
25965 \end_inset
25966
25967  as lowered word.
25968 \newline
25969 This is a text line with the word 
25970 \begin_inset ERT
25971 status collapsed
25972
25973 \begin_layout Standard
25974
25975
25976 \backslash
25977 raisebox{0.5cm}[0pt]{
25978 \end_layout
25979
25980 \end_inset
25981
25982
25983 \begin_inset Quotes eld
25984 \end_inset
25985
25986 testing
25987 \begin_inset Quotes erd
25988 \end_inset
25989
25990
25991 \begin_inset ERT
25992 status collapsed
25993
25994 \begin_layout Standard
25995
25996 }
25997 \end_layout
25998
25999 \end_inset
26000
26001  as raised word.
26002 \end_layout
26003
26004 \begin_layout Section
26005 Colored Boxes
26006 \begin_inset LatexCommand label
26007 name "sec:Colored-Boxes"
26008
26009 \end_inset
26010
26011
26012 \begin_inset LatexCommand index
26013 name "Boxes ! Color"
26014
26015 \end_inset
26016
26017
26018 \end_layout
26019
26020 \begin_layout Subsection
26021 Color for Text
26022 \begin_inset LatexCommand index
26023 name "Color ! for Text"
26024
26025 \end_inset
26026
26027
26028 \end_layout
26029
26030 \begin_layout Standard
26031 To color the background of text the text must be put into a so called colorbox.
26032  This requires that the LaTeX-package 
26033 \series bold
26034 color
26035 \series default
26036
26037 \begin_inset LatexCommand index
26038 name "LaTeX-packages ! color"
26039
26040 \end_inset
26041
26042  is loaded in the document preamble with the command
26043 \end_layout
26044
26045 \begin_layout Standard
26046
26047 \series bold
26048
26049 \backslash
26050 @ifundef\SpecialChar \textcompwordmark{}
26051 ined{textcolor}
26052 \newline
26053
26054 \begin_inset ERT
26055 status collapsed
26056
26057 \begin_layout Standard
26058
26059
26060 \backslash
26061 hphantom{ }
26062 \end_layout
26063
26064 \end_inset
26065
26066 {
26067 \backslash
26068 usepackage{color}}{}
26069 \end_layout
26070
26071 \begin_layout Standard
26072 The package 
26073 \series bold
26074 color
26075 \series default
26076  will be loaded automatically by LyX when you color text
26077 \begin_inset Foot
26078 status collapsed
26079
26080 \begin_layout Standard
26081 To avoid that it is loaded twice the command 
26082 \series bold
26083
26084 \backslash
26085 @ifundef\SpecialChar \textcompwordmark{}
26086 ined
26087 \series default
26088  is used.
26089 \end_layout
26090
26091 \end_inset
26092
26093 .
26094 \end_layout
26095
26096 \begin_layout Standard
26097 \begin_inset VSpace medskip
26098 \end_inset
26099
26100 Colorboxes are created with the command 
26101 \series bold
26102
26103 \backslash
26104 colorbox
26105 \series default
26106 .
26107  This will be used with the following scheme:
26108 \end_layout
26109
26110 \begin_layout Standard
26111
26112 \series bold
26113
26114 \backslash
26115 colorbox{color}{box content}
26116 \end_layout
26117
26118 \begin_layout Standard
26119 The box content can also be a box and colorboxes can also be within other
26120  boxes.
26121 \end_layout
26122
26123 \begin_layout Standard
26124 The following colors are predefined:
26125 \newline
26126
26127 \family sans
26128 black
26129 \family default
26130
26131 \family sans
26132 blue
26133 \family default
26134
26135 \family sans
26136 cyan
26137 \family default
26138 \series bold
26139 ,
26140 \series default
26141  
26142 \family sans
26143 green
26144 \family default
26145
26146 \family sans
26147 magenta
26148 \family default
26149
26150 \family sans
26151 red
26152 \family default
26153
26154 \family sans
26155 white
26156 \family default
26157 , and 
26158 \family sans
26159 yellow
26160 \family default
26161 .
26162 \newline
26163 You can also define your own color as described in section\InsetSpace ~
26164
26165 \begin_inset LatexCommand ref
26166 reference "sec:Colored-Tables"
26167
26168 \end_inset
26169
26170 .
26171 \end_layout
26172
26173 \begin_layout Standard
26174 To have e.\InsetSpace \thinspace{}
26175 g.\InsetSpace ~
26176 a red background for a word, insert the command
26177 \end_layout
26178
26179 \begin_layout Standard
26180
26181 \series bold
26182
26183 \backslash
26184 colorbox{red}{
26185 \end_layout
26186
26187 \begin_layout Standard
26188 before the word in ERT.
26189  Behind the word insert a closing brace 
26190 \begin_inset Quotes eld
26191 \end_inset
26192
26193
26194 \series bold
26195 }
26196 \series default
26197
26198 \begin_inset Quotes erd
26199 \end_inset
26200
26201  in ERT.
26202 \newline
26203 This is the result:
26204 \end_layout
26205
26206 \begin_layout Standard
26207 This is a line where the word 
26208 \begin_inset ERT
26209 status collapsed
26210
26211 \begin_layout Standard
26212
26213
26214 \backslash
26215 colorbox{red}{
26216 \end_layout
26217
26218 \end_inset
26219
26220
26221 \begin_inset Quotes eld
26222 \end_inset
26223
26224 Attention!
26225 \begin_inset Quotes erd
26226 \end_inset
26227
26228
26229 \begin_inset ERT
26230 status collapsed
26231
26232 \begin_layout Standard
26233
26234 }
26235 \end_layout
26236
26237 \end_inset
26238
26239  has a red background.
26240 \end_layout
26241
26242 \begin_layout Standard
26243 \begin_inset VSpace bigskip
26244 \end_inset
26245
26246 If you would have the box frame in a different color, you can use the command
26247  
26248 \series bold
26249
26250 \backslash
26251 fcolorbox
26252 \series default
26253  with the following scheme:
26254 \end_layout
26255
26256 \begin_layout Standard
26257
26258 \series bold
26259
26260 \backslash
26261 fcolorbox{frame color}{box color}{box content}
26262 \end_layout
26263
26264 \begin_layout Standard
26265
26266 \series bold
26267
26268 \backslash
26269 fcolorbox
26270 \series default
26271  is an extension to 
26272 \series bold
26273
26274 \backslash
26275 colorbox
26276 \series default
26277 .
26278  The frame thickness and the space between the frame and the box content
26279  can be adjusted with the lengths 
26280 \series bold
26281
26282 \backslash
26283 fboxrule
26284 \series default
26285  and 
26286 \series bold
26287
26288 \backslash
26289 fboxsep
26290 \series default
26291 , respectively, as described in section\InsetSpace ~
26292
26293 \begin_inset LatexCommand ref
26294 reference "sec:Framed-Boxes"
26295
26296 \end_inset
26297
26298 .
26299 \end_layout
26300
26301 \begin_layout Standard
26302 For the following example the command
26303 \end_layout
26304
26305 \begin_layout Standard
26306
26307 \series bold
26308
26309 \backslash
26310 fcolorbox{cyan}{magenta}{
26311 \end_layout
26312
26313 \begin_layout Standard
26314 was used.
26315 \end_layout
26316
26317 \begin_layout Standard
26318 Here is an example where the frame line thickness was set to 1\InsetSpace \thinspace{}
26319 mm:
26320 \newline
26321
26322 \begin_inset ERT
26323 status collapsed
26324
26325 \begin_layout Standard
26326
26327
26328 \backslash
26329 fboxrule 1mm 
26330 \backslash
26331 fboxsep 1mm
26332 \end_layout
26333
26334 \end_inset
26335
26336
26337 \begin_inset ERT
26338 status collapsed
26339
26340 \begin_layout Standard
26341
26342
26343 \backslash
26344 fcolorbox{cyan}{magenta}{
26345 \end_layout
26346
26347 \end_inset
26348
26349 This is text within a colored, framed box.
26350 \begin_inset ERT
26351 status collapsed
26352
26353 \begin_layout Standard
26354
26355 }
26356 \end_layout
26357
26358 \end_inset
26359
26360
26361 \end_layout
26362
26363 \begin_layout Standard
26364 \begin_inset VSpace bigskip
26365 \end_inset
26366
26367 Of course you can also have colored text inside a colorbox:
26368 \newline
26369
26370 \begin_inset ERT
26371 status collapsed
26372
26373 \begin_layout Standard
26374
26375
26376 \backslash
26377 fcolorbox{cyan}{magenta}{
26378 \end_layout
26379
26380 \end_inset
26381
26382
26383 \color yellow
26384 This is colored text within a colored, framed box.
26385 \color none
26386
26387 \begin_inset ERT
26388 status collapsed
26389
26390 \begin_layout Standard
26391
26392 }
26393 \end_layout
26394
26395 \end_inset
26396
26397
26398 \begin_inset ERT
26399 status collapsed
26400
26401 \begin_layout Standard
26402
26403
26404 \backslash
26405 fboxrule 0.4pt 
26406 \backslash
26407 fboxsep 3pt
26408 \end_layout
26409
26410 \end_inset
26411
26412
26413 \end_layout
26414
26415 \begin_layout Standard
26416
26417 \series bold
26418 \begin_inset VSpace medskip
26419 \end_inset
26420
26421
26422 \end_layout
26423
26424 \begin_layout Standard
26425 \begin_inset Note Greyedout
26426 status open
26427
26428 \begin_layout Standard
26429
26430 \series bold
26431 Note:
26432 \series default
26433  Text in colorboxes cannot have line breaks.
26434  To color multiple text lines or paragraphs, use a box inside a colorbox
26435  as described in the following.
26436 \end_layout
26437
26438 \end_inset
26439
26440
26441 \end_layout
26442
26443 \begin_layout Subsection
26444 Color for Paragraphs
26445 \begin_inset LatexCommand label
26446 name "sub:Color-for-Paragraphs"
26447
26448 \end_inset
26449
26450
26451 \begin_inset LatexCommand index
26452 name "Color ! for Paragraphs"
26453
26454 \end_inset
26455
26456
26457 \end_layout
26458
26459 \begin_layout Standard
26460 To set the background color for more than one text line, put the text into
26461  a minipage.
26462  Before the minipage insert the 
26463 \series bold
26464
26465 \backslash
26466 colorbox
26467 \series default
26468  command
26469 \end_layout
26470
26471 \begin_layout Standard
26472
26473 \series bold
26474
26475 \backslash
26476 colorbox{color}{
26477 \end_layout
26478
26479 \begin_layout Standard
26480 in ERT.
26481  Behind the minipage insert a closing brace 
26482 \begin_inset Quotes eld
26483 \end_inset
26484
26485
26486 \series bold
26487 }
26488 \series default
26489
26490 \begin_inset Quotes erd
26491 \end_inset
26492
26493  in ERT.
26494 \end_layout
26495
26496 \begin_layout Standard
26497 \begin_inset ERT
26498 status collapsed
26499
26500 \begin_layout Standard
26501
26502
26503 \backslash
26504 colorbox{lightgrey}{
26505 \end_layout
26506
26507 \end_inset
26508
26509
26510 \begin_inset Box Frameless
26511 position "t"
26512 hor_pos "c"
26513 has_inner_box 1
26514 inner_pos "t"
26515 use_parbox 0
26516 width "100col%"
26517 special "none"
26518 height "1in"
26519 height_special "totalheight"
26520 status collapsed
26521
26522 \begin_layout Standard
26523 This is text with background color.
26524  This is text with background color.
26525 \end_layout
26526
26527 \begin_layout Standard
26528 \begin_inset VSpace defskip
26529 \end_inset
26530
26531 The text can have footnotes
26532 \begin_inset Foot
26533 status collapsed
26534
26535 \begin_layout Standard
26536 Another example footnote
26537 \end_layout
26538
26539 \end_inset
26540
26541  and can include tables and figures.
26542 \end_layout
26543
26544 \begin_layout Standard
26545 \align center
26546 \begin_inset Tabular
26547 <lyxtabular version="3" rows="3" columns="3">
26548 <features>
26549 <column alignment="center" valignment="top" leftline="true" width="0">
26550 <column alignment="center" valignment="top" leftline="true" width="0">
26551 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
26552 <row topline="true">
26553 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26554 \begin_inset Text
26555
26556 \begin_layout Standard
26557 a
26558 \end_layout
26559
26560 \end_inset
26561 </cell>
26562 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26563 \begin_inset Text
26564
26565 \begin_layout Standard
26566 !
26567 \end_layout
26568
26569 \end_inset
26570 </cell>
26571 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26572 \begin_inset Text
26573
26574 \begin_layout Standard
26575 3
26576 \end_layout
26577
26578 \end_inset
26579 </cell>
26580 </row>
26581 <row topline="true">
26582 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26583 \begin_inset Text
26584
26585 \begin_layout Standard
26586 <
26587 \end_layout
26588
26589 \end_inset
26590 </cell>
26591 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26592 \begin_inset Text
26593
26594 \begin_layout Standard
26595 b2
26596 \begin_inset Quotes erd
26597 \end_inset
26598
26599 |
26600 \end_layout
26601
26602 \end_inset
26603 </cell>
26604 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26605 \begin_inset Text
26606
26607 \begin_layout Standard
26608 >
26609 \end_layout
26610
26611 \end_inset
26612 </cell>
26613 </row>
26614 <row topline="true" bottomline="true">
26615 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26616 \begin_inset Text
26617
26618 \begin_layout Standard
26619 1
26620 \end_layout
26621
26622 \end_inset
26623 </cell>
26624 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26625 \begin_inset Text
26626
26627 \begin_layout Standard
26628 §
26629 \end_layout
26630
26631 \end_inset
26632 </cell>
26633 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26634 \begin_inset Text
26635
26636 \begin_layout Standard
26637 c
26638 \end_layout
26639
26640 \end_inset
26641 </cell>
26642 </row>
26643 </lyxtabular>
26644
26645 \end_inset
26646
26647
26648 \end_layout
26649
26650 \end_inset
26651
26652
26653 \begin_inset ERT
26654 status collapsed
26655
26656 \begin_layout Standard
26657
26658 }
26659 \end_layout
26660
26661 \end_inset
26662
26663
26664 \end_layout
26665
26666 \begin_layout Section
26667 URLs (Uniform Resource Locators)
26668 \begin_inset LatexCommand index
26669 name "URLs"
26670
26671 \end_inset
26672
26673
26674 \end_layout
26675
26676 \begin_layout Standard
26677 Links to web pages or email addresses can be inserted via the menu 
26678 \family sans
26679 Insert\SpecialChar \menuseparator
26680 URL
26681 \family default
26682 .
26683  The appearing URL dialog has two fields; the 
26684 \family sans
26685 URL
26686 \family default
26687  field and the 
26688 \family sans
26689 Name
26690 \family default
26691  field for the URL description, which will be typeset as plain text immediately
26692  before the URL.
26693 \end_layout
26694
26695 \begin_layout Standard
26696 Here is an example URL: 
26697 \begin_inset LatexCommand url
26698 name "LyX's homepage"
26699 target "http://www.lyx.org"
26700
26701 \end_inset
26702
26703
26704 \end_layout
26705
26706 \begin_layout Standard
26707 The option 
26708 \family sans
26709 Generate\InsetSpace ~
26710 hyperlink
26711 \family default
26712  in the URL dialog has only an affect when you export your document to the
26713  format 
26714 \begin_inset Quotes eld
26715 \end_inset
26716
26717
26718 \family sans
26719 LinuxDoc
26720 \family default
26721
26722 \begin_inset Quotes erd
26723 \end_inset
26724
26725 .
26726 \end_layout
26727
26728 \begin_layout Standard
26729 You cannot change the style of the link text.
26730  The text of the 
26731 \family sans
26732 Name
26733 \family default
26734  field will have the default text style of the document while the text of
26735  the 
26736 \family sans
26737 URL
26738 \family default
26739  field will have the style 
26740 \begin_inset Quotes eld
26741 \end_inset
26742
26743
26744 \family sans
26745 Typewriter
26746 \family default
26747
26748 \begin_inset Quotes erd
26749 \end_inset
26750
26751 .
26752 \end_layout
26753
26754 \begin_layout Standard
26755 When you use the LaTeX-package 
26756 \series bold
26757 hyperref
26758 \series default
26759
26760 \begin_inset LatexCommand index
26761 name "LaTeX-packages ! hyperref"
26762
26763 \end_inset
26764
26765  to link cross-references in the output, URLs will automatically become
26766  clickable hyperlinks in DVI and PDF-output.
26767 \end_layout
26768
26769 \begin_layout Standard
26770 \begin_inset Note Greyedout
26771 status open
26772
26773 \begin_layout Standard
26774
26775 \series bold
26776 Note:
26777 \series default
26778  When you use the following characters: "%", "#", "^", you have to write
26779  them with a preceding backslash, e.\InsetSpace \thinspace{}
26780 g.\InsetSpace ~
26781
26782 \begin_inset Quotes eld
26783 \end_inset
26784
26785
26786 \backslash
26787 #
26788 \begin_inset Quotes erd
26789 \end_inset
26790
26791 .
26792  URLs must not end with a backslash.
26793 \end_layout
26794
26795 \end_inset
26796
26797
26798 \end_layout
26799
26800 \begin_layout Standard
26801 \begin_inset VSpace bigskip
26802 \end_inset
26803
26804 To create real hyperlinks without the force to write the link location to
26805  the text, you can use the command
26806 \end_layout
26807
26808 \begin_layout Standard
26809
26810 \series bold
26811
26812 \backslash
26813 href{link location}{link text}
26814 \end_layout
26815
26816 \begin_layout Standard
26817 in ERT.
26818  To get for example a link to LyX's web page, write the command
26819 \end_layout
26820
26821 \begin_layout Standard
26822
26823 \series bold
26824
26825 \backslash
26826 href{http://www.lyx.org}{
26827 \end_layout
26828
26829 \begin_layout Standard
26830 in ERT.
26831  Insert after the command the link text 
26832 \begin_inset Quotes eld
26833 \end_inset
26834
26835 LyX's homepage
26836 \begin_inset Quotes erd
26837 \end_inset
26838
26839  as normal text followed by a closing brace 
26840 \begin_inset Quotes eld
26841 \end_inset
26842
26843
26844 \series bold
26845 }
26846 \series default
26847
26848 \begin_inset Quotes erd
26849 \end_inset
26850
26851  in ERT.
26852  This is the result: 
26853 \begin_inset ERT
26854 status collapsed
26855
26856 \begin_layout Standard
26857
26858
26859 \backslash
26860 href{http://www.lyx.org}{
26861 \end_layout
26862
26863 \end_inset
26864
26865 LyX's homepage
26866 \begin_inset ERT
26867 status collapsed
26868
26869 \begin_layout Standard
26870
26871 }
26872 \end_layout
26873
26874 \end_inset
26875
26876
26877 \end_layout
26878
26879 \begin_layout Standard
26880 To link to email addresses, add the prefix 
26881 \begin_inset Quotes eld
26882 \end_inset
26883
26884
26885 \family sans
26886 mailto:
26887 \family default
26888
26889 \begin_inset Quotes erd
26890 \end_inset
26891
26892  to the link location:
26893 \newline
26894 Email to 
26895 \begin_inset ERT
26896 status collapsed
26897
26898 \begin_layout Standard
26899
26900
26901 \backslash
26902 href{mailto:lyx-docs@lists.lyx.org?subject=LyX's documentation}{
26903 \end_layout
26904
26905 \end_inset
26906
26907 lyx-docs mailing list
26908 \begin_inset ERT
26909 status collapsed
26910
26911 \begin_layout Standard
26912
26913 }
26914 \end_layout
26915
26916 \end_inset
26917
26918 .
26919 \end_layout
26920
26921 \begin_layout Standard
26922 Using 
26923 \series bold
26924
26925 \backslash
26926 href
26927 \series default
26928  instead of LyX's URL box has the advantage that you can specify the text
26929  style of the link text like for all other text parts.
26930  You can therefore set hyphenation points and forced linebreaks to have
26931  long link text broken at the page margin.
26932  You are furthermore able to change the text style for all URLs in your
26933  document with an option in 
26934 \series bold
26935 hyperref
26936 \series default
26937 's load command and the restrictions mentioned above doesn't apply for 
26938 \series bold
26939
26940 \backslash
26941 href
26942 \series default
26943 .
26944 \end_layout
26945
26946 \begin_layout Chapter
26947 External Stuff
26948 \begin_inset LatexCommand index
26949 name "External Stuff"
26950
26951 \end_inset
26952
26953
26954 \end_layout
26955
26956 \begin_layout Standard
26957 With the menu 
26958 \family sans
26959 Insert\SpecialChar \menuseparator
26960 File
26961 \family default
26962  you can insert external material to your document.
26963  This can be:
26964 \end_layout
26965
26966 \begin_layout Description
26967 LyX\InsetSpace ~
26968 Document Another LyX document; its content is directly inserted to your
26969  document.
26970 \end_layout
26971
26972 \begin_layout Description
26973 Plain\InsetSpace ~
26974 Text A text document; every of its text lines is inserted to your document
26975  as own paragraph.
26976 \end_layout
26977
26978 \begin_layout Description
26979 Plain\InsetSpace ~
26980 Text,\InsetSpace ~
26981 Join\InsetSpace ~
26982 Lines A text document; its text lines are inserted as they
26983  are.
26984  Empty text lines creates a new paragraph in your document.
26985 \end_layout
26986
26987 \begin_layout Description
26988 External\InsetSpace ~
26989 Material Files in various formats.
26990 \end_layout
26991
26992 \begin_layout Description
26993 Child\InsetSpace ~
26994 Document LyX or LaTeX-documents.
26995 \end_layout
26996
26997 \begin_layout Section
26998 External Material
26999 \begin_inset LatexCommand index
27000 name "External Stuff ! External Material"
27001
27002 \end_inset
27003
27004
27005 \end_layout
27006
27007 \begin_layout Standard
27008 The external material feature allows you to insert files to your document
27009  without converting them previously to a format that can be read by the
27010  document output format because LyX takes care of needed conversions.
27011  This is similar to images that can be inserted in various image formats
27012  to LyX documents.
27013 \end_layout
27014
27015 \begin_layout Standard
27016 External material can be inserted via the 
27017 \family sans
27018 External Material
27019 \family default
27020  dialog that is accessible with the menu 
27021 \family sans
27022 Insert\SpecialChar \menuseparator
27023 File\SpecialChar \menuseparator
27024 External\InsetSpace ~
27025 Material
27026 \family default
27027 .
27028  Currently the following file types (
27029 \family sans
27030 Templates
27031 \family default
27032 ) are allowed:
27033 \end_layout
27034
27035 \begin_layout Description
27036 ChessDiagram This template supports chess position diagrams made with the
27037  program 
27038 \begin_inset ERT
27039 status collapsed
27040
27041 \begin_layout Standard
27042
27043
27044 \backslash
27045 href{http://en.wikipedia.org/wiki/XBoard}{
27046 \end_layout
27047
27048 \end_inset
27049
27050
27051 \series bold
27052 XBoard
27053 \series default
27054
27055 \begin_inset ERT
27056 status collapsed
27057
27058 \begin_layout Standard
27059
27060 }
27061 \end_layout
27062
27063 \end_inset
27064
27065 .
27066 \end_layout
27067
27068 \begin_layout Description
27069 Date This inserts the date in the form 
27070 \emph on
27071 Date-Month-Year
27072 \emph default
27073 .
27074  This is a date inserted as external material: 
27075 \begin_inset External
27076         template Date
27077         filename .
27078
27079 \end_inset
27080
27081
27082 \newline
27083 The date is not shown within LyX, only in the output.
27084  There are two other methods of inserting a date, via menu 
27085 \family sans
27086 Insert\SpecialChar \menuseparator
27087 Date
27088 \family default
27089  and with the LaTeX command 
27090 \series bold
27091
27092 \backslash
27093 today
27094 \series default
27095  as ERT.
27096  The different methods are compared in Table\InsetSpace ~
27097
27098 \begin_inset LatexCommand ref
27099 reference "tab:Comparison-of-the"
27100
27101 \end_inset
27102
27103 .
27104 \end_layout
27105
27106 \begin_layout Description
27107 LilyPond This template is used for music notation typeset with the program
27108 \begin_inset ERT
27109 status collapsed
27110
27111 \begin_layout Standard
27112
27113
27114 \backslash
27115 linebreak 
27116 \end_layout
27117
27118 \end_inset
27119
27120
27121 \begin_inset ERT
27122 status collapsed
27123
27124 \begin_layout Standard
27125
27126
27127 \backslash
27128 href{http://en.wikipedia.org/wiki/LilyPond}{
27129 \end_layout
27130
27131 \end_inset
27132
27133
27134 \series bold
27135 LilyPond
27136 \series default
27137
27138 \begin_inset ERT
27139 status collapsed
27140
27141 \begin_layout Standard
27142
27143 }
27144 \end_layout
27145
27146 \end_inset
27147
27148 .
27149 \begin_inset Note Note
27150 status collapsed
27151
27152 \begin_layout Standard
27153 The command 
27154 \series bold
27155
27156 \backslash
27157 linebreak
27158 \series default
27159  breaks the line while the remaining text in the line is stretched to the
27160  page margin.
27161 \end_layout
27162
27163 \end_inset
27164
27165
27166 \end_layout
27167
27168 \begin_layout Description
27169 RasterImage This can be used for bitmap images.
27170  Nearly all popular image formats are supported.
27171  The image can be treated in the 
27172 \family sans
27173 External material
27174 \family default
27175  dialog like the images that are usually included via the 
27176 \family sans
27177 Graphics
27178 \family default
27179  dialog as described in section\InsetSpace ~
27180
27181 \begin_inset LatexCommand ref
27182 reference "sec:Graphics-Dialog"
27183
27184 \end_inset
27185
27186 .
27187  The difference is that only raster images are allowed, that means that
27188  PDF and EPS-images are not supported.
27189 \end_layout
27190
27191 \begin_layout Description
27192 XFig This template supports images created with the program 
27193 \begin_inset ERT
27194 status collapsed
27195
27196 \begin_layout Standard
27197
27198
27199 \backslash
27200 href{http://en.wikipedia.org/wiki/Xfig}{
27201 \end_layout
27202
27203 \end_inset
27204
27205
27206 \series bold
27207 Xfig
27208 \series default
27209
27210 \begin_inset ERT
27211 status collapsed
27212
27213 \begin_layout Standard
27214
27215 }
27216 \end_layout
27217
27218 \end_inset
27219
27220 .
27221 \end_layout
27222
27223 \begin_layout Standard
27224 \begin_inset Float table
27225 placement h
27226 wide false
27227 sideways false
27228 status open
27229
27230 \begin_layout Standard
27231 \begin_inset Caption
27232
27233 \begin_layout Standard
27234 \begin_inset LatexCommand label
27235 name "tab:Comparison-of-the"
27236
27237 \end_inset
27238
27239 Comparison of the date input methods.
27240 \end_layout
27241
27242 \end_inset
27243
27244
27245 \end_layout
27246
27247 \begin_layout Standard
27248 \align center
27249 \begin_inset Tabular
27250 <lyxtabular version="3" rows="4" columns="4">
27251 <features>
27252 <column alignment="center" valignment="top" leftline="true" width="0">
27253 <column alignment="center" valignment="top" leftline="true" width="0">
27254 <column alignment="center" valignment="top" leftline="true" width="0">
27255 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
27256 <row topline="true">
27257 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27258 \begin_inset Text
27259
27260 \begin_layout Standard
27261 Document format
27262 \end_layout
27263
27264 \end_inset
27265 </cell>
27266 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27267 \begin_inset Text
27268
27269 \begin_layout Standard
27270
27271 \family sans
27272 External Material\SpecialChar \menuseparator
27273 Date
27274 \end_layout
27275
27276 \end_inset
27277 </cell>
27278 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27279 \begin_inset Text
27280
27281 \begin_layout Standard
27282
27283 \family sans
27284 Insert\SpecialChar \menuseparator
27285 Date
27286 \end_layout
27287
27288 \end_inset
27289 </cell>
27290 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27291 \begin_inset Text
27292
27293 \begin_layout Standard
27294 command 
27295 \series bold
27296
27297 \backslash
27298 today
27299 \end_layout
27300
27301 \end_inset
27302 </cell>
27303 </row>
27304 <row topline="true">
27305 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27306 \begin_inset Text
27307
27308 \begin_layout Standard
27309 LyX
27310 \end_layout
27311
27312 \end_inset
27313 </cell>
27314 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27315 \begin_inset Text
27316
27317 \begin_layout Standard
27318 as inset box
27319 \end_layout
27320
27321 \end_inset
27322 </cell>
27323 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27324 \begin_inset Text
27325
27326 \begin_layout Standard
27327 as date
27328 \end_layout
27329
27330 \end_inset
27331 </cell>
27332 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27333 \begin_inset Text
27334
27335 \begin_layout Standard
27336 as ERT inset box
27337 \end_layout
27338
27339 \end_inset
27340 </cell>
27341 </row>
27342 <row topline="true">
27343 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27344 \begin_inset Text
27345
27346 \begin_layout Standard
27347 LaTeX
27348 \end_layout
27349
27350 \end_inset
27351 </cell>
27352 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27353 \begin_inset Text
27354
27355 \begin_layout Standard
27356 as date
27357 \end_layout
27358
27359 \end_inset
27360 </cell>
27361 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27362 \begin_inset Text
27363
27364 \begin_layout Standard
27365 as date
27366 \end_layout
27367
27368 \end_inset
27369 </cell>
27370 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27371 \begin_inset Text
27372
27373 \begin_layout Standard
27374 as command
27375 \end_layout
27376
27377 \end_inset
27378 </cell>
27379 </row>
27380 <row topline="true" bottomline="true">
27381 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27382 \begin_inset Text
27383
27384 \begin_layout Standard
27385 DVI, PDF, PS
27386 \end_layout
27387
27388 \end_inset
27389 </cell>
27390 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27391 \begin_inset Text
27392
27393 \begin_layout Standard
27394 as date
27395 \end_layout
27396
27397 \end_inset
27398 </cell>
27399 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27400 \begin_inset Text
27401
27402 \begin_layout Standard
27403 as date
27404 \end_layout
27405
27406 \end_inset
27407 </cell>
27408 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27409 \begin_inset Text
27410
27411 \begin_layout Standard
27412 as date
27413 \end_layout
27414
27415 \end_inset
27416 </cell>
27417 </row>
27418 </lyxtabular>
27419
27420 \end_inset
27421
27422
27423 \end_layout
27424
27425 \end_inset
27426
27427
27428 \end_layout
27429
27430 \begin_layout Standard
27431 When you use the option 
27432 \family sans
27433 Draft
27434 \family default
27435  in the 
27436 \family sans
27437 File
27438 \family default
27439  tab of the 
27440 \family sans
27441 External Material
27442 \family default
27443  dialog, only the path to the inserted file is shown in the output.
27444 \newline
27445 External
27446  material is displayed in LyX either as box like this: 
27447 \begin_inset Graphics
27448         filename clipart/ExternalMaterialQt4.png
27449         scale 85
27450
27451 \end_inset
27452
27453  or as image, depending on the setting in the 
27454 \family sans
27455 LyX\InsetSpace ~
27456 View
27457 \family default
27458  tab of the 
27459 \family sans
27460 External Material
27461 \family default
27462  dialog.
27463 \end_layout
27464
27465 \begin_layout Standard
27466 The 
27467 \family sans
27468 \emph on
27469 Customization
27470 \family default
27471 \emph default
27472  manual explains how you can define your own templates.
27473 \end_layout
27474
27475 \begin_layout Section
27476 Child Documents
27477 \begin_inset LatexCommand index
27478 name "External Stuff ! Child Documents"
27479
27480 \end_inset
27481
27482
27483 \begin_inset LatexCommand index
27484 name "Files ! Include"
27485
27486 \end_inset
27487
27488
27489 \end_layout
27490
27491 \begin_layout Standard
27492 Child documents are used when you have a long document consisting of several
27493  larger parts or sections.
27494  For maintenance it is often useful and sometimes even required to split
27495  the document in several files that can be revised separately.
27496  The different documents are then the so called child documents and a master
27497  document connects them to print the full document or parts of it.
27498 \end_layout
27499
27500 \begin_layout Standard
27501 Included documents are displayed in LyX as a box like this: 
27502 \begin_inset Graphics
27503         filename clipart/ChildDocumentQt4.png
27504         scale 85
27505
27506 \end_inset
27507
27508  To include child documents to a master document use the menu 
27509 \family sans
27510 Insert\SpecialChar \menuseparator
27511 File\SpecialChar \menuseparator
27512 Child\InsetSpace ~
27513 Documents
27514 \family default
27515 .
27516  A dialog pops up where you can choose between three include methods:
27517 \end_layout
27518
27519 \begin_layout Description
27520 Include You can include LyX and LaTeX-documents.
27521  When you press the 
27522 \family sans
27523 Load
27524 \family default
27525  button in the 
27526 \family sans
27527 Child Document
27528 \family default
27529  dialog, the included documents will be opened in LyX in a new file tab
27530  so that you can modify it.
27531 \newline
27532
27533 \end_layout
27534
27535 \begin_layout Standard
27536 Here is a child document inserted using 
27537 \family sans
27538 Include
27539 \family default
27540
27541 \begin_inset Include \include{DummyDocument1.lyx}
27542 preview false
27543
27544 \end_inset
27545
27546
27547 \end_layout
27548
27549 \begin_layout Standard
27550 The section numbering includes the sections of the included files in the
27551  order they are inserted in the master document.
27552  The included example document has for example a subsection that is numbered
27553  as subsection of this section.
27554  Labels of included documents can be referenced: Subsection\InsetSpace ~
27555
27556 \begin_inset LatexCommand ref
27557 reference "sub:External-Subsection-1"
27558
27559 \end_inset
27560
27561
27562 \end_layout
27563
27564 \begin_layout Standard
27565 The preamble of the child document is ignored, only the preamble of the
27566  master document is used.
27567  Included documents are inserted starting on a new page and end with a pagebreak.
27568 \end_layout
27569
27570 \begin_layout Standard
27571 With the LaTeX-command 
27572 \series bold
27573
27574 \backslash
27575 includeonly 
27576 \series default
27577 you can specify which included child documents are processed when the output
27578  is generated.
27579  This is useful when you are perhaps only working on a certain chapter of
27580  your large document as this saves compiling time.
27581  
27582 \series bold
27583
27584 \backslash
27585 includeonly
27586 \series default
27587  is inserted to the master document preamble.
27588  It takes a comma-separated list of the filenames as argument, e.g.
27589 \end_layout
27590
27591 \begin_layout Standard
27592
27593 \series bold
27594
27595 \backslash
27596 includeonly{chapter1,chapter5}
27597 \end_layout
27598
27599 \begin_layout Standard
27600 will only process the included files named 
27601 \begin_inset Quotes eld
27602 \end_inset
27603
27604 chapter1.lyx
27605 \begin_inset Quotes erd
27606 \end_inset
27607
27608  (or 
27609 \begin_inset Quotes eld
27610 \end_inset
27611
27612 chapter1.tex
27613 \begin_inset Quotes erd
27614 \end_inset
27615
27616 ) and 
27617 \begin_inset Quotes eld
27618 \end_inset
27619
27620 chapter5.lyx
27621 \begin_inset Quotes erd
27622 \end_inset
27623
27624  .
27625 \end_layout
27626
27627 \begin_layout Standard
27628 \begin_inset Note Greyedout
27629 status open
27630
27631 \begin_layout Standard
27632
27633 \series bold
27634 Note:
27635 \series default
27636  When you have included a LyX- or LaTeX-file, you are warned when you export/vie
27637 w the document in case that the child document uses another document class
27638  than the master document as this will lead to unexpected outputs.
27639 \end_layout
27640
27641 \end_inset
27642
27643
27644 \end_layout
27645
27646 \begin_layout Description
27647 Input This method is very similar to the Include method.
27648  The differences are:
27649 \end_layout
27650
27651 \begin_deeper
27652 \begin_layout Itemize
27653 Input files don't start with a new page and don't end with a pagebreak.
27654 \end_layout
27655
27656 \begin_layout Itemize
27657 Input files can be previewed in LyX when 
27658 \family sans
27659 Instant\InsetSpace ~
27660 Preview
27661 \family default
27662  is enabled in LyX's preferences under 
27663 \family sans
27664 Look\InsetSpace ~
27665 and\InsetSpace ~
27666 feel\SpecialChar \menuseparator
27667 Graphics
27668 \family default
27669 .
27670 \end_layout
27671
27672 \begin_layout Itemize
27673 The LaTeX-command 
27674 \series bold
27675
27676 \backslash
27677 includeonly
27678 \series default
27679  cannot be used.
27680 \end_layout
27681
27682 \end_deeper
27683 \begin_layout Standard
27684 Here is a child document inserted using 
27685 \family sans
27686 Input
27687 \family default
27688
27689 \begin_inset Include \input{DummyDocument2.lyx}
27690 preview true
27691
27692 \end_inset
27693
27694
27695 \end_layout
27696
27697 \begin_layout Description
27698 Verbatim With this method every text file can be included.
27699  The file is shown in the output with its source code, no command used in
27700  the text is invoked.
27701  You can use the option 
27702 \family sans
27703 Mark spaces in output
27704 \family default
27705  that displays the character 
27706 \begin_inset Quotes eld
27707 \end_inset
27708
27709
27710 \begin_inset ERT
27711 status collapsed
27712
27713 \begin_layout Standard
27714
27715
27716 \backslash
27717 textvisiblespace 
27718 \end_layout
27719
27720 \end_inset
27721
27722
27723 \begin_inset Quotes erd
27724 \end_inset
27725
27726  for every space character in the source code.
27727  The difference to the method via the menu 
27728 \family sans
27729 Insert\SpecialChar \menuseparator
27730 File\SpecialChar \menuseparator
27731 Plain\InsetSpace ~
27732 Text
27733 \family default
27734  is that the document content is not shown in LyX.
27735 \end_layout
27736
27737 \begin_layout Standard
27738 Here is a child document inserted as Verbatim: 
27739 \begin_inset Include \verbatiminput{DummyTextDocument.txt}
27740 preview false
27741
27742 \end_inset
27743
27744
27745 \begin_inset VSpace bigskip
27746 \end_inset
27747
27748 Here is a child document inserted as Verbatim using the 
27749 \family sans
27750 Mark spaces in output
27751 \family default
27752  option: 
27753 \begin_inset Include \verbatiminput*{DummyTextDocument.txt}
27754 preview false
27755
27756 \end_inset
27757
27758
27759 \end_layout
27760
27761 \begin_layout Standard
27762 \begin_inset VSpace bigskip
27763 \end_inset
27764
27765
27766 \end_layout
27767
27768 \begin_layout Standard
27769 \begin_inset Note Greyedout
27770 status open
27771
27772 \begin_layout Standard
27773
27774 \series bold
27775 Note:
27776 \series default
27777  As you can see in the examples above, the text of the documents included
27778  as verbatim is not broken at the end of the document lines.
27779 \end_layout
27780
27781 \end_inset
27782
27783
27784 \end_layout
27785
27786 \begin_layout Standard
27787 \begin_inset Note Greyedout
27788 status open
27789
27790 \begin_layout Standard
27791
27792 \series bold
27793 Note:
27794 \series default
27795  Including the same document twice in a document using different methods
27796  could cause LaTeX-problems.
27797 \end_layout
27798
27799 \end_inset
27800
27801
27802 \end_layout
27803
27804 \begin_layout Standard
27805
27806 \newpage
27807
27808 \end_layout
27809
27810 \begin_layout Chapter
27811 \start_of_appendix
27812 Units available in 
27813 \begin_inset ERT
27814 status collapsed
27815
27816 \begin_layout Standard
27817
27818
27819 \backslash
27820 texorpdfstring{
27821 \end_layout
27822
27823 \end_inset
27824
27825 LyX
27826 \begin_inset ERT
27827 status collapsed
27828
27829 \begin_layout Standard
27830
27831 }{LyX}
27832 \end_layout
27833
27834 \end_inset
27835
27836
27837 \begin_inset LatexCommand index
27838 name "Units"
27839
27840 \end_inset
27841
27842
27843 \begin_inset LatexCommand label
27844 name "cha:Units-available-in"
27845
27846 \end_inset
27847
27848
27849 \begin_inset Note Note
27850 status collapsed
27851
27852 \begin_layout Standard
27853 The command 
27854 \backslash
27855 texorpdfstring is provided by the LaTeX-package hyperref to avoid that ligatures
27856  are displayed wrongly in PDF-bookmarks.
27857  For more information about this, have a look at 
27858 \begin_inset LatexCommand cite
27859 key "hyperref"
27860
27861 \end_inset
27862
27863 .
27864 \end_layout
27865
27866 \end_inset
27867
27868
27869 \end_layout
27870
27871 \begin_layout Standard
27872 To understand the units described in this documentation, Table\InsetSpace ~
27873
27874 \begin_inset LatexCommand ref
27875 reference "tab:Units"
27876
27877 \end_inset
27878
27879  explains all units available in LyX.
27880 \end_layout
27881
27882 \begin_layout Standard
27883 \begin_inset Float table
27884 placement h
27885 wide false
27886 sideways false
27887 status open
27888
27889 \begin_layout Standard
27890 \begin_inset Caption
27891
27892 \begin_layout Standard
27893 \begin_inset LatexCommand label
27894 name "tab:Units"
27895
27896 \end_inset
27897
27898 Units
27899 \end_layout
27900
27901 \end_inset
27902
27903
27904 \end_layout
27905
27906 \begin_layout Standard
27907 \begin_inset VSpace medskip
27908 \end_inset
27909
27910
27911 \end_layout
27912
27913 \begin_layout Standard
27914 \align center
27915 \begin_inset Tabular
27916 <lyxtabular version="3" rows="20" columns="2">
27917 <features>
27918 <column alignment="center" valignment="top" leftline="true" width="0">
27919 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
27920 <row topline="true" bottomline="true">
27921 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27922 \begin_inset Text
27923
27924 \begin_layout Standard
27925 unit
27926 \end_layout
27927
27928 \end_inset
27929 </cell>
27930 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27931 \begin_inset Text
27932
27933 \begin_layout Standard
27934 name/description
27935 \end_layout
27936
27937 \end_inset
27938 </cell>
27939 </row>
27940 <row topline="true">
27941 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27942 \begin_inset Text
27943
27944 \begin_layout Standard
27945 mm
27946 \end_layout
27947
27948 \end_inset
27949 </cell>
27950 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27951 \begin_inset Text
27952
27953 \begin_layout Standard
27954 millimeter
27955 \end_layout
27956
27957 \end_inset
27958 </cell>
27959 </row>
27960 <row topline="true">
27961 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27962 \begin_inset Text
27963
27964 \begin_layout Standard
27965 cm
27966 \end_layout
27967
27968 \end_inset
27969 </cell>
27970 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27971 \begin_inset Text
27972
27973 \begin_layout Standard
27974 centimeter
27975 \end_layout
27976
27977 \end_inset
27978 </cell>
27979 </row>
27980 <row topline="true">
27981 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27982 \begin_inset Text
27983
27984 \begin_layout Standard
27985 in
27986 \end_layout
27987
27988 \end_inset
27989 </cell>
27990 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27991 \begin_inset Text
27992
27993 \begin_layout Standard
27994 inch
27995 \end_layout
27996
27997 \end_inset
27998 </cell>
27999 </row>
28000 <row topline="true">
28001 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28002 \begin_inset Text
28003
28004 \begin_layout Standard
28005 pt
28006 \end_layout
28007
28008 \end_inset
28009 </cell>
28010 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28011 \begin_inset Text
28012
28013 \begin_layout Standard
28014 point (72.27\InsetSpace \thinspace{}
28015 pt = 1\InsetSpace \thinspace{}
28016 in)
28017 \end_layout
28018
28019 \end_inset
28020 </cell>
28021 </row>
28022 <row topline="true">
28023 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28024 \begin_inset Text
28025
28026 \begin_layout Standard
28027 pc
28028 \end_layout
28029
28030 \end_inset
28031 </cell>
28032 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28033 \begin_inset Text
28034
28035 \begin_layout Standard
28036 pica (1\InsetSpace \thinspace{}
28037 pc = 12\InsetSpace \thinspace{}
28038 pt)
28039 \end_layout
28040
28041 \end_inset
28042 </cell>
28043 </row>
28044 <row topline="true">
28045 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28046 \begin_inset Text
28047
28048 \begin_layout Standard
28049 sp
28050 \end_layout
28051
28052 \end_inset
28053 </cell>
28054 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28055 \begin_inset Text
28056
28057 \begin_layout Standard
28058 scaled point (65536\InsetSpace \thinspace{}
28059 sp = 1\InsetSpace \thinspace{}
28060 pt)
28061 \end_layout
28062
28063 \end_inset
28064 </cell>
28065 </row>
28066 <row topline="true">
28067 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28068 \begin_inset Text
28069
28070 \begin_layout Standard
28071 bp
28072 \end_layout
28073
28074 \end_inset
28075 </cell>
28076 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28077 \begin_inset Text
28078
28079 \begin_layout Standard
28080 big point (72\InsetSpace \thinspace{}
28081 bp = 1\InsetSpace \thinspace{}
28082 in)
28083 \end_layout
28084
28085 \end_inset
28086 </cell>
28087 </row>
28088 <row topline="true">
28089 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28090 \begin_inset Text
28091
28092 \begin_layout Standard
28093 dd
28094 \end_layout
28095
28096 \end_inset
28097 </cell>
28098 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28099 \begin_inset Text
28100
28101 \begin_layout Standard
28102 didot (72\InsetSpace \thinspace{}
28103 dd 
28104 \begin_inset Formula $\approx$
28105 \end_inset
28106
28107  37.6\InsetSpace \thinspace{}
28108 mm)
28109 \end_layout
28110
28111 \end_inset
28112 </cell>
28113 </row>
28114 <row topline="true">
28115 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28116 \begin_inset Text
28117
28118 \begin_layout Standard
28119 cc
28120 \end_layout
28121
28122 \end_inset
28123 </cell>
28124 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28125 \begin_inset Text
28126
28127 \begin_layout Standard
28128 cicero (1\InsetSpace \thinspace{}
28129 cc = 12\InsetSpace \thinspace{}
28130 dd)
28131 \end_layout
28132
28133 \end_inset
28134 </cell>
28135 </row>
28136 <row topline="true">
28137 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28138 \begin_inset Text
28139
28140 \begin_layout Standard
28141 Scale%
28142 \end_layout
28143
28144 \end_inset
28145 </cell>
28146 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28147 \begin_inset Text
28148
28149 \begin_layout Standard
28150 % of original image width
28151 \end_layout
28152
28153 \end_inset
28154 </cell>
28155 </row>
28156 <row topline="true">
28157 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28158 \begin_inset Text
28159
28160 \begin_layout Standard
28161 text%
28162 \end_layout
28163
28164 \end_inset
28165 </cell>
28166 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28167 \begin_inset Text
28168
28169 \begin_layout Standard
28170 % of text width
28171 \end_layout
28172
28173 \end_inset
28174 </cell>
28175 </row>
28176 <row topline="true">
28177 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28178 \begin_inset Text
28179
28180 \begin_layout Standard
28181 col%
28182 \end_layout
28183
28184 \end_inset
28185 </cell>
28186 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28187 \begin_inset Text
28188
28189 \begin_layout Standard
28190 % of column width
28191 \end_layout
28192
28193 \end_inset
28194 </cell>
28195 </row>
28196 <row topline="true">
28197 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28198 \begin_inset Text
28199
28200 \begin_layout Standard
28201 page%
28202 \end_layout
28203
28204 \end_inset
28205 </cell>
28206 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28207 \begin_inset Text
28208
28209 \begin_layout Standard
28210 % of paper width
28211 \end_layout
28212
28213 \end_inset
28214 </cell>
28215 </row>
28216 <row topline="true">
28217 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28218 \begin_inset Text
28219
28220 \begin_layout Standard
28221 line%
28222 \end_layout
28223
28224 \end_inset
28225 </cell>
28226 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28227 \begin_inset Text
28228
28229 \begin_layout Standard
28230 % of line width
28231 \end_layout
28232
28233 \end_inset
28234 </cell>
28235 </row>
28236 <row topline="true">
28237 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28238 \begin_inset Text
28239
28240 \begin_layout Standard
28241 theight%
28242 \end_layout
28243
28244 \end_inset
28245 </cell>
28246 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28247 \begin_inset Text
28248
28249 \begin_layout Standard
28250 % of text height
28251 \end_layout
28252
28253 \end_inset
28254 </cell>
28255 </row>
28256 <row topline="true">
28257 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28258 \begin_inset Text
28259
28260 \begin_layout Standard
28261 pheight%
28262 \end_layout
28263
28264 \end_inset
28265 </cell>
28266 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28267 \begin_inset Text
28268
28269 \begin_layout Standard
28270 % of paper height
28271 \end_layout
28272
28273 \end_inset
28274 </cell>
28275 </row>
28276 <row topline="true">
28277 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28278 \begin_inset Text
28279
28280 \begin_layout Standard
28281 ex
28282 \end_layout
28283
28284 \end_inset
28285 </cell>
28286 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28287 \begin_inset Text
28288
28289 \begin_layout Standard
28290 height of letter 
28291 \emph on
28292 x
28293 \emph default
28294  in current font
28295 \end_layout
28296
28297 \end_inset
28298 </cell>
28299 </row>
28300 <row topline="true">
28301 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28302 \begin_inset Text
28303
28304 \begin_layout Standard
28305 em
28306 \end_layout
28307
28308 \end_inset
28309 </cell>
28310 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28311 \begin_inset Text
28312
28313 \begin_layout Standard
28314 width of letter 
28315 \emph on
28316 M
28317 \emph default
28318  in current font
28319 \end_layout
28320
28321 \end_inset
28322 </cell>
28323 </row>
28324 <row topline="true" bottomline="true">
28325 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28326 \begin_inset Text
28327
28328 \begin_layout Standard
28329 mu
28330 \end_layout
28331
28332 \end_inset
28333 </cell>
28334 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28335 \begin_inset Text
28336
28337 \begin_layout Standard
28338 math unit (1\InsetSpace \thinspace{}
28339 mu = 1/18\InsetSpace \thinspace{}
28340 em)
28341 \end_layout
28342
28343 \end_inset
28344 </cell>
28345 </row>
28346 </lyxtabular>
28347
28348 \end_inset
28349
28350
28351 \end_layout
28352
28353 \end_inset
28354
28355
28356 \end_layout
28357
28358 \begin_layout Chapter
28359 Output File Formats with Graphics
28360 \begin_inset LatexCommand label
28361 name "cha:Output-File-Formats"
28362
28363 \end_inset
28364
28365
28366 \end_layout
28367
28368 \begin_layout Section
28369 DVI
28370 \begin_inset LatexCommand index
28371 name "File Formats ! DVI"
28372
28373 \end_inset
28374
28375
28376 \begin_inset LatexCommand index
28377 name "DVI|see{File Formats}"
28378
28379 \end_inset
28380
28381
28382 \end_layout
28383
28384 \begin_layout Standard
28385 This file type has the extension 
28386 \begin_inset Quotes eld
28387 \end_inset
28388
28389
28390 \family typewriter
28391 .dvi
28392 \family default
28393
28394 \begin_inset Quotes erd
28395 \end_inset
28396
28397 .
28398  It is called 
28399 \begin_inset Quotes eld
28400 \end_inset
28401
28402 device-independent
28403 \begin_inset Quotes erd
28404 \end_inset
28405
28406  (DVI), because it is completely portable; you can move them from one machine
28407  to another without needing to do any sort of conversion.
28408  At the time when this file-format was developed, this was no matter of
28409  course.
28410  DVIs are used for quick previews and as pre-stage for other output formats,
28411  like PostScript.
28412 \end_layout
28413
28414 \begin_layout Standard
28415 \begin_inset Note Greyedout
28416 status open
28417
28418 \begin_layout Standard
28419
28420 \series bold
28421 Note:
28422 \series default
28423  DVI-files doesn't contain images, they will only be a linked.
28424 \end_layout
28425
28426 \end_inset
28427
28428  So don't forget this, if you move your 
28429 \family typewriter
28430 .dvi
28431 \family default
28432  file to another computer.
28433  This property can also slow down your computer when you view the DVI.
28434  Because the DVI-viewer has to convert the image in the background to make
28435  it visible when you scroll in the DVI.
28436  So we recommend to use PDF for files with many images.
28437 \end_layout
28438
28439 \begin_layout Standard
28440 You can export your document to DVI by using the menu 
28441 \family sans
28442 File\SpecialChar \menuseparator
28443 Export\SpecialChar \menuseparator
28444 DVI
28445 \family default
28446 .
28447  You can view your document as DVI via the 
28448 \family sans
28449 View
28450 \family default
28451  menu or by using the toolbar button 
28452 \begin_inset Graphics
28453         filename ../images/buffer-view_dvi.xpm
28454         scale 85
28455
28456 \end_inset
28457
28458 .
28459 \end_layout
28460
28461 \begin_layout Section
28462 PostScript
28463 \begin_inset LatexCommand label
28464 name "sec:PostScript"
28465
28466 \end_inset
28467
28468
28469 \begin_inset LatexCommand index
28470 name "File Formats ! PostScript"
28471
28472 \end_inset
28473
28474
28475 \begin_inset LatexCommand index
28476 name "PostScript|see{File Formats}"
28477
28478 \end_inset
28479
28480
28481 \end_layout
28482
28483 \begin_layout Standard
28484 This file type has the extension 
28485 \begin_inset Quotes eld
28486 \end_inset
28487
28488
28489 \family typewriter
28490 .ps
28491 \family default
28492
28493 \begin_inset Quotes erd
28494 \end_inset
28495
28496 .
28497  PostScript was developed by the company 
28498 \family typewriter
28499 Adobe
28500 \family default
28501  as printer language.
28502  The file contains therefore commands that the printer uses to print the
28503  file.
28504  PostScript can be seen as 
28505 \begin_inset Quotes eld
28506 \end_inset
28507
28508 programming language
28509 \begin_inset Quotes erd
28510 \end_inset
28511
28512 ; you can calculate with it and draw diagrams and images
28513 \begin_inset Foot
28514 status collapsed
28515
28516 \begin_layout Standard
28517 If you are interested to learn more about this, have a look at the LaTeX-package
28518  
28519 \series bold
28520 PSTricks
28521 \series default
28522  
28523 \begin_inset LatexCommand cite
28524 key "pstricks"
28525
28526 \end_inset
28527
28528 .
28529 \end_layout
28530
28531 \end_inset
28532
28533 .
28534  Due to this ability, the files are often bigger than PDFs.
28535 \end_layout
28536
28537 \begin_layout Standard
28538 PostScript can only contain images in the format 
28539 \begin_inset Quotes eld
28540 \end_inset
28541
28542 Encapsulated PostScript
28543 \begin_inset Quotes erd
28544 \end_inset
28545
28546  (EPS, file extension 
28547 \begin_inset Quotes eld
28548 \end_inset
28549
28550
28551 \family typewriter
28552 .eps
28553 \family default
28554
28555 \begin_inset Quotes erd
28556 \end_inset
28557
28558 ).
28559  As LyX allows you to use any known image format in your document, it has
28560  to convert images in the background to EPS.
28561  If you have e.g 50 images in your document, LyX has to do 50 conversions
28562  whenever you view or export your document.
28563  This will slow down your work flow with LyX drastically.
28564  So if you plan to use PostScript, you can insert your images directly as
28565  EPS to avoid this problem.
28566 \end_layout
28567
28568 \begin_layout Standard
28569 You can export your document to PostScript using the menu 
28570 \family sans
28571 File\SpecialChar \menuseparator
28572 Export\SpecialChar \menuseparator
28573 Postscript
28574 \family default
28575 .
28576  You can view your document as PostScript via the 
28577 \family sans
28578 View
28579 \family default
28580  menu or by using the toolbar button 
28581 \begin_inset Graphics
28582         filename ../images/buffer-view_ps.xpm
28583         scale 85
28584
28585 \end_inset
28586
28587 .
28588 \end_layout
28589
28590 \begin_layout Section
28591 PDF
28592 \begin_inset LatexCommand label
28593 name "sec:PDF"
28594
28595 \end_inset
28596
28597
28598 \begin_inset LatexCommand index
28599 name "File Formats ! PDF"
28600
28601 \end_inset
28602
28603
28604 \begin_inset LatexCommand index
28605 name "PDF"
28606
28607 \end_inset
28608
28609
28610 \end_layout
28611
28612 \begin_layout Standard
28613 This file type has the extension 
28614 \begin_inset Quotes eld
28615 \end_inset
28616
28617
28618 \family typewriter
28619 .pdf
28620 \family default
28621
28622 \begin_inset Quotes erd
28623 \end_inset
28624
28625 .
28626  The 
28627 \begin_inset Quotes eld
28628 \end_inset
28629
28630 Portable Document Format
28631 \begin_inset Quotes erd
28632 \end_inset
28633
28634  (PDF) is developed by 
28635 \family typewriter
28636 Adobe
28637 \family default
28638  as derivative from PostScript.
28639  It is more compressed and it uses much less commands than PostScript.
28640  As the name 
28641 \begin_inset Quotes eld
28642 \end_inset
28643
28644 portable
28645 \begin_inset Quotes erd
28646 \end_inset
28647
28648  implies, it can be processed at any computer system and the printed output
28649  looks exactly the same.
28650 \end_layout
28651
28652 \begin_layout Standard
28653 PDF can contain images in its own PDF format, in the format 
28654 \begin_inset Quotes eld
28655 \end_inset
28656
28657 Joint Photographic Experts Group
28658 \begin_inset Quotes erd
28659 \end_inset
28660
28661  (JPG, file extension 
28662 \begin_inset Quotes eld
28663 \end_inset
28664
28665
28666 \family typewriter
28667 .jpg
28668 \family default
28669
28670 \begin_inset Quotes erd
28671 \end_inset
28672
28673  or 
28674 \begin_inset Quotes eld
28675 \end_inset
28676
28677
28678 \family typewriter
28679 .jpeg
28680 \family default
28681
28682 \begin_inset Quotes erd
28683 \end_inset
28684
28685 ), and in the format 
28686 \begin_inset Quotes eld
28687 \end_inset
28688
28689 Portable Network Graphics
28690 \begin_inset Quotes erd
28691 \end_inset
28692
28693  (PNG, file extension 
28694 \begin_inset Quotes eld
28695 \end_inset
28696
28697
28698 \family typewriter
28699 .png
28700 \family default
28701
28702 \begin_inset Quotes erd
28703 \end_inset
28704
28705 ).
28706  You can although use any other image format, because LyX converts them
28707  in the background to one of these formats.
28708  But as described in the section about PostScript, the image conversion
28709  will slow down your work flow.
28710  So it is recommended to use images in one of the three mentioned formats.
28711 \end_layout
28712
28713 \begin_layout Standard
28714 You can export your document to PDF via the menu 
28715 \family sans
28716 File\SpecialChar \menuseparator
28717 Export
28718 \family default
28719  in three different ways:
28720 \end_layout
28721
28722 \begin_layout Description
28723 PDF This uses the program 
28724 \family typewriter
28725 ps2pdf
28726 \family default
28727  that creates a PDF from a PostScript-version of your file.
28728  The PostScript-version is produced by the program 
28729 \family typewriter
28730 dvips
28731 \family default
28732  which uses a DVI-version as intermediate step.
28733  So this export variant consist of three conversions.
28734 \end_layout
28735
28736 \begin_layout Description
28737 PDF\InsetSpace ~
28738 (dvipdfm) This uses the program 
28739 \family typewriter
28740 dvipdfm
28741 \family default
28742  that converts your file in the background to DVI and in a second step to
28743  PDF.
28744 \end_layout
28745
28746 \begin_layout Description
28747 PDF\InsetSpace ~
28748 (pdflatex) This uses the program 
28749 \family typewriter
28750 pdftex
28751 \family default
28752  that converts your file directly to PDF.
28753 \end_layout
28754
28755 \begin_layout Standard
28756 It is recommended to use 
28757 \family sans
28758 PDF\InsetSpace ~
28759 (pdflatex)
28760 \family default
28761  because 
28762 \family typewriter
28763 pdftex
28764 \family default
28765  supports all features of actual PDF-versions, is quick and works stable
28766  without problems.
28767  The program 
28768 \family typewriter
28769 dvipdfm
28770 \family default
28771  is not under development and therefore a bit outdated.
28772 \end_layout
28773
28774 \begin_layout Standard
28775 You can view your document as PDF via the 
28776 \family sans
28777 View
28778 \family default
28779  menu or by using the toolbar button 
28780 \begin_inset Graphics
28781         filename ../images/buffer-view_pdf2.xpm
28782         scale 85
28783
28784 \end_inset
28785
28786  
28787 \family sans
28788 (
28789 \family default
28790 that uses 
28791 \family sans
28792 PDF\InsetSpace ~
28793 (pdflatex)
28794 \family default
28795 ).
28796 \end_layout
28797
28798 \begin_layout Chapter
28799 Explanation of Equation\InsetSpace ~
28800
28801 \begin_inset LatexCommand eqref
28802 reference "eq:Wgn"
28803
28804 \end_inset
28805
28806
28807 \begin_inset LatexCommand label
28808 name "cha:Explanation-of-Equation"
28809
28810 \end_inset
28811
28812
28813 \end_layout
28814
28815 \begin_layout Standard
28816 The total width of 
28817 \emph on
28818 n
28819 \emph default
28820  table cells 
28821 \begin_inset Formula $W_{\mathrm{tot\, n}}$
28822 \end_inset
28823
28824  can be calculated to
28825 \end_layout
28826
28827 \begin_layout Standard
28828 \begin_inset Formula \begin{equation}
28829 W_{\mathrm{tot}\, n}=n·(W_{g\, n}+2·\backslash\mbox{tabcolsep})+(n+1)·\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}\end{equation}
28830
28831 \end_inset
28832
28833
28834 \end_layout
28835
28836 \begin_layout Standard
28837 Where 
28838 \begin_inset Formula $W_{g\, n}$
28839 \end_inset
28840
28841  is the given width of all cells.
28842  
28843 \series bold
28844
28845 \backslash
28846 tabcolsep
28847 \series default
28848  is the LaTeX-length between the cell text and the cell border, its default
28849  value is 6\InsetSpace \thinspace{}
28850 pt.
28851  
28852 \series bold
28853
28854 \backslash
28855 arrayrulewidth
28856 \series default
28857  is the thickness of the cell border line, the default is 0.4\InsetSpace \thinspace{}
28858 pt.
28859 \end_layout
28860
28861 \begin_layout Standard
28862 Following equation\InsetSpace ~
28863
28864 \begin_inset LatexCommand eqref
28865 reference "eq:Wtot_n"
28866
28867 \end_inset
28868
28869 , the total width of a multicolumn 
28870 \begin_inset Formula $W_{\mathrm{tot\, mult}}$
28871 \end_inset
28872
28873  is
28874 \end_layout
28875
28876 \begin_layout Standard
28877 \begin_inset Formula \begin{equation}
28878 W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2·\backslash\mbox{tabcolsep}+2·\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}\end{equation}
28879
28880 \end_inset
28881
28882
28883 \end_layout
28884
28885 \begin_layout Standard
28886 By setting equation\InsetSpace ~
28887
28888 \begin_inset LatexCommand eqref
28889 reference "eq:Wtot_n"
28890
28891 \end_inset
28892
28893  and 
28894 \begin_inset LatexCommand eqref
28895 reference "eq:Wtot_mult"
28896
28897 \end_inset
28898
28899  equal we can calculate the needed given width 
28900 \begin_inset Formula $W_{g\, n}$
28901 \end_inset
28902
28903  when 
28904 \emph on
28905 n
28906 \emph default
28907  columns are spanned, so that each column has a total width of 
28908 \begin_inset Formula $W_{\mathrm{tot\, mult}}/n$
28909 \end_inset
28910
28911 :
28912 \end_layout
28913
28914 \begin_layout Standard
28915 \begin_inset Formula \begin{equation}
28916 W_{g\, n}=(W_{g\,\mathrm{mult}}+(1-n)·(2·\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}))/n\end{equation}
28917
28918 \end_inset
28919
28920
28921 \end_layout
28922
28923 \begin_layout Bibliography
28924 \begin_inset LatexCommand bibitem
28925 key "latexcompanion"
28926
28927 \end_inset
28928
28929 Frank Mittelbach and Michel Goossens: 
28930 \emph on
28931 The LaTeX Companion Second Edition.
28932
28933 \emph default
28934  Addison-Wesley, 2004
28935 \end_layout
28936
28937 \begin_layout Bibliography
28938 \begin_inset LatexCommand bibitem
28939 key "latexguide"
28940
28941 \end_inset
28942
28943 Helmut Kopka and Patrick W.
28944  Daly: 
28945 \emph on
28946 A Guide to LaTeX Fourth Edition.
28947
28948 \emph default
28949  Addison-Wesley, 2003
28950 \end_layout
28951
28952 \begin_layout Bibliography
28953 \begin_inset LatexCommand bibitem
28954 key "latexbook"
28955
28956 \end_inset
28957
28958 Leslie Lamport: 
28959 \emph on
28960 LaTeX: A Document Preparation System.
28961
28962 \emph default
28963  Addison-Wesley, second edition, 1994
28964 \end_layout
28965
28966 \begin_layout Bibliography
28967 \begin_inset LatexCommand bibitem
28968 key "booktabs"
28969
28970 \end_inset
28971
28972
28973 \begin_inset ERT
28974 status collapsed
28975
28976 \begin_layout Standard
28977
28978
28979 \backslash
28980 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf}
28981 {
28982 \end_layout
28983
28984 \end_inset
28985
28986 Documentation
28987 \begin_inset ERT
28988 status collapsed
28989
28990 \begin_layout Standard
28991
28992 }
28993 \end_layout
28994
28995 \end_inset
28996
28997  of the LaTeX-package 
28998 \series bold
28999 booktabs
29000 \series default
29001
29002 \begin_inset LatexCommand index
29003 name "LaTeX-packages ! booktabs"
29004
29005 \end_inset
29006
29007
29008 \end_layout
29009
29010 \begin_layout Bibliography
29011 \begin_inset LatexCommand bibitem
29012 key "caption"
29013
29014 \end_inset
29015
29016
29017 \begin_inset ERT
29018 status collapsed
29019
29020 \begin_layout Standard
29021
29022
29023 \backslash
29024 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf}{
29025 \end_layout
29026
29027 \end_inset
29028
29029 Documentation
29030 \begin_inset ERT
29031 status collapsed
29032
29033 \begin_layout Standard
29034
29035 }
29036 \end_layout
29037
29038 \end_inset
29039
29040  of the LaTeX-package 
29041 \series bold
29042 caption
29043 \series default
29044
29045 \begin_inset LatexCommand index
29046 name "LaTeX-packages ! caption"
29047
29048 \end_inset
29049
29050
29051 \end_layout
29052
29053 \begin_layout Bibliography
29054 \begin_inset LatexCommand bibitem
29055 key "caption-de"
29056
29057 \end_inset
29058
29059 German 
29060 \begin_inset ERT
29061 status collapsed
29062
29063 \begin_layout Standard
29064
29065
29066 \backslash
29067 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/anleitung.pdf}
29068 {
29069 \end_layout
29070
29071 \end_inset
29072
29073 documentation
29074 \begin_inset ERT
29075 status collapsed
29076
29077 \begin_layout Standard
29078
29079 }
29080 \end_layout
29081
29082 \end_inset
29083
29084  of the LaTeX-package 
29085 \series bold
29086 caption
29087 \end_layout
29088
29089 \begin_layout Bibliography
29090 \begin_inset LatexCommand bibitem
29091 key "endfloat"
29092
29093 \end_inset
29094
29095
29096 \begin_inset ERT
29097 status collapsed
29098
29099 \begin_layout Standard
29100
29101
29102 \backslash
29103 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf}
29104 {
29105 \end_layout
29106
29107 \end_inset
29108
29109 Documentation
29110 \begin_inset ERT
29111 status collapsed
29112
29113 \begin_layout Standard
29114
29115 }
29116 \end_layout
29117
29118 \end_inset
29119
29120  of the LaTeX-package 
29121 \series bold
29122 endf\SpecialChar \textcompwordmark{}
29123 loat
29124 \series default
29125
29126 \begin_inset LatexCommand index
29127 name "LaTeX-packages ! endfloat"
29128
29129 \end_inset
29130
29131
29132 \end_layout
29133
29134 \begin_layout Bibliography
29135 \begin_inset LatexCommand bibitem
29136 key "floatflt"
29137
29138 \end_inset
29139
29140
29141 \begin_inset ERT
29142 status collapsed
29143
29144 \begin_layout Standard
29145
29146
29147 \backslash
29148 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/floatflt/floatflt.pdf}
29149 {
29150 \end_layout
29151
29152 \end_inset
29153
29154 Documentation
29155 \begin_inset ERT
29156 status collapsed
29157
29158 \begin_layout Standard
29159
29160 }
29161 \end_layout
29162
29163 \end_inset
29164
29165  of the LaTeX-package 
29166 \series bold
29167 floatf\SpecialChar \textcompwordmark{}
29168 lt
29169 \series default
29170
29171 \begin_inset LatexCommand index
29172 name "LaTeX-packages ! floatflt"
29173
29174 \end_inset
29175
29176
29177 \end_layout
29178
29179 \begin_layout Bibliography
29180 \begin_inset LatexCommand bibitem
29181 key "footmisc"
29182
29183 \end_inset
29184
29185
29186 \begin_inset ERT
29187 status collapsed
29188
29189 \begin_layout Standard
29190
29191
29192 \backslash
29193 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf}
29194 {
29195 \end_layout
29196
29197 \end_inset
29198
29199 Documentation
29200 \begin_inset ERT
29201 status collapsed
29202
29203 \begin_layout Standard
29204
29205 }
29206 \end_layout
29207
29208 \end_inset
29209
29210  of the LaTeX-package 
29211 \series bold
29212 footmisc
29213 \series default
29214
29215 \begin_inset LatexCommand index
29216 name "LaTeX-packages ! footmisc"
29217
29218 \end_inset
29219
29220
29221 \end_layout
29222
29223 \begin_layout Bibliography
29224 \begin_inset LatexCommand bibitem
29225 key "hypcap"
29226
29227 \end_inset
29228
29229
29230 \begin_inset ERT
29231 status collapsed
29232
29233 \begin_layout Standard
29234
29235
29236 \backslash
29237 href{http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf}{
29238 \end_layout
29239
29240 \end_inset
29241
29242 Documentation
29243 \begin_inset ERT
29244 status collapsed
29245
29246 \begin_layout Standard
29247
29248 }
29249 \end_layout
29250
29251 \end_inset
29252
29253  of the LaTeX-package 
29254 \series bold
29255 hypcap
29256 \series default
29257
29258 \begin_inset LatexCommand index
29259 name "LaTeX-packages ! hyperref"
29260
29261 \end_inset
29262
29263
29264 \end_layout
29265
29266 \begin_layout Bibliography
29267 \begin_inset LatexCommand bibitem
29268 key "hyperref"
29269
29270 \end_inset
29271
29272
29273 \begin_inset ERT
29274 status collapsed
29275
29276 \begin_layout Standard
29277
29278
29279 \backslash
29280 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf}
29281 {
29282 \end_layout
29283
29284 \end_inset
29285
29286 Documentation
29287 \begin_inset ERT
29288 status collapsed
29289
29290 \begin_layout Standard
29291
29292 }
29293 \end_layout
29294
29295 \end_inset
29296
29297  of the LaTeX-package 
29298 \series bold
29299 hyperref
29300 \series default
29301
29302 \begin_inset LatexCommand index
29303 name "LaTeX-packages ! hyperref"
29304
29305 \end_inset
29306
29307
29308 \end_layout
29309
29310 \begin_layout Bibliography
29311 \begin_inset LatexCommand bibitem
29312 key "koma-script"
29313
29314 \end_inset
29315
29316
29317 \begin_inset ERT
29318 status collapsed
29319
29320 \begin_layout Standard
29321
29322
29323 \backslash
29324 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.p
29325 df}{
29326 \end_layout
29327
29328 \end_inset
29329
29330 Documentation
29331 \begin_inset ERT
29332 status collapsed
29333
29334 \begin_layout Standard
29335
29336 }
29337 \end_layout
29338
29339 \end_inset
29340
29341  of the LaTeX-package 
29342 \series bold
29343 koma-script
29344 \series default
29345
29346 \begin_inset LatexCommand index
29347 name "LaTeX-packages ! koma-script"
29348
29349 \end_inset
29350
29351
29352 \end_layout
29353
29354 \begin_layout Bibliography
29355 \begin_inset LatexCommand bibitem
29356 key "koma-script-de"
29357
29358 \end_inset
29359
29360 German 
29361 \begin_inset ERT
29362 status collapsed
29363
29364 \begin_layout Standard
29365
29366
29367 \backslash
29368 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguide.p
29369 df}{
29370 \end_layout
29371
29372 \end_inset
29373
29374 documentation
29375 \begin_inset ERT
29376 status collapsed
29377
29378 \begin_layout Standard
29379
29380 }
29381 \end_layout
29382
29383 \end_inset
29384
29385  of the LaTeX-package 
29386 \series bold
29387 koma-script
29388 \series default
29389
29390 \begin_inset LatexCommand index
29391 name "LaTeX-packages ! koma-script"
29392
29393 \end_inset
29394
29395
29396 \end_layout
29397
29398 \begin_layout Bibliography
29399 \begin_inset LatexCommand bibitem
29400 key "marginnote"
29401
29402 \end_inset
29403
29404
29405 \begin_inset ERT
29406 status collapsed
29407
29408 \begin_layout Standard
29409
29410
29411 \backslash
29412 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.
29413 pdf}{
29414 \end_layout
29415
29416 \end_inset
29417
29418 Documentation
29419 \begin_inset ERT
29420 status collapsed
29421
29422 \begin_layout Standard
29423
29424 }
29425 \end_layout
29426
29427 \end_inset
29428
29429  of the LaTeX-package 
29430 \series bold
29431 marginnote
29432 \series default
29433
29434 \begin_inset LatexCommand index
29435 name "LaTeX-packages ! marginnote"
29436
29437 \end_inset
29438
29439
29440 \end_layout
29441
29442 \begin_layout Bibliography
29443 \begin_inset LatexCommand bibitem
29444 key "pstricks"
29445
29446 \end_inset
29447
29448
29449 \begin_inset ERT
29450 status collapsed
29451
29452 \begin_layout Standard
29453
29454
29455 \backslash
29456 href{http://tug.org/PSTricks/main.cgi/}{
29457 \end_layout
29458
29459 \end_inset
29460
29461 Web page
29462 \begin_inset ERT
29463 status collapsed
29464
29465 \begin_layout Standard
29466
29467 }
29468 \end_layout
29469
29470 \end_inset
29471
29472  of the LaTeX-package 
29473 \series bold
29474 PSTricks
29475 \series default
29476
29477 \begin_inset LatexCommand index
29478 name "LaTeX-packages ! PSTricks"
29479
29480 \end_inset
29481
29482
29483 \end_layout
29484
29485 \begin_layout Bibliography
29486 \begin_inset LatexCommand bibitem
29487 key "sidecap"
29488
29489 \end_inset
29490
29491
29492 \begin_inset ERT
29493 status collapsed
29494
29495 \begin_layout Standard
29496
29497
29498 \backslash
29499 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf}{
29500 \end_layout
29501
29502 \end_inset
29503
29504 Documentation
29505 \begin_inset ERT
29506 status collapsed
29507
29508 \begin_layout Standard
29509
29510 }
29511 \end_layout
29512
29513 \end_inset
29514
29515  of the LaTeX-package 
29516 \series bold
29517 sidecap
29518 \series default
29519
29520 \begin_inset LatexCommand index
29521 name "LaTeX-packages ! sidecap"
29522
29523 \end_inset
29524
29525
29526 \end_layout
29527
29528 \begin_layout Bibliography
29529 \begin_inset LatexCommand bibitem
29530 key "NewInLyX15"
29531
29532 \end_inset
29533
29534
29535 \begin_inset ERT
29536 status collapsed
29537
29538 \begin_layout Standard
29539
29540
29541 \backslash
29542 href{http://wiki.lyx.org/LyX/NewInLyX15}{
29543 \end_layout
29544
29545 \end_inset
29546
29547 Wiki page
29548 \begin_inset ERT
29549 status collapsed
29550
29551 \begin_layout Standard
29552
29553 }
29554 \end_layout
29555
29556 \end_inset
29557
29558  about new LyX-features planned for the release 
29559 \family sans
29560 LyX 1.5
29561 \family default
29562 .
29563 \end_layout
29564
29565 \begin_layout Standard
29566 \begin_inset LatexCommand printindex
29567
29568 \end_inset
29569
29570
29571 \end_layout
29572
29573 \begin_layout Standard
29574 \begin_inset FloatList figure
29575
29576 \end_inset
29577
29578
29579 \end_layout
29580
29581 \begin_layout Standard
29582 \begin_inset FloatList table
29583
29584 \end_inset
29585
29586
29587 \end_layout
29588
29589 \end_body
29590 \end_document