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